PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
← All changes | assets/js/dist/frontend/modal.js +113 -104 4.1.7 → 4.4.9 View file →
@@ -1,17 +1,20 @@
1 -/******/ (function() { // webpackBootstrap
1 +/******/ (() => { // webpackBootstrap
2 2 /******/ "use strict";
3 3 /******/ var __webpack_modules__ = ({
4 4
5 -/***/ "./assets/src/apps/js/frontend/modal/index.js":
5 +/***/ "./assets/src/apps/js/frontend/modal/index.js"
6 6 /*!****************************************************!*\
7 7 !*** ./assets/src/apps/js/frontend/modal/index.js ***!
8 8 \****************************************************/
9 -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9 +(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10 10
11 11 __webpack_require__.r(__webpack_exports__);
12 -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
13 -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
12 +/* harmony export */ __webpack_require__.d(__webpack_exports__, {
13 +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
14 +/* harmony export */ });
15 +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
16 +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
14 17 /* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./store */ "./assets/src/apps/js/frontend/modal/store/index.js");
15 18 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
16 19 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
17 20 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
@@ -16,9 +19,8 @@
16 19 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
17 20 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
18 21 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__);
19 22
20 -
21 23 /**
22 24 * Create Modal popup.
23 25 * Edit: Use React Hook.
24 26 *
@@ -27,12 +29,11 @@
27 29
28 30
29 31
30 32
31 -const Modal = _ref => {
32 - let {
33 - children
34 - } = _ref;
33 +const Modal = ({
34 + children
35 +}) => {
35 36 const {
36 37 show,
37 38 hide,
38 39 confirm
@@ -44,53 +45,50 @@
44 45 const message = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_3__.useSelect)(select => {
45 46 const getMessage = select('learnpress/modal').getMessage();
46 47 return getMessage;
47 48 });
48 -
49 49 const dataConfirm = c => event => {
50 50 confirm(c);
51 51 };
52 -
53 52 const styles = {
54 53 display: isShow ? 'block' : 'none'
55 54 };
56 - return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
55 + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
57 56 id: "lp-modal-overlay",
58 57 style: styles
59 - }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
58 + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
60 59 id: "lp-modal-window",
61 60 style: styles
62 - }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
61 + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
63 62 id: "lp-modal-content",
64 63 dangerouslySetInnerHTML: {
65 64 __html: message
66 65 }
67 - }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
66 + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
68 67 id: "lp-modal-buttons"
69 - }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", {
68 + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", {
70 69 className: "lp-button modal-button-ok",
71 70 onClick: dataConfirm('yes')
72 - }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('OK', 'learnpress'))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", {
71 + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('OK', 'learnpress'))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", {
73 72 className: "lp-button modal-button-cancel",
74 73 onClick: dataConfirm('no')
75 - }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Cancel', 'learnpress')))))), children);
74 + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Cancel', 'learnpress')))))), children);
76 75 };
76 +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Modal);
77 77
78 -/* harmony default export */ __webpack_exports__["default"] = (Modal);
78 +/***/ },
79 79
80 -/***/ }),
81 -
82 -/***/ "./assets/src/apps/js/frontend/modal/store/actions.js":
80 +/***/ "./assets/src/apps/js/frontend/modal/store/actions.js"
83 81 /*!************************************************************!*\
84 82 !*** ./assets/src/apps/js/frontend/modal/store/actions.js ***!
85 83 \************************************************************/
86 -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
84 +(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
87 85
88 86 __webpack_require__.r(__webpack_exports__);
89 87 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
90 -/* harmony export */ "confirm": function() { return /* binding */ confirm; },
91 -/* harmony export */ "hide": function() { return /* binding */ hide; },
92 -/* harmony export */ "show": function() { return /* binding */ show; }
88 +/* harmony export */ confirm: () => (/* binding */ confirm),
89 +/* harmony export */ hide: () => (/* binding */ hide),
90 +/* harmony export */ show: () => (/* binding */ show)
93 91 /* harmony export */ });
94 92 function show(message, cb) {
95 93 return {
96 94 type: 'SHOW_MODAL',
@@ -109,17 +107,20 @@
109 107 value
110 108 };
111 109 }
112 110
113 -/***/ }),
111 +/***/ },
114 112
115 -/***/ "./assets/src/apps/js/frontend/modal/store/index.js":
113 +/***/ "./assets/src/apps/js/frontend/modal/store/index.js"
116 114 /*!**********************************************************!*\
117 115 !*** ./assets/src/apps/js/frontend/modal/store/index.js ***!
118 116 \**********************************************************/
119 -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
117 +(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
120 118
121 119 __webpack_require__.r(__webpack_exports__);
120 +/* harmony export */ __webpack_require__.d(__webpack_exports__, {
121 +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
122 +/* harmony export */ });
122 123 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
123 124 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
124 125 /* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reducer */ "./assets/src/apps/js/frontend/modal/store/reducer.js");
125 126 /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./actions */ "./assets/src/apps/js/frontend/modal/store/actions.js");
@@ -136,23 +137,27 @@
136 137 const store = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_0__.registerStore)('learnpress/modal', {
137 138 reducer: _reducer__WEBPACK_IMPORTED_MODULE_1__["default"],
138 139 selectors: _selectors__WEBPACK_IMPORTED_MODULE_3__,
139 140 actions: _actions__WEBPACK_IMPORTED_MODULE_2__,
140 - controls: { ...dataControls
141 + controls: {
142 + ...dataControls
141 143 }
142 144 });
143 145 (0,_middlewares__WEBPACK_IMPORTED_MODULE_4__["default"])(store);
144 -/* harmony default export */ __webpack_exports__["default"] = (store);
146 +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (store);
145 147
146 -/***/ }),
148 +/***/ },
147 149
148 -/***/ "./assets/src/apps/js/frontend/modal/store/middlewares.js":
150 +/***/ "./assets/src/apps/js/frontend/modal/store/middlewares.js"
149 151 /*!****************************************************************!*\
150 152 !*** ./assets/src/apps/js/frontend/modal/store/middlewares.js ***!
151 153 \****************************************************************/
152 -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
154 +(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
153 155
154 156 __webpack_require__.r(__webpack_exports__);
157 +/* harmony export */ __webpack_require__.d(__webpack_exports__, {
158 +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
159 +/* harmony export */ });
155 160 /* harmony import */ var refx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! refx */ "./node_modules/refx/refx.js");
156 161 /* harmony import */ var refx__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(refx__WEBPACK_IMPORTED_MODULE_0__);
157 162 /**
158 163 * External dependencies
@@ -162,12 +167,15 @@
162 167 ENROLL_COURSE_X: (action, store) => {
163 168 enrollCourse: (action, store) => {
164 169 const {
165 170 dispatch
166 - } = store; //dispatch()
171 + } = store;
172 +
173 + //dispatch()
167 174 };
168 175 }
169 176 };
177 +
170 178 /**
171 179 * Applies the custom middlewares used specifically in the editor module.
172 180 *
173 181 * @param {Object} store Store Object.
@@ -173,85 +181,78 @@
173 181 * @param {Object} store Store Object.
174 182 *
175 183 * @return {Object} Update Store Object.
176 184 */
177 -
178 185 function applyMiddlewares(store) {
179 186 let enhancedDispatch = () => {
180 187 throw new Error('Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');
181 188 };
182 -
183 189 const middlewareAPI = {
184 190 getState: store.getState,
185 - dispatch: function () {
186 - return enhancedDispatch(...arguments);
187 - }
191 + dispatch: (...args) => enhancedDispatch(...args)
188 192 };
189 193 enhancedDispatch = refx__WEBPACK_IMPORTED_MODULE_0___default()(effects)(middlewareAPI)(store.dispatch);
190 194 store.dispatch = enhancedDispatch;
191 195 return store;
192 196 }
197 +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (applyMiddlewares);
193 198
194 -/* harmony default export */ __webpack_exports__["default"] = (applyMiddlewares);
199 +/***/ },
195 200
196 -/***/ }),
197 -
198 -/***/ "./assets/src/apps/js/frontend/modal/store/reducer.js":
201 +/***/ "./assets/src/apps/js/frontend/modal/store/reducer.js"
199 202 /*!************************************************************!*\
200 203 !*** ./assets/src/apps/js/frontend/modal/store/reducer.js ***!
201 204 \************************************************************/
202 -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
205 +(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
203 206
204 207 __webpack_require__.r(__webpack_exports__);
205 208 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
206 -/* harmony export */ "Modal": function() { return /* binding */ Modal; }
209 +/* harmony export */ Modal: () => (/* binding */ Modal),
210 +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
207 211 /* harmony export */ });
208 212 const STORE_DATA = {};
209 -const Modal = function () {
210 - let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : STORE_DATA;
211 - let action = arguments.length > 1 ? arguments[1] : undefined;
212 -
213 +const Modal = (state = STORE_DATA, action) => {
213 214 switch (action.type) {
214 215 case 'SHOW_MODAL':
215 - return { ...state,
216 + return {
217 + ...state,
216 218 isOpen: true,
217 219 message: action.message,
218 220 cb: action.cb
219 221 };
220 -
221 222 case 'HIDE_MODAL':
222 - return { ...state,
223 + return {
224 + ...state,
223 225 isOpen: false,
224 226 message: false,
225 227 cb: null
226 228 };
227 -
228 229 case 'CONFIRM':
229 230 state.cb && setTimeout(() => {
230 231 state.cb();
231 232 }, 10);
232 - return { ...state,
233 + return {
234 + ...state,
233 235 confirm: action.value
234 236 };
235 237 }
236 -
237 238 return state;
238 239 };
239 -/* harmony default export */ __webpack_exports__["default"] = (Modal);
240 +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Modal);
240 241
241 -/***/ }),
242 +/***/ },
242 243
243 -/***/ "./assets/src/apps/js/frontend/modal/store/selectors.js":
244 +/***/ "./assets/src/apps/js/frontend/modal/store/selectors.js"
244 245 /*!**************************************************************!*\
245 246 !*** ./assets/src/apps/js/frontend/modal/store/selectors.js ***!
246 247 \**************************************************************/
247 -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
248 +(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
248 249
249 250 __webpack_require__.r(__webpack_exports__);
250 251 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
251 -/* harmony export */ "confirm": function() { return /* binding */ confirm; },
252 -/* harmony export */ "getMessage": function() { return /* binding */ getMessage; },
253 -/* harmony export */ "isOpen": function() { return /* binding */ isOpen; }
252 +/* harmony export */ confirm: () => (/* binding */ confirm),
253 +/* harmony export */ getMessage: () => (/* binding */ getMessage),
254 +/* harmony export */ isOpen: () => (/* binding */ isOpen)
254 255 /* harmony export */ });
255 256 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
256 257 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
257 258
@@ -265,9 +266,8 @@
265 266 const {
266 267 show,
267 268 hide
268 269 } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_0__.dispatch)('learnpress/modal');
269 -
270 270 if (!state.message) {
271 271 show(message, cb);
272 272 } else {
273 273 hide();
@@ -272,19 +272,18 @@
272 272 } else {
273 273 hide();
274 274 return state.confirm;
275 275 }
276 -
277 276 return 'no';
278 277 }
279 278
280 -/***/ }),
279 +/***/ },
281 280
282 -/***/ "./node_modules/refx/refx.js":
281 +/***/ "./node_modules/refx/refx.js"
283 282 /*!***********************************!*\
284 283 !*** ./node_modules/refx/refx.js ***!
285 284 \***********************************/
286 -/***/ (function(module) {
285 +(module) {
287 286
288 287
289 288
290 289 function flattenIntoMap( map, effects ) {
@@ -334,39 +333,39 @@
334 333
335 334 module.exports = refx;
336 335
337 336
338 -/***/ }),
337 +/***/ },
339 338
340 -/***/ "@wordpress/data":
339 +/***/ "react"
340 +/*!************************!*\
341 + !*** external "React" ***!
342 + \************************/
343 +(module) {
344 +
345 +module.exports = window["React"];
346 +
347 +/***/ },
348 +
349 +/***/ "@wordpress/data"
341 350 /*!******************************!*\
342 351 !*** external ["wp","data"] ***!
343 352 \******************************/
344 -/***/ (function(module) {
353 +(module) {
345 354
346 355 module.exports = window["wp"]["data"];
347 356
348 -/***/ }),
357 +/***/ },
349 358
350 -/***/ "@wordpress/element":
351 -/*!*********************************!*\
352 - !*** external ["wp","element"] ***!
353 - \*********************************/
354 -/***/ (function(module) {
355 -
356 -module.exports = window["wp"]["element"];
357 -
358 -/***/ }),
359 -
360 -/***/ "@wordpress/i18n":
359 +/***/ "@wordpress/i18n"
361 360 /*!******************************!*\
362 361 !*** external ["wp","i18n"] ***!
363 362 \******************************/
364 -/***/ (function(module) {
363 +(module) {
365 364
366 365 module.exports = window["wp"]["i18n"];
367 366
368 -/***/ })
367 +/***/ }
369 368
370 369 /******/ });
371 370 /************************************************************************/
372 371 /******/ // The module cache
@@ -386,8 +385,14 @@
386 385 /******/ exports: {}
387 386 /******/ };
388 387 /******/
389 388 /******/ // Execute the module function
389 +/******/ if (!(moduleId in __webpack_modules__)) {
390 +/******/ delete __webpack_module_cache__[moduleId];
391 +/******/ var e = new Error("Cannot find module '" + moduleId + "'");
392 +/******/ e.code = 'MODULE_NOT_FOUND';
393 +/******/ throw e;
394 +/******/ }
390 395 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
391 396 /******/
392 397 /******/ // Return the exports of the module
393 398 /******/ return module.exports;
@@ -394,23 +399,23 @@
394 399 /******/ }
395 400 /******/
396 401 /************************************************************************/
397 402 /******/ /* webpack/runtime/compat get default export */
398 -/******/ !function() {
403 +/******/ (() => {
399 404 /******/ // getDefaultExport function for compatibility with non-harmony modules
400 -/******/ __webpack_require__.n = function(module) {
405 +/******/ __webpack_require__.n = (module) => {
401 406 /******/ var getter = module && module.__esModule ?
402 -/******/ function() { return module['default']; } :
403 -/******/ function() { return module; };
407 +/******/ () => (module['default']) :
408 +/******/ () => (module);
404 409 /******/ __webpack_require__.d(getter, { a: getter });
405 410 /******/ return getter;
406 411 /******/ };
407 -/******/ }();
412 +/******/ })();
408 413 /******/
409 414 /******/ /* webpack/runtime/define property getters */
410 -/******/ !function() {
415 +/******/ (() => {
411 416 /******/ // define getter functions for harmony exports
412 -/******/ __webpack_require__.d = function(exports, definition) {
417 +/******/ __webpack_require__.d = (exports, definition) => {
413 418 /******/ for(var key in definition) {
414 419 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
415 420 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
416 421 /******/ }
@@ -415,38 +420,42 @@
415 420 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
416 421 /******/ }
417 422 /******/ }
418 423 /******/ };
419 -/******/ }();
424 +/******/ })();
420 425 /******/
421 426 /******/ /* webpack/runtime/hasOwnProperty shorthand */
422 -/******/ !function() {
423 -/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
424 -/******/ }();
427 +/******/ (() => {
428 +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
429 +/******/ })();
425 430 /******/
426 431 /******/ /* webpack/runtime/make namespace object */
427 -/******/ !function() {
432 +/******/ (() => {
428 433 /******/ // define __esModule on exports
429 -/******/ __webpack_require__.r = function(exports) {
434 +/******/ __webpack_require__.r = (exports) => {
430 435 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
431 436 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
432 437 /******/ }
433 438 /******/ Object.defineProperty(exports, '__esModule', { value: true });
434 439 /******/ };
435 -/******/ }();
440 +/******/ })();
436 441 /******/
437 442 /************************************************************************/
438 443 var __webpack_exports__ = {};
439 -// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
440 -!function() {
444 +// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
445 +(() => {
441 446 /*!**********************************************!*\
442 447 !*** ./assets/src/apps/js/frontend/modal.js ***!
443 448 \**********************************************/
444 449 __webpack_require__.r(__webpack_exports__);
450 +/* harmony export */ __webpack_require__.d(__webpack_exports__, {
451 +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
452 +/* harmony export */ });
445 453 /* harmony import */ var _modal_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modal/index */ "./assets/src/apps/js/frontend/modal/index.js");
446 454
447 -/* harmony default export */ __webpack_exports__["default"] = (_modal_index__WEBPACK_IMPORTED_MODULE_0__["default"]);
448 -}();
455 +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_modal_index__WEBPACK_IMPORTED_MODULE_0__["default"]);
456 +})();
457 +
449 458 (window.LP = window.LP || {}).modal = __webpack_exports__;
450 459 /******/ })()
451 460 ;
452 461 //# sourceMappingURL=modal.js.map