diff --git a/static/web/404.html b/static/web/404.html index efd01ff56..7365719c9 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 efd01ff56..7365719c9 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/Q9rRLXx8_JHgB9k9sp8ba/_buildManifest.js b/static/web/_next/static/A_LAA2ix7oA01h4xgTqfP/_buildManifest.js similarity index 98% rename from static/web/_next/static/Q9rRLXx8_JHgB9k9sp8ba/_buildManifest.js rename to static/web/_next/static/A_LAA2ix7oA01h4xgTqfP/_buildManifest.js index ddfc1d569..7059b9da6 100644 --- a/static/web/_next/static/Q9rRLXx8_JHgB9k9sp8ba/_buildManifest.js +++ b/static/web/_next/static/A_LAA2ix7oA01h4xgTqfP/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,b,o,m,u,k,g,r,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:[]},"/":[a,s,c,t,n,f,o,m,j,"static/chunks/4466-2e8c1156cd6902a6.js",h,"static/css/74531a679aaebd09.css","static/chunks/pages/index-1748734ed2009ca3.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[a,s,c,e,i,t,n,d,b,m,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-f61cf9b387d8362c.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-91177ddb58bd90ee.js"],"/admin/actions":[u,a,s,c,e,p,"static/chunks/pages/admin/actions-0b45668aebec7dde.js"],"/admin/chat/messages":[u,a,s,c,e,i,n,l,"static/chunks/pages/admin/chat/messages-7e88922542839f8a.js"],"/admin/chat/users":[u,a,s,c,e,i,t,n,l,"static/chunks/pages/admin/chat/users-8fc28dfaa9e52d37.js"],"/admin/config/appearance":[_,o,w,v,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-be1829febefc4db6.js"],"/admin/config/streamkeys":[a,s,c,e,p,"static/chunks/pages/admin/config/streamkeys-6a3f2badc0712b01.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-fab037451220beb1.js"],"/admin/config-federation":["static/chunks/8572-deca358d1a965d80.js","static/chunks/pages/admin/config-federation-3e7e0a54acf1bd9b.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-b525013f97b7a9a9.js"],"/admin/config-public-details":[_,a,s,c,e,k,w,"static/chunks/1043-9c545dc74036761a.js","static/chunks/pages/admin/config-public-details-085c048afcb776d7.js"],"/admin/config-server-details":[y,"static/chunks/pages/admin/config-server-details-fafadf003f21dada.js"],"/admin/config-social-items":[a,s,c,e,"static/chunks/pages/admin/config-social-items-f022d29681248095.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-7c5510a084d9c01c.js"],"/admin/config-video":[a,s,c,e,y,"static/chunks/6962-f197cc126c73fb7f.js","static/chunks/pages/admin/config-video-ea088d6f81d33fcc.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-d79f77b8b18148ad.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-8c2d451ee44fb398.js"],"/admin/hardware-info":[g,i,t,d,b,r,k,"static/chunks/pages/admin/hardware-info-d1ca2af204c98f51.js"],"/admin/help":[t,d,o,v,"static/chunks/7830-37f6f9f7aaae2bbf.js","static/chunks/pages/admin/help-cf85d400d1ada208.js"],"/admin/logs":[a,s,c,e,i,m,"static/chunks/pages/admin/logs-c494c4dc6f214d8b.js"],"/admin/stream-health":[g,i,t,d,b,r,"static/chunks/2934-4a8cbef0e0cea1a5.js","static/chunks/pages/admin/stream-health-f2cf52294c67fcb8.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-c5012847917b76df.js","static/chunks/pages/admin/upgrade-41783a74d59f851b.js"],"/admin/viewer-info":[g,a,s,c,e,i,t,n,d,b,r,k,"static/chunks/pages/admin/viewer-info-9a828a713dcea351.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-c59eaaf1fe4ac78c.js"],"/embed/chat/readonly":[I,B,f,F,h,A,"static/css/c43a4bf0142c5559.css","static/chunks/pages/embed/chat/readonly-1d789cb2de5c6857.js"],"/embed/chat/readwrite":[I,B,s,f,F,"static/chunks/911-9156415c36038fd8.js",h,A,"static/css/ad740c02430043c7.css","static/chunks/pages/embed/chat/readwrite-eac13f3b533b2f87.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",n,f,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",j,h,"static/chunks/2239-ceff4252276e3d5e.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-58a5d6ba4b2bb819.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-37c1af34070ecbf4.js","static/chunks/8909-6d59cce6f69e27ae.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-8da9006b177e3283.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-e4a02973025beaca.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-cd081ceb0032736f.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-ddb180f0aeda9ff0.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/7910-44b63d030e4b1767.js","static/chunks/ee8b1517-9cf421a7da630c58.js","static/chunks/236-f876fd1a47451d45.js","static/chunks/8245-b34a27e35386277e.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/9550-db4a457e5e1bbbcf.js","static/chunks/4ad82c5e-929b3fa886d2b3d7.js","static/chunks/1943-4052238ea618f5cc.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/3286-716fef4ced844a4d.js","static/chunks/d3048c20-b61d7fb6003662e6.js","static/chunks/d2094a0f-60df0b272e9790e9.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-167fb026492a9609.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,b,o,m,u,k,g,r,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:[]},"/":[a,s,c,t,n,f,o,m,j,"static/chunks/4466-2e8c1156cd6902a6.js",h,"static/css/74531a679aaebd09.css","static/chunks/pages/index-1748734ed2009ca3.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[a,s,c,e,i,t,n,d,b,m,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-f61cf9b387d8362c.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-91177ddb58bd90ee.js"],"/admin/actions":[u,a,s,c,e,p,"static/chunks/pages/admin/actions-0b45668aebec7dde.js"],"/admin/chat/messages":[u,a,s,c,e,i,n,l,"static/chunks/pages/admin/chat/messages-7e88922542839f8a.js"],"/admin/chat/users":[u,a,s,c,e,i,t,n,l,"static/chunks/pages/admin/chat/users-8fc28dfaa9e52d37.js"],"/admin/config/appearance":[_,o,w,v,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-be1829febefc4db6.js"],"/admin/config/streamkeys":[a,s,c,e,p,"static/chunks/pages/admin/config/streamkeys-6a3f2badc0712b01.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-fab037451220beb1.js"],"/admin/config-federation":["static/chunks/8572-deca358d1a965d80.js","static/chunks/pages/admin/config-federation-3e7e0a54acf1bd9b.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-b525013f97b7a9a9.js"],"/admin/config-public-details":[_,a,s,c,e,k,w,"static/chunks/1043-9c545dc74036761a.js","static/chunks/pages/admin/config-public-details-085c048afcb776d7.js"],"/admin/config-server-details":[y,"static/chunks/pages/admin/config-server-details-fafadf003f21dada.js"],"/admin/config-social-items":[a,s,c,e,"static/chunks/pages/admin/config-social-items-f022d29681248095.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-7c5510a084d9c01c.js"],"/admin/config-video":[a,s,c,e,y,"static/chunks/6962-f197cc126c73fb7f.js","static/chunks/pages/admin/config-video-ea088d6f81d33fcc.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-d79f77b8b18148ad.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-8c2d451ee44fb398.js"],"/admin/hardware-info":[g,i,t,d,b,r,k,"static/chunks/pages/admin/hardware-info-d1ca2af204c98f51.js"],"/admin/help":[t,d,o,v,"static/chunks/7830-37f6f9f7aaae2bbf.js","static/chunks/pages/admin/help-cf85d400d1ada208.js"],"/admin/logs":[a,s,c,e,i,m,"static/chunks/pages/admin/logs-c494c4dc6f214d8b.js"],"/admin/stream-health":[g,i,t,d,b,r,"static/chunks/2934-4a8cbef0e0cea1a5.js","static/chunks/pages/admin/stream-health-f2cf52294c67fcb8.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-c5012847917b76df.js","static/chunks/pages/admin/upgrade-41783a74d59f851b.js"],"/admin/viewer-info":[g,a,s,c,e,i,t,n,d,b,r,k,"static/chunks/pages/admin/viewer-info-9a828a713dcea351.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-c59eaaf1fe4ac78c.js"],"/embed/chat/readonly":[I,B,f,F,h,A,"static/css/c43a4bf0142c5559.css","static/chunks/pages/embed/chat/readonly-1d789cb2de5c6857.js"],"/embed/chat/readwrite":[I,B,s,f,F,"static/chunks/911-9156415c36038fd8.js",h,A,"static/css/ad740c02430043c7.css","static/chunks/pages/embed/chat/readwrite-eac13f3b533b2f87.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",n,f,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",j,h,"static/chunks/2239-ceff4252276e3d5e.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-58a5d6ba4b2bb819.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-37c1af34070ecbf4.js","static/chunks/8909-6d59cce6f69e27ae.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-8da9006b177e3283.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-e4a02973025beaca.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-cd081ceb0032736f.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-ddb180f0aeda9ff0.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/7910-44b63d030e4b1767.js","static/chunks/ee8b1517-9cf421a7da630c58.js","static/chunks/236-f876fd1a47451d45.js","static/chunks/8245-b34a27e35386277e.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/9550-db4a457e5e1bbbcf.js","static/chunks/4ad82c5e-929b3fa886d2b3d7.js","static/chunks/1943-4052238ea618f5cc.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/3286-716fef4ced844a4d.js","static/chunks/d3048c20-93c008b4ff3ddb0e.js","static/chunks/d2094a0f-60df0b272e9790e9.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-167fb026492a9609.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/Q9rRLXx8_JHgB9k9sp8ba/_ssgManifest.js b/static/web/_next/static/A_LAA2ix7oA01h4xgTqfP/_ssgManifest.js similarity index 100% rename from static/web/_next/static/Q9rRLXx8_JHgB9k9sp8ba/_ssgManifest.js rename to static/web/_next/static/A_LAA2ix7oA01h4xgTqfP/_ssgManifest.js diff --git a/static/web/_next/static/chunks/d3048c20-93c008b4ff3ddb0e.js b/static/web/_next/static/chunks/d3048c20-93c008b4ff3ddb0e.js new file mode 100644 index 000000000..37667bf23 --- /dev/null +++ b/static/web/_next/static/chunks/d3048c20-93c008b4ff3ddb0e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1272],{77493:function(u,e,t){t.d(e,{E9:function(){return uB},Jh:function(){return E},ML:function(){return Q},NB:function(){return ur},W_:function(){return Z},YR:function(){return uI},e6:function(){return uA},o4:function(){return uE},xv:function(){return uy},y$:function(){return uo}});var r,n,D=t(45628),a=t(12902);function o(u,e,t){return e in u?Object.defineProperty(u,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):u[e]=t,u}var i=new WeakMap,s=new WeakMap,C=new WeakMap,B=new WeakMap,l=new WeakMap,c=new WeakMap,f=new WeakMap;function A(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function h(u){for(var e=1;e{var u={children:[],operations:[],selection:null,marks:null,id:F++,isInline:()=>!1,isVoid:()=>!1,markableVoid:()=>!1,onChange(){},apply(e){for(var t of Q.pathRefs(u))ui.transform(t,e);for(var r of Q.pointRefs(u))ul.transform(r,e);for(var n of Q.rangeRefs(u))uh.transform(n,e);var D,a,o=i.get(u)||[],B=s.get(u)||new Set,l=u=>{if(u){var e=u.join(",");a.has(e)||(a.add(e),D.push(u))}};if(uo.operationCanTransformPath(e))for(var c of(D=[],a=new Set,o))l(uo.transform(c,e));else D=o,a=B;for(var f of u.getDirtyPaths(e))l(f);i.set(u,D),s.set(u,a),uI.transform(u,e),u.operations.push(e),Q.normalize(u),"set_selection"===e.type&&(u.marks=null),C.get(u)||(C.set(u,!0),Promise.resolve().then(()=>{C.set(u,!1),u.onChange(),u.operations=[]}))},addMark(e,t){var{selection:r,markableVoid:n}=u;if(r){var D=(e,t)=>{if(!uy.isText(e))return!1;var[r,n]=Q.parent(u,t);return!u.isVoid(r)||u.markableVoid(r)},a=uA.isExpanded(r),o=!1;if(!a){var[i,s]=Q.node(u,r);if(i&&D(i,s)){var[B]=Q.parent(u,s);o=B&&u.markableVoid(B)}}if(a||o)uI.setNodes(u,{[e]:t},{match:D,split:!0,voids:!0});else{var l=h(h({},Q.marks(u)||{}),{},{[e]:t});u.marks=l,C.get(u)||u.onChange()}}},deleteBackward(e){var{selection:t}=u;t&&uA.isCollapsed(t)&&uI.delete(u,{unit:e,reverse:!0})},deleteForward(e){var{selection:t}=u;t&&uA.isCollapsed(t)&&uI.delete(u,{unit:e})},deleteFragment(e){var{selection:t}=u;t&&uA.isExpanded(t)&&uI.delete(u,{reverse:"backward"===e})},getFragment(){var{selection:e}=u;return e?ur.fragment(u,e):[]},insertBreak(){uI.splitNodes(u,{always:!0})},insertSoftBreak(){uI.splitNodes(u,{always:!0})},insertFragment(e){uI.insertFragment(u,e)},insertNode(e){uI.insertNodes(u,e)},insertText(e){var{selection:t,marks:r}=u;if(t){if(r){var n=h({text:e},r);uI.insertNodes(u,n)}else uI.insertText(u,e);u.marks=null}},normalizeNode(e){var[t,r]=e;if(!uy.isText(t)){if(Z.isElement(t)&&0===t.children.length){uI.insertNodes(u,{text:""},{at:r.concat(0),voids:!0});return}for(var n=!Q.isEditor(t)&&Z.isElement(t)&&(u.isInline(t)||0===t.children.length||uy.isText(t.children[0])||u.isInline(t.children[0])),D=0,a=0;a{if(!uy.isText(e))return!1;var[r,n]=Q.parent(u,t);return!u.isVoid(r)||u.markableVoid(r)},n=uA.isExpanded(t),D=!1;if(!n){var[a,o]=Q.node(u,t);if(a&&r(a,o)){var[i]=Q.parent(u,o);D=i&&u.markableVoid(i)}}if(n||D)uI.unsetNodes(u,e,{match:r,split:!0,voids:!0});else{var s=h({},Q.marks(u)||{});delete s[e],u.marks=s,C.get(u)||u.onChange()}}},getDirtyPaths(u){switch(u.type){case"insert_text":case"remove_text":case"set_node":var{path:e}=u;return uo.levels(e);case"insert_node":var{node:t,path:r}=u;return[...uo.levels(r),...uy.isText(t)?[]:Array.from(ur.nodes(t),u=>{var[,e]=u;return r.concat(e)})];case"merge_node":var{path:n}=u;return[...uo.ancestors(n),uo.previous(n)];case"move_node":var{path:D,newPath:a}=u;if(uo.equals(D,a))return[];var o=[],i=[];for(var s of uo.ancestors(D)){var C=uo.transform(s,u);o.push(C)}for(var B of uo.ancestors(a)){var l=uo.transform(B,u);i.push(l)}var c=i[i.length-1],f=a[a.length-1];return[...o,...i,c.concat(f)];case"remove_node":var{path:A}=u;return[...uo.ancestors(A)];case"split_node":var{path:h}=u;return[...uo.levels(h),uo.next(h)];default:return[]}}};return u};function d(u,e){if(null==u)return{};var t,r,n=function(u,e){if(null==u)return{};var t,r,n={},D=Object.keys(u);for(r=0;r=0||(n[t]=u[t]);return n}(u,e);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(u);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(u,t)&&(n[t]=u[t])}return n}var p=function(u){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=!e,r=e?x(u):u,D=n.None,a=n.None,o=0,i=null;for(var s of r){var C,B,l,c,f,A,h,F,E=s.codePointAt(0);if(!E)break;var d=I(s,E);if([D,a]=t?[a,d]:[d,D],(D&n.ZWJ)!=0&&(a&n.ExtPict)!=0&&!(t?M(u.substring(0,o)):M(u.substring(0,u.length-o)))||(D&n.RI)!=0&&(a&n.RI)!=0&&!(i=null!==i?!i:!!t||$(u.substring(0,u.length-o)))||D!==n.None&&a!==n.None&&function(u,e){return -1===z.findIndex(t=>(u&t[0])!=0&&(e&t[1])!=0)}(D,a))break;o+=s.length}return o||1},v=/\s/,g=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\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\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\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]/,m=/['\u2018\u2019]/,y=function(u){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=0,r=!1;u.length>0;){var n=p(u,e),[D,a]=b(u,n,e);if(w(D,a,e))r=!0,t+=n;else if(r)break;else t+=n;u=a}return t},b=(u,e,t)=>{if(t){var r=u.length-e;return[u.slice(r,u.length),u.slice(0,r)]}return[u.slice(0,e),u.slice(e)]},w=function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(v.test(e))return!1;if(m.test(e)){var n=p(t,r),[D,a]=b(t,n,r);if(u(D,a,r))return!0}return!g.test(e)},x=function*(u){for(var e=u.length-1,t=0;tu>=55296&&u<=56319,P=u=>u>=56320&&u<=57343;(r=n||(n={}))[r.None=0]="None",r[r.Extend=1]="Extend",r[r.ZWJ=2]="ZWJ",r[r.RI=4]="RI",r[r.Prepend=8]="Prepend",r[r.SpacingMark=16]="SpacingMark",r[r.L=32]="L",r[r.V=64]="V",r[r.T=128]="T",r[r.LV=256]="LV",r[r.LVT=512]="LVT",r[r.ExtPict=1024]="ExtPict",r[r.Any=2048]="Any";var k=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,j=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,N=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,_=/^[\u1100-\u115F\uA960-\uA97C]$/,T=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,R=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,S=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,q=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,V=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,I=(u,e)=>{var t=n.Any;return -1!==u.search(k)&&(t|=n.Extend),8205===e&&(t|=n.ZWJ),e>=127462&&e<=127487&&(t|=n.RI),-1!==u.search(j)&&(t|=n.Prepend),-1!==u.search(N)&&(t|=n.SpacingMark),-1!==u.search(_)&&(t|=n.L),-1!==u.search(T)&&(t|=n.V),-1!==u.search(R)&&(t|=n.T),-1!==u.search(S)&&(t|=n.LV),-1!==u.search(q)&&(t|=n.LVT),-1!==u.search(V)&&(t|=n.ExtPict),t},z=[[n.L,n.L|n.V|n.LV|n.LVT],[n.LV|n.V,n.V|n.T],[n.LVT|n.T,n.T],[n.Any,n.Extend|n.ZWJ],[n.Any,n.SpacingMark],[n.Prepend,n.Any],[n.ZWJ,n.ExtPict],[n.RI,n.RI]],L=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,M=u=>-1!==u.search(L),W=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,$=u=>{var e=u.match(W);return null!==e&&e[0].length/2%2==1},J=u=>(0,D.P)(u)&&ur.isNodeList(u.children)&&!Q.isEditor(u),Z={isAncestor:u=>(0,D.P)(u)&&ur.isNodeList(u.children),isElement:J,isElementList:u=>Array.isArray(u)&&u.every(u=>Z.isElement(u)),isElementProps:u=>void 0!==u.children,isElementType:function(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return J(u)&&u[t]===e},matches(u,e){for(var t in e)if("children"!==t&&u[t]!==e[t])return!1;return!0}},U=["text"],Y=["text"];function G(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function H(u){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},{voids:t=!1,mode:r="lowest",at:n=u.selection,match:D}=e;if(n){var a=Q.path(u,n);for(var[o,i]of Q.levels(u,{at:a,voids:t,match:D,reverse:"lowest"===r})){if(uy.isText(o))return;if(uA.isRange(n)){if(uo.isAncestor(i,n.anchor.path)&&uo.isAncestor(i,n.focus.path))return[o,i]}else if(!uo.equals(a,i))return[o,i]}}},addMark(u,e,t){u.addMark(e,t)},after(u,e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Q.point(u,e,{edge:"end"}),D=Q.end(u,[]),{distance:a=1}=r,o=0;for(var i of Q.positions(u,H(H({},r),{},{at:{anchor:n,focus:D}}))){if(o>a)break;0!==o&&(t=i),o++}return t},before(u,e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Q.start(u,[]),D=Q.point(u,e,{edge:"start"}),{distance:a=1}=r,o=0;for(var i of Q.positions(u,H(H({},r),{},{at:{anchor:n,focus:D},reverse:!0}))){if(o>a)break;0!==o&&(t=i),o++}return t},deleteBackward(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:t="character"}=e;u.deleteBackward(t)},deleteForward(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:t="character"}=e;u.deleteForward(t)},deleteFragment(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:t="forward"}=e;u.deleteFragment(t)},edges:(u,e)=>[Q.start(u,e),Q.end(u,e)],end:(u,e)=>Q.point(u,e,{edge:"end"}),first(u,e){var t=Q.path(u,e,{edge:"start"});return Q.node(u,t)},fragment(u,e){var t=Q.range(u,e);return ur.fragment(u,t)},hasBlocks:(u,e)=>e.children.some(e=>Q.isBlock(u,e)),hasInlines:(u,e)=>e.children.some(e=>uy.isText(e)||Q.isInline(u,e)),hasTexts:(u,e)=>e.children.every(u=>uy.isText(u)),insertBreak(u){u.insertBreak()},insertSoftBreak(u){u.insertSoftBreak()},insertFragment(u,e){u.insertFragment(e)},insertNode(u,e){u.insertNode(e)},insertText(u,e){u.insertText(e)},isBlock:(u,e)=>Z.isElement(e)&&!u.isInline(e),isEditor(u){var e=K.get(u);if(void 0!==e)return e;if(!(0,D.P)(u))return!1;var t="function"==typeof u.addMark&&"function"==typeof u.apply&&"function"==typeof u.deleteBackward&&"function"==typeof u.deleteForward&&"function"==typeof u.deleteFragment&&"function"==typeof u.insertBreak&&"function"==typeof u.insertSoftBreak&&"function"==typeof u.insertFragment&&"function"==typeof u.insertNode&&"function"==typeof u.insertText&&"function"==typeof u.isInline&&"function"==typeof u.isVoid&&"function"==typeof u.normalizeNode&&"function"==typeof u.onChange&&"function"==typeof u.removeMark&&"function"==typeof u.getDirtyPaths&&(null===u.marks||(0,D.P)(u.marks))&&(null===u.selection||uA.isRange(u.selection))&&ur.isNodeList(u.children)&&ua.isOperationList(u.operations);return K.set(u,t),t},isEnd(u,e,t){var r=Q.end(u,t);return uB.equals(e,r)},isEdge:(u,e,t)=>Q.isStart(u,e,t)||Q.isEnd(u,e,t),isEmpty(u,e){var{children:t}=e,[r]=t;return 0===t.length||1===t.length&&uy.isText(r)&&""===r.text&&!u.isVoid(e)},isInline:(u,e)=>Z.isElement(e)&&u.isInline(e),isNormalizing(u){var e=B.get(u);return void 0===e||e},isStart(u,e,t){if(0!==e.offset)return!1;var r=Q.start(u,t);return uB.equals(e,r)},isVoid:(u,e)=>Z.isElement(e)&&u.isVoid(e),last(u,e){var t=Q.path(u,e,{edge:"end"});return Q.node(u,t)},leaf(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Q.path(u,e,t);return[ur.leaf(u,r),r]},*levels(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,reverse:r=!1,voids:n=!1}=e,{match:D}=e;if(null==D&&(D=()=>!0),t){var a=[],o=Q.path(u,t);for(var[i,s]of ur.levels(u,o))if(D(i,s)&&(a.push([i,s]),!n&&Q.isVoid(u,i)))break;r&&a.reverse(),yield*a}},marks(u){var{marks:e,selection:t}=u;if(!t)return null;if(e)return e;if(uA.isExpanded(t)){var[r]=Q.nodes(u,{match:uy.isText});if(!r)return{};var[n]=r;return d(n,U)}var{anchor:D}=t,{path:a}=D,[o]=Q.leaf(u,a);if(0===D.offset){var i=Q.previous(u,{at:a,match:uy.isText});if(!Q.above(u,{match:e=>Q.isVoid(u,e)&&u.markableVoid(e)})){var s=Q.above(u,{match:e=>Q.isBlock(u,e)});if(i&&s){var[C,B]=i,[,l]=s;uo.isAncestor(l,B)&&(o=C)}}}return d(o,Y)},next(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:t="lowest",voids:r=!1}=e,{match:n,at:D=u.selection}=e;if(D){var a=Q.after(u,D,{voids:r});if(a){var[,o]=Q.last(u,[]),i=[a.path,o];if(uo.isPath(D)&&0===D.length)throw Error("Cannot get the next node from the root node!");if(null==n){if(uo.isPath(D)){var[s]=Q.parent(u,D);n=u=>s.children.includes(u)}else n=()=>!0}var[C]=Q.nodes(u,{at:i,match:n,mode:t,voids:r});return C}}},node(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Q.path(u,e,t);return[ur.get(u,r),r]},*nodes(u){var e,t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:D=u.selection,mode:a="all",universal:o=!1,reverse:i=!1,voids:s=!1}=n,{match:C}=n;if(C||(C=()=>!0),D){if(X.isSpan(D))e=D[0],t=D[1];else{var B=Q.path(u,D,{edge:"start"}),l=Q.path(u,D,{edge:"end"});e=i?l:B,t=i?B:l}var c=ur.nodes(u,{reverse:i,from:e,to:t,pass(e){var[t]=e;return!s&&Q.isVoid(u,t)}}),f=[];for(var[A,h]of c){var F=r&&0===uo.compare(h,r[1]);if("highest"!==a||!F){if(!C(A,h)){if(o&&!F&&uy.isText(A))return;continue}if("lowest"===a&&F){r=[A,h];continue}var E="lowest"===a?r:[A,h];E&&(o?f.push(E):yield E),r=[A,h]}}"lowest"===a&&r&&(o?f.push(r):yield r),o&&(yield*f)}},normalize(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:t=!1}=e,r=u=>i.get(u)||[],n=u=>s.get(u)||new Set,D=u=>{var e=r(u).pop(),t=e.join(",");return n(u).delete(t),e};if(Q.isNormalizing(u)){if(t){var a=Array.from(ur.nodes(u),u=>{var[,e]=u;return e}),o=new Set(a.map(u=>u.join(",")));i.set(u,a),s.set(u,o)}0!==r(u).length&&Q.withoutNormalizing(u,()=>{for(var e of r(u))if(ur.has(u,e)){var t=Q.node(u,e),[n,a]=t;Z.isElement(n)&&0===n.children.length&&u.normalizeNode(t)}for(var o=42*r(u).length,i=0;0!==r(u).length;){if(i>o)throw Error("\n Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var s=D(u);if(ur.has(u,s)){var C=Q.node(u,s);u.normalizeNode(C)}i++}})}},parent(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Q.path(u,e,t),n=uo.parent(r);return Q.node(u,n)},path(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:n}=t;if(uo.isPath(e)){if("start"===n){var[,D]=ur.first(u,e);e=D}else if("end"===n){var[,a]=ur.last(u,e);e=a}}return uA.isRange(e)&&(e="start"===n?uA.start(e):"end"===n?uA.end(e):uo.common(e.anchor.path,e.focus.path)),uB.isPoint(e)&&(e=e.path),null!=r&&(e=e.slice(0,r)),e},hasPath:(u,e)=>ur.has(u,e),pathRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return Q.pathRefs(u).delete(n),n.current=null,e}};return Q.pathRefs(u).add(n),n},pathRefs(u){var e=l.get(u);return e||(e=new Set,l.set(u,e)),e},point(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=t;if(uo.isPath(e)){if("end"===r){var n,[,D]=ur.last(u,e);n=D}else{var[,a]=ur.first(u,e);n=a}var o=ur.get(u,n);if(!uy.isText(o))throw Error("Cannot get the ".concat(r," point in the node at path [").concat(e,"] because it has no ").concat(r," text node."));return{path:n,offset:"end"===r?o.text.length:0}}if(uA.isRange(e)){var[i,s]=uA.edges(e);return"start"===r?i:s}return e},pointRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return Q.pointRefs(u).delete(n),n.current=null,e}};return Q.pointRefs(u).add(n),n},pointRefs(u){var e=c.get(u);return e||(e=new Set,c.set(u,e)),e},*positions(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,unit:r="offset",reverse:n=!1,voids:D=!1}=e;if(t){var a=Q.range(u,t),[o,i]=uA.edges(a),s=n?i:o,C=!1,B="",l=0,c=0,f=0;for(var[A,h]of Q.nodes(u,{at:t,reverse:n,voids:D})){if(Z.isElement(A)){if(!D&&u.isVoid(A)){yield Q.start(u,h);continue}if(u.isInline(A))continue;if(Q.hasInlines(u,A)){var F=uo.isAncestor(h,i.path)?i:Q.end(u,h),E=uo.isAncestor(h,o.path)?o:Q.start(u,h);B=Q.string(u,{anchor:E,focus:F},{voids:D}),C=!0}}if(uy.isText(A)){var d,v=uo.equals(h,s.path);for(v?(c=n?s.offset:A.text.length-s.offset,f=s.offset):(c=A.text.length,f=n?c:0),(v||C||"offset"===r)&&(yield{path:h,offset:f},C=!1);;){if(0===l){if(""===B)break;d=B,l="character"===r?p(d,n):"word"===r?y(d,n):"line"===r||"block"===r?d.length:1,B=b(B,l,n)[1]}if(f=n?f-l:f+l,(c-=l)<0){l=-c;break}l=0,yield{path:h,offset:f}}}}}},previous(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:t="lowest",voids:r=!1}=e,{match:n,at:D=u.selection}=e;if(D){var a=Q.before(u,D,{voids:r});if(a){var[,o]=Q.first(u,[]),i=[a.path,o];if(uo.isPath(D)&&0===D.length)throw Error("Cannot get the previous node from the root node!");if(null==n){if(uo.isPath(D)){var[s]=Q.parent(u,D);n=u=>s.children.includes(u)}else n=()=>!0}var[C]=Q.nodes(u,{reverse:!0,at:i,match:n,mode:t,voids:r});return C}}},range:(u,e,t)=>uA.isRange(e)&&!t?e:{anchor:Q.start(u,e),focus:Q.end(u,t||e)},rangeRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return Q.rangeRefs(u).delete(n),n.current=null,e}};return Q.rangeRefs(u).add(n),n},rangeRefs(u){var e=f.get(u);return e||(e=new Set,f.set(u,e)),e},removeMark(u,e){u.removeMark(e)},setNormalizing(u,e){B.set(u,e)},start:(u,e)=>Q.point(u,e,{edge:"start"}),string(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=t,n=Q.range(u,e),[D,a]=uA.edges(n),o="";for(var[i,s]of Q.nodes(u,{at:n,match:uy.isText,voids:r})){var C=i.text;uo.equals(s,a.path)&&(C=C.slice(0,a.offset)),uo.equals(s,D.path)&&(C=C.slice(D.offset)),o+=C}return o},unhangRange(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=t,[n,D]=uA.edges(e);if(0!==n.offset||0!==D.offset||uA.isCollapsed(e)||uo.hasPrevious(D.path))return e;var a=Q.above(u,{at:D,match:e=>Q.isBlock(u,e),voids:r}),o=a?a[1]:[],i={anchor:Q.start(u,n),focus:D},s=!0;for(var[C,B]of Q.nodes(u,{at:i,match:uy.isText,reverse:!0,voids:r})){if(s){s=!1;continue}if(""!==C.text||uo.isBefore(B,o)){D={path:B,offset:C.text.length};break}}return{anchor:n,focus:D}},void(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Q.above(u,H(H({},e),{},{match:e=>Q.isVoid(u,e)}))},withoutNormalizing(u,e){var t=Q.isNormalizing(u);Q.setNormalizing(u,!1);try{e()}finally{Q.setNormalizing(u,t)}Q.normalize(u)}},X={isSpan:u=>Array.isArray(u)&&2===u.length&&u.every(uo.isPath)},uu=["children"],ue=["text"],ut=new WeakMap,ur={ancestor(u,e){var t=ur.get(u,e);if(uy.isText(t))throw Error("Cannot get the ancestor node at path [".concat(e,"] because it refers to a text node instead: ").concat(uE.stringify(t)));return t},*ancestors(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of uo.ancestors(e,t))yield[ur.ancestor(u,r),r]},child(u,e){if(uy.isText(u))throw Error("Cannot get the child of a text node: ".concat(uE.stringify(u)));var t=u.children[e];if(null==t)throw Error("Cannot get child at index `".concat(e,"` in node: ").concat(uE.stringify(u)));return t},*children(u,e){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=t,n=ur.ancestor(u,e),{children:D}=n,a=r?D.length-1:0;r?a>=0:a1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ur.nodes(u,e))0!==r.length&&(yield[t,r])},*elements(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ur.nodes(u,e))Z.isElement(t)&&(yield[t,r])},extractProps(u){if(Z.isAncestor(u)){var e=d(u,uu);return e}var e=d(u,ue);return e},first(u,e){for(var t=e.slice(),r=ur.get(u,t);r&&!uy.isText(r)&&0!==r.children.length;)r=r.children[0],t.push(0);return[r,t]},fragment(u,e){if(uy.isText(u))throw Error("Cannot get a fragment starting from a root text node: ".concat(uE.stringify(u)));return(0,a.Uy)({children:u.children},u=>{var[t,r]=uA.edges(e);for(var[,n]of ur.nodes(u,{reverse:!0,pass(u){var[,t]=u;return!uA.includes(e,t)}})){if(!uA.includes(e,n)){var D=ur.parent(u,n),a=n[n.length-1];D.children.splice(a,1)}if(uo.equals(n,r.path)){var o=ur.leaf(u,n);o.text=o.text.slice(0,r.offset)}if(uo.equals(n,t.path)){var i=ur.leaf(u,n);i.text=i.text.slice(t.offset)}}Q.isEditor(u)&&(u.selection=null)}).children},get(u,e){for(var t=u,r=0;ruy.isText(u)||Z.isElement(u)||Q.isEditor(u),isNodeList(u){if(!Array.isArray(u))return!1;var e=ut.get(u);if(void 0!==e)return e;var t=u.every(u=>ur.isNode(u));return ut.set(u,t),t},last(u,e){for(var t=e.slice(),r=ur.get(u,t);r&&!uy.isText(r)&&0!==r.children.length;){var n=r.children.length-1;r=r.children[n],t.push(n)}return[r,t]},leaf(u,e){var t=ur.get(u,e);if(!uy.isText(t))throw Error("Cannot get the leaf node at path [".concat(e,"] because it refers to a non-leaf node: ").concat(uE.stringify(t)));return t},*levels(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of uo.levels(e,t))yield[ur.get(u,r),r]},matches:(u,e)=>Z.isElement(u)&&Z.isElementProps(e)&&Z.matches(u,e)||uy.isText(u)&&uy.isTextProps(e)&&uy.matches(u,e),*nodes(u){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:t,reverse:r=!1}=e,{from:n=[],to:D}=e,a=new Set,o=[],i=u;!(D&&(r?uo.isBefore(o,D):uo.isAfter(o,D)));){if(a.has(i)||(yield[i,o]),!a.has(i)&&!uy.isText(i)&&0!==i.children.length&&(null==t||!1===t([i,o]))){a.add(i);var s=r?i.children.length-1:0;uo.isAncestor(o,n)&&(s=n[o.length]),o=o.concat(s),i=ur.get(u,o);continue}if(0===o.length)break;if(!r){var C=uo.next(o);if(ur.has(u,C)){o=C,i=ur.get(u,o);continue}}if(r&&0!==o[o.length-1]){o=uo.previous(o),i=ur.get(u,o);continue}o=uo.parent(o),i=ur.get(u,o),a.add(i)}},parent(u,e){var t=uo.parent(e),r=ur.get(u,t);if(uy.isText(r))throw Error("Cannot get the parent of path [".concat(e,"] because it does not exist in the root."));return r},string:u=>uy.isText(u)?u.text:u.children.map(ur.string).join(""),*texts(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ur.nodes(u,e))uy.isText(t)&&(yield[t,r])}};function un(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function uD(u){for(var e=1;eua.isOperation(u)&&u.type.endsWith("_node"),isOperation(u){if(!(0,D.P)(u))return!1;switch(u.type){case"insert_node":case"remove_node":return uo.isPath(u.path)&&ur.isNode(u.node);case"insert_text":case"remove_text":return"number"==typeof u.offset&&"string"==typeof u.text&&uo.isPath(u.path);case"merge_node":return"number"==typeof u.position&&uo.isPath(u.path)&&(0,D.P)(u.properties);case"move_node":return uo.isPath(u.path)&&uo.isPath(u.newPath);case"set_node":return uo.isPath(u.path)&&(0,D.P)(u.properties)&&(0,D.P)(u.newProperties);case"set_selection":return null===u.properties&&uA.isRange(u.newProperties)||null===u.newProperties&&uA.isRange(u.properties)||(0,D.P)(u.properties)&&(0,D.P)(u.newProperties);case"split_node":return uo.isPath(u.path)&&"number"==typeof u.position&&(0,D.P)(u.properties);default:return!1}},isOperationList:u=>Array.isArray(u)&&u.every(u=>ua.isOperation(u)),isSelectionOperation:u=>ua.isOperation(u)&&u.type.endsWith("_selection"),isTextOperation:u=>ua.isOperation(u)&&u.type.endsWith("_text"),inverse(u){switch(u.type){case"insert_node":return uD(uD({},u),{},{type:"remove_node"});case"insert_text":return uD(uD({},u),{},{type:"remove_text"});case"merge_node":return uD(uD({},u),{},{type:"split_node",path:uo.previous(u.path)});case"move_node":var{newPath:e,path:t}=u;if(uo.equals(e,t))return u;if(uo.isSibling(t,e))return uD(uD({},u),{},{path:e,newPath:t});var r=uo.transform(t,u),n=uo.transform(uo.next(t),u);return uD(uD({},u),{},{path:r,newPath:n});case"remove_node":return uD(uD({},u),{},{type:"insert_node"});case"remove_text":return uD(uD({},u),{},{type:"insert_text"});case"set_node":var{properties:D,newProperties:a}=u;return uD(uD({},u),{},{properties:a,newProperties:D});case"set_selection":var{properties:o,newProperties:i}=u;if(null==o)return uD(uD({},u),{},{properties:i,newProperties:null});if(null==i)return uD(uD({},u),{},{properties:null,newProperties:o});return uD(uD({},u),{},{properties:i,newProperties:o});case"split_node":return uD(uD({},u),{},{type:"merge_node",path:uo.next(u.path)})}}},uo={ancestors(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,r=uo.levels(u,e);return t?r.slice(1):r.slice(0,-1)},common(u,e){for(var t=[],r=0;re[r])return 1}return 0},endsAfter(u,e){var t=u.length-1,r=u.slice(0,t),n=e.slice(0,t),D=u[t],a=e[t];return uo.equals(r,n)&&D>a},endsAt(u,e){var t=u.length,r=u.slice(0,t),n=e.slice(0,t);return uo.equals(r,n)},endsBefore(u,e){var t=u.length-1,r=u.slice(0,t),n=e.slice(0,t),D=u[t],a=e[t];return uo.equals(r,n)&&Du.length===e.length&&u.every((u,t)=>u===e[t]),hasPrevious:u=>u[u.length-1]>0,isAfter:(u,e)=>1===uo.compare(u,e),isAncestor:(u,e)=>u.length-1===uo.compare(u,e),isChild:(u,e)=>u.length===e.length+1&&0===uo.compare(u,e),isCommon:(u,e)=>u.length<=e.length&&0===uo.compare(u,e),isDescendant:(u,e)=>u.length>e.length&&0===uo.compare(u,e),isParent:(u,e)=>u.length+1===e.length&&0===uo.compare(u,e),isPath:u=>Array.isArray(u)&&(0===u.length||"number"==typeof u[0]),isSibling(u,e){if(u.length!==e.length)return!1;var t=u.slice(0,-1),r=e.slice(0,-1);return u[u.length-1]!==e[e.length-1]&&uo.equals(t,r)},levels(u){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,r=[],n=0;n<=u.length;n++)r.push(u.slice(0,n));return t&&r.reverse(),r},next(u){if(0===u.length)throw Error("Cannot get the next path of a root path [".concat(u,"], because it has no next index."));var e=u[u.length-1];return u.slice(0,-1).concat(e+1)},operationCanTransformPath(u){switch(u.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(u){if(0===u.length)throw Error("Cannot get the parent path of the root path [".concat(u,"]."));return u.slice(0,-1)},previous(u){if(0===u.length)throw Error("Cannot get the previous path of a root path [".concat(u,"], because it has no previous index."));var e=u[u.length-1];if(e<=0)throw Error("Cannot get the previous path of a first child path [".concat(u,"] because it would result in a negative index."));return u.slice(0,-1).concat(e-1)},relative(u,e){if(!uo.isAncestor(e,u)&&!uo.equals(u,e))throw Error("Cannot get the relative path of [".concat(u,"] inside ancestor [").concat(e,"], because it is not above or equal to the path."));return u.slice(e.length)},transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!u)return null;var r=[...u],{affinity:n="forward"}=t;if(0===u.length)return r;switch(e.type){case"insert_node":var{path:D}=e;(uo.equals(D,r)||uo.endsBefore(D,r)||uo.isAncestor(D,r))&&(r[D.length-1]+=1);break;case"remove_node":var{path:a}=e;if(uo.equals(a,r)||uo.isAncestor(a,r))return null;uo.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:o,position:i}=e;uo.equals(o,r)||uo.endsBefore(o,r)?r[o.length-1]-=1:uo.isAncestor(o,r)&&(r[o.length-1]-=1,r[o.length]+=i);break;case"split_node":var{path:s,position:C}=e;if(uo.equals(s,r)){if("forward"===n)r[r.length-1]+=1;else if("backward"!==n)return null}else uo.endsBefore(s,r)?r[s.length-1]+=1:uo.isAncestor(s,r)&&u[s.length]>=C&&(r[s.length-1]+=1,r[s.length]-=C);break;case"move_node":var{path:B,newPath:l}=e;if(uo.equals(B,l))break;if(uo.isAncestor(B,r)||uo.equals(B,r)){var c=l.slice();return uo.endsBefore(B,l)&&B.lengthe.offset?1:0:t},isAfter:(u,e)=>1===uB.compare(u,e),isBefore:(u,e)=>-1===uB.compare(u,e),equals:(u,e)=>u.offset===e.offset&&uo.equals(u.path,e.path),isPoint:u=>(0,D.P)(u)&&"number"==typeof u.offset&&uo.isPath(u.path),transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,a.Uy)(u,u=>{if(null===u)return null;var{affinity:r="forward"}=t,{path:n,offset:D}=u;switch(e.type){case"insert_node":case"move_node":u.path=uo.transform(n,e,t);break;case"insert_text":uo.equals(e.path,n)&&(e.offset1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,{anchor:r,focus:n}=u;return uA.isBackward(u)===t?[r,n]:[n,r]},end(u){var[,e]=uA.edges(u);return e},equals:(u,e)=>uB.equals(u.anchor,e.anchor)&&uB.equals(u.focus,e.focus),includes(u,e){if(uA.isRange(e)){if(uA.includes(u,e.anchor)||uA.includes(u,e.focus))return!0;var[t,r]=uA.edges(u),[n,D]=uA.edges(e);return uB.isBefore(t,n)&&uB.isAfter(r,D)}var[a,o]=uA.edges(u),i=!1,s=!1;return uB.isPoint(e)?(i=uB.compare(e,a)>=0,s=0>=uB.compare(e,o)):(i=uo.compare(e,a.path)>=0,s=0>=uo.compare(e,o.path)),i&&s},intersection(u,e){var t=d(u,uc),[r,n]=uA.edges(u),[D,a]=uA.edges(e),i=uB.isBefore(r,D)?D:r,s=uB.isBefore(n,a)?n:a;return uB.isBefore(s,i)?null:function(u){for(var e=1;e!uA.isCollapsed(u),isForward:u=>!uA.isBackward(u),isRange:u=>(0,D.P)(u)&&uB.isPoint(u.anchor)&&uB.isPoint(u.focus),*points(u){yield[u.anchor,"anchor"],yield[u.focus,"focus"]},start(u){var[e]=uA.edges(u);return e},transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,a.Uy)(u,u=>{if(null===u)return null;var r,n,{affinity:D="inward"}=t;if("inward"===D){var a=uA.isCollapsed(u);uA.isForward(u)?(r="forward",n=a?r:"backward"):(r="backward",n=a?r:"forward")}else"outward"===D?uA.isForward(u)?(r="backward",n="forward"):(r="forward",n="backward"):(r=D,n=D);var o=uB.transform(u.anchor,e,{affinity:r}),i=uB.transform(u.focus,e,{affinity:n});if(!o||!i)return null;u.anchor=o,u.focus=i})}},uh={transform(u,e){var{current:t,affinity:r}=u;if(null!=t){var n=uA.transform(t,e,{affinity:r});u.current=n,null==n&&u.unref()}}},uF=void 0,uE={setScrubber(u){uF=u},stringify:u=>JSON.stringify(u,uF)},ud=(u,e)=>{for(var t in u){var r=u[t],n=e[t];if((0,D.P)(r)&&(0,D.P)(n)){if(!ud(r,n))return!1}else if(Array.isArray(r)&&Array.isArray(n)){if(r.length!==n.length)return!1;for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=t;return ud(r?d(u,up):u,r?d(e,up):e)},isText:u=>(0,D.P)(u)&&"string"==typeof u.text,isTextList:u=>Array.isArray(u)&&u.every(u=>uy.isText(u)),isTextProps:u=>void 0!==u.text,matches(u,e){for(var t in e)if("text"!==t&&(!u.hasOwnProperty(t)||u[t]!==e[t]))return!1;return!0},decorations(u,e){var t=[um({},u)];for(var r of e){var n=d(r,uv),[D,a]=uA.edges(r),o=[],i=0,s=D.offset,C=a.offset;for(var B of t){var{length:l}=B.text,c=i;if(i+=l,s<=c&&i<=C){Object.assign(B,n),o.push(B);continue}if(s!==C&&(s===i||C===c)||s>i||Cc){var E=s-c;A=um(um({},f),{},{text:f.text.slice(0,E)}),f=um(um({},f),{},{text:f.text.slice(E)})}Object.assign(f,n),A&&o.push(A),o.push(f),h&&o.push(h)}t=o}return t}};function ub(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function uw(u){for(var e=1;e{switch(t.type){case"insert_node":var{path:r,node:n}=t,D=ur.parent(u,r),a=r[r.length-1];if(a>D.children.length)throw Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(D.children.splice(a,0,n),e)for(var[o,i]of uA.points(e))e[i]=uB.transform(o,t);break;case"insert_text":var{path:s,offset:C,text:B}=t;if(0===B.length)break;var l=ur.leaf(u,s),c=l.text.slice(0,C),f=l.text.slice(C);if(l.text=c+B+f,e)for(var[A,h]of uA.points(e))e[h]=uB.transform(A,t);break;case"merge_node":var{path:F}=t,E=ur.get(u,F),d=uo.previous(F),p=ur.get(u,d),v=ur.parent(u,F),g=F[F.length-1];if(uy.isText(E)&&uy.isText(p))p.text+=E.text;else if(uy.isText(E)||uy.isText(p))throw Error('Cannot apply a "merge_node" operation at path ['.concat(F,"] to nodes of different interfaces: ").concat(uE.stringify(E)," ").concat(uE.stringify(p)));else p.children.push(...E.children);if(v.children.splice(g,1),e)for(var[m,y]of uA.points(e))e[y]=uB.transform(m,t);break;case"move_node":var{path:b,newPath:w}=t;if(uo.isAncestor(b,w))throw Error("Cannot move a path [".concat(b,"] to new path [").concat(w,"] because the destination is inside itself."));var x=ur.get(u,b),O=ur.parent(u,b),P=b[b.length-1];O.children.splice(P,1);var k=uo.transform(b,t),j=ur.get(u,uo.parent(k)),N=k[k.length-1];if(j.children.splice(N,0,x),e)for(var[_,T]of uA.points(e))e[T]=uB.transform(_,t);break;case"remove_node":var{path:R}=t,S=R[R.length-1];if(ur.parent(u,R).children.splice(S,1),e)for(var[q,V]of uA.points(e)){var I=uB.transform(q,t);if(null!=e&&null!=I)e[V]=I;else{var z=void 0,L=void 0;for(var[M,W]of ur.texts(u))if(-1===uo.compare(W,R))z=[M,W];else{L=[M,W];break}var $=!1;z&&L&&($=uo.equals(L[1],R)?!uo.hasPrevious(L[1]):uo.common(z[1],R).lengthZ.isElement(e)?!!Q.isVoid(u,e)||1===e.children.length&&uN(u,e.children[0]):!Q.isEditor(e),u_=(u,e)=>{if(uA.isCollapsed(e))return e.anchor;var[,t]=uA.edges(e),r=Q.pointRef(u,t);return uI.delete(u,{at:e}),r.unref()},uT=(u,e)=>{var[t]=Q.node(u,e);return u=>u===t};function uR(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function uS(u){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:{};Q.withoutNormalizing(u,()=>{var{hanging:r=!1,voids:n=!1,mode:D="lowest"}=t,{at:a,match:o,select:i}=t;if(ur.isNode(e)&&(e=[e]),0!==e.length){var[s]=e;if(a||(a=u.selection?u.selection:u.children.length>0?Q.end(u,[]):[0],i=!0),null==i&&(i=!1),uA.isRange(a)){if(r||(a=Q.unhangRange(u,a,{voids:n})),uA.isCollapsed(a))a=a.anchor;else{var[,C]=uA.edges(a),B=Q.pointRef(u,C);uI.delete(u,{at:a}),a=B.unref()}}if(uB.isPoint(a)){null==o&&(o=uy.isText(s)?u=>uy.isText(u):u.isInline(s)?e=>uy.isText(e)||Q.isInline(u,e):e=>Q.isBlock(u,e));var[l]=Q.nodes(u,{at:a.path,match:o,mode:D,voids:n});if(!l)return;var[,c]=l,f=Q.pathRef(u,c),A=Q.isEnd(u,a,c);uI.splitNodes(u,{at:a,match:o,mode:D,voids:n});var h=f.unref();a=A?uo.next(h):h}var F=uo.parent(a),E=a[a.length-1];if(!(!n&&Q.void(u,{at:F}))){for(var d of e){var p=F.concat(E);E++,u.apply({type:"insert_node",path:p,node:d}),a=uo.next(a)}if(a=uo.previous(a),i){var v=Q.end(u,a);v&&uI.select(u,v)}}}})},liftNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q.withoutNormalizing(u,()=>{var{at:t=u.selection,mode:r="lowest",voids:n=!1}=e,{match:D}=e;if(null==D&&(D=uo.isPath(t)?uT(u,t):e=>Q.isBlock(u,e)),t)for(var a of Array.from(Q.nodes(u,{at:t,match:D,mode:r,voids:n}),e=>{var[,t]=e;return Q.pathRef(u,t)})){var o=a.unref();if(o.length<2)throw Error("Cannot lift node at a path [".concat(o,"] because it has a depth of less than `2`."));var[i,s]=Q.node(u,uo.parent(o)),C=o[o.length-1],{length:B}=i.children;if(1===B){var l=uo.next(s);uI.moveNodes(u,{at:o,to:l,voids:n}),uI.removeNodes(u,{at:s,voids:n})}else if(0===C)uI.moveNodes(u,{at:o,to:s,voids:n});else if(C===B-1){var c=uo.next(s);uI.moveNodes(u,{at:o,to:c,voids:n})}else{var f=uo.next(o),A=uo.next(s);uI.splitNodes(u,{at:f,voids:n}),uI.moveNodes(u,{at:o,to:A,voids:n})}}})},mergeNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q.withoutNormalizing(u,()=>{var t,r,{match:n,at:D=u.selection}=e,{hanging:a=!1,voids:o=!1,mode:i="lowest"}=e;if(D){if(null==n){if(uo.isPath(D)){var[s]=Q.parent(u,D);n=u=>s.children.includes(u)}else n=e=>Q.isBlock(u,e)}if(!a&&uA.isRange(D)&&(D=Q.unhangRange(u,D,{voids:o})),uA.isRange(D)){if(uA.isCollapsed(D))D=D.anchor;else{var[,C]=uA.edges(D),B=Q.pointRef(u,C);uI.delete(u,{at:D}),D=B.unref(),null==e.at&&uI.select(u,D)}}var[l]=Q.nodes(u,{at:D,match:n,voids:o,mode:i}),c=Q.previous(u,{at:D,match:n,voids:o,mode:i});if(l&&c){var[f,A]=l,[h,F]=c;if(0!==A.length&&0!==F.length){var E=uo.next(F),p=uo.common(A,F),v=uo.isSibling(A,F),g=Array.from(Q.levels(u,{at:A}),u=>{var[e]=u;return e}).slice(p.length).slice(0,-1),m=Q.above(u,{at:A,mode:"highest",match:e=>g.includes(e)&&uN(u,e)}),y=m&&Q.pathRef(u,m[1]);if(uy.isText(f)&&uy.isText(h)){var b=d(f,uO);r=h.text.length,t=b}else if(Z.isElement(f)&&Z.isElement(h)){var b=d(f,uP);r=h.children.length,t=b}else throw Error("Cannot merge the node at path [".concat(A,"] with the previous sibling because it is not the same kind: ").concat(uE.stringify(f)," ").concat(uE.stringify(h)));v||uI.moveNodes(u,{at:A,to:E,voids:o}),y&&uI.removeNodes(u,{at:y.current,voids:o}),Z.isElement(h)&&Q.isEmpty(u,h)||uy.isText(h)&&""===h.text&&0!==F[F.length-1]?uI.removeNodes(u,{at:F,voids:o}):u.apply({type:"merge_node",path:E,position:r,properties:t}),y&&y.unref()}}}})},moveNodes(u,e){Q.withoutNormalizing(u,()=>{var{to:t,at:r=u.selection,mode:n="lowest",voids:D=!1}=e,{match:a}=e;if(r){null==a&&(a=uo.isPath(r)?uT(u,r):e=>Q.isBlock(u,e));var o=Q.pathRef(u,t);for(var i of Array.from(Q.nodes(u,{at:r,match:a,mode:n,voids:D}),e=>{var[,t]=e;return Q.pathRef(u,t)})){var s=i.unref(),C=o.current;0!==s.length&&u.apply({type:"move_node",path:s,newPath:C}),o.current&&uo.isSibling(C,s)&&uo.isAfter(C,s)&&(o.current=uo.next(o.current))}o.unref()}})},removeNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q.withoutNormalizing(u,()=>{var{hanging:t=!1,voids:r=!1,mode:n="lowest"}=e,{at:D=u.selection,match:a}=e;if(D)for(var o of(null==a&&(a=uo.isPath(D)?uT(u,D):e=>Q.isBlock(u,e)),!t&&uA.isRange(D)&&(D=Q.unhangRange(u,D,{voids:r})),Array.from(Q.nodes(u,{at:D,match:a,mode:n,voids:r}),e=>{var[,t]=e;return Q.pathRef(u,t)}))){var i=o.unref();if(i){var[s]=Q.node(u,i);u.apply({type:"remove_node",path:i,node:s})}}})},setNodes(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Q.withoutNormalizing(u,()=>{var{match:r,at:n=u.selection,compare:D,merge:a}=t,{hanging:o=!1,mode:i="lowest",split:s=!1,voids:C=!1}=t;if(n){if(null==r&&(r=uo.isPath(n)?uT(u,n):e=>Q.isBlock(u,e)),!o&&uA.isRange(n)&&(n=Q.unhangRange(u,n,{voids:C})),s&&uA.isRange(n)){if(uA.isCollapsed(n)&&Q.leaf(u,n.anchor)[0].text.length>0)return;var B=Q.rangeRef(u,n,{affinity:"inward"}),[l,c]=uA.edges(n),f="lowest"===i?"lowest":"highest",A=Q.isEnd(u,c,c.path);uI.splitNodes(u,{at:c,match:r,mode:f,voids:C,always:!A});var h=Q.isStart(u,l,l.path);uI.splitNodes(u,{at:l,match:r,mode:f,voids:C,always:!h}),n=B.unref(),null==t.at&&uI.select(u,n)}for(var[F,E]of(D||(D=(u,e)=>u!==e),Q.nodes(u,{at:n,match:r,mode:i,voids:C}))){var d={},p={};if(0!==E.length){var v=!1;for(var g in e)"children"!==g&&"text"!==g&&D(e[g],F[g])&&(v=!0,F.hasOwnProperty(g)&&(d[g]=F[g]),a?null!=e[g]&&(p[g]=a(F[g],e[g])):null!=e[g]&&(p[g]=e[g]));v&&u.apply({type:"set_node",path:E,properties:d,newProperties:p})}}}})},splitNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q.withoutNormalizing(u,()=>{var t,{mode:r="lowest",voids:n=!1}=e,{match:D,at:a=u.selection,height:o=0,always:i=!1}=e;if(null==D&&(D=e=>Q.isBlock(u,e)),uA.isRange(a)&&(a=u_(u,a)),uo.isPath(a)){var s=a,C=Q.point(u,s),[B]=Q.parent(u,s);D=u=>u===B,o=C.path.length-s.length+1,a=C,i=!0}if(a){var l=Q.pointRef(u,a,{affinity:"backward"});try{var[c]=Q.nodes(u,{at:a,match:D,mode:r,voids:n});if(!c)return;var f=Q.void(u,{at:a,mode:"highest"});if(!n&&f){var[A,h]=f;if(Z.isElement(A)&&u.isInline(A)){var F=Q.after(u,h);if(!F){var E=uo.next(h);uI.insertNodes(u,{text:""},{at:E,voids:n}),F=Q.point(u,E)}a=F,i=!0}o=a.path.length-h.length+1,i=!0}t=Q.pointRef(u,a);var d=a.path.length-o,[,p]=c,v=a.path.slice(0,d),g=0===o?a.offset:a.path[d]+0;for(var[m,y]of Q.levels(u,{at:v,reverse:!0,voids:n})){var b=!1;if(y.length2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(e)||(e=[e]);var r={};for(var n of e)r[n]=null;uI.setNodes(u,r,t)},unwrapNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q.withoutNormalizing(u,()=>{var{mode:t="lowest",split:r=!1,voids:n=!1}=e,{at:D=u.selection,match:a}=e;if(D){null==a&&(a=uo.isPath(D)?uT(u,D):e=>Q.isBlock(u,e)),uo.isPath(D)&&(D=Q.range(u,D));var o=uA.isRange(D)?Q.rangeRef(u,D):null;for(var i of Array.from(Q.nodes(u,{at:D,match:a,mode:t,voids:n}),e=>{var[,t]=e;return Q.pathRef(u,t)}).reverse())!function(e){var t=e.unref(),[D]=Q.node(u,t),a=Q.range(u,t);r&&o&&(a=uA.intersection(o.current,a)),uI.liftNodes(u,{at:a,match:u=>Z.isAncestor(D)&&D.children.includes(u),voids:n})}(i);o&&o.unref()}})},wrapNodes(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Q.withoutNormalizing(u,()=>{var{mode:r="lowest",split:n=!1,voids:D=!1}=t,{match:a,at:o=u.selection}=t;if(o){if(null==a&&(a=uo.isPath(o)?uT(u,o):u.isInline(e)?e=>Q.isInline(u,e)||uy.isText(e):e=>Q.isBlock(u,e)),n&&uA.isRange(o)){var[i,s]=uA.edges(o),C=Q.rangeRef(u,o,{affinity:"inward"});uI.splitNodes(u,{at:s,match:a,voids:D}),uI.splitNodes(u,{at:i,match:a,voids:D}),o=C.unref(),null==t.at&&uI.select(u,o)}for(var[,B]of Array.from(Q.nodes(u,{at:o,match:u.isInline(e)?e=>Q.isBlock(u,e):u=>Q.isEditor(u),mode:"lowest",voids:D}))){var l=uA.isRange(o)?uA.intersection(o,Q.range(u,B)):o;if(l){var c=Array.from(Q.nodes(u,{at:l,match:a,mode:r,voids:D}));if(c.length>0&&"continue"===function(){var[t]=c,r=c[c.length-1],[,n]=t,[,a]=r;if(0===n.length&&0===a.length)return"continue";var o=uo.equals(n,a)?uo.parent(n):uo.common(n,a),i=Q.range(u,n,a),[s]=Q.node(u,o),C=o.length+1,B=uo.next(a.slice(0,C)),l=uj(uj({},e),{},{children:[]});uI.insertNodes(u,l,{at:B,voids:D}),uI.moveNodes(u,{at:i,match:u=>Z.isAncestor(s)&&s.children.includes(u),to:B.concat(0),voids:D})}())continue}}}})}}),{collapse(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:t="anchor"}=e,{selection:r}=u;if(r){if("anchor"===t)uI.select(u,r.anchor);else if("focus"===t)uI.select(u,r.focus);else if("start"===t){var[n]=uA.edges(r);uI.select(u,n)}else if("end"===t){var[,D]=uA.edges(r);uI.select(u,D)}}},deselect(u){var{selection:e}=u;e&&u.apply({type:"set_selection",properties:e,newProperties:null})},move(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:t}=u,{distance:r=1,unit:n="character",reverse:D=!1}=e,{edge:a=null}=e;if(t){"start"===a&&(a=uA.isBackward(t)?"focus":"anchor"),"end"===a&&(a=uA.isBackward(t)?"anchor":"focus");var{anchor:o,focus:i}=t,s={distance:r,unit:n},C={};if(null==a||"anchor"===a){var B=D?Q.before(u,o,s):Q.after(u,o,s);B&&(C.anchor=B)}if(null==a||"focus"===a){var l=D?Q.before(u,i,s):Q.after(u,i,s);l&&(C.focus=l)}uI.setSelection(u,C)}},select(u,e){var{selection:t}=u;if(e=Q.range(u,e),t){uI.setSelection(u,e);return}if(!uA.isRange(e))throw Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(uE.stringify(e)));u.apply({type:"set_selection",properties:t,newProperties:e})},setPoint(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=u,{edge:n="both"}=t;if(r){"start"===n&&(n=uA.isBackward(r)?"focus":"anchor"),"end"===n&&(n=uA.isBackward(r)?"anchor":"focus");var{anchor:D,focus:a}=r,o="anchor"===n?D:a;uI.setSelection(u,{["anchor"===n?"anchor":"focus"]:uS(uS({},o),e)})}},setSelection(u,e){var{selection:t}=u,r={},n={};if(t){for(var D in e)("anchor"!==D||null==e.anchor||uB.equals(e.anchor,t.anchor))&&("focus"!==D||null==e.focus||uB.equals(e.focus,t.focus))&&("anchor"===D||"focus"===D||e[D]===t[D])||(r[D]=t[D],n[D]=e[D]);Object.keys(r).length>0&&u.apply({type:"set_selection",properties:r,newProperties:n})}}}),{delete(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q.withoutNormalizing(u,()=>{var t,{reverse:r=!1,unit:n="character",distance:D=1,voids:a=!1}=e,{at:o=u.selection,hanging:i=!1}=e;if(o){var s=!1;if(uA.isRange(o)&&uA.isCollapsed(o)&&(s=!0,o=o.anchor),uB.isPoint(o)){var C=Q.void(u,{at:o,mode:"highest"});if(!a&&C){var[,B]=C;o=B}else{var l={unit:n,distance:D},c=r?Q.before(u,o,l)||Q.start(u,[]):Q.after(u,o,l)||Q.end(u,[]);o={anchor:o,focus:c},i=!0}}if(uo.isPath(o)){uI.removeNodes(u,{at:o,voids:a});return}if(!uA.isCollapsed(o)){if(!i){var[,f]=uA.edges(o),A=Q.end(u,[]);uB.equals(f,A)||(o=Q.unhangRange(u,o,{voids:a}))}var[h,F]=uA.edges(o),E=Q.above(u,{match:e=>Q.isBlock(u,e),at:h,voids:a}),d=Q.above(u,{match:e=>Q.isBlock(u,e),at:F,voids:a}),p=E&&d&&!uo.equals(E[1],d[1]),v=uo.equals(h.path,F.path),g=a?null:Q.void(u,{at:h,mode:"highest"}),m=a?null:Q.void(u,{at:F,mode:"highest"});if(g){var y=Q.before(u,h);y&&E&&uo.isAncestor(E[1],y.path)&&(h=y)}if(m){var b=Q.after(u,F);b&&d&&uo.isAncestor(d[1],b.path)&&(F=b)}var w=[];for(var x of Q.nodes(u,{at:o,voids:a})){var[O,P]=x;(!t||0!==uo.compare(P,t))&&(!a&&Q.isVoid(u,O)||!uo.isCommon(P,h.path)&&!uo.isCommon(P,F.path))&&(w.push(x),t=P)}var k=Array.from(w,e=>{var[,t]=e;return Q.pathRef(u,t)}),j=Q.pointRef(u,h),N=Q.pointRef(u,F),_="";if(!v&&!g){var T=j.current,[R]=Q.leaf(u,T),{path:S}=T,{offset:q}=h,V=R.text.slice(q);V.length>0&&(u.apply({type:"remove_text",path:S,offset:q,text:V}),_=V)}if(k.reverse().map(u=>u.unref()).filter(u=>null!==u).forEach(e=>uI.removeNodes(u,{at:e,voids:a})),!m){var I=N.current,[z]=Q.leaf(u,I),{path:L}=I,M=v?h.offset:0,W=z.text.slice(M,F.offset);W.length>0&&(u.apply({type:"remove_text",path:L,offset:M,text:W}),_=W)}!v&&p&&N.current&&j.current&&uI.mergeNodes(u,{at:N.current,hanging:!0,voids:a}),s&&r&&"character"===n&&_.length>1&&_.match(/[\u0E00-\u0E7F]+/)&&uI.insertText(u,_.slice(0,_.length-D));var $=j.unref(),J=N.unref(),Z=r?$||J:J||$;null==e.at&&Z&&uI.select(u,Z)}}})},insertFragment(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Q.withoutNormalizing(u,()=>{var r,{hanging:n=!1,voids:D=!1}=t,{at:a=u.selection}=t;if(e.length&&a){if(uA.isRange(a)){if(n||(a=Q.unhangRange(u,a,{voids:D})),uA.isCollapsed(a))a=a.anchor;else{var[,o]=uA.edges(a);if(!D&&Q.void(u,{at:o}))return;var i=Q.pointRef(u,o);uI.delete(u,{at:a}),a=i.unref()}}else uo.isPath(a)&&(a=Q.start(u,a));if(!(!D&&Q.void(u,{at:a}))){var s=Q.above(u,{at:a,match:e=>Q.isInline(u,e),mode:"highest",voids:D});if(s){var[,C]=s;Q.isEnd(u,a,C)?a=Q.after(u,C):Q.isStart(u,a,C)&&(a=Q.before(u,C))}var[,B]=Q.above(u,{match:e=>Q.isBlock(u,e),at:a,voids:D}),l=Q.isStart(u,a,B),c=Q.isEnd(u,a,B),f=l&&c,A=!l||l&&c,h=!c,[,F]=ur.first({children:e},[]),[,E]=ur.last({children:e},[]),d=[],p=e=>{var[t,r]=e;return 0!==r.length&&(!!f||!(A&&uo.isAncestor(r,F)&&Z.isElement(t)&&!u.isVoid(t)&&!u.isInline(t)||h&&uo.isAncestor(r,E)&&Z.isElement(t)&&!u.isVoid(t)&&!u.isInline(t)))};for(var v of ur.nodes({children:e},{pass:p}))p(v)&&d.push(v);var g=[],m=[],y=[],b=!0,w=!1;for(var[x]of d)Z.isElement(x)&&!u.isInline(x)?(b=!1,w=!0,m.push(x)):b?g.push(x):y.push(x);var[O]=Q.nodes(u,{at:a,match:e=>uy.isText(e)||Q.isInline(u,e),mode:"highest",voids:D}),[,P]=O,k=Q.isStart(u,a,P),j=Q.isEnd(u,a,P),N=Q.pathRef(u,c&&!y.length?uo.next(B):B),_=Q.pathRef(u,j?uo.next(P):P);uI.splitNodes(u,{at:a,match:e=>w?Q.isBlock(u,e):uy.isText(e)||Q.isInline(u,e),mode:w?"lowest":"highest",always:w&&(!l||g.length>0)&&(!c||y.length>0),voids:D});var T=Q.pathRef(u,!k||k&&j?uo.next(P):P);if(uI.insertNodes(u,g,{at:T.current,match:e=>uy.isText(e)||Q.isInline(u,e),mode:"highest",voids:D}),f&&!g.length&&m.length&&!y.length&&uI.delete(u,{at:B,voids:D}),uI.insertNodes(u,m,{at:N.current,match:e=>Q.isBlock(u,e),mode:"lowest",voids:D}),uI.insertNodes(u,y,{at:_.current,match:e=>uy.isText(e)||Q.isInline(u,e),mode:"highest",voids:D}),!t.at&&(y.length>0&&_.current?r=uo.previous(_.current):m.length>0&&N.current?r=uo.previous(N.current):T.current&&(r=uo.previous(T.current)),r)){var R=Q.end(u,r);uI.select(u,R)}T.unref(),N.unref(),_.unref()}}})},insertText(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Q.withoutNormalizing(u,()=>{var{voids:r=!1}=t,{at:n=u.selection}=t;if(n){if(uo.isPath(n)&&(n=Q.range(u,n)),uA.isRange(n)){if(uA.isCollapsed(n))n=n.anchor;else{var D=uA.end(n);if(!r&&Q.void(u,{at:D}))return;var a=uA.start(n),o=Q.pointRef(u,a),i=Q.pointRef(u,D);uI.delete(u,{at:n,voids:r});var s=o.unref(),C=i.unref();n=s||C,uI.setSelection(u,{anchor:n,focus:n})}}if(!(!r&&Q.void(u,{at:n}))){var{path:B,offset:l}=n;e.length>0&&u.apply({type:"insert_text",path:B,offset:l,text:e})}}})}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/d3048c20-b61d7fb6003662e6.js b/static/web/_next/static/chunks/d3048c20-b61d7fb6003662e6.js deleted file mode 100644 index 5b434d8fc..000000000 --- a/static/web/_next/static/chunks/d3048c20-b61d7fb6003662e6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1272],{77493:function(u,e,t){t.d(e,{E9:function(){return uC},Jh:function(){return F},ML:function(){return K},NB:function(){return ut},W_:function(){return J},YR:function(){return uV},e6:function(){return uf},o4:function(){return uF},xv:function(){return um},y$:function(){return ua}});var r,n,D=t(45628),a=t(12902);function o(u,e,t){return e in u?Object.defineProperty(u,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):u[e]=t,u}var i=new WeakMap,s=new WeakMap,C=new WeakMap,B=new WeakMap,l=new WeakMap,c=new WeakMap,f=new WeakMap;function A(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function h(u){for(var e=1;e{var u={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,markableVoid:()=>!1,onChange(){},apply(e){for(var t of K.pathRefs(u))uo.transform(t,e);for(var r of K.pointRefs(u))uB.transform(r,e);for(var n of K.rangeRefs(u))uA.transform(n,e);var D,a,o=i.get(u)||[],B=s.get(u)||new Set,l=u=>{if(u){var e=u.join(",");a.has(e)||(a.add(e),D.push(u))}};if(ua.operationCanTransformPath(e))for(var c of(D=[],a=new Set,o))l(ua.transform(c,e));else D=o,a=B;for(var f of u.getDirtyPaths(e))l(f);i.set(u,D),s.set(u,a),uV.transform(u,e),u.operations.push(e),K.normalize(u),"set_selection"===e.type&&(u.marks=null),C.get(u)||(C.set(u,!0),Promise.resolve().then(()=>{C.set(u,!1),u.onChange(),u.operations=[]}))},addMark(e,t){var{selection:r,markableVoid:n}=u;if(r){var D=(e,t)=>{if(!um.isText(e))return!1;var[r,n]=K.parent(u,t);return!u.isVoid(r)||u.markableVoid(r)},a=uf.isExpanded(r),o=!1;if(!a){var[i,s]=K.node(u,r);if(i&&D(i,s)){var[B]=K.parent(u,s);o=B&&u.markableVoid(B)}}if(a||o)uV.setNodes(u,{[e]:t},{match:D,split:!0,voids:!0});else{var l=h(h({},K.marks(u)||{}),{},{[e]:t});u.marks=l,C.get(u)||u.onChange()}}},deleteBackward(e){var{selection:t}=u;t&&uf.isCollapsed(t)&&uV.delete(u,{unit:e,reverse:!0})},deleteForward(e){var{selection:t}=u;t&&uf.isCollapsed(t)&&uV.delete(u,{unit:e})},deleteFragment(e){var{selection:t}=u;t&&uf.isExpanded(t)&&uV.delete(u,{reverse:"backward"===e})},getFragment(){var{selection:e}=u;return e?ut.fragment(u,e):[]},insertBreak(){uV.splitNodes(u,{always:!0})},insertSoftBreak(){uV.splitNodes(u,{always:!0})},insertFragment(e){uV.insertFragment(u,e)},insertNode(e){uV.insertNodes(u,e)},insertText(e){var{selection:t,marks:r}=u;if(t){if(r){var n=h({text:e},r);uV.insertNodes(u,n)}else uV.insertText(u,e);u.marks=null}},normalizeNode(e){var[t,r]=e;if(!um.isText(t)){if(J.isElement(t)&&0===t.children.length){uV.insertNodes(u,{text:""},{at:r.concat(0),voids:!0});return}for(var n=!K.isEditor(t)&&J.isElement(t)&&(u.isInline(t)||0===t.children.length||um.isText(t.children[0])||u.isInline(t.children[0])),D=0,a=0;a{if(!um.isText(e))return!1;var[r,n]=K.parent(u,t);return!u.isVoid(r)||u.markableVoid(r)},n=uf.isExpanded(t),D=!1;if(!n){var[a,o]=K.node(u,t);if(a&&r(a,o)){var[i]=K.parent(u,o);D=i&&u.markableVoid(i)}}if(n||D)uV.unsetNodes(u,e,{match:r,split:!0,voids:!0});else{var s=h({},K.marks(u)||{});delete s[e],u.marks=s,C.get(u)||u.onChange()}}},getDirtyPaths(u){switch(u.type){case"insert_text":case"remove_text":case"set_node":var{path:e}=u;return ua.levels(e);case"insert_node":var{node:t,path:r}=u;return[...ua.levels(r),...um.isText(t)?[]:Array.from(ut.nodes(t),u=>{var[,e]=u;return r.concat(e)})];case"merge_node":var{path:n}=u;return[...ua.ancestors(n),ua.previous(n)];case"move_node":var{path:D,newPath:a}=u;if(ua.equals(D,a))return[];var o=[],i=[];for(var s of ua.ancestors(D)){var C=ua.transform(s,u);o.push(C)}for(var B of ua.ancestors(a)){var l=ua.transform(B,u);i.push(l)}var c=i[i.length-1],f=a[a.length-1];return[...o,...i,c.concat(f)];case"remove_node":var{path:A}=u;return[...ua.ancestors(A)];case"split_node":var{path:h}=u;return[...ua.levels(h),ua.next(h)];default:return[]}}};return u};function E(u,e){if(null==u)return{};var t,r,n=function(u,e){if(null==u)return{};var t,r,n={},D=Object.keys(u);for(r=0;r=0||(n[t]=u[t]);return n}(u,e);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(u);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(u,t)&&(n[t]=u[t])}return n}var d=function(u){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=!e,r=e?w(u):u,D=n.None,a=n.None,o=0,i=null;for(var s of r){var C,B,l,c,f,A,h,F,E=s.codePointAt(0);if(!E)break;var d=V(s,E);if([D,a]=t?[a,d]:[d,D],(D&n.ZWJ)!=0&&(a&n.ExtPict)!=0&&!(t?L(u.substring(0,o)):L(u.substring(0,u.length-o)))||(D&n.RI)!=0&&(a&n.RI)!=0&&!(i=null!==i?!i:!!t||W(u.substring(0,u.length-o)))||D!==n.None&&a!==n.None&&function(u,e){return -1===I.findIndex(t=>(u&t[0])!=0&&(e&t[1])!=0)}(D,a))break;o+=s.length}return o||1},p=/\s/,v=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\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\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\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]/,g=/['\u2018\u2019]/,m=function(u){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=0,r=!1;u.length>0;){var n=d(u,e),[D,a]=y(u,n,e);if(b(D,a,e))r=!0,t+=n;else if(r)break;else t+=n;u=a}return t},y=(u,e,t)=>{if(t){var r=u.length-e;return[u.slice(r,u.length),u.slice(0,r)]}return[u.slice(0,e),u.slice(e)]},b=function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(p.test(e))return!1;if(g.test(e)){var n=d(t,r),[D,a]=y(t,n,r);if(u(D,a,r))return!0}return!v.test(e)},w=function*(u){for(var e=u.length-1,t=0;tu>=55296&&u<=56319,O=u=>u>=56320&&u<=57343;(r=n||(n={}))[r.None=0]="None",r[r.Extend=1]="Extend",r[r.ZWJ=2]="ZWJ",r[r.RI=4]="RI",r[r.Prepend=8]="Prepend",r[r.SpacingMark=16]="SpacingMark",r[r.L=32]="L",r[r.V=64]="V",r[r.T=128]="T",r[r.LV=256]="LV",r[r.LVT=512]="LVT",r[r.ExtPict=1024]="ExtPict",r[r.Any=2048]="Any";var P=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,k=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,j=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,N=/^[\u1100-\u115F\uA960-\uA97C]$/,_=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,T=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,R=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,S=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,q=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,V=(u,e)=>{var t=n.Any;return -1!==u.search(P)&&(t|=n.Extend),8205===e&&(t|=n.ZWJ),e>=127462&&e<=127487&&(t|=n.RI),-1!==u.search(k)&&(t|=n.Prepend),-1!==u.search(j)&&(t|=n.SpacingMark),-1!==u.search(N)&&(t|=n.L),-1!==u.search(_)&&(t|=n.V),-1!==u.search(T)&&(t|=n.T),-1!==u.search(R)&&(t|=n.LV),-1!==u.search(S)&&(t|=n.LVT),-1!==u.search(q)&&(t|=n.ExtPict),t},I=[[n.L,n.L|n.V|n.LV|n.LVT],[n.LV|n.V,n.V|n.T],[n.LVT|n.T,n.T],[n.Any,n.Extend|n.ZWJ],[n.Any,n.SpacingMark],[n.Prepend,n.Any],[n.ZWJ,n.ExtPict],[n.RI,n.RI]],z=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,L=u=>-1!==u.search(z),M=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,W=u=>{var e=u.match(M);return null!==e&&e[0].length/2%2==1},$=u=>(0,D.P)(u)&&ut.isNodeList(u.children)&&!K.isEditor(u),J={isAncestor:u=>(0,D.P)(u)&&ut.isNodeList(u.children),isElement:$,isElementList:u=>Array.isArray(u)&&u.every(u=>J.isElement(u)),isElementProps:u=>void 0!==u.children,isElementType:function(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return $(u)&&u[t]===e},matches(u,e){for(var t in e)if("children"!==t&&u[t]!==e[t])return!1;return!0}},Z=["text"],U=["text"];function Y(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function G(u){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},{voids:t=!1,mode:r="lowest",at:n=u.selection,match:D}=e;if(n){var a=K.path(u,n);for(var[o,i]of K.levels(u,{at:a,voids:t,match:D,reverse:"lowest"===r})){if(um.isText(o))return;if(uf.isRange(n)){if(ua.isAncestor(i,n.anchor.path)&&ua.isAncestor(i,n.focus.path))return[o,i]}else if(!ua.equals(a,i))return[o,i]}}},addMark(u,e,t){u.addMark(e,t)},after(u,e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=K.point(u,e,{edge:"end"}),D=K.end(u,[]),{distance:a=1}=r,o=0;for(var i of K.positions(u,G(G({},r),{},{at:{anchor:n,focus:D}}))){if(o>a)break;0!==o&&(t=i),o++}return t},before(u,e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=K.start(u,[]),D=K.point(u,e,{edge:"start"}),{distance:a=1}=r,o=0;for(var i of K.positions(u,G(G({},r),{},{at:{anchor:n,focus:D},reverse:!0}))){if(o>a)break;0!==o&&(t=i),o++}return t},deleteBackward(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:t="character"}=e;u.deleteBackward(t)},deleteForward(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:t="character"}=e;u.deleteForward(t)},deleteFragment(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:t="forward"}=e;u.deleteFragment(t)},edges:(u,e)=>[K.start(u,e),K.end(u,e)],end:(u,e)=>K.point(u,e,{edge:"end"}),first(u,e){var t=K.path(u,e,{edge:"start"});return K.node(u,t)},fragment(u,e){var t=K.range(u,e);return ut.fragment(u,t)},hasBlocks:(u,e)=>e.children.some(e=>K.isBlock(u,e)),hasInlines:(u,e)=>e.children.some(e=>um.isText(e)||K.isInline(u,e)),hasTexts:(u,e)=>e.children.every(u=>um.isText(u)),insertBreak(u){u.insertBreak()},insertSoftBreak(u){u.insertSoftBreak()},insertFragment(u,e){u.insertFragment(e)},insertNode(u,e){u.insertNode(e)},insertText(u,e){u.insertText(e)},isBlock:(u,e)=>J.isElement(e)&&!u.isInline(e),isEditor(u){var e=H.get(u);if(void 0!==e)return e;if(!(0,D.P)(u))return!1;var t="function"==typeof u.addMark&&"function"==typeof u.apply&&"function"==typeof u.deleteBackward&&"function"==typeof u.deleteForward&&"function"==typeof u.deleteFragment&&"function"==typeof u.insertBreak&&"function"==typeof u.insertSoftBreak&&"function"==typeof u.insertFragment&&"function"==typeof u.insertNode&&"function"==typeof u.insertText&&"function"==typeof u.isInline&&"function"==typeof u.isVoid&&"function"==typeof u.normalizeNode&&"function"==typeof u.onChange&&"function"==typeof u.removeMark&&"function"==typeof u.getDirtyPaths&&(null===u.marks||(0,D.P)(u.marks))&&(null===u.selection||uf.isRange(u.selection))&&ut.isNodeList(u.children)&&uD.isOperationList(u.operations);return H.set(u,t),t},isEnd(u,e,t){var r=K.end(u,t);return uC.equals(e,r)},isEdge:(u,e,t)=>K.isStart(u,e,t)||K.isEnd(u,e,t),isEmpty(u,e){var{children:t}=e,[r]=t;return 0===t.length||1===t.length&&um.isText(r)&&""===r.text&&!u.isVoid(e)},isInline:(u,e)=>J.isElement(e)&&u.isInline(e),isNormalizing(u){var e=B.get(u);return void 0===e||e},isStart(u,e,t){if(0!==e.offset)return!1;var r=K.start(u,t);return uC.equals(e,r)},isVoid:(u,e)=>J.isElement(e)&&u.isVoid(e),last(u,e){var t=K.path(u,e,{edge:"end"});return K.node(u,t)},leaf(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t);return[ut.leaf(u,r),r]},*levels(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,reverse:r=!1,voids:n=!1}=e,{match:D}=e;if(null==D&&(D=()=>!0),t){var a=[],o=K.path(u,t);for(var[i,s]of ut.levels(u,o))if(D(i,s)&&(a.push([i,s]),!n&&K.isVoid(u,i)))break;r&&a.reverse(),yield*a}},marks(u){var{marks:e,selection:t}=u;if(!t)return null;if(e)return e;if(uf.isExpanded(t)){var[r]=K.nodes(u,{match:um.isText});if(!r)return{};var[n]=r;return E(n,Z)}var{anchor:D}=t,{path:a}=D,[o]=K.leaf(u,a);if(0===D.offset){var i=K.previous(u,{at:a,match:um.isText});if(!K.above(u,{match:e=>K.isVoid(u,e)&&u.markableVoid(e)})){var s=K.above(u,{match:e=>K.isBlock(u,e)});if(i&&s){var[C,B]=i,[,l]=s;ua.isAncestor(l,B)&&(o=C)}}}return E(o,U)},next(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:t="lowest",voids:r=!1}=e,{match:n,at:D=u.selection}=e;if(D){var a=K.after(u,D,{voids:r});if(a){var[,o]=K.last(u,[]),i=[a.path,o];if(ua.isPath(D)&&0===D.length)throw Error("Cannot get the next node from the root node!");if(null==n){if(ua.isPath(D)){var[s]=K.parent(u,D);n=u=>s.children.includes(u)}else n=()=>!0}var[C]=K.nodes(u,{at:i,match:n,mode:t,voids:r});return C}}},node(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t);return[ut.get(u,r),r]},*nodes(u){var e,t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:D=u.selection,mode:a="all",universal:o=!1,reverse:i=!1,voids:s=!1}=n,{match:C}=n;if(C||(C=()=>!0),D){if(Q.isSpan(D))e=D[0],t=D[1];else{var B=K.path(u,D,{edge:"start"}),l=K.path(u,D,{edge:"end"});e=i?l:B,t=i?B:l}var c=ut.nodes(u,{reverse:i,from:e,to:t,pass(e){var[t]=e;return!s&&K.isVoid(u,t)}}),f=[];for(var[A,h]of c){var F=r&&0===ua.compare(h,r[1]);if("highest"!==a||!F){if(!C(A,h)){if(o&&!F&&um.isText(A))return;continue}if("lowest"===a&&F){r=[A,h];continue}var E="lowest"===a?r:[A,h];E&&(o?f.push(E):yield E),r=[A,h]}}"lowest"===a&&r&&(o?f.push(r):yield r),o&&(yield*f)}},normalize(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:t=!1}=e,r=u=>i.get(u)||[],n=u=>s.get(u)||new Set,D=u=>{var e=r(u).pop(),t=e.join(",");return n(u).delete(t),e};if(K.isNormalizing(u)){if(t){var a=Array.from(ut.nodes(u),u=>{var[,e]=u;return e}),o=new Set(a.map(u=>u.join(",")));i.set(u,a),s.set(u,o)}0!==r(u).length&&K.withoutNormalizing(u,()=>{for(var e of r(u))if(ut.has(u,e)){var t=K.node(u,e),[n,a]=t;J.isElement(n)&&0===n.children.length&&u.normalizeNode(t)}for(var o=42*r(u).length,i=0;0!==r(u).length;){if(i>o)throw Error("\n Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var s=D(u);if(ut.has(u,s)){var C=K.node(u,s);u.normalizeNode(C)}i++}})}},parent(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t),n=ua.parent(r);return K.node(u,n)},path(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:n}=t;if(ua.isPath(e)){if("start"===n){var[,D]=ut.first(u,e);e=D}else if("end"===n){var[,a]=ut.last(u,e);e=a}}return uf.isRange(e)&&(e="start"===n?uf.start(e):"end"===n?uf.end(e):ua.common(e.anchor.path,e.focus.path)),uC.isPoint(e)&&(e=e.path),null!=r&&(e=e.slice(0,r)),e},hasPath:(u,e)=>ut.has(u,e),pathRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.pathRefs(u).delete(n),n.current=null,e}};return K.pathRefs(u).add(n),n},pathRefs(u){var e=l.get(u);return e||(e=new Set,l.set(u,e)),e},point(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=t;if(ua.isPath(e)){if("end"===r){var n,[,D]=ut.last(u,e);n=D}else{var[,a]=ut.first(u,e);n=a}var o=ut.get(u,n);if(!um.isText(o))throw Error("Cannot get the ".concat(r," point in the node at path [").concat(e,"] because it has no ").concat(r," text node."));return{path:n,offset:"end"===r?o.text.length:0}}if(uf.isRange(e)){var[i,s]=uf.edges(e);return"start"===r?i:s}return e},pointRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.pointRefs(u).delete(n),n.current=null,e}};return K.pointRefs(u).add(n),n},pointRefs(u){var e=c.get(u);return e||(e=new Set,c.set(u,e)),e},*positions(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,unit:r="offset",reverse:n=!1,voids:D=!1}=e;if(t){var a=K.range(u,t),[o,i]=uf.edges(a),s=n?i:o,C=!1,B="",l=0,c=0,f=0;for(var[A,h]of K.nodes(u,{at:t,reverse:n,voids:D})){if(J.isElement(A)){if(!D&&u.isVoid(A)){yield K.start(u,h);continue}if(u.isInline(A))continue;if(K.hasInlines(u,A)){var F=ua.isAncestor(h,i.path)?i:K.end(u,h),E=ua.isAncestor(h,o.path)?o:K.start(u,h);B=K.string(u,{anchor:E,focus:F},{voids:D}),C=!0}}if(um.isText(A)){var p,v=ua.equals(h,s.path);for(v?(c=n?s.offset:A.text.length-s.offset,f=s.offset):(c=A.text.length,f=n?c:0),(v||C||"offset"===r)&&(yield{path:h,offset:f},C=!1);;){if(0===l){if(""===B)break;p=B,l="character"===r?d(p,n):"word"===r?m(p,n):"line"===r||"block"===r?p.length:1,B=y(B,l,n)[1]}if(f=n?f-l:f+l,(c-=l)<0){l=-c;break}l=0,yield{path:h,offset:f}}}}}},previous(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:t="lowest",voids:r=!1}=e,{match:n,at:D=u.selection}=e;if(D){var a=K.before(u,D,{voids:r});if(a){var[,o]=K.first(u,[]),i=[a.path,o];if(ua.isPath(D)&&0===D.length)throw Error("Cannot get the previous node from the root node!");if(null==n){if(ua.isPath(D)){var[s]=K.parent(u,D);n=u=>s.children.includes(u)}else n=()=>!0}var[C]=K.nodes(u,{reverse:!0,at:i,match:n,mode:t,voids:r});return C}}},range:(u,e,t)=>uf.isRange(e)&&!t?e:{anchor:K.start(u,e),focus:K.end(u,t||e)},rangeRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.rangeRefs(u).delete(n),n.current=null,e}};return K.rangeRefs(u).add(n),n},rangeRefs(u){var e=f.get(u);return e||(e=new Set,f.set(u,e)),e},removeMark(u,e){u.removeMark(e)},setNormalizing(u,e){B.set(u,e)},start:(u,e)=>K.point(u,e,{edge:"start"}),string(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=t,n=K.range(u,e),[D,a]=uf.edges(n),o="";for(var[i,s]of K.nodes(u,{at:n,match:um.isText,voids:r})){var C=i.text;ua.equals(s,a.path)&&(C=C.slice(0,a.offset)),ua.equals(s,D.path)&&(C=C.slice(D.offset)),o+=C}return o},unhangRange(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=t,[n,D]=uf.edges(e);if(0!==n.offset||0!==D.offset||uf.isCollapsed(e)||ua.hasPrevious(D.path))return e;var a=K.above(u,{at:D,match:e=>K.isBlock(u,e),voids:r}),o=a?a[1]:[],i={anchor:K.start(u,n),focus:D},s=!0;for(var[C,B]of K.nodes(u,{at:i,match:um.isText,reverse:!0,voids:r})){if(s){s=!1;continue}if(""!==C.text||ua.isBefore(B,o)){D={path:B,offset:C.text.length};break}}return{anchor:n,focus:D}},void(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return K.above(u,G(G({},e),{},{match:e=>K.isVoid(u,e)}))},withoutNormalizing(u,e){var t=K.isNormalizing(u);K.setNormalizing(u,!1);try{e()}finally{K.setNormalizing(u,t)}K.normalize(u)}},Q={isSpan:u=>Array.isArray(u)&&2===u.length&&u.every(ua.isPath)},X=["children"],uu=["text"],ue=new WeakMap,ut={ancestor(u,e){var t=ut.get(u,e);if(um.isText(t))throw Error("Cannot get the ancestor node at path [".concat(e,"] because it refers to a text node instead: ").concat(uF.stringify(t)));return t},*ancestors(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of ua.ancestors(e,t))yield[ut.ancestor(u,r),r]},child(u,e){if(um.isText(u))throw Error("Cannot get the child of a text node: ".concat(uF.stringify(u)));var t=u.children[e];if(null==t)throw Error("Cannot get child at index `".concat(e,"` in node: ").concat(uF.stringify(u)));return t},*children(u,e){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=t,n=ut.ancestor(u,e),{children:D}=n,a=r?D.length-1:0;r?a>=0:a1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ut.nodes(u,e))0!==r.length&&(yield[t,r])},*elements(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ut.nodes(u,e))J.isElement(t)&&(yield[t,r])},extractProps(u){if(J.isAncestor(u)){var e=E(u,X);return e}var e=E(u,uu);return e},first(u,e){for(var t=e.slice(),r=ut.get(u,t);r&&!um.isText(r)&&0!==r.children.length;)r=r.children[0],t.push(0);return[r,t]},fragment(u,e){if(um.isText(u))throw Error("Cannot get a fragment starting from a root text node: ".concat(uF.stringify(u)));return(0,a.Uy)({children:u.children},u=>{var[t,r]=uf.edges(e);for(var[,n]of ut.nodes(u,{reverse:!0,pass(u){var[,t]=u;return!uf.includes(e,t)}})){if(!uf.includes(e,n)){var D=ut.parent(u,n),a=n[n.length-1];D.children.splice(a,1)}if(ua.equals(n,r.path)){var o=ut.leaf(u,n);o.text=o.text.slice(0,r.offset)}if(ua.equals(n,t.path)){var i=ut.leaf(u,n);i.text=i.text.slice(t.offset)}}K.isEditor(u)&&(u.selection=null)}).children},get(u,e){for(var t=u,r=0;rum.isText(u)||J.isElement(u)||K.isEditor(u),isNodeList(u){if(!Array.isArray(u))return!1;var e=ue.get(u);if(void 0!==e)return e;var t=u.every(u=>ut.isNode(u));return ue.set(u,t),t},last(u,e){for(var t=e.slice(),r=ut.get(u,t);r&&!um.isText(r)&&0!==r.children.length;){var n=r.children.length-1;r=r.children[n],t.push(n)}return[r,t]},leaf(u,e){var t=ut.get(u,e);if(!um.isText(t))throw Error("Cannot get the leaf node at path [".concat(e,"] because it refers to a non-leaf node: ").concat(uF.stringify(t)));return t},*levels(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of ua.levels(e,t))yield[ut.get(u,r),r]},matches:(u,e)=>J.isElement(u)&&J.isElementProps(e)&&J.matches(u,e)||um.isText(u)&&um.isTextProps(e)&&um.matches(u,e),*nodes(u){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:t,reverse:r=!1}=e,{from:n=[],to:D}=e,a=new Set,o=[],i=u;!(D&&(r?ua.isBefore(o,D):ua.isAfter(o,D)));){if(a.has(i)||(yield[i,o]),!a.has(i)&&!um.isText(i)&&0!==i.children.length&&(null==t||!1===t([i,o]))){a.add(i);var s=r?i.children.length-1:0;ua.isAncestor(o,n)&&(s=n[o.length]),o=o.concat(s),i=ut.get(u,o);continue}if(0===o.length)break;if(!r){var C=ua.next(o);if(ut.has(u,C)){o=C,i=ut.get(u,o);continue}}if(r&&0!==o[o.length-1]){o=ua.previous(o),i=ut.get(u,o);continue}o=ua.parent(o),i=ut.get(u,o),a.add(i)}},parent(u,e){var t=ua.parent(e),r=ut.get(u,t);if(um.isText(r))throw Error("Cannot get the parent of path [".concat(e,"] because it does not exist in the root."));return r},string:u=>um.isText(u)?u.text:u.children.map(ut.string).join(""),*texts(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ut.nodes(u,e))um.isText(t)&&(yield[t,r])}};function ur(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function un(u){for(var e=1;euD.isOperation(u)&&u.type.endsWith("_node"),isOperation(u){if(!(0,D.P)(u))return!1;switch(u.type){case"insert_node":case"remove_node":return ua.isPath(u.path)&&ut.isNode(u.node);case"insert_text":case"remove_text":return"number"==typeof u.offset&&"string"==typeof u.text&&ua.isPath(u.path);case"merge_node":return"number"==typeof u.position&&ua.isPath(u.path)&&(0,D.P)(u.properties);case"move_node":return ua.isPath(u.path)&&ua.isPath(u.newPath);case"set_node":return ua.isPath(u.path)&&(0,D.P)(u.properties)&&(0,D.P)(u.newProperties);case"set_selection":return null===u.properties&&uf.isRange(u.newProperties)||null===u.newProperties&&uf.isRange(u.properties)||(0,D.P)(u.properties)&&(0,D.P)(u.newProperties);case"split_node":return ua.isPath(u.path)&&"number"==typeof u.position&&(0,D.P)(u.properties);default:return!1}},isOperationList:u=>Array.isArray(u)&&u.every(u=>uD.isOperation(u)),isSelectionOperation:u=>uD.isOperation(u)&&u.type.endsWith("_selection"),isTextOperation:u=>uD.isOperation(u)&&u.type.endsWith("_text"),inverse(u){switch(u.type){case"insert_node":return un(un({},u),{},{type:"remove_node"});case"insert_text":return un(un({},u),{},{type:"remove_text"});case"merge_node":return un(un({},u),{},{type:"split_node",path:ua.previous(u.path)});case"move_node":var{newPath:e,path:t}=u;if(ua.equals(e,t))return u;if(ua.isSibling(t,e))return un(un({},u),{},{path:e,newPath:t});var r=ua.transform(t,u),n=ua.transform(ua.next(t),u);return un(un({},u),{},{path:r,newPath:n});case"remove_node":return un(un({},u),{},{type:"insert_node"});case"remove_text":return un(un({},u),{},{type:"insert_text"});case"set_node":var{properties:D,newProperties:a}=u;return un(un({},u),{},{properties:a,newProperties:D});case"set_selection":var{properties:o,newProperties:i}=u;if(null==o)return un(un({},u),{},{properties:i,newProperties:null});if(null==i)return un(un({},u),{},{properties:null,newProperties:o});return un(un({},u),{},{properties:i,newProperties:o});case"split_node":return un(un({},u),{},{type:"merge_node",path:ua.next(u.path)})}}},ua={ancestors(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,r=ua.levels(u,e);return t?r.slice(1):r.slice(0,-1)},common(u,e){for(var t=[],r=0;re[r])return 1}return 0},endsAfter(u,e){var t=u.length-1,r=u.slice(0,t),n=e.slice(0,t),D=u[t],a=e[t];return ua.equals(r,n)&&D>a},endsAt(u,e){var t=u.length,r=u.slice(0,t),n=e.slice(0,t);return ua.equals(r,n)},endsBefore(u,e){var t=u.length-1,r=u.slice(0,t),n=e.slice(0,t),D=u[t],a=e[t];return ua.equals(r,n)&&Du.length===e.length&&u.every((u,t)=>u===e[t]),hasPrevious:u=>u[u.length-1]>0,isAfter:(u,e)=>1===ua.compare(u,e),isAncestor:(u,e)=>u.length-1===ua.compare(u,e),isChild:(u,e)=>u.length===e.length+1&&0===ua.compare(u,e),isCommon:(u,e)=>u.length<=e.length&&0===ua.compare(u,e),isDescendant:(u,e)=>u.length>e.length&&0===ua.compare(u,e),isParent:(u,e)=>u.length+1===e.length&&0===ua.compare(u,e),isPath:u=>Array.isArray(u)&&(0===u.length||"number"==typeof u[0]),isSibling(u,e){if(u.length!==e.length)return!1;var t=u.slice(0,-1),r=e.slice(0,-1);return u[u.length-1]!==e[e.length-1]&&ua.equals(t,r)},levels(u){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,r=[],n=0;n<=u.length;n++)r.push(u.slice(0,n));return t&&r.reverse(),r},next(u){if(0===u.length)throw Error("Cannot get the next path of a root path [".concat(u,"], because it has no next index."));var e=u[u.length-1];return u.slice(0,-1).concat(e+1)},operationCanTransformPath(u){switch(u.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(u){if(0===u.length)throw Error("Cannot get the parent path of the root path [".concat(u,"]."));return u.slice(0,-1)},previous(u){if(0===u.length)throw Error("Cannot get the previous path of a root path [".concat(u,"], because it has no previous index."));var e=u[u.length-1];if(e<=0)throw Error("Cannot get the previous path of a first child path [".concat(u,"] because it would result in a negative index."));return u.slice(0,-1).concat(e-1)},relative(u,e){if(!ua.isAncestor(e,u)&&!ua.equals(u,e))throw Error("Cannot get the relative path of [".concat(u,"] inside ancestor [").concat(e,"], because it is not above or equal to the path."));return u.slice(e.length)},transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!u)return null;var r=[...u],{affinity:n="forward"}=t;if(0===u.length)return r;switch(e.type){case"insert_node":var{path:D}=e;(ua.equals(D,r)||ua.endsBefore(D,r)||ua.isAncestor(D,r))&&(r[D.length-1]+=1);break;case"remove_node":var{path:a}=e;if(ua.equals(a,r)||ua.isAncestor(a,r))return null;ua.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:o,position:i}=e;ua.equals(o,r)||ua.endsBefore(o,r)?r[o.length-1]-=1:ua.isAncestor(o,r)&&(r[o.length-1]-=1,r[o.length]+=i);break;case"split_node":var{path:s,position:C}=e;if(ua.equals(s,r)){if("forward"===n)r[r.length-1]+=1;else if("backward"!==n)return null}else ua.endsBefore(s,r)?r[s.length-1]+=1:ua.isAncestor(s,r)&&u[s.length]>=C&&(r[s.length-1]+=1,r[s.length]-=C);break;case"move_node":var{path:B,newPath:l}=e;if(ua.equals(B,l))break;if(ua.isAncestor(B,r)||ua.equals(B,r)){var c=l.slice();return ua.endsBefore(B,l)&&B.lengthe.offset?1:0:t},isAfter:(u,e)=>1===uC.compare(u,e),isBefore:(u,e)=>-1===uC.compare(u,e),equals:(u,e)=>u.offset===e.offset&&ua.equals(u.path,e.path),isPoint:u=>(0,D.P)(u)&&"number"==typeof u.offset&&ua.isPath(u.path),transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,a.Uy)(u,u=>{if(null===u)return null;var{affinity:r="forward"}=t,{path:n,offset:D}=u;switch(e.type){case"insert_node":case"move_node":u.path=ua.transform(n,e,t);break;case"insert_text":ua.equals(e.path,n)&&(e.offset1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,{anchor:r,focus:n}=u;return uf.isBackward(u)===t?[r,n]:[n,r]},end(u){var[,e]=uf.edges(u);return e},equals:(u,e)=>uC.equals(u.anchor,e.anchor)&&uC.equals(u.focus,e.focus),includes(u,e){if(uf.isRange(e)){if(uf.includes(u,e.anchor)||uf.includes(u,e.focus))return!0;var[t,r]=uf.edges(u),[n,D]=uf.edges(e);return uC.isBefore(t,n)&&uC.isAfter(r,D)}var[a,o]=uf.edges(u),i=!1,s=!1;return uC.isPoint(e)?(i=uC.compare(e,a)>=0,s=0>=uC.compare(e,o)):(i=ua.compare(e,a.path)>=0,s=0>=ua.compare(e,o.path)),i&&s},intersection(u,e){var t=E(u,ul),[r,n]=uf.edges(u),[D,a]=uf.edges(e),i=uC.isBefore(r,D)?D:r,s=uC.isBefore(n,a)?n:a;return uC.isBefore(s,i)?null:function(u){for(var e=1;e!uf.isCollapsed(u),isForward:u=>!uf.isBackward(u),isRange:u=>(0,D.P)(u)&&uC.isPoint(u.anchor)&&uC.isPoint(u.focus),*points(u){yield[u.anchor,"anchor"],yield[u.focus,"focus"]},start(u){var[e]=uf.edges(u);return e},transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,a.Uy)(u,u=>{if(null===u)return null;var r,n,{affinity:D="inward"}=t;if("inward"===D){var a=uf.isCollapsed(u);uf.isForward(u)?(r="forward",n=a?r:"backward"):(r="backward",n=a?r:"forward")}else"outward"===D?uf.isForward(u)?(r="backward",n="forward"):(r="forward",n="backward"):(r=D,n=D);var o=uC.transform(u.anchor,e,{affinity:r}),i=uC.transform(u.focus,e,{affinity:n});if(!o||!i)return null;u.anchor=o,u.focus=i})}},uA={transform(u,e){var{current:t,affinity:r}=u;if(null!=t){var n=uf.transform(t,e,{affinity:r});u.current=n,null==n&&u.unref()}}},uh=void 0,uF={setScrubber(u){uh=u},stringify:u=>JSON.stringify(u,uh)},uE=(u,e)=>{for(var t in u){var r=u[t],n=e[t];if((0,D.P)(r)&&(0,D.P)(n)){if(!uE(r,n))return!1}else if(Array.isArray(r)&&Array.isArray(n)){if(r.length!==n.length)return!1;for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=t;return uE(r?E(u,ud):u,r?E(e,ud):e)},isText:u=>(0,D.P)(u)&&"string"==typeof u.text,isTextList:u=>Array.isArray(u)&&u.every(u=>um.isText(u)),isTextProps:u=>void 0!==u.text,matches(u,e){for(var t in e)if("text"!==t&&(!u.hasOwnProperty(t)||u[t]!==e[t]))return!1;return!0},decorations(u,e){var t=[ug({},u)];for(var r of e){var n=E(r,up),[D,a]=uf.edges(r),o=[],i=0,s=D.offset,C=a.offset;for(var B of t){var{length:l}=B.text,c=i;if(i+=l,s<=c&&i<=C){Object.assign(B,n),o.push(B);continue}if(s!==C&&(s===i||C===c)||s>i||Cc){var d=s-c;A=ug(ug({},f),{},{text:f.text.slice(0,d)}),f=ug(ug({},f),{},{text:f.text.slice(d)})}Object.assign(f,n),A&&o.push(A),o.push(f),h&&o.push(h)}t=o}return t}};function uy(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function ub(u){for(var e=1;e{switch(t.type){case"insert_node":var{path:r,node:n}=t,D=ut.parent(u,r),a=r[r.length-1];if(a>D.children.length)throw Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(D.children.splice(a,0,n),e)for(var[o,i]of uf.points(e))e[i]=uC.transform(o,t);break;case"insert_text":var{path:s,offset:C,text:B}=t;if(0===B.length)break;var l=ut.leaf(u,s),c=l.text.slice(0,C),f=l.text.slice(C);if(l.text=c+B+f,e)for(var[A,h]of uf.points(e))e[h]=uC.transform(A,t);break;case"merge_node":var{path:F}=t,E=ut.get(u,F),d=ua.previous(F),p=ut.get(u,d),v=ut.parent(u,F),g=F[F.length-1];if(um.isText(E)&&um.isText(p))p.text+=E.text;else if(um.isText(E)||um.isText(p))throw Error('Cannot apply a "merge_node" operation at path ['.concat(F,"] to nodes of different interfaces: ").concat(uF.stringify(E)," ").concat(uF.stringify(p)));else p.children.push(...E.children);if(v.children.splice(g,1),e)for(var[m,y]of uf.points(e))e[y]=uC.transform(m,t);break;case"move_node":var{path:b,newPath:w}=t;if(ua.isAncestor(b,w))throw Error("Cannot move a path [".concat(b,"] to new path [").concat(w,"] because the destination is inside itself."));var x=ut.get(u,b),O=ut.parent(u,b),P=b[b.length-1];O.children.splice(P,1);var k=ua.transform(b,t),j=ut.get(u,ua.parent(k)),N=k[k.length-1];if(j.children.splice(N,0,x),e)for(var[_,T]of uf.points(e))e[T]=uC.transform(_,t);break;case"remove_node":var{path:R}=t,S=R[R.length-1];if(ut.parent(u,R).children.splice(S,1),e)for(var[q,V]of uf.points(e)){var I=uC.transform(q,t);if(null!=e&&null!=I)e[V]=I;else{var z=void 0,L=void 0;for(var[M,W]of ut.texts(u))if(-1===ua.compare(W,R))z=[M,W];else{L=[M,W];break}var $=!1;z&&L&&($=ua.equals(L[1],R)?!ua.hasPrevious(L[1]):ua.common(z[1],R).lengthJ.isElement(e)?!!K.isVoid(u,e)||1===e.children.length&&uj(u,e.children[0]):!K.isEditor(e),uN=(u,e)=>{if(uf.isCollapsed(e))return e.anchor;var[,t]=uf.edges(e),r=K.pointRef(u,t);return uV.delete(u,{at:e}),r.unref()},u_=(u,e)=>{var[t]=K.node(u,e);return u=>u===t};function uT(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function uR(u){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var{hanging:r=!1,voids:n=!1,mode:D="lowest"}=t,{at:a,match:o,select:i}=t;if(ut.isNode(e)&&(e=[e]),0!==e.length){var[s]=e;if(a||(a=u.selection?u.selection:u.children.length>0?K.end(u,[]):[0],i=!0),null==i&&(i=!1),uf.isRange(a)){if(r||(a=K.unhangRange(u,a,{voids:n})),uf.isCollapsed(a))a=a.anchor;else{var[,C]=uf.edges(a),B=K.pointRef(u,C);uV.delete(u,{at:a}),a=B.unref()}}if(uC.isPoint(a)){null==o&&(o=um.isText(s)?u=>um.isText(u):u.isInline(s)?e=>um.isText(e)||K.isInline(u,e):e=>K.isBlock(u,e));var[l]=K.nodes(u,{at:a.path,match:o,mode:D,voids:n});if(!l)return;var[,c]=l,f=K.pathRef(u,c),A=K.isEnd(u,a,c);uV.splitNodes(u,{at:a,match:o,mode:D,voids:n});var h=f.unref();a=A?ua.next(h):h}var F=ua.parent(a),E=a[a.length-1];if(!(!n&&K.void(u,{at:F}))){for(var d of e){var p=F.concat(E);E++,u.apply({type:"insert_node",path:p,node:d}),a=ua.next(a)}if(a=ua.previous(a),i){var v=K.end(u,a);v&&uV.select(u,v)}}}})},liftNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var{at:t=u.selection,mode:r="lowest",voids:n=!1}=e,{match:D}=e;if(null==D&&(D=ua.isPath(t)?u_(u,t):e=>K.isBlock(u,e)),t)for(var a of Array.from(K.nodes(u,{at:t,match:D,mode:r,voids:n}),e=>{var[,t]=e;return K.pathRef(u,t)})){var o=a.unref();if(o.length<2)throw Error("Cannot lift node at a path [".concat(o,"] because it has a depth of less than `2`."));var[i,s]=K.node(u,ua.parent(o)),C=o[o.length-1],{length:B}=i.children;if(1===B){var l=ua.next(s);uV.moveNodes(u,{at:o,to:l,voids:n}),uV.removeNodes(u,{at:s,voids:n})}else if(0===C)uV.moveNodes(u,{at:o,to:s,voids:n});else if(C===B-1){var c=ua.next(s);uV.moveNodes(u,{at:o,to:c,voids:n})}else{var f=ua.next(o),A=ua.next(s);uV.splitNodes(u,{at:f,voids:n}),uV.moveNodes(u,{at:o,to:A,voids:n})}}})},mergeNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var t,r,{match:n,at:D=u.selection}=e,{hanging:a=!1,voids:o=!1,mode:i="lowest"}=e;if(D){if(null==n){if(ua.isPath(D)){var[s]=K.parent(u,D);n=u=>s.children.includes(u)}else n=e=>K.isBlock(u,e)}if(!a&&uf.isRange(D)&&(D=K.unhangRange(u,D,{voids:o})),uf.isRange(D)){if(uf.isCollapsed(D))D=D.anchor;else{var[,C]=uf.edges(D),B=K.pointRef(u,C);uV.delete(u,{at:D}),D=B.unref(),null==e.at&&uV.select(u,D)}}var[l]=K.nodes(u,{at:D,match:n,voids:o,mode:i}),c=K.previous(u,{at:D,match:n,voids:o,mode:i});if(l&&c){var[f,A]=l,[h,F]=c;if(0!==A.length&&0!==F.length){var d=ua.next(F),p=ua.common(A,F),v=ua.isSibling(A,F),g=Array.from(K.levels(u,{at:A}),u=>{var[e]=u;return e}).slice(p.length).slice(0,-1),m=K.above(u,{at:A,mode:"highest",match:e=>g.includes(e)&&uj(u,e)}),y=m&&K.pathRef(u,m[1]);if(um.isText(f)&&um.isText(h)){var b=E(f,ux);r=h.text.length,t=b}else if(J.isElement(f)&&J.isElement(h)){var b=E(f,uO);r=h.children.length,t=b}else throw Error("Cannot merge the node at path [".concat(A,"] with the previous sibling because it is not the same kind: ").concat(uF.stringify(f)," ").concat(uF.stringify(h)));v||uV.moveNodes(u,{at:A,to:d,voids:o}),y&&uV.removeNodes(u,{at:y.current,voids:o}),J.isElement(h)&&K.isEmpty(u,h)||um.isText(h)&&""===h.text&&0!==F[F.length-1]?uV.removeNodes(u,{at:F,voids:o}):u.apply({type:"merge_node",path:d,position:r,properties:t}),y&&y.unref()}}}})},moveNodes(u,e){K.withoutNormalizing(u,()=>{var{to:t,at:r=u.selection,mode:n="lowest",voids:D=!1}=e,{match:a}=e;if(r){null==a&&(a=ua.isPath(r)?u_(u,r):e=>K.isBlock(u,e));var o=K.pathRef(u,t);for(var i of Array.from(K.nodes(u,{at:r,match:a,mode:n,voids:D}),e=>{var[,t]=e;return K.pathRef(u,t)})){var s=i.unref(),C=o.current;0!==s.length&&u.apply({type:"move_node",path:s,newPath:C}),o.current&&ua.isSibling(C,s)&&ua.isAfter(C,s)&&(o.current=ua.next(o.current))}o.unref()}})},removeNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var{hanging:t=!1,voids:r=!1,mode:n="lowest"}=e,{at:D=u.selection,match:a}=e;if(D)for(var o of(null==a&&(a=ua.isPath(D)?u_(u,D):e=>K.isBlock(u,e)),!t&&uf.isRange(D)&&(D=K.unhangRange(u,D,{voids:r})),Array.from(K.nodes(u,{at:D,match:a,mode:n,voids:r}),e=>{var[,t]=e;return K.pathRef(u,t)}))){var i=o.unref();if(i){var[s]=K.node(u,i);u.apply({type:"remove_node",path:i,node:s})}}})},setNodes(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var{match:r,at:n=u.selection,compare:D,merge:a}=t,{hanging:o=!1,mode:i="lowest",split:s=!1,voids:C=!1}=t;if(n){if(null==r&&(r=ua.isPath(n)?u_(u,n):e=>K.isBlock(u,e)),!o&&uf.isRange(n)&&(n=K.unhangRange(u,n,{voids:C})),s&&uf.isRange(n)){if(uf.isCollapsed(n)&&K.leaf(u,n.anchor)[0].text.length>0)return;var B=K.rangeRef(u,n,{affinity:"inward"}),[l,c]=uf.edges(n),f="lowest"===i?"lowest":"highest",A=K.isEnd(u,c,c.path);uV.splitNodes(u,{at:c,match:r,mode:f,voids:C,always:!A});var h=K.isStart(u,l,l.path);uV.splitNodes(u,{at:l,match:r,mode:f,voids:C,always:!h}),n=B.unref(),null==t.at&&uV.select(u,n)}for(var[F,E]of(D||(D=(u,e)=>u!==e),K.nodes(u,{at:n,match:r,mode:i,voids:C}))){var d={},p={};if(0!==E.length){var v=!1;for(var g in e)"children"!==g&&"text"!==g&&D(e[g],F[g])&&(v=!0,F.hasOwnProperty(g)&&(d[g]=F[g]),a?null!=e[g]&&(p[g]=a(F[g],e[g])):null!=e[g]&&(p[g]=e[g]));v&&u.apply({type:"set_node",path:E,properties:d,newProperties:p})}}}})},splitNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var t,{mode:r="lowest",voids:n=!1}=e,{match:D,at:a=u.selection,height:o=0,always:i=!1}=e;if(null==D&&(D=e=>K.isBlock(u,e)),uf.isRange(a)&&(a=uN(u,a)),ua.isPath(a)){var s=a,C=K.point(u,s),[B]=K.parent(u,s);D=u=>u===B,o=C.path.length-s.length+1,a=C,i=!0}if(a){var l=K.pointRef(u,a,{affinity:"backward"});try{var[c]=K.nodes(u,{at:a,match:D,mode:r,voids:n});if(!c)return;var f=K.void(u,{at:a,mode:"highest"});if(!n&&f){var[A,h]=f;if(J.isElement(A)&&u.isInline(A)){var F=K.after(u,h);if(!F){var E=ua.next(h);uV.insertNodes(u,{text:""},{at:E,voids:n}),F=K.point(u,E)}a=F,i=!0}o=a.path.length-h.length+1,i=!0}t=K.pointRef(u,a);var d=a.path.length-o,[,p]=c,v=a.path.slice(0,d),g=0===o?a.offset:a.path[d]+0;for(var[m,y]of K.levels(u,{at:v,reverse:!0,voids:n})){var b=!1;if(y.length2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(e)||(e=[e]);var r={};for(var n of e)r[n]=null;uV.setNodes(u,r,t)},unwrapNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var{mode:t="lowest",split:r=!1,voids:n=!1}=e,{at:D=u.selection,match:a}=e;if(D){null==a&&(a=ua.isPath(D)?u_(u,D):e=>K.isBlock(u,e)),ua.isPath(D)&&(D=K.range(u,D));var o=uf.isRange(D)?K.rangeRef(u,D):null;for(var i of Array.from(K.nodes(u,{at:D,match:a,mode:t,voids:n}),e=>{var[,t]=e;return K.pathRef(u,t)}).reverse())!function(e){var t=e.unref(),[D]=K.node(u,t),a=K.range(u,t);r&&o&&(a=uf.intersection(o.current,a)),uV.liftNodes(u,{at:a,match:u=>J.isAncestor(D)&&D.children.includes(u),voids:n})}(i);o&&o.unref()}})},wrapNodes(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var{mode:r="lowest",split:n=!1,voids:D=!1}=t,{match:a,at:o=u.selection}=t;if(o){if(null==a&&(a=ua.isPath(o)?u_(u,o):u.isInline(e)?e=>K.isInline(u,e)||um.isText(e):e=>K.isBlock(u,e)),n&&uf.isRange(o)){var[i,s]=uf.edges(o),C=K.rangeRef(u,o,{affinity:"inward"});uV.splitNodes(u,{at:s,match:a,voids:D}),uV.splitNodes(u,{at:i,match:a,voids:D}),o=C.unref(),null==t.at&&uV.select(u,o)}for(var[,B]of Array.from(K.nodes(u,{at:o,match:u.isInline(e)?e=>K.isBlock(u,e):u=>K.isEditor(u),mode:"lowest",voids:D}))){var l=uf.isRange(o)?uf.intersection(o,K.range(u,B)):o;if(l){var c=Array.from(K.nodes(u,{at:l,match:a,mode:r,voids:D}));if(c.length>0&&"continue"===function(){var[t]=c,r=c[c.length-1],[,n]=t,[,a]=r;if(0===n.length&&0===a.length)return"continue";var o=ua.equals(n,a)?ua.parent(n):ua.common(n,a),i=K.range(u,n,a),[s]=K.node(u,o),C=o.length+1,B=ua.next(a.slice(0,C)),l=uk(uk({},e),{},{children:[]});uV.insertNodes(u,l,{at:B,voids:D}),uV.moveNodes(u,{at:i,match:u=>J.isAncestor(s)&&s.children.includes(u),to:B.concat(0),voids:D})}())continue}}}})}}),{collapse(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:t="anchor"}=e,{selection:r}=u;if(r){if("anchor"===t)uV.select(u,r.anchor);else if("focus"===t)uV.select(u,r.focus);else if("start"===t){var[n]=uf.edges(r);uV.select(u,n)}else if("end"===t){var[,D]=uf.edges(r);uV.select(u,D)}}},deselect(u){var{selection:e}=u;e&&u.apply({type:"set_selection",properties:e,newProperties:null})},move(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:t}=u,{distance:r=1,unit:n="character",reverse:D=!1}=e,{edge:a=null}=e;if(t){"start"===a&&(a=uf.isBackward(t)?"focus":"anchor"),"end"===a&&(a=uf.isBackward(t)?"anchor":"focus");var{anchor:o,focus:i}=t,s={distance:r,unit:n},C={};if(null==a||"anchor"===a){var B=D?K.before(u,o,s):K.after(u,o,s);B&&(C.anchor=B)}if(null==a||"focus"===a){var l=D?K.before(u,i,s):K.after(u,i,s);l&&(C.focus=l)}uV.setSelection(u,C)}},select(u,e){var{selection:t}=u;if(e=K.range(u,e),t){uV.setSelection(u,e);return}if(!uf.isRange(e))throw Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(uF.stringify(e)));u.apply({type:"set_selection",properties:t,newProperties:e})},setPoint(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=u,{edge:n="both"}=t;if(r){"start"===n&&(n=uf.isBackward(r)?"focus":"anchor"),"end"===n&&(n=uf.isBackward(r)?"anchor":"focus");var{anchor:D,focus:a}=r,o="anchor"===n?D:a;uV.setSelection(u,{["anchor"===n?"anchor":"focus"]:uR(uR({},o),e)})}},setSelection(u,e){var{selection:t}=u,r={},n={};if(t){for(var D in e)("anchor"!==D||null==e.anchor||uC.equals(e.anchor,t.anchor))&&("focus"!==D||null==e.focus||uC.equals(e.focus,t.focus))&&("anchor"===D||"focus"===D||e[D]===t[D])||(r[D]=t[D],n[D]=e[D]);Object.keys(r).length>0&&u.apply({type:"set_selection",properties:r,newProperties:n})}}}),{delete(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var t,{reverse:r=!1,unit:n="character",distance:D=1,voids:a=!1}=e,{at:o=u.selection,hanging:i=!1}=e;if(o){var s=!1;if(uf.isRange(o)&&uf.isCollapsed(o)&&(s=!0,o=o.anchor),uC.isPoint(o)){var C=K.void(u,{at:o,mode:"highest"});if(!a&&C){var[,B]=C;o=B}else{var l={unit:n,distance:D},c=r?K.before(u,o,l)||K.start(u,[]):K.after(u,o,l)||K.end(u,[]);o={anchor:o,focus:c},i=!0}}if(ua.isPath(o)){uV.removeNodes(u,{at:o,voids:a});return}if(!uf.isCollapsed(o)){if(!i){var[,f]=uf.edges(o),A=K.end(u,[]);uC.equals(f,A)||(o=K.unhangRange(u,o,{voids:a}))}var[h,F]=uf.edges(o),E=K.above(u,{match:e=>K.isBlock(u,e),at:h,voids:a}),d=K.above(u,{match:e=>K.isBlock(u,e),at:F,voids:a}),p=E&&d&&!ua.equals(E[1],d[1]),v=ua.equals(h.path,F.path),g=a?null:K.void(u,{at:h,mode:"highest"}),m=a?null:K.void(u,{at:F,mode:"highest"});if(g){var y=K.before(u,h);y&&E&&ua.isAncestor(E[1],y.path)&&(h=y)}if(m){var b=K.after(u,F);b&&d&&ua.isAncestor(d[1],b.path)&&(F=b)}var w=[];for(var x of K.nodes(u,{at:o,voids:a})){var[O,P]=x;(!t||0!==ua.compare(P,t))&&(!a&&K.isVoid(u,O)||!ua.isCommon(P,h.path)&&!ua.isCommon(P,F.path))&&(w.push(x),t=P)}var k=Array.from(w,e=>{var[,t]=e;return K.pathRef(u,t)}),j=K.pointRef(u,h),N=K.pointRef(u,F),_="";if(!v&&!g){var T=j.current,[R]=K.leaf(u,T),{path:S}=T,{offset:q}=h,V=R.text.slice(q);V.length>0&&(u.apply({type:"remove_text",path:S,offset:q,text:V}),_=V)}if(k.reverse().map(u=>u.unref()).filter(u=>null!==u).forEach(e=>uV.removeNodes(u,{at:e,voids:a})),!m){var I=N.current,[z]=K.leaf(u,I),{path:L}=I,M=v?h.offset:0,W=z.text.slice(M,F.offset);W.length>0&&(u.apply({type:"remove_text",path:L,offset:M,text:W}),_=W)}!v&&p&&N.current&&j.current&&uV.mergeNodes(u,{at:N.current,hanging:!0,voids:a}),s&&r&&"character"===n&&_.length>1&&_.match(/[\u0E00-\u0E7F]+/)&&uV.insertText(u,_.slice(0,_.length-D));var $=j.unref(),J=N.unref(),Z=r?$||J:J||$;null==e.at&&Z&&uV.select(u,Z)}}})},insertFragment(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var r,{hanging:n=!1,voids:D=!1}=t,{at:a=u.selection}=t;if(e.length&&a){if(uf.isRange(a)){if(n||(a=K.unhangRange(u,a,{voids:D})),uf.isCollapsed(a))a=a.anchor;else{var[,o]=uf.edges(a);if(!D&&K.void(u,{at:o}))return;var i=K.pointRef(u,o);uV.delete(u,{at:a}),a=i.unref()}}else ua.isPath(a)&&(a=K.start(u,a));if(!(!D&&K.void(u,{at:a}))){var s=K.above(u,{at:a,match:e=>K.isInline(u,e),mode:"highest",voids:D});if(s){var[,C]=s;K.isEnd(u,a,C)?a=K.after(u,C):K.isStart(u,a,C)&&(a=K.before(u,C))}var[,B]=K.above(u,{match:e=>K.isBlock(u,e),at:a,voids:D}),l=K.isStart(u,a,B),c=K.isEnd(u,a,B),f=l&&c,A=!l||l&&c,h=!c,[,F]=ut.first({children:e},[]),[,E]=ut.last({children:e},[]),d=[],p=e=>{var[t,r]=e;return 0!==r.length&&(!!f||!(A&&ua.isAncestor(r,F)&&J.isElement(t)&&!u.isVoid(t)&&!u.isInline(t)||h&&ua.isAncestor(r,E)&&J.isElement(t)&&!u.isVoid(t)&&!u.isInline(t)))};for(var v of ut.nodes({children:e},{pass:p}))p(v)&&d.push(v);var g=[],m=[],y=[],b=!0,w=!1;for(var[x]of d)J.isElement(x)&&!u.isInline(x)?(b=!1,w=!0,m.push(x)):b?g.push(x):y.push(x);var[O]=K.nodes(u,{at:a,match:e=>um.isText(e)||K.isInline(u,e),mode:"highest",voids:D}),[,P]=O,k=K.isStart(u,a,P),j=K.isEnd(u,a,P),N=K.pathRef(u,c&&!y.length?ua.next(B):B),_=K.pathRef(u,j?ua.next(P):P);uV.splitNodes(u,{at:a,match:e=>w?K.isBlock(u,e):um.isText(e)||K.isInline(u,e),mode:w?"lowest":"highest",always:w&&(!l||g.length>0)&&(!c||y.length>0),voids:D});var T=K.pathRef(u,!k||k&&j?ua.next(P):P);if(uV.insertNodes(u,g,{at:T.current,match:e=>um.isText(e)||K.isInline(u,e),mode:"highest",voids:D}),f&&!g.length&&m.length&&!y.length&&uV.delete(u,{at:B,voids:D}),uV.insertNodes(u,m,{at:N.current,match:e=>K.isBlock(u,e),mode:"lowest",voids:D}),uV.insertNodes(u,y,{at:_.current,match:e=>um.isText(e)||K.isInline(u,e),mode:"highest",voids:D}),!t.at&&(y.length>0&&_.current?r=ua.previous(_.current):m.length>0&&N.current?r=ua.previous(N.current):T.current&&(r=ua.previous(T.current)),r)){var R=K.end(u,r);uV.select(u,R)}T.unref(),N.unref(),_.unref()}}})},insertText(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var{voids:r=!1}=t,{at:n=u.selection}=t;if(n){if(ua.isPath(n)&&(n=K.range(u,n)),uf.isRange(n)){if(uf.isCollapsed(n))n=n.anchor;else{var D=uf.end(n);if(!r&&K.void(u,{at:D}))return;var a=uf.start(n),o=K.pointRef(u,a),i=K.pointRef(u,D);uV.delete(u,{at:n,voids:r});var s=o.unref(),C=i.unref();n=s||C,uV.setSelection(u,{anchor:n,focus:n})}}if(!(!r&&K.void(u,{at:n}))){var{path:B,offset:l}=n;e.length>0&&u.apply({type:"insert_text",path:B,offset:l,text:e})}}})}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/webpack-9737c4086b992b46.js b/static/web/_next/static/chunks/webpack-6d44d7af9c2c87b8.js similarity index 99% rename from static/web/_next/static/chunks/webpack-9737c4086b992b46.js rename to static/web/_next/static/chunks/webpack-6d44d7af9c2c87b8.js index 656379d9f..3430661eb 100644 --- a/static/web/_next/static/chunks/webpack-9737c4086b992b46.js +++ b/static/web/_next/static/chunks/webpack-6d44d7af9c2c87b8.js @@ -1 +1 @@ -!function(){"use strict";var e,t,c,a,f,n,d,r,b,o,u,i,s={},l={};function h(e){var t=l[e];if(void 0!==t)return t.exports;var c=l[e]={id:e,loaded:!1,exports:{}},a=!0;try{s[e].call(c.exports,c,c.exports,h),a=!1}finally{a&&delete l[e]}return c.loaded=!0,c.exports}h.m=s,h.amdO={},e=[],h.O=function(t,c,a,f){if(c){f=f||0;for(var n=e.length;n>0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[c,a,f];return}for(var d=1/0,n=0;n=f&&Object.keys(h.O).every(function(e){return h.O[e](c[b])})?c.splice(b--,1):(r=!1,f0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[c,a,f];return}for(var d=1/0,n=0;n=f&&Object.keys(h.O).every(function(e){return h.O[e](c[b])})?c.splice(b--,1):(r=!1,fOwncast 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 27e2e57c6..e7efdd3f8 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 f637809c4..fb69f3610 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 a0f6eee1e..b9199e196 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 d3d4e4d11..1b0398780 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 900cc2460..f54bdc9c5 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 b3598ad6e..c2d952248 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

Custom

Build your own notifications by using custom webhooks.

\ 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

Custom

Build your own notifications by using custom webhooks.

\ 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 b7342ee05..6a3fd0064 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.


\ 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.


\ 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 402ce7e7c..07ae92cfc 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 eff3d23b5..4cbff8389 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 035f6e600..8d6ee5a49 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 1e016b83a..842bd85e4 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/config/appearance/index.html b/static/web/admin/config/appearance/index.html index 1ede1bec8..446281a93 100644 --- a/static/web/admin/config/appearance/index.html +++ b/static/web/admin/config/appearance/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

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

What is your stream about today?

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

What is your stream about today?

What is your stream about today?
Offline

Streaming Keys

A streaming key is used with your broadcasting software to authenticate itself to Owncast. Most people will only need one. However, if you share a server with others or you want different keys for different broadcasting sources you can add more here.
These keys are unrelated to the admin password and will not grant you access to make changes to Owncast's configuration.
Read more about broadcasting at the documentation.
KeyComment
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Streaming Keys

A streaming key is used with your broadcasting software to authenticate itself to Owncast. Most people will only need one. However, if you share a server with others or you want different keys for different broadcasting sources you can add more here.
These keys are unrelated to the admin password and will not grant you access to make changes to Owncast's configuration.
Read more about broadcasting at the documentation.
KeyComment
No data

\ 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 32e6b143c..2d0940bca 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 0e59a2881..86ec393ea 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 d47659fe8..0ee62146f 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 7c97ac462..bf7c36323 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 b3d0d6c58..d0727ee5b 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.

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.

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 b680751bb..60b03ea0e 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 a3b1e67b0..5cee04018 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 090d02379..c3358897d 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 b5da5e2b8..6b68d7cb1 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 f95f21cc3..83e12f9bb 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 4e11e7643..609fc246f 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 362b8a956..3851802be 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index e13ab7f18..73e5606bf 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
This stream is offline. Check back soon!
\ No newline at end of file +
This stream is offline. Check back soon!
\ No newline at end of file diff --git a/static/web/index.html b/static/web/index.html index 36f648c42..279f09dd2 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,9 +1,9 @@ {{.Name}}
{{.Name}}
Logo
Preview
\ No newline at end of file +
Logo
Preview
\ No newline at end of file