PageSourceSearch

https://www.knivesandtools.nl/_app/_next/static/chunks/5785-2eb618428098229f.js

js knivesandtools.nl collected 2026-09-24 20:44:22 UTC 24,767 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4b7cba1e-895e-4e16-87ac-83227e872104",e._sentryDebugIdIdentifier="sentry-dbid-4b7cba1e-895e-4e16-87ac-83227e872104")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5785],{16564:(e,n,t)=>{t.d(n,{v0:()=>k,Ad:()=>I,RM:()=>w,z$:()=>q,iF:()=>K,ev:()=>T,CC:()=>N,Au:()=>x,As:()=>g,YJ:()=>P,SN:()=>S,AV:()=>$,B:()=>L,sC:()=>z,YN:()=>y,Pk:()=>V,jr:()=>A,_c:()=>O,Ek:()=>R,nJ:()=>p,_n:()=>f,Hc:()=>h,Xf:()=>C,sy:()=>G,u1:()=>E,ST:()=>M,fw:()=>b,ZV:()=>D,T6:()=>F,VU:()=>H,Et:()=>B,c0:()=>_});var r=t(13369),i=t(77785),a=t(5134),l=t(11705);let o=e=>{var n;return Number((null!=(n=null==e?void 0:e.centAmount)?n:0)/100)},c=e=>Number((null!=e?e:0)/100),u=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[...e,...n].reduce((e,n)=>e+n.quantity,0)},d=(e,n)=>{let t=n.split("-")[0];return"".concat(window.location.origin,"/").concat(t,"/pt/-").concat((0,l.Tq)(e),".htm")},s=e=>{var n,t,i,l,c,u,s,m,v,p,y;let{projection:_,locale:g,quantity:f=1,extra:h}=e,C=null!=(p=null==h||null==(t=h.categories)||null==(n=t.find(e=>{var n;return e.id===(null==(n=(0,a.D$)(_.masterVariant,"productmaincategory"))?void 0:n.id)}))?void 0:n.key)?p:null==h||null==(l=h.categories)||null==(i=l[0])?void 0:i.key;return{currency:null==(c=_.masterVariant.scopedPrice)?void 0:c.value.currencyCode,value:o(null==(u=_.masterVariant.scopedPrice)?void 0:u.value),items:[{item_name:_.name,item_id:_.key,item_variant:_.masterVariant.key,price:o(null==(s=_.masterVariant.scopedPrice)?void 0:s.value),item_brand:(0,a.o7)(_.masterVariant,g),quantity:f,item_category:C,url:_.slug?d(_.slug,g):"",image_url:(null==(v=_.masterVariant.images)||null==(m
1=v[0])?void 0:m.url)||"",compare_at_price:o((0,r.cr)(null!=(y=_.masterVariant.scopedPrice)?y:{},"strike_price"))}]}},m=e=>{var n,t,r,i,a;let{projection:l,locale:o,quantity:u=1}=e;return{currency:null==(n=l.variant.price)?void 0:n.currency,value:c(null==(t=l.variant.price)?void 0:t.centAmount),items:[{item_name:l.name,item_id:l.variant.sku,item_variant:l.variant.id,price:c(null==(r=l.variant.price)?void 0:r.centAmount),item_brand:l.variant.brand,quantity:u,item_category:l.productMainCategory,url:d(l.slug,o),image_url:(null==(i=l.image)?void 0:i.url)||"",compare_at_price:c(null==(a=l.variant.strikePrice)?void 0:a.centAmount)}]}},v=e=>{var n,t,i,l,c,u,s,m,v;let{variant:p,locale:y,extra:_,productName:g,productSlug:f}=e,h=null!=(m=null!=(s=p.scopedPrice)?s:p.storePrice)?m:p.price,C=null!=(v=null==_||null==(t=_.categories)||null==(n=t.find(e=>{var n;return e.id===(null==(n=(0,a.D$)(p,"productmaincategory"))?void 0:n.id)}))?void 0:n.key)?v:null==_||null==(l=_.categories)||null==(i=l[0])?void 0:i.key;return{currency:h.currencyCode||h.value.currencyCode,value:o(h.value),items:[{item_name:g,item_id:p.sku,item_variant:p.key,price:o(h.value),item_brand:y?(0,a.o7)(p,y):void 0,quantity:1,item_category:C,url:f?d(f,y):"",image_url:(null==(u=p.images)||null==(c=u[0])?void 0:c.url)||"",compare_at_price:o((0,r.cr)(null!=h?h:{},"strike_price"))}]}},p=(e,n,t)=>(0,l.FA)({site:e,userId:t,event:"page",page:n}),y=(e,n)=>(0,l.FA)({page:e,title:n}),_=(e,n)=>(0,l.FA)({event:"virtualPageView",virtualPagePath:e,virtualPageTitle:n}),g=e=>{let{columnNumber:n,blockNumber:t,linkNumber:r}=e;return{event:"custom_category_menu_event",column:n,block:t,link:r||"all"}},f=(e,n,t,i,l,c,u)=>{var s,m;return{page:e,pageType:u,event:"view_item_list",category_id:l,category_name:c,ecommerce:{currency:null==n||null==(m=n[0])||null==(s=m.masterVariant.scopedPrice)?void 0:s.value.currencyCode,items:null==n?void 0:n.map(e=>({projection:e,extra:i.find(n=>n.productId===e.id)})).map(e=>{var n,i,l,c,u,s,m,v;let{projection:p,extra:y}=e;return{item_name:p.name,item_id:p.key,item_variant:null!=(m=null==(n=p.masterVariant)?void 0:n.key)?m:"",price:o(null==(i=p.masterVariant.scopedPrice)?void 0:i.value),item_brand:(0,a.o7)(p.masterVariant,t),item_category:null==y||null==(c=y.categories)||null==(l=c.find(e=>{var n;return e.id===(null==(n=(0,a.D$)(p.masterVariant,"productmaincategory"))?void 0:n.id)}))?void 0:l.key,type:"item",url:p.slug?d(p.slug,t):"",image_url:(null==(s=p.masterVariant.images)||null==(u=s[0])?void 0:u.url)||"",compare_at_price:o((0,r.cr)(null!=(v=p.masterVariant.scopedPrice)?v:{},"strike_price"))}})}}},h=(e,n)=>{var t,i,l,c,u,s,m,v,p,y;let _=e.product;return{page:"productpage",event:"view_item",ecommerce:{currency:null==(t=_.storeVariant.price)?void 0:t.value.currencyCode,detail:{actionField:{list:"Product detail"}},items:[{item_name:_.name,item_id:_.key,item_variant:null!=(p=null==(i=_.storeVariant)?void 0:i.key)?p:"",price:o(null==(l=_.storeVariant.price)?void 0:l.value),item_brand:(0,a.o7)(_.storeVariant,n),item_category:(null==(c=e.categoryTree)?void 0:c.length)?null==(u=e.categoryTree[0])?void 0:u.key:"",url:_.slug?d(_.slug,n):"",image_url:(null==(v=_.storeVariant)||null==(m=v.images)||null==(s=m[0])?void 0:s.url)||"",compare_at_price:o((0,r.cr)(null!=(y=_.storeVariant.price)?y:{},"strike_price"))}]}}},C=(e,n,t,r)=>{var i,l,c,u,d;return{event:"remove_from_cart",ecommerce:{currency:null==(i=e.price)?void 0:i.value.currencyCode,value:o(e.price.value),items:[{item_name:e.name,item_id:r.productKey,item_variant:null!=(d=null==(l=e.variant)?void 0:l.key)?d:"",price:o(e.price.value),brand:e.variant?(0,a.o7)(e.variant,n):"",quantity:t,item_category:null==(u=r.categories)||null==(c=u.find(n=>{var t;return n.id===(null==(t=(0,a.D$)(e.variant,"productmaincategory"))?void 0:t.id)}))?void 0:c.key}]}}},A=(e,n,t,i)=>{var l,c,u,d,s,m,v,p;return{event:"add_to_cart",ecommerce:{currency:null==(l=e.price)?void 0:l.value.currencyCode,value:o(e.price.value),items:[{item_name:e.name,item_id:i.productKey,item_variant:null!=(p=null==(c=e.variant)?void 0:c.key)?p:"",price:o(e.price.value),item_brand:e.variant?(0,a.o7)(e.variant,n):"",quantity:t,item_category:null==(d=i.categories)||null==(u=d.find(n=>{var t;return n.id===(null==(t=(0,a.D$)(e.variant,"productmaincategory"))?void 0:t.id)}
1))?void 0:u.key,image_url:(null==(v=e.variant)||null==(m=v.images)||null==(s=m[0])?void 0:s.url)||"",compare_at_price:o((0,r.cr)(e.price,"strike_price"))}]}}},b=e=>({event:"custom_user_search",search_term:e}),k=e=>{let{projection:n,index:t,locale:r,quantity:i=1}=e;return{event:"custom_checkout-deal-".concat(t+1,"-add-to-cart"),ecommerce:s({projection:n,locale:r,quantity:i})}},I=e=>{let{projection:n,index:t,locale:r,quantity:i=1}=e;return{event:"custom_checkout-deal-".concat(t+1,"-add-to-wishlist"),ecommerce:s({projection:n,locale:r,quantity:i})}},P=e=>{let{projection:n,index:t,locale:r,quantity:i=1}=e;return{event:"custom_checkout-deal-".concat(t+1,"-view-item"),ecommerce:s({projection:n,locale:r,quantity:i})}},w=(e,n,t,r)=>({event:"add_to_cart",ecommerce:s({projection:e,locale:n,quantity:null!=t?t:1,extra:r})}),q=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return{event:"add_to_cart",ecommerce:m({projection:e,locale:n,quantity:t})}},N=(e,n,t)=>{var i,l,c,u;return{event:"add_to_wishlist",ecommerce:{currency:null==(l=e[0].variant)||null==(i=l.storePrice)?void 0:i.value,value:o(null==(u=e[0].variant)||null==(c=u.storePrice)?void 0:c.value),items:e.map(e=>({item:e,extra:t.find(n=>n.productId===e.productId)})).map(e=>{var t,i,l,c,u,d,s;let{item:m,extra:v}=e;return{item_name:m.name,item_id:null==v?void 0:v.productKey,item_variant:m.variant.key,price:o(null==(t=m.variant.storePrice)?void 0:t.value),item_brand:(0,a.o7)(m.variant,n),quantity:1,item_category:null==v||null==(l=v.categories)||null==(i=l.find(e=>{var n;return e.id===(null==(n=(0,a.D$)(m.variant,"productmaincategory"))?void 0:n.id)}))?void 0:i.key,image_url:(null==(d=m.variant)||null==(u=d.images)||null==(c=u[0])?void 0:c.url)||"",compare_at_price:o((0,r.cr)(null!=(s=m.variant.storePrice)?s:{},"strike_price"))}})}}},x=(e,n)=>{var t,r,i,l;return{page:"cart",event:"view_cart",checkout:{actionField:{step:"1"}},ecommerce:{currency:null!=(l=null==(t=e.taxedPrice)?void 0:t.totalGross.currencyCode)?l:"EUR",value:o(null==(r=e.taxedPrice)?void 0:r.totalGross),cart_quantity:u(e.lineItems,e.customLineItems),items:[...e.lineItems.map(e=>({item:e,extra:n.find(n=>n.productId===e.productId)})).map(n=>{var t,r,i;let{item:l,extra:c}=n;return{item_name:l.name,item_id:null==c?void 0:c.productKey,item_variant:l.variant.key,price:o(null==(t=l.price)?void 0:t.value),quantity:l.quantity,list:"shoppingcart",item_brand:(0,a.o7)(l.variant,e.locale),item_category:null==c||null==(i=c.categories)||null==(r=i.find(e=>{var n;return e.id===(null==(n=(0,a.D$)(l.variant,"productmaincategory"))?void 0:n.id)}))?void 0:r.key}}),...e.customLineItems.map(e=>({item_name:e.name,item_id:e.id,price:o({centAmount:e.totalPrice.centAmount/(e.quantity||1),currencyCode:e.totalPrice.currencyCode}),quantity:e.quantity,list:"shoppingcart"}))],price:o(null==(i=e.taxedPrice)?void 0:i.totalGross),customerEmail:e.customerEmail}}},$=(e,n)=>{var t,i,l,c;return{page:"checkout",event:"begin_checkout",checkout:{actionField:{step:"2"}},ecommerce:{currency:null!=(c=null==(t=e.taxedPrice)?void 0:t.totalGross.currencyCode)?c:"EUR",value:o(null==(i=e.taxedPrice)?void 0:i.totalGross),cart_quantity:u(e.lineItems,e.customLineItems),items:[...e.lineItems.map(e=>({item:e,extra:n.find(n=>n.productId===e.productId)})).map(n=>{var t,i,l,c,u,s;let{item:m,extra:v}=n;return{item_name:m.name,item_id:null==v?void 0:v.productKey,item_variant:m.variant.key,price:o(null==(t=m.price)?void 0:t.value),quantity:m.quantity,item_list_name:"shoppingcart",item_brand:(0,a.o7)(m.variant,e.locale),item_category:null==v||null==(l=v.categories)||null==(i=l.find(e=>{var n;return e.id===(null==(n=(0,a.D$)(m.variant,"productmaincategory"))?void 0:n.id)}))?void 0:i.key,url:m.productSlug?d(m.productSlug,e.locale):"",image_url:(null==(s=m.variant)||null==(u=s.images)||null==(c=u[0])?void 0:c.url)||"",compare_at_price:o((0,r.cr)(m.price,"strike_price"))}}),...e.customLineItems.map(n=>{var t;return{item_name:n.name,item_id:n.id,price:o({centAmount:n.totalPrice.centAmount/(n.quantity||1),currencyCode:n.totalPrice.currencyCode}),quantity:n.quantity,item_list_name:"shoppingcart",url:n.productSlug?d(n.productSlug,e.locale):"",image_url:(null==(t=n.image)?void 0:t.url)||""}})],price:o(null==(l=e.taxedPrice)?void 0:l.totalGross),customerEmail:e.customerEmail}}},S=(e,n)=>{var t,r,l,c,d,s,m,v,p;let y=null==(l=e.custom)||null==(r=l.customFieldsRaw)||null==(t=r.find(e=>"orderProfit"===e.name))?void 0:t.value,_=y?Number(null==(c=JSON.parse(y))?void 0:c.total):0,g=(0,i.hk)(e),f=o(g.tax);return{page:"checkoutcomplete",event:"purchase",ecommerce:{transaction_id:e.orderNumber,value:o(e.totalPrice),value_ex_tax_shipping:o(g.net),tax:f,shipping:o(null==(s=e.shippingInfo)||null==(d=s.taxedPrice)?void 0:d.totalGross),currency:e.totalPrice.currencyCode,cart_quantity:u(e.lineItems,e.customLineItems),affiliation:"Online Store",coupon:[...e.discountCodes].sort().join(","),profit:_,purchase:{actionField:{id:e.orderNumber,affiliation:"Online Store",revenue:o(e.totalPrice),shipping:o(null==(v=e.shippingInfo)||null==(m
1=v.taxedPrice)?void 0:m.totalGross),payment:null==(p=e.paymentInfo)?void 0:p.payments.slice(-1)[0].paymentMethodInfo.method,coupon:[...e.discountCodes].sort().join(","),profit:_,tax:f},products:e.lineItems.map(e=>({item:e,extra:n.find(n=>n.productId===e.productId)})).map(n=>{var t,r,i;let{item:l,extra:c}=n;return{name:l.name,id:null==c?void 0:c.productKey,variant:l.variant.key,price:o(null==(t=l.price)?void 0:t.value),quantity:l.quantity,list:"shoppingcart",brand:(0,a.o7)(l.variant,e.locale),category:null==c||null==(i=c.categories)||null==(r=i.find(e=>{var n;return e.id===(null==(n=(0,a.D$)(l.variant,"productmaincategory"))?void 0:n.id)}))?void 0:r.key}})},items:[...e.lineItems.map(e=>({item:e,extra:n.find(n=>n.productId===e.productId)})).map(n=>{var t,r,i;let{item:l,extra:c}=n;return{item_name:l.name,item_id:null==c?void 0:c.productKey,item_variant:l.variant.key,price:o(null==(t=l.price)?void 0:t.value),quantity:l.quantity,item_list_name:"shoppingcart",item_brand:(0,a.o7)(l.variant,e.locale),item_category:null==c||null==(i=c.categories)||null==(r=i.find(e=>{var n;return e.id===(null==(n=(0,a.D$)(l.variant,"productmaincategory"))?void 0:n.id)}))?void 0:r.key}}),...e.customLineItems.map(e=>({item_name:e.name,item_id:e.id,price:o({centAmount:e.totalPrice.centAmount/(e.quantity||1),currencyCode:e.totalPrice.currencyCode}),quantity:e.quantity,item_list_name:"shoppingcart"}))]},...((e,n,t)=>{var r,i,a,l,o,c,u,d,s,m,v,p;return{user_data:{email:null!=(v=null==e?void 0:e.customerEmail)?v:n,phone_number:null!=(p=null==e||null==(r=e.billingAddress)?void 0:r.phone)?p:t,address:(null==e?void 0:e.billingAddress)&&{first_name:null==(i=e.billingAddress)?void 0:i.firstName,last_name:null==(a=e.billingAddress)?void 0:a.lastName,street:"".concat(null==(l=e.billingAddress)?void 0:l.streetName," ").concat(null==(o=e.billingAddress)?void 0:o.streetNumber," ").concat(null==(c=e.billingAddress)?void 0:c.building),city:null==(u=e.billingAddress)?void 0:u.city,region:null==(d=e.billingAddress)?void 0:d.state,postal_code:null==(s=e.billingAddress)?void 0:s.postalCode,country:null==(m=e.billingAddress)?void 0:m.country}}}})(e)}},V=e=>({event:"identify",user_data:{email:e}}),R=e=>({event:"login",user_data:{email:e}}),F=e=>({event:"sign_up",user_data:{email:e}}),D=e=>({event:"searched_website",url:"".concat(window.location.host).concat(window.location.pathname),keyword:e}),K=(e,n,t,r,i)=>({event:"add_to_wishlist",ecommerce:v({variant:e,locale:n,extra:t,productName:r,productSlug:i})}),G=(e,n,t,r,i)=>({event:"remove_from_wishlist",ecommerce:v({variant:e,locale:n,extra:t,productName:r,productSlug:i})}),T=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return{event:"add_to_wishlist",ecommerce:m({projection:e,locale:n,quantity:t})}},E=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return{event:"remove_from_wishlist",ecommerce:m({projection:e,locale:n,quantity:t})}},L=(e,n)=>({event:"email_opt_in",user_data:{email:e},newsletter_preferences:{personalize:n.personalize||!1,newsletter:n.newsletter||!1,preferenceBso:n.preferenceBso||!1,preferenceCollectors:n.preferenceCollectors||!1,preferenceHbc:n.preferenceHbc||!1}}),M=(e,n)=>({event:"save_preferences",user_data:{email:e},newsletter_preferences:{personalize:n.personalize||!1,newsletter:n.newsletter||!1,preferenceBso:n.preferenceBso||!1,preferenceCollectors:n.preferenceCollectors||!1,preferenceHbc:n.preferenceHbc||!1}}),B=(e,n)=>({event:"view_topic_detail",page:"topicdetailpage",pageType:e,title:n}),O=e=>({event:"view_information",page:"informationpage",pageType:"informationpage",title:e}),z=e=>({event:"view_explore_page",page:"explorepage",pageType:"explorepage",title:e}),H=(e,n)=>({event:"subscribe_stock_alert",user_data:{email:e},product:{sku:n}})},38206:(e,n,t)=>{t.d(n,{B:()=>o,V:()=>l});var r=t(95304),i=t(13764);let a=(0,i.createContext)(void 0),l=e=>{let{children:n,fetcher:t}=e;return(0,r.jsx)(a.Provider,{value:t,children:n})},o=()=>{let e=(0,i.useContext)(a);if(void 0===e)throw Error("useAuthGqlFetcher must be used within an AuthGqlFetcherProvider");return e}},52630:(e,n,t)=>{t.d(n,{n:()=>s});var r=t(82905),i=t(14261),a=t(13764),l=t(79217),o=t(38206),c=t(12830
1),u=t(76780);let d=(0,l.U)('\n	query getCustomerWishlists($locale: Locale!, $storeKey: String!) {\n		myWishlists(locale: $locale, storeKey: $storeKey) {\n			results {\n				id\n				version\n				customer {\n					id\n				}\n				lineItems {\n					id\n					productId\n					name(locale: $locale)\n					productSlug(locale: $locale)\n					variant {\n						onStockIn\n						attributesRaw(\n							includeNames: [\n								"notforsale"\n								"brand"\n								"not_replaced_in"\n								"productmaincategory"\n								"expectedRestockDate"\n							]\n						) {\n							name\n							value\n						}\n						sku\n						key\n						id\n						images {\n							url\n							label\n						}\n						storePrice(storeKey: $storeKey) {\n							custom {\n								customFieldsRaw {\n									name\n									value\n								}\n							}\n							value {\n								... on Money {\n									centAmount\n									currencyCode\n								}\n								... on HighPrecisionMoney {\n									centAmount\n									currencyCode\n								}\n							}\n						}\n						availability {\n							noChannel {\n								isOnStock\n								availableQuantity\n							}\n						}\n						digitalGiftCardConfig {\n							available\n							minCentAmount\n							maxCentAmount\n						}\n					}\n					addedAt\n				}\n			}\n		}\n	}\n');function s(e){let n=(0,o.B)(),{locale:t,storeKey:l}=(0,u.fy)(),s=(0,i.usePathname)(),m=e||!(0,c.hH)()||"/checkout"===s,{data:v,...p}=(0,r.I)({queryKey:["wishlist","my",l,t],queryFn:()=>n(d,{locale:t,storeKey:l}).then(e=>{var n,t;return null!=(t=null==(n=e.data)?void 0:n.myWishlists.results)?t:[]}),enabled:!m}),{wishlist:y,otherWishlist:_}=(0,a.useMemo)(()=>{let e,n=[];return null==v||v.forEach(t=>{t.lineItems.length<100&&!e?e=t:n.push(t)}),{wishlist:e,otherWishlist:n}},[v]);return{wishlist:y,otherWishlist:_,...p}}},79107:(e,n,t)=>{t.d(n,{_$:()=>s,m1:()=>m,pA:()=>u});var r=t(82905),i=t(14261),a=t(79217),l=t(38206),o=t(12830),c=t(76780);(0,a.U)('\n	fragment CartLineItem on LineItem {\n		id\n		productSlug(locale: $locale)\n		productSlugAllLocales {\n			locale\n			value\n		}\n		quantity\n		quantityAvailable\n		productId\n		productKey\n		name(locale: $locale)\n		nameAllLocales {\n			locale\n			value\n		}\n		productType {\n			name\n			key\n		}\n		variant {\n			attributesRaw(\n				includeNames: [\n					"legal_agecheck_key"\n					"brand"\n					"productmaincategory"\n					"productDiscountGroups"\n					"not_legal_in_key"\n					"expectedRestockDate"\n					"product_reference"\n				]\n			) {\n				name\n				value\n			}\n			sku\n			id\n			key\n			images {\n				url\n				label\n			}\n			price(currency: $currency) {\n				custom {\n					customFieldsRaw {\n						name\n						value\n					}\n				}\n				value {\n					centAmount\n					currencyCode\n				}\n			}\n			availability {\n				noChannel {\n					isOnStock\n					availableQuantity\n				}\n			}\n			onStockIn\n		}\n		discountedPricePerQuantity {\n			quantity\n			discountedPrice {\n				includedDiscounts {\n					discount {\n						id\n						isActive\n						sortOrder\n						name(locale: $locale)\n					}\n					discountedAmount {\n						centAmount\n						currencyCode\n					}\n				}\n			}\n		}\n		taxedPrice {\n			totalNet {\n				centAmount\n				currencyCode\n			}\n			totalGross {\n				centAmount\n				currencyCode\n			}\n		}\n		price {\n			custom {\n				customFieldsRaw {\n					name\n					value\n				}\n			}\n			value {\n				centAmount\n				currencyCode\n			}\n		}\n		priceMode\n		taxRate {\n			amount\n		}\n		state {\n			state {\n				key\n			}\n		}\n		custom {\n			customFieldsRaw {\n				name\n				value\n			}\n		}\n		lineItemMode\n		engravings {\n			fingerprint\n			text\n			font\n			position\n			quantity\n			lineTotal {\n				centAmount\n				currencyCode\n			}\n		}\n	}\n'),(0,a.U)("\n	fragment CartFields on Cart {\n		id\n		country\n		version\n		cartState\n		locale\n		customerEmail\n		customerId\n		anonymousId\n		lastModifiedAt\n		taxCalculationMode\n		taxRoundingMode\n		customer {\n			id\n			customerNumber\n			version\n			email\n			firstName\n			lastName\n			addresses {\n				id\n				firstName\n				lastName\n				streetName\n				streetNumber\n				additionalStreetInfo\n				additionalAddressInfo\n				building\n				city\n				region\n				state\n				postalCode\n				country\n				phone\n				company\n			}\n			defaultShippingAddressId\n			defaultBillingAddressId\n			shippingAddressIds\n			billingAddressIds\n			dateOfBirth\n			vatId\n			companyName\n			isEmailVerified\n			custom {\n				type {\n					key\n				}\n				customFieldsRaw {\n					name\n					value\n				}\n			}\n		}\n		custom {\n			customFieldsRaw {\n				name\n				value\n			}\n		}\n		discountCodes {\n			discountCode {\n				id\n				cartDiscounts {\
1n					id\n					sortOrder\n				}\n				code\n				isActive\n				name(locale: $locale)\n				description(locale: $locale)\n			}\n			state\n		}\n		totalPrice {\n			centAmount\n			currencyCode\n		}\n		discountOnTotalPrice {\n			includedDiscounts {\n				discount {\n					id\n				}\n				discountedAmount {\n					centAmount\n					currencyCode\n				}\n			}\n		}\n		shippingInfo {\n			shippingMethodName\n			shippingMethod {\n				key\n				zoneRates {\n					zone {\n						locations {\n							country\n						}\n					}\n					shippingRates {\n						freeAbove {\n							centAmount\n							currencyCode\n						}\n						tiers {\n							... on ShippingRateCartValuePriceTier {\n								minimumCentAmount\n								price {\n									centAmount\n									currencyCode\n								}\n							}\n						}\n					}\n				}\n			}\n			discountedPrice {\n				includedDiscounts {\n					discount {\n						id\n						isActive\n						sortOrder\n						name(locale: $locale)\n					}\n					discountedAmount {\n						centAmount\n						currencyCode\n					}\n				}\n			}\n			taxRate {\n				amount\n			}\n			taxedPrice {\n				totalNet {\n					centAmount\n					currencyCode\n				}\n				totalGross {\n					centAmount\n					currencyCode\n				}\n			}\n			price {\n				centAmount\n				currencyCode\n			}\n		}\n		taxedPrice {\n			totalNet {\n				centAmount\n				currencyCode\n			}\n			totalGross {\n				centAmount\n				currencyCode\n			}\n		}\n		lineItems {\n			...CartLineItem\n		}\n		customLineItems {\n			id\n			name(locale: $locale)\n			productSlug(locale: $locale)\n			image {\n				url\n			}\n			quantity\n			custom {\n				customFieldsRaw {\n					name\n					value\n				}\n			}\n			totalPrice {\n				centAmount\n				currencyCode\n			}\n			taxedPrice {\n				totalNet {\n					centAmount\n					currencyCode\n				}\n				totalGross {\n					centAmount\n					currencyCode\n				}\n			}\n		}\n		shippingAddress {\n			id\n			firstName\n			lastName\n			streetName\n			streetNumber\n			additionalStreetInfo\n			additionalAddressInfo\n			building\n			city\n			region\n			state\n			postalCode\n			country\n			phone\n			company\n		}\n		billingAddress {\n			id\n			firstName\n			lastName\n			streetName\n			streetNumber\n			additionalStreetInfo\n			additionalAddressInfo\n			building\n			city\n			region\n			state\n			postalCode\n			country\n			phone\n			company\n		}\n		orderThreshold {\n			reached\n			remaining {\n				centAmount\n				currencyCode\n			}\n			threshold {\n				centAmount\n				currencyCode\n			}\n		}\n		hasOnlyDigitalGiftCards\n		taxedTotalPrice {\n			centAmount\n			currencyCode\n		}\n		availableShippingMethods {\n			id\n			key\n			name\n			isDefault\n			zoneRates {\n				shippingRates {\n					price {\n						centAmount\n						currencyCode\n					}\n					freeAbove {\n						centAmount\n						currencyCode\n					}\n					tiers {\n						... on ShippingRateCartValuePriceTier {\n							minimumCentAmount\n							price {\n								centAmount\n								currencyCode\n							}\n						}\n					}\n				}\n				zone {\n					locations {\n						country\n					}\n				}\n			}\n		}\n	}\n");let u=(0,a.U)("\n	query getActiveCart(\n		$locale: Locale!\n		$storeKey: KeyReferenceInput!\n		$currency: Currency!\n	) {\n		inStore(key: $storeKey) {\n			me {\n				activeCart {\n					...CartFields\n				}\n			}\n		}\n	}\n"),d=(0,a.U)("\n	query getActiveCartForCheckout(\n		$locale: Locale!\n		$storeKey: KeyReferenceInput!\n		$currency: Currency!\n	) {\n		inStore(key: $storeKey) {\n			me {\n				activeCart {\n					...CartFields\n					availablePaymentMethods {\n						name\n						provider\n						isAvailable\n						issuers\n						costs {\n							currency\n							amount\n						}\n					}\n					shippingPrice {\n						totalGrossCentAmount\n						totalNetCentAmount\n					}\n					shippingAddress {\n						email\n					}\n					billingAddress {\n						email\n					}\n					paymentInfo {\n						payments {\n							id\n						}\n					}\n				}\n			}\n		}\n	}\n");function s(){let e=(0,l.B)(),{locale:n,storeKey:t,currency:a}=(0,c.fy)(),d=(0,i.usePathname)(),s=!(0,o.hH)()||"/checkout"===d,{data:m,isLoading:v,...p}=(0,r.I)({queryKey:["cart","active",n],queryFn:()=>e(u,{locale:n,storeKey:t,currency:a}).then(e=>{var n,t;return null!=(t=null==(n=e.data)?void 0:n.inStore.me.activeCart)?t:null}),enabled:!s}
1);return{cart:m,loading:v,...p}}function m(){let e=(0,l.B)(),{locale:n,storeKey:t,currency:i}=(0,c.fy)(),a=!(0,o.hH)(),{data:u,...s}=(0,r.I)({queryKey:["cart","checkout",n],queryFn:()=>e(d,{locale:n,storeKey:t,currency:i}).then(e=>{var n,t;return null!=(t=null==(n=e.data)?void 0:n.inStore.me.activeCart)?t:null}),enabled:!a});return{cart:u,...s}}}}]);
2//# sourceMappingURL=5785-2eb618428098229f.js.map

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.