const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/f4c63d22-01e3-43c3-92f1-f5681624c3af.CUp9nT3B.js","assets/js/14cbe65f-819b-4726-9a42-e77bd350647f.0kpvat_1.js","assets/js/b45ec88a-99bb-427a-bd23-9e53cfdaade4.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./5f6343ba-56bd-45eb-9ce5-d87f20ea1089.DMyavOMM.js";import{j as e}from"./3e314277-6fbe-48ae-b141-f77e577f6b48.l7s9hXjs.js";import{m as d,r as o}from"./14cbe65f-819b-4726-9a42-e77bd350647f.0kpvat_1.js";import{e as v,f as h,g}from"../../index.js";import"./5842b5c8-250b-43eb-9a91-ee4836e18072.Cd7YwKZL.js";import"./b45ec88a-99bb-427a-bd23-9e53cfdaade4.C0Zqfgkc.js";import"./40dc46d9-a7fa-41c5-9ee0-dafdce2dd195.CYWZ-cKi.js";import"./628471c9-b488-4eb8-adb5-88be47ac4f1a.DHXzBZ_-.js";import"./7ea845ad-be30-435c-909b-004fc9666f3c.DKHCzKx5.js";var x=o.lazy(function(){return f(()=>import("./f4c63d22-01e3-43c3-92f1-f5681624c3af.CUp9nT3B.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};
