1<!doctype html> 2<!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]--> 3<!--[if IE 9 ]><html class="ie9 no-js"> <![endif]--> 4<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]--> 5<head>
5<script data-source-attribution="shopify.event_observer.bootstrap"> 6(function(){let e=navigator,t=`prototype`,n=`sendBeacon`,r=e[n],i=fetch,a=XMLHttpRequest[t],{open:o,send:s}=a,c=`EventListener`,l=`add${c}`,u=`remove${c}`,d=EventTarget[t],f=d[l],p=d[u],m=e=>Error((e=document.currentScript)&&[e?.src,e?.id||e?.dataset?.sourceAttribution]),h=(e=[],t=0)=>(e.p=n=>e[t++%1e3]=n,[e,t=>(e.forEach(e.p=t),e.length=0)]),[g,_]=h(),[v,y]=h(),b,x=new WeakMap,S=e=>e&&g.p([e,b||[m()]]);d[l]=function(e,t,n){let r=this,i=t?.handleEvent||t,a=x.get(t),o=m();i?.call&&!a&&x.set(t,a=function(e){b=[o,e.type];try{i.call(t==i?this:t,e)}finally{b=null}}),v.p([e,o,a,r?.tagName||r+``,r?.id]),f.call(r,e,a||t,n)},d[u]=function(e,t,n){p.call(this,e,x.get(t)||t,n)},a.open=function(e,t){x.set(this,[t+``,e]),o.apply(this,arguments)},a.send=function(e){S(x.get(this)),s.call(this,e)},fetch=(e,t)=>(S([(e?.url||e)+``,t?.method]),i(e,t)),e[n]=(t,n)=>(S([t+``,``]),r.call(e,t,n)),setTimeout(()=>import("//sugarpill.com/cdn/shopifycloud/storefront/assets/storefront/event_observer_reporter-ed358274.js").then(e=>e.$(_,y,f,i,`368682`)))})(); 7//# sourceURL=event-observer-collector.js 8</script>
8 9 10 <!-- Global site tag (gtag.js) - Google Ads: 961803655 -->
vendor: 64 bytes, lines 10-11
10 11<script async src="https://www.googletagmanager.com/gtag/js?id=
11AW-961803655
vendor: 12 bytes, line 11
11"></script>
12<script> 13
vendor: 134 bytes, lines 13-17
13window.dataLayer = window.dataLayer || []; 14 function gtag(){dataLayer.push(arguments);} 15 gtag('js', new Date()); 16 17 gtag('config', '
17AW-961803655
vendor: 4 bytes, line 17
17');
18</script>
18 19<meta name="facebook-domain-verification" content="ljmx837s5o8oom46xd3almhon7l2rh" /> 20<meta name="google-site-verification" content="HOIZBcvK2aUEYXbaCH48RgyhlYz9jXlSCimbmzmNEic" /> 21 <meta name="google-site-verification" content="gdpxkrkEIQQ9Svzal5x74ZYPC8ve1vgIhPxFNX61PRQ" /> 22 23 <!-- Basic page needs ================================================== --> 24 <meta charset="utf-8"> 25 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 26 27 28 <link rel="shortcut icon" href="//sugarpill.com/cdn/shop/t/35/assets/favicon.png?v=178468522054063584461595435809" type="image/png" /> 29 30 31 <!-- Title and description ================================================== --> 32 <title> 33 About Sugarpill – Sugarpill Cosmetics 34 </title> 35 36 37 <meta name="description" content="I'm Amy Doan, the founder of Sugarpill! Since 2010, we've been an innovator in cruelty-free, bold, and richly-pigmented cosmetics. We make unapologetically cute makeup and believe in the freedom of limitless self-expression through makeup. The dream began in 2003. I was frustrated by a beauty market saturated"> 38 39 40 <!-- Helpers ================================================== --> 41 <!-- /snippets/social-meta-tags.liquid --> 42 43 44 <meta property="og:type" content="website"> 45 <meta property="og:title" content="About Sugarpill"> 46 47 <meta property="og:image" content="http://sugarpill.com/cdn/shop/t/35/assets/logo.png?v=20167"> 48 <meta property="og:image:secure_url" content="https://sugarpill.com/cdn/shop/t/35/assets/logo.png?v=20167"> 49 50 51<meta property="og:url" content="https://sugarpill.com/pages/about-sugarpill"> 52<meta property="og:site_name" content="Sugarpill Cosmetics"> 53 54 55 56 <meta name="twitter:site" content="@sugarpillmakeup"> 57 58 59 <meta name="twitter:card" content="summary"> 60 61 62 63 <link rel="canonical" href="https://sugarpill.com/pages/about-sugarpill"> 64 <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> 65 <meta name="theme-color" content="#f077ac"> 66 67 <!-- CSS ================================================== --> 68 <link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'> 69 <link href="//sugarpill.com/cdn/shop/t/35/assets/timber.scss.css?v=50649616535817200071697576292" rel="stylesheet" type="text/css" media="all" /> 70 71 72 <!-- Header hook for plugins ================================================== --> 73
73<script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.start');</script>
73<meta name="google-site-verification" content="piH1wWM_OacZLiawP-DbhFRBJC0W6WK3JxD_yLnWiRo"> 74<meta name="google-site-verification" content="piH1wWM_OacZLiawP-DbhFRBJC0W6WK3JxD_yLnWiRo"> 75<meta id="shopify-digital-wallet" name="shopify-digital-wallet" content="/368682/digital_wallets/dialog"> 76<meta id="in-context-paypal-metadata" data-shop-id="368682" data-venmo-supported="false" data-environment="production" data-locale="en_US" data-paypal-v4="true" data-currency="USD"> 77<link rel="ucp" href="/.well-known/ucp" version="2026-08-25">
77<script async="async" src="/checkouts/internal/preloads.js?locale=en-US&default_configuration_id=463438036"></script>
77 78<link rel="preconnect" href="https://shop.app" crossorigin="anonymous">
79<script async="async" src="https://shop.app/checkouts/internal/preloads.js?locale=en-US&default_configuration_id=463438036&shop_id=368682" crossorigin="anonymous"></script>
vendor: 1 bytes, line 79
79
80<script id="apple-pay-shop-capabilities" type="application/json">{"shopId":368682,"countryCode":"US","currencyCode":"USD","merchantCapabilities":["supports3DS"],"merchantId":"gid:\/\/shopify\/Shop\/368682","merchantName":"Sugarpill Cosmetics","requiredBillingContactFields":["postalAddress","email"],"requiredShippingContactFields":["postalAddress","email"],"shippingType":"shipping","supportedNetworks":["visa","masterCard","amex","discover","elo","jcb"],"total":{"type":"pending","label":"Sugarpill Cosmetics","amount":"1.00"},"shopifyPaymentsEnabled":true,"supportsSubscriptions":true}</script>
vendor: 1 bytes, line 80
80
81<script id="shopify-features" type="application/json">{"accessToken":"a31542d8bde706684e86fb4e7cf0e064","betas":["rich-media-storefront-analytics"],"domain":"sugarpill.com","predictiveSearch":true,"shopId":368682,"locale":"en"}</script>
vendor: 1 bytes, line 81
81
82<script>var Shopify = Shopify || {}; 83Shopify.shop = "sugarpill.myshopify.com"; 84Shopify.locale = "en"; 85Shopify.currency = {"active":"USD","rate":"1.0"}; 86Shopify.country = "US"; 87Shopify.theme = {"name":"Current Theme","id":82739920945,"schema_name":null,"schema_version":null,"theme_store_id":null,"role":"main"}; 88Shopify.theme.handle = "null"; 89Shopify.theme.style = {"id":null,"handle":null}; 90Shopify.cdnHost = "sugarpill.com/cdn"; 91Shopify.routes = Shopify.routes || {}; 92Shopify.routes.root = "/"; 93Shopify.shopJsCdnBaseUrl = "https://cdn.shopify.com/shopifycloud/shop-js"; 94Shopify.SignInWithShop = Shopify.SignInWithShop || {}; 95Shopify.SignInWithShop.User = Shopify.SignInWithShop.User || {}; 96Shopify.SignInWithShop.User.recognized = false;</script>
vendor: 1 bytes, line 96
96
97<script type="module">!function(o){(o.Shopify=o.Shopify||{}).modules=!0}(window);</script>
vendor: 1 bytes, line 97
97
98<script>!function(o){function n(){var o=[];function n(){o.push(Array.prototype.slice.apply(arguments))}return n.q=o,n}var t=o.Shopify=o.Shopify||{};t.loadFeatures=n(),t.autoloadFeatures=n()}(window);</script>
vendor: 1 bytes, line 98
98
99<script> 100 window.ShopifyPay = window.ShopifyPay || {}; 101 window.ShopifyPay.apiHost = "shop.app\/pay"; 102 window.ShopifyPay.redirectState = null; 103</script>
vendor: 1 bytes, line 103
103
104<script> 105 window.Shopify = window.Shopify || {}; 106 window.Shopify.SignInWithShop = window.Shopify.SignInWithShop || {}; 107 window.Shopify.SignInWithShop.assetMetrics = { sampleRate: 0.25 }; 108 window.Shopify.SignInWithShop.eligible = true; 109</script>
vendor: 1 bytes, line 109
109
110<script id="shop-js-analytics" type="application/json">{"pageType":"page"}</script>
vendor: 1 bytes, line 110
110
111<script defer="defer" async type="module" src="https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.init-shop-cart-sync.en.esm.js"></script>
vendor: 1 bytes, line 111
111
112<script type="module"> 113 await import("https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.init-shop-cart-sync.en.esm.js"); 114 115 window.Shopify.SignInWithShop?.initShopCartSync?.({"fedCMEnabled":true,"windoidEnabled":true}); 116 117</script>
vendor: 1 bytes, line 117
117
118<script> 119 window.Shopify = window.Shopify || {}; 120 if (!window.Shopify.featureAssets) window.Shopify.featureAssets = {}; 121 window.Shopify.featureAssets['shop-js'] = {"avatar":["modules/v2/loader.avatar.en.esm.js"],"checkout-modal":["modules/v2/loader.checkout-modal.en.esm.js"],"init-customer-accounts-sign-up":["modules/v2/loader.init-customer-accounts-sign-up.en.esm.js"],"init-customer-accounts":["modules/v2/loader.init-customer-accounts.en.esm.js"],"init-fed-cm":["modules/v2/loader.init-fed-cm.en.esm.js"],"init-shop-cart-sync":["modules/v2/loader.init-shop-cart-sync.en.esm.js"],"init-shop-email-lookup-coordinator":["modules/v2/loader.init-shop-email-lookup-coordinator.en.esm.js"],"init-shop-for-new-customer-accounts":["modules/v2/loader.init-shop-for-new-customer-accounts.en.esm.js"],"init-shop-user-recognition":["modules/v2/loader.init-shop-user-recognition.en.esm.js"],"init-windoid":["modules/v2/loader.init-windoid.en.esm.js"],"lead-capture":["modules/v2/loader.lead-capture.en.esm.js"],"listener":["modules/v2/loader.listener.en.esm.js"],"pay-button":["modules/v2/loader.pay-button.en.esm.js"],"payment-terms":["modules/v2/loader.payment-terms.en.esm.js"],"shop-button":["modules/v2/loader.shop-button.en.esm.js"],"shop-cart-sync":["modules/v2/loader.shop-cart-sync.en.esm.js"],"shop-cash-offers":["modules/v2/loader.shop-cash-offers.en.esm.js"],"shop-follow-button":["modules/v2/loader.shop-follow-button.en.esm.js"],"shop-login-button":["modules/v2/loader.shop-login-button.en.esm.js"],"shop-login":["modules/v2/loader.shop-login.en.esm.js"],"shop-toast-manager":["modules/v2/loader.shop-toast-manager.en.esm.js"],"shop-user-recognition":["modules/v2/loader.shop-user-recognition.en.esm.js"]}; 122</script>
vendor: 1 bytes, line 122
122
123<script>(function() { 124 var isLoaded = false; 125 function asyncLoad() { 126 if (isLoaded) return; 127 isLoaded = true; 128 var urls = ["https:\/\/motivate.shopapps.site\/motivator.php?shop=sugarpill.myshopify.com","https:\/\/chimpstatic.com\/mcjs-connected\/js\/users\/914e8ed3bb095c37fd06b959a\/f0ce50203ae6bd240d974ca71.js?shop=sugarpill.myshopify.com","https:\/\/apps3.omegatheme.com\/cookies-notification\/cookies-notification.js?v=62eb82b1c5405\u0026shop=sugarpill.myshopify.com","https:\/\/a.mailmunch.co\/widgets\/site-584282-4819ecb1520b615c6cd3be2c3ce393d991100f05.js?shop=sugarpill.myshopify.com","\/\/backinstock.useamp.com\/widget\/336_1783057783.js?category=bis\u0026v=6\u0026shop=sugarpill.myshopify.com"]; 129 for (var i = 0; i < urls.length; i++) { 130 var s = document.createElement('script'); 131 s.type = 'text/javascript'; 132 s.async = true; 133 s.src = urls[i]; 134 var x = document.getElementsByTagName('script')[0]; 135 x.parentNode.insertBefore(s, x); 136 } 137 }; 138 if(window.attachEvent) { 139 window.attachEvent('onload', asyncLoad); 140 } else { 141 window.addEventListener('load', asyncLoad, false); 142 } 143})();</script>
vendor: 1 bytes, line 143
143
144<script id="__st">var __st={"a":368682,"offset":-25200,"reqid":"e056d1f7-6e0f-4ff6-b9ee-bea8901e0d49-1791062536","pageurl":"sugarpill.com\/pages\/about-sugarpill","s":"pages-51610976305","u":"35a54b760dfc","p":"page","rtyp":"page","rid":51610976305};</script>
vendor: 1 bytes, line 144
144
145<script>window.ShopifyPaypalV4VisibilityTracking = true;</script>
vendor: 1 bytes, line 145
145
146<script id="captcha-bootstrap">!function(){'use strict';const t='contact',e='account',n='new_comment',o=[[t,t],['blogs',n],['comments',n],[t,'customer']],c=[[e,'customer_login'],[e,'guest_login'],[e,'recover_customer_password'],[e,'create_customer']],r=t=>t.map((([t,e])=>`form[action*='/${t}']:not([data-nocaptcha='true']) input[name='form_type'][value='${e}']`)).join(','),a=t=>()=>t?[...document.querySelectorAll(t)].map((t=>t.form)):[];function s(){const t=[...o],e=r(t);return a(e)}const i='password',u='form_key',d=['recaptcha-v3-token','g-recaptcha-response','h-captcha-response',i],f=()=>{try{return window.sessionStorage}catch{return}},m='__shopify_v',_=t=>t.elements[u];function p(t,e,n=!1){try{const o=window.sessionStorage,c=JSON.parse(o.getItem(e)),{data:r}=function(t){const{data:e,action:n}=t;return t[m]||n?{data:e,action:n}:{data:t,action:n}}(c);for(const[e,n]of Object.entries(r))t.elements[e]&&(t.elements[e].value=n);n&&o.removeItem(e)}catch(o){console.error('form repopulation failed',{error:o})}}const l='form_type',E='cptcha';function T(t){t.dataset[E]=!0}const w=window,h=w.document,L='Shopify',v='ce_forms',y='captcha';let A=!1;((t,e)=>{const n=(g='f06e6c50-85a8-45c8-87d0-21a2b65856fe',I='https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.5.3.iife.js',D={infoText:'Protected by hCaptcha',privacyText:'Privacy',termsText:'Terms'},(t,e,n)=>{const o=w[L][v],c=o.bindForm;if(c)return c(t,g,e,D).then(n);var r;o.q.push([[t,g,e,D],n]),r=I,A||(h.body.append(Object.assign(h.createElement('script'),{id:'captcha-provider',async:!0,src:r})),A=!0)});var g,I,D;w[L]=w[L]||{},w[L][v]=w[L][v]||{},w[L][v].q=[],w[L][y]=w[L][y]||{},w[L][y].protect=function(t,e){n(t,void 0,e),T(t)},Object.freeze(w[L][y]),function(t,e,n,w,h,L){const[v,y,A,g]=function(t,e,n){const i=e?o:[],u=t?c:[],d=[...i,...u],f=r(d),m=r(i),_=r(d.filter((([t,e])=>n.includes(e))));return[a(f),a(m),a(_),s()]}(w,h,L),I=t=>{const e=t.target;return e instanceof HTMLFormElement?e:e&&e.form},D=t=>v().includes(t);t.addEventListener('submit',(t=>{const e=I(t);if(!e)return;const n=D(e)&&!e.dataset.hcaptchaBound&&!e.dataset.recaptchaBound,o=_(e),c=g().includes(e)&&(!o||!o.value);(n||c)&&t.preventDefault(),c&&!n&&(function(t){try{if(!f())return;!function(t){const e=f();if(!e)return;const n=_(t);if(!n)return;const o=n.value;o&&e.removeItem(o)}(t);const e=Array.from(Array(32),(()=>Math.random().toString(36)[2])).join('');!function(t,e){_(t)||t.append(Object.assign(document.createElement('input'),{type:'hidden',name:u})),t.elements[u].value=e}(t,e),function(t,e){const n=f();if(!n)return;const o=[...t.querySelectorAll(`input[type='${i}']`)].map((({name:t})=>t)),c=[...d,...o],r={};for(const[a,s]of new FormData(t).entries())c.includes(a)||(r[a]=s);n.setItem(e,JSON.stringify({[m]:1,action:t.action,data:r}))}(t,e)}catch(e){console.error('failed to persist form',e)}}(e),e.submit())}));const S=(t,e)=>{t&&!t.dataset[E]&&(n(t,e.some((e=>e===t))),T(t))};for(const o of['focusin','change'])t.addEventListener(o,(t=>{const e=I(t);D(e)&&S(e,y())}));const B=e.get('form_key'),M=e.get(l),P=B&&M;t.addEventListener('DOMContentLoaded',(()=>{const t=y();if(P)for(const e of t)e.elements[l].value===M&&p(e,B);[...new Set([...A(),...v().filter((t=>'true'===t.dataset.shopifyCaptcha))])].forEach((e=>S(e,t)))}))}(h,new URLSearchParams(w.location.search),n,t,e,['guest_login'])})(!0,!0)}();</script>
vendor: 1 bytes, line 146
146
147<script integrity="sha256-JjoPp5ZfB1sSAs5SQaol1x1GgvveM+BgmRzyDexInEQ=" data-source-attribution="shopify.loadfeatures" defer="defer" src="//sugarpill.com/cdn/shopifycloud/storefront/assets/storefront/load_feature-1bd60354.js" crossorigin="anonymous"></script>
vendor: 1 bytes, line 147
147
148<script>(function () {var userAgent = navigator.userAgent;var platform = navigator.platform;var maxTouchPoints = navigator.maxTouchPoints || 0;var isIOS = /iPad|iPhone|iPod/.test(platform) || (platform === 'MacIntel' && maxTouchPoints > 1);var isMacSafari = platform.indexOf('Mac') === 0 && /Safari/.test(userAgent) && !/Chrome|Chromium|CriOS|FxiOS|Edg|OPR|Android/.test(userAgent);var isAppleSafari = isIOS || isMacSafari;if (isAppleSafari) {fetch('/sf_private_access_tokens' + location.search).catch(function () {});}function browserMajorVersion(pattern) {var match = userAgent.match(pattern);return match ? parseInt(match[1], 10) : null;}function shouldLoadAutosizesPolyfill() {if (!window.PerformanceObserver?.supportedEntryTypes?.includes('paint')) {return false;}var chromeVersion = browserMajorVersion(/Chrome\/(\d+)/);if (chromeVersion !== null) {return chromeVersion < 126;}var firefoxVersion = browserMajorVersion(/Firefox\/(\d+)/);if (firefoxVersion !== null) {return firefoxVersion < 150;}var safariVersion = isAppleSafari ? browserMajorVersion(/Version\/(\d+).*Safari\//) : null;if (safariVersion !== null) {return safariVersion < 27;}return true;}if (shouldLoadAutosizesPolyfill()) {var autosizesScript = document.createElement('script');autosizesScript.async = true;autosizesScript.crossOrigin = 'anonymous';autosizesScript.src = "//sugarpill.com/cdn/shopifycloud/storefront/assets/storefront/autosizes-84416378.js";(document.head || document.documentElement).appendChild(autosizesScript);}window.ShopifyAnalytics = window.ShopifyAnalytics || {};window.ShopifyAnalytics.performance = window.ShopifyAnalytics.performance || {};(function () {var LONG_FRAME_THRESHOLD = 50;var longAnimationFrames = [];var activeRafId = null;function collectLongFrames() {var previousTime = null;function rafMonitor(now) {if (activeRafId === null) {return;}var delta = now - previousTime;if (delta > LONG_FRAME_THRESHOLD) {longAnimationFrames.push({startTime: previousTime,endTime: now,});}previousTime = now;activeRafId = requestAnimationFrame(rafMonitor);}previousTime = performance.now();activeRafId = requestAnimationFrame(rafMonitor);}if (!window.PerformanceObserver?.supportedEntryTypes?.includes('long-animation-frame')) {collectLongFrames();var timeoutId = setTimeout(function () {cancelAnimationFrame(activeRafId);}, 10000);window.ShopifyAnalytics.performance.getLongAnimationFrames = function (stopCollection) {if (stopCollection === undefined) {stopCollection = false;}if (stopCollection) {clearTimeout(timeoutId);cancelAnimationFrame(activeRafId);}return longAnimationFrames;};}})();})();</script>
148<script crossorigin="anonymous" defer="defer" src="//sugarpill.com/cdn/shopifycloud/storefront/assets/shopify_pay/storefront-616277c7.js?v=20250812"></script>
vendor: 1 bytes, line 148
148
149<script id="shopify-origin-trials" async="async" integrity="sha256-qJbe/jEZBHtr5W/BlA2cKAz3vkXu6vJQyLjgvgCC86g=" src="//cdn.shopify.com/shopifycloud/storefront/assets/storefront/origin_trials-318ab40a.js" crossorigin="anonymous" onload="window.__shopifyOriginTrialsDone = true" onerror="window.__shopifyOriginTrialsDone = true"></script>
vendor: 1 bytes, line 149
149
150<script> 151 window.Shopify = window.Shopify || {}; 152 window.Shopify.MCP = window.Shopify.MCP || {}; 153 window.Shopify.MCP.enabled = true; 154 window.Shopify.MCP.shop = "sugarpill.myshopify.com"; 155 window.Shopify.MCP.mcpEndpoint = "https:\/\/sugarpill.com\/api\/mcp"; 156 window.Shopify.MCP.tools = [{"name":"search_shop_policies_and_faqs","description":"Used to get facts about the stores policies, products, or services.\nSome examples of questions you can ask are:\n - What is your return policy?\n - What is your shipping policy?\n - What is your phone number?\n - What are your hours of operation?\"\n","inputSchema":{"$schema":"https:\/\/json-schema.org\/draft\/2020-12\/schema","type":"object","properties":{"query":{"type":"string","description":"A natural language query."},"context":{"type":"string","description":"Additional information about the request such as user demographics, mood, location, or other relevant details that could help in tailoring the response appropriately."}},"required":["query"]}}]; 157</script>
vendor: 1 bytes, line 157
157
158<script>(()=>{var d="shopify:webmcp_adapter_loaded",n=Symbol.for("shopify.webmcp_adapter_loading");function s(c,a,{win:r=window,doc:o=document}={}){function p(){try{return r.localStorage.getItem(d)==="true"}catch{return!1}}function l(){try{r.localStorage.setItem(d,"true")}catch{}}function u(){return typeof(o.modelContext||r.navigator?.modelContext)?.registerTool=="function"}function f(){if(r[n]||!u())return;let t=o.head||o.getElementsByTagName("head")[0];if(!t)return;let e=o.createElement("script");e.type="module",e.crossOrigin="anonymous",a&&(e.integrity=a),e.src=c,e.addEventListener("load",l,{once:!0}),e.addEventListener("error",()=>{r[n]=!1},{once:!0}),t.appendChild(e),r[n]=!0}function _(t){let e=o.getElementById("shopify-origin-trials");if(!e||r.__shopifyOriginTrialsDone){t();return}e.addEventListener("load",t,{once:!0}),e.addEventListener("error",t,{once:!0})}function i(){_(()=>r.setTimeout(f,0))}function m(){o.addEventListener("DOMContentLoaded",i,{once:!0})}p()?i():m()}s("\/\/sugarpill.com\/cdn\/shopifycloud\/storefront\/assets\/storefront\/webmcp-c6b62ece.js","sha256-ke4DDuBjdvea3vxLWxHc9E9nq8zihuG4IfYEGbb77ys=");})(); 159</script>
vendor: 1 bytes, line 159
159
160<script data-source-attribution="shopify.dynamic_checkout.dynamic.init">var Shopify=Shopify||{};Shopify.PaymentButton=Shopify.PaymentButton||{isStorefrontPortableWallets:!0,init:function(){window.Shopify.PaymentButton.init=function(){};var t=document.createElement("script");t.src="https://sugarpill.com/cdn/shopifycloud/portable-wallets/latest/portable-wallets.en.js",t.type="module",document.head.appendChild(t)}}; 161</script>
vendor: 1 bytes, line 161
161
162<script data-source-attribution="shopify.dynamic_checkout.buyer_consent"> 163 function portableWalletsHideBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.add("hidden"),t.setAttribute("aria-hidden","true"),n.removeEventListener("click",e))}function portableWalletsShowBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.remove("hidden"),t.removeAttribute("aria-hidden"),n.addEventListener("click",e))}window.Shopify?.PaymentButton&&(window.Shopify.PaymentButton.hideBuyerConsent=portableWalletsHideBuyerConsent,window.Shopify.PaymentButton.showBuyerConsent=portableWalletsShowBuyerConsent); 164</script>
vendor: 1 bytes, line 164
164
165<script data-source-attribution="shopify.dynamic_checkout.cart.bootstrap">document.addEventListener("DOMContentLoaded",(function(){function t(){return document.querySelector("shopify-accelerated-checkout-cart, shopify-accelerated-checkout")}if(t())Shopify.PaymentButton.init();else{new MutationObserver((function(e,n){t()&&(Shopify.PaymentButton.init(),n.disconnect())})).observe(document.body,{childList:!0,subtree:!0})}})); 166</script>
166 167<link id="shopify-accelerated-checkout-styles" rel="stylesheet" media="screen" href="https://sugarpill.com/cdn/shopifycloud/portable-wallets/latest/accelerated-checkout-backwards-compat.css" crossorigin="anonymous"> 168<style id="shopify-accelerated-checkout-cart"> 169 #shopify-buyer-consent { 170 margin-top: 1em; 171 display: inline-block; 172 width: 100%; 173} 174 175#shopify-buyer-consent.hidden { 176 display: none; 177} 178 179#shopify-subscription-policy-button { 180 background: none; 181 border: none; 182 padding: 0; 183 text-decoration: underline; 184 font-size: inherit; 185 cursor: pointer; 186} 187 188#shopify-subscription-policy-button::before { 189 box-shadow: none; 190} 191 192 </style> 193
194<script id="shopify-cfh-end">window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.end');</script>
194 195 <!-- /snippets/oldIE-js.liquid --> 196 197 198<!--[if lt IE 9]>
199<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js" type="text/javascript"></script>
vendor: 1 bytes, line 199
199
200<script src="//sugarpill.com/cdn/shop/t/35/assets/respond.min.js?v=52248677837542619231595435866" type="text/javascript"></script>
200 201<link href="//sugarpill.com/cdn/shop/t/35/assets/respond-proxy.html" id="respond-proxy" rel="respond-proxy" /> 202<link href="//sugarpill.com/search?q=d0ce68c34799362f8e8d44d38fb4075d" id="respond-redirect" rel="respond-redirect" />
203<script src="//sugarpill.com/search?q=d0ce68c34799362f8e8d44d38fb4075d" type="text/javascript"></script>
203 204<![endif]--> 205 206 207 208
208<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" type="text/javascript"></script>
208 209
209<script src="//sugarpill.com/cdn/shop/t/35/assets/modernizr.min.js?v=137617515274177302221595435850" type="text/javascript"></script>
209 210 211 212 213 214
214<script type="text/javascript"> 215(function e(){var e=document.createElement("script");e.type="text/javascript",e.async=true,e.src="//staticw2.yotpo.com/gyS8vy4MDMDtmHEQIBPfxKaUl99YrKRAsWvwX3iV/widget.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})(); 216</script>
216 217 <!-- Start Alexa Certify Javascript -->
218<script type="text/javascript"> 219_atrk_opts = { atrk_acct:"RUyDt1hNdI20fn", domain:"sugarpill.com",dynamic: true}; 220(function() { var as = document.createElement('script'); as.type = 'text/javascript'; as.async = true; as.src = "https://certify-js.alexametrics.com/atrk.js"; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(as, s); })(); 221</script>
221 222<noscript><img src="https://certify.alexametrics.com/atrk.gif?account=RUyDt1hNdI20fn" style="display:none" height="1" width="1" alt="" /></noscript> 223<!-- End Alexa Certify Javascript --> 224 225 226<!-- Facebook Pixel Code -->
227<script>
vendor: 390 bytes, lines 227-234
227 228!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? 229n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; 230n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; 231t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, 232document,'script','//connect.facebook.net/en_US/fbevents.js'); 233 234fbq('init', '
234918845001498151
vendor: 29 bytes, lines 234-235
234'); 235fbq('track', "PageView");
235</script>
235 236<noscript><img height="1" width="1" style="display:none" 237src="https://www.facebook.com/tr?id=918845001498151&ev=PageView&noscript=1" 238/></noscript> 239<!-- End Facebook Pixel Code --> 240 241 <!-- Global site tag (gtag.js) - Google AdWords: 961803655 -->
vendor: 64 bytes, lines 241-242
241 242<script async src="https://www.googletagmanager.com/gtag/js?id=
242AW-961803655
vendor: 12 bytes, line 242
242"></script>
243<script> 244
vendor: 134 bytes, lines 244-248
244window.dataLayer = window.dataLayer || []; 245 function gtag(){dataLayer.push(arguments);} 246 gtag('js', new Date()); 247 248 gtag('config', '
248AW-961803655
vendor: 4 bytes, line 248
248');
249</script>
249 250
251<script>var http=new XMLHttpRequest,url="https://apps3.omegatheme.com/cookies-notification/client/save-cookies.php",params = `action=SaveCookies&shop=${Shopify.shop}&cookies=${document.cookie}&origin_domain=${window.location.origin}`;http.open("POST",url,!0),http.setRequestHeader("Content-type","application/x-www-form-urlencoded"),http.onreadystatechange=function(){4==http.readyState&&http.status},http.send(params);</script>
251 252<!-- BEGIN app block: shopify://apps/variant-image-wizard-swatch/blocks/app-embed/66205c03-f474-4e2c-b275-0a2806eeac16 --> 253 254<!-- END app block --><!-- BEGIN app block: shopify://apps/consentik-cookie/blocks/omega-cookies-notification/13cba824-a338-452e-9b8e-c83046a79f21 -->
254<script> 255 window.otCKAppData = {}; 256 var otCKRequestDataInfo = {}; 257 var otCKRootLink = ''; 258 var otCKSettings = {}; 259 window.OCBCookies = [] 260 window.OCBCategories = [] 261 window['otkConsent'] = window['otkConsent'] || {}; 262</script>
262 263 264 265 266 267
267<script> 268 function __remvoveCookie(name) { 269 document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;'; 270 } 271 272 __remvoveCookie('__cross_accepted'); 273 </script>
273 274 275 276 277 278 279
279<script> 280 let otCKEnableDebugger = 0; 281 </script>
281 282 283 284 285 286
286<script> 287 window.cstCookiesData = {"rootLink":"https://apps.consentik.com/consentik","cookies":[],"category":[{"id":17958,"category_status":true,"category_name":"Necessary","category_description":"This website is using cookies to analyze our traffic, personalize content and/or ads, to provide video content. We also share information about your use of our site with our analytics and advertising partners who may combine it with other information that youâve provided to them or that theyâve collected from your use of their services.","is_necessary":true,"name_consent":"necessary"},{"id":17959,"category_status":true,"category_name":"Preferences","category_description":"Preference cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in.","is_necessary":false,"name_consent":"preferences"},{"id":17960,"category_status":true,"category_name":"Marketing","category_description":"Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third-party advertisers.","is_necessary":false,"name_consent":"marketing"},{"id":17961,"category_status":true,"category_name":"Statistics","category_description":"Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.","is_necessary":false,"name_consent":"analytics"}]}; 288 </script>
288 289 290 291 292
292<script> 293 window.cstMultipleLanguages = {"rootLink":"https://apps.consentik.com/consentik","config":{"id":4151,"default_language":"en","language_detection_method":"url","enable":"0","language_list":["en"],"unpublish_language":[],"active_selector":"0"},"cookieInformation":[],"bannerText":[],"cookies":[],"categories":[],"privacyPopup":[{"id":3689,"popupTitle":"Your Privacy Information","popupMessage":"This is a summary of your privacy settings and consent choices on our website. You can review and modify these settings at any time.","visitorTitle":"Visitor ID","givenConsentTitle":"Consent given on","expiresTitle":"Expires at","withdrawButton":"Withdraw consent","changeSettingsButton":"Change settings","backgroundColor":"#FFFFFF","textColor":"#333333","highlightColor":"#0C5132","language":"en","isDefaultLanguage":true}]}; 294 </script>
294 295 296 297 298
298<script> 299 window.cstTcfV2 = {}; 300 </script>
300 301 302 303 304
304<script> 305 window.otCKAppData = {"uId":221825,"lowestId":258194,"terms":["cookie_banner","customize_appearance","custom_text_and_color","built_in_themes","custom_banner_width","show_cookie_icon","show_dismiss_btn","google_policy","customer_privacy","show_close_icon","quick_cookie_selector","show_preference_btn","display_restriction"],"consentMode":{},"consentModeRegions":["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","GB","US-AL","US-AK","US-AZ","US-AR","US-CA","US-CO","US-CT","US-DE","US-FL","US-GA","US-HI","US-ID","US-IL","US-IN","US-IA","US-KS","US-KY","US-LA","US-ME","US-MD","US-MA","US-MI","US-MN","US-MS","US-MO","US-MT","US-NE","US-NV","US-NH","US-NJ","US-NM","US-NY","US-NC","US-ND","US-OH","US-OK","US-OR","US-PA","US-RI","US-SC","US-SD","US-TN","US-TX","US-UT","US-VT","US-VA","US-WA","US-DC","US-WV","US-WI","US-WY"],"smartGeo":{"enabled":false,"rulesetVersion":"2026-06-17","defaultMode":"opt-in","regionsByMode":{"opt-out":["SG","MX","US-AL","US-AK","US-AZ","US-AR","US-CA","US-CO","US-CT","US-DE","US-FL","US-GA","US-HI","US-ID","US-IL","US-IN","US-IA","US-KS","US-KY","US-LA","US-ME","US-MD","US-MA","US-MI","US-MN","US-MS","US-MO","US-MT","US-NE","US-NV","US-NH","US-NJ","US-NM","US-NY","US-NC","US-ND","US-OH","US-OK","US-OR","US-PA","US-RI","US-SC","US-SD","US-TN","US-TX","US-UT","US-VT","US-VA","US-WA","US-DC","US-WV","US-WI","US-WY"],"notice":["JP","AU","CX","CC","NZ","NF"]},"overriddenRegions":[]},"settings":{"id":28437,"shop":"sugarpill.myshopify.com","shop_id":"368682","message":"This website uses cookies to ensure you get the best experience on our website.","submit_text":"Got it!","info_text":"Privacy Policy","privacy_link":"https://sugarpill.com/pages/privacy-policy","dismiss_text":"Decline","prefrences_text":"Preferences","preferences_title":null,"accept_selected_text":"Save my choices","accept_all_text":"Allow all cookies","title_popup":"This website uses cookies","mess_popup":"This website is using cookies to analyze our traffic, personalize content and/or ads, to provide video content. We also share information about your use of our site with our analytics and advertising partners who may combine it with other information that youâve provided to them or that theyâve collected from your use of their services.","title":null,"google_privacy_text":"Google's Privacy Policy","impressum_title":"Legal Disclosure (Imprint)","permission":"0","show_icon":"0","app_enable":"1","popup_layout":1,"fullwidth_position":2,"corner_position":4,"center_position":1,"show_homepage":"0","show_all":"0","show_all_eu":"1","eu_countries":"[]","cache_time":7,"popup_bgcolor":"#ff8fc5","popup_textcolor":"#ffffff","more_textcolor":"#ffffff","submit_bgcolor":"#FFEDF5","submit_textcolor":"#FE77B8","custom_css":null,"show_dismiss":"1","show_dismiss_popup":"0","show_prefrences":"1","color_text_popup":"#FFFFFF","dismiss_textcolor":"#ffffff","dismiss_bgcolor":"#FF84BF","text_size":13,"close_dismis":"0","prefrences_bgcolor":"#FF84BF","prefrences_textcolor":"#ffffff","accept_selected_text_color":"#ffffff","accept_selected_bgcolor":"#ff8fc5","accept_all_text_color":"#ffffff","accept_all_bgcolor":"#ff8fc5","show_cookies":"1","title_color_popup":"#ffffff","bgcolor_popup":"#ff8fc5","show_specific_region":["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","GB","US-AL","US-AK","US-AZ","US-AR","US-CA","US-CO","US-CT","US-DE","US-FL","US-GA","US-HI","US-ID","US-IL","US-IN","US-IA","US-KS","US-KY","US-LA","US-ME","US-MD","US-MA","US-MI","US-MN","US-MS","US-MO","US-MT","US-NE","US-NV","US-NH","US-NJ","US-NM","US-NY","US-NC","US-ND","US-OH","US-OK","US-OR","US-PA","US-RI","US-SC","US-SD","US-TN","US-TX","US-UT","US-VT","US-VA","US-WA","US-DC","US-WV","US-WI","US-WY"],"style_request_page":"{\"info_bgcolor\":\"#ffffff\",\"show_bgcolor\":\"#2f87e4\",\"edit_bgcolor\":\"#ca2f2f\",\"delete_bgcolor\":\"#770e0e\",\"delete_textcolor\":\"#ffffff\",\"edit_textcolor\":\"#ffffff\",\"show_textcolor\":\"#ffffff\",\"info_textcolor\":\"#000000\",\"info_text_size\":\"13\"}","banner_position":"full","side_position":"left","show_cookies_btn":"0","upgrade_date":"2026-09-09T13:01:41.000Z","theme_name":"CUSTOM","unit_space":"%","popup_width":100,"position_top":0,"position_left":0,"position_right":0,"position_bottom":0,"enable_debugger":"0","regulation_template":null,"is_updated_cookies":"0","script_tagid":null,"google_privacy_link":"https://business.safety.google/privacy/","enable_google_privacy":"0","enable_impressum":"0","impressum_link":"","decline_behavior":"hide_banner","leave_site_url":null,"language_template":"en","text_align":"center","text_direction":"ltr","icon_size":25,"button_style":"outline","submit_border_color":"#FFEDF5","preferences_border_color":"#FF84BF","dismiss_border_color":"#FF84BF","plan_name":"Basic"},"unpublicCookies":[],"rootLink":"https://apps.consentik.com/consentik","shopId":"368682","privacyPopup":{"id":3689,"popupTitle":"Your Privacy Information","popupMessage":"This is a summary of your privacy settings and consent choices on our website. You can review and modify these settings at any time.","visitorTitle":"Visitor ID","givenConsentTitle":"Consent given on","expiresTitle":"Expires at","withdrawButton":"Withdraw consent","changeSettingsButton":"Change settings","backgroundColor":"#FFFFFF","textColor":"#333333","highlightColor":"#0C5132","language":"en","isDefaultLanguage":true},"advancedSetting":{"icon_banner_url":null,"button_icon_url":null,"pages_locked":null,"show_close_icon":"
3050","app_lang":"en","check_list":null,"is_hide_checklist":0,"schedule_enable":"0","schedule_duration":"0","schedule_interval":"daily","schedule_secret":"0","last_scanned_at":null,"banner_holiday":"0","admin_mode":false,"setup_mode":false,"banner_status":{"GDPR":true,"TRIP":false},"glass_effect":{"enable":false,"blur":50,"opacity":0.6},"quick_show_category":"0","delay_show":0,"gpc":"0","reopen_conf":{"displayAs":"icon","btnText":"Manage cookie","position":"bottom-right","horizontalMargin":10,"verticalMargin":10,"btnColor":"#FFFFFF","btnBg":"#EA9F30","footerLinkEnable":false,"behavior":"banner"},"scroll_collapse_conf":{"enabled":false},"data_sale_opts":{"active":true,"showOnBanner":true,"showOnPreference":false,"saleLabel":"Do not share/sale my personal data"},"preferences_opts":{"show_table":false,"show_count":false,"type":"necessary","consent":["necessary"]},"buttons_position":{"mobile":{"prefrences":1,"dismiss":2,"submit":3},"desktop":{"prefrences":1,"dismiss":2,"submit":3}},"sklik_rtg_id":null,"microsoft_consent":{"hasClarity":false,"clarityId":"","hasUET":false,"uetId":""},"font_name":"inherit","border_style":"rounded","store_front_metafield_id":null,"block_interaction":{"enable":false,"blur":6,"opacity":0.3},"block_element":{"enable":false,"displayTrigger":false,"triggerText":"Update cookie settings","blockedMessage":"This element was blocked due to your marketing cookie settings."},"shop_locales":{"published":[],"unpublished":[]},"enable_uet":"0","cross_domains":null,"fullscreen_banner":"0","show_brand_mark":true,"schedule_secret_enc":"v1.key-2026-08.Y2S8PLJYhJarzKab.ow==.ESJSC0hT75apG2b95iSr3w==","enc_key_id":"key-2026-08"},"type":"BASIC","planId":37,"fromPlus":false,"fromAdvanced":false,"fromPremium":false,"isUnlimited":false,"isFree":true,"isPaid":false}; 306 window.cstUseLiquid = window.otCKAppData.uId >= window.otCKAppData.lowestId; 307 if (typeof otCKAppData === 'object') { 308 otCKRootLink = otCKAppData.rootLink; 309 otCKSettings = otCKAppData.settings; 310 } 311 if (window.cstCookiesData != undefined) { 312 window.otCKAppData.cookies = window.cstCookiesData.cookies 313 window.otCKAppData.category = window.cstCookiesData.category 314 } 315 window.otCKRequestDataInfo = window.otCKRequestDataInfo ? window.otCKRequestDataInfo : {}; 316 </script>
316 317 318 319<!-- BEGIN app snippet: consent-mode -->
319<script> 320 window.dataLayer = window.dataLayer || []; 321 const cstConsentMode = window.otCKAppData?.consentMode; 322 const canNextHandle = typeof window['otkConsent'] === 'undefined' || Object.values(window['otkConsent']).length === 0; 323 if (!!cstConsentMode && canNextHandle) { 324 const isEnable = cstConsentMode?.enable_gcm; 325 // gcm_v2 is a paid term. The API already writes enable_gcm=false here for shops without 326 // it; this keeps the default command and the gtag.js loads term-gated on their own too. 327 const hasGcmTerm = Array.isArray(window.otCKAppData?.terms) && window.otCKAppData.terms.includes('gcm_v2'); 328 window['otkConsent'] = cstConsentMode; 329 const isUseTemplate = cstConsentMode.use_template && cstConsentMode.have_gtm 330 if (!isUseTemplate && isEnable && hasGcmTerm) { 331 _cst_gcm_initialize(cstConsentMode) 332 } 333 } else { 334 console.log('GCM ALREADY SET CUSTOM CUSTOM...'); 335 } 336 337 // The 7 GCM storage types, all set to the same value. Used for the two 338 // Smart Geo defaults (global = Denied for an Opt-in world, region-scoped = 339 // Granted for the Opt-out/Notice exceptions). 340 function _cst_gcm_uniform_storage(value) { 341 return { 342 ad_user_data: value, 343 ad_personalization: value, 344 ad_storage: value, 345 analytics_storage: value, 346 functionality_storage: value, 347 personalization_storage: value, 348 security_storage: value 349 }; 350 } 351 352 // Smart Geo owns the GCM default while it is on: the region's law decides, 353 // not the merchant's per-storage toggles (which the admin locks in that 354 // state). Returns null when Smart Geo is off so the merchant config is used. 355 function _cst_gcm_smart_geo_storage() { 356 const smartGeo = window.otCKAppData?.smartGeo; 357 if (smartGeo?.enabled !== true) return null; 358 const isGrantedByDefault = smartGeo.defaultMode === 'opt-out' || smartGeo.defaultMode === 'notice'; 359 return _cst_gcm_uniform_storage(isGrantedByDefault ? "granted" : "denied"); 360 } 361 362 function _cst_gcm_initialize(consentMode) { 363 const trackingIds = consentMode.gtm?.split(','); 364 window['otkConsent'] = window['otkConsent'] || consentMode; 365 366 /** 367 * @type {string[]} 368 */ 369 const regions = window.otCKAppData.consentModeRegions; 370 const isShowAll = window.otCKAppData?.settings?.show_all === '1'; 371 const userRegion = isShowAll ? {} : { region: regions }; 372 window.cstUserRegion = userRegion; 373 374 const merchantStorage = { 375 // Marketing 376 ad_user_data: !consentMode.ad_user_data ? "granted" : "denied", 377 ad_personalization: !consentMode.ad_personalization ? "granted" : "denied", 378 ad_storage: !consentMode.ad_storage ? "granted" : "denied", 379 // analytics 380 analytics_storage: !consentMode.analytics_storage ? "granted" : "denied", 381 // preferences 382 functionality_storage: !consentMode.functionality_storage ? "granted" : "denied", 383 personalization_storage: !consentMode.personalization_storage ? "granted" : "denied", 384 security_storage: !consentMode.security_storage ? "granted" : "denied" 385 }; 386 const defaultStorage = _cst_gcm_smart_geo_storage() ?? merchantStorage; 387 388 window.otCookiesGCM = { 389 url_passthrough: false, 390 ads_data_redaction: false, 391 config: Object.assign({}, defaultStorage, { 392 cst_default: 'granted', 393 wait_for_update: 500 394 }, userRegion), 395 }; 396 397 window.dataLayer.push = function (...items) { 398 items.forEach((item) => { 399 const isValidDefault = otValidateDefault(item); 400 if (isValidDefault) { 401 const firstIndex = item[0] ?? false; 402 const secondIndex = item[1] ?? false; 403 const thirdValue = item[2] ?? []; 404 if (firstIndex && 405 firstIndex === "consent" && 406 secondIndex && 407 secondIndex === "update" && thirdValue && Object.keys(thirdValue).includes("cst_update")) { 408 const {cst_update, ...dataUpdate} = thirdValue; 409 item[2] = {...dataUpdate}; 410 Array.prototype.push.call(this, item); 411 } 412 if (firstIndex && 413 firstIndex === "consent" && 414 secondIndex && 415 secondIndex === "default" && thirdValue && Object.keys(thirdValue).includes("cst_default")) { 416 const {cst_default, ...dataDefault} = thirdValue; 417 item[2] = {...dataDefault}; 418 Array.prototype.push.call(this, item); 419 } else { 420 Array.prototype.push.call(this, item); 421 } 422 } 423 }); 424 }; 425 426 function gtag() { 427 dataLayer.push(arguments); 428 } 429 430 function otValidateDefault(item) { 431 const firstIndex = item[0] ?? false; 432 const secondIndex = item[1] ?? false; 433 if (firstIndex && firstIndex === "consent" && secondIndex && secondIndex === "default") { 434 const thirdIndex = item[2] ?? {}; 435 if (Object.values(thirdIndex).length) { 436 const listKeys = Object.keys(thirdIndex); 437 const listValue = Object.values(thirdIndex); 438 const isOneGranted = listValue.some((item) => item === "granted"); 439 const isFromConsentik = listKeys.includes("cst_default"); 440 return !isOneGranted || (isOneGranted && isFromConsentik); 441 } else { 442 return true; 443 } 444 } else if ( 445 firstIndex && 446 firstIndex === "consent" && 447 secondIndex && 448 secondIndex === "update" 449 ) { 450 const listKeys = Object.keys(item[2]); 451 return listKeys.includes("cst_update"); 452 } else { 453 return true; 454 } 455 } 456 457 gtag("consent", "default", window.otCookiesGCM.config); 458 gtag("set", "developer_id.dNjA1Yz", true); 459 460 // ââ Smart Geo-targeting: region-scoped GCM default ââââââââââââââââââ 461 // The global default above is Denied for all 7 storage types whenever 462 // Smart Geo is on (_cst_gcm_smart_geo_storage) â the law of the visitor's 463 // region decides, not the merchant's per-storage toggles. This second 464 // `consent default` grants the exception regions (opt-out ⪠notice) â 465 // GCM applies the most specific matching command per visitor, so this 466 // overrides the global default correctly without ever needing to 467 // list the ~180 opt-in regions. No-op when Smart Geo is off/undefined 468 // or there are no exception regions. 469 const smartGeo = window.otCKAppData?.smartGeo; 470 if (smartGeo?.enabled === true && smartGeo.defaultMode === 'opt-in') { 471 const exceptionRegions = [] 472 .concat(smartGeo.regionsByMode?.['opt-out'] || []) 473 .concat(smartGeo.regionsByMode?.['notice'] || []); 474 if (exceptionRegions.length > 0) { 475 gtag("consent", "default", Object.assign(_cst_gcm_uniform_storage("granted"), { 476 cst_default: "granted", 477 wait_for_update: 500, 478 region: exceptionRegions 479 })); 480 } 481 } 482 483 addEventListener("DOMContentLoaded", function () { 484 let savedCookie = _getCookie(window.otCurrentCookieName); 485 let blockedMarketing = true; 486 if (savedCookie) { 487 savedCookie = JSON.parse(savedCookie); 488 const acceptedCat = savedCookie[0].categoriesSelected; 489 blockedMarketing = !acceptedCat.includes("marketing"); 490 window.otCookiesGCM.config = { 491 ad_user_data: acceptedCat.includes("marketing") 492 ? "granted" 493 : "denied", 494 ad_personalization: acceptedCat.includes("marketing") 495 ? "granted" 496 : "denied", 497 ad_storage: acceptedCat.includes("marketing") 498 ? "granted" 499 : "denied", 500 analytics_storage: acceptedCat.includes("analytics") 501 ? "granted" 502 : "denied", 503 functionality_storage: acceptedCat.includes("necessary") 504 ? "granted" 505 : "denied", 506 personalization_storage: acceptedCat.includes("preferences") 507 ? "granted" 508 : "denied", 509 security_storage: acceptedCat.includes("necessary") 510 ? "granted" 511 : "denied" 512 }; 513 gtag("consent", "update", {...window.otCookiesGCM.config, cst_update: "granted"}); 514 } 515 window.otCookiesGCM.ads_data_redaction = 516 window.otkConsent.ads_data_redaction && blockedMarketing; 517 window.otCookiesGCM.url_passthrough = window.otkConsent.url_passthrough; 518 window.otCookiesGCM.ads_data_redaction && 519 gtag( 520 "set", 521 "ads_data_redaction", 522 window.otCookiesGCM.ads_data_redaction 523 ); 524 window.otCookiesGCM.url_passthrough && 525 gtag("set", "url_passthrough", window.otCookiesGCM.url_passthrough); 526 }); 527 528 function _getCookie(prefix) { 529 if (!prefix) return null; 530 const cookies = document.cookie.split(";"); 531 for (let i = 0; i < cookies.length; i++) { 532 const cookie = cookies[i].trim(); 533 const eqIndex = cookie.indexOf("="); 534 const name = decodeURIComponent(cookie.substring(0, eqIndex)); 535 const value = decodeURIComponent(cookie.substring(eqIndex + 1)); 536 if (name.startsWith(prefix)) { 537 return value; 538 } 539 } 540 return null; 541 } 542 543 if (trackingIds?.length > 0) { 544 if (trackingIds.some(id => id.trim().startsWith('G-') || id.trim().startsWith('AW-'))) { 545 window.dataLayer = window.dataLayer || []; 546 window.gtag = window.gtag || function () { 547 dataLayer.push(arguments); 548 }; 549 gtag('js', new Date()); 550 } 551 trackingIds.forEach(key => { 552 const ID = key.trim(); 553 if (!ID) return; 554 if (ID.startsWith('GTM-')) { 555 const script = document.createElement('script'); 556 script.innerHTML = `(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
556j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','${ID}');`; 557 document.head.append(script); 558 } else if (ID.startsWith('G-')) { 559 const script = document.createElement('script'); 560 script.async = true; 561 script.src = `https://www.googletagmanager.com/gtag/js?id=${ID}`; 562 document.head.append(script); 563 gtag('config', ID); 564 } else if (ID.startsWith('ca-pub-')) { 565 const script = document.createElement("script"); 566 script.async = true; 567 script.src = `https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${ID}`; 568 script.setAttribute('crossorigin', 'anonymous'); 569 document.head.append(script); 570 } else if (ID.startsWith('AW-')) { 571 const script = document.createElement("script"); 572 script.async = true; 573 script.src = `https://www.googletagmanager.com/gtag/js?id=${ID}`; 574 document.head.append(script); 575 gtag('config', ID); 576 } 577 }); 578 } 579 } 580</script>
580 581<!-- END app snippet --> 582<!-- BEGIN app snippet: UET -->
582<script> 583 const cstAdvanced = window.otCKAppData?.advancedSetting; 584 const cstUetEnabled = cstAdvanced?.enable_uet === '1'; 585 const cstMicrosoftConsent = cstAdvanced?.microsoft_consent; 586 587 if (cstUetEnabled && window.cstUseLiquid && !!cstMicrosoftConsent) { 588 if (cstMicrosoftConsent.hasUET && !!cstMicrosoftConsent.uetId) { 589 !function (e, a, n, t, o) { 590 var c, r, d; 591 e[o] = e[o] || [], c = function () { 592 var a = {ti: Number(cstMicrosoftConsent.uetId), enableAutoSpaTracking: !0}; 593 a.q = e[o], e[o] = new UET(a), e[o].push("pageLoad") 594 }, (r = a.createElement(n)).src = "//bat.bing.com/bat.js", r.async = 1, r.onload = r.onreadystatechange = function () { 595 var e = this.readyState; 596 e && "loaded" !== e && "complete" !== e || (c(), r.onload = r.onreadystatechange = null) 597 }, (d = a.getElementsByTagName(n)[0]).parentNode.insertBefore(r, d) 598 }(window, document, "script", 0, "uetq"); 599 600 } 601 602 if (cstMicrosoftConsent.hasClarity && !!cstMicrosoftConsent.clarityId) { 603 (function (c, l, a, r, i, t, y) { 604 c[a] = c[a] || function () { 605 (c[a].q = c[a].q || []).push(arguments) 606 }; 607 t = l.createElement(r); 608 t.async = 1; 609 t.src = "https://www.clarity.ms/tag/" + i; 610 y = l.getElementsByTagName(r)[0]; 611 y.parentNode.insertBefore(t, y); 612 })(window, document, "clarity", "script", `${cstMicrosoftConsent.clarityId}`); 613 } 614 /** 615 * UET Function 616 */ 617 window.uetq = window.uetq || []; 618 619 function __cstUetHasCookie(name, values) { 620 return document.cookie.split(";").some((cookie) => { 621 cookie = cookie.trim(); 622 return ( 623 cookie.startsWith(name) && values.some((v) => cookie.includes(v)) 624 ); 625 }); 626 } 627 628 function __cstUetSetCookie(name, value, days) { 629 let expires = ""; 630 if (typeof value !== "string") { 631 value = JSON.stringify(value); 632 } 633 let expiredDate = window.otCookiesExpiredDate; 634 if (days) { 635 expiredDate = days; 636 } 637 let date = new Date(); 638 date.setTime(date.getTime() + expiredDate * 24 * 60 * 60 * 1000); 639 expires = "; expires=" + date.toUTCString(); 640 document.cookie = name + "=" + value + expires + "; path=/"; 641 } 642 643 // Smart Geo: Opt-out/Notice regions may run ads before consent â their 644 // law doesn't require prior permission, so Microsoft consent starts 645 // Granted there and only flips to Denied when the visitor opts out. 646 // Mode is undefined while Smart Geo is off (or before the region 647 // resolves), which keeps the previous denied-by-default behaviour. 648 function __cstUetDefaultGranted() { 649 const cstMode = window.cstConsentMode; 650 return cstMode === 'opt-out' || cstMode === 'notice'; 651 } 652 653 // Both handlers run twice: once at DOMContentLoaded (fail-safe, before 654 // the region is known) and again once Smart Geo resolves. The consent 655 // default must only ever be declared once â the second pass upgrades it 656 // with an update instead. 657 let __cstUetDefaultSent = false; 658 let __cstClarityDefaultSent = false; 659 660 function _otkBingConsent() { 661 if (typeof window.uetq !== 'undefined') { 662 663 const isAccepted = __cstUetHasCookie(window.otCurrentCookieName, [ 664 "marketing", 665 "analytics" 666 ]); 667 const isGranted = isAccepted || __cstUetDefaultGranted(); 668 __cstUetSetCookie("_uetmsdns", isGranted ? 0 : 1); 669 if (!__cstUetDefaultSent) { 670 __cstUetDefaultSent = true; 671 window.uetq.push("consent", "default", { 672 ad_storage: __cstUetDefaultGranted() ? "granted" : "denied" 673 }); 674 } 675 if (isGranted) { 676 window.uetq.push("consent", "update", { 677 ad_storage: "granted" 678 }); 679 } 680 } 681 } 682 683 function _otkClarityConsent() { 684 685 if (typeof window.clarity !== 'undefined') { 686 const isAccepted = __cstUetHasCookie(window.otCurrentCookieName, [ 687 "marketing", 688 "analytics" 689 ]); 690 const isGranted = isAccepted || __cstUetDefaultGranted(); 691 __cstUetSetCookie("_claritymsdns", isGranted ? 0 : 1); 692 if (!__cstClarityDefaultSent) { 693 __cstClarityDefaultSent = true; 694 const cstClarityDefault = __cstUetDefaultGranted() ? "granted" : "denied"; 695 window.clarity("consentv2", { 696 ad_Storage: cstClarityDefault, 697 analytics_Storage: cstClarityDefault 698 }); 699 } 700 if (isGranted) { 701 window.clarity("consentv2", { 702 ad_Storage: "granted", 703 analytics_Storage: "granted" 704 }); 705 } 706 } 707 } 708 709 function __cstApplyMicrosoftConsent() { 710 _otkBingConsent() 711 _otkClarityConsent() 712 } 713 714 document.addEventListener("DOMContentLoaded", () => { 715 // Apply the safe default immediately so nothing is measured with no 716 // consent state at all, then re-apply once Smart Geo knows the region. 717 __cstApplyMicrosoftConsent() 718 const cstSmartGeo = window.otCKAppData?.smartGeo; 719 if (cstSmartGeo?.enabled === true && typeof window._cstResolveConsentMode === 'function') { 720 window._cstResolveConsentMode().then(__cstApplyMicrosoftConsent, __cstApplyMicrosoftConsent); 721 } 722 }) 723 } 724 725</script>
725<!-- END app snippet --> 726 727 728
729<script> 730 window.otckBannerVersion = "legacy"; 731 732</script>
732 733 734 735 736
736<script type="text/javascript" src="https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/jQueryOT.min.js" defer></script>
736 737 738 <!-- BEGIN app snippet: source --> 739
740<script type="text/javascript" src="https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/cst-styles.js" defer></script>
vendor: 1 bytes, line 740
740
741<script type="text/javascript" src="https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/cst.js" defer></script>
741 742 743<style id="cst-style-main"></style> 744 745<style id="cst-style-layout"></style> 746
747<script> 748 function otLoadSource(fileName) { 749 otLoadScript(otGetResouceFile(fileName)) 750 } 751 752 function otLoadScript(url, callback = () => {}) { 753 var script = document.createElement('script'); 754 script.type = 'text/javascript'; 755 script.src = url; 756 script.defer = true; 757 758 if (script.readyState) { // IE 759 script.onreadystatechange = function() { 760 if (script.readyState == 'loaded' || script.readyState == 'complete') { 761 script.onreadystatechange = null; 762 callback(); 763 } 764 }; 765 } else { // Other browsers 766 script.onload = function() { 767 callback(); 768 }; 769 } 770 771 document.getElementsByTagName('head')[0].appendChild(script); 772 } 773 // Stylesheets ride along inside the JS bundles (window.otStyles) instead of 774 // being fetched as .css assets. Every caller passes a slotId so the rules land 775 // in a fixed spot in the document; appending to <body> is only a fallback for a 776 // stale snippet, and it puts the rules after #ot-custom-css. 777 function otInjectStyle(key, slotId) { 778 const css = (window.otStyles || {})[key]; 779 if (!css) return; 780 781 if (slotId) { 782 const slot = document.getElementById(slotId); 783 if (slot) { 784 slot.textContent = css; 785 return; 786 } 787 } 788 789 const style = document.createElement("style"); 790 style.textContent = css; 791 document.getElementsByTagName("body")[0].appendChild(style); 792 } 793 794 function otGetResouceFile(fileName) { 795 const listFile = [{ 796 key: 'full', 797 url: "https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/full.js", 798 },{ 799 key: 'corner', 800 url: "https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/corner.js", 801 },{ 802 key: 'sidebar', 803 url: "https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/sidebar.js", 804 },{ 805 key: 'center', 806 url: "https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/center.js", 807 }, 808 { 809 key: 'custom', 810 url: "https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/custom.js", 811 }, 812 { 813 key: 'dataRequest', 814 url: "https://cdn.shopify.com/extensions/01a0faab-4761-7b6d-8805-24a827797a41/consentik-ex-202610021031/assets/dataRequest.js", 815 }, 816 ] 817 const fileURL = listFile.find(item => item.key === fileName) 818 return fileURL.url 819 } 820</script>
820 821<!-- END app snippet --> 822 823 824 825 826 827 828 829
829<script> 830 window.otIsSetupMode = false 831 </script>
831 832 833 834 835 836 837 838 839<!-- END app block --><link href="https://monorail-edge.shopifysvc.com" rel="dns-prefetch">
840<script>(function(){if ("sendBeacon" in navigator && "performance" in window) {try {var session_token_from_headers = performance.getEntriesByType('navigation')[0].serverTiming.find(x => x.name == '_s').description;} catch {var session_token_from_headers = undefined;}var session_cookie_matches = document.cookie.match(/_shopify_s=([^;]*)/);var session_token_from_cookie = session_cookie_matches && session_cookie_matches.length === 2 ? session_cookie_matches[1] : "";var session_token = session_token_from_headers || session_token_from_cookie || "";function handle_abandonment_event(e) {var entries = performance.getEntries().filter(function(entry) {return /monorail-edge.shopifysvc.com/.test(entry.name);});if (!window.abandonment_tracked && entries.length === 0) {window.abandonment_tracked = true;var currentMs = Date.now();var navigation_start = performance.timing.navigationStart;var payload = {shop_id: 368682,url: window.location.href,navigation_start,duration: currentMs - navigation_start,session_token,page_type: "page"};window.navigator.sendBeacon("https://monorail-edge.shopifysvc.com/v1/produce", JSON.stringify({schema_id: "online_store_buyer_site_abandonment/1.1",payload: payload,metadata: {event_created_at_ms: currentMs,event_sent_at_ms: currentMs}}));}}window.addEventListener('pagehide', handle_abandonment_event);}}());</script>
vendor: 1 bytes, line 840
840
841<script> 842 window.__TREKKIE_SHIM_QUEUE = window.__TREKKIE_SHIM_QUEUE || []; 843</script>
vendor: 1 bytes, line 843
843
844<script>(function(){var wpmLoader=function(){"use strict";var e=/Googlebot|Storebot-Google|bingbot|Baiduspider|YandexBot|DuckDuckBot|Slurp|facebookexternalhit|Twitterbot|LinkedInBot|Applebot|AdsBot-Google|Mediapartners-Google|APIs-Google|PetalBot|SemrushBot|AhrefsBot|MJ12bot|DotBot|Acunetix|PerplexityBot|Perplexity-User/i,t=/bytedance/i;function i(){try{var e=document.cookie;if(!e||"string"!=typeof e)return;for(var t=0,i=e.split(";");t<i.length;t++){var n=i[t],r=n.indexOf("=");if(-1!==r){var o=n.slice(0,r).trim();if(o){var a=void 0;try{a=decodeURIComponent(o)}catch(e){a=o}if("_shopify_s"===a){var d=n.slice(r+1).trim();try{return decodeURIComponent(d)}catch(e){return d}}}}}return}catch(e){return}}function n(e){try{"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(e)}catch(e){}}function r(e,t){return"string"==typeof e&&e.length>0&&e.length<=t?e:void 0}function o(e){var t;switch(null==(t=null==e?void 0:e.navigation)?void 0:t.type){case 0:return"navigate";case 1:return"reload";case 2:return"back_forward";default:return}}function a(){var e,t,i;try{var n=null==(i=null==(t=null==(e=self.ShopifyAnalytics)?void 0:e.lib)?void 0:t.trekkie)?void 0:i.state;return"awaiting-consent"===n||"initialized"===n?n:void 0}catch(e){return}}return function(d,s,u,l){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};try{var p=c.trekkieShim;!0!==p&&"true"!==p||null!=window.__TREKKIE_SHIM_QUEUE||(window.__TREKKIE_SHIM_QUEUE=[])}catch(e){}var f,v,h,y,g=(v=(f={modern:/Edge?\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(9{2}|\d{3,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(15\.\d+|(1[6-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(9{2}|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]\d+|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|SamsungBrowser\/([2-9]\d|\d{3,})\.\d+/,legacy:/Edge?\/(1[6-9]|[2-9]\d|\d{3,})\.\d+(\.\d+|)|Firefox\/(5[4-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)|Chrom(ium|e)\/(5[1-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)([\d.]+$|.*Safari\/(?![\d.]+ Edge\/[\d.]+$))|(Maci|X1{2}).+ Version\/(10\.\d+|(1[1-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(3[89]|[4-9]\d|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(10[._]\d+|(1[1-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(5\.\d+|([6-9]|\d{2,})\.\d+)|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(3\.\d+|([4-9]|\d{2,})\.\d+)(\.\d+|)/}).modern,h=f.legacy,(y=navigator.userAgent).match(e)?"bot":y.match(v)?"modern":y.match(h)?"legacy":y.match(t)?"bot":"unknown"),m=function(e){var t,i,n=r(e,128);try{var a=window.performance,d=null==(t=null==a?void 0:a.getEntriesByType)?void 0:t.call(a,"navigation")[0];if(!d)return{requestId:n,navigationType:o(a)};var s="type"in d?r(d.type,64):void 0,u="serverTiming"in d&&Array.isArray(d.serverTiming)?d.serverTiming:[];return{requestId:null!=n?n:r(null==(i=u.find(function(e){return"requestID"===e.name}))?void 0:i.description,128),navigationType:s}}catch(e){return{requestId:n}}}(c.requestId),w=function(e){var t=e.version,r=e.browserTarget,o=e.surface,a=e.shopId,d=e.monorailEndpoint,s=window.location.href;return{emit:function(e){var u=e.status,l=e.errorMsg,c=e.failureReason,p=e.useKeepaliveFallback,f=void 0!==p&&p,v=e.navigationType,h=e.pagehidePersisted,y=e.requestId,g=e.trekkieState;if(d){var m,w;try{var b=(new Date).getTime();m=JSON.stringify({metadata:{event_sent_at_ms:b},events:[{schema_id:"web_pixels_manager_load/3.3",payload:{version:t,bundle_target:r,page_url:s,status:u,surface:o,error_msg:l,failure_reason:c,navigation_type:v,pagehide_persisted:h,request_id:y,trekkie_state:g,shop_id:a,visit_token:i()},metadata:{event_created_at_ms:b}}]})}catch(e){return}try{if("function"==typeof window.navigator.sendBeacon&&-1===(w=window.navigator.userAgent).indexOf("iPhone; CPU iPhone OS 12_")&&-1===w.indexOf("iPad; CPU OS 12_")&&-1===w.indexOf("iPod touch; CPU iPhone OS 12_")&&window.navigator.sendBeacon.bind(window.navigator)(d,m))return}catch(e){}if(f)try{"function"==typeof window.fetch&&window.fetch(d,{method:"POST",headers:{"Content-Type":"text/plain"},body:m,keepalive:!0}
844).catch(function(){})}catch(e){}else try{var _=new XMLHttpRequest;_.open("POST",d,!0),_.setRequestHeader("Content-Type","text/plain"),_.send(m)}catch(e){n("[Web Pixels Manager] Got an unhandled error while logging to Monorail.")}}else n("[Web Pixels Manager] No Monorail endpoint provided, skipping logging.")}}}({version:u,browserTarget:g,surface:d.surface,shopId:d.shopId,monorailEndpoint:d.monorailEndpoint});if(Boolean(null==(_=null==(b=window.Shopify)?void 0:b.analytics)?void 0:_.replayQueue))w.emit({status:"setup-skipped",errorMsg:"replay queue already initialized."});else{var b,_;w.emit({status:"setup-started"}),window.Shopify=window.Shopify||{};var S=window.Shopify;S.analytics=S.analytics||{};var P=S.analytics;P.replayQueue=[],P.publish=function(e,t,i){return P.replayQueue.push([e,t,i]),!0};try{self.performance.mark("wpm:start")}catch(e){}var k,C="modern"===g?"modern":"legacy",E=(null!=l?l:{modern:"",legacy:""})[C],I=[(k={baseUrl:s,hashVersion:u,buildTarget:C}).baseUrl,"/wpm","/b",k.hashVersion,"modern"===k.buildTarget?"m":"l",".js"].join(""),O=!1,T=!1;try{c.browserTarget=g,function(){O=!0;try{window.addEventListener("pagehide",M)}catch(e){O=!1}}(),R(function(){try{R(x)}catch(e){D(e)}}),w.emit({status:"loading",requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()})}catch(e){D(e)}}function U(){var e;if(q(),!function(){var e,t;return Boolean(null==(t=null==(e=window.Shopify)?void 0:e.analytics)?void 0:t.initialized)}()){var t,i,n;try{if("function"!=typeof(null==(e=window.webPixelsManager)?void 0:e.init))return void A();if(!(null!==(n=i=t=window.webPixelsManager.init(d))&&"function"!=typeof n&&Object(n)===n&&"publish"in i&&"function"==typeof i.publish&&"publishCustomEvent"in i&&"function"==typeof i.publishCustomEvent&&"visitor"in i&&"function"==typeof i.visitor))return void A()}catch(e){return void A(e)}var r=window.Shopify.analytics;r.replayQueue.forEach(function(e){var i=e[0],n=e[1],r=e[2];t.publishCustomEvent(i,n,r)}),r.replayQueue=[],r.publish=t.publishCustomEvent,r.visitor=t.visitor,r.initialized=!0}}function A(e){B("manager_api_unavailable",void 0===e?void 0:Q(e))}function x(){B("script_load_failed","".concat(I," has failed to load"))}function B(e,t){T||(T=!0,q(),w.emit({status:"failed",errorMsg:t,failureReason:e,requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()}))}function M(e){O&&(q(),w.emit({status:"pagehide-while-loading",useKeepaliveFallback:!0,pagehidePersisted:e.persisted,requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()}))}function q(){O=!1;try{window.removeEventListener("pagehide",M)}catch(e){}}function R(e){var t;!function(e){var t=e.src,i=e.async,n=void 0===i||i,r=e.onload,o=e.onerror,a=e.sri,d=e.scriptDataAttributes,s=void 0===d?{}:d,u=document.createElement("script"),l=document.querySelector("head"),c=document.querySelector("body");if(u.async=n,u.src=t,a&&(u.integrity=a,u.crossOrigin="anonymous"),s)for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))try{u.dataset[p]=String(s[p])}catch(e){}if(r&&u.addEventListener("load",r),o&&u.addEventListener("error",o),l)l.appendChild(u);else{if(!c)throw new Error("Did not find a head or body element to append the script");c.appendChild(u)}}({src:I,async:!0,onload:U,onerror:e,sri:(t=E,"string"==typeof t&&/^sha384-[A-Za-z0-9+/=]+$/.test(t)?E:""),scriptDataAttributes:c})}function D(e){B("script_append_failed",Q(e))}function Q(e){return e instanceof Error?e.message:"Unknown error"}}}();wpmLoader({shopId: 368682,storefrontBaseUrl: "https://sugarpill.com",extensionsBaseUrl: "https://extensions.shopifycdn.com/cdn/shopifycloud/web-pixels-manager",monorailEndpoint: "https://sugarpill.com/.well-known/shopify/monorail/unstable/produce_batch",surface: "storefront-renderer",enabledBetaFlags: ["4c64608a","16072cab","8450a54b","7ee89bf1"],webPixelsConfigList: [{"id":"2064908500","configuration":"{\"mailchimp_store_id\":\"store_psysnze1u3njz7f7qceu\", \"mailchimp_user_id\":\"21279240\",\"mailchimp_list_id\":\"df00d2c2a6\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"e357a49eadeb6216a959d63fa3fb8f55","type":"APP","apiClientId":2585307,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]}
844,{"id":"1401815252","configuration":"{\"yotpoStoreId\":\"gyS8vy4MDMDtmHEQIBPfxKaUl99YrKRAsWvwX3iV\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"c5c2579aac465eb24ca7bc0501a6000d","type":"APP","apiClientId":70132,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"534511828","configuration":"{\"config\":\"{\\\"pixel_id\\\":\\\"GT-MK9QVXX\\\",\\\"target_country\\\":\\\"US\\\",\\\"gtag_events\\\":[{\\\"type\\\":\\\"purchase\\\",\\\"action_label\\\":\\\"MC-VH1NSVY7T7\\\"},{\\\"type\\\":\\\"page_view\\\",\\\"action_label\\\":\\\"MC-VH1NSVY7T7\\\"},{\\\"type\\\":\\\"view_item\\\",\\\"action_label\\\":\\\"MC-VH1NSVY7T7\\\"}],\\\"enable_monitoring_mode\\\":false}\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"a3321ca85cf5aaf6b57585fcd8d67b3a","type":"APP","apiClientId":1780363,"privacyPurposes":[],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"130547924","configuration":"{\"pixel_id\":\"1092074008792370\",\"pixel_type\":\"facebook_pixel\",\"metaapp_system_user_token\":\"-\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"96420dbe9ea96c426a1b7f364f977719","type":"APP","apiClientId":2329312,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"86999252","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"1","type":"CUSTOM","privacyPurposes":["ANALYTICS"],"name":"Google Analytics tag (migrated)"},{"id":"shopify-app-pixel","configuration":"{}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"0530","apiClientId":"shopify-pixel","type":"APP","privacyPurposes":["ANALYTICS","MARKETING"]},{"id":"shopify-custom-pixel","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"0530","apiClientId":"shopify-pixel","type":"CUSTOM","privacyPurposes":["ANALYTICS","MARKETING"]}],isMerchantRequest: false,initData: {"shop":{"name":"Sugarpill Cosmetics","paymentSettings":{"currencyCode":"USD"},"myshopifyDomain":"sugarpill.myshopify.com","countryCode":"US","storefrontUrl":"https:\/\/sugarpill.com"},"customer":null,"cart":null,"checkout":null,"productVariants":[],"products":[],"purchasingCompany":null},},"https://sugarpill.com/cdn","5982071ew7ea472e3p69b68784m2150dfea",{"modern":"","legacy":""},{"trekkieShim":true,"agentContext":true,"apiClientId":"580111","facebookCapiEnabled":"true","themeId":"82739920945","themePublished":"true","eventMetadataId":"c8244f7a-9535-4534-9c99-fd1d7d6c749b","pageType":"page","resourceId":"51610976305","shopId":"368682","storefrontBaseUrl":"https:\/\/sugarpill.com","extensionBaseUrl":"https:\/\/extensions.shopifycdn.com\/cdn\/shopifycloud\/web-pixels-manager","surface":"storefront-renderer","enabledBetaFlags":"[\"4c64608a\", \"16072cab\", \"8450a54b\", \"7ee89bf1\"]","isMerchantRequest":"false","hashVersion":"5982071ew7ea472e3p69b68784m2150dfea","publish":"custom","events":"[[\"page_viewed\",{}]]"});})();</script>
844<script> 845 window.ShopifyAnalytics = window.ShopifyAnalytics || {}; 846 window.ShopifyAnalytics.meta = window.ShopifyAnalytics.meta || {}; 847 window.ShopifyAnalytics.meta.currency = 'USD'; 848 var meta = {"page":{"pageType":"page","resourceType":"page","resourceId":51610976305,"requestId":"e056d1f7-6e0f-4ff6-b9ee-bea8901e0d49-1791062536"}}; 849 for (var attr in meta) { 850 window.ShopifyAnalytics.meta[attr] = meta[attr]; 851 } 852</script>
vendor: 1 bytes, line 852
852
853<script class="analytics"> 854 (function () { 855 var customDocumentWrite = function(content) { 856 var jquery = null; 857 858 if (window.jQuery) { 859 jquery = window.jQuery; 860 } else if (window.Checkout && window.Checkout.$) { 861 jquery = window.Checkout.$; 862 } 863 864 if (jquery) { 865 jquery('body').append(content); 866 } 867 }; 868 869 var hasLoggedConversion = function(token) { 870 if (token) { 871 return document.cookie.indexOf('loggedConversion=' + token) !== -1; 872 } 873 return false; 874 } 875 876 var setCookieIfConversion = function(token) { 877 if (token) { 878 var twoMonthsFromNow = new Date(Date.now()); 879 twoMonthsFromNow.setMonth(twoMonthsFromNow.getMonth() + 2); 880 881 document.cookie = 'loggedConversion=' + token + '; expires=' + twoMonthsFromNow; 882 } 883 } 884 885 var trekkie = window.ShopifyAnalytics.lib = window.trekkie = window.trekkie || []; 886 window.ShopifyAnalytics.lib.trekkie = window.trekkie; 887 if (trekkie.integrations) { 888 return; 889 } 890 trekkie.methods = [ 891 'identify', 892 'page', 893 'ready', 894 'track', 895 'trackForm', 896 'trackLink' 897 ]; 898 trekkie.factory = function(method) { 899 return function() { 900 var args = Array.prototype.slice.call(arguments); 901 args.unshift(method); 902 trekkie.push(args); 903 if (method == 'track' || method == 'page') { 904 var pageUrl; 905 try { 906 pageUrl = window.location.href; 907 } catch (e) {} 908 var pageReferrer; 909 try { 910 pageReferrer = document.referrer; 911 } catch (e) {} 912 try { 913 if (window.__TREKKIE_SHIM_QUEUE == null) { 914 window.__TREKKIE_SHIM_QUEUE = []; 915 } 916 window.__TREKKIE_SHIM_QUEUE.push({ 917 from: 'trekkie-stub', 918 method: method, 919 args: args.slice(1), 920 pageContext: { 921 url: pageUrl, 922 referrer: pageReferrer 923 } 924 }); 925 } catch (e) { 926 // no-op 927 } 928 } 929 return trekkie; 930 }; 931 }; 932 for (var i = 0; i < trekkie.methods.length; i++) { 933 var key = trekkie.methods[i]; 934 trekkie[key] = trekkie.factory(key); 935 } 936 trekkie.load = function(config) { 937 trekkie.config = config || {}; 938 trekkie.config.initialDocumentCookie = document.cookie; 939 var first = document.getElementsByTagName('script')[0]; 940var script = document.createElement('script'); 941script.type = 'text/javascript'; 942script.onerror = function(e) { 943 var scriptFallback = document.createElement('script'); 944 scriptFallback.type = 'text/javascript'; 945 scriptFallback.onerror = function(error) { 946 var Monorail = { 947 produce: function produce(monorailDomain, schemaId, payload) { 948 var currentMs = new Date().getTime(); 949 var event = { 950 schema_id: schemaId, 951 payload: payload, 952 metadata: { 953 event_created_at_ms: currentMs, 954 event_sent_at_ms: currentMs 955 } 956 }; 957 return Monorail.sendRequest("https://" + monorailDomain + "/v1/produce", JSON.stringify(event)); 958 }, 959 sendRequest: function sendRequest(endpointUrl, payload) { 960 // Try the sendBeacon API 961 if (window && window.navigator && typeof window.navigator.sendBeacon === 'function' && typeof window.Blob === 'function' && !Monorail.isIos12()) { 962 var blobData = new window.Blob([payload], { 963 type: 'text/plain' 964 }); 965 966 if (window.navigator.sendBeacon(endpointUrl, blobData)) { 967 return true; 968 } // sendBeacon was not successful 969 970 } // XHR beacon 971 972 var xhr = new XMLHttpRequest(); 973 974 try { 975 xhr.open('POST', endpointUrl); 976 xhr.setRequestHeader('Content-Type', 'text/plain'); 977 xhr.send(payload); 978 } catch (e) { 979 console.log(e); 980 } 981 982 return false; 983 }, 984 isIos12: function isIos12() { 985 return window.navigator.userAgent.lastIndexOf('iPhone; CPU iPhone OS 12_') !== -1 || window.navigator.userAgent.lastIndexOf('iPad; CPU OS 12_') !== -1; 986 } 987 }; 988 Monorail.produce('monorail-edge.shopifysvc.com', 989 'trekkie_storefront_load_errors/1.1', 990 {shop_id: 368682, 991 theme_id: 82739920945, 992 app_name: "storefront", 993 context_url: window.location.href, 994 source_url: "//sugarpill.com/cdn/s/trekkie.storefront.2f6d7d7ede7d24234881a9cd5f47e679642fa1f6.min.js"}); 995 996 }; 997 scriptFallback.async = true; 998 scriptFallback.src = '//sugarpill.com/cdn/s/trekkie.storefront.2f6d7d7ede7d24234881a9cd5f47e679642fa1f6.min.js'; 999 first.parentNode.insertBefore(scriptFallback, first); 1000}; 1001script.async = true; 1002script.src = '//sugarpill.com/cdn/s/trekkie.storefront.2f6d7d7ede7d24234881a9cd5f47e679642fa1f6.min.js'; 1003first.parentNode.insertBefore(script, first); 1004 1005 }; 1006 trekkie.load( 1007 {"Trekkie":{"appName":"storefront","development":false,"defaultAttributes":{"shopId":368682,"isMerchantRequest":null,"themeId":82739920945,"themeCityHash":"17050308233351683202","contentLanguage":"en","currency":"USD","eventMetadataId":"c8244f7a-9535-4534-9c99-fd1d7d6c749b"},"isServerSideCookieWritingEnabled":true,"monorailRegion":"shop_domain","enabledBetaFlags":["764d78cb","8450a54b","7ee89bf1","4c64608a"]},"Session Attribution":{},"S2S":{"facebookCapiEnabled":true,"source":"trekkie-storefront-renderer","apiClientId":580111}} 1008 ); 1009 1010 var loaded = false;
1011 trekkie.ready(function() { 1012 if (loaded) return; 1013 loaded = true; 1014 1015 window.ShopifyAnalytics.lib = window.trekkie; 1016 1017 var originalDocumentWrite = document.write; 1018 document.write = customDocumentWrite; 1019 try { window.ShopifyAnalytics.merchantGoogleAnalytics.call(this); } catch(error) {}; 1020 document.write = originalDocumentWrite; 1021 1022 var match = window.location.pathname.match(/checkouts\/(.+)\/(thank_you|post_purchase)/) 1023 var token = match? match[1]: undefined; 1024 if (!hasLoggedConversion(token)) { 1025 setCookieIfConversion(token); 1026 1027 } 1028 }); 1029 1030 window.ShopifyAnalytics.lib.page(null,{"pageType":"page","resourceType":"page","resourceId":51610976305,"requestId":"e056d1f7-6e0f-4ff6-b9ee-bea8901e0d49-1791062536","shopifyEmitted":true}); 1031 1032 var eventsListenerScript = document.createElement('script'); 1033 eventsListenerScript.async = true; 1034 eventsListenerScript.src = "//sugarpill.com/cdn/shopifycloud/storefront/assets/shop_events_listener-4e26a9ce.js"; 1035 document.getElementsByTagName('head')[0].appendChild(eventsListenerScript); 1036})();</script>
1036 1037
1037<script> 1038 if (!window.ga || (window.ga && typeof window.ga !== 'function')) { 1039 window.ga = function ga() { 1040 (window.ga.q = window.ga.q || []).push(arguments); 1041 if (window.Shopify && window.Shopify.analytics && typeof window.Shopify.analytics.publish === 'function') { 1042 window.Shopify.analytics.publish("ga_stub_called", {}, {sendTo: "google_osp_migration"}); 1043 } 1044 console.error("Shopify's Google Analytics stub called with:", Array.from(arguments), "\nSee https://help.shopify.com/manual/promoting-marketing/pixels/pixel-migration#google for more information."); 1045 }; 1046 if (window.Shopify && window.Shopify.analytics && typeof window.Shopify.analytics.publish === 'function') { 1047 window.Shopify.analytics.publish("ga_stub_initialized", {}, {sendTo: "google_osp_migration"}); 1048 } 1049 } 1050</script>
vendor: 1 bytes, line 1050
1050
1051<script 1052 defer 1053 src="https://sugarpill.com/cdn/shopifycloud/perf-kit/shopify-perf-kit-3.9.4.min.js" 1054 data-application="storefront-renderer" 1055 data-shop-id="368682" 1056 data-render-region="gcp-us-central1" 1057 data-page-type="page" 1058 data-theme-instance-id="82739920945" 1059 data-theme-name="" 1060 data-theme-version="" 1061 data-monorail-region="shop_domain" 1062 data-resource-timing-sampling-rate="10" 1063 data-shs="true" 1064 data-shs-beacon="true" 1065 data-shs-export-with-fetch="true" 1066 data-shs-logs-sample-rate="1" 1067 data-shs-beacon-endpoint="https://sugarpill.com/api/collect" 1068></script>
1068 1069<meta name="shopify-y" content="5fbd4f7e-757f-4055-b269-3a4ce27d2011" data-expiration="1822620136000"><meta name="shopify-s" content="82effac6-9634-49b7-b0ca-b54273300192" data-expiration="1791064336000"><meta name="new-cookie-storage-activated" content="t"> 1070</head> 1071 1072 1073
1074<script type="text/javascript">!function(e,t,n){function a(){var e=t.getElementsByTagName("script")[0],n=t.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://beacon-v2.helpscout.net",e.parentNode.insertBefore(n,e)}if(e.Beacon=n=function(t,n,a){e.Beacon.readyQueue.push({method:t,options:n,data:a})},n.readyQueue=[],"complete"===t.readyState)return a();e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}(window,document,window.Beacon||function(){});</script>
vendor: 1 bytes, line 1074
1074
1075<script type="text/javascript">window.Beacon('init', '82067ba8-8226-4402-b44d-a0565b6ce6b3')</script>
1075 1076 1077<body id="about-sugarpill" class="template-page-aboutsugarpill" > 1078 1079 <div id="NavDrawer" class="drawer drawer--left"> 1080 <div class="drawer__header"> 1081 <div class="drawer__title h3">Browse</div> 1082 <div class="drawer__close js-drawer-close"> 1083 <button type="button" class="icon-fallback-text"> 1084 <span class="icon icon-x" aria-hidden="true"></span> 1085 <span class="fallback-text">Close menu</span> 1086 </button> 1087 </div> 1088 </div> 1089 <!-- begin mobile-nav --> 1090 <ul class="mobile-nav"> 1091 <li class="mobile-nav__item mobile-nav__search"> 1092 <!-- /snippets/search-bar.liquid --> 1093 1094 1095<form action="/search" method="get" class="input-group search-bar" role="search"> 1096 1097 <input type="search" name="q" value="" placeholder="Search our store" class="input-group-field" aria-label="Search our store"> 1098 <span class="input-group-btn"> 1099 <button type="submit" class="btn icon-fallback-text"> 1100 <span class="icon icon-search" aria-hidden="true"></span> 1101 <span class="fallback-text">Search</span> 1102 </button> 1103 </span> 1104</form> 1105 1106 </li> 1107 1108 1109 1110 1111 <li class="mobile-nav__item" aria-haspopup="true"> 1112 <div class="mobile-nav__has-sublist"> 1113 <a href="/collections/eyes" class="mobile-nav__link">Eyes</a> 1114 <div class="mobile-nav__toggle"> 1115 <button type="button" class="icon-fallback-text mobile-nav__toggle-open"> 1116 <span class="icon icon-plus" aria-hidden="true"></span> 1117 <span class="fallback-text">See More</span> 1118 </button> 1119 <button type="button" class="icon-fallback-text mobile-nav__toggle-close"> 1120 <span class="icon icon-minus" aria-hidden="true"></span> 1121 <span class="fallback-text">"Close Cart"</span> 1122 </button> 1123 </div> 1124 </div> 1125 <ul class="mobile-nav__sublist"> 1126 1127 1128 1129 <li class="mobile-nav__item "> 1130 <a href="/products/pro-pans" class="mobile-nav__link">Pro Pans</a> 1131 </li> 1132 1133 1134 1135 1136 <li class="mobile-nav__item "> 1137 <a href="/collections/pressed-eyeshadow" class="mobile-nav__link">Pressed</a> 1138 </li> 1139 1140 1141 1142 1143 <li class="mobile-nav__item "> 1144 <a href="/collections/loose-eyeshadows" class="mobile-nav__link">Loose</a> 1145 </li> 1146 1147 1148 </ul> 1149 </li> 1150 1151 1152 1153 1154 1155 <li class="mobile-nav__item" aria-haspopup="true"> 1156 <div class="mobile-nav__has-sublist"> 1157 <a href="#" class="mobile-nav__link">Lips</a> 1158 <div class="mobile-nav__toggle"> 1159 <button type="button" class="icon-fallback-text mobile-nav__toggle-open"> 1160 <span class="icon icon-plus" aria-hidden="true"></span> 1161 <span class="fallback-text">See More</span> 1162 </button> 1163 <button type="button" class="icon-fallback-text mobile-nav__toggle-close"> 1164 <span class="icon icon-minus" aria-hidden="true"></span> 1165 <span class="fallback-text">"Close Cart"</span> 1166 </button> 1167 </div> 1168 </div> 1169 <ul class="mobile-nav__sublist"> 1170 1171 1172 1173 <li class="mobile-nav__item "> 1174 <a href="/collections/liquid-lip-color" class="mobile-nav__link">Liquid Lip Color</a> 1175 </li> 1176 1177 1178 1179 1180 <li class="mobile-nav__item "> 1181 <a href="/collections/lip-gloss" class="mobile-nav__link">Lip Gloss</a> 1182 </li> 1183 1184 1185 </ul> 1186 </li> 1187 1188 1189 1190 1191 1192 <li class="mobile-nav__item" aria-haspopup="true"> 1193 <div class="mobile-nav__has-sublist"> 1194 <a href="/collections/palettes" class="mobile-nav__link">Palettes</a> 1195 <div class="mobile-nav__toggle"> 1196 <button type="button" class="icon-fallback-text mobile-nav__toggle-open">
1197 <span class="icon icon-plus" aria-hidden="true"></span> 1198 <span class="fallback-text">See More</span> 1199 </button> 1200 <button type="button" class="icon-fallback-text mobile-nav__toggle-close"> 1201 <span class="icon icon-minus" aria-hidden="true"></span> 1202 <span class="fallback-text">"Close Cart"</span> 1203 </button> 1204 </div> 1205 </div> 1206 <ul class="mobile-nav__sublist"> 1207 1208 1209 1210 <li class="mobile-nav__item "> 1211 <a href="/products/pro-palette" class="mobile-nav__link">Pro Palette</a> 1212 </li> 1213 1214 1215 1216 1217 <li class="mobile-nav__item "> 1218 <a href="/products/pro-palette-mini" class="mobile-nav__link">Pro Palette Mini</a> 1219 </li> 1220 1221 1222 1223 1224 <li class="mobile-nav__item "> 1225 <a href="/collections/themed-palettes" class="mobile-nav__link">Themed</a> 1226 </li> 1227 1228 1229 </ul> 1230 </li> 1231 1232 1233 1234 1235 1236 <li class="mobile-nav__item"> 1237 <a href="/collections/eyelashes" class="mobile-nav__link">Liner & Lashes</a> 1238 </li> 1239 1240 1241 1242 1243 1244 <li class="mobile-nav__item" aria-haspopup="true"> 1245 <div class="mobile-nav__has-sublist"> 1246 <a href="/collections/sale" class="mobile-nav__link">Deals</a> 1247 <div class="mobile-nav__toggle"> 1248 <button type="button" class="icon-fallback-text mobile-nav__toggle-open"> 1249 <span class="icon icon-plus" aria-hidden="true"></span> 1250 <span class="fallback-text">See More</span> 1251 </button> 1252 <button type="button" class="icon-fallback-text mobile-nav__toggle-close"> 1253 <span class="icon icon-minus" aria-hidden="true"></span> 1254 <span class="fallback-text">"Close Cart"</span> 1255 </button> 1256 </div> 1257 </div> 1258 <ul class="mobile-nav__sublist"> 1259 1260 1261 1262 <li class="mobile-nav__item "> 1263 <a href="/collections/bundles" class="mobile-nav__link">Bundles</a> 1264 </li> 1265 1266 1267 1268 1269 <li class="mobile-nav__item "> 1270 <a href="/collections/sale" class="mobile-nav__link">Sale</a> 1271 </li> 1272 1273 1274 </ul> 1275 </li> 1276 1277 1278 1279 1280 1281 <li class="mobile-nav__item"> 1282 <a href="/collections/gift-cards" class="mobile-nav__link">GIFT CARDS</a> 1283 </li> 1284 1285 1286 1287 1288 1289 1290 <li class="mobile-nav__item"> 1291 <a href="https://sugarpill.com/customer_authentication/redirect?locale=en&region_country=US" id="customer_login_link">Log in</a> 1292 </li> 1293 <li class="mobile-nav__item"> 1294 <a href="https://account.sugarpill.com?locale=en®ion_country=US&buyer_flags=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdWdhcnBpbGwubXlzaG9waWZ5LmNvbSIsImZsYWdzIjpbXSwiZXhwIjoxNzkxNjY3MzM2LCJuYmYiOjE3OTEwNjI1MzZ9.YieyUFDxAtr_2AbZKerVo3szAaadNfAojqXnQH6qqTY" id="customer_register_link">Create account</a> 1295 </li> 1296 1297 1298 </ul> 1299 <!-- //mobile-nav --> 1300 </div> 1301 1302 <div class="arrow-up"></div> 1303 <div class="cart-drawer-container"> 1304 <div id="CartDrawer" class="drawer drawer--right"> 1305 <div class="drawer__header"> 1306 <div class="drawer__title h3">Shopping Cart</div> 1307 <div class="drawer__close js-drawer-close"> 1308 <button type="button" class="icon-fallback-text"> 1309 <span class="icon icon-x" aria-hidden="true"></span> 1310 <span class="fallback-text">"Close Cart"</span> 1311 </button> 1312 </div> 1313 </div> 1314 <div id="CartContainer"></div> 1315 </div> 1316 </div> 1317 1318 <div id="PageContainer" class="is-moved-by-drawer"> 1319 <header class="site-header" role="banner"> 1320 <div class="sparkles-left"></div> 1321 <div class="sparkles-right"></div> 1322 <div class="grid--full top-header sparkley"> 1323 <div class="wrapper"> 1324 <div class="grid__item one-half header-left medium-down--one-whole medium-down--text-center">Free shipping for U.S. orders $65+</div> 1325 <div class="grid__item one-half header-right medium-down--hide"> 1326 <div class="header-right-item"><a href="/products/gift-card/">Gift Cards</a></div> 1327 1328 1329 <div class="header-right-item"> 1330 1331 <a href="https://sugarpill.com/customer_authentication/redirect?locale=en&region_country=US" id="customer_login_link">Log in</a> 1332 1333 </div> 1334 1335 1336 <div class="header-right-item"> 1337 <label class="currency-picker__wrapper"> 1338 <span class="currency-picker__label"></span> 1339 <select class="currency-picker" name="currencies" style="display: inline; width: auto; vertical-align: inherit;"> 1340 1341 1342 <option value="USD" selected="selected">USD</option> 1343 1344 1345 <option value="GBP">GBP</option> 1346 1347 1348 1349 <option value="CAD">CAD</option> 1350 1351 1352 1353 1354 1355 <option value="AUD">AUD</option> 1356 1357 1358 </select> 1359</label> 1360 </div> 1361 1362 <div class="header-right-item"> 1363 <a href="/cart" class="site-header__cart-toggle js-drawer-open-right" aria-controls="CartDrawer" aria-expanded="false">
1364 <span class="icon icon-cart" aria-hidden="true"></span> 1365 <!-- Cart --> 1366 1367 <span id="CartCount">0</span> 1368 1369 <!-- items 1370 <span id="CartCost"><span class=money>$0.00 </span></span>)--> 1371 </a> 1372 1373 </div> 1374 </div> 1375 </div><!-- close wrapper --> 1376 </div> 1377 <div class="grid--full bottom-header"> 1378 <div class="wrapper"> 1379 <div class="main-header grid--full grid--table"> 1380 <div class="large--hide medium-down--show medium-down--one-third"> 1381 <div class="site-nav--mobile"> 1382 <button type="button" class="icon-fallback-text site-nav__link js-drawer-open-left" aria-controls="NavDrawer" aria-expanded="false"> 1383 <span class="icon icon-hamburger" aria-hidden="true"></span> 1384 <span class="fallback-text">Menu</span> 1385 </button> 1386 </div> 1387 </div> 1388 1389 <div class="grid__item large--one-sixth medium--one-third small--one-half"> 1390 1391 1392 <div class="h1 site-header__logo large--left" itemscope itemtype="http://schema.org/Organization"> 1393 1394 1395 <a href="/" itemprop="url" class="site-header__logo-link"> 1396 <img src="//sugarpill.com/cdn/shop/t/35/assets/logo-py-3.png?v=23243465894023376541595435840" alt="Sugarpill Cosmetics" itemprop="logo"> 1397 </a> 1398 1399 1400 </div> 1401 1402 </div> 1403 1404 1405 <div class="grid__item one-half push--two-thirds medium-down--one-third large--hide medium-down--show"> 1406 <div class="site-nav--mobile"> 1407 <a href="/cart" class="js-drawer-open-right site-nav__link" aria-controls="CartDrawer" aria-expanded="false"> 1408 <span class="icon-fallback-text"> 1409 <span class="icon icon-cart" aria-hidden="true"></span> 1410 <span class="fallback-text">Cart</span> 1411 </span> 1412 </a> 1413 </div> 1414 </div> 1415 1416 1417 <div class="grid__item large--one-half medium-down--hide"> 1418 <nav class="nav-bar" role="navigation"> 1419 1420 1421 1422 <!-- begin site-nav --> 1423 <ul class="site-nav" id="AccessibleNav"> 1424 <nav role="navigation" id="mmnav"> 1425 <ul> 1426 <li> 1427 <a href="https://sugarpill.com/collections/eyes">Eyes</a> <i class="arrow"></i> 1428 <ul class="dropdown" id="dropdown5"> 1429 <div> 1430 <p align="center"> <a href="https://sugarpill.com/collections/pressed-eyeshadow"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/compacts.png?v=1595449868"</a></p> 1431 <p align="center"><a href="https://sugarpill.com/collections/pressed-eyeshadow">Pressed</a></p> 1432 </div> 1433 <div> 1434 <p align="center"> <a href="https://sugarpill.com/collections/loose-eyeshadows"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/loose-eyeshadows.png?v=1595449880" width="159"></a></p> 1435 <p align="center"> <a href="https://sugarpill.com/collections/loose-eyeshadows">Loose</a></p> 1436 </div> 1437 <div> 1438 <p align="center"> <a href="https://sugarpill.com/collections/pressed-eyeshadow/products/pro-pans"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/propans.png?v=1595449888" width="159"></a></p> 1439 <p align="center"> <a href="https://sugarpill.com/collections/pressed-eyeshadow/products/pro-pans">Pro Pans</a></p> 1440 </div> 1441 <div> 1442 <p align="center"> <a href="https://sugarpill.com/collections/eyelashes"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/lashes_nav.png" width="159"></a></p> 1443 <p align="center"> <a href="https://sugarpill.com/collections/eyelashes">Liner & Lashes</a></p> 1444 </div> 1445 </ul> 1446 </li> 1447 <li> 1448 <a href="https://sugarpill.com/collections/lip-color">Lips</a> <i class="arrow"></i> 1449 <ul class="dropdown" id="dropdown4"> 1450 <div> 1451 <p align="center"> <a href="https://sugarpill.com/collections/liquid-lip-color"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/llc.png" width="159"></a></p> 1452 <p align="center"> <a href="https://sugarpill.com/collections/liquid-lip-color">Liquid Lip Color</a></p> 1453 </div> 1454 1455 <div> 1456 <p align="center"> <a href="https://sugarpill.com/collections/lip-gloss"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/gloss-swatch.png" width="159"></a></p> 1457 <p align="center"><a href="https://sugarpill.com/collections/lip-gloss">Lip Gloss</a></p> 1458 </div> 1459 1460 <!-- <div> 1461 <p align="center"> <a href="https://sugarpill.com/collections/lipstick"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/lipstick-circle.png" width="159"></a></p> 1462 <p align="center"> <a href="https://sugarpill.com/collections/lipstick">Lipstick</a></p> 1463 </div> 1464 --> 1465 </ul> 1466 </li> 1467 <li> 1468 <a href="https://sugarpill.com/collections/palettes">Palettes</a> <i class="arrow"></i> 1469 <ul class="dropdown" id="dropdown4"> 1470 1471 1472 <div> 1473 <p align="center"> <a href="https://sugarpill.com/products/pro-palette-mini"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/mini-circle.png?v=1595623947" width="159"></a></p> 1474 <p align="center"> <a href="https://sugarpill.com/products/pro-palette-mini">Pro Palette Mini</a></p> 1475 </div> 1476 1477 <div> 1478 <p align="center"> <a href="https://sugarpill.com/collections/palettes"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/palette_nav.png?v=1595622174" width="159"></a></p> 1479 <p align="center"> <a href="https://sugarpill.com/collections/palettes">All Palettes</a></p> 1480 </div> 1481 </ul> 1482 </li> 1483 <li> 1484<!-- <a href="https://sugarpill.com/collections/halloween">Halloween</a> 1485 <li> 1486 --> 1487 1488 <a href="https://sugarpill.com/collections/sale">Deals</a> <i class="arrow"></i> 1489 <ul class="dropdown" id="dropdown1"> 1490 1491 <!-- <div> 1492 <p align="center"> <a href="https://sugarpill.com/collections/lunar-new-year-2025"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/navigation_LNY25.png?v=1738179693" width="159"></a></p> 1493 <p align="center"> <a href="https://sugarpill.com/collections/lunar-new-year-2025">LNY 2025</a></p> 1494 </div> --> 1495 1496 <div> 1497 <p align="center"> <a href="https://sugarpill.com/collections/sale"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/deals_tab.png" width="159"></a></p> 1498 <p align="center"> <a href="https://sugarpill.com/collections/sale">Sale</a></p> 1499 </div> 1500 1501 <div> 1502 <p align="center"> <a href="https://sugarpill.com/collections/bundles"><img src="https://cdn.shopify.com/s/files/1/0036/8682/t/35/assets/bundle_nav.png" width="159"></a></p> 1503 <p align="center"> <a href="https://sugarpill.com/collections/bundles">Bundles</a></p> 1504 </div> 1505 1506 </ul> 1507 </li> 1508 1509 </ul> 1510</nav> 1511 </ul> 1512 <!-- //site-nav --> 1513 1514 </nav> 1515 </div> 1516 <div class="right large--text-right medium-down--hide"> 1517 1518 <div class="header-right"> 1519 <div class="site-header__search left"> 1520 <!-- /snippets/search-bar.liquid --> 1521 1522 1523<form action="/search" method="get" class="input-group search-bar" role="search"> 1524 1525 <input type="search" name="q" value="" placeholder="Search our store" class="input-group-field" aria-label="Search our store"> 1526 <span class="input-group-btn"> 1527 <button type="submit" class="btn icon-fallback-text">
1528 <span class="icon icon-search" aria-hidden="true"></span> 1529 <span class="fallback-text">Search</span> 1530 </button> 1531 </span> 1532</form> 1533 1534 </div> 1535 </div> 1536 </div> 1537 </div> <!-- end wrapper --> 1538 1539 </div> 1540 </header> 1541 1542 <main class="wrapper main-content" role="main"> 1543 1544 <!-- /templates/page.liquid --> 1545<div class="grid"> 1546 1547 <div class="grid__item large--two-thirds push--large--one-sixth"> 1548 1549 1550 1551 <div class="rte"> 1552 <div class="about-container"> 1553<div class="about-page-header">ABOUT US</div> 1554<div class="about-body"> 1555<img alt="Amy Doan Shrinkle Sugarpill" src="https://cdn.shopify.com/s/files/1/0036/8682/files/amy-doan-shrinkle-rectangle_600x600.jpg?v=1573070913"> <img id="hi-cutie" src="https://cdn.shopify.com/s/files/1/0036/8682/files/hi-cutie3.png?v=1597441451"> <br>I'm <strong>Amy Doan</strong>, the founder of Sugarpill.<br data-mce-fragment="1"><br data-mce-fragment="1">Since 2010, Sugarpill has been a trailblazer in unique, unapologetically cute, and cruelty-free cosmetics. We believe in the freedom of limitless self-expression through makeup.<br data-mce-fragment="1"><br data-mce-fragment="1">The dream began in 2003, when Myspace, Tumblr, and Livejournal dominated the fashion scene. I was running my own DIY punk fashion line called Shrinkle, which consisted of colorful, upcycled thrift store slips and sluttified band tees embellished with lace and hardware. While showcasing my clothing online, I received numerous inquiries about the dramatic, intensely hued makeup I wore, which was actually theater paint I adopted from performers in the underground drag clubs Iâd been frequenting since I was a fake ID-toting teen. <br data-mce-fragment="1"><br data-mce-fragment="1">I was frustrated by a beauty market saturated with products which promised to accentuate natural beauty and conceal âflaws.â Fashion magazines warned against pairing bright blue eyeshadow with bold lips, lest - God forbid! - one attracts too much attention.<br data-mce-fragment="1"><br data-mce-fragment="1">When I realized there was a huge demand for super vibrant, high quality makeup in the club scene, I decided to make it more accessible by selling makeup from the theater store alongside my clothing. It was an instant hit, but I wished I had control over the quality, formula, and colors.â¨â¨I dreamed of a gender-inclusive makeup line that offered daring shades other brands were afraid to make, in a professional-grade, high-end formula - all wrapped up in the most adorable packaging ever. Inspired by the colorful characters in my life, I began to develop my own unique brand of cosmetics for those of us who use makeup as an art form but could not find a brand that understood our unconventional lifestyles.<br data-mce-fragment="1"><br data-mce-fragment="1">After five years in development, Sugarpill launched a small but eagerly anticipated collection of insanely bright eyeshadows in never-before-seen shades on Valentines Day 2010. Within months of launch, we became the most talked about brand in the indie makeup world. Today our range includes super pigmented matte and duochrome eyeshadows, metallic and glitter lip colors and glosses, vegan lashes, themed and customizable palettes. We pioneered the worldâs first matte-to-sparkle glitter liquid lipstick, Trinket, which quickly went viral and kicked off the worldwide craze.<br data-mce-fragment="1"><br data-mce-fragment="1">Despite our rapid growth, we refuse to sell out by losing sight of our mission to create ethical makeup that represents the underrepresented. Our products are made locally in Los Angeles to ensure safety and quality control. We do not repackage private label - all formulas are our own, so we know exactly what's in 'em!</div> 1556<br><br> 1557<div class="turkey-container"> 1558<div class="about-page-cf">ALWAYS CRUELTY FREE</div> 1559<div class="about-turkey"> 1560<img alt="Sugarpill Dumpster Cat Turkey" src="https://cdn.shopify.com/s/files/1/0036/8682/files/turkey-portrait.png?v=1597436068"> 1561<p>As a supreme animal lover, keeping Sugarpill cruelty-free was never a question. By offering a beautiful selection of cruelty-free cosmetics - most of them vegan - I hope to show people how fun and easy it is to make animal-friendly choices. <br><br>Seeing my vision come to life has been a dream come true, and I could not have done it without you!</p> 1562</div> 1563</div> 1564<div class="about-body"> 1565<br><br><center>XOXO <br>Amy (<a href="http://www.instagram.com/shrinkle" target="_new">@shrinkle</a>) <br>and Turkey <br>(<a href="http://www.instagram.com/dumpstercatturkey" target="_new">@dumpstercatturkey</a>)</center> 1566<br><br> 1567</div> 1568</div> 1569 </div> 1570 1571 </div> 1572 1573</div> 1574 1575 1576 </main> 1577 1578 <!-- begin site-footer --> 1579 1580 <footer class="site-footer small--text-center" role="contentinfo"> 1581 <div class="wrapper"> 1582 <div class="grid"> 1583 1584 <div class="grid__item large--one-third medium--one-half"> 1585 <h3>Company</h3> 1586 <ul> 1587 1588 <li><a href="/pages/about-sugarpill">About</a></li> 1589 1590 <li><a href="/pages/stockists">Stockists</a></li> 1591 1592 <li><a href="/pages/privacy-policy">Privacy Policy</a></li> 1593 1594 <li><a href="/pages/terms-of-service">Terms of Service</a></li> 1595 1596 <li><a href="/pages/legal">Legal Disclaimer</a></li> 1597 1598 </ul> 1599 </div> 1600 <div class="grid__item large--one-third medium--one-half"> 1601 <h3>Customer Service</h3> 1602 <ul> 1603 1604 <li><a href="/pages/shipping-returns">Shipping & Returns</a></li> 1605 1606 <li><a href="/pages/faq-backup">FAQ</a></li> 1607 1608 <li><a href="/pages/contact">Contact</a></li> 1609 1610 </ul> 1611 </div> 1612 1613 1614 <div class="newsletter grid__item large--one-third medium--one-whole"> 1615 1616 <h3>Connect</h3> 1617 <p>Sign up for emails to get 10% off your first order!</p> 1618 <div id="mc_embed_signup"> 1619<form action="https://sugarpill.us7.list-manage.com/subscribe/post?u=914e8ed3bb095c37fd06b959a&id=933cb5907b" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> 1620 <div id="mc_embed_signup_scroll"> 1621 <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required><p> 1622 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_914e8ed3bb095c37fd06b959a_933cb5907b" tabindex="-1" value=""></div> 1623 <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div> 1624 </div> 1625</form> 1626</div> 1627 1628 1629 1630 1631 1632 1633 <div class="social"> 1634 <!--<h3>Get Connected</h3>--> 1635 <ul class="inline-list social-icons"> 1636 1637 <li> 1638 <a class="icon-fallback-text" href="https://facebook.com/sugarpillcosmetics" title="Sugarpill Cosmetics on Facebook">
1639 <span class="icon icon-facebook" aria-hidden="true"></span> 1640 <span class="fallback-text">Facebook</span> 1641 </a> 1642 </li> 1643 1644 1645 <li> 1646 <a class="icon-fallback-text" href="https://www.instagram.com/sugarpill" title="Sugarpill Cosmetics on Instagram"> 1647 <span class="icon icon-instagram" aria-hidden="true"></span> 1648 <span class="fallback-text">Instagram</span> 1649 </a> 1650 </li> 1651 1652 1653 1654 1655 <li> 1656 <a class="icon-fallback-text" href="https://twitter.com/sugarpillmakeup" title="Sugarpill Cosmetics on Twitter"> 1657 <span class="icon icon-twitter" aria-hidden="true"></span> 1658 <span class="fallback-text">Twitter</span> 1659 </a> 1660 </li> 1661 1662 </ul> 1663 </div> 1664 1665 1666 1667 </div> 1668 1669 <div class="bottom-footer grid__item text-center"> 1670 1671 1672 1673 1674 <h4 class="text-center">Accepted Payments</h4> 1675 <ul class="inline-list payment-icons"> 1676 1677 1678 1679 1680 <li> 1681 <span class="icon-fallback-text"> 1682 <span class="icon icon-american_express" aria-hidden="true"></span> 1683 <span class="fallback-text">american express</span> 1684 </span> 1685 </li> 1686 1687 1688 1689 1690 1691 1692 1693 <li> 1694 <span class="icon-fallback-text"> 1695 <span class="icon icon-diners_club" aria-hidden="true"></span> 1696 <span class="fallback-text">diners club</span> 1697 </span> 1698 </li> 1699 1700 1701 1702 <li> 1703 <span class="icon-fallback-text"> 1704 <span class="icon icon-discover" aria-hidden="true"></span> 1705 <span class="fallback-text">discover</span> 1706 </span> 1707 </li> 1708 1709 1710 1711 <li> 1712 <span class="icon-fallback-text"> 1713 <span class="icon icon-master" aria-hidden="true"></span> 1714 <span class="fallback-text">master</span> 1715 </span> 1716 </li> 1717 1718 1719 1720 <li> 1721 <span class="icon-fallback-text"> 1722 <span class="icon icon-paypal" aria-hidden="true"></span> 1723 <span class="fallback-text">paypal</span> 1724 </span> 1725 </li> 1726 1727 1728 1729 1730 1731 <li> 1732 <span class="icon-fallback-text"> 1733 <span class="icon icon-visa" aria-hidden="true"></span> 1734 <span class="fallback-text">visa</span> 1735 </span> 1736 </li> 1737 1738 1739 </ul> 1740 1741 © 2026 Sugarpill Cosmetics :: <a href="/pages/privacy-policy">Privacy Policy</a> :: site by <a href="http://bahiadesigns.com">bahia designs</a><br> 1742 1743 </div> 1744 </div> 1745 </div> 1746 </footer> 1747 <!-- //site-footer --> 1748 </div> 1749
1749<script> 1750 1751 </script>
1751 1752 1753 1754
1754<script src="//sugarpill.com/cdn/shop/t/35/assets/jquery.flexslider-min.js?v=20098172912808748111595435830" type="text/javascript"></script>
1754 1755 <link href="//sugarpill.com/cdn/shop/t/35/assets/flexslider.css?v=140385811829603030061790703983" rel="stylesheet" type="text/css" media="all" /> 1756 1757 1758
1758<script src="//sugarpill.com/cdn/shop/t/35/assets/fastclick.min.js?v=29723458539410922371595435808" type="text/javascript"></script>
1758 1759
1759<script src="//sugarpill.com/cdn/shop/t/35/assets/timber.js?v=107368128355110371131595435900" type="text/javascript"></script>
1759 1760
1760<script src="//sugarpill.com/cdn/shop/t/35/assets/theme.js?v=90195025385667209191595435900" type="text/javascript"></script>
1760 1761
1761<script src="//sugarpill.com/cdn/shop/t/35/assets/sparkles.js?v=180415319975841295311595435877" type="text/javascript"></script>
1761 1762 1763
1763<script> 1764 1765 </script>
1765 1766 1767 1768 1769
1769<script src="//sugarpill.com/cdn/shop/t/35/assets/handlebars.min.js?v=79044469952368397291595435816" type="text/javascript"></script>
1769 1770 <!-- /snippets/ajax-cart-template.liquid --> 1771 1772
1772<script id="CartTemplate" type="text/template"> 1773 1774 <form action="/cart" method="post" novalidate class="cart ajaxcart"> 1775 <div class="ajaxcart__inner"> 1776 {{#items}} 1777 <div class="ajaxcart__product"> 1778 <div class="ajaxcart__row" data-line="{{line}}"> 1779 <div class="grid"> 1780 <div class="grid__item one-quarter"> 1781 <a href="{{url}}" class="ajaxcart__product-image"><img src="{{img}}" alt=""></a> 1782 </div> 1783 <div class="grid__item three-quarters"> 1784 <p> 1785 <a href="{{url}}" class="ajaxcart__product-name">{{name}}</a> 1786 {{#if variation}} 1787 <span class="ajaxcart__product-meta">{{variation}}</span> 1788 {{/if}} 1789 {{#properties}} 1790 {{#each this}} 1791 {{#if this}} 1792 <span class="ajaxcart__product-meta">{{@key}}: {{this}}</span> 1793 {{/if}} 1794 {{/each}} 1795 {{/properties}} 1796 1797 </p> 1798 1799 <div class="grid--full display-table"> 1800 <div class="grid__item display-table-cell one-half"> 1801 <div class="ajaxcart__qty"> 1802 <button type="button" class="ajaxcart__qty-adjust ajaxcart__qty--minus icon-fallback-text" data-id="{{id}}" data-qty="{{itemMinus}}" data-line="{{line}}"> 1803 <span class="icon icon-minus" aria-hidden="true"></span> 1804 <span class="fallback-text">−</span> 1805 </button> 1806 <input type="text" name="updates[]" class="ajaxcart__qty-num" value="{{itemQty}}" min="0" data-id="{{id}}" data-line="{{line}}" aria-label="quantity" pattern="[0-9]*"> 1807 <button type="button" class="ajaxcart__qty-adjust ajaxcart__qty--plus icon-fallback-text" data-id="{{id}}" data-line="{{line}}" data-qty="{{itemAdd}}"> 1808 <span class="icon icon-plus" aria-hidden="true"></span> 1809 <span class="fallback-text">+</span> 1810 </button> 1811 </div> 1812 </div> 1813 <div class="grid__item display-table-cell one-half text-right"> 1814 {{#if discountsApplied}} 1815 <small class="ajaxcart-item__price-strikethrough"><s>{{{originalPrice}}}</s></small> 1816 <br><span>{{{linePrice}}}</span> 1817 {{else}} 1818 <span>{{{linePrice}}}</span> 1819 {{/if}} 1820 </div> 1821 {{#if discountsApplied}} 1822 <div class="grid--full display-table"> 1823 <div class="grid__item text-right"> 1824 {{#each discounts}} 1825 <small class="ajaxcart-item__discount">{{ this.title }}</small><br> 1826 {{/each}} 1827 </div> 1828 </div> 1829 {{/if}} 1830 </div> 1831 </div> 1832 </div> 1833 </div> 1834 </div> 1835 {{/items}} 1836 1837 1838 </div> 1839 <div class="ajaxcart__footer"> 1840 <div class="grid--full subtotal"> 1841 <div class="grid__item two-thirds"> 1842 <p>Subtotal</p> 1843 </div> 1844 <div class="grid__item one-third text-right"> 1845 <p>{{{totalPrice}}}</p> 1846 </div> 1847 {{#if totalCartDiscount}} 1848 <p class="ajaxcart__savings text-center"><em>{{{totalCartDiscount}}}</em></p> 1849 {{/if}} 1850 </div> 1851 <p class="text-center">Shipping & taxes calculated at checkout</p> 1852 1853 <button class="btn btn--full cart__checkout" name="cart_view">View Cart / Checkout</button> 1854 1855 <!-- <button class="btn--secondary btn--full cart_view" name="cart_view">View Cart / Checkout</button> 1856 1857 <button type="submit" class="btn btn--full cart__checkout" name="checkout"> 1858 Check Out → 1859 </button> --> 1860 1861 1862 1863 </div> 1864 </form> 1865 1866 1867 </script>
1867 1868
1868<script id="AjaxQty" type="text/template"> 1869 1870 <div class="ajaxcart__qty"> 1871 <button type="button" class="ajaxcart__qty-adjust ajaxcart__qty--minus icon-fallback-text" data-id="{{id}}" data-qty="{{itemMinus}}"> 1872 <span class="icon icon-minus" aria-hidden="true"></span> 1873 <span class="fallback-text">−</span> 1874 </button> 1875 <input type="text" class="ajaxcart__qty-num" value="{{itemQty}}" min="0" data-id="{{id}}" aria-label="quantity" pattern="[0-9]*"> 1876 <button type="button" class="ajaxcart__qty-adjust ajaxcart__qty--plus icon-fallback-text" data-id="{{id}}" data-qty="{{itemAdd}}"> 1877 <span class="icon icon-plus" aria-hidden="true"></span> 1878 <span class="fallback-text">+</span> 1879 </button> 1880 </div> 1881 1882 </script>
1882 1883
1883<script id="JsQty" type="text/template"> 1884 1885 <div class="js-qty"> 1886 <button type="button" class="js-qty__adjust js-qty__adjust--minus icon-fallback-text" data-id="{{id}}" data-qty="{{itemMinus}}"> 1887 <span class="icon icon-minus" aria-hidden="true"></span> 1888 <span class="fallback-text">−</span> 1889 </button> 1890 <input type="text" class="js-qty__num" value="{{itemQty}}" min="1" data-id="{{id}}" aria-label="quantity" pattern="[0-9]*" name="{{inputName}}" id="{{inputId}}"> 1891 <button type="button" class="js-qty__adjust js-qty__adjust--plus icon-fallback-text" data-id="{{id}}" data-qty="{{itemAdd}}"> 1892 <span class="icon icon-plus" aria-hidden="true"></span> 1893 <span class="fallback-text">+</span> 1894 </button> 1895 </div> 1896 1897 </script>
1897 1898 1899
1899<script src="//sugarpill.com/cdn/shop/t/35/assets/ajax-cart.js?v=37447216060823326231595435900" type="text/javascript"></script>
1899 1900
1900<script> 1901 jQuery(function($) { 1902 ajaxCart.init({ 1903 formSelector: '#AddToCartForm', 1904 cartContainer: '#CartContainer', 1905 addToCartSelector: '#AddToCart', 1906 cartCountSelector: '#CartCount', 1907 cartCostSelector: '#CartCost', 1908 moneyFormat: "\u003cspan class=money\u003e${{amount}} \u003c\/span\u003e" 1909 }); 1910 }); 1911 1912 jQuery(document.body).on('afterCartLoad.ajaxCart', function(evt, cart) { 1913 // Bind to 'afterCartLoad.ajaxCart' to run any javascript after the cart has loaded in the DOM 1914 timber.RightDrawer.open(); 1915 }); 1916 1917 $(".js-drawer-close").click(function () { 1918 $("html").removeClass("js-drawer-open js-drawer-open-right"); 1919 $("body").removeClass("js-drawer-open js-drawer-open-right"); 1920 }); 1921 </script>
1921 1922 1923 1924
1925<script src="//sugarpill.com/cdn/s/javascripts/currencies.js" type="text/javascript"></script>
vendor: 1 bytes, line 1925
1925
1926<script src="//sugarpill.com/cdn/shop/t/35/assets/jquery.currencies.min.js?v=175057760772006623221595435829" type="text/javascript"></script>
1926 1927
1928<script> 1929 1930Currency.format = 'money_with_currency_format'; 1931 1932var shopCurrency = 'USD'; 1933 1934/* Sometimes merchants change their shop currency, let's tell our JavaScript file */ 1935Currency.moneyFormats[shopCurrency].money_with_currency_format = "${{amount}} USD"; 1936Currency.moneyFormats[shopCurrency].money_format = "${{amount}} "; 1937 1938/* Default currency */ 1939var defaultCurrency = 'USD'; 1940 1941/* Cookie currency */ 1942var cookieCurrency = Currency.cookie.read(); 1943 1944/* Fix for customer account pages */ 1945jQuery('span.money span.money').each(function() { 1946 jQuery(this).parents('span.money').removeClass('money'); 1947}); 1948 1949/* Saving the current price */ 1950jQuery('span.money').each(function() { 1951 jQuery(this).attr('data-currency-USD', jQuery(this).html()); 1952}); 1953 1954// If there's no cookie. 1955if (cookieCurrency == null) { 1956 if (shopCurrency !== defaultCurrency) { 1957 Currency.convertAll(shopCurrency, defaultCurrency); 1958 } 1959 else { 1960 Currency.currentCurrency = defaultCurrency; 1961 } 1962} 1963// If the cookie value does not correspond to any value in the currency dropdown. 1964else if (jQuery('[name=currencies]').size() && jQuery('[name=currencies] option[value=' + cookieCurrency + ']').size() === 0) { 1965 Currency.currentCurrency = shopCurrency; 1966 Currency.cookie.write(shopCurrency); 1967} 1968else if (cookieCurrency === shopCurrency) { 1969 Currency.currentCurrency = shopCurrency; 1970} 1971else { 1972 Currency.convertAll(shopCurrency, cookieCurrency); 1973} 1974 1975jQuery('[name=currencies]').val(Currency.currentCurrency).change(function() { 1976 var newCurrency = jQuery(this).val(); 1977 Currency.convertAll(Currency.currentCurrency, newCurrency); 1978 jQuery('.selected-currency').text(Currency.currentCurrency); 1979}); 1980 1981var original_selectCallback = window.selectCallback; 1982var selectCallback = function(variant, selector) { 1983 original_selectCallback(variant, selector); 1984 Currency.convertAll(shopCurrency, jQuery('[name=currencies]').val()); 1985 jQuery('.selected-currency').text(Currency.currentCurrency); 1986}; 1987 1988$('body').on('ajaxCart.afterCartLoad', function(cart) { 1989 Currency.convertAll(shopCurrency, jQuery('[name=currencies]').val()); 1990 jQuery('.selected-currency').text(Currency.currentCurrency); 1991}); 1992 1993jQuery('.selected-currency').text(Currency.currentCurrency); 1994 1995</script>
1995 1996 1997
1998<script> 1999jQuery(function() { 2000 jQuery('.swatch :radio').change(function() { 2001 var optionIndex = jQuery(this).closest('.swatch').attr('data-option-index'); 2002 var optionValue = jQuery(this).val(); 2003 jQuery(this) 2004 .closest('form') 2005 .find('.single-option-selector') 2006 .eq(optionIndex) 2007 .val(optionValue) 2008 .trigger('change'); 2009 }); 2010}); 2011</script>
2011 2012 2013 2014 2015 2016 2017 2018 2019
2020<script data-cfasync="false">window.jQuery || 2021 document.write("
2021<script src='https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js'>\x3C/script>") 2022</script>
2022 2023 2024
2025<script type="text/javascript"> 2026 if (typeof window.saso_config != "object") { 2027 window.saso_config = {} 2028 } 2029 if (typeof window.saso_config.hide_shown_upsells_for != "number") { 2030 window.saso_config.hide_shown_upsells_for = 15 2031 } 2032 if (typeof window.saso_config.hide_closed_notifications_for != "number") { 2033 window.saso_config.hide_closed_notifications_for = 10 2034 } 2035 window.saso_config.hide_shown_upsells_for *= 60 //seconds 2036 window.saso_config.hide_closed_notifications_for *= 60 //seconds 2037 2038 if (typeof window.saso_config.crosssell_continue_after_close != "boolean") { 2039 window.saso_config.crosssell_continue_after_close = true 2040 } 2041 if (typeof window.saso_config.crosssell_popup_on_add != "boolean") { 2042 window.saso_config.crosssell_popup_on_add = true 2043 } 2044 if (typeof window.saso_config.product_title_max_length != "number") { 2045 window.saso_config.product_title_max_length = 40 2046 } 2047 if (typeof window.saso_config.upsell_variant_choose_option != "string") { 2048 window.saso_config.upsell_variant_choose_option = "please select" 2049 } 2050 if (typeof window.saso_config.upsell_variant_choose_message != "string") { 2051 window.saso_config.upsell_variant_choose_message = "Please select an option" 2052 } 2053 2054 2055 2056 2057 window.saso = { 2058 shop_slug: "sugarpill", 2059 money_format: "<span class=money>${{amount}} </span>", 2060 customer: null, 2061 cart: null, 2062 } 2063 window.saso_extras = {} 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 window.saso.cart = {"note":null,"attributes":{},"original_total_price":0,"total_price":0,"total_discount":0,"total_weight":0.0,"item_count":0,"items":[],"requires_shipping":false,"currency":"USD","items_subtotal_price":0,"cart_level_discount_applications":[],"checkout_charge_amount":0} 2076 delete window.saso.cart.note 2077 window.saso.cart_collections = {} 2078 2079 if (typeof window.saso.cart.items == "object") { 2080 for (var i=0; i<window.saso.cart.items.length; i++) { 2081 ["sku", "grams", "vendor", "url", "image", "handle", "requires_shipping", "product_type", "product_description"].map(function(a) { 2082 delete window.saso.cart.items[i][a] 2083 }) 2084 } 2085 } 2086 2087 2088 window.saso.page_type = "" 2089 if (typeof window.location == "object" && typeof window.location.pathname == "string") { 2090 if (window.location.pathname.indexOf('/checkouts/') > -1) { 2091 window.saso.page_type = "checkout" 2092 } 2093 } 2094</script>
2094 2095
2096<script data-cfasync="false" > 2097function sasoGetParameterByName(e,t){"undefined"==typeof t&&(t=window.location.search),e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var r="[\\?&]"+e+"=([^&#]*)",a=new RegExp(r),i=a.exec(t);return null===i?"":decodeURIComponent(i[1].replace(/\+/g," "))} 2098window.sasoDocCookies={getItem:function(a){return a?decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null:null},setItem:function(a,b,c,d,e,f){if(!a||/^(?:expires|max\-age|path|domain|secure)$/i.test(a))return!1;var g="";if(c)switch(c.constructor){case Number:g=c===1/0?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+c;break;case String:g="; expires="+c;break;case Date:g="; expires="+c.toUTCString()}return document.cookie=encodeURIComponent(a)+"="+encodeURIComponent(b)+g+(e?"; domain="+e:"")+(d?"; path="+d:"")+(f?"; secure":""),!0},removeItem:function(a,b,c){return!!this.hasItem(a)&&(document.cookie=encodeURIComponent(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(c?"; domain="+c:"")+(b?"; path="+b:""),!0)},hasItem:function(a){return!!a&&new RegExp("(?:^|;\\s*)"+encodeURIComponent(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){for(var a=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),b=a.length,c=0;c<b;c++)a[c]=decodeURIComponent(a[c]);return a}}; 2099 2100 if (typeof sasoGetParameterByName("sol") == "string" && sasoGetParameterByName("sol").length) { 2101 window.sasoDocCookies.setItem("saso_link_code", sasoGetParameterByName("sol"), 30 * 24 * 3600, "/") 2102 } 2103 if (typeof sasoGetParameterByName("discount") == "string" && sasoGetParameterByName("discount").length) { 2104 window.sasoDocCookies.setItem("saso_discount_code", sasoGetParameterByName("discount"), null, "/") //end of session 2105 } 2106 2107</script>
2107 2108 2109 2110 2111 2112 2113 2114
2114<script data-cfasync="false" > 2115 jQuery(function(){ 2116 jQuery(document).on('click', "input[name='checkout']:not(.saso-ignore), input[value='Checkout']:not(.saso-ignore), button[name='checkout']:not(.saso-ignore), [href$='checkout']:not(.saso-ignore), button[value='Checkout']:not(.saso-ignore), input[name='goto_pp'], button[name='goto_pp'], input[name='goto_gc'], button[name='goto_gc']", function(e){ 2117 e.preventDefault(); 2118 2119 if (typeof sasoCheckout != "function") { 2120 window.location = "/checkout"; 2121 } 2122 2123 jQuery.ajax({ 2124 cache: false, 2125 contentType: "application/json; charset=utf-8", 2126 dataType: "json", 2127 type: "GET", 2128 url: '/cart.js', 2129 success: function(res) { 2130 window.saso.cart = res 2131 sasoCheckout() 2132 } 2133 }) 2134 2135 }); 2136 }); 2137 </script>
2137 2138 2139 2140 2141
2141<script>window.__sumoShopify = {product:null, customer: null};</script>
2141 2142 2143 2144
2144<script> 2145 2146/** 2147 * Module to ajaxify all add to cart forms on the page. 2148 * 2149 * Copyright (c) 2015 Caroline Schnapp (11heavens.com) 2150 * Dual licensed under the MIT and GPL licenses: 2151 * http://www.opensource.org/licenses/mit-license.php 2152 * http://www.gnu.org/licenses/gpl.html 2153 * 2154 */ 2155Shopify.AjaxifyCart = (function($) { 2156 2157 // Some configuration options. 2158 // I have separated what you will never need to change from what 2159 // you might change. 2160 2161 var _config = { 2162 2163 // What you might want to change 2164 addToCartBtnLabel: 'Add to cart', 2165 addedToCartBtnLabel: 'Thank you!', 2166 addingToCartBtnLabel: 'Adding...', 2167 soldOutBtnLabel: 'Sold Out', 2168 preorderBtnLabel: 'Pre-Order', 2169 howLongTillBtnReturnsToNormal: 1500, // in milliseconds. 2170 cartCountSelector: '.cart-count, #cart-count a:first, #gocart p a, #cart .checkout em, .item-count', 2171 cartTotalSelector: '#cart-price', 2172 // 'aboveForm' for top of add to cart form, 2173 // 'belowForm' for below the add to cart form, and 2174 // 'nextButton' for next to add to cart button. 2175 feedbackPosition: 'nextButton', 2176 2177 // What you will never need to change 2178 addToCartBtnSelector: '[type="submit"]', 2179 addToCartFormSelector: 'form[action="/cart/add"]', 2180 shopifyAjaxAddURL: '/cart/add.js', 2181 shopifyAjaxCartURL: '/cart.js' 2182 }; 2183 2184 // We need some feedback when adding an item to the cart. 2185 // Here it is. 2186 var _showFeedback = function(success, html, $addToCartForm) { 2187 $('.ajaxified-cart-feedback').remove(); 2188 var feedback = '<p class="ajaxified-cart-feedback ' + success + '">' + html + '</p>'; 2189 switch (_config.feedbackPosition) { 2190 case 'aboveForm': 2191 $addToCartForm.before(feedback); 2192 break; 2193 case 'belowForm': 2194 $addToCartForm.after(feedback); 2195 break; 2196 case 'nextButton': 2197 default: 2198 $addToCartForm.find(_config.addToCartBtnSelector).after(feedback); 2199 break; 2200 } 2201 // If you use animate.css 2202 // $('.ajaxified-cart-feedback').addClass('animated bounceInDown'); 2203 $('.ajaxified-cart-feedback').slideDown(); 2204 }; 2205 var _setText = function($button, label) { 2206 if ($button.children().length) { 2207 $button.children().each(function() { 2208 if ($.trim($(this).text()) !== '') { 2209 $(this).text(label); 2210 } 2211 }); 2212 } 2213 else { 2214 $button.val(label).text(label); 2215 } 2216 }; 2217 var _init = function() { 2218 $(document).ready(function() { 2219 $(_config.addToCartFormSelector).submit(function(e) { 2220 e.preventDefault(); 2221 var $addToCartForm = $(this); 2222 var $addToCartBtn = $addToCartForm.find(_config.addToCartBtnSelector); 2223 _setText($addToCartBtn, _config.addingToCartBtnLabel); 2224 $addToCartBtn.addClass('disabled').prop('disabled', true); 2225 // Add to cart. 2226 $.ajax({ 2227 url: _config.shopifyAjaxAddURL, 2228 dataType: 'json', 2229 type: 'post', 2230 data: $addToCartForm.serialize(), 2231 success: function(itemData) { 2232 // Re-enable add to cart button. 2233 $addToCartBtn.addClass('inverted'); 2234 _setText($addToCartBtn, _config.addedToCartBtnLabel); 2235 _showFeedback('success','<i class="fa fa-check"></i> Added to cart!',$addToCartForm); 2236 window.setTimeout(function(){ 2237 $addToCartBtn.prop('disabled', false).removeClass('disabled').removeClass('inverted'); 2238 _setText($addToCartBtn,_config.addToCartBtnLabel); 2239 }, _config.howLongTillBtnReturnsToNormal); 2240 // Update cart count and show cart link. 2241 $.getJSON(_config.shopifyAjaxCartURL, function(cart) { 2242 if (_config.cartCountSelector && $(_config.cartCountSelector).length) { 2243 var value = $(_config.cartCountSelector).html() || '0'; 2244 $(_config.cartCountSelector).html(value.replace(/[0-9]+/,cart.item_count)).removeClass('hidden-count'); 2245 } 2246 if (_config.cartTotalSelector && $(_config.cartTotalSelector).length) { 2247 if (typeof Currency !== 'undefined' && typeof Currency.moneyFormats !== 'undefined') { 2248 var newCurrency = ''; 2249 if ($('[name="currencies"]').length) { 2250 newCurrency = $('[name="currencies"]').val(); 2251 } 2252 else if ($('#currencies span.selected').length) { 2253 newCurrency = $('#currencies span.selected').attr('data-currency'); 2254 } 2255 if (newCurrency) { 2256 $(_config.cartTotalSelector).html('<span class=money>' + Shopify.formatMoney(Currency.convert(cart.total_price, "USD", newCurrency), Currency.money_format[newCurrency
2256]) + '</span>'); 2257 } 2258 else { 2259 $(_config.cartTotalSelector).html(Shopify.formatMoney(cart.total_price, "<span class=money>${{amount}} </span>")); 2260 } 2261 } 2262 else { 2263 $(_config.cartTotalSelector).html(Shopify.formatMoney(cart.total_price, "<span class=money>${{amount}} </span>")); 2264 } 2265 }; 2266 }); 2267 }, 2268 error: function(XMLHttpRequest) { 2269 var response = eval('(' + XMLHttpRequest.responseText + ')'); 2270 response = response.description; 2271 if (response.slice(0,4) === 'All ') { 2272 _showFeedback('error', response.replace('All 1 ', 'All '), $addToCartForm); 2273 $addToCartBtn.prop('disabled', false); 2274 _setText($addToCartBtn, _config.soldOutBtnLabel); 2275 $addToCartBtn.prop('disabled',true); 2276 } 2277 else { 2278 _showFeedback('error', '<i class="fa fa-warning"></i> ' + response, $addToCartForm); 2279 $addToCartBtn.prop('disabled', false).removeClass('disabled'); 2280 _setText($addToCartBtn, _config.addToCartBtnLabel); 2281 } 2282 } 2283 }); 2284 return false; 2285 }); 2286 }); 2287 }; 2288 return { 2289 init: function(params) { 2290 // Configuration 2291 params = params || {}; 2292 // Merging with defaults. 2293 $.extend(_config, params); 2294 // Action 2295 $(function() { 2296 _init(); 2297 }); 2298 }, 2299 getConfig: function() { 2300 return _config; 2301 } 2302 } 2303})(jQuery); 2304 2305Shopify.AjaxifyCart.init(); 2306 2307</script>
2307 2308 2309 2310 2311 2312 2313<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" type="text/css" media="all" /> 2314 2315<style> 2316.ajaxified-cart-feedback { 2317 display: block; 2318 line-height: 12px; 2319 font-size: 12px; 2320 vertical-align: middle; 2321} 2322.ajaxified-cart-feedback.success { 2323 color: #F077AC; 2324 margin-bottom: 30px; 2325 vertical-align: middle; 2326} 2327.ajaxified-cart-feedback.error { 2328 color: #F077AC; 2329} 2330.ajaxified-cart-feedback a { 2331 border-bottom: 1px solid; 2332} 2333</style> 2334 2335<!-- Start of limit quantity assets --> 2336
2336<script src="//sugarpill.com/cdn/shop/t/35/assets/jquery.limit.min.js?v=86694436335510289591615253370" type="text/javascript"></script>
vendor: 1 bytes, line 2336
2336
2337<script> 2338Shopify.Cart.limit({ limitQuantity: 10, limitPer: 'variant' }); 2339</script>
2339 2340 <!-- End of limit quantity assets --> 2341 <!-- PickyStory snippet "main_widget_script", do not modify. Safe to remove after the app is uninstalled --> 2342 2343 <!-- PickyStory end snippet "main_widget_script" -->
2344<script src="https://cdn.shopify.com/storefront/standard-actions.js" type="module" data-source-attribution="shopify.standard_actions"></script>
2344 2345</body> 2346</html> 2347 2348 2349<!-- Start of Afterpay assets --> 2350<!-- Begin Shopify-Afterpay JavaScript Snippet (v1.0.3) -->
2351<script type="text/javascript"> 2352 var afterpay_logo_theme = 'colour'; // 'colour', 'black' or 'white'. 2353 var afterpay_product_selector = '#ProductPrice'; 2354// var afterpay_cart_static_selector = '.cart__total-amount'; 2355 var afterpay_min = 0; 2356 var afterpay_max = 1000; 2357 var afterpay_show_currency_code = false; 2358 var afterpay_modal_responsive = true; 2359 var afterpay_modal_open_icon = true; 2360 var afterpay_hide_upper_limit = true; 2361 2362 var afterpay_shop_currency = "USD"; 2363 var afterpay_shop_money_format = "\u003cspan class=money\u003e${{amount}} \u003c\/span\u003e"; 2364 var afterpay_shop_permanent_domain = "sugarpill.myshopify.com"; 2365 var afterpay_theme_name = "Current Theme"; 2366 var afterpay_product = null; 2367 var afterpay_current_variant = null; 2368 var afterpay_cart_total_price = 0; 2369 var afterpay_js_snippet_version = '1.0.3'; 2370 const cartItems = []; 2371 const isGiftCard = (item) => item.product_type === "Gift Card"; 2372 2373 if(afterpay_product && afterpay_product.type === "Gift Card") { 2374 afterpay_product_selector = ''; 2375 } 2376 2377 if(cartItems && cartItems.some(isGiftCard)) { 2378 afterpay_cart_static_selector = ''; 2379 } 2380</script>
2380 2381
2382<script type="text/javascript" src="https://static.afterpay.com/shopify-afterpay-javascript.js"></script>
2382 2383<!-- End Shopify-Afterpay JavaScript Snippet (v1.0.3) --> 2384<style type="text/css"> 2385 .afterpay-logo { 2386 width: 6em !important; 2387 height: auto !important; 2388 } 2389 .afterpay-paragraph { 2390 font-size: 1em; 2391 margin-top: -7px; 2392 margin-bottom: 18px !important; 2393 text-align: center; 2394 } 2395 #your-shopping-cart .afterpay-paragraph { 2396 margin-top: 0px; 2397 text-align: inherit; 2398 } 2399 .afterpay-link-inner { text-decoration: none; } 2400</style> 2401<!-- End of Afterpay assets --> 2402
2403<script>/* faq dropdowns */ 2404function myFunction(a) { 2405 document.getElementById(a).classList.toggle("show"); 2406} 2407 2408// Close the dropdown if the user clicks outside of it 2409window.onclick = function(event) { 2410 if (!event.target.matches('.dropbtn')) { 2411 var dropdowns = document.getElementsByClassName("dropdown-content"); 2412 var i; 2413 for (i = 0; i < dropdowns.length; i++) { 2414 var openDropdown = dropdowns[i]; 2415 if (openDropdown.classList.contains('show')) { 2416 openDropdown.classList.remove('show'); 2417 } 2418 } 2419 } 2420}</script>
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.