!function(){var t={946(){document.addEventListener("DOMContentLoaded",function(){const t=document.querySelector(".ct-waitlist-export");t&&t.addEventListener("click",function(t){t.preventDefault(),async function(){const t=new FormData;t.append("action","blocksy_ext_waitlist_export_users"),t.append("nonce",(window.ctDashboardLocalizations||window.ct_localizations||window.ct_customizer_localizations).dashboard_actions_nonce);const n=new URLSearchParams(window.location.search);n.has("product_id")&&t.append("product_id",n.get("product_id")),n.has("variation_id")&&t.set("product_id",n.get("variation_id"));try{const n=await fetch(ajaxurl,{method:"POST",body:t});if(200===n.status){const t=await n.json();t.success&&t.data.url&&window.open(t.data.url).focus()}}catch(t){}}()})})}},n={};function o(e){var a=n[e];if(void 0!==a)return a.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,o),r.exports}o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,{a:n}),n},o.d=function(t,n){for(var e in n)o.o(n,e)&&!o.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},function(){"use strict";o(946)}()}();