PATH:
home
/
centosnipponia
/
public_html
/
downloads
/
wp-content
/
plugins
/
elementor-pro
/
assets
/
js
/*! elementor-pro - v4.0.0 - 28-04-2026 */ "use strict"; (self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["woocommerce-cart"],{ /***/ "../modules/woocommerce/assets/js/frontend/handlers/base.js" /*!******************************************************************!*\ !*** ../modules/woocommerce/assets/js/frontend/handlers/base.js ***! \******************************************************************/ (__unused_webpack_module, exports) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class Base extends elementorModules.frontend.handlers.Base { getDefaultSettings() { return { selectors: { stickyRightColumn: '.e-sticky-right-column' }, classes: { stickyRightColumnActive: 'e-sticky-right-column--active' } }; } getDefaultElements() { const selectors = this.getSettings('selectors'); return { $stickyRightColumn: this.$element.find(selectors.stickyRightColumn) }; } bindEvents() { // Add our wrapper class around the select2 whenever it is opened. elementorFrontend.elements.$document.on('select2:open', event => { this.addSelect2Wrapper(event); }); } addSelect2Wrapper(event) { // The select element is recaptured every time because the markup can refresh const selectElement = jQuery(event.target).data('select2'); if (selectElement.$dropdown) { selectElement.$dropdown.addClass('e-woo-select2-wrapper'); } } isStickyRightColumnActive() { const classes = this.getSettings('classes'); return this.elements.$stickyRightColumn.hasClass(classes.stickyRightColumnActive); } activateStickyRightColumn() { const elementSettings = this.getElementSettings(), $wpAdminBar = elementorFrontend.elements.$wpAdminBar, classes = this.getSettings('classes'); let stickyOptionsOffset = elementSettings.sticky_right_column_offset || 0; if ($wpAdminBar.length && 'fixed' === $wpAdminBar.css('position')) { stickyOptionsOffset += $wpAdminBar.height(); } if ('yes' === this.getElementSettings('sticky_right_column')) { this.elements.$stickyRightColumn.addClass(classes.stickyRightColumnActive); this.elements.$stickyRightColumn.css('top', stickyOptionsOffset + 'px'); } } deactivateStickyRightColumn() { if (!this.isStickyRightColumnActive()) { return; } const classes = this.getSettings('classes'); this.elements.$stickyRightColumn.removeClass(classes.stickyRightColumnActive); } /** * Activates the sticky column * * @return {void} */ toggleStickyRightColumn() { if (!this.getElementSettings('sticky_right_column')) { this.deactivateStickyRightColumn(); return; } if (!this.isStickyRightColumnActive()) { this.activateStickyRightColumn(); } } equalizeElementHeight($element) { if ($element.length) { $element.removeAttr('style'); // First remove the custom height we added so that the new height can be re-calculated according to the content let maxHeight = 0; $element.each((index, element) => { maxHeight = Math.max(maxHeight, element.offsetHeight); }); if (0 < maxHeight) { $element.css({ height: maxHeight + 'px' }); } } } /** * WooCommerce prints the Purchase Note separated from the product name by a border and padding. * In Elementor's Order Summary design, the product name and purchase note are displayed un-separated. * To achieve this design, it is necessary to access the Product Name line before the Purchase Note line to adjust * its padding. Since this cannot be achieved in CSS, it is done in this method. * * @param {Object} $element * * @return {void} */ removePaddingBetweenPurchaseNote($element) { if ($element) { $element.each((index, element) => { jQuery(element).prev().children('td').addClass('product-purchase-note-is-below'); }); } } /** * `elementorPageId` and `elementorWidgetId` are added to the url in the `_wp_http_referer` input which is then * received when WooCommerce does its cart and checkout ajax requests e.g `update_order_review` and `update_cart`. * These query strings are extracted from the url and used in our `load_widget_before_wc_ajax` method. */ updateWpReferers() { const selectors = this.getSettings('selectors'), wpHttpRefererInputs = this.$element.find(selectors.wpHttpRefererInputs), url = new URL(document.location); url.searchParams.set('elementorPageId', elementorFrontend.config.post.id); url.searchParams.set('elementorWidgetId', this.getID()); wpHttpRefererInputs.attr('value', url); } } exports["default"] = Base; /***/ }, /***/ "../modules/woocommerce/assets/js/frontend/handlers/cart.js" /*!******************************************************************!*\ !*** ../modules/woocommerce/assets/js/frontend/handlers/cart.js ***! \******************************************************************/ (__unused_webpack_module, exports, __webpack_require__) { var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; var _base = _interopRequireDefault(__webpack_require__(/*! ./base */ "../modules/woocommerce/assets/js/frontend/handlers/base.js")); class Cart extends _base.default { getDefaultSettings(...args) { const defaultSettings = super.getDefaultSettings(...args); return { selectors: { ...defaultSettings.selectors, shippingForm: '.shipping-calculator-form', quantityInput: '.qty', updateCartButton: 'button[name=update_cart]', wpHttpRefererInputs: '[name=_wp_http_referer]', hiddenInput: 'input[type=hidden]', productRemove: '.product-remove a' }, classes: defaultSettings.classes, ajaxUrl: elementorProFrontend.config.ajaxurl }; } getDefaultElements(...args) { const selectors = this.getSettings('selectors'); return { ...super.getDefaultElements(...args), $shippingForm: this.$element.find(selectors.shippingForm), $stickyColumn: this.$element.find(selectors.stickyColumn), $hiddenInput: this.$element.find(selectors.hiddenInput) }; } bindEvents() { super.bindEvents(); const selectors = this.getSettings('selectors'); elementorFrontend.elements.$body.on('wc_fragments_refreshed', () => this.applyButtonsHoverAnimation()); if ('yes' === this.getElementSettings('update_cart_automatically')) { this.$element.on('input', selectors.quantityInput, () => this.updateCart()); } elementorFrontend.elements.$body.on('wc_fragments_loaded wc_fragments_refreshed', () => { this.updateWpReferers(); if (elementorFrontend.isEditMode() || elementorFrontend.isWPPreviewMode()) { this.disableActions(); } }); elementorFrontend.elements.$body.on('added_to_cart', function (e, data) { // We do not want the page to reload in the Editor after we triggered the 'added_to_cart' event. if (data.e_manually_triggered) { return false; } }); } onInit(...args) { super.onInit(...args); this.toggleStickyRightColumn(); this.hideHiddenInputsParentElements(); if (elementorFrontend.isEditMode()) { this.elements.$shippingForm.show(); } this.applyButtonsHoverAnimation(); this.updateWpReferers(); if (elementorFrontend.isEditMode() || elementorFrontend.isWPPreviewMode()) { this.disableActions(); } } /** * Using the WooCommerce Cart controls (quantity, remove product) in the editor will cause the cart to disappear. * This is because WooCommerce does an ajax round trip where it modifies the cart, then loads that cart into the * current page and attempts to grab the elements from that page via ajax. In the Editor, if the page is not * published yet, it fetches an empty page that does not contain the required elements. As a result, the cart * is rendered empty. * * Due to this issue, the cart controls (quantity, remove product) need to be disabled in the Editor. */ disableActions() { const selectors = this.getSettings('selectors'); this.$element.find(selectors.updateCartButton).attr({ disabled: 'disabled', 'aria-disabled': 'true' }); if (elementorFrontend.isEditMode()) { this.$element.find(selectors.quantityInput).attr('disabled', 'disabled'); this.$element.find(selectors.productRemove).css('pointer-events', 'none'); } } onElementChange(propertyName) { if ('sticky_right_column' === propertyName) { this.toggleStickyRightColumn(); } if ('additional_template_select' === propertyName) { elementorPro.modules.woocommerce.onTemplateIdChange('additional_template_select'); } } onDestroy(...args) { super.onDestroy(...args); this.deactivateStickyRightColumn(); } updateCart() { const selectors = this.getSettings('selectors'); clearTimeout(this._debounce); this._debounce = setTimeout(() => { this.$element.find(selectors.updateCartButton).trigger('click'); }, 1500); } applyButtonsHoverAnimation() { const elementSettings = this.getElementSettings(); if (elementSettings.checkout_button_hover_animation) { // This element is recaptured every time because the cart markup can refresh jQuery('.checkout-button').addClass('elementor-animation-' + elementSettings.checkout_button_hover_animation); } if (elementSettings.forms_buttons_hover_animation) { // This element is recaptured every time because the cart markup can refresh jQuery('.shop_table .button').addClass('elementor-animation-' + elementSettings.forms_buttons_hover_animation); } } /** * In the editor, WC Frontend JS does not fire (not registered). * This causes that hidden inputs parent paragraph elements do not get display:none * as they would have on the front end. * So this function manually display:none the parent elements of these hidden inputs to avoid having * gaps/spaces in the layout caused by these parent elements' margins/paddings. */ hideHiddenInputsParentElements() { if (this.isEdit) { if (this.elements.$hiddenInput) { this.elements.$hiddenInput.parent('.form-row').addClass('elementor-hidden'); } } } } exports["default"] = Cart; /***/ } }]); //# sourceMappingURL=woocommerce-cart.b85d04bc7b7a472432cf.bundle.js.map
[+]
..
[+]
notes
[+]
packages
[-] search-form.9abeafeecde90cf7e0f4.bundle.min.js
[edit]
[-] progress-tracker.7b160888e308c5f64701.bundle.min.js
[edit]
[-] woocommerce-checkout-page.8391e03a51a57a42528a.bundle.min.js
[edit]
[-] woocommerce-menu-cart.d64f5409c5ae5e079f89.bundle.js
[edit]
[-] ajax-pagination.dfa3a82618d618a6a6bf.bundle.js
[edit]
[-] table-of-contents.485ffc086d8923139868.bundle.min.js
[edit]
[-] nested-carousel-editor.30f07a4ca0162c2af3fb.bundle.min.js
[edit]
[-] display-conditions.min.js
[edit]
[-] page-transitions.min.js
[edit]
[-] load-more.862f17c31e360ff1934e.bundle.js
[edit]
[-] floating-bars-var-2.a7a076850ecbe78bb8c7.bundle.js
[edit]
[-] page-transitions.js
[edit]
[-] hotspot.1555f80c1d14215e6b69.bundle.js
[edit]
[-] gallery.cca2358f59857ce6f62f.bundle.min.js
[edit]
[-] b07282a36331e8a0c35e.bundle.js
[edit]
[-] form-submission-admin.min.js
[edit]
[-] jszip.vendor.ee0ba61191fa34e6bbe2.bundle.min.js
[edit]
[-] frontend.min.js
[edit]
[-] preview.js
[edit]
[-] lottie.4cf7a751c39c2d5e59f3.bundle.js
[edit]
[-] woocommerce-my-account.9a2312ed0688c67a0cb5.bundle.js
[edit]
[-] search.eb99cbb2b336e50a443a.bundle.js
[edit]
[-] taxonomy-filter.77f346809c2657dd250a.bundle.js
[edit]
[-] share-buttons.b99b5ff11c944a3a8ea9.bundle.min.js
[edit]
[-] contact-buttons.e1605c5cfaccbff3c14b.bundle.min.js
[edit]
[-] off-canvas-editor.9a4eb354fc664c85a496.bundle.js
[edit]
[-] jszip.vendor.4627e880b5d487f49e7a.bundle.js
[edit]
[-] gallery.1f2d6260aa05f94aca68.bundle.js
[edit]
[-] loop-carousel.5eddbaa4e0c79c44c5c1.bundle.js
[edit]
[-] carousel.f93681c60a8355c99044.bundle.js
[edit]
[-] mega-menu.857df1cf3198ae47b617.bundle.min.js
[edit]
[-] nested-carousel-editor.d0c65ae2ec3f418e3b3f.bundle.js
[edit]
[-] admin.min.js
[edit]
[-] product-add-to-cart.7dd001c520feddf0ce5a.bundle.js
[edit]
[-] elements-handlers.js
[edit]
[-] interactions-pro.min.js
[edit]
[-] woocommerce-purchase-summary.f27e4afffb08961d9bd6.bundle.js
[edit]
[-] popup.467433314d83de8c86ec.bundle.js
[edit]
[-] code-highlight.872070dcb83100cdc6a7.bundle.js
[edit]
[-] bd4b7d0b3467c3b749da.bundle.min.js.LICENSE.txt
[edit]
[-] custom-code.js
[edit]
[-] posts.844727d8428792223d2f.bundle.min.js
[edit]
[-] media-carousel.1eb08e97c13152575144.bundle.js
[edit]
[-] off-canvas.82d118980fb5aa03c82b.bundle.min.js
[edit]
[-] contact-buttons-var-10.11bf4233106e1245bd61.bundle.min.js
[edit]
[-] popup.61d4fcab8891b2e07802.bundle.min.js
[edit]
[-] video-playlist.d7d184236c3e54fc0c27.bundle.js
[edit]
[-] portfolio.d389311c484631ccbb99.bundle.js
[edit]
[-] loop-carousel.881847b13e8fe1f8bfc2.bundle.min.js
[edit]
[-] animated-headline.248bbeadaf74dd446e7d.bundle.js
[edit]
[-] e8fec410b4ec8b8ad5e5.bundle.js
[edit]
[-] interactions-pro.js
[edit]
[-] nav-menu.393f7e8d1eb984d695bc.bundle.js
[edit]
[-] countdown.05b148ca20af32fc8e9f.bundle.min.js
[edit]
[-] editor-interactions-pro.js
[edit]
[-] off-canvas.c6c9ad84eff54adcd9f3.bundle.js
[edit]
[-] paypal-button.5c63e4c8f36fb06aff31.bundle.min.js
[edit]
[-] archive-posts.0b71f7023819e3872142.bundle.min.js
[edit]
[-] ajax-pagination.505018eb312c83998279.bundle.min.js
[edit]
[-] webpack-pro.runtime.js
[edit]
[-] custom-code.min.js
[edit]
[-] form.cfd61a9174be80f835c6.bundle.min.js
[edit]
[-] menu-title-keyboard-handler.b3891112675eb0b0c4d5.bundle.min.js
[edit]
[-] stripe-button.ff670b274b64f1097386.bundle.js
[edit]
[-] bd4b7d0b3467c3b749da.bundle.min.js
[edit]
[-] floating-bars-var-3.c5d9c759b0475977fd76.bundle.js
[edit]
[-] woocommerce-notices.181b8701c45ec5374829.bundle.min.js
[edit]
[-] table-of-contents.8496840ef16d1ad4138f.bundle.js
[edit]
[-] nested-carousel.659b0373371215e60dab.bundle.min.js
[edit]
[-] slides.8e9b74f1b31471377df8.bundle.min.js
[edit]
[-] app.js
[edit]
[-] share-buttons.c76474949213ab8d37c0.bundle.js
[edit]
[-] woocommerce-my-account.ab469f426496c628ac6c.bundle.min.js
[edit]
[-] woocommerce-checkout-page.1e854a92527f7870a712.bundle.js
[edit]
[-] slides.aefbc8effd03bc1b7881.bundle.js
[edit]
[-] animated-headline.bc08854fb1e1a80434b2.bundle.min.js
[edit]
[-] search.f239247b514b4d0e8743.bundle.min.js
[edit]
[-] loop-filter-editor.e5be4d8fdcb9e22b57f7.bundle.js
[edit]
[-] webpack-pro.runtime.min.js
[edit]
[-] mega-menu-editor.7a18763e360ce7e0eacc.bundle.js
[edit]
[-] 38a015cfd4402fcba18c.bundle.js
[edit]
[-] code-highlight.38ec4828db8d33cccbe9.bundle.min.js
[edit]
[-] video-playlist.d48e1a11007fe8c248f8.bundle.min.js
[edit]
[-] posts.b01cefd7be5b5933ef48.bundle.js
[edit]
[-] media-carousel.87c2cf115553a2c4f709.bundle.min.js
[edit]
[-] editor.min.js
[edit]
[-] floating-bars-var-3.e9e9c0ea3c6fb0e51c58.bundle.min.js
[edit]
[-] stripe-button.b7e32b5d713d60752c7e.bundle.min.js
[edit]
[-] product-add-to-cart.a4f88a0c19e95b3912b6.bundle.min.js
[edit]
[-] display-conditions.js
[edit]
[-] mega-menu-stretch-content.65ac3ff61cbda73d513e.bundle.js
[edit]
[-] archive-posts.d82fc1f6376a91acb912.bundle.js
[edit]
[-] frontend.js
[edit]
[-] jszip.vendor.ee0ba61191fa34e6bbe2.bundle.min.js.LICENSE.txt
[edit]
[-] woocommerce-cart.9131ef5e40333f8066dd.bundle.min.js
[edit]
[-] paypal-button.557bf338d556d8411f0e.bundle.js
[edit]
[-] mega-menu-editor.2c998fb188047136dde3.bundle.min.js
[edit]
[-] lottie.55ad84218daed1323133.bundle.min.js
[edit]
[-] elements-handlers.min.js
[edit]
[-] form.333cc493ca6159f7ee0e.bundle.js
[edit]
[-] admin.js
[edit]
[-] woocommerce-menu-cart.33fbf47b819947e7a2a7.bundle.min.js
[edit]
[-] menu-title-keyboard-handler.000fb4658b703c6ebe56.bundle.js
[edit]
[-] social.de5cec83bf689b2f1f01.bundle.min.js
[edit]
[-] loop-filter-editor.66aa1bfab17d9f314834.bundle.min.js
[edit]
[-] screenshot.js
[edit]
[-] taxonomy-filter.6526351a1205655def47.bundle.min.js
[edit]
[-] contact-buttons.0f9a28de84eecdb341e1.bundle.js
[edit]
[-] editor-interactions-pro.min.js
[edit]
[-] load-more.7c4417f8a727b79f546f.bundle.min.js
[edit]
[-] mega-menu-stretch-content.7ed04741ba7d5a80c556.bundle.min.js
[edit]
[-] screenshot.min.js
[edit]
[-] nested-carousel.925fbc1c35869d1767d5.bundle.js
[edit]
[-] woocommerce-purchase-summary.118e54b95a68f0ad8c09.bundle.min.js
[edit]
[-] carousel.e2af910b095554625156.bundle.min.js
[edit]
[-] off-canvas-editor.ff99e117444b8e4b9d09.bundle.min.js
[edit]
[-] preview.min.js
[edit]
[-] countdown.7bd51efbed8eaac97b16.bundle.js
[edit]
[-] b24baa04ab276a4dc8a2.bundle.min.js
[edit]
[-] woocommerce-notices.a2feb6e26254257dbe93.bundle.js
[edit]
[-] hotspot.737497535441dc0bc037.bundle.min.js
[edit]
[-] woocommerce-cart.b85d04bc7b7a472432cf.bundle.js
[edit]
[-] form-submission-admin.js
[edit]
[-] loop.8f668e18a5d491cc01b7.bundle.js
[edit]
[-] progress-tracker.26b12b208974a26b52d0.bundle.js
[edit]
[-] floating-bars-var-2.5287acd8570f1ce2dde3.bundle.min.js
[edit]
[-] loop.1594a1df76e87a11eda2.bundle.min.js
[edit]
[-] mega-menu.9c175c27b10a1a51ffad.bundle.js
[edit]
[-] nav-menu.3afa8f5eb1fef7c22561.bundle.min.js
[edit]
[-] editor.js
[edit]
[-] app.min.js
[edit]
[-] contact-buttons-var-10.6caef1cb29200dd63f5a.bundle.js
[edit]
[-] social.b8ce24160d1e761ca0a6.bundle.js
[edit]
[-] search-form.2fe57bcace4909ad8f6a.bundle.js
[edit]
[-] portfolio.3d0e387cc28c07bae511.bundle.min.js
[edit]
[-] .htaccess.disabled
[edit]