const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/200bf41e-19c0-46d1-901a-b96bf9ea51e2.D6KOiXsP.js","assets/js/ad44b22f-97c7-45d0-b59a-413065b4cdbe.BGZk5hUf.js","assets/js/6dad934c-7865-47ae-9348-0f22f658f4f7.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./c61b49b0-4146-4ad4-aa18-b81740c62e69.BLiVLrdB.js";import{j as e}from"./4e72af16-2dfe-4245-a054-4de89930de0f.HspIsJ53.js";import{m as d,r as o}from"./ad44b22f-97c7-45d0-b59a-413065b4cdbe.BGZk5hUf.js";import{e as v,f as h,g}from"../../index.js";import"./0403568d-e5eb-4cfc-92b1-4526d8f2fb52.C6VufEub.js";import"./6dad934c-7865-47ae-9348-0f22f658f4f7.C0Zqfgkc.js";import"./0730b93f-3143-4541-b424-601cc4e2aa81.EwhviQ2i.js";import"./c76aeb1d-c8d9-4c90-ac49-27e93211c0f1.DqV-3RZS.js";import"./3c8ea625-cdcf-4e8e-8772-2cb8e1403711.CxjalAR8.js";var x=o.lazy(function(){return f(()=>import("./200bf41e-19c0-46d1-901a-b96bf9ea51e2.D6KOiXsP.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};
