(()=>{"use strict";var e,o={65966:()=>{},80245:(e,o,r)=>{(0,r(63071).cfwDomReady)((()=>{const e=jQuery("a#deactivate-checkout-for-woocommerce");e.addClass("cfw-deactivate-link");const o=e.attr("href"),r=e.modaal({content_source:"#cfw-deactivation-survey",hide_close:!0,is_locked:!0,custom_class:"cfw-tw"});jQuery(document.body).on("change",'#cfw-deactivation-survey-form input[name="reason"]',(e=>{"other"===jQuery(e.target).val()?jQuery("#cfw-deactivation-survey-form #cfw_reason_other").show():jQuery("#cfw-deactivation-survey-form #cfw_reason_other").hide(),jQuery("#cfw_deactivate_submit").show(),jQuery("#cfw_skip_deactivate").hide()})),jQuery(document.body).on("submit","form#cfw-deactivation-survey-form",(e=>{e.preventDefault();const t=jQuery("form#cfw-deactivation-survey-form").serializeArray(),a={};jQuery.each(t,((e,o)=>{a[o.name]=o.value})),jQuery.ajax({type:"POST",url:cfwAdminPluginsScreenData.remote_url,beforeSend(e){e.setRequestHeader("x-api-key","5fPiyDFwGrnZjiCHnLXAU6CLvLbM5vfOOaAa3xwQ")},data:Object.assign({},a),complete(){window.location.replace(o),r.modaal("close")}})})),jQuery(document.body).on("click","#cfw_skip_deactivate",(e=>{e.preventDefault(),window.location.replace(o)})),jQuery(document.body).on("click","#cfw_skip_deactivate, #cfw_deactivation_survey_close_button",(e=>{e.preventDefault(),r.modaal("close")}))}))}},r={};function t(e){var a=r[e];if(void 0!==a)return a.exports;var c=r[e]={exports:{}};return o[e](c,c.exports,t),c.exports}t.m=o,e=[],t.O=(o,r,a,c)=>{if(!r){var i=1/0;for(f=0;f<e.length;f++){for(var[r,a,c]=e[f],n=!0,u=0;u<r.length;u++)(!1&c||i>=c)&&Object.keys(t.O).every((e=>t.O[e](r[u])))?r.splice(u--,1):(n=!1,c<i&&(i=c));if(n){e.splice(f--,1);var s=a();void 0!==s&&(o=s)}}return o}c=c||0;for(var f=e.length;f>0&&e[f-1][2]>c;f--)e[f]=e[f-1];e[f]=[r,a,c]},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={977:0,365:0};t.O.j=o=>0===e[o];var o=(o,r)=>{var a,c,[i,n,u]=r,s=0;if(i.some((o=>0!==e[o]))){for(a in n)t.o(n,a)&&(t.m[a]=n[a]);if(u)var f=u(t)}for(o&&o(r);s<i.length;s++)c=i[s],t.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return t.O(f)},r=globalThis.webpackChunkcheckout_for_woocommerce=globalThis.webpackChunkcheckout_for_woocommerce||[];r.forEach(o.bind(null,0)),r.push=o.bind(null,r.push.bind(r))})(),t.O(void 0,[814,365],(()=>t(65966))),t.O(void 0,[814,365],(()=>t(73608)));var a=t.O(void 0,[814,365],(()=>t(80245)));a=t.O(a)})();