PageSourceSearch

https://online.lsk.or.ke/static/js/3555.fcfbdbf1.chunk.js

js lsk.or.ke collected 2026-09-26 05:41:06 UTC 5,785 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklsk=self.webpackChunklsk||[]).push([[3555],{43555:(e,n,s)=>{s.r(n),s.d(n,{default:()=>v});var t=s(9950),l=s(98374),i=s(72360),a=s(70431),d=s(24492),o=s(10300),c=s(22101),r=s(81820),m=s(44414);const v=()=>{const e=(0,d.Zp)(),[n,s]=(0,t.useState)([]),[v,h]=(0,t.useState)(null),u=(0,o.d4)(e=>{var n;return null===e||void 0===e||null===(n=e.userData)||void 0===n?void 0:n.business_token}),[x,p]=(0,t.useState)(!1);(0,t.useEffect)(()=>{u&&(async()=>{try{p(!0);const e=await c.A.request("get","get-member-important-messages",{business_token:u});if(null!==e&&void 0!==e&&e.status){const n=Array.isArray(null===e||void 0===e?void 0:e.data)?e.data:[];s(n),h(n[0]||null)}else s([]),h(null)}catch(e){console.error(e),s([]),h(null)}finally{p(!1)}})()},[u]);const j=(null===v||void 0===v?void 0:v.list)||[];return(0,m.jsxs)(m.Fragment,{children:[x&&(0,m.jsx)(a.A,{}),(0,m.jsxs)("div",{className:"bg-white",children:[(0,m.jsx)(l.A,{type:"resources"}),(0,m.jsx)("div",{className:"banner-section",children:(0,m.jsx)("div",{className:"FAQ-img text-white",children:(0,m.jsx)("div",{className:"banner-img-FAQ px-4",children:(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{className:"font-40 font-semibold pb-xl-2",children:"Announcements"}),(0,m.jsx)("div",{className:"pt-2 pt-md-3 line-height-130 font-20px",children:"View important messages and updates from the Law Society."})]})})})}),(0,m.jsxs)("div",{className:"pageContainer",children:[(0,m.jsx)("div",{className:"border-bottom BackBar mb-4",children:(0,m.jsx)("div",{className:"container py-3",children:(0,m.jsxs)("a",{className:"link-default",onClick:()=>e("/resources"),children:[(0,m.jsx)("span",{children:(0,m.jsx)("svg",{className:"svgFill",width:7,height:12,viewBox:"0 0 7 12",fill:"none",children:(0,m.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.848947 6.42605L5.73793 11.315L6.95996 10.093L2.68199 5.81503L6.95996 1.53706L5.73793 0.315033L0.848947 5.20402C0.686927 5.36609 0.59591 5.58587 0.59591 5.81503C0.59591 6.0442 0.686927 6.26398 0.848947 6.42605Z"})})})," ","Back"]})})}),(0,m.jsx)("div",{className:"container pb-5",children:(0,m.jsxs)("div",{className:"max-w-940 mx-auto",children:[n.length>0&&(0,m.jsx)("nav",{children:(0,m.jsx)("div",{className:"tab-bar tab-bar-v2 border-0 mb-0",role:"tablist",children:n.map((e,n)=>(0,m.jsx)("a",{className:`nav-link font-16px font-semibold mb-0 ${(null===v||void 0===v?void 0:v.title)===(null===e||void 0===e?void 0:e.title)&&"active"}`,role:"tab",type:"button",onClick:()=>{h(e)},children:(0,m.jsx)("span",{className:"tab",children:(0,m.jsx)("span",{className:"tab_text",children:null===e||void 0===e?void 0:e.title})})},`${null===e||void 0===e?void 0:e.title}-${n}`))})}),(0,m.jsx)("div",{className:"tab-content border rounded-15px p-3 rounded-top-left-0",children:(0,m.jsxs)("div",{className:"announcement-list row g-3",children:[!x&&0===n.length&&(0,m.jsx)("div",{className:"col-12 text-center py-4 text-muted",children:"No announcements found"}),!x&&n.length>0&&0===j.length&&(0,m.jsx)("div",{className:"col-12 text-center py-4 text-muted",children:"No announcements in this category"}),j.map(e=>(0,m.jsx)("div",{className:"col-12",children:(0,m.jsxs)("div",{className:"announcement-item border rounded-10px overflow-hidden",children:[(0,m.jsx)("div",{className:"announcement-item-header w-100 border-0 bg-white p-3 d-flex justify-content-between align-items-center text-start",children:(0,m.jsx)("span",{className:"font-20px font-bold pe-3",children:null===e||void 0===e?void 0:e.title})}),(0,m.jsxs)("div",{className:"announcement-item-body px-3 pb-3 pt-3 border-top",children:[((null===e||void 0===e?void 0:e.start_date)||(null===e||void 0===e?void 0:e.end_date))&&(0,m.jsxs)("div",{className:"font-14px text-muted mb-2",children:[(null===e||void 0===e?void 0:e.start_date)&&r.A.dateFormat(e.start_date,"DD MMM YYYY"),(null===e||void 0===e?void 0:e.start_date)&&(null===e||void 0===e?void 0:e.end_date)&&" \u2014 ",(null===e||void 0===e?void 0:e.end_date)&&r.A.dateFormat(e.end_date,"DD MMM YYYY")]}),(0,m.jsxs)("div",{className:"d-flex justify-content-between align-items-center gap-4",children:[(null===e||void 0===e?void 0:e.description)&&(0,m.jsx)("div",{className:"font-16px line-height-150",dangerouslySetInnerHTML:{__html:e.description}}),(null===e||void 0===e?void 0:e.attachment)&&(0,m.jsx)("a",{className:"link-primary d-inline-flex ",onClick:()=>window.open(e.attachment,"_blank"),children:(0,m.jsxs)("svg",{className:"svgFill ",width:"35",height:"35",viewBox:"0 0 54 55",fill:"none",children:[(0,m.jsx)("circle",{cx:"27",cy:"27.3453",r:"27"}),(0,m.jsx)("path",{d:"M34.2129 23.4168H31.7143V15.5596C31.7143 14.6954 31.0071 13.9882 30.1429 13.9882H23.8571C22.9929 13.9882 22.2857 14.6954 22.2857 15.5596V23.4168H19.7871C18.3886 23.4168 17.6814 25.1139 18.6714 26.1039L25.8843 33.3168C26.4971 33.9296 27.4871 33.9296 28.1 33.3168L35.3129 26.1039C36.3029 25.1139 35.6114 23.4168 34.2129 23.4168ZM16 39.1311C16 39.9954 16.7071 40.7025 17.5714 40.7025H36.4286C37.2929 40.7025 38 39.9954 38 39.1311C38 38.2668 37.2929 37.5596 36.4286 37.5596H17.5714C16.7071 37.5596 16 38.2668 16 39.1311Z",fill:"white"})]})})]})]})]})},null===e||void 0===e?void 0:e.id))]})})]})})]}),(0,m.jsx)(i.A,{})]}),(0,m.jsx)("style",{children:"\n                .announcement-item-header {\n                    cursor: pointer;\n                }\n                .announcement-item-header:hover {\n                    background-color: #fafafa;\n                }\n                .announcement-chevron {\n                    display: inline-flex;\n                    transition: transform 0.2s ease;\n                }\n                .announcement-chevron.is-open {\n                    transform: rotate(180deg);\n                }\n            "})]})}}}]);

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.