akkoma/priv/static/packs/emoji_picker.js

2 lines
607 KiB
JavaScript
Raw Normal View History

Bring mastofe up to date Commit https://git.pleroma.social/tyge/mastofe/commit/5edce2030238293463c041537da4aaeea5cb3875 summary: ``` * 5edce203 - (4 minutes ago) Merge branch 'master' of github.com:tootsuite/mastodon - Morgan Bazalgette (HEAD -> master, origin/master, origin/HEAD) |\ | * 2c51bc0c - (4 hours ago) Add missing rejection handling for Promises (#7008) - unarist (upstream/master) | * e7a17167 - (5 hours ago) Implement the ability for an Administrator or Moderator to remove an account avatar (#6998) - Emelia Smith | * 4fd71acc - (5 hours ago) Fix issues with sending direct messages from user profile (#6999) - Emelia Smith | * 3f51c6ef - (5 hours ago) Weblate translations (2018-04-02) (#7007) - Yamagishi Kazutoshi | * b04f73ce - (6 hours ago) Russian language updated (#7005) - Evgeny Petrov | * 24611d8d - (6 hours ago) i18n: update zh-HK translation (#7004) - luzi82 | * f890d2a7 - (16 hours ago) Support all ActivityPub actor types (#6997) - Eugen Rochko | * 33513753 - (16 hours ago) Fix unpermitted parameters warning when generating pagination URLs (#6995) - Eugen Rochko | * 123a343d - (19 hours ago) [WIP] Enable custom emoji on account pages and in the sidebar (#6124) - David Underwood | * f464f98f - (19 hours ago) Update Ruby to version 2.4.4 (#6964) - Yamagishi Kazutoshi | * 6a895e1a - (20 hours ago) Fix: Prevent submission using same logic as submit button disabling. (#6993) - Emelia Smith * | 011eda08 - (7 minutes ago) Properly cache requests using service workers - Morgan Bazalgette * | 8dd77f17 - (5 hours ago) Fix build - Morgan Bazalgette * | 99373236 - (19 hours ago) Add build status - Morgan Bazalgette * | b448a3a5 - (19 hours ago) Update README - Morgan Bazalgette * | 68fd7ee6 - (20 hours ago) Fix statuses embedded in like/boost notifs being white - Morgan Bazalgette * | 7a9212df - (21 hours ago) Temporary workaround to only show related statuses - Morgan Bazalgette * | 00bd10fa - (26 hours ago) Merge branch 'master' of github.com:tootsuite/mastodon - Morgan Bazalgette |\ \ | |/ | * 993ce0e5 - (28 hours ago) improve zh-HK localization by referring zh-TW and zh-CN (#6988) - luzi82 * | 05832497 - (30 hours ago) Merge branch 'master' of github.com:tootsuite/mastodon - Morgan Bazalgette \ \ |/ * 929f58f1 - (32 hours ago) i18n: Update Polish translation (#6985) - Marcin Mikołajczak ```
2018-04-02 16:31:57 +00:00
webpackJsonp([4],{802:function(e,_,i){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var a=i(885),s=i(889);i.d(_,"Picker",function(){return a.a}),i.d(_,"Emoji",function(){return s.a})},850:function(e,_,i){"use strict";var a=Object;_.a=a.getPrototypeOf||function(e){return e=Object(e),"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Object.prototype:null}},851:function(e,_,i){"use strict";var a=Object;_.a=function(){function e(e,_){for(var i=0;i<_.length;i++){var s=_[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),a.defineProperty(e,s.key,s)}}return function(_,i,a){return i&&e(_.prototype,i),a&&e(_,a),_}}()},852:function(e,_,i){"use strict";function a(e,_){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!_||"object"!=typeof _&&"function"!=typeof _?e:_}_.a=a},853:function(e,_,i){"use strict";function a(e,_){if("function"!=typeof _&&null!==_)throw new TypeError("Super expression must either be null or a function, not "+typeof _);e.prototype=s.create(_&&_.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),_&&(s.setPrototypeOf?s.setPrototypeOf(e,_):e.__proto__=_)}_.a=a;var s=Object},854:function(e,_,i){"use strict";function a(e){var _=e.split("-"),i=_.map(function(e){return"0x"+e});return F.a.apply(null,i)}function s(e){var _=e.name,i=e.short_names,s=e.skin_tone,g=e.skin_variations,m=e.emoticons,o=e.unified,h=e.custom,n=e.imageUrl,t=e.id||i[0],r=":"+t+":";return h?{id:t,name:_,colons:r,emoticons:m,custom:h,imageUrl:n}:(s&&(r+=":skin-tone-"+s+":"),{id:t,name:_,colons:r,emoticons:m,unified:o.toLowerCase(),skin:s||(g?1:null),native:a(o)})}function g(){return s(m.apply(void 0,arguments))}function m(e,_,i){var a={};if("string"==typeof e){var s=e.match(c);if(s&&(e=s[1],s[2]&&(_=parseInt(s[2]))),d.a.short_names.hasOwnProperty(e)&&(e=d.a.short_names[e]),!d.a.emojis.hasOwnProperty(e))return null;a=d.a.emojis[e]}else e.id&&(d.a.short_names.hasOwnProperty(e.id)&&(e.id=d.a.short_names[e.id]),d.a.emojis.hasOwnProperty(e.id)&&(a=d.a.emojis[e.id],_||(_=e.skin)));if(f()(a).length||(a=e,a.custom=!0,a.search||(a.search=Object(l.a)(e))),a.emoticons||(a.emoticons=[]),a.variations||(a.variations=[]),a.skin_variations&&_>1&&i){a=JSON.parse(p.stringify(a));var g=u[_-1],m=a.skin_variations[g];if(!m.variations&&a.variations&&delete a.variations,m["has_img_"+i]){a.skin_tone=_;for(var o in m){var h=m[o];a[o]=h}}}return a.variations&&a.variations.length&&(a=JSON.parse(p.stringify(a)),a.unified=a.variations.shift()),a}function o(e){return e.reduce(function(e,_){return-1===e.indexOf(_)&&e.push(_),e},[])}function h(e,_){var i=o(e),a=o(_);return i.filter(function(e){return a.indexOf(e)>=0})}function n(e,_){var i={};for(var a in e){var s=e[a],g=s;_.hasOwnProperty(a)&&(g=_[a]),"object"==typeof g&&(g=n(s,g)),i[a]=g}return i}function t(){var e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var _=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),_}i.d(_,"b",function(){return m}),i.d(_,"c",function(){return g}),i.d(_,"d",function(){return h}),i.d(_,"a",function(){return n}),i.d(_,"f",function(){return a}),i.d(_,"e",function(){return t});var r=i(938),f=i.n(r),l=i(886),d=i(857),F=i(941),p=JSON,c=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,u=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"]},857:function(e,_,i){"use strict";function a(e){for(var _ in e){var i=e[_];i.short_names||(i.short_names=[]),i.short_names.unshift(_),i.sheet_x=i.sheet[0],i.sheet_y=i.sheet[1],delete i.sheet,i.text||(i.text=""),null===i.added_in||i.added_in||(i.added_in="6.0"),i.search=Object(s.a)({short_names:i.short_names,name:i.name,keywords:i.keywords,emoticons:i.emoticons})}}var s=i(886),g=i(937);a(g.a.emojis),a(g.a.skins),_.a=g.a},861:function(e,_,i){"use strict";var a=Object;_.a=a.assign||function(e){for(var _=1;_<arguments.length;_++){var i=arguments[_];for(var a in i)
//# sourceMappingURL=emoji_picker.js.map