1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4911],{93424:function(e,t,i){let n,o,a;i.d(t,{Bf:function(){return ew},DY:function(){return eC},Ee:function(){return e0},GS:function(){return eA},Il:function(){return ej},PH:function(){return eb},Re:function(){return K},Tx:function(){return U},V6:function(){return eN},X6:function(){return eh},bt:function(){return ed},d8:function(){return B},iA:function(){return ti},kN:function(){return eI},rU:function(){return eL},v6:function(){return F},vb:function(){return eW}});var r=i(58844),l=i(64429),s=i(5862),c=i(67058),d=i(94223),u=i(94285),h=i(58011),m=i(16750),p=i(60422),g=i(71313),_=i(22554),f=i(7072),x=i(29244),b=i(15560),v=i(71220),w=i(26885),y=i(96959),k=i(91465),j=i(47681),C=i(42778),A=i(88482),N=i(84147),T=i(42971),L=i(57449),M=i(77324),S=i(82474),z=i(81443),H=i(30012),R=i(16513),P=i(37758),O=i(5529),E=i(90202),I=Object.defineProperty,D=(e,t,i)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,q=(e,t,i)=>D(e,"symbol"!=typeof t?t+"":t,i);let $=c.forwardRef(({asChild:e,...t},i)=>{var n;let o=k.i[t.icon];return(0,s.jsxs)(k.T,{children:[(0,s.jsx)(k.a,{asChild:!0,children:(0,s.jsx)(e?M.g7:k.B,{ref:i,className:"richtext-h-[32px] richtext-px-[5px] richtext-py-0 richtext-min-w-24 richtext-overflow-hidden",variant:"ghost",disabled:null==t?void 0:t.disabled,...t,children:(0,s.jsxs)("div",{className:"richtext-flex ric
1htext-items-center richtext-h-full richtext-font-normal",children:[(null==t?void 0:t.title)&&(0,s.jsx)("div",{className:"richtext-flex-grow richtext-text-sm richtext-text-left richtext-truncate",children:null==t?void 0:t.title}),o&&(0,s.jsx)(o,{className:"richtext-flex-shrink-0 richtext-w-3 richtext-h-3 richtext-ml-1 richtext-text-zinc-500"})]})})}),(0,s.jsx)(k.b,{children:(0,s.jsxs)("div",{className:"richtext-flex richtext-flex-col richtext-items-center richtext-text-center richtext-max-w-24",children:[(null==t?void 0:t.tooltip)&&(0,s.jsx)("div",{children:null==t?void 0:t.tooltip}),(0,s.jsx)("div",{className:"richtext-flex",children:!!(null!=(n=null==t?void 0:t.shortcutKeys)&&n.length)&&(0,s.jsx)("span",{children:(0,k.g)(null==t?void 0:t.shortcutKeys)})})]})})]})}),B=r.g.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleBold(),isActive:()=>e.isActive("bold")||!1,disabled:!e.can().toggleBold(),icon:"Bold",shortcutKeys:["mod","B"],tooltip:t("editor.bold.tooltip")}})}}}),U=r.h.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleItalic(),isActive:()=>e.isActive("italic")||!1,disabled:!e.can().toggleItalic(),shortcutKeys:["mod","I"],icon:"Italic",tooltip:t("editor.italic.tooltip")}})}}}),F=r.U.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleUnderline(),isActive:()=>e.isActive("underline")||!1,disabled:!e.can().toggleUnderline(),icon:"Underline",shortcutKeys:["mod","U"],tooltip:t("editor.underline.tooltip")}})}}}),K=r.S.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleStrike(),isActive:()=>e.isActive("strike")||!1,disabled:!e.can().toggleStrike(),icon:"Strikethrough",shortcutKeys:["shift","mod","X"],tooltip:t("editor.strike.tooltip")}})}}});r.C.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleCode(),isActive:()=>e.isActive("code")||!1,disabled:!e.can().toggleCode(),icon:"Code",shortcutKeys:["mod","E"],tooltip:t("editor.code.tooltip")}})}}});let V=new Set,Z=new Set;async function W(e){return!!n&&!n.getLoadedThemes().includes(e)&&!Z.has(e)&&e in A.B&&(Z.add(e),await n.loadTheme(e),Z.delete(e),!0)}async function Y(e){return!!n&&!n.getLoadedLanguages().includes(e)&&!V.has(e)&&e in N.j8&&(V.add(e),await n.loadLanguage(e),V.delete(e),!0)}async function J({doc:e,name:t,defaultTheme:i,defaultLanguage:a}){let l=(0,r.j)(e,e=>e.type.name===t),s=[...l.map(e=>e.node.attrs.theme),i],c=[...l.map(e=>e.node.attrs.language),a];n?await Promise.all([...s.flatMap(e=>W(e)),...c.flatMap(e=>!!e&&Y(e))]):await function(e){if(!n&&!o){let t=e.themes.filter(e=>!!e&&e in A.B),i=e.languages.filter(e=>!!e&&e in N.j8);return o=(0,T.e$)({themes:t,langs:i}).then(e=>{n=e})}if(o)return o}({languages:c,themes:s})}function X({doc:e,name:t,defaultTheme:i,defaultLanguage:o}){let a=[];return(0,r.j)(e,e=>e.type.name===t).forEach(e=>{let t=e.pos+1,r=e.node.attrs.language||o,s=e.node.attrs.theme||i,c=n;if(!c)return;c.getLoadedLanguages().includes(r)||(r="plaintext");let d=c.getLoadedThemes().includes(s)?s:c.getLoadedThemes()[0];for(let i of c.codeToTokensBase(e.node.textContent,{lang:r,theme:d})){for(let e of i){let i=t+e.content.length,n=l.a0.inline(t,i,{style:`color: ${e.color}`});a.push(n),t=i}t+=1}}),l.$.create(e,a)}function G({action:e,languages:t,...i}){let n=t=>{e(t)},o=(0,c.useMemo)(()=>null==t?void 0:t.map(e=>({title:j.M[e]||e,language:e})),[t]);return(0,s.jsxs)(k.D,{children:[(0,s.jsx)(k.c,{disabled:null==i?void 0:i.disabled,asChild:!0,children:(0,s.jsx)(k.A,{tooltip:null==i?void 0:i.tooltip,disabled:null==i?void 0:i.disabled,icon:null==i?void 0:i.icon})}),(0,s.jsx)(k.d,{className:"richtext-w-full !richtext-max-h-[180px] !richtext-overflow-y-scroll",children:null==o?void 0:o.map(e=>(0,s.jsx)(k.e,{onClick:()=>n(e.language),children:(0,s.jsx)("div",{className:"richtext-h-full richtext-ml-1",children:e.title})},`codeblock-${e.title}`))})]})}let Q={wrap:"_wrap_134f4_1",maxHeight:"_maxHeight_134f4_10",btnCopy:"_btnCopy_134f4_13",btnDelete:"_btnDelete_134f4_14",blockInfo:"_blockInfo_134f4_18",blockInfoEditable:"_blockInfoEditable_134f4_28",selectLang:"_selectLang_134f4_32",copied:"_copied_134f4_58"},ee=L.fC,et=L.B4,ei=c.forwardRef(({className:e,children:t,...i},n)=>
1(0,s.jsxs)(L.xz,{ref:n,className:(0,k.f)("richtext-flex richtext-h-10 richtext-w-full richtext-items-center richtext-justify-between richtext-rounded-md richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-2 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50 [&>span]:richtext-line-clamp-1",e),...i,children:[t,(0,s.jsx)(L.JO,{asChild:!0,children:(0,s.jsx)(d.Z,{className:"richtext-h-4 richtext-w-4 richtext-opacity-50"})})]}));ei.displayName=L.xz.displayName;let en=c.forwardRef(({className:e,...t},i)=>(0,s.jsx)(L.u_,{ref:i,className:(0,k.f)("richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",e),...t,children:(0,s.jsx)(u.Z,{className:"richtext-h-4 richtext-w-4"})}));en.displayName=L.u_.displayName;let eo=c.forwardRef(({className:e,...t},i)=>
1(0,s.jsx)(L.$G,{ref:i,className:(0,k.f)("richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",e),...t,children:(0,s.jsx)(d.Z,{className:"richtext-h-4 richtext-w-4"})}));eo.displayName=L.$G.displayName;let ea=c.forwardRef(({className:e,children:t,position:i="popper",...n},o)=>(0,s.jsx)(L.h_,{children:(0,s.jsxs)(L.VY,{ref:o,className:(0,k.f)("richtext-relative richtext-z-50 richtext-max-h-60 richtext-overflow-y-auto richtext-min-w-[8rem] richtext-overflow-hidden richtext-rounded-md richtext-border richtext-bg-popover richtext-text-popover-foreground richtext-shadow-md data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2","popper"===i&&"data-[side=bottom]:richtext-translate-y-1 data-[side=left]:richtext--translate-x-1 data-[side=right]:richtext-translate-x-1 data-[side=top]:richtext--translate-y-1",e),position:i,...n,children:[(0,s.jsx)(en,{}),(0,s.jsx)(L.l_,{className:(0,k.f)("richtext-p-1","popper"===i&&"richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,s.jsx)(eo,{})]})}));ea.displayName=L.VY.displayName,c.forwardRef(({className:e,...t},i)=>(0,s.jsx)(L.__,{ref:i,className:(0,k.f)("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold",e),...t})).displayName=L.__.displayName;let er=c.forwardRef(({className:e,children:t,...i},n)=>(0,s.jsxs)(L.ck,{ref:n,className:(0,k.f)("richtext-relative richtext-flex ric
1htext-w-full richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-outline-none focus:richtext-bg-accent focus:richtext-text-accent-foreground data-[disabled]:richtext-pointer-events-none data-[disabled]:richtext-opacity-50",e),...i,children:[(0,s.jsx)("span",{className:"richtext-absolute richtext-left-2 richtext-flex richtext-h-3.5 richtext-w-3.5 richtext-items-center richtext-justify-center",children:(0,s.jsx)(L.wU,{children:(0,s.jsx)(h.Z,{className:"richtext-h-4 richtext-w-4"})})}),(0,s.jsx)(L.eT,{children:t})]}));function el({editor:e,node:{attrs:t},updateAttributes:i,extension:n}){var o,a;let{isCopied:d,copyToClipboard:u}=function(){let[e,t]=(0,c.useState)(!1);return{isCopied:e,copyToClipboard:async e=>{try{await navigator.clipboard.writeText(e),t(!0),setTimeout(()=>t(!1),2e3)}catch(e){console.error("Failed to copy text: ",e),t(!1)}}}}(),h=(0,c.useMemo)(()=>{var e;return null!=(e=n.options.languages)&&e.length?n.options.languages:j.D},[n.options.languages]),g=(0,k.u)(),_=null==(a=null==(o=null==e?void 0:e.options)?void 0:o.editorProps)?void 0:a.print,{language:f}=t,x=(0,c.useRef)(),b=(0,c.useCallback)(()=>(0,k.h)(es.name,e),[e]);return(0,s.jsxs)(r.a,{className:(0,l.aq)(Q.wrap,!_&&Q.maxHeight,"render-wrapper"),children:[(0,s.jsxs)("div",{className:(0,l.aq)(Q.blockInfo,{[Q.blockInfoEditable]:!g}),children:[(0,s.jsx)("span",{onClick:()=>u(x.current.innerText),className:(0,l.aq)(Q.btnCopy,d&&Q.copied),children:d?(0,s.jsx)(m.Z,{size:16}):(0,s.jsx)(p.Z,{size:16})}),(0,s.jsx)("span",{onClick:b,className:Q.btnDelete,children:(0,s.jsx)(k.I,{name:"Trash2"})}),(0,s.jsx)("div",{className:Q.selectLang,children:(0,s.jsxs)(ee,{defaultValue:f||"auto",disabled:!g,onValueChange:e=>i({language:e}),children:[(0,s.jsx)(ei,{children:(0,s.jsx)(et,{placeholder:"Language"})}),(0,s.jsxs)(ea,{className:"richtext-max-h-60 richtext-overflow-y-auto",children:[(0,s.jsx)(er,{value:"auto",children:"Auto"}),h.map((e,t)=>(0,s.jsx)(er,{value:e,children:e.charAt(0).toUpperCase()+e.slice(1)},`code-lang-${t}`))]})]})})]}),(0,s.jsx)("pre",{ref:x,children:(0,s.jsx)(r.k,{as:"code"})})]})}er.displayName=L.ck.displayName,c.forwardRef(({className:e,...t},i)=>(0,s.jsx)(L.Z0,{ref:i,className:(0,k.f)("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted",e),...t})).displayName=L.Z0.displayName;let es=r.l.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),languages:[],button:({editor:e,t:t,extension:i})=>{var n,o,a;let r=null!=(o=null==(n=null==i?void 0:i.options)?void 0:n.languages)&&o.length?null==(a=null==i?void 0:i.options)?void 0:a.languages:j.D;return{component:G,componentProps:{action:(t="js")=>e.commands.setCodeBlock({language:t}),isActive:()=>e.isActive("codeBlock")||!1,disabled:!e.can().toggleCodeBlock(),icon:"Code2",tooltip:t("editor.codeblock.tooltip"),languages:r}}}}},addNodeView:()=>(0,r.R)(el),addProseMirrorPlugins(){var e;return[...(null==(e=this.parent)?void 0:e.call(this))||[],function({name:e,defaultLanguage:t,defaultTheme:i}){let n=new l.P({key:new l.b("shiki"),view(n){class o{constructor(){this.initDecorations()}update(){this.checkUndecoratedBlocks()}destroy(){}async initDecorations(){let o=n.state.doc;await J({doc:o,name:e,defaultLanguage:t,defaultTheme:i});let a=n.state.tr.setMeta("shikiPluginForceDecoration",!0);n.dispatch(a)}async checkUndecoratedBlocks(){let t=(0,r.j)(n.state.doc,t=>t.type.name===e);if((await Promise.all(t.flatMap(e=>[W(e.node.attrs.theme),Y(e.node.attrs.language)]))).includes(!0)){let e=n.state.tr.setMeta("shikiPluginForceDecoration",!0);n.dispatch(e)}}}return new o},state:{init:(n,{doc:o})=>X({doc:o,name:e,defaultLanguage:t,defaultTheme:i}),apply:(n,o,a,l)=>{let s=a.selection.$head.parent.type.name,c=l.selection.$head.parent.type.name,d=(0,r.j)(a.doc,t=>t.type.name===e),u=(0,r.j)(l.doc,t=>t.type.name===e),h=n.docChanged&&([s,c].includes(e)||u.length!==d.length||n.steps.some(e=>void 0!==e.from&&void 0!==e.to&&d.some(t=>t.pos>=e.from&&t.pos+t.node.nodeSize<=e.to)));return n.getMeta("shikiPluginForceDecoration")||h?X({doc:n.doc,name:e,defaultLanguage:t,defaultTheme:i}):o.map(n.mapping,n.doc)}},props:{decorations:e=>n.getState(e)}});return n}({name:this.name,defaultLanguage:null,defaultTheme:this.options.defaultTheme})]}});function ec(e){var t,i,n;let{t:o,lang:a}=(0,j.u)(),r=(0,c.useMemo)(()=>{var t;let i=null==(t=null==e?void 0:e.items)?void 0:t.find(e=>e.isActive());return i&&!i.default?{...i}:{title:e.tooltip,font:o("editor.fontFamily.default.tooltip"),isActive:()=>!1,disabled:!1,action:()=>e.editor.chain().focus().unsetFontFamily().run()}},[o,a,e]);return(0,s.jsxs)(k.D,{children:[(0,s.jsx)(k.c,{disabled:null==e?void 0:e.disabled,asChild:!0,children:(0,s.jsx)($,{title:(null==(t=null==r?void 0:r.font)?void 0:t.length)>7?`${null==(i=null==r?void 0:r.font)?void 0:i.slice(0,6)}...`:null==r?void 0:r.font,tooltip:null==e?void 0:e.tooltip,disabled:null==e?void 0:e.disabled,icon:"MenuDown"})}),(0,s.jsx)(k.d,{className:"richtext-w-full",children:null==(n=null==e?void 0:e.items)?void 0:n.map((e,t)=>{let i=e.font===o("editor.fontFamily.default.tooltip")?{}:{fontFamily:e.font};return(0,s.jsxs)(c.Fragment,{children:[(0,s.jsx)(k.j,{checked:(null==r?void 0:r.font)===e.font,onClick:e.action,children:(0,s.jsx)("div",{className:"richtext-h-full richtext-ml-1",style:i,children:e.font})}),e.font===o("editor.fontFamily.default.tooltip")&&(0,s.jsx)(k.k,{})]},`font-family-${t}`)})})]})}let ed=r.F.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),fontFamilyList:j.j,button({editor:e,extension:t,t:i}){var n;let{extensions:o=[]}=e.extensionManager??[],a=(0,k.l)((null==(n=null==t?void 0:t.options)?void 0:n.fontFamilyList)||[]),r=o.find(e=>"base-kit"===e.name),l=a.map(t=>({action:()=>{e.chain().focus().setFontFamily(t.value).run()},isActive:()=>e.isActive("textStyle",{fontFamily:t.value})||!1,disabled:!e.can().setFontFamily(t.value),title:t.name,font:t.value}));r&&!1!==r.options.textStyle&&l.unshift({action:()=>e.chain().focus().unsetFontFamily().run(),isActive:()=>!1,disabled:!1,font:i("editor.fontFamily.default.tooltip"),title:i("editor.fontFamily.tooltip")});let s=l.filter(e=>e.disabled).length===l.length;return{component:ec,componentProps:{tooltip:i("editor.fontFamily.tooltip"),disabled:s,items:l,editor:e}}}}}});function eu(e){var t;let i=(0,c.useMemo)(()=>{var t;let i=null==(t=null==e?void 0:e.items)?void 0:t.find(e=>e.isActive());return i&&!i.default?{...i}:{title:e.tooltip,level:0,isActive:()=>!1}},[e]);return(0,s.jsxs)(k.D,{children:[(0,s.jsx)(k.c,{disabled:null==e?void 0:e.disabled,asChild:!0,children:(0,s.jsx)($,{title:null==i?void 0:i.title,tooltip:null==e?void 0:e.tooltip,disabled:null==e?void 0:e.disabled,icon:"MenuDown"})}),(0,s.jsx)(k.d,{className:"richtext-w-full",children:null==(t=null==e?void 0:e.items)?void 0:t.map((e,t)=>{var n,o;return(0,s.jsxs)(c.Fragment,{children:[(0,s.jsxs)(k.j,{checked:(null==i?void 0:i.title)===e.title,onClick:e.action,children:[(0,s.jsx)("div",{className:`richtext-ml-1 richtext-h-full heading-${e.level}`,children:e.title}),!!(null!=(n=null==e?void 0:e.shortcutKeys)&&n.length)&&(0,s.jsx)(k.m,{className:"richtext-pl-4",children:null==(o=null==e?void 0:e.shortcutKeys)?void 0:o.map(e=>(0,k.n)(e)).join(" ")})]}),0===e.level&&(0,s.jsx)(k.k,{})]},`heading-k-${t}`)})})]})}let eh=r.H.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),levels:[1,2,3,4,5,6],button({editor:e,extension:t,t:i}){var n;let{extensions:o=[]}=e.extensionManager??[],a=(null==(n=t.options)?void 0:n.levels)||[],r=o.find(e=>"base-kit"===e.name),l=a.map(t=>({action:()=>e.commands.toggleHeading({level:t}),isActive:()=>e.isActive("heading",{level:t})||!1,disabled:!e.can().toggleHeading({level:t}),title:i(`editor.heading.h${t}.tooltip`),level:t,shortcutKeys:["alt","mod",`${t}`]}));r&&!1!==r.options.paragraph&&l.unshift({action:()=>e.commands.setParagraph(),isActive:()=>e.isActive("paragraph")||!1,disabled:!e.can().setParagraph(),level:0,title:i("editor.paragraph.tooltip"),shortcutKeys:["alt","mod","0"]});let s=l.filter(e=>e.disabled).length===l.length;return{component:eu,componentProps:{tooltip:i("editor.heading.tooltip"),disabled:s,items:l,editor:e}}}}}}),em=C.fC,ep=c.forwardRef(({className:e,...t},i)=>(0,s.jsx)(C.aV,{ref:i,className:(0,k.f)("richtext-inline-flex ric
1htext-h-10 richtext-items-center richtext-justify-center richtext-rounded-md richtext-bg-muted richtext-p-1 richtext-text-muted-foreground",e),...t}));ep.displayName=C.aV.displayName;let eg=c.forwardRef(({className:e,...t},i)=>(0,s.jsx)(C.xz,{ref:i,className:(0,k.f)("richtext-inline-flex richtext-items-center richtext-justify-center richtext-whitespace-nowrap richtext-rounded-sm richtext-px-3 richtext-py-1.5 richtext-text-sm richtext-font-medium richtext-ring-offset-background richtext-transition-all focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 disabled:richtext-pointer-events-none disabled:richtext-opacity-50 data-[state=active]:richtext-bg-background data-[state=active]:richtext-text-foreground data-[state=active]:richtext-shadow-sm",e),...t}));eg.displayName=C.xz.displayName;let e_=c.forwardRef(({className:e,...t},i)=>(0,s.jsx)(C.VY,{ref:i,className:(0,k.f)("richtext-mt-2 richtext-ring-offset-background focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2",e),...t}));e_.displayName=C.VY.displayName;let ef=c.forwardRef(({className:e,...t},i)=>(0,s.jsx)(R.fC,{ref:i,className:(0,k.f)("!richtext-peer !richtext-h-4 !richtext-w-4 !richtext-p-0 !richtext-shrink-0 !richtext-rounded-sm !richtext-border !richtext-border-primary !richtext-ring-offset-background focus-visible:!richtext-outline-none focus-visible:!richtext-ring-2 focus-visible:!richtext-ring-ring focus-visible:!richtext-ring-offset-2 disabled:!richtext-cursor-not-allowed disabled:!richtext-opacity-50 data-[state=checked]:!richtext-bg-primary data-[state=checked]:!richtext-text-primary-foreground",e),...t,children:(0,s.jsx)(R.z$,{className:(0,k.f)("!richtext-flex !richtext-p-0 !richtext-items-center !richtext-justify-center !richtext-text-current"),children:(0,s.jsx)(h.Z,{className:"!richtext-h-4 !richtext-w-4"})})}));function ex(e){var t;let i=(0,c.useMemo)(()=>{var t;let i=null==(t=null==e?void 0:e.items)?void 0:t.find(e=>e.isActive());return i&&!i.default?{...i,icon:i.icon?i.icon:e.icon}:{title:null==e?void 0:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return(0,s.jsxs)(k.P,{modal:!0,children:[(0,s.jsx)(k.o,{disabled:null==e?void 0:e.disabled,asChild:!0,children:(0,s.jsx)(k.A,{customClass:"!richtext-w-12 richtext-h-12",icon:null==e?void 0:e.icon,tooltip:null==e?void 0:e.tooltip,disabled:null==e?void 0:e.disabled,children:(0,s.jsx)(k.I,{className:"richtext-w-3 richtext-h-3 richtext-ml-1 richtext-text-zinc-500",name:"MenuDown"})})}),(0,s.jsx)(k.p,{className:"richtext-min-w-4 richtext-w-full !richtext-p-[4px] richtext-flex ric
1htext-flex-row richtext-gap-1",align:"start",side:"bottom",children:null==(t=null==e?void 0:e.items)?void 0:t.map((e,t)=>{var n,o;return(0,s.jsxs)(k.T,{children:[(0,s.jsx)(k.a,{asChild:!0,children:(0,s.jsx)(k.q,{size:"sm",onClick:null==e?void 0:e.action,className:"richtext-p-1 richtext-w-7 richtext-h-7",pressed:i.title===e.title,"data-state":i.title===e.title?"on":"off",children:(null==e?void 0:e.icon)&&(0,s.jsx)(k.I,{name:e.icon})})}),(0,s.jsxs)(k.b,{className:"richtext-flex richtext-flex-col richtext-items-center",children:[(0,s.jsx)("span",{children:e.title}),!!(null!=(n=e.shortcutKeys)&&n.length)&&(0,s.jsx)("span",{children:null==(o=e.shortcutKeys)?void 0:o.map(e=>(0,k.n)(e)).join(" ")})]})]},`text-align-${t}`)})})]})}ef.displayName=R.fC.displayName;let eb=r.T.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),types:["heading","paragraph","list_item","title"],button({editor:e,extension:t,t:i}){var n;let o=(null==(n=t.options)?void 0:n.alignments)||[],a={left:["mod","Shift","L"],center:["mod","Shift","E"],right:["mod","Shift","R"],justify:["mod","Shift","J"]},r={left:"AlignLeft",center:"AlignCenter",right:"AlignRight",justify:"AlignJustify"},l=o.map(t=>{var n,o,l;return{title:i(`editor.textalign.${t}.tooltip`),icon:r[t],shortcutKeys:a[t],isActive:()=>e.isActive({textAlign:t})||!1,action:()=>{var i,n;return null==(n=null==(i=e.commands)?void 0:i.setTextAlign)?void 0:n.call(i,t)},disabled:!(null!=(l=null==(o=null==(n=null==e?void 0:e.can)?void 0:n.call(e))?void 0:o.setTextAlign)&&l.call(o,t))}}),s=l.filter(e=>e.disabled).length===l.length;return{component:ex,componentProps:{icon:"AlignJustify",tooltip:i("editor.textalign.tooltip"),disabled:s,items:l}}}}}});function ev(e){var t;let{t:i}=(0,j.u)(),n=(0,c.useMemo)(()=>(e.items||[]).find(e=>e.isActive())||{title:i("editor.fontSize.default.tooltip"),isActive:()=>!1},[e]);return(0,s.jsxs)(k.D,{children:[(0,s.jsx)(k.c,{disabled:null==e?void 0:e.disabled,asChild:!0,children:(0,s.jsx)($,{title:null==n?void 0:n.title,tooltip:`${null==e?void 0:e.tooltip}`,disabled:null==e?void 0:e.disabled,icon:"MenuDown"})}),(0,s.jsx)(k.d,{className:"richtext-w-32 richtext-overflow-y-auto richtext-max-h-96",children:null==(t=null==e?void 0:e.items)?void 0:t.map((e,t)=>(0,s.jsx)(k.j,{checked:n.title===e.title,onClick:e.action,children:(0,s.jsx)("div",{className:"richtext-h-full richtext-ml-1",children:e.title})},`font-size-${t}`))})]})}let ew=r.o.create({name:"fontSize",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),types:["textStyle"],fontSizes:[...j.k],button({editor:e,extension:t,t:i}){var n;let o=(0,k.l)((null==(n=t.options)?void 0:n.fontSizes)||j.n),a=(0,k.l)([j.n])[0],r=o.map(t=>({title:t.value===a.value?i("editor.fontSize.default.tooltip"):String(t.name),isActive:()=>{let{fontSize:i}=e.getAttributes("textStyle");return t.value===a.value&&void 0===i||e.isActive({fontSize:String(t.value)})||!1},action:()=>{if(t.value===a.value){e.commands.unsetFontSize();return}e.commands.setFontSize(String(t.value))},disabled:!e.can().setFontSize(String(t.value)),divider:t.value===a.value,default:t.value===a.value})),l=r.filter(e=>e.disabled).length===r.length;return{component:ev,componentProps:{editor:e,tooltip:i("editor.fontSize.tooltip"),disabled:l,items:r,maxHeight:280}}}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:e=>e.style.fontSize.replaceAll(/["']+/g,""),renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands:()=>({setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()})});function ey({fill:e}){return(0,s.jsx)("svg",{width:"18px",height:"18px",viewBox:"0 0 240 240",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,s.jsx)("g",{transform:"translate(0.000000, 0.500000)",children:(0,s.jsxs)("g",{transform:"translate(39.000000, 17.353553)",children:[(0,s.jsx)("path",{d:"M11,201.146447 L167,201.146447 C173.075132,201.146447 178,206.071314 178,212.146447 C178,218.221579 173.075132,223.146447 167,223.146447 L11,223.146447 C4.92486775,223.146447 7.43989126e-16,218.221579 0,212.146447 C-7.43989126e-16,206.071314 4.92486775,201.146447 11,201.146447 Z",id:"ç©å½¢",fill:e||"#DF2A3F",fillRule:"evenodd"}),(0,s.jsx)("path",{d:"M72.3425855,16.8295583 C75.799482,7.50883712 86.1577877,2.75526801 95.4785089,6.21216449 C100.284516,7.99463061 104.096358,11.7387855 105.968745,16.4968188 L106.112518,16.8745422 L159.385152,161.694068 C161.291848,166.877345 158.635655,172.624903 153.452378,174.531599 C148.358469,176.405421 142.719567,173.872338 140.716873,168.864661 L140.614848,168.598825 L89.211,28.86 L37.3759214,168.623816 C35.4885354,173.712715 29.8981043,176.351047 24.7909589,174.617647 L24.5226307,174.522368 C19.4337312,172.634982 16.7953993,167.044551 18.5287999,161.937406 L18.6240786,161.669077 L72.3425855,16.8295583 Z",id:"è·¯å¾-21",fill:"currentColor",fillRule:"nonzero"}),(0,s.jsx)("path",{d:"M121,103.146447 C126.522847,103.146447 131,107.623599 131,113.146447 C131,118.575687 126.673329,122.994378 121.279905,123.142605 L121,123.146447 L55,123.146447 C49.4771525,123.146447 45,118.669294 45,113.146447 C45,107.717207 49.3266708,103.298515 54.7200952,103.150288 L55,103.146447 L121,103.146447 Z",id:"è·¯å¾-22",fill:"
1currentColor",fillRule:"nonzero"})]})})})})}function ek(e){let[t,i]=(0,c.useState)(void 0),n=(0,c.useCallback)((0,l.at)(e=>{i(e)},350),[]);return(0,s.jsxs)("div",{className:"richtext-flex richtext-items-center richtext-h-[32px]",children:[(0,s.jsx)(k.A,{tooltip:null==e?void 0:e.tooltip,disabled:null==e?void 0:e.disabled,action:function(){var i;null==(i=e.action)||i.call(e,t)},children:(0,s.jsx)("span",{className:"richtext-flex richtext-items-center richtext-justify-center richtext-text-sm",children:(0,s.jsx)(ey,{fill:t})})}),(0,s.jsx)(k.C,{selectedColor:t,setSelectedColor:n,onChange:function(t){var i;null==(i=e.action)||i.call(e,t)},disabled:null==e?void 0:e.disabled,colors:null==e?void 0:e.colors,defaultColor:null==e?void 0:e.defaultColor,children:(0,s.jsx)(k.B,{variant:"ghost",size:"icon",className:"r!ichtext-h-[32px] !richtext-w-3",disabled:null==e?void 0:e.disabled,children:(0,s.jsx)(k.I,{className:"!richtext-w-3 !richtext-h-3 richtext-text-zinc-500",name:"MenuDown"})})})]})}let ej=r.p.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t,extension:i})=>({component:ek,componentProps:{colors:i.options.colors,defaultColor:i.options.defaultColor,action:t=>{void 0===t&&e.chain().focus().unsetColor().run(),"string"==typeof t&&e.chain().focus().setColor(t).run()},isActive:()=>{let{color:t}=e.getAttributes("textStyle");return t&&e.isActive({color:t})||!1},editor:e,disabled:!e.can().setColor(""),tooltip:t("editor.color.tooltip")}})}}}),eC=(r.q.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),multicolor:!0,button:({editor:e,t:t})=>({component:k.H,componentProps:{action:t=>{"string"==typeof t&&e.chain().focus().setHighlight({color:t}).run(),void 0===t&&e.chain().focus().unsetHighlight().run()},editor:e,isActive:()=>e.isActive("highlight")||!1,disabled:!e.can().setHighlight(),shortcutKeys:["â§","mod","H"],tooltip:t("editor.highlight.tooltip")}})}}}),r.r.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleBulletList(),isActive:()=>e.isActive("bulletList")||!1,disabled:!1,shortcutKeys:["shift","mod","8"],icon:"List",tooltip:t("editor.bulletlist.tooltip")}})}}})),eA=(r.N.create({name:"clear",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.chain().focus().clearNodes().unsetAllMarks().run(),disabled:!e.can().chain().focus().clearNodes().unsetAllMarks().run(),icon:"Eraser",tooltip:t("editor.clear.tooltip")}})}}}),r.O.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleOrderedList(),isActive:()=>e.isActive("orderedList")||!1,disabled:!1,icon:"ListOrdered",shortcutKeys:["mod","shift","7"],tooltip:t("editor.orderedlist.tooltip")}})}}})),eN=(r.s.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),HTMLAttributes:{class:"task-list"},taskItem:{HTMLAttributes:{class:"task-list-item"}},button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleTaskList(),isActive:()=>e.isActive("taskList")||!1,disabled:!1,icon:"ListTodo",shortcutKeys:["shift","mod","9"],tooltip:t("editor.tasklist.tooltip")}})}},addExtensions(){return[r.t.configure(this.options.taskItem)]}}),r.v.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),HTMLAttributes:{class:"blockquote"},button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.toggleBlockquote(),isActive:()=>e.isActive("blockquote")||!1,disabled:!e.can().toggleBlockquote(),icon:"TextQuote",shortcutKeys:["shift","mod","B"],tooltip:t("editor.blockquote.tooltip")}})}}}));function eT(e){let[t,i]=(0,c.useState)(!1);return(0,s.jsxs)(k.P,{modal:!0,open:t,onOpenChange:i,children:[(0,s.jsx)(k.o,{disabled:null==e?void 0:e.disabled,asChild:!0,children:(0,s.jsx)(k.A,{tooltip:null==e?void 0:e.tooltip,isActive:null==e?void 0:e.isActive,disabled:null==e?void 0:e.disabled,children:(0,s.jsx)(k.I,{name:null==e?void 0:e.icon})})}),(0,s.jsx)(k.p,{hideWhenDetached:!0,className:"richtext-w-full",align:"start",side:"bottom",children:(0,s.jsx)(k.L,{editor:e.editor,onSetLink:function(t,n,o){e.action&&(e.action({link:t,text:n,openInNewTab:o}),i(!1))}})})]})}let eL=r.L.extend({inclusive:!1,parseHTML:()=>[{tag:'a[href]:not([data-type="button"]):not([href *= "javascript:" i])'}],renderHTML({HTMLAttributes:e}){return["a",(0,r.m)(this.options.HTMLAttributes,e,{class:"link"}),0]},addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),openOnClick:!0,button:({editor:e,t:t})=>({component:eT,componentProps:{editor:e,action:t=>{let{link:i,text:n,openInNewTab:o}=t;e.chain().extendMarkRange("link").insertContent({type:"text",text:n,marks:[{type:"link",attrs:{href:i,target:o?"_blank":""}}]}
1).setLink({href:i}).focus().run()},id:"linkk",isActive:()=>e.isActive("link")||!1,disabled:!e.can().setLink({href:""}),icon:"Link",tooltip:t("editor.link.tooltip")}})}},addProseMirrorPlugins:()=>[new l.P({props:{handleClick:(e,t)=>{let{schema:i,doc:n,tr:o}=e.state,a=(0,r.w)(n.resolve(t),i.marks.link);if(!a)return!1;let s=n.resolve(a.from),c=n.resolve(a.to),d=o.setSelection(new l.T(s,c));e.dispatch(d)}}})]});function eM(e){var t;let{icon:i,tooltip:n,customClass:o="",tooltipOptions:a={},action:r,isActive:l,children:c}=e,d=k.i[i];return(0,s.jsxs)(k.T,{children:[(0,s.jsx)(k.a,{asChild:!0,children:(0,s.jsxs)(k.q,{size:"sm",className:`richtext-w-[32px] richtext-h-[32px] ${o}`,disabled:null==l?void 0:l(),onClick:r,children:[d&&(0,s.jsx)(d,{className:"richtext-w-4 richtext-h-4"}),c&&(0,s.jsx)(s.Fragment,{children:c})]})}),n&&(0,s.jsx)(k.b,{...a,children:(0,s.jsxs)("div",{className:"richtext-flex richtext-flex-col richtext-items-center richtext-text-center richtext-max-w-24",children:[(0,s.jsx)("div",{children:n}),!!(null!=(t=null==e?void 0:e.shortcutKeys)&&t.length)&&(0,s.jsx)("span",{children:(0,k.g)(null==e?void 0:e.shortcutKeys)})]})})]})}r.x.extend({renderHTML(){return["div",(0,r.m)(this.options.HTMLAttributes,{"data-type":this.name}),["hr"]]},addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.commands.setHorizontalRule(),disabled:!e.can().setHorizontalRule(),icon:"Minus",shortcutKeys:["mod","alt","S"],tooltip:t("editor.horizontalrule.tooltip")}})}},addKeyboardShortcuts(){return{"Mod-Alt-s":()=>this.editor.commands.setHorizontalRule()}}});let eS=["undo","redo"],ez=(r.y.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),depth:100,newGroupDelay:500,button:({editor:e,t:t})=>eS.map(i=>({component:eM,componentProps:{action:()=>{"undo"===i&&e.chain().focus().undo().run(),"redo"===i&&e.chain().focus().redo().run()},shortcutKeys:"undo"===i?["mod","Z"]:["shift","mod","Z"],disabled:"undo"===i?!e.can().undo():!e.can().redo(),isActive:()=>"undo"===i?!e.can().undo():!e.can().redo(),icon:"undo"===i?"Undo2":"Redo2",tooltip:t(`editor.${i}.tooltip`)}}))}}}),r.z.extend({content:"(block|columns)+"})),eH=(r.o.create({name:"columnActionButton",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>{e.chain().focus().insertColumns({cols:2}).run()},icon:"Columns",tooltip:t("editor.columns.tooltip")}})}}}),r.o.create({name:"selection",addProseMirrorPlugins(){let{editor:e}=this;return[new l.P({key:new l.b("selection"),props:{decorations:t=>t.selection.empty||!0===e.isFocused?null:l.$.create(t.doc,[l.a0.inline(t.selection.from,t.selection.to,{class:"selection"})])}})]}}));function eR(e){let{t}=(0,j.u)(),i=(0,c.useMemo)(()=>[{name:"paragraph",label:t("editor.paragraph.tooltip"),iconName:"Heading1",isActive:()=>e.editor.isActive("paragraph")&&!e.editor.isActive("orderedList")&&!e.editor.isActive("bulletList")&&!e.editor.isActive("taskList"),action:()=>e.editor.chain().focus().clearNodes().run()},{name:"heading1",label:t("editor.heading.h1.tooltip"),isActive:()=>e.editor.isActive("heading",{level:1}),iconName:"Heading1",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:1}).run()},{name:"heading2",label:t("editor.heading.h2.tooltip"),isActive:()=>e.editor.isActive("heading",{level:2}),iconName:"Heading2",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:2}).run()},{name:"heading3",label:t("editor.heading.h3.tooltip"),isActive:()=>e.editor.isActive("heading",{level:3}),iconName:"Heading3",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:3}).run()},{name:"bulletList",label:t("editor.bulletlist.tooltip"),isActive:()=>e.editor.isActive("bulletList"),iconName:"List",action:()=>e.editor.chain().focus().clearNodes().toggleBulletList().run()},{name:"numberedList",label:t("editor.orderedlist.tooltip"),isActive:()=>e.editor.isActive("orderedList"),iconName:"ListOrdered",action:()=>e.editor.chain().focus().clearNodes().toggleOrderedList().run()},{name:"taskList",label:t("editor.tasklist.tooltip"),isActive:()=>e.editor.isActive("taskList"),iconName:"ListTodo",action:()=>e.editor.chain().focus().clearNodes().toggleTaskList().run()},{name:"blockquote",label:t("editor.blockquote.tooltip"),isActive:()=>e.editor.isActive("blockquote"),iconName:"TextQuote",action:()=>e.editor.chain().focus().clearNodes().toggleBlockquote().run()},{name:"codeBlock",label:t("editor.codeblock.tooltip"),isActive:()=>e.editor.isActive("codeBlock"),iconName:"Code2",action:()=>e.editor.chain().focus().clearNodes().toggleCodeBlock().run()}],[e.editor,t]),n=(0,c.useMemo)(()=>i.filter(e=>e.isActive()).pop()??{label:"Empty"},[i]);return(0,s.jsxs)(k.D,{children:[(0,s.jsx)(k.c,{asChild:!0,children:(0,s.jsxs)(k.B,{variant:"ghost",className:"richtext-h-[32px] richtext-flex ric
1htext-gap-1 richtext-px-1.5",children:[(0,s.jsxs)("span",{className:"richtext-text-sm richtext-font-normal richtext-whitespace-nowrap",children:[" ",null==n?void 0:n.label]}),(0,s.jsx)(d.Z,{className:"richtext-w-4 richtext-h-4"})]})}),(0,s.jsx)(k.d,{hideWhenDetached:!0,className:"richtext-w-full richtext-p-1",align:"start",sideOffset:5,children:i.map((e,t)=>{var i;let n=k.i[e.iconName];return(0,s.jsx)(k.j,{checked:(null==(i=e.isActive)?void 0:i.call(e))||!1,onClick:()=>e.action(),className:"richtext-cursor-pointer",children:(0,s.jsxs)("div",{className:"richtext-flex richtext-items-center richtext-gap-2 richtext-px-2",children:[(0,s.jsx)(n,{className:"richtext-w-3 richtext-h3"}),(0,s.jsxs)("span",{children:[" ",e.label]})]})},`text-bubble-${t}`)})})]})}let eP=r.o.create({name:"text-bubble",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),toolbar:!1,button:()=>({component:eR,componentProps:{}})}}});function eO({types:e,node:t}){return Array.isArray(e)&&e.includes(t.type)||t.type===e}let eE=r.o.create({name:"trailingNode",addOptions:()=>({node:"paragraph",notAfter:["paragraph"]}),addProseMirrorPlugins(){let e=new l.b(this.name),t=Object.entries(this.editor.schema.nodes).map(([,e])=>e).filter(e=>this.options.notAfter.includes(e.name));return[new l.P({key:e,appendTransaction:(t,i,n)=>{let{doc:o,tr:a,schema:r}=n,l=e.getState(n),s=o.content.size,c=r.nodes[this.options.node];if(l)return a.insert(s,c.create())},state:{init:(e,i)=>!eO({node:i.tr.doc.lastChild,types:t}),apply:(e,i)=>e.docChanged?!eO({node:e.doc.lastChild,types:t}):i}})]}}),eI=r.o.create({name:"base-kit",addExtensions(){let e=[];return!1!==this.options.document&&e.push(ez.configure()),!1!==this.options.placeholder&&e.push(r.P.configure({placeholder:({node:e,pos:t,editor:i})=>{var n,o,a,r,l;return(null==(n=null==e?void 0:e.type)?void 0:n.name)==="columns"||(null==(o=null==e?void 0:e.content)?void 0:o.size)!==0?"":(null==(a=null==e?void 0:e.type)?void 0:a.name)==="heading"?`${j.h.t(`editor.heading.h${e.attrs.level}.tooltip`)}`:(null==(r=null==e?void 0:e.type)?void 0:r.name)==="codeBlock"||(null==(l=null==e?void 0:e.type)?void 0:l.name)==="table"?"":i.extensionManager.extensions.some(e=>"slashCommand"===e.name)?j.h.t("editor.slash"):j.h.t("editor.content")},...this.options.placeholder})),!1!==this.options.focus&&e.push(r.A.configure({className:"focus",...this.options.focus})),!1!==this.options.text&&e.push(r.G.configure()),!1!==this.options.textBubble&&e.push(eP.configure()),!1!==this.options.gapcursor&&e.push(r.J.configure()),!1!==this.options.dropcursor&&e.push(r.K.configure({...this.options.dropcursor,width:2,class:"ProseMirror-dropcursor border-black"})),!1!==this.options.characterCount&&e.push(r.M.configure(this.options.characterCount)),!1!==this.options.paragraph&&e.push(r.Q.configure(this.options.paragraph)),!1!==this.options.hardBreak&&e.push(r.V.configure(this.options.hardBreak)),!1!==this.options.listItem&&e.push(r.W.configure(this.options.listItem)),!1!==this.options.textStyle&&e.push(r.X.configure(this.options.textStyle)),!1!==this.options.trailingNode&&e.push(eE.configure(this.options.trailingNode)),!1!==this.options.selection&&e.push(eH),!1!==this.options.multiColumn&&(e.push(k.r),e.push(k.M)),e}});function eD(e){var t;let i=(0,c.useMemo)(()=>{var t;let i=null==(t=null==e?void 0:e.items)?void 0:t.find(e=>e.isActive());return i&&!i.default?{...i,icon:null!=i&&i.icon?null==i?void 0:i.icon:null==e?void 0:e.icon}:{title:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return(0,s.jsxs)(k.D,{children:[(0,s.jsx)(k.c,{disabled:null==e?void 0:e.disabled,asChild:!0,children:(0,s.jsx)(k.A,{customClass:"!richtext-w-12 richtext-h-12",icon:null==e?void 0:e.icon,tooltip:null==e?void 0:e.tooltip,disabled:null==e?void 0:e.disabled,children:(0,s.jsx)(k.s,{className:"richtext-w-3 richtext-h-3 richtext-text-gray-500"})})}),(0,s.jsx)(k.d,{className:"w-full",children:null==(t=null==e?void 0:e.items)?void 0:t.map((e,t)=>(0,s.jsxs)(k.j,{checked:i.title===e.title,onClick:e.action,className:"richtext-flex ric
1htext-items-center richtext-gap-3",children:[(0,s.jsx)(k.I,{name:null==e?void 0:e.icon}),(0,s.jsx)("span",{className:"richtext-ml-1",children:e.title}),!!(null!=e&&e.shortcutKeys)&&(0,s.jsx)("span",{className:"richtext-ml-auto richtext-text-xs richtext-tracking-widest richtext-opacity-60",children:(0,k.g)(e.shortcutKeys)})]},`more-mark-${t}`))})]})}function eq(e){let{t}=(0,j.u)(),[i,n]=(0,c.useState)("default"),o=(0,c.useMemo)(()=>{let i=e.editor.extensionManager.extensions.find(e=>"lineHeight"===e.name).options.lineHeights.map(e=>({label:Number.parseFloat(e.replace("%",""))/100,value:e}));return i.unshift({label:t("editor.default"),value:"default"}),i},[e]);return(0,s.jsxs)(k.D,{children:[(0,s.jsx)(k.c,{disabled:null==e?void 0:e.disabled,asChild:!0,children:(0,s.jsx)(k.A,{customClass:"!richtext-w-12 richtext-h-12",icon:"LineHeight",tooltip:null==e?void 0:e.tooltip,disabled:null==e?void 0:e.disabled,children:(0,s.jsx)(k.I,{className:"richtext-w-3 richtext-h-3 richtext-ml-1 richtext-text-zinc-500",name:"MenuDown"})})}),(0,s.jsx)(k.d,{className:"richtext-min-w-24",children:null==o?void 0:o.map((t,o)=>(0,s.jsx)(k.j,{checked:t.value===i,onClick:()=>{var i;"default"===(i=t.value)?e.editor.commands.unsetLineHeight():e.editor.commands.setLineHeight(i),n(i)},children:t.label},`lineHeight-${o}`))})]})}r.o.create({name:"subAndSuperScript",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,extension:t,t:i})=>{let n=t.options.subscript,o=t.options.superscript,a={component:k.A,componentProps:{action:()=>e.commands.toggleSubscript(),isActive:()=>e.isActive("subscript")||!1,disabled:!e.can().toggleSubscript(),icon:"Subscript",tooltip:i("editor.subscript.tooltip")}},r={component:k.A,componentProps:{action:()=>e.commands.toggleSuperscript(),isActive:()=>e.isActive("superscript")||!1,disabled:!e.can().toggleSuperscript(),icon:"Superscript",tooltip:i("editor.superscript.tooltip")}},l=[];return!1!==n&&l.push(a),!1!==o&&l.push(r),l}}},addExtensions(){let e=[];return!1!==this.options.subscript&&e.push(r.Y.configure(this.options.subscript)),!1!==this.options.superscript&&e.push(r.Z.configure(this.options.superscript)),e}}),r.o.create({name:"moreMark",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button({editor:e,extension:t,t:i}){let n=t.options.subscript,o=t.options.superscript,a={action:()=>e.commands.toggleSubscript(),isActive:()=>e.isActive("subscript")||!1,disabled:!e.can().toggleSubscript(),icon:"Subscript",title:i("editor.subscript.tooltip"),shortcutKeys:["mod","."]},r={action:()=>e.commands.toggleSuperscript(),isActive:()=>e.isActive("superscript")||!1,disabled:!e.can().toggleSuperscript(),icon:"Superscript",title:i("editor.superscript.tooltip"),shortcutKeys:["mod",","]},l=[];return!1!==n&&l.push(a),!1!==o&&l.push(r),{component:eD,componentProps:{icon:"Type",tooltip:i("editor.moremark"),disabled:!e.isEditable,items:l}}}}},addExtensions(){let e=[];return!1!==this.options.subscript&&e.push(r.Y.configure(this.options.subscript)),!1!==this.options.superscript&&e.push(r.Z.configure(this.options.superscript)),e}}),r.o.create({name:"indent",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),types:["paragraph","heading","blockquote"],minIndent:k.v.min,maxIndent:k.v.max,button:({editor:e,t:t})=>[{component:k.A,componentProps:{action:()=>{e.commands.indent()},shortcutKeys:["Tab"],icon:"IndentIncrease",tooltip:t("editor.indent.tooltip")}},{component:k.A,componentProps:{action:()=>{e.commands.outdent()},shortcutKeys:["Shift","Tab"],icon:"IndentDecrease",tooltip:t("editor.outdent.tooltip")}}]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{indent:{default:0,parseHTML:e=>{let t=e.dataset.indent;return(t?Number.parseInt(t,10):0)||0},renderHTML:e=>e.indent?{"data-indent":e.indent}:{}}}}]},addCommands(){return{indent:()=>(0,k.t)({delta:k.v.more,types:this.options.types}),outdent:()=>(0,k.t)({delta:k.v.less,types:this.options.types})}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.indent(),"Shift-Tab":()=>this.editor.commands.outdent()}}});let e$=["paragraph","heading","list_item","todo_item"];r.o.create({name:"lineHeight",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),types:["paragraph","heading","list_item","todo_item"],lineHeights:j.p,defaultHeight:j.o,button:({editor:e,t:t})=>({component:eq,componentProps:{editor:e,tooltip:t("editor.lineheight.tooltip")}})}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:null,parseHTML:e=>e.style.lineHeight||this.options.defaultHeight,renderHTML:e=>e.lineHeight!==this.options.defaultHeight&&e.lineHeight?{style:`line-height: ${e.lineHeight}`}:{}}}}]},addCommands(){return{setLineHeight:e=>({state:t,dispatch:i})=>{let{selection:n}=t,{tr:o}=t;return!!(o=function(e,t){let{selection:i,doc:n}=e;if(!i||!n||!(i instanceof l.T||i instanceof l.A))return e;let{from:o,to:a}=i,r=[],s=t&&t!==j.o?t:null;if(n.nodesBetween(o,a,(e,t)=>{let i=e.type;return!e$.includes(i.name)||((e.attrs.lineHeight||null)!==s&&r.push({node:e,pos:t,nodeType:i}),"list_item"!==i.name&&"todo_item"!==i.name)}),0===r.length)return e;for(let t of r){let{node:i,pos:n,nodeType:o}=t,{attrs:a}=i;a={...a,lineHeight:s}
1,e=e.setNodeMarkup(n,o,a,i.marks)}return e}(o=o.setSelection(n),e)).docChanged&&(i&&i(o),!0)},unsetLineHeight:()=>({commands:e})=>this.options.types.every(t=>e.resetAttributes(t,"lineHeight"))}}});let eB=(0,l.ao)(!1),eU={setOpen:e=>{eB(e)}},eF=(0,l.ao)(!1),eK={setOpen:e=>{eF(e)}},eV=(0,c.forwardRef)(function(e,t){var i,n;let[o,a]=(0,c.useState)(0),[r,l]=(0,c.useState)(0),d=(0,c.useRef)(null),{t:u}=(0,j.u)(),h=(0,c.useRef)([]);function m({event:t}){return"ArrowUp"===t.key?(function(){var t;if(0===e.items.length)return 0;let i=o-1,n=r;i<0&&(n=r-1,i=(null==(t=e.items[n])?void 0:t.commands.length)-1||0),n<0&&(n=e.items.length-1,i=e.items[n].commands.length-1),a(i),l(n)}(),!0):"ArrowDown"===t.key?(function(){if(0===e.items.length)return 0;let t=e.items[r].commands,i=o+1,n=r;t.length-1<i&&(i=0,n=r+1),e.items.length-1<n&&(n=0),a(i),l(n)}(),!0):"Enter"===t.key&&(function(){if(0===e.items.length||-1===r||-1===o)return 0;p(r,o)}(),!0)}function p(t,i){let n=e.items[t].commands[i];e.command(n)}return(0,c.useImperativeHandle)(t,()=>({onKeyDown:m})),(0,c.useEffect)(()=>{if(!d.current)return;let e=1e3*r+o,t=h.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})},[o,r]),(0,s.jsx)("div",{className:"!richtext-bg-white richtext-rounded-lg dark:!richtext-bg-black richtext-shadow-sm !richtext-border !richtext-border-neutral-200 dark:!richtext-border-neutral-800 !richtext-text-black richtext-max-h-[min(80vh,24rem)] richtext-overflow-auto richtext-flex-wrap richtext-mb-8 richtext-p-1",ref:d,children:null!=(i=null==e?void 0:e.items)&&i.length?(0,s.jsx)("div",{className:"richtext-grid richtext-grid-cols-1 richtext-gap-0.5 richtext-min-w-48",children:null==(n=null==e?void 0:e.items)?void 0:n.map((e,t)=>(0,s.jsxs)(c.Fragment,{children:[(0,s.jsx)("div",{className:"!richtext-text-neutral-500 richtext-text-[0.65rem] richtext-col-[1/-1] richtext-mx-2 richtext-mt-2 richtext-font-semibold richtext-tracking-wider richtext-select-none richtext-uppercase first:richtext-mt-0.5",children:e.title}),e.commands.map((e,i)=>
1(0,s.jsxs)("button",{className:(0,k.f)("richtext-flex richtext-items-center richtext-gap-3 richtext-px-2 richtext-py-1.5 richtext-text-sm !richtext-text-neutral-800 dark:!richtext-text-neutral-200 richtext-text-left richtext-w-full richtext-rounded-sm richtext-outline-none richtext-transition-colors !richtext-bg-transparent hover:!richtext-bg-accent ",{"slash-command-active":r===t&&o===i}),ref:e=>{h.current[1e3*t+i]=e},onClick:()=>{p(t,i)},children:[e.iconUrl&&(0,s.jsx)("img",{className:"richtext-w-6 richtext-h-6",src:e.iconUrl,alt:""}),e.iconName&&(0,s.jsx)(k.I,{name:e.iconName,className:"!richtext-mr-1 !richtext-text-lg"}),e.label]},`command-${i}`))]},`slash-${e.title}`))}):(0,s.jsx)("div",{className:"richtext-p-3",children:(0,s.jsx)("span",{className:"richtext-text-xs richtext-text-gray-800 dark:richtext-text-gray-100",children:u("editor.slash.empty")})})})}),eZ="slashCommand",eW=r.o.create({name:eZ,priority:200,onCreate(){a=(0,S.ZP)("body",{interactive:!0,trigger:"manual",placement:"bottom-start",theme:"slash-command",maxWidth:"16rem",offset:[16,8],popperOptions:{strategy:"fixed",modifiers:[{name:"flip",enabled:!1}]}})},addProseMirrorPlugins(){return[(0,r._)({editor:this.editor,char:"/",allowSpaces:!0,startOfLine:!0,pluginKey:new l.b(eZ),allow:({state:e,range:t})=>{var i,n,o;let a=e.doc.resolve(t.from),r=1===a.depth,l="paragraph"===a.parent.type.name,s=(null==(i=a.parent.textContent)?void 0:i.charAt(0))==="/",c=this.editor.isActive("column"),d=null==(o=a.parent.textContent)?void 0:o.slice(Math.max(0,null==(n=a.parent.textContent)?void 0:n.indexOf("/"))),u=!(null!=d&&d.endsWith(" "));return(r&&l&&s||c&&l&&s)&&u},command:({editor:e,range:t,props:i})=>{let{view:n}=e;i.action({editor:e,range:t}),n.focus()},items:({query:e,editor:t})=>(function(e){let t=[{name:"format",title:j.h.t("editor.slash.format"),commands:[]},{name:"insert",title:j.h.t("editor.slash.insert"),commands:[]}];return e.forEach(e=>{"heading"===e.name.toLowerCase()&&e.options.levels.forEach(e=>{t[0].commands.push({name:`heading${e}`,label:j.h.t(`editor.heading.h${e}.tooltip`),aliases:[`h${e}`,"bt",`bt${e}`],iconName:`Heading${e}`,action:({editor:t,range:i})=>{t.chain().focus().deleteRange(i).setHeading({level:e}).run()}})}),"bulletlist"===e.name.toLowerCase()&&t[0].commands.push({name:"bulletList",label:j.h.t("editor.bulletlist.tooltip"),aliases:["ul","yxlb"],iconName:"List",action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).toggleBulletList().run()}}),"orderedlist"===e.name.toLowerCase()&&t[0].commands.push({name:"numberedList",label:j.h.t("editor.orderedlist.tooltip"),aliases:["ol","yxlb"],iconName:"ListOrdered",action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).toggleOrderedList().run()}}),"tasklist"===e.name.toLowerCase()&&t[0].commands.push({name:"taskList",label:j.h.t("editor.tasklist.tooltip"),iconName:"ListTodo",description:"Task list with todo items",aliases:["todo"],action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).toggleTaskList().run()}}),"blockquote"===e.name.toLowerCase()&&t[0].commands.push({name:"blockquote",label:j.h.t("editor.blockquote.tooltip"),description:"æå
¥å¼å
¥æ ¼å¼",aliases:["yr"],iconName:"TextQuote",action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).setBlockquote().run()}}),"codeblock"===e.name.toLowerCase()&&t[0].commands.push({name:"codeBlock",label:j.h.t("editor.codeblock.tooltip"),iconName:"Code2",description:"Code block with syntax highlighting",shouldBeHidden:e=>e.isActive("columns"),action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).setCodeBlock().run()}}),"image"===e.name.toLowerCase()&&t[1].commands.push({name:"image",label:j.h.t("editor.image.tooltip"),iconName:"ImageUp",description:"Insert a image",aliases:["image","tp","tupian"],shouldBeHidden:e=>e.isActive("columns"),action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).run(),eU.setOpen(!0)}}),"video"===e.name.toLowerCase()&&t[1].commands.push({name:"video",label:j.h.t("editor.video.tooltip"),iconName:"Video",description:"Insert a video",aliases:["video","sp","shipin"],shouldBeHidden:e=>e.isActive("columns"),action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).run(),eK.setOpen(!0)}}),"table"===e.name.toLowerCase()&&t[1].commands.push({name:"table",label:j.h.t("editor.table.tooltip"),iconName:"Table",description:"Insert a table",aliases:["table","bg","biaoge","biao"],shouldBeHidden:e=>e.isActive("columns"),action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).insertTable({rows:3,cols:3,withHeaderRow:!1}).run()}}),"horizontalrule"===e.name.toLowerCase()&&t[1].commands.push({name:"horizontalRule",label:j.h.t("editor.horizontalrule.tooltip"),iconName:"Minus",description:"Insert a horizontal divider",aliases:["hr","fgx","fg"],action:({editor:e,range:t})=>{e.chain().focus().deleteRange(t).setHorizontalRule().run()}}),"columns"===e.name.toLowerCase()&&t[1].commands.push({name:"columns",label:j.h.t("editor.columns.tooltip"),iconName:"Columns2",description:"Add two column content",action:({editor:e})=>{e.chain().focus().insertColumns({cols:2}).run()}})}),t})(t.extensionManager.extensions).map(t=>({...t,commands:t.commands.filter(t=>{let i=t.label.toLowerCase().trim(),n=e.toLowerCase().trim();if(t.aliases){let e=t.aliases.map(e=>e.toLowerCase().trim()),o=i.match(n),a=e.some(e=>e.match(n));return o||a}return i.match(n)}).filter(e=>!e.shouldBeHidden||!e.shouldBeHidden(this.editor))})).filter(e=>e.commands.length>0).map(e=>({...e,commands:e.commands.map(e=>({...e,isEnabled:!0}))}
1)),render:()=>{let e,t=null;return{onStart:i=>{var n;e=new r.$(eV,{props:i,editor:i.editor});let{view:o}=i.editor,l=()=>{if(!i.clientRect)return i.editor.storage[eZ].rect;let t=i.clientRect();if(!t)return i.editor.storage[eZ].rect;let n=t.y;if(t.top+e.element.offsetHeight+40>window.innerHeight){let i=t.top+e.element.offsetHeight-window.innerHeight+40;n=t.y-i}return new DOMRect(t.x,n,t.width,t.height)};t=()=>{null==a||a[0].setProps({getReferenceClientRect:l})},null==(n=o.dom.parentElement)||n.addEventListener("scroll",t),null==a||a[0].setProps({getReferenceClientRect:l,appendTo:()=>document.body,content:e.element}),null==a||a[0].show()},onUpdate(t){var i;e.updateProps(t);let{view:n}=t.editor,o=()=>{if(!t.clientRect)return t.editor.storage[eZ].rect;let e=t.clientRect();return e?new DOMRect(e.x,e.y,e.width,e.height):t.editor.storage[eZ].rect};null==(i=n.dom.parentElement)||i.addEventListener("scroll",()=>{null==a||a[0].setProps({getReferenceClientRect:o})}),t.editor.storage[eZ].rect=t.clientRect?o():{width:0,height:0,left:0,top:0,right:0,bottom:0},null==a||a[0].setProps({getReferenceClientRect:o})},onKeyDown(t){var i;return"Escape"===t.event.key?(null==a||a[0].hide(),!0):(null!=a&&a[0].state.isShown||null==a||a[0].show(),null==(i=e.ref)?void 0:i.onKeyDown(t))},onExit(i){var n;if(null==a||a[0].hide(),t){let{view:e}=i.editor;null==(n=e.dom.parentElement)||n.removeEventListener("scroll",t)}e.destroy()}}}})]},addStorage:()=>({rect:{width:0,height:0,left:0,top:0,right:0,bottom:0}})});function eY(e){var t,i;let[n,o]=(0,c.useState)({width:j.I,height:j.I}),[a,d]=(0,c.useState)({width:0,height:0}),[u]=(0,c.useState)(["tl","tr","bl","br"]),[h,m]=(0,c.useState)(!1),[p,g]=(0,c.useState)({x:0,y:0,w:0,h:0,dir:""}),{align:_,inline:f}=null==(t=null==e?void 0:e.node)?void 0:t.attrs,x=(0,c.useMemo)(()=>{var t;let{src:i,alt:n,width:o,height:a,flipX:r,flipY:s}=null==(t=null==e?void 0:e.node)?void 0:t.attrs,c=(0,l.aw)(o)?`${o}px`:o,d=(0,l.aw)(a)?`${a}px`:a,u=[];return r&&u.push("rotateX(180deg)"),s&&u.push("rotateY(180deg)"),{src:i||void 0,alt:n||void 0,style:{width:c||void 0,height:d||void 0,transform:u.join(" ")||"none"}}},[null==(i=null==e?void 0:e.node)?void 0:i.attrs]),b=(0,c.useMemo)(()=>{let{style:{width:e}}=x;return{width:"100%"===e?e:void 0}},[x]);function v(){let{editor:t,getPos:i}=e;t.commands.setNodeSelection(i())}let w=(0,c.useCallback)((0,l.ax)(()=>{let{editor:t}=e,{width:i}=getComputedStyle(t.view.dom);o(e=>({...e,width:Number.parseInt(i,10)}))},j.f),[null==e?void 0:e.editor]),y=(0,c.useCallback)((0,l.ax)(t=>{if(t.preventDefault(),t.stopPropagation(),!h)return;let{x:i,w:o,dir:a}=p,r=(t.clientX-i)*(/l/.test(a)?-1:1),s=(0,l.ay)(o+r,j.g,n.width);e.updateAttributes({width:s,height:null})},j.f),[h,p,n,e.updateAttributes]),k=(0,c.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),h&&((0,z.flushSync)(()=>{g({x:0,y:0,w:0,h:0,dir:""}),m(!1)}),v())},[h,v]),C=(0,c.useCallback)(()=>{null==document||document.addEventListener("mousemove",y,!0),null==document||document.addEventListener("mouseup",k,!0)},[y,k]),A=(0,c.useCallback)(()=>{null==document||document.removeEventListener("mousemove",y,!0),null==document||document.removeEventListener("mouseup",k,!0)},[y,k]);(0,c.useEffect)(()=>(h?C():A(),()=>{A()}),[h,C,A]);let N=(0,c.useMemo)(()=>new ResizeObserver(()=>w()),[w]);return(0,c.useEffect)(()=>(N.observe(e.editor.view.dom),()=>{N.disconnect()}),[e.editor.view.dom,N]),(0,s.jsx)(r.a,{className:"image-view",style:{...b,textAlign:_,display:f?"inline":"block"},as:f?"span":"div",children:(0,s.jsxs)("div",{draggable:"true","data-drag-handle":!0,className:`image-view__body ${null!=e&&e.selected?"image-view__body--focused":""} ${h?"image-view__body--resizing":""}`,style:b,children:[(0,s.jsx)("img",{src:x.src,alt:x.alt,style:x.style,height:"auto",className:"image-view__body__image block",onLoad:function(e){d({width:e.target.width,height:e.target.height})},onClick:v}),(null==e?void 0:e.editor.view.editable)&&((null==e?void 0:e.selected)||h)&&(0,s.jsx)("div",{className:"image-resizer",children:null==u?void 0:u.map(t=>(0,s.jsx)("span",{className:`image-resizer__handler image-resizer__handler--${t}`,onMouseDown:i=>(function(t,i){t.preventDefault(),t.stopPropagation();let o=a.width,r=o/a.height,l=Number(e.node.attrs.width),s=Number(e.node.attrs.height),c=n.width;l&&!s?s=Math.round((l=l>c?c:l)/r):s&&!l?l=(l=Math.round(s*r))>c?c:l:l||s?l=l>c?c:l:s=Math.round((l=o>c?c:o)/r),(0,z.flushSync)(()=>{m(!0),g({x:t.clientX,y:t.clientY,w:l,h:s,dir:i})})})(i,t)},`image-dir-${t}`))})]})})}function eJ({editor:e,imageInline:t,onClose:i}){let{t:n}=(0,j.u)(),[o,a]=(0,c.useState)(!1),r=c.useRef(null),[l,d]=c.useState(),[u,h]=c.useState(""),m=(0,c.useRef)(null),[p,g]=(0,c.useState)({src:"",file:null});async function _(){var n,o;try{let r=await (0,k.F)(u,(null==(n=null==p?void 0:p.file)?void 0:n.name)||"image.png"),l=null==(o=e.extensionManager.extensions.find(e=>"image"===e.name))?void 0:o.options,s="";s=l.upload?await l.upload(r):URL.createObjectURL(r),e.chain().focus().setImageInline({src:s,inline:t}).run(),a(!1),g({src:"",file:null}),i()}catch(e){console.log("Error cropping image",e)}}
1let f=async t=>{var i;let n=null==(i=null==t?void 0:t.target)?void 0:i.files;if(!e||e.isDestroyed||0===n.length)return;let o=n[0],r=await (0,k.G)(o);a(!0),g({src:r.src,file:o})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(k.B,{className:"richtext-w-full richtext-mt-1",size:"sm",onClick:function(e){var t;e.preventDefault(),null==(t=m.current)||t.click()},children:n("editor.image.dialog.tab.uploadCrop")}),(0,s.jsxs)(k.w,{open:o,children:[(0,s.jsx)(k.x,{}),(0,s.jsxs)(k.y,{children:[(0,s.jsx)(k.z,{children:n("editor.image.dialog.tab.uploadCrop")}),(0,s.jsx)("div",{children:p.src&&(0,s.jsx)(H.ZP,{crop:l,onChange:e=>d(e),onComplete:e=>{r.current&&e.width&&e.height&&h(function(e,t){let i=document.createElement("canvas"),n=e.naturalWidth/e.width,o=e.naturalHeight/e.height;i.width=t.width*n,i.height=t.height*o;let a=i.getContext("2d");return a&&(a.imageSmoothingEnabled=!1,a.drawImage(e,t.x*n,t.y*o,t.width*n,t.height*o,0,0,t.width*n,t.height*o)),i.toDataURL("image/png",1)}(r.current,e))},className:"richtext-w-full",children:(0,s.jsx)("img",{ref:r,alt:"Crop me",src:p.src})})}),(0,s.jsxs)(k.E,{children:[(0,s.jsxs)(k.B,{onClick:()=>{a(!1),g({src:"",file:null})},children:[n("editor.imageUpload.cancel"),(0,s.jsx)(k.I,{name:"Trash2",className:"richtext-ml-[4px]"})]}),(0,s.jsxs)(k.B,{className:"richtext-w-fit",onClick:_,children:[n("editor.imageUpload.crop"),(0,s.jsx)(k.I,{name:"Crop",className:"richtext-ml-[4px]"})]})]})]})]}),(0,s.jsx)("input",{type:"file",accept:"image/*",ref:m,multiple:!0,style:{display:"none"},onChange:f})]})}function eX(e){let{t}=(0,j.u)(),i=(0,l.ar)(eB),[n,o]=(0,c.useState)(""),a=(0,c.useRef)(null),[r,d]=(0,c.useState)(!1),u=(0,c.useMemo)(()=>{var t;return null==(t=e.editor.extensionManager.extensions.find(e=>e.name===e0.name))?void 0:t.options},[e.editor]);async function h(t){var i;let n=null==(i=null==t?void 0:t.target)?void 0:i.files;if(!e.editor||e.editor.isDestroyed||0===n.length)return;let o=n[0],a="";a=u.upload?await u.upload(o):URL.createObjectURL(o),e.editor.chain().focus().setImageInline({src:a,inline:r}).run(),eU.setOpen(!1),d(!1)}return(0,s.jsxs)(k.w,{open:i,onOpenChange:eU.setOpen,children:[(0,s.jsx)(k.x,{asChild:!0,children:(0,s.jsx)(k.A,{icon:e.icon,action:()=>eU.setOpen(!0),tooltip:e.tooltip})}),(0,s.jsxs)(k.y,{children:[(0,s.jsx)(k.z,{children:t("editor.image.dialog.title")}),(0,s.jsxs)(em,{defaultValue:"both"===u.resourceImage||"upload"===u.resourceImage?"upload":"link",activationMode:"manual",children:[(0,s.jsxs)(ep,{className:"richtext-grid richtext-w-full richtext-grid-cols-2",children:["both"===u.resourceImage||"upload"===u.resourceImage?(0,s.jsx)(eg,{value:"upload",children:t("editor.image.dialog.tab.upload")}):(0,s.jsx)(s.Fragment,{}),"both"===u.resourceImage||"link"===u.resourceImage?(0,s.jsx)(eg,{value:"link",children:t("editor.image.dialog.tab.url")}):(0,s.jsx)(s.Fragment,{})]}
1),(0,s.jsxs)("div",{className:"richtext-flex richtext-items-center richtext-gap-[4px] richtext-my-[10px]",children:[(0,s.jsx)(ef,{checked:r,onCheckedChange:e=>{d(e)}}),(0,s.jsx)(k.J,{children:t("editor.link.dialog.inline")})]}),(0,s.jsxs)(e_,{value:"upload",children:[(0,s.jsxs)("div",{className:"richtext-flex richtext-items-center richtext-gap-[10px]",children:[(0,s.jsx)(k.B,{className:"richtext-w-full richtext-mt-1",size:"sm",onClick:function(e){var t;e.preventDefault(),null==(t=a.current)||t.click()},children:t("editor.image.dialog.tab.upload")}),(0,s.jsx)(eJ,{editor:e.editor,imageInline:r,onClose:()=>eU.setOpen(!1)})]}),(0,s.jsx)("input",{type:"file",accept:"image/*",ref:a,multiple:!0,style:{display:"none"},onChange:h})]}),(0,s.jsx)(e_,{value:"link",children:(0,s.jsx)("form",{onSubmit:function(t){t.preventDefault(),t.stopPropagation(),e.editor.chain().focus().setImageInline({src:n,inline:r}).run(),eU.setOpen(!1),d(!1)},children:(0,s.jsxs)("div",{className:"richtext-flex richtext-items-center richtext-gap-2",children:[(0,s.jsx)(k.K,{type:"url",autoFocus:!0,value:n,onChange:e=>o(e.target.value),required:!0,placeholder:t("editor.image.dialog.placeholder")}),(0,s.jsx)(k.B,{type:"submit",children:t("editor.image.dialog.button.apply")})]})})})]})]})]})}let eG=new l.b("upload-image"),eQ={acceptMimes:["image/jpeg","image/gif","image/png","image/jpg"],maxSize:5242880,resourceImage:"both"},e0=r.I.extend({group:"inline",inline:!0,defining:!0,draggable:!0,selectable:!0,addOptions(){var e;return{...eQ,...null==(e=this.parent)?void 0:e.call(this),upload:()=>Promise.reject("Image Upload Function"),button:({editor:e,extension:t,t:i})=>{var n,o;return{component:eX,componentProps:{action:()=>{},upload:t.options.upload,disabled:!(null!=(o=(n=e.can()).setImage)&&o.call(n,{})),icon:"ImageUp",tooltip:i("editor.image.tooltip"),editor:e}}}}},addAttributes(){var e;return{...null==(e=this.parent)?void 0:e.call(this),flipX:{default:!1},flipY:{default:!1},width:{default:null,parseHTML:e=>{let t=e.style.width||e.getAttribute("width")||null;return t?Number.parseInt(t,10):null},renderHTML:e=>({width:e.width})},align:{default:"center",parseHTML:e=>e.getAttribute("align"),renderHTML:e=>({align:e.align})},inline:{default:!1,parseHTML:e=>!!e.getAttribute("inline"),renderHTML:e=>({inline:e.inline})}}},addNodeView:()=>(0,r.R)(eY),addCommands(){var e;return{...null==(e=this.parent)?void 0:e.call(this),setImageInline:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e}),updateImage:e=>({commands:t})=>t.updateAttributes(this.name,e),setAlignImage:e=>({commands:t})=>t.updateAttributes(this.name,{align:e})}},renderHTML({HTMLAttributes:e}){let{flipX:t,flipY:i,align:n,inline:o}=e,a=t||i?`transform: rotateX(${t?"180":"0"}deg) rotateY(${i?"180":"0"}deg);`:"";return[o?"span":"div",{style:n?`text-align: ${n};`:"",class:"image"},["img",(0,r.m)({height:"auto",style:a},this.options.HTMLAttributes,e)]]},parseHTML:()=>[{tag:"span.image img",getAttrs:e=>{var t;let i=null==e?void 0:e.parentElement,n=null==e?void 0:e.getAttribute("width"),o=(null==e?void 0:e.getAttribute("flipx"))||!1,a=(null==e?void 0:e.getAttribute("flipy"))||!1;return{src:null==e?void 0:e.getAttribute("src"),alt:null==e?void 0:e.getAttribute("alt"),caption:null==e?void 0:e.getAttribute("caption"),width:n?Number.parseInt(n,10):null,align:(null==e?void 0:e.getAttribute("align"))||(null==(t=null==i?void 0:i.style)?void 0:t.textAlign)||null,inline:(null==e?void 0:e.getAttribute("inline"))||!1,flipX:"true"===o,flipY:"true"===a}}},{tag:"div[class=image]",getAttrs:e=>{let t=e.querySelector("img"),i=null==t?void 0:t.getAttribute("width"),n=(null==t?void 0:t.getAttribute("flipx"))||!1,o=(null==t?void 0:t.getAttribute("flipy"))||!1;return{src:null==t?void 0:t.getAttribute("src"),alt:null==t?void 0:t.getAttribute("alt"),caption:null==t?void 0:t.getAttribute("caption"),width:i?Number.parseInt(i,10):null,align:(null==t?void 0:t.getAttribute("align"))||e.style.textAlign||null,inline:(null==t?void 0:t.getAttribute("inline"))||!1,flipX:"true"===n,flipY:"true"===o}}}],addProseMirrorPlugins(){let e=function({validateFn:e,onUpload:t,postUpload:i}){return(n,o,a)=>{for(let r of n){if(e&&!e(r))continue;let n=Date.now().toString(),l=o.state.tr;l.selection.empty||l.deleteSelection();let s=URL.createObjectURL(r);l.setMeta(eG,{add:[{id:n,pos:a,src:s}]}),o.dispatch(l),t(r).then(async e=>{var t;i&&"string"==typeof e&&(e=await i(e));let{schema:a}=o.state,r=function(e,t){var i;let n=eG.getState(e).find(void 0,void 0,e=>e.id===t);return n.length>0?null==(i=n[0])?void 0:i.from:null}(o.state,n);if(null===r)return;let l="object"==typeof e?s:e,c=null==(t=a.nodes.image)?void 0:t.create({src:l});if(!c)return;let{doc:d}=o.state;r>d.content.size&&(r=d.content.size-1);let u=o.state.tr.replaceWith(r,r,c).setMeta(eG,{remove:[n]});o.dispatch(u)},()=>{let e=o.state.tr.delete(a,a).setMeta(eG,{remove:[n]});o.dispatch(e)})}}}({validateFn:e=>!(!this.options.acceptMimes.includes(e.type)||e.size>this.options.maxSize),onUpload:this.options.upload});return[new l.P({props:{handlePaste:(t,i)=>!(!i.clipboardData||[...i.clipboardData.files||[]].some(e=>"text/html"===e.type))&&function(e,t,i){var n;let o=[...(null==(n=t.clipboardData)?void 0:n.files)||[]];if(o.length>0){t.preventDefault();let n=e.state.selection.from;return i(o,e,n+1),!0}return!1}(t,i,e),handleDrop:(t,i,n,o)=>(i instanceof DragEvent&&i.dataTransfer&&function(e,t,i,n){var o;let a=[...(null==(o=t.dataTransfer)?void 0:o.files)||[]];if(!i&&a.length>0){t.preventDefault();let i=e.posAtCoords({left:t.clientX,top:t.clientY});i&&n(a,e,i.pos+1)}}(t,i,o,e),!1)}}),new l.P({key:eG,state:{init:()=>
1l.$.empty,apply(e,t){t=t.map(e.mapping,e.doc);let i=e.getMeta(eG);if(null!=i&&i.add)for(let{id:n,pos:o,src:a}of i.add){let i=function(e){let t=document.createElement("div"),i=document.createElement("img");return i.setAttribute("class","opacity-50"),i.src=e,i.addEventListener("load",()=>{t.setAttribute("class","img-placeholder")}),t.append(i),t}(a),r=l.a0.widget(o,i,{id:n});t=t.add(e.doc,[r])}else if(null!=i&&i.remove)for(let e of i.remove)t=t.remove(t.find(void 0,void 0,t=>t.id===e));return t}},props:{decorations(e){return this.getState(e)}}})]}});function e1(e){let{t}=(0,j.u)(),[i,n]=(0,c.useState)(""),o=(0,c.useRef)(null),a=(0,l.ar)(eF),[r,d]=(0,c.useState)(""),u=(0,c.useMemo)(()=>{var t;return null==(t=e.editor.extensionManager.extensions.find(e=>e.name===e2.name))?void 0:t.options},[e.editor]);async function h(t){var i;let n=null==(i=null==t?void 0:t.target)?void 0:i.files;if(!e.editor||e.editor.isDestroyed||0===n.length)return;let o=n[0],a="";a=u.upload?await u.upload(o):URL.createObjectURL(o),e.editor.chain().setVideo({src:a,width:"100%"}).focus().run(),eK.setOpen(!1)}return(0,s.jsxs)(k.w,{open:a,onOpenChange:eK.setOpen,children:[(0,s.jsx)(k.x,{asChild:!0,children:(0,s.jsx)(k.A,{icon:e.icon,action:()=>eK.setOpen(!0),tooltip:e.tooltip})}),(0,s.jsxs)(k.y,{children:[(0,s.jsx)(k.z,{children:t("editor.video.dialog.title")}),(0,s.jsxs)(em,{defaultValue:(null==u?void 0:u.resourceVideo)==="both"||(null==u?void 0:u.resourceVideo)==="upload"?"upload":"link",activationMode:"manual",children:[(0,s.jsxs)(ep,{className:"richtext-grid richtext-w-full richtext-grid-cols-2",children:[((null==u?void 0:u.resourceVideo)==="both"||(null==u?void 0:u.resourceVideo)==="upload")&&(0,s.jsx)(eg,{value:"upload",children:t("editor.video.dialog.tab.upload")}),((null==u?void 0:u.resourceVideo)==="both"||(null==u?void 0:u.resourceVideo)==="link")&&(0,s.jsx)(eg,{value:"link",children:t("editor.video.dialog.link")})]}),(0,s.jsxs)(e_,{value:"upload",children:[(0,s.jsx)("div",{className:"richtext-flex ric
1htext-items-center richtext-gap-[10px]",children:(0,s.jsx)(k.B,{className:"richtext-w-full richtext-mt-1",size:"sm",onClick:function(e){var t;e.preventDefault(),null==(t=o.current)||t.click()},children:t("editor.video.dialog.tab.upload")})}),(0,s.jsx)("input",{type:"file",accept:"video/*",ref:o,multiple:!0,style:{display:"none"},onChange:h})]}),(0,s.jsxs)(e_,{value:"link",children:[(0,s.jsx)("form",{onSubmit:function(t){t.preventDefault(),t.stopPropagation(),i&&(e.editor.chain().setVideo({src:i,width:"100%"}).focus().run(),eK.setOpen(!1))},children:(0,s.jsxs)("div",{className:"richtext-flex richtext-items-center richtext-gap-2",children:[(0,s.jsx)(k.K,{type:"url",autoFocus:!0,value:i,onChange:e=>{let t=e.target.value;if(!/\.(?:mp4|webm|ogg|mov)$/i.test(t)){d("Invalid video URL"),n("");return}d(""),n(t)},required:!0,placeholder:t("editor.video.dialog.placeholder")}),(0,s.jsx)(k.B,{type:"submit",children:t("editor.video.dialog.button.apply")})]})}),r&&(0,s.jsx)("div",{className:"richtext-text-red-500 richtext-my-[5px]",children:r})]})]})]})]})}let e2=r.N.create({name:"video",group:"block",atom:!0,draggable:!0,addOptions:()=>({divider:!1,spacer:!1,allowFullscreen:!0,upload:void 0,frameborder:!1,resourceVideo:"both",width:j.V["size-medium"],HTMLAttributes:{class:"iframe-wrapper",style:"display: flex;justify-content: center;"},button:({editor:e,t})=>{var i,n;return{component:e1,componentProps:{action:()=>{},isActive:()=>e.isActive("video")||!1,disabled:!(null!=(n=(i=e.can()).setVideo)&&n.call(i,{})),icon:"Video",tooltip:t("editor.video.tooltip"),editor:e}}}}),addAttributes(){return{src:{default:null,renderHTML:({src:e})=>{var t;return{src:e?(t=(t=(t=e).replace("https://youtu.be/","https://www.youtube.com/watch?v=").replace("watch?v=","embed/")).replace("https://vimeo.com/","https://player.vimeo.com/video/"),/^https?:\/\/www.bilibili.com\/video\/.*/i.test(t)&&(t=t.replace(/\?.*$/,"").replace("https://www.bilibili.com/video/","https://player.bilibili.com/player.html?bvid=")),t.includes("drive.google.com")&&(t=t.replace("/view","/preview")),t):null}}},width:{default:this.options.width,renderHTML:({width:e})=>({width:(0,k.N)(e)})},frameborder:{default:this.options.frameborder?1:0,parseHTML:()=>this.options.frameborder?1:0},allowfullscreen:{default:this.options.allowFullscreen,parseHTML:()=>this.options.allowFullscreen}}},parseHTML:()=>[{tag:"div[data-video] iframe"}],renderHTML({HTMLAttributes:e}){let{width:t="100%"}=e??{},i={...e,width:"100%",height:"100%"},n=`position: relative;overflow: hidden;display: flex;flex: 1;max-width: ${t};`,o=`flex: 1;padding-bottom: ${9/16*100}%;`;return["div",{...this.options.HTMLAttributes,"data-video":""},["div",{style:n},["div",{style:o}],["iframe",i]]]},addCommands(){return{setVideo:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e}),updateVideo:e=>({commands:t})=>t.updateAttributes(this.name,e)}}});function e3(e,t){return({tr:t,state:i,dispatch:n})=>{let{selection:o}=i;return!!(t=function(e,t,i){let{doc:n,selection:o}=e;return n&&o&&o instanceof l.a4&&o.forEachCell((t,n)=>{e=function(e,t,i){if(!e.doc)return e;let n=e.doc.nodeAt(t);if(!n||i===n.attrs.backgroundColor)return e;let o={...n.attrs,backgroundColor:i};return e.setNodeMarkup(t,n.type,o,n.marks)}(e,n,i)}),e}(t=t.setSelection(o),0,e)).docChanged&&(null==n||n(t),!0)}}
1let e4=r.o.create({name:"tableCellBackground",addOptions:()=>({types:["tableCell"],HTMLAttributes:{}}),addGlobalAttributes(){return[{types:this.options.types,attributes:{backgroundColor:{parseHTML:e=>e.style.backgroundColor||"",renderHTML:e=>e.backgroundColor&&""!==e.backgroundColor?{style:`background-color: ${e.backgroundColor}`}:{}}}}]},addCommands(){return{setTableCellBackground:e=>e3(e,this.options),unsetTableCellBackground:()=>e3("",this.options)}}}),e5=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,e7=/CrOS/,e8=/android|ipad|playbook|silk/i;function e9(e={}){let t=e.ua||"u">typeof navigator&&navigator.userAgent;return t&&"object"==typeof t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"==typeof t&&!!(e5.test(t)&&!e7.test(t)||e.tablet&&e8.test(t)||e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.includes("Macintosh")&&t.includes("Safari"))}let e6=e=>Array.from({length:e}).map((e,t)=>t+1);function te(e){var t;let[i,n]=(0,c.useState)(!0),[o,a]=(0,c.useState)({rows:e9()?j.T:j.q,cols:e9()?j.T:j.q}),[r,l]=(0,c.useState)({rows:j.r,cols:j.r});return(0,s.jsxs)(k.P,{modal:!0,children:[(0,s.jsx)(k.o,{asChild:!0,children:null==e?void 0:e.children}),(0,s.jsx)(k.p,{className:"richtext-w-full !richtext-p-2",align:"start",side:"bottom",children:(0,s.jsxs)("div",{className:"richtext-p-0 table-grid-size-editor",children:[(0,s.jsx)("div",{className:"richtext-flex ric
1htext-flex-col richtext-flex-wrap richtext-justify-between richtext-gap-1",children:null==(t=e6(null==o?void 0:o.rows))?void 0:t.map(t=>{var c;return(0,s.jsx)("div",{className:"richtext-flex richtext-gap-1",children:null==(c=e6(null==o?void 0:o.cols))?void 0:c.map(c=>(0,s.jsx)("div",{className:`richtext-cursor-pointer richtext-border-border ${c<=r.cols&&t<=r.rows&&"!richtext-bg-foreground tableCellActive"}`,onMouseOver:()=>{t===o.rows&&a(e=>({...e,rows:Math.min(t+1,j.T)})),c===o.cols&&a(e=>({...e,cols:Math.min(c+1,j.T)})),l({rows:t,cols:c})},onMouseDown:()=>{null==e||e.createTable({rows:t,cols:c,withHeaderRow:i}),n(!1),a({rows:j.q,cols:j.q}),l({rows:j.r,cols:j.r})},children:(0,s.jsx)("div",{className:"richtext-w-4 richtext-h-4 richtext-p-1 !richtext-border richtext-rounded-[2px] richtext-box-border richtext-border-solid !richtext-border-border"})},`c-${c}`))},`r-${t}`)})}),(0,s.jsxs)("div",{className:"richtext-mt-2 richtext-text-sm richtext-text-center richtext-text-zinc-600",children:[r.rows," ","x",r.cols]})]})})]})}function tt(e){return(0,s.jsx)(te,{createTable:function(t){e.disabled||e.editor.chain().focus().insertTable({...t,withHeaderRow:!1}).run()},children:(0,s.jsx)(k.A,{icon:null==e?void 0:e.icon,tooltip:null==e?void 0:e.tooltip,disabled:null==e?void 0:e.disabled,color:null==e?void 0:e.color,action:null==e?void 0:e.action,isActive:null==e?void 0:e.isActive})})}let ti=r.a0.extend({addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),resizable:!0,lastColumnResizable:!0,allowTableNodeSelection:!1,button:({editor:e,t:t})=>({component:tt,componentProps:{disabled:e.isActive("table")||!1,icon:"Table",tooltip:t("editor.table.tooltip"),editor:e}})}},addExtensions(){return[r.a1.configure(this.options.tableRow),r.a2.configure(this.options.tableHeader),r.a3.configure(this.options.tableCell),e4.configure(this.options.tableCellBackgroun
1d)]}});function tn({editor:e,...t}){let{t:i}=(0,j.u)(),[n,o]=(0,c.useState)(-1),[a,r]=(0,c.useState)([]),[d,u]=(0,c.useState)(""),[h,m]=(0,c.useState)(""),[p,g]=(0,c.useState)(!1),[_,f]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{p||(u(""),m(""),o(-1),r([]),e.commands.setSearchTerm(""),e.commands.setReplaceTerm(""))},[e,p]),(0,c.useEffect)(()=>{p&&e&&e.commands&&e.commands.setSearchTerm&&e.commands.setSearchTerm(d)},[p,d,e]),(0,c.useEffect)(()=>{p&&e&&e.commands&&e.commands.setReplaceTerm&&e.commands.setReplaceTerm(h)},[p,h,e]),(0,c.useEffect)(()=>{if(!e)return;let t=e.extensionManager.extensions.find(e=>e.name===tc.name);if(!t)return;let i=()=>{if(!p)return;let e=t?t.storage.currentIndex:-1,i=t?t.storage.results:[];o(t=>t!==e?e:t),r(e=>(0,l.au)(e,i)?e:i)};return window.addEventListener(tl,i),()=>{t&&window.removeEventListener(tl,i)}},[p,e]),(0,s.jsxs)(k.P,{open:p,onOpenChange:g,children:[(0,s.jsx)(k.o,{disabled:null==t?void 0:t.disabled,asChild:!0,children:(0,s.jsx)(k.A,{tooltip:null==t?void 0:t.tooltip,isActive:null==t?void 0:t.isActive,disabled:null==t?void 0:t.disabled,children:(0,s.jsx)(k.I,{name:null==t?void 0:t.icon})})}),(0,s.jsxs)(k.p,{hideWhenDetached:!0,className:"richtext-w-full",align:"start",side:"bottom",children:[(0,s.jsxs)("div",{className:"richtext-mb-[6px] richtext-flex ric
1htext-items-center richtext-justify-between",children:[(0,s.jsx)(k.J,{children:i("editor.search.dialog.text")}),(0,s.jsx)("span",{className:"richtext-font-semibold",children:a.length?`${n+1}/${a.length}`:"0/0"})]}),(0,s.jsxs)("div",{className:"richtext-flex richtext-w-full richtext-max-w-sm richtext-items-center richtext-gap-1.5 richtext-mb-[10px]",children:[(0,s.jsx)(k.K,{type:"text",required:!0,className:"richtext-w-full",placeholder:"Text",autoFocus:!0,value:d,onChange:e=>u(e.target.value)}),(0,s.jsx)(k.B,{disabled:!a.length,className:"richtext-flex-1",onClick:e.commands.goToPrevSearchResult,children:(0,s.jsx)(k.I,{name:"ChevronUp"})}),(0,s.jsx)(k.B,{disabled:!a.length,className:"richtext-flex-1",onClick:e.commands.goToNextSearchResult,children:(0,s.jsx)(k.I,{name:"ChevronDown"})})]}),(0,s.jsx)(k.J,{className:"richtext-mb-[6px]",children:i("editor.replace.dialog.text")}),(0,s.jsx)("div",{className:"richtext-flex richtext-w-full richtext-max-w-sm richtext-items-center richtext-gap-1.5 richtext-mb-[5px]",children:(0,s.jsx)("div",{className:"richtext-relative richtext-items-center richtext-w-full richtext-max-w-sm",children:(0,s.jsx)(k.K,{type:"text",required:!0,className:"richtext-w-80",placeholder:"Text",value:h,onChange:e=>m(e.target.value)})})}
1),(0,s.jsxs)("div",{className:"richtext-flex richtext-items-center richtext-space-x-2 richtext-mb-[10px]",children:[(0,s.jsx)(k.S,{checked:_,onCheckedChange:t=>{f(t),e.commands.setCaseSensitive(t)}}),(0,s.jsx)(k.J,{children:i("editor.replace.caseSensitive")})]}),(0,s.jsxs)("div",{className:"richtext-flex richtext-items-center richtext-gap-[10px]",children:[(0,s.jsx)(k.B,{disabled:!a.length,className:"richtext-flex-1",onClick:e.commands.replace,children:i("editor.replace.dialog.text")}),(0,s.jsx)(k.B,{disabled:!a.length,className:"richtext-flex-1",onClick:e.commands.replaceAll,children:i("editor.replaceAll.dialog.text")})]})]})]})}r.o.create({name:"painter",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>{e.commands.setPainter(null==e?void 0:e.state.selection.$head.marks())},icon:"PaintRoller",tooltip:t("editor.format")}})}},addCommands:()=>({setPainter:e=>({view:{dispatch:t,state:{tr:i},dom:n}})=>{let o=`url("data:image/svg+xml;utf8,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#000" d="M9 22v-6H4V7q0-1.65 1.175-2.825T8 3h12v13h-5v6zM6 10h12V5h-1v4h-2V5h-1v2h-2V5H8q-.825 0-1.412.588T6 7zm0 4h12v-2H6zm0 0v-2z"/></svg>')}"), auto`;return n.style.cursor=o,t(i.setMeta("painterAction",{type:"start",marks:e})),!0}}),addProseMirrorPlugins:()=>[new l.P({key:new l.b("format-painter"),state:{init:()=>[],apply:(e,t)=>{let i=e.getMeta("painterAction");return i&&"start"===i.type?t=i.marks:i&&"end"===i.type&&(t=[]),t}},props:{handleDOMEvents:{mousedown(e,t){let i=this.getState(e.state);if(!i||0===i.length)return e.dom.style.cursor="",!1;let n=()=>{document.removeEventListener("mouseup",n);let{dispatch:t,state:{tr:o,selection:a},dom:r}=e;for(let e of(r.style.cursor="",o=o.removeMark(a.from,a.to),i))"link"!==e.type.name&&(o=o.addMark(a.from,a.to,e));t(o.setMeta("painterAction",{type:"end"}))};return document.addEventListener("mouseup",n),!0}}}})]});let to=(e,t)=>t(e.tr);function ta(e,t,{state:i,dispatch:n}){if(!t[0])return;let{from:o,to:a}=t[0];n&&n(i.tr.insertText(e,o,a))}function tr({view:e,tr:t,searchResults:i,searchResultCurrentClass:n,gotoIndex:o}){let a=i[o];if(a){let i=t.setMeta("directDecoration",{fromPos:a.from,toPos:a.to,attrs:{class:n}});return null==e||e.dispatch(i),setTimeout(()=>{let e=window.document.querySelector(`.${n}`);e&&(0,P.Z)(e,{behavior:"smooth",scrollMode:"if-needed"})},0),!0}return!1}let tl="ON_SEARCH_RESULTS",ts=new CustomEvent(tl),tc=r.o.create({name:"search",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),searchTerm:"",replaceTerm:"",results:[],currentIndex:0,searchResultClass:"search-result",searchResultCurrentClass:"search-result-current",caseSensitive:!1,disableRegex:!1,onChange:()=>{},button:({editor:e,t:t})=>({component:tn,componentProps:{action:()=>{},icon:"SearchAndReplace",tooltip:t("editor.searchAndReplace.tooltip"),isActive:()=>!1,disabled:!1,editor:e}})}},addStorage:()=>({results:[],currentIndex:-1}),addCommands(){return{setSearchTerm:e=>({state:t,dispatch:i})=>(this.options.searchTerm=e,this.storage.results=[],this.storage.currentIndex=0,window.dispatchEvent(ts),to(t,i),!1),setReplaceTerm:e=>({state:t,dispatch:i})=>(this.options.replaceTerm=e,to(t,i),!1),setCaseSensitive:e=>({state:t,dispatch:i})=>(this.options.caseSensitive=e,to(t,i),!1),replace:()=>({state:e,dispatch:t})=>{let{replaceTerm:i}=this.options,{currentIndex:n,results:o}=this.storage,a=o[n];return a?(ta(i,[a],{state:e,dispatch:t}),this.storage.results.splice(n,1)):(ta(i,o,{state:e,dispatch:t}),this.storage.results.shift()),window.dispatchEvent(ts),to(e,t),!1},replaceAll:()=>({state:e,tr:t,dispatch:i})=>{let{replaceTerm:n}=this.options,{results:o}=this.storage;return function(e,t,{tr:i,dispatch:n}){let o=0,a=t.slice();if(!a.length)return 0;for(let t=0;t<a.length;t+=1){let{from:n,to:r}=a[t];i.insertText(e,n,r);let l=function(e,t,i,n){let o=t+1;if(!n[o])return null;let{from:a,to:r}=n[t],l=r-a-e.length+i,{from:s,to:c}=n[o];return n[o]={to:c-l,from:s-l},[l,n]}(e,t,o,a);l&&(o=l[0],a=l[1])}n(i)}(n,o,{tr:t,dispatch:i}),this.storage.currentIndex=-1,this.storage.results=[],window.dispatchEvent(ts),to(e,i),!1},goToPrevSearchResult:()=>({view:e,tr:t})=>{let{searchResultCurrentClass:i}=this.options,{currentIndex:n,results:o}=this.storage,a=(n+o.length-1)%o.length;return this.storage.currentIndex=a,window.dispatchEvent(ts),tr({view:e,tr:t,searchResults:o,searchResultCurrentClass:i,gotoIndex:a})},goToNextSearchResult:()=>({view:e,tr:t})=>{let{searchResultCurrentClass:i}=this.options,{currentIndex:n,results:o}=this.storage,a=(n+1)%o.length;return this.storage.currentIndex=a,this.options.onChange&&this.options.onChange(),window.dispatchEvent(ts),tr({view:e,tr:t,searchResults:o,searchResultCurrentClass:i,gotoIndex:a})}}},addProseMirrorPlugins(){let e=this;return[new l.P({key:new l.b("search"),state:{init:()=>l.$.empty,apply(t){let{doc:i,docChanged:n}=t,{searchTerm:o,searchResultClass:a,searchResultCurrentClass:r,disableRegex:s,caseSensitive:c}=e.options;if(n||o){let{decorationsToReturn:n,results:d}=function(e,t,i){let n=[],o=[],a=[],r=0;if(!t)return{decorationsToReturn:[],results:[]};null==e||e.descendants((e,t)=>{e.isText?o[r]?o[r]={text:o[r].text+e.text,pos:o[r].pos}:o[r]={text:`${e.text}`,pos:t}:r+=1}
1),o=o.filter(Boolean);for(let e=0;e<o.length;e+=1){let{text:i,pos:n}=o[e],r=[...i.matchAll(t)];for(let e=0;e<r.length;e+=1){let t=r[e];if(""===t[0])break;void 0!==t.index&&a.push({from:n+t.index,to:n+t.index+t[0].length})}}for(let e=0;e<a.length;e+=1){let t=a[e];n.push(l.a0.inline(t.from,t.to,{class:i}))}return{decorationsToReturn:n,results:a}}(i,RegExp(s?o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"):o,c?"gu":"gui"),a);if(e.storage.results=d,e.storage.currentIndex>d.length-1&&(e.storage.currentIndex=0),window.dispatchEvent(ts),t.getMeta("directDecoration")){let{fromPos:e,toPos:i,attrs:o}=t.getMeta("directDecoration");n.push(l.a0.inline(e,i,o))}else d.length&&(n[0]=l.a0.inline(d[0].from,d[0].to,{class:r}));return l.$.create(i,n)}return l.$.empty}},props:{decorations(e){return this.getState(e)}}})]}}),td={100:"\uD83D\uDCAF",1234:"\uD83D\uDD22",grinning:"\uD83D\uDE00",smiley:"\uD83D\uDE03",smile:"\uD83D\uDE04",grin:"\uD83D\uDE01",laughing:"\uD83D\uDE06",satisfied:"\uD83D\uDE06",sweat_smile:"\uD83D\uDE05",rofl:"\uD83E\uDD23",joy:"\uD83D\uDE02",slightly_smiling_face:"\uD83D\uDE42",upside_down_face:"\uD83D\uDE43",wink:"\uD83D\uDE09",blush:"\uD83D\uDE0A",innocent:"\uD83D\uDE07",smiling_face_with_three_hearts:"\uD83E\uDD70",heart_eyes:"\uD83D\uDE0D",star_struck:"\uD83E\uDD29",kissing_heart:"\uD83D\uDE18",kissing:"\uD83D\uDE17",relaxed:"âºï¸",kissing_closed_eyes:"\uD83D\uDE1A",kissing_smiling_eyes:"\uD83D\uDE19",smiling_face_with_tear:"\uD83E\uDD72",yum:"\uD83D\uDE0B",stuck_out_tongue:"\uD83D\uDE1B",stuck_out_tongue_winking_eye:"\uD83D\uDE1C",zany_face:"\uD83E\uDD2A",stuck_out_tongue_closed_eyes:"\uD83D\uDE1D",money_mouth_face:"\uD83E\uDD11",hugs:"\uD83E\uDD17",hand_over_mouth:"\uD83E\uDD2D",shushing_face:"\uD83E\uDD2B",thinking:"\uD83E\uDD14",zipper_mouth_face:"\uD83E\uDD10",raised_eyebrow:"\uD83E\uDD28",neutral_face:"\uD83D\uDE10",expressionless:"\uD83D\uDE11",no_mouth:"\uD83D\uDE36",smirk:"\uD83D\uDE0F",unamused:"\uD83D\uDE12",roll_eyes:"\uD83D\uDE44",grimacing:"\uD83D\uDE2C",lying_face:"\uD83E\uDD25",relieved:"\uD83D\uDE0C",pensive:"\uD83D\uDE14",sleepy:"\uD83D\uDE2A",drooling_face:"\uD83E\uDD24",sleeping:"\uD83D\uDE34",mask:"\uD83D\uDE37",face_with_thermometer:"\uD83E\uDD12",face_with_head_bandage:"\uD83E\uDD15",nauseated_face:"\uD83E\uDD22",vomiting_face:"\uD83E\uDD2E",sneezing_face:"\uD83E\uDD27",hot_face:"\uD83E\uDD75",cold_face:"\uD83E\uDD76",woozy_face:"\uD83E\uDD74",dizzy_face:"\uD83D\uDE35",exploding_head:"\uD83E\uDD2F",cowboy_hat_face:"\uD83E\uDD20",partying_face:"\uD83E\uDD73",disguised_face:"\uD83E\uDD78",sunglasses:"\uD83D\uDE0E",nerd_face:"\uD83E\uDD13",monocle_face:"\uD83E\uDDD0",confused:"\uD83D\uDE15",worried:"\uD83D\uDE1F",slightly_frowning_face:"\uD83D\uDE41",frowning_face:"â¹ï¸",open_mouth:"\uD83D\uDE2E",hushed:"\uD83D\uDE2F",astonished:"\uD83D\uDE32",flushed:"\uD83D\uDE33",pleading_face:"\uD83E\uDD7A",frowning:"\uD83D\uDE26",anguished:"\uD83D\uDE27",fearful:"\uD83D\uDE28",cold_sweat:"\uD83D\uDE30",disappointed_relieved:"\uD83D\uDE25",cry:"\uD83D\uDE22",sob:"\uD83D\uDE2D",scream:"\uD83D\uDE31",confounded:"\uD83D\uDE16",persevere:"\uD83D\uDE23",disappointed:"\uD83D\uDE1E",sweat:"\uD83D\uDE13",weary:"\uD83D\uDE29",tired_face:"\uD83D\uDE2B",yawning_face:"\uD83E\uDD71",triumph:"\uD83D\uDE24",rage:"\uD83D\uDE21",pout:"\uD83D\uDE21",angry:"\uD83D\uDE20",cursing_face:"\uD83E\uDD2C",smiling_imp:"\uD83D\uDE08",imp:"\uD83D\uDC7F",skull:"\uD83D\uDC80",skull_and_crossbones:"â ï¸",hankey:"\uD83D\uDCA9",poop:"\uD83D\uDCA9",shit:"\uD83D\uDCA9",clown_face:"\uD83E\uDD21",japanese_ogre:"\uD83D\uDC79",japanese_goblin:"\uD83D\uDC7A",ghost:"\uD83D\uDC7B",alien:"\uD83D\uDC7D",space_invader:"\uD83D\uDC7E",robot:"\uD83E\uDD16",smiley_cat:"\uD83D\uDE3A",smile_cat:"\uD83D\uDE38",joy_cat:"\uD83D\uDE39",heart_eyes_cat:"\uD83D\uDE3B",smirk_cat:"\uD83D\uDE3C",kissing_cat:"\uD83D\uDE3D",scream_cat:"\uD83D\uDE40",crying_cat_face:"\uD83D\uDE3F",pouting_cat:"\uD83D\uDE3E",see_no_evil:"\uD83D\uDE48",hear_no_evil:"\uD83D\uDE49",speak_no_evil:"\uD83D\uDE4A",kiss:"\uD83D\uDC8B",love_letter:"\uD83D\uDC8C",cupid:"\uD83D\uDC98",gift_heart:"\uD83D\uDC9D",sparkling_heart:"\uD83D\uDC96",heartpulse:"\uD83D\uDC97",heartbeat:"\uD83D\uDC93",revolving_hearts:"\uD83D\uDC9E",two_hearts:"\uD83D\uDC95",heart_decoration:"\uD83D\uDC9F",heavy_heart_exclamation:"â£ï¸",broken_heart:"\uD83D\uDC94",heart:"â¤ï¸",orange_heart:"\uD83E\uDDE1",yellow_heart:"\uD83D\uDC9B",green_heart:"\uD83D\uDC9A",blue_heart:"\uD83D\uDC99",purple_heart:"\uD83D\uDC9C",brown_heart:"\uD83E\uDD0E",black_heart:"\uD83D\uDDA4",white_heart:"\uD83E\uDD0D",anger:"\uD83D\uDCA2",boom:"\uD83D\uDCA5",collision:"\uD83D\uDCA5",dizzy:"\uD83D\uDCAB",sweat_drops:"\uD83D\uDCA6",dash:"\uD83D\uDCA8",hole:"\uD83D\uDD73ï¸",bomb:"\uD83D\uDCA3",speech_balloon:"\uD83D\uDCAC",eye_speech_bubble:"\uD83D\uDC41ï¸â\uD83D\uDDE8ï¸",left_speech_bubble:"\uD83D\uDDE8ï¸",right_anger_bubble:"\uD83D\uDDEFï¸",thought_balloon:"\uD83D\uDCAD",zzz:"\uD83D\uDCA4",wave:"\uD83D\uDC4B",raised_back_of_hand:"\uD83E\uDD1A",raised_hand_with_fingers_splayed:"\uD83D\uDD90ï¸",hand:"â",raised_hand:"â",vulcan_salute:"\uD83D\uDD96",ok_hand:"\uD83D\uDC4C",pinched_fingers:"\uD83E\uDD0C",pinching_hand:"\uD83E\uDD0F",v:"âï¸",crossed_fingers:"\uD83E\uDD1E",love_you_gesture:"\uD83E\uDD1F",metal:"\uD83E\uDD18",call_me_hand:"\uD83E\uDD19",point_left:"\uD83D\uDC48",point_right:"\uD83D\uDC49",point_up_2:"\uD83D\uDC46",middle_finger:"\uD83D\uDD95",fu:"\uD83D\uDD95",point_down:"\uD83D\uDC47",point_up:"âï¸","+1":"\uD83D\uDC4D",thumbsup:"\uD83D\uDC4D","-1":"\uD83D\uDC4E",thumbsdown:"\uD83D\uDC4E",fist_raised:"â",fist:"â",fist_oncoming:"\uD83D\uDC4A",facepunch:"\uD83D\uDC4A",punch:"\uD83D\uDC4A",fist_left:"\uD83E\uDD1B",fist_right:"\uD83E\uDD1C",clap:"\uD83D\uDC4F",raised_hands:"\uD83D\uDE4C",o
1pen_hands:"\uD83D\uDC50",palms_up_together:"\uD83E\uDD32",handshake:"\uD83E\uDD1D",pray:"\uD83D\uDE4F",writing_hand:"âï¸",nail_care:"\uD83D\uDC85",selfie:"\uD83E\uDD33",muscle:"\uD83D\uDCAA",mechanical_arm:"\uD83E\uDDBE",mechanical_leg:"\uD83E\uDDBF",leg:"\uD83E\uDDB5",foot:"\uD83E\uDDB6",ear:"\uD83D\uDC42",ear_with_hearing_aid:"\uD83E\uDDBB",nose:"\uD83D\uDC43",brain:"\uD83E\uDDE0",anatomical_heart:"\uD83E\uDEC0",lungs:"\uD83E\uDEC1",tooth:"\uD83E\uDDB7",bone:"\uD83E\uDDB4",eyes:"\uD83D\uDC40",eye:"\uD83D\uDC41ï¸",tongue:"\uD83D\uDC45",lips:"\uD83D\uDC44",baby:"\uD83D\uDC76",child:"\uD83E\uDDD2",boy:"\uD83D\uDC66",girl:"\uD83D\uDC67",adult:"\uD83E\uDDD1",blond_haired_person:"\uD83D\uDC71",man:"\uD83D\uDC68",bearded_person:"\uD83E\uDDD4",red_haired_man:"\uD83D\uDC68â\uD83E\uDDB0",curly_haired_man:"\uD83D\uDC68â\uD83E\uDDB1",white_haired_man:"\uD83D\uDC68â\uD83E\uDDB3",bald_man:"\uD83D\uDC68â\uD83E\uDDB2",woman:"\uD83D\uDC69",red_haired_woman:"\uD83D\uDC69â\uD83E\uDDB0",person_red_hair:"\uD83E\uDDD1â\uD83E\uDDB0",curly_haired_woman:"\uD83D\uDC69â\uD83E\uDDB1",person_curly_hair:"\uD83E\uDDD1â\uD83E\uDDB1",white_haired_woman:"\uD83D\uDC69â\uD83E\uDDB3",person_white_hair:"\uD83E\uDDD1â\uD83E\uDDB3",bald_woman:"\uD83D\uDC69â\uD83E\uDDB2",person_bald:"\uD83E\uDDD1â\uD83E\uDDB2",blond_haired_woman:"\uD83D\uDC71ââï¸",blonde_woman:"\uD83D\uDC71ââï¸",blond_haired_man:"\uD83D\uDC71ââï¸",older_adult:"\uD83E\uDDD3",older_man:"\uD83D\uDC74",older_woman:"\uD83D\uDC75",frowning_person:"\uD83D\uDE4D",frowning_man:"\uD83D\uDE4Dââï¸",frowning_woman:"\uD83D\uDE4Dââï¸",pouting_face:"\uD83D\uDE4E",pouting_man:"\uD83D\uDE4Eââï¸",pouting_woman:"\uD83D\uDE4Eââï¸",no_good:"\uD83D\uDE45",no_good_man:"\uD83D\uDE45ââï¸",ng_man:"\uD83D\uDE45ââï¸",no_good_woman:"\uD83D\uDE45ââï¸",ng_woman:"\uD83D\uDE45ââï¸",ok_person:"\uD83D\uDE46",ok_man:"\uD83D\uDE46ââï¸",ok_woman:"\uD83D\uDE46ââï¸",tipping_hand_person:"\uD83D\uDC81",information_desk_person:"\uD83D\uDC81",tipping_hand_man:"\uD83D\uDC81ââï¸",sassy_man:"\uD83D\uDC81ââï¸",tipping_hand_woman:"\uD83D\uDC81ââï¸",sassy_woman:"\uD83D\uDC81ââï¸",raising_hand:"\uD83D\uDE4B",raising_hand_man:"\uD83D\uDE4Bââï¸",raising_hand_woman:"\uD83D\uDE4Bââï¸",deaf_person:"\uD83E\uDDCF",deaf_man:"\uD83E\uDDCFââï¸",deaf_woman:"\uD83E\uDDCFââï¸",bow:"\uD83D\uDE47",bowing_man:"\uD83D\uDE47ââï¸",bowing_woman:"\uD83D\uDE47ââï¸",facepalm:"\uD83E\uDD26",man_facepalming:"\uD83E\uDD26ââï¸",woman_facepalming:"\uD83E\uDD26ââï¸",shrug:"\uD83E\uDD37",man_shrugging:"\uD83E\uDD37ââï¸",woman_shrugging:"\uD83E\uDD37ââï¸",health_worker:"\uD83E\uDDD1ââï¸",man_health_worker:"\uD83D\uDC68ââï¸",woman_health_worker:"\uD83D\uDC69ââï¸",student:"\uD83E\uDDD1â\uD83C\uDF93",man_student:"\uD83D\uDC68â\uD83C\uDF93",woman_student:"\uD83D\uDC69â\uD83C\uDF93",teacher:"\uD83E\uDDD1â\uD83C\uDFEB",man_teacher:"\uD83D\uDC68â\uD83C\uDFEB",woman_teacher:"\uD83D\uDC69â\uD83C\uDFEB",judge:"\uD83E\uDDD1ââï¸",man_judge:"\uD83D\uDC68ââï¸",woman_judge:"\uD83D\uDC69ââï¸",farmer:"\uD83E\uDDD1â\uD83C\uDF3E",man_farmer:"\uD83D\uDC68â\uD83C\uDF3E",woman_farmer:"\uD83D\uDC69â\uD83C\uDF3E",cook:"\uD83E\uDDD1â\uD83C\uDF73",man_cook:"\uD83D\uDC68â\uD83C\uDF73",woman_cook:"\uD83D\uDC69â\uD83C\uDF73",mechanic:"\uD83E\uDDD1â\uD83D\uDD27",man_mechanic:"\uD83D\uDC68â\uD83D\uDD27",woman_mechanic:"\uD83D\uDC69â\uD83D\uDD27",factory_worker:"\uD83E\uDDD1â\uD83C\uDFED",man_factory_worker:"\uD83D\uDC68â\uD83C\uDFED",woman_factory_worker:"\uD83D\uDC69â\uD83C\uDFED",office_worker:"\uD83E\uDDD1â\uD83D\uDCBC",man_office_worker:"\uD83D\uDC68â\uD83D\uDCBC",woman_office_worker:"\uD83D\uDC69â\uD83D\uDCBC",scientist:"\uD83E\uDDD1â\uD83D\uDD2C",man_scie
1ntist:"\uD83D\uDC68â\uD83D\uDD2C",woman_scientist:"\uD83D\uDC69â\uD83D\uDD2C",technologist:"\uD83E\uDDD1â\uD83D\uDCBB",man_technologist:"\uD83D\uDC68â\uD83D\uDCBB",woman_technologist:"\uD83D\uDC69â\uD83D\uDCBB",singer:"\uD83E\uDDD1â\uD83C\uDFA4",man_singer:"\uD83D\uDC68â\uD83C\uDFA4",woman_singer:"\uD83D\uDC69â\uD83C\uDFA4",artist:"\uD83E\uDDD1â\uD83C\uDFA8",man_artist:"\uD83D\uDC68â\uD83C\uDFA8",woman_artist:"\uD83D\uDC69â\uD83C\uDFA8",pilot:"\uD83E\uDDD1ââï¸",man_pilot:"\uD83D\uDC68ââï¸",woman_pilot:"\uD83D\uDC69ââï¸",astronaut:"\uD83E\uDDD1â\uD83D\uDE80",man_astronaut:"\uD83D\uDC68â\uD83D\uDE80",woman_astronaut:"\uD83D\uDC69â\uD83D\uDE80",firefighter:"\uD83E\uDDD1â\uD83D\uDE92",man_firefighter:"\uD83D\uDC68â\uD83D\uDE92",woman_firefighter:"\uD83D\uDC69â\uD83D\uDE92",police_officer:"\uD83D\uDC6E",cop:"\uD83D\uDC6E",policeman:"\uD83D\uDC6Eââï¸",policewoman:"\uD83D\uDC6Eââï¸",detective:"\uD83D\uDD75ï¸",male_detective:"\uD83D\uDD75ï¸ââï¸",female_detective:"\uD83D\uDD75ï¸ââï¸",guard:"\uD83D\uDC82",guardsman:"\uD83D\uDC82ââï¸",guardswoman:"\uD83D\uDC82ââï¸",ninja:"\uD83E\uDD77",construction_worker:"\uD83D\uDC77",construction_worker_man:"\uD83D\uDC77ââï¸",construction_worker_woman:"\uD83D\uDC77ââï¸",prince:"\uD83E\uDD34",princess:"\uD83D\uDC78",person_with_turban:"\uD83D\uDC73",man_with_turban:"\uD83D\uDC73ââï¸",woman_with_turban:"\uD83D\uDC73ââï¸",man_with_gua_pi_mao:"\uD83D\uDC72",woman_with_headscarf:"\uD83E\uDDD5",person_in_tuxedo:"\uD83E\uDD35",man_in_tuxedo:"\uD83E\uDD35ââï¸",woman_in_tuxedo:"\uD83E\uDD35ââï¸",person_with_veil:"\uD83D\uDC70",man_with_veil:"\uD83D\uDC70ââï¸",woman_with_veil:"\uD83D\uDC70ââï¸",bride_with_veil:"\uD83D\uDC70ââï¸",pregnant_woman:"\uD83E\uDD30",breast_feeding:"\uD83E\uDD31",woman_feeding_baby:"\uD83D\uDC69â\uD83C\uDF7C",man_feeding_baby:"\uD83D\uDC68â\uD83C\uDF7C",person_feeding_baby:"\uD83E\uDDD1â\uD83C\uDF7C",angel:"\uD83D\uDC7C",santa:"\uD83C\uDF85",mrs_claus:"\uD83E\uDD36",mx_claus:"\uD83E\uDDD1â\uD83C\uDF84",superhero:"\uD83E\uDDB8",superhero_man:"\uD83E\uDDB8ââï¸",superhero_woman:"\uD83E\uDDB8ââï¸",supervillain:"\uD83E\uDDB9",supervillain_man:"\uD83E\uDDB9ââï¸",supervillain_woman:"\uD83E\uDDB9ââï¸",mage:"\uD83E\uDDD9",mage_man:"\uD83E\uDDD9ââï¸",mage_woman:"\uD83E\uDDD9ââï¸",fairy:"\uD83E\uDDDA",fairy_man:"\uD83E\uDDDAââï¸",fairy_woman:"\uD83E\uDDDAââï¸",vampire:"\uD83E\uDDDB",vampire_man:"\uD83E\uDDDBââï¸",vampire_woman:"\uD83E\uDDDBââï¸",merperson:"\uD83E\uDDDC",merman:"\uD83E\uDDDCââï¸",mermaid:"\uD83E\uDDDCââï¸",elf:"\uD83E\uDDDD",elf_man:"\uD83E\uDDDDââï¸",elf_woman:"\uD83E\uDDDDââï¸",genie:"\uD83E\uDDDE",genie_man:"\uD83E\uDDDEââï¸",genie_woman:"\uD83E\uDDDEââï¸",zombie:"\uD83E\uDDDF",zombie_man:"\uD83E\uDDDFââï¸",zombie_woman:"\uD83E\uDDDFââï¸",massage:"\uD83D\uDC86",massage_man:"\uD83D\uDC86ââï¸",massage_woman:"\uD83D\uDC86ââï¸",haircut:"\uD83D\uDC87",haircut_man:"\uD83D\uDC87ââï¸",haircut_woman:"\uD83D\uDC87ââï¸",walking:"\uD83D\uDEB6",walking_man:"\uD83D\uDEB6ââï¸",walking_woman:"\uD83D\uDEB6ââï¸",standing_person:"\uD83E\uDDCD",standing_man:"\uD83E\uDDCDââï¸",standing_woman:"\uD83E\uDDCDââï¸",kneeling_person:"\uD83E\uDDCE",kneeling_man:"\uD83E\uDDCEââï¸",kneeling_woman:"\uD83E\uDDCEââï¸",person_with_probing_cane:"\uD83E\uDDD1â\uD83E\uDDAF",man_with_probing_cane:"\uD83D\uDC68â\uD83E\uDDAF",woman_with_probing_cane:"\uD83D\uDC69â\uD83E\uDDAF",person_in_motorized_wheelchair:"\uD83E\uDDD1â\uD83E\uDDBC",man_in_motorized_wheelchair:"\uD83D\uDC68â\uD83E\uDDBC",woman_in_motorized_wheelchair:"\uD83D\uDC69â\uD83E\uDDBC",person_in_manual_wheelchair:"\uD83E\uDDD1â\uD83E\uDDBD",man_in_manual_wheelchair:"\uD83D\uDC68â\uD83E\uDDBD",woman_in_manual_wheelchair:"\uD83D\uDC69â\uD83E\uDDBD",runner:"\uD83C\uDFC3",running:"\uD83C\uDFC3",running_man:"\uD83C\uDFC3ââï¸",running_woman:"\uD83C\uDFC3ââï¸",woman_dancing:"\uD83D\uDC83",dancer:"\uD83D\uDC83",man_dancing:"\uD83D\uDD7A",business_suit_levitating:"\uD83D\uDD74ï¸",dancers:"\uD83D\uDC6F",dancing_men:"\uD83D\uDC6Fââï¸",dancing_women:"\uD83D\uDC6Fââï¸",sauna_person:"\uD83E\uDDD6",sauna_man:"\uD83E\uDDD6ââï¸",sauna_woman:"\uD83E\uDDD6ââï¸",climbing:"\uD83E\uDDD7",climbing_man:"\uD83E\uDDD7ââï¸",climbing_woman:"\uD83E\uDDD7ââï¸",person_fencing:"\uD83E\uDD3A",horse_racing:"\uD83C\uDFC7",skier:"â·ï¸",snowboarder:"\uD83C\uDFC2",golfing:"\uD83C\uDFCCï¸",golfing_man:"\uD83C\uDFCCï¸ââï¸",golfing_woman:"\uD83C\uDFCCï¸ââï¸",surfer:"\uD83C\uDFC4",surf
1ing_man:"\uD83C\uDFC4ââï¸",surfing_woman:"\uD83C\uDFC4ââï¸",rowboat:"\uD83D\uDEA3",rowing_man:"\uD83D\uDEA3ââï¸",rowing_woman:"\uD83D\uDEA3ââï¸",swimmer:"\uD83C\uDFCA",swimming_man:"\uD83C\uDFCAââï¸",swimming_woman:"\uD83C\uDFCAââï¸",bouncing_ball_person:"â¹ï¸",bouncing_ball_man:"â¹ï¸ââï¸",basketball_man:"â¹ï¸ââï¸",bouncing_ball_woman:"â¹ï¸ââï¸",basketball_woman:"â¹ï¸ââï¸",weight_lifting:"\uD83C\uDFCBï¸",weight_lifting_man:"\uD83C\uDFCBï¸ââï¸",weight_lifting_woman:"\uD83C\uDFCBï¸ââï¸",bicyclist:"\uD83D\uDEB4",biking_man:"\uD83D\uDEB4ââï¸",biking_woman:"\uD83D\uDEB4ââï¸",mountain_bicyclist:"\uD83D\uDEB5",mountain_biking_man:"\uD83D\uDEB5ââï¸",mountain_biking_woman:"\uD83D\uDEB5ââï¸",cartwheeling:"\uD83E\uDD38",man_cartwheeling:"\uD83E\uDD38ââï¸",woman_cartwheeling:"\uD83E\uDD38ââï¸",wrestling:"\uD83E\uDD3C",men_wrestling:"\uD83E\uDD3Cââï¸",women_wrestling:"\uD83E\uDD3Cââï¸",water_polo:"\uD83E\uDD3D",man_playing_water_polo:"\uD83E\uDD3Dââï¸",woman_playing_water_polo:"\uD83E\uDD3Dââï¸",handball_person:"\uD83E\uDD3E",man_playing_handball:"\uD83E\uDD3Eââï¸",woman_playing_handball:"\uD83E\uDD3Eââï¸",juggling_person:"\uD83E\uDD39",man_juggling:"\uD83E\uDD39ââï¸",woman_juggling:"\uD83E\uDD39ââï¸",lotus_position:"\uD83E\uDDD8",lotus_position_man:"\uD83E\uDDD8ââï¸",lotus_position_woman:"\uD83E\uDDD8ââï¸",bath:"\uD83D\uDEC0",sleeping_bed:"\uD83D\uDECC",people_holding_hands:"\uD83E\uDDD1â\uD83E\uDD1Dâ\uD83E\uDDD1",two_women_holding_hands:"\uD83D\uDC6D",couple:"\uD83D\uDC6B",two_men_holding_hands:"\uD83D\uDC6C",couplekiss:"\uD83D\uDC8F",couplekiss_man_woman:"\uD83D\uDC69ââ¤ï¸â\uD83D\uDC8Bâ\uD83D\uDC68",couplekiss_man_man:"\uD83D\uDC68ââ¤ï¸â\uD83D\uDC8Bâ\uD83D\uDC68",couplekiss_woman_woman:"\uD83D\uDC69ââ¤ï¸â\uD83D\uDC8Bâ\uD83D\uDC69",couple_with_heart:"\uD83D\uDC91",couple_with_heart_woman_man:"\uD83D\uDC69ââ¤ï¸â\uD83D\uDC68",couple_with_heart_man_man:"\uD83D\uDC68ââ¤ï¸â\uD83D\uDC68",couple_with_heart_woman_woman:"\uD83D\uDC69ââ¤ï¸â\uD83D\uDC69",family:"\uD83D\uDC6A",family_man_woman_boy:"\uD83D\uDC68â\uD83D\uDC69â\uD83D\uDC66",family_man_woman_girl:"\uD83D\uDC68â\uD83D\uDC69â\uD83D\uDC67",family_man_woman_girl_boy:"\uD83D\uDC68â\uD83D\uDC69â\uD83D\uDC67â\uD83D\uDC66",family_man_woman_boy_boy:"\uD83D\uDC68â\uD83D\uDC69â\uD83D\uDC66â\uD83D\uDC66",family_man_woman_girl_girl:"\uD83D\uDC68â\uD83D\uDC69â\uD83D\uDC67â\uD83D\uDC67",family_man_man_boy:"\uD83D\uDC68â\uD83D\uDC68â\uD83D\uDC66",family_man_man_girl:"\uD83D\uDC68â\uD83D\uDC68â\uD83D\uDC67",family_man_man_girl_boy:"\uD83D\uDC68â\uD83D\uDC68â\uD83D\uDC67â\uD83D\uDC66",family_man_man_boy_boy:"\uD83D\uDC68â\uD83D\uDC68â\uD83D\uDC66â\uD83D\uDC66",family_man_man_girl_girl:"\uD83D\uDC68â\uD83D\uDC68â\uD83D\uDC67â\uD83D\uDC67",family_woman_woman_boy:"\uD83D\uDC69â\uD83D\uDC69â\uD83D\uDC66",family_woman_woman_girl:"\uD83D\uDC69â\uD83D\uDC69â\uD83D\uDC67",family_woman_woman_girl_boy:"\uD83D\uDC69â\uD83D\uDC69â\uD83D\uDC67â\uD83D\uDC66",family_woman_woman_boy_boy:"\uD83D\uDC69â\uD83D\uDC69â\uD83D\uDC66â\uD83D\uDC66",family_woman_woman_girl_girl:"\uD83D\uDC69â\uD83D\uDC69â\uD83D\uDC67â\uD83D\uDC67",family_man_boy:"\uD83D\uDC68â\uD83D\uDC66",family_man_boy_boy:"\uD83D\uDC68â\uD83D\uDC66â\uD83D\uDC66",family_man_girl:"\uD83D\uDC68â\uD83D\uDC67",family_man_girl_boy:"\uD83D\uDC68â\uD83D\uDC67â\uD83D\uDC66",family_man_girl_girl:"\uD83D\uDC68â\uD83D\uDC67â\uD83D\uDC67",family_woman_boy:"\uD83D\uDC69â\uD83D\uDC66",family_woman_boy_boy:"\uD83D\uDC69â\uD83D\uDC66â\uD83D\uDC66",family_woman_girl:"\uD83D\uDC69â\uD83D\uDC67",family_woman_girl_boy:"\uD83D\uDC69â\uD83D\uDC67â\uD83D\uDC66",family_woman_girl_girl:"\uD83D\uDC69â\uD83D\uDC67â\uD83D\uDC67",speaking_head:"\uD83D\uDDE3ï¸",bust_in_silhouette:"\uD83D\uDC64",busts_in_silhouette:"\uD83D\uDC65",people_hugging:"\uD83E\uDEC2",footprints:"\uD83D\uDC63",monkey_face:"\uD83D\uDC35",monkey:"\uD83D\uDC12",gorilla:"\uD83E\uDD8D",orangutan:"\uD83E\uDDA7",dog:"\uD83D\uDC36",dog2:"\uD83D\uDC15",guide_dog:"\uD83E\uDDAE",service_dog:"\uD83D\uDC15â\uD83E\uDDBA",poodle:"\uD83D\uDC29",wolf:"\uD83D\uDC3A",fox_face:"\uD83E\uDD8A",raccoon:"\uD83E\uDD9D",cat:"\uD83D\uDC31",cat2:"\uD83D\uDC08",black_cat:"\uD83D\uDC08ââ¬",lion:"\uD83E\uDD81",tiger:"\uD83D\uDC2F",tiger2:"\uD83D\uDC05",leopard:"\uD83D\uDC06",horse:"\uD83D\uDC34",racehorse:"\uD83D\uDC0E",unicorn:"\uD83E\uDD84",zebra:"\uD83E\uDD93",deer:"\uD83E\uDD8C",bison:"\uD83E\uDDAC",cow:"\uD83D\uDC2E",ox:"\uD83D\uDC02",water_buffalo:"\uD83D\uDC03",cow2:"\uD83D\uDC04",pig:"\uD83D\uDC37",pig2:"\uD83D\uDC16",boar:"\uD83D\uDC17",pig_nose:"\uD83D\uDC3D",ram:"\uD83D\uDC0F",sheep:"\uD83D\uDC11",goat:"\uD83D\uDC10",dromedary_camel:"\uD83D\uDC2A",camel:"\uD83D\uDC2B",llama:"\uD83E\uDD99",giraffe:"\uD83E\uDD92",elephant:"\uD83D\uDC18",mammoth:"\uD83E\uDDA3",rhinoceros:"\uD83E\uDD8F",hippopotamus:"\uD83E\uDD9B",mouse:"\uD83D\uDC2D",mouse2:"\uD83D\uDC01",rat:"\uD83D\uDC00",hamster:"\uD83D\uDC39",rabbit:"\uD83D\uDC30",rabbit2:"\uD83D\uDC07",chipmunk:"\uD83D\uDC3Fï¸",beaver:"\uD83E\uDDAB",hedgehog:"\uD83E\uDD94",bat:"\uD83E\uDD87",bear:"\uD83D\uDC3B",polar_bear:"\uD83D\uDC3Bââï¸",koala:"\uD83D\uDC28",panda_face:"\uD83D\uDC3C",sloth:"\uD83E\uDDA5",otter:"\uD83E\uDDA6",skunk:"\uD83E\uDDA8",kangaroo:"\uD83E\uDD98",badger:"\uD83E\uDDA1",feet:"\uD83D\uDC3E",paw_prints:"\uD83D\uDC3E",turkey:"\uD83E\uDD83",chicken:"\uD83D\uDC14",rooster:"\uD83D\uDC13",hatching_chick:"\uD83D\uDC23",baby_chick:"\uD83D\uDC24",hatched_chick:"\uD83D\uDC25",bird:"\uD83D\uDC26",penguin:"\uD83D\uDC27",dove:"\uD83D\uDD4Aï¸",eagle:"\uD83E\uDD85",duck:"\uD83E\uDD86",swan:"\uD83E\uDDA2",owl:"\uD83E\uDD89",dodo:"\uD83E\uDDA4",feather:"\uD83E\uDEB6",flamingo:"\uD83E\uDDA9",peacock:"\uD83E\uDD9A",parrot:"\uD83E\uDD9C",frog:"\uD83D\uDC38",crocodile:"\uD83D\uDC0A",turtle:"\uD83D\uDC22",lizard:"\uD83E\uDD8E",snake:"\uD83D\uDC0D",dragon_face:"\uD83D\uDC32",dragon:"\uD83D\uDC09",sauropod:"\uD83E\uDD95","t-rex":"\uD83E\uDD96",whale:"\uD83D\uDC33",whale2:"\uD83D\uDC0B",dolphin:"\uD83D\uDC2C",flipper:"\uD83D\uDC2C",seal:"\uD83E\uDDAD",fish:"\uD83D\uDC1F",tropical_fish:"\uD83D\uDC20",blowfish:"\uD83D\uDC21",shark:"\uD83E\uDD88",octopus:"\uD83D\uDC19",shell:"\uD83D\uDC1A",snail:"\uD83D\uDC0C",butterfly:"\uD83E\uDD8B",bug:"\uD83D\uDC1B",ant:"\uD83D\uDC1C",bee:"\uD83D\uDC1D",honeybee:"\uD83D\uDC1D",beetle:"\uD83E\uDEB2",lady_beetle:"\uD83D\uDC1E",cricket:"\uD83E\uDD97",cockroach:"\uD83E\uDEB3",spider:"\uD83D\uDD77ï¸",spider_web:"\uD83D\uDD78ï¸",scorpion:"\uD83E\uDD82",mosquito:"\uD83E\uDD9F",fly:"\uD83E\uDEB0",worm:"\uD83E\uDEB1",microbe:"\uD83E\uDDA0",bouquet:"\uD83D\uDC90",cherry_blossom:"\uD83C\uDF38",white_flower:"\uD83D\uDCAE",rosette:"\uD83C\uDFF5ï¸",rose:"\uD83C\uDF39",wilted_flower:"\uD83E\uDD40",hibiscus:"\uD83C\uDF3A",sunflower:"\uD83C\uDF3B",blossom:"\uD83C\uDF3C",tulip:"\uD83C\uDF37",seedling:"\uD83C\uDF31",potted_plant:"\uD83E\uDEB4",evergreen_tree:"\uD83C\uDF32",deciduous_tree:"\uD83C\uDF33",palm_tree:"\uD83C\uDF34",cactus:"\uD83C\uDF35",ear_of_rice:"\uD83C\uDF3E",herb:"\uD83C\uDF3F",shamrock:"âï¸",four_leaf_clover:"\uD83C\uDF40",maple_leaf:"\uD83C\uDF41",fallen_leaf:"\uD83C\uDF42",leaves:"\uD83C\uDF43",grapes:"\uD83C\uDF47",melon:"\uD83C\uDF48",watermelon:"\uD83C\uDF49",tangerine:"\uD83C\uDF4A",orange:"\uD83C\uDF4A",mandarin:"\uD83C\uDF4A",lemon:"\uD83C\uDF4B",banana:"\uD83C\uDF4C",pineapple:"\uD83C\uDF4D",mango:"\uD83E\uDD6D",a
1pple:"\uD83C\uDF4E",green_apple:"\uD83C\uDF4F",pear:"\uD83C\uDF50",peach:"\uD83C\uDF51",cherries:"\uD83C\uDF52",strawberry:"\uD83C\uDF53",blueberries:"\uD83E\uDED0",kiwi_fruit:"\uD83E\uDD5D",tomato:"\uD83C\uDF45",olive:"\uD83E\uDED2",coconut:"\uD83E\uDD65",avocado:"\uD83E\uDD51",eggplant:"\uD83C\uDF46",potato:"\uD83E\uDD54",carrot:"\uD83E\uDD55",corn:"\uD83C\uDF3D",hot_pepper:"\uD83C\uDF36ï¸",bell_pepper:"\uD83E\uDED1",cucumber:"\uD83E\uDD52",leafy_green:"\uD83E\uDD6C",broccoli:"\uD83E\uDD66",garlic:"\uD83E\uDDC4",onion:"\uD83E\uDDC5",mushroom:"\uD83C\uDF44",peanuts:"\uD83E\uDD5C",chestnut:"\uD83C\uDF30",bread:"\uD83C\uDF5E",croissant:"\uD83E\uDD50",baguette_bread:"\uD83E\uDD56",flatbread:"\uD83E\uDED3",pretzel:"\uD83E\uDD68",bagel:"\uD83E\uDD6F",pancakes:"\uD83E\uDD5E",waffle:"\uD83E\uDDC7",cheese:"\uD83E\uDDC0",meat_on_bone:"\uD83C\uDF56",poultry_leg:"\uD83C\uDF57",cut_of_meat:"\uD83E\uDD69",bacon:"\uD83E\uDD53",hamburger:"\uD83C\uDF54",fries:"\uD83C\uDF5F",pizza:"\uD83C\uDF55",hotdog:"\uD83C\uDF2D",sandwich:"\uD83E\uDD6A",taco:"\uD83C\uDF2E",burrito:"\uD83C\uDF2F",tamale:"\uD83E\uDED4",stuffed_flatbread:"\uD83E\uDD59",falafel:"\uD83E\uDDC6",egg:"\uD83E\uDD5A",fried_egg:"\uD83C\uDF73",shallow_pan_of_food:"\uD83E\uDD58",stew:"\uD83C\uDF72",fondue:"\uD83E\uDED5",bowl_with_spoon:"\uD83E\uDD63",green_salad:"\uD83E\uDD57",popcorn:"\uD83C\uDF7F",butter:"\uD83E\uDDC8",salt:"\uD83E\uDDC2",canned_food:"\uD83E\uDD6B",bento:"\uD83C\uDF71",rice_cracker:"\uD83C\uDF58",rice_ball:"\uD83C\uDF59",rice:"\uD83C\uDF5A",curry:"\uD83C\uDF5B",ramen:"\uD83C\uDF5C",spaghetti:"\uD83C\uDF5D",sweet_potato:"\uD83C\uDF60",oden:"\uD83C\uDF62",sushi:"\uD83C\uDF63",fried_shrimp:"\uD83C\uDF64",fish_cake:"\uD83C\uDF65",moon_cake:"\uD83E\uDD6E",dango:"\uD83C\uDF61",dumpling:"\uD83E\uDD5F",fortune_cookie:"\uD83E\uDD60",takeout_box:"\uD83E\uDD61",crab:"\uD83E\uDD80",lobster:"\uD83E\uDD9E",shrimp:"\uD83E\uDD90",squid:"\uD83E\uDD91",oyster:"\uD83E\uDDAA",icecream:"\uD83C\uDF66",shaved_ice:"\uD83C\uDF67",ice_cream:"\uD83C\uDF68",doughnut:"\uD83C\uDF69",cookie:"\uD83C\uDF6A",birthday:"\uD83C\uDF82",cake:"\uD83C\uDF70",cupcake:"\uD83E\uDDC1",pie:"\uD83E\uDD67",chocolate_bar:"\uD83C\uDF6B",candy:"\uD83C\uDF6C",lollipop:"\uD83C\uDF6D",custard:"\uD83C\uDF6E",honey_pot:"\uD83C\uDF6F",baby_bottle:"\uD83C\uDF7C",milk_glass:"\uD83E\uDD5B",coffee:"â",teapot:"\uD83E\uDED6",tea:"\uD83C\uDF75",sake:"\uD83C\uDF76",champagne:"\uD83C\uDF7E",wine_glass:"\uD83C\uDF77",cocktail:"\uD83C\uDF78",tropical_drink:"\uD83C\uDF79",beer:"\uD83C\uDF7A",beers:"\uD83C\uDF7B",clinking_glasses:"\uD83E\uDD42",tumbler_glass:"\uD83E\uDD43",cup_with_straw:"\uD83E\uDD64",bubble_tea:"\uD83E\uDDCB",beverage_box:"\uD83E\uDDC3",mate:"\uD83E\uDDC9",ice_cube:"\uD83E\uDDCA",chopsticks:"\uD83E\uDD62",plate_with_cutlery:"\uD83C\uDF7Dï¸",fork_and_knife:"\uD83C\uDF74",spoon:"\uD83E\uDD44",hocho:"\uD83D\uDD2A",knife:"\uD83D\uDD2A",amphora:"\uD83C\uDFFA",earth_africa:"\uD83C\uDF0D",earth_americas:"\uD83C\uDF0E",earth_asia:"\uD83C\uDF0F",globe_with_meridians:"\uD83C\uDF10",world_map:"\uD83D\uDDFAï¸",japan:"\uD83D\uDDFE",compass:"\uD83E\uDDED",mountain_snow:"\uD83C\uDFD4ï¸",mountain:"â°ï¸",volcano:"\uD83C\uDF0B",mount_fuji:"\uD83D\uDDFB",camping:"\uD83C\uDFD5ï¸",beach_umbrella:"\uD83C\uDFD6ï¸",desert:"\uD83C\uDFDCï¸",desert_island:"\uD83C\uDFDDï¸",national_park:"\uD83C\uDFDEï¸",stadium:"\uD83C\uDFDFï¸",classical_building:"\uD83C\uDFDBï¸",building_construction:"\uD83C\uDFD7ï¸",bricks:"\uD83E\uDDF1",rock:"\uD83E\uDEA8",wood:"\uD83E\uDEB5",hut:"\uD83D\uDED6",houses:"\uD83C\uDFD8ï¸",derelict_house:"\uD83C\uDFDAï¸",house:"\uD83C\uDFE0",house_with_garden:"\uD83C\uDFE1",office:"\uD83C\uDFE2",post_office:"\uD83C\uDFE3",european_post_office:"\uD83C\uDFE4",hospital:"\uD83C\uDFE5",bank:"\uD83C\uDFE6",hotel:"\uD83C\uDFE8",love_hotel:"\uD83C\uDFE9",convenience_store:"\uD83C\uDFEA",school:"\uD83C\uDFEB",department_store:"\uD83C\uDFEC",factory:"\uD83C\uDFED",japanese_castle:"\uD83C\uDFEF",european_castle:"\uD83C\uDFF0",wedding:"\uD83D\uDC92",tokyo_tower:"\uD83D\uDDFC",statue_of_liberty:"\uD83D\uDDFD",church:"âª",mosque:"\uD83D\uDD4C",hindu_temple:"\uD83D\uDED5",synagogue:"\uD83D\uDD4D",
1shinto_shrine:"â©ï¸",kaaba:"\uD83D\uDD4B",fountain:"â²",tent:"âº",foggy:"\uD83C\uDF01",night_with_stars:"\uD83C\uDF03",cityscape:"\uD83C\uDFD9ï¸",sunrise_over_mountains:"\uD83C\uDF04",sunrise:"\uD83C\uDF05",city_sunset:"\uD83C\uDF06",city_sunrise:"\uD83C\uDF07",bridge_at_night:"\uD83C\uDF09",hotsprings:"â¨ï¸",carousel_horse:"\uD83C\uDFA0",ferris_wheel:"\uD83C\uDFA1",roller_coaster:"\uD83C\uDFA2",barber:"\uD83D\uDC88",circus_tent:"\uD83C\uDFAA",steam_locomotive:"\uD83D\uDE82",railway_car:"\uD83D\uDE83",bullettrain_side:"\uD83D\uDE84",bullettrain_front:"\uD83D\uDE85",train2:"\uD83D\uDE86",metro:"\uD83D\uDE87",light_rail:"\uD83D\uDE88",station:"\uD83D\uDE89",tram:"\uD83D\uDE8A",monorail:"\uD83D\uDE9D",mountain_railway:"\uD83D\uDE9E",train:"\uD83D\uDE8B",bus:"\uD83D\uDE8C",oncoming_bus:"\uD83D\uDE8D",trolleybus:"\uD83D\uDE8E",minibus:"\uD83D\uDE90",ambulance:"\uD83D\uDE91",fire_engine:"\uD83D\uDE92",police_car:"\uD83D\uDE93",oncoming_police_car:"\uD83D\uDE94",taxi:"\uD83D\uDE95",oncoming_taxi:"\uD83D\uDE96",car:"\uD83D\uDE97",red_car:"\uD83D\uDE97",oncoming_automobile:"\uD83D\uDE98",blue_car:"\uD83D\uDE99",pickup_truck:"\uD83D\uDEFB",truck:"\uD83D\uDE9A",articulated_lorry:"\uD83D\uDE9B",tractor:"\uD83D\uDE9C",racing_car:"\uD83C\uDFCEï¸",motorcycle:"\uD83C\uDFCDï¸",motor_scooter:"\uD83D\uDEF5",manual_wheelchair:"\uD83E\uDDBD",motorized_wheelchair:"\uD83E\uDDBC",auto_rickshaw:"\uD83D\uDEFA",bike:"\uD83D\uDEB2",kick_scooter:"\uD83D\uDEF4",skateboard:"\uD83D\uDEF9",roller_skate:"\uD83D\uDEFC",busstop:"\uD83D\uDE8F",motorway:"\uD83D\uDEE3ï¸",railway_track:"\uD83D\uDEE4ï¸",oil_drum:"\uD83D\uDEE2ï¸",fuelpump:"â½",rotating_light:"\uD83D\uDEA8",traffic_light:"\uD83D\uDEA5",vertical_traffic_light:"\uD83D\uDEA6",stop_sign:"\uD83D\uDED1",construction:"\uD83D\uDEA7",anchor:"â",boat:"âµ",sailboat:"âµ",canoe:"\uD83D\uDEF6",speedboat:"\uD83D\uDEA4",passenger_ship:"\uD83D\uDEF3ï¸",ferry:"â´ï¸",motor_boat:"\uD83D\uDEE5ï¸",ship:"\uD83D\uDEA2",airplane:"âï¸",small_airplane:"\uD83D\uDEE9ï¸",flight_departure:"\uD83D\uDEEB",flight_arrival:"\uD83D\uDEEC",parachute:"\uD83E\uDE82",seat:"\uD83D\uDCBA",helicopter:"\uD83D\uDE81",suspension_railway:"\uD83D\uDE9F",mountain_cableway:"\uD83D\uDEA0",aerial_tramway:"\uD83D\uDEA1",artificial_satellite:"\uD83D\uDEF0ï¸",rocket:"\uD83D\uDE80",flying_saucer:"\uD83D\uDEF8",bellhop_bell:"\uD83D\uDECEï¸",luggage:"\uD83E\uDDF3",hourglass:"â",hourglass_flowing_sand:"â³",watch:"â",alarm_clock:"â°",stopwatch:"â±ï¸",timer_clock:"â²ï¸",mantelpiece_clock:"\uD83D\uDD70ï¸",clock12:"\uD83D\uDD5B",clock1230:"\uD83D\uDD67",clock1:"\uD83D\uDD50",clock130:"\uD83D\uDD5C",clock2:"\uD83D\uDD51",clock230:"\uD83D\uDD5D",clock3:"\uD83D\uDD52",clock330:"\uD83D\uDD5E",clock4:"\uD83D\uDD53",clock430:"\uD83D\uDD5F",clock5:"\uD83D\uDD54",clock530:"\uD83D\uDD60",clock6:"\uD83D\uDD55",clock630:"\uD83D\uDD61",clock7:"\uD83D\uDD56",clock730:"\uD83D\uDD62",clock8:"\uD83D\uDD57",clock830:"\uD83D\uDD63",clock9:"\uD83D\uDD58",clock930:"\uD83D\uDD64",clock10:"\uD83D\uDD59",clock1030:"\uD83D\uDD65",clock11:"\uD83D\uDD5A",clock1130:"\uD83D\uDD66",new_moon:"\uD83C\uDF11",waxing_crescent_moon:"\uD83C\uDF12",first_quarter_moon:"\uD83C\uDF13",moon:"\uD83C\uDF14",waxing_gibbous_moon:"\uD83C\uDF14",full_moon:"\uD83C\uDF15",waning_gibbous_moon:"\uD83C\uDF16",last_quarter_moon:"\uD83C\uDF17",waning_crescent_moon:"\uD83C\uDF18",crescent_moon:"\uD83C\uDF19",new_moon_with_face:"\uD83C\uDF1A",first_quarter_moon_with_face:"\uD83C\uDF1B",last_quarter_moon_with_face:"\uD83C\uDF1C",thermometer:"\uD83C\uDF21ï¸",sunny:"âï¸",full_moon_with_face:"\uD83C\uDF1D",sun_with_face:"\uD83C\uDF1E",ringed_planet:"\uD83E\uDE90",star:"â",star2:"\uD83C\uDF1F",stars:"\uD83C\uDF20",milky_way:"\uD83C\uDF0C",cloud:"âï¸",partly_sunny:"â
",cloud_with_lightning_and_rain:"âï¸",sun_behind_small_cloud:"\uD83C\uDF24ï¸",sun_behind_large_cloud:"\uD83C\uDF25ï¸",sun_behind_rain_cloud:"\uD83C\uDF26ï¸",cloud_with_rain:"\uD83C\uDF27ï¸",cloud_with_snow:"\uD83C\uDF28ï¸",cloud_with_lightning:"\uD83C\uDF29ï¸",tornado:"\uD83C\uDF2Aï¸",fog:"\uD83C\uDF2Bï¸",wind_face:"\uD83C\uDF2Cï¸",cyclone:"\uD83C\uDF00",rainbow:"\uD83C\uDF08",closed_umbrella:"\uD83C\uDF02",open_umbrella:"âï¸",umbrella:"â",parasol_on_ground:"â±ï¸",zap:"â¡",snowflake:"âï¸",snowman_with_snow:"âï¸",snowman:"â",comet:"âï¸",fire:"\uD83D\uDD25",droplet:"\uD83D\uDCA7",ocean:"\uD83C\uDF0A",jack_o_lantern:"\uD83C\uDF83",christmas_tree:"\uD83C\uDF84",fireworks:"\uD83C\uDF86",sparkler:"\uD83C\uDF87",firecracker:"\uD83E\uDDE8",sparkles:"â¨",balloon:"\uD83C\uDF88",tada:"\uD83C\uDF89",confetti_ball:"\uD83C\uDF8A",tanabata_tree:"\uD83C\uDF8B",bamboo:"\uD83C\uDF8D",dolls:"\uD83C\uDF8E",flags:"\uD83C\uDF8F",wind_chime:"\uD83C\uDF90",rice_scene:"\uD83C\uDF91",red_envelope:"\uD83E\uDDE7",ribbon:"\uD83C\uDF80",gift:"\uD83C\uDF81",reminder_ribbon:"\uD83C\uDF97ï¸",tickets:"\uD83C\uDF9Fï¸",ticket:"\uD83C\uDFAB",medal_military:"\uD83C\uDF96ï¸",trophy:"\uD83C\uDFC6",medal_sports:"\uD83C\uDFC5","1st_place_medal":"\uD83E\uDD47","2nd_place_medal":"\uD83E\uDD48","3rd_place_medal":"\uD83E\uDD49",soccer:"â½",baseball:"â¾",softball:"\uD83E\uDD4E",basketball:"\uD83C\uDFC0",volleyball:"\uD83C\uDFD0",football:"\uD83C\uDFC8",rugby_football:"\uD83C\uDFC9",tennis:"\uD83C\uDFBE",flying_disc:"\uD83E\uDD4F",bowling:"\uD83C\uDFB3",cricket_game:"\uD83C\uDFCF",field_hockey:"\uD83C\uDFD1",ice_hockey:"\uD83C\uDFD2",lacrosse:"\uD83E\uDD4D",ping_pong:"\uD83C\uDFD3",badminton:"\uD83C\uDFF8",boxing_glove:"\uD83E\uDD4A",martial_arts_uniform:"\uD83E\uDD4B",goal_net:"\uD83E\uDD45",golf:"â³",ice_skate:"â¸ï¸",fishing_pole_and_fish:"\uD83C\uDFA3",diving_mask:"\uD83E\uDD3F",running_shirt_with_sash:"\uD83C\uDFBD",ski:"\uD83C\uDFBF",sled:"\uD83D\uDEF7",curling_stone:"\uD83E\uDD4C",dart:"\uD83C\uDFAF",yo_yo:"\uD83E\uDE80",kite:"\uD83E\uDE81","8ball":"\uD83C\uDFB1",crystal_ball:"\uD83D\uDD2E",magic_wand:"\uD83E\uDE84",nazar_amulet:"\uD83E\uDDFF",video_game:"\uD83C\uDFAE",joystick:"\uD83D\uDD79ï¸",slot_machine:"\uD83C\uDFB0",game_die:"\uD83C\uDFB2",jigsaw:"\uD83E\uDDE9",teddy_bear:"\uD83E\uDDF8",pinata:"\uD83E\uDE85",
1nesting_dolls:"\uD83E\uDE86",spades:"â ï¸",hearts:"â¥ï¸",diamonds:"â¦ï¸",clubs:"â£ï¸",chess_pawn:"âï¸",black_joker:"\uD83C\uDCCF",mahjong:"\uD83C\uDC04",flower_playing_cards:"\uD83C\uDFB4",performing_arts:"\uD83C\uDFAD",framed_picture:"\uD83D\uDDBCï¸",art:"\uD83C\uDFA8",thread:"\uD83E\uDDF5",sewing_needle:"\uD83E\uDEA1",yarn:"\uD83E\uDDF6",knot:"\uD83E\uDEA2",eyeglasses:"\uD83D\uDC53",dark_sunglasses:"\uD83D\uDD76ï¸",goggles:"\uD83E\uDD7D",lab_coat:"\uD83E\uDD7C",safety_vest:"\uD83E\uDDBA",necktie:"\uD83D\uDC54",shirt:"\uD83D\uDC55",tshirt:"\uD83D\uDC55",jeans:"\uD83D\uDC56",scarf:"\uD83E\uDDE3",gloves:"\uD83E\uDDE4",coat:"\uD83E\uDDE5",socks:"\uD83E\uDDE6",dress:"\uD83D\uDC57",kimono:"\uD83D\uDC58",sari:"\uD83E\uDD7B",one_piece_swimsuit:"\uD83E\uDE71",swim_brief:"\uD83E\uDE72",shorts:"\uD83E\uDE73",bikini:"\uD83D\uDC59",womans_clothes:"\uD83D\uDC5A",purse:"\uD83D\uDC5B",handbag:"\uD83D\uDC5C",pouch:"\uD83D\uDC5D",shopping:"\uD83D\uDECDï¸",school_satchel:"\uD83C\uDF92",thong_sandal:"\uD83E\uDE74",mans_shoe:"\uD83D\uDC5E",shoe:"\uD83D\uDC5E",athletic_shoe:"\uD83D\uDC5F",hiking_boot:"\uD83E\uDD7E",flat_shoe:"\uD83E\uDD7F",high_heel:"\uD83D\uDC60",sandal:"\uD83D\uDC61",ballet_shoes:"\uD83E\uDE70",boot:"\uD83D\uDC62",crown:"\uD83D\uDC51",womans_hat:"\uD83D\uDC52",tophat:"\uD83C\uDFA9",mortar_board:"\uD83C\uDF93",billed_cap:"\uD83E\uDDE2",military_helmet:"\uD83E\uDE96",rescue_worker_helmet:"âï¸",prayer_beads:"\uD83D\uDCFF",lipstick:"\uD83D\uDC84",ring:"\uD83D\uDC8D",gem:"\uD83D\uDC8E",mute:"\uD83D\uDD07",speaker:"\uD83D\uDD08",sound:"\uD83D\uDD09",loud_sound:"\uD83D\uDD0A",loudspeaker:"\uD83D\uDCE2",mega:"\uD83D\uDCE3",postal_horn:"\uD83D\uDCEF",bell:"\uD83D\uDD14",no_bell:"\uD83D\uDD15",musical_score:"\uD83C\uDFBC",musical_note:"\uD83C\uDFB5",notes:"\uD83C\uDFB6",studio_microphone:"\uD83C\uDF99ï¸",level_slider:"\uD83C\uDF9Aï¸",control_knobs:"\uD83C\uDF9Bï¸",microphone:"\uD83C\uDFA4",headphones:"\uD83C\uDFA7",radio:"\uD83D\uDCFB",saxophone:"\uD83C\uDFB7",accordion:"\uD83E\uDE97",guitar:"\uD83C\uDFB8",musical_keyboard:"\uD83C\uDFB9",trumpet:"\uD83C\uDFBA",violin:"\uD83C\uDFBB",banjo:"\uD83E\uDE95",drum:"\uD83E\uDD41",long_drum:"\uD83E\uDE98",iphone:"\uD83D\uDCF1",calling:"\uD83D\uDCF2",phone:"âï¸",telephone:"âï¸",telephone_receiver:"\uD83D\uDCDE",pager:"\uD83D\uDCDF",fax:"\uD83D\uDCE0",battery:"\uD83D\uDD0B",electric_plug:"\uD83D\uDD0C",computer:"\uD83D\uDCBB",desktop_computer:"\uD83D\uDDA5ï¸",printer:"\uD83D\uDDA8ï¸",keyboard:"â¨ï¸",computer_mouse:"\uD83D\uDDB1ï¸",trackball:"\uD83D\uDDB2ï¸",minidisc:"\uD83D\uDCBD",floppy_disk:"\uD83D\uDCBE",cd:"\uD83D\uDCBF",dvd:"\uD83D\uDCC0",abacus:"\uD83E\uDDEE",movie_camera:"\uD83C\uDFA5",film_strip:"\uD83C\uDF9Eï¸",film_projector:"\uD83D\uDCFDï¸",clapper:"\uD83C\uDFAC",tv:"\uD83D\uDCFA",camera:"\uD83D\uDCF7",camera_flash:"\uD83D\uDCF8",video_camera:"\uD83D\uDCF9",vhs:"\uD83D\uDCFC",mag:"\uD83D\uDD0D",mag_right:"\uD83D\uDD0E",candle:"\uD83D\uDD6Fï¸",bulb:"\uD83D\uDCA1",flashlight:"\uD83D\uDD26",izakaya_lantern:"\uD83C\uDFEE",lantern:"\uD83C\uDFEE",diya_lamp:"\uD83E\uDE94",notebook_with_decorative_cover:"\uD83D\uDCD4",closed_book:"\uD83D\uDCD5",book:"\uD83D\uDCD6",open_book:"\uD83D\uDCD6",green_book:"\uD83D\uDCD7",blue_book:"\uD83D\uDCD8",orange_book:"\uD83D\uDCD9",books:"\uD83D\uDCDA",notebook:"\uD83D\uDCD3",ledger:"\uD83D\uDCD2",page_with_curl:"\uD83D\uDCC3",scroll:"\uD83D\uDCDC",page_facing_up:"\uD83D\uDCC4",newspaper:"\uD83D\uDCF0",newspaper_roll:"\uD83D\uDDDEï¸",bookmark_tabs:"\uD83D\uDCD1",bookmark:"\uD83D\uDD16",label:"\uD83C\uDFF7ï¸",moneybag:"\uD83D\uDCB0",coin:"\uD83E\uDE99",yen:"\uD83D\uDCB4",dollar:"\uD83D\uDCB5",euro:"\uD83D\uDCB6",pound:"\uD83D\uDCB7",money_with_wings:"\uD83D\uDCB8",credit_card:"\uD83D\uDCB3",receipt:"\uD83E\uDDFE",chart:"\uD83D\uDCB9",envelope:"âï¸",email:"\uD83D\uDCE7","e-mail":"\uD83D\uDCE7",incoming_envelope:"\uD83D\uDCE8",envelope_with_arrow:"\uD83D\uDCE9",outbox_tray:"\uD83D\uDCE4",inbox_tray:"\uD83D\uDCE5",package:"\uD83D\uDCE6",mailbox:"\uD83D\uDCEB",mailbox_closed:"\uD83D\uDCEA",mailbox_with_mail:"\uD83D\uDCEC",mailbox_with_no_mail:"\uD83D\uDCED",postbox:"\uD83D\uDCEE",ballot_box:"\uD83D\uDDF3ï¸",pencil2:"âï¸",black_nib:"âï¸",fountain_pen:"\uD83D\uDD8Bï¸",pen:"\uD83D\uDD8Aï¸",paintbrush:"\uD83D\uDD8Cï¸",crayon:"\uD83D\uDD8Dï¸",memo:"\uD83D\uDCDD",pencil:"\uD83D\uDCDD",briefcase:"\uD83D\uDCBC",file_folder:"\uD83D\uDCC1",open_file_folder:"\uD83D\uDCC2",card_index_dividers:"\uD83D\uDDC2ï¸",date:"\uD83D\uDCC5",calendar:"\uD83D\uDCC6",spiral_notepad:"\uD83D\uDDD2ï¸",spiral_calendar:"\uD83D\uDDD3ï¸",card_index:"\uD83D\uDCC7",chart_with_upwards_trend:"\uD83D\uDCC8",chart_with_downwards_trend:"\uD83D\uDCC9",bar_chart:"\uD83D\uDCCA",clipboard:"\uD83D\uDCCB",pushpin:"\uD83D\uDCCC",round_pushpin:"\uD83D\uDCCD",paperclip:"\uD83D\uDCCE",paperclips:"\uD83D\uDD87ï¸",straight_ruler:"\uD83D\uDCCF",triangular_ruler:"\uD83D\uDCD0",scissors:"âï¸",card_file_box:"\uD83D\uDDC3ï¸",file_cabinet:"\uD83D\uDDC4ï¸",wastebasket:"\uD83D\uDDD1ï¸",lock:"\uD83D\uDD12",unlock:"\uD83D\uDD13",lock_with_ink_pen:"\uD83D\uDD0F",closed_lock_with_key:"\uD83D\uDD10",key:"\uD83D\uDD11",old_key:"\uD83D\uDDDDï¸",hammer:"\uD83D\uDD28",axe:"\uD83E\uDE93",pick:"âï¸",hammer_and_pick:"âï¸",hammer_and_wrench:"\uD83D\uDEE0ï¸",dagger:"\uD83D\uDDE1ï¸",crossed_swords:"âï¸",gun:"\uD83D\uDD2B",boomerang:"\uD83E\uDE83",bow_and_arrow:"\uD83C\uDFF9",shield:"\uD83D\uDEE1ï¸",carpentry_saw:"\uD83E\uDE9A",wrench:"\uD83D\uDD27",screwdriver:"\uD83E\uDE9B",nut_and_bolt:"\uD83D\uDD29",gear:"âï¸",clamp:"\uD83D\uDDDCï¸",balance_scale:"âï¸",probing_cane:"\uD83E\uDDAF",link:"\uD83D\uDD17",chains:"âï¸",hook:"\uD83E\uDE9D",toolbox:"\uD83E\uDDF0",magnet:"\uD83E\uDDF2",ladder:"\uD83E\uDE9C",alembic:"âï¸",test_tube:"\uD83E\uDDEA",petri_dish:"\uD83E\uDDEB",dna:"\uD83E\uDDEC",microscope:"\uD83D\uDD2C",telescope:"\uD83D\uDD2D",satellite:"\uD83D\uDCE1",syringe:"\uD83D\uDC89",drop_of_blood:"\uD83E\uDE78",pill:"\uD83D\uDC8A",adhesive_bandage:"\uD83E\uDE79",stethoscope:"\uD83E\uDE7A",door:"\uD83D\uDEAA",elevator:"\uD83D\uDED7",mirror:"\uD83E\uDE9E",window:"\uD83E\uDE9F",bed:"\uD83D\uDECFï¸",couch_and_lamp:"\uD83D\uDECBï¸",chair:"\uD83E\uDE91",toilet:"\uD83D\uDEBD",plunger:"\uD83E\uDEA0",shower:"\uD83D\uDEBF",bathtub:"\uD83D\uDEC1",mouse_trap:"\uD83E\uDEA4",razor:"\uD83E\uDE92",lotion_bottle:"\uD83E\uDDF4",safety_pin:"\uD83E\uDDF7",broom:"\uD83E\uDDF9",basket:"\uD83E\uDDFA",roll_of_paper:"\uD83E\uDDFB",bucket:"\uD83E\uDEA3",soap:"\uD83E\uDDFC",toothbrush:"\uD83E\uDEA5",sponge:"\uD83E\uDDFD",fire_extinguisher:"\uD83E\uDDEF",shopping_cart:"\uD83D\uDED2",smoking:"\uD83D\uDEAC",coffin:"â°ï¸",headstone:"\uD83E\uDEA6",funeral_urn:"â±ï¸",moyai:"\uD83D\uDDFF",placard:"\uD83E\uDEA7",atm:"\uD83C\uDFE7",put_litter_in_its_place:"\uD83D\uDEAE",potable_water:"\uD83D\uDEB0",wheelchair:"â¿",mens:"\uD83D\uDEB9",womens:"\uD83D\uDEBA",restroom:"\uD83D\uDEBB",baby_symbol
1:"\uD83D\uDEBC",wc:"\uD83D\uDEBE",passport_control:"\uD83D\uDEC2",customs:"\uD83D\uDEC3",baggage_claim:"\uD83D\uDEC4",left_luggage:"\uD83D\uDEC5",warning:"â ï¸",children_crossing:"\uD83D\uDEB8",no_entry:"â",no_entry_sign:"\uD83D\uDEAB",no_bicycles:"\uD83D\uDEB3",no_smoking:"\uD83D\uDEAD",do_not_litter:"\uD83D\uDEAF","non-potable_water":"\uD83D\uDEB1",no_pedestrians:"\uD83D\uDEB7",no_mobile_phones:"\uD83D\uDCF5",underage:"\uD83D\uDD1E",radioactive:"â¢ï¸",biohazard:"â£ï¸",arrow_up:"â¬ï¸",arrow_upper_right:"âï¸",arrow_right:"â¡ï¸",arrow_lower_right:"âï¸",arrow_down:"â¬ï¸",arrow_lower_left:"âï¸",arrow_left:"â¬
ï¸",arrow_upper_left:"âï¸",arrow_up_down:"âï¸",left_right_arrow:"âï¸",leftwards_arrow_with_hook:"â©ï¸",arrow_right_hook:"âªï¸",arrow_heading_up:"⤴ï¸",arrow_heading_down:"⤵ï¸",arrows_clockwise:"\uD83D\uDD03",arrows_counterclockwise:"\uD83D\uDD04",back:"\uD83D\uDD19",end:"\uD83D\uDD1A",on:"\uD83D\uDD1B",soon:"\uD83D\uDD1C",top:"\uD83D\uDD1D",place_of_worship:"\uD83D\uDED0",atom_symbol:"âï¸",om:"\uD83D\uDD49ï¸",star_of_david:"â¡ï¸",wheel_of_dharma:"â¸ï¸",yin_yang:"â¯ï¸",latin_cross:"âï¸",orthodox_cross:"â¦ï¸",star_and_crescent:"âªï¸",peace_symbol:"â®ï¸",menorah:"\uD83D\uDD4E",six_pointed_star:"\uD83D\uDD2F",aries:"â",taurus:"â",gemini:"â",cancer:"â",leo:"â",virgo:"â",libra:"â",scorpius:"â",sagittarius:"â",capricorn:"â",aquarius:"â",pisces:"â",ophiuchus:"â",twisted_rightwards_arrows:"\uD83D\uDD00",repeat:"\uD83D\uDD01",repeat_one:"\uD83D\uDD02",arrow_forward:"â¶ï¸",fast_forward:"â©",next_track_button:"âï¸",play_or_pause_button:"â¯ï¸",arrow_backward:"âï¸",rewind:"âª",previous_track_button:"â®ï¸",arrow_up_small:"\uD83D\uDD3C",arrow_double_up:"â«",arrow_down_small:"\uD83D\uDD3D",arrow_double_down:"â¬",pause_button:"â¸ï¸",stop_button:"â¹ï¸",record_button:"âºï¸",eject_button:"âï¸",cinema:"\uD83C\uDFA6",low_brightness:"\uD83D\uDD05",high_brightness:"\uD83D\uDD06",signal_strength:"\uD83D\uDCF6",vibration_mode:"\uD83D\uDCF3",mobile_phone_off:"\uD83D\uDCF4",female_sign:"âï¸",male_sign:"âï¸",transgender_symbol:"â§ï¸",heavy_multiplication_x:"âï¸",heavy_plus_sign:"â",heavy_minus_sign:"â",heavy_division_sign:"â",infinity:"â¾ï¸",bangbang:"â¼ï¸",interrobang:"âï¸",question:"â",grey_question:"â",grey_exclamation:"â",exclamation:"â",heavy_exclamation_mark:"â",wavy_dash:"ã°ï¸",currency_exchange:"\uD83D\uDCB1",heavy_dollar_sign:"\uD83D\uDCB2",medical_symbol:"âï¸",recycle:"â»ï¸",fleur_de_lis:"âï¸",trident:"\uD83D\uDD31",name_badge:"\uD83D\uDCDB",beginner:"\uD83D\uDD30",o:"â",white_check_mark:"â
",ballot_box_with_check:"âï¸",heavy_check_mark:"âï¸",x:"â",negative_squared_cross_mark:"â",curly_loop:"â°",loop:"â¿",part_alternation_mark:"ã½ï¸",eight_spoked_asterisk:"â³ï¸",eight_pointed_black_star:"â´ï¸",sparkle:"âï¸",copyright:"\xa9ï¸",registered:"\xaeï¸",tm:"â¢ï¸",hash:"#ï¸â£",asterisk:"*ï¸â£",zero:"0ï¸â£",one:"1ï¸â£",two:"2ï¸â£",three:"3ï¸â£",four:"4ï¸â£",five:"5ï¸â£",six:"6ï¸â£",seven:"7ï¸â£",eight:"8ï¸â£",nine:"9ï¸â£",keycap_ten:"\uD83D\uDD1F",capital_abcd:"\uD83D\uDD20",abcd:"\uD83D\uDD21",symbols:"\uD83D\uDD23",abc:"\uD83D\uDD24",a:"\uD83C\uDD70ï¸",ab:"\uD83C\uDD8E",b:"\uD83C\uDD71ï¸",cl:"\uD83C\uDD91",cool:"\uD83C\uDD92",free:"\uD83C\uDD93",information_source:"â¹ï¸",id:"\uD83C\uDD94",m:"âï¸",new:"\uD83C\uDD95",ng:"\uD83C\uDD96",o2:"\uD83C\uDD7Eï¸",ok:"\uD83C\uDD97",parking:"\uD83C\uDD7Fï¸",sos:"\uD83C\uDD98",up:"\uD83C\uDD99",vs:"\uD83C\uDD9A",koko:"\uD83C\uDE01",sa:"\uD83C\uDE02ï¸",ideograph_advantage:"\uD83C\uDE50",accept:"\uD83C\uDE51",congratulations:"ãï¸",secret:"ãï¸",u6e80:"\uD83C\uDE35",red_circle:"\uD83D\uDD34",orange_circle:"\uD83D\uDFE0",yellow_circle:"\uD83D\uDFE1",green_circle:"\uD83D\uDFE2",large_blue_circle:"\uD83D\uDD35",purple_circle:"\uD83D\uDFE3",brown_circle:"\uD83D\uDFE4",black_circle:"â«",white_circle:"âª",red_square:"\uD83D\uDFE5",orange_square:"\uD83D\uDFE7",yellow_square:"\uD83D\uDFE8",green_square:"\uD83D\uDFE9",blue_square:"\uD83D\uDFE6",purple_square:"\uD83D\uDFEA",brown_square:"\uD83D\uDFEB",black_large_square:"â¬",white_large_square:"â¬",black_medium_square:"â¼ï¸",white_medium_square:"â»ï¸",black_medium_small_square:"â¾",white_medium_small_square:"â½",black_small_square:"âªï¸",white_small_square:"â«ï¸",large_orange_diamond:"\uD83D\uDD36",large_blue_diamond:"\uD83D\uDD37",small_orange_diamond:"\uD83D\uDD38",small_blue_diamond:"\uD83D\uDD39",small_red_triangle:"\uD83D\uDD3A",small_red_triangle_down:"\uD83D\uDD3B",diamond_shape_with_a_dot_inside:"\uD83D\uDCA0",radio_button:"\uD83D\uDD18",white_square_button:"\uD83D\uDD33",black_square_button:"\uD83D\uDD32",checkered_flag:"\uD83C\uDFC1",triangular_flag_on_post:"\uD83D\uDEA9",crossed_flags:"\uD83C\uDF8C",black_flag:"\uD83C\uDFF4",white_flag:"\uD83C\uDFF3ï¸",rainbow_flag:"\uD83C\uDFF3ï¸â\uD83C\uDF08",transgender_flag:"\uD83C\uDFF3ï¸ââ§ï¸",pirate_flag:"\uD83C\uDFF4ââ ï¸",ascension_island:"\uD83C\uDDE6\uD83C\uDDE8",andorra:"\uD83C\uDDE6\uD83C\uDDE9",united_arab_emirates:"\uD83C\uDDE6\uD83C\uDDEA",afghanistan:"\uD83C\uDDE6\uD83C\uDDEB",antigua_barbuda:"\uD83C\uDDE6\uD83C\uDDEC",anguilla:"\uD83C\uDDE6\uD83C\uDDEE",albania:"\uD83C\uDDE6\uD83C\uDDF1",armenia:"\uD83C\uDDE6\uD83C\uDDF2",angola:"\uD83C\uDDE6\uD83C\uDDF4",antar
1ctica:"\uD83C\uDDE6\uD83C\uDDF6",argentina:"\uD83C\uDDE6\uD83C\uDDF7",american_samoa:"\uD83C\uDDE6\uD83C\uDDF8",austria:"\uD83C\uDDE6\uD83C\uDDF9",australia:"\uD83C\uDDE6\uD83C\uDDFA",aruba:"\uD83C\uDDE6\uD83C\uDDFC",aland_islands:"\uD83C\uDDE6\uD83C\uDDFD",azerbaijan:"\uD83C\uDDE6\uD83C\uDDFF",bosnia_herzegovina:"\uD83C\uDDE7\uD83C\uDDE6",barbados:"\uD83C\uDDE7\uD83C\uDDE7",bangladesh:"\uD83C\uDDE7\uD83C\uDDE9",belgium:"\uD83C\uDDE7\uD83C\uDDEA",burkina_faso:"\uD83C\uDDE7\uD83C\uDDEB",bulgaria:"\uD83C\uDDE7\uD83C\uDDEC",bahrain:"\uD83C\uDDE7\uD83C\uDDED",burundi:"\uD83C\uDDE7\uD83C\uDDEE",benin:"\uD83C\uDDE7\uD83C\uDDEF",st_barthelemy:"\uD83C\uDDE7\uD83C\uDDF1",bermuda:"\uD83C\uDDE7\uD83C\uDDF2",brunei:"\uD83C\uDDE7\uD83C\uDDF3",bolivia:"\uD83C\uDDE7\uD83C\uDDF4",caribbean_netherlands:"\uD83C\uDDE7\uD83C\uDDF6",brazil:"\uD83C\uDDE7\uD83C\uDDF7",bahamas:"\uD83C\uDDE7\uD83C\uDDF8",bhutan:"\uD83C\uDDE7\uD83C\uDDF9",bouvet_island:"\uD83C\uDDE7\uD83C\uDDFB",botswana:"\uD83C\uDDE7\uD83C\uDDFC",belarus:"\uD83C\uDDE7\uD83C\uDDFE",belize:"\uD83C\uDDE7\uD83C\uDDFF",canada:"\uD83C\uDDE8\uD83C\uDDE6",cocos_islands:"\uD83C\uDDE8\uD83C\uDDE8",congo_kinshasa:"\uD83C\uDDE8\uD83C\uDDE9",central_african_republic:"\uD83C\uDDE8\uD83C\uDDEB",congo_brazzaville:"\uD83C\uDDE8\uD83C\uDDEC",switzerland:"\uD83C\uDDE8\uD83C\uDDED",cote_divoire:"\uD83C\uDDE8\uD83C\uDDEE",cook_islands:"\uD83C\uDDE8\uD83C\uDDF0",chile:"\uD83C\uDDE8\uD83C\uDDF1",cameroon:"\uD83C\uDDE8\uD83C\uDDF2",cn:"\uD83C\uDDE8\uD83C\uDDF3",colombia:"\uD83C\uDDE8\uD83C\uDDF4",clipperton_island:"\uD83C\uDDE8\uD83C\uDDF5",costa_rica:"\uD83C\uDDE8\uD83C\uDDF7",cuba:"\uD83C\uDDE8\uD83C\uDDFA",cape_verde:"\uD83C\uDDE8\uD83C\uDDFB",curacao:"\uD83C\uDDE8\uD83C\uDDFC",christmas_island:"\uD83C\uDDE8\uD83C\uDDFD",cyprus:"\uD83C\uDDE8\uD83C\uDDFE",czech_republic:"\uD83C\uDDE8\uD83C\uDDFF",de:"\uD83C\uDDE9\uD83C\uDDEA",diego_garcia:"\uD83C\uDDE9\uD83C\uDDEC",djibouti:"\uD83C\uDDE9\uD83C\uDDEF",denmark:"\uD83C\uDDE9\uD83C\uDDF0",dominica:"\uD83C\uDDE9\uD83C\uDDF2",dominican_republic:"\uD83C\uDDE9\uD83C\uDDF4",algeria:"\uD83C\uDDE9\uD83C\uDDFF",ceuta_melilla:"\uD83C\uDDEA\uD83C\uDDE6",ecuador:"\uD83C\uDDEA\uD83C\uDDE8",estonia:"\uD83C\uDDEA\uD83C\uDDEA",egypt:"\uD83C\uDDEA\uD83C\uDDEC",western_sahara:"\uD83C\uDDEA\uD83C\uDDED",eritrea:"\uD83C\uDDEA\uD83C\uDDF7",es:"\uD83C\uDDEA\uD83C\uDDF8",ethiopia:"\uD83C\uDDEA\uD83C\uDDF9",eu:"\uD83C\uDDEA\uD83C\uDDFA",european_union:"\uD83C\uDDEA\uD83C\uDDFA",finland:"\uD83C\uDDEB\uD83C\uDDEE",fiji:"\uD83C\uDDEB\uD83C\uDDEF",falkland_islands:"\uD83C\uDDEB\uD83C\uDDF0",micronesia:"\uD83C\uDDEB\uD83C\uDDF2",faroe_islands:"\uD83C\uDDEB\uD83C\uDDF4",fr:"\uD83C\uDDEB\uD83C\uDDF7",gabon:"\uD83C\uDDEC\uD83C\uDDE6",gb:"\uD83C\uDDEC\uD83C\uDDE7",uk:"\uD83C\uDDEC\uD83C\uDDE7",grenada:"\uD83C\uDDEC\uD83C\uDDE9",georgia:"\uD83C\uDDEC\uD83C\uDDEA",french_guiana:"\uD83C\uDDEC\uD83C\uDDEB",guernsey:"\uD83C\uDDEC\uD83C\uDDEC",ghana:"\uD83C\uDDEC\uD83C\uDDED",gibraltar:"\uD83C\uDDEC\uD83C\uDDEE",greenland:"\uD83C\uDDEC\uD83C\uDDF1",gambia:"\uD83C\uDDEC\uD83C\uDDF2",guinea:"\uD83C\uDDEC\uD83C\uDDF3",guadeloupe:"\uD83C\uDDEC\uD83C\uDDF5",equatorial_guinea:"\uD83C\uDDEC\uD83C\uDDF6",greece:"\uD83C\uDDEC\uD83C\uDDF7",south_georgia_south_sandwich_islands:"\uD83C\uDDEC\uD83C\uDDF8",guatemala:"\uD83C\uDDEC\uD83C\uDDF9",guam:"\uD83C\uDDEC\uD83C\uDDFA",guinea_bissau:"\uD83C\uDDEC\uD83C\uDDFC",guyana:"\uD83C\uDDEC\uD83C\uDDFE",hong_kong:"\uD83C\uDDED\uD83C\uDDF0",heard_mcdonald_islands:"\uD83C\uDDED\uD83C\uDDF2",honduras:"\uD83C\uDDED\uD83C\uDDF3",croatia:"\uD83C\uDDED\uD83C\uDDF7",haiti:"\uD83C\uDDED\uD83C\uDDF9",hungary:"\uD83C\uDDED\uD83C\uDDFA",canary_islands:"\uD83C\uDDEE\uD83C\uDDE8",indonesia:"\uD83C\uDDEE\uD83C\uDDE9",ireland:"\uD83C\uDDEE\uD83C\uDDEA",israel:"\uD83C\uDDEE\uD83C\uDDF1",isle_of_man:"\uD83C\uDDEE\uD83C\uDDF2",india:"\uD83C\uDDEE\uD83C\uDDF3",british_indian_ocean_territory:"\uD83C\uDDEE\uD83C\uDDF4",iraq:"\uD83C\uDDEE\uD83C\uDDF6",iran:"\uD83C\uDDEE\uD83C\uDDF7",iceland:"\uD83C\uDDEE\uD83C\uDDF8",it:"\uD83C\uDDEE\uD83C\uDDF9",jersey:"\uD83C\uDDEF\uD83C\uDDEA",jamaica:"\uD83C\uDDEF\uD83C\uDDF2",j
1ordan:"\uD83C\uDDEF\uD83C\uDDF4",jp:"\uD83C\uDDEF\uD83C\uDDF5",kenya:"\uD83C\uDDF0\uD83C\uDDEA",kyrgyzstan:"\uD83C\uDDF0\uD83C\uDDEC",cambodia:"\uD83C\uDDF0\uD83C\uDDED",kiribati:"\uD83C\uDDF0\uD83C\uDDEE",comoros:"\uD83C\uDDF0\uD83C\uDDF2",st_kitts_nevis:"\uD83C\uDDF0\uD83C\uDDF3",north_korea:"\uD83C\uDDF0\uD83C\uDDF5",kr:"\uD83C\uDDF0\uD83C\uDDF7",kuwait:"\uD83C\uDDF0\uD83C\uDDFC",cayman_islands:"\uD83C\uDDF0\uD83C\uDDFE",kazakhstan:"\uD83C\uDDF0\uD83C\uDDFF",laos:"\uD83C\uDDF1\uD83C\uDDE6",lebanon:"\uD83C\uDDF1\uD83C\uDDE7",st_lucia:"\uD83C\uDDF1\uD83C\uDDE8",liechtenstein:"\uD83C\uDDF1\uD83C\uDDEE",sri_lanka:"\uD83C\uDDF1\uD83C\uDDF0",liberia:"\uD83C\uDDF1\uD83C\uDDF7",lesotho:"\uD83C\uDDF1\uD83C\uDDF8",lithuania:"\uD83C\uDDF1\uD83C\uDDF9",luxembourg:"\uD83C\uDDF1\uD83C\uDDFA",latvia:"\uD83C\uDDF1\uD83C\uDDFB",libya:"\uD83C\uDDF1\uD83C\uDDFE",morocco:"\uD83C\uDDF2\uD83C\uDDE6",monaco:"\uD83C\uDDF2\uD83C\uDDE8",moldova:"\uD83C\uDDF2\uD83C\uDDE9",montenegro:"\uD83C\uDDF2\uD83C\uDDEA",st_martin:"\uD83C\uDDF2\uD83C\uDDEB",madagascar:"\uD83C\uDDF2\uD83C\uDDEC",marshall_islands:"\uD83C\uDDF2\uD83C\uDDED",macedonia:"\uD83C\uDDF2\uD83C\uDDF0",mali:"\uD83C\uDDF2\uD83C\uDDF1",myanmar:"\uD83C\uDDF2\uD83C\uDDF2",mongolia:"\uD83C\uDDF2\uD83C\uDDF3",macau:"\uD83C\uDDF2\uD83C\uDDF4",northern_mariana_islands:"\uD83C\uDDF2\uD83C\uDDF5",martinique:"\uD83C\uDDF2\uD83C\uDDF6",mauritania:"\uD83C\uDDF2\uD83C\uDDF7",montserrat:"\uD83C\uDDF2\uD83C\uDDF8",malta:"\uD83C\uDDF2\uD83C\uDDF9",mauritius:"\uD83C\uDDF2\uD83C\uDDFA",maldives:"\uD83C\uDDF2\uD83C\uDDFB",malawi:"\uD83C\uDDF2\uD83C\uDDFC",mexico:"\uD83C\uDDF2\uD83C\uDDFD",malaysia:"\uD83C\uDDF2\uD83C\uDDFE",mozambique:"\uD83C\uDDF2\uD83C\uDDFF",namibia:"\uD83C\uDDF3\uD83C\uDDE6",new_caledonia:"\uD83C\uDDF3\uD83C\uDDE8",niger:"\uD83C\uDDF3\uD83C\uDDEA",norfolk_island:"\uD83C\uDDF3\uD83C\uDDEB",nigeria:"\uD83C\uDDF3\uD83C\uDDEC",nicaragua:"\uD83C\uDDF3\uD83C\uDDEE",netherlands:"\uD83C\uDDF3\uD83C\uDDF1",norway:"\uD83C\uDDF3\uD83C\uDDF4",nepal:"\uD83C\uDDF3\uD83C\uDDF5",nauru:"\uD83C\uDDF3\uD83C\uDDF7",niue:"\uD83C\uDDF3\uD83C\uDDFA",new_zealand:"\uD83C\uDDF3\uD83C\uDDFF",oman:"\uD83C\uDDF4\uD83C\uDDF2",panama:"\uD83C\uDDF5\uD83C\uDDE6",peru:"\uD83C\uDDF5\uD83C\uDDEA",french_polynesia:"\uD83C\uDDF5\uD83C\uDDEB",papua_new_guinea:"\uD83C\uDDF5\uD83C\uDDEC",philippines:"\uD83C\uDDF5\uD83C\uDDED",pakistan:"\uD83C\uDDF5\uD83C\uDDF0",poland:"\uD83C\uDDF5\uD83C\uDDF1",st_pierre_miquelon:"\uD83C\uDDF5\uD83C\uDDF2",pitcairn_islands:"\uD83C\uDDF5\uD83C\uDDF3",puerto_rico:"\uD83C\uDDF5\uD83C\uDDF7",palestinian_territories:"\uD83C\uDDF5\uD83C\uDDF8",portugal:"\uD83C\uDDF5\uD83C\uDDF9",palau:"\uD83C\uDDF5\uD83C\uDDFC",paraguay:"\uD83C\uDDF5\uD83C\uDDFE",qatar:"\uD83C\uDDF6\uD83C\uDDE6",reunion:"\uD83C\uDDF7\uD83C\uDDEA",romania:"\uD83C\uDDF7\uD83C\uDDF4",serbia:"\uD83C\uDDF7\uD83C\uDDF8",ru:"\uD83C\uDDF7\uD83C\uDDFA",rwanda:"\uD83C\uDDF7\uD83C\uDDFC",saudi_arabia:"\uD83C\uDDF8\uD83C\uDDE6",solomon_islands:"\uD83C\uDDF8\uD83C\uDDE7",seychelles:"\uD83C\uDDF8\uD83C\uDDE8",sudan:"\uD83C\uDDF8\uD83C\uDDE9",sweden:"\uD83C\uDDF8\uD83C\uDDEA",singapore:"\uD83C\uDDF8\uD83C\uDDEC",st_helena:"\uD83C\uDDF8\uD83C\uDDED",slovenia:"\uD83C\uDDF8\uD83C\uDDEE",svalbard_jan_mayen:"\uD83C\uDDF8\uD83C\uDDEF",slovakia:"\uD83C\uDDF8\uD83C\uDDF0",sierra_leone:"\uD83C\uDDF8\uD83C\uDDF1",san_marino:"\uD83C\uDDF8\uD83C\uDDF2",senegal:"\uD83C\uDDF8\uD83C\uDDF3",somalia:"\uD83C\uDDF8\uD83C\uDDF4",suriname:"\uD83C\uDDF8\uD83C\uDDF7",south_sudan:"\uD83C\uDDF8\uD83C\uDDF8",sao_tome_principe:"\uD83C\uDDF8\uD83C\uDDF9",el_salvador:"\uD83C\uDDF8\uD83C\uDDFB",sint_maarten:"\uD83C\uDDF8\uD83C\uDDFD",syria:"\uD83C\uDDF8\uD83C\uDDFE",swaziland:"\uD83C\uDDF8\uD83C\uDDFF",tristan_da_cunha:"\uD83C\uDDF9\uD83C\uDDE6",turks_caicos_islands:"\uD83C\uDDF9\uD83C\uDDE8",chad:"\uD83C\uDDF9\uD83C\uDDE9",french_southern_territories:"\uD83C\uDDF9\uD83C\uDDEB",togo:"\uD83C\uDDF9\uD83C\uDDEC",thailand:"\uD83C\uDDF9\uD83C\uDDED",tajikistan:"\uD83C\uDDF9\uD83C\uDDEF",tokelau:"\uD83C\uDDF9\uD83C\uDDF0",timor_leste:"\uD83C\uDDF9\uD83C\uDDF1",turkmenistan:"\uD83C\uDDF9\uD83C\uDDF2",tunisia:"\uD83C\uDDF9\uD83C\uDDF3",tonga:"\uD83C\uDDF9\uD83C\uDDF4",tr:"\uD83C\uDDF9\uD83C\uDDF7",trinidad_tobago:"\uD83C\uDDF9\uD83C\uDDF9",tuvalu:"\uD83C\uDDF9\uD83C\uDDFB",taiwan:"\uD83C\uDDF9\uD83C\uDDFC",tanzania:"\uD83C\uDDF9\uD83C\uDDFF",ukraine:"\uD83C\uDDFA\uD83C\uDDE6",uganda:"\uD83C\uDDFA\uD83C\uDDEC",us_outlying_islands:"\uD83C\uDDFA\uD83C\uDDF2",united_nations:"\uD83C\uDDFA\uD83C\uDDF3",us:"\uD83C\uDDFA\uD83C\uDDF8",uruguay:"\uD83C\uDDFA\uD83C\uDDFE",uzbekistan:"\uD83C\uDDFA\uD83C\uDDFF",vatican_city:"\uD83C\uDDFB\uD83C\uDDE6",st_vincent_grenadines:"\uD83C\uDDFB\uD83C\uDDE8",venezuela:"\uD83C\uDDFB\uD83C\uDDEA",british_virgin_islands:"\uD83C\uDDFB\uD83C\uDDEC",us_virgin_islands:"\uD83C\uDDFB\uD83C\uDDEE",vietnam:"\uD83C\uDDFB\uD83C\uDDF3",vanuatu:"\uD83C\uDDFB\uD83C\uDDFA",wallis_futuna:"\uD83C\uDDFC\uD83C\uDDEB",samoa:"\uD83C\uDDFC\uD83C\uDDF8",kosovo:"\uD83C\uDDFD\uD83C\uDDF0",yemen:"\uD83C\uDDFE\uD83C\uDDEA",mayotte:"\uD83C\uDDFE\uD83C\uDDF9",south_africa:"\uD83C\uDDFF\uD83C\uDDE6",zambia:"\uD83C\uDDFF\uD83C\uDDF2",zimbabwe:"\uD83C\uDDFF\uD83C\uDDFC",england:"\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67\uDB40\uDC7F",scotland:"\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74\uDB40\uDC7F",wales:"\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73\uDB40\uDC7F"};Object.keys(td).reduce((e,t)=>
1(e[td[t]]=t,e),{});let tu=Object.keys(td).map(e=>e);Object.keys(td).map(e=>td[e]);let th=(0,c.forwardRef)((e,t)=>{let i=(0,c.useRef)(),[n,o]=(0,c.useState)(0),{t:a}=(0,j.u)(),r=t=>{let i=e.items[t];i&&e.command(i)},d=()=>{o((n+e.items.length-1)%e.items.length)},u=()=>{o((n+1)%e.items.length)},h=()=>{r(n)};return(0,c.useEffect)(()=>o(0),[e.items]),(0,c.useEffect)(()=>{if(Number.isNaN(n+1))return;let e=i.current.querySelector(`span:nth-of-type(${n+1})`);e&&(0,P.Z)(e,{behavior:"smooth",scrollMode:"if-needed"})},[n]),(0,c.useImperativeHandle)(t,()=>({onKeyDown:({event:e})=>"ArrowUp"===e.key?(d(),!0):"ArrowDown"===e.key?(u(),!0):"Enter"===e.key&&(h(),!0)})),(0,s.jsx)("div",{className:"richtext-w-[200px] richtext-max-h-[320px] richtext-overflow-x-hidden richtext-overflow-y-auto richtext-rounded-sm !richtext-border richtext-bg-popover richtext-p-1 richtext-text-popover-foreground richtext-shadow-md richtext-outline-none",children:(0,s.jsx)("div",{ref:i,children:e.items.length?e.items.map((e,t)=>(0,s.jsxs)("span",{className:(0,l.aq)(" richtext-flex ric
1htext-relative richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-px-2 richtext-py-1.5 richtext-text-sm richtext-outline-none richtext-transition-colors focus:richtext-bg-accent focus:richtext-text-accent-foreground hover:richtext-bg-accent",t===n?"bg-accent":""),onClick:()=>r(t),children:[e.fallbackImage?(0,s.jsx)("img",{src:e.fallbackImage,className:"richtext-w-[1em] richtext-h-[1em]"}):e.emoji,":",e.name,":"]},`emoji-list-code-${t}`)):(0,s.jsx)("div",{className:"richtext-flex richtext-relative richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-px-2 richtext-py-1.5 richtext-text-sm richtext-outline-none richtext-transition-colors",children:(0,s.jsx)("span",{children:a("no_result_found")})})})})});th.displayName="EmojiList";class tm{constructor(e,t){q(this,"key"),q(this,"value"),q(this,"prev"),q(this,"next"),this.key=e,this.value=t,this.prev=null,this.next=null}}class tp{constructor(e){q(this,"capacity"),q(this,"usedCapacity"),q(this,"head"),q(this,"tail"),q(this,"store"),this.capacity=e||20,this.usedCapacity=0,this.store={},this.head=new tm("fakeHeadNode","fakeHeadNode"),this.tail=new tm("fakeTailNode","fakeTailNode"),this.head.next=this.tail,this.tail.prev=this.head}removeNode(e){e.prev.next=e.next,e.next.prev=e.prev}addToHead(e){e.prev=this.head,e.next=this.head.next,this.head.next.prev=e,this.head.next=e}moveToHead(e){this.removeNode(e),this.addToHead(e)}removeTail(){let e=this.tail.prev;return this.removeNode(e),e}get(e){if(e in this.store){let t=this.store[e];return this.moveToHead(t),t.value}return -1}put(e,t){if(e in this.store){let i=this.store[e];i.value=t,this.moveToHead(i)}else{let i=new tm(e,t);if(this.addToHead(i),this.store[e]=i,this.usedCapacity+=1,this.usedCapacity>this.capacity){let e=this.removeTail();delete this.store[e.key],this.usedCapacity-=1}}}keys(){let e=[],t=this.head;for(;t;)e.push(t.key),t=t.next;return e.slice(1,-1)}values(){let e=[],t=this.head;for(;t;)e.push(t.value),t=t.next;return e.slice(1,-1)}toJSON(){return this.store}}let tg=function(e,t){let i=new tp(20);return{syncFromStorage(){((function(e,t=null){if(typeof window>"u")throw Error();let i=localStorage.getItem(e);if(!i)return t;try{return JSON.parse(i)}catch{return i}})(e)||[]).slice().reverse().forEach(e=>{i.put(e,e)})},syncToStorage(){var t;t=function(e,t="{}"){try{return JSON.stringify(e)}catch{return t}}(i.keys()),window.localStorage.setItem(e,`${t}`)},put(e){i.put(e,e),this.syncToStorage()},get:e=>e?i.get(e):i.keys()}}("EMOJI_PICKER",0),t_=[{title:"Smileys & People",data:["\uD83D\uDE00","\uD83D\uDE03","\uD83D\uDE04","\uD83D\uDE01","\uD83D\uDE06","\uD83D\uDE05","\uD83D\uDE02","\uD83E\uDD23","\uD83E\uDD72","\uD83D\uDE0A","\uD83D\uDE07","\uD83D\uDE42","\uD83D\uDE43","\uD83D\uDE09","\uD83D\uDE0C","\uD83D\uDE0D","\uD83E\uDD70","\uD83D\uDE18","\uD83D\uDE17","\uD83D\uDE19","\uD83D\uDE1A","\uD83D\uDE0B","\uD83D\uDE1B","\uD83D\uDE1D","\uD83D\uDE1C","\uD83E\uDD2A","\uD83E\uDD28","\uD83E\uDDD0","\uD83E\uDD13","\uD83D\uDE0E","\uD83E\uDD78","\uD83E\uDD29","\uD83E\uDD73","\uD83D\uDE0F","\uD83D\uDE12","\uD83D\uDE1E","\uD83D\uDE14","\uD83D\uDE1F","\uD83D\uDE15","\uD83D\uDE41","\uD83D\uDE23","\uD83D\uDE16","\uD83D\uDE2B","\uD83D\uDE29","\uD83E\uDD7A","\uD83D\uDE22","\uD83D\uDE2D","\uD83D\uDE24","\uD83D\uDE20","\uD83D\uDE21","\uD83E\uDD2C","\uD83E\uDD2F","\uD83D\uDE33","\uD83E\uDD75","\uD83E\uDD76","\uD83D\uDE31","\uD83D\uDE28","\uD83D\uDE30","\uD83D\uDE25","\uD83D\uDE13","\uD83E\uDD17","\uD83E\uDD14","\uD83E\uDD2D","\uD83E\uDD2B","\uD83E\uDD25","\uD83D\uDE36","\uD83D\uDE10","\uD83D\uDE11","\uD83D\uDE2C","\uD83D\uDE44","\uD83D\uDE2F","\uD83D\uDE26","\uD83D\uDE27","\uD83D\uDE2E","\uD83D\uDE32","\uD83E\uDD71","\uD83D\uDE34","\uD83E\uDD24","\uD83D\uDE2A","\uD83D\uDE35","\uD83E\uDD10","\uD83E\uDD74","\uD83E\uDD22","\uD83E\uDD2E","\uD83E\uDD27","\uD83D\uDE37","\uD83E\uDD12","\uD83E\uDD15","\uD83E\uDD11","\uD83E\uDD20","\uD83D\uDE08","\uD83D\uDC7F","\uD83D\uDC79","\uD83D\uDC7A","\uD83E\uDD21","\uD83D\uDCA9","\uD83D\uDC7B","\uD83D\uDC80","â ï¸","\uD83D\uDC7D","\uD83D\uDC7E","\uD83E\uDD16","\uD83C\uDF83","\uD83D\uDE3A","\uD83D\uDE38","\uD83D\uDE39","\uD83D\uDE3B","\uD83D\uDE3C","\uD83D\uDE3D","\uD83D\uDE40","\uD83D\uDE3F","\uD83D\uDE3E","\uD83D\uDC4B","\uD83E\uDD1A","\uD83D\uDD90","â","\uD83D\uDD96","\uD83D\uDC4C","\uD83E\uDD0C","\uD83E\uDD0F","âï¸","\uD83E\uDD1E","\uD83E\uDD1F","\uD83E\uDD18","\uD83E\uDD19","\uD83D\uDC48","\uD83D\uDC49","\uD83D\uDC46","\uD83D\uDD95","\uD83D\uDC47","âï¸","\uD83D\uDC4D","\uD83D\uDC4E","â","\uD83D\uDC4A","\uD83E\uDD1B","\uD83E\uDD1C","\uD83D\uDC4F","\uD83D\uDE4C","\uD83D\uDC50","\uD83E\uDD32","\uD83E\uDD1D","\uD83D\uDE4F","âï¸","\uD83D\uDC85","\uD83E\uDD33","\uD83D\uDCAA","\uD83E\uDDBE","\uD83E\uDDB5","\uD83E\uDDBF","\uD83E\uDDB6","\uD83D\uDC63","\uD83D\uDC42","\uD83E\uDDBB","\uD83D\uDC43","\uD83E\uDEC0","\uD83E\uDEC1","\uD83E\uDDE0","\uD83E\uDDB7","\uD83E\uDDB4","\uD83D\uDC40","\uD83D\uDC41","\uD83D\uDC45","\uD83D\uDC44","\uD83D\uDC8B","\uD83E\uDE78","\uD83D\uDC8B","\uD83D\uDC8C","\uD83D\uDC98","\uD83D\uDC9D","\uD83D\uDC96","\uD83D\uDC97","\uD83D\uDC93","\uD83D\uDC9E","\uD83D\uDC95","\uD83D\uDC9F","â£ï¸","â£","\uD83D\uDC94","â¤ï¸â\uD83D\uDD25","â¤â\uD83D\uDD25","â¤ï¸â\uD83E\uDE79","â¤â\uD83E\uDE79","â¤ï¸","â¤","\uD83E\uDDE1","\uD83D\uDC9B","\uD83D\uDC9A","\uD83D\uDC99","\uD83D\uDC9C","\uD83E\uDD0E","\uD83D\uDDA4","\uD83E\uDD0D","\uD83D\uDCAF","\uD83D\uDCA2","\uD83D\uDCA5","\uD83D\uDCAB","\uD83D\uDCA6","\uD83D\uDCA8","\uD83D\uDD73ï¸","\uD83D\uDD73","\uD83D\uDCA3","\uD83D\uDCAC","\uD83D\uDC41ï¸â\uD83D\uDDE8ï¸","\uD83D\uDC41â\uD83D\uDDE8ï¸","\uD83D\uDC41ï¸â\uD83D\uDDE8","\uD83D\uDC41â\uD83D\uDDE8","\uD83D\uDDE8ï¸","\uD83D\uDDE8","\uD83D\uDDEFï¸","\uD83D\uDDEF","\uD83D\uDCAD","\uD83D\uDCA4"],icon:g.Z},{title:"Animals & Nature",data:["\uD83D\uDC35","\uD83D\uDC12","\uD83E\uDD8D","\uD83E\uDDA7","\uD83D\uDC36","\uD83D\uDC15","\uD83E\uDDAE","\uD83D\uDC15â\uD83E\uDDBA","\uD83D\uDC29","\uD83D\uDC3A","\uD83E\uDD8A","\uD83E\uDD9D","\uD83D\uDC31","\uD83D\uDC08","\uD83D\uDC08ââ¬","\uD83E\uDD81","\uD83D\uDC2F","\uD83D\uDC05","\uD83D\uDC06","\uD83D\uDC34","\uD83D\uDC0E","\uD83E\uDD84","\uD83E\uDD93","\uD83E\uDD8C","\uD83E\uDDAC","\uD83D\uDC2E","\uD83D\uDC02","\uD83D\uDC03","\uD83D\uDC04","\uD83D\uDC37","\uD83D\uDC16","\uD83D\uDC17","\uD83D\uDC3D","\uD83D\uDC0F","\uD83D\uDC11","\uD83D\uDC10","\uD83D\uDC2A","\uD83D\uDC2B","\uD83E\uDD99","\uD83E\uDD92","\uD83D\uDC18","\uD83E\uDDA3","\uD83E\uDD8F","\uD83E\uDD9B","\uD83D\uDC2D","\uD83D\uDC01","\uD83D\uDC00","\uD83D\uDC39","\uD83D\uDC30","\uD83D\uDC07","\uD83D\uDC3Fï¸","\uD83D\uDC3F","\uD83E\uDDAB","\uD83E\uDD94","\uD83E\uDD87","\uD83D\uDC3B","\uD83D\uDC3Bââï¸","\uD83D\uDC3Bââ","\uD83D\uDC28","\uD83D\uDC3C","\uD83E\uDDA5","\uD83E\uDDA6","\uD83E\uDDA8","\uD83E\uDD98","\uD83E\uDDA1","\uD83D\uDC3E","\uD83E\uDD83","\uD83D\uDC14","\uD83D\uDC13","\uD83D\uDC23","\uD83D\uDC24","\uD83D\uDC25","\uD83D\uDC26","\uD83D\uDC27","\uD83D\uDD4Aï¸","\uD83D\uDD4A","\uD83E\uDD85","\uD83E\uDD86","\uD83E\uDDA2","\uD83E\uDD89","\uD83E\uDDA4","\uD83E\uDEB6","\uD83E\uDDA9","\uD83E\uDD9A","\uD83E\uDD9C","\uD83D\uDC38","\uD83D\uDC0A","\uD83D\uDC22","\uD83E\uDD8E","\uD83D\uDC0D","\uD83D\uDC32","\uD83D\uDC09","\uD83E\uDD95","\uD83E\uDD96","\uD83D\uDC33","\uD83D\uDC0B","\uD83D\uDC2C","\uD83E\uDDAD","\uD83D\uDC1F","\uD83D\uDC20","\uD83D\uDC21","\uD83E\uDD88","\uD83D\uDC19","\uD83D\uDC1A","\uD83D\uDC0C","\uD83E\uDD8B","\uD83D\uDC1B","\uD83D\uDC1C","\uD83D\uDC1D","\uD83E\uDEB2","\uD83D\uDC1E","\uD83E\uDD97","\uD83E\uDEB3","\uD83D\uDD77ï¸","\uD83D\uDD77","\uD83D\uDD78ï¸","\uD83D\uDD78","\uD83E\uDD82","\uD83E\uDD9F","\uD83E\uDEB0","\uD83E\uDEB1","\uD83E\uDDA0","\uD83D\uDC90","\uD83C\uDF38","\uD83D\uDCAE","\uD83C\uDFF5ï¸","\uD83C\uDFF5","\uD83C\uDF39","\uD83E\uDD40","\uD83C\uDF3A","\uD83C\uDF3B","\uD83C\uDF3C","\uD83C\uDF37","\uD83C\uDF31","\uD83E\uDEB4","\uD83C\uDF32","\uD83C\uDF33","\uD83C\uDF34","\uD83C\uDF35","\uD83C\uDF3E","\uD83C\uDF3F","âï¸","â","\uD83C\uDF40","\uD83C\uDF41","\uD83C\uDF42","\uD83C\uDF43"],icon:function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",children:[(0,s.jsx)("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8",fill:"
1currentColor"}),(0,s.jsx)("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235",fill:"currentColor"})]})}},{title:"Food & Drink",data:["\uD83C\uDF47","\uD83C\uDF48","\uD83C\uDF49","\uD83C\uDF4A","\uD83C\uDF4B","\uD83C\uDF4C","\uD83C\uDF4D","\uD83E\uDD6D","\uD83C\uDF4E","\uD83C\uDF4F","\uD83C\uDF50","\uD83C\uDF51","\uD83C\uDF52","\uD83C\uDF53","\uD83E\uDED0","\uD83E\uDD5D","\uD83C\uDF45","\uD83E\uDED2","\uD83E\uDD65","\uD83E\uDD51","\uD83C\uDF46","\uD83E\uDD54","\uD83E\uDD55","\uD83C\uDF3D","\uD83C\uDF36ï¸","\uD83C\uDF36","\uD83E\uDED1","\uD83E\uDD52","\uD83E\uDD6C","\uD83E\uDD66","\uD83E\uDDC4","\uD83E\uDDC5","\uD83C\uDF44","\uD83E\uDD5C","\uD83C\uDF30","\uD83C\uDF5E","\uD83E\uDD50","\uD83E\uDD56","\uD83E\uDED3","\uD83E\uDD68","\uD83E\uDD6F","\uD83E\uDD5E","\uD83E\uDDC7","\uD83E\uDDC0","\uD83C\uDF56","\uD83C\uDF57","\uD83E\uDD69","\uD83E\uDD53","\uD83C\uDF54","\uD83C\uDF5F","\uD83C\uDF55","\uD83C\uDF2D","\uD83E\uDD6A","\uD83C\uDF2E","\uD83C\uDF2F","\uD83E\uDED4","\uD83E\uDD59","\uD83E\uDDC6","\uD83E\uDD5A","\uD83C\uDF73","\uD83E\uDD58","\uD83C\uDF72","\uD83E\uDED5","\uD83E\uDD63","\uD83E\uDD57","\uD83C\uDF7F","\uD83E\uDDC8","\uD83E\uDDC2","\uD83E\uDD6B","\uD83C\uDF71","\uD83C\uDF58","\uD83C\uDF59","\uD83C\uDF5A","\uD83C\uDF5B","\uD83C\uDF5C","\uD83C\uDF5D","\uD83C\uDF60","\uD83C\uDF62","\uD83C\uDF63","\uD83C\uDF64","\uD83C\uDF65","\uD83E\uDD6E","\uD83C\uDF61","\uD83E\uDD5F","\uD83E\uDD60","\uD83E\uDD61","\uD83E\uDD80","\uD83E\uDD9E","\uD83E\uDD90","\uD83E\uDD91","\uD83E\uDDAA","\uD83C\uDF66","\uD83C\uDF67","\uD83C\uDF68","\uD83C\uDF69","\uD83C\uDF6A","\uD83C\uDF82","\uD83C\uDF70","\uD83E\uDDC1","\uD83E\uDD67","\uD83C\uDF6B","\uD83C\uDF6C","\uD83C\uDF6D","\uD83C\uDF6E","\uD83C\uDF6F","\uD83C\uDF7C","\uD83E\uDD5B","â","\uD83E\uDED6","\uD83C\uDF75","\uD83C\uDF76","\uD83C\uDF7E","\uD83C\uDF77","\uD83C\uDF78","\uD83C\uDF79","\uD83C\uDF7A","\uD83C\uDF7B","\uD83E\uDD42","\uD83E\uDD43","\uD83E\uDD64","\uD83E\uDDCB","\uD83E\uDDC3","\uD83E\uDDC9","\uD83E\uDDCA","\uD83E\uDD62","\uD83C\uDF7Dï¸","\uD83C\uDF7D","\uD83C\uDF74","\uD83E\uDD44","\uD83D\uDD2A","\uD83C\uDFFA"],icon:function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",children:(0,s.jsx)("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658
1-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9",fill:"currentColor"})})}},{title:"Activity",data:["\uD83C\uDF83","\uD83C\uDF84","\uD83C\uDF86","\uD83C\uDF87","\uD83E\uDDE8","â¨","\uD83C\uDF88","\uD83C\uDF89","\uD83C\uDF8A","\uD83C\uDF8B","\uD83C\uDF8D","\uD83C\uDF8E","\uD83C\uDF8F","\uD83C\uDF90","\uD83C\uDF91","\uD83E\uDDE7","\uD83C\uDF80","\uD83C\uDF81","\uD83C\uDF97ï¸","\uD83C\uDF97","\uD83C\uDF9Fï¸","\uD83C\uDF9F","\uD83C\uDFAB","\uD83C\uDF96ï¸","\uD83C\uDF96","\uD83C\uDFC6","\uD83C\uDFC5","\uD83E\uDD47","\uD83E\uDD48","\uD83E\uDD49","â½","â¾","\uD83E\uDD4E","\uD83C\uDFC0","\uD83C\uDFD0","\uD83C\uDFC8","\uD83C\uDFC9","\uD83C\uDFBE","\uD83E\uDD4F","\uD83C\uDFB3","\uD83C\uDFCF","\uD83C\uDFD1","\uD83C\uDFD2","\uD83E\uDD4D","\uD83C\uDFD3","\uD83C\uDFF8","\uD83E\uDD4A","\uD83E\uDD4B","\uD83E\uDD45","â³","â¸ï¸","â¸","\uD83C\uDFA3","\uD83E\uDD3F","\uD83C\uDFBD","\uD83C\uDFBF","\uD83D\uDEF7","\uD83E\uDD4C","\uD83C\uDFAF","\uD83E\uDE80","\uD83E\uDE81","\uD83C\uDFB1","\uD83D\uDD2E","\uD83E\uDE84","\uD83E\uDDFF","\uD83C\uDFAE","\uD83D\uDD79ï¸","\uD83D\uDD79","\uD83C\uDFB0","\uD83C\uDFB2","\uD83E\uDDE9","\uD83E\uDDF8","\uD83E\uDE85","\uD83E\uDE86","â ï¸","â ","â¥ï¸","â¥","â¦ï¸","â¦","â£ï¸","â£","âï¸","â","\uD83C\uDCCF","\uD83C\uDC04","\uD83C\uDFB4","\uD83C\uDFAD","\uD83D\uDDBCï¸","\uD83D\uDDBC","\uD83C\uDFA8","\uD83E\uDDF5","\uD83E\uDEA1","\uD83E\uDDF6","\uD83E\uDEA2"],icon:function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",children:(0,s.jsx)("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113",fill:"currentColor"})})}},{title:"Travel & Places",data:["\uD83C\uDF0D","\uD83C\uDF0E","\uD83C\uDF0F","\uD83C\uDF10","\uD83D\uDDFAï¸","\uD83D\uDDFA","\uD83D\uDDFE","\uD83E\uDDED","\uD83C\uDFD4ï¸","\uD83C\uDFD4","â°ï¸","â°","\uD83C\uDF0B","\uD83D\uDDFB","\uD83C\uDFD5ï¸","\uD83C\uDFD5","\uD83C\uDFD6ï¸","\uD83C\uDFD6","\uD83C\uDFDCï¸","\uD83C\uDFDC","\uD83C\uDFDDï¸","\uD83C\uDFDD","\uD83C\uDFDEï¸","\uD83C\uDFDE","\uD83C\uDFDFï¸","\uD83C\uDFDF","\uD83C\uDFDBï¸","\uD83C\uDFDB","\uD83C\uDFD7ï¸","\uD83C\uDFD7","\uD83E\uDDF1","\uD83E\uDEA8","\uD83E\uDEB5","\uD83D\uDED6","\uD83C\uDFD8ï¸","\uD83C\uDFD8","\uD83C\uDFDAï¸","\uD83C\uDFDA","\uD83C\uDFE0","\uD83C\uDFE1","\uD83C\uDFE2","\uD83C\uDFE3","\uD83C\uDFE4","\uD83C\uDFE5","\uD83C\uDFE6","\uD83C\uDFE8","\uD83C\uDFE9","\uD83C\uDFEA","\uD83C\uDFEB","\uD83C\uDFEC","\uD83C\uDFED","\uD83C\uDFEF","\uD83C\uDFF0","\uD83D\uDC92","\uD83D\uDDFC","\uD83D\uDDFD","âª","\uD83D\uDD4C","\uD83D\uDED5","\uD83D\uDD4D","â©ï¸","â©","\uD83D\uDD4B","â²","âº","\uD83C\uDF01","\uD83C\uDF03","\uD83C\uDFD9ï¸","\uD83C\uDFD9","\uD83C\uDF04","\uD83C\uDF05","\uD83C\uDF06","\uD83C\uDF07","\uD83C\uDF09","â¨ï¸","â¨","\uD83C\uDFA0","\uD83C\uDFA1","\uD83C\uDFA2","\uD83D\uDC88","\uD83C\uDFAA","\uD83D\uDE82","\uD83D\uDE83","\uD83D\uDE84","\uD83D\uDE85","\uD83D\uDE86","\uD83D\uDE87","\uD83D\uDE88","\uD83D\uDE89","\uD83D\uDE8A","\uD83D\uDE9D","\uD83D\uDE9E","\uD83D\uDE8B","\uD83D\uDE8C","\uD83D\uDE8D","\uD83D\uDE8E","\uD83D\uDE90","\uD83D\uDE91","\uD83D\uDE92","\uD83D\uDE93","\uD83D\uDE94","\uD83D\uDE95","\uD83D\uDE96","\uD83D\uDE97","\uD83D\uDE98","\uD83D\uDE99","\uD83D\uDEFB","\uD83D\uDE9A","\uD83D\uDE9B","\uD83D\uDE9C","\uD83C\uDFCEï¸","\uD83C\uDFCE","\uD83C\uDFCDï¸","\uD83C\uDFCD","\uD83D\uDEF5","\uD83E\uDDBD","\uD83E\uDDBC","\uD83D\uDEFA","\uD83D\uDEB2","\uD83D\uDEF4","\uD83D\uDEF9","\uD83D\uDEFC","\uD83D\uDE8F","\uD83D\uDEE3ï¸","\uD83D\uDEE3","\uD83D\uDEE4ï¸","\uD83D\uDEE4","\uD83D\uDEE2ï¸","\uD83D\uDEE2","â½","\uD83D\uDEA8","\uD83D\uDEA5","\uD83D\uDEA6","\uD83D\uDED1","\uD83D\uDEA7","â","âµ","\uD83D\uDEF6","\uD83D\uDEA4","\uD83D\uDEF3ï¸","\uD83D\uDEF3","â´ï¸","â´","\uD83D\uDEE5ï¸","\uD83D\uDEE5","\uD83D\uDEA2","âï¸","â","\uD83D\uDEE9ï¸","\uD83D\uDEE9","\uD83D\uDEEB","\uD83D\uDEEC","\uD83E\uDE82","\uD83D\uDCBA","\uD83D\uDE81","\uD83D\uDE9F","\uD83D\uDEA0","\uD83D\uDEA1","\uD83D\uDEF0ï¸","\uD83D\uDEF0","\uD83D\uDE80","\uD83D\uDEF8","\uD83D\uDECEï¸","\uD83D\uDECE","\uD83E\uDDF3","â","â³","â","â°","â±ï¸","â±","â²ï¸","â²","\uD83D\uDD70ï¸","\uD83D\uDD70","\uD83D\uDD5B","\uD83D\uDD67","\uD83D\uDD50","\uD83D\uDD5C","\uD83D\uDD51","\uD83D\uDD5D","\uD83D\uDD52","\uD83D\uDD5E","\uD83D\uDD53","\uD83D\uDD5F","\uD83D\uDD54","\uD83D\uDD60","\uD83D\uDD55","\uD83D\uDD61","\uD83D\uDD56","\uD83D\uDD62","\uD83D\uDD57","\uD83D\uDD63","\uD83D\uDD58","\uD83D\uDD64","\uD83D\uDD59","\uD83D\uDD65","\uD83D\uDD5A","\uD83D\uDD66","\uD83C\uDF11","\uD83C\uDF12","\uD83C\uDF13","\uD83C\uDF14","\uD83C\uDF15","\uD83C\uDF16","\uD83C\uDF17","\uD83C\uDF18","\uD83C\uDF19","\uD83C\uDF1A","\uD83C\uDF1B","\uD83C\uDF1C","\uD83C\uDF21ï¸","\uD83C\uDF21","âï¸","â","\uD83C\uDF1D","\uD83C\uDF1E","\uD83E\uDE90","â","\uD83C\uDF1F","\uD83C\uDF20","\uD83C\uDF0C","âï¸","â","â
","âï¸","â","\uD83C\uDF24ï¸","\uD83C\uDF24","\uD83C\uDF25ï¸","\uD83C\uDF25","\uD83C\uDF26ï¸","\uD83C\uDF26","\uD83C\uDF27ï¸","\uD83C\uDF27","\uD83C\uDF28ï¸","\uD83C\uDF28","\uD83C\uDF29ï¸","\uD83C\uDF29","\uD83C\uDF2Aï¸","\uD83C\uDF2A","\uD83C\uDF2Bï¸","\uD83C\uDF2B","\uD83C\uDF2Cï¸","\uD83C\uDF2C","\uD83C\uDF00","\uD83C\uDF08","\uD83C\uDF02","âï¸","â","â","â±ï¸","â±","â¡","âï¸","â","âï¸","â","â","âï¸","â","\uD83D\uDD25","\uD83D\uDCA7","\uD83C\uDF0A"],icon:function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",children:[(0,s.jsx)("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5",fill:"currentColor"}),(0,s.jsx)("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.35
17 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z",fill:"currentColor"})]})}},{title:"Object",data:["\uD83D\uDC53","\uD83D\uDD76ï¸","\uD83D\uDD76","\uD83E\uDD7D","\uD83E\uDD7C","\uD83E\uDDBA","\uD83D\uDC54","\uD83D\uDC55","\uD83D\uDC56","\uD83E\uDDE3","\uD83E\uDDE4","\uD83E\uDDE5","\uD83E\uDDE6","\uD83D\uDC57","\uD83D\uDC58","\uD83E\uDD7B","\uD83E\uDE71","\uD83E\uDE72","\uD83E\uDE73","\uD83D\uDC59","\uD83D\uDC5A","\uD83D\uDC5B","\uD83D\uDC5C","\uD83D\uDC5D","\uD83D\uDECDï¸","\uD83D\uDECD","\uD83C\uDF92","\uD83E\uDE74","\uD83D\uDC5E","\uD83D\uDC5F","\uD83E\uDD7E","\uD83E\uDD7F","\uD83D\uDC60","\uD83D\uDC61","\uD83E\uDE70","\uD83D\uDC62","\uD83D\uDC51","\uD83D\uDC52","\uD83C\uDFA9","\uD83C\uDF93","\uD83E\uDDE2","\uD83E\uDE96","âï¸","â","\uD83D\uDCFF","\uD83D\uDC84","\uD83D\uDC8D","\uD83D\uDC8E","\uD83D\uDD07","\uD83D\uDD08","\uD83D\uDD09","\uD83D\uDD0A","\uD83D\uDCE2","\uD83D\uDCE3","\uD83D\uDCEF","\uD83D\uDD14","\uD83D\uDD15","\uD83C\uDFBC","\uD83C\uDFB5","\uD83C\uDFB6","\uD83C\uDF99ï¸","\uD83C\uDF99","\uD83C\uDF9Aï¸","\uD83C\uDF9A","\uD83C\uDF9Bï¸","\uD83C\uDF9B","\uD83C\uDFA4","\uD83C\uDFA7","\uD83D\uDCFB","\uD83C\uDFB7","\uD83E\uDE97","\uD83C\uDFB8","\uD83C\uDFB9","\uD83C\uDFBA","\uD83C\uDFBB","\uD83E\uDE95","\uD83E\uDD41","\uD83E\uDE98","\uD83D\uDCF1","\uD83D\uDCF2","âï¸","â","\uD83D\uDCDE","\uD83D\uDCDF","\uD83D\uDCE0","\uD83D\uDD0B","\uD83D\uDD0C","\uD83D\uDCBB","\uD83D\uDDA5ï¸","\uD83D\uDDA5","\uD83D\uDDA8ï¸","\uD83D\uDDA8","â¨ï¸","â¨","\uD83D\uDDB1ï¸","\uD83D\uDDB1","\uD83D\uDDB2ï¸","\uD83D\uDDB2","\uD83D\uDCBD","\uD83D\uDCBE","\uD83D\uDCBF","\uD83D\uDCC0","\uD83E\uDDEE","\uD83C\uDFA5","\uD83C\uDF9Eï¸","\uD83C\uDF9E","\uD83D\uDCFDï¸","\uD83D\uDCFD","\uD83C\uDFAC","\uD83D\uDCFA","\uD83D\uDCF7","\uD83D\uDCF8","\uD83D\uDCF9","\uD83D\uDCFC","\uD83D\uDD0D","\uD83D\uDD0E","\uD83D\uDD6Fï¸","\uD83D\uDD6F","\uD83D\uDCA1","\uD83D\uDD26","\uD83C\uDFEE","\uD83E\uDE94","\uD83D\uDCD4","\uD83D\uDCD5","\uD83D\uDCD6","\uD83D\uDCD7","\uD83D\uDCD8","\uD83D\uDCD9","\uD83D\uDCDA","\uD83D\uDCD3","\uD83D\uDCD2","\uD83D\uDCC3","\uD83D\uDCDC","\uD83D\uDCC4","\uD83D\uDCF0","\uD83D\uDDDEï¸","\uD83D\uDDDE","\uD83D\uDCD1","\uD83D\uDD16","\uD83C\uDFF7ï¸","\uD83C\uDFF7","\uD83D\uDCB0","\uD83E\uDE99","\uD83D\uDCB4","\uD83D\uDCB5","\uD83D\uDCB6","\uD83D\uDCB7","\uD83D\uDCB8","\uD83D\uDCB3","\uD83E\uDDFE","\uD83D\uDCB9","âï¸","â","\uD83D\uDCE7","\uD83D\uDCE8","\uD83D\uDCE9","\uD83D\uDCE4","\uD83D\uDCE5","\uD83D\uDCE6","\uD83D\uDCEB","\uD83D\uDCEA","\uD83D\uDCEC","\uD83D\uDCED","\uD83D\uDCEE","\uD83D\uDDF3ï¸","\uD83D\uDDF3","âï¸","â","âï¸","â","\uD83D\uDD8Bï¸","\uD83D\uDD8B","\uD83D\uDD8Aï¸","\uD83D\uDD8A","\uD83D\uDD8Cï¸","\uD83D\uDD8C","\uD83D\uDD8Dï¸","\uD83D\uDD8D","\uD83D\uDCDD","\uD83D\uDCBC","\uD83D\uDCC1","\uD83D\uDCC2","\uD83D\uDDC2ï¸","\uD83D\uDDC2","\uD83D\uDCC5","\uD83D\uDCC6","\uD83D\uDDD2ï¸","\uD83D\uDDD2","\uD83D\uDDD3ï¸","\uD83D\uDDD3","\uD83D\uDCC7","\uD83D\uDCC8","\uD83D\uDCC9","\uD83D\uDCCA","\uD83D\uDCCB","\uD83D\uDCCC","\uD83D\uDCCD","\uD83D\uDCCE","\uD83D\uDD87ï¸","\uD83D\uDD87","\uD83D\uDCCF","\uD83D\uDCD0","âï¸","â","\uD83D\uDDC3ï¸","\uD83D\uDDC3","\uD83D\uDDC4ï¸","\uD83D\uDDC4","\uD83D\uDDD1ï¸","\uD83D\uDDD1","\uD83D\uDD12","\uD83D\uDD13","\uD83D\uDD0F","\uD83D\uDD10","\uD83D\uDD11","\uD83D\uDDDDï¸","\uD83D\uDDDD","\uD83D\uDD28","\uD83E\uDE93","âï¸","â","âï¸","â","\uD83D\uDEE0ï¸","\uD83D\uDEE0","\uD83D\uDDE1ï¸","\uD83D\uDDE1","âï¸","â","\uD83D\uDD2B","\uD83E\uDE83","\uD83C\uDFF9","\uD83D\uDEE1ï¸","\uD83D\uDEE1","\uD83E\uDE9A","\uD83D\uDD27","\uD83E\uDE9B","\uD83D\uDD29","âï¸","â","\uD83D\uDDDCï¸","\uD83D\uDDDC","âï¸","â","\uD83E\uDDAF","\uD83D\uDD17","âï¸","â","\uD83E\uDE9D","\uD83E\uDDF0","\uD83E\uDDF2","\uD83E\uDE9C","âï¸","â","\uD83E\uDDEA","\uD83E\uDDEB","\uD83E\uDDEC","\uD83D\uDD2C","\uD83D\uDD2D","\uD83D\uDCE1","\uD83D\uDC89","\uD83E\uDE78","\uD83D\uDC8A","\uD83E\uDE79","\uD83E\uDE7A","\uD83D\uDEAA","\uD83D\uDED7","\uD83E\uDE9E","\uD83E\uDE9F","\uD83D\uDECFï¸","\uD83D\uDECF","\uD83D\uDECBï¸","\uD83D\uDECB","\uD83E\uDE91","\uD83D\uDEBD","\uD83E\uDEA0","\uD83D\uDEBF","\uD83D\uDEC1","\uD83E\uDEA4","\uD83E\uDE92","\uD83E\uDDF4","\uD83E\uDDF7","\uD83E\uDDF9","\uD83E\uDDFA","\uD83E\uDDFB","\uD83E\uDEA3","\uD83E\uDDFC","\uD83E\uDEA5","\uD83E\uDDFD","\uD83E\uDDEF","\uD83D\uDED2","\uD83D\uDEAC","â°ï¸","â°","\uD83E\uDEA6","â±ï¸","â±","\uD83D\uDDFF","\uD83E\uDEA7"],icon:function(){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",children:[(0,s.jsx)("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z",fill:"
1currentColor"}),(0,s.jsx)("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789",fill:"currentColor"})]})}},{title:"Symbol",data:["\uD83C\uDFE7","\uD83D\uDEAE","\uD83D\uDEB0","â¿","\uD83D\uDEB9","\uD83D\uDEBA","\uD83D\uDEBB","\uD83D\uDEBC","\uD83D\uDEBE","\uD83D\uDEC2","\uD83D\uDEC3","\uD83D\uDEC4","\uD83D\uDEC5","â ï¸","â ","\uD83D\uDEB8","â","\uD83D\uDEAB","\uD83D\uDEB3","\uD83D\uDEAD","\uD83D\uDEAF","\uD83D\uDEB1","\uD83D\uDEB7","\uD83D\uDCF5","\uD83D\uDD1E","â¢ï¸","â¢","â£ï¸","â£","â¬ï¸","â¬","âï¸","â","â¡ï¸","â¡","âï¸","â","â¬ï¸","â¬","âï¸","â","â¬
ï¸","â¬
","âï¸","â","âï¸","â","âï¸","â","â©ï¸","â©","âªï¸","âª","⤴ï¸","⤴","⤵ï¸","⤵","\uD83D\uDD03","\uD83D\uDD04","\uD83D\uDD19","\uD83D\uDD1A","\uD83D\uDD1B","\uD83D\uDD1C","\uD83D\uDD1D","\uD83D\uDED0","âï¸","â","\uD83D\uDD49ï¸","\uD83D\uDD49","â¡ï¸","â¡","â¸ï¸","â¸","â¯ï¸","â¯","âï¸","â","â¦ï¸","â¦","âªï¸","âª","â®ï¸","â®","\uD83D\uDD4E","\uD83D\uDD2F","â","â","â","â","â","â","â","â","â","â","â","â","â","\uD83D\uDD00","\uD83D\uDD01","\uD83D\uDD02","â¶ï¸","â¶","â©","âï¸","â","â¯ï¸","â¯","âï¸","â","âª","â®ï¸","â®","\uD83D\uDD3C","â«","\uD83D\uDD3D","â¬","â¸ï¸","â¸","â¹ï¸","â¹","âºï¸","âº","âï¸","â","\uD83C\uDFA6","\uD83D\uDD05","\uD83D\uDD06","\uD83D\uDCF6","\uD83D\uDCF3","\uD83D\uDCF4","âï¸","â","âï¸","â","â§ï¸","â§","âï¸","â","â","â","â","â¾ï¸","â¾","â¼ï¸","â¼","âï¸","â","â","â","â","â","ã°ï¸","ã°","\uD83D\uDCB1","\uD83D\uDCB2","âï¸","â","â»ï¸","â»","âï¸","â","\uD83D\uDD31","\uD83D\uDCDB","\uD83D\uDD30","â","â
","âï¸","â","âï¸","â","â","â","â°","â¿","ã½ï¸","ã½","â³ï¸","â³","â´ï¸","â´","âï¸","â","\xa9ï¸","\xa9","\xaeï¸","\xae","â¢ï¸","â¢","#ï¸â£","#â£","*ï¸â£","*â£","0ï¸â£","0â£","1ï¸â£","1â£","2ï¸â£","2â£","3ï¸â£","3â£","4ï¸â£","4â£","5ï¸â£","5â£","6ï¸â£","6â£","7ï¸â£","7â£","8ï¸â£","8â£","9ï¸â£","9â£","\uD83D\uDD1F","\uD83D\uDD20","\uD83D\uDD21","\uD83D\uDD22","\uD83D\uDD23","\uD83D\uDD24","\uD83C\uDD70ï¸","\uD83C\uDD70","\uD83C\uDD8E","\uD83C\uDD71ï¸","\uD83C\uDD71","\uD83C\uDD91","\uD83C\uDD92","\uD83C\uDD93","â¹ï¸","â¹","\uD83C\uDD94","âï¸","â","\uD83C\uDD95","\uD83C\uDD96","\uD83C\uDD7Eï¸","\uD83C\uDD7E","\uD83C\uDD97","\uD83C\uDD7Fï¸","\uD83C\uDD7F","\uD83C\uDD98","\uD83C\uDD99","\uD83C\uDD9A","\uD83C\uDE01","\uD83C\uDE02ï¸","\uD83C\uDE02","\uD83C\uDE37ï¸","\uD83C\uDE37","\uD83C\uDE36","\uD83C\uDE2F","\uD83C\uDE50","\uD83C\uDE39","\uD83C\uDE1A","\uD83C\uDE32","\uD83C\uDE51","\uD83C\uDE38","\uD83C\uDE34","\uD83C\uDE33","ãï¸","ã","ãï¸","ã","\uD83C\uDE3A","\uD83C\uDE35","\uD83D\uDD34","\uD83D\uDFE0","\uD83D\uDFE1","\uD83D\uDFE2","\uD83D\uDD35","\uD83D\uDFE3","\uD83D\uDFE4","â«","âª","\uD83D\uDFE5","\uD83D\uDFE7","\uD83D\uDFE8","\uD83D\uDFE9","\uD83D\uDFE6","\uD83D\uDFEA","\uD83D\uDFEB","â¬","â¬","â¼ï¸","â¼","â»ï¸","â»","â¾","â½","âªï¸","âª","â«ï¸","â«","\uD83D\uDD36","\uD83D\uDD37","\uD83D\uDD38","\uD83D\uDD39","\uD83D\uDD3A","\uD83D\uDD3B","\uD83D\uDCA0","\uD83D\uDD18","\uD83D\uDD33","\uD83D\uDD32"],icon:function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",children:(0,s.jsx)("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.8
113-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76",fill:"currentColor"})})}},{title:"Flags",data:["\uD83C\uDFC1","\uD83D\uDEA9","\uD83C\uDF8C","\uD83C\uDFF4","\uD83C\uDFF3ï¸","\uD83C\uDFF3","\uD83C\uDFF3ï¸â\uD83C\uDF08","\uD83C\uDFF3â\uD83C\uDF08","\uD83C\uDFF3ï¸ââ§ï¸","\uD83C\uDFF3ââ§ï¸","\uD83C\uDFF3ï¸ââ§","\uD83C\uDFF3ââ§","\uD83C\uDFF4ââ ï¸","\uD83C\uDFF4ââ ","\uD83C\uDDE6\uD83C\uDDE8","\uD83C\uDDE6\uD83C\uDDE9","\uD83C\uDDE6\uD83C\uDDEA","\uD83C\uDDE6\uD83C\uDDEB","\uD83C\uDDE6\uD83C\uDDEC","\uD83C\uDDE6\uD83C\uDDEE","\uD83C\uDDE6\uD83C\uDDF1","\uD83C\uDDE6\uD83C\uDDF2","\uD83C\uDDE6\uD83C\uDDF4","\uD83C\uDDE6\uD83C\uDDF6","\uD83C\uDDE6\uD83C\uDDF7","\uD83C\uDDE6\uD83C\uDDF8","\uD83C\uDDE6\uD83C\uDDF9","\uD83C\uDDE6\uD83C\uDDFA","\uD83C\uDDE6\uD83C\uDDFC","\uD83C\uDDE6\uD83C\uDDFD","\uD83C\uDDE6\uD83C\uDDFF","\uD83C\uDDE7\uD83C\uDDE6","\uD83C\uDDE7\uD83C\uDDE7","\uD83C\uDDE7\uD83C\uDDE9","\uD83C\uDDE7\uD83C\uDDEA","\uD83C\uDDE7\uD83C\uDDEB","\uD83C\uDDE7\uD83C\uDDEC","\uD83C\uDDE7\uD83C\uDDED","\uD83C\uDDE7\uD83C\uDDEE","\uD83C\uDDE7\uD83C\uDDEF","\uD83C\uDDE7\uD83C\uDDF1","\uD83C\uDDE7\uD83C\uDDF2","\uD83C\uDDE7\uD83C\uDDF3","\uD83C\uDDE7\uD83C\uDDF4","\uD83C\uDDE7\uD83C\uDDF6","\uD83C\uDDE7\uD83C\uDDF7","\uD83C\uDDE7\uD83C\uDDF8","\uD83C\uDDE7\uD83C\uDDF9","\uD83C\uDDE7\uD83C\uDDFB","\uD83C\uDDE7\uD83C\uDDFC","\uD83C\uDDE7\uD83C\uDDFE","\uD83C\uDDE7\uD83C\uDDFF","\uD83C\uDDE8\uD83C\uDDE6","\uD83C\uDDE8\uD83C\uDDE8","\uD83C\uDDE8\uD83C\uDDE9","\uD83C\uDDE8\uD83C\uDDEB","\uD83C\uDDE8\uD83C\uDDEC","\uD83C\uDDE8\uD83C\uDDED","\uD83C\uDDE8\uD83C\uDDEE","\uD83C\uDDE8\uD83C\uDDF0","\uD83C\uDDE8\uD83C\uDDF1","\uD83C\uDDE8\uD83C\uDDF2","\uD83C\uDDE8\uD83C\uDDF3","\uD83C\uDDE8\uD83C\uDDF4","\uD83C\uDDE8\uD83C\uDDF5","\uD83C\uDDE8\uD83C\uDDF7","\uD83C\uDDE8\uD83C\uDDFA","\uD83C\uDDE8\uD83C\uDDFB","\uD83C\uDDE8\uD83C\uDDFC","\uD83C\uDDE8\uD83C\uDDFD","\uD83C\uDDE8\uD83C\uDDFE","\uD83C\uDDE8\uD83C\uDDFF","\uD83C\uDDE9\uD83C\uDDEA","\uD83C\uDDE9\uD83C\uDDEC","\uD83C\uDDE9\uD83C\uDDEF","\uD83C\uDDE9\uD83C\uDDF0","\uD83C\uDDE9\uD83C\uDDF2","\uD83C\uDDE9\uD83C\uDDF4","\uD83C\uDDE9\uD83C\uDDFF","\uD83C\uDDEA\uD83C\uDDE6","\uD83C\uDDEA\uD83C\uDDE8","\uD83C\uDDEA\uD83C\uDDEA","\uD83C\uDDEA\uD83C\uDDEC","\uD83C\uDDEA\uD83C\uDDED","\uD83C\uDDEA\uD83C\uDDF7","\uD83C\uDDEA\uD83C\uDDF8","\uD83C\uDDEA\uD83C\uDDF9","\uD83C\uDDEA\uD83C\uDDFA","\uD83C\uDDEB\uD83C\uDDEE","\uD83C\uDDEB\uD83C\uDDEF","\uD83C\uDDEB\uD83C\uDDF0","\uD83C\uDDEB\uD83C\uDDF2","\uD83C\uDDEB\uD83C\uDDF4","\uD83C\uDDEB\uD83C\uDDF7","\uD83C\uDDEC\uD83C\uDDE6","\uD83C\uDDEC\uD83C\uDDE7","\uD83C\uDDEC\uD83C\uDDE9","\uD83C\uDDEC\uD83C\uDDEA","\uD83C\uDDEC\uD83C\uDDEB","\uD83C\uDDEC\uD83C\uDDEC","\uD83C\uDDEC\uD83C\uDDED","\uD83C\uDDEC\uD83C\uDDEE","\uD83C\uDDEC\uD83C\uDDF1","\uD83C\uDDEC\uD83C\uDDF2","\uD83C\uDDEC\uD83C\uDDF3","\uD83C\uDDEC\uD83C\uDDF5","\uD83C\uDDEC\uD83C\uDDF6","\uD83C\uDDEC\uD83C\uDDF7","\uD83C\uDDEC\uD83C\uDDF8","\uD83C\uDDEC\uD83C\uDDF9","\uD83C\uDDEC\uD83C\uDDFA","\uD83C\uDDEC\uD83C\uDDFC","\uD83C\uDDEC\uD83C\uDDFE","\uD83C\uDDED\uD83C\uDDF0","\uD83C\uDDED\uD83C\uDDF2","\uD83C\uDDED\uD83C\uDDF3","\uD83C\uDDED\uD83C\uDDF7","\uD83C\uDDED\uD83C\uDDF9","\uD83C\uDDED\uD83C\uDDFA","\uD83C\uDDEE\uD83C\uDDE8","\uD83C\uDDEE\uD83C\uDDE9","\uD83C\uDDEE\uD83C\uDDEA","\uD83C\uDDEE\uD83C\uDDF1","\uD83C\uDDEE\uD83C\uDDF2","\uD83C\uDDEE\uD83C\uDDF3","\uD83C\uDDEE\uD83C\uDDF4","\uD83C\uDDEE\uD83C\uDDF6","\uD83C\uDDEE\uD83C\uDDF7","\uD83C\uDDEE\uD83C\uDDF8","\uD83C\uDDEE\uD83C\uDDF9","\uD83C\uDDEF\uD83C\uDDEA","\uD83C\uDDEF\uD83C\uDDF2","\uD83C\uDDEF\uD83C\uDDF4","\uD83C\uDDEF\uD83C\uDDF5","\uD83C\uDDF0\uD83C\uDDEA","\uD83C\uDDF0\uD83C\uDDEC","\uD83C\uDDF0\uD83C\uDDED","\uD83C\uDDF0\uD83C\uDDEE","\uD83C\uDDF0\uD83C\uDDF2","\uD83C\uDDF0\uD83C\uDDF3","\uD83C\uDDF0\uD83C\uDDF5","\uD83C\uDDF0\uD83C\uDDF7","\uD83C\uDDF0\uD83C\uDDFC","\uD83C\uDDF0\uD83C\uDDFE","\uD83C\uDDF0\uD83C\uDDFF","\uD83C\uDDF1\uD83C\uDDE6","\uD83C\uDDF1\uD83C\uDDE7","\uD83C\uDDF1\uD83C\uDDE8","\uD83C\uDDF1\uD83C\uDDEE","\uD83C\uDDF1\uD83C\uDDF0","\uD83C\uDDF1\uD83C\uDDF7","\uD83C\uDDF1\uD83C\uDDF8","\uD83C\uDDF1\uD83C\uDDF9","\uD83C\uDDF1\uD83C\uDDFA","\uD83C\uDDF1\uD83C\uDDFB","\uD83C\uDDF1\uD83C\uDDFE","\uD83C\uDDF2\uD83C\uDDE6","\uD83C\uDDF2\uD83C\uDDE8","\uD83C\uDDF2\uD83C\uDDE9","\uD83C\uDDF2\uD83C\uDDEA","\uD83C\uDDF2\uD83C\uDDEB","\uD83C\uDDF2\uD83C\uDDEC","\uD83C\uDDF2\uD83C\uDDED","\uD83C\uDDF2\uD83C\uDDF0","\uD83C\uDDF2\uD83C\uDDF1","\uD83C\uDDF2\uD83C\uDDF2","\uD83C\uDDF2\uD83C\uDDF3","\uD83C\uDDF2\uD83C\uDDF4","\uD83C\uDDF2\uD83C\uDDF5","\uD83C\uDDF2\uD83C\uDDF6","\uD83C\uDDF2\uD83C\uDDF7","\uD83C\uDDF2\uD83C\uDDF8","\uD83C\uDDF2\uD83C\uDDF9","\uD83C\uDDF2\uD83C\uDDFA","\uD83C\uDDF2\uD83C\uDDFB","\uD83C\uDDF2\uD83C\uDDFC","\uD83C\uDDF2\uD83C\uDDFD","\uD83C\uDDF2\uD83C\uDDFE","\uD83C\uDDF2\uD83C\uDDFF","\uD83C\uDDF3\uD83C\uDDE6","\uD83C\uDDF3\uD83C\uDDE8","\uD83C\uDDF3\uD83C\uDDEA","\uD83C\uDDF3\uD83C\uDDEB","\uD83C\uDDF3\uD83C\uDDEC","\uD83C\uDDF3\uD83C\uDDEE","\uD83C\uDDF3\uD83C\uDDF1","\uD83C\uDDF3\uD83C\uDDF4","\uD83C\uDDF3\uD83C\uDDF5","\uD83C\uDDF3\uD83C\uDDF7","\uD83C\uDDF3\uD83C\uDDFA","\uD83C\uDDF3\uD83C\uDDFF","\uD83C\uDDF4\uD83C\uDDF2","\uD83C\uDDF5\uD83C\uDDE6","\uD83C\uDDF5\uD83C\uDDEA","\uD83C\uDDF5\uD83C\uDDEB","\uD83C\uDDF5\uD83C\uDDEC","\uD83C\uDDF5\uD83C\uDDED","\uD83C\uDDF5\uD83C\uDDF0","\uD83C\uDDF5\uD83C\uDDF1","\uD83C\uDDF5\uD83C\uDDF2","\uD83C\uDDF5\uD83C\uDDF3","\uD83C\uDDF5\uD83C\uDDF7","\uD83C\uDDF5\uD83C\uDDF8","\uD83C\uDDF5\uD83C\uDDF9","\uD83C\uDDF5\uD83C\uDDFC","\uD83C\uDDF5\uD83C\uDDFE","\uD83C\uDDF6\uD83C\uDDE6","\uD83C\uDDF7\uD83C\uDDEA","\uD83C\uDDF7\uD83C\uDDF4","\uD83C\uDDF7\uD83C\uDDF8","\uD83C\uDDF7\uD83C\uDDFA","\uD83C\uDDF7\uD83C\uDDFC","\uD83C\uDDF8\uD83C\uDDE6","\uD83C\uDDF8\uD83C\uDDE7","\uD83C\uDDF8\uD83C\uDDE8","\uD83C\uDDF8\uD83C\uDDE9","\uD83C\uDDF8\uD83C\uDDEA","\uD83C\uDDF8\uD83C\uDDEC","\uD83C\uDDF8\uD83C\uDDED","\uD83C\uDDF8\uD83C\uDDEE","\uD83C\uDDF8\uD83C\uDDEF","\uD83C\uDDF8\uD83C\uDDF0","\uD83C\uDDF8\uD83C\uDDF1","\uD83C\uDDF8\uD83C\uDDF2","\uD83C\uDDF8\uD83C\uDDF3","\uD83C\uDDF8\uD83C\uDDF4","\uD83C\uDDF8\uD83C\uDDF7","\uD83C\uDDF8\uD83C\uDDF8","\uD83C\uDDF8\uD83C\uDDF9","\uD83C\uDDF8\uD83C\uDDFB","\uD83C\uDDF8\uD83C\uDDFD","\uD83C\uDDF8\uD83C\uDDFE","\uD83C\uDDF8\uD83C\uDDFF","\uD83C\uDDF9\uD83C\uDDE6","\uD83C\uDDF9\uD83C\uDDE8","\uD83C\uDDF9\uD83C\uDDE9","\uD83C\uDDF9\uD83C\uDDEB","\uD83C\uDDF9\uD83C\uDDEC","\uD83C\uDDF9\uD83C\uDDED","\uD83C\uDDF9\uD83C\uDDEF","\uD83C\uDDF9\uD83C\uDDF0","\uD83C\uDDF9\uD83C\uDDF1","\uD83C\uDDF9\uD83C\uDDF2","\uD83C\uDDF9\uD83C\uDDF3","\uD83C\uDDF9\uD83C\uDDF4","\uD83C\uDDF9\uD83C\uDDF7","\uD83C\uDDF9\uD83C\uDDF9","\uD83C\uDDF9\uD83C\uDDFB","\uD83C\uDDF9\uD83C\uDDFC","\uD83C\uDDF9\uD83C\uDDFF","\uD83C\uDDFA\uD83C\uDDE6","\uD83C\uDDFA\uD83C\uDDEC","\uD83C\uDDFA\uD83C\uDDF2","\uD83C\uDDFA\uD83C\uDDF3","\uD83C\uDDFA\uD83C\uDDF8","\uD83C\uDDFA\uD83C\uDDFE","\uD83C\uDDFA\uD83C\uDDFF","\uD83C\uDDFB\uD83C\uDDE6","\uD83C\uDDFB\uD83C\uDDE8","\uD83C\uDDFB\uD83C\uDDEA","\uD83C\uDDFB\uD83C\uDDEC","\uD83C\uDDFB\uD83C\uDDEE","\uD83C\uDDFB\uD83C\uDDF3","\uD83C\uDDFB\uD83C\uDDFA","\uD83C\uDDFC\uD83C\uDDEB","\uD83C\uDDFC\uD83C\uDDF8","\uD83C\uDDFD\uD83C\uDDF0","\uD83C\uDDFE\uD83C\uDDEA","\uD83C\uDDFE\uD83C\uDDF9","\uD83C\uDDFF\uD83C\uDDE6","\uD83C\uDDFF\uD83C\uDDF2","\uD83C\uDDFF\uD83C\uDDFC","\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67\uDB40\uDC7F","\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74\uDB40\uDC7F","\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73\uDB40\uDC7F"],icon:function(){return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",children:(0,s.jsx)("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z",fill:"
1currentColor"})})}}],tf=["\uD83D\uDE00","\uD83D\uDE03","\uD83D\uDE04","\uD83D\uDE01","\uD83D\uDE06","\uD83D\uDE05","\uD83D\uDE02","\uD83E\uDD23"];function tx({onSelectEmoji:e,children:t}){let[i,n]=(0,c.useState)([]),{t:o}=(0,j.u)(),a=(0,c.useMemo)(()=>i.length?[{title:"Frequently used",icon:_.Z,data:i},...t_]:t_,[i]),r=(0,c.useCallback)(t=>{tg.put(t),n(tg.get()),e&&e(t)},[e]);return(0,c.useEffect)(()=>{tg.syncFromStorage();let e=tg.get();null!=e&&e.length||tf.forEach(e=>{tg.put(e)}),n(tg.get())},[]),(0,s.jsxs)(k.P,{modal:!0,children:[(0,s.jsx)(k.o,{asChild:!0,children:t}),(0,s.jsx)(k.p,{hideWhenDetached:!0,className:"richtext-w-full richtext-h-full richtext-p-2",align:"start",side:"bottom",children:(0,s.jsxs)(em,{defaultValue:"Frequently used",children:[(0,s.jsx)(ep,{className:"richtext-flex richtext-items-center richtext-gap-[4px]",children:a.map(e=>(0,s.jsx)(eg,{value:e.title,className:"!richtext-p-[6px] richtext-bg-accent hover:richtext-text-accent-foreground",children:e.icon&&(0,s.jsx)(e.icon,{size:16})},`emoji-picker-title-${e.title}`))}),a.map(e=>(0,s.jsxs)(e_,{value:e.title,children:[(0,s.jsx)("p",{className:"richtext-mb-[6px] richtext-font-semibold",children:o(e.title)}),(0,s.jsx)("div",{className:"richtext-max-h-[280px] richtext-overflow-y-auto",children:(0,s.jsx)("div",{className:"richtext-grid richtext-grid-cols-8 richtext-gap-1 ",children:(e.data||[]).map(e=>(0,s.jsx)("div",{onClick:()=>r(e),className:"richtext-text-center richtext-cursor-pointer",children:e},`emoji-picker-${e}`))})})]},`emoji-picker-content-${e.title}`))]})})]})}function tb({editor:e,icon:t,...i}){let n=(0,c.useCallback)(t=>{let{selection:i}=e.state,{$anchor:n}=i;return e.chain().insertContentAt(n.pos,t).run()},[e]);return(0,s.jsx)(tx,{onSelectEmoji:n,children:(0,s.jsx)(k.A,{tooltip:null==i?void 0:i.tooltip,icon:t})})}let tv=new l.b("emoji");function tw(e){let{toast:t}=(0,k.O)(),{t:i}=(0,j.u)(),[n,o]=(0,c.useState)(!1),a=(0,c.useRef)(null);async function r(t){var i,n,o;let a=new DOMParser().parseFromString(t,"text/html"),r=a.querySelectorAll("img");if(!r.length)return a.body.innerHTML;if(!(0,k.Q)(e.editor,"image"))return console.error("Image extension not found, unable to convert image"),a.body.innerHTML;{let t=null==(i=e.editor.extensionManager.extensions.find(e=>"importWord"===e.name))?void 0:i.options;if(!t||"function"!=typeof t.upload)return console.warn("Image Upload method found, skip image conversion"),a.body.innerHTML;{let e=[];for(let t of r){let i=(o="image.jpeg",new File([n=function(e,t){let i=atob(e.split(",")[1]),n=Array.from({length:i.length});for(let e=0;e<i.length;e++)n[e]=i.charCodeAt(e);return new Blob([new Uint8Array(n)],{type:t})}(t.getAttribute("src"),"image/jpeg")],o,{type:n.type}));e.push(i)}let i=await t.upload(e);for(let e=0;e<r.length;e++){let t=r[e];t.setAttribute("src",i[e].src);let n=t.parentElement;(null==n?void 0:n.tagName)!=="P"||(n.insertAdjacentElement("beforebegin",t),n.hasChildNodes()||""!==n.textContent||n.remove())}return a.body.innerHTML}}}async function d(t){o(!0);try{if(e.convert){let i=await e.convert(t);u(i)}else{let i=await t.arrayBuffer(),{value:n}=await l.aC.convertToHtml({arrayBuffer:i},null==e?void 0:e.mammothOptions);u(n)}}finally{o(!1)}}async function u(t){let i=await r(t);e.editor.chain().setContent(i,!0).run()}return(0,s.jsxs)("div",{children:[(0,s.jsx)(k.A,{loading:n,disabled:null==e?void 0:e.disabled,icon:null==e?void 0:e.icon,tooltip:null==e?void 0:e.tooltip,action:function(){var e;null==(e=a.current)||e.click()}}),(0,s.jsx)("input",{type:"file",accept:".docx",ref:a,style:{display:"none"},onChange:function(n){let o=n.target.files[0];if(o){if(o.size>e.limit){t({variant:"destructive",title:i("editor.importWord.limitSize")});return}d(o)}}})]})}r.N.create({name:"emoji",content:"text*",priority:200,addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),HTMLAttributes:{},suggestion:{char:":",pluginKey:tv,command:({editor:e,range:t,props:i})=>{e.chain().focus().insertContentAt(t,`${i.emoji} `).run()}},button:({editor:e,t:t})=>({component:tb,componentProps:{editor:e,action:()=>{},isActive:()=>!1,disabled:!1,icon:"EmojiIcon",tooltip:t("editor.emoji.tooltip")}})}},addCommands:()=>({setEmoji:e=>({commands:t})=>t.insertContent(`${e.emoji} `)}),addProseMirrorPlugins(){return[(0,r._)({editor:this.editor,...this.options.suggestion})]}}).configure({suggestion:{items:({query:e})=>tu.filter(t=>t.startsWith(e)).map(e=>({name:e,emoji:td[e]})),render:()=>{let e,t,i;return{onStart:n=>{(i=n.editor.isEditable)&&(e=new r.$(th,{props:n,editor:n.editor}),t=(0,S.ZP)("body",{getReferenceClientRect:n.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:"bottom-start"}))},onUpdate(n){i&&(e.updateProps(n),t[0].setProps({getReferenceClientRect:n.clientRect}))},onKeyDown(n){var o;if(i)return"Escape"===n.event.key?(t[0].hide(),!0):null==(o=e.ref)?void 0:o.onKeyDown(n)},onExit(){i&&(t[0].destroy(),e.destroy())}}}}}),r.o.create({name:"exportPdf",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>{!function(e){let t=e.getHTML();t&&function(e){let t=document.createElement("iframe");t.setAttribute("style","position: absolute; width: 0; height: 0; top: 0; left: 0;"),document.body.appendChild(t),t.textContent=` 2 <!DOCTYPE html> 3 <html lang="en"> 4 <head> 5 <title>Echo Editor</title> 6 <meta charset="UTF-8"> 7 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 8 </head> 9 <body class="is-print"> 10 <div class="tiptap ProseMirror" translate="no" aria-expanded="false"> 11 ${e} 12 </div> 13 </body> 14 </html> 15 `;let i=t.contentWindow,n=t.contentDocument||t.contentWindow&&t.contentWindow.document,o=document.createElement("link");o.rel="stylesheet",o.href="https://cdn.jsdelivr.net/npm/reactjs-tiptap-editor@latest/lib/style.css",n.head.appendChild(o),n&&(n.open(),n.write(e),n.close()),i&&(t.onload=function(){try{
15setTimeout(()=>{i.focus();try{i.document.execCommand("print",!1)||i.print()}catch{i.print()}i.close()},10)}catch(e){console.error(e)}setTimeout(()=>{document.body.removeChild(t)},100)})}(t)}(e)},icon:"ExportPdf",tooltip:t("editor.exportPdf.tooltip"),isActive:()=>!1,disabled:!1}})}}}),r.o.create({name:"importWord",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),upload:void 0,convert:void 0,limit:10485760,button:({editor:e,extension:t,t:i})=>{let{convert:n,limit:o,mammothOptions:a}=t.options;return{component:tw,componentProps:{editor:e,convert:n,limit:o,mammothOptions:a,action:()=>e.commands.setHorizontalRule(),disabled:!e.can().setHorizontalRule(),icon:"Word",shortcutKeys:["alt","mod","S"],tooltip:i("editor.importWord.tooltip")}}}}}});let ty="u">typeof window,tk={...O.tq,hardBreak:O.tq.hard_break,codeBlock:O.tq.code_block,orderedList:O.tq.ordered_list,listItem:O.tq.list_item,bulletList:O.tq.bullet_list,horizontalRule:O.tq.horizontal_rule,image(e,t){e.renderInline(t),e.closeBlock(t)}},tj=new O.P6(tk,O.ci),tC=(r.o.create({name:"exportWord",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),button:({editor:e,t:t})=>({component:k.A,componentProps:{icon:"ExportWord",action:()=>{null==e||e.commands.exportToWord()},tooltip:t("editor.exportWord.tooltip"),isActive:()=>!1,disabled:!1}})}},addCommands:()=>({exportToWord:()=>async({editor:e})=>{let t=tj.serialize(e.state.doc,{getImageBuffer:async e=>new Uint8Array(await (await fetch(e)).arrayBuffer())});return E.UDs.toBlob(t).then(e=>(function(e,t){if(ty){let i=window.URL.createObjectURL(e),n=document.createElement("a");return n.href=i,n.download=t,n.click(),window.URL.revokeObjectURL(i),Promise.resolve()}return console.error("Download is not supported in Node.js"),Promise.resolve()})(new Blob([e]),"export-document.docx")),!0}})}),{toc:"_toc_aag8a_1",visible:"_visible_aag8a_7",list:"_list_aag8a_11",item:"_item_aag8a_16"});function tA({editor:e}){let t=(0,k.u)(),[i,n]=(0,c.useState)([]),{t:o}=(0,j.u)(),a=(0,c.useCallback)(()=>{let t=[],i=e.state.tr;e.state.doc.descendants((e,n)=>{if("heading"===e.type.name){let o=`heading-${t.length+1}`;e.attrs.id!==o&&i.setNodeMarkup(n,void 0,{...e.attrs,id:o}),t.push({level:e.attrs.level,text:e.textContent,id:o})}}),i.setMeta("addToHistory",!1),i.setMeta("preventUpdate",!0),e.view.dispatch(i),n(t),e.eventEmitter&&e.eventEmitter.emit("TableOfContents",function(e){let t=[],i=[t];return e.forEach(e=>{let t=-1,n=i[e.level+t];for(;!n;)t-=1,n=i[e.level+t];n.push({...e,children:i[e.level]=[]})}),t}(t))},[e]);return(0,c.useEffect)(()=>{if(e){if(!e.options.editable){a();return}return e.on("update",a),()=>{e.off("update",a)}}},[e,a]),(0,c.useEffect)(()=>{a()},[]),(0,s.jsx)(r.a,{className:(0,l.aq)("tableOfContent",tC.toc,t&&tC.visible),children:t?(0,s.jsxs)("div",{style:{position:"relative"},children:[(0,s.jsx)("p",{className:"richtext-mb-[8px] text-[20px] richtext-font-semibold",children:o("editor.table_of_content")}),(0,s.jsx)("ul",{className:tC.list,children:i.map((e,t)=>(0,s.jsx)("li",{className:tC.item,style:{paddingLeft:`${e.level-1}rem`},children:(0,s.jsx)("a",{href:`#${e.id}`,children:e.text})},`table-of-content-${t}`))})]}):null})}function tN({editor:e,icon:t,tooltip:i}){let n=function(e,...t){let[i,n]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{let i=()=>{n(e.isActive.apply(e,t))};return e.on("selectionUpdate",i),e.on("transaction",i),()=>{e.off("selectionUpdate",i),e.off("transaction",i)}},[e,t,n]),i}(e,tT.name),o=(0,c.useCallback)(()=>{if(n){e.chain().focus().removeTableOfContents().run();return}e.chain().focus().setTableOfContents().run()},[e,n]);return(0,s.jsx)(k.A,{action:o,isActive:()=>n||!1,icon:t,tooltip:i})}let tT=r.N.create({name:"tableOfContents",group:"block",atom:!0,addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),onHasOneBeforeInsert:()=>{},resizable:!0,lastColumnResizable:!0,allowTableNodeSelection:!1,button:({editor:e,t:t})=>({component:tN,componentProps:{disabled:!1,icon:"BookMarked",tooltip:t("editor.table.tooltip"),editor:e}})}},parseHTML:()=>[{tag:"toc"}],renderHTML:({HTMLAttributes:e})=>["toc",(0,r.m)(e)],addNodeView:()=>(0,r.R)(tA),addCommands(){return{setTableOfContents:()=>({commands:e,editor:t,view:i})=>{if(function(e,t){let i=[e.getJSON()],n=[];for(;i.length;){let e=i.shift();e.type===t&&n.push(e),e.content&&e.content.length&&i.push(...e.content)}return n}(t,this.name).length){this.options.onHasOneBeforeInsert();return}
15let n=i.props.state.doc.content.firstChild;if(n&&"title"===n.type.name){let t=(n.firstChild&&n.firstChild.nodeSize||0)+1;return e.insertContentAt(t,{type:this.name})}return e.insertContent({type:this.name})},removeTableOfContents:()=>({state:e,dispatch:t})=>{let{tr:i}=e,n=e.schema.nodes.tableOfContents;return e.doc.descendants((e,t)=>{if(e.type===n){let n=t+e.nodeSize;i.delete(t,n)}}),!!i.docChanged&&(t(i),!0)}}},addGlobalAttributes:()=>[{types:["heading"],attributes:{id:{default:null}}}]});function tL(e){var t;let i=(0,c.useMemo)(()=>{var t;let i=null==(t=null==e?void 0:e.items)?void 0:t.find(e=>e.isActive());return i&&!i.default?{...i,icon:i.icon?i.icon:e.icon}:{title:null==e?void 0:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return(0,s.jsxs)(k.P,{modal:!0,children:[(0,s.jsx)(k.o,{disabled:null==e?void 0:e.disabled,asChild:!0,children:(0,s.jsx)(k.A,{customClass:"!richtext-w-12 richtext-h-12",icon:null==e?void 0:e.icon,tooltip:null==e?void 0:e.tooltip,disabled:null==e?void 0:e.disabled,children:(0,s.jsx)(k.I,{className:"richtext-w-3 richtext-h-3 richtext-ml-1 richtext-text-zinc-500",name:"MenuDown"})})}),(0,s.jsx)(k.p,{className:"richtext-min-w-4 richtext-w-full !richtext-p-[4px] richtext-flex ric
15htext-flex-row richtext-gap-1",align:"start",side:"bottom",children:null==(t=null==e?void 0:e.items)?void 0:t.map((e,t)=>{var n,o;return(0,s.jsxs)(k.T,{children:[(0,s.jsx)(k.a,{asChild:!0,children:(0,s.jsx)(k.q,{size:"sm",onClick:null==e?void 0:e.action,className:"richtext-p-1 richtext-w-7 richtext-h-7",pressed:i.title===e.title,"data-state":i.title===e.title?"on":"off",children:(null==e?void 0:e.icon)&&(0,s.jsx)(k.I,{name:e.icon})})}),(0,s.jsxs)(k.b,{className:"richtext-flex richtext-flex-col richtext-items-center",children:[(0,s.jsx)("span",{children:e.title}),!!(null!=(n=e.shortcutKeys)&&n.length)&&(0,s.jsx)("span",{children:null==(o=e.shortcutKeys)?void 0:o.map(e=>(0,k.n)(e)).join(" ")})]})]},`text-align-${t}`)})})]})}r.o.create({name:"text-direction",addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),types:["heading","paragraph"],directions:["auto","ltr","rtl"],defaultDirection:"auto",button({editor:e,extension:t,t:i}){var n;let o=(null==(n=t.options)?void 0:n.directions)||[],a={auto:"TextDirection",ltr:"LeftToRight",rtl:"RightToLeft"},r=o.map(t=>({title:i(`editor.textDirection.${t}.tooltip`),icon:a[t],isActive:()=>!1,action:()=>{var i,n,o,a;if("auto"===t){null==(n=null==(i=e.commands)?void 0:i.unsetTextDirection)||n.call(i);return}null==(a=null==(o=e.commands)?void 0:o.setTextDirection)||a.call(o,t)},disabled:!1})),l=r.filter(e=>e.disabled).length===r.length;return{component:tL,componentProps:{icon:"TextDirection",tooltip:i("editor.textDirection.tooltip"),disabled:l,items:r}}}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{dir:{default:this.options.defaultDirection,parseHTML:e=>e.attributes.dir&&this.options.directions.includes(e.attributes.dir)?e.attributes.dir.value:this.options.defaultDirection,renderHTML:e=>({dir:e.dir})}}}]},addCommands(){return{setTextDirection:e=>({commands:t})=>!!this.options.directions.includes(e)&&this.options.types.every(i=>t.updateAttributes(i,{dir:e})),unsetTextDirection:()=>({commands:e})=>this.options.types.every(t=>e.resetAttributes(t,"dir"))}}});let tM={listUsers:"_listUsers_en3pm_1",itemUser:"_itemUser_en3pm_10",selectedUser:"_selectedUser_en3pm_31"},tS=(0,c.forwardRef)((e,t)=>{let i=(0,c.useRef)(),[n,o]=(0,c.useState)(0),a=t=>{let i=e.items[t];i&&e.command({id:i,label:i})},r=()=>{o((n+e.items.length-1)%e.items.length)},d=()=>{o((n+1)%e.items.length)},u=()=>{a(n)};return(0,c.useEffect)(()=>o(0),[e.items]),(0,c.useEffect)(()=>{if(Number.isNaN(n+1))return;let e=i.current.querySelector(`span:nth-of-type(${n+1})`);e&&(0,P.Z)(e,{behavior:"smooth",scrollMode:"if-needed"})},[n]),(0,c.useImperativeHandle)(t,()=>({onKeyDown:({event:e})=>"ArrowUp"===e.key?(r(),!0):"ArrowDown"===e.key?(d(),!0):"Enter"===e.key&&(u(),!0)})),(0,s.jsx)("div",{className:(0,l.aq)("listUsers",tM.listUsers),children:(0,s.jsx)("div",{ref:i,children:e.items.length?e.items.map((e,t)=>(0,s.jsx)("span",{className:(0,l.aq)("itemUser",tM.itemUser,t===n?tM.selectedUser:""),onClick:()=>a(t),children:e},t)):(0,s.jsx)("div",{className:(0,l.aq)("itemUserEmpty",tM.itemUser),children:"Empty"})})})}),tz=[{id:"1",name:"John Doe"},{id:"2",name:"Jane Doe"},{id:"3",name:"Alice"},{id:"4",name:"Bob"}];r.a4.extend({addAttributes:()=>({id:{default:"",parseHTML:(0,k.U)("id")},label:{default:"",parseHTML:(0,k.U)("label")}})}).configure({HTMLAttributes:{class:"mention"},suggestion:{items:async({query:e})=>tz.map(e=>e.name).filter(t=>t.toLowerCase().startsWith(e.toLowerCase())),render:()=>{let e,t;return{onStart:i=>{e=new r.$(tS,{props:i,editor:i.editor}),t=(0,S.ZP)("body",{getReferenceClientRect:i.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:"bottom-start"})},onUpdate(i){e.updateProps(i),t[0].setProps({getReferenceClientRect:i.clientRect})},onKeyDown(i){var n;return"Escape"===i.event.key?(t[0].hide(),!0):null==(n=e.ref)?void 0:n.onKeyDown(i)},onExit(){t[0].destroy(),e.destroy()}}}}});let tH={audio:(0,s.jsx)(f.Z,{}),video:(0,s.jsx)(x.Z,{}),file:(0,s.jsx)(b.Z,{}),image:(0,s.jsx)(v.Z,{}),pdf:(0,s.jsx)(k.X,{}),word:(0,s.jsx)(k.W,{}),excel:(0,s.jsx)(w.Z,{}),ppt:(0,s.jsx)(y.Z,{})};function tR(e,t=!1){let i=tH[(0,k.V)(e)]||(0,s.jsx)(s.Fragment,{});return t?function(e){let t=l.aD.renderToStaticMarkup(e),i=new DOMParser().parseFromString(t,"image/svg+xml").documentElement,n=["svg",{...Array.from(i.attributes).reduce((e,t)=>
15(e[t.name]=t.value,e),{})}];return Array.from(i.childNodes).forEach(e=>{if(1===e.nodeType){let t=[e.tagName.toLowerCase(),Array.from(e.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{})];e.textContent&&t.push(e.textContent),n.push(t)}}),n}(i):i}let tP={wrap:"_wrap_1x1ms_2"};function tO({editor:e,node:t,updateAttributes:i,deleteNode:n,extension:o}){var a;let d=(0,c.useRef)(),u=(0,k.u)(),{hasTrigger:h,fileName:m,fileSize:p,fileExt:g,fileType:_,url:f,error:x}=t.attrs,[b,v]=(0,c.useState)(!1),{t:w}=(0,j.u)(),y=null==(a=null==o?void 0:o.options)?void 0:a.upload,C=(0,c.useCallback)(()=>{!u||f||u&&d.current.click()},[u,f]),A=(0,c.useCallback)(async e=>{let t=e.target.files&&e.target.files[0];if(!t)return;let n={fileName:(0,k.Z)(t.name),fileSize:t.size,fileType:t.type,fileExt:(0,k.Y)(t.name)};v(!0);try{let e=await y(t);i({...n,url:e}),v(!1)}catch(e){i({error:`File upload fail: ${e&&e.message}`||"Unknown error"}),v(!1),d.current.value=""}},[v,i]);(0,c.useEffect)(()=>{f||h||(C(),i({hasTrigger:!0}))},[f,h,C,i]);let N=(0,c.useCallback)(()=>n(),[e]);return u&&!f?(0,s.jsx)(r.a,{children:(0,s.jsxs)("div",{className:(0,l.aq)(tP.wrap,"render-wrapper"),children:[(0,s.jsx)("p",{style:{cursor:"pointer"},onClick:C,children:b?(0,s.jsx)("span",{children:w("editor.attachment.uploading")}):(0,s.jsx)("span",{children:w("editor.attachment.please_upload")})}),(0,s.jsx)("input",{ref:d,type:"file",hidden:!0,onChange:A})]})}):f?(0,s.jsx)(r.a,{children:(0,s.jsxs)("div",{className:(0,l.aq)(tP.wrap,"render-wrapper"),onClick:C,children:[(0,s.jsxs)("div",{className:"richtext-flex ric
15htext-items-center richtext-gap-[4px]",children:[(0,s.jsx)("span",{children:tR(_)}),(0,s.jsxs)("span",{children:[m,".",g]}),(0,s.jsxs)("span",{children:["(",(0,k._)(p),")"]})]}),(0,s.jsx)(k.A,{icon:"Trash2",action:N,tooltip:w("editor.delete")})]})}):"null"!==x?(0,s.jsx)(r.a,{children:(0,s.jsx)("div",{className:(0,l.aq)(tP.wrap,"render-wrapper"),onClick:C,children:(0,s.jsx)("p",{children:x})})}):(0,s.jsx)(s.Fragment,{})}r.N.create({name:"attachment",content:"",marks:"",group:"block",selectable:!0,atom:!0,draggable:!0,addOptions(){var e;return{...null==(e=this.parent)?void 0:e.call(this),HTMLAttributes:{class:"attachment"},button:({editor:e,t:t})=>({component:k.A,componentProps:{action:()=>e.chain().focus().setAttachment().run(),isActive:()=>!1,disabled:!1,icon:"Attachment",tooltip:t("editor.attachment.tooltip")}})}},parseHTML:()=>[{tag:"div[class=attachment]"}],renderHTML({HTMLAttributes:e}){let{url:t="",fileName:i="",fileSize:n="",fileType:o="",fileExt:a=""}=e||{};return["div",(0,r.m)(this.options.HTMLAttributes||{},e||{}),t?["a",{href:t||"#"},["span",{class:"attachment__icon"},tR(o,!0)],["span",{class:"attachment__text"},`${i}.${a} (${(0,k._)(n)})`]]:["div",{class:"attachment__placeholder"}]]},addAttributes:()=>({fileName:{default:null,parseHTML:(0,k.U)("filename")},fileSize:{default:null,parseHTML:(0,k.U)("filesize")},fileType:{default:null,parseHTML:(0,k.U)("filetype")},fileExt:{default:null,parseHTML:(0,k.U)("fileext")},url:{default:null,parseHTML:(0,k.U)("url")},hasTrigger:{default:!1,parseHTML:e=>"true"===(0,k.U)("hastrigger")(e)},error:{default:null,parseHTML:(0,k.U)("error")}}),addCommands(){return{setAttachment:(e={})=>({chain:t})=>t().insertContent({type:this.name,attrs:e}).run()}},addNodeView:()=>(0,r.R)(tO)})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.