const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/b3cc4155-f67f-46ee-af04-811865206142.D8Zq7-B0.js","assets/js/80256efe-7657-4e86-a787-3a5fd603a748.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./773247f3-1949-4c22-8cfb-871ac199fb7d.D3tlKWF8.js";import{a as s}from"./80256efe-7657-4e86-a787-3a5fd603a748.CC2qRq32.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./83b4ebe5-1fd0-4992-8086-c22d87ed770d.ClRrp0rp.js";import{s as x}from"./index.6cqiAEjd.js";import"./4a0e9a81-8e8b-4161-a060-236d0eab758a.jH4eI3mQ.js";import"./afbe9a2c-558a-4583-8e0b-ed179f638036.NIGUFBhG.js";import"./71a76447-4966-46ec-b88e-5ae140e7bd9a.BXHe5XKZ.js";import"./4a415e05-3d89-4bc0-8d21-b65c5fb82a0e.DKgJqhcM.js";import"./0ba57069-1f5e-443d-b149-05e6a21ebe1f.B7BfMgt9.js";const E=s.lazy(()=>u(()=>import("./b3cc4155-f67f-46ee-af04-811865206142.D8Zq7-B0.js"),__vite__mapDeps([0,1])));function z({id:o}){const i=j(t=>t.getContainer(o))(t=>t.emojiArea),r=d(t=>t.open),a=h(t=>t.theme),m="facebook",n=a?"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:m,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};
