1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6175],{20328:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/Insurance/InsuranceHistoryPage",function(){return n(88137)}])},88137:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return Insurance_InsuranceHistoryPage}});var r=n(85893),t=n(67294),i=n(10682),a=n(34051),l=n(31555),o=n(24927),c=n.n(o),u=[{id:1,logo:"../HdfcErgo.png",InsuranceDecleard:"Insured Declared Value",Insured_Declared_Value:"â¹ 9.86 Lakhs",cover:"â¹ 15,999",Preminum:"â¹ 2,999",Status:"Policy Issued",Policy_Purchased_date:"05-Nov-2022",Policy_no:"49509809654398"},{id:2,logo:"../Liberty.png",InsuranceDecleard:"Insured Declared Value",Insured_Declared_Value:"â¹ 9.86 Lakhs",cover:"â¹ 15,999",Preminum:"â¹ 2,999",Status:"Policy process",Policy_Purchased_date:"18-Aug-2022",Policy_no:"49509809654399"},{id:3,logo:"../NewIndiaAssurance.png",InsuranceDecleard:"Insured Declared Value",Insured_Declared_Value:"â¹ 9.86 Lakhs",cover:"â¹ 15,999",Preminum:"â¹ 2,999",Status:"Policy Resolved",Policy_Purchased_date:"10-Dec-2022",Policy_no:"49509809654400"}],InsuranceHistory_InsuranceHistory=()=>{let[e,s]=(0,t.useState)(""),[n]=(0,t.useState)(u),o=n.filter(s=>s.Policy_no.toLowerCase().includes(e.toLowerCase()));return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"main-container",children:(0,r.jsxs)(i.Z,{fluid:!0,children:[(0,r.jsx)(a.Z,{children:(0,r.jsx)(l.Z,{xs:12,children:(0,r.jsxs)("h3",{className:c().insuhistorytext,children:[" ",(0,r.jsx)("img",{src:"../back-arrow.svg",alt:"back-button",className:"backarrowbtnmobile"}),"Insurance History"]})})}),(0,r.jsxs)(a.Z,{className:"flex-column-reverse flex-md-row",children:[(0,r.jsx)(l.Z,{xs:12,md:6,children:(0,r.jsx)("h4",{className:c().allpolicy,children:"All Policies"})}),(0,r.jsx)(l.Z,{xs:12,md:6,children:(0,r.jsxs)("div",{className:c().searchfield,children:[(0,r.jsx)("input",{placeholder:"Search all policies",value:e,onChange:e=>s(e.target.value)}),(0,r.jsx)("img",{src:"/Vector (1)search.png",alt:"SearchIcon"})]})})]}),o.map((e,s)=>(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:c().maindiv,children:[(0,r.jsx)("div",{className:c().innermaindiv,children:(0,r.jsxs)(a.Z,{children:[(0,r.jsx)(l.Z,{xs:12,md:3,className:c().bdrleft,children:(0,r.jsxs)(a.Z,{children:[(0,r.jsx)(l.Z,{xs:4,md:12,children:(0,r.jsx)("img",{className:c().logo,src:e.logo,alt:"logo",width:"90%"})}),(0,r.jsxs)(l.Z,{xs:8,md:12,children:[(0,r.jsxs)("p",{className:c().insdetails,children:[e.InsuranceDecleard,(0,r.jsxs)("span",{className:c().tooltip,children:[(0,r.jsx)("img",{src:"../information.svg",alt:"information-icon"}),(0,r.jsx)("span",{className:c().tooltiptext,children:"Insurance Declared Value(IDV) is the maximum amount you will get if your car is stolen or completely "})]})]}),(0,r.jsx)("h3",{className:c().insuamount,children:e.Insured_Declared_Value})]})]})}),(0,r.jsxs)(l.Z,{xs:12,md:6,children:[(0,r.jsx)("div",{className:c().policydetail,children:(0,r.jsxs)(a.Z,{children:[(0,r.jsx)(l.Z,{children:"Cover"}),(0,r.jsx)(l.Z,{children:"Preminum"}),(0,r.jsx)(l.Z,{children:"Status"})]})}),(0,r.jsxs)(a.Z,{className:c().policystatus,children:[(0,r.jsx)(l.Z,{children:e.cover}),(0,r.jsx)(l.Z,{children:e.Preminum}),(0,r.jsx)(l.Z,{children:e.Status})]})]}),(0,r.jsx)(l.Z,{xs:12,md:3,children:(0,r.jsx)("button",{children:"See Details"})})]})}),(0,r.jsx)("div",{className:c().footersection,children:(0,r.jsxs)(a.Z,{children:[(0,r.jsx)(l.Z,{xs:12,md:6,className:c().hideonmobile,children:(0,r.jsxs)("p",{children:["Policy Purchased on ",(0,r.jsxs)("b",{children:[" ",e.Policy_Purchased_date," "]})]})}),(0,r.jsx)(l.Z,{xs:12,md:6,children:(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:["Plolicy # ",e.Policy_no]}),(0,r.jsx)("li",{className:c().grtpolicycopy,children:"Get Policy Copy"})]})})]})})]},s)}))]})})})},Insurance_InsuranceHistoryPage=()=>(0,r.jsx)("div",{children:(0,r.jsx)(InsuranceHistory_InsuranceHistory,{})})},24927:function(e){e.exports={searchfield:"InsuranceHistory_searchfield__yvcqD",maindiv:"InsuranceHistory_maindiv__M4oLo",innermaindiv:"InsuranceHistory_innermaindiv__lXtbk",policydetail:"InsuranceHistory_policydetail__AjQv_",policystatus:"InsuranceHistory_policystatus__YxaaS",insdetail
1s:"InsuranceHistory_insdetails__XHszn",insuamount:"InsuranceHistory_insuamount__iOuee",allpolicy:"InsuranceHistory_allpolicy__Fo92Q",insuhistorytext:"InsuranceHistory_insuhistorytext__dJXbU",bdrleft:"InsuranceHistory_bdrleft__wQQrP",footersection:"InsuranceHistory_footersection__yKsAv",grtpolicycopy:"InsuranceHistory_grtpolicycopy__cfoDg",tooltip:"InsuranceHistory_tooltip__qezsA",tooltiptext:"InsuranceHistory_tooltiptext__kOu7t",logo:"InsuranceHistory_logo__n4ydN",hideonmobile:"InsuranceHistory_hideonmobile__MIcHy"}},31555:function(e,s,n){"use strict";var r=n(93967),t=n.n(r),i=n(67294),a=n(76792),l=n(85893);let o=i.forwardRef((e,s)=>{let[{className:n,...r},{as:i="div",bsPrefix:o,spans:c}]=function({as:e,bsPrefix:s,className:n,...r}){s=(0,a.vE)(s,"col");let i=(0,a.pi)(),l=(0,a.zG)(),o=[],c=[];return i.forEach(e=>{let n,t,i;let a=r[e];delete r[e],"object"==typeof a&&null!=a?{span:n,offset:t,order:i}=a:n=a;let u=e!==l?`-${e}`:"";n&&o.push(!0===n?`${s}${u}`:`${s}${u}-${n}`),null!=i&&c.push(`order${u}-${i}`),null!=t&&c.push(`offset${u}-${t}`)}),[{...r,className:t()(n,...o,...c)},{as:e,bsPrefix:s,spans:o}]}(e);return(0,l.jsx)(i,{...r,ref:s,className:t()(n,!c.length&&o)})});o.displayName="Col",s.Z=o},10682:function(e,s,n){"use strict";var r=n(93967),t=n.n(r),i=n(67294),a=n(76792),l=n(85893);let o=i.forwardRef(({bsPrefix:e,fluid:s=!1,as:n="div",className:r,...i},o)=>{let c=(0,a.vE)(e,"container"),u="string"==typeof s?`-${s}`:"-fluid";return(0,l.jsx)(n,{ref:o,...i,className:t()(r,s?`${c}${u}`:c)})});o.displayName="Container",s.Z=o},34051:function(e,s,n){"use strict";var r=n(93967),t=n.n(r),i=n(67294),a=n(76792),l=n(85893);let o=i.forwardRef(({bsPrefix:e,className:s,as:n="div",...r},i)=>{let o=(0,a.vE)(e,"row"),c=(0,a.pi)(),u=(0,a.zG)(),d=`${o}-cols`,x=[];return c.forEach(e=>{let s;let n=r[e];delete r[e],null!=n&&"object"==typeof n?{cols:s}=n:s=n;let t=e!==u?`-${e}`:"";null!=s&&x.push(`${d}${t}-${s}`)}),(0,l.jsx)(n,{ref:i,...r,className:t()(s,o,...x)})});o.displayName="Row",s.Z=o},76792:function(e,s,n){"use strict";n.d(s,{SC:function(){return useIsRTL},pi:function(){return useBootstrapBreakpoints},vE:function(){return useBootstrapPrefix},zG:function(){return useBootstrapMinBreakpoint}});var r=n(67294);n(85893);let t=r.createContext({prefixes:{},breakpoints:["xxl","xl","lg","md","sm","xs"],minBreakpoint:"xs"}),{Consumer:i,Provider:a}=t;function useBootstrapPrefix(e,s){let{prefixes:n}=(0,r.useContext)(t);return e||n[s]||s}function useBootstrapBreakpoints(){let{breakpoints:e}=(0,r.useContext)(t);return e}function useBootstrapMinBreakpoint(){let{minBreakpoint:e}=(0,r.useContext)(t);return e}function useIsRTL(){let{dir:e}=(0,r.useContext)(t);return"rtl"===e}},93967:function(e,s){var n;/*! 2 Copyright (c) 2018 Jed Watson. 3 Licensed under the MIT License (MIT), see 4 http://jedwatson.github.io/classnames 5*/!function(){"use strict";var r={}.hasOwnProperty;function classNames(){for(var e="",s=0;s<arguments.length;s++){var n=arguments[s];n&&(e=appendClass(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return classNames.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var s="";for(var n in e)r.call(e,n)&&e[n]&&(s=appendClass(s,n));return s}(n)))}return e}function appendClass(e,s){return s?e?e+" "+s:e+s:e}e.exports?(classNames.default=classNames,e.exports=classNames):void 0!==(n=(function(){return classNames}).apply(s,[]))&&(e.exports=n)}()}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=20328)}),_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.