const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/73c299a5-27e2-4ad3-8d5c-c480d90b1a76.BrNAMKUY.js","assets/js/07a391ae-cb03-44e8-9dc3-2adfaa0f0d7b.Co0aK9Ho.js","assets/js/ccc3fc54-c30c-4770-a120-bdc5e53e2555.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./6d90672a-3285-4c42-bfe9-7b196415d59a.C7VQ5YCe.js";import{j as e}from"./7ee2072d-4dc9-4371-9c01-8261dc99176e.DU6dOwt5.js";import{m as j,r as s}from"./07a391ae-cb03-44e8-9dc3-2adfaa0f0d7b.Co0aK9Ho.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./e296c275-2985-47a2-876a-7683560dd882.r6vg5cHF.js";import"./ccc3fc54-c30c-4770-a120-bdc5e53e2555.C0Zqfgkc.js";import"./8144d0ab-d248-476a-a2d5-04e1cc4051a3.C6eG0P9i.js";import"./884707c7-d00f-471f-a2d9-467a6206c4c9.dcTOQzJn.js";import"./cdc86230-26aa-43b5-b04c-57ba9b48f3ba.LEQ6CI15.js";const E=s.lazy(()=>u(()=>import("./73c299a5-27e2-4ad3-8d5c-c480d90b1a76.BrNAMKUY.js"),__vite__mapDeps([0,1,2])));function z({id:o}){const i=d(t=>t.getContainer(o))(t=>t.emojiArea),r=h(t=>t.open),m=j(t=>t.theme),a="facebook",n=m?"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:a,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};
