| @@ -616,19 +616,19 @@ | ||
| 616 | 616 | |
| 617 | 617 | /******/ }); |
| 618 | 618 | /************************************************************************/ |
| 619 | 619 | /******/ // The module cache |
| 620 | -/******/ var __webpack_module_cache__ = {}; | |
| 620 | +/******/ const __webpack_module_cache__ = {}; | |
| 621 | 621 | /******/ |
| 622 | 622 | /******/ // The require function |
| 623 | 623 | /******/ function __webpack_require__(moduleId) { |
| 624 | 624 | /******/ // Check if module is in cache |
| 625 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 625 | +/******/ const cachedModule = __webpack_module_cache__[moduleId]; | |
| 626 | 626 | /******/ if (cachedModule !== undefined) { |
| 627 | 627 | /******/ return cachedModule.exports; |
| 628 | 628 | /******/ } |
| 629 | 629 | /******/ // Create a new module (and put it into the cache) |
| 630 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 630 | +/******/ const module = __webpack_module_cache__[moduleId] = { | |
| 631 | 631 | /******/ // no module.id needed |
| 632 | 632 | /******/ // no module.loaded needed |
| 633 | 633 | /******/ exports: {} |
| 634 | 634 | /******/ }; |
| @@ -635,9 +635,9 @@ | ||
| 635 | 635 | /******/ |
| 636 | 636 | /******/ // Execute the module function |
| 637 | 637 | /******/ if (!(moduleId in __webpack_modules__)) { |
| 638 | 638 | /******/ delete __webpack_module_cache__[moduleId]; |
| 639 | -/******/ var e = new Error("Cannot find module '" + moduleId + "'"); | |
| 639 | +/******/ const e = new Error("Cannot find module '" + moduleId + "'"); | |
| 640 | 640 | /******/ e.code = 'MODULE_NOT_FOUND'; |
| 641 | 641 | /******/ throw e; |
| 642 | 642 | /******/ } |
| 643 | 643 | /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| @@ -648,14 +648,29 @@ | ||
| 648 | 648 | /******/ |
| 649 | 649 | /************************************************************************/ |
| 650 | 650 | /******/ /* webpack/runtime/define property getters */ |
| 651 | 651 | /******/ (() => { |
| 652 | -/******/ // define getter functions for harmony exports | |
| 652 | +/******/ // define getter/value functions for harmony exports | |
| 653 | 653 | /******/ __webpack_require__.d = (exports, definition) => { |
| 654 | -/******/ for(var key in definition) { | |
| 655 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 656 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 654 | +/******/ if(Array.isArray(definition)) { | |
| 655 | +/******/ var i = 0; | |
| 656 | +/******/ while(i < definition.length) { | |
| 657 | +/******/ var key = definition[i++]; | |
| 658 | +/******/ var binding = definition[i++]; | |
| 659 | +/******/ if(!__webpack_require__.o(exports, key)) { | |
| 660 | +/******/ if(binding === 0) { | |
| 661 | +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); | |
| 662 | +/******/ } else { | |
| 663 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); | |
| 664 | +/******/ } | |
| 665 | +/******/ } else if(binding === 0) { i++; } | |
| 657 | 666 | /******/ } |
| 667 | +/******/ } else { | |
| 668 | +/******/ for(var key in definition) { | |
| 669 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 670 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 671 | +/******/ } | |
| 672 | +/******/ } | |
| 658 | 673 | /******/ } |
| 659 | 674 | /******/ }; |
| 660 | 675 | /******/ })(); |
| 661 | 676 | /******/ |
| @@ -660,9 +675,9 @@ | ||
| 660 | 675 | /******/ })(); |
| 661 | 676 | /******/ |
| 662 | 677 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 663 | 678 | /******/ (() => { |
| 664 | -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 679 | +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop)) | |
| 665 | 680 | /******/ })(); |
| 666 | 681 | /******/ |
| 667 | 682 | /******/ /* webpack/runtime/make namespace object */ |
| 668 | 683 | /******/ (() => { |
| @@ -667,9 +682,9 @@ | ||
| 667 | 682 | /******/ /* webpack/runtime/make namespace object */ |
| 668 | 683 | /******/ (() => { |
| 669 | 684 | /******/ // define __esModule on exports |
| 670 | 685 | /******/ __webpack_require__.r = (exports) => { |
| 671 | -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 686 | +/******/ if(Symbol.toStringTag) { | |
| 672 | 687 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 673 | 688 | /******/ } |
| 674 | 689 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 675 | 690 | /******/ }; |
| @@ -675,9 +690,9 @@ | ||
| 675 | 690 | /******/ }; |
| 676 | 691 | /******/ })(); |
| 677 | 692 | /******/ |
| 678 | 693 | /************************************************************************/ |
| 679 | -var __webpack_exports__ = {}; | |
| 694 | +let __webpack_exports__ = {}; | |
| 680 | 695 | // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk. |
| 681 | 696 | (() => { |
| 682 | 697 | /*!*******************************************!*\ |
| 683 | 698 | !*** ./assets/src/js/frontend/courses.js ***! |
| @@ -771,9 +786,9 @@ | ||
| 771 | 786 | 'X-WP-Nonce': lpData.nonce |
| 772 | 787 | } |
| 773 | 788 | }; |
| 774 | 789 | } |
| 775 | - (0,_utils__WEBPACK_IMPORTED_MODULE_1__.lpFetchAPI)(url, paramsFetch, callBack); | |
| 790 | + ;(0,_utils__WEBPACK_IMPORTED_MODULE_1__.lpFetchAPI)(url, paramsFetch, callBack); | |
| 776 | 791 | }; |
| 777 | 792 | return { |
| 778 | 793 | init: () => { |
| 779 | 794 | const urlParams = {}; |