PageSourceSearch

https://www.canberratrucksgroup.com.au/113-970a941a3fbd18e90ca0.js

js canberratrucksgroup.com.au collected 2026-10-09 01:56:06 UTC 9,938 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[113],{7212:function(e,a,i){i.d(a,{i:function(){return l}});var o=i(19954),s=i(91785);const r={rbLogoWrapperDisplay:"flex",rbLogoWrapperFlexJustify:"flex-start",rbLogoWrapperFlexAlign:"center",rbLogoWrapperMargin:"10px 0",rbLogoTextSize:"13px",rbLogoTextLineHeight:"1",rbLogoTextLetterSpacing:"",rbLogoTextTransform:"uppercase",rbLogoColor:i(36557).X.black30,rbLogoSvgSize:"60px",rbLogoSvgFill:"#d33126",rbLogoSvgMarginLeft:"5px"},n=(0,s.AH)("display:",r.rbLogoWrapperDisplay,";justify-content:",r.rbLogoWrapperFlexJustify,";align-items:",r.rbLogoWrapperFlexAlign,";margin:",r.rbLogoWrapperMargin,";",""),t=(0,s.AH)("font-size:",r.rbLogoTextSize,";line-height:",r.rbLogoTextLineHeight,";letter-spacing:",r.rbLogoTextLetterSpacing,";text-transform:",r.rbLogoTextTransform,";color:",r.rbLogoColor,";",""),d=(0,s.AH)("width:",r.rbLogoSvgSize,";fill:",r.rbLogoSvgFill,";margin-left:",r.rbLogoSvgMarginLeft,";",""),l=({redbookLogoWrapperCustom:e})=>(0,s.Y)("div",{css:[n,e,""]},(0,s.Y)("span",{css:t},"Powered by"),(0,s.Y)(o.m,{className:"classIconSvg",name:"stockIconRedbookLogo",css:d}))},50113:function(e,a,i){i.r(a),i.d(a,{FormDynamicValuationSummary:function(){return Z}});var o=i(63696),s=i(76205),r=i(4507),n=i(19954),t=i(72407),d=i(74447),l=i(65658),c=i(79124),g=i(44938),m=i(51089),f=i(79511),v=i(49317),x=i(91976),u=i(41129),p=i(95759),h=i(39100);const H=(0,p.vt)((0,h.Zr)((e=>({valuationVehicleInfo:null,valuationResult:null,setTradeInInfo:({valuationVehicleInfo:a,valuationResult:i})=>e({valuationVehicleInfo:a,valuationResult:i}),clearTradeInInfo:()=>e({valuationVehicleInfo:null,valuationResult:null})})),{name:"user-trade-in-info",storage:(0,h.KU)((()=>localStorage)),partialize:e=>({valuationVehicleInfo:e.valuationVehicleInfo,valuationResult:e.valuationResult})}));var b=i(43346),V=i(36086),S=i(7212),L=i(91785),D=i(19217),T=i(79579),I=i(28405),k=i(85437);const C=(0,L.AH)(">*+*{margin-block-start:",k.c.gapMedium,";}",""),y=(0,L.AH)(T.x.fdvsVdWrapper,";padding:",T.x.fdvsVdWrapperPadding,";text-align:",T.x.fdvsVdWrapperTextAlign,";>*+*{margin-block-start:",I.h.formVerticalRhythmMobile,";}",""),A=(0,L.AH)(T.x.fdvsVdSubHeadingFontStack,";font-size:",T.x.fdvsVdSubHeadingSize,";line-height:",T.x.fdvsVdSubHeadingLineHeight,";letter-spacing:",T.x.fdvsVdSubHeadingLetterSpacing,";text-transform:",T.x.fdvsVdSubHeadingTransform,";color:",T.x.fdvsVdSubHeadingCol,";margin:0;",""),_=(0,L.AH)(T.x.fdvsVdHeadingFontStack,";font-size:",T.x.fdvsVdHeadingSize,";line-height:",T.x.fdvsVdHeadingLineHeight,";letter-spacing:",T.x.fdvsVdHeadingLetterSpacing,";text-transform:",T.x.fdvsVdHeadingTransform,";color:",T.x.fdvsVdHeadingCol,";margin-block-end:0;",""),z=(0,L.AH)("display:flex;justify-content:",T.x.fdvsVdListFlexJustify,";align-items:center;flex-wrap:wrap;gap:",T.x.fdvsVdListGap,";padding:0;margin-block-end:0;",""),W=(0,L.AH)("display:flex;align-items:center;gap:",T.x.fdvsVdItemGap,";",""),Y=(0,L.AH)(T.x.fdvsVdItemFontStack,";font-size:",T.x.fdvsVdItemTextSize,";line-height:",T.x.fdvsVdItemTextLineHeight,";letter-spacing:",T.x.fdvsVdItemTextLetterSpacing,";text-transform:",T.x.fdvsVdItemTextTransform,";color:",T.x.fdvsVdItemTextCol,";",""),F=(0,L.AH)("width:",T.x.fdvsVdItemIconSize,";height:",T.x.fdvsVdItemIconSize,";fill:",T.x.fdvsVdItemIconFill,";",""),R=(0,L.AH)(T.x.fdvsVeWrapper,";padding:",T.x.fdvsVeWrapperPadding,";text-align:",T.x.fdvsVeWrapperTextAlign,";>*+*{margin-block-start:",I.h.formVerticalRhythmMobile,";}",""),N=(0,L.AH)(T.x.fdvsVeHeadingFontStack,";font-size:",T.x.fdvsVeHeadingSize,";line-height:",T.x.fdvsVeHeadingLineHeight,";letter-spacing:",T.x.fdvsVeHeadingLetterSpacing,";text-transform:",T.x.fdvsVeHeadingTransform,";color:",T.x.fdvsVeHeadingCol,";background-color:",T.x.fdvsVeHeadingBgCol,";border-radius:",T.x.fdvsVeHeadingRadius,";padding:",T.x.fdvsVeHeadingPadding,";margin-block-end:0;sup{font-size:0.7em;vertical-align:top;}",""),P=(0,L.AH)(T.x.fdvsVeSubHeadingFontStack,";font-size:",T.x.fdvsVeSubHeadingSize,";line-height:",T.x.fdvsVeSubHeadingLineHeight,";letter-spacing:",T.x.fdvsVeSubHeadingLetterSpacing,";text-transform:",T.x.fdvsVeSubHeadingTransform,";color:",T.x.fdvsVeSubHeadingCol,";margin-block-end:0;",""),w=(0,L.AH)(T.x.fdvsVeTextFontStack,";font-size:",T.x.fdvsVeTextSize,";line-height:",T.x.fdvsVeTextLineHeight,";letter-spacing:",T.x.fdvsVeTextLetterSpacing,";text-transform:",T.x.fdvsVeTextTransform,";color:",T.x.fdvsVeTextCol,";margin-block-end:0;",""),B=(0,L.AH)("margin:auto;width:",T.x.fdvsVeInvalidIconSize,";height:",T.x.fdvsVeInvalidIconSize,";fill:",T.x.fdvsVeInvalidIconFill,";",""),M=(0,L.AH)("justify-content:",T.x.fdvsVeRedbookLogoWrapperJustify,";transform-origin:",T.x.fdvsVeRedbookLogoWrapperOrigin,";transform:scale(",T.x.fdvsVeRedbookLogoWrapperScale,");margin-block-end:0;",""),$=(0,L.AH)("",""),E=(0,L.AH)(D.x.fdvsDisclaimerDetailsCardWrapper,";background-color:",D.x.fdvsDisclaimerDetailsBgCol,";border:",D.x.fdvsDisclaimerDetailsBorder,";box-shadow:",D.x.fdvsDisclaimerDetailsBoxShadow,";border-radius:",D.x.fdvsDisclaimerDetailsRadius,";",""),J=(0,L.AH)("border:none;border-top:",D.x.fdvsDisclaimerSummaryBorderTop,";background-color:",D.x.fdvsDisclaimerSummaryBgCol,";padding-block:",D.x.fdvsDisclaimerSummaryPaddingBlock,";transition:border-color 150ms ease-in-out,background-color 150ms ease-in-out;&:hover{border-color:",D.x.fdvsDisclaimerSummaryHoverBorderTopCol,";background-color:",D.x.fdvsDisclaimerSummaryHoverBgCol,";}",""),j=(0,L.AH)("",""),G=(0,L.AH)(D.x.fdvsDisclaimerHeadingFontStack,";font-size:",D.x.fdvsDisclaimerHeadingSize,";line-height:",D.x.fdvsDisclaimerHeadingLineHeight,";text-transform:",D.x.fdvsDisclaimerHeadingTransform,";letter-spacing:",D.x.fdvsDisclaimerHeadingLetterSpacing,";color:",D.x.fdvsDisclaimerHeadingCol,";padding-inline-start:",D.x.fdvsDisclaimerHeadingPaddingLeft,";transition:color 150ms ease-in-out;&::before,&::after{background-color:",D.x.fdvsDisclaimerHeadingSymbolCol,";transition:background-color 150ms ease-in-out;left:0;.classAnSummary:hover &{background-color:",D.x.fdvsDisclaimerHoverHeadingSymbolCol,";}.classNotContained &{left:0;}}.classAnSummary:hover &{color:",D.x.fdvsDisclaimerHoverHeadingCol,";}.classNotContained &{padding-inline-start:",D.x.fdvsDisclaimerHeadingPaddingLeft,";}",""),K=(0,L.AH)("border-top:",D.x.fdvsDisclaimerWrapperBorderTop,";",""),O=(0,L.AH)("padding-inline:",D.x.fdvsDisclaimerPaddingInline,";padding-block:",D.x.fdvsDisclaimerPaddingBlock,";max-width:",D.x.fdvsDisclaimerMaxWidth,";*+*{margin-block-start:",D.x.fdvsDisclaimerItemsGapTop,";}",""),Q=(0,L.AH)(D.x.fdvsVeDisclaimerFontStack,";font-size:",D.x.fdvsVeDisclaimerTextSize,";line-height:",D.x.fdvsVeDisclaimerTextLineHeight,";text-transform:",D.x.fdvsVeDisclaimerTextTransform,";letter-spacing:",D.x.fdvsVeDisclaimerTextLetterSpacing,";text-align:",D.x.fdvsVeDisclaimerTextAlign,";p{color:",D.x.fdvsVeDisclaimerTextCol,";}",""),Z=({formName:e,currentStep:a,isSubmitBtnHidden:i,formPayload:p})=>{const{state:h}=(0,x.a)(),D=H((e=>e.setTradeInInfo)),{pricing:T}=(0,b.V)(),{valuationVehicleInfo:I,valuationResult:k}=h,{odometer:Z,registration:q,vehicleCondition:U,vehicleDescription:X}=I||{},{isPriceValid:ee,priceSingle:ae,priceRangeLow:ie,priceRangeHigh:oe,isRangePriceEqual:se}=k||{},{singlePriceDisclaimer:re,rangePriceDisclaimer:ne,priceDisplay:te}=T||{},de=(0,u.Lg)(d.fD),le=(0,v.Nq)(),ce="single"===te?re:ne,ge=[{label:"Registration",value:q,svgIconName:"stockIconRegistrationPlate"},{label:"Odometer",value:Z?`${me=Number(Z),me.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")} km`:"",svgIconName:"stockIconFeatureKms"},{label:"Condition",value:U?`${l.Sl[U].text} Condition`:"",svgIconName:"stockIconFeatureCondition"}];var me;return(0,o.useEffect)((()=>{var o,s,r,n;i&&(null!=k&&k.isPriceValid&&D({valuationVehicleInfo:I,valuationResult:k}),(0,c.$)("Hard Lead","Trade Valuation Form"),(0,f.JP)(),(0,m.QY)({eventName:t.R.formSubmission,eventInfo:{form_name:e,form_step_name:"submitted",form_step_number:`step-${a}`,user_hashed_fname:null==de?void 0:de.firstNameHashed,user_hashed_lname:null==de?void 0:de.lastNameHashed,user_hashed_email:null==de?void 0:de.emailHashed,user_hashed_phone:null==de?void 0:de.phoneHashed,user_state:null===(o=p.formData)||void 0===o?void 0:o[le.state],user_postcode:null===(s=p.formData)||void 0===s?void 0:s[le.postcode]}}),(0,m.QY)({eventName:t.R.formSuccess,eventInfo:{form_name:e,form_step_name:"confirmation",form_step_number:`step-${a}`,user_hashed_fname:null==de?void 0:de.firstNameHashed,user_hashed_lname:null==de?void 0:de.lastNameHashed,user_hashed_email:null==de?void 0:de.emailHashed,user_hashed_phone:null==de?void 0:de.phoneHashed,user_state:null===(r=p.formData)||void 0===r?void 0:r[le.state],user_postcode:null===(n=p.formData)||void 0===n?void 0:n[le.postcode]}}))}),[]),(0,L.Y)("div",{css:C},(0,L.Y)("div",{css:y},(0,L.Y)("h4",{css:A},l.EV.vehicleDescriptionHeadingText),(0,L.Y)("h3",{css:_},X),(0,L.Y)("ul",{css:z},ge.map((e=>e.value&&(0,L.Y)("li",{key:e.value,className:`class${e.label}`,css:W},(0,L.Y)(n.m,{className:"classIconSvg",css:F,name:e.svgIconName}),(0,L.Y)("span",{css:Y},e.value)))))),(0,L.Y)("div",{css:R},!!ee&&(0,L.Y)(o.Fragment,null,(0,L.Y)("h3",{css:P},l.EV.resultHeadingText),(0,L.Y)("h2",{css:N},(0,g.Z)(ae||ie),oe&&!se&&` - ${(0,g.Z)(Number(oe))}`,(0,L.Y)("sup",null,"*")),(0,L.Y)("p",{css:w},l.EV.resultText),(0,L.Y)(S.i,{redbookLogoWrapperCustom:M}),!!ce&&(0,L.Y)(V.Q,{accordionComponentName:"form-dynamic-valuation-summary",accordionNativeWrapperCustom:$,anDetailsCustom:E,anSummaryCustom:J,anHeadingWrapperCustom:j,anHeadingCustom:G,anContentPaneWrapperCustom:K,anContentTextWrapperCustom:O,
1summaryHeading:"Disclaimers"},(0,L.Y)(s.$,{css:Q},ce))),!ee&&(0,L.Y)(o.Fragment,null,(0,L.Y)(r.K,{className:"classIconSvg",css:B,name:"iconDollarOff"}),(0,L.Y)("h3",{css:P},l.EV.errorMessageHeadingText),(0,L.Y)("p",{css:w},l.EV.errorMessageText))))}}}]);

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.