const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/f44eb99c-d78f-449b-bf13-ab96dfe1a9b5.DKBRPToN.js","assets/js/e3dffcae-1f52-4da3-8bcf-140aec0913b5.BY24HJgJ.js","assets/js/3799a46f-55a1-427e-9341-5c16ae8c4d42.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./85bef62d-ae49-4d0f-ba28-2a70859000ae.DTaF0dxa.js";import{j as e}from"./f430c946-0452-4bba-97c5-89f3f1de581a.-vflqN_Y.js";import{m as d,r as o}from"./e3dffcae-1f52-4da3-8bcf-140aec0913b5.BY24HJgJ.js";import{e as v,f as h,g}from"../../index.js";import"./9bfc9582-54ea-4cdd-834c-2cca22d14700.ZIlkxfDO.js";import"./3799a46f-55a1-427e-9341-5c16ae8c4d42.C0Zqfgkc.js";import"./09b52c17-36b4-4842-a2eb-b6e5dc3d2684.BM6yZllj.js";import"./e89b335d-d795-4198-b8e5-5e579ee14b57.DVdg-Gtx.js";import"./13d8ea94-edf8-483a-bbc2-8631a2bd9cdc.BZiPFt1b.js";var x=o.lazy(function(){return f(()=>import("./f44eb99c-d78f-449b-bf13-ab96dfe1a9b5.DKBRPToN.js"),__vite__mapDeps([0,1,2]))});function z(i){var r=i.id,n=v(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=h(function(t){return t.open}),m=d(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 g(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};
