1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2699],{2829:(e,t,a)=>{"use strict";a.d(t,{A:()=>K});var i=a(26514),s=a(75834),r=a(98457),l=a(48174),n=a(10065),o=a(53540),d=a(88046),c=a(89564),u=a(44040),m=a(33846),p=a(95884),h=a(67710),x=a(48148),v=a(85361),f=a(68345),b=a(40617),y=a.n(b),g=a(28857),j=a(54841),A=a(62300),w=a(14001),N=a(69591),C=a(30324),S=a(78868),F=a(53338),_=a(11688),I=a(88468),k=a(51239),P=a(96839),E=a(34573),L=a(31729),O=a(49805),D=a(90960),T=a(56138);let B=()=>{var e,t,a,b,B,M,q,z,U,V,H,G,K,W,Q;let{page:Y,activeProduct:J}=(0,D.Bj)(),[X,$]=(0,s.useState)(!1),[Z,ee]=(0,s.useState)(1),[et,ea]=(0,s.useState)({}),[ei,es]=(0,s.useState)(J.options),[er,el]=(0,s.useState)(J.initAvailability),{setAddToCartData:en}=(0,F.w)(),{setProductData:eo}=(0,_.o)(),{setAlgoliaProducts:ed}=(0,I.V)(),{triggerAlert:ec}=(0,E.mL)(),{updateCartCount:eu}=(0,T._)(),{addOnProducts:em,selectedAddOnProducts:ep,setSelectedAddOnProducts:eh,initializeAddOnProducts:ex,createCartAddOnItems:ev}=(0,L.Q)(),{isValid:ef,validationErrors:eb,getCartLineItemData:ey}=(0,O.X)(ei,et),eg=(0,f.Ay)({amount:J.price.value,baseAmount:null==(e=J.prices.retailPrice)?void 0:e.value,currencyCode:J.price.currencyCode}),ej=async()=>{if($(!0),!ef){$(!1),ec({message:eb[0]||"Please select all required options",status:"Error"});return}let e=(0,C.v4)(J,et),t=ev(Z),a={lineItems:[ey(J,e,Z),...t]};try{var i,s;let t=await fetch("/api/cart/add",{method:"POST",body:JSON.stringify({data:a}),headers:{"Content-Type":"application/json"}}),r=await t.json();if(!r.success)throw Error(r.error||"Failed to add to cart");en({product:J,variant:e,quantity:Z,addOns:ep,defaultImage:J.defaultImage,canonicalUrl:Y.canonical}),r.lineItems&&ed(r.lineItems.map(e=>({id:e.productId,price:e.variant.price,discount:e.variant.listPrice-e.variant.price,quantity:e.quantity}))),eu(),$(!1),ec({message:"".concat(null==(i=J.productIdentifiers)?void 0:i.websiteName," ").concat(null==(s=J.productIdentifiers)?void 0:s.subname," added to Cart"),status:"Success"})}catch(e){$(!1),ec({message:"Failed to add to cart",status:"Error"})}},eA=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=Number(Z)+e,a=J.minPurchaseQuantity||1,i=J.maxPurchaseQuantity||50;!(t<a)&&(t>i||ee(t))},ew=(0,r.A)({[y().salePrice]:J.onSale}),eN=e=>{eh([...ep,e])},eC=e=>{eh(ep.filter(t=>t.productId!==e))};return(0,s.useEffect)(()=>{es(J.options)},[J]),(0,s.useEffect)(()=>{(0,C.MI)(J,ea)},[J]),(0,s.useEffect)(()=>{(0,C.MI)(J,ea)},[J]),(0,s.useEffect)(()=>{let e=(0,C.v4)(J,et);eo({product:J,variant:e,quantity:Z,defaultImage:J.defaultImage,canonicalUrl:Y.canonical})},[J]),(0,s.useEffect)(()=>{"Sold Out"!==er.label&&"Coming Soon"!==er.label&&R([Number(J.id)]).then(e=>{el((0,S.A)({realTimeAvailable:!e.data.includes(Number(J.id)),availability:J.availability,isInStock:J.isInStock,display:"pdp",flags:J.flags}))}).catch(e=>{console.error(e)})},[J]),(0,s.useEffect)(()=>{J.addOns&&J.sku&&ex(J.addOns,J.sku)},[J]),(0,s.useEffect)(()=>{let e,t=!0,a=function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(t)try{if(window.AwesomeSezzle&&"function"==typeof window.AwesomeSezzle)new window.AwesomeSezzle({amount:"".concat(J.price.value.toFixed(2)),widgetTemplate:"4 easy payments of $%%price%% with %%logo%% %%info%%"}).init();else if(i<3){let t=Math.min(500*Math.pow(2,i),2e3);e=setTimeout(()=>{a(i+1)},t)}else console.warn("Sezzle failed to load after 3 attempts")}catch(e){console.error("Error initializing Sezzle:",e)}};return e=setTimeout(()=>{a()},100),()=>{t=!1,e&&clearTimeout(e)}},[J.price.value]),(0,i.jsxs)(g.A,{children:[(0,i.jsxs)("div",{className:"pt-l md:grid md:grid-cols-2 md:gap-12",children:[(0,i.jsx)(l.A,{}),(0,i.jsxs)("div",{children:[(0,i.jsxs)(j.A,{className:"!mb-0",variant:"h1",children:[(null==(t=J.productIdentifiers)?void 0:t.websiteName.length)&&(0,i.jsx)(j.A,{variant:"h3Sans",className:y().family,html:(0,P.A)(J.productIdentifiers.websiteName,"productHeading")}),(null==(a=J.productIdentifiers)?void 0:a.subname.length)?(0,i.jsx)(j.A,{variant:"h3Sans",className:y().subname,html:(0,P.A)(J.productIdentifiers.subname,"productHeading")}):null,(0,i.jsxs)("div",{className:"flex",children:[(null==(b=J.productIdentifiers)?void 0:b.seoSuffix)&&(null==(B=J.productIdentifiers)?void 0:B.seoSuffix)!==""&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(j.A,{variant:"bodySerifMedium",className:y().seoSuffix,html:(0,P.A)(J.productIdentifiers.seoSuffix,"productHeading")}),(0,i.jsx)(j.A,{variant:"bodyMedium",className:y().seoSuffix,children:"\xa0|\xa0"})]}),J.sku&&(0,i.jsxs)(j.A,{variant:"bodySerifMedium",className:y().seoSuffix,children:["SKU: ",J.sku]})]})]}),(null==(M=J.reviewSummary)?void 0:M.summationOfRatings)?(0,i.jsxs)("div",{className:"py-sm min-h-[58px] flex gap-2",children:[(0,i.jsx)(A.A,{value:null==(q=J.reviewSummary)?void 0:q.summationOfRatings}),0!==J.reviewSummary.numberOfReviews&&(0,i.jsxs)("a",{href:"#yotpoMainWidget",className:"text-dark-teal underline",children:[J.reviewSummary.numberOfReviews," Reviews"]})]}):(0,i.jsxs)("div",{className:"py-sm min-h-[58px] flex gap-2",children:[(0,i.jsx)(A.A,{value:0}),(0,i.jsx)("a",{href:"#yotpoMainWidget",className:"text-dark-teal underline",children:"Write A Review"})]}),(0,i.jsx)("div",{className:"mb-sm",children:(0,i.jsxs)("p",{className:y().price,children:["basePrice"in eg&&(J.onSale||J.customerGroup)&&(0,i.jsx)(j.A,{className:y().retailPrice,variant:"subheadFour",children:"".concat(eg.basePrice)}),(0,i.jsx)(j.A,{className:ew,variant:"subheadFour",children:"".concat(eg.price)}),J.customerGroup&&(0,i.jsx)(j.A,{className:y().customerGroup,variant:"subheadFour",children:"".concat(J.customerGroup," Pricing")})]})}),(0,i.jsx)(n.A,{options:ei,selectedOptions:et,setSelectedOptions:ea}),J.addOns&&J.addOns.length>0&&(0,i.jsx)("div",{className:"mb-m",children:em.map(e=>(0,i.jsx)(o.A,{product:e,parentSku:J.sku,addAddOn:eN,removeAddOn:eC},"".concat(e.entityId).concat(J.id)))}),(0,i.jsxs)("div",{id:"pdp-add-to-cart",className:"flex gap-3 items-end mb-sm",children:[(0,i.jsx)(w.A,{value:Z,handleChange:e=>{let{target:{value:t}}=e;ee(Number(t))},min:J.minPurchaseQuantity||1,max:J.maxPurchaseQuantity||50,increase:()=>eA(1),decrease:()=>eA(-1)}),(0,i.jsx)(N.A,{variant:"primary","aria-label":"Add to Cart",className:"max-h-[50px] w-[60%]",type:"button",onClick:ej,loading:X,disabled:!er.available,children:er.label})]}),J.disclaimer&&(0,i.jsx)("p",{className:"font-serif text-sm p-xs bg-buttercup w-fit",children:J.disclaimer}),(0,i.jsx)("div",{className:y().thirdPartyPaymentContainer,children:(0,i.jsx)("div",{id:"sezzle-widget"})}),er.notify&&!J.disableStockNotification&&(0,i.jsx)(d.A,{variantId:J.variants[0].id})]})]}),(0,i.jsx)(c.A,{madeInUSA:J.madeInUSA}),(0,i.jsx)(u.A,{}),Y.video&&(0,i.jsx)("div",{className:"mb-l",children:(0,i.jsx)(v.A,{card:Y.video})}),J.specs&&(0,i.jsx)(m.A,{specs:J.specs}),(0,i.jsxs)("div",{className:"md:grid md:grid-cols-2 md:divide-x md:divide-mid-gray [&>*]:md:pl-l [&>*:first-child]:md:pl-0 [&>*:first-child]:md:pr-l",children:[(0,i.jsx)(p.A,{}),(0,i.jsx)(h.A,{})]}),(0,i.jsx)(x.A,{}),(0,i.jsx)(k.A,{title:"".concat(null==(z=J.productIdentifiers)?void 0:z.websiteName," ").concat(null==(U=J.productIdentifiers)?void 0:U.subname),description:(null==(V=J.seo)?void 0:V.metaDescription)||"",openGraph:{type:"product",title:"".concat(null==(H=J.productIdentifiers)?void 0:H.websiteName," ").concat(null==(G=J.productIdentifiers)?void 0:G.subname),description:(null==(K=J.seo)?void 0:K.metaDescription)||"",images:[{url:"".concat(null==(W=J.defaultImage)?void 0:W.url),width:"262",height:"513",alt:"".concat(null==(Q=J.defaultImage)?void 0:Q.alt)}]},canonical:Y.canonical})]})};async function R(e){return fetch("/api/catalog/validate-product-availability",{method:"POST",body:JSON.stringify(e)}).then(e=>e.json()).catch(e=>console.error(e))}var M=a(98448),q=a(57742),z=a(33917),U=a(47966),V=a(57594),H=a(43449),G=a(46225);let K=e=>{var t;let{regions:a}=e,{page:r,activeProduct:l}=(0,D.Bj)(),{asPath:n,push:o}=(0,G.useRouter)(),d=n.split("?"),c=d[1]?new URLSearchParams(d[1]):null,u=null==c?void 0:c.get("sku");return(0,s.useEffect)(()=>{u&&u!==l.sku&&o("/".concat(r.type.toLowerCase(),"/discontinued"))},[r,u]),(0,i.jsxs)(i.Fragment,{children:[a.belowHeader.length?a.belowHeader.map((e,t)=>(0,i.jsx)(q.A,{region:e},t)):null,(0,i.jsx)(B,{}),(null==(t=r.sections)?void 0:t.length)?(0,i.jsx)("div",{className:"relative z-10",children:r.sections.map((e,t)=>(0,i.jsx)(z.A,{section:e,container:"section"},t))}):null,(0,i.jsxs)(H.A,{className:"relative z-10",children:[(0,i.jsx)("h2",{className:"sr-only",children:"Customer Reviews"}),(0,i.jsx)(M.A,{product:l})]}),a.aboveFooter.length?a.aboveFooter.map((e,t)=>{q.A}):null,(0,i.jsx)(U.A,{}),(0,i.jsx)(V.A,{})]})}},10065:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var i=a(26514),s=a(75834),r=a(14186),l=a(54841);let n=e=>{let{option:t,selectedOptions:a,setSelectedOptions:s}=e,n=t.displayName.toLowerCase().replaceAll(" ","_"),o=a[n];return(0,i.jsxs)("div",{className:"pb-4 mb-m",children:[(0,i.jsx)("h2",{className:"uppercase font-medium text-sm tracking-wide mb-m",children:(0,i.jsxs)(l.A,{variant:"bodyMediumBold",children:[t.displayName,t.isRequired&&" *"]})}),(0,i.jsx)("div",{role:"listbox","aria-label":t.displayName,className:"flex flex-row flex-wrap",children:t.values.map((e,a)=>{var l;let d=e.label.toLowerCase()===o;return(0,i.jsx)(r.A,{active:d,variant:t.displayName,color:(null==(l=e.hexColors)?void 0:l[0])||"",label:e.label,onClick:()=>{s(t=>({...t,[n]:e.label.toLowerCase()}))}},"".concat(t.entityId,"-").concat(e.entityId))})})]})},o=e=>{let{option:t,selectedOptions:a,setSelectedOptions:s}=e,r=t.displayName.toLowerCase().replaceAll(" ","_"),n=a[r],o=void 0!==n?n===t.checkedOptionValueEntityId.toString():t.checkedByDefault;return(0,i.jsx)("div",{className:"pb-4 mb-m",children:(0,i.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer",children:[(0,i.jsx)("input",{type:"checkbox",id:"checkbox-".concat(t.entityId),name:r,checked:o,onChange:e=>{let a=e.target.checked;s(e=>({...e,[r]:a?t.checkedOptionValueEntityId.toString():t.uncheckedOptionValueEntityId.toString()}))},required:t.isRequired,className:"mt-1"}),(0,i.jsxs)(l.A,{variant:"bodySmall",children:[t.label,t.isRequired&&" *"]})]})})};var d=a(34441);let c=e=>{var t,a,r,n;let{option:o,selectedOptions:c,setSelectedOptions:u}=e,m=o.displayName.toLowerCase().replaceAll(" ","_"),p=c[m],[h,x]=(0,s.use
1State)((null==p?void 0:p.toString())||(null==(t=o.defaultNumber)?void 0:t.toString())||""),[v,f]=(0,s.useState)("");(0,s.useEffect)(()=>{null===o.defaultNumber||c[m]||u(e=>({...e,[m]:o.defaultNumber.toString()}))},[]);let b=e=>{if(!e&&!o.isRequired)return f(""),!0;let t=parseFloat(e);return isNaN(t)?(f("Please enter a valid number"),!1):o.isIntegerOnly&&!Number.isInteger(t)?(f("Please enter a whole number"),!1):null!==o.lowest&&t<o.lowest?(f("Value must be at least ".concat(o.lowest)),!1):null!==o.highest&&t>o.highest?(f("Value must be at most ".concat(o.highest)),!1):(f(""),!0)};return(0,i.jsxs)("div",{className:"pb-4 mb-m",children:[(0,i.jsx)("label",{htmlFor:"number-".concat(o.entityId),children:(0,i.jsxs)(l.A,{variant:"bodyMediumBold",children:[o.displayName,o.isRequired&&" *"]})}),(0,i.jsx)(d.A,{type:(o.isIntegerOnly,"number"),id:"number-".concat(o.entityId),name:m,value:h,onChange:e=>{x(e),b(e)&&u(t=>({...t,[m]:e}))},onBlur:()=>{b(h)},required:o.isRequired,min:null!=(r=o.lowest)?r:void 0,max:null!=(n=o.highest)?n:void 0,step:o.isIntegerOnly?"1":"any",placeholder:(null==(a=o.defaultNumber)?void 0:a.toString())||"Enter a number",className:"w-full max-w-xs"}),v&&(0,i.jsx)(l.A,{variant:"bodySmall",className:"text-red-600 mt-xs",children:v}),null!==o.lowest&&null!==o.highest&&(0,i.jsxs)(l.A,{variant:"bodySmall",className:"text-gray-600 mt-xs",children:["Range: ",o.lowest," - ",o.highest]})]})},u=e=>{var t,a;let{option:r,selectedOptions:n,setSelectedOptions:o}=e,c=r.displayName.toLowerCase().replaceAll(" ","_"),u=n[c],[m,p]=(0,s.useState)((null==u?void 0:u.toString())||r.defaultText||""),[h,x]=(0,s.useState)("");(0,s.useEffect)(()=>{r.defaultText&&!n[c]&&o(e=>({...e,[c]:r.defaultText}))},[]);let v=e=>e||r.isRequired?!e&&r.isRequired?(x("This field is required"),!1):null!==r.minLength&&e.length<r.minLength?(x("Minimum ".concat(r.minLength," characters required")),!1):null!==r.maxLength&&e.length>r.maxLength?(x("Maximum ".concat(r.maxLength," characters allowed")),!1):(x(""),!0):(x(""),!0);return(0,i.jsxs)("div",{className:"pb-4 mb-m",children:[(0,i.jsx)("label",{htmlFor:"text-".concat(r.entityId),children:(0,i.jsxs)(l.A,{variant:"bodyMediumBold",children:[r.displayName,r.isRequired&&" *"]})}),(0,i.jsx)(d.A,{type:"text",id:"text-".concat(r.entityId),name:c,value:m,onChange:e=>{p(e),v(e)&&o(t=>({...t,[c]:e}))},onBlur:()=>
1{v(m)},required:r.isRequired,minLength:null!=(t=r.minLength)?t:void 0,maxLength:null!=(a=r.maxLength)?a:void 0,placeholder:r.defaultText||"Enter ".concat(r.displayName.toLowerCase()),className:"w-full max-w-lg"}),h&&(0,i.jsx)(l.A,{variant:"bodySmall",className:"text-red-600 mt-xs",children:h}),null!==r.maxLength&&(0,i.jsxs)(l.A,{variant:"bodySmall",className:"text-gray-600 mt-xs",children:[m.length,"/",r.maxLength," characters"]})]})},m=e=>{var t,a,r;let{option:n,selectedOptions:o,setSelectedOptions:d}=e,c=n.displayName.toLowerCase().replaceAll(" ","_"),u=o[c],[m,p]=(0,s.useState)((null==u?void 0:u.toString())||n.defaultText||""),[h,x]=(0,s.useState)("");(0,s.useEffect)(()=>{n.defaultText&&!o[c]&&d(e=>({...e,[c]:n.defaultText}))},[]);let v=e=>e||n.isRequired?!e&&n.isRequired?(x("This field is required"),!1):null!==n.minLength&&e.length<n.minLength?(x("Minimum ".concat(n.minLength," characters required")),!1):null!==n.maxLength&&e.length>n.maxLength?(x("Maximum ".concat(n.maxLength," characters allowed")),!1):null!==n.maxLines&&e.split("\n").length>n.maxLines?(x("Maximum ".concat(n.maxLines," lines allowed")),!1):(x(""),!0):(x(""),!0),f=m.split("\n").length;return(0,i.jsxs)("div",{className:"pb-4 mb-m",children:[(0,i.jsx)("label",{htmlFor:"textarea-".concat(n.entityId),children:(0,i.jsxs)(l.A,{variant:"bodyMediumBold",children:[n.displayName,n.isRequired&&" *"]})}),(0,i.jsx)("textarea",{id:"textarea-".concat(n.entityId),name:c,value:m,onChange:e=>{let t=e.target.value;p(t),v(t)&&d(e=>({...e,[c]:t}))},onBlur:()=>
1{v(m)},required:n.isRequired,minLength:null!=(t=n.minLength)?t:void 0,maxLength:null!=(a=n.maxLength)?a:void 0,rows:null!=(r=n.maxLines)?r:4,placeholder:n.defaultText||"Enter ".concat(n.displayName.toLowerCase()),className:"w-full max-w-lg border border-gray-300 rounded px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500"}),h&&(0,i.jsx)(l.A,{variant:"bodySmall",className:"text-red-600 mt-xs",children:h}),(0,i.jsxs)("div",{className:"flex justify-between mt-xs",children:[null!==n.maxLength&&(0,i.jsxs)(l.A,{variant:"bodySmall",className:"text-gray-600",children:[m.length,"/",n.maxLength," characters"]}),null!==n.maxLines&&(0,i.jsxs)(l.A,{variant:"bodySmall",className:"text-gray-600",children:[f,"/",n.maxLines," lines"]})]})]})},p=e=>{var t,a;let{option:r,selectedOptions:n,setSelectedOptions:o}=e,c=r.displayName.toLowerCase().replaceAll(" ","_"),u=n[c],[m,p]=(0,s.useState)((null==u?void 0:u.toString())||r.defaultDate||""),[h,x]=(0,s.useState)("");(0,s.useEffect)(()=>{r.defaultDate&&!n[c]&&o(e=>({...e,[c]:r.defaultDate}))},[]);let v=e=>{if(!e&&!r.isRequired)return x(""),!0;if(!e&&r.isRequired)return x("This field is required"),!1;let t=new Date(e);return isNaN(t.getTime())?(x("Please enter a valid date"),!1):null!==r.earliest&&t<new Date(r.earliest)?(x("Date must be on or after ".concat(f(r.earliest))),!1):null!==r.latest&&t>new Date(r.latest)?(x("Date must be on or before ".concat(f(r.latest))),!1):(x(""),!0)},f=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});return(0,i.jsxs)("div",{className:"pb-4 mb-m",children:[(0,i.jsx)("label",{htmlFor:"date-".concat(r.entityId),children:(0,i.jsxs)(l.A,{variant:"bodyMediumBold",children:[r.displayName,r.isRequired&&" *"]})}),(0,i.jsx)(d.A,{type:"date",id:"date-".concat(r.entityId),name:c,value:m,onChange:e=>{p(e),v(e)&&o(t=>({...t,[c]:e}))},onBlur:()=>
1{v(m)},required:r.isRequired,min:null!=(t=r.earliest)?t:void 0,max:null!=(a=r.latest)?a:void 0,placeholder:r.defaultDate||"Select a date",className:"w-full max-w-xs"}),h&&(0,i.jsx)(l.A,{variant:"bodySmall",className:"text-red-600 mt-xs",children:h}),(null!==r.earliest||null!==r.latest)&&(0,i.jsx)(l.A,{variant:"bodySmall",className:"text-gray-600 mt-xs",children:r.earliest&&r.latest?"Range: ".concat(f(r.earliest)," - ").concat(f(r.latest)):r.earliest?"From: ".concat(f(r.earliest)):"Until: ".concat(f(r.latest))})]})},h=e=>{let{option:t,selectedOptions:a,setSelectedOptions:s}=e;return(0,i.jsxs)("div",{className:"pb-4 mb-m",children:[(0,i.jsx)("h2",{className:"uppercase font-medium text-sm tracking-wide mb-m",children:(0,i.jsx)(l.A,{variant:"bodyMediumBold",children:t.displayName})}),(0,i.jsx)("div",{role:"listbox",className:"flex flex-row flex-wrap",children:t.values.map((e,l)=>{let n=a[t.displayName.toLowerCase()];return(0,i.jsx)(r.A,{active:e.label.toLowerCase()===n,variant:t.displayName,color:e.hexColors?e.hexColors[0]:"",label:e.label,onClick:()=>{s(a=>({...a,[t.displayName.toLowerCase()]:e.label.toLowerCase()}))}},"".concat(t.id,"-").concat(l))})})]},t.displayName)};var x=a(98457),v=a(69591),f=a(35483),b=a(21497),y=a(43286),g=a(39595),j=a.n(g);let A=s.memo(e=>{let{option:t,selectedOptions:a,setSelectedOptions:r}=e,n=t.displayName.toLowerCase().replaceAll(" ","_"),o=a[n],d=void 0!==o?o===t.checkedOptionValueEntityId.toString():t.checkedByDefault,c=(0,s.useRef)(null),[u,m]=(0,s.useState)(!1),[p,{height:h}]=(0,y.A)(),g=(0,b.zh)({height:u?h:0,config:{tension:250,friction:32,clamp:!0,duration:150},opacity:+!!u}),A=()=>{var e;m(!1),window.scrollTo({top:(null==c||null==(e=c.current)?void 0:e.offsetTop)||0,behavior:"smooth"})};return(0,i.jsxs)("div",{className:"mb-xl",ref:c,children:[(0,i.jsxs)("div",{className:j().root,role:"button",tabIndex:0,"aria-expanded":u,children:[(0,i.jsxs)("div",{className:j().header,onClick:()=>m(e=>!e),children:[(0,i.jsx)(l.A,{variant:"bodyMedium",children:"Automatic Knife Acknowledgement"}),(0,i.jsx)(f.A,{className:(0,x.A)(j().icon,{[j().open]:u})})]}),(0,i.jsx)(b.a.div,{style:{overflow:"hidden",...g},children:(0,i.jsxs)("div",{ref:p,className:j().content,children:[(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"In compliance with federal statutes, Columbia River Knife & Tool (CRKT) requests that you read carefully the requirements set forth below, and agree to this acknowledgement prior to your purchase or receipt of any automatic knife from our company."})}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"By checking the acknowledgment box you are indicating that you truthfully agree to your status as one or more of the exemptions listed below."})}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"Federal law prohibits shipment of automatic knives across state lines, with the following exceptions:"})}),(0,i.jsxs)("ol",{className:"list-decimal pl-sm ml-sm mb-sm",children:[(0,i.jsx)("li",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"To civilian or Armed Forces supply or procurement officers and employees of the Federal Government ordering, procuring, or purchasing such knives in connection with the activities of the Federal Government;"})}),(0,i.jsx)("li",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"An active Armed Forces member or employee acting in the performance of his or her duty;"})}),(0,i.jsx)("li",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"To supply or procurement officers of the National Guard, the Air National Guard, or militia of a state, territory or the District of Columbia ordering, procuring, or purchasing such knives in the connection with the activities of such organization;"})}),(0,i.jsx)("li",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"To supply or procurement officers or employees of the municipal government of the District of Columbia or the government of any State or Territory, or any county, city or other political subdivision of a State or Territory;"})}),(0,i.jsx)("li",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"To manufacturers of such knives or bona fide dealers therein
1in connection with any shipment made pursuant of an order from any person designated in paragraphs 1, 2, 3, and 4."})})]}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"It is your sole responsibility as the purchaser to ascertain and obey all applicable local, state, and federal laws with regard to the possession and use of automatic knives."})}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"By placing an order, the purchaser represents that the products ordered will be used in a lawful manner and that he/she is of legal age."})}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"CRKT will not be held liable for the misuse or misrepresentation of purchaser."})}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"CRKT will not ship automatic knives to the following states - CA, CT, MN, NJ, NM, or WA, and the District of Columbia, with the exception of the A1005 Minnow Automatic knife which can ship to California."})}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"CRKT will not ship automatic knives to PO/APO addresses."})}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"ACKNOWLEDGMENT CONFIRMATION"})}),(0,i.jsx)("p",{className:"mb-sm",children:(0,i.jsx)(l.A,{variant:"bodySmall",children:"I HAVE READ AND ACCEPT THE TERMS OF THIS AGREEMENT"})}),(0,i.jsx)(v.A,{variant:"small",onClick:()=>{r(e=>({...e,[n]:t.checkedOptionValueEntityId.toString()})),A()},children:"Accept Terms"}),(0,i.jsx)(v.A,{variant:"smallSecondary",className:"ml-sm",onClick:()=>{r(e=>({...e,[n]:t.uncheckedOptionValueEntityId.toString()})),A()},children:"Decline"})]})})]}),(0,i.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer",children:[(0,i.jsx)("input",{type:"checkbox",id:"checkbox-".concat(t.entityId),name:n,checked:d,onClick:e=>{d||(e.preventDefault(),m(!0))},onChange:()=>{},required:t.isRequired,className:"mt-1"}),(0,i.jsxs)(l.A,{variant:"bodySmall",children:["I have read the agreement for automatic knives and I am qualified to own an automatic knife.",t.isRequired&&" *"]})]}),t.error&&(0,i.jsx)("p",{className:"bg-poppy p-xs text-white",children:t.error})]})}),w=(0,s.memo)(e=>{let{options:t,selectedOptions:a,setSelectedOptions:s}=e;return(0,i.jsx)("div",{children:t.map(e=>
1{let t="entityId"in e?e.entityId:e.displayName;if("Automatic Knife Restriction"===e.displayName)return(0,i.jsx)(A,{option:e,selectedOptions:a,setSelectedOptions:s},t);if("__typename"in e&&e.__typename)switch(e.__typename){case"MultipleChoiceOption":return(0,i.jsx)(n,{option:e,selectedOptions:a,setSelectedOptions:s},t);case"CheckboxOption":return(0,i.jsx)(o,{option:e,selectedOptions:a,setSelectedOptions:s},t);case"NumberFieldOption":return(0,i.jsx)(c,{option:e,selectedOptions:a,setSelectedOptions:s},t);case"TextFieldOption":return(0,i.jsx)(u,{option:e,selectedOptions:a,setSelectedOptions:s},t);case"MultiLineTextFieldOption":return(0,i.jsx)(m,{option:e,selectedOptions:a,setSelectedOptions:s},t);case"DateFieldOption":return(0,i.jsx)(p,{option:e,selectedOptions:a,setSelectedOptions:s},t);default:return console.warn("Unknown option type: ".concat(e.__typename)),(0,i.jsx)(n,{option:e,selectedOptions:a,setSelectedOptions:s},t)}return(0,i.jsx)(h,{option:e,selectedOptions:a,setSelectedOptions:s},t)})})})},11688:(e,t,a)=>{"use strict";a.d(t,{o:()=>r});var i=a(75834),s=a(14220);let r=()=>{let[e,t]=(0,i.useState)(null);return(0,i.useEffect)(()=>{if(e){let t=function(e){let{product:t,quantity:a}=e;return{currency:"USD",value:t.price.value,items:[{item_id:t.sku||"",item_name:t.name,price:t.price.value,quantity:a}]}}(e);(0,s.XM)(t);let a=function(e){var t,a,i,s,r;let{product:l,defaultImage:n,canonicalUrl:o}=e;return{ProductName:"".concat(null==(t=l.productIdentifiers)?void 0:t.websiteName," ").concat(null==(a=l.productIdentifiers)?void 0:a.subname),ProductID:l.id,SKU:l.sku||"",Categories:[],ImageURL:(null==n?void 0:n.url)||"",URL:o,Brand:"CRKT",Price:null==(i=l.price)?void 0:i.value,CompareAtPrice:(null==(r=l.prices)||null==(s=r.retailPrice)?void 0:s.value)||null}}(e);(0,s.zc)(a);let i=function(e){var t,a;let{product:i,quantity:s}=e;return{content_ids:[i.sku||""],content_type:"product",currency:"USD",value:(null==(t=i.price)?void 0:t.value)||0,content_name:i.name,contents:[{id:i.sku||"",quantity:s,item_price:(null==(a=i.price)?void 0:a.value)||0}]}}(e);(0,s.xP)(i)}},[e]),{setProductData:t}}},14186:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var i=a(26514),s=a(98457),r=a(75834),l=a(59993),n=a.n(l),o=a(56166),d=a(69591);function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let a=t[0];3===t[0].length&&(a=a.split("").map(e=>e+e).join(""));let i=parseInt(a,16);return[i>>16&255,i>>8&255,255&i]}a(75171);let u={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",burgandy:"#800020",burgundy:"#800020",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA5
15D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",spacegrey:"#65737e",spacegray:"#65737e",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"},m=r.memo(e=>{let{active:t,className:a,color:r="",label:l=null,variant:m="size",secondary:p=!1,...h}=e;m=null==m?void 0:m.toLowerCase(),l&&(l=null==l?void 0:l.toLowerCase());let x=(0,s.A)(a,n().swatch,{[n().color]:r,[n().active]:t,[n().size]:"size"===m,[n().dark]:!!r&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=u[e=e.toLowerCase()]?c(u[e]):c(e);return(299*t[0]+587*t[1]+114*t[2])/1e3<128}(r),[n().textLabel]:!r&&l&&l.length>3,[n().secondary]:p});return(0,i.jsxs)(d.A,{role:"option","aria-selected":t,"aria-label":m&&l?"".concat(m," ").concat(l):"Variant Swatch",className:x,...l&&r&&{title:l},style:r?{backgroundColor:r}:{},...h,children:[r&&t&&(0,i.jsx)("span",{children:(0,i.jsx)(o.A,{})}),r?null:l]})})},14220:(e,t,a)=>{"use strict";async function i(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"add_to_cart",addToCartData:{...e}})}async function s(e){window.klaviyo&&window.klaviyo.push(["track","Added to Cart",{...e}])}async function r(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"view_item",viewItemData:{...e}})}async function l(e){window.klaviyo&&window.klaviyo.push(["track","Viewed Product",{...e}])}async function n(e){window.fbq&&window.fbq("track","AddToCart",{...e})}async function o(e){window.fbq&&window.fbq("track","ViewContent",{...e})}a.d(t,{B_:()=>n,I7:()=>s,RV:()=>i,XM:()=>r,xP:()=>o,zc:()=>l})},17855:e=>{e.exports={container:"StickyAddToCart_container__SlYZH",inner:"StickyAddToCart_inner__sMsFX",productName:"StickyAddToCart_productName__9eBCb",family:"StickyAddToCart_family__6ENdt",subname:"StickyAddToCart_subname__3d9YS",button:"StickyAddToCart_button__KJAmt"}},25967:(e,t,a)=>{"use strict";a.d(t,{A:()=>ei});var i=a(26514),s=a(75834),r=a(98457),l=a(48174),n=a(33443),o=a.n(n),d=a(69591),c=a(54841),u=a(82760),m=a(58245),p=a.n(m),h=a(32150),x=a(51005),v=a(19842);let f=e=>{let{opts:t,selectedProductIndex:a,selectedDescr:l,inverseRotation:n=!1,type:m,updateProduct:f,itemsToShowSm:b=3,itemsToShowMd:y=3,itemsToShowLg:g=4}=e,[j,A]=(0,s.useState)(0);return t.opts.length,(0,i.jsxs)("div",{className:o().root,children:[(0,i.jsx)("div",{role:"listbox","aria-labelledby":"".concat(t.label,"-label"),className:o().listbox,children:(0,i.jsx)("div",{className:o().carouselWrapper,children:(0,i.jsx)(h.A,{activeSlideIndex:j,onRequestChange:A,infinite:!1,itemsToShow:g,itemsToScroll:1,forwardBtnProps:{children:(0,i.jsx)(x.A,{}),style:{display:"block"}},backwardBtnProps:{children:(0,i.jsx)(v.A,{}),style:{display:"block"}},responsiveProps:[{maxWidth:600,itemsToShow:b,itemsToScroll:1},{minWidth:601,maxWidth:767,itemsToShow:g,itemsToScroll:1},{minWidth:768,maxWidth:1023,itemsToShow:y,itemsToScroll:1},{minWidth:1024,itemsToShow:g,itemsToScroll:1}],containerProps:{style:{width:"100%",maxWidth:"100%",justifyContent:"flex-start"}},children:t.opts.map((e,t)=>(0,i.jsxs)(d.A,{role:"option","aria-selected":t===a,"aria-label":e.label,className:(0,r.A)(o().button,{[o().active]:t===a}),onClick:()=>f(t),children:[(0,i.jsx)(p(),{loader:u.G,src:e.image.url,alt:e.label,width:1300,height:1300,sizes:"(max-width: 768px) 33vw, 17vw",className:(0,r.A)({[o().inverseRotation]:n,[o().image]:"Gear"!==m}),style:{objectFit:"contain"}}),(0,i.jsx)("span",{className:o().clickCapture}),(0,i.jsx)(c.A,{variant:"srOnly",children:e.label})]},"".concat(e.label.toLowerCase,"-").concat(t)))})})}),(0,i.jsxs)("p",{id:"".concat(t.label,"-label"),children:[(0,i.jsxs)(c.A,{variant:"bodySmall",children:[t.label,":\xa0"]}),(0,i.jsx)(c.A,{variant:"bodySmall",children:l})]})]})};var b=a(14186);let y=e=>{let{opts:t,selectedProductIndex:a,updateProduct:s}=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)("h2",{children:(0,i.jsx)(c.A,{variant:"bodyMediumBold",children:"Size:"})}),(0,i.jsx)("div",{role:"listbox",className:"flex flex-row flex-wrap",children:t.opts.map((e,t)=>(0,i.jsx)(b.A,{active:t===a,label:e.label,onClick:()=>s(t)},"".concat(e,"-").concat(t)))})]})};var g=a(10065),j=a(53540),A=a(88046),w=a(89564),N=a(44040),C=a(33846),S=a(95884),F=a(67710),_=a(48148),I=a(85361),k=a(68345),P=
1a(61542),E=a.n(P),L=a(28857),O=a(62300),D=a(14001),T=a(78868),B=a(53338),R=a(88468),M=a(11688),q=a(51239),z=a(96839),U=a(30324),V=a(34573),H=a(31729),G=a(49805),K=a(90960),W=a(56138);let Q=()=>{var e,t,a,n,o,u,m,p,h,x,v,b,P,Q,J,X,$,Z,ee,et;let{page:ea,activeProduct:ei,setActiveProduct:es}=(0,K.Bj)(),er=ea.products.indexOf(ei),el=ea.compositeOptions.options.product.opts.length,[en,eo]=(0,s.useState)(!1),[ed,ec]=(0,s.useState)(1),[eu,em]=(0,s.useState)({}),[ep,eh]=(0,s.useState)(ea.compositeOptions.secondaryOptsValues[er]),[ex,ev]=(0,s.useState)(er),[ef,eb]=(0,s.useState)(ei.options),[ey,eg]=(0,s.useState)(ei.initAvailability),[ej,eA]=(0,s.useState)(ei.id),{setAddToCartData:ew}=(0,B.w)(),{setProductData:eN}=(0,M.o)(),{setAlgoliaProducts:eC}=(0,R.V)(),{triggerAlert:eS}=(0,V.mL)(),{updateCartCount:eF}=(0,W._)(),{addOnProducts:e_,selectedAddOnProducts:eI,setSelectedAddOnProducts:ek,initializeAddOnProducts:eP,createCartAddOnItems:eE}=(0,H.Q)(),{isValid:eL,validationErrors:eO,getCartLineItemData:eD}=(0,G.X)(ef,eu),eT=(0,k.Ay)({amount:null==(e=ei.price)?void 0:e.value,baseAmount:null==(a=ei.prices)||null==(t=a.retailPrice)?void 0:t.value,currencyCode:null==(n=ei.price)?void 0:n.currencyCode}),eB=async()=>{if(eo(!0),!eL){eo(!1),eS({message:eO[0]||"Please select all required options",status:"Error"});return}let e=(0,U.v4)(ei,eu),t=eE(ed),a={lineItems:[eD(ei,e,ed),...t]};try{var i,s;let t=await fetch("/api/cart/add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:a})}),r=await t.json();if(!r.success)throw Error(r.error||"Failed to add to cart");ew({product:ei,variant:e,quantity:ed,addOns:eI,defaultImage:ei.defaultImage,canonicalUrl:ea.canonical}),r.lineItems&&eC(r.lineItems.map(e=>({id:e.productId,price:e.variant.price,discount:e.variant.listPrice-e.variant.price,quantity:e.quantity}))),eF(),eo(!1),eS({message:"".concat(null==(i=ei.productIdentifiers)?void 0:i.websiteName," ").concat(null==(s=ei.productIdentifiers)?void 0:s.subname," added to Cart"),status:"Success"})}catch(e){console.error(e),eo(!1),eS({message:"Failed to add to cart",status:"Error"})}},eR=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=Number(ed)+e,a=ei.minPurchaseQuantity||1,i=ei.maxPurchaseQuantity||50;!(t<a)&&(t>i||ec(t))},eM=(0,r.A)({[E().salePrice]:ei.onSale}),eq=e=>{ek([...eI,e])},ez=e=>{ek(eI.filter(t=>t.productId!==e))},eU=e=>{es(ea.products[e]),eh(ea.compositeOptions.secondaryOptsValues[e]),ev(e)};return(0,s.useEffect)(()=>{ev(ea.products.indexOf(ei)),eh(ea.compositeOptions.secondaryOptsValues[ea.products.indexOf(ei)])},[ei]),(0,s.useEffect)(()=>{let e=(0,U.v4)(ei,eu);eN({product:ei,variant:e,quantity:ed,defaultImage:ei.defaultImage,canonicalUrl:ea.canonical})},[ei]),(0,s.useEffect)(()=>{Y([Number(ei.id)]).then(e=>{eg((0,T.A)({realTimeAvailable:!e.data.includes(Number(ei.id)),availability:ei.availability,isInStock:ei.isInStock,display:"pdp",flags:ei.flags}))}).catch(e=>{console.error(e)})},[ei]),(0,s.useEffect)(()=>{ei.addOns&&ei.sku&&eP(ei.addOns,ei.sku)},[ei]),(0,s.useEffect)(()=>{ei.id!==ej?((0,U.MI)(ei,em),eb(ei.options),eA(ei.id)):eb(ei.options)},[ei,ej]),(0,s.useEffect)(()=>{let e,t=!0,a=function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(t)try{if(window.AwesomeSezzle&&"function"==typeof window.AwesomeSezzle)new window.AwesomeSezzle({amount:"".concat(ei.price.value.toFixed(2)),widgetTemplate:"4 easy payments of $%%price%% with %%logo%% %%info%%"}).init();else if(i<3){let t=Math.min(500*Math.pow(2,i),2e3);e=setTimeout(()=>{a(i+1)},t)}else console.warn("Sezzle failed to load after 3 attempts")}catch(e){console.error("Error initializing Sezzle:",e)}};return e=setTimeout(()=>{a()},100),()=>{t=!1,e&&clearTimeout(e)}},[ei.price.value]),(0,i.jsxs)(L.A,{children:[(0,i.jsxs)("div",{className:"pt-l md:grid md:grid-cols-2 md:gap-12",children:[(0,i.jsx)(l.A,{}),(0,i.jsxs)("div",{children:[(0,i.jsxs)(c.A,{className:"!mb-0",variant:"h1",children:[(null==(o=ei.productIdentifiers)?void 0:o.websiteName.length)&&(0,i.jsx)(c.A,{variant:"h3Sans",className:E().family,html:(0,z.A)(ei.productIdentifiers.websiteName,"productHeading")}),(null==(u=ei.productIdentifiers)?void 0:u.subname.length)?(0,i.jsx)(c.A,{variant:"h3S
1ans",className:E().subname,html:(0,z.A)(ei.productIdentifiers.subname,"productHeading")}):null,(0,i.jsxs)("div",{className:"flex",children:[(null==(m=ei.productIdentifiers)?void 0:m.seoSuffix)&&(null==(p=ei.productIdentifiers)?void 0:p.seoSuffix)!==""&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.A,{variant:"bodySerifMedium",className:E().seoSuffix,html:(0,z.A)(ei.productIdentifiers.seoSuffix,"productHeading")}),(0,i.jsx)(c.A,{variant:"bodyMedium",className:E().seoSuffix,children:"\xa0|\xa0"})]}),ei.sku&&(0,i.jsxs)(c.A,{variant:"bodySerifMedium",className:E().seoSuffix,children:["SKU: ",ei.sku]})]})]}),(null==(h=ei.reviewSummary)?void 0:h.summationOfRatings)?(0,i.jsxs)("div",{className:"py-sm min-h-[58px] flex gap-2",children:[(0,i.jsx)(O.A,{value:null==(x=ei.reviewSummary)?void 0:x.summationOfRatings}),0!==ei.reviewSummary.numberOfReviews&&(0,i.jsxs)("a",{href:"#yotpoMainWidget",className:"text-dark-teal underline",children:[ei.reviewSummary.numberOfReviews," Reviews"]})]}):(0,i.jsxs)("div",{className:"py-sm min-h-[58px] flex gap-2",children:[(0,i.jsx)(O.A,{value:0}),(0,i.jsx)("a",{href:"#yotpoMainWidget",className:"text-dark-teal underline",children:"Write A Review"})]}),(0,i.jsx)("div",{className:"mb-sm",children:(0,i.jsxs)("p",{className:E().price,children:["basePrice"in eT&&(ei.onSale||ei.customerGroup)&&(0,i.jsx)(c.A,{className:E().retailPrice,variant:"subheadFour",children:"".concat(eT.basePrice)}),(0,i.jsx)(c.A,{className:eM,variant:"subheadFour",children:"".concat(eT.price)}),ei.customerGroup&&(0,i.jsx)(c.A,{className:E().customerGroup,variant:"subheadFour",children:"".concat(ei.customerGroup," Pricing")})]})}),el>1&&(0,i.jsx)("h2",{className:"mb-0",children:(0,i.jsx)(c.A,{variant:"bodyMediumBold",children:"OPTIONS (".concat(el,"):")})}),ea.compositeOptions&&"Gear"!==ea.type&&(0,i.jsx)(f,{opts:ea.compositeOptions.options.product,selectedProductIndex:ex,selectedDescr:(null==(v=ei.productIdentifiers)?void 0:v.variantDesc)||"",inverseRotation:null==(b=ei.productIdentifiers)?void 0:b.websiteName.includes("Provoke"),type:ea.type,updateProduct:eU}),ea.compositeOptions&&"Gear"===ea.type&&(0,i.jsx)(y,{opts:ea.compositeOptions.options.product,selectedProductIndex:ex,updateProduct:eU}),(0,i.jsx)(g.A,{options:ef,selectedOptions:eu,setSelectedOptions:em}),ei.addOns&&ei.addOns.length>0&&(0,i.jsx)("div",{className:"mb-m",children:e_.map(e=>(0,i.jsx)(j.A,{product:e,parentSku:ei.sku,addAddOn:eq,removeAddOn:ez},"".concat(e.entityId).concat(ei.id)))}),(0,i.jsxs)("div",{id:"pdp-add-to-cart",className:"flex gap-3 items-end mb-sm",children:[(0,i.jsx)(D.A,{value:ed,handleChange:e=>{let{target:{value:t}}=e;ec(Number(t))},min:ei.minPurchaseQuantity||1,max:ei.maxPurchaseQuantity||50,increase:()=>eR(1),decrease:()=>eR(-1)}),(0,i.jsx)(d.A,{variant:"primary","aria-label":"Add to Cart",className:"max-h-[50px] w-[60%]",type:"button",onClick:eB,loading:en,disabled:!ey.available,children:ey.label})]}),ei.disclaimer&&(0,i.jsx)("p",{className:"font-serif text-sm p-xs bg-buttercup w-fit",children:ei.disclaimer}),(0,i.jsx)("div",{className:E().thirdPartyPaymentContainer,children:(0,i.jsx)("div",{id:"sezzle-widget"})}),ey.notify&&!ei.disableStockNotification&&(0,i.jsx)(A.A,{variantId:ei.variants[0].id})]})]}),(0,i.jsx)(w.A,{madeInUSA:ei.madeInUSA}),(0,i.jsx)(N.A,{}),ea.video&&(0,i.jsx)(I.A,{card:ea.video}),ei.specs&&(0,i.jsx)(C.A,{specs:ei.specs}),(0,i.jsxs)("div",{className:"md:grid md:grid-cols-2 md:divide-x md:divide-mid-gray [&>*]:md:pl-l [&>*:first-child]:md:pl-0 [&>*:first-child]:md:pr-l",children:[(0,i.jsx)(S.A,{}),(0,i.jsx)(F.A,{})]}),(0,i.jsx)(_.A,{}),(0,i.jsx)(q.A,{title:"".concat(null==(P=ei.productIdentifiers)?void 0:P.websiteName," ").concat(null==(Q=ei.productIdentifiers)?void 0:Q.subname),description:(null==(J=ei.seo)?void 0:J.metaDescription)||"",openGraph:{type:"product",title:"".concat(null==(X=ei.productIdentifiers)?void 0:X.websiteName," ").concat(null==($=ei.productIdentifiers)?void 0:$.subname),description:(null==(Z=ei.seo)?void 0:Z.metaDescription)||"",images:[{url:"".concat(null==(ee=ei.defaultImage)?void 0:ee.url),width:"262",height:"513",alt:"".concat(null==(et=ei.defaultImage)?void 0:et.alt)}]},canonical:ea.canonical})]})};async function Y(e){return fetch("/api/catalog/validate-product-availability",{method:"POST",body:JSON.stringify(e)}).then(e=>e.json()).catch(e=>console.error(e))}
1var J=a(98448),X=a(57742),$=a(33917),Z=a(47966),ee=a(57594),et=a(46225),ea=a(43449);let ei=e=>{let{regions:t}=e,{page:a,activeProduct:r,setActiveProduct:l}=(0,K.Bj)(),{setProductData:n}=(0,M.o)(),{asPath:o,push:d}=(0,et.useRouter)(),[c,u]=(0,s.useState)(!1),m=o.split("?"),p=m[1]?new URLSearchParams(m[1]):null,h=null==p?void 0:p.get("sku"),x=h?a.products.find(e=>e.sku===h):null;return(0,s.useEffect)(()=>{x&&x!==r?l(x):a.product&&a.product!==r&&l(a.product),h&&!x&&d("/".concat(a.type.toLowerCase(),"/discontinued"))},[a,h]),(0,s.useEffect)(()=>{x&&x===r&&(u(!0),n({product:r,variant:r.variants[0],quantity:1,defaultImage:r.defaultImage,canonicalUrl:a.canonicalUrl})),x||(u(!0),n({product:r,variant:r.variants[0],quantity:1,defaultImage:r.defaultImage,canonicalUrl:a.canonicalUrl})),c&&n({product:r,variant:r.variants[0],quantity:1,defaultImage:r.defaultImage,canonicalUrl:a.canonicalUrl})},[r]),(0,i.jsxs)(i.Fragment,{children:[t.belowHeader.length?t.belowHeader.map((e,t)=>(0,i.jsx)(X.A,{region:e},t)):null,(0,i.jsx)(Q,{}),a.sections.length?(0,i.jsx)("div",{className:"relative z-10",children:a.sections.map((e,t)=>(0,i.jsx)($.A,{section:e,container:"section"},t))}):null,(0,i.jsxs)(ea.A,{className:"relative z-10",children:[(0,i.jsx)("h2",{className:"sr-only",children:"Customer Reviews"}),(0,i.jsx)(J.A,{product:r})]}),t.aboveFooter.length?t.aboveFooter.map((e,t)=>{X.A}):null,(0,i.jsx)(Z.A,{}),(0,i.jsx)(ee.A,{})]})}},30324:(e,t,a)=>{"use strict";function i(e,t){return e.variants.find(e=>Object.entries(t).every(t=>{let[a,i]=t;return e.options.find(e=>{if("MultipleChoiceOption"===e.__typename&&e.displayName.toLowerCase()===a.toLowerCase())return e.values.find(e=>e.label.toLowerCase()===i)})}))}function s(e,t){var a,i;null==(i=e.variants[0])||null==(a=i.options)||a.forEach(e=>{t(t=>({...t,[e.displayName.toLowerCase()]:e.values[0].label.toLowerCase()}))})}function r(e,t){let a=[];return e.forEach(e=>{if(e.isRequired){let i=t[e.displayName.toLowerCase().replaceAll(" ","_")];i&&""!==i.trim()||a.push("".concat(e.displayName," is required"))}}),{isValid:0===a.length,errors:a}}function l(e,t){let a={};return e.forEach(e=>{let i=t[e.displayName.toLowerCase().replaceAll(" ","_")];if(i)switch(e.__typename){case"CheckboxOption":{let t=i===e.checkedOptionValueEntityId.toString()?e.checkedOptionValueEntityId:e.uncheckedOptionValueEntityId;a.checkboxes||(a.checkboxes=[]),a.checkboxes.push({optionEntityId:e.entityId,optionValueEntityId:t});break}case"MultipleChoiceOption":{let t=e.values.find(e=>e.label.toLowerCase()===i.toLowerCase());t&&(a.multipleChoices||(a.multipleChoices=[]),a.multipleChoices.push({optionEntityId:e.entityId,optionValueEntityId:t.entityId}));break}case"NumberFieldOption":{let t=parseFloat(i);isNaN(t)||(a.numberFields||(a.numberFields=[]),a.numberFields.push({optionEntityId:e.entityId,number:t}));break}case"TextFieldOption":a.textFields||(a.textFields=[]),a.textFields.push({optionEntityId:e.entityId,text:i});break;case"MultiLineTextFieldOption":a.multiLineTextFields||(a.multiLineTextFields=[]),a.multiLineTextFields.push({optionEntityId:e.entityId,text:i});break;case"DateFieldOption":a.dateFields||(a.dateFields=[]),a.dateFields.push({optionEntityId:e.entityId,date:i})}}),Object.keys(a).length>0?a:void 0}a.d(t,{MI:()=>s,U7:()=>l,UV:()=>r,v4:()=>i})},31729:(e,t,a)=>{"use strict";a.d(t,{Q:()=>s});var i=a(75834);let s=()=>{let[e,t]=(0,i.useState)(""),[a,s]=(0,i.useState)([]),[r,l]=(0,i.useState)([]),{setAddOnData:n}=(()=>{let[e,t]=(0,i.useState)(null);return(0,i.useEffect)(()=>{if(e){let t={event:"add_on_carted",...e};window.dataLayer=window.dataLayer||[],window.dataLayer.push(t)}},[e]),{setAddOnData:t}})();return(0,i.useEffect)(()=>
1{l(a.filter(e=>e.isFree&&!e.isPromotion).map(t=>{var a;return{sku:t.sku,productId:"".concat(t.entityId),quantity:1,listPrice:(null==(a=t.price)?void 0:a.toFixed(2))||0,name:"Add on: Free ".concat(t.name," with purchase of SKU ").concat(e),analyticsName:t.analyticsName,analyticsType:t.analyticsType}}))},[a,e]),{addOnProducts:a,selectedAddOnProducts:r,setSelectedAddOnProducts:l,initializeAddOnProducts:(e,a)=>{let i=function(e,t){return e?e.filter(e=>e.associatedSkus?t?e.associatedSkus.split(",").includes(t):void 0:e):[]}(e,a);t(a),s(i)},createCartAddOnItems:e=>r.length?(r.forEach(e=>{e.analyticsName&&e.analyticsType&&n({add_on_purchase_type:e.analyticsType,product:e.analyticsName})}),r.map(t=>({productEntityId:Number(t.productId),quantity:e}))):[]}}},33443:e=>{e.exports={root:"CompositeSwatches_root__9LRXT",listbox:"CompositeSwatches_listbox__b4Jeq",button:"CompositeSwatches_button__DQOl9",active:"CompositeSwatches_active___LMyz",image:"CompositeSwatches_image__ghnbS",inverseRotation:"CompositeSwatches_inverseRotation__FpSmB",clickCapture:"CompositeSwatches_clickCapture__D662_",carouselWrapper:"CompositeSwatches_carouselWrapper__zmY_A",navBackward:"CompositeSwatches_navBackward__hv0nS",navForward:"CompositeSwatches_navForward__v1AuW",navHidden:"CompositeSwatches_navHidden__xY9Uw"}},33846:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var i=a(26514),s=a(54841);let r=e=>{let{group:t}=e;return(0,i.jsxs)("div",{className:"py-m",children:[(0,i.jsx)("h3",{children:(0,i.jsx)(s.A,{className:"text-mustard uppercase",variant:"bodyMediumBold",children:t.name})}),(0,i.jsx)("ul",{children:t.specs.map((e,t)=>(0,i.jsxs)("li",{children:[(0,i.jsxs)(s.A,{variant:"bodyMediumBold",children:[e.name,": "]}),(0,i.jsx)(s.A,{variant:"bodyMedium",children:e.value})]},t))})]})};var l=a(59489);let n=e=>{let{specs:t}=e,a=t.filter(e=>e.specs.length);return(0,i.jsx)("div",{className:"border-b-[1px] border-b-light-gray mb-l pb-sm",children:(0,i.jsx)(l.A,{title:"Specifications",variant:"borderless",element:"div",isExpanded:!0,children:(0,i.jsx)("div",{className:"md:flex md:justify-between md:gap-12",children:a.map((e,t)=>(0,i.jsx)(r,{group:e},t))})})})}},39595:e=>{e.exports={root:"AutomaticKnifeRestriction_root__JyPbW",header:"AutomaticKnifeRestriction_header__FXOeg",content:"AutomaticKnifeRestriction_content__HhajH",icon:"AutomaticKnifeRestriction_icon__a9XAV",open:"AutomaticKnifeRestriction_open__oZ8qP"}},40491:e=>{e.exports={container:"Description_container__RxgIq",collapsed:"Description_collapsed__aYtjt",bullets:"Description_bullets__DkBZM",bullet:"Description_bullet__4AwkH",expand:"Description_expand__8UHV5"}},40617:e=>{e.exports={family:"ProductHeader_family__j3xDD",subname:"ProductHeader_subname__eNTJi",seoSuffix:"ProductHeader_seoSuffix__8YQ8F",retailPrice:"ProductHeader_retailPrice__kDp1w",salePrice:"ProductHeader_salePrice__twTh7",thirdPartyPaymentContainer:"ProductHeader_thirdPartyPaymentContainer__cAuBy"}},44040:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var i=a(26514),s=a(54841),r=a(40491),l=a.n(r),n=a(90960);let o=()=>{var e;let{activeProduct:t}=(0,n.Bj)(),a=null==(e=t.bulletPoints)?void 0:e.map(e=>e.split(":")),r=t.description||"",o=r.match(/^\s*<b>([\s\S]*?)<\/b>/i),d=o?o[1]:null,c=o?r.slice(o[0].length).trimStart():r;return(0,i.jsx)("div",{className:"relative",children:(0,i.jsxs)("div",{className:l().container,children:[d&&(0,i.jsx)(s.A,{variant:"subheadTwo",html:d}),(0,i.jsx)(s.A,{variant:"div",className:"break-words w-full max-w-xl mb-m",html:c}),a?(0,i.jsx)("ul",{className:l().bullets,children:a.map((e,t)=>(0,i.jsxs)("li",{className:l().bullet,children:[e[0]&&e.length>1?(0,i.jsxs)(s.A,{variant:"bodySmallBold",children:[e[0],":\xa0"]}):(0,i.jsx)(s.A,{variant:"bodySmall",children:e[0]}),e[1]&&(0,i.jsx)(s.A,{variant:"bodySmall",children:e[1]})]},t))}):null]})})}},47966:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var i=a(26514);let s=()=>{let e={__html:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"Store",name:"Columbia River Knife and Tool",url:"https://crkt.com/",telephone:"503-685-5015",contactPoint:{"@type":"ContactPoint",telephone:"503-685-5015",availableLanguage:"English",contactType:"Customer Service",areaServed:{"@type":"Country",name:"US"},productSupported:"Columbia River Knife and Tool - Knives, Axes, and Accessories"},logo:{"@type":"ImageObject",representativeOfPage:"True",url:"",width:"",height:""}},{"@type":"WebSite",name:"CRKT - Knives, Axes, and Accessories",url:"https://crkt.com/",potentialAction:{"@type":"SearchAction",query:"","query-input":"required name=search_term",target:{"@type":"EntryPoint",urlTemplate:""}}}]},null,0)};return(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:e})}},48148:(e,t,a)=>{"use strict";a.d(t,{A:()=>v});var i=a(26514),s=a(75834),r=a(54841),l=a(69591),n=a(31965),o=a(90960),d=a(49805),c=a(34573),u=a(56138),m=a(53338),p=a(30324),h=a(17855),x=a.n(h);let v=()=>{var e,t;let{page:a,activeProduct:h}
1=(0,o.Bj)(),[v,f]=(0,s.useState)(!1),[b,y]=(0,s.useState)(!1),[g,j]=(0,s.useState)({}),{triggerAlert:A}=(0,c.mL)(),{updateCartCount:w}=(0,u._)(),{setAddToCartData:N}=(0,m.w)(),{isValid:C,validationErrors:S,getCartLineItemData:F}=(0,d.X)(h.options,g);(0,s.useEffect)(()=>{(0,p.MI)(h,j)},[h]),(0,s.useEffect)(()=>{let e=document.getElementById("pdp-add-to-cart");if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting?f(!1):f(t.boundingClientRect.bottom<0)},{threshold:0,rootMargin:"0px"});return t.observe(e),()=>t.disconnect()},[]);let _=async()=>{if(y(!0),!C){y(!1),A({message:S[0]||"Please select all required options",status:"Error"});return}let e=(0,p.v4)(h,g),t=F(h,e,1);try{var i,s;let r=await fetch("/api/cart/add",{method:"POST",body:JSON.stringify({data:{lineItems:[t]}}),headers:{"Content-Type":"application/json"}}),l=await r.json();if(!l.success)throw Error(l.error||"Failed to add to cart");N({product:h,variant:e,quantity:1,addOns:[],defaultImage:h.defaultImage,canonicalUrl:a.canonical}),w(),y(!1),A({message:"".concat(null==(i=h.productIdentifiers)?void 0:i.websiteName," ").concat(null==(s=h.productIdentifiers)?void 0:s.subname," added to Cart"),status:"Success"})}catch(e){y(!1),A({message:"Failed to add to cart",status:"Error"})}};return v?(0,i.jsx)("div",{className:x().container,"aria-hidden":!v,children:(0,i.jsxs)("div",{className:x().inner,children:[(0,i.jsxs)("div",{className:x().productName,children:[(null==(e=h.productIdentifiers)?void 0:e.websiteName)&&(0,i.jsx)(r.A,{variant:"bodySmall",className:x().family,children:h.productIdentifiers.websiteName}),(null==(t=h.productIdentifiers)?void 0:t.subname)&&(0,i.jsx)(r.A,{variant:"bodySmall",className:x().subname,children:h.productIdentifiers.subname})]}),(0,i.jsx)(l.A,{variant:"primary","aria-label":"Add to Cart",className:x().button,type:"button",onClick:_,disabled:b||!h.initAvailability.available,children:b?(0,i.jsx)(n.A,{}):h.initAvailability.label})]})}):null}},48174:(e,t,a)=>{"use strict";a.d(t,{A:()=>F});var i=a(26514),s=a(75834),r=a(98457),l=a(58245),n=a.n(l),o=a(65808);let d=e=>{let{...t}=e;return(0,i.jsx)("svg",{viewBox:"0 0 20 20",width:"20",height:"20",stroke:"none",fill:"currentColor",...t,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M2.3,16.9c-1,0-1.8-0.8-1.8-1.8V4.5c0-1,0.8-1.8,1.8-1.8h15.4c1,0,1.8,0.8,1.8,1.8v10.6c0,1-0.8,1.8-1.8,1.8H2.3z M2.6,6.9 c0,1.1,0.9,2.1,2.1,2.1c1.1,0,2.1-0.9,2.1-2.1S5.8,4.8,4.7,4.8C3.5,4.8,2.6,5.7,2.6,6.9z M17.1,14.6v-4.1l-3.2-3.2 c-0.2-0.2-0.5-0.2-0.6,0l-5,5l-2.1-2.1C6,10,5.7,10,5.5,10.1l-2.6,2.6v1.8H17.1z"})})})};var c=a(19842),u=a(51005),m=a(82760),p=a(83065),h=a(37244),x=a(82181),v=a(55314),f=a(66307),b=a(88329),y=a.n(b),g=a(69591),j=a(54841);let A=e=>{let{video:t,productName:a}=e,[r,l]=s.useState(!1),d=(0,h.A)(t);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n(),{alt:"Video Thumbnail",fill:!0,src:"https://img.youtube.com/vi/".concat(d,"/hqdefault.jpg"),style:{objectFit:"contain"}}),(0,i.jsxs)(g.A,{className:y().button,onClick:()=>l(!0),children:[(0,i.jsx)(j.A,{variant:"srOnly",children:"Watch Video"}),(0,i.jsx)(o.A,{className:y().icon})]}),(0,i.jsx)(x.A,{open:r,onClose:()=>l(!1),"aria-label":"".concat(a," Video Popup"),children:(0,i.jsx)(v.A,{children:(0,i.jsx)("div",{className:y().modal,children:(0,i.jsx)(f.A,{videoId:d,title:"".concat(a," Video")})})})})]})};var w=a(54407),N=a.n(w),C=a(36632),S=a(90960);let F=()=>{var e,t,a,l,x,v;let{activeProduct:f}=(0,S.Bj)(),b="".concat(null==(e=f.productIdentifiers)?void 0:e.websiteName," ").concat(null==(t=f.productIdentifiers)?void 0:t.subname),y=null==(a=f.images)?void 0:a.find(e=>e.isDefault),g=null==(l=f.images)?void 0:l.filter(e=>!e.isDefault),w=f.video&&""!==f.video?f.video.split(","):[],F=["profile horizontal","angled tip","angled back","angled feature highlight","angled feature highlight","angled feature highlight"],_=[];(null==y?void 0:y.url)&&_.push(y.url),null==g||g.forEach(e=>_.push(e.url)),_=[..._,...w],y||(y=f.images[0]);let[I,k]=(0,s.useState)(y),[P,E]=(0,s.useState)(_[0]),L=(0,p.Z9)(),O=(0,s.useRef)(null),D=e=>{let t=O.current;if(!t)return;let a=t.scrollWidth/_.length;t.scrollBy({left:"next"===e?a:-a,behavior:"smooth"})},T=(0,C.uh)({onSwipedLeft:()=>(()=>{let e=_.indexOf(P);e!==_.length-1&&E(_[e+1])})(),onSwipedRight:()=>(()=>{let e=_.indexOf(P);0!==e&&E(_[e-1])})()});(0,s.useEffect)(()=>{I!==y&&(E(_[0]),k(y||_[0]))},[I,_,y]);let B=_.map((e,t)=>{var a,s;let r=w.includes(e),l=r?"https://img.youtube.com/vi/".concat((0,h.A)(e),"/hqdefault.jpg"):e,d=r?"Video thumbnail":(null==(s=f.images)||null==(a=s.find(t=>t.url===e))?void 0:a.alt)||"".concat(b," ").concat(F[t]||"");return(0,i.jsxs)("button",{className:N().thumbnailItem,onClick:()=>E(e),"aria-label":r?"Show video":"Show image ".concat(t+1),children:[(0,i.jsx)(n(),{src:l,alt:d,width:300,height:300,style:{width:"100%",height:"auto",aspectRatio:"1",objectFit:"cover",display:"block"}}),r&&(0,i.jsx)(o.A,{className:N().thumbnailPlayIcon})]},e)});return(0,i.jsxs)("div",{className:N().assetContainer,children:[(0,i.jsxs)("div",{className:N().mobileAssets,...T,children:[!y&&!g&&(0,i.jsx)("div",{className:N().assetImage,children:(0,i.jsx)(d,{className:N().placeholder})}),y&&(0,i.jsx)("div",{className:(0,r.A)(N().assetImage,{[N().active]:P===y.url}),children:(0,i.jsx)(n(),{loader:m.G,alt:y.alt||"".concat(b," vertical profile"),fill:!0,src:y.url,sizes:L,priority:!0,style:{objectFit:"contain"}})}),g&&g.map((e,t)=>(0,i.jsx)("div",{className:(0,r.A)(N().assetImage,{[N().active]:P===e.url}),children:(0,i.jsx)(n(),{loader:m.G,alt:e.alt||"".concat(b," ").concat(F[t]),fill:!0,src:e.url,sizes:L,style:{objectFit:"contain"}})},t)),w&&w.map((e,t)=>(0,i.jsx)("div",{className:(0,r.A)(N().assetImage,{[N().active]:P===e}),children:(0,i.jsx)(A,{video:e,productName:b})},t)),(0,i.jsx)("div",{className:N().assetNav,children:_.map((e,t)=>(0,i.jsx)("button",{className:(0,r.A)(N().assetNavBtn,{[N().activeBtn]:P===e}),onClick:()=>E(e),children:(0,i.jsx)(j.A,{variant:"srOnly",children:"Asset Navigation"})},t))}),f.flags&&(0,i.jsx)("div",{className:"flex flex-wrap absolute top-0 left-0 z-10",children:f.flags.map((e,t)=>(0,i.jsx)("div",{className:"p-xs mr-xs border border-not-black border-[1px] bg-cream",children:e},t))})]}),(0,i.jsxs)("div",{className:N().desktopAssets,children:[(0,i.jsxs)("div",{className:N().mainImage,children:[!y&&!g&&(0,i.jsx)(d,{className:N().placeholder}),P&&(w.includes(P)?(0,i.jsx)(A,{video:P,productName:b}):(0,i.jsx)(n(),{loader:m.G,alt:(null==(v=f.images)||null==(x=v.find(e=>e.url===P))?void 0:x.alt)||b,fill:!0,src:P,sizes:L,priority:!0,style:{objectFit:"contain"}})),f.flags&&(0,i.jsx)("div",{className:"flex flex-wrap absolute top-0 left-0 z-10",children:f.flags.map((e,t)=>(0,i.jsx)("div",{className:"p-xs mr-xs border border-not-black border-[1px] bg-cream",children:e},t))})]}),_.length>1&&(0,i.jsxs)("div",{className:N().thumbnailCarousel,children:[_.length>5&&(0,i.jsx)("button",{className:N().thumbNavBtn,onClick:()=>D("prev"),"aria-label":"Previous thumbnails",children:(0,i.jsx)(c.A,{})}),(0,i.jsx)("div",{className:N().thumbnailStrip,ref:O,children:B}),_.length>5&&(0,i.jsx)("button",{className:N().thumbNavBtn,onClick:()=>D("next"),"aria-label":"Next thumbnails",children:(0,i.jsx)(u.A,{})})]})]})]})}},49805:(e,t,a)=>{"use strict";a.d(t,{X:()=>r});var i=a(75834),s=a(30324);function r(e,t){let[a,r]=(0,i.useState)([]);(0,i.useEffect)(()=>{r((0,s.UV)(e,t).errors)},[e,t]);let l=(0,i.useCallback)(()=>{let a=(0,s.UV)(e,t);return r(a.errors),a.isValid},[e,t]),n=(0,i.useCallback)(()=>{r([])},[]),o=(0,i.useCallback)((a,i,r)=>{var l;let n=(0,s.U7)(e,t);return{productEntityId:Number(a.id),variantEntityId:i?Number(i.id):Number(null==(l=a.variants[0])?void 0:l.id),quantity:r,...n&&{selectedOptions:n}}},[e,t]);return{isValid:0===a.length,validationErrors:a,getCartLineItemData:o,clearErrors:n,validate:l}}},53338:(e,t,a)=>{"use strict";a.d(t,{w:()=>r});var i=a(75834),s=a(14220);let r=()=>{let[e,t]=(0,i.useState)(null),[a,r]=(0,i.useState)(null);return(0,i.useEffect)(()=>
1{if(e){let t=function(e){var t,a;let{product:i,quantity:s,addOns:r}=e,l=(null==(t=i.price)?void 0:t.value)*s,n=[{item_id:i.sku||"",item_name:i.name,price:null==(a=i.price)?void 0:a.value,quantity:s}];return r.forEach(e=>{n.push({item_id:e.sku,item_name:e.name,price:e.listPrice,quantity:s}),l+=e.listPrice*s}),{currency:"USD",value:l,items:n}}(e);(0,s.RV)(t),a&&l(e,a).then(e=>{(0,s.I7)(e)});let i=function(e){var t,a;let{product:i,quantity:s,addOns:r}=e,l=(null==(t=i.price)?void 0:t.value)*s,n=[i.sku||""],o=[{id:i.sku||"",quantity:s,item_price:null==(a=i.price)?void 0:a.value}];return r.forEach(e=>{n.push(e.sku),o.push({id:e.sku,quantity:s,item_price:e.listPrice}),l+=e.listPrice*s}),{content_ids:n,content_type:"product",value:l,currency:"USD",contents:o}}(e);(0,s.B_)(i)}},[e]),(0,i.useEffect)(()=>{a||fetch("/api/data-lookups").then(e=>e.json()).then(e=>r(e.data)).catch(e=>console.log(e))},[a,r]),{setAddToCartData:t}};async function l(e,t){var a,i;let{product:s,quantity:r,defaultImage:l,canonicalUrl:o}=e,d=await fetch("/api/cart/data").then(e=>e.json()),c=await n(s.id),u=await fetch("/api/checkout-url").then(e=>e.json())||null,m=null;return(null==d?void 0:d.lineItems)&&(m=await Promise.all(null==d?void 0:d.lineItems.map(async e=>{var a,i;return{ProductID:e.productEntityId,SKU:e.sku,ProductName:e.name,Quantity:e.quantity,ItemPrice:null==(a=e.listPrice)?void 0:a.value,RowTotal:(null==(i=e.listPrice)?void 0:i.value)*e.quantity,ProductURL:(null==t?void 0:t.skuPathLookup[e.sku])||"",ImageURL:e.url||"",ProductCategories:await n(e.productEntityId)}}))),{$value:(null==(a=s.price)?void 0:a.value)*r,AddedItemProductName:s.name,AddedItemProductID:s.id,AddedItemSKU:s.sku||"",AddedItemCategories:c||null,AddedItemImageURL:(null==l?void 0:l.url)||"",AddedItemURL:o,AddedItemPrice:null==(i=s.price)?void 0:i.value,AddedItemQuantity:r,ItemNames:[s.name],CheckoutURL:u,Items:m}}let n=async e=>await fetch("/api/catalog/product-categories?id=".concat(e)).then(e=>e.json()).then(e=>e).catch(e=>console.log(e))},53540:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var i=a(26514),s=a(82760),r=a(58245),l=a.n(r),n=a(54841),o=a(34441),d=a(96456),c=a.n(d);let u=e=>{let{product:t,parentSku:a,addAddOn:r,removeAddOn:d}=e,u=t.price?"".concat(Math.round((1-t.price/t.listPrice)*100),"% Off"):"",m=u?"Bundle and save offer:":"Often purchased together:";m=t.isFree?"Free gift with purchase:":m;let p="Add on: ".concat(u," ").concat(t.name," with purchase of SKU ").concat(a);return(0,i.jsxs)("div",{className:"p-sm pl-xs mb-sm bg-almond",children:[(0,i.jsx)("div",{className:"w-full pl-xs",children:(0,i.jsx)("p",{className:"!mb-0",children:(0,i.jsx)(n.A,{variant:"bodyMediumBold",className:"uppercase",children:m})})}),(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)("div",{className:"w-[80px] h-[80px]",children:(0,i.jsx)(l(),{loader:s.G,src:t.defaultImage.url,alt:t.defaultImage.alt,width:1300,height:1300,sizes:"(max-width: 768px) 33vw, 17vw",style:{objectFit:"contain"}})}),t.isFree?(0,i.jsx)("div",{className:"w-full pl-xs",children:(0,i.jsxs)("div",{className:"flex items-start gap-x-xs",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{children:(0,i.jsx)(n.A,{variant:"bodySmall",children:t.name})}),(0,i.jsx)("p",{children:(0,i.jsx)(n.A,{variant:"bodySerifMedium",className:"text-not-black !text-sm",children:"(limited time offer)"})})]}),(0,i.jsxs)("div",{className:"ml-auto flex flex-col items-end md:flex-row md:gap-x-2",children:[(0,i.jsxs)(n.A,{variant:"bodySmall",className:"!m-0 text-poppy line-through md:!mb-5",children:["$",t.listPrice.toFixed(2)]}),(0,i.jsx)(n.A,{variant:"bodySmall",className:"uppercase",children:"Free"})]})]})}):(0,i.jsx)("div",{className:"w-full pl-xs",children:(0,i.jsx)("div",{className:"flex items-start gap-x-xs",children:(0,i.jsxs)(o.A,{type:"checkbox",name:"addOn",labelClassName:"!flex items-baseline gap-x-xs",id:t.sku,value:t.sku,onClick:e=>(e=>{if(e.target.checked){let e={sku:t.sku,productId:t.entityId,quantity:1,analyticsName:t.analyticsName,analyticsType:t.analyticsType};t.price&&!t.isPromotion&&(e.name=p,e.listPrice=t.price),r(e)}e.target.checked||d(t.entityId)})(e),children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)(n.A,{variant:"bodySmall",children:[!t.isFree&&"Include ",t.name]}),t.price&&(0,i.jsxs)("p",{children:[(0,i.jsx)(n.A,{variant:"bodySerifMedium",className:"text-not-black !text-sm",children:"(limited time offer\xa0"}),(0,i.jsx)(n.A,{variant:"bodySerifMedium",className:"text-poppy !text-sm",children:u}),(0,i.jsx)(n.A,{variant:"bodySerifMedium",className:"text-not-black !text-sm",children:")"})]})]}),t.price&&(0,i.jsxs)("div",{className:"ml-auto flex flex-col items-end md:flex-row md:gap-x-2",children:[(0,i.jsxs)(n.A,{variant:"bodySmall",className:"!m-0 text-poppy line-through md:!mb-5",children:["$",t.listPrice.toFixed(2)]}),(0,i.jsxs)(n.A,{variant:"bodySmall",children:["$",t.price.toFixed(2)]})]}),!t.price&&(0,i.jsx)("div",{className:"ml-auto",children:(0,i.jsxs)(n.A,{variant:"bodySmall",children:["$",t.listPrice.toFixed(2)]})})]})})})]}),t.slug&&(0,i.jsx)("div",{className:"flex justify-end",children:(0,i.jsx)(n.A,{variant:"bodySmall",className:"text-not-black !mb-0",children:(0,i.jsx)(c(),{href:t.slug,className:"underline uppercase bold",children:"View Details"})})})]})}},54407:e=>{e.exports={assetContainer:"ProductAssets_assetContainer__eYIIa",mobileAssets:"ProductAssets_mobileAssets__CbqTq",desktopAssets:"ProductAssets_desktopAssets__0wzhy",mainImage:"ProductAssets_mainImage__Ljhr0",thumbnailCarousel:"ProductAssets_thumbnailCarousel__4ctLM",thumbnailStrip:"ProductAssets_thumbnailStrip__EuZgg",thumbnailCarouselItem:"ProductAssets_thumbnailCarouselItem__FZ2vs",thumbnailItem:"ProductAssets_thumbnailItem__xOid4",thumbnailPlayIcon:"ProductAssets_thumbnailPlayIcon__vrT8Q",thumbNavBtn:"ProductAssets_thumbNavBtn__ZsbD9",assetImage:"ProductAssets_assetImage__u3dLB",active:"ProductAssets_active__iz4JE",assetNav:"ProductAssets_assetNav__IxwKL",assetNavBtn:"ProductAssets_assetNavBtn__NKPO5",activeBtn:"ProductAssets_activeBtn__kvYRr"}},57594:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=a(26514),s=a(90960);let r=()=>{var e,t,a,r;let{page:l,activeProduct:n}=(0,s.Bj)(),o=n.productIdentifiers?"".concat(null==(e=n.productIdentifiers)?void 0:e.websiteName," ").concat(n.productIdentifiers.subname):null,d=l.titleTag||o||n.name,c=l.metaDescription||n.description,u=l.priceRange.min||n.price,m=l.priceRange.max||n.price,p=null==(t=n.images)?void 0:t.find(e=>e.isDefault),h={"@context":"https://schema.org/","@type":"Product",name:d,image:(null==p?void 0:p.url)||(null==(r=n.images)||null==(a=r[0])?void 0:a.url),description:c,sku:n.sku,mpn:"",brand:{"@type":"Brand",name:"Columbia Knife and Tool"},offers:{"@type":"AggregateOffer",offerCount:"",lowPrice:u.toString(),highPrice:m.toString(),priceCurrency:"USD"}};n.reviewSummary.summationOfRatings&&(h.aggregateRating={"@type":"AggregateRating",ratingValue:n.reviewSummary.summationOfRatings,reviewCount:n.reviewSummary.numberOfReviews});let x={__html:JSON.stringify(h,null,0)};return(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:x})}},59993:e=>{e.exports={swatch:"Swatch_swatch__gH5aa Button_root__3fIL8",secondary:"Swatch_secondary__bNDKk",color:"Swatch_color__bfmz0",dark:"Swatch_dark__pXfhu",active:"Swatch_active__KTDzF",textLabel:"Swatch_textLabel__5Ipqv"}},61542:e=>{e.exports={root:"CompositeProductHeader_root__NUqX2",family:"CompositeProductHeader_family__sI9GQ",subname:"CompositeProductHeader_subname__Ge_Cx",seoSuffix:"CompositeProductHeader_seoSuffix__zY9kq",retailPrice:"CompositeProductHeader_retailPrice__zGE1c",salePrice:"CompositeProductHeader_salePrice__qiaYB",thirdPartyPaymentContainer:"CompositeProductHeader_thirdPartyPaymentContainer__Y3gYy"}},67710:(e,t,a)=>{"use strict";a.d(t,{A:()=>
1o});var i=a(26514);a(75834);var s=a(96456),r=a.n(s),l=a(59489),n=a(54841);let o=()=>(0,i.jsx)(l.A,{title:"Shipping & Returns",element:"h2",variant:"borderless",isExpanded:!0,children:(0,i.jsx)("p",{children:(0,i.jsxs)(n.A,{variant:"bodySmall",children:["Free shipping on orders $99 and up. If any purchase fails to meet your complete satisfaction, you may return it or exchange it within 30 days of receipt of your shipment. Find out more about\xa0",(0,i.jsx)(r(),{href:"/support/shipping-and-return-policy",children:"our shipping and return policy."})]})})})},88329:e=>{e.exports={modal:"ProductVideo_modal__sfFRc",icon:"ProductVideo_icon__vAzLO",button:"ProductVideo_button__RqmRm"}},89564:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var i=a(26514),s=a(30470),r=a(56640);let l=e=>{let{...t}=e;return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",...t,children:(0,i.jsx)("path",{d:"M112 72L112 64L96 64L96 576L112 576L112 460L224.3 431.9C265.4 421.6 308.9 426.4 346.8 445.3C391 467.4 442.3 470.1 488.5 452.7L544 432L544 80C537.1 83.5 518.9 92.5 489.6 107.2C443.3 130.4 388.8 130.4 342.5 107.2C307.4 89.6 267.1 85.2 229 94.7L112 124L112 72zM112 373.9L233.4 347.9C268.6 340.4 305.1 343.3 338.6 356.3L364.4 366.3C407.9 383.2 455.9 384.4 500.1 369.6L527.8 360.4L527.8 420.9L482.7 437.8C440.6 453.6 393.9 451.1 353.7 431C312.4 410.3 265 405.1 220.2 416.3L112 443.5L112 373.9zM112 357.5L112 301.9L228.6 276.9C266.7 268.7 306.3 272.9 341.9 288.7L355.7 294.9C404.4 316.5 459.7 317.9 509.4 298.5L528 291.3L528 343.6L495.2 354.5C454.5 368.1 410.3 367 370.3 351.4L344.5 341.4C308.1 327.2 268.3 324.1 230.1 332.2L112 357.5zM112 285.5L112 140.5L232.8 110.3C240.4 108.4 248.2 107.1 256 106.4L256 257.1C245.7 257.7 235.4 259 225.2 261.2L112 285.5zM272 256.9L272 192.9C296 193.5 319.7 198.8 341.9 208.7L355.7 214.9C404.4 236.5 459.7 237.9 509.4 218.5L528 211.3L528 274.1L503.6 283.6C457.9 301.4 407 300.2 362.2 280.3L348.4 274.1C324.2 263.3 298.2 257.6 272 256.9zM272 176.9L272 105.9C293.8 106.4 315.5 111.6 335.3 121.5C386.1 146.9 445.9 146.9 496.8 121.5L528.1 105.9L528.1 194.1L503.7 203.6C458 221.4 407.1 220.2 362.3 200.3L348.5 194.1C324.3 183.3 298.3 177.6 272.1 176.9zM168 172C168 165.4 162.6 160 156 160C149.4 160 144 165.4 144 172C144 178.6 149.4 184 156 184C162.6 184 168 178.6 168 172zM212 168C218.6 168 224 162.6 224 156C224 149.4 218.6 144 212 144C205.4 144 200 149.4 200 156C200 162.6 205.4 168 212 168zM168 228C168 221.4 162.6 216 156 216C149.4 216 144 221.4 144 228C144 234.6 149.4 240 156 240C162.6 240 168 234.6 168 228zM212 224C218.6 224 224 218.6 224 212C224 205.4 218.6 200 212 200C205.4 200 200 205.4 200 212C200 218.6 205.4 224 212 224z"})})};var n=a(54841);let o=e=>{let{madeInUSA:t=!1}=e;return(0,i.jsxs)("div",{className:"bg-sageLight py-sm px-xs my-sm border-b-[1px] border-not-black",children:[(0,i.jsx)("h2",{className:"mb-0 sr-only",children:(0,i.jsx)(n.A,{variant:"bodyMediumBold",children:"WHY BUY FROM CRKT?"})}),(0,i.jsxs)("div",{className:"flex items-start gap-2 justify-between md:items-center md:gap-10 md:justify-center",children:[(0,i.jsxs)("div",{className:"md:flex md:items-center md:gap-2 text-dark-teal",children:[(0,i.jsx)(s.A,{width:40,height:40,className:"mb-xs md:mb-0"}),(0,i.jsx)(n.A,{variant:"bodyMediumBold",className:"!text-sm !leading-[1.25rem] !mb-0 md:text-body-md-bold",children:"LIFETIME WARRANTY"})]}),(0,i.jsxs)("div",{className:"md:flex md:items-center md:gap-2 text-dark-teal",children:[(0,i.jsx)(r.A,{width:40,height:40,className:"mb-xs md:mb-0"}),(0,i.jsx)(n.A,{variant:"bodyMediumBold",className:"!text-sm !leading-[1.25rem] !mb-0 md:text-body-md-bold",children:"FREE SHIPPING OVER $99"})]}),t&&(0,i.jsxs)("div",{className:"md:flex md:items-center md:gap-2 text-dark-teal",children:[(0,i.jsx)(l,{width:40,height:40,className:"mb-xs md:mb-0"}),(0,i.jsx)(n.A,{variant:"bodyMediumBold",className:"!text-sm !leading-[1.25rem] !mb-0 md:text-body-md-bold",children:"MADE IN THE USA"})]})]})]})}},90960:(e,t,a)=>{"use strict";a.d(t,{Bj:()=>o,Mb:()=>d});var i=a(26514),s=a(75834);let r=s.createContext({page:null,activeProduct:null,isLoadingPricing:!1,hasFetchedCustomerPricing:!1});function l(e,t){switch(t.type){case"SET_ACTIVE_PRODUCT":return{...e,activeProduct:t.activeProduct};case"UPDATE_PRICING_DATA":{if(!e.page)return e;let a=new Map(t.pricingData.map(e=>[e.entityId,e.prices])),i=e.page.products.map(e=>{let i=a.get(Number(e.id));return i?{...e,prices:i,price:i.price,customerGroup:t.customerGroup||null}:e}),s=e.activeProduct;if(e.activeProduct){let t=a.get(Number(e.activeProduct.id));t&&(s=i.find(t=>{var a;return t.id===(null==(a=e.activeProduct)?void 0:a.id)})||{...e.activeProduct,prices:t,price:t.price})}return{...e,page:{...e.page,products:i},activeProduct:s}}case"SET_LOADING_PRICING":return{...e,isLoadingPricing:t.isLoading};case"SET_PRICING_FETCHED":return{...e,hasFetchedCustomerPricing:t.hasFetched}}}r.displayName="ProductContext";let n=e=>{var t;let a={page:e.page,activeProduct:e.page.products[0],isLoadingPricing:!1,hasFetchedCustomerPricing:!1},[n,o]=(0,s.useReducer)(l,a),d=(0,s.useCallback)(e=>o({type:"SET_ACTIVE_PRODUCT",activeProduct:e}),[o]),c=(0,s.useCallback)((e,t)=>o({type:"UPDATE_PRICING_DATA",pricingData:e,customerGroup:t}),[o]),u=(0,s.useCallback)(e=>o({type:"SET_LOADING_PRICING",isLoading:e}),[o]),m=(0,s.useCallback)(e=>o({type:"SET_PRICING_FETCHED",hasFetched:e}),[o]),p=(0,s.useCallback)(async()=>
1{if(!n.hasFetchedCustomerPricing)try{var e;if(!await fetch("/api/auth/status").then(e=>e.json()).then(e=>e.isLoggedIn))return;let t=(null==(e=n.page)?void 0:e.products.map(e=>Number(e.id)))||[];if(0===t.length)return;u(!0);let a=await fetch("/api/customer-pricing",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({entityIds:t})});if(!a.ok)throw Error("Failed to fetch pricing: ".concat(a.status));let i=await a.json();i.success&&i.data&&(c(i.data,i.customerGroup),m(!0))}catch(e){console.error("Failed to fetch customer pricing:",e)}finally{u(!1)}},[n.hasFetchedCustomerPricing,null==(t=n.page)?void 0:t.products,c,u,m]);(0,s.useEffect)(()=>{p()},[p]);let h=(0,s.useMemo)(()=>({...n,setActiveProduct:d,updatePricingData:c,fetchCustomerPricing:p}),[n,d,c,p]);return(0,i.jsx)(r.Provider,{value:h,...e})},o=()=>{let e=s.useContext(r);if(void 0===e)throw Error("useProduct must be used within a ProductProvider");return e},d=e=>{let{children:t,page:a}=e;return(0,i.jsx)(n,{page:a,children:t})}},95884:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var i=a(26514);a(75834);var s=a(96456),r=a.n(s),l=a(59489),n=a(54841);let o=()=>(0,i.jsx)("div",{className:"border-b-[1px] border-b-light-gray mb-l pb-l md:border-b-0 md:mb-0 md:pb-0",children:(0,i.jsx)(l.A,{title:"Care Guide",element:"h2",variant:"borderless",isExpanded:!0,children:(0,i.jsx)("p",{children:(0,i.jsxs)(n.A,{variant:"bodySmall",children:["Properly maintaining your knife not only prolongs its life - it also makes for a safer and more enjoyable cutting experience. To keep your knife in prime working condition, keep it sharp, clean, dry, well-oiled, and a in good working order. See our detailed ",(0,i.jsx)(r(),{href:"/knife-care",children:"care guide"})," for more information on knife care and maintenance."]})})})})},98448:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=a(26514),s=a(75834);let r=e=>{let{product:t}=e,a=(0,s.useRef)(null),r=async()=>{try{await new Promise((e,t)=>{if(window.yotpo)return void e();let a=document.createElement("script");a.src="https://staticw2.yotpo.com/mB51l16QUnsvurJDsDT2gLEXzZdWDqQ8VC1xNUTx/widget.js",a.async=!0,a.onload=()=>e(),a.onerror=()=>t(Error("Failed to load Yotpo script")),document.head.appendChild(a)}),setTimeout(()=>{try{window.yotpo&&window.yotpo.initWidgets(),window.yotpoWidgetsContainer&&window.yotpoWidgetsContainer.initWidgets()}catch(e){console.log("YotpoMainWidget error:",e)}},100)}catch(e){console.error("Failed to load Yotpo:",e)}};return((0,s.useEffect)(()=>{if(!a.current)return;for(a.current.innerHTML="";a.current.attributes.length>0;)a.current.removeAttribute(a.current.attributes[0].name);let e=a.current;e.id="yotpoMainWidget",e.className="yotpo yotpo-main-widget min-h-[271px] md:min-h-[247px]",e.setAttribute("data-product-id",t.id),e.setAttribute("data-price",t.price.value),e.setAttribute("data-currency",t.price.currencyCode),e.setAttribute("data-name",t.name),e.setAttribute("data-url",t.path),e.setAttribute("data-image-url",t.images[0].url),e.setAttribute("data-description",t.description),r()},[t]),t.price)?(0,i.jsx)("div",{ref:a,id:"yotpoMainWidget",className:"yotpo yotpo-main-widget min-h-[271px] md:min-h-[247px]","data-product-id":t.id,"data-price":t.price.value,"data-currency":t.price.currencyCode,"data-name":t.name,"data-url":t.path,"data-image-url":t.images[0].url,"data-description":t.description}):null}}}]);
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.