1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`20261001-39361-126a85bd`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:textmagic-web-app":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`4f6c4a68-3543-4bab-b8bb-25deec23c69f`,e._sentryDebugIdIdentifier=`sentry-dbid-4f6c4a68-3543-4bab-b8bb-25deec23c69f`)}catch{}})();import{t as e}from"./fWYCr6o0.js";import{A as t,Ct as n,D as r,F as i,H as a,O as o,Qt as s,_ as c,ct as l,dn as u,f as d,ft as f,g as p,gn as m,it as h,k as g,lt as _,pn as v,ut as y,v as b,wt as x,x as S}from"./CPzLrubv.js";var C=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},w=e(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.EmojiMart=r():n.EmojiMart=r()})(typeof self<`u`?self:e,(function(){return function(){var e={661:function(){typeof window<`u`&&function(){for(var e=0,t=[`ms`,`moz`,`webkit`,`o`],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+`RequestAnimationFrame`],window.cancelAnimationFrame=window[t[n]+`CancelAnimationFrame`]||window[t[n]+`CancelRequestAnimationFrame`];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var r=new Date().getTime(),i=Math.max(0,16-(r-e)),a=window.setTimeout((function(){t(r+i)}),i);return e=r+i,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}()}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){n.r(r),n.d(r,{Anchors:function(){return C},Category:function(){return G},Emoji:function(){return W},EmojiData:function(){return I},EmojiIndex:function(){return F},EmojiView:function(){return L},Picker:function(){return ne},Preview:function(){return q},Search:function(){return J},Skins:function(){return K},frequently:function(){return b},sanitize:function(){return R},store:function(){return c},uncompress:function(){return g}});var e,t,i=`emoji-mart`,a=JSON,o=typeof window<`u`&&`localStorage`in window;function s(e,n){if(t)t(e,n);else{if(!o)return;try{window.localStorage[`${i}.${e}`]=a.stringify(n)}catch{}}}var c={update:function(e){for(var t in e)s(t,e[t])},set:s,get:function(t){if(e)return e(t);if(o){try{var n=window.localStorage[`${i}.${t}`]}catch{return}return n?JSON.parse(n):void 0}},setNamespace:function(e){i=e},setHandlers:function(n){n||(n={}),e=n.getter,t=n.setter}};function l(e){return l=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},l(e)}function u(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var d={name:`a`,unified:`b`,non_qualified:`c`,has_img_apple:`d`,has_img_google:`e`,has_img_twitter:`f`,has_img_facebook:`h`,keywords:`j`,sheet:`k`,emoticons:`l`,text:`m`,short_names:`n`,added_in:`o`},f=function(e){var t=[],n=function(e,n){e&&(Array.isArray(e)?e:[e]).forEach((function(e){(n?e.split(/[-|_|\s]+/):[e]).forEach((function(e){e=e.toLowerCase(),t.indexOf(e)==-1&&t.push(e)}))}))};return n(e.short_names,!0),n(e.name,!0),n(e.keywords,!1),n(e.emoticons,!1),t.join(`,`)};function p(e){var t,n=function(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if(typeof e==`string`)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}(Object.getOwnPropertyNames(e));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=e[r];e[r]=i&&l(i)===`object`?p(i):i}}catch(e){n.e(e)}finally{n.f()}return Object.freeze(e)}var m,h,g=function(e){if(!e.compressed)return e;for(var t in e.compressed=!1,e.emojis){var n=e.emojis[t];for(var r in d)n[r]=n[d[r]],delete n[d[r]];n.short_names||(n.short_names=[]),n.short_names.unshift(t),n.sheet_x=n.sheet[0],n.sheet_y=n.sheet[1],delete n.sheet,n.text||(n.text=``),n.added_in||(n.added_in=6),n.added_in=n.added_in.toFixed(1),n.search=f(n)}return p(e)},_=[`+1`,`grinning`,`kissing_heart`,`heart_eyes`,`laughing`,`stuck_out_tongue_winking_eye`,`sweat_smile`,`joy`,`scream`,`disappointed`,`unamused`,`weary`,`sob`,`sunglasses`,`heart`,`hankey`],v={};function y(){h=!0,m=c.get(`frequently`)}var b={add:function(e){h||y();var t=e.id;m||(m=v),m[t]||(m[t]=0),m[t]+=1,c.set(`last`,t),c.set(`frequently`,m)},get:function(e){if(h||y(),!m){v={};for(var t=[],n=Math.min(e,_.length),r=0;r<n;r++)v[_[r]]=parseInt((n-r)/4,10)+1,t.push(_[r]);return t}var i=e,a=[];for(var o in m)m.hasOwnProperty(o)&&a.push(o);var s=a.sort((function(e,t){return m[e]-m[t]})).reverse().slice(0,i),l=c.get(`last`);return l&&s.indexOf(l)==-1&&(s.pop(),s.push(l)),s}},x={activity:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/></svg>`,custom:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g transform="translate(2.000000, 1.000000)"><rect id="Rectangle" x="8" y="0" width="3" height="21" rx="1.5"></rect><rect id="Rectangle" transform="translate(9.843, 10.549) rotate(60) translate(-9.843, -10.549) " x="8.343" y="0.049" width="3" height="21" rx="1.5"></rect><rect id="Rectangle" transform="translate(9.843, 10.549) rotate(-60) translate(-9.843, -10.549) " x="8.343" y="0.049" width="3" height="21" rx="1.5"></rect></g></svg>`,flags:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/></svg>`,foods:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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
2-.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"/></svg>`,nature:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/><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"/></svg>`,objects:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/><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"/></svg>`,smileys:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/><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"/></svg>`,people:`<svg xmlns:svg="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24"> <path id="path3814" d="m 3.3591089,21.17726 c 0.172036,0.09385 4.265994,2.29837 8.8144451,2.29837 4.927767,0 8.670894,-2.211883 8.82782,-2.306019 0.113079,-0.06785 0.182268,-0.190051 0.182267,-0.321923 0,-3.03119 -0.929494,-5.804936 -2.617196,-7.810
2712 -1.180603,-1.403134 -2.661918,-2.359516 -4.295699,-2.799791 4.699118,-2.236258 3.102306,-9.28617162 -2.097191,-9.28617162 -5.1994978,0 -6.7963103,7.04991362 -2.097192,9.28617162 -1.6337821,0.440275 -3.1150971,1.396798 -4.2956991,2.799791 -1.687703,2.005776 -2.617196,4.779522 -2.617196,7.810712 1.2e-6,0.137378 0.075039,0.263785 0.195641,0.329572 z M 8.0439319,5.8308783 C 8.0439309,2.151521 12.492107,0.30955811 15.093491,2.9109411 17.694874,5.5123241 15.852911,9.9605006 12.173554,9.9605 9.8938991,9.9579135 8.0465186,8.1105332 8.0439319,5.8308783 Z m -1.688782,7.6894977 c 1.524535,-1.811449 3.5906601,-2.809035 5.8184041,-2.809035 2.227744,0 4.293869,0.997586 5.818404,2.809035 1.533639,1.822571 2.395932,4.339858 2.439152,7.108301 -0.803352,0.434877 -4.141636,2.096112 -8.257556,2.096112 -3.8062921,0 -7.3910861,-1.671043 -8.2573681,-2.104981 0.04505,-2.765017 0.906968,-5.278785 2.438964,-7.099432 z" /> <path id="path3816" d="M 12.173828 0.38867188 C 9.3198513 0.38867187 7.3770988 2.3672285 6.8652344 4.6308594 C 6.4218608 6.5916015 7.1153562 8.7676117 8.9648438 10.126953 C 7.6141249 10.677376 6.3550511 11.480944 5.3496094 12.675781 C 3.5629317 14.799185 2.6015625 17.701475 2.6015625 20.847656 C 2.6015654 21.189861 2.7894276 21.508002 3.0898438 21.671875 C 3.3044068 21.788925 7.4436239 24.039062 12.173828 24.039062 C 17.269918 24.039062 21.083568 21.776786 21.291016 21.652344 C 21.57281 21.483266 21.746097 21.176282 21.746094 20.847656 C 21.746094 17.701475 20.78277 14.799185 18.996094 12.675781 C 17.990455 11.480591 16.733818 10.675362 15.382812 10.125 C 17.231132 8.7655552 17.925675 6.5910701 17.482422 4.6308594 C 16.970557 2.3672285 15.027805 0.38867188 12.173828 0.38867188 z M 12.792969 2.3007812 C 13.466253 2.4161792 14.125113 2.7383941 14.695312 3.3085938 C 15.835712 4.4489931 15.985604 5.9473549 15.46875 7.1953125 C 14.951896 8.4432701 13.786828 9.3984378 12.173828 9.3984375 C 10.197719 9.3961954 8.607711 7.806187 8.6054688 5.8300781 C 8.6054683 4.2170785 9.5606362 3.0520102 10.808594 2.5351562 C 11.432573 2.2767293 12.119685 2.1853833 12.792969 2.3007812 z M 12.173828 11.273438 C 14.233647 11.273438 16.133674 12.185084 17.5625 13.882812 C 18.93069 15.508765 19.698347 17.776969 19.808594 20.283203 C 18.807395 20.800235 15.886157 22.162109 12.173828 22.162109 C 8.7614632 22.162109 5.6245754 20.787069 4.5390625 20.265625 C 4.6525896 17.766717 5.4203315 15.504791 6.7851562 13.882812 C 8.2139827 12.185084 10.11401 11.273438 12.173828 11.273438 z " /> </svg>`,places:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/><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"/></svg>`,recent:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"/><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"/></svg>`,symbols:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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.8
213-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"/></svg>`};function S(e,t,n,r,i,a,o,s){var c,l=typeof e==`function`?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId=`data-v-`+a),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__>`u`||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c){if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}}return{exports:e,options:l}}var C=S({props:{i18n:{type:Object,required:!0},color:{type:String},categories:{type:Array,required:!0},activeCategory:{type:Object,default:function(){return{}}}},created:function(){this.svgs=x}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(`div`,{staticClass:`emoji-mart-anchors`,attrs:{role:`tablist`}},e._l(e.categories,(function(t){return n(`button`,{key:t.id,class:{"emoji-mart-anchor":!0,"emoji-mart-anchor-selected":t.id==e.activeCategory.id},style:{color:t.id==e.activeCategory.id?e.color:``},attrs:{role:`tab`,type:`button`,"aria-label":t.name,"aria-selected":t.id==e.activeCategory.id,"data-title":e.i18n.categories[t.id]},on:{click:function(n){return e.$emit(`click`,t)}}},[n(`div`,{attrs:{"aria-hidden":`true`},domProps:{innerHTML:e._s(e.svgs[t.id])}}),e._v(` `),n(`span`,{staticClass:`emoji-mart-anchor-bar`,style:{backgroundColor:e.color},attrs:{"aria-hidden":`true`}})])})),0)}),[],!1,null,null,null).exports;function w(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t,n){return t&&T(e.prototype,t),n&&T(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ee=String.fromCodePoint||function(){var e,t,n=16384,r=[],i=-1,a=arguments.length;if(!a)return``;for(var o=``;++i<a;){var s=Number(arguments[i]);if(!isFinite(s)||s<0||s>1114111||Math.floor(s)!=s)throw RangeError(`Invalid code point: `+s);s<=65535?r.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,r.push(e,t)),(i+1===a||r.length>n)&&(o+=String.fromCharCode.apply(null,r),r.length=0)}return o};function D(e){var t=e.split(`-`).map((function(e){return`0x${e}`}));return ee.apply(null,t)}function O(e){return e.reduce((function(e,t){return e.indexOf(t)===-1&&e.push(t),e}),[])}function k(e,t){var n=O(e),r=O(t);return n.filter((function(e){return r.indexOf(e)>=0}))}function A(e,t){var n={};for(var r in e){var i=e[r],a=i;t.hasOwnProperty(r)&&(a=t[r]),l(a)===`object`&&(a=A(i,a)),n[r]=a}return n}function j(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if(typeof e==`string`)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function M(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var N=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,P=[`1F3FA`,`1F3FB`,`1F3FC`,`1F3FD`,`
31F3FE`,`1F3FF`],F=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.emojisToShowFilter,i=n.include,a=n.exclude,o=n.custom,s=n.recent,c=n.recentLength,l=c===void 0?20:c;w(this,e),this._data=g(t),this._emojisFilter=r||null,this._include=i||null,this._exclude=a||null,this._custom=o||[],this._recent=s||b.get(l),this._emojis={},this._nativeEmojis={},this._emoticons={},this._categories=[],this._recentCategory={id:`recent`,name:`Recent`,emojis:[]},this._customCategory={id:`custom`,name:`Custom`,emojis:[]},this._searchIndex={},this.buildIndex(),Object.freeze(this)}return E(e,[{key:`buildIndex`,value:function(){var e=this,t=this._data.categories;if(this._include&&(t=(t=t.filter((function(t){return e._include.includes(t.id)}))).sort((function(t,n){var r=e._include.indexOf(t.id),i=e._include.indexOf(n.id);return r<i?-1:+(r>i)}))),t.forEach((function(t){if(e.isCategoryNeeded(t.id)){var n={id:t.id,name:t.name,emojis:[]};t.emojis.forEach((function(t){var r=e.addEmoji(t);r&&n.emojis.push(r)})),n.emojis.length&&e._categories.push(n)}})),this.isCategoryNeeded(`custom`)){if(this._custom.length>0){var n,r=j(this._custom);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.addCustomEmoji(i)}}catch(e){r.e(e)}finally{r.f()}}this._customCategory.emojis.length&&this._categories.push(this._customCategory)}this.isCategoryNeeded(`recent`)&&(this._recent.length&&this._recent.map((function(t){var n,r=j(e._customCategory.emojis);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.id===t)return void e._recentCategory.emojis.push(i)}}catch(e){r.e(e)}finally{r.f()}e.hasEmoji(t)&&e._recentCategory.emojis.push(e.emoji(t))})),this._recentCategory.emojis.length&&this._categories.unshift(this._recentCategory))}},{key:`findEmoji`,value:function(e,t){var n=e.match(N);if(n&&(e=n[1],n[2]&&(t=parseInt(n[2],10))),this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),this._emojis.hasOwnProperty(e)){var r=this._emojis[e];return t?r.getSkin(t):r}return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}},{key:`categories`,value:function(){return this._categories}},{key:`emoji`,value:function(e){this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]);var t=this._emojis[e];if(!t)throw Error(`Can not find emoji by id: `+e);return t}},{key:`firstEmoji`,value:function(){var e=this._emojis[Object.keys(this._emojis)[0]];if(!e)throw Error(`Can not get first emoji`);return e}},{key:`hasEmoji`,value:function(e){return this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),!!this._emojis[e]}},{key:`nativeEmoji`,value:function(e){return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}},{key:`search`,value:function(e,t){var n=this;if(t||(t=75),!e.length)return null;if(e==`-`||e==`-1`)return[this.emoji(`-1`)];var r,i=e.toLowerCase().split(/[\s|,|\-|_]+/);i.length>2&&(i=[i[0],i[1]]),r=i.map((function(e){for(var t=n._emojis,r=n._searchIndex,i=0,a=0;a<e.length;a++){var o=e[a];i++,r[o]||(r[o]={}),(r=r[o]).results||function(){var n={};for(var a in r.results=[],r.emojis={},t){var o=t[a],s=o._data.search,c=e.substr(0,i),l=s.indexOf(c);if(l!=-1){var u=l+1;c==a&&(u=0),r.results.push(o),r.emojis[a]=o,n[a]=u}}r.results.sort((function(e,t){return n[e.id]-n[t.id]}))}(),t=r.emojis}return r.results})).filter((function(e){return e}));var a=null;return(a=r.length>1?k.apply(null,r):r.length?r[0]:[])&&a.length>t&&(a=a.slice(0,t)),a}},{key:`addCustomEmoji`,value:function(e){var t=Object.assign({},e,{id:e.short_names[0],custom:!0});t.search||(t.search=f(t));var n=new I(t);return this._emojis[n.id]=n,this._customCategory.emojis.push(n),n}},{key:`addEmoji`,value:function(e){var t=this,n=this._data.emojis[e];if(!this.isEmojiNeeded(n))return!1;var r=new I(n);if(this._emojis[e]=r,r.native&&(this._nativeEmojis[r.native]=r),r._skins)for(var i in r._skins){var a=r._skins[i];a.native&&(this._nativeEmojis[a.native]=a)}return r.emoticons&&r.emoticons.forEach((function(n){t._emoticons[n]||(t._emoticons[n]=e)})),r}},{key:`isCategoryNeeded`,value:function(e){var t=!this._include||!this._include.length||this._include.indexOf(e)>-1,n=!(!this._exclude||!this._exclude.length)&&this._exclude.indexOf(e)>-1;return!(!t||n)}}
3,{key:`isEmojiNeeded`,value:function(e){return!this._emojisFilter||this._emojisFilter(e)}}]),e}(),I=function(){function e(t){if(w(this,e),this._data=Object.assign({},t),this._skins=null,this._data.skin_variations)for(var n in this._skins=[],P){var r=P[n],i=this._data.skin_variations[r],a=Object.assign({},t);for(var o in i)a[o]=i[o];delete a.skin_variations,a.skin_tone=parseInt(n)+1,this._skins.push(new e(a))}for(var s in this._sanitized=R(this._data),this._sanitized)this[s]=this._sanitized[s];this.short_names=this._data.short_names,this.short_name=this._data.short_names[0],Object.freeze(this)}return E(e,[{key:`getSkin`,value:function(e){return e&&e!=`native`&&this._skins?this._skins[e-1]:this}},{key:`getPosition`,value:function(){return`${+(100/60*this._data.sheet_x).toFixed(2)}% ${+(100/60*this._data.sheet_y).toFixed(2)}%`}},{key:`ariaLabel`,value:function(){return[this.native].concat(this.short_names).filter(Boolean).join(`, `)}}]),e}(),L=function(){function e(t,n,r,i,a,o,s){w(this,e),this._emoji=t,this._native=i,this._skin=n,this._set=r,this._fallback=a,this.canRender=this._canRender(),this.cssClass=this._cssClass(),this.cssStyle=this._cssStyle(s),this.content=this._content(),this.title=!0===o?t.short_name:null,this.ariaLabel=t.ariaLabel(),Object.freeze(this)}return E(e,[{key:`getEmoji`,value:function(){return this._emoji.getSkin(this._skin)}},{key:`_canRender`,value:function(){return this._isCustom()||this._isNative()||this._hasEmoji()||this._fallback}},{key:`_cssClass`,value:function(){return[`emoji-set-`+this._set,`emoji-type-`+this._emojiType()]}},{key:`_cssStyle`,value:function(e){var t={};return this._isCustom()?t={backgroundImage:`url(`+this.getEmoji()._data.imageUrl+`)`,backgroundSize:`100%`,width:e+`px`,height:e+`px`}:this._hasEmoji()&&!this._isNative()&&(t={backgroundPosition:this.getEmoji().getPosition()}),e&&(t=this._isNative()?Object.assign(t,{fontSize:Math.round(.95*e*10)/10+`px`}):Object.assign(t,{width:e+`px`,height:e+`px`})),t}},{key:`_content`,value:function(){return this._isCustom()?``:this._isNative()?this.getEmoji().native:this._hasEmoji()?``:this._fallback?this._fallback(this.getEmoji()):null}},{key:`_isNative`,value:function(){return this._native}},{key:`_isCustom`,value:function(){return this.getEmoji().custom}},{key:`_hasEmoji`,value:function(){if(!this.getEmoji()._data)return!1;var e=this.getEmoji()._data[`has_img_`+this._set];return e===void 0||e}},{key:`_emojiType`,value:function(){return this._isCustom()?`custom`:this._isNative()?`native`:this._hasEmoji()?`image`:`fallback`}}]),e}();function R(e){var t=e.name,n=e.short_names,r=e.skin_tone,i=e.skin_variations,a=e.emoticons,o=e.unified,s=e.custom,c=e.imageUrl,l=e.id||n[0],u=`:${l}:`;return s?{id:l,name:t,colons:u,emoticons:a,custom:s,imageUrl:c}:(r&&(u+=`:skin-tone-${r}:`),{id:l,name:t,colons:u,emoticons:a,unified:o.toLowerCase(),skin:r||(i?1:null),native:D(o)})}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B={native:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!1},fallback:{type:Function},skin:{type:Number,default:1},set:{type:String,default:`apple`},emoji:{type:[String,Object],required:!0},size:{type:Number,default:null},tag:{type:String,default:`span`}},V={perLine:{type:Number,default:9},maxSearchResults:{type:Number,default:75},emojiSize:{type:Number,default:24},title:{type:String,default:`Emoji Martâ¢`},emoji:{type:String,default:`department_store`},color:{type:String,default:`#ae65c5`},set:{type:String,default:`apple`},skin:{type:Number,default:null},defaultSkin:{type:Number,default:1},native:{type:Boolean,default:!1},emojiTooltip:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},i18n:{type:Object,default:function(){return{}}},showPreview:{type:Boolean,default:!0},showSearch:{type:Boolean,default:!0},showCategories:{type:Boolean,default:!0},showSkinTones:{type:Boolean,default:!0},infiniteScroll:{type:Boolean,default:!0},pickerStyles:{type:Object,default:function(){return{}}}};function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
3t%2?H(Object(n),!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=S({props:U(U({},B),{},{data:{type:Object,required:!0}}),emits:[`click`,`mouseenter`,`mouseleave`],computed:{view:function(){return new L(this.emojiObject,this.skin,this.set,this.native,this.fallback,this.tooltip,this.size)},sanitizedData:function(){return this.emojiObject._sanitized},title:function(){return this.tooltip?this.emojiObject.short_name:null},emojiObject:function(){return typeof this.emoji==`string`?this.data.findEmoji(this.emoji):this.emoji}},created:function(){},methods:{onClick:function(){this.$emit(`click`,this.emojiObject)},onMouseEnter:function(){this.$emit(`mouseenter`,this.emojiObject)},onMouseLeave:function(){this.$emit(`mouseleave`,this.emojiObject)}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.view.canRender?n(e.tag,{tag:`component`,staticClass:`emoji-mart-emoji`,attrs:{title:e.view.title,"aria-label":e.view.ariaLabel,"data-title":e.title},on:{mouseenter:e.onMouseEnter,mouseleave:e.onMouseLeave,click:e.onClick}},[n(`span`,{class:e.view.cssClass,style:e.view.cssStyle},[e._v(e._s(e.view.content))])]):e._e()}),[],!1,null,null,null).exports,G=S({props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},id:{type:String,required:!0},name:{type:String,required:!0},emojis:{type:Array},emojiProps:{type:Object,required:!0}},methods:{activeClass:function(e){return this.emojiProps.selectedEmoji&&this.emojiProps.selectedEmojiCategory&&this.emojiProps.selectedEmoji.id==e.id&&this.emojiProps.selectedEmojiCategory.id==this.id?`emoji-mart-emoji-selected`:``}},computed:{isVisible:function(){return!!this.emojis},isSearch:function(){return this.name==`Search`},hasResults:function(){return this.emojis.length>0},emojiObjects:function(){var e=this;return this.emojis.map((function(t){return{emojiObject:t,emojiView:new L(t,e.emojiProps.skin,e.emojiProps.set,e.emojiProps.native,e.emojiProps.fallback,e.emojiProps.emojiTooltip,e.emojiProps.emojiSize)}}
3))}},components:{Emoji:W}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isVisible&&(e.isSearch||e.hasResults)?n(`section`,{class:{"emoji-mart-category":!0,"emoji-mart-no-results":!e.hasResults},attrs:{"aria-label":e.i18n.categories[e.id]}},[n(`div`,{staticClass:`emoji-mart-category-label`},[n(`h3`,{staticClass:`emoji-mart-category-label`},[e._v(e._s(e.i18n.categories[e.id]))])]),e._v(` `),e._l(e.emojiObjects,(function(t){var r=t.emojiObject,i=t.emojiView;return[i.canRender?n(`button`,{key:r.id,staticClass:`emoji-mart-emoji`,class:e.activeClass(r),attrs:{"aria-label":i.ariaLabel,role:`option`,"aria-selected":`false`,"aria-posinset":`1`,"aria-setsize":`1812`,type:`button`,"data-title":r.short_name,title:i.title},on:{mouseenter:function(t){e.emojiProps.onEnter(i.getEmoji())},mouseleave:function(t){e.emojiProps.onLeave(i.getEmoji())},click:function(t){e.emojiProps.onClick(i.getEmoji())}}},[n(`span`,{class:i.cssClass,style:i.cssStyle},[e._v(e._s(i.content))])]):e._e()]})),e._v(` `),e.hasResults?e._e():n(`div`,[n(`emoji`,{attrs:{data:e.data,emoji:`sleuth_or_spy`,native:e.emojiProps.native,skin:e.emojiProps.skin,set:e.emojiProps.set}}),e._v(` `),n(`div`,{staticClass:`emoji-mart-no-results-label`},[e._v(e._s(e.i18n.notfound))])],1)],2):e._e()}),[],!1,null,null,null).exports,K=S({props:{skin:{type:Number,required:!0}},data:function(){return{opened:!1}},methods:{onClick:function(e){this.opened&&e!=this.skin&&this.$emit(`change`,e),this.opened=!this.opened}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(`div`,{class:{"emoji-mart-skin-swatches":!0,"emoji-mart-skin-swatches-opened":e.opened}},e._l(6,(function(t){return n(`span`,{key:t,class:{"emoji-mart-skin-swatch":!0,"emoji-mart-skin-swatch-selected":e.skin==t}},[n(`span`,{class:`emoji-mart-skin emoji-mart-skin-tone-`+t,on:{click:function(n){return e.onClick(t)}}})])})),0)}),[],!1,null,null,null).exports,q=S({props:{data:{type:Object,required:!0},title:{type:String,required:!0},emoji:{type:[String,Object]},idleEmoji:{type:[String,Object],required:!0},showSkinTones:{type:Boolean,default:!0},emojiProps:{type:Object,required:!0},skinProps:{type:Object,required:!0},onSkinChange:{type:Function,required:!0}},computed:{emojiData:function(){return this.emoji?this.emoji:{}},emojiShortNames:function(){return this.emojiData.short_names},emojiEmoticons:function(){return this.emojiData.emoticons}},components:{Emoji:W,Skins:K}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(`div`,{staticClass:`emoji-mart-preview`},[e.emoji?[n(`div`,{staticClass:`emoji-mart-preview-emoji`},[n(`emoji`,{attrs:{data:e.data,emoji:e.emoji,native:e.emojiProps.native,skin:e.emojiProps.skin,set:e.emojiProps.set}})],1),e._v(` `),n(`div`,{staticClass:`emoji-mart-preview-data`},[n(`div`,{staticClass:`emoji-mart-preview-name`},[e._v(e._s(e.emoji.name))]),e._v(` `),n(`div`,{staticClass:`emoji-mart-preview-shortnames`},e._l(e.emojiShortNames,(function(t){return n(`span`,{key:t,staticClass:`emoji-mart-preview-shortname`},[e._v(`:`+e._s(t)+`:`)])})),0),e._v(` `),n(`div`,{staticClass:`emoji-mart-preview-emoticons`},e._l(e.emojiEmoticons,(function(t){return n(`span`,{key:t,staticClass:`emoji-mart-preview-emoticon`},[e._v(e._s(t))])})),0)])]:[n(`div`,{staticClass:`emoji-mart-preview-emoji`},[n(`emoji`,{attrs:{data:e.data,emoji:e.idleEmoji,native:e.emojiProps.native,skin:e.emojiProps.skin,set:e.emojiProps.set}})],1),e._v(` `),n(`div`,{staticClass:`emoji-mart-preview-data`},[n(`span`,{staticClass:`emoji-mart-title-label`},[e._v(e._s(e.title))])]),e._v(` `),e.showSkinTones?n(`div`,{staticClass:`emoji-mart-preview-skins`},[n(`skins`,{attrs:{skin:e.skinProps.skin},on:{change:function(t){return e.onSkinChange(t)}}})],1):e._e()]],2)}),[],!1,null,null,null).exports,J=S({props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},autoFocus:{type:Boolean,default:!1},onSearch:{type:Function,required:!0},onArrowLeft:{type:Function,required:!1},onArrowRight:{type:Function,required:!1},onArrowDown:{type:Function,required:!1},onArrowUp:{type:Function,required:!1},onEnter:{type:Function,required:!1}},data:function(){return{value:``}},computed:{emojiIndex:function(){return this.data}},watch:{value:function(){this.$emit(`search`,this.value)}},methods:{clear:function(){this.value=``}}
3,mounted:function(){var e=this.$el.querySelector(`input`);this.autoFocus&&e.focus()}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(`div`,{staticClass:`emoji-mart-search`},[n(`input`,{directives:[{name:`model`,rawName:`v-model`,value:e.value,expression:`value`}],attrs:{type:`text`,placeholder:e.i18n.search,role:`textbox`,"aria-autocomplete":`list`,"aria-owns":`emoji-mart-list`,"aria-label":`Search for an emoji`,"aria-describedby":`emoji-mart-search-description`},domProps:{value:e.value},on:{keydown:[function(t){return!t.type.indexOf(`key`)&&e._k(t.keyCode,`left`,37,t.key,[`Left`,`ArrowLeft`])||`button`in t&&t.button!==0?null:function(t){return e.$emit(`arrowLeft`,t)}.apply(null,arguments)},function(t){return!t.type.indexOf(`key`)&&e._k(t.keyCode,`right`,39,t.key,[`Right`,`ArrowRight`])||`button`in t&&t.button!==2?null:function(){return e.$emit(`arrowRight`)}.apply(null,arguments)},function(t){return!t.type.indexOf(`key`)&&e._k(t.keyCode,`down`,40,t.key,[`Down`,`ArrowDown`])?null:function(){return e.$emit(`arrowDown`)}.apply(null,arguments)},function(t){return!t.type.indexOf(`key`)&&e._k(t.keyCode,`up`,38,t.key,[`Up`,`ArrowUp`])?null:function(t){return e.$emit(`arrowUp`,t)}.apply(null,arguments)},function(t){return!t.type.indexOf(`key`)&&e._k(t.keyCode,`enter`,13,t.key,`Enter`)?null:function(){return e.$emit(`enter`)}.apply(null,arguments)}],input:function(t){t.target.composing||(e.value=t.target.value)}}}),e._v(` `),n(`span`,{staticClass:`hidden`,attrs:{id:`emoji-picker-search-description`}},[e._v(`Use the left, right, up and down arrow keys to navigate the emoji search 4 results.`)])])}),[],!1,null,null,null).exports;function Y(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n(661);var te=function(){function e(t){var n,r;w(this,e),this._vm=t,this._data=t.data,this._perLine=t.perLine,this._categories=[],(n=this._categories).push.apply(n,function(e){if(Array.isArray(e))return Y(e)}(r=this._data.categories())||function(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}(r)||function(e,t){if(e){if(typeof e==`string`)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance. 5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()),this._categories=this._categories.filter((function(e){return e.emojis.length>0})),this._categories[0].first=!0,Object.freeze(this._categories),this.activeCategory=this._categories[0],this.searchEmojis=null,this.previewEmoji=null,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=-1}return E(e,[{key:`onScroll`,value:function(){for(var e=this._vm.$refs.scroll.scrollTop,t=this.filteredCategories[0],n=0,r=this.filteredCategories.length;n<r;n++){var i=this.filteredCategories[n],a=this._vm.getCategoryComponent(n);if(a&&a.$el.offsetTop-50>e)break;t=i}this.activeCategory=t}},{key:`allCategories`,get:function(){return this._categories}},{key:`filteredCategories`,get:function(){return this.searchEmojis?[{id:`search`,name:`Search`,emojis:this.searchEmojis}]:this._categories.filter((function(e){return e.emojis.length>0}))}},{key:`previewEmojiCategory`,get:function(){return this.previewEmojiCategoryIdx>=0?this.filteredCategories[this.previewEmojiCategoryIdx]:null}},{key:`onAnchorClick`,value:function(e){var t=this;if(!this.searchEmojis){var n=this.filteredCategories.indexOf(e),r=this._vm.getCategoryComponent(n);this._vm.infiniteScroll?function(){if(r){var n=r.$el.offsetTop;e.first&&(n=0),t._vm.$refs.scroll.scrollTop=n}}():this.activeCategory=this.filteredCategories[n]}}},{key:`onSearch`,value:function(e){var t=this._data.search(e,this.maxSearchResults);this.searchEmojis=t,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=0,this.updatePreviewEmoji()}},{key:`onEmojiEnter`,value:function(e){this.previewEmoji=e,this.previewEmojiIdx=-1,this.previewEmojiCategoryIdx=-1}},{key:`onEmojiLeave`,value:function(e){this.previewEmoji=null}},{key:`onArrowLeft`,value:function(){this.previewEmojiIdx>0?--this.previewEmojiIdx:(--this.previewEmojiCategoryIdx,this.previewEmojiCategoryIdx<0?this.previewEmojiCategoryIdx=0:this.previewEmojiIdx=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length-1),this.updatePreviewEmoji()}},{key:`onArrowRight`,value:function(){this.previewEmojiIdx<this.emojisLength(this.previewEmojiCategoryIdx)-1?this.previewEmojiIdx+=1:(this.previewEmojiCategoryIdx+=1,this.previewEmojiCategoryIdx>=this.filteredCategories.length?this.previewEmojiCategoryIdx=this.filteredCategories.length-1:this.previewEmojiIdx=0),this.updatePreviewEmoji()}},{key:`onArrowDown`,value:function(){if(this.previewEmojiIdx==-1)return this.onArrowRight();var e=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length,t=this._perLine;this.previewEmojiIdx+t>e&&(t=e%this._perLine);for(var n=0;n<t;n++)this.onArrowRight();this.updatePreviewEmoji()}},{key:`onArrowUp`,value:function(){var e=this._perLine;this.previewEmojiIdx-e<0&&(e=this.previewEmojiCategoryIdx>0?this.filteredCategories[this.previewEmojiCategoryIdx-1].emojis.length%this._perLine:0);for(var t=0;t<e;t++)this.onArrowLeft();this.updatePreviewEmoji()}},{key:`updatePreviewEmoji`,value:function(){var e=this;this.previewEmoji=this.filteredCategories[this.previewEmojiCategoryIdx].emojis[this.previewEmojiIdx],this._vm.$nextTick((function(){var t=e._vm.$refs.scroll,n=t.querySelector(`.emoji-mart-emoji-selected`),r=t.offsetTop-t.offsetHeight;n&&n.offsetTop+n.offsetHeight>r+t.scrollTop&&(t.scrollTop+=n.offsetHeight),n&&n.offsetTop<t.scrollTop&&(t.scrollTop-=n.offsetHeight)}))}},{key:`emojisLength`,value:function(e){return e==-1?0:this.filteredCategories[e].emojis.length}}]),e}();function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
5t%2?X(Object(n),!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Q={search:`Search`,notfound:`No Emoji Found`,categories:{search:`Search Results`,recent:`Frequently Used`,smileys:`Smileys & Emotion`,people:`People & Body`,nature:`Animals & Nature`,foods:`Food & Drink`,activity:`Activity`,places:`Travel & Places`,objects:`Objects`,symbols:`Symbols`,flags:`Flags`,custom:`Custom`}},ne=S({props:Z(Z({},V),{},{data:{type:Object,required:!0}}),data:function(){return{activeSkin:this.skin||c.get(`skin`)||this.defaultSkin,view:new te(this)}},computed:{customStyles:function(){return Z({width:this.calculateWidth+`px`},this.pickerStyles)},emojiProps:function(){return{native:this.native,skin:this.activeSkin,set:this.set,emojiTooltip:this.emojiTooltip,emojiSize:this.emojiSize,selectedEmoji:this.view.previewEmoji,selectedEmojiCategory:this.view.previewEmojiCategory,onEnter:this.onEmojiEnter.bind(this),onLeave:this.onEmojiLeave.bind(this),onClick:this.onEmojiClick.bind(this)}},skinProps:function(){return{skin:this.activeSkin}},calculateWidth:function(){return this.perLine*(this.emojiSize+12)+12+2+function(){if(typeof document>`u`)return 0;var e=document.createElement(`div`);e.style.width=`100px`,e.style.height=`100px`,e.style.overflow=`scroll`,e.style.position=`absolute`,e.style.top=`-9999px`,document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}()},filteredCategories:function(){return this.view.filteredCategories},mergedI18n:function(){return Object.freeze(A(Q,this.i18n))},idleEmoji:function(){try{return this.data.emoji(this.emoji)}catch(e){return console.error("Default preview emoji `"+this.emoji+"` is not available, check the Picker `emoji` property"),console.error(e),this.data.firstEmoji()}}},methods:{onScroll:function(){this.infiniteScroll&&!this.waitingForPaint&&(this.waitingForPaint=!0,window.requestAnimationFrame(this.onScrollPaint.bind(this)))},onScrollPaint:function(){this.waitingForPaint=!1,this.view.onScroll()},onAnchorClick:function(e){this.view.onAnchorClick(e)},onSearch:function(e){this.view.onSearch(e)},onEmojiEnter:function(e){this.view.onEmojiEnter(e)},onEmojiLeave:function(e){this.view.onEmojiLeave(e)},onArrowLeft:function(e){var t=this.view.previewEmojiIdx;this.view.onArrowLeft(),e&&this.view.previewEmojiIdx!==t&&e.preventDefault()},onArrowRight:function(){this.view.onArrowRight()},onArrowDown:function(){this.view.onArrowDown()},onArrowUp:function(e){this.view.onArrowUp(),e.preventDefault()},onEnter:function(){this.view.previewEmoji&&(this.$emit(`select`,this.view.previewEmoji),b.add(this.view.previewEmoji))},onEmojiClick:function(e){this.$emit(`select`,e),b.add(e)},onTextSelect:function(e){e.stopPropagation()},onSkinChange:function(e){this.activeSkin=e,c.update({skin:e}),this.$emit(`skin-change`,e)},getCategoryComponent:function(e){var t=this.$refs[`categories_`+e];return t&&`0`in t?t[0]:t}},components:{Anchors:C,Category:G,Preview:q,Search:J}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(`section`,{staticClass:`emoji-mart emoji-mart-static`,style:e.customStyles},[e.showCategories?n(`div`,{staticClass:`emoji-mart-bar emoji-mart-bar-anchors`},[n(`anchors`,{attrs:{data:e.data,i18n:e.mergedI18n,color:e.color,categories:e.view.allCategories,"active-category":e.view.activeCategory},on:{click:e.onAnchorClick}})],1):e._e(),e._v(` `),e._t(`searchTemplate`,(function(){return[e.showSearch?n(`search`,{ref:`search`,attrs:{data:e.data,i18n:e.mergedI18n,"auto-focus":e.autoFocus,"on-search":e.onSearch},on:{search:e.onSearch,arrowLeft:e.onArrowLeft,arrowRight:e.onArrowRight,arrowDown:e.onArrowDown,arrowUp:e.onArrowUp,enter:e.onEnter,select:e.onTextSelect}}):e._e()]}),{data:e.data,i18n:e.i18n,autoFocus:e.autoFocus,onSearch:e.onSearch}),e._v(` `),n(`div`,{ref:`scroll`,staticClass:`emoji-mart-scroll`,attrs:{role:`tabpanel`},on:{scroll:e.onScroll}},[n(`div`,{ref:`scrollContent`,attrs:{id:`emoji-mart-list`,role:`listbox`,"aria-expanded":`true`}},e._l(e.view.filteredCategories,(function(t,r){return n(`category`,{directives:[{name:`show`,rawName:`v-show`,value:e.infiniteScroll||t==e.view.activeCategory,expression:`infiniteScroll || category == view.activeCategory`}],key:t.id,ref:`categories_`+r,refInFor:!0,attrs:{data:e.data,i18n:e.mergedI18n,id:t.id,name:t.name,emojis:t.emojis,"emoji-props":e.emojiProps}})})),1)]),e._v(` `),e._t(`previewTemplate`,(function(){return[e.showPreview?n(`div`,{staticClass:`emoji-mart-bar emoji-mart-bar-preview`},[n(`preview`,{attrs:{data:e.data,title:e.title,emoji:e.view.previewEmoji,"idle-emoji":e.idleEmoji,"show-skin-tones":e.showSkinTones,"emoji-props":e.emojiProps,"skin-props":e.skinProps,"on-skin-change":e.onSkinChange}}
5)],1):e._e()]}),{data:e.data,title:e.title,emoji:e.view.previewEmoji,idleEmoji:e.idleEmoji,showSkinTones:e.showSkinTones,emojiProps:e.emojiProps,skinProps:e.skinProps,onSkinChange:e.onSkinChange})],2)}),[],!1,null,null,null).exports}(),r}()}))})),T=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,E=`emoji-mart`,ee=JSON,D=typeof window<`u`&&`localStorage`in window,O,k;function A(e){e||(e={}),O=e.getter,k=e.setter}function j(e){E=e}function M(e){for(let t in e){let n=e[t];N(t,n)}}function N(e,t){if(k)k(e,t);else{if(!D)return;try{window.localStorage[`${E}.${e}`]=ee.stringify(t)}catch{}}}function P(e){if(O)return O(e);if(D){try{var t=window.localStorage[`${E}.${e}`]}catch{return}if(t)return JSON.parse(t)}}var F={update:M,set:N,get:P,setNamespace:j,setHandlers:A},I={name:`a`,unified:`b`,non_qualified:`c`,has_img_apple:`d`,has_img_google:`e`,has_img_twitter:`f`,has_img_facebook:`h`,keywords:`j`,sheet:`k`,emoticons:`l`,text:`m`,short_names:`n`,added_in:`o`},L=e=>{let t=[];var n=(e,n)=>
5{e&&(Array.isArray(e)?e:[e]).forEach(e=>{(n?e.split(/[-|_|\s]+/):[e]).forEach(e=>{e=e.toLowerCase(),t.indexOf(e)==-1&&t.push(e)})})};return n(e.short_names,!0),n(e.name,!0),n(e.keywords,!1),n(e.emoticons,!1),t.join(`,`)};function R(e){var t=Object.getOwnPropertyNames(e);for(let n of t){let t=e[n];e[n]=t&&typeof t==`object`?R(t):t}return Object.freeze(e)}var z=e=>{if(!e.compressed)return e;e.compressed=!1;for(let t in e.emojis){let n=e.emojis[t];for(let e in I)n[e]=n[I[e]],delete n[I[e]];n.short_names||(n.short_names=[]),n.short_names.unshift(t),n.sheet_x=n.sheet[0],n.sheet_y=n.sheet[1],delete n.sheet,n.text||(n.text=``),n.added_in||(n.added_in=6),n.added_in=n.added_in.toFixed(1),n.search=L(n)}return e=R(e),e},B=[`+1`,`grinning`,`kissing_heart`,`heart_eyes`,`laughing`,`stuck_out_tongue_winking_eye`,`sweat_smile`,`joy`,`scream`,`disappointed`,`unamused`,`weary`,`sob`,`sunglasses`,`heart`,`hankey`],V,H,U={};function W(){H=!0,V=F.get(`frequently`)}function G(e){H||W();var{id:t}=e;V||(V=U),V[t]||(V[t]=0),V[t]+=1,F.set(`last`,t),F.set(`frequently`,V)}function K(e){if(H||W(),!V){U={};let t=[],n=Math.min(e,B.length);for(let e=0;e<n;e++)U[B[e]]=parseInt((n-e)/4,10)+1,t.push(B[e]);return t}let t=e,n=[];for(let e in V)V.hasOwnProperty(e)&&n.push(e);let r=n.sort((e,t)=>V[e]-V[t]).reverse().slice(0,t),i=F.get(`last`);return i&&r.indexOf(i)==-1&&(r.pop(),r.push(i)),r}var q={add:G,get:K},J={activity:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/></svg>`,custom:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g transform="translate(2.000000, 1.000000)"><rect id="Rectangle" x="8" y="0" width="3" height="21" rx="1.5"></rect><rect id="Rectangle" transform="translate(9.843, 10.549) rotate(60) translate(-9.843, -10.549) " x="8.343" y="0.049" width="3" height="21" rx="1.5"></rect><rect id="Rectangle" transform="translate(9.843, 10.549) rotate(-60) translate(-9.843, -10.549) " x="8.343" y="0.049" width="3" height="21" rx="1.5"></rect></g></svg>`,flags:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/></svg>`,foods:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/></svg>`,nature:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/><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.
5026c-.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"/></svg>`,objects:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/><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"/></svg>`,smileys:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/><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"/></svg>`,people:`<svg xmlns:svg="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24"> <path id="path3814" d="m 3.3591089,21.17726 c 0.172036,0.09385 4.265994,2.29837 8.8144451,2.29837 4.927767,0 8.670894,-2.211883 8.82782,-2.306019 0.113079,-0.06785 0.182268,-0.190051 0.182267,-0.321923 0,-3.03119 -0.929494,-5.804936 -2.617196,-7.810
5712 -1.180603,-1.403134 -2.661918,-2.359516 -4.295699,-2.799791 4.699118,-2.236258 3.102306,-9.28617162 -2.097191,-9.28617162 -5.1994978,0 -6.7963103,7.04991362 -2.097192,9.28617162 -1.6337821,0.440275 -3.1150971,1.396798 -4.2956991,2.799791 -1.687703,2.005776 -2.617196,4.779522 -2.617196,7.810712 1.2e-6,0.137378 0.075039,0.263785 0.195641,0.329572 z M 8.0439319,5.8308783 C 8.0439309,2.151521 12.492107,0.30955811 15.093491,2.9109411 17.694874,5.5123241 15.852911,9.9605006 12.173554,9.9605 9.8938991,9.9579135 8.0465186,8.1105332 8.0439319,5.8308783 Z m -1.688782,7.6894977 c 1.524535,-1.811449 3.5906601,-2.809035 5.8184041,-2.809035 2.227744,0 4.293869,0.997586 5.818404,2.809035 1.533639,1.822571 2.395932,4.339858 2.439152,7.108301 -0.803352,0.434877 -4.141636,2.096112 -8.257556,2.096112 -3.8062921,0 -7.3910861,-1.671043 -8.2573681,-2.104981 0.04505,-2.765017 0.906968,-5.278785 2.438964,-7.099432 z" /> <path id="path3816" d="M 12.173828 0.38867188 C 9.3198513 0.38867187 7.3770988 2.3672285 6.8652344 4.6308594 C 6.4218608 6.5916015 7.1153562 8.7676117 8.9648438 10.126953 C 7.6141249 10.677376 6.3550511 11.480944 5.3496094 12.675781 C 3.5629317 14.799185 2.6015625 17.701475 2.6015625 20.847656 C 2.6015654 21.189861 2.7894276 21.508002 3.0898438 21.671875 C 3.3044068 21.788925 7.4436239 24.039062 12.173828 24.039062 C 17.269918 24.039062 21.083568 21.776786 21.291016 21.652344 C 21.57281 21.483266 21.746097 21.176282 21.746094 20.847656 C 21.746094 17.701475 20.78277 14.799185 18.996094 12.675781 C 17.990455 11.480591 16.733818 10.675362 15.382812 10.125 C 17.231132 8.7655552 17.925675 6.5910701 17.482422 4.6308594 C 16.970557 2.3672285 15.027805 0.38867188 12.173828 0.38867188 z M 12.792969 2.3007812 C 13.466253 2.4161792 14.125113 2.7383941 14.695312 3.3085938 C 15.835712 4.4489931 15.985604 5.9473549 15.46875 7.1953125 C 14.951896 8.4432701 13.786828 9.3984378 12.173828 9.3984375 C 10.197719 9.3961954 8.607711 7.806187 8.6054688 5.8300781 C 8.6054683 4.2170785 9.5606362 3.0520102 10.808594 2.5351562 C 11.432573 2.2767293 12.119685 2.1853833 12.792969 2.3007812 z M 12.173828 11.273438 C 14.233647 11.273438 16.133674 12.185084 17.5625 13.882812 C 18.93069 15.508765 19.698347 17.776969 19.808594 20.283203 C 18.807395 20.800235 15.886157 22.162109 12.173828 22.162109 C 8.7614632 22.162109 5.6245754 20.787069 4.5390625 20.265625 C 4.6525896 17.766717 5.4203315 15.504791 6.7851562 13.882812 C 8.2139827 12.185084 10.11401 11.273438 12.173828 11.273438 z " /> </svg>`,places:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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"/><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"/></svg>`,recent:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"/><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"/></svg>`,symbols:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><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.8
513-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"/></svg>`};a(),s();var Y={props:{i18n:{type:Object,required:!0},color:{type:String},categories:{type:Array,required:!0},activeCategory:{type:Object,default(){return{}}}},created(){this.svgs=J}},te={role:`tablist`,class:`emoji-mart-anchors`},X=[`aria-label`,`aria-selected`,`data-title`,`onClick`],Z=[`innerHTML`];function Q(e,n,i,a,o,s){return h(),t(`div`,te,[(h(!0),t(S,null,l(i.categories,n=>(h(),t(`button`,{role:`tab`,type:`button`,"aria-label":n.name,"aria-selected":n.id==i.activeCategory.id,key:n.id,class:u({"emoji-mart-anchor":!0,"emoji-mart-anchor-selected":n.id==i.activeCategory.id}),style:v({color:n.id==i.activeCategory.id?i.color:``}),"data-title":i.i18n.categories[n.id],onClick:t=>e.$emit(`click`,n)},[r(`div`,{"aria-hidden":`true`,innerHTML:e.svgs[n.id]},null,8,Z),r(`span`,{"aria-hidden":`true`,class:`emoji-mart-anchor-bar`,style:v({backgroundColor:i.color})},null,4)],14,X))),128))])}var ne=C(Y,[[`render`,Q]]),re=String.fromCodePoint||function(){var e=16384,t=[],n,r,i=-1,a=arguments.length;if(!a)return``;for(var o=``;++i<a;){var s=Number(arguments[i]);if(!isFinite(s)||s<0||s>1114111||Math.floor(s)!=s)throw RangeError(`Invalid code point: `+s);s<=65535?t.push(s):(s-=65536,n=(s>>10)+55296,r=s%1024+56320,t.push(n,r)),(i+1===a||t.length>e)&&(o+=String.fromCharCode.apply(null,t),t.length=0)}return o};function ie(e){var t=e.split(`-`).map(e=>`0x${e}`);return re.apply(null,t)}function ae(e){return e.reduce((e,t)=>(e.indexOf(t)===-1&&e.push(t),e),[])}function oe(e,t){let n=ae(e),r=ae(t);return n.filter(e=>r.indexOf(e)>=0)}function $(e,t){var n={};for(let r in e){let i=e[r],a=i;t.hasOwnProperty(r)&&(a=t[r]),typeof a==`object`&&(a=$(i,a)),n[r]=a}return n}function se(){if(typeof document>`u`)return 0;let e=document.createElement(`div`);e.style.width=`100px`,e.style.height=`100px`,e.style.overflow=`scroll`,e.style.position=`absolute`,e.style.top=`-9999px`,document.body.appendChild(e);let t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}var ce=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,le=[`1F3FA`,`1F3FB`,`1F3FC`,`1F3FD`,`1F3FE`,`1F3FF`],ue=class{constructor(e,{emojisToShowFilter:t,include:n,exclude:r,custom:i,recent:a,recentLength:o=20}={}){this._data=z(e),this._emojisFilter=t||null,this._include=n||null,this._exclude=r||null,this._custom=i||[],this._recent=a||q.get(o),this._emojis={},this._nativeEmojis={},this._emoticons={},this._categories=[],this._recentCategory={id:`recent`,name:`Recent`,emojis:[]},this._customCategory={id:`custom`,name:`Custom`,emojis:[]},this._searchIndex={},this.buildIndex(),Object.freeze(this)}buildIndex(){let e=this._data.categories;if(this._include&&(e=e.filter(e=>this._include.includes(e.id)),e=e.sort((e,t)=>{let n=this._include.indexOf(e.id),r=this._include.indexOf(t.id);return n<r?-1:+(n>r)})),e.forEach(e=>{if(!this.isCategoryNeeded(e.id))return;let t={id:e.id,name:e.name,emojis:[]};e.emojis.forEach(e=>{let n=this.addEmoji(e);n&&t.emojis.push(n)}),t.emojis.length&&this._categories.push(t)}),this.isCategoryNeeded(`custom`)){if(this._custom.length>0)for(let e of this._custom)this.addCustomEmoji(e);this._customCategory.emojis.length&&this._categories.push(this._customCategory)}this.isCategoryNeeded(`recent`)&&(this._recent.length&&this._recent.map(e=>{for(let t of this._customCategory.emojis)if(t.id===e){this._recentCategory.emojis.push(t);return}this.hasEmoji(e)&&this._recentCategory.emojis.push(this.emoji(e))}),this._recentCategory.emojis.length&&this._categories.unshift(this._recentCategory))}findEmoji(e,t){let n=e.match(ce);if(n&&(e=n[1],n[2]&&(t=parseInt(n[2],10))),this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),this._emojis.hasOwnProperty(e)){let n=this._emojis[e];return t?n.getSkin(t):n}return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}categories(){return this._categories}emoji(e){this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]);let t=this._emojis[e];if(!t)throw Error(`Can not find emoji by id: `+e);return t}firstEmoji(){let e=this._emojis[Object.keys(this._emojis)[0]];if(!e)throw Error(`Can not get first emoji`);return e}hasEmoji(e){return this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),!!this._emojis[e]}nativeEmoji(e){return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}search(e,t){if(t||(t=75),!e.length)return null;if(e==`-`||e==`-1`)return[this.emoji(`-1`)];let n=e.toLowerCase().split(/[\s|,|\-|_]+/),r=[];n.length>2&&(n=[n[0],n[1]]),r=n.map(e=>{let t=this._emojis,n=this._searchIndex,r=0;for(let i=0;i<e.length;i++){let a=e[i];if(r++,n[a]||(n[a]={}),n=n[a],!n.results){let i={};n.results=[],n.emojis={};for(let a in t){let o=t[a],s=o._data.search,c=e.substr(0,r),l=s.indexOf(c);if(l!=-1){let e=l+1;c==a&&(e=0),n.results.push(o),n.emojis[a]=o,i[a]=e}}n.results.sort((e,t)=>
5i[e.id]-i[t.id])}t=n.emojis}return n.results}).filter(e=>e);var i=null;return i=r.length>1?oe.apply(null,r):r.length?r[0]:[],i&&i.length>t&&(i=i.slice(0,t)),i}addCustomEmoji(e){let t=Object.assign({},e,{id:e.short_names[0],custom:!0});t.search||(t.search=L(t));let n=new de(t);return this._emojis[n.id]=n,this._customCategory.emojis.push(n),n}addEmoji(e){let t=this._data.emojis[e];if(!this.isEmojiNeeded(t))return!1;let n=new de(t);if(this._emojis[e]=n,n.native&&(this._nativeEmojis[n.native]=n),n._skins)for(let e in n._skins){let t=n._skins[e];t.native&&(this._nativeEmojis[t.native]=t)}return n.emoticons&&n.emoticons.forEach(t=>{this._emoticons[t]||(this._emoticons[t]=e)}),n}isCategoryNeeded(e){let t=this._include&&this._include.length?this._include.indexOf(e)>-1:!0,n=this._exclude&&this._exclude.length?this._exclude.indexOf(e)>-1:!1;return!(!t||n)}isEmojiNeeded(e){return!this._emojisFilter||this._emojisFilter(e)}},de=class e{constructor(t){if(this._data=Object.assign({},t),this._skins=null,this._data.skin_variations)for(var n in this._skins=[],le){let r=le[n],i=this._data.skin_variations[r],a=Object.assign({},t);for(let e in i)a[e]=i[e];delete a.skin_variations,a.skin_tone=parseInt(n)+1,this._skins.push(new e(a))}this._sanitized=pe(this._data);for(let e in this._sanitized)this[e]=this._sanitized[e];this.short_names=this._data.short_names,this.short_name=this._data.short_names[0],Object.freeze(this)}getSkin(e){return e&&e!=`native`&&this._skins?this._skins[e-1]:this}getPosition(){return`${+(100/60*this._data.sheet_x).toFixed(2)}% ${+(100/60*this._data.sheet_y).toFixed(2)}%`}ariaLabel(){return[this.native].concat(this.short_names).filter(Boolean).join(`, `)}},fe=class{constructor(e,t,n,r,i,a,o){this._emoji=e,this._native=r,this._skin=t,this._set=n,this._fallback=i,this.canRender=this._canRender(),this.cssClass=this._cssClass(),this.cssStyle=this._cssStyle(o),this.content=this._content(),this.title=a===!0?e.short_name:null,this.ariaLabel=e.ariaLabel(),Object.freeze(this)}getEmoji(){return this._emoji.getSkin(this._skin)}_canRender(){return this._isCustom()||this._isNative()||this._hasEmoji()||this._fallback}_cssClass(){return[`emoji-set-`+this._set,`emoji-type-`+this._emojiType()]}_cssStyle(e){let t={};return this._isCustom()?t={backgroundImage:`url(`+this.getEmoji()._data.imageUrl+`)`,backgroundSize:`100%`,width:e+`px`,height:e+`px`}:this._hasEmoji()&&!this._isNative()&&(t={backgroundPosition:this.getEmoji().getPosition()}),e&&(t=this._isNative()?Object.assign(t,{fontSize:Math.round(e*.95*10)/10+`px`}):Object.assign(t,{width:e+`px`,height:e+`px`})),t}_content(){return this._isCustom()?``:this._isNative()?this.getEmoji().native:this._hasEmoji()?``:this._fallback?this._fallback(this.getEmoji()):null}_isNative(){return this._native}_isCustom(){return this.getEmoji().custom}_hasEmoji(){if(!this.getEmoji()._data)return!1;let e=this.getEmoji()._data[`has_img_`+this._set];return e===void 0||e}_emojiType(){return this._isCustom()?`custom`:this._isNative()?`native`:this._hasEmoji()?`image`:`fallback`}};function pe(e){var{name:t,short_names:n,skin_tone:r,skin_variations:i,emoticons:a,unified:o,custom:s,imageUrl:c}=e,l=e.id||n[0],u=`:${l}:`;return s?{id:l,name:t,colons:u,emoticons:a,custom:s,imageUrl:c}:(r&&(u+=`:skin-tone-${r}:`),{id:l,name:t,colons:u,emoticons:a,unified:o.toLowerCase(),skin:r||(i?1:null),native:ie(o)})}var me={native:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!1},fallback:{type:Function},skin:{type:Number,default:1},set:{type:String,default:`apple`},emoji:{type:[String,Object],required:!0},size:{type:Number,default:null},tag:{type:String,default:`span`}},he={perLine:{type:Number,default:9},maxSearchResults:{type:Number,default:75},emojiSize:{type:Number,default:24},title:{type:String,default:`Emoji Martâ¢`},emoji:{type:String,default:`department_store`},color:{type:String,default:`#ae65c5`},set:{type:String,default:`apple`},skin:{type:Number,default:null},defaultSkin:{type:Number,default:1},native:{type:Boolean,default:!1},emojiTooltip:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},i18n:{type:Object,default(){return{}}},showPreview:{type:Boolean,default:!0},showSearch:{type:Boolean,default:!0},showCategories:{type:Boolean,default:!0},showSkinTones:{type:Boolean,default:!0},infiniteScroll:{type:Boolean,default:!0},pickerStyles:{type:Object,default(){return{}}}};s(),a();var ge={props:{...me,data:{type:Object,required:!0}},emits:[`click`,`mouseenter`,`mouseleave`],computed:{view(){return new fe(this.emojiObject,this.skin,this.set,this.native,this.fallback,this.tooltip,this.size)},sanitizedData(){return this.emojiObject._sanitized}
5,title(){return this.tooltip?this.emojiObject.short_name:null},emojiObject(){return typeof this.emoji==`string`?this.data.findEmoji(this.emoji):this.emoji}},created(){},methods:{onClick(){this.$emit(`click`,this.emojiObject)},onMouseEnter(){this.$emit(`mouseenter`,this.emojiObject)},onMouseLeave(){this.$emit(`mouseleave`,this.emojiObject)}}};function _e(e,t,i,a,s,c){return c.view.canRender?(h(),o(f(e.tag),{key:0,title:c.view.title,"aria-label":c.view.ariaLabel,"data-title":c.title,class:`emoji-mart-emoji`,onMouseenter:c.onMouseEnter,onMouseleave:c.onMouseLeave,onClick:c.onClick},{default:n(()=>[r(`span`,{class:u(c.view.cssClass),style:v(c.view.cssStyle)},m(c.view.content),7)]),_:1},40,[`title`,`aria-label`,`data-title`,`onMouseenter`,`onMouseleave`,`onClick`])):g(``,!0)}var ve=C(ge,[[`render`,_e]]);s(),a();var ye={props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},id:{type:String,required:!0},name:{type:String,required:!0},emojis:{type:Array},emojiProps:{type:Object,required:!0}},methods:{activeClass:function(e){return!this.emojiProps.selectedEmoji||!this.emojiProps.selectedEmojiCategory?``:this.emojiProps.selectedEmoji.id==e.id&&this.emojiProps.selectedEmojiCategory.id==this.id?`emoji-mart-emoji-selected`:``}},computed:{isVisible(){return!!this.emojis},isSearch(){return this.name==`Search`},hasResults(){return this.emojis.length>0},emojiObjects(){return this.emojis.map(e=>({emojiObject:e,emojiView:new fe(e,this.emojiProps.skin,this.emojiProps.set,this.emojiProps.native,this.emojiProps.fallback,this.emojiProps.emojiTooltip,this.emojiProps.emojiSize)}))}},components:{Emoji:ve}},be=[`aria-label`],xe={class:`emoji-mart-category-label`},Se={class:`emoji-mart-category-label`},Ce=[`aria-label`,`data-title`,`title`,`onMouseenter`,`onMouseleave`,`onClick`],we={key:0},Te={class:`emoji-mart-no-results-label`};function Ee(e,n,a,o,s,c){let d=y(`emoji`);return c.isVisible&&(c.isSearch||c.hasResults)?(h(),t(`section`,{key:0,class:u({"emoji-mart-category":!0,"emoji-mart-no-results":!c.hasResults}),"aria-label":a.i18n.categories[a.id]},[r(`div`,xe,[r(`h3`,Se,m(a.i18n.categories[a.id]),1)]),(h(!0),t(S,null,l(c.emojiObjects,({emojiObject:e,emojiView:n})=>(h(),t(S,null,[n.canRender?(h(),t(`button`,{"aria-label":n.ariaLabel,role:`option`,"aria-selected":`false`,"aria-posinset":`1`,"aria-setsize":`1812`,type:`button`,"data-title":e.short_name,key:e.id,title:n.title,class:u([`emoji-mart-emoji`,c.activeClass(e)]),onMouseenter:e=>a.emojiProps.onEnter(n.getEmoji()),onMouseleave:e=>a.emojiProps.onLeave(n.getEmoji()),onClick:e=>a.emojiProps.onClick(n.getEmoji())},[r(`span`,{class:u(n.cssClass),style:v(n.cssStyle)},m(n.content),7)],42,Ce)):g(``,!0)],64))),256)),c.hasResults?g(``,!0):(h(),t(`div`,we,[i(d,{data:a.data,emoji:`sleuth_or_spy`,native:a.emojiProps.native,skin:a.emojiProps.skin,set:a.emojiProps.set},null,8,[`data`,`native`,`skin`,`set`]),r(`div`,Te,m(a.i18n.notfound),1)]))],10,be)):g(``,!0)}var De=C(ye,[[`render`,Ee]]);a(),s();var Oe={props:{skin:{type:Number,required:!0}},data(){return{opened:!1}},methods:{onClick(e){this.opened&&e!=this.skin&&this.$emit(`change`,e),this.opened=!this.opened}}},ke=[`onClick`];function Ae(e,n,i,a,o,s){return h(),t(`div`,{class:u({"emoji-mart-skin-swatches":!0,"emoji-mart-skin-swatches-opened":o.opened})},[(h(),t(S,null,l(6,e=>r(`span`,{key:e,class:u({"emoji-mart-skin-swatch":!0,"emoji-mart-skin-swatch-selected":i.skin==e})},[r(`span`,{class:u(`emoji-mart-skin emoji-mart-skin-tone-`+e),onClick:t=>s.onClick(e)},null,10,ke)],2)),64))],2)}var je=C(Oe,[[`render`,Ae]]);a(),s();var Me={props:{data:{type:Object,required:!0},title:{type:String,required:!0},emoji:{type:[String,Object]},idleEmoji:{type:[String,Object],required:!0},showSkinTones:{type:Boolean,default:!0},emojiProps:{type:Object,required:!0},skinProps:{type:Object,required:!0},onSkinChange:{type:Function,required:!0}},computed:{emojiData(){return this.emoji?this.emoji:{}},emojiShortNames(){return this.emojiData.short_names},emojiEmoticons(){return this.emojiData.emoticons}},components:{Emoji:ve,Skins:je}},Ne={class:`emoji-mart-preview`},Pe={class:`emoji-mart-preview-emoji`},Fe={class:`emoji-mart-preview-data`},Ie={class:`emoji-mart-preview-name`},Le={class:`emoji-mart-preview-shortnames`},Re={class:`emoji-mart-preview-emoticons`},ze={class:`emoji-mart-preview-emoji`},Be={class:`emoji-mart-preview-data`},Ve={class:`emoji-mart-title-label`},He={key:0,class:`emoji-mart-preview-skins`};function Ue(e,n,a,o,s,c){let u=y(`emoji`),d=y(`skins`);return h(),t(`div`,Ne,[a.emoji?(h(),t(S,{key:0},[r(`div`,Pe,[i(u,{data:a.data,emoji:a.emoji,native:a.emojiProps.native,skin:a.emojiProps.skin,set:a.emojiProps.set},null,8,[`data`,`emoji`,`native`,`skin`,`set`])]),r(`div`,Fe,[r(`div`,Ie,m(a.emoji.name),1),r(`div`,Le,[(h(!0),t(S,null,l(c.emojiShortNames,e=>(h(),t(`span`,{key:e,class:`emoji-mart-preview-shortname`},`:`+m(e)+`:`,1))),128))]),r(`div`,Re,[(h(!0),t(S,null,l(c.emojiEmoticons,e=>(h(),t(`span`,{key:e,class:`emoji-mart-preview-emoticon`},m(e),1))),128))])])],64)):(h(),t(S,{key:1},[r(`div`,ze,[i(u,{data:a.data,emoji:a.idleEmoji,native:a.emojiProps.native,skin:a.emojiProps.skin,set:a.emojiProps.set},null,8,[`data`,`emoji`,`native`,`skin`,`set`])]),r(`div`,Be,[r(`span`,Ve,m(a.title),1)]),a.showSkinTones?(h(),t(`div`,He,[i(d,{skin:a.skinProps.skin,onChange:n[0]||(n[0]=e=>a.onSkinChange(e))},null,8,[`skin`])])):g(``,!0)],64))])}var We=C(Me,[[`render`,Ue]]);d(),a();var Ge={props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},autoFocus:{type:Boolean,default:!1},onSearch:{type:Function,required:!0},onArrowLeft:{type:Function,required:!1},onArrowRight:{type:Function,required:!1},onArrowDown:{type:Function,required:!1},onArrowUp:{type:Function,required:!1},onEnter:{type:Function,required:!1}},data(){return{value:``}},computed:{emojiIndex(){return this.data}},watch:{value(){this.$emit(`search`,this.value)}},methods:{clear(){this.value=``}}
5,mounted(){let e=this.$el.querySelector(`input`);this.autoFocus&&e.focus()}},Ke={class:`emoji-mart-search`},qe=[`placeholder`];function Je(e,n,i,a,o,s){return h(),t(`div`,Ke,[x(r(`input`,{type:`text`,placeholder:i.i18n.search,role:`textbox`,"aria-autocomplete":`list`,"aria-owns":`emoji-mart-list`,"aria-label":`Search for an emoji`,"aria-describedby":`emoji-mart-search-description`,onKeydown:[n[0]||(n[0]=b(t=>e.$emit(`arrowLeft`,t),[`left`])),n[1]||(n[1]=b(()=>e.$emit(`arrowRight`),[`right`])),n[2]||(n[2]=b(()=>e.$emit(`arrowDown`),[`down`])),n[3]||(n[3]=b(t=>e.$emit(`arrowUp`,t),[`up`])),n[4]||(n[4]=b(()=>e.$emit(`enter`),[`enter`]))],"onUpdate:modelValue":n[5]||(n[5]=e=>o.value=e)},null,40,qe),[[p,o.value]]),n[6]||(n[6]=r(`span`,{class:`hidden`,id:`emoji-picker-search-description`},`Use the left, right, up and down arrow keys to navigate the emoji search results.`,-1))])}var Ye=C(Ge,[[`render`,Je]]);typeof window<`u`&&(function(){for(var e=0,t=[`ms`,`moz`,`webkit`,`o`],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+`RequestAnimationFrame`],window.cancelAnimationFrame=window[t[n]+`CancelAnimationFrame`]||window[t[n]+`CancelRequestAnimationFrame`];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var r=new Date().getTime(),i=Math.max(0,16-(r-e)),a=window.setTimeout(function(){t(r+i)},i);return e=r+i,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})})();var Xe=class{constructor(e){this._vm=e,this._data=e.data,this._perLine=e.perLine,this._categories=[],this._categories.push(...this._data.categories()),this._categories=this._categories.filter(e=>e.emojis.length>0),this._categories[0].first=!0,Object.freeze(this._categories),this.activeCategory=this._categories[0],this.searchEmojis=null,this.previewEmoji=null,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=-1}onScroll(){let e=this._vm.$refs.scroll;if(!e)return;let t=e.scrollTop,n=this.filteredCategories[0];for(let e=0,r=this.filteredCategories.length;e<r;e++){let r=this.filteredCategories[e],i=this._vm.getCategoryComponent(e);if(i&&i.$el.offsetTop-50>t)break;n=r}this.activeCategory=n}get allCategories(){return this._categories}get filteredCategories(){return this.searchEmojis?[{id:`search`,name:`Search`,emojis:this.searchEmojis}]:this._categories.filter(e=>e.emojis.length>0)}get previewEmojiCategory(){return this.previewEmojiCategoryIdx>=0?this.filteredCategories[this.previewEmojiCategoryIdx]:null}onAnchorClick(e){if(this.searchEmojis)return;let t=this.filteredCategories.indexOf(e),n=this._vm.getCategoryComponent(t);this._vm.infiniteScroll?(()=>{if(n){let t=n.$el.offsetTop;e.first&&(t=0),this._vm.$refs.scroll.scrollTop=t}})():this.activeCategory=this.filteredCategories[t]}onSearch(e){let t=this._data.search(e,this.maxSearchResults);this.searchEmojis=t,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=0,this.updatePreviewEmoji()}onEmojiEnter(e){this.previewEmoji=e,this.previewEmojiIdx=-1,this.previewEmojiCategoryIdx=-1}onEmojiLeave(e){this.previewEmoji=null}onArrowLeft(){this.previewEmojiIdx>0?--this.previewEmojiIdx:(--this.previewEmojiCategoryIdx,this.previewEmojiCategoryIdx<0?this.previewEmojiCategoryIdx=0:this.previewEmojiIdx=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length-1),this.updatePreviewEmoji()}onArrowRight(){this.previewEmojiIdx<this.emojisLength(this.previewEmojiCategoryIdx)-1?this.previewEmojiIdx+=1:(this.previewEmojiCategoryIdx+=1,this.previewEmojiCategoryIdx>=this.filteredCategories.length?this.previewEmojiCategoryIdx=this.filteredCategories.length-1:this.previewEmojiIdx=0),this.updatePreviewEmoji()}onArrowDown(){if(this.previewEmojiIdx==-1)return this.onArrowRight();let e=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length,t=this._perLine;this.previewEmojiIdx+t>e&&(t=e%this._perLine);for(let e=0;e<t;e++)this.onArrowRight();this.updatePreviewEmoji()}onArrowUp(){let e=this._perLine;this.previewEmojiIdx-e<0&&(e=this.previewEmojiCategoryIdx>0?this.filteredCategories[this.previewEmojiCategoryIdx-1].emojis.length%this._perLine:0);for(let t=0;t<e;t++)this.onArrowLeft();this.updatePreviewEmoji()}updatePreviewEmoji(){this.previewEmoji=this.filteredCategories[this.previewEmojiCategoryIdx].emojis[this.previewEmojiIdx],this._vm.$nextTick(()=>{let e=this._vm.$refs.scroll,t=e.querySelector(`.emoji-mart-emoji-selected`),n=e.offsetTop-e.offsetHeight;t&&t.offsetTop+t.offsetHeight>n+e.scrollTop&&(e.scrollTop+=t.offsetHeight),t&&t.offsetTop<e.scrollTop&&(e.scrollTop-=t.offsetHeight)})}emojisLength(e){return e==-1?0:this.filteredCategories[e].emojis.length}};a(),d(),s();var Ze={search:`Search`,notfound:`No Emoji Found`,categories:{search:`Search Results`,recent:`Frequently Used`,smileys:`Smileys & Emotion`,peo
5ple:`People & Body`,nature:`Animals & Nature`,foods:`Food & Drink`,activity:`Activity`,places:`Travel & Places`,objects:`Objects`,symbols:`Symbols`,flags:`Flags`,custom:`Custom`}},Qe={props:{...he,data:{type:Object,required:!0}},data(){return{activeSkin:this.skin||F.get(`skin`)||this.defaultSkin,view:new Xe(this)}},computed:{customStyles(){return{width:this.calculateWidth+`px`,...this.pickerStyles}},emojiProps(){return{native:this.native,skin:this.activeSkin,set:this.set,emojiTooltip:this.emojiTooltip,emojiSize:this.emojiSize,selectedEmoji:this.view.previewEmoji,selectedEmojiCategory:this.view.previewEmojiCategory,onEnter:this.onEmojiEnter.bind(this),onLeave:this.onEmojiLeave.bind(this),onClick:this.onEmojiClick.bind(this)}},skinProps(){return{skin:this.activeSkin}},calculateWidth(){return this.perLine*(this.emojiSize+12)+12+2+se()},filteredCategories(){return this.view.filteredCategories},mergedI18n(){return Object.freeze($(Ze,this.i18n))},idleEmoji(){try{return this.data.emoji(this.emoji)}catch(e){return console.error("Default preview emoji `"+this.emoji+"` is not available, check the Picker `emoji` property"),console.error(e),this.data.firstEmoji()}}},methods:{onScroll(){this.infiniteScroll&&!this.waitingForPaint&&(this.waitingForPaint=!0,window.requestAnimationFrame(this.onScrollPaint.bind(this)))},onScrollPaint(){this.waitingForPaint=!1,this.view.onScroll()},onAnchorClick(e){this.view.onAnchorClick(e)},onSearch(e){this.view.onSearch(e)},onEmojiEnter(e){this.view.onEmojiEnter(e)},onEmojiLeave(e){this.view.onEmojiLeave(e)},onArrowLeft(e){let t=this.view.previewEmojiIdx;this.view.onArrowLeft(),e&&this.view.previewEmojiIdx!==t&&e.preventDefault()},onArrowRight(){this.view.onArrowRight()},onArrowDown(){this.view.onArrowDown()},onArrowUp(e){this.view.onArrowUp(),e.preventDefault()},onEnter(){this.view.previewEmoji&&(this.$emit(`select`,this.view.previewEmoji),q.add(this.view.previewEmoji))},onEmojiClick(e){this.$emit(`select`,e),q.add(e)},onTextSelect(e){e.stopPropagation()},onSkinChange(e){this.activeSkin=e,F.update({skin:e}),this.$emit(`skin-change`,e)},getCategoryComponent(e){let t=this.$refs[`categories_`+e];return t&&`0`in t?t[0]:t}},components:{Anchors:ne,Category:De,Preview:We,Search:Ye}},$e={key:0,class:`emoji-mart-bar emoji-mart-bar-anchors`},et={id:`emoji-mart-list`,ref:`scrollContent`,role:`listbox`,"aria-expanded":`true`},tt={key:0,class:`emoji-mart-bar emoji-mart-bar-preview`};function nt(e,n,a,s,u,d){let f=y(`anchors`),p=y(`search`),m=y(`category`),b=y(`preview`);return h(),t(`section`,{class:`emoji-mart emoji-mart-static`,style:v(d.customStyles)},[e.showCategories?(h(),t(`div`,$e,[i(f,{data:a.data,i18n:d.mergedI18n,color:e.color,categories:u.view.allCategories,"active-category":u.view.activeCategory,onClick:d.onAnchorClick},null,8,[`data`,`i18n`,`color`,`categories`,`active-category`,`onClick`])])):g(``,!0),_(e.$slots,`searchTemplate`,{data:a.data,i18n:e.i18n,autoFocus:e.autoFocus,onSearch:d.onSearch},()=>[e.showSearch?(h(),o(p,{key:0,ref:`search`,data:a.data,i18n:d.mergedI18n,"auto-focus":e.autoFocus,"on-search":d.onSearch,onSearch:d.onSearch,onArrowLeft:d.onArrowLeft,onArrowRight:d.onArrowRight,onArrowDown:d.onArrowDown,onArrowUp:d.onArrowUp,onEnter:d.onEnter,onSelect:d.onTextSelect},null,8,[`data`,`i18n`,`auto-focus`,`on-search`,`onSearch`,`onArrowLeft`,`onArrowRight`,`onArrowDown`,`onArrowUp`,`onEnter`,`onSelect`])):g(``,!0)]),r(`div`,{role:`tabpanel`,class:`emoji-mart-scroll`,ref:`scroll`,onScroll:n[0]||(n[0]=(...e)=>d.onScroll&&d.onScroll(...e))},[r(`div`,et,[(h(!0),t(S,null,l(u.view.filteredCategories,(t,n)=>x((h(),o(m,{ref_for:!0,ref:`categories_`+n,key:t.id,data:a.data,i18n:d.mergedI18n,id:t.id,name:t.name,emojis:t.emojis,"emoji-props":d.emojiProps},null,8,[`data`,`i18n`,`id`,`name`,`emojis`,`emoji-props`])),[[c,e.infiniteScroll||t==u.view.activeCategory]])),128))],512)],544),_(e.$slots,`previewTemplate`,{data:a.data,title:e.title,emoji:u.view.previewEmoji,idleEmoji:d.idleEmoji,showSkinTones:e.showSkinTones,emojiProps:d.emojiProps,skinProps:d.skinProps,onSkinChange:d.onSkinChange},()=>[e.showPreview?(h(),t(`div`,tt,[i(b,{data:a.data,title:e.title,emoji:u.view.previewEmoji,"idle-emoji":d.idleEmoji,"show-skin-tones":e.showSkinTones,"emoji-props":d.emojiProps,"skin-props":d.skinProps,"on-skin-change":d.onSkinChange},null,8,[`data`,`title`,`emoji`,`idle-emoji`,`show-skin-tones`,`emoji-props`,`skin-props`,`on-skin-change`])])):g(``,!0)])],4)}var rt=C(Qe,[[`render`,nt]]);export{C as a,w as i,ue as n,T as r,rt as t}; 6//# sourceMappingURL=BjAQM_Oc.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.