diff --git a/js/dist/forum.js b/js/dist/forum.js index 0f7e18f..1ba6a78 100644 --- a/js/dist/forum.js +++ b/js/dist/forum.js @@ -1,2 +1,2 @@ -(()=>{var e={195:(e,F,a)=>{e.exports=a(236)},987:(e,F,a)=>{var t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,r=/^0o[0-7]+$/i,i=parseInt,l="object"==typeof a.g&&a.g&&a.g.Object===Object&&a.g,s="object"==typeof self&&self&&self.Object===Object&&self,c=l||s||Function("return this")(),_=Object.prototype.toString,u=Math.max,f=Math.min,g=function(){return c.Date.now()};function m(e){var F=typeof e;return!!e&&("object"==F||"function"==F)}function p(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==_.call(e)}(e))return NaN;if(m(e)){var F="function"==typeof e.valueOf?e.valueOf():e;e=m(F)?F+"":F}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(t,"");var a=o.test(e);return a||r.test(e)?i(e.slice(2),a?2:8):n.test(e)?NaN:+e}e.exports=function(e,F,a){var t,n,o,r,i,l,s=0,c=!1,_=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(F){var a=t,o=n;return t=n=void 0,s=F,r=e.apply(o,a)}function E(e){var a=e-l;return void 0===l||a>=F||a<0||_&&e-s>=o}function b(){var e=g();if(E(e))return D(e);i=setTimeout(b,function(e){var a=F-(e-l);return _?f(a,o-(e-s)):a}(e))}function D(e){return i=void 0,d&&t?h(e):(t=n=void 0,r)}function w(){var e=g(),a=E(e);if(t=arguments,n=this,l=e,a){if(void 0===i)return function(e){return s=e,i=setTimeout(b,F),c?h(e):r}(l);if(_)return i=setTimeout(b,F),h(l)}return void 0===i&&(i=setTimeout(b,F)),r}return F=p(F)||0,m(a)&&(c=!!a.leading,o=(_="maxWait"in a)?u(p(a.maxWait)||0,F):o,d="trailing"in a?!!a.trailing:d),w.cancel=function(){void 0!==i&&clearTimeout(i),s=0,t=l=n=i=void 0},w.flush=function(){return void 0===i?r:D(g())},w}},236:e=>{var F=function(e){"use strict";var F,a=Object.prototype,t=a.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function l(e,F,a){return Object.defineProperty(e,F,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[F]}try{l({},"")}catch(e){l=function(e,F,a){return e[F]=a}}function s(e,F,a,t){var n=F&&F.prototype instanceof p?F:p,o=Object.create(n.prototype),r=new B(t||[]);return o._invoke=function(e,F,a){var t=_;return function(n,o){if(t===f)throw new Error("Generator is already running");if(t===g){if("throw"===n)throw o;return j()}for(a.method=n,a.arg=o;;){var r=a.delegate;if(r){var i=A(r,a);if(i){if(i===m)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(t===_)throw t=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);t=f;var l=c(e,F,a);if("normal"===l.type){if(t=a.done?g:u,l.arg===m)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(t=g,a.method="throw",a.arg=l.arg)}}}(e,a,r),o}function c(e,F,a){try{return{type:"normal",arg:e.call(F,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var _="suspendedStart",u="suspendedYield",f="executing",g="completed",m={};function p(){}function d(){}function h(){}var E={};l(E,o,(function(){return this}));var b=Object.getPrototypeOf,D=b&&b(b(x([])));D&&D!==a&&t.call(D,o)&&(E=D);var w=h.prototype=p.prototype=Object.create(E);function y(e){["next","throw","return"].forEach((function(F){l(e,F,(function(e){return this._invoke(F,e)}))}))}function v(e,F){function a(n,o,r,i){var l=c(e[n],e,o);if("throw"!==l.type){var s=l.arg,_=s.value;return _&&"object"==typeof _&&t.call(_,"__await")?F.resolve(_.__await).then((function(e){a("next",e,r,i)}),(function(e){a("throw",e,r,i)})):F.resolve(_).then((function(e){s.value=e,r(s)}),(function(e){return a("throw",e,r,i)}))}i(l.arg)}var n;this._invoke=function(e,t){function o(){return new F((function(F,n){a(e,t,F,n)}))}return n=n?n.then(o,o):o()}}function A(e,a){var t=e.iterator[a.method];if(t===F){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=F,A(e,a),"throw"===a.method))return m;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=c(t,e.iterator,a.arg);if("throw"===n.type)return a.method="throw",a.arg=n.arg,a.delegate=null,m;var o=n.arg;return o?o.done?(a[e.resultName]=o.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=F),a.delegate=null,m):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,m)}function k(e){var F={tryLoc:e[0]};1 in e&&(F.catchLoc=e[1]),2 in e&&(F.finallyLoc=e[2],F.afterLoc=e[3]),this.tryEntries.push(F)}function C(e){var F=e.completion||{};F.type="normal",delete F.arg,e.completion=F}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function x(e){if(e){var a=e[o];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function a(){for(;++n=0;--o){var r=this.tryEntries[o],i=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var l=t.call(r,"catchLoc"),s=t.call(r,"finallyLoc");if(l&&s){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&t.call(n,"finallyLoc")&&this.prev=0;--F){var a=this.tryEntries[F];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),C(a),m}},catch:function(e){for(var F=this.tryEntries.length-1;F>=0;--F){var a=this.tryEntries[F];if(a.tryLoc===e){var t=a.completion;if("throw"===t.type){var n=t.arg;C(a)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,t){return this.delegate={iterator:x(e),resultName:a,nextLoc:t},"next"===this.method&&(this.arg=F),m}},e}(e.exports);try{regeneratorRuntime=F}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=F:Function("r","regeneratorRuntime = r")(F)}},656:()=>{},621:(e,F,a)=>{"use strict";a.d(F,{pM:()=>je,a7:()=>Re,le:()=>ze,wx:()=>Ce,Cq:()=>Be,P6:()=>xe});const t=flarum.core.compat["common/extend"],n=flarum.core.compat["forum/app"];var o=a.n(n);const r=flarum.core.compat["common/models/Forum"];var i=a.n(r);const l=flarum.core.compat["common/models/Discussion"];var s=a.n(l);const c=flarum.core.compat["common/models/Post"];var _=a.n(c);const u=flarum.core.compat["common/Model"];var f=a.n(u);const g=flarum.core.compat["forum/components/NotificationGrid"];var p=a.n(g);function d(e,F){return d=Object.setPrototypeOf||function(e,F){return e.__proto__=F,e},d(e,F)}function h(e,F){e.prototype=Object.create(F.prototype),e.prototype.constructor=e,d(e,F)}const E=flarum.core.compat["forum/components/Notification"];var b=a.n(E);const D=flarum.core.compat["common/helpers/icon"];var w=a.n(D);const y=flarum.core.compat["common/app"];var v=a.n(y);const A=JSON.parse('{"2049":["interrobang","exclamation_question"],"2122":["tm"],"2139":["info"],"2194":["arrow_left_right"],"2195":["arrow_up_down"],"2196":["arrow_upper_left"],"2197":["arrow_upper_right"],"2198":["arrow_lower_right"],"2199":["arrow_lower_left"],"2328":["keyboard"],"2600":["sun"],"2601":["cloud"],"2602":["umbrella"],"2603":["snowy_snowman"],"2604":["comet"],"2611":["checked_ballot"],"2614":["umbrella_rain"],"2615":["coffee"],"2618":["shamrock"],"2620":["crossbones"],"2622":["radioactive"],"2623":["biohazard"],"2626":["orthodox_cross"],"2638":["wheel_of_dharma"],"2639":["sad","frowning"],"2640":["female","female_sign"],"2642":["male","male_sign"],"2648":["aries"],"2649":["taurus"],"2650":["sagittarius"],"2651":["capricorn"],"2652":["aquarius"],"2653":["pisces"],"2660":["spades"],"2663":["clubs"],"2665":["hearts"],"2666":["diamonds"],"2668":["hotsprings"],"2692":["hammer_pick"],"2693":["anchor"],"2694":["crossed_swords"],"2695":["medical"],"2696":["scales"],"2697":["alembic"],"2699":["gear"],"2702":["scissors"],"2705":["white_check_mark"],"2708":["airplane"],"2709":["envelope"],"2712":["black_nib"],"2714":["check_mark"],"2716":["multiplication"],"2721":["star_of_david"],"2728":["sparkles"],"2733":["eight_spoked_asterisk"],"2734":["eight_pointed_star"],"2744":["snowflake"],"2747":["sparkle"],"2753":["question"],"2754":["white_question"],"2755":["white_exclamation"],"2757":["exclamation"],"2763":["heart_exclamation"],"2764":["heart"],"2795":["plus"],"2796":["minus"],"2797":["division"],"2934":["arrow_heading_up"],"2935":["arrow_heading_down"],"3030":["wavy_dash"],"3297":["ja_congratulations"],"3299":["ja_secret"],"1F1E6":["regional_indicator_a"],"1F1E7":["regional_indicator_b"],"1F1E8":["regional_indicator_c"],"1F1E9":["regional_indicator_d"],"1F1EA":["regional_indicator_e"],"1F1EB":["regional_indicator_f"],"1F1EC":["regional_indicator_g"],"1F1ED":["regional_indicator_h"],"1F1EE":["regional_indicator_i"],"1F1EF":["regional_indicator_j"],"1F1F0":["regional_indicator_k"],"1F1F1":["regional_indicator_l"],"1F1F2":["regional_indicator_m"],"1F1F3":["regional_indicator_n"],"1F1F4":["regional_indicator_o"],"1F1F5":["regional_indicator_p"],"1F1F6":["regional_indicator_q"],"1F1F7":["regional_indicator_r"],"1F1F8":["regional_indicator_s"],"1F1F9":["regional_indicator_t"],"1F1FA":["regional_indicator_u"],"1F1FB":["regional_indicator_v"],"1F1FC":["regional_indicator_w"],"1F1FD":["regional_indicator_x"],"1F1FE":["regional_indicator_y"],"1F1FF":["regional_indicator_z"],"1F600":["gleeful"],"1F603":["glad","smile"],"1F604":["happy"],"1F601":["blissful","grin"],"1F606":["amused","laugh","lol"],"1F605":["embarassed","sweat_smile"],"1F923":["entertained","rofl"],"1F602":["joyful","haha"],"1F642":["pleased","slight_smile"],"1F643":["ecstatic","upside_down"],"1FAE0":["melt","melting_face"],"1F609":["coy","wink"],"1F60A":["blush"],"1F607":["innocent","halo"],"1F970":["love"],"1F60D":["lovestruck"],"1F929":["starstruck"],"1F618":["flirty"],"1F617":["kiss"],"263A":["relaxed"],"1F61A":["loving_kiss"],"1F619":["happy_kiss"],"1F972":["tear_smile"],"1F60B":["yum","savour"],"1F61B":["playful","tongue_out"],"1F61C":["mischievous"],"1F92A":["crazy"],"1F61D":["facetious","lmao"],"1F911":["pretentious","money_mouth"],"1F917":["hugging"],"1F92D":["gasp"],"1FAE2":["face_with_open_eyes_hand_over_mouth","gasp"],"1FAE3":["face_with_peeking_eye","peek"],"1F92B":["shushing"],"1F914":["curious","thinking"],"1FAE1":["salute","saluting_face"],"1F910":["silenced","zipper_mouth"],"1F928":["contempt"],"1F610":["indifferent","neutral"],"1F611":["apathetic","expressionless"],"1F636":["vacant","no_mouth"],"1FAE5":["dotted_line_face"],"1F636-200D-1F32B-FE0F":["in_clouds"],"1F60F":["cocky","smirk"],"1F612":["unamused"],"1F644":["disbelief"],"1F62C":["grimaced"],"1F62E-200D-1F4A8":["exhale","exhaling"],"1F925":["lying"],"1F60C":["relieved"],"1F614":["pensive"],"1F62A":["sleepy"],"1F924":["drooling"],"1F634":["exhausted","sleeping"],"1F637":["ill","mask"],"1F912":["sick"],"1F915":["injured"],"1F922":["nauseated"],"1F92E":["vomiting"],"1F927":["sneezing"],"1F975":["overheating"],"1F976":["freezing"],"1F974":["woozy"],"1F635":["dizzy"],"1F635-200D-1F4AB":["dizzy_eyes"],"1F92F":["shocked","exploding_head"],"1F920":["cowboy"],"1F973":["partying","celebrating"],"1F978":["disguised_face"],"1F60E":["confident"],"1F913":["nerd"],"1F9D0":["monocle"],"1F615":["confused"],"1FAE4":["face_with_diagonal_mouth"],"1F61F":["worried"],"1F641":["cheerless","slight_frown"],"1F62E":["surprised"],"1F62F":["hushed"],"1F632":["astonished"],"1F633":["flushed"],"1F97A":["pleading"],"1F979":["face_holding_back_tears","watery_eyes"],"1F626":["bored"],"1F627":["anguished","wtf"],"1F628":["fearful"],"1F630":["cold_sweat","anxious","frustrated"],"1F625":["gloomy"],"1F622":["upset","cry"],"1F62D":["distressed","sob"],"1F631":["frightened","scream"],"1F616":["confounded"],"1F623":["persevered"],"1F61E":["disappointed"],"1F613":["shamed"],"1F629":["weary"],"1F62B":["tired"],"1F971":["yawn"],"1F624":["annoyed","hrmph"],"1F621":["enraged","pout"],"1F620":["angry"],"1F92C":["censored"],"1F608":["imp"],"1F47F":["angry_imp"],"1F480":["skull"],"1F4A9":["poop"],"1F921":["clown"],"1F479":["ogre"],"1F47A":["goblin"],"1F47B":["ghost"],"1F47D":["alien"],"1F47E":["alien_monster","space_invader"],"1F916":["robot"],"1F63A":["smiling_cat"],"1F638":["grinning_cat"],"1F639":["joyful_cat"],"1F63B":["lovestruck_cat"],"1F63C":["smirking_cat"],"1F63D":["kissing_cat"],"1F640":["weary_cat"],"1F63F":["crying_cat"],"1F63E":["pouting_cat"],"1F648":["see_no_evil"],"1F649":["hear_no_evil"],"1F64A":["speak_no_evil"],"1F48B":["kiss_lips"],"1F48C":["love_letter"],"1F498":["cupid"],"1F49D":["heart_ribbon"],"1F496":["sparkling_heart"],"1F497":["heartpulse"],"1F493":["heartbeat"],"1F49E":["revolving_hearts"],"1F495":["two_hearts"],"1F49F":["heart_decoration"],"1F494":["broken_heart"],"2764-FE0F-200D-1F525":["heart_on_fire"],"2764-FE0F-200D-1FA79":["mending_heart"],"1F9E1":["orange_heart"],"1F49B":["yellow_heart"],"1F49A":["green_heart"],"1F499":["blue_heart"],"1F49C":["purple_heart"],"1F90E":["brown_heart"],"1F5A4":["black_heart"],"1F90D":["white_heart"],"1F4AF":["100"],"1F4A2":["anger"],"1F4A5":["boom","collision"],"1F4AB":["dizzy_star"],"1F4A6":["sweat_drops"],"1F4A8":["dash"],"1F573":["hole"],"1F4A3":["bomb"],"1F4AC":["speech"],"1F441-FE0F-200D-1F5E8-FE0F":["eye_bubble"],"1F5E8":["left_speech"],"1F5EF":["right_anger_speech"],"1F4AD":["thought"],"1F4A4":["zzz"],"1F44B":["wave"],"1F91A":["raised_backhand"],"1F590":["splayed_hand"],"270B":["raised_hand"],"1F596":["vulcan"],"1FAF1":["rightwards_hand"],"1FAF2":["leftwards_hand"],"1FAF3":["palm_down"],"1FAF4":["palm_up"],"1F44C":["ok_hand"],"1F90C":["pinched_fingers"],"1F90F":["pinch"],"270C":["victory"],"1F91E":["fingers_crossed"],"1FAF0":["hand_with_index_finger_and_thumb_crossed"],"1F91F":["love_you_gesture"],"1F918":["metal"],"1F919":["call_me"],"1F448":["point_left"],"1F449":["point_right"],"1F446":["backhand_point_up"],"1F595":["middle_finger"],"1F447":["point_down"],"261D":["point_up"],"1FAF5":["point_forward"],"1F44D":["thumbsup","+1","y","yes"],"1F44E":["thumbsdown","-1","n","no"],"270A":["fist"],"1F44A":["punch"],"1F91B":["left_facing_fist"],"1F91C":["right_facing_fist"],"1F44F":["clap"],"1F64C":["raised_hands"],"1FAF6":["heart_hands"],"1F450":["open_hands"],"1F932":["palms_up"],"1F91D":["handshake"],"1F64F":["pray"],"270D":["writing_hand"],"1F485":["nail_care"],"1F933":["selfie"],"1F4AA":["muscle","right_bicep"],"1F9BE":["mech_arm"],"1F9BF":["mech_leg"],"1F9B5":["leg"],"1F9B6":["foot"],"1F442":["ear"],"1F9BB":["hearing_aid"],"1F443":["nose"],"1F9E0":["brain"],"1FAC0":["anatomical_heart"],"1FAC1":["lungs"],"1F9B7":["tooth"],"1F9B4":["bone"],"1F440":["eyes"],"1F441":["eye"],"1F445":["tongue"],"1F444":["lips"],"1FAE6":["biting_lip"],"1F476":["baby"],"1F9D2":["child"],"1F466":["boy"],"1F467":["girl"],"1F9D1":["adult"],"1F471":["blond_person"],"1F468":["man"],"1F9D4":["bearded_person"],"1F9D4-200D-2642-FE0F":["man_bearded"],"1F9D4-200D-2640-FE0F":["woman_bearded"],"1F468-200D-1F9B0":["red_haired_man"],"1F468-200D-1F9B1":["curly_haired_man"],"1F468-200D-1F9B3":["white_haired_man"],"1F468-200D-1F9B2":["bald_man"],"1F469":["woman"],"1F469-200D-1F9B0":["red_haired_woman"],"1F9D1-200D-1F9B0":["red_haired_person"],"1F469-200D-1F9B1":["curly_haired_woman"],"1F9D1-200D-1F9B1":["curly_haired_person"],"1F469-200D-1F9B3":["white_haired_woman"],"1F9D1-200D-1F9B3":["white_haired_person"],"1F469-200D-1F9B2":["bald_woman"],"1F9D1-200D-1F9B2":["bald_person"],"1F471-200D-2640-FE0F":["blond_woman"],"1F471-200D-2642-FE0F":["blond_man"],"1F9D3":["older_adult"],"1F474":["older_man"],"1F475":["older_woman"],"1F64D":["person_frowning"],"1F64D-200D-2642-FE0F":["man_frowning"],"1F64D-200D-2640-FE0F":["woman_frowning"],"1F64E":["person_pouting"],"1F64E-200D-2642-FE0F":["man_pouting"],"1F64E-200D-2640-FE0F":["woman_pouting"],"1F645":["person_gesturing_no"],"1F645-200D-2642-FE0F":["man_gesturing_no"],"1F645-200D-2640-FE0F":["woman_gesturing_no"],"1F646":["person_gesturing_ok"],"1F646-200D-2642-FE0F":["man_gesturing_ok"],"1F646-200D-2640-FE0F":["woman_gesturing_ok"],"1F481":["person_tipping_hand"],"1F481-200D-2642-FE0F":["man_tipping_hand"],"1F481-200D-2640-FE0F":["woman_tipping_hand"],"1F64B":["person_raising_hand"],"1F64B-200D-2642-FE0F":["man_raising_hand"],"1F64B-200D-2640-FE0F":["woman_raising_hand"],"1F9CF":["person_deaf"],"1F9CF-200D-2642-FE0F":["man_deaf"],"1F9CF-200D-2640-FE0F":["woman_deaf"],"1F647":["person_bowing"],"1F647-200D-2642-FE0F":["man_bowing"],"1F647-200D-2640-FE0F":["woman_bowing"],"1F926":["person_facepalming"],"1F926-200D-2642-FE0F":["man_facepalming"],"1F926-200D-2640-FE0F":["woman_facepalming"],"1F937":["person_shrugging"],"1F937-200D-2642-FE0F":["man_shrugging"],"1F937-200D-2640-FE0F":["woman_shrugging"],"1F9D1-200D-2695-FE0F":["person_health_worker"],"1F468-200D-2695-FE0F":["man_health_worker"],"1F469-200D-2695-FE0F":["woman_health_worker"],"1F9D1-200D-1F393":["person_student"],"1F468-200D-1F393":["man_student"],"1F469-200D-1F393":["woman_student"],"1F9D1-200D-1F3EB":["person_teacher"],"1F468-200D-1F3EB":["man_teacher"],"1F469-200D-1F3EB":["woman_teacher"],"1F9D1-200D-2696-FE0F":["person_judge"],"1F468-200D-2696-FE0F":["man_judge"],"1F469-200D-2696-FE0F":["woman_judge"],"1F9D1-200D-1F33E":["person_farmer"],"1F468-200D-1F33E":["man_farmer"],"1F469-200D-1F33E":["woman_farmer"],"1F9D1-200D-1F373":["person_cook"],"1F468-200D-1F373":["man_cook"],"1F469-200D-1F373":["woman_cook"],"1F9D1-200D-1F527":["person_mechanic"],"1F468-200D-1F527":["man_mechanic"],"1F469-200D-1F527":["woman_mechanic"],"1F9D1-200D-1F3ED":["person_factory_worker"],"1F468-200D-1F3ED":["man_factory_worker"],"1F469-200D-1F3ED":["woman_factory_worker"],"1F9D1-200D-1F4BC":["person_office_worker"],"1F468-200D-1F4BC":["man_office_worker"],"1F469-200D-1F4BC":["woman_office_worker"],"1F9D1-200D-1F52C":["person_scientist"],"1F468-200D-1F52C":["man_scientist"],"1F469-200D-1F52C":["woman_scientist"],"1F9D1-200D-1F4BB":["person_technologist"],"1F468-200D-1F4BB":["man_technologist"],"1F469-200D-1F4BB":["woman_technologist"],"1F9D1-200D-1F3A4":["person_singer"],"1F468-200D-1F3A4":["man_singer"],"1F469-200D-1F3A4":["woman_singer"],"1F9D1-200D-1F3A8":["person_artist"],"1F468-200D-1F3A8":["man_artist"],"1F469-200D-1F3A8":["woman_artist"],"1F9D1-200D-2708-FE0F":["person_pilot"],"1F468-200D-2708-FE0F":["man_pilot"],"1F469-200D-2708-FE0F":["woman_pilot"],"1F9D1-200D-1F680":["person_astronaut"],"1F468-200D-1F680":["man_astronaut"],"1F469-200D-1F680":["woman_astronaut"],"1F9D1-200D-1F692":["person_firefighter"],"1F468-200D-1F692":["man_firefighter"],"1F469-200D-1F692":["woman_firefighter"],"1F46E":["police_officer"],"1F46E-200D-2642-FE0F":["man_police_officer"],"1F46E-200D-2640-FE0F":["woman_police_officer"],"1F575":["detective"],"1F575-FE0F-200D-2642-FE0F":["man_detective"],"1F575-FE0F-200D-2640-FE0F":["woman_detective"],"1F482":["guard"],"1F482-200D-2642-FE0F":["man_guard"],"1F482-200D-2640-FE0F":["woman_guard"],"1F977":["ninja"],"1F477":["construction_worker"],"1F477-200D-2642-FE0F":["man_construction_worker"],"1F477-200D-2640-FE0F":["woman_construction_worker"],"1FAC5":["person_with_crown","royalty"],"1F934":["prince"],"1F478":["princess"],"1F473":["person_turban"],"1F473-200D-2642-FE0F":["man_turban"],"1F473-200D-2640-FE0F":["woman_turban"],"1F472":["man_chinese_cap"],"1F9D5":["woman_headscarf"],"1F935":["man_tuxedo"],"1F935-200D-2642-FE0F":["man_in_tuxedo"],"1F935-200D-2640-FE0F":["woman_in_tuxedo"],"1F470":["person_veiled_bride","bride_veil"],"1F470-200D-2642-FE0F":["man_veiled_bride"],"1F470-200D-2640-FE0F":["woman_veiled_bride"],"1F930":["pregnant_woman"],"1FAC3":["pregnant_man"],"1FAC4":["pregnant_person"],"1F931":["breast_feeding"],"1F469-200D-1F37C":["woman_feeding_baby"],"1F468-200D-1F37C":["man_feeding_baby"],"1F9D1-200D-1F37C":["person_feeding_baby"],"1F47C":["baby_angel"],"1F385":["santa"],"1F936":["mrs_claus"],"1F9D1-200D-1F384":["mx_claus"],"1F9B8":["hero","superhero"],"1F9B8-200D-2642-FE0F":["man_hero"],"1F9B8-200D-2640-FE0F":["woman_hero"],"1F9B9":["villain","supervillain"],"1F9B9-200D-2642-FE0F":["man_villain"],"1F9B9-200D-2640-FE0F":["woman_villain"],"1F9D9":["mage"],"1F9D9-200D-2642-FE0F":["man_mage"],"1F9D9-200D-2640-FE0F":["woman_mage"],"1F9DA":["fairy"],"1F9DA-200D-2642-FE0F":["man_fairy"],"1F9DA-200D-2640-FE0F":["woman_fairy"],"1F9DB":["vampire"],"1F9DB-200D-2642-FE0F":["man_vampire"],"1F9DB-200D-2640-FE0F":["woman_vampire"],"1F9DC":["merperson"],"1F9DC-200D-2642-FE0F":["merman"],"1F9DC-200D-2640-FE0F":["mermaid"],"1F9DD":["elf"],"1F9DD-200D-2642-FE0F":["man_elf"],"1F9DD-200D-2640-FE0F":["woman_elf"],"1F9DE":["genie"],"1F9DE-200D-2642-FE0F":["man_genie"],"1F9DE-200D-2640-FE0F":["woman_genie"],"1F9DF":["zombie"],"1F9DF-200D-2642-FE0F":["man_zombie"],"1F9DF-200D-2640-FE0F":["woman_zombie"],"1F9CC":["troll"],"1F486":["person_getting_massage"],"1F486-200D-2642-FE0F":["man_getting_face_massage"],"1F486-200D-2640-FE0F":["woman_getting_face_massage"],"1F487":["person_getting_haircut"],"1F487-200D-2642-FE0F":["man_getting_haircut"],"1F487-200D-2640-FE0F":["woman_getting_haircut"],"1F6B6":["person_walking"],"1F6B6-200D-2642-FE0F":["man_walking"],"1F6B6-200D-2640-FE0F":["woman_walking"],"1F9CD":["person_standing"],"1F9CD-200D-2642-FE0F":["man_standing"],"1F9CD-200D-2640-FE0F":["woman_standing"],"1F9CE":["person_kneeling"],"1F9CE-200D-2642-FE0F":["man_kneeling"],"1F9CE-200D-2640-FE0F":["woman_kneeling"],"1F9D1-200D-1F9AF":["person_probing_cane"],"1F468-200D-1F9AF":["man_probing_cane"],"1F469-200D-1F9AF":["woman_probing_cane"],"1F9D1-200D-1F9BC":["person_motor_wheelchair"],"1F468-200D-1F9BC":["man_motor_wheelchair"],"1F469-200D-1F9BC":["woman_motor_wheelchair"],"1F9D1-200D-1F9BD":["person_wheelchair"],"1F468-200D-1F9BD":["man_wheelchair"],"1F469-200D-1F9BD":["woman_wheelchair"],"1F3C3":["person_running"],"1F3C3-200D-2642-FE0F":["man_running"],"1F3C3-200D-2640-FE0F":["woman_running"],"1F483":["dancer","woman_dancing"],"1F57A":["man_dancing"],"1F574":["levitate"],"1F46F":["people_bunny_ears_partying"],"1F46F-200D-2642-FE0F":["men_bunny_ears_partying"],"1F46F-200D-2640-FE0F":["women_bunny_ears_partying"],"1F9D6":["person_steamy_room"],"1F9D6-200D-2642-FE0F":["man_steamy_room"],"1F9D6-200D-2640-FE0F":["woman_steamy_room"],"1F9D7":["person_climbing"],"1F9D7-200D-2642-FE0F":["man_climbing"],"1F9D7-200D-2640-FE0F":["woman_climbing"],"1F93A":["person_fencing"],"1F3C7":["horse_racing"],"26F7":["skier"],"1F3C2":["snowboarder"],"1F3CC":["person_golfing"],"1F3CC-FE0F-200D-2642-FE0F":["man_golfing"],"1F3CC-FE0F-200D-2640-FE0F":["woman_golfing"],"1F3C4":["person_surfing"],"1F3C4-200D-2642-FE0F":["man_surfing"],"1F3C4-200D-2640-FE0F":["woman_surfing"],"1F6A3":["person_rowing_boat"],"1F6A3-200D-2642-FE0F":["man_rowing_boat"],"1F6A3-200D-2640-FE0F":["woman_rowing_boat"],"1F3CA":["person_swimming"],"1F3CA-200D-2642-FE0F":["man_swimming"],"1F3CA-200D-2640-FE0F":["woman_swimming"],"26F9":["person_bouncing_ball"],"26F9-FE0F-200D-2642-FE0F":["man_bouncing_ball"],"26F9-FE0F-200D-2640-FE0F":["woman_bouncing_ball"],"1F3CB":["person_lifting_weights"],"1F3CB-FE0F-200D-2642-FE0F":["man_lifting_weights"],"1F3CB-FE0F-200D-2640-FE0F":["woman_lifting_weights"],"1F6B4":["person_biking"],"1F6B4-200D-2642-FE0F":["man_biking"],"1F6B4-200D-2640-FE0F":["woman_biking"],"1F6B5":["person_mountain_biking"],"1F6B5-200D-2642-FE0F":["man_mountain_biking"],"1F6B5-200D-2640-FE0F":["woman_mountain_biking"],"1F938":["person_cartwheel"],"1F938-200D-2642-FE0F":["man_cartwheeling"],"1F938-200D-2640-FE0F":["woman_cartwheeling"],"1F93C":["people_wrestling"],"1F93C-200D-2642-FE0F":["men_wrestling"],"1F93C-200D-2640-FE0F":["women_wrestling"],"1F93D":["person_water_polo"],"1F93D-200D-2642-FE0F":["man_water_polo"],"1F93D-200D-2640-FE0F":["woman_water_polo"],"1F93E":["person_handball"],"1F93E-200D-2642-FE0F":["man_handball"],"1F93E-200D-2640-FE0F":["woman_handball"],"1F939":["person_juggling"],"1F939-200D-2642-FE0F":["man_juggling"],"1F939-200D-2640-FE0F":["woman_juggling"],"1F9D8":["person_lotus_position"],"1F9D8-200D-2642-FE0F":["man_lotus_position"],"1F9D8-200D-2640-FE0F":["woman_lotus_position"],"1F6C0":["bath"],"1F6CC":["in_bed"],"1F9D1-200D-1F91D-200D-1F9D1":["holding_hands_people"],"1F46D":["holding_hands_ww"],"1F46B":["holding_hands_mw","holding_hands_wm"],"1F46C":["holding_hands_mm"],"1F48F":["couple"],"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468":["kiss_mw","kiss_wm"],"1F468-200D-2764-FE0F-200D-1F48B-200D-1F468":["kiss_mm"],"1F469-200D-2764-FE0F-200D-1F48B-200D-1F469":["kiss_ww"],"1F491":["couple_heart"],"1F469-200D-2764-FE0F-200D-1F468":["couple_mw","couple_wm"],"1F468-200D-2764-FE0F-200D-1F468":["couple_mm"],"1F469-200D-2764-FE0F-200D-1F469":["couple_ww"],"1F46A":["family"],"1F468-200D-1F469-200D-1F466":["family_mwb"],"1F468-200D-1F469-200D-1F467":["family_mwg"],"1F468-200D-1F469-200D-1F467-200D-1F466":["family_mwgb"],"1F468-200D-1F469-200D-1F466-200D-1F466":["family_mwbb"],"1F468-200D-1F469-200D-1F467-200D-1F467":["family_mwgg"],"1F468-200D-1F468-200D-1F466":["family_mmb"],"1F468-200D-1F468-200D-1F467":["family_mmg"],"1F468-200D-1F468-200D-1F467-200D-1F466":["family_mmgb"],"1F468-200D-1F468-200D-1F466-200D-1F466":["family_mmbb"],"1F468-200D-1F468-200D-1F467-200D-1F467":["family_mmgg"],"1F469-200D-1F469-200D-1F466":["family_wwb"],"1F469-200D-1F469-200D-1F467":["family_wwg"],"1F469-200D-1F469-200D-1F467-200D-1F466":["family_wwgb"],"1F469-200D-1F469-200D-1F466-200D-1F466":["family_wwbb"],"1F469-200D-1F469-200D-1F467-200D-1F467":["family_wwgg"],"1F468-200D-1F466":["family_mb"],"1F468-200D-1F466-200D-1F466":["family_mbb"],"1F468-200D-1F467":["family_mg"],"1F468-200D-1F467-200D-1F466":["family_mgb"],"1F468-200D-1F467-200D-1F467":["family_mgg"],"1F469-200D-1F466":["family_wb"],"1F469-200D-1F466-200D-1F466":["family_wbb"],"1F469-200D-1F467":["family_wg"],"1F469-200D-1F467-200D-1F466":["family_wgb"],"1F469-200D-1F467-200D-1F467":["family_wgg"],"1F5E3":["speaking_head"],"1F464":["bust_silhouette"],"1F465":["busts_silhouette"],"1FAC2":["people_hugging"],"1F463":["footprints"],"1F3FB":["tone_light","tone1"],"1F3FC":["tone_medium_light","tone2"],"1F3FD":["tone_medium","tone3"],"1F3FE":["tone_medium_dark","tone4"],"1F3FF":["tone_dark","tone5"],"1F9B0":["red_hair"],"1F9B1":["curly_hair"],"1F9B3":["white_hair"],"1F9B2":["bald"],"1F435":["monkey_face"],"1F412":["monkey"],"1F98D":["gorilla"],"1F9A7":["orangutan"],"1F436":["dog_face"],"1F415":["dog"],"1F9AE":["guide_dog"],"1F415-200D-1F9BA":["service_dog"],"1F429":["poodle"],"1F43A":["wolf_face"],"1F98A":["fox_face"],"1F99D":["raccoon"],"1F431":["cat_face"],"1F408":["cat"],"1F408-200D-2B1B":["black_cat"],"1F981":["lion_face"],"1F42F":["tiger_face"],"1F405":["tiger"],"1F406":["leopard"],"1F434":["horse_face"],"1F40E":["horse"],"1F984":["unicorn_face"],"1F993":["zebra"],"1F98C":["deer"],"1F9AC":["bison"],"1F42E":["cow_face"],"1F402":["ox"],"1F403":["water_buffalo"],"1F404":["cow"],"1F437":["pig_face"],"1F416":["pig"],"1F417":["boar"],"1F43D":["pig_nose"],"1F40F":["ram"],"1F411":["sheep"],"1F410":["goat"],"1F42A":["camel"],"1F42B":["two_hump_camel"],"1F999":["llama"],"1F992":["giraffe"],"1F418":["elephant"],"1F9A3":["mammoth"],"1F98F":["rhino"],"1F99B":["hippo"],"1F42D":["mouse_face"],"1F401":["mouse"],"1F400":["rat"],"1F439":["hamster_face"],"1F430":["rabbit_face"],"1F407":["rabbit"],"1F43F":["chipmunk"],"1F9AB":["beaver"],"1F994":["hedgehog"],"1F987":["bat"],"1F43B":["bear_face"],"1F43B-200D-2744-FE0F":["polar_bear_face"],"1F428":["koala_face"],"1F43C":["panda_face"],"1F9A5":["sloth"],"1F9A6":["otter"],"1F9A8":["skunk"],"1F998":["kangaroo"],"1F9A1":["badger"],"1F43E":["feet"],"1F983":["turkey"],"1F414":["chicken"],"1F413":["rooster"],"1F423":["hatching_chick"],"1F424":["baby_chick"],"1F425":["hatched_chick"],"1F426":["bird"],"1F427":["penguin"],"1F54A":["dove"],"1F985":["eagle"],"1F986":["duck"],"1F9A2":["swan"],"1F989":["owl"],"1F9A4":["dodo"],"1FAB6":["feather"],"1F9A9":["flamingo"],"1F99A":["peacock"],"1F99C":["parrot"],"1F438":["frog_face"],"1F40A":["crocodile"],"1F422":["turtle"],"1F98E":["lizard"],"1F40D":["snake"],"1F432":["dragon_face"],"1F409":["dragon"],"1F995":["sauropod"],"1F996":["trex"],"1F433":["spouting_whale"],"1F40B":["whale"],"1F42C":["dolphin"],"1F9AD":["seal"],"1F41F":["fish"],"1F420":["tropical_fish"],"1F421":["blowfish"],"1F988":["shark"],"1F419":["octopus"],"1F41A":["shell"],"1FAB8":["coral"],"1F40C":["snail"],"1F98B":["butterfly"],"1F41B":["bug"],"1F41C":["ant"],"1F41D":["bee"],"1FAB2":["beetle"],"1F41E":["lady_bug"],"1F997":["cricket"],"1FAB3":["cockroach"],"1F577":["spider"],"1F578":["spider_web"],"1F982":["scorpion"],"1F99F":["mosquito"],"1FAB0":["fly"],"1FAB1":["worm"],"1F9A0":["microbe","germ"],"1F490":["bouquet"],"1F338":["cherry_blossom"],"1F4AE":["white_flower"],"1FAB7":["lotus"],"1F3F5":["rosette"],"1F339":["rose"],"1F940":["wilted_rose"],"1F33A":["hibiscus"],"1F33B":["sunflower"],"1F33C":["blossom"],"1F337":["tulip"],"1F331":["seedling"],"1FAB4":["potted_plant"],"1F332":["evergreen_tree"],"1F333":["deciduous_tree"],"1F334":["palm_tree"],"1F335":["cactus"],"1F33E":["ear_of_rice"],"1F33F":["herb"],"1F340":["four_leaf_clover"],"1F341":["maple_leaf"],"1F342":["fallen_leaf"],"1F343":["leaves"],"1FAB9":["empty_nest","nest"],"1FABA":["nest_with_eggs"],"1F347":["grapes"],"1F348":["melon"],"1F349":["watermelon"],"1F34A":["tangerine"],"1F34B":["lemon"],"1F34C":["banana"],"1F34D":["pineapple"],"1F96D":["mango"],"1F34E":["apple"],"1F34F":["green_apple"],"1F350":["pear"],"1F351":["peach"],"1F352":["cherries"],"1F353":["strawberry"],"1FAD0":["blueberry"],"1F95D":["kiwi"],"1F345":["tomato"],"1FAD2":["olive"],"1F965":["coconut"],"1F951":["avocado"],"1F346":["eggplant"],"1F954":["potato"],"1F955":["carrot"],"1F33D":["corn"],"1F336":["hot_pepper"],"1FAD1":["bell_pepper"],"1F952":["cucumber"],"1F96C":["leafy_green"],"1F966":["broccoli"],"1F9C4":["garlic"],"1F9C5":["onion"],"1F344":["mushroom"],"1F95C":["peanuts"],"1FAD8":["beans"],"1F330":["chestnut"],"1F35E":["bread"],"1F950":["croissant"],"1F956":["french_bread"],"1FAD3":["flatbread"],"1F968":["pretzel"],"1F96F":["bagel"],"1F95E":["pancakes"],"1F9C7":["waffle"],"1F9C0":["cheese"],"1F356":["meat_on_bone"],"1F357":["poultry_leg"],"1F969":["cut_of_meat"],"1F953":["bacon"],"1F354":["hamburger"],"1F35F":["fries"],"1F355":["pizza"],"1F32D":["hotdog"],"1F96A":["sandwich"],"1F32E":["taco"],"1F32F":["burrito"],"1FAD4":["tamale"],"1F959":["stuffed_flatbread"],"1F9C6":["falafel"],"1F95A":["egg"],"1F373":["cooking"],"1F958":["shallow_pan_of_food"],"1F372":["stew"],"1FAD5":["fondue"],"1F963":["bowl_spoon"],"1F957":["salad"],"1F37F":["popcorn"],"1F9C8":["butter"],"1F9C2":["salt"],"1F96B":["canned_food"],"1F371":["bento"],"1F358":["rice_cracker"],"1F359":["rice_ball"],"1F35A":["rice"],"1F35B":["curry"],"1F35C":["ramen"],"1F35D":["spaghetti"],"1F360":["sweet_potato"],"1F362":["oden"],"1F363":["sushi"],"1F364":["fried_shrimp"],"1F365":["fish_cake"],"1F96E":["moon_cake"],"1F361":["dango"],"1F95F":["dumpling"],"1F960":["fortune_cookie"],"1F961":["takeout_box"],"1F980":["crab"],"1F99E":["lobster"],"1F990":["shrimp"],"1F991":["squid"],"1F9AA":["oyster"],"1F366":["icecream"],"1F367":["shaved_ice"],"1F368":["ice_cream"],"1F369":["doughnut"],"1F36A":["cookie"],"1F382":["birthday"],"1F370":["cake"],"1F9C1":["cupcake"],"1F967":["pie"],"1F36B":["chocolate_bar"],"1F36C":["candy"],"1F36D":["lollipop"],"1F36E":["custard"],"1F36F":["honey_pot"],"1F37C":["baby_bottle"],"1F95B":["milk"],"1FAD6":["teapot"],"1F375":["tea"],"1F376":["sake"],"1F37E":["champagne"],"1F377":["wine_glass"],"1F378":["cocktail"],"1F379":["tropical_drink"],"1F37A":["beer"],"1F37B":["beers"],"1F942":["champagne_glass"],"1F943":["tumbler_glass"],"1FAD7":["pour","pouring_liquid"],"1F964":["cup_straw"],"1F9CB":["bubble_tea","boba_drink"],"1F9C3":["beverage_box","juice_box"],"1F9C9":["mate","yerba_mate"],"1F9CA":["ice"],"1F962":["chopsticks"],"1F37D":["fork_knife_plate"],"1F374":["utensils"],"1F944":["spoon"],"1F52A":["knife"],"1FAD9":["jar"],"1F3FA":["amphora"],"1F30D":["earth_africa"],"1F30E":["earth_americas"],"1F30F":["earth_asia"],"1F310":["globe"],"1F5FA":["map"],"1F5FE":["japan"],"1F9ED":["compass"],"1F3D4":["snowy_mountain"],"26F0":["mountain"],"1F30B":["volcano"],"1F5FB":["mount_fuji"],"1F3D5":["camping"],"1F3D6":["beach"],"1F3DC":["desert"],"1F3DD":["island"],"1F3DE":["park"],"1F3DF":["stadium"],"1F3DB":["classical_building"],"1F3D7":["construction_site"],"1F9F1":["brick"],"1FAA8":["rock"],"1FAB5":["wood"],"1F6D6":["hut"],"1F3D8":["homes"],"1F3DA":["house_abandoned"],"1F3E0":["house"],"1F3E1":["house_garden"],"1F3E2":["office"],"1F3E3":["ja_post_office"],"1F3E4":["post_office"],"1F3E5":["hospital"],"1F3E6":["bank"],"1F3E8":["hotel"],"1F3E9":["love_hotel"],"1F3EA":["convenience_store"],"1F3EB":["school"],"1F3EC":["department_store"],"1F3ED":["factory"],"1F3EF":["japanese_castle"],"1F3F0":["castle","european_castle"],"1F492":["wedding"],"1F5FC":["tokyo_tower"],"1F5FD":["statue_of_liberty"],"26EA":["church"],"1F54C":["mosque"],"1F6D5":["hindu_temple"],"1F54D":["synagogue"],"26E9":["shinto_shrine"],"1F54B":["kaaba"],"26F2":["fountain"],"26FA":["tent"],"1F301":["foggy"],"1F303":["night_stars"],"1F3D9":["cityscape"],"1F304":["sunrise_over_mountains"],"1F305":["sunrise"],"1F306":["dusk"],"1F307":["sunset"],"1F309":["bridge_at_night"],"1F3A0":["carousel_horse"],"1F6DD":["playground_slide","slide"],"1F3A1":["ferris_wheel"],"1F3A2":["roller_coaster"],"1F488":["barber"],"1F3AA":["circus_tent"],"1F682":["steam_locomotive"],"1F683":["railway_car"],"1F684":["bullettrain_side"],"1F685":["bullettrain"],"1F686":["train"],"1F687":["metro"],"1F688":["light_rail"],"1F689":["station"],"1F68A":["tram"],"1F69D":["monorail"],"1F69E":["mountain_railway"],"1F68B":["tram_car"],"1F68C":["bus"],"1F68D":["oncoming_bus"],"1F68E":["trolleybus"],"1F690":["minibus"],"1F691":["ambulance"],"1F692":["fire_engine"],"1F693":["police_car"],"1F694":["oncoming_police_car"],"1F695":["taxi"],"1F696":["oncoming_taxi"],"1F697":["red_car"],"1F698":["oncoming_automobile"],"1F699":["blue_car"],"1F6FB":["pickup_truck"],"1F69A":["truck"],"1F69B":["lorry"],"1F69C":["tractor"],"1F3CE":["race_car"],"1F3CD":["motorcycle"],"1F6F5":["motor_scooter"],"1F9BD":["wheelchair"],"1F9BC":["motor_wheelchair"],"1F6FA":["auto_rickshaw"],"1F6B2":["bike"],"1F6F4":["scooter"],"1F6F9":["skateboard"],"1F6FC":["roller_skate"],"1F68F":["bus_stop"],"1F6E3":["motorway"],"1F6E4":["railway_track"],"1F6E2":["oil_drum"],"26FD":["fuel_pump"],"1F6DE":["wheel"],"1F6A8":["rotating_light","police_light"],"1F6A5":["traffic_light"],"1F6A6":["vertical_traffic_light"],"1F6D1":["stop_sign","octagonal_sign"],"1F6A7":["construction"],"1F6DF":["lifebuoy","ring_buoy"],"26F5":["sailboat"],"1F6F6":["canoe"],"1F6A4":["speedboat"],"1F6F3":["cruise_ship"],"26F4":["ferry"],"1F6E5":["motorboat"],"1F6A2":["ship"],"1F6E9":["small_airplane"],"1F6EB":["airplane_departure"],"1F6EC":["airplane_arriving"],"1FA82":["parachute"],"1F4BA":["seat"],"1F681":["helicopter"],"1F69F":["suspension_railway"],"1F6A0":["mountain_cableway"],"1F6A1":["aerial_tramway"],"1F6F0":["satellite"],"1F680":["rocket"],"1F6F8":["flying_saucer"],"1F6CE":["bellhop"],"1F9F3":["luggage"],"231B":["hourglass"],"23F3":["hourglass_flowing"],"231A":["watch"],"23F0":["alarm_clock"],"23F1":["stopwatch"],"23F2":["timer"],"1F570":["clock"],"1F55B":["clock12"],"1F567":["clock1230"],"1F550":["clock1"],"1F55C":["clock130"],"1F551":["clock2"],"1F55D":["clock230"],"1F552":["clock3"],"1F55E":["clock330"],"1F553":["clock4"],"1F55F":["clock430"],"1F554":["clock5"],"1F560":["clock530"],"1F555":["clock6"],"1F561":["clock630"],"1F556":["clock7"],"1F562":["clock730"],"1F557":["clock8"],"1F563":["clock830"],"1F558":["clock9"],"1F564":["clock930"],"1F559":["clock10"],"1F565":["clock1030"],"1F55A":["clock11"],"1F566":["clock1130"],"1F311":["new_moon"],"1F312":["waxing_crescent_moon"],"1F313":["first_quarter_moon"],"1F314":["waxing_gibbous_moon"],"1F315":["full_moon"],"1F316":["waning_gibbous_moon"],"1F317":["last_quarter_moon"],"1F318":["waning_crescent_moon"],"1F319":["crescent_moon"],"1F31A":["new_moon_face"],"1F31B":["first_quarter_moon_face"],"1F31C":["last_quarter_moon_face"],"1F321":["thermometer"],"1F31D":["full_moon_face"],"1F31E":["sun_face"],"1FA90":["ringed_planet","saturn"],"2B50":["star"],"1F31F":["star2","glowing_star"],"1F320":["star3","shooting_star"],"1F30C":["milky_way"],"26C5":["partly_sunny"],"26C8":["storm"],"1F324":["overcast"],"1F325":["cloudy"],"1F326":["sunshower"],"1F327":["rain"],"1F328":["snow"],"1F329":["lightning"],"1F32A":["tornado"],"1F32B":["fog"],"1F32C":["wind_face"],"1F300":["cyclone"],"1F308":["rainbow"],"1F302":["closed_umbrella"],"26F1":["beach_umbrella"],"26A1":["zap","high_voltage"],"26C4":["snowman"],"1F525":["fire"],"1F4A7":["droplet"],"1F30A":["ocean"],"1F383":["jack_o_lantern"],"1F384":["christmas_tree","xmas_tree"],"1F386":["fireworks"],"1F387":["sparkler"],"1F9E8":["firecracker"],"1F388":["balloon"],"1F389":["tada","party"],"1F38A":["confetti_ball"],"1F38B":["tanabata_tree"],"1F38D":["bamboo","pine_decor"],"1F38E":["dolls"],"1F38F":["carp_streamer"],"1F390":["wind_chime"],"1F391":["moon_ceremony","rice_scene"],"1F9E7":["red_envelope"],"1F380":["ribbon"],"1F381":["gift"],"1F397":["reminder_ribbon"],"1F39F":["tickets","admission"],"1F3AB":["ticket"],"1F396":["military_medal"],"1F3C6":["trophy"],"1F3C5":["medal"],"1F947":["first_place"],"1F948":["second_place"],"1F949":["third_place"],"26BD":["soccer"],"26BE":["baseball"],"1F94E":["softball"],"1F3C0":["basketball"],"1F3D0":["volleyball"],"1F3C8":["football"],"1F3C9":["rugby"],"1F3BE":["tennis"],"1F94F":["flying_disc"],"1F3B3":["bowling"],"1F3CF":["cricket_game"],"1F3D1":["field_hockey"],"1F3D2":["hockey"],"1F94D":["lacrosse"],"1F3D3":["ping_pong"],"1F3F8":["badminton"],"1F94A":["boxing_glove"],"1F94B":["gi","martial_arts_uniform"],"1F945":["goal"],"26F3":["golf"],"26F8":["ice_skate"],"1F3A3":["fishing_pole"],"1F93F":["diving_mask","scuba_mask"],"1F3BD":["running_shirt"],"1F3BF":["ski"],"1F6F7":["sled"],"1F94C":["curling_stone"],"1F3AF":["dart"],"1FA80":["yoyo"],"1FA81":["kite"],"1F3B1":["8ball"],"1F52E":["crystal_ball"],"1FA84":["wand"],"1F9FF":["nazar_amulet"],"1FAAC":["hamsa"],"1F3AE":["video_game"],"1F579":["joystick"],"1F3B0":["slot_machine"],"1F3B2":["game_die"],"1F9E9":["jigsaw","puzzle_piece"],"1F9F8":["teddy_bear"],"1FA85":["pinata"],"1FAA9":["disco","disco_ball","mirror_ball"],"1FA86":["nesting_dolls"],"265F":["chess_pawn"],"1F0CF":["black_joker"],"1F004":["mahjong"],"1F3B4":["flower_cards"],"1F3AD":["performing_arts"],"1F5BC":["frame_photo"],"1F3A8":["art","palette"],"1F9F5":["spool"],"1FAA1":["sewing_needle"],"1F9F6":["yarn"],"1FAA2":["knot"],"1F453":["glasses"],"1F576":["sunglasses"],"1F97D":["goggles"],"1F97C":["lab_coat"],"1F9BA":["safety_vest"],"1F454":["necktie","tie"],"1F455":["shirt"],"1F456":["jeans"],"1F9E3":["scarf"],"1F9E4":["gloves"],"1F9E5":["coat"],"1F9E6":["socks"],"1F457":["dress"],"1F458":["kimono"],"1F97B":["sari"],"1FA71":["one_piece_swimsuit"],"1FA72":["briefs"],"1FA73":["shorts"],"1F459":["bikini"],"1F45A":["blouse","womans_clothes"],"1F45B":["purse"],"1F45C":["handbag"],"1F45D":["pouch","clutch_bag"],"1F6CD":["shopping_bags"],"1F392":["backpack"],"1FA74":["sandal"],"1F45E":["dress_shoe","mans_shoe"],"1F45F":["sneaker","athletic_shoe"],"1F97E":["hiking_boot"],"1F97F":["flat_shoe"],"1F460":["high_heel"],"1F461":["womans_sandal"],"1FA70":["ballet_shoes"],"1F462":["womans_boot"],"1F451":["crown"],"1F452":["womans_hat"],"1F3A9":["top_hat"],"1F393":["graduation_cap"],"1F9E2":["billed_cap"],"1FA96":["military_helmet"],"26D1":["helmet_cross"],"1F4FF":["prayer_beads"],"1F484":["lipstick"],"1F48D":["ring"],"1F48E":["gem"],"1F507":["mute","no_sound"],"1F508":["speaker","low_sound"],"1F509":["sound"],"1F50A":["loud_sound"],"1F4E2":["loudspeaker"],"1F4E3":["megaphone"],"1F4EF":["postal_horn"],"1F514":["bell"],"1F515":["no_bell"],"1F3BC":["musical_score"],"1F3B5":["musical_note"],"1F3B6":["musical_notes"],"1F399":["studio_microphone"],"1F39A":["level_slider"],"1F39B":["control_knobs"],"1F3A4":["microphone"],"1F3A7":["headphones"],"1F4FB":["radio"],"1F3B7":["saxophone"],"1FA97":["accordion"],"1F3B8":["guitar"],"1F3B9":["musical_keyboard"],"1F3BA":["trumpet"],"1F3BB":["violin"],"1FA95":["banjo"],"1F941":["drum"],"1FA98":["long_drum"],"1F4F1":["mobile","iphone","android"],"1F4F2":["mobile_calling"],"260E":["telephone"],"1F4DE":["telephone_receiver"],"1F4DF":["pager"],"1F4E0":["fax"],"1F50B":["battery"],"1FAAB":["low_battery"],"1F50C":["electric_plug"],"1F4BB":["laptop"],"1F5A5":["desktop","computer"],"1F5A8":["printer"],"1F5B1":["computer_mouse"],"1F5B2":["trackball"],"1F4BD":["minidisc"],"1F4BE":["floppy_disk"],"1F4BF":["cd","disk"],"1F4C0":["dvd"],"1F9EE":["abacus"],"1F3A5":["movie_camera"],"1F39E":["film_frames"],"1F4FD":["projector"],"1F3AC":["clapper"],"1F4FA":["tv"],"1F4F7":["camera"],"1F4F8":["camera_flash"],"1F4F9":["video_camera"],"1F4FC":["vhs"],"1F50D":["mag"],"1F50E":["mag_right"],"1F56F":["candle"],"1F4A1":["bulb","light_bulb"],"1F526":["flashlight"],"1F3EE":["red_lantern"],"1FA94":["diya_lamp"],"1F4D4":["decorative_notebook"],"1F4D5":["closed_book"],"1F4D6":["book"],"1F4D7":["green_book"],"1F4D8":["blue_book"],"1F4D9":["orange_book"],"1F4DA":["books"],"1F4D3":["notebook"],"1F4D2":["ledger"],"1F4C3":["page_curl"],"1F4DC":["scroll"],"1F4C4":["page_facing_up"],"1F4F0":["newspaper"],"1F5DE":["rolled_newspaper"],"1F4D1":["bookmark_tabs"],"1F516":["bookmark"],"1F3F7":["label"],"1F4B0":["moneybag"],"1FA99":["coin"],"1F4B4":["yen"],"1F4B5":["dollar"],"1F4B6":["euro"],"1F4B7":["pound"],"1F4B8":["money_wings"],"1F4B3":["credit_card"],"1F9FE":["receipt"],"1F4B9":["ja_chart"],"1F4E7":["email"],"1F4E8":["incoming_envelope"],"1F4E9":["envelope_arrow"],"1F4E4":["outbox_tray"],"1F4E5":["inbox_tray"],"1F4E6":["package"],"1F4EB":["mailbox"],"1F4EA":["mailbox_closed"],"1F4EC":["mailbox_mail"],"1F4ED":["mailbox_no_mail"],"1F4EE":["postbox"],"1F5F3":["ballot_box"],"270F":["pencil"],"1F58B":["fountain_pen"],"1F58A":["pen"],"1F58C":["paintbrush"],"1F58D":["crayon"],"1F4DD":["memo"],"1F4BC":["briefcase"],"1F4C1":["file_folder"],"1F4C2":["open_file_folder"],"1F5C2":["dividers"],"1F4C5":["date","calendar"],"1F4C6":["torn_calendar"],"1F5D2":["notepad_spiral"],"1F5D3":["calendar_spiral"],"1F4C7":["card_index"],"1F4C8":["chart_up"],"1F4C9":["chart_down"],"1F4CA":["bar_chart"],"1F4CB":["clipboard"],"1F4CC":["pushpin"],"1F4CD":["round_pushpin"],"1F4CE":["paperclip"],"1F587":["paperclips"],"1F4CF":["straight_ruler"],"1F4D0":["triangular_ruler"],"1F5C3":["card_box"],"1F5C4":["file_cabinet"],"1F5D1":["trashcan","wastebasket"],"1F512":["lock"],"1F513":["unlock"],"1F50F":["locked_pen"],"1F510":["locked_key"],"1F511":["key"],"1F5DD":["old_key"],"1F528":["hammer"],"1FA93":["axe"],"26CF":["pick"],"1F6E0":["tools","hammer_wrench"],"1F5E1":["dagger"],"1F52B":["gun","pistol"],"1FA83":["boomerang"],"1F3F9":["bow"],"1F6E1":["shield"],"1FA9A":["saw"],"1F527":["wrench"],"1FA9B":["screwdriver"],"1F529":["nut_and_bolt"],"1F5DC":["clamp","compression"],"1F9AF":["probing_cane"],"1F517":["link"],"26D3":["chains"],"1FA9D":["hook"],"1F9F0":["toolbox"],"1F9F2":["magnet"],"1FA9C":["ladder"],"1F9EA":["test_tube"],"1F9EB":["petri_dish"],"1F9EC":["dna","double_helix"],"1F52C":["microscope"],"1F52D":["telescope"],"1F4E1":["satellite_antenna"],"1F489":["syringe"],"1FA78":["blood_drop"],"1F48A":["pill"],"1FA79":["bandaid","adhesive_bandage"],"1FA7C":["crutch"],"1FA7A":["stethoscope"],"1FA7B":["x-ray","xray"],"1F6AA":["door"],"1F6D7":["elevator"],"1FA9E":["mirror"],"1FA9F":["window"],"1F6CF":["bed"],"1F6CB":["couch"],"1FA91":["chair"],"1F6BD":["toilet"],"1FAA0":["plunger"],"1F6BF":["shower"],"1F6C1":["bathtub"],"1FAA4":["mouse_trap"],"1FA92":["razor"],"1F9F4":["lotion"],"1F9F7":["safety_pin"],"1F9F9":["broom"],"1F9FA":["basket"],"1F9FB":["toilet_paper"],"1FAA3":["bucket"],"1F9FC":["soap"],"1FAE7":["bubbles"],"1FAA5":["toothbrush"],"1F9FD":["sponge"],"1F9EF":["fire_extinguisher"],"1F6D2":["shopping_cart"],"1F6AC":["cigarette","smoking"],"26B0":["coffin"],"1FAA6":["headstone"],"26B1":["urn"],"1F5FF":["moai"],"1FAA7":["placard"],"1FAAA":["id_card"],"1F3E7":["atm"],"1F6AE":["litter_bin"],"1F6B0":["potable_water"],"267F":["handicapped"],"1F6B9":["mens"],"1F6BA":["womens"],"1F6BB":["restroom","bathroom"],"1F6BC":["baby_symbol"],"1F6BE":["wc"],"1F6C2":["passport_control"],"1F6C3":["customs"],"1F6C4":["baggage_claim"],"1F6C5":["left_luggage"],"26A0":["warning"],"1F6B8":["children_crossing"],"26D4":["no_entry"],"1F6AB":["no_entry_sign"],"1F6B3":["no_bicycles"],"1F6AD":["no_smoking"],"1F6AF":["do_not_litter"],"1F6B1":["non_potable_water"],"1F6B7":["no_pedestrians"],"1F4F5":["no_mobile_phones"],"1F51E":["underage"],"2B06":["arrow_up"],"27A1":["arrow_right"],"2B07":["arrow_down"],"2B05":["arrow_left"],"21A9":["arrow_left_hook"],"21AA":["arrow_right_hook"],"1F503":["clockwise"],"1F504":["counter_clockwise"],"1F519":["back"],"1F51A":["end"],"1F51B":["on"],"1F51C":["soon"],"1F51D":["top"],"1F6D0":["place_of_worship"],"269B":["atom"],"1F549":["om_symbol"],"262F":["yin_yang"],"271D":["cross"],"262A":["star_and_crescent"],"262E":["peace"],"1F54E":["menorah"],"1F52F":["six_pointed_star"],"264A":["gemini"],"264B":["cancer"],"264C":["leo"],"264D":["virgo"],"264E":["libra"],"264F":["scorpius"],"26CE":["ophiuchus"],"1F500":["shuffle"],"1F501":["repeat"],"1F502":["repeat_single"],"25B6":["play"],"23E9":["fast_forward"],"23ED":["next_track"],"23EF":["play_pause"],"25C0":["reverse"],"23EA":["rewind"],"23EE":["previous_track"],"1F53C":["up_button"],"23EB":["fast_up_button"],"1F53D":["down_button"],"23EC":["fast_down_button"],"23F8":["pause"],"23F9":["stop"],"23FA":["record"],"23CF":["eject"],"1F3A6":["cinema"],"1F505":["dim","low_brightness"],"1F506":["bright","high_brightness"],"1F4F6":["signal_strength","antenna_bars"],"1F4F3":["vibration_mode"],"1F4F4":["mobile_phone_off"],"26A7":["trans"],"1F7F0":["heavy_equals_sign"],"267E":["infinity"],"203C":["bangbang","double_exclamation"],"1F4B1":["currency_exchange"],"1F4B2":["dollar_sign"],"267B":["recycle"],"269C":["fleur-de-lis"],"1F531":["trident"],"1F4DB":["name_badge"],"1F530":["ja_beginner"],"2B55":["o"],"274C":["x","cross_mark"],"274E":["cross_mark_button"],"27B0":["curly_loop"],"27BF":["double_curly_loop"],"303D":["part_alternation_mark"],"00A9":["copyright"],"00AE":["registered"],"0023-FE0F-20E3":["hash"],"002A-FE0F-20E3":["asterisk"],"0030-FE0F-20E3":["zero"],"0031-FE0F-20E3":["one"],"0032-FE0F-20E3":["two"],"0033-FE0F-20E3":["three"],"0034-FE0F-20E3":["four"],"0035-FE0F-20E3":["five"],"0036-FE0F-20E3":["six"],"0037-FE0F-20E3":["seven"],"0038-FE0F-20E3":["eight"],"0039-FE0F-20E3":["nine"],"1F51F":["ten"],"1F520":["upper_abcd"],"1F521":["abcd"],"1F522":["1234"],"1F523":["symbols"],"1F524":["abc"],"1F170":["a_blood"],"1F18E":["ab_blood"],"1F171":["b_blood"],"1F191":["cl"],"1F192":["cool"],"1F193":["free"],"1F194":["id"],"24C2":["m"],"1F195":["new"],"1F196":["ng"],"1F17E":["o_blood"],"1F197":["ok"],"1F17F":["p"],"1F198":["sos"],"1F199":["up"],"1F19A":["vs"],"1F201":["ja_here","koko"],"1F202":["ja_service_charge"],"1F237":["ja_monthly_amount"],"1F236":["ja_not_free_of_carge"],"1F22F":["ja_reserved"],"1F250":["ja_bargain"],"1F239":["ja_discount"],"1F21A":["ja_free_of_charge"],"1F232":["ja_prohibited"],"1F251":["ja_acceptable"],"1F238":["ja_application"],"1F234":["ja_passing_grade"],"1F233":["ja_vacancy"],"1F23A":["ja_open_for_business"],"1F235":["ja_no_vacancy"],"1F534":["red_circle"],"1F7E0":["orange_circle"],"1F7E1":["yellow_circle"],"1F7E2":["green_circle"],"1F535":["blue_circle"],"1F7E3":["purple_circle"],"1F7E4":["brown_circle"],"26AB":["black_circle"],"26AA":["white_circle"],"1F7E5":["red_square"],"1F7E7":["orange_square"],"1F7E8":["yellow_square"],"1F7E9":["green_square"],"1F7E6":["blue_square"],"1F7EA":["purple_square"],"1F7EB":["brown_square"],"2B1B":["large_black_square"],"2B1C":["large_white_square"],"25FC":["medium_black_square"],"25FB":["medium_white_square"],"25FE":["medium_small_black_square"],"25FD":["medium_small_white_square"],"25AA":["small_black_square"],"25AB":["small_white_square"],"1F536":["large_orange_diamond"],"1F537":["large_blue_diamond"],"1F538":["small_orange_diamond"],"1F539":["small_blue_diamond"],"1F53A":["up_red_triangle"],"1F53B":["down_red_triangle"],"1F4A0":["diamond_dot"],"1F518":["radio_button"],"1F533":["white_square_button"],"1F532":["black_square_button"],"1F3C1":["checkered_flag"],"1F6A9":["triangle_flag"],"1F38C":["crossed_flags"],"1F3F4":["black_flag"],"1F3F3":["white_flag"],"1F3F3-FE0F-200D-1F308":["rainbow_flag"],"1F3F3-FE0F-200D-26A7-FE0F":["trans_flag"],"1F3F4-200D-2620-FE0F":["pirate_flag","jolly_roger"],"1F1E6-1F1E8":["flag_ac"],"1F1E6-1F1E9":["flag_ad"],"1F1E6-1F1EA":["flag_ae"],"1F1E6-1F1EB":["flag_af"],"1F1E6-1F1EC":["flag_ag"],"1F1E6-1F1EE":["flag_ai"],"1F1E6-1F1F1":["flag_al"],"1F1E6-1F1F2":["flag_am"],"1F1E6-1F1F4":["flag_ao"],"1F1E6-1F1F6":["flag_aq"],"1F1E6-1F1F7":["flag_ar"],"1F1E6-1F1F8":["flag_as"],"1F1E6-1F1F9":["flag_at"],"1F1E6-1F1FA":["flag_au"],"1F1E6-1F1FC":["flag_aw"],"1F1E6-1F1FD":["flag_ax"],"1F1E6-1F1FF":["flag_az"],"1F1E7-1F1E6":["flag_ba"],"1F1E7-1F1E7":["flag_bb"],"1F1E7-1F1E9":["flag_bd"],"1F1E7-1F1EA":["flag_be"],"1F1E7-1F1EB":["flag_bf"],"1F1E7-1F1EC":["flag_bg"],"1F1E7-1F1ED":["flag_bh"],"1F1E7-1F1EE":["flag_bi"],"1F1E7-1F1EF":["flag_bj"],"1F1E7-1F1F1":["flag_bl"],"1F1E7-1F1F2":["flag_bm"],"1F1E7-1F1F3":["flag_bn"],"1F1E7-1F1F4":["flag_bo"],"1F1E7-1F1F6":["flag_bq"],"1F1E7-1F1F7":["flag_br"],"1F1E7-1F1F8":["flag_bs"],"1F1E7-1F1F9":["flag_bt"],"1F1E7-1F1FB":["flag_bv"],"1F1E7-1F1FC":["flag_bw"],"1F1E7-1F1FE":["flag_by"],"1F1E7-1F1FF":["flag_bz"],"1F1E8-1F1E6":["flag_ca"],"1F1E8-1F1E8":["flag_cc"],"1F1E8-1F1E9":["flag_cd"],"1F1E8-1F1EB":["flag_cf"],"1F1E8-1F1EC":["flag_cg"],"1F1E8-1F1ED":["flag_ch"],"1F1E8-1F1EE":["flag_ci"],"1F1E8-1F1F0":["flag_ck"],"1F1E8-1F1F1":["flag_cl"],"1F1E8-1F1F2":["flag_cm"],"1F1E8-1F1F3":["flag_cn"],"1F1E8-1F1F4":["flag_co"],"1F1E8-1F1F5":["flag_cp"],"1F1E8-1F1F7":["flag_cr"],"1F1E8-1F1FA":["flag_cu"],"1F1E8-1F1FB":["flag_cv"],"1F1E8-1F1FC":["flag_cw"],"1F1E8-1F1FD":["flag_cx"],"1F1E8-1F1FE":["flag_cy"],"1F1E8-1F1FF":["flag_cz"],"1F1E9-1F1EA":["flag_de"],"1F1E9-1F1EC":["flag_dg"],"1F1E9-1F1EF":["flag_dj"],"1F1E9-1F1F0":["flag_dk"],"1F1E9-1F1F2":["flag_dm"],"1F1E9-1F1F4":["flag_do"],"1F1E9-1F1FF":["flag_dz"],"1F1EA-1F1E6":["flag_ea"],"1F1EA-1F1E8":["flag_ec"],"1F1EA-1F1EA":["flag_ee"],"1F1EA-1F1EC":["flag_eg"],"1F1EA-1F1ED":["flag_eh"],"1F1EA-1F1F7":["flag_er"],"1F1EA-1F1F8":["flag_es"],"1F1EA-1F1F9":["flag_et"],"1F1EA-1F1FA":["flag_eu"],"1F1EB-1F1EE":["flag_fi"],"1F1EB-1F1EF":["flag_fj"],"1F1EB-1F1F0":["flag_fk"],"1F1EB-1F1F2":["flag_fm"],"1F1EB-1F1F4":["flag_fo"],"1F1EB-1F1F7":["flag_fr"],"1F1EC-1F1E6":["flag_ga"],"1F1EC-1F1E7":["flag_gb"],"1F1EC-1F1E9":["flag_gd"],"1F1EC-1F1EA":["flag_ge"],"1F1EC-1F1EB":["flag_gf"],"1F1EC-1F1EC":["flag_gg"],"1F1EC-1F1ED":["flag_gh"],"1F1EC-1F1EE":["flag_gi"],"1F1EC-1F1F1":["flag_gl"],"1F1EC-1F1F2":["flag_gm"],"1F1EC-1F1F3":["flag_gn"],"1F1EC-1F1F5":["flag_gp"],"1F1EC-1F1F6":["flag_gq"],"1F1EC-1F1F7":["flag_gr"],"1F1EC-1F1F8":["flag_gs"],"1F1EC-1F1F9":["flag_gt"],"1F1EC-1F1FA":["flag_gu"],"1F1EC-1F1FC":["flag_gw"],"1F1EC-1F1FE":["flag_gy"],"1F1ED-1F1F0":["flag_hk"],"1F1ED-1F1F2":["flag_hm"],"1F1ED-1F1F3":["flag_hn"],"1F1ED-1F1F7":["flag_hr"],"1F1ED-1F1F9":["flag_ht"],"1F1ED-1F1FA":["flag_hu"],"1F1EE-1F1E8":["flag_ic"],"1F1EE-1F1E9":["flag_id"],"1F1EE-1F1EA":["flag_ie"],"1F1EE-1F1F1":["flag_il"],"1F1EE-1F1F2":["flag_im"],"1F1EE-1F1F3":["flag_in"],"1F1EE-1F1F4":["flag_io"],"1F1EE-1F1F6":["flag_iq"],"1F1EE-1F1F7":["flag_ir"],"1F1EE-1F1F8":["flag_is"],"1F1EE-1F1F9":["flag_it"],"1F1EF-1F1EA":["flag_je"],"1F1EF-1F1F2":["flag_jm"],"1F1EF-1F1F4":["flag_jo"],"1F1EF-1F1F5":["flag_jp"],"1F1F0-1F1EA":["flag_ke"],"1F1F0-1F1EC":["flag_kg"],"1F1F0-1F1ED":["flag_kh"],"1F1F0-1F1EE":["flag_ki"],"1F1F0-1F1F2":["flag_km"],"1F1F0-1F1F3":["flag_kn"],"1F1F0-1F1F5":["flag_kp"],"1F1F0-1F1F7":["flag_kr"],"1F1F0-1F1FC":["flag_kw"],"1F1F0-1F1FE":["flag_ky"],"1F1F0-1F1FF":["flag_kz"],"1F1F1-1F1E6":["flag_la"],"1F1F1-1F1E7":["flag_lb"],"1F1F1-1F1E8":["flag_lc"],"1F1F1-1F1EE":["flag_li"],"1F1F1-1F1F0":["flag_lk"],"1F1F1-1F1F7":["flag_lr"],"1F1F1-1F1F8":["flag_ls"],"1F1F1-1F1F9":["flag_lt"],"1F1F1-1F1FA":["flag_lu"],"1F1F1-1F1FB":["flag_lv"],"1F1F1-1F1FE":["flag_ly"],"1F1F2-1F1E6":["flag_ma"],"1F1F2-1F1E8":["flag_mc"],"1F1F2-1F1E9":["flag_md"],"1F1F2-1F1EA":["flag_me"],"1F1F2-1F1EB":["flag_mf"],"1F1F2-1F1EC":["flag_mg"],"1F1F2-1F1ED":["flag_mh"],"1F1F2-1F1F0":["flag_mk"],"1F1F2-1F1F1":["flag_ml"],"1F1F2-1F1F2":["flag_mm"],"1F1F2-1F1F3":["flag_mn"],"1F1F2-1F1F4":["flag_mo"],"1F1F2-1F1F5":["flag_mp"],"1F1F2-1F1F6":["flag_mq"],"1F1F2-1F1F7":["flag_mr"],"1F1F2-1F1F8":["flag_ms"],"1F1F2-1F1F9":["flag_mt"],"1F1F2-1F1FA":["flag_mu"],"1F1F2-1F1FB":["flag_mv"],"1F1F2-1F1FC":["flag_mw"],"1F1F2-1F1FD":["flag_mx"],"1F1F2-1F1FE":["flag_my"],"1F1F2-1F1FF":["flag_mz"],"1F1F3-1F1E6":["flag_na"],"1F1F3-1F1E8":["flag_nc"],"1F1F3-1F1EA":["flag_ne"],"1F1F3-1F1EB":["flag_nf"],"1F1F3-1F1EC":["flag_ng"],"1F1F3-1F1EE":["flag_ni"],"1F1F3-1F1F1":["flag_nl"],"1F1F3-1F1F4":["flag_no"],"1F1F3-1F1F5":["flag_np"],"1F1F3-1F1F7":["flag_nr"],"1F1F3-1F1FA":["flag_nu"],"1F1F3-1F1FF":["flag_nz"],"1F1F4-1F1F2":["flag_om"],"1F1F5-1F1E6":["flag_pa"],"1F1F5-1F1EA":["flag_pe"],"1F1F5-1F1EB":["flag_pf"],"1F1F5-1F1EC":["flag_pg"],"1F1F5-1F1ED":["flag_ph"],"1F1F5-1F1F0":["flag_pk"],"1F1F5-1F1F1":["flag_pl"],"1F1F5-1F1F2":["flag_pm"],"1F1F5-1F1F3":["flag_pn"],"1F1F5-1F1F7":["flag_pr"],"1F1F5-1F1F8":["flag_ps"],"1F1F5-1F1F9":["flag_pt"],"1F1F5-1F1FC":["flag_pw"],"1F1F5-1F1FE":["flag_py"],"1F1F6-1F1E6":["flag_qa"],"1F1F7-1F1EA":["flag_re"],"1F1F7-1F1F4":["flag_ro"],"1F1F7-1F1F8":["flag_rs"],"1F1F7-1F1FA":["flag_ru"],"1F1F7-1F1FC":["flag_rw"],"1F1F8-1F1E6":["flag_sa"],"1F1F8-1F1E7":["flag_sb"],"1F1F8-1F1E8":["flag_sc"],"1F1F8-1F1E9":["flag_sd"],"1F1F8-1F1EA":["flag_se"],"1F1F8-1F1EC":["flag_sg"],"1F1F8-1F1ED":["flag_sh"],"1F1F8-1F1EE":["flag_si"],"1F1F8-1F1EF":["flag_sj"],"1F1F8-1F1F0":["flag_sk"],"1F1F8-1F1F1":["flag_sl"],"1F1F8-1F1F2":["flag_sm"],"1F1F8-1F1F3":["flag_sn"],"1F1F8-1F1F4":["flag_so"],"1F1F8-1F1F7":["flag_sr"],"1F1F8-1F1F8":["flag_ss"],"1F1F8-1F1F9":["flag_st"],"1F1F8-1F1FB":["flag_sv"],"1F1F8-1F1FD":["flag_sx"],"1F1F8-1F1FE":["flag_sy"],"1F1F8-1F1FF":["flag_sz"],"1F1F9-1F1E6":["flag_ta"],"1F1F9-1F1E8":["flag_tc"],"1F1F9-1F1E9":["flag_td"],"1F1F9-1F1EB":["flag_tf"],"1F1F9-1F1EC":["flag_tg"],"1F1F9-1F1ED":["flag_th"],"1F1F9-1F1EF":["flag_tj"],"1F1F9-1F1F0":["flag_tk"],"1F1F9-1F1F1":["flag_tl"],"1F1F9-1F1F2":["flag_tm"],"1F1F9-1F1F3":["flag_tn"],"1F1F9-1F1F4":["flag_to"],"1F1F9-1F1F7":["flag_tr"],"1F1F9-1F1F9":["flag_tt"],"1F1F9-1F1FB":["flag_tv"],"1F1F9-1F1FC":["flag_tw"],"1F1F9-1F1FF":["flag_tz"],"1F1FA-1F1E6":["flag_ua"],"1F1FA-1F1EC":["flag_ug"],"1F1FA-1F1F2":["flag_um"],"1F1FA-1F1F3":["flag_un"],"1F1FA-1F1F8":["flag_us","usa"],"1F1FA-1F1FE":["flag_uy"],"1F1FA-1F1FF":["flag_uz"],"1F1FB-1F1E6":["flag_va"],"1F1FB-1F1E8":["flag_vc"],"1F1FB-1F1EA":["flag_ve"],"1F1FB-1F1EC":["flag_vg"],"1F1FB-1F1EE":["flag_vi"],"1F1FB-1F1F3":["flag_vn"],"1F1FB-1F1FA":["flag_vu"],"1F1FC-1F1EB":["flag_wf"],"1F1FC-1F1F8":["flag_ws"],"1F1FD-1F1F0":["flag_xk"],"1F1FE-1F1EA":["flag_ye"],"1F1FE-1F1F9":["flag_yt"],"1F1FF-1F1E6":["flag_za"],"1F1FF-1F1F2":["flag_zm"],"1F1FF-1F1FC":["flag_zw"],"1F3F4-E0067-E0062-E0065-E006E-E0067-E007F":["flag_gbeng","england"],"1F3F4-E0067-E0062-E0073-E0063-E0074-E007F":["flag_gbsct","scotland"],"1F3F4-E0067-E0062-E0077-E006C-E0073-E007F":["flag_gbwls","wales"]}');var k=function e(F,a){return void 0===a&&(a=1),F.reduce((function(F,t){return F.concat(a>1&&Array.isArray(t)?e(t,a-1):t)}),[])}(Object.values(A)),C=Object.entries(A),B=function(e){return String.fromCodePoint.apply(String,e.split("-").map((function(e){return"0x"+e})))},x=new Map,j=new function(e,F,a,t){var n={};e=e||[],n.gramSizeLower=a||2,n.gramSizeUpper=t||3,n.useLevenshtein="boolean"!=typeof F||F,n.exactSet={},n.matchDict={},n.items={};var o=function(e,F){if(null===e&&null===F)throw"Trying to compare two null values";if(null===e||null===F)return 0;var a=function(e,F){for(var a,t,n=[],o=0;o<=F.length;o++)for(var r=0;r<=e.length;r++)t=o&&r?e.charAt(r-1)===F.charAt(o-1)?a:Math.min(n[r],n[r-1],a)+1:o+r,a=n[r],n[r]=t;return n.pop()}(e=String(e),F=String(F));return e.length>F.length?1-a/e.length:1-a/F.length},r=/[^a-zA-Z0-9\u00C0-\u00FF\u0621-\u064A\u0660-\u0669, ]+/g,i=function(e,F){for(var a={},t=function(e,F){F=F||2;var a="-"+e.toLowerCase().replace(r,"")+"-",t=F-a.length,n=[];if(t>0)for(var o=0;o=this.gramSizeLower;--t)if((a=this.__get(e,t,F))&&a.length>0)return a;return null},n.__get=function(e,F,a){var t,n,r,l,s=this._normalizeStr(e),c={},_=i(s,F),u=this.items[F],f=0;for(t in _)if(n=_[t],f+=Math.pow(n,2),t in this.matchDict)for(D=0;DF[0]?-1:0};if(p.sort(h),this.useLevenshtein){for(var E=[],b=Math.min(50,p.length),D=0;D=a&&E.push([e[0],this.exactSet[e[1]]])}.bind(this)),E},n.add=function(e){if(this._normalizeStr(e)in this.exactSet)return!1;for(var F=this.gramSizeLower;F1?m("span",{className:"count"},r):""))}}))),(!Object.keys(this.loading).length||this.loading.null)&&!this.post.userReaction()&&a&&m("div",{className:"Reactions--react"},this.reactButton(),m("div",{className:"CommentPost--Reactions",style:1===this.post.number()?"":"left: -28%;"},m("ul",{className:"Reactions--Ul"},V()(this.getReactions().toArray())))))},a.reactButton=function(){return m(K(),{className:"Button Button--link Reactions--ShowReactions",type:"Button",title:o().translator.trans("fof-reactions.forum.react_button_label"),loading:this.loading.null},m("span",{className:"Button-label"},m("svg",{class:"button-react",width:"20px",height:"20px",viewBox:"0 0 18 18"},m("g",{id:"Reaction",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},m("g",{id:"ic_reactions_grey"},m("g",{id:"Group-2"},m("g",{id:"0:0:0:0"},m("rect",{id:"Rectangle-5",x:"0",y:"0",width:"18",height:"18"}),m("g",{id:"emoticon"}),m("path",{d:"M14.6332705,7.33333333 C14.6554304,7.55389388 14.6666667,7.77636769 14.6666667,8 C14.6666667,11.6818983 11.6818983,14.6666667 8,14.6666667 C6.23189007,14.6666667 4.53619732,13.9642877 3.28595479,12.7140452 C2.03571227,11.4638027 1.33333333,9.76810993 1.33333333,8 C1.33333333,4.33333333 4.31333333,1.33333333 8,1.33333333 L8,1.33333333 C8.22363231,1.33333333 8.44610612,1.3445696 8.66666667,1.36672949 L8.66666667,2.70847693 C8.44668912,2.68076722 8.22407146,2.66666667 8,2.66666667 C5.05448133,2.66666667 2.66666667,5.05448133 2.66666667,8 C2.66666667,10.9455187 5.05448133,13.3333333 8,13.3333333 C10.9455187,13.3333333 13.3333333,10.9455187 13.3333333,8 C13.3333333,7.77592854 13.3192328,7.55331088 13.2915231,7.33333333 L14.6332705,7.33333333 Z M8,11.6666667 C9.55333333,11.6666667 10.8666667,10.6933333 11.4066667,9.33333333 L4.59333333,9.33333333 C5.12666667,10.6933333 6.44666667,11.6666667 8,11.6666667 Z M10.3333333,7.33333333 C10.8856181,7.33333333 11.3333333,6.88561808 11.3333333,6.33333333 C11.3333333,5.78104858 10.8856181,5.33333333 10.3333333,5.33333333 C9.78104858,5.33333333 9.33333333,5.78104858 9.33333333,6.33333333 C9.33333333,6.88561808 9.78104858,7.33333333 10.3333333,7.33333333 L10.3333333,7.33333333 Z M5.66666667,7.33333333 C6.21895142,7.33333333 6.66666667,6.88561808 6.66666667,6.33333333 C6.66666667,5.78104858 6.21895142,5.33333333 5.66666667,5.33333333 C5.11438192,5.33333333 4.66666667,5.78104858 4.66666667,6.33333333 C4.66666667,6.88561808 5.11438192,7.33333333 5.66666667,7.33333333 Z",id:"Combined-Shape",fill:"#667c99"})),m("g",{id:"Group-15",transform:"translate(10.666667, 0.000000)",fill:"#667c99"},m("polygon",{id:"Path",points:"3.33333333 2 3.33333333 0 2 0 2 2 0 2 0 3.33333333 2 3.33333333 2 5.33333333 3.33333333 5.33333333 3.33333333 3.33333333 5.33333333 3.33333333 5.33333333 2"}))))))))},a.react=function(e,F){var a=this;F.target.blur();var t=o().forum.attribute("fofReactionsAllowAnonymous");if(o().session.user||t){if(!this.post.canReact())return o().alerts.show({type:"error"},o().translator.trans("core.lib.error.permission_denied_message"));var n=e?e.id():null,r=this.post.reactionCounts();return this.loading[n]=!0,this.post.save({reaction:n}).then((function(F){for(var t in delete a.loading[n],r)F.reactionCounts().hasOwnProperty(t)||o().store.remove(o().store.getById("reactions",t));a.updateChosenReaction(),(void 0!==o().forum.data.relationships.ranks&&(o().forum.attribute("ReactionConverts")[0]===e||o().forum.attribute("ReactionConverts")[1]===e)||void 0!==a.post.data.relationships.likes&&o().forum.attribute("ReactionConverts")[2]===e)&&o().alerts.show({type:"warning"},o().translator.trans("fof-reactions.forum.warning",{reaction:e})),m.redraw()})).catch((function(e){delete a.loading[n],$("body").append(e),m.redraw()}))}o().modal.show(ee())},a.updateChosenReaction=function(){return this.reaction=this.post.userReaction()},F}(J());const le=flarum.core.compat["forum/utils/PostControls"];var se=a.n(le);function ce(e,F,a,t,n,o,r){try{var i=e[o](r),l=i.value}catch(e){return void a(e)}i.done?F(l):Promise.resolve(l).then(t,n)}var _e=a(195),ue=a.n(_e);const fe=flarum.core.compat["common/components/Modal"];var ge=a.n(fe);const me=flarum.core.compat["common/components/LoadingIndicator"];var pe=a.n(me);const de=flarum.core.compat["common/helpers/avatar"];var he=a.n(de);const Ee=flarum.core.compat["common/helpers/username"];var be=a.n(Ee);const De=flarum.core.compat["common/components/Link"];var we=a.n(De);const ye=function(e,F){return e.map("function"==typeof F?F:function(e){return e[F]}).reduce((function(F,a,t){return F[a]=(F[a]||[]).concat(e[t]),F}),{})};function ve(e,F){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=function(e,F){if(e){if("string"==typeof e)return Ae(e,F);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Ae(e,F):void 0}}(e))||F&&e&&"number"==typeof e.length){a&&(e=a);var t=0;return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ae(e,F){(null==F||F>e.length)&&(F=e.length);for(var a=0,t=new Array(F);a0&&m("li",null,o().translator.trans("fof-reactions.forum.modal.anonymous_count",{count:a})))},a.load=function(){var e,F=(e=ue().mark((function e(){var F,a,t,n,r,i,l,s,c,_,u,f;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,e.next=3,o().store.find("/posts/"+this.attrs.post.id()+"/reactions",{include:"user,reaction"});case 3:F=e.sent,a=ye(F,(function(e){return e.reactionId()})),t=[],e.t0=ue().keys(a);case 7:if((e.t1=e.t0()).done){e.next=18;break}if(n=e.t1.value,r=o().store.getById("reactions",n)){e.next=12;break}return e.abrupt("continue",7);case 12:for(i=[],l=0,s=ve(a[n]);!(c=s()).done;)_=c.value,null===(u=_.userId())?l++:(f=o().store.getById("users",u))&&i.push(f);t.push({reaction:r,users:i,anonymousCount:l}),e.next=7;break;case 18:this.reactions=t,this.loading=!1;case 20:case"end":return e.stop()}}),e,this)})),function(){var F=this,a=arguments;return new Promise((function(t,n){var o=e.apply(F,a);function r(e){ce(o,t,n,r,i,"next",e)}function i(e){ce(o,t,n,r,i,"throw",e)}r(void 0)}))});return function(){return F.apply(this,arguments)}}(),F}(ge()),Ce={PostReactAction:ie,PostReactedNotification:z,ReactionsModal:ke},Be={PostReaction:O},xe={groupBy:ye},je={ReactionComponent:re},Re={Reaction:S},ze={emoji:R};o().initializers.add("fof/reactions",(function(){o().store.models.reactions=S,o().store.models.post_reactions=O,o().notificationComponents.postReacted=z,_().prototype.canReact=f().attribute("canReact"),_().prototype.reactionCounts=f().attribute("reactionCounts"),_().prototype.userReaction=f().attribute("userReaction"),i().prototype.reactions=f().hasMany("reactions"),s().prototype.canSeeReactions=f().attribute("canSeeReactions"),(0,t.extend)(U().prototype,"actionItems",(function(e){var F=this.attrs.post;if(!F.isHidden()){var a=o().session.user&&null!==F.userReaction();e.add("react",ie.component({post:F,hasReacted:a}),5)}})),(0,t.extend)(se(),"moderationControls",(function(e,F){var a=F.reactionCounts(),t=a&&Object.keys(a).length>0;F.discussion().canSeeReactions()&&t&&e.add("viewReactions",m(K(),{icon:"fas fa-heart",onclick:function(){return o().modal.show(ke,{post:F})}},o().translator.trans("fof-reactions.forum.mod_item")))})),(0,t.extend)(M().prototype,"config",(function(e,F,a){F||o().pusher&&o().pusher.then((function(e){e.main.bind("newReaction",(function(e){var F=e.postId,a=e.reactionId,t=o().store.getById("reactions",a),n=o().store.getById("posts",F);t&&n&&T(F)})),e.main.bind("removedReaction",(function(e){var F=e.userId,a=e.postId,t=e.reactionId,n=o().store.all("post_reactions").filter((function(e){return e.userId()==F&&e.postId()==a&&e.reactionId()==t}))[0];n&&(o().store.remove(n),T(a),m.redraw())})),(0,t.extend)(a,"onunload",(function(){return e.main.unbind("newReaction")})),(0,t.extend)(a,"onunload",(function(){return e.main.unbind("removedReaction")}))}))})),(0,t.extend)(p().prototype,"notificationTypes",(function(e){e.add("postReacted",{name:"postReacted",icon:"far fa-smile",label:o().translator.trans("fof-reactions.forum.settings.notify_post_reacted_label")})}))}))}},F={};function a(t){var n=F[t];if(void 0!==n)return n.exports;var o=F[t]={exports:{}};return e[t](o,o.exports,a),o.exports}a.n=e=>{var F=e&&e.__esModule?()=>e.default:()=>e;return a.d(F,{a:F}),F},a.d=(e,F)=>{for(var t in F)a.o(F,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:F[t]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,F)=>Object.prototype.hasOwnProperty.call(e,F),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{"use strict";a.r(t),a.d(t,{commonComponents:()=>n.pM,commonModels:()=>n.a7,commonUtil:()=>n.le,components:()=>n.wx,models:()=>n.Cq,utils:()=>n.P6});var e=a(656),F={};for(const a in e)"default"!==a&&(F[a]=()=>e[a]);a.d(t,F);var n=a(621)})(),module.exports=t})(); +(()=>{var e={195:(e,F,a)=>{e.exports=a(236)},987:(e,F,a)=>{var t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,r=/^0o[0-7]+$/i,i=parseInt,l="object"==typeof a.g&&a.g&&a.g.Object===Object&&a.g,s="object"==typeof self&&self&&self.Object===Object&&self,c=l||s||Function("return this")(),_=Object.prototype.toString,u=Math.max,f=Math.min,g=function(){return c.Date.now()};function m(e){var F=typeof e;return!!e&&("object"==F||"function"==F)}function p(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==_.call(e)}(e))return NaN;if(m(e)){var F="function"==typeof e.valueOf?e.valueOf():e;e=m(F)?F+"":F}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(t,"");var a=o.test(e);return a||r.test(e)?i(e.slice(2),a?2:8):n.test(e)?NaN:+e}e.exports=function(e,F,a){var t,n,o,r,i,l,s=0,c=!1,_=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(F){var a=t,o=n;return t=n=void 0,s=F,r=e.apply(o,a)}function E(e){var a=e-l;return void 0===l||a>=F||a<0||_&&e-s>=o}function b(){var e=g();if(E(e))return D(e);i=setTimeout(b,function(e){var a=F-(e-l);return _?f(a,o-(e-s)):a}(e))}function D(e){return i=void 0,d&&t?h(e):(t=n=void 0,r)}function w(){var e=g(),a=E(e);if(t=arguments,n=this,l=e,a){if(void 0===i)return function(e){return s=e,i=setTimeout(b,F),c?h(e):r}(l);if(_)return i=setTimeout(b,F),h(l)}return void 0===i&&(i=setTimeout(b,F)),r}return F=p(F)||0,m(a)&&(c=!!a.leading,o=(_="maxWait"in a)?u(p(a.maxWait)||0,F):o,d="trailing"in a?!!a.trailing:d),w.cancel=function(){void 0!==i&&clearTimeout(i),s=0,t=l=n=i=void 0},w.flush=function(){return void 0===i?r:D(g())},w}},236:e=>{var F=function(e){"use strict";var F,a=Object.prototype,t=a.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function l(e,F,a){return Object.defineProperty(e,F,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[F]}try{l({},"")}catch(e){l=function(e,F,a){return e[F]=a}}function s(e,F,a,t){var n=F&&F.prototype instanceof p?F:p,o=Object.create(n.prototype),r=new B(t||[]);return o._invoke=function(e,F,a){var t=_;return function(n,o){if(t===f)throw new Error("Generator is already running");if(t===g){if("throw"===n)throw o;return j()}for(a.method=n,a.arg=o;;){var r=a.delegate;if(r){var i=A(r,a);if(i){if(i===m)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(t===_)throw t=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);t=f;var l=c(e,F,a);if("normal"===l.type){if(t=a.done?g:u,l.arg===m)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(t=g,a.method="throw",a.arg=l.arg)}}}(e,a,r),o}function c(e,F,a){try{return{type:"normal",arg:e.call(F,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var _="suspendedStart",u="suspendedYield",f="executing",g="completed",m={};function p(){}function d(){}function h(){}var E={};l(E,o,(function(){return this}));var b=Object.getPrototypeOf,D=b&&b(b(x([])));D&&D!==a&&t.call(D,o)&&(E=D);var w=h.prototype=p.prototype=Object.create(E);function y(e){["next","throw","return"].forEach((function(F){l(e,F,(function(e){return this._invoke(F,e)}))}))}function v(e,F){function a(n,o,r,i){var l=c(e[n],e,o);if("throw"!==l.type){var s=l.arg,_=s.value;return _&&"object"==typeof _&&t.call(_,"__await")?F.resolve(_.__await).then((function(e){a("next",e,r,i)}),(function(e){a("throw",e,r,i)})):F.resolve(_).then((function(e){s.value=e,r(s)}),(function(e){return a("throw",e,r,i)}))}i(l.arg)}var n;this._invoke=function(e,t){function o(){return new F((function(F,n){a(e,t,F,n)}))}return n=n?n.then(o,o):o()}}function A(e,a){var t=e.iterator[a.method];if(t===F){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=F,A(e,a),"throw"===a.method))return m;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=c(t,e.iterator,a.arg);if("throw"===n.type)return a.method="throw",a.arg=n.arg,a.delegate=null,m;var o=n.arg;return o?o.done?(a[e.resultName]=o.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=F),a.delegate=null,m):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,m)}function k(e){var F={tryLoc:e[0]};1 in e&&(F.catchLoc=e[1]),2 in e&&(F.finallyLoc=e[2],F.afterLoc=e[3]),this.tryEntries.push(F)}function C(e){var F=e.completion||{};F.type="normal",delete F.arg,e.completion=F}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function x(e){if(e){var a=e[o];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function a(){for(;++n=0;--o){var r=this.tryEntries[o],i=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var l=t.call(r,"catchLoc"),s=t.call(r,"finallyLoc");if(l&&s){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&t.call(n,"finallyLoc")&&this.prev=0;--F){var a=this.tryEntries[F];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),C(a),m}},catch:function(e){for(var F=this.tryEntries.length-1;F>=0;--F){var a=this.tryEntries[F];if(a.tryLoc===e){var t=a.completion;if("throw"===t.type){var n=t.arg;C(a)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,t){return this.delegate={iterator:x(e),resultName:a,nextLoc:t},"next"===this.method&&(this.arg=F),m}},e}(e.exports);try{regeneratorRuntime=F}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=F:Function("r","regeneratorRuntime = r")(F)}},656:()=>{},621:(e,F,a)=>{"use strict";a.d(F,{pM:()=>je,a7:()=>Re,le:()=>ze,wx:()=>Ce,Cq:()=>Be,P6:()=>xe});const t=flarum.core.compat["common/extend"],n=flarum.core.compat["forum/app"];var o=a.n(n);const r=flarum.core.compat["common/models/Forum"];var i=a.n(r);const l=flarum.core.compat["common/models/Discussion"];var s=a.n(l);const c=flarum.core.compat["common/models/Post"];var _=a.n(c);const u=flarum.core.compat["common/Model"];var f=a.n(u);const g=flarum.core.compat["forum/components/NotificationGrid"];var p=a.n(g);function d(e,F){return d=Object.setPrototypeOf||function(e,F){return e.__proto__=F,e},d(e,F)}function h(e,F){e.prototype=Object.create(F.prototype),e.prototype.constructor=e,d(e,F)}const E=flarum.core.compat["forum/components/Notification"];var b=a.n(E);const D=flarum.core.compat["common/helpers/icon"];var w=a.n(D);const y=flarum.core.compat["common/app"];var v=a.n(y);const A=JSON.parse('{"2049":["interrobang","exclamation_question"],"2122":["tm"],"2139":["info"],"2194":["arrow_left_right"],"2195":["arrow_up_down"],"2196":["arrow_upper_left"],"2197":["arrow_upper_right"],"2198":["arrow_lower_right"],"2199":["arrow_lower_left"],"2328":["keyboard"],"2600":["sun"],"2601":["cloud"],"2602":["umbrella"],"2603":["snowy_snowman"],"2604":["comet"],"2611":["checked_ballot"],"2614":["umbrella_rain"],"2615":["coffee"],"2618":["shamrock"],"2620":["crossbones"],"2622":["radioactive"],"2623":["biohazard"],"2626":["orthodox_cross"],"2638":["wheel_of_dharma"],"2639":["sad","frowning"],"2640":["female","female_sign"],"2642":["male","male_sign"],"2648":["aries"],"2649":["taurus"],"2650":["sagittarius"],"2651":["capricorn"],"2652":["aquarius"],"2653":["pisces"],"2660":["spades"],"2663":["clubs"],"2665":["hearts"],"2666":["diamonds"],"2668":["hotsprings"],"2692":["hammer_pick"],"2693":["anchor"],"2694":["crossed_swords"],"2695":["medical"],"2696":["scales"],"2697":["alembic"],"2699":["gear"],"2702":["scissors"],"2705":["white_check_mark"],"2708":["airplane"],"2709":["envelope"],"2712":["black_nib"],"2714":["check_mark"],"2716":["multiplication"],"2721":["star_of_david"],"2728":["sparkles"],"2733":["eight_spoked_asterisk"],"2734":["eight_pointed_star"],"2744":["snowflake"],"2747":["sparkle"],"2753":["question"],"2754":["white_question"],"2755":["white_exclamation"],"2757":["exclamation"],"2763":["heart_exclamation"],"2764":["heart"],"2795":["plus"],"2796":["minus"],"2797":["division"],"2934":["arrow_heading_up"],"2935":["arrow_heading_down"],"3030":["wavy_dash"],"3297":["ja_congratulations"],"3299":["ja_secret"],"1F1E6":["regional_indicator_a"],"1F1E7":["regional_indicator_b"],"1F1E8":["regional_indicator_c"],"1F1E9":["regional_indicator_d"],"1F1EA":["regional_indicator_e"],"1F1EB":["regional_indicator_f"],"1F1EC":["regional_indicator_g"],"1F1ED":["regional_indicator_h"],"1F1EE":["regional_indicator_i"],"1F1EF":["regional_indicator_j"],"1F1F0":["regional_indicator_k"],"1F1F1":["regional_indicator_l"],"1F1F2":["regional_indicator_m"],"1F1F3":["regional_indicator_n"],"1F1F4":["regional_indicator_o"],"1F1F5":["regional_indicator_p"],"1F1F6":["regional_indicator_q"],"1F1F7":["regional_indicator_r"],"1F1F8":["regional_indicator_s"],"1F1F9":["regional_indicator_t"],"1F1FA":["regional_indicator_u"],"1F1FB":["regional_indicator_v"],"1F1FC":["regional_indicator_w"],"1F1FD":["regional_indicator_x"],"1F1FE":["regional_indicator_y"],"1F1FF":["regional_indicator_z"],"1F600":["gleeful"],"1F603":["glad","smile"],"1F604":["happy"],"1F601":["blissful","grin"],"1F606":["amused","laugh","lol"],"1F605":["embarassed","sweat_smile"],"1F923":["entertained","rofl"],"1F602":["joyful","haha"],"1F642":["pleased","slight_smile"],"1F643":["ecstatic","upside_down"],"1FAE0":["melt","melting_face"],"1F609":["coy","wink"],"1F60A":["blush"],"1F607":["innocent","halo"],"1F970":["love"],"1F60D":["lovestruck"],"1F929":["starstruck"],"1F618":["flirty"],"1F617":["kiss"],"263A":["relaxed"],"1F61A":["loving_kiss"],"1F619":["happy_kiss"],"1F972":["tear_smile"],"1F60B":["yum","savour"],"1F61B":["playful","tongue_out"],"1F61C":["mischievous"],"1F92A":["crazy"],"1F61D":["facetious","lmao"],"1F911":["pretentious","money_mouth"],"1F917":["hugging"],"1F92D":["gasp"],"1FAE2":["face_with_open_eyes_hand_over_mouth","gasp"],"1FAE3":["face_with_peeking_eye","peek"],"1F92B":["shushing"],"1F914":["curious","thinking"],"1FAE1":["salute","saluting_face"],"1F910":["silenced","zipper_mouth"],"1F928":["contempt"],"1F610":["indifferent","neutral"],"1F611":["apathetic","expressionless"],"1F636":["vacant","no_mouth"],"1FAE5":["dotted_line_face"],"1F636-200D-1F32B-FE0F":["in_clouds"],"1F60F":["cocky","smirk"],"1F612":["unamused"],"1F644":["disbelief"],"1F62C":["grimaced"],"1F62E-200D-1F4A8":["exhale","exhaling"],"1F925":["lying"],"1F60C":["relieved"],"1F614":["pensive"],"1F62A":["sleepy"],"1F924":["drooling"],"1F634":["exhausted","sleeping"],"1F637":["ill","mask"],"1F912":["sick"],"1F915":["injured"],"1F922":["nauseated"],"1F92E":["vomiting"],"1F927":["sneezing"],"1F975":["overheating"],"1F976":["freezing"],"1F974":["woozy"],"1F635":["dizzy"],"1F635-200D-1F4AB":["dizzy_eyes"],"1F92F":["shocked","exploding_head"],"1F920":["cowboy"],"1F973":["partying","celebrating"],"1F978":["disguised_face"],"1F60E":["confident"],"1F913":["nerd"],"1F9D0":["monocle"],"1F615":["confused"],"1FAE4":["face_with_diagonal_mouth"],"1F61F":["worried"],"1F641":["cheerless","slight_frown"],"1F62E":["surprised"],"1F62F":["hushed"],"1F632":["astonished"],"1F633":["flushed"],"1F97A":["pleading"],"1F979":["face_holding_back_tears","watery_eyes"],"1F626":["bored"],"1F627":["anguished","wtf"],"1F628":["fearful"],"1F630":["cold_sweat","anxious","frustrated"],"1F625":["gloomy"],"1F622":["upset","cry"],"1F62D":["distressed","sob"],"1F631":["frightened","scream"],"1F616":["confounded"],"1F623":["persevered"],"1F61E":["disappointed"],"1F613":["shamed"],"1F629":["weary"],"1F62B":["tired"],"1F971":["yawn"],"1F624":["annoyed","hrmph"],"1F621":["enraged","pout"],"1F620":["angry"],"1F92C":["censored"],"1F608":["imp"],"1F47F":["angry_imp"],"1F480":["skull"],"1F4A9":["poop"],"1F921":["clown"],"1F479":["ogre"],"1F47A":["goblin"],"1F47B":["ghost"],"1F47D":["alien"],"1F47E":["alien_monster","space_invader"],"1F916":["robot"],"1F63A":["smiling_cat"],"1F638":["grinning_cat"],"1F639":["joyful_cat"],"1F63B":["lovestruck_cat"],"1F63C":["smirking_cat"],"1F63D":["kissing_cat"],"1F640":["weary_cat"],"1F63F":["crying_cat"],"1F63E":["pouting_cat"],"1F648":["see_no_evil"],"1F649":["hear_no_evil"],"1F64A":["speak_no_evil"],"1F48B":["kiss_lips"],"1F48C":["love_letter"],"1F498":["cupid"],"1F49D":["heart_ribbon"],"1F496":["sparkling_heart"],"1F497":["heartpulse"],"1F493":["heartbeat"],"1F49E":["revolving_hearts"],"1F495":["two_hearts"],"1F49F":["heart_decoration"],"1F494":["broken_heart"],"2764-FE0F-200D-1F525":["heart_on_fire"],"2764-FE0F-200D-1FA79":["mending_heart"],"1F9E1":["orange_heart"],"1F49B":["yellow_heart"],"1F49A":["green_heart"],"1F499":["blue_heart"],"1F49C":["purple_heart"],"1F90E":["brown_heart"],"1F5A4":["black_heart"],"1F90D":["white_heart"],"1F4AF":["100"],"1F4A2":["anger"],"1F4A5":["boom","collision"],"1F4AB":["dizzy_star"],"1F4A6":["sweat_drops"],"1F4A8":["dash"],"1F573":["hole"],"1F4A3":["bomb"],"1F4AC":["speech"],"1F441-FE0F-200D-1F5E8-FE0F":["eye_bubble"],"1F5E8":["left_speech"],"1F5EF":["right_anger_speech"],"1F4AD":["thought"],"1F4A4":["zzz"],"1F44B":["wave"],"1F91A":["raised_backhand"],"1F590":["splayed_hand"],"270B":["raised_hand"],"1F596":["vulcan"],"1FAF1":["rightwards_hand"],"1FAF2":["leftwards_hand"],"1FAF3":["palm_down"],"1FAF4":["palm_up"],"1F44C":["ok_hand"],"1F90C":["pinched_fingers"],"1F90F":["pinch"],"270C":["victory"],"1F91E":["fingers_crossed"],"1FAF0":["hand_with_index_finger_and_thumb_crossed"],"1F91F":["love_you_gesture"],"1F918":["metal"],"1F919":["call_me"],"1F448":["point_left"],"1F449":["point_right"],"1F446":["backhand_point_up"],"1F595":["middle_finger"],"1F447":["point_down"],"261D":["point_up"],"1FAF5":["point_forward"],"1F44D":["thumbsup","+1","y","yes"],"1F44E":["thumbsdown","-1","n","no"],"270A":["fist"],"1F44A":["punch"],"1F91B":["left_facing_fist"],"1F91C":["right_facing_fist"],"1F44F":["clap"],"1F64C":["raised_hands"],"1FAF6":["heart_hands"],"1F450":["open_hands"],"1F932":["palms_up"],"1F91D":["handshake"],"1F64F":["pray"],"270D":["writing_hand"],"1F485":["nail_care"],"1F933":["selfie"],"1F4AA":["muscle","right_bicep"],"1F9BE":["mech_arm"],"1F9BF":["mech_leg"],"1F9B5":["leg"],"1F9B6":["foot"],"1F442":["ear"],"1F9BB":["hearing_aid"],"1F443":["nose"],"1F9E0":["brain"],"1FAC0":["anatomical_heart"],"1FAC1":["lungs"],"1F9B7":["tooth"],"1F9B4":["bone"],"1F440":["eyes"],"1F441":["eye"],"1F445":["tongue"],"1F444":["lips"],"1FAE6":["biting_lip"],"1F476":["baby"],"1F9D2":["child"],"1F466":["boy"],"1F467":["girl"],"1F9D1":["adult"],"1F471":["blond_person"],"1F468":["man"],"1F9D4":["bearded_person"],"1F9D4-200D-2642-FE0F":["man_bearded"],"1F9D4-200D-2640-FE0F":["woman_bearded"],"1F468-200D-1F9B0":["red_haired_man"],"1F468-200D-1F9B1":["curly_haired_man"],"1F468-200D-1F9B3":["white_haired_man"],"1F468-200D-1F9B2":["bald_man"],"1F469":["woman"],"1F469-200D-1F9B0":["red_haired_woman"],"1F9D1-200D-1F9B0":["red_haired_person"],"1F469-200D-1F9B1":["curly_haired_woman"],"1F9D1-200D-1F9B1":["curly_haired_person"],"1F469-200D-1F9B3":["white_haired_woman"],"1F9D1-200D-1F9B3":["white_haired_person"],"1F469-200D-1F9B2":["bald_woman"],"1F9D1-200D-1F9B2":["bald_person"],"1F471-200D-2640-FE0F":["blond_woman"],"1F471-200D-2642-FE0F":["blond_man"],"1F9D3":["older_adult"],"1F474":["older_man"],"1F475":["older_woman"],"1F64D":["person_frowning"],"1F64D-200D-2642-FE0F":["man_frowning"],"1F64D-200D-2640-FE0F":["woman_frowning"],"1F64E":["person_pouting"],"1F64E-200D-2642-FE0F":["man_pouting"],"1F64E-200D-2640-FE0F":["woman_pouting"],"1F645":["person_gesturing_no"],"1F645-200D-2642-FE0F":["man_gesturing_no"],"1F645-200D-2640-FE0F":["woman_gesturing_no"],"1F646":["person_gesturing_ok"],"1F646-200D-2642-FE0F":["man_gesturing_ok"],"1F646-200D-2640-FE0F":["woman_gesturing_ok"],"1F481":["person_tipping_hand"],"1F481-200D-2642-FE0F":["man_tipping_hand"],"1F481-200D-2640-FE0F":["woman_tipping_hand"],"1F64B":["person_raising_hand"],"1F64B-200D-2642-FE0F":["man_raising_hand"],"1F64B-200D-2640-FE0F":["woman_raising_hand"],"1F9CF":["person_deaf"],"1F9CF-200D-2642-FE0F":["man_deaf"],"1F9CF-200D-2640-FE0F":["woman_deaf"],"1F647":["person_bowing"],"1F647-200D-2642-FE0F":["man_bowing"],"1F647-200D-2640-FE0F":["woman_bowing"],"1F926":["person_facepalming"],"1F926-200D-2642-FE0F":["man_facepalming"],"1F926-200D-2640-FE0F":["woman_facepalming"],"1F937":["person_shrugging"],"1F937-200D-2642-FE0F":["man_shrugging"],"1F937-200D-2640-FE0F":["woman_shrugging"],"1F9D1-200D-2695-FE0F":["person_health_worker"],"1F468-200D-2695-FE0F":["man_health_worker"],"1F469-200D-2695-FE0F":["woman_health_worker"],"1F9D1-200D-1F393":["person_student"],"1F468-200D-1F393":["man_student"],"1F469-200D-1F393":["woman_student"],"1F9D1-200D-1F3EB":["person_teacher"],"1F468-200D-1F3EB":["man_teacher"],"1F469-200D-1F3EB":["woman_teacher"],"1F9D1-200D-2696-FE0F":["person_judge"],"1F468-200D-2696-FE0F":["man_judge"],"1F469-200D-2696-FE0F":["woman_judge"],"1F9D1-200D-1F33E":["person_farmer"],"1F468-200D-1F33E":["man_farmer"],"1F469-200D-1F33E":["woman_farmer"],"1F9D1-200D-1F373":["person_cook"],"1F468-200D-1F373":["man_cook"],"1F469-200D-1F373":["woman_cook"],"1F9D1-200D-1F527":["person_mechanic"],"1F468-200D-1F527":["man_mechanic"],"1F469-200D-1F527":["woman_mechanic"],"1F9D1-200D-1F3ED":["person_factory_worker"],"1F468-200D-1F3ED":["man_factory_worker"],"1F469-200D-1F3ED":["woman_factory_worker"],"1F9D1-200D-1F4BC":["person_office_worker"],"1F468-200D-1F4BC":["man_office_worker"],"1F469-200D-1F4BC":["woman_office_worker"],"1F9D1-200D-1F52C":["person_scientist"],"1F468-200D-1F52C":["man_scientist"],"1F469-200D-1F52C":["woman_scientist"],"1F9D1-200D-1F4BB":["person_technologist"],"1F468-200D-1F4BB":["man_technologist"],"1F469-200D-1F4BB":["woman_technologist"],"1F9D1-200D-1F3A4":["person_singer"],"1F468-200D-1F3A4":["man_singer"],"1F469-200D-1F3A4":["woman_singer"],"1F9D1-200D-1F3A8":["person_artist"],"1F468-200D-1F3A8":["man_artist"],"1F469-200D-1F3A8":["woman_artist"],"1F9D1-200D-2708-FE0F":["person_pilot"],"1F468-200D-2708-FE0F":["man_pilot"],"1F469-200D-2708-FE0F":["woman_pilot"],"1F9D1-200D-1F680":["person_astronaut"],"1F468-200D-1F680":["man_astronaut"],"1F469-200D-1F680":["woman_astronaut"],"1F9D1-200D-1F692":["person_firefighter"],"1F468-200D-1F692":["man_firefighter"],"1F469-200D-1F692":["woman_firefighter"],"1F46E":["police_officer"],"1F46E-200D-2642-FE0F":["man_police_officer"],"1F46E-200D-2640-FE0F":["woman_police_officer"],"1F575":["detective"],"1F575-FE0F-200D-2642-FE0F":["man_detective"],"1F575-FE0F-200D-2640-FE0F":["woman_detective"],"1F482":["guard"],"1F482-200D-2642-FE0F":["man_guard"],"1F482-200D-2640-FE0F":["woman_guard"],"1F977":["ninja"],"1F477":["construction_worker"],"1F477-200D-2642-FE0F":["man_construction_worker"],"1F477-200D-2640-FE0F":["woman_construction_worker"],"1FAC5":["person_with_crown","royalty"],"1F934":["prince"],"1F478":["princess"],"1F473":["person_turban"],"1F473-200D-2642-FE0F":["man_turban"],"1F473-200D-2640-FE0F":["woman_turban"],"1F472":["man_chinese_cap"],"1F9D5":["woman_headscarf"],"1F935":["man_tuxedo"],"1F935-200D-2642-FE0F":["man_in_tuxedo"],"1F935-200D-2640-FE0F":["woman_in_tuxedo"],"1F470":["person_veiled_bride","bride_veil"],"1F470-200D-2642-FE0F":["man_veiled_bride"],"1F470-200D-2640-FE0F":["woman_veiled_bride"],"1F930":["pregnant_woman"],"1FAC3":["pregnant_man"],"1FAC4":["pregnant_person"],"1F931":["breast_feeding"],"1F469-200D-1F37C":["woman_feeding_baby"],"1F468-200D-1F37C":["man_feeding_baby"],"1F9D1-200D-1F37C":["person_feeding_baby"],"1F47C":["baby_angel"],"1F385":["santa"],"1F936":["mrs_claus"],"1F9D1-200D-1F384":["mx_claus"],"1F9B8":["hero","superhero"],"1F9B8-200D-2642-FE0F":["man_hero"],"1F9B8-200D-2640-FE0F":["woman_hero"],"1F9B9":["villain","supervillain"],"1F9B9-200D-2642-FE0F":["man_villain"],"1F9B9-200D-2640-FE0F":["woman_villain"],"1F9D9":["mage"],"1F9D9-200D-2642-FE0F":["man_mage"],"1F9D9-200D-2640-FE0F":["woman_mage"],"1F9DA":["fairy"],"1F9DA-200D-2642-FE0F":["man_fairy"],"1F9DA-200D-2640-FE0F":["woman_fairy"],"1F9DB":["vampire"],"1F9DB-200D-2642-FE0F":["man_vampire"],"1F9DB-200D-2640-FE0F":["woman_vampire"],"1F9DC":["merperson"],"1F9DC-200D-2642-FE0F":["merman"],"1F9DC-200D-2640-FE0F":["mermaid"],"1F9DD":["elf"],"1F9DD-200D-2642-FE0F":["man_elf"],"1F9DD-200D-2640-FE0F":["woman_elf"],"1F9DE":["genie"],"1F9DE-200D-2642-FE0F":["man_genie"],"1F9DE-200D-2640-FE0F":["woman_genie"],"1F9DF":["zombie"],"1F9DF-200D-2642-FE0F":["man_zombie"],"1F9DF-200D-2640-FE0F":["woman_zombie"],"1F9CC":["troll"],"1F486":["person_getting_massage"],"1F486-200D-2642-FE0F":["man_getting_face_massage"],"1F486-200D-2640-FE0F":["woman_getting_face_massage"],"1F487":["person_getting_haircut"],"1F487-200D-2642-FE0F":["man_getting_haircut"],"1F487-200D-2640-FE0F":["woman_getting_haircut"],"1F6B6":["person_walking"],"1F6B6-200D-2642-FE0F":["man_walking"],"1F6B6-200D-2640-FE0F":["woman_walking"],"1F9CD":["person_standing"],"1F9CD-200D-2642-FE0F":["man_standing"],"1F9CD-200D-2640-FE0F":["woman_standing"],"1F9CE":["person_kneeling"],"1F9CE-200D-2642-FE0F":["man_kneeling"],"1F9CE-200D-2640-FE0F":["woman_kneeling"],"1F9D1-200D-1F9AF":["person_probing_cane"],"1F468-200D-1F9AF":["man_probing_cane"],"1F469-200D-1F9AF":["woman_probing_cane"],"1F9D1-200D-1F9BC":["person_motor_wheelchair"],"1F468-200D-1F9BC":["man_motor_wheelchair"],"1F469-200D-1F9BC":["woman_motor_wheelchair"],"1F9D1-200D-1F9BD":["person_wheelchair"],"1F468-200D-1F9BD":["man_wheelchair"],"1F469-200D-1F9BD":["woman_wheelchair"],"1F3C3":["person_running"],"1F3C3-200D-2642-FE0F":["man_running"],"1F3C3-200D-2640-FE0F":["woman_running"],"1F483":["dancer","woman_dancing"],"1F57A":["man_dancing"],"1F574":["levitate"],"1F46F":["people_bunny_ears_partying"],"1F46F-200D-2642-FE0F":["men_bunny_ears_partying"],"1F46F-200D-2640-FE0F":["women_bunny_ears_partying"],"1F9D6":["person_steamy_room"],"1F9D6-200D-2642-FE0F":["man_steamy_room"],"1F9D6-200D-2640-FE0F":["woman_steamy_room"],"1F9D7":["person_climbing"],"1F9D7-200D-2642-FE0F":["man_climbing"],"1F9D7-200D-2640-FE0F":["woman_climbing"],"1F93A":["person_fencing"],"1F3C7":["horse_racing"],"26F7":["skier"],"1F3C2":["snowboarder"],"1F3CC":["person_golfing"],"1F3CC-FE0F-200D-2642-FE0F":["man_golfing"],"1F3CC-FE0F-200D-2640-FE0F":["woman_golfing"],"1F3C4":["person_surfing"],"1F3C4-200D-2642-FE0F":["man_surfing"],"1F3C4-200D-2640-FE0F":["woman_surfing"],"1F6A3":["person_rowing_boat"],"1F6A3-200D-2642-FE0F":["man_rowing_boat"],"1F6A3-200D-2640-FE0F":["woman_rowing_boat"],"1F3CA":["person_swimming"],"1F3CA-200D-2642-FE0F":["man_swimming"],"1F3CA-200D-2640-FE0F":["woman_swimming"],"26F9":["person_bouncing_ball"],"26F9-FE0F-200D-2642-FE0F":["man_bouncing_ball"],"26F9-FE0F-200D-2640-FE0F":["woman_bouncing_ball"],"1F3CB":["person_lifting_weights"],"1F3CB-FE0F-200D-2642-FE0F":["man_lifting_weights"],"1F3CB-FE0F-200D-2640-FE0F":["woman_lifting_weights"],"1F6B4":["person_biking"],"1F6B4-200D-2642-FE0F":["man_biking"],"1F6B4-200D-2640-FE0F":["woman_biking"],"1F6B5":["person_mountain_biking"],"1F6B5-200D-2642-FE0F":["man_mountain_biking"],"1F6B5-200D-2640-FE0F":["woman_mountain_biking"],"1F938":["person_cartwheel"],"1F938-200D-2642-FE0F":["man_cartwheeling"],"1F938-200D-2640-FE0F":["woman_cartwheeling"],"1F93C":["people_wrestling"],"1F93C-200D-2642-FE0F":["men_wrestling"],"1F93C-200D-2640-FE0F":["women_wrestling"],"1F93D":["person_water_polo"],"1F93D-200D-2642-FE0F":["man_water_polo"],"1F93D-200D-2640-FE0F":["woman_water_polo"],"1F93E":["person_handball"],"1F93E-200D-2642-FE0F":["man_handball"],"1F93E-200D-2640-FE0F":["woman_handball"],"1F939":["person_juggling"],"1F939-200D-2642-FE0F":["man_juggling"],"1F939-200D-2640-FE0F":["woman_juggling"],"1F9D8":["person_lotus_position"],"1F9D8-200D-2642-FE0F":["man_lotus_position"],"1F9D8-200D-2640-FE0F":["woman_lotus_position"],"1F6C0":["bath"],"1F6CC":["in_bed"],"1F9D1-200D-1F91D-200D-1F9D1":["holding_hands_people"],"1F46D":["holding_hands_ww"],"1F46B":["holding_hands_mw","holding_hands_wm"],"1F46C":["holding_hands_mm"],"1F48F":["couple"],"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468":["kiss_mw","kiss_wm"],"1F468-200D-2764-FE0F-200D-1F48B-200D-1F468":["kiss_mm"],"1F469-200D-2764-FE0F-200D-1F48B-200D-1F469":["kiss_ww"],"1F491":["couple_heart"],"1F469-200D-2764-FE0F-200D-1F468":["couple_mw","couple_wm"],"1F468-200D-2764-FE0F-200D-1F468":["couple_mm"],"1F469-200D-2764-FE0F-200D-1F469":["couple_ww"],"1F46A":["family"],"1F468-200D-1F469-200D-1F466":["family_mwb"],"1F468-200D-1F469-200D-1F467":["family_mwg"],"1F468-200D-1F469-200D-1F467-200D-1F466":["family_mwgb"],"1F468-200D-1F469-200D-1F466-200D-1F466":["family_mwbb"],"1F468-200D-1F469-200D-1F467-200D-1F467":["family_mwgg"],"1F468-200D-1F468-200D-1F466":["family_mmb"],"1F468-200D-1F468-200D-1F467":["family_mmg"],"1F468-200D-1F468-200D-1F467-200D-1F466":["family_mmgb"],"1F468-200D-1F468-200D-1F466-200D-1F466":["family_mmbb"],"1F468-200D-1F468-200D-1F467-200D-1F467":["family_mmgg"],"1F469-200D-1F469-200D-1F466":["family_wwb"],"1F469-200D-1F469-200D-1F467":["family_wwg"],"1F469-200D-1F469-200D-1F467-200D-1F466":["family_wwgb"],"1F469-200D-1F469-200D-1F466-200D-1F466":["family_wwbb"],"1F469-200D-1F469-200D-1F467-200D-1F467":["family_wwgg"],"1F468-200D-1F466":["family_mb"],"1F468-200D-1F466-200D-1F466":["family_mbb"],"1F468-200D-1F467":["family_mg"],"1F468-200D-1F467-200D-1F466":["family_mgb"],"1F468-200D-1F467-200D-1F467":["family_mgg"],"1F469-200D-1F466":["family_wb"],"1F469-200D-1F466-200D-1F466":["family_wbb"],"1F469-200D-1F467":["family_wg"],"1F469-200D-1F467-200D-1F466":["family_wgb"],"1F469-200D-1F467-200D-1F467":["family_wgg"],"1F5E3":["speaking_head"],"1F464":["bust_silhouette"],"1F465":["busts_silhouette"],"1FAC2":["people_hugging"],"1F463":["footprints"],"1F3FB":["tone_light","tone1"],"1F3FC":["tone_medium_light","tone2"],"1F3FD":["tone_medium","tone3"],"1F3FE":["tone_medium_dark","tone4"],"1F3FF":["tone_dark","tone5"],"1F9B0":["red_hair"],"1F9B1":["curly_hair"],"1F9B3":["white_hair"],"1F9B2":["bald"],"1F435":["monkey_face"],"1F412":["monkey"],"1F98D":["gorilla"],"1F9A7":["orangutan"],"1F436":["dog_face"],"1F415":["dog"],"1F9AE":["guide_dog"],"1F415-200D-1F9BA":["service_dog"],"1F429":["poodle"],"1F43A":["wolf_face"],"1F98A":["fox_face"],"1F99D":["raccoon"],"1F431":["cat_face"],"1F408":["cat"],"1F408-200D-2B1B":["black_cat"],"1F981":["lion_face"],"1F42F":["tiger_face"],"1F405":["tiger"],"1F406":["leopard"],"1F434":["horse_face"],"1F40E":["horse"],"1F984":["unicorn_face"],"1F993":["zebra"],"1F98C":["deer"],"1F9AC":["bison"],"1F42E":["cow_face"],"1F402":["ox"],"1F403":["water_buffalo"],"1F404":["cow"],"1F437":["pig_face"],"1F416":["pig"],"1F417":["boar"],"1F43D":["pig_nose"],"1F40F":["ram"],"1F411":["sheep"],"1F410":["goat"],"1F42A":["camel"],"1F42B":["two_hump_camel"],"1F999":["llama"],"1F992":["giraffe"],"1F418":["elephant"],"1F9A3":["mammoth"],"1F98F":["rhino"],"1F99B":["hippo"],"1F42D":["mouse_face"],"1F401":["mouse"],"1F400":["rat"],"1F439":["hamster_face"],"1F430":["rabbit_face"],"1F407":["rabbit"],"1F43F":["chipmunk"],"1F9AB":["beaver"],"1F994":["hedgehog"],"1F987":["bat"],"1F43B":["bear_face"],"1F43B-200D-2744-FE0F":["polar_bear_face"],"1F428":["koala_face"],"1F43C":["panda_face"],"1F9A5":["sloth"],"1F9A6":["otter"],"1F9A8":["skunk"],"1F998":["kangaroo"],"1F9A1":["badger"],"1F43E":["feet"],"1F983":["turkey"],"1F414":["chicken"],"1F413":["rooster"],"1F423":["hatching_chick"],"1F424":["baby_chick"],"1F425":["hatched_chick"],"1F426":["bird"],"1F427":["penguin"],"1F54A":["dove"],"1F985":["eagle"],"1F986":["duck"],"1F9A2":["swan"],"1F989":["owl"],"1F9A4":["dodo"],"1FAB6":["feather"],"1F9A9":["flamingo"],"1F99A":["peacock"],"1F99C":["parrot"],"1F438":["frog_face"],"1F40A":["crocodile"],"1F422":["turtle"],"1F98E":["lizard"],"1F40D":["snake"],"1F432":["dragon_face"],"1F409":["dragon"],"1F995":["sauropod"],"1F996":["trex"],"1F433":["spouting_whale"],"1F40B":["whale"],"1F42C":["dolphin"],"1F9AD":["seal"],"1F41F":["fish"],"1F420":["tropical_fish"],"1F421":["blowfish"],"1F988":["shark"],"1F419":["octopus"],"1F41A":["shell"],"1FAB8":["coral"],"1F40C":["snail"],"1F98B":["butterfly"],"1F41B":["bug"],"1F41C":["ant"],"1F41D":["bee"],"1FAB2":["beetle"],"1F41E":["lady_bug"],"1F997":["cricket"],"1FAB3":["cockroach"],"1F577":["spider"],"1F578":["spider_web"],"1F982":["scorpion"],"1F99F":["mosquito"],"1FAB0":["fly"],"1FAB1":["worm"],"1F9A0":["microbe","germ"],"1F490":["bouquet"],"1F338":["cherry_blossom"],"1F4AE":["white_flower"],"1FAB7":["lotus"],"1F3F5":["rosette"],"1F339":["rose"],"1F940":["wilted_rose"],"1F33A":["hibiscus"],"1F33B":["sunflower"],"1F33C":["blossom"],"1F337":["tulip"],"1F331":["seedling"],"1FAB4":["potted_plant"],"1F332":["evergreen_tree"],"1F333":["deciduous_tree"],"1F334":["palm_tree"],"1F335":["cactus"],"1F33E":["ear_of_rice"],"1F33F":["herb"],"1F340":["four_leaf_clover"],"1F341":["maple_leaf"],"1F342":["fallen_leaf"],"1F343":["leaves"],"1FAB9":["empty_nest","nest"],"1FABA":["nest_with_eggs"],"1F347":["grapes"],"1F348":["melon"],"1F349":["watermelon"],"1F34A":["tangerine"],"1F34B":["lemon"],"1F34C":["banana"],"1F34D":["pineapple"],"1F96D":["mango"],"1F34E":["apple"],"1F34F":["green_apple"],"1F350":["pear"],"1F351":["peach"],"1F352":["cherries"],"1F353":["strawberry"],"1FAD0":["blueberry"],"1F95D":["kiwi"],"1F345":["tomato"],"1FAD2":["olive"],"1F965":["coconut"],"1F951":["avocado"],"1F346":["eggplant"],"1F954":["potato"],"1F955":["carrot"],"1F33D":["corn"],"1F336":["hot_pepper"],"1FAD1":["bell_pepper"],"1F952":["cucumber"],"1F96C":["leafy_green"],"1F966":["broccoli"],"1F9C4":["garlic"],"1F9C5":["onion"],"1F344":["mushroom"],"1F95C":["peanuts"],"1FAD8":["beans"],"1F330":["chestnut"],"1F35E":["bread"],"1F950":["croissant"],"1F956":["french_bread"],"1FAD3":["flatbread"],"1F968":["pretzel"],"1F96F":["bagel"],"1F95E":["pancakes"],"1F9C7":["waffle"],"1F9C0":["cheese"],"1F356":["meat_on_bone"],"1F357":["poultry_leg"],"1F969":["cut_of_meat"],"1F953":["bacon"],"1F354":["hamburger"],"1F35F":["fries"],"1F355":["pizza"],"1F32D":["hotdog"],"1F96A":["sandwich"],"1F32E":["taco"],"1F32F":["burrito"],"1FAD4":["tamale"],"1F959":["stuffed_flatbread"],"1F9C6":["falafel"],"1F95A":["egg"],"1F373":["cooking"],"1F958":["shallow_pan_of_food"],"1F372":["stew"],"1FAD5":["fondue"],"1F963":["bowl_spoon"],"1F957":["salad"],"1F37F":["popcorn"],"1F9C8":["butter"],"1F9C2":["salt"],"1F96B":["canned_food"],"1F371":["bento"],"1F358":["rice_cracker"],"1F359":["rice_ball"],"1F35A":["rice"],"1F35B":["curry"],"1F35C":["ramen"],"1F35D":["spaghetti"],"1F360":["sweet_potato"],"1F362":["oden"],"1F363":["sushi"],"1F364":["fried_shrimp"],"1F365":["fish_cake"],"1F96E":["moon_cake"],"1F361":["dango"],"1F95F":["dumpling"],"1F960":["fortune_cookie"],"1F961":["takeout_box"],"1F980":["crab"],"1F99E":["lobster"],"1F990":["shrimp"],"1F991":["squid"],"1F9AA":["oyster"],"1F366":["icecream"],"1F367":["shaved_ice"],"1F368":["ice_cream"],"1F369":["doughnut"],"1F36A":["cookie"],"1F382":["birthday"],"1F370":["cake"],"1F9C1":["cupcake"],"1F967":["pie"],"1F36B":["chocolate_bar"],"1F36C":["candy"],"1F36D":["lollipop"],"1F36E":["custard"],"1F36F":["honey_pot"],"1F37C":["baby_bottle"],"1F95B":["milk"],"1FAD6":["teapot"],"1F375":["tea"],"1F376":["sake"],"1F37E":["champagne"],"1F377":["wine_glass"],"1F378":["cocktail"],"1F379":["tropical_drink"],"1F37A":["beer"],"1F37B":["beers"],"1F942":["champagne_glass"],"1F943":["tumbler_glass"],"1FAD7":["pour","pouring_liquid"],"1F964":["cup_straw"],"1F9CB":["bubble_tea","boba_drink"],"1F9C3":["beverage_box","juice_box"],"1F9C9":["mate","yerba_mate"],"1F9CA":["ice"],"1F962":["chopsticks"],"1F37D":["fork_knife_plate"],"1F374":["utensils"],"1F944":["spoon"],"1F52A":["knife"],"1FAD9":["jar"],"1F3FA":["amphora"],"1F30D":["earth_africa"],"1F30E":["earth_americas"],"1F30F":["earth_asia"],"1F310":["globe"],"1F5FA":["map"],"1F5FE":["japan"],"1F9ED":["compass"],"1F3D4":["snowy_mountain"],"26F0":["mountain"],"1F30B":["volcano"],"1F5FB":["mount_fuji"],"1F3D5":["camping"],"1F3D6":["beach"],"1F3DC":["desert"],"1F3DD":["island"],"1F3DE":["park"],"1F3DF":["stadium"],"1F3DB":["classical_building"],"1F3D7":["construction_site"],"1F9F1":["brick"],"1FAA8":["rock"],"1FAB5":["wood"],"1F6D6":["hut"],"1F3D8":["homes"],"1F3DA":["house_abandoned"],"1F3E0":["house"],"1F3E1":["house_garden"],"1F3E2":["office"],"1F3E3":["ja_post_office"],"1F3E4":["post_office"],"1F3E5":["hospital"],"1F3E6":["bank"],"1F3E8":["hotel"],"1F3E9":["love_hotel"],"1F3EA":["convenience_store"],"1F3EB":["school"],"1F3EC":["department_store"],"1F3ED":["factory"],"1F3EF":["japanese_castle"],"1F3F0":["castle","european_castle"],"1F492":["wedding"],"1F5FC":["tokyo_tower"],"1F5FD":["statue_of_liberty"],"26EA":["church"],"1F54C":["mosque"],"1F6D5":["hindu_temple"],"1F54D":["synagogue"],"26E9":["shinto_shrine"],"1F54B":["kaaba"],"26F2":["fountain"],"26FA":["tent"],"1F301":["foggy"],"1F303":["night_stars"],"1F3D9":["cityscape"],"1F304":["sunrise_over_mountains"],"1F305":["sunrise"],"1F306":["dusk"],"1F307":["sunset"],"1F309":["bridge_at_night"],"1F3A0":["carousel_horse"],"1F6DD":["playground_slide","slide"],"1F3A1":["ferris_wheel"],"1F3A2":["roller_coaster"],"1F488":["barber"],"1F3AA":["circus_tent"],"1F682":["steam_locomotive"],"1F683":["railway_car"],"1F684":["bullettrain_side"],"1F685":["bullettrain"],"1F686":["train"],"1F687":["metro"],"1F688":["light_rail"],"1F689":["station"],"1F68A":["tram"],"1F69D":["monorail"],"1F69E":["mountain_railway"],"1F68B":["tram_car"],"1F68C":["bus"],"1F68D":["oncoming_bus"],"1F68E":["trolleybus"],"1F690":["minibus"],"1F691":["ambulance"],"1F692":["fire_engine"],"1F693":["police_car"],"1F694":["oncoming_police_car"],"1F695":["taxi"],"1F696":["oncoming_taxi"],"1F697":["red_car"],"1F698":["oncoming_automobile"],"1F699":["blue_car"],"1F6FB":["pickup_truck"],"1F69A":["truck"],"1F69B":["lorry"],"1F69C":["tractor"],"1F3CE":["race_car"],"1F3CD":["motorcycle"],"1F6F5":["motor_scooter"],"1F9BD":["wheelchair"],"1F9BC":["motor_wheelchair"],"1F6FA":["auto_rickshaw"],"1F6B2":["bike"],"1F6F4":["scooter"],"1F6F9":["skateboard"],"1F6FC":["roller_skate"],"1F68F":["bus_stop"],"1F6E3":["motorway"],"1F6E4":["railway_track"],"1F6E2":["oil_drum"],"26FD":["fuel_pump"],"1F6DE":["wheel"],"1F6A8":["rotating_light","police_light"],"1F6A5":["traffic_light"],"1F6A6":["vertical_traffic_light"],"1F6D1":["stop_sign","octagonal_sign"],"1F6A7":["construction"],"1F6DF":["lifebuoy","ring_buoy"],"26F5":["sailboat"],"1F6F6":["canoe"],"1F6A4":["speedboat"],"1F6F3":["cruise_ship"],"26F4":["ferry"],"1F6E5":["motorboat"],"1F6A2":["ship"],"1F6E9":["small_airplane"],"1F6EB":["airplane_departure"],"1F6EC":["airplane_arriving"],"1FA82":["parachute"],"1F4BA":["seat"],"1F681":["helicopter"],"1F69F":["suspension_railway"],"1F6A0":["mountain_cableway"],"1F6A1":["aerial_tramway"],"1F6F0":["satellite"],"1F680":["rocket"],"1F6F8":["flying_saucer"],"1F6CE":["bellhop"],"1F9F3":["luggage"],"231B":["hourglass"],"23F3":["hourglass_flowing"],"231A":["watch"],"23F0":["alarm_clock"],"23F1":["stopwatch"],"23F2":["timer"],"1F570":["clock"],"1F55B":["clock12"],"1F567":["clock1230"],"1F550":["clock1"],"1F55C":["clock130"],"1F551":["clock2"],"1F55D":["clock230"],"1F552":["clock3"],"1F55E":["clock330"],"1F553":["clock4"],"1F55F":["clock430"],"1F554":["clock5"],"1F560":["clock530"],"1F555":["clock6"],"1F561":["clock630"],"1F556":["clock7"],"1F562":["clock730"],"1F557":["clock8"],"1F563":["clock830"],"1F558":["clock9"],"1F564":["clock930"],"1F559":["clock10"],"1F565":["clock1030"],"1F55A":["clock11"],"1F566":["clock1130"],"1F311":["new_moon"],"1F312":["waxing_crescent_moon"],"1F313":["first_quarter_moon"],"1F314":["waxing_gibbous_moon"],"1F315":["full_moon"],"1F316":["waning_gibbous_moon"],"1F317":["last_quarter_moon"],"1F318":["waning_crescent_moon"],"1F319":["crescent_moon"],"1F31A":["new_moon_face"],"1F31B":["first_quarter_moon_face"],"1F31C":["last_quarter_moon_face"],"1F321":["thermometer"],"1F31D":["full_moon_face"],"1F31E":["sun_face"],"1FA90":["ringed_planet","saturn"],"2B50":["star"],"1F31F":["star2","glowing_star"],"1F320":["star3","shooting_star"],"1F30C":["milky_way"],"26C5":["partly_sunny"],"26C8":["storm"],"1F324":["overcast"],"1F325":["cloudy"],"1F326":["sunshower"],"1F327":["rain"],"1F328":["snow"],"1F329":["lightning"],"1F32A":["tornado"],"1F32B":["fog"],"1F32C":["wind_face"],"1F300":["cyclone"],"1F308":["rainbow"],"1F302":["closed_umbrella"],"26F1":["beach_umbrella"],"26A1":["zap","high_voltage"],"26C4":["snowman"],"1F525":["fire"],"1F4A7":["droplet"],"1F30A":["ocean"],"1F383":["jack_o_lantern"],"1F384":["christmas_tree","xmas_tree"],"1F386":["fireworks"],"1F387":["sparkler"],"1F9E8":["firecracker"],"1F388":["balloon"],"1F389":["tada","party"],"1F38A":["confetti_ball"],"1F38B":["tanabata_tree"],"1F38D":["bamboo","pine_decor"],"1F38E":["dolls"],"1F38F":["carp_streamer"],"1F390":["wind_chime"],"1F391":["moon_ceremony","rice_scene"],"1F9E7":["red_envelope"],"1F380":["ribbon"],"1F381":["gift"],"1F397":["reminder_ribbon"],"1F39F":["tickets","admission"],"1F3AB":["ticket"],"1F396":["military_medal"],"1F3C6":["trophy"],"1F3C5":["medal"],"1F947":["first_place"],"1F948":["second_place"],"1F949":["third_place"],"26BD":["soccer"],"26BE":["baseball"],"1F94E":["softball"],"1F3C0":["basketball"],"1F3D0":["volleyball"],"1F3C8":["football"],"1F3C9":["rugby"],"1F3BE":["tennis"],"1F94F":["flying_disc"],"1F3B3":["bowling"],"1F3CF":["cricket_game"],"1F3D1":["field_hockey"],"1F3D2":["hockey"],"1F94D":["lacrosse"],"1F3D3":["ping_pong"],"1F3F8":["badminton"],"1F94A":["boxing_glove"],"1F94B":["gi","martial_arts_uniform"],"1F945":["goal"],"26F3":["golf"],"26F8":["ice_skate"],"1F3A3":["fishing_pole"],"1F93F":["diving_mask","scuba_mask"],"1F3BD":["running_shirt"],"1F3BF":["ski"],"1F6F7":["sled"],"1F94C":["curling_stone"],"1F3AF":["dart"],"1FA80":["yoyo"],"1FA81":["kite"],"1F3B1":["8ball"],"1F52E":["crystal_ball"],"1FA84":["wand"],"1F9FF":["nazar_amulet"],"1FAAC":["hamsa"],"1F3AE":["video_game"],"1F579":["joystick"],"1F3B0":["slot_machine"],"1F3B2":["game_die"],"1F9E9":["jigsaw","puzzle_piece"],"1F9F8":["teddy_bear"],"1FA85":["pinata"],"1FAA9":["disco","disco_ball","mirror_ball"],"1FA86":["nesting_dolls"],"265F":["chess_pawn"],"1F0CF":["black_joker"],"1F004":["mahjong"],"1F3B4":["flower_cards"],"1F3AD":["performing_arts"],"1F5BC":["frame_photo"],"1F3A8":["art","palette"],"1F9F5":["spool"],"1FAA1":["sewing_needle"],"1F9F6":["yarn"],"1FAA2":["knot"],"1F453":["glasses"],"1F576":["sunglasses"],"1F97D":["goggles"],"1F97C":["lab_coat"],"1F9BA":["safety_vest"],"1F454":["necktie","tie"],"1F455":["shirt"],"1F456":["jeans"],"1F9E3":["scarf"],"1F9E4":["gloves"],"1F9E5":["coat"],"1F9E6":["socks"],"1F457":["dress"],"1F458":["kimono"],"1F97B":["sari"],"1FA71":["one_piece_swimsuit"],"1FA72":["briefs"],"1FA73":["shorts"],"1F459":["bikini"],"1F45A":["blouse","womans_clothes"],"1F45B":["purse"],"1F45C":["handbag"],"1F45D":["pouch","clutch_bag"],"1F6CD":["shopping_bags"],"1F392":["backpack"],"1FA74":["sandal"],"1F45E":["dress_shoe","mans_shoe"],"1F45F":["sneaker","athletic_shoe"],"1F97E":["hiking_boot"],"1F97F":["flat_shoe"],"1F460":["high_heel"],"1F461":["womans_sandal"],"1FA70":["ballet_shoes"],"1F462":["womans_boot"],"1F451":["crown"],"1F452":["womans_hat"],"1F3A9":["top_hat"],"1F393":["graduation_cap"],"1F9E2":["billed_cap"],"1FA96":["military_helmet"],"26D1":["helmet_cross"],"1F4FF":["prayer_beads"],"1F484":["lipstick"],"1F48D":["ring"],"1F48E":["gem"],"1F507":["mute","no_sound"],"1F508":["speaker","low_sound"],"1F509":["sound"],"1F50A":["loud_sound"],"1F4E2":["loudspeaker"],"1F4E3":["megaphone"],"1F4EF":["postal_horn"],"1F514":["bell"],"1F515":["no_bell"],"1F3BC":["musical_score"],"1F3B5":["musical_note"],"1F3B6":["musical_notes"],"1F399":["studio_microphone"],"1F39A":["level_slider"],"1F39B":["control_knobs"],"1F3A4":["microphone"],"1F3A7":["headphones"],"1F4FB":["radio"],"1F3B7":["saxophone"],"1FA97":["accordion"],"1F3B8":["guitar"],"1F3B9":["musical_keyboard"],"1F3BA":["trumpet"],"1F3BB":["violin"],"1FA95":["banjo"],"1F941":["drum"],"1FA98":["long_drum"],"1F4F1":["mobile","iphone","android"],"1F4F2":["mobile_calling"],"260E":["telephone"],"1F4DE":["telephone_receiver"],"1F4DF":["pager"],"1F4E0":["fax"],"1F50B":["battery"],"1FAAB":["low_battery"],"1F50C":["electric_plug"],"1F4BB":["laptop"],"1F5A5":["desktop","computer"],"1F5A8":["printer"],"1F5B1":["computer_mouse"],"1F5B2":["trackball"],"1F4BD":["minidisc"],"1F4BE":["floppy_disk"],"1F4BF":["cd","disk"],"1F4C0":["dvd"],"1F9EE":["abacus"],"1F3A5":["movie_camera"],"1F39E":["film_frames"],"1F4FD":["projector"],"1F3AC":["clapper"],"1F4FA":["tv"],"1F4F7":["camera"],"1F4F8":["camera_flash"],"1F4F9":["video_camera"],"1F4FC":["vhs"],"1F50D":["mag"],"1F50E":["mag_right"],"1F56F":["candle"],"1F4A1":["bulb","light_bulb"],"1F526":["flashlight"],"1F3EE":["red_lantern"],"1FA94":["diya_lamp"],"1F4D4":["decorative_notebook"],"1F4D5":["closed_book"],"1F4D6":["book"],"1F4D7":["green_book"],"1F4D8":["blue_book"],"1F4D9":["orange_book"],"1F4DA":["books"],"1F4D3":["notebook"],"1F4D2":["ledger"],"1F4C3":["page_curl"],"1F4DC":["scroll"],"1F4C4":["page_facing_up"],"1F4F0":["newspaper"],"1F5DE":["rolled_newspaper"],"1F4D1":["bookmark_tabs"],"1F516":["bookmark"],"1F3F7":["label"],"1F4B0":["moneybag"],"1FA99":["coin"],"1F4B4":["yen"],"1F4B5":["dollar"],"1F4B6":["euro"],"1F4B7":["pound"],"1F4B8":["money_wings"],"1F4B3":["credit_card"],"1F9FE":["receipt"],"1F4B9":["ja_chart"],"1F4E7":["email"],"1F4E8":["incoming_envelope"],"1F4E9":["envelope_arrow"],"1F4E4":["outbox_tray"],"1F4E5":["inbox_tray"],"1F4E6":["package"],"1F4EB":["mailbox"],"1F4EA":["mailbox_closed"],"1F4EC":["mailbox_mail"],"1F4ED":["mailbox_no_mail"],"1F4EE":["postbox"],"1F5F3":["ballot_box"],"270F":["pencil"],"1F58B":["fountain_pen"],"1F58A":["pen"],"1F58C":["paintbrush"],"1F58D":["crayon"],"1F4DD":["memo"],"1F4BC":["briefcase"],"1F4C1":["file_folder"],"1F4C2":["open_file_folder"],"1F5C2":["dividers"],"1F4C5":["date","calendar"],"1F4C6":["torn_calendar"],"1F5D2":["notepad_spiral"],"1F5D3":["calendar_spiral"],"1F4C7":["card_index"],"1F4C8":["chart_up"],"1F4C9":["chart_down"],"1F4CA":["bar_chart"],"1F4CB":["clipboard"],"1F4CC":["pushpin"],"1F4CD":["round_pushpin"],"1F4CE":["paperclip"],"1F587":["paperclips"],"1F4CF":["straight_ruler"],"1F4D0":["triangular_ruler"],"1F5C3":["card_box"],"1F5C4":["file_cabinet"],"1F5D1":["trashcan","wastebasket"],"1F512":["lock"],"1F513":["unlock"],"1F50F":["locked_pen"],"1F510":["locked_key"],"1F511":["key"],"1F5DD":["old_key"],"1F528":["hammer"],"1FA93":["axe"],"26CF":["pick"],"1F6E0":["tools","hammer_wrench"],"1F5E1":["dagger"],"1F52B":["gun","pistol"],"1FA83":["boomerang"],"1F3F9":["bow"],"1F6E1":["shield"],"1FA9A":["saw"],"1F527":["wrench"],"1FA9B":["screwdriver"],"1F529":["nut_and_bolt"],"1F5DC":["clamp","compression"],"1F9AF":["probing_cane"],"1F517":["link"],"26D3":["chains"],"1FA9D":["hook"],"1F9F0":["toolbox"],"1F9F2":["magnet"],"1FA9C":["ladder"],"1F9EA":["test_tube"],"1F9EB":["petri_dish"],"1F9EC":["dna","double_helix"],"1F52C":["microscope"],"1F52D":["telescope"],"1F4E1":["satellite_antenna"],"1F489":["syringe"],"1FA78":["blood_drop"],"1F48A":["pill"],"1FA79":["bandaid","adhesive_bandage"],"1FA7C":["crutch"],"1FA7A":["stethoscope"],"1FA7B":["x-ray","xray"],"1F6AA":["door"],"1F6D7":["elevator"],"1FA9E":["mirror"],"1FA9F":["window"],"1F6CF":["bed"],"1F6CB":["couch"],"1FA91":["chair"],"1F6BD":["toilet"],"1FAA0":["plunger"],"1F6BF":["shower"],"1F6C1":["bathtub"],"1FAA4":["mouse_trap"],"1FA92":["razor"],"1F9F4":["lotion"],"1F9F7":["safety_pin"],"1F9F9":["broom"],"1F9FA":["basket"],"1F9FB":["toilet_paper"],"1FAA3":["bucket"],"1F9FC":["soap"],"1FAE7":["bubbles"],"1FAA5":["toothbrush"],"1F9FD":["sponge"],"1F9EF":["fire_extinguisher"],"1F6D2":["shopping_cart"],"1F6AC":["cigarette","smoking"],"26B0":["coffin"],"1FAA6":["headstone"],"26B1":["urn"],"1F5FF":["moai"],"1FAA7":["placard"],"1FAAA":["id_card"],"1F3E7":["atm"],"1F6AE":["litter_bin"],"1F6B0":["potable_water"],"267F":["handicapped"],"1F6B9":["mens"],"1F6BA":["womens"],"1F6BB":["restroom","bathroom"],"1F6BC":["baby_symbol"],"1F6BE":["wc"],"1F6C2":["passport_control"],"1F6C3":["customs"],"1F6C4":["baggage_claim"],"1F6C5":["left_luggage"],"26A0":["warning"],"1F6B8":["children_crossing"],"26D4":["no_entry"],"1F6AB":["no_entry_sign"],"1F6B3":["no_bicycles"],"1F6AD":["no_smoking"],"1F6AF":["do_not_litter"],"1F6B1":["non_potable_water"],"1F6B7":["no_pedestrians"],"1F4F5":["no_mobile_phones"],"1F51E":["underage"],"2B06":["arrow_up"],"27A1":["arrow_right"],"2B07":["arrow_down"],"2B05":["arrow_left"],"21A9":["arrow_left_hook"],"21AA":["arrow_right_hook"],"1F503":["clockwise"],"1F504":["counter_clockwise"],"1F519":["back"],"1F51A":["end"],"1F51B":["on"],"1F51C":["soon"],"1F51D":["top"],"1F6D0":["place_of_worship"],"269B":["atom"],"1F549":["om_symbol"],"262F":["yin_yang"],"271D":["cross"],"262A":["star_and_crescent"],"262E":["peace"],"1F54E":["menorah"],"1F52F":["six_pointed_star"],"264A":["gemini"],"264B":["cancer"],"264C":["leo"],"264D":["virgo"],"264E":["libra"],"264F":["scorpius"],"26CE":["ophiuchus"],"1F500":["shuffle"],"1F501":["repeat"],"1F502":["repeat_single"],"25B6":["play"],"23E9":["fast_forward"],"23ED":["next_track"],"23EF":["play_pause"],"25C0":["reverse"],"23EA":["rewind"],"23EE":["previous_track"],"1F53C":["up_button"],"23EB":["fast_up_button"],"1F53D":["down_button"],"23EC":["fast_down_button"],"23F8":["pause"],"23F9":["stop"],"23FA":["record"],"23CF":["eject"],"1F3A6":["cinema"],"1F505":["dim","low_brightness"],"1F506":["bright","high_brightness"],"1F4F6":["signal_strength","antenna_bars"],"1F4F3":["vibration_mode"],"1F4F4":["mobile_phone_off"],"26A7":["trans"],"1F7F0":["heavy_equals_sign"],"267E":["infinity"],"203C":["bangbang","double_exclamation"],"1F4B1":["currency_exchange"],"1F4B2":["dollar_sign"],"267B":["recycle"],"269C":["fleur-de-lis"],"1F531":["trident"],"1F4DB":["name_badge"],"1F530":["ja_beginner"],"2B55":["o"],"274C":["x","cross_mark"],"274E":["cross_mark_button"],"27B0":["curly_loop"],"27BF":["double_curly_loop"],"303D":["part_alternation_mark"],"00A9":["copyright"],"00AE":["registered"],"0023-FE0F-20E3":["hash"],"002A-FE0F-20E3":["asterisk"],"0030-FE0F-20E3":["zero"],"0031-FE0F-20E3":["one"],"0032-FE0F-20E3":["two"],"0033-FE0F-20E3":["three"],"0034-FE0F-20E3":["four"],"0035-FE0F-20E3":["five"],"0036-FE0F-20E3":["six"],"0037-FE0F-20E3":["seven"],"0038-FE0F-20E3":["eight"],"0039-FE0F-20E3":["nine"],"1F51F":["ten"],"1F520":["upper_abcd"],"1F521":["abcd"],"1F522":["1234"],"1F523":["symbols"],"1F524":["abc"],"1F170":["a_blood"],"1F18E":["ab_blood"],"1F171":["b_blood"],"1F191":["cl"],"1F192":["cool"],"1F193":["free"],"1F194":["id"],"24C2":["m"],"1F195":["new"],"1F196":["ng"],"1F17E":["o_blood"],"1F197":["ok"],"1F17F":["p"],"1F198":["sos"],"1F199":["up"],"1F19A":["vs"],"1F201":["ja_here","koko"],"1F202":["ja_service_charge"],"1F237":["ja_monthly_amount"],"1F236":["ja_not_free_of_carge"],"1F22F":["ja_reserved"],"1F250":["ja_bargain"],"1F239":["ja_discount"],"1F21A":["ja_free_of_charge"],"1F232":["ja_prohibited"],"1F251":["ja_acceptable"],"1F238":["ja_application"],"1F234":["ja_passing_grade"],"1F233":["ja_vacancy"],"1F23A":["ja_open_for_business"],"1F235":["ja_no_vacancy"],"1F534":["red_circle"],"1F7E0":["orange_circle"],"1F7E1":["yellow_circle"],"1F7E2":["green_circle"],"1F535":["blue_circle"],"1F7E3":["purple_circle"],"1F7E4":["brown_circle"],"26AB":["black_circle"],"26AA":["white_circle"],"1F7E5":["red_square"],"1F7E7":["orange_square"],"1F7E8":["yellow_square"],"1F7E9":["green_square"],"1F7E6":["blue_square"],"1F7EA":["purple_square"],"1F7EB":["brown_square"],"2B1B":["large_black_square"],"2B1C":["large_white_square"],"25FC":["medium_black_square"],"25FB":["medium_white_square"],"25FE":["medium_small_black_square"],"25FD":["medium_small_white_square"],"25AA":["small_black_square"],"25AB":["small_white_square"],"1F536":["large_orange_diamond"],"1F537":["large_blue_diamond"],"1F538":["small_orange_diamond"],"1F539":["small_blue_diamond"],"1F53A":["up_red_triangle"],"1F53B":["down_red_triangle"],"1F4A0":["diamond_dot"],"1F518":["radio_button"],"1F533":["white_square_button"],"1F532":["black_square_button"],"1F3C1":["checkered_flag"],"1F6A9":["triangle_flag"],"1F38C":["crossed_flags"],"1F3F4":["black_flag"],"1F3F3":["white_flag"],"1F3F3-FE0F-200D-1F308":["rainbow_flag"],"1F3F3-FE0F-200D-26A7-FE0F":["trans_flag"],"1F3F4-200D-2620-FE0F":["pirate_flag","jolly_roger"],"1F1E6-1F1E8":["flag_ac"],"1F1E6-1F1E9":["flag_ad"],"1F1E6-1F1EA":["flag_ae"],"1F1E6-1F1EB":["flag_af"],"1F1E6-1F1EC":["flag_ag"],"1F1E6-1F1EE":["flag_ai"],"1F1E6-1F1F1":["flag_al"],"1F1E6-1F1F2":["flag_am"],"1F1E6-1F1F4":["flag_ao"],"1F1E6-1F1F6":["flag_aq"],"1F1E6-1F1F7":["flag_ar"],"1F1E6-1F1F8":["flag_as"],"1F1E6-1F1F9":["flag_at"],"1F1E6-1F1FA":["flag_au"],"1F1E6-1F1FC":["flag_aw"],"1F1E6-1F1FD":["flag_ax"],"1F1E6-1F1FF":["flag_az"],"1F1E7-1F1E6":["flag_ba"],"1F1E7-1F1E7":["flag_bb"],"1F1E7-1F1E9":["flag_bd"],"1F1E7-1F1EA":["flag_be"],"1F1E7-1F1EB":["flag_bf"],"1F1E7-1F1EC":["flag_bg"],"1F1E7-1F1ED":["flag_bh"],"1F1E7-1F1EE":["flag_bi"],"1F1E7-1F1EF":["flag_bj"],"1F1E7-1F1F1":["flag_bl"],"1F1E7-1F1F2":["flag_bm"],"1F1E7-1F1F3":["flag_bn"],"1F1E7-1F1F4":["flag_bo"],"1F1E7-1F1F6":["flag_bq"],"1F1E7-1F1F7":["flag_br"],"1F1E7-1F1F8":["flag_bs"],"1F1E7-1F1F9":["flag_bt"],"1F1E7-1F1FB":["flag_bv"],"1F1E7-1F1FC":["flag_bw"],"1F1E7-1F1FE":["flag_by"],"1F1E7-1F1FF":["flag_bz"],"1F1E8-1F1E6":["flag_ca"],"1F1E8-1F1E8":["flag_cc"],"1F1E8-1F1E9":["flag_cd"],"1F1E8-1F1EB":["flag_cf"],"1F1E8-1F1EC":["flag_cg"],"1F1E8-1F1ED":["flag_ch"],"1F1E8-1F1EE":["flag_ci"],"1F1E8-1F1F0":["flag_ck"],"1F1E8-1F1F1":["flag_cl"],"1F1E8-1F1F2":["flag_cm"],"1F1E8-1F1F3":["flag_cn"],"1F1E8-1F1F4":["flag_co"],"1F1E8-1F1F5":["flag_cp"],"1F1E8-1F1F7":["flag_cr"],"1F1E8-1F1FA":["flag_cu"],"1F1E8-1F1FB":["flag_cv"],"1F1E8-1F1FC":["flag_cw"],"1F1E8-1F1FD":["flag_cx"],"1F1E8-1F1FE":["flag_cy"],"1F1E8-1F1FF":["flag_cz"],"1F1E9-1F1EA":["flag_de"],"1F1E9-1F1EC":["flag_dg"],"1F1E9-1F1EF":["flag_dj"],"1F1E9-1F1F0":["flag_dk"],"1F1E9-1F1F2":["flag_dm"],"1F1E9-1F1F4":["flag_do"],"1F1E9-1F1FF":["flag_dz"],"1F1EA-1F1E6":["flag_ea"],"1F1EA-1F1E8":["flag_ec"],"1F1EA-1F1EA":["flag_ee"],"1F1EA-1F1EC":["flag_eg"],"1F1EA-1F1ED":["flag_eh"],"1F1EA-1F1F7":["flag_er"],"1F1EA-1F1F8":["flag_es"],"1F1EA-1F1F9":["flag_et"],"1F1EA-1F1FA":["flag_eu"],"1F1EB-1F1EE":["flag_fi"],"1F1EB-1F1EF":["flag_fj"],"1F1EB-1F1F0":["flag_fk"],"1F1EB-1F1F2":["flag_fm"],"1F1EB-1F1F4":["flag_fo"],"1F1EB-1F1F7":["flag_fr"],"1F1EC-1F1E6":["flag_ga"],"1F1EC-1F1E7":["flag_gb"],"1F1EC-1F1E9":["flag_gd"],"1F1EC-1F1EA":["flag_ge"],"1F1EC-1F1EB":["flag_gf"],"1F1EC-1F1EC":["flag_gg"],"1F1EC-1F1ED":["flag_gh"],"1F1EC-1F1EE":["flag_gi"],"1F1EC-1F1F1":["flag_gl"],"1F1EC-1F1F2":["flag_gm"],"1F1EC-1F1F3":["flag_gn"],"1F1EC-1F1F5":["flag_gp"],"1F1EC-1F1F6":["flag_gq"],"1F1EC-1F1F7":["flag_gr"],"1F1EC-1F1F8":["flag_gs"],"1F1EC-1F1F9":["flag_gt"],"1F1EC-1F1FA":["flag_gu"],"1F1EC-1F1FC":["flag_gw"],"1F1EC-1F1FE":["flag_gy"],"1F1ED-1F1F0":["flag_hk"],"1F1ED-1F1F2":["flag_hm"],"1F1ED-1F1F3":["flag_hn"],"1F1ED-1F1F7":["flag_hr"],"1F1ED-1F1F9":["flag_ht"],"1F1ED-1F1FA":["flag_hu"],"1F1EE-1F1E8":["flag_ic"],"1F1EE-1F1E9":["flag_id"],"1F1EE-1F1EA":["flag_ie"],"1F1EE-1F1F1":["flag_il"],"1F1EE-1F1F2":["flag_im"],"1F1EE-1F1F3":["flag_in"],"1F1EE-1F1F4":["flag_io"],"1F1EE-1F1F6":["flag_iq"],"1F1EE-1F1F7":["flag_ir"],"1F1EE-1F1F8":["flag_is"],"1F1EE-1F1F9":["flag_it"],"1F1EF-1F1EA":["flag_je"],"1F1EF-1F1F2":["flag_jm"],"1F1EF-1F1F4":["flag_jo"],"1F1EF-1F1F5":["flag_jp"],"1F1F0-1F1EA":["flag_ke"],"1F1F0-1F1EC":["flag_kg"],"1F1F0-1F1ED":["flag_kh"],"1F1F0-1F1EE":["flag_ki"],"1F1F0-1F1F2":["flag_km"],"1F1F0-1F1F3":["flag_kn"],"1F1F0-1F1F5":["flag_kp"],"1F1F0-1F1F7":["flag_kr"],"1F1F0-1F1FC":["flag_kw"],"1F1F0-1F1FE":["flag_ky"],"1F1F0-1F1FF":["flag_kz"],"1F1F1-1F1E6":["flag_la"],"1F1F1-1F1E7":["flag_lb"],"1F1F1-1F1E8":["flag_lc"],"1F1F1-1F1EE":["flag_li"],"1F1F1-1F1F0":["flag_lk"],"1F1F1-1F1F7":["flag_lr"],"1F1F1-1F1F8":["flag_ls"],"1F1F1-1F1F9":["flag_lt"],"1F1F1-1F1FA":["flag_lu"],"1F1F1-1F1FB":["flag_lv"],"1F1F1-1F1FE":["flag_ly"],"1F1F2-1F1E6":["flag_ma"],"1F1F2-1F1E8":["flag_mc"],"1F1F2-1F1E9":["flag_md"],"1F1F2-1F1EA":["flag_me"],"1F1F2-1F1EB":["flag_mf"],"1F1F2-1F1EC":["flag_mg"],"1F1F2-1F1ED":["flag_mh"],"1F1F2-1F1F0":["flag_mk"],"1F1F2-1F1F1":["flag_ml"],"1F1F2-1F1F2":["flag_mm"],"1F1F2-1F1F3":["flag_mn"],"1F1F2-1F1F4":["flag_mo"],"1F1F2-1F1F5":["flag_mp"],"1F1F2-1F1F6":["flag_mq"],"1F1F2-1F1F7":["flag_mr"],"1F1F2-1F1F8":["flag_ms"],"1F1F2-1F1F9":["flag_mt"],"1F1F2-1F1FA":["flag_mu"],"1F1F2-1F1FB":["flag_mv"],"1F1F2-1F1FC":["flag_mw"],"1F1F2-1F1FD":["flag_mx"],"1F1F2-1F1FE":["flag_my"],"1F1F2-1F1FF":["flag_mz"],"1F1F3-1F1E6":["flag_na"],"1F1F3-1F1E8":["flag_nc"],"1F1F3-1F1EA":["flag_ne"],"1F1F3-1F1EB":["flag_nf"],"1F1F3-1F1EC":["flag_ng"],"1F1F3-1F1EE":["flag_ni"],"1F1F3-1F1F1":["flag_nl"],"1F1F3-1F1F4":["flag_no"],"1F1F3-1F1F5":["flag_np"],"1F1F3-1F1F7":["flag_nr"],"1F1F3-1F1FA":["flag_nu"],"1F1F3-1F1FF":["flag_nz"],"1F1F4-1F1F2":["flag_om"],"1F1F5-1F1E6":["flag_pa"],"1F1F5-1F1EA":["flag_pe"],"1F1F5-1F1EB":["flag_pf"],"1F1F5-1F1EC":["flag_pg"],"1F1F5-1F1ED":["flag_ph"],"1F1F5-1F1F0":["flag_pk"],"1F1F5-1F1F1":["flag_pl"],"1F1F5-1F1F2":["flag_pm"],"1F1F5-1F1F3":["flag_pn"],"1F1F5-1F1F7":["flag_pr"],"1F1F5-1F1F8":["flag_ps"],"1F1F5-1F1F9":["flag_pt"],"1F1F5-1F1FC":["flag_pw"],"1F1F5-1F1FE":["flag_py"],"1F1F6-1F1E6":["flag_qa"],"1F1F7-1F1EA":["flag_re"],"1F1F7-1F1F4":["flag_ro"],"1F1F7-1F1F8":["flag_rs"],"1F1F7-1F1FA":["flag_ru"],"1F1F7-1F1FC":["flag_rw"],"1F1F8-1F1E6":["flag_sa"],"1F1F8-1F1E7":["flag_sb"],"1F1F8-1F1E8":["flag_sc"],"1F1F8-1F1E9":["flag_sd"],"1F1F8-1F1EA":["flag_se"],"1F1F8-1F1EC":["flag_sg"],"1F1F8-1F1ED":["flag_sh"],"1F1F8-1F1EE":["flag_si"],"1F1F8-1F1EF":["flag_sj"],"1F1F8-1F1F0":["flag_sk"],"1F1F8-1F1F1":["flag_sl"],"1F1F8-1F1F2":["flag_sm"],"1F1F8-1F1F3":["flag_sn"],"1F1F8-1F1F4":["flag_so"],"1F1F8-1F1F7":["flag_sr"],"1F1F8-1F1F8":["flag_ss"],"1F1F8-1F1F9":["flag_st"],"1F1F8-1F1FB":["flag_sv"],"1F1F8-1F1FD":["flag_sx"],"1F1F8-1F1FE":["flag_sy"],"1F1F8-1F1FF":["flag_sz"],"1F1F9-1F1E6":["flag_ta"],"1F1F9-1F1E8":["flag_tc"],"1F1F9-1F1E9":["flag_td"],"1F1F9-1F1EB":["flag_tf"],"1F1F9-1F1EC":["flag_tg"],"1F1F9-1F1ED":["flag_th"],"1F1F9-1F1EF":["flag_tj"],"1F1F9-1F1F0":["flag_tk"],"1F1F9-1F1F1":["flag_tl"],"1F1F9-1F1F2":["flag_tm"],"1F1F9-1F1F3":["flag_tn"],"1F1F9-1F1F4":["flag_to"],"1F1F9-1F1F7":["flag_tr"],"1F1F9-1F1F9":["flag_tt"],"1F1F9-1F1FB":["flag_tv"],"1F1F9-1F1FC":["flag_tw"],"1F1F9-1F1FF":["flag_tz"],"1F1FA-1F1E6":["flag_ua"],"1F1FA-1F1EC":["flag_ug"],"1F1FA-1F1F2":["flag_um"],"1F1FA-1F1F3":["flag_un"],"1F1FA-1F1F8":["flag_us","usa"],"1F1FA-1F1FE":["flag_uy"],"1F1FA-1F1FF":["flag_uz"],"1F1FB-1F1E6":["flag_va"],"1F1FB-1F1E8":["flag_vc"],"1F1FB-1F1EA":["flag_ve"],"1F1FB-1F1EC":["flag_vg"],"1F1FB-1F1EE":["flag_vi"],"1F1FB-1F1F3":["flag_vn"],"1F1FB-1F1FA":["flag_vu"],"1F1FC-1F1EB":["flag_wf"],"1F1FC-1F1F8":["flag_ws"],"1F1FD-1F1F0":["flag_xk"],"1F1FE-1F1EA":["flag_ye"],"1F1FE-1F1F9":["flag_yt"],"1F1FF-1F1E6":["flag_za"],"1F1FF-1F1F2":["flag_zm"],"1F1FF-1F1FC":["flag_zw"],"1F3F4-E0067-E0062-E0065-E006E-E0067-E007F":["flag_gbeng","england"],"1F3F4-E0067-E0062-E0073-E0063-E0074-E007F":["flag_gbsct","scotland"],"1F3F4-E0067-E0062-E0077-E006C-E0073-E007F":["flag_gbwls","wales"]}');var k=function e(F,a){return void 0===a&&(a=1),F.reduce((function(F,t){return F.concat(a>1&&Array.isArray(t)?e(t,a-1):t)}),[])}(Object.values(A)),C=Object.entries(A),B=function(e){return String.fromCodePoint.apply(String,e.split("-").map((function(e){return"0x"+e})))},x=new Map,j=new function(e,F,a,t){var n={};e=e||[],n.gramSizeLower=a||2,n.gramSizeUpper=t||3,n.useLevenshtein="boolean"!=typeof F||F,n.exactSet={},n.matchDict={},n.items={};var o=function(e,F){if(null===e&&null===F)throw"Trying to compare two null values";if(null===e||null===F)return 0;var a=function(e,F){for(var a,t,n=[],o=0;o<=F.length;o++)for(var r=0;r<=e.length;r++)t=o&&r?e.charAt(r-1)===F.charAt(o-1)?a:Math.min(n[r],n[r-1],a)+1:o+r,a=n[r],n[r]=t;return n.pop()}(e=String(e),F=String(F));return e.length>F.length?1-a/e.length:1-a/F.length},r=/[^a-zA-Z0-9\u00C0-\u00FF\u0621-\u064A\u0660-\u0669, ]+/g,i=function(e,F){for(var a={},t=function(e,F){F=F||2;var a="-"+e.toLowerCase().replace(r,"")+"-",t=F-a.length,n=[];if(t>0)for(var o=0;o=this.gramSizeLower;--t)if((a=this.__get(e,t,F))&&a.length>0)return a;return null},n.__get=function(e,F,a){var t,n,r,l,s=this._normalizeStr(e),c={},_=i(s,F),u=this.items[F],f=0;for(t in _)if(n=_[t],f+=Math.pow(n,2),t in this.matchDict)for(D=0;DF[0]?-1:0};if(p.sort(h),this.useLevenshtein){for(var E=[],b=Math.min(50,p.length),D=0;D=a&&E.push([e[0],this.exactSet[e[1]]])}.bind(this)),E},n.add=function(e){if(this._normalizeStr(e)in this.exactSet)return!1;for(var F=this.gramSizeLower;F1?m("span",{className:"count"},r):""))}}))),(!Object.keys(this.loading).length||this.loading.null)&&!this.post.userReaction()&&a&&m("div",{className:"Reactions--react"},this.reactButton(),m("div",{className:"CommentPost--Reactions",style:1===this.post.number()?"":"left: -28%;"},m("ul",{className:"Reactions--Ul"},V()(this.getReactions().toArray())))))},a.reactButton=function(){return m(K(),{className:"Button Button--link Reactions--ShowReactions",type:"Button",title:o().translator.trans("fof-reactions.forum.react_button_label"),loading:this.loading.null},m("span",{className:"Button-label"},m("svg",{class:"button-react",width:"20px",height:"20px",viewBox:"0 0 18 18"},m("g",{id:"Reaction",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},m("g",{id:"ic_reactions_grey"},m("g",{id:"Group-2"},m("g",{id:"0:0:0:0"},m("rect",{id:"Rectangle-5",x:"0",y:"0",width:"18",height:"18"}),m("g",{id:"emoticon"}),m("path",{d:"M14.6332705,7.33333333 C14.6554304,7.55389388 14.6666667,7.77636769 14.6666667,8 C14.6666667,11.6818983 11.6818983,14.6666667 8,14.6666667 C6.23189007,14.6666667 4.53619732,13.9642877 3.28595479,12.7140452 C2.03571227,11.4638027 1.33333333,9.76810993 1.33333333,8 C1.33333333,4.33333333 4.31333333,1.33333333 8,1.33333333 L8,1.33333333 C8.22363231,1.33333333 8.44610612,1.3445696 8.66666667,1.36672949 L8.66666667,2.70847693 C8.44668912,2.68076722 8.22407146,2.66666667 8,2.66666667 C5.05448133,2.66666667 2.66666667,5.05448133 2.66666667,8 C2.66666667,10.9455187 5.05448133,13.3333333 8,13.3333333 C10.9455187,13.3333333 13.3333333,10.9455187 13.3333333,8 C13.3333333,7.77592854 13.3192328,7.55331088 13.2915231,7.33333333 L14.6332705,7.33333333 Z M8,11.6666667 C9.55333333,11.6666667 10.8666667,10.6933333 11.4066667,9.33333333 L4.59333333,9.33333333 C5.12666667,10.6933333 6.44666667,11.6666667 8,11.6666667 Z M10.3333333,7.33333333 C10.8856181,7.33333333 11.3333333,6.88561808 11.3333333,6.33333333 C11.3333333,5.78104858 10.8856181,5.33333333 10.3333333,5.33333333 C9.78104858,5.33333333 9.33333333,5.78104858 9.33333333,6.33333333 C9.33333333,6.88561808 9.78104858,7.33333333 10.3333333,7.33333333 L10.3333333,7.33333333 Z M5.66666667,7.33333333 C6.21895142,7.33333333 6.66666667,6.88561808 6.66666667,6.33333333 C6.66666667,5.78104858 6.21895142,5.33333333 5.66666667,5.33333333 C5.11438192,5.33333333 4.66666667,5.78104858 4.66666667,6.33333333 C4.66666667,6.88561808 5.11438192,7.33333333 5.66666667,7.33333333 Z",id:"Combined-Shape",fill:"#667c99"})),m("g",{id:"Group-15",transform:"translate(10.666667, 0.000000)",fill:"#667c99"},m("polygon",{id:"Path",points:"3.33333333 2 3.33333333 0 2 0 2 2 0 2 0 3.33333333 2 3.33333333 2 5.33333333 3.33333333 5.33333333 3.33333333 3.33333333 5.33333333 3.33333333 5.33333333 2"}))))))))},a.react=function(e,F){var a=this;F.target.blur();var t=o().forum.attribute("fofReactionsAllowAnonymous");if(o().session.user||t){if(!this.post.canReact())return o().alerts.show({type:"error"},o().translator.trans("core.lib.error.permission_denied_message"));var n=e?e.id():null,r=this.post.reactionCounts();return this.loading[n]=!0,this.post.save({reaction:n}).then((function(F){for(var t in delete a.loading[n],r)F.reactionCounts().hasOwnProperty(t)||o().store.remove(o().store.getById("reactions",t));a.updateChosenReaction(),(void 0!==o().forum.data.relationships.ranks&&(o().forum.attribute("ReactionConverts")[0]===e||o().forum.attribute("ReactionConverts")[1]===e)||void 0!==a.post.data.relationships.likes&&o().forum.attribute("ReactionConverts")[2]===e)&&o().alerts.show({type:"warning"},o().translator.trans("fof-reactions.forum.warning",{reaction:e})),m.redraw()})).catch((function(e){delete a.loading[n],$("body").append(e),m.redraw()}))}o().modal.show(ee())},a.updateChosenReaction=function(){return this.reaction=this.post.userReaction()},F}(J());const le=flarum.core.compat["forum/utils/PostControls"];var se=a.n(le);function ce(e,F,a,t,n,o,r){try{var i=e[o](r),l=i.value}catch(e){return void a(e)}i.done?F(l):Promise.resolve(l).then(t,n)}var _e=a(195),ue=a.n(_e);const fe=flarum.core.compat["common/components/Modal"];var ge=a.n(fe);const me=flarum.core.compat["common/components/LoadingIndicator"];var pe=a.n(me);const de=flarum.core.compat["common/helpers/avatar"];var he=a.n(de);const Ee=flarum.core.compat["common/helpers/username"];var be=a.n(Ee);const De=flarum.core.compat["common/components/Link"];var we=a.n(De);const ye=function(e,F){return e.map("function"==typeof F?F:function(e){return e[F]}).reduce((function(F,a,t){return F[a]=(F[a]||[]).concat(e[t]),F}),{})};function ve(e,F){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=function(e,F){if(e){if("string"==typeof e)return Ae(e,F);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Ae(e,F):void 0}}(e))||F&&e&&"number"==typeof e.length){a&&(e=a);var t=0;return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ae(e,F){(null==F||F>e.length)&&(F=e.length);for(var a=0,t=new Array(F);a0&&m("li",null,o().translator.trans("fof-reactions.forum.modal.anonymous_count",{count:a})))},a.load=function(){var e,F=(e=ue().mark((function e(){var F,a,t,n,r,i,l,s,c,_,u,f;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,e.next=3,o().store.find("/posts/"+this.attrs.post.id()+"/reactions",{include:"user,reaction"});case 3:F=e.sent,a=ye(F,(function(e){return e.reactionId()})),t=[],e.t0=ue().keys(a);case 7:if((e.t1=e.t0()).done){e.next=18;break}if(n=e.t1.value,r=o().store.getById("reactions",n)){e.next=12;break}return e.abrupt("continue",7);case 12:for(i=[],l=0,s=ve(a[n]);!(c=s()).done;)_=c.value,null===(u=_.userId())?l++:(f=o().store.getById("users",u))&&i.push(f);t.push({reaction:r,users:i,anonymousCount:l}),e.next=7;break;case 18:this.reactions=t,this.loading=!1,m.redraw();case 21:case"end":return e.stop()}}),e,this)})),function(){var F=this,a=arguments;return new Promise((function(t,n){var o=e.apply(F,a);function r(e){ce(o,t,n,r,i,"next",e)}function i(e){ce(o,t,n,r,i,"throw",e)}r(void 0)}))});return function(){return F.apply(this,arguments)}}(),F}(ge()),Ce={PostReactAction:ie,PostReactedNotification:z,ReactionsModal:ke},Be={PostReaction:O},xe={groupBy:ye},je={ReactionComponent:re},Re={Reaction:S},ze={emoji:R};o().initializers.add("fof/reactions",(function(){o().store.models.reactions=S,o().store.models.post_reactions=O,o().notificationComponents.postReacted=z,_().prototype.canReact=f().attribute("canReact"),_().prototype.reactionCounts=f().attribute("reactionCounts"),_().prototype.userReaction=f().attribute("userReaction"),i().prototype.reactions=f().hasMany("reactions"),s().prototype.canSeeReactions=f().attribute("canSeeReactions"),(0,t.extend)(U().prototype,"actionItems",(function(e){var F=this.attrs.post;if(!F.isHidden()){var a=o().session.user&&null!==F.userReaction();e.add("react",ie.component({post:F,hasReacted:a}),5)}})),(0,t.extend)(se(),"moderationControls",(function(e,F){var a=F.reactionCounts(),t=a&&Object.keys(a).length>0;F.discussion().canSeeReactions()&&t&&e.add("viewReactions",m(K(),{icon:"fas fa-heart",onclick:function(){return o().modal.show(ke,{post:F})}},o().translator.trans("fof-reactions.forum.mod_item")))})),(0,t.extend)(M().prototype,"config",(function(e,F,a){F||o().pusher&&o().pusher.then((function(e){e.main.bind("newReaction",(function(e){var F=e.postId,a=e.reactionId,t=o().store.getById("reactions",a),n=o().store.getById("posts",F);t&&n&&T(F)})),e.main.bind("removedReaction",(function(e){var F=e.userId,a=e.postId,t=e.reactionId,n=o().store.all("post_reactions").filter((function(e){return e.userId()==F&&e.postId()==a&&e.reactionId()==t}))[0];n&&(o().store.remove(n),T(a),m.redraw())})),(0,t.extend)(a,"onunload",(function(){return e.main.unbind("newReaction")})),(0,t.extend)(a,"onunload",(function(){return e.main.unbind("removedReaction")}))}))})),(0,t.extend)(p().prototype,"notificationTypes",(function(e){e.add("postReacted",{name:"postReacted",icon:"far fa-smile",label:o().translator.trans("fof-reactions.forum.settings.notify_post_reacted_label")})}))}))}},F={};function a(t){var n=F[t];if(void 0!==n)return n.exports;var o=F[t]={exports:{}};return e[t](o,o.exports,a),o.exports}a.n=e=>{var F=e&&e.__esModule?()=>e.default:()=>e;return a.d(F,{a:F}),F},a.d=(e,F)=>{for(var t in F)a.o(F,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:F[t]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,F)=>Object.prototype.hasOwnProperty.call(e,F),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{"use strict";a.r(t),a.d(t,{commonComponents:()=>n.pM,commonModels:()=>n.a7,commonUtil:()=>n.le,components:()=>n.wx,models:()=>n.Cq,utils:()=>n.P6});var e=a(656),F={};for(const a in e)"default"!==a&&(F[a]=()=>e[a]);a.d(t,F);var n=a(621)})(),module.exports=t})(); //# sourceMappingURL=forum.js.map \ No newline at end of file diff --git a/js/dist/forum.js.map b/js/dist/forum.js.map index b47398b..442cd92 100644 --- a/js/dist/forum.js.map +++ b/js/dist/forum.js.map @@ -1 +1 @@ -{"version":3,"file":"forum.js","mappings":"2BAAAA,EAAOC,QAAU,EAAjBD,I,gBCUA,IASIE,EAAS,aAGTC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SAGfC,EAA8B,iBAAVC,EAAAA,GAAsBA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GAG/Cve,EAAOC,OACf,CCrBAse,EAAoBI,EAAK3e,IACxB,IAAI4e,EAAS5e,GAAUA,EAAO6e,WAC7B,IAAO7e,EAAiB,QACxB,IAAM,EAEP,OADAue,EAAoBjF,EAAEsF,EAAQ,CAAElR,EAAGkR,IAC5BA,CAAM,ECLdL,EAAoBjF,EAAI,CAACrZ,EAAS6e,KACjC,IAAI,IAAIxZ,KAAOwZ,EACXP,EAAoBvR,EAAE8R,EAAYxZ,KAASiZ,EAAoBvR,EAAE/M,EAASqF,IAC5E5E,OAAO6E,eAAetF,EAASqF,EAAK,CAAEE,YAAY,EAAM0K,IAAK4O,EAAWxZ,IAE1E,ECNDiZ,EAAoBQ,EAAI,WACvB,GAA0B,iBAAfpS,WAAyB,OAAOA,WAC3C,IACC,OAAOxI,MAAQ,IAAIrD,SAAS,cAAb,EAChB,CAAE,MAAOyN,GACR,GAAsB,iBAAX0I,OAAqB,OAAOA,MACxC,CACA,CAPuB,GCAxBsH,EAAoBvR,EAAI,CAAC3H,EAAK4L,IAAUvQ,OAAOM,UAAU2D,eAAe7C,KAAKuD,EAAK4L,GCClFsN,EAAoBpC,EAAKlc,IACH,oBAAX4E,QAA0BA,OAAOM,aAC1CzE,OAAO6E,eAAetF,EAAS4E,OAAOM,YAAa,CAAEzD,MAAO,WAE7DhB,OAAO6E,eAAetF,EAAS,aAAc,CAAEyB,OAAO,GAAO,E","sources":["webpack://@fof/reactions/./node_modules/@babel/runtime/regenerator/index.js","webpack://@fof/reactions/./node_modules/lodash.debounce/index.js","webpack://@fof/reactions/./node_modules/regenerator-runtime/runtime.js","webpack://@fof/reactions/external root \"flarum.core.compat['common/extend']\"","webpack://@fof/reactions/external root \"flarum.core.compat['forum/app']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/models/Forum']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/models/Discussion']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/models/Post']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/Model']\"","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/NotificationGrid']\"","webpack://@fof/reactions/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@fof/reactions/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/Notification']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/helpers/icon']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/app']\"","webpack://@fof/reactions/./src/common/util/emoji.js","webpack://@fof/reactions/./node_modules/fuzzyset/dist/fuzzyset.esm.js","webpack://@fof/reactions/./src/forum/components/PostReactedNotification.js","webpack://@fof/reactions/./src/common/models/Reaction.ts","webpack://@fof/reactions/./src/forum/models/PostReaction.ts","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/DiscussionPage']\"","webpack://@fof/reactions/./src/forum/addPusher.js","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/CommentPost']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/Component']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/utils/ItemList']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/components/Button']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/helpers/listItems']\"","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/LogInModal']\"","webpack://@fof/reactions/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://@fof/reactions/external root \"flarum.core.compat['common/utils/extract']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/utils/classList']\"","webpack://@fof/reactions/./src/common/components/ReactionComponent.js","webpack://@fof/reactions/./src/forum/components/PostReactAction.js","webpack://@fof/reactions/external root \"flarum.core.compat['forum/utils/PostControls']\"","webpack://@fof/reactions/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://@fof/reactions/external root \"flarum.core.compat['common/components/Modal']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/components/LoadingIndicator']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/helpers/avatar']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/helpers/username']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/components/Link']\"","webpack://@fof/reactions/./src/forum/utils/groupBy.ts","webpack://@fof/reactions/./src/forum/components/ReactionsModal.tsx","webpack://@fof/reactions/./src/forum/components/index.js","webpack://@fof/reactions/./src/forum/models/index.js","webpack://@fof/reactions/./src/forum/utils/index.js","webpack://@fof/reactions/./src/common/components/index.js","webpack://@fof/reactions/./src/common/models/index.js","webpack://@fof/reactions/./src/common/util/index.js","webpack://@fof/reactions/./src/forum/index.js","webpack://@fof/reactions/./src/forum/addReactionAction.js","webpack://@fof/reactions/webpack/bootstrap","webpack://@fof/reactions/webpack/runtime/compat get default export","webpack://@fof/reactions/webpack/runtime/define property getters","webpack://@fof/reactions/webpack/runtime/global","webpack://@fof/reactions/webpack/runtime/hasOwnProperty shorthand","webpack://@fof/reactions/webpack/runtime/make namespace object"],"sourcesContent":["module.exports = require(\"regenerator-runtime\");\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/extend'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/app'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/models/Forum'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/models/Discussion'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/models/Post'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/Model'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/NotificationGrid'];","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/Notification'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/helpers/icon'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/app'];","import app from 'flarum/common/app';\nimport emojis from 'simple-emoji-map';\nimport FuzzySet from 'fuzzyset';\n\nconst flatten = (arr, depth = 1) => arr.reduce((a, v) => a.concat(depth > 1 && Array.isArray(v) ? flatten(v, depth - 1) : v), []);\nconst shortnames = flatten(Object.values(emojis));\nconst entries = Object.entries(emojis);\nconst getEmoji = (identifier) => entries.find(([, value]) => value.includes(identifier));\nconst toUnicodeEmoji = (codePoint) => String.fromCodePoint(...codePoint.split('-').map((e) => `0x${e}`));\n\nconst emojiCache = new Map();\nconst fuzzySet = new FuzzySet(shortnames);\n\nconst search = (query) => {\n const results = fuzzySet.get(query);\n const [score, item] = results[0];\n\n return {\n score,\n item,\n };\n};\n\nexport default (reactionOrIdentifier) => {\n if (!reactionOrIdentifier) return {};\n\n let identifier = reactionOrIdentifier.identifier || reactionOrIdentifier;\n\n if (emojiCache.has(identifier)) return emojiCache.get(identifier);\n\n let score;\n\n if (!shortnames.includes(identifier)) {\n const match = search(identifier);\n\n identifier = match?.item;\n score = match?.score;\n }\n\n const emoji = getEmoji(identifier);\n const codePoint = emoji?.[0];\n\n const output = codePoint\n ? {\n identifier,\n score,\n uc: toUnicodeEmoji(codePoint),\n url: app.data['fof-reactions.cdnUrl'].replace('[codepoint]', codePoint.toLowerCase()),\n type: 'emoji',\n }\n : {};\n\n emojiCache.set(reactionOrIdentifier, output);\n\n return output || {};\n};\n","const FuzzySet = function(arr, useLevenshtein, gramSizeLower, gramSizeUpper) {\n var fuzzyset = {\n\n };\n\n // default options\n arr = arr || [];\n fuzzyset.gramSizeLower = gramSizeLower || 2;\n fuzzyset.gramSizeUpper = gramSizeUpper || 3;\n fuzzyset.useLevenshtein = (typeof useLevenshtein !== 'boolean') ? true : useLevenshtein;\n\n // define all the object functions and attributes\n fuzzyset.exactSet = {};\n fuzzyset.matchDict = {};\n fuzzyset.items = {};\n\n // helper functions\n var levenshtein = function(str1, str2) {\n var current = [], prev, value;\n\n for (var i = 0; i <= str2.length; i++)\n for (var j = 0; j <= str1.length; j++) {\n if (i && j)\n if (str1.charAt(j - 1) === str2.charAt(i - 1))\n value = prev;\n else\n value = Math.min(current[j], current[j - 1], prev) + 1;\n else\n value = i + j;\n\n prev = current[j];\n current[j] = value;\n }\n\n return current.pop();\n };\n\n // return an edit distance from 0 to 1\n var _distance = function(str1, str2) {\n if (str1 === null && str2 === null) throw 'Trying to compare two null values';\n if (str1 === null || str2 === null) return 0;\n str1 = String(str1); str2 = String(str2);\n\n var distance = levenshtein(str1, str2);\n if (str1.length > str2.length) {\n return 1 - distance / str1.length;\n } else {\n return 1 - distance / str2.length;\n }\n };\n\n // u00C0-u00FF is latin characters\n // u0621-u064a is arabic letters\n // u0660-u0669 is arabic numerals\n // TODO: figure out way to do this for more languages\n var _nonWordRe = /[^a-zA-Z0-9\\u00C0-\\u00FF\\u0621-\\u064A\\u0660-\\u0669, ]+/g;\n\n var _iterateGrams = function(value, gramSize) {\n gramSize = gramSize || 2;\n var simplified = '-' + value.toLowerCase().replace(_nonWordRe, '') + '-',\n lenDiff = gramSize - simplified.length,\n results = [];\n if (lenDiff > 0) {\n for (var i = 0; i < lenDiff; ++i) {\n simplified += '-';\n }\n }\n for (var i = 0; i < simplified.length - gramSize + 1; ++i) {\n results.push(simplified.slice(i, i + gramSize));\n }\n return results;\n };\n\n var _gramCounter = function(value, gramSize) {\n // return an object where key=gram, value=number of occurrences\n gramSize = gramSize || 2;\n var result = {},\n grams = _iterateGrams(value, gramSize),\n i = 0;\n for (i; i < grams.length; ++i) {\n if (grams[i] in result) {\n result[grams[i]] += 1;\n } else {\n result[grams[i]] = 1;\n }\n }\n return result;\n };\n\n // the main functions\n fuzzyset.get = function(value, defaultValue, minMatchScore) {\n // check for value in set, returning defaultValue or null if none found\n if (minMatchScore === undefined) {\n minMatchScore = .33;\n }\n var result = this._get(value, minMatchScore);\n if (!result && typeof defaultValue !== 'undefined') {\n return defaultValue;\n }\n return result;\n };\n\n fuzzyset._get = function(value, minMatchScore) {\n var results = [];\n // start with high gram size and if there are no results, go to lower gram sizes\n for (var gramSize = this.gramSizeUpper; gramSize >= this.gramSizeLower; --gramSize) {\n results = this.__get(value, gramSize, minMatchScore);\n if (results && results.length > 0) {\n return results;\n }\n }\n return null;\n };\n\n fuzzyset.__get = function(value, gramSize, minMatchScore) {\n var normalizedValue = this._normalizeStr(value),\n matches = {},\n gramCounts = _gramCounter(normalizedValue, gramSize),\n items = this.items[gramSize],\n sumOfSquareGramCounts = 0,\n gram,\n gramCount,\n i,\n index,\n otherGramCount;\n\n for (gram in gramCounts) {\n gramCount = gramCounts[gram];\n sumOfSquareGramCounts += Math.pow(gramCount, 2);\n if (gram in this.matchDict) {\n for (i = 0; i < this.matchDict[gram].length; ++i) {\n index = this.matchDict[gram][i][0];\n otherGramCount = this.matchDict[gram][i][1];\n if (index in matches) {\n matches[index] += gramCount * otherGramCount;\n } else {\n matches[index] = gramCount * otherGramCount;\n }\n }\n }\n }\n\n function isEmptyObject(obj) {\n for(var prop in obj) {\n if(obj.hasOwnProperty(prop))\n return false;\n }\n return true;\n }\n\n if (isEmptyObject(matches)) {\n return null;\n }\n\n var vectorNormal = Math.sqrt(sumOfSquareGramCounts),\n results = [],\n matchScore;\n // build a results list of [score, str]\n for (var matchIndex in matches) {\n matchScore = matches[matchIndex];\n results.push([matchScore / (vectorNormal * items[matchIndex][0]), items[matchIndex][1]]);\n }\n var sortDescending = function(a, b) {\n if (a[0] < b[0]) {\n return 1;\n } else if (a[0] > b[0]) {\n return -1;\n } else {\n return 0;\n }\n };\n results.sort(sortDescending);\n if (this.useLevenshtein) {\n var newResults = [],\n endIndex = Math.min(50, results.length);\n // truncate somewhat arbitrarily to 50\n for (var i = 0; i < endIndex; ++i) {\n newResults.push([_distance(results[i][1], normalizedValue), results[i][1]]);\n }\n results = newResults;\n results.sort(sortDescending);\n }\n newResults = [];\n results.forEach(function(scoreWordPair) {\n if (scoreWordPair[0] >= minMatchScore) {\n newResults.push([scoreWordPair[0], this.exactSet[scoreWordPair[1]]]);\n }\n }.bind(this));\n return newResults;\n };\n\n fuzzyset.add = function(value) {\n var normalizedValue = this._normalizeStr(value);\n if (normalizedValue in this.exactSet) {\n return false;\n }\n\n var i = this.gramSizeLower;\n for (i; i < this.gramSizeUpper + 1; ++i) {\n this._add(value, i);\n }\n };\n\n fuzzyset._add = function(value, gramSize) {\n var normalizedValue = this._normalizeStr(value),\n items = this.items[gramSize] || [],\n index = items.length;\n\n items.push(0);\n var gramCounts = _gramCounter(normalizedValue, gramSize),\n sumOfSquareGramCounts = 0,\n gram, gramCount;\n for (gram in gramCounts) {\n gramCount = gramCounts[gram];\n sumOfSquareGramCounts += Math.pow(gramCount, 2);\n if (gram in this.matchDict) {\n this.matchDict[gram].push([index, gramCount]);\n } else {\n this.matchDict[gram] = [[index, gramCount]];\n }\n }\n var vectorNormal = Math.sqrt(sumOfSquareGramCounts);\n items[index] = [vectorNormal, normalizedValue];\n this.items[gramSize] = items;\n this.exactSet[normalizedValue] = value;\n };\n\n fuzzyset._normalizeStr = function(str) {\n if (Object.prototype.toString.call(str) !== '[object String]') throw 'Must use a string as argument to FuzzySet functions';\n return str.toLowerCase();\n };\n\n // return length of items in set\n fuzzyset.length = function() {\n var count = 0,\n prop;\n for (prop in this.exactSet) {\n if (this.exactSet.hasOwnProperty(prop)) {\n count += 1;\n }\n }\n return count;\n };\n\n // return is set is empty\n fuzzyset.isEmpty = function() {\n for (var prop in this.exactSet) {\n if (this.exactSet.hasOwnProperty(prop)) {\n return false;\n }\n }\n return true;\n };\n\n // return list of values loaded into set\n fuzzyset.values = function() {\n var values = [],\n prop;\n for (prop in this.exactSet) {\n if (this.exactSet.hasOwnProperty(prop)) {\n values.push(this.exactSet[prop]);\n }\n }\n return values;\n };\n\n\n // initialization\n var i = fuzzyset.gramSizeLower;\n for (i; i < fuzzyset.gramSizeUpper + 1; ++i) {\n fuzzyset.items[i] = [];\n }\n // add all the items to the set\n for (i = 0; i < arr.length; ++i) {\n fuzzyset.add(arr[i]);\n }\n\n return fuzzyset;\n};\n\nexport default FuzzySet;\n","import app from 'flarum/forum/app';\nimport Notification from 'flarum/forum/components/Notification';\nimport icon from 'flarum/common/helpers/icon';\n\nimport emoji from '../../common/util/emoji';\n\nexport default class PostReactedNotification extends Notification {\n icon() {\n return 'fas fa-heart';\n }\n\n href() {\n return app.route.post(this.attrs.notification.subject());\n }\n\n content() {\n const notification = this.attrs.notification;\n const { identifier, type } = JSON.parse(notification.content());\n const user = notification.fromUser();\n\n const reaction = type === 'emoji' ? : icon(identifier);\n\n return app.translator.trans('fof-reactions.forum.notification', {\n user,\n reaction,\n });\n }\n\n excerpt() {\n return this.attrs.notification.subject().contentPlain();\n }\n}\n","import Model from 'flarum/common/Model';\n\nexport default class Reaction extends Model {\n identifier() {\n return Model.attribute('identifier').call(this);\n }\n\n display() {\n return Model.attribute('display').call(this);\n }\n\n type() {\n return Model.attribute('type').call(this);\n }\n\n enabled() {\n return Model.attribute('enabled').call(this);\n }\n\n user_id() {\n return Model.attribute('user_id').call(this);\n }\n\n post_id() {\n return Model.attribute('post_id').call(this);\n }\n\n reaction_id() {\n return Model.attribute('reaction_id').call(this);\n }\n}\n","import Model from 'flarum/common/Model';\nimport Post from 'flarum/common/models/Post';\nimport User from 'flarum/common/models/User';\n\nexport default class PostReaction extends Model {\n reaction() {\n return Model.attribute('reaction').call(this);\n }\n\n userId() {\n return Model.attribute('userId').call(this);\n }\n\n postId() {\n return Model.attribute('postId').call(this);\n }\n\n reactionId() {\n return Model.attribute('reactionId').call(this);\n }\n\n user() {\n return Model.hasOne('user');\n }\n\n post() {\n return Model.hasOne('post');\n }\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/DiscussionPage'];","import app from 'flarum/forum/app';\nimport debounce from 'lodash.debounce';\n\nimport { extend } from 'flarum/common/extend';\nimport DiscussionPage from 'flarum/forum/components/DiscussionPage';\n\nconst fetch = (postId) => app.store.find('posts', postId, { include: 'reactions' }).then(() => m.redraw());\nconst debounced = [];\nconst update = (postId) => {\n let func = debounced[postId];\n\n if (func) return func(postId);\n\n func = debounced[postId] = debounce(fetch, 1500);\n\n return func(postId);\n};\n\nexport default () => {\n extend(DiscussionPage.prototype, 'config', function (x, isInitialized, context) {\n if (isInitialized) return;\n\n if (app.pusher) {\n app.pusher.then((channels) => {\n channels.main.bind('newReaction', ({ postId, reactionId }) => {\n const reaction = app.store.getById('reactions', reactionId);\n const post = app.store.getById('posts', postId);\n\n if (!reaction || !post) return;\n\n update(postId);\n });\n\n channels.main.bind('removedReaction', ({ userId, postId, reactionId }) => {\n const postReaction = app.store\n .all('post_reactions')\n .filter((r) => r.userId() == userId && r.postId() == postId && r.reactionId() == reactionId)[0];\n\n if (!postReaction) return;\n\n app.store.remove(postReaction);\n\n update(postId);\n\n m.redraw();\n });\n\n extend(context, 'onunload', () => channels.main.unbind('newReaction'));\n extend(context, 'onunload', () => channels.main.unbind('removedReaction'));\n });\n }\n });\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/CommentPost'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/Component'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/ItemList'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/Button'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/helpers/listItems'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/LogInModal'];","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/extract'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/classList'];","import Component from 'flarum/common/Component';\nimport extract from 'flarum/common/utils/extract';\nimport classList from 'flarum/common/utils/classList';\n\nimport emoji from '../util/emoji';\n\nexport default class ReactionComponent extends Component {\n view() {\n const attrs = { ...this.attrs };\n const reaction = extract(attrs, 'reaction');\n const className = extract(attrs, 'className');\n\n if (!reaction) return ;\n\n const display = reaction.display() || reaction.identifier();\n\n if (!attrs.title) attrs.title = display;\n\n if (reaction.type() === 'emoji') {\n const { url } = emoji(reaction.identifier());\n\n return {display};\n } else {\n return ;\n }\n }\n}\n","import app from 'flarum/forum/app';\nimport Component from 'flarum/common/Component';\nimport ItemList from 'flarum/common/utils/ItemList';\nimport Button from 'flarum/common/components/Button';\nimport listItems from 'flarum/common/helpers/listItems';\nimport LogInModal from 'flarum/forum/components/LogInModal';\nimport ReactionComponent from '../../common/components/ReactionComponent';\n\nexport default class PostReactAction extends Component {\n oninit(vnode) {\n super.oninit(vnode);\n\n this.post = this.attrs.post;\n\n this.loading = {};\n\n this.updateChosenReaction();\n }\n\n oncreate(vnode) {\n super.oncreate(vnode);\n if ('ontouchstart' in window) {\n $('.Reactions')\n .unbind()\n .on('touchend', function () {\n $(this).find('.CommentPost--Reactions').toggleClass('mobile-show');\n });\n $(document).click(function (e) {\n var target = e.target;\n if (!$(target).is('.Reactions') && !$(target).parents().is('.Reactions')) {\n $('.CommentPost--Reactions').removeClass('mobile-show');\n }\n });\n }\n }\n\n getReactions() {\n const items = new ItemList();\n\n app.forum.reactions().forEach((reaction) => {\n if (!reaction.enabled()) {\n return;\n }\n items.add(\n reaction.identifier().replace(/fa.? fa-/, ''),\n \n \n \n );\n });\n\n return items;\n }\n\n view() {\n const reactionCounts = this.post.reactionCounts();\n const canReact = this.post.canReact();\n\n return (\n
\n
\n {Object.keys(reactionCounts).map((id) => {\n const reaction = app.store.getById('reactions', id);\n const count = reactionCounts[id];\n\n if (count === 0) return;\n\n const spanClass = reaction.type() === 'icon' ? `${reaction.identifier()} emoji button-emoji reaction-icon` : '';\n const icon = ;\n\n return Button.component(\n {\n className: `Button Button--flat Button-emoji-parent ${\n this.post.userReaction() && this.post.userReaction() == reaction.id() && 'active'\n }`,\n onclick: canReact ? this.react.bind(this, reaction) : '',\n 'data-reaction': reaction.identifier(),\n disabled: !canReact,\n loading: this.loading[reaction.id()],\n },\n \n {icon} {count > 1 ? {count} : ''}\n \n );\n })}\n
\n\n {(!Object.keys(this.loading).length || this.loading[null]) && !this.post.userReaction() && canReact && (\n
\n {this.reactButton()}\n\n
\n
    {listItems(this.getReactions().toArray())}
\n
\n
\n )}\n
\n );\n }\n\n reactButton() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n\n react(reaction, e) {\n e.target.blur();\n\n const allowAnonymous = app.forum.attribute('fofReactionsAllowAnonymous');\n\n if (!app.session.user && !allowAnonymous) {\n app.modal.show(LogInModal);\n return;\n }\n\n if (!this.post.canReact()) {\n return app.alerts.show({ type: 'error' }, app.translator.trans('core.lib.error.permission_denied_message'));\n }\n\n const id = !reaction ? null : reaction.id();\n const originalPostReactions = this.post.reactionCounts();\n\n this.loading[id] = true;\n\n return this.post\n .save({ reaction: id })\n .then((post) => {\n delete this.loading[id];\n\n for (const reactionId in originalPostReactions) {\n if (!post.reactionCounts().hasOwnProperty(reactionId)) {\n app.store.remove(app.store.getById('reactions', reactionId));\n }\n }\n\n this.updateChosenReaction();\n\n if (\n (app.forum.data.relationships.ranks !== undefined &&\n (app.forum.attribute('ReactionConverts')[0] === reaction || app.forum.attribute('ReactionConverts')[1] === reaction)) ||\n (this.post.data.relationships.likes !== undefined && app.forum.attribute('ReactionConverts')[2] === reaction)\n ) {\n app.alerts.show(\n { type: 'warning' },\n app.translator.trans('fof-reactions.forum.warning', {\n reaction,\n })\n );\n }\n\n m.redraw();\n })\n .catch((err) => {\n delete this.loading[id];\n\n $('body').append(err);\n\n m.redraw();\n });\n }\n\n updateChosenReaction() {\n return (this.reaction = this.post.userReaction());\n }\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/utils/PostControls'];","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/Modal'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/LoadingIndicator'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/helpers/avatar'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/helpers/username'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/Link'];","export type GroupByFunction = (val: T) => string | number;\n\nconst groupBy = (arr: T[], fn: GroupByFunction | keyof T): Record =>\n arr.map(typeof fn === 'function' ? fn : (val) => (val as any)[fn]).reduce((acc, val, i) => {\n acc[val] = (acc[val] || []).concat(arr[i]);\n return acc;\n }, {} as Record);\n\nexport default groupBy;\n","import app from 'flarum/forum/app';\nimport Modal, { IInternalModalAttrs } from 'flarum/common/components/Modal';\nimport LoadingIndicator from 'flarum/common/components/LoadingIndicator';\nimport avatar from 'flarum/common/helpers/avatar';\nimport username from 'flarum/common/helpers/username';\nimport Link from 'flarum/common/components/Link';\nimport ReactionComponent from '../../common/components/ReactionComponent';\nimport groupBy from '../utils/groupBy';\nimport type Mithril from 'mithril';\nimport PostReaction from '../models/PostReaction';\nimport Post from 'flarum/common/models/Post';\nimport { ApiResponsePlural } from 'flarum/common/Store';\nimport User from 'flarum/common/models/User';\nimport Reaction from '../../common/models/Reaction';\n\ninterface ReactionsModalAttrs extends IInternalModalAttrs {\n post: Post;\n}\n\ninterface ReactionGroup {\n reaction: Reaction;\n users: User[];\n anonymousCount: number;\n}\n\nexport default class ReactionsModal extends Modal {\n reactions: ReactionGroup[] = [];\n loading: boolean = false;\n\n className() {\n return 'ReactionsModal Modal--small';\n }\n\n title() {\n return app.translator.trans('fof-reactions.forum.modal.title');\n }\n\n oninit(vnode: Mithril.Vnode) {\n super.oninit(vnode);\n this.load();\n }\n\n content(): Mithril.Children {\n if (this.loading) {\n return (\n
\n \n
\n );\n }\n\n return (\n
\n
    \n {this.reactions.map(({ reaction, users, anonymousCount }) => this.buildReactionSection(reaction, users, anonymousCount))}\n
\n
\n );\n }\n\n buildReactionSection(reaction: Reaction, users: User[], anonymousCount: number): Mithril.Children {\n return (\n
\n \n \n \n \n\n
\n\n {users.map((user: User) => (\n
  • \n \n {avatar(user, { loading: 'lazy' })}\n {username(user)}\n \n
  • \n ))}\n\n {anonymousCount > 0 &&
  • {app.translator.trans('fof-reactions.forum.modal.anonymous_count', { count: anonymousCount })}
  • }\n
    \n );\n }\n\n async load(): Promise {\n this.loading = true;\n\n const response = await app.store.find>(`/posts/${this.attrs.post.id()}/reactions`, { include: 'user,reaction' });\n\n const groupedReactions = groupBy(response, (r: PostReaction) => r.reactionId());\n const reactions: ReactionGroup[] = [];\n\n for (let reactionId in groupedReactions) {\n const reaction = app.store.getById('reactions', reactionId);\n\n if (!reaction) {\n continue;\n }\n\n const users: User[] = [];\n let anonymousCount = 0;\n\n for (let reactionInstance of groupedReactions[reactionId]) {\n const userId = reactionInstance.userId() as unknown as string | null;\n if (userId === null) {\n // Check for null userId\n anonymousCount++;\n } else {\n const user = app.store.getById('users', userId);\n if (user) {\n // Check for null user\n users.push(user);\n }\n }\n }\n\n reactions.push({ reaction, users, anonymousCount });\n }\n\n this.reactions = reactions;\n this.loading = false;\n }\n}\n","import PostReactAction from './PostReactAction';\nimport PostReactedNotification from './PostReactedNotification';\nimport ReactionsModal from './ReactionsModal';\n\nexport const components = {\n PostReactAction,\n PostReactedNotification,\n ReactionsModal,\n};\n","import PostReaction from './PostReaction';\n\nexport const models = {\n PostReaction,\n};\n","import groupBy from './groupBy';\n\nexport const utils = {\n groupBy,\n};\n","import ReactionComponent from './ReactionComponent';\n\nexport const commonComponents = {\n ReactionComponent,\n};\n","import Reaction from './Reaction';\n\nexport const commonModels = {\n Reaction,\n};\n","import emoji from './emoji';\n\nexport const commonUtil = {\n emoji,\n};\n","import { extend } from 'flarum/common/extend';\nimport app from 'flarum/forum/app';\nimport Forum from 'flarum/common/models/Forum';\nimport Discussion from 'flarum/common/models/Discussion';\nimport Post from 'flarum/common/models/Post';\nimport Model from 'flarum/common/Model';\nimport NotificationGrid from 'flarum/forum/components/NotificationGrid';\n\nimport PostReactedNotification from './components/PostReactedNotification';\nimport Reaction from '../common/models/Reaction';\nimport PostReaction from './models/PostReaction';\n\nimport addPusher from './addPusher';\nimport addReactionAction from './addReactionAction';\n\nexport * from './components';\nexport * from './models';\nexport * from './utils';\nexport * from '../common/components';\nexport * from '../common/models';\nexport * from '../common/util';\n\napp.initializers.add('fof/reactions', () => {\n app.store.models.reactions = Reaction;\n app.store.models.post_reactions = PostReaction;\n\n app.notificationComponents.postReacted = PostReactedNotification;\n\n Post.prototype.canReact = Model.attribute('canReact');\n Post.prototype.reactionCounts = Model.attribute('reactionCounts');\n Post.prototype.userReaction = Model.attribute('userReaction');\n\n Forum.prototype.reactions = Model.hasMany('reactions');\n\n Discussion.prototype.canSeeReactions = Model.attribute('canSeeReactions');\n\n addReactionAction();\n addPusher();\n\n extend(NotificationGrid.prototype, 'notificationTypes', (items) => {\n items.add('postReacted', {\n name: 'postReacted',\n icon: 'far fa-smile',\n label: app.translator.trans('fof-reactions.forum.settings.notify_post_reacted_label'),\n });\n });\n});\n","import { extend } from 'flarum/common/extend';\nimport app from 'flarum/forum/app';\nimport CommentPost from 'flarum/forum/components/CommentPost';\nimport PostReactAction from './components/PostReactAction';\nimport PostControls from 'flarum/forum/utils/PostControls';\nimport Button from 'flarum/common/components/Button';\nimport ReactionsModal from './components/ReactionsModal';\n\nexport default () => {\n extend(CommentPost.prototype, 'actionItems', function (items) {\n const post = this.attrs.post;\n\n if (post.isHidden()) return;\n\n const hasReacted = app.session.user && post.userReaction() !== null;\n\n items.add(\n 'react',\n PostReactAction.component({\n post,\n hasReacted,\n }),\n 5\n );\n });\n\n extend(PostControls, 'moderationControls', function (items, post) {\n const reactionCounts = post.reactionCounts();\n const hasReactions = reactionCounts && Object.keys(reactionCounts).length > 0;\n\n if (post.discussion().canSeeReactions() && hasReactions) {\n items.add(\n 'viewReactions',\n \n );\n }\n });\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["module","exports","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","global","Object","freeSelf","self","root","Function","objectToString","prototype","toString","nativeMax","Math","max","nativeMin","min","now","Date","isObject","value","type","toNumber","isObjectLike","call","isSymbol","other","valueOf","replace","isBinary","test","slice","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","remainingWait","debounced","isInvoking","arguments","this","leadingEdge","cancel","clearTimeout","flush","runtime","Op","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","key","defineProperty","enumerable","configurable","writable","err","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","state","GenStateSuspendedStart","method","arg","GenStateExecuting","Error","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","done","GenStateSuspendedYield","makeInvokeMethod","fn","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","invoke","resolve","reject","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","globalThis","flarum","core","compat","_setPrototypeOf","o","p","_inheritsLoose","subClass","superClass","shortnames","flatten","arr","depth","reduce","a","v","concat","Array","isArray","emojis","entries","toUnicodeEmoji","codePoint","String","fromCodePoint","split","map","e","emojiCache","Map","fuzzySet","useLevenshtein","gramSizeLower","gramSizeUpper","fuzzyset","exactSet","matchDict","items","_distance","str1","str2","distance","current","j","levenshtein","_nonWordRe","_gramCounter","gramSize","grams","simplified","toLowerCase","lenDiff","results","_iterateGrams","get","defaultValue","minMatchScore","_get","__get","gram","gramCount","index","otherGramCount","normalizedValue","_normalizeStr","matches","gramCounts","sumOfSquareGramCounts","pow","prop","isEmptyObject","matchScore","vectorNormal","sqrt","matchIndex","sortDescending","b","sort","newResults","endIndex","scoreWordPair","bind","add","_add","str","count","isEmpty","reactionOrIdentifier","score","query","_results$","identifier","has","includes","match","item","emoji","find","_ref","getEmoji","output","uc","url","app","set","PostReactedNotification","_Notification","_proto","icon","href","post","attrs","notification","subject","content","_JSON$parse","JSON","parse","user","fromUser","reaction","m","src","loading","height","trans","excerpt","contentPlain","Notification","Reaction","_Model","Model","display","enabled","user_id","post_id","reaction_id","PostReaction","userId","postId","reactionId","fetch","include","redraw","update","debounce","_extends","assign","target","source","ReactionComponent","_Component","view","extract","className","title","draggable","alt","classList","Component","PostReactAction","oninit","vnode","updateChosenReaction","oncreate","window","$","unbind","on","toggleClass","document","click","is","parents","removeClass","getReactions","_this","ItemList","reactions","Button","onclick","react","id","_this2","reactionCounts","canReact","style","getById","spanClass","userReaction","disabled","reactButton","number","listItems","toArray","class","width","viewBox","stroke","fill","x","y","d","transform","points","_this3","blur","allowAnonymous","attribute","show","originalPostReactions","save","remove","data","relationships","ranks","likes","append","LogInModal","asyncGeneratorStep","gen","_next","_throw","val","acc","ReactionsModal","_Modal","_len","_key","load","LoadingIndicator","users","anonymousCount","buildReactionSection","Link","avatar","username","_load","_regeneratorRuntime","_callee","response","groupedReactions","_iterator","_step","reactionInstance","_context","groupBy","r","t0","t1","_createForOfIteratorHelperLoose","Modal","components","models","utils","commonComponents","commonModels","commonUtil","post_reactions","postReacted","Post","Forum","Discussion","canSeeReactions","extend","CommentPost","isHidden","hasReacted","component","PostControls","hasReactions","discussion","DiscussionPage","isInitialized","channels","main","_ref2","postReaction","all","filter","NotificationGrid","label","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","definition","g"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"forum.js","mappings":"2BAAAA,EAAOC,QAAU,EAAjBD,I,gBCUA,IASIE,EAAS,aAGTC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SAGfC,EAA8B,iBAAVC,EAAAA,GAAsBA,EAAAA,GAAUA,EAAAA,EAAOC,SAAWA,QAAUD,EAAAA,EAGhFE,EAA0B,iBAARC,MAAoBA,MAAQA,KAAKF,SAAWA,QAAUE,KAGxEC,EAAOL,GAAcG,GAAYG,SAAS,cAATA,GAUjCC,EAPcL,OAAOM,UAOQC,SAG7BC,EAAYC,KAAKC,IACjBC,EAAYF,KAAKG,IAkBjBC,EAAM,WACR,OAAOV,EAAKW,KAAKD,KACnB,EA2MA,SAASE,EAASC,GAChB,IAAIC,SAAcD,EAClB,QAASA,IAAkB,UAARC,GAA4B,YAARA,EACzC,CA2EA,SAASC,EAASF,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,GAhCF,SAAkBA,GAChB,MAAuB,iBAATA,GAtBhB,SAAsBA,GACpB,QAASA,GAAyB,iBAATA,CAC3B,CAqBKG,CAAaH,IAzTF,mBAyTYX,EAAee,KAAKJ,EAChD,CA6BMK,CAASL,GACX,OA3VM,IA6VR,GAAID,EAASC,GAAQ,CACnB,IAAIM,EAAgC,mBAAjBN,EAAMO,QAAwBP,EAAMO,UAAYP,EACnEA,EAAQD,EAASO,GAAUA,EAAQ,GAAMA,CAC3C,CACA,GAAoB,iBAATN,EACT,OAAiB,IAAVA,EAAcA,GAASA,EAEh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6E,eAAetF,EAAS4E,OAAOM,YAAa,CAAEzD,MAAO,WAE7DhB,OAAO6E,eAAetF,EAAS,aAAc,CAAEyB,OAAO,GAAO,E","sources":["webpack://@fof/reactions/./node_modules/@babel/runtime/regenerator/index.js","webpack://@fof/reactions/./node_modules/lodash.debounce/index.js","webpack://@fof/reactions/./node_modules/regenerator-runtime/runtime.js","webpack://@fof/reactions/external root \"flarum.core.compat['common/extend']\"","webpack://@fof/reactions/external root \"flarum.core.compat['forum/app']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/models/Forum']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/models/Discussion']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/models/Post']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/Model']\"","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/NotificationGrid']\"","webpack://@fof/reactions/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@fof/reactions/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/Notification']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/helpers/icon']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/app']\"","webpack://@fof/reactions/./src/common/util/emoji.js","webpack://@fof/reactions/./node_modules/fuzzyset/dist/fuzzyset.esm.js","webpack://@fof/reactions/./src/forum/components/PostReactedNotification.js","webpack://@fof/reactions/./src/common/models/Reaction.ts","webpack://@fof/reactions/./src/forum/models/PostReaction.ts","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/DiscussionPage']\"","webpack://@fof/reactions/./src/forum/addPusher.js","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/CommentPost']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/Component']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/utils/ItemList']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/components/Button']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/helpers/listItems']\"","webpack://@fof/reactions/external root \"flarum.core.compat['forum/components/LogInModal']\"","webpack://@fof/reactions/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://@fof/reactions/external root \"flarum.core.compat['common/utils/extract']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/utils/classList']\"","webpack://@fof/reactions/./src/common/components/ReactionComponent.js","webpack://@fof/reactions/./src/forum/components/PostReactAction.js","webpack://@fof/reactions/external root \"flarum.core.compat['forum/utils/PostControls']\"","webpack://@fof/reactions/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://@fof/reactions/external root \"flarum.core.compat['common/components/Modal']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/components/LoadingIndicator']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/helpers/avatar']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/helpers/username']\"","webpack://@fof/reactions/external root \"flarum.core.compat['common/components/Link']\"","webpack://@fof/reactions/./src/forum/utils/groupBy.ts","webpack://@fof/reactions/./src/forum/components/ReactionsModal.tsx","webpack://@fof/reactions/./src/forum/components/index.js","webpack://@fof/reactions/./src/forum/models/index.js","webpack://@fof/reactions/./src/forum/utils/index.js","webpack://@fof/reactions/./src/common/components/index.js","webpack://@fof/reactions/./src/common/models/index.js","webpack://@fof/reactions/./src/common/util/index.js","webpack://@fof/reactions/./src/forum/index.js","webpack://@fof/reactions/./src/forum/addReactionAction.js","webpack://@fof/reactions/webpack/bootstrap","webpack://@fof/reactions/webpack/runtime/compat get default export","webpack://@fof/reactions/webpack/runtime/define property getters","webpack://@fof/reactions/webpack/runtime/global","webpack://@fof/reactions/webpack/runtime/hasOwnProperty shorthand","webpack://@fof/reactions/webpack/runtime/make namespace object"],"sourcesContent":["module.exports = require(\"regenerator-runtime\");\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/extend'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/app'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/models/Forum'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/models/Discussion'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/models/Post'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/Model'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/NotificationGrid'];","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/Notification'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/helpers/icon'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/app'];","import app from 'flarum/common/app';\nimport emojis from 'simple-emoji-map';\nimport FuzzySet from 'fuzzyset';\n\nconst flatten = (arr, depth = 1) => arr.reduce((a, v) => a.concat(depth > 1 && Array.isArray(v) ? flatten(v, depth - 1) : v), []);\nconst shortnames = flatten(Object.values(emojis));\nconst entries = Object.entries(emojis);\nconst getEmoji = (identifier) => entries.find(([, value]) => value.includes(identifier));\nconst toUnicodeEmoji = (codePoint) => String.fromCodePoint(...codePoint.split('-').map((e) => `0x${e}`));\n\nconst emojiCache = new Map();\nconst fuzzySet = new FuzzySet(shortnames);\n\nconst search = (query) => {\n const results = fuzzySet.get(query);\n const [score, item] = results[0];\n\n return {\n score,\n item,\n };\n};\n\nexport default (reactionOrIdentifier) => {\n if (!reactionOrIdentifier) return {};\n\n let identifier = reactionOrIdentifier.identifier || reactionOrIdentifier;\n\n if (emojiCache.has(identifier)) return emojiCache.get(identifier);\n\n let score;\n\n if (!shortnames.includes(identifier)) {\n const match = search(identifier);\n\n identifier = match?.item;\n score = match?.score;\n }\n\n const emoji = getEmoji(identifier);\n const codePoint = emoji?.[0];\n\n const output = codePoint\n ? {\n identifier,\n score,\n uc: toUnicodeEmoji(codePoint),\n url: app.data['fof-reactions.cdnUrl'].replace('[codepoint]', codePoint.toLowerCase()),\n type: 'emoji',\n }\n : {};\n\n emojiCache.set(reactionOrIdentifier, output);\n\n return output || {};\n};\n","const FuzzySet = function(arr, useLevenshtein, gramSizeLower, gramSizeUpper) {\n var fuzzyset = {\n\n };\n\n // default options\n arr = arr || [];\n fuzzyset.gramSizeLower = gramSizeLower || 2;\n fuzzyset.gramSizeUpper = gramSizeUpper || 3;\n fuzzyset.useLevenshtein = (typeof useLevenshtein !== 'boolean') ? true : useLevenshtein;\n\n // define all the object functions and attributes\n fuzzyset.exactSet = {};\n fuzzyset.matchDict = {};\n fuzzyset.items = {};\n\n // helper functions\n var levenshtein = function(str1, str2) {\n var current = [], prev, value;\n\n for (var i = 0; i <= str2.length; i++)\n for (var j = 0; j <= str1.length; j++) {\n if (i && j)\n if (str1.charAt(j - 1) === str2.charAt(i - 1))\n value = prev;\n else\n value = Math.min(current[j], current[j - 1], prev) + 1;\n else\n value = i + j;\n\n prev = current[j];\n current[j] = value;\n }\n\n return current.pop();\n };\n\n // return an edit distance from 0 to 1\n var _distance = function(str1, str2) {\n if (str1 === null && str2 === null) throw 'Trying to compare two null values';\n if (str1 === null || str2 === null) return 0;\n str1 = String(str1); str2 = String(str2);\n\n var distance = levenshtein(str1, str2);\n if (str1.length > str2.length) {\n return 1 - distance / str1.length;\n } else {\n return 1 - distance / str2.length;\n }\n };\n\n // u00C0-u00FF is latin characters\n // u0621-u064a is arabic letters\n // u0660-u0669 is arabic numerals\n // TODO: figure out way to do this for more languages\n var _nonWordRe = /[^a-zA-Z0-9\\u00C0-\\u00FF\\u0621-\\u064A\\u0660-\\u0669, ]+/g;\n\n var _iterateGrams = function(value, gramSize) {\n gramSize = gramSize || 2;\n var simplified = '-' + value.toLowerCase().replace(_nonWordRe, '') + '-',\n lenDiff = gramSize - simplified.length,\n results = [];\n if (lenDiff > 0) {\n for (var i = 0; i < lenDiff; ++i) {\n simplified += '-';\n }\n }\n for (var i = 0; i < simplified.length - gramSize + 1; ++i) {\n results.push(simplified.slice(i, i + gramSize));\n }\n return results;\n };\n\n var _gramCounter = function(value, gramSize) {\n // return an object where key=gram, value=number of occurrences\n gramSize = gramSize || 2;\n var result = {},\n grams = _iterateGrams(value, gramSize),\n i = 0;\n for (i; i < grams.length; ++i) {\n if (grams[i] in result) {\n result[grams[i]] += 1;\n } else {\n result[grams[i]] = 1;\n }\n }\n return result;\n };\n\n // the main functions\n fuzzyset.get = function(value, defaultValue, minMatchScore) {\n // check for value in set, returning defaultValue or null if none found\n if (minMatchScore === undefined) {\n minMatchScore = .33;\n }\n var result = this._get(value, minMatchScore);\n if (!result && typeof defaultValue !== 'undefined') {\n return defaultValue;\n }\n return result;\n };\n\n fuzzyset._get = function(value, minMatchScore) {\n var results = [];\n // start with high gram size and if there are no results, go to lower gram sizes\n for (var gramSize = this.gramSizeUpper; gramSize >= this.gramSizeLower; --gramSize) {\n results = this.__get(value, gramSize, minMatchScore);\n if (results && results.length > 0) {\n return results;\n }\n }\n return null;\n };\n\n fuzzyset.__get = function(value, gramSize, minMatchScore) {\n var normalizedValue = this._normalizeStr(value),\n matches = {},\n gramCounts = _gramCounter(normalizedValue, gramSize),\n items = this.items[gramSize],\n sumOfSquareGramCounts = 0,\n gram,\n gramCount,\n i,\n index,\n otherGramCount;\n\n for (gram in gramCounts) {\n gramCount = gramCounts[gram];\n sumOfSquareGramCounts += Math.pow(gramCount, 2);\n if (gram in this.matchDict) {\n for (i = 0; i < this.matchDict[gram].length; ++i) {\n index = this.matchDict[gram][i][0];\n otherGramCount = this.matchDict[gram][i][1];\n if (index in matches) {\n matches[index] += gramCount * otherGramCount;\n } else {\n matches[index] = gramCount * otherGramCount;\n }\n }\n }\n }\n\n function isEmptyObject(obj) {\n for(var prop in obj) {\n if(obj.hasOwnProperty(prop))\n return false;\n }\n return true;\n }\n\n if (isEmptyObject(matches)) {\n return null;\n }\n\n var vectorNormal = Math.sqrt(sumOfSquareGramCounts),\n results = [],\n matchScore;\n // build a results list of [score, str]\n for (var matchIndex in matches) {\n matchScore = matches[matchIndex];\n results.push([matchScore / (vectorNormal * items[matchIndex][0]), items[matchIndex][1]]);\n }\n var sortDescending = function(a, b) {\n if (a[0] < b[0]) {\n return 1;\n } else if (a[0] > b[0]) {\n return -1;\n } else {\n return 0;\n }\n };\n results.sort(sortDescending);\n if (this.useLevenshtein) {\n var newResults = [],\n endIndex = Math.min(50, results.length);\n // truncate somewhat arbitrarily to 50\n for (var i = 0; i < endIndex; ++i) {\n newResults.push([_distance(results[i][1], normalizedValue), results[i][1]]);\n }\n results = newResults;\n results.sort(sortDescending);\n }\n newResults = [];\n results.forEach(function(scoreWordPair) {\n if (scoreWordPair[0] >= minMatchScore) {\n newResults.push([scoreWordPair[0], this.exactSet[scoreWordPair[1]]]);\n }\n }.bind(this));\n return newResults;\n };\n\n fuzzyset.add = function(value) {\n var normalizedValue = this._normalizeStr(value);\n if (normalizedValue in this.exactSet) {\n return false;\n }\n\n var i = this.gramSizeLower;\n for (i; i < this.gramSizeUpper + 1; ++i) {\n this._add(value, i);\n }\n };\n\n fuzzyset._add = function(value, gramSize) {\n var normalizedValue = this._normalizeStr(value),\n items = this.items[gramSize] || [],\n index = items.length;\n\n items.push(0);\n var gramCounts = _gramCounter(normalizedValue, gramSize),\n sumOfSquareGramCounts = 0,\n gram, gramCount;\n for (gram in gramCounts) {\n gramCount = gramCounts[gram];\n sumOfSquareGramCounts += Math.pow(gramCount, 2);\n if (gram in this.matchDict) {\n this.matchDict[gram].push([index, gramCount]);\n } else {\n this.matchDict[gram] = [[index, gramCount]];\n }\n }\n var vectorNormal = Math.sqrt(sumOfSquareGramCounts);\n items[index] = [vectorNormal, normalizedValue];\n this.items[gramSize] = items;\n this.exactSet[normalizedValue] = value;\n };\n\n fuzzyset._normalizeStr = function(str) {\n if (Object.prototype.toString.call(str) !== '[object String]') throw 'Must use a string as argument to FuzzySet functions';\n return str.toLowerCase();\n };\n\n // return length of items in set\n fuzzyset.length = function() {\n var count = 0,\n prop;\n for (prop in this.exactSet) {\n if (this.exactSet.hasOwnProperty(prop)) {\n count += 1;\n }\n }\n return count;\n };\n\n // return is set is empty\n fuzzyset.isEmpty = function() {\n for (var prop in this.exactSet) {\n if (this.exactSet.hasOwnProperty(prop)) {\n return false;\n }\n }\n return true;\n };\n\n // return list of values loaded into set\n fuzzyset.values = function() {\n var values = [],\n prop;\n for (prop in this.exactSet) {\n if (this.exactSet.hasOwnProperty(prop)) {\n values.push(this.exactSet[prop]);\n }\n }\n return values;\n };\n\n\n // initialization\n var i = fuzzyset.gramSizeLower;\n for (i; i < fuzzyset.gramSizeUpper + 1; ++i) {\n fuzzyset.items[i] = [];\n }\n // add all the items to the set\n for (i = 0; i < arr.length; ++i) {\n fuzzyset.add(arr[i]);\n }\n\n return fuzzyset;\n};\n\nexport default FuzzySet;\n","import app from 'flarum/forum/app';\nimport Notification from 'flarum/forum/components/Notification';\nimport icon from 'flarum/common/helpers/icon';\n\nimport emoji from '../../common/util/emoji';\n\nexport default class PostReactedNotification extends Notification {\n icon() {\n return 'fas fa-heart';\n }\n\n href() {\n return app.route.post(this.attrs.notification.subject());\n }\n\n content() {\n const notification = this.attrs.notification;\n const { identifier, type } = JSON.parse(notification.content());\n const user = notification.fromUser();\n\n const reaction = type === 'emoji' ? : icon(identifier);\n\n return app.translator.trans('fof-reactions.forum.notification', {\n user,\n reaction,\n });\n }\n\n excerpt() {\n return this.attrs.notification.subject().contentPlain();\n }\n}\n","import Model from 'flarum/common/Model';\n\nexport default class Reaction extends Model {\n identifier() {\n return Model.attribute('identifier').call(this);\n }\n\n display() {\n return Model.attribute('display').call(this);\n }\n\n type() {\n return Model.attribute('type').call(this);\n }\n\n enabled() {\n return Model.attribute('enabled').call(this);\n }\n\n user_id() {\n return Model.attribute('user_id').call(this);\n }\n\n post_id() {\n return Model.attribute('post_id').call(this);\n }\n\n reaction_id() {\n return Model.attribute('reaction_id').call(this);\n }\n}\n","import Model from 'flarum/common/Model';\nimport Post from 'flarum/common/models/Post';\nimport User from 'flarum/common/models/User';\n\nexport default class PostReaction extends Model {\n reaction() {\n return Model.attribute('reaction').call(this);\n }\n\n userId() {\n return Model.attribute('userId').call(this);\n }\n\n postId() {\n return Model.attribute('postId').call(this);\n }\n\n reactionId() {\n return Model.attribute('reactionId').call(this);\n }\n\n user() {\n return Model.hasOne('user');\n }\n\n post() {\n return Model.hasOne('post');\n }\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/DiscussionPage'];","import app from 'flarum/forum/app';\nimport debounce from 'lodash.debounce';\n\nimport { extend } from 'flarum/common/extend';\nimport DiscussionPage from 'flarum/forum/components/DiscussionPage';\n\nconst fetch = (postId) => app.store.find('posts', postId, { include: 'reactions' }).then(() => m.redraw());\nconst debounced = [];\nconst update = (postId) => {\n let func = debounced[postId];\n\n if (func) return func(postId);\n\n func = debounced[postId] = debounce(fetch, 1500);\n\n return func(postId);\n};\n\nexport default () => {\n extend(DiscussionPage.prototype, 'config', function (x, isInitialized, context) {\n if (isInitialized) return;\n\n if (app.pusher) {\n app.pusher.then((channels) => {\n channels.main.bind('newReaction', ({ postId, reactionId }) => {\n const reaction = app.store.getById('reactions', reactionId);\n const post = app.store.getById('posts', postId);\n\n if (!reaction || !post) return;\n\n update(postId);\n });\n\n channels.main.bind('removedReaction', ({ userId, postId, reactionId }) => {\n const postReaction = app.store\n .all('post_reactions')\n .filter((r) => r.userId() == userId && r.postId() == postId && r.reactionId() == reactionId)[0];\n\n if (!postReaction) return;\n\n app.store.remove(postReaction);\n\n update(postId);\n\n m.redraw();\n });\n\n extend(context, 'onunload', () => channels.main.unbind('newReaction'));\n extend(context, 'onunload', () => channels.main.unbind('removedReaction'));\n });\n }\n });\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/CommentPost'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/Component'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/ItemList'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/Button'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/helpers/listItems'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/components/LogInModal'];","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/extract'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/classList'];","import Component from 'flarum/common/Component';\nimport extract from 'flarum/common/utils/extract';\nimport classList from 'flarum/common/utils/classList';\n\nimport emoji from '../util/emoji';\n\nexport default class ReactionComponent extends Component {\n view() {\n const attrs = { ...this.attrs };\n const reaction = extract(attrs, 'reaction');\n const className = extract(attrs, 'className');\n\n if (!reaction) return ;\n\n const display = reaction.display() || reaction.identifier();\n\n if (!attrs.title) attrs.title = display;\n\n if (reaction.type() === 'emoji') {\n const { url } = emoji(reaction.identifier());\n\n return {display};\n } else {\n return ;\n }\n }\n}\n","import app from 'flarum/forum/app';\nimport Component from 'flarum/common/Component';\nimport ItemList from 'flarum/common/utils/ItemList';\nimport Button from 'flarum/common/components/Button';\nimport listItems from 'flarum/common/helpers/listItems';\nimport LogInModal from 'flarum/forum/components/LogInModal';\nimport ReactionComponent from '../../common/components/ReactionComponent';\n\nexport default class PostReactAction extends Component {\n oninit(vnode) {\n super.oninit(vnode);\n\n this.post = this.attrs.post;\n\n this.loading = {};\n\n this.updateChosenReaction();\n }\n\n oncreate(vnode) {\n super.oncreate(vnode);\n if ('ontouchstart' in window) {\n $('.Reactions')\n .unbind()\n .on('touchend', function () {\n $(this).find('.CommentPost--Reactions').toggleClass('mobile-show');\n });\n $(document).click(function (e) {\n var target = e.target;\n if (!$(target).is('.Reactions') && !$(target).parents().is('.Reactions')) {\n $('.CommentPost--Reactions').removeClass('mobile-show');\n }\n });\n }\n }\n\n getReactions() {\n const items = new ItemList();\n\n app.forum.reactions().forEach((reaction) => {\n if (!reaction.enabled()) {\n return;\n }\n items.add(\n reaction.identifier().replace(/fa.? fa-/, ''),\n \n \n \n );\n });\n\n return items;\n }\n\n view() {\n const reactionCounts = this.post.reactionCounts();\n const canReact = this.post.canReact();\n\n return (\n
    \n
    \n {Object.keys(reactionCounts).map((id) => {\n const reaction = app.store.getById('reactions', id);\n const count = reactionCounts[id];\n\n if (count === 0) return;\n\n const spanClass = reaction.type() === 'icon' ? `${reaction.identifier()} emoji button-emoji reaction-icon` : '';\n const icon = ;\n\n return Button.component(\n {\n className: `Button Button--flat Button-emoji-parent ${\n this.post.userReaction() && this.post.userReaction() == reaction.id() && 'active'\n }`,\n onclick: canReact ? this.react.bind(this, reaction) : '',\n 'data-reaction': reaction.identifier(),\n disabled: !canReact,\n loading: this.loading[reaction.id()],\n },\n \n {icon} {count > 1 ? {count} : ''}\n \n );\n })}\n
    \n\n {(!Object.keys(this.loading).length || this.loading[null]) && !this.post.userReaction() && canReact && (\n
    \n {this.reactButton()}\n\n
    \n
      {listItems(this.getReactions().toArray())}
    \n
    \n
    \n )}\n
    \n );\n }\n\n reactButton() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n\n react(reaction, e) {\n e.target.blur();\n\n const allowAnonymous = app.forum.attribute('fofReactionsAllowAnonymous');\n\n if (!app.session.user && !allowAnonymous) {\n app.modal.show(LogInModal);\n return;\n }\n\n if (!this.post.canReact()) {\n return app.alerts.show({ type: 'error' }, app.translator.trans('core.lib.error.permission_denied_message'));\n }\n\n const id = !reaction ? null : reaction.id();\n const originalPostReactions = this.post.reactionCounts();\n\n this.loading[id] = true;\n\n return this.post\n .save({ reaction: id })\n .then((post) => {\n delete this.loading[id];\n\n for (const reactionId in originalPostReactions) {\n if (!post.reactionCounts().hasOwnProperty(reactionId)) {\n app.store.remove(app.store.getById('reactions', reactionId));\n }\n }\n\n this.updateChosenReaction();\n\n if (\n (app.forum.data.relationships.ranks !== undefined &&\n (app.forum.attribute('ReactionConverts')[0] === reaction || app.forum.attribute('ReactionConverts')[1] === reaction)) ||\n (this.post.data.relationships.likes !== undefined && app.forum.attribute('ReactionConverts')[2] === reaction)\n ) {\n app.alerts.show(\n { type: 'warning' },\n app.translator.trans('fof-reactions.forum.warning', {\n reaction,\n })\n );\n }\n\n m.redraw();\n })\n .catch((err) => {\n delete this.loading[id];\n\n $('body').append(err);\n\n m.redraw();\n });\n }\n\n updateChosenReaction() {\n return (this.reaction = this.post.userReaction());\n }\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['forum/utils/PostControls'];","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/Modal'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/LoadingIndicator'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/helpers/avatar'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/helpers/username'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/components/Link'];","export type GroupByFunction = (val: T) => string | number;\n\nconst groupBy = (arr: T[], fn: GroupByFunction | keyof T): Record =>\n arr.map(typeof fn === 'function' ? fn : (val) => (val as any)[fn]).reduce((acc, val, i) => {\n acc[val] = (acc[val] || []).concat(arr[i]);\n return acc;\n }, {} as Record);\n\nexport default groupBy;\n","import app from 'flarum/forum/app';\nimport Modal, { IInternalModalAttrs } from 'flarum/common/components/Modal';\nimport LoadingIndicator from 'flarum/common/components/LoadingIndicator';\nimport avatar from 'flarum/common/helpers/avatar';\nimport username from 'flarum/common/helpers/username';\nimport Link from 'flarum/common/components/Link';\nimport ReactionComponent from '../../common/components/ReactionComponent';\nimport groupBy from '../utils/groupBy';\nimport type Mithril from 'mithril';\nimport PostReaction from '../models/PostReaction';\nimport Post from 'flarum/common/models/Post';\nimport { ApiResponsePlural } from 'flarum/common/Store';\nimport User from 'flarum/common/models/User';\nimport Reaction from '../../common/models/Reaction';\n\ninterface ReactionsModalAttrs extends IInternalModalAttrs {\n post: Post;\n}\n\ninterface ReactionGroup {\n reaction: Reaction;\n users: User[];\n anonymousCount: number;\n}\n\nexport default class ReactionsModal extends Modal {\n reactions: ReactionGroup[] = [];\n loading: boolean = false;\n\n className() {\n return 'ReactionsModal Modal--small';\n }\n\n title() {\n return app.translator.trans('fof-reactions.forum.modal.title');\n }\n\n oninit(vnode: Mithril.Vnode) {\n super.oninit(vnode);\n this.load();\n }\n\n content(): Mithril.Children {\n if (this.loading) {\n return (\n
    \n \n
    \n );\n }\n\n return (\n
    \n
      \n {this.reactions.map(({ reaction, users, anonymousCount }) => this.buildReactionSection(reaction, users, anonymousCount))}\n
    \n
    \n );\n }\n\n buildReactionSection(reaction: Reaction, users: User[], anonymousCount: number): Mithril.Children {\n return (\n
    \n \n \n \n \n\n
    \n\n {users.map((user: User) => (\n
  • \n \n {avatar(user, { loading: 'lazy' })}\n {username(user)}\n \n
  • \n ))}\n\n {anonymousCount > 0 &&
  • {app.translator.trans('fof-reactions.forum.modal.anonymous_count', { count: anonymousCount })}
  • }\n
    \n );\n }\n\n async load(): Promise {\n this.loading = true;\n\n const response = await app.store.find>(`/posts/${this.attrs.post.id()}/reactions`, { include: 'user,reaction' });\n\n const groupedReactions = groupBy(response, (r: PostReaction) => r.reactionId());\n const reactions: ReactionGroup[] = [];\n\n for (let reactionId in groupedReactions) {\n const reaction = app.store.getById('reactions', reactionId);\n\n if (!reaction) {\n continue;\n }\n\n const users: User[] = [];\n let anonymousCount = 0;\n\n for (let reactionInstance of groupedReactions[reactionId]) {\n const userId = reactionInstance.userId() as unknown as string | null;\n if (userId === null) {\n // Check for null userId\n anonymousCount++;\n } else {\n const user = app.store.getById('users', userId);\n if (user) {\n // Check for null user\n users.push(user);\n }\n }\n }\n\n reactions.push({ reaction, users, anonymousCount });\n }\n\n this.reactions = reactions;\n this.loading = false;\n\n m.redraw();\n }\n}\n","import PostReactAction from './PostReactAction';\nimport PostReactedNotification from './PostReactedNotification';\nimport ReactionsModal from './ReactionsModal';\n\nexport const components = {\n PostReactAction,\n PostReactedNotification,\n ReactionsModal,\n};\n","import PostReaction from './PostReaction';\n\nexport const models = {\n PostReaction,\n};\n","import groupBy from './groupBy';\n\nexport const utils = {\n groupBy,\n};\n","import ReactionComponent from './ReactionComponent';\n\nexport const commonComponents = {\n ReactionComponent,\n};\n","import Reaction from './Reaction';\n\nexport const commonModels = {\n Reaction,\n};\n","import emoji from './emoji';\n\nexport const commonUtil = {\n emoji,\n};\n","import { extend } from 'flarum/common/extend';\nimport app from 'flarum/forum/app';\nimport Forum from 'flarum/common/models/Forum';\nimport Discussion from 'flarum/common/models/Discussion';\nimport Post from 'flarum/common/models/Post';\nimport Model from 'flarum/common/Model';\nimport NotificationGrid from 'flarum/forum/components/NotificationGrid';\n\nimport PostReactedNotification from './components/PostReactedNotification';\nimport Reaction from '../common/models/Reaction';\nimport PostReaction from './models/PostReaction';\n\nimport addPusher from './addPusher';\nimport addReactionAction from './addReactionAction';\n\nexport * from './components';\nexport * from './models';\nexport * from './utils';\nexport * from '../common/components';\nexport * from '../common/models';\nexport * from '../common/util';\n\napp.initializers.add('fof/reactions', () => {\n app.store.models.reactions = Reaction;\n app.store.models.post_reactions = PostReaction;\n\n app.notificationComponents.postReacted = PostReactedNotification;\n\n Post.prototype.canReact = Model.attribute('canReact');\n Post.prototype.reactionCounts = Model.attribute('reactionCounts');\n Post.prototype.userReaction = Model.attribute('userReaction');\n\n Forum.prototype.reactions = Model.hasMany('reactions');\n\n Discussion.prototype.canSeeReactions = Model.attribute('canSeeReactions');\n\n addReactionAction();\n addPusher();\n\n extend(NotificationGrid.prototype, 'notificationTypes', (items) => {\n items.add('postReacted', {\n name: 'postReacted',\n icon: 'far fa-smile',\n label: app.translator.trans('fof-reactions.forum.settings.notify_post_reacted_label'),\n });\n });\n});\n","import { extend } from 'flarum/common/extend';\nimport app from 'flarum/forum/app';\nimport CommentPost from 'flarum/forum/components/CommentPost';\nimport PostReactAction from './components/PostReactAction';\nimport PostControls from 'flarum/forum/utils/PostControls';\nimport Button from 'flarum/common/components/Button';\nimport ReactionsModal from './components/ReactionsModal';\n\nexport default () => {\n extend(CommentPost.prototype, 'actionItems', function (items) {\n const post = this.attrs.post;\n\n if (post.isHidden()) return;\n\n const hasReacted = app.session.user && post.userReaction() !== null;\n\n items.add(\n 'react',\n PostReactAction.component({\n post,\n hasReacted,\n }),\n 5\n );\n });\n\n extend(PostControls, 'moderationControls', function (items, post) {\n const reactionCounts = post.reactionCounts();\n const hasReactions = reactionCounts && Object.keys(reactionCounts).length > 0;\n\n if (post.discussion().canSeeReactions() && hasReactions) {\n items.add(\n 'viewReactions',\n \n );\n }\n });\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["module","exports","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","global","Object","freeSelf","self","root","Function","objectToString","prototype","toString","nativeMax","Math","max","nativeMin","min","now","Date","isObject","value","type","toNumber","isObjectLike","call","isSymbol","other","valueOf","replace","isBinary","test","slice","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","remainingWait","debounced","isInvoking","arguments","this","leadingEdge","cancel","clearTimeout","flush","runtime","Op","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","key","defineProperty","enumerable","configurable","writable","err","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","state","GenStateSuspendedStart","method","arg","GenStateExecuting","Error","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","done","GenStateSuspendedYield","makeInvokeMethod","fn","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","invoke","resolve","reject","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","globalThis","flarum","core","compat","_setPrototypeOf","o","p","_inheritsLoose","subClass","superClass","shortnames","flatten","arr","depth","reduce","a","v","concat","Array","isArray","emojis","entries","toUnicodeEmoji","codePoint","String","fromCodePoint","split","map","e","emojiCache","Map","fuzzySet","useLevenshtein","gramSizeLower","gramSizeUpper","fuzzyset","exactSet","matchDict","items","_distance","str1","str2","distance","current","j","levenshtein","_nonWordRe","_gramCounter","gramSize","grams","simplified","toLowerCase","lenDiff","results","_iterateGrams","get","defaultValue","minMatchScore","_get","__get","gram","gramCount","index","otherGramCount","normalizedValue","_normalizeStr","matches","gramCounts","sumOfSquareGramCounts","pow","prop","isEmptyObject","matchScore","vectorNormal","sqrt","matchIndex","sortDescending","b","sort","newResults","endIndex","scoreWordPair","bind","add","_add","str","count","isEmpty","reactionOrIdentifier","score","query","_results$","identifier","has","includes","match","item","emoji","find","_ref","getEmoji","output","uc","url","app","set","PostReactedNotification","_Notification","_proto","icon","href","post","attrs","notification","subject","content","_JSON$parse","JSON","parse","user","fromUser","reaction","m","src","loading","height","trans","excerpt","contentPlain","Notification","Reaction","_Model","Model","display","enabled","user_id","post_id","reaction_id","PostReaction","userId","postId","reactionId","fetch","include","redraw","update","debounce","_extends","assign","target","source","ReactionComponent","_Component","view","extract","className","title","draggable","alt","classList","Component","PostReactAction","oninit","vnode","updateChosenReaction","oncreate","window","$","unbind","on","toggleClass","document","click","is","parents","removeClass","getReactions","_this","ItemList","reactions","Button","onclick","react","id","_this2","reactionCounts","canReact","style","getById","spanClass","userReaction","disabled","reactButton","number","listItems","toArray","class","width","viewBox","stroke","fill","x","y","d","transform","points","_this3","blur","allowAnonymous","attribute","show","originalPostReactions","save","remove","data","relationships","ranks","likes","append","LogInModal","asyncGeneratorStep","gen","_next","_throw","val","acc","ReactionsModal","_Modal","_len","_key","load","LoadingIndicator","users","anonymousCount","buildReactionSection","Link","avatar","username","_load","_regeneratorRuntime","_callee","response","groupedReactions","_iterator","_step","reactionInstance","_context","groupBy","r","t0","t1","_createForOfIteratorHelperLoose","Modal","components","models","utils","commonComponents","commonModels","commonUtil","post_reactions","postReacted","Post","Forum","Discussion","canSeeReactions","extend","CommentPost","isHidden","hasReacted","component","PostControls","hasReactions","discussion","DiscussionPage","isInitialized","channels","main","_ref2","postReaction","all","filter","NotificationGrid","label","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","definition","g"],"sourceRoot":""} \ No newline at end of file