const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/1ea50d04-4c2e-4e69-8a67-9161d4b6b0ff.kfSqYip9.js","assets/js/d939214e-5bdd-4d85-988a-e0e19a9d44fb.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aD as p,_ as u}from"./12728c7f-a885-4090-a0ec-756bbcfc134b.DaTHzKwO.js";import{a as s}from"./d939214e-5bdd-4d85-988a-e0e19a9d44fb.CC2qRq32.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./ab85f0c2-83f1-4008-a033-a1a345b837aa.CE5aiCBP.js";import{s as x}from"./index.6cqiAEjd.js";import"./432719ca-ca15-49cd-bfb0-2d74cba889f3.vmQPZsnS.js";import"./382eb425-f420-4d7c-b327-04ecc51dc0c7.NIGUFBhG.js";import"./24d46475-fb5c-4648-b7db-6bc4d3a32710.W1ymj3vX.js";import"./51633842-cd53-4079-b996-ea6883b6b414.y-0x-YU8.js";import"./ec5bfd76-7ecd-487e-9aa7-862475f81a0d.BpbwkdwC.js";const E=s.lazy(()=>u(()=>import("./1ea50d04-4c2e-4e69-8a67-9161d4b6b0ff.kfSqYip9.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};
