(()=>{"use strict";var e,t={894:(e,t,a)=>{const o=window.wp.domReady;a.n(o)()(()=>{const e=jQuery("#product-type");if(e){const t=e.val(),a=NewfoldSolutionsUpsell||[];let o=[];for(let a of e.find("option"))o.push(new Option(a.text,a.value,t===a.value));for(let e of a)o.push(new Option(e.option_label,e.basename));e.html(o).val(t),e.selectWoo({minimumResultsForSearch:1/0,templateResult:e=>a.find(t=>e.id===t.basename)?jQuery("<span>"+e.text+'<span class="premium-plugin-icon"></span></span>'):e.text}),e.next(".select2").on("click",e=>e.stopPropagation()),e.on("select2:selecting",t=>{const o=a.find(e=>t.params.args.data.id===e.basename);if(o){t.preventDefault(),t.stopPropagation(),e.selectWoo("close"),jQuery(document.body).find(".nfd-solution-upsell-trigger").remove();const a=jQuery('<a href="#" class="nfd-solution-upsell-trigger"></a>');a.attr("data-ctb-id",o.ctbId).attr("data-nfd-installer-plugin-activate",!o.ctbId||void 0).attr("data-nfd-installer-download-url",o.ctbId?void 0:o.download).attr("data-nfd-installer-plugin-basename",o.ctbId?void 0:o.basename).attr("data-nfd-installer-plugin-name",o.ctbId?void 0:o?.name).attr("data-nfd-installer-pls-provider",o.ctbId?void 0:o.plsProviderName).attr("data-nfd-installer-pls-slug",o.ctbId?void 0:o.plsSlug),jQuery(document.body).append(a),document.querySelector(".nfd-solution-upsell-trigger").click()}})}})}},a={};function o(e){var n=a[e];if(void 0!==n)return n.exports;var l=a[e]={exports:{}};return t[e](l,l.exports,o),l.exports}o.m=t,e=[],o.O=(t,a,n,l)=>{if(!a){var r=1/0;for(u=0;u<e.length;u++){for(var[a,n,l]=e[u],s=!0,i=0;i<a.length;i++)(!1&l||r>=l)&&Object.keys(o.O).every(e=>o.O[e](a[i]))?a.splice(i--,1):(s=!1,l<r&&(r=l));if(s){e.splice(u--,1);var d=n();void 0!==d&&(t=d)}}return t}l=l||0;for(var u=e.length;u>0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[a,n,l]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={557:0,124:0};o.O.j=t=>0===e[t];var t=(t,a)=>{var n,l,[r,s,i]=a,d=0;if(r.some(t=>0!==e[t])){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(i)var u=i(o)}for(t&&t(a);d<r.length;d++)l=r[d],o.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return o.O(u)},a=globalThis.webpackChunk_newfold_labs_wp_module_solutions=globalThis.webpackChunk_newfold_labs_wp_module_solutions||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var n=o.O(void 0,[124],()=>o(894));n=o.O(n)})();