1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[7466],{62329(P,m,n){n.d(m,{J:()=>o});var l=n(45678),s=n(96794),d=n(39993);class o{includeTime;referenceDate=new Date;_pureValue;label="_i18n.ReportsRange";constructor(e={periodType:l.ci.Today},r=!0){this.includeTime=r,this._pureValue={periodType:e.periodType,periodFromTo:"periodFromTo"in e?e.periodFromTo:null,firstWeekDay:"firstWeekDay"in e?e.firstWeekDay:null}}get isTimeIncluded(){return(0,s.Pr)(this._pureValue.periodType)||this.includeTime}getDisplayValue(e){const{periodType:r,firstWeekDay:a,periodFromTo:h}=this.pureValue;return r===l.ci.Custom?(0,s.t5)(h,this.isTimeIncluded):`${e.instant((0,s.Yy)(r))}${r===l.ci.LastWeek&&null!==a?` (${e.instant((0,s.Uz)(a))})`:""}`}getDisplayValueForPrint(e){const{periodType:r,firstWeekDay:a,periodFromTo:h}=this.pureValue,t=(0,s.t5)(h,this.isTimeIncluded);return`${e.instant((0,s.Yy)(r))}${r===l.ci.LastWeek&&null!==a?` - ${e.instant((0,s.Uz)(a))}`:""}${t?` (${t})`:""}`}get pureValue(){let{periodFromTo:e,periodType:r,firstWeekDay:a}=this.validate()?{periodType:null,periodFromTo:null,firstWeekDay:null}:this._pureValue;r??=l.ci.Today,a??=(0,d.m)(),e??=(0,s.ZB)(r,a,this.referenceDate,this.includeTime);let[h,t]=e;return h>t&&([h,t]=[t,h]),{periodType:r,periodFromTo:this.isTimeIncluded?e:[new Date(h.getFullYear(),h.getMonth(),h.getDate()),new Date(t.getFullYear(),t.getMonth(),t.getDate())],firstWeekDay:a}}set pureValue(e){this._pureValue={periodType:e.periodType,periodFromTo:e.periodType===l.ci.Custom&&"periodFromTo"in e?e.periodFromTo:null,firstWeekDay:"firstWeekDay"in e?e.firstWeekDay:null}}get value(){const{periodType:e,periodFromTo:r,firstWeekDay:a}=this.pureValue,[h,t]=r;return{periodType:e,periodFromTo:[h,this.isTimeIncluded?t:new Date(t.setDate(t.getDate()+1))],firstWeekDay:a}}set value(e){this.pureValue=e}deserialize(e){let r=l.ci.Today,a=null,h=null,t=this.referenceDate;const c=this.includeTime;"periodType"in e&&(0,s.Wl)(e.periodType)&&(r=e.periodType);const u=c||(0,s.Pr)(r);if("firstWeekDay"in e&&(0,s.OE)(e.firstWeekDay)&&(h=e.firstWeekDay),r===l.ci.Custom&&"periodFromTo"in e&&(0,s.Yu)(e.periodFromTo)){const i=(0,s.xo)(e.periodFromTo[0],u),E=(0,s.xo)(e.periodFromTo[1],u,!0);i&&E&&(a=i<=E?[i,E]:[E,i])}if(l.tc in e&&"string"==typeof e[l.tc]){const i=(0,s.xo)(e[l.tc],!1);i&&(t=i)}const D=new o({periodType:r,periodFromTo:a,firstWeekDay:h},c);return D.referenceDate=t,D}serialize(){const{periodFromTo:e,periodType:r,firstWeekDay:a}=this.pureValue;return{periodType:r,periodFromTo:r===l.ci.Custom?e.map(h=>(0,s.Cg)(h,this.includeTime)):void 0,firstWeekDay:r===l.ci.LastWeek?a:void 0}}validate(){const{periodFromTo:e,periodType:r}=this._pureValue;if(r===l.ci.Custom){if(!e)return{periodFromTo:{required:!0}};if(!e.every(Boolean))return{periodFromTo:{invalid:!0}}}return null}}},47429(P,m,n){n.d(m,{j:()=>r});var l=n(85802),s=n(89417),d=n(43748),o=n(68018),g=n(66300),e=n(35547);let r=(()=>{class a extends d.F{translate=(0,l.WQX)(o.c$);searchable=!1;sortOptions;options;constructor(){super(new s.MJ(null))}writeValue(t){super.writeValue(t),this.options=this.sortOptions?t.options.slice().map(c=>({...c,label:this.translate.instant(c.label)})).sort((c,u)=>-1===c.value||-1===u.value?0:c.label.localeCompare(u.label)):t.options}static \u0275fac=function(c){return new(c||a)};static \u0275cmp=e.VBU({type:a,selectors:[["app-enum-filter"]],inputs:{searchable:"searchable",sortOptions:"sortOptions"},features:[e.Jv_([{provide:s.kq,multi:!0,useExisting:a},{provide:s.cz,multi:!0,useExisting:a}]),e.Vt3],decls:5,vars:8,consts:[["data-qa","enum-filter",1,"d-flex","gap-3"],[1,"filter-label"],[3,"formControl","options","searchable"]],template:function(c,u){1&c&&(e.j41(0,"div",0)(1,"label",1),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"field-select",2),e.k0s()),2&c&&(e.R7$(),e.AVh("disabled",u.disabled),e.R7$(),e.JRh(e.bMT(3,6,u.value.label)),e.R7$(2),e.Y8G("formControl",u.control)("options",u.value.options)("searchable",u.searchable))},dependencies:[g.q,s.X1,s.BC,s.l_,o.D9],encapsulation:2,changeDetection:0})}return a})()},75215(P,m,n){n.d(m,{L:()=>l});class l{label;queryParam;options;key;omitDefaultInValue;defaultOption;pureValue;constructor(d,o,g,e="selectedValue",r=!1,a=null){this.label=d,this.queryParam=o,this.options=g,this.key=e,this.omitDefaultInValue=r,this.defaultOption=a,this.pureValue=this.defaultValue}get defaultValue(){return this.defaultOption??this.options[0].value}get value(){return{[this.key]:this.omitDefaultInValue&&this.pureValue===this.defaultValue?null:this.pureValue}}set value(d){this.pureValue=d[this.key]??this.defaultValue}deserialize(d){const o=this.value,g=new l(this.label,this.queryParam,this.options,this.key,this.omitDefaultInValue,this.defaultOption);return o&&(g.value=o),l.updateFromSerializedFilter(g,d)}getDisplayValue(d){return d.instant(this.options.find(o=>o.value===this.pureValue).label)}getDisplayValueForPrint(d){return this.getDisplayValue(d)}serialize(){return this.pureValue===this.defaultValue||null==this.pureValue?{}:{[this.queryParam]:this.pureValue}}validate(){return null}static updateFromSerializedFilter(d,o){return d.queryParam in o&&d.options.some(g=>g.value===o[d.queryParam])&&(d.pureValue=o[d.queryParam]),d}}},18467(P,m,n){n.d(m,{o:()=>l});class l{data;isLoading;page;hasMore;constructor(d,o=!1,g=0,e=!1){this.data=d,this.isLoading=o,this.page=g,this.hasMore=e}}},79997(P,m,n){n.d(m,{K:()=>i});var l=n(28793),s=n(7673),d=n(57786),o=function(C){return C.Reset="Reset",C.NextPage="NextPage",C.ChunkLoading="ChunkLoading",C}(o||{}),g=n(65245),e=n(25558),r=n(5964),a=n(63489),h=n(96354),t=n(12498),c=n(44668),u=n(18467),D=n(89079);const i=(C,M,b,_,I,p,v)=>{const f=_.pipe((0,g.i)(1),(0,e.n)(()=>(0,l.x)((0,s.of)(o.ChunkLoading),(0,s.of)(o.NextPage)))),O=I.pipe((0,e.n)(()=>(0,l.x)((0,s.of)(o.Reset),(0,s.of)(o.NextPage))));return b.pipe((0,r.p)(S=>null!==S),(0,e.n)(S=>(0,d.h)(O,f).pipe((0,a.i)((T,y)=>T.hasMore||y!==o.ChunkLoading&&y!==o.NextPage?y===o.Reset?(0,s.of)(new u.o([],
1!0,0,!0)):y===o.ChunkLoading?(0,s.of)(new u.o(T.data,!0,T.page+1,T.hasMore)):y===o.NextPage?(0,s.of)(T.page).pipe(p(S,v),(0,h.T)(B=>new u.o(T.data.concat(B),!1,T.page,B.length===v))):(0,s.of)(T):(0,s.of)(T),new u.o([],!1,-1,!0),1))),(0,t.L)(E(C)),(0,D.pQ)(M),(0,c.t)({refCount:!0}))},E=C=>({delay:M=>C.confirmRetryAfterError(M).pipe((0,h.T)(()=>0))})},28791(P,m,n){n.d(m,{X:()=>d});var l=n(35547),s=n(85802);let d=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275cmp=l.VBU({type:o,selectors:[["app-file-lines-solid-icon"],["","app-file-lines-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 384 512"],["d","M256 0v128h128L256 0zM224 128L224 0H48C21.49 0 0 21.49 0 48v416C0 490.5 21.49 512 48 512h288c26.51 0 48-21.49 48-48V160h-127.1C238.3 160 224 145.7 224 128zM272 416h-160C103.2 416 96 408.8 96 400C96 391.2 103.2 384 112 384h160c8.836 0 16 7.162 16 16C288 408.8 280.8 416 272 416zM272 352h-160C103.2 352 96 344.8 96 336C96 327.2 103.2 320 112 320h160c8.836 0 16 7.162 16 16C288 344.8 280.8 352 272 352zM288 272C288 280.8 280.8 288 272 288h-160C103.2 288 96 280.8 96 272C96 263.2 103.2 256 112 256h160C280.8 256 288 263.2 288 272z"]],template:function(r,a){1&r&&(s.qSk(),l.rj2(0,"svg",0),l.Hgh(1,"path",1),l.eux())},encapsulation:2})}return o})()},22429(P,m,n){n.d(m,{D:()=>r});var l=n(17705),s=n(35547),d=n(85802),o=n(33726),g=n(70152);let r=(()=>{class a{zone=(0,d.WQX)(d.SKi);infiniteScrollCallback=(0,l.CGW)();infiniteScrollContainer;infiniteScrollDistance=0;infiniteScrollDisabled=!1;infiniteScrollUseDocumentBottom=!1;infiniteScrollListenForEvent;zeroBased=!1;infiniteScrollParent=!1;infiniteScrollImmediateCheck=!1;elem;windowElement=window;scrollEnabled=null;checkWhenEnabled=null;container=null;scrollSubscription;sizeCheckInterval;hostProps={width:0,height:0};height(t){return isNaN(t.offsetHeight)?t.document.documentElement.clientHeight:t.offsetHeight}pageYOffset(t){return isNaN(window.scrollY)?t.document.documentElement.scrollTop:t.ownerDocument.defaultView.scrollY}offsetTop(t){if(t.getBoundingClientRect)return t.getBoundingClientRect().top+this.pageYOffset(t)}defaultHandler(){let t=0,c=0;if(this.container===this.windowElement)t=this.height(this.container)+this.pageYOffset(this.container[0].document.documentElement),c=this.offsetTop(this.elem)+this.height(this.elem);else{t=this.height(this.container);let i=0;void 0!==this.offsetTop(this.container)&&(i=this.offsetTop(this.container)),c=this.offsetTop(this.elem)-i+this.height(this.elem)}this.infiniteScrollUseDocumentBottom&&(c=this.height((this.elem[0].ownerDocument||this.elem[0].document).documentElement)),c-t<=this.height(this.container)*this.infiniteScrollDistance+(this.zeroBased?0:1)?(this.checkWhenEnabled=!0,this.scrollEnabled&&this.infiniteScrollCallback.emit()):this.checkWhenEnabled=!1}handleInfiniteScrollDisabled(t){this.scrollEnabled=!t,this.scrollEnabled&&this.checkWhenEnabled&&(this.checkWhenEnabled=!1)}changeContainer(t){void 0!==this.scrollSubscription&&(this.scrollSubscription.unsubscribe(),this.scrollSubscription=void 0),this.container=t,null!=t&&(this.scrollSubscription=(0,o.R)(t,"scroll").pipe((0,g.B)(300)).subscribe(c=>this.defaultHandler()))}handleInfiniteScrollContainer(t){if(null==t||0===t.length)return;const c=this.elem.closest(t);if(null==c)throw new Error("invalid infinite-scroll-container attribute.");this.changeContainer(c)}constructor(){const t=(0,d.WQX)(s.aKT);this.elem=t.nativeElement}ngOnChanges(t){t.infiniteScrollDisabled&&this.handleInfiniteScrollDisabled(this.infiniteScrollDisabled),t.infiniteScrollContainer&&this.handleInfiniteScrollContainer(this.infiniteScrollContainer||[])}ngAfterViewInit(){this.handleInfiniteScrollDisabled(this.infiniteScrollDisabled),this.handleInfiniteScrollContainer(this.infiniteScrollContainer||this.windowElement)}ngAfterContentInit(){const t=()=>{const c=this.elem.offsetHeight,u=this.elem.offsetWidth;(c!==this.hostProps.height||u!==this.hostProps.width)&&(this.hostProps={width:u,height:c},this.zone.run(()=>{this.defaultHandler()}))};setTimeout(()=>{t(),this.sizeCheckInterval=this.zone.runOutsideAngular(()=>setInterval(t,300))})}ngOnDestroy(){void 0!==this.scrollSubscription&&this.scrollSubscription.unsubscribe(),clearInterval(this.sizeCheckInterval)}static \u0275fac=function(c){return new(c||a)};static \u0275dir=s.FsC({type:a,selectors:[["","infiniteScroll",""]],inputs:{infiniteScrollContainer:"infiniteScrollContainer",infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollUseDocumentBottom:"infiniteScrollUseDocumentBottom",infiniteScrollListenForEvent:"infiniteScrollListenForEvent",zeroBased:"zeroBased",infiniteScrollParent:"infiniteScrollParent",infiniteScrollImmediateCheck:"infiniteScrollImmediateCheck"},outputs:{infiniteScrollCallback:"infiniteScrollCallback"},features:[s.OA$]})}return a})()},68845(P,m,n){n.d(m,{L:()=>b});var l=n(17705),s=n(85802),d=n(32271),o=n(89417),g=n(70152),e=n(96106),r=n(35606),a=n(68018),h=n(58689),t=n(56998),c=n(98352),u=n(89079),D=n(8516),i=n(35547);const E=[[["","search-prepend",""]],[["","search-append",""]]],C=["[search-prepend]","[search-append]"];function M(_,I){if(1&_){const p=i.RV6();i.j41(0,"lucide-icon",4),i.bIt("click",function(f){s.eBV(p);const O=i.XpG();return s.Njj(O.clear(f))}),i.k0s()}if(2&_){const p=i.XpG();i.Y8G("img",p.XIcon)}}let b=(()=>{class _ extends c.z{isNewDesignGlobal=(0,s.WQX)(h.T);
1newDesign=(0,l.hFB)();isNewDesign=(0,d.EW)(()=>this.newDesign()??this.isNewDesignGlobal());autofocus=!0;placeholder="_i18n.Search";debounceTime=e.tN;clearable;formControl=new o.MJ("",{nonNullable:!0});ngOnInit(){this.formControl.valueChanges.pipe((0,g.B)(this.debounceTime),(0,u.pQ)(this.destroyRef)).subscribe(p=>{this.valueChanged(p)})}writeValue(p){super.writeValue(p??""),this.formControl.setValue(this.value,{emitEvent:!1})}setDisabledState(p){super.setDisabledState(p),(0,t.TZ)(this.formControl,!p)}clear(p){p?.stopPropagation(),this.formControl.value&&(this.formControl.setValue(""),this.valueChanged(""))}Search=D.vji;XIcon=D.uv5;static \u0275fac=(()=>{let p;return function(f){return(p||(p=i.xGo(_)))(f||_)}})();static \u0275cmp=i.VBU({type:_,selectors:[["search-bar"]],hostVars:5,hostBindings:function(v,f){2&v&&(i.BMQ("data-qa","search-bar"),i.AVh("new-design",f.isNewDesign())("keep-old-design",!1===f.newDesign()))},inputs:{newDesign:[1,"newDesign"],autofocus:"autofocus",placeholder:"placeholder",debounceTime:"debounceTime",clearable:"clearable"},features:[i.Jv_([{provide:o.kq,useExisting:_,multi:!0}]),i.Vt3],ngContentSelectors:C,decls:7,vars:12,consts:[[1,"position-relative","flex-1"],["name","search","data-qa","input","wcAutofocus","","type","text",3,"keydown.enter","keydown.escape","wcAutofocusDisabled","maxlength","placeholder","formControl"],[1,"search-icon",3,"img"],["role","button",1,"clear-icon",3,"img"],["role","button",1,"clear-icon",3,"click","img"]],template:function(v,f){1&v&&(i.NAR(E),i.SdG(0),i.j41(1,"div",0)(2,"input",1),i.nI1(3,"translate"),i.bIt("keydown.enter",function(){return f.valueChanged(f.formControl.value)})("keydown.escape",function(){return f.clear()}),i.k0s(),i.nrm(4,"lucide-icon",2),i.nVh(5,M,1,1,"lucide-icon",3),i.k0s(),i.SdG(6,1)),2&v&&(i.R7$(2),i.HbH(i.VkB("",f.isNewDesign()?"form-control":"no-bg border-0"," w-100")),i.Y8G("placeholder",i.VkB("",i.bMT(3,10,f.placeholder),"..."))("wcAutofocusDisabled",!f.autofocus)("maxlength",255)("formControl",f.formControl),i.R7$(2),i.Y8G("img",f.Search),i.R7$(),i.vxM(f.clearable&&f.formControl.value?5:-1))},dependencies:[r.J,o.X1,o.me,o.BC,o.tU,o.l_,D.flO,D.WGl,a.D9],styles:["@media(max-width:1399.98px){.d-xxl-down-none[_ngcontent-%COMP%], .xxl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:1199.98px){.d-xl-down-none[_ngcontent-%COMP%], .xl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:991.98px){.d-lg-down-none[_ngcontent-%COMP%], .lg-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:767.98px){.d-md-down-none[_ngcontent-%COMP%], .md-visible[_ngcontent-%COMP%]{display:none!important}}@media(max-width:575.98px){.d-sm-down-none[_ngcontent-%COMP%], .sm-visible[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;padding:var(--spacer-xs);gap:var(--spacer-s);border-bottom:1px solid var(--border-color)}[top-bar][_nghost-%COMP%]{padding:0 var(--spacer) 0 calc(var(--spacer) - var(--spacer-xs));min-height:var(--aside-folded-nav-height)}[_nghost-%COMP%] input[_ngcontent-%COMP%]{padding:var(--input-padding-y) var(--input-padding-x);height:var(--input-height)}[_nghost-%COMP%] lucide-icon[_ngcontent-%COMP%]{--svg-color: var(--text-hint);--svg-size: var(--svg-size-sm);position:absolute;top:calc((var(--input-height) - var(--svg-size)) / 2);line-height:1}[_nghost-%COMP%] lucide-icon[_ngcontent-%COMP%]:has(.search-icon), [_nghost-%COMP%] lucide-icon.search-icon[_ngcontent-%COMP%]{left:var(--input-padding-x);pointer-events:none}[_nghost-%COMP%] lucide-icon[_ngcontent-%COMP%]:has(.clear-icon), [_nghost-%COMP%] lucide-icon.clear-icon[_ngcontent-%COMP%]{right:var(--input-padding-x)}[_nghost-%COMP%]:has(.search-icon) input[_ngcontent-%COMP%]{padding-left:calc(var(--input-padding-x) + var(--svg-size) + var(--spacer-s))}[_nghost-%COMP%]:has(.clear-icon) input[_ngcontent-%COMP%]{padding-right:calc(var(--input-padding-x) + var(--svg-size) + var(--spacer-s))}.new-design[_nghost-%COMP%]{border-bottom:none;padding:0;max-width:1200px}.new-design[_nghost-%COMP%] input[_ngcontent-%COMP%]{min-width:150px}.new-design[_nghost-%COMP%] [dropdownToggle]:after{display:none}"],changeDetection:0})}return _})()}}]);
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.