const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/5f4cca5e-482e-4f01-8fd4-093c326f6d7f.BybKjB7i.js","assets/js/f1826ddd-a2d8-4fce-af3d-c958dcb59062.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./dd6e34a1-2dce-4b2f-a506-c3a3a97e6a60.BtGh0rES.js";import{a as o}from"./f1826ddd-a2d8-4fce-af3d-c958dcb59062.CC2qRq32.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./209d2e31-398d-4115-83ca-f4e360d8f14c.DB_X1qgl.js";import"./bedc3458-6184-4e7f-bdf2-1a32ce9d7bc1.BX5SC7r6.js";import"./c4f8119f-a26b-4cdd-9922-48b96c4c3f7c.NIGUFBhG.js";import"./b7a206fb-30c2-4638-9063-0e98f38a14e0.CABIgbxA.js";import"./53ad9472-c185-4918-b159-c74d9c5aa814.ClFOar0Y.js";import"./67cae666-16ae-4928-a3d7-31b63441b60a.De5D-E6y.js";var x=o.lazy(function(){return f(()=>import("./5f4cca5e-482e-4f01-8fd4-093c326f6d7f.BybKjB7i.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};
