PageSourceSearch

https://myka.ng/assets/SelectCoveragePage-DPKQ0nRh.js

js myka.ng collected 2026-10-09 22:43:31 UTC 2,587 bytes, 1 lines download raw bytes

1import{d as b,r as d,j as e}from"./vendor-react-DfYGAhtm.js";import{o as h}from"./other-icon-DC1bN4dP.js";import{m as r,g as f}from"./index-DsBgCU7r.js";import{S as j}from"./StepPageLayout-DdZUweau.js";import{O as c,a as S}from"./OtherFormShell-BzyOfe3V.js";import{OthersRoutesEnum as C}from"./index-QKWoXN71.js";import{V as y,a as n,o as m,T as s,w as z,F as O}from"./vendor-ui-DA_r9yXk.js";import"./vendor-icons-1odZwi-b.js";import"./vendor-state-BsBVN-fX.js";import"./vendor-forms-BP-7CbAP.js";import"./professional-indemnity-Cx_HID73.js";import"./transit-insurance-DHaUSpuL.js";import"./fire-BtgY-J44.js";const P=()=>{const l=b(),[a,x]=d.useState([]),i=d.useMemo(()=>c.filter(t=>a.includes(t.id)),[a]),p=t=>{x(o=>o.includes(t)?o.filter(g=>g!==t):[...o,t])},u=()=>{i.length!==0&&l(`/${C.ManualRequest}`,{state:{selectedCoverages:i,selectedCoverage:i[0]}})};return e.jsx(j,{items:[],onGoBack:()=>l(-1),contentMaxW:"900px",mobileContentOnly:!0,children:e.jsx(S,{children:e.jsxs(y,{align:"stretch",gap:6,children:[e.jsxs(n,{children:[e.jsx(m,{src:h,alt:"Other insurance",boxSize:"48px",objectFit:"contain",mb:2}),e.jsx(s,{fontSize:{base:"4xl",md:"5xl"},color:r.text.primary,fontWeight:"semibold",children:"Other Insurance Covers"}),e.jsx(s,{fontSize:"md",color:r.text.gray,children:"Additional protection options for your business and assets."})]}),e.jsx(z,{columns:{base:1,md:2,lg:3},gap:4,children:c.map(t=>{const o=a.includes(t.id);return e.jsxs(n,{border:"1px solid",borderColor:o?r.orange[300]:r.border.primary,borderRadius:"16px",bg:o?r.orange[50]:r.white.DEFAULT,p:4,minH:{base:"140px",md:"150px"},position:"relative",cursor:"pointer",onClick:()=>p(t.id),transition:"all 0.2s ease",_hover:{borderColor:r.orange[200]},children:[e.jsx(n,{position:"absolute",top:3,right:3,boxSize:"18px",borderRadius:"full",border:"2px solid",borderColor:o?r.orange[500]:r.gray[300],display:"flex",alignItems:"center",justifyContent:"center",transition:"border-color 0.2s ease",children:o&&e.jsx(n,{boxSize:"9px",borderRadius:"full",bg:r.orange[500]})}),t.icon?e.jsx(m,{src:t.icon,alt:t.title,boxSize:"44px",objectFit:"contain",mb:3}):e.jsx(s,{fontSize:"28px",lineHeight:"1",mb:3,children:t.emoji??"🛡️"}),e.jsx(s,{fontSize:"md",fontWeight:"semibold",color:r.text.primary,mb:1,children:t.title}),e.jsx(s,{fontSize:"xs",color:r.text.gray,lineHeight:"1.45",children:t.description})]},t.id)})}),e.jsx(O,{justify:"flex-end",mt:{base:1,md:4},children:e.jsx(f,{buttonType:"primary",text:"Continue",size:"lg",type:"button",onClick:u,disabled:i.length===0,minW:"170px"})})]})})})};export{P as default};

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.