1(function(shopify) { 2(()=>{var Ie=Object.defineProperty,ve=Object.defineProperties;var Re=Object.getOwnPropertyDescriptors;var ge=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable;var Y=(t,a,o)=>a in t?Ie(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,S=(t,a)=>{for(var o in a||(a={}))Ce.call(a,o)&&Y(t,o,a[o]);if(ge)for(var o of ge(a))Te.call(a,o)&&Y(t,o,a[o]);return t},h=(t,a)=>ve(t,Re(a));var W=(t,a,o)=>Y(t,typeof a!="symbol"?a+"":a,o);var ce="WebPixel::Render";var H=t=>shopify.extend(ce,t);var fe={2:{percent:100,enabled:!1},3:{percent:0,enabled:!1},4:{percent:100,enabled:!0,allowlist:new Set(["1629646268","-277581468","-1995663228"])},5:{percent:100,enabled:!0,allowlist:new Set(["-277581468","-1995663228"])},6:{percent:0,enabled:!1}};var V=class{constructor(a,o){W(this,"currentShopDomainHash");W(this,"webPixelFeatureFlagConfig");this.webPixelFeatureFlagConfig=o,a&&(this.currentShopDomainHash=this.hashShopDomain(a)),this.initializeFeatureFlags()}hashShopDomain(a){let o=0;if(a.length===0)return o.toString();for(let m=0;m<a.length;m++){let F=a.charCodeAt(m);o=(o<<5)-o+F,o|=0}return o.toString()}initializeFeatureFlags(){for(let a of Object.values(this.webPixelFeatureFlagConfig))a.allowlist&&this.currentShopDomainHash&&a.allowlist.has(this.currentShopDomainHash)?a.enabled=!0:a.enabled=a.percent>Math.random()*100}isFeatureFlagEnabled(a){var o,m;return(m=(o=this.webPixelFeatureFlagConfig[a])==null?void 0:o.enabled)!=null?m:!1}};var we="developer_id.dYmNjMT",O="dNzYwYj";function be(t){let a=t.init.customerPrivacy;if(a===void 0||a.marketingAllowed||a.analyticsProcessingAllowed)pe(t,a);else{let o=!1;t.customerPrivacy.subscribe("visitorConsentCollected",m=>{let F=m.customerPrivacy;!o&&(F.marketingAllowed||F.analyticsProcessingAllowed)&&(pe(t,F),o=!0)})}}function pe(t,a){var j,$,Z,J,K,Q,k,ee,te,ne,ae,ie,re,oe,le;let o=window.dataLayer=window.dataLayer||[],m=JSON.parse(t.settings.config),F=[],f=new V((Z=($=(j=t.init)==null?void 0:j.data)==null?void 0:$.shop)==null?void 0:Z.myshopifyDomain,fe);if(m.google_tag_ids&&m.google_tag_ids.length>0){let e=m.google_tag_ids;F.push(...e)}else F.push(m.pixel_id);let g=window.gtag=window.gtag||function(){o.push(arguments)};a&&(g("consent","default",Ae(a)),g("set",Ne(a))),G(t)&&(g("set",{ignore_referrer:"true"}),g("policy","detect_click_events",()=>!1),g("policy","detect_element_visibility_events",()=>!1),g("policy","detect_history_change_events",()=>!1),g("policy","detect_link_click_events",()=>!1),g("policy","detect_timer_events",()=>!1),g("policy","detect_youtube_activity_events",()=>!1),g("policy","detect_scroll_events",()=>!1)),g("policy","internal_sw_allowed",()=>!1),g("policy","inject_cmp_banner",()=>!1),g("set",we,!0),g("js",new Date);let z={send_page_view:!1};G(t)&&(z.ignore_referrer="true");for(let e of F){let i=document.createElement("script"),n=`https://www.googletagmanager.com/gtag/js?id=${e}`;f.isFeatureFlagEnabled(5)&&String(e||"").startsWith("GTM-")&&(n+="&google_only=true"),i.src=n,document.body.appendChild(i),g("config",e,z)}let v=m.gtag_events,T=e=>{var i;return"shopify_"+(m.target_country||"US")+"_"+String((i=e==null?void 0:e.product)==null?void 0:i.id)+"_"+String(e==null?void 0:e.id)},X=e=>{let i=e==null?void 0:e.title;return["default","title","default title",""].includes(String(i).toLowerCase())?null:i},q=e=>{var u,N,r,s,A,p,y,_,c,R,C,b;let n={value:(u=e==null?void 0:e.subtotalPrice)==null?void 0:u.amount},d=(r=(N=e==null?void 0:e.totalPrice)==null?void 0:N.amount)!=null?r:0;d-=(A=(s=e==null?void 0:e.totalTax)==null?void 0:s.amount)!=null?A:0,d-=(_=(y=(p=e==null?void 0:e.shippingLine)==null?void 0:p.price)==null?void 0:y.amount)!=null?_:0;let E=0,l=(c=e==null?void 0:e.lineItems)!=null?c:[];for(let D of l){let I=(C=(R=D.variant)==null?void 0:R.price.amount)!=null?C:0;I*=D.quantity;for(let P of D.discountAllocations)I-=(b=P.amount.amount)!=null?b:0;E+=I}return n},Fe=(e,i)=>{var n;if(e==="/search"){let d=(n=document.querySelector("link[rel='canonical']"))==null?void 0:n.getAttribute("href");if(d)return d}return i},ye=e=>e&&e.endsWith("thank_you"),M=e=>{var i,n,d,E,l,u,N;return{email:e==null?void 0:e.email,phone_number:e==null?void 0:e.phone,address:{first_name:(i=e==null?void 0:e.b
2illingAddress)==null?void 0:i.firstName,last_name:(n=e==null?void 0:e.billingAddress)==null?void 0:n.lastName,street:(d=e==null?void 0:e.billingAddress)==null?void 0:d.address1,city:(E=e==null?void 0:e.billingAddress)==null?void 0:E.city,region:(l=e==null?void 0:e.billingAddress)==null?void 0:l.province,postal_code:(u=e==null?void 0:e.billingAddress)==null?void 0:u.zip,country:(N=e==null?void 0:e.billingAddress)==null?void 0:N.country}}},w=e=>e?`shp.${e}`:void 0,De=(e,i)=>{var E,l,u,N,r,s,A,p,y,_,c,R,C;let n=(E=i.data)==null?void 0:E.checkout;return S(h(S({send_to:e,developer_id:{[O]:!0},event_id:f.isFeatureFlagEnabled(4)?i.id:void 0,ext_client_id:f.isFeatureFlagEnabled(4)?w(i.clientId):void 0,transaction_id:(l=n==null?void 0:n.order)==null?void 0:l.id,new_customer:((N=(u=n==null?void 0:n.order)==null?void 0:u.customer)==null?void 0:N.isFirstOrder)==null||(s=(r=n==null?void 0:n.order)==null?void 0:r.customer)==null?void 0:s.isFirstOrder},q(n)),{customer_type:Pe((p=(A=n==null?void 0:n.order)==null?void 0:A.customer)==null?void 0:p.isFirstOrder),currency:((y=n==null?void 0:n.subtotalPrice)==null?void 0:y.currencyCode)||"USD",tax:(_=n==null?void 0:n.totalTax)==null?void 0:_.amount,shipping:(R=(c=n==null?void 0:n.shippingLine)==null?void 0:c.price)==null?void 0:R.amount,items:(C=n==null?void 0:n.lineItems)==null?void 0:C.map(b=>{var D,I,P,U,L,x,se,de,_e,Ee,ue;return{id:T(b.variant),name:(I=(D=b.variant)==null?void 0:D.product)==null?void 0:I.title,brand:(U=(P=b.variant)==null?void 0:P.product)==null?void 0:U.vendor,category:(x=(L=b.variant)==null?void 0:L.product)==null?void 0:x.type,coupon:(_e=(de=(se=b.discountAllocations)==null?void 0:se[0])==null?void 0:de.discountApplication)==null?void 0:_e.title,price:(ue=(Ee=b.variant)==null?void 0:Ee.price)==null?void 0:ue.amount,quantity:b.quantity,variant:X(b.variant)}}),user_data:M(n)}),!f.isFeatureFlagEnabled(2)&&G(t)&&{ignore_referrer:"true"})},B={email:(Q=(K=(J=t.init)==null?void 0:J.data)==null?void 0:K.customer)==null?void 0:Q.email,phone_number:(te=(ee=(k=t.init)==null?void 0:k.data)==null?void 0:ee.customer)==null?void 0:te.phone,address:{first_name:(ie=(ae=(ne=t.init)==null?void 0:ne.data)==null?void 0:ae.customer)==null?void 0:ie.firstName,last_name:(le=(oe=(re=t.init)==null?void 0:re.data)==null?void 0:oe.customer)==null?void 0:le.lastName}};t.analytics.subscribe("page_viewed",e=>{var n,d,E,l,u,N,r,s;let i=v.find(A=>A.type==="page_view");if(i&&i.action_label){let A=(E=(d=(n=e.context)==null?void 0:n.window)==null?void 0:d.location)==null?void 0:E.pathname,p=S({send_to:i.action_label,developer_id:{[O]:!0},event_id:f.isFeatureFlagEnabled(4)?e.id:void 0,ext_client_id:f.isFeatureFlagEnabled(4)?w(e.clientId):void 0,page_path:A,page_title:Se((u=(l=e.context)==null?void 0:l.document)==null?void 0:u.title,A),page_location:Fe(A,(s=(r=(N=e.context)==null?void 0:N.window)==null?void 0:r.location)==null?void 0:s.href),user_data:B},!f.isFeatureFlagEnabled(2)&&G(t)&&{ignore_referrer:"true"});g("event","page_view",p)}}),t.analytics.subscribe("product_viewed",e=>{var n,d,E,l,u,N;let i=v.find(r=>r.type==="view_item");if(i&&i.action_label){let r=(n=e.data)==null?void 0:n.productVariant;g("event","view_item",{send_to:i.action_label,developer_id:{[O]:!0},event_id:f.isFeatureFlagEnabled(4)?e.id:void 0,ext_client_id:f.isFeatureFlagEnabled(4)?w(e.clientId):void 0,ecomm_prodid:[T(r)],ecomm_totalvalue:(d=r==null?void 0:r.price)==null?void 0:d.amount,ecomm_pagetype:"product",items:[{id:T(r),name:(E=r==null?void 0:r.product)==null?void 0:E.title,brand:(l=r==null?void 0:r.product)==null?void 0:l.vendor,category:(u=r==null?void 0:r.product)==null?void 0:u.type,price:(N=r==null?void 0:r.price)==null?void 0:N.amount,variant:X(r)}],user_data:B})}}),t.analytics.subscribe("product_added_to_cart",e=>{var n,d,E,l,u,N,r,s,A,p,y;let i=v.find(_=>_.type==="add_to_cart");if(i&&i.action_label){let _=(n=e.data)==null?void 0:n.cartLine,c=_==null?void 0:_.merchandise;g("event","add_to_cart",{send_to:i.action_label,developer_id:{[O]:!0},event_id:f.isFeatureFlagEnabled(4)?e.id:void 0,ext_client_id:f.isFeatureFlagEnabled(4)?w(e.clientId):void 0,ecomm_prodid:[T(_==null?void 0:_.merchandise)],ecomm_totalvalue:(E=(d=_==null?void 0:_.cost)==null?void 0:d.totalAmount)==null?void 0:E.amount,ecomm_pagetype:"cart",value:(u=(l=_==null?void 0:_.cost)==null?void 0:l.totalAmount)==null?void 0:u.amount,currency:((r=(N=_==null?void 0:_.cost)==null?void 0:N.totalAmount)==null?void 0:r.currencyCode)||"USD",items:[{id:T(c),name:(s=c==null?void 0:c.product)==null?void 0:s.title,brand:(A=c==null?void 0:c.product)==null?void 0:A.vendor,category:(p=c==null?void 0:c.product)==null?void 0:p.type,price:(y=c==null?void 0:c.price)==null?void 0:y.amount,quantity:_==null?void 0:_.quantity,variant:X(c)}],user_data:B})}}),t.analytics.subscribe("checkout_completed",e=>{var d,E,l;let i=[],n=v.find(u=>u.type==="purchase");me(n,i),f.isFeatureFlagEnabled(3)&&!ye((l=(E=(d=e.context)==null?void 0:d.window)==null?void 0:E.location)==null?void 0:l.pathname)&&(n=v.find(u=>u.type==="purchase_new_page_only"),me(n,i)),i.length>0&&g("event","purchase",De(i,e))}),t.analytics.subscribe("checkout_started",e=>{var n,d,E,l,u,N,r;let i=v.find(s=>
2s.type==="begin_checkout");if(i&&i.action_label){let s=(n=e.data)==null?void 0:n.checkout,A=S(h(S({send_to:i.action_label,developer_id:{[O]:!0},event_id:f.isFeatureFlagEnabled(4)?e.id:void 0,ext_client_id:f.isFeatureFlagEnabled(4)?w(e.clientId):void 0,ecomm_prodid:(d=s==null?void 0:s.lineItems)==null?void 0:d.map(p=>T(p.variant)),ecomm_totalvalue:(E=s==null?void 0:s.subtotalPrice)==null?void 0:E.amount,ecomm_pagetype:"cart"},q(s)),{currency:((l=s==null?void 0:s.subtotalPrice)==null?void 0:l.currencyCode)||"USD",coupon:(N=(u=s==null?void 0:s.discountApplications)==null?void 0:u[0])==null?void 0:N.title,items:(r=s==null?void 0:s.lineItems)==null?void 0:r.map(p=>{var y,_,c,R,C,b,D,I,P,U,L,x;return{id:T(p.variant),name:(_=(y=p.variant)==null?void 0:y.product)==null?void 0:_.title,brand:(R=(c=p.variant)==null?void 0:c.product)==null?void 0:R.vendor,category:(b=(C=p.variant)==null?void 0:C.product)==null?void 0:b.type,coupon:(P=(I=(D=p.discountAllocations)==null?void 0:D[0])==null?void 0:I.discountApplication)==null?void 0:P.title,price:(L=(U=p.variant)==null?void 0:U.price)==null?void 0:L.amount,quantity:p.quantity,variant:(x=p.variant)==null?void 0:x.title}}),user_data:M(s)}),!f.isFeatureFlagEnabled(2)&&G(t)&&{ignore_referrer:"true"});g("event","begin_checkout",A)}}),t.analytics.subscribe("search_submitted",e=>{var n,d;let i=v.find(E=>E.type==="search");i&&i.action_label&&g("event","search",{send_to:i.action_label,developer_id:{[O]:!0},event_id:f.isFeatureFlagEnabled(4)?e.id:void 0,ext_client_id:f.isFeatureFlagEnabled(4)?w(e.clientId):void 0,search_term:(d=(n=e.data)==null?void 0:n.searchResult)==null?void 0:d.query,user_data:B})}),t.analytics.subscribe("payment_info_submitted",e=>{var n,d,E;let i=v.find(l=>l.type==="add_payment_info");if(i&&i.action_label){let l=(n=e.data)==null?void 0:n.checkout,u=S({send_to:i.action_label,developer_id:{[O]:!0},event_id:f.isFeatureFlagEnabled(4)?e.id:void 0,ext_client_id:f.isFeatureFlagEnabled(4)?w(e.clientId):void 0,currency:((d=l==null?void 0:l.totalPrice)==null?void 0:d.currencyCode)||"USD",total:(E=l==null?void 0:l.totalPrice)==null?void 0:E.amount,user_data:M(l)},!f.isFeatureFlagEnabled(2)&&G(t)&&{ignore_referrer:"true"});g("event","add_payment_info",u)}}),t.customerPrivacy.subscribe("visitorConsentCollected",e=>{let i=e.customerPrivacy;g("consent","update",Ae(i)),g("set",Ne(i))}),f.isFeatureFlagEnabled(6)}function me(t,a){if(t&&t.action_label){let o=Array.isArray(t.action_label)?t.action_label:[t.action_label];for(let m of o)a.includes(m)||a.push(m)}}function Ne(t){return{restricted_data_processing:!t.saleOfDataAllowed}}function Ae(t){return{ad_storage:t.marketingAllowed?"granted":"denied",ad_user_data:t.marketingAllowed?"granted":"denied",ad_personalization:t.marketingAllowed?"granted":"denied",analytics_storage:t.analyticsProcessingAllowed?"granted":"denied"}}function Pe(t){if(t!=null)return t?"new":"returning"}function G(t){var a;return((a=t==null?void 0:t._pixelInfo)==null?void 0:a.surfaceNext)==="checkout"}function Se(t,a){if(!a)return t;let o=[["/information","Checkout - Contact Information"],["/shipping","Checkout - Shipping"],["/payment","Checkout - Payment"],["/review","Checkout - Review"],["/processing","Checkout - Processing"],["/thank-you","Checkout - Receipt"],["/stock-problems","Checkout - Stock problems"],["/error","Checkout - Error"]];for(let[m,F]of o)if(a.endsWith(m))return F;return/^\/checkouts\/[A-Za-z0-9]+\/[A-Za-z0-9]+$/.test(a)?"Checkout - Contact Information":t}H(be);})(); 3 4})(self.webPixelsManager.createShopifyExtend());
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.