framework/extensions/emoji/js/dist/forum.js

2 lines
50 KiB
JavaScript
Raw Normal View History

module.exports=function(f){var e={};function a(_){if(e[_])return e[_].exports;var o=e[_]={i:_,l:!1,exports:{}};return f[_].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=f,a.c=e,a.d=function(f,e,_){a.o(f,e)||Object.defineProperty(f,e,{enumerable:!0,get:_})},a.r=function(f){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},a.t=function(f,e){if(1&e&&(f=a(f)),8&e)return f;if(4&e&&"object"==typeof f&&f&&f.__esModule)return f;var _=Object.create(null);if(a.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:f}),2&e&&"string"!=typeof f)for(var o in f)a.d(_,o,function(e){return f[e]}.bind(null,o));return _},a.n=function(f){var e=f&&f.__esModule?function(){return f.default}:function(){return f};return a.d(e,"a",e),e},a.o=function(f,e){return Object.prototype.hasOwnProperty.call(f,e)},a.p="",a(a.s=7)}([function(f,e){f.exports=flarum.core.compat.extend},function(f,e){f.exports=flarum.core.compat.app},function(f,e){!function(){var e=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],a="undefined"!=typeof window,_=a&&null!=window.mozInnerScreenX;function o(f,o,n){if(!a)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var t=n&&n.debug||!1;if(t){var r=document.querySelector("#input-textarea-caret-position-mirror-div");r&&r.parentNode.removeChild(r)}var i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);var l=i.style,c=window.getComputedStyle?window.getComputedStyle(f):f.currentStyle,s="INPUT"===f.nodeName;l.whiteSpace="pre-wrap",s||(l.wordWrap="break-word"),l.position="absolute",t||(l.visibility="hidden"),e.forEach(function(f){s&&"lineHeight"===f?l.lineHeight=c.height:l[f]=c[f]}),_?f.scrollHeight>parseInt(c.height)&&(l.overflowY="scroll"):l.overflow="hidden",i.textContent=f.value.substring(0,o),s&&(i.textContent=i.textContent.replace(/\s/g," "));var d=document.createElement("span");d.textContent=f.value.substring(o)||".",i.appendChild(d);var g={top:d.offsetTop+parseInt(c.borderTopWidth),left:d.offsetLeft+parseInt(c.borderLeftWidth),height:parseInt(c.lineHeight)};return t?d.style.backgroundColor="#aaa":document.body.removeChild(i),g}void 0!==f&&void 0!==f.exports?f.exports=o:a&&(window.getCaretCoordinates=o)}()},function(f,e){f.exports=flarum.core.compat["components/ComposerBody"]},function(f,e){f.exports=flarum.core.compat["utils/KeyboardNavigatable"]},function(f,e){f.exports=flarum.core.compat.Component},function(f,e){f.exports=flarum.core.compat["models/Post"]},function(f,e,a){"use strict";a.r(e);var _=a(0),o=a(1),n=a.n(o),t=(a(6),a(2)),r=a.n(t),i=a(3),l=a.n(i),c={hash:"0023-20e3",zero:"0030-20e3",one:"0031-20e3",two:"0032-20e3",three:"0033-20e3",four:"0034-20e3",five:"0035-20e3",six:"0036-20e3",seven:"0037-20e3",eight:"0038-20e3",nine:"0039-20e3",copyright:"00a9",registered:"00ae",bangbang:"203c",interrobang:"2049",tm:"2122",information_source:"2139",left_right_arrow:"2194",arrow_up_down:"2195",arrow_upper_left:"2196",arrow_upper_right:"2197",arrow_lower_right:"2198",arrow_lower_left:"2199",leftwards_arrow_with_hook:"21a9",arrow_right_hook:"21aa",watch:"231a",hourglass:"231b",fast_forward:"23e9",rewind:"23ea",arrow_double_up:"23eb",arrow_double_down:"23ec",alarm_clock:"23f0",hourglass_flowing_sand:"23f3",m:"24c2",black_small_square:"25aa",white_small_square:"25ab",arrow_forward:"25b6",arrow_backward:"25c0",white_medium_square:"25fb",black_medium_square:"25fc",white_medium_small_square:"25fd",black_medium_small_square:"25fe",sunny:"2600",cloud:"2601",telephone:"260e",ballot_box_with_check:"2611",umbrella:"2614",coffee:"2615",po
//# sourceMappingURL=forum.js.map