PATH:
home
/
lab2454c
/
credityork.com
/
wp-content
/
plugins
/
elementor-pro
/
assets
/
js
/*! elementor-pro - v3.12.3 - 23-04-2023 */ "use strict"; (self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["nav-menu"],{ /***/ "../modules/nav-menu/assets/js/frontend/handlers/nav-menu.js": /*!*******************************************************************!*\ !*** ../modules/nav-menu/assets/js/frontend/handlers/nav-menu.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; var _default = elementorModules.frontend.handlers.Base.extend({ stretchElement: null, getDefaultSettings() { return { selectors: { menu: '.elementor-nav-menu', anchorLink: '.elementor-nav-menu--main .elementor-item-anchor', dropdownMenu: '.elementor-nav-menu__container.elementor-nav-menu--dropdown', menuToggle: '.elementor-menu-toggle' } }; }, getDefaultElements() { var selectors = this.getSettings('selectors'), elements = {}; elements.$menu = this.$element.find(selectors.menu); elements.$anchorLink = this.$element.find(selectors.anchorLink); elements.$dropdownMenu = this.$element.find(selectors.dropdownMenu); elements.$dropdownMenuFinalItems = elements.$dropdownMenu.find('.menu-item:not(.menu-item-has-children) > a'); elements.$menuToggle = this.$element.find(selectors.menuToggle); elements.$links = elements.$dropdownMenu.find('a.elementor-item'); return elements; }, dropdownMenuHeightControllerConfig() { const selectors = this.getSettings('selectors'); return { elements: { $element: this.$element, $dropdownMenuContainer: this.$element.find(selectors.dropdownMenu), $menuToggle: this.$element.find(selectors.menuToggle) }, classes: { menuToggleActiveClass: 'elementor-active' }, settings: { dropdownMenuContainerMaxHeight: '1000vmax', // Max-height value is fixed to 1000vmax in order to allow the mobile menu closing animation. menuHeightCssVarName: '--menu-height' } }; }, bindEvents() { if (!this.elements.$menu.length) { return; } this.elements.$menuToggle.on('click', this.toggleMenu.bind(this)); if (this.getElementSettings('full_width')) { this.elements.$dropdownMenuFinalItems.on('click', this.toggleMenu.bind(this, false)); } elementorFrontend.addListenerOnce(this.$element.data('model-cid'), 'resize', this.stretchMenu); elementorFrontend.addListenerOnce(this.$element.data('model-cid'), 'scroll', elementorFrontend.debounce(this.menuHeightController.reassignMobileMenuHeight.bind(this.menuHeightController), 250)); }, initStretchElement() { this.stretchElement = new elementorModules.frontend.tools.StretchElement({ element: this.elements.$dropdownMenu }); }, toggleNavLinksTabIndex() { let enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; this.elements.$links.attr('tabindex', enabled ? 0 : -1); }, toggleMenu(show) { var isDropdownVisible = this.elements.$menuToggle.hasClass('elementor-active'); if ('boolean' !== typeof show) { show = !isDropdownVisible; } this.elements.$menuToggle.attr('aria-expanded', show); this.elements.$dropdownMenu.attr('aria-hidden', !show); this.elements.$menuToggle.toggleClass('elementor-active', show); this.toggleNavLinksTabIndex(show); this.menuHeightController.reassignMobileMenuHeight(this); if (show && this.getElementSettings('full_width')) { this.stretchElement.stretch(); } }, followMenuAnchors() { var self = this; self.elements.$anchorLink.each(function () { if (location.pathname === this.pathname && '' !== this.hash) { self.followMenuAnchor(jQuery(this)); } }); }, followMenuAnchor($element) { const anchorSelector = $element[0].hash; let offset = -300, $anchor; try { // `decodeURIComponent` for UTF8 characters in the hash. $anchor = jQuery(decodeURIComponent(anchorSelector)); } catch (e) { return; } if (!$anchor.length) { return; } if (!$anchor.hasClass('elementor-menu-anchor')) { var halfViewport = jQuery(window).height() / 2; offset = -$anchor.outerHeight() + halfViewport; } elementorFrontend.waypoint($anchor, function (direction) { if ('down' === direction) { $element.addClass('elementor-item-active'); } else { $element.removeClass('elementor-item-active'); } }, { offset: '50%', triggerOnce: false }); elementorFrontend.waypoint($anchor, function (direction) { if ('down' === direction) { $element.removeClass('elementor-item-active'); } else { $element.addClass('elementor-item-active'); } }, { offset, triggerOnce: false }); }, stretchMenu() { if (this.getElementSettings('full_width')) { this.stretchElement.stretch(); this.elements.$dropdownMenu.css('top', this.elements.$menuToggle.outerHeight()); } else { this.stretchElement.reset(); } }, onInit() { this.menuHeightController = new elementorProFrontend.utils.DropdownMenuHeightController(this.dropdownMenuHeightControllerConfig()); elementorModules.frontend.handlers.Base.prototype.onInit.apply(this, arguments); if (!this.elements.$menu.length) { return; } const elementSettings = this.getElementSettings(), iconValue = elementSettings.submenu_icon.value; let subIndicatorsContent = ''; if (iconValue) { // The value of iconValue can be either className inside the editor or a markup in the frontend. subIndicatorsContent = iconValue.indexOf('<') > -1 ? iconValue : `<i class="${iconValue}"></i>`; } // SubIndicators param - Added for backwards compatibility: // If the old 'indicator' control value = 'none', the <span class="sub-arrow"> wrapper element is removed this.elements.$menu.smartmenus({ subIndicators: '' !== subIndicatorsContent, subIndicatorsText: subIndicatorsContent, subIndicatorsPos: 'append', subMenusMaxWidth: '1000px' }); this.initStretchElement(); this.stretchMenu(); if (!elementorFrontend.isEditMode()) { this.followMenuAnchors(); } }, onElementChange(propertyName) { if ('full_width' === propertyName) { this.stretchMenu(); } } }); exports["default"] = _default; /***/ }) }]); //# sourceMappingURL=nav-menu.9438664d01c471861c20.bundle.js.map
[+]
..
[-] frontend.min.js
[edit]
[-] elements-handlers.js
[edit]
[-] editor.js
[edit]
[-] screenshot.min.js
[edit]
[-] qunit-tests.min.js
[edit]
[-] jszip.vendor.99a5b769619f50a6cb60.bundle.min.js.LICENSE.txt
[edit]
[-] elements-handlers.min.js
[edit]
[-] code-highlight.bd9b459b2670f6512f56.bundle.js
[edit]
[-] form-submission-admin.js
[edit]
[-] frontend.js
[edit]
[-] b83b4e72565adbc65b6e.bundle.min.js
[edit]
[-] mega-menu.62a19130f37a7b264bf7.bundle.js
[edit]
[-] gallery.1573e391054ea0977a1f.bundle.js
[edit]
[-] form-submission-admin.min.js
[edit]
[-] nav-menu.bb5cce0a50480cdf695d.bundle.min.js
[edit]
[-] table-of-contents.a695231ee79a390b7620.bundle.min.js
[edit]
[-] load-more.c9f6aac03af905f4e206.bundle.min.js
[edit]
[-] archive-posts.c139dd16b2224fcc8171.bundle.js
[edit]
[-] woocommerce-checkout-page.bf88689aec2ee294a5e8.bundle.js
[edit]
[-] admin.js
[edit]
[-] preview.min.js
[edit]
[-] load-more.2c4819ffa05d8e7e19a3.bundle.js
[edit]
[-] share-buttons.0bdd88c45462dfb2b073.bundle.min.js
[edit]
[-] paypal-button.0b0a646654a59ebd13a8.bundle.js
[edit]
[-] webpack-pro.runtime.min.js
[edit]
[-] app.min.js
[edit]
[-] loop-carousel.ca3af34f494108c4dcd8.bundle.min.js
[edit]
[-] app.js
[edit]
[-] loop-carousel.64df59427f9aa5192019.bundle.js
[edit]
[-] mega-menu.2235f3049d229a3d8ad3.bundle.min.js
[edit]
[-] page-transitions.min.js
[edit]
[-] form.72b77b99d67b130634d2.bundle.min.js
[edit]
[+]
notes
[-] posts.e33113a212454e383747.bundle.min.js
[edit]
[-] nav-menu.9438664d01c471861c20.bundle.js
[edit]
[-] hotspot.6ab1751404c381bfe390.bundle.min.js
[edit]
[-] popup.483b906ddaa1af17ff14.bundle.min.js
[edit]
[-] stripe-button.6525e1debdc6788d7c5b.bundle.js
[edit]
[-] social.2d2e44e8608690943f29.bundle.min.js
[edit]
[-] mega-menu-stretch-content.5ec1f2f20bb5b5aacce1.bundle.js
[edit]
[-] progress-tracker.3424c0ac2b2c8da47033.bundle.js
[edit]
[-] posts.72468c8555693b196f98.bundle.js
[edit]
[-] loop.ee42cd13e555f07796a1.bundle.min.js
[edit]
[-] video-playlist.298cdf58d6ff89be4257.bundle.min.js
[edit]
[-] woocommerce-menu-cart.faa7b80e9ba9e5072070.bundle.min.js
[edit]
[-] portfolio.47c0bf4b3576c66f1b1a.bundle.js
[edit]
[-] page-transitions-editor.930bfd9119ee62d5ccd6.bundle.js
[edit]
[-] editor.min.js
[edit]
[-] woocommerce-menu-cart.cecfa624e2d23a156519.bundle.js
[edit]
[-] mega-menu-editor.d71e4c6339dd6957b02c.bundle.min.js
[edit]
[-] portfolio.042905bde20a1afccada.bundle.min.js
[edit]
[-] custom-code.js
[edit]
[-] popup.397c2882052136db7ee0.bundle.js
[edit]
[-] stripe-button.d283ce83621092402874.bundle.min.js
[edit]
[-] product-add-to-cart.023d7d31fbf96c3dbdfc.bundle.min.js
[edit]
[-] media-carousel.aca2224ef13e6f999011.bundle.min.js
[edit]
[-] countdown.14ae9e6521e5309f2b20.bundle.js
[edit]
[-] table-of-contents.efa4ec72fb5fbf81390d.bundle.js
[edit]
[-] hotspot.a8e9728500bb65f7d480.bundle.js
[edit]
[-] form.f57ca47ad68276d319aa.bundle.js
[edit]
[-] woocommerce-notices.da27b22c491f7cbe9158.bundle.min.js
[edit]
[-] woocommerce-cart.07b1efa10b4a0c3db9f6.bundle.js
[edit]
[-] preloaded-elements-handlers.js
[edit]
[-] woocommerce-cart.fc30c6cb753d4098eff5.bundle.min.js
[edit]
[-] slides.fb6b9afd278bb9c5e75b.bundle.min.js
[edit]
[-] mega-menu-stretch-content.dd7b10c896a88f739622.bundle.min.js
[edit]
[-] webpack-pro.runtime.js
[edit]
[-] gallery.8ca9a354ce039d1ba641.bundle.min.js
[edit]
[-] lottie.e9e13c1085c8ebcf9e08.bundle.js
[edit]
[-] countdown.b0ef6392ec4ff09ca2f2.bundle.min.js
[edit]
[-] mega-menu-editor.df12ed5ed5e2a972f28b.bundle.js
[edit]
[-] paypal-button.3d0d5af7df85963df32c.bundle.min.js
[edit]
[-] search-form.357fb2d20c2058fac04e.bundle.js
[edit]
[-] carousel.9b02b45d7826c1c48f33.bundle.min.js
[edit]
[-] woocommerce-my-account.3ee10d01e625dad87f73.bundle.min.js
[edit]
[-] e1314d8e113e32e00c20.bundle.js
[edit]
[-] screenshot.js
[edit]
[-] page-transitions-editor.69f365c96dc0120de70b.bundle.min.js
[edit]
[-] woocommerce-purchase-summary.46445ab1120a8c28c05c.bundle.min.js
[edit]
[-] jszip.vendor.a3c65615c1de5560962d.bundle.js
[edit]
[-] animated-headline.a72e91b4455c4435ee9c.bundle.js
[edit]
[-] progress-tracker.e19e2547639d7d9dac17.bundle.min.js
[edit]
[-] woocommerce-purchase-summary.40bd4441fdc065587324.bundle.js
[edit]
[-] preview.js
[edit]
[-] slides.ed047abad2c95958dc83.bundle.js
[edit]
[-] video-playlist.46d8facd8ae5db005088.bundle.js
[edit]
[-] code-highlight.28a979661569ddbbf60d.bundle.min.js
[edit]
[-] social.68fec39648b9a03c6275.bundle.js
[edit]
[-] product-add-to-cart.39fbaae6c856c483b4b4.bundle.js
[edit]
[-] loop.56bafc053eb8d9ec040d.bundle.js
[edit]
[-] woocommerce-notices.d803ba1deaf96eb007fc.bundle.js
[edit]
[-] admin.min.js
[edit]
[-] preloaded-elements-handlers.min.js
[edit]
[-] animated-headline.ffb4bb4ce1b16b11446d.bundle.min.js
[edit]
[-] page-transitions.js
[edit]
[-] qunit-tests.js
[edit]
[-] custom-code.min.js
[edit]
[-] search-form.0ef02f9fd5e7db2ea91b.bundle.min.js
[edit]
[-] jszip.vendor.99a5b769619f50a6cb60.bundle.min.js
[edit]
[-] archive-posts.1de00dabb89a39359d7a.bundle.min.js
[edit]
[-] lottie.147bf20db94f86cc4295.bundle.min.js
[edit]
[-] carousel.f3d380987af9f2d7b22d.bundle.js
[edit]
[-] woocommerce-my-account.355b00c58fb73e92a0bb.bundle.js
[edit]
[-] share-buttons.a43f0e61533a54c4cf9f.bundle.js
[edit]
[-] woocommerce-checkout-page.b18af78282979b6f74e4.bundle.min.js
[edit]
[-] media-carousel.3c8f4fa31022b9a3b8af.bundle.js
[edit]