File "woo-purchase-subscription.js"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/woocommerce/assets/client/admin/wp-admin-scripts/woo-purchase-subscription.js
File size: 835 bytes
MIME-type: text/plain
Charset: utf-8
(()=>{"use strict";var e={n:o=>{var r=o&&o.__esModule?()=>o.default:()=>o;return e.d(r,{a:r}),r},d:(o,r)=>{for(var n in r)e.o(r,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:r[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o);const r=window.wp.domReady;var n=e.n(r);const t=window.wc.tracks;n()((()=>{const e=document.querySelectorAll(".woocommerce-purchase-subscription");e.length>0&&((0,t.recordEvent)("woo_purchase_subscription_in_plugins_shown"),e.forEach((e=>{e.addEventListener("click",(function(){(0,t.recordEvent)("woo_purchase_subscription_in_plugins_clicked")}))})))})),(window.wc=window.wc||{}).wooPurchaseSubscription=o})();