const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/0e35db22-0d77-4312-a440-682101b34fdb.BkZq5Yt0.js","assets/js/8fad2510-989d-47e8-b45d-329dc3efd27e.QebfNFDM.js","assets/js/cce0add5-e68f-41e0-af14-e232e58f3d6c.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./beb09b81-b1b4-4907-9a7e-389003244f2c.CdPm_NXK.js";import{j as e}from"./b88ccfae-34fa-4cdb-9e39-421b0d33a912.B5kNVuoR.js";import{m as d,r as o}from"./8fad2510-989d-47e8-b45d-329dc3efd27e.QebfNFDM.js";import{e as v,f as h,g}from"../../index.js";import"./a56befbe-dc0f-4060-9944-0c49bb0bdad8.BOUJIqqs.js";import"./cce0add5-e68f-41e0-af14-e232e58f3d6c.C0Zqfgkc.js";import"./970566ba-5835-4003-b4c7-d560f91444e5.eXa2RSbJ.js";import"./035448ff-3806-429f-8c74-515f49676192.DW5y17Hb.js";import"./51b06891-1b0f-48e1-b37a-578b757973e7.DZ2NRQM4.js";var x=o.lazy(function(){return f(()=>import("./0e35db22-0d77-4312-a440-682101b34fdb.BkZq5Yt0.js"),__vite__mapDeps([0,1,2]))});function z(i){var r=i.id,n=v(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=h(function(t){return t.open}),m=d(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 g(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};
