PageSourceSearch

https://www.barnesjunior.co.uk/chunk-TDOQ3BUH.js

js barnesjunior.co.uk collected 2026-10-08 06:46:36 UTC 21,649 bytes, 1 lines download raw bytes

1import{a as bt,b as _t,c as xt,d as vt,e as Tt,f as Pt,g as Lt,h as kt,i as Et,j as wt,k as It,l as At,m as Ft,n as Rt,o as Mt}from"./chunk-MXM2QGPC.js";import"./chunk-S72PJBV7.js";import{a as St,b as Dt,c as Ht}from"./chunk-NW5FWODR.js";import{A as lt,B as ct,D as dt,E as pt,G as K,H as mt,I as V,N as ht,R as gt,W as ft,Y as Ct,Z as W,ga as yt,ha as ne,o as st,p as rt,y as at,z as oe}from"./chunk-FMGJTS22.js";import{a as _,c as ut}from"./chunk-EW4BODTQ.js";import"./chunk-HAHWC5U6.js";import{$c as ot,Fc as Ze,G as H,Ga as P,Gb as Ke,Hb as q,Ia as Ue,Ja as L,M as $e,Mb as Ve,N as je,Pa as $,Qa as te,Rc as ie,T as Ne,Yc as et,Zc as tt,_b as We,_c as it,ad as nt,bc as z,cc as Je,da as Be,e as Re,f as Me,gc as Ye,i as De,j as C,jc as Qe,k as I,la as Oe,lb as qe,nc as Xe,w as He,wa as Ge,yb as ze}from"./chunk-BJD3J64M.js";import{Aa as O,Ac as ve,Ba as G,E as B,Fa as he,Hc as Te,I as d,Ib as Ce,Jc as p,K as pe,Ob as U,P as Q,Pb as ye,Q as S,Tb as Se,Tc as Z,U as R,Ua as ge,Ub as w,Uc as Pe,Ud as Fe,Vc as Le,Xc as ke,Yc as D,Zc as Ee,_a as fe,_c as ee,a as ce,c as de,e as j,ea as x,fc as be,fd as we,ha as E,hc as m,id as Ie,jc as u,k as Y,oa as me,oc as h,pc as g,q as y,qc as f,qd as v,rc as M,rd as T,sa as r,ud as Ae,vc as _e,wa as ue,wc as xe,x as F,xb as c,xc as X,y as N}from"./chunk-IIIGC2WK.js";import{a as re,b as ae,i as le}from"./chunk-ERIHC7P2.js";var $t="j3-custom-css";function jt(o){let s=o?.customContent?.[0]?.customCss;return typeof s=="string"?s:""}function Vt(o){return o.replace(/<\/style/gi,"<\\/style")}function Nt(o,s){let e=o.head;if(!e)return;let t=o.getElementById($t),i=s??"";if(!i.trim()){t?.parentNode?.removeChild(t);return}let n=t;n||(n=o.createElement("style"),n.id=$t,e.appendChild(n)),n.textContent=Vt(i)}function Wt(o,s){o&1&&(g(0,"section",1)(1,"div",2),M(2,"cms-template-resolver",3),f()()),o&2&&(c(2),h("templateDef",s))}function Jt(o,s){if(o&1&&(m(0,Wt,3,1,"section",1),v(1,"ngrxPush")),o&2){let e,t=p();u((e=T(1,1,t.siteTemplate$))?0:-1,e)}}function Yt(o,s){if(o&1){let e=ve();g(0,"j3-cookies-box",4),v(1,"ngrxPush"),Te("CookeResponse",function(i){O(e);let n=p();return G(n.onCookeResponse(i))})("NavigateToPolicy",function(){O(e);let i=p();return G(i.onNavigateToPolicy())})("AnaliticsResponse",function(i){O(e);let n=p();return G(n.onAnalyticsResponse(i))}),f()}if(o&2){let e=p();h("cookiesLayout",T(1,1,e.cookiesType$))}}var Ot=(()=>{class o{#e;#c;#i;#m;#u;#f;#s;#C;#y;#r;#n;#d;#t;#a;#p;#o;#l;#S;#b;#h;constructor(){this.#e=new ce,this.#c="J3CookiesAccepted",this.#i=r(ne),this.#m=_(),this.#u=_(),this.#f=r(He),this.#s=r(yt),this.#C=r(Ve),this.#y=r(Xe),this.#r=r(Ne),this.#n=r(lt),this.#d=r(bt),this.#t=r(Oe),this.#a=r(Et),this.#p=r(Ce),this.#o=r(Fe,{optional:!0}),this.#l=r(at),this.document=r(he),this.platformId=r(fe),this.iGdprDataProvider=r(Ye,{optional:!0}),this.studybugsProvider=r(Qe,{optional:!0}),this.pagesLogsService=r(ht),this.#S=C(this.platformId)?B(window,"scroll"):Y,this.#b=C(this.platformId)?B(window,"resize"):Y,this.#h=new j(!1),this.siteTemplate$=this.#i.selectCurrentTemplate$.pipe(R()).pipe(d(e=>!H(e)),E(e=>{H(this.#o?.cacheEntry)||(this.#o.cacheEntry.siteThemeName=e.name)})),this.cookiesType$=new j(null),this.popupClosed=!1,this.pageExist=new j(!1),this.cookieBoxVisible$=N([this.pageExist,this.#h]).pipe(F(([e,t])=>e&&t),R()),this.#e.add(this.#r.events.pipe(d(e=>C(this.platformId))).subscribe(e=>{if(e instanceof $e){this.#_(),this.document.body.classList.add("page-navigating");return}e instanceof je&&this.checkPositions()})),this.#l.get("ga_enabled")&&this.#e.add(this.#t.select(P.selectEntity).pipe(d(e=>!!e&&!!e?.googleAnalytics),S(1),E(e=>this.iGdprDataProvider?.initGoogleAnalytics(e))).subscribe())}ngOnInit(){this.#e.add(this.#s.initialized.pipe(d(e=>e),R(),x(()=>pe([this.#i.selectPage$,this.#i.selectContent$]))).subscribe(([e,t])=>{this.pagesLogsService.addLog(e),H(this.#o?.cacheEntry)||(this.#o.cacheEntry.page=e),this.applyCurrentPageToContext(e,t)})),this.#e.add(this.#i.selectNotPermitted.subscribe(e=>{e&&(this.#n.rows=this.createCustomContent(xt),this.pageExist.next(!0),this.#g())})),this.#e.add(this.#i.selectNotFound.subscribe(e=>{e&&this.tryNavigateToHome()}
1)),this.#e.add(this.#i.selectConstPageMode$.pipe(x(e=>e!=null?y([e,void 0]):this.#i.selectPage$.pipe(F(t=>[null,t])))).subscribe(([e,t])=>{switch(!0){case e===$.PageDefinitions.SEARCH:this.#n.rows=this.createCustomContent(vt),this.removeAllSiteClass(),this.addClassList(this.document.body,["jotter-site--search","jotter-site--client"]),this.#a.loadSlideshowForPage(this.#m);break;case e===$.PageDefinitions.CALENDAR:this.#n.rows=this.createCustomContent(_t),this.removeAllSiteClass(),this.addClassList(this.document.body,["jotter-site--calendar","jotter-site--client"]),this.#a.loadSlideshowForPage(this.#u);break;case e===$.PageDefinitions.SITEMAP:this.#n.rows=this.createCustomContent(Tt),this.removeAllSiteClass(),this.addClassList(this.document.body,["jotter-site--sitemap","jotter-site--client"]);break;default:this.#n.rows=this.currentContentValue,this.removeClassList(this.document.body,["jotter-site--search","jotter-site--calendar","jotter-site--sitemap"]),t&&this.#a.loadSlideshowForPage(t.id,!1);break}this.pageExist.next(!0),this.#g()})),this.#e.add(this.#t.select(P.selectEntity).pipe(d(e=>!!e?.additionalHeaders)).subscribe(({additionalHeaders:e})=>{for(let t of Object.keys(e))this.#f.addTag({name:Je.toKebabCase(t),content:e[t]})})),this.#i.loadSiteTemplate(),this.#i.loadSiteContent(),this.#l.check(this.#c)||this.#l.set(this.#c,"false",Be.now().plus({months:6}).toJSDate(),"/"),this.#e.add(this.siteTemplate$.pipe(d(()=>C(this.platformId))).subscribe(e=>{this.addClassList(this.document.body,[`jotter-site-theme--${e.folder.toLowerCase()}`])})),this.#e.add(this.#t.select(P.selectEntity).pipe(F(e=>jt(e)),R()).subscribe(e=>{Nt(this.document,e)})),!I(this.platformId)&&(this.#e.add(this.#b.pipe(d(()=>C(this.platformId)),Q(200)).subscribe(()=>this.checkPositions())),this.#e.add(this.#S.pipe(d(()=>C(this.platformId)),Q(200)).subscribe(()=>this.checkBodyPosition())))}ngAfterViewInit(){this.#e.add(this.#t.select(ie.settingsSelectors.generalSettingsSelector.generalSettingsSelector).pipe(E(e=>{e?.isLoaded||e?.isLoading||this.#t.dispatch(ie.settingsActions.generalSettingsActions.LoadGeneralSettings())}),d(e=>e?.isLoaded),S(1)).subscribe(e=>{this.settings=e,this.#T(e?.logo,e?.customContent?.logoImageSize)},e=>{console.error(e)})),this.showSitePopupIfExist(),!I(this.platformId)&&(this.#_(),this.#e.add(this.iGdprDataProvider?.cookiesAccept$.asObservable().subscribe(e=>{e===$.CookieState.ACCEPTED&&this.onCookeResponse(e)})),this.initGdprPolicy(),setTimeout(()=>{let e=document.getElementById("logout-link");H(e)||this.#e.add(B(e,"click").subscribe(()=>{this.#s.logout(!0)})),this.checkPositions()},5e3),this.#e.add(this.#t.select(P.selectEntity).subscribe(e=>{if(!e)return;this.studybugsProvider?.initStudyBugs(e);let t={modules:{increaseText:!0,decreaseText:!0,invertColors:!0,increaseTextSpacing:!0,decreaseTextSpacing:!0,increaseLineHeight:!1,decreaseLineHeight:!1,grayHues:!0,underlineLinks:!0,bigCursor:!0,readingGuide:!0,textToSpeech:!0,speechToText:!0,disableAnimations:!0},hotkeys:{enabled:!0,helpTitles:!0,keys:{toggleMenu:["ctrlKey","altKey",65],invertColors:["ctrlKey","altKey",73],grayHues:["ctrlKey","altKey",71],underlineLinks:["ctrlKey","altKey",85],bigCursor:["ctrlKey","altKey",67],readingGuide:["ctrlKey","altKey",82],textToSpeech:["ctrlKey","altKey",84],speechToText:["ctrlKey","altKey",83],disableAnimations:["ctrlKey","altKey",81],highContrast:["ctrlKey","altKey",72]}},labels:{resetTitle:"Reset",closeTitle:"Close",menuTitle:"Accessibility Options",increaseText:"Increase text size",decreaseText:"Decrease text size",increaseTextSpacing:"Increase text spacing",decreaseTextSpacing:"Decrease text spacing",increaseLineHeight:"Increase line height",decreaseLineHeight:"Decrease line height",invertColors:"Invert colors",grayHues:"Gray hues",underlineLinks:"Underline links",bigCursor:"Big cursor",readingGuide:"Reading guide",textToSpeech:"Text to speech",speechToText:"Speech to text in English",disableAnimations:"Disable animations",hotkeyPrefix:"Hotkey:"},language:{textToSpeechLang:"en-GB",speechToTextLang:"en-GB"},suppressCssInjection:!0,customFunctions:[{method:(i,n)=>{document.body.classList.toggle("high-contrast")},buttonText:"High contrast",id:3,toggle:!0,icon:"contrast",emoji:"\u2753",order:19},{method:(i,n)=>{document.body.classList.toggle("hide-images")},buttonText:"Hide graphics",id:4,toggle:!0,icon:"hide_image",emoji:"\u2753",order:20},{method:(i,n)=>{this.changeLineHeight(2.5)},buttonText:"Increase line height",id:5,toggle:!1,icon:"unfold_more",emoji:"\u2753",order:21},{method:(i,n)=>{this.changeLineHeight(-2.5)},buttonText:"Decrease line height",id:6,toggle:!1,icon:"unfold_less",emoji:"\u2753",order:22}]};this.initializeAccessibilityPlugin(e,t)})))}ngOnDestroy(){this.#e.unsubscribe()}addClassList(e,t){t.filter(i=>
1i.trim().length).forEach(i=>this.#p.addClass(e,i.trim().replace(" ","_")))}removeClassList(e,t){t.filter(i=>i.trim().length).forEach(i=>this.#p.removeClass(e,i.trim().replace(" ","_")))}removeAllSiteClass(){if(C(this.platformId)){let e=this.document?.body;if(!e)return;(e.getAttribute("class")??"").split(" ").filter(Boolean).forEach(i=>{i.includes("jotter-site--")&&this.#p.removeClass(e,i)})}}unescapeTitleForDisplay(e){return e&&e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'")}applyCurrentPageToContext(e,t){try{let{title:i,layout:n,id:a,homePage:l,name:k}=e;this.removeAllSiteClass(),this.addClassList(this.document.body,[l?"jotter-site--main-page":"",`jotter-site--${k}`,"jotter-site--client"]),this.document.body.classList.remove("overflow-hidden"),e.id!==this.#m&&e.id!==this.#u&&this.#a.loadSlideshowForPage(a);let b=oe(t.contents);if(b.length)this.currentContentValue=b;else try{this.currentContentValue=oe(JSON.parse(n))}catch(J){console.warn(J),this.currentContentValue=[]}this.#n.rows=this.currentContentValue;let A=this.unescapeTitleForDisplay(i);this.#d.title=`${A} | ${this.settings.name}`,this.pageExist.next(!0),this.#g()}catch(i){console.error("ERROR ON PARSING CONTENT JSON"),console.error(i),this.#r.navigate(["/error/500"],{skipLocationChange:!0})}}tryNavigateToHome(e){this.#r.navigate(e?["/",...Ze(e.urlSegments)]:["error","404"],{skipLocationChange:!e})}checkBodyPosition(){if(document.body.getBoundingClientRect().top<0){document.body.classList.add("scrolling");return}document.body.classList.remove("scrolling")}#g(){C(this.platformId)&&requestAnimationFrame(()=>{this.checkPositions(),requestAnimationFrame(()=>{this.#v(),this.document.body.classList.remove("page-navigating")})})}#_(){if(!this.document)return;let e=this.document.querySelector(".site-content-container"),t=this.document.querySelector(".site-content"),i=[e,t].filter(n=>!!n);for(let n of i){let a=n.getBoundingClientRect().height;a<48||(n.style.minHeight=`${Math.ceil(a)}px`)}}#v(){this.document&&this.document.querySelectorAll(".site-content-container, .site-content").forEach(e=>{e.style.removeProperty("min-height")})}#T(e,t){if(!e||typeof e=="string"||!this.document)return;let i=z.resolveSchoolLogoSrc(e,t);if(!i||this.document.getElementById(z.SCHOOL_LOGO_PRELOAD_ID))return;let n=this.document.createElement("link");z.applySchoolLogoPreloadLink(n,i),this.document.head.appendChild(n)}checkPositions(){let e=this.document.querySelector(".site-header")?.getBoundingClientRect().height?this.document.querySelector(".site-header")?.getBoundingClientRect().height:0;document.documentElement.style.setProperty("--header-height",`${e+30}px`);let t=this.document.querySelector(".top-swiper-slideshow")?.getBoundingClientRect().height?this.document.querySelector(".top-swiper-slideshow")?.getBoundingClientRect().height:0;document.documentElement.style.setProperty("--slideshow-wrapper-height",`${t}px`);let i=this.document.querySelector(".toolbar-wrapper")?.getBoundingClientRect().height?this.document.querySelector(".toolbar-wrapper")?.getBoundingClientRect().height:0;document.documentElement.style.setProperty("--header-position",`${i}px`)}initGdprPolicy(){I(this.platformId)||this.#e.add(this.#t.select(te.gdprSettingsSelectors.gdprSettingsSelector.gdprSettingsSelector).pipe(E(e=>{!e.isLoaded&&!e.isLoading&&this.#t.dispatch(te.gdprSettingsActions.gdprSettingsActions.LoadGdprSettings())}),d(e=>e.isLoaded),S(1)).subscribe(e=>{setTimeout(()=>{this.cookiesType$.next(e.gdpr_popup_show?e.gdpr_popup_layout||0:null),this.#h.next(!!e.gdpr_popup_show)})}))}onCookeResponse(e){this.iGdprDataProvider?.onCookeResponse(e,this.#c)}onAnalyticsResponse(e){this.#e.add(this.#t.select(P.selectEntity).subscribe(t=>{let i=this.document.getElementById("g-tag-script"),n=this.document.getElementById("ga-script");e&&!i?this.iGdprDataProvider?.initGoogleAnalytics(t):!e&&i&&(i.remove(),n.remove())}))}onNavigateToPolicy(){this.iGdprDataProvider?.onNavigateToPolicy()}createCustomContent(e){let t=st.getComponentMetadata(rt.COMPONENT_DESCRIPTION_META_KEY,e).flat()[0];return[{uuid:_(),sections:[{size:12,uuid:_(),items:[ae(re({},t),{component:[t.selector].flat()[0],uuid:_()})]}]}]}redirectIfNotAuthorized(){return this.#s.isAuthorized?!0:(this.#s.redirectToLogin(),!1)}showSitePopupIfExist(){this.#e.add(this.#t.select(L.selectIsLoaded).pipe(d(e=>e),S(1),x(()=>N([this.#t.select(L.selectEntity),this.#t.select(P.selectSiteId)])),S(1),E(([e,t])=>{this.updateRuntimeFavicon(e??void 0),e?.popupSettings||console.warn("[Sentry, SiteRendererComponent]:",t,e)}),x(([e,t])=>this.#P(e,t)),S(1)).subscribe(e=>{!("popupSettings"in e)||!e.popupSettings||(this.popupClosed=!0)}))}#P(e,t){if(I(this.platformId))return y({});let i=this.popupClosed||this.#l.get("popup_box_closed")==="true";return this.#x(e,i)?(e?.popupSettings?.text?y(e):this.#L(t)).pipe(x(a=>!this.#x(a,i)||!a?y({}):this.#C.open(ft,{ariaLabelledBy:"modal-title",injector:this.#y.provideModalData({popupSettings:a})}).closed)):y({})}#x(e,t){return!(!e?.popupSettings||e.popupSettings.publicationMode===2&&(!e.addPopup||this.popupClosed)||e.popupSettings.publicationMode===1&&(t||!e.addPopup))}#L(e){return e?(this.#t.dispatch(Ue.loadTrigger({siteId:e})),this.#t.select(L.selectIsLoading).pipe(d(t=>t),S(1),x(()=>N([this.#t.select(L.selectIsLoading),this.#t.select(L.selectLoadingStatus),this.#t.select(L.selectEntity)])),d(([t])=>!t),S(1),F(([t,i,n])=>i===Ge.SUCCESS?n:void 0))):y(void 0)}updateRuntimeFavicon(e){if(!this.document)return;let t=this.resolveFaviconSource(e?.favicon);
1t&&(this.setFaviconLinksHref('link[rel="icon"]',t.baseUrl,t.fileId,"32x32","image/png"),this.setFaviconLinksHref('link[rel="shortcut icon"]',t.baseUrl,t.fileId,"32x32","image/png"),this.setFaviconLinksHref('link[rel="apple-touch-icon"]',t.baseUrl,t.fileId,"180x180","image/png"),this.ensureShortcutIconFallback(t.baseUrl,t.fileId))}setFaviconLinksHref(e,t,i,n="32x32",a){if(!this.document)return;let l=this.document.querySelectorAll(e);l.length&&l.forEach(k=>{let b=k,A=b.getAttribute("sizes")?.trim(),J=A&&/^\d+x\d+$/.test(A)?A:n,zt=this.toSizedPngUrl(t,J),Kt=this.appendFaviconVersion(zt,i);b.setAttribute("href",Kt),a&&b.setAttribute("type",a)})}ensureShortcutIconFallback(e,t){if(!this.document||this.document.querySelector('link[rel="shortcut icon"]'))return;let n=this.document.createElement("link");n.setAttribute("rel","shortcut icon"),n.setAttribute("type","image/png"),n.setAttribute("href",this.appendFaviconVersion(this.toSizedPngUrl(e,"32x32"),t)),this.document.head.appendChild(n)}resolveFaviconSource(e){if(!e)return null;if(typeof e=="string"){let t=e.trim();return t.startsWith("http")?{baseUrl:t}:null}return typeof e.xs=="string"&&e.xs.trim().length>0?{baseUrl:e.xs.trim(),fileId:e.fileId}:typeof e.s=="string"&&e.s.trim().length>0?{baseUrl:e.s.trim(),fileId:e.fileId}:null}toSizedPngUrl(e,t){let i=/\/\d+x\d+(?:\.webp)?(?=$|[?#])/;if(i.test(e))return e.replace(i,`/${t}`);let n=e.trim(),a=n.endsWith("/");return`${n}${a?"":"/"}${t}`}appendFaviconVersion(e,t){if(!t||t.trim().length===0)return e;let i=e.includes("?")?"&":"?";return`${e}${i}v=${encodeURIComponent(t.trim())}`}getBaseUrl(){if(I(this.platformId)&&this.#o){let e=this.#o.protocol,t=this.#o.get("host");return`${e}://${t}`}return typeof window<"u"&&window.location?window.location.origin:""}updateSeoTags(e,t){let i=this.getBaseUrl(),n=this.#r.url.split("?")[0],a=`${i}${n}`;this.#d.setCanonicalUrl(a),this.#d.setOpenGraphTags({title:e,description:t,url:a,type:"website"})}changeLineHeight(e){let t=parseFloat(getComputedStyle(document.body).getPropertyValue("--bs-body-line-height")),i=Array.from(document.querySelectorAll("h1,h2,h3,h4,h5,h6,p,span,a,li,button,table,th,td")),n=i.filter(l=>l.style.lineHeight!==""||parseFloat(getComputedStyle(l).lineHeight.replace("px",""))/parseFloat(getComputedStyle(l).fontSize.replace("px",""))<=t||l.hasAttribute("data-init-line-height"));for(let l of i){let k=l.style.lineHeight?l.style.lineHeight:getComputedStyle(l).lineHeight;l.getAttribute("data-init-line-height")||l.setAttribute("data-init-line-height",k);let b=parseFloat(k.replace("px",""));l.style.lineHeight=`${b+e}px`}document.body.getAttribute("data-init-line-height")||document.body.setAttribute("data-init-line-height",t.toString());let a=document.body.style.lineHeight?parseFloat(document.body.style.lineHeight):t;document.body.style.lineHeight=(a+e).toString()}initializeAccessibilityPlugin(e,t){return le(this,null,function*(){if(!C(this.platformId)||!e?.customContent?.[0]?.accessibilityPlugin)return;let i=yield import("./chunk-ANLUX53I.js"),{Accessibility:n}=i.default??i;new n(t)})}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=U({type:o,selectors:[["jotter-site-renderer"]],features:[Ie([ne])],decls:4,vars:6,consts:[[3,"cookiesLayout"],[1,"container-fluid","app-container"],[1,"row","app-container-row"],[1,"col","a
1pp-container-content",3,"templateDef"],[3,"CookeResponse","NavigateToPolicy","AnaliticsResponse","cookiesLayout"]],template:function(t,i){t&1&&(m(0,Jt,2,3),v(1,"ngrxPush"),m(2,Yt,2,3,"j3-cookies-box",0),v(3,"ngrxPush")),t&2&&(u(T(1,2,i.pageExist)?0:-1),c(2),u(T(3,4,i.cookieBoxVisible$)?2:-1))},dependencies:[W,gt,V,mt,ut],encapsulation:2,changeDetection:0})}}return o})();function Qt(o,s){o&1&&X(0)}function Xt(o,s){if(o&1&&(_e(0),w(1,Qt,1,0,"ng-container",2),xe()),o&2){p(2);let e=Z(3);c(),h("ngTemplateOutlet",e)}}function Zt(o,s){if(o&1&&w(0,Xt,2,1,"ng-container",1),o&2){let e=p();h("j3Permissions",e.to.j3Permissions)}}function ei(o,s){o&1&&X(0)}function ti(o,s){if(o&1&&w(0,ei,1,0,"ng-container",2),o&2){p();let e=Z(3);h("ngTemplateOutlet",e)}}function ii(o,s){o&1&&(g(0,"span"),D(1,"*"),f())}function oi(o,s){if(o&1&&(g(0,"label"),D(1),m(2,ii,2,0,"span"),f()),o&2){let e=p(2);be("for",e.id),c(),ee(" ",e.to.label," "),c(),u(e.to.required&&e.to.hideRequiredMarker!==!0?2:-1)}}function ni(o,s){if(o&1&&(M(0,"i",7),D(1)),o&2){let e=s.item;h("className",e.value+" fa-"+e.name),c(),ee(" ",e.name," ")}}function si(o,s){o&1&&w(0,ni,2,2,"ng-template",4)}function ri(o,s){if(o&1&&(g(0,"div",8),M(1,"formly-validation-message",9),f()),o&2){let e=p(2);Pe("display","block"),c(),h("field",e.field)}}function ai(o,s){if(o&1&&(g(0,"div",6),D(1),f()),o&2){let e=p(2);c(),Ee(e.to.description)}}function li(o,s){if(o&1&&(g(0,"div"),m(1,oi,3,3,"label"),g(2,"ng-select",3),v(3,"async"),m(4,si,1,0,null,4),f(),m(5,ri,2,3,"div",5),m(6,ai,2,1,"div",6),f()),o&2){let e,t=p();ke(we("form-group formly-normalized-select select-item-",t.uniqueID)),Le("has-error",t.showError),c(),u(t.to.label&&t.to.hideLabel!==!0?1:-1),c(),h("formControl",t.formControl)("multiple",t.to.multiple)("items",T(3,17,t.selectOptions))("bindValue",t.to.valueProp)("bindLabel",t.to.labelProp)("placeholder",t.to.placeholder)("formlyAttributes",t.field)("virtualScroll",!0),c(2),u((e=t.to.template==="icons")?4:-1,e),c(),u(t.showError?5:-1),c(),u(t.to.description?6:-1)}}var se=(()=>{class o extends ct{constructor(){super(...arguments),this.uniqueID=_()}get selectOptions(){return this.to?.options instanceof de?this.to?.options:y(this.to?.options||[])}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=ge(o)))(i||o)}})()}static{this.\u0275cmp=U({type:o,selectors:[["app-formly-select"]],features:[Se],decls:4,vars:1,consts:[["recursiveList",""],[4,"j3Permissions"],[4,"ngTemplateOutlet"],["appendTo","body",3,"formControl","multiple","items","bindValue","bindLabel","placeholder","formlyAttributes","virtualScroll"],["ng-option-tmp",""],[1,"invalid-feedback",3,"display"],[1,"form-text"],[3,"className"],[1,"invalid-feedback"],[3,"field"]],template:function(t,i){t&1&&(m(0,Zt,1,1,"ng-container")(1,ti,1,1,"ng-container"),w(2,li,7,19,"ng-template",null,0,Ae)),t&2&&u(i.to.j3Permissions!=null&&i.to.j3Permissions.length?0:1)},dependencies:[q,qe,ze,At,It,wt,K,dt,pt,Re,Me],encapsulation:2})}}return o})();var Gt=[{name:"ng-select",component:se}],Ut=[se];var qt=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275mod=ye({type:o})}static{this.\u0275inj=me({imports:[De,Ke,q,Ut,K.forChild({validators:[{name:"atLeastOneChecked",validation:(e,t)=>null}],validationMessages:[{name:"required",message:"This field is required"},{name:"requiredTrue",message:"This field is required"},{name:"atLeastOneChecked",message:"At least one option must be selected"}],types:[...Gt,...Ct]})]})}}return o})();var ci=[ue(qt,W,Lt.forRoot(We.CLIENT,kt,St),Rt.forRoot(Mt),V.WithComponents([...Pt],[...Ft],!1))],vo=[{canActivate:[Dt,Ht,et,it,ot,nt,tt],component:Ot,data:{templatesLoadMode:"current"},path:"**",providers:[...ci],runGuardsAndResolvers:"always"}];export{vo as siteRendererRoutes};

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.