const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/758666b8-7c28-4d98-8645-4f438abc79dc.BTHUHQ0t.js","assets/js/a12ebf00-228a-4505-90c3-731141055e49.BjN0DH1t.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./a5f526de-da5f-479a-b47d-61bdb3e6f0b6.CfLEhvO6.js";import{a as o}from"./a12ebf00-228a-4505-90c3-731141055e49.BjN0DH1t.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./0f74652c-a560-4f25-b864-7db1c24b3dc7.Cdt37bdh.js";import"./ff03022f-eab5-45ca-a2c0-1f0b9e75af33.C4YbHzbX.js";import"./f5c54029-9fc4-4762-b3c0-7a53347c4d23.B9ygI19o.js";import"./8d3bf143-33b3-45ba-867b-6be145ccccaf.CNyJLWbZ.js";import"./8c1be74c-6eee-4d4c-93b4-57a96b567016.D9myXJ8k.js";import"./740eb74f-0d41-42d4-941a-f77cbccccfa7.CWsqm7F9.js";var x=o.lazy(function(){return f(()=>import("./758666b8-7c28-4d98-8645-4f438abc79dc.BTHUHQ0t.js"),__vite__mapDeps([0,1]))});function z(i){var r=i.id,n=d(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=v(function(t){return t.open}),m=g(function(t){return t.theme}),u="facebook",c=m?"dark":"light",l=function(t){s(e.jsx(o.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(x,{emojiStyle:u,theme:c,onEmojiClick:function(p){return h(r,p.emoji)},width:"auto",height:"60vh"})}),{placement:a.position},t.target,10,{mounted:function(){return t.target.setAttribute("style","color: green !important")},desmouted:function(){return 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:function(t){return l(t)},children:e.jsx(j,{className:"h-7 w-7"})})})}export{z as default};
