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

1 line
48 KiB
Plaintext
Raw Normal View History

{"version":3,"sources":["webpack://@flarum/emoji/webpack/bootstrap","webpack://@flarum/emoji/external \"flarum.core.compat['common/extend']\"","webpack://@flarum/emoji/external \"flarum.core.compat['common/components/TextEditor']\"","webpack://@flarum/emoji/external \"flarum.core.compat['forum/app']\"","webpack://@flarum/emoji/external \"flarum.core.compat['common/components/TextEditorButton']\"","webpack://@flarum/emoji/external \"flarum.core.compat['forum/utils/KeyboardNavigatable']\"","webpack://@flarum/emoji/external \"flarum.core.compat['common/Fragment']\"","webpack://@flarum/emoji/external \"flarum.core.compat['common/models/Post']\"","webpack://@flarum/emoji/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@flarum/emoji/./src/forum/fragments/AutocompleteDropdown.js","webpack://@flarum/emoji/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@flarum/emoji/./node_modules/twemoji/dist/twemoji.esm.js","webpack://@flarum/emoji/./src/forum/helpers/getEmojiIconCode.js","webpack://@flarum/emoji/./src/forum/cdn.js","webpack://@flarum/emoji/./src/forum/addComposerAutocomplete.js","webpack://@flarum/emoji/./src/forum/renderEmoji.js","webpack://@flarum/emoji/./src/forum/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","flarum","core","compat","_setPrototypeOf","setPrototypeOf","__proto__","AutocompleteDropdown","subClass","superClass","items","active","index","keyWasJustPressed","constructor","view","className","app","translator","trans","this","map","item","attrs","show","left","top","$","css","hide","navigate","delta","setIndex","clearTimeout","keyWasJustPressedTimeout","setTimeout","complete","eq","find","click","scrollToItem","$dropdown","$items","rangedIndex","length","$item","removeClass","addClass","scrollTop","dropdownScroll","dropdownTop","offset","dropdownBottom","outerHeight","itemTop","itemBottom","parseInt","stop","animate","Fragment","twemoji","base","ext","size","convert","fromCodePoint","codepoint","code","fromCharCode","toCodePoint","onerror","parentNode","replaceChild","createText","alt","parse","what","how","callback","parseString","parseNode","defaultImageSrcGenerator","attributes","returnNull","folder","replace","test","text","re","lastIndex","result","escaper","UFE0Fg","U200D","String","rescaper","shouldntBeParsed","clean","document","createTextNode","icon","options","concat","grabTheRightIcon","rawText","indexOf","node","attrib","attrname","modified","fragment","subnode","match","img","iconId","src","allText","grabAllTextNodes","nodeType","childNodes","push","nodeName","toLowerCase","createDocumentFragment","nodeValue","exec","appendChild","slice","Image","setAttribute","hasAttribute","str","ret","replacer","unicodeSurrogates","sep","charCodeAt","toString","join","getEmojiIconCode","emoji","addComposerAutocomplete","emojiKeys","keys","emojiMap","$container","dropdown","extend","TextEditor","$editor","wrap","navigator","KeyboardNavigatable","when","onUp","onDown","onSelect","onCancel","bindTo","after","params","relEmojiStart","absEmojiStart","typed","inputListeners","selection","composer","editor","getSelectionRange","cursor","lastChunk","getLastNChars","character","substr","substring","makeSuggestion","onclick","replacement","replaceBeforeCursor","onmouseenter","parent","class","draggable","loading","cdn","reEscape","similarEmoji","regTyped","RegExp","maxSuggestions","findMatchingEmojis","matcher","curEmoji","suggestions","render","coordinates","getCaretCoordinates","width","outerWidth","height","offsetParent","Math","max","buildSuggestions","add","insertAtCursor","renderEmoji","override","Post","original","tmp","contentHtml","oldContentHtml","emojifiedDom","implementation","createHTMLDocument","body","innerHTML","emojifiedContentHtml","s9e","TextFormatter","element","initi