const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.7R3Y9p9i.js","assets/js/1d132651-6ec9-487e-826e-b980b3a551fa.DVitnfmq.js"])))=>i.map(i=>d[i]);
import{g as p,h as d,b as f,j as v,_ as h}from"./9d1bde2d-dbe8-4d85-ba93-8b2ff22e43ee.D3obWmVD.js";import{j as t,r as o}from"./1d132651-6ec9-487e-826e-b980b3a551fa.DVitnfmq.js";import{a7 as g}from"./74403753-3df9-43cc-ab4d-bec95eeed464.BsCS4aES.js";var x=o.lazy(function(){return h(()=>import("./emoji-picker-react.esm.7R3Y9p9i.js"),__vite__mapDeps([0,1]))});function _(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(x,{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(g,{className:"h-7 w-7"})})})}export{_ as default};
