PageSourceSearch

https://www.udok.co.za/_next/static/chunks/57657-6ee097633fd8a23b.…=bf809a02cdf8321841ea0ef76b3db5cec0f520e7

js udok.co.za collected 2026-10-06 04:17:36 UTC 12,944 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bfd4852f-fb6c-4eeb-8568-e498d4893603",e._sentryDebugIdIdentifier="sentry-dbid-bfd4852f-fb6c-4eeb-8568-e498d4893603")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[57657],{1665:(e,t,r)=>{"use strict";r.d(t,{default:()=>h});var n=r(54568),s=r(7620),i=r(82175),a=r(65587),o=r.n(a),u=r(15715),c=r(58263);function l(e){let{article:t}=e,r=(0,c.tY)(t.publishedAt);return(0,n.jsx)("article",{className:"h-full","data-sentry-component":"NewsCard","data-sentry-source-file":"news-card.tsx",children:(0,n.jsx)(o(),{href:"/news/".concat(t.slug),className:"group block h-full rounded-v2-card no-underline hover:no-underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-v2-primary","data-sentry-element":"Link","data-sentry-source-file":"news-card.tsx",children:(0,n.jsxs)(u.rK,{tone:"white",elevated:!0,bordered:!0,flush:!0,className:"flex h-full flex-col overflow-hidden transition-colors group-hover:border-v2-primary/30","data-sentry-element":"V2Card","data-sentry-source-file":"news-card.tsx",children:[t.featuredImage&&(0,n.jsx)("div",{className:"aspect-[16/9] overflow-hidden bg-v2-mist",children:(0,n.jsx)(i.default,{src:t.featuredImage.url,alt:t.featuredImage.altText,width:1200,height:675,sizes:"(max-width: 767px) 100vw, (max-width: 1023px) 50vw, (max-width: 1487px) 33vw, 460px",className:"h-full w-full object-cover"})}),(0,n.jsxs)("div",{className:"flex flex-1 flex-col p-[24px]",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-x-[12px] gap-y-[8px]",children:[(0,n.jsx)(u.P0,{tone:"primary-tint","data-sentry-element":"V2Chip","data-sentry-source-file":"news-card.tsx",children:(0,c.vo)(t.categorySlug,t.categoryLabel)}),r&&(0,n.jsx)(u.gG,{variant:"caption",tone:"muted",children:(0,n.jsx)("time",{dateTime:t.publishedAt,children:r})})]}),(0,n.jsx)(u.XV,{level:"h4",as:"h3",className:"mt-[16px]","data-sentry-element":"V2Heading","data-sentry-source-file":"news-card.tsx",children:t.title}),(0,n.jsx)(u.gG,{variant:"body",className:"mt-[12px] line-clamp-3","data-sentry-element":"V2Text","data-sentry-source-file":"news-card.tsx",children:t.summary}),(0,n.jsxs)("span",{className:"mt-auto inline-flex items-center gap-[8px] pt-[20px] text-[14px] font-[700] tracking-[-0.35px] text-v2-ink",children:["Read article",(0,n.jsx)(u.q9,{className:"transition-transform motion-safe:group-hover:translate-x-[4px]","data-sentry-element":"V2Arrow","data-sentry-source-file":"news-card.tsx"})]})]})]})})})}var d=r(5974);let f=(0,d.createServerReference)("40139856079c705fd8a8ac27e09dad9b0ad679107a",d.callServer,void 0,d.findSourceMapURL,"loadMoreNewsroomCards");function h(e){let{initialCards:t,initialNextCursor:r,category:i,query:a,emptyHeading:o,emptyBody:c}
1=e,[d,h]=(0,s.useState)(t),[m,v]=(0,s.useState)(r),[p,y]=(0,s.useState)(!1),[x,$]=(0,s.useState)(!1),g=(0,s.useCallback)(async()=>{if(!m||p)return;y(!0),$(!1);let e=await f({category:i,q:a,cursor:m});e.ok?(h(t=>{let r=new Set(t.map(e=>e.slug));return[...t,...e.items.filter(e=>!r.has(e.slug))]}),v(e.nextCursor)):$(!0),y(!1)},[i,p,m,a]);return 0===d.length?(0,n.jsxs)("section",{className:"py-[16px] text-center","aria-label":"No matching articles",children:[(0,n.jsx)(u.XV,{level:"h2",children:o}),(0,n.jsx)(u.gG,{variant:"body",className:"mt-[8px]",children:c})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("section",{className:"grid gap-[24px] md:grid-cols-2 lg:grid-cols-3","aria-label":"News articles",children:d.map(e=>(0,n.jsx)(l,{article:e},e.slug))}),m&&(0,n.jsxs)("div",{className:"mt-[48px] flex flex-col items-center gap-[12px]",children:[(0,n.jsx)(u.RE,{variant:"outline",onClick:g,loading:p,loadingLabel:"Loading...",children:"Load more articles"}),x&&(0,n.jsx)("div",{role:"alert",children:(0,n.jsx)(u.gG,{variant:"caption",tone:"muted",children:"Could not load more articles. Please try again."})})]})]})}},28461:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",s="week",i="month",a="quarter",o="year",u="date",c="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h="en",m={};m[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var v="$isDayjsObject",p=function(e){return e instanceof g||!(!e||!e[v])},y=function e(t,r,n){var s;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();m[i]&&(s=i),r&&(m[i]=r,s=i);var a=t.split("-");if(!s&&a.length>1)return e(a[0])}else{var o=t.name;m[o]=t,s=o}return!n&&s&&(h=s),s||!n&&h},x=function(e,t){if(p(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new g(r)},$={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,i),a=r-s<0,o=t.clone().add(n+(a?-1:1),i);return+(-(n+(r-s)/(a?s-o:o-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:i,y:o,w:s,d:"day",D:u,h:n,m:r,s:t,ms:e,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};$.l=y,$.i=p,$.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var g=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(l);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return $},h.isValid=function(){return this.$d.toString()!==c},h.isSame=function(e,t){var r=x(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return x(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<x(e)},h.$g=function(e,t,r){return $.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var c=this,l=!!$.u(a)||a,d=$.p(e),f=function(e,t){var r=$.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return l?r:r.endOf("day")},h=function(e,t){return $.w(c.toDate()[e].apply(c.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(t)),c
1)},m=this.$W,v=this.$M,p=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case o:return l?f(1,0):f(31,11);case i:return l?f(1,v):f(0,v+1);case s:var x=this.$locale().weekStart||0,g=(m<x?m+7:m)-x;return f(l?p-g:p+(6-g),v);case"day":case u:return h(y+"Hours",0);case n:return h(y+"Minutes",1);case r:return h(y+"Seconds",2);case t:return h(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(s,a){var c,l=$.p(s),d="set"+(this.$u?"UTC":""),f=((c={}).day=d+"Date",c[u]=d+"Date",c[i]=d+"Month",c[o]=d+"FullYear",c[n]=d+"Hours",c[r]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[l],h="day"===l?this.$D+(a-this.$W):a;if(l===i||l===o){var m=this.clone().set(u,1);m.$d[f](h),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[$.p(e)]()},h.add=function(e,a){var u,c=this;e=Number(e);var l=$.p(a),d=function(t){var r=x(c);return $.w(r.date(r.date()+Math.round(t*e)),c)};if(l===i)return this.set(i,this.$M+e);if(l===o)return this.set(o,this.$y+e);if("day"===l)return d(1);if(l===s)return d(7);var f=((u={})[r]=6e4,u[n]=36e5,u[t]=1e3,u)[l]||1,h=this.$d.getTime()+e*f;return $.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=$.z(this),i=this.$H,a=this.$m,o=this.$M,u=r.weekdays,l=r.months,f=r.meridiem,h=function(e,r,s,i){return e&&(e[r]||e(t,n))||s[r].slice(0,i)},m=function(e){return $.s(i%12||12,e,"0")},v=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return $.s(t.$y,4,"0");case"M":return o+1;case"MM":return $.s(o+1,2,"0");case"MMM":return h(r.monthsShort,o,l,3);case"MMMM":return h(l,o);case"D":return t.$D;case"DD":return $.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,u,2);case"ddd":return h(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return $.s(i,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return v(i,a,!0);case"A":return v(i,a,!1);case"m":return String(a);case"mm":return $.s(a,2,"0");case"s":return String(t.$s);case"ss":return $.s(t.$s,2,"0");case"SSS":return $.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,u,c){var l,d=this,f=$.p(u),h=x(e),m=(h.utcOffset()-this.utcOffset())*6e4,v=this-h,p=function(){return $.m(d,h)};switch(f){case o:l=p()/12;break;case i:l=p();break;case a:l=p()/3;break;case s:l=(v-m)/6048e5;break;case"day":l=(v-m)/864e5;break;case n:l=v/36e5;break;case r:l=v/6e4;break;case t:l=v/1e3;break;default:l=v}return c?l:$.a(l)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return m[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=y(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return $.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),b=g.prototype;return x.prototype=b,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",u]].forEach(function(e){b[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),x.extend=function(e,t){return e.$i||(e(t,g,x),e.$i=!0),x},x.locale=y,x.isDayjs=p,x.unix=function(e){return x(1e3*e)},x.en=m[h],x.Ls=m,x.p={},x}()},34624:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var n=r(54443),s=r(54568);let i=(0,n.A)((0,s.jsx)("path",{d:"M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0s.41-1.08 0-1.49zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"SearchRounded")},54618:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ScrollReveal:()=>i});var n=r(54568),s=r(7620);function i(e){let{children:t,className:r,delay:i=0}
1=e,a=(0,s.useRef)(null),[o,u]=(0,s.useState)("static");return(0,s.useLayoutEffect)(()=>{let e=a.current;if(!e||"undefined"==typeof IntersectionObserver)return;u("hidden");let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(u("revealed"),t.disconnect())},{rootMargin:"0px 0px -10% 0px"});return t.observe(e),()=>t.disconnect()},[]),(0,n.jsx)("div",{ref:a,style:i?{animationDelay:"".concat(i,"ms")}:void 0,className:"".concat("revealed"===o?"motion-safe:animate-fade-up":"hidden"===o?"motion-safe:opacity-0":""," ").concat(null!=r?r:""),"data-sentry-component":"ScrollReveal","data-sentry-source-file":"scroll-reveal.tsx",children:t})}},82389:(e,t,r)=>{Promise.resolve().then(r.bind(r,1665)),Promise.resolve().then(r.bind(r,54618)),Promise.resolve().then(r.bind(r,15972)),Promise.resolve().then(r.bind(r,53223)),Promise.resolve().then(r.bind(r,60606)),Promise.resolve().then(r.bind(r,10868)),Promise.resolve().then(r.bind(r,51557)),Promise.resolve().then(r.bind(r,65848)),Promise.resolve().then(r.bind(r,10483)),Promise.resolve().then(r.bind(r,66107)),Promise.resolve().then(r.bind(r,40895)),Promise.resolve().then(r.bind(r,39907)),Promise.resolve().then(r.bind(r,89050)),Promise.resolve().then(r.bind(r,16884)),Promise.resolve().then(r.bind(r,34624)),Promise.resolve().then(r.t.bind(r,65587,23))}}]);

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.