const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/e217bfd1-cf12-45dd-82fd-1f5d978231d7.Dn6uK6OO.js","assets/js/de7308a2-ea2f-4d1e-bb0c-62d74c4832ff.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aD as j,_ as f}from"./9fde061d-c486-4976-9464-7198c3b19b29.1_3RW29Q.js";import{a as o}from"./de7308a2-ea2f-4d1e-bb0c-62d74c4832ff.CC2qRq32.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./bb706f54-4ac3-4b89-adab-0b087546aee3.Cn17aUV2.js";import"./abf60f9c-2d94-4647-a0f3-e527029006be.C3MP-_Sz.js";import"./06be914e-e02b-4f5e-af99-1580549adc3f.NIGUFBhG.js";import"./e856a9de-c75e-4836-9430-fcb32ac87451.xXD7CyFa.js";import"./371677bf-5a33-4aba-8902-17e3bae28f1f.DOTBBtpN.js";import"./71a3f3bb-3a09-48a3-859a-80567eff0f92.BgL4M75h.js";var x=o.lazy(function(){return f(()=>import("./e217bfd1-cf12-45dd-82fd-1f5d978231d7.Dn6uK6OO.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};
