const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/f44eb99c-d78f-449b-bf13-ab96dfe1a9b5.DKBRPToN.js","assets/js/e3dffcae-1f52-4da3-8bcf-140aec0913b5.BY24HJgJ.js","assets/js/3799a46f-55a1-427e-9341-5c16ae8c4d42.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./85bef62d-ae49-4d0f-ba28-2a70859000ae.DTaF0dxa.js";import{j as e}from"./f430c946-0452-4bba-97c5-89f3f1de581a.-vflqN_Y.js";import{m as j,r as s}from"./e3dffcae-1f52-4da3-8bcf-140aec0913b5.BY24HJgJ.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./9bfc9582-54ea-4cdd-834c-2cca22d14700.ZIlkxfDO.js";import"./3799a46f-55a1-427e-9341-5c16ae8c4d42.C0Zqfgkc.js";import"./09b52c17-36b4-4842-a2eb-b6e5dc3d2684.BM6yZllj.js";import"./e89b335d-d795-4198-b8e5-5e579ee14b57.DVdg-Gtx.js";import"./13d8ea94-edf8-483a-bbc2-8631a2bd9cdc.BZiPFt1b.js";const E=s.lazy(()=>u(()=>import("./f44eb99c-d78f-449b-bf13-ab96dfe1a9b5.DKBRPToN.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};
