PageSourceSearch

https://www.buckmason.com/component---src-pages-pages-faq-jsx-f0edc126af8defe3ccab.js

js buckmason.com collected 2026-09-24 21:10:36 UTC 4,638 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkbuck_mason=self.webpackChunkbuck_mason||[]).push([[1084],{2730:function(e,t,a){a.r(t),a.d(t,{Head:function(){return u},default:function(){return s}});var n=a(6540),r=a(6778),l=a(2711),c=a(1027),i="faq-module--faq_items--1fb78",m="faq-module--title--30c3a";var o=e=>{let{content:t,index:a}=e;const{group:r,question:i,answer:m}=t,{0:o,1:s}=(0,n.useState)(!1),u=(0,n.useRef)(null);return(0,n.useEffect)(()=>{u.current&&u.current.querySelectorAll("a").forEach(e=>e.setAttribute("tab-index","-1"))},[]),n.createElement("li",{"data-type":r,itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question"},(0,l.wx)(i)&&n.createElement("button",{type:"button",id:`${r}-q-${a}`,className:`${c.PA} faq-module--faq_q--a5a38`,itemProp:"name","aria-expanded":o?"true":"false","aria-controls":`${r}-a-${a}`,onClick:()=>{s(!o),u.current.querySelectorAll("a").forEach(e=>e.setAttribute("tab-index",!0==!o?"0":"-1"))}},i),(0,l.wx)(m)&&n.createElement("div",{className:"faq-module--faq_a--2a3f6",id:`${r}-a-${a}`,itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",role:"region","aria-hidden":o?"false":"true",inert:o?void 0:"","aria-labelledby":`${r}-q-${a}`,ref:u,dangerouslySetInnerHTML:{__html:m}}))};var s=e=>{let{data:{faq:t}}=e;const a=t.data,r=a.telephone.replace("(","").replace(")","").replace(" ","-"),c=a.blocks.filter(e=>"orders-shipping-returns"===e.group),s=a.blocks.filter(e=>"retail-sizing"===e.group),u=a.blocks.filter(e=>"other"===e.group);return n.createElement(n.Fragment,null,n.createElement("div",{id:"faq-hero",className:"faq-module--hero--2bb14"},(0,l.wx)(a.image)&&n.createElement("div",{style:{backgroundImage:`url(${(0,l.vt)(a.image,1200)})`},className:"faq-module--image--5d29e"}),(0,l.wx)(a.title)&&n.createElement("h1",{className:m},a.title)),n.createElement("section",{className:"faq-module--help--0f38a"},n.createElement("div",null,n.createElement("p",null,"Contact Us At"),(0,l.wx)(a.email)&&n.createElement("p",null,n.createElement("a",{href:`mailto:${a.email}`,target:"_top"},a.email)),(0,l.wx)(a.telephone)&&n.createElement("p",null,n.createElement("a",{href:`tel:${r}`,target:"_top"},r))),n.createElement("div",null,(0,l.wx)(a.hours)&&n.createElement("div",{dangerouslySetInnerHTML:{__html:a.hours}}))),n.createElement("section",{id:"faq",className:"faq-module--faq--bedd1",itemScope:!0,itemType:"https://schema.org/FAQPage"},n.createElement("h2",{className:m},"Orders Shipping & Returns"),n.createElement("ul",{className:i},c.map((e,t)=>n.createElement(o,{key:`faq1-${t}`,index:t,content:e}))),n.createElement("h2",{className:m},"Retail & Sizing"),n.createElement("ul",{className:i},s.map((e,t)=>n.createElement(o,{key:`faq2-${t}`,index:t,content:e}))),n.createElement("h2",{className:m},"Other FAQs"),n.createElement("ul",{className:i},u.map((e,t)=>n.createElement(o,{key:`faq3-${t}`,index:t,content:e})))))};const u=e=>{let{data:{faq:t}}=e;return n.createElement(r.G,{title:"FAQ",description:"Frequently asked questions and return policy",image:t.data.metaimg,url:"/pages/faq"})}},6778:function(e,t,a){a.d(t,{G:function(){return c}});var n=a(6540),r=a(6462),l=a(2711);const c=e=>{let{title:t,description:a,image:c,url:i=!1,children:m,hide:o=!1}=e;const s=(0,r.useLocation)();let u=`${t}${t.includes("Buck Mason")?"":" | Buck Mason"}`,d=c?(0,l.vt)(c,1024,!0):"https://cdn.shopify.com/s/files/1/0123/5065/2473/files/chicago_1_0d30a8f6-9b69-4702-9afe-2d58adbfcbf7.jpg?v=1696020535",p=a||"Inspired by laid back California ethos of easy living, quality, & simplicity, \n                      Buck Mason is a modern American brand that makes fashion less complicated.";const f=i?`https://www.buckmason.com${i.split("?")[0]}`:s.href.replace(/\/$/,"").split("?")[0];return n.createElement(n.Fragment,null,n.createElement("title",null,u),n.createElement("meta",{property:"og:url",content:f}),n.createElement("meta",{property:"og:title",content:(0,l.RC)(u)}),n.createElement("meta",{property:"og:image",content:d}),n.createElement("link",{rel:"image_src",href:d}),n.createElement("meta",{name:"twitter:image",content:d}),n.createElement("meta",{name:"twitter:title",content:(0,l.RC)(u)}),n.createElement("meta",{name:"twitter:url",content:f}),!o&&n.createElement("link",{rel:"canonical",href:f}),o&&n.createElement("meta",{name:"robots",content:"noindex"}),n.createElement("meta",{name:"description",content:(0,l.RC)(p)}),n.createElement("meta",{property:"og:description",content:(0,l.RC)(p)}),n.createElement("meta",{name:"twitter:description",content:(0,l.RC)(p)}),m)}}}]);
2//# sourceMappingURL=component---src-pages-pages-faq-jsx-f0edc126af8defe3ccab.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.