SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "use strict";
  2. var A = document.querySelectorAll("iframe");
  3. var M;
  4. for (var b = 0, i = A.length; b < i; b += 1) {
  5.     var c = A[b];
  6.     if (c.id.match(new RegExp("input_buffer(.+)[0-9]"))) {
  7.         M = A[b];
  8.         break
  9.     }
  10. }
  11. var I = document.querySelector(".se-components-wrap");
  12. var l = [];
  13. var e = false;
  14. var m = function m(A) {
  15.     I.querySelectorAll("p.se-text-paragraph").forEach(function(A, b) {
  16.         if (l.indexOf(A) == -1 && l.length > 0) {
  17.             N()
  18.         }
  19.         l.push(A)
  20.     })
  21. };
  22. I.addEventListener("DOMSubtreeModified", m);
  23. var t = M.contentWindow.document.querySelector("#inputBuffer");
  24. t.oninput = function(A) {
  25.     var b = A.target.textContent;
  26.     if (b === "```") {
  27.         z()
  28.     }
  29. };
  30. t.onkeydown = function(A) {
  31.     var b = A.target.textContent;
  32.     var i = A.keyCode;
  33.     if (i === 191 && !A.shiftKey || b.endsWith("/") && !e) {
  34.         var l = 1e4;
  35.         var m = 1e4;
  36.         var c = I.querySelectorAll("p.se-text-paragraph");
  37.         c.forEach(function(A, b) {
  38.             if (b === 0) return;
  39.             var i = document.querySelectorAll(".se-caret")[1].getClientRects()[0].top + 6;
  40.             if (A.getClientRects().length < 1) return;
  41.             var c = A.getClientRects()[0].top;
  42.             var I = Math.abs(i - c);
  43.             if (I < l) {
  44.                 l = I;
  45.                 m = b
  46.             }
  47.         });
  48.         if (c[m]) {
  49.             c[m].querySelector("span").textContent = "".concat(c[m].querySelector("span").textContent, "/")
  50.         } else {}
  51.         G();
  52.         return false
  53.     } else {
  54.         if (e) {
  55.             M.contentWindow.document.execCommand("insertText", false, "/");
  56.             o()
  57.         }
  58.     }
  59.     if (i !== 32 && !b.match(/\s$/)) return;
  60.     switch (true) {
  61.         case b.startsWith("###"):
  62.             a();
  63.             break;
  64.         case b.startsWith("##"):
  65.             d();
  66.             break;
  67.         case b.startsWith("#"):
  68.             Z();
  69.             break;
  70.         default:
  71.             return true
  72.     }
  73.     if (b.match(/\s$/)) {
  74.         M.contentWindow.document.execCommand("delete", false, null)
  75.     }
  76.     return false
  77. };
  78. var N = function N() {
  79.     setTimeout(function() {
  80.         document.querySelector(".se-toolbar-button-font-size-code").click();
  81.         document.querySelector(".se-toolbar-select-option-item.se-font-size-code.se-font-size-code-fs15.se-fs15").click()
  82.     }, 100)
  83. };
  84. var Z = function Z() {
  85.     M.contentWindow.document.execCommand("delete", false, null);
  86.     setTimeout(function() {
  87.         document.querySelector("#blog-editor > div > div > div > header > div.se-header-inbox.se-l-property-toolbar > ul > li.se-toolbar-button-item.se-toolbar-item-font-size-code > div > button").click();
  88.         document.querySelector(".se-toolbar-select-option-item.se-font-size-code.se-font-size-code-fs34.se-fs34").click()
  89.     }, 100)
  90. };
  91. var d = function d() {
  92.     M.contentWindow.document.execCommand("delete", false, null);
  93.     M.contentWindow.document.execCommand("delete", false, null);
  94.     setTimeout(function() {
  95.         document.querySelector("#blog-editor > div > div > div > header > div.se-header-inbox.se-l-property-toolbar > ul > li.se-toolbar-button-item.se-toolbar-item-font-size-code > div > button").click();
  96.         document.querySelector(".se-toolbar-select-option-item.se-font-size-code.se-font-size-code-fs24.se-fs24").click()
  97.     }, 100)
  98. };
  99. var a = function a() {
  100.     M.contentWindow.document.execCommand("delete", false, null);
  101.     M.contentWindow.document.execCommand("delete", false, null);
  102.     M.contentWindow.document.execCommand("delete", false, null);
  103.     setTimeout(function() {
  104.         document.querySelector("#blog-editor > div > div > div > header > div.se-header-inbox.se-l-property-toolbar > ul > li.se-toolbar-button-item.se-toolbar-item-font-size-code > div > button").click();
  105.         document.querySelector(".se-toolbar-select-option-item.se-font-size-code.se-font-size-code-fs19.se-fs19").click()
  106.     }, 100)
  107. };
  108. var z = function z() {
  109.     M.contentWindow.document.execCommand("delete", false, null);
  110.     M.contentWindow.document.execCommand("delete", false, null);
  111.     M.contentWindow.document.execCommand("delete", false, null);
  112.     document.querySelector("button.se-toolbar-button-code").click()
  113. };
  114. var D = [{
  115.     name: "사진",
  116.     A: "사진을 입력합니다.",
  117.     i: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAIAAABuYg/PAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDMtMTdUMTc6NTU6NTgrMDk6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMTktMDMtMTdUMTc6NT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vTaDQNDQ2hUCibzUIQhNhsNp7nHx8fjUaj0+lE0WI/Olqttr6+/uTkJJ/PDw4OKvtZGIIg6urqTk9PcRxHs9msLMt6vd7lcmEYVqSkpLm52eFwZDKZ9vb2d8qsVmtVVRUAAFWr1RAEud1ulUr1KUmJcuRFBgYAqFSqioqKP5A+m7/v4/ktMeif/fP8AUPOVAlFCyfWAAAAAElFTkSuQmCC",
  118.     className: ".se-toolbar-button-image"
  119. }, {
  120.     name: "동영상",
  121.     A: "동영상을 입력합니다.",
  122.     i: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS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j203IMvg1Zozvfry+fyfsbGxBVWdBSp01EMu7qcYfJF/opsxBouANeAXe0V+Cyi5j/0YMExa+TRMh77HrQW0xfAvirX9DJbD3zF9dAjUTyMH9BdSRAsLloB6PgAAAABJRU5ErkJggg==",
  123.     className: ".se-toolbar-button-video"
  124. }, {
  125.     name: "인용구",
  126.     A: "인용구를 입력합니다.",
  127.     i: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wO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qlUEmA4n8//7PelUqnWhYWFaeBlgH379rF3714Mo/LseJ7H+fPnOXfuHMtZ3JnP52dWSsfi4mIUeA5g69atHDt2rKaML5tKpWQ5S1+W9y0uLkZFZBNAPB4nmUw+IQNgGAbJZJJdu3YBtIhIeqUPwLbtW8CfAMlkkpaWmtu+EsPDw7S3t6OqsUQisdNvD4VCi0AY4NChQ6syAA4ePOh/HLQsa/2KEICqdgJ0d3c3BIkIXV1d/rwdfrvneVtUta2jo4NoNNqQE41G6ejoQFXbPM/bUiEkImGAdevWNQQBK1n0PC9UxgiV962F488tz9A8wOxsc98u/HGGYcyXwW8Dj4vFIktLSw0ZS0tLFItFgMfLcytKxyWAixcvNvxp5DgO9+7dA7jT09Nz3W/PZrMPRCQPcOHChYZC/hgRyWez2QcVQpFI5BRwf3p6mjNnzuB5Xk3IzMwMIyMjugz6Ip1OVwwMhULHATKZDI7jrPpQmUymYg5U1TLTNN9S1YyqGtu3b2fPnj1UX4xjY2OqqgJk4vH4e9VCUHFT09PTw+DgYMXFePnyZSYnJ/3sfOo4zudQo3Qsw3qBs+WnpzxE5JGqHo/H41+l02m3XgZ27979PnAKeL7OkCJwJJ/P/+g31BQCsCxrfalUOqyq7wJdqhoBCiLym6p+k8/nZ+qJVHE2ua77EfCmqr603OwX169zudzd8vErQk9TPHX/fjwTahT/APmIel6WeNBvAAAAAElFTkSuQmCC",
  128.     className: ".se-toolbar-button-quotation"
  129. }, {
  130.     name: "장소",
  131.     A: "장소를 입력합니다.",
  132.     i: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUg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VRaLpSqZTPbNzMx8XldX5w6Hw6Aoqhi3vLyMRCIBhmHGywZyOp3/XFhY0Kanp0vsPM+jv78f7e3tVYSQT0RRfCKK4hNCyCcdHR1V/f394Hm+JObhw4dYWFjQWJb9wqymaVPruj7DsuwXN27cOLx//37s2rWr6PP5fIhEInjw4AGWlpbsAFBRUYFQKLQpz/r6Oq5du4YXMI/LBgIg2+32vyQSibbLly/zx48f3zQgFAptCbFRly5dwtzc3Le7d+8+Q1GUbDbWdMkEQYDP54s5nc7fjYyM4ObNm9vwb9atW7cwMjICp9P5W5/P95UgCKbjtzs6QAgBRVEfE0I+Gxoawuzs7I5hZmdnMTQ0BMMwPnuRA9tdu0yBrFYrrFYrWJY1eJ6PrK+vTw4ODkIUxW1hRFHE4OAgcrncpMvlirAsaxTymdY0c+7ZswcA4Ha7QdN0cnFx8UQ8Hh+5cOGC+8SJE5s2voIURcHFixcRj8dX9+7d+8uqqqqkruvbzg6wzQzJsgxZlgtnFFRVvUcI6R8bG8Po6Ogr40ZHRzE2NgbDMD7K5/N3C/GFfGYynaHa2trvyC0W+P1+VFRUnF9ZWflJNBo9Vl1djYaGhpKY6elpRKNRBAKBc4Ig/M3tdsPj8cAwDFOQogqN9jrPxMSEt7Oz85u+vj6SSqVIQalUivT19ZHOzs5vJiYmvOXkLuvmqqrqc47j3p2bm3sejUaL9mg0ikQi8dzhcLyrqurzcnK/9kURAFiWBSFkmmXZX8VisWhNTQ0DALFYTGVZ9r18Pj/Nsmw5qUGZdf758+e3tKfTaTx69Ag0TVOqqp7Rdf19iqJACPmYpukPdF0nDQ0NJV+aG7XVjr8joO7u7i3tL/YmUBQFRVEckiR9CQAMw3RQFCVRFAVZlks+Wzbq6tWrr6xpumQbD9OXteGHSHa7/QwAGIYhFXx2ux12u90s/ZYynaHvQz+4/4f+DeAsNTqgtggRAAAAAElFTkSuQmCC",
  133.     className: ".se-toolbar-button-map"
  134. }, {
  135.     name: "링크",
  136.     A: "링크를 입력합니다.",
  137.     i: "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BPBXJpN5vJZ3xxWybft4qS182AgMABQKhXKPut2If0dAAA4BgMfj+bqRIJLiuu5ZAFBKZe8HUA8ABIPBqn1nqwzDeAfAiwCW9+3b98n9AFoAgNXV1aqduSxd18cAnBMRV0RGJicn/205kIj8BACO47xSB2YUmw8visjrlmWlm4WpCUTyPIAigFOGYfTXgPn/tZhOpy/tBgaoczEahjFO8iyAoohMiMik3+9fzufzvSRPkXy55B1r5IG2VU3d1CMjI96lpaX3SL5N0lPBdldERi3LmtwJTNNAZZmm2ee67gkAR0juB/CLUuoHTdM+TiaTd3YK0xTQg9Ke+2//EKie9hzQfz0Y0KJDyVUpAAAAAElFTkSuQmCC",
  138.     className: ".se-toolbar-button-oglink"
  139. }, {
  140.     name: "파일",
  141.     A: "일정을 입력합니다.",
  142.     i: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1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ar-button-file"
  144. }, {
  145.     name: "표",
  146.     A: "표를 입력합니다.",
  147.     i: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDMtMTdUMjA6NDk6MTArMDk6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMTktMDMtMTdUMjA6NDk6MTArMDk6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTAzLTE3VDIw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vbpCC6evAAAAAElFTkSuQmCC",
  148.     className: ".se-toolbar-button-table"
  149. }, {
  150.     name: "수식",
  151.     A: "수식을 입력합니다.",
  152.     i: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDMtMTdUMjA6NTE6MzcrMDk6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMTktMDMtMTdUMjA6NTE6MzcrMDk6MDA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p1AokMvlxpLQACZddalUYmZmhunp6Q9F5KBWq91qtVqzqvqMqn4VQnBp/ozzW86mk6dgIrIvIrdU9Q6QEZELU1NTX6Q3PADm3pC+25xQarpAlUoFEUkdfqyqN4DrxphvrbV/pklsjCFJkl6w9OIFoDEE0KUOVD9QqVQCoFar9fZ7VX233W6/H0K4u7u7e+RZlVwuRy6X67VNV/nDEDCp/j4GlK68XC4Pjv0MXHuISe922khkK5XKqOYaiew4nyn/RXL+d8wpOgc6TWcO6B95TIk77hV1+AAAAABJRU5ErkJggg==",
  153.     className: ".se-toolbar-button-formula"
  154. }];
  155. var j = function j() {
  156.     var A = document.querySelector("#drag-ghost");
  157.     A.innerHTML += '\n        <section class="gep-commander">\n            <input class="gep-hidden-input" type="text" hidden>\n            <h3 class="gep-commander-title">유용한 기능</h3>\n            <div style="height: calc(100% - 30px); overflow-y: scroll;" class="tool-wrapper">\n                <ul class="gep-commander-list">\n                </ul>\n            </div>\n        </section>\n    ';
  158.     var b = document.querySelector(".gep-hidden-input");
  159.     b.blur();
  160.     b.focus();
  161.     var i = document.querySelector(".gep-commander").style;
  162.     i.position = "absolute";
  163.     i.top = "50%";
  164.     i.left = "50%";
  165.     i.borderRadius = "10px";
  166.     i.width = "200px";
  167.     i.height = "300px";
  168.     i.border = "1px solid #bdbdbd";
  169.     i.zIndex = 100;
  170.     i.background = "white";
  171.     var c = document.querySelector(".gep-commander-title");
  172.     c.style.width = "100%";
  173.     c.style.height = "20px";
  174.     c.style.color = "black";
  175.     c.style.fontSize = "14px";
  176.     c.style.fontWeight = "bold";
  177.     c.style.marginLeft = "10px";
  178.     c.style.marginTop = "10px";
  179.     var I = document.querySelector(".gep-commander-list");
  180.     var l = "";
  181.     for (var m = 0; m < D.length; m++) {
  182.         var M = D[m],
  183.             e = M.name,
  184.             t = M.A,
  185.             N = M.i;
  186.         l += '\n            <li class="gep-commander-tool" style="width: 100%; height: 50px; lineheight: 50px; padding-left: 10px;">\n                <div style="position: relative; top: 9.5px;">\n                    <img style="display: inline-block;" src="'.concat(N, '" height="18" width="18">\n                    <div style="display: inline-block; margin-left: 5px;">\n                        <strong style="display: inline-block; font-size:14px;">').concat(e, '</strong>\n                        <span style="display: block; margin-top: 5px; color: #a9a9a9">').concat(t, "</span>\n                    </div>\n                </div>\n            </li>\n       ")
  187.     }
  188.     I.innerHTML = l;
  189.     I.style.margin = "10px auto 5px auto";
  190.     I.style.overflowX = "hidden";
  191.     var Z = document.querySelectorAll(".gep-commander-tool");
  192.     var d = function d(A, b) {
  193.         var i = Z[A];
  194.         i.onmouseover = function() {
  195.             i.style.backgroundColor = "#00c73c";
  196.             i.querySelector("strong").style.color = "white";
  197.             i.querySelector("span").style.color = "white"
  198.         };
  199.         i.onmouseout = function() {
  200.             i.style.background = "none";
  201.             i.querySelector("strong").style.color = "black";
  202.             i.querySelector("span").style.color = "#a9a9a9"
  203.         };
  204.         i.onclick = function() {
  205.             o();
  206.             document.querySelector(D[A].className).click()
  207.         }
  208.     };
  209.     for (var a = 0, z = Z.length; a < z; a += 1) {
  210.         d(a, z)
  211.     }
  212. };
  213. var W = 0;
  214. document.body.onkeydown = function(A) {
  215.     var b = A.target.textContent;
  216.     var i = A.keyCode;
  217.     if (!e) {
  218.         return
  219.     }
  220.     var c = document.querySelector(".tool-wrapper");
  221.     var I = document.querySelectorAll(".gep-commander-tool");
  222.     if (i === 13) {
  223.         M.contentWindow.document.execCommand("delete", false, null);
  224.         setTimeout(function() {
  225.             R();
  226.             o()
  227.         }, 100);
  228.         A.stopPropagation();
  229.         N();
  230.         return false
  231.     }
  232.     n();
  233.     switch (i) {
  234.         case 37:
  235.             break;
  236.         case 38:
  237.             {
  238.                 W = W > 0 ? W - 1 : 0;
  239.                 var l = I[W];p(l);l.onmouseover();A.stopPropagation();
  240.                 return false
  241.             }
  242.         case 39:
  243.             break;
  244.         case 40:
  245.             {
  246.                 W = W < D.length - 1 ? W + 1 : W;
  247.                 var m = I[W];p(m);m.onmouseover();A.stopPropagation();
  248.                 return false
  249.             }
  250.     }
  251. };
  252. var n = function n() {
  253.     var A = document.querySelectorAll(".gep-commander-tool");
  254.     var b = true;
  255.     var i = false;
  256.     var c = undefined;
  257.     try {
  258.         for (var I = A[Symbol.iterator](), l; !(b = (l = I.next()).done); b = true) {
  259.             var m = l.value;
  260.             m.onmouseout()
  261.         }
  262.     } catch (M) {
  263.         i = true;
  264.         c = M
  265.     } finally {
  266.         try {
  267.             if (!b && I.I != null) {
  268.                 I.I()
  269.             }
  270.         } finally {
  271.             if (i) {
  272.                 throw c
  273.             }
  274.         }
  275.     }
  276. };
  277. var R = function R() {
  278.     var A = document.querySelectorAll(".gep-commander-tool");
  279.     u();
  280.     A[W].click()
  281. };
  282. var o = function o() {
  283.     var A = document.querySelector(".gep-commander");
  284.     if (A) {
  285.         A.style.display = "none"
  286.     }
  287.     e = false;
  288.     W = 0
  289. };
  290. var G = function G() {
  291.     var A = document.querySelector(".gep-commander");
  292.     if (A) {
  293.         A.style.display = "block"
  294.     } else {
  295.         j()
  296.     }
  297.     n();
  298.     var b = document.querySelector(".gep-commander-tool");
  299.     b.onmouseover();
  300.     b.scrollIntoView();
  301.     e = true;
  302.     W = 0
  303. };
  304. var p = function p(A) {
  305.     var b = document.querySelector(".gep-commander");
  306.     if (!T(A, b)) {
  307.         A.scrollIntoView()
  308.     }
  309. };
  310.  
  311. function T(A, b) {
  312.     b = b || document.body;
  313.     var i = A.getBoundingClientRect(),
  314.         c = i.top,
  315.         I = i.bottom,
  316.         l = i.height;
  317.     var m = b.getBoundingClientRect();
  318.     return c >= m.top && c <= m.bottom && I <= m.bottom && I >= m.top
  319. }
  320. var u = function u() {
  321.     var l = 1e4;
  322.     var m = 1e4;
  323.     var A = I.querySelectorAll("p.se-text-paragraph");
  324.     A.forEach(function(A, b) {
  325.         if (b === 0) return;
  326.         var i = document.querySelectorAll(".se-caret")[1].getClientRects()[0].top + 6;
  327.         if (A.getClientRects().length < 1) return;
  328.         var c = A.getClientRects()[0].top;
  329.         var I = Math.abs(i - c);
  330.         if (I < l) {
  331.             l = I;
  332.             m = b
  333.         }
  334.     });
  335.     if (A[m]) {
  336.         var b = A[m].querySelector("span").textContent;
  337.         if (b.endsWith("/")) {
  338.             A[m].querySelector("span").textContent = b.slice(0, b.length - 1)
  339.         }
  340.     } else {}
  341. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top