const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/290c1711-577b-4e8b-9920-376bf1a8192e.Cp3lKcmX.js","assets/js/b88072d2-91f5-4815-abcd-d59a5b69b266.BYkOx-QV.js","assets/js/495e1c5f-f357-4baf-ae1e-e0511467485f.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./9c8e94b5-8260-483d-9877-eeb7559a085b.D5fGgdNQ.js";import{j as e}from"./d48819c6-0c4c-4770-81f9-ac1b5c309d08.DZIiRdYb.js";import{m as j,r as s}from"./b88072d2-91f5-4815-abcd-d59a5b69b266.BYkOx-QV.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./0813ed87-fdbd-4d7a-aabc-d9d8071d81c5._vCv0u-I.js";import"./495e1c5f-f357-4baf-ae1e-e0511467485f.C0Zqfgkc.js";import"./598830cb-a3c2-4d09-ab90-604263fb78c9.BZasVZGj.js";import"./f737e302-3da9-4622-bcf0-3846c29e0340.Li0bcaz3.js";import"./088556fa-dfbb-4531-849e-7a1347dcc4a0.jWVkH3MO.js";const E=s.lazy(()=>u(()=>import("./290c1711-577b-4e8b-9920-376bf1a8192e.Cp3lKcmX.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};
