Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

192 lines
17KB

  1. (self["webpackChunk"] = self["webpackChunk"] || []).push([["app-backend"],{
  2. /***/ "./assets/app/backend/common/app.common.js":
  3. /*!*************************************************!*\
  4. !*** ./assets/app/backend/common/app.common.js ***!
  5. \*************************************************/
  6. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  7. "use strict";
  8. __webpack_require__.r(__webpack_exports__);
  9. /* harmony import */ var _common_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common.scss */ "./assets/app/backend/common/common.scss");
  10. /* harmony import */ var _common_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common.js */ "./assets/app/backend/common/common.js");
  11. /* harmony import */ var _common_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_common_js__WEBPACK_IMPORTED_MODULE_1__);
  12. /*
  13. * Welcome to your app's main JavaScript file!
  14. *
  15. * We recommend including the built version of this JavaScript file
  16. * (and its CSS file) in your base layout (base.html.twig).
  17. */
  18. // any CSS you import will output into a single css file (app.css in this case)
  19. // start the Stimulus application
  20. //import './bootstrap';
  21. /***/ }),
  22. /***/ "./assets/app/backend/common/common.js":
  23. /*!*********************************************!*\
  24. !*** ./assets/app/backend/common/common.js ***!
  25. \*********************************************/
  26. /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
  27. __webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js");
  28. $(document).ready(function () {
  29. $('.field-collection[data-prototype]').on('collection-add-item', function () {
  30. $(this).find('select').each(function (i, e) {
  31. SovWidgets.setSelect2($(e));
  32. setSubtheme($(e));
  33. });
  34. });
  35. $('.theme').each(function (i, select) {
  36. setSubtheme($(select));
  37. $(select).trigger('change');
  38. });
  39. });
  40. function setSubtheme($select) {
  41. $select.on('change', function (e) {
  42. $(e.target).closest('.form-widget-compound').find('.subtheme option').prop('disabled', false);
  43. $(e.target).closest('.form-widget-compound').find('.subtheme option[data-class]').not("[data-class='" + $(e.target).find('option:selected').data('class') + "']").prop('disabled', true);
  44. SovWidgets.setSelect2($(this).closest('.form-widget-compound').find('.subtheme'));
  45. });
  46. }
  47. /***/ }),
  48. /***/ "./node_modules/core-js/internals/engine-user-agent.js":
  49. /*!*************************************************************!*\
  50. !*** ./node_modules/core-js/internals/engine-user-agent.js ***!
  51. \*************************************************************/
  52. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  53. var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js");
  54. module.exports = getBuiltIn('navigator', 'userAgent') || '';
  55. /***/ }),
  56. /***/ "./node_modules/core-js/internals/engine-v8-version.js":
  57. /*!*************************************************************!*\
  58. !*** ./node_modules/core-js/internals/engine-v8-version.js ***!
  59. \*************************************************************/
  60. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  61. var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js");
  62. var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js");
  63. var process = global.process;
  64. var versions = process && process.versions;
  65. var v8 = versions && versions.v8;
  66. var match, version;
  67. if (v8) {
  68. match = v8.split('.');
  69. version = match[0] < 4 ? 1 : match[0] + match[1];
  70. } else if (userAgent) {
  71. match = userAgent.match(/Edge\/(\d+)/);
  72. if (!match || match[1] >= 74) {
  73. match = userAgent.match(/Chrome\/(\d+)/);
  74. if (match) version = match[1];
  75. }
  76. }
  77. module.exports = version && +version;
  78. /***/ }),
  79. /***/ "./node_modules/core-js/internals/native-symbol.js":
  80. /*!*********************************************************!*\
  81. !*** ./node_modules/core-js/internals/native-symbol.js ***!
  82. \*********************************************************/
  83. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  84. /* eslint-disable es/no-symbol -- required for testing */
  85. var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js");
  86. var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js");
  87. // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
  88. module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
  89. var symbol = Symbol();
  90. // Chrome 38 Symbol has incorrect toString conversion
  91. // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
  92. return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
  93. // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
  94. !Symbol.sham && V8_VERSION && V8_VERSION < 41;
  95. });
  96. /***/ }),
  97. /***/ "./node_modules/core-js/internals/use-symbol-as-uid.js":
  98. /*!*************************************************************!*\
  99. !*** ./node_modules/core-js/internals/use-symbol-as-uid.js ***!
  100. \*************************************************************/
  101. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  102. /* eslint-disable es/no-symbol -- required for testing */
  103. var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "./node_modules/core-js/internals/native-symbol.js");
  104. module.exports = NATIVE_SYMBOL
  105. && !Symbol.sham
  106. && typeof Symbol.iterator == 'symbol';
  107. /***/ }),
  108. /***/ "./node_modules/core-js/internals/well-known-symbol.js":
  109. /*!*************************************************************!*\
  110. !*** ./node_modules/core-js/internals/well-known-symbol.js ***!
  111. \*************************************************************/
  112. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  113. var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js");
  114. var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js");
  115. var has = __webpack_require__(/*! ../internals/has */ "./node_modules/core-js/internals/has.js");
  116. var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js");
  117. var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "./node_modules/core-js/internals/native-symbol.js");
  118. var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js/internals/use-symbol-as-uid.js");
  119. var WellKnownSymbolsStore = shared('wks');
  120. var Symbol = global.Symbol;
  121. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
  122. module.exports = function (name) {
  123. if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
  124. if (NATIVE_SYMBOL && has(Symbol, name)) {
  125. WellKnownSymbolsStore[name] = Symbol[name];
  126. } else {
  127. WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
  128. }
  129. } return WellKnownSymbolsStore[name];
  130. };
  131. /***/ }),
  132. /***/ "./assets/app/backend/common/common.scss":
  133. /*!***********************************************!*\
  134. !*** ./assets/app/backend/common/common.scss ***!
  135. \***********************************************/
  136. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  137. "use strict";
  138. __webpack_require__.r(__webpack_exports__);
  139. // extracted by mini-css-extract-plugin
  140. /***/ })
  141. },
  142. /******/ __webpack_require__ => { // webpackRuntimeModules
  143. /******/ "use strict";
  144. /******/
  145. /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
  146. /******/ __webpack_require__.O(0, ["vendors-node_modules_core-js_internals_export_js","vendors-node_modules_core-js_modules_es_array_find_js"], () => (__webpack_exec__("./assets/app/backend/common/app.common.js")));
  147. /******/ var __webpack_exports__ = __webpack_require__.O();
  148. /******/ }
  149. ]);
  150. //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9hc3NldHMvYXBwL2JhY2tlbmQvY29tbW9uL2FwcC5jb21tb24uanMiLCJ3ZWJwYWNrOi8vLy4vYXNzZXRzL2FwcC9iYWNrZW5kL2NvbW1vbi9jb21tb24uanMiLCJ3ZWJwYWNrO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