const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/350592fe-a7ab-48f3-b339-1bf607d2878d.L1i_DRZ3.js","assets/js/e4e40f4a-5802-4d1d-ae16-f5de7083887e.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aD as p,_ as u}from"./8b4fd2af-4e6c-4aeb-b444-eaaa5e212cca.CC5s4FxV.js";import{a as s}from"./e4e40f4a-5802-4d1d-ae16-f5de7083887e.CC2qRq32.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./495899d5-526c-4abd-9a81-30e028633bec.lro3OFZl.js";import{s as x}from"./index.6cqiAEjd.js";import"./95a3399a-8fb9-4bc6-b9e5-d500552f7963.DwUmnjuT.js";import"./b485c9d4-3434-42a5-942f-5272cf76a0dd.NIGUFBhG.js";import"./b67b8309-fa28-4cfe-8ba3-a0f9c73f7363.BJV7ljaW.js";import"./4a14c428-8836-4e67-b1c3-b0e6756bfe4f.CBjVyGub.js";import"./e48c6079-eb0b-4319-adb4-a4395710582e.BCVHUtG3.js";const E=s.lazy(()=>u(()=>import("./350592fe-a7ab-48f3-b339-1bf607d2878d.L1i_DRZ3.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};
