PageSourceSearch

https://members.ukmcs.co.uk/1954.ce38c918335778a8.js

js ukmcs.co.uk collected 2026-10-07 02:34:10 UTC 11,791 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkVeryConnect=self.webpackChunkVeryConnect||[]).push([[1954],{55430:(h,p,t)=>{t.d(p,{U:()=>e,r:()=>l});var e=(()=>{return(u=e||(e={})).ACTIVE="valid",u.EXPIRED="expired",u.NO_EXPIRY_DATE="noExpiry",e;var u})();const o=new Set(Object.values(e));function l(u){return o.has(u)}},5775:(h,p,t)=>{t.d(p,{A:()=>o});var e=t(14026);let o=(()=>{class l{constructor(){this.fields=[],this.badgeFieldLookup={}}buildBadgeFieldLookup(r,i){if(Object.keys(this.badgeFieldLookup).length)return;const s={};this.fields=i;for(const d of i)s[d]={};for(const d of r)for(const a of i)for(const c of d[a])s[a][c]||(s[a][c]=[]),s[a][c].push(d);this.badgeFieldLookup=s}getBadgesForUser(r,i){const s=[],d=new Set,a=this.fields.filter(c=>r[c]?.length);for(const c of a)for(const E of r[c]){const M=this.badgeFieldLookup[c]?.[E]||[];for(const _ of M)d.has(_.id)||(s.push(_),d.add(_.id))}return s.slice(0,i)}}return l.\u0275fac=function(r){return new(r||l)},l.\u0275prov=e.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})()},63611:(h,p,t)=>{t.d(p,{l:()=>u});var e=t(5891),o=t(14026);class l extends e.hz{}let u=(()=>{class r extends e.SP{constructor(){super({baseUrl:"/api/v1/badge",customMethods:(new e.as).build(),name:"Badge",references:{file:"File"},responseClass:l})}}return r.\u0275fac=function(s){return new(s||r)},r.\u0275prov=o.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},28295:(h,p,t)=>{t.d(p,{Q:()=>M});var e=t(14026),o=t(52805),l=t(50725),u=t(76473),r=t(89763),i=t(28091),s=t(61225),d=t(38674),a=t(36818),c=t(64683);function E(_,g){1&_&&e._uU(0),2&_&&e.Oqu(g.item.fullNameFormatted)}let M=(()=>{class _ extends u.S{constructor(n){super(),this.tzSvc=n}ngOnInit(){this.typeaheadData=this.tzSvc.definitions,super.ngOnInit()}onFocus(n){n.target.select()}onSelect(n){this.ctrl.setValue(n.item.fullNameFormatted,{emitEvent:!1})}writeValue(n){const m=this.ctrl.value;if("string"==typeof n&&n){const O=this.tzSvc.prettifyName(n);O!==m&&(this.ctrl.setValue(O,{emitEvent:!1}),this.cdr.detectChanges())}else this.ctrl.reset(void 0,{emitEvent:null!==n||Boolean(m)}),m&&this.cdr.detectChanges()}createCtrl(){return this.fb.control(null)}valueChanges(){return this.ctrl.valueChanges.pipe((0,l.U)(n=>n&&this.tzSvc.timezoneNameSet.has(n)?n:null),(0,r.N)(null))}}return _.\u0275fac=function(n){return new(n||_)(e.Y36(i.B))},_.\u0275cmp=e.Xpm({type:_,selectors:[["tg-timezone-select"]],features:[e._Bn([{multi:!0,provide:o.JU,useExisting:(0,e.Gpc)(()=>_)}]),e.qOj],decls:4,vars:13,consts:[["tplTypeaheadItem",""],[1,"form-control",3,"autocomplete","formControl","tgConsumeControlId","placeholder","typeahead","typeaheadOptionField","typeaheadGroupField","container","typeaheadItemTemplate","typeaheadMinLength","focus.passive","blur.passive","typeaheadOnSelect"]],template:function(n,m){if(1&n&&(e.YNc(0,E,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"input",1),e.NdJ("focus.passive",function(D){return m.onFocus(D)})("blur.passive",function(){return m.onTouch()})("typeaheadOnSelect",function(D){return m.onSelect(D)}),e.ALo(3,"tr"),e.qZA()),2&n){const O=e.MAs(1);e.xp6(2),e.Q6J("autocomplete","off")("formControl",m.ctrl)("tgConsumeControlId","id")("placeholder",e.xi3(3,10,"placeholder","timezoneSelect"))("typeahead",m.typeaheadData)("typeaheadOptionField","fullName")("typeaheadGroupField","region")("container","body")("typeaheadItemTemplate",O)("typeaheadMinLength",0)}},dependencies:[s.c,d.r,o.Fj,o.JJ,o.oH,a.Bp,c.H],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),_})()},11018:(h,p,t)=>{t.d(p,{i:()=>d});var e=t(52805),o=t(36818),l=t(55324),i=(t(28295),t(50272),t(14026));let d=(()=>{class a{}return a.\u0275fac=function(E){return new(E||a)},a.\u0275mod=i.oAB({type:a}),a.\u0275inj=i.cJS({imports:[l.GlobalModule,e.u5,e.UX,o.H3]}),a})()},50272:(h,p,t)=>{t.d(p,{c:()=>u});var e=t(14026),o=t(52805),l=t(28091);let u=(()=>{class r{constructor(s){this.tzSvc=s}validate({value:s}){return s?this.tzSvc.timezoneNameSet.has(s)?null:{tgTimezoneSelect:!0}:null}}return r.\u0275fac=function(s){return new(s||r)(e.Y36(l.B))},r.\u0275dir=e.lG2({type:r,selectors:[["tg-timezone-select"]],features:[e._Bn([{multi:!0,provide:o.Cf,useExisting:(0,e.Gpc)(()=>r)}])]}),r})()},28091:(h,p,t)=>{t.d(p,{B:()=>s});var e=t(64762),o=t(40921),l=t(48643),r=t(14026),i=t(54074);class s{constructor(a){this.tr=a}get definitions(){const a=/^((?!Etc)\w+\/.+)$/,c=l.tz.names()?.filter(_=>a.test(_));if(!c?.length)throw new Error("moment-timezone hasn't loaded any timezone data");const E=c.map(_=>{const[g,n]=_.split("/");return Object.freeze({fullName:_,fullNameFormatted:this.prettifyName(_),region:g,regionFormatted:this.prettifyName(g),timezone:n,timezoneFormatted:this.prettifyName(n)})}),M=this.tr.translate("other","common");return E.push(Object.freeze({fullName:"UTC",fullNameFormatted:"UTC",region:M,regionFormatted:M,timezone:"UTC",timezoneFormatted:"UTC"})),Object.freeze(E)}get timezoneNameSet(){const a=new Set;for(const c of this.definitions)a.add(c.fullName);return a}cloneDateDigits(a,c){const E=l.tz(a,c),M=l().startOf("year"),_=["millisecond","second","minute","hour","year","month","date"];for(const g of _)M.set(g,E.get(g));return M.toDate()}getTimezoneOffset(a,c){return(void 0!==c?l.tz(a,c):l(a)).format("Z")}prettifyName(a){return a.replace(/_+/g," ")}}s.\u0275fac=function(a){return new(a||s)(r.LFG(i.D))},s.\u0275prov=r.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),(0,e.gn)([(0,o.a)()],s.prototype,"definitions",null),(0,e.gn)([(0,o.a)()],s.prototype,"timezoneNameSet",null)},19642:(h,p,t)=>{t.d(p,{q:()=>M});var e=t(14026),o=t(55324),l=t(84416),u=t(49363),r=t(64177),i=t(62441),s=t(64683);function d(_,g){if(1&_){const n=e.EpF();e.TgZ(0,"div",2)(1,"button",3),e.NdJ("click.passive",function(){e.CHM(n);const O=e.oxw();return e.KtG(O.reset())}),e.qZA()()}}function a(_,g){if(1&_){const n=e.EpF();e.TgZ(0,"div",2)(1,"button",4),e.NdJ("click.passive",function(){e.CHM(n);const O=e.oxw();return e.KtG(O.toggleOpen())}),e.TgZ(2,"span",5),e._uU(3),e.ALo(4,"tr"),e.qZA(),e._UZ(5,"tg-caret",6),e.qZA()()}if(2&_){const n=e.oxw();e.xp6(1),e.Q6J("disabled",n.disabled&&!n.open),e.uIk("aria-expanded",n.expanded),e.xp6(2),e.Oqu(e.xi3(4,4,"advanced","user-search")),e.xp6(2),e.Q6J("direction",n.caretDirection)}}
1const c=["*",[["",8,"input-group-btn"]]],E=["*",".input-group-btn"];let M=(()=>{class _{constructor(){this.disabled=!1,this.open=!1,this.openChange=new e.vpe,this.showAdvanced=!0,this.onOpenSet()}ngOnChanges(){this.onOpenSet()}ngOnDestroy(){this.openChange.complete()}reset(){this.ctrlReset.value&&this.ctrlReset.reset()}toggleOpen(){this.open=!this.open,this.onOpenSet(),this.openChange.emit(this.open)}onOpenSet(){this.expanded=String(this.open),this.caretDirection=this.open?"up":"down"}}return _.\u0275fac=function(n){return new(n||_)},_.\u0275cmp=e.Xpm({type:_,selectors:[["tg-advanced-search-header"]],inputs:{ctrlReset:"ctrlReset",disabled:"disabled",open:"open",showAdvanced:"showAdvanced"},outputs:{openChange:"openChange"},standalone:!0,features:[e.TTD,e.jDz],ngContentSelectors:E,decls:5,vars:2,consts:[[1,"input-group"],["class","input-group-btn",4,"ngIf"],[1,"input-group-btn"],[1,"btn-default",3,"tg-clear-button","click.passive"],["aria-haspopup","true",1,"btn","btn-default",3,"disabled","click.passive"],[1,"hidden-sm","hidden-xs"],[3,"direction"]],template:function(n,m){1&n&&(e.F$t(c),e.TgZ(0,"div",0),e.Hsn(1),e.YNc(2,d,2,0,"div",1),e.YNc(3,a,6,7,"div",1),e.Hsn(4,1),e.qZA()),2&n&&(e.xp6(2),e.Q6J("ngIf",m.ctrlReset),e.xp6(1),e.Q6J("ngIf",m.showAdvanced))},dependencies:[o.GlobalModule,r.O5,i.h,s.H,u.m,l.K],styles:["[_nghost-%COMP%]{display:block}.btn[_ngcontent-%COMP%]{z-index:1}"],changeDetection:0}),_})()},24055:(h,p,t)=>{t.d(p,{z:()=>M});var e=t(14026),o=t(52805),l=t(55430),u=t(55324),r=t(97482),i=t(92362),s=t(64177),d=t(10218);const a=["tgMembStatus",""];function c(_,g){if(1&_&&e._UZ(0,"option",2),2&_){const n=g.$implicit;e.Q6J("ngValue",n.value)("translate",n.label)}}function E(_,g){if(1&_&&e._UZ(0,"option",2),2&_){const n=e.oxw();e.Q6J("ngValue",n.MembershipStatus.NO_EXPIRY_DATE)("translate","membStatus_noExpiry")}}let M=(()=>{class _ extends i.k{constructor(){super(),this.MembershipStatus=l.U,this.value=null}ngOnInit(){this.constantOptions=[{label:"membStatus_all",value:null},{label:"membStatus_valid",value:l.U.ACTIVE},{label:"membStatus_expired",value:l.U.EXPIRED}]}onSelectChange(n){const m=n.target;this.onChange(m.selectedIndex<this.constantOptions.length?this.constantOptions[m.selectedIndex].value:l.U.NO_EXPIRY_DATE)}normaliseWriteValue(n){return(0,l.r)(n)?n:null}trackByLabel(n,m){return m.label}}return _.\u0275fac=function(n){return new(n||_)},_.\u0275cmp=e.Xpm({type:_,selectors:[["select","tgMembStatus",""]],hostVars:1,hostBindings:function(n,m){1&n&&e.NdJ("blur.passive",function(){return m.onTouch()})("change.passive",function(D){return m.onSelectChange(D)}),2&n&&e.Ikx("disabled",m.disabled)},inputs:{showNoExpiry:["tgMembStatus","showNoExpiry"]},standalone:!0,features:[e._Bn([{multi:!0,provide:o.JU,useExisting:(0,e.Gpc)(()=>_)}],[{provide:r.z,useValue:"user-search"}]),e.qOj,e.jDz],attrs:a,decls:2,vars:3,consts:[[3,"ngValue","translate",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngValue","translate",4,"ngIf"],[3,"ngValue","translate"]],template:function(n,m){1&n&&(e.YNc(0,c,1,2,"option",0),e.YNc(1,E,1,2,"option",1)),2&n&&(e.Q6J("ngForOf",m.constantOptions)("ngForTrackBy",m.trackByLabel),e.xp6(1),e.Q6J("ngIf",m.showNoExpiry))},dependencies:[u.GlobalModule,s.sg,s.O5,d.P,o.u5,o.YN,o.Kr],encapsulation:2,changeDetection:0}),_})()},89430:(h,p,t)=>{t.d(p,{t:()=>T});var e=t(52805),o=t(74831),l=t(36818),u=t(79341),r=t(55324),i=t(84416),s=t(49363),d=t(79903),a=t(78124),c=t(80919),E=t(86458),M=t(19642),_=t(44597),g=t(69522),n=t(24055),m=t(75378),O=t(77786),D=t(95877),v=t(65532),P=t(39444),C=t(14026);let T=(()=>{class f{}return f.\u0275fac=function(A){return new(A||f)},f.\u0275mod=C.oAB({type:f}),f.\u0275inj=C.cJS({imports:[r.GlobalModule,D.Q,_.u,i.K,c.D,e.u5,e.UX,E.z,o.z8,d.g,s.m,P.r,O.g,n.z,u.F,m.x,M.q,l.H3,g.A,a.CurrencySymbolComponent,v.s,D.Q,P.r,v.s]}),f})()},89274:(h,p,t)=>{t.d(p,{I:()=>d});
1var e=t(64177),o=t(14026),l=t(74831),u=t(49972),r=t(63611),i=t(5775);function s(a,c){if(1&a&&(o.ynx(0),o._UZ(1,"img",2),o.BQk()),2&a){const E=c.$implicit;o.xp6(1),o.Q6J("src",E.image,o.LSH)("tooltip",E.name)}}let d=(()=>{class a{constructor(){this.badges=[],this.badgeCfg=(0,o.f3M)(u.T),this.badgeRes=(0,o.f3M)(r.l),this.badgeSvc=(0,o.f3M)(i.A),this.cdr=(0,o.f3M)(o.sBO)}ngOnInit(){this.badgeRes.query({}).subscribe(E=>{this.badgeSvc.buildBadgeFieldLookup(E,this.badgeCfg.metadataFields),this.badges=this.badgeSvc.getBadgesForUser(this.user,this.badgeCfg.maxShown),this.cdr.markForCheck()})}}return a.\u0275fac=function(E){return new(E||a)},a.\u0275cmp=o.Xpm({type:a,selectors:[["tg-badge-icons"]],inputs:{user:"user"},standalone:!0,features:[o.jDz],decls:2,vars:1,consts:[[1,"images"],[4,"ngFor","ngForOf"],["width","22","height","22",3,"src","tooltip"]],template:function(E,M){1&E&&(o.TgZ(0,"div",0),o.YNc(1,s,2,2,"ng-container",1),o.qZA()),2&E&&(o.xp6(1),o.Q6J("ngForOf",M.badges))},dependencies:[e.ax,l.z8,l.i9],styles:["img[_ngcontent-%COMP%]{margin:1px}.images[_ngcontent-%COMP%]{display:flex;flex-flow:row-reverse wrap;max-width:48px}"],changeDetection:0}),a})()},676:(h,p,t)=>{t.d(p,{B:()=>r});var e=t(52805),o=t(55324),l=t(11705),u=t(14026);let r=(()=>{class i{}return i.\u0275fac=function(d){return new(d||i)},i.\u0275mod=u.oAB({type:i}),i.\u0275inj=u.cJS({imports:[o.GlobalModule,e.u5,e.UX,l.Z]}),i})()},86458:(h,p,t)=>{t.d(p,{z:()=>s});var e=t(52805),o=t(74831),l=t(55324),u=t(89274),r=t(676),i=t(14026);let s=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275mod=i.oAB({type:d}),d.\u0275inj=i.cJS({imports:[l.GlobalModule,r.B,e.UX,o.z8,u.I,r.B]}),d})()}}]);

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.