@goodhood-web/nebenan-base 3.0.0-development.27 → 3.0.0-development.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/index.js
CHANGED
|
@@ -80,7 +80,7 @@ __p += '`),Je&&(Q+=`' +
|
|
|
80
80
|
function print() { __p += __j.call(arguments, '') }
|
|
81
81
|
`:`;
|
|
82
82
|
`)+Q+`return __p
|
|
83
|
-
}`;var Ve=yh(function(){return nn(C,be+"return "+Q).apply(i,T)});if(Ve.source=Q,Yl(Ve))throw Ve;return Ve}function O_(r){return rn(r).toLowerCase()}function H_(r){return rn(r).toUpperCase()}function D_(r,o,d){if(r=rn(r),r&&(d||o===i))return Lc(r);if(!r||!(o=hi(o)))return r;var m=Hi(r),k=Hi(o),C=Pc(m,k),T=Ac(m,k)+1;return jt(m,C,T).join("")}function j_(r,o,d){if(r=rn(r),r&&(d||o===i))return r.slice(0,Bc(r)+1);if(!r||!(o=hi(o)))return r;var m=Hi(r),k=Ac(m,Hi(o))+1;return jt(m,0,k).join("")}function N_(r,o,d){if(r=rn(r),r&&(d||o===i))return r.replace(Ir,"");if(!r||!(o=hi(o)))return r;var m=Hi(r),k=Pc(m,Hi(o));return jt(m,k).join("")}function V_(r,o){var d=N,m=ae;if(yn(o)){var k="separator"in o?o.separator:k;d="length"in o?Ne(o.length):d,m="omission"in o?hi(o.omission):m}r=rn(r);var C=r.length;if(Dr(r)){var T=Hi(r);C=T.length}if(d>=C)return r;var L=d-jr(m);if(L<1)return m;var $=T?jt(T,0,L).join(""):r.slice(0,L);if(k===i)return $+m;if(T&&(L+=$.length-L),Jl(k)){if(r.slice(L).search(k)){var Z,U=$;for(k.global||(k=hl(k.source,rn(en.exec(k))+"g")),k.lastIndex=0;Z=k.exec(U);)var Q=Z.index;$=$.slice(0,Q===i?L:Q)}}else if(r.indexOf(hi(k),L)!=L){var ce=$.lastIndexOf(k);ce>-1&&($=$.slice(0,ce))}return $+m}function G_(r){return r=rn(r),r&&ya.test(r)?r.replace(ut,kv):r}var W_=Ur(function(r,o,d){return r+(d?" ":"")+o.toUpperCase()}),ed=xu("toUpperCase");function bh(r,o,d){return r=rn(r),o=d?i:o,o===i?gv(r)?yv(r):av(r):r.match(o)||[]}var yh=We(function(r,o){try{return ci(r,i,o)}catch(d){return Yl(d)?d:new Ie(d)}}),q_=pt(function(r,o){return Si(o,function(d){d=Qi(d),mt(r,d,Ul(r[d],r))}),r});function Z_(r){var o=r==null?0:r.length,d=Re();return r=o?wn(r,function(m){if(typeof m[1]!="function")throw new Ei(f);return[d(m[0]),m[1]]}):[],We(function(m){for(var k=-1;++k<o;){var C=r[k];if(ci(C[0],this,m))return ci(C[1],this,m)}})}function U_(r){return kp(Ti(r,v))}function nd(r){return function(){return r}}function K_(r,o){return r==null||r!==r?o:r}var Y_=Su(),J_=Su(!0);function fi(r){return r}function id(r){return nu(typeof r=="function"?r:Ti(r,v))}function Q_(r){return tu(Ti(r,v))}function X_(r,o){return ru(r,Ti(o,v))}var ek=We(function(r,o){return function(d){return Aa(d,r,o)}}),nk=We(function(r,o){return function(d){return Aa(r,d,o)}});function td(r,o,d){var m=An(o),k=go(o,m);d==null&&!(yn(o)&&(k.length||!m.length))&&(d=o,o=r,r=this,k=go(o,An(o)));var C=!(yn(d)&&"chain"in d)||!!d.chain,T=kt(r);return Si(k,function(L){var $=o[L];r[L]=$,T&&(r.prototype[L]=function(){var Z=this.__chain__;if(C||Z){var U=r(this.__wrapped__),Q=U.__actions__=ai(this.__actions__);return Q.push({func:$,args:arguments,thisArg:r}),U.__chain__=Z,U}return $.apply(r,Bt([this.value()],arguments))})}),r}function ik(){return Hn._===this&&(Hn._=Tv),this}function rd(){}function tk(r){return r=Ne(r),We(function(o){return au(o,r)})}var rk=Bl(wn),ak=Bl(Ec),sk=Bl(sl);function xh(r){return Nl(r)?ol(Qi(r)):$p(r)}function ok(r){return function(o){return r==null?i:gr(r,o)}}var fk=Mu(),lk=Mu(!0);function ad(){return[]}function sd(){return!1}function dk(){return{}}function ck(){return""}function uk(){return!0}function hk(r,o){if(r=Ne(r),r<1||r>Y)return[];var d=ie,m=Zn(r,ie);o=Re(o),r-=ie;for(var k=dl(m,o);++d<r;)o(d);return k}function gk(r){return De(r)?wn(r,Qi):gi(r)?[r]:ai(Vu(rn(r)))}function mk(r){var o=++Ev;return rn(r)+o}var vk=wo(function(r,o){return r+o},0),pk=$l("ceil"),_k=wo(function(r,o){return r/o},1),kk=$l("floor");function wk(r){return r&&r.length?ho(r,fi,bl):i}function bk(r,o){return r&&r.length?ho(r,Re(o,2),bl):i}function yk(r){return Fc(r,fi)}function xk(r,o){return Fc(r,Re(o,2))}function Ck(r){return r&&r.length?ho(r,fi,Sl):i}function Sk(r,o){return r&&r.length?ho(r,Re(o,2),Sl):i}var Ek=wo(function(r,o){return r*o},1),Mk=$l("round"),Tk=wo(function(r,o){return r-o},0);function Fk(r){return r&&r.length?ll(r,fi):0}function Rk(r,o){return r&&r.length?ll(r,Re(o,2)):0}return x.after=Q4,x.ary=eh,x.assign=H5,x.assignIn=gh,x.assignInWith=Ao,x.assignWith=D5,x.at=j5,x.before=nh,x.bind=Ul,x.bindAll=q_,x.bindKey=ih,x.castArray=d5,x.chain=Ju,x.chunk=k6,x.compact=w6,x.concat=b6,x.cond=Z_,x.conforms=U_,x.constant=nd,x.countBy=F4,x.create=N5,x.curry=th,x.curryRight=rh,x.debounce=ah,x.defaults=V5,x.defaultsDeep=G5,x.defer=X4,x.delay=e5,x.difference=y6,x.differenceBy=x6,x.differenceWith=C6,x.drop=S6,x.dropRight=E6,x.dropRightWhile=M6,x.dropWhile=T6,x.fill=F6,x.filter=L4,x.flatMap=z4,x.flatMapDeep=B4,x.flatMapDepth=$4,x.flatten=Zu,x.flattenDeep=R6,x.flattenDepth=L6,x.flip=n5,x.flow=Y_,x.flowRight=J_,x.fromPairs=P6,x.functions=J5,x.functionsIn=Q5,x.groupBy=I4,x.initial=z6,x.intersection=B6,x.intersectionBy=$6,x.intersectionWith=I6,x.invert=e_,x.invertBy=n_,x.invokeMap=H4,x.iteratee=id,x.keyBy=D4,x.keys=An,x.keysIn=oi,x.map=Mo,x.mapKeys=t_,x.mapValues=r_,x.matches=Q_,x.matchesProperty=X_,x.memoize=Fo,x.merge=a_,x.mergeWith=mh,x.method=ek,x.methodOf=nk,x.mixin=td,x.negate=Ro,x.nthArg=tk,x.omit=s_,x.omitBy=o_,x.once=i5,x.orderBy=j4,x.over=rk,x.overArgs=t5,x.overEvery=ak,x.overSome=sk,x.partial=Kl,x.partialRight=sh,x.partition=N4,x.pick=f_,x.pickBy=vh,x.property=xh,x.propertyOf=ok,x.pull=j6,x.pullAll=Ku,x.pullAllBy=N6,x.pullAllWith=V6,x.pullAt=G6,x.range=fk,x.rangeRight=lk,x.rearg=r5,x.reject=W4,x.remove=W6,x.rest=a5,x.reverse=ql,x.sampleSize=Z4,x.set=d_,x.setWith=c_,x.shuffle=U4,x.slice=q6,x.sortBy=J4,x.sortedUniq=X6,x.sortedUniqBy=e4,x.split=z_,x.spread=s5,x.tail=n4,x.take=i4,x.takeRight=t4,x.takeRightWhile=r4,x.takeWhile=a4,x.tap=w4,x.throttle=o5,x.thru=Eo,x.toArray=ch,x.toPairs=ph,x.toPairsIn=_h,x.toPath=gk,x.toPlainObject=hh,x.transform=u_,x.unary=f5,x.union=s4,x.unionBy=o4,x.unionWith=f4,x.uniq=l4,x.uniqBy=d4,x.uniqWith=c4,x.unset=h_,x.unzip=Zl,x.unzipWith=Yu,x.update=g_,x.updateWith=m_,x.values=Jr,x.valuesIn=v_,x.without=u4,x.words=bh,x.wrap=l5,x.xor=h4,x.xorBy=g4,x.xorWith=m4,x.zip=v4,x.zipObject=p4,x.zipObjectDeep=_4,x.zipWith=k4,x.entries=ph,x.entriesIn=_h,x.extend=gh,x.extendWith=Ao,td(x,x),x.add=vk,x.attempt=yh,x.camelCase=w_,x.capitalize=kh,x.ceil=pk,x.clamp=p_,x.clone=c5,x.cloneDeep=h5,x.cloneDeepWith=g5,x.cloneWith=u5,x.conformsTo=m5,x.deburr=wh,x.defaultTo=K_,x.divide=_k,x.endsWith=b_,x.eq=ji,x.escape=y_,x.escapeRegExp=x_,x.every=R4,x.find=P4,x.findIndex=Wu,x.findKey=W5,x.findLast=A4,x.findLastIndex=qu,x.findLastKey=q5,x.floor=kk,x.forEach=Qu,x.forEachRight=Xu,x.forIn=Z5,x.forInRight=U5,x.forOwn=K5,x.forOwnRight=Y5,x.get=Ql,x.gt=v5,x.gte=p5,x.has=X5,x.hasIn=Xl,x.head=Uu,x.identity=fi,x.includes=O4,x.indexOf=A6,x.inRange=__,x.invoke=i_,x.isArguments=pr,x.isArray=De,x.isArrayBuffer=_5,x.isArrayLike=si,x.isArrayLikeObject=Mn,x.isBoolean=k5,x.isBuffer=Nt,x.isDate=w5,x.isElement=b5,x.isEmpty=y5,x.isEqual=x5,x.isEqualWith=C5,x.isError=Yl,x.isFinite=S5,x.isFunction=kt,x.isInteger=oh,x.isLength=Lo,x.isMap=fh,x.isMatch=E5,x.isMatchWith=M5,x.isNaN=T5,x.isNative=F5,x.isNil=L5,x.isNull=R5,x.isNumber=lh,x.isObject=yn,x.isObjectLike=Sn,x.isPlainObject=Ha,x.isRegExp=Jl,x.isSafeInteger=P5,x.isSet=dh,x.isString=Po,x.isSymbol=gi,x.isTypedArray=Yr,x.isUndefined=A5,x.isWeakMap=z5,x.isWeakSet=B5,x.join=O6,x.kebabCase=C_,x.last=Ri,x.lastIndexOf=H6,x.lowerCase=S_,x.lowerFirst=E_,x.lt=$5,x.lte=I5,x.max=wk,x.maxBy=bk,x.mean=yk,x.meanBy=xk,x.min=Ck,x.minBy=Sk,x.stubArray=ad,x.stubFalse=sd,x.stubObject=dk,x.stubString=ck,x.stubTrue=uk,x.multiply=Ek,x.nth=D6,x.noConflict=ik,x.noop=rd,x.now=To,x.pad=M_,x.padEnd=T_,x.padStart=F_,x.parseInt=R_,x.random=k_,x.reduce=V4,x.reduceRight=G4,x.repeat=L_,x.replace=P_,x.result=l_,x.round=Mk,x.runInContext=A,x.sample=q4,x.size=K4,x.snakeCase=A_,x.some=Y4,x.sortedIndex=Z6,x.sortedIndexBy=U6,x.sortedIndexOf=K6,x.sortedLastIndex=Y6,x.sortedLastIndexBy=J6,x.sortedLastIndexOf=Q6,x.startCase=B_,x.startsWith=$_,x.subtract=Tk,x.sum=Fk,x.sumBy=Rk,x.template=I_,x.times=hk,x.toFinite=wt,x.toInteger=Ne,x.toLength=uh,x.toLower=O_,x.toNumber=Li,x.toSafeInteger=O5,x.toString=rn,x.toUpper=H_,x.trim=D_,x.trimEnd=j_,x.trimStart=N_,x.truncate=V_,x.unescape=G_,x.uniqueId=mk,x.upperCase=W_,x.upperFirst=ed,x.each=Qu,x.eachRight=Xu,x.first=Uu,td(x,function(){var r={};return Yi(x,function(o,d){dn.call(x.prototype,d)||(r[d]=o)}),r}(),{chain:!1}),x.VERSION=t,Si(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){x[r].placeholder=x}),Si(["drop","take"],function(r,o){Ye.prototype[r]=function(d){d=d===i?1:Ln(Ne(d),0);var m=this.__filtered__&&!o?new Ye(this):this.clone();return m.__filtered__?m.__takeCount__=Zn(d,m.__takeCount__):m.__views__.push({size:Zn(d,ie),type:r+(m.__dir__<0?"Right":"")}),m},Ye.prototype[r+"Right"]=function(d){return this.reverse()[r](d).reverse()}}),Si(["filter","map","takeWhile"],function(r,o){var d=o+1,m=d==fe||d==te;Ye.prototype[r]=function(k){var C=this.clone();return C.__iteratees__.push({iteratee:Re(k,3),type:d}),C.__filtered__=C.__filtered__||m,C}}),Si(["head","last"],function(r,o){var d="take"+(o?"Right":"");Ye.prototype[r]=function(){return this[d](1).value()[0]}}),Si(["initial","tail"],function(r,o){var d="drop"+(o?"":"Right");Ye.prototype[r]=function(){return this.__filtered__?new Ye(this):this[d](1)}}),Ye.prototype.compact=function(){return this.filter(fi)},Ye.prototype.find=function(r){return this.filter(r).head()},Ye.prototype.findLast=function(r){return this.reverse().find(r)},Ye.prototype.invokeMap=We(function(r,o){return typeof r=="function"?new Ye(this):this.map(function(d){return Aa(d,r,o)})}),Ye.prototype.reject=function(r){return this.filter(Ro(Re(r)))},Ye.prototype.slice=function(r,o){r=Ne(r);var d=this;return d.__filtered__&&(r>0||o<0)?new Ye(d):(r<0?d=d.takeRight(-r):r&&(d=d.drop(r)),o!==i&&(o=Ne(o),d=o<0?d.dropRight(-o):d.take(o-r)),d)},Ye.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ye.prototype.toArray=function(){return this.take(ie)},Yi(Ye.prototype,function(r,o){var d=/^(?:filter|find|map|reject)|While$/.test(o),m=/^(?:head|last)$/.test(o),k=x[m?"take"+(o=="last"?"Right":""):o],C=m||/^find/.test(o);k&&(x.prototype[o]=function(){var T=this.__wrapped__,L=m?[1]:arguments,$=T instanceof Ye,Z=L[0],U=$||De(T),Q=function(Ze){var Je=k.apply(x,Bt([Ze],L));return m&&ce?Je[0]:Je};U&&d&&typeof Z=="function"&&Z.length!=1&&($=U=!1);var ce=this.__chain__,be=!!this.__actions__.length,Pe=C&&!ce,Ve=$&&!be;if(!C&&U){T=Ve?T:new Ye(this);var Ae=r.apply(T,L);return Ae.__actions__.push({func:Eo,args:[Q],thisArg:i}),new Mi(Ae,ce)}return Pe&&Ve?r.apply(this,L):(Ae=this.thru(Q),Pe?m?Ae.value()[0]:Ae.value():Ae)})}),Si(["pop","push","shift","sort","splice","unshift"],function(r){var o=Js[r],d=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",m=/^(?:pop|shift)$/.test(r);x.prototype[r]=function(){var k=arguments;if(m&&!this.__chain__){var C=this.value();return o.apply(De(C)?C:[],k)}return this[d](function(T){return o.apply(De(T)?T:[],k)})}}),Yi(Ye.prototype,function(r,o){var d=x[o];if(d){var m=d.name+"";dn.call(Wr,m)||(Wr[m]=[]),Wr[m].push({name:o,func:d})}}),Wr[ko(i,E).name]=[{name:"wrapper",func:i}],Ye.prototype.clone=Gv,Ye.prototype.reverse=Wv,Ye.prototype.value=qv,x.prototype.at=b4,x.prototype.chain=y4,x.prototype.commit=x4,x.prototype.next=C4,x.prototype.plant=E4,x.prototype.reverse=M4,x.prototype.toJSON=x.prototype.valueOf=x.prototype.value=T4,x.prototype.first=x.prototype.head,Ea&&(x.prototype[Ea]=S4),x},Nr=xv();lr?((lr.exports=Nr)._=Nr,il._=Nr):Hn._=Nr}).call(Gn)})(ff,ff.exports);var O1=ff.exports;const oC=799,fC=690,sa=(n=oC)=>window.innerWidth<=n,jg=(n=fC)=>{const[e,i]=w.useState(!1),t=w.useCallback(O1.throttle(()=>{i(window.matchMedia(`(min-width: ${n}px)`).matches)},300),[n]);return w.useEffect(()=>(t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}),[n]),e},lC="_modalBody_1ws96_120",dC="_sheetFooter_1ws96_132",k0={modalBody:lC,sheetFooter:dC},cC=({cancelText:n="Abbrechen",confirmText:e="Bestätigen",content:i,handleCancel:t,handleConfirm:a,primaryCtaColor:s="primary",title:f})=>{const l=()=>p.jsx(z.CardHeader,{headline:f,as:"h3",rightElement:p.jsx(z.IconButton,{ariaLabel:"close-sheet",onClick:t,icon:"cross",size:"small"})}),c=()=>p.jsxs(p.Fragment,{children:[p.jsx(z.TextButton,{onClick:t,color:"blue",size:"large",text:n}),p.jsx(z.ButtonPrimary,{color:s,onClick:a,size:"large",text:e})]}),h=p.jsxs("footer",{className:k0.sheetFooter,children:[p.jsx(z.ButtonPrimary,{color:s,fullWidth:!0,onClick:a,size:"large",text:e}),p.jsx(z.TextButton,{color:"blue",onClick:t,size:"large",text:n})]});return sa()?p.jsx(z.BottomSheet,{open:!0,onClose:t,sheetBody:i,sheetHeader:l(),footer:h}):p.jsx(z.Modal,{open:!0,onClose:t,modalBody:p.jsx("div",{className:k0.modalBody,children:i}),headerTitle:f,modalFooter:c()})},uC="_root_p4p7y_120",hC="_textButton_p4p7y_127",w0={root:uC,textButton:hC},gC=({alt:n,ariaLabel:e,onClick:i,src:t,text:a})=>p.jsxs("div",{className:w0.root,children:[p.jsx(z.Thumbnail,{src:t,shape:"circular",size:"40",alt:n}),p.jsx(z.Button,{className:w0.textButton,onClick:i,children:p.jsx(z.Typography,{type:"body-regular",as:"span",children:a})}),p.jsx(z.IconButton,{icon:"pencil",size:"small",onClick:i,variant:"green",ariaLabel:e})]}),mC="_container_1x2z5_120",vC="_sidebarLeft_1x2z5_128",pC="_navBar_1x2z5_132",_C="_mainContent_1x2z5_138",kC="_sidebarRight_1x2z5_144",Ga={container:mC,sidebarLeft:vC,navBar:pC,mainContent:_C,sidebarRight:kC},wC=({children:n,left:e,navbar:i,right:t})=>p.jsxs("div",{className:Ga.container,children:[p.jsx("nav",{className:Ga.navBar,children:i}),e&&p.jsx("aside",{className:Ga.sidebarLeft,children:e}),p.jsx("main",{className:Ga.mainContent,children:n}),t&&p.jsx("aside",{className:Ga.sidebarRight,children:t})]}),bC=({name:n,onSearchSubmit:e,placeholder:i,ref:t})=>{const[a,s]=w.useState(""),{getInputProps:f}=Gw({onChange:u=>{s(u.target.value)},value:a}),l=f(),c=u=>{u.preventDefault(),!h&&(e(a),s(""))},h=!a||a.trim().length<2;return p.jsx("form",{onSubmit:c,children:p.jsx(z.TextInput,{...l,size:"small",id:n,label:i,name:n,colorScheme:"filled",textButton:{ariaLabelledBy:"searchButton",icon:"search",onClick:c,size:"small",type:"submit"},charLimit:50,showInputHints:!1,ref:t})})},yC="_navbarWrapper_114sq_120",xC="_navbar_114sq_120",CC="_navbar__left_114sq_135",SC="_navbar__left_114sq_135",EC="_navbar__right_114sq_138",MC="_navbar__right_114sq_138",$o={navbarWrapper:yC,navbar:xC,navbar__left:CC,navbarLeft:SC,navbar__right:EC,navbarRight:MC},TC=({left:n,right:e})=>p.jsx("div",{className:$o.navbarWrapper,children:p.jsxs("div",{className:$o.navbar,children:[p.jsx("div",{className:$o.navbar__left,children:n}),p.jsx("div",{className:$o.navbar__right,children:e})]})}),FC="Suchen",RC="Oh nein!",LC="Das Emoji konnte nicht gefunden werden",PC="Wähle ein Emoji…",AC="Füge ein benutzerdefiniertes Emoji hinzu",zC={activity:"Aktivität",custom:"Benutzerdefiniert",flags:"Flaggen",foods:"Essen & Trinken",frequent:"Oft genutzt",nature:"Tiere & Natur",objects:"Objekte",people:"Smileys & Personen",places:"Reisen & Orte",search:"Suchergebnisse",symbols:"Symbole"},BC={1:"Standard",2:"Hell",3:"Mittelhell",4:"Mittel",5:"Mitteldunkel",6:"Dunkel",choose:"Wähle eine Standard-Hautfarbe"},$C={search:FC,search_no_results_1:RC,search_no_results_2:LC,pick:PC,add_custom:AC,categories:zC,skins:BC};function Ng(n){return n&&n.__esModule?n.default:n}function Bi(n,e,i){return e in n?Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[e]=i,n}var If,Le,Vg,rs,Gg,b0,lf={},Wg=[],IC=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Zt(n,e){for(var i in e)n[i]=e[i];return n}function qg(n){var e=n.parentNode;e&&e.removeChild(n)}function f1(n,e,i){var t,a,s,f={};for(s in e)s=="key"?t=e[s]:s=="ref"?a=e[s]:f[s]=e[s];if(arguments.length>2&&(f.children=arguments.length>3?If.call(arguments,2):i),typeof n=="function"&&n.defaultProps!=null)for(s in n.defaultProps)f[s]===void 0&&(f[s]=n.defaultProps[s]);return Yo(n,f,t,a,null)}function Yo(n,e,i,t,a){var s={type:n,props:e,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:a??++Vg};return a==null&&Le.vnode!=null&&Le.vnode(s),s}function yt(){return{current:null}}function ga(n){return n.children}function at(n,e){this.props=n,this.context=e}function ma(n,e){if(e==null)return n.__?ma(n.__,n.__.__k.indexOf(n)+1):null;for(var i;e<n.__k.length;e++)if((i=n.__k[e])!=null&&i.__e!=null)return i.__e;return typeof n.type=="function"?ma(n):null}function Zg(n){var e,i;if((n=n.__)!=null&&n.__c!=null){for(n.__e=n.__c.base=null,e=0;e<n.__k.length;e++)if((i=n.__k[e])!=null&&i.__e!=null){n.__e=n.__c.base=i.__e;break}return Zg(n)}}function y0(n){(!n.__d&&(n.__d=!0)&&rs.push(n)&&!df.__r++||b0!==Le.debounceRendering)&&((b0=Le.debounceRendering)||Gg)(df)}function df(){for(var n;df.__r=rs.length;)n=rs.sort(function(e,i){return e.__v.__b-i.__v.__b}),rs=[],n.some(function(e){var i,t,a,s,f,l;e.__d&&(f=(s=(i=e).__v).__e,(l=i.__P)&&(t=[],(a=Zt({},s)).__v=s.__v+1,H1(l,s,a,i.__n,l.ownerSVGElement!==void 0,s.__h!=null?[f]:null,t,f??ma(s),s.__h),Jg(t,s),s.__e!=f&&Zg(s)))})}function Ug(n,e,i,t,a,s,f,l,c,h){var u,v,_,b,y,S,M,E=t&&t.__k||Wg,P=E.length;for(i.__k=[],u=0;u<e.length;u++)if((b=i.__k[u]=(b=e[u])==null||typeof b=="boolean"?null:typeof b=="string"||typeof b=="number"||typeof b=="bigint"?Yo(null,b,null,null,b):Array.isArray(b)?Yo(ga,{children:b},null,null,null):b.__b>0?Yo(b.type,b.props,b.key,null,b.__v):b)!=null){if(b.__=i,b.__b=i.__b+1,(_=E[u])===null||_&&b.key==_.key&&b.type===_.type)E[u]=void 0;else for(v=0;v<P;v++){if((_=E[v])&&b.key==_.key&&b.type===_.type){E[v]=void 0;break}_=null}H1(n,b,_=_||lf,a,s,f,l,c,h),y=b.__e,(v=b.ref)&&_.ref!=v&&(M||(M=[]),_.ref&&M.push(_.ref,null,b),M.push(v,b.__c||y,b)),y!=null?(S==null&&(S=y),typeof b.type=="function"&&b.__k===_.__k?b.__d=c=Kg(b,c,n):c=Yg(n,b,_,E,y,c),typeof i.type=="function"&&(i.__d=c)):c&&_.__e==c&&c.parentNode!=n&&(c=ma(_))}for(i.__e=S,u=P;u--;)E[u]!=null&&(typeof i.type=="function"&&E[u].__e!=null&&E[u].__e==i.__d&&(i.__d=ma(t,u+1)),Xg(E[u],E[u]));if(M)for(u=0;u<M.length;u++)Qg(M[u],M[++u],M[++u])}function Kg(n,e,i){for(var t,a=n.__k,s=0;a&&s<a.length;s++)(t=a[s])&&(t.__=n,e=typeof t.type=="function"?Kg(t,e,i):Yg(i,t,t,a,t.__e,e));return e}function cf(n,e){return e=e||[],n==null||typeof n=="boolean"||(Array.isArray(n)?n.some(function(i){cf(i,e)}):e.push(n)),e}function Yg(n,e,i,t,a,s){var f,l,c;if(e.__d!==void 0)f=e.__d,e.__d=void 0;else if(i==null||a!=s||a.parentNode==null)e:if(s==null||s.parentNode!==n)n.appendChild(a),f=null;else{for(l=s,c=0;(l=l.nextSibling)&&c<t.length;c+=2)if(l==a)break e;n.insertBefore(a,s),f=s}return f!==void 0?f:a.nextSibling}function OC(n,e,i,t,a){var s;for(s in i)s==="children"||s==="key"||s in e||uf(n,s,null,i[s],t);for(s in e)a&&typeof e[s]!="function"||s==="children"||s==="key"||s==="value"||s==="checked"||i[s]===e[s]||uf(n,s,e[s],i[s],t)}function x0(n,e,i){e[0]==="-"?n.setProperty(e,i):n[e]=i==null?"":typeof i!="number"||IC.test(e)?i:i+"px"}function uf(n,e,i,t,a){var s;e:if(e==="style")if(typeof i=="string")n.style.cssText=i;else{if(typeof t=="string"&&(n.style.cssText=t=""),t)for(e in t)i&&e in i||x0(n.style,e,"");if(i)for(e in i)t&&i[e]===t[e]||x0(n.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")s=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in n?e.toLowerCase().slice(2):e.slice(2),n.l||(n.l={}),n.l[e+s]=i,i?t||n.addEventListener(e,s?S0:C0,s):n.removeEventListener(e,s?S0:C0,s);else if(e!=="dangerouslySetInnerHTML"){if(a)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in n)try{n[e]=i??"";break e}catch{}typeof i=="function"||(i!=null&&(i!==!1||e[0]==="a"&&e[1]==="r")?n.setAttribute(e,i):n.removeAttribute(e))}}function C0(n){this.l[n.type+!1](Le.event?Le.event(n):n)}function S0(n){this.l[n.type+!0](Le.event?Le.event(n):n)}function H1(n,e,i,t,a,s,f,l,c){var h,u,v,_,b,y,S,M,E,P,B,D=e.type;if(e.constructor!==void 0)return null;i.__h!=null&&(c=i.__h,l=e.__e=i.__e,e.__h=null,s=[l]),(h=Le.__b)&&h(e);try{e:if(typeof D=="function"){if(M=e.props,E=(h=D.contextType)&&t[h.__c],P=h?E?E.props.value:h.__:t,i.__c?S=(u=e.__c=i.__c).__=u.__E:("prototype"in D&&D.prototype.render?e.__c=u=new D(M,P):(e.__c=u=new at(M,P),u.constructor=D,u.render=DC),E&&E.sub(u),u.props=M,u.state||(u.state={}),u.context=P,u.__n=t,v=u.__d=!0,u.__h=[]),u.__s==null&&(u.__s=u.state),D.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Zt({},u.__s)),Zt(u.__s,D.getDerivedStateFromProps(M,u.__s))),_=u.props,b=u.state,v)D.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(D.getDerivedStateFromProps==null&&M!==_&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(M,P),!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(M,u.__s,P)===!1||e.__v===i.__v){u.props=M,u.state=u.__s,e.__v!==i.__v&&(u.__d=!1),u.__v=e,e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(F){F&&(F.__=e)}),u.__h.length&&f.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(M,u.__s,P),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(_,b,y)})}u.context=P,u.props=M,u.state=u.__s,(h=Le.__r)&&h(e),u.__d=!1,u.__v=e,u.__P=n,h=u.render(u.props,u.state,u.context),u.state=u.__s,u.getChildContext!=null&&(t=Zt(Zt({},t),u.getChildContext())),v||u.getSnapshotBeforeUpdate==null||(y=u.getSnapshotBeforeUpdate(_,b)),B=h!=null&&h.type===ga&&h.key==null?h.props.children:h,Ug(n,Array.isArray(B)?B:[B],e,i,t,a,s,f,l,c),u.base=e.__e,e.__h=null,u.__h.length&&f.push(u),S&&(u.__E=u.__=null),u.__e=!1}else s==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=HC(i.__e,e,i,t,a,s,f,c);(h=Le.diffed)&&h(e)}catch(F){e.__v=null,(c||s!=null)&&(e.__e=l,e.__h=!!c,s[s.indexOf(l)]=null),Le.__e(F,e,i)}}function Jg(n,e){Le.__c&&Le.__c(e,n),n.some(function(i){try{n=i.__h,i.__h=[],n.some(function(t){t.call(i)})}catch(t){Le.__e(t,i.__v)}})}function HC(n,e,i,t,a,s,f,l){var c,h,u,v=i.props,_=e.props,b=e.type,y=0;if(b==="svg"&&(a=!0),s!=null){for(;y<s.length;y++)if((c=s[y])&&"setAttribute"in c==!!b&&(b?c.localName===b:c.nodeType===3)){n=c,s[y]=null;break}}if(n==null){if(b===null)return document.createTextNode(_);n=a?document.createElementNS("http://www.w3.org/2000/svg",b):document.createElement(b,_.is&&_),s=null,l=!1}if(b===null)v===_||l&&n.data===_||(n.data=_);else{if(s=s&&If.call(n.childNodes),h=(v=i.props||lf).dangerouslySetInnerHTML,u=_.dangerouslySetInnerHTML,!l){if(s!=null)for(v={},y=0;y<n.attributes.length;y++)v[n.attributes[y].name]=n.attributes[y].value;(u||h)&&(u&&(h&&u.__html==h.__html||u.__html===n.innerHTML)||(n.innerHTML=u&&u.__html||""))}if(OC(n,_,v,a,l),u)e.__k=[];else if(y=e.props.children,Ug(n,Array.isArray(y)?y:[y],e,i,t,a&&b!=="foreignObject",s,f,s?s[0]:i.__k&&ma(i,0),l),s!=null)for(y=s.length;y--;)s[y]!=null&&qg(s[y]);l||("value"in _&&(y=_.value)!==void 0&&(y!==v.value||y!==n.value||b==="progress"&&!y)&&uf(n,"value",y,v.value,!1),"checked"in _&&(y=_.checked)!==void 0&&y!==n.checked&&uf(n,"checked",y,v.checked,!1))}return n}function Qg(n,e,i){try{typeof n=="function"?n(e):n.current=e}catch(t){Le.__e(t,i)}}function Xg(n,e,i){var t,a;if(Le.unmount&&Le.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||Qg(t,null,e)),(t=n.__c)!=null){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(s){Le.__e(s,e)}t.base=t.__P=null}if(t=n.__k)for(a=0;a<t.length;a++)t[a]&&Xg(t[a],e,typeof n.type!="function");i||n.__e==null||qg(n.__e),n.__e=n.__d=void 0}function DC(n,e,i){return this.constructor(n,i)}function em(n,e,i){var t,a,s;Le.__&&Le.__(n,e),a=(t=typeof i=="function")?null:i&&i.__k||e.__k,s=[],H1(e,n=(!t&&i||e).__k=f1(ga,null,[n]),a||lf,lf,e.ownerSVGElement!==void 0,!t&&i?[i]:a?null:e.firstChild?If.call(e.childNodes):null,s,!t&&i?i:a?a.__e:e.firstChild,t),Jg(s,n)}If=Wg.slice,Le={__e:function(n,e){for(var i,t,a;e=e.__;)if((i=e.__c)&&!i.__)try{if((t=i.constructor)&&t.getDerivedStateFromError!=null&&(i.setState(t.getDerivedStateFromError(n)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(n),a=i.__d),a)return i.__E=i}catch(s){n=s}throw n}},Vg=0,at.prototype.setState=function(n,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Zt({},this.state),typeof n=="function"&&(n=n(Zt({},i),this.props)),n&&Zt(i,n),n!=null&&this.__v&&(e&&this.__h.push(e),y0(this))},at.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),y0(this))},at.prototype.render=ga,rs=[],Gg=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,df.__r=0;var jC=0;function J(n,e,i,t,a){var s,f,l={};for(f in e)f=="ref"?s=e[f]:l[f]=e[f];var c={type:n,props:l,key:i,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--jC,__source:t,__self:a};if(typeof n=="function"&&(s=n.defaultProps))for(f in s)l[f]===void 0&&(l[f]=s[f]);return Le.vnode&&Le.vnode(c),c}function NC(n,e){try{window.localStorage[`emoji-mart.${n}`]=JSON.stringify(e)}catch{}}function VC(n){try{const e=window.localStorage[`emoji-mart.${n}`];if(e)return JSON.parse(e)}catch{}}var Kt={set:NC,get:VC};const wd=new Map,GC=[{v:15,emoji:"🫨"},{v:14,emoji:"🫠"},{v:13.1,emoji:"😶🌫️"},{v:13,emoji:"🥸"},{v:12.1,emoji:"🧑🦰"},{v:12,emoji:"🥱"},{v:11,emoji:"🥰"},{v:5,emoji:"🤩"},{v:4,emoji:"👱♀️"},{v:3,emoji:"🤣"},{v:2,emoji:"👋🏻"},{v:1,emoji:"🙃"}];function WC(){for(const{v:n,emoji:e}of GC)if(nm(e))return n}function qC(){return!nm("🇨🇦")}function nm(n){if(wd.has(n))return wd.get(n);const e=ZC(n);return wd.set(n,e),e}const ZC=(()=>{let n=null;try{navigator.userAgent.includes("jsdom")||(n=document.createElement("canvas").getContext("2d",{willReadFrequently:!0}))}catch{}if(!n)return()=>!1;const e=25,i=20,t=Math.floor(e/2);return n.font=t+"px Arial, Sans-Serif",n.textBaseline="top",n.canvas.width=i*2,n.canvas.height=e,a=>{n.clearRect(0,0,i*2,e),n.fillStyle="#FF0000",n.fillText(a,0,22),n.fillStyle="#0000FF",n.fillText(a,i,22);const s=n.getImageData(0,0,i,e).data,f=s.length;let l=0;for(;l<f&&!s[l+3];l+=4);if(l>=f)return!1;const c=i+l/4%i,h=Math.floor(l/4/i),u=n.getImageData(c,h,1,1).data;return!(s[l]!==u[0]||s[l+2]!==u[2]||n.measureText(a).width>=i)}})();var E0={latestVersion:WC,noCountryFlags:qC};const l1=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let Vn=null;function UC(n){Vn||(Vn=Kt.get("frequently")||{});const e=n.id||n;e&&(Vn[e]||(Vn[e]=0),Vn[e]+=1,Kt.set("last",e),Kt.set("frequently",Vn))}function KC({maxFrequentRows:n,perLine:e}){if(!n)return[];Vn||(Vn=Kt.get("frequently"));let i=[];if(!Vn){Vn={};for(let s in l1.slice(0,e)){const f=l1[s];Vn[f]=e-s,i.push(f)}return i}const t=n*e,a=Kt.get("last");for(let s in Vn)i.push(s);if(i.sort((s,f)=>{const l=Vn[f],c=Vn[s];return l==c?s.localeCompare(f):l-c}),i.length>t){const s=i.slice(t);i=i.slice(0,t);for(let f of s)f!=a&&delete Vn[f];a&&i.indexOf(a)==-1&&(delete Vn[i[i.length-1]],i.splice(-1,1,a)),Kt.set("frequently",Vn)}return i}var im={add:UC,get:KC,DEFAULTS:l1},tm={};tm=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn’t be found","pick":"Pick an emoji…","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var Mt={autoFocus:{value:!1},dynamicWidth:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:15,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14,15]},exceptEmojis:{value:[]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","be","cs","de","es","fa","fi","fr","hi","it","ja","ko","nl","pl","pt","ru","sa","tr","uk","vi","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let Kn=null,Ue=null;const bd={};async function M0(n){if(bd[n])return bd[n];const i=await(await fetch(n)).json();return bd[n]=i,i}let yd=null,rm=null,am=!1;function Bs(n,{caller:e}={}){return yd||(yd=new Promise(i=>{rm=i})),n?YC(n):e&&!am&&console.warn(`\`${e}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),yd}async function YC(n){am=!0;let{emojiVersion:e,set:i,locale:t}=n;if(e||(e=Mt.emojiVersion.value),i||(i=Mt.set.value),t||(t=Mt.locale.value),Ue)Ue.categories=Ue.categories.filter(c=>!c.name);else{Ue=(typeof n.data=="function"?await n.data():n.data)||await M0(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${i}.json`),Ue.emoticons={},Ue.natives={},Ue.categories.unshift({id:"frequent",emojis:[]});for(const c in Ue.aliases){const h=Ue.aliases[c],u=Ue.emojis[h];u&&(u.aliases||(u.aliases=[]),u.aliases.push(c))}Ue.originalCategories=Ue.categories}if(Kn=(typeof n.i18n=="function"?await n.i18n():n.i18n)||(t=="en"?Ng(tm):await M0(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${t}.json`)),n.custom)for(let c in n.custom){c=parseInt(c);const h=n.custom[c],u=n.custom[c-1];if(!(!h.emojis||!h.emojis.length)){h.id||(h.id=`custom_${c+1}`),h.name||(h.name=Kn.categories.custom),u&&!h.icon&&(h.target=u.target||u),Ue.categories.push(h);for(const v of h.emojis)Ue.emojis[v.id]=v}}n.categories&&(Ue.categories=Ue.originalCategories.filter(c=>n.categories.indexOf(c.id)!=-1).sort((c,h)=>{const u=n.categories.indexOf(c.id),v=n.categories.indexOf(h.id);return u-v}));let a=null,s=null;i=="native"&&(a=E0.latestVersion(),s=n.noCountryFlags||E0.noCountryFlags());let f=Ue.categories.length,l=!1;for(;f--;){const c=Ue.categories[f];if(c.id=="frequent"){let{maxFrequentRows:v,perLine:_}=n;v=v>=0?v:Mt.maxFrequentRows.value,_||(_=Mt.perLine.value),c.emojis=im.get({maxFrequentRows:v,perLine:_})}if(!c.emojis||!c.emojis.length){Ue.categories.splice(f,1);continue}const{categoryIcons:h}=n;if(h){const v=h[c.id];v&&!c.icon&&(c.icon=v)}let u=c.emojis.length;for(;u--;){const v=c.emojis[u],_=v.id?v:Ue.emojis[v],b=()=>{c.emojis.splice(u,1)};if(!_||n.exceptEmojis&&n.exceptEmojis.includes(_.id)){b();continue}if(a&&_.version>a){b();continue}if(s&&c.id=="flags"&&!nS.includes(_.id)){b();continue}if(!_.search){if(l=!0,_.search=","+[[_.id,!1],[_.name,!0],[_.keywords,!1],[_.emoticons,!1]].map(([S,M])=>{if(S)return(Array.isArray(S)?S:[S]).map(E=>(M?E.split(/[-|_|\s]+/):[E]).map(P=>P.toLowerCase())).flat()}).flat().filter(S=>S&&S.trim()).join(","),_.emoticons)for(const S of _.emoticons)Ue.emoticons[S]||(Ue.emoticons[S]=_.id);let y=0;for(const S of _.skins){if(!S)continue;y++;const{native:M}=S;M&&(Ue.natives[M]=_.id,_.search+=`,${M}`);const E=y==1?"":`:skin-tone-${y}:`;S.shortcodes=`:${_.id}:${E}`}}}}l&&Sr.reset(),rm()}function sm(n,e,i){n||(n={});const t={};for(let a in e)t[a]=om(a,n,e,i);return t}function om(n,e,i,t){const a=i[n];let s=t&&t.getAttribute(n)||(e[n]!=null&&e[n]!=null?e[n]:null);return a&&(s!=null&&a.value&&typeof a.value!=typeof s&&(typeof a.value=="boolean"?s=s!="false":s=a.value.constructor(s)),a.transform&&s&&(s=a.transform(s)),(s==null||a.choices&&a.choices.indexOf(s)==-1)&&(s=a.value)),s}const JC=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;let d1=null;function QC(n){return n.id?n:Ue.emojis[n]||Ue.emojis[Ue.aliases[n]]||Ue.emojis[Ue.natives[n]]}function XC(){d1=null}async function eS(n,{maxResults:e,caller:i}={}){if(!n||!n.trim().length)return null;e||(e=90),await Bs(null,{caller:i||"SearchIndex.search"});const t=n.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((l,c,h)=>l.trim()&&h.indexOf(l)==c);if(!t.length)return;let a=d1||(d1=Object.values(Ue.emojis)),s,f;for(const l of t){if(!a.length)break;s=[],f={};for(const c of a){if(!c.search)continue;const h=c.search.indexOf(`,${l}`);h!=-1&&(s.push(c),f[c.id]||(f[c.id]=0),f[c.id]+=c.id==l?0:h+1)}a=s}return s.length<2||(s.sort((l,c)=>{const h=f[l.id],u=f[c.id];return h==u?l.id.localeCompare(c.id):h-u}),s.length>e&&(s=s.slice(0,e))),s}var Sr={search:eS,get:QC,reset:XC,SHORTCODES_REGEX:JC};const nS=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];function iS(n,e){return Array.isArray(n)&&Array.isArray(e)&&n.length===e.length&&n.every((i,t)=>i==e[t])}async function tS(n=1){for(let e in[...Array(n).keys()])await new Promise(requestAnimationFrame)}function rS(n,{skinIndex:e=0}={}){const i=n.skins[e]||(e=0,n.skins[e]),t={id:n.id,name:n.name,native:i.native,unified:i.unified,keywords:n.keywords,shortcodes:i.shortcodes||n.shortcodes};return n.skins.length>1&&(t.skin=e+1),i.src&&(t.src=i.src),n.aliases&&n.aliases.length&&(t.aliases=n.aliases),n.emoticons&&n.emoticons.length&&(t.emoticons=n.emoticons),t}const aS={activity:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:J("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:J("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:J("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:J("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),J("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),J("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:J("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),J("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:J("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),J("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),J("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:J("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},sS={loupe:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:J("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:J("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})};var hf={categories:aS,search:sS};function c1(n){let{id:e,skin:i,emoji:t}=n;if(n.shortcodes){const l=n.shortcodes.match(Sr.SHORTCODES_REGEX);l&&(e=l[1],l[2]&&(i=l[2]))}if(t||(t=Sr.get(e||n.native)),!t)return n.fallback;const a=t.skins[i-1]||t.skins[0],s=a.src||(n.set!="native"&&!n.spritesheet?typeof n.getImageURL=="function"?n.getImageURL(n.set,a.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${n.set}@15.0.1/img/${n.set}/64/${a.unified}.png`:void 0),f=typeof n.getSpritesheetURL=="function"?n.getSpritesheetURL(n.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${n.set}@15.0.1/img/${n.set}/sheets-256/64.png`;return J("span",{class:"emoji-mart-emoji","data-emoji-set":n.set,children:s?J("img",{style:{maxWidth:n.size||"1em",maxHeight:n.size||"1em",display:"inline-block"},alt:a.native||a.shortcodes,src:s}):n.set=="native"?J("span",{style:{fontSize:n.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:a.native}):J("span",{style:{display:"block",width:n.size,height:n.size,backgroundImage:`url(${f})`,backgroundSize:`${100*Ue.sheet.cols}% ${100*Ue.sheet.rows}%`,backgroundPosition:`${100/(Ue.sheet.cols-1)*a.x}% ${100/(Ue.sheet.rows-1)*a.y}%`}})})}const oS=typeof window<"u"&&window.HTMLElement?window.HTMLElement:Object;class fm extends oS{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let i in e)this.attributeChangedCallback(i,null,e[i])}attributeChangedCallback(e,i,t){if(!this.component)return;const a=om(e,{[e]:t},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:a}):(this.component.props[e]=a,this.component.forceUpdate())}disconnectedCallback(){this.disconnected=!0,this.component&&this.component.unregister&&this.component.unregister()}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let i=null;const t=e.parent||(i=e.ref&&e.ref.current);i&&(i.innerHTML=""),t&&t.appendChild(this)}}}class fS extends fm{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const i=document.createElement("style");i.textContent=e,this.shadowRoot.insertBefore(i,this.shadowRoot.firstChild)}constructor(e,{styles:i}={}){super(e),this.setShadow(),this.injectStyles(i)}}var lm={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:n=>/\D/.test(n)?n:`${n}px`},set:Mt.set,skin:Mt.skin};class dm extends fm{async connectedCallback(){const e=sm(this.props,lm,this);e.element=this,e.ref=i=>{this.component=i},await Bs(),!this.disconnected&&em(J(c1,{...e}),this)}constructor(e){super(e)}}Bi(dm,"Props",lm);typeof customElements<"u"&&!customElements.get("em-emoji")&&customElements.define("em-emoji",dm);var T0,u1=[],F0=Le.__b,R0=Le.__r,L0=Le.diffed,P0=Le.__c,A0=Le.unmount;function lS(){var n;for(u1.sort(function(e,i){return e.__v.__b-i.__v.__b});n=u1.pop();)if(n.__P)try{n.__H.__h.forEach(Jo),n.__H.__h.forEach(h1),n.__H.__h=[]}catch(e){n.__H.__h=[],Le.__e(e,n.__v)}}Le.__b=function(n){F0&&F0(n)},Le.__r=function(n){R0&&R0(n);var e=n.__c.__H;e&&(e.__h.forEach(Jo),e.__h.forEach(h1),e.__h=[])},Le.diffed=function(n){L0&&L0(n);var e=n.__c;e&&e.__H&&e.__H.__h.length&&(u1.push(e)!==1&&T0===Le.requestAnimationFrame||((T0=Le.requestAnimationFrame)||function(i){var t,a=function(){clearTimeout(s),z0&&cancelAnimationFrame(t),setTimeout(i)},s=setTimeout(a,100);z0&&(t=requestAnimationFrame(a))})(lS))},Le.__c=function(n,e){e.some(function(i){try{i.__h.forEach(Jo),i.__h=i.__h.filter(function(t){return!t.__||h1(t)})}catch(t){e.some(function(a){a.__h&&(a.__h=[])}),e=[],Le.__e(t,i.__v)}}),P0&&P0(n,e)},Le.unmount=function(n){A0&&A0(n);var e,i=n.__c;i&&i.__H&&(i.__H.__.forEach(function(t){try{Jo(t)}catch(a){e=a}}),e&&Le.__e(e,i.__v))};var z0=typeof requestAnimationFrame=="function";function Jo(n){var e=n.__c;typeof e=="function"&&(n.__c=void 0,e())}function h1(n){n.__c=n.__()}function dS(n,e){for(var i in e)n[i]=e[i];return n}function B0(n,e){for(var i in n)if(i!=="__source"&&!(i in e))return!0;for(var t in e)if(t!=="__source"&&n[t]!==e[t])return!0;return!1}function gf(n){this.props=n}(gf.prototype=new at).isPureReactComponent=!0,gf.prototype.shouldComponentUpdate=function(n,e){return B0(this.props,n)||B0(this.state,e)};var $0=Le.__b;Le.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),$0&&$0(n)};var cS=Le.__e;Le.__e=function(n,e,i){if(n.then){for(var t,a=e;a=a.__;)if((t=a.__c)&&t.__c)return e.__e==null&&(e.__e=i.__e,e.__k=i.__k),t.__c(n,e)}cS(n,e,i)};var I0=Le.unmount;function xd(){this.__u=0,this.t=null,this.__b=null}function cm(n){var e=n.__.__c;return e&&e.__e&&e.__e(n)}function Io(){this.u=null,this.o=null}Le.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&n.__h===!0&&(n.type=null),I0&&I0(n)},(xd.prototype=new at).__c=function(n,e){var i=e.__c,t=this;t.t==null&&(t.t=[]),t.t.push(i);var a=cm(t.__v),s=!1,f=function(){s||(s=!0,i.__R=null,a?a(l):l())};i.__R=f;var l=function(){if(!--t.__u){if(t.state.__e){var h=t.state.__e;t.__v.__k[0]=function v(_,b,y){return _&&(_.__v=null,_.__k=_.__k&&_.__k.map(function(S){return v(S,b,y)}),_.__c&&_.__c.__P===b&&(_.__e&&y.insertBefore(_.__e,_.__d),_.__c.__e=!0,_.__c.__P=y)),_}(h,h.__c.__P,h.__c.__O)}var u;for(t.setState({__e:t.__b=null});u=t.t.pop();)u.forceUpdate()}},c=e.__h===!0;t.__u++||c||t.setState({__e:t.__b=t.__v.__k[0]}),n.then(f,f)},xd.prototype.componentWillUnmount=function(){this.t=[]},xd.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),t=this.__v.__k[0].__c;this.__v.__k[0]=function s(f,l,c){return f&&(f.__c&&f.__c.__H&&(f.__c.__H.__.forEach(function(h){typeof h.__c=="function"&&h.__c()}),f.__c.__H=null),(f=dS({},f)).__c!=null&&(f.__c.__P===c&&(f.__c.__P=l),f.__c=null),f.__k=f.__k&&f.__k.map(function(h){return s(h,l,c)})),f}(this.__b,i,t.__O=t.__P)}this.__b=null}var a=e.__e&&f1(ga,null,n.fallback);return a&&(a.__h=null),[f1(ga,null,e.__e?null:n.children),a]};var O0=function(n,e,i){if(++i[1]===i[0]&&n.o.delete(e),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(i=n.u;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;n.u=i=i[2]}};(Io.prototype=new at).__e=function(n){var e=this,i=cm(e.__v),t=e.o.get(n);return t[0]++,function(a){var s=function(){e.props.revealOrder?(t.push(a),O0(e,n,t)):a()};i?i(s):s()}},Io.prototype.render=function(n){this.u=null,this.o=new Map;var e=cf(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&e.reverse();for(var i=e.length;i--;)this.o.set(e[i],this.u=[1,0,this.u]);return n.children},Io.prototype.componentDidUpdate=Io.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(e,i){O0(n,i,e)})};var uS=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,hS=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,gS=typeof document<"u",mS=function(n){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(n)};at.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(at.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})});var H0=Le.event;function vS(){}function pS(){return this.cancelBubble}function _S(){return this.defaultPrevented}Le.event=function(n){return H0&&(n=H0(n)),n.persist=vS,n.isPropagationStopped=pS,n.isDefaultPrevented=_S,n.nativeEvent=n};var D0={configurable:!0,get:function(){return this.class}},j0=Le.vnode;Le.vnode=function(n){var e=n.type,i=n.props,t=i;if(typeof e=="string"){var a=e.indexOf("-")===-1;for(var s in t={},i){var f=i[s];gS&&s==="children"&&e==="noscript"||s==="value"&&"defaultValue"in i&&f==null||(s==="defaultValue"&&"value"in i&&i.value==null?s="value":s==="download"&&f===!0?f="":/ondoubleclick/i.test(s)?s="ondblclick":/^onchange(textarea|input)/i.test(s+e)&&!mS(i.type)?s="oninput":/^onfocus$/i.test(s)?s="onfocusin":/^onblur$/i.test(s)?s="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(s)?s=s.toLowerCase():a&&hS.test(s)?s=s.replace(/[A-Z0-9]/,"-$&").toLowerCase():f===null&&(f=void 0),t[s]=f)}e=="select"&&t.multiple&&Array.isArray(t.value)&&(t.value=cf(i.children).forEach(function(l){l.props.selected=t.value.indexOf(l.props.value)!=-1})),e=="select"&&t.defaultValue!=null&&(t.value=cf(i.children).forEach(function(l){l.props.selected=t.multiple?t.defaultValue.indexOf(l.props.value)!=-1:t.defaultValue==l.props.value})),n.props=t,i.class!=i.className&&(D0.enumerable="className"in i,i.className!=null&&(t.class=i.className),Object.defineProperty(t,"className",D0))}n.$$typeof=uS,j0&&j0(n)};var N0=Le.__r;Le.__r=function(n){N0&&N0(n),n.__c};const kS={light:"outline",dark:"solid"};class wS extends gf{renderIcon(e){const{icon:i}=e;if(i){if(i.svg)return J("span",{class:"flex",dangerouslySetInnerHTML:{__html:i.svg}});if(i.src)return J("img",{src:i.src})}const t=hf.categories[e.id]||hf.categories.custom,a=this.props.icons=="auto"?kS[this.props.theme]:this.props.icons;return t[a]||t}render(){let e=null;return J("nav",{id:"nav",class:"padding","data-position":this.props.position,dir:this.props.dir,children:J("div",{class:"flex relative",children:[this.categories.map((i,t)=>{const a=i.name||Kn.categories[i.id],s=!this.props.unfocused&&i.id==this.state.categoryId;return s&&(e=t),J("button",{"aria-label":a,"aria-selected":s||void 0,title:a,type:"button",class:"flex flex-grow flex-center",onMouseDown:f=>f.preventDefault(),onClick:()=>{this.props.onClick({category:i,i:t})},children:this.renderIcon(i)})}),J("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:e==null?0:1,transform:this.props.dir==="rtl"?`scaleX(-1) translateX(${e*100}%)`:`translateX(${e*100}%)`}})]})})}constructor(){super(),this.categories=Ue.categories.filter(e=>!e.target),this.state={categoryId:this.categories[0].id}}}class bS extends gf{shouldComponentUpdate(e){for(let i in e)if(i!="children"&&e[i]!=this.props[i])return!0;return!1}render(){return this.props.children}}const Oo={rowsPerRender:10};class yS extends at{getInitialState(e=this.props){return{skin:Kt.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.dir=Kn.rtl?"rtl":"ltr",this.refs={menu:yt(),navigation:yt(),scroll:yt(),search:yt(),searchInput:yt(),skinToneButton:yt(),skinToneRadio:yt()},this.initGrid(),this.props.stickySearch==!1&&this.props.searchPosition=="sticky"&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:e}=this.refs;e.current&&e.current.focus()}}componentWillReceiveProps(e){this.nextState||(this.nextState={});for(const i in e)this.nextState[i]=e[i];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let i=!1;for(const a in this.nextState)this.props[a]=this.nextState[a],(a==="custom"||a==="categories")&&(i=!0);delete this.nextState;const t=this.getInitialState();if(i)return this.reset(t);this.setState(t)})}componentWillUnmount(){this.unregister()}async reset(e={}){await Bs(this.props),this.initGrid(),this.unobserve(),this.setState(e,()=>{this.observeCategories(),this.observeRows()})}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){var e;document.removeEventListener("click",this.handleClickOutside),(e=this.darkMedia)==null||e.removeEventListener("change",this.darkMediaCallback),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve({except:e=[]}={}){Array.isArray(e)||(e=[e]);for(const i of this.observers)e.includes(i)||i.disconnect();this.observers=[].concat(e)}initGrid(){const{categories:e}=Ue;this.refs.categories=new Map;const i=Ue.categories.map(a=>a.id).join(",");this.navKey&&this.navKey!=i&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=i,this.grid=[],this.grid.setsize=0;const t=(a,s)=>{const f=[];f.__categoryId=s.id,f.__index=a.length,this.grid.push(f);const l=this.grid.length-1,c=l%Oo.rowsPerRender?{}:yt();return c.index=l,c.posinset=this.grid.setsize+1,a.push(c),f};for(let a of e){const s=[];let f=t(s,a);for(let l of a.emojis)f.length==this.getPerLine()&&(f=t(s,a)),this.grid.setsize+=1,f.push(l);this.refs.categories.set(a.id,{root:yt(),rows:s})}}initTheme(e){if(e!="auto")return e;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addEventListener("change",this.darkMediaCallback)}return this.darkMedia.matches?"dark":"light"}initDynamicPerLine(e=this.props){if(!e.dynamicWidth)return;const{element:i,emojiButtonSize:t}=e,a=()=>{const{width:f}=i.getBoundingClientRect();return Math.floor(f/t)},s=new ResizeObserver(()=>{this.unobserve({except:s}),this.setState({perLine:a()},()=>{this.initGrid(),this.forceUpdate(()=>{this.observeCategories(),this.observeRows()})})});return s.observe(i),this.observers.push(s),a()}getPerLine(){return this.state.perLine||this.props.perLine}getEmojiByPos([e,i]){const t=this.state.searchResults||this.grid,a=t[e]&&t[e][i];if(a)return Sr.get(a)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const i=new Map,t=f=>{f!=e.state.categoryId&&e.setState({categoryId:f})},a={root:this.refs.scroll.current,threshold:[0,1]},s=new IntersectionObserver(f=>{for(const c of f){const h=c.target.dataset.id;i.set(h,c.intersectionRatio)}const l=[...i];for(const[c,h]of l)if(h){t(c);break}},a);for(const{root:f}of this.refs.categories.values())s.observe(f.current);this.observers.push(s)}observeRows(){const e={...this.state.visibleRows},i=new IntersectionObserver(t=>{for(const a of t){const s=parseInt(a.target.dataset.index);a.isIntersecting?e[s]=!0:delete e[s]}this.setState({visibleRows:e})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(Oo.rowsPerRender+5)}px 0px ${this.props.emojiButtonSize*Oo.rowsPerRender}px`});for(const{rows:t}of this.refs.categories.values())for(const a of t)a.current&&i.observe(a.current);this.observers.push(i)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;e&&e.blur()}navigate({e,input:i,left:t,right:a,up:s,down:f}){const l=this.state.searchResults||this.grid;if(!l.length)return;let[c,h]=this.state.pos;const u=(()=>{if(c==0&&h==0&&!e.repeat&&(t||s))return null;if(c==-1)return!e.repeat&&(a||f)&&i.selectionStart==i.value.length?[0,0]:null;if(t||a){let v=l[c];const _=t?-1:1;if(h+=_,!v[h]){if(c+=_,v=l[c],!v)return c=t?0:l.length-1,h=t?0:l[c].length-1,[c,h];h=t?v.length-1:0}return[c,h]}if(s||f){c+=s?-1:1;const v=l[c];return v?(v[h]||(h=v.length-1),[c,h]):(c=s?0:l.length-1,h=s?0:l[c].length-1,[c,h])}})();if(u)e.preventDefault();else{this.state.pos[0]>-1&&this.setState({pos:[-1,-1]});return}this.setState({pos:u,keyboard:!0},()=>{this.scrollTo({row:u[0]})})}scrollTo({categoryId:e,row:i}){const t=this.state.searchResults||this.grid;if(!t.length)return;const a=this.refs.scroll.current,s=a.getBoundingClientRect();let f=0;if(i>=0&&(e=t[i].__categoryId),e&&(f=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(s.top-a.scrollTop)+1),i>=0)if(!i)f=0;else{const l=t[i].__index,c=f+l*this.props.emojiButtonSize,h=c+this.props.emojiButtonSize+this.props.emojiButtonSize*.88;if(c<a.scrollTop)f=c;else if(h>a.scrollTop+s.height)f=h-s.height;else return}this.ignoreMouse(),a.scrollTop=f}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout(()=>{delete this.mouseIsIgnored},100)}handleEmojiOver(e){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:e||[-1,-1],keyboard:!1})}handleEmojiClick({e,emoji:i,pos:t}){if(this.props.onEmojiSelect&&(!i&&t&&(i=this.getEmojiByPos(t)),i)){const a=rS(i,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&im.add(a,this.props),this.props.onEmojiSelect(a,e)}}closeSkins(){this.state.showSkins&&(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(e){this.setState({tempSkin:e})}handleSkinClick(e){this.ignoreMouse(),this.closeSkins(),this.setState({skin:e,tempSkin:null}),Kt.set("skin",e)}renderNav(){return J(wS,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,dir:this.dir,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const e=this.getEmojiByPos(this.state.pos),i=this.state.searchResults&&!this.state.searchResults.length;return J("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[J("div",{class:"flex flex-middle flex-grow",children:[J("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:J(c1,{emoji:e,id:i?this.props.noResultsEmoji||"cry":this.props.previewEmoji||(this.props.previewPosition=="top"?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),J("div",{class:`margin-${this.dir[0]}`,children:e||i?J("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[J("div",{class:"preview-title ellipsis",children:e?e.name:Kn.search_no_results_1}),J("div",{class:"preview-subtitle ellipsis color-c",children:e?e.skins[0].shortcodes:Kn.search_no_results_2})]}):J("div",{class:"preview-placeholder color-c",children:Kn.pick})})]}),!e&&this.props.skinTonePosition=="preview"&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:i,posinset:t,grid:a}){const s=this.props.emojiButtonSize,f=this.state.tempSkin||this.state.skin,c=(e.skins[f-1]||e.skins[0]).native,h=iS(this.state.pos,i),u=i.concat(e.id).join("");return J(bS,{selected:h,skin:f,size:s,children:J("button",{"aria-label":c,"aria-selected":h||void 0,"aria-posinset":t,"aria-setsize":a.setsize,"data-keyboard":this.state.keyboard,title:this.props.previewPosition=="none"?e.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:v=>this.handleEmojiClick({e:v,emoji:e}),onMouseEnter:()=>this.handleEmojiOver(i),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[J("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(t-1)%this.props.emojiButtonColors.length]:void 0}}),J(c1,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:f,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},u)}renderSearch(){const e=this.props.previewPosition=="none"||this.props.skinTonePosition=="search";return J("div",{children:[J("div",{class:"spacer"}),J("div",{class:"flex flex-middle",children:[J("div",{class:"search relative flex-grow",children:[J("input",{type:"search",ref:this.refs.searchInput,placeholder:Kn.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),J("span",{class:"icon loupe flex",children:hf.search.loupe}),this.state.searchResults&&J("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:hf.search.delete})]}),e&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?J("div",{class:"category",ref:this.refs.search,children:[J("div",{class:`sticky padding-small align-${this.dir[0]}`,children:Kn.categories.search}),J("div",{children:e.length?e.map((i,t)=>J("div",{class:"flex",children:i.map((a,s)=>this.renderEmojiButton(a,{pos:[t,s],posinset:t*this.props.perLine+s+1,grid:e}))})):J("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&J("a",{onClick:this.props.onAddCustomEmoji,children:Kn.add_custom})})})]}):null}renderCategories(){const{categories:e}=Ue,i=!!this.state.searchResults,t=this.getPerLine();return J("div",{style:{visibility:i?"hidden":void 0,display:i?"none":void 0,height:"100%"},children:e.map(a=>{const{root:s,rows:f}=this.refs.categories.get(a.id);return J("div",{"data-id":a.target?a.target.id:a.id,class:"category",ref:s,children:[J("div",{class:`sticky padding-small align-${this.dir[0]}`,children:a.name||Kn.categories[a.id]}),J("div",{class:"relative",style:{height:f.length*this.props.emojiButtonSize},children:f.map((l,c)=>{const h=l.index-l.index%Oo.rowsPerRender,u=this.state.visibleRows[h],v="current"in l?l:void 0;if(!u&&!v)return null;const _=c*t,b=_+t,y=a.emojis.slice(_,b);return y.length<t&&y.push(...new Array(t-y.length)),J("div",{"data-index":l.index,ref:v,class:"flex row",style:{top:c*this.props.emojiButtonSize},children:u&&y.map((S,M)=>{if(!S)return J("div",{style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize}});const E=Sr.get(S);return this.renderEmojiButton(E,{pos:[l.index,M],posinset:l.posinset+M,grid:this.grid})})},l.index)})})]})})})}renderSkinToneButton(){return this.props.skinTonePosition=="none"?null:J("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:J("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":Kn.skins.choose,title:Kn.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:J("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos),i=e?e.name:"";return J("div",{"aria-live":"polite",class:"sr-only",children:i})}renderSkins(){const i=this.refs.skinToneButton.current.getBoundingClientRect(),t=this.base.getBoundingClientRect(),a={};return this.dir=="ltr"?a.right=t.right-i.right-3:a.left=i.left-t.left-3,this.props.previewPosition=="bottom"&&this.props.skinTonePosition=="preview"?a.bottom=t.bottom-i.top+6:(a.top=i.bottom-t.top+3,a.bottom="auto"),J("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":Kn.skins.choose,class:"menu hidden","data-position":a.top?"top":"bottom",style:a,children:[...Array(6).keys()].map(s=>{const f=s+1,l=this.state.skin==f;return J("div",{children:[J("input",{type:"radio",name:"skin-tone",value:f,"aria-label":Kn.skins[f],ref:l?this.refs.skinToneRadio:null,defaultChecked:l,onChange:()=>this.handleSkinMouseOver(f),onKeyDown:c=>{(c.code=="Enter"||c.code=="Space"||c.code=="Tab")&&(c.preventDefault(),this.handleSkinClick(f))}}),J("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(f),onMouseEnter:()=>this.handleSkinMouseOver(f),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[J("span",{class:`skin-tone skin-tone-${f}`}),J("span",{class:"margin-small-lr",children:Kn.skins[f]})]})]})})})}render(){const e=this.props.perLine*this.props.emojiButtonSize;return J("section",{id:"root",class:"flex flex-column",dir:this.dir,style:{width:this.props.dynamicWidth?"100%":`calc(${e}px + (var(--padding) + var(--sidebar-width)))`},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:[this.props.previewPosition=="top"&&this.renderPreview(),this.props.navPosition=="top"&&this.renderNav(),this.props.searchPosition=="sticky"&&J("div",{class:"padding-lr",children:this.renderSearch()}),J("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:J("div",{style:{width:this.props.dynamicWidth?"100%":e,height:"100%"},children:[this.props.searchPosition=="static"&&this.renderSearch(),this.renderSearchResults(),this.renderCategories()]})}),this.props.navPosition=="bottom"&&this.renderNav(),this.props.previewPosition=="bottom"&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),Bi(this,"darkMediaCallback",()=>{this.props.theme=="auto"&&this.setState({theme:this.darkMedia.matches?"dark":"light"})}),Bi(this,"handleClickOutside",i=>{const{element:t}=this.props;i.target!=t&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside(i))}),Bi(this,"handleBaseClick",i=>{this.state.showSkins&&(i.target.closest(".menu")||(i.preventDefault(),i.stopImmediatePropagation(),this.closeSkins()))}),Bi(this,"handleBaseKeydown",i=>{this.state.showSkins&&i.key=="Escape"&&(i.preventDefault(),i.stopImmediatePropagation(),this.closeSkins())}),Bi(this,"handleSearchClick",()=>{this.getEmojiByPos(this.state.pos)&&this.setState({pos:[-1,-1]})}),Bi(this,"handleSearchInput",async()=>{const i=this.refs.searchInput.current;if(!i)return;const{value:t}=i,a=await Sr.search(t),s=()=>{this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0)};if(!a)return this.setState({searchResults:a,pos:[-1,-1]},s);const f=i.selectionStart==i.value.length?[0,0]:[-1,-1],l=[];l.setsize=a.length;let c=null;for(let h of a)(!l.length||c.length==this.getPerLine())&&(c=[],c.__categoryId="search",c.__index=l.length,l.push(c)),c.push(h);this.ignoreMouse(),this.setState({searchResults:l,pos:f},s)}),Bi(this,"handleSearchKeyDown",i=>{const t=i.currentTarget;switch(i.stopImmediatePropagation(),i.key){case"ArrowLeft":this.navigate({e:i,input:t,left:!0});break;case"ArrowRight":this.navigate({e:i,input:t,right:!0});break;case"ArrowUp":this.navigate({e:i,input:t,up:!0});break;case"ArrowDown":this.navigate({e:i,input:t,down:!0});break;case"Enter":i.preventDefault(),this.handleEmojiClick({e:i,pos:this.state.pos});break;case"Escape":i.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch();break}}),Bi(this,"clearSearch",()=>{const i=this.refs.searchInput.current;i&&(i.value="",i.focus(),this.handleSearchInput())}),Bi(this,"handleCategoryClick",({category:i,i:t})=>{this.scrollTo(t==0?{row:-1}:{categoryId:i.id})}),Bi(this,"openSkins",i=>{const{currentTarget:t}=i,a=t.getBoundingClientRect();this.setState({showSkins:a},async()=>{await tS(2);const s=this.refs.menu.current;s&&(s.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))})}),this.observers=[],this.state={pos:[-1,-1],perLine:this.initDynamicPerLine(e),visibleRows:{0:!0},...this.getInitialState(e)}}}class D1 extends fS{async connectedCallback(){const e=sm(this.props,Mt,this);e.element=this,e.ref=i=>{this.component=i},await Bs(e),!this.disconnected&&em(J(yS,{...e}),this.shadowRoot)}constructor(e){super(e,{styles:Ng(um)})}}Bi(D1,"Props",Mt);typeof customElements<"u"&&!customElements.get("em-emoji-picker")&&customElements.define("em-emoji-picker",D1);var um={};um=`:host {
|
|
83
|
+
}`;var Ve=yh(function(){return nn(C,be+"return "+Q).apply(i,T)});if(Ve.source=Q,Yl(Ve))throw Ve;return Ve}function O_(r){return rn(r).toLowerCase()}function H_(r){return rn(r).toUpperCase()}function D_(r,o,d){if(r=rn(r),r&&(d||o===i))return Lc(r);if(!r||!(o=hi(o)))return r;var m=Hi(r),k=Hi(o),C=Pc(m,k),T=Ac(m,k)+1;return jt(m,C,T).join("")}function j_(r,o,d){if(r=rn(r),r&&(d||o===i))return r.slice(0,Bc(r)+1);if(!r||!(o=hi(o)))return r;var m=Hi(r),k=Ac(m,Hi(o))+1;return jt(m,0,k).join("")}function N_(r,o,d){if(r=rn(r),r&&(d||o===i))return r.replace(Ir,"");if(!r||!(o=hi(o)))return r;var m=Hi(r),k=Pc(m,Hi(o));return jt(m,k).join("")}function V_(r,o){var d=N,m=ae;if(yn(o)){var k="separator"in o?o.separator:k;d="length"in o?Ne(o.length):d,m="omission"in o?hi(o.omission):m}r=rn(r);var C=r.length;if(Dr(r)){var T=Hi(r);C=T.length}if(d>=C)return r;var L=d-jr(m);if(L<1)return m;var $=T?jt(T,0,L).join(""):r.slice(0,L);if(k===i)return $+m;if(T&&(L+=$.length-L),Jl(k)){if(r.slice(L).search(k)){var Z,U=$;for(k.global||(k=hl(k.source,rn(en.exec(k))+"g")),k.lastIndex=0;Z=k.exec(U);)var Q=Z.index;$=$.slice(0,Q===i?L:Q)}}else if(r.indexOf(hi(k),L)!=L){var ce=$.lastIndexOf(k);ce>-1&&($=$.slice(0,ce))}return $+m}function G_(r){return r=rn(r),r&&ya.test(r)?r.replace(ut,kv):r}var W_=Ur(function(r,o,d){return r+(d?" ":"")+o.toUpperCase()}),ed=xu("toUpperCase");function bh(r,o,d){return r=rn(r),o=d?i:o,o===i?gv(r)?yv(r):av(r):r.match(o)||[]}var yh=We(function(r,o){try{return ci(r,i,o)}catch(d){return Yl(d)?d:new Ie(d)}}),q_=pt(function(r,o){return Si(o,function(d){d=Qi(d),mt(r,d,Ul(r[d],r))}),r});function Z_(r){var o=r==null?0:r.length,d=Re();return r=o?wn(r,function(m){if(typeof m[1]!="function")throw new Ei(f);return[d(m[0]),m[1]]}):[],We(function(m){for(var k=-1;++k<o;){var C=r[k];if(ci(C[0],this,m))return ci(C[1],this,m)}})}function U_(r){return kp(Ti(r,v))}function nd(r){return function(){return r}}function K_(r,o){return r==null||r!==r?o:r}var Y_=Su(),J_=Su(!0);function fi(r){return r}function id(r){return nu(typeof r=="function"?r:Ti(r,v))}function Q_(r){return tu(Ti(r,v))}function X_(r,o){return ru(r,Ti(o,v))}var ek=We(function(r,o){return function(d){return Aa(d,r,o)}}),nk=We(function(r,o){return function(d){return Aa(r,d,o)}});function td(r,o,d){var m=An(o),k=go(o,m);d==null&&!(yn(o)&&(k.length||!m.length))&&(d=o,o=r,r=this,k=go(o,An(o)));var C=!(yn(d)&&"chain"in d)||!!d.chain,T=kt(r);return Si(k,function(L){var $=o[L];r[L]=$,T&&(r.prototype[L]=function(){var Z=this.__chain__;if(C||Z){var U=r(this.__wrapped__),Q=U.__actions__=ai(this.__actions__);return Q.push({func:$,args:arguments,thisArg:r}),U.__chain__=Z,U}return $.apply(r,Bt([this.value()],arguments))})}),r}function ik(){return Hn._===this&&(Hn._=Tv),this}function rd(){}function tk(r){return r=Ne(r),We(function(o){return au(o,r)})}var rk=Bl(wn),ak=Bl(Ec),sk=Bl(sl);function xh(r){return Nl(r)?ol(Qi(r)):$p(r)}function ok(r){return function(o){return r==null?i:gr(r,o)}}var fk=Mu(),lk=Mu(!0);function ad(){return[]}function sd(){return!1}function dk(){return{}}function ck(){return""}function uk(){return!0}function hk(r,o){if(r=Ne(r),r<1||r>Y)return[];var d=ie,m=Zn(r,ie);o=Re(o),r-=ie;for(var k=dl(m,o);++d<r;)o(d);return k}function gk(r){return De(r)?wn(r,Qi):gi(r)?[r]:ai(Vu(rn(r)))}function mk(r){var o=++Ev;return rn(r)+o}var vk=wo(function(r,o){return r+o},0),pk=$l("ceil"),_k=wo(function(r,o){return r/o},1),kk=$l("floor");function wk(r){return r&&r.length?ho(r,fi,bl):i}function bk(r,o){return r&&r.length?ho(r,Re(o,2),bl):i}function yk(r){return Fc(r,fi)}function xk(r,o){return Fc(r,Re(o,2))}function Ck(r){return r&&r.length?ho(r,fi,Sl):i}function Sk(r,o){return r&&r.length?ho(r,Re(o,2),Sl):i}var Ek=wo(function(r,o){return r*o},1),Mk=$l("round"),Tk=wo(function(r,o){return r-o},0);function Fk(r){return r&&r.length?ll(r,fi):0}function Rk(r,o){return r&&r.length?ll(r,Re(o,2)):0}return x.after=Q4,x.ary=eh,x.assign=H5,x.assignIn=gh,x.assignInWith=Ao,x.assignWith=D5,x.at=j5,x.before=nh,x.bind=Ul,x.bindAll=q_,x.bindKey=ih,x.castArray=d5,x.chain=Ju,x.chunk=k6,x.compact=w6,x.concat=b6,x.cond=Z_,x.conforms=U_,x.constant=nd,x.countBy=F4,x.create=N5,x.curry=th,x.curryRight=rh,x.debounce=ah,x.defaults=V5,x.defaultsDeep=G5,x.defer=X4,x.delay=e5,x.difference=y6,x.differenceBy=x6,x.differenceWith=C6,x.drop=S6,x.dropRight=E6,x.dropRightWhile=M6,x.dropWhile=T6,x.fill=F6,x.filter=L4,x.flatMap=z4,x.flatMapDeep=B4,x.flatMapDepth=$4,x.flatten=Zu,x.flattenDeep=R6,x.flattenDepth=L6,x.flip=n5,x.flow=Y_,x.flowRight=J_,x.fromPairs=P6,x.functions=J5,x.functionsIn=Q5,x.groupBy=I4,x.initial=z6,x.intersection=B6,x.intersectionBy=$6,x.intersectionWith=I6,x.invert=e_,x.invertBy=n_,x.invokeMap=H4,x.iteratee=id,x.keyBy=D4,x.keys=An,x.keysIn=oi,x.map=Mo,x.mapKeys=t_,x.mapValues=r_,x.matches=Q_,x.matchesProperty=X_,x.memoize=Fo,x.merge=a_,x.mergeWith=mh,x.method=ek,x.methodOf=nk,x.mixin=td,x.negate=Ro,x.nthArg=tk,x.omit=s_,x.omitBy=o_,x.once=i5,x.orderBy=j4,x.over=rk,x.overArgs=t5,x.overEvery=ak,x.overSome=sk,x.partial=Kl,x.partialRight=sh,x.partition=N4,x.pick=f_,x.pickBy=vh,x.property=xh,x.propertyOf=ok,x.pull=j6,x.pullAll=Ku,x.pullAllBy=N6,x.pullAllWith=V6,x.pullAt=G6,x.range=fk,x.rangeRight=lk,x.rearg=r5,x.reject=W4,x.remove=W6,x.rest=a5,x.reverse=ql,x.sampleSize=Z4,x.set=d_,x.setWith=c_,x.shuffle=U4,x.slice=q6,x.sortBy=J4,x.sortedUniq=X6,x.sortedUniqBy=e4,x.split=z_,x.spread=s5,x.tail=n4,x.take=i4,x.takeRight=t4,x.takeRightWhile=r4,x.takeWhile=a4,x.tap=w4,x.throttle=o5,x.thru=Eo,x.toArray=ch,x.toPairs=ph,x.toPairsIn=_h,x.toPath=gk,x.toPlainObject=hh,x.transform=u_,x.unary=f5,x.union=s4,x.unionBy=o4,x.unionWith=f4,x.uniq=l4,x.uniqBy=d4,x.uniqWith=c4,x.unset=h_,x.unzip=Zl,x.unzipWith=Yu,x.update=g_,x.updateWith=m_,x.values=Jr,x.valuesIn=v_,x.without=u4,x.words=bh,x.wrap=l5,x.xor=h4,x.xorBy=g4,x.xorWith=m4,x.zip=v4,x.zipObject=p4,x.zipObjectDeep=_4,x.zipWith=k4,x.entries=ph,x.entriesIn=_h,x.extend=gh,x.extendWith=Ao,td(x,x),x.add=vk,x.attempt=yh,x.camelCase=w_,x.capitalize=kh,x.ceil=pk,x.clamp=p_,x.clone=c5,x.cloneDeep=h5,x.cloneDeepWith=g5,x.cloneWith=u5,x.conformsTo=m5,x.deburr=wh,x.defaultTo=K_,x.divide=_k,x.endsWith=b_,x.eq=ji,x.escape=y_,x.escapeRegExp=x_,x.every=R4,x.find=P4,x.findIndex=Wu,x.findKey=W5,x.findLast=A4,x.findLastIndex=qu,x.findLastKey=q5,x.floor=kk,x.forEach=Qu,x.forEachRight=Xu,x.forIn=Z5,x.forInRight=U5,x.forOwn=K5,x.forOwnRight=Y5,x.get=Ql,x.gt=v5,x.gte=p5,x.has=X5,x.hasIn=Xl,x.head=Uu,x.identity=fi,x.includes=O4,x.indexOf=A6,x.inRange=__,x.invoke=i_,x.isArguments=pr,x.isArray=De,x.isArrayBuffer=_5,x.isArrayLike=si,x.isArrayLikeObject=Mn,x.isBoolean=k5,x.isBuffer=Nt,x.isDate=w5,x.isElement=b5,x.isEmpty=y5,x.isEqual=x5,x.isEqualWith=C5,x.isError=Yl,x.isFinite=S5,x.isFunction=kt,x.isInteger=oh,x.isLength=Lo,x.isMap=fh,x.isMatch=E5,x.isMatchWith=M5,x.isNaN=T5,x.isNative=F5,x.isNil=L5,x.isNull=R5,x.isNumber=lh,x.isObject=yn,x.isObjectLike=Sn,x.isPlainObject=Ha,x.isRegExp=Jl,x.isSafeInteger=P5,x.isSet=dh,x.isString=Po,x.isSymbol=gi,x.isTypedArray=Yr,x.isUndefined=A5,x.isWeakMap=z5,x.isWeakSet=B5,x.join=O6,x.kebabCase=C_,x.last=Ri,x.lastIndexOf=H6,x.lowerCase=S_,x.lowerFirst=E_,x.lt=$5,x.lte=I5,x.max=wk,x.maxBy=bk,x.mean=yk,x.meanBy=xk,x.min=Ck,x.minBy=Sk,x.stubArray=ad,x.stubFalse=sd,x.stubObject=dk,x.stubString=ck,x.stubTrue=uk,x.multiply=Ek,x.nth=D6,x.noConflict=ik,x.noop=rd,x.now=To,x.pad=M_,x.padEnd=T_,x.padStart=F_,x.parseInt=R_,x.random=k_,x.reduce=V4,x.reduceRight=G4,x.repeat=L_,x.replace=P_,x.result=l_,x.round=Mk,x.runInContext=A,x.sample=q4,x.size=K4,x.snakeCase=A_,x.some=Y4,x.sortedIndex=Z6,x.sortedIndexBy=U6,x.sortedIndexOf=K6,x.sortedLastIndex=Y6,x.sortedLastIndexBy=J6,x.sortedLastIndexOf=Q6,x.startCase=B_,x.startsWith=$_,x.subtract=Tk,x.sum=Fk,x.sumBy=Rk,x.template=I_,x.times=hk,x.toFinite=wt,x.toInteger=Ne,x.toLength=uh,x.toLower=O_,x.toNumber=Li,x.toSafeInteger=O5,x.toString=rn,x.toUpper=H_,x.trim=D_,x.trimEnd=j_,x.trimStart=N_,x.truncate=V_,x.unescape=G_,x.uniqueId=mk,x.upperCase=W_,x.upperFirst=ed,x.each=Qu,x.eachRight=Xu,x.first=Uu,td(x,function(){var r={};return Yi(x,function(o,d){dn.call(x.prototype,d)||(r[d]=o)}),r}(),{chain:!1}),x.VERSION=t,Si(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){x[r].placeholder=x}),Si(["drop","take"],function(r,o){Ye.prototype[r]=function(d){d=d===i?1:Ln(Ne(d),0);var m=this.__filtered__&&!o?new Ye(this):this.clone();return m.__filtered__?m.__takeCount__=Zn(d,m.__takeCount__):m.__views__.push({size:Zn(d,ie),type:r+(m.__dir__<0?"Right":"")}),m},Ye.prototype[r+"Right"]=function(d){return this.reverse()[r](d).reverse()}}),Si(["filter","map","takeWhile"],function(r,o){var d=o+1,m=d==fe||d==te;Ye.prototype[r]=function(k){var C=this.clone();return C.__iteratees__.push({iteratee:Re(k,3),type:d}),C.__filtered__=C.__filtered__||m,C}}),Si(["head","last"],function(r,o){var d="take"+(o?"Right":"");Ye.prototype[r]=function(){return this[d](1).value()[0]}}),Si(["initial","tail"],function(r,o){var d="drop"+(o?"":"Right");Ye.prototype[r]=function(){return this.__filtered__?new Ye(this):this[d](1)}}),Ye.prototype.compact=function(){return this.filter(fi)},Ye.prototype.find=function(r){return this.filter(r).head()},Ye.prototype.findLast=function(r){return this.reverse().find(r)},Ye.prototype.invokeMap=We(function(r,o){return typeof r=="function"?new Ye(this):this.map(function(d){return Aa(d,r,o)})}),Ye.prototype.reject=function(r){return this.filter(Ro(Re(r)))},Ye.prototype.slice=function(r,o){r=Ne(r);var d=this;return d.__filtered__&&(r>0||o<0)?new Ye(d):(r<0?d=d.takeRight(-r):r&&(d=d.drop(r)),o!==i&&(o=Ne(o),d=o<0?d.dropRight(-o):d.take(o-r)),d)},Ye.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ye.prototype.toArray=function(){return this.take(ie)},Yi(Ye.prototype,function(r,o){var d=/^(?:filter|find|map|reject)|While$/.test(o),m=/^(?:head|last)$/.test(o),k=x[m?"take"+(o=="last"?"Right":""):o],C=m||/^find/.test(o);k&&(x.prototype[o]=function(){var T=this.__wrapped__,L=m?[1]:arguments,$=T instanceof Ye,Z=L[0],U=$||De(T),Q=function(Ze){var Je=k.apply(x,Bt([Ze],L));return m&&ce?Je[0]:Je};U&&d&&typeof Z=="function"&&Z.length!=1&&($=U=!1);var ce=this.__chain__,be=!!this.__actions__.length,Pe=C&&!ce,Ve=$&&!be;if(!C&&U){T=Ve?T:new Ye(this);var Ae=r.apply(T,L);return Ae.__actions__.push({func:Eo,args:[Q],thisArg:i}),new Mi(Ae,ce)}return Pe&&Ve?r.apply(this,L):(Ae=this.thru(Q),Pe?m?Ae.value()[0]:Ae.value():Ae)})}),Si(["pop","push","shift","sort","splice","unshift"],function(r){var o=Js[r],d=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",m=/^(?:pop|shift)$/.test(r);x.prototype[r]=function(){var k=arguments;if(m&&!this.__chain__){var C=this.value();return o.apply(De(C)?C:[],k)}return this[d](function(T){return o.apply(De(T)?T:[],k)})}}),Yi(Ye.prototype,function(r,o){var d=x[o];if(d){var m=d.name+"";dn.call(Wr,m)||(Wr[m]=[]),Wr[m].push({name:o,func:d})}}),Wr[ko(i,E).name]=[{name:"wrapper",func:i}],Ye.prototype.clone=Gv,Ye.prototype.reverse=Wv,Ye.prototype.value=qv,x.prototype.at=b4,x.prototype.chain=y4,x.prototype.commit=x4,x.prototype.next=C4,x.prototype.plant=E4,x.prototype.reverse=M4,x.prototype.toJSON=x.prototype.valueOf=x.prototype.value=T4,x.prototype.first=x.prototype.head,Ea&&(x.prototype[Ea]=S4),x},Nr=xv();lr?((lr.exports=Nr)._=Nr,il._=Nr):Hn._=Nr}).call(Gn)})(ff,ff.exports);var O1=ff.exports;const oC=799,fC=690,sa=(n=oC)=>window.innerWidth<=n,jg=(n=fC)=>{const[e,i]=w.useState(!1),t=w.useCallback(O1.throttle(()=>{i(window.matchMedia(`(min-width: ${n}px)`).matches)},300),[n]);return w.useEffect(()=>(t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}),[n]),e},lC="_modalBody_1ws96_120",dC="_sheetFooter_1ws96_132",k0={modalBody:lC,sheetFooter:dC},cC=({cancelText:n="Abbrechen",confirmText:e="Bestätigen",content:i,handleCancel:t,handleConfirm:a,primaryCtaColor:s="primary",title:f})=>{const l=()=>p.jsx(z.CardHeader,{headline:f,as:"h3",rightElement:p.jsx(z.IconButton,{ariaLabel:"close-sheet",onClick:t,icon:"cross",size:"small"})}),c=()=>p.jsxs(p.Fragment,{children:[p.jsx(z.TextButton,{onClick:t,color:"blue",size:"large",text:n}),p.jsx(z.ButtonPrimary,{color:s,onClick:a,size:"large",text:e})]}),h=p.jsxs("footer",{className:k0.sheetFooter,children:[p.jsx(z.ButtonPrimary,{color:s,fullWidth:!0,onClick:a,size:"large",text:e}),p.jsx(z.TextButton,{color:"blue",onClick:t,size:"large",text:n})]});return sa()?p.jsx(z.BottomSheet,{open:!0,onClose:t,sheetBody:i,sheetHeader:l(),footer:h}):p.jsx(z.Modal,{open:!0,onClose:t,modalBody:p.jsx("div",{className:k0.modalBody,children:i}),headerTitle:f,modalFooter:c()})},uC="_root_p4p7y_120",hC="_textButton_p4p7y_127",w0={root:uC,textButton:hC},gC=({alt:n,ariaLabel:e,onClick:i,src:t,text:a})=>p.jsxs("div",{className:w0.root,children:[p.jsx(z.Thumbnail,{src:t,shape:"circular",size:"40",alt:n}),p.jsx(z.Button,{className:w0.textButton,onClick:i,children:p.jsx(z.Typography,{type:"body-regular",as:"span",children:a})}),p.jsx(z.IconButton,{icon:"pencil",size:"small",onClick:i,variant:"green",ariaLabel:e})]}),mC="_container_1x2z5_120",vC="_sidebarLeft_1x2z5_128",pC="_navBar_1x2z5_132",_C="_mainContent_1x2z5_138",kC="_sidebarRight_1x2z5_144",Ga={container:mC,sidebarLeft:vC,navBar:pC,mainContent:_C,sidebarRight:kC},wC=({children:n,left:e,navbar:i,right:t})=>p.jsxs("div",{className:Ga.container,children:[p.jsx("nav",{className:Ga.navBar,children:i}),e&&p.jsx("aside",{className:Ga.sidebarLeft,children:e}),p.jsx("main",{className:Ga.mainContent,children:n}),t&&p.jsx("aside",{className:Ga.sidebarRight,children:t})]}),bC=({name:n,onSearchSubmit:e,placeholder:i,ref:t})=>{const[a,s]=w.useState(""),{getInputProps:f}=Gw({onChange:u=>{s(u.target.value)},value:a}),l=f(),c=u=>{u.preventDefault(),!h&&(e(a),s(""))},h=!a||a.trim().length<2;return p.jsx("form",{onSubmit:c,children:p.jsx(z.TextInput,{...l,size:"small",id:n,label:i,name:n,colorScheme:"filled",textButton:{ariaLabelledBy:"searchButton",icon:"search",onClick:c,size:"small",type:"submit"},charLimit:50,showInputHints:!1,ref:t})})},yC="_navbarWrapper_1drdx_120",xC="_navbar_1drdx_120",CC="_navbar__left_1drdx_134",SC="_navbar__left_1drdx_134",EC="_navbar__right_1drdx_137",MC="_navbar__right_1drdx_137",$o={navbarWrapper:yC,navbar:xC,navbar__left:CC,navbarLeft:SC,navbar__right:EC,navbarRight:MC},TC=({left:n,right:e})=>p.jsx("div",{className:$o.navbarWrapper,children:p.jsxs("div",{className:$o.navbar,children:[p.jsx("div",{className:$o.navbar__left,children:n}),p.jsx("div",{className:$o.navbar__right,children:e})]})}),FC="Suchen",RC="Oh nein!",LC="Das Emoji konnte nicht gefunden werden",PC="Wähle ein Emoji…",AC="Füge ein benutzerdefiniertes Emoji hinzu",zC={activity:"Aktivität",custom:"Benutzerdefiniert",flags:"Flaggen",foods:"Essen & Trinken",frequent:"Oft genutzt",nature:"Tiere & Natur",objects:"Objekte",people:"Smileys & Personen",places:"Reisen & Orte",search:"Suchergebnisse",symbols:"Symbole"},BC={1:"Standard",2:"Hell",3:"Mittelhell",4:"Mittel",5:"Mitteldunkel",6:"Dunkel",choose:"Wähle eine Standard-Hautfarbe"},$C={search:FC,search_no_results_1:RC,search_no_results_2:LC,pick:PC,add_custom:AC,categories:zC,skins:BC};function Ng(n){return n&&n.__esModule?n.default:n}function Bi(n,e,i){return e in n?Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[e]=i,n}var If,Le,Vg,rs,Gg,b0,lf={},Wg=[],IC=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Zt(n,e){for(var i in e)n[i]=e[i];return n}function qg(n){var e=n.parentNode;e&&e.removeChild(n)}function f1(n,e,i){var t,a,s,f={};for(s in e)s=="key"?t=e[s]:s=="ref"?a=e[s]:f[s]=e[s];if(arguments.length>2&&(f.children=arguments.length>3?If.call(arguments,2):i),typeof n=="function"&&n.defaultProps!=null)for(s in n.defaultProps)f[s]===void 0&&(f[s]=n.defaultProps[s]);return Yo(n,f,t,a,null)}function Yo(n,e,i,t,a){var s={type:n,props:e,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:a??++Vg};return a==null&&Le.vnode!=null&&Le.vnode(s),s}function yt(){return{current:null}}function ga(n){return n.children}function at(n,e){this.props=n,this.context=e}function ma(n,e){if(e==null)return n.__?ma(n.__,n.__.__k.indexOf(n)+1):null;for(var i;e<n.__k.length;e++)if((i=n.__k[e])!=null&&i.__e!=null)return i.__e;return typeof n.type=="function"?ma(n):null}function Zg(n){var e,i;if((n=n.__)!=null&&n.__c!=null){for(n.__e=n.__c.base=null,e=0;e<n.__k.length;e++)if((i=n.__k[e])!=null&&i.__e!=null){n.__e=n.__c.base=i.__e;break}return Zg(n)}}function y0(n){(!n.__d&&(n.__d=!0)&&rs.push(n)&&!df.__r++||b0!==Le.debounceRendering)&&((b0=Le.debounceRendering)||Gg)(df)}function df(){for(var n;df.__r=rs.length;)n=rs.sort(function(e,i){return e.__v.__b-i.__v.__b}),rs=[],n.some(function(e){var i,t,a,s,f,l;e.__d&&(f=(s=(i=e).__v).__e,(l=i.__P)&&(t=[],(a=Zt({},s)).__v=s.__v+1,H1(l,s,a,i.__n,l.ownerSVGElement!==void 0,s.__h!=null?[f]:null,t,f??ma(s),s.__h),Jg(t,s),s.__e!=f&&Zg(s)))})}function Ug(n,e,i,t,a,s,f,l,c,h){var u,v,_,b,y,S,M,E=t&&t.__k||Wg,P=E.length;for(i.__k=[],u=0;u<e.length;u++)if((b=i.__k[u]=(b=e[u])==null||typeof b=="boolean"?null:typeof b=="string"||typeof b=="number"||typeof b=="bigint"?Yo(null,b,null,null,b):Array.isArray(b)?Yo(ga,{children:b},null,null,null):b.__b>0?Yo(b.type,b.props,b.key,null,b.__v):b)!=null){if(b.__=i,b.__b=i.__b+1,(_=E[u])===null||_&&b.key==_.key&&b.type===_.type)E[u]=void 0;else for(v=0;v<P;v++){if((_=E[v])&&b.key==_.key&&b.type===_.type){E[v]=void 0;break}_=null}H1(n,b,_=_||lf,a,s,f,l,c,h),y=b.__e,(v=b.ref)&&_.ref!=v&&(M||(M=[]),_.ref&&M.push(_.ref,null,b),M.push(v,b.__c||y,b)),y!=null?(S==null&&(S=y),typeof b.type=="function"&&b.__k===_.__k?b.__d=c=Kg(b,c,n):c=Yg(n,b,_,E,y,c),typeof i.type=="function"&&(i.__d=c)):c&&_.__e==c&&c.parentNode!=n&&(c=ma(_))}for(i.__e=S,u=P;u--;)E[u]!=null&&(typeof i.type=="function"&&E[u].__e!=null&&E[u].__e==i.__d&&(i.__d=ma(t,u+1)),Xg(E[u],E[u]));if(M)for(u=0;u<M.length;u++)Qg(M[u],M[++u],M[++u])}function Kg(n,e,i){for(var t,a=n.__k,s=0;a&&s<a.length;s++)(t=a[s])&&(t.__=n,e=typeof t.type=="function"?Kg(t,e,i):Yg(i,t,t,a,t.__e,e));return e}function cf(n,e){return e=e||[],n==null||typeof n=="boolean"||(Array.isArray(n)?n.some(function(i){cf(i,e)}):e.push(n)),e}function Yg(n,e,i,t,a,s){var f,l,c;if(e.__d!==void 0)f=e.__d,e.__d=void 0;else if(i==null||a!=s||a.parentNode==null)e:if(s==null||s.parentNode!==n)n.appendChild(a),f=null;else{for(l=s,c=0;(l=l.nextSibling)&&c<t.length;c+=2)if(l==a)break e;n.insertBefore(a,s),f=s}return f!==void 0?f:a.nextSibling}function OC(n,e,i,t,a){var s;for(s in i)s==="children"||s==="key"||s in e||uf(n,s,null,i[s],t);for(s in e)a&&typeof e[s]!="function"||s==="children"||s==="key"||s==="value"||s==="checked"||i[s]===e[s]||uf(n,s,e[s],i[s],t)}function x0(n,e,i){e[0]==="-"?n.setProperty(e,i):n[e]=i==null?"":typeof i!="number"||IC.test(e)?i:i+"px"}function uf(n,e,i,t,a){var s;e:if(e==="style")if(typeof i=="string")n.style.cssText=i;else{if(typeof t=="string"&&(n.style.cssText=t=""),t)for(e in t)i&&e in i||x0(n.style,e,"");if(i)for(e in i)t&&i[e]===t[e]||x0(n.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")s=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in n?e.toLowerCase().slice(2):e.slice(2),n.l||(n.l={}),n.l[e+s]=i,i?t||n.addEventListener(e,s?S0:C0,s):n.removeEventListener(e,s?S0:C0,s);else if(e!=="dangerouslySetInnerHTML"){if(a)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in n)try{n[e]=i??"";break e}catch{}typeof i=="function"||(i!=null&&(i!==!1||e[0]==="a"&&e[1]==="r")?n.setAttribute(e,i):n.removeAttribute(e))}}function C0(n){this.l[n.type+!1](Le.event?Le.event(n):n)}function S0(n){this.l[n.type+!0](Le.event?Le.event(n):n)}function H1(n,e,i,t,a,s,f,l,c){var h,u,v,_,b,y,S,M,E,P,B,D=e.type;if(e.constructor!==void 0)return null;i.__h!=null&&(c=i.__h,l=e.__e=i.__e,e.__h=null,s=[l]),(h=Le.__b)&&h(e);try{e:if(typeof D=="function"){if(M=e.props,E=(h=D.contextType)&&t[h.__c],P=h?E?E.props.value:h.__:t,i.__c?S=(u=e.__c=i.__c).__=u.__E:("prototype"in D&&D.prototype.render?e.__c=u=new D(M,P):(e.__c=u=new at(M,P),u.constructor=D,u.render=DC),E&&E.sub(u),u.props=M,u.state||(u.state={}),u.context=P,u.__n=t,v=u.__d=!0,u.__h=[]),u.__s==null&&(u.__s=u.state),D.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Zt({},u.__s)),Zt(u.__s,D.getDerivedStateFromProps(M,u.__s))),_=u.props,b=u.state,v)D.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(D.getDerivedStateFromProps==null&&M!==_&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(M,P),!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(M,u.__s,P)===!1||e.__v===i.__v){u.props=M,u.state=u.__s,e.__v!==i.__v&&(u.__d=!1),u.__v=e,e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(F){F&&(F.__=e)}),u.__h.length&&f.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(M,u.__s,P),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(_,b,y)})}u.context=P,u.props=M,u.state=u.__s,(h=Le.__r)&&h(e),u.__d=!1,u.__v=e,u.__P=n,h=u.render(u.props,u.state,u.context),u.state=u.__s,u.getChildContext!=null&&(t=Zt(Zt({},t),u.getChildContext())),v||u.getSnapshotBeforeUpdate==null||(y=u.getSnapshotBeforeUpdate(_,b)),B=h!=null&&h.type===ga&&h.key==null?h.props.children:h,Ug(n,Array.isArray(B)?B:[B],e,i,t,a,s,f,l,c),u.base=e.__e,e.__h=null,u.__h.length&&f.push(u),S&&(u.__E=u.__=null),u.__e=!1}else s==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=HC(i.__e,e,i,t,a,s,f,c);(h=Le.diffed)&&h(e)}catch(F){e.__v=null,(c||s!=null)&&(e.__e=l,e.__h=!!c,s[s.indexOf(l)]=null),Le.__e(F,e,i)}}function Jg(n,e){Le.__c&&Le.__c(e,n),n.some(function(i){try{n=i.__h,i.__h=[],n.some(function(t){t.call(i)})}catch(t){Le.__e(t,i.__v)}})}function HC(n,e,i,t,a,s,f,l){var c,h,u,v=i.props,_=e.props,b=e.type,y=0;if(b==="svg"&&(a=!0),s!=null){for(;y<s.length;y++)if((c=s[y])&&"setAttribute"in c==!!b&&(b?c.localName===b:c.nodeType===3)){n=c,s[y]=null;break}}if(n==null){if(b===null)return document.createTextNode(_);n=a?document.createElementNS("http://www.w3.org/2000/svg",b):document.createElement(b,_.is&&_),s=null,l=!1}if(b===null)v===_||l&&n.data===_||(n.data=_);else{if(s=s&&If.call(n.childNodes),h=(v=i.props||lf).dangerouslySetInnerHTML,u=_.dangerouslySetInnerHTML,!l){if(s!=null)for(v={},y=0;y<n.attributes.length;y++)v[n.attributes[y].name]=n.attributes[y].value;(u||h)&&(u&&(h&&u.__html==h.__html||u.__html===n.innerHTML)||(n.innerHTML=u&&u.__html||""))}if(OC(n,_,v,a,l),u)e.__k=[];else if(y=e.props.children,Ug(n,Array.isArray(y)?y:[y],e,i,t,a&&b!=="foreignObject",s,f,s?s[0]:i.__k&&ma(i,0),l),s!=null)for(y=s.length;y--;)s[y]!=null&&qg(s[y]);l||("value"in _&&(y=_.value)!==void 0&&(y!==v.value||y!==n.value||b==="progress"&&!y)&&uf(n,"value",y,v.value,!1),"checked"in _&&(y=_.checked)!==void 0&&y!==n.checked&&uf(n,"checked",y,v.checked,!1))}return n}function Qg(n,e,i){try{typeof n=="function"?n(e):n.current=e}catch(t){Le.__e(t,i)}}function Xg(n,e,i){var t,a;if(Le.unmount&&Le.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||Qg(t,null,e)),(t=n.__c)!=null){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(s){Le.__e(s,e)}t.base=t.__P=null}if(t=n.__k)for(a=0;a<t.length;a++)t[a]&&Xg(t[a],e,typeof n.type!="function");i||n.__e==null||qg(n.__e),n.__e=n.__d=void 0}function DC(n,e,i){return this.constructor(n,i)}function em(n,e,i){var t,a,s;Le.__&&Le.__(n,e),a=(t=typeof i=="function")?null:i&&i.__k||e.__k,s=[],H1(e,n=(!t&&i||e).__k=f1(ga,null,[n]),a||lf,lf,e.ownerSVGElement!==void 0,!t&&i?[i]:a?null:e.firstChild?If.call(e.childNodes):null,s,!t&&i?i:a?a.__e:e.firstChild,t),Jg(s,n)}If=Wg.slice,Le={__e:function(n,e){for(var i,t,a;e=e.__;)if((i=e.__c)&&!i.__)try{if((t=i.constructor)&&t.getDerivedStateFromError!=null&&(i.setState(t.getDerivedStateFromError(n)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(n),a=i.__d),a)return i.__E=i}catch(s){n=s}throw n}},Vg=0,at.prototype.setState=function(n,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Zt({},this.state),typeof n=="function"&&(n=n(Zt({},i),this.props)),n&&Zt(i,n),n!=null&&this.__v&&(e&&this.__h.push(e),y0(this))},at.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),y0(this))},at.prototype.render=ga,rs=[],Gg=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,df.__r=0;var jC=0;function J(n,e,i,t,a){var s,f,l={};for(f in e)f=="ref"?s=e[f]:l[f]=e[f];var c={type:n,props:l,key:i,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--jC,__source:t,__self:a};if(typeof n=="function"&&(s=n.defaultProps))for(f in s)l[f]===void 0&&(l[f]=s[f]);return Le.vnode&&Le.vnode(c),c}function NC(n,e){try{window.localStorage[`emoji-mart.${n}`]=JSON.stringify(e)}catch{}}function VC(n){try{const e=window.localStorage[`emoji-mart.${n}`];if(e)return JSON.parse(e)}catch{}}var Kt={set:NC,get:VC};const wd=new Map,GC=[{v:15,emoji:"🫨"},{v:14,emoji:"🫠"},{v:13.1,emoji:"😶🌫️"},{v:13,emoji:"🥸"},{v:12.1,emoji:"🧑🦰"},{v:12,emoji:"🥱"},{v:11,emoji:"🥰"},{v:5,emoji:"🤩"},{v:4,emoji:"👱♀️"},{v:3,emoji:"🤣"},{v:2,emoji:"👋🏻"},{v:1,emoji:"🙃"}];function WC(){for(const{v:n,emoji:e}of GC)if(nm(e))return n}function qC(){return!nm("🇨🇦")}function nm(n){if(wd.has(n))return wd.get(n);const e=ZC(n);return wd.set(n,e),e}const ZC=(()=>{let n=null;try{navigator.userAgent.includes("jsdom")||(n=document.createElement("canvas").getContext("2d",{willReadFrequently:!0}))}catch{}if(!n)return()=>!1;const e=25,i=20,t=Math.floor(e/2);return n.font=t+"px Arial, Sans-Serif",n.textBaseline="top",n.canvas.width=i*2,n.canvas.height=e,a=>{n.clearRect(0,0,i*2,e),n.fillStyle="#FF0000",n.fillText(a,0,22),n.fillStyle="#0000FF",n.fillText(a,i,22);const s=n.getImageData(0,0,i,e).data,f=s.length;let l=0;for(;l<f&&!s[l+3];l+=4);if(l>=f)return!1;const c=i+l/4%i,h=Math.floor(l/4/i),u=n.getImageData(c,h,1,1).data;return!(s[l]!==u[0]||s[l+2]!==u[2]||n.measureText(a).width>=i)}})();var E0={latestVersion:WC,noCountryFlags:qC};const l1=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let Vn=null;function UC(n){Vn||(Vn=Kt.get("frequently")||{});const e=n.id||n;e&&(Vn[e]||(Vn[e]=0),Vn[e]+=1,Kt.set("last",e),Kt.set("frequently",Vn))}function KC({maxFrequentRows:n,perLine:e}){if(!n)return[];Vn||(Vn=Kt.get("frequently"));let i=[];if(!Vn){Vn={};for(let s in l1.slice(0,e)){const f=l1[s];Vn[f]=e-s,i.push(f)}return i}const t=n*e,a=Kt.get("last");for(let s in Vn)i.push(s);if(i.sort((s,f)=>{const l=Vn[f],c=Vn[s];return l==c?s.localeCompare(f):l-c}),i.length>t){const s=i.slice(t);i=i.slice(0,t);for(let f of s)f!=a&&delete Vn[f];a&&i.indexOf(a)==-1&&(delete Vn[i[i.length-1]],i.splice(-1,1,a)),Kt.set("frequently",Vn)}return i}var im={add:UC,get:KC,DEFAULTS:l1},tm={};tm=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn’t be found","pick":"Pick an emoji…","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var Mt={autoFocus:{value:!1},dynamicWidth:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:15,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14,15]},exceptEmojis:{value:[]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","be","cs","de","es","fa","fi","fr","hi","it","ja","ko","nl","pl","pt","ru","sa","tr","uk","vi","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let Kn=null,Ue=null;const bd={};async function M0(n){if(bd[n])return bd[n];const i=await(await fetch(n)).json();return bd[n]=i,i}let yd=null,rm=null,am=!1;function Bs(n,{caller:e}={}){return yd||(yd=new Promise(i=>{rm=i})),n?YC(n):e&&!am&&console.warn(`\`${e}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),yd}async function YC(n){am=!0;let{emojiVersion:e,set:i,locale:t}=n;if(e||(e=Mt.emojiVersion.value),i||(i=Mt.set.value),t||(t=Mt.locale.value),Ue)Ue.categories=Ue.categories.filter(c=>!c.name);else{Ue=(typeof n.data=="function"?await n.data():n.data)||await M0(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${i}.json`),Ue.emoticons={},Ue.natives={},Ue.categories.unshift({id:"frequent",emojis:[]});for(const c in Ue.aliases){const h=Ue.aliases[c],u=Ue.emojis[h];u&&(u.aliases||(u.aliases=[]),u.aliases.push(c))}Ue.originalCategories=Ue.categories}if(Kn=(typeof n.i18n=="function"?await n.i18n():n.i18n)||(t=="en"?Ng(tm):await M0(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${t}.json`)),n.custom)for(let c in n.custom){c=parseInt(c);const h=n.custom[c],u=n.custom[c-1];if(!(!h.emojis||!h.emojis.length)){h.id||(h.id=`custom_${c+1}`),h.name||(h.name=Kn.categories.custom),u&&!h.icon&&(h.target=u.target||u),Ue.categories.push(h);for(const v of h.emojis)Ue.emojis[v.id]=v}}n.categories&&(Ue.categories=Ue.originalCategories.filter(c=>n.categories.indexOf(c.id)!=-1).sort((c,h)=>{const u=n.categories.indexOf(c.id),v=n.categories.indexOf(h.id);return u-v}));let a=null,s=null;i=="native"&&(a=E0.latestVersion(),s=n.noCountryFlags||E0.noCountryFlags());let f=Ue.categories.length,l=!1;for(;f--;){const c=Ue.categories[f];if(c.id=="frequent"){let{maxFrequentRows:v,perLine:_}=n;v=v>=0?v:Mt.maxFrequentRows.value,_||(_=Mt.perLine.value),c.emojis=im.get({maxFrequentRows:v,perLine:_})}if(!c.emojis||!c.emojis.length){Ue.categories.splice(f,1);continue}const{categoryIcons:h}=n;if(h){const v=h[c.id];v&&!c.icon&&(c.icon=v)}let u=c.emojis.length;for(;u--;){const v=c.emojis[u],_=v.id?v:Ue.emojis[v],b=()=>{c.emojis.splice(u,1)};if(!_||n.exceptEmojis&&n.exceptEmojis.includes(_.id)){b();continue}if(a&&_.version>a){b();continue}if(s&&c.id=="flags"&&!nS.includes(_.id)){b();continue}if(!_.search){if(l=!0,_.search=","+[[_.id,!1],[_.name,!0],[_.keywords,!1],[_.emoticons,!1]].map(([S,M])=>{if(S)return(Array.isArray(S)?S:[S]).map(E=>(M?E.split(/[-|_|\s]+/):[E]).map(P=>P.toLowerCase())).flat()}).flat().filter(S=>S&&S.trim()).join(","),_.emoticons)for(const S of _.emoticons)Ue.emoticons[S]||(Ue.emoticons[S]=_.id);let y=0;for(const S of _.skins){if(!S)continue;y++;const{native:M}=S;M&&(Ue.natives[M]=_.id,_.search+=`,${M}`);const E=y==1?"":`:skin-tone-${y}:`;S.shortcodes=`:${_.id}:${E}`}}}}l&&Sr.reset(),rm()}function sm(n,e,i){n||(n={});const t={};for(let a in e)t[a]=om(a,n,e,i);return t}function om(n,e,i,t){const a=i[n];let s=t&&t.getAttribute(n)||(e[n]!=null&&e[n]!=null?e[n]:null);return a&&(s!=null&&a.value&&typeof a.value!=typeof s&&(typeof a.value=="boolean"?s=s!="false":s=a.value.constructor(s)),a.transform&&s&&(s=a.transform(s)),(s==null||a.choices&&a.choices.indexOf(s)==-1)&&(s=a.value)),s}const JC=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;let d1=null;function QC(n){return n.id?n:Ue.emojis[n]||Ue.emojis[Ue.aliases[n]]||Ue.emojis[Ue.natives[n]]}function XC(){d1=null}async function eS(n,{maxResults:e,caller:i}={}){if(!n||!n.trim().length)return null;e||(e=90),await Bs(null,{caller:i||"SearchIndex.search"});const t=n.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((l,c,h)=>l.trim()&&h.indexOf(l)==c);if(!t.length)return;let a=d1||(d1=Object.values(Ue.emojis)),s,f;for(const l of t){if(!a.length)break;s=[],f={};for(const c of a){if(!c.search)continue;const h=c.search.indexOf(`,${l}`);h!=-1&&(s.push(c),f[c.id]||(f[c.id]=0),f[c.id]+=c.id==l?0:h+1)}a=s}return s.length<2||(s.sort((l,c)=>{const h=f[l.id],u=f[c.id];return h==u?l.id.localeCompare(c.id):h-u}),s.length>e&&(s=s.slice(0,e))),s}var Sr={search:eS,get:QC,reset:XC,SHORTCODES_REGEX:JC};const nS=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];function iS(n,e){return Array.isArray(n)&&Array.isArray(e)&&n.length===e.length&&n.every((i,t)=>i==e[t])}async function tS(n=1){for(let e in[...Array(n).keys()])await new Promise(requestAnimationFrame)}function rS(n,{skinIndex:e=0}={}){const i=n.skins[e]||(e=0,n.skins[e]),t={id:n.id,name:n.name,native:i.native,unified:i.unified,keywords:n.keywords,shortcodes:i.shortcodes||n.shortcodes};return n.skins.length>1&&(t.skin=e+1),i.src&&(t.src=i.src),n.aliases&&n.aliases.length&&(t.aliases=n.aliases),n.emoticons&&n.emoticons.length&&(t.emoticons=n.emoticons),t}const aS={activity:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:J("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:J("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:J("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:J("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),J("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),J("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:J("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),J("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:J("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),J("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[J("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),J("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:J("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:J("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},sS={loupe:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:J("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:J("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:J("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})};var hf={categories:aS,search:sS};function c1(n){let{id:e,skin:i,emoji:t}=n;if(n.shortcodes){const l=n.shortcodes.match(Sr.SHORTCODES_REGEX);l&&(e=l[1],l[2]&&(i=l[2]))}if(t||(t=Sr.get(e||n.native)),!t)return n.fallback;const a=t.skins[i-1]||t.skins[0],s=a.src||(n.set!="native"&&!n.spritesheet?typeof n.getImageURL=="function"?n.getImageURL(n.set,a.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${n.set}@15.0.1/img/${n.set}/64/${a.unified}.png`:void 0),f=typeof n.getSpritesheetURL=="function"?n.getSpritesheetURL(n.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${n.set}@15.0.1/img/${n.set}/sheets-256/64.png`;return J("span",{class:"emoji-mart-emoji","data-emoji-set":n.set,children:s?J("img",{style:{maxWidth:n.size||"1em",maxHeight:n.size||"1em",display:"inline-block"},alt:a.native||a.shortcodes,src:s}):n.set=="native"?J("span",{style:{fontSize:n.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:a.native}):J("span",{style:{display:"block",width:n.size,height:n.size,backgroundImage:`url(${f})`,backgroundSize:`${100*Ue.sheet.cols}% ${100*Ue.sheet.rows}%`,backgroundPosition:`${100/(Ue.sheet.cols-1)*a.x}% ${100/(Ue.sheet.rows-1)*a.y}%`}})})}const oS=typeof window<"u"&&window.HTMLElement?window.HTMLElement:Object;class fm extends oS{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let i in e)this.attributeChangedCallback(i,null,e[i])}attributeChangedCallback(e,i,t){if(!this.component)return;const a=om(e,{[e]:t},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:a}):(this.component.props[e]=a,this.component.forceUpdate())}disconnectedCallback(){this.disconnected=!0,this.component&&this.component.unregister&&this.component.unregister()}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let i=null;const t=e.parent||(i=e.ref&&e.ref.current);i&&(i.innerHTML=""),t&&t.appendChild(this)}}}class fS extends fm{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const i=document.createElement("style");i.textContent=e,this.shadowRoot.insertBefore(i,this.shadowRoot.firstChild)}constructor(e,{styles:i}={}){super(e),this.setShadow(),this.injectStyles(i)}}var lm={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:n=>/\D/.test(n)?n:`${n}px`},set:Mt.set,skin:Mt.skin};class dm extends fm{async connectedCallback(){const e=sm(this.props,lm,this);e.element=this,e.ref=i=>{this.component=i},await Bs(),!this.disconnected&&em(J(c1,{...e}),this)}constructor(e){super(e)}}Bi(dm,"Props",lm);typeof customElements<"u"&&!customElements.get("em-emoji")&&customElements.define("em-emoji",dm);var T0,u1=[],F0=Le.__b,R0=Le.__r,L0=Le.diffed,P0=Le.__c,A0=Le.unmount;function lS(){var n;for(u1.sort(function(e,i){return e.__v.__b-i.__v.__b});n=u1.pop();)if(n.__P)try{n.__H.__h.forEach(Jo),n.__H.__h.forEach(h1),n.__H.__h=[]}catch(e){n.__H.__h=[],Le.__e(e,n.__v)}}Le.__b=function(n){F0&&F0(n)},Le.__r=function(n){R0&&R0(n);var e=n.__c.__H;e&&(e.__h.forEach(Jo),e.__h.forEach(h1),e.__h=[])},Le.diffed=function(n){L0&&L0(n);var e=n.__c;e&&e.__H&&e.__H.__h.length&&(u1.push(e)!==1&&T0===Le.requestAnimationFrame||((T0=Le.requestAnimationFrame)||function(i){var t,a=function(){clearTimeout(s),z0&&cancelAnimationFrame(t),setTimeout(i)},s=setTimeout(a,100);z0&&(t=requestAnimationFrame(a))})(lS))},Le.__c=function(n,e){e.some(function(i){try{i.__h.forEach(Jo),i.__h=i.__h.filter(function(t){return!t.__||h1(t)})}catch(t){e.some(function(a){a.__h&&(a.__h=[])}),e=[],Le.__e(t,i.__v)}}),P0&&P0(n,e)},Le.unmount=function(n){A0&&A0(n);var e,i=n.__c;i&&i.__H&&(i.__H.__.forEach(function(t){try{Jo(t)}catch(a){e=a}}),e&&Le.__e(e,i.__v))};var z0=typeof requestAnimationFrame=="function";function Jo(n){var e=n.__c;typeof e=="function"&&(n.__c=void 0,e())}function h1(n){n.__c=n.__()}function dS(n,e){for(var i in e)n[i]=e[i];return n}function B0(n,e){for(var i in n)if(i!=="__source"&&!(i in e))return!0;for(var t in e)if(t!=="__source"&&n[t]!==e[t])return!0;return!1}function gf(n){this.props=n}(gf.prototype=new at).isPureReactComponent=!0,gf.prototype.shouldComponentUpdate=function(n,e){return B0(this.props,n)||B0(this.state,e)};var $0=Le.__b;Le.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),$0&&$0(n)};var cS=Le.__e;Le.__e=function(n,e,i){if(n.then){for(var t,a=e;a=a.__;)if((t=a.__c)&&t.__c)return e.__e==null&&(e.__e=i.__e,e.__k=i.__k),t.__c(n,e)}cS(n,e,i)};var I0=Le.unmount;function xd(){this.__u=0,this.t=null,this.__b=null}function cm(n){var e=n.__.__c;return e&&e.__e&&e.__e(n)}function Io(){this.u=null,this.o=null}Le.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&n.__h===!0&&(n.type=null),I0&&I0(n)},(xd.prototype=new at).__c=function(n,e){var i=e.__c,t=this;t.t==null&&(t.t=[]),t.t.push(i);var a=cm(t.__v),s=!1,f=function(){s||(s=!0,i.__R=null,a?a(l):l())};i.__R=f;var l=function(){if(!--t.__u){if(t.state.__e){var h=t.state.__e;t.__v.__k[0]=function v(_,b,y){return _&&(_.__v=null,_.__k=_.__k&&_.__k.map(function(S){return v(S,b,y)}),_.__c&&_.__c.__P===b&&(_.__e&&y.insertBefore(_.__e,_.__d),_.__c.__e=!0,_.__c.__P=y)),_}(h,h.__c.__P,h.__c.__O)}var u;for(t.setState({__e:t.__b=null});u=t.t.pop();)u.forceUpdate()}},c=e.__h===!0;t.__u++||c||t.setState({__e:t.__b=t.__v.__k[0]}),n.then(f,f)},xd.prototype.componentWillUnmount=function(){this.t=[]},xd.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),t=this.__v.__k[0].__c;this.__v.__k[0]=function s(f,l,c){return f&&(f.__c&&f.__c.__H&&(f.__c.__H.__.forEach(function(h){typeof h.__c=="function"&&h.__c()}),f.__c.__H=null),(f=dS({},f)).__c!=null&&(f.__c.__P===c&&(f.__c.__P=l),f.__c=null),f.__k=f.__k&&f.__k.map(function(h){return s(h,l,c)})),f}(this.__b,i,t.__O=t.__P)}this.__b=null}var a=e.__e&&f1(ga,null,n.fallback);return a&&(a.__h=null),[f1(ga,null,e.__e?null:n.children),a]};var O0=function(n,e,i){if(++i[1]===i[0]&&n.o.delete(e),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(i=n.u;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;n.u=i=i[2]}};(Io.prototype=new at).__e=function(n){var e=this,i=cm(e.__v),t=e.o.get(n);return t[0]++,function(a){var s=function(){e.props.revealOrder?(t.push(a),O0(e,n,t)):a()};i?i(s):s()}},Io.prototype.render=function(n){this.u=null,this.o=new Map;var e=cf(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&e.reverse();for(var i=e.length;i--;)this.o.set(e[i],this.u=[1,0,this.u]);return n.children},Io.prototype.componentDidUpdate=Io.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(e,i){O0(n,i,e)})};var uS=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,hS=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,gS=typeof document<"u",mS=function(n){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(n)};at.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(at.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})});var H0=Le.event;function vS(){}function pS(){return this.cancelBubble}function _S(){return this.defaultPrevented}Le.event=function(n){return H0&&(n=H0(n)),n.persist=vS,n.isPropagationStopped=pS,n.isDefaultPrevented=_S,n.nativeEvent=n};var D0={configurable:!0,get:function(){return this.class}},j0=Le.vnode;Le.vnode=function(n){var e=n.type,i=n.props,t=i;if(typeof e=="string"){var a=e.indexOf("-")===-1;for(var s in t={},i){var f=i[s];gS&&s==="children"&&e==="noscript"||s==="value"&&"defaultValue"in i&&f==null||(s==="defaultValue"&&"value"in i&&i.value==null?s="value":s==="download"&&f===!0?f="":/ondoubleclick/i.test(s)?s="ondblclick":/^onchange(textarea|input)/i.test(s+e)&&!mS(i.type)?s="oninput":/^onfocus$/i.test(s)?s="onfocusin":/^onblur$/i.test(s)?s="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(s)?s=s.toLowerCase():a&&hS.test(s)?s=s.replace(/[A-Z0-9]/,"-$&").toLowerCase():f===null&&(f=void 0),t[s]=f)}e=="select"&&t.multiple&&Array.isArray(t.value)&&(t.value=cf(i.children).forEach(function(l){l.props.selected=t.value.indexOf(l.props.value)!=-1})),e=="select"&&t.defaultValue!=null&&(t.value=cf(i.children).forEach(function(l){l.props.selected=t.multiple?t.defaultValue.indexOf(l.props.value)!=-1:t.defaultValue==l.props.value})),n.props=t,i.class!=i.className&&(D0.enumerable="className"in i,i.className!=null&&(t.class=i.className),Object.defineProperty(t,"className",D0))}n.$$typeof=uS,j0&&j0(n)};var N0=Le.__r;Le.__r=function(n){N0&&N0(n),n.__c};const kS={light:"outline",dark:"solid"};class wS extends gf{renderIcon(e){const{icon:i}=e;if(i){if(i.svg)return J("span",{class:"flex",dangerouslySetInnerHTML:{__html:i.svg}});if(i.src)return J("img",{src:i.src})}const t=hf.categories[e.id]||hf.categories.custom,a=this.props.icons=="auto"?kS[this.props.theme]:this.props.icons;return t[a]||t}render(){let e=null;return J("nav",{id:"nav",class:"padding","data-position":this.props.position,dir:this.props.dir,children:J("div",{class:"flex relative",children:[this.categories.map((i,t)=>{const a=i.name||Kn.categories[i.id],s=!this.props.unfocused&&i.id==this.state.categoryId;return s&&(e=t),J("button",{"aria-label":a,"aria-selected":s||void 0,title:a,type:"button",class:"flex flex-grow flex-center",onMouseDown:f=>f.preventDefault(),onClick:()=>{this.props.onClick({category:i,i:t})},children:this.renderIcon(i)})}),J("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:e==null?0:1,transform:this.props.dir==="rtl"?`scaleX(-1) translateX(${e*100}%)`:`translateX(${e*100}%)`}})]})})}constructor(){super(),this.categories=Ue.categories.filter(e=>!e.target),this.state={categoryId:this.categories[0].id}}}class bS extends gf{shouldComponentUpdate(e){for(let i in e)if(i!="children"&&e[i]!=this.props[i])return!0;return!1}render(){return this.props.children}}const Oo={rowsPerRender:10};class yS extends at{getInitialState(e=this.props){return{skin:Kt.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.dir=Kn.rtl?"rtl":"ltr",this.refs={menu:yt(),navigation:yt(),scroll:yt(),search:yt(),searchInput:yt(),skinToneButton:yt(),skinToneRadio:yt()},this.initGrid(),this.props.stickySearch==!1&&this.props.searchPosition=="sticky"&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:e}=this.refs;e.current&&e.current.focus()}}componentWillReceiveProps(e){this.nextState||(this.nextState={});for(const i in e)this.nextState[i]=e[i];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let i=!1;for(const a in this.nextState)this.props[a]=this.nextState[a],(a==="custom"||a==="categories")&&(i=!0);delete this.nextState;const t=this.getInitialState();if(i)return this.reset(t);this.setState(t)})}componentWillUnmount(){this.unregister()}async reset(e={}){await Bs(this.props),this.initGrid(),this.unobserve(),this.setState(e,()=>{this.observeCategories(),this.observeRows()})}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){var e;document.removeEventListener("click",this.handleClickOutside),(e=this.darkMedia)==null||e.removeEventListener("change",this.darkMediaCallback),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve({except:e=[]}={}){Array.isArray(e)||(e=[e]);for(const i of this.observers)e.includes(i)||i.disconnect();this.observers=[].concat(e)}initGrid(){const{categories:e}=Ue;this.refs.categories=new Map;const i=Ue.categories.map(a=>a.id).join(",");this.navKey&&this.navKey!=i&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=i,this.grid=[],this.grid.setsize=0;const t=(a,s)=>{const f=[];f.__categoryId=s.id,f.__index=a.length,this.grid.push(f);const l=this.grid.length-1,c=l%Oo.rowsPerRender?{}:yt();return c.index=l,c.posinset=this.grid.setsize+1,a.push(c),f};for(let a of e){const s=[];let f=t(s,a);for(let l of a.emojis)f.length==this.getPerLine()&&(f=t(s,a)),this.grid.setsize+=1,f.push(l);this.refs.categories.set(a.id,{root:yt(),rows:s})}}initTheme(e){if(e!="auto")return e;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addEventListener("change",this.darkMediaCallback)}return this.darkMedia.matches?"dark":"light"}initDynamicPerLine(e=this.props){if(!e.dynamicWidth)return;const{element:i,emojiButtonSize:t}=e,a=()=>{const{width:f}=i.getBoundingClientRect();return Math.floor(f/t)},s=new ResizeObserver(()=>{this.unobserve({except:s}),this.setState({perLine:a()},()=>{this.initGrid(),this.forceUpdate(()=>{this.observeCategories(),this.observeRows()})})});return s.observe(i),this.observers.push(s),a()}getPerLine(){return this.state.perLine||this.props.perLine}getEmojiByPos([e,i]){const t=this.state.searchResults||this.grid,a=t[e]&&t[e][i];if(a)return Sr.get(a)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const i=new Map,t=f=>{f!=e.state.categoryId&&e.setState({categoryId:f})},a={root:this.refs.scroll.current,threshold:[0,1]},s=new IntersectionObserver(f=>{for(const c of f){const h=c.target.dataset.id;i.set(h,c.intersectionRatio)}const l=[...i];for(const[c,h]of l)if(h){t(c);break}},a);for(const{root:f}of this.refs.categories.values())s.observe(f.current);this.observers.push(s)}observeRows(){const e={...this.state.visibleRows},i=new IntersectionObserver(t=>{for(const a of t){const s=parseInt(a.target.dataset.index);a.isIntersecting?e[s]=!0:delete e[s]}this.setState({visibleRows:e})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(Oo.rowsPerRender+5)}px 0px ${this.props.emojiButtonSize*Oo.rowsPerRender}px`});for(const{rows:t}of this.refs.categories.values())for(const a of t)a.current&&i.observe(a.current);this.observers.push(i)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;e&&e.blur()}navigate({e,input:i,left:t,right:a,up:s,down:f}){const l=this.state.searchResults||this.grid;if(!l.length)return;let[c,h]=this.state.pos;const u=(()=>{if(c==0&&h==0&&!e.repeat&&(t||s))return null;if(c==-1)return!e.repeat&&(a||f)&&i.selectionStart==i.value.length?[0,0]:null;if(t||a){let v=l[c];const _=t?-1:1;if(h+=_,!v[h]){if(c+=_,v=l[c],!v)return c=t?0:l.length-1,h=t?0:l[c].length-1,[c,h];h=t?v.length-1:0}return[c,h]}if(s||f){c+=s?-1:1;const v=l[c];return v?(v[h]||(h=v.length-1),[c,h]):(c=s?0:l.length-1,h=s?0:l[c].length-1,[c,h])}})();if(u)e.preventDefault();else{this.state.pos[0]>-1&&this.setState({pos:[-1,-1]});return}this.setState({pos:u,keyboard:!0},()=>{this.scrollTo({row:u[0]})})}scrollTo({categoryId:e,row:i}){const t=this.state.searchResults||this.grid;if(!t.length)return;const a=this.refs.scroll.current,s=a.getBoundingClientRect();let f=0;if(i>=0&&(e=t[i].__categoryId),e&&(f=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(s.top-a.scrollTop)+1),i>=0)if(!i)f=0;else{const l=t[i].__index,c=f+l*this.props.emojiButtonSize,h=c+this.props.emojiButtonSize+this.props.emojiButtonSize*.88;if(c<a.scrollTop)f=c;else if(h>a.scrollTop+s.height)f=h-s.height;else return}this.ignoreMouse(),a.scrollTop=f}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout(()=>{delete this.mouseIsIgnored},100)}handleEmojiOver(e){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:e||[-1,-1],keyboard:!1})}handleEmojiClick({e,emoji:i,pos:t}){if(this.props.onEmojiSelect&&(!i&&t&&(i=this.getEmojiByPos(t)),i)){const a=rS(i,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&im.add(a,this.props),this.props.onEmojiSelect(a,e)}}closeSkins(){this.state.showSkins&&(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(e){this.setState({tempSkin:e})}handleSkinClick(e){this.ignoreMouse(),this.closeSkins(),this.setState({skin:e,tempSkin:null}),Kt.set("skin",e)}renderNav(){return J(wS,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,dir:this.dir,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const e=this.getEmojiByPos(this.state.pos),i=this.state.searchResults&&!this.state.searchResults.length;return J("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[J("div",{class:"flex flex-middle flex-grow",children:[J("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:J(c1,{emoji:e,id:i?this.props.noResultsEmoji||"cry":this.props.previewEmoji||(this.props.previewPosition=="top"?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),J("div",{class:`margin-${this.dir[0]}`,children:e||i?J("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[J("div",{class:"preview-title ellipsis",children:e?e.name:Kn.search_no_results_1}),J("div",{class:"preview-subtitle ellipsis color-c",children:e?e.skins[0].shortcodes:Kn.search_no_results_2})]}):J("div",{class:"preview-placeholder color-c",children:Kn.pick})})]}),!e&&this.props.skinTonePosition=="preview"&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:i,posinset:t,grid:a}){const s=this.props.emojiButtonSize,f=this.state.tempSkin||this.state.skin,c=(e.skins[f-1]||e.skins[0]).native,h=iS(this.state.pos,i),u=i.concat(e.id).join("");return J(bS,{selected:h,skin:f,size:s,children:J("button",{"aria-label":c,"aria-selected":h||void 0,"aria-posinset":t,"aria-setsize":a.setsize,"data-keyboard":this.state.keyboard,title:this.props.previewPosition=="none"?e.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:v=>this.handleEmojiClick({e:v,emoji:e}),onMouseEnter:()=>this.handleEmojiOver(i),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[J("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(t-1)%this.props.emojiButtonColors.length]:void 0}}),J(c1,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:f,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},u)}renderSearch(){const e=this.props.previewPosition=="none"||this.props.skinTonePosition=="search";return J("div",{children:[J("div",{class:"spacer"}),J("div",{class:"flex flex-middle",children:[J("div",{class:"search relative flex-grow",children:[J("input",{type:"search",ref:this.refs.searchInput,placeholder:Kn.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),J("span",{class:"icon loupe flex",children:hf.search.loupe}),this.state.searchResults&&J("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:hf.search.delete})]}),e&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?J("div",{class:"category",ref:this.refs.search,children:[J("div",{class:`sticky padding-small align-${this.dir[0]}`,children:Kn.categories.search}),J("div",{children:e.length?e.map((i,t)=>J("div",{class:"flex",children:i.map((a,s)=>this.renderEmojiButton(a,{pos:[t,s],posinset:t*this.props.perLine+s+1,grid:e}))})):J("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&J("a",{onClick:this.props.onAddCustomEmoji,children:Kn.add_custom})})})]}):null}renderCategories(){const{categories:e}=Ue,i=!!this.state.searchResults,t=this.getPerLine();return J("div",{style:{visibility:i?"hidden":void 0,display:i?"none":void 0,height:"100%"},children:e.map(a=>{const{root:s,rows:f}=this.refs.categories.get(a.id);return J("div",{"data-id":a.target?a.target.id:a.id,class:"category",ref:s,children:[J("div",{class:`sticky padding-small align-${this.dir[0]}`,children:a.name||Kn.categories[a.id]}),J("div",{class:"relative",style:{height:f.length*this.props.emojiButtonSize},children:f.map((l,c)=>{const h=l.index-l.index%Oo.rowsPerRender,u=this.state.visibleRows[h],v="current"in l?l:void 0;if(!u&&!v)return null;const _=c*t,b=_+t,y=a.emojis.slice(_,b);return y.length<t&&y.push(...new Array(t-y.length)),J("div",{"data-index":l.index,ref:v,class:"flex row",style:{top:c*this.props.emojiButtonSize},children:u&&y.map((S,M)=>{if(!S)return J("div",{style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize}});const E=Sr.get(S);return this.renderEmojiButton(E,{pos:[l.index,M],posinset:l.posinset+M,grid:this.grid})})},l.index)})})]})})})}renderSkinToneButton(){return this.props.skinTonePosition=="none"?null:J("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:J("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":Kn.skins.choose,title:Kn.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:J("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos),i=e?e.name:"";return J("div",{"aria-live":"polite",class:"sr-only",children:i})}renderSkins(){const i=this.refs.skinToneButton.current.getBoundingClientRect(),t=this.base.getBoundingClientRect(),a={};return this.dir=="ltr"?a.right=t.right-i.right-3:a.left=i.left-t.left-3,this.props.previewPosition=="bottom"&&this.props.skinTonePosition=="preview"?a.bottom=t.bottom-i.top+6:(a.top=i.bottom-t.top+3,a.bottom="auto"),J("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":Kn.skins.choose,class:"menu hidden","data-position":a.top?"top":"bottom",style:a,children:[...Array(6).keys()].map(s=>{const f=s+1,l=this.state.skin==f;return J("div",{children:[J("input",{type:"radio",name:"skin-tone",value:f,"aria-label":Kn.skins[f],ref:l?this.refs.skinToneRadio:null,defaultChecked:l,onChange:()=>this.handleSkinMouseOver(f),onKeyDown:c=>{(c.code=="Enter"||c.code=="Space"||c.code=="Tab")&&(c.preventDefault(),this.handleSkinClick(f))}}),J("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(f),onMouseEnter:()=>this.handleSkinMouseOver(f),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[J("span",{class:`skin-tone skin-tone-${f}`}),J("span",{class:"margin-small-lr",children:Kn.skins[f]})]})]})})})}render(){const e=this.props.perLine*this.props.emojiButtonSize;return J("section",{id:"root",class:"flex flex-column",dir:this.dir,style:{width:this.props.dynamicWidth?"100%":`calc(${e}px + (var(--padding) + var(--sidebar-width)))`},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:[this.props.previewPosition=="top"&&this.renderPreview(),this.props.navPosition=="top"&&this.renderNav(),this.props.searchPosition=="sticky"&&J("div",{class:"padding-lr",children:this.renderSearch()}),J("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:J("div",{style:{width:this.props.dynamicWidth?"100%":e,height:"100%"},children:[this.props.searchPosition=="static"&&this.renderSearch(),this.renderSearchResults(),this.renderCategories()]})}),this.props.navPosition=="bottom"&&this.renderNav(),this.props.previewPosition=="bottom"&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),Bi(this,"darkMediaCallback",()=>{this.props.theme=="auto"&&this.setState({theme:this.darkMedia.matches?"dark":"light"})}),Bi(this,"handleClickOutside",i=>{const{element:t}=this.props;i.target!=t&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside(i))}),Bi(this,"handleBaseClick",i=>{this.state.showSkins&&(i.target.closest(".menu")||(i.preventDefault(),i.stopImmediatePropagation(),this.closeSkins()))}),Bi(this,"handleBaseKeydown",i=>{this.state.showSkins&&i.key=="Escape"&&(i.preventDefault(),i.stopImmediatePropagation(),this.closeSkins())}),Bi(this,"handleSearchClick",()=>{this.getEmojiByPos(this.state.pos)&&this.setState({pos:[-1,-1]})}),Bi(this,"handleSearchInput",async()=>{const i=this.refs.searchInput.current;if(!i)return;const{value:t}=i,a=await Sr.search(t),s=()=>{this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0)};if(!a)return this.setState({searchResults:a,pos:[-1,-1]},s);const f=i.selectionStart==i.value.length?[0,0]:[-1,-1],l=[];l.setsize=a.length;let c=null;for(let h of a)(!l.length||c.length==this.getPerLine())&&(c=[],c.__categoryId="search",c.__index=l.length,l.push(c)),c.push(h);this.ignoreMouse(),this.setState({searchResults:l,pos:f},s)}),Bi(this,"handleSearchKeyDown",i=>{const t=i.currentTarget;switch(i.stopImmediatePropagation(),i.key){case"ArrowLeft":this.navigate({e:i,input:t,left:!0});break;case"ArrowRight":this.navigate({e:i,input:t,right:!0});break;case"ArrowUp":this.navigate({e:i,input:t,up:!0});break;case"ArrowDown":this.navigate({e:i,input:t,down:!0});break;case"Enter":i.preventDefault(),this.handleEmojiClick({e:i,pos:this.state.pos});break;case"Escape":i.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch();break}}),Bi(this,"clearSearch",()=>{const i=this.refs.searchInput.current;i&&(i.value="",i.focus(),this.handleSearchInput())}),Bi(this,"handleCategoryClick",({category:i,i:t})=>{this.scrollTo(t==0?{row:-1}:{categoryId:i.id})}),Bi(this,"openSkins",i=>{const{currentTarget:t}=i,a=t.getBoundingClientRect();this.setState({showSkins:a},async()=>{await tS(2);const s=this.refs.menu.current;s&&(s.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))})}),this.observers=[],this.state={pos:[-1,-1],perLine:this.initDynamicPerLine(e),visibleRows:{0:!0},...this.getInitialState(e)}}}class D1 extends fS{async connectedCallback(){const e=sm(this.props,Mt,this);e.element=this,e.ref=i=>{this.component=i},await Bs(e),!this.disconnected&&em(J(yS,{...e}),this.shadowRoot)}constructor(e){super(e,{styles:Ng(um)})}}Bi(D1,"Props",Mt);typeof customElements<"u"&&!customElements.get("em-emoji-picker")&&customElements.define("em-emoji-picker",D1);var um={};um=`:host {
|
|
84
84
|
width: min-content;
|
|
85
85
|
height: 435px;
|
|
86
86
|
min-height: 230px;
|
package/index.mjs
CHANGED
|
@@ -11662,7 +11662,7 @@ const sS = 799, oS = 690, va = (n = sS) => window.innerWidth <= n, _m = (n = oS)
|
|
|
11662
11662
|
ref: t
|
|
11663
11663
|
}
|
|
11664
11664
|
) });
|
|
11665
|
-
}, pS = "
|
|
11665
|
+
}, pS = "_navbarWrapper_1drdx_120", _S = "_navbar_1drdx_120", kS = "_navbar__left_1drdx_134", wS = "_navbar__left_1drdx_134", bS = "_navbar__right_1drdx_137", yS = "_navbar__right_1drdx_137", Qo = {
|
|
11666
11666
|
navbarWrapper: pS,
|
|
11667
11667
|
navbar: _S,
|
|
11668
11668
|
navbar__left: kS,
|