JezK
Edit File: woo-plugin-update-connect-notice.js
(()=>{"use strict";var e={n:o=>{var t=o&&o.__esModule?()=>o.default:()=>o;return e.d(t,{a:t}),t},d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)};const o=window.wp.domReady;var t=e.n(o);const n=window.wc.tracks,c="tr[data-plugin-row-type]";t()(()=>{!function(e,o){const t=Array.from(document.querySelectorAll(".woocommerce-connect-your-store")),r=t.filter(e=>!e.closest(c)),d=t.filter(e=>e.closest(c));r.length>0&&((0,n.recordEvent)(`${o}_shown`),r.forEach(e=>{e.addEventListener("click",()=>{(0,n.recordEvent)(`${o}_clicked`)})})),d.length>0&&((0,n.recordEvent)(`${o}_shown`,{no_update:!0}),d.forEach(e=>{e.addEventListener("click",()=>{(0,n.recordEvent)(`${o}_clicked`,{no_update:!0})})}))}(0,"woo_connect_notice_in_plugins")}),(window.wc=window.wc||{}).wooPluginUpdateConnectNotice={}})();