"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4117],{24117:(e,r,t)=>{t.r(r),t.d(r,{EmojiPickerContent:()=>a});var n=t(57505),u=t(98772),l=t(14731),c=t(42142),s=t(50245),f=t(62115);function i(e){let r=(0,s.useRef)(null),t=(0,s.useRef)(null);return t.current&&t.current.update(e),(0,s.useEffect)(()=>(t.current=new(0,f.LC)({...e,ref:r}),()=>{t.current=null}),[]),s.createElement("div",{ref:r})}let o=(0,c.$w)(),a=({onEmojiSelect:e,onPickerDestroy:r})=>{let{theme:t}=(0,u.DP)();return(0,s.useEffect)(()=>()=>{r?.()},[]),(0,n.jsx)("div",{className:"emoji-picker-wrapper rounded-lg overflow-hidden",children:(0,n.jsx)(i,{data:o,color:l.wk,onEmojiSelect:e,theme:t})})}}}]);