const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.DknrxlDR.js","assets/js/b60f18b9-f36b-4fe2-bf6e-fe758a2cea8b.Dw9fHy4u.js","assets/js/14c545a1-4634-42fb-8d23-686c08a1570d.2bdNt1_6.js","assets/js/5b93ec24-3400-41f8-84ac-89cf2d4c32b1.ByLLyznC.js"])))=>i.map(i=>d[i]);
import{e as p,j as t,aP as u,_ as j}from"./14c545a1-4634-42fb-8d23-686c08a1570d.2bdNt1_6.js";import{r as s}from"./b60f18b9-f36b-4fe2-bf6e-fe758a2cea8b.Dw9fHy4u.js";import{u as d,a as h}from"../../index.js";import{s as x}from"./index.B4BawKGx.js";import"./5b93ec24-3400-41f8-84ac-89cf2d4c32b1.ByLLyznC.js";const E=s.lazy(()=>j(()=>import("./emoji-picker-react.esm.DknrxlDR.js"),__vite__mapDeps([0,1,2,3])));function k({id:o}){const i=d(e=>e.getContainer(o))(e=>e.emojiArea),r=h(e=>e.open),a=p(e=>e.theme),m="facebook",n=a?"dark":"light",c=e=>{r(t.jsx(s.Suspense,{fallback:t.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:t.jsx(E,{emojiStyle:m,theme:n,onEmojiClick:l=>x(o,l.emoji),width:"auto",height:"60vh"})}),{placement:i.position},e.target,10,{mounted:()=>e.target.setAttribute("style","color: green !important"),desmouted:()=>e.target.removeAttribute("style")})};return t.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:t.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:e=>c(e),children:t.jsx(u,{className:"h-7 w-7"})})})}export{k as default};
