1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8766],{51197:function(a,e,n){"use strict";var t=n(57437),o=n(2265),i=n(75247),r=n.n(i),s=n(26902);e.default=a=>{let{data:e,title:n}=a,[i,l]=(0,o.useState)(new Set),c=a=>{l(e=>{let n=new Set(e);return n.has(a)?n.delete(a):n.add(a),n})};return e.faqs&&0!==e.faqs.length?(0,t.jsx)("section",{className:r().faqSection,children:(0,t.jsxs)("div",{className:r().container,children:[(0,t.jsx)("h2",{className:r().title,children:n||"FREQUENTLY ASKED QUESTIONS"}),(0,t.jsx)("div",{className:r().faqList,children:e.faqs.map(a=>(0,t.jsxs)("div",{className:r().faqItem,children:[(0,t.jsxs)("button",{className:r().questionButton,onClick:()=>c(a.id),"aria-expanded":i.has(a.id),children:[(0,t.jsx)("span",{className:r().question,children:a.question}),(0,t.jsx)("img",{src:"/assets/single-arrow-black.png",alt:i.has(a.id)?"Collapse":"Expand",className:"".concat(r().icon," ").concat(i.has(a.id)?r().iconOpen:"")})]}),(0,t.jsx)("div",{className:"".concat(r().answerContainer," ").concat(i.has(a.id)?r().answerOpen:""),children:(0,t.jsx)("div",{className:r().answer,children:(0,t.jsx)(s.rZ,{data:a.answer.value})})})]},a.id))}),(0,t.jsxs)("div",{className:r().buttonContainer,children:[(0,t.jsx)("a",{href:"/faqs","data-gtm-button":"faq_view_all",className:"solidButton",children:"VIEW ALL FAQS"}),(0,t.jsx)("a",{href:"/contact","data-gtm-button":"faq_contact_us",className:"outlineButton",children:"CONTACT US"})]})]})}):null}},85078:function(a,e,n){"use strict";var t=n(57437),o=n(2265),i=n(55216),r=n.n(i),s=n(42277);e.default=()=>{let[a,e]=(0,o.useState)({firstName:"",lastName:"",email:"",phone:"",country:"United States",state:"",zipCode:"",agreement:!1,honeypot:""}),[n,i]=(0,o.useState)(!1),[l,c]=(0,o.useState)(!1),[d,u]=(0,o.useState)({}),[m]=(0,o.useState)(Date.now()),h=()=>{let a=new URLSearchParams(window.location.search).get("utm_source")||sessionStorage.getItem("utm_source"),e=document.referrer||sessionStorage.getItem("referrer");return a&&sessionStorage.setItem("utm_source",a),e&&sessionStorage.setItem("referrer",e),{utmSource:a,gtmReferrer:e}},p=()=>{let e={};return a.firstName.trim()||(e.firstName="First name is required"),a.lastName.trim()||(e.lastName="Last name is required"),a.email.trim()?/\S+@\S+\.\S+/.test(a.email)||(e.email="Email is invalid"):e.email="Email is required",a.phone.trim()||(e.phone="Phone number is required"),a.country.trim()||(e.country="Country is required"),a.state.trim()||(e.state="Canada"===a.country?"Province is required":"State is required"),a.zipCode.trim()||(e.zipCode="Canada"===a.country?"Postal code is required":"Zip code is required"),u(e),0===Object.keys(e).length},g=a=>{let{name:n,value:t,type:o}=a.target,i=a.target.checked;"country"===n?e(a=>({...a,[n]:t,state:""})):e(a=>({...a,[n]:"checkbox"===o?i:t})),d[n]&&u(a=>({...a,[n]:void 0}))},_=async e=>{if(e.preventDefault(),!p())return;let n=Date.now();if(""!==a.honeypot||(n-m)/1e3<3){c(!0);return}i(!0);try{let e=document.getElementsByName("catalogcloudamp")[0],n=(null==e?void 0:e.value)||"",t=h(),o=t.utmSource||"Website - Direct",i=t.gtmReferrer||"Direct";if((await fetch("https://r6hmn36onvbx5ium2zvpmtyb640lejut.lambda-url.us-east-1.on.aws/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstName:a.firstName,lastName:a.lastName,email:a.email,phone:a.phone,country:a.country,state:a.state,zipCode:a.zipCode,division:"Ranch",formid:"Product Catalog Download",source:o,referrer:i,utm:n,timestamp:new Date().toISOString(),hasOptedIn:a.agreement})})).ok)c(!0);else throw Error("Failed to submit form")}catch(a){console.error("Error submitting form:",a),alert("There was an error submitting the form. Please try again.")}finally{i(!1)}};return l?(0,t.jsxs)("div",{className:r().container,children:[(0,t.jsx)("div",{className:r().catalogImage,children:(0,t.jsx)("img",{src:"https://www.datocms-assets.com/162133/1767898153-catalog-web-image-updated.png",alt:"Arrowquip Catalog - Making Hard Work Easy & Safe"})}),(0,t.jsx)("div",{className:r().thankYouSection,children:(0,t.jsxs)("div",{className:r().thankYouContent,children:[(0,t.jsx)("h2",{className:r().thankYouTitle,children:"Thank You!"}),(0,t.jsx)("p",{className:r().thankYouMessage,children:"Your catalog download request has been submitted successfully. You should receive an email with the download link shortly."}),(0,t.jsx)("button",{className:r().resetButton,onClick:()=>c(!1),children:"BACK"})]})})]}):(0,t.jsxs)("div",{className:r().container,id:"catalog",children:[(0,t.jsx)("div",{className:r().catalogImage,children:(0,t.jsx)("img",{src:"https://www.datocms-assets.com/162133/1767898153-catalog-web-image-updated.png",alt:"Arrowquip Catalog - Making Hard Work Easy & Safe"})}),(0,t.jsx)("div",{className:r().formSection,children:(0,t.jsxs)("div",{className:r().formContent,children:[(0,t.jsx)("h2",{className:r().title,children:"DOWNLOAD THE MOST RECENT PRODUCT CATALOG"}),(0,t.jsx)("div",{className:r().introDiv,children:(0,t.jsx)("p",{className:r().description,children:"Join thousands of ranchers who rely on Arrowquip. Download our free catalog and explore the full lineup of cattle handling systems."})}),(0,t.jsxs)("form",{onSubmit:_,className:r().form,id:"productCatalogDownloadForm",children:[(0,t.jsxs)("div",{style:{position:"absolute",left:"-9999px",width:"1px",height:"1px",overflow:"hidden"},"aria-hidden":"true",children:[(0,t.jsx)("label",{htmlFor:"website_url",children:"Website"}),(0,t.jsx)("input",{type:"text",id:"website_url",name:"honeypot",value:a.honeypot,onChange:g,tabIndex:-1,autoComplete:"off"})]}),(0,t.jsxs)("div",{className:r().formGrid,children:[(0,t.jsxs)("div",{className:r().inputGroup,children:[(0,t.jsx)("label",{htmlFor:"firstName",className:r().label,children:"First Name*"}),(0,t.jsx)("input",{type:"text",id:"firstName",name:"firstName",value:a.firstName,onChange:g,className:"".concat(r().input," ").concat(d.firstName?r().inputError:""),required:!0}),d.firstName&&(0,t.jsx)("span",{className:r().errorMessage,children:d.firstName})]}),(0,t.jsxs)("div",{className:r().inputGroup,children:[(0,t.jsx)("label",{htmlFor:"lastName",className:r().label,children:"Last Name*"}),(0,t.jsx)("input",{type:"text",id:"lastName",name:"lastName",value:a.lastName,onChange:g,className:"".concat(r().input," ").concat(d.lastName?r().inputError:""),required:!0}),d.lastName&&(0,t.jsx)("span",{className:r().errorMessage,children:d.lastName})]}),(0,t.jsxs)("div",{className:r().inputGroup,children:[(0,t.jsx)("label",{htmlFor:"email",className:r().label,children:"Email Address*"}),(0,t.jsx)("input",{type:"email",id:"email",name:"email",value:a.email,onChange:g,className:"".concat(r().input," ").concat(d.email?r().inputError:""),required:!0}),d.email&&(0,t.jsx)("span",{className:r().errorMessage,children:d.email})]}),(0,t.jsxs)("div",{className:r().inputGroup,children:[(0,t.jsx)("label",{htmlFor:"phone",className:r().label,children:"Phone Number*"}),(0,t.jsx)("input",{type:"tel",id:"phone",name:"phone",value:a.p
1hone,onChange:g,className:"".concat(r().input," ").concat(d.phone?r().inputError:""),required:!0}),d.phone&&(0,t.jsx)("span",{className:r().errorMessage,children:d.phone})]}),(0,t.jsxs)("div",{className:r().inputGroup,children:[(0,t.jsx)("label",{htmlFor:"country",className:r().label,children:"Country*"}),(0,t.jsxs)("select",{id:"country",name:"country",value:a.country,onChange:g,className:"".concat(r().input," ").concat(d.country?r().inputError:""),required:!0,children:[(0,t.jsx)("option",{value:"",children:"Select a country"}),s.od.map(a=>(0,t.jsx)("option",{value:a,children:a},a))]}),d.country&&(0,t.jsx)("span",{className:r().errorMessage,children:d.country})]}),(0,t.jsxs)("div",{className:r().inputGroup,children:[(0,t.jsx)("label",{htmlFor:"state",className:r().label,children:"Canada"===a.country?"Province*":"State*"}),(0,t.jsxs)("select",{id:"state",name:"state",value:a.state,onChange:g,className:"".concat(r().input," ").concat(d.state?r().inputError:""),required:!0,disabled:!a.country,children:[(0,t.jsx)("option",{value:"",children:"Canada"===a.country?"Select a province":"Select a state"}),("United States"===a.country?s.xv:"Canada"===a.country?s.oc:[]).map(a=>(0,t.jsx)("option",{value:a,children:a},a))]}),d.state&&(0,t.jsx)("span",{className:r().errorMessage,children:d.state})]}),(0,t.jsxs)("div",{className:r().inputGroup,children:[(0,t.jsx)("label",{htmlFor:"zipCode",className:r().label,children:"Canada"===a.country?"Postal Code*":"Zip Code*"}),(0,t.jsx)("input",{type:"text",id:"zipCode",name:"zipCode",value:a.zipCode,onChange:g,className:"".concat(r().input," ").concat(d.zipCode?r().inputError:""),required:!0}),d.zipCode&&(0,t.jsx)("span",{className:r().errorMessage,children:d.zipCode})]})]}),(0,t.jsxs)("div",{className:r().checkboxGroup,children:[(0,t.jsxs)("label",{className:r().checkboxLabel,children:[(0,t.jsx)("input",{type:"checkbox",name:"agreement",checked:a.agreement,onChange:g,className:r().checkbox}),(0,t.jsxs)("span",{className:r().checkboxText,children:["By providing a telephone number and submitting this form you are consenting to be contacted by SMS text message by Arrowquip about upcoming local events and sales collateral . Message & data rates may apply. You can reply STOP to opt-out of further messaging. You may opt-out by replying STOP or ask for more information by replying HELP. Message frequency varies. Message and data rates may apply. You may review our"," ",(0,t.jsx)("a",{href:"/privacy-policy",target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"})," ","to learn how your data is used."]})]}),d.agreement&&(0,t.jsx)("span",{className:r().errorMessage,children:d.agreement})]}),(0,t.jsx)("button",{type:"submit",disabled:n,"data-gtm-button":"product_catalog_download",className:"solidButton ".concat(r().submitButton," ").concat(n?r().submitting:""),children:n?"SUBMITTING...":"DOWNLOAD YOUR FREE CATALOG"}),(0,t.jsx)("input",{type:"hidden",name:"catalogcloudamp"})]})]})})]})}},42277:function(a,e,n){"use strict";n.d(e,{hU:function(){return r},oc:function(){return o},od:function(){return i},xv:function(){return t}});let t=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],o=["Alberta","British Columbia","Manitoba","New Brunswick","Newfoundland and Labrador","Northwest Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon"],i=["United States","Canada"],r=["United States","Canada","Afghanistan","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Asia/Pacific Region","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","British Virgin Islands","Brunei","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Cape Verde","Caribbean Netherlands","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Cook Islands","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Cura\xe7ao","Cyprus","Czech Republic","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","East Timor","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Europe","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern and Antarctic Lands","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macau","Macedonia (FYROM)","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar (Burma)","Namibia","Nauru","Nepal","Netherlands","Netherlands Antilles","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","North Korea","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn Islands","Poland","Portugal","Puerto Rico","Qatar","Romania","Russia","Rwanda","R\xe9union","Saint Barth\xe9lemy","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Martin","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","S
1amoa","San Marino","Sao Tome and Principe","Saudi Arabia","Scotland","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Korea","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard and Jan Mayen","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","U.S. Virgin Islands","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Vatican City","Venezuela","Vietnam","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe","\xc5land Islands"]},75247:function(a){a.exports={faqSection:"FAQSection_faqSection__GjpV_",container:"FAQSection_container__LnUyh",title:"FAQSection_title__YaQLv",faqList:"FAQSection_faqList__vecIM",faqItem:"FAQSection_faqItem__mw8_k",questionButton:"FAQSection_questionButton__7Naut",question:"FAQSection_question__ot_jX",answer:"FAQSection_answer__B4RQ2",icon:"FAQSection_icon__PKHdm",iconOpen:"FAQSection_iconOpen__VEV4d",answerContainer:"FAQSection_answerContainer__gzr85",answerOpen:"FAQSection_answerOpen__wf_aw",buttonContainer:"FAQSection_buttonContainer__KI6if",viewAllButton:"FAQSection_viewAllButton__CLHz3",contactButton:"FAQSection_contactButton__yavZX"}},55216:function(a){a.exports={container:"ProductCatalogDownload_container__5BFil",catalogImage:"ProductCatalogDownload_catalogImage__yNKFF",formSection:"ProductCatalogDownload_formSection__7ndfM",title:"ProductCatalogDownload_title__8A0lP",introDiv:"ProductCatalogDownload_introDiv__Fo298",description:"ProductCatalogDownload_description__FncoD",form:"ProductCatalogDownload_form__JX2dy",formGrid:"ProductCatalogDownload_formGrid__ZjAI2",inputGroup:"ProductCatalogDownload_inputGroup__Yz8C1",label:"ProductCatalogDownload_label__wffan",input:"ProductCatalogDownload_input__VE0jE",inputError:"ProductCatalogDownload_inputError___0QkB",errorMessage:"ProductCatalogDownload_errorMessage__wmRXT",checkboxGroup:"ProductCatalogDownload_checkboxGroup__op6Tq",checkboxLabel:"ProductCatalogDownload_checkboxLabel__kjNWT",checkbox:"ProductCatalogDownload_checkbox__3mXOV",checkboxText:"ProductCatalogDownload_checkboxText__By3vT",submitButton:"ProductCatalogDownload_submitButton__7IU7i",submitting:"ProductCatalogDownload_submitting__ZACeD",thankYouSection:"ProductCatalogDownload_thankYouSection__tS3Ug",thankYouContent:"ProductCatalogDownload_thankYouContent__gWtdQ",thankYouTitle:"ProductCatalogDownload_thankYouTitle__LlOFk",thankYouMessage:"ProductCatalogDownload_thankYouMessage__xtx0A",resetButton:"ProductCatalogDownload_resetButton__uEOaB",formContent:"ProductCatalogDownload_formContent__ZDDQK"}}}]);
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.