let p6_mxxn_functionsExecuted=!1;var p6_mxxn_loop=0;function p6_check_dom_mxxn(){void 0!==document.getElementsByClassName("elementor-element")[0]&&(p6_mxxn_addEventListenersToLinks(),p6_mxxn_functionsExecuted=!0),void 0!==document.getElementsByClassName("products")[0]&&(p6_mxxn_addEventListenersToArchiveLinks(),p6_mxxn_functionsExecuted=!0),void 0!==document.getElementsByClassName("single_add_to_cart_button")[0]&&(p6_mxxn_scrapeProductDetails(),p6_mxxn_functionsExecuted=!0),!p6_mxxn_functionsExecuted&&p6_mxxn_loop<10?(p6_mxxn_loop++,setTimeout(p6_check_dom_mxxn,500)):!p6_mxxn_functionsExecuted&&p6_mxxn_loop<11&&(p6_mxxn_loop++,setTimeout(p6_check_dom_mxxn,5e3))}function p6_mxxn_addEventListenersToLinks(){const p6_mxxn_productLinks=document.querySelectorAll(".elementor-element .elementor-widget-container a.uael-button");p6_mxxn_productLinks.forEach(link=>{link.addEventListener("click",(function(event){event.preventDefault();try{const p6_mxxn_productContainer=link.closest(".elementor-element");if(!p6_mxxn_productContainer)return void console.warn("Product container not found for link:",link);const p6_mxxn_mainContainer=p6_mxxn_productContainer.parentNode;if(!p6_mxxn_mainContainer)return;const p6_mxxn_headingElement=p6_mxxn_mainContainer.querySelector(".elementor-widget-heading .elementor-widget-container h2 a");if(p6_mxxn_headingElement){const p6_mxxn_categorySpan=p6_mxxn_headingElement.querySelector(".home-category"),p6_mxxn_category=p6_mxxn_categorySpan?p6_mxxn_categorySpan.textContent.trim():"Category not available",p6_mxxn_productNameNode=p6_mxxn_headingElement.lastChild,p6_mxxn_productName=p6_mxxn_productNameNode&&p6_mxxn_productNameNode.nodeType===Node.TEXT_NODE?p6_mxxn_productNameNode.textContent.trim():"Name not available";p6_is_valid(p6_mxxn_productName)&&(a10x_dl.vars.cart_data[0].content_name=`${p6_mxxn_category} ${p6_mxxn_productName}`)}const p6_mxxn_productPriceElement=link.querySelector(".uael-atc-btn-text"),p6_mxxn_productPrice=p6_mxxn_productPriceElement?p6_mxxn_productPriceElement.textContent.replace(/[^\d.]/g,""):"Price not available",p6_mxxn_productId=link.getAttribute("data-product_id")||"Unknown ID";a10x_dl.vars.event_type="AddToCart",p6_is_valid(p6_mxxn_productPrice)&&(a10x_dl.vars.event_value=parseFloat(p6_mxxn_productPrice,2),a10x_dl.vars.cart_data[0].value=parseFloat(p6_mxxn_productPrice,2)),p6_is_valid(p6_mxxn_productId)&&(a10x_dl.vars.cart_data[0].content_id=p6_mxxn_productId),p6_post_event("AddToCart")}catch(error){}}))})}function p6_mxxn_addEventListenersToArchiveLinks(){const p6_mxxn_productLinks=document.querySelectorAll(".products .product .add_to_cart_button");p6_mxxn_productLinks.forEach(link=>{link.addEventListener("click",(function(event){event.preventDefault();try{const p6_mxxn_productItem=link.closest(".product");if(!p6_mxxn_productItem)return void console.warn("Product item not found for link:",link);const p6_mxxn_categoryElement=p6_mxxn_productItem.querySelector(".ast-woo-product-category"),p6_mxxn_category=p6_mxxn_categoryElement?p6_mxxn_categoryElement.textContent.trim():"Category not available",p6_mxxn_productNameElement=p6_mxxn_productItem.querySelector(".woocommerce-loop-product__title"),p6_mxxn_productName=p6_mxxn_productNameElement?p6_mxxn_productNameElement.textContent.trim():"Name not available",p6_mxxn_productPriceElement=p6_mxxn_productItem.querySelector(".price .woocommerce-Price-amount"),p6_mxxn_productPrice=p6_mxxn_productPriceElement?p6_mxxn_productPriceElement.textContent.replace(/[^\d.]/g,""):"Price not available",p6_mxxn_productId=link.getAttribute("data-product_id")||"Unknown ID";a10x_dl.vars.event_type="AddToCart",p6_is_valid(p6_mxxn_productPrice)&&(a10x_dl.vars.event_value=parseFloat(p6_mxxn_productPrice,2),a10x_dl.vars.cart_data[0].value=parseFloat(p6_mxxn_productPrice,2)),p6_is_valid(p6_mxxn_productId)&&(a10x_dl.vars.cart_data[0].content_id=p6_mxxn_productId),p6_is_valid(p6_mxxn_productName)&&(a10x_dl.vars.cart_data[0].content_name=`${p6_mxxn_category} ${p6_mxxn_productName}`),p6_post_event("AddToCart")}catch(error){}}))})}function p6_mxxn_scrapeProductDetails(){try{if(console.log("p6_mxxn_scrapeProductDetails"),!window.location.href.includes("/product/")&&!window.location.href.includes("/products/"))return void console.warn("This page does not seem to be a product page.");const addToCartButton=document.querySelector(".single_add_to_cart_button");if(!addToCartButton)return void console.log("Add to Cart button not found.");addToCartButton.addEventListener("click",(function(event){try{console.log("addToCartButton click event");const productNameElement=document.querySelector(".product_title"),productName=!!productNameElement&&productNameElement.textContent.trim(),productPriceElement=document.querySelector(".price .woocommerce-Price-amount"),productPrice=productPriceElement?productPriceElement.textContent.trim().replace(/[^\d.]/g,""):0;a10x_dl.vars.event_type="AddToCart",p6_is_valid(productPrice)&&(a10x_dl.vars.event_value=parseFloat(productPrice,2),a10x_dl.vars.cart_data[0].value=parseFloat(productPrice,2)),p6_is_valid(productName)&&(a10x_dl.vars.cart_data[0].content_name=productName),p6_post_event("AddToCart")}catch(error){console.error("An error occurred while scraping the product details:",error)}}))}catch(error){console.error("An error occurred while setting up the product detail scraper:",error)}}p6_check_dom_mxxn();
	var ping_url = 'https://pop6serve.com/pop6_ping.php';
	var ping_base = 'https://pop6serve.com/';
	
            var pop6 = String.fromCodePoint(0x1F36D);
            var red_dot = String.fromCodePoint(0x1F534) + " ";
            var green_dot = String.fromCodePoint(0x1F7E2) + " ";
            var white_dot = String.fromCodePoint(0x26AA) + " ";console.log(red_dot + pop6 + 'Popsixle expired for enjoymxxn.com on 2025-12-30.');