const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/ce818dea-9551-4828-9c1a-0ffaed15aa38.ChuClnnC.js","assets/js/fed8cd34-9240-4aff-abd8-ee3b70d043ec.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./657d868a-dfeb-4b3c-8978-32948b761cdd.CCazTecF.js";import{a as s}from"./fed8cd34-9240-4aff-abd8-ee3b70d043ec.DiKAzxfG.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./a1f79a2b-5364-4d74-aebf-79f28e52bd0b.DMeseWhP.js";import{s as x}from"./index.6cqiAEjd.js";import"./6c3e10ff-13dd-4042-a7d0-86bfe0d77bac.BqPE2dob.js";import"./e37bfcea-b6db-4459-9ce4-eaef6a0fb7a5.B9ygI19o.js";import"./a97acad4-5ae4-426f-a8b6-cfde2ddcaf5d.BgmuaWon.js";import"./a9a31cad-4a65-4e16-a67b-87588fc854ff.C4HK9OPA.js";import"./1e89e3ff-17e0-464d-ac54-28cfb3138864.Dhp_wK1f.js";const E=s.lazy(()=>u(()=>import("./ce818dea-9551-4828-9c1a-0ffaed15aa38.ChuClnnC.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};
