const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.Bv0At-fz.js","assets/js/eb811752-26b3-4a06-8b52-b420578b33a3.BCY_P8qO.js","assets/js/c000a48c-8e27-4946-b223-5cb2d996d0c8.DV4F5Gxw.js","assets/js/69f58083-2714-4a8f-8137-8dbc0819ac40.C_SD_PQk.js"])))=>i.map(i=>d[i]);
import{e as p,j as t,aP as d,_ as f}from"./c000a48c-8e27-4946-b223-5cb2d996d0c8.DV4F5Gxw.js";import{r as o}from"./eb811752-26b3-4a06-8b52-b420578b33a3.BCY_P8qO.js";import{b as v,c as h,s as x}from"./69f58083-2714-4a8f-8137-8dbc0819ac40.C_SD_PQk.js";var E=o.lazy(function(){return f(()=>import("./emoji-picker-react.esm.Bv0At-fz.js"),__vite__mapDeps([0,1,2,3]))});function _(i){var r=i.id,n=v(function(e){return e.getContainer(r)}),a=n(function(e){return e.emojiArea}),s=h(function(e){return e.open}),m=p(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 x(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(d,{className:"h-7 w-7"})})})}export{_ as default};
