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([[315],{6315:(e,t,n)=>{var o=n(8003).__,a=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(4124));class TemplateQueryControl extends i.default{ui(){return{...super.ui(),newButton:'button[data-action="new"]',editButton:'button[data-action="edit"]'}}events(){return{...super.events(),"click @ui.newButton":"onNewButtonClicked","click @ui.editButton":"onEditButtonClicked"}}onRender(){super.onRender(...arguments),this.toggleButtons(this.getControlValue())}onBaseInputChange(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];super.onBaseInputChange(...t),this.toggleButtons(this.getInputValue(t[0].currentTarget))}toggleButtons(e){e?this.showEditTemplateButton():this.showNewTemplateButton()}showNewTemplateButton(){this.ui.newButton.get(0).style.display="block",this.ui.editButton.get(0).style.display="none"}showEditTemplateButton(){this.ui.newButton.get(0).style.display="none",this.ui.editButton.get(0).style.display="block"}async onNewButtonClicked(){this.createTemplate()}createTemplate(){this.confirmSaveBeforeTemplateCreateDialog||(this.confirmSaveBeforeTemplateCreateDialog=elementorCommon.dialogsManager.createWidget("confirm",{id:"e-confirm-save-before-template-create",headerMessage:o("Save Changes","elementor-pro"),message:o("Would you like to save the changes you've made?","elementor-pro"),position:{my:"center center",at:"center center"},strings:{confirm:o("Save","elementor-pro"),cancel:o("Discard","elementor-pro")},onConfirm:async()=>{await this.onConfirmCreateTemplate()}})),this.confirmSaveBeforeTemplateCreateDialog.show()}async onConfirmCreateTemplate(){$e.internal("panel/state-loading");const e=await this.createAndSetTemplate();this.afterAction("new",e),$e.internal("panel/state-ready")}async createAndSetTemplate(){const e=this.model.get("name"),t=this.options.container.controls[e].actions.new.document_config.type,n=this.getTemplateSourceTypeValue(),o=await $e.data.create("library/templates",{type:t,page_settings:{source:n}}),a=parseInt(o.data.template_id);return this.setValue(a),a}getTemplateSourceTypeValue(){return"repeater"===this.options?.container?.args?.type?this.options.container.renderer.args.settings.attributes._skin||void 0:this.options.container.controls._skin?this.options.container.panel.getControlView("_skin").getControlValue():void 0}async switchDocument(e){await $e.run("editor/documents/switch",{id:parseInt(e),mode:"save"});const t=elementor.documents.getCurrent();t.config.container_attributes&&t.config.container_attributes.class&&t.$element.addClass(t.config.container_attributes.class)}async onEditButtonClicked(){this.afterAction("edit",this.getControlValue())}getSelect2Placeholder(){return{id:"",text:o("Start typing its name","elementor-pro")}}async afterAction(e,t){"switch_document"===("new"===e?this.ui.newButton[0].getAttribute("data-after-action"):this.ui.editButton[0].getAttribute("data-after-action"))?await this.switchDocument(t):window.open(this.getThemeBuilderURL(t),"_blank")}getThemeBuilderURL(e){return`${elementor.config.admin_url}post.php?post=${e}&action=elementor`}}t.default=TemplateQueryControl}}]);
[+]
..
[-] 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]