1(this["webpackJsonpone-free-ui"]=this["webpackJsonpone-free-ui"]||[]).push([[25],{1151:function(e,t,a){"use strict";var n=a(15),r=a(1149),i=a(1169),l=a(313),o=a(21),c=a(2);t.a=function(e){var t=Object(l.a)().t,a=e.backgroundColor,s=e.label,d=e.handleDelete;return s?Object(c.jsx)(r.a,{style:{height:"auto",padding:"5px 10px",borderRadius:"18px",color:a,border:"2px solid ".concat(a),backgroundColor:Object(o.Z)(a,.1),fontFamily:"Inter-Bold"},label:t(n.a.capitalize(s)),onDelete:d,deleteIcon:Object(c.jsx)(i.a,{})}):""}},1152:function(e,t,a){"use strict";var n=a(9),r=a(3),i=a(381),l=a(1368),o=a(1372),c=a(1371),s=a(1367),d=a(1369),b=a(1370),u=a(10),j=a(8),p=a(0),m=a.n(p),x=a(313),h=a(1166),v=a(2),O=Object(i.a)((function(e){var t;return{tableHeaderRow:(t={fontFamily:"Inter-Bold, sans-serif",whiteSpace:"pre-wrap",textAlign:"center",verticalAlign:"top"},Object(r.a)(t,e.breakpoints.down("sm"),{border:"none",display:"flex",flexDirection:"column",alignItems:"center",padding:"0"}),Object(r.a)(t,"& > div",Object(r.a)({"& > label":{fontFamily:"Inter-Regular"},"& > div:nth-of-type(1)":{borderBottom:"1px solid ".concat(e.palette.utility.main)}},e.breakpoints.down("sm"),{minHeight:"50px",display:"flex",flexDirection:"column",alignItems:"center",width:"100%","& > div:nth-of-type(1)":{display:"none"},"& > input":{marginTop:"20px",maxWidth:"100%",width:"85%","&::placeholder":{color:"black"}}})),t),tableBody:{"& tr:nth-of-type(odd)":{background:e.palette.utility.rowOdd}},tableRow:Object(r.a)({},e.breakpoints.down("sm"),{borderBottom:"1px solid ".concat(e.palette.background.border)}),tableBodyRow:Object(r.a)({whiteSpace:"pre-wrap",textAlign:"center"},e.breakpoints.down("sm"),{border:"none",display:"flex",flexDirection:"column",alignItems:"center",padding:"0"}),inputPage:{margin:"0px 10px",width:"70px",textAlign:"center",border:"1px solid ".concat(e.palette.utility.main),background:e.palette.background.main,padding:"5px 7px",borderRadius:"3px",fontWeight:"400"},selectPageSize:{margin:"0px 10px",border:"1px solid ".concat(e.palette.utility.main),background:e.palette.background.main,padding:"7px",borderRadius:"3px",fontWeight:"400"},pagination:Object(r.a)({color:e.palette.text.main,fontFamily:"Inter-Bold"},e.breakpoints.down("sm"),{display:"flex",flexDirection:"column","& > *":{margin:"10px 0"}}),emptyRowsPlaceholder:{height:"80px",backgroundColor:e.palette.background.main}}}));t.a=function(e){var t,a,r,i=e.columns,p=e.onRowClick,f=void 0===p?function(){}:p,g=e.data,N=e.tablePagination,S=void 0!==N&&N,y=e.page,k=void 0===y?1:y,w=e.onChangePage,P=e.pageSize,C=void 0===P?10:P,I=e.pageSizes,H=void 0===I?u.z:I,R=e.changePageSize,B=e.noDataText,T=void 0===B?u.gc:B,A=e.classWrapper,z=e.classRow,F=e.rowProps,V=void 0===F?function(){return{}}:F,E=e.cellProps,D=void 0===E?function(){return{}}:E,W=e.error,M=void 0===W?null:W,U=e.editInvoiceItemIndex,_=void 0===U?void 0:U,G=e.editInvoiceItemId,L=void 0===G?void 0:G,J=Object(x.a)().t,Z=O(e),q=Array.isArray(g)&&g||[],K=Object(h.useTable)({columns:i,data:q}),Q=K.getTableProps,X=K.headerGroups,Y=K.rows,$=K.prepareRow;return Object(v.jsxs)("div",{className:A||"",children:[Object(v.jsx)(s.a,{className:"flex flex-1 striped",children:Object(v.jsxs)(l.a,Object(n.a)(Object(n.a)({},Q()),{},{children:[Object(v.jsx)(d.a,{children:X.map((function(e){return Object(v.jsx)(b.a,Object(n.a)(Object(n.a)({},e.getHeaderGroupProps()),{},{className:Z.tableHead,children:e.headers.map((function(e){return Object(v.jsx)(c.a,Object(n.a)(Object(n.a)({},e.getHeaderProps()),{},{className:Object(j.a)(Z.tableHeaderRow,(null===e||void 0===e?void 0:e.classHeader)||""),children:e.render("Header")}))}))}))}))}),Object(v.jsx)(o.a,{className:Z.tableBody,children:Y.length>0?Y.map((function(e,t){return $(e),Object(v.jsxs)(m.a.Fragment,{children:[Object(v.jsx)(b.a,Object(n.a)(Object(n.a)({},e.getRowProps(V(e))),{},{className:Object(j.a)(Z.tableRow,z||""),onClick:function(t){return f(t,e)},children:e.cells.map((function(a){var r;return Object(v.jsxs)(c.a,Object(n.a)(Object(n.a)({},a.getCellProps(D(e))),{},{className:Object(j.a)(Z.tableBodyRow,(null===a||void 0===a||null===(r=a.column)||void 0===r?void 0:r.className)||""),children:[a.render("Cell"),M&&t===_&&a.column.id===L&&Object(v.jsx)("div",{className:"text-10 text-red-500 \n relative md:absolute max-w-160 text-left self-end \n lg:mr-0 mr-16 sm:mr-40 -mt-4 md:mt-0",children:"* ".concat(M)})]}),a.column.id)}))}))," "]},e.id)})):Object(v.jsx)(b.a,{children:Object(v.jsx)(c.a,{className:Object(j.a)(Z.emptyRowsPlaceholder,"text-center"),colSpan:"100%",children:J(T)})})})]}))}),(S&&Y.length>0||S&&0!==(null===S||void 0===S?void 0:S.totalPages)&&k>((null===S||void 0===S?void 0:S.totalPages)||0))&&Object(v.jsxs)("div",{className:Object(j.a)(Z.pagination,"flex m-10 items-center"),children:[Object(v.jsxs)("span",{children:[Object(v.jsx)("span",{children:J("Page Size")}),Object(v.jsx)("select",{"aria-label":"rows per page",className:Z.selectPageSize,value:C,onChange:function(e){return R(e)},children:H.map((function(e){return Object(v.jsxs)("option",{value:e,children:[e," ",J("rows")]},e)}))})]}),Object(v.jsxs)("span",{children:[Object(v.jsx)("span",{className:"ml-10",children:J("Page")}),Object(v.jsx)("input",{className:Z.inputPage,"aria-label":"jump to page",type:"number",onChange:function(e){return w(e)},value:k,max:null===S||void 0===S?void 0:S.totalPages,min:1}),Object(v.jsxs)("span",{children:[" / ",null!==(t=null===S||void 0===S?void 0:S.totalPages)&&void 0!==t?t:0]})]}),Object(v.jsx)("span",{className:"w-64"}),Object(v.jsxs)("span",{className:"px-10",children:[J("Number of items"),": ",null!==(a=null===S||void 0===S?void 0:S.numberOfElements)&&void 0!==a?a:0]}),Object(v.jsxs)("span",{id:"total-of-items",className:"px-10",children:[J("Total of items"),": ",null!==(r=null===S||void 0===S?void 0:S.totalElements)&&void 0!==r?r:0]})," "]})]})}},1153:function(e,t,a){"use strict";var n=a(381),r=a(623),i=a(396),l=a(109),o=a(8),c=a(1140),s=a(313),d=a(46),b=a(2),u=Object(n.a)((function(e){return{root:{backgroundColor:e.palette.background.main,color:e.palette.text.main,"& .titleText":{fontFamily:"PlusJakartaSans-Bold !important"}}}}));t.a=function(e){var t=Object(s.a)().t,a=u();return Object(b.jsx)(b.Fragment,{children:Object(b.jsx)("div",{className:Object(o.a)(a.root,"flex items-center w-full"),children:Object(b.jsxs)("div",{className:"w-full mt-12",children:[e.linkBack&&Object(b.jsxs)(l.a,{className:"font-bold flex items-center sm:mb-12",component:d.a,role:"button",to:e.linkBack,color:"inherit",children:[Object(b.jsx)(i.a,{className:"mr-4 text-20",children:"arrow_back"}),t(e.titleBack)]}),e.title&&Object(b.jsx)("div",{className:"headline",children:Object(b.jsxs)("div",{className:"flex items-center",children:[e.icon&&Object(b.jsx)(i.a,{className:"text-24 sm:text-32 mr-12",children:e.icon}),Object(b.jsx)(c.a.span,{initial:{scale:.6},animate:{scale:1,transition:{delay:.2}},className:"text-24 sm:text-32 uppercase titleText",children:t(e.title)})]})}),Object(b.jsxs)("div",{className:"my-10",children:[e.button&&!e.buttonHidden&&Object(b.jsx)(r.a,{component:d.a,to:e.link,className:"whitespace-no-wrap mr-20 ",variant:"contained",color:"primary",children:Object(b.jsx)("span",{children:t(e.button)})}),e.refresh&&Object(b.jsx)(r.a,{id:"refresh",className:"ml-2 m-0",variant:"outlined",color:"primary",onClick:e.handleRefresh,children:Object(b.jsx)(i.a,{className:"",children:"refresh"})}),e.isClearFilter&&Object(b.jsxs)(r.a,{id:"clearFilters",className:"ml-2 m-0",variant:"outlined",color:"primary",onClick:function(){var e=window.location.search.includes("tenantType")?"tenantType=".concat(window.location.search.split("tenantType=")[1].split("&")[0]):"";window.location.search=e},children:[Object(b.jsx)(i.a,{children:"filter_alt"})," Clear"]})]})]})})})}},1154:function(e,t,a){"use strict";var n=a(3),r=a(1132),i=a(10),l=a(52),o=a(16),c=a(2);var s=function(e){var t=Object(o.c)(l.f),a=Object(o.c)(l.c),n=Object(o.c)((function(e){return e.auth.user.data})).role;return Object(c.jsx)("div",{className:e.classes.header,children:e.header&&Object(c.jsx)(r.a,{theme:n===i.kd.contractor_company.name?a:t,children:e.header})})},d=a(9),b=a(19),u=a(108),j=a(1144),p=a(1147),m=a(8),x=a(0),h=a.n(x),v=a(233),O=a(59);var f=function(e){var t=Object(O.a)(),a=Object(o.c)(Object(l.e)(t.palette.primary.main)),n=e.classes;return Object(c.jsxs)(c.Fragment,{children:[e.header&&Object(c.jsx)(r.a,{theme:a,children:Object(c.jsx)("div",{className:Object(m.a)(n.sidebarHeader,e.variant),children:e.header})}),e.content&&Object(c.jsx)(v.a,{className:n.sidebarContent,enable:e.innerScroll,children:e.content})]})};function g(e,t){var a=Object(x.useState)(!1),n=Object(b.a)(a,2),r=n[0],i=n[1],l=e.classes;Object(x.useImperativeHandle)(t,(function(){return{toggleSidebar:o}}));var o=function(){i(!r)};return Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)(j.a,{lgUp:"permanent"===e.variant,children:Object(c.jsx)(p.a,{variant:"temporary",anchor:e.position,open:r,onOpen:function(e){},onClose:function(e){return o()},disableSwipeToOpen:!0,classes:{root:Object(m.a)(l.sidebarWrapper,e.variant),paper:Object(m.a)(l.sidebar,e.variant,"left"===e.position?l.leftSidebar:l.rightSidebar)},ModalProps:{keepMounted:!0},container:e.rootRef.current,BackdropProps:{classes:{root:l.backdrop}},style:{position:"absolute"},children:Object(c.jsx)(f,Object(d.a)({},e))})}),"permanent"===e.variant&&Object(c.jsx)(j.a,{mdDown:!0,children:Object(c.jsx)(u.a,{variant:"permanent",className:Object(m.a)(l.sidebarWrapper,e.variant),open:r,classes:{paper:Object(m.a)(l.sidebar,e.variant,"left"===e.position?l.leftSidebar:l.rightSidebar)},children:Object(c.jsx)(f,Object(d.a)({},e))})})]})}var N=Object(x.forwardRef)(g),S=a(381),y=200,k=Object(S.a)((function(e){var t;return{"@global":{"#fuse-main":{height:function(e){return e.innerScroll&&"100vh"}}},root:{display:"flex",flexDirection:"row",minWidth:0,minHeight:"100%",position:"relative",flex:"1 1 auto",height:"auto",backgroundColor:e.palette.background.main},innerScroll:{height:"100%"},topBg:Object(n.a)({position:"absolute",left:0,right:0,top:0,height:y,pointerEvents:"none",backgroundSize:"200px auto !important",backgroundRepeat:"no-repeat !important",backgroundPosition:"bottom 60px right 10px !important",backgroundColor:"".concat(e.palette.background.main," !important")},e.breakpoints.down("md"),{backgroundImage:"none !important"}),contentWrapper:(t={display:"flex",flexDirection:"column",padding:"0 3.2rem",flex:"1 1 100%",zIndex:2,maxWidth:"100%",minWidth:0,minHeight:0},Object(n.a)(t,e.breakpoints.down("sm"),{padding:"0 1.6rem"}),Object(n.a)(t,e.breakpoints.down("xs"),{padding:"0 0.5rem"}),t),header:{height:136,minHeight:136,maxHeight:136,display:"flex",color:e.palette.primary.contrastText},headerSidebarToggleButton:{color:e.palette.primary.contrastText},contentCard:{display:"flex",flex:"1 1 100%",flexDirection:"column",paddingTop:"20px",backgroundColor:e.palette.background.dark,boxSh
1adow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",minHeight:0,borderRadius:"8px 8px 0 0"},toolbar:{display:"flex",minHeight:64,alignItems:"center",borderBottom:"1px solid ".concat(e.palette.utility.main)},content:{color:e.palette.text.main,flex:"1 1 auto",height:"100%",overflow:"auto","-webkit-overflow-scrolling":"touch"},sidebarWrapper:{position:"absolute",backgroundColor:"transparent",zIndex:5,overflow:"hidden","&.permanent":Object(n.a)({},e.breakpoints.up("lg"),{zIndex:1,position:"relative"})},sidebar:{position:"absolute","&.permanent":Object(n.a)({},e.breakpoints.up("lg"),{backgroundColor:"transparent",position:"relative",border:"none",overflow:"hidden"}),width:240,height:"100%"},leftSidebar:{},rightSidebar:{},sidebarHeader:{height:y,minHeight:y,color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark,"&.permanent":Object(n.a)({},e.breakpoints.up("lg"),{backgroundColor:"transparent"})},sidebarContent:Object(n.a)({display:"flex",flex:"1 1 auto",flexDirection:"column",backgroundColor:e.palette.background.default,color:e.palette.text.primary},e.breakpoints.up("lg"),{overflow:"auto","-webkit-overflow-scrolling":"touch"}),backdrop:{position:"absolute"}}})),w=h.a.forwardRef((function(e,t){var a=Object(x.useRef)(null),n=Object(x.useRef)(null),r=Object(x.useRef)(null),i=k(e),l=e.rightSidebarHeader||e.rightSidebarContent,o=e.leftSidebarHeader||e.leftSidebarContent;return h.a.useImperativeHandle(t,(function(){return{rootRef:r,toggleLeftSidebar:function(){a.current.toggleSidebar()},toggleRightSidebar:function(){n.current.toggleSidebar()}}})),Object(c.jsxs)("div",{className:Object(m.a)(i.root,e.innerScroll&&i.innerScroll),ref:r,children:[Object(c.jsx)("div",{className:i.topBg}),Object(c.jsxs)("div",{className:"flex container w-full",children:[o&&Object(c.jsx)(N,{position:"left",header:e.leftSidebarHeader,content:e.leftSidebarContent,variant:e.leftSidebarVariant||"permanent",innerScroll:e.innerScroll,classes:i,ref:a,rootRef:r}),Object(c.jsxs)("div",{className:Object(m.a)(i.contentWrapper,o&&(void 0===e.leftSidebarVariant||"permanent"===e.leftSidebarVariant)&&"lg:ltr:pl-0 lg:rtl:pr-0",l&&(void 0===e.rightSidebarVariant||"permanent"===e.rightSidebarVariant)&&"lg:pr-0"),children:[Object(c.jsx)(s,{header:e.header,classes:i}),Object(c.jsxs)("div",{className:Object(m.a)(i.contentCard,e.innerScroll&&"inner-scroll"),children:[e.contentToolbar&&Object(c.jsx)("div",{className:i.toolbar,children:e.contentToolbar}),e.content&&Object(c.jsx)(v.a,{className:i.content,enable:e.innerScroll,scrollToTopOnRouteChange:e.innerScroll,children:e.content})]})]}),l&&Object(c.jsx)(N,{position:"right",header:e.rightSidebarHeader,content:e.rightSidebarContent,variant:e.rightSidebarVariant||"permanent",innerScroll:e.innerScroll,classes:i,ref:n,rootRef:r})]})]})}));w.defaultProps={};t.a=h.a.memo(w)},1155:function(e,t,a){"use strict";var n=a(397),r=a(8),i=a(2);t.a=function(e){var t=e.columnName,a=e.content,l=e.hideColumnName,o=e.cellClass,c=Object(n.m)(e);return Object(i.jsxs)("div",{className:Object(r.a)(c.reactTableCell,l&&"flex justify-center",o),children:[!l&&Ob
1ject(i.jsx)("span",{className:"text-left pl-2",children:t}),a]})}},1156:function(e,t,a){"use strict";var n=a(118),r=a(313),i=a(2);t.a=function(e){var t=e.label,a=e.placeholder,l=e.value,o=e.setValue,c=e.styleWrapper,s=void 0===c?"min-w-128":c,d=e.styleLabel,b=void 0===d?"pb-5":d,u=e.styleInput,j=void 0===u?"text-center text-12 border-b-1 border-grey-400 max-w-320 bg-transparent":u,p=e.setPage,m=e.type,x=void 0===m?"text":m,h=Object(r.a)().t,v=Object(n.a)((function(e){p(1),o(e.target.value)}),1e3);return Object(i.jsx)(i.Fragment,{children:Object(i.jsxs)("div",{className:s,children:[Object(i.jsx)("div",{className:b,children:h(t)}),Object(i.jsx)("input",{id:t,type:x,className:j,placeholder:h(a||t),defaultValue:l,onChange:v})]})})}},1165:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(623),r=a(396),i=a(313),l=a(2);function o(e){var t=Object(i.a)().t,a=e.content,o=e.link,c=e.icon,s=void 0===c?null:c,d=e.addStyle,b=void 0===d?null:d,u=e.variant,j=void 0===u?null:u,p=e.color,m=void 0===p?"":p,x=e.isNewBlank,h=void 0===x||x;return Object(l.jsxs)(n.a,{component:"a",color:m||"default",href:"".concat("").concat(o),target:h?"_blank":"",role:"button",variant:j||"text",className:b||"flex flex-col text-blue justify-center",children:[s&&Object(l.jsx)(r.a,{children:s})," ",t(a)]})}},1169:function(e,t,a){"use strict";var n=a(0),r=a(44);t.a=Object(r.a)(n.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete")},1475:function(e,t,a){"use strict";a.r(t);var n=a(19),r=a(1154),i=a(397),l=a(1153),o=a(234),c=a(143),s=a(0),d=a.n(s),b=a(9),u=a(25),j=a(15),p=a(1062),m=a(625),x=a(10),h=a(21),v=a(1156),O=a(1155),f=a(1152),g=a(95),N=a(313),S=a(16),y=a(159),k=a(1165),w=a(1151),P=a(236),C=a(2);var I=function(e){var t,a,r=Object(N.a)().t,l=Object(S.b)(),o=Object(i.m)(e),c=Object(P.a)(),I=Object(S.c)((function(e){return e.oneFreeApp.userProfile.userProfiles})),H=Object(s.useState)(+(null===c||void 0===c?void 0:c.get("size"))||x.A.PAGE_SIZE),R=Object(n.a)(H,2),B=R[0],T=R[1],A=Object(s.useState)(null!==c&&void 0!==c&&c.get("page")?+(null===c||void 0===c?void 0:c.get("page")):x.A.PAGE),z=Object(n.a)(A,2),F=z[0],V=z[1],E=Object(s.useState)(+(null===c||void 0===c?void 0:c.get("freeIdUserId"))||""),D=Object(n.a)(E,2),W=D[0],M=D[1],U=Object(s.useState)((null===c||void 0===c?void 0:c.get("personalIdentificationNumber"))||""),_=Object(n.a)(U,2),G=_[0],L=_[1],J=Object(s.useState)((null===c||void 0===c?void 0:c.get("fullName"))||""),Z=Object(n.a)(J,2),q=Z[0],K=Z[1],Q=Object(s.useState)((null===c||void 0===c||null===(t=c.get("mobilePhone"))||void 0===t?void 0:t.trim())||""),X=Object(n.a)(Q,2),Y=X[0],$=X[1],ee=Object(s.useState)((null===c||void 0===c?void 0:c.get("primaryEmail"))||""),te=Object(n.a)(ee,2),ae=te[0],ne=te[1],re=Object(s.useState)((null===c||void 0===c?void 0:c.get("isActive"))||"true"),ie=Object(n.a)(re,2),le=ie[0],oe=ie[1];Object(s.useEffect)((function(){var e={page:F-1,size:B,freeIdUserId:W,personalIdentificationNumber:G,fullName:q,primaryEmail:ae,mobilePhone:Y,isActive:le,sort:"id,desc"},t=j.a.omitBy(e,(function(e){return""===e}));l(Object(g.x)(t)),u.a.push({search:h.L(Object(b.a)(Object(b.a)({},t),{},{page:F}))})}),[l,e.refresh,F,B,W,G,q,Y,ae,le]);var ce=d.a.useMemo((function(){return[{Header:r("View"),className:"justify-center",id:"id",accessor:function(e){return Object(C.jsx)(O.a,{columnName:r("View"),content:Object(C.jsx)(k.a,{buttonClass:o.buttonLink,color:"default",icon:"remove_red_eye",variant:"outlined",link:"/user-profiles/".concat(null===e||void 0===e?void 0:e.id),isNewBlank:!1})})}},{Header:Object(C.jsx)(v.a,{label:r("User Profile Id"),placeholder:"User Profile Id",value:W,setValue:M,setPage:V}),id:"userProfileId",accessor:function(e){return Object(C.jsx)(O.a,{columnName:r("User Profile Id"),content:Object(C.jsx)("span",{className:"userProfileId",children:null===e||void 0===e?void 0:e.id})})}},{Header:Object(C.jsx)(v.a,{label:r("Social Security Number"),placeholder:"Social Security Number",value:G,setValue:L,setPage:V}),id:"personalIdentificationNumber",accessor:function(e){return Object(C.jsx)(O.a,{columnName:r("Social Security Number"),content:Object(C.jsx)("span",{children:null===e||void 0===e?void 0:e.personalIdentificationNumber})})}},{Header:Object(C.jsx)(v.a,{label:r("Full Name"),placeholder:"Full Name",value:q,setValue:K,setPage:V}),id:"fullName",accessor:function(e){var t,a;return Object(C.jsx)(O.a,{columnName:r("Full Name"),content:Object(C.jsx)("span",{children:"".concat(null!==(t=null===e||void 0===e?void 0:e.firstName)&&void 0!==t?t:""," ").concat(null!==e&&void 0!==e&&e.middleName?"".concat(null===e||void 0===e?void 0:e.middleName," "):"").concat(null!==(a=null===e||void 0===e?void 0:e.lastName)&&void 0!==a?a:"")})})}},{Header:Object(C.jsx)(v.a,{label:r("Email"),placeholder:"Email",value:ae,setValue:ne,setPage:V}),id:"primaryEmail",accessor:function(e){var t;return Object(C.jsx)(O.a,{columnName:r("Email"),content:Object(C.jsx)("span",{children:null!==(t=null===e||void 0===e?void 0:e.primaryEmail)&&void 0!==t?t:""})})}},{Header:Object(C.jsx)(v.a,{label:r("Mobile Phone"),placeholder:"Mobile Phone",value:Y,setValue:$,setPage:V}),id:"mobilePhone",accessor:function(e){var t;return Object(C.jsx)(O.a,{columnName:r("Mobile Phone"),content:Object(C.jsx)("span",{children:null!==(t=null===e||void 0===e?void 0:e.mobilePhone)&&void 0!==t?t:""})})}},{Header:r("Subscription"),id:"subscription",accessor:function(e){return Object(C.jsx)(O.a,{columnName:r("Subscription"),content:null!==e&&void 0!==e&&e.subscription?Object(C.jsx)("span",{children:Object(C.jsx)(w.a,{backgroundColor:Object(y.e)(null===e||void 0===e?void 0:e.subscription),label:null===e||void 0===e?void 0:e.subscription})}):""})}},{Header:function(){return Object(C.jsxs)("div",{children:[Object(C.jsx)("div",{className:"pb-5",children:r("Active")}
1),Object(C.jsxs)(p.a,{id:"isActive",value:le,displayEmpty:!0,className:"min-w-84 max-w-320",required:!1,onChange:function(e){return oe(e.target.value)},children:[Object(C.jsx)(m.a,{value:"",children:r("All")},""),Object(C.jsx)(m.a,{value:"true",children:r("\u2705")},1),Object(C.jsx)(m.a,{value:"false",children:r("\u274c")},2)]})]})},id:"isActive",accessor:function(e){return Object(C.jsx)(O.a,{columnName:r("Active"),content:Object(C.jsx)("span",{children:null!==e&&void 0!==e&&e.isActive?r("\u2705"):r("\u274c")})})}}]}),[r,q,o,W,G,le,Y,ae]);return Object(C.jsx)(f.a,{columns:ce,data:null!==(a=null===I||void 0===I?void 0:I.content)&&void 0!==a?a:[],tablePagination:I,page:F,onChangePage:function(e){V(e.target.value)},pageSize:B,changePageSize:function(e){T(e.target.value)}})};t.default=Object(c.a)("oneFreeApp",o.a)((function(e){var t=Object(s.useState)(!1),a=Object(n.a)(t,2),o=a[0],c=a[1];return Object(C.jsx)(r.a,{classes:i.n,header:Object(C.jsx)(l.a,{refresh:!0,handleRefresh:function(){c(!o)},isClearFilter:!0,title:"User Profiles",icon:"portrait"}),content:Object(C.jsx)(I,{refresh:o}),sidebarInner:!0})}))}}]);
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.