(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[188],{93946:function(e,t,i){"use strict";i.d(t,{Z:function(){return y}});var n=i(63366),a=i(87462),r=i(67294),o=i(86010),l=i(94780),s=i(41796),d=i(11496),c=i(27623),p=i(49990),g=i(98216),u=i(1588),Z=i(34867);function getIconButtonUtilityClass(e){return(0,Z.Z)("MuiIconButton",e)}let h=(0,u.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var f=i(85893);let m=["edge","children","className","color","disabled","disableFocusRipple","size"],useUtilityClasses=e=>{let{classes:t,disabled:i,color:n,edge:a,size:r}=e,o={root:["root",i&&"disabled","default"!==n&&`color${(0,g.Z)(n)}`,a&&`edge${(0,g.Z)(a)}`,`size${(0,g.Z)(r)}`]};return(0,l.Z)(o,getIconButtonUtilityClass,t)},v=(0,d.ZP)(p.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[t.root,"default"!==i.color&&t[`color${(0,g.Z)(i.color)}`],i.edge&&t[`edge${(0,g.Z)(i.edge)}`],t[`size${(0,g.Z)(i.size)}`]]}})(({theme:e,ownerState:t})=>(0,a.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>{var i;let n=null==(i=(e.vars||e).palette)?void 0:i[t.color];return(0,a.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,a.Z)({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":(0,a.Z)({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${h.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),x=r.forwardRef(function(e,t){let i=(0,c.Z)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:l,className:s,color:d="default",disabled:p=!1,disableFocusRipple:g=!1,size:u="medium"}=i,Z=(0,n.Z)(i,m),h=(0,a.Z)({},i,{edge:r,color:d,disabled:p,disableFocusRipple:g,size:u}),x=useUtilityClasses(h);return(0,f.jsx)(v,(0,a.Z)({className:(0,o.default)(x.root,s),centerRipple:!0,focusRipple:!g,disabled:p,ref:t,ownerState:h},Z,{children:l}))});var y=x},53252:function(e,t,i){"use strict";i.d(t,{Z:function(){return b}});var n=i(63366),a=i(87462),r=i(67294),o=i(86010),l=i(94780),s=i(41796),d=i(98216),c=i(31618),p=i(44063),g=i(27623),u=i(11496),Z=i(1588),h=i(34867);function getTableCellUtilityClass(e){return(0,h.Z)("MuiTableCell",e)}let f=(0,Z.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var m=i(85893);let v=["align","className","component","padding","scope","size","sortDirection","variant"],useUtilityClasses=e=>{let{classes:t,variant:i,align:n,padding:a,size:r,stickyHeader:o}=e,s={root:["root",i,o&&"stickyHeader","inherit"!==n&&`align${(0,d.Z)(n)}`,"normal"!==a&&`padding${(0,d.Z)(a)}`,`size${(0,d.Z)(r)}`]};return(0,l.Z)(s,getTableCellUtilityClass,t)},x=(0,u.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[t.root,t[i.variant],t[`size${(0,d.Z)(i.size)}`],"normal"!==i.padding&&t[`padding${(0,d.Z)(i.padding)}`],"inherit"!==i.align&&t[`align${(0,d.Z)(i.align)}`],i.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>(0,a.Z)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
    ${"light"===e.palette.mode?(0,s.$n)((0,s.Fq)(e.palette.divider,1),.88):(0,s._j)((0,s.Fq)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${f.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),y=r.forwardRef(function(e,t){let i;let l=(0,g.Z)({props:e,name:"MuiTableCell"}),{align:s="inherit",className:d,component:u,padding:Z,scope:h,size:f,sortDirection:y,variant:b}=l,C=(0,n.Z)(l,v),k=r.useContext(c.Z),z=r.useContext(p.Z),S=z&&"head"===z.variant,T=h;"td"===(i=u||(S?"th":"td"))?T=void 0:!T&&S&&(T="col");let $=b||z&&z.variant,R=(0,a.Z)({},l,{align:s,component:i,padding:Z||(k&&k.padding?k.padding:"normal"),size:f||(k&&k.size?k.size:"medium"),sortDirection:y,stickyHeader:"head"===$&&k&&k.stickyHeader,variant:$}),q=useUtilityClasses(R),w=null;return y&&(w="asc"===y?"ascending":"descending"),(0,m.jsx)(x,(0,a.Z)({as:i,ref:t,className:(0,o.default)(q.root,d),"aria-sort":w,scope:T,ownerState:R},C))});var b=y},31618:function(e,t,i){"use strict";var n=i(67294);let a=n.createContext();t.Z=a},44063:function(e,t,i){"use strict";var n=i(67294);let a=n.createContext();t.Z=a},95121:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/faqs",function(){return i(76646)}])},76646:function(e,t,i){"use strict";i.r(t);var n=i(35944),a=i(67294),r=i(9008),o=i.n(r),l=i(36612),s=i.n(l),d=i(66242),c=i(44267),p=i(15861),g=i(45258),u=i(28358),Z=i(93946),h=i(7906),f=i(295),m=i(53252),v=i(72882),x=i(53184),y=i(53816),b=i(5077),C=i(86886),k=i(66037),z=i(92173),S=i(1462),T=i(13578),$=i(3702);let Faqs=()=>{let[e,t]=a.useState(!1),[i,r]=a.useState(""),{data:l,isLoading:b,isSuccess:R,isError:q}=(0,T.x)();function Comp_Description(e){let{row:t}=e,[i,r]=a.useState(!1);return(0,n.BX)(a.Fragment,{children:[(0,n.tZ)(h.Z,{children:(0,n.tZ)(y.Z,{sx:{"& > *":{borderBottom:"unset",textAlign:"left",backgroundColor:"#e0f2f1",height:"15px"}},children:(0,n.tZ)(m.Z,{sx:{height:"15px",padding:"10px"},children:(0,n.BX)(Z.Z,{"aria-label":"expand row",size:"small",onClick:()=>r(!i),sx:{padding:"0px",height:"15px"},children:[i?(0,n.tZ)(S.Z,{}):(0,n.tZ)(z.Z,{}),(0,n.BX)(p.Z,{sx:{fontWeight:"bold",color:"#138086",width:"300",fontStyle:"italic"},children:[" :",t.subject]})]})})})}),(0,n.tZ)(k.Z,{in:i,timeout:"auto",unmountOnExit:!0,children:(0,n.tZ)(h.Z,{sx:{backgroundColor:"#fff",padding:0,margin:0,height:"15px"},children:(0,n.tZ)(f.Z,{children:(0,n.tZ)(y.Z,{sx:{padding:0,margin:0,height:"15px"},children:(0,n.tZ)(m.Z,{sx:{textAlign:"left",padding:"10px"},children:t.description})})})})})]})}return a.useEffect(()=>{!0===b&&(t(!0),r("Please wait. Loading the faqs...")),!0===R&&(t(!1),r()),!0===q&&(t(!1),r())},[b,R,q]),(0,n.BX)("div",{className:s().container,children:[(0,n.BX)(o(),{children:[(0,n.tZ)("title",{children:"IPMS Home"}),(0,n.tZ)("meta",{name:"IPMS",content:"Performance management system"}),(0,n.tZ)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.tZ)(g.Z,{position:"static",className:s().mainPageBar,children:(0,n.tZ)(u.Z,{className:s().mainPageTitles,children:(0,n.tZ)($.Z,{})})}),(0,n.tZ)("main",{className:s().main,children:(0,n.BX)(C.ZP,{container:!0,spacing:2,style:{marginTop:"10px"},children:[(0,n.tZ)(C.ZP,{item:!0,xs:1}),(0,n.tZ)(C.ZP,{item:!0,xs:10,children:(0,n.tZ)(d.Z,{children:(0,n.tZ)(c.Z,{children:(0,n.tZ)(v.Z,{children:(0,n.BX)(h.Z,{children:[(0,n.tZ)(x.Z,{children:(0,n.tZ)(y.Z,{children:(0,n.tZ)(m.Z,{colSpan:3,style:{fontSize:"20px",fontWeight:"bold",backgroundColor:"#6C5B7B",color:"#fff",textAlign:"center"},children:"Frequently Asked Questions (FAQs)"})})}),(0,n.tZ)(f.Z,{children:null==l?void 0:l.map(e=>(0,n.tZ)(Comp_Description,{row:e},e.id))})]})})})})}),(0,n.tZ)(C.ZP,{item:!0,xs:1})]})})]})};Faqs.layout=b.Z,t.default=Faqs},13578:function(e,t,i){"use strict";i.d(t,{x:function(){return o}});var n=i(9266);let a=n.g.enhanceEndpoints({addTagTypes:["Faqs"]}),r=a.injectEndpoints({endpoints:e=>({getFaqs:e.query({query:()=>"/api/t_faqs",providesTags:e=>e?[...e.map(e=>{let{id:t}=e;return{type:"Faqs",id:t}}),{type:"Faqs",id:"LIST"}]:[{type:"Faqs",id:"LIST"}]})}),overrideExisting:!1}),{useGetFaqsQuery:o}=r}},function(e){e.O(0,[976,938,362,957,674,565,935,603,909,774,888,179],function(){return e(e.s=95121)}),_N_E=e.O()}]);