1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5150],{5150:function(n,e,t){t.r(e),t.d(e,{default:function(){return R}});var i=t(7997),o=t(1720),r=t(9337),a=t(7297),c=t(1026),d=t(8099),l=t(1686),h=t(8193);function Z(){var n=(0,a.Z)(["\n position: fixed;\n overflow: hidden;\n width: 100%;\n height: 100%;\n z-index: 999;\n top: 0;\n left: 0;\n background: rgba(0, 0, 0, 0.6);\n"]);return Z=function(){return n},n}function f(){var n=(0,a.Z)(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n background: transparent;\n width: 100%;\n height: 100%;\n"]);return f=function(){return n},n}function s(){var n=(0,a.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: ",";\n background: #fff;\n max-width: ",";\n min-height: ",";\n width: ",";\n padding: "," ",";\n border-radius: ",";\n "," {\n max-width: ",";\n min-height: ",";\n width: ",";\n height: ",";\n padding: "," ",";\n }\n "," {\n max-width: ",";\n min-height: ",";\n margin-top: ",";\n "," {\n margin-top: ",";\n }\n span {\n font-family: 'Roboto';\n font-size: ",";\n font-weight: 700;\n line-height: ",";\n text-align: center;\n }\n }\n [data-submit-guard='target'] {\n display: flex;\n justify-content: center;\n width: 100%;\n max-width: ",";\n min-height: ",";\n margin-top: ",";\n\n "," {\n margin-top: 0;\n }\n }\n"]);return s=function(){return n},n}function u(){var n=(0,a.Z)(["\n font-family: 'Roboto';\n font-size: ",";\n font-weight: 800;\n line-height: ",";\n text-align: left;\n color: #202020;\n "," {\n font-size: ",";\n line-height: ",";\n }\n"]);return u=function(){return n},n}function g(){var n=(0,a.Z)(["\n font-family: 'Roboto';\n font-size: ",";\n font-weight: 400;\n line-height: ",";\n text-align: center;\n color: #202020;\n padding: 0 ",";\n margin-top: ",";\n br {\n display: none;\n }\n "," {\n padding: 0;\n br {\n display: block;\n }\n line-height: ",";\n }\n"]);return g=function(){return n},n}function p(){var n=(0,a.Z)(["\n display: flex;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n gap: ",";\n width: fit-content;\n min-height: ",";\n background: transparent;\n border: none;\n box-shadow: none;\n span {\n font-family: 'Roboto';\n font-size: ",";\n font-weight: 400;\n line-height: ",";\n text-align: center;\n color: #202020;\n }\n svg {\n width: ",";\n height: ",";\n transform: rotate(-90deg);\n }\n "," {\n margin-top: ",";\n }\n"]);return p=function(){return n},n}var m=l.ZP.div.withConfig({componentId:"sc-aae2ebe8-0"})(Z()),w=l.ZP.div.withConfig({componentId:"sc-aae2ebe8-1"})(f()),b=l.ZP.div.withConfig({componentId:"sc-aae2ebe8-2"})(s(),(0,d.Z)(12),(0,d.Z)(337),(0,d.Z)(304),(0,d.Z)(337),(0,d.Z)(24),(0,d.Z)(21),(0,d.Z)(9),(0,c.Z)("md"),(0,d.Z)(601),(0,d.Z)(342),(0,d.Z)(601),(0,d.Z)(342),(0,d.Z)(51),(0,d.Z)(61),h.W,(0,d.Z)(309),(0,d.Z)(54),(0,d.Z)(8),(0,c.Z)("md"),(0,d.Z)(20),(0,d.Z)(18),(0,d.Z)(21.09),(0,d.Z)(309),(0,d.Z)(54),(0,d.Z)(8),h.W),v=l.ZP.span.withConfig({componentId:"sc-aae2ebe8-3"})(u(),(0,d.Z)(22),(0,d.Z)(34),(0,c.Z)("md"),(0,d.Z)(24),(0,d.Z)(30)),_=l.ZP.span.withConfig({componentId:"sc-aae2ebe8-4"})(g(),(0,d.Z)(18),(0,d.Z)(28),(0,d.Z)(10),(0,d.Z)(-9),(0,c.Z)("md"),(0,d.Z)(30)),P=l.ZP.button.withConfig({componentId:"sc-aae2ebe8-5"})(p(),(0,d.Z)(10),(0,d.Z)(44),(0,d.Z)(16),(0,d.Z)(18.75),(0,d.Z)(13),(0,d.Z)(13),(0,c.Z)("md"),(0,d.Z)(10)),E=t(7714);function x(){var n=(0,a.Z)([" \n .s3-header-style {\n z-index: 10;\n }\n :root {\n overflow: hidden;\n }\n body {\n overflow: hidden;\n }\n"]);return x=function(){return n},n}var y=(0,l.vJ)(x()),C=t(5269),k=t(5778),D=t(9594),L=t(5416),A=t(782),I=t(7847),R=function(n){var e=n.confirmAll,t=n.skip,a=n.totalSelected,c=n.totalDealers,d=n.setStShow,l=n.loading,h=a>1?"s":"",Z=((0,L.Z)(),(0,I.s)());return(0,o.useEffect)((function(){var n={event:k.G.DEALERS_MODAL_IMPRESSION};(0,D.LQ)(n,!0)}),[]),(0,I.v)(A.w.DEALER_POP_UP_IMPRESSION),(0,i.BX)(i.HY,{children:[(0,i.tZ)(y,{}),(0,i.tZ)(m,{children:(0,i.tZ)(w,{onClick:function(){return d(!1)},children:(0,i.tZ)(i.HY,{children:(0,i.BX)(b,{id:"dealer-popup-card",onClick:function(n){n.stopPropagation()},children:[(0,i.tZ)(v,{children:"Get the Best Discount"}),(0,i.tZ)(_,{id:"dealer-popup-selectedcount",children:"We noticed you only selected ".concat(a," dealer").concat(h,". ")}),(0,i.tZ)(_,{children:"Get the best price by selecting all dealers."}),(0,i.tZ)(E.Z,{children:(0,i.tZ)(r.Z,{id:"submit-form-btn",handlerClick:function(){var n={event:k.G.DEALERS_MODAL_ACCEPTED,dealers_selected:c};(0,D.LQ)(n),Z(A.w.DEALER_POP_UP_ACCEPTED,{dealers_selected_modal:c}),e&&e()},loading:l,children:"Yes, give me the best price"})}),(0,i.tZ)(E.Z,{children:(0,i.BX)(P,{id:"skip-btn",onClick:function(n){var e={event:k.G.DEALERS_MODAL_SKIPPED,dealers_selected:a};(0,D.LQ)(e),Z(A.w.DEALER_POP_UP_SKIPPED,{dealers_selected_modal:0}),t&&t(n)},children:[(0,i.tZ)("span",{children:"Just proceed with ".concat(a," dealer").concat(h)}),(0,i.tZ)(C.Z,{})]})})]})})})})]})}},5269:function(n,e,t){var i=t(7997);e.Z=function(){return(0,i.tZ)("svg",{viewBox:"0 0 17.549 10.039",children:(0,i.tZ)("path",{d:"M.156 1.328a.391.391 0 0 0 0 .625l8.32 7.969a.475.475 0 0 0 .625 0l8.32-7.969q.273-.273-.039-.625L16.211.156a.391.391 0 0 0-.625 0l-6.8 6.523-6.8-6.523a.391.391 0 0 0-.625 0Z"})})}}}]);
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.