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 j,_ as f}from"./657d868a-dfeb-4b3c-8978-32948b761cdd.CCazTecF.js";import{a as o}from"./fed8cd34-9240-4aff-abd8-ee3b70d043ec.DiKAzxfG.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./a1f79a2b-5364-4d74-aebf-79f28e52bd0b.DMeseWhP.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";var x=o.lazy(function(){return f(()=>import("./ce818dea-9551-4828-9c1a-0ffaed15aa38.ChuClnnC.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};
