PageSourceSearch

https://www.artisanbarber.com/_next/static/chunks/15jfce8mro-8q.js

js artisanbarber.com collected 2026-10-07 00:02:48 UTC 3,817 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39542,e=>{e.v({button:"styles-module__0XppNq__button",buttonDisabled:"styles-module__0XppNq__buttonDisabled"})},72545,e=>{"use strict";var t=e.i(48277),i=e.i(30668),a=e.i(35691),o=e.i(53938),l=e.i(66033),s=e.i(39542);e.s(["default",0,function({variantId:e,disabled:d=!1,tabIndex:n}){let[r,_]=(0,i.useState)("idle"),{addItem:g}=(0,l.useCart)(),c=async()=>{if(!d&&"loading"!==r){_("loading");try{await g(e,1),_("added"),setTimeout(()=>_("idle"),2e3)}catch(e){console.error("Cart error:",e),_("idle")}}};return(0,t.jsx)(a.motion.button,{onClick:c,disabled:d||"loading"===r,tabIndex:n,className:d?s.default.buttonDisabled:s.default.button,whileTap:d?{}:{scale:.95},whileHover:d?{}:{scale:1.05},transition:{type:"spring",stiffness:400,damping:20},children:(0,t.jsxs)(o.AnimatePresence,{mode:"wait",children:["loading"===r&&(0,t.jsx)(a.motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:"Adding…"},"loading"),"added"===r&&(0,t.jsx)(a.motion.span,{initial:{scale:.8},animate:{scale:1},exit:{opacity:0},children:"✓ Added"},"added"),"idle"===r&&(0,t.jsx)(a.motion.span,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},children:"+ Cart"},"idle")]})})}])},95111,e=>{e.v({brandStory:"page-module__83XRgW__brandStory",heading:"page-module__83XRgW__heading",hoverImage:"page-module__83XRgW__hoverImage",image:"page-module__83XRgW__image",imageWrapper:"page-module__83XRgW__imageWrapper",intro:"page-module__83XRgW__intro",item:"page-module__83XRgW__item",link:"page-module__83XRgW__link",list:"page-module__83XRgW__list",loadMore:"page-module__83XRgW__loadMore",main:"page-module__83XRgW__main",price:"page-module__83XRgW__price",priceCompare:"page-module__83XRgW__priceCompare",priceDiscounted:"page-module__83XRgW__priceDiscounted",priceSoldOut:"page-module__83XRgW__priceSoldOut",shopSettings:"page-module__83XRgW__shopSettings",shopSettingsCat:"page-module__83XRgW__shopSettingsCat",shopSettingsCol:"page-module__83XRgW__shopSettingsCol",shopSettingsHidden:"page-module__83XRgW__shopSettingsHidden",title:"page-module__83XRgW__title",vendor:"page-module__83XRgW__vendor"})},65795,e=>{"use strict";var t=e.i(48277),i=e.i(96086),a=e.i(16506),o=e.i(95111);e.s(["default",0,function({hideFilter:e=!1}){let l=(0,i.useRouter)(),s=(0,i.useSearchParams)(),d=(0,i.usePathname)(),n=s.get("sort")||"LATEST",r=e=>{let t=new URLSearchParams(s.toString());t.set("sort",e),t.delete("after"),l.push(`${d}?${t.toString()}`)};return(0,t.jsxs)("div",{className:o.default.shopSettings,children:[(0,t.jsxs)("div",{className:o.default.shopSettingsCat,children:[(0,t.jsx)("h1",{children:"Sort"}),(0,t.jsx)("button",{className:"LATEST"===n?o.default.activeControl:"",onClick:()=>r("LATEST"),children:"Latest Arrivals"}),(0,t.jsx)("button",{className:"PRICE_HIGH"===n?o.default.activeControl:"",onClick:()=>r("PRICE_HIGH"),children:"Price: High to Low"}),(0,t.jsx)("button",{className:"PRICE_LOW"===n?o.default.activeControl:"",onClick:()=>r("PRICE_LOW"),children:"Price: Low to High"}),(0,t.jsx)("button",{className:"ALPHA"===n?o.default.activeControl:"",onClick:()=>r("ALPHA"),children:"Alphabetical"}),(0,t.jsx)("button",{className:"OLDEST"===n?o.default.activeControl:"",onClick:()=>r("OLDEST"),children:"Oldest First"})]}),(0,t.jsxs)("div",{className:`${o.default.shopSettingsCol} ${e?o.default.shopSettingsHidden:""}`,"aria-hidden":e,children:[(0,t.jsx)("h1",{children:"Filter"}),(0,t.jsx)(a.default,{href:"/shop/all",children:"All"}),(0,t.jsx)(a.default,{href:"/shop/wardrobe",children:"Clothing"}),(0,t.jsx)(a.default,{href:"/shop/tools",children:"Tools"}),(0,t.jsx)(a.default,{href:"/shop/grooming",children:"Grooming"}),(0,t.jsx)(a.default,{href:"/shop/sale",children:"Sale"})]})]})}])}]);

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.