_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[97],{"/0+H":function(e,t,n){"use strict";t.__esModule=!0,t.isInAmpMode=i,t.useAmp=function(){return i(a.default.useContext(o.AmpStateContext))};var r,a=(r=n("q1tI"))&&r.__esModule?r:{default:r},o=n("lwAK");function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,a=void 0!==r&&r,o=e.hasQuery,i=void 0!==o&&o;return n||a&&i}},"0Z55":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/finance",function(){return n("7SgC")}])},"48fX":function(e,t,n){var r=n("qhzo");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},"5fIB":function(e,t,n){var r=n("7eYB");e.exports=function(e){if(Array.isArray(e))return r(e)}},"7SgC":function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return _}));var r=n("MX0m"),a=n.n(r),o=n("q1tI"),i=n.n(o),c=n("g4pe"),s=n.n(c),u=n("W2TS"),l=n("7pfN"),p=(n("whG/"),n("+3Pe")),f=n("b2s0"),d=n("4gQ6"),m=n("nthW"),h=n("F3qN"),v=n("3YpY"),g=n("aBwN"),y=n("YFqc"),b=n.n(y),x=void 0,j=i.a.createElement,_=!0;t.default=Object(d.a)((function(e){var t=e.models,n=e.modelOptions,r=e.priceList,c=e.reqHost,d=Object(o.useState)(!1),y=d[0],_=d[1],w=Object(o.useState)(t),O=w[0],S=w[1],M=Object(o.useState)({}),N=M[0],k=M[1],P=Object(o.useState)(""),C=P[0],I=P[1],A=Object(o.useState)(""),E=A[0],V=A[1];Object(o.useEffect)((function(){window.scrollTo(0,0)}),[]),Object(o.useEffect)((function(){var e=JSON.parse(JSON.stringify(t));N.model&&N.model.id&&(e=e.filter((function(e){return e.id==N.model.id}))),N.price&&(e=e.filter((function(e){var t=e.variants.filter((function(e){return e.starting_price_amount>=N.price.min&&e.starting_price_amount<=N.price.max}));return t.length>0&&(e.variants=t,!0)}))),S(e)}),[N]);var H=function(e,t){I(e),V(t),_(!0)};return j(i.a.Fragment,null,j(s.a,null,j("title",{className:"jsx-2422471562"},"Vespa - \u0e40\u0e1b\u0e23\u0e35\u0e22\u0e1a\u0e40\u0e17\u0e35\u0e22\u0e1a\u0e23\u0e32\u0e04\u0e32\u0e41\u0e25\u0e30\u0e15\u0e32\u0e23\u0e32\u0e07\u0e1c\u0e48\u0e2d\u0e19\u0e40\u0e27\u0e2a\u0e1b\u0e49\u0e32\u0e41\u0e1a\u0e1a\u0e2a\u0e1a\u0e32\u0e22\u0e46 \u0e44\u0e14\u0e49\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48"),j("meta",{name:"title",content:"Vespa - \u0e40\u0e1b\u0e23\u0e35\u0e22\u0e1a\u0e40\u0e17\u0e35\u0e22\u0e1a\u0e23\u0e32\u0e04\u0e32\u0e41\u0e25\u0e30\u0e15\u0e32\u0e23\u0e32\u0e07\u0e1c\u0e48\u0e2d\u0e19\u0e40\u0e27\u0e2a\u0e1b\u0e49\u0e32\u0e41\u0e1a\u0e1a\u0e2a\u0e1a\u0e32\u0e22\u0e46 \u0e44\u0e14\u0e49\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48",className:"jsx-2422471562"}),j("meta",{name:"description",content:"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e2a\u0e38\u0e14\u0e1e\u0e34\u0e40\u0e28\u0e29 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e27\u0e2a\u0e1b\u0e49\u0e32\u0e17\u0e38\u0e01\u0e23\u0e38\u0e48\u0e19 \u0e44\u0e21\u0e48\u0e27\u0e48\u0e32\u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e23\u0e38\u0e48\u0e19 Vespa LX , Vespa S , Vespa PRIMAVERA , Vespa SPRINT , Vespa GTS \u0e41\u0e25\u0e30 Vespa GIORNI",className:"jsx-2422471562"}),j("meta",{property:"og:title",content:"Vespa - \u0e40\u0e1b\u0e23\u0e35\u0e22\u0e1a\u0e40\u0e17\u0e35\u0e22\u0e1a\u0e23\u0e32\u0e04\u0e32\u0e41\u0e25\u0e30\u0e15\u0e32\u0e23\u0e32\u0e07\u0e1c\u0e48\u0e2d\u0e19\u0e40\u0e27\u0e2a\u0e1b\u0e49\u0e32\u0e41\u0e1a\u0e1a\u0e2a\u0e1a\u0e32\u0e22\u0e46 \u0e44\u0e14\u0e49\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48",className:"jsx-2422471562"}),j("meta",{property:"og:description",content:"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e2a\u0e38\u0e14\u0e1e\u0e34\u0e40\u0e28\u0e29 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e27\u0e2a\u0e1b\u0e49\u0e32\u0e17\u0e38\u0e01\u0e23\u0e38\u0e48\u0e19 \u0e44\u0e21\u0e48\u0e27\u0e48\u0e32\u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e23\u0e38\u0e48\u0e19 Vespa LX , Vespa S , Vespa PRIMAVERA , Vespa SPRINT , Vespa GTS \u0e41\u0e25\u0e30 Vespa GIORNI",className:"jsx-2422471562"}),j("meta",{property:"og:url",content:"".concat(c,"/finance"),className:"jsx-2422471562"}),j("meta",{property:"og:type",content:"page",className:"jsx-2422471562"}),j("meta",{property:"og:image",content:"https://img.vespa.co.th/media/images/og/vespa_logo.jpg",className:"jsx-2422471562"})),j(m.b,null,j(u.a,null),j("main",{role:"main",className:"jsx-2422471562 main"},j(h.b,null,j("div",{className:"jsx-2422471562 section-content custom-title-wrap"},j("h2",{className:"jsx-2422471562 main-title custom-title"},j("span",{className:"jsx-2422471562 custom-title-link-text"},"\u0e15\u0e32\u0e23\u0e32\u0e07\u0e1c\u0e48\u0e2d\u0e19\u0e0a\u0e4d\u0e32\u0e23\u0e30 / \u0e04\u0e4d\u0e32\u0e19\u0e27\u0e13\u0e04\u0e48\u0e32\u0e07\u0e27\u0e14")),j("h3",{className:"jsx-2422471562 model-title custom-title black"},j("span",{className:"jsx-2422471562 wbr"},"\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\xa0"),j(b.a,{href:"https://cdn.vespa.co.th/media/pdf/vespa_finance_125_150.pdf"},j("a",{target:"_blank","data-adobe_text":"pdf-125/150cc",className:"jsx-2422471562 custom-title-link"},"125/150cc")),j("span",{className:"jsx-2422471562 wbr"},"\xa0\u0e2b\u0e23\u0e37\u0e2d\xa0"),j(b.a,{href:"https://cdn.vespa.co.th/media/pdf/vespa_finance_300_new.pdf"},j("a",{target:"_blank","data-adobe_text":"pdf-300cc",className:"jsx-2422471562 custom-title-link"},"300cc")),j("span",{className:"jsx-2422471562 custom-title-text"},"\u0e2b\u0e23\u0e37\u0e2d \u0e40\u0e25\u0e37\u0e2d\u0e01\u0e04\u0e33\u0e19\u0e27\u0e13\u0e04\u0e48\u0e32\u0e07\u0e27\u0e14\u0e15\u0e32\u0e21\u0e43\u0e08\u0e04\u0e38\u0e13"))),j(p.a,{modelOptions:n,priceList:r,onSearchChange:function(e){k(e)}}),O.length>0?null===O||void 0===O?void 0:O.map((function(e){return j("section",{key:e.name,className:"jsx-2422471562 section section-finance-model-lineup"},j("div",{className:"jsx-2422471562 section-content"},j(f.a,{model:e,modalSelected:H.bind(x)})))})):j("p",{className:"jsx-2422471562 no-content"},"\u0e44\u0e21\u0e48\u0e1e\u0e1a\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32"),y&&j(v.a,null,j(g.a,{model:C,variant:E,onOpenModal:function(){_(!1)}.bind(x)})))),j(l.a,null)),j(a.a,{id:"2422471562"},[".section-finance-model-lineup.jsx-2422471562 .section-content.jsx-2422471562{margin-top:80px;display:block;}",".no-content.jsx-2422471562{font-weight:500;font-size:20px;color:var(--color-midgrey);text-align:center;line-height:17px;padding:3rem;}",".custom-title.jsx-2422471562{display:block;margin-bottom:0px;font-weight:400;font-family:var(--font-custom-cond);line-height:1.22em;color:#3fb4e5;margin-bottom:16px;}",".custom-title.jsx-2422471562:last-child{margin-bottom:0;}",".custom-title.black.jsx-2422471562{color:var(--color-grey);line-height:1.44em;}",".custom-title-link.jsx-2422471562{-webkit-text-decoration:underline;text-decoration:underline;color:inherit;}"]))}))},"8Kt/":function(e,t,n){"use strict";var r=n("oI91");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.__esModule=!0,t.defaultHead=f,t.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n("q1tI")),c=(o=n("Xuae"))&&o.__esModule?o:{default:o},s=n("lwAK"),u=n("FYa8"),l=n("/0+H");function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[i.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(i.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var m=["name","httpEquiv","charSet","itemProp"];function h(e,t){return e.reduce((function(e,t){var n=i.default.Children.toArray(t.props.children);return e.concat(n)}),[]).reduce(d,[]).reverse().concat(f(t.inAmpMode)).filter(function(){var e=new Set,t=new Set,n=new Set,r={};return function(a){var o=!0,i=!1;if(a.key&&"number"!==typeof a.key&&a.key.indexOf("$")>0){i=!0;var c=a.key.slice(a.key.indexOf("$")+1);e.has(c)?o=!1:e.add(c)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(var s=0,u=m.length;s