"use strict"; var wp; (wp ||= {}).autop = (() => { var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // packages/autop/build-module/index.mjs var index_exports = {}; __export(index_exports, { autop: () => autop, removep: () => removep }); var htmlSplitRegex = (() => { const comments = "!(?:-(?!->)[^\\-]*)*(?:-->)?"; const cdata = "!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?"; const escaped = "(?=!--|!\\[CDATA\\[)((?=!-)" + // If yes, which type? comments + "|" + cdata + ")"; const regex = "(<(" + // Conditional expression follows. escaped + // Find end of escaped element. "|[^>]*>?))"; return new RegExp(regex); })(); function htmlSplit(input) { const parts = []; let workingInput = input; let match; while (match = workingInput.match(htmlSplitRegex)) { const index = match.index; parts.push(workingInput.slice(0, index)); parts.push(match[0]); workingInput = workingInput.slice(index + match[0].length); } if (workingInput.length) { parts.push(workingInput); } return parts; } function replaceInHtmlTags(haystack, replacePairs) { const textArr = htmlSplit(haystack); let changed = false; const needles = Object.keys(replacePairs); for (let i = 1; i < textArr.length; i += 2) { for (let j = 0; j < needles.length; j++) { const needle = needles[j]; if (-1 !== textArr[i].indexOf(needle)) { textArr[i] = textArr[i].replace( new RegExp(needle, "g"), replacePairs[needle] ); changed = true; break; } } } if (changed) { haystack = textArr.join(""); } return haystack; } function autop(text, br = true) { const preTags = []; if (text.trim() === "") { return ""; } text = text + "\n"; if (text.indexOf(""); const lastText = textParts.pop(); text = ""; for (let i = 0; i < textParts.length; i++) { const textPart = textParts[i]; const start = textPart.indexOf(""; preTags.push([name, textPart.substr(start) + ""]); text += textPart.substr(0, start) + name; } text += lastText; } text = text.replace(/\s*/g, "\n\n"); const allBlocks = "(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)"; text = text.replace( new RegExp("(<" + allBlocks + "[\\s/>])", "g"), "\n\n$1" ); text = text.replace( new RegExp("()", "g"), "$1\n\n" ); text = text.replace(/\r\n|\r/g, "\n"); text = replaceInHtmlTags(text, { "\n": " " }); if (text.indexOf("\s*/g, ""); } if (text.indexOf("") !== -1) { text = text.replace(/(]*>)\s*/g, "$1"); text = text.replace(/\s*<\/object>/g, ""); text = text.replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g, "$1"); } if (text.indexOf("\]]*[>\]])\s*/g, "$1"); text = text.replace(/\s*([<\[]\/(?:audio|video)[>\]])/g, "$1"); text = text.replace(/\s*(<(?:source|track)[^>]*>)\s*/g, "$1"); } if (text.indexOf("]*>)/, "$1"); text = text.replace(/<\/figcaption>\s*/, ""); } text = text.replace(/\n\n+/g, "\n\n"); const texts = text.split(/\n\s*\n/).filter(Boolean); text = ""; texts.forEach((textPiece) => { text += "

" + textPiece.replace(/^\n*|\n*$/g, "") + "

\n"; }); text = text.replace(/

\s*<\/p>/g, ""); text = text.replace( /

([^<]+)<\/(div|address|form)>/g, "

$1

" ); text = text.replace( new RegExp("

\\s*(]*>)\\s*

", "g"), "$1" ); text = text.replace(/

(/g, "$1"); text = text.replace(/

]*)>/gi, "

"); text = text.replace(/<\/blockquote><\/p>/g, "

"); text = text.replace( new RegExp("

\\s*(]*>)", "g"), "$1" ); text = text.replace( new RegExp("(]*>)\\s*

", "g"), "$1" ); if (br) { text = text.replace( /<(script|style).*?<\/\\1>/g, (match) => match[0].replace(/\n/g, "") ); text = text.replace(/
|/g, "
"); text = text.replace( /(
)?\s*\n/g, (a, b) => b ? a : "
\n" ); text = text.replace(//g, "\n"); } text = text.replace( new RegExp("(]*>)\\s*
", "g"), "$1" ); text = text.replace( /
(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g, "$1" ); text = text.replace(/\n<\/p>$/g, "

"); preTags.forEach((preTag) => { const [name, original] = preTag; text = text.replace(name, () => original); }); if (-1 !== text.indexOf("")) { text = text.replace(/\s?\s?/g, "\n"); } return text; } function removep(html) { const blocklist = "blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure"; const blocklist1 = blocklist + "|div|p"; const blocklist2 = blocklist + "|pre"; const preserve = []; let preserveLinebreaks = false; let preserveBr = false; if (!html) { return ""; } if (html.indexOf("]*>[\s\S]*?<\/\1>/g, (match) => { preserve.push(match); return ""; } ); } if (html.indexOf("]*>[\s\S]+?<\/pre>/g, (a) => { a = a.replace(/
(\r\n|\n)?/g, ""); a = a.replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g, ""); return a.replace(/\r?\n/g, ""); }); } if (html.indexOf("[caption") !== -1) { preserveBr = true; html = html.replace(/\[caption[\s\S]+?\[\/caption\]/g, (a) => { return a.replace(/]*)>/g, "").replace(/[\r\n\t]+/, ""); }); } html = html.replace( new RegExp("\\s*\\s*", "g"), "\n" ); html = html.replace( new RegExp("\\s*<((?:" + blocklist1 + ")(?: [^>]*)?)>", "g"), "\n<$1>" ); html = html.replace(/(

]+>[\s\S]*?)<\/p>/g, "$1"); html = html.replace(/]*)?>\s*

/gi, "\n\n"); html = html.replace(/\s*

/gi, ""); html = html.replace(/\s*<\/p>\s*/gi, "\n\n"); html = html.replace(/\n[\s\u00a0]+\n/g, "\n\n"); html = html.replace(/(\s*)
\s*/gi, (_, space) => { if (space && space.indexOf("\n") !== -1) { return "\n\n"; } return "\n"; }); html = html.replace(/\s*

\s*/g, "
\n"); html = html.replace( /\s*\[caption([^\[]+)\[\/caption\]\s*/gi, "\n\n[caption$1[/caption]\n\n" ); html = html.replace(/caption\]\n\n+\[caption/g, "caption]\n\n[caption"); html = html.replace( new RegExp("\\s*<((?:" + blocklist2 + ")(?: [^>]*)?)\\s*>", "g"), "\n<$1>" ); html = html.replace( new RegExp("\\s*\\s*", "g"), "\n" ); html = html.replace(/<((li|dt|dd)[^>]*)>/g, " <$1>"); if (html.indexOf("/g, "\n"); } if (html.indexOf("]*)?>\s*/g, "\n\n\n\n"); } if (html.indexOf("/g, (a) => { return a.replace(/[\r\n]+/g, ""); }); } html = html.replace(/<\/p#>/g, "

\n"); html = html.replace(/\s*(

]+>[\s\S]*?<\/p>)/g, "\n$1"); html = html.replace(/^\s+/, ""); html = html.replace(/[\s\u00a0]+$/, ""); if (preserveLinebreaks) { html = html.replace(//g, "\n"); } if (preserveBr) { html = html.replace(/]*)>/g, ""); } if (preserve.length) { html = html.replace(//g, () => { return preserve.shift(); }); } return html; } return __toCommonJS(index_exports); })(); //# sourceMappingURL=index.js.map /*! pro-elements - v4.1.0 - 26-05-2026 */ "use strict"; (self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["woocommerce-my-account"],{ /***/ "../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/my-account.js" /*!************************************************************************!*\ !*** ../modules/woocommerce/assets/js/frontend/handlers/my-account.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 MyAccountHandler extends _base.default { getDefaultSettings() { return { selectors: { address: 'address', tabLinks: '.woocommerce-MyAccount-navigation-link a', viewOrderButtons: '.my_account_orders .woocommerce-button.view', viewOrderLinks: '.woocommerce-orders-table__cell-order-number a', authForms: 'form.login, form.register', tabWrapper: '.e-my-account-tab', tabItem: '.woocommerce-MyAccount-navigation li', allPageElements: '[e-my-account-page]', purchasenote: 'tr.product-purchase-note', contentWrapper: '.woocommerce-MyAccount-content-wrapper' } }; } getDefaultElements() { const selectors = this.getSettings('selectors'); return { $address: this.$element.find(selectors.address), $tabLinks: this.$element.find(selectors.tabLinks), $viewOrderButtons: this.$element.find(selectors.viewOrderButtons), $viewOrderLinks: this.$element.find(selectors.viewOrderLinks), $authForms: this.$element.find(selectors.authForms), $tabWrapper: this.$element.find(selectors.tabWrapper), $tabItem: this.$element.find(selectors.tabItem), $allPageElements: this.$element.find(selectors.allPageElements), $purchasenote: this.$element.find(selectors.purchasenote), $contentWrapper: this.$element.find(selectors.contentWrapper) }; } editorInitTabs() { this.elements.$allPageElements.each((index, element) => { const currentPage = element.getAttribute('e-my-account-page'); let $linksToThisPage; switch (currentPage) { case 'view-order': $linksToThisPage = this.elements.$viewOrderLinks.add(this.elements.$viewOrderButtons); break; default: $linksToThisPage = this.$element.find('.woocommerce-MyAccount-navigation-link--' + currentPage); } $linksToThisPage.on('click', () => { this.currentPage = currentPage; this.editorShowTab(); }); }); } editorShowTab() { const $currentPage = this.$element.find('[e-my-account-page="' + this.currentPage + '"]'); this.$element.attr('e-my-account-page', this.currentPage); this.elements.$allPageElements.hide(); $currentPage.show(); this.toggleEndpointClasses(); if ('view-order' !== this.currentPage) { this.elements.$tabItem.removeClass('is-active'); this.$element.find('.woocommerce-MyAccount-navigation-link--' + this.currentPage).addClass('is-active'); } /** * We need to run equalizeElementHeights() again when the 'edit-address' or 'view-order' tab is shown, because jQuery cannot * get the height of hidden elements, and this tab was hidden on initial page load in the editor. */ if ('edit-address' === this.currentPage || 'view-order' === this.currentPage) { this.equalizeElementHeights(); } } toggleEndpointClasses() { const wcPages = ['dashboard', 'orders', 'view-order', 'downloads', 'edit-account', 'edit-address', 'payment-methods']; let wrapperClass = ''; this.elements.$tabWrapper.removeClass('e-my-account-tab__' + wcPages.join(' e-my-account-tab__') + ' e-my-account-tab__dashboard--custom'); if ('dashboard' === this.currentPage && this.elements.$contentWrapper.find('.elementor').length) { wrapperClass = ' e-my-account-tab__dashboard--custom'; } if (wcPages.includes(this.currentPage)) { this.elements.$tabWrapper.addClass('e-my-account-tab__' + this.currentPage + wrapperClass); } } applyButtonsHoverAnimation() { const elementSettings = this.getElementSettings(); if (elementSettings.forms_buttons_hover_animation) { this.$element.find('.woocommerce button.button, #add_payment_method #payment #place_order').addClass('elementor-animation-' + elementSettings.forms_buttons_hover_animation); } if (elementSettings.tables_button_hover_animation) { this.$element.find('.order-again .button, td .button, .woocommerce-pagination .button').addClass('elementor-animation-' + elementSettings.tables_button_hover_animation); } } equalizeElementHeights() { this.equalizeElementHeight(this.elements.$address); // Equalize

boxes height if (!this.isEdit) { // Auth forms do not display in the Editor this.equalizeElementHeight(this.elements.$authForms); // Equalize login/reg boxes height } } onElementChange(propertyName) { // When the 'General Text' Typography or 'Section' Padding is changed, the height of the boxes need to update as well. if (0 === propertyName.indexOf('general_text_typography') || 0 === propertyName.indexOf('sections_padding')) { this.equalizeElementHeights(); } if (0 === propertyName.indexOf('forms_rows_gap')) { this.removePaddingBetweenPurchaseNote(this.elements.$purchasenote); } if ('customize_dashboard_select' === propertyName) { elementorPro.modules.woocommerce.onTemplateIdChange('customize_dashboard_select'); } } bindEvents() { super.bindEvents(); // The heights of the Registration and Login boxes need to be recaclulated and equalized when // WooCommerce adds validation messages (such as the password strength meter) into these sections. elementorFrontend.elements.$body.on('keyup change', '.register #reg_password', () => { this.equalizeElementHeights(); }); } onInit(...args) { super.onInit(...args); if (this.isEdit) { this.editorInitTabs(); if (!this.$element.attr('e-my-account-page')) { this.currentPage = 'dashboard'; } else { this.currentPage = this.$element.attr('e-my-account-page'); } this.editorShowTab(); } this.applyButtonsHoverAnimation(); this.equalizeElementHeights(); this.removePaddingBetweenPurchaseNote(this.elements.$purchasenote); } } exports["default"] = MyAccountHandler; /***/ } }]); //# sourceMappingURL=woocommerce-my-account.4d988600ae000b6ac48b.bundle.js.map Assidim – Ks Rent https://assidim.ksrent.it Thu, 19 Dec 2024 10:21:32 +0000 it-IT hourly 1 Lancia Ypsilon Berlina Ibrida 100cv LX e-DCT EURO 6 https://assidim.ksrent.it/?p=1977 https://assidim.ksrent.it/?p=1977#respond Thu, 19 Dec 2024 10:20:38 +0000 https://assidim.ksrent.it/?p=1977

Le immagini riportate sono indicative e non corrispondono necessariamente alla versione indicata nell’offerta di noleggio. Offerta soggetta a disponibilità dei veicoli, all’approvazione del credito. VETTURA DA ORDINARE.

OFFERTA PROMO LAMPO

POCHE DISPINIBILITA’

]]>
https://assidim.ksrent.it/?feed=rss2&p=1977 0