const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.Clq9cG_h.js","assets/js/86c90f16-0b12-4fcb-9f07-86ab6af6b7b1.AWGCnt0w.js"])))=>i.map(i=>d[i]);
import{h as p,j as d,d as f,k as v,_ as h}from"./08b64fe5-ab3b-4c7a-8007-468eb8d58383.B3Xih90K.js";import{j as t,r as o}from"./86c90f16-0b12-4fcb-9f07-86ab6af6b7b1.AWGCnt0w.js";import{ai as x}from"./8c5d81d1-653a-40c3-8a2b-efb5be1d0a44.C5lf40W-.js";var E=o.lazy(function(){return h(()=>import("./emoji-picker-react.esm.Clq9cG_h.js"),__vite__mapDeps([0,1]))});function b(i){var r=i.id,n=p(function(e){return e.getContainer(r)}),a=n(function(e){return e.emojiArea}),s=d(function(e){return e.open}),m=f(function(e){return e.theme}),u="facebook",c=m?"dark":"light",l=function(e){s(t.jsx(o.Suspense,{fallback:t.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:t.jsx(E,{emojiStyle:u,theme:c,onEmojiClick:function(j){return v(r,j.emoji)},width:"auto",height:"60vh"})}),{placement:a.position},e.target,10,{mounted:function(){return e.target.setAttribute("style","color: green !important")},desmouted:function(){return e.target.removeAttribute("style")}})};return t.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:t.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:function(e){return l(e)},children:t.jsx(x,{className:"h-7 w-7"})})})}export{b as default};
