PATH:
home
/
shotlining
/
public_html
/
wp-content
/
plugins
/
elementor-pro
/
assets
/
js
/*! elementor-pro - v3.23.0 - 05-08-2024 */ "use strict";(self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[]).push([[725],{3278:(e,t,n)=>{var s=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(n(3231)),i=s(n(8989)),o=s(n(6399));class OffCanvas extends elementorModules.frontend.handlers.Base{constructor(){super(...arguments),(0,a.default)(this,"keyboardHandler",null),(0,a.default)(this,"isOffCanvasOpenedOnce",!1)}getDefaultSettings(){return{selectors:{wrapper:".e-off-canvas",overlay:".e-off-canvas__overlay",main:".e-off-canvas__main",content:".e-off-canvas__content",body:"body"}}}getDefaultElements(){const e=this.getSettings();return{$wrapper:this.$element.find(e.selectors.wrapper),$overlay:this.$element.find(e.selectors.overlay),$main:this.$element.find(e.selectors.main),$content:this.$element.find(e.selectors.content),$body:jQuery(e.selectors.body)}}onInit(){super.onInit(),this.initAriaAttributesToTriggerElements(),this.isEditingMode()&&this.maybeDisableScroll()}onDestroy(){super.onDestroy(),this.enableScroll()}bindEvents(){this.elements.$overlay.on("click",this.onClickOverlay.bind(this)),elementorFrontend.elements.$window.on("keydown",this.onCanvasKeyDown.bind(this)),this.elements.$main.on("animationend animationcancel",this.removeAnimationClasses.bind(this)),elementorFrontend.elements.$window.on("elementor-pro/off-canvas/toggle-display-mode",this.handleDisplayToggle.bind(this))}unbindEvents(){this.elements.$overlay.off(),this.elements.$main.off(),elementorFrontend.elements.$window.off("keydown",this.onCanvasKeyDown),elementorFrontend.elements.$window.off("elementor-pro/off-canvas/toggle-display-mode")}handleDisplayToggle(e){if(e.originalEvent.detail.id!==this.getID().toString())return;const t=e.originalEvent.detail.displayMode,n=this.isVisible()?"open":"close",s="mouse"!==e.originalEvent?.detail?.previousEvent?.pointerType;"open"===t?this.openOffCanvas(s):"close"===t?this.closeOffCanvas():"toggle"===t&&this["open"===n?"closeOffCanvas":"openOffCanvas"](s)}openOffCanvas(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isVisible()||(this.elements.$wrapper.attr("aria-hidden","false"),this.elements.$wrapper.removeAttr("inert"),this.elements.$wrapper.removeAttr("data-delay-child-handlers"),this.updateAriaExpandedOfTriggerElements("true"),this.toggleDraggable(!1),this.maybeOnOpenAnimation(),this.maybeDisableScroll(),this.handleElementHandlers(),e&&this.handleKeyboardA11y())}handleKeyboardA11y(){this.initKeyboardHandler(),this.keyboardHandler.onOpenModal()}closeOffCanvas(){this.isVisible()&&(this.maybeOnCloseAnimation(),this.elements.$wrapper.attr("aria-hidden","true"),this.elements.$wrapper.attr("inert",""),this.updateAriaExpandedOfTriggerElements("false"),this.toggleDraggable(!0),this.enableScroll())}onCanvasKeyDown(e){"Escape"===e.key&&"yes"!==this.getElementSettings("is_not_close_on_esc_overlay")&&this.closeOffCanvas()}onClickOverlay(){"yes"===this.getElementSettings().is_not_close_on_overlay||this.isEditingMode()||this.closeOffCanvas()}maybeOnOpenAnimation(){const e=this.getResponsiveSetting("entrance_animation")||"none";"none"===e?this.elements.$wrapper.addClass("no-animation"):this.elements.$wrapper.removeClass("no-animation"),this.elements.$main.addClass(`animated ${e}`),this.elements.$wrapper.removeClass("animated-reverse-wrapper")}maybeOnCloseAnimation(){const e=this.getResponsiveSetting("exit_animation")||"none";"none"===e?this.elements.$wrapper.addClass("no-animation"):this.elements.$wrapper.removeClass("no-animation"),this.elements.$main.addClass(`animated reverse ${e}`),this.elements.$wrapper.addClass("animated-reverse-wrapper"),this.elements.$body.addClass("e-off-canvas__no-scroll-animation")}removeAnimationClasses(){const e=this.elements.$main.hasClass("reverse"),t=this.getResponsiveSetting("entrance_animation")||"none",n=this.getResponsiveSetting("exit_animation")||"none";e?(this.elements.$main.removeClass(`animated reverse ${n}`),this.elements.$wrapper.removeClass("animated-reverse-wrapper"),this.elements.$body.removeClass("e-off-canvas__no-scroll-animation"),this.keyboardHandler?.onCloseModal()):this.elements.$main.removeClass(`animated ${t}`)}getResponsiveSetting(e){const t=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),e,"",t)}isEditingMode(){return"yes"===this.getElementSettings("editing_mode")&&elementorFrontend.isEditMode()}maybeDisableScroll(){"yes"===this.getElementSettings("prevent_scroll")&&this.elements.$body.addClass("e-off-canvas__no-scroll")}enableScroll(){this.elements.$body.removeClass("e-off-canvas__no-scroll")}toggleDraggable(e){elementorFrontend.isEditMode()&&"0"!==this.elements.$overlay.css("opacity")&&this.$element.attr("draggable",e)}handleEditingModeToggle(){"yes"===this.getElementSettings("editing_mode")?this.openOffCanvas():this.closeOffCanvas()}getKeyboardHandlingConfig(){return{$modalElements:this.elements.$wrapper,$elementWrapper:this.elements.$content,modalType:"off-canvas",modalId:this.getID()}}initAriaAttributesToTriggerElements(){this.getTriggerElements().forEach((e=>{const t=e.textContent?.trim(),n=this.elements.$wrapper.attr("aria-label")?.trim(),s=n?`${t} ${n}`:t;e.setAttribute("aria-label",s),e.setAttribute("aria-controls",`off-canvas-${this.getID()}`),e.setAttribute("aria-expanded","false")}))}getTriggerElements(){const e=elementorFrontend.elements.window.document.body.querySelectorAll("a"),t=Array.from(e).filter((e=>e.href?.includes("elementor-action"))),n=[];return t.forEach((e=>{if(!this.isActionUrlIdEqualToWidgetId(e.href))return!1;n.push(e)})),n}updateAriaExpandedOfTriggerElements(e){elementorFrontend.elements.window.document.body.querySelectorAll(`[aria-controls="off-canvas-${this.getID()}"]`).forEach((t=>{t.setAttribute("aria-expanded",e)}))}isActionUrlIdEqualToWidgetId(e){let t={};const n=decodeURIComponent(e).match(/settings=(.+)/);return n&&(t=JSON.parse(atob(n[1]))),this.getID()===t?.id}isVisible(){return"false"===this.elements.$wrapper.attr("aria-hidden")}maybeDragWidgetsBeneathOverlay(){this.elements.$overlay.toggleClass("no-pointer-events")}onElementChange(e){"editing_mode"===e&&this.handleEditingModeToggle(),"has_overlay"===e&&this.maybeDragWidgetsBeneathOverlay("has_overlay")}handleElementHandlers(){this.isOffCanvasOpenedOnce||((0,o.default)(this.elements.$main[0].querySelectorAll(".e-off-canvas__content")),this.isOffCanvasOpenedOnce=!0)}initKeyboardHandler(){this.keyboardHandler||(this.keyboardHandler=new i.default(this.getKeyboardHandlingConfig()))}}t.default=OffCanvas}}]);
[+]
..
[-] display-conditions.js
[edit]
[-] jszip.vendor.a3c65615c1de5560962d.bundle.js
[edit]
[-] frontend.min.js
[edit]
[-] hotspot.70886883c622dd8d5eb2.bundle.js
[edit]
[-] nested-carousel-editor.2fdc278ce6bc9f6ec2e0.bundle.js
[edit]
[-] off-canvas-editor.f188d072365885d9b0dd.bundle.min.js
[edit]
[-] woocommerce-purchase-summary.46445ab1120a8c28c05c.bundle.min.js
[edit]
[-] webpack-pro.runtime.min.js
[edit]
[-] search-form.4beabae7f0e0a3129ef7.bundle.js
[edit]
[-] archive-posts.0aae8c3bd7d196797b6c.bundle.js
[edit]
[-] countdown.be941c879efa861dbbfa.bundle.min.js
[edit]
[-] animated-headline.3efc6517c2a055f6c242.bundle.min.js
[edit]
[-] social.2d2e44e8608690943f29.bundle.min.js
[edit]
[-] woocommerce-my-account.6509f179e93231fa2b6a.bundle.js
[edit]
[-] social.deeefd0e3641200f8239.bundle.js
[edit]
[-] video-playlist.74fca1f2470fa6474595.bundle.min.js
[edit]
[-] menu-title-keyboard-handler.8482fb61223805f5ee8f.bundle.min.js
[edit]
[-] form-submission-admin.js
[edit]
[-] frontend.js
[edit]
[-] form-submission-admin.min.js
[edit]
[-] mega-menu.2e0078a6bbdc8abdf4af.bundle.js
[edit]
[-] woocommerce-notices.aaa7a3d06f24f7ea6951.bundle.min.js
[edit]
[-] ajax-pagination.a8dae0f5699fe9733e7d.bundle.min.js
[edit]
[-] code-highlight.28a979661569ddbbf60d.bundle.min.js
[edit]
[-] progress-tracker.3ec316715116e9087057.bundle.js
[edit]
[-] lottie.565b778d23c04461c4ea.bundle.min.js
[edit]
[-] archive-posts.d30c917134774f65dd6d.bundle.min.js
[edit]
[-] search.5154a7b515b28ee3dfe6.bundle.js
[edit]
[-] loop-filter-editor.d1bae86a5ed21c0e9981.bundle.js
[edit]
[-] webpack-pro.runtime.js
[edit]
[-] page-transitions.js
[edit]
[-] gutenberg-woocommerce-notice.js
[edit]
[-] admin.min.js
[edit]
[-] contact-buttons-var-10.5ceb4ecd2152a5f8b96e.bundle.js
[edit]
[-] posts.5d2d70b1d6918b6d8205.bundle.js
[edit]
[-] carousel.9b02b45d7826c1c48f33.bundle.min.js
[edit]
[-] loop.27d8ba43536f8b76ca41.bundle.js
[edit]
[-] woocommerce-cart.fc30c6cb753d4098eff5.bundle.min.js
[edit]
[-] editor.min.js
[edit]
[-] progress-tracker.53951a08af7543da98e6.bundle.min.js
[edit]
[-] woocommerce-my-account.3ee10d01e625dad87f73.bundle.min.js
[edit]
[-] ef74929d267aeb27fc93.bundle.js
[edit]
[-] off-canvas.38087f3bf0da88e5e2e9.bundle.min.js
[edit]
[-] mega-menu-editor.88e3947c99f378d080db.bundle.js
[edit]
[-] contact-buttons.09c69d0d12aa67f9133e.bundle.min.js
[edit]
[-] page-transitions.min.js
[edit]
[-] gutenberg-woocommerce-notice.min.js
[edit]
[-] media-carousel.d8417210e0b731dd32b8.bundle.js
[edit]
[-] carousel.998a291abf70435fd698.bundle.js
[edit]
[-] product-add-to-cart.e099bc90899376d00959.bundle.js
[edit]
[-] editor.min.js.LICENSE.txt
[edit]
[-] mega-menu-editor.06a345ed56efe063f971.bundle.min.js
[edit]
[-] stripe-button.2acbca466dfeb9585680.bundle.min.js
[edit]
[-] woocommerce-checkout-page.b18af78282979b6f74e4.bundle.min.js
[edit]
[-] paypal-button.3d0d5af7df85963df32c.bundle.min.js
[edit]
[-] screenshot.js
[edit]
[-] taxonomy-filter.9d41aac2f76c01cfdb42.bundle.js
[edit]
[-] mega-menu-stretch-content.4648b25d00c1f94cec4e.bundle.js
[edit]
[-] off-canvas-editor.537e5e064206eea190cc.bundle.js
[edit]
[-] load-more.ad89e46f2f6bfd9c27e8.bundle.js
[edit]
[-] 60745ddf42fde6647dbc.bundle.min.js
[edit]
[-] loop-carousel.4e8fd6593adbba21698e.bundle.min.js
[edit]
[-] product-add-to-cart.023d7d31fbf96c3dbdfc.bundle.min.js
[edit]
[-] off-canvas.26fe37796a9397d32c9f.bundle.js
[edit]
[-] stripe-button.b00915f9aec396f7b070.bundle.js
[edit]
[-] table-of-contents.d228157a74585ba6b08c.bundle.js
[edit]
[-] nested-carousel.3ff3a0e309cbbd122254.bundle.min.js
[edit]
[-] loop.4f538ab2476dd2d124e6.bundle.min.js
[edit]
[-] paypal-button.3028ea98fc2e17fdfe8f.bundle.js
[edit]
[-] form.c4bc7eaa69583834a7d5.bundle.min.js
[edit]
[-] preview.min.js
[edit]
[-] gallery.8ca9a354ce039d1ba641.bundle.min.js
[edit]
[-] gallery.805130d33e18cb04635f.bundle.js
[edit]
[-] share-buttons.58e0fcb000aa02df3f24.bundle.js
[edit]
[-] video-playlist.964a12bbea2078517f07.bundle.js
[edit]
[-] load-more.bc9573b5d1f73abd80b9.bundle.min.js
[edit]
[-] admin.js
[edit]
[-] taxonomy-filter.b42e9c10a9d0abc3454e.bundle.min.js
[edit]
[-] share-buttons.08f4daf4a4285a8632b8.bundle.min.js
[edit]
[-] table-of-contents.8fd1a0cc520a3fc67bd8.bundle.min.js
[edit]
[-] slides.fb6b9afd278bb9c5e75b.bundle.min.js
[edit]
[-] slides.3b185c687f9167dfae0c.bundle.js
[edit]
[-] nav-menu.e65811186e94a386ba7b.bundle.min.js
[edit]
[-] hotspot.6ab1751404c381bfe390.bundle.min.js
[edit]
[-] contact-buttons.5f4d4ece4d991cd56a20.bundle.js
[edit]
[-] contact-buttons-var-10.b255e00e3feea456660f.bundle.min.js
[edit]
[-] qunit-tests.min.js
[edit]
[-] lottie.a00fda0bbf10f9b99eae.bundle.js
[edit]
[-] popup.085c1727e36940b18f29.bundle.min.js
[edit]
[-] display-conditions.min.js
[edit]
[-] jszip.vendor.99a5b769619f50a6cb60.bundle.min.js
[edit]
[-] custom-code.min.js
[edit]
[-] search.d0787a5c582ce238adf0.bundle.min.js
[edit]
[-] custom-code.js
[edit]
[-] woocommerce-cart.73c6990b0b1a1ea18220.bundle.js
[edit]
[-] woocommerce-menu-cart.faa7b80e9ba9e5072070.bundle.min.js
[edit]
[-] nav-menu.3302c748e084579995fb.bundle.js
[edit]
[-] popup.1f90f6cfd0d44ef28772.bundle.js
[edit]
[-] nested-carousel.c8ad1035e988a2ae42b1.bundle.js
[edit]
[-] ajax-pagination.bc400e6cb24a14a2ea97.bundle.js
[edit]
[-] form.97ef0fd396471477cc8e.bundle.js
[edit]
[-] nested-carousel-editor.6337dab68af203be7c04.bundle.min.js
[edit]
[-] portfolio.b5c5e89624dc6b81a11a.bundle.min.js
[edit]
[+]
notes
[-] portfolio.9a52c1f0953359d74119.bundle.js
[edit]
[-] elements-handlers.min.js
[edit]
[-] countdown.60cf02eaf22d71d83f3d.bundle.js
[edit]
[-] elements-handlers.js
[edit]
[-] app.min.js
[edit]
[-] woocommerce-notices.d8c0850de1984ac89f33.bundle.js
[edit]
[-] menu-title-keyboard-handler.b34510de747c3b311e45.bundle.js
[edit]
[-] animated-headline.e4c2ed3934d0df18c40a.bundle.js
[edit]
[-] jszip.vendor.99a5b769619f50a6cb60.bundle.min.js.LICENSE.txt
[edit]
[-] woocommerce-checkout-page.9b1242f2568f94bb8d5c.bundle.js
[edit]
[-] editor.js
[edit]
[-] code-highlight.8b676d9a001f56fb77fa.bundle.js
[edit]
[-] woocommerce-purchase-summary.8d56a92f38ab4fc4575f.bundle.js
[edit]
[-] woocommerce-menu-cart.010ec7298aee1fcdc2ea.bundle.js
[edit]
[-] 98217e0c00e1f53421ef.bundle.js
[edit]
[-] posts.caaf3e27e57db8207afc.bundle.min.js
[edit]
[-] loop-carousel.827a11bd7f1b0343de42.bundle.js
[edit]
[-] app.js
[edit]
[-] screenshot.min.js
[edit]
[-] mega-menu-stretch-content.60ca9e1e97c52ac3bf8c.bundle.min.js
[edit]
[-] preview.js
[edit]
[-] search-form.a25a87283d08dad12f18.bundle.min.js
[edit]
[-] 60745ddf42fde6647dbc.bundle.min.js.LICENSE.txt
[edit]
[-] cf897f631f64e6c79d99.bundle.min.js
[edit]
[-] mega-menu.43866105e5e8e1a3f38d.bundle.min.js
[edit]
[-] loop-filter-editor.21982d6e76a4fba12cd5.bundle.min.js
[edit]
[-] qunit-tests.js
[edit]
[-] media-carousel.aca2224ef13e6f999011.bundle.min.js
[edit]
[+]
packages