const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/c5698ba4-ab38-42db-9c93-1c4cc4cb147e.C0hYkgf9.js","assets/js/568be58d-1896-4466-82b7-58fa062d3d2b.DxbklC8L.js","assets/js/8ffc78f0-749f-460d-aa4a-f564a26f67d7.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./ae172fec-5465-426d-970b-8aaa4d989875.74VhvXvf.js";import{j as e}from"./f3ebac85-864e-42dc-a659-2806087e38db.BAGqt0vZ.js";import{m as d,r as o}from"./568be58d-1896-4466-82b7-58fa062d3d2b.DxbklC8L.js";import{e as v,f as h,g}from"../../index.js";import"./6a12e818-0a80-4bfa-9588-a3247b3fb2e1.BrN0ga_2.js";import"./8ffc78f0-749f-460d-aa4a-f564a26f67d7.C0Zqfgkc.js";import"./637d169e-861e-4ae6-abea-2758829c5b7f.8xGVmhvV.js";import"./48f0ea31-78af-4d7d-9a39-1fcffd2cfe1f.eDZiHdIK.js";import"./aa3c92e9-efa0-4484-83a9-869d529b1a1c.C4Om4Lq8.js";var x=o.lazy(function(){return f(()=>import("./c5698ba4-ab38-42db-9c93-1c4cc4cb147e.C0hYkgf9.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};
