티스토리 수익 글 보기

티스토리 수익 글 보기

/******/ (() => { // webpackBootstrap /******/ “use strict”; /******/ var __webpack_modules__ = ({ /***/ “./src/common/shortcutLayer.ts”: /*!*************************************!*\ !*** ./src/common/shortcutLayer.ts ***! \*************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ “createShortcutLayer”: () => (/* binding */ createShortcutLayer) /* harmony export */ }); var userAgent = window.navigator.userAgent.toLowerCase(); var isMac = userAgent.includes(‘mac’); function renderShortcutList(title, pcKeys, macKeys) { return “\n \n “.concat(title, “\n \n
\n “).concat(pcKeys.map(function (key) { return “".concat(key, "“); }).join(‘ + ‘), “\n
\n
\n “).concat(macKeys ? macKeys.map(function (key) { return “".concat(key, "“); }).join(‘ + ‘) : pcKeys.map(function (key) { return “".concat(key, "“); }).join(‘ + ‘), “\n
\n \n \n “); } function createShortcutLayer() { var layerDiv = document.createElement(‘div’); layerDiv.id = ‘shortcutLayer’; layerDiv.className = ‘doc_help’; layerDiv.style.display = ‘none’; layerDiv.innerHTML = “\n

\uB2E8\uCD95\uD0A4

\n
\n
\n

\uB0B4 \uBE14\uB85C\uADF8

\n \n \n “).concat(renderShortcutList(‘내 블로그 – 관리자 홈 전환’, [‘Q’]), “\n “).concat(renderShortcutList(‘새 글 쓰기’, [‘W’]), “\n \n
\n

\uBE14\uB85C\uADF8 \uAC8C\uC2DC\uAE00

\n \n \n “).concat(renderShortcutList(‘글 수정 (권한 있는 경우)’, [‘E’]), “\n “).concat(renderShortcutList(‘댓글 영역으로 이동’, [‘C’]), “\n \n
\n
\n
\n

\uBAA8\uB4E0 \uC601\uC5ED

\n \n \n “).concat(renderShortcutList(‘이 페이지의 URL 복사’, [‘S’]), “\n “).concat(renderShortcutList(‘맨 위로 이동’, [‘T’]), “\n “).concat(renderShortcutList(‘티스토리 홈 이동’, [‘H’]), “\n “).concat(renderShortcutList(‘단축키 안내’, [‘Shift’, ‘/’], [‘⇧’, ‘/’]), “\n \n
\n
\n
\n

* \uB2E8\uCD95\uD0A4\uB294 \uD55C\uAE00/\uC601\uBB38 \uB300\uC18C\uBB38\uC790\uB85C \uC774\uC6A9 \uAC00\uB2A5\uD558\uBA70, \uD2F0\uC2A4\uD1A0\uB9AC \uAE30\uBCF8 \uB3C4\uBA54\uC778\uC5D0\uC11C\uB9CC \uB3D9\uC791\uD569\uB2C8\uB2E4.

\n “); var button = document.createElement(‘button’); button.className = ‘btn_doc_close’; button.textContent = ‘닫기’; button.onclick = function () { layerDiv.style.display = ‘none’; }; layerDiv.prepend(button); document.body.appendChild(layerDiv); document.addEventListener(‘click’, function (e) { if (e.target !== layerDiv && !layerDiv.contains(e.target)) { layerDiv.style.display = ‘none’; } }); } /***/ }), /***/ “./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./style/shortcut.css”: /*!*********************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./style/shortcut.css ***! \*********************************************************************************************************/ /***/ ((module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ “default”: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/sourceMaps.js */ “./node_modules/css-loader/dist/runtime/sourceMaps.js”); /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/api.js */ “./node_modules/css-loader/dist/runtime/api.js”); /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); // Module ___CSS_LOADER_EXPORT___.push([module.id, “.doc_help {\n position: fixed;\n top: 30px;\n right: 30px;\n background: #fff;\n border-radius: 10px;\n z-index: 1002;\n box-shadow: 2px 2px 20px #666;\n width: 600px;\n height: auto;\n margin-left: -290px;\n overflow: hidden;\n display: none;\n}\n\n.doc_help .btn_doc_close {\n position: absolute;\n right: 20px;\n top: 20px;\n width: 50px;\n height: 30px;\n border: 1px solid #ddd;\n z-index: 1;\n font-size: 11px;\n font-weight: 700;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n}\n\n.doc_help .btn_doc_close:hover {\n background-color: #eee;\n}\n\n.doc_help .title {\n padding: 20px;\n margin: 0;\n line-height: 30px;\n border-bottom: 1px solid #eee;\n font-size: 20px;\n color: #eb622e;\n}\n\n.doc_help .sub_title a {\n font-size: 0.9em;\n color: #ccc;\n margin-left: 10px;\n}\n\n.doc_help .sub_title a:hover {\n text-decoration: none;\n color: #eb622e;\n}\n\n.doc_help .content {\n padding: 20px;\n overflow: auto;\n width: auto;\n display: flex;\n}\n\n.doc_help .content .container {\n flex-grow: 1;\n margin: 0 10px;\n}\n\n.doc_help .content .item_title {\n padding: 5px;\n font-size: 15px;\n border-bottom: 1px solid #eb622e;\n margin: 10px 0 0 0;\n}\n\n.doc_help .content .item {\n width: 100%;\n font-size: 13px;\n}\n\n.doc_help .content .item th {\n width: 70%;\n text-align: left;\n padding: 5px;\n font-weight: normal;\n}\n\n.doc_help .content .item td {\n width: 30%;\n text-align: center;\n padding: 5px;\n}\n\n.doc_help .content .item td kbd {\n display: inline-block;\n padding: 3px 5px;\n line-height: 10px;\n color: #555;\n vertical-align: middle;\n background-color: #fcfcfc;\n border: 1px solid;\n border-color: #ccc #ccc #bbb;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #bbb;\n}\n\n.doc_help .info {\n padding: 0 20px 10px 28px;\n color: darkgray;\n font-size: 12px;\n}\n\n.doc_help .mac_platform .pc, .doc_help .pc_platform .mac {\n display: none;\n}”, “”,{“version”:3,”sources”:[“webpack://./style/shortcut.css”],”names”:[],”mappings”:”AAAA;EACE,eAAA;EACA,SAAA;EACA,WAAA;EACA,gBAAA;EACA,mBAAA;EACA,aAAA;EACA,6BAAA;EACA,YAAA;EACA,YAAA;EACA,mBAAA;EACA,gBAAA;EACA,aAAA;AACF;;AAEA;EACE,kBAAA;EACA,WAAA;EACA,SAAA;EACA,WAAA;EACA,YAAA;EACA,sBAAA;EACA,UAAA;EACA,eAAA;EACA,gBAAA;EACA,6BAAA;EACA,eAAA;EACA,aAAA;AACF;;AAEA;EACE,sBAAA;AACF;;AAEA;EACE,aAAA;EACA,SAAA;EACA,iBAAA;EACA,6BAAA;EACA,eAAA;EACA,cAAA;AACF;;AAEA;EACE,gBAAA;EACA,WAAA;EACA,iBAAA;AACF;;AAEA;EACE,qBAAA;EACA,cAAA;AACF;;AAEA;EACE,aAAA;EACA,cAAA;EACA,WAAA;EACA,aAAA;AACF;;AAEA;EACE,YAAA;EACA,cAAA;AACF;;AAEA;EACE,YAAA;EACA,eAAA;EACA,gCAAA;EACA,kBAAA;AACF;;AAEA;EACE,WAAA;EACA,eAAA;AACF;;AAEA;EACE,UAAA;EACA,gBAAA;EACA,YAAA;EACA,mBAAA;AACF;;AAEA;EACE,UAAA;EACA,kBAAA;EACA,YAAA;AACF;;AAEA;EACE,qBAAA;EACA,gBAAA;EACA,iBAAA;EACA,WAAA;EACA,sBAAA;EACA,yBAAA;EACA,iBAAA;EACA,4BAAA;EACA,kBAAA;EACA,+BAAA;AACF;;AAEA;EACE,yBAAA;EACA,eAAA;EACA,eAAA;AACF;;AAEA;EACE,aAAA;AACF”,”sourcesContent”:[“.doc_help {\n position: fixed;\n top: 30px;\n right: 30px;\n background: #fff;\n border-radius: 10px;\n z-index: 1002;\n box-shadow: 2px 2px 20px #666;\n width: 600px;\n height: auto;\n margin-left: -290px;\n overflow: hidden;\n display: none\n}\n\n.doc_help .btn_doc_close {\n position: absolute;\n right: 20px;\n top: 20px;\n width: 50px;\n height: 30px;\n border: 1px solid #ddd;\n z-index: 1;\n font-size: 11px;\n font-weight: 700;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n}\n\n.doc_help .btn_doc_close:hover {\n background-color: #eee\n}\n\n.doc_help .title {\n padding: 20px;\n margin: 0;\n line-height: 30px;\n border-bottom: 1px solid #eee;\n font-size: 20px;\n color: #eb622e\n}\n\n.doc_help .sub_title a {\n font-size: .9em;\n color: #ccc;\n margin-left: 10px\n}\n\n.doc_help .sub_title a:hover {\n text-decoration: none;\n color: #eb622e;\n}\n\n.doc_help .content {\n padding: 20px;\n overflow: auto;\n width: auto;\n display: flex;\n}\n\n.doc_help .content .container {\n flex-grow: 1;\n margin: 0 10px;\n}\n\n.doc_help .content .item_title {\n padding: 5px;\n font-size: 15px;\n border-bottom: 1px solid #eb622e;\n margin: 10px 0 0 0;\n}\n\n.doc_help .content .item {\n width: 100%;\n font-size: 13px;\n}\n\n.doc_help .content .item th {\n width: 70%;\n text-align: left;\n padding: 5px;\n font-weight: normal;\n}\n\n.doc_help .content .item td {\n width: 30%;\n text-align: center;\n padding: 5px\n}\n\n.doc_help .content .item td kbd {\n display: inline-block;\n padding: 3px 5px;\n line-height: 10px;\n color: #555;\n vertical-align: middle;\n background-color: #fcfcfc;\n border: 1px solid;\n border-color: #ccc #ccc #bbb;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #bbb\n}\n\n.doc_help .info {\n padding: 0 20px 10px 28px;\n color: darkgray;\n font-size: 12px;\n}\n\n.doc_help .mac_platform .pc, .doc_help .pc_platform .mac {\n display: none\n}”],”sourceRoot”:””}]); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ “./node_modules/css-loader/dist/runtime/api.js”: /*!*****************************************************!*\ !*** ./node_modules/css-loader/dist/runtime/api.js ***! \*****************************************************/ /***/ ((module) => { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ module.exports = function (cssWithMappingToString) { var list = []; // return the list of modules as css string list.toString = function toString() { return this.map(function (item) { var content = “”; var needLayer = typeof item[5] !== “undefined”; if (item[4]) { content += “@supports (“.concat(item[4], “) {“); } if (item[2]) { content += “@media “.concat(item[2], ” {“); } if (needLayer) { content += “@layer”.concat(item[5].length > 0 ? ” “.concat(item[5]) : “”, ” {“); } content += cssWithMappingToString(item); if (needLayer) { content += “}”; } if (item[2]) { content += “}”; } if (item[4]) { content += “}”; } return content; }).join(“”); }; // import a list of modules into the list list.i = function i(modules, media, dedupe, supports, layer) { if (typeof modules === “string”) { modules = [[null, modules, undefined]]; } var alreadyImportedModules = {}; if (dedupe) { for (var k = 0; k < this.length; k++) { var id = this[k][0]; if (id != null) { alreadyImportedModules[id] = true; } } } for (var _k = 0; _k < modules.length; _k++) { var item = [].concat(modules[_k]); if (dedupe && alreadyImportedModules[item[0]]) { continue; } if (typeof layer !== "undefined") { if (typeof item[5] === "undefined") { item[5] = layer; } else { item[1] = "@layer".concat(item[5].length > 0 ? ” “.concat(item[5]) : “”, ” {“).concat(item[1], “}”); item[5] = layer; } } if (media) { if (!item[2]) { item[2] = media; } else { item[1] = “@media “.concat(item[2], ” {“).concat(item[1], “}”); item[2] = media; } } if (supports) { if (!item[4]) { item[4] = “”.concat(supports); } else { item[1] = “@supports (“.concat(item[4], “) {“).concat(item[1], “}”); item[4] = supports; } } list.push(item); } }; return list; }; /***/ }), /***/ “./node_modules/css-loader/dist/runtime/sourceMaps.js”: /*!************************************************************!*\ !*** ./node_modules/css-loader/dist/runtime/sourceMaps.js ***! \************************************************************/ /***/ ((module) => { module.exports = function (item) { var content = item[1]; var cssMapping = item[3]; if (!cssMapping) { return content; } if (typeof btoa === “function”) { var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))); var data = “sourceMappingURL=data:application/json;charset=utf-8;base64,”.concat(base64); var sourceMapping = “/*# “.concat(data, ” */”); return [content].concat([sourceMapping]).join(“\n”); } return [content].join(“\n”); }; /***/ }), /***/ “./style/shortcut.css”: /*!****************************!*\ !*** ./style/shortcut.css ***! \****************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ “default”: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ “./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js”); /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/styleDomAPI.js */ “./node_modules/style-loader/dist/runtime/styleDomAPI.js”); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/insertBySelector.js */ “./node_modules/style-loader/dist/runtime/insertBySelector.js”); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ “./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js”); /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/insertStyleElement.js */ “./node_modules/style-loader/dist/runtime/insertStyleElement.js”); /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/styleTagTransform.js */ “./node_modules/style-loader/dist/runtime/styleTagTransform.js”); /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_shortcut_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./shortcut.css */ “./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./style/shortcut.css”); var options = {}; options.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default()); options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default()); options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, “head”); options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default()); options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default()); var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_shortcut_css__WEBPACK_IMPORTED_MODULE_6__[“default”], options); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_shortcut_css__WEBPACK_IMPORTED_MODULE_6__[“default”] && _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_shortcut_css__WEBPACK_IMPORTED_MODULE_6__[“default”].locals ? _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_shortcut_css__WEBPACK_IMPORTED_MODULE_6__[“default”].locals : undefined); /***/ }), /***/ “./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js”: /*!****************************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***! \****************************************************************************/ /***/ ((module) => { var stylesInDOM = []; function getIndexByIdentifier(identifier) { var result = -1; for (var i = 0; i < stylesInDOM.length; i++) { if (stylesInDOM[i].identifier === identifier) { result = i; break; } } return result; } function modulesToDom(list, options) { var idCountMap = {}; var identifiers = []; for (var i = 0; i < list.length; i++) { var item = list[i]; var id = options.base ? item[0] + options.base : item[0]; var count = idCountMap[id] || 0; var identifier = "".concat(id, " ").concat(count); idCountMap[id] = count + 1; var indexByIdentifier = getIndexByIdentifier(identifier); var obj = { css: item[1], media: item[2], sourceMap: item[3], supports: item[4], layer: item[5] }; if (indexByIdentifier !== -1) { stylesInDOM[indexByIdentifier].references++; stylesInDOM[indexByIdentifier].updater(obj); } else { var updater = addElementStyle(obj, options); options.byIndex = i; stylesInDOM.splice(i, 0, { identifier: identifier, updater: updater, references: 1 }); } identifiers.push(identifier); } return identifiers; } function addElementStyle(obj, options) { var api = options.domAPI(options); api.update(obj); var updater = function updater(newObj) { if (newObj) { if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) { return; } api.update(obj = newObj); } else { api.remove(); } }; return updater; } module.exports = function (list, options) { options = options || {}; list = list || []; var lastIdentifiers = modulesToDom(list, options); return function update(newList) { newList = newList || []; for (var i = 0; i < lastIdentifiers.length; i++) { var identifier = lastIdentifiers[i]; var index = getIndexByIdentifier(identifier); stylesInDOM[index].references--; } var newLastIdentifiers = modulesToDom(newList, options); for (var _i = 0; _i < lastIdentifiers.length; _i++) { var _identifier = lastIdentifiers[_i]; var _index = getIndexByIdentifier(_identifier); if (stylesInDOM[_index].references === 0) { stylesInDOM[_index].updater(); stylesInDOM.splice(_index, 1); } } lastIdentifiers = newLastIdentifiers; }; }; /***/ }), /***/ "./node_modules/style-loader/dist/runtime/insertBySelector.js": /*!********************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/insertBySelector.js ***! \********************************************************************/ /***/ ((module) => { var memo = {}; /* istanbul ignore next */ function getTarget(target) { if (typeof memo[target] === “undefined”) { var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) { try { // This will throw an exception if access to iframe is blocked // due to cross-origin restrictions styleTarget = styleTarget.contentDocument.head; } catch (e) { // istanbul ignore next styleTarget = null; } } memo[target] = styleTarget; } return memo[target]; } /* istanbul ignore next */ function insertBySelector(insert, style) { var target = getTarget(insert); if (!target) { throw new Error(“Couldn’t find a style target. This probably means that the value for the ‘insert’ parameter is invalid.”); } target.appendChild(style); } module.exports = insertBySelector; /***/ }), /***/ “./node_modules/style-loader/dist/runtime/insertStyleElement.js”: /*!**********************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/insertStyleElement.js ***! \**********************************************************************/ /***/ ((module) => { /* istanbul ignore next */ function insertStyleElement(options) { var element = document.createElement(“style”); options.setAttributes(element, options.attributes); options.insert(element, options.options); return element; } module.exports = insertStyleElement; /***/ }), /***/ “./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js”: /*!**********************************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***! \**********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /* istanbul ignore next */ function setAttributesWithoutAttributes(styleElement) { var nonce = true ? __webpack_require__.nc : 0; if (nonce) { styleElement.setAttribute(“nonce”, nonce); } } module.exports = setAttributesWithoutAttributes; /***/ }), /***/ “./node_modules/style-loader/dist/runtime/styleDomAPI.js”: /*!***************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/styleDomAPI.js ***! \***************************************************************/ /***/ ((module) => { /* istanbul ignore next */ function apply(styleElement, options, obj) { var css = “”; if (obj.supports) { css += “@supports (“.concat(obj.supports, “) {“); } if (obj.media) { css += “@media “.concat(obj.media, ” {“); } var needLayer = typeof obj.layer !== “undefined”; if (needLayer) { css += “@layer”.concat(obj.layer.length > 0 ? ” “.concat(obj.layer) : “”, ” {“); } css += obj.css; if (needLayer) { css += “}”; } if (obj.media) { css += “}”; } if (obj.supports) { css += “}”; } var sourceMap = obj.sourceMap; if (sourceMap && typeof btoa !== “undefined”) { css += “\n/*# sourceMappingURL=data:application/json;base64,”.concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), ” */”); } // For old IE /* istanbul ignore if */ options.styleTagTransform(css, styleElement, options.options); } function removeStyleElement(styleElement) { // istanbul ignore if if (styleElement.parentNode === null) { return false; } styleElement.parentNode.removeChild(styleElement); } /* istanbul ignore next */ function domAPI(options) { if (typeof document === “undefined”) { return { update: function update() {}, remove: function remove() {} }; } var styleElement = options.insertStyleElement(options); return { update: function update(obj) { apply(styleElement, options, obj); }, remove: function remove() { removeStyleElement(styleElement); } }; } module.exports = domAPI; /***/ }), /***/ “./node_modules/style-loader/dist/runtime/styleTagTransform.js”: /*!*********************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/styleTagTransform.js ***! \*********************************************************************/ /***/ ((module) => { /* istanbul ignore next */ function styleTagTransform(css, styleElement) { if (styleElement.styleSheet) { styleElement.styleSheet.cssText = css; } else { while (styleElement.firstChild) { styleElement.removeChild(styleElement.firstChild); } styleElement.appendChild(document.createTextNode(css)); } } module.exports = styleTagTransform; /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ id: moduleId, /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = (module) => { /******/ var getter = module && module.__esModule ? /******/ () => (module[‘default’]) : /******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== ‘undefined’ && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: ‘Module’ }); /******/ } /******/ Object.defineProperty(exports, ‘__esModule’, { value: true }); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/nonce */ /******/ (() => { /******/ __webpack_require__.nc = undefined; /******/ })(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. (() => { /*!********************************!*\ !*** ./src/common/shortcut.ts ***! \********************************/ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _shortcutLayer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./shortcutLayer */ “./src/common/shortcutLayer.ts”); /* harmony import */ var _style_shortcut_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/shortcut.css */ “./style/shortcut.css”); function processShortcut(event) { if (window.T.config.PREVIEW) { return; } if (event.altKey || event.ctrlKey || event.metaKey) { return; } var target = event.target; if (target && target instanceof HTMLElement) { var nodeName = target.nodeName; if (nodeName === ‘INPUT’ || nodeName === ‘SELECT’ || nodeName === ‘TEXTAREA’) { return; } else if (nodeName === ‘DIV’) { if (target.getAttribute(‘contenteditable’) === ‘true’) { return; } } } // 커스텀 도메인의 경우 로그인 및 권한 체크가 불가능하기 때문에 단축키 기능을 미지원함 // 다만, 2차 도메인에서 기존 Q를 사용했던 유저를 위해 Q 단축키만은 유지하기로 결정 (gabriel.yang, edel.weiss) (24.05.23) if (window.isCustomDomain()) { if (event.code === ‘KeyQ’) { window.location.href = window.TistoryBlog.manageUrl; } return; } switch (event.code) { // 모든 단축키는 영문 소/대문자 동작만으로 제공 case ‘KeyQ’: goToManagePage(); break; case ‘KeyW’: goToNewPostPage(); break; case ‘KeyE’: goToModifyPostPage(); break; case ‘KeyC’: goToCommentArea(); break; case ‘KeyS’: copyEntryUrl(); break; case ‘KeyT’: goToTop(); break; case ‘KeyH’: goToTistoryHome(); break; default: if (event.key === ‘?’) { toggleShortcutLayer(); } break; } } document.onkeydown = processShortcut; (0,_shortcutLayer__WEBPACK_IMPORTED_MODULE_0__.createShortcutLayer)(); function goToManagePage() { var _window$T$config = window.T.config, ROLE_GROUP = _window$T$config.ROLE_GROUP, ROLE = _window$T$config.ROLE; switch (ROLE_GROUP) { case ‘visitor’: case ‘connected’: if (ROLE === ‘loginGuest’) { goToJoinPage(); break; } else if (ROLE === ‘guest’) { changeHrefToManageUrl(); break; } var _window$T$config$USER = window.T.config.USER, name = _window$T$config$USER.name, homepage = _window$T$config$USER.homepage; if (name === null || homepage === null) { return false; } if (confirm(“\uB0B4 \uBE14\uB85C\uADF8\uAC00 \uC544\uB2C8\uC5D0\uC694. “.concat(homepage, “\uB85C \uC774\uB3D9\uD558\uC2DC\uACA0\uC5B4\uC694?”))) { window.location.href = “”.concat(homepage, “/manage”); } break; case ‘member’: changeHrefToManageUrl(); break; default: break; } } function changeHrefToManageUrl() { window.location.href = window.TistoryBlog.manageUrl; } function goToJoinPage() { if (confirm(‘아직 블로그를 개설하지 않으셨습니다 \n지금 개설 하시겠습니까?’)) { window.location.href = window.T.config.JOIN_URL; } } function goToNewPostPage() { var _window$T$config2 = window.T.config, ROLE_GROUP = _window$T$config2.ROLE_GROUP, ROLE = _window$T$config2.ROLE; switch (ROLE_GROUP) { case ‘visitor’: case ‘connected’: if (ROLE === ‘loginGuest’) { goToJoinPage(); break; } else if (ROLE === ‘guest’) { changeHrefToNewPostUrl(); break; } var _window$T$config$USER2 = window.T.config.USER, name = _window$T$config$USER2.name, homepage = _window$T$config$USER2.homepage; if (name === null || homepage === null) { return false; } if (confirm(“\uB0B4 \uBE14\uB85C\uADF8\uAC00 \uC544\uB2C8\uC5D0\uC694. “.concat(homepage, “\uB85C \uC774\uB3D9\uD558\uC5EC \uAE00\uC744 \uC4F0\uC2DC\uACA0\uC5B4\uC694?”))) { window.location.href = “”.concat(homepage, “/manage/newpost”); } break; case ‘member’: changeHrefToNewPostUrl(); break; default: break; } } function changeHrefToNewPostUrl() { window.location.href = “”.concat(window.TistoryBlog.manageUrl, “/newpost”); } function goToModifyPostPage() { if (!isEntryPage()) { return; } var _window$T$config3 = window.T.config, ROLE_GROUP = _window$T$config3.ROLE_GROUP, ROLE = _window$T$config3.ROLE; var entryInfo = window.T.entryInfo; var isAuthor = entryInfo.isAuthor; if (ROLE_GROUP === ‘visitor’ && ROLE !== ‘guest’ || ROLE_GROUP === ‘connected’ || ROLE === ‘writer’ && !isAuthor) { window.alert(‘본인이 작성한 글만 수정 가능합니다.’); } else { window.location.href = “”.concat(window.TistoryBlog.manageUrl, “/newpost/”).concat(entryInfo.entryId); } } function goToCommentArea() { if (!isEntryPage()) { return; } var entryInfo = window.T.entryInfo; var entryId = entryInfo.entryId; var commentDiv = document.querySelector(“#entry”.concat(entryId, “Comment”)); if (commentDiv) { // 신 댓글 치환자 대응 var commentTextArea = commentDiv.querySelector(‘.tt_wrap_write .tt-box-textarea .tt-inner-g .tt-cmt’); if (commentTextArea) { // setTimeout이 없으면 크롬 브라우저에서 단축키 “C”가 입력됨 setTimeout(function () { commentTextArea.focus(); }); } else { // 구 댓글 치환자 대응 var oldCommentTextArea = commentDiv.querySelector(‘form #comment’); if (oldCommentTextArea) { setTimeout(function () { oldCommentTextArea.focus(); }); } } } } function goToTop() { window.scrollTo({ behavior: ‘smooth’, top: 0 }); } function goToTistoryHome() { window.location.href = window.T.config.TOP_SSL_URL; } function copyEntryUrl() { var _window$navigator; if ((_window$navigator = window.navigator) !== null && _window$navigator !== void 0 && _window$navigator.clipboard) { var url = window.location.origin + window.location.pathname; window.navigator.clipboard.writeText(url).then(function () { window.showTooltip(‘URL이 복사되었습니다.’); }); } } function toggleShortcutLayer() { var layerDiv = document.querySelector(‘#shortcutLayer’); if (!layerDiv) { return; } var display = layerDiv.style.display; if (display === ‘none’) { layerDiv.style.display = ‘block’; } else { layerDiv.style.display = ‘none’; } } function isEntryPage() { return !!window.T.entryInfo; } })(); /******/ })() ; //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcnRjdXQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQSxJQUFNQSxTQUFTLEdBQUdDLE1BQU0sQ0FBQ0MsU0FBUyxDQUFDRixTQUFTLENBQUNHLFdBQVcsQ0FBQyxDQUFDO0FBQzFELElBQU1DLEtBQUssR0FBR0osU0FBUyxDQUFDSyxRQUFRLENBQUMsS0FBSyxDQUFDO0FBRXZDLFNBQVNDLGtCQUFrQkEsQ0FBRUMsS0FBYSxFQUFFQyxNQUFnQixFQUFFQyxPQUFrQixFQUFFO0VBQ2hGLGdDQUFBQyxNQUFBLENBRVVILEtBQUssK0RBQUFHLE1BQUEsQ0FHTEYsTUFBTSxDQUFDRyxHQUFHLENBQUMsVUFBQUMsR0FBRztJQUFBLGVBQUFGLE1BQUEsQ0FBWUUsR0FBRztFQUFBLENBQVEsQ0FBQyxDQUFDQyxJQUFJLENBQUMsS0FBSyxDQU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