1function fca_ept_render_toggle(t){return t.attributes.togglePeriodToggle?el("div",{style:{display:t.attributes.togglePeriodToggle?"block":"none"},className:"fca-ept-toggle-period-container"},el(wp.blockEditor.RichText,{style:{fontSize:t.attributes.toggleFontSize},allowedFormats:fca_ept_allowed_formats,className:"fca-ept-toggle-1",placeholder:"Monthly",type:"text",tagName:"span",value:t.attributes.togglePeriodText1,onClick:function(){fca_ept_update_ui_state(t,"toggle")},onChange:function(e){t.setAttributes({togglePeriodText1:e})}}),el("label",{className:"fca-ept-switch"},el("input",{type:"checkbox",checked:t.attributes.togglePeriod,className:"fca-ept-period-toggle",onChange:function(e){t.setAttributes({togglePeriod:!t.attributes.togglePeriod})}}),el("span",{className:"fca-ept-slider fca-ept-round",style:{backgroundColor:"layout6"===t.attributes.selectedLayout?t.attributes.accentColor:t.attributes.buttonColor}})),el(wp.blockEditor.RichText,{style:{fontSize:t.attributes.toggleFontSize},allowedFormats:fca_ept_allowed_formats,className:"fca-ept-toggle-2",placeholder:"Yearly",type:"text",tagName:"span",value:t.attributes.togglePeriodText2,onClick:function(){fca_ept_update_ui_state(t,"toggle")},onChange:function(e){t.setAttributes({togglePeriodText2:e})}})):null}function fca_ept_get_toggle_planImage(t,e){var o=JSON.parse(t.attributes.columnSettings);if(t.attributes.togglePeriod){if(woo_products&&o[e].wooProductID2){if((r=woo_products.filter(function(t){return t.value===o[e].wooProductID2})).length)return r[0].image}}else if(woo_products&&o[e].wooProductID1){var r=woo_products.filter(function(t){return t.value===o[e].wooProductID1});if(r.length)return r[0].image}return o[e].planImage}function fca_ept_get_toggle_plantext(t,e){var o=JSON.parse(t.attributes.columnSettings);if(t.attributes.togglePeriod){if(!woo_products||!o[e].wooProductID2)return o[e].planText2;if(o[e].useCustomWooTitle2)return o[e].useCustomWooTitle2;if((r=woo_products.filter(function(t){return t.value===o[e].wooProductID2})).length)return r[0].label}else{if(!woo_products||!o[e].wooProductID1)return o[e].planText1;if(o[e].useCustomWooTitle1)return o[e].useCustomWooTitle1;var r=woo_products.filter(function(t){return t.value===o[e].wooProductID1});if(r.length)return r[0].label}}function fca_ept_get_toggle_pricetext(t,e){var o=JSON.parse(t.attributes.columnSettings);if(t.attributes.togglePeriod){if(woo_products&&o[e].wooProductID2){if((r=woo_products.filter(function(t){return t.value===o[e].wooProductID2})).length)return r[0].price}return o[e].priceText2}if(woo_products&&o[e].wooProductID1){var r=woo_products.filter(function(t){return t.value===o[e].wooProductID1});if(r.length)return r[0].price}return o[e].priceText1}function fca_ept_get_toggle_buttonurl(t,e){var o=JSON.parse(t.attributes.columnSettings);if(t.attributes.togglePeriod){if(woo_products&&o[e].wooProductID2){if((r=woo_products.filter(function(t){return t.value===o[e].wooProductID2})).length)return r[0].url}return o[e].buttonURL2}if(woo_products&&o[e].wooProductID1){var r=woo_products.filter(function(t){return t.value===o[e].wooProductID1});if(r.length)return r[0].url}return o[e].buttonURL1}if(fcaEptEditorData.woo_integration){var woo_products=[{label:"Loading..."}],$=jQuery;$.ajax({url:fcaEptEditorData.ajax_url,type:"POST",data:{action:"fca_ept_get_woo_products_ajax"}}).done(function(t){if(t&&t.success){var e=t.data.reverse();e.length?(woo_products=[],e.map(function(t){woo_products.push({value:t.id,label:t.title,price:t.price,image:t.image,url:t.url})})):(woo_products=[]).push({value:0,label:"No Woo products found!"})}else t.data?alert(t.data):alert("An error occurred :(")})}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.