packages
1 year ago
152486453d0e39071cdb.bundle.js
1 year ago
294b4bf3066815c5927f.bundle.min.js
1 year ago
2f08057553c95b827d30.bundle.min.js
1 year ago
4748df03726015eef04f.bundle.min.js
1 year ago
49d9a23b08ff2c138b03.bundle.min.js
1 year ago
49d9a23b08ff2c138b03.bundle.min.js.LICENSE.txt
1 year ago
7b18c3f2f2bfffda289f.bundle.js
1 year ago
9c42cff515a6191fddaf.bundle.min.js
1 year ago
a730ee9caa710006b307.bundle.js
1 year ago
accordion.8799675460c73eb48972.bundle.min.js
1 year ago
accordion.c16b88b2e8a0c50189bc.bundle.js
1 year ago
admin-feedback.js
1 year ago
admin-feedback.min.js
1 year ago
admin-modules.js
1 year ago
admin-modules.min.js
1 year ago
admin-modules.min.js.LICENSE.txt
3 years ago
admin-notifications.js
1 year ago
admin-notifications.min.js
1 year ago
admin-notifications.min.js.LICENSE.txt
1 year ago
admin-top-bar.js
1 year ago
admin-top-bar.min.js
1 year ago
admin.js
1 year ago
admin.min.js
1 year ago
admin.min.js.LICENSE.txt
3 years ago
ai-admin.js
1 year ago
ai-admin.min.js
1 year ago
ai-admin.min.js.LICENSE.txt
2 years ago
ai-gutenberg.js
1 year ago
ai-gutenberg.min.js
1 year ago
ai-gutenberg.min.js.LICENSE.txt
2 years ago
ai-layout.js
1 year ago
ai-layout.min.js
1 year ago
ai-layout.min.js.LICENSE.txt
2 years ago
ai-media-library.js
1 year ago
ai-media-library.min.js
1 year ago
ai-media-library.min.js.LICENSE.txt
2 years ago
ai.js
1 year ago
ai.min.js
1 year ago
ai.min.js.LICENSE.txt
1 year ago
alert.c3c6a3fdf4745bd26b7f.bundle.js
1 year ago
alert.cbc2a0fee74ee3ed0419.bundle.min.js
1 year ago
announcements-app.js
1 year ago
announcements-app.min.js
1 year ago
announcements-app.min.js.LICENSE.txt
3 years ago
app-loader.js
1 year ago
app-loader.min.js
1 year ago
app-packages.js
1 year ago
app-packages.min.js
1 year ago
app-packages.min.js.LICENSE.txt
3 years ago
app.js
1 year ago
app.min.js
1 year ago
app.min.js.LICENSE.txt
3 years ago
atomic-widgets-editor.js
1 year ago
atomic-widgets-editor.min.js
1 year ago
b7931adecb98651a09c7.bundle.min.js
1 year ago
bdd4030576f6a94a4f0d.bundle.js
1 year ago
beta-tester.js
1 year ago
beta-tester.min.js
1 year ago
c96bb3445f3bc9de7d26.bundle.min.js
1 year ago
checklist.js
1 year ago
checklist.min.js
1 year ago
checklist.min.js.LICENSE.txt
1 year ago
common-modules.js
1 year ago
common-modules.min.js
1 year ago
common.js
1 year ago
common.min.js
1 year ago
common.min.js.LICENSE.txt
3 years ago
contact-buttons.31aad77620f461830ce9.bundle.min.js
1 year ago
contact-buttons.a5e2cc7274ba4c94eb66.bundle.js
1 year ago
container-converter.js
1 year ago
container-converter.min.js
1 year ago
container.a7f0a15dfa05df34e1f7.bundle.js
1 year ago
container.c65a2a923085e1120e75.bundle.min.js
1 year ago
counter.02cef29c589e742d4c8c.bundle.min.js
1 year ago
counter.3f74a246dff765f39aea.bundle.js
1 year ago
d91e4d7f57d57af2aab9.bundle.min.js
1 year ago
d9299811bc70ddb82fbf.bundle.js
1 year ago
dev-tools.js
1 year ago
dev-tools.min.js
1 year ago
e-home-screen.js
1 year ago
e-home-screen.min.js
1 year ago
e-wc-product-editor.js
1 year ago
e-wc-product-editor.min.js
1 year ago
e-wc-product-editor.min.js.LICENSE.txt
1 year ago
e3f753621bf9be55ec4d.bundle.js
1 year ago
editor-document.js
1 year ago
editor-document.min.js
1 year ago
editor-environment-v2.js
1 year ago
editor-environment-v2.min.js
1 year ago
editor-loader-v1.js
1 year ago
editor-loader-v1.min.js
1 year ago
editor-loader-v2.js
1 year ago
editor-loader-v2.min.js
1 year ago
editor-modules.js
1 year ago
editor-modules.min.js
1 year ago
editor-modules.min.js.LICENSE.txt
3 years ago
editor-notifications.js
1 year ago
editor-notifications.min.js
1 year ago
editor-notifications.min.js.LICENSE.txt
1 year ago
editor.js
1 year ago
editor.min.js
1 year ago
editor.min.js.LICENSE.txt
1 year ago
element-manager-admin.js
1 year ago
element-manager-admin.min.js
1 year ago
element-manager-admin.min.js.LICENSE.txt
2 years ago
elementor-admin-bar.js
1 year ago
elementor-admin-bar.min.js
1 year ago
f634673e5824ceb13f3d.bundle.js
1 year ago
fa0cbd4c7b6a8ad83224.bundle.js
1 year ago
fd6a00ae23a1bc2c6190.bundle.js
1 year ago
floating-bars.1ebb83f158244b35bda6.bundle.js
1 year ago
floating-bars.e4547b87bc6fb09381ca.bundle.min.js
1 year ago
floating-elements-modal.js
1 year ago
floating-elements-modal.min.js
1 year ago
frontend-modules.js
1 year ago
frontend-modules.min.js
1 year ago
frontend.js
1 year ago
frontend.min.js
1 year ago
gutenberg.js
1 year ago
gutenberg.min.js
1 year ago
image-carousel.4455c6362492d9067512.bundle.min.js
1 year ago
image-carousel.9399f19d95d7300cbc2e.bundle.js
1 year ago
import-export-admin.js
1 year ago
import-export-admin.min.js
1 year ago
kit-elements-defaults-editor.js
1 year ago
kit-elements-defaults-editor.min.js
1 year ago
kit-elements-defaults-editor.min.js.LICENSE.txt
3 years ago
kit-library.1f8d31888dc9d19dd031.bundle.min.js
1 year ago
kit-library.ac1a4cd5deae5526ce49.bundle.js
1 year ago
lightbox.01a419d1fcdd47a75a77.bundle.min.js
1 year ago
lightbox.2c9ae19597fcd2a76c3a.bundle.js
1 year ago
media-hints.js
1 year ago
media-hints.min.js
1 year ago
nested-accordion.82e5c4e9017e457a5f2e.bundle.js
1 year ago
nested-accordion.c3b109b714293a16bd95.bundle.min.js
1 year ago
nested-accordion.js
1 year ago
nested-accordion.min.js
1 year ago
nested-accordion.min.js.LICENSE.txt
3 years ago
nested-elements.js
1 year ago
nested-elements.min.js
1 year ago
nested-tabs.js
1 year ago
nested-tabs.min.js
1 year ago
nested-tabs.min.js.LICENSE.txt
3 years ago
nested-title-keyboard-handler.0b608656da2be746fb80.bundle.min.js
1 year ago
nested-title-keyboard-handler.92a73d7a8a75bcb8cd67.bundle.js
1 year ago
new-template.js
1 year ago
new-template.min.js
1 year ago
notes.js
1 year ago
notes.min.js
1 year ago
onboarding.4a4002ff7ea58bfa166e.bundle.min.js
1 year ago
onboarding.5ceee1b219b66e943cb0.bundle.js
1 year ago
progress.6d15c16f0f5c4792940f.bundle.js
1 year ago
progress.985f012a6336ab21cb44.bundle.min.js
1 year ago
responsive-bar.js
1 year ago
responsive-bar.min.js
1 year ago
styleguide-app-initiator.js
1 year ago
styleguide-app-initiator.min.js
1 year ago
styleguide-app-initiator.min.js.LICENSE.txt
3 years ago
styleguide.js
1 year ago
styleguide.min.js
1 year ago
tabs.520bc2ed4560c561029e.bundle.js
1 year ago
tabs.c2af5be7f9cb3cdcf3d5.bundle.min.js
1 year ago
text-editor.2c35aafbe5bf0e127950.bundle.min.js
1 year ago
text-editor.2f2f7e0ea1e16387a004.bundle.js
1 year ago
text-path.39fb59e43970222f5a3e.bundle.min.js
1 year ago
text-path.39fb59e43970222f5a3e.bundle.min.js.LICENSE.txt
1 year ago
text-path.a20877e832db83423958.bundle.js
1 year ago
toggle.31881477c45ff5cf9d4d.bundle.min.js
1 year ago
toggle.d79746a764407a0828ee.bundle.js
1 year ago
video.78c625e89ab767d621c5.bundle.min.js
1 year ago
video.817bd6a65a1542503aac.bundle.js
1 year ago
web-cli.js
1 year ago
web-cli.min.js
1 year ago
web-cli.min.js.LICENSE.txt
3 years ago
webpack.runtime.js
1 year ago
webpack.runtime.min.js
1 year ago
wp-audio.75f0ced143febb8cd31a.bundle.min.js
1 year ago
wp-audio.b8efdc046bc9df72a075.bundle.js
1 year ago
styleguide-app-initiator.js
897 lines
| 1 | /*! elementor - v3.25.0 - 16-10-2024 */ |
| 2 | /******/ (() => { // webpackBootstrap |
| 3 | /******/ var __webpack_modules__ = ({ |
| 4 | |
| 5 | /***/ "../assets/dev/js/utils/react.js": |
| 6 | /*!***************************************!*\ |
| 7 | !*** ../assets/dev/js/utils/react.js ***! |
| 8 | \***************************************/ |
| 9 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 10 | |
| 11 | "use strict"; |
| 12 | |
| 13 | |
| 14 | var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); |
| 15 | Object.defineProperty(exports, "__esModule", ({ |
| 16 | value: true |
| 17 | })); |
| 18 | exports["default"] = void 0; |
| 19 | var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); |
| 20 | var ReactDOM = _interopRequireWildcard(__webpack_require__(/*! react-dom */ "react-dom")); |
| 21 | var _client = __webpack_require__(/*! react-dom/client */ "../node_modules/react-dom/client.js"); |
| 22 | function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } |
| 23 | function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } |
| 24 | /** |
| 25 | * Support conditional rendering of a React App to the DOM, based on the React version. |
| 26 | * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions. |
| 27 | * |
| 28 | * @param { React.ReactElement } app The app to render. |
| 29 | * @param { HTMLElement } domElement The DOM element to render the app into. |
| 30 | * |
| 31 | * @return {{ unmount: () => void }} The unmount function. |
| 32 | */ |
| 33 | function render(app, domElement) { |
| 34 | var unmountFunction; |
| 35 | try { |
| 36 | var root = (0, _client.createRoot)(domElement); |
| 37 | root.render(app); |
| 38 | unmountFunction = function unmountFunction() { |
| 39 | root.unmount(); |
| 40 | }; |
| 41 | } catch (e) { |
| 42 | // eslint-disable-next-line react/no-deprecated |
| 43 | ReactDOM.render(app, domElement); |
| 44 | unmountFunction = function unmountFunction() { |
| 45 | // eslint-disable-next-line react/no-deprecated |
| 46 | ReactDOM.unmountComponentAtNode(domElement); |
| 47 | }; |
| 48 | } |
| 49 | return { |
| 50 | unmount: unmountFunction |
| 51 | }; |
| 52 | } |
| 53 | var _default = { |
| 54 | render: render |
| 55 | }; |
| 56 | exports["default"] = _default; |
| 57 | |
| 58 | /***/ }), |
| 59 | |
| 60 | /***/ "../node_modules/react-dom/client.js": |
| 61 | /*!*******************************************!*\ |
| 62 | !*** ../node_modules/react-dom/client.js ***! |
| 63 | \*******************************************/ |
| 64 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 65 | |
| 66 | "use strict"; |
| 67 | |
| 68 | |
| 69 | var m = __webpack_require__(/*! react-dom */ "react-dom"); |
| 70 | if (false) {} else { |
| 71 | var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; |
| 72 | exports.createRoot = function(c, o) { |
| 73 | i.usingClientEntryPoint = true; |
| 74 | try { |
| 75 | return m.createRoot(c, o); |
| 76 | } finally { |
| 77 | i.usingClientEntryPoint = false; |
| 78 | } |
| 79 | }; |
| 80 | exports.hydrateRoot = function(c, h, o) { |
| 81 | i.usingClientEntryPoint = true; |
| 82 | try { |
| 83 | return m.hydrateRoot(c, h, o); |
| 84 | } finally { |
| 85 | i.usingClientEntryPoint = false; |
| 86 | } |
| 87 | }; |
| 88 | } |
| 89 | |
| 90 | |
| 91 | /***/ }), |
| 92 | |
| 93 | /***/ "react": |
| 94 | /*!************************!*\ |
| 95 | !*** external "React" ***! |
| 96 | \************************/ |
| 97 | /***/ ((module) => { |
| 98 | |
| 99 | "use strict"; |
| 100 | module.exports = React; |
| 101 | |
| 102 | /***/ }), |
| 103 | |
| 104 | /***/ "react-dom": |
| 105 | /*!***************************!*\ |
| 106 | !*** external "ReactDOM" ***! |
| 107 | \***************************/ |
| 108 | /***/ ((module) => { |
| 109 | |
| 110 | "use strict"; |
| 111 | module.exports = ReactDOM; |
| 112 | |
| 113 | /***/ }), |
| 114 | |
| 115 | /***/ "@wordpress/i18n": |
| 116 | /*!**************************!*\ |
| 117 | !*** external "wp.i18n" ***! |
| 118 | \**************************/ |
| 119 | /***/ ((module) => { |
| 120 | |
| 121 | "use strict"; |
| 122 | module.exports = wp.i18n; |
| 123 | |
| 124 | /***/ }), |
| 125 | |
| 126 | /***/ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js": |
| 127 | /*!******************************************************************!*\ |
| 128 | !*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! |
| 129 | \******************************************************************/ |
| 130 | /***/ ((module) => { |
| 131 | |
| 132 | function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { |
| 133 | try { |
| 134 | var info = gen[key](arg); |
| 135 | var value = info.value; |
| 136 | } catch (error) { |
| 137 | reject(error); |
| 138 | return; |
| 139 | } |
| 140 | if (info.done) { |
| 141 | resolve(value); |
| 142 | } else { |
| 143 | Promise.resolve(value).then(_next, _throw); |
| 144 | } |
| 145 | } |
| 146 | function _asyncToGenerator(fn) { |
| 147 | return function () { |
| 148 | var self = this, |
| 149 | args = arguments; |
| 150 | return new Promise(function (resolve, reject) { |
| 151 | var gen = fn.apply(self, args); |
| 152 | function _next(value) { |
| 153 | asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); |
| 154 | } |
| 155 | function _throw(err) { |
| 156 | asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); |
| 157 | } |
| 158 | _next(undefined); |
| 159 | }); |
| 160 | }; |
| 161 | } |
| 162 | module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 163 | |
| 164 | /***/ }), |
| 165 | |
| 166 | /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": |
| 167 | /*!***********************************************************************!*\ |
| 168 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 169 | \***********************************************************************/ |
| 170 | /***/ ((module) => { |
| 171 | |
| 172 | function _interopRequireDefault(obj) { |
| 173 | return obj && obj.__esModule ? obj : { |
| 174 | "default": obj |
| 175 | }; |
| 176 | } |
| 177 | module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 178 | |
| 179 | /***/ }), |
| 180 | |
| 181 | /***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js": |
| 182 | /*!********************************************************************!*\ |
| 183 | !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! |
| 184 | \********************************************************************/ |
| 185 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 186 | |
| 187 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 188 | function _regeneratorRuntime() { |
| 189 | "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ |
| 190 | module.exports = _regeneratorRuntime = function _regeneratorRuntime() { |
| 191 | return e; |
| 192 | }, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 193 | var t, |
| 194 | e = {}, |
| 195 | r = Object.prototype, |
| 196 | n = r.hasOwnProperty, |
| 197 | o = Object.defineProperty || function (t, e, r) { |
| 198 | t[e] = r.value; |
| 199 | }, |
| 200 | i = "function" == typeof Symbol ? Symbol : {}, |
| 201 | a = i.iterator || "@@iterator", |
| 202 | c = i.asyncIterator || "@@asyncIterator", |
| 203 | u = i.toStringTag || "@@toStringTag"; |
| 204 | function define(t, e, r) { |
| 205 | return Object.defineProperty(t, e, { |
| 206 | value: r, |
| 207 | enumerable: !0, |
| 208 | configurable: !0, |
| 209 | writable: !0 |
| 210 | }), t[e]; |
| 211 | } |
| 212 | try { |
| 213 | define({}, ""); |
| 214 | } catch (t) { |
| 215 | define = function define(t, e, r) { |
| 216 | return t[e] = r; |
| 217 | }; |
| 218 | } |
| 219 | function wrap(t, e, r, n) { |
| 220 | var i = e && e.prototype instanceof Generator ? e : Generator, |
| 221 | a = Object.create(i.prototype), |
| 222 | c = new Context(n || []); |
| 223 | return o(a, "_invoke", { |
| 224 | value: makeInvokeMethod(t, r, c) |
| 225 | }), a; |
| 226 | } |
| 227 | function tryCatch(t, e, r) { |
| 228 | try { |
| 229 | return { |
| 230 | type: "normal", |
| 231 | arg: t.call(e, r) |
| 232 | }; |
| 233 | } catch (t) { |
| 234 | return { |
| 235 | type: "throw", |
| 236 | arg: t |
| 237 | }; |
| 238 | } |
| 239 | } |
| 240 | e.wrap = wrap; |
| 241 | var h = "suspendedStart", |
| 242 | l = "suspendedYield", |
| 243 | f = "executing", |
| 244 | s = "completed", |
| 245 | y = {}; |
| 246 | function Generator() {} |
| 247 | function GeneratorFunction() {} |
| 248 | function GeneratorFunctionPrototype() {} |
| 249 | var p = {}; |
| 250 | define(p, a, function () { |
| 251 | return this; |
| 252 | }); |
| 253 | var d = Object.getPrototypeOf, |
| 254 | v = d && d(d(values([]))); |
| 255 | v && v !== r && n.call(v, a) && (p = v); |
| 256 | var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); |
| 257 | function defineIteratorMethods(t) { |
| 258 | ["next", "throw", "return"].forEach(function (e) { |
| 259 | define(t, e, function (t) { |
| 260 | return this._invoke(e, t); |
| 261 | }); |
| 262 | }); |
| 263 | } |
| 264 | function AsyncIterator(t, e) { |
| 265 | function invoke(r, o, i, a) { |
| 266 | var c = tryCatch(t[r], t, o); |
| 267 | if ("throw" !== c.type) { |
| 268 | var u = c.arg, |
| 269 | h = u.value; |
| 270 | return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { |
| 271 | invoke("next", t, i, a); |
| 272 | }, function (t) { |
| 273 | invoke("throw", t, i, a); |
| 274 | }) : e.resolve(h).then(function (t) { |
| 275 | u.value = t, i(u); |
| 276 | }, function (t) { |
| 277 | return invoke("throw", t, i, a); |
| 278 | }); |
| 279 | } |
| 280 | a(c.arg); |
| 281 | } |
| 282 | var r; |
| 283 | o(this, "_invoke", { |
| 284 | value: function value(t, n) { |
| 285 | function callInvokeWithMethodAndArg() { |
| 286 | return new e(function (e, r) { |
| 287 | invoke(t, n, e, r); |
| 288 | }); |
| 289 | } |
| 290 | return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); |
| 291 | } |
| 292 | }); |
| 293 | } |
| 294 | function makeInvokeMethod(e, r, n) { |
| 295 | var o = h; |
| 296 | return function (i, a) { |
| 297 | if (o === f) throw new Error("Generator is already running"); |
| 298 | if (o === s) { |
| 299 | if ("throw" === i) throw a; |
| 300 | return { |
| 301 | value: t, |
| 302 | done: !0 |
| 303 | }; |
| 304 | } |
| 305 | for (n.method = i, n.arg = a;;) { |
| 306 | var c = n.delegate; |
| 307 | if (c) { |
| 308 | var u = maybeInvokeDelegate(c, n); |
| 309 | if (u) { |
| 310 | if (u === y) continue; |
| 311 | return u; |
| 312 | } |
| 313 | } |
| 314 | if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { |
| 315 | if (o === h) throw o = s, n.arg; |
| 316 | n.dispatchException(n.arg); |
| 317 | } else "return" === n.method && n.abrupt("return", n.arg); |
| 318 | o = f; |
| 319 | var p = tryCatch(e, r, n); |
| 320 | if ("normal" === p.type) { |
| 321 | if (o = n.done ? s : l, p.arg === y) continue; |
| 322 | return { |
| 323 | value: p.arg, |
| 324 | done: n.done |
| 325 | }; |
| 326 | } |
| 327 | "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); |
| 328 | } |
| 329 | }; |
| 330 | } |
| 331 | function maybeInvokeDelegate(e, r) { |
| 332 | var n = r.method, |
| 333 | o = e.iterator[n]; |
| 334 | if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; |
| 335 | var i = tryCatch(o, e.iterator, r.arg); |
| 336 | if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; |
| 337 | var a = i.arg; |
| 338 | return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); |
| 339 | } |
| 340 | function pushTryEntry(t) { |
| 341 | var e = { |
| 342 | tryLoc: t[0] |
| 343 | }; |
| 344 | 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); |
| 345 | } |
| 346 | function resetTryEntry(t) { |
| 347 | var e = t.completion || {}; |
| 348 | e.type = "normal", delete e.arg, t.completion = e; |
| 349 | } |
| 350 | function Context(t) { |
| 351 | this.tryEntries = [{ |
| 352 | tryLoc: "root" |
| 353 | }], t.forEach(pushTryEntry, this), this.reset(!0); |
| 354 | } |
| 355 | function values(e) { |
| 356 | if (e || "" === e) { |
| 357 | var r = e[a]; |
| 358 | if (r) return r.call(e); |
| 359 | if ("function" == typeof e.next) return e; |
| 360 | if (!isNaN(e.length)) { |
| 361 | var o = -1, |
| 362 | i = function next() { |
| 363 | for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; |
| 364 | return next.value = t, next.done = !0, next; |
| 365 | }; |
| 366 | return i.next = i; |
| 367 | } |
| 368 | } |
| 369 | throw new TypeError(_typeof(e) + " is not iterable"); |
| 370 | } |
| 371 | return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { |
| 372 | value: GeneratorFunctionPrototype, |
| 373 | configurable: !0 |
| 374 | }), o(GeneratorFunctionPrototype, "constructor", { |
| 375 | value: GeneratorFunction, |
| 376 | configurable: !0 |
| 377 | }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { |
| 378 | var e = "function" == typeof t && t.constructor; |
| 379 | return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); |
| 380 | }, e.mark = function (t) { |
| 381 | return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; |
| 382 | }, e.awrap = function (t) { |
| 383 | return { |
| 384 | __await: t |
| 385 | }; |
| 386 | }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { |
| 387 | return this; |
| 388 | }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { |
| 389 | void 0 === i && (i = Promise); |
| 390 | var a = new AsyncIterator(wrap(t, r, n, o), i); |
| 391 | return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { |
| 392 | return t.done ? t.value : a.next(); |
| 393 | }); |
| 394 | }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { |
| 395 | return this; |
| 396 | }), define(g, "toString", function () { |
| 397 | return "[object Generator]"; |
| 398 | }), e.keys = function (t) { |
| 399 | var e = Object(t), |
| 400 | r = []; |
| 401 | for (var n in e) r.push(n); |
| 402 | return r.reverse(), function next() { |
| 403 | for (; r.length;) { |
| 404 | var t = r.pop(); |
| 405 | if (t in e) return next.value = t, next.done = !1, next; |
| 406 | } |
| 407 | return next.done = !0, next; |
| 408 | }; |
| 409 | }, e.values = values, Context.prototype = { |
| 410 | constructor: Context, |
| 411 | reset: function reset(e) { |
| 412 | if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); |
| 413 | }, |
| 414 | stop: function stop() { |
| 415 | this.done = !0; |
| 416 | var t = this.tryEntries[0].completion; |
| 417 | if ("throw" === t.type) throw t.arg; |
| 418 | return this.rval; |
| 419 | }, |
| 420 | dispatchException: function dispatchException(e) { |
| 421 | if (this.done) throw e; |
| 422 | var r = this; |
| 423 | function handle(n, o) { |
| 424 | return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; |
| 425 | } |
| 426 | for (var o = this.tryEntries.length - 1; o >= 0; --o) { |
| 427 | var i = this.tryEntries[o], |
| 428 | a = i.completion; |
| 429 | if ("root" === i.tryLoc) return handle("end"); |
| 430 | if (i.tryLoc <= this.prev) { |
| 431 | var c = n.call(i, "catchLoc"), |
| 432 | u = n.call(i, "finallyLoc"); |
| 433 | if (c && u) { |
| 434 | if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); |
| 435 | if (this.prev < i.finallyLoc) return handle(i.finallyLoc); |
| 436 | } else if (c) { |
| 437 | if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); |
| 438 | } else { |
| 439 | if (!u) throw new Error("try statement without catch or finally"); |
| 440 | if (this.prev < i.finallyLoc) return handle(i.finallyLoc); |
| 441 | } |
| 442 | } |
| 443 | } |
| 444 | }, |
| 445 | abrupt: function abrupt(t, e) { |
| 446 | for (var r = this.tryEntries.length - 1; r >= 0; --r) { |
| 447 | var o = this.tryEntries[r]; |
| 448 | if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { |
| 449 | var i = o; |
| 450 | break; |
| 451 | } |
| 452 | } |
| 453 | i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); |
| 454 | var a = i ? i.completion : {}; |
| 455 | return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); |
| 456 | }, |
| 457 | complete: function complete(t, e) { |
| 458 | if ("throw" === t.type) throw t.arg; |
| 459 | return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; |
| 460 | }, |
| 461 | finish: function finish(t) { |
| 462 | for (var e = this.tryEntries.length - 1; e >= 0; --e) { |
| 463 | var r = this.tryEntries[e]; |
| 464 | if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; |
| 465 | } |
| 466 | }, |
| 467 | "catch": function _catch(t) { |
| 468 | for (var e = this.tryEntries.length - 1; e >= 0; --e) { |
| 469 | var r = this.tryEntries[e]; |
| 470 | if (r.tryLoc === t) { |
| 471 | var n = r.completion; |
| 472 | if ("throw" === n.type) { |
| 473 | var o = n.arg; |
| 474 | resetTryEntry(r); |
| 475 | } |
| 476 | return o; |
| 477 | } |
| 478 | } |
| 479 | throw new Error("illegal catch attempt"); |
| 480 | }, |
| 481 | delegateYield: function delegateYield(e, r, n) { |
| 482 | return this.delegate = { |
| 483 | iterator: values(e), |
| 484 | resultName: r, |
| 485 | nextLoc: n |
| 486 | }, "next" === this.method && (this.arg = t), y; |
| 487 | } |
| 488 | }, e; |
| 489 | } |
| 490 | module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 491 | |
| 492 | /***/ }), |
| 493 | |
| 494 | /***/ "../node_modules/@babel/runtime/helpers/typeof.js": |
| 495 | /*!********************************************************!*\ |
| 496 | !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! |
| 497 | \********************************************************/ |
| 498 | /***/ ((module) => { |
| 499 | |
| 500 | function _typeof(o) { |
| 501 | "@babel/helpers - typeof"; |
| 502 | |
| 503 | return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { |
| 504 | return typeof o; |
| 505 | } : function (o) { |
| 506 | return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; |
| 507 | }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o); |
| 508 | } |
| 509 | module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 510 | |
| 511 | /***/ }), |
| 512 | |
| 513 | /***/ "../node_modules/@babel/runtime/regenerator/index.js": |
| 514 | /*!***********************************************************!*\ |
| 515 | !*** ../node_modules/@babel/runtime/regenerator/index.js ***! |
| 516 | \***********************************************************/ |
| 517 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 518 | |
| 519 | // TODO(Babel 8): Remove this file. |
| 520 | |
| 521 | var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")(); |
| 522 | module.exports = runtime; |
| 523 | |
| 524 | // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= |
| 525 | try { |
| 526 | regeneratorRuntime = runtime; |
| 527 | } catch (accidentalStrictMode) { |
| 528 | if (typeof globalThis === "object") { |
| 529 | globalThis.regeneratorRuntime = runtime; |
| 530 | } else { |
| 531 | Function("r", "regeneratorRuntime = r")(runtime); |
| 532 | } |
| 533 | } |
| 534 | |
| 535 | |
| 536 | /***/ }) |
| 537 | |
| 538 | /******/ }); |
| 539 | /************************************************************************/ |
| 540 | /******/ // The module cache |
| 541 | /******/ var __webpack_module_cache__ = {}; |
| 542 | /******/ |
| 543 | /******/ // The require function |
| 544 | /******/ function __webpack_require__(moduleId) { |
| 545 | /******/ // Check if module is in cache |
| 546 | /******/ var cachedModule = __webpack_module_cache__[moduleId]; |
| 547 | /******/ if (cachedModule !== undefined) { |
| 548 | /******/ return cachedModule.exports; |
| 549 | /******/ } |
| 550 | /******/ // Create a new module (and put it into the cache) |
| 551 | /******/ var module = __webpack_module_cache__[moduleId] = { |
| 552 | /******/ // no module.id needed |
| 553 | /******/ // no module.loaded needed |
| 554 | /******/ exports: {} |
| 555 | /******/ }; |
| 556 | /******/ |
| 557 | /******/ // Execute the module function |
| 558 | /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| 559 | /******/ |
| 560 | /******/ // Return the exports of the module |
| 561 | /******/ return module.exports; |
| 562 | /******/ } |
| 563 | /******/ |
| 564 | /******/ // expose the modules object (__webpack_modules__) |
| 565 | /******/ __webpack_require__.m = __webpack_modules__; |
| 566 | /******/ |
| 567 | /************************************************************************/ |
| 568 | /******/ /* webpack/runtime/compat get default export */ |
| 569 | /******/ (() => { |
| 570 | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| 571 | /******/ __webpack_require__.n = (module) => { |
| 572 | /******/ var getter = module && module.__esModule ? |
| 573 | /******/ () => (module['default']) : |
| 574 | /******/ () => (module); |
| 575 | /******/ __webpack_require__.d(getter, { a: getter }); |
| 576 | /******/ return getter; |
| 577 | /******/ }; |
| 578 | /******/ })(); |
| 579 | /******/ |
| 580 | /******/ /* webpack/runtime/define property getters */ |
| 581 | /******/ (() => { |
| 582 | /******/ // define getter functions for harmony exports |
| 583 | /******/ __webpack_require__.d = (exports, definition) => { |
| 584 | /******/ for(var key in definition) { |
| 585 | /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { |
| 586 | /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); |
| 587 | /******/ } |
| 588 | /******/ } |
| 589 | /******/ }; |
| 590 | /******/ })(); |
| 591 | /******/ |
| 592 | /******/ /* webpack/runtime/ensure chunk */ |
| 593 | /******/ (() => { |
| 594 | /******/ __webpack_require__.f = {}; |
| 595 | /******/ // This file contains only the entry chunk. |
| 596 | /******/ // The chunk loading function for additional chunks |
| 597 | /******/ __webpack_require__.e = (chunkId) => { |
| 598 | /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { |
| 599 | /******/ __webpack_require__.f[key](chunkId, promises); |
| 600 | /******/ return promises; |
| 601 | /******/ }, [])); |
| 602 | /******/ }; |
| 603 | /******/ })(); |
| 604 | /******/ |
| 605 | /******/ /* webpack/runtime/get javascript chunk filename */ |
| 606 | /******/ (() => { |
| 607 | /******/ // This function allow to reference async chunks |
| 608 | /******/ __webpack_require__.u = (chunkId) => { |
| 609 | /******/ // return url for filenames not based on template |
| 610 | /******/ if (chunkId === "vendors-node_modules_prop-types_index_js-node_modules_babel_runtime_helpers_slicedToArray_js") return "fd6a00ae23a1bc2c6190.bundle.js"; |
| 611 | /******/ if (chunkId === "vendors-node_modules_styled-components_dist_styled-components_browser_esm_js-node_modules_bab-0097ba") return "d9299811bc70ddb82fbf.bundle.js"; |
| 612 | /******/ if (chunkId === "modules_styleguide_assets_js_frontend_app_js") return "152486453d0e39071cdb.bundle.js"; |
| 613 | /******/ // return url for filenames based on template |
| 614 | /******/ return undefined; |
| 615 | /******/ }; |
| 616 | /******/ })(); |
| 617 | /******/ |
| 618 | /******/ /* webpack/runtime/global */ |
| 619 | /******/ (() => { |
| 620 | /******/ __webpack_require__.g = (function() { |
| 621 | /******/ if (typeof globalThis === 'object') return globalThis; |
| 622 | /******/ try { |
| 623 | /******/ return this || new Function('return this')(); |
| 624 | /******/ } catch (e) { |
| 625 | /******/ if (typeof window === 'object') return window; |
| 626 | /******/ } |
| 627 | /******/ })(); |
| 628 | /******/ })(); |
| 629 | /******/ |
| 630 | /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 631 | /******/ (() => { |
| 632 | /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) |
| 633 | /******/ })(); |
| 634 | /******/ |
| 635 | /******/ /* webpack/runtime/load script */ |
| 636 | /******/ (() => { |
| 637 | /******/ var inProgress = {}; |
| 638 | /******/ var dataWebpackPrefix = "elementor:"; |
| 639 | /******/ // loadScript function to load a script via script tag |
| 640 | /******/ __webpack_require__.l = (url, done, key, chunkId) => { |
| 641 | /******/ if(inProgress[url]) { inProgress[url].push(done); return; } |
| 642 | /******/ var script, needAttach; |
| 643 | /******/ if(key !== undefined) { |
| 644 | /******/ var scripts = document.getElementsByTagName("script"); |
| 645 | /******/ for(var i = 0; i < scripts.length; i++) { |
| 646 | /******/ var s = scripts[i]; |
| 647 | /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; } |
| 648 | /******/ } |
| 649 | /******/ } |
| 650 | /******/ if(!script) { |
| 651 | /******/ needAttach = true; |
| 652 | /******/ script = document.createElement('script'); |
| 653 | /******/ |
| 654 | /******/ script.charset = 'utf-8'; |
| 655 | /******/ script.timeout = 120; |
| 656 | /******/ if (__webpack_require__.nc) { |
| 657 | /******/ script.setAttribute("nonce", __webpack_require__.nc); |
| 658 | /******/ } |
| 659 | /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key); |
| 660 | /******/ |
| 661 | /******/ script.src = url; |
| 662 | /******/ } |
| 663 | /******/ inProgress[url] = [done]; |
| 664 | /******/ var onScriptComplete = (prev, event) => { |
| 665 | /******/ // avoid mem leaks in IE. |
| 666 | /******/ script.onerror = script.onload = null; |
| 667 | /******/ clearTimeout(timeout); |
| 668 | /******/ var doneFns = inProgress[url]; |
| 669 | /******/ delete inProgress[url]; |
| 670 | /******/ script.parentNode && script.parentNode.removeChild(script); |
| 671 | /******/ doneFns && doneFns.forEach((fn) => (fn(event))); |
| 672 | /******/ if(prev) return prev(event); |
| 673 | /******/ } |
| 674 | /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); |
| 675 | /******/ script.onerror = onScriptComplete.bind(null, script.onerror); |
| 676 | /******/ script.onload = onScriptComplete.bind(null, script.onload); |
| 677 | /******/ needAttach && document.head.appendChild(script); |
| 678 | /******/ }; |
| 679 | /******/ })(); |
| 680 | /******/ |
| 681 | /******/ /* webpack/runtime/make namespace object */ |
| 682 | /******/ (() => { |
| 683 | /******/ // define __esModule on exports |
| 684 | /******/ __webpack_require__.r = (exports) => { |
| 685 | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 686 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 687 | /******/ } |
| 688 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 689 | /******/ }; |
| 690 | /******/ })(); |
| 691 | /******/ |
| 692 | /******/ /* webpack/runtime/publicPath */ |
| 693 | /******/ (() => { |
| 694 | /******/ var scriptUrl; |
| 695 | /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + ""; |
| 696 | /******/ var document = __webpack_require__.g.document; |
| 697 | /******/ if (!scriptUrl && document) { |
| 698 | /******/ if (document.currentScript) |
| 699 | /******/ scriptUrl = document.currentScript.src; |
| 700 | /******/ if (!scriptUrl) { |
| 701 | /******/ var scripts = document.getElementsByTagName("script"); |
| 702 | /******/ if(scripts.length) { |
| 703 | /******/ var i = scripts.length - 1; |
| 704 | /******/ while (i > -1 && !scriptUrl) scriptUrl = scripts[i--].src; |
| 705 | /******/ } |
| 706 | /******/ } |
| 707 | /******/ } |
| 708 | /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration |
| 709 | /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic. |
| 710 | /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser"); |
| 711 | /******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/"); |
| 712 | /******/ __webpack_require__.p = scriptUrl; |
| 713 | /******/ })(); |
| 714 | /******/ |
| 715 | /******/ /* webpack/runtime/jsonp chunk loading */ |
| 716 | /******/ (() => { |
| 717 | /******/ // no baseURI |
| 718 | /******/ |
| 719 | /******/ // object to store loaded and loading chunks |
| 720 | /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched |
| 721 | /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded |
| 722 | /******/ var installedChunks = { |
| 723 | /******/ "styleguide-app-initiator": 0 |
| 724 | /******/ }; |
| 725 | /******/ |
| 726 | /******/ __webpack_require__.f.j = (chunkId, promises) => { |
| 727 | /******/ // JSONP chunk loading for javascript |
| 728 | /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; |
| 729 | /******/ if(installedChunkData !== 0) { // 0 means "already installed". |
| 730 | /******/ |
| 731 | /******/ // a Promise means "currently loading". |
| 732 | /******/ if(installedChunkData) { |
| 733 | /******/ promises.push(installedChunkData[2]); |
| 734 | /******/ } else { |
| 735 | /******/ if(true) { // all chunks have JS |
| 736 | /******/ // setup Promise in chunk cache |
| 737 | /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); |
| 738 | /******/ promises.push(installedChunkData[2] = promise); |
| 739 | /******/ |
| 740 | /******/ // start chunk loading |
| 741 | /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); |
| 742 | /******/ // create error before stack unwound to get useful stacktrace later |
| 743 | /******/ var error = new Error(); |
| 744 | /******/ var loadingEnded = (event) => { |
| 745 | /******/ if(__webpack_require__.o(installedChunks, chunkId)) { |
| 746 | /******/ installedChunkData = installedChunks[chunkId]; |
| 747 | /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; |
| 748 | /******/ if(installedChunkData) { |
| 749 | /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); |
| 750 | /******/ var realSrc = event && event.target && event.target.src; |
| 751 | /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; |
| 752 | /******/ error.name = 'ChunkLoadError'; |
| 753 | /******/ error.type = errorType; |
| 754 | /******/ error.request = realSrc; |
| 755 | /******/ installedChunkData[1](error); |
| 756 | /******/ } |
| 757 | /******/ } |
| 758 | /******/ }; |
| 759 | /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); |
| 760 | /******/ } |
| 761 | /******/ } |
| 762 | /******/ } |
| 763 | /******/ }; |
| 764 | /******/ |
| 765 | /******/ // no prefetching |
| 766 | /******/ |
| 767 | /******/ // no preloaded |
| 768 | /******/ |
| 769 | /******/ // no HMR |
| 770 | /******/ |
| 771 | /******/ // no HMR manifest |
| 772 | /******/ |
| 773 | /******/ // no on chunks loaded |
| 774 | /******/ |
| 775 | /******/ // install a JSONP callback for chunk loading |
| 776 | /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { |
| 777 | /******/ var [chunkIds, moreModules, runtime] = data; |
| 778 | /******/ // add "moreModules" to the modules object, |
| 779 | /******/ // then flag all "chunkIds" as loaded and fire callback |
| 780 | /******/ var moduleId, chunkId, i = 0; |
| 781 | /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { |
| 782 | /******/ for(moduleId in moreModules) { |
| 783 | /******/ if(__webpack_require__.o(moreModules, moduleId)) { |
| 784 | /******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; |
| 785 | /******/ } |
| 786 | /******/ } |
| 787 | /******/ if(runtime) var result = runtime(__webpack_require__); |
| 788 | /******/ } |
| 789 | /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); |
| 790 | /******/ for(;i < chunkIds.length; i++) { |
| 791 | /******/ chunkId = chunkIds[i]; |
| 792 | /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { |
| 793 | /******/ installedChunks[chunkId][0](); |
| 794 | /******/ } |
| 795 | /******/ installedChunks[chunkId] = 0; |
| 796 | /******/ } |
| 797 | /******/ |
| 798 | /******/ } |
| 799 | /******/ |
| 800 | /******/ var chunkLoadingGlobal = self["webpackChunkelementor"] = self["webpackChunkelementor"] || []; |
| 801 | /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); |
| 802 | /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); |
| 803 | /******/ })(); |
| 804 | /******/ |
| 805 | /******/ /* webpack/runtime/nonce */ |
| 806 | /******/ (() => { |
| 807 | /******/ __webpack_require__.nc = undefined; |
| 808 | /******/ })(); |
| 809 | /******/ |
| 810 | /************************************************************************/ |
| 811 | var __webpack_exports__ = {}; |
| 812 | // This entry need to be wrapped in an IIFE because it need to be in strict mode. |
| 813 | (() => { |
| 814 | "use strict"; |
| 815 | /*!*******************************************************************!*\ |
| 816 | !*** ../modules/styleguide/assets/js/styleguide-app-initiator.js ***! |
| 817 | \*******************************************************************/ |
| 818 | |
| 819 | |
| 820 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 821 | var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react")); |
| 822 | var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js")); |
| 823 | var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js")); |
| 824 | var _react2 = _interopRequireDefault(__webpack_require__(/*! elementor-utils/react */ "../assets/dev/js/utils/react.js")); |
| 825 | (function () { |
| 826 | var unmountCallback; |
| 827 | var styleguideBodyClass = 'e-styleguide-shown'; |
| 828 | |
| 829 | /** |
| 830 | * Add the app into the page. |
| 831 | */ |
| 832 | function mount() { |
| 833 | return _mount.apply(this, arguments); |
| 834 | } |
| 835 | /** |
| 836 | * Remove the app from the page. |
| 837 | */ |
| 838 | function _mount() { |
| 839 | _mount = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { |
| 840 | var _yield$import, App, _ReactUtils$render, unmountUtil; |
| 841 | return _regenerator.default.wrap(function _callee$(_context) { |
| 842 | while (1) switch (_context.prev = _context.next) { |
| 843 | case 0: |
| 844 | _context.next = 2; |
| 845 | return Promise.all(/*! import() */[__webpack_require__.e("vendors-node_modules_prop-types_index_js-node_modules_babel_runtime_helpers_slicedToArray_js"), __webpack_require__.e("vendors-node_modules_styled-components_dist_styled-components_browser_esm_js-node_modules_bab-0097ba"), __webpack_require__.e("modules_styleguide_assets_js_frontend_app_js")]).then(__webpack_require__.bind(__webpack_require__, /*! ./frontend/app */ "../modules/styleguide/assets/js/frontend/app.js")); |
| 846 | case 2: |
| 847 | _yield$import = _context.sent; |
| 848 | App = _yield$import.default; |
| 849 | document.body.classList.add(styleguideBodyClass); |
| 850 | _ReactUtils$render = _react2.default.render( /*#__PURE__*/_react.default.createElement(App, null), getStyleguideWidget()), unmountUtil = _ReactUtils$render.unmount; |
| 851 | unmountCallback = unmountUtil; |
| 852 | case 7: |
| 853 | case "end": |
| 854 | return _context.stop(); |
| 855 | } |
| 856 | }, _callee); |
| 857 | })); |
| 858 | return _mount.apply(this, arguments); |
| 859 | } |
| 860 | function unmount() { |
| 861 | unmountCallback(); |
| 862 | document.body.classList.remove(styleguideBodyClass); |
| 863 | } |
| 864 | |
| 865 | /** |
| 866 | * Get the Styleguide widget that serves as the App container. |
| 867 | * Returns null if the widget does not exist. |
| 868 | * |
| 869 | * @return {Object|null} |
| 870 | */ |
| 871 | function getStyleguideWidget() { |
| 872 | return document.querySelector('.dialog-styleguide-message'); |
| 873 | } |
| 874 | |
| 875 | /** |
| 876 | * Listen to an event from the Styleguide e-component to mount or unmount the app. |
| 877 | */ |
| 878 | window.addEventListener('message', function (event) { |
| 879 | var _event$data, _event$data$name; |
| 880 | if (!((_event$data = event.data) !== null && _event$data !== void 0 && (_event$data$name = _event$data.name) !== null && _event$data$name !== void 0 && _event$data$name.startsWith('elementor/styleguide/preview')) || !getStyleguideWidget()) { |
| 881 | return; |
| 882 | } |
| 883 | switch (event.data.name) { |
| 884 | case 'elementor/styleguide/preview/show': |
| 885 | mount(); |
| 886 | break; |
| 887 | case 'elementor/styleguide/preview/hide': |
| 888 | unmount(); |
| 889 | break; |
| 890 | } |
| 891 | }); |
| 892 | })(); |
| 893 | })(); |
| 894 | |
| 895 | /******/ })() |
| 896 | ; |
| 897 | //# sourceMappingURL=styleguide-app-initiator.js.map |