const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/5e1408ad-de23-4551-98b8-a1d23877b335.BGu9Pzxq.js","assets/js/3717adf3-d6aa-4233-96c1-f99066bb21f5.CbsicDbU.js"])))=>i.map(i=>d[i]);
import{j as e,aO as j,_ as f}from"./98ca111a-d47f-42bf-88df-187a0fd70aa6.D0vL-0_D.js";import{a as o}from"./3717adf3-d6aa-4233-96c1-f99066bb21f5.CbsicDbU.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./179bd2e7-fdc4-446b-afd3-3eeedfdcf333.BzbxczBO.js";import"./b7e60b26-73d9-4d3c-b7bf-bc48ada1881a.Dq7h7Pqt.js";import"./47079789-6f90-456c-9064-0730da4d3f08.2lWgI6Qj.js";import"./cc324315-564b-4a53-b3c4-dd9f3a622a0d.nML9b0j-.js";import"./77cbbd88-6619-4546-8ad6-70f162e6ac01.D-2jerRn.js";import"./d4f56392-3bab-4fc3-8482-ee3e6adc2c89.D9a77g4C.js";var x=o.lazy(function(){return f(()=>import("./5e1408ad-de23-4551-98b8-a1d23877b335.BGu9Pzxq.js"),__vite__mapDeps([0,1]))});function z(i){var r=i.id,n=d(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=v(function(t){return t.open}),m=g(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 h(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};
