PageSourceSearch

https://shop.algonquinoutfitters.com/wp-content/plugins/pixel-mana…/pro/pixel-clarity.5578c793.chunk.min.js

js algonquinoutfitters.com collected 2026-09-26 01:04:19 UTC 3,022 bytes, 3 lines download raw bytes

1/*! Copyright 2025 SweetCode. All rights reserved. */
2(self.webpackChunkPixel_Manager_for_WooCommerce=self.webpackChunkPixel_Manager_for_WooCommerce||[]).push([[106],{8249(){!function(e){const r=new class{adapt(e,r,t){const a=`adapt${this.toPascalCase(r)}`;return"function"==typeof this[a]?this[a](e,t):null}toPascalCase(e){return"string"!=typeof e?"":e.replace(/(^|_)(\w)/g,(e,r,t)=>t.toUpperCase())}adaptAddToCart(e,r){return{event_name:"add_to_cart",tags:{product_name:e.product?.name,product_id:(e.product?.sku||e.product?.id)?.toString()},upgrade:"add_to_cart"}}adaptBeginCheckout(e,r){return{event_name:"begin_checkout",tags:{},upgrade:"begin_checkout"}}adaptPurchase(e,r){const t=Math.round(100*Number(pmwDataLayer?.order?.value?.total))/100;return{event_name:"purchase",tags:{order_id:pmwDataLayer?.order?.id?.toString(),order_value:Number.isFinite(t)?t.toString():void 0,currency:pmwDataLayer?.order?.currency},upgrade:"purchase"}}};e.registerAdapter("clarity",r,{supportsS2S:!1,supportsEventDeduplication:!1,isActive:()=>!!pmwDataLayer?.pixels?.clarity?.project_id})}(window.pmw=window.pmw||{},jQuery)},4312(){var e;e=window.pmw=window.pmw||{},jQuery,jQuery(document).on("pmw:load-pixels",function(){pmwDataLayer?.pixels?.clarity?.project_id&&!pmwDataLayer?.pixels?.clarity?.loaded&&e.consent.canPixelBeFired("statistics","Microsoft Clarity")&&e.loadClarityPixel()}),jQuery(document).on("pmw:pixel:add-to-cart",(r,t)=>{if(pmwDataLayer?.pixels?.clarity?.loaded&&e.shouldFireBrowserPixel(t,"clarity"))try{const r=t.pixels?.clarity;if(!r)return;e.clarityTrackEvent(r)}catch(e){console.error(e)}}),jQuery(document).on("pmw:pixel:begin-checkout",(r,t)=>{if(pmwDataLayer?.pixels?.clarity?.loaded&&e.shouldFireBrowserPixel(t,"clarity"))try{const r=t.pixels?.clarity;if(!r)return;e.clarityTrackEvent(r)}catch(e){console.error(e)}}),jQuery(document).on("pmw:pixel:purchase",(r,t)=>{if(pmwDataLayer?.pixels?.clarity?.loaded&&e.shouldFireBrowserPixel(t,"clarity"))try{const r=t.pixels?.clarity;if(!r)return;e.clarityTrackEvent(r)}catch(e){console.error(e)}})},8315(){var e;e=window.pmw=window.pmw||{},jQuery,e.loadClarityPixel=()=>{try{r=window,t=document,a="clarity",o="script",i=pmwDataLayer.pixels.clarity.project_id,r[a]=r[a]||function(){(r[a].q=r[a].q||[]).push(arguments)},(c=t.createElement(o)).async=1,c.src="https://www.clarity.ms/tag/"+i,(n=t.getElementsByTagName(o)[0]).parentNode.insertBefore(c,n),pmwDataLayer.pixels.clarity.loaded=!0,e.console.log("Microsoft Clarity: pixel loaded")}catch(e){console.error(e)}var r,t,a,o,i,c,n},e.clarityTrackEvent=r=>{try{if("function"!=typeof window.clarity)return;if(!r?.event_name)return;if(r.tags)for(const[e,t]of Object.entries(r.tags))null!=t&&""!==t&&window.clarity("set",e,t.toString());window.clarity("event",r.event_name),r.upgrade&&window.clarity("upgrade",r.upgrade),e.console.log("Microsoft Clarity: "+r.event_name+" event sent",r)}catch(e){console.error(e)}}},8443(e,r,t){t(8249),t(8315),t(4312)}}]);
3//# sourceMappingURL=pixel-clarity.5578c793.chunk.min.js.map

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.