PageSourceSearch

https://piscine-nostress.fr/7485.8e3fb821d02db4a9.js

js piscine-nostress.fr collected 2026-10-07 22:39:34 UTC 23,631 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[7485],{29120(T,M,a){a.d(M,{p:()=>n});var e=a(84460),u=a(95604),l=a(89417),c=a(32834),C=a(68018),P=a(8516),o=a(35547),t=a(85802);const s=[[["input","hidden",""]],[["",8,"input-group-append"]],[["button"]],[["val-errors"],["show-error-warning"]],[["","description",""]]],h=["input[hidden]",".input-group-append","button","val-errors,show-error-warning","[description]"];function b(p,_){if(1&p){const d=o.RV6();o.j41(0,"app-times-regular-icon",8),o.bIt("click",function(){t.eBV(d);const r=o.XpG();return t.Njj(r.clear())}),o.k0s()}}function i(p,_){if(1&p){const d=o.RV6();o.j41(0,"button",9),o.bIt("click",function(){t.eBV(d);const r=o.XpG();return t.Njj(r.inlineBtnClick())}),o.nrm(1,"lucide-icon",10),o.k0s()}if(2&p){const d=o.XpG();o.Y8G("disabled",d.disabled||d.inlineButtonDisabled),o.R7$(),o.Y8G("img",d.inlineBtnIcon)}}let n=(()=>{class p extends e.m{maxlength=12;minlength=this.maxlength;label="_i18n.MACAddress";validate(d){const{value:E}=d;return E&&!/^[0-9a-fA-F]{12}$/.test(E)?{invalidMacAddress:!0}:super.validate(d)}onPaste(d){const E=d.clipboardData?.getData("text/plain"),r=d.target;if(E&&r){d.stopPropagation(),d.preventDefault();const f=E.replace(/[^0-9a-fA-F]/g,""),m=r.selectionEnd||0,y=r.value,v=y.substring(0,r.selectionStart||0)+f+y.substring(m,y.length);super.valueChanged(v.substring(0,this.maxlength)),this.cd.markForCheck()}super.onPaste(d)}static \u0275fac=(()=>{let d;return function(r){return(d||(d=o.xGo(p)))(r||p)}})();static \u0275cmp=o.VBU({type:p,selectors:[["app-input-mac-address"]],features:[o.Jv_([{provide:l.kq,multi:!0,useExisting:p},{provide:l.cz,multi:!0,useExisting:p}]),o.Vt3],ngContentSelectors:h,decls:14,vars:23,consts:[["inputElement",""],[3,"label","labelFor","inlineLabel","disabled","required","description","hint"],[1,"input-group"],["data-qa","input",1,"form-control",3,"ngModelChange","keydown","paste","focus","blur","type","id","maxlength","minlength","autocomplete","name","disabled","readonly","placeholder","ngModel"],["data-qa","clear",1,"clear"],["type","button","data-qa","btn",1,"btn","btn-border","btn-icon",3,"disabled"],["ngProjectAs","val-errors",5,["val-errors"]],["ngProjectAs","[description]",5,["","description",""]],["data-qa","clear",1,"clear",3,"click"],["type","button","data-qa","btn",1,"btn","btn-border","btn-icon",3,"click","disabled"],[3,"img"]],template:function(E,r){1&E&&(o.NAR(s),o.j41(0,"field-wrapper",1)(1,"div",2),o.SdG(2),o.j41(3,"input",3,0),o.nI1(5,"translate"),o.bIt("ngModelChange",function(g){return r.valueChanged(g)})("keydown",function(g){return r.preventInvalidInput(g)})("paste",function(g){return r.onPaste(g)})("focus",function(){return r.onFocus()})("blur",function(g){return r.onBlur(g)}),o.k0s(),o.nVh(6,b,1,0,"app-times-regular-icon",4),o.SdG(7,1),o.SdG(8,2),o.nVh(9,i,2,2,"button",5),o.k0s(),o.qex(10,6),o.SdG(11,3),o.bVm(),o.qex(12,7),o.SdG(13,4),o.bVm(),o.k0s()),2&E&&(o.Y8G("label",r.label)("labelFor",r.id)("inlineLabel",r.inlineLabel)("disabled",r.disabled)("required",r.isRequired)("description",r.description)("hint",r.hint),o.R7$(3),o.AVh("text-truncate",r.readonly),o.Y8G("type",r.type)("id",r.id)("maxlength",r.maxlength??null)("minlength",r.minlength)("autocomplete",r.autocomplete)("name",r.name)("disabled",r.disabled)("readonly",r.readonly||r.noManualInput)("placeholder",o.bMT(5,21,r.indeterminate?r.indeterminatePlaceholder:r.placeholder||""))("ngModel",r.value),o.R7$(3),o.vxM(r.indeterminate&&!r.disabled?6:-1),o.R7$(3),o.vxM(r.inlineBtnIcon?9:-1))},dependencies:[u.z,l.X1,l.me,l.BC,l.xh,l.tU,l.YN,l.vS,c.R,P.flO,P.WGl,C.D9],styles:["[_nghost-%COMP%]{display:block;margin-bottom:16px}[_nghost-%COMP%]   field-wrapper[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%]     .input-group>.btn{border-left:0}.max-length-3[_nghost-%COMP%]     input[type=number]{max-width:calc(12px * 2 + .65em * 3);min-width:calc(12px * 2 + .65em * 3)}.max-length-4[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 2.6em);min-width:calc(24px + 2.6em)}.max-length-5[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 3.25em);min-width:calc(24px + 3.25em)}.max-length-6[_nghost-%COMP%]     input[type=number]{max-width:calc(12px * 2 + .65em * 6);min-width:calc(12px * 2 + .65em * 6)}.max-length-7[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 4.55em);min-width:calc(24px + 4.55em)}.min-length-3[_nghost-%COMP%]     input[type=number]{min-width:calc(12px * 2 + .65em * 3)}.min-length-4[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 2.6em)}.min-length-5[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 3.25em)}.min-length-6[_nghost-%COMP%]     input[type=number]{min-width:calc(12px * 2 + .65em * 6)}.min-length-7[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 4.55em)}[_nghost-%COMP%]   .clear[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;cursor:pointer;--svg-color: currentColor;--svg-vertical-align: baseline}"],changeDetection:0})}return p})()},11944(T,M,a){a.d(M,{g:()=>r});var e=a(85802),u=a(89417),l=a(88334),c=a(13798),C=a(56998),P=a(98352),o=a(89079),t=a(60240),s=a(95604),h=a(72510),b=a(24708),i=a(68018),n=a(35547);function p(f,g){1&f&&n.nrm(0,"field-wrapper")}function _(f,g){if(1&f&&(n.j41(0,"field-wrapper",3),n.nrm(1,"ng-select",4)(2,"val-errors",5),n.k0s()),2&f){const m=n.XpG(2);n.AVh("ng-touched",!m.f.sbcName.untouched),n.R7$(),n.Y8G("searchable",!0)("clearable",!1)("items",m.sbcs)("formControl",m.f.sbcName),n.R7$(),n.Y8G("control",m.f.sbcName)}}function d(f,g){if(1&f&&(n.j41(0,"field-wrapper",6)(1,"label",7),n.EFF(2),n.nI1(3,"translate"),n.j41(4,"a",8),n.nI1(5,"translate"),n.EFF(6),n.nI1(7,"translate"),n.k0s()(),n.nrm(8,"ng-select",9)(9,"val-errors",5),n.k0s()),2&f){const m=n.XpG(2);n.AVh("ng-touched",!m.f.networkInterface.untouched),n.R7$(2),n.SpI(" ",n.bMT(3,11,"_i18n.ConnectLocalUri")," "),n.R7$(2),n.Y8G("href",n.mNQ(n.bMT(5,13,"_i18n.IPPhonesUri")),n.B4B),n.R7$(2),n.JRh(n.bMT(7,15,"_i18n.MoreInfo")),n.R7$(2),n.Y8G("searchable",!1)("clearable",!1)("items",m.networkInterfaces)("formControl",m.f.networkInterface),n.R7$(),n.Y8G("control",m.f.networkInterface)}}function E(f,g){if(1&f&&n.nVh(0,p,1,0,"field-wrapper")(1,_,3,7,"field-wrapper",1)(2,d,10,17,"field-wrapper",2),2&f){let m;const y=g.$implicit,v=n.XpG();n.vxM((m=y)===v.ConnectionType.Self?0:m===v.ConnectionType.ViaSBC?1:m===v.ConnectionType.Local?2:-1)}}let r=(()=>{class f extends P.z{destroy$=(0,e.WQX)(e.abz);
1form=new u.gE({connectionType:new u.MJ(l.Xt.Local,u.k0.required),sbcName:new u.MJ("",{nonNullable:!0,validators:u.k0.required}),networkInterface:new u.MJ("",{nonNullable:!0,validators:u.k0.required})});networkInterfaces=[];sbcs=[];connectOptions=[];ngOnInit(){this.form.controls.connectionType.valueChanges.pipe((0,o.pQ)(this.destroy$)).subscribe(m=>this.enableControls(m)),this.form.valueChanges.pipe((0,c.Z)(0),(0,o.pQ)(this.destroy$)).subscribe(m=>{this.valueChanged({connectionType:m.connectionType??null,sbcName:m.connectionType===l.Xt.ViaSBC&&m.sbcName||"",networkInterface:m.connectionType===l.Xt.Local&&m.networkInterface||""})}),this.syncControlState(this.form)}get f(){return this.form.controls}enableControls(m){this.disabled||((0,C.TZ)(this.form.controls.sbcName,m===l.Xt.ViaSBC),(0,C.TZ)(this.form.controls.networkInterface,m===l.Xt.Local))}writeValue(m){super.writeValue(m??{connectionType:null,sbcName:"",networkInterface:""}),this.form.patchValue(this.value,{emitEvent:!1}),this.enableControls(this.value.connectionType)}setDisabledState(m){super.setDisabledState(m),(0,C.TZ)(this.form,!m),this.enableControls(this.value.connectionType)}validate=this.createComponentValidator(this.form);ConnectionType=l.Xt;static \u0275fac=(()=>{let m;return function(v){return(m||(m=n.xGo(f)))(v||f)}})();static \u0275cmp=n.VBU({type:f,selectors:[["app-phone-connection"]],inputs:{networkInterfaces:"networkInterfaces",sbcs:"sbcs",connectOptions:"connectOptions"},features:[n.Jv_([{provide:u.cz,multi:!0,useExisting:f},{provide:u.kq,useExisting:f,multi:!0}]),n.Vt3],decls:2,vars:2,consts:[["data-qa","connection-type",3,"formControl","options"],["data-qa","via-sbc",3,"ng-touched"],["data-qa","interface",3,"ng-touched"],["data-qa","via-sbc"],["bindLabel","DisplayName","bindValue","Name","data-qa","select",3,"searchable","clearable","items","formControl"],[3,"control"],["data-qa","interface"],[1,"form-label"],["target","_blank","rel","noopener",1,"dashed_link",3,"href"],["data-qa","select",3,"searchable","clearable","items","formControl"]],template:function(y,v){1&y&&(n.j41(0,"field-radio-group",0),n.DNE(1,E,3,1,"ng-template"),n.k0s()),2&y&&n.Y8G("formControl",v.f.connectionType)("options",v.connectOptions)},dependencies:[t.u,u.X1,u.BC,u.l_,s.z,h.vr,b.IH,i.D9],encapsulation:2,changeDetection:0})}return f})()},88334(T,M,a){a.d(M,{Cz:()=>l,R6:()=>u,Xt:()=>e});var e=function(c){return c[c.ViaSBC=0]="ViaSBC",c[c.Self=1]="Self",c[c.Local=2]="Local",c}(e||{}),u=function(c){return c[c.Rps=0]="Rps",c[c.Local=1]="Local",c}(u||{}),l=function(c){return c[c.Order=0]="Order",c[c.NonOrder=1]="NonOrder",c}(l||{})},44447(T,M,a){a.d(M,{ef:()=>l,lZ:()=>c,n1:()=>P,vB:()=>o});var e=a(59053),u=a(80320);const l="5060";function c(t){const s=new URL(t.ProvisionLink).origin;return{link:s,text:s}}const C=t=>e.Bn.some(s=>s({value:t}));function P(){let t="",s=!0;for(;s;)t=(0,u.Z)(10),s=C(t);return t}function o(){return`SBC${Math.trunc(1e6*Math.random())}`}},43636(T,M,a){a.d(M,{s:()=>e});class e{cd;disabled=!1;touched=!1;onChange=l=>{};onTouched=()=>{};constructor(l){this.cd=l}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}markAsTouched(l=!1){(!this.touched||l)&&(this.onTouched(),this.touched=!0),this.cd.markForCheck()}setDisabledState(l){this.disabled=l,this.cd.markForCheck()}onBlur(l){this.markAsTouched(!0)}}},94743(T,M,a){a.d(M,{a:()=>b});var e=a(17705),u=a(85802),l=a(40953),c=a(54999),C=a(22972),P=a(7707),o=a(62049),t=a(89417),s=a(35547);function h(i,n){if(1&i){const p=s.RV6();s.j41(0,"tr",3),s.bIt("click",function(){const d=u.eBV(p).$implicit,E=s.XpG();return u.Njj(E.selector.toggle(d))}),s.j41(1,"td",4)(2,"app-checker",5),s.bIt("ngModelChange",function(d){const E=u.eBV(p).$implicit,r=s.XpG();return u.Njj(r.selector.setSelected(E,d))}),s.k0s()(),s.j41(3,"td"),s.EFF(4),s.k0s()()}if(2&i){const p=n.$implicit,_=s.XpG();s.R7$(2),s.Y8G("ngModel",_.selector.isRowSelected(p)),s.R7$(2),s.JRh(p)}}let b=(()=>{class i extends C.m{selector;possibleValues=[];constructor(){const p=(0,u.WQX)(e.gRc);super(),this.selector=new o.a({cd:p,keySelector:_=>_,notKeepSelectedOnDataChange:!0})}ngOnInit(){this.selector.onDataChanged(this.possibleValues)}buttons=c.P.OkCancel;getPayload(){return this.selector.selectedValues}static \u0275fac=function(_){return new(_||i)};static \u0275cmp=s.VBU({type:i,selectors:[["ng-component"]],inputs:{possibleValues:"possibleValues"},features:[s.Vt3],decls:5,vars:1,consts:[["header","_i18n.SelectCodecsToAdd",3,"submitted","buttons"],[1,"scrollable-table","mb-3"],[1,"clickable"],[1,"clickable",3,"click"],[1,"checker"],[3,"ngModelChange","ngModel"]],template:function(_,d){1&_&&(s.j41(0,"app-modal-dialog",0),s.bIt("submitted",function(){return d.onSubmit()}),s.j41(1,"table",1)(2,"tbody"),s.Z7z(3,h,5,2,"tr",2,s.fX1),s.k0s()()()),2&_&&(s.Y8G("buttons",d.buttons),s.R7$(3),s.Dyx(d.possibleValues))},dependencies:[l.p,P.$,t.YN,t.BC,t.vS],encapsulation:2,changeDetection:0})}return i})()},4187(T,M,a){a.d(M,{c:()=>c});var e=a(2275),u=a(95604),l=a(35547);let c=(()=>{class C{label;inlineLabel;url;showIcon=!0;showActionText;actionText="_i18n.DisplayCopy";static \u0275fac=function(t){return new(t||C)};static \u0275cmp=l.VBU({type:C,selectors:[["app-copy-url"]],hostAttrs:[1,"form-input"],inputs:{label:"label",inlineLabel:"inlineLabel",url:"url",showIcon:"showIcon",showActionText:"showActionText",actionText:"actionText"},decls:4,vars:8,consts:[["data-qa","copy-url",1,"mb-0",3,"label","inlineLabel"],[1,"link",3,"source","showIcon","showActionText","actionText"],["target","_blank","data-qa","link",1,"link",3,"href"]],template:function(t,s){1&t&&(l.j41(0,"field-wrapper",0)(1,"app-simple-copy",1)(2,"a",2),l.EFF(3),l.k0s()()()),2&t&&(l.Y8G("label",s.label)("inlineLabel",s.inlineLabel),l.R7$(),l.Y8G("source",s.url)("showIcon",s.showIcon)("showActionText",s.showActionText)("actionText",s.actionText),l.R7$(),l.Y8G("href",s.url,l.B4B),l.R7$(),l.JRh(s.url))},dependencies:[u.z,e.T],encapsulation:2,changeDetection:0})}return C})()},46484(T,M,a){a.d(M,{i:()=>P});var e=a(85802),u=a(15622),l=a(99437),c=a(96354),C=a(19037);const P=()=>{const o=(0,e.WQX)(u.N),t=(0,e.WQX)(C.s);
1return o.listSbc({$select:["Name","DisplayName","LocalIPv4"],$orderby:["DisplayName"]}).pipe((0,c.T)(s=>s.value??[]),(0,l.W)(s=>t.handleError(s)))}},8470(T,M,a){a.d(M,{Y:()=>l});var e=a(35547),u=a(85802);let l=(()=>{class c{static \u0275fac=function(o){return new(o||c)};static \u0275cmp=e.VBU({type:c,selectors:[["app-ellipsis-v-regular-icon"],["","app-ellipsis-v-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 128 512"],["d","M64 208c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zM16 104c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48zm0 304c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48z"]],template:function(o,t){1&o&&(u.qSk(),e.rj2(0,"svg",0),e.Hgh(1,"path",1),e.eux())},encapsulation:2})}return c})()},57631(T,M,a){a.d(M,{K:()=>l});var e=a(35547);const u=["*"];let l=(()=>{class c{redMark;static \u0275fac=function(o){return new(o||c)};static \u0275cmp=e.VBU({type:c,selectors:[["accordion-toggle"]],inputs:{redMark:"redMark"},ngContentSelectors:u,decls:4,vars:2,consts:[[1,"accordion-toggle"],["type","button",1,"btn","btn-link"]],template:function(o,t){1&o&&(e.NAR(),e.rj2(0,"div",0)(1,"button",1)(2,"span"),e.SdG(3),e.eux()()()),2&o&&(e.R7$(2),e.AVh("red-circle-mark",t.redMark))},encapsulation:2})}return c})()},4115(T,M,a){a.d(M,{P:()=>l});var e=a(35547);const u=["*"];let l=(()=>{class c{disabled=!1;href;class="link";static \u0275fac=function(o){return new(o||c)};static \u0275cmp=e.VBU({type:c,selectors:[["app-external-link"]],inputs:{disabled:"disabled",href:"href",class:"class"},ngContentSelectors:u,decls:2,vars:5,consts:[["target","_blank","rel","noopener noreferrer",3,"click","href"]],template:function(o,t){1&o&&(e.NAR(),e.rj2(0,"a",0),e.VwU("click",function(h){return h.stopPropagation()}),e.SdG(1),e.eux()),2&o&&(e.HbH(t.class),e.AVh("disabled",t.disabled),e.Avn("href",t.href,e.B4B))},styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})}return c})()},44051(T,M,a){a.d(M,{i:()=>c});var e=a(35547);function u(C,P){if(1&C&&e.Hgh(0,"i"),2&C){const o=e.XpG();e.HbH(e.VkB("status-indicator ",o.indicator))}}function l(C,P){if(1&C&&(e.rj2(0,"span",4),e.EFF(1),e.eux()),2&C){const o=e.XpG();e.R7$(),e.SpI(" (",o.type,")")}}let c=(()=>{class C{indicator;name;type;static \u0275fac=function(t){return new(t||C)};static \u0275cmp=e.VBU({type:C,selectors:[["app-indicator-name-type"]],inputs:{indicator:"indicator",name:"name",type:"type"},decls:6,vars:3,consts:[[1,"d-flex","gap-2","align-items-center"],[3,"class"],[1,"line-clamp-1"],["data-qa","name"],["data-qa","type",1,"small"]],template:function(t,s){1&t&&(e.rj2(0,"div",0),e.nVh(1,u,1,3,"i",1),e.rj2(2,"span",2)(3,"span",3),e.
1EFF(4),e.eux(),e.nVh(5,l,2,1,"span",4),e.eux()()),2&t&&(e.R7$(),e.vxM(s.indicator?1:-1),e.R7$(3),e.JRh(s.name),e.R7$(),e.vxM(s.type?5:-1))},encapsulation:2,changeDetection:0})}return C})()},76122(T,M,a){a.d(M,{j:()=>P});var e=a(85802),u=a(11860),l=a(19037),c=a(99437),C=a(96354);const P=()=>{const o=(0,e.WQX)(u.U),t=(0,e.WQX)(l.s);return o.listNetworkInterface({}).pipe((0,C.T)(s=>s.value?.map(h=>h.Id)??[]),(0,c.W)(s=>t.handleError(s)))}},15622(T,M,a){a.d(M,{N:()=>C});var e=a(97201),u=a(4499),l=a(35547),c=a(85802);let C=(()=>{class P extends u.d{createSbc(t,s="body"){const h=t?.pbxSbc;if(null==h)throw new Error("Required parameter pbxSbc was null or undefined when calling createSbc.");let b=this.defaultHeaders;b=this.configuration.addCredentialToHeaders("Application","Authorization",b,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(b=b.set("Accept",i));const p=this.configuration.selectHeaderContentType(["application/json"]);void 0!==p&&(b=b.set("Content-Type",p));let _="json";i&&(_=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:E,withCredentials:r}=this.configuration;return this.httpClient.request("post",`${E}/Sbcs`,{body:h,responseType:_,...r?{withCredentials:r}:{},headers:b,observe:s})}createSbcQuery(t,s="body",h=!1,b){if(null==t.pbxSbc)throw new Error("Required parameter pbxSbc was null or undefined when calling createSbc.");return"/Sbcs"}deleteSbc(t,s="body"){const h=t?.name;if(null==h)throw new Error("Required parameter name was null or undefined when calling deleteSbc.");const b=t?.ifMatch;let i=this.defaultHeaders;null!=b&&(i=i.set("If-Match",String(b))),i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(i=i.set("Accept",n));let p="json";n&&(p=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob");let _=`/Sbcs(${this.configuration.encodeParam({name:"name",value:h,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`;const{basePath:d,withCredentials:E}=this.configuration;return this.httpClient.request("delete",`${d}${_}`,{responseType:p,...E?{withCredentials:E}:{},headers:i,observe:s})}deleteSbcQuery(t,s="body",h=!1,b){const i=t.name;if(null==i)throw new Error("Required parameter name was null or undefined when calling deleteSbc.");return`/Sbcs(${this.configuration.encodeParam({name:"name",value:i,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`}getSbc(t,s="body"){const h=t?.name;if(null==h)throw new Error("Required parameter name was null or undefined when calling getSbc.");const b=t?.$select,i=t?.$expand;let n=new e.rx(this.encoder);n=this.addToHttpParams(n,"$select",b,e.l2.Form,!1),n=this.addToHttpParams(n,"$expand",i,e.l2.Form,!1);let p=this.defaultHeaders;p=this.configuration.addCredentialToHeaders("Application","Authorization",p,"Bearer ");const _=this.configuration.selectHeaderAccept(["application/json"]);void 0!==_&&(p=p.set("Accept",_));let d="json";_&&(d=_.startsWith("text")?"text":this.configuration.isJsonMime(_)?"json":"blob");let E=`/Sbcs(${this.configuration.encodeParam({name:"name",value:h,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`;const{basePath:r,withCredentials:f}=this.configuration;return this.httpClient.request("get",`${r}${E}`,{params:n.toHttpParams(),responseType:d,...f?{withCredentials:f}:{},headers:p,observe:s})}getSbcQuery(t,s="body",h=!1,b){const i=t.name;if(null==i)throw new Error("Required parameter name was null or undefined when calling getSbc.");const n=t.$select,p=t.$expand;let _=new e.rx(this.encoder);return _=this.addToHttpParams(_,"$select",n,e.l2.Form,!1),_=this.addToHttpParams(_,"$expand",p,e.l2.Form,!1),`/Sbcs(${this.configuration.encodeParam({name:"name",value:i,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})?`+_.toString()}listSbc(t,s="body"){const h=t?.$top,b=t?.$skip,i=t?.$search,n=t?.$filter,p=t?.$count,_=t?.$orderby,d=t?.$select,E=t?.$expand;let r=new e.rx(this.encoder);r=this.addToHttpParams(r,"$top",h,e.l2.Form,!1),r=this.addToHttpParams(r,"$skip",b,e.l2.Form,!1),r=this.addToHttpParams(r,"$search",i,e.l2.Form,!1),r=this.addToHttpParams(r,"$filter",n,e.l2.Form,!1),r=this.addToHttpParams(r,"$count",p,e.l2.Form,!1),r=this.addToHttpParams(r,"$orderby",_,e.l2.Form,!1),r=this.addToHttpParams(r,"$select",d,e.l2.Form,!1),r=this.addToHttpParams(r,"$expand",E,e.l2.Form,!1);let f=this.defaultHeaders;f=this.configuration.addCredentialToHeaders("Application","Authorization",f,"Bearer ");const g=this.configuration.selectHeaderAccept(["application/json"]);void 0!==g&&(f=f.set("Accept",g));let m="json";g&&(m=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob");const{basePath:v,withCredentials:O}=this.configuration;return this.httpClient.request("get",`${v}/Sbcs`,{params:r.toHttpParams(),responseType:m,...O?{withCredentials:O}:{},headers:f,observe:s})}listSbcQuery(t,s="body",h=!1,b){const i=t.$top,n=t.$skip,p=t.$search,_=t.$filter,d=t.$count,E=t.$orderby,r
1=t.$select,f=t.$expand;let g=new e.rx(this.encoder);return g=this.addToHttpParams(g,"$top",i,e.l2.Form,!1),g=this.addToHttpParams(g,"$skip",n,e.l2.Form,!1),g=this.addToHttpParams(g,"$search",p,e.l2.Form,!1),g=this.addToHttpParams(g,"$filter",_,e.l2.Form,!1),g=this.addToHttpParams(g,"$count",d,e.l2.Form,!1),g=this.addToHttpParams(g,"$orderby",E,e.l2.Form,!1),g=this.addToHttpParams(g,"$select",r,e.l2.Form,!1),g=this.addToHttpParams(g,"$expand",f,e.l2.Form,!1),"/Sbcs?"+g.toString()}pushConfig(t,s="body"){const h=t?.name;if(null==h)throw new Error("Required parameter name was null or undefined when calling pushConfig.");let b=this.defaultHeaders;b=this.configuration.addCredentialToHeaders("Application","Authorization",b,"Bearer ");const i=this.configuration.selectHeaderAccept(["application/json"]);void 0!==i&&(b=b.set("Accept",i));let n="json";i&&(n=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");let p=`/Sbcs(${this.configuration.encodeParam({name:"name",value:h,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})/Pbx.PushConfig`;const{basePath:_,withCredentials:d}=this.configuration;return this.httpClient.request("post",`${_}${p}`,{responseType:n,...d?{withCredentials:d}:{},headers:b,observe:s})}pushConfigQuery(t,s="body",h=!1,b){const i=t.name;if(null==i)throw new Error("Required parameter name was null or undefined when calling pushConfig.");return`/Sbcs(${this.configuration.encodeParam({name:"name",value:i,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})/Pbx.PushConfig`}updateSbc(t,s="body"){const h=t?.name;if(null==h)throw new Error("Required parameter name was null or undefined when calling updateSbc.");const b=t?.pbxSbc;if(null==b)throw new Error("Required parameter pbxSbc was null or undefined when calling updateSbc.");let i=this.defaultHeaders;i=this.configuration.addCredentialToHeaders("Application","Authorization",i,"Bearer ");const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(i=i.set("Accept",n));const _=this.configuration.selectHeaderContentType(["application/json"]);void 0!==_&&(i=i.set("Content-Type",_));let d="json";n&&(d=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob");let E=`/Sbcs(${this.configuration.encodeParam({name:"name",value:h,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`;const{basePath:r,withCredentials:f}=this.configuration;return this.httpClient.request("patch",`${r}${E}`,{body:b,responseType:d,...f?{withCredentials:f}:{},headers:i,observe:s})}updateSbcQuery(t,s="body",h=!1,b){const i=t.name;if(null==i)throw new Error("Required parameter name was null or undefined when calling updateSbc.");if(null==t.pbxSbc)throw new Error("Required parameter pbxSbc was null or undefined when calling updateSbc.");return`/Sbcs(${this.configuration.encodeParam({name:"name",value:i,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})})`}static \u0275fac=(()=>{let t;return function(h){return(t||(t=l.xGo(P)))(h||P)}})();static \u0275prov=c.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})()}}]);

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.