PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.0.0
Forumax – AI Powered Advanced Community Forum Plugin v2.0.0
2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 2.1.0 All 29 releases
bbp-core / build / single-forum / index.js

index.js in Forumax – AI Powered Advanced Community Forum Plugin 2.0.0, at build/single-forum/index.js

540 lines 23.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /******/ (() => { // webpackBootstrap
2 /******/ "use strict";
3 /******/ var __webpack_modules__ = ({
4
5 /***/ "./src/single-forum/block.json":
6 /*!*************************************!*\
7 !*** ./src/single-forum/block.json ***!
8 \*************************************/
9 /***/ ((module) => {
10
11 module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"bbp-core/single-forum","version":"0.1.0","title":"Forumax Single Forum","category":"bbp-core","icon":"admin-post","description":"Displays a single forum with two style variations.","attributes":{"forum_id":{"type":"string","default":""},"style":{"type":"string","default":"1"},"cover_image":{"type":"object"},"ppp":{"type":"number","default":3},"order":{"type":"string","default":"ASC"},"word_length":{"type":"number","default":12},"read_more":{"type":"string","default":"View All"},"title_color":{"type":"string"},"excerpt_color":{"type":"string"}},"supports":{"html":false,"typography":{"fontSize":true}},"textdomain":"bbp-core","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css"}');
12
13 /***/ }),
14
15 /***/ "./src/single-forum/edit.js":
16 /*!**********************************!*\
17 !*** ./src/single-forum/edit.js ***!
18 \**********************************/
19 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
20
21 __webpack_require__.r(__webpack_exports__);
22 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23 /* harmony export */ "default": () => (/* binding */ Edit)
24 /* harmony export */ });
25 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
26 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
27 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
28 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__);
29 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
30 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
31 /* harmony import */ var _wordpress_server_side_render__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/server-side-render */ "@wordpress/server-side-render");
32 /* harmony import */ var _wordpress_server_side_render__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_server_side_render__WEBPACK_IMPORTED_MODULE_3__);
33 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
34 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__);
35 /* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./editor.scss */ "./src/single-forum/editor.scss");
36 /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
37 /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__);
38
39
40
41
42
43
44
45 function Edit({
46 attributes,
47 setAttributes
48 }) {
49 const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)();
50 const {
51 forum_id,
52 style,
53 cover_image,
54 ppp,
55 order,
56 word_length,
57 read_more,
58 title_color,
59 excerpt_color
60 } = attributes;
61 const [forums, setForums] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.useState)([]);
62 const [isLoading, setIsLoading] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.useState)(true);
63
64 // Fetch forums for the select control
65 (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
66 setIsLoading(true);
67
68 // Get AJAX URL from WordPress global or localized data
69 let ajaxUrl = '/wp-admin/admin-ajax.php';
70 if (typeof window.ajaxurl !== 'undefined') {
71 ajaxUrl = window.ajaxurl;
72 } else if (typeof window.bbpc_editor_config !== 'undefined' && window.bbpc_editor_config.ajaxurl) {
73 ajaxUrl = window.bbpc_editor_config.ajaxurl;
74 }
75
76 // Use FormData for AJAX request
77 const formData = new FormData();
78 formData.append('action', 'bbpc_get_forums');
79 fetch(ajaxUrl, {
80 method: 'POST',
81 body: formData
82 }).then(response => {
83 if (!response.ok) {
84 throw new Error('Failed to fetch forums');
85 }
86 return response.json();
87 }).then(data => {
88 if (data.success && Array.isArray(data.data)) {
89 setForums(data.data);
90 } else {
91 console.warn('Invalid forum data received:', data);
92 setForums([]);
93 }
94 setIsLoading(false);
95 }).catch(error => {
96 console.warn('Error fetching forums:', error);
97 setForums([]);
98 setIsLoading(false);
99 });
100 }, []);
101 const forumOptions = forums && forums.length > 0 ? forums.map(forum => ({
102 label: forum.title || 'Untitled',
103 value: forum.id.toString()
104 })) : [];
105
106 // Add a default option
107 forumOptions.unshift({
108 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select Forum', 'bbp-core'),
109 value: ''
110 });
111 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", {
112 ...blockProps,
113 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, {
114 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, {
115 title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Preset Skins', 'bbp-core'),
116 children: [isLoading && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Spinner, {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, {
117 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select Forum', 'bbp-core'),
118 value: forum_id,
119 options: forumOptions,
120 onChange: value => setAttributes({
121 forum_id: value
122 })
123 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, {
124 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Forums Style', 'bbp-core'),
125 value: style,
126 options: [{
127 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('01 : Single Forum With Topics', 'bbp-core'),
128 value: '1'
129 }, {
130 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('02 : Single Forum', 'bbp-core'),
131 value: '2'
132 }],
133 onChange: value => setAttributes({
134 style: value
135 })
136 })]
137 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, {
138 title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Thumbnail', 'bbp-core'),
139 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("p", {
140 children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Custom Cover Image', 'bbp-core')
141 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.MediaUploadCheck, {
142 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.MediaUpload, {
143 onSelect: media => setAttributes({
144 cover_image: media
145 }),
146 allowedTypes: ['image'],
147 value: cover_image ? cover_image.id : '',
148 render: ({
149 open
150 }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, {
151 variant: "secondary",
152 onClick: open,
153 children: cover_image ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Replace Image', 'bbp-core') : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Select Image', 'bbp-core')
154 })
155 })
156 }), cover_image && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", {
157 style: {
158 marginTop: '10px'
159 },
160 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("img", {
161 src: cover_image.url,
162 alt: "Cover",
163 style: {
164 maxWidth: '100%'
165 }
166 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, {
167 isLink: true,
168 isDestructive: true,
169 onClick: () => setAttributes({
170 cover_image: null
171 }),
172 children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Remove Image', 'bbp-core')
173 })]
174 })]
175 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, {
176 title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Filter Options', 'bbp-core'),
177 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
178 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Topics', 'bbp-core'),
179 type: "number",
180 value: ppp,
181 onChange: value => setAttributes({
182 ppp: parseInt(value)
183 }),
184 help: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Maximum number of topics.', 'bbp-core')
185 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, {
186 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Order', 'bbp-core'),
187 value: order,
188 options: [{
189 label: 'ASC',
190 value: 'ASC'
191 }, {
192 label: 'DESC',
193 value: 'DESC'
194 }],
195 onChange: value => setAttributes({
196 order: value
197 })
198 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
199 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Number of Words', 'bbp-core'),
200 type: "number",
201 value: word_length,
202 onChange: value => setAttributes({
203 word_length: parseInt(value)
204 })
205 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
206 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Read More Text', 'bbp-core'),
207 value: read_more,
208 onChange: value => setAttributes({
209 read_more: value
210 })
211 })]
212 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.PanelColorSettings, {
213 title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Styles', 'bbp-core'),
214 initialOpen: false,
215 colorSettings: [{
216 value: title_color,
217 onChange: value => setAttributes({
218 title_color: value
219 }),
220 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Title Color', 'bbp-core')
221 }, {
222 value: excerpt_color,
223 onChange: value => setAttributes({
224 excerpt_color: value
225 }),
226 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Excerpt Color', 'bbp-core')
227 }]
228 })]
229 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)((_wordpress_server_side_render__WEBPACK_IMPORTED_MODULE_3___default()), {
230 block: "bbp-core/single-forum",
231 attributes: attributes
232 })]
233 });
234 }
235
236 /***/ }),
237
238 /***/ "./src/single-forum/editor.scss":
239 /*!**************************************!*\
240 !*** ./src/single-forum/editor.scss ***!
241 \**************************************/
242 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
243
244 __webpack_require__.r(__webpack_exports__);
245 // extracted by mini-css-extract-plugin
246
247
248 /***/ }),
249
250 /***/ "./src/single-forum/index.js":
251 /*!***********************************!*\
252 !*** ./src/single-forum/index.js ***!
253 \***********************************/
254 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
255
256 __webpack_require__.r(__webpack_exports__);
257 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
258 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
259 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/single-forum/style.scss");
260 /* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/single-forum/edit.js");
261 /* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/single-forum/save.js");
262 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/single-forum/block.json");
263
264
265
266
267
268 (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_4__.name, {
269 edit: _edit__WEBPACK_IMPORTED_MODULE_2__["default"],
270 save: _save__WEBPACK_IMPORTED_MODULE_3__["default"]
271 });
272
273 /***/ }),
274
275 /***/ "./src/single-forum/save.js":
276 /*!**********************************!*\
277 !*** ./src/single-forum/save.js ***!
278 \**********************************/
279 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
280
281 __webpack_require__.r(__webpack_exports__);
282 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
283 /* harmony export */ "default": () => (/* binding */ save)
284 /* harmony export */ });
285 function save() {
286 return null;
287 }
288
289 /***/ }),
290
291 /***/ "./src/single-forum/style.scss":
292 /*!*************************************!*\
293 !*** ./src/single-forum/style.scss ***!
294 \*************************************/
295 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
296
297 __webpack_require__.r(__webpack_exports__);
298 // extracted by mini-css-extract-plugin
299
300
301 /***/ }),
302
303 /***/ "@wordpress/block-editor":
304 /*!*************************************!*\
305 !*** external ["wp","blockEditor"] ***!
306 \*************************************/
307 /***/ ((module) => {
308
309 module.exports = window["wp"]["blockEditor"];
310
311 /***/ }),
312
313 /***/ "@wordpress/blocks":
314 /*!********************************!*\
315 !*** external ["wp","blocks"] ***!
316 \********************************/
317 /***/ ((module) => {
318
319 module.exports = window["wp"]["blocks"];
320
321 /***/ }),
322
323 /***/ "@wordpress/components":
324 /*!************************************!*\
325 !*** external ["wp","components"] ***!
326 \************************************/
327 /***/ ((module) => {
328
329 module.exports = window["wp"]["components"];
330
331 /***/ }),
332
333 /***/ "@wordpress/element":
334 /*!*********************************!*\
335 !*** external ["wp","element"] ***!
336 \*********************************/
337 /***/ ((module) => {
338
339 module.exports = window["wp"]["element"];
340
341 /***/ }),
342
343 /***/ "@wordpress/i18n":
344 /*!******************************!*\
345 !*** external ["wp","i18n"] ***!
346 \******************************/
347 /***/ ((module) => {
348
349 module.exports = window["wp"]["i18n"];
350
351 /***/ }),
352
353 /***/ "@wordpress/server-side-render":
354 /*!******************************************!*\
355 !*** external ["wp","serverSideRender"] ***!
356 \******************************************/
357 /***/ ((module) => {
358
359 module.exports = window["wp"]["serverSideRender"];
360
361 /***/ }),
362
363 /***/ "react/jsx-runtime":
364 /*!**********************************!*\
365 !*** external "ReactJSXRuntime" ***!
366 \**********************************/
367 /***/ ((module) => {
368
369 module.exports = window["ReactJSXRuntime"];
370
371 /***/ })
372
373 /******/ });
374 /************************************************************************/
375 /******/ // The module cache
376 /******/ var __webpack_module_cache__ = {};
377 /******/
378 /******/ // The require function
379 /******/ function __webpack_require__(moduleId) {
380 /******/ // Check if module is in cache
381 /******/ var cachedModule = __webpack_module_cache__[moduleId];
382 /******/ if (cachedModule !== undefined) {
383 /******/ return cachedModule.exports;
384 /******/ }
385 /******/ // Create a new module (and put it into the cache)
386 /******/ var module = __webpack_module_cache__[moduleId] = {
387 /******/ // no module.id needed
388 /******/ // no module.loaded needed
389 /******/ exports: {}
390 /******/ };
391 /******/
392 /******/ // Execute the module function
393 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
394 /******/
395 /******/ // Return the exports of the module
396 /******/ return module.exports;
397 /******/ }
398 /******/
399 /******/ // expose the modules object (__webpack_modules__)
400 /******/ __webpack_require__.m = __webpack_modules__;
401 /******/
402 /************************************************************************/
403 /******/ /* webpack/runtime/chunk loaded */
404 /******/ (() => {
405 /******/ var deferred = [];
406 /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
407 /******/ if(chunkIds) {
408 /******/ priority = priority || 0;
409 /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
410 /******/ deferred[i] = [chunkIds, fn, priority];
411 /******/ return;
412 /******/ }
413 /******/ var notFulfilled = Infinity;
414 /******/ for (var i = 0; i < deferred.length; i++) {
415 /******/ var [chunkIds, fn, priority] = deferred[i];
416 /******/ var fulfilled = true;
417 /******/ for (var j = 0; j < chunkIds.length; j++) {
418 /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
419 /******/ chunkIds.splice(j--, 1);
420 /******/ } else {
421 /******/ fulfilled = false;
422 /******/ if(priority < notFulfilled) notFulfilled = priority;
423 /******/ }
424 /******/ }
425 /******/ if(fulfilled) {
426 /******/ deferred.splice(i--, 1)
427 /******/ var r = fn();
428 /******/ if (r !== undefined) result = r;
429 /******/ }
430 /******/ }
431 /******/ return result;
432 /******/ };
433 /******/ })();
434 /******/
435 /******/ /* webpack/runtime/compat get default export */
436 /******/ (() => {
437 /******/ // getDefaultExport function for compatibility with non-harmony modules
438 /******/ __webpack_require__.n = (module) => {
439 /******/ var getter = module && module.__esModule ?
440 /******/ () => (module['default']) :
441 /******/ () => (module);
442 /******/ __webpack_require__.d(getter, { a: getter });
443 /******/ return getter;
444 /******/ };
445 /******/ })();
446 /******/
447 /******/ /* webpack/runtime/define property getters */
448 /******/ (() => {
449 /******/ // define getter functions for harmony exports
450 /******/ __webpack_require__.d = (exports, definition) => {
451 /******/ for(var key in definition) {
452 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
453 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
454 /******/ }
455 /******/ }
456 /******/ };
457 /******/ })();
458 /******/
459 /******/ /* webpack/runtime/hasOwnProperty shorthand */
460 /******/ (() => {
461 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
462 /******/ })();
463 /******/
464 /******/ /* webpack/runtime/make namespace object */
465 /******/ (() => {
466 /******/ // define __esModule on exports
467 /******/ __webpack_require__.r = (exports) => {
468 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
469 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
470 /******/ }
471 /******/ Object.defineProperty(exports, '__esModule', { value: true });
472 /******/ };
473 /******/ })();
474 /******/
475 /******/ /* webpack/runtime/jsonp chunk loading */
476 /******/ (() => {
477 /******/ // no baseURI
478 /******/
479 /******/ // object to store loaded and loading chunks
480 /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
481 /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
482 /******/ var installedChunks = {
483 /******/ "single-forum/index": 0,
484 /******/ "single-forum/style-index": 0
485 /******/ };
486 /******/
487 /******/ // no chunk on demand loading
488 /******/
489 /******/ // no prefetching
490 /******/
491 /******/ // no preloaded
492 /******/
493 /******/ // no HMR
494 /******/
495 /******/ // no HMR manifest
496 /******/
497 /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
498 /******/
499 /******/ // install a JSONP callback for chunk loading
500 /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
501 /******/ var [chunkIds, moreModules, runtime] = data;
502 /******/ // add "moreModules" to the modules object,
503 /******/ // then flag all "chunkIds" as loaded and fire callback
504 /******/ var moduleId, chunkId, i = 0;
505 /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
506 /******/ for(moduleId in moreModules) {
507 /******/ if(__webpack_require__.o(moreModules, moduleId)) {
508 /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
509 /******/ }
510 /******/ }
511 /******/ if(runtime) var result = runtime(__webpack_require__);
512 /******/ }
513 /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
514 /******/ for(;i < chunkIds.length; i++) {
515 /******/ chunkId = chunkIds[i];
516 /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
517 /******/ installedChunks[chunkId][0]();
518 /******/ }
519 /******/ installedChunks[chunkId] = 0;
520 /******/ }
521 /******/ return __webpack_require__.O(result);
522 /******/ }
523 /******/
524 /******/ var chunkLoadingGlobal = globalThis["webpackChunkbbp_core_blocks"] = globalThis["webpackChunkbbp_core_blocks"] || [];
525 /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
526 /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
527 /******/ })();
528 /******/
529 /************************************************************************/
530 /******/
531 /******/ // startup
532 /******/ // Load entry module and return exports
533 /******/ // This entry module depends on other loaded chunks and execution need to be delayed
534 /******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["single-forum/style-index"], () => (__webpack_require__("./src/single-forum/index.js")))
535 /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
536 /******/
537 /******/ })()
538 ;
539 //# sourceMappingURL=index.js.map
540