PATH:
home
/
lab2454c
/
foreclass.com
/
wp-content
/
plugins
/
updraftplus
/
includes
/
checkout-embed
/
assets
!function(e){var t={loading:!1,init:function(){var t=e("a[data-embed-checkout]");if(t.length){var o=this;e(document).on("click","a[data-embed-checkout]",function(t){t.preventDefault(),o.modal.open(e(this))})}},modal:{open:function(e){this.$target=e,(!this.product_url||this.product_url&&this.product_url!=e.data("embed-checkout"))&&(this.product_url=e.data("embed-checkout")),this.show_checkout()},setup:function(){this.$el&&(this.$el.remove(),this.$el=null);var t=e("#udp-modal-template").html();this.$el=e(t),window.addEventListener("message",function(t){var o=t.data;if(o&&o.action)switch(o.action){case"domready":this.$el.removeClass("loading");break;case"closemodal":e(document).trigger("udp/checkout/close",o.data,this.$target),this.close();break;case"ordercomplete":console.log("Order complete:",o.data),e(document).trigger("udp/checkout/done",o.data,this.$target)}}.bind(this))},close:function(t){t&&t.preventDefault(),e("body").removeClass("udp-modal-is-opened"),this.$iframe&&(this.$iframe.remove(),this.$iframe_container.remove()),this.$el.hide()},show_checkout:function(){window.location.assign(this.product_url)}}};jQuery(function(e){t.init()})}(jQuery);
[-] udp-checkout-embed-1-16-41.min.js
[edit]
[+]
..
[-] udp-checkout-embed-1-16-41.min.css
[edit]
[-] udp-checkout-embed-1-16-41.min.css.map
[edit]
[-] udp-checkout-embed.js
[edit]
[-] loader.svg
[edit]
[-] udp-checkout-embed.css
[edit]