From 87aefb99c12f9d6701c76c1376f75b02eb40a172 Mon Sep 17 00:00:00 2001 From: gabek Date: Sun, 2 Oct 2022 18:07:05 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 4 ++-- static/web/404/index.html | 4 ++-- .../web/_next/static/PNiLNWye6rXrL9sy_UIc7/_buildManifest.js | 1 - .../web/_next/static/_dmzAQ7Sap_MxFkakNTd1/_buildManifest.js | 1 + .../_ssgManifest.js | 0 static/web/_next/static/chunks/1681-c6f123c7a3f0d079.js | 1 - static/web/_next/static/chunks/1899-0265bccf69f0534a.js | 1 - static/web/_next/static/chunks/1899-3fb0be1a52d4bddf.js | 1 + static/web/_next/static/chunks/2429-35846a119e7209fe.js | 1 - static/web/_next/static/chunks/2865-5b660f2a14e4f34f.js | 1 - .../{3052-a3487e8b8eb2f8ef.js => 3052-a29d420814328ba6.js} | 2 +- static/web/_next/static/chunks/355-3324052b3a73d992.js | 1 + static/web/_next/static/chunks/355-e4edb49c6c2ced67.js | 1 - static/web/_next/static/chunks/3731-d43efa872abc8548.js | 1 + static/web/_next/static/chunks/384-a0ac0849b5bd17bd.js | 1 - static/web/_next/static/chunks/3927-9952332edcb5e0b7.js | 1 - static/web/_next/static/chunks/4567-bc6e94c181eadf6f.js | 1 + static/web/_next/static/chunks/5108-52c64058a32f89f5.js | 1 + static/web/_next/static/chunks/7622-7af07c8f90ad58b3.js | 1 + static/web/_next/static/chunks/7900-a9ddaa4c2db8e5fa.js | 1 - static/web/_next/static/chunks/808-07108fcf4fe95c6c.js | 1 - static/web/_next/static/chunks/808-1503529dee78750a.js | 1 + static/web/_next/static/chunks/841-7c3c18f178a26faf.js | 1 + static/web/_next/static/chunks/8521-692724ee4f71b2cc.js | 1 - static/web/_next/static/chunks/8676-58e1723c87a0d4ec.js | 1 - .../{admin-7f9372397fae0f4a.js => admin-84a3ed733a0e9a1b.js} | 2 +- ...-41275f2ab953516f.js => access-tokens-cf1ba21e16514a04.js} | 2 +- ...ctions-2863270d7195c595.js => actions-43b389ba78beb9c4.js} | 2 +- ...sages-21773fdc03070a63.js => messages-d4b0e90f7f3de3ba.js} | 2 +- .../{users-07f2057e1085b2dd.js => users-7dc2d86de5395259.js} | 2 +- ...1624d664a.js => config-public-details-3b6b7476570a4a4f.js} | 2 +- ...2ae79167bce.js => config-social-items-0cba0999f1d94257.js} | 2 +- ...o-5786479adbddcfa7.js => config-video-a927de48af229217.js} | 2 +- ...ctions-9d576f63c626870d.js => actions-ab6255335fb77549.js} | 2 +- ...wers-f73e487de5de952a.js => followers-23086996951200ff.js} | 2 +- .../_next/static/chunks/pages/admin/logs-d3b6ff3376163bd7.js | 1 - .../_next/static/chunks/pages/admin/logs-fdf8ec5d0f3d2afc.js | 1 + ...pgrade-14176112f873422c.js => upgrade-80fea8060fe8f084.js} | 2 +- ...fo-6a2fefb2a4a39b16.js => viewer-info-255cf18c24375812.js} | 2 +- ...hooks-f4e073e929ed83ef.js => webhooks-97bb47a8f86ab215.js} | 2 +- .../chunks/pages/embed/chat/readonly-556e3f082df098af.js | 1 - .../chunks/pages/embed/chat/readonly-6dc25108c432fee8.js | 1 + .../chunks/pages/embed/chat/readwrite-74e6162eca7fd604.js | 1 + .../chunks/pages/embed/chat/readwrite-ca02dc92c19c42c4.js | 1 - .../_next/static/chunks/pages/embed/video-61510af0fd4d92ba.js | 1 - .../_next/static/chunks/pages/embed/video-e774f0b334d7fb0e.js | 1 + .../{index-df7cdfd5a88be750.js => index-175ddc91388d8b26.js} | 2 +- ...ebpack-42965e25a92d6efc.js => webpack-ca72eecc60f70034.js} | 2 +- static/web/_next/static/css/4f30770960482870.css | 1 + static/web/_next/static/css/a298719146bb73a7.css | 1 + static/web/_next/static/css/a84224dbf9968ea0.css | 1 - static/web/_next/static/css/aaed351c81643705.css | 1 - static/web/_next/static/css/b02eb70d6e778164.css | 1 - static/web/_next/static/css/b6b069830d291f54.css | 1 + 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 +- 80 files changed, 62 insertions(+), 65 deletions(-) delete mode 100644 static/web/_next/static/PNiLNWye6rXrL9sy_UIc7/_buildManifest.js create mode 100644 static/web/_next/static/_dmzAQ7Sap_MxFkakNTd1/_buildManifest.js rename static/web/_next/static/{PNiLNWye6rXrL9sy_UIc7 => _dmzAQ7Sap_MxFkakNTd1}/_ssgManifest.js (100%) delete mode 100644 static/web/_next/static/chunks/1681-c6f123c7a3f0d079.js delete mode 100644 static/web/_next/static/chunks/1899-0265bccf69f0534a.js create mode 100644 static/web/_next/static/chunks/1899-3fb0be1a52d4bddf.js delete mode 100644 static/web/_next/static/chunks/2429-35846a119e7209fe.js delete mode 100644 static/web/_next/static/chunks/2865-5b660f2a14e4f34f.js rename static/web/_next/static/chunks/{3052-a3487e8b8eb2f8ef.js => 3052-a29d420814328ba6.js} (59%) create mode 100644 static/web/_next/static/chunks/355-3324052b3a73d992.js delete mode 100644 static/web/_next/static/chunks/355-e4edb49c6c2ced67.js create mode 100644 static/web/_next/static/chunks/3731-d43efa872abc8548.js delete mode 100644 static/web/_next/static/chunks/384-a0ac0849b5bd17bd.js delete mode 100644 static/web/_next/static/chunks/3927-9952332edcb5e0b7.js create mode 100644 static/web/_next/static/chunks/4567-bc6e94c181eadf6f.js create mode 100644 static/web/_next/static/chunks/5108-52c64058a32f89f5.js create mode 100644 static/web/_next/static/chunks/7622-7af07c8f90ad58b3.js delete mode 100644 static/web/_next/static/chunks/7900-a9ddaa4c2db8e5fa.js delete mode 100644 static/web/_next/static/chunks/808-07108fcf4fe95c6c.js create mode 100644 static/web/_next/static/chunks/808-1503529dee78750a.js create mode 100644 static/web/_next/static/chunks/841-7c3c18f178a26faf.js delete mode 100644 static/web/_next/static/chunks/8521-692724ee4f71b2cc.js delete mode 100644 static/web/_next/static/chunks/8676-58e1723c87a0d4ec.js rename static/web/_next/static/chunks/pages/{admin-7f9372397fae0f4a.js => admin-84a3ed733a0e9a1b.js} (98%) rename static/web/_next/static/chunks/pages/admin/{access-tokens-41275f2ab953516f.js => access-tokens-cf1ba21e16514a04.js} (98%) rename static/web/_next/static/chunks/pages/admin/{actions-2863270d7195c595.js => actions-43b389ba78beb9c4.js} (98%) rename static/web/_next/static/chunks/pages/admin/chat/{messages-21773fdc03070a63.js => messages-d4b0e90f7f3de3ba.js} (97%) rename static/web/_next/static/chunks/pages/admin/chat/{users-07f2057e1085b2dd.js => users-7dc2d86de5395259.js} (97%) rename static/web/_next/static/chunks/pages/admin/{config-public-details-9c283761624d664a.js => config-public-details-3b6b7476570a4a4f.js} (98%) rename static/web/_next/static/chunks/pages/admin/{config-social-items-59fc92ae79167bce.js => config-social-items-0cba0999f1d94257.js} (94%) rename static/web/_next/static/chunks/pages/admin/{config-video-5786479adbddcfa7.js => config-video-a927de48af229217.js} (99%) rename static/web/_next/static/chunks/pages/admin/federation/{actions-9d576f63c626870d.js => actions-ab6255335fb77549.js} (94%) rename static/web/_next/static/chunks/pages/admin/federation/{followers-f73e487de5de952a.js => followers-23086996951200ff.js} (99%) delete mode 100644 static/web/_next/static/chunks/pages/admin/logs-d3b6ff3376163bd7.js create mode 100644 static/web/_next/static/chunks/pages/admin/logs-fdf8ec5d0f3d2afc.js rename static/web/_next/static/chunks/pages/admin/{upgrade-14176112f873422c.js => upgrade-80fea8060fe8f084.js} (93%) rename static/web/_next/static/chunks/pages/admin/{viewer-info-6a2fefb2a4a39b16.js => viewer-info-255cf18c24375812.js} (98%) rename static/web/_next/static/chunks/pages/admin/{webhooks-f4e073e929ed83ef.js => webhooks-97bb47a8f86ab215.js} (99%) delete mode 100644 static/web/_next/static/chunks/pages/embed/chat/readonly-556e3f082df098af.js create mode 100644 static/web/_next/static/chunks/pages/embed/chat/readonly-6dc25108c432fee8.js create mode 100644 static/web/_next/static/chunks/pages/embed/chat/readwrite-74e6162eca7fd604.js delete mode 100644 static/web/_next/static/chunks/pages/embed/chat/readwrite-ca02dc92c19c42c4.js delete mode 100644 static/web/_next/static/chunks/pages/embed/video-61510af0fd4d92ba.js create mode 100644 static/web/_next/static/chunks/pages/embed/video-e774f0b334d7fb0e.js rename static/web/_next/static/chunks/pages/{index-df7cdfd5a88be750.js => index-175ddc91388d8b26.js} (99%) rename static/web/_next/static/chunks/{webpack-42965e25a92d6efc.js => webpack-ca72eecc60f70034.js} (95%) create mode 100644 static/web/_next/static/css/4f30770960482870.css create mode 100644 static/web/_next/static/css/a298719146bb73a7.css delete mode 100644 static/web/_next/static/css/a84224dbf9968ea0.css delete mode 100644 static/web/_next/static/css/aaed351c81643705.css delete mode 100644 static/web/_next/static/css/b02eb70d6e778164.css create mode 100644 static/web/_next/static/css/b6b069830d291f54.css diff --git a/static/web/404.html b/static/web/404.html index 93899b812..83e1c6c22 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 93899b812..83e1c6c22 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/PNiLNWye6rXrL9sy_UIc7/_buildManifest.js b/static/web/_next/static/PNiLNWye6rXrL9sy_UIc7/_buildManifest.js deleted file mode 100644 index 2b125eff6..000000000 --- a/static/web/_next/static/PNiLNWye6rXrL9sy_UIc7/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,b,h,o,m,u,k,r,g,j,p,l,_,w,v,y,I,B,F,A,D,E,L){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[o,m,l,s,a,c,t,n,d,f,u,k,_,w,v,y,"static/chunks/8521-692724ee4f71b2cc.js",b,r,I,B,"static/css/b02eb70d6e778164.css","static/chunks/pages/index-df7cdfd5a88be750.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[s,a,c,e,i,t,n,d,h,k,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-7f9372397fae0f4a.js"],"/admin/access-tokens":[s,a,c,e,i,"static/chunks/pages/admin/access-tokens-41275f2ab953516f.js"],"/admin/actions":[s,a,c,e,"static/chunks/pages/admin/actions-2863270d7195c595.js"],"/admin/chat/messages":[F,s,a,c,e,i,d,A,D,"static/chunks/pages/admin/chat/messages-21773fdc03070a63.js"],"/admin/chat/users":[F,s,a,c,e,i,t,d,A,D,"static/chunks/pages/admin/chat/users-07f2057e1085b2dd.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-ba0a7ffa1a354b0f.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-58fa36815f7c88c5.js"],"/admin/config-public-details":[s,a,c,e,g,"static/css/1f5ee95fffd43a71.css","static/chunks/927-ebe7e5cc213b85be.js",E,"static/chunks/pages/admin/config-public-details-9c283761624d664a.js"],"/admin/config-server-details":[L,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[s,a,c,e,E,"static/chunks/pages/admin/config-social-items-59fc92ae79167bce.js"],"/admin/config-storage":["static/chunks/5473-185a5241676edf4a.js","static/chunks/pages/admin/config-storage-723faa1b1e9d32cc.js"],"/admin/config-video":[s,a,c,e,L,"static/chunks/5283-2d68bcc9592d5eff.js","static/chunks/pages/admin/config-video-5786479adbddcfa7.js"],"/admin/federation/actions":[s,a,c,e,i,"static/chunks/pages/admin/federation/actions-9d576f63c626870d.js"],"/admin/federation/followers":[s,a,c,e,i,t,"static/chunks/pages/admin/federation/followers-f73e487de5de952a.js"],"/admin/hardware-info":[j,i,t,n,h,p,g,"static/chunks/pages/admin/hardware-info-df9f38a3eda7ad4e.js"],"/admin/help":[t,n,v,"static/chunks/9129-8e7f311006e56028.js","static/chunks/pages/admin/help-d87a1368a8069047.js"],"/admin/logs":[s,a,c,e,i,k,"static/chunks/pages/admin/logs-d3b6ff3376163bd7.js"],"/admin/stream-health":[j,s,i,t,n,h,p,"static/chunks/pages/admin/stream-health-681b3896ade2a908.js"],"/admin/upgrade":[s,a,c,e,"static/chunks/9001-dfd80bc3c21b045b.js","static/chunks/pages/admin/upgrade-14176112f873422c.js"],"/admin/viewer-info":[j,s,a,c,e,i,t,n,d,h,p,g,"static/chunks/pages/admin/viewer-info-6a2fefb2a4a39b16.js"],"/admin/webhooks":[s,a,c,e,"static/chunks/pages/admin/webhooks-f4e073e929ed83ef.js"],"/embed/chat/readonly":[o,m,s,f,u,b,r,"static/css/aaed351c81643705.css","static/chunks/pages/embed/chat/readonly-556e3f082df098af.js"],"/embed/chat/readwrite":[o,m,s,a,t,n,f,u,y,b,r,B,"static/css/a84224dbf9968ea0.css","static/chunks/pages/embed/chat/readwrite-ca02dc92c19c42c4.js"],"/embed/video":[l,d,f,_,w,b,I,"static/css/8283b6095a0a048a.css","static/chunks/pages/embed/video-61510af0fd4d92ba.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/7330-32e84a34fb851e34.js","static/chunks/3927-9952332edcb5e0b7.js","static/chunks/384-a0ac0849b5bd17bd.js","static/chunks/355-e4edb49c6c2ced67.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/2944-6793cb651dad1c89.js","static/chunks/6265-f74157185a3d3678.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-0265bccf69f0534a.js","static/chunks/428-209c36304c205015.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-e4988ec3c3ddbfcf.js","static/chunks/2865-5b660f2a14e4f34f.js","static/chunks/2429-35846a119e7209fe.js","static/chunks/808-07108fcf4fe95c6c.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/1681-c6f123c7a3f0d079.js","static/chunks/1082-03ae605a1f81cbce.js","static/chunks/7900-a9ddaa4c2db8e5fa.js","static/chunks/2854-da2fe2768714039f.js","static/chunks/3052-a3487e8b8eb2f8ef.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/9189-200a9342100c92dd.js","static/chunks/9640-9346df51762e2ae7.js","static/chunks/2877-c114745c37bb026b.js","static/chunks/3286-25235a0b8b0401f3.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/_dmzAQ7Sap_MxFkakNTd1/_buildManifest.js b/static/web/_next/static/_dmzAQ7Sap_MxFkakNTd1/_buildManifest.js new file mode 100644 index 000000000..419170b8f --- /dev/null +++ b/static/web/_next/static/_dmzAQ7Sap_MxFkakNTd1/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,d,n,f,b,h,o,m,u,k,r,g,j,p,l,_,w,v,y,I,B,F,A){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[b,h,j,s,a,c,e,i,t,d,o,m,p,l,_,"static/chunks/7622-7af07c8f90ad58b3.js",n,u,w,v,"static/css/a298719146bb73a7.css","static/chunks/pages/index-175ddc91388d8b26.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[s,a,c,e,i,t,f,m,"static/chunks/841-7c3c18f178a26faf.js","static/chunks/pages/admin-84a3ed733a0e9a1b.js"],"/admin/access-tokens":[s,a,c,"static/chunks/pages/admin/access-tokens-cf1ba21e16514a04.js"],"/admin/actions":[s,a,"static/chunks/pages/admin/actions-43b389ba78beb9c4.js"],"/admin/chat/messages":[y,s,a,c,t,I,B,"static/chunks/pages/admin/chat/messages-d4b0e90f7f3de3ba.js"],"/admin/chat/users":[y,s,a,c,e,t,I,B,"static/chunks/pages/admin/chat/users-7dc2d86de5395259.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-ba0a7ffa1a354b0f.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-58fa36815f7c88c5.js"],"/admin/config-public-details":[s,a,k,"static/css/1f5ee95fffd43a71.css","static/chunks/927-ebe7e5cc213b85be.js",F,"static/chunks/pages/admin/config-public-details-3b6b7476570a4a4f.js"],"/admin/config-server-details":[A,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[s,a,F,"static/chunks/pages/admin/config-social-items-0cba0999f1d94257.js"],"/admin/config-storage":["static/chunks/5473-185a5241676edf4a.js","static/chunks/pages/admin/config-storage-723faa1b1e9d32cc.js"],"/admin/config-video":[s,a,A,"static/chunks/5283-2d68bcc9592d5eff.js","static/chunks/pages/admin/config-video-a927de48af229217.js"],"/admin/federation/actions":[s,a,c,"static/chunks/pages/admin/federation/actions-ab6255335fb77549.js"],"/admin/federation/followers":[s,a,c,e,"static/chunks/pages/admin/federation/followers-23086996951200ff.js"],"/admin/hardware-info":[r,c,e,i,f,g,k,"static/chunks/pages/admin/hardware-info-df9f38a3eda7ad4e.js"],"/admin/help":[e,i,_,"static/chunks/9129-8e7f311006e56028.js","static/chunks/pages/admin/help-d87a1368a8069047.js"],"/admin/logs":[s,a,c,m,"static/chunks/pages/admin/logs-fdf8ec5d0f3d2afc.js"],"/admin/stream-health":[r,s,c,e,i,f,g,"static/chunks/pages/admin/stream-health-681b3896ade2a908.js"],"/admin/upgrade":[s,a,"static/chunks/9001-dfd80bc3c21b045b.js","static/chunks/pages/admin/upgrade-80fea8060fe8f084.js"],"/admin/viewer-info":[r,s,a,c,e,i,t,f,g,k,"static/chunks/pages/admin/viewer-info-255cf18c24375812.js"],"/admin/webhooks":[s,a,"static/chunks/pages/admin/webhooks-97bb47a8f86ab215.js"],"/embed/chat/readonly":[b,h,s,a,c,i,d,o,n,u,"static/css/4f30770960482870.css","static/chunks/pages/embed/chat/readonly-6dc25108c432fee8.js"],"/embed/chat/readwrite":[b,h,s,a,c,e,i,d,o,n,u,v,"static/css/b6b069830d291f54.css","static/chunks/pages/embed/chat/readwrite-74e6162eca7fd604.js"],"/embed/video":[j,t,d,p,l,n,w,"static/css/8283b6095a0a048a.css","static/chunks/pages/embed/video-e774f0b334d7fb0e.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/7330-32e84a34fb851e34.js","static/chunks/355-3324052b3a73d992.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/2944-6793cb651dad1c89.js","static/chunks/6265-f74157185a3d3678.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-3fb0be1a52d4bddf.js","static/chunks/428-209c36304c205015.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-e4988ec3c3ddbfcf.js","static/chunks/4567-bc6e94c181eadf6f.js","static/chunks/3731-d43efa872abc8548.js","static/chunks/808-1503529dee78750a.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/5108-52c64058a32f89f5.js","static/chunks/1082-03ae605a1f81cbce.js","static/chunks/2854-da2fe2768714039f.js","static/chunks/3052-a29d420814328ba6.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/9189-200a9342100c92dd.js","static/chunks/9640-9346df51762e2ae7.js","static/chunks/2877-c114745c37bb026b.js","static/chunks/3286-25235a0b8b0401f3.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/PNiLNWye6rXrL9sy_UIc7/_ssgManifest.js b/static/web/_next/static/_dmzAQ7Sap_MxFkakNTd1/_ssgManifest.js similarity index 100% rename from static/web/_next/static/PNiLNWye6rXrL9sy_UIc7/_ssgManifest.js rename to static/web/_next/static/_dmzAQ7Sap_MxFkakNTd1/_ssgManifest.js diff --git a/static/web/_next/static/chunks/1681-c6f123c7a3f0d079.js b/static/web/_next/static/chunks/1681-c6f123c7a3f0d079.js deleted file mode 100644 index 4e0d68008..000000000 --- a/static/web/_next/static/chunks/1681-c6f123c7a3f0d079.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1681],{92032:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(1413),i=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z"}}]},name:"notification",theme:"filled"},o=r(42135),s=function(t,e){return i.createElement(o.Z,(0,n.Z)((0,n.Z)({},t),{},{ref:e,icon:a}))};s.displayName="NotificationFilled";var u=i.forwardRef(s)},60562:function(t,e,r){"use strict";r.d(e,{Au:function(){return i},G3:function(){return p},Ki:function(){return a},d3:function(){return f},hL:function(){return c},lx:function(){return h},qX:function(){return l},tm:function(){return u}});var n=r(58908),i=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},a=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||i(t)||t instanceof ArrayBuffer||(t="number"!==typeof t||"number"===typeof t&&t!==t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},o=r.n(n)().BigInt||Number,s=[o("0x1"),o("0x100"),o("0x10000"),o("0x1000000"),o("0x100000000"),o("0x10000000000"),o("0x1000000000000"),o("0x100000000000000"),o("0x10000000000000000")],u=(function(){var t=new Uint16Array([65484]),e=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);255===e[0]||e[0]}(),function(t,e){var r=void 0===e?{}:e,n=r.signed,i=void 0!==n&&n,u=r.le,c=void 0!==u&&u;t=a(t);var f=c?"reduce":"reduceRight",l=(t[f]?t[f]:Array.prototype[f]).call(t,(function(e,r,n){var i=c?n:Math.abs(n+1-t.length);return e+o(r)*s[i]}),o(0));if(i){var h=s[t.length]/o(2)-o(1);(l=o(l))>h&&(l-=h,l-=h,l-=o(2))}return Number(l)}),c=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!==typeof t&&"number"!==typeof t||"number"===typeof t&&t!==t)&&(t=0),t=o(t);for(var i,a=(i=t,Math.ceil(function(t){return t.toString(2).length}(i)/8)),u=new Uint8Array(new ArrayBuffer(a)),c=0;c=e.length&&c.call(e,(function(e,r){return e===(u[r]?u[r]&t[o+r]:t[o+r])}))}},92260:function(t,e,r){"use strict";r.d(e,{Hi:function(){return d},Jg:function(){return f},KL:function(){return l},_5:function(){return h},kS:function(){return c},lA:function(){return m},p7:function(){return p},ws:function(){return u},xz:function(){return g}});var n=r(58908),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},o=["video","audio","text"],s=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,(function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)})):t},c=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach((function(t){var e;t=t.trim(),o.forEach((function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var o=t.substring(0,i[1].length),s=t.replace(o,"");r.push({type:o,details:s,mediaType:n})}})),e||r.push({type:t,details:"",mediaType:"unknown"})})),r},f=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return c(i.playlists[0].attributes.CODECS)}return null},l=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},h=function(t){if(t&&"string"===typeof t){var e,r=t.toLowerCase().split(",").map((function(t){return u(t.trim())})),n="video";1===r.length&&l(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every((function(t){return a.mp4.test(t)}))?i="mp4":r.every((function(t){return a.webm.test(t)}))?i="webm":r.every((function(t){return a.ogg.test(t)}))&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},p=function(t){return void 0===t&&(t=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(h(t))||!1},d=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every((function(t){t=t.trim();for(var e=0;er;){var a=t[r],o=0,s=0,u=t[++s];for(s++;128&u;)o=(127&u)<<7,u=t[s],s++;o+=127&u;for(var c=0;c>>0,c=e.subarray(s+4,s+8);if(0===u)break;var f=s+u;if(f>e.length){if(n)break;f=e.length}var l=e.subarray(s+8,f);(0,i.G3)(c,r[0])&&(1===r.length?o.push(l):o.push.apply(o,t(l,r.slice(1),n))),s=f}return o},u={EBML:(0,i.Ki)([26,69,223,163]),DocType:(0,i.Ki)([66,130]),Segment:(0,i.Ki)([24,83,128,103]),SegmentInfo:(0,i.Ki)([21,73,169,102]),Tracks:(0,i.Ki)([22,84,174,107]),Track:(0,i.Ki)([174]),TrackNumber:(0,i.Ki)([215]),DefaultDuration:(0,i.Ki)([35,227,131]),TrackEntry:(0,i.Ki)([174]),TrackType:(0,i.Ki)([131]),FlagDefault:(0,i.Ki)([136]),CodecID:(0,i.Ki)([134]),CodecPrivate:(0,i.Ki)([99,162]),VideoTrack:(0,i.Ki)([224]),AudioTrack:(0,i.Ki)([225]),Cluster:(0,i.Ki)([31,67,182,117]),Timestamp:(0,i.Ki)([231]),TimestampScale:(0,i.Ki)([42,215,177]),BlockGroup:(0,i.Ki)([160]),BlockDuration:(0,i.Ki)([155]),Block:(0,i.Ki)([161]),SimpleBlock:(0,i.Ki)([163])},c=[128,64,32,16,8,4,2,1],f=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=function(t){for(var e=1,r=0;r=r.length)return r.length;var a=f(r,n,!1);if((0,i.G3)(e.bytes,a.bytes))return n;var o=f(r,n+a.length);return t(e,r,n+o.length+o.value+a.length)},p=function t(e,r){r=function(t){return Array.isArray(t)?t.map((function(t){return l(t)})):[l(t)]}(r),e=(0,i.Ki)(e);var n=[];if(!r.length)return n;for(var a=0;ae.length?e.length:u+s.value,p=e.subarray(u,c);(0,i.G3)(r[0],o.bytes)&&(1===r.length?n.push(p):n=n.concat(t(p,r.slice(1)))),a+=o.length+s.length+p.length}return n},d=r(68925),m=(0,i.Ki)([0,0,0,1]),g=(0,i.Ki)([0,0,1]),y=(0,i.Ki)([0,0,3]),v=function(t){for(var e=[],r=1;r>1&63),-1!==r.indexOf(c)&&(a=o+u),o+=u+("h264"===e?1:2)}else o++}return t.subarray(0,0)},w={webm:(0,i.Ki)([119,101,98,109]),matroska:(0,i.Ki)([109,97,116,114,111,115,107,97]),flac:(0,i.Ki)([102,76,97,67]),ogg:(0,i.Ki)([79,103,103,83]),ac3:(0,i.Ki)([11,119]),riff:(0,i.Ki)([82,73,70,70]),avi:(0,i.Ki)([65,86,73]),wav:(0,i.Ki)([87,65,86,69]),"3gp":(0,i.Ki)([102,116,121,112,51,103]),mp4:(0,i.Ki)([102,116,121,112]),fmp4:(0,i.Ki)([115,116,121,112]),mov:(0,i.Ki)([102,116,121,112,113,116]),moov:(0,i.Ki)([109,111,111,118]),moof:(0,i.Ki)([109,111,111,102])},E={aac:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=p(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,w.webm)},mkv:function(t){var e=p(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,w.matroska)},mp4:function(t){return!E["3gp"](t)&&!E.mov(t)&&(!(!(0,i.G3)(t,w.mp4,{offset:4})&&!(0,i.G3)(t,w.fmp4,{offset:4}))||(!(!(0,i.G3)(t,w.moof,{offset:4})&&!(0,i.G3)(t,w.moov,{offset:4}))||void 0))},mov:function(t){return(0,i.G3)(t,w.mov,{offset:4})},"3gp":function(t){return(0,i.G3)(t,w["3gp"],{offset:4})},ac3:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,w.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+1880}},36722:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(58908),i=r.n(n),a=r(48764).lW;function o(t){for(var e,r=(e=t,i().atob?i().atob(e):a.from(e,"base64").toString("binary")),n=new Uint8Array(r.length),o=0;o>4?i+20:i+10}(e,r),t(e,r))}},8485:function(t,e,r){"use strict";r.d(e,{t:function(){return a}});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},80779:function(t,e,r){"use strict";var n=r(49945),i=r.n(n),a=r(58908),o=r.n(a),s="http://example.com";e.Z=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=o().location&&o().location.href||"");var r="function"===typeof o().URL,n=/^\/\//.test(t),a=!o().location&&!/\/\//i.test(t);if(r?t=new(o().URL)(t,o().location||s):/\/\//i.test(t)||(t=i().buildAbsoluteURL(o().location&&o().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(s.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)}},13490:function(t,e,r){"use strict";var n=r(58908);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)t(r);else if(i.statusCode>=400&&i.statusCode<=599){var o=a;if(e)if(n.TextDecoder){var s=function(t){void 0===t&&(t="");return t.toLowerCase().split(";").reduce((function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t}),"utf-8")}(i.headers&&i.headers["content-type"]);try{o=new TextDecoder(s).decode(a)}catch(u){}}else o=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:o})}else t(null,a)}}},9603:function(t,e,r){"use strict";var n=r(58908),i=r(10434),a=r(27376);s.httpHandler=r(13490);function o(t,e,r){var n=t;return a(e)?(r=e,"string"===typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function s(t,e,r){return u(e=o(t,e,r))}function u(t){if("undefined"===typeof t.callback)throw new Error("callback argument missing");var e=!1,r=function(r,n,i){e||(e=!0,t.callback(r,n,i))};function n(){var t=void 0;if(t=c.response?c.response:c.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(r){}return null}(c),g)try{t=JSON.parse(t)}catch(e){}return t}function i(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,y)}function a(){if(!u){var e;clearTimeout(f),e=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=y,a=null;return 0!==e?(i={body:n(),statusCode:e,method:h,headers:{},url:l,rawRequest:c},c.getAllResponseHeaders&&(i.headers=function(t){var e={};return t?(t.trim().split("\n").forEach((function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();"undefined"===typeof e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]})),e):e}(c.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),r(a,i,i.body)}}var o,u,c=t.xhr||null;c||(c=t.cors||t.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var f,l=c.url=t.uri||t.url,h=c.method=t.method||"GET",p=t.body||t.data,d=c.headers=t.headers||{},m=!!t.sync,g=!1,y={body:void 0,headers:{},statusCode:0,method:h,url:l,rawRequest:c};if("json"in t&&!1!==t.json&&(g=!0,d.accept||d.Accept||(d.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(d["content-type"]||d["Content-Type"]||(d["Content-Type"]="application/json"),p=JSON.stringify(!0===t.json?p:t.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(a,0)},c.onload=a,c.onerror=i,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=i,c.open(h,l,!m,t.username,t.password),m||(c.withCredentials=!!t.withCredentials),!m&&t.timeout>0&&(f=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",i(t)}}),t.timeout)),c.setRequestHeader)for(o in d)d.hasOwnProperty(o)&&c.setRequestHeader(o,d[o]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"===typeof t.beforeSend&&t.beforeSend(c),c.send(p||null),c}t.exports=s,t.exports.default=s,s.XMLHttpRequest=n.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r=e+r||e?new java.lang.String(t,e,r)+"":t}function g(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}l.prototype.parseFromString=function(t,e){var r=this.options,n=new f,i=r.domBuilder||new h,o=r.errorHandler,s=r.locator,c=r.xmlns||{},l=/\/x?html?$/.test(e),p=l?a.HTML_ENTITIES:a.XML_ENTITIES;return s&&i.setDocumentLocator(s),n.errorHandler=function(t,e,r){if(!t){if(e instanceof h)return e;t=e}var n={},i=t instanceof Function;function a(e){var a=t[e];!a&&i&&(a=2==t.length?function(r){t(e,r)}:t),n[e]=a&&function(t){a("[xmldom "+e+"]\t"+t+d(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(o,i,s),n.domBuilder=r.domBuilder||i,l&&(c[""]=u.HTML),c.xml=c.xml||u.XML,t&&"string"===typeof t?n.parse(t,c,p):n.errorHandler.error("invalid doc source"),i.doc},h.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,a=i.createElementNS(t,r||e),o=n.length;g(this,a),this.currentElement=a,this.locator&&p(this.locator,a);for(var s=0;s=0))throw O(A,new Error(t.tagName+"@"+r));for(var i=e.length-1;n"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function _(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(_(t,e))return!0}while(t=t.nextSibling)}function X(){}function j(t,e,r,i){t&&t._inc++,r.namespaceURI===n.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function F(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a}}}function K(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,F(t.ownerDocument,t),e}function G(t,e,r){var n=e.parentNode;if(n&&n.removeChild(e),e.nodeType===w){var i=e.firstChild;if(null==i)return e;var a=e.lastChild}else i=a=e;var o=r?r.previousSibling:t.lastChild;i.previousSibling=o,a.nextSibling=r,o?o.nextSibling=i:t.firstChild=i,null==r?t.lastChild=a:r.previousSibling=a;do{i.parentNode=t}while(i!==a&&(i=i.nextSibling));return F(t.ownerDocument||t,t),e.nodeType==w&&(e.firstChild=e.lastChild=null),e}function H(){this._nsMap={}}function Z(){}function q(){}function V(){}function z(){}function Y(){}function W(){}function $(){}function J(){}function Q(){}function tt(){}function et(){}function rt(){}function nt(t,e){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,a=n.namespaceURI;if(a&&null==i&&null==(i=n.lookupPrefix(a)))var o=[{namespace:a,prefix:null}];return ot(this,r,t,e,o),r.join("")}function it(t,e,r){var i=t.prefix||"",a=t.namespaceURI;if(!a)return!1;if("xml"===i&&a===n.XML||a===n.XMLNS)return!1;for(var o=r.length;o--;){var s=r[o];if(s.prefix===i)return s.namespace!==a}return!0}function at(t,e,r){t.push(" ",e,'="',r.replace(/[<&"]/g,B),'"')}function ot(t,e,r,i,a){if(a||(a=[]),i){if(!(t=i(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case f:var o=t.attributes,s=o.length,u=t.firstChild,c=t.tagName,m=c;if(!(r=n.isHTML(t.namespaceURI)||r)&&!t.prefix&&t.namespaceURI){for(var E,T=0;T=0;S--){if(""===(N=a[S]).prefix&&N.namespace===t.namespaceURI){E=N.namespace;break}}if(E!==t.namespaceURI)for(S=a.length-1;S>=0;S--){var N;if((N=a[S]).namespace===t.namespaceURI){N.prefix&&(m=N.prefix+":"+c);break}}}e.push("<",m);for(var A=0;A"),r&&/^script$/i.test(c))for(;u;)u.data?e.push(u.data):ot(u,e,r,i,a.slice()),u=u.nextSibling;else for(;u;)ot(u,e,r,i,a.slice()),u=u.nextSibling;e.push("")}else e.push("/>");return;case v:case w:for(u=t.firstChild;u;)ot(u,e,r,i,a.slice()),u=u.nextSibling;return;case l:return at(e,t.name,t.value);case h:return e.push(t.data.replace(/[<&]/g,B).replace(/]]>/g,"]]>"));case p:return e.push("");case y:return e.push("\x3c!--",t.data,"--\x3e");case b:var C=t.publicId,R=t.systemId;if(e.push("");else if(R&&"."!=R)e.push(" SYSTEM ",R,">");else{var D=t.internalSubset;D&&e.push(" [",D,"]"),e.push(">")}return;case g:return e.push("");case d:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function st(t,e,r){var n;switch(e.nodeType){case f:(n=e.cloneNode(!1)).ownerDocument=t;case w:break;case l:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(st(t,i,r)),i=i.nextSibling;return n}function ut(t,e,r){var n=new e.constructor;for(var i in e){var a=e[i];"object"!=typeof a&&a!=n[i]&&(n[i]=a)}switch(e.childNodes&&(n.childNodes=new x),n.ownerDocument=t,n.nodeType){case f:var o=e.attributes,s=n.attributes=new D,u=o.length;s._ownerElement=n;for(var c=0;c0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r)for(var n in r)if(r[n]==t)return n;e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&t in r)return r[t];e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},s(c,k),s(c,k.prototype),X.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==w){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return null==this.documentElement&&t.nodeType==f&&(this.documentElement=t),G(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),K(this,t)},importNode:function(t,e){return st(this,t,e)},getElementById:function(t){var e=null;return _(this.documentElement,(function(r){if(r.nodeType==f&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=o(t);return new C(this,(function(r){var n=[];return e.length>0&&_(r.documentElement,(function(i){if(i!==r&&i.nodeType===f){var a=i.getAttribute("class");if(a){var s=t===a;if(!s){var u=o(a);s=e.every((c=u,function(t){return c&&-1!==c.indexOf(t)}))}s&&n.push(i)}}var c})),n}))},createElement:function(t){var e=new H;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new x,(e.attributes=new D)._ownerElement=e,e},createDocumentFragment:function(){var t=new tt;return t.ownerDocument=this,t.childNodes=new x,t},createTextNode:function(t){var e=new V;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new z;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new Y;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new et;return r.ownerDocument=this,r.tagName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new Z;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new Q;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new H,n=e.split(":"),i=r.attributes=new D;return r.childNodes=new x,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new Z,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},u(X,k),H.prototype={nodeType:f,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===w?this.insertBefore(t,null):function(t,e){var r=e.parentNode;if(r){var n=t.lastChild;r.removeChild(e),n=t.lastChild}return n=t.lastChild,e.parentNode=t,e.previousSibling=n,e.nextSibling=null,n?n.nextSibling=e:t.firstChild=e,t.lastChild=e,F(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new C(this,(function(e){var r=[];return _(e,(function(n){n===e||n.nodeType!=f||"*"!==t&&n.tagName!=t||r.push(n)})),r}))},getElementsByTagNameNS:function(t,e){return new C(this,(function(r){var n=[];return _(r,(function(i){i===r||i.nodeType!==f||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||n.push(i)})),n}))}},X.prototype.getElementsByTagName=H.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=H.prototype.getElementsByTagNameNS,u(H,k),Z.prototype.nodeType=l,u(Z,k),q.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(S[N])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},u(q,k),V.prototype={nodeName:"#text",nodeType:h,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},u(V,q),z.prototype={nodeName:"#comment",nodeType:y},u(z,q),Y.prototype={nodeName:"#cdata-section",nodeType:p},u(Y,q),W.prototype.nodeType=b,u(W,k),$.prototype.nodeType=E,u($,k),J.prototype.nodeType=m,u(J,k),Q.prototype.nodeType=d,u(Q,k),tt.prototype.nodeName="#document-fragment",tt.prototype.nodeType=w,u(tt,k),et.prototype.nodeType=g,u(et,k),rt.prototype.serializeToString=function(t,e,r){return nt.call(t,e,r)},k.prototype.toString=nt;try{if(Object.defineProperty){function ft(t){switch(t.nodeType){case f:case w:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(ft(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(C.prototype,"length",{get:function(){return R(this),this.$$length}}),Object.defineProperty(k.prototype,"textContent",{get:function(){return ft(this)},set:function(t){switch(this.nodeType){case f:case w:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),ct=function(t,e,r){t["$$"+e]=r}}}catch(lt){}e.DocumentType=W,e.DOMException=O,e.DOMImplementation=U,e.Element=H,e.Node=k,e.NodeList=x,e.XMLSerializer=rt},31045:function(t,e,r){var n=r(72167).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",euro:"\u20ac",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}),e.entityMap=e.HTML_ENTITIES},3969:function(t,e,r){var n=r(41146);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(86129).DOMParser},76925:function(t,e,r){var n=r(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function c(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function f(t,e,r,i,a,o){function s(t,e,n){r.attributeNames.hasOwnProperty(t)&&o.fatalError("Attribute "+t+" redefined"),r.addValue(t,e,n)}for(var u,c=++e,f=0;;){var l=t.charAt(c);switch(l){case"=":if(1===f)u=t.slice(e,c),f=3;else{if(2!==f)throw new Error("attribute equal must after attrName");f=3}break;case"'":case'"':if(3===f||1===f){if(1===f&&(o.warning('attribute value must after "="'),u=t.slice(e,c)),e=c+1,!((c=t.indexOf(l,e))>0))throw new Error("attribute value no end '"+l+"' match");s(u,h=t.slice(e,c).replace(/&#?\w+;/g,a),e-1),f=5}else{if(4!=f)throw new Error('attribute value must after "="');s(u,h=t.slice(e,c).replace(/&#?\w+;/g,a),e),o.warning('attribute "'+u+'" missed start quot('+l+")!!"),e=c+1,f=5}break;case"/":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:f=7,r.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==f&&r.setTagName(t.slice(e,c)),c;case">":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=t.slice(e,c)).slice(-1)&&(r.closed=!0,h=h.slice(0,-1));case 2:2===f&&(h=u),4==f?(o.warning('attribute "'+h+'" missed quot(")!'),s(u,h.replace(/&#?\w+;/g,a),e)):(n.isHTML(i[""])&&h.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),s(h,h,e));break;case 3:throw new Error("attribute value missed!!")}return c;case"\x80":l=" ";default:if(l<=" ")switch(f){case 0:r.setTagName(t.slice(e,c)),f=6;break;case 1:u=t.slice(e,c),f=2;break;case 4:var h=t.slice(e,c).replace(/&#?\w+;/g,a);o.warning('attribute "'+h+'" missed quot(")!!'),s(u,h,e);case 5:f=6}else switch(f){case 2:r.tagName;n.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,e),e=c,f=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:f=1,e=c;break;case 3:f=4,e=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function l(t,e,r){for(var i=t.tagName,a=null,o=t.length;o--;){var s=t[o],u=s.qName,c=s.value;if((p=u.indexOf(":"))>0)var f=s.prefix=u.slice(0,p),l=u.slice(p+1),h="xmlns"===f&&l;else l=u,f=null,h="xmlns"===u&&"";s.localName=l,!1!==h&&(null==a&&(a={},d(r,r={})),r[h]=a[h]=c,s.uri=n.XMLNS,e.startPrefixMapping(h,c))}for(o=t.length;o--;){(f=(s=t[o]).prefix)&&("xml"===f&&(s.uri=n.XML),"xmlns"!==f&&(s.uri=r[f||""]))}var p;(p=i.indexOf(":"))>0?(f=t.prefix=i.slice(0,p),l=t.localName=i.slice(p+1)):(f=null,l=t.localName=i);var m=t.uri=r[f||""];if(e.startElement(m,l,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(m,l,i),a)for(f in a)e.endPrefixMapping(f)}function h(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=t.indexOf("",e),o=t.substring(e+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,n),i.characters(o,0,o.length),a)}return e+1}function p(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf(""))e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var a=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=e,i.exec(t);for(;r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,c=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],c=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var f=a[o-1];return r.startDTD(s,u,c),r.endDTD(),f.index+f[0].length}return-1}function g(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function y(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),d(e,e={}),function(t,e,r,i,a){function o(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}function u(t){var e=t.slice(1,-1);return e in r?r[e]:"#"===e.charAt(0)?o(parseInt(e.substr(1).replace("x","0x"))):(a.error("entity not found:"+t),t)}function d(e){if(e>A){var r=t.substring(A,e).replace(/&#?\w+;/g,u);T&&v(A),i.characters(r,0,e-A),A=e}}function v(e,r){for(;e>=w&&(r=E.exec(t));)b=r.index,w=b+r[0].length,T.lineNumber++;T.columnNumber=e-b+1}var b=0,w=0,E=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,S=[{currentNSMap:e}],N={},A=0;for(;;){try{var I=t.indexOf("<",A);if(I<0){if(!t.substr(A).match(/^\s*$/)){var O=i.doc,x=O.createTextNode(t.substr(A));O.appendChild(x),i.currentElement=x}return}switch(I>A&&d(I),t.charAt(I+1)){case"/":var C=t.indexOf(">",I+3),R=t.substring(I+2,C).replace(/[ \t\n\r]+$/g,""),D=S.pop();C<0?(R=t.substring(I+2).replace(/[\s<].*/,""),a.error("end tag name: "+R+" is not complete:"+D.tagName),C=I+1+R.length):R.match(/\sA?A=C:d(Math.max(I,A)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},y.prototype={setTagName:function(t){if(!o.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!o.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=u,e.ParseError=s},27049:function(t,e,r){"use strict";var n=r(87462),i=r(4942),a=r(94184),o=r.n(a),s=r(67294),u=r(53124),c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i0?"-".concat(m):m,N=!!v,A="left"===m&&null!=g,I="right"===m&&null!=g,O=o()(T,"".concat(T,"-").concat(p),(e={},(0,i.Z)(e,"".concat(T,"-with-text"),N),(0,i.Z)(e,"".concat(T,"-with-text").concat(S),N),(0,i.Z)(e,"".concat(T,"-dashed"),!!b),(0,i.Z)(e,"".concat(T,"-plain"),!!w),(0,i.Z)(e,"".concat(T,"-rtl"),"rtl"===f),(0,i.Z)(e,"".concat(T,"-no-default-orientation-margin-left"),A),(0,i.Z)(e,"".concat(T,"-no-default-orientation-margin-right"),I),e),y),x=(0,n.Z)((0,n.Z)({},A&&{marginLeft:g}),I&&{marginRight:g});return s.createElement("div",(0,n.Z)({className:O},E,{role:"separator"}),v&&"vertical"!==p&&s.createElement("span",{className:"".concat(T,"-inner-text"),style:x},v))}},79742:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,a=u(t),o=a[0],s=a[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,o,s)),f=0,l=s>0?o-4:o;for(r=0;r>16&255,c[f++]=e>>8&255,c[f++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[f++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,a=[],o=16383,s=0,u=n-i;su?u:s+o));1===i?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return a.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,n){for(var i,a,o=[],s=e;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(t,e,r){"use strict";var n=r(79742),i=r(80645),a="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.lW=u,e.h2=50;var o=2147483647;function s(t){if(t>o)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"===typeof t){if("string"===typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return l(t)}return c(t,e,r)}function c(t,e,r){if("string"===typeof t)return function(t,e){"string"===typeof e&&""!==e||(e="utf8");if(!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|m(t,e),n=s(r),i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(F(t,Uint8Array)){var e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return h(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer))return p(t,e,r);if("undefined"!==typeof SharedArrayBuffer&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);var i=function(t){if(u.isBuffer(t)){var e=0|d(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!==typeof t.length||K(t.length)?s(0):h(t);if("Buffer"===t.type&&Array.isArray(t.data))return h(t.data)}(t);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return f(t),s(t<0?0:0|d(t))}function h(t){for(var e=t.length<0?0:0|d(t.length),r=s(e),n=0;n=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function m(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if("string"!==typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return _(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return X(t).length;default:if(i)return n?-1:_(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,r);case"utf8":case"utf-8":return I(this,e,r);case"ascii":return x(this,e,r);case"latin1":case"binary":return C(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),K(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"===typeof e)return e&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){var a,o=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,r/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var f=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var l=!0,h=0;hi&&(n=i):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function A(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function I(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128===(192&(a=t[i+1]))&&(u=(31&c)<<6|63&a)>127&&(f=u);break;case 3:a=t[i+1],o=t[i+2],128===(192&a)&&128===(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);var r="",n=0;for(;nn.length?u.from(a).copy(n,i):Uint8Array.prototype.set.call(n,a,i);else{if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i)}i+=a.length}return n},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;er&&(t+=" ... "),""},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,i){if(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),s=Math.min(a,o),c=this.slice(n,i),f=t.slice(e,r),l=0;l>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return w(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":case"latin1":case"binary":return T(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function x(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var i="",a=e;ar)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,r,n,i,a){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function P(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(t,e,r,n,a){return e=+e,r>>>=0,a||P(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function k(t,e,r,n,a){return e=+e,r>>>=0,a||P(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||M(t,e,this.length);for(var n=this[t],i=1,a=0;++a>>=0,e>>>=0,r||M(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||M(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||M(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||M(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||M(t,e,this.length);for(var n=this[t],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||M(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},u.prototype.readInt8=function(t,e){return t>>>=0,e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||M(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||M(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return t>>>=0,e||M(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||M(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||M(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||M(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||L(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a>>=0,r>>>=0,n)||L(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeFloatLE=function(t,e,r){return U(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return U(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return k(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return k(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(a=e;a55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function X(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(B,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function j(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function F(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function K(t){return t!==t}var G=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},86559:function(t,e,r){"use strict";r.d(e,{Z:function(){return g}});var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(t,e,r){var i,a=n[t];return i="string"===typeof a?a:1===e?a.one:a.other.replace("{{count}}",e.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function a(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var o={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},u=function(t,e,r,n){return s[t]};function c(t){return function(e,r){var n;if("formatting"===(null!==r&&void 0!==r&&r.context?String(r.context):"standalone")&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,a=null!==r&&void 0!==r&&r.width?String(r.width):i;n=t.formattingValues[a]||t.formattingValues[i]}else{var o=t.defaultWidth,s=null!==r&&void 0!==r&&r.width?String(r.width):t.defaultWidth;n=t.values[s]||t.values[o]}return n[t.argumentCallback?t.argumentCallback(e):e]}}var f={ordinalNumber:function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function l(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],a=e.match(i);if(!a)return null;var o,s=a[0],u=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(u)?p(u,(function(t){return t.test(s)})):h(u,(function(t){return t.test(s)}));o=t.valueCallback?t.valueCallback(c):c,o=r.valueCallback?r.valueCallback(o):o;var f=e.slice(s.length);return{value:o,rest:f}}}function h(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function p(t,e){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(d.matchPattern);if(!r)return null;var n=r[0],i=t.match(d.parsePattern);if(!i)return null;var a=d.valueCallback?d.valueCallback(i[0]):i[0];a=e.valueCallback?e.valueCallback(a):a;var o=t.slice(n.length);return{value:a,rest:o}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},g={code:"en-US",formatDistance:i,formatLong:o,formatRelative:u,localize:f,match:m,options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(t,e,r){"use strict";r.d(e,{j:function(){return i}});var n={};function i(){return n}},24262:function(t,e,r){"use strict";function n(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}r.d(e,{Z:function(){return n}})},83946:function(t,e,r){"use strict";function n(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}r.d(e,{Z:function(){return n}})},77349:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(83946),i=r(19013),a=r(13882);function o(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),o=(0,n.Z)(e);return isNaN(o)?new Date(NaN):o?(r.setDate(r.getDate()+o),r):r}},11640:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(83946),i=r(19013),a=r(13882);function o(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),o=(0,n.Z)(e);if(isNaN(o))return new Date(NaN);if(!o)return r;var s=r.getDate(),u=new Date(r.getTime());u.setMonth(r.getMonth()+o+1,0);var c=u.getDate();return s>=c?u:(r.setFullYear(u.getFullYear(),u.getMonth(),s),r)}},75401:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(24262),i=r(19013),a=r(13882);function o(t){(0,a.Z)(1,arguments);var e=(0,i.Z)(t);return e.setHours(0,0,0,0),e}var s=864e5;function u(t,e){(0,a.Z)(2,arguments);var r=o(t),i=o(e),u=r.getTime()-(0,n.Z)(r),c=i.getTime()-(0,n.Z)(i);return Math.round((u-c)/s)}},68730:function(t,e,r){"use strict";r.d(e,{Z:function(){return S}});var n=r(49474),i=r(77349),a=r(11640),o=r(19013),s=r(13882),u=r(83946);function c(t){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function f(t,e){if((0,s.Z)(2,arguments),!e||"object"!==c(e))return new Date(NaN);var r=e.years?(0,u.Z)(e.years):0,n=e.months?(0,u.Z)(e.months):0,f=e.weeks?(0,u.Z)(e.weeks):0,l=e.days?(0,u.Z)(e.days):0,h=e.hours?(0,u.Z)(e.hours):0,p=e.minutes?(0,u.Z)(e.minutes):0,d=e.seconds?(0,u.Z)(e.seconds):0,m=(0,o.Z)(t),g=n||r?(0,a.Z)(m,n+12*r):m,y=l||f?(0,i.Z)(g,l+7*f):g,v=p+60*h,b=d+60*v,w=1e3*b,E=new Date(y.getTime()+w);return E}var l=r(75401);function h(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function p(t,e){(0,s.Z)(2,arguments);var r=(0,o.Z)(t),n=(0,o.Z)(e),i=h(r,n),a=Math.abs((0,l.Z)(r,n));r.setDate(r.getDate()-i*a);var u=Number(h(r,n)===-i),c=i*(a-u);return 0===c?0:c}Math.pow(10,8);var d=36e5,m=r(59910),g=r(93645);function y(t,e,r){(0,s.Z)(2,arguments);var n=(0,m.Z)(t,e)/d;return(0,g.u)(null===r||void 0===r?void 0:r.roundingMethod)(n)}function v(t,e,r){(0,s.Z)(2,arguments);var n=(0,m.Z)(t,e)/6e4;return(0,g.u)(null===r||void 0===r?void 0:r.roundingMethod)(n)}var b=r(82161),w=r(11699);function E(t,e){(0,s.Z)(2,arguments);var r=(0,o.Z)(t),n=(0,o.Z)(e);return r.getFullYear()-n.getFullYear()}function T(t,e){(0,s.Z)(2,arguments);var r=(0,o.Z)(t),i=(0,o.Z)(e),a=(0,n.Z)(r,i),u=Math.abs(E(r,i));r.setFullYear(1584),i.setFullYear(1584);var c=(0,n.Z)(r,i)===-a,f=a*(u-Number(c));return 0===f?0:f}function S(t){(0,s.Z)(1,arguments);var e=(0,o.Z)(t.start),r=(0,o.Z)(t.end);if(isNaN(e.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(r.getTime()))throw new RangeError("End Date is invalid");var i={};i.years=Math.abs(T(r,e));var a=(0,n.Z)(r,e),u=f(e,{years:a*i.years});i.months=Math.abs((0,b.Z)(r,u));var c=f(u,{months:a*i.months});i.days=Math.abs(p(r,c));var l=f(c,{days:a*i.days});i.hours=Math.abs(y(r,l));var h=f(l,{hours:a*i.hours});i.minutes=Math.abs(v(r,h));var d=f(h,{minutes:a*i.minutes});return i.seconds=Math.abs((0,w.Z)(r,d)),i}},89144:function(t,e,r){var n,i="undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:{},a=r(25893);"undefined"!==typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},58908:function(t,e,r){var n;n="undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:{},t.exports=n},80645:function(t,e){e.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<>1,f=-7,l=r?i-1:0,h=r?-1:1,p=t[e+l];for(l+=h,a=p&(1<<-f)-1,p>>=-f,f+=s;f>0;a=256*a+t[e+l],l+=h,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+l],l+=h,f-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=c}return(p?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var o,s,u,c=8*a-i-1,f=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,d=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+l>=1?h/u:h*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(e*u-1)*Math.pow(2,i),o+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(o=o<0;t[r+p]=255&o,p+=d,o/=256,c-=8);t[r+p-d]|=128*m}},27376:function(t){t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"===typeof t&&"[object RegExp]"!==r||"undefined"!==typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},27537:function(t,e){function r(t){if(t&&"object"===typeof t){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"===typeof t)return o[t];var r,a=String(t);return(r=n[a.toLowerCase()])?r:(r=i[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}r.isEventKey=function(t,e){if(t&&"object"===typeof t){var r=t.which||t.keyCode||t.charCode;if(null===r||void 0===r)return!1;if("string"===typeof e){var a;if(a=n[e.toLowerCase()])return a===r;if(a=i[e.toLowerCase()])return a===r}else if("number"===typeof e)return e===r;return!1}};var n=(e=t.exports=r).code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":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,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=e.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)n[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)n[a-48]=a;for(a=1;a<13;a++)n["f"+a]=a+111;for(a=0;a<10;a++)n["numpad "+a]=a+96;var o=e.names=e.title={};for(a in n)o[n[a]]=a;for(var s in i)n[s]=i[s]},9323:function(t,e,r){"use strict";r.d(e,{_b:function(){return m}});var n=r(94578),i=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var r=e.length,n=0;n-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},e}(i),c=String.fromCharCode(9),f=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},l=function(t){for(var e,r=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=r.length;i--;)""!==r[i]&&((e=/([^=]*)=(.*)/.exec(r[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n},h=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}(0,n.Z)(e,t);var r=e.prototype;return r.push=function(t){var e,r,n=this;0!==(t=t.trim()).length&&("#"===t[0]?this.tagMappers.reduce((function(e,r){var n=r(t);return n===t?e:e.concat([n])}),[t]).forEach((function(t){for(var i=0;i0&&(f.duration=t.duration),0===t.duration&&(f.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key:function(){if(t.attributes)if("NONE"!==t.attributes.METHOD)if(t.attributes.URI){if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes});if("com.microsoft.playready"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:(0,s.Z)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},"undefined"!==typeof t.attributes.IV&&(n.iv=t.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else n=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence":function(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,y=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type":function(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map:function(){r={},t.uri&&(r.uri=t.uri),t.byterange&&(r.byterange=t.byterange),n&&(r.key=n)},"stream-inf":function(){this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||g,t.attributes?(f.attributes||(f.attributes={}),(0,a.Z)(f.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||g,t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME){var r=this.manifest.mediaGroups[t.attributes.TYPE];r[t.attributes["GROUP-ID"]]=r[t.attributes["GROUP-ID"]]||{},e=r[t.attributes["GROUP-ID"]],(o={default:/yes/i.test(t.attributes.DEFAULT)}).default?o.autoselect=!0:o.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(o.language=t.attributes.LANGUAGE),t.attributes.URI&&(o.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(o.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(o.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(o.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=o}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){y+=1,f.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time":function(){"undefined"===typeof this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),f.dateTimeString=t.dateTimeString,f.dateTimeObject=t.dateTimeObject},targetduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,d.call(this,this.manifest))},start:function(){t.attributes&&!isNaN(t.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){f.cueOut=t.data},"cue-out-cont":function(){f.cueOutCont=t.data},"cue-in":function(){f.cueIn=t.data},skip:function(){this.manifest.skip=p(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;l=!0;var r=this.manifest.segments.length,n=p(t.attributes);f.parts=f.parts||[],f.parts.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=b),b=n.byterange.offset+n.byterange.length);var i=f.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+r,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(t,r){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+r+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var e=this.manifest.serverControl=p(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),d.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var e=this.manifest.segments.length,r=p(t.attributes),n=r.type&&"PART"===r.type;f.preloadHints=f.preloadHints||[],f.preloadHints.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=n?b:0,n&&(b=r.byterange.offset+r.byterange.length)));var i=f.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+e,t.attributes,["TYPE","URI"]),r.type)for(var a=0;ae.timeline?1:-1}));var e,r},x=function(t){var e,r,n=[];return e=t,r=function(t,e,r,i){n=n.concat(t.playlists||[])},I.forEach((function(t){for(var n in e.mediaGroups[t])for(var i in e.mediaGroups[t][n]){var a=e.mediaGroups[t][n][i];r(a,t,n,i)}})),n},C=function(t){var e=t.playlist,r=t.mediaSequence;e.mediaSequence=r,e.segments.forEach((function(t,r){t.number=e.mediaSequence+r}))},R=function(t){var e=t.oldManifest,r=t.newManifest,n=e.playlists.concat(x(e)),i=r.playlists.concat(x(r));return r.timelineStarts=O([e.timelineStarts,r.timelineStarts]),function(t){var e=t.oldPlaylists,r=t.newPlaylists,n=t.timelineStarts;r.forEach((function(t){t.discontinuitySequence=p(n,(function(e){return e.timeline===t.timeline}));var r=function(t,e){for(var r=0;rr.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--);r.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),C({playlist:t,mediaSequence:r.segments[a].number})}}))}({oldPlaylists:n,newPlaylists:i,timelineStarts:r.timelineStarts}),r},D=function(t){return t&&t.uri+"-"+function(t){var e;return e="bigint"===typeof t.offset||"bigint"===typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1,t.offset+"-"+e}(t.byterange)},M=function(t){return f(t.reduce((function(t,e){var r=e.attributes.id+(e.attributes.lang||"");if(t[r]){var n;if(e.segments)e.segments[0]&&(e.segments[0].discontinuity=!0),(n=t[r].segments).push.apply(n,e.segments);e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)}else t[r]=e,t[r].attributes.timelineStarts=[];return t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t}),{})).map((function(t){var e,r;return t.discontinuityStarts=(e=t.segments||[],r="discontinuity",e.reduce((function(t,e,n){return e[r]&&t.push(n),t}),[])),t}))},L=function(t,e){var r=D(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&A(t,n,t.sidx.resolvedUri),t},P=function(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var r in t)t[r]=L(t[r],e);return t},U=function(t){var e,r=t.attributes,n=t.segments,i=t.sidx,a=t.discontinuityStarts,o={attributes:(e={NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth},e["PROGRAM-ID"]=1,e),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuityStarts:a,timelineStarts:r.timelineStarts,segments:n};return r.contentProtection&&(o.contentProtection=r.contentProtection),i&&(o.sidx=i),o},k=function(t){var e=t.attributes;return"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType},B=function(t){var e=t.attributes;return"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType},_=function(t){var e=t.attributes;return"text/vtt"===e.mimeType||"text"===e.contentType},X=function(t){return t?Object.keys(t).reduce((function(e,r){var n=t[r];return e.concat(n.playlists)}),[]):[]},j=function(t){var e,r=t.dashPlaylists,n=t.locations,i=t.sidxMapping,a=void 0===i?{}:i,o=t.previousManifest;if(!r.length)return{};var s=r[0].attributes,u=s.sourceDuration,c=s.type,f=s.suggestedPresentationDelay,l=s.minimumUpdatePeriod,h=M(r.filter(k)).map(U),d=M(r.filter(B)),m=M(r.filter(_)),g=r.map((function(t){return t.attributes.captionServices})).filter(Boolean),y={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(e={AUDIO:{},VIDEO:{}},e["CLOSED-CAPTIONS"]={},e.SUBTITLES={},e),uri:"",duration:u,playlists:P(h,a)};l>=0&&(y.minimumUpdatePeriod=1e3*l),n&&(y.locations=n),"dynamic"===c&&(y.suggestedPresentationDelay=f);var v,b,w=0===y.playlists.length,E=d.length?function(t,e,r){var n;void 0===e&&(e={}),void 0===r&&(r=!1);var i=t.reduce((function(t,i){var a=i.attributes.role&&i.attributes.role.value||"",o=i.attributes.lang||"",s=i.attributes.label||"main";if(o&&!i.attributes.label){var u=a?" ("+a+")":"";s=""+i.attributes.lang+u}t[s]||(t[s]={language:o,autoselect:!0,default:"main"===a,playlists:[],uri:""});var c=L(function(t,e){var r,n=t.attributes,i=t.segments,a=t.sidx,o=t.mediaSequence,s=t.discontinuitySequence,u=t.discontinuityStarts,c={attributes:(r={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs},r["PROGRAM-ID"]=1,r),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuitySequence:s,discontinuityStarts:u,timelineStarts:n.timelineStarts,mediaSequence:o,segments:i};return n.contentProtection&&(c.contentProtection=n.contentProtection),a&&(c.sidx=a),e&&(c.attributes.AUDIO="audio",c.attributes.SUBTITLES="subs"),c}(i,r),e);return t[s].playlists.push(c),"undefined"===typeof n&&"main"===a&&((n=i).default=!0),t}),{});return n||(i[Object.keys(i)[0]].default=!0),i}(d,a,w):null,T=m.length?function(t,e){return void 0===e&&(e={}),t.reduce((function(t,r){var n=r.attributes.lang||"text";return t[n]||(t[n]={language:n,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(L(function(t){var e,r=t.attributes,n=t.segments,i=t.mediaSequence,a=t.discontinuityStarts,o=t.discontinuitySequence;"undefined"===typeof n&&(n=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);var s=((e={NAME:r.id,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e);return r.codecs&&(s.CODECS=r.codecs),{attributes:s,uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:a,discontinuitySequence:o,mediaSequence:i,segments:n}}(r),e)),t}),{})}(m,a):null,S=h.concat(X(E),X(T)),N=S.map((function(t){return t.timelineStarts}));return y.timelineStarts=O(N),v=S,b=y.timelineStarts,v.forEach((function(t){t.mediaSequence=0,t.discontinuitySequence=p(b,(function(e){return e.timeline===t.timeline})),t.segments&&t.segments.forEach((function(t,e){t.number=e}))})),E&&(y.mediaGroups.AUDIO.audio=E),T&&(y.mediaGroups.SUBTITLES.subs=T),g.length&&(y.mediaGroups["CLOSED-CAPTIONS"].cc=g.reduce((function(t,e){return e?(e.forEach((function(e){var r=e.channel,n=e.language;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])})),t):t}),{})),o?R({oldManifest:o,newManifest:y}):y},F=function(t,e,r){var n=t.NOW,i=t.clientOffset,a=t.availabilityStartTime,o=t.timescale,s=void 0===o?1:o,u=t.periodStart,c=void 0===u?0:u,f=t.minimumUpdatePeriod,l=(n+i)/1e3+(void 0===f?0:f)-(a+c);return Math.ceil((l*s-e)/r)},K=function(t,e){for(var r=t.type,n=t.minimumUpdatePeriod,i=void 0===n?0:n,a=t.media,o=void 0===a?"":a,s=t.sourceDuration,u=t.timescale,c=void 0===u?1:u,f=t.startNumber,l=void 0===f?1:f,h=t.periodStart,p=[],d=-1,m=0;md&&(d=b);var w=void 0;if(v<0){var E=m+1;w=E===e.length?"dynamic"===r&&i>0&&o.indexOf("$Number$")>0?F(t,d,y):(s*c-d)/y:(e[E].t-d)/y}else w=v+1;for(var T=l+p.length+w,S=l+p.length;S=i?a:""+new Array(i-a.length+1).join("0")+a)}}(e))},Z=function(t,e){var r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},i=t.initialization,a=void 0===i?{sourceURL:"",range:""}:i,o=w({baseUrl:t.baseUrl,source:H(a.sourceURL,r),range:a.range}),s=function(t,e){return t.duration||e?t.duration?S(t):K(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]}(t,e);return s.map((function(e){r.Number=e.number,r.Time=e.time;var i=H(t.media||"",r),a=t.timescale||1,s=t.presentationTimeOffset||0,u=t.periodStart+(e.time-s)/a;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.Z)(t.baseUrl||"",i),map:o,number:e.number,presentationTime:u}}))},q=function(t,e){var r=t.duration,n=t.segmentUrls,i=void 0===n?[]:n,a=t.periodStart;if(!r&&!e||r&&e)throw new Error(v);var o,s=i.map((function(e){return function(t,e){var r=t.baseUrl,n=t.initialization,i=void 0===n?{}:n,a=w({baseUrl:r,source:i.sourceURL,range:i.range}),o=w({baseUrl:r,source:e.media,range:e.mediaRange});return o.map=a,o}(t,e)}));return r&&(o=S(t)),e&&(o=K(t,e)),o.map((function(e,r){if(s[r]){var n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}})).filter((function(t){return t}))},V=function(t){var e,r,n=t.attributes,i=t.segmentInfo;i.template?(r=Z,e=c(n,i.template)):i.base?(r=N,e=c(n,i.base)):i.list&&(r=q,e=c(n,i.list));var a={attributes:n};if(!r)return a;var o=r(e,i.segmentTimeline);if(e.duration){var s=e,u=s.duration,f=s.timescale,l=void 0===f?1:f;e.duration=u/l}else o.length?e.duration=o.reduce((function(t,e){return Math.max(t,Math.ceil(e.duration))}),0):e.duration=0;return a.attributes=e,a.segments=o,i.base&&e.indexRange&&(a.sidx=o[0],a.segments=[]),a},z=function(t,e){return h(t.childNodes).filter((function(t){return t.tagName===e}))},Y=function(t){return t.textContent.trim()},W=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var r=e.slice(1),n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],u=r[5];return 31536e3*parseFloat(n||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(o||0)+60*parseFloat(s||0)+parseFloat(u||0)},$={mediaPresentationDuration:function(t){return W(t)},availabilityStartTime:function(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e=t)&&(e+="Z"),Date.parse(e)/1e3;var e},minimumUpdatePeriod:function(t){return W(t)},suggestedPresentationDelay:function(t){return W(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return W(t)},start:function(t){return W(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?W(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},J=function(t){return t&&t.attributes?h(t.attributes).reduce((function(t,e){var r=$[e.name]||$.DEFAULT;return t[e.name]=r(e.value),t}),{}):{}},Q={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},tt=function(t,e){return e.length?l(t.map((function(t){return e.map((function(e){return(0,n.Z)(t,Y(e))}))}))):t},et=function(t){var e=z(t,"SegmentTemplate")[0],r=z(t,"SegmentList")[0],n=r&&z(r,"SegmentURL").map((function(t){return c({tag:"SegmentURL"},J(t))})),i=z(t,"SegmentBase")[0],a=r||e,o=a&&z(a,"SegmentTimeline")[0],s=r||i||e,u=s&&z(s,"Initialization")[0],f=e&&J(e);f&&u?f.initialization=u&&J(u):f&&f.initialization&&(f.initialization={sourceURL:f.initialization});var l={template:f,segmentTimeline:o&&z(o,"S").map((function(t){return J(t)})),list:r&&c(J(r),{segmentUrls:n,initialization:J(u)}),base:i&&c(J(i),{initialization:J(u)})};return Object.keys(l).forEach((function(t){l[t]||delete l[t]})),l},rt=function(t,e,r){return function(n){var i,a=J(n),s=tt(e,z(n,"BaseURL")),u=z(n,"Role")[0],f={role:J(u)},h=c(t,a,f),p=z(n,"Accessibility")[0],d="urn:scte:dash:cc:cea-608:2015"===(i=J(p)).schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e,r;if(r=t,/^CC\d=/.test(t)){var n=t.split("=");e=n[0],r=n[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:r}})):"urn:scte:dash:cc:cea-708:2015"===i.schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var r=t.split("="),n=r[0],i=r[1],a=void 0===i?"":i;e.channel=n,e.language=t,a.split(",").forEach((function(t){var r=t.split(":"),n=r[0],i=r[1];"lang"===n?e.language=i:"er"===n?e.easyReader=Number(i):"war"===n?e.aspectRatio=Number(i):"3D"===n&&(e["3D"]=Number(i))}))}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e})):void 0;d&&(h=c(h,{captionServices:d}));var m=z(n,"Label")[0];if(m&&m.childNodes.length){var g=m.childNodes[0].nodeValue.trim();h=c(h,{label:g})}var y=z(n,"ContentProtection").reduce((function(t,e){var r=J(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());var n=Q[r.schemeIdUri];if(n){t[n]={attributes:r};var i=z(e,"cenc:pssh")[0];if(i){var a=Y(i);t[n].pssh=a&&(0,o.Z)(a)}}return t}),{});Object.keys(y).length&&(h=c(h,{contentProtection:y}));var v=et(n),b=z(n,"Representation"),w=c(r,v);return l(b.map(function(t,e,r){return function(n){var i=z(n,"BaseURL"),a=tt(e,i),o=c(t,J(n)),s=et(n);return a.map((function(t){return{segmentInfo:c(r,s),attributes:c(o,{baseUrl:t})}}))}}(h,s,w)))}},nt=function(t,e){return function(r,n){var i=tt(e,z(r.node,"BaseURL")),a=c(t,{periodStart:r.attributes.start});"number"===typeof r.attributes.duration&&(a.periodDuration=r.attributes.duration);var o=z(r.node,"AdaptationSet"),s=et(r.node);return l(o.map(rt(a,i,s)))}},it=function(t){if(""===t)throw new Error(m);var e,r,n=new s.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(i){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(g);return r},at=function(t,e){void 0===e&&(e={});var r=function(t,e){void 0===e&&(e={});var r=e,n=r.manifestUri,i=void 0===n?"":n,a=r.NOW,o=void 0===a?Date.now():a,s=r.clientOffset,u=void 0===s?0:s,c=z(t,"Period");if(!c.length)throw new Error(d);var f=z(t,"Location"),h=J(t),p=tt([i],z(t,"BaseURL"));h.type=h.type||"static",h.sourceDuration=h.mediaPresentationDuration||0,h.NOW=o,h.clientOffset=u,f.length&&(h.locations=f.map(Y));var m=[];return c.forEach((function(t,e){var r=J(t),n=m[e-1];r.start=function(t){var e=t.attributes,r=t.priorPeriodAttributes,n=t.mpdType;return"number"===typeof e.start?e.start:r&&"number"===typeof r.start&&"number"===typeof r.duration?r.start+r.duration:r||"static"!==n?null:0}({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:h.type}),m.push({node:t,attributes:r})})),{locations:h.locations,representationInfo:l(m.map(nt(h,p)))}}(it(t),e),n=r.representationInfo.map(V);return j({dashPlaylists:n,locations:r.locations,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest})},ot=function(t){return function(t){var e=z(t,"UTCTiming")[0];if(!e)return null;var r=J(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw new Error(b)}return r}(it(t))}},84221:function(t,e,r){var n=r(46894).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:2147483647&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:268435455&e.getUint32(i+8)});return r}},51489:function(t){var e,r,n,i,a,o,s,u=9e4;e=function(t){return t*u},r=function(t,e){return t*e},n=function(t){return t/u},i=function(t,e){return t/e},a=function(t,r){return e(i(t,r))},o=function(t,e){return r(n(t),e)},s=function(t,e,r){return n(r?t:t-e)},t.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:s}},46894:function(t){var e=Math.pow(2,32);t.exports={getUint64:function(t){var r,n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getBigUint64?(r=n.getBigUint64(0))0;function i(t,e,r,n){t.addEventListener?t.addEventListener(e,r,n):t.attachEvent&&t.attachEvent("on".concat(e),(function(){r(window.event)}))}function a(t,e){for(var r=e.slice(0,e.length-1),n=0;n=0;)e[r-1]+=",",e.splice(r,1),r=e.lastIndexOf("");return e}for(var s={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":n?173:189,"=":n?61:187,";":n?59:186,"'":222,"[":219,"]":221,"\\":220},u={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},c={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},f={16:!1,18:!1,17:!1,91:!1},l={},h=1;h<20;h++)s["f".concat(h)]=111+h;var p=[],d=!1,m="all",g=[],y=function(t){return s[t.toLowerCase()]||u[t.toLowerCase()]||t.toUpperCase().charCodeAt(0)};function v(t){m=t||"all"}function b(){return m||"all"}var w=function(t){var e=t.key,r=t.scope,n=t.method,i=t.splitKey,s=void 0===i?"+":i;o(e).forEach((function(t){var e=t.split(s),i=e.length,o=e[i-1],c="*"===o?"*":y(o);if(l[c]){r||(r=b());var f=i>1?a(u,e):[];l[c]=l[c].filter((function(t){return!((!n||t.method===n)&&t.scope===r&&function(t,e){for(var r=t.length>=e.length?t:e,n=t.length>=e.length?e:t,i=!0,a=0;a0,f)Object.prototype.hasOwnProperty.call(f,a)&&(!f[a]&&e.mods.indexOf(+a)>-1||f[a]&&-1===e.mods.indexOf(+a))&&(i=!1);(0!==e.mods.length||f[16]||f[18]||f[17]||f[91])&&!i&&"*"!==e.shortcut||!1===e.method(t,e)&&(t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),t.cancelBubble&&(t.cancelBubble=!0))}}function T(t,e){var r=l["*"],n=t.keyCode||t.which||t.charCode;if(S.filter.call(this,t)){if(93!==n&&224!==n||(n=91),-1===p.indexOf(n)&&229!==n&&p.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(e){var r=c[e];t[e]&&-1===p.indexOf(r)?p.push(r):!t[e]&&p.indexOf(r)>-1?p.splice(p.indexOf(r),1):"metaKey"===e&&t[e]&&3===p.length&&(t.ctrlKey||t.shiftKey||t.altKey||(p=p.slice(p.indexOf(r))))})),n in f){for(var i in f[n]=!0,u)u[i]===n&&(S[i]=!0);if(!r)return}for(var a in f)Object.prototype.hasOwnProperty.call(f,a)&&(f[a]=t[c[a]]);t.getModifierState&&(!t.altKey||t.ctrlKey)&&t.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),f[17]=!0,f[18]=!0);var o=b();if(r)for(var s=0;s1&&(s=a(u,t)),(t="*"===(t=t[t.length-1])?"*":y(t))in l||(l[t]=[]),l[t].push({keyup:v,keydown:b,scope:c,mods:s,shortcut:n[m],method:r,key:n[m],splitKey:w,element:h});"undefined"!==typeof h&&!function(t){return g.indexOf(t)>-1}(h)&&window&&(g.push(h),i(h,"keydown",(function(t){T(t,h)}),E),d||(d=!0,i(window,"focus",(function(){p=[]}),E)),i(h,"keyup",(function(t){T(t,h),function(t){var e=t.keyCode||t.which||t.charCode,r=p.indexOf(e);if(r>=0&&p.splice(r,1),t.key&&"meta"===t.key.toLowerCase()&&p.splice(0,p.length),93!==e&&224!==e||(e=91),e in f)for(var n in f[e]=!1,u)u[n]===e&&(S[n]=!1)}(t)}),E))}var N={setScope:v,getScope:b,deleteScope:function(t,e){var r,n;for(var i in t||(t=b()),l)if(Object.prototype.hasOwnProperty.call(l,i))for(r=l[i],n=0;n1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(l).forEach((function(r){var n=l[r].find((function(r){return r.scope===e&&r.shortcut===t}));n&&n.method&&n.method()}))},unbind:function(t){if("undefined"===typeof t)Object.keys(l).forEach((function(t){return delete l[t]}));else if(Array.isArray(t))t.forEach((function(t){t.key&&w(t)}));else if("object"===typeof t)t.key&&w(t);else if("string"===typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function s(){this.values=i(null)}function u(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"===typeof i[a]){var o=i[a].split(r);if(2===o.length)e(o[0].trim(),o[1].trim())}}function c(t,e,r){var n=t;function i(){var e=o(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function c(){t=t.replace(/^\s+/,"")}if(c(),e.startTime=i(),c(),"--\x3e"!==t.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);t=t.substr(3),c(),e.endTime=i(),c(),function(t,e){var n=new s;u(t,(function(t,e){switch(t){case"region":for(var i=r.length-1;i>=0;i--)if(r[i].id===e){n.set(t,r[i].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var a=e.split(","),o=a[0];n.integer(t,o),n.percent(t,o)&&n.set("snapToLines",!1),n.alt(t,o,["auto"]),2===a.length&&n.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=e.split(","),n.percent(t,a[0]),2===a.length&&n.alt("positionAlign",a[1],["start","center","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","center","end","left","right"])}}),/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical","");try{e.line=n.get("line","auto")}catch(i){}e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100);try{e.align=n.get("align","center")}catch(i){e.align=n.get("align","middle")}try{e.position=n.get("position","auto")}catch(i){e.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(t,e)}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n=0&&e<=100)&&(this.set(t,e),!0)}};var f=n.createElement&&n.createElement("textarea"),l={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},h={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},p={v:"title",lang:"lang"},d={rt:"ruby"};function m(t,e){function r(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}function n(t,e){return!d[e.localName]||d[e.localName]===t.localName}function i(e,r){var n=l[e];if(!n)return null;var i=t.document.createElement(n),a=p[e];return a&&r&&(i[a]=r.trim()),i}for(var a,s,u=t.document.createElement("div"),c=u,m=[];null!==(a=r());)if("<"!==a[0])c.appendChild(t.document.createTextNode((s=a,f.innerHTML=s,s=f.textContent,f.textContent="",s)));else{if("/"===a[1]){m.length&&m[m.length-1]===a.substr(2).replace(">","")&&(m.pop(),c=c.parentNode);continue}var g,y=o(a.substr(1,a.length-2));if(y){g=t.document.createProcessingInstruction("timestamp",y),c.appendChild(g);continue}var v=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!v)continue;if(!(g=i(v[1],v[3])))continue;if(!n(c,g))continue;if(v[2]){var b=v[2].split(".");b.forEach((function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(h.hasOwnProperty(r)){var n=e?"background-color":"color",i=h[r];g.style[n]=i}})),g.className=b.join(" ")}m.push(v[1]),c.appendChild(g),c=g}return u}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function y(t){for(var e=0;e=r[0]&&t<=r[1])return!0}return!1}function v(t){var e=[],r="";if(!t||!t.childNodes)return"ltr";function n(t,e){for(var r=e.childNodes.length-1;r>=0;r--)t.push(e.childNodes[r])}function i(t){if(!t||!t.length)return null;var e=t.pop(),r=e.textContent||e.innerText;if(r){var a=r.match(/^.*(\n|\r)/);return a?(t.length=0,a[0]):r}return"ruby"===e.tagName?i(t):e.childNodes?(n(t,e),i(t)):void 0}for(n(e,t);r=i(e);)for(var a=0;a=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,r=e.textTrackList,n=0,i=0;il&&(f=f<0?-1:1,f*=Math.ceil(l/c)*c),o<0&&(f+=""===a.vertical?r.height:r.width,s=s.reverse()),i.move(h,f)}else{var p=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":o-=p/2;break;case"end":o-=p}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new E(e)}var d=function(t,e){for(var i,a=new E(t),o=1,s=0;su&&(i=new E(t),o=u),t=new E(a)}return i||a}(i,s);e.move(d.toCSSCompatValues(r))}function S(){}b.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},b.prototype.formatStyle=function(t,e){return 0===t?0:t+e},w.prototype=i(b.prototype),w.prototype.constructor=w,E.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},E.prototype.overlaps=function(t){return this.leftt.left&&this.topt.top},E.prototype.overlapsAny=function(t){for(var e=0;e=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},E.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.leftt.right;case"+y":return this.topt.bottom}},E.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},E.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},E.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},S.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!==typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},S.convertCueToDOMTree=function(t,e){return t&&e?m(t,e):null};S.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),function(t){for(var e=0;e100)throw new Error("Position must be between 0 and 100.");m=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(t){var e=n(t);e?(g=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");y=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(t){var e=n(t);if(!e)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");v=e,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=i},13710:function(t){var e={"":!0,up:!0};function r(t){return"number"===typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,n=3,i=0,a=100,o=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!==typeof t)throw new TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var r=function(t){return"string"===typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase()}(t);!1===r?console.warn("Scroll: an invalid or illegal string was specified."):u=r}}})}},10434:function(t){function e(){return t.exports=e=Object.assign?Object.assign.bind():function(t){for(var e=1;e getConfig() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),ge=function(){var e=(0,r.Z)((function(){var e,t,n,r;return(0,i.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,_.getStatus()];case 1:return e=a.sent(),W(e),se(!0),t=e.serverTime,n=new Date(t).getTime()-Date.now(),$(n),e.online?Ee(p.Online):e.online||Ee(p.Offline),te(null),[3,3];case 2:return r=a.sent(),Ee(p.Fail),de("Unable to reach Owncast server","Owncast cannot launch. Please make sure the Owncast server is running. ".concat(r)),console.error("serverStatusState -> getStatus() ERROR: \n".concat(r)),[3,3];case 3:return[2,null]}}))}));return function(){return e.apply(this,arguments)}}(),ve=function(){var e=(0,r.Z)((function(e){var t,n,r,a,o,c;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:if(t=(0,N.$o)(C))return z(t),[2];i.label=1;case 1:return i.trys.push([1,3,,4]),Ee(p.NeedsRegister),[4,E.registerUser(e)];case 2:return n=i.sent(),console.log("ChatService -> registerUser() response: \n".concat(n)),r=n.accessToken,a=n.displayName,o=n.displayColor,r?(console.log("setting access token",r),z(r),(0,N.qQ)(C,r),v(a),y(o),[3,4]):[2];case 3:return c=i.sent(),Ee(p.Fail),console.error("ChatService -> registerUser() ERROR: \n".concat(c)),[3,4];case 4:return[2]}}))}));return function(t){return e.apply(this,arguments)}}(),ye=function(e){switch(e.type){case h.C.ERROR_NEEDS_REGISTRATION:(0,N.qQ)(C,""),z(""),ve();break;case h.C.CONNECTED_USER_INFO:O(e,v,y,M,P,U),q((function(t){return(0,o.Z)(t).concat([e])}));break;case h.C.CHAT:q((function(t){return(0,o.Z)(t).concat([e])}));break;case h.C.NAME_CHANGE:R(e,X,q);break;case h.C.USER_JOINED:case h.C.SYSTEM:q((function(t){return(0,o.Z)(t).concat([e])}));break;case h.C.VISIBILITY_UPDATE:!function(e){var t=e.ids;if(e.visible){var n=ae.filter((function(e){return!t.includes(e)}));oe(n)}else{var r=(0,o.Z)(ae).concat((0,o.Z)(t));oe(r)}}(e);break;default:console.error("Unknown socket message type: ",e.type)}},pe=function(){var e=(0,r.Z)((function(){var e,t;return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,E.getChatHistory(K)];case 1:return e=n.sent(),q((function(t){return(0,o.Z)(t).concat((0,o.Z)(e))})),[3,3];case 2:return t=n.sent(),console.error("ChatService -> getChatHistory() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),Se=function(){var t=(0,r.Z)((function(){return(0,i.__generator)(this,(function(t){try{(e=new g(K,"/ws")).handleMessage=ye,ne(e)}catch(n){console.error("ChatService -> startChat() ERROR: \n".concat(n))}return[2]}))}));return function(){return t.apply(this,arguments)}}();return(0,c.useEffect)((function(){try{if(window.configHydration){var e=JSON.parse(window.configHydration);B(e)}}catch(n){}try{if(window.statusHydration){var t=JSON.parse(window.statusHydration);W(t)}}catch(r){}}),[]),(0,c.useEffect)((function(){ce&&le&&Ee(p.Loaded)}),[ce,le]),(0,c.useEffect)((function(){!j.chatDisabled&&K&&le&&Se()}),[le,K]),(0,c.useEffect)((function(){he(),ve(),ge(),clearInterval(A),A=setInterval((function(){ge()}),5e3)}),[n]),(0,c.useEffect)((function(){K&&pe()}),[K]),(0,c.useEffect)((function(){d.onTransition((function(e){if(e.changed){var t,n=(t=e.meta,Object.keys(t).reduce((function(e,n){var r=t[n];return Object.assign(e,r),e}),{}));ee(n)}}))})),null}},11622:function(e,t,n){var r;n.d(t,{C:function(){return r}}),function(e){e.CHAT="CHAT",e.PING="PING",e.NAME_CHANGE="NAME_CHANGE",e.COLOR_CHANGE="COLOR_CHANGE",e.PONG="PONG",e.SYSTEM="SYSTEM",e.USER_JOINED="USER_JOINED",e.CHAT_ACTION="CHAT_ACTION",e.FEDIVERSE_ENGAGEMENT_FOLLOW="FEDIVERSE_ENGAGEMENT_FOLLOW",e.FEDIVERSE_ENGAGEMENT_LIKE="FEDIVERSE_ENGAGEMENT_LIKE",e.FEDIVERSE_ENGAGEMENT_REPOST="FEDIVERSE_ENGAGEMENT_REPOST",e.CONNECTED_USER_INFO="CONNECTED_USER_INFO",e.ERROR_USER_DISABLED="ERROR_USER_DISABLED",e.ERROR_NEEDS_REGISTRATION="ERROR_NEEDS_REGISTRATION",e.ERROR_MAX_CONNECTIONS_EXCEEDED="ERROR_MAX_CONNECTIONS_EXCEEDED",e.VISIBILITY_UPDATE="VISIBILITY-UPDATE"}(r||(r={}))},73682:function(e,t,n){n.d(t,{$o:function(){return a},dA:function(){return r},qQ:function(){return o}});var r={username:"username",hasDisplayedNotificationModal:"HAS_DISPLAYED_NOTIFICATION_MODAL",userVisitCount:"USER_VISIT_COUNT"};function a(e){try{return localStorage.getItem(e)}catch(t){}return null}function o(e,t){try{return""!==t&&null!==t?localStorage.setItem(e,t):localStorage.removeItem(e),!0}catch(n){}return!1}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1899-3fb0be1a52d4bddf.js b/static/web/_next/static/chunks/1899-3fb0be1a52d4bddf.js new file mode 100644 index 000000000..7d4fbc3a5 --- /dev/null +++ b/static/web/_next/static/chunks/1899-3fb0be1a52d4bddf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1899],{1899:function(e,t,n){n.d(t,{me:function(){return $},FI:function(){return D},Q:function(){return F},L4:function(){return L},nk:function(){return T},w4:function(){return k},j$:function(){return Z},uy:function(){return w},ZA:function(){return U},g1:function(){return I},g8:function(){return V},ap:function(){return H},di:function(){return j},fE:function(){return m},pT:function(){return Y},hz:function(){return M},YW:function(){return B},We:function(){return P},RI:function(){return b},pH:function(){return W},Gt:function(){return G}});var r=n(47568),a=n(828),o=n(29815),i=n(70655),c=n(67294),s=n(4480),u=n(23917);var l=n(51438),f=function(){function e(){(0,l.Z)(this,e)}return e.getConfig=function(){return(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){switch(e.label){case 0:return[4,fetch("/api/config")];case 1:return[4,e.sent().json()];case 2:return[2,e.sent()]}}))}))()},e}(),d=n(58827),E=function(){function e(){(0,l.Z)(this,e)}return e.getChatHistory=function(e){return(0,r.Z)((function(){return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,d.$l)("".concat("/api/chat","?accessToken=").concat(e))];case 1:return[2,t.sent()]}}))}))()},e.registerUser=function(e){return(0,r.Z)((function(){var t;return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({displayName:e})},[4,(0,d.$l)("/api/chat/register",t)];case 1:return[2,n.sent()]}}))}))()},e}(),h=n(11622),g=function(){function e(t,n){(0,l.Z)(this,e),this.accessToken=t,this.path=n,this.createAndConnect()}var t=e.prototype;return t.createAndConnect=function(){var e=new URL("ws://localhost:8080/ws");e.searchParams.append("accessToken",this.accessToken),console.debug("connecting to ",e.toString());var t=new WebSocket(e.toString());t.onopen=this.onOpen.bind(this),t.onerror=this.onError.bind(this),t.onmessage=this.onMessage.bind(this),this.websocket=t},t.onOpen=function(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer)},t.onError=function(e){var t;console.error(e),t="Socket error: ".concat(e),console.error("Chat has been disconnected and is likely not working for you. It's possible you were removed from chat. If this is a server configuration issue, visit troubleshooting steps to resolve. https://owncast.online/docs/troubleshooting/#chat-is-disabled: ".concat(t)),this.websocket.close()},t.onMessage=function(e){for(var t,n=e.data.split("\n"),r=0;r getConfig() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),ge=function(){var e=(0,r.Z)((function(){var e,t,n,r;return(0,i.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,_.getStatus()];case 1:return e=a.sent(),W(e),se(!0),t=e.serverTime,n=new Date(t).getTime()-Date.now(),$(n),e.online?Ee(S.Online):e.online||Ee(S.Offline),te(null),[3,3];case 2:return r=a.sent(),Ee(S.Fail),de("Unable to reach Owncast server","Owncast cannot launch. Please make sure the Owncast server is running. ".concat(r)),console.error("serverStatusState -> getStatus() ERROR: \n".concat(r)),[3,3];case 3:return[2,null]}}))}));return function(){return e.apply(this,arguments)}}(),ve=function(){var e=(0,r.Z)((function(e){var t,n,r,a,o,c;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:if(t=(0,N.$o)(C))return z(t),[2];i.label=1;case 1:return i.trys.push([1,3,,4]),Ee(S.NeedsRegister),[4,E.registerUser(e)];case 2:return n=i.sent(),console.log("ChatService -> registerUser() response: \n".concat(n)),r=n.accessToken,a=n.displayName,o=n.displayColor,r?(console.log("setting access token",r),z(r),(0,N.qQ)(C,r),v(a),y(o),[3,4]):[2];case 3:return c=i.sent(),Ee(S.Fail),console.error("ChatService -> registerUser() ERROR: \n".concat(c)),[3,4];case 4:return[2]}}))}));return function(t){return e.apply(this,arguments)}}(),ye=function(e){switch(e.type){case h.C.ERROR_NEEDS_REGISTRATION:(0,N.qQ)(C,""),z(""),ve();break;case h.C.CONNECTED_USER_INFO:O(e,v,y,M,P,U),q((function(t){return(0,o.Z)(t).concat([e])}));break;case h.C.CHAT:q((function(t){return(0,o.Z)(t).concat([e])}));break;case h.C.NAME_CHANGE:R(e,X,q);break;case h.C.USER_JOINED:case h.C.SYSTEM:q((function(t){return(0,o.Z)(t).concat([e])}));break;case h.C.VISIBILITY_UPDATE:!function(e){var t=e.ids;if(e.visible){var n=ae.filter((function(e){return!t.includes(e)}));oe(n)}else{var r=(0,o.Z)(ae).concat((0,o.Z)(t));oe(r)}}(e);break;default:console.error("Unknown socket message type: ",e.type)}},Se=function(){var e=(0,r.Z)((function(){var e,t;return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,E.getChatHistory(K)];case 1:return e=n.sent(),q((function(t){return(0,o.Z)(t).concat((0,o.Z)(e))})),[3,3];case 2:return t=n.sent(),console.error("ChatService -> getChatHistory() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),pe=function(){var t=(0,r.Z)((function(){return(0,i.__generator)(this,(function(t){try{(e=new g(K,"/ws")).handleMessage=ye,ne(e)}catch(n){console.error("ChatService -> startChat() ERROR: \n".concat(n))}return[2]}))}));return function(){return t.apply(this,arguments)}}();return(0,c.useEffect)((function(){try{if(window.configHydration){var e=JSON.parse(window.configHydration);B(e)}}catch(n){}try{if(window.statusHydration){var t=JSON.parse(window.statusHydration);W(t)}}catch(r){}}),[]),(0,c.useEffect)((function(){ce&&le&&Ee(S.Loaded)}),[ce,le]),(0,c.useEffect)((function(){!j.chatDisabled&&K&&le&&pe()}),[le,K]),(0,c.useEffect)((function(){he(),ve(),ge(),clearInterval(A),A=setInterval((function(){ge()}),5e3)}),[n]),(0,c.useEffect)((function(){K&&Se()}),[K]),(0,c.useEffect)((function(){d.onTransition((function(e){if(e.changed){var t,n=(t=e.meta,Object.keys(t).reduce((function(e,n){var r=t[n];return Object.assign(e,r),e}),{}));ee(n)}}))})),null}},11622:function(e,t,n){var r;n.d(t,{C:function(){return r}}),function(e){e.CHAT="CHAT",e.PING="PING",e.NAME_CHANGE="NAME_CHANGE",e.COLOR_CHANGE="COLOR_CHANGE",e.PONG="PONG",e.SYSTEM="SYSTEM",e.USER_JOINED="USER_JOINED",e.CHAT_ACTION="CHAT_ACTION",e.FEDIVERSE_ENGAGEMENT_FOLLOW="FEDIVERSE_ENGAGEMENT_FOLLOW",e.FEDIVERSE_ENGAGEMENT_LIKE="FEDIVERSE_ENGAGEMENT_LIKE",e.FEDIVERSE_ENGAGEMENT_REPOST="FEDIVERSE_ENGAGEMENT_REPOST",e.CONNECTED_USER_INFO="CONNECTED_USER_INFO",e.ERROR_USER_DISABLED="ERROR_USER_DISABLED",e.ERROR_NEEDS_REGISTRATION="ERROR_NEEDS_REGISTRATION",e.ERROR_MAX_CONNECTIONS_EXCEEDED="ERROR_MAX_CONNECTIONS_EXCEEDED",e.VISIBILITY_UPDATE="VISIBILITY-UPDATE"}(r||(r={}))},73682:function(e,t,n){n.d(t,{$o:function(){return a},dA:function(){return r},qQ:function(){return o}});var r={username:"username",hasDisplayedNotificationModal:"HAS_DISPLAYED_NOTIFICATION_MODAL",userVisitCount:"USER_VISIT_COUNT"};function a(e){try{return localStorage.getItem(e)}catch(t){}return null}function o(e,t){try{return""!==t&&null!==t?localStorage.setItem(e,t):localStorage.removeItem(e),!0}catch(n){}return!1}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2429-35846a119e7209fe.js b/static/web/_next/static/chunks/2429-35846a119e7209fe.js deleted file mode 100644 index 8f047678e..000000000 --- a/static/web/_next/static/chunks/2429-35846a119e7209fe.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2429],{20550:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var a=r(4942),o=r(87462),i=r(97685),s=r(97937),n=r(94184),u=r.n(n),c=r(98423),l=r(67294),_=r(53124),p=r(98787),h=r(68349),d=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);oo&&a.push(e.substring(o,r.index));var s=t.props.hrefDecorator(r.url),n=t.props.textDecorator(r.text),u=t.props.componentDecorator(s,n,i);a.push(u),o=r.lastIndex})),e.length>o&&a.push(e.substring(o)),1===a.length?a[0]:a}},{key:"parse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"===typeof e?this.parseString(e):o.isValidElement(e)&&"a"!==e.type&&"button"!==e.type?o.cloneElement(e,{key:r},this.parse(e.props.children)):Array.isArray(e)?e.map((function(e,r){return t.parse(e,r)})):e}},{key:"render",value:function(){return o.createElement(o.Fragment,null,this.parse(this.props.children))}}]),t}(o.Component);p.defaultProps={componentDecorator:i.default,hrefDecorator:s.default,matchDecorator:n.default,textDecorator:u.default},t.default=p},29872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(67294));t.default=function(e,t,r){return a.createElement("a",{href:e,key:r},t)}},77599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},86704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(r(12166)),o=i(r(10248));function i(e){return e&&e.__esModule?e:{default:e}}var s=new a.default;s.tlds(o.default),t.default=function(e){return s.match(e)}},1627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53731:function(e,t,r){"use strict";var a,o=r(36887),i=(a=o)&&a.__esModule?a:{default:a};t.Z=i.default},12166:function(e,t,r){"use strict";function a(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var n={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,r){var a=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a)?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a)?a.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=r(73216)(e.__opts__),a=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.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]"),a.push(t.src_xn),t.src_tlds=a.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var u=[];function c(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 a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===o(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?a.validate=r.validate:c(t,r):a.validate=function(e){return function(t,r){var a=t.slice(r);return e.test(a)?a.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?a.normalize=r.normalize:r.normalize?c(t,r):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?c(t,r):u.push(t)}})),u.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 l=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+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),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 _(e,t){var r=e.__index__,a=e.__last_index__,o=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=o,this.text=o,this.url=o}function p(e,t){var r=new _(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||n.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=a({},n,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},h.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,a,o,i,s,n,u;if(this.re.schema_test.test(e))for((n=this.re.schema_search).lastIndex=0;null!==(t=n.exec(e));)if(o=this.testSchemaAt(e,t[2],n.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(a=e.match(this.re.email_fuzzy))&&(i=a.index+a[1].length,s=a.index+a[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(p(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(p(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r: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(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(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},73216:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");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+")(?!-|_|:\\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,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\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}},99413:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},73189:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},29369:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},10248:function(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","\u03b5\u03bb","\u03b5\u03c5","\u0431\u0433","\u0431\u0435\u043b","\u0434\u0435\u0442\u0438","\u0435\u044e","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043a\u043e\u043c","\u043c\u043a\u0434","\u043c\u043e\u043d","\u043c\u043e\u0441\u043a\u0432\u0430","\u043e\u043d\u043b\u0430\u0439\u043d","\u043e\u0440\u0433","\u0440\u0443\u0441","\u0440\u0444","\u0441\u0430\u0439\u0442","\u0441\u0440\u0431","\u0443\u043a\u0440","\u049b\u0430\u0437","\u0570\u0561\u0575","\u05d9\u05e9\u05e8\u05d0\u05dc","\u05e7\u05d5\u05dd","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u0644\u0627\u0631\u062f\u0646","\u0627\u0644\u0628\u062d\u0631\u064a\u0646","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0645\u0627\u0631\u0627\u062a","\u0627\u06cc\u0631\u0627\u0646","\u0628\u0627\u0631\u062a","\u0628\u0627\u0632\u0627\u0631","\u0628\u064a\u062a\u0643","\u0628\u06be\u0627\u0631\u062a","\u062a\u0648\u0646\u0633","\u0633\u0648\u062f\u0627\u0646","\u0633\u0648\u0631\u064a\u0629","\u0634\u0628\u0643\u0629","\u0639\u0631\u0627\u0642","\u0639\u0631\u0628","\u0639\u0645\u0627\u0646","\u0641\u0644\u0633\u0637\u064a\u0646","\u0642\u0637\u0631","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0643\u0648\u0645","\u0645\u0635\u0631","\u0645\u0644\u064a\u0633\u064a\u0627","\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627","\u0645\u0648\u0642\u0639","\u0647\u0645\u0631\u0627\u0647","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0680\u0627\u0631\u062a","\u0915\u0949\u092e","\u0928\u0947\u091f","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u094b\u0924","\u0938\u0902\u0917\u0920\u0928","\u09ac\u09be\u0982\u09b2\u09be","\u09ad\u09be\u09b0\u09a4","\u09ad\u09be\u09f0\u09a4","\u0a2d\u0a3e\u0a30\u0a24","\u0aad\u0abe\u0ab0\u0aa4","\u0b2d\u0b3e\u0b30\u0b24","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0cad\u0cbe\u0cb0\u0ca4","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0dbd\u0d82\u0d9a\u0dcf","\u0e04\u0e2d\u0e21","\u0e44\u0e17\u0e22","\u0ea5\u0eb2\u0ea7","\u10d2\u10d4","\u307f\u3093\u306a","\u30a2\u30de\u30be\u30f3","\u30af\u30e9\u30a6\u30c9","\u30b0\u30fc\u30b0\u30eb","\u30b3\u30e0","\u30b9\u30c8\u30a2","\u30bb\u30fc\u30eb","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u30dd\u30a4\u30f3\u30c8","\u4e16\u754c","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u4e2d\u6587\u7f51","\u4e9a\u9a6c\u900a","\u4f01\u4e1a","\u4f5b\u5c71","\u4fe1\u606f","\u5065\u5eb7","\u516b\u5366","\u516c\u53f8","\u516c\u76ca","\u53f0\u6e7e","\u53f0\u7063","\u5546\u57ce","\u5546\u5e97","\u5546\u6807","\u5609\u91cc","\u5609\u91cc\u5927\u9152\u5e97","\u5728\u7ebf","\u5927\u62ff","\u5929\u4e3b\u6559","\u5a31\u4e50","\u5bb6\u96fb","\u5e7f\u4e1c","\u5fae\u535a","\u6148\u5584","\u6211\u7231\u4f60","\u624b\u673a","\u62db\u8058","\u653f\u52a1","\u653f\u5e9c","\u65b0\u52a0\u5761","\u65b0\u95fb","\u65f6\u5c1a","\u66f8\u7c4d","\u673a\u6784","\u6de1\u9a6c\u9521","\u6e38\u620f","\u6fb3\u9580","\u70b9\u770b","\u79fb\u52a8","\u7ec4\u7ec7\u673a\u6784","\u7f51\u5740","\u7f51\u5e97","\u7f51\u7ad9","\u7f51\u7edc","\u8054\u901a","\u8bfa\u57fa\u4e9a","\u8c37\u6b4c","\u8d2d\u7269","\u901a\u8ca9","\u96c6\u56e2","\u96fb\u8a0a\u76c8\u79d1","\u98de\u5229\u6d66","\u98df\u54c1","\u9910\u5385","\u9999\u683c\u91cc\u62c9","\u9999\u6e2f","\ub2f7\ub137","\ub2f7\ucef4","\uc0bc\uc131","\ud55c\uad6d"]')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2865-5b660f2a14e4f34f.js b/static/web/_next/static/chunks/2865-5b660f2a14e4f34f.js deleted file mode 100644 index 4ad1d126f..000000000 --- a/static/web/_next/static/chunks/2865-5b660f2a14e4f34f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2865],{36531:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="EditFilled";var c=n.forwardRef(s)},29158:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="LinkOutlined";var c=n.forwardRef(s)},27496:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SendOutlined";var c=n.forwardRef(s)},64942:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z"}}]},name:"small-dash",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SmallDashOutlined";var c=n.forwardRef(s)},93045:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SmileOutlined";var c=n.forwardRef(s)},66017:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="VerticalAlignBottomOutlined";var c=n.forwardRef(s)},6907:function(e){"use strict";e.exports=function(e){if(e=String(e||""),o.test(e))return"rtl";if(n.test(e))return"ltr";return"neutral"};var t="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",r="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",o=new RegExp("^[^"+r+"]*["+t+"]"),n=new RegExp("^[^"+t+"]*["+r+"]")},86492:function(e,t,r){var o;e=r.nmd(e),function(n){var i=t,a=(e&&e.exports,"object"==typeof r.g&&r.g);a.global!==a&&a.window;var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,u=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,d={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon","\u02c6":"circ","\u02c7":"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr","\u2118":"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78","\ud835\udcb6":"ascr","\ud835\udd52":"aopf","\ud835\udd1e":"afr","\ud835\udd38":"Aopf","\ud835\udd04":"Afr","\ud835\udc9c":"Ascr","\xaa":"ordf","\xe1":"aacute","\xc1":"Aacute","\xe0":"agrave","\xc0":"Agrave","\u0103":"abreve","\u0102":"Abreve","\xe2":"acirc","\xc2":"Acirc","\xe5":"aring","\xc5":"angst","\xe4":"auml","\xc4":"Auml","\xe3":"atilde","\xc3":"Atilde","\u0105":"aogon","\u0104":"Aogon","\u0101":"amacr","\u0100":"Amacr","\xe6":"aelig","\xc6":"AElig","\ud835\udcb7":"bscr","\ud835\udd53":"bopf","\ud835\udd1f":"bfr","\ud835\udd39":"Bopf","\u212c":"Bscr","\ud835\udd05":"Bfr","\ud835\udd20":"cfr","\ud835\udcb8":"cscr","\ud835\udd54":"copf","\u212d":"Cfr","\ud835\udc9e":"Cscr","\u2102":"Copf","\u0107":"cacute","\u0106":"Cacute","\u0109":"ccirc","\u0108":"Ccirc","\u010d":"ccaron","\u010c":"Ccaron","\u010b":"cdot","\u010a":"Cdot","\xe7":"ccedil","\xc7":"Ccedil","\u2105":"incare","\ud835\udd21":"dfr","\u2146":"dd","\ud835\udd55":"dopf","\ud835\udcb9":"dscr","\ud835\udc9f":"Dscr","\ud835\udd07":"Dfr","\u2145":"DD","\ud835\udd3b":"Dopf","\u010f":"dcaron","\u010e":"Dcaron","\u0111":"dstrok","\u0110":"Dstrok","\xf0":"eth","\xd0":"ETH","\u2147":"ee","\u212f":"escr","\ud835\udd22":"efr","\ud835\udd56":"eopf","\u2130":"Escr","\ud835\udd08":"Efr","\ud835\udd3c":"Eopf","\xe9":"eacute","\xc9":"Eacute","\xe8":"egrave","\xc8":"Egrave","\xea":"ecirc","\xca":"Ecirc","\u011b":"ecaron","\u011a":"Ecaron","\xeb":"euml","\xcb":"Euml","\u0117":"edot","\u0116":"Edot","\u0119":"eogon","\u0118":"Eogon","\u0113":"emacr","\u0112":"Emacr","\ud835\udd23":"ffr","\ud835\udd57":"fopf","\ud835\udcbb":"fscr","\ud835\udd09":"Ffr","\ud835\udd3d":"Fopf","\u2131":"Fscr","\ufb00":"fflig","\ufb03":"ffilig","\ufb04":"ffllig","\ufb01":"filig",fj:"fjlig","\ufb02":"fllig","\u0192":"fnof","\u210a":"gscr","\ud835\udd58":"gopf","\ud835\udd24":"gfr","\ud835\udca2":"Gscr","\ud835\udd3e":"Gopf","\ud835\udd0a":"Gfr","\u01f5":"gacute","\u011f":"gbreve","\u011e":"Gbreve","\u011d":"gcirc","\u011c":"Gcirc","\u0121":"gdot","\u0120":"Gdot","\u0122":"Gcedil","\ud835\udd25":"hfr","\u210e":"planckh","\ud835\udcbd":"hscr","\ud835\udd59":"hopf","\u210b":"Hscr","\u210c":"Hfr","\u210d":"Hopf","\u0125":"hcirc","\u0124":"Hcirc","\u210f":"hbar","\u0127":"hstrok","\u0126":"Hstrok","\ud835\udd5a":"iopf","\ud835\udd26":"ifr","\ud835\udcbe":"iscr","\u2148":"ii","\ud835\udd40":"Iopf","\u2110":"Iscr","\u2111":"Im","\xed":"iacute","\xcd":"Iacute","\xec":"igrave","\xcc":"Igrave","\xee":"icirc","\xce":"Icirc","\xef":"iuml","\xcf":"Iuml","\u0129":"itilde","\u0128":"Itilde","\u0130":"Idot","\u012f":"iogon","\u012e":"Iogon","\u012b":"imacr","\u012a":"Imacr","\u0133":"ijlig","\u0132":"IJlig","\u0131":"imath","\ud835\udcbf":"jscr","\ud835\udd5b":"jopf","\ud835\udd27":"jfr","\ud835\udca5":"Jscr","\ud835\udd0d":"Jfr","\ud835\udd41":"Jopf","\u0135":"jcirc","\u0134":"Jcirc","\u0237":"jmath","\ud835\udd5c":"kopf","\ud835\udcc0":"kscr","\ud835\udd28":"kfr","\ud835\udca6":"Kscr","\ud835\udd42":"Kopf","\ud835\udd0e":"Kfr","\u0137":"kcedil","\u0136":"Kcedil","\ud835\udd29":"lfr","\ud835\udcc1":"lscr","\u2113":"ell","\ud835\udd5d":"lopf","\u2112":"Lscr","\ud835\udd0f":"Lfr","\ud835\udd43":"Lopf","\u013a":"lacute","\u0139":"Lacute","\u013e":"lcaron","\u013d":"Lcaron","\u013c":"lcedil","\u013b":"Lcedil","\u0142":"lstrok","\u0141":"Lstrok","\u0140":"lmidot","\u013f":"Lmidot","\ud835\udd2a":"mfr","\ud835\udd5e":"mopf","\ud835\udcc2":"mscr","\ud835\udd10":"Mfr","\ud835\udd44":"Mopf","\u2133":"Mscr","\ud835\udd2b":"nfr","\ud835\udd5f":"nopf","\ud835\udcc3":"nscr","\u2115":"Nopf","\ud835\udca9":"Nscr","\ud835\udd11":"Nfr","\u0144":"nacute","\u0143":"Nacute","\u0148":"ncaron","\u0147":"Ncaron","\xf1":"ntilde","\xd1":"Ntilde","\u0146":"ncedil","\u0145":"Ncedil","\u2116":"numero","\u014b":"eng","\u014a":"ENG","\ud835\udd60":"oopf","\ud835\udd2c":"ofr","\u2134":"oscr","\ud835\udcaa":"Oscr","\ud835\udd12":"Ofr","\ud835\udd46":"Oopf","\xba":"ordm","\xf3":"oacute","\xd3":"Oacute","\xf2":"ograve","\xd2":"Ograve","\xf4":"ocirc","\xd4":"Ocirc","\xf6":"ouml","\xd6":"Ouml","\u0151":"odblac","\u0150":"Odblac","\xf5":"otilde","\xd5":"Otilde","\xf8":"oslash","\xd8":"Oslash","\u014d":"omacr","\u014c":"Omacr","\u0153":"oelig","\u0152":"OElig","\ud835\udd2d":"pfr","\ud835\udcc5":"pscr","\ud835\udd61":"popf","\u2119":"Popf","\ud835\udd13":"Pfr","\ud835\udcab":"Pscr","\ud835\udd62":"qopf","\ud835\udd2e":"qfr","\ud835\udcc6":"qscr","\ud835\udcac":"Qscr","\ud835\udd14":"Qfr","\u211a":"Qopf","\u0138":"kgreen","\ud835\udd2f":"rfr","\ud835\udd63":"ropf","\ud835\udcc7":"rscr","\u211b":"Rscr","\u211c":"Re","\u211d":"Ropf","\u0155":"racute","\u0154":"Racute","\u0159":"rcaron","\u0158":"Rcaron","\u0157":"rcedil","\u0156":"Rcedil","\ud835\udd64":"sopf","\ud835\udcc8":"sscr","\ud835\udd30":"sfr","\ud835\udd4a":"Sopf","\ud835\udd16":"Sfr","\ud835\udcae":"Sscr","\u24c8":"oS","\u015b":"sacute","\u015a":"Sacute","\u015d":"scirc","\u015c":"Scirc","\u0161":"scaron","\u0160":"Scaron","\u015f":"scedil","\u015e":"Scedil","\xdf":"szlig","\ud835\udd31":"tfr","\ud835\udcc9":"tscr","\ud835\udd65":"topf","\ud835\udcaf":"Tscr","\ud835\udd17":"Tfr","\ud835\udd4b":"Topf","\u0165":"tcaron","\u0164":"Tcaron","\u0163":"tcedil","\u0162":"Tcedil","\u2122":"trade","\u0167":"tstrok","\u0166":"Tstrok","\ud835\udcca":"uscr","\ud835\udd66":"uopf","\ud835\udd32":"ufr","\ud835\udd4c":"Uopf","\ud835\udd18":"Ufr","\ud835\udcb0":"Uscr","\xfa":"uacute","\xda":"Uacute","\xf9":"ugrave","\xd9":"Ugrave","\u016d":"ubreve","\u016c":"Ubreve","\xfb":"ucirc","\xdb":"Ucirc","\u016f":"uring","\u016e":"Uring","\xfc":"uuml","\xdc":"Uuml","\u0171":"udblac","\u0170":"Udblac","\u0169":"utilde","\u0168":"Utilde","\u0173":"uogon","\u0172":"Uogon","\u016b":"umacr","\u016a":"Umacr","\ud835\udd33":"vfr","\ud835\udd67":"vopf","\ud835\udccb":"vscr","\ud835\udd19":"Vfr","\ud835\udd4d":"Vopf","\ud835\udcb1":"Vscr","\ud835\udd68":"wopf","\ud835\udccc":"wscr","\ud835\udd34":"wfr","\ud835\udcb2":"Wscr","\ud835\udd4e":"Wopf","\ud835\udd1a":"Wfr","\u0175":"wcirc","\u0174":"Wcirc","\ud835\udd35":"xfr","\ud835\udccd":"xscr","\ud835\udd69":"xopf","\ud835\udd4f":"Xopf","\ud835\udd1b":"Xfr","\ud835\udcb3":"Xscr","\ud835\udd36":"yfr","\ud835\udcce":"yscr","\ud835\udd6a":"yopf","\ud835\udcb4":"Yscr","\ud835\udd1c":"Yfr","\ud835\udd50":"Yopf","\xfd":"yacute","\xdd":"Yacute","\u0177":"ycirc","\u0176":"Ycirc","\xff":"yuml","\u0178":"Yuml","\ud835\udccf":"zscr","\ud835\udd37":"zfr","\ud835\udd6b":"zopf","\u2128":"Zfr","\u2124":"Zopf","\ud835\udcb5":"Zscr","\u017a":"zacute","\u0179":"Zacute","\u017e":"zcaron","\u017d":"Zcaron","\u017c":"zdot","\u017b":"Zdot","\u01b5":"imped","\xfe":"thorn","\xde":"THORN","\u0149":"napos","\u03b1":"alpha","\u0391":"Alpha","\u03b2":"beta","\u0392":"Beta","\u03b3":"gamma","\u0393":"Gamma","\u03b4":"delta","\u0394":"Delta","\u03b5":"epsi","\u03f5":"epsiv","\u0395":"Epsilon","\u03dd":"gammad","\u03dc":"Gammad","\u03b6":"zeta","\u0396":"Zeta","\u03b7":"eta","\u0397":"Eta","\u03b8":"theta","\u03d1":"thetav","\u0398":"Theta","\u03b9":"iota","\u0399":"Iota","\u03ba":"kappa","\u03f0":"kappav","\u039a":"Kappa","\u03bb":"lambda","\u039b":"Lambda","\u03bc":"mu","\xb5":"micro","\u039c":"Mu","\u03bd":"nu","\u039d":"Nu","\u03be":"xi","\u039e":"Xi","\u03bf":"omicron","\u039f":"Omicron","\u03c0":"pi","\u03d6":"piv","\u03a0":"Pi","\u03c1":"rho","\u03f1":"rhov","\u03a1":"Rho","\u03c3":"sigma","\u03a3":"Sigma","\u03c2":"sigmaf","\u03c4":"tau","\u03a4":"Tau","\u03c5":"upsi","\u03a5":"Upsilon","\u03d2":"Upsi","\u03c6":"phi","\u03d5":"phiv","\u03a6":"Phi","\u03c7":"chi","\u03a7":"Chi","\u03c8":"psi","\u03a8":"Psi","\u03c9":"omega","\u03a9":"ohm","\u0430":"acy","\u0410":"Acy","\u0431":"bcy","\u0411":"Bcy","\u0432":"vcy","\u0412":"Vcy","\u0433":"gcy","\u0413":"Gcy","\u0453":"gjcy","\u0403":"GJcy","\u0434":"dcy","\u0414":"Dcy","\u0452":"djcy","\u0402":"DJcy","\u0435":"iecy","\u0415":"IEcy","\u0451":"iocy","\u0401":"IOcy","\u0454":"jukcy","\u0404":"Jukcy","\u0436":"zhcy","\u0416":"ZHcy","\u0437":"zcy","\u0417":"Zcy","\u0455":"dscy","\u0405":"DScy","\u0438":"icy","\u0418":"Icy","\u0456":"iukcy","\u0406":"Iukcy","\u0457":"yicy","\u0407":"YIcy","\u0439":"jcy","\u0419":"Jcy","\u0458":"jsercy","\u0408":"Jsercy","\u043a":"kcy","\u041a":"Kcy","\u045c":"kjcy","\u040c":"KJcy","\u043b":"lcy","\u041b":"Lcy","\u0459":"ljcy","\u0409":"LJcy","\u043c":"mcy","\u041c":"Mcy","\u043d":"ncy","\u041d":"Ncy","\u045a":"njcy","\u040a":"NJcy","\u043e":"ocy","\u041e":"Ocy","\u043f":"pcy","\u041f":"Pcy","\u0440":"rcy","\u0420":"Rcy","\u0441":"scy","\u0421":"Scy","\u0442":"tcy","\u0422":"Tcy","\u045b":"tshcy","\u040b":"TSHcy","\u0443":"ucy","\u0423":"Ucy","\u045e":"ubrcy","\u040e":"Ubrcy","\u0444":"fcy","\u0424":"Fcy","\u0445":"khcy","\u0425":"KHcy","\u0446":"tscy","\u0426":"TScy","\u0447":"chcy","\u0427":"CHcy","\u045f":"dzcy","\u040f":"DZcy","\u0448":"shcy","\u0428":"SHcy","\u0449":"shchcy","\u0429":"SHCHcy","\u044a":"hardcy","\u042a":"HARDcy","\u044b":"ycy","\u042b":"Ycy","\u044c":"softcy","\u042c":"SOFTcy","\u044d":"ecy","\u042d":"Ecy","\u044e":"yucy","\u042e":"YUcy","\u044f":"yacy","\u042f":"YAcy","\u2135":"aleph","\u2136":"beth","\u2137":"gimel","\u2138":"daleth"},h=/["&'<>`]/g,p={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\ud835\udd1e",Afr:"\ud835\udd04",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\ud835\udd52",Aopf:"\ud835\udd38",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\ud835\udcb6",Ascr:"\ud835\udc9c",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",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:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",Bfr:"\ud835\udd05",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:"\u2310",bNot:"\u2aed",bopf:"\ud835\udd53",Bopf:"\ud835\udd39",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:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",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",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",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",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",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\udcb8",Cscr:"\ud835\udc9e",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",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:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",Dfr:"\ud835\udd07",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:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",Dopf:"\ud835\udd3b",dot:"\u02d9",Dot:"\xa8",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",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",Dscr:"\ud835\udc9f",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",Efr:"\ud835\udd08",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\ud835\udd56",Eopf:"\ud835\udd3c",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",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:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",Ffr:"\ud835\udd09",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",Fopf:"\ud835\udd3d",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:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",Gfr:"\ud835\udd0a",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",Gopf:"\ud835\udd3e",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\ud835\udca2",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",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:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",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:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\ud835\udd5a",Iopf:"\ud835\udd40",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\ud835\udd27",Jfr:"\ud835\udd0d",jmath:"\u0237",jopf:"\ud835\udd5b",Jopf:"\ud835\udd41",jscr:"\ud835\udcbf",Jscr:"\ud835\udca5",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\ud835\udd28",Kfr:"\ud835\udd0e",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\ud835\udd5c",Kopf:"\ud835\udd42",kscr:"\ud835\udcc0",Kscr:"\ud835\udca6",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",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\udd29",Lfr:"\ud835\udd0f",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",Lopf:"\ud835\udd43",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:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",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:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\ud835\udd2a",Mfr:"\ud835\udd10",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",Mopf:"\ud835\udd44",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",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\udd2b",Nfr:"\ud835\udd11",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",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:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",not:"\xac",Not:"\u2aec",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",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",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",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",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",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",Nscr:"\ud835\udca9",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",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:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\ud835\udd2c",Ofr:"\ud835\udd12",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",Oopf:"\ud835\udd46",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\ud835\udcaa",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",Pfr:"\ud835\udd13",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",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",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",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",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",Pscr:"\ud835\udcab",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\ud835\udd2e",Qfr:"\ud835\udd14",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",qscr:"\ud835\udcc6",Qscr:"\ud835\udcac",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",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:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",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:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\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:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",Sfr:"\ud835\udd16",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",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:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",Sopf:"\ud835\udd4a",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",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",Sscr:"\ud835\udcae",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",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",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",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:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",Tfr:"\ud835\udd17",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",Topf:"\ud835\udd4b",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\udcc9",Tscr:"\ud835\udcaf",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",Ufr:"\ud835\udd18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\ud835\udd66",Uopf:"\ud835\udd4c",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\ud835\udcca",Uscr:"\ud835\udcb0",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",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:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\ud835\udd33",Vfr:"\ud835\udd19",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",Vopf:"\ud835\udd4d",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",Vscr:"\ud835\udcb1",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",Wfr:"\ud835\udd1a",wopf:"\ud835\udd68",Wopf:"\ud835\udd4e",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",Wscr:"\ud835\udcb2",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",Xfr:"\ud835\udd1b",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",Xopf:"\ud835\udd4f",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\ud835\udccd",Xscr:"\ud835\udcb3",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\ud835\udd36",Yfr:"\ud835\udd1c",yicy:"\u0457",YIcy:"\u0407",yopf:"\ud835\udd6a",Yopf:"\ud835\udd50",yscr:"\ud835\udcce",Yscr:"\ud835\udcb4",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\ud835\udd37",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",zscr:"\ud835\udccf",Zscr:"\ud835\udcb5",zwj:"\u200d",zwnj:"\u200c"},b={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},y={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],C=String.fromCharCode,x={}.hasOwnProperty,E=function(e,t){return x.call(e,t)},k=function(e,t){if(!e)return t;var r,o={};for(r in t)o[r]=E(e,r)?e[r]:t[r];return o},S=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&D("character reference outside the permissible Unicode range"),"\ufffd"):E(y,e)?(t&&D("disallowed character reference"),y[e]):(t&&function(e,t){for(var r=-1,o=e.length;++r65535&&(r+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=C(e))},A=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},j=function(e){return"&#"+e+";"},D=function(e){throw Error("Parse error: "+e)},T=function(e,t){(t=k(t,T.options)).strict&&g.test(e)&&D("forbidden code point");var r=t.encodeEverything,o=t.useNamedReferences,n=t.allowUnsafeSymbols,i=t.decimal?j:A,a=function(e){return i(e.charCodeAt(0))};return r?(e=e.replace(c,(function(e){return o&&E(d,e)?"&"+d[e]+";":a(e)})),o&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(e=e.replace(u,(function(e){return"&"+d[e]+";"})))):o?(n||(e=e.replace(h,(function(e){return"&"+d[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(u,(function(e){return"&"+d[e]+";"}))):n||(e=e.replace(h,a)),e.replace(s,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return i(1024*(t-55296)+r-56320+65536)})).replace(l,a)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var q=function(e,t){var r=(t=k(t,q.options)).strict;return r&&m.test(e)&&D("malformed character reference"),e.replace(f,(function(e,o,n,i,a,s,c,l,u){var d,h,p,m,g,f;return o?v[g=o]:n?(g=n,(f=i)&&t.isAttributeValue?(r&&"="==f&&D("`&` did not start a character reference"),e):(r&&D("named character reference was not terminated by a semicolon"),b[g]+(f||""))):a?(p=a,h=s,r&&!h&&D("character reference was not terminated by a semicolon"),d=parseInt(p,10),S(d,r)):c?(m=c,h=l,r&&!h&&D("character reference was not terminated by a semicolon"),d=parseInt(m,16),S(d,r)):(r&&D("named character reference was not terminated by a semicolon"),e)}))};q.options={isAttributeValue:!1,strict:!1};var L={version:"1.2.0",encode:T,decode:q,escape:function(e){return e.replace(h,(function(e){return p[e]}))},unescape:q};void 0===(o=function(){return L}.call(t,r,t,e))||(e.exports=o)}()},18156:function(e,t){"use strict";for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},n={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function s(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var o=e.map((function(e){return c(e,t)})),n=function(e){return o.some((function(t){return l(t,e)}))};return null==r?n:n(r)}function c(e,t){var r=t&&t.byKey,n={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in o)n[o[s]]=!1;var c=!0,l=!1,h=void 0;try{for(var p,m=i[Symbol.iterator]();!(c=(p=m.next()).done);c=!0){var g=p.value,f=g.endsWith("?")&&g.length>1;f&&(g=g.slice(0,-1));var v=d(g),b=o[v];1!==a&&b||(r?n.key=v:n.which=u(g)),b&&(n[b]=!f||null)}}catch(y){l=!0,h=y}finally{try{!c&&m.return&&m.return()}finally{if(l)throw h}}return n}function l(e,t){for(var r in e){var o=e[r],n=void 0;if(null!=o&&((null!=(n="key"===r&&null!=t.key?t.key.toLowerCase():"which"===r?91===o&&93===t.which?91:t.which:t[r])||!1!==o)&&n!==o))return!1}return!0}function u(e){return e=d(e),i[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=n[e]||e}t.TB=function(e,t){return s(e,{byKey:!0},t)}},23493:function(e,t,r){var o=r(23279),n=r(13218);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return n(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),o(e,t,{leading:i,maxWait:t,trailing:a})}},37501:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepMap=t.removeDiacritics=t.getSearch=t.getMatchBoundaries=void 0;const o=r(67294);t.getMatchBoundaries=function(e,t){const r=t.exec(e);if(r)return{first:r.index,last:r.index+r[0].length}},t.getSearch=function(e){const{search:r,ignoreDiacritics:o,diacriticsBlacklist:i,caseSensitive:a}=e;if(r instanceof RegExp)return r;let s=n(r);return o&&(s=(0,t.removeDiacritics)(s,i)),new RegExp(s,a?"":"i")};t.removeDiacritics=(e,t)=>{if(!String.prototype.normalize)return e;if(t){const r=t.split("");return e.normalize("NFD").replace(/.[\u0300-\u036f]+/g,(function(e){return r.indexOf(e.normalize())>-1?e.normalize():e[0]}))}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")};const n=e=>e?e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"):"";t.deepMap=(e,r)=>o.Children.toArray(e).map(((e,n,i)=>{return(0,o.isValidElement)(e)&&(a=e,(0,o.isValidElement)(a)&&Boolean(a.props.children))?r((0,o.cloneElement)(e,Object.assign(Object.assign({},e.props),{children:(0,t.deepMap)(e.props.children,r)}))):r(e,n,i);var a})),t.default=t.deepMap},98456:function(e,t,r){"use strict";var o=this&&this.__rest||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(0,n.jsx)("span",{children:e},`${e}-${r}`);return(0,n.jsx)("span",Object.assign({},g,{ref:t},{children:(t=>s?(0,a.deepMap)(t,(t=>"string"===typeof t?((e,t)=>{const o=[];let n=e;for(;n;){const e=c?(0,a.removeDiacritics)(n,l||""):n;if(!t.test(e))return o.push(f(n)),o;const p=(0,a.getMatchBoundaries)(e,t);if(0===(null===p||void 0===p?void 0:p.first)&&0===(null===p||void 0===p?void 0:p.last))return o;const m=n.slice(0,null===p||void 0===p?void 0:p.first);m&&o.push(f(m));const g=n.slice(null===p||void 0===p?void 0:p.first,null===p||void 0===p?void 0:p.last);g&&o.push((s=g,(0,i.createElement)(u,{key:`${s}-${r}`,className:d,style:h},s))),n=n.slice(null===p||void 0===p?void 0:p.last),r++}var s;return o})(t,(0,a.getSearch)(e)):t)):[t])(p)}),void 0)}))},47049:function(e,t,r){"use strict";t.y=void 0;var o=r(98456);Object.defineProperty(t,"y",{enumerable:!0,get:function(){return o.Highlight}})},9764:function(e,t,r){"use strict";r.d(t,{OO:function(){return Ur}});var o=r(67294);function n(e,t){return function(r){return e(t(r))}}function i(e,t){return t(e)}function a(e,t){return function(r){return e(t,r)}}function s(e,t){return function(){return e(t)}}function c(e,t){return t(e),e}function l(){for(var e=arguments.length,t=new Array(e),r=0;r-1&&e.splice(t,1)};case 0:return void e.slice().forEach((function(e){e(r)}));default:throw new Error("unrecognized action "+t)}}}function C(e){var t=e,r=w();return function(e,o){switch(e){case 1:o(t);break;case 0:t=o;break;case 4:return t}return r(e,o)}}function x(e){return c(w(),(function(t){return b(e,t)}))}function E(e,t){return c(C(t),(function(t){return b(e,t)}))}function k(){for(var e=arguments.length,t=new Array(e),r=0;r1?t-1:0),o=1;o0?e--:t(r)}}}function R(e){var t,r;return function(o){return function(n){t=n,r||(r=setTimeout((function(){r=void 0,o(t)}),e))}}}function B(e){var t,r;return function(o){return function(n){t=n,r&&clearTimeout(r),r=setTimeout((function(){o(t)}),e)}}}function z(){for(var e=arguments.length,t=new Array(e),r=0;re.length)&&(t=e.length);for(var r=0,o=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var M=["children"];var $="undefined"!==typeof document?o.useLayoutEffect:o.useEffect;function G(e,t,r){var n=Object.keys(t.required||{}),i=Object.keys(t.optional||{}),l=Object.keys(t.methods||{}),u=Object.keys(t.events||{}),h=(0,o.createContext)({});function b(e,r){e.propsReady&&g(e.propsReady,!1);for(var o,a=U(n);!(o=a()).done;){var s=o.value;g(e[t.required[s]],r[s])}for(var c,l=U(i);!(c=l()).done;){var u=c.value;if(u in r)g(e[t.optional[u]],r[u])}e.propsReady&&g(e.propsReady,!0)}function y(e){return u.reduce((function(r,o){return r[o]=function(e){var t,r,o=function(){return t&&t()};return function(n,i){switch(n){case 1:if(i){if(r===i)return;return o(),r=i,t=m(e,i)}return o(),p;case 2:return o(),void(r=null);default:throw new Error("unrecognized action "+n)}}}(e[t.events[o]]),r}),{})}var w=(0,o.forwardRef)((function(a,p){var v=a.children,w=function(e,t){if(null==e)return{};var r,o,n={},i=Object.keys(e);for(o=0;o=0||(n[r]=e[r]);return n}(a,M),C=(0,o.useState)((function(){return c(function(e){var t=new Map;return function e(r){var o=r.id,n=r.constructor,i=r.dependencies,a=r.singleton;if(a&&t.has(o))return t.get(o);var s=n(i.map((function(t){return e(t)})));return a&&t.set(o,s),s}(e)}(e),(function(e){return b(e,w)}))})),x=C[0],E=(0,o.useState)(s(y,x))[0];return $((function(){for(var e,t=U(u);!(e=t()).done;){var r=e.value;r in w&&m(E[r],w[r])}return function(){Object.values(E).map(f)}}),[w,E,x]),$((function(){b(x,w)})),(0,o.useImperativeHandle)(p,d(function(e){return l.reduce((function(r,o){return r[o]=function(r){g(e[t.methods[o]],r)},r}),{})}(x))),(0,o.createElement)(h.Provider,{value:x},r?(0,o.createElement)(r,function(e,t){for(var r={},o={},n=0,i=e.length;n=0||(n[r]=e[r]);return n}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var _,Q,X,ee="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;(X=Q||(Q={}))[X.DEBUG=0]="DEBUG",X[X.INFO=1]="INFO",X[X.WARN=2]="WARN",X[X.ERROR=3]="ERROR";var te=((_={})[Q.DEBUG]="debug",_[Q.INFO]="log",_[Q.WARN]="warn",_[Q.ERROR]="error",_),re=V((function(){var e=C(Q.ERROR);return{log:C((function(t,r,o){var n;void 0===o&&(o=Q.INFO),o>=(null!=(n=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?n:v(e))&&console[te[o]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,r)})),logLevel:e}}),[],{singleton:!0});function oe(e,t){void 0===t&&(t=!0);var r=(0,o.useRef)(null),n=function(e){};if("undefined"!=typeof ResizeObserver){var i=new ResizeObserver((function(t){var r=t[0].target;null!==r.offsetParent&&e(r)}));n=function(e){e&&t?(i.observe(e),r.current=e):(r.current&&i.unobserve(r.current),r.current=null)}}return{ref:r,callbackRef:n}}function ne(e,t){return void 0===t&&(t=!0),oe(e,t).callbackRef}function ie(e,t,r,o,n,i,a){return oe((function(r){for(var s=function(e,t,r,o){var n=e.length;if(0===n)return null;for(var i=[],a=0;at&&(a=a.concat(ve(e.l,t,r))),o>=t&&o<=r&&a.push({k:o,v:n}),o<=r&&(a=a.concat(ve(i,t,r))),a}function be(e){return he(e)?[]:[].concat(be(e.l),[{k:e.k,v:e.v}],be(e.r))}function ye(e){return he(e.r)?[e.k,e.v]:ye(e.r)}function we(e){return he(e.r)?e.l:Ee(Ce(e,{r:we(e.r)}))}function Ce(e,t){return de(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function xe(e){return he(e)||e.lvl>e.r.lvl}function Ee(e){var t=e.l,r=e.r,o=e.lvl;if(r.lvl>=o-1&&t.lvl>=o-1)return e;if(o>r.lvl+1){if(xe(t))return je(Ce(e,{lvl:o-1}));if(he(t)||he(t.r))throw new Error("Unexpected empty nodes");return Ce(t.r,{l:Ce(t,{r:t.r.l}),r:Ce(e,{l:t.r.r,lvl:o-1}),lvl:o})}if(xe(e))return Ae(Ce(e,{lvl:o-1}));if(he(r)||he(r.l))throw new Error("Unexpected empty nodes");var n=r.l,i=xe(n)?r.lvl-1:r.lvl;return Ce(n,{l:Ce(e,{r:n.l,lvl:o-1}),r:Ae(Ce(r,{l:n.r,lvl:i})),lvl:n.lvl+1})}function ke(e,t,r){return he(e)?[]:Se(ve(e,ge(e,t)[0],r),(function(e){return{index:e.k,value:e.v}}))}function Se(e,t){var r=e.length;if(0===r)return[];for(var o=t(e[0]),n=o.index,i=o.value,a=[],s=1;s0&&(0,t[2])("received item sizes",r,Q.DEBUG);var i=e.sizeTree,a=i,s=0;if(o.length>0&&he(i)&&2===r.length){var c=r[0].size,l=r[1].size;a=o.reduce((function(e,t){return fe(fe(e,t,c),t+1,l)}),a)}else{var u=function(e,t){for(var r,o=he(e)?0:1/0,n=Y(t);!(r=n()).done;){var i=r.value,a=i.size,s=i.startIndex,c=i.endIndex;if(o=Math.min(o,s),he(e))e=fe(e,0,a);else{var l=ke(e,s-1,c+1);if(!l.some(Le(i))){for(var u,d=!1,h=!1,p=Y(l);!(u=p()).done;){var m=u.value,g=m.start,f=m.end,v=m.value;d?(c>=g||a===v)&&(e=me(e,g)):(h=v!==a,d=!0),f>c&&c>=g&&v!==a&&(e=fe(e,c+1,v))}h&&(e=fe(e,s,a))}}}return[e,o]}(a,r);a=u[0],s=u[1]}if(a===i)return e;var d=ze(e.offsetTree,s,a,n),h=d.offsetTree;return{sizeTree:a,offsetTree:h,lastIndex:d.lastIndex,lastOffset:d.lastOffset,lastSize:d.lastSize,groupOffsetTree:o.reduce((function(e,t){return fe(e,t,Pe(t,h,n))}),pe()),groupIndices:o}}function Pe(e,t,r){if(0===t.length)return 0;var o=Te(t,e,Ie),n=e-o.index,i=o.size*n+(n-1)*r+o.offset;return i>0?i+r:i}function He(e,t,r){if(function(e){return void 0!==e.groupIndex}(e))return t.groupIndices[e.groupIndex]+1;var o=Ve("LAST"===e.index?r:e.index,t);return Math.max(0,o,Math.min(r,o))}function Ve(e,t){if(!Oe(t))return e;for(var r=0;t.groupIndices[r]<=e+r;)r++;return e+r}function Oe(e){return!he(e.groupOffsetTree)}var Ne={offsetHeight:"height",offsetWidth:"width"},Ue=V((function(e){var t=e[0].log,r=e[1].recalcInProgress,o=w(),n=w(),i=E(n,0),a=w(),s=w(),c=C(0),l=C([]),u=C(void 0),d=C(void 0),h=C((function(e,t){return ae(e,Ne[t])})),p=C(void 0),f=C(0),y={offsetTree:[],sizeTree:pe(),groupOffsetTree:pe(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},k=E(S(o,z(l,t,f),L(Fe,y),j()),y);b(S(l,D((function(e){return e.length>0})),z(k,f),T((function(e){var t=e[0],r=e[1],o=e[2],n=t.reduce((function(e,t,n){return fe(e,t,Pe(t,r.offsetTree,o)||n)}),pe());return K({},r,{groupIndices:t,groupOffsetTree:n})}))),k),b(S(n,z(k),D((function(e){return e[0]0?(g(r,!0),g(a,e)):e<0&&g(s,e)})),m(S(c,z(t)),(function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:c},Q.ERROR)}));var I=x(a);b(S(a,z(k),T((function(e){var t=e[0],r=e[1];if(r.groupIndices.length>0)throw new Error("Virtuoso: prepending items does not work with groups");return be(r.sizeTree).reduce((function(e,r){var o=r.k,n=r.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:o+t-1,size:e.prevSize}]),prevIndex:o+t,prevSize:n}}),{ranges:[],prevIndex:0,prevSize:r.lastSize}).ranges}))),o);var R=x(S(s,z(k,f),T((function(e){return Pe(-e[0],e[1].offsetTree,e[2])}))));return b(S(s,z(k,f),T((function(e){var t=e[0],r=e[1],o=e[2];if(r.groupIndices.length>0)throw new Error("Virtuoso: shifting items does not work with groups");var n=be(r.sizeTree).reduce((function(e,r){var o=r.v;return fe(e,Math.max(0,r.k+t),o)}),pe());return K({},r,{sizeTree:n},ze(r.offsetTree,0,n,o))}))),k),{data:p,totalCount:n,sizeRanges:o,groupIndices:l,defaultItemSize:d,fixedItemSize:u,unshiftWith:a,shiftWith:s,shiftWithOffset:R,beforeUnshiftWith:I,firstItemIndex:c,gap:f,sizes:k,listRefresh:q,statefulTotalCount:i,trackItemSizes:A,itemSize:h}}),l(re,qe),{singleton:!0}),Me="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function $e(e){var t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&Me||(t.behavior="auto"),t.offset||(t.offset=0),t}var Ge=V((function(e){var t=e[0],r=t.sizes,o=t.totalCount,n=t.listRefresh,i=t.gap,a=e[1],s=a.scrollingInProgress,c=a.viewportHeight,l=a.scrollTo,u=a.smoothScrollTargetReached,d=a.headerHeight,h=a.footerHeight,p=a.fixedHeaderHeight,f=a.fixedFooterHeight,v=e[2].log,x=w(),E=C(0),k=null,A=null,j=null;function D(){k&&(k(),k=null),j&&(j(),j=null),A&&(clearTimeout(A),A=null),g(s,!1)}return b(S(x,z(r,c,o,E,d,h,v),z(i,p,f),T((function(e){var t=e[0],r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],l=t[5],d=t[6],h=t[7],p=e[1],f=e[2],v=e[3],b=$e(r),w=b.align,C=b.behavior,E=b.offset,T=a-1,q=He(b,o,T),L=Pe(q,o.offsetTree,p)+l;"end"===w?(L+=f+ge(o.sizeTree,q)[1]-i+v,q===T&&(L+=d)):"center"===w?L+=(f+ge(o.sizeTree,q)[1]-i+v)/2:L-=c,E&&(L+=E);var I=function(e){D(),e?(h("retrying to scroll to",{location:r},Q.DEBUG),g(x,r)):h("list did not change, scroll successful",{},Q.DEBUG)};if(D(),"smooth"===C){var R=!1;j=m(n,(function(e){R=R||e})),k=y(u,(function(){I(R)}))}else k=y(S(n,(function(e){var t=setTimeout((function(){e(!1)}),150);return function(r){r&&(e(!0),clearTimeout(t))}})),I);return A=setTimeout((function(){D()}),1200),g(s,!0),h("scrolling from index to",{index:q,top:L,behavior:C},Q.DEBUG),{top:L,behavior:C}}))),l),{scrollToIndex:x,topListHeight:E}}),l(Ue,le,re),{singleton:!0}),We="up",Ke={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},Ze=V((function(e){var t=e[0],r=t.scrollContainerState,o=t.scrollTop,n=t.viewportHeight,i=t.headerHeight,a=t.footerHeight,s=t.scrollBy,c=C(!1),l=C(!0),u=w(),d=w(),h=C(4),p=C(0),m=E(S(F(S(P(o),I(1),q(!0)),S(P(o),I(1),q(!1),B(100))),j()),!1),g=E(S(F(S(s,q(!0)),S(s,q(!1),B(200))),j()),!1);b(S(H(P(o),P(p)),T((function(e){return e[0]<=e[1]})),j()),l),b(S(l,R(50)),d);var f=x(S(H(r,P(n),P(i),P(a),P(h)),L((function(e,t){var r,o,n=t[0],i=n.scrollTop,a=n.scrollHeight,s=t[1],c={viewportHeight:s,scrollTop:i,scrollHeight:a};return i+s-a>-t[4]?(i>e.state.scrollTop?(r="SCROLLED_DOWN",o=e.state.scrollTop-i):(r="SIZE_DECREASED",o=e.state.scrollTop-i||e.scrollTopDelta),{atBottom:!0,state:c,atBottomBecause:r,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:c.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":st+h-g&&(m=We),(a-=l)0){a=e[0].offset;var c=e[e.length-1];s=c.offset+c.size}var l=r-n.lastIndex,u=a,d=n.lastOffset+l*n.lastSize+(l-1)*o-s;return{items:st(e,n,i),topItems:st(t,n,i),topListHeight:t.reduce((function(e,t){return t.size+e}),0),offsetTop:a,offsetBottom:d,top:u,bottom:s,totalCount:r,firstItemIndex:i}}var lt=V((function(e){var t=e[0],r=t.sizes,o=t.totalCount,n=t.data,i=t.firstItemIndex,a=t.gap,s=e[1],l=e[2],u=l.visibleRange,d=l.listBoundary,h=l.topListHeight,p=e[3],m=p.scrolledToInitialItem,g=p.initialTopMostItemIndex,f=e[4].topListHeight,v=e[5],y=e[6].didMount,k=e[7].recalcInProgress,A=C([]),q=w();b(s.topItemsIndexes,A);var L=E(S(H(y,k,P(u,tt),P(o),P(r),P(g),m,P(A),P(i),P(a),n),D((function(e){return e[0]&&!e[1]})),T((function(e){var t=e[2],r=t[0],o=t[1],n=e[3],i=e[5],a=e[6],s=e[7],l=e[8],u=e[9],d=e[10],h=e[4],p=h.sizeTree,m=h.offsetTree;if(0===n||0===r&&0===o)return K({},at,{totalCount:n});if(he(p))return ct(function(e,t,r){if(Oe(t)){var o=Ve(e,t);return[{index:ge(t.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:r&&r[0]}]}return[{index:e,size:0,offset:0,data:r&&r[0]}]}(function(e,t){return"number"==typeof e?e:"LAST"===e.index?t-1:e.index}(i,n),h,d),[],n,u,h,l);var g=[];if(s.length>0)for(var f,v=s[0],b=s[s.length-1],y=0,w=Y(ke(p,v,b));!(f=w()).done;)for(var C=f.value,x=C.value,E=Math.max(C.start,v),k=Math.min(C.end,b),S=E;S<=k;S++)g.push({index:S,size:x,offset:y,data:d&&d[S]}),y+=x;if(!a)return ct([],g,n,u,h,l);var A=s.length>0?s[s.length-1]+1:0,j=function(e,t,r,o){return void 0===o&&(o=0),o>0&&(t=Math.max(t,Te(e,o,Ie).offset)),Se((i=r,s=De(n=e,t,a=Re),c=De(n,i,a,s),n.slice(s,c+1)),Be);var n,i,a,s,c}(m,r,o,A);if(0===j.length)return null;var D=n-1;return ct(c([],(function(e){for(var t,n=Y(j);!(t=n()).done;){var i=t.value,a=i.value,s=a.offset,c=i.start,l=a.size;if(a.offset=o);m++)e.push({index:m,size:l,offset:s,data:d&&d[m]}),s+=l+u}})),g,n,u,h,l)})),D((function(e){return null!==e})),j()),at);return b(S(n,D((function(e){return void 0!==e})),T((function(e){return e.length}))),o),b(S(L,T((function(e){return e.topListHeight}))),f),b(f,h),b(S(L,T((function(e){return[e.top,e.bottom]}))),d),b(S(L,T((function(e){return e.items}))),q),K({listState:L,topItemsIndexes:A,endReached:x(S(L,D((function(e){return e.items.length>0})),z(o,n),D((function(e){var t=e[0].items;return t[t.length-1].originalIndex===e[1]-1})),T((function(e){return[e[1]-1,e[2]]})),j(tt),T((function(e){return e[0]})))),startReached:x(S(L,R(200),D((function(e){var t=e.items;return t.length>0&&t[0].originalIndex===e.topItems.length})),T((function(e){return e.items[0].index})),j())),rangeChanged:x(S(L,D((function(e){return e.items.length>0})),T((function(e){for(var t=e.items,r=0,o=t.length-1;"group"===t[r].type&&rr;)o--;return{startIndex:t[r].index,endIndex:t[o].index}})),j(rt))),itemsRendered:q},v)}),l(Ue,et,it,Ye,Ge,Ze,Je,qe),{singleton:!0}),ut=V((function(e){var t=e[0],r=t.sizes,o=t.firstItemIndex,n=t.data,i=t.gap,a=e[1].listState,s=e[2].didMount,c=C(0);return b(S(s,z(c),D((function(e){return 0!==e[1]})),z(r,o,i,n),T((function(e){var t=e[0][1],r=e[1],o=e[2],n=e[3],i=e[4],a=void 0===i?[]:i,s=0;if(r.groupIndices.length>0)for(var c,l=Y(r.groupIndices);!((c=l()).done||c.value-s>=t);)s++;var u=t+s;return ct(Array.from({length:u}).map((function(e,t){return{index:t,size:0,offset:0,data:a[t]}})),[],u,n,r,o)}))),a),{initialItemCount:c}}),l(Ue,lt,Je),{singleton:!0}),dt=V((function(e){var t=e[0].scrollVelocity,r=C(!1),o=w(),n=C(!1);return b(S(t,z(n,r,o),D((function(e){return!!e[1]})),T((function(e){var t=e[0],r=e[1],o=e[2],n=e[3],i=r.enter;if(o){if((0,r.exit)(t,n))return!1}else if(i(t,n))return!0;return o})),j()),r),m(S(H(r,t,o),z(n)),(function(e){var t=e[0],r=e[1];return t[0]&&r&&r.change&&r.change(t[1],t[2])})),{isSeeking:r,scrollSeekConfiguration:n,scrollVelocity:t,scrollSeekRangeChanged:o}}),l(Ze),{singleton:!0}),ht=V((function(e){var t=e[0].topItemsIndexes,r=C(0);return b(S(r,D((function(e){return e>0})),T((function(e){return Array.from({length:e}).map((function(e,t){return t}))}))),t),{topItemCount:r}}),l(lt)),pt=V((function(e){var t=e[0],r=t.footerHeight,o=t.headerHeight,n=t.fixedHeaderHeight,i=t.fixedFooterHeight,a=e[1].listState,s=w(),c=E(S(H(r,i,o,n,a),T((function(e){var t=e[4];return e[0]+e[1]+e[2]+e[3]+t.offsetBottom+t.bottom}))),0);return b(P(c),s),{totalListHeight:c,totalListHeightChanged:s}}),l(le,lt),{singleton:!0});function mt(e){var t,r=!1;return function(){return r||(r=!0,t=e()),t}}var gt=mt((function(){return/iP(ad|hone|od).+Version\/[\d.]+.*Safari/i.test(navigator.userAgent)})),ft=V((function(e){var t=e[0],r=t.scrollBy,o=t.scrollTop,n=t.deviation,i=t.scrollingInProgress,a=e[1],s=a.isScrolling,c=a.isAtBottom,l=a.scrollDirection,u=e[3],d=u.beforeUnshiftWith,h=u.shiftWithOffset,p=u.sizes,f=u.gap,v=e[4].log,y=e[5].recalcInProgress,w=x(S(e[2].listState,z(a.lastJumpDueToItemResize),L((function(e,t){var r=e[1],o=t[0],n=o.items,i=o.totalCount,a=o.bottom+o.offsetBottom,s=0;return e[2]===i&&r.length>0&&n.length>0&&(0===n[0].originalIndex&&0===r[0].originalIndex||0!=(s=a-e[3])&&(s+=t[1])),[s,n,i,a]}),[0,[],0,0]),D((function(e){return 0!==e[0]})),z(o,l,i,c,v),D((function(e){return!e[3]&&0!==e[1]&&e[2]===We})),T((function(e){var t=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:t},Q.DEBUG),t}))));function C(e){e>0?(g(r,{top:-e,behavior:"auto"}),g(n,0)):(g(n,0),g(r,{top:-e,behavior:"auto"}))}return m(S(w,z(n,s)),(function(e){var t=e[0],r=e[1];e[2]&>()?g(n,r-t):C(-t)})),m(S(H(E(s,!1),n,y),D((function(e){return!e[0]&&!e[2]&&0!==e[1]})),T((function(e){return e[1]})),R(1)),C),b(S(h,T((function(e){return{top:-e}}))),r),m(S(d,z(p,f),T((function(e){var t=e[0];return t*e[1].lastSize+t*e[2]}))),(function(e){g(n,e),requestAnimationFrame((function(){g(r,{top:e}),requestAnimationFrame((function(){g(n,0),g(y,!1)}))}))})),{deviation:n}}),l(le,Ze,lt,Ue,re,qe)),vt=V((function(e){var t=e[0].totalListHeight,r=e[1].didMount,o=e[2].scrollTo,n=C(0);return m(S(r,z(n),D((function(e){return 0!==e[1]})),T((function(e){return{top:e[1]}}))),(function(e){y(S(t,D((function(e){return 0!==e}))),(function(){setTimeout((function(){g(o,e)}))}))})),{initialScrollTop:n}}),l(pt,Je,le),{singleton:!0}),bt=V((function(e){var t=e[0].viewportHeight,r=e[1].totalListHeight,o=C(!1);return{alignToBottom:o,paddingTopAddition:E(S(H(o,t,r),D((function(e){return e[0]})),T((function(e){return Math.max(0,e[1]-e[2])})),j()),0)}}),l(le,pt),{singleton:!0}),yt=V((function(e){var t=e[0],r=t.scrollTo,o=t.scrollContainerState,n=w(),i=w(),a=w(),s=C(!1),c=C(void 0);return b(S(H(n,i),T((function(e){var t=e[0],r=t.viewportHeight,o=t.scrollHeight;return{scrollTop:Math.max(0,t.scrollTop-e[1].offsetTop),scrollHeight:o,viewportHeight:r}}))),o),b(S(r,z(i),T((function(e){var t=e[0];return K({},t,{top:t.top+e[1].offsetTop})}))),a),{useWindowScroll:s,customScrollParent:c,windowScrollContainerState:n,windowViewportRect:i,windowScrollTo:a}}),l(le)),wt=["done","behavior","align"],Ct=V((function(e){var t=e[0],r=t.sizes,o=t.totalCount,n=t.gap,i=e[1],a=i.scrollTop,s=i.viewportHeight,c=i.headerHeight,l=i.scrollingInProgress,u=e[2].scrollToIndex,d=w();return b(S(d,z(r,s,o,c,a,n),T((function(e){var t=e[0],r=e[1],o=e[2],n=e[3],i=e[4],a=e[5],s=e[6],c=t.done,u=t.behavior,d=t.align,h=Z(t,wt),p=null,m=He(t,r,n-1),g=Pe(m,r.offsetTree,s)+i;return ga+o&&(p=K({},h,{behavior:u,align:null!=d?d:"end"})),p?c&&y(S(l,I(1),D((function(e){return!1===e}))),c):c&&c(),p})),D((function(e){return null!==e}))),u),{scrollIntoView:d}}),l(Ue,le,Ge,lt,re),{singleton:!0}),xt=["listState","topItemsIndexes"],Et=V((function(e){return K({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])}),l(it,ut,Je,dt,pt,vt,bt,yt,Ct)),kt=V((function(e){var t=e[0],r=t.totalCount,o=t.sizeRanges,n=t.fixedItemSize,i=t.defaultItemSize,a=t.trackItemSizes,s=t.itemSize,c=t.data,l=t.firstItemIndex,u=t.groupIndices,d=t.statefulTotalCount,h=t.gap,p=e[1],m=p.initialTopMostItemIndex,g=p.scrolledToInitialItem,f=e[2],v=e[3],y=e[4],w=y.listState,C=y.topItemsIndexes,x=Z(y,xt),E=e[5].scrollToIndex,k=e[7].topItemCount,A=e[8].groupCounts,j=e[9],D=e[10];return b(x.rangeChanged,j.scrollSeekRangeChanged),b(S(j.windowViewportRect,T((function(e){return e.visibleHeight}))),f.viewportHeight),K({totalCount:r,data:c,firstItemIndex:l,sizeRanges:o,initialTopMostItemIndex:m,scrolledToInitialItem:g,topItemsIndexes:C,topItemCount:k,groupCounts:A,fixedItemHeight:n,defaultItemHeight:i,gap:h},v,{statefulTotalCount:d,listState:w,scrollToIndex:E,trackItemSizes:a,itemSize:s,groupIndices:u},x,j,f,D)}),l(Ue,Ye,le,Qe,lt,Ge,ft,ht,et,Et,re)),St=mt((function(){if("undefined"==typeof document)return"sticky";var e=document.createElement("div");return e.style.position="-webkit-sticky","-webkit-sticky"===e.style.position?"-webkit-sticky":"sticky"}));function At(e,t){var r=(0,o.useRef)(null),n=(0,o.useCallback)((function(o){if(null!==o&&o.offsetParent){var n,i,a=o.getBoundingClientRect(),s=a.width;if(t){var c=t.getBoundingClientRect(),l=a.top-c.top;n=c.height-Math.max(0,l),i=l+t.scrollTop}else n=window.innerHeight-Math.max(0,a.top),i=a.top+window.pageYOffset;r.current={offsetTop:i,visibleHeight:n,visibleWidth:s},e(r.current)}}),[e,t]),i=oe(n),a=i.callbackRef,s=i.ref,c=(0,o.useCallback)((function(){n(s.current)}),[n,s]);return(0,o.useEffect)((function(){if(t){t.addEventListener("scroll",c);var e=new ResizeObserver(c);return e.observe(t),function(){t.removeEventListener("scroll",c),e.unobserve(t)}}return window.addEventListener("scroll",c),window.addEventListener("resize",c),function(){window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}}),[c,t]),a}var jt=o.createContext(void 0),Dt=["placeholder"],Tt=["style","children"],qt=["style","children"];function Lt(e){return e}var It=V((function(){var e=C((function(e){return"Item "+e})),t=C(null),r=C((function(e){return"Group "+e})),o=C({}),n=C(Lt),i=C("div"),a=C(p),s=function(e,t){return void 0===t&&(t=null),E(S(o,T((function(t){return t[e]})),j()),t)};return{context:t,itemContent:e,groupContent:r,components:o,computeItemKey:n,headerFooterTag:i,scrollerRef:a,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}}));function Rt(e,t){var r=w();return m(r,(function(){return console.warn("react-virtuoso: You are using a deprecated property. "+t,"color: red;","color: inherit;","color: blue;")})),b(r,e),r}var Bt=V((function(e){var t=e[0],r=e[1],o={item:Rt(r.itemContent,"Rename the %citem%c prop to %citemContent."),group:Rt(r.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:Rt(t.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:Rt(t.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:Rt(t.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:w(),maxHeightCacheSize:w(),footer:w(),header:w(),HeaderContainer:w(),FooterContainer:w(),ItemContainer:w(),ScrollContainer:w(),GroupContainer:w(),ListContainer:w(),emptyComponent:w(),scrollSeek:w()};function n(e,t,o){b(S(e,z(r.components),T((function(e){var r,n=e[0],i=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+t+" instead."),K({},i,((r={})[t]=n,r))}))),r.components)}return m(o.adjustForPrependedItems,(function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")})),m(o.maxHeightCacheSize,(function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")})),m(o.HeaderContainer,(function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")})),m(o.FooterContainer,(function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")})),m(o.scrollSeek,(function(e){var o=e.placeholder,n=Z(e,Dt);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),g(r.components,K({},v(r.components),{ScrollSeekPlaceholder:o})),g(t.scrollSeekConfiguration,n)})),n(o.footer,"Footer","footer"),n(o.header,"Header","header"),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),n(o.emptyComponent,"EmptyPlaceholder","emptyComponent"),n(o.GroupContainer,"Group","GroupContainer"),K({},t,r,o)}),l(kt,It)),zt=function(e){return o.createElement("div",{style:{height:e.height}})},Ft={position:St(),zIndex:1,overflowAnchor:"none"},Pt={overflowAnchor:"none"},Ht=o.memo((function(e){var t=e.showTopList,r=void 0!==t&&t,n=Xt("listState"),i=Qt("sizeRanges"),a=Xt("useWindowScroll"),s=Xt("customScrollParent"),c=Qt("windowScrollContainerState"),l=Qt("scrollContainerState"),u=s||a?c:l,d=Xt("itemContent"),h=Xt("context"),m=Xt("groupContent"),g=Xt("trackItemSizes"),f=ie(i,Xt("itemSize"),g,r?p:u,Xt("log"),Qt("gap"),s).callbackRef,v=o.useState(0),b=v[0],y=v[1];er("deviation",(function(e){b!==e&&y(e)}));var w=Xt("EmptyPlaceholder"),C=Xt("ScrollSeekPlaceholder")||zt,x=Xt("ListComponent"),E=Xt("ItemComponent"),k=Xt("GroupComponent"),S=Xt("computeItemKey"),A=Xt("isSeeking"),j=Xt("groupIndices").length>0,D=Xt("paddingTopAddition"),T=r?{}:{boxSizing:"border-box",paddingTop:n.offsetTop+D,paddingBottom:n.offsetBottom,marginTop:b};return!r&&0===n.totalCount&&w?(0,o.createElement)(w,Ut(w,h)):(0,o.createElement)(x,K({},Ut(x,h),{ref:f,style:T,"data-test-id":r?"virtuoso-top-item-list":"virtuoso-item-list"}),(r?n.topItems:n.items).map((function(e){var t=e.originalIndex,r=S(t+n.firstItemIndex,e.data,h);return A?(0,o.createElement)(C,K({},Ut(C,h),{key:r,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,o.createElement)(k,K({},Ut(k,h),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:Ft}),m(e.index)):(0,o.createElement)(E,K({},Ut(E,h),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:Pt}),j?d(e.index,e.groupIndex,e.data,h):d(e.index,e.data,h))})))})),Vt={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},Ot={width:"100%",height:"100%",position:"absolute",top:0},Nt={width:"100%",position:St(),top:0};function Ut(e,t){if("string"!=typeof e)return{context:t}}var Mt=o.memo((function(){var e=Xt("HeaderComponent"),t=Qt("headerHeight"),r=Xt("headerFooterTag"),n=ne((function(e){return t(ae(e,"height"))})),i=Xt("context");return e?(0,o.createElement)(r,{ref:n},(0,o.createElement)(e,Ut(e,i))):null})),$t=o.memo((function(){var e=Xt("FooterComponent"),t=Qt("footerHeight"),r=Xt("headerFooterTag"),n=ne((function(e){return t(ae(e,"height"))})),i=Xt("context");return e?(0,o.createElement)(r,{ref:n},(0,o.createElement)(e,Ut(e,i))):null}));function Gt(e){var t=e.usePublisher,r=e.useEmitter,n=e.useEmitterValue;return o.memo((function(e){var i=e.style,a=e.children,s=Z(e,Tt),c=t("scrollContainerState"),l=n("ScrollerComponent"),u=t("smoothScrollTargetReached"),d=n("scrollerRef"),h=n("context"),p=ce(c,u,l,d),m=p.scrollerRef,g=p.scrollByCallback;return r("scrollTo",p.scrollToCallback),r("scrollBy",g),(0,o.createElement)(l,K({ref:m,style:K({},Vt,i),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},s,Ut(l,h)),a)}))}function Wt(e){var t=e.usePublisher,r=e.useEmitter,n=e.useEmitterValue;return o.memo((function(e){var i=e.style,a=e.children,s=Z(e,qt),c=t("windowScrollContainerState"),l=n("ScrollerComponent"),u=t("smoothScrollTargetReached"),d=n("totalListHeight"),h=n("deviation"),m=n("customScrollParent"),g=n("context"),f=ce(c,u,l,p,m),v=f.scrollerRef,b=f.scrollByCallback,y=f.scrollToCallback;return ee((function(){return v.current=m||window,function(){v.current=null}}),[v,m]),r("windowScrollTo",y),r("scrollBy",b),(0,o.createElement)(l,K({style:K({position:"relative"},i,0!==d?{height:d+h}:{}),"data-virtuoso-scroller":!0},s,Ut(l,g)),a)}))}var Kt=function(e){var t=e.children,r=(0,o.useContext)(jt),i=Qt("viewportHeight"),a=Qt("fixedItemHeight"),s=ne(n(i,(function(e){return ae(e,"height")})));return o.useEffect((function(){r&&(i(r.viewportHeight),a(r.itemHeight))}),[r,i,a]),o.createElement("div",{style:Ot,ref:s,"data-viewport-type":"element"},t)},Zt=function(e){var t=e.children,r=(0,o.useContext)(jt),n=Qt("windowViewportRect"),i=Qt("fixedItemHeight"),a=Xt("customScrollParent"),s=At(n,a);return o.useEffect((function(){r&&(i(r.itemHeight),n({offsetTop:0,visibleHeight:r.viewportHeight,visibleWidth:100}))}),[r,n,i]),o.createElement("div",{ref:s,style:Ot,"data-viewport-type":"window"},t)},Jt=function(e){var t=e.children,r=Xt("TopItemListComponent"),n=Xt("headerHeight"),i=K({},Nt,{marginTop:n+"px"}),a=Xt("context");return(0,o.createElement)(r||"div",{style:i,context:a},t)},Yt=G(Bt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},o.memo((function(e){var t=Xt("useWindowScroll"),r=Xt("topItemsIndexes").length>0,n=Xt("customScrollParent"),i=n||t?Zt:Kt;return o.createElement(n||t?rr:tr,K({},e),o.createElement(i,null,o.createElement(Mt,null),o.createElement(Ht,null),o.createElement($t,null)),r&&o.createElement(Jt,null,o.createElement(Ht,{showTopList:!0})))}))),_t=Yt.Component,Qt=Yt.usePublisher,Xt=Yt.useEmitterValue,er=Yt.useEmitter,tr=Gt({usePublisher:Qt,useEmitterValue:Xt,useEmitter:er}),rr=Wt({usePublisher:Qt,useEmitterValue:Xt,useEmitter:er}),or={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},nr={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},ir=Math.round,ar=Math.ceil,sr=Math.floor,cr=Math.min,lr=Math.max;function ur(e,t){return Array.from({length:t-e+1}).map((function(t,r){return{index:r+e}}))}function dr(e,t){return e&&e.column===t.column&&e.row===t.row}var hr=V((function(e){var t=e[0],r=t.overscan,o=t.visibleRange,n=t.listBoundary,i=e[1],a=i.scrollTop,s=i.viewportHeight,c=i.scrollBy,l=i.scrollTo,u=i.smoothScrollTargetReached,d=i.scrollContainerState,h=e[2],p=e[3],m=e[4],g=m.propsReady,f=m.didMount,v=e[5],y=v.windowViewportRect,k=v.windowScrollTo,A=v.useWindowScroll,L=v.customScrollParent,I=v.windowScrollContainerState,R=e[6],B=C(0),F=C(0),V=C(or),O=C({height:0,width:0}),N=C({height:0,width:0}),U=w(),M=w(),$=C(0),G=C({row:0,column:0});b(S(f,z(F),D((function(e){return 0!==e[1]})),T((function(e){return{items:ur(0,e[1]-1),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}}))),V),b(S(H(P(B),o,P(G,dr),P(N,(function(e,t){return e&&e.width===t.width&&e.height===t.height}))),z(O),T((function(e){var t=e[0],r=t[0],o=t[1],n=o[0],i=o[1],a=t[2],s=t[3],c=e[1],l=a.row,u=s.height,d=s.width,h=c.width;if(0===r||0===h)return or;if(0===d)return nr;var p=gr(h,d,a.column),m=p*sr((n+l)/(u+l)),g=p*ar((i+l)/(u+l))-1;g=lr(0,cr(r-1,g));var f=ur(m=cr(g,lr(0,m)),g),v=pr(c,a,s,f),b=v.top,y=v.bottom,w=ar(r/p);return{items:f,offsetTop:b,offsetBottom:w*u+(w-1)*l-y,top:b,bottom:y,itemHeight:u,itemWidth:d}}))),V),b(S(O,T((function(e){return e.height}))),s),b(S(H(O,N,V,G),T((function(e){var t=pr(e[0],e[3],e[1],e[2].items);return[t.top,t.bottom]})),j(tt)),n);var W=x(S(P(V),D((function(e){return e.items.length>0})),z(B),D((function(e){var t=e[0].items;return t[t.length-1].index===e[1]-1})),T((function(e){return e[1]-1})),j())),Z=x(S(P(V),D((function(e){var t=e.items;return t.length>0&&0===t[0].index})),q(0),j())),J=x(S(P(V),D((function(e){return e.items.length>0})),T((function(e){var t=e.items;return{startIndex:t[0].index,endIndex:t[t.length-1].index}})),j(rt)));b(J,p.scrollSeekRangeChanged),b(S(U,z(O,N,B,G),T((function(e){var t=e[1],r=e[2],o=e[3],n=e[4],i=$e(e[0]),a=i.align,s=i.behavior,c=i.offset,l=i.index;"LAST"===l&&(l=o-1);var u=mr(t,n,r,l=lr(0,l,cr(o-1,l)));return"end"===a?u=ir(u-t.height+r.height):"center"===a&&(u=ir(u-t.height/2+r.height/2)),c&&(u+=c),{top:u,behavior:s}}))),l);var Y=E(S(V,T((function(e){return e.offsetBottom+e.bottom}))),0);return b(S(y,T((function(e){return{width:e.visibleWidth,height:e.visibleHeight}}))),O),K({totalCount:B,viewportDimensions:O,itemDimensions:N,scrollTop:a,scrollHeight:M,overscan:r,scrollBy:c,scrollTo:l,scrollToIndex:U,smoothScrollTargetReached:u,windowViewportRect:y,windowScrollTo:k,useWindowScroll:A,customScrollParent:L,windowScrollContainerState:I,deviation:$,scrollContainerState:d,initialItemCount:F,gap:G},p,{gridState:V,totalListHeight:Y},h,{startReached:Z,endReached:W,rangeChanged:J,propsReady:g},R)}),l(it,le,Ze,dt,Je,yt,re));function pr(e,t,r,o){var n=r.height;return void 0===n||0===o.length?{top:0,bottom:0}:{top:mr(e,t,r,o[0].index),bottom:mr(e,t,r,o[o.length-1].index)+n}}function mr(e,t,r,o){var n=gr(e.width,r.width,t.column),i=sr(o/n),a=i*r.height+lr(0,i-1)*t.row;return a>0?a+t.row:a}function gr(e,t,r){return lr(1,sr((e+r)/(t+r)))}var fr=["placeholder"],vr=V((function(){var e=C((function(e){return"Item "+e})),t=C({}),r=C(null),o=C("virtuoso-grid-item"),n=C("virtuoso-grid-list"),i=C(Lt),a=C(p),s=function(e,r){return void 0===r&&(r=null),E(S(t,T((function(t){return t[e]})),j()),r)};return{context:r,itemContent:e,components:t,computeItemKey:i,itemClassName:o,listClassName:n,scrollerRef:a,ListComponent:s("List","div"),ItemComponent:s("Item","div"),ScrollerComponent:s("Scroller","div"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder","div")}})),br=V((function(e){var t=e[0],r=e[1],o={item:Rt(r.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:w(),ScrollContainer:w(),ListContainer:w(),emptyComponent:w(),scrollSeek:w()};function n(e,t,o){b(S(e,z(r.components),T((function(e){var r,n=e[0],i=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+t+" instead."),K({},i,((r={})[t]=n,r))}))),r.components)}return m(o.scrollSeek,(function(e){var o=e.placeholder,n=Z(e,fr);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),g(r.components,K({},v(r.components),{ScrollSeekPlaceholder:o})),g(t.scrollSeekConfiguration,n)})),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),K({},t,r,o)}),l(hr,vr)),yr=o.memo((function(){var e=kr("gridState"),t=kr("listClassName"),r=kr("itemClassName"),n=kr("itemContent"),i=kr("computeItemKey"),a=kr("isSeeking"),s=Er("scrollHeight"),c=kr("ItemComponent"),l=kr("ListComponent"),u=kr("ScrollSeekPlaceholder"),d=kr("context"),h=Er("itemDimensions"),p=Er("gap"),m=kr("log"),g=ne((function(e){s(e.parentElement.parentElement.scrollHeight);var t=e.firstChild;t&&h(t.getBoundingClientRect()),p({row:Dr("row-gap",getComputedStyle(e).rowGap,m),column:Dr("column-gap",getComputedStyle(e).columnGap,m)})}));return(0,o.createElement)(l,K({ref:g,className:t},Ut(l,d),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map((function(t){var s=i(t.index);return a?(0,o.createElement)(u,K({key:s},Ut(u,d),{index:t.index,height:e.itemHeight,width:e.itemWidth})):(0,o.createElement)(c,K({},Ut(c,d),{className:r,"data-index":t.index,key:s}),n(t.index,d))})))})),wr=function(e){var t=e.children,r=Er("viewportDimensions"),n=ne((function(e){r(e.getBoundingClientRect())}));return o.createElement("div",{style:Ot,ref:n},t)},Cr=function(e){var t=e.children,r=At(Er("windowViewportRect"),kr("customScrollParent"));return o.createElement("div",{ref:r,style:Ot},t)},xr=G(br,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},o.memo((function(e){var t=K({},e),r=kr("useWindowScroll"),n=kr("customScrollParent"),i=n||r?Cr:wr;return o.createElement(n||r?jr:Ar,K({},t),o.createElement(i,null,o.createElement(yr,null)))}))),Er=(xr.Component,xr.usePublisher),kr=xr.useEmitterValue,Sr=xr.useEmitter,Ar=Gt({usePublisher:Er,useEmitterValue:kr,useEmitter:Sr}),jr=Wt({usePublisher:Er,useEmitterValue:kr,useEmitter:Sr});function Dr(e,t,r){return"normal"===t||null!=t&&t.endsWith("px")||r(e+" was not resolved to pixel value correctly",t,Q.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}var Tr=V((function(){var e=C((function(e){return o.createElement("td",null,"Item $",e)})),t=C(null),r=C(null),n=C(null),i=C({}),a=C(Lt),s=C(p),c=function(e,t){return void 0===t&&(t=null),E(S(i,T((function(t){return t[e]})),j()),t)};return{context:t,itemContent:e,fixedHeaderContent:r,fixedFooterContent:n,components:i,computeItemKey:a,scrollerRef:s,TableComponent:c("Table","table"),TableHeadComponent:c("TableHead","thead"),TableFooterComponent:c("TableFoot","tfoot"),TableBodyComponent:c("TableBody","tbody"),TableRowComponent:c("TableRow","tr"),ScrollerComponent:c("Scroller","div"),EmptyPlaceholder:c("EmptyPlaceholder"),ScrollSeekPlaceholder:c("ScrollSeekPlaceholder"),FillerRow:c("FillerRow")}})),qr=V((function(e){return K({},e[0],e[1])}),l(kt,Tr)),Lr=function(e){return o.createElement("tr",null,o.createElement("td",{style:{height:e.height}}))},Ir=function(e){return o.createElement("tr",null,o.createElement("td",{style:{height:e.height,padding:0,border:0}}))},Rr=o.memo((function(){var e=Hr("listState"),t=Pr("sizeRanges"),r=Hr("useWindowScroll"),n=Hr("customScrollParent"),i=Pr("windowScrollContainerState"),a=Pr("scrollContainerState"),s=n||r?i:a,c=Hr("itemContent"),l=Hr("trackItemSizes"),u=ie(t,Hr("itemSize"),l,s,Hr("log"),void 0,n),d=u.callbackRef,h=u.ref,p=o.useState(0),m=p[0],g=p[1];Vr("deviation",(function(e){m!==e&&(h.current.style.marginTop=e+"px",g(e))}));var f=Hr("EmptyPlaceholder"),v=Hr("ScrollSeekPlaceholder")||Lr,b=Hr("FillerRow")||Ir,y=Hr("TableBodyComponent"),w=Hr("TableRowComponent"),C=Hr("computeItemKey"),x=Hr("isSeeking"),E=Hr("paddingTopAddition"),k=Hr("firstItemIndex"),S=Hr("statefulTotalCount"),A=Hr("context");if(0===S&&f)return(0,o.createElement)(f,Ut(f,A));var j=e.offsetTop+E+m,D=e.offsetBottom,T=j>0?o.createElement(b,{height:j,key:"padding-top"}):null,q=D>0?o.createElement(b,{height:D,key:"padding-bottom"}):null,L=e.items.map((function(e){var t=e.originalIndex,r=C(t+k,e.data,A);return x?(0,o.createElement)(v,K({},Ut(v,A),{key:r,index:e.index,height:e.size,type:e.type||"item"})):(0,o.createElement)(w,K({},Ut(w,A),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),c(e.index,e.data,A))}));return(0,o.createElement)(y,K({ref:d,"data-test-id":"virtuoso-item-list"},Ut(y,A)),[T].concat(L,[q]))})),Br=function(e){var t=e.children,r=(0,o.useContext)(jt),i=Pr("viewportHeight"),a=Pr("fixedItemHeight"),s=ne(n(i,(function(e){return ae(e,"height")})));return o.useEffect((function(){r&&(i(r.viewportHeight),a(r.itemHeight))}),[r,i,a]),o.createElement("div",{style:Ot,ref:s,"data-viewport-type":"element"},t)},zr=function(e){var t=e.children,r=(0,o.useContext)(jt),n=Pr("windowViewportRect"),i=Pr("fixedItemHeight"),a=Hr("customScrollParent"),s=At(n,a);return o.useEffect((function(){r&&(i(r.itemHeight),n({offsetTop:0,visibleHeight:r.viewportHeight,visibleWidth:100}))}),[r,n,i]),o.createElement("div",{ref:s,style:Ot,"data-viewport-type":"window"},t)},Fr=G(qr,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},o.memo((function(e){var t=Hr("useWindowScroll"),r=Hr("customScrollParent"),i=Pr("fixedHeaderHeight"),a=Pr("fixedFooterHeight"),s=Hr("fixedHeaderContent"),c=Hr("fixedFooterContent"),l=Hr("context"),u=ne(n(i,(function(e){return ae(e,"height")}))),d=ne(n(a,(function(e){return ae(e,"height")}))),h=r||t?Nr:Or,p=r||t?zr:Br,m=Hr("TableComponent"),g=Hr("TableHeadComponent"),f=Hr("TableFooterComponent"),v=s?o.createElement(g,K({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:u},Ut(g,l)),s()):null,b=c?o.createElement(f,K({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d},Ut(f,l)),c()):null;return o.createElement(h,K({},e),o.createElement(p,null,o.createElement(m,K({style:{borderSpacing:0}},Ut(m,l)),[v,o.createElement(Rr,{key:"TableBody"}),b])))}))),Pr=(Fr.Component,Fr.usePublisher),Hr=Fr.useEmitterValue,Vr=Fr.useEmitter,Or=Gt({usePublisher:Pr,useEmitterValue:Hr,useEmitter:Vr}),Nr=Wt({usePublisher:Pr,useEmitterValue:Hr,useEmitter:Vr}),Ur=_t},12615:function(e,t,r){"use strict";function o(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function n(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function i(e,t){if(e.clientHeightt||i>e&&a=t&&s>=r?i-e-o:a>t&&sr?a-t+n:0}function s(e,t){var r=window,n=t.scrollMode,s=t.block,c=t.inline,l=t.boundary,u=t.skipOverflowHiddenElements,d="function"==typeof l?l:function(e){return e!==l};if(!o(e))throw new TypeError("Invalid target");for(var h=document.scrollingElement||document.documentElement,p=[],m=e;o(m)&&d(m);){if((m=m.parentElement)===h){p.push(m);break}null!=m&&m===document.body&&i(m)&&!i(document.documentElement)||null!=m&&i(m,u)&&p.push(m)}for(var g=r.visualViewport?r.visualViewport.width:innerWidth,f=r.visualViewport?r.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),w=y.height,C=y.width,x=y.top,E=y.right,k=y.bottom,S=y.left,A="start"===s||"nearest"===s?x:"end"===s?k:x+w/2,j="center"===c?S+C/2:"end"===c?E:S,D=[],T=0;T=0&&S>=0&&k<=f&&E<=g&&x>=B&&k<=F&&S>=P&&E<=z)return D;var H=getComputedStyle(q),V=parseInt(H.borderLeftWidth,10),O=parseInt(H.borderTopWidth,10),N=parseInt(H.borderRightWidth,10),U=parseInt(H.borderBottomWidth,10),M=0,$=0,G="offsetWidth"in q?q.offsetWidth-q.clientWidth-V-N:0,W="offsetHeight"in q?q.offsetHeight-q.clientHeight-O-U:0;if(h===q)M="start"===s?A:"end"===s?A-f:"nearest"===s?a(b,b+f,f,O,U,b+A,b+A+w,w):A-f/2,$="start"===c?j:"center"===c?j-g/2:"end"===c?j-g:a(v,v+g,g,V,N,v+j,v+j+C,C),M=Math.max(0,M+b),$=Math.max(0,$+v);else{M="start"===s?A-B-O:"end"===s?A-F+U+W:"nearest"===s?a(B,F,I,O,U+W,A,A+w,w):A-(B+I/2)+W/2,$="start"===c?j-P-V:"center"===c?j-(P+R/2)+G/2:"end"===c?j-z+N+G:a(P,z,R,V,N+G,j,j+C,C);var K=q.scrollLeft,Z=q.scrollTop;A+=Z-(M=Math.max(0,Math.min(Z+M,q.scrollHeight-I+W))),j+=K-($=Math.max(0,Math.min(K+$,q.scrollWidth-R+G)))}D.push({el:q,top:M,left:$})}return D}function c(e){return e===Object(e)&&0!==Object.keys(e).length}r.d(t,{Z:function(){return l}});var l=function(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(c(t)&&"function"===typeof t.behavior)return t.behavior(r?s(e,t):[]);if(r){var o=function(e){return!1===e?{block:"end",inline:"nearest"}:c(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach((function(e){var o=e.el,n=e.top,i=e.left;o.scroll&&r?o.scroll({top:n,left:i,behavior:t}):(o.scrollTop=n,o.scrollLeft=i)}))}(s(e,o),o.behavior)}}},12902:function(e,t,r){"use strict";function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:p(e)?3:0}function c(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,r){var o=s(e);2===o?e.set(t,r):3===o?(e.delete(t),e.add(r)):e[t]=r}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return O&&e instanceof Map}function p(e){return N&&e instanceof Set}function m(e){return e.o||e.t}function g(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[G];for(var r=K(t),o=0;o1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&a(e,(function(e,t){return f(t,!0)}),!0)),e}function v(){o(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=J[e];return t||o(18,e),t}function w(){return H}function C(e,t){t&&(y("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){E(e),e.p.forEach(S),e.p=null}function E(e){e===H&&(H=e.l)}function k(e){return H={p:[],l:H,h:e,m:!0,_:0}}function S(e){var t=e[G];0===t.i||1===t.i?t.j():t.O=!0}function A(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||y("ES5").S(t,e,n),n?(r[G].P&&(x(t),o(4)),i(e)&&(e=j(t,e),t.l||T(t,e)),t.u&&y("Patches").M(r[G].t,e,t.u,t.s)):e=j(t,r,[]),x(t),t.u&&t.v(t.u,t.s),e!==M?e:void 0}function j(e,t,r){if(b(t))return t;var o=t[G];if(!o)return a(t,(function(n,i){return D(e,o,t,n,i,r)}),!0),t;if(o.A!==e)return t;if(!o.P)return T(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=4===o.i||5===o.i?o.o=g(o.k):o.o;a(3===o.i?new Set(n):n,(function(t,i){return D(e,o,n,t,i,r)})),T(e,n,!1),r&&e.u&&y("Patches").R(o,r,e.u,e.s)}return o.o}function D(e,t,r,o,a,s){if(n(a)){var l=j(e,a,s&&t&&3!==t.i&&!c(t.D,o)?s.concat(o):void 0);if(u(r,o,l),!n(l))return;e.m=!1}if(i(a)&&!b(a)){if(!e.h.F&&e._<1)return;j(e,a),t&&t.A.l||T(e,a)}}function T(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&f(t,r)}function q(e,t){var r=e[G];return(r?m(r):e)[t]}function L(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function I(e){e.P||(e.P=!0,e.l&&I(e.l))}function R(e){e.o||(e.o=g(e.t))}function B(e,t,r){var o=h(t)?y("MapSet").N(t,r):p(t)?y("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),o={i:r?1:0,A:t?t.A:w(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},n=o,i=Y;r&&(n=[o],i=_);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return o.k=c,o.j=s,c}(t,r):y("ES5").J(t,r);return(r?r.A:w()).p.push(o),o}function z(e){return n(e)||o(22,e),function e(t){if(!i(t))return t;var r,o=t[G],n=s(t);if(o){if(!o.P&&(o.i<4||!y("ES5").K(o)))return o.t;o.I=!0,r=F(t,n),o.I=!1}else r=F(t,n);return a(r,(function(t,n){o&&l(o.t,t)===n||u(r,t,e(n))})),3===n?new Set(r):r}(e)}function F(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return g(e)}r.d(t,{P2:function(){return te},Uy:function(){return ee},_x:function(){return re},mv:function(){return n}});var P,H,V="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),O="undefined"!=typeof Map,N="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,M=V?Symbol.for("immer-nothing"):((P={})["immer-nothing"]=!0,P),$=V?Symbol.for("immer-draftable"):"__$immer_draftable",G=V?Symbol.for("immer-state"):"__$immer_state",W=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),K="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Z=Object.getOwnPropertyDescriptors||function(e){var t={};return K(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},J={},Y={get:function(e,t){if(t===G)return e;var r=m(e);if(!c(r,t))return function(e,t,r){var o,n=L(t,r);return n?"value"in n?n.value:null===(o=n.get)||void 0===o?void 0:o.call(e.k):void 0}(e,r,t);var o=r[t];return e.I||!i(o)?o:o===q(e.t,t)?(R(e),e.o[t]=B(e.A.h,o,e)):o},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,r){var o=L(m(e),t);if(null==o?void 0:o.set)return o.set.call(e.k,r),!0;if(!e.P){var n=q(m(e),t),i=null==n?void 0:n[G];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(d(r,n)&&(void 0!==r||c(e.t,t)))return!0;R(e),I(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==q(e.t,t)||t in e.t?(e.D[t]=!1,R(e),I(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=m(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:o.enumerable,value:r[t]}:o},defineProperty:function(){o(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){o(12)}},_={};a(Y,(function(e,t){_[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),_.deleteProperty=function(e,t){return _.set.call(this,e,t,void 0)},_.set=function(e,t,r){return Y.set.call(this,e[0],t,r,e[0])};var Q=function(){function e(e){var t=this;this.g=U,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var o=arguments.length,n=Array(o>1?o-1:0),i=1;i1?o-1:0),i=1;i=0;r--){var o=t[r];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}r>-1&&(t=t.slice(r+1));var i=y("Patches").$;return n(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),X=new Q,ee=X.produce,te=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X),X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X)),re=X.finishDraft.bind(X)},57741:function(e,t,r){"use strict";r.d(t,{wU:function(){return Ct}});var o=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},n=(e,t,r)=>(o(e,t,"read from private field"),r?r.call(e):t.get(e)),i=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},a=(e,t,r,n)=>(o(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),s=(e,t,r)=>(o(e,t,"access private method"),r);async function c(e,t={}){const{local:r=!1,version:o="latest",cdnUrl:n,...i}=t,a=function(e,t,r){let o=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return"function"==typeof r?o=r(e,t):"string"==typeof r&&(o=`${r}/${e}`),o}(e,o,n),s=r?localStorage:sessionStorage,c=`emojibase/${o}/${e}`,l=s.getItem(c);if(l)return Promise.resolve(JSON.parse(l));const u=await fetch(a,{credentials:"omit",mode:"cors",redirect:"error",...i});if(!u.ok)throw new Error("Failed to load Emojibase dataset.");const d=await u.json();try{s.setItem(c,JSON.stringify(d))}catch{}return d}const l={discord:"joypixels",slack:"iamcal"};async function u(e,t,r){var o;return c(`${e}/shortcodes/${null!==(o=l[t])&&void 0!==o?o:t}.json`,r)}function d(e,t){if(0===t.length)return e;const r=new Set(e.shortcodes);return t.forEach((t=>{const o=t[e.hexcode];Array.isArray(o)?o.forEach((e=>r.add(e))):o&&r.add(o)})),e.shortcodes=[...r],e.skins&&e.skins.forEach((e=>{d(e,t)})),e}async function h(e,t={}){const{compact:r=!1,flat:o=!1,shortcodes:n=[],...i}=t,a=await c(`${e}/${r?"compact":"data"}.json`,i);let s=[];return n.length>0&&(s=await Promise.all(n.map((t=>{let r;if(t.includes("/")){const[e,o]=t.split("/");r=u(e,o,i)}else r=u(e,t,i);return r.catch((()=>({})))})))),o?function(e,t=[]){const r=[];return e.forEach((e=>{if(e.skins){const{skins:o,...n}=e;r.push(d(n,t)),o.forEach((e=>{const o={...e};n.tags&&(o.tags=[...n.tags]),r.push(d(o,t))}))}else r.push(d(e,t))})),r}(a,s):function(e,t){return 0===t.length||e.forEach((e=>{d(e,t)})),e}(a,s)}async function p(e,t){return c(`${e}/messages.json`,t)}function m(e,t){const r=e.target.closest("[data-emoji]");if(r){const e=t.find((e=>e.emoji===r.dataset.emoji));if(e)return e}return null}function g(e){var t;const r=null==(t=window.matchMedia)?void 0:t.call(window,"(prefers-reduced-motion: reduce)");return e.animate&&!(null!=r&&r.matches)}function f(e,t){return e.toLowerCase().includes(t.toLowerCase())}function v(e,t,r,o){if(g(o)&&e.animate)return e.animate(t,r).finished;const n="normal"===r.direction?1:0,i=Object.entries(t).reduce(((e,[t,r])=>({...e,[t]:r[n]})),{});return Object.assign(e.style,i),Promise.resolve()}function b(e){var t;const r=document.createElement("template");return r.innerHTML=e,null==(t=r.content)?void 0:t.firstElementChild}function y(...e){return e.reduce(((e,t)=>({...e,[t]:w(t)})),{})}function w(e){return`${e}`}async function C(e){try{return(await fetch(e,{method:"HEAD"})).headers.get("etag")}catch{return null}}async function x(e,t,r){const o=r||t(e);return await o.open(),o}async function E(e,t,r){const o=await x(e,t,r),[n,i]=await function(e){const{emojisUrl:t,messagesUrl:r}=function(e,t){const r=`https://cdn.jsdelivr.net/npm/emojibase-data@${"latest"}/${t}`;return{emojisUrl:`${r}/data.json`,messagesUrl:`${r}/messages.json`}}(0,e);try{return Promise.all([C(t),C(r)])}catch{return Promise.all([null,null])}}(e);if(await o.isPopulated())n&&i&&await async function(e,t,r){let o;try{o=await e.getEtags()}catch{o={}}const{storedEmojisEtag:n,storedMessagesEtag:i}=o;if(r!==i||t!==n){const[o,n]=await Promise.all([p(e.locale),h(e.locale)]);await e.populate({groups:o.groups,emojis:n,emojisEtag:t,messagesEtag:r})}}(o,n,i);else{const[t,r]=await Promise.all([p(e),h(e)]);await o.populate({groups:t.groups,emojis:r,emojisEtag:n,messagesEtag:i})}return o}async function k(e,t,r,o,n){const i=await x(e,t,n),a=await async function(e){const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")}(o);return(!(await i.isPopulated())||await async function(e,t){return t!==await e.getHash()}(i,a))&&await i.populate({groups:r.groups,emojis:o,hash:a}),i}async function S(e,t,r,o,n){return r&&o?k(e,t,r,o,n):E(e,t,n)}class A{constructor(){this.handleKeyDown=this.handleKeyDown.bind(this)}activate(e){this.rootElement=e,this.rootElement.addEventListener("keydown",this.handleKeyDown)}deactivate(){var e;null==(e=this.rootElement)||e.removeEventListener("keydown",this.handleKeyDown)}get focusableElements(){return this.rootElement.querySelectorAll('input, [tabindex="0"]')}get lastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}get firstFocusableElement(){return this.focusableElements[0]}checkFocus(e,t,r){e.target===t&&(r.focus(),e.preventDefault())}handleKeyDown(e){"Tab"===e.key&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}}const{light:j,dark:D,auto:T}=y("light","dark","auto");class q{constructor({template:e,classes:t,parent:r}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=t,this.parent=r,this.keyBindingHandler=this.keyBindingHandler.bind(this)}initialize(){this.bindAppEvents()}setCustomEmojis(e){this.customEmojis=e}setEvents(e){this.events=e}setPickerId(e){this.pickerId=e}emit(e,...t){this.events.emit(e,...t)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then((e=>{this.emojiData=e}))}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId,...e}),this.postRender(),this.el}async render(e={}){return await this.emojiDataPromise,this.el=await this.template.renderAsync({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId,...e}),this.postRender(),this.el}postRender(){this.bindUIElements(),this.bindKeyBindings(),this.bindUIEvents(),this.scheduleShowAnimation()}bindAppEvents(){Object.keys(this.appEvents).forEach((e=>{this.events.on(e,this.appEvents[e],this)})),this.events.on("data:ready",this.updateEmojiData,this)}unbindAppEvents(){Object.keys(this.appEvents).forEach((e=>{this.events.off(e,this.appEvents[e])})),this.events.off("data:ready",this.updateEmojiData)}keyBindingHandler(e){const t=this.keyBindings[e.key];t&&t.call(this,e)}bindKeyBindings(){this.keyBindings&&this.el.addEventListener("keydown",this.keyBindingHandler)}unbindKeyBindings(){this.keyBindings&&this.el.removeEventListener("keydown",this.keyBindingHandler)}bindUIElements(){this.ui=Object.keys(this.uiElements).reduce(((e,t)=>({...e,[t]:this.el.querySelector(this.uiElements[t])})),{})}bindUIEvents(){this.uiEvents.forEach((e=>{e.handler=e.handler.bind(this),(e.target?this.ui[e.target]:this.el).addEventListener(e.event,e.handler,e.options)}))}unbindUIEvents(){this.uiEvents.forEach((e=>{(e.target?this.ui[e.target]:this.el).removeEventListener(e.event,e.handler)}))}destroy(){this.unbindAppEvents(),this.unbindUIEvents(),this.unbindKeyBindings(),this.el.remove(),this.isDestroyed=!0}scheduleShowAnimation(){if(this.parent){const e=new MutationObserver((t=>{const[r]=t;"childList"===r.type&&r.addedNodes[0]===this.el&&(g(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)}));e.observe(this.parent,{childList:!0})}}static childEvent(e,t,r,o={}){return{target:e,event:t,handler:r,options:o}}static uiEvent(e,t,r={}){return{event:e,handler:t,options:r}}static byClass(e){return`.${e}`}}const L={clock:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',flag:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',frown:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',gamepad:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',lightbulb:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',mug:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',plane:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',robot:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',sad:'\n \n \n \n \n \n \n \x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e\n \n \n \n \n \n',search:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',smiley:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',symbols:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',tree:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',users:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',warning:'\n \n \n \n \n \n \n \x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e\n \n',xmark:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e'},I={recents:"clock","smileys-emotion":"smiley","people-body":"users","animals-nature":"tree","food-drink":"mug",activities:"gamepad","travel-places":"plane",objects:"lightbulb",symbols:"symbols",flags:"flag",custom:"robot"};function R(e,t){if(!(e in L))return console.warn(`Unknown icon: "${e}"`),document.createElement("div");const r=function(e,t){const r=b(t);return r.dataset.icon=e,r.classList.add(w("icon")),r}(e,L[e]);return t&&r.classList.add(w(`icon-${t}`)),r}const B="sync";var z,F,P,H,V,O,N,U;class M{constructor(e,t={}){i(this,P),i(this,V),i(this,N),i(this,z,void 0),i(this,F,void 0),a(this,z,e),a(this,F,t.mode||B)}renderSync(e={}){const t=b(n(this,z).call(this,e));return s(this,N,U).call(this,t,e),s(this,V,O).call(this,t),s(this,P,H).call(this,t,e),t}async renderAsync(e={}){const t=b(n(this,z).call(this,e));return s(this,N,U).call(this,t,e),s(this,V,O).call(this,t),await s(this,P,H).call(this,t,e),t}render(e){return"sync"===n(this,F)?this.renderSync(e):this.renderAsync(e)}}z=new WeakMap,F=new WeakMap,P=new WeakSet,H=async function(e,t){const r=e.querySelectorAll("[data-view]"),o=[];for(const n of r){const e=t[n.dataset.view];e?"sync"!==n.dataset.render?o.push(e.render().then((e=>(n.replaceWith(e),e)))):n.replaceWith(e.renderSync()):n.remove()}return Promise.all(o)},V=new WeakSet,O=function(e){e.querySelectorAll("i[data-icon]").forEach((e=>{const{icon:t,size:r}=e.dataset;e.replaceWith(R(t,r))}))},N=new WeakSet,U=function(e,t){return e.querySelectorAll("[data-placeholder]").forEach((e=>{const r=e.dataset.placeholder;if(r&&t[r]){const o=t[r];e.replaceWith(...[o].flat())}else console.warn(`Missing placeholder element for key "${r}"`)})),e};const $=y("imagePlaceholder","placeholder"),G=new M((({classes:e})=>`\n
\n`));class W extends q{constructor({classNames:e}={}){super({template:G,classes:$}),this.classNames=e}load(e){const t=document.createElement("img");this.classNames&&(t.className=this.classNames),t.addEventListener("load",(()=>{this.el.replaceWith(t)}),{once:!0}),Promise.resolve(e).then((e=>t.src=e))}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach((e=>this.el.classList.add(e))),this.el}}const K=y("customEmoji");const Z=new M((({emoji:e})=>`${e}`));class J extends class{renderElement(e){return{content:e}}renderImage(e="",t){const r=new W({classNames:e});return r.renderSync(),{content:r,resolver:()=>(r.load(t()),r.el)}}doRender(e,t,r){if(e.custom)return this.renderCustom(e,t,r);const{content:o,resolver:n}=this.render(e,r),i=o instanceof Element?o:o.el;return n&&n(),i}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:t,emoji:r,data:o}){return{url:e,label:t,emoji:r,data:o}}renderCustom(e,t,r=""){const o=[K.customEmoji,r].join(" ").trim(),{content:n,resolver:i}=this.renderImage(o,(()=>e.url)),a=n instanceof Element?n:n.el;return i&&i(),a}}{render(e){return this.renderElement(Z.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:t,label:r}){return{emoji:e,hexcode:t,label:r}}}const Y=[(e,t)=>("1F91D"===e.hexcode&&t<14&&(e.skins=[]),e),(e,t)=>(e.skins&&(e.skins=e.skins.filter((e=>!e.version||e.version<=t))),e)];function _(e,t){return e.filter((e=>null!==function(e,t){return Y.some((r=>null===r(e,t)))?null:e}(e,t)))}function Q(e){var t;return{emoji:e.emoji,label:e.label,tags:e.tags,skins:null==(t=e.skins)?void 0:t.map((e=>Q(e))),order:e.order,custom:!1,hexcode:e.hexcode,version:e.version}}function X(e,t,r){var o;return!(r&&!r.some((t=>t.order===e.group)))&&(f(e.label,t)||(null==(o=e.tags)?void 0:o.some((e=>f(e,t)))))}class ee{constructor(e="en"){this.locale=e}}const te="PicMo";function re(e){return new oe(e)}re.deleteDatabase=e=>new Promise(((t,r)=>{const o=indexedDB.deleteDatabase(`${te}-${e}`);o.addEventListener("success",t),o.addEventListener("error",r)}));class oe extends ee{async open(){const e=indexedDB.open(`${te}-${this.locale}`);return new Promise(((t,r)=>{e.addEventListener("success",(e=>{var r;this.db=null==(r=e.target)?void 0:r.result,t()})),e.addEventListener("error",r),e.addEventListener("upgradeneeded",(async e=>{var t;this.db=null==(t=e.target)?void 0:t.result,this.db.createObjectStore("category",{keyPath:"order"});const r=this.db.createObjectStore("emoji",{keyPath:"emoji"});r.createIndex("category","group"),r.createIndex("version","version"),this.db.createObjectStore("meta")}))}))}async delete(){this.close();const e=indexedDB.deleteDatabase(`${te}-${this.locale}`);await this.waitForRequest(e)}close(){this.db.close()}async getEmojiCount(){const e=this.db.transaction("emoji","readonly").objectStore("emoji");return(await this.waitForRequest(e.count())).target.result}async getEtags(){const e=this.db.transaction("meta","readonly").objectStore("meta"),[t,r]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:t.target.result,storedMessagesEtag:r.target.result}}async setMeta(e){const t=this.db.transaction("meta","readwrite"),r=t.objectStore("meta");return new Promise((o=>{t.oncomplete=o,Object.keys(e).filter(Boolean).forEach((t=>{r.put(e[t],t)}))}))}async getHash(){const e=this.db.transaction("meta","readonly").objectStore("meta");return(await this.waitForRequest(e.get("hash"))).target.result}async isPopulated(){const e=this.db.transaction("category","readonly").objectStore("category");return(await this.waitForRequest(e.count())).target.result>0}async populate({groups:e,emojis:t,emojisEtag:r,messagesEtag:o,hash:n}){await this.removeAllObjects("category","emoji");const i=[this.addObjects("category",e),this.addObjects("emoji",t),this.setMeta({emojisEtag:r,messagesEtag:o,hash:n})];await Promise.all(i)}async getCategories(e){var t;const r=this.db.transaction("category","readonly").objectStore("category");let o=(await this.waitForRequest(r.getAll())).target.result.filter((e=>"component"!==e.key));if(e.showRecents&&o.unshift({key:"recents",order:-1}),null!=(t=e.custom)&&t.length&&o.push({key:"custom",order:10}),e.categories){const t=e.categories;o=o.filter((e=>t.includes(e.key))),o.sort(((e,r)=>t.indexOf(e.key)-t.indexOf(r.key)))}else o.sort(((e,t)=>e.order-t.order));return o}async getEmojis(e,t){const r=this.db.transaction("emoji","readonly").objectStore("emoji").index("category");return _((await this.waitForRequest(r.getAll(e.order))).target.result.filter((e=>e.version<=t)).sort(((e,t)=>null!=e.order&&null!=t.order?e.order-t.order:0)).map(Q),t)}async searchEmojis(e,t,r,o){const n=[];return new Promise(((i,a)=>{const s=this.db.transaction("emoji","readonly").objectStore("emoji").openCursor();s.addEventListener("success",(a=>{var s;const c=null==(s=a.target)?void 0:s.result;if(!c)return i([..._(n,r),...t.filter((t=>X(t,e)))]);const l=c.value;X(l,e,o)&&l.version<=r&&n.push(Q(l)),c.continue()})),s.addEventListener("error",(e=>{a(e)}))}))}async waitForRequest(e){return new Promise(((t,r)=>{e.onsuccess=t,e.onerror=r}))}withTransaction(e,t="readwrite",r){return new Promise(((o,n)=>{const i=this.db.transaction(e,t);i.oncomplete=o,i.onerror=n,r(i)}))}async removeAllObjects(...e){const t=this.db.transaction(e,"readwrite"),r=e.map((e=>t.objectStore(e)));await Promise.all(r.map((e=>this.waitForRequest(e.clear()))))}async addObjects(e,t){return this.withTransaction(e,"readwrite",(r=>{const o=r.objectStore(e);t.forEach((e=>{o.add(e)}))}))}}const ne="PicMo:recents";class ie extends class{}{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(ne)}getRecents(e){var t;try{return JSON.parse(null!=(t=this.storage.getItem(ne))?t:"[]").slice(0,e)}catch{return[]}}addOrUpdateRecent(e,t){const r=[e,...this.getRecents(t).filter((t=>t.hexcode!==e.hexcode))].slice(0,t);try{this.storage.setItem(ne,JSON.stringify(r))}catch{console.warn("storage is not available, recent emojis will not be saved")}}}class ae extends ie{constructor(){super(localStorage)}}const se={dataStore:re,theme:j,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:{"categories.activities":"Activities","categories.animals-nature":"Animals & Nature","categories.custom":"Custom","categories.flags":"Flags","categories.food-drink":"Food & Drink","categories.objects":"Objects","categories.people-body":"People & Body","categories.recents":"Recently Used","categories.smileys-emotion":"Smileys & Emotion","categories.symbols":"Symbols","categories.travel-places":"Travel & Places","error.load":"Failed to load emojis","recents.clear":"Clear recent emojis","recents.none":"You haven't selected any emojis yet.",retry:"Try again","search.clear":"Clear search","search.error":"Failed to search emojis","search.notFound":"No results found",search:"Search emojis..."},locale:"en",maxRecents:50,custom:[]};var ce,le,ue,de,he;class pe{constructor(){i(this,le),i(this,de),i(this,ce,new Map)}on(e,t,r){s(this,de,he).call(this,e,t,r)}once(e,t,r){s(this,de,he).call(this,e,t,r,!0)}off(e,t){const r=s(this,le,ue).call(this,e);n(this,ce).set(e,r.filter((e=>e.handler!==t)))}emit(e,...t){s(this,le,ue).call(this,e).forEach((r=>{r.handler.apply(r.context,t),r.once&&this.off(e,r.handler)}))}removeAll(){n(this,ce).clear()}}ce=new WeakMap,le=new WeakSet,ue=function(e){return n(this,ce).has(e)||n(this,ce).set(e,[]),n(this,ce).get(e)},de=new WeakSet,he=function(e,t,r,o=!1){s(this,le,ue).call(this,e).push({context:r,handler:t,once:o})};const me=!0;class ge extends pe{}class fe extends pe{}const ve=y("emojiCategory","categoryName","noRecents","recentEmojis");class be extends q{constructor({template:e,category:t,showVariants:r,lazyLoader:o}){super({template:e,classes:ve}),this.baseUIElements={categoryName:q.byClass(ve.categoryName)},this.category=t,this.showVariants=r,this.lazyLoader=o}setActive(e,t,r){this.emojiContainer.setActive(e,t,r)}}const ye=new M((({classes:e,emoji:t})=>`\n \n
\n \n`)),we=y("emojiButton");class Ce extends q{constructor({emoji:e,lazyLoader:t,category:r}){super({template:ye,classes:we}),this.emoji=e,this.lazyLoader=t,this.category=r}initialize(){this.uiEvents=[q.uiEvent("focus",this.handleFocus)],super.initialize()}handleFocus(){this.category&&this.events.emit("focus:change",this.category)}activateFocus(e){this.el.tabIndex=0,e&&this.el.focus()}deactivateFocus(){this.el.tabIndex=-1}renderSync(){return super.renderSync({emoji:this.emoji,emojiContent:this.renderer.doRender(this.emoji,this.lazyLoader)})}}class xe{constructor(e,t,r=0,o=0,n=!1){this.events=new pe,this.keyHandlers={ArrowLeft:this.focusPrevious.bind(this),ArrowRight:this.focusNext.bind(this),ArrowUp:this.focusUp.bind(this),ArrowDown:this.focusDown.bind(this)},this.rowCount=Math.ceil(t/e),this.columnCount=e,this.focusedRow=r,this.focusedColumn=o,this.emojiCount=t,this.wrap=n,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,t){this.events.on(e,t)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,t,r=!0){const o=this.getIndex();this.focusedRow=e,void 0!==t&&(this.focusedColumn=Math.min(this.columnCount,t)),(this.focusedRow>=this.rowCount||this.getIndex()>=this.emojiCount)&&(this.focusedRow=this.rowCount-1,this.focusedColumn=this.emojiCount%this.columnCount-1),this.events.emit("focus:change",{from:o,to:this.getIndex(),performFocus:r})}setFocusedIndex(e,t=!0){const r=Math.floor(e/this.columnCount),o=e%this.columnCount;this.setCell(r,o,t)}focusNext(){this.focusedColumn0?this.setCell(this.focusedRow,this.focusedColumn-1):this.focusedRow>0?this.setCell(this.focusedRow-1,this.columnCount-1):this.wrap?this.setCell(this.rowCount-1,this.columnCount-1):this.events.emit("focus:underflow",this.columnCount-1)}focusUp(){this.focusedRow>0?this.setCell(this.focusedRow-1,this.focusedColumn):this.events.emit("focus:underflow",this.focusedColumn)}focusDown(){this.focusedRow`\n
\n
\n
\n`)),ke=y("emojiContainer");class Se extends q{constructor({emojis:e,showVariants:t,preview:r=!0,lazyLoader:o,category:n,fullHeight:i=!1}){super({template:Ee,classes:ke}),this.fullHeight=!1,this.showVariants=t,this.lazyLoader=o,this.preview=r,this.emojis=e,this.category=n,this.fullHeight=i,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new xe(this.options.emojisPerRow,this.emojiCount,0,0,!this.category),this.grid.on("focus:change",this.setFocus),this.grid.on("focus:overflow",this.triggerNextCategory),this.grid.on("focus:underflow",this.triggerPreviousCategory),this.uiEvents=[q.uiEvent("click",this.selectEmoji),q.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(q.uiEvent("mouseover",this.showPreview),q.uiEvent("mouseout",this.hidePreview),q.uiEvent("focus",this.showPreview,{capture:!0}),q.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,t){if(e)if("string"==typeof e){const t=this.emojis.findIndex((t=>t.emoji===e));this.grid.setFocusedIndex(t,!1),setTimeout((()=>{var e,r,o,n;const i=this.emojiViews[t].el;i.scrollIntoView();const a=null==(e=i.parentElement)?void 0:e.previousElementSibling;(null==(o=null==(r=i.parentElement)?void 0:r.parentElement)?void 0:o.parentElement).scrollTop-=null!=(n=null==a?void 0:a.offsetHeight)?n:0}))}else"first"===e.row||0===e.row?this.grid.setCell(0,e.offset,t):"last"===e.row&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,t)}setActive(e,t,r){var o;e?this.setFocusedView(t,r):null==(o=this.emojiViews[this.grid.getIndex()])||o.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map((e=>this.viewFactory.create(Ce,{emoji:e,category:this.category,lazyLoader:this.lazyLoader,renderer:this.renderer}))),this.emojiElements=this.emojiViews.map((e=>e.renderSync())),super.renderSync({emojis:this.emojiElements,i18n:this.i18n})}destroy(){super.destroy(),this.emojiViews.forEach((e=>e.destroy())),this.grid.destroy()}triggerPreviousCategory(e){this.events.emit("category:previous",e)}triggerNextCategory(e){this.category&&this.events.emit("category:next",e)}setFocus({from:e,to:t,performFocus:r}){var o,n;null==(o=this.emojiViews[e])||o.deactivateFocus(),null==(n=this.emojiViews[t])||n.activateFocus(r)}selectEmoji(e){e.stopPropagation();const t=m(e,this.emojis);t&&this.events.emit("emoji:select",{emoji:t,showVariants:this.showVariants})}showPreview(e){const t=e.target.closest("button"),r=null==t?void 0:t.firstElementChild,o=m(e,this.emojis);o&&this.events.emit("preview:show",o,null==r?void 0:r.cloneNode(!0))}hidePreview(e){m(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}}const Ae=new M((({classes:e,category:t,pickerId:r,icon:o,i18n:n})=>`\n
\n

\n \n ${n.get(`categories.${t.key}`,t.message||t.key)}\n

\n
\n
\n`));class je extends be{constructor({category:e,showVariants:t,lazyLoader:r,emojiVersion:o}){super({category:e,showVariants:t,lazyLoader:r,template:Ae}),this.showVariants=t,this.lazyLoader=r,this.emojiVersion=o}initialize(){this.uiElements={...this.baseUIElements},super.initialize()}async render(){await this.emojiDataPromise;const e=await this.emojiData.getEmojis(this.category,this.emojiVersion);return this.emojiContainer=this.viewFactory.create(Se,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:I[this.category.key]})}}class De extends Se{constructor({category:e,emojis:t,preview:r=!0,lazyLoader:o}){super({category:e,emojis:t,showVariants:!1,preview:r,lazyLoader:o})}async addOrUpdate(e){const t=this.el.querySelector(`[data-emoji="${e.emoji}"]`);t&&(this.el.removeChild(t),this.emojis=this.emojis.filter((t=>t!==e)));const r=this.viewFactory.create(Ce,{emoji:e});if(this.el.insertBefore(r.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter((t=>t!==e))],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);const e=this.el.childElementCount-this.options.maxRecents;for(let t=0;t`\n
\n

\n \n ${i.get(`categories.${r.key}`,r.message||r.key)}\n

\n
\n
\n
\n
\n ${i.get("recents.none")}\n
\n
\n`),{mode:"async"});const qe=new M((({classes:e,category:t,pickerId:r,icon:o,i18n:n})=>`\n
\n

\n \n ${n.get(`categories.${t.key}`,t.message||t.key)}\n

\n
\n
\n`));class Le{constructor(){this.elements=new Map}lazyLoad(e,t){return this.elements.set(e,t),e}observe(e){if(window.IntersectionObserver){const t=new IntersectionObserver((e=>{e.filter((e=>e.intersectionRatio>0)).map((e=>e.target)).forEach((e=>{const r=this.elements.get(e);null==r||r(),t.unobserve(e)}))}),{root:e});this.elements.forEach(((e,r)=>{t.observe(r)}))}else this.elements.forEach((e=>{e()}))}}const Ie=y("emojiArea"),Re=new M((({classes:e})=>`\n
\n
\n
\n`),{mode:"async"}),Be={recents:class extends be{constructor({category:e,lazyLoader:t,provider:r}){super({category:e,showVariants:!1,lazyLoader:t,template:Te}),this.provider=r}initialize(){this.uiElements={...this.baseUIElements,recents:q.byClass(ve.recentEmojis)},this.appEvents={"recent:add":this.addRecent},super.initialize()}async addRecent(e){await this.emojiContainer.addOrUpdate(e),this.ui.recents.dataset.empty="false"}async render(){var e;const t=null==(e=this.provider)?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(De,{emojis:t,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:t.length,icon:I[this.category.key]}),this.el}},custom:class extends be{constructor({category:e,lazyLoader:t}){super({template:qe,showVariants:!1,lazyLoader:t,category:e})}initialize(){this.uiElements={...this.baseUIElements},super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(Se,{emojis:this.customEmojis,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:this.customEmojis.length,icon:I[this.category.key]})}}};class ze extends q{constructor({categoryTabs:e,categories:t,emojiVersion:r}){super({template:Re,classes:Ie}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new Le,this.categoryTabs=e,this.categories=t,this.emojiVersion=r,this.handleScroll=function(e,t){let r=null;return()=>{r||(r=window.setTimeout((()=>{e(),r=null}),t))}}(this.handleScroll.bind(this),100)}initialize(){this.appEvents={"category:select":this.handleCategorySelect,"category:previous":this.focusPreviousCategory,"category:next":this.focusNextCategory,"focus:change":this.updateFocusedCategory},this.uiElements={emojis:q.byClass(Ie.emojiArea)},this.uiEvents=[q.uiEvent("scroll",this.handleScroll)],super.initialize()}get focusableEmoji(){return this.el.querySelector('[tabindex="0"]')}async render(){this.emojiCategories=this.categories.map(this.createCategory,this);const e={};return this.categories.forEach(((t,r)=>{e[`emojis-${t.key}`]=this.emojiCategories[r]})),await super.render({emojis:await Promise.all(this.emojiCategories.map((e=>e.render())))}),this.lazyLoader.observe(this.el),window.ResizeObserver&&(this.observer=new ResizeObserver((()=>{const e=this.el.scrollHeight-this.scrollHeight;this.el.scrollTop-this.scrollTop===0&&e>0&&(this.el.scrollTop+=e),this.scrollHeight=this.el.scrollHeight,this.scrollTop=this.el.scrollTop})),this.emojiCategories.forEach((e=>{this.observer.observe(e.el)}))),this.el}destroy(){super.destroy(),this.emojiCategories.forEach((e=>{var t;null==(t=this.observer)||t.unobserve(e.el),e.destroy()}))}handleCategorySelect(e,t){this.selectCategory(e,t)}createCategory(e){const t=Be[e.key]||je;return this.viewFactory.create(t,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find((e=>e.key===this.options.initialCategory))?this.options.initialCategory:null==(e=this.categories.find((e=>"recents"!==e.key)))?void 0:e.key}determineFocusTarget(e){const t=this.emojiCategories.find((t=>t.category.key===e));return this.options.initialEmoji&&(null==t?void 0:t.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide");const t=this.determineInitialCategory();t&&(this.selectCategory(t,{focus:this.determineFocusTarget(t),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(t))}getCategoryIndex(e){return this.categories.findIndex((t=>t.key===e))}focusPreviousCategory(e){this.selectedCategory>0&&this.focusCategory(this.selectedCategory-1,{row:"last",offset:null!=e?e:this.options.emojisPerRow})}focusNextCategory(e){this.selectedCategory{var o;return e<(null==(o=this.emojiCategories[r+1])?void 0:o.el.offsetTop)})),o={changeFocusable:!1,performFocus:!1,scroll:!1};0===e?this.categoryTabs.setActiveTab(0,o):Math.floor(e)===Math.floor(t)||r<0?this.categoryTabs.setActiveTab(this.categories.length-1,o):this.categoryTabs.setActiveTab(r,o)}}const Fe=new M((({classList:e,classes:t,icon:r,message:o})=>`\n\n`)),Pe=y("error","iconContainer","title");class He extends q{constructor({message:e,icon:t="warning",template:r=Fe,className:o}){super({template:r,classes:Pe}),this.message=e,this.icon=t,this.className=o}renderSync(){const e=[Pe.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}}const Ve=new M((({classList:e,classes:t,icon:r,i18n:o,message:n})=>`\n \n`)),Oe=y("dataError");class Ne extends He{constructor({message:e}){super({message:e,template:Ve,className:Oe.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[q.childEvent("retryButton","click",this.onRetry)],super.initialize()}async onRetry(){this.emojiData?await this.emojiData.delete():await this.options.dataStore.deleteDatabase(this.options.locale),this.events.emit("reinitialize");const e=await S(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}}const Ue=y("preview","previewEmoji","previewName","tagList","tag"),Me=new M((({classes:e,tag:t})=>`\n
  • ${t}
  • \n`)),$e=new M((({classes:e})=>`\n
    \n
    \n
    \n
      \n
      \n`));class Ge extends q{constructor(){super({template:$e,classes:Ue})}initialize(){this.uiElements={emoji:q.byClass(Ue.previewEmoji),name:q.byClass(Ue.previewName),tagList:q.byClass(Ue.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,t){if(this.ui.emoji.replaceChildren(t),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";const t=e.tags.map((e=>Me.renderSync({tag:e,classes:Ue})));this.ui.tagList.replaceChildren(...t)}}hidePreview(){this.ui.emoji.replaceChildren(),this.ui.name.textContent="",this.ui.tagList.replaceChildren()}}const We=new M((({classes:e,i18n:t})=>`\n \n`)),Ke=new M((({classes:e,i18n:t})=>`\n
      \n \n \n
      \n`),{mode:"async"}),Ze=y("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound");class Je extends q{constructor({categories:e,emojiVersion:t}){super({template:Ke,classes:Ze}),this.categories=e.filter((e=>"recents"!==e.key)),this.emojiVersion=t,this.search=function(e,t){let r=null;return(...o)=>{r&&window.clearTimeout(r),r=window.setTimeout((()=>{e(...o),r=null}),t)}}(this.search.bind(this),100)}initialize(){this.uiElements={searchField:q.byClass(Ze.searchField),searchAccessory:q.byClass(Ze.searchAccessory)},this.uiEvents=[q.childEvent("searchField","keydown",this.onKeyDown),q.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=R("search"),this.notFoundMessage=this.viewFactory.create(He,{message:this.i18n.get("search.notFound"),className:Ze.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(He,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=We.render({classes:Ze,i18n:this.i18n}),this.clearSearchButton.addEventListener("click",(e=>this.onClearSearch(e))),this.searchField=this.ui.searchField,this.showSearchIcon(),this.el}showSearchIcon(){this.showSearchAccessory(this.searchIcon)}showClearSearchButton(){this.showSearchAccessory(this.clearSearchButton)}showSearchAccessory(e){this.ui.searchAccessory.replaceChildren(e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var t;e.stopPropagation(),this.searchField.value="",null==(t=this.resultsContainer)||t.destroy(),this.resultsContainer=null,this.showSearchIcon(),this.events.emit("content:show"),this.searchField.focus()}handleResultsKeydown(e){this.resultsContainer&&"Escape"===e.key&&this.onClearSearch(e)}onKeyDown(e){var t;"Escape"===e.key&&this.searchField.value?this.onClearSearch(e):("Enter"===e.key||"ArrowDown"===e.key)&&this.resultsContainer&&(e.preventDefault(),null==(t=this.resultsContainer.el.querySelector('[tabindex="0"]'))||t.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{const t=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),t.length){const r=new Le;this.resultsContainer=this.viewFactory.create(Se,{emojis:t,fullHeight:!0,showVariants:!0,lazyLoader:r}),this.resultsContainer.renderSync(),null!=(e=this.resultsContainer)&&e.el&&(r.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",(e=>this.handleResultsKeydown(e))),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch{this.events.emit("content:show",this.errorMessage)}}}const Ye=new M((({classes:e})=>`\n
      \n
      \n
      \n
      \n
      \n`)),_e=y("variantOverlay","variantPopup"),Qe={easing:"ease-in-out",duration:250,fill:"both"},Xe={opacity:[0,1]},et={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]};class tt extends q{constructor({emoji:e,parent:t}){super({template:Ye,classes:_e,parent:t}),this.focusedEmojiIndex=0,this.focusTrap=new A,this.animateShow=()=>Promise.all([v(this.el,Xe,Qe,this.options),v(this.ui.popup,et,Qe,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:q.byClass(_e.variantPopup)},this.uiEvents=[q.uiEvent("click",this.handleClick),q.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){const e={...Qe,direction:"reverse"};return Promise.all([v(this.el,Xe,e,this.options),v(this.ui.popup,et,e,this.options)])}async hide(){await this.animateHide(),this.events.emit("variantPopup:hide")}handleKeydown(e){"Escape"===e.key&&(this.hide(),e.stopPropagation())}handleClick(e){this.ui.popup.contains(e.target)||this.hide()}getEmoji(e){return this.renderedEmojis[e]}setFocusedEmoji(e){this.getEmoji(this.focusedEmojiIndex).tabIndex=-1,this.focusedEmojiIndex=e;const t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=0,t.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){const e=[{...this.emoji,skins:null},...(this.emoji.skins||[]).map((e=>({...e,label:this.emoji.label,tags:this.emoji.tags})))];return this.emojiContainer=this.viewFactory.create(Se,{emojis:e,preview:!1}),super.renderSync({emojis:this.emojiContainer}),e.length`\n
    • \n \n \n
    • \n`)),ot=y("categoryTab","categoryTabActive","categoryButton");class nt extends q{constructor({category:e,icon:t}){super({template:rt,classes:ot}),this.isActive=!1,this.category=e,this.icon=t}initialize(){this.uiElements={button:q.byClass(ot.categoryButton)},this.uiEvents=[q.childEvent("button","click",this.selectCategory),q.childEvent("button","focus",this.selectCategory)],super.initialize()}renderSync(){return super.renderSync({category:this.category,icon:this.icon}),this.ui.button.ariaSelected="false",this.el}setActive(e,t={}){const{changeFocusable:r,performFocus:o,scroll:n}={changeFocusable:!0,performFocus:!0,scroll:!0,...t};this.el.classList.toggle(ot.categoryTabActive,e),r&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&o&&(this.ui.button.focus(),n&&this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!1})),this.isActive=e}selectCategory(){this.isActive||this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!0})}}const it=new M((({classes:e})=>`\n
      \n
        \n
        \n
      \n
      \n`)),at=y("categoryButtons","categoryButtonsContainer");class st extends q{constructor({categories:e}){super({template:it,classes:at}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[q.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){const e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,t=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",t&&e?this.el.classList.add("has-overflow-both"):t?this.el.classList.add("has-overflow-left"):e&&this.el.classList.add("has-overflow-right")}renderSync(){return this.tabViews=this.categories.map((e=>this.viewFactory.create(nt,{category:e,icon:I[e.key]}))),super.renderSync({tabs:this.tabViews.map((e=>e.renderSync()))}),this.el}get currentCategory(){return this.categories[this.activeCategoryIndex]}get currentTabView(){return this.tabViews[this.activeCategoryIndex]}setActiveTab(e,t={}){this.checkOverflow();const r=this.currentTabView,o=this.tabViews[e];r.setActive(!1,t),o.setActive(!0,t),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{const t=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(t),{changeFocusable:!0,performFocus:!0})}}}const ct=[{version:15,emoji:String.fromCodePoint(129768)},{version:14,emoji:String.fromCodePoint(128733)},{version:13,emoji:String.fromCodePoint(129729)},{version:12,emoji:String.fromCodePoint(129449)},{version:11,emoji:String.fromCodePoint(129463)},{version:5,emoji:String.fromCodePoint(129322)},{version:4,emoji:String.fromCodePoint(9877)},{version:3,emoji:String.fromCodePoint(129314)},{version:2,emoji:String.fromCodePoint(128488)},{version:1,emoji:String.fromCodePoint(128512)}];function lt(){var e;const t=ct.find((e=>function(e){const t=document.createElement("canvas").getContext("2d");if(t)return t.textBaseline="top",t.font="32px Arial",t.fillText(e,0,0),0!==t.getImageData(16,16,1,1).data[0]}(e.emoji)));return null!=(e=null==t?void 0:t.version)?e:1}function ut(e,t){return Array.from({length:e},(()=>t)).join("")}function dt(e){const{emojiCount:t,classes:r,theme:o,className:n,categoryCount:i}=e;return`\n
      \n ${(({showHeader:t,classes:r})=>t?`\n
      \n ${(({showSearch:e,classes:t})=>e?`\n
      \n
      \n
      \n `:"")(e)}\n ${(({showCategoryTabs:e,classes:t})=>e?`\n
      \n ${ut(i,`
      `)}\n
      \n `:"")(e)}\n
      \n `:"")(e)}\n
      \n
      \n
      \n ${ut(t,`
      `)}\n
      \n
      \n ${(({showPreview:e,classes:t})=>e?`\n
      \n
      \n
      \n
        \n ${ut(3,`
      • `)}\n
      \n
      \n `:"")(e)}\n
      \n `}const ht=new M((e=>e.isLoaded?function(e){const{classes:t,theme:r,className:o=""}=e;return`\n
      \n ${function({showHeader:e,classes:t}){return e?`\n
      \n
      \n
      \n
      \n `:""}(e)}\n
      \n
      \n
      \n
      \n
      \n `}(e):dt(e))),pt=y("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),mt={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"};class gt extends q{constructor(){super({template:ht,classes:pt}),this.pickerReady=!1,this.externalEvents=new fe,this.updaters={styleProperty:e=>t=>this.el.style.setProperty(mt[e],t.toString()),theme:e=>{this.el.classList.remove(this.options.theme),this.el.classList.add(e)},className:e=>{this.options.className&&this.el.classList.remove(this.options.className),this.el.classList.add(e)},emojisPerRow:this.updateStyleProperty.bind(this,"emojisPerRow"),emojiSize:this.updateStyleProperty.bind(this,"emojiSize"),visibleRows:this.updateStyleProperty.bind(this,"visibleRows")}}initialize(){this.uiElements={pickerContent:q.byClass(pt.content),header:q.byClass(pt.header)},this.uiEvents=[q.uiEvent("keydown",this.handleKeyDown)],this.appEvents={error:this.onError,reinitialize:this.reinitialize,"data:ready":this.onDataReady,"content:show":this.showContent,"variantPopup:hide":this.hideVariantPopup,"emoji:select":this.selectEmoji},super.initialize(),this.options.recentsProvider}destroy(){var e,t;super.destroy(),null==(e=this.search)||e.destroy(),this.emojiArea.destroy(),null==(t=this.categoryTabs)||t.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,t){this.externalEvents.on(e,t)}removeEventListener(e,t){this.externalEvents.off(e,t)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){const t=e.ctrlKey||e.metaKey;"s"===e.key&&t&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(Ge)),this.options.showSearch&&(this.search=this.viewFactory.create(Je,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(st,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(ze,{categoryTabs:this.categoryTabs,categories:this.categories,emojiVersion:this.emojiVersion}),[this.preview,this.search,this.emojiArea,this.categoryTabs]}setStyleProperties(){this.options.showSearch||this.el.style.setProperty("--search-height-full","0px"),this.options.showCategoryTabs||(this.el.style.setProperty("--category-tabs-height","0px"),this.el.style.setProperty("--category-tabs-offset","0px")),this.options.showPreview||this.el.style.setProperty("--emoji-preview-height-full","0px"),Object.keys(mt).forEach((e=>{this.options[e]&&this.el.style.setProperty(mt[e],this.options[e].toString())}))}updateStyleProperty(e,t){this.el.style.setProperty(mt[e],t.toString())}reinitialize(){this.renderSync()}onError(e){const t=this.viewFactory.create(Ne,{message:this.i18n.get("error.load")}),r=this.el.offsetHeight||375;throw this.el.style.height=`${r}px`,this.el.replaceChildren(t.renderSync()),e}async onDataReady(e){const t=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,"auto"===this.options.emojiVersion?this.emojiVersion=lt()||parseFloat("14.0"):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);const[r,o,n,i]=this.buildChildViews();await super.render({isLoaded:!0,search:o,categoryTabs:i,emojiArea:n,preview:r,showHeader:Boolean(this.search||this.categoryTabs),theme:this.options.theme,className:this.options.className}),this.el.style.setProperty("--category-count",this.categories.length.toString()),this.pickerReady=!0,t.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(r){this.events.emit("error",r)}}renderSync(){var e;let t=(null==(e=this.options.categories)?void 0:e.length)||10;if(this.options.showRecents&&(t+=1),super.renderSync({isLoaded:!1,theme:this.options.theme,showSearch:this.options.showSearch,showPreview:this.options.showPreview,showCategoryTabs:this.options.showCategoryTabs,showHeader:this.options.showSearch||this.options.showCategoryTabs,emojiCount:this.options.emojisPerRow*this.options.visibleRows,categoryCount:t}),this.el.style.setProperty("--category-count",t.toString()),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return this.options.rootElement.replaceChildren(this.el),this.setStyleProperties(),this.pickerReady&&this.initializePickerView(),this.el}getInitialFocusTarget(){if(typeof this.options.autoFocus<"u")switch(this.options.autoFocus){case"emojis":return this.emojiArea.focusableEmoji;case"search":return this.search;case"auto":return this.search||this.emojiArea.focusableEmoji;default:return null}if(!0===this.options.autoFocusSearch)return console.warn("options.autoFocusSearch is deprecated, please use options.focusTarget instead"),this.search}setInitialFocus(){var e;!this.pickerReady||null==(e=this.getInitialFocusTarget())||e.focus()}reset(e=!0){var t;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),null==(t=this.search)||t.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var t,r;e!==this.currentView&&(this.currentView!==this.emojiArea&&(null==(t=this.currentView)||t.destroy()),this.ui.pickerContent.classList.toggle(pt.fullHeight,e!==this.emojiArea),this.ui.pickerContent.replaceChildren(e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):null==(r=this.categoryTabs)||r.el.remove())}hideVariantPopup(){var e;null==(e=this.variantPopup)||e.destroy()}isPickerClick(e){var t,r;const o=e.target,n=this.el.contains(o),i=null==(r=null==(t=this.variantPopup)?void 0:t.el)?void 0:r.contains(o);return n||i}async selectEmoji({emoji:e}){var t,r;(null==(t=e.skins)?void 0:t.length)&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await(null==(r=this.variantPopup)?void 0:r.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){const t=document.activeElement;this.events.once("variantPopup:hide",(()=>{null==t||t.focus()})),this.variantPopup=this.viewFactory.create(tt,{emoji:e,parent:this.el}),this.el.appendChild(this.variantPopup.renderSync()),this.variantPopup.activate()}async emitEmoji(e){this.externalEvents.emit("emoji:select",await this.renderer.doEmit(e)),this.options.recentsProvider.addOrUpdateRecent(e,this.options.maxRecents),this.events.emit("recent:add",e)}updateOptions(e){Object.keys(e).forEach((t=>{this.updaters[t](e[t])})),Object.assign(this.options,e)}}class ft{constructor({events:e,i18n:t,renderer:r,emojiData:o,options:n,customEmojis:i=[],pickerId:a}){this.events=e,this.i18n=t,this.renderer=r,this.emojiData=o,this.options=n,this.customEmojis=i,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}create(e,...t){const r=new e(...t);return r.setPickerId(this.pickerId),r.setEvents(this.events),r.setI18n(this.i18n),r.setRenderer(this.renderer),r.setEmojiData(this.emojiData),r.setOptions(this.options),r.setCustomEmojis(this.customEmojis),r.viewFactory=this,r.initialize(),r}}var vt;class bt{constructor(e={}){i(this,vt,void 0),a(this,vt,new Map(Object.entries(e)))}get(e,t=e){return n(this,vt).get(e)||t}}vt=new WeakMap;let yt=0;const wt=function(){let e=!1;return function(t){me&&!e&&(function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&!(typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}(t),e=!0)}}();function Ct(e){wt('.picmo-picker .icon{width:1.25em;height:1em;fill:currentColor}.icon-small{font-size:.8em}.icon-medium{font-size:1em}.icon-large{font-size:1.25em}.icon-2x{font-size:2em}.icon-3x{font-size:3em}.icon-4x{font-size:4em}.icon-5x{font-size:5em}.icon-8x{font-size:8em}.icon-10x{font-size:10em}.light,.auto{color-scheme:light;--accent-color: #4f46e5;--background-color: #f9fafb;--border-color: #cccccc;--category-name-background-color: #f9fafb;--category-name-button-color: #999999;--category-name-text-color: hsl(214, 30%, 50%);--category-tab-active-background-color: rgba(255, 255, 255, .6);--category-tab-active-color: var(--accent-color);--category-tab-color: #666;--category-tab-highlight-background-color: rgba(0, 0, 0, .15);--error-color-dark: hsl(0, 100%, 45%);--error-color: hsl(0, 100%, 40%);--focus-indicator-background-color: hsl(198, 65%, 85%);--focus-indicator-color: #333333;--hover-background-color: #c7d2fe;--placeholder-background-color: #cccccc;--preview-background-color: var(--secondary-background-color);--scrollbar-background-color: var(--background-color);--scrollbar-color: #aaa;--search-background-color: #f9fafb;--search-focus-background-color: #ffffff;--search-icon-color: #999999;--search-placeholder-color: #71717a;--secondary-background-color: #e2e8f0;--secondary-text-color: #666666;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #000000;--variant-popup-background-color: #ffffff}.dark{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000 ;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}@media (prefers-color-scheme: dark){.auto{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000 ;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}}.picmo-picker .categoryButtonsContainer{overflow:auto;padding:2px 0;scrollbar-width:thin}.picmo-picker .categoryButtonsContainer.has-overflow-right{mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo-picker .categoryButtonsContainer.has-overflow-left{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo-picker .categoryButtonsContainer.has-overflow-both{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%)}.picmo-picker .categoryButtonsContainer::-webkit-scrollbar{width:8px;height:8px}.picmo-picker .categoryButtonsContainer::-webkit-scrollbar-thumb{background:var(--scrollbar-color);border-radius:1em}.picmo-picker .categoryButtons{display:flex;flex-direction:row;gap:var(--tab-gap);margin:0;padding:0 .5em;align-items:center;height:var(--category-tabs-height);box-sizing:border-box;width:100%;justify-content:space-between;position:relative;list-style-type:none;justify-self:center;max-width:min(23.55rem,calc(var(--category-count, 1) * 2.5rem))}.picmo-picker .categoryButtons .categoryTab{display:flex;align-items:center;transition:all .1s;width:2em}.picmo-picker .categoryButtons .categoryTab.categoryTabActive .categoryButton{color:var(--category-tab-active-color);background:linear-gradient(rgba(255,255,255,.75) 0%,rgba(255,255,255,.75) 100%),linear-gradient(var(--category-tab-active-color) 0%,var(--category-tab-active-color) 100%);border:2px solid var(--category-tab-active-color)}.picmo-picker .categoryButtons .categoryTab.categoryTabActive .categoryButton:hover{background-color:var(--category-tab-active-background-color)}.picmo-picker .categoryButtons .categoryTab button.categoryButton{border-radius:5px;background:transparent;border:2px solid transparent;color:var(--category-tab-color);cursor:pointer;padding:2px;vertical-align:middle;display:flex;align-items:center;justify-content:center;font-size:1.2rem;width:1.6em;height:1.6em;transition:all .1s}.picmo-picker .categoryButtons .categoryTab button.categoryButton:is(img){width:var(--category-tab-size);height:var(--category-tab-size)}.picmo-picker .categoryButtons .categoryTab button.categoryButton:hover{background:var(--category-tab-highlight-background-color)}.dataError [data-icon]{opacity:.8}@keyframes appear{0%{opacity:0}to{opacity:.8}}@keyframes appear-grow{0%{opacity:0;transform:scale(.8)}to{opacity:.8;transform:scale(1)}}.picmo-picker .error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--secondary-text-color)}.picmo-picker .error .iconContainer{opacity:.8;animation:appear-grow .25s cubic-bezier(.175,.885,.32,1.275);--color-primary: var(--error-color);--color-secondary: var(--error-color-dark)}.picmo-picker .error .title{animation:appear .25s;animation-delay:50ms;animation-fill-mode:both}.picmo-picker .error button{padding:8px 16px;cursor:pointer;background:var(--background-color);border:1px solid var(--text-color);border-radius:5px;color:var(--text-color)}.picmo-picker .error button:hover{background:var(--text-color);color:var(--background-color)}.emojiButton{background:transparent;border:none;border-radius:15px;cursor:pointer;display:flex;font-family:var(--emoji-font);font-size:var(--emoji-size);height:100%;justify-content:center;align-items:center;margin:0;overflow:hidden;padding:0;width:100%}.emojiButton:hover{background:var(--hover-background-color)}.emojiButton:focus{border-radius:0;background:var(--focus-indicator-background-color);outline:1px solid var(--focus-indicator-color)}.picmo-picker .emojiArea{height:var(--emoji-area-height);overflow-y:auto;position:relative;scrollbar-color:var(--scrollbar-color) var(--scrollbar-background-color);scrollbar-width:thin}.picmo-picker .emojiArea::-webkit-scrollbar{background:var(--scrollbar-background-color);width:1.1em}.picmo-picker .emojiArea::-webkit-scrollbar-thumb{background:var(--scrollbar-color);border-left:4px solid transparent;border-right:4px solid transparent;background-clip:padding-box;height:1em;border-radius:1em}.picmo-picker .emojiCategory{position:relative}.picmo-picker .emojiCategory .categoryName{font-size:.9em;padding:.5rem;margin:0;background:var(--category-name-background-color);color:var(--category-name-text-color);top:0;z-index:1;display:grid;gap:4px;grid-template-columns:auto 1fr auto;align-items:center;line-height:1;box-sizing:border-box;height:var(--category-name-height);justify-content:flex-start;text-transform:uppercase}.picmo-picker .emojiCategory .categoryName button{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;color:var(--category-name-button-color)}.picmo-picker .emojiCategory .categoryName button:hover{opacity:1}.picmo-picker .emojiCategory .noRecents{color:var(--secondary-text-color);grid-column:1 / span var(--emojis-per-row);font-size:.9em;text-align:center;display:flex;align-items:center;justify-content:center;min-height:calc(var(--emoji-size) * var(--emoji-size-multiplier))}.picmo-picker .emojiCategory .recentEmojis[data-empty=true]{display:none}:is(.picmo-picker .emojiCategory) .recentEmojis[data-empty=false]+div{display:none}.picmo-picker .emojiContainer{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center}.picmo-picker.picker{--border-radius: 5px;--emoji-area-height: calc( (var(--row-count) * var(--emoji-size) * var(--emoji-size-multiplier)) + var(--category-name-height) );--content-height: var(--emoji-area-height);--emojis-per-row: 8;--row-count: 6;--emoji-preview-margin: 4px;--emoji-preview-height: calc(var(--emoji-preview-size) + 1em + 1px);--emoji-preview-height-full: calc(var(--emoji-preview-height) + var(--emoji-preview-margin));--emoji-preview-size: 2.75em;--emoji-size: 2rem;--emoji-size-multiplier: 1.3;--content-margin: 8px;--category-tabs-height:calc(1.5em + 9px);--category-tabs-offset: 8px;--category-tab-size: 1.2rem;--category-name-height: 2rem;--category-name-padding-y: 6px;--search-height: 2em;--search-margin: .5em;--search-margin-bottom: 4px;--search-height-full: calc(var(--search-height) + var(--search-margin) + var(--search-margin-bottom));--overlay-background-color: rgba(0, 0, 0, .8);--emoji-font: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";--ui-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;--ui-font-size: 16px;--picker-width: calc(var(--emojis-per-row) * var(--emoji-size) * var(--emoji-size-multiplier) + 2.75rem);background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);font-size:var(--ui-font-size);overflow:hidden;position:relative;width:var(--picker-width);display:grid;gap:8px}.picmo-picker.picker>*{font-family:var(--ui-font)}.picmo-picker.skeleton{background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);width:var(--picker-width);color:var(--secondary-text-color)}.picmo-picker.skeleton *{box-sizing:border-box}.picmo-picker.skeleton .placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.picmo-picker.skeleton .placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}.picmo-picker.skeleton .headerSkeleton{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column;overflow:hidden;gap:8px;border-bottom:1px solid var(--border-color);width:var(--picker-width)}.picmo-picker.skeleton .searchSkeleton{padding:0 8px;height:var(--search-height)}.picmo-picker.skeleton .searchSkeleton .searchInput{width:100%;height:28px;border-radius:3px}.picmo-picker.skeleton .categoryTabsSkeleton{height:var(--category-tabs-height);display:flex;flex-direction:row;align-items:center;justify-self:center;width:calc(2rem * var(--category-count, 1))}.picmo-picker.skeleton .categoryTabsSkeleton .categoryTab{width:25px;height:25px;padding:2px;border-radius:5px;margin:.25em}.picmo-picker.skeleton .contentSkeleton{height:var(--content-height);padding-right:8px;opacity:.7}.picmo-picker.skeleton .contentSkeleton .categoryName{width:50%;height:1rem;margin:.5rem;box-sizing:border-box}.picmo-picker.skeleton .contentSkeleton .emojiGrid{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center;width:var(--picker-width)}.picmo-picker.skeleton .contentSkeleton .emojiGrid .emoji{width:var(--emoji-size);height:var(--emoji-size);border-radius:50%}.picmo-picker.skeleton .previewSkeleton{height:var(--emoji-preview-height);border-top:1px solid var(--border-color);display:grid;align-items:center;padding:.5em;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags"}.picmo-picker.skeleton .previewSkeleton .previewEmoji{grid-area:emoji;border-radius:50%;width:var(--emoji-preview-size);height:var(--emoji-preview-size)}.picmo-picker.skeleton .previewSkeleton .previewName{grid-area:name;height:.8em;width:80%}.picmo-picker.skeleton .previewSkeleton .tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0}.picmo-picker.skeleton .previewSkeleton .tagList .tag{border-radius:3px;padding:2px 8px;margin-right:.25em;height:1em;width:20%}.overlay{background:rgba(0,0,0,.75);height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.content{position:relative;overflow:hidden;height:var(--content-height)}.content.fullHeight{height:calc(var(--content-height) + var(--category-tabs-height) + var(--category-tabs-offset));overflow-y:auto;scrollbar-color:var(--scrollbar-color) var(--scrollbar-background-color);scrollbar-width:thin}.content.fullHeight::-webkit-scrollbar{background:var(--scrollbar-background-color);width:1.1em}.content.fullHeight::-webkit-scrollbar-thumb{background:var(--scrollbar-color);background-clip:padding-box;height:1em;border-radius:.5em}.pluginContainer{margin:.5em;display:flex;flex-direction:row}.header{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:grid;gap:8px;border-bottom:1px solid var(--border-color)}@media (prefers-reduced-motion: reduce){.placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.placeholder:after{display:none}}.picmo-picker .preview{border-top:1px solid var(--border-color);display:grid;align-items:center;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags";height:var(--emoji-preview-height);box-sizing:border-box;padding:.5em;position:relative;background:var(--preview-background-color)}.picmo-picker .preview .previewEmoji{grid-area:emoji;font-size:var(--emoji-preview-size);font-family:var(--emoji-font);width:1.25em;display:flex;align-items:center;justify-content:center}.picmo-picker .preview .previewName{grid-area:name;color:var(--text-color);font-size:.8em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.picmo-picker .preview .tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0;font-size:.75em;overflow:hidden}.picmo-picker .preview .tag{border-radius:3px;background:var(--tag-background-color);color:var(--text-color);padding:2px 8px;margin-right:.25em;white-space:nowrap}.picmo-picker .preview .tag:last-child{margin-right:0}.picmo-picker .searchContainer{display:flex;height:var(--search-height);box-sizing:border-box;padding:0 8px;position:relative}.picmo-picker .searchContainer .searchField{background:var(--search-background-color);border-radius:3px;border:none;box-sizing:border-box;color:var(--text-color);font-size:.9em;outline:none;padding:.5em 2.25em .5em .5em;width:100%}.picmo-picker .searchContainer .searchField:focus{background:var(--search-focus-background-color)}.picmo-picker .searchContainer .searchField::placeholder{color:var(--search-placeholder-color)}.picmo-picker .searchContainer .searchAccessory{color:var(--search-icon-color);height:100%;position:absolute;right:1em;top:0;width:1.25rem;display:flex;align-items:center}.picmo-picker .searchContainer .searchAccessory svg{fill:var(--search-icon-color)}.picmo-picker .searchContainer .clearButton{border:0;color:var(--search-icon-color);background:transparent;cursor:pointer}.picmo-picker .searchContainer .clearSearchButton{cursor:pointer;border:none;background:transparent;color:var(--search-icon-color);font-size:1em;width:100%;height:100%;display:flex;align-items:center;padding:0}.picmo-picker .searchContainer .notFound [data-icon]{fill:#f3e265}.picmo-picker .variantOverlay{background:var(--overlay-background-color);border-radius:5px;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.picmo-picker .variantOverlay .variantPopup{background:var(--variant-popup-background-color);border-radius:5px;margin:.5em;padding:.5em;text-align:center;user-select:none;display:flex;align-items:center;justify-content:center}.customEmoji{width:1em;height:1em}@keyframes shine{to{transform:translate(100%)}}.picmo-picker .imagePlaceholder{width:2rem;height:2rem;border-radius:50%}.placeholder{background:#DDDBDD;position:relative}.placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}\n');const t=function(e={}){return{...se,...e,renderer:e.renderer||new J,recentsProvider:e.recentsProvider||new ae}}(e),r=((null==t?void 0:t.custom)||[]).map((e=>({...e,custom:!0,tags:["custom",...e.tags||[]]}))),o=new ge,n=function(e){return S(e.locale,e.dataStore,e.messages,e.emojiData)}(t),i=new bt(t.i18n);n.then((e=>{o.emit("data:ready",e)})).catch((e=>{o.emit("error",e)}));const a=new ft({events:o,i18n:i,customEmojis:r,renderer:t.renderer,options:t,emojiData:n,pickerId:`picmo-${Date.now()}-${yt++}`}).create(gt);return a.renderSync(),a}},45628:function(e,t,r){"use strict";function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function n(e){var t,r;return!1!==o(e)&&(void 0===(t=e.constructor)||!1!==o(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}r.d(t,{P:function(){return n}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3052-a3487e8b8eb2f8ef.js b/static/web/_next/static/chunks/3052-a29d420814328ba6.js similarity index 59% rename from static/web/_next/static/chunks/3052-a3487e8b8eb2f8ef.js rename to static/web/_next/static/chunks/3052-a29d420814328ba6.js index 33e076491..f180b75ec 100644 --- a/static/web/_next/static/chunks/3052-a3487e8b8eb2f8ef.js +++ b/static/web/_next/static/chunks/3052-a29d420814328ba6.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3052],{33052:function(e,n,t){"use strict";t.d(n,{h:function(){return re},Z:function(){return ae}});var r=t(85893),a=t(97183),s=t(94199),i=t(20550),o=t(828),c=t(66516),l=t(38504),d=t(71577),u=t(26713),h=t(86548),p=t(94149),x=t(38545),v=t(87547),f=t(39398),j=t(4480),m=t(67294),g=t(49218),y=t(32365),Z=t(1899),w=t(47093),_=t.n(w),C=t(29815),b=t(38939),A=t(69677),k=t(11622),N=b.Z.Option,I=function(e){var n=e.color,t={textAlign:"center",backgroundColor:"var(--theme-color-users-".concat(n,")"),width:"100%",height:"100%"};return(0,r.jsx)("div",{style:t})},S=function(){var e=(0,j.sJ)(Z.Gt),n=(0,j.sJ)(Z.w4),t=(0,j.sJ)(Z.nk)||0,a=(0,m.useState)(n),s=a[0],i=a[1],o=s!==n&&""!==s&&(null===e||void 0===e?void 0:e.isConnected()),c=(0,C.Z)(Array(8)).map((function(e,n){return n}));return(0,r.jsxs)("div",{children:["Your chat display name is what people see when you send chat messages. Other information can go here to mention auth, and stuff.",(0,r.jsx)(A.Z,{value:s,onChange:function(e){return i(e.target.value)},placeholder:"Your chat display name",maxLength:30,showCount:!0,defaultValue:n}),(0,r.jsx)(d.Z,{disabled:!o,onClick:function(){var n={type:k.C.NAME_CHANGE,newName:s};e.send(n)},children:"Change name"}),(0,r.jsxs)("div",{children:["Your Color",(0,r.jsx)(b.Z,{style:{width:120},onChange:function(n){var t={type:k.C.COLOR_CHANGE,newColor:Number(n)};e.send(t)},defaultValue:t.toString(),getPopupContainer:function(e){return e.parentElement},children:c.map((function(e){return(0,r.jsx)(N,{title:e,children:(0,r.jsx)(I,{color:e})},e.toString())}))})]})]})},T=t(2944),F=t(47568),O=t(70655),E=t(54907),L=t(84485),J=t(11382),H=t(14670),M=t(19411),P=E.Z.Panel,B=L.Z.Link,U=function(e){var n=e.authenticated,t=e.displayName,a=e.accessToken,s=(0,m.useState)(null),i=s[0],o=s[1],c=(0,m.useState)(!1),l=c[0],h=c[1],p=(0,m.useState)(!1),x=p[0],v=p[1],f=(0,m.useState)(""),j=f[0],g=f[1],y=n?(0,r.jsxs)("span",{children:[(0,r.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,r.jsxs)("span",{children:["Use your own domain to authenticate ",(0,r.jsx)("span",{children:t})," or login as a previously"," ","authenticated chat user using IndieAuth."]}),Z=i;Z&&Z.includes("url does not support indieauth")&&(Z="The provided URL is either invalid or does not support IndieAuth.");var w=function(){var e=(0,F.Z)((function(){var e,n,t,r,s,i;return(0,O.__generator)(this,(function(c){switch(c.label){case 0:if(!x)return[2];h(!0),c.label=1;case 1:return c.trys.push([1,4,,5]),e="/api/auth/indieauth?accessToken=".concat(a),n="https://".concat(j),t={authHost:n},[4,fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)})];case 2:return[4,c.sent().json()];case 3:return(r=c.sent()).message?(o(r.message),h(!1),[2]):r.redirect?(r.redirect&&(s=r.redirect,window.location=s),[3,5]):(o("Auth provider did not return a redirect URL."),h(!1),[2]);case 4:return i=c.sent(),o(i.message),[3,5];case 5:return h(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,r.jsx)(J.Z,{spinning:l,children:(0,r.jsxs)(u.Z,{direction:"vertical",children:[y,Z&&(0,r.jsx)(H.Z,{message:"Error",description:Z,type:"error",showIcon:!0}),(0,r.jsx)("div",{children:"Your domain"}),(0,r.jsx)(A.Z.Search,{addonBefore:"https://",onInput:function(e){if(":"!==e.nativeEvent.data){g(e.target.value);var n,t="https://".concat(e.target.value);n=t,(0,M.Z)(n)&&n.includes(".")?v(!0):v(!1)}},type:"url",value:j,placeholder:"yoursite.com",status:!x&&j.length>0?"error":void 0,onPressEnter:w,enterButton:(0,r.jsx)(d.Z,{onClick:w,disabled:!x,children:"Authenticate with your domain"})}),(0,r.jsx)(E.Z,{ghost:!0,children:(0,r.jsxs)(P,{header:"Learn more about using IndieAuth to authenticate with chat.",children:[(0,r.jsx)("p",{children:"IndieAuth allows for a completely independent and decentralized way of identifying yourself using your own domain."}),(0,r.jsxs)("p",{children:["If you run an Owncast instance, you can use that domain here. Otherwise,"," ",(0,r.jsx)(B,{href:"https://indieauth.net/#providers",children:"learn more about how you can support IndieAuth"}),"."]})]},"header")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})},R=t(55237),Y=t.n(R);var z=E.Z.Panel,D=function(e){var n=e.authenticated,t=e.displayName,a=e.accessToken,s=(0,m.useState)(null),i=s[0],o=s[1],c=(0,m.useState)(!1),l=c[0],h=c[1],p=(0,m.useState)(!1),x=p[0],v=p[1],f=(0,m.useState)(""),j=f[0],g=f[1],y=(0,m.useState)(""),Z=y[0],w=y[1],_=(0,m.useState)(!1),C=_[0],b=_[1],k=n?(0,r.jsxs)("span",{children:[(0,r.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,r.jsxs)("span",{children:["Receive a direct message on the Fediverse to link your account to"," ",(0,r.jsx)("strong",{children:t}),", or login as a previously linked chat user."]}),N=i;N&&N.includes("url does not support indieauth")&&(N="The provided URL is either invalid or does not support IndieAuth.");var I=function(e){v(function(e){var n=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(n).toLowerCase())}(e))},S=function(){var e=(0,F.Z)((function(e,n){var t;return(0,O.__generator)(this,(function(r){switch(r.label){case 0:return[4,fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)})];case 1:return[4,r.sent().json()];case 2:return(t=r.sent()).message&&(o(t.message),h(!1)),[2]}}))}));return function(n,t){return e.apply(this,arguments)}}(),T=function(){var e=(0,F.Z)((function(){var e,n,t;return(0,O.__generator)(this,(function(r){switch(r.label){case 0:h(!0),e="/api/auth/fediverse/verify?accessToken=".concat(a),n={code:Z},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,S(e,n)];case 2:return r.sent(),window.location.href="/",[3,4];case 3:return t=r.sent(),console.error(t),o(t),[3,4];case 4:return h(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),L=function(){var e=(0,F.Z)((function(){var e,n,t,r;return(0,O.__generator)(this,(function(s){switch(s.label){case 0:if(!x)return[2];h(!0),o(null),e="/api/auth/fediverse?accessToken=".concat(a),n=j.replace(/^@+/,""),t={account:n},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,S(e,t)];case 2:return s.sent(),b(!0),[3,4];case 3:return r=s.sent(),console.error(r),o(r),[3,4];case 4:return h(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),M=(0,r.jsxs)("div",{children:["Paste in the code that was sent to your Fediverse account. If you did not receive a code, make sure you can accept direct messages.",(0,r.jsxs)("div",{className:Y().codeInputContainer,children:[(0,r.jsx)(A.Z,{value:Z,onChange:function(e){return w(e.target.value)},className:Y().codeInput,placeholder:"123456",maxLength:6}),(0,r.jsx)(d.Z,{type:"primary",onClick:T,disabled:Z.length<6,className:Y().submitButton,children:"Verify Code"})]})]}),P=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"Your Fediverse Account"}),(0,r.jsx)(A.Z.Search,{addonBefore:"@",onInput:function(e){g(e.target.value),I(e.target.value)},value:j,placeholder:"youraccount@yourserver.com",status:!x&&j.length>0?"error":void 0,onPressEnter:L,enterButton:(0,r.jsx)(d.Z,{onClick:L,disabled:!x,children:"Authenticate with Fediverse"})})]});return(0,r.jsx)(J.Z,{spinning:l,children:(0,r.jsxs)(u.Z,{direction:"vertical",children:[k,N&&(0,r.jsx)(H.Z,{message:"Error",description:N,type:"error",showIcon:!0}),C?M:P,(0,r.jsx)(E.Z,{ghost:!0,children:(0,r.jsx)(z,{header:"Learn more about using the Fediverse to authenticate with chat.",children:(0,r.jsx)("p",{children:"xxxxxx"})},"header")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})},V="/_next/static/media/fediverse-black.0b51c805.png",G="/_next/static/media/indieauth.38c52a3d.png",K=t(67211),Q=t.n(K),X=T.Z.TabPane,$=function(){var e=(0,j.sJ)(Z.w4),n=(0,j.sJ)(Z.L4),t=(0,j.sJ)(Z.FI);return(0,r.jsx)("div",{children:(0,r.jsxs)(T.Z,{defaultActiveKey:"1",type:"card",size:"small",renderTabBar:null,children:[(0,r.jsx)(X,{tab:(0,r.jsxs)("span",{className:Q().tabContent,children:[(0,r.jsx)("img",{className:Q().icon,src:G,alt:"IndieAuth"}),"IndieAuth"]}),children:(0,r.jsx)(U,{authenticated:n,displayName:e,accessToken:t})},"1"),(0,r.jsx)(X,{tab:(0,r.jsxs)("span",{className:Q().tabContent,children:[(0,r.jsx)("img",{className:Q().icon,src:V,alt:"Fediverse auth"}),"FediAuth"]}),children:(0,r.jsx)(D,{authenticated:n,displayName:e,accessToken:t})},"2")]})})},q=function(e){var n=e.username,t=(void 0===n?void 0:n)||(0,j.sJ)(Z.w4),a=(0,m.useState)(!1),s=a[0],i=a[1],w=(0,m.useState)(!1),C=w[0],b=w[1],A=(0,o.Z)((0,j.FV)(Z.ZA),2),k=A[0],N=A[1],I=(0,j.sJ)(Z.Q),T=function(){N(!k)};(0,g.y1)("c",T,{enableOnContentEditable:!1},[k]);var F=(0,r.jsxs)(c.Z,{children:[(0,r.jsx)(c.Z.Item,{icon:(0,r.jsx)(h.Z,{}),onClick:function(){i(!0)},children:"Change name"},"0"),(0,r.jsx)(c.Z.Item,{icon:(0,r.jsx)(p.Z,{}),onClick:function(){return b(!0)},children:"Authenticate"},"1"),I.chatAvailable&&(0,r.jsx)(c.Z.Item,{icon:(0,r.jsx)(x.Z,{}),onClick:function(){return T()},children:"Toggle chat"},"3")]});return(0,r.jsxs)("div",{className:"".concat(_().root),children:[(0,r.jsx)(l.Z,{overlay:F,trigger:["click"],children:(0,r.jsx)(d.Z,{type:"primary",icon:(0,r.jsx)(v.Z,{style:{marginRight:".5rem"}}),children:(0,r.jsxs)(u.Z,{children:[t,(0,r.jsx)(f.Z,{})]})})}),(0,r.jsx)(y.u,{title:"Change Chat Display Name",visible:s,handleCancel:function(){return i(!1)},children:(0,r.jsx)(S,{})}),(0,r.jsx)(y.u,{title:"Authenticate",visible:C,handleCancel:function(){return b(!1)},children:(0,r.jsx)($,{})})]})},W=t(60113),ee=t(92910),ne=t.n(ee),te=a.Z.Header,re=function(e){var n=e.name,t=void 0===n?"Your stream title":n,a=e.chatAvailable,o=e.chatDisabled;return(0,r.jsxs)(te,{className:"".concat(ne().header),children:[(0,r.jsxs)("div",{className:"".concat(ne().logo),children:[(0,r.jsx)(W.C,{variant:"contrast"}),(0,r.jsx)("span",{children:t})]}),a&&!o&&(0,r.jsx)(q,{}),!a&&!o&&(0,r.jsx)(s.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(i.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})},ae=re},32365:function(e,n,t){"use strict";t.d(n,{u:function(){return d}});var r=t(85893),a=t(85402),s=t(26303),i=t(11382),o=t(67294),c=t(78890),l=t.n(c),d=function(e){var n=e.title,t=e.url,c=e.visible,d=e.handleOk,u=e.handleCancel,h=e.afterClose,p=e.height,x=e.width,v=e.children,f=(0,o.useState)(!!t),j=f[0],m=f[1],g={padding:"0px",minHeight:p},y=t&&(0,r.jsx)("iframe",{title:n,src:t,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,onLoad:function(){return m(!1)}}),Z=j?"none":"inline";return(0,r.jsx)(a.Z,{title:n,visible:c,onOk:d,onCancel:u,afterClose:h,bodyStyle:g,width:x,zIndex:9999,footer:null,centered:!0,destroyOnClose:!0,children:(0,r.jsxs)(r.Fragment,{children:[j&&(0,r.jsx)(s.Z,{active:j,style:{padding:"10px"},paragraph:{rows:10}}),y&&(0,r.jsx)("div",{style:{display:Z},children:y}),v&&(0,r.jsx)("div",{className:l().content,children:v}),j&&(0,r.jsx)(i.Z,{className:l().spinner,spinning:j,size:"large"})]})})};d.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0,height:"40vh",width:"70%"}},47093:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},67211:function(e){e.exports={tabContent:"AuthModal_tabContent__KgMU3",icon:"AuthModal_icon__kpEuV"}},55237:function(e){e.exports={codeInputContainer:"FediAuthModal_codeInputContainer__M_dAD",codeInput:"FediAuthModal_codeInput__dIE6u",submitButton:"FediAuthModal_submitButton__iuF9R"}},92910:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}},78890:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3052],{33052:function(e,n,t){"use strict";t.d(n,{h:function(){return re},Z:function(){return ae}});var r=t(85893),a=t(97183),s=t(94199),i=t(20550),o=t(828),c=t(66516),u=t(38504),d=t(71577),l=t(26713),h=t(86548),p=t(94149),x=t(38545),v=t(87547),f=t(39398),j=t(4480),m=t(67294),g=t(49218),y=t(32365),Z=t(1899),_=t(47093),b=t.n(_),C=t(29815),w=t(38939),A=t(69677),k=t(11622),I=w.Z.Option,N=function(e){var n=e.color,t={textAlign:"center",backgroundColor:"var(--theme-color-users-".concat(n,")"),width:"100%",height:"100%"};return(0,r.jsx)("div",{style:t})},S=function(){var e=(0,j.sJ)(Z.Gt),n=(0,j.sJ)(Z.w4),t=(0,j.sJ)(Z.nk)||0,a=(0,m.useState)(n),s=a[0],i=a[1],o=s!==n&&""!==s&&(null===e||void 0===e?void 0:e.isConnected()),c=(0,C.Z)(Array(8)).map((function(e,n){return n}));return(0,r.jsxs)("div",{children:["Your chat display name is what people see when you send chat messages. Other information can go here to mention auth, and stuff.",(0,r.jsx)(A.Z,{value:s,onChange:function(e){return i(e.target.value)},placeholder:"Your chat display name",maxLength:30,showCount:!0,defaultValue:n}),(0,r.jsx)(d.Z,{disabled:!o,onClick:function(){var n={type:k.C.NAME_CHANGE,newName:s};e.send(n)},children:"Change name"}),(0,r.jsxs)("div",{children:["Your Color",(0,r.jsx)(w.Z,{style:{width:120},onChange:function(n){var t={type:k.C.COLOR_CHANGE,newColor:Number(n)};e.send(t)},defaultValue:t.toString(),getPopupContainer:function(e){return e.parentElement},children:c.map((function(e){return(0,r.jsx)(I,{title:e,children:(0,r.jsx)(N,{color:e})},e.toString())}))})]})]})},T=t(2944),E=t(47568),F=t(70655),L=t(54907),J=t(84485),O=t(11382),H=t(14670),P=t(19411),U=L.Z.Panel,B=J.Z.Link,M=function(e){var n=e.authenticated,t=e.displayName,a=e.accessToken,s=(0,m.useState)(null),i=s[0],o=s[1],c=(0,m.useState)(!1),u=c[0],h=c[1],p=(0,m.useState)(!1),x=p[0],v=p[1],f=(0,m.useState)(""),j=f[0],g=f[1],y=n?(0,r.jsxs)("span",{children:[(0,r.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,r.jsxs)("span",{children:["Use your own domain to authenticate ",(0,r.jsx)("span",{children:t})," or login as a previously"," ","authenticated chat user using IndieAuth."]}),Z=i;Z&&Z.includes("url does not support indieauth")&&(Z="The provided URL is either invalid or does not support IndieAuth.");var _=function(){var e=(0,E.Z)((function(){var e,n,t,r,s,i;return(0,F.__generator)(this,(function(c){switch(c.label){case 0:if(!x)return[2];h(!0),c.label=1;case 1:return c.trys.push([1,4,,5]),e="/api/auth/indieauth?accessToken=".concat(a),n="https://".concat(j),t={authHost:n},[4,fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)})];case 2:return[4,c.sent().json()];case 3:return(r=c.sent()).message?(o(r.message),h(!1),[2]):r.redirect?(r.redirect&&(s=r.redirect,window.location=s),[3,5]):(o("Auth provider did not return a redirect URL."),h(!1),[2]);case 4:return i=c.sent(),o(i.message),[3,5];case 5:return h(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,r.jsx)(O.Z,{spinning:u,children:(0,r.jsxs)(l.Z,{direction:"vertical",children:[y,Z&&(0,r.jsx)(H.Z,{message:"Error",description:Z,type:"error",showIcon:!0}),(0,r.jsx)("div",{children:"Your domain"}),(0,r.jsx)(A.Z.Search,{addonBefore:"https://",onInput:function(e){if(":"!==e.nativeEvent.data){g(e.target.value);var n,t="https://".concat(e.target.value);n=t,(0,P.Z)(n)&&n.includes(".")?v(!0):v(!1)}},type:"url",value:j,placeholder:"yoursite.com",status:!x&&j.length>0?"error":void 0,onPressEnter:_,enterButton:(0,r.jsx)(d.Z,{onClick:_,disabled:!x,children:"Authenticate with your domain"})}),(0,r.jsx)(L.Z,{ghost:!0,children:(0,r.jsxs)(U,{header:"Learn more about using IndieAuth to authenticate with chat.",children:[(0,r.jsx)("p",{children:"IndieAuth allows for a completely independent and decentralized way of identifying yourself using your own domain."}),(0,r.jsxs)("p",{children:["If you run an Owncast instance, you can use that domain here. Otherwise,"," ",(0,r.jsx)(B,{href:"https://indieauth.net/#providers",children:"learn more about how you can support IndieAuth"}),"."]})]},"header")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})},R=t(55237),Y=t.n(R);var D=L.Z.Panel,V=function(e){var n=e.authenticated,t=e.displayName,a=e.accessToken,s=(0,m.useState)(null),i=s[0],o=s[1],c=(0,m.useState)(!1),u=c[0],h=c[1],p=(0,m.useState)(!1),x=p[0],v=p[1],f=(0,m.useState)(""),j=f[0],g=f[1],y=(0,m.useState)(""),Z=y[0],_=y[1],b=(0,m.useState)(!1),C=b[0],w=b[1],k=n?(0,r.jsxs)("span",{children:[(0,r.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,r.jsxs)("span",{children:["Receive a direct message on the Fediverse to link your account to"," ",(0,r.jsx)("strong",{children:t}),", or login as a previously linked chat user."]}),I=i;I&&I.includes("url does not support indieauth")&&(I="The provided URL is either invalid or does not support IndieAuth.");var N=function(e){v(function(e){var n=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(n).toLowerCase())}(e))},S=function(){var e=(0,E.Z)((function(e,n){var t;return(0,F.__generator)(this,(function(r){switch(r.label){case 0:return[4,fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)})];case 1:return[4,r.sent().json()];case 2:return(t=r.sent()).message&&(o(t.message),h(!1)),[2]}}))}));return function(n,t){return e.apply(this,arguments)}}(),T=function(){var e=(0,E.Z)((function(){var e,n,t;return(0,F.__generator)(this,(function(r){switch(r.label){case 0:h(!0),e="/api/auth/fediverse/verify?accessToken=".concat(a),n={code:Z},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,S(e,n)];case 2:return r.sent(),window.location.href="/",[3,4];case 3:return t=r.sent(),console.error(t),o(t),[3,4];case 4:return h(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),J=function(){var e=(0,E.Z)((function(){var e,n,t,r;return(0,F.__generator)(this,(function(s){switch(s.label){case 0:if(!x)return[2];h(!0),o(null),e="/api/auth/fediverse?accessToken=".concat(a),n=j.replace(/^@+/,""),t={account:n},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,S(e,t)];case 2:return s.sent(),w(!0),[3,4];case 3:return r=s.sent(),console.error(r),o(r),[3,4];case 4:return h(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),P=(0,r.jsxs)("div",{children:["Paste in the code that was sent to your Fediverse account. If you did not receive a code, make sure you can accept direct messages.",(0,r.jsxs)("div",{className:Y().codeInputContainer,children:[(0,r.jsx)(A.Z,{value:Z,onChange:function(e){return _(e.target.value)},className:Y().codeInput,placeholder:"123456",maxLength:6}),(0,r.jsx)(d.Z,{type:"primary",onClick:T,disabled:Z.length<6,className:Y().submitButton,children:"Verify Code"})]})]}),U=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"Your Fediverse Account"}),(0,r.jsx)(A.Z.Search,{addonBefore:"@",onInput:function(e){g(e.target.value),N(e.target.value)},value:j,placeholder:"youraccount@yourserver.com",status:!x&&j.length>0?"error":void 0,onPressEnter:J,enterButton:(0,r.jsx)(d.Z,{onClick:J,disabled:!x,children:"Authenticate with Fediverse"})})]});return(0,r.jsx)(O.Z,{spinning:u,children:(0,r.jsxs)(l.Z,{direction:"vertical",children:[k,I&&(0,r.jsx)(H.Z,{message:"Error",description:I,type:"error",showIcon:!0}),C?P:U,(0,r.jsx)(L.Z,{ghost:!0,children:(0,r.jsx)(D,{header:"Learn more about using the Fediverse to authenticate with chat.",children:(0,r.jsx)("p",{children:"xxxxxx"})},"header")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})},z="/_next/static/media/fediverse-black.0b51c805.png",G="/_next/static/media/indieauth.38c52a3d.png",K=t(67211),Q=t.n(K),X=T.Z.TabPane,$=function(){var e=(0,j.sJ)(Z.w4),n=(0,j.sJ)(Z.L4),t=(0,j.sJ)(Z.FI);return(0,r.jsx)("div",{children:(0,r.jsxs)(T.Z,{defaultActiveKey:"1",type:"card",size:"small",renderTabBar:null,children:[(0,r.jsx)(X,{tab:(0,r.jsxs)("span",{className:Q().tabContent,children:[(0,r.jsx)("img",{className:Q().icon,src:G,alt:"IndieAuth"}),"IndieAuth"]}),children:(0,r.jsx)(M,{authenticated:n,displayName:e,accessToken:t})},"1"),(0,r.jsx)(X,{tab:(0,r.jsxs)("span",{className:Q().tabContent,children:[(0,r.jsx)("img",{className:Q().icon,src:z,alt:"Fediverse auth"}),"FediAuth"]}),children:(0,r.jsx)(V,{authenticated:n,displayName:e,accessToken:t})},"2")]})})},q=function(e){var n=e.username,t=(void 0===n?void 0:n)||(0,j.sJ)(Z.w4),a=(0,m.useState)(!1),s=a[0],i=a[1],_=(0,m.useState)(!1),C=_[0],w=_[1],A=(0,o.Z)((0,j.FV)(Z.ZA),2),k=A[0],I=A[1],N=(0,j.sJ)(Z.Q),T=function(){I(!k)};(0,g.y1)("c",T,{enableOnContentEditable:!1},[k]);var E=(0,r.jsxs)(c.Z,{children:[(0,r.jsx)(c.Z.Item,{icon:(0,r.jsx)(h.Z,{}),onClick:function(){i(!0)},children:"Change name"},"0"),(0,r.jsx)(c.Z.Item,{icon:(0,r.jsx)(p.Z,{}),onClick:function(){return w(!0)},children:"Authenticate"},"1"),N.chatAvailable&&(0,r.jsx)(c.Z.Item,{icon:(0,r.jsx)(x.Z,{}),onClick:function(){return T()},children:"Toggle chat"},"3")]});return(0,r.jsxs)("div",{className:"".concat(b().root),children:[(0,r.jsx)(u.Z,{overlay:E,trigger:["click"],children:(0,r.jsx)(d.Z,{type:"primary",icon:(0,r.jsx)(v.Z,{style:{marginRight:".5rem"}}),children:(0,r.jsxs)(l.Z,{children:[t,(0,r.jsx)(f.Z,{})]})})}),(0,r.jsx)(y.u,{title:"Change Chat Display Name",visible:s,handleCancel:function(){return i(!1)},children:(0,r.jsx)(S,{})}),(0,r.jsx)(y.u,{title:"Authenticate",visible:C,handleCancel:function(){return w(!1)},children:(0,r.jsx)($,{})})]})},W=t(60113),ee=t(92910),ne=t.n(ee),te=a.Z.Header,re=function(e){var n=e.name,t=void 0===n?"Your stream title":n,a=e.chatAvailable,o=e.chatDisabled;return(0,r.jsxs)(te,{className:"".concat(ne().header),children:[(0,r.jsxs)("div",{className:"".concat(ne().logo),children:[(0,r.jsx)(W.C,{variant:"contrast"}),(0,r.jsx)("span",{children:t})]}),a&&!o&&(0,r.jsx)(q,{}),!a&&!o&&(0,r.jsx)(s.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(i.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})},ae=re},47093:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},67211:function(e){e.exports={tabContent:"AuthModal_tabContent__KgMU3",icon:"AuthModal_icon__kpEuV"}},55237:function(e){e.exports={codeInputContainer:"FediAuthModal_codeInputContainer__M_dAD",codeInput:"FediAuthModal_codeInput__dIE6u",submitButton:"FediAuthModal_submitButton__iuF9R"}},92910:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/355-3324052b3a73d992.js b/static/web/_next/static/chunks/355-3324052b3a73d992.js new file mode 100644 index 000000000..41c910801 --- /dev/null +++ b/static/web/_next/static/chunks/355-3324052b3a73d992.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[355],{39398: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:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},i=t(42135),l=function(e,n){return o.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a}))};l.displayName="CaretDownOutlined";var c=o.forwardRef(l)},57838:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(97685),o=t(67294);function a(){var e=o.useReducer((function(e){return e+1}),0);return(0,r.Z)(e,2)[1]}},32808:function(e,n,t){t.d(n,{Z:function(){return Z}});var r=t(4942),o=t(87462),a=t(94184),i=t.n(a),l=t(50132),c=t(67294),u=t(53124),s=t(65223),d=t(74902),f=t(97685),p=t(98423),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&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(C,{prefixCls:R,key:e.value.toString(),disabled:"disabled"in e?e.disabled:x.disabled,value:e.value,checked:-1!==k.indexOf(e.value),onChange:e.onChange,className:"".concat(T,"-item"),style:e.style},e.label)})));var A={toggleOption:function(e){var n=k.indexOf(e.value),t=(0,d.Z)(k);-1===n?t.push(e.value):t.splice(n,1),"value"in x||O(t);var r=M();null===b||void 0===b||b(t.filter((function(e){return-1!==I.indexOf(e)})).sort((function(e,n){return r.findIndex((function(n){return n.value===e}))-r.findIndex((function(e){return e.value===n}))})))},value:k,disabled:x.disabled,name:x.name,registerValue:function(e){D((function(n){return[].concat((0,d.Z)(n),[e])}))},cancelValue:function(e){D((function(n){return n.filter((function(n){return n!==e}))}))}},j=i()(T,(0,r.Z)({},"".concat(T,"-rtl"),"rtl"===Z),g);return c.createElement("div",(0,o.Z)({className:j,style:y},L,{ref:n}),c.createElement(m.Provider,{value:A},a))},g=c.forwardRef(h),y=c.memo(g),b=t(98866),x=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=0?"".concat(n,"-slide-down"):"".concat(n,"-slide-up")}(),trigger:R,overlay:function(){var n,t=e.overlay;return n="function"===typeof t?t():t,n=p.Children.only("string"===typeof n?p.createElement("span",null,n):n),p.createElement(m.J,{prefixCls:"".concat(I,"-menu"),expandIcon:p.createElement("span",{className:"".concat(I,"-menu-submenu-arrow")},p.createElement(l.Z,{className:"".concat(I,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:V,validator:function(e){e.mode}},n)},placement:function(){var n=e.placement;return n?n.includes("Center")?n.slice(0,n.indexOf("Center")):n:"rtl"===y?"bottomRight":"bottomLeft"}(),onVisibleChange:_}),M)});N.Button=Z,N.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};var S=N,k=N},62986:function(e,n,t){t.d(n,{Z:function(){return h}});var r=t(4942),o=t(87462),a=t(94184),i=t.n(a),l=t(67294),c=t(53124),u=t(23715),s=function(){var e=(0,l.useContext(c.E_).getPrefixCls)("empty-img-default");return l.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),l.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),l.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),l.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),l.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),l.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},d=function(){var e=(0,l.useContext(c.E_).getPrefixCls)("empty-img-simple");return l.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},f=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],n=(0,r.useRef)({}),t=(0,o.Z)();return(0,r.useEffect)((function(){var r=a.ZP.subscribe((function(r){n.current=r,e&&t()}));return function(){return a.ZP.unsubscribe(r)}}),[]),n.current}},40378:function(e,n,t){var r=t(6213);n.Z=r.Z},3698:function(e,n,t){t.d(n,{Z:function(){return V}});var r=t(4942),o=t(87462),a=t(1413),i=t(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},c=t(42135),u=function(e,n){return i.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:n,icon:l}))};u.displayName="DoubleLeftOutlined";var s=i.forwardRef(u),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},f=function(e,n){return i.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:n,icon:d}))};f.displayName="DoubleRightOutlined";var p=i.forwardRef(f),v=t(6171),m=t(18073),h=t(94184),g=t.n(h),y=t(15671),b=t(43144),x=t(60136),E=t(33643),C=function(e){var n,t="".concat(e.rootPrefixCls,"-item"),o=g()(t,"".concat(t,"-").concat(e.page),(n={},(0,r.Z)(n,"".concat(t,"-active"),e.active),(0,r.Z)(n,"".concat(t,"-disabled"),!e.page),(0,r.Z)(n,e.className,!!e.className),n));return i.createElement("li",{title:e.showTitle?e.page:null,className:o,onClick:function(){e.onClick(e.page)},onKeyPress:function(n){e.onKeyPress(n,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",i.createElement("a",{rel:"nofollow"},e.page)))},w=13,Z=38,N=40,S=function(e){(0,x.Z)(t,e);var n=(0,E.Z)(t);function t(){var e;(0,y.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a=0||n.relatedTarget.className.indexOf("".concat(a,"-item"))>=0)||o(e.getValidValue()))},e.go=function(n){""!==e.state.goInputText&&(n.keyCode!==w&&"click"!==n.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return(0,b.Z)(t,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,n=e.pageSize,t=e.pageSizeOptions;return t.some((function(e){return e.toString()===n.toString()}))?t:t.concat([n.toString()]).sort((function(e,n){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(n))?0:Number(n))}))}},{key:"render",value:function(){var e=this,n=this.props,t=n.pageSize,r=n.locale,o=n.rootPrefixCls,a=n.changeSize,l=n.quickGo,c=n.goButton,u=n.selectComponentClass,s=n.buildOptionText,d=n.selectPrefixCls,f=n.disabled,p=this.state.goInputText,v="".concat(o,"-options"),m=u,h=null,g=null,y=null;if(!a&&!l)return null;var b=this.getPageSizeOptions();if(a&&m){var x=b.map((function(n,t){return i.createElement(m.Option,{key:t,value:n.toString()},(s||e.buildOptionText)(n))}));h=i.createElement(m,{disabled:f,prefixCls:d,showSearch:!1,className:"".concat(v,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(t||b[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":r.page_size,defaultOpen:!1},x)}return l&&(c&&(y="boolean"===typeof c?i.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:f,className:"".concat(v,"-quick-jumper-button")},r.jump_to_confirm):i.createElement("span",{onClick:this.go,onKeyUp:this.go},c)),g=i.createElement("div",{className:"".concat(v,"-quick-jumper")},r.jump_to,i.createElement("input",{disabled:f,type:"text",value:p,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":r.page}),r.page,y)),i.createElement("li",{className:"".concat(v)},h,g)}}]),t}(i.Component);S.defaultProps={pageSizeOptions:["10","20","50","100"]};var k=S;function O(){}function P(e){var n=Number(e);return"number"===typeof n&&!isNaN(n)&&isFinite(n)&&Math.floor(n)===n}function K(e,n,t){var r="undefined"===typeof e?n.pageSize:e;return Math.floor((t.total-1)/r)+1}var I=function(e){(0,x.Z)(t,e);var n=(0,E.Z)(t);function t(e){var r;(0,y.Z)(this,t),(r=n.call(this,e)).getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(K(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,n){var t=r.props.prefixCls,o=e||i.createElement("button",{type:"button","aria-label":n,className:"".concat(t,"-item-link")});return"function"===typeof e&&(o=i.createElement(e,(0,a.Z)({},r.props))),o},r.savePaginationNode=function(e){r.paginationNode=e},r.isValid=function(e){var n=r.props.total;return P(e)&&e!==r.state.current&&P(n)&&n>0},r.shouldDisplayQuickJumper=function(){var e=r.props,n=e.showQuickJumper;return!(e.total<=r.state.pageSize)&&n},r.handleKeyDown=function(e){e.keyCode!==Z&&e.keyCode!==N||e.preventDefault()},r.handleKeyUp=function(e){var n=r.getValidValue(e);n!==r.state.currentInputValue&&r.setState({currentInputValue:n}),e.keyCode===w?r.handleChange(n):e.keyCode===Z?r.handleChange(n-1):e.keyCode===N&&r.handleChange(n+1)},r.handleBlur=function(e){var n=r.getValidValue(e);r.handleChange(n)},r.changePageSize=function(e){var n=r.state.current,t=K(e,r.state,r.props);n=n>t?t:n,0===t&&(n=r.state.current),"number"===typeof e&&("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:n,currentInputValue:n})),r.props.onShowSizeChange(n,e),"onChange"in r.props&&r.props.onChange&&r.props.onChange(n,e)},r.handleChange=function(e){var n=r.props,t=n.disabled,o=n.onChange,a=r.state,i=a.pageSize,l=a.current,c=a.currentInputValue;if(r.isValid(e)&&!t){var u=K(void 0,r.state,r.props),s=e;return e>u?s=u:e<1&&(s=1),"current"in r.props||r.setState({current:s}),s!==c&&r.setState({currentInputValue:s}),o(s,i),s}return l},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current2?t-2:0),o=2;o=t?t:Number(n)}},{key:"getShowSizeChanger",value:function(){var e=this.props,n=e.showSizeChanger,t=e.total,r=e.totalBoundaryShowSizeChanger;return"undefined"!==typeof n?n:t>r}},{key:"renderPrev",value:function(e){var n=this.props,t=n.prevIcon,r=(0,n.itemRender)(e,"prev",this.getItemIcon(t,"prev page")),o=!this.hasPrev();return(0,i.isValidElement)(r)?(0,i.cloneElement)(r,{disabled:o}):r}},{key:"renderNext",value:function(e){var n=this.props,t=n.nextIcon,r=(0,n.itemRender)(e,"next",this.getItemIcon(t,"next page")),o=!this.hasNext();return(0,i.isValidElement)(r)?(0,i.cloneElement)(r,{disabled:o}):r}},{key:"render",value:function(){var e=this,n=this.props,t=n.prefixCls,a=n.className,l=n.style,c=n.disabled,u=n.hideOnSinglePage,s=n.total,d=n.locale,f=n.showQuickJumper,p=n.showLessItems,v=n.showTitle,m=n.showTotal,h=n.simple,y=n.itemRender,b=n.showPrevNextJumpers,x=n.jumpPrevIcon,E=n.jumpNextIcon,w=n.selectComponentClass,Z=n.selectPrefixCls,N=n.pageSizeOptions,S=this.state,O=S.current,P=S.pageSize,I=S.currentInputValue;if(!0===u&&s<=P)return null;var D=K(void 0,this.state,this.props),M=[],R=null,T=null,L=null,A=null,j=null,_=f&&f.goButton,H=p?1:2,z=O-1>0?O-1:0,V=O+1=2*H&&3!==O&&(M[0]=(0,i.cloneElement)(M[0],{className:"".concat(t,"-item-after-jump-prev")}),M.unshift(R)),D-O>=2*H&&O!==D-2&&(M[M.length-1]=(0,i.cloneElement)(M[M.length-1],{className:"".concat(t,"-item-before-jump-next")}),M.push(T)),1!==X&&M.unshift(L),q!==D&&M.push(A)}var $=null;m&&($=i.createElement("li",{className:"".concat(t,"-total-text")},m(s,[0===s?0:(O-1)*P+1,O*P>s?s:O*P])));var ee=!this.hasPrev()||!D,ne=!this.hasNext()||!D;return i.createElement("ul",(0,o.Z)({className:g()(t,a,(0,r.Z)({},"".concat(t,"-disabled"),c)),style:l,unselectable:"unselectable",ref:this.savePaginationNode},F),$,i.createElement("li",{title:v?d.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:g()("".concat(t,"-prev"),(0,r.Z)({},"".concat(t,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(z)),M,i.createElement("li",{title:v?d.next_page:null,onClick:this.next,tabIndex:ne?null:0,onKeyPress:this.runIfEnterNext,className:g()("".concat(t,"-next"),(0,r.Z)({},"".concat(t,"-disabled"),ne)),"aria-disabled":ne},this.renderNext(V)),i.createElement(k,{disabled:c,locale:d,rootPrefixCls:t,selectComponentClass:w,selectPrefixCls:Z,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:O,pageSize:P,pageSizeOptions:N,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t={};if("current"in e&&(t.current=e.current,e.current!==n.current&&(t.currentInputValue=t.current)),"pageSize"in e&&e.pageSize!==n.pageSize){var r=n.current,o=K(e.pageSize,n,e);r=r>o?o:r,"current"in e||(t.current=r,t.currentInputValue=r),t.pageSize=e.pageSize}return t}}]),t}(i.Component);I.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:O,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:O,locale:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},style:{},itemRender:function(e,n,t){return t},totalBoundaryShowSizeChanger:50};var D=I,M=t(62906),R=t(53124),T=t(25378),L=t(23715),A=t(38939),j=function(e){return i.createElement(A.Z,(0,o.Z)({},e,{size:"small"}))},_=function(e){return i.createElement(A.Z,(0,o.Z)({},e,{size:"middle"}))};j.Option=A.Z.Option,_.Option=A.Z.Option;var H=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);ow&&(a="".concat(i.slice(0,w),"..."))}var l=function(n){n&&n.stopPropagation(),I(e)};return"function"===typeof S?function(e,n,t,r,o){return v.createElement("span",{onMouseDown:function(e){_(e),k(!c)}},S({label:n,value:e,disabled:t,closable:r,onClose:o}))}(r,a,n,o,l):ne(e,a,n,o,l)},renderRest:function(e){var n="function"===typeof N?N(e):N;return ne({title:n},n,!1)},suffix:te,itemKey:j,maxCount:C});return v.createElement(v.Fragment,null,re,!l.length&&!$&&v.createElement("span",{className:"".concat(Q,"-placeholder")},f))},z=function(e){var n=e.inputElement,t=e.prefixCls,r=e.id,o=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,s=e.mode,d=e.open,f=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,y=e.activeValue,b=e.maxLength,x=e.onInputKeyDown,E=e.onInputMouseDown,C=e.onInputChange,w=e.onInputPaste,Z=e.onInputCompositionStart,N=e.onInputCompositionEnd,S=v.useState(!1),k=(0,u.Z)(S,2),P=k[0],K=k[1],I="combobox"===s,D=I||h,R=f[0],T=g||"";I&&y&&!P&&(T=y),v.useEffect((function(){I&&K(!1)}),[I,y]);var L=!("combobox"!==s&&!d&&!h)&&!!T,j=A(R);return v.createElement(v.Fragment,null,v.createElement("span",{className:"".concat(t,"-selection-search")},v.createElement(M,{ref:o,prefixCls:t,id:r,open:d,inputElement:n,disabled:a,autoFocus:i,autoComplete:l,editable:D,activeDescendantId:c,value:T,onKeyDown:x,onMouseDown:E,onChange:function(e){K(!0),C(e)},onPaste:w,onCompositionStart:Z,onCompositionEnd:N,tabIndex:m,attrs:(0,O.Z)(e,!0),maxLength:I?b:void 0})),!I&&R&&!L&&v.createElement("span",{className:"".concat(t,"-selection-item"),title:j},R.label),function(){if(R)return null;var e=L?{visibility:"hidden"}:void 0;return v.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:e},p)}())};function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=v.useRef(null),t=v.useRef(null);function r(r){(r||null===n.current)&&(n.current=r),window.clearTimeout(t.current),t.current=window.setTimeout((function(){n.current=null}),e)}return v.useEffect((function(){return function(){window.clearTimeout(t.current)}}),[]),[function(){return n.current},r]}var F=function(e,n){var t=(0,v.useRef)(null),r=(0,v.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,c=e.showSearch,s=e.tokenWithEnter,d=e.onSearch,f=e.onSearchSubmit,p=e.onToggleOpen,h=e.onInputKeyDown,g=e.domRef;v.useImperativeHandle(n,(function(){return{focus:function(){t.current.focus()},blur:function(){t.current.blur()}}}));var y=V(0),b=(0,u.Z)(y,2),x=b[0],E=b[1],C=(0,v.useRef)(null),w=function(e){!1!==d(e,!0,r.current)&&p(!0)},Z={inputRef:t,onInputKeyDown:function(e){var n,t=e.which;t!==m.Z.UP&&t!==m.Z.DOWN||e.preventDefault(),h&&h(e),t!==m.Z.ENTER||"tags"!==l||r.current||i||null===f||void 0===f||f(e.target.value),n=t,[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(n)||p(!0)},onInputMouseDown:function(){E(!0)},onInputChange:function(e){var n=e.target.value;if(s&&C.current&&/[\r\n]/.test(C.current)){var t=C.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,C.current)}C.current=null,w(n)},onInputPaste:function(e){var n=e.clipboardData.getData("text");C.current=n},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==l&&w(e.target.value)}},N="multiple"===l||"tags"===l?v.createElement(H,(0,o.Z)({},e,Z)):v.createElement(z,(0,o.Z)({},e,Z));return v.createElement("div",{ref:g,className:"".concat(a,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){t.current.focus()})):t.current.focus())},onMouseDown:function(e){var n=x();e.target===t.current||n||"combobox"===l||e.preventDefault(),("combobox"===l||c&&n)&&i||(i&&d("",!0,!1),p())}},N)},B=v.forwardRef(F);B.displayName="Selector";var U=B;var W=v.createContext(null);var G=["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"],Y=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function X(e){return"tags"===e||"multiple"===e}var q=v.forwardRef((function(e,n){var t,a,p=e.id,x=e.prefixCls,E=e.className,C=e.showSearch,w=e.tagRender,Z=e.direction,N=e.omitDomProps,S=e.displayValues,O=e.onDisplayValuesChange,P=e.emptyOptions,I=e.notFoundContent,D=void 0===I?"Not Found":I,M=e.onClear,R=e.mode,T=e.disabled,L=e.loading,A=e.getInputElement,j=e.getRawInputElement,_=e.open,H=e.defaultOpen,z=e.onDropdownVisibleChange,F=e.activeValue,B=e.onActiveValueChange,q=e.activeDescendantId,J=e.searchValue,Q=e.onSearch,$=e.onSearchSplit,ee=e.tokenSeparators,ne=e.allowClear,te=e.showArrow,re=e.inputIcon,oe=e.clearIcon,ae=e.OptionList,ie=e.animation,le=e.transitionName,ce=e.dropdownStyle,ue=e.dropdownClassName,se=e.dropdownMatchSelectWidth,de=e.dropdownRender,fe=e.dropdownAlign,pe=e.placement,ve=e.getPopupContainer,me=e.showAction,he=void 0===me?[]:me,ge=e.onFocus,ye=e.onBlur,be=e.onKeyUp,xe=e.onKeyDown,Ee=e.onMouseDown,Ce=(0,s.Z)(e,G),we=X(R),Ze=(void 0!==C?C:we)||"combobox"===R,Ne=(0,c.Z)({},Ce);Y.forEach((function(e){delete Ne[e]})),null===N||void 0===N||N.forEach((function(e){delete Ne[e]}));var Se=v.useState(!1),ke=(0,u.Z)(Se,2),Oe=ke[0],Pe=ke[1];v.useEffect((function(){Pe((0,h.Z)())}),[]);var Ke=v.useRef(null),Ie=v.useRef(null),De=v.useRef(null),Me=v.useRef(null),Re=v.useRef(null),Te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=v.useState(!1),t=(0,u.Z)(n,2),r=t[0],o=t[1],a=v.useRef(null),i=function(){window.clearTimeout(a.current)};return v.useEffect((function(){return i}),[]),[r,function(n,t){i(),a.current=window.setTimeout((function(){o(n),t&&t()}),e)},i]}(),Le=(0,u.Z)(Te,3),Ae=Le[0],je=Le[1],_e=Le[2];v.useImperativeHandle(n,(function(){var e,n;return{focus:null===(e=Me.current)||void 0===e?void 0:e.focus,blur:null===(n=Me.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=Re.current)||void 0===n?void 0:n.scrollTo(e)}}}));var He=v.useMemo((function(){var e;if("combobox"!==R)return J;var n=null===(e=S[0])||void 0===e?void 0:e.value;return"string"===typeof n||"number"===typeof n?String(n):""}),[J,R,S]),ze="combobox"===R&&"function"===typeof A&&A()||null,Ve="function"===typeof j&&j(),Fe=(0,g.x1)(Ie,null===Ve||void 0===Ve||null===(t=Ve.props)||void 0===t?void 0:t.ref),Be=(0,f.Z)(void 0,{defaultValue:H,value:_}),Ue=(0,u.Z)(Be,2),We=Ue[0],Ge=Ue[1],Ye=We,Xe=!D&&P;(T||Xe&&Ye&&"combobox"===R)&&(Ye=!1);var qe=!Xe&&Ye,Je=v.useCallback((function(e){var n=void 0!==e?e:!Ye;Ye===n||T||(Ge(n),null===z||void 0===z||z(n))}),[T,Ye,Ge,z]),Qe=v.useMemo((function(){return(ee||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ee]),$e=function(e,n,t){var r=!0,o=e;null===B||void 0===B||B(null);var a=t?null:function(e,n){if(!n||!n.length)return null;var t=!1,r=function e(n,r){var o=(0,b.Z)(r),a=o[0],i=o.slice(1);if(!a)return[n];var c=n.split(a);return t=t||c.length>1,c.reduce((function(n,t){return[].concat((0,l.Z)(n),(0,l.Z)(e(t,i)))}),[]).filter((function(e){return e}))}(e,n);return t?r:null}(e,ee);return"combobox"!==R&&a&&(o="",null===$||void 0===$||$(a),Je(!1),r=!1),Q&&He!==o&&Q(o,{source:n?"typing":"effect"}),r};v.useEffect((function(){Ye||we||"combobox"===R||$e("",!1,!1)}),[Ye]),v.useEffect((function(){We&&T&&Ge(!1),T&&je(!1)}),[T]);var en=V(),nn=(0,u.Z)(en,2),tn=nn[0],rn=nn[1],on=v.useRef(!1),an=[];v.useEffect((function(){return function(){an.forEach((function(e){return clearTimeout(e)})),an.splice(0,an.length)}}),[]);var ln,cn=v.useState(null),un=(0,u.Z)(cn,2),sn=un[0],dn=un[1],fn=v.useState({}),pn=(0,u.Z)(fn,2)[1];(0,y.Z)((function(){if(qe){var e,n=Math.ceil(null===(e=Ke.current)||void 0===e?void 0:e.offsetWidth);sn===n||Number.isNaN(n)||dn(n)}}),[qe]),Ve&&(ln=function(e){Je(e)}),function(e,n,t,r){var o=v.useRef(null);o.current={open:n,triggerOpen:t,customizedTrigger:r},v.useEffect((function(){function n(n){var t;if(!(null===(t=o.current)||void 0===t?void 0:t.customizedTrigger)){var r=n.target;r.shadowRoot&&n.composed&&(r=n.composedPath()[0]||r),o.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",n),function(){return window.removeEventListener("mousedown",n)}}),[])}((function(){var e;return[Ke.current,null===(e=De.current)||void 0===e?void 0:e.getPopupElement()]}),qe,Je,!!Ve);var vn,mn,hn=v.useMemo((function(){return(0,c.Z)((0,c.Z)({},e),{},{notFoundContent:D,open:Ye,triggerOpen:qe,id:p,showSearch:Ze,multiple:we,toggleOpen:Je})}),[e,D,qe,Ye,p,Ze,we,Je]),gn=void 0!==te?te:L||!we&&"combobox"!==R;gn&&(vn=v.createElement(K,{className:i()("".concat(x,"-arrow"),(0,r.Z)({},"".concat(x,"-arrow-loading"),L)),customizeIcon:re,customizeIconProps:{loading:L,searchValue:He,open:Ye,focused:Ae,showSearch:Ze}}));T||!ne||!S.length&&!He||"combobox"===R&&""===He||(mn=v.createElement(K,{className:"".concat(x,"-clear"),onMouseDown:function(){null===M||void 0===M||M(),O([],{type:"clear",values:S}),$e("",!1,!1)},customizeIcon:oe},"\xd7"));var yn,bn=v.createElement(ae,{ref:Re}),xn=i()(x,E,(a={},(0,r.Z)(a,"".concat(x,"-focused"),Ae),(0,r.Z)(a,"".concat(x,"-multiple"),we),(0,r.Z)(a,"".concat(x,"-single"),!we),(0,r.Z)(a,"".concat(x,"-allow-clear"),ne),(0,r.Z)(a,"".concat(x,"-show-arrow"),gn),(0,r.Z)(a,"".concat(x,"-disabled"),T),(0,r.Z)(a,"".concat(x,"-loading"),L),(0,r.Z)(a,"".concat(x,"-open"),Ye),(0,r.Z)(a,"".concat(x,"-customize-input"),ze),(0,r.Z)(a,"".concat(x,"-show-search"),Ze),a)),En=v.createElement(k,{ref:De,disabled:T,prefixCls:x,visible:qe,popupElement:bn,containerWidth:sn,animation:ie,transitionName:le,dropdownStyle:ce,dropdownClassName:ue,direction:Z,dropdownMatchSelectWidth:se,dropdownRender:de,dropdownAlign:fe,placement:pe,getPopupContainer:ve,empty:P,getTriggerDOMNode:function(){return Ie.current},onPopupVisibleChange:ln,onPopupMouseEnter:function(){pn({})}},Ve?v.cloneElement(Ve,{ref:Fe}):v.createElement(U,(0,o.Z)({},e,{domRef:Ie,prefixCls:x,inputElement:ze,ref:Me,id:p,showSearch:Ze,mode:R,activeDescendantId:q,tagRender:w,values:S,open:Ye,onToggleOpen:Je,activeValue:F,searchValue:He,onSearch:$e,onSearchSubmit:function(e){e&&e.trim()&&Q(e,{source:"submit"})},onRemove:function(e){var n=S.filter((function(n){return n!==e}));O(n,{type:"remove",values:[e]})},tokenWithEnter:Qe})));return yn=Ve?En:v.createElement("div",(0,o.Z)({className:xn},Ne,{ref:Ke,onMouseDown:function(e){var n,t=e.target,r=null===(n=De.current)||void 0===n?void 0:n.getPopupElement();if(r&&r.contains(t)){var o=setTimeout((function(){var e,n=an.indexOf(o);-1!==n&&an.splice(n,1),_e(),Oe||r.contains(document.activeElement)||null===(e=Me.current)||void 0===e||e.focus()}));an.push(o)}for(var a=arguments.length,i=new Array(a>1?a-1:0),l=1;l=0;i-=1){var c=o[i];if(!c.disabled){o.splice(i,1),a=c;break}}a&&O(o,{type:"remove",values:[a]})}for(var u=arguments.length,s=new Array(u>1?u-1:0),d=1;d1?n-1:0),r=1;r1&&void 0!==arguments[1]&&arguments[1];return(0,re.Z)(e).map((function(e,t){if(!v.isValidElement(e)||!e.type)return null;var r=e.type.isSelectOptGroup,o=e.key,a=e.props,i=a.children,l=(0,s.Z)(a,ae);return n||!r?ie(e):(0,c.Z)((0,c.Z)({key:"__RC_SELECT_GRP__".concat(null===o?t:o,"__"),label:o},l),{},{options:le(i)})})).filter((function(e){return e}))}function ce(e,n,t,r,o){return v.useMemo((function(){var a=e;!e&&(a=le(n));var i=new Map,l=new Map,c=function(e,n,t){t&&"string"===typeof t&&e.set(n[t],n)};return function e(n){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],u=0;u1&&void 0!==arguments[1]?arguments[1]:1,t=R.length,r=0;r1&&void 0!==arguments[1]&&arguments[1];V(e);var t={source:n?"keyboard":"mouse"},r=R[e];r?C(r.value,e,t):C(null,-1,t)};(0,v.useEffect)((function(){F(!1!==w?j(0):-1)}),[R.length,h]);var B=v.useCallback((function(e){return S.has(e)&&"combobox"!==p}),[p,(0,l.Z)(S).toString()]);(0,v.useEffect)((function(){var e,n=setTimeout((function(){if(!f&&d&&1===S.size){var e=Array.from(S)[0],n=R.findIndex((function(n){return n.data.value===e}));-1!==n&&(F(n),A(n))}}));d&&(null===(e=T.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(n)}}),[d,h]);var U=function(e){void 0!==e&&Z(e,{selected:!S.has(e)}),f||g(!1)};if(v.useImperativeHandle(n,(function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:var r=0;if(n===m.Z.UP?r=-1:n===m.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===m.Z.N?r=1:n===m.Z.P&&(r=-1)),0!==r){var o=j(z+r,r);A(o),F(o,!0)}break;case m.Z.ENTER:var a=R[z];a&&!a.data.disabled?U(a.value):U(void 0),d&&e.preventDefault();break;case m.Z.ESC:g(!1),d&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}})),0===R.length)return v.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(M,"-empty"),onMouseDown:L},y);var G=Object.keys(k).map((function(e){return k[e]})),Y=function(e){return e.label},X=function(e){var n=R[e];if(!n)return null;var t=n.data||{},r=t.value,a=n.group,i=(0,O.Z)(t,!0),l=Y(n);return n?v.createElement("div",(0,o.Z)({"aria-label":"string"!==typeof l||a?null:l},i,{key:e,role:a?"presentation":"option",id:"".concat(c,"_list_").concat(e),"aria-selected":B(r)}),r):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(c,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(z-1),X(z),X(z+1)),v.createElement(he.Z,{itemKey:"key",ref:T,data:R,height:I,itemHeight:D,fullHeight:!1,onMouseDown:L,onScroll:b,virtual:P},(function(e,n){var t,a=e.group,l=e.groupOption,c=e.data,u=e.label,d=e.value,f=c.key;if(a){var p,m=null!==(p=c.title)&&void 0!==p?p:be(u)?u.toString():void 0;return v.createElement("div",{className:i()(M,"".concat(M,"-group")),title:m},void 0!==u?u:f)}var h=c.disabled,g=c.title,y=(c.children,c.style),b=c.className,x=(0,s.Z)(c,ye),E=(0,ve.Z)(x,G),C=B(d),w="".concat(M,"-option"),Z=i()(M,w,b,(t={},(0,r.Z)(t,"".concat(w,"-grouped"),l),(0,r.Z)(t,"".concat(w,"-active"),z===n&&!h),(0,r.Z)(t,"".concat(w,"-disabled"),h),(0,r.Z)(t,"".concat(w,"-selected"),C),t)),S=Y(e),k=!N||"function"===typeof N||C,P="number"===typeof S?S:S||d,I=be(P)?P.toString():void 0;return void 0!==g&&(I=g),v.createElement("div",(0,o.Z)({},(0,O.Z)(E),{"aria-selected":C,className:Z,title:I,onMouseMove:function(){z===n||h||F(n)},onClick:function(){h||U(d)},style:y}),v.createElement("div",{className:"".concat(w,"-content")},P),v.isValidElement(N)||C,k&&v.createElement(K,{className:"".concat(M,"-option-state"),customizeIcon:N,customizeIconProps:{isSelected:C}},C?"\u2713":null))})))},Ee=v.forwardRef(xe);Ee.displayName="OptionList";var Ce=Ee;var we=["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"],Ze=["inputValue"];var Ne=v.forwardRef((function(e,n){var t=e.id,a=e.mode,i=e.prefixCls,p=void 0===i?"rc-select":i,m=e.backfill,h=e.fieldNames,g=e.inputValue,y=e.searchValue,b=e.onSearch,w=e.autoClearSearchValue,Z=void 0===w||w,N=e.onSelect,S=e.onDeselect,k=e.dropdownMatchSelectWidth,O=void 0===k||k,P=e.filterOption,K=e.filterSort,I=e.optionFilterProp,D=e.optionLabelProp,M=e.options,T=e.children,L=e.defaultActiveFirstOption,A=e.menuItemSelectedIcon,j=e.virtual,_=e.listHeight,H=void 0===_?200:_,z=e.listItemHeight,V=void 0===z?20:z,F=e.value,B=e.defaultValue,U=e.labelInValue,W=e.onChange,G=(0,s.Z)(e,we),Y=te(t),q=X(a),$=!(M||!T),ee=v.useMemo((function(){return(void 0!==P||"combobox"!==a)&&P}),[P,a]),ne=v.useMemo((function(){return E(h,$)}),[JSON.stringify(h),$]),re=(0,f.Z)("",{value:void 0!==y?y:g,postState:function(e){return e||""}}),oe=(0,u.Z)(re,2),ae=oe[0],ie=oe[1],le=ce(M,T,ne,I,D),se=le.valueOptions,de=le.labelOptions,fe=le.options,pe=v.useCallback((function(e){return R(e).map((function(e){var n,t,r,o,a,i;(function(e){return!e||"object"!==(0,d.Z)(e)})(e)?n=e:(r=e.key,t=e.label,n=null!==(i=e.value)&&void 0!==i?i:r);var l,c=se.get(n);c&&(void 0===t&&(t=null===c||void 0===c?void 0:c[D||ne.label]),void 0===r&&(r=null!==(l=null===c||void 0===c?void 0:c.key)&&void 0!==l?l:n),o=null===c||void 0===c?void 0:c.disabled,a=null===c||void 0===c?void 0:c.title);return{label:t,value:n,key:r,disabled:o,title:a}}))}),[ne,D,se]),ve=(0,f.Z)(B,{value:F}),me=(0,u.Z)(ve,2),he=me[0],ye=me[1],be=function(e,n){var t=v.useRef({values:new Map,options:new Map});return[v.useMemo((function(){var r=t.current,o=r.values,a=r.options,i=e.map((function(e){var n;return void 0===e.label?(0,c.Z)((0,c.Z)({},e),{},{label:null===(n=o.get(e.value))||void 0===n?void 0:n.label}):e})),l=new Map,u=new Map;return i.forEach((function(e){l.set(e.value,e),u.set(e.value,n.get(e.value)||a.get(e.value))})),t.current.values=l,t.current.options=u,i}),[e,n]),v.useCallback((function(e){return n.get(e)||t.current.options.get(e)}),[n])]}(v.useMemo((function(){var e,n=pe(he);return"combobox"!==a||(null===(e=n[0])||void 0===e?void 0:e.value)?n:[]}),[he,pe,a]),se),xe=(0,u.Z)(be,2),Ee=xe[0],Ne=xe[1],Se=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 n;return(0,c.Z)((0,c.Z)({},e),{},{label:null!==(n=e.label)&&void 0!==n?n:e.value})}))}),[a,Ee]),ke=v.useMemo((function(){return new Set(Ee.map((function(e){return e.value})))}),[Ee]);v.useEffect((function(){if("combobox"===a){var e,n=null===(e=Ee[0])||void 0===e?void 0:e.value;ie(function(e){return void 0!==e&&null!==e}(n)?String(n):"")}}),[Ee]);var Oe=ue((function(e,n){var t,o=null!==n&&void 0!==n?n:e;return t={},(0,r.Z)(t,ne.value,e),(0,r.Z)(t,ne.label,o),t})),Pe=function(e,n,t,o,a){return v.useMemo((function(){if(!t||!1===o)return e;var i=n.options,l=n.label,u=n.value,s=[],d="function"===typeof o,f=t.toUpperCase(),p=d?o:function(e,n){return a?Q(n[a],f):n[i]?Q(n["children"!==l?l:"label"],f):Q(n[u],f)},v=d?function(e){return C(e)}:function(e){return e};return e.forEach((function(e){if(e[i])if(p(t,v(e)))s.push(e);else{var n=e[i].filter((function(e){return p(t,v(e))}));n.length&&s.push((0,c.Z)((0,c.Z)({},e),{},(0,r.Z)({},i,n)))}else p(t,v(e))&&s.push(e)})),s}),[e,o,a,t,n])}(v.useMemo((function(){if("tags"!==a)return fe;var e=(0,l.Z)(fe);return(0,l.Z)(Ee).sort((function(e,n){return e.value1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,r=n.childrenAsData,o=[],a=E(t,!1),i=a.label,l=a.value,c=a.options;function u(e,n){e.forEach((function(e){var t=e[i];if(n||!(c in e)){var a=e[l];o.push({key:x(e,o.length),groupOption:n,data:e,label:t,value:a})}else{var s=t;void 0===s&&r&&(s=e.label),o.push({key:x(e,o.length),group:!0,data:e,label:s}),u(e[c],!0)}}))}return u(e,!1),o}(Ie,{fieldNames:ne,childrenAsData:$})}),[Ie,ne,$]),Me=function(e){var n=pe(e);if(ye(n),W&&(n.length!==Ee.length||n.some((function(e,n){var t;return(null===(t=Ee[n])||void 0===t?void 0:t.value)!==(null===e||void 0===e?void 0:e.value)})))){var t=U?n:n.map((function(e){return e.value})),r=n.map((function(e){return C(Ne(e.value))}));W(q?t:t[0],q?r:r[0])}},Re=v.useState(null),Te=(0,u.Z)(Re,2),Le=Te[0],Ae=Te[1],je=v.useState(0),_e=(0,u.Z)(je,2),He=_e[0],ze=_e[1],Ve=void 0!==L?L:"combobox"!==a,Fe=v.useCallback((function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.source,o=void 0===r?"keyboard":r;ze(n),m&&"combobox"===a&&null!==e&&"keyboard"===o&&Ae(String(e))}),[m,a]),Be=function(e,n){var t=function(){var n,t=Ne(e);return[U?{label:null===t||void 0===t?void 0:t[ne.label],value:e,key:null!==(n=null===t||void 0===t?void 0:t.key)&&void 0!==n?n:e}:e,C(t)]};if(n&&N){var r=t(),o=(0,u.Z)(r,2),a=o[0],i=o[1];N(a,i)}else if(!n&&S){var l=t(),c=(0,u.Z)(l,2),s=c[0],d=c[1];S(s,d)}},Ue=ue((function(e,n){var t,r=!q||n.selected;t=r?q?[].concat((0,l.Z)(Ee),[e]):[e]:Ee.filter((function(n){return n.value!==e})),Me(t),Be(e,r),"combobox"===a?Ae(""):X&&!Z||(ie(""),Ae(""))})),We=v.useMemo((function(){var e=!1!==j&&!1!==O;return(0,c.Z)((0,c.Z)({},le),{},{flattenOptions:De,onActiveValue:Fe,defaultActiveFirstOption:Ve,onSelect:Ue,menuItemSelectedIcon:A,rawValues:ke,fieldNames:ne,virtual:e,listHeight:H,listItemHeight:V,childrenAsData:$})}),[le,De,Fe,Ve,Ue,A,ke,ne,j,O,H,V,$]);return v.createElement(ge.Provider,{value:We},v.createElement(J,(0,o.Z)({},G,{id:Y,prefixCls:p,ref:n,omitDomProps:Ze,mode:a,displayValues:Se,onDisplayValuesChange:function(e,n){Me(e),"remove"!==n.type&&"clear"!==n.type||n.values.forEach((function(e){Be(e.value,!1)}))},searchValue:ae,onSearch:function(e,n){if(ie(e),Ae(null),"submit"!==n.source)"blur"!==n.source&&("combobox"===a&&Me(e),null===b||void 0===b||b(e));else{var t=(e||"").trim();if(t){var r=Array.from(new Set([].concat((0,l.Z)(ke),[t])));Me(r),Be(t,!0),ie("")}}},onSearchSplit:function(e){var n=e;"tags"!==a&&(n=e.map((function(e){var n=de.get(e);return null===n||void 0===n?void 0:n.value})).filter((function(e){return void 0!==e})));var t=Array.from(new Set([].concat((0,l.Z)(ke),(0,l.Z)(n))));Me(t),t.forEach((function(e){Be(e,!0)}))},dropdownMatchSelectWidth:O,OptionList:Ce,emptyOptions:!De.length,activeValue:Le,activeDescendantId:"".concat(Y,"_list_").concat(He)})))}));var Se=Ne;Se.Option=pe,Se.OptGroup=de;var ke=Se,Oe=t(53124),Pe=t(88258),Ke=t(98866),Ie=t(97647),De=t(65223),Me=t(33603),Re=t(9708),Te=t(63606),Le=t(4340),Ae=t(97937),je=t(80882),_e=t(50888),He=t(68795);var ze=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,g=v.hovering;return d.createElement(_,(0,a.Z)({},e,{colSpan:f,rowSpan:p,hovering:g,ref:n,onHover:m}))}));H.displayName="WrappedCell";var z=H,V=d.createContext(null);function F(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 u=!1,s=!1,d=!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){d=!(p&&"right"===p.fixed)}}else if(void 0!==a){u=!(p&&"left"===p.fixed)}else if(void 0!==i){s=!(v&&"right"===v.fixed)}return{fixLeft:a,fixRight:i,lastFixLeft:u,firstFixRight:s,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}function B(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,i=e.rowComponent,l=e.cellComponent,c=e.onHeaderRow,u=e.index,s=d.useContext(V),f=s.prefixCls,p=s.direction;c&&(n=c(t.map((function(e){return e.column})),u));var v=S(t.map((function(e){return e.column})));return d.createElement(i,n,t.map((function(e,n){var t,i=e.column,c=F(e.colStart,e.colEnd,o,r,p);return i&&i.onHeaderCell&&(t=e.column.onHeaderCell(i)),d.createElement(z,(0,a.Z)({},e,{ellipsis:i.ellipsis,align:i.align,component:l,prefixCls:f,key:v[n]},c,{additionalProps:t,rowType:"header"}))})))}B.displayName="HeaderRow";var U=B;var W=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=d.useContext(V),i=a.prefixCls,l=a.getComponent,c=d.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)(de(o).map((function(e){return(0,u.Z)({fixed:r},e)})))):[].concat((0,s.Z)(e),[(0,u.Z)((0,u.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,g=e.expandRowByClick,y=e.columnWidth,b=e.fixed,x=d.useMemo((function(){return r||se(a)}),[r,a]),E=d.useMemo((function(){if(i){var e,n=x.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 u,h=x[a];u="left"!==b&&!b||m?"right"!==b&&!b||m!==x.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",u),(0,o.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,o.Z)(e,"width",y),(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 g?d.createElement("span",{onClick:function(e){return e.stopPropagation()}},c):c})),e);return n.map((function(e){return e===le?E:e}))}return x.filter((function(e){return e!==le}))}),[i,x,s,l,p,h]),w=d.useMemo((function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e}),[n,E,h]),Z=d.useMemo((function(){return"rtl"===h?function(e){return e.map((function(e){var n=e.fixed,t=(0,C.Z)(e,ue),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,u.Z)({fixed:r},t)}))}(de(w)):de(w)}),[w,h]);return[w,Z]};function pe(e){var n=(0,d.useRef)(e),t=(0,d.useState)({}),r=(0,i.Z)(t,2)[1],o=(0,d.useRef)(null),a=(0,d.useRef)([]);return(0,d.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,d.useMemo)((function(){for(var r=[],o=[],a=0,i=0,l=0;l=0;i-=1){var l=n[i],c=t&&t[i],u=c&&c[ie];if(l||u||o){var s=u||{},f=(s.columnType,(0,C.Z)(s,me));r.unshift(d.createElement("col",(0,a.Z)({key:i,style:{width:l}},f))),o=!0}}return d.createElement("colgroup",null,r)};var ge=function(e){var n=e.className,t=e.children;return d.createElement("div",{className:n},t)},ye=d.createContext({});var be=["children"];function xe(e){return e.children}xe.Row=function(e){var n=e.children,t=(0,C.Z)(e,be);return d.createElement("tr",t,n)},xe.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,u=d.useContext(V),s=u.prefixCls,f=u.direction,p=d.useContext(ye),v=p.scrollColumnIndex,m=p.stickyOffsets,h=t+i-1+1===v?i+1:i,g=F(t,t+h-1,p.flattenColumns,m,f);return d.createElement(z,(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}},g))};var Ee=xe;var Ce=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=d.useContext(V).prefixCls,a=r.length-1,i=r[a],l=d.useMemo((function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null===i||void 0===i?void 0:i.scrollbar)?a:null}}),[i,r,a,t]);return d.createElement(ye.Provider,{value:l},d.createElement("tfoot",{className:"".concat(o,"-summary")},n))},we=Ee;function Ze(e){var n,t=e.prefixCls,r=e.record,a=e.onExpand,i=e.expanded,l=e.expandable,u="".concat(t,"-row-expand-icon");if(!l)return d.createElement("span",{className:c()(u,"".concat(t,"-row-spaced"))});return d.createElement("span",{className:c()(u,(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 Ne=t(64019),Se=t(27678),ke=function(e,n){var t,r,a=e.scrollBodyRef,l=e.onScroll,s=e.offsetScroll,f=e.container,p=d.useContext(V).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),g=d.useRef(),y=pe({scrollLeft:0,isHiddenScrollBar:!1}),x=(0,i.Z)(y,2),E=x[0],C=x[1],w=d.useRef({delta:0,x:0}),Z=d.useState(!1),N=(0,i.Z)(Z,2),S=N[0],k=N[1],O=function(){k(!1)},P=function(e){var n,t=(e||(null===(n=window)||void 0===n?void 0:n.event)).buttons;if(S&&0!==t){var r=w.current.x+e.pageX-w.current.x-w.current.delta;r<=0&&(r=0),r+h>=m&&(r=m-h),l({scrollLeft:r/m*(v+2)}),w.current.x=e.pageX}else S&&k(!1)},K=function(){if(a.current){var e=(0,Se.os)(a.current).top,n=e+a.current.offsetHeight,t=f===window?document.documentElement.scrollTop+window.innerHeight:(0,Se.os)(f).top+f.clientHeight;n-(0,b.Z)()<=t||e>=t-s?C((function(e){return(0,u.Z)((0,u.Z)({},e),{},{isHiddenScrollBar:!0})})):C((function(e){return(0,u.Z)((0,u.Z)({},e),{},{isHiddenScrollBar:!1})}))}},I=function(e){C((function(n){return(0,u.Z)((0,u.Z)({},n),{},{scrollLeft:e/v*m||0})}))};return d.useImperativeHandle(n,(function(){return{setScrollLeft:I}})),d.useEffect((function(){var e=(0,Ne.Z)(document.body,"mouseup",O,!1),n=(0,Ne.Z)(document.body,"mousemove",P,!1);return K(),function(){e.remove(),n.remove()}}),[h,S]),d.useEffect((function(){var e=(0,Ne.Z)(f,"scroll",K,!1),n=(0,Ne.Z)(window,"resize",K,!1);return function(){e.remove(),n.remove()}}),[f]),d.useEffect((function(){E.isHiddenScrollBar||C((function(e){var n=a.current;return n?(0,u.Z)((0,u.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e}))}),[E.isHiddenScrollBar]),v<=m||!h||E.isHiddenScrollBar?null:d.createElement("div",{style:{height:(0,b.Z)(),width:m,bottom:s},className:"".concat(p,"-sticky-scroll")},d.createElement("div",{onMouseDown:function(e){e.persist(),w.current.delta=e.pageX-E.scrollLeft,w.current.x=0,k(!0),e.preventDefault()},ref:g,className:c()("".concat(p,"-sticky-scroll-bar"),(0,o.Z)({},"".concat(p,"-sticky-scroll-bar-active"),S)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(E.scrollLeft,"px, 0, 0)")}}))},Oe=d.forwardRef(ke),Pe=(0,t(98924).Z)()?window:null;var Ke=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var Ie=d.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,g=e.stickyBottomOffset,y=e.stickyClassName,b=e.onScroll,x=e.maxContentScroll,E=e.children,Z=(0,C.Z)(e,Ke),N=d.useContext(V),S=N.prefixCls,k=N.scrollbarSize,O=N.isSticky,P=O&&!m?0:k,K=d.useRef(null),I=d.useCallback((function(e){(0,w.mH)(n,e),(0,w.mH)(K,e)}),[]);d.useEffect((function(){var e;function n(e){var n=e.currentTarget,t=e.deltaX;t&&(b({currentTarget:n,scrollLeft:n.scrollLeft+t}),e.preventDefault())}return null===(e=K.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=K.current)||void 0===e||e.removeEventListener("wheel",n)}}),[]);var D=d.useMemo((function(){return i.every((function(e){return e.width>=0}))}),[i]),M=i[i.length-1],R={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(S,"-cell-scrollbar")}}},T=(0,d.useMemo)((function(){return P?[].concat((0,s.Z)(a),[R]):a}),[P,a]),L=(0,d.useMemo)((function(){return P?[].concat((0,s.Z)(i),[R]):i}),[P,i]),A=(0,d.useMemo)((function(){var e=p.right,n=p.left;return(0,u.Z)((0,u.Z)({},p),{},{left:"rtl"===v?[].concat((0,s.Z)(n.map((function(e){return e+P}))),[0]):n,right:"rtl"===v?e:[].concat((0,s.Z)(e.map((function(e){return e+P}))),[0]),isSticky:O})}),[P,p,O]),j=function(e,n){return(0,d.useMemo)((function(){for(var t=[],r=0;r0)):(ln(a>0),dn(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=qe(l,!0),u=Date.now(),s=function n(){var t=Date.now()-u,r=Ye(t>i?i:t,c,e,i);Xe(l)?l.scrollTo(window.pageXOffset,r):l instanceof HTMLDocument||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=r:l.scrollTop=r,t0&&(M=b.map((function(e){return"string"===typeof e||"number"===typeof e?d.createElement(Pn,{key:e.toString(),prefixCls:I,disabled:C,value:e,checked:v===e},e):d.createElement(Pn,{key:"radio-group-value-options-".concat(e.value),prefixCls:I,disabled:e.disabled||C,value:e.value,checked:v===e.value,style:e.style},e.label)})));var R=Z||s,T=c()(D,"".concat(D,"-").concat(E),(t={},(0,o.Z)(t,"".concat(D,"-").concat(R),R),(0,o.Z)(t,"".concat(D,"-rtl"),"rtl"===u),t),y);return d.createElement("div",(0,a.Z)({},(0,yn.Z)(e),{className:T,style:N,onMouseEnter:k,onMouseLeave:O,onFocus:P,onBlur:K,id:S,ref:n}),d.createElement(xn,{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))})),In=d.memo(Kn),Dn=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(d,f){for(var p,v=pt(r?r.pos:"0",f),m=qn(d[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,u=a||c,s={},d={},f={posEntities:s,keyEntities:d};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},u=qn(a,o);s[o]=c,d[u]=c,c.parent=s[i],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,f)}),{externalGetKey:u,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,u=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===u,dragOverGapTop:c===e&&-1===u,dragOverGapBottom:c===e&&1===u}}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,d=e.dragOverGapBottom,f=e.pos,p=e.active,v=e.eventKey,m=(0,u.Z)((0,u.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:i,halfChecked:l,dragOver:c,dragOverGapTop:s,dragOverGapBottom:d,pos:f,active:p,key:v});return"props"in m||Object.defineProperty(m,"props",{get:function(){return(0,g.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,Fn.Z)(t,e);var n=(0,Bn.Z)(t);function t(){var e;(0,Hn.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a=0&&t.splice(r,1),t}function dt(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,u){var s,d=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),v=p.top,m=p.height,h=(("rtl"===u?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-d)-12)/r,g=l[t.props.eventKey];if(f-1.5?a({dragNode:S,dropNode:k,dropPosition:1})?w=1:O=!1:a({dragNode:S,dropNode:k,dropPosition:0})?w=0:a({dragNode:S,dropNode:k,dropPosition:1})?w=1:O=!1:a({dragNode:S,dropNode:k,dropPosition:1})?w=1:O=!1,{dropPosition:w,dropLevelOffset:Z,dropTargetKey:g.key,dropTargetPos:g.pos,dragOverNodeKey:C,dropContainerKey:0===w?null:(null===(s=g.parent)||void 0===s?void 0:s.key)||null,dropAllowed:O}}function gt(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function yt(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,g.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 bt(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 xt=t(73453),Et=t(62874),Ct=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],wt=function(e,n){var t=e.className,r=e.style,o=e.motion,l=e.motionNodes,u=e.motionType,s=e.onMotionStart,f=e.onMotionEnd,p=e.active,v=e.treeNodeRequiredProps,m=(0,C.Z)(e,Ct),h=d.useState(!0),g=(0,i.Z)(h,2),y=g[0],b=g[1],x=d.useContext(Wn).prefixCls,E=d.useRef(!1),w=function(){E.current||f(),E.current=!0};return(0,d.useEffect)((function(){l&&"hide"===u&&y&&b(!1)}),[l]),(0,d.useEffect)((function(){return l&&s(),function(){l&&w()}}),[]),l?d.createElement(Et.Z,(0,a.Z)({ref:n,visible:y},o,{motionAppear:"show"===u,onAppearEnd:w,onLeaveEnd:w}),(function(e,n){var t=e.className,r=e.style;return d.createElement("div",{ref:n,className:c()("".concat(x,"-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 d.createElement(ut,(0,a.Z)({},n,l,{title:t,active:p,data:e.data,key:r,isStart:o,isEnd:i}))})))})):d.createElement(ut,(0,a.Z)({domRef:n,className:t,style:r},m,{active:p}))};wt.displayName="MotionTreeNode";var Zt=d.forwardRef(wt);function Nt(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 St=["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"],kt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ot=function(){},Pt="RC_TREE_MOTION_".concat(Math.random()),Kt={key:Pt},It={key:Pt,level:0,index:0,pos:"0",node:Kt,nodes:[Kt]},Dt={parent:null,children:[],pos:It.pos,data:Kt,title:null,key:Pt,isStart:[],isEnd:[]};function Mt(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function Rt(e){return qn(e.key,e.pos)}var Tt=d.forwardRef((function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),l=e.selectedKeys,c=e.checkedKeys,u=e.loadedKeys,s=e.loadingKeys,f=e.halfCheckedKeys,p=e.keyEntities,v=e.disabled,m=e.dragging,h=e.dragOverNodeKey,g=e.dropPosition,y=e.motion,b=e.height,x=e.itemHeight,E=e.virtual,w=e.focusable,Z=e.activeItem,N=e.focused,S=e.tabIndex,k=e.onKeyDown,O=e.onFocus,P=e.onBlur,K=e.onActiveChange,I=e.onListChangeStart,D=e.onListChangeEnd,M=(0,C.Z)(e,St),R=d.useRef(null),T=d.useRef(null);d.useImperativeHandle(n,(function(){return{scrollTo:function(e){R.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}}));var L=d.useState(o),A=(0,i.Z)(L,2),j=A[0],_=A[1],H=d.useState(r),z=(0,i.Z)(H,2),V=z[0],F=z[1],B=d.useState(r),U=(0,i.Z)(B,2),W=U[0],G=U[1],Y=d.useState([]),X=(0,i.Z)(Y,2),q=X[0],J=X[1],Q=d.useState(null),$=(0,i.Z)(Q,2),ee=$[0],ne=$[1],te=d.useRef(r);function re(){var e=te.current;F(e),G(e),J([]),ne(null),D()}te.current=r,d.useEffect((function(){_(o);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e.length,r=n.length;if(1!==Math.abs(t-r))return{add:!1,key:null};function o(e,n){var t=new Map;e.forEach((function(e){t.set(e,!0)}));var r=n.filter((function(e){return!t.has(e)}));return 1===r.length?r[0]:null}return t ").concat(n);return n}(Z)),d.createElement("div",null,d.createElement("input",{style:kt,disabled:!1===w||v,tabIndex:!1!==w?S:null,onKeyDown:k,onFocus:O,onBlur:P,value:"",onChange:Ot,"aria-label":"for screen reader"})),d.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},d.createElement("div",{className:"".concat(t,"-indent")},d.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),d.createElement(xt.Z,(0,a.Z)({},M,{data:oe,itemKey:Rt,height:b,fullHeight:!1,virtual:E,itemHeight:x,prefixCls:"".concat(t,"-list"),ref:R,onVisibleChange:function(e,n){var t=new Set(e);n.filter((function(e){return!t.has(e)})).some((function(e){return Rt(e)===Pt}))&&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=qn(o,n);delete t.key,delete t.children;var u=tt(c,ae);return d.createElement(Zt,(0,a.Z)({},t,u,{title:r,active:!!Z&&o===Z.key,pos:n,data:e.data,isStart:i,isEnd:l,motion:y,motionNodes:o===Pt?q:null,motionType:ee,onMotionStart:I,onMotionEnd:re,treeNodeRequiredProps:ae,onMouseMove:function(){K(null)}}))})))}));Tt.displayName="NodeList";var Lt=Tt;function At(e,n){var t=new Set;return e.forEach((function(e){n.has(e)||t.add(e)})),t}function jt(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!(!t&&!r)||!1===o}function _t(e,n,t,r){var o,a=[];o=r||jt;var i,l=new Set(e.filter((function(e){var n=!!t[e];return n||a.push(e),n}))),c=new Map,u=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),u=Math.max(u,r)})),(0,g.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,u,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,u=r;u>=0;u-=1)(t.get(u)||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,u,o),i}var Ht=function(e){(0,Fn.Z)(t,e);var n=(0,Bn.Z)(t);function t(){var e;(0,Hn.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,d=a.dropAllowed;if(d){var f=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,u.Z)((0,u.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,g.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,u.Z)((0,u.Z)({},tt(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(i?st(o,l):dt(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,u=l.multiple,s=t.selected,d=t[i.key],f=!s,p=(r=f?u?dt(r,d):[d]:st(r,d)).map((function(e){var n=a[e];return n?n.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),null===c||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,u=e.props,d=u.checkStrictly,f=u.onCheck,p=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(d){var m=r?dt(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=_t([].concat((0,s.Z)(l),[p]),!0,i),g=h.checkedKeys,y=h.halfCheckedKeys;if(!r){var b=new Set(g);b.delete(p);var x=_t(Array.from(b),{checked:!1,halfCheckedKeys:y},i);g=x.checkedKeys,y=x.halfCheckedKeys}o=g,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=y,g.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:g},!1,{halfCheckedKeys:y})}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,u=void 0===c?[]:c,s=e.props,d=s.loadData,f=s.onLoad;return d&&-1===l.indexOf(t)&&-1===u.indexOf(t)?(d(n).then((function(){var o=dt(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,g.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:dt(a,t)}),r()}o(n)})),{loadingKeys:dt(u,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,u.Z)((0,u.Z)({},i),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,zn.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,u=t.keyEntities,s=t.draggingNodeKey,f=t.activeKey,v=t.dropLevelOffset,m=t.dropContainerKey,h=t.dropTargetKey,g=t.dropPosition,y=t.dragOverNodeKey,b=t.indent,x=this.props,E=x.prefixCls,C=x.className,w=x.style,Z=x.showLine,N=x.focusable,S=x.tabIndex,k=void 0===S?0:S,O=x.selectable,P=x.showIcon,K=x.icon,I=x.switcherIcon,D=x.draggable,M=x.checkable,R=x.checkStrictly,T=x.disabled,L=x.motion,A=x.loadData,j=x.filterTreeNode,_=x.height,H=x.itemHeight,z=x.virtual,V=x.titleRender,F=x.dropIndicatorRender,B=x.onContextMenu,U=x.onScroll,W=x.direction,G=x.rootClassName,Y=x.rootStyle,X=(0,p.Z)(this.props,{aria:!0,data:!0});return D&&(n="object"===(0,r.Z)(D)?D:"function"===typeof D?{nodeDraggable:D}:{}),d.createElement(Wn.Provider,{value:{prefixCls:E,selectable:O,showIcon:P,icon:K,switcherIcon:I,draggable:n,draggingNodeKey:s,checkable:M,checkStrictly:R,disabled:T,keyEntities:u,dropLevelOffset:v,dropContainerKey:m,dropTargetKey:h,dropPosition:g,dragOverNodeKey:y,indent:b,direction:W,dropIndicatorRender:F,loadData:A,filterTreeNode:j,titleRender:V,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}},d.createElement("div",{role:"tree",className:c()(E,C,G,(e={},(0,o.Z)(e,"".concat(E,"-show-line"),Z),(0,o.Z)(e,"".concat(E,"-focused"),i),(0,o.Z)(e,"".concat(E,"-active-focused"),null!==f),e)),style:Y},d.createElement(Lt,(0,a.Z)({ref:this.listRef,prefixCls:E,style:w,data:l,disabled:T,selectable:O,checkable:!!M,motion:L,dragging:null!==s,height:_,itemHeight:H,virtual:z,focusable:N,focused:i,tabIndex:k,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:B,onScroll:U},this.getTreeNodeRequiredProps(),X))))}}],[{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=Jn(e.fieldNames),a.fieldNames=l),i("treeData")?t=e.treeData:i("children")&&((0,g.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=Qn(e.children)),t){a.treeData=t;var c=nt(t,{fieldNames:l});a.keyEntities=(0,u.Z)((0,o.Z)({},Pt,It),c.keyEntities)}var s,d=a.keyEntities||n.keyEntities;if(i("expandedKeys")||r&&i("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?bt(e.expandedKeys,d):e.expandedKeys;else if(!r&&e.defaultExpandAll){var f=(0,u.Z)({},d);delete f[Pt],a.expandedKeys=Object.keys(f).map((function(e){return f[e].key}))}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?bt(e.defaultExpandedKeys,d):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=$n(t||n.treeData,a.expandedKeys||n.expandedKeys,l);a.flattenNodes=p}if((e.selectable&&(i("selectedKeys")?a.selectedKeys=gt(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=gt(e.defaultSelectedKeys,e))),e.checkable)&&(i("checkedKeys")?s=yt(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?s=yt(e.defaultCheckedKeys)||{}:t&&(s=yt(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),s)){var v=s,m=v.checkedKeys,h=void 0===m?[]:m,y=v.halfCheckedKeys,b=void 0===y?[]:y;if(!e.checkStrictly){var x=_t(h,!0,d);h=x.checkedKeys,b=x.halfCheckedKeys}a.checkedKeys=h,a.halfCheckedKeys=b}return i("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(d.Component);Ht.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 d.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},Ht.TreeNode=ut;var zt=Ht,Vt=t(33603),Ft={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"},Bt=function(e,n){return d.createElement(an.Z,(0,u.Z)((0,u.Z)({},e),{},{ref:n,icon:Ft}))};Bt.displayName="FileOutlined";var Ut=d.forwardRef(Bt),Wt={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 d.createElement(an.Z,(0,u.Z)((0,u.Z)({},e),{},{ref:n,icon:Wt}))};Gt.displayName="FolderOpenOutlined";var Yt=d.forwardRef(Gt),Xt={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"},qt=function(e,n){return d.createElement(an.Z,(0,u.Z)((0,u.Z)({},e),{},{ref:n,icon:Xt}))};qt.displayName="FolderOutlined";var Jt,Qt=d.forwardRef(qt);function $t(e,n){e.forEach((function(e){var t=e.key,r=e.children;!1!==n(t,e)&&$t(r||[],n)}))}function er(e){var n=e.treeData,t=e.expandedKeys,r=e.startKey,o=e.endKey,a=[],i=Jt.None;if(r&&r===o)return[r];if(!r||!o)return[];return $t(n,(function(e){if(i===Jt.End)return!1;if(function(e){return e===r||e===o}(e)){if(a.push(e),i===Jt.None)i=Jt.Start;else if(i===Jt.Start)return i=Jt.End,!1}else i===Jt.Start&&a.push(e);return-1!==t.indexOf(e)})),a}function nr(e,n){var t=(0,s.Z)(n),r=[];return $t(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"}(Jt||(Jt={}));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&&$([]),t&&R(!1),q(""),_(k?(O||[]).map((function(e){return String(e)})):[])},te=c()((0,o.Z)({},"".concat(s,"-menu-without-submenu"),!(u.filters||[]).some((function(e){return e.children})))),re=function(e){if(e.target.checked){var n=Mr(null===u||void 0===u?void 0:u.filters).map((function(e){return String(e)}));_(n)}else _([])},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 u.filterDropdown)Q=u.filterDropdown({prefixCls:"".concat(s,"-custom"),setSelectedKeys:function(e){return H({selectedKeys:e})},selectedKeys:j(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&R(!1),$(j())},clearFilters:ne,filters:u.filters,visible:t});else if(u.filterDropdown)Q=u.filterDropdown;else{var ie=j()||[];Q=d.createElement(d.Fragment,null,0===(u.filters||[]).length?d.createElement(vn.Z,{image:vn.Z.PRESENTED_IMAGE_SIMPLE,description:x.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===m?d.createElement(d.Fragment,null,d.createElement(Sr,{filterSearch:g,value:X,onChange:J,tablePrefixCls:r,locale:x}),d.createElement("div",{className:"".concat(r,"-filter-dropdown-tree")},p?d.createElement(fn.Z,{checked:ie.length===Mr(u.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 g=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)),g(e,r),t(e,r||(null===m||void 0===m?void 0:m.pageSize))}}),g]}var _r=t(84506),Hr=t(80882),zr={},Vr="SELECT_ALL",Fr="SELECT_INVERT",Br="SELECT_NONE",Ur=[];function Wr(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)(Wr(e[n],n))))})),t}function Gr(e,n){var t=e||{},r=t.preserveSelectedRowKeys,l=t.selectedRowKeys,c=t.defaultSelectedRowKeys,u=t.getCheckboxProps,f=t.onChange,p=t.onSelect,v=t.onSelectAll,m=t.onSelectInvert,h=t.onSelectNone,g=t.onSelectMultiple,y=t.columnWidth,b=t.type,x=t.selections,E=t.fixed,C=t.renderCell,w=t.hideSelectAll,Z=t.checkStrictly,N=void 0===Z||Z,S=n.prefixCls,k=n.data,O=n.pageData,P=n.getRecordByKey,K=n.getRowKey,I=n.expandType,D=n.childrenColumnName,M=n.locale,R=n.getPopupContainer,T=(0,gn.Z)(l||c||Ur,{value:l}),L=(0,i.Z)(T,2),A=L[0],j=L[1],_=d.useRef(new Map),H=(0,d.useCallback)((function(e){if(r){var n=new Map;e.forEach((function(e){var t=P(e);!t&&_.current.has(e)&&(t=_.current.get(e)),n.set(e,t)})),_.current=n}}),[P,r]);d.useEffect((function(){H(A)}),[A]);var z=(0,d.useMemo)((function(){return N?{keyEntities:null}:nt(k,{externalGetKey:K,childrenPropName:D})}),[k,K,N,D]).keyEntities,V=(0,d.useMemo)((function(){return Wr(O,D)}),[O,D]),F=(0,d.useMemo)((function(){var e=new Map;return V.forEach((function(n,t){var r=K(n,t),o=(u?u(n):null)||{};e.set(r,o)})),e}),[V,K,u]),B=(0,d.useCallback)((function(e){var n;return!!(null===(n=F.get(K(e)))||void 0===n?void 0:n.disabled)}),[F,K]),U=(0,d.useMemo)((function(){if(N)return[A||[],[]];var e=_t(A,!0,z,B);return[e.checkedKeys||[],e.halfCheckedKeys]}),[A,N,z,B]),W=(0,i.Z)(U,2),G=W[0],Y=W[1],X=(0,d.useMemo)((function(){var e="radio"===b?G.slice(0,1):G;return new Set(e)}),[G,b]),q=(0,d.useMemo)((function(){return"radio"===b?new Set:new Set(Y)}),[Y,b]),J=(0,d.useState)(null),Q=(0,i.Z)(J,2),$=Q[0],ee=Q[1];d.useEffect((function(){e||j(Ur)}),[!!e]);var ne=(0,d.useCallback)((function(e,n){var t,o;H(e),r?(t=e,o=e.map((function(e){return _.current.get(e)}))):(t=[],o=[],e.forEach((function(e){var n=P(e);void 0!==n&&(t.push(e),o.push(n))}))),j(t),null===f||void 0===f||f(t,o,{type:n})}),[j,P,f,r]),te=(0,d.useCallback)((function(e,n,t,r){if(p){var o=t.map((function(e){return P(e)}));p(P(e),n,o,r)}ne(t,"single")}),[p,P,ne]),re=(0,d.useMemo)((function(){return!x||w?null:(!0===x?[Vr,Fr,Br]:x).map((function(e){return e===Vr?{key:"all",text:M.selectionAll,onSelect:function(){ne(k.map((function(e,n){return K(e,n)})).filter((function(e){var n=F.get(e);return!(null===n||void 0===n?void 0:n.disabled)||X.has(e)})),"all")}}:e===Fr?{key:"invert",text:M.selectInvert,onSelect:function(){var e=new Set(X);O.forEach((function(n,t){var r=K(n,t),o=F.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===Br?{key:"none",text:M.selectNone,onSelect:function(){null===h||void 0===h||h(),ne(Array.from(X).filter((function(e){var n=F.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)({},le),e);t&&(le.resetPagination(),r.pagination.current&&(r.pagination.current=1),h&&h.onChange&&h.onChange(1,r.pagination.pageSize)),I&&!1!==I.scrollToFirstRowOnChange&&re.body.current&&Je(0,{getContainer:function(){return re.body.current}}),null===w||void 0===w||w(r.pagination,r.filters,r.sorter,{currentDataSource:Tr(lo(X,r.sorterStates,ne),r.filterStates),action:n})},ue=co({prefixCls:J,mergedColumns:_,onSorterChange:function(e,n){ce({sorter:e,sorterStates:n},"sort",!1)},sortDirections:D||["ascend","descend"],tableLocale:Y,showSorterTooltip:T}),de=(0,i.Z)(ue,4),fe=de[0],pe=de[1],ve=de[2],me=de[3],he=d.useMemo((function(){return lo(X,pe,ne)}),[X,pe]);le.sorter=me(),le.sorterStates=pe;var ge=Lr({prefixCls:J,locale:Y,dropdownPrefixCls:Q,mergedColumns:_,onFilterChange:function(e,n){ce({filters:e,filterStates:n},"filter",!0)},getPopupContainer:Z}),ye=(0,i.Z)(ge,3),be=ye[0],xe=ye[1],Ee=ye[2],Ce=Tr(he,xe);le.filters=Ee,le.filterStates=xe;var we=so(d.useMemo((function(){var e={};return Object.keys(Ee).forEach((function(n){null!==Ee[n]&&(e[n]=Ee[n])})),(0,a.Z)((0,a.Z)({},ve),{filters:e})}),[ve,Ee])),Ze=(0,i.Z)(we,1)[0],Ne=jr(Ce.length,h,(function(e,n){ce({pagination:(0,a.Z)((0,a.Z)({},le.pagination),{current:e,pageSize:n})},"paginate")})),Se=(0,i.Z)(Ne,2),ke=Se[0],Oe=Se[1];le.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),le.resetPagination=Oe;var Pe=d.useMemo((function(){if(!1===h||!ke.pageSize)return Ce;var e=ke.current,n=void 0===e?1:e,t=ke.total,r=ke.pageSize,o=void 0===r?10:r;return Ce.lengtho?Ce.slice((n-1)*o,n*o):Ce:Ce.slice((n-1)*o,n*o)}),[!!h,Ce,ke&&ke.current,ke&&ke.pageSize,ke&&ke.total]),Ke=Gr(g,{prefixCls:J,data:Ce,pageData:Pe,getRowKey:oe,getRecordByKey:ie,expandType:te,childrenColumnName:ne,locale:Y,getPopupContainer:Z}),Ie=(0,i.Z)(Ke,2),De=Ie[0],Me=Ie[1];$.__PARENT_RENDER_ICON__=$.expandIcon,$.expandIcon=$.expandIcon||S||en(Y),"nest"===te&&void 0===$.expandIconColumnIndex?$.expandIconColumnIndex=g?1:0:$.expandIconColumnIndex>0&&g&&($.expandIconColumnIndex-=1),"number"!==typeof $.indentSize&&($.indentSize="number"===typeof K?K:15);var Re,Le,Ae,Ge=d.useCallback((function(e){return Ze(De(be(fe(e))))}),[fe,be,De]);if(!1!==h&&(null===ke||void 0===ke?void 0:ke.total)){var Ye;Ye=ke.size?ke.size:"small"===G||"middle"===G?"small":void 0;var Xe=function(e){return d.createElement(Ue.Z,(0,a.Z)({},ke,{className:c()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),ke.className),size:Ye}))},qe="rtl"===W?"left":"right",Qe=ke.position;if(null!==Qe&&Array.isArray(Qe)){var $e=Qe.find((function(e){return-1!==e.indexOf("top")})),nn=Qe.find((function(e){return-1!==e.indexOf("bottom")})),tn=Qe.every((function(e){return"none"==="".concat(e)}));$e||nn||tn||(Le=Xe(qe)),$e&&(Re=Xe($e.toLowerCase().replace("top",""))),nn&&(Le=Xe(nn.toLowerCase().replace("bottom","")))}else Le=Xe(qe)}"boolean"===typeof N?Ae={spinning:N}:"object"===(0,r.Z)(N)&&(Ae=(0,a.Z)({spinning:!0},N));var rn=c()("".concat(J,"-wrapper"),(0,o.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===W),u);return d.createElement("div",{ref:n,className:rn,style:s},d.createElement(We.Z,(0,a.Z)({spinning:!1},Ae),Re,d.createElement(je,(0,a.Z)({},H,{columns:_,direction:W,expandable:$,prefixCls:J,className:c()((t={},(0,o.Z)(t,"".concat(J,"-middle"),"middle"===G),(0,o.Z)(t,"".concat(J,"-small"),"small"===G),(0,o.Z)(t,"".concat(J,"-bordered"),p),(0,o.Z)(t,"".concat(J,"-empty"),0===X.length),t)),data:Pe,rowKey:oe,rowClassName:function(e,n,t){var r;return r="function"===typeof b?c()(b(e,n,t)):c()(b),c()((0,o.Z)({},"".concat(J,"-row-selected"),Me.has(oe(e,n))),r)},emptyText:M&&M.emptyText||(U||ze.Z)("Table"),internalHooks:Te,internalRefs:re,transformColumns:Ge})),Le))}var vo=d.forwardRef(po);vo.defaultProps={rowKey:"key"},vo.SELECTION_COLUMN=zr,vo.EXPAND_COLUMN=je.EXPAND_COLUMN,vo.SELECTION_ALL=Vr,vo.SELECTION_INVERT=Fr,vo.SELECTION_NONE=Br,vo.Column=Qe,vo.ColumnGroup=$e,vo.Summary=we;var mo=vo},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(91),i=t(1413),l=t(15671),c=t(43144),u=t(60136),s=t(33643),d=t(67294),f=t(94184),p=t.n(f),v=function(e){(0,u.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,u=n.id,s=n.type,f=n.disabled,v=n.readOnly,m=n.tabIndex,h=n.onClick,g=n.onFocus,y=n.onBlur,b=n.onKeyDown,x=n.onKeyPress,E=n.onKeyUp,C=n.autoFocus,w=n.value,Z=n.required,N=(0,a.Z)(n,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),S=Object.keys(N).reduce((function(e,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(e[n]=N[n]),e}),{}),k=this.state.checked,O=p()(t,i,(e={},(0,o.Z)(e,"".concat(t,"-checked"),k),(0,o.Z)(e,"".concat(t,"-disabled"),f),e));return d.createElement("span",{className:O,style:l},d.createElement("input",(0,r.Z)({name:c,id:u,type:s,required:Z,readOnly:v,disabled:f,tabIndex:m,className:"".concat(t,"-input"),checked:!!k,onClick:h,onFocus:g,onBlur:y,onKeyUp:E,onKeyDown:b,onKeyPress:x,onChange:this.handleChange,autoFocus:C,ref:this.saveInput,value:w},S)),d.createElement("span",{className:"".concat(t,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){return"checked"in e?(0,i.Z)((0,i.Z)({},n),{},{checked:e.checked}):null}}]),t}(d.Component);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},n.Z=v},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)}}},73453:function(e,n,t){t.d(n,{Z:function(){return X}});var r=t(67294),o=t(94184),a=t.n(o),i=t(48555);function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function c(e){for(var n=1;nt},e}return n=l,(t=[{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,n=e.dragging,t=e.visible,o=this.props.prefixCls,i=this.getSpinHeight(),l=this.getTop(),c=this.showScroll(),u=c&&t;return r.createElement("div",{ref:this.scrollbarRef,className:a()("".concat(o,"-scrollbar"),v({},"".concat(o,"-scrollbar-show"),c)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:u?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},r.createElement("div",{ref:this.thumbRef,className:a()("".concat(o,"-scrollbar-thumb"),v({},"".concat(o,"-scrollbar-thumb-moving"),n)),style:{width:"100%",height:i,top:l,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}])&&h(n.prototype,t),o&&h(n,o),Object.defineProperty(n,"prototype",{writable:!1}),l}(r.Component);function w(e){var n=e.children,t=e.setRef,o=r.useCallback((function(e){t(e)}),[]);return r.cloneElement(n,{ref:o})}var Z=t(34203);function N(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t1&&void 0!==arguments[1]&&arguments[1],r=e<0&&i.current.top||e>0&&i.current.bottom;return n&&r?(clearTimeout(o.current),t.current=!1):r&&!t.current||a(),!t.current&&r}};var L=t(8410);var A=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function j(){return j=Object.assign||function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var U=[],W={overflowY:"auto",overflowAnchor:"none"};function G(e,n){var t=e.prefixCls,o=void 0===t?"rc-virtual-list":t,i=e.className,l=e.height,c=e.itemHeight,u=e.fullHeight,s=void 0===u||u,p=e.style,v=e.data,m=e.children,h=e.itemKey,g=e.virtual,y=e.component,b=void 0===y?"div":y,x=e.onScroll,E=e.onVisibleChange,N=B(e,A),O=!(!1===g||!l||!c),K=O&&v&&c*v.length>l,I=V((0,r.useState)(0),2),M=I[0],_=I[1],F=V((0,r.useState)(!1),2),G=F[0],Y=F[1],X=a()(o,i),q=v||U,J=(0,r.useRef)(),Q=(0,r.useRef)(),$=(0,r.useRef)(),ee=r.useCallback((function(e){return"function"===typeof h?h(e):null===e||void 0===e?void 0:e[h]}),[h]),ne={getKey:ee};function te(e){_((function(n){var t=function(e){var n=e;Number.isNaN(ye.current)||(n=Math.min(n,ye.current));return n=Math.max(n,0)}("function"===typeof e?e(n):e);return J.current.scrollTop=t,t}))}var re=(0,r.useRef)({start:0,end:q.length}),oe=(0,r.useRef)(),ae=V(D(q,ee),1)[0];oe.current=ae;var ie=function(e,n,t){var o=k(r.useState(0),2),a=o[0],i=o[1],l=(0,r.useRef)(new Map),c=(0,r.useRef)(new S),u=(0,r.useRef)();function s(){f.Z.cancel(u.current)}function d(){s(),u.current=(0,f.Z)((function(){l.current.forEach((function(e,n){if(e&&e.offsetParent){var t=(0,Z.Z)(e),r=t.offsetHeight;c.current.get(n)!==r&&c.current.set(n,t.offsetHeight)}})),i((function(e){return e+1}))}))}return(0,r.useEffect)((function(){return s}),[]),[function(r,o){var a=e(r),i=l.current.get(a);o?(l.current.set(a,o),d()):l.current.delete(a),!i!==!o&&(o?null===n||void 0===n||n(r):null===t||void 0===t||t(r))},d,c.current,a]}(ee,null,null),le=V(ie,4),ce=le[0],ue=le[1],se=le[2],de=le[3],fe=r.useMemo((function(){if(!O)return{scrollHeight:void 0,start:0,end:q.length-1,offset:void 0};var e;if(!K)return{scrollHeight:(null===(e=Q.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:q.length-1,offset:void 0};for(var n,t,r,o=0,a=q.length,i=0;i=M&&void 0===n&&(n=i,t=o),f>M+l&&void 0===r&&(r=i),o=f}return void 0===n&&(n=0,t=0),void 0===r&&(r=q.length-1),{scrollHeight:o,start:n,end:r=Math.min(r+1,q.length),offset:t}}),[K,O,M,q,de,l]),pe=fe.scrollHeight,ve=fe.start,me=fe.end,he=fe.offset;re.current.start=ve,re.current.end=me;var ge=pe-l,ye=(0,r.useRef)(ge);ye.current=ge;var be=M<=0,xe=M>=ge,Ee=T(be,xe);var Ce=function(e,n,t,o){var a=(0,r.useRef)(0),i=(0,r.useRef)(null),l=(0,r.useRef)(null),c=(0,r.useRef)(!1),u=T(n,t);return[function(n){if(e){f.Z.cancel(i.current);var t=n.deltaY;a.current+=t,l.current=t,u(t)||(R||n.preventDefault(),i.current=(0,f.Z)((function(){var e=c.current?10:1;o(a.current*e),a.current=0})))}},function(n){e&&(c.current=n.detail===l.current)}]}(O,be,xe,(function(e){te((function(n){return n+e}))})),we=V(Ce,2),Ze=we[0],Ne=we[1];!function(e,n,t){var o,a=(0,r.useRef)(!1),i=(0,r.useRef)(0),l=(0,r.useRef)(null),c=(0,r.useRef)(null),u=function(e){if(a.current){var n=Math.ceil(e.touches[0].pageY),r=i.current-n;i.current=n,t(r)&&e.preventDefault(),clearInterval(c.current),c.current=setInterval((function(){(!t(r*=.9333333333333333,!0)||Math.abs(r)<=.1)&&clearInterval(c.current)}),16)}},s=function(){a.current=!1,o()},d=function(e){o(),1!==e.touches.length||a.current||(a.current=!0,i.current=Math.ceil(e.touches[0].pageY),l.current=e.target,l.current.addEventListener("touchmove",u),l.current.addEventListener("touchend",s))};o=function(){l.current&&(l.current.removeEventListener("touchmove",u),l.current.removeEventListener("touchend",s))},(0,L.Z)((function(){return e&&n.current.addEventListener("touchstart",d),function(){var e;null===(e=n.current)||void 0===e||e.removeEventListener("touchstart",d),o(),clearInterval(c.current)}}),[e])}(O,J,(function(e,n){return!Ee(e,n)&&(Ze({preventDefault:function(){},deltaY:e}),!0)})),(0,L.Z)((function(){function e(e){O&&e.preventDefault()}return J.current.addEventListener("wheel",Ze),J.current.addEventListener("DOMMouseScroll",Ne),J.current.addEventListener("MozMousePixelScroll",e),function(){J.current&&(J.current.removeEventListener("wheel",Ze),J.current.removeEventListener("DOMMouseScroll",Ne),J.current.removeEventListener("MozMousePixelScroll",e))}}),[O]);var Se=function(e,n,t,o,a,i,l,c){var u=r.useRef();return function(r){if(null!==r&&void 0!==r){if(f.Z.cancel(u.current),"number"===typeof r)l(r);else if(r&&"object"===P(r)){var s,d=r.align;s="index"in r?r.index:n.findIndex((function(e){return a(e)===r.key}));var p=r.offset,v=void 0===p?0:p;!function r(c,p){if(!(c<0)&&e.current){var m=e.current.clientHeight,h=!1,g=p;if(m){for(var y=p||d,b=0,x=0,E=0,C=Math.min(n.length,s),w=0;w<=C;w+=1){var Z=a(n[w]);x=b;var N=t.get(Z);b=E=x+(void 0===N?o:N),w===s&&void 0===N&&(h=!0)}var S=null;switch(y){case"top":S=x-v;break;case"bottom":S=E-m+v;break;default:var k=e.current.scrollTop;xk+m&&(g="bottom")}null!==S&&S!==e.current.scrollTop&&l(S)}u.current=(0,f.Z)((function(){h&&i(),r(c-1,g)}))}}(3)}}else c()}}(J,q,se,c,ee,ue,te,(function(){var e;null===(e=$.current)||void 0===e||e.delayHidden()}));r.useImperativeHandle(n,(function(){return{scrollTo:Se}})),(0,L.Z)((function(){if(E){var e=q.slice(ve,me+1);E(e,q)}}),[ve,me,q]);var ke=function(e,n,t,o,a,i){var l=i.getKey;return e.slice(n,t+1).map((function(e,t){var i=a(e,n+t,{}),c=l(e);return r.createElement(w,{key:c,setRef:function(n){return o(e,n)}},i)}))}(q,ve,me,ce,m,ne),Oe=null;return l&&(Oe=H(z({},s?"height":"maxHeight",l),W),O&&(Oe.overflowY="hidden",G&&(Oe.pointerEvents="none"))),r.createElement("div",j({style:H(H({},p),{},{position:"relative"}),className:X},N),r.createElement(b,{className:"".concat(o,"-holder"),style:Oe,ref:J,onScroll:function(e){var n=e.currentTarget.scrollTop;n!==M&&te(n),null===x||void 0===x||x(e)}},r.createElement(d,{prefixCls:o,height:pe,offset:he,onInnerResize:ue,ref:Q},ke)),O&&r.createElement(C,{ref:$,prefixCls:o,scrollTop:M,height:l,scrollHeight:pe,count:q.length,onScroll:function(e){te(e)},onStartMove:function(){Y(!0)},onStopMove:function(){Y(!1)}}))}var Y=r.forwardRef(G);Y.displayName="List";var X=Y}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/355-e4edb49c6c2ced67.js b/static/web/_next/static/chunks/355-e4edb49c6c2ced67.js deleted file mode 100644 index 9f769930c..000000000 --- a/static/web/_next/static/chunks/355-e4edb49c6c2ced67.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[355],{32808:function(e,n,t){t.d(n,{Z:function(){return N}});var r=t(4942),o=t(87462),a=t(94184),l=t.n(a),i=t(50132),c=t(67294),d=t(53124),s=t(65223),u=t(74902),f=t(97685),p=t(98423),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&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!==P.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=l()(T,(0,r.Z)({},"".concat(T,"-rtl"),"rtl"===N),y);return c.createElement("div",(0,o.Z)({className:H,style:g},I,{ref:n}),c.createElement(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}))}));F.displayName="WrappedCell";var _=F,j=u.createContext(null);function B(e,n,t,r,o){var a,l,i=t[e]||{},c=t[n]||{};"left"===i.fixed?a=r.left[e]:"right"===c.fixed&&(l=r.right[n]);var d=!1,s=!1,u=!1,f=!1,p=t[n+1],v=t[e-1];if("rtl"===o){if(void 0!==a)f=!(v&&"left"===v.fixed);else if(void 0!==l){u=!(p&&"right"===p.fixed)}}else if(void 0!==a){d=!(p&&"left"===p.fixed)}else if(void 0!==l){s=!(v&&"right"===v.fixed)}return{fixLeft:a,fixRight:l,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,l=e.rowComponent,i=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(l,n,t.map((function(e,n){var t,l=e.column,c=B(e.colStart,e.colEnd,o,r,p);return l&&l.onHeaderCell&&(t=e.column.onHeaderCell(l)),u.createElement(_,(0,a.Z)({},e,{ellipsis:l.ellipsis,align:l.align,component:i,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),l=a.prefixCls,i=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},l=1,i=t.children;return i&&i.length>0&&(l=e(i,a,o+1).reduce((function(e,n){return e+n}),0),r.hasSubColumns=!0),"colSpan"in t&&(l=t.colSpan),"rowSpan"in t&&(r.rowSpan=t.rowSpan),r.colSpan=l,r.colEnd=r.colStart+l-1,n[o].push(r),a+=l,l}))}(e,0);for(var t=n.length,r=function(e){n[e].forEach((function(n){"rowSpan"in n||n.hasSubColumns||(n.rowSpan=t-e)}))},o=0;o1?t-1:0),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,l=e.expandable,i=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(l){var e,n=C.slice();if(!n.includes(ie)){var r=m||0;r>=0&&n.splice(r,0,ie)}0;var a=n.indexOf(ie);n=n.filter((function(e,n){return e!==ie||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,le,{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=i.has(o),l=!v||v(n),c=p({prefixCls:t,expanded:a,expandable:l,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===ie?E:e}))}return C.filter((function(e){return e!==ie}))}),[l,C,s,i,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,l.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,l=n.current;a.current=[],e.forEach((function(e){n.current=e(n.current)})),o.current=null,l!==n.current&&r({})}}))}]}var ve=function(e,n,t){return(0,u.useMemo)((function(){for(var r=[],o=[],a=0,l=0,i=0;i=0;l-=1){var i=n[l],c=t&&t[l],d=c&&c[le];if(i||d||o){var s=d||{},f=(s.columnType,(0,k.Z)(s,me));r.unshift(u.createElement("col",(0,a.Z)({key:l,style:{width:i}},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,l=void 0===o?1:o,i=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+l-1+1===v?l+1:l,y=B(t,t+h-1,p.flattenColumns,m,f);return u.createElement(_,(0,a.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:h,rowSpan:i,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,l=r[a],i=u.useMemo((function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null===l||void 0===l?void 0:l.scrollbar)?a:null}}),[l,r,a,t]);return u.createElement(ge.Provider,{value:i},u.createElement("tfoot",{className:"".concat(o,"-summary")},n))},Ze=Ee;function Ne(e){var n,t=e.prefixCls,r=e.record,a=e.onExpand,l=e.expanded,i=e.expandable,d="".concat(t,"-row-expand-icon");if(!i)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"),l),(0,o.Z)(n,"".concat(t,"-row-collapsed"),!l),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,i=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,l.Z)(g,2),E=C[0],k=C[1],Z=u.useRef({delta:0,x:0}),N=u.useState(!1),b=(0,l.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),i({scrollLeft:r/m*(v+2)}),Z.current.x=e.pageX}else w&&S(!1)},D=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})}))}},P=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:P}})),u.useEffect((function(){var e=(0,be.Z)(document.body,"mouseup",K,!1),n=(0,be.Z)(document.body,"mousemove",O,!1);return D(),function(){e.remove(),n.remove()}}),[h,w]),u.useEffect((function(){var e=(0,be.Z)(f,"scroll",D,!1),n=(0,be.Z)(window,"resize",D,!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 De=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var Pe=u.forwardRef((function(e,n){var t=e.className,r=e.noData,a=e.columns,l=e.flattenColumns,i=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,De),b=u.useContext(j),w=b.prefixCls,S=b.scrollbarSize,K=b.isSticky,O=K&&!m?0:S,D=u.useRef(null),P=u.useCallback((function(e){(0,Z.mH)(n,e),(0,Z.mH)(D,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=D.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=D.current)||void 0===e||e.removeEventListener("wheel",n)}}),[]);var R=u.useMemo((function(){return l.every((function(e){return e.width>=0}))}),[l]),M=l[l.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)(l),[L]):l}),[O,l]),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,l=void 0===a?450:a,i=r(),c=Ye(i,!0),d=Date.now(),s=function n(){var t=Date.now()-d,r=Xe(t>l?l:t,c,e,l);qe(i)?i.scrollTo(window.pageXOffset,r):i instanceof HTMLDocument||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=r:i.scrollTop=r,t0&&(M=x.map((function(e){return"string"===typeof e||"number"===typeof e?u.createElement(On,{key:e.toString(),prefixCls:P,disabled:k,value:e,checked:v===e},e):u.createElement(On,{key:"radio-group-value-options-".concat(e.value),prefixCls:P,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:D,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))})),Pn=u.memo(Dn),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,l=n.childrenPropName,i=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,l=e.parentPos,i=e.level,c={node:n,nodes:e.nodes,index:t,key:a,pos:o,level:i},d=Yn(a,o);s[o]=c,u[d]=c,c.parent=s[l],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,f)}),{externalGetKey:d,childrenPropName:l,fieldNames:i}),o&&o(f),f}function tt(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,l=n.checkedKeys,i=n.halfCheckedKeys,c=n.dragOverNodeKey,d=n.dropPosition,s=n.keyEntities[e];return{eventKey:e,expanded:-1!==t.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==l.indexOf(e),halfChecked:-1!==i.indexOf(e),pos:String(s?s.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function rt(e){var n=e.data,t=e.expanded,r=e.selected,o=e.checked,a=e.loaded,l=e.loading,i=e.halfChecked,c=e.dragOver,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:l,halfChecked:i,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",lt="close",it=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,Fn.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,l,i,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=i[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,i=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,l.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(){i&&"hide"===d&&g&&x(!1)}),[i]),(0,u.useEffect)((function(){return i&&s(),function(){i&&Z()}}),[]),i?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},i.map((function(e){var n=(0,a.Z)({},e.data),t=e.title,r=e.key,o=e.isStart,l=e.isEnd;delete n.children;var i=tt(r,v);return u.createElement(dt,(0,a.Z)({},n,i,{title:t,active:p,data:e.data,key:r,isStart:o,isEnd:l}))})))})):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 l=n.findIndex((function(e){return e.key===o.key}));return n.slice(a+1,l)}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()),Dt={key:Ot},Pt={key:Ot,level:0,index:0,pos:"0",node:Dt,nodes:[Dt]},Rt={parent:null,children:[],pos:Pt.pos,data:Dt,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),i=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,D=e.onActiveChange,P=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,l.Z)(I,2),H=A[0],z=A[1],F=u.useState(r),_=(0,l.Z)(F,2),j=_[0],B=_[1],V=u.useState(r),W=(0,l.Z)(V,2),U=W[0],G=W[1],X=u.useState([]),q=(0,l.Z)(X,2),Y=q[0],$=q[1],J=u.useState(null),Q=(0,l.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,l=e.isStart,i=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:l,isEnd:i,motion:g,motionNodes:o===Ot?Y:null,motionType:ee,onMotionStart:P,onMotionEnd:re,treeNodeRequiredProps:ae,onMouseMove:function(){D(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 l,i=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(", "))),l=!0===n?function(e,n,t,r){for(var o=new Set(e),a=new Set,l=0;l<=t;l+=1)(n.get(l)||new Set).forEach((function(e){var n=e.key,t=e.node,a=e.children,l=void 0===a?[]:a;o.has(n)&&!r(t)&&l.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}));for(var i=new Set,c=t;c>=0;c-=1)(n.get(c)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!r(t)&&e.parent&&!i.has(e.parent.key))if(r(e.parent.node))i.add(n.key);else{var l=!0,c=!1;(n.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var n=e.key,t=o.has(n);l&&!t&&(l=!1),c||!t&&!a.has(n)||(c=!0)})),l&&o.add(n.key),c&&a.add(n.key),i.add(n.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(At(a,o))}}(i,c,d,o):function(e,n,t,r,o){for(var a=new Set(e),l=new Set(n),i=0;i<=r;i+=1)(t.get(i)||new Set).forEach((function(e){var n=e.key,t=e.node,r=e.children,i=void 0===r?[]:r;a.has(n)||l.has(n)||o(t)||i.filter((function(e){return!o(e.node)})).forEach((function(e){a.delete(e.key)}))}));l=new Set;for(var c=new Set,d=r;d>=0;d-=1)(t.get(d)||new Set).forEach((function(e){var n=e.parent,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,i=!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),i||!t&&!l.has(n)||(i=!0)})),r||a.delete(n.key),i&&l.add(n.key),c.add(n.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(At(l,a))}}(i,n.halfCheckedKeys,c,d,o),l}var Ft=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,Fn.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],a=e.state,l=a.dragChildrenKeys,i=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!==l.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(l),dropToGap:0!==i,dropPosition:i+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,l=t.expanded,i=t.key;if(!(t.isLeaf||n.shiftKey||n.metaKey||n.ctrlKey)){var c=a.filter((function(e){return e.key===i}))[0],s=rt((0,d.Z)((0,d.Z)({},tt(i,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(l?st(o,i):ut(o,i)),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,l=o.fieldNames,i=e.props,c=i.onSelect,d=i.multiple,s=t.selected,u=t[l.key],f=!s,p=(r=f?d?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,l=a.keyEntities,i=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(i,p):st(i,p);o={checked:m,halfChecked:st(c,p)},v.checkedNodes=m.map((function(e){return l[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var h=zt([].concat((0,s.Z)(i),[p]),!0,l),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},l);y=C.checkedKeys,g=C.halfCheckedKeys}o=y,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=g,y.forEach((function(e){var n=l[e];if(n){var t=n.node,r=n.pos;v.checkedNodes.push(t),v.checkedNodesPositions.push({node:t,pos:r})}})),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:g})}null===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 l=a.loadedKeys,i=void 0===l?[]:l,c=a.loadingKeys,d=void 0===c?[]:c,s=e.props,u=s.loadData,f=s.onLoad;return u&&-1===i.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,l={};Object.keys(n).forEach((function(t){t in e.props?a=!1:(o=!0,l[t]=n[t])})),!o||t&&!a||e.setState((0,d.Z)((0,d.Z)({},l),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,_n.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,l=t.focused,i=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,D=C.icon,P=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,F=C.itemHeight,_=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:D,switcherIcon:P,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"),l),(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:i,disabled:T,selectable:K,checkable:!!M,motion:I,dragging:null!==s,height:z,itemHeight:F,virtual:_,focusable:b,focused:l,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 l(n){return!r&&n in e||r&&r[n]!==e[n]}var i=n.fieldNames;if(l("fieldNames")&&(i=$n(e.fieldNames),a.fieldNames=i),l("treeData")?t=e.treeData:l("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:i});a.keyEntities=(0,d.Z)((0,o.Z)({},Ot,Pt),c.keyEntities)}var s,u=a.keyEntities||n.keyEntities;if(l("expandedKeys")||r&&l("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,i);a.flattenNodes=p}if((e.selectable&&(l("selectedKeys")?a.selectedKeys=yt(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=yt(e.defaultSelectedKeys,e))),e.checkable)&&(l("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 l("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(u.Component);Ft.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},Ft.TreeNode=dt;var _t=Ft,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=[],l=$t.None;if(r&&r===o)return[r];if(!r||!o)return[];return Qt(n,(function(e){if(l===$t.End)return!1;if(function(e){return e===r||e===o}(e)){if(a.push(e),l===$t.None)l=$t.Start;else if(l===$t.Start)return l=$t.End,!1}else l===$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 F({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 le=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:le.length===Mr(d.filters).length,indeterminate:le.length>0&&le.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),Fr=t(80882),_r={},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,i=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,D=n.getRowKey,P=n.expandType,R=n.childrenColumnName,M=n.locale,L=n.getPopupContainer,T=(0,yn.Z)(i||c||Wr,{value:i}),I=(0,l.Z)(T,2),A=I[0],H=I[1],z=u.useRef(new Map),F=(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(){F(A)}),[A]);var _=(0,u.useMemo)((function(){return b?{keyEntities:null}:nt(S,{externalGetKey:D,childrenPropName:R})}),[S,D,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=D(n,t),o=(d?d(n):null)||{};e.set(r,o)})),e}),[j,D,d]),V=(0,u.useCallback)((function(e){var n;return!!(null===(n=B.get(D(e)))||void 0===n?void 0:n.disabled)}),[B,D]),W=(0,u.useMemo)((function(){if(b)return[A||[],[]];var e=zt(A,!0,_,V);return[e.checkedKeys||[],e.halfCheckedKeys]}),[A,b,_,V]),U=(0,l.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,l.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;F(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 D(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=D(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)({},ie),e);t&&(ie.resetPagination(),r.pagination.current&&(r.pagination.current=1),h&&h.onChange&&h.onChange(1,r.pagination.pageSize)),P&&!1!==P.scrollToFirstRowOnChange&&re.body.current&&$e(0,{getContainer:function(){return re.body.current}}),null===Z||void 0===Z||Z(r.pagination,r.filters,r.sorter,{currentDataSource:Tr(io(q,r.sorterStates,ne),r.filterStates),action:n})},de=co({prefixCls:$,mergedColumns:z,onSorterChange:function(e,n){ce({sorter:e,sorterStates:n},"sort",!1)},sortDirections:R||["ascend","descend"],tableLocale:X,showSorterTooltip:T}),ue=(0,l.Z)(de,4),fe=ue[0],pe=ue[1],ve=ue[2],me=ue[3],he=u.useMemo((function(){return io(q,pe,ne)}),[q,pe]);ie.sorter=me(),ie.sorterStates=pe;var ye=Ir({prefixCls:$,locale:X,dropdownPrefixCls:J,mergedColumns:z,onFilterChange:function(e,n){ce({filters:e,filterStates:n},"filter",!0)},getPopupContainer:N}),ge=(0,l.Z)(ye,3),xe=ge[0],Ce=ge[1],Ee=ge[2],ke=Tr(he,Ce);ie.filters=Ee,ie.filterStates=Ce;var Ze=uo(u.useMemo((function(){var e={};return Object.keys(Ee).forEach((function(n){null!==Ee[n]&&(e[n]=Ee[n])})),(0,a.Z)((0,a.Z)({},ve),{filters:e})}),[ve,Ee])),Ne=(0,l.Z)(Ze,1)[0],be=Hr(ke.length,h,(function(e,n){ce({pagination:(0,a.Z)((0,a.Z)({},ie.pagination),{current:e,pageSize:n})},"paginate")})),we=(0,l.Z)(be,2),Se=we[0],Ke=we[1];ie.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,Se),ie.resetPagination=Ke;var Oe=u.useMemo((function(){if(!1===h||!Se.pageSize)return ke;var e=Se.current,n=void 0===e?1:e,t=Se.total,r=Se.pageSize,o=void 0===r?10:r;return ke.lengtho?ke.slice((n-1)*o,n*o):ke:ke.slice((n-1)*o,n*o)}),[!!h,ke,Se&&Se.current,Se&&Se.pageSize,Se&&Se.total]),De=Gr(y,{prefixCls:$,data:ke,pageData:Oe,getRowKey:oe,getRecordByKey:le,expandType:te,childrenColumnName:ne,locale:X,getPopupContainer:N}),Pe=(0,l.Z)(De,2),Re=Pe[0],Me=Pe[1];Q.__PARENT_RENDER_ICON__=Q.expandIcon,Q.expandIcon=Q.expandIcon||w||en(X),"nest"===te&&void 0===Q.expandIconColumnIndex?Q.expandIconColumnIndex=y?1:0:Q.expandIconColumnIndex>0&&y&&(Q.expandIconColumnIndex-=1),"number"!==typeof Q.indentSize&&(Q.indentSize="number"===typeof D?D:15);var Le,Ie,Ae,Ge=u.useCallback((function(e){return Ne(Re(xe(fe(e))))}),[fe,xe,Re]);if(!1!==h&&(null===Se||void 0===Se?void 0:Se.total)){var Xe;Xe=Se.size?Se.size:"small"===G||"middle"===G?"small":void 0;var qe=function(e){return u.createElement(We.Z,(0,a.Z)({},Se,{className:c()("".concat($,"-pagination ").concat($,"-pagination-").concat(e),Se.className),size:Xe}))},Ye="rtl"===U?"left":"right",Je=Se.position;if(null!==Je&&Array.isArray(Je)){var Qe=Je.find((function(e){return-1!==e.indexOf("top")})),nn=Je.find((function(e){return-1!==e.indexOf("bottom")})),tn=Je.every((function(e){return"none"==="".concat(e)}));Qe||nn||tn||(Ie=qe(Ye)),Qe&&(Le=qe(Qe.toLowerCase().replace("top",""))),nn&&(Ie=qe(nn.toLowerCase().replace("bottom","")))}else Ie=qe(Ye)}"boolean"===typeof b?Ae={spinning:b}:"object"===(0,r.Z)(b)&&(Ae=(0,a.Z)({spinning:!0},b));var rn=c()("".concat($,"-wrapper"),(0,o.Z)({},"".concat($,"-wrapper-rtl"),"rtl"===U),d);return u.createElement("div",{ref:n,className:rn,style:s},u.createElement(Ue.Z,(0,a.Z)({spinning:!1},Ae),Le,u.createElement(He,(0,a.Z)({},F,{columns:z,direction:U,expandable:Q,prefixCls:$,className:c()((t={},(0,o.Z)(t,"".concat($,"-middle"),"middle"===G),(0,o.Z)(t,"".concat($,"-small"),"small"===G),(0,o.Z)(t,"".concat($,"-bordered"),p),(0,o.Z)(t,"".concat($,"-empty"),0===q.length),t)),data:Oe,rowKey:oe,rowClassName:function(e,n,t){var r;return r="function"===typeof x?c()(x(e,n,t)):c()(x),c()((0,o.Z)({},"".concat($,"-row-selected"),Me.has(oe(e,n))),r)},emptyText:M&&M.emptyText||(W||_e.Z)("Table"),internalHooks:Te,internalRefs:re,transformColumns:Ge})),Ie))}var vo=u.forwardRef(po);vo.defaultProps={rowKey:"key"},vo.SELECTION_COLUMN=_r,vo.EXPAND_COLUMN=He.EXPAND_COLUMN,vo.SELECTION_ALL=jr,vo.SELECTION_INVERT=Br,vo.SELECTION_NONE=Vr,vo.Column=Je,vo.ColumnGroup=Qe,vo.Summary=Ze;var mo=vo},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(91),l=t(1413),i=t(15671),c=t(43144),d=t(60136),s=t(33643),u=t(67294),f=t(94184),p=t.n(f),v=function(e){(0,d.Z)(t,e);var n=(0,s.Z)(t);function t(e){var r;(0,i.Z)(this,t),(r=n.call(this,e)).handleChange=function(e){var n=r.props,t=n.disabled,o=n.onChange;t||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:(0,l.Z)((0,l.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return(0,c.Z)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,l=n.className,i=n.style,c=n.name,d=n.id,s=n.type,f=n.disabled,v=n.readOnly,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,l,(e={},(0,o.Z)(e,"".concat(t,"-checked"),S),(0,o.Z)(e,"".concat(t,"-disabled"),f),e));return u.createElement("span",{className:K,style:i},u.createElement("input",(0,r.Z)({name:c,id:d,type:s,required:N,readOnly:v,disabled:f,tabIndex: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,l.Z)((0,l.Z)({},n),{},{checked:e.checked}):null}}]),t}(u.Component);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},n.Z=v}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3731-d43efa872abc8548.js b/static/web/_next/static/chunks/3731-d43efa872abc8548.js new file mode 100644 index 000000000..642c062fa --- /dev/null +++ b/static/web/_next/static/chunks/3731-d43efa872abc8548.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3731],{36887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;rs&&a.push(e.substring(s,r.index));var o=t.props.hrefDecorator(r.url),n=t.props.textDecorator(r.text),u=t.props.componentDecorator(o,n,i);a.push(u),s=r.lastIndex})),e.length>s&&a.push(e.substring(s)),1===a.length?a[0]:a}},{key:"parse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"===typeof e?this.parseString(e):s.isValidElement(e)&&"a"!==e.type&&"button"!==e.type?s.cloneElement(e,{key:r},this.parse(e.props.children)):Array.isArray(e)?e.map((function(e,r){return t.parse(e,r)})):e}},{key:"render",value:function(){return s.createElement(s.Fragment,null,this.parse(this.props.children))}}]),t}(s.Component);h.defaultProps={componentDecorator:i.default,hrefDecorator:o.default,matchDecorator:n.default,textDecorator:u.default},t.default=h},29872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(67294));t.default=function(e,t,r){return a.createElement("a",{href:e,key:r},t)}},77599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},86704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(r(12166)),s=i(r(10248));function i(e){return e&&e.__esModule?e:{default:e}}var o=new a.default;o.tlds(s.default),t.default=function(e){return o.match(e)}},1627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53731:function(e,t,r){"use strict";var a,s=r(36887),i=(a=s)&&a.__esModule?a:{default:a};t.Z=i.default},12166:function(e,t,r){"use strict";function a(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function s(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===s(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var n={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,r){var a=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a)?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a)?a.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=r(73216)(e.__opts__),a=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.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]"),a.push(t.src_xn),t.src_tlds=a.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var u=[];function c(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 a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===s(r))return!function(e){return"[object RegExp]"===s(e)}(r.validate)?i(r.validate)?a.validate=r.validate:c(t,r):a.validate=function(e){return function(t,r){var a=t.slice(r);return e.test(a)?a.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?a.normalize=r.normalize:r.normalize?c(t,r):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===s(e)}(r)?c(t,r):u.push(t)}})),u.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 l=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+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),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 _(e,t){var r=e.__index__,a=e.__last_index__,s=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=s,this.text=s,this.url=s}function h(e,t){var r=new _(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function p(e,t){if(!(this instanceof p))return new p(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||n.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=a({},n,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},p.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,a,s,i,o,n,u;if(this.re.schema_test.test(e))for((n=this.re.schema_search).lastIndex=0;null!==(t=n.exec(e));)if(s=this.testSchemaAt(e,t[2],n.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(a=e.match(this.re.email_fuzzy))&&(i=a.index+a[1].length,o=a.index+a[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},p.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(h(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(h(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},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,r){return e!==r[t-1]})).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(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},73216:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");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+")(?!-|_|:\\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,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\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}},99413:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},73189:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},29369:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},10248:function(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","\u03b5\u03bb","\u03b5\u03c5","\u0431\u0433","\u0431\u0435\u043b","\u0434\u0435\u0442\u0438","\u0435\u044e","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043a\u043e\u043c","\u043c\u043a\u0434","\u043c\u043e\u043d","\u043c\u043e\u0441\u043a\u0432\u0430","\u043e\u043d\u043b\u0430\u0439\u043d","\u043e\u0440\u0433","\u0440\u0443\u0441","\u0440\u0444","\u0441\u0430\u0439\u0442","\u0441\u0440\u0431","\u0443\u043a\u0440","\u049b\u0430\u0437","\u0570\u0561\u0575","\u05d9\u05e9\u05e8\u05d0\u05dc","\u05e7\u05d5\u05dd","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u0644\u0627\u0631\u062f\u0646","\u0627\u0644\u0628\u062d\u0631\u064a\u0646","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0645\u0627\u0631\u0627\u062a","\u0627\u06cc\u0631\u0627\u0646","\u0628\u0627\u0631\u062a","\u0628\u0627\u0632\u0627\u0631","\u0628\u064a\u062a\u0643","\u0628\u06be\u0627\u0631\u062a","\u062a\u0648\u0646\u0633","\u0633\u0648\u062f\u0627\u0646","\u0633\u0648\u0631\u064a\u0629","\u0634\u0628\u0643\u0629","\u0639\u0631\u0627\u0642","\u0639\u0631\u0628","\u0639\u0645\u0627\u0646","\u0641\u0644\u0633\u0637\u064a\u0646","\u0642\u0637\u0631","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0643\u0648\u0645","\u0645\u0635\u0631","\u0645\u0644\u064a\u0633\u064a\u0627","\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627","\u0645\u0648\u0642\u0639","\u0647\u0645\u0631\u0627\u0647","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0680\u0627\u0631\u062a","\u0915\u0949\u092e","\u0928\u0947\u091f","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u094b\u0924","\u0938\u0902\u0917\u0920\u0928","\u09ac\u09be\u0982\u09b2\u09be","\u09ad\u09be\u09b0\u09a4","\u09ad\u09be\u09f0\u09a4","\u0a2d\u0a3e\u0a30\u0a24","\u0aad\u0abe\u0ab0\u0aa4","\u0b2d\u0b3e\u0b30\u0b24","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0cad\u0cbe\u0cb0\u0ca4","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0dbd\u0d82\u0d9a\u0dcf","\u0e04\u0e2d\u0e21","\u0e44\u0e17\u0e22","\u0ea5\u0eb2\u0ea7","\u10d2\u10d4","\u307f\u3093\u306a","\u30a2\u30de\u30be\u30f3","\u30af\u30e9\u30a6\u30c9","\u30b0\u30fc\u30b0\u30eb","\u30b3\u30e0","\u30b9\u30c8\u30a2","\u30bb\u30fc\u30eb","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u30dd\u30a4\u30f3\u30c8","\u4e16\u754c","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u4e2d\u6587\u7f51","\u4e9a\u9a6c\u900a","\u4f01\u4e1a","\u4f5b\u5c71","\u4fe1\u606f","\u5065\u5eb7","\u516b\u5366","\u516c\u53f8","\u516c\u76ca","\u53f0\u6e7e","\u53f0\u7063","\u5546\u57ce","\u5546\u5e97","\u5546\u6807","\u5609\u91cc","\u5609\u91cc\u5927\u9152\u5e97","\u5728\u7ebf","\u5927\u62ff","\u5929\u4e3b\u6559","\u5a31\u4e50","\u5bb6\u96fb","\u5e7f\u4e1c","\u5fae\u535a","\u6148\u5584","\u6211\u7231\u4f60","\u624b\u673a","\u62db\u8058","\u653f\u52a1","\u653f\u5e9c","\u65b0\u52a0\u5761","\u65b0\u95fb","\u65f6\u5c1a","\u66f8\u7c4d","\u673a\u6784","\u6de1\u9a6c\u9521","\u6e38\u620f","\u6fb3\u9580","\u70b9\u770b","\u79fb\u52a8","\u7ec4\u7ec7\u673a\u6784","\u7f51\u5740","\u7f51\u5e97","\u7f51\u7ad9","\u7f51\u7edc","\u8054\u901a","\u8bfa\u57fa\u4e9a","\u8c37\u6b4c","\u8d2d\u7269","\u901a\u8ca9","\u96c6\u56e2","\u96fb\u8a0a\u76c8\u79d1","\u98de\u5229\u6d66","\u98df\u54c1","\u9910\u5385","\u9999\u683c\u91cc\u62c9","\u9999\u6e2f","\ub2f7\ub137","\ub2f7\ucef4","\uc0bc\uc131","\ud55c\uad6d"]')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/384-a0ac0849b5bd17bd.js b/static/web/_next/static/chunks/384-a0ac0849b5bd17bd.js deleted file mode 100644 index 52e87fc74..000000000 --- a/static/web/_next/static/chunks/384-a0ac0849b5bd17bd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[384],{57838:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(97685),r=n(67294);function i(){var e=r.useReducer((function(e){return e+1}),0);return(0,a.Z)(e,2)[1]}},25378:function(e,t,n){var a=n(67294),r=n(57838),i=n(24308);t.Z=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=(0,a.useRef)({}),n=(0,r.Z)();return(0,a.useEffect)((function(){var a=i.ZP.subscribe((function(a){t.current=a,e&&n()}));return function(){return i.ZP.unsubscribe(a)}}),[]),t.current}},40378:function(e,t,n){var a=n(6213);t.Z=a.Z},3698:function(e,t,n){n.d(t,{Z:function(){return M}});var a=n(4942),r=n(87462),i=n(1413),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},c=n(42135),s=function(e,t){return o.createElement(c.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:l}))};s.displayName="DoubleLeftOutlined";var u=o.forwardRef(s),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},h=function(e,t){return o.createElement(c.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:p}))};h.displayName="DoubleRightOutlined";var m=o.forwardRef(h),d=n(6171),g=n(18073),f=n(94184),v=n.n(f),C=n(15671),x=n(43144),y=n(60136),N=n(33643),b=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),r=v()(n,"".concat(n,"-").concat(e.page),(t={},(0,a.Z)(t,"".concat(n,"-active"),e.active),(0,a.Z)(t,"".concat(n,"-disabled"),!e.page),(0,a.Z)(t,e.className,!!e.className),t));return o.createElement("li",{title:e.showTitle?e.page:null,className:r,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",o.createElement("a",{rel:"nofollow"},e.page)))},E=13,P=38,S=40,I=function(e){(0,y.Z)(n,e);var t=(0,N.Z)(n);function n(){var e;(0,C.Z)(this,n);for(var a=arguments.length,r=new Array(a),i=0;i=0||t.relatedTarget.className.indexOf("".concat(i,"-item"))>=0)||r(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode!==E&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return(0,x.Z)(n,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,a=t.locale,r=t.rootPrefixCls,i=t.changeSize,l=t.quickGo,c=t.goButton,s=t.selectComponentClass,u=t.buildOptionText,p=t.selectPrefixCls,h=t.disabled,m=this.state.goInputText,d="".concat(r,"-options"),g=s,f=null,v=null,C=null;if(!i&&!l)return null;var x=this.getPageSizeOptions();if(i&&g){var y=x.map((function(t,n){return o.createElement(g.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))}));f=o.createElement(g,{disabled:h,prefixCls:p,showSearch:!1,className:"".concat(d,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||x[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":a.page_size,defaultOpen:!1},y)}return l&&(c&&(C="boolean"===typeof c?o.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:h,className:"".concat(d,"-quick-jumper-button")},a.jump_to_confirm):o.createElement("span",{onClick:this.go,onKeyUp:this.go},c)),v=o.createElement("div",{className:"".concat(d,"-quick-jumper")},a.jump_to,o.createElement("input",{disabled:h,type:"text",value:m,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":a.page}),a.page,C)),o.createElement("li",{className:"".concat(d)},f,v)}}]),n}(o.Component);I.defaultProps={pageSizeOptions:["10","20","50","100"]};var k=I;function z(){}function w(e){var t=Number(e);return"number"===typeof t&&!isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Z(e,t,n){var a="undefined"===typeof e?t.pageSize:e;return Math.floor((n.total-1)/a)+1}var O=function(e){(0,y.Z)(n,e);var t=(0,N.Z)(n);function n(e){var a;(0,C.Z)(this,n),(a=t.call(this,e)).getJumpPrevPage=function(){return Math.max(1,a.state.current-(a.props.showLessItems?3:5))},a.getJumpNextPage=function(){return Math.min(Z(void 0,a.state,a.props),a.state.current+(a.props.showLessItems?3:5))},a.getItemIcon=function(e,t){var n=a.props.prefixCls,r=e||o.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"===typeof e&&(r=o.createElement(e,(0,i.Z)({},a.props))),r},a.savePaginationNode=function(e){a.paginationNode=e},a.isValid=function(e){var t=a.props.total;return w(e)&&e!==a.state.current&&w(t)&&t>0},a.shouldDisplayQuickJumper=function(){var e=a.props,t=e.showQuickJumper;return!(e.total<=a.state.pageSize)&&t},a.handleKeyDown=function(e){e.keyCode!==P&&e.keyCode!==S||e.preventDefault()},a.handleKeyUp=function(e){var t=a.getValidValue(e);t!==a.state.currentInputValue&&a.setState({currentInputValue:t}),e.keyCode===E?a.handleChange(t):e.keyCode===P?a.handleChange(t-1):e.keyCode===S&&a.handleChange(t+1)},a.handleBlur=function(e){var t=a.getValidValue(e);a.handleChange(t)},a.changePageSize=function(e){var t=a.state.current,n=Z(e,a.state,a.props);t=t>n?n:t,0===n&&(t=a.state.current),"number"===typeof e&&("pageSize"in a.props||a.setState({pageSize:e}),"current"in a.props||a.setState({current:t,currentInputValue:t})),a.props.onShowSizeChange(t,e),"onChange"in a.props&&a.props.onChange&&a.props.onChange(t,e)},a.handleChange=function(e){var t=a.props,n=t.disabled,r=t.onChange,i=a.state,o=i.pageSize,l=i.current,c=i.currentInputValue;if(a.isValid(e)&&!n){var s=Z(void 0,a.state,a.props),u=e;return e>s?u=s:e<1&&(u=1),"current"in a.props||a.setState({current:u}),u!==c&&a.setState({currentInputValue:u}),r(u,o),u}return l},a.prev=function(){a.hasPrev()&&a.handleChange(a.state.current-1)},a.next=function(){a.hasNext()&&a.handleChange(a.state.current+1)},a.jumpPrev=function(){a.handleChange(a.getJumpPrevPage())},a.jumpNext=function(){a.handleChange(a.getJumpNextPage())},a.hasPrev=function(){return a.state.current>1},a.hasNext=function(){return a.state.current2?n-2:0),r=2;r=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,a=e.totalBoundaryShowSizeChanger;return"undefined"!==typeof t?t:n>a}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,a=(0,t.itemRender)(e,"prev",this.getItemIcon(n,"prev page")),r=!this.hasPrev();return(0,o.isValidElement)(a)?(0,o.cloneElement)(a,{disabled:r}):a}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,a=(0,t.itemRender)(e,"next",this.getItemIcon(n,"next page")),r=!this.hasNext();return(0,o.isValidElement)(a)?(0,o.cloneElement)(a,{disabled:r}):a}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.className,l=t.style,c=t.disabled,s=t.hideOnSinglePage,u=t.total,p=t.locale,h=t.showQuickJumper,m=t.showLessItems,d=t.showTitle,g=t.showTotal,f=t.simple,C=t.itemRender,x=t.showPrevNextJumpers,y=t.jumpPrevIcon,N=t.jumpNextIcon,E=t.selectComponentClass,P=t.selectPrefixCls,S=t.pageSizeOptions,I=this.state,z=I.current,w=I.pageSize,O=I.currentInputValue;if(!0===s&&u<=w)return null;var _=Z(void 0,this.state,this.props),j=[],T=null,V=null,K=null,L=null,J=null,B=h&&h.goButton,R=m?1:2,D=z-1>0?z-1:0,M=z+1<_?z+1:_,U=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{});if(f)return B&&(J="boolean"===typeof B?o.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},p.jump_to_confirm):o.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},B),J=o.createElement("li",{title:d?"".concat(p.jump_to).concat(z,"/").concat(_):null,className:"".concat(n,"-simple-pager")},J)),o.createElement("ul",(0,r.Z)({className:v()(n,"".concat(n,"-simple"),(0,a.Z)({},"".concat(n,"-disabled"),c),i),style:l,ref:this.savePaginationNode},U),o.createElement("li",{title:d?p.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:v()("".concat(n,"-prev"),(0,a.Z)({},"".concat(n,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(D)),o.createElement("li",{title:d?"".concat(z,"/").concat(_):null,className:"".concat(n,"-simple-pager")},o.createElement("input",{type:"text",value:O,disabled:c,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),o.createElement("span",{className:"".concat(n,"-slash")},"/"),_),o.createElement("li",{title:d?p.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:v()("".concat(n,"-next"),(0,a.Z)({},"".concat(n,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(M)),J);if(_<=3+2*R){var G={locale:p,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:d,itemRender:C};_||j.push(o.createElement(b,(0,r.Z)({},G,{key:"noPager",page:1,className:"".concat(n,"-item-disabled")})));for(var q=1;q<=_;q+=1){var H=z===q;j.push(o.createElement(b,(0,r.Z)({},G,{key:q,page:q,active:H})))}}else{var Q=m?p.prev_3:p.prev_5,A=m?p.next_3:p.next_5;x&&(T=o.createElement("li",{title:d?Q:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:v()("".concat(n,"-jump-prev"),(0,a.Z)({},"".concat(n,"-jump-prev-custom-icon"),!!y))},C(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(y,"prev page"))),V=o.createElement("li",{title:d?A:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:v()("".concat(n,"-jump-next"),(0,a.Z)({},"".concat(n,"-jump-next-custom-icon"),!!N))},C(this.getJumpNextPage(),"jump-next",this.getItemIcon(N,"next page")))),L=o.createElement(b,{locale:p,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_,page:_,active:!1,showTitle:d,itemRender:C}),K=o.createElement(b,{locale:p,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:d,itemRender:C});var W=Math.max(1,z-R),F=Math.min(z+R,_);z-1<=R&&(F=1+2*R),_-z<=R&&(W=_-2*R);for(var Y=W;Y<=F;Y+=1){var X=z===Y;j.push(o.createElement(b,{locale:p,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Y,page:Y,active:X,showTitle:d,itemRender:C}))}z-1>=2*R&&3!==z&&(j[0]=(0,o.cloneElement)(j[0],{className:"".concat(n,"-item-after-jump-prev")}),j.unshift(T)),_-z>=2*R&&z!==_-2&&(j[j.length-1]=(0,o.cloneElement)(j[j.length-1],{className:"".concat(n,"-item-before-jump-next")}),j.push(V)),1!==W&&j.unshift(K),F!==_&&j.push(L)}var $=null;g&&($=o.createElement("li",{className:"".concat(n,"-total-text")},g(u,[0===u?0:(z-1)*w+1,z*w>u?u:z*w])));var ee=!this.hasPrev()||!_,te=!this.hasNext()||!_;return o.createElement("ul",(0,r.Z)({className:v()(n,i,(0,a.Z)({},"".concat(n,"-disabled"),c)),style:l,unselectable:"unselectable",ref:this.savePaginationNode},U),$,o.createElement("li",{title:d?p.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:v()("".concat(n,"-prev"),(0,a.Z)({},"".concat(n,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(D)),j,o.createElement("li",{title:d?p.next_page:null,onClick:this.next,tabIndex:te?null:0,onKeyPress:this.runIfEnterNext,className:v()("".concat(n,"-next"),(0,a.Z)({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderNext(M)),o.createElement(k,{disabled:c,locale:p,rootPrefixCls:n,selectComponentClass:E,selectPrefixCls:P,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:z,pageSize:w,pageSizeOptions:S,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:B}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var a=t.current,r=Z(e.pageSize,t,e);a=a>r?r:a,"current"in e||(n.current=a,n.currentInputValue=a),n.pageSize=e.pageSize}return n}}]),n}(o.Component);O.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:z,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:z,locale:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var _=O,j=n(62906),T=n(53124),V=n(25378),K=n(23715),L=n(38939),J=function(e){return o.createElement(L.Z,(0,r.Z)({},e,{size:"small"}))},B=function(e){return o.createElement(L.Z,(0,r.Z)({},e,{size:"middle"}))};J.Option=L.Z.Option,B.Option=L.Z.Option;var R=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);r=0?"".concat(t,"-slide-down"):"".concat(t,"-slide-up")}(),trigger:j,overlay:function(){var t,n=e.overlay;return t="function"===typeof n?n():n,t=d.Children.only("string"===typeof t?d.createElement("span",null,t):t),d.createElement(m.J,{prefixCls:"".concat(R,"-menu"),expandIcon:d.createElement("span",{className:"".concat(R,"-menu-submenu-arrow")},d.createElement(l.Z,{className:"".concat(R,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:z,validator:function(e){e.mode}},t)},placement:function(){var t=e.placement;return t?t.includes("Center")?t.slice(0,t.indexOf("Center")):t:"rtl"===b?"bottomRight":"bottomLeft"}(),onVisibleChange:H}),T)});O.Button=S,O.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};var x=O,M=O},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),l=n(67294),u=n(53124),c=n(23715),s=function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-default");return l.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),l.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),l.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),l.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),l.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),l.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-simple");return l.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},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 l=function(t){t&&t.stopPropagation(),R(e)};return"function"===typeof x?function(e,t,n,o,r){return v.createElement("span",{onMouseDown:function(e){H(e),M(!u)}},x({label:t,value:e,disabled:n,closable:o,onClose:r}))}(o,a,t,r,l):te(e,a,t,r,l)},renderRest:function(e){var t="function"===typeof O?O(e):O;return te({title:t},t,!1)},suffix:ne,itemKey:_,maxCount:C});return v.createElement(v.Fragment,null,oe,!l.length&&!q&&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,l=e.autoComplete,u=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,C=e.onInputChange,Z=e.onInputPaste,S=e.onInputCompositionStart,O=e.onInputCompositionEnd,x=v.useState(!1),M=(0,c.Z)(x,2),I=M[0],P=M[1],R="combobox"===s,D=R||h,j=p[0],k=g||"";R&&b&&!I&&(k=b),v.useEffect((function(){R&&P(!1)}),[R,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:l,editable:D,activeDescendantId:u,value:k,onKeyDown:w,onMouseDown:E,onChange:function(e){P(!0),C(e)},onPaste:Z,onCompositionStart:S,onCompositionEnd:O,tabIndex:m,attrs:(0,N.Z)(e,!0),maxLength:R?y:void 0})),!R&&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 z(){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 K=function(e,t){var n=(0,v.useRef)(null),o=(0,v.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,u=e.showSearch,s=e.tokenWithEnter,f=e.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=z(0),y=(0,c.Z)(b,2),w=y[0],E=y[1],C=(0,v.useRef)(null),Z=function(e){!1!==f(e,!0,o.current)&&d(!0)},S={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"!==l||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&&C.current&&/[\r\n]/.test(C.current)){var n=C.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,C.current)}C.current=null,Z(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");C.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&Z(e.target.value)}},O="multiple"===l||"tags"===l?v.createElement(V,(0,r.Z)({},e,S)):v.createElement(F,(0,r.Z)({},e,S));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"===l||e.preventDefault(),("combobox"===l||u&&t)&&i||(i&&f("",!0,!1),d())}},O)},U=v.forwardRef(K);U.displayName="Selector";var W=U;var B=v.createContext(null);var Y=["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,C=e.showSearch,Z=e.tagRender,S=e.direction,O=e.omitDomProps,x=e.displayValues,N=e.onDisplayValuesChange,I=e.emptyOptions,R=e.notFoundContent,D=void 0===R?"Not Found":R,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,K=e.activeValue,U=e.onActiveValueChange,$=e.activeDescendantId,J=e.searchValue,Q=e.onSearch,q=e.onSearchSplit,ee=e.tokenSeparators,te=e.allowClear,ne=e.showArrow,oe=e.inputIcon,re=e.clearIcon,ae=e.OptionList,ie=e.animation,le=e.transitionName,ue=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,Ce=(0,s.Z)(e,Y),Ze=X(j),Se=(void 0!==C?C:Ze)||"combobox"===j,Oe=(0,u.Z)({},Ce);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),Ne=Me[0],Ie=Me[1];v.useEffect((function(){Ie((0,h.Z)())}),[]);var Pe=v.useRef(null),Re=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 J;var t=null===(e=x[0])||void 0===e?void 0:e.value;return"string"===typeof t||"number"===typeof t?String(t):""}),[J,j,x]),Fe="combobox"===j&&"function"===typeof L&&L()||null,ze="function"===typeof _&&_(),Ke=(0,g.x1)(Re,null===ze||void 0===ze||null===(n=ze.props)||void 0===n?void 0:n.ref),Ue=(0,p.Z)(void 0,{defaultValue:V,value:H}),We=(0,c.Z)(Ue,2),Be=We[0],Ye=We[1],Ge=Be,Xe=!D&&I;(k||Xe&&Ge&&"combobox"===j)&&(Ge=!1);var $e=!Xe&&Ge,Je=v.useCallback((function(e){var t=void 0!==e?e:!Ge;Ge===t||k||(Ye(t),null===F||void 0===F||F(t))}),[k,Ge,Ye,F]),Qe=v.useMemo((function(){return(ee||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ee]),qe=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 u=t.split(a);return n=n||u.length>1,u.reduce((function(t,n){return[].concat((0,l.Z)(t),(0,l.Z)(e(n,i)))}),[]).filter((function(e){return e}))}(e,t);return n?o:null}(e,ee);return"combobox"!==j&&a&&(r="",null===q||void 0===q||q(a),Je(!1),o=!1),Q&&Ve!==r&&Q(r,{source:t?"typing":"effect"}),o};v.useEffect((function(){Ge||Ze||"combobox"===j||qe("",!1,!1)}),[Ge]),v.useEffect((function(){Be&&k&&Ye(!1),k&&_e(!1)}),[k]);var et=z(),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,lt=v.useState(null),ut=(0,c.Z)(lt,2),ct=ut[0],st=ut[1],ft=v.useState({}),pt=(0,c.Z)(ft,2)[1];(0,b.Z)((function(){if($e){var e,t=Math.ceil(null===(e=Pe.current)||void 0===e?void 0:e.offsetWidth);ct===t||Number.isNaN(t)||st(t)}}),[$e]),ze&&(it=function(e){Je(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[Pe.current,null===(e=De.current)||void 0===e?void 0:e.getPopupElement()]}),$e,Je,!!ze);var dt,vt,mt=v.useMemo((function(){return(0,u.Z)((0,u.Z)({},e),{},{notFoundContent:D,open:Ge,triggerOpen:$e,id:d,showSearch:Se,multiple:Ze,toggleOpen:Je})}),[e,D,$e,Ge,d,Se,Ze,Je]),ht=void 0!==ne?ne:A||!Ze&&"combobox"!==j;ht&&(dt=v.createElement(P,{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:Se}}));k||!te||!x.length&&!Ve||"combobox"===j&&""===Ve||(vt=v.createElement(P,{className:"".concat(w,"-clear"),onMouseDown:function(){null===T||void 0===T||T(),N([],{type:"clear",values:x}),qe("",!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"),Se),a)),wt=v.createElement(M,{ref:De,disabled:k,prefixCls:w,visible:$e,popupElement:bt,containerWidth:ct,animation:ie,transitionName:le,dropdownStyle:ue,dropdownClassName:ce,direction:S,dropdownMatchSelectWidth:se,dropdownRender:fe,dropdownAlign:pe,placement:de,getPopupContainer:ve,empty:I,getTriggerDOMNode:function(){return Re.current},onPopupVisibleChange:it,onPopupMouseEnter:function(){pt({})}},ze?v.cloneElement(ze,{ref:Ke}):v.createElement(W,(0,r.Z)({},e,{domRef:Re,prefixCls:w,inputElement:Fe,ref:Te,id:d,showSearch:Se,mode:j,activeDescendantId:$,tagRender:Z,values:x,open:Ge,onToggleOpen:Je,activeValue:K,searchValue:Ve,onSearch:qe,onSearchSubmit:function(e){e&&e.trim()&&Q(e,{source:"submit"})},onRemove:function(e){var t=x.filter((function(t){return t!==e}));N(t,{type:"remove",values:[e]})},tokenWithEnter:Qe})));return gt=ze?wt:v.createElement("div",(0,r.Z)({className:yt},Oe,{ref:Pe,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(),Ne||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),l=1;l=0;i-=1){var u=r[i];if(!u.disabled){r.splice(i,1),a=u;break}}a&&N(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,l=(0,s.Z)(a,ae);return t||!o?ie(e):(0,u.Z)((0,u.Z)({key:"__RC_SELECT_GRP__".concat(null===r?n:r,"__"),label:r},l),{},{options:le(i)})})).filter((function(e){return e}))}function ue(e,t,n,o,r){return v.useMemo((function(){var a=e;!e&&(a=le(t));var i=new Map,l=new Map,u=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];z(e);var n={source:t?"keyboard":"mouse"},o=j[e];o?C(o.value,e,n):C(null,-1,n)};(0,v.useEffect)((function(){K(!1!==Z?_(0):-1)}),[j.length,h]);var U=v.useCallback((function(e){return x.has(e)&&"combobox"!==d}),[d,(0,l.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&&(K(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&&S(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),K(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(u,"_list"),className:"".concat(T,"-empty"),onMouseDown:A},b);var Y=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,N.Z)(n,!0),l=G(t);return t?v.createElement("div",(0,r.Z)({"aria-label":"string"!==typeof l||a?null:l},i,{key:e,role:a?"presentation":"option",id:"".concat(u,"_list_").concat(e),"aria-selected":U(o)}),o):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(F-1),X(F),X(F+1)),v.createElement(he.Z,{itemKey:"key",ref:k,data:j,height:R,itemHeight:D,fullHeight:!1,onMouseDown:A,onScroll:y,virtual:I},(function(e,t){var n,a=e.group,l=e.groupOption,u=e.data,c=e.label,f=e.value,p=u.key;if(a){var d,m=null!==(d=u.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=u.disabled,g=u.title,b=(u.children,u.style),y=u.className,w=(0,s.Z)(u,be),E=(0,ve.Z)(w,Y),C=U(f),Z="".concat(T,"-option"),S=i()(T,Z,y,(n={},(0,o.Z)(n,"".concat(Z,"-grouped"),l),(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"),C),n)),x=G(e),M=!O||"function"===typeof O||C,I="number"===typeof x?x:x||f,R=ye(I)?I.toString():void 0;return void 0!==g&&(R=g),v.createElement("div",(0,r.Z)({},(0,N.Z)(E),{"aria-selected":C,className:S,title:R,onMouseMove:function(){F===t||h||K(t)},onClick:function(){h||W(f)},style:b}),v.createElement("div",{className:"".concat(Z,"-content")},I),v.isValidElement(O)||C,M&&v.createElement(P,{className:"".concat(T,"-option-state"),customizeIcon:O,customizeIconProps:{isSelected:C}},C?"\u2713":null))})))},Ee=v.forwardRef(we);Ee.displayName="OptionList";var Ce=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"],Se=["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,S=void 0===Z||Z,O=e.onSelect,x=e.onDeselect,M=e.dropdownMatchSelectWidth,N=void 0===M||M,I=e.filterOption,P=e.filterSort,R=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,z=void 0===F?20:F,K=e.value,U=e.defaultValue,W=e.labelInValue,B=e.onChange,Y=(0,s.Z)(e,Ze),G=ne(n),$=X(a),q=!(T||!k),ee=v.useMemo((function(){return(void 0!==I||"combobox"!==a)&&I}),[I,a]),te=v.useMemo((function(){return E(h,q)}),[JSON.stringify(h),q]),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],le=ue(T,k,te,R,D),se=le.valueOptions,fe=le.labelOptions,pe=le.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 l,u=se.get(t);u&&(void 0===n&&(n=null===u||void 0===u?void 0:u[D||te.label]),void 0===o&&(o=null!==(l=null===u||void 0===u?void 0:u.key)&&void 0!==l?l:t),r=null===u||void 0===u?void 0:u.disabled,a=null===u||void 0===u?void 0:u.title);return{label:n,value:t,key:o,disabled:r,title:a}}))}),[te,D,se]),ve=(0,p.Z)(U,{value:K}),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,u.Z)((0,u.Z)({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label}):e})),l=new Map,c=new Map;return i.forEach((function(e){l.set(e.value,e),c.set(e.value,t.get(e.value)||a.get(e.value))})),n.current.values=l,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,u.Z)((0,u.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 Ne=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})),Ie=function(e,t,n,r,a){return v.useMemo((function(){if(!n||!1===r)return e;var i=t.options,l=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"!==l?l:"label"],p):Q(t[c],p)},v=f?function(e){return C(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,u.Z)((0,u.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,l.Z)(pe);return(0,l.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,l=a.value,u=a.options;function c(e,t){e.forEach((function(e){var n=e[i];if(t||!(u in e)){var a=e[l];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[u],!0)}}))}return c(e,!1),r}(Re,{fieldNames:te,childrenAsData:q})}),[Re,te,q]),Te=function(e){var t=de(e);if(be(t),B&&(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 C(Oe(e.value))}));B($?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],ze=void 0!==A?A:"combobox"!==a,Ke=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,C(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 l=n(),u=(0,c.Z)(l,2),s=u[0],f=u[1];x(s,f)}},We=ce((function(e,t){var n,o=!$||t.selected;n=o?$?[].concat((0,l.Z)(Ee),[e]):[e]:Ee.filter((function(t){return t.value!==e})),Te(n),Ue(e,o),"combobox"===a?Le(""):X&&!S||(ie(""),Le(""))})),Be=v.useMemo((function(){var e=!1!==_&&!1!==N;return(0,u.Z)((0,u.Z)({},le),{},{flattenOptions:De,onActiveValue:Ke,defaultActiveFirstOption:ze,onSelect:We,menuItemSelectedIcon:L,rawValues:Me,fieldNames:te,virtual:e,listHeight:V,listItemHeight:z,childrenAsData:q})}),[le,De,Ke,ze,We,L,Me,te,_,N,V,z,q]);return v.createElement(ge.Provider,{value:Be},v.createElement(J,(0,r.Z)({},Y,{id:G,prefixCls:d,ref:t,omitDomProps:Se,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,l.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,l.Z)(Me),(0,l.Z)(t))));Te(n),n.forEach((function(e){Ue(e,!0)}))},dropdownMatchSelectWidth:N,OptionList:Ce,emptyOptions:!De.length,activeValue:Ae,activeDescendantId:"".concat(G,"_list_").concat(Ve)})))}));var xe=Oe;xe.Option=de,xe.OptGroup=fe;var Me=xe,Ne=n(53124),Ie=n(88258),Pe=n(98866),Re=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=l,(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(),l=this.getTop(),u=this.showScroll(),c=u&&n;return o.createElement("div",{ref:this.scrollbarRef,className:a()("".concat(r,"-scrollbar"),v({},"".concat(r,"-scrollbar-show"),u)),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:l,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}),l}(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 S=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=[],B={overflowY:"auto",overflowAnchor:"none"};function Y(e,t){var n=e.prefixCls,r=void 0===n?"rc-virtual-list":n,i=e.className,l=e.height,u=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),N=!(!1===g||!l||!u),P=N&&v&&u*v.length>l,R=z((0,o.useState)(0),2),T=R[0],H=R[1],K=z((0,o.useState)(!1),2),Y=K[0],G=K[1],X=a()(r,i),$=v||W,J=(0,o.useRef)(),Q=(0,o.useRef)(),q=(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 J.current.scrollTop=n,n}))}var oe=(0,o.useRef)({start:0,end:$.length}),re=(0,o.useRef)(),ae=z(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],l=(0,o.useRef)(new Map),u=(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(){l.current.forEach((function(e,t){if(e&&e.offsetParent){var n=(0,S.Z)(e),o=n.offsetHeight;u.current.get(t)!==o&&u.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=l.current.get(a);r?(l.current.set(a,r),f()):l.current.delete(a),!i!==!r&&(r?null===t||void 0===t||t(o):null===n||void 0===n||n(o))},f,u.current,a]}(ee,null,null),le=z(ie,4),ue=le[0],ce=le[1],se=le[2],fe=le[3],pe=o.useMemo((function(){if(!N)return{scrollHeight:void 0,start:0,end:$.length-1,offset:void 0};var e;if(!P)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+l&&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}}),[P,N,T,$,fe,l]),de=pe.scrollHeight,ve=pe.start,me=pe.end,he=pe.offset;oe.current.start=ve,oe.current.end=me;var ge=de-l,be=(0,o.useRef)(ge);be.current=ge;var ye=T<=0,we=T>=ge,Ee=k(ye,we);var Ce=function(e,t,n,r){var a=(0,o.useRef)(0),i=(0,o.useRef)(null),l=(0,o.useRef)(null),u=(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,l.current=n,c(n)||(j||t.preventDefault(),i.current=(0,p.Z)((function(){var e=u.current?10:1;r(a.current*e),a.current=0})))}},function(t){e&&(u.current=t.detail===l.current)}]}(N,ye,we,(function(e){ne((function(t){return t+e}))})),Ze=z(Ce,2),Se=Ze[0],Oe=Ze[1];!function(e,t,n){var r,a=(0,o.useRef)(!1),i=(0,o.useRef)(0),l=(0,o.useRef)(null),u=(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(u.current),u.current=setInterval((function(){(!n(o*=.9333333333333333,!0)||Math.abs(o)<=.1)&&clearInterval(u.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),l.current=e.target,l.current.addEventListener("touchmove",c),l.current.addEventListener("touchend",s))};r=function(){l.current&&(l.current.removeEventListener("touchmove",c),l.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(u.current)}}),[e])}(N,J,(function(e,t){return!Ee(e,t)&&(Se({preventDefault:function(){},deltaY:e}),!0)})),(0,A.Z)((function(){function e(e){N&&e.preventDefault()}return J.current.addEventListener("wheel",Se),J.current.addEventListener("DOMMouseScroll",Oe),J.current.addEventListener("MozMousePixelScroll",e),function(){J.current&&(J.current.removeEventListener("wheel",Se),J.current.removeEventListener("DOMMouseScroll",Oe),J.current.removeEventListener("MozMousePixelScroll",e))}}),[N]);var xe=function(e,t,n,r,a,i,l,u){var c=o.useRef();return function(o){if(null!==o&&void 0!==o){if(p.Z.cancel(c.current),"number"===typeof o)l(o);else if(o&&"object"===I(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(u,d){if(!(u<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,C=Math.min(t.length,s),Z=0;Z<=C;Z+=1){var S=a(t[Z]);w=y;var O=n.get(S);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&&l(x)}c.current=(0,p.Z)((function(){h&&i(),o(u-1,g)}))}}(3)}}else u()}}(J,$,se,u,ee,ce,ne,(function(){var e;null===(e=q.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 l=i.getKey;return e.slice(t,n+1).map((function(e,n){var i=a(e,t+n,{}),u=l(e);return o.createElement(Z,{key:u,setRef:function(t){return r(e,t)}},i)}))}($,ve,me,ue,m,te),Ne=null;return l&&(Ne=V(F({},s?"height":"maxHeight",l),B),N&&(Ne.overflowY="hidden",Y&&(Ne.pointerEvents="none"))),o.createElement("div",_({style:V(V({},d),{},{position:"relative"}),className:X},O),o.createElement(y,{className:"".concat(r,"-holder"),style:Ne,ref:J,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)),N&&o.createElement(C,{ref:q,prefixCls:r,scrollTop:T,height:l,scrollHeight:de,count:$.length,onScroll:function(e){ne(e)},onStartMove:function(){G(!0)},onStopMove:function(){G(!1)}}))}var G=o.forwardRef(Y);G.displayName="List";var X=G}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4567-bc6e94c181eadf6f.js b/static/web/_next/static/chunks/4567-bc6e94c181eadf6f.js new file mode 100644 index 000000000..7394ffdbf --- /dev/null +++ b/static/web/_next/static/chunks/4567-bc6e94c181eadf6f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4567],{48689:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=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"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="DeleteOutlined";var c=n.forwardRef(s)},36531:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="EditFilled";var c=n.forwardRef(s)},29158:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="LinkOutlined";var c=n.forwardRef(s)},27496:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SendOutlined";var c=n.forwardRef(s)},64942:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z"}}]},name:"small-dash",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SmallDashOutlined";var c=n.forwardRef(s)},93045:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="SmileOutlined";var c=n.forwardRef(s)},66017:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},a=r(42135),s=function(e,t){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};s.displayName="VerticalAlignBottomOutlined";var c=n.forwardRef(s)},54907:function(e,t,r){"use strict";r.d(t,{Z:function(){return L}});var o=r(87462),n=r(4942),i=r(18073),a=r(94184),s=r.n(a),c=r(74902),l=r(15671),u=r(43144),d=r(60136),h=r(33643),p=r(71002),m=r(67294),f=r(96774),g=r.n(f),v=r(50344),y=r(62874),b=r(97685),w=m.forwardRef((function(e,t){var r,o=e.prefixCls,i=e.forceRender,a=e.className,c=e.style,l=e.children,u=e.isActive,d=e.role,h=m.useState(u||i),p=(0,b.Z)(h,2),f=p[0],g=p[1];return m.useEffect((function(){(i||u)&&g(!0)}),[i,u]),f?m.createElement("div",{ref:t,className:s()("".concat(o,"-content"),(r={},(0,n.Z)(r,"".concat(o,"-content-active"),u),(0,n.Z)(r,"".concat(o,"-content-inactive"),!u),r),a),style:c,role:d},m.createElement("div",{className:"".concat(o,"-content-box")},l)):null}));w.displayName="PanelContent";var C=w,x=function(e){(0,d.Z)(r,e);var t=(0,h.Z)(r);function r(){var e;(0,l.Z)(this,r);for(var o=arguments.length,n=new Array(o),i=0;i-1?t.splice(r,1):t.push(e)}o.setActiveKey(t)},o.getNewChild=function(e,t){if(!e)return null;var r=o.state.activeKey,n=o.props,i=n.prefixCls,a=n.openMotion,s=n.accordion,c=n.destroyInactivePanel,l=n.expandIcon,u=n.collapsible,d=e.key||String(t),h=e.props,p=h.header,f=h.headerClass,g=h.destroyInactivePanel,v=h.collapsible,y=null!==v&&void 0!==v?v:u,b={key:d,panelKey:d,header:p,headerClass:f,isActive:s?r[0]===d:r.indexOf(d)>-1,prefixCls:i,destroyInactivePanel:null!==g&&void 0!==g?g:c,openMotion:a,accordion:s,children:e.props.children,onItemClick:"disabled"===y?null:o.onClickItem,expandIcon:l,collapsible:y};return"string"===typeof e.type?e:(Object.keys(b).forEach((function(e){"undefined"===typeof b[e]&&delete b[e]})),m.cloneElement(e,b))},o.getItems=function(){var e=o.props.children;return(0,v.Z)(e).map(o.getNewChild)},o.setActiveKey=function(e){"activeKey"in o.props||o.setState({activeKey:e}),o.props.onChange(o.props.accordion?e[0]:e)};var n=e.activeKey,i=e.defaultActiveKey;return"activeKey"in e&&(i=n),o.state={activeKey:k(i)},o}return(0,u.Z)(r,[{key:"shouldComponentUpdate",value:function(e,t){return!g()(this.props,e)||!g()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,r=t.prefixCls,o=t.className,i=t.style,a=t.accordion,c=s()((e={},(0,n.Z)(e,r,!0),(0,n.Z)(e,o,!!o),e));return m.createElement("div",{className:c,style:i,role:a?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=k(e.activeKey)),t}}]),r}(m.Component);S.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},S.Panel=E;var A=S,j=(S.Panel,r(98423)),D=r(53124),T=r(33603),I=r(96159),q=function(e){var t,r=m.useContext(D.E_),a=r.getPrefixCls,c=r.direction,l=e.prefixCls,u=e.className,d=void 0===u?"":u,h=e.bordered,p=void 0===h||h,f=e.ghost,g=e.expandIconPosition,y=void 0===g?"start":g,b=a("collapse",l),w=m.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),C=s()("".concat(b,"-icon-position-").concat(w),(t={},(0,n.Z)(t,"".concat(b,"-borderless"),!p),(0,n.Z)(t,"".concat(b,"-rtl"),"rtl"===c),(0,n.Z)(t,"".concat(b,"-ghost"),!!f),t),d),x=(0,o.Z)((0,o.Z)({},T.ZP),{motionAppear:!1,leavedClassName:"".concat(b,"-content-hidden")});return m.createElement(A,(0,o.Z)({openMotion:x},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.expandIcon,o=r?r(t):m.createElement(i.Z,{rotate:t.isActive?90:void 0});return(0,I.Tm)(o,(function(){return{className:s()(o.props.className,"".concat(b,"-arrow"))}}))},prefixCls:b,className:C}),function(){var t=e.children;return(0,v.Z)(t).map((function(e,t){var r;if(null===(r=e.props)||void 0===r?void 0:r.disabled){var n=e.key||String(t),i=e.props,a=i.disabled,s=i.collapsible,c=(0,o.Z)((0,o.Z)({},(0,j.Z)(e.props,["disabled"])),{key:n,collapsible:null!==s&&void 0!==s?s:a?"disabled":void 0});return(0,I.Tm)(e,c)}return e}))}())};q.Panel=function(e){var t=m.useContext(D.E_).getPrefixCls,r=e.prefixCls,i=e.className,a=void 0===i?"":i,c=e.showArrow,l=void 0===c||c,u=t("collapse",r),d=s()((0,n.Z)({},"".concat(u,"-no-arrow"),!l),a);return m.createElement(A.Panel,(0,o.Z)({},e,{prefixCls:u,className:d}))};var L=q},20550:function(e,t,r){"use strict";r.d(t,{Z:function(){return C}});var o=r(4942),n=r(87462),i=r(97685),a=r(97937),s=r(94184),c=r.n(s),l=r(98423),u=r(67294),d=r(53124),h=r(98787),p=r(68349),m=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\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,d={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon","\u02c6":"circ","\u02c7":"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr","\u2118":"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78","\ud835\udcb6":"ascr","\ud835\udd52":"aopf","\ud835\udd1e":"afr","\ud835\udd38":"Aopf","\ud835\udd04":"Afr","\ud835\udc9c":"Ascr","\xaa":"ordf","\xe1":"aacute","\xc1":"Aacute","\xe0":"agrave","\xc0":"Agrave","\u0103":"abreve","\u0102":"Abreve","\xe2":"acirc","\xc2":"Acirc","\xe5":"aring","\xc5":"angst","\xe4":"auml","\xc4":"Auml","\xe3":"atilde","\xc3":"Atilde","\u0105":"aogon","\u0104":"Aogon","\u0101":"amacr","\u0100":"Amacr","\xe6":"aelig","\xc6":"AElig","\ud835\udcb7":"bscr","\ud835\udd53":"bopf","\ud835\udd1f":"bfr","\ud835\udd39":"Bopf","\u212c":"Bscr","\ud835\udd05":"Bfr","\ud835\udd20":"cfr","\ud835\udcb8":"cscr","\ud835\udd54":"copf","\u212d":"Cfr","\ud835\udc9e":"Cscr","\u2102":"Copf","\u0107":"cacute","\u0106":"Cacute","\u0109":"ccirc","\u0108":"Ccirc","\u010d":"ccaron","\u010c":"Ccaron","\u010b":"cdot","\u010a":"Cdot","\xe7":"ccedil","\xc7":"Ccedil","\u2105":"incare","\ud835\udd21":"dfr","\u2146":"dd","\ud835\udd55":"dopf","\ud835\udcb9":"dscr","\ud835\udc9f":"Dscr","\ud835\udd07":"Dfr","\u2145":"DD","\ud835\udd3b":"Dopf","\u010f":"dcaron","\u010e":"Dcaron","\u0111":"dstrok","\u0110":"Dstrok","\xf0":"eth","\xd0":"ETH","\u2147":"ee","\u212f":"escr","\ud835\udd22":"efr","\ud835\udd56":"eopf","\u2130":"Escr","\ud835\udd08":"Efr","\ud835\udd3c":"Eopf","\xe9":"eacute","\xc9":"Eacute","\xe8":"egrave","\xc8":"Egrave","\xea":"ecirc","\xca":"Ecirc","\u011b":"ecaron","\u011a":"Ecaron","\xeb":"euml","\xcb":"Euml","\u0117":"edot","\u0116":"Edot","\u0119":"eogon","\u0118":"Eogon","\u0113":"emacr","\u0112":"Emacr","\ud835\udd23":"ffr","\ud835\udd57":"fopf","\ud835\udcbb":"fscr","\ud835\udd09":"Ffr","\ud835\udd3d":"Fopf","\u2131":"Fscr","\ufb00":"fflig","\ufb03":"ffilig","\ufb04":"ffllig","\ufb01":"filig",fj:"fjlig","\ufb02":"fllig","\u0192":"fnof","\u210a":"gscr","\ud835\udd58":"gopf","\ud835\udd24":"gfr","\ud835\udca2":"Gscr","\ud835\udd3e":"Gopf","\ud835\udd0a":"Gfr","\u01f5":"gacute","\u011f":"gbreve","\u011e":"Gbreve","\u011d":"gcirc","\u011c":"Gcirc","\u0121":"gdot","\u0120":"Gdot","\u0122":"Gcedil","\ud835\udd25":"hfr","\u210e":"planckh","\ud835\udcbd":"hscr","\ud835\udd59":"hopf","\u210b":"Hscr","\u210c":"Hfr","\u210d":"Hopf","\u0125":"hcirc","\u0124":"Hcirc","\u210f":"hbar","\u0127":"hstrok","\u0126":"Hstrok","\ud835\udd5a":"iopf","\ud835\udd26":"ifr","\ud835\udcbe":"iscr","\u2148":"ii","\ud835\udd40":"Iopf","\u2110":"Iscr","\u2111":"Im","\xed":"iacute","\xcd":"Iacute","\xec":"igrave","\xcc":"Igrave","\xee":"icirc","\xce":"Icirc","\xef":"iuml","\xcf":"Iuml","\u0129":"itilde","\u0128":"Itilde","\u0130":"Idot","\u012f":"iogon","\u012e":"Iogon","\u012b":"imacr","\u012a":"Imacr","\u0133":"ijlig","\u0132":"IJlig","\u0131":"imath","\ud835\udcbf":"jscr","\ud835\udd5b":"jopf","\ud835\udd27":"jfr","\ud835\udca5":"Jscr","\ud835\udd0d":"Jfr","\ud835\udd41":"Jopf","\u0135":"jcirc","\u0134":"Jcirc","\u0237":"jmath","\ud835\udd5c":"kopf","\ud835\udcc0":"kscr","\ud835\udd28":"kfr","\ud835\udca6":"Kscr","\ud835\udd42":"Kopf","\ud835\udd0e":"Kfr","\u0137":"kcedil","\u0136":"Kcedil","\ud835\udd29":"lfr","\ud835\udcc1":"lscr","\u2113":"ell","\ud835\udd5d":"lopf","\u2112":"Lscr","\ud835\udd0f":"Lfr","\ud835\udd43":"Lopf","\u013a":"lacute","\u0139":"Lacute","\u013e":"lcaron","\u013d":"Lcaron","\u013c":"lcedil","\u013b":"Lcedil","\u0142":"lstrok","\u0141":"Lstrok","\u0140":"lmidot","\u013f":"Lmidot","\ud835\udd2a":"mfr","\ud835\udd5e":"mopf","\ud835\udcc2":"mscr","\ud835\udd10":"Mfr","\ud835\udd44":"Mopf","\u2133":"Mscr","\ud835\udd2b":"nfr","\ud835\udd5f":"nopf","\ud835\udcc3":"nscr","\u2115":"Nopf","\ud835\udca9":"Nscr","\ud835\udd11":"Nfr","\u0144":"nacute","\u0143":"Nacute","\u0148":"ncaron","\u0147":"Ncaron","\xf1":"ntilde","\xd1":"Ntilde","\u0146":"ncedil","\u0145":"Ncedil","\u2116":"numero","\u014b":"eng","\u014a":"ENG","\ud835\udd60":"oopf","\ud835\udd2c":"ofr","\u2134":"oscr","\ud835\udcaa":"Oscr","\ud835\udd12":"Ofr","\ud835\udd46":"Oopf","\xba":"ordm","\xf3":"oacute","\xd3":"Oacute","\xf2":"ograve","\xd2":"Ograve","\xf4":"ocirc","\xd4":"Ocirc","\xf6":"ouml","\xd6":"Ouml","\u0151":"odblac","\u0150":"Odblac","\xf5":"otilde","\xd5":"Otilde","\xf8":"oslash","\xd8":"Oslash","\u014d":"omacr","\u014c":"Omacr","\u0153":"oelig","\u0152":"OElig","\ud835\udd2d":"pfr","\ud835\udcc5":"pscr","\ud835\udd61":"popf","\u2119":"Popf","\ud835\udd13":"Pfr","\ud835\udcab":"Pscr","\ud835\udd62":"qopf","\ud835\udd2e":"qfr","\ud835\udcc6":"qscr","\ud835\udcac":"Qscr","\ud835\udd14":"Qfr","\u211a":"Qopf","\u0138":"kgreen","\ud835\udd2f":"rfr","\ud835\udd63":"ropf","\ud835\udcc7":"rscr","\u211b":"Rscr","\u211c":"Re","\u211d":"Ropf","\u0155":"racute","\u0154":"Racute","\u0159":"rcaron","\u0158":"Rcaron","\u0157":"rcedil","\u0156":"Rcedil","\ud835\udd64":"sopf","\ud835\udcc8":"sscr","\ud835\udd30":"sfr","\ud835\udd4a":"Sopf","\ud835\udd16":"Sfr","\ud835\udcae":"Sscr","\u24c8":"oS","\u015b":"sacute","\u015a":"Sacute","\u015d":"scirc","\u015c":"Scirc","\u0161":"scaron","\u0160":"Scaron","\u015f":"scedil","\u015e":"Scedil","\xdf":"szlig","\ud835\udd31":"tfr","\ud835\udcc9":"tscr","\ud835\udd65":"topf","\ud835\udcaf":"Tscr","\ud835\udd17":"Tfr","\ud835\udd4b":"Topf","\u0165":"tcaron","\u0164":"Tcaron","\u0163":"tcedil","\u0162":"Tcedil","\u2122":"trade","\u0167":"tstrok","\u0166":"Tstrok","\ud835\udcca":"uscr","\ud835\udd66":"uopf","\ud835\udd32":"ufr","\ud835\udd4c":"Uopf","\ud835\udd18":"Ufr","\ud835\udcb0":"Uscr","\xfa":"uacute","\xda":"Uacute","\xf9":"ugrave","\xd9":"Ugrave","\u016d":"ubreve","\u016c":"Ubreve","\xfb":"ucirc","\xdb":"Ucirc","\u016f":"uring","\u016e":"Uring","\xfc":"uuml","\xdc":"Uuml","\u0171":"udblac","\u0170":"Udblac","\u0169":"utilde","\u0168":"Utilde","\u0173":"uogon","\u0172":"Uogon","\u016b":"umacr","\u016a":"Umacr","\ud835\udd33":"vfr","\ud835\udd67":"vopf","\ud835\udccb":"vscr","\ud835\udd19":"Vfr","\ud835\udd4d":"Vopf","\ud835\udcb1":"Vscr","\ud835\udd68":"wopf","\ud835\udccc":"wscr","\ud835\udd34":"wfr","\ud835\udcb2":"Wscr","\ud835\udd4e":"Wopf","\ud835\udd1a":"Wfr","\u0175":"wcirc","\u0174":"Wcirc","\ud835\udd35":"xfr","\ud835\udccd":"xscr","\ud835\udd69":"xopf","\ud835\udd4f":"Xopf","\ud835\udd1b":"Xfr","\ud835\udcb3":"Xscr","\ud835\udd36":"yfr","\ud835\udcce":"yscr","\ud835\udd6a":"yopf","\ud835\udcb4":"Yscr","\ud835\udd1c":"Yfr","\ud835\udd50":"Yopf","\xfd":"yacute","\xdd":"Yacute","\u0177":"ycirc","\u0176":"Ycirc","\xff":"yuml","\u0178":"Yuml","\ud835\udccf":"zscr","\ud835\udd37":"zfr","\ud835\udd6b":"zopf","\u2128":"Zfr","\u2124":"Zopf","\ud835\udcb5":"Zscr","\u017a":"zacute","\u0179":"Zacute","\u017e":"zcaron","\u017d":"Zcaron","\u017c":"zdot","\u017b":"Zdot","\u01b5":"imped","\xfe":"thorn","\xde":"THORN","\u0149":"napos","\u03b1":"alpha","\u0391":"Alpha","\u03b2":"beta","\u0392":"Beta","\u03b3":"gamma","\u0393":"Gamma","\u03b4":"delta","\u0394":"Delta","\u03b5":"epsi","\u03f5":"epsiv","\u0395":"Epsilon","\u03dd":"gammad","\u03dc":"Gammad","\u03b6":"zeta","\u0396":"Zeta","\u03b7":"eta","\u0397":"Eta","\u03b8":"theta","\u03d1":"thetav","\u0398":"Theta","\u03b9":"iota","\u0399":"Iota","\u03ba":"kappa","\u03f0":"kappav","\u039a":"Kappa","\u03bb":"lambda","\u039b":"Lambda","\u03bc":"mu","\xb5":"micro","\u039c":"Mu","\u03bd":"nu","\u039d":"Nu","\u03be":"xi","\u039e":"Xi","\u03bf":"omicron","\u039f":"Omicron","\u03c0":"pi","\u03d6":"piv","\u03a0":"Pi","\u03c1":"rho","\u03f1":"rhov","\u03a1":"Rho","\u03c3":"sigma","\u03a3":"Sigma","\u03c2":"sigmaf","\u03c4":"tau","\u03a4":"Tau","\u03c5":"upsi","\u03a5":"Upsilon","\u03d2":"Upsi","\u03c6":"phi","\u03d5":"phiv","\u03a6":"Phi","\u03c7":"chi","\u03a7":"Chi","\u03c8":"psi","\u03a8":"Psi","\u03c9":"omega","\u03a9":"ohm","\u0430":"acy","\u0410":"Acy","\u0431":"bcy","\u0411":"Bcy","\u0432":"vcy","\u0412":"Vcy","\u0433":"gcy","\u0413":"Gcy","\u0453":"gjcy","\u0403":"GJcy","\u0434":"dcy","\u0414":"Dcy","\u0452":"djcy","\u0402":"DJcy","\u0435":"iecy","\u0415":"IEcy","\u0451":"iocy","\u0401":"IOcy","\u0454":"jukcy","\u0404":"Jukcy","\u0436":"zhcy","\u0416":"ZHcy","\u0437":"zcy","\u0417":"Zcy","\u0455":"dscy","\u0405":"DScy","\u0438":"icy","\u0418":"Icy","\u0456":"iukcy","\u0406":"Iukcy","\u0457":"yicy","\u0407":"YIcy","\u0439":"jcy","\u0419":"Jcy","\u0458":"jsercy","\u0408":"Jsercy","\u043a":"kcy","\u041a":"Kcy","\u045c":"kjcy","\u040c":"KJcy","\u043b":"lcy","\u041b":"Lcy","\u0459":"ljcy","\u0409":"LJcy","\u043c":"mcy","\u041c":"Mcy","\u043d":"ncy","\u041d":"Ncy","\u045a":"njcy","\u040a":"NJcy","\u043e":"ocy","\u041e":"Ocy","\u043f":"pcy","\u041f":"Pcy","\u0440":"rcy","\u0420":"Rcy","\u0441":"scy","\u0421":"Scy","\u0442":"tcy","\u0422":"Tcy","\u045b":"tshcy","\u040b":"TSHcy","\u0443":"ucy","\u0423":"Ucy","\u045e":"ubrcy","\u040e":"Ubrcy","\u0444":"fcy","\u0424":"Fcy","\u0445":"khcy","\u0425":"KHcy","\u0446":"tscy","\u0426":"TScy","\u0447":"chcy","\u0427":"CHcy","\u045f":"dzcy","\u040f":"DZcy","\u0448":"shcy","\u0428":"SHcy","\u0449":"shchcy","\u0429":"SHCHcy","\u044a":"hardcy","\u042a":"HARDcy","\u044b":"ycy","\u042b":"Ycy","\u044c":"softcy","\u042c":"SOFTcy","\u044d":"ecy","\u042d":"Ecy","\u044e":"yucy","\u042e":"YUcy","\u044f":"yacy","\u042f":"YAcy","\u2135":"aleph","\u2136":"beth","\u2137":"gimel","\u2138":"daleth"},h=/["&'<>`]/g,p={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\ud835\udd1e",Afr:"\ud835\udd04",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\ud835\udd52",Aopf:"\ud835\udd38",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\ud835\udcb6",Ascr:"\ud835\udc9c",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",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:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",Bfr:"\ud835\udd05",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:"\u2310",bNot:"\u2aed",bopf:"\ud835\udd53",Bopf:"\ud835\udd39",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:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",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",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",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",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",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\udcb8",Cscr:"\ud835\udc9e",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",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:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",Dfr:"\ud835\udd07",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:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",Dopf:"\ud835\udd3b",dot:"\u02d9",Dot:"\xa8",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",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",Dscr:"\ud835\udc9f",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",Efr:"\ud835\udd08",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\ud835\udd56",Eopf:"\ud835\udd3c",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",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:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",Ffr:"\ud835\udd09",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",Fopf:"\ud835\udd3d",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:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",Gfr:"\ud835\udd0a",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",Gopf:"\ud835\udd3e",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\ud835\udca2",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",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:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",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:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\ud835\udd5a",Iopf:"\ud835\udd40",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\ud835\udd27",Jfr:"\ud835\udd0d",jmath:"\u0237",jopf:"\ud835\udd5b",Jopf:"\ud835\udd41",jscr:"\ud835\udcbf",Jscr:"\ud835\udca5",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\ud835\udd28",Kfr:"\ud835\udd0e",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\ud835\udd5c",Kopf:"\ud835\udd42",kscr:"\ud835\udcc0",Kscr:"\ud835\udca6",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",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\udd29",Lfr:"\ud835\udd0f",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",Lopf:"\ud835\udd43",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:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",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:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\ud835\udd2a",Mfr:"\ud835\udd10",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",Mopf:"\ud835\udd44",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",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\udd2b",Nfr:"\ud835\udd11",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",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:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",not:"\xac",Not:"\u2aec",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",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",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",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",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",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",Nscr:"\ud835\udca9",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",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:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\ud835\udd2c",Ofr:"\ud835\udd12",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",Oopf:"\ud835\udd46",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\ud835\udcaa",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",Pfr:"\ud835\udd13",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",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",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",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",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",Pscr:"\ud835\udcab",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\ud835\udd2e",Qfr:"\ud835\udd14",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",qscr:"\ud835\udcc6",Qscr:"\ud835\udcac",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",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:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",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:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\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:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",Sfr:"\ud835\udd16",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",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:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",Sopf:"\ud835\udd4a",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",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",Sscr:"\ud835\udcae",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",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",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",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:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",Tfr:"\ud835\udd17",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",Topf:"\ud835\udd4b",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\udcc9",Tscr:"\ud835\udcaf",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",Ufr:"\ud835\udd18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\ud835\udd66",Uopf:"\ud835\udd4c",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\ud835\udcca",Uscr:"\ud835\udcb0",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",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:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\ud835\udd33",Vfr:"\ud835\udd19",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",Vopf:"\ud835\udd4d",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",Vscr:"\ud835\udcb1",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",Wfr:"\ud835\udd1a",wopf:"\ud835\udd68",Wopf:"\ud835\udd4e",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",Wscr:"\ud835\udcb2",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",Xfr:"\ud835\udd1b",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",Xopf:"\ud835\udd4f",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\ud835\udccd",Xscr:"\ud835\udcb3",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\ud835\udd36",Yfr:"\ud835\udd1c",yicy:"\u0457",YIcy:"\u0407",yopf:"\ud835\udd6a",Yopf:"\ud835\udd50",yscr:"\ud835\udcce",Yscr:"\ud835\udcb4",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\ud835\udd37",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",zscr:"\ud835\udccf",Zscr:"\ud835\udcb5",zwj:"\u200d",zwnj:"\u200c"},y={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},b={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],C=String.fromCharCode,x={}.hasOwnProperty,E=function(e,t){return x.call(e,t)},k=function(e,t){if(!e)return t;var r,o={};for(r in t)o[r]=E(e,r)?e[r]:t[r];return o},S=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&D("character reference outside the permissible Unicode range"),"\ufffd"):E(b,e)?(t&&D("disallowed character reference"),b[e]):(t&&function(e,t){for(var r=-1,o=e.length;++r65535&&(r+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=C(e))},A=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},j=function(e){return"&#"+e+";"},D=function(e){throw Error("Parse error: "+e)},T=function(e,t){(t=k(t,T.options)).strict&&f.test(e)&&D("forbidden code point");var r=t.encodeEverything,o=t.useNamedReferences,n=t.allowUnsafeSymbols,i=t.decimal?j:A,a=function(e){return i(e.charCodeAt(0))};return r?(e=e.replace(c,(function(e){return o&&E(d,e)?"&"+d[e]+";":a(e)})),o&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(e=e.replace(u,(function(e){return"&"+d[e]+";"})))):o?(n||(e=e.replace(h,(function(e){return"&"+d[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(u,(function(e){return"&"+d[e]+";"}))):n||(e=e.replace(h,a)),e.replace(s,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return i(1024*(t-55296)+r-56320+65536)})).replace(l,a)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var I=function(e,t){var r=(t=k(t,I.options)).strict;return r&&m.test(e)&&D("malformed character reference"),e.replace(g,(function(e,o,n,i,a,s,c,l,u){var d,h,p,m,f,g;return o?v[f=o]:n?(f=n,(g=i)&&t.isAttributeValue?(r&&"="==g&&D("`&` did not start a character reference"),e):(r&&D("named character reference was not terminated by a semicolon"),y[f]+(g||""))):a?(p=a,h=s,r&&!h&&D("character reference was not terminated by a semicolon"),d=parseInt(p,10),S(d,r)):c?(m=c,h=l,r&&!h&&D("character reference was not terminated by a semicolon"),d=parseInt(m,16),S(d,r)):(r&&D("named character reference was not terminated by a semicolon"),e)}))};I.options={isAttributeValue:!1,strict:!1};var q={version:"1.2.0",encode:T,decode:I,escape:function(e){return e.replace(h,(function(e){return p[e]}))},unescape:I};void 0===(o=function(){return q}.call(t,r,t,e))||(e.exports=o)}()},18156:function(e,t){"use strict";for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},n={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function s(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var o=e.map((function(e){return c(e,t)})),n=function(e){return o.some((function(t){return l(t,e)}))};return null==r?n:n(r)}function c(e,t){var r=t&&t.byKey,n={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in o)n[o[s]]=!1;var c=!0,l=!1,h=void 0;try{for(var p,m=i[Symbol.iterator]();!(c=(p=m.next()).done);c=!0){var f=p.value,g=f.endsWith("?")&&f.length>1;g&&(f=f.slice(0,-1));var v=d(f),y=o[v];1!==a&&y||(r?n.key=v:n.which=u(f)),y&&(n[y]=!g||null)}}catch(b){l=!0,h=b}finally{try{!c&&m.return&&m.return()}finally{if(l)throw h}}return n}function l(e,t){for(var r in e){var o=e[r],n=void 0;if(null!=o&&((null!=(n="key"===r&&null!=t.key?t.key.toLowerCase():"which"===r?91===o&&93===t.which?91:t.which:t[r])||!1!==o)&&n!==o))return!1}return!0}function u(e){return e=d(e),i[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=n[e]||e}t.TB=function(e,t){return s(e,{byKey:!0},t)}},23493:function(e,t,r){var o=r(23279),n=r(13218);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return n(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),o(e,t,{leading:i,maxWait:t,trailing:a})}},37501:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepMap=t.removeDiacritics=t.getSearch=t.getMatchBoundaries=void 0;const o=r(67294);t.getMatchBoundaries=function(e,t){const r=t.exec(e);if(r)return{first:r.index,last:r.index+r[0].length}},t.getSearch=function(e){const{search:r,ignoreDiacritics:o,diacriticsBlacklist:i,caseSensitive:a}=e;if(r instanceof RegExp)return r;let s=n(r);return o&&(s=(0,t.removeDiacritics)(s,i)),new RegExp(s,a?"":"i")};t.removeDiacritics=(e,t)=>{if(!String.prototype.normalize)return e;if(t){const r=t.split("");return e.normalize("NFD").replace(/.[\u0300-\u036f]+/g,(function(e){return r.indexOf(e.normalize())>-1?e.normalize():e[0]}))}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")};const n=e=>e?e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"):"";t.deepMap=(e,r)=>o.Children.toArray(e).map(((e,n,i)=>{return(0,o.isValidElement)(e)&&(a=e,(0,o.isValidElement)(a)&&Boolean(a.props.children))?r((0,o.cloneElement)(e,Object.assign(Object.assign({},e.props),{children:(0,t.deepMap)(e.props.children,r)}))):r(e,n,i);var a})),t.default=t.deepMap},98456:function(e,t,r){"use strict";var o=this&&this.__rest||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(0,n.jsx)("span",{children:e},`${e}-${r}`);return(0,n.jsx)("span",Object.assign({},f,{ref:t},{children:(t=>s?(0,a.deepMap)(t,(t=>"string"===typeof t?((e,t)=>{const o=[];let n=e;for(;n;){const e=c?(0,a.removeDiacritics)(n,l||""):n;if(!t.test(e))return o.push(g(n)),o;const p=(0,a.getMatchBoundaries)(e,t);if(0===(null===p||void 0===p?void 0:p.first)&&0===(null===p||void 0===p?void 0:p.last))return o;const m=n.slice(0,null===p||void 0===p?void 0:p.first);m&&o.push(g(m));const f=n.slice(null===p||void 0===p?void 0:p.first,null===p||void 0===p?void 0:p.last);f&&o.push((s=f,(0,i.createElement)(u,{key:`${s}-${r}`,className:d,style:h},s))),n=n.slice(null===p||void 0===p?void 0:p.last),r++}var s;return o})(t,(0,a.getSearch)(e)):t)):[t])(p)}),void 0)}))},47049:function(e,t,r){"use strict";t.y=void 0;var o=r(98456);Object.defineProperty(t,"y",{enumerable:!0,get:function(){return o.Highlight}})},9764:function(e,t,r){"use strict";r.d(t,{OO:function(){return Ur}});var o=r(67294);function n(e,t){return function(r){return e(t(r))}}function i(e,t){return t(e)}function a(e,t){return function(r){return e(t,r)}}function s(e,t){return function(){return e(t)}}function c(e,t){return t(e),e}function l(){for(var e=arguments.length,t=new Array(e),r=0;r-1&&e.splice(t,1)};case 0:return void e.slice().forEach((function(e){e(r)}));default:throw new Error("unrecognized action "+t)}}}function C(e){var t=e,r=w();return function(e,o){switch(e){case 1:o(t);break;case 0:t=o;break;case 4:return t}return r(e,o)}}function x(e){return c(w(),(function(t){return y(e,t)}))}function E(e,t){return c(C(t),(function(t){return y(e,t)}))}function k(){for(var e=arguments.length,t=new Array(e),r=0;r1?t-1:0),o=1;o0?e--:t(r)}}}function R(e){var t,r;return function(o){return function(n){t=n,r||(r=setTimeout((function(){r=void 0,o(t)}),e))}}}function B(e){var t,r;return function(o){return function(n){t=n,r&&clearTimeout(r),r=setTimeout((function(){o(t)}),e)}}}function z(){for(var e=arguments.length,t=new Array(e),r=0;re.length)&&(t=e.length);for(var r=0,o=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var M=["children"];var $="undefined"!==typeof document?o.useLayoutEffect:o.useEffect;function G(e,t,r){var n=Object.keys(t.required||{}),i=Object.keys(t.optional||{}),l=Object.keys(t.methods||{}),u=Object.keys(t.events||{}),h=(0,o.createContext)({});function y(e,r){e.propsReady&&f(e.propsReady,!1);for(var o,a=U(n);!(o=a()).done;){var s=o.value;f(e[t.required[s]],r[s])}for(var c,l=U(i);!(c=l()).done;){var u=c.value;if(u in r)f(e[t.optional[u]],r[u])}e.propsReady&&f(e.propsReady,!0)}function b(e){return u.reduce((function(r,o){return r[o]=function(e){var t,r,o=function(){return t&&t()};return function(n,i){switch(n){case 1:if(i){if(r===i)return;return o(),r=i,t=m(e,i)}return o(),p;case 2:return o(),void(r=null);default:throw new Error("unrecognized action "+n)}}}(e[t.events[o]]),r}),{})}var w=(0,o.forwardRef)((function(a,p){var v=a.children,w=function(e,t){if(null==e)return{};var r,o,n={},i=Object.keys(e);for(o=0;o=0||(n[r]=e[r]);return n}(a,M),C=(0,o.useState)((function(){return c(function(e){var t=new Map;return function e(r){var o=r.id,n=r.constructor,i=r.dependencies,a=r.singleton;if(a&&t.has(o))return t.get(o);var s=n(i.map((function(t){return e(t)})));return a&&t.set(o,s),s}(e)}(e),(function(e){return y(e,w)}))})),x=C[0],E=(0,o.useState)(s(b,x))[0];return $((function(){for(var e,t=U(u);!(e=t()).done;){var r=e.value;r in w&&m(E[r],w[r])}return function(){Object.values(E).map(g)}}),[w,E,x]),$((function(){y(x,w)})),(0,o.useImperativeHandle)(p,d(function(e){return l.reduce((function(r,o){return r[o]=function(r){f(e[t.methods[o]],r)},r}),{})}(x))),(0,o.createElement)(h.Provider,{value:x},r?(0,o.createElement)(r,function(e,t){for(var r={},o={},n=0,i=e.length;n=0||(n[r]=e[r]);return n}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var J,Q,X,ee="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;(X=Q||(Q={}))[X.DEBUG=0]="DEBUG",X[X.INFO=1]="INFO",X[X.WARN=2]="WARN",X[X.ERROR=3]="ERROR";var te=((J={})[Q.DEBUG]="debug",J[Q.INFO]="log",J[Q.WARN]="warn",J[Q.ERROR]="error",J),re=N((function(){var e=C(Q.ERROR);return{log:C((function(t,r,o){var n;void 0===o&&(o=Q.INFO),o>=(null!=(n=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?n:v(e))&&console[te[o]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,r)})),logLevel:e}}),[],{singleton:!0});function oe(e,t){void 0===t&&(t=!0);var r=(0,o.useRef)(null),n=function(e){};if("undefined"!=typeof ResizeObserver){var i=new ResizeObserver((function(t){var r=t[0].target;null!==r.offsetParent&&e(r)}));n=function(e){e&&t?(i.observe(e),r.current=e):(r.current&&i.unobserve(r.current),r.current=null)}}return{ref:r,callbackRef:n}}function ne(e,t){return void 0===t&&(t=!0),oe(e,t).callbackRef}function ie(e,t,r,o,n,i,a){return oe((function(r){for(var s=function(e,t,r,o){var n=e.length;if(0===n)return null;for(var i=[],a=0;at&&(a=a.concat(ve(e.l,t,r))),o>=t&&o<=r&&a.push({k:o,v:n}),o<=r&&(a=a.concat(ve(i,t,r))),a}function ye(e){return he(e)?[]:[].concat(ye(e.l),[{k:e.k,v:e.v}],ye(e.r))}function be(e){return he(e.r)?[e.k,e.v]:be(e.r)}function we(e){return he(e.r)?e.l:Ee(Ce(e,{r:we(e.r)}))}function Ce(e,t){return de(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function xe(e){return he(e)||e.lvl>e.r.lvl}function Ee(e){var t=e.l,r=e.r,o=e.lvl;if(r.lvl>=o-1&&t.lvl>=o-1)return e;if(o>r.lvl+1){if(xe(t))return je(Ce(e,{lvl:o-1}));if(he(t)||he(t.r))throw new Error("Unexpected empty nodes");return Ce(t.r,{l:Ce(t,{r:t.r.l}),r:Ce(e,{l:t.r.r,lvl:o-1}),lvl:o})}if(xe(e))return Ae(Ce(e,{lvl:o-1}));if(he(r)||he(r.l))throw new Error("Unexpected empty nodes");var n=r.l,i=xe(n)?r.lvl-1:r.lvl;return Ce(n,{l:Ce(e,{r:n.l,lvl:o-1}),r:Ae(Ce(r,{l:n.r,lvl:i})),lvl:n.lvl+1})}function ke(e,t,r){return he(e)?[]:Se(ve(e,fe(e,t)[0],r),(function(e){return{index:e.k,value:e.v}}))}function Se(e,t){var r=e.length;if(0===r)return[];for(var o=t(e[0]),n=o.index,i=o.value,a=[],s=1;s0&&(0,t[2])("received item sizes",r,Q.DEBUG);var i=e.sizeTree,a=i,s=0;if(o.length>0&&he(i)&&2===r.length){var c=r[0].size,l=r[1].size;a=o.reduce((function(e,t){return ge(ge(e,t,c),t+1,l)}),a)}else{var u=function(e,t){for(var r,o=he(e)?0:1/0,n=Y(t);!(r=n()).done;){var i=r.value,a=i.size,s=i.startIndex,c=i.endIndex;if(o=Math.min(o,s),he(e))e=ge(e,0,a);else{var l=ke(e,s-1,c+1);if(!l.some(qe(i))){for(var u,d=!1,h=!1,p=Y(l);!(u=p()).done;){var m=u.value,f=m.start,g=m.end,v=m.value;d?(c>=f||a===v)&&(e=me(e,f)):(h=v!==a,d=!0),g>c&&c>=f&&v!==a&&(e=ge(e,c+1,v))}h&&(e=ge(e,s,a))}}}return[e,o]}(a,r);a=u[0],s=u[1]}if(a===i)return e;var d=ze(e.offsetTree,s,a,n),h=d.offsetTree;return{sizeTree:a,offsetTree:h,lastIndex:d.lastIndex,lastOffset:d.lastOffset,lastSize:d.lastSize,groupOffsetTree:o.reduce((function(e,t){return ge(e,t,Fe(t,h,n))}),pe()),groupIndices:o}}function Fe(e,t,r){if(0===t.length)return 0;var o=Te(t,e,Le),n=e-o.index,i=o.size*n+(n-1)*r+o.offset;return i>0?i+r:i}function He(e,t,r){if(function(e){return void 0!==e.groupIndex}(e))return t.groupIndices[e.groupIndex]+1;var o=Ne("LAST"===e.index?r:e.index,t);return Math.max(0,o,Math.min(r,o))}function Ne(e,t){if(!Oe(t))return e;for(var r=0;t.groupIndices[r]<=e+r;)r++;return e+r}function Oe(e){return!he(e.groupOffsetTree)}var Ve={offsetHeight:"height",offsetWidth:"width"},Ue=N((function(e){var t=e[0].log,r=e[1].recalcInProgress,o=w(),n=w(),i=E(n,0),a=w(),s=w(),c=C(0),l=C([]),u=C(void 0),d=C(void 0),h=C((function(e,t){return ae(e,Ve[t])})),p=C(void 0),g=C(0),b={offsetTree:[],sizeTree:pe(),groupOffsetTree:pe(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},k=E(S(o,z(l,t,g),q(Pe,b),j()),b);y(S(l,D((function(e){return e.length>0})),z(k,g),T((function(e){var t=e[0],r=e[1],o=e[2],n=t.reduce((function(e,t,n){return ge(e,t,Fe(t,r.offsetTree,o)||n)}),pe());return W({},r,{groupIndices:t,groupOffsetTree:n})}))),k),y(S(n,z(k),D((function(e){return e[0]0?(f(r,!0),f(a,e)):e<0&&f(s,e)})),m(S(c,z(t)),(function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:c},Q.ERROR)}));var L=x(a);y(S(a,z(k),T((function(e){var t=e[0],r=e[1];if(r.groupIndices.length>0)throw new Error("Virtuoso: prepending items does not work with groups");return ye(r.sizeTree).reduce((function(e,r){var o=r.k,n=r.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:o+t-1,size:e.prevSize}]),prevIndex:o+t,prevSize:n}}),{ranges:[],prevIndex:0,prevSize:r.lastSize}).ranges}))),o);var R=x(S(s,z(k,g),T((function(e){return Fe(-e[0],e[1].offsetTree,e[2])}))));return y(S(s,z(k,g),T((function(e){var t=e[0],r=e[1],o=e[2];if(r.groupIndices.length>0)throw new Error("Virtuoso: shifting items does not work with groups");var n=ye(r.sizeTree).reduce((function(e,r){var o=r.v;return ge(e,Math.max(0,r.k+t),o)}),pe());return W({},r,{sizeTree:n},ze(r.offsetTree,0,n,o))}))),k),{data:p,totalCount:n,sizeRanges:o,groupIndices:l,defaultItemSize:d,fixedItemSize:u,unshiftWith:a,shiftWith:s,shiftWithOffset:R,beforeUnshiftWith:L,firstItemIndex:c,gap:g,sizes:k,listRefresh:I,statefulTotalCount:i,trackItemSizes:A,itemSize:h}}),l(re,Ie),{singleton:!0}),Me="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function $e(e){var t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&Me||(t.behavior="auto"),t.offset||(t.offset=0),t}var Ge=N((function(e){var t=e[0],r=t.sizes,o=t.totalCount,n=t.listRefresh,i=t.gap,a=e[1],s=a.scrollingInProgress,c=a.viewportHeight,l=a.scrollTo,u=a.smoothScrollTargetReached,d=a.headerHeight,h=a.footerHeight,p=a.fixedHeaderHeight,g=a.fixedFooterHeight,v=e[2].log,x=w(),E=C(0),k=null,A=null,j=null;function D(){k&&(k(),k=null),j&&(j(),j=null),A&&(clearTimeout(A),A=null),f(s,!1)}return y(S(x,z(r,c,o,E,d,h,v),z(i,p,g),T((function(e){var t=e[0],r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],l=t[5],d=t[6],h=t[7],p=e[1],g=e[2],v=e[3],y=$e(r),w=y.align,C=y.behavior,E=y.offset,T=a-1,I=He(y,o,T),q=Fe(I,o.offsetTree,p)+l;"end"===w?(q+=g+fe(o.sizeTree,I)[1]-i+v,I===T&&(q+=d)):"center"===w?q+=(g+fe(o.sizeTree,I)[1]-i+v)/2:q-=c,E&&(q+=E);var L=function(e){D(),e?(h("retrying to scroll to",{location:r},Q.DEBUG),f(x,r)):h("list did not change, scroll successful",{},Q.DEBUG)};if(D(),"smooth"===C){var R=!1;j=m(n,(function(e){R=R||e})),k=b(u,(function(){L(R)}))}else k=b(S(n,(function(e){var t=setTimeout((function(){e(!1)}),150);return function(r){r&&(e(!0),clearTimeout(t))}})),L);return A=setTimeout((function(){D()}),1200),f(s,!0),h("scrolling from index to",{index:I,top:q,behavior:C},Q.DEBUG),{top:q,behavior:C}}))),l),{scrollToIndex:x,topListHeight:E}}),l(Ue,le,re),{singleton:!0}),Ze="up",We={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},Ke=N((function(e){var t=e[0],r=t.scrollContainerState,o=t.scrollTop,n=t.viewportHeight,i=t.headerHeight,a=t.footerHeight,s=t.scrollBy,c=C(!1),l=C(!0),u=w(),d=w(),h=C(4),p=C(0),m=E(S(P(S(F(o),L(1),I(!0)),S(F(o),L(1),I(!1),B(100))),j()),!1),f=E(S(P(S(s,I(!0)),S(s,I(!1),B(200))),j()),!1);y(S(H(F(o),F(p)),T((function(e){return e[0]<=e[1]})),j()),l),y(S(l,R(50)),d);var g=x(S(H(r,F(n),F(i),F(a),F(h)),q((function(e,t){var r,o,n=t[0],i=n.scrollTop,a=n.scrollHeight,s=t[1],c={viewportHeight:s,scrollTop:i,scrollHeight:a};return i+s-a>-t[4]?(i>e.state.scrollTop?(r="SCROLLED_DOWN",o=e.state.scrollTop-i):(r="SIZE_DECREASED",o=e.state.scrollTop-i||e.scrollTopDelta),{atBottom:!0,state:c,atBottomBecause:r,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:c.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":st+h-f&&(m=Ze),(a-=l)0){a=e[0].offset;var c=e[e.length-1];s=c.offset+c.size}var l=r-n.lastIndex,u=a,d=n.lastOffset+l*n.lastSize+(l-1)*o-s;return{items:st(e,n,i),topItems:st(t,n,i),topListHeight:t.reduce((function(e,t){return t.size+e}),0),offsetTop:a,offsetBottom:d,top:u,bottom:s,totalCount:r,firstItemIndex:i}}var lt=N((function(e){var t=e[0],r=t.sizes,o=t.totalCount,n=t.data,i=t.firstItemIndex,a=t.gap,s=e[1],l=e[2],u=l.visibleRange,d=l.listBoundary,h=l.topListHeight,p=e[3],m=p.scrolledToInitialItem,f=p.initialTopMostItemIndex,g=e[4].topListHeight,v=e[5],b=e[6].didMount,k=e[7].recalcInProgress,A=C([]),I=w();y(s.topItemsIndexes,A);var q=E(S(H(b,k,F(u,tt),F(o),F(r),F(f),m,F(A),F(i),F(a),n),D((function(e){return e[0]&&!e[1]})),T((function(e){var t=e[2],r=t[0],o=t[1],n=e[3],i=e[5],a=e[6],s=e[7],l=e[8],u=e[9],d=e[10],h=e[4],p=h.sizeTree,m=h.offsetTree;if(0===n||0===r&&0===o)return W({},at,{totalCount:n});if(he(p))return ct(function(e,t,r){if(Oe(t)){var o=Ne(e,t);return[{index:fe(t.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:r&&r[0]}]}return[{index:e,size:0,offset:0,data:r&&r[0]}]}(function(e,t){return"number"==typeof e?e:"LAST"===e.index?t-1:e.index}(i,n),h,d),[],n,u,h,l);var f=[];if(s.length>0)for(var g,v=s[0],y=s[s.length-1],b=0,w=Y(ke(p,v,y));!(g=w()).done;)for(var C=g.value,x=C.value,E=Math.max(C.start,v),k=Math.min(C.end,y),S=E;S<=k;S++)f.push({index:S,size:x,offset:b,data:d&&d[S]}),b+=x;if(!a)return ct([],f,n,u,h,l);var A=s.length>0?s[s.length-1]+1:0,j=function(e,t,r,o){return void 0===o&&(o=0),o>0&&(t=Math.max(t,Te(e,o,Le).offset)),Se((i=r,s=De(n=e,t,a=Re),c=De(n,i,a,s),n.slice(s,c+1)),Be);var n,i,a,s,c}(m,r,o,A);if(0===j.length)return null;var D=n-1;return ct(c([],(function(e){for(var t,n=Y(j);!(t=n()).done;){var i=t.value,a=i.value,s=a.offset,c=i.start,l=a.size;if(a.offset=o);m++)e.push({index:m,size:l,offset:s,data:d&&d[m]}),s+=l+u}})),f,n,u,h,l)})),D((function(e){return null!==e})),j()),at);return y(S(n,D((function(e){return void 0!==e})),T((function(e){return e.length}))),o),y(S(q,T((function(e){return e.topListHeight}))),g),y(g,h),y(S(q,T((function(e){return[e.top,e.bottom]}))),d),y(S(q,T((function(e){return e.items}))),I),W({listState:q,topItemsIndexes:A,endReached:x(S(q,D((function(e){return e.items.length>0})),z(o,n),D((function(e){var t=e[0].items;return t[t.length-1].originalIndex===e[1]-1})),T((function(e){return[e[1]-1,e[2]]})),j(tt),T((function(e){return e[0]})))),startReached:x(S(q,R(200),D((function(e){var t=e.items;return t.length>0&&t[0].originalIndex===e.topItems.length})),T((function(e){return e.items[0].index})),j())),rangeChanged:x(S(q,D((function(e){return e.items.length>0})),T((function(e){for(var t=e.items,r=0,o=t.length-1;"group"===t[r].type&&rr;)o--;return{startIndex:t[r].index,endIndex:t[o].index}})),j(rt))),itemsRendered:I},v)}),l(Ue,et,it,Ye,Ge,Ke,_e,Ie),{singleton:!0}),ut=N((function(e){var t=e[0],r=t.sizes,o=t.firstItemIndex,n=t.data,i=t.gap,a=e[1].listState,s=e[2].didMount,c=C(0);return y(S(s,z(c),D((function(e){return 0!==e[1]})),z(r,o,i,n),T((function(e){var t=e[0][1],r=e[1],o=e[2],n=e[3],i=e[4],a=void 0===i?[]:i,s=0;if(r.groupIndices.length>0)for(var c,l=Y(r.groupIndices);!((c=l()).done||c.value-s>=t);)s++;var u=t+s;return ct(Array.from({length:u}).map((function(e,t){return{index:t,size:0,offset:0,data:a[t]}})),[],u,n,r,o)}))),a),{initialItemCount:c}}),l(Ue,lt,_e),{singleton:!0}),dt=N((function(e){var t=e[0].scrollVelocity,r=C(!1),o=w(),n=C(!1);return y(S(t,z(n,r,o),D((function(e){return!!e[1]})),T((function(e){var t=e[0],r=e[1],o=e[2],n=e[3],i=r.enter;if(o){if((0,r.exit)(t,n))return!1}else if(i(t,n))return!0;return o})),j()),r),m(S(H(r,t,o),z(n)),(function(e){var t=e[0],r=e[1];return t[0]&&r&&r.change&&r.change(t[1],t[2])})),{isSeeking:r,scrollSeekConfiguration:n,scrollVelocity:t,scrollSeekRangeChanged:o}}),l(Ke),{singleton:!0}),ht=N((function(e){var t=e[0].topItemsIndexes,r=C(0);return y(S(r,D((function(e){return e>0})),T((function(e){return Array.from({length:e}).map((function(e,t){return t}))}))),t),{topItemCount:r}}),l(lt)),pt=N((function(e){var t=e[0],r=t.footerHeight,o=t.headerHeight,n=t.fixedHeaderHeight,i=t.fixedFooterHeight,a=e[1].listState,s=w(),c=E(S(H(r,i,o,n,a),T((function(e){var t=e[4];return e[0]+e[1]+e[2]+e[3]+t.offsetBottom+t.bottom}))),0);return y(F(c),s),{totalListHeight:c,totalListHeightChanged:s}}),l(le,lt),{singleton:!0});function mt(e){var t,r=!1;return function(){return r||(r=!0,t=e()),t}}var ft=mt((function(){return/iP(ad|hone|od).+Version\/[\d.]+.*Safari/i.test(navigator.userAgent)})),gt=N((function(e){var t=e[0],r=t.scrollBy,o=t.scrollTop,n=t.deviation,i=t.scrollingInProgress,a=e[1],s=a.isScrolling,c=a.isAtBottom,l=a.scrollDirection,u=e[3],d=u.beforeUnshiftWith,h=u.shiftWithOffset,p=u.sizes,g=u.gap,v=e[4].log,b=e[5].recalcInProgress,w=x(S(e[2].listState,z(a.lastJumpDueToItemResize),q((function(e,t){var r=e[1],o=t[0],n=o.items,i=o.totalCount,a=o.bottom+o.offsetBottom,s=0;return e[2]===i&&r.length>0&&n.length>0&&(0===n[0].originalIndex&&0===r[0].originalIndex||0!=(s=a-e[3])&&(s+=t[1])),[s,n,i,a]}),[0,[],0,0]),D((function(e){return 0!==e[0]})),z(o,l,i,c,v),D((function(e){return!e[3]&&0!==e[1]&&e[2]===Ze})),T((function(e){var t=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:t},Q.DEBUG),t}))));function C(e){e>0?(f(r,{top:-e,behavior:"auto"}),f(n,0)):(f(n,0),f(r,{top:-e,behavior:"auto"}))}return m(S(w,z(n,s)),(function(e){var t=e[0],r=e[1];e[2]&&ft()?f(n,r-t):C(-t)})),m(S(H(E(s,!1),n,b),D((function(e){return!e[0]&&!e[2]&&0!==e[1]})),T((function(e){return e[1]})),R(1)),C),y(S(h,T((function(e){return{top:-e}}))),r),m(S(d,z(p,g),T((function(e){var t=e[0];return t*e[1].lastSize+t*e[2]}))),(function(e){f(n,e),requestAnimationFrame((function(){f(r,{top:e}),requestAnimationFrame((function(){f(n,0),f(b,!1)}))}))})),{deviation:n}}),l(le,Ke,lt,Ue,re,Ie)),vt=N((function(e){var t=e[0].totalListHeight,r=e[1].didMount,o=e[2].scrollTo,n=C(0);return m(S(r,z(n),D((function(e){return 0!==e[1]})),T((function(e){return{top:e[1]}}))),(function(e){b(S(t,D((function(e){return 0!==e}))),(function(){setTimeout((function(){f(o,e)}))}))})),{initialScrollTop:n}}),l(pt,_e,le),{singleton:!0}),yt=N((function(e){var t=e[0].viewportHeight,r=e[1].totalListHeight,o=C(!1);return{alignToBottom:o,paddingTopAddition:E(S(H(o,t,r),D((function(e){return e[0]})),T((function(e){return Math.max(0,e[1]-e[2])})),j()),0)}}),l(le,pt),{singleton:!0}),bt=N((function(e){var t=e[0],r=t.scrollTo,o=t.scrollContainerState,n=w(),i=w(),a=w(),s=C(!1),c=C(void 0);return y(S(H(n,i),T((function(e){var t=e[0],r=t.viewportHeight,o=t.scrollHeight;return{scrollTop:Math.max(0,t.scrollTop-e[1].offsetTop),scrollHeight:o,viewportHeight:r}}))),o),y(S(r,z(i),T((function(e){var t=e[0];return W({},t,{top:t.top+e[1].offsetTop})}))),a),{useWindowScroll:s,customScrollParent:c,windowScrollContainerState:n,windowViewportRect:i,windowScrollTo:a}}),l(le)),wt=["done","behavior","align"],Ct=N((function(e){var t=e[0],r=t.sizes,o=t.totalCount,n=t.gap,i=e[1],a=i.scrollTop,s=i.viewportHeight,c=i.headerHeight,l=i.scrollingInProgress,u=e[2].scrollToIndex,d=w();return y(S(d,z(r,s,o,c,a,n),T((function(e){var t=e[0],r=e[1],o=e[2],n=e[3],i=e[4],a=e[5],s=e[6],c=t.done,u=t.behavior,d=t.align,h=K(t,wt),p=null,m=He(t,r,n-1),f=Fe(m,r.offsetTree,s)+i;return fa+o&&(p=W({},h,{behavior:u,align:null!=d?d:"end"})),p?c&&b(S(l,L(1),D((function(e){return!1===e}))),c):c&&c(),p})),D((function(e){return null!==e}))),u),{scrollIntoView:d}}),l(Ue,le,Ge,lt,re),{singleton:!0}),xt=["listState","topItemsIndexes"],Et=N((function(e){return W({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])}),l(it,ut,_e,dt,pt,vt,yt,bt,Ct)),kt=N((function(e){var t=e[0],r=t.totalCount,o=t.sizeRanges,n=t.fixedItemSize,i=t.defaultItemSize,a=t.trackItemSizes,s=t.itemSize,c=t.data,l=t.firstItemIndex,u=t.groupIndices,d=t.statefulTotalCount,h=t.gap,p=e[1],m=p.initialTopMostItemIndex,f=p.scrolledToInitialItem,g=e[2],v=e[3],b=e[4],w=b.listState,C=b.topItemsIndexes,x=K(b,xt),E=e[5].scrollToIndex,k=e[7].topItemCount,A=e[8].groupCounts,j=e[9],D=e[10];return y(x.rangeChanged,j.scrollSeekRangeChanged),y(S(j.windowViewportRect,T((function(e){return e.visibleHeight}))),g.viewportHeight),W({totalCount:r,data:c,firstItemIndex:l,sizeRanges:o,initialTopMostItemIndex:m,scrolledToInitialItem:f,topItemsIndexes:C,topItemCount:k,groupCounts:A,fixedItemHeight:n,defaultItemHeight:i,gap:h},v,{statefulTotalCount:d,listState:w,scrollToIndex:E,trackItemSizes:a,itemSize:s,groupIndices:u},x,j,g,D)}),l(Ue,Ye,le,Qe,lt,Ge,gt,ht,et,Et,re)),St=mt((function(){if("undefined"==typeof document)return"sticky";var e=document.createElement("div");return e.style.position="-webkit-sticky","-webkit-sticky"===e.style.position?"-webkit-sticky":"sticky"}));function At(e,t){var r=(0,o.useRef)(null),n=(0,o.useCallback)((function(o){if(null!==o&&o.offsetParent){var n,i,a=o.getBoundingClientRect(),s=a.width;if(t){var c=t.getBoundingClientRect(),l=a.top-c.top;n=c.height-Math.max(0,l),i=l+t.scrollTop}else n=window.innerHeight-Math.max(0,a.top),i=a.top+window.pageYOffset;r.current={offsetTop:i,visibleHeight:n,visibleWidth:s},e(r.current)}}),[e,t]),i=oe(n),a=i.callbackRef,s=i.ref,c=(0,o.useCallback)((function(){n(s.current)}),[n,s]);return(0,o.useEffect)((function(){if(t){t.addEventListener("scroll",c);var e=new ResizeObserver(c);return e.observe(t),function(){t.removeEventListener("scroll",c),e.unobserve(t)}}return window.addEventListener("scroll",c),window.addEventListener("resize",c),function(){window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}}),[c,t]),a}var jt=o.createContext(void 0),Dt=["placeholder"],Tt=["style","children"],It=["style","children"];function qt(e){return e}var Lt=N((function(){var e=C((function(e){return"Item "+e})),t=C(null),r=C((function(e){return"Group "+e})),o=C({}),n=C(qt),i=C("div"),a=C(p),s=function(e,t){return void 0===t&&(t=null),E(S(o,T((function(t){return t[e]})),j()),t)};return{context:t,itemContent:e,groupContent:r,components:o,computeItemKey:n,headerFooterTag:i,scrollerRef:a,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}}));function Rt(e,t){var r=w();return m(r,(function(){return console.warn("react-virtuoso: You are using a deprecated property. "+t,"color: red;","color: inherit;","color: blue;")})),y(r,e),r}var Bt=N((function(e){var t=e[0],r=e[1],o={item:Rt(r.itemContent,"Rename the %citem%c prop to %citemContent."),group:Rt(r.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:Rt(t.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:Rt(t.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:Rt(t.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:w(),maxHeightCacheSize:w(),footer:w(),header:w(),HeaderContainer:w(),FooterContainer:w(),ItemContainer:w(),ScrollContainer:w(),GroupContainer:w(),ListContainer:w(),emptyComponent:w(),scrollSeek:w()};function n(e,t,o){y(S(e,z(r.components),T((function(e){var r,n=e[0],i=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+t+" instead."),W({},i,((r={})[t]=n,r))}))),r.components)}return m(o.adjustForPrependedItems,(function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")})),m(o.maxHeightCacheSize,(function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")})),m(o.HeaderContainer,(function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")})),m(o.FooterContainer,(function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")})),m(o.scrollSeek,(function(e){var o=e.placeholder,n=K(e,Dt);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),f(r.components,W({},v(r.components),{ScrollSeekPlaceholder:o})),f(t.scrollSeekConfiguration,n)})),n(o.footer,"Footer","footer"),n(o.header,"Header","header"),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),n(o.emptyComponent,"EmptyPlaceholder","emptyComponent"),n(o.GroupContainer,"Group","GroupContainer"),W({},t,r,o)}),l(kt,Lt)),zt=function(e){return o.createElement("div",{style:{height:e.height}})},Pt={position:St(),zIndex:1,overflowAnchor:"none"},Ft={overflowAnchor:"none"},Ht=o.memo((function(e){var t=e.showTopList,r=void 0!==t&&t,n=Xt("listState"),i=Qt("sizeRanges"),a=Xt("useWindowScroll"),s=Xt("customScrollParent"),c=Qt("windowScrollContainerState"),l=Qt("scrollContainerState"),u=s||a?c:l,d=Xt("itemContent"),h=Xt("context"),m=Xt("groupContent"),f=Xt("trackItemSizes"),g=ie(i,Xt("itemSize"),f,r?p:u,Xt("log"),Qt("gap"),s).callbackRef,v=o.useState(0),y=v[0],b=v[1];er("deviation",(function(e){y!==e&&b(e)}));var w=Xt("EmptyPlaceholder"),C=Xt("ScrollSeekPlaceholder")||zt,x=Xt("ListComponent"),E=Xt("ItemComponent"),k=Xt("GroupComponent"),S=Xt("computeItemKey"),A=Xt("isSeeking"),j=Xt("groupIndices").length>0,D=Xt("paddingTopAddition"),T=r?{}:{boxSizing:"border-box",paddingTop:n.offsetTop+D,paddingBottom:n.offsetBottom,marginTop:y};return!r&&0===n.totalCount&&w?(0,o.createElement)(w,Ut(w,h)):(0,o.createElement)(x,W({},Ut(x,h),{ref:g,style:T,"data-test-id":r?"virtuoso-top-item-list":"virtuoso-item-list"}),(r?n.topItems:n.items).map((function(e){var t=e.originalIndex,r=S(t+n.firstItemIndex,e.data,h);return A?(0,o.createElement)(C,W({},Ut(C,h),{key:r,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,o.createElement)(k,W({},Ut(k,h),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:Pt}),m(e.index)):(0,o.createElement)(E,W({},Ut(E,h),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:Ft}),j?d(e.index,e.groupIndex,e.data,h):d(e.index,e.data,h))})))})),Nt={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},Ot={width:"100%",height:"100%",position:"absolute",top:0},Vt={width:"100%",position:St(),top:0};function Ut(e,t){if("string"!=typeof e)return{context:t}}var Mt=o.memo((function(){var e=Xt("HeaderComponent"),t=Qt("headerHeight"),r=Xt("headerFooterTag"),n=ne((function(e){return t(ae(e,"height"))})),i=Xt("context");return e?(0,o.createElement)(r,{ref:n},(0,o.createElement)(e,Ut(e,i))):null})),$t=o.memo((function(){var e=Xt("FooterComponent"),t=Qt("footerHeight"),r=Xt("headerFooterTag"),n=ne((function(e){return t(ae(e,"height"))})),i=Xt("context");return e?(0,o.createElement)(r,{ref:n},(0,o.createElement)(e,Ut(e,i))):null}));function Gt(e){var t=e.usePublisher,r=e.useEmitter,n=e.useEmitterValue;return o.memo((function(e){var i=e.style,a=e.children,s=K(e,Tt),c=t("scrollContainerState"),l=n("ScrollerComponent"),u=t("smoothScrollTargetReached"),d=n("scrollerRef"),h=n("context"),p=ce(c,u,l,d),m=p.scrollerRef,f=p.scrollByCallback;return r("scrollTo",p.scrollToCallback),r("scrollBy",f),(0,o.createElement)(l,W({ref:m,style:W({},Nt,i),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},s,Ut(l,h)),a)}))}function Zt(e){var t=e.usePublisher,r=e.useEmitter,n=e.useEmitterValue;return o.memo((function(e){var i=e.style,a=e.children,s=K(e,It),c=t("windowScrollContainerState"),l=n("ScrollerComponent"),u=t("smoothScrollTargetReached"),d=n("totalListHeight"),h=n("deviation"),m=n("customScrollParent"),f=n("context"),g=ce(c,u,l,p,m),v=g.scrollerRef,y=g.scrollByCallback,b=g.scrollToCallback;return ee((function(){return v.current=m||window,function(){v.current=null}}),[v,m]),r("windowScrollTo",b),r("scrollBy",y),(0,o.createElement)(l,W({style:W({position:"relative"},i,0!==d?{height:d+h}:{}),"data-virtuoso-scroller":!0},s,Ut(l,f)),a)}))}var Wt=function(e){var t=e.children,r=(0,o.useContext)(jt),i=Qt("viewportHeight"),a=Qt("fixedItemHeight"),s=ne(n(i,(function(e){return ae(e,"height")})));return o.useEffect((function(){r&&(i(r.viewportHeight),a(r.itemHeight))}),[r,i,a]),o.createElement("div",{style:Ot,ref:s,"data-viewport-type":"element"},t)},Kt=function(e){var t=e.children,r=(0,o.useContext)(jt),n=Qt("windowViewportRect"),i=Qt("fixedItemHeight"),a=Xt("customScrollParent"),s=At(n,a);return o.useEffect((function(){r&&(i(r.itemHeight),n({offsetTop:0,visibleHeight:r.viewportHeight,visibleWidth:100}))}),[r,n,i]),o.createElement("div",{ref:s,style:Ot,"data-viewport-type":"window"},t)},_t=function(e){var t=e.children,r=Xt("TopItemListComponent"),n=Xt("headerHeight"),i=W({},Vt,{marginTop:n+"px"}),a=Xt("context");return(0,o.createElement)(r||"div",{style:i,context:a},t)},Yt=G(Bt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},o.memo((function(e){var t=Xt("useWindowScroll"),r=Xt("topItemsIndexes").length>0,n=Xt("customScrollParent"),i=n||t?Kt:Wt;return o.createElement(n||t?rr:tr,W({},e),o.createElement(i,null,o.createElement(Mt,null),o.createElement(Ht,null),o.createElement($t,null)),r&&o.createElement(_t,null,o.createElement(Ht,{showTopList:!0})))}))),Jt=Yt.Component,Qt=Yt.usePublisher,Xt=Yt.useEmitterValue,er=Yt.useEmitter,tr=Gt({usePublisher:Qt,useEmitterValue:Xt,useEmitter:er}),rr=Zt({usePublisher:Qt,useEmitterValue:Xt,useEmitter:er}),or={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},nr={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},ir=Math.round,ar=Math.ceil,sr=Math.floor,cr=Math.min,lr=Math.max;function ur(e,t){return Array.from({length:t-e+1}).map((function(t,r){return{index:r+e}}))}function dr(e,t){return e&&e.column===t.column&&e.row===t.row}var hr=N((function(e){var t=e[0],r=t.overscan,o=t.visibleRange,n=t.listBoundary,i=e[1],a=i.scrollTop,s=i.viewportHeight,c=i.scrollBy,l=i.scrollTo,u=i.smoothScrollTargetReached,d=i.scrollContainerState,h=e[2],p=e[3],m=e[4],f=m.propsReady,g=m.didMount,v=e[5],b=v.windowViewportRect,k=v.windowScrollTo,A=v.useWindowScroll,q=v.customScrollParent,L=v.windowScrollContainerState,R=e[6],B=C(0),P=C(0),N=C(or),O=C({height:0,width:0}),V=C({height:0,width:0}),U=w(),M=w(),$=C(0),G=C({row:0,column:0});y(S(g,z(P),D((function(e){return 0!==e[1]})),T((function(e){return{items:ur(0,e[1]-1),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}}))),N),y(S(H(F(B),o,F(G,dr),F(V,(function(e,t){return e&&e.width===t.width&&e.height===t.height}))),z(O),T((function(e){var t=e[0],r=t[0],o=t[1],n=o[0],i=o[1],a=t[2],s=t[3],c=e[1],l=a.row,u=s.height,d=s.width,h=c.width;if(0===r||0===h)return or;if(0===d)return nr;var p=fr(h,d,a.column),m=p*sr((n+l)/(u+l)),f=p*ar((i+l)/(u+l))-1;f=lr(0,cr(r-1,f));var g=ur(m=cr(f,lr(0,m)),f),v=pr(c,a,s,g),y=v.top,b=v.bottom,w=ar(r/p);return{items:g,offsetTop:y,offsetBottom:w*u+(w-1)*l-b,top:y,bottom:b,itemHeight:u,itemWidth:d}}))),N),y(S(O,T((function(e){return e.height}))),s),y(S(H(O,V,N,G),T((function(e){var t=pr(e[0],e[3],e[1],e[2].items);return[t.top,t.bottom]})),j(tt)),n);var Z=x(S(F(N),D((function(e){return e.items.length>0})),z(B),D((function(e){var t=e[0].items;return t[t.length-1].index===e[1]-1})),T((function(e){return e[1]-1})),j())),K=x(S(F(N),D((function(e){var t=e.items;return t.length>0&&0===t[0].index})),I(0),j())),_=x(S(F(N),D((function(e){return e.items.length>0})),T((function(e){var t=e.items;return{startIndex:t[0].index,endIndex:t[t.length-1].index}})),j(rt)));y(_,p.scrollSeekRangeChanged),y(S(U,z(O,V,B,G),T((function(e){var t=e[1],r=e[2],o=e[3],n=e[4],i=$e(e[0]),a=i.align,s=i.behavior,c=i.offset,l=i.index;"LAST"===l&&(l=o-1);var u=mr(t,n,r,l=lr(0,l,cr(o-1,l)));return"end"===a?u=ir(u-t.height+r.height):"center"===a&&(u=ir(u-t.height/2+r.height/2)),c&&(u+=c),{top:u,behavior:s}}))),l);var Y=E(S(N,T((function(e){return e.offsetBottom+e.bottom}))),0);return y(S(b,T((function(e){return{width:e.visibleWidth,height:e.visibleHeight}}))),O),W({totalCount:B,viewportDimensions:O,itemDimensions:V,scrollTop:a,scrollHeight:M,overscan:r,scrollBy:c,scrollTo:l,scrollToIndex:U,smoothScrollTargetReached:u,windowViewportRect:b,windowScrollTo:k,useWindowScroll:A,customScrollParent:q,windowScrollContainerState:L,deviation:$,scrollContainerState:d,initialItemCount:P,gap:G},p,{gridState:N,totalListHeight:Y},h,{startReached:K,endReached:Z,rangeChanged:_,propsReady:f},R)}),l(it,le,Ke,dt,_e,bt,re));function pr(e,t,r,o){var n=r.height;return void 0===n||0===o.length?{top:0,bottom:0}:{top:mr(e,t,r,o[0].index),bottom:mr(e,t,r,o[o.length-1].index)+n}}function mr(e,t,r,o){var n=fr(e.width,r.width,t.column),i=sr(o/n),a=i*r.height+lr(0,i-1)*t.row;return a>0?a+t.row:a}function fr(e,t,r){return lr(1,sr((e+r)/(t+r)))}var gr=["placeholder"],vr=N((function(){var e=C((function(e){return"Item "+e})),t=C({}),r=C(null),o=C("virtuoso-grid-item"),n=C("virtuoso-grid-list"),i=C(qt),a=C(p),s=function(e,r){return void 0===r&&(r=null),E(S(t,T((function(t){return t[e]})),j()),r)};return{context:r,itemContent:e,components:t,computeItemKey:i,itemClassName:o,listClassName:n,scrollerRef:a,ListComponent:s("List","div"),ItemComponent:s("Item","div"),ScrollerComponent:s("Scroller","div"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder","div")}})),yr=N((function(e){var t=e[0],r=e[1],o={item:Rt(r.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:w(),ScrollContainer:w(),ListContainer:w(),emptyComponent:w(),scrollSeek:w()};function n(e,t,o){y(S(e,z(r.components),T((function(e){var r,n=e[0],i=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+t+" instead."),W({},i,((r={})[t]=n,r))}))),r.components)}return m(o.scrollSeek,(function(e){var o=e.placeholder,n=K(e,gr);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),f(r.components,W({},v(r.components),{ScrollSeekPlaceholder:o})),f(t.scrollSeekConfiguration,n)})),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),W({},t,r,o)}),l(hr,vr)),br=o.memo((function(){var e=kr("gridState"),t=kr("listClassName"),r=kr("itemClassName"),n=kr("itemContent"),i=kr("computeItemKey"),a=kr("isSeeking"),s=Er("scrollHeight"),c=kr("ItemComponent"),l=kr("ListComponent"),u=kr("ScrollSeekPlaceholder"),d=kr("context"),h=Er("itemDimensions"),p=Er("gap"),m=kr("log"),f=ne((function(e){s(e.parentElement.parentElement.scrollHeight);var t=e.firstChild;t&&h(t.getBoundingClientRect()),p({row:Dr("row-gap",getComputedStyle(e).rowGap,m),column:Dr("column-gap",getComputedStyle(e).columnGap,m)})}));return(0,o.createElement)(l,W({ref:f,className:t},Ut(l,d),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map((function(t){var s=i(t.index);return a?(0,o.createElement)(u,W({key:s},Ut(u,d),{index:t.index,height:e.itemHeight,width:e.itemWidth})):(0,o.createElement)(c,W({},Ut(c,d),{className:r,"data-index":t.index,key:s}),n(t.index,d))})))})),wr=function(e){var t=e.children,r=Er("viewportDimensions"),n=ne((function(e){r(e.getBoundingClientRect())}));return o.createElement("div",{style:Ot,ref:n},t)},Cr=function(e){var t=e.children,r=At(Er("windowViewportRect"),kr("customScrollParent"));return o.createElement("div",{ref:r,style:Ot},t)},xr=G(yr,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},o.memo((function(e){var t=W({},e),r=kr("useWindowScroll"),n=kr("customScrollParent"),i=n||r?Cr:wr;return o.createElement(n||r?jr:Ar,W({},t),o.createElement(i,null,o.createElement(br,null)))}))),Er=(xr.Component,xr.usePublisher),kr=xr.useEmitterValue,Sr=xr.useEmitter,Ar=Gt({usePublisher:Er,useEmitterValue:kr,useEmitter:Sr}),jr=Zt({usePublisher:Er,useEmitterValue:kr,useEmitter:Sr});function Dr(e,t,r){return"normal"===t||null!=t&&t.endsWith("px")||r(e+" was not resolved to pixel value correctly",t,Q.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}var Tr=N((function(){var e=C((function(e){return o.createElement("td",null,"Item $",e)})),t=C(null),r=C(null),n=C(null),i=C({}),a=C(qt),s=C(p),c=function(e,t){return void 0===t&&(t=null),E(S(i,T((function(t){return t[e]})),j()),t)};return{context:t,itemContent:e,fixedHeaderContent:r,fixedFooterContent:n,components:i,computeItemKey:a,scrollerRef:s,TableComponent:c("Table","table"),TableHeadComponent:c("TableHead","thead"),TableFooterComponent:c("TableFoot","tfoot"),TableBodyComponent:c("TableBody","tbody"),TableRowComponent:c("TableRow","tr"),ScrollerComponent:c("Scroller","div"),EmptyPlaceholder:c("EmptyPlaceholder"),ScrollSeekPlaceholder:c("ScrollSeekPlaceholder"),FillerRow:c("FillerRow")}})),Ir=N((function(e){return W({},e[0],e[1])}),l(kt,Tr)),qr=function(e){return o.createElement("tr",null,o.createElement("td",{style:{height:e.height}}))},Lr=function(e){return o.createElement("tr",null,o.createElement("td",{style:{height:e.height,padding:0,border:0}}))},Rr=o.memo((function(){var e=Hr("listState"),t=Fr("sizeRanges"),r=Hr("useWindowScroll"),n=Hr("customScrollParent"),i=Fr("windowScrollContainerState"),a=Fr("scrollContainerState"),s=n||r?i:a,c=Hr("itemContent"),l=Hr("trackItemSizes"),u=ie(t,Hr("itemSize"),l,s,Hr("log"),void 0,n),d=u.callbackRef,h=u.ref,p=o.useState(0),m=p[0],f=p[1];Nr("deviation",(function(e){m!==e&&(h.current.style.marginTop=e+"px",f(e))}));var g=Hr("EmptyPlaceholder"),v=Hr("ScrollSeekPlaceholder")||qr,y=Hr("FillerRow")||Lr,b=Hr("TableBodyComponent"),w=Hr("TableRowComponent"),C=Hr("computeItemKey"),x=Hr("isSeeking"),E=Hr("paddingTopAddition"),k=Hr("firstItemIndex"),S=Hr("statefulTotalCount"),A=Hr("context");if(0===S&&g)return(0,o.createElement)(g,Ut(g,A));var j=e.offsetTop+E+m,D=e.offsetBottom,T=j>0?o.createElement(y,{height:j,key:"padding-top"}):null,I=D>0?o.createElement(y,{height:D,key:"padding-bottom"}):null,q=e.items.map((function(e){var t=e.originalIndex,r=C(t+k,e.data,A);return x?(0,o.createElement)(v,W({},Ut(v,A),{key:r,index:e.index,height:e.size,type:e.type||"item"})):(0,o.createElement)(w,W({},Ut(w,A),{key:r,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),c(e.index,e.data,A))}));return(0,o.createElement)(b,W({ref:d,"data-test-id":"virtuoso-item-list"},Ut(b,A)),[T].concat(q,[I]))})),Br=function(e){var t=e.children,r=(0,o.useContext)(jt),i=Fr("viewportHeight"),a=Fr("fixedItemHeight"),s=ne(n(i,(function(e){return ae(e,"height")})));return o.useEffect((function(){r&&(i(r.viewportHeight),a(r.itemHeight))}),[r,i,a]),o.createElement("div",{style:Ot,ref:s,"data-viewport-type":"element"},t)},zr=function(e){var t=e.children,r=(0,o.useContext)(jt),n=Fr("windowViewportRect"),i=Fr("fixedItemHeight"),a=Hr("customScrollParent"),s=At(n,a);return o.useEffect((function(){r&&(i(r.itemHeight),n({offsetTop:0,visibleHeight:r.viewportHeight,visibleWidth:100}))}),[r,n,i]),o.createElement("div",{ref:s,style:Ot,"data-viewport-type":"window"},t)},Pr=G(Ir,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},o.memo((function(e){var t=Hr("useWindowScroll"),r=Hr("customScrollParent"),i=Fr("fixedHeaderHeight"),a=Fr("fixedFooterHeight"),s=Hr("fixedHeaderContent"),c=Hr("fixedFooterContent"),l=Hr("context"),u=ne(n(i,(function(e){return ae(e,"height")}))),d=ne(n(a,(function(e){return ae(e,"height")}))),h=r||t?Vr:Or,p=r||t?zr:Br,m=Hr("TableComponent"),f=Hr("TableHeadComponent"),g=Hr("TableFooterComponent"),v=s?o.createElement(f,W({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:u},Ut(f,l)),s()):null,y=c?o.createElement(g,W({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d},Ut(g,l)),c()):null;return o.createElement(h,W({},e),o.createElement(p,null,o.createElement(m,W({style:{borderSpacing:0}},Ut(m,l)),[v,o.createElement(Rr,{key:"TableBody"}),y])))}))),Fr=(Pr.Component,Pr.usePublisher),Hr=Pr.useEmitterValue,Nr=Pr.useEmitter,Or=Gt({usePublisher:Fr,useEmitterValue:Hr,useEmitter:Nr}),Vr=Zt({usePublisher:Fr,useEmitterValue:Hr,useEmitter:Nr}),Ur=Jt},12615:function(e,t,r){"use strict";function o(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function n(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function i(e,t){if(e.clientHeightt||i>e&&a=t&&s>=r?i-e-o:a>t&&sr?a-t+n:0}function s(e,t){var r=window,n=t.scrollMode,s=t.block,c=t.inline,l=t.boundary,u=t.skipOverflowHiddenElements,d="function"==typeof l?l:function(e){return e!==l};if(!o(e))throw new TypeError("Invalid target");for(var h=document.scrollingElement||document.documentElement,p=[],m=e;o(m)&&d(m);){if((m=m.parentElement)===h){p.push(m);break}null!=m&&m===document.body&&i(m)&&!i(document.documentElement)||null!=m&&i(m,u)&&p.push(m)}for(var f=r.visualViewport?r.visualViewport.width:innerWidth,g=r.visualViewport?r.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),w=b.height,C=b.width,x=b.top,E=b.right,k=b.bottom,S=b.left,A="start"===s||"nearest"===s?x:"end"===s?k:x+w/2,j="center"===c?S+C/2:"end"===c?E:S,D=[],T=0;T=0&&S>=0&&k<=g&&E<=f&&x>=B&&k<=P&&S>=F&&E<=z)return D;var H=getComputedStyle(I),N=parseInt(H.borderLeftWidth,10),O=parseInt(H.borderTopWidth,10),V=parseInt(H.borderRightWidth,10),U=parseInt(H.borderBottomWidth,10),M=0,$=0,G="offsetWidth"in I?I.offsetWidth-I.clientWidth-N-V:0,Z="offsetHeight"in I?I.offsetHeight-I.clientHeight-O-U:0;if(h===I)M="start"===s?A:"end"===s?A-g:"nearest"===s?a(y,y+g,g,O,U,y+A,y+A+w,w):A-g/2,$="start"===c?j:"center"===c?j-f/2:"end"===c?j-f:a(v,v+f,f,N,V,v+j,v+j+C,C),M=Math.max(0,M+y),$=Math.max(0,$+v);else{M="start"===s?A-B-O:"end"===s?A-P+U+Z:"nearest"===s?a(B,P,L,O,U+Z,A,A+w,w):A-(B+L/2)+Z/2,$="start"===c?j-F-N:"center"===c?j-(F+R/2)+G/2:"end"===c?j-z+V+G:a(F,z,R,N,V+G,j,j+C,C);var W=I.scrollLeft,K=I.scrollTop;A+=K-(M=Math.max(0,Math.min(K+M,I.scrollHeight-L+Z))),j+=W-($=Math.max(0,Math.min(W+$,I.scrollWidth-R+G)))}D.push({el:I,top:M,left:$})}return D}function c(e){return e===Object(e)&&0!==Object.keys(e).length}r.d(t,{Z:function(){return l}});var l=function(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(c(t)&&"function"===typeof t.behavior)return t.behavior(r?s(e,t):[]);if(r){var o=function(e){return!1===e?{block:"end",inline:"nearest"}:c(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach((function(e){var o=e.el,n=e.top,i=e.left;o.scroll&&r?o.scroll({top:n,left:i,behavior:t}):(o.scrollTop=n,o.scrollLeft=i)}))}(s(e,o),o.behavior)}}},12902:function(e,t,r){"use strict";function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:p(e)?3:0}function c(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,r){var o=s(e);2===o?e.set(t,r):3===o?(e.delete(t),e.add(r)):e[t]=r}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return O&&e instanceof Map}function p(e){return V&&e instanceof Set}function m(e){return e.o||e.t}function f(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=K(e);delete t[G];for(var r=W(t),o=0;o1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function v(){o(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=_[e];return t||o(18,e),t}function w(){return H}function C(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){E(e),e.p.forEach(S),e.p=null}function E(e){e===H&&(H=e.l)}function k(e){return H={p:[],l:H,h:e,m:!0,_:0}}function S(e){var t=e[G];0===t.i||1===t.i?t.j():t.O=!0}function A(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||b("ES5").S(t,e,n),n?(r[G].P&&(x(t),o(4)),i(e)&&(e=j(t,e),t.l||T(t,e)),t.u&&b("Patches").M(r[G].t,e,t.u,t.s)):e=j(t,r,[]),x(t),t.u&&t.v(t.u,t.s),e!==M?e:void 0}function j(e,t,r){if(y(t))return t;var o=t[G];if(!o)return a(t,(function(n,i){return D(e,o,t,n,i,r)}),!0),t;if(o.A!==e)return t;if(!o.P)return T(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=4===o.i||5===o.i?o.o=f(o.k):o.o;a(3===o.i?new Set(n):n,(function(t,i){return D(e,o,n,t,i,r)})),T(e,n,!1),r&&e.u&&b("Patches").R(o,r,e.u,e.s)}return o.o}function D(e,t,r,o,a,s){if(n(a)){var l=j(e,a,s&&t&&3!==t.i&&!c(t.D,o)?s.concat(o):void 0);if(u(r,o,l),!n(l))return;e.m=!1}if(i(a)&&!y(a)){if(!e.h.F&&e._<1)return;j(e,a),t&&t.A.l||T(e,a)}}function T(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&g(t,r)}function I(e,t){var r=e[G];return(r?m(r):e)[t]}function q(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function L(e){e.P||(e.P=!0,e.l&&L(e.l))}function R(e){e.o||(e.o=f(e.t))}function B(e,t,r){var o=h(t)?b("MapSet").N(t,r):p(t)?b("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),o={i:r?1:0,A:t?t.A:w(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},n=o,i=Y;r&&(n=[o],i=J);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return o.k=c,o.j=s,c}(t,r):b("ES5").J(t,r);return(r?r.A:w()).p.push(o),o}function z(e){return n(e)||o(22,e),function e(t){if(!i(t))return t;var r,o=t[G],n=s(t);if(o){if(!o.P&&(o.i<4||!b("ES5").K(o)))return o.t;o.I=!0,r=P(t,n),o.I=!1}else r=P(t,n);return a(r,(function(t,n){o&&l(o.t,t)===n||u(r,t,e(n))})),3===n?new Set(r):r}(e)}function P(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return f(e)}r.d(t,{P2:function(){return te},Uy:function(){return ee},_x:function(){return re},mv:function(){return n}});var F,H,N="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),O="undefined"!=typeof Map,V="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,M=N?Symbol.for("immer-nothing"):((F={})["immer-nothing"]=!0,F),$=N?Symbol.for("immer-draftable"):"__$immer_draftable",G=N?Symbol.for("immer-state"):"__$immer_state",Z=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,K=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},_={},Y={get:function(e,t){if(t===G)return e;var r=m(e);if(!c(r,t))return function(e,t,r){var o,n=q(t,r);return n?"value"in n?n.value:null===(o=n.get)||void 0===o?void 0:o.call(e.k):void 0}(e,r,t);var o=r[t];return e.I||!i(o)?o:o===I(e.t,t)?(R(e),e.o[t]=B(e.A.h,o,e)):o},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,r){var o=q(m(e),t);if(null==o?void 0:o.set)return o.set.call(e.k,r),!0;if(!e.P){var n=I(m(e),t),i=null==n?void 0:n[G];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(d(r,n)&&(void 0!==r||c(e.t,t)))return!0;R(e),L(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==I(e.t,t)||t in e.t?(e.D[t]=!1,R(e),L(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=m(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:o.enumerable,value:r[t]}:o},defineProperty:function(){o(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){o(12)}},J={};a(Y,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,r){return Y.set.call(this,e[0],t,r,e[0])};var Q=function(){function e(e){var t=this;this.g=U,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var o=arguments.length,n=Array(o>1?o-1:0),i=1;i1?o-1:0),i=1;i=0;r--){var o=t[r];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}r>-1&&(t=t.slice(r+1));var i=b("Patches").$;return n(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),X=new Q,ee=X.produce,te=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X),X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X)),re=X.finishDraft.bind(X)},57741:function(e,t,r){"use strict";r.d(t,{wU:function(){return Ct}});var o=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},n=(e,t,r)=>(o(e,t,"read from private field"),r?r.call(e):t.get(e)),i=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},a=(e,t,r,n)=>(o(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),s=(e,t,r)=>(o(e,t,"access private method"),r);async function c(e,t={}){const{local:r=!1,version:o="latest",cdnUrl:n,...i}=t,a=function(e,t,r){let o=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return"function"==typeof r?o=r(e,t):"string"==typeof r&&(o=`${r}/${e}`),o}(e,o,n),s=r?localStorage:sessionStorage,c=`emojibase/${o}/${e}`,l=s.getItem(c);if(l)return Promise.resolve(JSON.parse(l));const u=await fetch(a,{credentials:"omit",mode:"cors",redirect:"error",...i});if(!u.ok)throw new Error("Failed to load Emojibase dataset.");const d=await u.json();try{s.setItem(c,JSON.stringify(d))}catch{}return d}const l={discord:"joypixels",slack:"iamcal"};async function u(e,t,r){var o;return c(`${e}/shortcodes/${null!==(o=l[t])&&void 0!==o?o:t}.json`,r)}function d(e,t){if(0===t.length)return e;const r=new Set(e.shortcodes);return t.forEach((t=>{const o=t[e.hexcode];Array.isArray(o)?o.forEach((e=>r.add(e))):o&&r.add(o)})),e.shortcodes=[...r],e.skins&&e.skins.forEach((e=>{d(e,t)})),e}async function h(e,t={}){const{compact:r=!1,flat:o=!1,shortcodes:n=[],...i}=t,a=await c(`${e}/${r?"compact":"data"}.json`,i);let s=[];return n.length>0&&(s=await Promise.all(n.map((t=>{let r;if(t.includes("/")){const[e,o]=t.split("/");r=u(e,o,i)}else r=u(e,t,i);return r.catch((()=>({})))})))),o?function(e,t=[]){const r=[];return e.forEach((e=>{if(e.skins){const{skins:o,...n}=e;r.push(d(n,t)),o.forEach((e=>{const o={...e};n.tags&&(o.tags=[...n.tags]),r.push(d(o,t))}))}else r.push(d(e,t))})),r}(a,s):function(e,t){return 0===t.length||e.forEach((e=>{d(e,t)})),e}(a,s)}async function p(e,t){return c(`${e}/messages.json`,t)}function m(e,t){const r=e.target.closest("[data-emoji]");if(r){const e=t.find((e=>e.emoji===r.dataset.emoji));if(e)return e}return null}function f(e){var t;const r=null==(t=window.matchMedia)?void 0:t.call(window,"(prefers-reduced-motion: reduce)");return e.animate&&!(null!=r&&r.matches)}function g(e,t){return e.toLowerCase().includes(t.toLowerCase())}function v(e,t,r,o){if(f(o)&&e.animate)return e.animate(t,r).finished;const n="normal"===r.direction?1:0,i=Object.entries(t).reduce(((e,[t,r])=>({...e,[t]:r[n]})),{});return Object.assign(e.style,i),Promise.resolve()}function y(e){var t;const r=document.createElement("template");return r.innerHTML=e,null==(t=r.content)?void 0:t.firstElementChild}function b(...e){return e.reduce(((e,t)=>({...e,[t]:w(t)})),{})}function w(e){return`${e}`}async function C(e){try{return(await fetch(e,{method:"HEAD"})).headers.get("etag")}catch{return null}}async function x(e,t,r){const o=r||t(e);return await o.open(),o}async function E(e,t,r){const o=await x(e,t,r),[n,i]=await function(e){const{emojisUrl:t,messagesUrl:r}=function(e,t){const r=`https://cdn.jsdelivr.net/npm/emojibase-data@${"latest"}/${t}`;return{emojisUrl:`${r}/data.json`,messagesUrl:`${r}/messages.json`}}(0,e);try{return Promise.all([C(t),C(r)])}catch{return Promise.all([null,null])}}(e);if(await o.isPopulated())n&&i&&await async function(e,t,r){let o;try{o=await e.getEtags()}catch{o={}}const{storedEmojisEtag:n,storedMessagesEtag:i}=o;if(r!==i||t!==n){const[o,n]=await Promise.all([p(e.locale),h(e.locale)]);await e.populate({groups:o.groups,emojis:n,emojisEtag:t,messagesEtag:r})}}(o,n,i);else{const[t,r]=await Promise.all([p(e),h(e)]);await o.populate({groups:t.groups,emojis:r,emojisEtag:n,messagesEtag:i})}return o}async function k(e,t,r,o,n){const i=await x(e,t,n),a=await async function(e){const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")}(o);return(!(await i.isPopulated())||await async function(e,t){return t!==await e.getHash()}(i,a))&&await i.populate({groups:r.groups,emojis:o,hash:a}),i}async function S(e,t,r,o,n){return r&&o?k(e,t,r,o,n):E(e,t,n)}class A{constructor(){this.handleKeyDown=this.handleKeyDown.bind(this)}activate(e){this.rootElement=e,this.rootElement.addEventListener("keydown",this.handleKeyDown)}deactivate(){var e;null==(e=this.rootElement)||e.removeEventListener("keydown",this.handleKeyDown)}get focusableElements(){return this.rootElement.querySelectorAll('input, [tabindex="0"]')}get lastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}get firstFocusableElement(){return this.focusableElements[0]}checkFocus(e,t,r){e.target===t&&(r.focus(),e.preventDefault())}handleKeyDown(e){"Tab"===e.key&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}}const{light:j,dark:D,auto:T}=b("light","dark","auto");class I{constructor({template:e,classes:t,parent:r}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=t,this.parent=r,this.keyBindingHandler=this.keyBindingHandler.bind(this)}initialize(){this.bindAppEvents()}setCustomEmojis(e){this.customEmojis=e}setEvents(e){this.events=e}setPickerId(e){this.pickerId=e}emit(e,...t){this.events.emit(e,...t)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then((e=>{this.emojiData=e}))}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId,...e}),this.postRender(),this.el}async render(e={}){return await this.emojiDataPromise,this.el=await this.template.renderAsync({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId,...e}),this.postRender(),this.el}postRender(){this.bindUIElements(),this.bindKeyBindings(),this.bindUIEvents(),this.scheduleShowAnimation()}bindAppEvents(){Object.keys(this.appEvents).forEach((e=>{this.events.on(e,this.appEvents[e],this)})),this.events.on("data:ready",this.updateEmojiData,this)}unbindAppEvents(){Object.keys(this.appEvents).forEach((e=>{this.events.off(e,this.appEvents[e])})),this.events.off("data:ready",this.updateEmojiData)}keyBindingHandler(e){const t=this.keyBindings[e.key];t&&t.call(this,e)}bindKeyBindings(){this.keyBindings&&this.el.addEventListener("keydown",this.keyBindingHandler)}unbindKeyBindings(){this.keyBindings&&this.el.removeEventListener("keydown",this.keyBindingHandler)}bindUIElements(){this.ui=Object.keys(this.uiElements).reduce(((e,t)=>({...e,[t]:this.el.querySelector(this.uiElements[t])})),{})}bindUIEvents(){this.uiEvents.forEach((e=>{e.handler=e.handler.bind(this),(e.target?this.ui[e.target]:this.el).addEventListener(e.event,e.handler,e.options)}))}unbindUIEvents(){this.uiEvents.forEach((e=>{(e.target?this.ui[e.target]:this.el).removeEventListener(e.event,e.handler)}))}destroy(){this.unbindAppEvents(),this.unbindUIEvents(),this.unbindKeyBindings(),this.el.remove(),this.isDestroyed=!0}scheduleShowAnimation(){if(this.parent){const e=new MutationObserver((t=>{const[r]=t;"childList"===r.type&&r.addedNodes[0]===this.el&&(f(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)}));e.observe(this.parent,{childList:!0})}}static childEvent(e,t,r,o={}){return{target:e,event:t,handler:r,options:o}}static uiEvent(e,t,r={}){return{event:e,handler:t,options:r}}static byClass(e){return`.${e}`}}const q={clock:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',flag:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',frown:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',gamepad:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',lightbulb:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',mug:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',plane:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',robot:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',sad:'\n \n \n \n \n \n \n \x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e\n \n \n \n \n \n',search:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',smiley:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',symbols:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',tree:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',users:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',warning:'\n \n \n \n \n \n \n \x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e\n \n',xmark:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e'},L={recents:"clock","smileys-emotion":"smiley","people-body":"users","animals-nature":"tree","food-drink":"mug",activities:"gamepad","travel-places":"plane",objects:"lightbulb",symbols:"symbols",flags:"flag",custom:"robot"};function R(e,t){if(!(e in q))return console.warn(`Unknown icon: "${e}"`),document.createElement("div");const r=function(e,t){const r=y(t);return r.dataset.icon=e,r.classList.add(w("icon")),r}(e,q[e]);return t&&r.classList.add(w(`icon-${t}`)),r}const B="sync";var z,P,F,H,N,O,V,U;class M{constructor(e,t={}){i(this,F),i(this,N),i(this,V),i(this,z,void 0),i(this,P,void 0),a(this,z,e),a(this,P,t.mode||B)}renderSync(e={}){const t=y(n(this,z).call(this,e));return s(this,V,U).call(this,t,e),s(this,N,O).call(this,t),s(this,F,H).call(this,t,e),t}async renderAsync(e={}){const t=y(n(this,z).call(this,e));return s(this,V,U).call(this,t,e),s(this,N,O).call(this,t),await s(this,F,H).call(this,t,e),t}render(e){return"sync"===n(this,P)?this.renderSync(e):this.renderAsync(e)}}z=new WeakMap,P=new WeakMap,F=new WeakSet,H=async function(e,t){const r=e.querySelectorAll("[data-view]"),o=[];for(const n of r){const e=t[n.dataset.view];e?"sync"!==n.dataset.render?o.push(e.render().then((e=>(n.replaceWith(e),e)))):n.replaceWith(e.renderSync()):n.remove()}return Promise.all(o)},N=new WeakSet,O=function(e){e.querySelectorAll("i[data-icon]").forEach((e=>{const{icon:t,size:r}=e.dataset;e.replaceWith(R(t,r))}))},V=new WeakSet,U=function(e,t){return e.querySelectorAll("[data-placeholder]").forEach((e=>{const r=e.dataset.placeholder;if(r&&t[r]){const o=t[r];e.replaceWith(...[o].flat())}else console.warn(`Missing placeholder element for key "${r}"`)})),e};const $=b("imagePlaceholder","placeholder"),G=new M((({classes:e})=>`\n
      \n`));class Z extends I{constructor({classNames:e}={}){super({template:G,classes:$}),this.classNames=e}load(e){const t=document.createElement("img");this.classNames&&(t.className=this.classNames),t.addEventListener("load",(()=>{this.el.replaceWith(t)}),{once:!0}),Promise.resolve(e).then((e=>t.src=e))}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach((e=>this.el.classList.add(e))),this.el}}const W=b("customEmoji");const K=new M((({emoji:e})=>`${e}`));class _ extends class{renderElement(e){return{content:e}}renderImage(e="",t){const r=new Z({classNames:e});return r.renderSync(),{content:r,resolver:()=>(r.load(t()),r.el)}}doRender(e,t,r){if(e.custom)return this.renderCustom(e,t,r);const{content:o,resolver:n}=this.render(e,r),i=o instanceof Element?o:o.el;return n&&n(),i}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:t,emoji:r,data:o}){return{url:e,label:t,emoji:r,data:o}}renderCustom(e,t,r=""){const o=[W.customEmoji,r].join(" ").trim(),{content:n,resolver:i}=this.renderImage(o,(()=>e.url)),a=n instanceof Element?n:n.el;return i&&i(),a}}{render(e){return this.renderElement(K.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:t,label:r}){return{emoji:e,hexcode:t,label:r}}}const Y=[(e,t)=>("1F91D"===e.hexcode&&t<14&&(e.skins=[]),e),(e,t)=>(e.skins&&(e.skins=e.skins.filter((e=>!e.version||e.version<=t))),e)];function J(e,t){return e.filter((e=>null!==function(e,t){return Y.some((r=>null===r(e,t)))?null:e}(e,t)))}function Q(e){var t;return{emoji:e.emoji,label:e.label,tags:e.tags,skins:null==(t=e.skins)?void 0:t.map((e=>Q(e))),order:e.order,custom:!1,hexcode:e.hexcode,version:e.version}}function X(e,t,r){var o;return!(r&&!r.some((t=>t.order===e.group)))&&(g(e.label,t)||(null==(o=e.tags)?void 0:o.some((e=>g(e,t)))))}class ee{constructor(e="en"){this.locale=e}}const te="PicMo";function re(e){return new oe(e)}re.deleteDatabase=e=>new Promise(((t,r)=>{const o=indexedDB.deleteDatabase(`${te}-${e}`);o.addEventListener("success",t),o.addEventListener("error",r)}));class oe extends ee{async open(){const e=indexedDB.open(`${te}-${this.locale}`);return new Promise(((t,r)=>{e.addEventListener("success",(e=>{var r;this.db=null==(r=e.target)?void 0:r.result,t()})),e.addEventListener("error",r),e.addEventListener("upgradeneeded",(async e=>{var t;this.db=null==(t=e.target)?void 0:t.result,this.db.createObjectStore("category",{keyPath:"order"});const r=this.db.createObjectStore("emoji",{keyPath:"emoji"});r.createIndex("category","group"),r.createIndex("version","version"),this.db.createObjectStore("meta")}))}))}async delete(){this.close();const e=indexedDB.deleteDatabase(`${te}-${this.locale}`);await this.waitForRequest(e)}close(){this.db.close()}async getEmojiCount(){const e=this.db.transaction("emoji","readonly").objectStore("emoji");return(await this.waitForRequest(e.count())).target.result}async getEtags(){const e=this.db.transaction("meta","readonly").objectStore("meta"),[t,r]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:t.target.result,storedMessagesEtag:r.target.result}}async setMeta(e){const t=this.db.transaction("meta","readwrite"),r=t.objectStore("meta");return new Promise((o=>{t.oncomplete=o,Object.keys(e).filter(Boolean).forEach((t=>{r.put(e[t],t)}))}))}async getHash(){const e=this.db.transaction("meta","readonly").objectStore("meta");return(await this.waitForRequest(e.get("hash"))).target.result}async isPopulated(){const e=this.db.transaction("category","readonly").objectStore("category");return(await this.waitForRequest(e.count())).target.result>0}async populate({groups:e,emojis:t,emojisEtag:r,messagesEtag:o,hash:n}){await this.removeAllObjects("category","emoji");const i=[this.addObjects("category",e),this.addObjects("emoji",t),this.setMeta({emojisEtag:r,messagesEtag:o,hash:n})];await Promise.all(i)}async getCategories(e){var t;const r=this.db.transaction("category","readonly").objectStore("category");let o=(await this.waitForRequest(r.getAll())).target.result.filter((e=>"component"!==e.key));if(e.showRecents&&o.unshift({key:"recents",order:-1}),null!=(t=e.custom)&&t.length&&o.push({key:"custom",order:10}),e.categories){const t=e.categories;o=o.filter((e=>t.includes(e.key))),o.sort(((e,r)=>t.indexOf(e.key)-t.indexOf(r.key)))}else o.sort(((e,t)=>e.order-t.order));return o}async getEmojis(e,t){const r=this.db.transaction("emoji","readonly").objectStore("emoji").index("category");return J((await this.waitForRequest(r.getAll(e.order))).target.result.filter((e=>e.version<=t)).sort(((e,t)=>null!=e.order&&null!=t.order?e.order-t.order:0)).map(Q),t)}async searchEmojis(e,t,r,o){const n=[];return new Promise(((i,a)=>{const s=this.db.transaction("emoji","readonly").objectStore("emoji").openCursor();s.addEventListener("success",(a=>{var s;const c=null==(s=a.target)?void 0:s.result;if(!c)return i([...J(n,r),...t.filter((t=>X(t,e)))]);const l=c.value;X(l,e,o)&&l.version<=r&&n.push(Q(l)),c.continue()})),s.addEventListener("error",(e=>{a(e)}))}))}async waitForRequest(e){return new Promise(((t,r)=>{e.onsuccess=t,e.onerror=r}))}withTransaction(e,t="readwrite",r){return new Promise(((o,n)=>{const i=this.db.transaction(e,t);i.oncomplete=o,i.onerror=n,r(i)}))}async removeAllObjects(...e){const t=this.db.transaction(e,"readwrite"),r=e.map((e=>t.objectStore(e)));await Promise.all(r.map((e=>this.waitForRequest(e.clear()))))}async addObjects(e,t){return this.withTransaction(e,"readwrite",(r=>{const o=r.objectStore(e);t.forEach((e=>{o.add(e)}))}))}}const ne="PicMo:recents";class ie extends class{}{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(ne)}getRecents(e){var t;try{return JSON.parse(null!=(t=this.storage.getItem(ne))?t:"[]").slice(0,e)}catch{return[]}}addOrUpdateRecent(e,t){const r=[e,...this.getRecents(t).filter((t=>t.hexcode!==e.hexcode))].slice(0,t);try{this.storage.setItem(ne,JSON.stringify(r))}catch{console.warn("storage is not available, recent emojis will not be saved")}}}class ae extends ie{constructor(){super(localStorage)}}const se={dataStore:re,theme:j,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:{"categories.activities":"Activities","categories.animals-nature":"Animals & Nature","categories.custom":"Custom","categories.flags":"Flags","categories.food-drink":"Food & Drink","categories.objects":"Objects","categories.people-body":"People & Body","categories.recents":"Recently Used","categories.smileys-emotion":"Smileys & Emotion","categories.symbols":"Symbols","categories.travel-places":"Travel & Places","error.load":"Failed to load emojis","recents.clear":"Clear recent emojis","recents.none":"You haven't selected any emojis yet.",retry:"Try again","search.clear":"Clear search","search.error":"Failed to search emojis","search.notFound":"No results found",search:"Search emojis..."},locale:"en",maxRecents:50,custom:[]};var ce,le,ue,de,he;class pe{constructor(){i(this,le),i(this,de),i(this,ce,new Map)}on(e,t,r){s(this,de,he).call(this,e,t,r)}once(e,t,r){s(this,de,he).call(this,e,t,r,!0)}off(e,t){const r=s(this,le,ue).call(this,e);n(this,ce).set(e,r.filter((e=>e.handler!==t)))}emit(e,...t){s(this,le,ue).call(this,e).forEach((r=>{r.handler.apply(r.context,t),r.once&&this.off(e,r.handler)}))}removeAll(){n(this,ce).clear()}}ce=new WeakMap,le=new WeakSet,ue=function(e){return n(this,ce).has(e)||n(this,ce).set(e,[]),n(this,ce).get(e)},de=new WeakSet,he=function(e,t,r,o=!1){s(this,le,ue).call(this,e).push({context:r,handler:t,once:o})};const me=!0;class fe extends pe{}class ge extends pe{}const ve=b("emojiCategory","categoryName","noRecents","recentEmojis");class ye extends I{constructor({template:e,category:t,showVariants:r,lazyLoader:o}){super({template:e,classes:ve}),this.baseUIElements={categoryName:I.byClass(ve.categoryName)},this.category=t,this.showVariants=r,this.lazyLoader=o}setActive(e,t,r){this.emojiContainer.setActive(e,t,r)}}const be=new M((({classes:e,emoji:t})=>`\n \n
      \n \n`)),we=b("emojiButton");class Ce extends I{constructor({emoji:e,lazyLoader:t,category:r}){super({template:be,classes:we}),this.emoji=e,this.lazyLoader=t,this.category=r}initialize(){this.uiEvents=[I.uiEvent("focus",this.handleFocus)],super.initialize()}handleFocus(){this.category&&this.events.emit("focus:change",this.category)}activateFocus(e){this.el.tabIndex=0,e&&this.el.focus()}deactivateFocus(){this.el.tabIndex=-1}renderSync(){return super.renderSync({emoji:this.emoji,emojiContent:this.renderer.doRender(this.emoji,this.lazyLoader)})}}class xe{constructor(e,t,r=0,o=0,n=!1){this.events=new pe,this.keyHandlers={ArrowLeft:this.focusPrevious.bind(this),ArrowRight:this.focusNext.bind(this),ArrowUp:this.focusUp.bind(this),ArrowDown:this.focusDown.bind(this)},this.rowCount=Math.ceil(t/e),this.columnCount=e,this.focusedRow=r,this.focusedColumn=o,this.emojiCount=t,this.wrap=n,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,t){this.events.on(e,t)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,t,r=!0){const o=this.getIndex();this.focusedRow=e,void 0!==t&&(this.focusedColumn=Math.min(this.columnCount,t)),(this.focusedRow>=this.rowCount||this.getIndex()>=this.emojiCount)&&(this.focusedRow=this.rowCount-1,this.focusedColumn=this.emojiCount%this.columnCount-1),this.events.emit("focus:change",{from:o,to:this.getIndex(),performFocus:r})}setFocusedIndex(e,t=!0){const r=Math.floor(e/this.columnCount),o=e%this.columnCount;this.setCell(r,o,t)}focusNext(){this.focusedColumn0?this.setCell(this.focusedRow,this.focusedColumn-1):this.focusedRow>0?this.setCell(this.focusedRow-1,this.columnCount-1):this.wrap?this.setCell(this.rowCount-1,this.columnCount-1):this.events.emit("focus:underflow",this.columnCount-1)}focusUp(){this.focusedRow>0?this.setCell(this.focusedRow-1,this.focusedColumn):this.events.emit("focus:underflow",this.focusedColumn)}focusDown(){this.focusedRow`\n
      \n
      \n
      \n`)),ke=b("emojiContainer");class Se extends I{constructor({emojis:e,showVariants:t,preview:r=!0,lazyLoader:o,category:n,fullHeight:i=!1}){super({template:Ee,classes:ke}),this.fullHeight=!1,this.showVariants=t,this.lazyLoader=o,this.preview=r,this.emojis=e,this.category=n,this.fullHeight=i,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new xe(this.options.emojisPerRow,this.emojiCount,0,0,!this.category),this.grid.on("focus:change",this.setFocus),this.grid.on("focus:overflow",this.triggerNextCategory),this.grid.on("focus:underflow",this.triggerPreviousCategory),this.uiEvents=[I.uiEvent("click",this.selectEmoji),I.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(I.uiEvent("mouseover",this.showPreview),I.uiEvent("mouseout",this.hidePreview),I.uiEvent("focus",this.showPreview,{capture:!0}),I.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,t){if(e)if("string"==typeof e){const t=this.emojis.findIndex((t=>t.emoji===e));this.grid.setFocusedIndex(t,!1),setTimeout((()=>{var e,r,o,n;const i=this.emojiViews[t].el;i.scrollIntoView();const a=null==(e=i.parentElement)?void 0:e.previousElementSibling;(null==(o=null==(r=i.parentElement)?void 0:r.parentElement)?void 0:o.parentElement).scrollTop-=null!=(n=null==a?void 0:a.offsetHeight)?n:0}))}else"first"===e.row||0===e.row?this.grid.setCell(0,e.offset,t):"last"===e.row&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,t)}setActive(e,t,r){var o;e?this.setFocusedView(t,r):null==(o=this.emojiViews[this.grid.getIndex()])||o.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map((e=>this.viewFactory.create(Ce,{emoji:e,category:this.category,lazyLoader:this.lazyLoader,renderer:this.renderer}))),this.emojiElements=this.emojiViews.map((e=>e.renderSync())),super.renderSync({emojis:this.emojiElements,i18n:this.i18n})}destroy(){super.destroy(),this.emojiViews.forEach((e=>e.destroy())),this.grid.destroy()}triggerPreviousCategory(e){this.events.emit("category:previous",e)}triggerNextCategory(e){this.category&&this.events.emit("category:next",e)}setFocus({from:e,to:t,performFocus:r}){var o,n;null==(o=this.emojiViews[e])||o.deactivateFocus(),null==(n=this.emojiViews[t])||n.activateFocus(r)}selectEmoji(e){e.stopPropagation();const t=m(e,this.emojis);t&&this.events.emit("emoji:select",{emoji:t,showVariants:this.showVariants})}showPreview(e){const t=e.target.closest("button"),r=null==t?void 0:t.firstElementChild,o=m(e,this.emojis);o&&this.events.emit("preview:show",o,null==r?void 0:r.cloneNode(!0))}hidePreview(e){m(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}}const Ae=new M((({classes:e,category:t,pickerId:r,icon:o,i18n:n})=>`\n
      \n

      \n \n ${n.get(`categories.${t.key}`,t.message||t.key)}\n

      \n
      \n
      \n`));class je extends ye{constructor({category:e,showVariants:t,lazyLoader:r,emojiVersion:o}){super({category:e,showVariants:t,lazyLoader:r,template:Ae}),this.showVariants=t,this.lazyLoader=r,this.emojiVersion=o}initialize(){this.uiElements={...this.baseUIElements},super.initialize()}async render(){await this.emojiDataPromise;const e=await this.emojiData.getEmojis(this.category,this.emojiVersion);return this.emojiContainer=this.viewFactory.create(Se,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:L[this.category.key]})}}class De extends Se{constructor({category:e,emojis:t,preview:r=!0,lazyLoader:o}){super({category:e,emojis:t,showVariants:!1,preview:r,lazyLoader:o})}async addOrUpdate(e){const t=this.el.querySelector(`[data-emoji="${e.emoji}"]`);t&&(this.el.removeChild(t),this.emojis=this.emojis.filter((t=>t!==e)));const r=this.viewFactory.create(Ce,{emoji:e});if(this.el.insertBefore(r.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter((t=>t!==e))],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);const e=this.el.childElementCount-this.options.maxRecents;for(let t=0;t`\n
      \n

      \n \n ${i.get(`categories.${r.key}`,r.message||r.key)}\n

      \n
      \n
      \n
      \n
      \n ${i.get("recents.none")}\n
      \n
      \n`),{mode:"async"});const Ie=new M((({classes:e,category:t,pickerId:r,icon:o,i18n:n})=>`\n
      \n

      \n \n ${n.get(`categories.${t.key}`,t.message||t.key)}\n

      \n
      \n
      \n`));class qe{constructor(){this.elements=new Map}lazyLoad(e,t){return this.elements.set(e,t),e}observe(e){if(window.IntersectionObserver){const t=new IntersectionObserver((e=>{e.filter((e=>e.intersectionRatio>0)).map((e=>e.target)).forEach((e=>{const r=this.elements.get(e);null==r||r(),t.unobserve(e)}))}),{root:e});this.elements.forEach(((e,r)=>{t.observe(r)}))}else this.elements.forEach((e=>{e()}))}}const Le=b("emojiArea"),Re=new M((({classes:e})=>`\n
      \n
      \n
      \n`),{mode:"async"}),Be={recents:class extends ye{constructor({category:e,lazyLoader:t,provider:r}){super({category:e,showVariants:!1,lazyLoader:t,template:Te}),this.provider=r}initialize(){this.uiElements={...this.baseUIElements,recents:I.byClass(ve.recentEmojis)},this.appEvents={"recent:add":this.addRecent},super.initialize()}async addRecent(e){await this.emojiContainer.addOrUpdate(e),this.ui.recents.dataset.empty="false"}async render(){var e;const t=null==(e=this.provider)?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(De,{emojis:t,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:t.length,icon:L[this.category.key]}),this.el}},custom:class extends ye{constructor({category:e,lazyLoader:t}){super({template:Ie,showVariants:!1,lazyLoader:t,category:e})}initialize(){this.uiElements={...this.baseUIElements},super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(Se,{emojis:this.customEmojis,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:this.customEmojis.length,icon:L[this.category.key]})}}};class ze extends I{constructor({categoryTabs:e,categories:t,emojiVersion:r}){super({template:Re,classes:Le}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new qe,this.categoryTabs=e,this.categories=t,this.emojiVersion=r,this.handleScroll=function(e,t){let r=null;return()=>{r||(r=window.setTimeout((()=>{e(),r=null}),t))}}(this.handleScroll.bind(this),100)}initialize(){this.appEvents={"category:select":this.handleCategorySelect,"category:previous":this.focusPreviousCategory,"category:next":this.focusNextCategory,"focus:change":this.updateFocusedCategory},this.uiElements={emojis:I.byClass(Le.emojiArea)},this.uiEvents=[I.uiEvent("scroll",this.handleScroll)],super.initialize()}get focusableEmoji(){return this.el.querySelector('[tabindex="0"]')}async render(){this.emojiCategories=this.categories.map(this.createCategory,this);const e={};return this.categories.forEach(((t,r)=>{e[`emojis-${t.key}`]=this.emojiCategories[r]})),await super.render({emojis:await Promise.all(this.emojiCategories.map((e=>e.render())))}),this.lazyLoader.observe(this.el),window.ResizeObserver&&(this.observer=new ResizeObserver((()=>{const e=this.el.scrollHeight-this.scrollHeight;this.el.scrollTop-this.scrollTop===0&&e>0&&(this.el.scrollTop+=e),this.scrollHeight=this.el.scrollHeight,this.scrollTop=this.el.scrollTop})),this.emojiCategories.forEach((e=>{this.observer.observe(e.el)}))),this.el}destroy(){super.destroy(),this.emojiCategories.forEach((e=>{var t;null==(t=this.observer)||t.unobserve(e.el),e.destroy()}))}handleCategorySelect(e,t){this.selectCategory(e,t)}createCategory(e){const t=Be[e.key]||je;return this.viewFactory.create(t,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find((e=>e.key===this.options.initialCategory))?this.options.initialCategory:null==(e=this.categories.find((e=>"recents"!==e.key)))?void 0:e.key}determineFocusTarget(e){const t=this.emojiCategories.find((t=>t.category.key===e));return this.options.initialEmoji&&(null==t?void 0:t.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide");const t=this.determineInitialCategory();t&&(this.selectCategory(t,{focus:this.determineFocusTarget(t),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(t))}getCategoryIndex(e){return this.categories.findIndex((t=>t.key===e))}focusPreviousCategory(e){this.selectedCategory>0&&this.focusCategory(this.selectedCategory-1,{row:"last",offset:null!=e?e:this.options.emojisPerRow})}focusNextCategory(e){this.selectedCategory{var o;return e<(null==(o=this.emojiCategories[r+1])?void 0:o.el.offsetTop)})),o={changeFocusable:!1,performFocus:!1,scroll:!1};0===e?this.categoryTabs.setActiveTab(0,o):Math.floor(e)===Math.floor(t)||r<0?this.categoryTabs.setActiveTab(this.categories.length-1,o):this.categoryTabs.setActiveTab(r,o)}}const Pe=new M((({classList:e,classes:t,icon:r,message:o})=>`\n\n`)),Fe=b("error","iconContainer","title");class He extends I{constructor({message:e,icon:t="warning",template:r=Pe,className:o}){super({template:r,classes:Fe}),this.message=e,this.icon=t,this.className=o}renderSync(){const e=[Fe.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}}const Ne=new M((({classList:e,classes:t,icon:r,i18n:o,message:n})=>`\n \n`)),Oe=b("dataError");class Ve extends He{constructor({message:e}){super({message:e,template:Ne,className:Oe.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[I.childEvent("retryButton","click",this.onRetry)],super.initialize()}async onRetry(){this.emojiData?await this.emojiData.delete():await this.options.dataStore.deleteDatabase(this.options.locale),this.events.emit("reinitialize");const e=await S(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}}const Ue=b("preview","previewEmoji","previewName","tagList","tag"),Me=new M((({classes:e,tag:t})=>`\n
    • ${t}
    • \n`)),$e=new M((({classes:e})=>`\n
      \n
      \n
      \n
        \n
        \n`));class Ge extends I{constructor(){super({template:$e,classes:Ue})}initialize(){this.uiElements={emoji:I.byClass(Ue.previewEmoji),name:I.byClass(Ue.previewName),tagList:I.byClass(Ue.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,t){if(this.ui.emoji.replaceChildren(t),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";const t=e.tags.map((e=>Me.renderSync({tag:e,classes:Ue})));this.ui.tagList.replaceChildren(...t)}}hidePreview(){this.ui.emoji.replaceChildren(),this.ui.name.textContent="",this.ui.tagList.replaceChildren()}}const Ze=new M((({classes:e,i18n:t})=>`\n \n`)),We=new M((({classes:e,i18n:t})=>`\n
        \n \n \n
        \n`),{mode:"async"}),Ke=b("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound");class _e extends I{constructor({categories:e,emojiVersion:t}){super({template:We,classes:Ke}),this.categories=e.filter((e=>"recents"!==e.key)),this.emojiVersion=t,this.search=function(e,t){let r=null;return(...o)=>{r&&window.clearTimeout(r),r=window.setTimeout((()=>{e(...o),r=null}),t)}}(this.search.bind(this),100)}initialize(){this.uiElements={searchField:I.byClass(Ke.searchField),searchAccessory:I.byClass(Ke.searchAccessory)},this.uiEvents=[I.childEvent("searchField","keydown",this.onKeyDown),I.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=R("search"),this.notFoundMessage=this.viewFactory.create(He,{message:this.i18n.get("search.notFound"),className:Ke.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(He,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=Ze.render({classes:Ke,i18n:this.i18n}),this.clearSearchButton.addEventListener("click",(e=>this.onClearSearch(e))),this.searchField=this.ui.searchField,this.showSearchIcon(),this.el}showSearchIcon(){this.showSearchAccessory(this.searchIcon)}showClearSearchButton(){this.showSearchAccessory(this.clearSearchButton)}showSearchAccessory(e){this.ui.searchAccessory.replaceChildren(e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var t;e.stopPropagation(),this.searchField.value="",null==(t=this.resultsContainer)||t.destroy(),this.resultsContainer=null,this.showSearchIcon(),this.events.emit("content:show"),this.searchField.focus()}handleResultsKeydown(e){this.resultsContainer&&"Escape"===e.key&&this.onClearSearch(e)}onKeyDown(e){var t;"Escape"===e.key&&this.searchField.value?this.onClearSearch(e):("Enter"===e.key||"ArrowDown"===e.key)&&this.resultsContainer&&(e.preventDefault(),null==(t=this.resultsContainer.el.querySelector('[tabindex="0"]'))||t.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{const t=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),t.length){const r=new qe;this.resultsContainer=this.viewFactory.create(Se,{emojis:t,fullHeight:!0,showVariants:!0,lazyLoader:r}),this.resultsContainer.renderSync(),null!=(e=this.resultsContainer)&&e.el&&(r.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",(e=>this.handleResultsKeydown(e))),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch{this.events.emit("content:show",this.errorMessage)}}}const Ye=new M((({classes:e})=>`\n
        \n
        \n
        \n
        \n
        \n`)),Je=b("variantOverlay","variantPopup"),Qe={easing:"ease-in-out",duration:250,fill:"both"},Xe={opacity:[0,1]},et={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]};class tt extends I{constructor({emoji:e,parent:t}){super({template:Ye,classes:Je,parent:t}),this.focusedEmojiIndex=0,this.focusTrap=new A,this.animateShow=()=>Promise.all([v(this.el,Xe,Qe,this.options),v(this.ui.popup,et,Qe,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:I.byClass(Je.variantPopup)},this.uiEvents=[I.uiEvent("click",this.handleClick),I.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){const e={...Qe,direction:"reverse"};return Promise.all([v(this.el,Xe,e,this.options),v(this.ui.popup,et,e,this.options)])}async hide(){await this.animateHide(),this.events.emit("variantPopup:hide")}handleKeydown(e){"Escape"===e.key&&(this.hide(),e.stopPropagation())}handleClick(e){this.ui.popup.contains(e.target)||this.hide()}getEmoji(e){return this.renderedEmojis[e]}setFocusedEmoji(e){this.getEmoji(this.focusedEmojiIndex).tabIndex=-1,this.focusedEmojiIndex=e;const t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=0,t.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){const e=[{...this.emoji,skins:null},...(this.emoji.skins||[]).map((e=>({...e,label:this.emoji.label,tags:this.emoji.tags})))];return this.emojiContainer=this.viewFactory.create(Se,{emojis:e,preview:!1}),super.renderSync({emojis:this.emojiContainer}),e.length`\n
      • \n \n \n
      • \n`)),ot=b("categoryTab","categoryTabActive","categoryButton");class nt extends I{constructor({category:e,icon:t}){super({template:rt,classes:ot}),this.isActive=!1,this.category=e,this.icon=t}initialize(){this.uiElements={button:I.byClass(ot.categoryButton)},this.uiEvents=[I.childEvent("button","click",this.selectCategory),I.childEvent("button","focus",this.selectCategory)],super.initialize()}renderSync(){return super.renderSync({category:this.category,icon:this.icon}),this.ui.button.ariaSelected="false",this.el}setActive(e,t={}){const{changeFocusable:r,performFocus:o,scroll:n}={changeFocusable:!0,performFocus:!0,scroll:!0,...t};this.el.classList.toggle(ot.categoryTabActive,e),r&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&o&&(this.ui.button.focus(),n&&this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!1})),this.isActive=e}selectCategory(){this.isActive||this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!0})}}const it=new M((({classes:e})=>`\n
        \n
          \n
          \n
        \n
        \n`)),at=b("categoryButtons","categoryButtonsContainer");class st extends I{constructor({categories:e}){super({template:it,classes:at}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[I.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){const e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,t=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",t&&e?this.el.classList.add("has-overflow-both"):t?this.el.classList.add("has-overflow-left"):e&&this.el.classList.add("has-overflow-right")}renderSync(){return this.tabViews=this.categories.map((e=>this.viewFactory.create(nt,{category:e,icon:L[e.key]}))),super.renderSync({tabs:this.tabViews.map((e=>e.renderSync()))}),this.el}get currentCategory(){return this.categories[this.activeCategoryIndex]}get currentTabView(){return this.tabViews[this.activeCategoryIndex]}setActiveTab(e,t={}){this.checkOverflow();const r=this.currentTabView,o=this.tabViews[e];r.setActive(!1,t),o.setActive(!0,t),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{const t=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(t),{changeFocusable:!0,performFocus:!0})}}}const ct=[{version:15,emoji:String.fromCodePoint(129768)},{version:14,emoji:String.fromCodePoint(128733)},{version:13,emoji:String.fromCodePoint(129729)},{version:12,emoji:String.fromCodePoint(129449)},{version:11,emoji:String.fromCodePoint(129463)},{version:5,emoji:String.fromCodePoint(129322)},{version:4,emoji:String.fromCodePoint(9877)},{version:3,emoji:String.fromCodePoint(129314)},{version:2,emoji:String.fromCodePoint(128488)},{version:1,emoji:String.fromCodePoint(128512)}];function lt(){var e;const t=ct.find((e=>function(e){const t=document.createElement("canvas").getContext("2d");if(t)return t.textBaseline="top",t.font="32px Arial",t.fillText(e,0,0),0!==t.getImageData(16,16,1,1).data[0]}(e.emoji)));return null!=(e=null==t?void 0:t.version)?e:1}function ut(e,t){return Array.from({length:e},(()=>t)).join("")}function dt(e){const{emojiCount:t,classes:r,theme:o,className:n,categoryCount:i}=e;return`\n
        \n ${(({showHeader:t,classes:r})=>t?`\n
        \n ${(({showSearch:e,classes:t})=>e?`\n
        \n
        \n
        \n `:"")(e)}\n ${(({showCategoryTabs:e,classes:t})=>e?`\n
        \n ${ut(i,`
        `)}\n
        \n `:"")(e)}\n
        \n `:"")(e)}\n
        \n
        \n
        \n ${ut(t,`
        `)}\n
        \n
        \n ${(({showPreview:e,classes:t})=>e?`\n
        \n
        \n
        \n
          \n ${ut(3,`
        • `)}\n
        \n
        \n `:"")(e)}\n
        \n `}const ht=new M((e=>e.isLoaded?function(e){const{classes:t,theme:r,className:o=""}=e;return`\n
        \n ${function({showHeader:e,classes:t}){return e?`\n
        \n
        \n
        \n
        \n `:""}(e)}\n
        \n
        \n
        \n
        \n
        \n `}(e):dt(e))),pt=b("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),mt={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"};class ft extends I{constructor(){super({template:ht,classes:pt}),this.pickerReady=!1,this.externalEvents=new ge,this.updaters={styleProperty:e=>t=>this.el.style.setProperty(mt[e],t.toString()),theme:e=>{this.el.classList.remove(this.options.theme),this.el.classList.add(e)},className:e=>{this.options.className&&this.el.classList.remove(this.options.className),this.el.classList.add(e)},emojisPerRow:this.updateStyleProperty.bind(this,"emojisPerRow"),emojiSize:this.updateStyleProperty.bind(this,"emojiSize"),visibleRows:this.updateStyleProperty.bind(this,"visibleRows")}}initialize(){this.uiElements={pickerContent:I.byClass(pt.content),header:I.byClass(pt.header)},this.uiEvents=[I.uiEvent("keydown",this.handleKeyDown)],this.appEvents={error:this.onError,reinitialize:this.reinitialize,"data:ready":this.onDataReady,"content:show":this.showContent,"variantPopup:hide":this.hideVariantPopup,"emoji:select":this.selectEmoji},super.initialize(),this.options.recentsProvider}destroy(){var e,t;super.destroy(),null==(e=this.search)||e.destroy(),this.emojiArea.destroy(),null==(t=this.categoryTabs)||t.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,t){this.externalEvents.on(e,t)}removeEventListener(e,t){this.externalEvents.off(e,t)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){const t=e.ctrlKey||e.metaKey;"s"===e.key&&t&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(Ge)),this.options.showSearch&&(this.search=this.viewFactory.create(_e,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(st,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(ze,{categoryTabs:this.categoryTabs,categories:this.categories,emojiVersion:this.emojiVersion}),[this.preview,this.search,this.emojiArea,this.categoryTabs]}setStyleProperties(){this.options.showSearch||this.el.style.setProperty("--search-height-full","0px"),this.options.showCategoryTabs||(this.el.style.setProperty("--category-tabs-height","0px"),this.el.style.setProperty("--category-tabs-offset","0px")),this.options.showPreview||this.el.style.setProperty("--emoji-preview-height-full","0px"),Object.keys(mt).forEach((e=>{this.options[e]&&this.el.style.setProperty(mt[e],this.options[e].toString())}))}updateStyleProperty(e,t){this.el.style.setProperty(mt[e],t.toString())}reinitialize(){this.renderSync()}onError(e){const t=this.viewFactory.create(Ve,{message:this.i18n.get("error.load")}),r=this.el.offsetHeight||375;throw this.el.style.height=`${r}px`,this.el.replaceChildren(t.renderSync()),e}async onDataReady(e){const t=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,"auto"===this.options.emojiVersion?this.emojiVersion=lt()||parseFloat("14.0"):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);const[r,o,n,i]=this.buildChildViews();await super.render({isLoaded:!0,search:o,categoryTabs:i,emojiArea:n,preview:r,showHeader:Boolean(this.search||this.categoryTabs),theme:this.options.theme,className:this.options.className}),this.el.style.setProperty("--category-count",this.categories.length.toString()),this.pickerReady=!0,t.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(r){this.events.emit("error",r)}}renderSync(){var e;let t=(null==(e=this.options.categories)?void 0:e.length)||10;if(this.options.showRecents&&(t+=1),super.renderSync({isLoaded:!1,theme:this.options.theme,showSearch:this.options.showSearch,showPreview:this.options.showPreview,showCategoryTabs:this.options.showCategoryTabs,showHeader:this.options.showSearch||this.options.showCategoryTabs,emojiCount:this.options.emojisPerRow*this.options.visibleRows,categoryCount:t}),this.el.style.setProperty("--category-count",t.toString()),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return this.options.rootElement.replaceChildren(this.el),this.setStyleProperties(),this.pickerReady&&this.initializePickerView(),this.el}getInitialFocusTarget(){if(typeof this.options.autoFocus<"u")switch(this.options.autoFocus){case"emojis":return this.emojiArea.focusableEmoji;case"search":return this.search;case"auto":return this.search||this.emojiArea.focusableEmoji;default:return null}if(!0===this.options.autoFocusSearch)return console.warn("options.autoFocusSearch is deprecated, please use options.focusTarget instead"),this.search}setInitialFocus(){var e;!this.pickerReady||null==(e=this.getInitialFocusTarget())||e.focus()}reset(e=!0){var t;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),null==(t=this.search)||t.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var t,r;e!==this.currentView&&(this.currentView!==this.emojiArea&&(null==(t=this.currentView)||t.destroy()),this.ui.pickerContent.classList.toggle(pt.fullHeight,e!==this.emojiArea),this.ui.pickerContent.replaceChildren(e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):null==(r=this.categoryTabs)||r.el.remove())}hideVariantPopup(){var e;null==(e=this.variantPopup)||e.destroy()}isPickerClick(e){var t,r;const o=e.target,n=this.el.contains(o),i=null==(r=null==(t=this.variantPopup)?void 0:t.el)?void 0:r.contains(o);return n||i}async selectEmoji({emoji:e}){var t,r;(null==(t=e.skins)?void 0:t.length)&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await(null==(r=this.variantPopup)?void 0:r.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){const t=document.activeElement;this.events.once("variantPopup:hide",(()=>{null==t||t.focus()})),this.variantPopup=this.viewFactory.create(tt,{emoji:e,parent:this.el}),this.el.appendChild(this.variantPopup.renderSync()),this.variantPopup.activate()}async emitEmoji(e){this.externalEvents.emit("emoji:select",await this.renderer.doEmit(e)),this.options.recentsProvider.addOrUpdateRecent(e,this.options.maxRecents),this.events.emit("recent:add",e)}updateOptions(e){Object.keys(e).forEach((t=>{this.updaters[t](e[t])})),Object.assign(this.options,e)}}class gt{constructor({events:e,i18n:t,renderer:r,emojiData:o,options:n,customEmojis:i=[],pickerId:a}){this.events=e,this.i18n=t,this.renderer=r,this.emojiData=o,this.options=n,this.customEmojis=i,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}create(e,...t){const r=new e(...t);return r.setPickerId(this.pickerId),r.setEvents(this.events),r.setI18n(this.i18n),r.setRenderer(this.renderer),r.setEmojiData(this.emojiData),r.setOptions(this.options),r.setCustomEmojis(this.customEmojis),r.viewFactory=this,r.initialize(),r}}var vt;class yt{constructor(e={}){i(this,vt,void 0),a(this,vt,new Map(Object.entries(e)))}get(e,t=e){return n(this,vt).get(e)||t}}vt=new WeakMap;let bt=0;const wt=function(){let e=!1;return function(t){me&&!e&&(function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&!(typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}(t),e=!0)}}();function Ct(e){wt('.picmo-picker .icon{width:1.25em;height:1em;fill:currentColor}.icon-small{font-size:.8em}.icon-medium{font-size:1em}.icon-large{font-size:1.25em}.icon-2x{font-size:2em}.icon-3x{font-size:3em}.icon-4x{font-size:4em}.icon-5x{font-size:5em}.icon-8x{font-size:8em}.icon-10x{font-size:10em}.light,.auto{color-scheme:light;--accent-color: #4f46e5;--background-color: #f9fafb;--border-color: #cccccc;--category-name-background-color: #f9fafb;--category-name-button-color: #999999;--category-name-text-color: hsl(214, 30%, 50%);--category-tab-active-background-color: rgba(255, 255, 255, .6);--category-tab-active-color: var(--accent-color);--category-tab-color: #666;--category-tab-highlight-background-color: rgba(0, 0, 0, .15);--error-color-dark: hsl(0, 100%, 45%);--error-color: hsl(0, 100%, 40%);--focus-indicator-background-color: hsl(198, 65%, 85%);--focus-indicator-color: #333333;--hover-background-color: #c7d2fe;--placeholder-background-color: #cccccc;--preview-background-color: var(--secondary-background-color);--scrollbar-background-color: var(--background-color);--scrollbar-color: #aaa;--search-background-color: #f9fafb;--search-focus-background-color: #ffffff;--search-icon-color: #999999;--search-placeholder-color: #71717a;--secondary-background-color: #e2e8f0;--secondary-text-color: #666666;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #000000;--variant-popup-background-color: #ffffff}.dark{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000 ;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}@media (prefers-color-scheme: dark){.auto{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000 ;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}}.picmo-picker .categoryButtonsContainer{overflow:auto;padding:2px 0;scrollbar-width:thin}.picmo-picker .categoryButtonsContainer.has-overflow-right{mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo-picker .categoryButtonsContainer.has-overflow-left{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo-picker .categoryButtonsContainer.has-overflow-both{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%)}.picmo-picker .categoryButtonsContainer::-webkit-scrollbar{width:8px;height:8px}.picmo-picker .categoryButtonsContainer::-webkit-scrollbar-thumb{background:var(--scrollbar-color);border-radius:1em}.picmo-picker .categoryButtons{display:flex;flex-direction:row;gap:var(--tab-gap);margin:0;padding:0 .5em;align-items:center;height:var(--category-tabs-height);box-sizing:border-box;width:100%;justify-content:space-between;position:relative;list-style-type:none;justify-self:center;max-width:min(23.55rem,calc(var(--category-count, 1) * 2.5rem))}.picmo-picker .categoryButtons .categoryTab{display:flex;align-items:center;transition:all .1s;width:2em}.picmo-picker .categoryButtons .categoryTab.categoryTabActive .categoryButton{color:var(--category-tab-active-color);background:linear-gradient(rgba(255,255,255,.75) 0%,rgba(255,255,255,.75) 100%),linear-gradient(var(--category-tab-active-color) 0%,var(--category-tab-active-color) 100%);border:2px solid var(--category-tab-active-color)}.picmo-picker .categoryButtons .categoryTab.categoryTabActive .categoryButton:hover{background-color:var(--category-tab-active-background-color)}.picmo-picker .categoryButtons .categoryTab button.categoryButton{border-radius:5px;background:transparent;border:2px solid transparent;color:var(--category-tab-color);cursor:pointer;padding:2px;vertical-align:middle;display:flex;align-items:center;justify-content:center;font-size:1.2rem;width:1.6em;height:1.6em;transition:all .1s}.picmo-picker .categoryButtons .categoryTab button.categoryButton:is(img){width:var(--category-tab-size);height:var(--category-tab-size)}.picmo-picker .categoryButtons .categoryTab button.categoryButton:hover{background:var(--category-tab-highlight-background-color)}.dataError [data-icon]{opacity:.8}@keyframes appear{0%{opacity:0}to{opacity:.8}}@keyframes appear-grow{0%{opacity:0;transform:scale(.8)}to{opacity:.8;transform:scale(1)}}.picmo-picker .error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--secondary-text-color)}.picmo-picker .error .iconContainer{opacity:.8;animation:appear-grow .25s cubic-bezier(.175,.885,.32,1.275);--color-primary: var(--error-color);--color-secondary: var(--error-color-dark)}.picmo-picker .error .title{animation:appear .25s;animation-delay:50ms;animation-fill-mode:both}.picmo-picker .error button{padding:8px 16px;cursor:pointer;background:var(--background-color);border:1px solid var(--text-color);border-radius:5px;color:var(--text-color)}.picmo-picker .error button:hover{background:var(--text-color);color:var(--background-color)}.emojiButton{background:transparent;border:none;border-radius:15px;cursor:pointer;display:flex;font-family:var(--emoji-font);font-size:var(--emoji-size);height:100%;justify-content:center;align-items:center;margin:0;overflow:hidden;padding:0;width:100%}.emojiButton:hover{background:var(--hover-background-color)}.emojiButton:focus{border-radius:0;background:var(--focus-indicator-background-color);outline:1px solid var(--focus-indicator-color)}.picmo-picker .emojiArea{height:var(--emoji-area-height);overflow-y:auto;position:relative;scrollbar-color:var(--scrollbar-color) var(--scrollbar-background-color);scrollbar-width:thin}.picmo-picker .emojiArea::-webkit-scrollbar{background:var(--scrollbar-background-color);width:1.1em}.picmo-picker .emojiArea::-webkit-scrollbar-thumb{background:var(--scrollbar-color);border-left:4px solid transparent;border-right:4px solid transparent;background-clip:padding-box;height:1em;border-radius:1em}.picmo-picker .emojiCategory{position:relative}.picmo-picker .emojiCategory .categoryName{font-size:.9em;padding:.5rem;margin:0;background:var(--category-name-background-color);color:var(--category-name-text-color);top:0;z-index:1;display:grid;gap:4px;grid-template-columns:auto 1fr auto;align-items:center;line-height:1;box-sizing:border-box;height:var(--category-name-height);justify-content:flex-start;text-transform:uppercase}.picmo-picker .emojiCategory .categoryName button{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;color:var(--category-name-button-color)}.picmo-picker .emojiCategory .categoryName button:hover{opacity:1}.picmo-picker .emojiCategory .noRecents{color:var(--secondary-text-color);grid-column:1 / span var(--emojis-per-row);font-size:.9em;text-align:center;display:flex;align-items:center;justify-content:center;min-height:calc(var(--emoji-size) * var(--emoji-size-multiplier))}.picmo-picker .emojiCategory .recentEmojis[data-empty=true]{display:none}:is(.picmo-picker .emojiCategory) .recentEmojis[data-empty=false]+div{display:none}.picmo-picker .emojiContainer{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center}.picmo-picker.picker{--border-radius: 5px;--emoji-area-height: calc( (var(--row-count) * var(--emoji-size) * var(--emoji-size-multiplier)) + var(--category-name-height) );--content-height: var(--emoji-area-height);--emojis-per-row: 8;--row-count: 6;--emoji-preview-margin: 4px;--emoji-preview-height: calc(var(--emoji-preview-size) + 1em + 1px);--emoji-preview-height-full: calc(var(--emoji-preview-height) + var(--emoji-preview-margin));--emoji-preview-size: 2.75em;--emoji-size: 2rem;--emoji-size-multiplier: 1.3;--content-margin: 8px;--category-tabs-height:calc(1.5em + 9px);--category-tabs-offset: 8px;--category-tab-size: 1.2rem;--category-name-height: 2rem;--category-name-padding-y: 6px;--search-height: 2em;--search-margin: .5em;--search-margin-bottom: 4px;--search-height-full: calc(var(--search-height) + var(--search-margin) + var(--search-margin-bottom));--overlay-background-color: rgba(0, 0, 0, .8);--emoji-font: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";--ui-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;--ui-font-size: 16px;--picker-width: calc(var(--emojis-per-row) * var(--emoji-size) * var(--emoji-size-multiplier) + 2.75rem);background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);font-size:var(--ui-font-size);overflow:hidden;position:relative;width:var(--picker-width);display:grid;gap:8px}.picmo-picker.picker>*{font-family:var(--ui-font)}.picmo-picker.skeleton{background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);width:var(--picker-width);color:var(--secondary-text-color)}.picmo-picker.skeleton *{box-sizing:border-box}.picmo-picker.skeleton .placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.picmo-picker.skeleton .placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}.picmo-picker.skeleton .headerSkeleton{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column;overflow:hidden;gap:8px;border-bottom:1px solid var(--border-color);width:var(--picker-width)}.picmo-picker.skeleton .searchSkeleton{padding:0 8px;height:var(--search-height)}.picmo-picker.skeleton .searchSkeleton .searchInput{width:100%;height:28px;border-radius:3px}.picmo-picker.skeleton .categoryTabsSkeleton{height:var(--category-tabs-height);display:flex;flex-direction:row;align-items:center;justify-self:center;width:calc(2rem * var(--category-count, 1))}.picmo-picker.skeleton .categoryTabsSkeleton .categoryTab{width:25px;height:25px;padding:2px;border-radius:5px;margin:.25em}.picmo-picker.skeleton .contentSkeleton{height:var(--content-height);padding-right:8px;opacity:.7}.picmo-picker.skeleton .contentSkeleton .categoryName{width:50%;height:1rem;margin:.5rem;box-sizing:border-box}.picmo-picker.skeleton .contentSkeleton .emojiGrid{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center;width:var(--picker-width)}.picmo-picker.skeleton .contentSkeleton .emojiGrid .emoji{width:var(--emoji-size);height:var(--emoji-size);border-radius:50%}.picmo-picker.skeleton .previewSkeleton{height:var(--emoji-preview-height);border-top:1px solid var(--border-color);display:grid;align-items:center;padding:.5em;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags"}.picmo-picker.skeleton .previewSkeleton .previewEmoji{grid-area:emoji;border-radius:50%;width:var(--emoji-preview-size);height:var(--emoji-preview-size)}.picmo-picker.skeleton .previewSkeleton .previewName{grid-area:name;height:.8em;width:80%}.picmo-picker.skeleton .previewSkeleton .tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0}.picmo-picker.skeleton .previewSkeleton .tagList .tag{border-radius:3px;padding:2px 8px;margin-right:.25em;height:1em;width:20%}.overlay{background:rgba(0,0,0,.75);height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.content{position:relative;overflow:hidden;height:var(--content-height)}.content.fullHeight{height:calc(var(--content-height) + var(--category-tabs-height) + var(--category-tabs-offset));overflow-y:auto;scrollbar-color:var(--scrollbar-color) var(--scrollbar-background-color);scrollbar-width:thin}.content.fullHeight::-webkit-scrollbar{background:var(--scrollbar-background-color);width:1.1em}.content.fullHeight::-webkit-scrollbar-thumb{background:var(--scrollbar-color);background-clip:padding-box;height:1em;border-radius:.5em}.pluginContainer{margin:.5em;display:flex;flex-direction:row}.header{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:grid;gap:8px;border-bottom:1px solid var(--border-color)}@media (prefers-reduced-motion: reduce){.placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.placeholder:after{display:none}}.picmo-picker .preview{border-top:1px solid var(--border-color);display:grid;align-items:center;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags";height:var(--emoji-preview-height);box-sizing:border-box;padding:.5em;position:relative;background:var(--preview-background-color)}.picmo-picker .preview .previewEmoji{grid-area:emoji;font-size:var(--emoji-preview-size);font-family:var(--emoji-font);width:1.25em;display:flex;align-items:center;justify-content:center}.picmo-picker .preview .previewName{grid-area:name;color:var(--text-color);font-size:.8em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.picmo-picker .preview .tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0;font-size:.75em;overflow:hidden}.picmo-picker .preview .tag{border-radius:3px;background:var(--tag-background-color);color:var(--text-color);padding:2px 8px;margin-right:.25em;white-space:nowrap}.picmo-picker .preview .tag:last-child{margin-right:0}.picmo-picker .searchContainer{display:flex;height:var(--search-height);box-sizing:border-box;padding:0 8px;position:relative}.picmo-picker .searchContainer .searchField{background:var(--search-background-color);border-radius:3px;border:none;box-sizing:border-box;color:var(--text-color);font-size:.9em;outline:none;padding:.5em 2.25em .5em .5em;width:100%}.picmo-picker .searchContainer .searchField:focus{background:var(--search-focus-background-color)}.picmo-picker .searchContainer .searchField::placeholder{color:var(--search-placeholder-color)}.picmo-picker .searchContainer .searchAccessory{color:var(--search-icon-color);height:100%;position:absolute;right:1em;top:0;width:1.25rem;display:flex;align-items:center}.picmo-picker .searchContainer .searchAccessory svg{fill:var(--search-icon-color)}.picmo-picker .searchContainer .clearButton{border:0;color:var(--search-icon-color);background:transparent;cursor:pointer}.picmo-picker .searchContainer .clearSearchButton{cursor:pointer;border:none;background:transparent;color:var(--search-icon-color);font-size:1em;width:100%;height:100%;display:flex;align-items:center;padding:0}.picmo-picker .searchContainer .notFound [data-icon]{fill:#f3e265}.picmo-picker .variantOverlay{background:var(--overlay-background-color);border-radius:5px;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.picmo-picker .variantOverlay .variantPopup{background:var(--variant-popup-background-color);border-radius:5px;margin:.5em;padding:.5em;text-align:center;user-select:none;display:flex;align-items:center;justify-content:center}.customEmoji{width:1em;height:1em}@keyframes shine{to{transform:translate(100%)}}.picmo-picker .imagePlaceholder{width:2rem;height:2rem;border-radius:50%}.placeholder{background:#DDDBDD;position:relative}.placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}\n');const t=function(e={}){return{...se,...e,renderer:e.renderer||new _,recentsProvider:e.recentsProvider||new ae}}(e),r=((null==t?void 0:t.custom)||[]).map((e=>({...e,custom:!0,tags:["custom",...e.tags||[]]}))),o=new fe,n=function(e){return S(e.locale,e.dataStore,e.messages,e.emojiData)}(t),i=new yt(t.i18n);n.then((e=>{o.emit("data:ready",e)})).catch((e=>{o.emit("error",e)}));const a=new gt({events:o,i18n:i,customEmojis:r,renderer:t.renderer,options:t,emojiData:n,pickerId:`picmo-${Date.now()}-${bt++}`}).create(ft);return a.renderSync(),a}},45628:function(e,t,r){"use strict";function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function n(e){var t,r;return!1!==o(e)&&(void 0===(t=e.constructor)||!1!==o(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}r.d(t,{P:function(){return n}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5108-52c64058a32f89f5.js b/static/web/_next/static/chunks/5108-52c64058a32f89f5.js new file mode 100644 index 000000000..64c48b57f --- /dev/null +++ b/static/web/_next/static/chunks/5108-52c64058a32f89f5.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5108],{92032:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(1413),i=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z"}}]},name:"notification",theme:"filled"},o=r(42135),s=function(t,e){return i.createElement(o.Z,(0,n.Z)((0,n.Z)({},t),{},{ref:e,icon:a}))};s.displayName="NotificationFilled";var u=i.forwardRef(s)},60562:function(t,e,r){"use strict";r.d(e,{Au:function(){return i},G3:function(){return h},Ki:function(){return a},d3:function(){return f},hL:function(){return c},lx:function(){return p},qX:function(){return l},tm:function(){return u}});var n=r(58908),i=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},a=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||i(t)||t instanceof ArrayBuffer||(t="number"!==typeof t||"number"===typeof t&&t!==t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},o=r.n(n)().BigInt||Number,s=[o("0x1"),o("0x100"),o("0x10000"),o("0x1000000"),o("0x100000000"),o("0x10000000000"),o("0x1000000000000"),o("0x100000000000000"),o("0x10000000000000000")],u=(function(){var t=new Uint16Array([65484]),e=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);255===e[0]||e[0]}(),function(t,e){var r=void 0===e?{}:e,n=r.signed,i=void 0!==n&&n,u=r.le,c=void 0!==u&&u;t=a(t);var f=c?"reduce":"reduceRight",l=(t[f]?t[f]:Array.prototype[f]).call(t,(function(e,r,n){var i=c?n:Math.abs(n+1-t.length);return e+o(r)*s[i]}),o(0));if(i){var p=s[t.length]/o(2)-o(1);(l=o(l))>p&&(l-=p,l-=p,l-=o(2))}return Number(l)}),c=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!==typeof t&&"number"!==typeof t||"number"===typeof t&&t!==t)&&(t=0),t=o(t);for(var i,a=(i=t,Math.ceil(function(t){return t.toString(2).length}(i)/8)),u=new Uint8Array(new ArrayBuffer(a)),c=0;c=e.length&&c.call(e,(function(e,r){return e===(u[r]?u[r]&t[o+r]:t[o+r])}))}},92260:function(t,e,r){"use strict";r.d(e,{Hi:function(){return d},Jg:function(){return f},KL:function(){return l},_5:function(){return p},kS:function(){return c},lA:function(){return g},p7:function(){return h},ws:function(){return u},xz:function(){return m}});var n=r(58908),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},o=["video","audio","text"],s=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,(function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)})):t},c=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach((function(t){var e;t=t.trim(),o.forEach((function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var o=t.substring(0,i[1].length),s=t.replace(o,"");r.push({type:o,details:s,mediaType:n})}})),e||r.push({type:t,details:"",mediaType:"unknown"})})),r},f=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return c(i.playlists[0].attributes.CODECS)}return null},l=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},p=function(t){if(t&&"string"===typeof t){var e,r=t.toLowerCase().split(",").map((function(t){return u(t.trim())})),n="video";1===r.length&&l(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every((function(t){return a.mp4.test(t)}))?i="mp4":r.every((function(t){return a.webm.test(t)}))?i="webm":r.every((function(t){return a.ogg.test(t)}))&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},h=function(t){return void 0===t&&(t=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(p(t))||!1},d=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every((function(t){t=t.trim();for(var e=0;er;){var a=t[r],o=0,s=0,u=t[++s];for(s++;128&u;)o=(127&u)<<7,u=t[s],s++;o+=127&u;for(var c=0;c>>0,c=e.subarray(s+4,s+8);if(0===u)break;var f=s+u;if(f>e.length){if(n)break;f=e.length}var l=e.subarray(s+8,f);(0,i.G3)(c,r[0])&&(1===r.length?o.push(l):o.push.apply(o,t(l,r.slice(1),n))),s=f}return o},u={EBML:(0,i.Ki)([26,69,223,163]),DocType:(0,i.Ki)([66,130]),Segment:(0,i.Ki)([24,83,128,103]),SegmentInfo:(0,i.Ki)([21,73,169,102]),Tracks:(0,i.Ki)([22,84,174,107]),Track:(0,i.Ki)([174]),TrackNumber:(0,i.Ki)([215]),DefaultDuration:(0,i.Ki)([35,227,131]),TrackEntry:(0,i.Ki)([174]),TrackType:(0,i.Ki)([131]),FlagDefault:(0,i.Ki)([136]),CodecID:(0,i.Ki)([134]),CodecPrivate:(0,i.Ki)([99,162]),VideoTrack:(0,i.Ki)([224]),AudioTrack:(0,i.Ki)([225]),Cluster:(0,i.Ki)([31,67,182,117]),Timestamp:(0,i.Ki)([231]),TimestampScale:(0,i.Ki)([42,215,177]),BlockGroup:(0,i.Ki)([160]),BlockDuration:(0,i.Ki)([155]),Block:(0,i.Ki)([161]),SimpleBlock:(0,i.Ki)([163])},c=[128,64,32,16,8,4,2,1],f=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=function(t){for(var e=1,r=0;r=r.length)return r.length;var a=f(r,n,!1);if((0,i.G3)(e.bytes,a.bytes))return n;var o=f(r,n+a.length);return t(e,r,n+o.length+o.value+a.length)},h=function t(e,r){r=function(t){return Array.isArray(t)?t.map((function(t){return l(t)})):[l(t)]}(r),e=(0,i.Ki)(e);var n=[];if(!r.length)return n;for(var a=0;ae.length?e.length:u+s.value,h=e.subarray(u,c);(0,i.G3)(r[0],o.bytes)&&(1===r.length?n.push(h):n=n.concat(t(h,r.slice(1)))),a+=o.length+s.length+h.length}return n},d=r(68925),g=(0,i.Ki)([0,0,0,1]),m=(0,i.Ki)([0,0,1]),y=(0,i.Ki)([0,0,3]),v=function(t){for(var e=[],r=1;r>1&63),-1!==r.indexOf(c)&&(a=o+u),o+=u+("h264"===e?1:2)}else o++}return t.subarray(0,0)},w={webm:(0,i.Ki)([119,101,98,109]),matroska:(0,i.Ki)([109,97,116,114,111,115,107,97]),flac:(0,i.Ki)([102,76,97,67]),ogg:(0,i.Ki)([79,103,103,83]),ac3:(0,i.Ki)([11,119]),riff:(0,i.Ki)([82,73,70,70]),avi:(0,i.Ki)([65,86,73]),wav:(0,i.Ki)([87,65,86,69]),"3gp":(0,i.Ki)([102,116,121,112,51,103]),mp4:(0,i.Ki)([102,116,121,112]),fmp4:(0,i.Ki)([115,116,121,112]),mov:(0,i.Ki)([102,116,121,112,113,116]),moov:(0,i.Ki)([109,111,111,118]),moof:(0,i.Ki)([109,111,111,102])},E={aac:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=h(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,w.webm)},mkv:function(t){var e=h(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,w.matroska)},mp4:function(t){return!E["3gp"](t)&&!E.mov(t)&&(!(!(0,i.G3)(t,w.mp4,{offset:4})&&!(0,i.G3)(t,w.fmp4,{offset:4}))||(!(!(0,i.G3)(t,w.moof,{offset:4})&&!(0,i.G3)(t,w.moov,{offset:4}))||void 0))},mov:function(t){return(0,i.G3)(t,w.mov,{offset:4})},"3gp":function(t){return(0,i.G3)(t,w["3gp"],{offset:4})},ac3:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,w.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+1880}},36722:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(58908),i=r.n(n),a=r(48764).lW;function o(t){for(var e,r=(e=t,i().atob?i().atob(e):a.from(e,"base64").toString("binary")),n=new Uint8Array(r.length),o=0;o>4?i+20:i+10}(e,r),t(e,r))}},8485:function(t,e,r){"use strict";r.d(e,{t:function(){return a}});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},80779:function(t,e,r){"use strict";var n=r(49945),i=r.n(n),a=r(58908),o=r.n(a),s="http://example.com";e.Z=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=o().location&&o().location.href||"");var r="function"===typeof o().URL,n=/^\/\//.test(t),a=!o().location&&!/\/\//i.test(t);if(r?t=new(o().URL)(t,o().location||s):/\/\//i.test(t)||(t=i().buildAbsoluteURL(o().location&&o().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(s.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)}},13490:function(t,e,r){"use strict";var n=r(58908);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)t(r);else if(i.statusCode>=400&&i.statusCode<=599){var o=a;if(e)if(n.TextDecoder){var s=function(t){void 0===t&&(t="");return t.toLowerCase().split(";").reduce((function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t}),"utf-8")}(i.headers&&i.headers["content-type"]);try{o=new TextDecoder(s).decode(a)}catch(u){}}else o=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:o})}else t(null,a)}}},9603:function(t,e,r){"use strict";var n=r(58908),i=r(10434),a=r(27376);s.httpHandler=r(13490);function o(t,e,r){var n=t;return a(e)?(r=e,"string"===typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function s(t,e,r){return u(e=o(t,e,r))}function u(t){if("undefined"===typeof t.callback)throw new Error("callback argument missing");var e=!1,r=function(r,n,i){e||(e=!0,t.callback(r,n,i))};function n(){var t=void 0;if(t=c.response?c.response:c.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(r){}return null}(c),m)try{t=JSON.parse(t)}catch(e){}return t}function i(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,y)}function a(){if(!u){var e;clearTimeout(f),e=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=y,a=null;return 0!==e?(i={body:n(),statusCode:e,method:p,headers:{},url:l,rawRequest:c},c.getAllResponseHeaders&&(i.headers=function(t){var e={};return t?(t.trim().split("\n").forEach((function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();"undefined"===typeof e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]})),e):e}(c.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),r(a,i,i.body)}}var o,u,c=t.xhr||null;c||(c=t.cors||t.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var f,l=c.url=t.uri||t.url,p=c.method=t.method||"GET",h=t.body||t.data,d=c.headers=t.headers||{},g=!!t.sync,m=!1,y={body:void 0,headers:{},statusCode:0,method:p,url:l,rawRequest:c};if("json"in t&&!1!==t.json&&(m=!0,d.accept||d.Accept||(d.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(d["content-type"]||d["Content-Type"]||(d["Content-Type"]="application/json"),h=JSON.stringify(!0===t.json?h:t.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(a,0)},c.onload=a,c.onerror=i,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=i,c.open(p,l,!g,t.username,t.password),g||(c.withCredentials=!!t.withCredentials),!g&&t.timeout>0&&(f=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",i(t)}}),t.timeout)),c.setRequestHeader)for(o in d)d.hasOwnProperty(o)&&c.setRequestHeader(o,d[o]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"===typeof t.beforeSend&&t.beforeSend(c),c.send(h||null),c}t.exports=s,t.exports.default=s,s.XMLHttpRequest=n.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r=e+r||e?new java.lang.String(t,e,r)+"":t}function m(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}l.prototype.parseFromString=function(t,e){var r=this.options,n=new f,i=r.domBuilder||new p,o=r.errorHandler,s=r.locator,c=r.xmlns||{},l=/\/x?html?$/.test(e),h=l?a.HTML_ENTITIES:a.XML_ENTITIES;return s&&i.setDocumentLocator(s),n.errorHandler=function(t,e,r){if(!t){if(e instanceof p)return e;t=e}var n={},i=t instanceof Function;function a(e){var a=t[e];!a&&i&&(a=2==t.length?function(r){t(e,r)}:t),n[e]=a&&function(t){a("[xmldom "+e+"]\t"+t+d(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(o,i,s),n.domBuilder=r.domBuilder||i,l&&(c[""]=u.HTML),c.xml=c.xml||u.XML,t&&"string"===typeof t?n.parse(t,c,h):n.errorHandler.error("invalid doc source"),i.doc},p.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,a=i.createElementNS(t,r||e),o=n.length;m(this,a),this.currentElement=a,this.locator&&h(this.locator,a);for(var s=0;s=0))throw O(A,new Error(t.tagName+"@"+r));for(var i=e.length-1;n"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function _(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(_(t,e))return!0}while(t=t.nextSibling)}function X(){}function K(t,e,r,i){t&&t._inc++,r.namespaceURI===n.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function G(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a}}}function j(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,G(t.ownerDocument,t),e}function F(t,e,r){var n=e.parentNode;if(n&&n.removeChild(e),e.nodeType===w){var i=e.firstChild;if(null==i)return e;var a=e.lastChild}else i=a=e;var o=r?r.previousSibling:t.lastChild;i.previousSibling=o,a.nextSibling=r,o?o.nextSibling=i:t.firstChild=i,null==r?t.lastChild=a:r.previousSibling=a;do{i.parentNode=t}while(i!==a&&(i=i.nextSibling));return G(t.ownerDocument||t,t),e.nodeType==w&&(e.firstChild=e.lastChild=null),e}function H(){this._nsMap={}}function Z(){}function V(){}function q(){}function z(){}function Y(){}function $(){}function W(){}function Q(){}function J(){}function tt(){}function et(){}function rt(){}function nt(t,e){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,a=n.namespaceURI;if(a&&null==i&&null==(i=n.lookupPrefix(a)))var o=[{namespace:a,prefix:null}];return ot(this,r,t,e,o),r.join("")}function it(t,e,r){var i=t.prefix||"",a=t.namespaceURI;if(!a)return!1;if("xml"===i&&a===n.XML||a===n.XMLNS)return!1;for(var o=r.length;o--;){var s=r[o];if(s.prefix===i)return s.namespace!==a}return!0}function at(t,e,r){t.push(" ",e,'="',r.replace(/[<&"]/g,k),'"')}function ot(t,e,r,i,a){if(a||(a=[]),i){if(!(t=i(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case f:var o=t.attributes,s=o.length,u=t.firstChild,c=t.tagName,g=c;if(!(r=n.isHTML(t.namespaceURI)||r)&&!t.prefix&&t.namespaceURI){for(var E,T=0;T=0;N--){if(""===(S=a[N]).prefix&&S.namespace===t.namespaceURI){E=S.namespace;break}}if(E!==t.namespaceURI)for(N=a.length-1;N>=0;N--){var S;if((S=a[N]).namespace===t.namespaceURI){S.prefix&&(g=S.prefix+":"+c);break}}}e.push("<",g);for(var A=0;A"),r&&/^script$/i.test(c))for(;u;)u.data?e.push(u.data):ot(u,e,r,i,a.slice()),u=u.nextSibling;else for(;u;)ot(u,e,r,i,a.slice()),u=u.nextSibling;e.push("")}else e.push("/>");return;case v:case w:for(u=t.firstChild;u;)ot(u,e,r,i,a.slice()),u=u.nextSibling;return;case l:return at(e,t.name,t.value);case p:return e.push(t.data.replace(/[<&]/g,k).replace(/]]>/g,"]]>"));case h:return e.push("");case y:return e.push("\x3c!--",t.data,"--\x3e");case b:var R=t.publicId,C=t.systemId;if(e.push("");else if(C&&"."!=C)e.push(" SYSTEM ",C,">");else{var D=t.internalSubset;D&&e.push(" [",D,"]"),e.push(">")}return;case m:return e.push("");case d:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function st(t,e,r){var n;switch(e.nodeType){case f:(n=e.cloneNode(!1)).ownerDocument=t;case w:break;case l:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(st(t,i,r)),i=i.nextSibling;return n}function ut(t,e,r){var n=new e.constructor;for(var i in e){var a=e[i];"object"!=typeof a&&a!=n[i]&&(n[i]=a)}switch(e.childNodes&&(n.childNodes=new x),n.ownerDocument=t,n.nodeType){case f:var o=e.attributes,s=n.attributes=new D,u=o.length;s._ownerElement=n;for(var c=0;c0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r)for(var n in r)if(r[n]==t)return n;e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&t in r)return r[t];e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},s(c,B),s(c,B.prototype),X.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==w){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return null==this.documentElement&&t.nodeType==f&&(this.documentElement=t),F(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),j(this,t)},importNode:function(t,e){return st(this,t,e)},getElementById:function(t){var e=null;return _(this.documentElement,(function(r){if(r.nodeType==f&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=o(t);return new R(this,(function(r){var n=[];return e.length>0&&_(r.documentElement,(function(i){if(i!==r&&i.nodeType===f){var a=i.getAttribute("class");if(a){var s=t===a;if(!s){var u=o(a);s=e.every((c=u,function(t){return c&&-1!==c.indexOf(t)}))}s&&n.push(i)}}var c})),n}))},createElement:function(t){var e=new H;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new x,(e.attributes=new D)._ownerElement=e,e},createDocumentFragment:function(){var t=new tt;return t.ownerDocument=this,t.childNodes=new x,t},createTextNode:function(t){var e=new q;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new z;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new Y;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new et;return r.ownerDocument=this,r.tagName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new Z;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new J;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new H,n=e.split(":"),i=r.attributes=new D;return r.childNodes=new x,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new Z,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},u(X,B),H.prototype={nodeType:f,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===w?this.insertBefore(t,null):function(t,e){var r=e.parentNode;if(r){var n=t.lastChild;r.removeChild(e),n=t.lastChild}return n=t.lastChild,e.parentNode=t,e.previousSibling=n,e.nextSibling=null,n?n.nextSibling=e:t.firstChild=e,t.lastChild=e,G(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new R(this,(function(e){var r=[];return _(e,(function(n){n===e||n.nodeType!=f||"*"!==t&&n.tagName!=t||r.push(n)})),r}))},getElementsByTagNameNS:function(t,e){return new R(this,(function(r){var n=[];return _(r,(function(i){i===r||i.nodeType!==f||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||n.push(i)})),n}))}},X.prototype.getElementsByTagName=H.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=H.prototype.getElementsByTagNameNS,u(H,B),Z.prototype.nodeType=l,u(Z,B),V.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(N[S])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},u(V,B),q.prototype={nodeName:"#text",nodeType:p,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},u(q,V),z.prototype={nodeName:"#comment",nodeType:y},u(z,V),Y.prototype={nodeName:"#cdata-section",nodeType:h},u(Y,V),$.prototype.nodeType=b,u($,B),W.prototype.nodeType=E,u(W,B),Q.prototype.nodeType=g,u(Q,B),J.prototype.nodeType=d,u(J,B),tt.prototype.nodeName="#document-fragment",tt.prototype.nodeType=w,u(tt,B),et.prototype.nodeType=m,u(et,B),rt.prototype.serializeToString=function(t,e,r){return nt.call(t,e,r)},B.prototype.toString=nt;try{if(Object.defineProperty){function ft(t){switch(t.nodeType){case f:case w:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(ft(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(R.prototype,"length",{get:function(){return C(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return ft(this)},set:function(t){switch(this.nodeType){case f:case w:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),ct=function(t,e,r){t["$$"+e]=r}}}catch(lt){}e.DocumentType=$,e.DOMException=O,e.DOMImplementation=P,e.Element=H,e.Node=B,e.NodeList=x,e.XMLSerializer=rt},31045:function(t,e,r){var n=r(72167).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",euro:"\u20ac",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}),e.entityMap=e.HTML_ENTITIES},3969:function(t,e,r){var n=r(41146);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(86129).DOMParser},76925:function(t,e,r){var n=r(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function c(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function f(t,e,r,i,a,o){function s(t,e,n){r.attributeNames.hasOwnProperty(t)&&o.fatalError("Attribute "+t+" redefined"),r.addValue(t,e,n)}for(var u,c=++e,f=0;;){var l=t.charAt(c);switch(l){case"=":if(1===f)u=t.slice(e,c),f=3;else{if(2!==f)throw new Error("attribute equal must after attrName");f=3}break;case"'":case'"':if(3===f||1===f){if(1===f&&(o.warning('attribute value must after "="'),u=t.slice(e,c)),e=c+1,!((c=t.indexOf(l,e))>0))throw new Error("attribute value no end '"+l+"' match");s(u,p=t.slice(e,c).replace(/&#?\w+;/g,a),e-1),f=5}else{if(4!=f)throw new Error('attribute value must after "="');s(u,p=t.slice(e,c).replace(/&#?\w+;/g,a),e),o.warning('attribute "'+u+'" missed start quot('+l+")!!"),e=c+1,f=5}break;case"/":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:f=7,r.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==f&&r.setTagName(t.slice(e,c)),c;case">":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=t.slice(e,c)).slice(-1)&&(r.closed=!0,p=p.slice(0,-1));case 2:2===f&&(p=u),4==f?(o.warning('attribute "'+p+'" missed quot(")!'),s(u,p.replace(/&#?\w+;/g,a),e)):(n.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),s(p,p,e));break;case 3:throw new Error("attribute value missed!!")}return c;case"\x80":l=" ";default:if(l<=" ")switch(f){case 0:r.setTagName(t.slice(e,c)),f=6;break;case 1:u=t.slice(e,c),f=2;break;case 4:var p=t.slice(e,c).replace(/&#?\w+;/g,a);o.warning('attribute "'+p+'" missed quot(")!!'),s(u,p,e);case 5:f=6}else switch(f){case 2:r.tagName;n.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,e),e=c,f=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:f=1,e=c;break;case 3:f=4,e=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function l(t,e,r){for(var i=t.tagName,a=null,o=t.length;o--;){var s=t[o],u=s.qName,c=s.value;if((h=u.indexOf(":"))>0)var f=s.prefix=u.slice(0,h),l=u.slice(h+1),p="xmlns"===f&&l;else l=u,f=null,p="xmlns"===u&&"";s.localName=l,!1!==p&&(null==a&&(a={},d(r,r={})),r[p]=a[p]=c,s.uri=n.XMLNS,e.startPrefixMapping(p,c))}for(o=t.length;o--;){(f=(s=t[o]).prefix)&&("xml"===f&&(s.uri=n.XML),"xmlns"!==f&&(s.uri=r[f||""]))}var h;(h=i.indexOf(":"))>0?(f=t.prefix=i.slice(0,h),l=t.localName=i.slice(h+1)):(f=null,l=t.localName=i);var g=t.uri=r[f||""];if(e.startElement(g,l,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(g,l,i),a)for(f in a)e.endPrefixMapping(f)}function p(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=t.indexOf("",e),o=t.substring(e+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,n),i.characters(o,0,o.length),a)}return e+1}function h(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf(""))e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var a=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=e,i.exec(t);for(;r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,c=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],c=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var f=a[o-1];return r.startDTD(s,u,c),r.endDTD(),f.index+f[0].length}return-1}function m(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function y(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),d(e,e={}),function(t,e,r,i,a){function o(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}function u(t){var e=t.slice(1,-1);return e in r?r[e]:"#"===e.charAt(0)?o(parseInt(e.substr(1).replace("x","0x"))):(a.error("entity not found:"+t),t)}function d(e){if(e>A){var r=t.substring(A,e).replace(/&#?\w+;/g,u);T&&v(A),i.characters(r,0,e-A),A=e}}function v(e,r){for(;e>=w&&(r=E.exec(t));)b=r.index,w=b+r[0].length,T.lineNumber++;T.columnNumber=e-b+1}var b=0,w=0,E=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,N=[{currentNSMap:e}],S={},A=0;for(;;){try{var I=t.indexOf("<",A);if(I<0){if(!t.substr(A).match(/^\s*$/)){var O=i.doc,x=O.createTextNode(t.substr(A));O.appendChild(x),i.currentElement=x}return}switch(I>A&&d(I),t.charAt(I+1)){case"/":var R=t.indexOf(">",I+3),C=t.substring(I+2,R).replace(/[ \t\n\r]+$/g,""),D=N.pop();R<0?(C=t.substring(I+2).replace(/[\s<].*/,""),a.error("end tag name: "+C+" is not complete:"+D.tagName),R=I+1+C.length):C.match(/\sA?A=R:d(Math.max(I,A)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},y.prototype={setTagName:function(t){if(!o.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!o.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=u,e.ParseError=s},27049:function(t,e,r){"use strict";var n=r(87462),i=r(4942),a=r(94184),o=r.n(a),s=r(67294),u=r(53124),c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i0?"-".concat(g):g,S=!!v,A="left"===g&&null!=m,I="right"===g&&null!=m,O=o()(T,"".concat(T,"-").concat(h),(e={},(0,i.Z)(e,"".concat(T,"-with-text"),S),(0,i.Z)(e,"".concat(T,"-with-text").concat(N),S),(0,i.Z)(e,"".concat(T,"-dashed"),!!b),(0,i.Z)(e,"".concat(T,"-plain"),!!w),(0,i.Z)(e,"".concat(T,"-rtl"),"rtl"===f),(0,i.Z)(e,"".concat(T,"-no-default-orientation-margin-left"),A),(0,i.Z)(e,"".concat(T,"-no-default-orientation-margin-right"),I),e),y),x=(0,n.Z)((0,n.Z)({},A&&{marginLeft:m}),I&&{marginRight:m});return s.createElement("div",(0,n.Z)({className:O},E,{role:"separator"}),v&&"vertical"!==h&&s.createElement("span",{className:"".concat(T,"-inner-text"),style:x},v))}},79742:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,a=u(t),o=a[0],s=a[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,o,s)),f=0,l=s>0?o-4:o;for(r=0;r>16&255,c[f++]=e>>8&255,c[f++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[f++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,a=[],o=16383,s=0,u=n-i;su?u:s+o));1===i?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return a.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,n){for(var i,a,o=[],s=e;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(t,e,r){"use strict";var n=r(79742),i=r(80645),a="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.lW=u,e.h2=50;var o=2147483647;function s(t){if(t>o)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"===typeof t){if("string"===typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return l(t)}return c(t,e,r)}function c(t,e,r){if("string"===typeof t)return function(t,e){"string"===typeof e&&""!==e||(e="utf8");if(!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|g(t,e),n=s(r),i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(G(t,Uint8Array)){var e=new Uint8Array(t);return h(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(G(t,ArrayBuffer)||t&&G(t.buffer,ArrayBuffer))return h(t,e,r);if("undefined"!==typeof SharedArrayBuffer&&(G(t,SharedArrayBuffer)||t&&G(t.buffer,SharedArrayBuffer)))return h(t,e,r);if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);var i=function(t){if(u.isBuffer(t)){var e=0|d(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!==typeof t.length||j(t.length)?s(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(t.data)}(t);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return f(t),s(t<0?0:0|d(t))}function p(t){for(var e=t.length<0?0:0|d(t.length),r=s(e),n=0;n=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function g(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||G(t,ArrayBuffer))return t.byteLength;if("string"!==typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return _(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return X(t).length;default:if(i)return n?-1:_(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return C(this,e,r);case"utf8":case"utf-8":return I(this,e,r);case"ascii":return x(this,e,r);case"latin1":case"binary":return R(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),j(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"===typeof e)return e&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){var a,o=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,r/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var f=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var l=!0,p=0;pi&&(n=i):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function A(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function I(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128===(192&(a=t[i+1]))&&(u=(31&c)<<6|63&a)>127&&(f=u);break;case 3:a=t[i+1],o=t[i+2],128===(192&a)&&128===(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);var r="",n=0;for(;nn.length?u.from(a).copy(n,i):Uint8Array.prototype.set.call(n,a,i);else{if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i)}i+=a.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;er&&(t+=" ... "),""},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,i){if(G(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),s=Math.min(a,o),c=this.slice(n,i),f=t.slice(e,r),l=0;l>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return w(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":case"latin1":case"binary":return T(this,t,e,r);case"base64":return N(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function x(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var i="",a=e;ar)throw new RangeError("Trying to access beyond buffer length")}function M(t,e,r,n,i,a){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function U(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,n,a){return e=+e,r>>>=0,a||U(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function B(t,e,r,n,a){return e=+e,r>>>=0,a||U(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||L(t,e,this.length);for(var n=this[t],i=1,a=0;++a>>=0,e>>>=0,r||L(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);for(var n=this[t],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},u.prototype.readInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||L(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||L(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return t>>>=0,e||L(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||L(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||L(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||L(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||M(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a>>=0,r>>>=0,n)||M(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);M(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);M(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||M(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return B(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return B(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(a=e;a55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function X(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function K(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function G(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function j(t){return t!==t}var F=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},77349:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(83946),i=r(19013),a=r(13882);function o(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),o=(0,n.Z)(e);return isNaN(o)?new Date(NaN):o?(r.setDate(r.getDate()+o),r):r}},11640:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(83946),i=r(19013),a=r(13882);function o(t,e){(0,a.Z)(2,arguments);var r=(0,i.Z)(t),o=(0,n.Z)(e);if(isNaN(o))return new Date(NaN);if(!o)return r;var s=r.getDate(),u=new Date(r.getTime());u.setMonth(r.getMonth()+o+1,0);var c=u.getDate();return s>=c?u:(r.setFullYear(u.getFullYear(),u.getMonth(),s),r)}},75401:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(24262),i=r(19013),a=r(13882);function o(t){(0,a.Z)(1,arguments);var e=(0,i.Z)(t);return e.setHours(0,0,0,0),e}var s=864e5;function u(t,e){(0,a.Z)(2,arguments);var r=o(t),i=o(e),u=r.getTime()-(0,n.Z)(r),c=i.getTime()-(0,n.Z)(i);return Math.round((u-c)/s)}},68730:function(t,e,r){"use strict";r.d(e,{Z:function(){return N}});var n=r(49474),i=r(77349),a=r(11640),o=r(19013),s=r(13882),u=r(83946);function c(t){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function f(t,e){if((0,s.Z)(2,arguments),!e||"object"!==c(e))return new Date(NaN);var r=e.years?(0,u.Z)(e.years):0,n=e.months?(0,u.Z)(e.months):0,f=e.weeks?(0,u.Z)(e.weeks):0,l=e.days?(0,u.Z)(e.days):0,p=e.hours?(0,u.Z)(e.hours):0,h=e.minutes?(0,u.Z)(e.minutes):0,d=e.seconds?(0,u.Z)(e.seconds):0,g=(0,o.Z)(t),m=n||r?(0,a.Z)(g,n+12*r):g,y=l||f?(0,i.Z)(m,l+7*f):m,v=h+60*p,b=d+60*v,w=1e3*b,E=new Date(y.getTime()+w);return E}var l=r(75401);function p(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function h(t,e){(0,s.Z)(2,arguments);var r=(0,o.Z)(t),n=(0,o.Z)(e),i=p(r,n),a=Math.abs((0,l.Z)(r,n));r.setDate(r.getDate()-i*a);var u=Number(p(r,n)===-i),c=i*(a-u);return 0===c?0:c}Math.pow(10,8);var d=36e5,g=r(59910),m=r(93645);function y(t,e,r){(0,s.Z)(2,arguments);var n=(0,g.Z)(t,e)/d;return(0,m.u)(null===r||void 0===r?void 0:r.roundingMethod)(n)}function v(t,e,r){(0,s.Z)(2,arguments);var n=(0,g.Z)(t,e)/6e4;return(0,m.u)(null===r||void 0===r?void 0:r.roundingMethod)(n)}var b=r(82161),w=r(11699);function E(t,e){(0,s.Z)(2,arguments);var r=(0,o.Z)(t),n=(0,o.Z)(e);return r.getFullYear()-n.getFullYear()}function T(t,e){(0,s.Z)(2,arguments);var r=(0,o.Z)(t),i=(0,o.Z)(e),a=(0,n.Z)(r,i),u=Math.abs(E(r,i));r.setFullYear(1584),i.setFullYear(1584);var c=(0,n.Z)(r,i)===-a,f=a*(u-Number(c));return 0===f?0:f}function N(t){(0,s.Z)(1,arguments);var e=(0,o.Z)(t.start),r=(0,o.Z)(t.end);if(isNaN(e.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(r.getTime()))throw new RangeError("End Date is invalid");var i={};i.years=Math.abs(T(r,e));var a=(0,n.Z)(r,e),u=f(e,{years:a*i.years});i.months=Math.abs((0,b.Z)(r,u));var c=f(u,{months:a*i.months});i.days=Math.abs(h(r,c));var l=f(c,{days:a*i.days});i.hours=Math.abs(y(r,l));var p=f(l,{hours:a*i.hours});i.minutes=Math.abs(v(r,p));var d=f(p,{minutes:a*i.minutes});return i.seconds=Math.abs((0,w.Z)(r,d)),i}},89144:function(t,e,r){var n,i="undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:{},a=r(25893);"undefined"!==typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},58908:function(t,e,r){var n;n="undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:{},t.exports=n},80645:function(t,e){e.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<>1,f=-7,l=r?i-1:0,p=r?-1:1,h=t[e+l];for(l+=p,a=h&(1<<-f)-1,h>>=-f,f+=s;f>0;a=256*a+t[e+l],l+=p,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+l],l+=p,f-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=c}return(h?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var o,s,u,c=8*a-i-1,f=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(e*u-1)*Math.pow(2,i),o+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+h]=255&s,h+=d,s/=256,i-=8);for(o=o<0;t[r+h]=255&o,h+=d,o/=256,c-=8);t[r+h-d]|=128*g}},27376:function(t){t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"===typeof t&&"[object RegExp]"!==r||"undefined"!==typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},27537:function(t,e){function r(t){if(t&&"object"===typeof t){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"===typeof t)return o[t];var r,a=String(t);return(r=n[a.toLowerCase()])?r:(r=i[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}r.isEventKey=function(t,e){if(t&&"object"===typeof t){var r=t.which||t.keyCode||t.charCode;if(null===r||void 0===r)return!1;if("string"===typeof e){var a;if(a=n[e.toLowerCase()])return a===r;if(a=i[e.toLowerCase()])return a===r}else if("number"===typeof e)return e===r;return!1}};var n=(e=t.exports=r).code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":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,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=e.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)n[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)n[a-48]=a;for(a=1;a<13;a++)n["f"+a]=a+111;for(a=0;a<10;a++)n["numpad "+a]=a+96;var o=e.names=e.title={};for(a in n)o[n[a]]=a;for(var s in i)n[s]=i[s]},9323:function(t,e,r){"use strict";r.d(e,{_b:function(){return g}});var n=r(94578),i=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var r=e.length,n=0;n-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},e}(i),c=String.fromCharCode(9),f=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},l=function(t){for(var e,r=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=r.length;i--;)""!==r[i]&&((e=/([^=]*)=(.*)/.exec(r[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n},p=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}(0,n.Z)(e,t);var r=e.prototype;return r.push=function(t){var e,r,n=this;0!==(t=t.trim()).length&&("#"===t[0]?this.tagMappers.reduce((function(e,r){var n=r(t);return n===t?e:e.concat([n])}),[t]).forEach((function(t){for(var i=0;i0&&(f.duration=t.duration),0===t.duration&&(f.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key:function(){if(t.attributes)if("NONE"!==t.attributes.METHOD)if(t.attributes.URI){if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes});if("com.microsoft.playready"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:(0,s.Z)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},"undefined"!==typeof t.attributes.IV&&(n.iv=t.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else n=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence":function(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,y=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type":function(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map:function(){r={},t.uri&&(r.uri=t.uri),t.byterange&&(r.byterange=t.byterange),n&&(r.key=n)},"stream-inf":function(){this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||m,t.attributes?(f.attributes||(f.attributes={}),(0,a.Z)(f.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||m,t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME){var r=this.manifest.mediaGroups[t.attributes.TYPE];r[t.attributes["GROUP-ID"]]=r[t.attributes["GROUP-ID"]]||{},e=r[t.attributes["GROUP-ID"]],(o={default:/yes/i.test(t.attributes.DEFAULT)}).default?o.autoselect=!0:o.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(o.language=t.attributes.LANGUAGE),t.attributes.URI&&(o.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(o.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(o.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(o.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=o}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){y+=1,f.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time":function(){"undefined"===typeof this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),f.dateTimeString=t.dateTimeString,f.dateTimeObject=t.dateTimeObject},targetduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,d.call(this,this.manifest))},start:function(){t.attributes&&!isNaN(t.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){f.cueOut=t.data},"cue-out-cont":function(){f.cueOutCont=t.data},"cue-in":function(){f.cueIn=t.data},skip:function(){this.manifest.skip=h(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;l=!0;var r=this.manifest.segments.length,n=h(t.attributes);f.parts=f.parts||[],f.parts.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=b),b=n.byterange.offset+n.byterange.length);var i=f.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+r,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(t,r){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+r+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var e=this.manifest.serverControl=h(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),d.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var e=this.manifest.segments.length,r=h(t.attributes),n=r.type&&"PART"===r.type;f.preloadHints=f.preloadHints||[],f.preloadHints.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=n?b:0,n&&(b=r.byterange.offset+r.byterange.length)));var i=f.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+e,t.attributes,["TYPE","URI"]),r.type)for(var a=0;ae.timeline?1:-1}));var e,r},x=function(t){var e,r,n=[];return e=t,r=function(t,e,r,i){n=n.concat(t.playlists||[])},I.forEach((function(t){for(var n in e.mediaGroups[t])for(var i in e.mediaGroups[t][n]){var a=e.mediaGroups[t][n][i];r(a,t,n,i)}})),n},R=function(t){var e=t.playlist,r=t.mediaSequence;e.mediaSequence=r,e.segments.forEach((function(t,r){t.number=e.mediaSequence+r}))},C=function(t){var e=t.oldManifest,r=t.newManifest,n=e.playlists.concat(x(e)),i=r.playlists.concat(x(r));return r.timelineStarts=O([e.timelineStarts,r.timelineStarts]),function(t){var e=t.oldPlaylists,r=t.newPlaylists,n=t.timelineStarts;r.forEach((function(t){t.discontinuitySequence=h(n,(function(e){return e.timeline===t.timeline}));var r=function(t,e){for(var r=0;rr.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--);r.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),R({playlist:t,mediaSequence:r.segments[a].number})}}))}({oldPlaylists:n,newPlaylists:i,timelineStarts:r.timelineStarts}),r},D=function(t){return t&&t.uri+"-"+function(t){var e;return e="bigint"===typeof t.offset||"bigint"===typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1,t.offset+"-"+e}(t.byterange)},L=function(t){return f(t.reduce((function(t,e){var r=e.attributes.id+(e.attributes.lang||"");if(t[r]){var n;if(e.segments)e.segments[0]&&(e.segments[0].discontinuity=!0),(n=t[r].segments).push.apply(n,e.segments);e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)}else t[r]=e,t[r].attributes.timelineStarts=[];return t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t}),{})).map((function(t){var e,r;return t.discontinuityStarts=(e=t.segments||[],r="discontinuity",e.reduce((function(t,e,n){return e[r]&&t.push(n),t}),[])),t}))},M=function(t,e){var r=D(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&A(t,n,t.sidx.resolvedUri),t},U=function(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var r in t)t[r]=M(t[r],e);return t},P=function(t){var e,r=t.attributes,n=t.segments,i=t.sidx,a=t.discontinuityStarts,o={attributes:(e={NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth},e["PROGRAM-ID"]=1,e),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuityStarts:a,timelineStarts:r.timelineStarts,segments:n};return r.contentProtection&&(o.contentProtection=r.contentProtection),i&&(o.sidx=i),o},B=function(t){var e=t.attributes;return"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType},k=function(t){var e=t.attributes;return"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType},_=function(t){var e=t.attributes;return"text/vtt"===e.mimeType||"text"===e.contentType},X=function(t){return t?Object.keys(t).reduce((function(e,r){var n=t[r];return e.concat(n.playlists)}),[]):[]},K=function(t){var e,r=t.dashPlaylists,n=t.locations,i=t.sidxMapping,a=void 0===i?{}:i,o=t.previousManifest;if(!r.length)return{};var s=r[0].attributes,u=s.sourceDuration,c=s.type,f=s.suggestedPresentationDelay,l=s.minimumUpdatePeriod,p=L(r.filter(B)).map(P),d=L(r.filter(k)),g=L(r.filter(_)),m=r.map((function(t){return t.attributes.captionServices})).filter(Boolean),y={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(e={AUDIO:{},VIDEO:{}},e["CLOSED-CAPTIONS"]={},e.SUBTITLES={},e),uri:"",duration:u,playlists:U(p,a)};l>=0&&(y.minimumUpdatePeriod=1e3*l),n&&(y.locations=n),"dynamic"===c&&(y.suggestedPresentationDelay=f);var v,b,w=0===y.playlists.length,E=d.length?function(t,e,r){var n;void 0===e&&(e={}),void 0===r&&(r=!1);var i=t.reduce((function(t,i){var a=i.attributes.role&&i.attributes.role.value||"",o=i.attributes.lang||"",s=i.attributes.label||"main";if(o&&!i.attributes.label){var u=a?" ("+a+")":"";s=""+i.attributes.lang+u}t[s]||(t[s]={language:o,autoselect:!0,default:"main"===a,playlists:[],uri:""});var c=M(function(t,e){var r,n=t.attributes,i=t.segments,a=t.sidx,o=t.mediaSequence,s=t.discontinuitySequence,u=t.discontinuityStarts,c={attributes:(r={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs},r["PROGRAM-ID"]=1,r),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuitySequence:s,discontinuityStarts:u,timelineStarts:n.timelineStarts,mediaSequence:o,segments:i};return n.contentProtection&&(c.contentProtection=n.contentProtection),a&&(c.sidx=a),e&&(c.attributes.AUDIO="audio",c.attributes.SUBTITLES="subs"),c}(i,r),e);return t[s].playlists.push(c),"undefined"===typeof n&&"main"===a&&((n=i).default=!0),t}),{});return n||(i[Object.keys(i)[0]].default=!0),i}(d,a,w):null,T=g.length?function(t,e){return void 0===e&&(e={}),t.reduce((function(t,r){var n=r.attributes.lang||"text";return t[n]||(t[n]={language:n,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(M(function(t){var e,r=t.attributes,n=t.segments,i=t.mediaSequence,a=t.discontinuityStarts,o=t.discontinuitySequence;"undefined"===typeof n&&(n=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);var s=((e={NAME:r.id,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e);return r.codecs&&(s.CODECS=r.codecs),{attributes:s,uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:a,discontinuitySequence:o,mediaSequence:i,segments:n}}(r),e)),t}),{})}(g,a):null,N=p.concat(X(E),X(T)),S=N.map((function(t){return t.timelineStarts}));return y.timelineStarts=O(S),v=N,b=y.timelineStarts,v.forEach((function(t){t.mediaSequence=0,t.discontinuitySequence=h(b,(function(e){return e.timeline===t.timeline})),t.segments&&t.segments.forEach((function(t,e){t.number=e}))})),E&&(y.mediaGroups.AUDIO.audio=E),T&&(y.mediaGroups.SUBTITLES.subs=T),m.length&&(y.mediaGroups["CLOSED-CAPTIONS"].cc=m.reduce((function(t,e){return e?(e.forEach((function(e){var r=e.channel,n=e.language;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])})),t):t}),{})),o?C({oldManifest:o,newManifest:y}):y},G=function(t,e,r){var n=t.NOW,i=t.clientOffset,a=t.availabilityStartTime,o=t.timescale,s=void 0===o?1:o,u=t.periodStart,c=void 0===u?0:u,f=t.minimumUpdatePeriod,l=(n+i)/1e3+(void 0===f?0:f)-(a+c);return Math.ceil((l*s-e)/r)},j=function(t,e){for(var r=t.type,n=t.minimumUpdatePeriod,i=void 0===n?0:n,a=t.media,o=void 0===a?"":a,s=t.sourceDuration,u=t.timescale,c=void 0===u?1:u,f=t.startNumber,l=void 0===f?1:f,p=t.periodStart,h=[],d=-1,g=0;gd&&(d=b);var w=void 0;if(v<0){var E=g+1;w=E===e.length?"dynamic"===r&&i>0&&o.indexOf("$Number$")>0?G(t,d,y):(s*c-d)/y:(e[E].t-d)/y}else w=v+1;for(var T=l+h.length+w,N=l+h.length;N=i?a:""+new Array(i-a.length+1).join("0")+a)}}(e))},Z=function(t,e){var r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},i=t.initialization,a=void 0===i?{sourceURL:"",range:""}:i,o=w({baseUrl:t.baseUrl,source:H(a.sourceURL,r),range:a.range}),s=function(t,e){return t.duration||e?t.duration?N(t):j(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]}(t,e);return s.map((function(e){r.Number=e.number,r.Time=e.time;var i=H(t.media||"",r),a=t.timescale||1,s=t.presentationTimeOffset||0,u=t.periodStart+(e.time-s)/a;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.Z)(t.baseUrl||"",i),map:o,number:e.number,presentationTime:u}}))},V=function(t,e){var r=t.duration,n=t.segmentUrls,i=void 0===n?[]:n,a=t.periodStart;if(!r&&!e||r&&e)throw new Error(v);var o,s=i.map((function(e){return function(t,e){var r=t.baseUrl,n=t.initialization,i=void 0===n?{}:n,a=w({baseUrl:r,source:i.sourceURL,range:i.range}),o=w({baseUrl:r,source:e.media,range:e.mediaRange});return o.map=a,o}(t,e)}));return r&&(o=N(t)),e&&(o=j(t,e)),o.map((function(e,r){if(s[r]){var n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}})).filter((function(t){return t}))},q=function(t){var e,r,n=t.attributes,i=t.segmentInfo;i.template?(r=Z,e=c(n,i.template)):i.base?(r=S,e=c(n,i.base)):i.list&&(r=V,e=c(n,i.list));var a={attributes:n};if(!r)return a;var o=r(e,i.segmentTimeline);if(e.duration){var s=e,u=s.duration,f=s.timescale,l=void 0===f?1:f;e.duration=u/l}else o.length?e.duration=o.reduce((function(t,e){return Math.max(t,Math.ceil(e.duration))}),0):e.duration=0;return a.attributes=e,a.segments=o,i.base&&e.indexRange&&(a.sidx=o[0],a.segments=[]),a},z=function(t,e){return p(t.childNodes).filter((function(t){return t.tagName===e}))},Y=function(t){return t.textContent.trim()},$=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var r=e.slice(1),n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],u=r[5];return 31536e3*parseFloat(n||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(o||0)+60*parseFloat(s||0)+parseFloat(u||0)},W={mediaPresentationDuration:function(t){return $(t)},availabilityStartTime:function(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e=t)&&(e+="Z"),Date.parse(e)/1e3;var e},minimumUpdatePeriod:function(t){return $(t)},suggestedPresentationDelay:function(t){return $(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return $(t)},start:function(t){return $(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?$(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},Q=function(t){return t&&t.attributes?p(t.attributes).reduce((function(t,e){var r=W[e.name]||W.DEFAULT;return t[e.name]=r(e.value),t}),{}):{}},J={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},tt=function(t,e){return e.length?l(t.map((function(t){return e.map((function(e){return(0,n.Z)(t,Y(e))}))}))):t},et=function(t){var e=z(t,"SegmentTemplate")[0],r=z(t,"SegmentList")[0],n=r&&z(r,"SegmentURL").map((function(t){return c({tag:"SegmentURL"},Q(t))})),i=z(t,"SegmentBase")[0],a=r||e,o=a&&z(a,"SegmentTimeline")[0],s=r||i||e,u=s&&z(s,"Initialization")[0],f=e&&Q(e);f&&u?f.initialization=u&&Q(u):f&&f.initialization&&(f.initialization={sourceURL:f.initialization});var l={template:f,segmentTimeline:o&&z(o,"S").map((function(t){return Q(t)})),list:r&&c(Q(r),{segmentUrls:n,initialization:Q(u)}),base:i&&c(Q(i),{initialization:Q(u)})};return Object.keys(l).forEach((function(t){l[t]||delete l[t]})),l},rt=function(t,e,r){return function(n){var i,a=Q(n),s=tt(e,z(n,"BaseURL")),u=z(n,"Role")[0],f={role:Q(u)},p=c(t,a,f),h=z(n,"Accessibility")[0],d="urn:scte:dash:cc:cea-608:2015"===(i=Q(h)).schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e,r;if(r=t,/^CC\d=/.test(t)){var n=t.split("=");e=n[0],r=n[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:r}})):"urn:scte:dash:cc:cea-708:2015"===i.schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var r=t.split("="),n=r[0],i=r[1],a=void 0===i?"":i;e.channel=n,e.language=t,a.split(",").forEach((function(t){var r=t.split(":"),n=r[0],i=r[1];"lang"===n?e.language=i:"er"===n?e.easyReader=Number(i):"war"===n?e.aspectRatio=Number(i):"3D"===n&&(e["3D"]=Number(i))}))}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e})):void 0;d&&(p=c(p,{captionServices:d}));var g=z(n,"Label")[0];if(g&&g.childNodes.length){var m=g.childNodes[0].nodeValue.trim();p=c(p,{label:m})}var y=z(n,"ContentProtection").reduce((function(t,e){var r=Q(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());var n=J[r.schemeIdUri];if(n){t[n]={attributes:r};var i=z(e,"cenc:pssh")[0];if(i){var a=Y(i);t[n].pssh=a&&(0,o.Z)(a)}}return t}),{});Object.keys(y).length&&(p=c(p,{contentProtection:y}));var v=et(n),b=z(n,"Representation"),w=c(r,v);return l(b.map(function(t,e,r){return function(n){var i=z(n,"BaseURL"),a=tt(e,i),o=c(t,Q(n)),s=et(n);return a.map((function(t){return{segmentInfo:c(r,s),attributes:c(o,{baseUrl:t})}}))}}(p,s,w)))}},nt=function(t,e){return function(r,n){var i=tt(e,z(r.node,"BaseURL")),a=c(t,{periodStart:r.attributes.start});"number"===typeof r.attributes.duration&&(a.periodDuration=r.attributes.duration);var o=z(r.node,"AdaptationSet"),s=et(r.node);return l(o.map(rt(a,i,s)))}},it=function(t){if(""===t)throw new Error(g);var e,r,n=new s.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(i){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(m);return r},at=function(t,e){void 0===e&&(e={});var r=function(t,e){void 0===e&&(e={});var r=e,n=r.manifestUri,i=void 0===n?"":n,a=r.NOW,o=void 0===a?Date.now():a,s=r.clientOffset,u=void 0===s?0:s,c=z(t,"Period");if(!c.length)throw new Error(d);var f=z(t,"Location"),p=Q(t),h=tt([i],z(t,"BaseURL"));p.type=p.type||"static",p.sourceDuration=p.mediaPresentationDuration||0,p.NOW=o,p.clientOffset=u,f.length&&(p.locations=f.map(Y));var g=[];return c.forEach((function(t,e){var r=Q(t),n=g[e-1];r.start=function(t){var e=t.attributes,r=t.priorPeriodAttributes,n=t.mpdType;return"number"===typeof e.start?e.start:r&&"number"===typeof r.start&&"number"===typeof r.duration?r.start+r.duration:r||"static"!==n?null:0}({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:p.type}),g.push({node:t,attributes:r})})),{locations:p.locations,representationInfo:l(g.map(nt(p,h)))}}(it(t),e),n=r.representationInfo.map(q);return K({dashPlaylists:n,locations:r.locations,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest})},ot=function(t){return function(t){var e=z(t,"UTCTiming")[0];if(!e)return null;var r=Q(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw new Error(b)}return r}(it(t))}},84221:function(t,e,r){var n=r(46894).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:2147483647&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:268435455&e.getUint32(i+8)});return r}},51489:function(t){var e,r,n,i,a,o,s,u=9e4;e=function(t){return t*u},r=function(t,e){return t*e},n=function(t){return t/u},i=function(t,e){return t/e},a=function(t,r){return e(i(t,r))},o=function(t,e){return r(n(t),e)},s=function(t,e,r){return n(r?t:t-e)},t.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:s}},46894:function(t){var e=Math.pow(2,32);t.exports={getUint64:function(t){var r,n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getBigUint64?(r=n.getBigUint64(0))0;function i(t,e,r,n){t.addEventListener?t.addEventListener(e,r,n):t.attachEvent&&t.attachEvent("on".concat(e),(function(){r(window.event)}))}function a(t,e){for(var r=e.slice(0,e.length-1),n=0;n=0;)e[r-1]+=",",e.splice(r,1),r=e.lastIndexOf("");return e}for(var s={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":n?173:189,"=":n?61:187,";":n?59:186,"'":222,"[":219,"]":221,"\\":220},u={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},c={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},f={16:!1,18:!1,17:!1,91:!1},l={},p=1;p<20;p++)s["f".concat(p)]=111+p;var h=[],d=!1,g="all",m=[],y=function(t){return s[t.toLowerCase()]||u[t.toLowerCase()]||t.toUpperCase().charCodeAt(0)};function v(t){g=t||"all"}function b(){return g||"all"}var w=function(t){var e=t.key,r=t.scope,n=t.method,i=t.splitKey,s=void 0===i?"+":i;o(e).forEach((function(t){var e=t.split(s),i=e.length,o=e[i-1],c="*"===o?"*":y(o);if(l[c]){r||(r=b());var f=i>1?a(u,e):[];l[c]=l[c].filter((function(t){return!((!n||t.method===n)&&t.scope===r&&function(t,e){for(var r=t.length>=e.length?t:e,n=t.length>=e.length?e:t,i=!0,a=0;a0,f)Object.prototype.hasOwnProperty.call(f,a)&&(!f[a]&&e.mods.indexOf(+a)>-1||f[a]&&-1===e.mods.indexOf(+a))&&(i=!1);(0!==e.mods.length||f[16]||f[18]||f[17]||f[91])&&!i&&"*"!==e.shortcut||!1===e.method(t,e)&&(t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),t.cancelBubble&&(t.cancelBubble=!0))}}function T(t,e){var r=l["*"],n=t.keyCode||t.which||t.charCode;if(N.filter.call(this,t)){if(93!==n&&224!==n||(n=91),-1===h.indexOf(n)&&229!==n&&h.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(e){var r=c[e];t[e]&&-1===h.indexOf(r)?h.push(r):!t[e]&&h.indexOf(r)>-1?h.splice(h.indexOf(r),1):"metaKey"===e&&t[e]&&3===h.length&&(t.ctrlKey||t.shiftKey||t.altKey||(h=h.slice(h.indexOf(r))))})),n in f){for(var i in f[n]=!0,u)u[i]===n&&(N[i]=!0);if(!r)return}for(var a in f)Object.prototype.hasOwnProperty.call(f,a)&&(f[a]=t[c[a]]);t.getModifierState&&(!t.altKey||t.ctrlKey)&&t.getModifierState("AltGraph")&&(-1===h.indexOf(17)&&h.push(17),-1===h.indexOf(18)&&h.push(18),f[17]=!0,f[18]=!0);var o=b();if(r)for(var s=0;s1&&(s=a(u,t)),(t="*"===(t=t[t.length-1])?"*":y(t))in l||(l[t]=[]),l[t].push({keyup:v,keydown:b,scope:c,mods:s,shortcut:n[g],method:r,key:n[g],splitKey:w,element:p});"undefined"!==typeof p&&!function(t){return m.indexOf(t)>-1}(p)&&window&&(m.push(p),i(p,"keydown",(function(t){T(t,p)}),E),d||(d=!0,i(window,"focus",(function(){h=[]}),E)),i(p,"keyup",(function(t){T(t,p),function(t){var e=t.keyCode||t.which||t.charCode,r=h.indexOf(e);if(r>=0&&h.splice(r,1),t.key&&"meta"===t.key.toLowerCase()&&h.splice(0,h.length),93!==e&&224!==e||(e=91),e in f)for(var n in f[e]=!1,u)u[n]===e&&(N[n]=!1)}(t)}),E))}var S={setScope:v,getScope:b,deleteScope:function(t,e){var r,n;for(var i in t||(t=b()),l)if(Object.prototype.hasOwnProperty.call(l,i))for(r=l[i],n=0;n1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(l).forEach((function(r){var n=l[r].find((function(r){return r.scope===e&&r.shortcut===t}));n&&n.method&&n.method()}))},unbind:function(t){if("undefined"===typeof t)Object.keys(l).forEach((function(t){return delete l[t]}));else if(Array.isArray(t))t.forEach((function(t){t.key&&w(t)}));else if("object"===typeof t)t.key&&w(t);else if("string"===typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function s(){this.values=i(null)}function u(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"===typeof i[a]){var o=i[a].split(r);if(2===o.length)e(o[0].trim(),o[1].trim())}}function c(t,e,r){var n=t;function i(){var e=o(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function c(){t=t.replace(/^\s+/,"")}if(c(),e.startTime=i(),c(),"--\x3e"!==t.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);t=t.substr(3),c(),e.endTime=i(),c(),function(t,e){var n=new s;u(t,(function(t,e){switch(t){case"region":for(var i=r.length-1;i>=0;i--)if(r[i].id===e){n.set(t,r[i].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var a=e.split(","),o=a[0];n.integer(t,o),n.percent(t,o)&&n.set("snapToLines",!1),n.alt(t,o,["auto"]),2===a.length&&n.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=e.split(","),n.percent(t,a[0]),2===a.length&&n.alt("positionAlign",a[1],["start","center","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","center","end","left","right"])}}),/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical","");try{e.line=n.get("line","auto")}catch(i){}e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100);try{e.align=n.get("align","center")}catch(i){e.align=n.get("align","middle")}try{e.position=n.get("position","auto")}catch(i){e.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(t,e)}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n=0&&e<=100)&&(this.set(t,e),!0)}};var f=n.createElement&&n.createElement("textarea"),l={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},p={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},h={v:"title",lang:"lang"},d={rt:"ruby"};function g(t,e){function r(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}function n(t,e){return!d[e.localName]||d[e.localName]===t.localName}function i(e,r){var n=l[e];if(!n)return null;var i=t.document.createElement(n),a=h[e];return a&&r&&(i[a]=r.trim()),i}for(var a,s,u=t.document.createElement("div"),c=u,g=[];null!==(a=r());)if("<"!==a[0])c.appendChild(t.document.createTextNode((s=a,f.innerHTML=s,s=f.textContent,f.textContent="",s)));else{if("/"===a[1]){g.length&&g[g.length-1]===a.substr(2).replace(">","")&&(g.pop(),c=c.parentNode);continue}var m,y=o(a.substr(1,a.length-2));if(y){m=t.document.createProcessingInstruction("timestamp",y),c.appendChild(m);continue}var v=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!v)continue;if(!(m=i(v[1],v[3])))continue;if(!n(c,m))continue;if(v[2]){var b=v[2].split(".");b.forEach((function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(p.hasOwnProperty(r)){var n=e?"background-color":"color",i=p[r];m.style[n]=i}})),m.className=b.join(" ")}g.push(v[1]),c.appendChild(m),c=m}return u}var m=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function y(t){for(var e=0;e=r[0]&&t<=r[1])return!0}return!1}function v(t){var e=[],r="";if(!t||!t.childNodes)return"ltr";function n(t,e){for(var r=e.childNodes.length-1;r>=0;r--)t.push(e.childNodes[r])}function i(t){if(!t||!t.length)return null;var e=t.pop(),r=e.textContent||e.innerText;if(r){var a=r.match(/^.*(\n|\r)/);return a?(t.length=0,a[0]):r}return"ruby"===e.tagName?i(t):e.childNodes?(n(t,e),i(t)):void 0}for(n(e,t);r=i(e);)for(var a=0;a=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,r=e.textTrackList,n=0,i=0;il&&(f=f<0?-1:1,f*=Math.ceil(l/c)*c),o<0&&(f+=""===a.vertical?r.height:r.width,s=s.reverse()),i.move(p,f)}else{var h=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":o-=h/2;break;case"end":o-=h}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new E(e)}var d=function(t,e){for(var i,a=new E(t),o=1,s=0;su&&(i=new E(t),o=u),t=new E(a)}return i||a}(i,s);e.move(d.toCSSCompatValues(r))}function N(){}b.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},b.prototype.formatStyle=function(t,e){return 0===t?0:t+e},w.prototype=i(b.prototype),w.prototype.constructor=w,E.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},E.prototype.overlaps=function(t){return this.leftt.left&&this.topt.top},E.prototype.overlapsAny=function(t){for(var e=0;e=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},E.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.leftt.right;case"+y":return this.topt.bottom}},E.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},E.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},E.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},N.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!==typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},N.convertCueToDOMTree=function(t,e){return t&&e?g(t,e):null};N.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),function(t){for(var e=0;e100)throw new Error("Position must be between 0 and 100.");g=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return m},set:function(t){var e=n(t);e?(m=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");y=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(t){var e=n(t);if(!e)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");v=e,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=i},13710:function(t){var e={"":!0,up:!0};function r(t){return"number"===typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,n=3,i=0,a=100,o=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!==typeof t)throw new TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var r=function(t){return"string"===typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase()}(t);!1===r?console.warn("Scroll: an invalid or illegal string was specified."):u=r}}})}},10434:function(t){function e(){return t.exports=e=Object.assign?Object.assign.bind():function(t){for(var e=1;er){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=u.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,y=d.getContainer,w=void 0===y?void 0:y,C=d.current,Z=void 0===C?0:C,E=d.countRender,N=void 0===E?void 0:E,O=(0,s.Z)(d,x),P=(0,u.useState)(new Map),z=(0,c.Z)(P,2),k=z[0],S=z[1],M=(0,u.useState)(),R=(0,c.Z)(M,2),_=R[0],H=R[1],L=(0,m.Z)(!!p,{value:p,onChange:h}),V=(0,c.Z)(L,2),I=V[0],B=V[1],T=(0,u.useState)(null),F=(0,c.Z)(T,2),W=F[0],D=F[1],A=void 0!==p,G=Array.from(k.keys())[Z],X=new Map(Array.from(k).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 u.useEffect((function(){H(G)}),[G]),u.useEffect((function(){!I&&A&&H(G)}),[G,A,I]),u.createElement(b,{value:{isPreviewGroup:!0,previewUrls:X,setPreviewUrls:S,current:_,setCurrent:H,setShowPreview:B,setMousePosition:D,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,u.createElement(j,(0,r.Z)({"aria-hidden":!I,visible:I,prefixCls:n,onClose:function(e){e.stopPropagation(),B(!1),D(null)},mousePosition:W,src:X.get(_),icons:l,getContainer:w,countRender:N},O)))},N=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","countRender"],O=u.useState,P=u.useEffect,z=u.useCallback,k=u.useRef,S=u.useContext,M={x:0,y:0},j=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,j=e.countRender,R=(0,s.Z)(e,N),_=b.rotateLeft,H=b.rotateRight,L=b.zoomIn,V=b.zoomOut,I=b.close,B=b.left,T=b.right,F=O(1),W=(0,c.Z)(F,2),D=W[0],A=W[1],G=O(0),X=(0,c.Z)(G,2),Y=X[0],U=X[1],K=function(e){var t=u.useRef(null),n=u.useState(e),r=(0,c.Z)(n,2),a=r[0],o=r[1],l=u.useRef([]);return u.useEffect((function(){return function(){return t.current&&w.Z.cancel(t.current)}}),[]),[a,function(e){null===t.current&&(l.current=[],t.current=(0,w.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)}]}(M),Q=(0,c.Z)(K,2),q=Q[0],J=Q[1],$=k(),ee=k({originX:0,originY:0,deltaX:0,deltaY:0}),te=O(!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,se=oe.setCurrent,ue=ie.size,fe=Array.from(ie.keys()),de=fe.indexOf(le),ve=ce?ie.get(le):a,me=ce&&ue>1,pe=O({wheelDirection:0}),ge=(0,c.Z)(pe,2),he=ge[0],ye=ge[1],we=function(){A((function(e){return e+1})),J(M)},Ce=function(){D>1&&A((function(e){return e-1})),J(M)},xe=d()((0,l.Z)({},"".concat(n,"-moving"),re)),Ze="".concat(n,"-operations-operation"),be="".concat(n,"-operations-icon"),Ee=[{icon:I,onClick:f,type:"close"},{icon:L,onClick:we,type:"zoomIn"},{icon:V,onClick:Ce,type:"zoomOut",disabled:1===D},{icon:H,onClick:function(){U((function(e){return e+90}))},type:"rotateRight"},{icon:_,onClick:function(){U((function(e){return e-90}))},type:"rotateLeft"}],Ne=function(){if(m&&re){var e=$.current.offsetWidth*D,t=$.current.offsetHeight*D,n=$.current.getBoundingClientRect(),r=n.left,a=n.top,o=Y%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&&J((0,i.Z)({},l))}},Oe=function(e){m&&re&&J({x:e.pageX-ee.current.deltaX,y:e.pageY-ee.current.deltaY})},Pe=function(e){if(m){e.preventDefault();var t=e.deltaY;ye({wheelDirection:t})}},ze=z((function(e){m&&me&&(e.preventDefault(),e.keyCode===h.Z.LEFT?de>0&&se(fe[de-1]):e.keyCode===h.Z.RIGHT&&de0?Ce():e<0&&we()}),[he]),P((function(){var e,t,n=(0,g.Z)(window,"mouseup",Ne,!1),r=(0,g.Z)(window,"mousemove",Oe,!1),a=(0,g.Z)(window,"wheel",Pe,{passive:!1}),o=(0,g.Z)(window,"keydown",ze,!1);try{window.top!==window.self&&(e=(0,g.Z)(window.top,"mouseup",Ne,!1),t=(0,g.Z)(window.top,"mousemove",Oe,!1))}catch(i){(0,y.Kp)(!1,"[rc-image] ".concat(i))}return function(){n.remove(),r.remove(),a.remove(),o.remove(),e&&e.remove(),t&&t.remove()}}),[m,re,ze]),u.createElement(p.Z,(0,r.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:n,onClose:f,afterClose:function(){A(1),U(0),J(M)},visible:m,wrapClassName:xe,rootClassName:E},R),u.createElement("ul",{className:"".concat(n,"-operations")},me&&u.createElement("li",{className:"".concat(n,"-operations-progress")},null!==(t=null===j||void 0===j?void 0:j(de+1,ue))&&void 0!==t?t:"".concat(de+1," / ").concat(ue)),Ee.map((function(e){var t=e.icon,r=e.onClick,a=e.type,o=e.disabled;return u.createElement("li",{className:d()(Ze,(0,l.Z)({},"".concat(n,"-operations-operation-disabled"),!!o)),onClick:r,key:a},u.isValidElement(t)?u.cloneElement(t,{className:be}):t)}))),u.createElement("div",{className:"".concat(n,"-img-wrapper"),style:{transform:"translate3d(".concat(q.x,"px, ").concat(q.y,"px, 0)")}},u.createElement("img",{width:e.width,height:e.height,onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),ee.current.deltaX=e.pageX-q.x,ee.current.deltaY=e.pageY-q.y,ee.current.originX=q.x,ee.current.originY=q.y,ae(!0))},onDoubleClick:function(){m&&(1!==D&&A(1),q.x===M.x&&q.y===M.y||J(M))},ref:$,className:"".concat(n,"-img"),src:ve,alt:o,style:{transform:"scale3d(".concat(D,", ").concat(D,", 1) rotate(").concat(Y,"deg)")}})),me&&u.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&&se(fe[de-1])}},B),me&&u.createElement("div",{className:d()("".concat(n,"-switch-right"),(0,l.Z)({},"".concat(n,"-switch-right-disabled"),de===ue-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,O=e.style,P=void 0===O?{}:O,z=e.collapsible,k=void 0!==z&&z,S=e.reverseArrow,M=void 0!==S&&S,j=e.width,R=void 0===j?200:j,_=e.collapsedWidth,H=void 0===_?80:_,L=e.zeroWidthTriggerStyle,V=e.breakpoint,I=e.onCollapse,B=e.onBreakpoint,T=h(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),F=(0,v.useContext)(g.LayoutContext).siderHook,W=(0,v.useState)("collapsed"in T?T.collapsed:b),D=(0,l.default)(W,2),A=D[0],G=D[1],X=(0,v.useState)(!1),Y=(0,l.default)(X,2),U=Y[0],K=Y[1];(0,v.useEffect)((function(){"collapsed"in T&&G(T.collapsed)}),[T.collapsed]);var Q=function(e,t){"collapsed"in T||G(e),null===I||void 0===I||I(e,t)},q=(0,v.useRef)();q.current=function(e){K(e.matches),null===B||void 0===B||B(e.matches),A!==e.matches&&Q(e.matches,"responsive")},(0,v.useEffect)((function(){function e(e){return q.current(e)}var t;if("undefined"!==typeof window){var n=window.matchMedia;if(n&&V&&V in y){t=n("(max-width: ".concat(y[V],")"));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)}}}),[V]),(0,v.useEffect)((function(){var e=C("ant-sider-");return F.addSider(e),function(){return F.removeSider(e)}}),[]);var J=function(){Q(!A,"clickTrigger")},$=(0,v.useContext)(m.ConfigContext).getPrefixCls,ee=v.useMemo((function(){return{siderCollapsed:A}}),[A]);return v.createElement(w.Provider,{value:ee},function(){var e,l=$("layout-sider",n),m=(0,d.default)(T,["collapsed"]),g=A?H:R,h=(0,p.default)(g)?"".concat(g,"px"):String(g),y=0===parseFloat(String(H||0))?v.createElement("span",{onClick:J,className:(0,f.default)("".concat(l,"-zero-width-trigger"),"".concat(l,"-zero-width-trigger-").concat(M?"right":"left")),style:L},a||v.createElement(c.default,null)):null,w={expanded:M?v.createElement(u.default,null):v.createElement(s.default,null),collapsed:M?v.createElement(s.default,null):v.createElement(u.default,null)}[A?"collapsed":"expanded"],C=null!==a?y||v.createElement("div",{className:"".concat(l,"-trigger"),onClick:J,style:{width:h}},a||w):null,Z=(0,i.default)((0,i.default)({},P),{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"),!!A),(0,o.default)(e,"".concat(l,"-has-trigger"),k&&null!==a&&!y),(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),k||U&&y?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)),s=a(n(94184)),u=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),y),E=u.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 u.createElement(v.Provider,{value:E},u.createElement(x,(0,c.default)({ref:t,className:b},Z),w))})),h=m({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),y=m({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(p);t.Header=y;var w=m({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(p);t.Footer=w;var C=m({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(p);t.Content=C;var x=h;t.default=x},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/7900-a9ddaa4c2db8e5fa.js b/static/web/_next/static/chunks/7900-a9ddaa4c2db8e5fa.js deleted file mode 100644 index 6467c142b..000000000 --- a/static/web/_next/static/chunks/7900-a9ddaa4c2db8e5fa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7900],{94149:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(1413),r=t(67294),c={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"},o=t(42135),i=function(e,n){return r.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:n,icon:c}))};i.displayName="LockOutlined";var l=r.forwardRef(i)},87547:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(1413),r=t(67294),c={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"},o=t(42135),i=function(e,n){return r.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:n,icon:c}))};i.displayName="UserOutlined";var l=r.forwardRef(i)},54907:function(e,n,t){t.d(n,{Z:function(){return M}});var a=t(87462),r=t(4942),c=t(18073),o=t(94184),i=t.n(o),l=t(74902),s=t(15671),d=t(43144),u=t(60136),p=t(33643),v=t(71002),f=t(67294),m=t(96774),h=t.n(m),y=t(50344),C=t(62874),Z=t(97685),x=f.forwardRef((function(e,n){var t,a=e.prefixCls,c=e.forceRender,o=e.className,l=e.style,s=e.children,d=e.isActive,u=e.role,p=f.useState(d||c),v=(0,Z.Z)(p,2),m=v[0],h=v[1];return f.useEffect((function(){(c||d)&&h(!0)}),[c,d]),m?f.createElement("div",{ref:n,className:i()("".concat(a,"-content"),(t={},(0,r.Z)(t,"".concat(a,"-content-active"),d),(0,r.Z)(t,"".concat(a,"-content-inactive"),!d),t),o),style:l,role:u},f.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));x.displayName="PanelContent";var b=x,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),c=0;c-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,c=r.prefixCls,o=r.openMotion,i=r.accordion,l=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,u=e.key||String(n),p=e.props,v=p.header,m=p.headerClass,h=p.destroyInactivePanel,y=p.collapsible,C=null!==y&&void 0!==y?y:d,Z={key:u,panelKey:u,header:v,headerClass:m,isActive:i?t[0]===u:t.indexOf(u)>-1,prefixCls:c,destroyInactivePanel:null!==h&&void 0!==h?h:l,openMotion:o,accordion:i,children:e.props.children,onItemClick:"disabled"===C?null:a.onClickItem,expandIcon:s,collapsible:C};return"string"===typeof e.type?e:(Object.keys(Z).forEach((function(e){"undefined"===typeof Z[e]&&delete Z[e]})),f.cloneElement(e,Z))},a.getItems=function(){var e=a.props.children;return(0,y.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,c=e.defaultActiveKey;return"activeKey"in e&&(c=r),a.state={activeKey:I(c)},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,c=n.style,o=n.accordion,l=i()((e={},(0,r.Z)(e,t,!0),(0,r.Z)(e,a,!!a),e));return f.createElement("div",{className:l,style:c,role:o?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=I(e.activeKey)),n}}]),t}(f.Component);g.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},g.Panel=N;var E=g,w=(g.Panel,t(98423)),P=t(53124),K=t(33603),A=t(96159),S=function(e){var n,t=f.useContext(P.E_),o=t.getPrefixCls,l=t.direction,s=e.prefixCls,d=e.className,u=void 0===d?"":d,p=e.bordered,v=void 0===p||p,m=e.ghost,h=e.expandIconPosition,C=void 0===h?"start":h,Z=o("collapse",s),x=f.useMemo((function(){return"left"===C?"start":"right"===C?"end":C}),[C]),b=i()("".concat(Z,"-icon-position-").concat(x),(n={},(0,r.Z)(n,"".concat(Z,"-borderless"),!v),(0,r.Z)(n,"".concat(Z,"-rtl"),"rtl"===l),(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 f.createElement(E,(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):f.createElement(c.Z,{rotate:n.isActive?90:void 0});return(0,A.Tm)(a,(function(){return{className:i()(a.props.className,"".concat(Z,"-arrow"))}}))},prefixCls:Z,className:b}),function(){var n=e.children;return(0,y.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),c=e.props,o=c.disabled,i=c.collapsible,l=(0,a.Z)((0,a.Z)({},(0,w.Z)(e.props,["disabled"])),{key:r,collapsible:null!==i&&void 0!==i?i:o?"disabled":void 0});return(0,A.Tm)(e,l)}return e}))}())};S.Panel=function(e){var n=f.useContext(P.E_).getPrefixCls,t=e.prefixCls,c=e.className,o=void 0===c?"":c,l=e.showArrow,s=void 0===l||l,d=n("collapse",t),u=i()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),o);return f.createElement(E.Panel,(0,a.Z)({},e,{prefixCls:d,className:u}))};var M=S}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/808-07108fcf4fe95c6c.js b/static/web/_next/static/chunks/808-07108fcf4fe95c6c.js deleted file mode 100644 index 6992ccc6f..000000000 --- a/static/web/_next/static/chunks/808-07108fcf4fe95c6c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[808],{60808:function(e,t,n){"use strict";n.d(t,{u:function(){return Ie}});var r=n(85893),s=n(9764),a=n(67294),o=n(36531),i=n(11622),c=n(13545),l=n.n(c),u=n(14924),d=n(47049),h=n(86492),m=n.n(h),f=n(94184),p=n.n(f),g=n(94199),x=n(29158),j=n(4480),v=n(78583),_=n.n(v);function y(e){var t=new Date(e);if(Number.isNaN(t))return"";if(function(e){var t="string"===typeof e?new Date(e):e;return(new Date-t)/864e5}(e)>=1){var n=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"at ".concat(n," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var C,N,b,M,w,S=n(47568),Z=n(70655),k=n(11475),E=n(90420),T=n(18429),A=n(64942),U=n(85402),B=n(12461),D=n(66516),O=n(38504),I=n(26713),R=n(25968),P=n(6226),L=n(71577),F=n(11382),H=n(51438),W=function(){function e(){(0,H.Z)(this,e)}return e.removeMessage=function(e,t){return(0,S.Z)((function(){var n,r,s;return(0,Z.__generator)(this,(function(a){switch(a.label){case 0:return(n=new URL("/api/chat/messagevisibility",window.location.toString())).searchParams.append("accessToken",t),r=n.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({idArray:[e]})},[4,fetch(r,s)];case 1:return a.sent(),[2]}}))}))()},e.banUser=function(e,t){return(0,S.Z)((function(){var n,r,s;return(0,Z.__generator)(this,(function(a){switch(a.label){case 0:return(n=new URL("/api/chat/users/setenabled",window.location.toString())).searchParams.append("accessToken",t),r=n.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})},[4,fetch(r,s)];case 1:return a.sent(),[2]}}))}))()},e}(),J=n(62638),V=n.n(J),Y=function(){var e=(0,S.Z)((function(e,t){return(0,Z.__generator)(this,(function(n){try{W.removeMessage(e,t)}catch(r){console.error(r)}return[2]}))}));return function(t,n){return e.apply(this,arguments)}}(),z=function(e){var t=e.label,n=e.value;return(0,r.jsxs)(R.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(P.Z,{span:12,children:t}),(0,r.jsx)(P.Z,{span:12,children:n})]})},G=function(e){var t=e.id,n=e.body,s=e.accessToken;return(0,r.jsxs)(R.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(P.Z,{span:18,children:n}),(0,r.jsx)(P.Z,{children:(0,r.jsx)(L.Z,{onClick:function(){return Y(t,s)},children:"X"})})]})},X=function(e){var t=e.client,n=t.messageCount,s=t.userAgent,a=t.connectedAt,o=t.geo;return(0,r.jsxs)("div",{children:[(0,r.jsx)(z,{label:"Messages Sent",value:"".concat(n)}),(0,r.jsx)(z,{label:"Geo",value:o}),(0,r.jsx)(z,{label:"Connected At",value:a.toString()}),(0,r.jsx)(z,{label:"User Agent",value:s})]})},q=function(e){var t=e.color,n="var(--theme-color-users-".concat(t,")");return(0,r.jsxs)(R.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(P.Z,{span:12,children:"Color"}),(0,r.jsx)(P.Z,{span:12,children:(0,r.jsx)("div",{className:V().colorBlock,style:{backgroundColor:n},children:t})})]})},K=function(e){var t=e.userId,n=e.accessToken,s=(0,a.useState)(null),o=s[0],i=s[1],c=(0,a.useState)(!0),l=c[0],u=c[1],d=function(){var e=(0,S.Z)((function(){var e,n;return(0,Z.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,fetch("/api/moderation/chat/user/".concat(t))];case 1:return[4,r.sent().json()];case 2:return e=r.sent(),i(e),u(!1),[3,4];case 3:return n=r.sent(),console.error(n),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();if((0,a.useEffect)((function(){d()}),[]),!o)return null;var h=o.user,m=o.connectedClients,f=o.messages,p=h.displayName,g=h.displayColor,x=h.createdAt,j=h.previousNames,v=h.scopes,_=h.isBot,y=h.authenticated;return(0,r.jsx)("div",{className:V().modalContainer,children:(0,r.jsxs)(F.Z,{spinning:l,children:[(0,r.jsx)("h1",{children:p}),(0,r.jsxs)(R.Z,{justify:"space-around",align:"middle",children:[v.map((function(e){return(0,r.jsx)(P.Z,{children:e})})),y&&(0,r.jsx)(P.Z,{children:"Authenticated"}),_&&(0,r.jsx)(P.Z,{children:"Bot"})]}),(0,r.jsx)(q,{color:g}),(0,r.jsx)(z,{label:"User Created",value:x.toString()}),(0,r.jsx)(z,{label:"Previous Names",value:j.join(",")}),(0,r.jsx)("hr",{}),(0,r.jsx)("h2",{children:"Currently Connected"}),m.length>0&&(0,r.jsx)(R.Z,{gutter:[15,15],wrap:!0,children:m.map((function(e){return(0,r.jsx)(P.Z,{flex:"auto",children:(0,r.jsx)(X,{client:e})})}))}),(0,r.jsx)("hr",{}),f.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{children:"Recent Chat Messages"}),(0,r.jsx)("div",{className:V().chatHistory,children:f.map((function(e){return(0,r.jsx)(G,{id:e.id,body:e.body,accessToken:n},e.id)}))})]})]})})},Q=n(31833),$=n.n(Q),ee=U.Z.confirm,te=function(e){var t=e.messageID,n=e.userID,s=e.userDisplayName,o=e.accessToken,i=(0,a.useState)(!1),c=i[0],l=i[1],u=function(){var e=(0,S.Z)((function(){var e;return(0,Z.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,W.banUser(n,o)];case 1:return t.sent(),[3,3];case 2:return e=t.sent(),console.error(e),B.ZP.error(e),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),d=function(){var e=(0,S.Z)((function(){var e;return(0,Z.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,W.removeMessage(t,o)];case 1:return n.sent(),[3,3];case 2:return e=n.sent(),console.error(e),B.ZP.error(e),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),h=function(){var e=(0,S.Z)((function(){return(0,Z.__generator)(this,(function(e){return ee({icon:(0,r.jsx)(k.Z,{}),content:"Are you sure you want to remove this message from ".concat(s,"?"),onOk:function(){d()}}),[2]}))}));return function(){return e.apply(this,arguments)}}(),m=function(){var e=(0,S.Z)((function(){return(0,Z.__generator)(this,(function(e){return ee({icon:(0,r.jsx)(k.Z,{}),content:"Are you sure you want to ban ".concat(s," from chat?"),onOk:function(){u()}}),[2]}))}));return function(){return e.apply(this,arguments)}}(),f=(0,r.jsx)(D.Z,{onClick:function(e){var t=e.key;"hide-message"===t?h():"ban-user"===t?m():"more-info"===t&&l(!0)},items:[{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:$().icon,children:(0,r.jsx)(E.Z,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:$().icon,children:(0,r.jsx)(T.Z,{})}),"Ban User"]}),key:"ban-user"},{label:(0,r.jsx)("div",{children:"More Info..."}),key:"more-info"}]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(O.Z,{overlay:f,trigger:["click"],children:(0,r.jsx)("button",{type:"button",onClick:function(e){return e.preventDefault()},children:(0,r.jsx)(I.Z,{children:(0,r.jsx)(A.Z,{})})})}),(0,r.jsx)(U.Z,{visible:c,okText:"Ban User",okButtonProps:{danger:!0},onOk:u,onCancel:function(){l(!1)},children:(0,r.jsx)(K,{userId:n,accessToken:o})})]})},ne=n(79010),re=n.n(ne),se=function(e){var t=e.badge,n=e.userColor,s="var(--theme-user-colors-".concat(n,")"),a={color:s,borderColor:s};return(0,r.jsx)("span",{style:a,className:re().badge,children:t})},ae=n(1899),oe=function(e){var t=e.message,n=e.highlightString,s=e.showModeratorMenu,o=e.sentBySelf,i=e.sameUserAsLast,c=e.isAuthorModerator,l=e.isAuthorAuthenticated,h=t.id,f=t.body,v=t.user,C=t.timestamp,N=v.id,b=v.displayName,M=v.displayColor,w=(0,j.sJ)(ae.FI),S="var(--theme-color-users-".concat(M,")"),Z="Sent ".concat(y(C)),k=(0,a.useState)(f),E=k[0],T=k[1],A=[];return c&&A.push((0,r.jsx)(se,{badge:"mod",userColor:M},"mod")),l&&A.push((0,r.jsx)(se,{badge:(0,r.jsx)(x.Z,{title:"authenticated"}),userColor:M},"auth")),(0,a.useEffect)((function(){T(m().decode(f))}),[t]),(0,r.jsx)("div",{className:p()(_().messagePadding,i&&_().messagePaddingCollapsed),children:(0,r.jsxs)("div",{className:p()(_().root,(0,u.Z)({},_().ownMessage,o)),style:{borderColor:S},children:[!i&&(0,r.jsx)(g.Z,{title:"user info goes here",placement:"topLeft",mouseEnterDelay:1,children:(0,r.jsxs)("div",{className:_().user,style:{color:S},children:[(0,r.jsx)("span",{className:_().userName,children:b}),(0,r.jsx)("span",{children:A})]})}),(0,r.jsx)(g.Z,{title:Z,mouseEnterDelay:1,children:(0,r.jsx)(d.y,{search:n,children:(0,r.jsx)("div",{className:_().message,dangerouslySetInnerHTML:{__html:E}})})}),s&&(0,r.jsx)("div",{className:_().modMenuWrapper,children:(0,r.jsx)(te,{messageID:h,accessToken:w,userID:N,userDisplayName:b})}),(0,r.jsx)("div",{className:_().background,style:{color:S}})]})})},ie=n(26042),ce=n(69396),le=n(828),ue=n(93045),de=n(27496),he=n(55241),me=n(77493),fe=n(96391),pe=n(57741),ge=function(e){var t=(0,a.useState)([]),n=t[0],s=t[1],o=e.onEmojiSelect,i=e.onCustomEmojiSelect,c=(0,a.useRef)(),l=function(){var e=(0,S.Z)((function(){var e,t;return(0,Z.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,fetch("/api/emoji")];case 1:return[4,n.sent().json()];case 2:return e=n.sent(),s(e),[3,4];case 3:return t=n.sent(),console.error("cannot fetch custom emoji",t),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,a.useEffect)((function(){l()}),[]),(0,a.useEffect)((function(){var e=n.map((function(e){return{emoji:e.name,label:e.name,url:e.url}}));(0,pe.wU)({rootElement:c.current,custom:e,initialCategory:"custom",showPreview:!1,showRecents:!0}).addEventListener("emoji:select",(function(e){e.url?i(e):o(e)}))}),[n]),(0,r.jsx)("div",{ref:c})},xe=n(25882),je=n.n(xe),ve=function(e){var t=e.attributes,n=e.element,s=e.children,a=(0,fe.vt)(),o=(0,fe.UE)();return(0,r.jsxs)("span",(0,ce.Z)((0,ie.Z)({},t),{contentEditable:!1,children:[(0,r.jsx)("img",{alt:n.alt,src:n.src,title:n.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(a&&o?"0 0 0 3px #B4D5FF":"none")}}),s]}))},_e=function(e){var t,n;if(me.xv.isText(e))return e.text;0===e.children.length?t=[{text:""}]:t=null===(n=e.children)||void 0===n?void 0:n.map((function(e){return _e(e)})).join("");switch(e.type){case"paragraph":return"

        ".concat(t,"

        ");case"image":return'').concat(e.alt,'');default:return t}},ye=function(){var e=(0,a.useState)(!1),t=e[0],n=e[1],s=(0,j.sJ)(ae.Gt),o=(0,a.useMemo)((function(){return(0,fe.BU)(function(e){var t=e.isVoid;return e.isVoid=function(e){return"image"===e.type||t(e)},e.isInline=function(e){return"image"===e.type},e}((0,me.Jh)()))}),[]),c=function(){if(s){var e=_e(o);s.send({type:i.C.CHAT,body:e}),me.YR.delete(o,{at:{anchor:me.ML.start(o,[]),focus:me.ML.end(o,[])}})}else console.log("websocketService is not defined")},l=function(e,t){if(e){var n=o.selection,r=function(e,t,n){return{type:"image",alt:e,src:t,name:n,children:[{text:""}]}}(t,e,t);if(me.YR.insertNodes(o,r,{select:!0}),n){var s,a=(0,le.Z)(me.ML.parent(o,null===(s=n.focus)||void 0===s?void 0:s.path),2),i=a[0],c=a[1];o.isVoid(i)||me.NB.string(i).length?me.YR.insertNodes(o,r,{at:me.y$.next(c),select:!0}):(me.YR.insertNodes(o,r,{at:c,select:!0}),me.ML.normalize(o,{force:!0}))}else me.YR.insertNodes(o,r,{select:!0})}};return(0,r.jsx)("div",{className:je().root,children:(0,r.jsxs)("div",{className:je().inputWrap,children:[(0,r.jsxs)(fe.mH,{editor:o,value:[{type:"paragraph",children:[{text:""}]}],children:[(0,r.jsx)(fe.CX,{onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),c())},renderElement:function(e){return"image"===e.element.type?(0,r.jsx)(ve,(0,ie.Z)({},e)):(0,r.jsx)("p",(0,ie.Z)({},e))},placeholder:"Chat message goes here...",style:{width:"100%"},autoFocus:!0}),(0,r.jsx)(he.Z,{content:(0,r.jsx)(ge,{onEmojiSelect:function(e){if(fe.F3.focus(o),e.url){var t=e.url;l(t,t)}else{var n=e.emoji;me.YR.insertText(o,n)}},onCustomEmojiSelect:function(e){fe.F3.focus(o);var t=e.url;l(t,t)}}),trigger:"click",onVisibleChange:function(e){return n(e)},visible:t})]}),(0,r.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,r.jsx)("button",{type:"button",className:je().emojiButton,title:"Emoji picker button",onClick:function(){return n(!t)},children:(0,r.jsx)(ue.Z,{})}),(0,r.jsx)("button",{type:"button",className:je().emojiButton,title:"Send message Button",onClick:c,children:(0,r.jsx)(de.Z,{})})]})]})})},Ce=n(93174),Ne=n.n(Ce);function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t12e4)&&r===(null===s||void 0===s?void 0:s.user.id)}function Oe(e){var t=e.user.scopes;return!(!t||0===t.length)&&t.includes("MODERATOR")}var Ie=function(e){var t=e.messages,n=e.usernameToHighlight,c=e.chatUserId,u=e.isModerator,d=e.showInput,h=e.height,m=(0,a.useState)(!1),f=m[0],p=m[1],g=(0,a.useRef)(null),x=function(e,s){switch(s.type){case i.C.CHAT:var a,d,h;return(0,r.jsx)(oe,{message:s,showModeratorMenu:u,highlightString:n,sentBySelf:(null===(a=s.user)||void 0===a?void 0:a.id)===c,sameUserAsLast:De(t,e),isAuthorModerator:null===(d=s.user.scopes)||void 0===d?void 0:d.includes("MODERATOR"),isAuthorAuthenticated:null===(h=s.user)||void 0===h?void 0:h.authenticated},s.id);case i.C.NAME_CHANGE:return function(e){var t=e.oldName,n=e.user,s=n.displayName,a=n.displayColor,i="var(--theme-color-users-".concat(a,")");return(0,r.jsxs)("div",{className:l().nameChangeView,children:[(0,r.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,r.jsx)(o.Z,{})}),(0,r.jsxs)("div",{className:l().nameChangeText,children:[(0,r.jsx)("span",{style:{color:i},children:t}),(0,r.jsx)("span",{className:l().plain,children:" is now known as "}),(0,r.jsx)("span",{style:{color:i},children:s})]})]})}(s);case i.C.CONNECTED_USER_INFO:return function(e){if(!Oe(e))return(0,r.jsx)("div",{style:{width:"1px",height:"1px"}});return(0,r.jsx)(we,{})}(s);case i.C.USER_JOINED:return function(e){var t=e.user,n=t.displayName,s=t.displayColor,a=Oe(e);return(0,r.jsx)(Ae,{displayName:n,userColor:s,isAuthorModerator:a})}(s);case i.C.SYSTEM:return(0,r.jsx)(ke,{message:s,highlightString:n},s.id);default:return null}},j=(0,a.useMemo)((function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.OO,{style:{height:h},className:l().virtuoso,ref:g,initialTopMostItemIndex:t.length-1,data:t,itemContent:function(e,t){return x(e,t)},followOutput:"auto",alignToBottom:!0,atBottomStateChange:function(e){return p(e)}}),!f&&(0,r.jsx)(Be,{chatContainerRef:g,messages:t})]})}),[t,n,c,u,f]);return(0,r.jsxs)("div",{className:l().chatContainer,children:[j,d&&(0,r.jsx)(ye,{})]})};Ie.defaultProps={showInput:!0,height:"auto"}},13545:function(e){e.exports={chatHeader:"ChatContainer_chatHeader__EJsYI",toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",toBottomBtn:"ChatContainer_toBottomBtn__453AG",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz"}},83066:function(e){e.exports={join:"ChatJoinMessage_join__fP0IQ"}},31833:function(e){e.exports={icon:"ChatModerationActionMenu_icon__9j6DF"}},62638:function(e){e.exports={modalContainer:"ChatModerationDetailsModal_modalContainer__czndV",chatHistory:"ChatModerationDetailsModal_chatHistory__PunRk",colorBlock:"ChatModerationDetailsModal_colorBlock___rAlw"}},93174:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},31681:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},25882:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",emojiButton:"ChatTextField_emojiButton__ON_Cu"}},79010:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},78583:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/808-1503529dee78750a.js b/static/web/_next/static/chunks/808-1503529dee78750a.js new file mode 100644 index 000000000..42457d693 --- /dev/null +++ b/static/web/_next/static/chunks/808-1503529dee78750a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[808],{60808:function(e,t,n){"use strict";n.d(t,{u:function(){return ze}});var r=n(85893),s=n(9764),a=n(67294),o=n(36531),i=n(11622),c=n(13545),l=n.n(c),u=n(14924),d=n(47049),h=n(86492),m=n.n(h),f=n(94184),p=n.n(f),g=n(94199),x=n(29158),v=n(4480),j=n(78583),_=n.n(j);function y(e){var t=new Date(e);if(Number.isNaN(t))return"";if(function(e){var t="string"===typeof e?new Date(e):e;return(new Date-t)/864e5}(e)>=1){var n=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"at ".concat(n," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var C,M,N,b,w,S=n(47568),Z=n(70655),k=n(11475),E=n(90420),T=n(18429),A=n(64942),D=n(85402),B=n(12461),O=n(66516),U=n(38504),I=n(26713),P=n(32365),R=n(54907),L=n(25968),F=n(6226),H=n(71577),W=n(11382),z=n(20550),J=n(10355),V=n(58091),Y=n(48689),G=n(51438),X=function(){function e(){(0,G.Z)(this,e)}return e.removeMessage=function(e,t){return(0,S.Z)((function(){var n,r,s;return(0,Z.__generator)(this,(function(a){switch(a.label){case 0:return(n=new URL("/api/chat/messagevisibility",window.location.toString())).searchParams.append("accessToken",t),r=n.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({idArray:[e]})},[4,fetch(r,s)];case 1:return a.sent(),[2]}}))}))()},e.banUser=function(e,t){return(0,S.Z)((function(){var n,r,s;return(0,Z.__generator)(this,(function(a){switch(a.label){case 0:return(n=new URL("/api/chat/users/setenabled",window.location.toString())).searchParams.append("accessToken",t),r=n.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})},[4,fetch(r,s)];case 1:return a.sent(),[2]}}))}))()},e}(),K=n(62638),q=n.n(K),Q=n(2766),$=R.Z.Panel,ee=function(){var e=(0,S.Z)((function(e,t){return(0,Z.__generator)(this,(function(n){try{X.removeMessage(e,t)}catch(r){console.error(r)}return[2]}))}));return function(t,n){return e.apply(this,arguments)}}(),te=function(e){var t=e.label,n=e.value;return(0,r.jsxs)(L.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(F.Z,{span:12,children:t}),(0,r.jsx)(F.Z,{span:12,children:n})]})},ne=function(e){var t=e.client,n=t.messageCount,s=t.connectedAt,a=t.geo,o=(0,V.Z)(new Date(s),"PP pp");return(0,r.jsxs)("div",{children:[(0,r.jsx)(te,{label:"Messages Sent",value:"".concat(n)}),"N/A"!==a&&(0,r.jsx)(te,{label:"Geo",value:a}),(0,r.jsx)(te,{label:"Connected At",value:o})]})},re=function(e){var t=e.color,n="var(--theme-color-users-".concat(t,")");return(0,r.jsxs)("div",{className:q().colorBlock,style:{backgroundColor:n},children:["Color ",t]})},se=function(e){var t=e.userId,n=e.accessToken,s=(0,a.useState)(null),o=s[0],i=s[1],c=(0,a.useState)(!0),l=c[0],u=c[1],d=function(){var e=(0,S.Z)((function(){var e,r;return(0,Z.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),[4,fetch("/api/moderation/chat/user/".concat(t,"?accessToken=").concat(n))];case 1:return[4,s.sent().json()];case 2:return e=s.sent(),i(e),u(!1),[3,4];case 3:return r=s.sent(),console.error(r),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();if((0,a.useEffect)((function(){d()}),[]),!o)return null;var h=o.user,m=o.connectedClients,f=o.messages,p=h.displayColor,g=h.createdAt,x=h.previousNames,v=h.scopes,j=h.isBot,_=h.authenticated,y=m.reduce((function(e,t){return e+t.messageCount}),0),C=(0,V.Z)(new Date(g),"PP pp"),M=[{title:"Message",dataIndex:"body",key:"body"},{title:"Sent At",dataIndex:"timestamp",key:"timestamp",render:function(e){return(0,V.Z)(new Date(e),"PP pp")}},{title:"Delete",key:"delete",render:function(e,t){return(0,r.jsx)(H.Z,{type:"primary",ghost:!0,icon:(0,r.jsx)(Y.Z,{}),onClick:function(){return ee(t.id,n)}})}}];return(0,r.jsxs)(W.Z,{spinning:l,children:[(0,r.jsx)(re,{color:p}),v.map((function(e){return(0,r.jsx)(z.Z,{children:e},e)})),_&&(0,r.jsx)(z.Z,{children:"Authenticated"}),j&&(0,r.jsx)(z.Z,{children:"Bot"}),(0,r.jsx)(te,{label:"Messages Sent Across Clients",value:y.toString()}),(0,r.jsx)(te,{label:"User Created",value:C}),(0,r.jsx)(te,{label:"Known As",value:x.join(",")}),(0,r.jsxs)(R.Z,{accordion:!0,children:[(0,r.jsx)($,{header:"Currently Connected Clients",children:(0,r.jsx)(R.Z,{accordion:!0,children:m.map((function(e){return(0,r.jsx)($,{header:(0,Q.AB)(e.userAgent),children:(0,r.jsx)(ne,{client:e})},e.userAgent)}))})},"connected-clients"),(0,r.jsx)(R.Z,{accordion:!0,children:(0,r.jsx)($,{header:"Recent Chat Messages",children:(0,r.jsx)(J.Z,{size:"small",pagination:null,columns:M,dataSource:f})},"chat-messages")})]})]})},ae=n(31833),oe=n.n(ae),ie=D.Z.confirm,ce=function(e){var t=e.messageID,n=e.userID,s=e.userDisplayName,o=e.accessToken,i=(0,a.useState)(!1),c=i[0],l=i[1],u=function(){var e=(0,S.Z)((function(){var e;return(0,Z.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,X.banUser(n,o)];case 1:return t.sent(),[3,3];case 2:return e=t.sent(),console.error(e),B.ZP.error(e),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),d=function(){var e=(0,S.Z)((function(){var e;return(0,Z.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,X.removeMessage(t,o)];case 1:return n.sent(),[3,3];case 2:return e=n.sent(),console.error(e),B.ZP.error(e),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),h=function(){var e=(0,S.Z)((function(){return(0,Z.__generator)(this,(function(e){return ie({icon:(0,r.jsx)(k.Z,{}),content:"Are you sure you want to remove this message from ".concat(s,"?"),onOk:function(){d()}}),[2]}))}));return function(){return e.apply(this,arguments)}}(),m=function(){var e=(0,S.Z)((function(){return(0,Z.__generator)(this,(function(e){return ie({icon:(0,r.jsx)(k.Z,{}),content:"Are you sure you want to ban ".concat(s," from chat?"),onOk:function(){u()}}),[2]}))}));return function(){return e.apply(this,arguments)}}(),f=(0,r.jsx)(O.Z,{onClick:function(e){var t=e.key;"hide-message"===t?h():"ban-user"===t?m():"more-info"===t&&l(!0)},items:[{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:oe().icon,children:(0,r.jsx)(E.Z,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:oe().icon,children:(0,r.jsx)(T.Z,{})}),"Ban User"]}),key:"ban-user"},{label:(0,r.jsx)("div",{children:"More Info..."}),key:"more-info"}]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(U.Z,{overlay:f,trigger:["click"],children:(0,r.jsx)("button",{type:"button",onClick:function(e){return e.preventDefault()},children:(0,r.jsx)(I.Z,{children:(0,r.jsx)(A.Z,{})})})}),(0,r.jsx)(P.u,{title:s,visible:c,handleCancel:function(){l(!1)},children:(0,r.jsx)(se,{userId:n,accessToken:o})})]})},le=n(79010),ue=n.n(le),de=function(e){var t=e.badge,n=e.userColor,s="var(--theme-user-colors-".concat(n,")"),a={color:s,borderColor:s};return(0,r.jsx)("span",{style:a,className:ue().badge,children:t})},he=n(1899),me=function(e){var t=e.message,n=e.highlightString,s=e.showModeratorMenu,o=e.sentBySelf,i=e.sameUserAsLast,c=e.isAuthorModerator,l=e.isAuthorAuthenticated,h=t.id,f=t.body,j=t.user,C=t.timestamp,M=j.id,N=j.displayName,b=j.displayColor,w=(0,v.sJ)(he.FI),S="var(--theme-color-users-".concat(b,")"),Z="Sent ".concat(y(C)),k=(0,a.useState)(f),E=k[0],T=k[1],A=[];return c&&A.push((0,r.jsx)(de,{badge:"mod",userColor:b},"mod")),l&&A.push((0,r.jsx)(de,{badge:(0,r.jsx)(x.Z,{title:"authenticated"}),userColor:b},"auth")),(0,a.useEffect)((function(){T(m().decode(f))}),[t]),(0,r.jsx)("div",{className:p()(_().messagePadding,i&&_().messagePaddingCollapsed),children:(0,r.jsxs)("div",{className:p()(_().root,(0,u.Z)({},_().ownMessage,o)),style:{borderColor:S},children:[!i&&(0,r.jsx)(g.Z,{title:"user info goes here",placement:"topLeft",mouseEnterDelay:1,children:(0,r.jsxs)("div",{className:_().user,style:{color:S},children:[(0,r.jsx)("span",{className:_().userName,children:N}),(0,r.jsx)("span",{children:A})]})}),(0,r.jsx)(g.Z,{title:Z,mouseEnterDelay:1,children:(0,r.jsx)(d.y,{search:n,children:(0,r.jsx)("div",{className:_().message,dangerouslySetInnerHTML:{__html:E}})})}),s&&(0,r.jsx)("div",{className:_().modMenuWrapper,children:(0,r.jsx)(ce,{messageID:h,accessToken:w,userID:M,userDisplayName:N})}),(0,r.jsx)("div",{className:_().background,style:{color:S}})]})})},fe=n(26042),pe=n(69396),ge=n(828),xe=n(93045),ve=n(27496),je=n(55241),_e=n(77493),ye=n(96391),Ce=n(57741),Me=function(e){var t=(0,a.useState)([]),n=t[0],s=t[1],o=e.onEmojiSelect,i=e.onCustomEmojiSelect,c=(0,a.useRef)(),l=function(){var e=(0,S.Z)((function(){var e,t;return(0,Z.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,fetch("/api/emoji")];case 1:return[4,n.sent().json()];case 2:return e=n.sent(),s(e),[3,4];case 3:return t=n.sent(),console.error("cannot fetch custom emoji",t),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,a.useEffect)((function(){l()}),[]),(0,a.useEffect)((function(){var e=n.map((function(e){return{emoji:e.name,label:e.name,url:e.url}}));(0,Ce.wU)({rootElement:c.current,custom:e,initialCategory:"custom",showPreview:!1,showRecents:!0}).addEventListener("emoji:select",(function(e){e.url?i(e):o(e)}))}),[n]),(0,r.jsx)("div",{ref:c})},Ne=n(25882),be=n.n(Ne),we=function(e){var t=e.attributes,n=e.element,s=e.children,a=(0,ye.vt)(),o=(0,ye.UE)();return(0,r.jsxs)("span",(0,pe.Z)((0,fe.Z)({},t),{contentEditable:!1,children:[(0,r.jsx)("img",{alt:n.alt,src:n.src,title:n.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(a&&o?"0 0 0 3px #B4D5FF":"none")}}),s]}))},Se=function(e){var t,n;if(_e.xv.isText(e))return e.text;0===e.children.length?t=[{text:""}]:t=null===(n=e.children)||void 0===n?void 0:n.map((function(e){return Se(e)})).join("");switch(e.type){case"paragraph":return"

        ".concat(t,"

        ");case"image":return'').concat(e.alt,'');default:return t}},Ze=function(){var e=(0,a.useState)(!1),t=e[0],n=e[1],s=(0,v.sJ)(he.Gt),o=(0,a.useMemo)((function(){return(0,ye.BU)(function(e){var t=e.isVoid;return e.isVoid=function(e){return"image"===e.type||t(e)},e.isInline=function(e){return"image"===e.type},e}((0,_e.Jh)()))}),[]),c=function(){if(s){var e=Se(o);s.send({type:i.C.CHAT,body:e}),_e.YR.delete(o,{at:{anchor:_e.ML.start(o,[]),focus:_e.ML.end(o,[])}})}else console.log("websocketService is not defined")},l=function(e,t){if(e){var n=o.selection,r=function(e,t,n){return{type:"image",alt:e,src:t,name:n,children:[{text:""}]}}(t,e,t);if(_e.YR.insertNodes(o,r,{select:!0}),n){var s,a=(0,ge.Z)(_e.ML.parent(o,null===(s=n.focus)||void 0===s?void 0:s.path),2),i=a[0],c=a[1];o.isVoid(i)||_e.NB.string(i).length?_e.YR.insertNodes(o,r,{at:_e.y$.next(c),select:!0}):(_e.YR.insertNodes(o,r,{at:c,select:!0}),_e.ML.normalize(o,{force:!0}))}else _e.YR.insertNodes(o,r,{select:!0})}};return(0,r.jsx)("div",{className:be().root,children:(0,r.jsxs)("div",{className:be().inputWrap,children:[(0,r.jsxs)(ye.mH,{editor:o,value:[{type:"paragraph",children:[{text:""}]}],children:[(0,r.jsx)(ye.CX,{onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),c())},renderElement:function(e){return"image"===e.element.type?(0,r.jsx)(we,(0,fe.Z)({},e)):(0,r.jsx)("p",(0,fe.Z)({},e))},placeholder:"Chat message goes here...",style:{width:"100%"},autoFocus:!0}),(0,r.jsx)(je.Z,{content:(0,r.jsx)(Me,{onEmojiSelect:function(e){if(ye.F3.focus(o),e.url){var t=e.url;l(t,t)}else{var n=e.emoji;_e.YR.insertText(o,n)}},onCustomEmojiSelect:function(e){ye.F3.focus(o);var t=e.url;l(t,t)}}),trigger:"click",onVisibleChange:function(e){return n(e)},visible:t})]}),(0,r.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,r.jsx)("button",{type:"button",className:be().emojiButton,title:"Emoji picker button",onClick:function(){return n(!t)},children:(0,r.jsx)(xe.Z,{})}),(0,r.jsx)("button",{type:"button",className:be().emojiButton,title:"Send message Button",onClick:c,children:(0,r.jsx)(ve.Z,{})})]})]})})},ke=n(93174),Ee=n.n(ke);function Te(){return Te=Object.assign?Object.assign.bind():function(e){for(var t=1;t12e4)&&r===(null===s||void 0===s?void 0:s.user.id)}function We(e){var t=e.user.scopes;return!(!t||0===t.length)&&t.includes("MODERATOR")}var ze=function(e){var t=e.messages,n=e.usernameToHighlight,c=e.chatUserId,u=e.isModerator,d=e.showInput,h=e.height,m=(0,a.useState)(!1),f=m[0],p=m[1],g=(0,a.useRef)(null),x=function(e,s){switch(s.type){case i.C.CHAT:var a,d,h;return(0,r.jsx)(me,{message:s,showModeratorMenu:u,highlightString:n,sentBySelf:(null===(a=s.user)||void 0===a?void 0:a.id)===c,sameUserAsLast:He(t,e),isAuthorModerator:null===(d=s.user.scopes)||void 0===d?void 0:d.includes("MODERATOR"),isAuthorAuthenticated:null===(h=s.user)||void 0===h?void 0:h.authenticated},s.id);case i.C.NAME_CHANGE:return function(e){var t=e.oldName,n=e.user,s=n.displayName,a=n.displayColor,i="var(--theme-color-users-".concat(a,")");return(0,r.jsxs)("div",{className:l().nameChangeView,children:[(0,r.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,r.jsx)(o.Z,{})}),(0,r.jsxs)("div",{className:l().nameChangeText,children:[(0,r.jsx)("span",{style:{color:i},children:t}),(0,r.jsx)("span",{className:l().plain,children:" is now known as "}),(0,r.jsx)("span",{style:{color:i},children:s})]})]})}(s);case i.C.CONNECTED_USER_INFO:return function(e){if(!We(e))return(0,r.jsx)("div",{style:{width:"1px",height:"1px"}});return(0,r.jsx)(De,{})}(s);case i.C.USER_JOINED:return function(e){var t=e.user,n=t.displayName,s=t.displayColor,a=We(e);return(0,r.jsx)(Re,{displayName:n,userColor:s,isAuthorModerator:a})}(s);case i.C.SYSTEM:return(0,r.jsx)(Ue,{message:s,highlightString:n},s.id);default:return null}},v=(0,a.useMemo)((function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.OO,{style:{height:h},className:l().virtuoso,ref:g,initialTopMostItemIndex:t.length-1,data:t,itemContent:function(e,t){return x(e,t)},followOutput:"auto",alignToBottom:!0,atBottomStateChange:function(e){return p(e)}}),!f&&(0,r.jsx)(Fe,{chatContainerRef:g,messages:t})]})}),[t,n,c,u,f]);return(0,r.jsxs)("div",{className:l().chatContainer,children:[v,d&&(0,r.jsx)(Ze,{})]})};ze.defaultProps={showInput:!0,height:"auto"}},32365:function(e,t,n){"use strict";n.d(t,{u:function(){return u}});var r=n(85893),s=n(85402),a=n(26303),o=n(11382),i=n(67294),c=n(78890),l=n.n(c),u=function(e){var t=e.title,n=e.url,c=e.visible,u=e.handleOk,d=e.handleCancel,h=e.afterClose,m=e.height,f=e.width,p=e.children,g=(0,i.useState)(!!n),x=g[0],v=g[1],j={padding:"0px",minHeight:m},_=n&&(0,r.jsx)("iframe",{title:t,src:n,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,onLoad:function(){return v(!1)}}),y=x?"none":"inline";return(0,r.jsx)(s.Z,{title:t,visible:c,onOk:u,onCancel:d,afterClose:h,bodyStyle:j,width:f,zIndex:9999,footer:null,centered:!0,destroyOnClose:!0,children:(0,r.jsxs)(r.Fragment,{children:[x&&(0,r.jsx)(a.Z,{active:x,style:{padding:"10px"},paragraph:{rows:10}}),_&&(0,r.jsx)("div",{style:{display:y},children:_}),p&&(0,r.jsx)("div",{className:l().content,children:p}),x&&(0,r.jsx)(o.Z,{className:l().spinner,spinning:x,size:"large"})]})})};u.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0,height:"40vh",width:"70%"}},13545:function(e){e.exports={chatHeader:"ChatContainer_chatHeader__EJsYI",toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",toBottomBtn:"ChatContainer_toBottomBtn__453AG",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz"}},83066:function(e){e.exports={join:"ChatJoinMessage_join__fP0IQ"}},31833:function(e){e.exports={icon:"ChatModerationActionMenu_icon__9j6DF"}},62638:function(e){e.exports={modalContainer:"ChatModerationDetailsModal_modalContainer__czndV",chatHistory:"ChatModerationDetailsModal_chatHistory__PunRk",colorBlock:"ChatModerationDetailsModal_colorBlock___rAlw",displayName:"ChatModerationDetailsModal_displayName__p7pLI"}},93174:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},31681:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},25882:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",emojiButton:"ChatTextField_emojiButton__ON_Cu"}},79010:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},78583:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}},78890:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/841-7c3c18f178a26faf.js b/static/web/_next/static/chunks/841-7c3c18f178a26faf.js new file mode 100644 index 000000000..a6e0cbb65 --- /dev/null +++ b/static/web/_next/static/chunks/841-7c3c18f178a26faf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[841],{66567:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="BookTwoTone";var i=r.forwardRef(l)},24019:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ClockCircleOutlined";var i=r.forwardRef(l)},78346:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}},{tag:"path",attrs:{d:"M925.2 338.4c-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",fill:e}},{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"message",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="MessageTwoTone";var i=r.forwardRef(l)},63179:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="PlaySquareTwoTone";var i=r.forwardRef(l)},27482:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ProfileTwoTone";var i=r.forwardRef(l)},87547:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=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"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="UserOutlined";var i=r.forwardRef(l)},54907:function(e,t,n){n.d(t,{Z:function(){return S}});var a=n(87462),r=n(4942),o=n(18073),c=n(94184),l=n.n(c),i=n(74902),s=n(15671),u=n(43144),d=n(60136),f=n(33643),v=n(71002),p=n(67294),m=n(96774),h=n.n(m),Z=n(50344),y=n(62874),C=n(97685),g=p.forwardRef((function(e,t){var n,a=e.prefixCls,o=e.forceRender,c=e.className,i=e.style,s=e.children,u=e.isActive,d=e.role,f=p.useState(u||o),v=(0,C.Z)(f,2),m=v[0],h=v[1];return p.useEffect((function(){(o||u)&&h(!0)}),[o,u]),m?p.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),u),(0,r.Z)(n,"".concat(a,"-content-inactive"),!u),n),c),style:i,role:d},p.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));g.displayName="PanelContent";var b=g,w=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=new Array(a),o=0;o-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,o=r.prefixCls,c=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,u=r.collapsible,d=e.key||String(t),f=e.props,v=f.header,m=f.headerClass,h=f.destroyInactivePanel,Z=f.collapsible,y=null!==Z&&void 0!==Z?Z:u,C={key:d,panelKey:d,header:v,headerClass:m,isActive:l?n[0]===d:n.indexOf(d)>-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(C).forEach((function(e){"undefined"===typeof C[e]&&delete C[e]})),p.cloneElement(e,C))},a.getItems=function(){var e=a.props.children;return(0,Z.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:x(o)},a}return(0,u.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!h()(this.props,e)||!h()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,o=t.style,c=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return p.createElement("div",{className:i,style:o,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=x(e.activeKey)),t}}]),n}(p.Component);E.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},E.Panel=k;var N=E,z=(E.Panel,n(98423)),P=n(53124),I=n(33603),O=n(96159),M=function(e){var t,n=p.useContext(P.E_),c=n.getPrefixCls,i=n.direction,s=e.prefixCls,u=e.className,d=void 0===u?"":u,f=e.bordered,v=void 0===f||f,m=e.ghost,h=e.expandIconPosition,y=void 0===h?"start":h,C=c("collapse",s),g=p.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),b=l()("".concat(C,"-icon-position-").concat(g),(t={},(0,r.Z)(t,"".concat(C,"-borderless"),!v),(0,r.Z)(t,"".concat(C,"-rtl"),"rtl"===i),(0,r.Z)(t,"".concat(C,"-ghost"),!!m),t),d),w=(0,a.Z)((0,a.Z)({},I.ZP),{motionAppear:!1,leavedClassName:"".concat(C,"-content-hidden")});return p.createElement(N,(0,a.Z)({openMotion:w},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):p.createElement(o.Z,{rotate:t.isActive?90:void 0});return(0,O.Tm)(a,(function(){return{className:l()(a.props.className,"".concat(C,"-arrow"))}}))},prefixCls:C,className:b}),function(){var t=e.children;return(0,Z.Z)(t).map((function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),o=e.props,c=o.disabled,l=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,z.Z)(e.props,["disabled"])),{key:r,collapsible:null!==l&&void 0!==l?l:c?"disabled":void 0});return(0,O.Tm)(e,i)}return e}))}())};M.Panel=function(e){var t=p.useContext(P.E_).getPrefixCls,n=e.prefixCls,o=e.className,c=void 0===o?"":o,i=e.showArrow,s=void 0===i||i,u=t("collapse",n),d=l()((0,r.Z)({},"".concat(u,"-no-arrow"),!s),c);return p.createElement(N.Panel,(0,a.Z)({},e,{prefixCls:u,className:d}))};var S=M},20550:function(e,t,n){n.d(t,{Z:function(){return b}});var a=n(4942),r=n(87462),o=n(97685),c=n(97937),l=n(94184),i=n.n(l),s=n(98423),u=n(67294),d=n(53124),f=n(98787),v=n(68349),p=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);rn){if(t>0)return(0,l.Z)({},e,o);if(t<0&&an)return(0,l.Z)({},e,t<0?o:-o);return{}}var x=["visible","onVisibleChange","getContainer","current","countRender"],Z=u.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,r=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,y=d.getContainer,w=void 0===y?void 0:y,C=d.current,Z=void 0===C?0:C,E=d.countRender,N=void 0===E?void 0:E,P=(0,s.Z)(d,x),O=(0,u.useState)(new Map),k=(0,c.Z)(O,2),z=k[0],S=k[1],M=(0,u.useState)(),R=(0,c.Z)(M,2),_=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,u.useState)(null),F=(0,c.Z)(T,2),W=F[0],D=F[1],A=void 0!==p,G=Array.from(z.keys())[Z],X=new Map(Array.from(z).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 u.useEffect((function(){L(G)}),[G]),u.useEffect((function(){!V&&A&&L(G)}),[G,A,V]),u.createElement(b,{value:{isPreviewGroup:!0,previewUrls:X,setPreviewUrls:S,current:_,setCurrent:L,setShowPreview:B,setMousePosition:D,registerImage:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=function(){S((function(t){var r=new Map(t);return r.delete(e)?r:t}))};return S((function(n){return new Map(n).set(e,{url:t,canPreview:r})})),n}}},o,u.createElement(j,(0,n.Z)({"aria-hidden":!V,visible:V,prefixCls:r,onClose:function(e){e.stopPropagation(),B(!1),D(null)},mousePosition:W,src:X.get(_),icons:l,getContainer:w,countRender:N},P)))},N=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","countRender"],P=u.useState,O=u.useEffect,k=u.useCallback,z=u.useRef,S=u.useContext,M={x:0,y:0},j=function(e){var t,r=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,j=e.countRender,R=(0,s.Z)(e,N),_=b.rotateLeft,L=b.rotateRight,H=b.zoomIn,I=b.zoomOut,V=b.close,B=b.left,T=b.right,F=P(1),W=(0,c.Z)(F,2),D=W[0],A=W[1],G=P(0),X=(0,c.Z)(G,2),Y=X[0],U=X[1],K=function(e){var t=u.useRef(null),r=u.useState(e),n=(0,c.Z)(r,2),a=n[0],o=n[1],l=u.useRef([]);return u.useEffect((function(){return function(){return t.current&&w.Z.cancel(t.current)}}),[]),[a,function(e){null===t.current&&(l.current=[],t.current=(0,w.Z)((function(){o((function(e){var r=e;return l.current.forEach((function(e){r=(0,i.Z)((0,i.Z)({},r),e)})),t.current=null,r}))}))),l.current.push(e)}]}(M),Q=(0,c.Z)(K,2),q=Q[0],J=Q[1],$=z(),ee=z({originX:0,originY:0,deltaX:0,deltaY:0}),te=P(!1),re=(0,c.Z)(te,2),ne=re[0],ae=re[1],oe=S(Z),ie=oe.previewUrls,le=oe.current,ce=oe.isPreviewGroup,se=oe.setCurrent,ue=ie.size,fe=Array.from(ie.keys()),de=fe.indexOf(le),ve=ce?ie.get(le):a,me=ce&&ue>1,pe=P({wheelDirection:0}),ge=(0,c.Z)(pe,2),he=ge[0],ye=ge[1],we=function(){A((function(e){return e+1})),J(M)},Ce=function(){D>1&&A((function(e){return e-1})),J(M)},xe=d()((0,l.Z)({},"".concat(r,"-moving"),ne)),Ze="".concat(r,"-operations-operation"),be="".concat(r,"-operations-icon"),Ee=[{icon:V,onClick:f,type:"close"},{icon:H,onClick:we,type:"zoomIn"},{icon:I,onClick:Ce,type:"zoomOut",disabled:1===D},{icon:L,onClick:function(){U((function(e){return e+90}))},type:"rotateRight"},{icon:_,onClick:function(){U((function(e){return e-90}))},type:"rotateLeft"}],Ne=function(){if(m&&ne){var e=$.current.offsetWidth*D,t=$.current.offsetHeight*D,r=$.current.getBoundingClientRect(),n=r.left,a=r.top,o=Y%180!==0;ae(!1);var l=function(e,t,r,n){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",r,e,o)),C("y",n,t,l))),c}(o?t:e,o?e:t,n,a);l&&J((0,i.Z)({},l))}},Pe=function(e){m&&ne&&J({x:e.pageX-ee.current.deltaX,y:e.pageY-ee.current.deltaY})},Oe=function(e){if(m){e.preventDefault();var t=e.deltaY;ye({wheelDirection:t})}},ke=k((function(e){m&&me&&(e.preventDefault(),e.keyCode===h.Z.LEFT?de>0&&se(fe[de-1]):e.keyCode===h.Z.RIGHT&&de0?Ce():e<0&&we()}),[he]),O((function(){var e,t,r=(0,g.Z)(window,"mouseup",Ne,!1),n=(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,y.Kp)(!1,"[rc-image] ".concat(i))}return function(){r.remove(),n.remove(),a.remove(),o.remove(),e&&e.remove(),t&&t.remove()}}),[m,ne,ke]),u.createElement(p.Z,(0,n.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:r,onClose:f,afterClose:function(){A(1),U(0),J(M)},visible:m,wrapClassName:xe,rootClassName:E},R),u.createElement("ul",{className:"".concat(r,"-operations")},me&&u.createElement("li",{className:"".concat(r,"-operations-progress")},null!==(t=null===j||void 0===j?void 0:j(de+1,ue))&&void 0!==t?t:"".concat(de+1," / ").concat(ue)),Ee.map((function(e){var t=e.icon,n=e.onClick,a=e.type,o=e.disabled;return u.createElement("li",{className:d()(Ze,(0,l.Z)({},"".concat(r,"-operations-operation-disabled"),!!o)),onClick:n,key:a},u.isValidElement(t)?u.cloneElement(t,{className:be}):t)}))),u.createElement("div",{className:"".concat(r,"-img-wrapper"),style:{transform:"translate3d(".concat(q.x,"px, ").concat(q.y,"px, 0)")}},u.createElement("img",{width:e.width,height:e.height,onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),ee.current.deltaX=e.pageX-q.x,ee.current.deltaY=e.pageY-q.y,ee.current.originX=q.x,ee.current.originY=q.y,ae(!0))},onDoubleClick:function(){m&&(1!==D&&A(1),q.x===M.x&&q.y===M.y||J(M))},ref:$,className:"".concat(r,"-img"),src:ve,alt:o,style:{transform:"scale3d(".concat(D,", ").concat(D,", 1) rotate(").concat(Y,"deg)")}})),me&&u.createElement("div",{className:d()("".concat(r,"-switch-left"),(0,l.Z)({},"".concat(r,"-switch-left-disabled"),0===de)),onClick:function(e){e.preventDefault(),e.stopPropagation(),de>0&&se(fe[de-1])}},B),me&&u.createElement("div",{className:d()("".concat(r,"-switch-right"),(0,l.Z)({},"".concat(r,"-switch-right-disabled"),de===ue-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 r=e.prefixCls,n=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,z=void 0!==k&&k,S=e.reverseArrow,M=void 0!==S&&S,j=e.width,R=void 0===j?200:j,_=e.collapsedWidth,L=void 0===_?80:_,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"]),F=(0,v.useContext)(g.LayoutContext).siderHook,W=(0,v.useState)("collapsed"in T?T.collapsed:b),D=(0,l.default)(W,2),A=D[0],G=D[1],X=(0,v.useState)(!1),Y=(0,l.default)(X,2),U=Y[0],K=Y[1];(0,v.useEffect)((function(){"collapsed"in T&&G(T.collapsed)}),[T.collapsed]);var Q=function(e,t){"collapsed"in T||G(e),null===V||void 0===V||V(e,t)},q=(0,v.useRef)();q.current=function(e){K(e.matches),null===B||void 0===B||B(e.matches),A!==e.matches&&Q(e.matches,"responsive")},(0,v.useEffect)((function(){function e(e){return q.current(e)}var t;if("undefined"!==typeof window){var r=window.matchMedia;if(r&&I&&I in y){t=r("(max-width: ".concat(y[I],")"));try{t.addEventListener("change",e)}catch(n){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(n){null===t||void 0===t||t.removeListener(e)}}}),[I]),(0,v.useEffect)((function(){var e=C("ant-sider-");return F.addSider(e),function(){return F.removeSider(e)}}),[]);var J=function(){Q(!A,"clickTrigger")},$=(0,v.useContext)(m.ConfigContext).getPrefixCls,ee=v.useMemo((function(){return{siderCollapsed:A}}),[A]);return v.createElement(w.Provider,{value:ee},function(){var e,l=$("layout-sider",r),m=(0,d.default)(T,["collapsed"]),g=A?L:R,h=(0,p.default)(g)?"".concat(g,"px"):String(g),y=0===parseFloat(String(L||0))?v.createElement("span",{onClick:J,className:(0,f.default)("".concat(l,"-zero-width-trigger"),"".concat(l,"-zero-width-trigger-").concat(M?"right":"left")),style:H},a||v.createElement(c.default,null)):null,w={expanded:M?v.createElement(u.default,null):v.createElement(s.default,null),collapsed:M?v.createElement(s.default,null):v.createElement(u.default,null)}[A?"collapsed":"expanded"],C=null!==a?y||v.createElement("div",{className:"".concat(l,"-trigger"),onClick:J,style:{width:h}},a||w):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"),!!A),(0,o.default)(e,"".concat(l,"-has-trigger"),z&&null!==a&&!y),(0,o.default)(e,"".concat(l,"-below"),!!U),(0,o.default)(e,"".concat(l,"-zero-width"),0===parseFloat(h)),e),n);return v.createElement("aside",(0,i.default)({className:b},m,{style:Z,ref:t}),v.createElement("div",{className:"".concat(l,"-children")},x),z||U&&y?C:null)}())}));t.ZP=x},62704:function(e,t,r){var n=r(75263).default,a=r(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var o=a(r(861)),i=a(r(38416)),l=a(r(27424)),c=a(r(10434)),s=a(r(94184)),u=n(r(67294)),f=r(31929),d=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 a=0;for(n=Object.getOwnPropertySymbols(e);a0),(0,i.default)(r,"".concat(h,"-rtl"),"rtl"===n),r),y),E=u.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 u.createElement(v.Provider,{value:E},u.createElement(x,(0,c.default)({ref:t,className:b},Z),w))})),h=m({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),y=m({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(p);t.Header=y;var w=m({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(p);t.Footer=w;var C=m({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(p);t.Content=C;var x=h;t.default=x},82670:function(e,t,r){function n(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}r.d(t,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8676-58e1723c87a0d4ec.js b/static/web/_next/static/chunks/8676-58e1723c87a0d4ec.js deleted file mode 100644 index 075036a9a..000000000 --- a/static/web/_next/static/chunks/8676-58e1723c87a0d4ec.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8676],{66567:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="BookTwoTone";var i=r.forwardRef(l)},24019:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ClockCircleOutlined";var i=r.forwardRef(l)},78346:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}},{tag:"path",attrs:{d:"M925.2 338.4c-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",fill:e}},{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"message",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="MessageTwoTone";var i=r.forwardRef(l)},63179:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="PlaySquareTwoTone";var i=r.forwardRef(l)},27482:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ProfileTwoTone";var i=r.forwardRef(l)},87547:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=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"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="UserOutlined";var i=r.forwardRef(l)},54907:function(e,t,n){n.d(t,{Z:function(){return R}});var a=n(87462),r=n(4942),o=n(18073),c=n(94184),l=n.n(c),i=n(74902),s=n(15671),d=n(43144),u=n(60136),v=n(33643),f=n(71002),p=n(67294),m=n(96774),h=n.n(m),Z=n(50344),y=n(62874),g=n(97685),C=p.forwardRef((function(e,t){var n,a=e.prefixCls,o=e.forceRender,c=e.className,i=e.style,s=e.children,d=e.isActive,u=e.role,v=p.useState(d||o),f=(0,g.Z)(v,2),m=f[0],h=f[1];return p.useEffect((function(){(o||d)&&h(!0)}),[o,d]),m?p.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),d),(0,r.Z)(n,"".concat(a,"-content-inactive"),!d),n),c),style:i,role:u},p.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));C.displayName="PanelContent";var w=C,k=function(e){(0,u.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=new Array(a),o=0;o-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=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(t),v=e.props,f=v.header,m=v.headerClass,h=v.destroyInactivePanel,Z=v.collapsible,y=null!==Z&&void 0!==Z?Z:d,g={key:u,panelKey:u,header:f,headerClass:m,isActive:l?n[0]===u:n.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(g).forEach((function(e){"undefined"===typeof g[e]&&delete g[e]})),p.cloneElement(e,g))},a.getItems=function(){var e=a.props.children;return(0,Z.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:x(o)},a}return(0,d.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!h()(this.props,e)||!h()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,o=t.style,c=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return p.createElement("div",{className:i,style:o,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=x(e.activeKey)),t}}]),n}(p.Component);b.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},b.Panel=z;var N=b,E=(b.Panel,n(98423)),I=n(53124),M=n(33603),P=n(96159),A=function(e){var t,n=p.useContext(I.E_),c=n.getPrefixCls,i=n.direction,s=e.prefixCls,d=e.className,u=void 0===d?"":d,v=e.bordered,f=void 0===v||v,m=e.ghost,h=e.expandIconPosition,y=void 0===h?"start":h,g=c("collapse",s),C=p.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),w=l()("".concat(g,"-icon-position-").concat(C),(t={},(0,r.Z)(t,"".concat(g,"-borderless"),!f),(0,r.Z)(t,"".concat(g,"-rtl"),"rtl"===i),(0,r.Z)(t,"".concat(g,"-ghost"),!!m),t),u),k=(0,a.Z)((0,a.Z)({},M.ZP),{motionAppear:!1,leavedClassName:"".concat(g,"-content-hidden")});return p.createElement(N,(0,a.Z)({openMotion:k},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):p.createElement(o.Z,{rotate:t.isActive?90:void 0});return(0,P.Tm)(a,(function(){return{className:l()(a.props.className,"".concat(g,"-arrow"))}}))},prefixCls:g,className:w}),function(){var t=e.children;return(0,Z.Z)(t).map((function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),o=e.props,c=o.disabled,l=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,E.Z)(e.props,["disabled"])),{key:r,collapsible:null!==l&&void 0!==l?l:c?"disabled":void 0});return(0,P.Tm)(e,i)}return e}))}())};A.Panel=function(e){var t=p.useContext(I.E_).getPrefixCls,n=e.prefixCls,o=e.className,c=void 0===o?"":o,i=e.showArrow,s=void 0===i||i,d=t("collapse",n),u=l()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),c);return p.createElement(N.Panel,(0,a.Z)({},e,{prefixCls:d,className:u}))};var R=A},75401:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(24262),r=n(19013),o=n(13882);function c(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}var l=864e5;function i(e,t){(0,o.Z)(2,arguments);var n=c(e),r=c(t),i=n.getTime()-(0,a.Z)(n),s=r.getTime()-(0,a.Z)(r);return Math.round((i-s)/l)}},19642:function(e,t,n){n.d(t,{Z:function(){return v}});var a=n(84314),r=n(75401),o=n(58091),c=n(86559),l=n(92234),i=n(19013),s=n(24262),d=n(13882),u=n(83946);function v(e,t,n){var v,f,p,m,h,Z,y,g,C,w;(0,d.Z)(2,arguments);var k=(0,i.Z)(e),z=(0,i.Z)(t),x=(0,a.j)(),b=null!==(v=null!==(f=null===n||void 0===n?void 0:n.locale)&&void 0!==f?f:x.locale)&&void 0!==v?v:c.Z,N=(0,u.Z)(null!==(p=null!==(m=null!==(h=null!==(Z=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==Z?Z:null===n||void 0===n||null===(y=n.locale)||void 0===y||null===(g=y.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==h?h:x.weekStartsOn)&&void 0!==m?m:null===(C=x.locale)||void 0===C||null===(w=C.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==p?p:0);if(!b.localize)throw new RangeError("locale must contain localize property");if(!b.formatLong)throw new RangeError("locale must contain formatLong property");if(!b.formatRelative)throw new RangeError("locale must contain formatRelative property");var E,I=(0,r.Z)(k,z);if(isNaN(I))throw new RangeError("Invalid time value");E=I<-6?"other":I<-1?"lastWeek":I<0?"yesterday":I<1?"today":I<2?"tomorrow":I<7?"nextWeek":"other";var M=(0,l.Z)(k,(0,s.Z)(k)),P=(0,l.Z)(z,(0,s.Z)(z)),A=b.formatRelative(E,M,P,{locale:b,weekStartsOn:N});return(0,o.Z)(k,A,{locale:b,weekStartsOn:N})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin-7f9372397fae0f4a.js b/static/web/_next/static/chunks/pages/admin-84a3ed733a0e9a1b.js similarity index 98% rename from static/web/_next/static/chunks/pages/admin-7f9372397fae0f4a.js rename to static/web/_next/static/chunks/pages/admin-84a3ed733a0e9a1b.js index e37857ee9..4d2991d87 100644 --- a/static/web/_next/static/chunks/pages/admin-7f9372397fae0f4a.js +++ b/static/web/_next/static/chunks/pages/admin-84a3ed733a0e9a1b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6964],{64830:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return t(47073)}])},38856:function(e,n,t){"use strict";t.d(n,{o:function(){return h}});var s=t(85893),r=(t(67294),t(84485)),i=t(20550),a=t(10355),o=t(53731),l=t(58091),c=r.Z.Title;function d(e,n){var t="black";return"warning"===n.level?t="orange":"error"===n.level&&(t="red"),(0,s.jsx)(i.Z,{color:t,children:e})}function u(e){return(0,s.jsx)(o.Z,{children:e})}var h=function(e){var n=e.logs,t=e.pageSize;if(!(null===n||void 0===n?void 0:n.length))return null;var r=[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:function(e,n){return 0===n.level.indexOf(e)},render:d},{title:"Timestamp",dataIndex:"time",key:"time",render:function(e){var n=new Date(e);return(0,l.Z)(n,"pp P")},sorter:function(e,n){return new Date(e.time).getTime()-new Date(n.time).getTime()},sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:u}];return(0,s.jsxs)("div",{className:"logs-section",children:[(0,s.jsx)(c,{children:"Logs"}),(0,s.jsx)(a.Z,{size:"middle",dataSource:n,columns:r,rowKey:function(e){return e.time},pagination:{pageSize:t||20}})]})}},71630:function(e,n,t){"use strict";t.d(n,{j:function(){return v}});var s=t(85893),r=t(8751),i=t(11475),a=t(25968),o=t(6226),l=t(74763),c=t(84485),d=t(14670),u=t(71577),h=t(41664),m=t.n(h),x=t(67294),f=t(35159),v=function(e){var n=e.showTroubleshootButton,t=(0,x.useContext)(f.aC).health;if(!t)return null;var h=t.healthy,v=t.healthPercentage,j=t.message,p=t.representation,g="#3f8600",w="info";return v<80?(g="#cf000f",w="error"):v<30&&(g="#f0ad4e",w="error"),(0,s.jsxs)("div",{children:[(0,s.jsxs)(a.Z,{gutter:8,children:[(0,s.jsx)(o.Z,{span:12,children:(0,s.jsx)(l.Z,{title:"Healthy Stream",value:h?"Yes":"No",valueStyle:{color:g},prefix:h?(0,s.jsx)(r.Z,{}):(0,s.jsx)(i.Z,{})})}),(0,s.jsx)(o.Z,{span:12,children:(0,s.jsx)(l.Z,{title:"Playback Health",value:v,valueStyle:{color:g},suffix:"%"})})]}),(0,s.jsx)(a.Z,{style:{display:p<100&&0!==p?"grid":"none"},children:(0,s.jsxs)(c.Z.Text,{type:"secondary",style:{textAlign:"center",fontSize:"0.7em",opacity:"0.3"},children:["Stream health represents ",p,"% of all known players. Other player status is unknown."]})}),(0,s.jsx)(a.Z,{gutter:16,style:{width:"100%",display:j?"grid":"none",marginTop:"10px"},children:(0,s.jsx)(o.Z,{span:24,children:(0,s.jsx)(d.Z,{message:j,type:w,showIcon:!0,action:n&&(0,s.jsx)(m(),{passHref:!0,href:"/stream-health",children:(0,s.jsx)(u.Z,{size:"small",type:"text",style:{color:"black"},children:"TROUBLESHOOT"})})})})})]})};v.defaultProps={showTroubleshootButton:!0}},47073:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return V}});var s=t(47568),r=t(70655),i=t(85893),a=t(67294),o=t(26303),l=t(74763),c=t(59652),d=t(25968),u=t(6226),h=t(24019),m=t(87547),x=t(19642),f=t(45938),v=t(35159),j=t(38856),p=t(66567),g=t(63179),w=t(78346),Z=t(27482),y=t(84485),b=t(41664),k=t.n(b),N=t(60113),S=t(26042),_=t(69396),C=t(54907),T=t(58091),O=t(58827),E=C.Z.Panel,D=y.Z.Title,P=y.Z.Link,U=function(e){var n=e.title,t=e.url,s=e.content_html,r=e.date_published,a=new Date(r),o=(0,T.Z)(a,"MMM dd, yyyy, HH:mm");return(0,i.jsx)("article",{children:(0,i.jsx)(C.Z,{children:(0,i.jsxs)(E,{header:n,children:[(0,i.jsxs)("p",{className:"timestamp",children:[o," (",(0,i.jsx)(P,{href:"".concat("https://owncast.online").concat(t),target:"_blank",rel:"noopener noreferrer",children:"Link"}),")"]}),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})]},t)})})},I=function(){var e=(0,a.useState)([]),n=e[0],t=e[1],l=(0,a.useState)(!0),c=l[0],d=l[1],u=function(){var e=(0,s.Z)((function(){var e,n;return(0,r.__generator)(this,(function(s){switch(s.label){case 0:d(!1),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,(0,O.kg)("https://owncast.online/news/index.json")];case 2:return(null===(e=s.sent())||void 0===e?void 0:e.items.length)>0&&t(e.items),[3,4];case 3:return n=s.sent(),console.log("==== error",n),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,a.useEffect)((function(){u()}),[]);var h=c?(0,i.jsx)(o.Z,{loading:!0,active:!0}):null,m=c||0!==n.length?null:(0,i.jsx)("div",{children:"No news."});return(0,i.jsxs)("section",{className:"news-feed form-module",children:[(0,i.jsx)(D,{level:2,children:"News & Updates from Owncast"}),h,n.map((function(e){return(0,a.createElement)(U,(0,_.Z)((0,S.Z)({},e),{key:e.url}))})),m]})},z=y.Z.Paragraph,B=y.Z.Text,L=y.Z.Title,F=c.Z.Meta;var H=function(e){var n,s,r,o,l=e.logs,h=void 0===l?[]:l,m=e.config,x=((0,a.useContext)(v.aC)||{}).serverConfig,f=x.streamKey,y=x.rtmpServerPort,b=(null===(n=t.g.window)||void 0===n?void 0:n.location.hostname)||"";b&&y&&(o=function(e,n){return"rtmp://".concat(e.replace(/(^\w+:|^)\/\//,""),":").concat(n,"/live")}(b,y));var S=[{icon:(0,i.jsx)(p.Z,{twoToneColor:"#6f42c1"}),title:"Use your broadcasting software",content:(0,i.jsxs)("div",{children:[(0,i.jsx)("a",{href:"https://owncast.online/docs/broadcasting/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn how to point your existing software to your new server and start streaming your content."}),(0,i.jsxs)("div",{className:"stream-info-container",children:[(0,i.jsx)(B,{strong:!0,className:"stream-info-label",children:"Streaming URL:"}),o&&(0,i.jsx)(z,{className:"stream-info-box",copyable:!0,children:o}),(0,i.jsx)(B,{strong:!0,className:"stream-info-label",children:"Stream Key:"}),(0,i.jsx)(z,{className:"stream-info-box",copyable:{text:f},children:"*********************"})]})]})},{icon:(0,i.jsx)(g.Z,{twoToneColor:"#f9826c"}),title:"Embed your video onto other sites",content:(0,i.jsx)("div",{children:(0,i.jsx)("a",{href:"https://owncast.online/docs/embed?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn how you can add your Owncast stream to other sites you control."})})}];return(null===m||void 0===m?void 0:m.chatDisabled)||S.push({icon:(0,i.jsx)(w.Z,{twoToneColor:"#0366d6"}),title:"Chat is disabled",content:(0,i.jsx)("span",{children:"Chat will continue to be disabled until you begin a live stream."})}),(null===m||void 0===m||null===(s=m.yp)||void 0===s?void 0:s.enabled)||S.push({icon:(0,i.jsx)(Z.Z,{twoToneColor:"#D18BFE"}),title:"Find an audience on the Owncast Directory",content:(0,i.jsxs)("div",{children:["List yourself in the Owncast Directory and show off your stream. Enable it in"," ",(0,i.jsx)(k(),{href:"/config-public-details",children:"settings."})]})}),(null===m||void 0===m||null===(r=m.federation)||void 0===r?void 0:r.enabled)||S.push({icon:(0,i.jsx)("img",{alt:"fediverse",width:"20px",src:"fediverse-white.png"}),title:"Add your Owncast instance to the Fediverse",content:(0,i.jsxs)("div",{children:[(0,i.jsx)(k(),{href:"/config-federation",children:"Enable Owncast social"})," features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream."]})}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.Z,{children:(0,i.jsx)(u.Z,{span:12,offset:6,children:(0,i.jsxs)("div",{className:"offline-intro",children:[(0,i.jsx)("span",{className:"logo",children:(0,i.jsx)(N.C,{variant:"simple"})}),(0,i.jsxs)("div",{children:[(0,i.jsx)(L,{level:2,children:"No stream is active"}),(0,i.jsx)("p",{children:"You should start one."})]})]})})}),(0,i.jsxs)(d.Z,{gutter:[16,16],className:"offline-content",children:[(0,i.jsx)(u.Z,{span:12,xs:24,sm:24,md:24,lg:12,className:"list-section",children:S.map((function(e){return(0,i.jsx)(c.Z,{size:"small",bordered:!1,children:(0,i.jsx)(F,{avatar:e.icon,title:e.title,description:e.content})},e.title)}))}),(0,i.jsx)(u.Z,{span:12,xs:24,sm:24,md:24,lg:12,children:(0,i.jsx)(I,{})})]}),(0,i.jsx)(j.o,{logs:h,pageSize:5})]})},M=t(71630),A=t(2766);function Q(e){return(0,i.jsxs)("ul",{className:"statistics-list",children:[(0,i.jsxs)("li",{children:[e.videoCodec||"Unknown"," @ ",e.videoBitrate||"Unknown"," kbps"]}),(0,i.jsxs)("li",{children:[e.framerate||"Unknown"," fps"]}),(0,i.jsxs)("li",{children:[e.width," x ",e.height]})]})}function V(){var e,n,t=(0,a.useContext)(v.aC),p=t||{},g=p.broadcaster,w=p.serverConfig,Z=g||{},y=Z.remoteAddr,b=Z.streamDetails,k=(null===b||void 0===b?void 0:b.encoder)||"Unknown encoder",N=(0,a.useState)([]),S=N[0],_=N[1],C=function(){var e=(0,s.Z)((function(){var e,n;return(0,r.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,O.rQ)(O.WQ)];case 1:return e=t.sent(),_(e),[3,3];case 2:return n=t.sent(),console.log("==== error",n),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),T=function(){C()};if((0,a.useEffect)((function(){T();var e;return e=setInterval(T,O.NE),function(){clearInterval(e)}}),[]),(0,A.Qr)(w)||(0,A.Qr)(t))return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z,{active:!0}),(0,i.jsx)(o.Z,{active:!0}),(0,i.jsx)(o.Z,{active:!0})]});if(!g)return(0,i.jsx)(H,{logs:S,config:w});var E=null===t||void 0===t||null===(e=t.currentBroadcast)||void 0===e||null===(n=e.outputSettings)||void 0===n?void 0:n.map((function(e){var n=e.audioPassthrough,t=e.videoPassthrough,s=e.audioBitrate,r=e.videoBitrate,a=e.framerate,o=n?"".concat(b.audioCodec||"Unknown",", ").concat(b.audioBitrate," kbps"):"".concat(s||"Unknown"," kbps"),c=t?"".concat(b.videoBitrate||"Unknown"," kbps, ").concat(b.framerate," fps ").concat(b.width," x ").concat(b.height):"".concat(r||"Unknown"," kbps, ").concat(a," fps");return(0,i.jsxs)("div",{className:"stream-details-item-container",children:[(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Outbound Video Stream",value:c}),(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Outbound Audio Stream",value:o})]})})),D=t.viewerCount,P=t.sessionPeakViewerCount,U="".concat(b.audioCodec,", ").concat(b.audioBitrate||"Unknown"," kbps"),z=new Date(g.time);return(0,i.jsxs)("div",{className:"home-container",children:[(0,i.jsxs)("div",{className:"sections-container",children:[(0,i.jsx)("div",{className:"online-status-section",children:(0,i.jsxs)(c.Z,{size:"small",type:"inner",className:"online-details-card",children:[(0,i.jsxs)(d.Z,{gutter:[16,16],align:"middle",children:[(0,i.jsx)(u.Z,{span:8,sm:24,md:8,children:(0,i.jsx)(l.Z,{title:"Stream started ".concat((0,x.Z)(z,Date.now())),value:(0,f.Z)(z),prefix:(0,i.jsx)(h.Z,{})})}),(0,i.jsx)(u.Z,{span:8,sm:24,md:8,children:(0,i.jsx)(l.Z,{title:"Viewers",value:D,prefix:(0,i.jsx)(m.Z,{})})}),(0,i.jsx)(u.Z,{span:8,sm:24,md:8,children:(0,i.jsx)(l.Z,{title:"Peak viewer count",value:P,prefix:(0,i.jsx)(m.Z,{})})})]}),(0,i.jsx)(M.j,{})]})}),(0,i.jsxs)(d.Z,{gutter:[16,16],className:"section stream-details-section",children:[(0,i.jsxs)(u.Z,{className:"stream-details",span:12,sm:24,md:24,lg:12,children:[(0,i.jsx)(c.Z,{size:"small",title:"Outbound Stream Details",type:"inner",className:"outbound-details",children:E}),(0,i.jsxs)(c.Z,{size:"small",title:"Inbound Stream Details",type:"inner",children:[(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Input",value:"".concat(k," ").concat((0,A.t5)(y))}),(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Inbound Video Stream",value:b,formatter:Q}),(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Inbound Audio Stream",value:U})]})]}),(0,i.jsx)(u.Z,{span:12,xs:24,sm:24,md:24,lg:12,children:(0,i.jsx)(I,{})})]})]}),(0,i.jsx)("br",{}),(0,i.jsx)(j.o,{logs:S,pageSize:5})]})}}},function(e){e.O(0,[7330,3927,384,355,8091,2944,6265,5938,428,2429,8676,9774,2888,179],(function(){return n=64830,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6964],{64830:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return t(47073)}])},38856:function(e,n,t){"use strict";t.d(n,{o:function(){return h}});var s=t(85893),r=(t(67294),t(84485)),i=t(20550),a=t(10355),o=t(53731),l=t(58091),c=r.Z.Title;function d(e,n){var t="black";return"warning"===n.level?t="orange":"error"===n.level&&(t="red"),(0,s.jsx)(i.Z,{color:t,children:e})}function u(e){return(0,s.jsx)(o.Z,{children:e})}var h=function(e){var n=e.logs,t=e.pageSize;if(!(null===n||void 0===n?void 0:n.length))return null;var r=[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:function(e,n){return 0===n.level.indexOf(e)},render:d},{title:"Timestamp",dataIndex:"time",key:"time",render:function(e){var n=new Date(e);return(0,l.Z)(n,"pp P")},sorter:function(e,n){return new Date(e.time).getTime()-new Date(n.time).getTime()},sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:u}];return(0,s.jsxs)("div",{className:"logs-section",children:[(0,s.jsx)(c,{children:"Logs"}),(0,s.jsx)(a.Z,{size:"middle",dataSource:n,columns:r,rowKey:function(e){return e.time},pagination:{pageSize:t||20}})]})}},71630:function(e,n,t){"use strict";t.d(n,{j:function(){return v}});var s=t(85893),r=t(8751),i=t(11475),a=t(25968),o=t(6226),l=t(74763),c=t(84485),d=t(14670),u=t(71577),h=t(41664),m=t.n(h),x=t(67294),f=t(35159),v=function(e){var n=e.showTroubleshootButton,t=(0,x.useContext)(f.aC).health;if(!t)return null;var h=t.healthy,v=t.healthPercentage,j=t.message,p=t.representation,g="#3f8600",w="info";return v<80?(g="#cf000f",w="error"):v<30&&(g="#f0ad4e",w="error"),(0,s.jsxs)("div",{children:[(0,s.jsxs)(a.Z,{gutter:8,children:[(0,s.jsx)(o.Z,{span:12,children:(0,s.jsx)(l.Z,{title:"Healthy Stream",value:h?"Yes":"No",valueStyle:{color:g},prefix:h?(0,s.jsx)(r.Z,{}):(0,s.jsx)(i.Z,{})})}),(0,s.jsx)(o.Z,{span:12,children:(0,s.jsx)(l.Z,{title:"Playback Health",value:v,valueStyle:{color:g},suffix:"%"})})]}),(0,s.jsx)(a.Z,{style:{display:p<100&&0!==p?"grid":"none"},children:(0,s.jsxs)(c.Z.Text,{type:"secondary",style:{textAlign:"center",fontSize:"0.7em",opacity:"0.3"},children:["Stream health represents ",p,"% of all known players. Other player status is unknown."]})}),(0,s.jsx)(a.Z,{gutter:16,style:{width:"100%",display:j?"grid":"none",marginTop:"10px"},children:(0,s.jsx)(o.Z,{span:24,children:(0,s.jsx)(d.Z,{message:j,type:w,showIcon:!0,action:n&&(0,s.jsx)(m(),{passHref:!0,href:"/stream-health",children:(0,s.jsx)(u.Z,{size:"small",type:"text",style:{color:"black"},children:"TROUBLESHOOT"})})})})})]})};v.defaultProps={showTroubleshootButton:!0}},47073:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return V}});var s=t(47568),r=t(70655),i=t(85893),a=t(67294),o=t(26303),l=t(74763),c=t(59652),d=t(25968),u=t(6226),h=t(24019),m=t(87547),x=t(19642),f=t(45938),v=t(35159),j=t(38856),p=t(66567),g=t(63179),w=t(78346),Z=t(27482),y=t(84485),b=t(41664),k=t.n(b),N=t(60113),S=t(26042),_=t(69396),C=t(54907),T=t(58091),O=t(58827),E=C.Z.Panel,D=y.Z.Title,P=y.Z.Link,U=function(e){var n=e.title,t=e.url,s=e.content_html,r=e.date_published,a=new Date(r),o=(0,T.Z)(a,"MMM dd, yyyy, HH:mm");return(0,i.jsx)("article",{children:(0,i.jsx)(C.Z,{children:(0,i.jsxs)(E,{header:n,children:[(0,i.jsxs)("p",{className:"timestamp",children:[o," (",(0,i.jsx)(P,{href:"".concat("https://owncast.online").concat(t),target:"_blank",rel:"noopener noreferrer",children:"Link"}),")"]}),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})]},t)})})},I=function(){var e=(0,a.useState)([]),n=e[0],t=e[1],l=(0,a.useState)(!0),c=l[0],d=l[1],u=function(){var e=(0,s.Z)((function(){var e,n;return(0,r.__generator)(this,(function(s){switch(s.label){case 0:d(!1),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,(0,O.kg)("https://owncast.online/news/index.json")];case 2:return(null===(e=s.sent())||void 0===e?void 0:e.items.length)>0&&t(e.items),[3,4];case 3:return n=s.sent(),console.log("==== error",n),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,a.useEffect)((function(){u()}),[]);var h=c?(0,i.jsx)(o.Z,{loading:!0,active:!0}):null,m=c||0!==n.length?null:(0,i.jsx)("div",{children:"No news."});return(0,i.jsxs)("section",{className:"news-feed form-module",children:[(0,i.jsx)(D,{level:2,children:"News & Updates from Owncast"}),h,n.map((function(e){return(0,a.createElement)(U,(0,_.Z)((0,S.Z)({},e),{key:e.url}))})),m]})},z=y.Z.Paragraph,B=y.Z.Text,L=y.Z.Title,F=c.Z.Meta;var H=function(e){var n,s,r,o,l=e.logs,h=void 0===l?[]:l,m=e.config,x=((0,a.useContext)(v.aC)||{}).serverConfig,f=x.streamKey,y=x.rtmpServerPort,b=(null===(n=t.g.window)||void 0===n?void 0:n.location.hostname)||"";b&&y&&(o=function(e,n){return"rtmp://".concat(e.replace(/(^\w+:|^)\/\//,""),":").concat(n,"/live")}(b,y));var S=[{icon:(0,i.jsx)(p.Z,{twoToneColor:"#6f42c1"}),title:"Use your broadcasting software",content:(0,i.jsxs)("div",{children:[(0,i.jsx)("a",{href:"https://owncast.online/docs/broadcasting/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn how to point your existing software to your new server and start streaming your content."}),(0,i.jsxs)("div",{className:"stream-info-container",children:[(0,i.jsx)(B,{strong:!0,className:"stream-info-label",children:"Streaming URL:"}),o&&(0,i.jsx)(z,{className:"stream-info-box",copyable:!0,children:o}),(0,i.jsx)(B,{strong:!0,className:"stream-info-label",children:"Stream Key:"}),(0,i.jsx)(z,{className:"stream-info-box",copyable:{text:f},children:"*********************"})]})]})},{icon:(0,i.jsx)(g.Z,{twoToneColor:"#f9826c"}),title:"Embed your video onto other sites",content:(0,i.jsx)("div",{children:(0,i.jsx)("a",{href:"https://owncast.online/docs/embed?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn how you can add your Owncast stream to other sites you control."})})}];return(null===m||void 0===m?void 0:m.chatDisabled)||S.push({icon:(0,i.jsx)(w.Z,{twoToneColor:"#0366d6"}),title:"Chat is disabled",content:(0,i.jsx)("span",{children:"Chat will continue to be disabled until you begin a live stream."})}),(null===m||void 0===m||null===(s=m.yp)||void 0===s?void 0:s.enabled)||S.push({icon:(0,i.jsx)(Z.Z,{twoToneColor:"#D18BFE"}),title:"Find an audience on the Owncast Directory",content:(0,i.jsxs)("div",{children:["List yourself in the Owncast Directory and show off your stream. Enable it in"," ",(0,i.jsx)(k(),{href:"/config-public-details",children:"settings."})]})}),(null===m||void 0===m||null===(r=m.federation)||void 0===r?void 0:r.enabled)||S.push({icon:(0,i.jsx)("img",{alt:"fediverse",width:"20px",src:"fediverse-white.png"}),title:"Add your Owncast instance to the Fediverse",content:(0,i.jsxs)("div",{children:[(0,i.jsx)(k(),{href:"/config-federation",children:"Enable Owncast social"})," features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream."]})}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.Z,{children:(0,i.jsx)(u.Z,{span:12,offset:6,children:(0,i.jsxs)("div",{className:"offline-intro",children:[(0,i.jsx)("span",{className:"logo",children:(0,i.jsx)(N.C,{variant:"simple"})}),(0,i.jsxs)("div",{children:[(0,i.jsx)(L,{level:2,children:"No stream is active"}),(0,i.jsx)("p",{children:"You should start one."})]})]})})}),(0,i.jsxs)(d.Z,{gutter:[16,16],className:"offline-content",children:[(0,i.jsx)(u.Z,{span:12,xs:24,sm:24,md:24,lg:12,className:"list-section",children:S.map((function(e){return(0,i.jsx)(c.Z,{size:"small",bordered:!1,children:(0,i.jsx)(F,{avatar:e.icon,title:e.title,description:e.content})},e.title)}))}),(0,i.jsx)(u.Z,{span:12,xs:24,sm:24,md:24,lg:12,children:(0,i.jsx)(I,{})})]}),(0,i.jsx)(j.o,{logs:h,pageSize:5})]})},M=t(71630),A=t(2766);function Q(e){return(0,i.jsxs)("ul",{className:"statistics-list",children:[(0,i.jsxs)("li",{children:[e.videoCodec||"Unknown"," @ ",e.videoBitrate||"Unknown"," kbps"]}),(0,i.jsxs)("li",{children:[e.framerate||"Unknown"," fps"]}),(0,i.jsxs)("li",{children:[e.width," x ",e.height]})]})}function V(){var e,n,t=(0,a.useContext)(v.aC),p=t||{},g=p.broadcaster,w=p.serverConfig,Z=g||{},y=Z.remoteAddr,b=Z.streamDetails,k=(null===b||void 0===b?void 0:b.encoder)||"Unknown encoder",N=(0,a.useState)([]),S=N[0],_=N[1],C=function(){var e=(0,s.Z)((function(){var e,n;return(0,r.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,O.rQ)(O.WQ)];case 1:return e=t.sent(),_(e),[3,3];case 2:return n=t.sent(),console.log("==== error",n),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),T=function(){C()};if((0,a.useEffect)((function(){T();var e;return e=setInterval(T,O.NE),function(){clearInterval(e)}}),[]),(0,A.Qr)(w)||(0,A.Qr)(t))return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z,{active:!0}),(0,i.jsx)(o.Z,{active:!0}),(0,i.jsx)(o.Z,{active:!0})]});if(!g)return(0,i.jsx)(H,{logs:S,config:w});var E=null===t||void 0===t||null===(e=t.currentBroadcast)||void 0===e||null===(n=e.outputSettings)||void 0===n?void 0:n.map((function(e){var n=e.audioPassthrough,t=e.videoPassthrough,s=e.audioBitrate,r=e.videoBitrate,a=e.framerate,o=n?"".concat(b.audioCodec||"Unknown",", ").concat(b.audioBitrate," kbps"):"".concat(s||"Unknown"," kbps"),c=t?"".concat(b.videoBitrate||"Unknown"," kbps, ").concat(b.framerate," fps ").concat(b.width," x ").concat(b.height):"".concat(r||"Unknown"," kbps, ").concat(a," fps");return(0,i.jsxs)("div",{className:"stream-details-item-container",children:[(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Outbound Video Stream",value:c}),(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Outbound Audio Stream",value:o})]})})),D=t.viewerCount,P=t.sessionPeakViewerCount,U="".concat(b.audioCodec,", ").concat(b.audioBitrate||"Unknown"," kbps"),z=new Date(g.time);return(0,i.jsxs)("div",{className:"home-container",children:[(0,i.jsxs)("div",{className:"sections-container",children:[(0,i.jsx)("div",{className:"online-status-section",children:(0,i.jsxs)(c.Z,{size:"small",type:"inner",className:"online-details-card",children:[(0,i.jsxs)(d.Z,{gutter:[16,16],align:"middle",children:[(0,i.jsx)(u.Z,{span:8,sm:24,md:8,children:(0,i.jsx)(l.Z,{title:"Stream started ".concat((0,x.Z)(z,Date.now())),value:(0,f.Z)(z),prefix:(0,i.jsx)(h.Z,{})})}),(0,i.jsx)(u.Z,{span:8,sm:24,md:8,children:(0,i.jsx)(l.Z,{title:"Viewers",value:D,prefix:(0,i.jsx)(m.Z,{})})}),(0,i.jsx)(u.Z,{span:8,sm:24,md:8,children:(0,i.jsx)(l.Z,{title:"Peak viewer count",value:P,prefix:(0,i.jsx)(m.Z,{})})})]}),(0,i.jsx)(M.j,{})]})}),(0,i.jsxs)(d.Z,{gutter:[16,16],className:"section stream-details-section",children:[(0,i.jsxs)(u.Z,{className:"stream-details",span:12,sm:24,md:24,lg:12,children:[(0,i.jsx)(c.Z,{size:"small",title:"Outbound Stream Details",type:"inner",className:"outbound-details",children:E}),(0,i.jsxs)(c.Z,{size:"small",title:"Inbound Stream Details",type:"inner",children:[(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Input",value:"".concat(k," ").concat((0,A.t5)(y))}),(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Inbound Video Stream",value:b,formatter:Q}),(0,i.jsx)(l.Z,{className:"stream-details-item",title:"Inbound Audio Stream",value:U})]})]}),(0,i.jsx)(u.Z,{span:12,xs:24,sm:24,md:24,lg:12,children:(0,i.jsx)(I,{})})]})]}),(0,i.jsx)("br",{}),(0,i.jsx)(j.o,{logs:S,pageSize:5})]})}}},function(e){e.O(0,[7330,355,8091,2944,6265,5938,428,3731,841,9774,2888,179],(function(){return n=64830,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin/access-tokens-41275f2ab953516f.js b/static/web/_next/static/chunks/pages/admin/access-tokens-cf1ba21e16514a04.js similarity index 98% rename from static/web/_next/static/chunks/pages/admin/access-tokens-41275f2ab953516f.js rename to static/web/_next/static/chunks/pages/admin/access-tokens-cf1ba21e16514a04.js index 23dd8d73a..5a3a1f966 100644 --- a/static/web/_next/static/chunks/pages/admin/access-tokens-41275f2ab953516f.js +++ b/static/web/_next/static/chunks/pages/admin/access-tokens-cf1ba21e16514a04.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9882],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1413),c=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=n(42135),s=function(e,t){return c.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="DeleteOutlined";var i=c.forwardRef(s)},6226:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(4942),c=n(87462),o=n(71002),a=n(94184),s=n.n(a),i=n(67294),l=n(53124),u=n(99134),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 c=0;for(r=Object.getOwnPropertySymbols(e);c0){var I=m[0]/2;A.paddingLeft=I,A.paddingRight=I}if(m&&m[1]>0&&!b){var R=m[1]/2;A.paddingTop=R,A.paddingBottom=R}return E&&(A.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(E),!1!==y||A.minWidth||(A.minWidth=0)),i.createElement("div",(0,c.Z)({},N,{style:(0,c.Z)((0,c.Z)({},A),S),className:T,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 m}});var r=n(87462),c=n(4942),o=n(71002),a=n(97685),s=n(94184),i=n.n(s),l=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),h=n(99134),v=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 c=0;for(r=Object.getOwnPropertySymbols(e);c0?I[0]/-2:void 0,H=null!=I[1]&&I[1]>0?I[1]/-2:void 0;if(G&&(M.marginLeft=G,M.marginRight=G),P){var z=(0,a.Z)(I,2);M.rowGap=z[1]}else H&&(M.marginTop=H,M.marginBottom=H);var D=(0,a.Z)(I,2),B=D[0],F=D[1],U=l.useMemo((function(){return{gutter:[B,F],wrap:j,supportFlexGap:P}}),[B,F,j,P]);return l.createElement(h.Z.Provider,{value:U},l.createElement("div",(0,r.Z)({},w,{className:R,style:(0,r.Z)((0,r.Z)({},M),b),ref:t}),Z))}))},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(4942),c=n(87462),o=n(97685),a=n(97937),s=n(94184),i=n.n(s),l=n(98423),u=n(67294),f=n(53124),d=n(98787),p=n(68349),h=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 c=0;for(r=Object.getOwnPropertySymbols(e);c0){var I=m[0]/2;A.paddingLeft=I,A.paddingRight=I}if(m&&m[1]>0&&!b){var R=m[1]/2;A.paddingTop=R,A.paddingBottom=R}return E&&(A.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(E),!1!==y||A.minWidth||(A.minWidth=0)),i.createElement("div",(0,c.Z)({},N,{style:(0,c.Z)((0,c.Z)({},A),S),className:T,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 m}});var r=n(87462),c=n(4942),o=n(71002),a=n(97685),s=n(94184),i=n.n(s),l=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),h=n(99134),v=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 c=0;for(r=Object.getOwnPropertySymbols(e);c0?I[0]/-2:void 0,H=null!=I[1]&&I[1]>0?I[1]/-2:void 0;if(G&&(M.marginLeft=G,M.marginRight=G),P){var z=(0,a.Z)(I,2);M.rowGap=z[1]}else H&&(M.marginTop=H,M.marginBottom=H);var D=(0,a.Z)(I,2),B=D[0],F=D[1],U=l.useMemo((function(){return{gutter:[B,F],wrap:j,supportFlexGap:P}}),[B,F,j,P]);return l.createElement(h.Z.Provider,{value:U},l.createElement("div",(0,r.Z)({},w,{className:R,style:(0,r.Z)((0,r.Z)({},M),b),ref:t}),Z))}))},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(4942),c=n(87462),o=n(97685),a=n(97937),s=n(94184),i=n.n(s),l=n(98423),u=n(67294),f=n(53124),d=n(98787),p=n(68349),h=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 c=0;for(r=Object.getOwnPropertySymbols(e);ce.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?(0,c.jsx)(m.Z,{style:{color:"var(--ant-success)"}}):(0,c.jsx)(f.Z,{style:{color:"var(--ant-warning)"}}));var _="Click to ".concat(t?"hide":"show"," this message");return(0,c.jsxs)("div",{className:"toggle-switch ".concat(t?"":"hidden"),children:[(0,c.jsx)("span",{className:"outcome-icon",children:j}),(0,c.jsx)(y.Z,{title:_,placement:"topRight",children:(0,c.jsx)(d.Z,{shape:"circle",size:"small",type:"text",icon:t?(0,c.jsx)(Z.Z,{}):(0,c.jsx)(b.Z,{}),onClick:N})})]})},j=n(11085),_=l.Z.Title;var T=3e3;function C(){var e=(0,o.useState)([]),t=e[0],n=e[1],l=(0,o.useState)([]),p=l[0],y=l[1],Z=(0,o.useState)(!1),b=Z[0],C=Z[1],S=(0,o.useState)(null),k=S[0],E=S[1],I=(0,o.useState)(""),M=I[0],O=I[1],P=null,z=null,A=function(){var e=(0,s.Z)((function(){var e,t;return(0,u.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,(0,x.rQ)(x.WE,{auth:!0})];case 1:return e=s.sent(),(0,w.Qr)(e)?n([]):n(e),[3,3];case 2:return t=s.sent(),console.log("==== error",t),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,o.useEffect)((function(){return A(),z=setInterval((function(){A()}),x.NE),function(){clearTimeout(P),clearTimeout(z)}}),[]);var Q=function(e){return e.reduce((function(e,t){var n=t.user.id;return e.some((function(e){return e.text===n}))||e.push({text:n,value:n}),e}),[]).sort((function(e,t){var n=e.text.toUpperCase(),s=t.text.toUpperCase();return ns?1:0}))}(t),U={selectedRowKeys:p,onChange:function(e){y(e)}},D=function(e){var s=t.findIndex((function(t){return t.id===e.id}));t.splice(s,1,e),n((0,a.Z)(t))},H=function(){P=setTimeout((function(){E(null),O("")}),T)},V=function(){var e=(0,s.Z)((function(e){var s,o;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:return C(!0),[4,(0,x.rQ)(x.hn,{auth:!0,method:"POST",data:{visible:e,idArray:p}})];case 1:return(s=u.sent()).success&&"changed"===s.message?(E((0,c.jsx)(m.Z,{})),H(),o=(0,a.Z)(t),p.map((function(n){var s=o.findIndex((function(e){return e.id===n})),a=(0,i.Z)((0,r.Z)({},t[s]),{visible:e});return o.splice(s,1,a),null})),n(o),y([])):(E((0,c.jsx)(f.Z,{})),H()),C(!1),[2]}}))}));return function(t){return e.apply(this,arguments)}}(),F=[{title:"Time",dataIndex:"timestamp",key:"timestamp",className:"timestamp-col",defaultSortOrder:"descend",render:function(e){var t=new Date(e);return(0,v.Z)(t,"PP pp")},sorter:function(e,t){return new Date(e.timestamp).getTime()-new Date(t.timestamp).getTime()},width:90},{title:"User",dataIndex:"user",key:"user",className:"name-col",filters:Q,onFilter:function(e,t){return t.user.id===e},sorter:function(e,t){return e.user.displayName.localeCompare(t.user.displayName)},sortDirections:["ascend","descend"],ellipsis:!0,render:function(e){var t=e.displayName;return(0,c.jsx)(j.Z,{user:e,children:t})},width:110},{title:"Message",dataIndex:"body",key:"body",className:"message-col",width:320,render:function(e){return(0,c.jsx)("div",{className:"message-contents",dangerouslySetInnerHTML:{__html:e}})}},{title:"",dataIndex:"hiddenAt",key:"hiddenAt",className:"toggle-col",filters:[{text:"Visible messages",value:!0},{text:"Hidden messages",value:!1}],onFilter:function(e,t){return t.visible===e},render:function(e,t){return(0,c.jsx)(N,{isVisible:!e,message:t,setMessage:D})},width:30}],K=g()({"bulk-editor":!0,active:p.length});return(0,c.jsxs)("div",{className:"chat-messages",children:[(0,c.jsx)(_,{children:"Chat Messages"}),(0,c.jsx)("p",{children:"Manage the messages from viewers that show up on your stream."}),(0,c.jsxs)("div",{className:K,children:[(0,c.jsx)("span",{className:"label",children:"Check multiple messages to change their visibility to: "}),(0,c.jsx)(d.Z,{type:"primary",size:"small",shape:"round",className:"button",loading:"show"===M&&b,icon:"show"===M&&k,disabled:!p.length||M&&"show"!==M,onClick:function(){O("show"),V(!0)},children:"Show"}),(0,c.jsx)(d.Z,{type:"primary",size:"small",shape:"round",className:"button",loading:"hide"===M&&b,icon:"hide"===M&&k,disabled:!p.length||M&&"hide"!==M,onClick:function(){O("hide"),V(!1)},children:"Hide"})]}),(0,c.jsx)(h.Z,{size:"small",className:"table-container",pagination:{defaultPageSize:100,showSizeChanger:!0},scroll:{y:540},rowClassName:function(e){return e.hiddenAt?"hidden":""},dataSource:t,columns:F,rowKey:function(e){return e.id},rowSelection:U})]})}}},function(e){e.O(0,[3662,7330,3927,384,355,8091,5938,9189,9640,9774,2888,179],(function(){return t=62433,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7095],{62433:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/chat/messages",function(){return n(28599)}])},28599:function(e,t,n){"use strict";n.r(t),n.d(t,{OUTCOME_TIMEOUT:function(){return T},default:function(){return C}});var s=n(47568),r=n(26042),i=n(69396),a=n(29815),u=n(70655),c=n(85893),o=n(67294),l=n(84485),d=n(71577),h=n(10355),m=n(89739),f=n(21640),p=n(94184),g=n.n(p),v=n(58091),x=n(58827),w=n(2766),y=n(94199),Z=n(99611),b=n(90420),N=function(e){var t=e.isVisible,n=e.message,a=e.setMessage;if(!n||(0,w.Qr)(n))return null;var l=null,h=(0,o.useState)(0),p=h[0],g=h[1],v=(n||{}).id;(0,o.useEffect)((function(){return function(){clearTimeout(l)}}));var N=function(){var e=(0,s.Z)((function(){var e;return(0,u.__generator)(this,(function(s){switch(s.label){case 0:return clearTimeout(l),g(0),[4,(0,x.rQ)(x.hn,{auth:!0,method:"POST",data:{visible:!t,idArray:[v]}})];case 1:return(e=s.sent()).success&&"changed"===e.message?(a((0,i.Z)((0,r.Z)({},n),{visible:!t})),g(1)):(a((0,i.Z)((0,r.Z)({},n),{visible:t})),g(-1)),l=setTimeout((function(){g(0)}),T),[2]}}))}));return function(){return e.apply(this,arguments)}}(),j=(0,c.jsx)(m.Z,{style:{color:"transparent"}});p&&(j=p>0?(0,c.jsx)(m.Z,{style:{color:"var(--ant-success)"}}):(0,c.jsx)(f.Z,{style:{color:"var(--ant-warning)"}}));var _="Click to ".concat(t?"hide":"show"," this message");return(0,c.jsxs)("div",{className:"toggle-switch ".concat(t?"":"hidden"),children:[(0,c.jsx)("span",{className:"outcome-icon",children:j}),(0,c.jsx)(y.Z,{title:_,placement:"topRight",children:(0,c.jsx)(d.Z,{shape:"circle",size:"small",type:"text",icon:t?(0,c.jsx)(Z.Z,{}):(0,c.jsx)(b.Z,{}),onClick:N})})]})},j=n(11085),_=l.Z.Title;var T=3e3;function C(){var e=(0,o.useState)([]),t=e[0],n=e[1],l=(0,o.useState)([]),p=l[0],y=l[1],Z=(0,o.useState)(!1),b=Z[0],C=Z[1],S=(0,o.useState)(null),k=S[0],E=S[1],I=(0,o.useState)(""),M=I[0],O=I[1],P=null,z=null,A=function(){var e=(0,s.Z)((function(){var e,t;return(0,u.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,(0,x.rQ)(x.WE,{auth:!0})];case 1:return e=s.sent(),(0,w.Qr)(e)?n([]):n(e),[3,3];case 2:return t=s.sent(),console.log("==== error",t),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,o.useEffect)((function(){return A(),z=setInterval((function(){A()}),x.NE),function(){clearTimeout(P),clearTimeout(z)}}),[]);var Q=function(e){return e.reduce((function(e,t){var n=t.user.id;return e.some((function(e){return e.text===n}))||e.push({text:n,value:n}),e}),[]).sort((function(e,t){var n=e.text.toUpperCase(),s=t.text.toUpperCase();return ns?1:0}))}(t),U={selectedRowKeys:p,onChange:function(e){y(e)}},D=function(e){var s=t.findIndex((function(t){return t.id===e.id}));t.splice(s,1,e),n((0,a.Z)(t))},H=function(){P=setTimeout((function(){E(null),O("")}),T)},V=function(){var e=(0,s.Z)((function(e){var s,o;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:return C(!0),[4,(0,x.rQ)(x.hn,{auth:!0,method:"POST",data:{visible:e,idArray:p}})];case 1:return(s=u.sent()).success&&"changed"===s.message?(E((0,c.jsx)(m.Z,{})),H(),o=(0,a.Z)(t),p.map((function(n){var s=o.findIndex((function(e){return e.id===n})),a=(0,i.Z)((0,r.Z)({},t[s]),{visible:e});return o.splice(s,1,a),null})),n(o),y([])):(E((0,c.jsx)(f.Z,{})),H()),C(!1),[2]}}))}));return function(t){return e.apply(this,arguments)}}(),F=[{title:"Time",dataIndex:"timestamp",key:"timestamp",className:"timestamp-col",defaultSortOrder:"descend",render:function(e){var t=new Date(e);return(0,v.Z)(t,"PP pp")},sorter:function(e,t){return new Date(e.timestamp).getTime()-new Date(t.timestamp).getTime()},width:90},{title:"User",dataIndex:"user",key:"user",className:"name-col",filters:Q,onFilter:function(e,t){return t.user.id===e},sorter:function(e,t){return e.user.displayName.localeCompare(t.user.displayName)},sortDirections:["ascend","descend"],ellipsis:!0,render:function(e){var t=e.displayName;return(0,c.jsx)(j.Z,{user:e,children:t})},width:110},{title:"Message",dataIndex:"body",key:"body",className:"message-col",width:320,render:function(e){return(0,c.jsx)("div",{className:"message-contents",dangerouslySetInnerHTML:{__html:e}})}},{title:"",dataIndex:"hiddenAt",key:"hiddenAt",className:"toggle-col",filters:[{text:"Visible messages",value:!0},{text:"Hidden messages",value:!1}],onFilter:function(e,t){return t.visible===e},render:function(e,t){return(0,c.jsx)(N,{isVisible:!e,message:t,setMessage:D})},width:30}],K=g()({"bulk-editor":!0,active:p.length});return(0,c.jsxs)("div",{className:"chat-messages",children:[(0,c.jsx)(_,{children:"Chat Messages"}),(0,c.jsx)("p",{children:"Manage the messages from viewers that show up on your stream."}),(0,c.jsxs)("div",{className:K,children:[(0,c.jsx)("span",{className:"label",children:"Check multiple messages to change their visibility to: "}),(0,c.jsx)(d.Z,{type:"primary",size:"small",shape:"round",className:"button",loading:"show"===M&&b,icon:"show"===M&&k,disabled:!p.length||M&&"show"!==M,onClick:function(){O("show"),V(!0)},children:"Show"}),(0,c.jsx)(d.Z,{type:"primary",size:"small",shape:"round",className:"button",loading:"hide"===M&&b,icon:"hide"===M&&k,disabled:!p.length||M&&"hide"!==M,onClick:function(){O("hide"),V(!1)},children:"Hide"})]}),(0,c.jsx)(h.Z,{size:"small",className:"table-container",pagination:{defaultPageSize:100,showSizeChanger:!0},scroll:{y:540},rowClassName:function(e){return e.hiddenAt?"hidden":""},dataSource:t,columns:F,rowKey:function(e){return e.id},rowSelection:U})]})}}},function(e){e.O(0,[3662,7330,355,8091,5938,9189,9640,9774,2888,179],(function(){return t=62433,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin/chat/users-07f2057e1085b2dd.js b/static/web/_next/static/chunks/pages/admin/chat/users-7dc2d86de5395259.js similarity index 97% rename from static/web/_next/static/chunks/pages/admin/chat/users-07f2057e1085b2dd.js rename to static/web/_next/static/chunks/pages/admin/chat/users-7dc2d86de5395259.js index b172c5157..5ce65446b 100644 --- a/static/web/_next/static/chunks/pages/admin/chat/users-07f2057e1085b2dd.js +++ b/static/web/_next/static/chunks/pages/admin/chat/users-7dc2d86de5395259.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9522],{55583:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/chat/users",function(){return t(66540)}])},66540:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return k},default:function(){return C}});var r=t(47568),s=t(70655),a=t(85893),c=t(67294),o=t(2944),i=t(35159),u=t(58827),d=t(41542),l=t(69677),f=t(10355),h=t(68795),p=t(45938),m=t(11085),g=t(77891),x=t(2766),y=function(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,a.jsx)(m.Z,{user:n,connectionInfo:t,children:(0,a.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return n.user.displayName.localeCompare(e.user.displayName)},filterIcon:(0,a.jsx)(h.Z,{}),filterDropdown:function(e){var n=e.setSelectedKeys,t=e.selectedKeys,r=e.confirm;return(0,a.jsx)("div",{style:{padding:8},children:(0,a.jsx)(l.Z,{placeholder:"Search display names...",value:t[0],onChange:function(e){n(e.target.value?[e.target.value]:[]),r({closeDropdown:!1})}})})},onFilter:function(e,n){return n.user.displayName.includes(e)},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",width:"12%",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"],render:function(e){return(0,a.jsx)("div",{style:{textAlign:"center"},children:e})}},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,p.Z)(new Date(e))},sorter:function(e,n){return new Date(n.connectedAt).getTime()-new Date(e.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,x.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(g.e,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,a.jsx)(f.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})},j=t(71577),v=t(58091),A=t(84674);function w(){return(w=(0,r.Z)((function(e){var n;return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,u.rQ)(u.RB,{data:{value:e},method:"POST",auth:!0})];case 1:return t.sent(),[3,3];case 2:return n=t.sent(),console.error(n),[3,3];case 3:return[2]}}))}))).apply(this,arguments)}var b=function(e){var n=e.data,t=[{title:"IP Address",dataIndex:"ipAddress",key:"ipAddress"},{title:"Reason",dataIndex:"notes",key:"notes"},{title:"Created",dataIndex:"createdAt",key:"createdAt",render:function(e){return function(e){return(0,v.Z)(new Date(e),"MMM d H:mma")}(e)},sorter:function(e,n){return new Date(e.createdAt).getTime()-new Date(n.createdAt).getTime()},sortDirections:["descend","ascend"]},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(j.Z,{title:"Remove IP Address Ban",onClick:function(){return function(e){return w.apply(this,arguments)}(n.ipAddress)},icon:(0,a.jsx)(A.Z,{twoToneColor:"#ff4d4f"}),className:"block-user-button"})}}];return(0,a.jsx)(f.Z,{pagination:{hideOnSinglePage:!0},className:"table-container",columns:t,dataSource:n,size:"large",rowKey:"ipAddress"})},N=o.Z.TabPane,k=1e4;function C(){var e=((0,c.useContext)(i.aC)||{}).online,n=(0,c.useState)([]),t=n[0],l=n[1],f=(0,c.useState)([]),h=f[0],p=f[1],m=(0,c.useState)([]),g=m[0],x=m[1],j=(0,c.useState)([]),v=j[0],A=j[1],w=function(){var e=(0,r.Z)((function(){var e,n,t,r,a,c,o,i;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,(0,u.rQ)(u.qk)];case 1:return e=s.sent(),l(e),[3,3];case 2:return n=s.sent(),console.log("==== error",n),[3,3];case 3:return s.trys.push([3,5,,6]),[4,(0,u.rQ)(u.Kp)];case 4:return t=s.sent(),x(t),[3,6];case 5:return r=s.sent(),console.log("==== error",r),[3,6];case 6:return s.trys.push([6,8,,9]),[4,(0,u.rQ)(u.GC)];case 7:return a=s.sent(),A(a),[3,9];case 8:return c=s.sent(),console.error("error fetching moderators",c),[3,9];case 9:return s.trys.push([9,11,,12]),[4,(0,u.rQ)(u.Bu)];case 10:return o=s.sent(),p(o),[3,12];case 11:return i=s.sent(),console.error("error fetching banned ips",i),[3,12];case 12:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){var e;return w(),e=setInterval(w,k),function(){clearInterval(e)}}),[e]);var C=e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{data:g}),(0,a.jsxs)("p",{className:"description",children:["Visit the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,a.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,a.jsxs)(o.Z,{defaultActiveKey:"1",children:[(0,a.jsx)(N,{tab:(0,a.jsxs)("span",{children:["Connected ",e?"(".concat(g.length,")"):"(offline)"]}),children:C},"1"),(0,a.jsx)(N,{tab:(0,a.jsxs)("span",{children:["Banned Users (",t.length,")"]}),children:(0,a.jsx)(d.K,{data:t})},"2"),(0,a.jsx)(N,{tab:(0,a.jsxs)("span",{children:["IP Bans (",h.length,")"]}),children:(0,a.jsx)(b,{data:h})},"3"),(0,a.jsx)(N,{tab:(0,a.jsxs)("span",{children:["Moderators (",v.length,")"]}),children:(0,a.jsx)(d.K,{data:v})},"4")]})}}},function(e){e.O(0,[3662,7330,3927,384,355,8091,2944,5938,9189,9640,9774,2888,179],(function(){return n=55583,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9522],{55583:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/chat/users",function(){return t(66540)}])},66540:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return k},default:function(){return C}});var r=t(47568),s=t(70655),a=t(85893),c=t(67294),o=t(2944),i=t(35159),u=t(58827),d=t(41542),l=t(69677),f=t(10355),h=t(68795),p=t(45938),m=t(11085),g=t(77891),x=t(2766),y=function(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,a.jsx)(m.Z,{user:n,connectionInfo:t,children:(0,a.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return n.user.displayName.localeCompare(e.user.displayName)},filterIcon:(0,a.jsx)(h.Z,{}),filterDropdown:function(e){var n=e.setSelectedKeys,t=e.selectedKeys,r=e.confirm;return(0,a.jsx)("div",{style:{padding:8},children:(0,a.jsx)(l.Z,{placeholder:"Search display names...",value:t[0],onChange:function(e){n(e.target.value?[e.target.value]:[]),r({closeDropdown:!1})}})})},onFilter:function(e,n){return n.user.displayName.includes(e)},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",width:"12%",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"],render:function(e){return(0,a.jsx)("div",{style:{textAlign:"center"},children:e})}},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,p.Z)(new Date(e))},sorter:function(e,n){return new Date(n.connectedAt).getTime()-new Date(e.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,x.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(g.e,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,a.jsx)(f.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})},j=t(71577),v=t(58091),A=t(84674);function w(){return(w=(0,r.Z)((function(e){var n;return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,u.rQ)(u.RB,{data:{value:e},method:"POST",auth:!0})];case 1:return t.sent(),[3,3];case 2:return n=t.sent(),console.error(n),[3,3];case 3:return[2]}}))}))).apply(this,arguments)}var b=function(e){var n=e.data,t=[{title:"IP Address",dataIndex:"ipAddress",key:"ipAddress"},{title:"Reason",dataIndex:"notes",key:"notes"},{title:"Created",dataIndex:"createdAt",key:"createdAt",render:function(e){return function(e){return(0,v.Z)(new Date(e),"MMM d H:mma")}(e)},sorter:function(e,n){return new Date(e.createdAt).getTime()-new Date(n.createdAt).getTime()},sortDirections:["descend","ascend"]},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(j.Z,{title:"Remove IP Address Ban",onClick:function(){return function(e){return w.apply(this,arguments)}(n.ipAddress)},icon:(0,a.jsx)(A.Z,{twoToneColor:"#ff4d4f"}),className:"block-user-button"})}}];return(0,a.jsx)(f.Z,{pagination:{hideOnSinglePage:!0},className:"table-container",columns:t,dataSource:n,size:"large",rowKey:"ipAddress"})},N=o.Z.TabPane,k=1e4;function C(){var e=((0,c.useContext)(i.aC)||{}).online,n=(0,c.useState)([]),t=n[0],l=n[1],f=(0,c.useState)([]),h=f[0],p=f[1],m=(0,c.useState)([]),g=m[0],x=m[1],j=(0,c.useState)([]),v=j[0],A=j[1],w=function(){var e=(0,r.Z)((function(){var e,n,t,r,a,c,o,i;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,(0,u.rQ)(u.qk)];case 1:return e=s.sent(),l(e),[3,3];case 2:return n=s.sent(),console.log("==== error",n),[3,3];case 3:return s.trys.push([3,5,,6]),[4,(0,u.rQ)(u.Kp)];case 4:return t=s.sent(),x(t),[3,6];case 5:return r=s.sent(),console.log("==== error",r),[3,6];case 6:return s.trys.push([6,8,,9]),[4,(0,u.rQ)(u.GC)];case 7:return a=s.sent(),A(a),[3,9];case 8:return c=s.sent(),console.error("error fetching moderators",c),[3,9];case 9:return s.trys.push([9,11,,12]),[4,(0,u.rQ)(u.Bu)];case 10:return o=s.sent(),p(o),[3,12];case 11:return i=s.sent(),console.error("error fetching banned ips",i),[3,12];case 12:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){var e;return w(),e=setInterval(w,k),function(){clearInterval(e)}}),[e]);var C=e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{data:g}),(0,a.jsxs)("p",{className:"description",children:["Visit the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,a.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,a.jsxs)(o.Z,{defaultActiveKey:"1",children:[(0,a.jsx)(N,{tab:(0,a.jsxs)("span",{children:["Connected ",e?"(".concat(g.length,")"):"(offline)"]}),children:C},"1"),(0,a.jsx)(N,{tab:(0,a.jsxs)("span",{children:["Banned Users (",t.length,")"]}),children:(0,a.jsx)(d.K,{data:t})},"2"),(0,a.jsx)(N,{tab:(0,a.jsxs)("span",{children:["IP Bans (",h.length,")"]}),children:(0,a.jsx)(b,{data:h})},"3"),(0,a.jsx)(N,{tab:(0,a.jsxs)("span",{children:["Moderators (",v.length,")"]}),children:(0,a.jsx)(d.K,{data:v})},"4")]})}}},function(e){e.O(0,[3662,7330,355,8091,2944,5938,9189,9640,9774,2888,179],(function(){return n=55583,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin/config-public-details-9c283761624d664a.js b/static/web/_next/static/chunks/pages/admin/config-public-details-3b6b7476570a4a4f.js similarity index 98% rename from static/web/_next/static/chunks/pages/admin/config-public-details-9c283761624d664a.js rename to static/web/_next/static/chunks/pages/admin/config-public-details-3b6b7476570a4a4f.js index 90c538e5f..d01e3441d 100644 --- a/static/web/_next/static/chunks/pages/admin/config-public-details-9c283761624d664a.js +++ b/static/web/_next/static/chunks/pages/admin/config-public-details-3b6b7476570a4a4f.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4311],{86045:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-public-details",function(){return t(42992)}])},80939:function(e,n,t){"use strict";t.d(n,{Q:function(){return u},Y:function(){return d}});var a=t(85893),s=t(67294),i=t(84485),r=t(20550),l=t(24389),o=t(25521),c=i.Z.Title,u="#5a67d8",d=function(e){var n=e.title,t=e.description,i=e.placeholder,d=e.maxLength,f=e.values,h=e.handleDeleteIndex,m=e.handleCreateString,p=e.submitStatus,g=e.continuousStatusMessage,v=(0,s.useState)(""),x=v[0],j=v[1];return(0,a.jsxs)("div",{className:"edit-string-array-container",children:[(0,a.jsx)(c,{level:3,className:"section-title",children:n}),(0,a.jsx)("p",{className:"description",children:t}),(0,a.jsx)("div",{className:"edit-current-strings",children:null===f||void 0===f?void 0:f.map((function(e,n){return(0,a.jsx)(r.Z,{closable:!0,onClose:function(){h(n)},color:u,children:e},"tag-".concat(e,"-").concat(n))}))}),g&&(0,a.jsx)("div",{className:"continuous-status-section",children:(0,a.jsx)(o.E,{status:g})}),(0,a.jsx)("div",{className:"add-new-string-section",children:(0,a.jsx)(l.nv,{fieldName:"string-input",value:x,onChange:function(e){var n=e.value;j(n)},onPressEnter:function(){var e=x.trim();m(e),j("")},maxLength:d,placeholder:i,status:p})})]})};d.defaultProps={maxLength:50,description:null,submitStatus:null,continuousStatusMessage:null}},3664:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var a=t(47568),s=t(70655),i=t(85893),r=t(67294),l=t(94594),o=t(83192),c=t(25521),u=t(25964),d=t(35159),f=function(e){var n=e.apiPath,t=e.checked,f=e.reversed,h=void 0!==f&&f,m=e.configPath,p=void 0===m?"":m,g=e.disabled,v=void 0!==g&&g,x=e.fieldName,j=e.label,N=e.tip,C=e.useSubmit,S=e.onChange,y=(0,r.useState)(null),b=y[0],w=y[1],k=null,Z=((0,r.useContext)(d.aC)||{}).setFieldInConfigState,T=function(){w(null),clearTimeout(k),k=null},_=function(){var e=(0,a.Z)((function(e){var t;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:return C?(w((0,o.kg)(o.Jk)),t=h?!e:e,[4,(0,u.Si)({apiPath:n,data:{value:t},onSuccess:function(){Z({fieldName:x,value:t,path:p}),w((0,o.kg)(o.zv))},onError:function(e){w((0,o.kg)(o.Un,"There was an error: ".concat(e)))}})]):[3,2];case 1:a.sent(),k=setTimeout(T,u.sI),a.label=2;case 2:return S&&S(e),[2]}}))}));return function(n){return e.apply(this,arguments)}}(),P=null!==b&&b.type===o.Jk;return(0,i.jsxs)("div",{className:"formfield-container toggleswitch-container",children:[j&&(0,i.jsx)("div",{className:"label-side",children:(0,i.jsx)("span",{className:"formfield-label",children:j})}),(0,i.jsxs)("div",{className:"input-side",children:[(0,i.jsxs)("div",{className:"input-group",children:[(0,i.jsx)(l.Z,{className:"switch field-".concat(x),loading:P,onChange:_,defaultChecked:t,checked:t,checkedChildren:"ON",unCheckedChildren:"OFF",disabled:v}),(0,i.jsx)(c.E,{status:b})]}),(0,i.jsx)("p",{className:"field-tip",children:N})]})]})};f.defaultProps={apiPath:"",checked:!1,reversed:!1,configPath:"",disabled:!1,label:"",tip:"",useSubmit:!1,onChange:null}},42992:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return $}});var a=t(85893),s=t(67294),i=t(84485),r=t(14924),l=t(26042),o=t(69396),c=t(45200),u=t(35159),d=t(25964),f=t(3664),h=t(47568),m=t(70655),p=t(77916),g=t(71577),v=t(50888),x=t(88484),j=t(25521),N=t(83192),C=t(58827),S=["image/png","image/jpeg","image/gif"];var y=function(){var e,n=(0,s.useState)(null),t=n[0],i=n[1],r=(0,s.useState)(!1),l=r[0],o=r[1],c=(0,s.useState)(0),f=c[0],y=c[1],b=(0,s.useContext)(u.aC)||{},w=b.setFieldInConfigState,k=b.serverConfig,Z=null===k||void 0===k||null===(e=k.instanceDetails)||void 0===e?void 0:e.logo,T=(0,s.useState)(null),_=T[0],P=T[1],E=null,L=d.ZQ.apiPath,U=d.ZQ.tip,I=function(){P(null),clearTimeout(E),E=null},D=function(){var e=(0,h.Z)((function(){return(0,m.__generator)(this,(function(e){switch(e.label){case 0:return t===Z?[3,2]:(P((0,N.kg)(N.Jk)),[4,(0,d.Si)({apiPath:L,data:{value:t},onSuccess:function(){w({fieldName:"logo",value:t,path:""}),P((0,N.kg)(N.zv)),o(!1),y(Math.floor(100*Math.random()))},onError:function(e){P((0,N.kg)(N.Un,"There was an error: ".concat(e))),o(!1)}})]);case 1:e.sent(),E=setTimeout(I,d.sI),e.label=2;case 2:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),F="".concat(C.WB,"logo?random=").concat(f);return(0,a.jsxs)("div",{className:"formfield-container logo-upload-container",children:[(0,a.jsx)("div",{className:"label-side",children:(0,a.jsx)("span",{className:"formfield-label",children:"Logo"})}),(0,a.jsxs)("div",{className:"input-side",children:[(0,a.jsxs)("div",{className:"input-group",children:[(0,a.jsx)("img",{src:F,alt:"avatar",className:"logo-preview"}),(0,a.jsx)(p.Z,{name:"logo",listType:"picture",className:"avatar-uploader",showUploadList:!1,accept:S.join(","),beforeUpload:function(e){return o(!0),new Promise((function(n,t){if(!S.includes(e.type)){var a="File type is not supported: ".concat(e.type);return P((0,N.kg)(N.Un,"There was an error: ".concat(a))),E=setTimeout(I,d.sI),o(!1),t()}!function(e,n){var t=new FileReader;t.addEventListener("load",(function(){return n(t.result)})),t.readAsDataURL(e)}(e,(function(e){return i(e),n()}))}))},customRequest:D,disabled:l,children:l?(0,a.jsx)(v.Z,{style:{color:"white"}}):(0,a.jsx)(g.Z,{icon:(0,a.jsx)(x.Z,{})})})]}),(0,a.jsx)(j.E,{status:_}),(0,a.jsx)("p",{className:"field-tip",children:U})]})]})},b=i.Z.Title,w=function(){var e=(0,s.useState)(null),n=e[0],t=e[1],i=((0,s.useContext)(u.aC)||{}).serverConfig,h=i.instanceDetails,m=i.yp,p=m.instanceUrl;if((0,s.useEffect)((function(){t((0,l.Z)({},h,m))}),[h,m]),!n)return null;var g=function(e){var a=e.fieldName,s=e.value;t((0,o.Z)((0,l.Z)({},n),(0,r.Z)({},a,s)))},v=""!==p;return(0,a.jsxs)("div",{className:"edit-general-settings",children:[(0,a.jsx)(b,{level:3,className:"section-title",children:"Configure Instance Details"}),(0,a.jsx)("br",{}),(0,a.jsx)(c.$7,(0,o.Z)((0,l.Z)({fieldName:"name"},d.RE),{value:n.name,initialValue:h.name,onChange:g})),(0,a.jsx)(c.$7,(0,o.Z)((0,l.Z)({fieldName:"instanceUrl"},d.cj),{value:n.instanceUrl,initialValue:m.instanceUrl,type:c.xA,onChange:g,onSubmit:function(){""===n.instanceUrl&&!0===m.enabled&&(0,d.Si)({apiPath:d.AP,data:{value:!1}})}})),(0,a.jsx)(c.$7,(0,o.Z)((0,l.Z)({fieldName:"summary"},d.rs),{type:c.Sk,value:n.summary,initialValue:h.summary,onChange:g})),(0,a.jsx)(c.$7,(0,o.Z)((0,l.Z)({fieldName:"offlineMessage"},d.rd),{type:c.Sk,value:n.offlineMessage,initialValue:h.offlineMessage,onChange:g})),(0,a.jsx)(y,{}),(0,a.jsx)(f.Z,(0,o.Z)((0,l.Z)({fieldName:"hideViewerCount",useSubmit:!0},d._X),{checked:n.hideViewerCount,onChange:function(e){g({fieldName:"hideViewerCount",value:e})}})),(0,a.jsx)("br",{}),(0,a.jsxs)("p",{className:"description",children:["Increase your audience by appearing in the"," ",(0,a.jsx)("a",{href:"https://directory.owncast.online",target:"_blank",rel:"noreferrer",children:(0,a.jsx)("strong",{children:"Owncast Directory"})}),". This is an external service run by the Owncast project."," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/directory/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn more"}),"."]}),!m.instanceUrl&&(0,a.jsxs)("p",{className:"description",children:["You must set your ",(0,a.jsx)("strong",{children:"Server URL"})," above to enable the directory."]}),(0,a.jsxs)("div",{className:"config-yp-container",children:[(0,a.jsx)(f.Z,(0,o.Z)((0,l.Z)({fieldName:"enabled",useSubmit:!0},d.P),{checked:n.enabled,disabled:!v})),(0,a.jsx)(f.Z,(0,o.Z)((0,l.Z)({fieldName:"nsfw",useSubmit:!0},d.EY),{checked:n.nsfw,disabled:!v}))]})]})},k=t(29815),Z=t(20550),T=t(24389),_=t(80939),P=i.Z.Title,E=function(){var e=(0,s.useState)(""),n=e[0],t=e[1],i=(0,s.useState)(null),r=i[0],l=i[1],o=(0,s.useContext)(u.aC)||{},c=o.serverConfig,f=o.setFieldInConfigState,p=c.instanceDetails.tags,g=void 0===p?[]:p,v=d.y_.apiPath,x=d.y_.maxLength,j=d.y_.placeholder,C=d.y_.configPath,S=null;(0,s.useEffect)((function(){return function(){clearTimeout(S)}}),[]);var y=function(){l(null),S=null,clearTimeout(S)},b=function(){var e=(0,h.Z)((function(e){return(0,m.__generator)(this,(function(n){switch(n.label){case 0:return l((0,N.kg)(N.Jk)),[4,(0,d.Si)({apiPath:v,data:{value:e},onSuccess:function(){f({fieldName:"tags",value:e,path:C}),l((0,N.kg)(N.zv,"Tags updated.")),t(""),S=setTimeout(y,d.sI)},onError:function(e){l((0,N.kg)(N.Un,e)),S=setTimeout(y,d.sI)}})];case 1:return n.sent(),[2]}}))}));return function(n){return e.apply(this,arguments)}}();return(0,a.jsxs)("div",{className:"tag-editor-container",children:[(0,a.jsx)(P,{level:3,className:"section-title",children:"Add Tags"}),(0,a.jsx)("p",{className:"description",children:"This is a great way to categorize your Owncast server on the Directory!"}),(0,a.jsx)("div",{className:"edit-current-strings",children:g.map((function(e,n){return(0,a.jsx)(Z.Z,{closable:!0,onClose:function(){!function(e){y();var n=(0,k.Z)(g);n.splice(e,1),b(n)}(n)},color:_.Q,children:e},"tag-".concat(e,"-").concat(n))}))}),(0,a.jsx)("div",{className:"add-new-string-section",children:(0,a.jsx)(T.nv,{fieldName:"tag-input",value:n,className:"new-tag-input",onChange:function(e){var n=e.value;r||l(null),t(n)},onPressEnter:function(){y();var e=n.trim();if(""!==e)if(g.some((function(n){return n.toLowerCase()===e.toLowerCase()})))l((0,N.kg)(N.dG,"This tag is already used!"));else{var t=(0,k.Z)(g).concat([e]);b(t)}else l((0,N.kg)(N.dG,"Please enter a tag"))},maxLength:x,placeholder:j,status:r})})]})},L=t(72877),U=t(5152),I=t.n(U),D=t(9980),F=t.n(D),M=(t(69596),new(F())),z=I()((function(){return t.e(7610).then(t.bind(t,77610))}),{loadableGenerated:{webpack:function(){return[77610]}},ssr:!1}),O=i.Z.Title,V=function(){var e=(0,s.useState)(""),n=e[0],t=e[1],i=(0,s.useState)(null),r=i[0],l=i[1],o=(0,s.useState)(!1),c=o[0],f=o[1],p=(0,s.useContext)(u.aC)||{},v=p.serverConfig,x=p.setFieldInConfigState,C=v.instanceDetails,S=C.extraPageContent,y=null,b=function(){l(null),f(!1),clearTimeout(y),y=null};function w(){return(w=(0,h.Z)((function(){return(0,m.__generator)(this,(function(e){switch(e.label){case 0:return l((0,N.kg)(N.Jk)),[4,(0,d.Si)({apiPath:d.AA,data:{value:n},onSuccess:function(e){x({fieldName:"extraPageContent",value:n,path:"instanceDetails"}),l((0,N.kg)(N.zv,e))},onError:function(e){l((0,N.kg)(N.Un,e))}})];case 1:return e.sent(),y=setTimeout(b,d.sI),[2]}}))}))).apply(this,arguments)}return(0,s.useEffect)((function(){t(S)}),[C]),(0,a.jsxs)("div",{className:"edit-page-content",children:[(0,a.jsx)(O,{level:3,className:"section-title",children:"Custom Page Content"}),(0,a.jsxs)("p",{className:"description",children:["Edit the content of your page by using simple"," ",(0,a.jsx)("a",{href:"https://www.markdownguide.org/basic-syntax/",target:"_blank",rel:"noopener noreferrer",children:"Markdown syntax"}),"."]}),(0,a.jsx)(z,{style:{height:"30em"},value:n,renderHTML:function(e){return M.render(e)},onChange:function(e){var n=e.text;t(n),n===S||c?n===S&&c&&f(!1):f(!0)},config:{htmlClass:"markdown-editor-preview-pane",markdownClass:"markdown-editor-pane"}}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{className:"page-content-actions",children:[c&&(0,a.jsx)(g.Z,{type:"primary",onClick:function(){return w.apply(this,arguments)},children:"Save"}),(0,a.jsx)(j.E,{status:r})]})]})},A=i.Z.Title,J=function(){var e=(0,s.useState)(""),n=e[0],t=e[1],i=(0,s.useState)(null),r=i[0],l=i[1],o=(0,s.useState)(!1),c=o[0],f=o[1],p=(0,s.useContext)(u.aC)||{},v=p.serverConfig,x=p.setFieldInConfigState,C=v.instanceDetails,S=C.customStyles,y=null,b=function(){l(null),f(!1),clearTimeout(y),y=null};function w(){return(w=(0,h.Z)((function(){return(0,m.__generator)(this,(function(e){switch(e.label){case 0:return l((0,N.kg)(N.Jk)),[4,(0,d.Si)({apiPath:d.d$,data:{value:n},onSuccess:function(e){x({fieldName:"customStyles",value:n,path:"instanceDetails"}),l((0,N.kg)(N.zv,e))},onError:function(e){l((0,N.kg)(N.Un,e))}})];case 1:return e.sent(),y=setTimeout(b,d.sI),[2]}}))}))).apply(this,arguments)}return(0,s.useEffect)((function(){t(S)}),[C]),(0,a.jsxs)("div",{className:"edit-custom-css",children:[(0,a.jsx)(A,{level:3,className:"section-title",children:"Customize your page styling with CSS"}),(0,a.jsxs)("p",{className:"description",children:["Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/website/",rel:"noopener noreferrer",target:"_blank",children:"CSS & Components guide"}),"."]}),(0,a.jsx)("p",{className:"description",children:"Please input plain CSS text, as this will be directly injected onto your page during load."}),(0,a.jsx)(T.nv,{fieldName:"customStyles",type:T.Sk,value:n,maxLength:null,onChange:function(e){var n=e.value;t(n),n===S||c?n===S&&c&&f(!1):f(!0)},placeholder:"/* Enter custom CSS here */"}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{className:"page-content-actions",children:[c&&(0,a.jsx)(g.Z,{type:"primary",onClick:function(){return w.apply(this,arguments)},children:"Save"}),(0,a.jsx)(j.E,{status:r})]})]})},R=i.Z.Title;function $(){return(0,a.jsxs)("div",{className:"config-public-details-page",children:[(0,a.jsx)(R,{children:"General Settings"}),(0,a.jsxs)("p",{className:"description",children:["The following are displayed on your site to describe your stream and its content."," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/website/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn more."})]}),(0,a.jsxs)("div",{className:"top-container",children:[(0,a.jsx)("div",{className:"form-module instance-details-container",children:(0,a.jsx)(w,{})}),(0,a.jsxs)("div",{className:"form-module social-items-container ",children:[(0,a.jsx)("div",{className:"form-module tags-module",children:(0,a.jsx)(E,{})}),(0,a.jsx)("div",{className:"form-module social-handles-container",children:(0,a.jsx)(L.h,{})})]})]}),(0,a.jsx)("div",{className:"form-module page-content-module",children:(0,a.jsx)(V,{})}),(0,a.jsx)("div",{className:"form-module page-content-module",children:(0,a.jsx)(J,{})})]})}}},function(e){e.O(0,[7330,3927,384,355,7910,927,2877,9774,2888,179],(function(){return n=86045,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4311],{86045:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-public-details",function(){return t(42992)}])},80939:function(e,n,t){"use strict";t.d(n,{Q:function(){return u},Y:function(){return d}});var a=t(85893),s=t(67294),i=t(84485),r=t(20550),l=t(24389),o=t(25521),c=i.Z.Title,u="#5a67d8",d=function(e){var n=e.title,t=e.description,i=e.placeholder,d=e.maxLength,f=e.values,h=e.handleDeleteIndex,m=e.handleCreateString,p=e.submitStatus,g=e.continuousStatusMessage,v=(0,s.useState)(""),x=v[0],j=v[1];return(0,a.jsxs)("div",{className:"edit-string-array-container",children:[(0,a.jsx)(c,{level:3,className:"section-title",children:n}),(0,a.jsx)("p",{className:"description",children:t}),(0,a.jsx)("div",{className:"edit-current-strings",children:null===f||void 0===f?void 0:f.map((function(e,n){return(0,a.jsx)(r.Z,{closable:!0,onClose:function(){h(n)},color:u,children:e},"tag-".concat(e,"-").concat(n))}))}),g&&(0,a.jsx)("div",{className:"continuous-status-section",children:(0,a.jsx)(o.E,{status:g})}),(0,a.jsx)("div",{className:"add-new-string-section",children:(0,a.jsx)(l.nv,{fieldName:"string-input",value:x,onChange:function(e){var n=e.value;j(n)},onPressEnter:function(){var e=x.trim();m(e),j("")},maxLength:d,placeholder:i,status:p})})]})};d.defaultProps={maxLength:50,description:null,submitStatus:null,continuousStatusMessage:null}},3664:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var a=t(47568),s=t(70655),i=t(85893),r=t(67294),l=t(94594),o=t(83192),c=t(25521),u=t(25964),d=t(35159),f=function(e){var n=e.apiPath,t=e.checked,f=e.reversed,h=void 0!==f&&f,m=e.configPath,p=void 0===m?"":m,g=e.disabled,v=void 0!==g&&g,x=e.fieldName,j=e.label,N=e.tip,C=e.useSubmit,S=e.onChange,y=(0,r.useState)(null),b=y[0],w=y[1],k=null,Z=((0,r.useContext)(d.aC)||{}).setFieldInConfigState,T=function(){w(null),clearTimeout(k),k=null},_=function(){var e=(0,a.Z)((function(e){var t;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:return C?(w((0,o.kg)(o.Jk)),t=h?!e:e,[4,(0,u.Si)({apiPath:n,data:{value:t},onSuccess:function(){Z({fieldName:x,value:t,path:p}),w((0,o.kg)(o.zv))},onError:function(e){w((0,o.kg)(o.Un,"There was an error: ".concat(e)))}})]):[3,2];case 1:a.sent(),k=setTimeout(T,u.sI),a.label=2;case 2:return S&&S(e),[2]}}))}));return function(n){return e.apply(this,arguments)}}(),P=null!==b&&b.type===o.Jk;return(0,i.jsxs)("div",{className:"formfield-container toggleswitch-container",children:[j&&(0,i.jsx)("div",{className:"label-side",children:(0,i.jsx)("span",{className:"formfield-label",children:j})}),(0,i.jsxs)("div",{className:"input-side",children:[(0,i.jsxs)("div",{className:"input-group",children:[(0,i.jsx)(l.Z,{className:"switch field-".concat(x),loading:P,onChange:_,defaultChecked:t,checked:t,checkedChildren:"ON",unCheckedChildren:"OFF",disabled:v}),(0,i.jsx)(c.E,{status:b})]}),(0,i.jsx)("p",{className:"field-tip",children:N})]})]})};f.defaultProps={apiPath:"",checked:!1,reversed:!1,configPath:"",disabled:!1,label:"",tip:"",useSubmit:!1,onChange:null}},42992:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return $}});var a=t(85893),s=t(67294),i=t(84485),r=t(14924),l=t(26042),o=t(69396),c=t(45200),u=t(35159),d=t(25964),f=t(3664),h=t(47568),m=t(70655),p=t(77916),g=t(71577),v=t(50888),x=t(88484),j=t(25521),N=t(83192),C=t(58827),S=["image/png","image/jpeg","image/gif"];var y=function(){var e,n=(0,s.useState)(null),t=n[0],i=n[1],r=(0,s.useState)(!1),l=r[0],o=r[1],c=(0,s.useState)(0),f=c[0],y=c[1],b=(0,s.useContext)(u.aC)||{},w=b.setFieldInConfigState,k=b.serverConfig,Z=null===k||void 0===k||null===(e=k.instanceDetails)||void 0===e?void 0:e.logo,T=(0,s.useState)(null),_=T[0],P=T[1],E=null,L=d.ZQ.apiPath,U=d.ZQ.tip,I=function(){P(null),clearTimeout(E),E=null},D=function(){var e=(0,h.Z)((function(){return(0,m.__generator)(this,(function(e){switch(e.label){case 0:return t===Z?[3,2]:(P((0,N.kg)(N.Jk)),[4,(0,d.Si)({apiPath:L,data:{value:t},onSuccess:function(){w({fieldName:"logo",value:t,path:""}),P((0,N.kg)(N.zv)),o(!1),y(Math.floor(100*Math.random()))},onError:function(e){P((0,N.kg)(N.Un,"There was an error: ".concat(e))),o(!1)}})]);case 1:e.sent(),E=setTimeout(I,d.sI),e.label=2;case 2:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),F="".concat(C.WB,"logo?random=").concat(f);return(0,a.jsxs)("div",{className:"formfield-container logo-upload-container",children:[(0,a.jsx)("div",{className:"label-side",children:(0,a.jsx)("span",{className:"formfield-label",children:"Logo"})}),(0,a.jsxs)("div",{className:"input-side",children:[(0,a.jsxs)("div",{className:"input-group",children:[(0,a.jsx)("img",{src:F,alt:"avatar",className:"logo-preview"}),(0,a.jsx)(p.Z,{name:"logo",listType:"picture",className:"avatar-uploader",showUploadList:!1,accept:S.join(","),beforeUpload:function(e){return o(!0),new Promise((function(n,t){if(!S.includes(e.type)){var a="File type is not supported: ".concat(e.type);return P((0,N.kg)(N.Un,"There was an error: ".concat(a))),E=setTimeout(I,d.sI),o(!1),t()}!function(e,n){var t=new FileReader;t.addEventListener("load",(function(){return n(t.result)})),t.readAsDataURL(e)}(e,(function(e){return i(e),n()}))}))},customRequest:D,disabled:l,children:l?(0,a.jsx)(v.Z,{style:{color:"white"}}):(0,a.jsx)(g.Z,{icon:(0,a.jsx)(x.Z,{})})})]}),(0,a.jsx)(j.E,{status:_}),(0,a.jsx)("p",{className:"field-tip",children:U})]})]})},b=i.Z.Title,w=function(){var e=(0,s.useState)(null),n=e[0],t=e[1],i=((0,s.useContext)(u.aC)||{}).serverConfig,h=i.instanceDetails,m=i.yp,p=m.instanceUrl;if((0,s.useEffect)((function(){t((0,l.Z)({},h,m))}),[h,m]),!n)return null;var g=function(e){var a=e.fieldName,s=e.value;t((0,o.Z)((0,l.Z)({},n),(0,r.Z)({},a,s)))},v=""!==p;return(0,a.jsxs)("div",{className:"edit-general-settings",children:[(0,a.jsx)(b,{level:3,className:"section-title",children:"Configure Instance Details"}),(0,a.jsx)("br",{}),(0,a.jsx)(c.$7,(0,o.Z)((0,l.Z)({fieldName:"name"},d.RE),{value:n.name,initialValue:h.name,onChange:g})),(0,a.jsx)(c.$7,(0,o.Z)((0,l.Z)({fieldName:"instanceUrl"},d.cj),{value:n.instanceUrl,initialValue:m.instanceUrl,type:c.xA,onChange:g,onSubmit:function(){""===n.instanceUrl&&!0===m.enabled&&(0,d.Si)({apiPath:d.AP,data:{value:!1}})}})),(0,a.jsx)(c.$7,(0,o.Z)((0,l.Z)({fieldName:"summary"},d.rs),{type:c.Sk,value:n.summary,initialValue:h.summary,onChange:g})),(0,a.jsx)(c.$7,(0,o.Z)((0,l.Z)({fieldName:"offlineMessage"},d.rd),{type:c.Sk,value:n.offlineMessage,initialValue:h.offlineMessage,onChange:g})),(0,a.jsx)(y,{}),(0,a.jsx)(f.Z,(0,o.Z)((0,l.Z)({fieldName:"hideViewerCount",useSubmit:!0},d._X),{checked:n.hideViewerCount,onChange:function(e){g({fieldName:"hideViewerCount",value:e})}})),(0,a.jsx)("br",{}),(0,a.jsxs)("p",{className:"description",children:["Increase your audience by appearing in the"," ",(0,a.jsx)("a",{href:"https://directory.owncast.online",target:"_blank",rel:"noreferrer",children:(0,a.jsx)("strong",{children:"Owncast Directory"})}),". This is an external service run by the Owncast project."," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/directory/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn more"}),"."]}),!m.instanceUrl&&(0,a.jsxs)("p",{className:"description",children:["You must set your ",(0,a.jsx)("strong",{children:"Server URL"})," above to enable the directory."]}),(0,a.jsxs)("div",{className:"config-yp-container",children:[(0,a.jsx)(f.Z,(0,o.Z)((0,l.Z)({fieldName:"enabled",useSubmit:!0},d.P),{checked:n.enabled,disabled:!v})),(0,a.jsx)(f.Z,(0,o.Z)((0,l.Z)({fieldName:"nsfw",useSubmit:!0},d.EY),{checked:n.nsfw,disabled:!v}))]})]})},k=t(29815),Z=t(20550),T=t(24389),_=t(80939),P=i.Z.Title,E=function(){var e=(0,s.useState)(""),n=e[0],t=e[1],i=(0,s.useState)(null),r=i[0],l=i[1],o=(0,s.useContext)(u.aC)||{},c=o.serverConfig,f=o.setFieldInConfigState,p=c.instanceDetails.tags,g=void 0===p?[]:p,v=d.y_.apiPath,x=d.y_.maxLength,j=d.y_.placeholder,C=d.y_.configPath,S=null;(0,s.useEffect)((function(){return function(){clearTimeout(S)}}),[]);var y=function(){l(null),S=null,clearTimeout(S)},b=function(){var e=(0,h.Z)((function(e){return(0,m.__generator)(this,(function(n){switch(n.label){case 0:return l((0,N.kg)(N.Jk)),[4,(0,d.Si)({apiPath:v,data:{value:e},onSuccess:function(){f({fieldName:"tags",value:e,path:C}),l((0,N.kg)(N.zv,"Tags updated.")),t(""),S=setTimeout(y,d.sI)},onError:function(e){l((0,N.kg)(N.Un,e)),S=setTimeout(y,d.sI)}})];case 1:return n.sent(),[2]}}))}));return function(n){return e.apply(this,arguments)}}();return(0,a.jsxs)("div",{className:"tag-editor-container",children:[(0,a.jsx)(P,{level:3,className:"section-title",children:"Add Tags"}),(0,a.jsx)("p",{className:"description",children:"This is a great way to categorize your Owncast server on the Directory!"}),(0,a.jsx)("div",{className:"edit-current-strings",children:g.map((function(e,n){return(0,a.jsx)(Z.Z,{closable:!0,onClose:function(){!function(e){y();var n=(0,k.Z)(g);n.splice(e,1),b(n)}(n)},color:_.Q,children:e},"tag-".concat(e,"-").concat(n))}))}),(0,a.jsx)("div",{className:"add-new-string-section",children:(0,a.jsx)(T.nv,{fieldName:"tag-input",value:n,className:"new-tag-input",onChange:function(e){var n=e.value;r||l(null),t(n)},onPressEnter:function(){y();var e=n.trim();if(""!==e)if(g.some((function(n){return n.toLowerCase()===e.toLowerCase()})))l((0,N.kg)(N.dG,"This tag is already used!"));else{var t=(0,k.Z)(g).concat([e]);b(t)}else l((0,N.kg)(N.dG,"Please enter a tag"))},maxLength:x,placeholder:j,status:r})})]})},L=t(72877),U=t(5152),I=t.n(U),D=t(9980),F=t.n(D),M=(t(69596),new(F())),z=I()((function(){return t.e(7610).then(t.bind(t,77610))}),{loadableGenerated:{webpack:function(){return[77610]}},ssr:!1}),O=i.Z.Title,V=function(){var e=(0,s.useState)(""),n=e[0],t=e[1],i=(0,s.useState)(null),r=i[0],l=i[1],o=(0,s.useState)(!1),c=o[0],f=o[1],p=(0,s.useContext)(u.aC)||{},v=p.serverConfig,x=p.setFieldInConfigState,C=v.instanceDetails,S=C.extraPageContent,y=null,b=function(){l(null),f(!1),clearTimeout(y),y=null};function w(){return(w=(0,h.Z)((function(){return(0,m.__generator)(this,(function(e){switch(e.label){case 0:return l((0,N.kg)(N.Jk)),[4,(0,d.Si)({apiPath:d.AA,data:{value:n},onSuccess:function(e){x({fieldName:"extraPageContent",value:n,path:"instanceDetails"}),l((0,N.kg)(N.zv,e))},onError:function(e){l((0,N.kg)(N.Un,e))}})];case 1:return e.sent(),y=setTimeout(b,d.sI),[2]}}))}))).apply(this,arguments)}return(0,s.useEffect)((function(){t(S)}),[C]),(0,a.jsxs)("div",{className:"edit-page-content",children:[(0,a.jsx)(O,{level:3,className:"section-title",children:"Custom Page Content"}),(0,a.jsxs)("p",{className:"description",children:["Edit the content of your page by using simple"," ",(0,a.jsx)("a",{href:"https://www.markdownguide.org/basic-syntax/",target:"_blank",rel:"noopener noreferrer",children:"Markdown syntax"}),"."]}),(0,a.jsx)(z,{style:{height:"30em"},value:n,renderHTML:function(e){return M.render(e)},onChange:function(e){var n=e.text;t(n),n===S||c?n===S&&c&&f(!1):f(!0)},config:{htmlClass:"markdown-editor-preview-pane",markdownClass:"markdown-editor-pane"}}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{className:"page-content-actions",children:[c&&(0,a.jsx)(g.Z,{type:"primary",onClick:function(){return w.apply(this,arguments)},children:"Save"}),(0,a.jsx)(j.E,{status:r})]})]})},A=i.Z.Title,J=function(){var e=(0,s.useState)(""),n=e[0],t=e[1],i=(0,s.useState)(null),r=i[0],l=i[1],o=(0,s.useState)(!1),c=o[0],f=o[1],p=(0,s.useContext)(u.aC)||{},v=p.serverConfig,x=p.setFieldInConfigState,C=v.instanceDetails,S=C.customStyles,y=null,b=function(){l(null),f(!1),clearTimeout(y),y=null};function w(){return(w=(0,h.Z)((function(){return(0,m.__generator)(this,(function(e){switch(e.label){case 0:return l((0,N.kg)(N.Jk)),[4,(0,d.Si)({apiPath:d.d$,data:{value:n},onSuccess:function(e){x({fieldName:"customStyles",value:n,path:"instanceDetails"}),l((0,N.kg)(N.zv,e))},onError:function(e){l((0,N.kg)(N.Un,e))}})];case 1:return e.sent(),y=setTimeout(b,d.sI),[2]}}))}))).apply(this,arguments)}return(0,s.useEffect)((function(){t(S)}),[C]),(0,a.jsxs)("div",{className:"edit-custom-css",children:[(0,a.jsx)(A,{level:3,className:"section-title",children:"Customize your page styling with CSS"}),(0,a.jsxs)("p",{className:"description",children:["Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/website/",rel:"noopener noreferrer",target:"_blank",children:"CSS & Components guide"}),"."]}),(0,a.jsx)("p",{className:"description",children:"Please input plain CSS text, as this will be directly injected onto your page during load."}),(0,a.jsx)(T.nv,{fieldName:"customStyles",type:T.Sk,value:n,maxLength:null,onChange:function(e){var n=e.value;t(n),n===S||c?n===S&&c&&f(!1):f(!0)},placeholder:"/* Enter custom CSS here */"}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{className:"page-content-actions",children:[c&&(0,a.jsx)(g.Z,{type:"primary",onClick:function(){return w.apply(this,arguments)},children:"Save"}),(0,a.jsx)(j.E,{status:r})]})]})},R=i.Z.Title;function $(){return(0,a.jsxs)("div",{className:"config-public-details-page",children:[(0,a.jsx)(R,{children:"General Settings"}),(0,a.jsxs)("p",{className:"description",children:["The following are displayed on your site to describe your stream and its content."," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/website/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn more."})]}),(0,a.jsxs)("div",{className:"top-container",children:[(0,a.jsx)("div",{className:"form-module instance-details-container",children:(0,a.jsx)(w,{})}),(0,a.jsxs)("div",{className:"form-module social-items-container ",children:[(0,a.jsx)("div",{className:"form-module tags-module",children:(0,a.jsx)(E,{})}),(0,a.jsx)("div",{className:"form-module social-handles-container",children:(0,a.jsx)(L.h,{})})]})]}),(0,a.jsx)("div",{className:"form-module page-content-module",children:(0,a.jsx)(V,{})}),(0,a.jsx)("div",{className:"form-module page-content-module",children:(0,a.jsx)(J,{})})]})}}},function(e){e.O(0,[7330,355,7910,927,2877,9774,2888,179],(function(){return n=86045,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin/config-social-items-59fc92ae79167bce.js b/static/web/_next/static/chunks/pages/admin/config-social-items-0cba0999f1d94257.js similarity index 94% rename from static/web/_next/static/chunks/pages/admin/config-social-items-59fc92ae79167bce.js rename to static/web/_next/static/chunks/pages/admin/config-social-items-0cba0999f1d94257.js index 7be16fbc1..4378bfc92 100644 --- a/static/web/_next/static/chunks/pages/admin/config-social-items-59fc92ae79167bce.js +++ b/static/web/_next/static/chunks/pages/admin/config-social-items-0cba0999f1d94257.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{48689:function(t,n,r){"use strict";r.d(n,{Z:function(){return a}});var e=r(1413),i=r(67294),c={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=r(42135),u=function(t,n){return i.createElement(o.Z,(0,e.Z)((0,e.Z)({},t),{},{ref:n,icon:c}))};u.displayName="DeleteOutlined";var a=i.forwardRef(u)},81009:function(t,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-social-items",function(){return r(97063)}])},97063:function(t,n,r){"use strict";r.r(n),r.d(n,{default:function(){return u}});var e=r(85893),i=(r(67294),r(84485)),c=r(72877),o=i.Z.Title;function u(){return(0,e.jsxs)("div",{className:"config-social-items",children:[(0,e.jsx)(o,{children:"Social Items"}),(0,e.jsx)(c.h,{})]})}},20943:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);rt.length)&&(n=t.length);for(var r=0,e=new Array(n);r0&&"(".concat(r.length,")")]}),children:[(0,c.jsxs)("p",{children:["The following people are requesting to follow your Owncast server on the"," ",(0,c.jsx)("a",{href:"https://en.wikipedia.org/wiki/Fediverse",target:"_blank",rel:"noopener noreferrer",children:"Fediverse"})," ","and be alerted to when you go live. Each must be approved."]}),e(r,M)]},"2");return(0,c.jsx)("div",{className:"followers-section",children:(0,c.jsxs)(o.Z,{defaultActiveKey:"1",children:[(0,c.jsxs)(j,{tab:(0,c.jsxs)("span",{children:["Followers ",x.length>0&&"(".concat(x.length,")")]}),children:[(0,c.jsx)("p",{children:"The following accounts get notified when you go live or send a post."}),e(x,q)," "]},"1"),H,(0,c.jsxs)(j,{tab:(0,c.jsxs)("span",{children:["Blocked ",p.length>0&&"(".concat(p.length,")")]}),children:[(0,c.jsx)("p",{children:"The following people were either rejected or blocked by you. You can approve them as a follower."}),(0,c.jsx)("p",{children:e(p,F)})]},"3")]})})}},20943:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&"(".concat(r.length,")")]}),children:[(0,c.jsxs)("p",{children:["The following people are requesting to follow your Owncast server on the"," ",(0,c.jsx)("a",{href:"https://en.wikipedia.org/wiki/Fediverse",target:"_blank",rel:"noopener noreferrer",children:"Fediverse"})," ","and be alerted to when you go live. Each must be approved."]}),e(r,M)]},"2");return(0,c.jsx)("div",{className:"followers-section",children:(0,c.jsxs)(o.Z,{defaultActiveKey:"1",children:[(0,c.jsxs)(j,{tab:(0,c.jsxs)("span",{children:["Followers ",x.length>0&&"(".concat(x.length,")")]}),children:[(0,c.jsx)("p",{children:"The following accounts get notified when you go live or send a post."}),e(x,q)," "]},"1"),H,(0,c.jsxs)(j,{tab:(0,c.jsxs)("span",{children:["Blocked ",p.length>0&&"(".concat(p.length,")")]}),children:[(0,c.jsx)("p",{children:"The following people were either rejected or blocked by you. You can approve them as a follower."}),(0,c.jsx)("p",{children:e(p,F)})]},"3")]})})}},20943:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=c?u:(r.setFullYear(u.getFullYear(),u.getMonth(),o),r)}},92794:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/viewer-info",function(){return r(80961)}])},51222:function(e,t,r){"use strict";r.d(t,{k:function(){return l}});var n=r(85893),a=r(29217),s=r(92616),i=r.n(s),o=r(58091),u=r(60727);function c(e){var t={};return e.forEach((function(e){var r=new Date(e.time),n=(0,o.Z)(r,"H:mma");t[n]=e.value})),t}i().use(a.Z);var l=function(e){var t=e.data,r=e.title,a=e.color,s=e.unit,i=e.dataCollections,o=e.yFlipped,l=e.yLogarithmic,f=[];t&&t.length>0&&f.push({name:r,color:a,data:c(t)}),i.forEach((function(e){f.push({name:e.name,data:c(e.data),color:e.color,dataset:e.options})}));var d={scales:{y:{reverse:!1,type:"linear"},x:{type:"time"}}};return d.scales.y.reverse=o,d.scales.y.type=l?"logarithmic":"linear",(0,n.jsx)("div",{className:"line-chart-container",children:(0,n.jsx)(u.wW,{xtitle:"Time",ytitle:r,suffix:s,legend:"bottom",color:a,data:f,download:r,library:d})})};l.defaultProps={dataCollections:[],data:[],title:"",yFlipped:!1,yLogarithmic:!1}},97206:function(e,t,r){"use strict";r.d(t,{m:function(){return h}});var n=r(26042),a=r(85893),s=r(84485),i=r(97910),o=r(74763),u=r(59652),c=s.Z.Text,l={title:"",value:0,prefix:null,suffix:null,color:"",progress:!1,centered:!1,formatter:null},f=function(e){var t=e.prefix,r=e.value,n=e.suffix,s=e.title;return(0,a.jsxs)("div",{children:[t,(0,a.jsx)("div",{children:(0,a.jsx)(c,{type:"secondary",children:s})}),(0,a.jsx)("div",{children:(0,a.jsxs)(c,{type:"secondary",children:[r,n||"%"]})})]})},d=function(e){var t=e.title,r=e.value,n=e.prefix,s=e.suffix,o=e.color,u=r>90?"red":o,c=(0,a.jsx)(f,{prefix:n,value:r,suffix:s,title:t});return(0,a.jsx)(i.Z,{type:"dashboard",percent:r,width:120,strokeColor:{"0%":o,"90%":u},format:function(){return c}})};d.defaultProps=l;var v=function(e){var t=e.title,r=e.value,n=e.prefix,s=e.formatter;return(0,a.jsx)(o.Z,{title:t,value:r,prefix:n,formatter:s})};v.defaultProps=l;var h=function(e){var t=e.progress,r=e.centered,s=t?d:v,i=r?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,a.jsx)(u.Z,{type:"inner",children:(0,a.jsx)("div",{style:i,children:(0,a.jsx)(s,(0,n.Z)({},e))})})};h.defaultProps=l},80961:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return L}});var n=r(47568),a=r(70655),s=r(85893),i=r(67294),o=r(66516),u=r(84485),c=r(25968),l=r(6226),f=r(14670),d=r(11382),v=r(38504),h=r(87547),m=r(80882),x=r(77349),p=r(13882),y=r(83946);function Z(e,t){(0,p.Z)(2,arguments);var r=(0,y.Z)(t);return(0,x.Z)(e,-r)}var g=r(11640);function w(e,t){(0,p.Z)(2,arguments);var r=(0,y.Z)(t);return(0,g.Z)(e,-r)}function j(e){return j="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},j(e)}function S(e,t){if((0,p.Z)(2,arguments),!t||"object"!==j(t))return new Date(NaN);var r=t.years?(0,y.Z)(t.years):0,n=t.months?(0,y.Z)(t.months):0,a=t.weeks?(0,y.Z)(t.weeks):0,s=t.days?(0,y.Z)(t.days):0,i=t.hours?(0,y.Z)(t.hours):0,o=t.minutes?(0,y.Z)(t.minutes):0,u=t.seconds?(0,y.Z)(t.seconds):0,c=w(e,n+12*r),l=Z(c,s+7*a),f=o+60*i,d=u+60*f,v=1e3*d,h=new Date(l.getTime()-v);return h}var b=r(19013);function D(e){(0,p.Z)(1,arguments);var t=(0,b.Z)(e),r=t.getTime();return r}var N=r(51222),k=r(97206),C=r(10355),_=r(45938),T=r(2766);var E=function(e){var t=e.data,r=[{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,T.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"Watch Time",dataIndex:"firstSeen",key:"firstSeen",defaultSortOrder:"ascend",render:function(e){return(0,_.Z)(new Date(e))},sorter:function(e,t){return new Date(e.firstSeen).getTime()-new Date(t.firstSeen).getTime()},sortDirections:["descend","ascend"]}];return(0,s.jsx)(C.Z,{pagination:{hideOnSinglePage:!0},className:"table-container",columns:r,dataSource:t,size:"small",rowKey:"id"})},P=r(35159),I=r(58827);function L(){var e,t=(0,i.useContext)(P.aC)||{},r=t.online,x=t.broadcaster,y=t.viewerCount,Z=t.overallPeakViewerCount,g=t.sessionPeakViewerCount;x&&x.time&&(e=new Date(x.time));var w=[{title:"Current stream",start:e},{title:"Last 12 hours",start:S(new Date,{hours:12})},{title:"Last 24 hours",start:S(new Date,{hours:24})},{title:"Last 7 days",start:S(new Date,{days:7})},{title:"Last 30 days",start:S(new Date,{days:30})},{title:"Last 3 months",start:S(new Date,{months:3})},{title:"Last 6 months",start:S(new Date,{months:6})}],j=(0,i.useState)(!0),b=j[0],C=j[1],_=(0,i.useState)([]),T=_[0],L=_[1],M=(0,i.useState)([]),A=M[0],F=M[1],O=(0,i.useState)(w[1]),V=O[0],z=O[1],B=function(){var e=(0,n.Z)((function(){var e,t,r,n,s;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),e="".concat(I.iV,"?windowStart=").concat(function(e){return(0,p.Z)(1,arguments),Math.floor(D(e)/1e3)}(V.start)),[4,(0,I.rQ)(e)];case 1:return t=a.sent(),L(t),C(!1),[3,3];case 2:return r=a.sent(),console.log("==== error",r),[3,3];case 3:return a.trys.push([3,5,,6]),[4,(0,I.rQ)(I.a_)];case 4:return n=a.sent(),F(n),[3,6];case 5:return s=a.sent(),console.log("==== error",s),[3,6];case 6:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,i.useEffect)((function(){var e=null;return B(),r?(e=setInterval(B,6e4),function(){clearInterval(e)}):function(){return[]}}),[r,V]);var Q=function(e){var t=e.key;z(w[t])},U=(0,s.jsxs)(o.Z,{children:[r&&e&&(0,s.jsx)(o.Z.Item,{onClick:Q,children:w[0].title},"0"),w.slice(1).map((function(e,t){return(0,s.jsx)(o.Z.Item,{onClick:Q,children:e.title},t+1)}))]});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.Z.Title,{children:"Viewer Info"}),(0,s.jsx)("br",{}),(0,s.jsxs)(c.Z,{gutter:[16,16],justify:"space-around",children:[r&&(0,s.jsx)(l.Z,{span:8,md:8,children:(0,s.jsx)(k.m,{title:"Current viewers",value:y.toString(),prefix:(0,s.jsx)(h.Z,{})})}),(0,s.jsx)(l.Z,{md:r?8:12,children:(0,s.jsx)(k.m,{title:r?"Max viewers this stream":"Max viewers last stream",value:g.toString(),prefix:(0,s.jsx)(h.Z,{})})}),(0,s.jsx)(l.Z,{md:r?8:12,children:(0,s.jsx)(k.m,{title:"All-time max viewers",value:Z.toString(),prefix:(0,s.jsx)(h.Z,{})})})]}),!T.length&&(0,s.jsx)(f.Z,{style:{marginTop:"10px"},banner:!0,message:"Please wait",description:"No viewer data has been collected yet.",type:"info"}),(0,s.jsxs)(d.Z,{spinning:!T.length||b,children:[(0,s.jsx)(v.Z,{overlay:U,trigger:["click"],children:(0,s.jsxs)("button",{type:"button",style:{float:"right",background:"transparent",border:"unset"},children:[V.title," ",(0,s.jsx)(m.Z,{})]})}),T.length>0&&(0,s.jsx)(N.k,{title:"Viewers",data:T,color:"#2087E2",unit:""}),(0,s.jsx)(E,{data:A})]})]})}}},function(e){e.O(0,[2757,7330,3927,384,355,8091,2944,6265,5938,428,2139,7910,9774,2888,179],(function(){return t=92794,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6109],{87547:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(1413),a=r(67294),s={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=r(42135),o=function(e,t){return a.createElement(i.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:s}))};o.displayName="UserOutlined";var u=a.forwardRef(o)},77349:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(83946),a=r(19013),s=r(13882);function i(e,t){(0,s.Z)(2,arguments);var r=(0,a.Z)(e),i=(0,n.Z)(t);return isNaN(i)?new Date(NaN):i?(r.setDate(r.getDate()+i),r):r}},11640:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(83946),a=r(19013),s=r(13882);function i(e,t){(0,s.Z)(2,arguments);var r=(0,a.Z)(e),i=(0,n.Z)(t);if(isNaN(i))return new Date(NaN);if(!i)return r;var o=r.getDate(),u=new Date(r.getTime());u.setMonth(r.getMonth()+i+1,0);var c=u.getDate();return o>=c?u:(r.setFullYear(u.getFullYear(),u.getMonth(),o),r)}},92794:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/viewer-info",function(){return r(80961)}])},51222:function(e,t,r){"use strict";r.d(t,{k:function(){return l}});var n=r(85893),a=r(29217),s=r(92616),i=r.n(s),o=r(58091),u=r(60727);function c(e){var t={};return e.forEach((function(e){var r=new Date(e.time),n=(0,o.Z)(r,"H:mma");t[n]=e.value})),t}i().use(a.Z);var l=function(e){var t=e.data,r=e.title,a=e.color,s=e.unit,i=e.dataCollections,o=e.yFlipped,l=e.yLogarithmic,f=[];t&&t.length>0&&f.push({name:r,color:a,data:c(t)}),i.forEach((function(e){f.push({name:e.name,data:c(e.data),color:e.color,dataset:e.options})}));var d={scales:{y:{reverse:!1,type:"linear"},x:{type:"time"}}};return d.scales.y.reverse=o,d.scales.y.type=l?"logarithmic":"linear",(0,n.jsx)("div",{className:"line-chart-container",children:(0,n.jsx)(u.wW,{xtitle:"Time",ytitle:r,suffix:s,legend:"bottom",color:a,data:f,download:r,library:d})})};l.defaultProps={dataCollections:[],data:[],title:"",yFlipped:!1,yLogarithmic:!1}},97206:function(e,t,r){"use strict";r.d(t,{m:function(){return h}});var n=r(26042),a=r(85893),s=r(84485),i=r(97910),o=r(74763),u=r(59652),c=s.Z.Text,l={title:"",value:0,prefix:null,suffix:null,color:"",progress:!1,centered:!1,formatter:null},f=function(e){var t=e.prefix,r=e.value,n=e.suffix,s=e.title;return(0,a.jsxs)("div",{children:[t,(0,a.jsx)("div",{children:(0,a.jsx)(c,{type:"secondary",children:s})}),(0,a.jsx)("div",{children:(0,a.jsxs)(c,{type:"secondary",children:[r,n||"%"]})})]})},d=function(e){var t=e.title,r=e.value,n=e.prefix,s=e.suffix,o=e.color,u=r>90?"red":o,c=(0,a.jsx)(f,{prefix:n,value:r,suffix:s,title:t});return(0,a.jsx)(i.Z,{type:"dashboard",percent:r,width:120,strokeColor:{"0%":o,"90%":u},format:function(){return c}})};d.defaultProps=l;var v=function(e){var t=e.title,r=e.value,n=e.prefix,s=e.formatter;return(0,a.jsx)(o.Z,{title:t,value:r,prefix:n,formatter:s})};v.defaultProps=l;var h=function(e){var t=e.progress,r=e.centered,s=t?d:v,i=r?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,a.jsx)(u.Z,{type:"inner",children:(0,a.jsx)("div",{style:i,children:(0,a.jsx)(s,(0,n.Z)({},e))})})};h.defaultProps=l},80961:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return L}});var n=r(47568),a=r(70655),s=r(85893),i=r(67294),o=r(66516),u=r(84485),c=r(25968),l=r(6226),f=r(14670),d=r(11382),v=r(38504),h=r(87547),m=r(80882),x=r(77349),p=r(13882),y=r(83946);function Z(e,t){(0,p.Z)(2,arguments);var r=(0,y.Z)(t);return(0,x.Z)(e,-r)}var g=r(11640);function w(e,t){(0,p.Z)(2,arguments);var r=(0,y.Z)(t);return(0,g.Z)(e,-r)}function j(e){return j="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},j(e)}function S(e,t){if((0,p.Z)(2,arguments),!t||"object"!==j(t))return new Date(NaN);var r=t.years?(0,y.Z)(t.years):0,n=t.months?(0,y.Z)(t.months):0,a=t.weeks?(0,y.Z)(t.weeks):0,s=t.days?(0,y.Z)(t.days):0,i=t.hours?(0,y.Z)(t.hours):0,o=t.minutes?(0,y.Z)(t.minutes):0,u=t.seconds?(0,y.Z)(t.seconds):0,c=w(e,n+12*r),l=Z(c,s+7*a),f=o+60*i,d=u+60*f,v=1e3*d,h=new Date(l.getTime()-v);return h}var b=r(19013);function D(e){(0,p.Z)(1,arguments);var t=(0,b.Z)(e),r=t.getTime();return r}var N=r(51222),k=r(97206),C=r(10355),_=r(45938),T=r(2766);var E=function(e){var t=e.data,r=[{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,T.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"Watch Time",dataIndex:"firstSeen",key:"firstSeen",defaultSortOrder:"ascend",render:function(e){return(0,_.Z)(new Date(e))},sorter:function(e,t){return new Date(e.firstSeen).getTime()-new Date(t.firstSeen).getTime()},sortDirections:["descend","ascend"]}];return(0,s.jsx)(C.Z,{pagination:{hideOnSinglePage:!0},className:"table-container",columns:r,dataSource:t,size:"small",rowKey:"id"})},P=r(35159),I=r(58827);function L(){var e,t=(0,i.useContext)(P.aC)||{},r=t.online,x=t.broadcaster,y=t.viewerCount,Z=t.overallPeakViewerCount,g=t.sessionPeakViewerCount;x&&x.time&&(e=new Date(x.time));var w=[{title:"Current stream",start:e},{title:"Last 12 hours",start:S(new Date,{hours:12})},{title:"Last 24 hours",start:S(new Date,{hours:24})},{title:"Last 7 days",start:S(new Date,{days:7})},{title:"Last 30 days",start:S(new Date,{days:30})},{title:"Last 3 months",start:S(new Date,{months:3})},{title:"Last 6 months",start:S(new Date,{months:6})}],j=(0,i.useState)(!0),b=j[0],C=j[1],_=(0,i.useState)([]),T=_[0],L=_[1],M=(0,i.useState)([]),A=M[0],F=M[1],O=(0,i.useState)(w[1]),V=O[0],z=O[1],B=function(){var e=(0,n.Z)((function(){var e,t,r,n,s;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),e="".concat(I.iV,"?windowStart=").concat(function(e){return(0,p.Z)(1,arguments),Math.floor(D(e)/1e3)}(V.start)),[4,(0,I.rQ)(e)];case 1:return t=a.sent(),L(t),C(!1),[3,3];case 2:return r=a.sent(),console.log("==== error",r),[3,3];case 3:return a.trys.push([3,5,,6]),[4,(0,I.rQ)(I.a_)];case 4:return n=a.sent(),F(n),[3,6];case 5:return s=a.sent(),console.log("==== error",s),[3,6];case 6:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,i.useEffect)((function(){var e=null;return B(),r?(e=setInterval(B,6e4),function(){clearInterval(e)}):function(){return[]}}),[r,V]);var Q=function(e){var t=e.key;z(w[t])},U=(0,s.jsxs)(o.Z,{children:[r&&e&&(0,s.jsx)(o.Z.Item,{onClick:Q,children:w[0].title},"0"),w.slice(1).map((function(e,t){return(0,s.jsx)(o.Z.Item,{onClick:Q,children:e.title},t+1)}))]});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.Z.Title,{children:"Viewer Info"}),(0,s.jsx)("br",{}),(0,s.jsxs)(c.Z,{gutter:[16,16],justify:"space-around",children:[r&&(0,s.jsx)(l.Z,{span:8,md:8,children:(0,s.jsx)(k.m,{title:"Current viewers",value:y.toString(),prefix:(0,s.jsx)(h.Z,{})})}),(0,s.jsx)(l.Z,{md:r?8:12,children:(0,s.jsx)(k.m,{title:r?"Max viewers this stream":"Max viewers last stream",value:g.toString(),prefix:(0,s.jsx)(h.Z,{})})}),(0,s.jsx)(l.Z,{md:r?8:12,children:(0,s.jsx)(k.m,{title:"All-time max viewers",value:Z.toString(),prefix:(0,s.jsx)(h.Z,{})})})]}),!T.length&&(0,s.jsx)(f.Z,{style:{marginTop:"10px"},banner:!0,message:"Please wait",description:"No viewer data has been collected yet.",type:"info"}),(0,s.jsxs)(d.Z,{spinning:!T.length||b,children:[(0,s.jsx)(v.Z,{overlay:U,trigger:["click"],children:(0,s.jsxs)("button",{type:"button",style:{float:"right",background:"transparent",border:"unset"},children:[V.title," ",(0,s.jsx)(m.Z,{})]})}),T.length>0&&(0,s.jsx)(N.k,{title:"Viewers",data:T,color:"#2087E2",unit:""}),(0,s.jsx)(E,{data:A})]})]})}}},function(e){e.O(0,[2757,7330,355,8091,2944,6265,5938,428,2139,7910,9774,2888,179],(function(){return t=92794,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin/webhooks-f4e073e929ed83ef.js b/static/web/_next/static/chunks/pages/admin/webhooks-97bb47a8f86ab215.js similarity index 99% rename from static/web/_next/static/chunks/pages/admin/webhooks-f4e073e929ed83ef.js rename to static/web/_next/static/chunks/pages/admin/webhooks-97bb47a8f86ab215.js index d21d50ee3..c2ad40fea 100644 --- a/static/web/_next/static/chunks/pages/admin/webhooks-f4e073e929ed83ef.js +++ b/static/web/_next/static/chunks/pages/admin/webhooks-97bb47a8f86ab215.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1234],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),c={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"},a=n(42135),i=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:c}))};i.displayName="DeleteOutlined";var s=o.forwardRef(i)},6226:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(4942),o=n(87462),c=n(71002),a=n(94184),i=n.n(a),s=n(67294),l=n(53124),u=n(99134),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){var R=m[0]/2;A.paddingLeft=R,A.paddingRight=R}if(m&&m[1]>0&&!y){var I=m[1]/2;A.paddingTop=I,A.paddingBottom=I}return E&&(A.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(E),!1!==b||A.minWidth||(A.minWidth=0)),s.createElement("div",(0,o.Z)({},_,{style:(0,o.Z)((0,o.Z)({},A),P),className:T,ref:t}),k)}))},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 m}});var r=n(87462),o=n(4942),c=n(71002),a=n(97685),i=n(94184),s=n.n(i),l=n(67294),u=n(53124),f=n(98082),p=n(24308),d=n(93355),h=n(99134),v=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?R[0]/-2:void 0,G=null!=R[1]&&R[1]>0?R[1]/-2:void 0;if(M&&(W.marginLeft=M,W.marginRight=M),N){var H=(0,a.Z)(R,2);W.rowGap=H[1]}else G&&(W.marginTop=G,W.marginBottom=G);var B=(0,a.Z)(R,2),D=B[0],U=B[1],z=l.useMemo((function(){return{gutter:[D,U],wrap:j,supportFlexGap:N}}),[D,U,j,N]);return l.createElement(h.Z.Provider,{value:z},l.createElement("div",(0,r.Z)({},w,{className:I,style:(0,r.Z)((0,r.Z)({},W),y),ref:t}),Z))}))},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(4942),o=n(87462),c=n(97685),a=n(97937),i=n(94184),s=n.n(i),l=n(98423),u=n(67294),f=n(53124),p=n(98787),d=n(68349),h=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){var R=m[0]/2;A.paddingLeft=R,A.paddingRight=R}if(m&&m[1]>0&&!y){var I=m[1]/2;A.paddingTop=I,A.paddingBottom=I}return E&&(A.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(E),!1!==b||A.minWidth||(A.minWidth=0)),s.createElement("div",(0,o.Z)({},_,{style:(0,o.Z)((0,o.Z)({},A),P),className:T,ref:t}),k)}))},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 m}});var r=n(87462),o=n(4942),c=n(71002),a=n(97685),i=n(94184),s=n.n(i),l=n(67294),u=n(53124),f=n(98082),p=n(24308),d=n(93355),h=n(99134),v=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?R[0]/-2:void 0,G=null!=R[1]&&R[1]>0?R[1]/-2:void 0;if(M&&(W.marginLeft=M,W.marginRight=M),N){var H=(0,a.Z)(R,2);W.rowGap=H[1]}else G&&(W.marginTop=G,W.marginBottom=G);var B=(0,a.Z)(R,2),D=B[0],U=B[1],z=l.useMemo((function(){return{gutter:[D,U],wrap:j,supportFlexGap:N}}),[D,U,j,N]);return l.createElement(h.Z.Provider,{value:z},l.createElement("div",(0,r.Z)({},w,{className:I,style:(0,r.Z)((0,r.Z)({},W),y),ref:t}),Z))}))},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(4942),o=n(87462),c=n(97685),a=n(97937),i=n(94184),s=n.n(i),l=n(98423),u=n(67294),f=n(53124),p=n(98787),d=n(68349),h=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){var L=y[0]/2;A.paddingLeft=L,A.paddingRight=L}if(y&&y[1]>0&&!b){var S=y[1]/2;A.paddingTop=S,A.paddingBottom=S}return N&&(A.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(N),!1!==g||A.minWidth||(A.minWidth=0)),i.createElement("div",(0,o.Z)({},_,{style:(0,o.Z)((0,o.Z)({},A),j),className:k,ref:t}),P)}))},38504:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(87462),o=n(71002),a=n(4942),c=n(97685),l=n(18073),i=n(94184),s=n.n(i),u=n(60057),p=n(66680),f=n(21770),d=n(67294),m=n(53124),v=n(76529),y=n(80636),g=n(96159),b=n(93355),h=n(89705),Z=n(71577),C=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?"".concat(t,"-slide-down"):"".concat(t,"-slide-up")}(),trigger:L,overlay:function(){var t,n=e.overlay;return t="function"===typeof n?n():n,t=d.Children.only("string"===typeof t?d.createElement("span",null,t):t),d.createElement(v.J,{prefixCls:"".concat(R,"-menu"),expandIcon:d.createElement("span",{className:"".concat(R,"-menu-submenu-arrow")},d.createElement(l.Z,{className:"".concat(R,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:V,validator:function(e){e.mode}},t)},placement:function(){var t=e.placement;return t?t.includes("Center")?t.slice(0,t.indexOf("Center")):t:"rtl"===b?"bottomRight":"bottomLeft"}(),onVisibleChange:B}),A)});E.Button=w,E.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};var P=E,N=E},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 y}});var r=n(87462),o=n(4942),a=n(71002),c=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),p=n(98082),f=n(24308),d=n(93355),m=n(99134),v=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?L[0]/-2:void 0,H=null!=L[1]&&L[1]>0?L[1]/-2:void 0;if(I&&(D.marginLeft=I,D.marginRight=I),R){var B=(0,c.Z)(L,2);D.rowGap=B[1]}else H&&(D.marginTop=H,D.marginBottom=H);var G=(0,c.Z)(L,2),J=G[0],V=G[1],M=s.useMemo((function(){return{gutter:[J,V],wrap:x,supportFlexGap:R}}),[J,V,x,R]);return s.createElement(m.Z.Provider,{value:M},s.createElement("div",(0,r.Z)({},O,{className:S,style:(0,r.Z)((0,r.Z)({},D),b),ref:t}),h))}))},88054:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readonly",function(){return n(15410)}])},15410:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var r=n(85893),o=n(4480),a=n(60808),c=n(1899);function l(){var e=(0,o.sJ)(c.w4),t=(0,o.sJ)(c.uy),n=(0,o.sJ)(c.pH);return(0,r.jsxs)("div",{children:[(0,r.jsx)(c.me,{}),(0,r.jsx)(a.u,{messages:n,usernameToHighlight:e,chatUserId:t,isModerator:!1,showInput:!1,height:"100vh"})]})}}},function(e){e.O(0,[1272,8700,7330,9372,2865,1899,808,9774,2888,179],(function(){return t=88054,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/embed/chat/readonly-6dc25108c432fee8.js b/static/web/_next/static/chunks/pages/embed/chat/readonly-6dc25108c432fee8.js new file mode 100644 index 000000000..6b8ae2a6a --- /dev/null +++ b/static/web/_next/static/chunks/pages/embed/chat/readonly-6dc25108c432fee8.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8399],{88054:function(n,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readonly",function(){return s(15410)}])},15410:function(n,e,s){"use strict";s.r(e),s.d(e,{default:function(){return o}});var u=s(85893),r=s(4480),t=s(60808),i=s(1899);function o(){var n=(0,r.sJ)(i.w4),e=(0,r.sJ)(i.uy),s=(0,r.sJ)(i.pH);return(0,u.jsxs)("div",{children:[(0,u.jsx)(i.me,{}),(0,u.jsx)(t.u,{messages:s,usernameToHighlight:n,chatUserId:e,isModerator:!1,showInput:!1,height:"100vh"})]})}}},function(n){n.O(0,[1272,8700,7330,355,8091,6265,9372,4567,1899,808,9774,2888,179],(function(){return e=88054,n(n.s=e);var e}));var e=n.O();_N_E=e}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/embed/chat/readwrite-74e6162eca7fd604.js b/static/web/_next/static/chunks/pages/embed/chat/readwrite-74e6162eca7fd604.js new file mode 100644 index 000000000..8abc0a58c --- /dev/null +++ b/static/web/_next/static/chunks/pages/embed/chat/readwrite-74e6162eca7fd604.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955],{94149:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="LockOutlined";var u=o.forwardRef(c)},87547:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="UserOutlined";var u=o.forwardRef(c)},30672:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readwrite",function(){return n(41095)}])},41095:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(85893),o=n(4480),i=n(60808),a=n(1899),c=n(33052);function u(){var e=(0,o.sJ)(a.w4),t=(0,o.sJ)(a.uy),n=(0,o.sJ)(a.pH),u=(0,o.sJ)(a.g1),f=(0,o.sJ)(a.fE),s=u.name,l=u.chatDisabled;return(0,r.jsxs)("div",{children:[(0,r.jsx)(a.me,{}),(0,r.jsx)(c.Z,{name:s,chatAvailable:!0,chatDisabled:l}),(0,r.jsx)(i.u,{messages:n,usernameToHighlight:e,chatUserId:t,isModerator:f,showInput:!0,height:"80vh"})]})}},49218:function(e,t,n){"use strict";n.d(t,{y1:function(){return P}});var r="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function o(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function i(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var c={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":r?173:189,"=":r?61:187,";":r?59:186,"'":222,"[":219,"]":221,"\\":220},u={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},f={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},s={16:!1,18:!1,17:!1,91:!1},l={},d=1;d<20;d++)c["f".concat(d)]=111+d;var p=[],h=!1,y="all",v=[],m=function(e){return c[e.toLowerCase()]||u[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function g(e){y=e||"all"}function w(){return y||"all"}var k=function(e){var t=e.key,n=e.scope,r=e.method,o=e.splitKey,c=void 0===o?"+":o;a(t).forEach((function(e){var t=e.split(c),o=t.length,a=t[o-1],f="*"===a?"*":m(a);if(l[f]){n||(n=w());var s=o>1?i(u,t):[];l[f]=l[f].filter((function(e){return!((!r||e.method===r)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i0,s)Object.prototype.hasOwnProperty.call(s,i)&&(!s[i]&&t.mods.indexOf(+i)>-1||s[i]&&-1===t.mods.indexOf(+i))&&(o=!1);(0!==t.mods.length||s[16]||s[18]||s[17]||s[91])&&!o&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function O(e,t){var n=l["*"],r=e.keyCode||e.which||e.charCode;if(E.filter.call(this,e)){if(93!==r&&224!==r||(r=91),-1===p.indexOf(r)&&229!==r&&p.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=f[t];e[t]&&-1===p.indexOf(n)?p.push(n):!e[t]&&p.indexOf(n)>-1?p.splice(p.indexOf(n),1):"metaKey"===t&&e[t]&&3===p.length&&(e.ctrlKey||e.shiftKey||e.altKey||(p=p.slice(p.indexOf(n))))})),r in s){for(var o in s[r]=!0,u)u[o]===r&&(E[o]=!0);if(!n)return}for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(s[i]=e[f[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),s[17]=!0,s[18]=!0);var a=w();if(n)for(var c=0;c1&&(c=i(u,e)),(e="*"===(e=e[e.length-1])?"*":m(e))in l||(l[e]=[]),l[e].push({keyup:g,keydown:w,scope:f,mods:c,shortcut:r[y],method:n,key:r[y],splitKey:k,element:d});"undefined"!==typeof d&&!function(e){return v.indexOf(e)>-1}(d)&&window&&(v.push(d),o(d,"keydown",(function(e){O(e,d)}),b),h||(h=!0,o(window,"focus",(function(){p=[]}),b)),o(d,"keyup",(function(e){O(e,d),function(e){var t=e.keyCode||e.which||e.charCode,n=p.indexOf(t);if(n>=0&&p.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),93!==t&&224!==t||(t=91),t in s)for(var r in s[t]=!1,u)u[r]===t&&(E[r]=!1)}(e)}),b))}var _={setScope:g,getScope:w,deleteScope:function(e,t){var n,r;for(var o in e||(e=w()),l)if(Object.prototype.hasOwnProperty.call(l,o))for(n=l[o],r=0;r1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(l).forEach((function(n){var r=l[n].find((function(n){return n.scope===t&&n.shortcut===e}));r&&r.method&&r.method()}))},unbind:function(e){if("undefined"===typeof e)Object.keys(l).forEach((function(e){return delete l[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&k(e)}));else if("object"===typeof e)e.key&&k(e);else if("string"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0;function r(e,n,t,o){e.addEventListener?e.addEventListener(n,t,o):e.attachEvent&&e.attachEvent("on".concat(n),(function(){t(window.event)}))}function i(e,n){for(var t=n.slice(0,n.length-1),o=0;o=0;)n[t-1]+=",",n.splice(t,1),t=n.lastIndexOf("");return n}for(var a={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":o?173:189,"=":o?61:187,";":o?59:186,"'":222,"[":219,"]":221,"\\":220},l={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},s={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},u={16:!1,18:!1,17:!1,91:!1},f={},d=1;d<20;d++)a["f".concat(d)]=111+d;var p=[],y=!1,h="all",v=[],m=function(e){return a[e.toLowerCase()]||l[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function g(e){h=e||"all"}function b(){return h||"all"}var w=function(e){var n=e.key,t=e.scope,o=e.method,r=e.splitKey,a=void 0===r?"+":r;c(n).forEach((function(e){var n=e.split(a),r=n.length,c=n[r-1],s="*"===c?"*":m(c);if(f[s]){t||(t=b());var u=r>1?i(l,n):[];f[s]=f[s].filter((function(e){return!((!o||e.method===o)&&e.scope===t&&function(e,n){for(var t=e.length>=n.length?e:n,o=e.length>=n.length?n:e,r=!0,i=0;i0,u)Object.prototype.hasOwnProperty.call(u,i)&&(!u[i]&&n.mods.indexOf(+i)>-1||u[i]&&-1===n.mods.indexOf(+i))&&(r=!1);(0!==n.mods.length||u[16]||u[18]||u[17]||u[91])&&!r&&"*"!==n.shortcut||!1===n.method(e,n)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function O(e,n){var t=f["*"],o=e.keyCode||e.which||e.charCode;if(E.filter.call(this,e)){if(93!==o&&224!==o||(o=91),-1===p.indexOf(o)&&229!==o&&p.push(o),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(n){var t=s[n];e[n]&&-1===p.indexOf(t)?p.push(t):!e[n]&&p.indexOf(t)>-1?p.splice(p.indexOf(t),1):"metaKey"===n&&e[n]&&3===p.length&&(e.ctrlKey||e.shiftKey||e.altKey||(p=p.slice(p.indexOf(t))))})),o in u){for(var r in u[o]=!0,l)l[r]===o&&(E[r]=!0);if(!t)return}for(var i in u)Object.prototype.hasOwnProperty.call(u,i)&&(u[i]=e[s[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),u[17]=!0,u[18]=!0);var c=b();if(t)for(var a=0;a1&&(a=i(l,e)),(e="*"===(e=e[e.length-1])?"*":m(e))in f||(f[e]=[]),f[e].push({keyup:g,keydown:b,scope:s,mods:a,shortcut:o[h],method:t,key:o[h],splitKey:w,element:d});"undefined"!==typeof d&&!function(e){return v.indexOf(e)>-1}(d)&&window&&(v.push(d),r(d,"keydown",(function(e){O(e,d)}),k),y||(y=!0,r(window,"focus",(function(){p=[]}),k)),r(d,"keyup",(function(e){O(e,d),function(e){var n=e.keyCode||e.which||e.charCode,t=p.indexOf(n);if(t>=0&&p.splice(t,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),93!==n&&224!==n||(n=91),n in u)for(var o in u[n]=!1,l)l[o]===n&&(E[o]=!1)}(e)}),k))}var C={setScope:g,getScope:b,deleteScope:function(e,n){var t,o;for(var r in e||(e=b()),f)if(Object.prototype.hasOwnProperty.call(f,r))for(t=f[r],o=0;o1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach((function(t){var o=f[t].find((function(t){return t.scope===n&&t.shortcut===e}));o&&o.method&&o.method()}))},unbind:function(e){if("undefined"===typeof e)Object.keys(f).forEach((function(e){return delete f[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&w(e)}));else if("object"===typeof e)e.key&&w(e);else if("string"===typeof e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o0?"in "+r:r+" ago":r};function i(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,a=t.formats[n]||t.formats[t.defaultWidth];return a}}var o={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},s=function(t,e,n,a){return u[t]};function d(t){return function(e,n){var a;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&t.formattingValues){var r=t.defaultFormattingWidth||t.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):r;a=t.formattingValues[i]||t.formattingValues[r]}else{var o=t.defaultWidth,u=null!==n&&void 0!==n&&n.width?String(n.width):t.defaultWidth;a=t.values[u]||t.values[o]}return a[t.argumentCallback?t.argumentCallback(e):e]}}var h={ordinalNumber:function(t,e){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:d({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:d({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:d({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:d({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:d({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function l(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.width,r=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],i=e.match(r);if(!i)return null;var o,u=i[0],s=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?c(s,(function(t){return t.test(u)})):m(s,(function(t){return t.test(u)}));o=t.valueCallback?t.valueCallback(d):d,o=n.valueCallback?n.valueCallback(o):o;var h=e.slice(u.length);return{value:o,rest:h}}}function m(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function c(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(f.matchPattern);if(!n)return null;var a=n[0],r=t.match(f.parsePattern);if(!r)return null;var i=f.valueCallback?f.valueCallback(r[0]):r[0];i=e.valueCallback?e.valueCallback(i):i;var o=t.slice(a.length);return{value:i,rest:o}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},v={code:"en-US",formatDistance:r,formatLong:o,formatRelative:s,localize:h,match:g,options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});var a={};function r(){return a}},24262:function(t,e,n){"use strict";function a(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}n.d(e,{Z:function(){return a}})},83946:function(t,e,n){"use strict";function a(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,{Z:function(){return a}})},61357:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/video",function(){return n(95565)}])},95565:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return d}});var a=n(85893),r=(n(67294),n(4480)),i=n(1899),o=n(1698),u=n(43125),s=n(83818);function d(){var t=(0,r.sJ)(i.RI),e=(0,r.sJ)(i.g1).name,n=t.viewerCount,d=t.lastConnectTime,h=t.lastDisconnectTime,l=(0,r.sJ)(i.YW);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.me,{}),(0,a.jsxs)("div",{className:"video-embed",children:[l&&(0,a.jsx)(s.M,{source:"/hls/stream.m3u8",online:l}),!l&&(0,a.jsx)(o.R,{title:e,text:"Stream is offline text goes here."})," ",(0,a.jsx)(u.X,{online:l,lastConnectTime:d,lastDisconnectTime:h,viewerCount:n})]})]})}}},function(t){t.O(0,[2544,5938,9372,5108,1899,2854,9774,2888,179],(function(){return e=61357,t(t.s=e);var e}));var e=t.O();_N_E=e}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-df7cdfd5a88be750.js b/static/web/_next/static/chunks/pages/index-175ddc91388d8b26.js similarity index 99% rename from static/web/_next/static/chunks/pages/index-df7cdfd5a88be750.js rename to static/web/_next/static/chunks/pages/index-175ddc91388d8b26.js index 0612d4216..eec2d8636 100644 --- a/static/web/_next/static/chunks/pages/index-df7cdfd5a88be750.js +++ b/static/web/_next/static/chunks/pages/index-175ddc91388d8b26.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(97841)}])},97841:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ke}});var o=n(85893),r=n(97183),i=n(4480),s=n(9008),a=n.n(s),l=n(67294),c=n(1899),u=n(828),d=n(2944),h=n(11382),p=n(94184),m=n.n(p),f=n(73682),x=n(28105),g=n.n(x),j=function(e){var t=e.content;return(0,o.jsx)("div",{className:g().pageContentContainer,children:(0,o.jsx)("div",{className:g().customPageContent,dangerouslySetInnerHTML:{__html:t}})})},_=n(83818),v=n(47568),w=n(70655),y=n(25968),b=n(6226),N=n(3698),C=n(24093),S=n(40305),k=n.n(S),Z=function(e){var t=e.follower;return(0,o.jsx)("div",{className:k().follower,children:(0,o.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,o.jsxs)(y.Z,{wrap:!1,children:[(0,o.jsx)(b.Z,{span:6,children:(0,o.jsx)(C.C,{src:t.image,alt:"Avatar",className:k().avatar,children:(0,o.jsx)("img",{src:"/logo",alt:"Logo",className:k().placeholder})})}),(0,o.jsxs)(b.Z,{children:[(0,o.jsx)(y.Z,{children:t.name}),(0,o.jsx)(y.Z,{className:k().account,children:t.username})]})]})})})},T=function(){var e=(0,l.useState)([]),t=e[0],n=e[1],r=(0,l.useState)(0),i=r[0],s=r[1],a=(0,l.useState)(1),c=a[0],u=a[1],d=Math.ceil(i/24),h=function(){var e=(0,v.Z)((function(){var e,t;return(0,w.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,fetch("".concat("/api/followers","?page=").concat(c))];case 1:return[4,o.sent().json()];case 2:return e=o.sent(),n(e.response),s(e.total),[3,4];case 3:return t=o.sent(),console.error(t),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,l.useEffect)((function(){h()}),[]),(0,l.useEffect)((function(){h()}),[c]);var p=(0,o.jsx)("div",{children:"A message explaining how to follow goes here since there are no followers."});return(null===t||void 0===t?void 0:t.length)?(0,o.jsxs)("div",{className:k().followers,children:[(0,o.jsx)(y.Z,{wrap:!0,gutter:[10,10],justify:"space-around",children:t.map((function(e){return(0,o.jsx)(b.Z,{children:(0,o.jsx)(Z,{follower:e},e.link)})}))}),(0,o.jsx)(N.Z,{current:c,pageSize:24,total:d||1,onChange:function(e){u(e)},hideOnSinglePage:!0})]}):p},M=n(63291),L=n.n(M),F=n(87412),H=n(60808),P=n(75347),A=n.n(P),J=function(){var e=(0,i.sJ)(c.w4),t=(0,i.sJ)(c.uy),n=(0,i.sJ)(c.fE),r=(0,i.sJ)(c.pH);return(0,o.jsx)(F.ZP,{className:A().root,collapsedWidth:0,width:320,children:(0,o.jsx)(H.u,{messages:r,usernameToHighlight:e,chatUserId:t,isModerator:n})})},E=n(35603),R=n.n(E),z=function(e){var t=e.version;return(0,o.jsxs)("div",{className:R().footer,children:[(0,o.jsxs)("div",{className:R().text,children:["Powered by ",(0,o.jsx)("a",{href:"https://owncast.online",children:t})]}),(0,o.jsxs)("div",{className:R().links,children:[(0,o.jsx)("div",{className:R().item,children:(0,o.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"})}),(0,o.jsx)("div",{className:R().item,children:(0,o.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"})}),(0,o.jsx)("div",{className:R().item,children:(0,o.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})})]})]})},I=n(69767),U=n.n(I),B=function(e){var t=e.children;return(0,o.jsx)("div",{className:"".concat(U().row),children:t})},O=n(71577),D=n(32365),V=n(36879),q=n.n(V),K=function(e){var t=e.action,n=t.url,r=t.title,i=t.description,s=t.icon,a=t.color,c=t.openExternally,u=e.primary,d=void 0===u||u,h=(0,l.useState)(!1),p=h[0],m=h[1];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(O.Z,{type:d?"primary":"default",className:"".concat(q().button),onClick:function(){c?window.open(n,"_blank"):m(!0)},style:{backgroundColor:a},children:[(0,o.jsx)("img",{src:s,className:"".concat(q().icon),alt:i}),r]}),(0,o.jsx)(D.u,{title:i||r,url:n,visible:p,height:"80vh",handleCancel:function(){return m(!1)}})]})},W=n(55241),Y=n(97937),G=n(18668),Q=n.n(G),X=function(e){var t=e.children,n=e.visible,r=e.notificationClicked,i=e.notificationClosed,s=(0,l.useState)(n),a=s[0],c=s[1],u=(0,l.useState)(!1),d=u[0],h=u[1];(0,l.useEffect)((function(){c(n)}),[n]),(0,l.useEffect)((function(){h(!0)}),[]);var p=(0,o.jsx)("div",{className:Q().title,children:"Stay updated!"}),m=function(e){e.stopPropagation(),r()},f=(0,o.jsxs)("div",{onClick:m,onKeyDown:m,role:"menuitem",tabIndex:0,children:[(0,o.jsx)("button",{type:"button",className:Q().closebutton,onClick:function(e){e.stopPropagation(),c(!1),i()},children:(0,o.jsx)(Y.Z,{})}),(0,o.jsxs)("div",{className:Q().contentbutton,children:["Click and never miss",(0,o.jsx)("br",{}),"future streams!"]})]});return d&&(0,o.jsx)(W.Z,{placement:"topLeft",defaultVisible:a,visible:a,destroyTooltipOnHide:!0,title:p,content:f,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},children:t})},$=n(1698),ee=n(26042),te=n(69396),ne=n(34447),oe=n(26713),re=n(14670),ie=n(69677),se=n(13840),ae=n.n(se);var le=function(e){var t=e.handleClose,n=e.account,r=e.name,i=(0,l.useState)(null),s=i[0],a=i[1],c=(0,l.useState)(!1),u=c[0],d=c[1],p=(0,l.useState)(!1),m=p[0],f=p[1],x=(0,l.useState)(null),g=x[0],j=x[1],_=function(e){a(e),!function(e){var t=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(e)?d(!1):d(!0)},y=function(){var e=(0,v.Z)((function(){var e,n,o,r;return(0,w.__generator)(this,(function(i){switch(i.label){case 0:if(!u)return[2];f(!0),i.label=1;case 1:return i.trys.push([1,4,,5]),e=s.replace(/^@+/,""),n={account:e},[4,fetch("/api/remotefollow",{method:"POST",body:JSON.stringify(n)})];case 2:return[4,i.sent().json()];case 3:return(o=i.sent()).redirectUrl&&(window.open(o.redirectUrl,"_blank"),t()),o.success?o.redirectUrl?[3,5]:(j("Unable to follow."),f(!1),[2]):(j(o.message),f(!1),[2]);case 4:return r=i.sent(),j(r.message),[3,5];case 5:return f(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,o.jsxs)(oe.Z,{direction:"vertical",children:[(0,o.jsxs)("div",{className:ae().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"learn about the Fediverse"}),"if it's new to you."]}),(0,o.jsxs)(h.Z,{spinning:m,children:[g&&(0,o.jsx)(re.Z,{message:"Follow Error",description:g,type:"error",showIcon:!0}),(0,o.jsxs)("div",{className:ae().account,children:[(0,o.jsx)("img",{src:"/logo",alt:"logo",className:ae().logo}),(0,o.jsxs)("div",{className:ae().username,children:[(0,o.jsx)("div",{className:ae().name,children:r}),(0,o.jsx)("div",{children:n})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:ae().instructions,children:"Enter your username @server to follow"}),(0,o.jsx)(ie.Z,{value:n,size:"large",onChange:function(e){return _(e.target.value)},placeholder:"Your fediverse account @account@server",defaultValue:n}),(0,o.jsx)("div",{className:ae().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,o.jsxs)(oe.Z,{className:ae().buttons,children:[(0,o.jsx)(O.Z,{disabled:!u,type:"primary",onClick:y,children:"Follow"}),(0,o.jsx)(O.Z,{onClick:function(){window.open("https://owncast.online/join-fediverse","_blank")},type:"primary",children:"Join the Fediverse"})]})]})]})},ce=function(e){var t=(0,l.useState)(!1),n=t[0],r=t[1],s=(0,i.sJ)(c.g1),a=s.name,u=s.federation.account;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(O.Z,(0,te.Z)((0,ee.Z)({},e),{type:"primary",className:q().button,icon:(0,o.jsx)(ne.Z,{}),onClick:function(){return r(!0)},children:"Follow"})),(0,o.jsx)(D.u,{title:"Follow ".concat(a),visible:n,handleCancel:function(){return r(!1)},width:"550px",height:"200px",children:(0,o.jsx)(le,{account:u,name:a,handleClose:function(){return r(!1)}})})]})},ue=n(71578),de=function(e){var t=e.onClick;return(0,o.jsx)(O.Z,{type:"primary",className:"".concat(q().button),icon:(0,o.jsx)(ue.Z,{}),onClick:t,children:"Notify"})},he=n(84485);function pe(){return(pe=(0,v.Z)((function(e,t,n){var o,r,i;return(0,w.__generator)(this,(function(s){switch(s.label){case 0:o="/api/notifications/register",r={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:e,destination:t})},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,fetch("".concat(o,"?accessToken=").concat(n),r)];case 2:return s.sent(),[3,4];case 3:return i=s.sent(),console.error(i),[3,4];case 4:return[2]}}))}))).apply(this,arguments)}function me(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=window.atob(t),o=new Uint8Array(n.length),r=0;r0&&s.map((function(e){return(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,o.jsx)("div",{className:m()(Pe().socialLinks,Pe().row),children:(0,o.jsx)(Fe,{links:a})})]})]})})},Je=n(43125),Ee=d.Z.TabPane,Re=r.Z.Content,ze=function(e){var t=e.name,n=e.streamTitle,r=e.summary,i=e.tags,s=e.socialHandles,a=e.extraPageContent;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:L().lowerHalf,children:(0,o.jsx)(Ae,{name:t,title:n,summary:r,tags:i,links:s,logo:"/logo"})}),(0,o.jsx)("div",{className:L().lowerSection,children:(0,o.jsxs)(d.Z,{defaultActiveKey:"0",children:[(0,o.jsx)(Ee,{tab:"About",children:(0,o.jsx)(j,{content:a})},"2"),(0,o.jsx)(Ee,{tab:"Followers",children:(0,o.jsx)(T,{})},"3")]})})]})},Ie=function(e){var t=e.name,n=e.streamTitle,r=e.summary,i=e.tags,s=e.socialHandles,a=e.extraPageContent,l=e.messages,c=e.chatDisplayName,u=e.chatUserId,h=e.showChat;return(0,o.jsx)("div",{className:m()(L().lowerSectionMobile),children:(0,o.jsxs)(d.Z,{defaultActiveKey:"0",children:[h&&(0,o.jsx)(Ee,{tab:"Chat",children:(0,o.jsx)(H.u,{messages:l,usernameToHighlight:c,chatUserId:u,isModerator:!1,height:"40vh"})},"1"),(0,o.jsxs)(Ee,{tab:"About",children:[(0,o.jsx)(Ae,{name:t,title:n,summary:r,tags:i,links:s,logo:"/logo"}),(0,o.jsx)(j,{content:a})]},"2"),(0,o.jsx)(Ee,{tab:"Followers",children:(0,o.jsx)(T,{})},"3")]})})},Ue=function(){var e=(0,i.sJ)(c.Q),t=(0,i.sJ)(c.g1),n=(0,i.sJ)(c.pT),r=(0,i.sJ)(c.di),s=(0,u.Z)((0,i.FV)(c.hz),2),a=s[0],d=s[1],p=(0,i.sJ)(c.j$),m=(0,i.sJ)(c.YW),x=(0,i.sJ)(c.w4),g=(0,i.sJ)(c.uy),j=(0,i.sJ)(c.RI),v=j.viewerCount,w=j.lastConnectTime,y=j.lastDisconnectTime,b=j.streamTitle,N=t.extraPageContent,C=t.version,S=t.name,k=t.summary,Z=t.socialHandles,T=t.tags,M=t.externalActions,F=t.offlineMessage,H=t.chatDisabled,P=(0,l.useState)(!1),A=P[0],E=P[1],R=(0,l.useState)(!1),I=R[0],U=R[1],O=M.map((function(e){return(0,o.jsx)(K,{action:e},e.url)})),V=function(){U(!1),E(!1),(0,f.qQ)(f.dA.hasDisplayedNotificationModal,!0)},q=function(){var e=window.innerWidth;void 0===a&&d(e<=768),!a&&e<=768&&d(!0),a&&e>768&&d(!1)};(0,l.useEffect)((function(){!function(){var e=parseInt((0,f.$o)(f.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,f.qQ)(f.dA.userVisitCount,e+1),e>2&&!(0,f.$o)(f.dA.hasDisplayedNotificationModal)&&E(!0)}(),q(),window.addEventListener("resize",q)}),[]);var W=!e.appLoading&&"Please follow and ask to get notified when the stream is live.";F&&!e.appLoading&&(W=F);var Y=!e.appLoading&&"".concat(S," is currently offline"),G=!H&&r&&n;return(0,o.jsx)("div",{children:(0,o.jsxs)(h.Z,{className:L().loadingSpinner,size:"large",spinning:e.appLoading,children:[(0,o.jsxs)(Re,{className:L().root,children:[(0,o.jsxs)("div",{className:L().leftContent,children:[(0,o.jsxs)("div",{className:L().topSection,children:[m&&(0,o.jsx)(_.M,{source:"/hls/stream.m3u8",online:m}),!m&&!e.appLoading&&(0,o.jsx)($.R,{title:Y,text:W}),(0,o.jsx)(Je.X,{online:m,lastConnectTime:w,lastDisconnectTime:y,viewerCount:v})]}),(0,o.jsx)("div",{className:L().midSection,children:(0,o.jsxs)("div",{className:L().buttonsLogoTitleSection,children:[(0,o.jsxs)(B,{children:[O,(0,o.jsx)(ce,{size:"small"}),(0,o.jsx)(X,{visible:A,notificationClicked:function(){return U(!0)},notificationClosed:function(){return V()},children:(0,o.jsx)(de,{onClick:function(){return U(!0)}})})]}),(0,o.jsx)(D.u,{title:"Notify",visible:I,afterClose:function(){return V()},handleCancel:function(){return V()},children:(0,o.jsx)(Ne,{})})]})}),a&&n?(0,o.jsx)(Ie,{name:S,streamTitle:b,summary:k,tags:T,socialHandles:Z,extraPageContent:N,messages:p,chatDisplayName:x,chatUserId:g,showChat:G}):(0,o.jsx)(ze,{name:S,streamTitle:b,summary:k,tags:T,socialHandles:Z,extraPageContent:N})]}),G&&!a&&(0,o.jsx)(J,{})]}),(!a||!G)&&(0,o.jsx)(z,{version:C})]})})},Be=n(33052),Oe=n(85402),De=function(e){var t=e.title,n=e.message;return(0,o.jsx)(Oe.Z,{title:t,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,o.jsx)("p",{style:{fontSize:"1.3rem"},children:n})})},Ve=n(82670);var qe=function(){var e=(0,i.sJ)(c.g1),t=e.name,n=e.title,s=e.customStyles,u=(0,i.sJ)(c.di),d=(0,i.sJ)(c.ap),h=(0,l.useRef)(null),p=e.chatDisabled;(0,l.useEffect)((function(){!function(e){var t=function(e){e.setAttribute("rel","noopener noreferrer ")};e.querySelectorAll("a").forEach((function(e){return t(e)})),new MutationObserver((function(e){var n=!0,o=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var a=i.value,l=!0,c=!1,u=void 0;try{for(var d,h=a.addedNodes[Symbol.iterator]();!(l=(d=h.next()).done);l=!0){var p=d.value;(0,Ve.Z)(p,HTMLElement)&&"a"===p.tagName.toLowerCase()&&t(p)}}catch(m){c=!0,u=m}finally{try{l||null==h.return||h.return()}finally{if(c)throw u}}}}catch(m){o=!0,r=m}finally{try{n||null==s.return||s.return()}finally{if(o)throw r}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(h.current)}),[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(a(),{children:[(0,o.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:type",content:"video.other"}),(0,o.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,o.jsx)("meta",{property:"og:image",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:url",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:alt",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"og:video:height",content:"315"}),(0,o.jsx)("meta",{property:"og:video:width",content:"560"}),(0,o.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,o.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"twitter:card",content:"player"}),(0,o.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,o.jsx)("meta",{property:"twitter:player:height",content:"315"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsx)("style",{children:s}),(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n\twindow.statusHydration = {{.StatusJSON}};\n\twindow.configHydration = {{.ServerConfigJSON}};\n\t"}})]}),(0,o.jsx)(c.me,{}),(0,o.jsxs)(r.Z,{ref:h,children:[(0,o.jsx)(Be.h,{name:n||t,chatAvailable:u,chatDisabled:p}),(0,o.jsx)(Ue,{}),d&&(0,o.jsx)(De,{title:d.title,message:d.message})]})]})};function Ke(){return(0,o.jsx)(qe,{})}},36879:function(e){e.exports={button:"ActionButton_button__z5Z2c",icon:"ActionButton_icon__EPp7Q"}},69767:function(e){e.exports={row:"ActionButtonRow_row__SiEGe"}},74688:function(e){e.exports={root:"ContentHeader_root__HaUG0",row:"ContentHeader_row__9Q8gH",logoTitleSection:"ContentHeader_logoTitleSection__Z8pUc",logo:"ContentHeader_logo__wo_HN",titleSection:"ContentHeader_titleSection___6Y15",title:"ContentHeader_title__E_DsI",subtitle:"ContentHeader_subtitle__n1Wew",tagList:"ContentHeader_tagList__rx3jY"}},5225:function(e){e.exports={pushPreview:"BrowserNotifyModal_pushPreview__4Og4q",inner:"BrowserNotifyModal_inner__uhFDw",title:"BrowserNotifyModal_title__dd_Lh",permissionLine:"BrowserNotifyModal_permissionLine__K8nyJ",buttonRow:"BrowserNotifyModal_buttonRow__oxJUg",disabled:"BrowserNotifyModal_disabled__v88lb",allow:"BrowserNotifyModal_allow__M9AWC"}},13840:function(e){e.exports={header:"FollowModal_header__la1ji",buttons:"FollowModal_buttons__tt4Mc",instructions:"FollowModal_instructions__HiKFF",footer:"FollowModal_footer__AjucH",account:"FollowModal_account__cmHkm",logo:"FollowModal_logo__Ew8xK",username:"FollowModal_username__A_OTw",name:"FollowModal_name__Sf_TP"}},63291:function(e){e.exports={root:"Content_root__h1mNK",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",lowerSectionMobile:"Content_lowerSectionMobile__hRr0_",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC"}},28105:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},35603:function(e){e.exports={footer:"Footer_footer__mPuvf",links:"Footer_links__7bBxV",item:"Footer_item__rXxSr"}},7918:function(e){e.exports={root:"Logo_root__jKiJC",container:"Logo_container__A4UYT",image:"Logo_image__Ahkom"}},18668:function(e){e.exports={contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},40305:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}},function(e){e.O(0,[1272,8700,2544,7330,3927,384,2944,6265,5938,9372,2865,2429,1681,1082,7900,8521,1899,808,2854,3052,9774,2888,179],(function(){return t=48312,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(97841)}])},97841:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ke}});var o=n(85893),r=n(97183),i=n(4480),s=n(9008),a=n.n(s),l=n(67294),c=n(1899),u=n(828),d=n(2944),h=n(11382),p=n(94184),m=n.n(p),f=n(73682),x=n(28105),g=n.n(x),j=function(e){var t=e.content;return(0,o.jsx)("div",{className:g().pageContentContainer,children:(0,o.jsx)("div",{className:g().customPageContent,dangerouslySetInnerHTML:{__html:t}})})},_=n(83818),v=n(47568),w=n(70655),y=n(25968),b=n(6226),N=n(3698),C=n(24093),S=n(40305),k=n.n(S),Z=function(e){var t=e.follower;return(0,o.jsx)("div",{className:k().follower,children:(0,o.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,o.jsxs)(y.Z,{wrap:!1,children:[(0,o.jsx)(b.Z,{span:6,children:(0,o.jsx)(C.C,{src:t.image,alt:"Avatar",className:k().avatar,children:(0,o.jsx)("img",{src:"/logo",alt:"Logo",className:k().placeholder})})}),(0,o.jsxs)(b.Z,{children:[(0,o.jsx)(y.Z,{children:t.name}),(0,o.jsx)(y.Z,{className:k().account,children:t.username})]})]})})})},T=function(){var e=(0,l.useState)([]),t=e[0],n=e[1],r=(0,l.useState)(0),i=r[0],s=r[1],a=(0,l.useState)(1),c=a[0],u=a[1],d=Math.ceil(i/24),h=function(){var e=(0,v.Z)((function(){var e,t;return(0,w.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,fetch("".concat("/api/followers","?page=").concat(c))];case 1:return[4,o.sent().json()];case 2:return e=o.sent(),n(e.response),s(e.total),[3,4];case 3:return t=o.sent(),console.error(t),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,l.useEffect)((function(){h()}),[]),(0,l.useEffect)((function(){h()}),[c]);var p=(0,o.jsx)("div",{children:"A message explaining how to follow goes here since there are no followers."});return(null===t||void 0===t?void 0:t.length)?(0,o.jsxs)("div",{className:k().followers,children:[(0,o.jsx)(y.Z,{wrap:!0,gutter:[10,10],justify:"space-around",children:t.map((function(e){return(0,o.jsx)(b.Z,{children:(0,o.jsx)(Z,{follower:e},e.link)})}))}),(0,o.jsx)(N.Z,{current:c,pageSize:24,total:d||1,onChange:function(e){u(e)},hideOnSinglePage:!0})]}):p},M=n(63291),L=n.n(M),F=n(87412),H=n(60808),P=n(75347),A=n.n(P),J=function(){var e=(0,i.sJ)(c.w4),t=(0,i.sJ)(c.uy),n=(0,i.sJ)(c.fE),r=(0,i.sJ)(c.pH);return(0,o.jsx)(F.ZP,{className:A().root,collapsedWidth:0,width:320,children:(0,o.jsx)(H.u,{messages:r,usernameToHighlight:e,chatUserId:t,isModerator:n})})},E=n(35603),R=n.n(E),z=function(e){var t=e.version;return(0,o.jsxs)("div",{className:R().footer,children:[(0,o.jsxs)("div",{className:R().text,children:["Powered by ",(0,o.jsx)("a",{href:"https://owncast.online",children:t})]}),(0,o.jsxs)("div",{className:R().links,children:[(0,o.jsx)("div",{className:R().item,children:(0,o.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"})}),(0,o.jsx)("div",{className:R().item,children:(0,o.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"})}),(0,o.jsx)("div",{className:R().item,children:(0,o.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})})]})]})},I=n(69767),U=n.n(I),B=function(e){var t=e.children;return(0,o.jsx)("div",{className:"".concat(U().row),children:t})},O=n(71577),D=n(32365),V=n(36879),q=n.n(V),K=function(e){var t=e.action,n=t.url,r=t.title,i=t.description,s=t.icon,a=t.color,c=t.openExternally,u=e.primary,d=void 0===u||u,h=(0,l.useState)(!1),p=h[0],m=h[1];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(O.Z,{type:d?"primary":"default",className:"".concat(q().button),onClick:function(){c?window.open(n,"_blank"):m(!0)},style:{backgroundColor:a},children:[(0,o.jsx)("img",{src:s,className:"".concat(q().icon),alt:i}),r]}),(0,o.jsx)(D.u,{title:i||r,url:n,visible:p,height:"80vh",handleCancel:function(){return m(!1)}})]})},W=n(55241),Y=n(97937),G=n(18668),Q=n.n(G),X=function(e){var t=e.children,n=e.visible,r=e.notificationClicked,i=e.notificationClosed,s=(0,l.useState)(n),a=s[0],c=s[1],u=(0,l.useState)(!1),d=u[0],h=u[1];(0,l.useEffect)((function(){c(n)}),[n]),(0,l.useEffect)((function(){h(!0)}),[]);var p=(0,o.jsx)("div",{className:Q().title,children:"Stay updated!"}),m=function(e){e.stopPropagation(),r()},f=(0,o.jsxs)("div",{onClick:m,onKeyDown:m,role:"menuitem",tabIndex:0,children:[(0,o.jsx)("button",{type:"button",className:Q().closebutton,onClick:function(e){e.stopPropagation(),c(!1),i()},children:(0,o.jsx)(Y.Z,{})}),(0,o.jsxs)("div",{className:Q().contentbutton,children:["Click and never miss",(0,o.jsx)("br",{}),"future streams!"]})]});return d&&(0,o.jsx)(W.Z,{placement:"topLeft",defaultVisible:a,visible:a,destroyTooltipOnHide:!0,title:p,content:f,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},children:t})},$=n(1698),ee=n(26042),te=n(69396),ne=n(34447),oe=n(26713),re=n(14670),ie=n(69677),se=n(13840),ae=n.n(se);var le=function(e){var t=e.handleClose,n=e.account,r=e.name,i=(0,l.useState)(null),s=i[0],a=i[1],c=(0,l.useState)(!1),u=c[0],d=c[1],p=(0,l.useState)(!1),m=p[0],f=p[1],x=(0,l.useState)(null),g=x[0],j=x[1],_=function(e){a(e),!function(e){var t=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(e)?d(!1):d(!0)},y=function(){var e=(0,v.Z)((function(){var e,n,o,r;return(0,w.__generator)(this,(function(i){switch(i.label){case 0:if(!u)return[2];f(!0),i.label=1;case 1:return i.trys.push([1,4,,5]),e=s.replace(/^@+/,""),n={account:e},[4,fetch("/api/remotefollow",{method:"POST",body:JSON.stringify(n)})];case 2:return[4,i.sent().json()];case 3:return(o=i.sent()).redirectUrl&&(window.open(o.redirectUrl,"_blank"),t()),o.success?o.redirectUrl?[3,5]:(j("Unable to follow."),f(!1),[2]):(j(o.message),f(!1),[2]);case 4:return r=i.sent(),j(r.message),[3,5];case 5:return f(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,o.jsxs)(oe.Z,{direction:"vertical",children:[(0,o.jsxs)("div",{className:ae().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"learn about the Fediverse"}),"if it's new to you."]}),(0,o.jsxs)(h.Z,{spinning:m,children:[g&&(0,o.jsx)(re.Z,{message:"Follow Error",description:g,type:"error",showIcon:!0}),(0,o.jsxs)("div",{className:ae().account,children:[(0,o.jsx)("img",{src:"/logo",alt:"logo",className:ae().logo}),(0,o.jsxs)("div",{className:ae().username,children:[(0,o.jsx)("div",{className:ae().name,children:r}),(0,o.jsx)("div",{children:n})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:ae().instructions,children:"Enter your username @server to follow"}),(0,o.jsx)(ie.Z,{value:n,size:"large",onChange:function(e){return _(e.target.value)},placeholder:"Your fediverse account @account@server",defaultValue:n}),(0,o.jsx)("div",{className:ae().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,o.jsxs)(oe.Z,{className:ae().buttons,children:[(0,o.jsx)(O.Z,{disabled:!u,type:"primary",onClick:y,children:"Follow"}),(0,o.jsx)(O.Z,{onClick:function(){window.open("https://owncast.online/join-fediverse","_blank")},type:"primary",children:"Join the Fediverse"})]})]})]})},ce=function(e){var t=(0,l.useState)(!1),n=t[0],r=t[1],s=(0,i.sJ)(c.g1),a=s.name,u=s.federation.account;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(O.Z,(0,te.Z)((0,ee.Z)({},e),{type:"primary",className:q().button,icon:(0,o.jsx)(ne.Z,{}),onClick:function(){return r(!0)},children:"Follow"})),(0,o.jsx)(D.u,{title:"Follow ".concat(a),visible:n,handleCancel:function(){return r(!1)},width:"550px",height:"200px",children:(0,o.jsx)(le,{account:u,name:a,handleClose:function(){return r(!1)}})})]})},ue=n(71578),de=function(e){var t=e.onClick;return(0,o.jsx)(O.Z,{type:"primary",className:"".concat(q().button),icon:(0,o.jsx)(ue.Z,{}),onClick:t,children:"Notify"})},he=n(84485);function pe(){return(pe=(0,v.Z)((function(e,t,n){var o,r,i;return(0,w.__generator)(this,(function(s){switch(s.label){case 0:o="/api/notifications/register",r={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:e,destination:t})},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,fetch("".concat(o,"?accessToken=").concat(n),r)];case 2:return s.sent(),[3,4];case 3:return i=s.sent(),console.error(i),[3,4];case 4:return[2]}}))}))).apply(this,arguments)}function me(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=window.atob(t),o=new Uint8Array(n.length),r=0;r0&&s.map((function(e){return(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,o.jsx)("div",{className:m()(Pe().socialLinks,Pe().row),children:(0,o.jsx)(Fe,{links:a})})]})]})})},Je=n(43125),Ee=d.Z.TabPane,Re=r.Z.Content,ze=function(e){var t=e.name,n=e.streamTitle,r=e.summary,i=e.tags,s=e.socialHandles,a=e.extraPageContent;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:L().lowerHalf,children:(0,o.jsx)(Ae,{name:t,title:n,summary:r,tags:i,links:s,logo:"/logo"})}),(0,o.jsx)("div",{className:L().lowerSection,children:(0,o.jsxs)(d.Z,{defaultActiveKey:"0",children:[(0,o.jsx)(Ee,{tab:"About",children:(0,o.jsx)(j,{content:a})},"2"),(0,o.jsx)(Ee,{tab:"Followers",children:(0,o.jsx)(T,{})},"3")]})})]})},Ie=function(e){var t=e.name,n=e.streamTitle,r=e.summary,i=e.tags,s=e.socialHandles,a=e.extraPageContent,l=e.messages,c=e.chatDisplayName,u=e.chatUserId,h=e.showChat;return(0,o.jsx)("div",{className:m()(L().lowerSectionMobile),children:(0,o.jsxs)(d.Z,{defaultActiveKey:"0",children:[h&&(0,o.jsx)(Ee,{tab:"Chat",children:(0,o.jsx)(H.u,{messages:l,usernameToHighlight:c,chatUserId:u,isModerator:!1,height:"40vh"})},"1"),(0,o.jsxs)(Ee,{tab:"About",children:[(0,o.jsx)(Ae,{name:t,title:n,summary:r,tags:i,links:s,logo:"/logo"}),(0,o.jsx)(j,{content:a})]},"2"),(0,o.jsx)(Ee,{tab:"Followers",children:(0,o.jsx)(T,{})},"3")]})})},Ue=function(){var e=(0,i.sJ)(c.Q),t=(0,i.sJ)(c.g1),n=(0,i.sJ)(c.pT),r=(0,i.sJ)(c.di),s=(0,u.Z)((0,i.FV)(c.hz),2),a=s[0],d=s[1],p=(0,i.sJ)(c.j$),m=(0,i.sJ)(c.YW),x=(0,i.sJ)(c.w4),g=(0,i.sJ)(c.uy),j=(0,i.sJ)(c.RI),v=j.viewerCount,w=j.lastConnectTime,y=j.lastDisconnectTime,b=j.streamTitle,N=t.extraPageContent,C=t.version,S=t.name,k=t.summary,Z=t.socialHandles,T=t.tags,M=t.externalActions,F=t.offlineMessage,H=t.chatDisabled,P=(0,l.useState)(!1),A=P[0],E=P[1],R=(0,l.useState)(!1),I=R[0],U=R[1],O=M.map((function(e){return(0,o.jsx)(K,{action:e},e.url)})),V=function(){U(!1),E(!1),(0,f.qQ)(f.dA.hasDisplayedNotificationModal,!0)},q=function(){var e=window.innerWidth;void 0===a&&d(e<=768),!a&&e<=768&&d(!0),a&&e>768&&d(!1)};(0,l.useEffect)((function(){!function(){var e=parseInt((0,f.$o)(f.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,f.qQ)(f.dA.userVisitCount,e+1),e>2&&!(0,f.$o)(f.dA.hasDisplayedNotificationModal)&&E(!0)}(),q(),window.addEventListener("resize",q)}),[]);var W=!e.appLoading&&"Please follow and ask to get notified when the stream is live.";F&&!e.appLoading&&(W=F);var Y=!e.appLoading&&"".concat(S," is currently offline"),G=!H&&r&&n;return(0,o.jsx)("div",{children:(0,o.jsxs)(h.Z,{className:L().loadingSpinner,size:"large",spinning:e.appLoading,children:[(0,o.jsxs)(Re,{className:L().root,children:[(0,o.jsxs)("div",{className:L().leftContent,children:[(0,o.jsxs)("div",{className:L().topSection,children:[m&&(0,o.jsx)(_.M,{source:"/hls/stream.m3u8",online:m}),!m&&!e.appLoading&&(0,o.jsx)($.R,{title:Y,text:W}),(0,o.jsx)(Je.X,{online:m,lastConnectTime:w,lastDisconnectTime:y,viewerCount:v})]}),(0,o.jsx)("div",{className:L().midSection,children:(0,o.jsxs)("div",{className:L().buttonsLogoTitleSection,children:[(0,o.jsxs)(B,{children:[O,(0,o.jsx)(ce,{size:"small"}),(0,o.jsx)(X,{visible:A,notificationClicked:function(){return U(!0)},notificationClosed:function(){return V()},children:(0,o.jsx)(de,{onClick:function(){return U(!0)}})})]}),(0,o.jsx)(D.u,{title:"Notify",visible:I,afterClose:function(){return V()},handleCancel:function(){return V()},children:(0,o.jsx)(Ne,{})})]})}),a&&n?(0,o.jsx)(Ie,{name:S,streamTitle:b,summary:k,tags:T,socialHandles:Z,extraPageContent:N,messages:p,chatDisplayName:x,chatUserId:g,showChat:G}):(0,o.jsx)(ze,{name:S,streamTitle:b,summary:k,tags:T,socialHandles:Z,extraPageContent:N})]}),G&&!a&&(0,o.jsx)(J,{})]}),(!a||!G)&&(0,o.jsx)(z,{version:C})]})})},Be=n(33052),Oe=n(85402),De=function(e){var t=e.title,n=e.message;return(0,o.jsx)(Oe.Z,{title:t,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,o.jsx)("p",{style:{fontSize:"1.3rem"},children:n})})},Ve=n(82670);var qe=function(){var e=(0,i.sJ)(c.g1),t=e.name,n=e.title,s=e.customStyles,u=(0,i.sJ)(c.di),d=(0,i.sJ)(c.ap),h=(0,l.useRef)(null),p=e.chatDisabled;(0,l.useEffect)((function(){!function(e){var t=function(e){e.setAttribute("rel","noopener noreferrer ")};e.querySelectorAll("a").forEach((function(e){return t(e)})),new MutationObserver((function(e){var n=!0,o=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var a=i.value,l=!0,c=!1,u=void 0;try{for(var d,h=a.addedNodes[Symbol.iterator]();!(l=(d=h.next()).done);l=!0){var p=d.value;(0,Ve.Z)(p,HTMLElement)&&"a"===p.tagName.toLowerCase()&&t(p)}}catch(m){c=!0,u=m}finally{try{l||null==h.return||h.return()}finally{if(c)throw u}}}}catch(m){o=!0,r=m}finally{try{n||null==s.return||s.return()}finally{if(o)throw r}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(h.current)}),[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(a(),{children:[(0,o.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:type",content:"video.other"}),(0,o.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,o.jsx)("meta",{property:"og:image",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:url",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:alt",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"og:video:height",content:"315"}),(0,o.jsx)("meta",{property:"og:video:width",content:"560"}),(0,o.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,o.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"twitter:card",content:"player"}),(0,o.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,o.jsx)("meta",{property:"twitter:player:height",content:"315"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsx)("style",{children:s}),(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n\twindow.statusHydration = {{.StatusJSON}};\n\twindow.configHydration = {{.ServerConfigJSON}};\n\t"}})]}),(0,o.jsx)(c.me,{}),(0,o.jsxs)(r.Z,{ref:h,children:[(0,o.jsx)(Be.h,{name:n||t,chatAvailable:u,chatDisabled:p}),(0,o.jsx)(Ue,{}),d&&(0,o.jsx)(De,{title:d.title,message:d.message})]})]})};function Ke(){return(0,o.jsx)(qe,{})}},36879:function(e){e.exports={button:"ActionButton_button__z5Z2c",icon:"ActionButton_icon__EPp7Q"}},69767:function(e){e.exports={row:"ActionButtonRow_row__SiEGe"}},74688:function(e){e.exports={root:"ContentHeader_root__HaUG0",row:"ContentHeader_row__9Q8gH",logoTitleSection:"ContentHeader_logoTitleSection__Z8pUc",logo:"ContentHeader_logo__wo_HN",titleSection:"ContentHeader_titleSection___6Y15",title:"ContentHeader_title__E_DsI",subtitle:"ContentHeader_subtitle__n1Wew",tagList:"ContentHeader_tagList__rx3jY"}},5225:function(e){e.exports={pushPreview:"BrowserNotifyModal_pushPreview__4Og4q",inner:"BrowserNotifyModal_inner__uhFDw",title:"BrowserNotifyModal_title__dd_Lh",permissionLine:"BrowserNotifyModal_permissionLine__K8nyJ",buttonRow:"BrowserNotifyModal_buttonRow__oxJUg",disabled:"BrowserNotifyModal_disabled__v88lb",allow:"BrowserNotifyModal_allow__M9AWC"}},13840:function(e){e.exports={header:"FollowModal_header__la1ji",buttons:"FollowModal_buttons__tt4Mc",instructions:"FollowModal_instructions__HiKFF",footer:"FollowModal_footer__AjucH",account:"FollowModal_account__cmHkm",logo:"FollowModal_logo__Ew8xK",username:"FollowModal_username__A_OTw",name:"FollowModal_name__Sf_TP"}},63291:function(e){e.exports={root:"Content_root__h1mNK",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",lowerSectionMobile:"Content_lowerSectionMobile__hRr0_",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC"}},28105:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},35603:function(e){e.exports={footer:"Footer_footer__mPuvf",links:"Footer_links__7bBxV",item:"Footer_item__rXxSr"}},7918:function(e){e.exports={root:"Logo_root__jKiJC",container:"Logo_container__A4UYT",image:"Logo_image__Ahkom"}},18668:function(e){e.exports={contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},40305:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}},function(e){e.O(0,[1272,8700,2544,7330,355,8091,2944,6265,5938,9372,4567,3731,5108,1082,7622,1899,808,2854,3052,9774,2888,179],(function(){return t=48312,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/webpack-42965e25a92d6efc.js b/static/web/_next/static/chunks/webpack-ca72eecc60f70034.js similarity index 95% rename from static/web/_next/static/chunks/webpack-42965e25a92d6efc.js rename to static/web/_next/static/chunks/webpack-ca72eecc60f70034.js index 0c834382d..5577cc043 100644 --- a/static/web/_next/static/chunks/webpack-42965e25a92d6efc.js +++ b/static/web/_next/static/chunks/webpack-ca72eecc60f70034.js @@ -1 +1 @@ -!function(){"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var u=t[r]={id:r,loaded:!1,exports:{}},i=!0;try{e[r].call(u.exports,u,u.exports,n),i=!1}finally{i&&delete t[r]}return u.loaded=!0,u.exports}n.m=e,n.amdO={},function(){var e=[];n.O=function(t,r,o,u){if(!r){var i=1/0;for(d=0;d=u)&&Object.keys(n.O).every((function(e){return n.O[e](r[f])}))?r.splice(f--,1):(c=!1,u0&&e[d-1][2]>u;d--)e[d]=e[d-1];e[d]=[r,o,u]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);n.r(u);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},n.d(u,i),u}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/chunks/"+e+".95543cd3023fceae.js"},n.miniCssF=function(e){return"static/css/"+{927:"1f5ee95fffd43a71",955:"a84224dbf9968ea0",1681:"7c735c05af084bb2",2888:"e5e891bf9996e5d0",3126:"8283b6095a0a048a",5405:"b02eb70d6e778164",8399:"aaed351c81643705"}[e]+".css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,o,u,i){if(e[r])e[r].push(o);else{var c,f;if(void 0!==u)for(var a=document.getElementsByTagName("script"),d=0;d=u)&&Object.keys(n.O).every((function(e){return n.O[e](r[f])}))?r.splice(f--,1):(c=!1,u0&&e[d-1][2]>u;d--)e[d]=e[d-1];e[d]=[r,o,u]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);n.r(u);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},n.d(u,i),u}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/chunks/"+e+".95543cd3023fceae.js"},n.miniCssF=function(e){return"static/css/"+{927:"1f5ee95fffd43a71",955:"b6b069830d291f54",2888:"e5e891bf9996e5d0",3126:"8283b6095a0a048a",5108:"7c735c05af084bb2",5405:"a298719146bb73a7",8399:"4f30770960482870"}[e]+".css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,o,u,i){if(e[r])e[r].push(o);else{var c,f;if(void 0!==u)for(var a=document.getElementsByTagName("script"),d=0;dp{margin:0}.ChatTextField_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_join__fP0IQ{padding:5px;text-align:center}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden} \ No newline at end of file diff --git a/static/web/_next/static/css/a298719146bb73a7.css b/static/web/_next/static/css/a298719146bb73a7.css new file mode 100644 index 000000000..26e616894 --- /dev/null +++ b/static/web/_next/static/css/a298719146bb73a7.css @@ -0,0 +1 @@ +.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:1.1rem;line-height:1.6em;margin:0;padding:0;color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4);padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners);width:clamp(300px,80%,50em)}@media only screen and (max-width:768px){.CustomPageContent_customPageContent__Mr981{width:100%}}.CustomPageContent_customPageContent__Mr981 hr{margin:1.35em 0;border:0;border-top:1px solid var(--theme-text-secondary)}.CustomPageContent_customPageContent__Mr981 div.CustomPageContent_summary___Zgps{font-size:1.1rem}.CustomPageContent_customPageContent__Mr981 p{margin:unset}.VideoJS_player__GT8FN{height:auto!important;width:100%}.VideoJS_player__GT8FN video{position:static!important}.VideoJS_poster__nlmqm{width:100%;height:100%}@media(max-width:768px){.VideoJS_player__GT8FN{height:30vh!important}}.VideoPoster_poster__RDkSk{background-color:#000;display:flex;justify-content:center;width:100%;height:100%}.SingleFollower_follower__EyBDI{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.SingleFollower_follower__EyBDI:hover{border-color:var(--theme-text-link)}.SingleFollower_follower__EyBDI .SingleFollower_avatar__V9jHG{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.SingleFollower_follower__EyBDI .SingleFollower_account__Z66vo{color:var(--theme-text-secondary);text-overflow:ellipsis}.SingleFollower_follower__EyBDI .SingleFollower_placeholder__CgsfJ{width:100%;height:100%}.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.ChatModerationDetailsModal_modalContainer__czndV{padding:10px}.ChatModerationDetailsModal_chatHistory__PunRk{margin:10px;padding:15px;border:1px solid #ccc;border-radius:5px}.ChatModerationDetailsModal_colorBlock___rAlw{display:inline-block;width:60px;height:20px;border:1px solid #000;text-align:center;font-size:.8rem}.ChatModerationDetailsModal_displayName__p7pLI{font-weight:700;padding-right:10px;font-size:1.2rem}.ChatModerationActionMenu_icon__9j6DF{padding-right:10px}.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_join__fP0IQ{padding:5px;text-align:center}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.Sidebar_root__8HE0A{background-color:var(--theme-color-background-chat);display:none;--header-h:64px}@media(min-width:768px){.Sidebar_root__8HE0A{position:sticky;top:var(--header-h);display:block;height:calc(100vh - var(--header-h));max-height:calc(100vh - var(--header-h))}}.Sidebar_root__8HE0A>div{display:flex;flex-flow:column nowrap;flex-grow:1!important;height:100%!important}.Footer_footer__mPuvf{display:flex;justify-content:space-between;flex-direction:row;background-color:var(--theme-color-background-header);width:100%;color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-body-font-family);padding:.6em;font-size:.8rem;font-weight:600;border-top:1px solid hsla(0,4%,83%,.5)}@media(max-width:600px){.Footer_footer__mPuvf{display:none}}.Footer_footer__mPuvf a{color:var(--theme-text-secondary)}.Footer_footer__mPuvf .Footer_links__7bBxV{display:flex;justify-content:space-between;flex-direction:row}.Footer_footer__mPuvf .Footer_links__7bBxV .Footer_item__rXxSr{margin-left:1.2em}.ActionButtonRow_row__SiEGe{padding:.3rem;display:flex;align-items:center;justify-content:flex-end}.ActionButtonRow_row__SiEGe button{margin-left:.3rem;margin-right:.3rem}.ActionButton_button__z5Z2c{margin:3px;font-weight:400;font-family:var(--theme-text-display-font-family)}.ActionButton_button__z5Z2c .ActionButton_icon__EPp7Q{width:20px;margin-right:3px}.NotifyReminderPopup_contentbutton__a_tsp{background-color:transparent;border:none;text-align:left;cursor:pointer}.NotifyReminderPopup_closebutton__GVcP3{position:absolute;right:10px;top:10px;background-color:transparent;border:none;font-size:1.3rem;cursor:pointer}.NotifyReminderPopup_title__Dm9Iy{border-bottom:none;font-weight:700;padding-left:5px}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem;font-size:1.2rem}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:20px}.FollowModal_header__la1ji{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__tt4Mc{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__HiKFF{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600}.FollowModal_footer__AjucH{font-size:.5rem}.FollowModal_account__cmHkm{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem}.FollowModal_account__cmHkm .FollowModal_logo__Ew8xK{border-radius:50%;width:4em;height:4em}.FollowModal_account__cmHkm .FollowModal_username__A_OTw{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__cmHkm .FollowModal_username__A_OTw .FollowModal_name__Sf_TP{font-weight:600}.BrowserNotifyModal_pushPreview__4Og4q{border-style:dashed;border-width:2px;width:30vw}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw{margin:10px;padding:15px;background-color:#fff;box-shadow:2px 6px 7px 0 #87898d}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_title__dd_Lh{font-weight:700}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_permissionLine__K8nyJ{margin-top:5px}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_buttonRow__oxJUg{display:flex;flex-direction:row;justify-content:flex-end}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_buttonRow__oxJUg .BrowserNotifyModal_disabled__v88lb{cursor:not-allowed;outline-width:1;outline-color:"#e2e8f0";outline-style:"solid";background-color:#fff}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_buttonRow__oxJUg .BrowserNotifyModal_allow__M9AWC{background-color:var(--theme-primary-color)}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_buttonRow__oxJUg button{margin-left:10px;padding:4px 15px;border-radius:3px;border-style:solid}.Logo_root__jKiJC{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;margin-right:.5rem;width:96px;height:96px;border-radius:50%;border-width:5px;border-style:solid;border-color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4)}.Logo_container__A4UYT{width:90%;height:90%;border-radius:50%;overflow:hidden}.Logo_image__Ahkom{width:100%;height:100%;background-size:cover;background-position:50%;overflow:hidden}.SocialLinks_link___CcSm{width:1.8em;margin-right:16px}.SocialLinks_links__gOAb7{display:flex;align-items:center;justify-content:flex-start;margin-top:5px}.ContentHeader_root__HaUG0{position:relative;display:grid;padding:1.4rem}.ContentHeader_row__9Q8gH{margin-bottom:7px}.ContentHeader_logoTitleSection__Z8pUc{display:flex}@media(max-width:768px){.ContentHeader_logoTitleSection__Z8pUc{flex-direction:column}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:.6rem auto}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column;margin-left:.6rem}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-family:var(--theme-text-display-font-family);color:var(--theme-color-palette-0);font-size:2rem;font-weight:700;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:1.5rem;font-weight:300;line-height:1.3;color:var(--theme-color-background-header);max-width:900px}.ContentHeader_tagList__rx3jY{color:var(--theme-color-palette-10)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:.5rem;font-size:.9rem;font-weight:500}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-palette-5)}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;height:100%;background-color:var(--theme-color-background-main)}.Content_root__h1mNK .Content_topSection__JIZi0{padding:0;background-color:var(--theme-color-components-video-background)}.Content_root__h1mNK .Content_lowerSection__BZHYI{padding:0 2%;margin-bottom:2em}.Content_root__h1mNK .Content_lowerSectionMobile__hRr0_{padding:.3em}.Content_leftCol__U2TDq{display:flex;flex-direction:column}.Content_loadingSpinner__mDlYC{position:fixed;left:50%;top:50%;z-index:999999}.FediAuthModal_codeInputContainer__M_dAD{display:flex;justify-content:center;flex-direction:column}.FediAuthModal_codeInputContainer__M_dAD .FediAuthModal_codeInput__dIE6u{font-size:1.6rem;font-family:monospace;max-width:220px;margin:auto;text-align:center;letter-spacing:6px;border-color:var(--theme-color-palette-9);color:var(--theme-color-palette-9)}.FediAuthModal_codeInputContainer__M_dAD .FediAuthModal_submitButton__iuF9R{max-width:150px;margin:10px auto auto}.AuthModal_tabContent__KgMU3{flex-direction:row;display:flex;justify-content:center;align-items:center}.AuthModal_tabContent__KgMU3 .AuthModal_icon__kpEuV{height:15px;padding-right:5px}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}} \ No newline at end of file diff --git a/static/web/_next/static/css/a84224dbf9968ea0.css b/static/web/_next/static/css/a84224dbf9968ea0.css deleted file mode 100644 index 2f39dd207..000000000 --- a/static/web/_next/static/css/a84224dbf9968ea0.css +++ /dev/null @@ -1 +0,0 @@ -.ChatModerationDetailsModal_modalContainer__czndV{padding:10px}.ChatModerationDetailsModal_chatHistory__PunRk{margin:10px;padding:15px;border:1px solid #ccc;border-radius:5px}.ChatModerationDetailsModal_colorBlock___rAlw{width:50%;height:20px;border:1px solid #000;text-align:center}.ChatModerationActionMenu_icon__9j6DF{padding-right:10px}.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_join__fP0IQ{padding:5px;text-align:center}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.FediAuthModal_codeInputContainer__M_dAD{display:flex;justify-content:center;flex-direction:column}.FediAuthModal_codeInputContainer__M_dAD .FediAuthModal_codeInput__dIE6u{font-size:1.6rem;font-family:monospace;max-width:220px;margin:auto;text-align:center;letter-spacing:6px;border-color:var(--theme-color-palette-9);color:var(--theme-color-palette-9)}.FediAuthModal_codeInputContainer__M_dAD .FediAuthModal_submitButton__iuF9R{max-width:150px;margin:10px auto auto}.AuthModal_tabContent__KgMU3{flex-direction:row;display:flex;justify-content:center;align-items:center}.AuthModal_tabContent__KgMU3 .AuthModal_icon__kpEuV{height:15px;padding-right:5px}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}} \ No newline at end of file diff --git a/static/web/_next/static/css/aaed351c81643705.css b/static/web/_next/static/css/aaed351c81643705.css deleted file mode 100644 index 509c0c374..000000000 --- a/static/web/_next/static/css/aaed351c81643705.css +++ /dev/null @@ -1 +0,0 @@ -.ChatModerationDetailsModal_modalContainer__czndV{padding:10px}.ChatModerationDetailsModal_chatHistory__PunRk{margin:10px;padding:15px;border:1px solid #ccc;border-radius:5px}.ChatModerationDetailsModal_colorBlock___rAlw{width:50%;height:20px;border:1px solid #000;text-align:center}.ChatModerationActionMenu_icon__9j6DF{padding-right:10px}.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_join__fP0IQ{padding:5px;text-align:center}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden} \ No newline at end of file diff --git a/static/web/_next/static/css/b02eb70d6e778164.css b/static/web/_next/static/css/b02eb70d6e778164.css deleted file mode 100644 index 9c2423647..000000000 --- a/static/web/_next/static/css/b02eb70d6e778164.css +++ /dev/null @@ -1 +0,0 @@ -.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:1.1rem;line-height:1.6em;margin:0;padding:0;color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4);padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners);width:clamp(300px,80%,50em)}@media only screen and (max-width:768px){.CustomPageContent_customPageContent__Mr981{width:100%}}.CustomPageContent_customPageContent__Mr981 hr{margin:1.35em 0;border:0;border-top:1px solid var(--theme-text-secondary)}.CustomPageContent_customPageContent__Mr981 div.CustomPageContent_summary___Zgps{font-size:1.1rem}.CustomPageContent_customPageContent__Mr981 p{margin:unset}.VideoJS_player__GT8FN{height:auto!important;width:100%}.VideoJS_player__GT8FN video{position:static!important}.VideoJS_poster__nlmqm{width:100%;height:100%}@media(max-width:768px){.VideoJS_player__GT8FN{height:30vh!important}}.VideoPoster_poster__RDkSk{background-color:#000;display:flex;justify-content:center;width:100%;height:100%}.SingleFollower_follower__EyBDI{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.SingleFollower_follower__EyBDI:hover{border-color:var(--theme-text-link)}.SingleFollower_follower__EyBDI .SingleFollower_avatar__V9jHG{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.SingleFollower_follower__EyBDI .SingleFollower_account__Z66vo{color:var(--theme-text-secondary);text-overflow:ellipsis}.SingleFollower_follower__EyBDI .SingleFollower_placeholder__CgsfJ{width:100%;height:100%}.ChatModerationDetailsModal_modalContainer__czndV{padding:10px}.ChatModerationDetailsModal_chatHistory__PunRk{margin:10px;padding:15px;border:1px solid #ccc;border-radius:5px}.ChatModerationDetailsModal_colorBlock___rAlw{width:50%;height:20px;border:1px solid #000;text-align:center}.ChatModerationActionMenu_icon__9j6DF{padding-right:10px}.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_join__fP0IQ{padding:5px;text-align:center}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.Sidebar_root__8HE0A{background-color:var(--theme-color-background-chat);display:none;--header-h:64px}@media(min-width:768px){.Sidebar_root__8HE0A{position:sticky;top:var(--header-h);display:block;height:calc(100vh - var(--header-h));max-height:calc(100vh - var(--header-h))}}.Sidebar_root__8HE0A>div{display:flex;flex-flow:column nowrap;flex-grow:1!important;height:100%!important}.Footer_footer__mPuvf{display:flex;justify-content:space-between;flex-direction:row;background-color:var(--theme-color-background-header);width:100%;color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-body-font-family);padding:.6em;font-size:.8rem;font-weight:600;border-top:1px solid hsla(0,4%,83%,.5)}@media(max-width:600px){.Footer_footer__mPuvf{display:none}}.Footer_footer__mPuvf a{color:var(--theme-text-secondary)}.Footer_footer__mPuvf .Footer_links__7bBxV{display:flex;justify-content:space-between;flex-direction:row}.Footer_footer__mPuvf .Footer_links__7bBxV .Footer_item__rXxSr{margin-left:1.2em}.ActionButtonRow_row__SiEGe{padding:.3rem;display:flex;align-items:center;justify-content:flex-end}.ActionButtonRow_row__SiEGe button{margin-left:.3rem;margin-right:.3rem}.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.ActionButton_button__z5Z2c{margin:3px;font-weight:400;font-family:var(--theme-text-display-font-family)}.ActionButton_button__z5Z2c .ActionButton_icon__EPp7Q{width:20px;margin-right:3px}.NotifyReminderPopup_contentbutton__a_tsp{background-color:transparent;border:none;text-align:left;cursor:pointer}.NotifyReminderPopup_closebutton__GVcP3{position:absolute;right:10px;top:10px;background-color:transparent;border:none;font-size:1.3rem;cursor:pointer}.NotifyReminderPopup_title__Dm9Iy{border-bottom:none;font-weight:700;padding-left:5px}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem;font-size:1.2rem}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:20px}.FollowModal_header__la1ji{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__tt4Mc{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__HiKFF{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600}.FollowModal_footer__AjucH{font-size:.5rem}.FollowModal_account__cmHkm{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem}.FollowModal_account__cmHkm .FollowModal_logo__Ew8xK{border-radius:50%;width:4em;height:4em}.FollowModal_account__cmHkm .FollowModal_username__A_OTw{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__cmHkm .FollowModal_username__A_OTw .FollowModal_name__Sf_TP{font-weight:600}.BrowserNotifyModal_pushPreview__4Og4q{border-style:dashed;border-width:2px;width:30vw}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw{margin:10px;padding:15px;background-color:#fff;box-shadow:2px 6px 7px 0 #87898d}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_title__dd_Lh{font-weight:700}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_permissionLine__K8nyJ{margin-top:5px}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_buttonRow__oxJUg{display:flex;flex-direction:row;justify-content:flex-end}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_buttonRow__oxJUg .BrowserNotifyModal_disabled__v88lb{cursor:not-allowed;outline-width:1;outline-color:"#e2e8f0";outline-style:"solid";background-color:#fff}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_buttonRow__oxJUg .BrowserNotifyModal_allow__M9AWC{background-color:var(--theme-primary-color)}.BrowserNotifyModal_pushPreview__4Og4q .BrowserNotifyModal_inner__uhFDw .BrowserNotifyModal_buttonRow__oxJUg button{margin-left:10px;padding:4px 15px;border-radius:3px;border-style:solid}.Logo_root__jKiJC{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;margin-right:.5rem;width:96px;height:96px;border-radius:50%;border-width:5px;border-style:solid;border-color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4)}.Logo_container__A4UYT{width:90%;height:90%;border-radius:50%;overflow:hidden}.Logo_image__Ahkom{width:100%;height:100%;background-size:cover;background-position:50%;overflow:hidden}.SocialLinks_link___CcSm{width:1.8em;margin-right:16px}.SocialLinks_links__gOAb7{display:flex;align-items:center;justify-content:flex-start;margin-top:5px}.ContentHeader_root__HaUG0{position:relative;display:grid;padding:1.4rem}.ContentHeader_row__9Q8gH{margin-bottom:7px}.ContentHeader_logoTitleSection__Z8pUc{display:flex}@media(max-width:768px){.ContentHeader_logoTitleSection__Z8pUc{flex-direction:column}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:.6rem auto}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column;margin-left:.6rem}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-family:var(--theme-text-display-font-family);color:var(--theme-color-palette-0);font-size:2rem;font-weight:700;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:1.5rem;font-weight:300;line-height:1.3;color:var(--theme-color-background-header);max-width:900px}.ContentHeader_tagList__rx3jY{color:var(--theme-color-palette-10)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:.5rem;font-size:.9rem;font-weight:500}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-palette-5)}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;height:100%;background-color:var(--theme-color-background-main)}.Content_root__h1mNK .Content_topSection__JIZi0{padding:0;background-color:var(--theme-color-components-video-background)}.Content_root__h1mNK .Content_lowerSection__BZHYI{padding:0 2%;margin-bottom:2em}.Content_root__h1mNK .Content_lowerSectionMobile__hRr0_{padding:.3em}.Content_leftCol__U2TDq{display:flex;flex-direction:column}.Content_loadingSpinner__mDlYC{position:fixed;left:50%;top:50%;z-index:999999}.FediAuthModal_codeInputContainer__M_dAD{display:flex;justify-content:center;flex-direction:column}.FediAuthModal_codeInputContainer__M_dAD .FediAuthModal_codeInput__dIE6u{font-size:1.6rem;font-family:monospace;max-width:220px;margin:auto;text-align:center;letter-spacing:6px;border-color:var(--theme-color-palette-9);color:var(--theme-color-palette-9)}.FediAuthModal_codeInputContainer__M_dAD .FediAuthModal_submitButton__iuF9R{max-width:150px;margin:10px auto auto}.AuthModal_tabContent__KgMU3{flex-direction:row;display:flex;justify-content:center;align-items:center}.AuthModal_tabContent__KgMU3 .AuthModal_icon__kpEuV{height:15px;padding-right:5px}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}} \ No newline at end of file diff --git a/static/web/_next/static/css/b6b069830d291f54.css b/static/web/_next/static/css/b6b069830d291f54.css new file mode 100644 index 000000000..b28e9ed12 --- /dev/null +++ b/static/web/_next/static/css/b6b069830d291f54.css @@ -0,0 +1 @@ +.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.ChatModerationDetailsModal_modalContainer__czndV{padding:10px}.ChatModerationDetailsModal_chatHistory__PunRk{margin:10px;padding:15px;border:1px solid #ccc;border-radius:5px}.ChatModerationDetailsModal_colorBlock___rAlw{display:inline-block;width:60px;height:20px;border:1px solid #000;text-align:center;font-size:.8rem}.ChatModerationDetailsModal_displayName__p7pLI{font-weight:700;padding-right:10px;font-size:1.2rem}.ChatModerationActionMenu_icon__9j6DF{padding-right:10px}.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_join__fP0IQ{padding:5px;text-align:center}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.FediAuthModal_codeInputContainer__M_dAD{display:flex;justify-content:center;flex-direction:column}.FediAuthModal_codeInputContainer__M_dAD .FediAuthModal_codeInput__dIE6u{font-size:1.6rem;font-family:monospace;max-width:220px;margin:auto;text-align:center;letter-spacing:6px;border-color:var(--theme-color-palette-9);color:var(--theme-color-palette-9)}.FediAuthModal_codeInputContainer__M_dAD .FediAuthModal_submitButton__iuF9R{max-width:150px;margin:10px auto auto}.AuthModal_tabContent__KgMU3{flex-direction:row;display:flex;justify-content:center;align-items:center}.AuthModal_tabContent__KgMU3 .AuthModal_icon__kpEuV{height:15px;padding-right:5px}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}} \ No newline at end of file diff --git a/static/web/admin/access-tokens/index.html b/static/web/admin/access-tokens/index.html index 9f016d91c..142c1dc7e 100644 --- a/static/web/admin/access-tokens/index.html +++ b/static/web/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Access Tokens

        Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
        Read more about how to use these tokens, with examples, at our documentation.
        NameTokenScopesLast Used
        No Data

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Access Tokens

        Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
        Read more about how to use these tokens, with examples, at our documentation.
        NameTokenScopesLast Used
        No Data

        \ No newline at end of file diff --git a/static/web/admin/actions/index.html b/static/web/admin/actions/index.html index 242b1427f..71e574297 100644 --- a/static/web/admin/actions/index.html +++ b/static/web/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        External Actions

        External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
        Read more about how to use actions, with examples, at our documentation.
        NameDescriptionURLIconColorOpens
        No Data

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        External Actions

        External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
        Read more about how to use actions, with examples, at our documentation.
        NameDescriptionURLIconColorOpens
        No Data

        \ No newline at end of file diff --git a/static/web/admin/chat/messages/index.html b/static/web/admin/chat/messages/index.html index 290e4f10c..df8b03f26 100644 --- a/static/web/admin/chat/messages/index.html +++ b/static/web/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Chat Messages

        Manage the messages from viewers that show up on your stream.

        Check multiple messages to change their visibility to:
        Time
        User
        Message
        No Data
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Chat Messages

        Manage the messages from viewers that show up on your stream.

        Check multiple messages to change their visibility to:
        Time
        User
        Message
        No Data
        \ No newline at end of file diff --git a/static/web/admin/chat/users/index.html b/static/web/admin/chat/users/index.html index 4ae9aa3be..ed20c3a15 100644 --- a/static/web/admin/chat/users/index.html +++ b/static/web/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        When a stream is active and chat is enabled, connected chat clients will be displayed here.

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        When a stream is active and chat is enabled, connected chat clients will be displayed here.

        \ No newline at end of file diff --git a/static/web/admin/config-chat/index.html b/static/web/admin/config-chat/index.html index 8649c7a80..c57d83c74 100644 --- a/static/web/admin/config-chat/index.html +++ b/static/web/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline
        \ No newline at end of file diff --git a/static/web/admin/config-federation/index.html b/static/web/admin/config-federation/index.html index e29535829..b9d993625 100644 --- a/static/web/admin/config-federation/index.html +++ b/static/web/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline
        \ No newline at end of file diff --git a/static/web/admin/config-notify/index.html b/static/web/admin/config-notify/index.html index f08a3cade..8a3b21522 100644 --- a/static/web/admin/config-notify/index.html +++ b/static/web/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Notifications

        Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


        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.

        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.

        Browser Alerts

        Viewers can opt into being notified when you go live with their browser.

        Not all browsers support this.

        Enable browser notifications

        The text to send when you go live.

        Twitter

        Let your Twitter followers know each time you go live.

        Enable Twitter

        The text to send when you go live.

        Discord

        Let your Discord channel know each time you go live.

        Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

        Enable Discord

        The webhook assigned to your channel.

        The text to send when you go live.

        Fediverse Social

        Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

        Fediverse social features: Disabled

        Configure

        Custom

        Build your own notifications by using custom webhooks.

        Create
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Notifications

        Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


        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.

        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.

        Browser Alerts

        Viewers can opt into being notified when you go live with their browser.

        Not all browsers support this.

        Enable browser notifications

        The text to send when you go live.

        Twitter

        Let your Twitter followers know each time you go live.

        Enable Twitter

        The text to send when you go live.

        Discord

        Let your Discord channel know each time you go live.

        Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

        Enable Discord

        The webhook assigned to your channel.

        The text to send when you go live.

        Fediverse Social

        Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

        Fediverse social features: Disabled

        Configure

        Custom

        Build your own notifications by using custom webhooks.

        Create
        \ No newline at end of file diff --git a/static/web/admin/config-public-details/index.html b/static/web/admin/config-public-details/index.html index 8058827c7..c39cef7d4 100644 --- a/static/web/admin/config-public-details/index.html +++ b/static/web/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        General Settings

        The following are displayed on your site to describe your stream and its content. Learn more.

        Custom Page Content

        Edit the content of your page by using simple Markdown syntax.


        Customize your page styling with CSS

        Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

        Please input plain CSS text, as this will be directly injected onto your page during load.


        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        General Settings

        The following are displayed on your site to describe your stream and its content. Learn more.

        Custom Page Content

        Edit the content of your page by using simple Markdown syntax.


        Customize your page styling with CSS

        Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

        Please input plain CSS text, as this will be directly injected onto your page during load.


        \ No newline at end of file diff --git a/static/web/admin/config-server-details/index.html b/static/web/admin/config-server-details/index.html index efd8d9b1f..ac02f7b0d 100644 --- a/static/web/admin/config-server-details/index.html +++ b/static/web/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Server Settings

        You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Server Settings

        You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

        \ No newline at end of file diff --git a/static/web/admin/config-social-items/index.html b/static/web/admin/config-social-items/index.html index e04e0148a..63eb8e8ff 100644 --- a/static/web/admin/config-social-items/index.html +++ b/static/web/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Social Items

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Social Items

        \ No newline at end of file diff --git a/static/web/admin/config-storage/index.html b/static/web/admin/config-storage/index.html index a80cfc144..e8fa0b2a3 100644 --- a/static/web/admin/config-storage/index.html +++ b/static/web/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Storage

        Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

        Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

        Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Storage

        Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

        Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

        Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

        \ No newline at end of file diff --git a/static/web/admin/config-video/index.html b/static/web/admin/config-video/index.html index 35167f170..0195335f0 100644 --- a/static/web/admin/config-video/index.html +++ b/static/web/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Video configuration

        Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

        Stream output

        NameVideo bitrateCPU Usage
        No name800 kbpsMedium

        Latency Buffer

        While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

        For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

        LowestHighest

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Video configuration

        Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

        Stream output

        NameVideo bitrateCPU Usage
        No name800 kbpsMedium

        Latency Buffer

        While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

        For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

        LowestHighest

        \ No newline at end of file diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index c54361c93..ddcb586ef 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Fediverse Actions

        Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
        ActionFromWhen
        No Data
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Fediverse Actions

        Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
        ActionFromWhen
        No Data
        \ No newline at end of file diff --git a/static/web/admin/federation/followers/index.html b/static/web/admin/federation/followers/index.html index 27504ac96..a471bb75f 100644 --- a/static/web/admin/federation/followers/index.html +++ b/static/web/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        The following accounts get notified when you go live or send a post.

        NameURL
        Added
        Remove
        No Data
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        The following accounts get notified when you go live or send a post.

        NameURL
        Added
        Remove
        No Data
        \ No newline at end of file diff --git a/static/web/admin/hardware-info/index.html b/static/web/admin/hardware-info/index.html index 8b428a2db..cc85126d4 100644 --- a/static/web/admin/hardware-info/index.html +++ b/static/web/admin/hardware-info/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Hardware Info


        CPU
        0%
        Memory
        0%
        Disk
        0%
        Loading...
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Hardware Info


        CPU
        0%
        Memory
        0%
        Disk
        0%
        Loading...
        \ No newline at end of file diff --git a/static/web/admin/help/index.html b/static/web/admin/help/index.html index d1738d227..d642ab916 100644 --- a/static/web/admin/help/index.html +++ b/static/web/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        How can we help you?

        Troubleshooting

        Fix your problems

        Documentation

        Read the Docs

        Common tasks

        I want to configure my owncast instance
        Help configuring my broadcasting software
        I want to embed my stream into another site
        I want to customize my website
        I want to tweak my video output
        I want to use an external storage provider

        Other

        I found a bug
        If you found a bug, then please let us know
        I have a general question
        Most general questions are answered in our FAQ or exist in our discussions
        I want to build add-ons for Owncast
        You can build your own bots, overlays, tools and add-ons with our developer APIs. 
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        How can we help you?

        Troubleshooting

        Fix your problems

        Documentation

        Read the Docs

        Common tasks

        I want to configure my owncast instance
        Help configuring my broadcasting software
        I want to embed my stream into another site
        I want to customize my website
        I want to tweak my video output
        I want to use an external storage provider

        Other

        I found a bug
        If you found a bug, then please let us know
        I have a general question
        Most general questions are answered in our FAQ or exist in our discussions
        I want to build add-ons for Owncast
        You can build your own bots, overlays, tools and add-ons with our developer APIs. 
        \ No newline at end of file diff --git a/static/web/admin/index.html b/static/web/admin/index.html index cac1b8b6e..33ab651f0 100644 --- a/static/web/admin/index.html +++ b/static/web/admin/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        No stream is active

        You should start one.

        Use your broadcasting software
        Chat is disabled
        Chat will continue to be disabled until you begin a live stream.
        Find an audience on the Owncast Directory
        List yourself in the Owncast Directory and show off your stream. Enable it in settings.
        fediverse
        Add your Owncast instance to the Fediverse
        Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

        News & Updates from Owncast

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        No stream is active

        You should start one.

        Use your broadcasting software
        Chat is disabled
        Chat will continue to be disabled until you begin a live stream.
        Find an audience on the Owncast Directory
        List yourself in the Owncast Directory and show off your stream. Enable it in settings.
        fediverse
        Add your Owncast instance to the Fediverse
        Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

        News & Updates from Owncast

        \ No newline at end of file diff --git a/static/web/admin/logs/index.html b/static/web/admin/logs/index.html index 0d03611e3..7c2cbfaea 100644 --- a/static/web/admin/logs/index.html +++ b/static/web/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline
        \ No newline at end of file diff --git a/static/web/admin/stream-health/index.html b/static/web/admin/stream-health/index.html index 034329bb9..4d20e4e2d 100644 --- a/static/web/admin/stream-health/index.html +++ b/static/web/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Stream Performance

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Stream Performance

        \ No newline at end of file diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index 61e3038d6..3dcc792d3 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Thu Jan 01 1970

        Downloads

        NameSize
        No Data
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Thu Jan 01 1970

        Downloads

        NameSize
        No Data
        \ No newline at end of file diff --git a/static/web/admin/viewer-info/index.html b/static/web/admin/viewer-info/index.html index 13450ff55..80854e627 100644 --- a/static/web/admin/viewer-info/index.html +++ b/static/web/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Viewer Info


        Max viewers last stream
        0
        All-time max viewers
        0
        User AgentLocation
        Watch Time
        No Data
        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Viewer Info


        Max viewers last stream
        0
        All-time max viewers
        0
        User AgentLocation
        Watch Time
        No Data
        \ No newline at end of file diff --git a/static/web/admin/webhooks/index.html b/static/web/admin/webhooks/index.html index 9858186c4..30663283b 100644 --- a/static/web/admin/webhooks/index.html +++ b/static/web/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Webhooks

        A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
        Read more about how to use webhooks, with examples, at our documentation.
        URLEvents
        No Data

        \ No newline at end of file +Owncast Admin

        What is your stream about today?

        What is your stream about today?
        Offline

        Webhooks

        A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
        Read more about how to use webhooks, with examples, at our documentation.
        URLEvents
        No Data

        \ No newline at end of file diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index 2e4a1825d..c8de72dab 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1 +1 @@ -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index f6bc8dbb3..7c403b744 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -

        Chat message goes here...

        \ No newline at end of file +

        Chat message goes here...

        \ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index b7bdad158..864947c02 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
        Stream is offline text goes here.
        Offline
        \ No newline at end of file +
        Stream is offline text goes here.
        Offline
        \ No newline at end of file diff --git a/static/web/index.html b/static/web/index.html index 47db4c691..fe0053339 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,4 +1,4 @@
        Chat offline
        Offline
        Logo
        Preview
        \ No newline at end of file +
        Chat offline
        Offline
        Logo
        Preview
        \ No newline at end of file