PageSourceSearch

https://largelifttrucks.com/8508-7ab4bec33da1288ed94a.js

js largelifttrucks.com collected 2026-09-29 05:32:43 UTC 4,895 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8508],{48508:function(e,a,s){s.r(a),s.d(a,{FormStockDetailsDynamicQuickEnquiry:function(){return T}});var t=s(63696),l=s(23224),o=s(51149),m=s(10898),i=s(93620),r=s(17972),n=s(97074),c=s(38991),u=s(74447),d=s(79124),p=s(79511),h=s(6095),C=s(34995),b=s(9546),k=s(41129),g=s(18031),N=s(37771),v=s(52678),F=s(78887),f=s(98335),S=s(46035),I=s(15063),Y=s(74510),y=s(19443),q=s(19951),R=s(21863),w=s(32120),E=s(92379),L=s(19023),x=s(4575),D=s(91785);const T=e=>{let{formId:a,formHeading:s="",stockDetails:T,imFormBackgroundWrapperCustom:M,imFormWrapperCustom:V,imFormHeadingCustom:j,imFormInputRowCustom:O}=e;const{t:H}=(0,l.Bd)(),{formStockDetailsSimple:P,sectionFooter:K}=r.U,{archived:A,id:Q,make:W,model:$,variations:B,year:U}=T||{},z=A?"Find Me Something Similar":"Quick "+H("Enquiry"),{0:J,1:Z}=(0,t.useState)({}),{0:_,1:G}=(0,t.useState)(!1),{0:X,1:ee}=(0,t.useState)(!1),{0:ae,1:se}=(0,t.useState)(!1),te=n.ec.FormStockDetailsSimple,{formShortName:le}=te,{alternativeLegalText:oe}=K,{isFooterLegalHeading:me,isMarketing:ie,isMarketingChecked:re,isMarketingRequired:ne,isTerms:ce,isTermsChecked:ue,isTermsRequired:de,isAlternativeLegalText:pe}=P,he=Object.assign({},ie&&{marketing:re},ce&&{terms:ue}),Ce=(0,t.useId)(),[be,ke]=(0,k.Mj)(u.fD,{}),{0:ge,1:Ne}=(0,t.useState)(Object.assign({},he)),{0:ve,1:Fe}=(0,t.useState)(""),fe=e=>{"string"!=typeof e&&ke((a=>Object.assign({},a,e)))},Se=e=>{"object"==typeof e&&Ne(Object.assign({},ge,e))},Ie=()=>{se(!1),ee(!1),Fe(""),Ne(Object.assign({},he))},Ye=(0,h._)([U,W,$,B]," "),ye={componentName:c.k$.form,modelName:Ye},{handleReCaptchaVerify:qe,recaptchaReady:Re,isLoading:we}=(0,g.V)((async()=>{ee(!0);const e=Object.values(J)&&Object.values(J).reduce(((e,a)=>e||a),!1);G(e),e||((0,d.$)("Hard Lead","Stock Quick Enquiry"),(0,C.t)({formId:parseInt(a,10),formShortName:le,variableData:ye}),(0,p.JP)(T),(0,p.tZ)(T),se(!0))})),Ee=(0,b.x)();return(0,D.Y)(t.Fragment,null,(0,D.Y)("div",{css:M},(0,D.Y)("div",{css:[f.cU,V,""]},(0,D.Y)("form",{className:"classSdFormSimple",css:f.ao,name:le,id:le,acceptCharset:"utf-8",onSubmit:e=>{e.preventDefault(),qe()}},(0,D.Y)(L.h,{formOnPage:!0,isSubmitted:X,isFormErrorStatus:_,imFormHeadingCustom:j},s||H(z,{Enquiry:H("Enquiry")})),(0,D.Y)("div",{className:"classImFormInputRow",css:[F.lp,O,""]},(0,D.Y)(q.InputLabelNestedControlled,{isRequired:!0,idName:"formSdEnqFullName-"+Ce,typeName:"text",placeholder:"Full Name",inputValue:be.fullName||"",inputValueKey:"fullName",handleChange:fe},"Full Name")),(0,D.Y)("div",{className:"classImFormInputRow",css:[F.lp,O,""]},(0,D.Y)(q.InputLabelNestedControlled,{isRequired:!0,idName:"formSdEnqEmail-"+Ce,typeName:"email",placeholder:"Email Address",inputValue:be.email||"",inputValueKey:"email",handleChange:fe},"Email")),(0,D.Y)("div",{className:"classImFormInputRow",css:[F.lp,O,""]},(0,D.Y)(q.InputLabelNestedControlled,{isRequired:!0,className:(Le="phone",_&&J[Le]?"classFormError":""),idName:"formSdEnqPhone-"+Ce,typeName:"tel",placeholder:"Phone Number",inputValue:be.phone||"",inputValueKey:"phone",handleChange:fe,validationRequired:!0,validateFieldType:"phone",handleErrors:Z},"Phone Number")),(0,D.Y)("div",{className:"classImFormInputRow",css:[F.lp,O,""]},(0,D.Y)(R.F,{buttonLabelText:"Click to Add Comments",value:ve,onChange:e=>Fe(e.target.value)})),me&&(0,D.Y)(x.FormSectionHeading,null,"Additional Information"),ie&&(0,D.Y)("div",{className:"classImFormInputRow",css:[F.lp,O,""]},(0,D.Y)(S.CheckboxLabelNestedControlled,{imFormCheckLabelCustom:y.Dq,imFormCheckTextCustom:y.es,idName:"formSdEnqMarketing-"+Ce,isRequired:ne,checkValue:null==ge?void 0:ge.marketing,handleChange:Se,checkValueKey:"marketing"},(0,D.Y)(I.CheckboxMarketingLabelContent,null))),ce&&(0,D.Y)("div",{className:"classImFormInputRow",css:[F.lp,O,""]},(0,D.Y)(S.CheckboxLabelNestedControlled,{imFormCheckLabelCustom:y.Dq,imFormCheckTextCustom:y.es,idName:"formSdEnqTerms-"+Ce,isRequired:de,checkValue:null==ge?void 0:ge.terms,handleChange:Se,checkValueKey:"terms"},(0,D.Y)(Y.CheckboxTermsPrivacyLabelContent,{customText:K.termsTextCustom}))),pe&&oe&&(0,D.Y)("div",{css:y.H8},(0,D.Y)(i.$,{disallowedElements:["p","div"],unwrapDisallowed:!0},oe)),(0,D.Y)("div",{className:"classImFormInputRow",css:[F.lp,O,""]},(0,D.Y)("button",{css:[v.vS,v.QM,""],type:"submit","aria-label":"Submit",disabled:!Ee||we||!1===Re},"Submit")),(0,D.Y)("div",{className:"classImFormInputRow",css:F.lp},(0,D.Y)(E.t,{fsCaptchaDisclaimerCustom:F.mc}
1))))),(0,D.Y)(N.a,{modalClassName:"classModalWrapperMessage",modalShowed:ae,closeModal:Ie},(0,D.Y)(w.C,{formShortName:le,getFormData:()=>{const e=Object.assign({formId:parseInt(a,10),fullName:null==be?void 0:be.fullName,phone:null==be?void 0:be.phone,email:null==be?void 0:be.email,comments:ve,make:W,model:$,badge:B,year:U,stockId:Q},ge);return(0,o.z)(e,m.Po)},closeMessage:Ie})));var Le}}}]);

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.