const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.DX8EUNOz.js","assets/js/35cfa646-9ab6-42a2-8c31-4c211f257271.fA9bAEYr.js"])))=>i.map(i=>d[i]);
import{h as v,j as h,d as E,_ as f}from"./332a5867-fdbb-43c7-ad56-a412ce956721.B_5Mff4E.js";import{j as e,r as o}from"./35cfa646-9ab6-42a2-8c31-4c211f257271.fA9bAEYr.js";import{a0 as g}from"./e5a2f637-302a-420f-94de-cacd45b03f37.Cj_ALb9R.js";var x=o.lazy(function(){return f(()=>import("./emoji-picker-react.esm.DX8EUNOz.js"),__vite__mapDeps([0,1]))});function k(i){var a=i.id,n=v().getContainer,r=n(a)(),s=r.emojiArea,m=r.insertEmoji,u=h().open,l=E().theme,c="facebook",j=l?"dark":"light",p=function(t){u(e.jsx(o.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(x,{emojiStyle:c,theme:j,onEmojiClick:function(d){return m(d.emoji)},width:"auto",height:"60vh"})}),{placement:s.position},t.target,10,{mounted:function(){return t.target.setAttribute("style","color: green !important")},desmouted:function(){return t.target.removeAttribute("style")}})};return e.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:e.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:function(t){return p(t)},children:e.jsx(g,{className:"h-7 w-7"})})})}export{k as default};
