PageSourceSearch

https://rkoffy.com/9654.5131c65c49b77f86.js

js rkoffy.com collected 2026-10-06 16:21:04 UTC 36,282 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[9654],{46843(N,P,o){o.d(P,{officeHoursRoutes:()=>ot});var r=o(85802),T=o(96354),y=o(99437),v=o(67469),E=o(19037),_=o(54381),R=o(17705),p=o(89417),C=o(59882),x=o(57786),S=o(25558),A=o(983),V=o(5964),X=o(53993),Q=o(21599),Y=o(41029),j=o(89079),J=o(83188),h=o(13816),F=o(12678),$=o(72510),W=o(68018),w=o(22331),K=o(38601),H=o(97201),se=o(4499),e=o(35547);let ee=(()=>{class n extends se.d{createHoliday(t,a="body"){const i=t?.pbxHoliday;if(null==i)throw new Error("Required parameter pbxHoliday was null or undefined when calling createHoliday.");let u=this.defaultHeaders;u=this.configuration.addCredentialToHeaders("Application","Authorization",u,"Bearer ");const l=this.configuration.selectHeaderAccept(["application/json"]);void 0!==l&&(u=u.set("Accept",l));const m=this.configuration.selectHeaderContentType(["application/json"]);void 0!==m&&(u=u.set("Content-Type",m));let f="json";l&&(f=l.startsWith("text")?"text":this.configuration.isJsonMime(l)?"json":"blob");const{basePath:M,withCredentials:g}=this.configuration;return this.httpClient.request("post",`${M}/Holidays`,{body:i,responseType:f,...g?{withCredentials:g}:{},headers:u,observe:a})}createHolidayQuery(t,a="body",i=!1,u){if(null==t.pbxHoliday)throw new Error("Required parameter pbxHoliday was null or undefined when calling createHoliday.");return"/Holidays"}deleteHoliday(t,a="body"){const i=t?.id;if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteHoliday.");const u=t?.ifMatch;let l=this.defaultHeaders;null!=u&&(l=l.set("If-Match",String(u))),l=this.configuration.addCredentialToHeaders("Application","Authorization",l,"Bearer ");const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(l=l.set("Accept",c));let m="json";c&&(m=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob");let f=`/Holidays(${this.configuration.encodeParam({name:"id",value:i,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`;const{basePath:b,withCredentials:M}=this.configuration;return this.httpClient.request("delete",`${b}${f}`,{responseType:m,...M?{withCredentials:M}:{},headers:l,observe:a})}deleteHolidayQuery(t,a="body",i=!1,u){const l=t.id;if(null==l)throw new Error("Required parameter id was null or undefined when calling deleteHoliday.");return`/Holidays(${this.configuration.encodeParam({name:"id",value:l,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`}getHoliday(t,a="body"){const i=t?.id;if(null==i)throw new Error("Required parameter id was null or undefined when calling getHoliday.");const u=t?.$select,l=t?.$expand;let c=new H.rx(this.encoder);c=this.addToHttpParams(c,"$select",u,H.l2.Form,!1),c=this.addToHttpParams(c,"$expand",l,H.l2.Form,!1);let m=this.defaultHeaders;m=this.configuration.addCredentialToHeaders("Application","Authorization",m,"Bearer ");const f=this.configuration.selectHeaderAccept(["application/json"]);void 0!==f&&(m=m.set("Accept",f));let b="json";f&&(b=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob");let M=`/Holidays(${this.configuration.encodeParam({name:"id",value:i,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`;const{basePath:g,withCredentials:O}=this.configuration;return this.httpClient.request("get",`${g}${M}`,{params:c.toHttpParams(),responseType:b,...O?{withCredentials:O}:{},headers:m,observe:a})}getHolidayQuery(t,a="body",i=!1,u){const l=t.id;if(null==l)throw new Error("Required parameter id was null or undefined when calling getHoliday.");const c=t.$select,m=t.$expand;let f=new H.rx(this.encoder);return f=this.addToHttpParams(f,"$select",c,H.l2.Form,!1),f=this.addToHttpParams(f,"$expand",m,H.l2.Form,!1),`/Holidays(${this.configuration.encodeParam({name:"id",value:l,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})?`+f.toString()}listHoliday(t,a="body"){const i=t?.$top,u=t?.$skip,l=t?.$search,c=t?.$filter,m=t?.$count,f=t?.$orderby,b=t?.$select,M=t?.$expand;let g=new H.rx(this.encoder);
1g=this.addToHttpParams(g,"$top",i,H.l2.Form,!1),g=this.addToHttpParams(g,"$skip",u,H.l2.Form,!1),g=this.addToHttpParams(g,"$search",l,H.l2.Form,!1),g=this.addToHttpParams(g,"$filter",c,H.l2.Form,!1),g=this.addToHttpParams(g,"$count",m,H.l2.Form,!1),g=this.addToHttpParams(g,"$orderby",f,H.l2.Form,!1),g=this.addToHttpParams(g,"$select",b,H.l2.Form,!1),g=this.addToHttpParams(g,"$expand",M,H.l2.Form,!1);let O=this.defaultHeaders;O=this.configuration.addCredentialToHeaders("Application","Authorization",O,"Bearer ");const D=this.configuration.selectHeaderAccept(["application/json"]);void 0!==D&&(O=O.set("Accept",D));let U="json";D&&(U=D.startsWith("text")?"text":this.configuration.isJsonMime(D)?"json":"blob");const{basePath:st,withCredentials:ie}=this.configuration;return this.httpClient.request("get",`${st}/Holidays`,{params:g.toHttpParams(),responseType:U,...ie?{withCredentials:ie}:{},headers:O,observe:a})}listHolidayQuery(t,a="body",i=!1,u){const l=t.$top,c=t.$skip,m=t.$search,f=t.$filter,b=t.$count,M=t.$orderby,g=t.$select,O=t.$expand;let D=new H.rx(this.encoder);return D=this.addToHttpParams(D,"$top",l,H.l2.Form,!1),D=this.addToHttpParams(D,"$skip",c,H.l2.Form,!1),D=this.addToHttpParams(D,"$search",m,H.l2.Form,!1),D=this.addToHttpParams(D,"$filter",f,H.l2.Form,!1),D=this.addToHttpParams(D,"$count",b,H.l2.Form,!1),D=this.addToHttpParams(D,"$orderby",M,H.l2.Form,!1),D=this.addToHttpParams(D,"$select",g,H.l2.Form,!1),D=this.addToHttpParams(D,"$expand",O,H.l2.Form,!1),"/Holidays?"+D.toString()}updateHoliday(t,a="body"){const i=t?.id;if(null==i)throw new Error("Required parameter id was null or undefined when calling updateHoliday.");const u=t?.pbxHoliday;if(null==u)throw new Error("Required parameter pbxHoliday was null or undefined when calling updateHoliday.");let l=this.defaultHeaders;l=this.configuration.addCredentialToHeaders("Application","Authorization",l,"Bearer ");const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(l=l.set("Accept",c));const f=this.configuration.selectHeaderContentType(["application/json"]);void 0!==f&&(l=l.set("Content-Type",f));let b="json";c&&(b=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob");let M=`/Holidays(${this.configuration.encodeParam({name:"id",value:i,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`;const{basePath:g,withCredentials:O}=this.configuration;return this.httpClient.request("patch",`${g}${M}`,{body:u,responseType:b,...O?{withCredentials:O}:{},headers:l,observe:a})}updateHolidayQuery(t,a="body",i=!1,u){const l=t.id;if(null==l)throw new Error("Required parameter id was null or undefined when calling updateHoliday.");if(null==t.pbxHoliday)throw new Error("Required parameter pbxHoliday was null or undefined when calling updateHoliday.");return`/Holidays(${this.configuration.encodeParam({name:"id",value:l,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})`}static \u0275fac=(()=>{let t;return function(i){return(t||(t=e.xGo(n)))(i||n)}})();static \u0275prov=r.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var re=o(54999),G=(o(67266),o(28460)),B=o(79098);function z(n,d,t,a){return n<=t&&t<d||n<a&&a<=d||t<=n&&d<=a}function te(n){const d=n.isSingleDay?n.singleDate:n.dateRange?.[0],t=n.isSingleDay?n.singleDate:n.dateRange?.[1],{start:a,stop:i}=n.isSingleDay?n.period:{start:(0,B.Tc)(0,0),stop:(0,B.Tc)(0,0)};if(!(d&&t&&a&&i))return{start:null,stop:null};const u=0===i.getHours()&&0===i.getMinutes()&&0===i.getSeconds();return{start:new Date(n.isRecurrent?B.gH:d.getFullYear(),d.getMonth(),d.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()),stop:new Date(n.isRecurrent?B.gH:t.getFullYear(),t.getMonth(),t.getDate()+Number(u),i.getHours(),i.getMinutes(),i.getSeconds())}}function ne(n,d){return n.getFullYear()<d.getFullYear()?1:0}var ue=o(22972),me=o(40953),Z=o(24708),fe=o(8419),k=o(17350),he=o(13798),ge=o(21437),ye=o(86745),ve=o(19781),be=o(84460),He=o(66300),L=o(96106),Te=o(95604);function Ce(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.JRh(e.bMT(1,1,"_i18n.holidayNameAlreadyUsed"))}function De(n,d){1&n&&e.nrm(0,"show-note",7)}function _e(n,d){1&n&&(e.j41(0,"div",19),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"_i18n.EnterValidDateAndTime")," "))}function Ee(n,d){if(1&n){const t=e.RV6();e.j41(0,"div",13),e.nrm(1,"input",14),e.k0s(),e.j41(2,"div",15)(3,"div",16),e.nrm(4,"app-time-interval-picker",17),e.j41(5,"button",18),e.bIt("click",function(){r.eBV(t);const i=e.XpG();
1return r.Njj(i.wholeDay())}),e.EFF(6),e.nI1(7,"translate"),e.k0s()(),e.nVh(8,_e,3,3,"div",19),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("bsConfig",t.datePickerConfig),e.R7$(4),e.Y8G("disabled",t.wholeDayDisabled),e.R7$(),e.SpI(" ",e.bMT(7,4,"_i18n.WholeDay")," "),e.R7$(2),e.vxM(t.f.singleDate.invalid||t.f.period.invalid?8:-1)}}function Me(n,d){if(1&n&&(e.j41(0,"field-wrapper",9),e.nrm(1,"input",20)(2,"val-errors",21),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("bsConfig",t.datePickerConfig)}}function xe(n,d){1&n&&e.nrm(0,"app-call-prompts",10),2&n&&e.Y8G("clearable",!0)("allowPlaylists",!1)}function Re(n,d){1&n&&(e.EFF(0),e.nI1(1,"translate")),2&n&&e.JRh(e.bMT(1,1,"_i18n.DuplicateHolidayError"))}let $e=(()=>{class n extends ue.m{cd=(0,r.WQX)(R.gRc);destroy$=(0,r.WQX)(r.abz);xapiError=(0,r.WQX)(Y.Ko);holidaysApi=(0,r.WQX)(ee);holiday;isNew;existingHolidays=[];isMcm;isHosted3CX;minDate=new Date(1901,0,0,0,0,0);maxDate=new Date(2999,0,0,0,0,0);buttons=re.P.OkCancel;datePickerConfig={isAnimated:!0,adaptivePosition:!0,showWeekNumbers:!1,customTodayClass:"today",minDate:this.minDate,maxDate:this.maxDate};wholeDay(){this.form.controls.period.setValue({start:k.C,stop:k.C})}get wholeDayDisabled(){return this.form.value.period?.start===k.C&&this.form.value.period?.stop===k.C}holidaysValidator=t=>{const a=t,{dateRange:i,singleDate:u}=a.controls,l=a.value;return l.isSingleDay?(i.setErrors(null),u.setErrors(l.singleDate?isNaN(l.singleDate.getTime())?{invalidDate:!0}:this.isOutOfRange(l.singleDate)?{outOfRange:!0}:null:{required:!0})):(u.setErrors(null),i.setErrors(l.dateRange&&l.dateRange[0]&&l.dateRange[1]?this.isOutOfRange(l.dateRange[0])||this.isOutOfRange(l.dateRange[1])?{outOfRange:!0}:l.dateRange[0]>l.dateRange[1]?{stopDateBeforeStart:!0}:null:{required:!0})),function de(n,d){const t=te(n),{start:a,stop:i}=t;return!(!a||!i)&&d.some(u=>{if(u.Id&&u.Id===n.id)return!1;const l=(0,B.Nt)(u),{start:c,stop:m}=te(l);return!(!c||!m)&&(n.isRecurrent&&!l.isRecurrent?[c.getFullYear(),m.getFullYear()].some(f=>{const b=new Date(a),M=new Date(i),g=ne(b,M);return b.setFullYear(f),M.setFullYear(f+g),z(b,M,c,m)}):!n.isRecurrent&&l.isRecurrent?[a.getFullYear(),i.getFullYear()].some(f=>{const b=ne(c,m);return c.setFullYear(f),m.setFullYear(f+b),z(a,i,c,m)}):z(a,i,c,m))})}(l,this.existingHolidays)?{duplicateHoliday:!0}:null};isOutOfRange(t){return t<this.minDate||t>this.maxDate}duplicateHolidayNameValidator=({value:t})=>function ce(n,d,t){return!!d&&function le(n,d){return n&&n!==B.Is?d.filter(t=>n!==t.Id):d}(n,t).some(({Name:a})=>a===d)}(this.holiday?.Id,t,this.existingHolidays)?{duplicateHolidayName:!0}:null;form=new p.gE({id:new p.MJ(-1),group:new p.MJ(null),name:new p.MJ("",{nonNullable:!0,validators:[p.k0.required,this.duplicateHolidayNameValidator]}),isSingleDay:new p.MJ(!0,{nonNullable:!0}),isRecurrent:new p.MJ(!1,{nonNullable:!0}),holidayPrompt:new p.MJ(""),singleDate:new p.MJ(new Date),period:new p.MJ({start:null,stop:null},{nonNullable:!0}),dateRange:new p.MJ([new Date,new Date])},this.holidaysValidator);isSingleDayOptions=[{value:!0,label:"_i18n.SingleDay"},{value:!1,label:"_i18n.RangeOfDays"}];ngOnInit(){(0,x.h)(this.f.isSingleDay.valueChanges,this.f.dateRange.valueChanges).pipe((0,he.Z)(0),(0,j.pQ)(this.destroy$)).subscribe(()=>{this.checkIsRecurrentEnabledState()}),this.holiday&&this.form.setValue((0,B.Nt)(this.holiday))}get f(){return this.form.controls}validateBeforeSubmit=this.createDialogValidate(this.form,this.cd);checkIsRecurrentEnabledState(){!function pe(n){const d=n.controls,t=d.dateRange.value;t&&t[0]&&t[1]&&(t[0].getFullYear()===t[1].getFullYear()||d.isSingleDay.value?d.isRecurrent.enable():(d.isRecurrent.setValue(!1),d.isRecurrent.disable()))}(this.form)}submit$=()=>{const t=(0,B.YQ)(this.form.value);return(this.isNew?this.holidaysApi.createHoliday({pbxHoliday:t}):this.holidaysApi.updateHoliday({pbxHoliday:t,id:t.Id}).pipe((0,L.Pr)("_i18n.DepartmentHolidaysNotFoundErrorMessage"))).pipe(this.handleError(this.xapiError,this.cd,this.form,!0))};static \u0275fac=(()=>{let t;return function(i){return(t||(t=e.xGo(n)))(i||n)}})();static \u0275cmp=e.VBU({type:n,selectors:[["app-holiday-edit-dialog"]],hostVars:2,hostBindings:function(a,i){2&a&&e.AVh("modal-lg",!0)},inputs:{holiday:"holiday",isNew:"isNew",existingHolidays:"existingHolidays",isMcm:"isMcm",isHosted3CX:"isHosted3CX"},features:[e.Jv_([ge.d]),e.Vt3],decls:17,vars:14,consts:[["header","_i18n.ConfigureHolidays","okText","_i18n.Save",3,"submitted","buttons","validateBeforeSubmit","waitRecalculationsBeforeSave","submit$","formGroup"],[1,"row"],["data-qa","name","formControlName","name","label","_i18n.Name",1,"col-lg-6",3,"maxlength"],["controlName","name","label","_i18n.Name"],["valError","duplicateHolidayName"],[1,"col-lg-6","pt-lg-4"],["formControlName","isRecurrent","data-qa","is-recurrent","label","_i18n.EveryYear",1,"mt-lg-2"],["note","_i18n.EveryYearDisabledInformation","data-qa","is-recurrent-sh
1ow-note",1,"d-block","mb-3"],["data-qa","is-single-day","formControlName","isSingleDay",1,"col-lg-6",3,"options"],["data-qa","date-range",1,"col-lg-6"],["label","_i18n.Prompt","formControlName","holidayPrompt","data-qa","holiday-prompt",3,"clearable","allowPlaylists"],["data-qa","validation",3,"control"],["valError","duplicateHoliday"],[1,"mb-3","col-lg-6"],["type","text","data-qa","single-date-input","formControlName","singleDate","bsDatepicker","",1,"form-control",3,"bsConfig"],["data-qa","single-date",1,"mb-3"],[1,"d-flex","gap-3","flex-column","flex-lg-row","align-items-start"],["formControlName","period","data-qa","period",1,"mb-0"],["type","button","data-qa","modal-day",1,"btn","btn-border",3,"click","disabled"],["data-qa","validation",1,"val-errors","mt-2"],["type","text","data-qa","input","formControlName","dateRange","bsDaterangepicker","",1,"form-control",3,"bsConfig"],["controlName","dateRange"]],template:function(a,i){1&a&&(e.j41(0,"app-modal-dialog",0),e.bIt("submitted",function(){return i.onSubmit()}),e.j41(1,"p"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",1)(5,"field-input",2)(6,"val-errors",3),e.DNE(7,Ce,2,3,"ng-template",4),e.k0s()(),e.j41(8,"div",5),e.nrm(9,"field-checkbox",6),e.k0s(),e.nVh(10,De,1,0,"show-note",7),e.nrm(11,"field-select",8),e.nVh(12,Ee,9,6)(13,Me,3,1,"field-wrapper",9),e.k0s(),e.nVh(14,xe,1,2,"app-call-prompts",10),e.j41(15,"val-errors",11),e.DNE(16,Re,2,3,"ng-template",12),e.k0s()()),2&a&&(e.Y8G("buttons",i.buttons)("validateBeforeSubmit",i.validateBeforeSubmit)("waitRecalculationsBeforeSave",!0)("submit$",i.submit$)("formGroup",i.form),e.R7$(2),e.JRh(e.bMT(3,12,"_i18n.HolidayInfoModalHeader")),e.R7$(3),e.Y8G("maxlength",50),e.R7$(5),e.vxM(i.f.isRecurrent.disabled?10:-1),e.R7$(),e.Y8G("options",i.isSingleDayOptions),e.R7$(),e.vxM(i.f.isSingleDay.value?12:13),e.R7$(2),e.vxM(i.isMcm&&i.isHosted3CX?-1:14),e.R7$(),e.Y8G("control",i.form))},dependencies:[p.X1,p.me,p.BC,p.cb,p.tU,p.j4,p.JD,me.p,ve.t,be.m,He.q,Z.N4,Z.IH,Z.VI,G.YN,G.pc,G.p0,G.Kn,G.mO,fe.d,k.a,ye.J,Te.z,W.D9],encapsulation:2,changeDetection:0})}return n})();var Pe=o(70980),Ie=o(67374),q=o.n(Ie);function ae(n,d,t,a){return q()({year:n,month:d,day:t}).format(a?"LDM":"LL")}let Oe=(()=>{class n{transform(t){if(!t)return"";const a=ae(t.Year,t.Month-1,t.Day,t.IsRecurrent),i=ae(t.YearEnd,t.MonthEnd-1,t.DayEnd,t.IsRecurrent);return a===i?a:`${a} - ${i}`}static \u0275fac=function(a){return new(a||n)};static \u0275pipe=e.EJ8({name:"holidayDate",type:n,pure:!0})}return n})(),Fe=(()=>{class n{transform(t){if((0,B.R$)(t)){const a=(0,B.cD)(t.TimeOfStartDate).format("HH:mm"),i=(0,B.cD)(t.TimeOfEndDate).format("HH:mm");return`${q()(a,"HH:mm").local().format("LT")} - ${q()(i,"HH:mm").local().format("LT")}`}return""}static \u0275fac=function(a){return new(a||n)};static \u0275pipe=e.EJ8({name:"holidayTime",type:n,pure:!0})}return n})();var We=o(90776),Be=o(25244),Ae=o(38969);function we(n,d){if(1&n){const t=e.RV6();e.j41(0,"tr",5),e.bIt("click",function(){const i=r.eBV(t).$implicit,u=e.XpG();return r.Njj(u.editHoliday(i))}),e.j41(1,"td",6),e.EFF(2),e.k0s(),e.j41(3,"td",7),e.EFF(4),e.nI1(5,"holidayDate"),e.k0s(),e.j41(6,"td",7),e.EFF(7),e.nI1(8,"holidayTime"),e.k0s(),e.j41(9,"td",7),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"td"),e.EFF(13),e.k0s(),e.j41(14,"td",8)(15,"a",9),e.nI1(16,"translate"),e.nrm(17,"span",10),e.k0s(),e.j41(18,"a",11),e.nI1(19,"translate"),e.bIt("click",function(i){const u=r.eBV(t).$implicit,l=e.XpG();return i.stopPropagation(),r.Njj(l.deleteHoliday(u))}),e.nrm(20,"span",12),e.k0s()()()}if(2&n){const t=d.$implicit,a=e.XpG();e.AVh("clickable",!a.updating),e.R7$(2),e.JRh(t.Name),e.R7$(2),e.JRh(e.bMT(5,13,t)),e.R7$(3),e.JRh(e.bMT(8,15,t)),e.R7$(3),e.JRh(e.bMT(11,17,a.isEveryYearDisplay(t))),e.R7$(3),e.JRh(t.HolidayPrompt),e.R7$(2),e.AVh("disabled",a.updating),e.Y8G("title",e.bMT(16,19,"_i18n.Edit")),e.R7$(3),e.AVh("disabled",a.updating),e.Y8G("title",e.bMT(19,21,"_i18n.Delete"))}}let Se=(()=>{class n{route=(0,r.WQX)(C.nX);cd=(0,r.WQX)(R.gRc);modalService=(0,r.WQX)(K.B);holidaysApi=(0,r.WQX)(ee);groupsApi=(0,r.WQX)(v.G);destroy$=(0,r.WQX)(r.abz);
1isMcm=this.route.snapshot.data.isMcm;isHosted3CX=this.route.snapshot.data.isHosted3CX;holidays=[];updating=!1;groupNumber;constructor(){this.route.data.pipe((0,T.T)(({group:t})=>{const a=t;return this.groupNumber=a?.number??"",a?.officeHours?.holidays}),(0,V.p)(Boolean),(0,j.pQ)(this.destroy$)).subscribe(t=>{this.setHolidays(t)})}get groupId(){return+this.route.snapshot.params.groupId}isEveryYearDisplay(t){return t.IsRecurrent?"_i18n.EveryYear":"_i18n.Once"}addHoliday(){this.editHoliday((0,B.xv)(this.groupNumber),!0)}editHoliday(t,a=!1){this.updating||this.modalService.showDialog($e,{isNew:a,isMcm:this.isMcm,isHosted3CX:this.isHosted3CX,holiday:t,existingHolidays:this.holidays}).pipe(L.nx).subscribe(()=>{this.refreshHolidays()})}deleteHoliday(t){this.updating||this.modalService.confirmDeletion("_i18n.AreYouSureYouWantToDeleteHoliday").pipe((0,S.n)(()=>(this.setUpdating(!0),this.holidaysApi.deleteHoliday({id:t.Id}))),(0,L.Y$)(),(0,j.pQ)(this.destroy$)).subscribe({next:()=>{this.refreshHolidays()},error:a=>this.modalService.error(a)})}refreshHolidays(){this.setUpdating(!0),this.groupsApi.getGroup({id:this.groupId,$select:["OfficeHolidays"],$expand:["OfficeHolidays"]}).pipe((0,T.T)(t=>t.OfficeHolidays??[]),(0,L.Pr)("_i18n.DepartmentHolidaysNotFoundErrorMessage"),(0,L.Tg)(this.modalService),(0,Pe.j)(()=>this.setUpdating(!1)),(0,j.pQ)(this.destroy$)).subscribe(t=>{this.setUpdating(!1),this.setHolidays(t)})}setUpdating(t){this.updating=t,this.cd.markForCheck()}setHolidays(t){this.holidays=t,this.cd.markForCheck()}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=e.VBU({type:n,selectors:[["app-holidays"]],decls:23,vars:15,consts:[["data-qa","add-holiday","text","_i18n.Add",1,"mb-3",3,"click"],[1,"scrollable-table"],[1,"table-header"],[1,"actions"],["data-qa","holiday-row",3,"clickable"],["data-qa","holiday-row",3,"click"],["data-qa","name"],["noWrap",""],["nowrap","",1,"actions"],["data-qa","edit-holiday",1,"btn","btn-plain",3,"title"],["app-pencil-solid-icon","",1,"customSVGIcons","svg-sm"],["data-qa","delete-holiday",1,"btn","btn-plain",3,"click","title"],["app-trash-alt-solid-icon","",1,"customSVGIcons","svg-sm"]],template:function(a,i){1&a&&(e.j41(0,"app-button-add",0),e.bIt("click",function(){return i.addHoliday()}),e.k0s(),e.j41(1,"table",1)(2,"thead")(3,"tr",2)(4,"th"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"th"),e.EFF(8),e.nI1(9,"translate"),e.k0s(),e.j41(10,"th"),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.j41(13,"th"),e.EFF(14),e.nI1(15,"translate"),e.k0s(),e.j41(16,"th"),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.nrm(19,"th",3),e.k0s()(),e.j41(20,"tbody"),e.Z7z(21,we,21,23,"tr",4,e.fX1),e.k0s()()),2&a&&(e.R7$(5),e.JRh(e.bMT(6,5,"_i18n.Name")),e.R7$(3),e.JRh(e.bMT(9,7,"_i18n.Date")),e.R7$(3),e.JRh(e.bMT(12,9,"_i18n.Time")),e.R7$(3),e.JRh(e.bMT(15,11,"_i18n.Occurs")),e.R7$(3),e.JRh(e.bMT(18,13,"_i18n.Prompt")),e.R7$(4),e.Dyx(i.holidays))},dependencies:[Be.T,Ae.d,We.j,W.D9,Oe,Fe],encapsulation:2,changeDetection:0})}return n})();const je=(n,d)=>d.Id;function Ne(n,d){if(1&n&&e.nrm(0,"app-tab-heading",8),2&n){const t=e.XpG();e.Y8G("invalid",t.form.invalid&&t.form.touched)}}function Le(n,d){if(1&n&&(e.j41(0,"ng-option",5),e.EFF(1),e.k0s()),2&n){const t=d.$implicit;e.Y8G("value",t.Id),e.R7$(),e.JRh(t.Name)}}function Ve(n,d){1&n&&e.nrm(0,"app-tab-heading",9)}function oe(n){return{IgnoreHolidays:!1,Periods:n||void 0,Type:Q.m.SpecificHoursExcludingHolidays}}let ke=(()=>{class n{groupsService=(0,r.WQX)(v.G);xapiError=(0,r.WQX)(Y.Ko);cd=(0,r.WQX)(R.gRc);timeZones;groupName="";form=new p.gE({BreakTime:new p.MJ([],{nonNullable:!0}),Hours:new p.MJ([],{nonNullable:!0}),TimeZoneId:new p.MJ("",{nonNullable:!0})});get f(){return this.form.controls}constructor(){const t=(0,r.WQX)(C.nX),a=(0,r.WQX)(r.abz);this.timeZones=t.parent?.snapshot.data.timeZones??[],t.data.pipe((0,j.pQ)(a)).subscribe(c=>{const m=c.group;this.groupName=m.name;const f=m.officeHours||{},{hours:b=[],breakTime:M=[],timeZoneId:g=""}=f,O=function Ge(n,d){const t=d.find(a=>a.IanaName===n)||d.find(a=>a.WindowsName===n);return t?t.Id||"":n}(g,this.timeZones);this.form.setValue({Hours:b,BreakTime:M,TimeZoneId:O},{emitEvent:!1})});const i=this.f.Hours.valueChanges.pipe((0,V.p)(()=>this.f.Hours.valid),(0,T.T)(c=>({Hours:oe(c)}))),u=this.f.BreakTime.valueChanges.pipe((0,V.p)(()=>this.f.BreakTime.valid),(0,T.T)(c=>({BreakTime:oe(c)}))),l=this.f.TimeZoneId.valueChanges.pipe((0,T.T)(c=>({TimeZoneId:c})));(0,x.h)(i,u,l).pipe((0,X.E)(t.params),(0,S.n)(([c,m])=>this.updateGroup$(c,+m.groupId)),(0,j.pQ)(a)).subscribe()}updateGroup$(t,a){return this.groupsService.updateGroup({id:a,pbxGroup:{...t,AllowCallService:!0}}).pipe((0,L.Pr)("_i18n.DepartmentNotFoundErrorMessage",this.groupName),(0,y.W)(i=>(this.xapiError.error(this.cd,i,this.form),A.w)))}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=e.VBU({type:n,selectors:[["ng-component"]],decls:22,vars:14,consts:[["header","_i18n.OfficeHours",3,"helpUrl"],["id","office-hours",3,"active"],["tabHeading",""],["data-qa","time-zone-id",1,"mb-3",3,"formControl","clearable"],[3,"value","translate"],[3,"value"],[3,"hours","breakTime"],["id","office-holidays"],["label","_i18n.OfficeHours",3,"invali
1d"],["label","_i18n.OfficeHolidays"]],template:function(a,i){1&a&&(e.j41(0,"app-page",0)(1,"tabset")(2,"tab",1),e.DNE(3,Ne,1,1,"ng-template",2),e.j41(4,"fieldset")(5,"legend"),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"ng-select",3)(9,"ng-option",4),e.EFF(10,"Global timezone"),e.k0s(),e.Z7z(11,Le,2,2,"ng-option",5,je),e.k0s()(),e.j41(13,"fieldset")(14,"legend"),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.nrm(17,"app-double-hours",6),e.k0s()(),e.j41(18,"tab",7),e.DNE(19,Ve,1,0,"ng-template",2),e.j41(20,"fieldset"),e.nrm(21,"app-holidays"),e.k0s()()()()),2&a&&(e.Y8G("helpUrl","_i18n.OfficeHoursUri"),e.R7$(2),e.Y8G("active",!0),e.R7$(4),e.JRh(e.bMT(7,10,"_i18n.SetYourTimeZone")),e.R7$(2),e.Y8G("formControl",i.f.TimeZoneId)("clearable",!1),e.R7$(),e.Y8G("value","")("translate","_i18n.GlobalTimezone"),e.R7$(2),e.Dyx(i.timeZones),e.R7$(4),e.JRh(e.bMT(16,12,"_i18n.WhatAreYourOfficeHours")),e.R7$(2),e.Y8G("hours",i.f.Hours)("breakTime",i.f.BreakTime))},dependencies:[J.H,h.fw,h.V6,h.Bh,F.b,$.vr,p.X1,p.BC,p.l_,$.xt,W.Mm,w.I,Se,W.D9],encapsulation:2,changeDetection:0})}return n})();var Ye=o(93049),Ue=o(87018),Xe=o(85343),Qe=o(7673);let ze=(()=>{class n{route=(0,r.WQX)(C.nX);menuItems=function Ke(n){return n.snapshot.data.groups||[]}(this.route).map(t=>({routeLabel:t.Name,routeLink:t.Id.toString(),remark:t.IsDefault?"_i18n.DefaultShortname":""}));static \u0275fac=function(a){return new(a||n)};static \u0275cmp=e.VBU({type:n,selectors:[["app-groups-menu-layout"]],decls:2,vars:1,consts:[[3,"menuItems"]],template:function(a,i){1&a&&(e.j41(0,"app-layout-with-sidebar",0),e.nrm(1,"router-outlet"),e.k0s()),2&a&&e.Y8G("menuItems",i.menuItems)},dependencies:[Ye.iI,C.n3,Ue.I],encapsulation:2,changeDetection:0})}return n})();var et=o(37201),tt=o(9867),nt=o(30689),at=o(64277);const ot=[{path:"",component:ze,canActivate:[(n,d)=>{const t=(0,r.WQX)(v.G),a=(0,r.WQX)(C.Ix),i=n.routeConfig?.path||n.parent?.routeConfig?.path||"/",u=d.url.split("/"),l=d.url.endsWith(i)?void 0:Number(u.pop()),c=a.currentNavigation()?.extras.state?.groups;return c&&l&&c.some(m=>m.Id===l)?(n.data={...n.data,groups:c},!0):t.listGroup({$select:["Id","Name","Number","IsDefault"],$orderby:["Name"],$filter:"not startsWith(Name, '___FAVORITES___')"}).pipe((0,T.T)(({value:m})=>!(!m||!m.length||(m.some(f=>f.Id===l)?(n.data={...n.data,groups:m},0):(a.navigate(u.concat(String(m[0].Id)),{state:{groups:m}}).catch(Xe.l),1)))),(0,y.W)(()=>(0,Qe.of)(!1)))}],resolve:{timeZones:(n,d)=>{const t=(0,r.WQX)(E.s);return(0,r.WQX)(_.G).listTimeZones({}).pipe((0,T.T)(({value:i=[]})=>i),(0,y.W)(i=>t.handleError(i)))}},data:{roles:et.I0},children:[{path:":groupId",component:ke,canDeactivate:[(n,d,t,a)=>a.url+"/"+d.params.groupId!==t.url],resolve:{group:n=>{const d=(0,r.WQX)(v.G),t=(0,r.WQX)(E.s);return d.getGroup({id:+n.params.groupId,$select:["Name","Number","BreakTime","Hours","TimeZoneId","OfficeHolidays"],$expand:["OfficeHolidays"]}).pipe((0,T.T)(a=>({name:a.Name,number:a.Number,officeHours:{holidays:a.OfficeHolidays||[],breakTime:a.BreakTime?.Periods||[],hours:a.Hours?.Periods||[],timeZoneId:a.TimeZoneId??""}})),(0,y.W)(a=>t.handleError(a)))},navTitle:n=>{const d=n.parent?.data?.groups,t=Number(n.params?.groupId);return d?.find(a=>a.Id===t)?.Name||""},restrictions:tt.E$,isMcm:nt.s,isHosted3CX:at.y}}]}]},30689(N,P,o){o.d(P,{s:()=>R});var r=o(85802),T=o(16444),y=o(99437),v=o(96354),E=o(25558),I=o(96697),_=o(19037);const R=()=>{const p=(0,r.WQX)(T.gx),C=(0,r.WQX)(_.s);return function s(p){return p.myPhoneSession.pipe((0,E.n)(C=>C.systemParameters$),(0,v.T)(C=>C.MultiCompanyMode))}(p).pipe((0,I.s)(1),(0,y.W)(x=>C.handleError(x)))}},22331(N,P,o){o.d(P,{I:()=>v});var r=o(12419),T=o(46227),y=o(35547);let v=(()=>{class E{defaultBreakTime=(0,T.c)();defaultWorkingHours=(0,T.s)();hours;breakTime;static \u0275fac=function(s){return new(s||E)};static \u0275cmp=y.VBU({type:E,selectors:[["app-double-hours"]],inputs:{hours:"hours",breakTime:"breakTime"},decls:2,vars:4,consts:[["label","_i18n.OfficeHours","data-qa","hours",3,"defaultPeriod","hours"],["label","_i18n.BreakHours","data-qa","break-time",3,"defaultPeriod","hours"]],template:function(s,R){1&s&&y.nrm(0,"app-hours",0)(1,"app-hours",1),2&s&&(y.Y8G("defaultPeriod",R.defaultWorkingHours)("hours",R.hours),y.R7$(),y.Y8G("defaultPeriod",R.defaultBreakTime)("hours",R.breakTime))},dependencies:[r.L],encapsulation:2})}return E})()},97268(N,P,o){o.d(P,{W:()=>y});var r=o(35547),T=o(85802);let y=(()=>{class v{static \u0275fac=function(_){return new(_||v)};static \u0275cmp=r.VBU({type:v,selectors:[["app-info-circle-solid-icon"],["","app-info-circle-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]],template:function(_,s){1&_&&(T.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return v})()},25244(N,P,o){o.d(P,{T:()=>y});var r=o(35547),T=o(85802);let y=(()=>{class v{static \u0275fac=function(_){return new(_||v)};static \u0275cmp=r.VBU({type:v,selectors:[["app-pencil-solid-icon"],["","app-pencil-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s1
15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]],template:function(_,s){1&_&&(T.qSk(),r.rj2(0,"svg",0),r.Hgh(1,"path",1),r.eux())},encapsulation:2})}return v})()},90776(N,P,o){o.d(P,{j:()=>I});var r=o(68018),T=o(534),y=o(83230),v=o(8516),E=o(35547);let I=(()=>{class _{text="_i18n.Add";disabled;theme="primary";tooltipWhenDisabled;loader;get tooltip(){return this.disabled&&this.tooltipWhenDisabled||""}Plus=v.FWt;static \u0275fac=function(p){return new(p||_)};static \u0275cmp=E.VBU({type:_,selectors:[["app-button-add"]],inputs:{text:"text",disabled:"disabled",theme:"theme",tooltipWhenDisabled:"tooltipWhenDisabled",loader:"loader"},decls:2,vars:9,consts:[["data-qa","add","container","body",3,"disabled","theme","icon","text","loader","tooltip","adaptivePosition"]],template:function(p,C){1&p&&(E.nrm(0,"app-button",0),E.nI1(1,"translate")),2&p&&E.Y8G("disabled",C.disabled)("theme",C.theme)("icon",C.Plus)("text",C.text)("loader",C.loader)("tooltip",E.bMT(1,7,C.tooltip))("adaptivePosition",!1)},dependencies:[T.dg,y.Q,r.D9],encapsulation:2,changeDetection:0})}return _})()},83230(N,P,o){o.d(P,{Q:()=>R});var r=o(35547),T=o(85802),y=o(8516),v=o(68018),E=o(74743);function I(p,C){1&p&&r.nrm(0,"app-spinner-regular-icon")}function _(p,C){if(1&p&&r.nrm(0,"lucide-icon",2),2&p){const x=r.XpG();r.AVh("d-none",x.loader),r.Y8G("img",x.icon)}}function s(p,C){if(1&p&&(r.EFF(0),r.nI1(1,"translate")),2&p){const x=r.XpG();r.SpI(" ",r.bMT(1,1,x.text)," ")}}let R=(()=>{class p{elementRef=(0,T.WQX)(r.aKT);disabled;theme="primary";icon;text;loader;type="button";constructor(){this.elementRef.nativeElement.addEventListener("click",this.captureClick,!0)}ngOnDestroy(){this.elementRef.nativeElement.removeEventListener("click",this.captureClick,!0)}captureClick=x=>{this.disabled&&(x.stopPropagation(),x.preventDefault(),x.stopImmediatePropagation())};static \u0275fac=function(S){return new(S||p)};static \u0275cmp=r.VBU({type:p,selectors:[["app-button"]],inputs:{disabled:"disabled",theme:"theme",icon:"icon",text:"text",loader:"loader",type:"type"},decls:4,vars:10,consts:[["data-qa","button",3,"type","disabled"],[3,"img","d-none"],[3,"img"]],template:function(S,A){1&S&&(r.j41(0,"button",0),r.nVh(1,I,1,0,"app-spinner-regular-icon"),r.nVh(2,_,1,3,"lucide-icon",1),r.nVh(3,s,2,3),r.k0s()),2&S&&(r.HbH(r.VkB("btn btn-",A.theme)),r.AVh("btn-icon",!A.text),r.Y8G("type",A.type)("disabled",A.disabled),r.R7$(),r.vxM(A.loader?1:-1),r.R7$(),r.vxM(A.icon?2:-1),r.R7$(),r.vxM(A.text?3:-1))},dependencies:[y.flO,y.WGl,E.a,v.D9],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})}return p})()},87018(N,P,o){o.d(P,{I:()=>J});var r=o(85802),T=o(59882),y=o(93049),v=o(49769),E=o(68018),I=o(68580),_=o(92151),s=o(35547);const R=["*"],p=h=>({exact:h}),C=(h,F)=>F.routeLink;function x(h,F){1&h&&(s.j41(0,"small",11),s.EFF(1),s.nI1(2,"translate"),s.k0s()),2&h&&(s.R7$(),s.SpI("(",s.bMT(2,1,F),")"))}function S(h,F){1&h&&s.nrm(0,"app-badge",12),2&h&&s.Y8G("badge",F)}function A(h,F){if(1&h&&(s.j41(0,"li",8)(1,"a",9)(2,"span",10),s.EFF(3),s.nI1(4,"translate"),s.k0s(),s.nVh(5,x,3,3,"small",11),s.nVh(6,S,1,1,"app-badge",12),s.nI1(7,"async"),s.k0s()()),2&h){let $,W;const w=s.XpG().$implicit;s.R7$(),s.Y8G("routerLink",w.routeLink)("routerLinkActiveOptions",s.eq3(10,p,w.activeExact??!1)),s.BMQ("data-qa",w.routeLink),s.R7$(2),s.JRh(s.bMT(4,6,w.routeLabel)),s.R7$(2),s.vxM(($=w.remark)?5:-1,$),s.R7$(),s.vxM((W=s.bMT(7,8,w.badge$&&w.badge$))?6:-1,W)}}function V(h,F){if(1&h&&(s.nVh(0,A,8,12,"li",8),s.nI1(1,"async")),2&h){const $=F.$implicit;s.vxM(!$.visible$||s.bMT(1,1,$.visible$)?0:-1)}}function X(h,F){if(1&h&&s.Z7z(0,V,2,3,null,null,C),2&h){const $=s.XpG();s.Dyx($.menuItems)}}function Q(h,F){1&h&&s.eu8(0)}function Y(h,F){if(1&h&&(s.j41(0,"ul",13),s.DNE(1,Q,1,0,"ng-container",6),s.k0s()),2&h){s.XpG();const $=s.sdS(1);s.R7$(),s.Y8G("ngTemplateOutlet",$)}}function j(h,F){1&h&&s.eu8(0)}let J=(()=>{class h{route=(0,r.WQX)(T.nX);menuItems;get title(){const $=this.route.firstChild?.snapshot.data?.navTitle,W=this.route.firstChild?.firstChild?.snapshot.data?.navTitle;return $||W}static \u0275fac=function(W){return new(W||h)};static \u0275cmp=s.VBU({type:h,selectors:[["app-layout-with-sidebar"]],inputs:{menuItems:"menuItems"},ngContentSelectors:R,decls:13,vars:4,consts:[["navMenuItems",""],["role","menu"],["dropdown",""],["type","button","dropdownToggle","","data-qa","nav-menu-toggle",1,"btn","btn-plain","dropdown-toggle"],["class","dropdown-menu dropdown-menu-right",4,"dropdownMenu"],["role","menubar","data-qa","nav-menu-options"],[4,"ngTemplateOutlet"],[1,"flex-child"],["role","menuitem","data-qa","sidebar-menu-item"],["routerLinkActive","selected",1,"selectable","dropdown-item",3,"routerLink","routerLinkActiveOptions"],["data-qa","name",1,"line-clamp-2"],["data-qa","remark"],[3,"badge"],[1,"dropdown-menu","dropdown-menu-right"]],template:function(W,w){if(1&W&&(s.NAR(),s.DNE(0,X,2,0,"ng-template",null,0,s.C5r),s.j41(2,"nav",1)(3,"div",2)(4,"button",3),s.EFF(5),s.nI1(6,"translate"),s.k0s(),s.DNE(7,Y,2,1,"ul",4),s.k0s()(),s.j41(8,"aside")(9,"ul",5),s.DNE(10,j,1,0,"ng-container",6),s.k0s()(),s.j41(11,"div",7),s.SdG(12),s.k0s()),2&W){const K=s.sdS(1);s.R7$(5),s.SpI(" ",s.bMT(6,2,w.title)," "),s.R7$(5),s.Y8G("ngTemplateOutlet",K)}}
1,dependencies:[v.T3,y.iI,y.Wk,y.wQ,I.Kk,I.UL,I.hs,_.n,v.Jj,E.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%]{width:100%;height:100%;display:flex}[_nghost-%COMP%]   aside[_ngcontent-%COMP%], [_nghost-%COMP%]   nav[_ngcontent-%COMP%]{display:none}@media(max-width:767.98px){[_nghost-%COMP%]{flex-direction:column}[_nghost-%COMP%]:has(li[role=menuitem]:nth-child(2))   nav[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:end;border-bottom:1px solid var(--border-color);height:var(--aside-folded-nav-height)}}@media(min-width:768px){[_nghost-%COMP%]:has(li[role=menuitem]:nth-child(2))   aside[_ngcontent-%COMP%]{display:block;width:150px;height:100%;flex-shrink:0;overflow-y:auto;margin:0;border-right:1px solid var(--border-color)}}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0;margin:0}.dropdown-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacer-s)}.dropdown-item[_ngcontent-%COMP%]   app-badge[_ngcontent-%COMP%]{position:relative;top:-6px;right:calc(var(--spacer-s) - 2px)}aside[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:0 var(--spacer-s);gap:var(--spacer-xs);height:var(--aside-folded-nav-height);border-bottom:1px solid var(--border-color);background:var(--current-background, var(--bg-primary))}aside[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   app-badge[_ngcontent-%COMP%]{right:calc(var(--spacer-xs) - 2px)}"],changeDetection:0})}return h})()}}]);

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.