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 p,_ as u}from"./d8b19121-e9fc-49e9-8142-19fbce982310.8NPokGP7.js";import{a as s}from"./0c701c52-5cba-48d6-98df-4f5b753f13f7.CC2qRq32.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./56d541b3-2aa4-476b-b31b-d6d874c8bb4e.jCwxG3rJ.js";import{s as x}from"./index.6cqiAEjd.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";const E=s.lazy(()=>u(()=>import("./d8d08529-3832-43c1-8ea8-7518b21c5bc4.C0R4oyVe.js"),__vite__mapDeps([0,1])));function z({id:o}){const i=j(t=>t.getContainer(o))(t=>t.emojiArea),r=d(t=>t.open),a=h(t=>t.theme),m="facebook",n=a?"dark":"light",c=t=>{r(e.jsx(s.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(E,{emojiStyle:m,theme:n,onEmojiClick:l=>x(o,l.emoji),width:"auto",height:"60vh"})}),{placement:i.position},t.target,10,{mounted:()=>t.target.setAttribute("style","color: green !important"),desmouted:()=>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:t=>c(t),children:e.jsx(p,{className:"h-7 w-7"})})})}export{z as default};
