const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/101f3e8e-9259-4509-b571-7699150eccba.CqESCSx5.js","assets/js/fbeaa824-f437-454f-ac47-7e24750bb32e.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./63ff95b2-66eb-44bc-9357-13bf0b6d2fdf.BR30HtGv.js";import{a as s}from"./fbeaa824-f437-454f-ac47-7e24750bb32e.CC2qRq32.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./5d669d12-c308-4594-b591-ef72fd34318c.CXmqblNO.js";import{s as x}from"./index.6cqiAEjd.js";import"./a62532da-bf11-485a-a43d-6a7b59b6a676.BVMidMd3.js";import"./c415272e-9906-47be-a8c5-650457d64658.NIGUFBhG.js";import"./eb66d478-621e-4013-9b4f-c75719438dea.Cd_XWJzp.js";import"./c547856f-5009-45d1-bf41-7fccaf12121a.CfuHre9V.js";import"./d09e2553-bdd0-4775-8cad-0ef1791a1348.Dy-I0Pa_.js";const E=s.lazy(()=>u(()=>import("./101f3e8e-9259-4509-b571-7699150eccba.CqESCSx5.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};
