PageSourceSearch

https://ncrponline.org/assets/index-B9SESIQ2.js

js ncrponline.org collected 2026-09-24 18:09:39 UTC 2,751 bytes, 53 lines download raw bytes

1import{d as o,u as c,j as i}from"./index-CL5CXY0i.js";import"./react-CryvJVFI.js";import{u as f}from"./useProfessionalAffiliationsManagement-1bPm_7t6.js";import{F as x}from"./index-C3vpPgak.js";import"./index-C09Y5_TV.js";import"./index-DNaSW-Dx.js";import"./react-toastify.esm-BcQ5eTVB.js";import"./index-DyUk60wA.js";import"./react-content-loader.es-9HMRlSLY.js";import"./useFetchPacList-CGKTKoEm.js";import"./useVideoThumbnailsManagement-CtslanMO.js";import"./index-BijeTAIV.js";import"./react-paginate-RUzgbzG0.js";import"./index-Cnqjmcqm.js";import"./index-DBTgMqXe.js";import"./index-BvdDu3lj.js";import"./MagnifyingGlassIcon-CSsbjLNy.js";import"./index-hOClxwWK.js";import"./index-DngTBLDh.js";import"./lodashUtils-EZhUIFFV.js";import"./useAnnualReportHook-hS8Y5hfP.js";import"./useNewsAnnouncement-DQ3p5OSZ.js";import"./useMeetinghook-CmPAFIya.js";import"./useJobDetailsManagement-C_9AYzBf.js";import"./index-CJ5qLs-6.js";import"./useAnnualReportHook-DLspTqsz.js";import"./index-B2cqaVCK.js";const g=o.div`
2  display: flex;
3  flex-direction: column;
4  align-items: center;
5  padding: 0px;
6`,h=o.button`
7  background-color: #1C399D;
8  color: white;
9  border: none;
10  padding: 10px 20px;
11  font-size: 16px;
12  cursor: pointer;
13  border-radius: 5px;
14  margin-top: 20px;
15  &:hover {
16    background-color: #0056b3;
17  }
18`,u=o.div`
19  background-color: ${t=>t.index%2===0?"#F0F6FD":"#F3F3F3"};
20  border-radius: 16px;
21  padding: 16px;
22  margin-bottom: 20px;
23  width: 100%;
24  max-width: 100%;
25  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
26  display: flex;
27  flex-direction: column;
28  gap: 16px;
29`,b=o.div`
30  display: flex;
31  margin: 0px 0;
32`,I=o.span`
33  color: #768f97;
34  font-family: Plus Jakarta Sans;
35  font-size: 14px;
36  font-weight: 400;
37  line-height: 10px;
38  text-align: left;
39  margin-bottom: 10px;
40  
41`,F=o.span`
42  color: #324a51;
43  display: flex;
44  font-family: Montserrat;
45  font-size: 16px;
46  font-weight: 400;
47  line-height: 24px;
48  text-align: left;
49`,j=o.img`
50  width: 20px;
51  height: 20px;
52  margin-right: 10px;
53`,Q=()=>{const{affiliations:t,loading:n}=f(),a=c(),l=()=>{a("/admin/members/addinfo/?tab=professional")};if(n)return i.jsx(x,{});const e=parseInt(localStorage.getItem("loggedRoleId"),10),s=Number(localStorage.getItem("loggedInId")),d=JSON.parse(localStorage.getItem("clickedMemberId")),p=e===1||e===2||s===d;return i.jsx(g,{children:t.length?i.jsx(i.Fragment,{children:t.map((m,r)=>i.jsx(u,{index:r,children:i.jsxs(b,{children:[i.jsx(j,{src:"/AdminPanel/MemberDetails/command-square.png",alt:"Affiliation Icon"}),i.jsxs("div",{children:[i.jsx(I,{children:"Affiliation Type:"}),i.jsx(F,{children:m.affiliation_type})]})]})},r))}):p?i.jsx(h,{onClick:l,children:"Add Professional Affiliations"}):"No Data"})};export{Q 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.