1var d={},g={product_viewed:"product_viewed",collection_viewed:"collection_viewed",checkout_completed:"checkout_completed",page_viewed:"page_viewed",cart_viewed:"cart_viewed",checkout_address_info_submitted:"checkout_address_info_submitted",checkout_contact_info_submitted:"checkout_contact_info_submitted",checkout_shipping_info_submitted:"checkout_shipping_info_submitted",checkout_started:"checkout_started",payment_info_submitted:"payment_info_submitted",product_added_to_cart:"product_added_to_cart",product_removed_from_cart:"product_removed_from_cart",product_variant_viewed:"product_variant_viewed",search_submitted:"search_submitted",custom:"custom"},v=Object.fromEntries(Object.keys(g).map(e=>[e,r=>({...r,shopifyEventName:e==="custom"?r?.shopifyEventName:e})])),s={generateUniqueId:function(){for(var e="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!&$./",t=r.length,i=0;i<24;i++)e+=r.charAt(Math.floor(Math.random()*t));return e.split("").sort(function(){return .5-Math.random()}).join("")}},o=(e,r,t)=>{try{const i=t();e.data[r]=i}catch(i){console.log(i),e.errors.push(JSON.stringify(i.stack))}},p=async e=>{const t=await e.getItem("pap_unique_user_id");if(!t){var i=s.generateUniqueId();return e.setItem("pap_unique_user_id",i),i}return t},m=async function(e){const r=await e.getItem("tabId");if(!r){const t=s.generateUniqueId();return e.setItem("tabId",t),t}return r},f={appendStorageTagging:async function(e,r){try{r.data.userId=await p(e),r.data.sessionId=await m(e)}catch(t){console.log(t),r.errors.push(JSON.stringify(t.stack))}}},u={getPageQuery:function(e){return e.location.search!=""?e.location.search:null},getReferrer:function(e){return e.referrer!=""?e.referrer:null},getPagePath:function(e){return e.location.pathname},getPageTitle:function(e){return e.title},getPageHost:function(e){return e.location.origin},getPageUrlNoQuery:function(e){return e.location.origin+e.location.pathname},appendWindowAttributes:(e,r)=>{o(r,"pageQuery",()=>{var t;return(t=u.getPageQuery(e))!=null?t:void 0}),o(r,"pageReferrer",()=>{var t;return(t=u.getReferrer(e))!=null?t:void 0}),o(r,"pageOrigin",()=>u.getPageHost(e)),o(r,"pagePath",()=>u.getPagePath(e)),o(r,"pageTitle",()=>u.getPageTitle(e))}},h={getSource:function(e){var r,t,i=(t=(r=u.getPageQuery(e))==null?void 0:r.split("source="))!=null?t:[];return i.length<2?null:i[1].split("&")[0]},getCampaign:function(e){var r,t,i=(t=(r=u.getPageQuery(e))==null?void 0:r.split("campaign="))!=null?t:[];return i.length<2?null:i[1].split("&")[0]},getMedium:function(e){var r,t,i=(t=(r=u.getPageQuery(e))==null?void 0:r.split("medium="))!=null?t:[];return i.length<2?null:i[1].split("&")[0]},getContent:function(e){var r,t,i=(t=(r=u.getPageQuery(e))==null?void 0:r.split("content="))!=null?t:[];return i.length<2?null:i[1].split("&")[0]},getTerm:function(e){var r,t,i=(t=(r=u.getPageQuery(e))==null?void 0:r.split("term="))!=null?t:[];return i.length<2?null:i[1].split("&")[0]},appendAllUtmParameters:function(e,r){u.getPageQuery(e)&&(o(r,"utmSource",()=>{var t;return(t=this.getSource(e))!=null?t:void 0}),o(r,"utmCampaign",()=>{var t;return(t=this.getCampaign(e))!=null?t:void 0}),o(r,"utmMedium",()=>{var t;return(t=this.getMedium(e))!=null?t:void 0}),o(r,"utmContent",()=>{var t;return(t=this.getContent(e))!=null?t:void 0}),o(r,"utmTerm",()=>{var t;return(t=this.getTerm(e))!=null?t:void 0}))}},I={AWIN_CHANNEL_COOKIE:"AwinChannelCookie",BING_SID:"_uetsid",BING_VID:"_uetvid",CRITEO_USER_ID:"crto_mapped_user_id",CRITEO_USER_OPT_OUT:"crto_is_user_optout",FACEBOOK_BROWSER_ID:"_fbp",FACEBOOK_CLICK_ID:"_fbc",GOOGLE_ANALYTICS:"_ga",GOOGLE_ANALYTICS_GA4_PREFIX:"_ga_",REDDIT_UUID:"_rdt_uuid",RTB_UID:"__rtb_e",SNAPCHAT_USER_ID:"_scid",TIKTOK_CLICK_ID:"ttclid",TIKTOK_COOKIE_ID:"_ttp",GOOGLE_CLICK_ID:"gclid",GOOGLE_GBRAID:"gbraid",GOOGLE_WBRAID:"wbraid",GOOGLE_GC_AW:"_gcl_aw",UTM_CAMPAIGN:"utm_campaign",UTM_CONTENT:"utm_content",UTM_MEDIUM:"utm_medium",UTM_SOURCE:"utm_source",UTM_TERM:"utm_term",AWIN:"awc",BING:"msclkid",CJ:"cjevent",FACEBOOK:"fbclid",GOOGLE_ADS:"gclsrc",IMPACT_RADIUS:"irclickid",ITERABLE:"iterable_campaign",KLAVIYO:"_kx",OUTBRAIN:"dicbo",PARTNERIZE:"clickref",PEPPERJAM:"clickId",PEPPERJAM_PUBLISHER_ID:"ev_publisherId",PINTEREST:"epik",RAKUTEN:"ranSiteID",REDDIT:"rdt_cid",SHAREASALE:"sscid",SNAPCHAT:"ScCid",TABOOLA:"tblci",TIKTOK:"ttclid",TWITTER:"twclid",VOLUUM:"vlmcid"},E=new Set(Object.values(I)),T=(e,r)=>e?`; ${e}`.split(";").reduce((i,n)=>{if(n==="")return i;const[a,l]=n.split("="),c=a.trim();return r.has(c)&&(i[c]=l),i},{}):{},O=async({timestamp:e,customer:r,isHeadless:t=!0,...i})=>{let n={timestamp:e||Date.now(),errors:[],data:{}};return await f.appendStorageTagging(i?.storage||localStorage,n),u.appendWindowAttributes(i?.document||window.document,n),h.appendAllUtmParameters(i?.document||window.document,n),t&&o(n,"headlessEmail",()=>"{{email}}"),o(n,"shopifyOrderCustomerLocale",()=>{var a,l;return(l=(a=i.navigator||navigator)==null?void 0:a.language)!=null?l:void 0}),o(n,"userAgent",()=>{var a,l;return(l=(a=i.navigator||navigator)==null?void 0:a.userAgent)!=null?l:void 0}),o(n,"orderCustomerId",()=>r?.id||void 0),o(n,"shopifyCustomerEmail",()=>{var a;return((a=r?.email)==null?void 0:a.toLowerCase())||void 0}),o(n,"customerPrivacy",()=>i?.customerPrivacy),o(n,"marketingCookie",()=>T(i?.cookie,E)),o(n,"settings",()=>i?.settings),n},A=async(e,r,t)=>{try{const i={errors:[...r.errors||[],...t?.errors||[]],timestamp:r.timestamp,...r.data,...t?.data};typeof process<"u"&&d.DEBUG==="true"&&console.log(i),fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},keepalive:!0,body:JSON.stringify(i)})}catch(i){console.log(i)}};const C=()=>{const e=document.cookie.match(/(?:^|; )_shopify_y=([^;]*)/);return e?e[1]:null},S=C(),y="reviivlight.myshopify.com";(async()=>{const e=await O({customer:{}}),r=document.querySelector(".amazon-pay-button");r&&r.addEventListener("click",()=>{var n,a,l,c,_;const t=(n=window.ShopifyAnalytics)==null?void 0:n.meta,i=v.custom_event({shopifyEventId:crypto.randomUUID(),shopifyClientId:S,shopifyShopURL:y,customEventName:"buy_with_prime_clicked",customEventData:{productId:((a=t?.product)==null?void 0:a.id)||null,productName:((l=t?.product)==null?void 0:l.name)||null,variantId:t?.selectedVariantId||null,price:((c=t?.product)==null?void 0:c.price)||null,currency:((_=t?.page)==null?void 0:_.currency)||"USD"}});A("https://api-production.polaranalytics.com/pixel",e,i)})})(); 2//# sourceMappingURL=/cdn/shop/t/102/assets/pixel-C4BPvcCV.js.map?v=99106944819326890681759617200
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.