1(self.webpackChunkgcom_rhythm=self.webpackChunkgcom_rhythm||[]).push([[408],{1413(){function t(){const t=window.dotDigitalCartInsights;document.addEventListener("visitorConsentCollected",e=>{if(!0===e.detail.marketingAllowed){const e={enableGuestAbandonedCart:!1,newsletterForms:".privy-widget-form"};(function(t){function n(t){var e,n=(e=t.target.querySelector("input[type=email]"))&&e.value?e.value:null;n&&r(n)}function r(t){i("dm-subscriber",t,365)}function i(e,n,r){var i;n&&((i=new Date).setTime(i.getTime()+24*r*60*60*1e3),t.cookie=e+"="+n+"; expires="+i.toGMTString()+"; path=/")}function a(e){for(var n=e+"=",r=t.cookie.split(";"),i=0;i<r.length;i++){for(var a=r[i];""==a.charAt(0);)a=a.substring(1,a.length);if(0==a.indexOf(n))return a.substring(n.length,a.length)}return null}e&&(e.enableGuestAbandonedCart&&t.querySelectorAll(e.newsletterForms).forEach(function(t){t.addEventListener("submit",n,!1)}),e.emailSubmitted=a("dm-subscriber"),r(e.emailSubmitted),e.cartId=a("cart"),i("dm-cart",e.cartId,15))})(document),window.customerEmail&&!0===window.customerAcceptsMarketing?e("identify",window.customerEmail):e.enableGuestAbandonedCart&&e.emailSubmitted&&""!==e.emailSubmitted&&e("identify",e.emailSubmitted),e.cartId&&""!==e.cartId&&e("cartInsight",{programID:t.programId,cartDelay:30,cartID:e.cartId,cartPhase:"CUSTOMER_LOGIN",currency:t.currency,subtotal:t.subtotal,discountAmount:t.discountAmount,taxAmount:0,grandTotal:t.grandTotal,cartUrl:t.cartUrl,lineItems:t.lineItems})}})}window.Shopify.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],e=>{if(e)return;"yes"===window.Shopify.customerPrivacy.currentVisitorConsent().marketing&&t()}),document.addEventListener("visitorConsentCollected",e=>{!0===e.detail.marketingAllowed&&t()})}},t=>{var e;e=1413,t(t.s=e)}]);
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.