1/******/ (function() { // webpackBootstrap 2/******/ "use strict"; 3/******/ var __webpack_modules__ = ({ 4 5/***/ "@wordpress/dom-ready": 6/*!**********************************!*\ 7 !*** external ["wp","domReady"] ***! 8 \**********************************/ 9/***/ (function(module) { 10 11module.exports = window["wp"]["domReady"]; 12 13/***/ }) 14 15/******/ }); 16/************************************************************************/ 17/******/ // The module cache 18/******/ var __webpack_module_cache__ = {}; 19/******/ 20/******/ // The require function 21/******/ function __webpack_require__(moduleId) { 22/******/ // Check if module is in cache 23/******/ var cachedModule = __webpack_module_cache__[moduleId]; 24/******/ if (cachedModule !== undefined) { 25/******/ return cachedModule.exports; 26/******/ } 27/******/ // Create a new module (and put it into the cache) 28/******/ var module = __webpack_module_cache__[moduleId] = { 29/******/ // no module.id needed 30/******/ // no module.loaded needed 31/******/ exports: {} 32/******/ }; 33/******/ 34/******/ // Execute the module function 35/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); 36/******/ 37/******/ // Return the exports of the module 38/******/ return module.exports; 39/******/ } 40/******/ 41/************************************************************************/ 42/******/ /* webpack/runtime/compat get default export */ 43/******/ !function() { 44/******/ // getDefaultExport function for compatibility with non-harmony modules 45/******/ __webpack_require__.n = function(module) { 46/******/ var getter = module && module.__esModule ? 47/******/ function() { return module['default']; } : 48/******/ function() { return module; }; 49/******/ __webpack_require__.d(getter, { a: getter }); 50/******/ return getter; 51/******/ }; 52/******/ }(); 53/******/ 54/******/ /* webpack/runtime/define property getters */ 55/******/ !function() { 56/******/ // define getter functions for harmony exports 57/******/ __webpack_require__.d = function(exports, definition) { 58/******/ for(var key in definition) { 59/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 60/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 61/******/ } 62/******/ } 63/******/ }; 64/******/ }(); 65/******/ 66/******/ /* webpack/runtime/hasOwnProperty shorthand */ 67/******/ !function() { 68/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } 69/******/ }(); 70/******/ 71/******/ /* webpack/runtime/make namespace object */ 72/******/ !function() { 73/******/ // define __esModule on exports 74/******/ __webpack_require__.r = function(exports) { 75/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 76/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 77/******/ } 78/******/ Object.defineProperty(exports, '__esModule', { value: true }); 79/******/ }; 80/******/ }(); 81/******/ 82/************************************************************************/ 83var __webpack_exports__ = {}; 84// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. 85!function() { 86/*!***********************************************!*\ 87 !*** ./includes/blocks/popular-posts/view.js ***! 88 \***********************************************/ 89__webpack_require__.r(__webpack_exports__); 90/* harmony import */ var _wordpress_dom_ready__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/dom-ready */ "@wordpress/dom-ready"); 91/* harmony import */ var _wordpress_dom_ready__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom_ready__WEBPACK_IMPORTED_MODULE_0__); 92 93_wordpress_dom_ready__WEBPACK_IMPORTED_MODULE_0___default()(() => { 94 const recentPostTitle = document.querySelectorAll('.popular-post-title'); 95 const popularPostsBlock = document.querySelector('.wp-block-do-blocks-popular-posts'); 96 const charLength = popularPostsBlock.getAttribute('data-tilte-char-length'); 97 if (recentPostTitle) { 98 recentPostTitle.forEach(title => { 99 const text = title.innerText.substring(0, parseInt(charLength)) + 'â¦'; 100 title.innerText = text; 101 }); 102 } 103}); 104}(); 105/******/ })() 106; 107//# sourceMappingURL=view.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.