const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/d8d08529-3832-43c1-8ea8-7518b21c5bc4.C0R4oyVe.js","assets/js/0c701c52-5cba-48d6-98df-4f5b753f13f7.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aD as j,_ as f}from"./d8b19121-e9fc-49e9-8142-19fbce982310.8NPokGP7.js";import{a as o}from"./0c701c52-5cba-48d6-98df-4f5b753f13f7.CC2qRq32.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./56d541b3-2aa4-476b-b31b-d6d874c8bb4e.jCwxG3rJ.js";import"./06976958-2b60-47c3-970f-9f27d3ea9b79.yfF5fDV5.js";import"./08844670-82c3-4ca0-9ddd-2397ca7f358b.NIGUFBhG.js";import"./8c1ecbd4-71b2-49a0-b829-e0c80926f4f0.CKtqdVA5.js";import"./c43ad591-412e-4c1a-a9e9-defbbc3d7951.DofTJsYH.js";import"./8ef66cb6-9046-410b-b73e-4c487d20e895.lbO9uG2P.js";var x=o.lazy(function(){return f(()=>import("./d8d08529-3832-43c1-8ea8-7518b21c5bc4.C0R4oyVe.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};
