PageSourceSearch

https://etapinsure.com/_next/static/chunks/pages/buy-cover/_partials/VehicleInsurance-744b6d1cc08f4001.js

js etapinsure.com collected 2026-10-02 15:34:46 UTC 3,194 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2539],{92953:function(e,n,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/buy-cover/_partials/VehicleInsurance",function(){return l(80206)}])},80206:function(e,n,l){"use strict";l.r(n);var i=l(85893);l(67294);var r=l(48783),a=l(71293),s=l(42669),t=l(34292),o=l(57747),c=l(97173),u=l(41801);n.default=e=>{let{vehicleUsage:n,setVehicleUsage:l,setDocuments:d}=e;return(0,i.jsxs)(r.g,{align:"start",spacing:0,mb:{base:"32px",sm:10},children:[(0,i.jsx)(a.x,{color:"#000000",fontWeight:"700",fontSize:{base:"16px",sm:"18px"},mb:2,children:"How do you primarily use this vehicle?"}),(0,i.jsx)(a.x,{display:{base:"none",sm:"block"},color:"#535455",fontWeight:"600",fontSize:"16px",mb:{base:4,sm:6},children:"We need this to fetch correct pricing for your vehicle document"}),(0,i.jsx)(s.E,{value:n,onChange:e=>null==l?void 0:l(e),children:(0,i.jsx)(t.U,{spacing:4,flexWrap:"wrap",children:u.GO.map(e=>{let{value:n,label:l}=e;return(0,i.jsx)(o.xu,{bg:"#fff",px:"16px",py:"8px",borderRadius:"8px",cursor:"pointer",onClick:()=>null==d?void 0:d([]),children:(0,i.jsx)(c.Y,{value:n,colorScheme:"cyan",color:"#00363D",children:(0,i.jsx)(a.x,{fontSize:"16px",fontWeight:"450",color:"#535455",children:l})})},n)})})})]})}},41801:function(e,n,l){"use strict";var i,r;l.d(n,{GO:function(){return a},Oy:function(){return s}}),(r=i||(i={})).COMMERCIAL="COMMERCIAL",r.PERSONAL="PERSONAL",r.COMMERCIAL_PERSONAL="COMMERCIAL_PERSONAL";let a=[{value:"PERSONAL",label:"Private use"},{value:"COMMERCIAL",label:"Commercial use"}],s=e=>e&&Object.values(i).includes(e)?e:"PERSONAL"},97173:function(e,n,l){"use strict";l.d(n,{Y:function(){return d}});var i=l(49722),r=l(42669),a=l(16554),s=l(77030),t=l(33179),o=l(22816),c=l(25432),u=l(85893),d=(0,a.G)((e,n)=>{var l;let a=(0,r.X)(),{onChange:d,value:p}=e,h=(0,s.jC)("Radio",{...a,...e}),{spacing:f="0.5rem",children:x,isDisabled:m=null==a?void 0:a.isDisabled,isFocusable:v=null==a?void 0:a.isFocusable,inputProps:_,...b}=(0,t.Lr)(e),C=e.isChecked;(null==a?void 0:a.value)!=null&&null!=p&&(C=a.value===p);let O=d;(null==a?void 0:a.onChange)&&null!=p&&(O=(0,c.PP)(a.onChange,d));let g=null!=(l=null==e?void 0:e.name)?l:null==a?void 0:a.name,{getInputProps:E,getCheckboxProps:j,getLabelProps:N,getRootProps:R,htmlProps:S}=(0,i.x)({...b,isChecked:C,isFocusable:v,isDisabled:m,onChange:O,name:g}),[k,y]=function(e,n){let l={},i={};for(let[r,a]of Object.entries(e))n.includes(r)?l[r]=a:i[r]=a;return[l,i]}(S,t.oE),A=j(y),L=E(_,n),P=N(),M=Object.assign({},k,R()),w={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...h.container},I={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...h.control},W={userSelect:"none",marginStart:f,...h.label};return(0,u.jsxs)(o.m.label,{className:"chakra-radio",...M,__css:w,children:[(0,u.jsx)("input",{className:"chakra-radio__input",...L}),(0,u.jsx)(o.m.span,{className:"chakra-radio__control",...A,__css:I}),x&&(0,u.jsx)(o.m.span,{className:"chakra-radio__label",...P,__css:W,children:x})]})});d.displayName="Radio"}},function(e){e.O(0,[9722,2888,9774,179],function(){return e(e.s=92953)}),_N_E=e.O()}]);

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.