South Carolina Monkey Business - {{variant_title}}
South Carolina Monkey Business - {{variant_title}}

South Carolina Monkey Business

$14.99
Quantity
Product Story
BACK TO TOP
function t(t, e) { return t.lineItems.reduce( (t, n) => { const c = t.total + (n?.variant?.price.amount ?? 0) * n.quantity, a = n?.variant?.product.title + (n?.variant?.title ? ` - ${n.variant.title}` : ''); let o, r; return { total: c, contents: [ ...t.contents, { id: n?.variant?.product?.id ?? '', variantId: n?.variant?.id ?? '', sku: n?.variant?.sku ?? '', quantity: n.quantity, item_price: n?.variant?.price.amount ?? 0, title: a, brand: n?.variant?.product?.vendor ?? '', category: n?.variant?.product?.type ?? '', image: ((r = n?.variant?.image?.src ?? ''), (o = r ? (/^https?:\/\//.test(r) ? r : `https://${r}`) : ''), o ? o.replace(/_\d+x\d+\.(jpg|jpeg|png|webp)/g, '.$1') : ''), url: e + n?.variant?.product?.url, type: 'product', }, ], }; }, { total: 0, contents: [] }, ); } function e(t) { return t.lineItems.length && t.totalPrice?.currencyCode !== t.lineItems[0]?.variant?.price?.currencyCode ? t.lineItems[0]?.variant?.price?.currencyCode || '' : t.totalPrice?.currencyCode || ''; } function n(t, e) { let n = t.totalPrice?.amount || 0; return ( t.lineItems.length && t.totalPrice?.currencyCode !== t.lineItems[0]?.variant?.price?.currencyCode && (n = e), n ); } function c(t) { const e = {}; Object.entries(o).forEach(([n, c]) => { const a = c(t); a && (e[n] = a); }), Object.keys(e).length > 0 && window.edgetag?.('data', e); } async function a() { const t = sessionStorage.getItem('_attn_'); if (!t) { throw new r(); } return JSON.parse(t); } const o = { email: function (t) { return t.email || void 0; }, phone: function (t) { return ( t.smsMarketingPhone || t.phone || t.billingAddress?.phone || t.shippingAddress?.phone || void 0 ); }, firstName: function (t) { return ( t.billingAddress?.firstName || t.shippingAddress?.firstName || void 0 ); }, lastName: function (t) { return t.billingAddress?.lastName || t.shippingAddress?.lastName || void 0; }, }; class r extends Error { constructor() { super(), (this.name = 'retriable-error'); } } const i = async (t, e = [], n = 1e3, c = 10) => { try { return await t(e); } catch (a) { if (c > 0) { return ( await (async function (t) { return new Promise((e) => setTimeout(e, t)); })(n), await i(t, e, n, c - 1) ); } throw a; } }, u = []; (window.edgetag = window.edgetag || ((...t) => { u.push(t); })), analytics.subscribe('checkout_completed', function (a) { const o = (function (c) { const { total: a, contents: o } = t( c.data.checkout, c.context.document.location.origin, ), r = e(c.data.checkout), i = ((u = c.data.checkout), u.order?.id?.toString().replace('gid://shopify/OrderIdentity/', '') ?? ''); let u; return { orderId: i, eventId: i, currency: r, value: n(c.data.checkout, a), contents: o, }; })(a); c(a.data.checkout), window.edgetag?.('tag', 'Purchase', o); }), analytics.subscribe('checkout_started', function (a) { const o = (function (c) { const { total: a, contents: o } = t( c.data.checkout, c.context.document.location.origin, ); return { contents: o, currency: e(c.data.checkout), value: n(c.data.checkout, a), checkoutUrl: c.context.document.location.href, }; })(a); c(a.data.checkout), window.edgetag?.('tag', 'InitiateCheckout', o); }), analytics.subscribe('checkout_address_info_submitted', function (a) { const o = (function (c) { const { total: a, contents: o } = t( c.data.checkout, c.context.document.location.origin, ); return { contents: o, currency: e(c.data.checkout), value: n(c.data.checkout, a), }; })(a); c(a.data.checkout), window.edgetag?.('tag', 'AddShippingInfo', o); }), analytics.subscribe('payment_info_submitted', function (a) { const o = (function (c) { const { total: a, contents: o } = t( c.data.checkout, c.context.document.location.origin, ); return { contents: o, currency: e(c.data.checkout), value: n(c.data.checkout, a), }; })(a); c(a.data.checkout), window.edgetag?.('tag', 'AddPaymentInfo', o); }), (async function () { try { let t = 'https://junqk.rockemsocks.com'; if (!t) { const e = await i(a); t = e.bctu; } !(function (t, e = () => { }) { if (!t) { return; } const n = document.createElement('script'); (n.onload = e), (n.src = `${t}/load`), document.head.appendChild(n); })(t, () => { const e = { edgeURL: t, disableConsentCheck: 1 }; window.edgetag?.('init', e), u.forEach((t) => window.edgetag?.apply(null, t)); }); } catch (t) { } })();