PATH:
home
/
lab2454c
/
carbonbullionexchange.com
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/*! elementor - v3.9.2 - 21-12-2022 */ "use strict"; (self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["container"],{ /***/ "../assets/dev/js/frontend/handlers/container/handles-position.js": /*!************************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/container/handles-position.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; /** * TODO: Try to merge with `section/handles-position.js` and create a generic solution using `.elementor-element`. */ class HandlesPosition extends elementorModules.frontend.handlers.Base { isActive() { return elementorFrontend.isEditMode(); } isFirstContainer() { return this.$element[0] === document.querySelector('.elementor-edit-mode .e-con:first-child'); } isOverflowHidden() { return 'hidden' === this.$element.css('overflow'); } getOffset() { if ('body' === elementor.config.document.container) { return this.$element.offset().top; } const $container = jQuery(elementor.config.document.container); return this.$element.offset().top - $container.offset().top; } setHandlesPosition() { const document = elementor.documents.getCurrent(); if (!document || !document.container.isEditable()) { return; } const isOverflowHidden = this.isOverflowHidden(); if (!isOverflowHidden && !this.isFirstContainer()) { return; } const offset = isOverflowHidden ? 0 : this.getOffset(), $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings'), insideHandleClass = 'e-handles-inside'; if (offset < 25) { this.$element.addClass(insideHandleClass); if (offset < -5) { $handlesElement.css('top', -offset); } else { $handlesElement.css('top', ''); } } else { this.$element.removeClass(insideHandleClass); } } onInit() { if (!this.isActive()) { return; } this.setHandlesPosition(); this.$element.on('mouseenter', this.setHandlesPosition.bind(this)); } } exports["default"] = HandlesPosition; /***/ }), /***/ "../assets/dev/js/frontend/handlers/container/shapes.js": /*!**************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/container/shapes.js ***! \**************************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; // TODO: Copied from `section/shapes.js`. class Shapes extends elementorModules.frontend.handlers.Base { getDefaultSettings() { const contentWidth = this.getElementSettings('content_width'), container = 'boxed' === contentWidth ? '> .e-con-inner > .elementor-shape-%s' : '> .elementor-shape-%s'; return { selectors: { container }, svgURL: elementorFrontend.config.urls.assets + 'shapes/' }; } getDefaultElements() { const elements = {}, selectors = this.getSettings('selectors'); elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top')); elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom')); return elements; } isActive() { return elementorFrontend.isEditMode(); } getSvgURL(shapeType, fileName) { let svgURL = this.getSettings('svgURL') + fileName + '.svg'; if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) { svgURL = elementor.config.additional_shapes[shapeType]; if (-1 < fileName.indexOf('-negative')) { svgURL = svgURL.replace('.svg', '-negative.svg'); } } return svgURL; } buildSVG(side) { const baseSettingKey = 'shape_divider_' + side, shapeType = this.getElementSettings(baseSettingKey), $svgContainer = this.elements['$' + side + 'Container']; $svgContainer.attr('data-shape', shapeType); if (!shapeType) { $svgContainer.empty(); // Shape-divider set to 'none' return; } let fileName = shapeType; if (this.getElementSettings(baseSettingKey + '_negative')) { fileName += '-negative'; } const svgURL = this.getSvgURL(shapeType, fileName); jQuery.get(svgURL, data => { $svgContainer.empty().append(data.childNodes[0]); }); this.setNegative(side); } setNegative(side) { this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative')); } onInit() { if (!this.isActive(this.getSettings())) { return; } super.onInit(...arguments); ['top', 'bottom'].forEach(side => { if (this.getElementSettings('shape_divider_' + side)) { this.buildSVG(side); } }); } onElementChange(propertyName) { const shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/); if (shapeChange) { this.buildSVG(shapeChange[1]); return; } const negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/); if (negativeChange) { this.buildSVG(negativeChange[1]); this.setNegative(negativeChange[1]); } } } exports["default"] = Shapes; /***/ }) }]); //# sourceMappingURL=container.1defadbf74ae3af5a41b.bundle.js.map
[-] frontend.min.js
[edit]
[-] editor.js
[edit]
[-] alert.cbc2a0fee74ee3ed0419.bundle.min.js
[edit]
[-] container.1defadbf74ae3af5a41b.bundle.js
[edit]
[-] admin-feedback.min.js
[edit]
[-] container.0fe1d3abe4a4fd76f033.bundle.min.js
[edit]
[-] frontend.js
[edit]
[-] container-converter.min.js
[edit]
[-] kit-elements-defaults-editor.js
[edit]
[-] notes.min.js
[edit]
[-] tabs.b358a47f052794b89da0.bundle.js
[edit]
[-] progress.ca55d33bb06cee4e6f02.bundle.min.js
[edit]
[-] video.d86bfd0676264945e968.bundle.min.js
[edit]
[-] text-path.9b80ff9318a4cb25e3b8.bundle.js
[edit]
[-] onboarding.498e7d15c1dbfc231994.bundle.min.js
[edit]
[-] admin-top-bar.min.js
[edit]
[-] tabs.c2af5be7f9cb3cdcf3d5.bundle.min.js
[edit]
[-] import-export-admin.min.js
[edit]
[+]
..
[-] admin.js
[edit]
[-] wp-audio.c312891b47caa5e1facb.bundle.js
[edit]
[-] admin-modules.js
[edit]
[-] admin-top-bar.js
[edit]
[-] editor-modules.min.js
[edit]
[-] gutenberg.min.js
[edit]
[-] app.min.js
[edit]
[-] app.js
[edit]
[-] kit-library.8a5a7f84827b7031a821.bundle.js
[edit]
[-] editor.min.js.LICENSE.txt
[edit]
[-] preloaded-modules.min.js
[edit]
[-] preloaded-modules.js
[edit]
[-] kit-elements-defaults-editor.min.js
[edit]
[-] gutenberg.js
[edit]
[-] dev-tools.js
[edit]
[-] editor-document.js
[edit]
[-] text-path.b1be1b4899a9ff20217b.bundle.min.js
[edit]
[-] app-packages.js
[edit]
[-] common.min.js
[edit]
[-] progress.76cabc81514569f4de82.bundle.js
[edit]
[-] web-cli.min.js
[edit]
[-] common-modules.min.js
[edit]
[-] common-modules.js
[edit]
[-] frontend-modules.min.js
[edit]
[-] text-editor.26e9c597fc0c1765a519.bundle.js
[edit]
[-] common.js
[edit]
[-] new-template.min.js
[edit]
[-] app-loader.js
[edit]
[-] editor.min.js
[edit]
[-] elementor-admin-bar.js
[edit]
[-] kit-library.1d4ce02c8ea9acb3ed7f.bundle.min.js
[edit]
[-] kit-elements-defaults-editor.min.js.LICENSE.txt
[edit]
[-] elementor-admin-bar.min.js
[edit]
[-] video.9fcf6f0b982bacc93b9e.bundle.js
[edit]
[-] toggle.31881477c45ff5cf9d4d.bundle.min.js
[edit]
[-] frontend-modules.js
[edit]
[-] webpack.runtime.min.js
[edit]
[-] app-loader.min.js
[edit]
[-] counter.76b7d2e97fab58558ee8.bundle.js
[edit]
[-] lightbox.062e482fd73fca037d19.bundle.min.js
[edit]
[-] web-cli.js
[edit]
[-] webpack.runtime.js
[edit]
[-] editor-modules.js
[edit]
[-] toggle.275b387e0126af4abc73.bundle.js
[edit]
[-] counter.02cef29c589e742d4c8c.bundle.min.js
[edit]
[-] new-template.js
[edit]
[-] app.min.js.LICENSE.txt
[edit]
[-] admin-feedback.js
[edit]
[-] lightbox.7d480a6e916905e5fb93.bundle.js
[edit]
[-] accordion.8799675460c73eb48972.bundle.min.js
[edit]
[-] alert.fab41b1ce9a2329c8779.bundle.js
[edit]
[-] editor-document.min.js
[edit]
[-] beta-tester.js
[edit]
[-] common.min.js.LICENSE.txt
[edit]
[-] image-carousel.68bbb96593f8c6ecf166.bundle.js
[edit]
[-] accordion.2e5c3409e658db9d3c3a.bundle.js
[edit]
[-] web-cli.min.js.LICENSE.txt
[edit]
[-] image-carousel.e02695895b33b77d89de.bundle.min.js
[edit]
[-] app-packages.min.js
[edit]
[-] text-editor.2c35aafbe5bf0e127950.bundle.min.js
[edit]
[-] admin.min.js
[edit]
[-] admin-modules.min.js
[edit]
[-] container-converter.js
[edit]
[-] 1bef795bdeaafc779b19.bundle.min.js
[edit]
[-] import-export-admin.js
[edit]
[-] notes.js
[edit]
[-] 62aed6374b1561fb5fd8.bundle.js
[edit]
[-] wp-audio.75f0ced143febb8cd31a.bundle.min.js
[edit]
[-] dev-tools.min.js
[edit]
[-] onboarding.702a794b0a857e675597.bundle.js
[edit]
[-] beta-tester.min.js
[edit]