const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/11ef3041-0fd7-4d95-9dad-b02c0f01ff63.DriKgdWn.js","assets/js/aea5e155-6328-40a6-9d63-263c0dcaecca.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./aeb8bec7-126f-4d16-ba8b-07a409185d11.EXIR9chA.js";import{a as s}from"./aea5e155-6328-40a6-9d63-263c0dcaecca.DiKAzxfG.js";import{a as j,b as d}from"../../index.js";import{g as h}from"./20480b3b-8c00-4713-be5a-c9562cb942ae.RkR8z2ER.js";import{s as g}from"./index.6cqiAEjd.js";import"./923e70ff-389f-43d0-824d-f08aad378a67.DNAultaL.js";import"./974ad018-db40-48a4-8cb6-af79a70d1a43.HGeehRIZ.js";import"./4a917a75-241f-4a3a-a625-4431bc18b7e0.U68TwGAK.js";import"./9d2dbb66-af43-47e3-adae-cf5f5d51cc35.CvM4tJXF.js";import"./82aea7f3-e656-4b87-ba99-f674e3a7e5ba.B9ygI19o.js";const x=s.lazy(()=>u(()=>import("./11ef3041-0fd7-4d95-9dad-b02c0f01ff63.DriKgdWn.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(x,{emojiStyle:m,theme:n,onEmojiClick:l=>g(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};
