PageSourceSearch

https://woocommerce.com/_static/??/wp-content/plugins/dist/woothem…/dist/wccom-plugins.min.js?m=1790225767j

js woocommerce.com collected 2026-09-24 07:55:18 UTC 22,189 bytes, 2 lines download raw bytes

1(()=>{"use strict";var e={7437(e,t,r){function c(e){if(!["analytics","advertising"].includes(e))throw new Error("Unrecognised cookie consent type "+e);const t=(r=`wccom_cookie_consent_${e}`,document.cookie.split("; ").find((e=>e.startsWith(r+"=")))?.split("=")[1]);var r;if("denied"===t)return!1;if("advertising"===e&&"granted"!==t){if(document.body.classList.contains("gdpr"))return!1;if(document.body.classList.contains("us"))return!1;if(navigator?.globalPrivacyControl)return!1}return!0}r.d(t,{Dq:()=>c});const n={canTrackUser:c};window.wccom=window.wccom||{},window.wccom=Object.assign(window.wccom,n)}},t={};function r(c){var n=t[c];if(void 0!==n)return n.exports;var a=t[c]={exports:{}};return e[c](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var c in t)r.o(t,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var c,n,a=r(7437);window.wccom=window.wccom||{},wccom.fireTracksEvent=function(e,t,r){e.match(/^[a-z_][a-z0-9_]*$/),window?.localStorage?.getItem("wccom-tracks-debug");const c=()=>{void 0===t&&(t={}),wccom.fillReferer(t),t.current_url=window.location.href;const r=new FormData;r.append("action","woothemes_tracks_ajax"),r.append("event_name",e);for(const e of Object.keys(t))r.append("properties["+e+"]",t[e]);if(navigator.sendBeacon){const e=navigator.sendBeacon(wteVars.ajaxurl,r);if(wccom.isFiringFirstTrack=!1,e)return void(wccom.hasFiredFirstTrack=!0)}const c={action:"woothemes_tracks_ajax",event_name:e,properties:t};jQuery.post(wteVars.ajaxurl,c).done((function(){wccom.hasFiredFirstTrack=!0,wccom.isFiringFirstTrack=!1})).fail((function(){wccom.isFiringFirstTrack=!1}))};(r||(0,a.Dq)("analytics"))&&wccom.canFireTrack()?(wccom.hasFiredFirstTrack||(wccom.isFiringFirstTrack=!0),c()):wccom.addTrackCallback(c)},wccom.waitUntilCanSendTracks=function(){return new Promise((e=>{setTimeout((function t(){(0,a.Dq)("analytics")&&wccom.canFireTrack()?e():setTimeout(t,250)}),0)}))},wccom.addTrackCallback=(c=[],n=null,function(e){"function"==typeof e&&(c.push(e),n||(n=wccom.waitUntilCanSendTracks()).then((()=>(c.forEach((e=>e())),void(c=[])))))}),wccom.hasFiredFirstTrack=!1,wccom.isFiringFirstTrack=!1,wccom.isTrackIdSet=function(){return Boolean(function(){let e="";const t=("; "+document.cookie).split("; woo_tk_ai=");return 2===t.length&&(e=t.pop().split(";").shift()),e}())},wccom.canFireTrack=function(){const e="1"===wteVars.authenticated;return wccom.isTrackIdSet()||e||!wccom.hasFiredFirstTrack&&!wccom.isFiringFirstTrack},wccom.fillReferer=function(e){void 0!==e._via_ref&&""!==e._via_ref||(e._via_ref=""!==document.referrer?document.referrer:window.location.href)},jQuery((function(){jQuery("#subscription-download").on("click",(function(){var e=jQuery(this).data("product-name");wccom.fireTracksEvent("subscription_download",{product_name:e})})),jQuery("#normal-download").on("click",(function(){var e=jQuery(this).data("product-name");wccom.fireTracksEvent("normal_download",{product_name:e})})),jQuery("#wc-install-button").on("click",(function(){wccom.fireTracksEvent("woocommerce_install")})),jQuery("#theme_demo_link").on("click",(function(){var e;e=jQuery(this).data("theme-name"),wccom.fireTracksEvent("demo_link_clicked",{product_name:e})})),jQuery("#theme_buynow_link").on("click",(function(){var e;e=jQuery(this).data("theme-name"),wccom.fireTracksEvent("buy_now_link_clicked",{product_name:e})})),jQuery(document).on("wtTracksRecord",(function(e){wccom.fireTracksEvent(e.detail.name,e.detail.props)})),jQuery(".wccom-breadcrumb a").on("click",(function(e){var t={label:e.delegateTarget.text,href:e.delegateTarget.href,url:document.location.href};wccom.fireTracksEvent("bread_crumb_clicked",t)})),jQuery(document).on("click",".single_add_to_cart_button",(function(e){var t=e.currentTarget;!function(e){let t,r,c=!1;function n(){c||(c=!0,void 0!==t&&(window.cancelAnimationFrame(t),t=void 0),void 0!==r&&(window.cancelAnimationFrame(r),r=void 0),document.removeEventListener("visibilitychange",a),window.removeEventListener("pagehide",n),e())}function a(){document.hidden&&n()}document.addEventListener("visibilitychange",a),window.addEventListener("pagehide",n),document.hidden?n():t=window.requestAnimationFrame((()=>{t=void 0,r=window.requestAnimationFrame(n)}))}((function(){!function(e){var t=e.dataset.tracksPosition,r=e.dataset.tracksIs_paid,c=e.dataset.tracksIs_freemium,n=e.dataset.tracksFreemium_type,a=e.dataset.tracksIs_trending,o=e.dataset.tracksSource,i=e.dataset.tracksProductId,s=e.dataset.tracksIsBusinessService,d=e.dataset.tracksSubscription_plan,u=e.dataset.tracksPage_type,m=e.dataset.tracksUsed_currency,w={position:t,is_paid:r,is_trending:a,is_freemium:c,is_business_service:s,product_id:i,source:o};void 0!==n&&(w.freemium_type=n),void 0!==d&&(w.subscription_plan=d),void 0!==u&&(w.page_type=u),void 0!==m&&(w.used_currency=m);var l=new URLSearchParams(window.location.search).get("utm_source");l&&(w.utm_source=l),wccom.fireTracksEvent("add_to_cart_button_clicked",w)}(t)}))})),jQuery('a[href*="add-cart-item="]').on("click",(function(e){var t=e.delegateTarget.href.split("add-cart-item=")[1].replace(/[^\d]/g,"");t&&wccom.fireTracksEvent("add_cart_item_button_clicked",{product_id:parseInt(t,10)})})),jQuery(document).on("click","[data-tracks]",(function(e){var t=e.currentTarget.dataset.tracks,r={};if(t){for(var c in e.currentTarget.dataset)e.currentTarget.dataset.hasOwnProperty(c)&&"tracks"===c.substring(0,6)&&"tracks"!==c&&"tracksView"!==c&&"tracksViewThreshold"!==c&&(r[c.substring(6).toLowerCase()]=e.currentTarget.dataset[c]);r.url?.includes("/wp-admin/")&&(r.url=document.location.href),wccom.fireTracksEvent(t,r)}})),jQuery("body").on("click",".wc-block-cart__submit-button",(function(){wccom.fireTracksEvent("cart_continue_button_clicked")}));var e=document.querySelectorAll("[data-tracks-view]");if(0<e.length){var t=function(e){var t=parseFloat(e.dataset.tracksViewThreshold);return isNaN(t)||0>t||1<t?.75:t},r=[.75];e.forEach((function(e){var c=t(e);-1===r.indexOf(c)&&r.push(c)})),r.sort((function(e,t){return e-t}));var c=new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var r=e.target,n=t(r);if(!(e.intersectionRatio<n)){var a=r.dataset.tracksView;if(a){var o={};for(var i in r.dataset)r.dataset.hasOwnProperty(i)&&"tracks"===i.substring(0,6)&&"tracks"!==i&&"tracksView"!==i&&"tracksViewThreshold"!==i&&(o[i.substring(6).toLowerCase()]=r.dataset[i]);o.url=document.location.href;var s=new URLSearchParams(window.location.search).get("q");s&&(o.query=s),wccom.fireTracksEvent(a,o),c.unobserve(r)}}}}))}),{root:null,rootMargin:"0px",threshold:r});e.forEach((function(e){c.observe(e)}))}}))})();;
2(()=>{var e={6112(){!function(){function e(e){const t=[].slice.call(e.currentTarget.classList),o={properties:{}};t.forEach((function(e){const t=e.split("__");if(e.includes("wccom-tracks-name"))o.name=t[1];else{const e=t[1],n=t[2];e&&n&&(o.properties[e]=n)}})),o.name&&((wccom||{}).fireTracksEvent||function(){})(o.name,o.properties)}function t(e){const t={properties:{}},o=e.currentTarget.dataset,n="wccomTracks";
2for(const e in o)if(n===e)t.name=o[e];else if(e.includes(n)){const n=e.slice(11).toLowerCase().replace(/([A-Z])/g,(function(e){return`_${e.toLowerCase()}`}));t.properties[n]=o[e]}t.name&&((wccom||{}).fireTracksEvent||function(){})(t.name,t.properties)}document.addEventListener("DOMContentLoaded",(function(){[].slice.call(document.getElementsByClassName("wccom-tracks")).forEach((function(t){t.addEventListener("click",e)})),[].slice.call(document.querySelectorAll("[data-wccom-tracks]")).forEach((function(e){e.addEventListener("click",t)}))}))}()}},t={};function o(n){var c=t[n];if(void 0!==c)return c.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}(()=>{"use strict";o(6112);const e={isValidUrl(e){try{const t=["http:","https:"],o=new URL(e);return!!t.includes(o.protocol)&&(!(!e.startsWith(o.protocol+"//")||e.startsWith(o.protocol+"///"))&&/^([a-z0-9]+(-+[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(o.hostname))}catch(e){return!1}},parseUrl(e=window.location.href,t=!1){const o=e.split("?");return t&&(o[0]=o[0].split("#")[0]),o[1]?{url:o[0],params:this.queryStringToObject(o[1])}:{url:o[0],params:{}}},queryStringToObject:e=>(e||window.location.search).replace(/(^\?)/,"").split("&").map(function(e){return this[(e=e.split("="))[0]]=e[1],this}.bind({}))[0],objectToQueryString:e=>Object.keys(e).map((t=>
2e[t]?t+"="+e[t]:t)).join("&"),getLoginUrl(){const{pathname:e,search:t,hash:o}=window.location;let n=`/sso?next=${encodeURIComponent(`${e}${t}${o}`)}`;try{const e=window.sessionStorage.getItem("wccom_landing_referrer");e&&(n+=`&original_referrer=${encodeURIComponent(e)}`)}catch(e){}return n},maybeResizeImage(t,o){const n=e.parseUrl(t).params,c=parseInt(n.w);return n&&"number"==typeof o&&Number.isInteger(c)?e.fixedImageSize(t,c,parseInt(c*o),"resize"):t},fixedImageSize(t,o,n,c="fit"){if(!["fit","resize"].includes(c))return t;const r=e.parseUrl(t),a=r.params;return"object"!=typeof a?t:(["w","h","resize","crop","fit"].forEach((e=>delete a[e])),a[c]=o+","+n,r.url+"?"+this.objectToQueryString(a))},setViewportHeightCSSProperty(){const e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)},uuidv4:()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})),randomId:()=>Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10),countWords:e=>e.split(/\s+/).filter((e=>""!==e)).length,elementInView(e){const t=document.querySelector(e);if(!t||null===t.offsetParent)return!1;const o=t.getBoundingClientRect();return 0<=o.top&&0<=o.left&&o.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&o.right<=(window.innerWidth||document.documentElement.clientWidth)},checkTrapContainerVisibility(e){const t=e.map((e=>new Promise((t=>{const o=window.setInterval((()=>{"hidden"!==window.getComputedStyle(e).visibility&&(t(),window.clearInterval(o))}),25)}))));return Promise.all(t)},roundedMonthlyPrice:(e,t=12)=>Math.ceil(e/t*100)/100,getUserLocation(){const e=(new Date).getTime();return fetch("https://public-api.wordpress.com/geo/?v="+e).then((e=>e.ok?e.json():e.body().then((e=>{throw new Error(e)})))).catch((()=>null))}},t=e;function n(e){return document.cookie.split("; ").find((t=>t.startsWith(e+"=")))?.split("=")[1]}function c(e,t,o){let n="";if(o){const e=new Date;e.setTime(e.getTime()+864e5*o),n=`expires=${e.toUTCString()}; `}document.cookie=`${e}=${t}; ${n}Path=/; SameSite=None; Secure`}function r(e){document.cookie=`${e}=; Path=/; Max-Age=-99999;`}function a(e){let t,o,n=!1;function c(){n||(n=!0,void 0!==t&&(window.cancelAnimationFrame(t),t=void 0),void 0!==o&&(window.cancelAnimationFrame(o),o=void 0),document.removeEventListener("visibilitychange",r),window.removeEventListener("pagehide",c),e())}function r(){document.hidden&&c()}document.addEventListener("visibilitychange",r),window.addEventListener("pagehide",c),document.hidden?c():t=window.requestAnimationFrame((()=>{t=void 0,o=window.requestAnimationFrame(c)}))}jQuery((function(){window.dataLayer=window.dataLayer||[];const e="WCCOM_Data_Layer_Geo_v2",o=n(e),r=e=>{"undefined"!=typeof wccomGTMEE&&e&&(wccomGTMEE.geolocation={countryShort:e.country_short,countryLong:e.country_long,region:e.region,city:e.city},dataLayer.push({event:"geolocation",geolocation:wccomGTMEE.geolocation}))};"undefined"!=typeof wccomGTMEE&&wccomGTMEE.productView&&dataLayer.push({event:"visitor interaction",interaction_name:"view product page",ecommerce:{detail:{products:[{category:wccomGTMEE.product.category,brand:wccomGTMEE.product.brand,name:wccomGTMEE.product.name,id:wccomGTMEE.product.sku,variant:wccomGTMEE.product.revenueType}]}}}),"undefined"!=typeof wccomGTMEE&&wccomGTMEE.orderReceivedView&&dataLayer.push({event:"visitor interaction",interaction_name:"transaction confirmation",net_revenue:wccomGTMEE.order.netRevenue,ecommerce:{currencyCode:wccomGTMEE.currencyCode,purchase:{actionField:{id:wccomGTMEE.order.number,affiliation:wccomGTMEE.order.methodOfPayment,revenue:wccomGTMEE.order.total,tax:wccomGTMEE.order.tax,shipping:wccomGTMEE.order.shippingTotal,coupon:wccomGTMEE.order.coupon},products:wccomGTMEE.order.products}}}),"undefined"!=typeof wccomGTMEE&&wccomGTMEE.checkoutView&&setTimeout((function(){jQuery.fn.commenceCheckoutDLPush()}),0),o?r(JSON.parse(decodeURIComponent(o))):t.getUserLocation().then((t=>{t&&(c(e,encodeURIComponent(JSON.stringify(t)),1),r(t))})).catch((()=>{dataLayer.push({event:"geolocation",geolocation:{}})}));const i=({source:e,isPaid:t,position:o,isInApp:n})=>{const c="sticky_bottom"===o;if(!e)return"external";if(!t&&"add-to-cart-button"!==e)return null;let r;return r=n?c?"in-app sticky mobile":"in-app":t?c?"buy now sticky mobile":"buy n
2ow":c?"free download sticky mobile":"free download",r},d=e=>{jQuery.fn.addToCartDLPush({add_to_cart_btn:e})};jQuery(document).on("click","a.single_add_to_cart_button",(function(e){var t=jQuery(this);if("ajax"===t.attr("data-wccom-cart-method"))return;var o=t.attr("data-tracks-source"),n="1"===t.attr("data-tracks-is_paid"),c=t.attr("data-tracks-position"),r=0<t.closest(".wccom-product-single--in-app").length;const s=i({source:o,isPaid:n,position:c,isInApp:r});if(!s)return;if("undefined"==typeof wccomGTMEE||!window.google_tag_manager||!((e,t)=>!(0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.isDefaultPrevented()||t.target&&"_self"!==t.target||!t.getAttribute("href")))(e,this))return void a((()=>{d(s)}));e.preventDefault();const u=this.href;a((()=>{d(s),window.setTimeout((()=>{window.location.assign(u)}),400)}))})),document.addEventListener("wccom_product_added_to_cart",(e=>{const t=e.detail||{};"ajax"===t.cartMethod&&"add-to-cart-button"===t.source&&d(i(t))})),jQuery(document).on("click",".woocommerce-cart-form a.remove",(function(e){if("undefined"!=typeof wccomGTMEE&&wccomGTMEE.cart){e.preventDefault();var t=jQuery(this).attr("data-product_id");dataLayer.push({event:"visitor interaction",interaction_name:"remove from cart",remove_btn:"remove product",ecommerce:{remove:{products:[{category:wccomGTMEE.cart[t].category,brand:wccomGTMEE.cart[t].brand,name:wccomGTMEE.cart[t].name,id:wccomGTMEE.cart[t].id,variant:wccomGTMEE.cart[t].variant,price:wccomGTMEE.cart[t].price,quantity:wccomGTMEE.cart[t].quantity}]}}}),delete wccomGTMEE.cart[t]}})),jQuery(document).on("click",'.woocommerce-cart-form :input[name="update_cart"]',(function(){if("undefined"!=typeof wccomGTMEE&&wccomGTMEE.cartKeys){var e=wccomGTMEE.cartKeys,t=jQuery(".woocommerce-cart-form"),o=jQuery.fn.formToJSON(t);jQuery.each(e,(function(e,t){var n=t;o["cart["+e+"][qty]"]&&(o["cart["+e+"][qty]"]>t.quantity?(n.quantity=o["cart["+e+"][qty]"]-n.quantity,dataLayer.push({event:"visitor interaction",interaction_name:"add to cart",add_to_cart_btn:"update cart",ecommerce:{add:{products:[{product:n}]}}})):0===parseInt(o["cart["+e+"][qty]"])?dataLayer.push({event:"visitor interaction",interaction_name:"remove from cart",remove_btn:"update cart",ecommerce:{remove:{products:[{product:n}]}}}):o["cart["+e+"][qty]"]<t.quantity&&(n.quantity=n.quantity-o["cart["+e+"][qty]"],dataLayer.push({event:"visitor interaction",interaction_name:"remove from cart",remove_btn:"update cart",ecommerce:{remove:{products:[{product:n}]}}})))}))}}))})),jQuery.fn.addToCartDLPush=function(e={}){if("undefined"!=typeof wccomGTMEE){var t={event:"visitor interaction",interaction_name:"add to cart",add_to_cart_btn:"add to cart sidebar",ecommerce:{add:{products:[{category:wccomGTMEE.product.category,brand:wccomGTMEE.product.brand,name:wccomGTMEE.product.name,id:wccomGTMEE.product.sku,variant:wccomGTMEE.product.revenueType,price:wccomGTMEE.product.price1,quantity:1}]}}};dataLayer.push(jQuery.extend(t,e))}},jQuery.fn.commenceCheckoutDLPush=function(){if("undefined"!=typeof wccomGTMEE&&wccomGTMEE.cart){var e=[];jQuery.each(wccomGTMEE.cart,(function(t,o){e.push(o)})),e.length&&dataLayer.push({event:"visitor interaction",page_type:"application process",interaction_name:"commence checkout",ecommerce:{currencyCode:wccomGTMEE.currencyCode,checkout:{actionField:{step:1},products:e}}})}},jQuery.fn.formToJSON=function(e){var t=e.serializeArray(),o={};return jQuery.map(t,(function(e){o[e.name]=e.value})),o};const i=wp.hooks;(0,i.addAction)("wccom_add_to_store_button_clicked","wccom",((e,t)=>{if("undefined"==typeof gtag)return;const o=("string"==typeof t.productCategory?t.productCategory.split("/"):[]).reduce(((e,t,o)=>(e[0===o?"item_category":`item_category${o+1}`]=t,e)),{});let n="woocommerce";t.isTheme?n="themes":t.isPlugin&&(n="plugins");const c=0===Number(t.currentPrice)?"free product":"paid product";gtag("event","add_to_store",{items:[{item_id:String(t.productId),item_name:t.productName,...o,item_brand:n,item_variant:c}]})})),"undefined"!=typeof vendorGoogleAnalyticsTagId&&(0,i.addAction)("wccom_buy_now_button_clicked","wccom",(()=>{"undefined"!=typeof gtag&&gtag("event","wccom_buy_now_button_click",{send_to:vendorGoogleAnalyticsTagId})})),window.addEventListener("DOMContentLoaded",(function(){const e="irclickid",t=new URLSearchParams(window.location.search).get(e),o=`${e}-expiration`;if(t&&wccom.canTrackUser("analytics")&&t!==n(e)){const n=(new Date).getTime()+2592e6;c(e,t,30),c(o,n,30),r("wccom-refer-affiliate-id")}})),window.addEventListener("DOMContentLoaded",(function(){(0,i.addFilter)("wccom_nux_installation_url","wccom-refer/impact-radius",(e=>{const t=n("irclickid");if(t){const o=new URL(e);return o.searchParams.set("irclickid",t),o.toString()}return e}))})),function(e){/(\?|&)ref=\d+/.test(window.location.search)&&(window.location.search=window.location.search.replace(/(\?|&)ref=/i,"$1aff="));const t=wccom&&wccom.fireTracksEvent||function(){};jQuery((function(){if(window.URLSearchParams){var e=new window.URLSearchParams(window.location.search);if(e.get("aff")&&null===e.get("utm_source")&&null===e.get("utm_medium")&&null===e.get("utm_campaign")){var o={affiliate_id:e.get("aff"),campaign_id:e.get("
2cid"),sub_id:e.get("sid")};t("refer_visit",o)}}})),e(document).on("referral_tracked",(function(e,o){var n,c,a,i=o.responseJSON||{};if(o.success)n=o.data.affiliate_id,c=o.data.campaign_id,a=o.data.sub_id,i=o.data;else{if(!o.affiliate_id)return i.refer_message=o.message,void t("refer_visit_response_fail",i);i.affiliate_id=n}t("refer_visit_response",i);var d=new window.URLSearchParams(window.location.search);if(null!==d.get("utm_source")||null!==d.get("utm_medium")||null!==d.get("utm_campaign"))return n&&(i.affiliate_id=n),void t("refer_visit_illegal_utm_params_usage",i);var s="wccom-refer-affiliate-id="+n+";",u=new Date;u.setTime(u.getTime()+2592e6);var m=" expires="+u.toGMTString()+";",l=" path=/;";document.cookie=s+m+l,r("irclickid");var p={};c&&String(c).match(/^\d+$/)&&(p.campaignId=c),a&&(p.subId=String(a).substring(0,255));var f="wccom-refer-affiliate-meta="+JSON.stringify(p)+";";document.cookie=f+m+l})),e(document).on("referral_tracked_error",(function(e,o){var n=o.responseJSON||{};n.status=o.status||"",t("refer_visit_response_error",n)}))}(jQuery),jQuery(document).ready((function(e){var t={action:"maybe_set_gtm_cookie",is_admin:wccom_plugins_params.is_admin};jQuery.post(wccom_plugins_params.ajax_url,t,(function(e){dataLayer.push({user_type:e})})),e(".single_add_to_cart_button, .single-product form.cart button.is-primary").on("click",(function(){a((function(){dataLayer.push({event:"gtm_click",eventCategory:"add to basket",eventAction:wccom_plugins_params.productCategory,eventLabel:wccom_plugins_params.productName,eventValue:""})}))})),e("form.cart > button.single_docs_button").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"add to basket",eventAction:wccom_plugins_params.productCategory,eventLabel:wccom_plugins_params.productName,eventValue:""})})),e("a.wccom-bundle-button","a.wccom-mock-bundle-button").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"add to basket",eventAction:wccom_plugins_params.productCategory,eventLabel:wccom_plugins_params.productName,eventValue:""})})),e("#theme_buynow_link").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"add to basket",eventAction:wccom_plugins_params.productCategory,eventLabel:wccom_plugins_params.productName,eventValue:""})})),e("#theme_demo_link").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"view demo",eventAction:wccom_plugins_params.productCategory,eventLabel:wccom_plugins_params.productName,eventValue:""})})),e(".all-themes-pricing .button").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"add to basket",eventAction:wccom_plugins_params.productCategory,eventLabel:wccom_plugins_params.productName,eventValue:""})})),e(".woocommerce-cart .graphflow-recommendations a").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"view recommendation",eventAction:"cart",eventLabel:e(this).attr("title"),eventValue:""})})),e(".single-product .graphflow-recommendations a").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"view recommendation",eventAction:"product",eventLabel:e(this).attr("title"),eventValue:""})})),e("div.product-type-external .cart a.button").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"view external product",eventAction:wccom_plugins_params.productCategory,eventLabel:wccom_plugins_params.productName})})),e("#wc_introduction .wc_learn_more").on("click",(function(){dataLayer.push({event:"gtm_click",eventCategory:"Overview",eventAction:"WooCommerce",eventLabel:"Overview Video",eventValue:""})})),e(".main-search .title").on("click","a",(function(){var t=e(this).parents(".results-group"),o=e(this).parents(".results-item").index();(10<o||e("body").hasClass("paged"))&&(o="below 10"),o=t.data("type")+" - "+o,dataLayer.push({event:"visitor interaction",interaction_name:"docs search result click",result_number:o,search_term:e(".search-input").val()})})),e(document).on("gform_confirmation_loaded",(function(){const e=sessionStorage.getItem("wccom_gf_form_data");if(e){try{const t=JSON.parse(e);dataLayer.push(t)}catch(e){}sessionStorage.removeItem("wccom_gf_form_data")}}))}))})()})();;

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.