const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/768e6de9-3963-45e9-a6c4-69937067ad56.C25FqUeE.js","assets/js/0a61bd63-c70b-44f9-afc9-32261a5610de.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aD as j,_ as f}from"./38021034-1e5c-4003-ba45-be534fb03fb7.CbAfohY-.js";import{a as o}from"./0a61bd63-c70b-44f9-afc9-32261a5610de.CC2qRq32.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./da80831f-ef96-4213-a2b0-39b33b0c7648.VMg3nHyz.js";import"./db40e10c-484b-4789-a4e3-0850712c31a0.B8MoJlsw.js";import"./3bc9eba8-19c2-41fc-a34c-e13935f1fe9b.NIGUFBhG.js";import"./32861fc8-5701-48b3-b245-38795508faa7.BBHY1K2W.js";import"./c5bd358c-4cff-40c3-b6f6-92aec5e967e0.BgFnXKiI.js";import"./2ead2a7a-5ab5-483e-9adb-af10f23d73b3.77CEOPDO.js";var x=o.lazy(function(){return f(()=>import("./768e6de9-3963-45e9-a6c4-69937067ad56.C25FqUeE.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};
