const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/a1145548-5af5-4167-b892-1584fe3e8091.RMwJeJYa.js","assets/js/3bbebd79-6302-425b-9fe5-35fdbb439250.CAYVRFqY.js","assets/js/5620f695-e1ba-4d15-beef-d325b68e1ce2.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./1c4b12bd-07a5-4e51-a942-9f4e016c7422.CTm5XBKq.js";import{j as e}from"./20e36d67-8d83-4178-8f0b-a506491a9a10.auOyiB6P.js";import{m as j,r as s}from"./3bbebd79-6302-425b-9fe5-35fdbb439250.CAYVRFqY.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./63b76abc-7191-4509-95e0-083c2d58bdf4.ChcTiR6y.js";import"./5620f695-e1ba-4d15-beef-d325b68e1ce2.C0Zqfgkc.js";import"./59fa0bd5-cf00-49ec-9e19-0c0ddb44c6dd.BTceWfoi.js";import"./cbcb672d-a3bf-4248-8bad-dfb9a25d4a62.9bbJlnql.js";import"./062d221a-2b06-4d4f-9e75-5263b7fbc0b8.BkIv7D6H.js";const E=s.lazy(()=>u(()=>import("./a1145548-5af5-4167-b892-1584fe3e8091.RMwJeJYa.js"),__vite__mapDeps([0,1,2])));function z({id:o}){const i=d(t=>t.getContainer(o))(t=>t.emojiArea),r=h(t=>t.open),m=j(t=>t.theme),a="facebook",n=m?"dark":"light",c=t=>{r(e.jsx(s.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(E,{emojiStyle:a,theme:n,onEmojiClick:l=>x(o,l.emoji),width:"auto",height:"60vh"})}),{placement:i.position},t.target,10,{mounted:()=>t.target.setAttribute("style","color: green !important"),desmouted:()=>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:t=>c(t),children:e.jsx(p,{className:"h-7 w-7"})})})}export{z as default};
