const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/feb4b717-a81d-4803-8ae7-5a3c7c98aac0.DOy7s94r.js","assets/js/a48221f0-e562-421e-b88c-f1b037937fce.CHfez4ki.js","assets/js/e8f56c28-1ba3-48f0-a1a9-1913377e5e8d.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./3f944ab7-6653-43e2-a187-8cae83b6e064.BqUZmmlv.js";import{j as e}from"./80457715-a8f8-43d8-9103-8d2c58c95a72.DgFF1LIx.js";import{m as d,r as o}from"./a48221f0-e562-421e-b88c-f1b037937fce.CHfez4ki.js";import{e as v,f as h,g}from"../../index.js";import"./f4b9ec07-0745-47af-9211-356aa86cf78f.BJ4lSgTx.js";import"./e8f56c28-1ba3-48f0-a1a9-1913377e5e8d.C0Zqfgkc.js";import"./2b4220fa-6f3b-4516-b2c4-6fe1e188dd63.CaTnHRcX.js";import"./4b2f64d4-cf0b-4b1f-8bd1-7a7a53e8e13b.2HTpTEz5.js";import"./853af0b4-6817-437b-b2a9-3b5e26db0fde.Bxr0Opk5.js";var x=o.lazy(function(){return f(()=>import("./feb4b717-a81d-4803-8ae7-5a3c7c98aac0.DOy7s94r.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};
