const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/d14c1659-9cf0-4049-80be-907d6596f824.B_p25Cca.js","assets/js/fba659fd-141b-444a-9949-d1b1c9de2776.BGex24A5.js","assets/js/deffac6f-6080-4634-a313-9a9c19cb05b9.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./3eb9cf24-1295-46e2-aedf-f7224a9cf267.CiXsu8Tu.js";import{j as e}from"./97895ccd-eacb-468d-acaf-a05b0600c661.CCJ6x-uO.js";import{m as j,r as s}from"./fba659fd-141b-444a-9949-d1b1c9de2776.BGex24A5.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./4c4f3386-b306-484e-9b07-c37143bd87f7.BexD02x3.js";import"./deffac6f-6080-4634-a313-9a9c19cb05b9.C0Zqfgkc.js";import"./29195f33-83f4-4a9e-8d49-3174b1e2bbee.D2G3_5-M.js";import"./a68ba3ac-e057-4b8e-9d04-a24b0b99fdb5.-LVU_LFu.js";import"./1943e3b3-b854-4d0d-a6b7-6c00da964781.BNvKqlAS.js";const E=s.lazy(()=>u(()=>import("./d14c1659-9cf0-4049-80be-907d6596f824.B_p25Cca.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};
