const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/06ebf849-8d56-49df-b57c-99f7dc92747d.CvqfPH2t.js","assets/js/71a3646a-ebe8-445e-b2db-c2ebea39045d.4dCso91-.js","assets/js/237f9f23-af5e-4b90-a130-79c3ce02f226.B8_nURbH.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./1648d0af-214d-4dd1-88b4-0172735358b4.BER1yHK7.js";import{j as e}from"./89b55194-468e-4b30-86cd-4c277b203739.DNIwjpl2.js";import{n as d,r as o}from"./71a3646a-ebe8-445e-b2db-c2ebea39045d.4dCso91-.js";import{e as v,f as h,g}from"../../index.js";import"./14f3f455-4c46-43b2-a15e-a0af3d1e268c.CHDjWRKX.js";import"./237f9f23-af5e-4b90-a130-79c3ce02f226.B8_nURbH.js";import"./388dc74a-c373-40bd-a66f-7bef24f93b3b.DjcJQmk9.js";import"./59788672-7faa-49c6-ac0c-d26c42127dbf.VaCdhUl_.js";import"./8f5e5c66-5678-4b62-a285-4e9874b5697d.DGnGgHRl.js";var x=o.lazy(function(){return f(()=>import("./06ebf849-8d56-49df-b57c-99f7dc92747d.CvqfPH2t.js"),__vite__mapDeps([0,1,2]))});function M(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{M as default};
