accordion.1840403ce81de408c749.bundle.min.js
4 years ago
accordion.a037e351fac33e9c9dfc.bundle.js
4 years ago
admin-feedback.js
4 years ago
admin-feedback.min.js
4 years ago
admin-modules.js
4 years ago
admin-modules.min.js
4 years ago
admin-top-bar.js
4 years ago
admin-top-bar.min.js
4 years ago
admin.js
4 years ago
admin.min.js
4 years ago
alert.85332a4bfb582d516461.bundle.js
4 years ago
alert.cbc2a0fee74ee3ed0419.bundle.min.js
4 years ago
app-loader.js
4 years ago
app-loader.min.js
4 years ago
app-packages.js
4 years ago
app-packages.min.js
4 years ago
app.js
4 years ago
app.min.js
4 years ago
app.min.js.LICENSE.txt
4 years ago
b5be57139d4edd0d5633.bundle.js
4 years ago
beta-tester.js
4 years ago
beta-tester.min.js
4 years ago
common-modules.js
4 years ago
common-modules.min.js
4 years ago
common.js
4 years ago
common.min.js
4 years ago
container-converter.js
4 years ago
container-converter.min.js
4 years ago
container.e026b16a99db8a3987c9.bundle.min.js
4 years ago
container.f3a37a5bf3c787312748.bundle.js
4 years ago
counter.02cef29c589e742d4c8c.bundle.min.js
4 years ago
counter.c75eea9549b9f8026ad8.bundle.js
4 years ago
editor-document.js
4 years ago
editor-document.min.js
4 years ago
editor-modules.js
4 years ago
editor-modules.min.js
4 years ago
editor.js
4 years ago
editor.min.js
4 years ago
elementor-admin-bar.js
4 years ago
elementor-admin-bar.min.js
4 years ago
fe4cf752908671676148.bundle.min.js
4 years ago
frontend-modules.js
4 years ago
frontend-modules.min.js
4 years ago
frontend.js
4 years ago
frontend.min.js
4 years ago
gutenberg.js
4 years ago
gutenberg.min.js
4 years ago
image-carousel.b69ea9450ea7e942e017.bundle.js
4 years ago
image-carousel.db284b09c0f8a8f1c44d.bundle.min.js
4 years ago
kit-library.4a93dd22359db6c3e7f9.bundle.min.js
4 years ago
kit-library.4b8e9bb062f992326c78.bundle.js
4 years ago
lightbox.2b2c155d6ec60974d8c4.bundle.min.js
4 years ago
lightbox.fe7d7981b2527f42f605.bundle.js
4 years ago
new-template.js
4 years ago
new-template.min.js
4 years ago
onboarding.6a289d52dcf568139a7d.bundle.min.js
4 years ago
onboarding.eff243c8052ee52943bc.bundle.js
4 years ago
preloaded-modules.js
4 years ago
preloaded-modules.min.js
4 years ago
progress.62211c8098d91fc19c5f.bundle.js
4 years ago
progress.ca55d33bb06cee4e6f02.bundle.min.js
4 years ago
tabs.37d5b4877cdb51ea91e9.bundle.min.js
4 years ago
tabs.973c14c2ee401e66e192.bundle.js
4 years ago
text-editor.289ae80d76f0c5abea44.bundle.min.js
4 years ago
text-editor.533215eb763ebfb3a70c.bundle.js
4 years ago
text-path.15d47ed8e5e3031f9610.bundle.js
4 years ago
text-path.9f18ebdea5ac00d653e5.bundle.min.js
4 years ago
toggle.56f8ace4b1e830c02fc5.bundle.min.js
4 years ago
toggle.66e1aea86557ee6b7fd9.bundle.js
4 years ago
video.255c225d20f04576d1bf.bundle.js
4 years ago
video.d86bfd0676264945e968.bundle.min.js
4 years ago
web-cli.js
4 years ago
web-cli.min.js
4 years ago
webpack.runtime.js
4 years ago
webpack.runtime.min.js
4 years ago
wp-audio.75f0ced143febb8cd31a.bundle.min.js
4 years ago
wp-audio.8d458e51b4543ed99c04.bundle.js
4 years ago
container.f3a37a5bf3c787312748.bundle.js
203 lines
| 1 | /*! elementor - v3.5.6 - 21-03-2022 */ |
| 2 | "use strict"; |
| 3 | (self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["container"],{ |
| 4 | |
| 5 | /***/ "../assets/dev/js/frontend/handlers/container/handles-position.js": |
| 6 | /*!************************************************************************!*\ |
| 7 | !*** ../assets/dev/js/frontend/handlers/container/handles-position.js ***! |
| 8 | \************************************************************************/ |
| 9 | /***/ ((__unused_webpack_module, exports) => { |
| 10 | |
| 11 | |
| 12 | |
| 13 | Object.defineProperty(exports, "__esModule", ({ |
| 14 | value: true |
| 15 | })); |
| 16 | exports["default"] = void 0; |
| 17 | |
| 18 | /** |
| 19 | * TODO: Try to merge with `section/handles-position.js` and create a generic solution using `.elementor-element`. |
| 20 | */ |
| 21 | class HandlesPosition extends elementorModules.frontend.handlers.Base { |
| 22 | isActive() { |
| 23 | return elementorFrontend.isEditMode(); |
| 24 | } |
| 25 | |
| 26 | isFirstContainer() { |
| 27 | return this.$element[0] === document.querySelector('.elementor-edit-mode .e-container:first-child'); |
| 28 | } |
| 29 | |
| 30 | isOverflowHidden() { |
| 31 | return 'hidden' === this.$element.css('overflow'); |
| 32 | } |
| 33 | |
| 34 | getOffset() { |
| 35 | if ('body' === elementor.config.document.container) { |
| 36 | return this.$element.offset().top; |
| 37 | } |
| 38 | |
| 39 | const $container = jQuery(elementor.config.document.container); |
| 40 | return this.$element.offset().top - $container.offset().top; |
| 41 | } |
| 42 | |
| 43 | setHandlesPosition() { |
| 44 | const document = elementor.documents.getCurrent(); |
| 45 | |
| 46 | if (!document || !document.container.isEditable()) { |
| 47 | return; |
| 48 | } |
| 49 | |
| 50 | const isOverflowHidden = this.isOverflowHidden(); |
| 51 | |
| 52 | if (!isOverflowHidden && !this.isFirstContainer()) { |
| 53 | return; |
| 54 | } |
| 55 | |
| 56 | const offset = isOverflowHidden ? 0 : this.getOffset(), |
| 57 | $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings'), |
| 58 | insideHandleClass = 'e-handles-inside'; |
| 59 | |
| 60 | if (offset < 25) { |
| 61 | this.$element.addClass(insideHandleClass); |
| 62 | |
| 63 | if (offset < -5) { |
| 64 | $handlesElement.css('top', -offset); |
| 65 | } else { |
| 66 | $handlesElement.css('top', ''); |
| 67 | } |
| 68 | } else { |
| 69 | this.$element.removeClass(insideHandleClass); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | onInit() { |
| 74 | if (!this.isActive()) { |
| 75 | return; |
| 76 | } |
| 77 | |
| 78 | this.setHandlesPosition(); |
| 79 | this.$element.on('mouseenter', this.setHandlesPosition.bind(this)); |
| 80 | } |
| 81 | |
| 82 | } |
| 83 | |
| 84 | exports["default"] = HandlesPosition; |
| 85 | |
| 86 | /***/ }), |
| 87 | |
| 88 | /***/ "../assets/dev/js/frontend/handlers/container/shapes.js": |
| 89 | /*!**************************************************************!*\ |
| 90 | !*** ../assets/dev/js/frontend/handlers/container/shapes.js ***! |
| 91 | \**************************************************************/ |
| 92 | /***/ ((__unused_webpack_module, exports) => { |
| 93 | |
| 94 | |
| 95 | |
| 96 | Object.defineProperty(exports, "__esModule", ({ |
| 97 | value: true |
| 98 | })); |
| 99 | exports["default"] = void 0; |
| 100 | |
| 101 | // TODO: Copied from `section/shapes.js`. |
| 102 | class Shapes extends elementorModules.frontend.handlers.Base { |
| 103 | getDefaultSettings() { |
| 104 | return { |
| 105 | selectors: { |
| 106 | container: '> .elementor-shape-%s' |
| 107 | }, |
| 108 | svgURL: elementorFrontend.config.urls.assets + 'shapes/' |
| 109 | }; |
| 110 | } |
| 111 | |
| 112 | getDefaultElements() { |
| 113 | const elements = {}, |
| 114 | selectors = this.getSettings('selectors'); |
| 115 | elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top')); |
| 116 | elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom')); |
| 117 | return elements; |
| 118 | } |
| 119 | |
| 120 | isActive() { |
| 121 | return elementorFrontend.isEditMode(); |
| 122 | } |
| 123 | |
| 124 | getSvgURL(shapeType, fileName) { |
| 125 | let svgURL = this.getSettings('svgURL') + fileName + '.svg'; |
| 126 | |
| 127 | if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) { |
| 128 | svgURL = elementor.config.additional_shapes[shapeType]; |
| 129 | |
| 130 | if (-1 < fileName.indexOf('-negative')) { |
| 131 | svgURL = svgURL.replace('.svg', '-negative.svg'); |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | return svgURL; |
| 136 | } |
| 137 | |
| 138 | buildSVG(side) { |
| 139 | const baseSettingKey = 'shape_divider_' + side, |
| 140 | shapeType = this.getElementSettings(baseSettingKey), |
| 141 | $svgContainer = this.elements['$' + side + 'Container']; |
| 142 | $svgContainer.attr('data-shape', shapeType); |
| 143 | |
| 144 | if (!shapeType) { |
| 145 | $svgContainer.empty(); // Shape-divider set to 'none' |
| 146 | |
| 147 | return; |
| 148 | } |
| 149 | |
| 150 | let fileName = shapeType; |
| 151 | |
| 152 | if (this.getElementSettings(baseSettingKey + '_negative')) { |
| 153 | fileName += '-negative'; |
| 154 | } |
| 155 | |
| 156 | const svgURL = this.getSvgURL(shapeType, fileName); |
| 157 | jQuery.get(svgURL, data => { |
| 158 | $svgContainer.empty().append(data.childNodes[0]); |
| 159 | }); |
| 160 | this.setNegative(side); |
| 161 | } |
| 162 | |
| 163 | setNegative(side) { |
| 164 | this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative')); |
| 165 | } |
| 166 | |
| 167 | onInit(...args) { |
| 168 | if (!this.isActive(this.getSettings())) { |
| 169 | return; |
| 170 | } |
| 171 | |
| 172 | super.onInit(...args); |
| 173 | ['top', 'bottom'].forEach(side => { |
| 174 | if (this.getElementSettings('shape_divider_' + side)) { |
| 175 | this.buildSVG(side); |
| 176 | } |
| 177 | }); |
| 178 | } |
| 179 | |
| 180 | onElementChange(propertyName) { |
| 181 | const shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/); |
| 182 | |
| 183 | if (shapeChange) { |
| 184 | this.buildSVG(shapeChange[1]); |
| 185 | return; |
| 186 | } |
| 187 | |
| 188 | const negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/); |
| 189 | |
| 190 | if (negativeChange) { |
| 191 | this.buildSVG(negativeChange[1]); |
| 192 | this.setNegative(negativeChange[1]); |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | } |
| 197 | |
| 198 | exports["default"] = Shapes; |
| 199 | |
| 200 | /***/ }) |
| 201 | |
| 202 | }]); |
| 203 | //# sourceMappingURL=container.f3a37a5bf3c787312748.bundle.js.map |