1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6600],{6600:function(e,r,t){t.r(r);var s=t(9268),o=t(6006),n=t(3436);let i=e=>{let{fullPrice:r,currencySymbol:t,minimumPartAmount:o,paymentPlan:i,setPaymentPlan:a,fullPriceAdjustment:l=0}=e,c=e=>{a(e)},d="flex items-center justify-between w-full px-[12px] py-[8px] rounded-lg border-2 cursor-pointer transition-colors text-left",x="bg-white border-gray-200 hover:border-gray-300",m="border-[var(--primary-color)] bg-[var(--primary-color-light-100)]";return(0,s.jsxs)("div",{className:"mb-4",children:[(0,s.jsx)("h3",{className:"text-[16px] font-medium text-gray-900 mb-3",children:"Select Payment Plan"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>c(n.e.FULL),className:"".concat(d," ").concat(i===n.e.FULL?m:x),children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-semibold text-[14px] text-gray-900",children:"Full Payment"}),(0,s.jsxs)("div",{className:"text-[12px] text-gray-500 mt-0.5",children:["Pay ",t,Math.max(0,r-l).toLocaleString()," once"]})]}),(0,s.jsx)("span",{className:"flex-shrink-0 w-5 h-5 rounded-full border-2 flex items-center justify-center ".concat(i===n.e.FULL?"border-[var(--primary-color)] bg-[var(--primary-color)]":"border-gray-300 bg-white"),children:i===n.e.FULL&&(0,s.jsx)("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})})})]}),(0,s.jsxs)("div",{role:"button",tabIndex:0,onClick:()=>c(n.e.PART),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),c(n.e.PART))},className:"".concat(d," focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[var(--primary-color)] ").concat(i===n.e.PART?m:x),children:[(0,s.jsxs)("div",{className:"min-w-0 pr-1",children:[(0,s.jsx)("div",{className:"font-semibold text-[14px] text-gray-900",children:"Pay in Parts"}),(0,s.jsxs)("div",{className:"text-[12px] text-gray-500 mt-0.5",children:["Pay Min ",t,o.toLocaleString()]})]}),(0,s.jsx)("span",{className:"flex-shrink-0 w-5 h-5 rounded-full border-2 flex items-center justify-center ".concat(i===n.e.PART?"border-[var(--primary-color)] bg-[var(--primary-color)]":"border-gray-300 bg-white"),children:i===n.e.PART&&(0,s.jsx)("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})})})]})]})]})},a=o.memo(i);r.default=a}}]);
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.