PageSourceSearch

https://schottenparadies.de/3259.88362474ccbb0fd8.js

js schottenparadies.de collected 2026-10-04 03:27:48 UTC 46,552 bytes, 1 lines download raw bytes

1(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[3259],{53879(ae,K,i){"use strict";i.d(K,{k:()=>m});var o=i(85802),M=i(67469),L=i(99437),C=i(96354),N=i(19037);const m=()=>{const H=(0,o.WQX)(M.G),J=(0,o.WQX)(N.s);return H.listGroup({$select:["Id","Name","Number"],$filter:"not startsWith(Name, '___FAVORITES___')",$orderby:["Name"]}).pipe((0,C.T)(c=>c.value??[]),(0,L.W)(c=>J.handleError(c)))}},60007(ae,K,i){"use strict";i.d(K,{Tp:()=>m,Xy:()=>N,ev:()=>C});var o=i(37201),M=i(76034),L=i(50139);const C=(0,M.c)("admin"),N=(0,M.c)("machineAdmin"),m=(0,L.d)(o.mD)},50139(ae,K,i){"use strict";i.d(K,{d:()=>C});var o=i(85802),M=i(96354),L=i(92996);const C=N=>()=>(0,o.WQX)(L.Z).getMyToken$().pipe((0,M.T)(m=>N.includes(m.myRole)))},10567(ae,K,i){"use strict";i.d(K,{N:()=>l});var o=i(85802),M=i(17705),L=i(4801),C=i(87019),N=i(7707),m=i(68845),H=i(54999),J=i(62049),c=i(22972),h=i(42610),w=i(50942),te=i(71747),d=i(40953),T=i(49769),p=i(89417),I=i(68018),u=i(89079),r=i(96354),b=i(38357);class G{peersApiService;searchTypes;extendPeer;hideHotdesking;constructor(f,P=[],D=[],v=!1){this.peersApiService=f,this.searchTypes=P,this.extendPeer=D,this.hideHotdesking=v}resolveData(f=1,P=C.z9,D=""){const v={$filter:"not (Number eq 'HOL')",$select:["Tags","Hidden","Number","Name","Type","Id",...this.extendPeer],...this.extendPeer.includes("MemberOf")?{$expand:["MemberOf($select=Name)"]}:{},$count:!0,$top:P,$skip:(f-1)*P};return D&&(v.$search=(0,b.Bj)(D)),this.searchTypes.length&&(v.$filter+=" and ("+this.searchTypes.map(g=>g===te.J.Parking?`(Type eq '${g}' and startsWith(Number,'SP'))`:`(Type eq '${g}')`).join(" or ")+")"),this.hideHotdesking&&(v.$filter+=" and not startsWith(Number,'HD')"),this.peersApiService.listPeer(v).pipe((0,r.T)(g=>({value:g.value||[],totalItems:g["@odata.count"]})))}}var O=i(79263),X=i(23773),s=i(35547);const F=(a,f)=>f.Id;function e(a,f){1&a&&(s.j41(0,"th"),s.EFF(1),s.nI1(2,"translate"),s.k0s()),2&a&&(s.R7$(),s.JRh(s.bMT(2,1,"_i18n.Membership")))}function t(a,f){if(1&a&&(s.j41(0,"td",16)(1,"span",17),s.EFF(2),s.k0s()()),2&a){const P=s.XpG().$implicit,D=s.XpG();s.R7$(2),s.JRh(D.displayMembership(P))}}function n(a,f){if(1&a){const P=s.RV6();s.j41(0,"tr",11),s.bIt("click",function(){const v=o.eBV(P).$implicit,g=s.XpG();return o.Njj(g.selector.toggle(v))}),s.j41(1,"td",5)(2,"app-checker",12),s.bIt("ngModelChange",function(v){const g=o.eBV(P).$implicit,A=s.XpG();return o.Njj(A.selector.setSelected(g,v))})("checkerClick",function(v){const g=o.eBV(P).$implicit,A=s.XpG();return o.Njj(A.selector.handleCheckerClick(g,v))}),s.k0s()(),s.j41(3,"td",13),s.nrm(4,"app-peer-name",14),s.k0s(),s.j41(5,"td",15),s.EFF(6),s.k0s(),s.nVh(7,t,3,1,"td",16),s.k0s()}if(2&a){const P=f.$implicit,D=s.XpG();s.R7$(2),s.Y8G("ngModel",D.selector.isRowSelected(P)),s.R7$(2),s.Y8G("peer",P),s.R7$(2),s.SpI(" ",P.Number," "),s.R7$(),s.vxM(D.showMembership?7:-1)}}let l=(()=>{class a extends c.m{cd=(0,o.WQX)(M.gRc);destroy$=(0,o.WQX)(o.abz);peersService=(0,o.WQX)(w.L);initialSelected=[];searchTypes=[];hideHotdesking=!1;showMembership=!1;header="_i18n.Select";itemsPerPage=(0,X.I)(h.hh,C.z9);buttons=H.P.OkCancel;selector;visibleMembers;pager;constructor(){super(),this.selector=new J.a({cd:this.cd,keySelector:P=>P.Id})}getPayload(){return this.selector.selectedValues}onPageSizeChange(P){this.itemsPerPage.set(P),this.pager.pageSizeChanged(P)}ngOnInit(){const P=this.initialSelected.map(v=>[v.Id,v]);this.selector.selected=new Map(P);const D=new G(this.peersService,this.searchTypes,["MemberOf"],this.hideHotdesking);this.pager=new L.f(this.destroy$,D,void 0,this.itemsPerPage()),this.pager.pagedItems$.pipe((0,u.pQ)(this.destroy$)).subscribe(v=>{this.visibleMembers=v.value||[],this.selector.onDataChanged(this.visibleMembers),this.cd.markForCheck()})}displayMembership(P){return P.MemberOf?.map(D=>D.Name).join(", ")??""}PbxPeerType=te.J;static \u0275fac=function(D){return new(D||a)};static \u0275cmp=s.VBU({type:a,selectors:[["app-peers-dialog"]],hostVars:2,hostBindings:function(D,v){2&D&&s.AVh("modal-lg",!0)},inputs:{initialSelected:"initialSelected",searchTypes:"searchTypes",hideHotdesking:"hideHotdesking",showMembership:"showMembership",header:"header"},features:[s.Vt3],decls:27,vars:27,consts:[[3,"submitted","buttons","header","containsInnerScrollable"],["dialog-header",""],[3,"formControl"],["data-qa","table",1,"scrollable-table"],[3,"cellSpacing"],[1,"checker"],["data-qa","checkbox-all",3,"ngModelChange","ngModel"],[1,"col-size-100"],["data-qa","row",1,"clickable"],["colspan","4"],[3,"pageChanged","itemsPerPageChanged","currentPage","itemsPerPage","totalItems","showBoundaryLinks","showPageSizes"],["data-qa","row",1,"clickable",3,"click"],[3,"ngModelChange","checkerClick","ngModel"],["data-qa","name"],[3,"peer"],["data-qa","extension"],["data-qa","membership"],[1,"line-clamp-2"]],template:function(D,v){1&D&&(s.j41(0,"app-modal-dialog",0),s.bIt("submitted",function(){return v.onSubmit()}),s.j41(1,"span",1),s.EFF(2),s.k0s(),s.nrm(3,"search-bar",2),s.j41(4,"div",3)(5,"table",4)(6,"thead")(7,"tr")(8,"th",5)(9,"app-checker",6),s.bIt("ngModelChange",function(A){return v.selector.setSelectAll(A)}),s.k0s()(),s.j41(10,"th"),s.EFF(11),s.nI1(12,"translate"),s.k0s(),s.j41(13,"th",7),s.EFF(14),s.nI1(15,"translate"),s.k0s(),s.nVh(16,e,3,3,"th"),s.k0s()(),s.j41(17,"tbody"),s.Z7z(18,n,8,4,"tr",8,F),s.k0s(),s.j41(20,"tfoot")(21,"tr")(22,"td",9)(23,"app-paging",10),s.n
1I1(24,"async"),s.nI1(25,"async"),s.nI1(26,"async"),s.bIt("pageChanged",function(A){return v.pager.pageChanged(A)})("itemsPerPageChanged",function(A){return v.onPageSizeChange(A)}),s.k0s()()()()()()()),2&D&&(s.Y8G("buttons",v.buttons)("header",v.header)("containsInnerScrollable",!0),s.R7$(2),s.JRh(v.selector.selectedCountLabel),s.R7$(),s.Y8G("formControl",v.pager.search),s.R7$(2),s.Y8G("cellSpacing",0),s.R7$(4),s.Y8G("ngModel",v.selector.isAnySelected),s.R7$(),s.AVh("col-size-300",v.showMembership),s.R7$(),s.JRh(s.bMT(12,17,"_i18n.Name")),s.R7$(3),s.JRh(s.bMT(15,19,"_i18n.Extension")),s.R7$(2),s.vxM(v.showMembership?16:-1),s.R7$(2),s.Dyx(v.visibleMembers),s.R7$(5),s.Y8G("currentPage",s.bMT(24,21,v.pager.currentPage$))("itemsPerPage",s.bMT(25,23,v.pager.pageSize$))("totalItems",s.bMT(26,25,v.pager.totalCount$))("showBoundaryLinks",!0)("showPageSizes",!0))},dependencies:[C.u4,N.$,m.L,d.p,p.X1,p.BC,p.l_,p.YN,p.vS,O.j,T.Jj,I.D9],encapsulation:2,changeDetection:0})}return a})()},99179(ae,K,i){"use strict";i.d(K,{j:()=>F});var o=i(17705),M=i(85802),L=i(87019),C=i(89417),N=i(84412),m=i(84572),H=i(23294),J=i(5964),c=i(96354),h=i(99172),w=i(50644),te=i(68845),d=i(49769),T=i(68018),p=i(89079),I=i(38969),u=i(79263),r=i(35547);const b=(e,t)=>t.Number;function G(e,t){1&e&&(r.j41(0,"th",2),r.EFF(1),r.nI1(2,"translate"),r.k0s()),2&e&&(r.R7$(),r.JRh(r.bMT(2,1,"_i18n.Membership")))}function O(e,t){if(1&e&&(r.j41(0,"td"),r.EFF(1),r.k0s()),2&e){const n=r.XpG().$implicit,l=r.XpG(2);r.R7$(),r.JRh(l.displayMembership(n))}}function X(e,t){if(1&e){const n=r.RV6();r.j41(0,"tr")(1,"td"),r.nrm(2,"app-peer-name",7),r.k0s(),r.j41(3,"td"),r.EFF(4),r.k0s(),r.nVh(5,O,2,1,"td"),r.j41(6,"td",4)(7,"button",8),r.bIt("click",function(){const a=M.eBV(n).$implicit,f=r.XpG(2);return M.Njj(f.removePeer(a))}),r.k0s()()()}if(2&e){const n=t.$implicit,l=r.XpG(2);r.R7$(2),r.Y8G("peer",n),r.R7$(2),r.JRh(n.Number),r.R7$(),r.vxM(l.showMembership?5:-1)}}function s(e,t){if(1&e){const n=r.RV6();r.nrm(0,"search-bar",0),r.j41(1,"table",1)(2,"thead")(3,"tr")(4,"th",2),r.EFF(5),r.nI1(6,"translate"),r.k0s(),r.j41(7,"th",3),r.EFF(8),r.nI1(9,"translate"),r.k0s(),r.nVh(10,G,3,3,"th",2),r.nrm(11,"th",4),r.k0s()(),r.j41(12,"tbody"),r.Z7z(13,X,8,3,"tr",null,b),r.nI1(15,"async"),r.k0s(),r.j41(16,"tfoot")(17,"tr")(18,"td",5)(19,"app-paging",6),r.nI1(20,"async"),r.nI1(21,"async"),r.bIt("pageChanged",function(a){M.eBV(n);const f=r.XpG();return M.Njj(f.currentPage$.next(a.page))}),r.k0s()()()()()}if(2&e){const n=r.XpG();r.Y8G("formControl",n.search),r.R7$(),r.AVh("disabled",n.peersControl.disabled),r.R7$(4),r.JRh(r.bMT(6,10,"_i18n.Name")),r.R7$(3),r.JRh(r.bMT(9,12,"_i18n.Extension")),r.R7$(2),r.vxM(n.showMembership?10:-1),r.R7$(3),r.Dyx(r.bMT(15,14,n.displayedItems$)),r.R7$(6),r.Y8G("currentPage",r.bMT(20,16,n.currentPage$))("itemsPerPage",n.itemsPerPage)("totalItems",r.bMT(21,18,n.totalFilteredItems$))("showBoundaryLinks",!0)}}let F=(()=>{class e{destroy$=(0,M.WQX)(M.abz);peersControl;showMembership=!1;deletePeer=(0,o.CGW)();itemsPerPage=L.tn[0];search=new C.MJ("");currentPage$=new N.t(1);items$=new N.t([]);filteredItems$=(0,m.z)([this.items$,this.search.valueChanges.pipe((0,h.Z)(this.search.value))]).pipe((0,c.T)(([n,l])=>l?n.filter(a=>a.Name?.toLowerCase().includes(l.toLowerCase())||a.Number?.toLowerCase().includes(l.toLowerCase())):n),(0,w.H9)());totalFilteredItems$=this.filteredItems$.pipe((0,c.T)(n=>n.length),(0,w.H9)());maxPage$=this.totalFilteredItems$.pipe((0,c.T)(n=>Math.max(1,Math.ceil(n/this.itemsPerPage))),(0,H.F)(),(0,w.H9)());displayedItems$=(0,m.z)([this.filteredItems$,this.currentPage$]).pipe((0,c.T)(([n,l])=>n.slice((l-1)*this.itemsPerPage,l*this.itemsPerPage)),(0,w.H9)());constructor(){this.search.valueChanges.pipe((0,p.pQ)(this.destroy$)).subscribe(()=>{this.currentPage$.next(1)}),this.maxPage$.pipe((0,J.p)(n=>this.currentPage$.value>n),(0,p.pQ)(this.destroy$)).subscribe(n=>{this.currentPage$.next(n)})}ngOnInit(){this.items$.next(this.peersControl.value),this.peersControl.valueChanges.pipe((0,p.pQ)(this.destroy$)).subscribe(n=>{this.items$.next(n)})}removePeer(n){this.deletePeer.emit(n)}displayMembership(n){return n.MemberOf?.map(l=>l.Name).join(", ")??""}static \u0275fac=function(l){return new(l||e)};static \u0275cmp=r.VBU({type:e,selectors:[["app-peers-table"]],inputs:{peersControl:"peersControl",showMembership:"showMembership"},outputs:{deletePeer:"deletePeer"},decls:1,vars:1,consts:[[3,"formControl"],["data-qa","extension-list",1,"scrollable-table","mt-3"],[1,"col-size-200"],[1,"col-size-100"],[1,"actions"],["colspan","4"],[3,"pageChanged","currentPage","itemsPerPage","totalItems","showBoundaryLinks"],[3,"peer"],["type","button","data-qa","delete","app-trash-alt-solid-icon","",1,"btn","btn-plain",3,"click"]],template:function(l,a){1&l&&r.nVh(0,s,22,20),2&l&&r.vxM(a.peersControl.value.length?0:-1)},dependencies:[te.L,L.u4,I.d,C.X1,C.BC,C.l_,u.j,T.D9,d.Jj],encapsulation:2})}return e})()},97268(ae,K,i){"use strict";i.d(K,{W:()=>L});var o=i(35547),M=i(85802);let L=(()=>{class C{static \u0275fac=function(H){return new(H||C)};static \u0275cmp=o.VBU({type:C,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(H,J){1&H&&(M.qSk(),o.rj2(0,"svg",0),o.Hgh(1,"path",1),o.eux())},encapsulation:2})}return C})()},52478(ae,K,i){"use strict";i.d(K,{L:()=>C});var o=i(83230),M=i(8516),L=i(35547);let C=(()=>{class N{text="_i18n.Delete";disabled;theme="border";loader;Trash2=M.TBR;static \u0275fac=function(J){return new(J||N)};static \u0275cmp=L.VBU({type:N,selectors:[["app-button-delete"]],inputs:{text:"text",disabled:"disabled",theme:"theme",loader:"loader"},decls:1,vars:5,consts:[["data-qa","delete",3,"disabled","theme","icon","text","loader"]],template:function(J,c){1&J&&L.nrm(0,"app-button",0),2&J&&L.Y8G("disabled",c.disabled)("theme",c.theme)("icon",c.Trash2)("text",c.text)("loader",c.loader)},dependencies:[o.Q],encapsulation:2,changeDetection:0})}return N})()},45501(ae,K,i){"use strict";i.d(K,{N:()=>I});var o=i(17705),M=i(89417),L=i(56998),C=i(98352),N=i(95604),m=i(72510),H=i(68018),J=i(49769),c=i(35547),h=i(85802);const w=[[["val-errors"]]],te=["val-errors"];function d(u,r){1&u&&(c.j41(0,"b",7),c.EFF(1),c.nI1(2,"translate"),c.k0s()),2&u&&(c.R7$(),c.JRh(c.bMT(2,1,"_i18n.MainMembershipBadge")))}function T(u,r){if(1&u&&(c.j41(0,"div",5)(1,"span",6),c.EFF(2),c.k0s(),c.nVh(3,d,3,3,"b",7),c.k0s()),2&u){const b=r.item;c.R7$(),c.Y8G("title",b.Name),c.R7$(),c.JRh(b.Name),c.R7$(),c.vxM(b.IsPrimaryBossGroup?3:-1)}}function p(u,r){if(1&u){const b=c.RV6();c.j41(0,"span",8),c.bIt("click",function(){const O=h.eBV(b);return h.Njj((0,O.clear)(O.item))}),c.EFF(1,"\xd7"),c.k0s(),c.j41(2,"span",6),c.EFF(3),c.k0s()}if(2&u){const b=r.item;c.R7$(2),c.Y8G("title",b.Name),c.R7$(),c.JRh(b.Name)}
1}let I=(()=>{class u extends C.z{groups=[];label="";description="";placeholder="_i18n.SelectGroup";disabled=!1;valueField="Id";required=!1;id=(0,L.bn)();opened=(0,o.CGW)();closed=(0,o.CGW)();removed=(0,o.CGW)();groupChanged=(0,o.CGW)();selectedValue=null;get hasSelectedValue(){return!!this.selectedValue&&(!Array.isArray(this.selectedValue)||this.selectedValue.length>0)}writeValue(b){super.writeValue(b),this.selectedValue=b}groupSearch=(b,G)=>G.Name?.toLowerCase().includes(b.toLowerCase());onItemSelected(b){let G=null;if(Array.isArray(b))G=b.map(O=>{switch(this.valueField){case"Number":return O.Number||"";case"Name":return O.Name;default:return O.Id}});else if(b)switch(this.valueField){case"Number":G=b.Number||"";break;case"Name":G=b.Name||"";break;default:G=b.Id}this.valueChanged(G),this.markAsTouched(),null!==b&&this.groupChanged.emit(b)}onOpen(){this.opened.emit()}onClose(){this.markAsTouched(),this.closed.emit()}onRemove(b){this.removed.emit(b)}static \u0275fac=(()=>{let b;return function(O){return(b||(b=c.xGo(u)))(O||u)}})();static \u0275cmp=c.VBU({type:u,selectors:[["app-departments-select"]],inputs:{groups:"groups",label:"label",description:"description",placeholder:"placeholder",disabled:"disabled",valueField:"valueField",required:"required",id:"id"},outputs:{opened:"opened",closed:"closed",removed:"removed",groupChanged:"groupChanged"},features:[c.Jv_([{provide:M.kq,multi:!0,useExisting:u}]),c.Vt3],ngContentSelectors:te,decls:7,vars:16,consts:[[3,"label","description","required"],["data-qa","group-select",3,"open","close","remove","change","ngModelChange","items","id","bindValue","placeholder","clearable","searchable","multiple","searchFn","closeOnSelect","disabled","ngModel"],["ng-option-tmp",""],["ng-label-tmp",""],["ngProjectAs","val-errors",5,["val-errors"]],[1,"d-flex","align-items-center","gap-2"],[1,"text-truncate",3,"title"],[1,"badge","bg-primary","text-uppercase","p-1","mb-1"],["data-qa","remove-choice","aria-hidden","true",1,"ng-value-icon","left",3,"click"]],template:function(G,O){1&G&&(c.NAR(w),c.j41(0,"field-wrapper",0)(1,"ng-select",1),c.nI1(2,"translate"),c.bIt("open",function(){return O.onOpen()})("close",function(){return O.onClose()})("remove",function(s){return O.onRemove(s)})("change",function(s){return O.onItemSelected(s)}),c.mxI("ngModelChange",function(s){return c.DH7(O.selectedValue,s)||(O.selectedValue=s),s}),c.DNE(3,T,4,3,"ng-template",2)(4,p,4,2,"ng-template",3),c.k0s(),c.qex(5,4),c.SdG(6),c.bVm(),c.k0s()),2&G&&(c.Y8G("label",O.label)("description",O.description)("required",O.required),c.R7$(),c.Y8G("items",O.groups)("id",O.id)("bindValue",O.valueField)("placeholder",O.hasSelectedValue?"":c.bMT(2,14,O.placeholder))("clearable",!0)("searchable",!0)("multiple",!0)("searchFn",O.groupSearch)("closeOnSelect",!1)("disabled",O.disabled),c.R50("ngModel",O.selectedValue))},dependencies:[m.vr,J.MD,M.YN,M.BC,M.vS,m.ZZ,m.Uq,N.z,H.D9],styles:[".ng-invalid.ng-touched[_nghost-%COMP%]     .ng-select-container{border-color:var(--error)}"],changeDetection:0})}return u})()},90836(ae,K,i){"use strict";i.d(K,{g:()=>te});var o=i(35547),M=i(85802),L=i(49769);const C=d=>["segment",d],N=(d,T)=>({"segment-main":!0,expandable:d,expanded:T});function m(d,T){1&d&&o.nrm(0,"div",9)}function H(d,T){if(1&d&&(o.j41(0,"span",10),o.EFF(1),o.k0s()),2&d){const p=o.XpG().$implicit;o.R7$(),o.JRh(p.description)}}function J(d,T){if(1&d&&(o.j41(0,"section",11),o.nrm(1,"ngx-json-viewer",12),o.k0s()),2&d){const p=o.XpG().$implicit,I=o.XpG();o.R7$(),o.Y8G("json",p.value)("expanded",I.expanded)("depth",I.depth)("_currentDepth",I._currentDepth+1)}}function c(d,T){if(1&d){const p=o.RV6();o.j41(0,"section",2)(1,"section",3),o.bIt("click",function(){const u=M.eBV(p).$implicit,r=o.XpG();return M.Njj(r.toggle(u))}),o.DNE(2,m,1,0,"div",4),o.j41(3,"span",5),o.EFF(4),o.k0s(),o.j41(5,"span",6),o.EFF(6,": "),o.k0s(),o.DNE(7,H,2,1,"span",7),o.k0s(),o.DNE(8,J,2,4,"section",8),o.k0s()}if(2&d){const p=T.$implicit,I=o.XpG();o.Y8G("ngClass",o.eq3(6,C,"segment-type-"+p.type)),o.R7$(),o.Y8G("ngClass",o.l_i(8,N,I.isExpandable(p),p.expanded)),o.R7$(),o.Y8G("ngIf",I.isExpandable(p)),o.R7$(2),o.JRh(p.key),o.R7$(3),o.Y8G("ngIf",!p.expanded||!I.isExpandable(p)),o.R7$(),o.Y8G("ngIf",p.expanded&&I.isExpandable(p))}}let h=(()=>{class d{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEac
1h(p=>{this.segments.push(this.parseKeyValue(p,this.json[p]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(p){return"object"===p.type||"array"===p.type}toggle(p){this.isExpandable(p)&&(p.expanded=!p.expanded)}parseKeyValue(p,I){const u={key:p,value:I,type:void 0,description:""+I,expanded:this.isExpanded()};switch(typeof u.value){case"number":u.type="number";break;case"boolean":u.type="boolean";break;case"function":u.type="function";break;case"string":u.type="string",u.description='"'+u.value+'"';break;case"undefined":u.type="undefined",u.description="undefined";break;case"object":null===u.value?(u.type="null",u.description="null"):Array.isArray(u.value)?(u.type="array",u.description="Array["+u.value.length+"] "+JSON.stringify(u.value)):u.value instanceof Date?u.type="date":(u.type="object",u.description="Object "+JSON.stringify(u.value))}return u}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(p){const I=new WeakMap;return function u(r,b){let G,O;return"object"!=typeof r||null===r||r instanceof Boolean||r instanceof Date||r instanceof Number||r instanceof RegExp||r instanceof String?r:(G=I.get(r),void 0!==G?{$ref:G}:(I.set(r,b),Array.isArray(r)?(O=[],r.forEach(function(X,s){O[s]=u(X,b+"["+s+"]")})):(O={},Object.keys(r).forEach(function(X){O[X]=u(r[X],b+"["+JSON.stringify(X)+"]")})),O))}(p,"$")}}return d.\u0275fac=function(p){return new(p||d)},d.\u0275cmp=o.VBU({type:d,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},standalone:!1,features:[o.OA$],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"click","ngClass"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(p,I){1&p&&(o.j41(0,"section",0),o.DNE(1,c,9,11,"section",1),o.k0s()),2&p&&(o.R7$(),o.Y8G("ngForOf",I.segments))},dependencies:[L.YU,L.Sq,L.bT,d],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%]   .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%]   .segment[_ngcontent-%COMP%]   .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%]   .segment[_ngcontent-%COMP%]   .segment-main[_ngcontent-%COMP%]   .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment[_ngcontent-%COMP%]   .segment-main[_ngcontent-%COMP%]   .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%]   .segment[_ngcontent-%COMP%]   .segment-main[_ngcontent-%COMP%]   .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment[_ngcontent-%COMP%]   .segment-main[_ngcontent-%COMP%]   .segment-separator[_ng
1content-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment[_ngcontent-%COMP%]   .segment-main[_ngcontent-%COMP%]   .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment[_ngcontent-%COMP%]   .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%]   .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%]   .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%]   .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%]   .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),d})(),w=(()=>{class d{}return d.\u0275fac=function(p){return new(p||d)},d.\u0275mod=o.$C({type:d}),d.\u0275inj=M.G2t({imports:[L.MD]}),d})(),te=(()=>{class d{json;jsonString;expanded=!0;data;ngOnChanges(p){this.data=this.json||JSON.parse(this.jsonString||"{}")}static \u0275fac=function(I){return new(I||d)};static \u0275cmp=o.VBU({type:d,selectors:[["app-json-viewer"]],inputs:{json:"json",jsonString:"jsonString",expanded:"expanded"},features:[o.OA$],decls:1,vars:2,consts:[[3,"json","expanded"]],template:function(I,u){1&I&&o.nrm(0,"ngx-json-viewer",0),2&I&&o.Y8G("json",u.data)("expanded",u.expanded)},dependencies:[w,h],styles:[".segment-type-string>.segment-main.expanded>.segment-value{color:var(--text-primary)!important}  .segment-type-number>.segment-main.expanded>.segment-value{color:var(--text-primary)!important}  .segment-type-boolean>.segment-main.expanded>.segment-value{color:var(--text-primary)!important}  .segment-type-date>.segment-main.expanded>.segment-value{color:var(--text-primary)!important}  .segment-type-array>.segment-main.expanded>.segment-value{color:var(--text-primary)!important}  .segment-type-object>.segment-main.expanded>.segment-value{color:var(--text-primary)!important}  .segment-type-function>.segment-main.expanded>.segment-value{color:var(--text-primary)!important}  .segment-type-null>.segment-main.expanded>.segment-value{color:#fff!important}  .segment-type-undefined>.segment-main.expanded>.segment-value{color:#fff!important}  .segment-key{color:var(--bg-secondary)!important}"],changeDetection:0})}return d})()},79263(ae,K,i){"use strict";i.d(K,{j:()=>h});var o=i(17705),M=i(71747),L=i(13652),C=i(68018),N=i(36832),m=i(35547);function H(w,te){if(1&w&&(m.j41(0,"small",1),m.EFF(1),m.nI1(2,"translate"),m.k0s()),2&w){const d=m.XpG(),T=m.XpG();m.R7$(),m.SpI(" (",m.bMT(2,1,T.getTypeTranslation(d.Type,d.Tags)),") ")}}function J(w,te){1&w&&m.nrm(0,"app-aibadge")}function c(w,te){if(1&w&&(m.j41(0,"span",0),m.EFF(1),m.k0s(),m.nVh(2,H,3,3,"small",1),m.nVh(3,J,1,0,"app-aibadge")),2&w){const d=te,T=m.XpG();m.R7$(),m.JRh(d.Name),m.R7$(),m.vxM(T.shouldShowDnType(d)?2:-1),m.R7$(),m.vxM(null!=d.Tags&&d.Tags.includes("AI")?3:-1)}}let h=(()=>{class w{peer=(0,o.hFB)();shouldShowDnType(d){return!(!d.Type||d.Type===M.J.Extension||d.Type===M.J.None)}getTypeTranslation(d,T){switch(d){case M.J.ExternalLine:return"_i18n.Trunk";case M.J.Extension:return"_i18n.Extension";case M.J.Queue:return"_i18n.Queue";case M.J.RingGroup:return"_i18n.RingGroup";case M.J.Parking:return"_i18n.DNType_Parking";case M.J.Ivr:return"_i18n.DigitalReceptionist";case M.J.RoutePoint:return T?.includes(L.I.Principal)?"_i18n.ServicePrincipal":"_i18n.CallFlow";case M.J.Fax:return"_i18n.Fax";case M.J.Conference:return"_i18n.Conference";case M.J.SpecialMenu:return"_i18n.SpecialMenu";case M.J.Group:return"_i18n.Group"}return""}static \u0275fac=function(T){return new(T||w)};static \u0275cmp=m.VBU({type:w,selectors:[["app-peer-name"]],hostAttrs:[1,"d-flex","gap-2","align-items-center","hide-empty","minw-px-100"],hostVars:1,hostBindings:function(T,p){2&T&&m.BMQ("data-qa","peer-name")},inputs:{peer:[1,"peer"]},decls:1,vars:1,consts:[["data-qa","name",1,"line-clamp-1","minw-px-50"],["data-qa","dn-type",1,"line-clamp-1"]],template:function(T,p){if(1&T&&m.nVh(0,c,4,3),2&T){let I;m.vxM((I=p.peer())?0:-1,I)}},dependencies:[N.u,C.D9],encapsulation:2,changeDetection:0})}return w})()},63674(ae,K,i){"use strict";i.d(K,{Y:()=>o});const o={LocalLan:"LocalLan",RemoteExt:"RemoteExt",RemoteExtSipProxyMgr:"RemoteExtSipProxyMgr",Sbc:"SBC"}},90262(ae,K){var i,M;i=function L(){var N,C=typeof self<"u"?self:typeof window<"u"?window:void 0!==C?C:{}
vendor: 12,945 bytes, line 1
1,m=!C.document&&!!C.postMessage,H=C.IS_PAPA_WORKER||!1,J={},c=0,h={};function w(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(t){var n=X(t);n.chunkSize=parseInt(n.chunkSize),t.step||t.chunk||(n.chunkSize=null),this._handle=new I(n),(this._handle.streamer=this)._config=n}.call(this,e),this.parseChunk=function(t,n){var l=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<l){let f=this._config.newline;f||(f=this._handle.guessLineEndings(t,a=this._config.quoteChar||'"')),t=[...t.split(f).slice(l)].join(f)}this.isFirstChunk&&F(this._config.beforeFirstChunk)&&void 0!==(a=this._config.beforeFirstChunk(t))&&(t=a),this.isFirstChunk=!1,this._halted=!1,l=this._partialLine+t;var a=(this._partialLine="",this._handle.parse(l,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(t=a.meta.cursor,this._finished||(this._partialLine=l.substring(t-this._baseIndex),this._baseIndex=t),a&&a.data&&(this._rowCount+=a.data.length),l=this._finished||this._config.preview&&this._rowCount>=this._config.preview,H)C.postMessage({results:a,workerId:h.WORKER_ID,finished:l});else if(F(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=a=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!l||!F(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),l||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(t){F(this._config.error)?this._config.error(t):H&&this._config.error&&C.postMessage({workerId:h.WORKER_ID,error:t,finished:!1})}}function te(e){var t;(e=e||{}).chunkSize||(e.chunkSize=h.RemoteChunkSize),w.call(this,e),this._nextChunk=m?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(n){this._input=n,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),m||(t.onload=s(this._chunkLoaded,this),t.onerror=s(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!m),this._config.downloadRequestHeaders){var n,l=this._config.downloadRequestHeaders;for(n in l)t.setRequestHeader(n,l[n])}this._config.chunkSize&&t.setRequestHeader("Range","bytes="+this._start+"-"+(this._start+this._config.chunkSize-1));try{t.send(this._config.downloadRequestBody)}catch(f){this._chunkError(f.message)}m&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){var n;4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(n=(n=t).getResponseHeader("Content-Range"))?parseInt(n.substring(n.lastIndexOf("/")+1)):-1),this.parseChunk(t.responseText)))},this._chunkError=function(n){n=t.statusText||n,this._sendError(new Error(n))}}function d(e){(e=e||{}).chunkSize||(e.chunkSize=h.LocalChunkSize),w.call(this,e);var t,n,l=typeof FileReader<"u";this.stream=function(a){this._input=a,n=a.slice||a.webkitSlice||a.mozSlice,l?((t=new FileReader).onload=s(this._chunkLoaded,this),t.onerror=s(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var a=this._input,f=(this._config.chunkSize&&(f=Math.min(this._start+this._config.chunkSize,this._input.size),a=n.call(a,this._start,f)),t.readAsText(a,this._config.encoding));l||this._chunkLoaded({target:{result:f}})},this._chunkLoaded=function(a){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(a.target.result)},this._chunkError=function(){this._sendError(t.error)}}function T(e){var t;w.call(this,e=e||{}),this.stream=function(n){return t=n,this._nextChunk()},this._nextChunk=function(){var n,l;if(!this._finished)return t=(n=this._config.chunkSize)?(l=t.substring(0,n),t.substring(n)):(l=t,""),this._finished=!t,this.parseChunk(l)}}function p(e){w.call(this,e=e||{});var t=[],n=!0,l=!1;this.pause=function(){w.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){w.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(a){this._input=a,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){l&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=s(function(a){try{t.push("string"==typeof a?a:a.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(f){this._streamError(f)}},this),this._streamError=s(function(a){this._streamCleanUp(),this._sendError(a)},this),this._streamEnd=s(function(){this._streamCleanUp(),l=!0,this._streamData("")},this),this._streamCleanUp=s(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function I(e){var t,n,l,a,f=Math.pow(2,53),P=-f,D=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,v=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,g=this,A=0,y=0,se=!1,E=!1,j=[],_={data:[],errors:[],meta:{}};function Q(k){return"greedy"===e.skipEmptyLines?""===k.join("").trim():1===k.length&&0===k[0].length}function Y(){if(_&&l&&(le("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+h.DefaultDelimiter+"'"),l=!1),e.skipEmptyLines&&(_.data=_.data.filter(function(U){return!Q(U)})),ne()){let U=function(q,W){F(e.transformHeader)&&(q=e.transformHeader(q,W)),j.push(q)};if(_)if(Array.isArray(_.data[0])){for(var k=0;ne()&&k<_.data.length;k++)_.data[k].forEach(U);_.data.splice(0,1)}else _.data.forEach(U)}function S(U,q){for(var W=e.header?{}:[],B=0;B<U.length;B++){var R=B,re=U[B];re=(($,V)=>{return Z=$,e.dynamicTypingFunction&&void 0===e.dynamicTyping[Z]&&(e.dynamicTyping[Z]=e.dynamicTypingFunction(Z)),!0===(e.dynamicTyping[Z]||e.dynamicTyping)?"true"===V||"TRUE"===V||"false"!==V&&"FALSE"!==V&&((Z=>{if(D.test(Z)&&(Z=parseFloat(Z),P<Z&&Z<f))return 1})(V)?parseFloat(V):v.test(V)?new Date(V):""===V?null:V):V;var Z})(R=e.header?B>=j.length?"__parsed_extra":j[B]:R,re=e.transform?e.transform(re,R):re),"__parsed_extra"===R?(W[R]=W[R]||[],W[R].push(re)):W[R]=re}return e.header&&(B>j.length?le("FieldMismatch","TooManyFields","Too many fields: expected "+j.length+" fields but parsed "+B,y+q):B<j.length&&le("FieldMismatch","TooFewFields","Too few fields: expected "+j.length+" fields but parsed "+B,y+q)),W}var z;_&&(e.header||e.dynamicTyping||e.transform)&&(z=1,!_.data.length||Array.isArray(_.data[0])?(_.data=_.data.map(S),z=_.data.length):_.data=S(_.data,0),e.header&&_.meta&&(_.meta.fields=j),y+=z)}function ne(){return e.header&&0===j.length}function le(k,S,z,x){k={type:k,code:S,message:z},void 0!==x&&(k.row=x),_.errors.push(k)}F(e.step)&&(a=e.step,e.step=function(k){_=k,ne()?Y():(Y(),0!==_.data.length&&(A+=k.data.length,e.preview&&A>e.preview?n.abort():(_.data=_.data[0],a(_,g))))}),this.parse=function(k,S,z){var x=e.quoteChar||'"';return e.newline||(e.newline=this.guessLineEndings(k,x)),l=!1,e.delimiter?F(e.delimiter)&&(e.delimiter=e.delimiter(k),_.meta.delimiter=e.delimiter):((x=((U,q,W,B,R)=>{var re,$,V,Z;R=R||[",","\t","|",";",h.RECORD_SEP,h.UNIT_SEP];for(var he=0;he<R.length;he++){for(var ce,ge=R[he],ie=0,de=0,ee=0,oe=(V=void 0,new r({comments:B,delimiter:ge,newline:q,preview:10}).parse(U)),ue=0;ue<oe.data.length;ue++)W&&Q(oe.data[ue])?ee++:(de+=ce=oe.data[ue].length,void 0===V?V=ce:0<ce&&(ie+=Math.abs(ce-V),V=ce));0<oe.data.length&&(de/=oe.data.length-ee),(void 0===$||ie<=$)&&(void 0===Z||Z<de)&&1.99<de&&($=ie,re=ge,Z=de)}return{successful:!!(e.delimiter=re),bestDelimiter:re}})(k,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=x.bestDelimiter:(l=!0,e.delimiter=h.DefaultDelimiter),_.meta.delimiter=e.delimiter),x=X(e),e.preview&&e.header&&x.preview++,t=k,n=new r(x),_=n.parse(t,S,z),Y(),se?{meta:{paused:!0}}:_||{meta:{paused:!1}}},this.paused=function(){return se},this.pause=function(){se=!0,n.abort(),t=F(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){g.streamer._halted?(se=!1,g.streamer.parseChunk(t,!0)):setTimeout(g.resume,3)},this.aborted=function(){return E},this.abort=function(){E=!0,n.abort(),_.meta.aborted=!0,F(e.complete)&&e.complete(_),t=""},this.guessLineEndings=function(U,x){U=U.substring(0,1048576),x=new RegExp(u(x)+"([^]*?)"+u(x),"gm");var z=(U=U.replace(x,"")).split("\r");if(U=1<(x=U.split("\n")).length&&x[0].length<z[0].length,1===z.length||U)return"\n";for(var q=0,W=0;W<z.length;W++)"\n"===z[W][0]&&q++;return q>=z.length/2?"\r\n":"\r"}}function u(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function r(e){var t=(e=e||{}).delimiter,n=e.newline,l=e.comments,a=e.step,f=e.preview,P=e.fastMode,D=null,v=!1,g=null==e.quoteChar?'"':e.quoteChar,A=g;if(void 0!==e.escapeChar&&(A=e.escapeChar),("string"!=typeof t||-1<h.BAD_DELIMITERS.indexOf(t))&&(t=","),l===t)throw new Error("Comment character same as delimiter");!0===l?l="#":("string"!=typeof l||-1<h.BAD_DELIMITERS.indexOf(l))&&(l=!1),"\n"!==n&&"\r"!==n&&"\r\n"!==n&&(n="\n");var y=0,se=!1;this.parse=function(E,j,_){if("string"!=typeof E)throw new Error("Input must be a string");var Q=E.length,Y=t.length,ne=n.length,le=l.length,k=F(a),S=[],z=[],x=[],U=y=0;if(!E)return ie();if(P||!1!==P&&-1===E.indexOf(g)){for(var q=E.split(n),W=0;W<q.length;W++){if(y+=(x=q[W]).length,W!==q.length-1)y+=n.length;else if(_)return ie();if(!l||x.substring(0,le)!==l){if(k){if(S=[],Z(x.split(t)),de(),se)return ie()}else Z(x.split(t));if(f&&f<=W)return S=S.slice(0,f),ie(!0)}}return ie()}for(var B=E.indexOf(t,y),R=E.indexOf(n,y),re=new RegExp(u(A)+u(g),"g"),$=E.indexOf(g,y);;)if(E[y]===g)for($=y,y++;;){if(-1===($=E.indexOf(g,$+1)))return _||z.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:S.length,index:y}),ce();if($===Q-1)return ce(E.substring(y,$).replace(re,g));if(g===A&&E[$+1]===A)$++;else if(g===A||0===$||E[$-1]!==A){-1!==B&&B<$+1&&(B=E.indexOf(t,$+1));var V=he(-1===(R=-1!==R&&R<$+1?E.indexOf(n,$+1):R)?B:Math.min(B,R));if(E.substr($+1+V,Y)===t){x.push(E.substring(y,$).replace(re,g)),E[y=$+1+V+Y]!==g&&($=E.indexOf(g,y)),B=E.indexOf(t,y),R=E.indexOf(n,y);break}if(V=he(R),E.substring($+1+V,$+1+V+ne)===n){if(x.push(E.substring(y,$).replace(re,g)),ge($+1+V+ne),B=E.indexOf(t,y),$=E.indexOf(g,y),k&&(de(),se))return ie();if(f&&S.length>=f)return ie(!0);break}z.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:S.length,index:y}),$++}}else if(l&&0===x.length&&E.substring(y,y+le)===l){if(-1===R)return ie();R=E.indexOf(n,y=R+ne),B=E.indexOf(t,y)}else if(-1!==B&&(B<R||-1===R))x.push(E.substring(y,B)),B=E.indexOf(t,y=B+Y);else{if(-1===R)break;if(x.push(E.substring(y,R)),ge(R+ne),k&&(de(),se))return ie();if(f&&S.length>=f)return ie(!0)}return ce();function Z(ee){S.push(ee),U=y}function he(ee){return-1!==ee&&(ee=E.substring($+1,ee))&&""===ee.trim()?ee.length:0}function ce(ee){return _||(void 0===ee&&(ee=E.substring(y)),x.push(ee),y=Q,Z(x),k&&de()),ie()}function ge(ee){y=ee,Z(x),x=[],R=E.indexOf(n,y)}function ie(ee){if(e.header&&!j&&S.length&&!v){var oe=S[0],ue=Object.create(null),fe=new Set(oe);let Ce=!1;for(let _e=0;_e<oe.length;_e++){let pe=oe[_e];if(ue[pe=F(e.transformHeader)?e.transformHeader(pe,_e):pe]){let me,ve=ue[pe];for(;me=pe+"_"+ve,ve++,fe.has(me););fe.add(me),oe[_e]=me,ue[pe]++,Ce=!0,(D=null===D?{}:D)[me]=pe}else ue[pe]=1,oe[_e]=pe;fe.add(pe)}Ce&&console.warn("Duplicate headers found and renamed."),v=!0}return{data:S,errors:z,meta:{delimiter:t,linebreak:n,aborted:se,truncated:!!ee,cursor:U+(j||0),renamedHeaders:D}}}function de(){a(ie()),S=[],z=[]}},this.abort=function(){se=!0},this.getCharIndex=function(){return y}}function b(e){var t=e.data,n=J[t.workerId],l=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var a={abort:function(){l=!0,G(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:O,resume:O};
1if(F(n.userStep)){for(var f=0;f<t.results.data.length&&(n.userStep({data:t.results.data[f],errors:t.results.errors,meta:t.results.meta},a),!l);f++);delete t.results}else F(n.userChunk)&&(n.userChunk(t.results,a,t.file),delete t.results)}t.finished&&!l&&G(t.workerId,t.results)}function G(e,t){var n=J[e];F(n.userComplete)&&n.userComplete(t),n.terminate(),delete J[e]}function O(){throw new Error("Not implemented.")}function X(e){if("object"!=typeof e||null===e)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=X(e[t]);return n}function s(e,t){return function(){e.apply(t,arguments)}}function F(e){return"function"==typeof e}return h.parse=function(e,t){var l,n=(t=t||{}).dynamicTyping||!1;if(F(n)&&(t.dynamicTypingFunction=n,n={}),t.dynamicTyping=n,t.transform=!!F(t.transform)&&t.transform,!t.worker||!h.WORKERS_SUPPORTED)return n=null,"string"==typeof e?(e=65279!==(l=e).charCodeAt(0)?l:l.slice(1),n=new(t.download?te:T)(t)):!0===e.readable&&F(e.read)&&F(e.on)?n=new p(t):(C.File&&e instanceof File||e instanceof Object)&&(n=new d(t)),n.stream(e);(n=(()=>{var l,a,f;return!!h.WORKERS_SUPPORTED&&(a=C.URL||C.webkitURL||null,f=L.toString(),l=h.BLOB_URL||(h.BLOB_URL=a.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",f,")();"],{type:"text/javascript"}))),(l=new C.Worker(l)).onmessage=b,l.id=c++,J[l.id]=l)})()).userStep=t.step,n.userChunk=t.chunk,n.userComplete=t.complete,n.userError=t.error,t.step=F(t.step),t.chunk=F(t.chunk),t.complete=F(t.complete),t.error=F(t.error),delete t.worker,n.postMessage({input:e,config:t,workerId:n.id})},h.unparse=function(e,t){var n=!1,l=!0,a=",",f="\r\n",P='"',D=P+P,v=!1,g=null,A=!1,y=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||h.BAD_DELIMITERS.filter(function(j){return-1!==t.delimiter.indexOf(j)}).length||(a=t.delimiter),"boolean"!=typeof t.quotes&&"function"!=typeof t.quotes&&!Array.isArray(t.quotes)||(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(v=t.skipEmptyLines),"string"==typeof t.newline&&(f=t.newline),"string"==typeof t.quoteChar&&(P=t.quoteChar),"boolean"==typeof t.header&&(l=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");g=t.columns}void 0!==t.escapeChar&&(D=t.escapeChar+P),t.escapeFormulae instanceof RegExp?A=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(A=/^[=+\-@\t\r].*$/)}})(),new RegExp(u(P),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return se(null,e,v);if("object"==typeof e[0])return se(g||Object.keys(e[0]),e,v)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||g),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),se(e.fields||[],e.data||[],v);throw new Error("Unable to serialize unrecognized input");
vendor: 3,029 bytes, line 1
1function se(j,_,Q){var Y="",ne=("string"==typeof j&&(j=JSON.parse(j)),"string"==typeof _&&(_=JSON.parse(_)),Array.isArray(j)&&0<j.length),le=!Array.isArray(_[0]);if(ne&&l){for(var k=0;k<j.length;k++)0<k&&(Y+=a),Y+=E(j[k],k);0<_.length&&(Y+=f)}for(var S=0;S<_.length;S++){var z=(ne?j:_[S]).length,x=!1,U=ne?0===Object.keys(_[S]).length:0===_[S].length;if(Q&&!ne&&(x="greedy"===Q?""===_[S].join("").trim():1===_[S].length&&0===_[S][0].length),"greedy"===Q&&ne){for(var q=[],W=0;W<z;W++)q.push(_[S][le?j[W]:W]);x=""===q.join("").trim()}if(!x){for(var R=0;R<z;R++)0<R&&!U&&(Y+=a),Y+=E(_[S][ne&&le?j[R]:R],R);S<_.length-1&&(!Q||0<z&&!U)&&(Y+=f)}}return Y}function E(j,_){var Q,Y;return null==j?"":j.constructor===Date?JSON.stringify(j).slice(1,25):(Y=!1,A&&"string"==typeof j&&A.test(j)&&(j="'"+j,Y=!0),Q=j.toString().replace(y,D),(Y=Y||!0===n||"function"==typeof n&&n(j,_)||Array.isArray(n)&&n[_]||((ne,le)=>{for(var k=0;k<le.length;k++)if(-1<ne.indexOf(le[k]))return!0;return!1})(Q,h.BAD_DELIMITERS)||-1<Q.indexOf(a)||" "===Q.charAt(0)||" "===Q.charAt(Q.length-1))?P+Q+P:Q)}},h.RECORD_SEP="\x1e",h.UNIT_SEP="\x1f",h.BYTE_ORDER_MARK="\ufeff",h.BAD_DELIMITERS=["\r","\n",'"',h.BYTE_ORDER_MARK],h.WORKERS_SUPPORTED=!m&&!!C.Worker,h.NODE_STREAM_INPUT=1,h.LocalChunkSize=10485760,h.RemoteChunkSize=5242880,h.DefaultDelimiter=",",h.Parser=r,h.ParserHandle=I,h.NetworkStreamer=te,h.FileStreamer=d,h.StringStreamer=T,h.ReadableStreamStreamer=p,C.jQuery&&((N=C.jQuery).fn.parse=function(e){var t=e.config||{},n=[];return this.each(function(f){if("INPUT"!==N(this).prop("tagName").toUpperCase()||"file"!==N(this).attr("type").toLowerCase()||!C.FileReader||!this.files||0===this.files.length)return!0;for(var P=0;P<this.files.length;P++)n.push({file:this.files[P],inputElem:this,instanceConfig:N.extend({},t)})}),l(),this;function l(){if(0===n.length)F(e.complete)&&e.complete();else{var P,D,v,g=n[0];if(F(e.before)){var A=e.before(g.file,g.inputElem);if("object"==typeof A){if("abort"===A.action)return P=g.file,D=g.inputElem,v=A.reason,void(F(e.error)&&e.error({name:"AbortError"},P,D,v));if("skip"===A.action)return void a();"object"==typeof A.config&&(g.instanceConfig=N.extend(g.instanceConfig,A.config))}else if("skip"===A)return void a()}var y=g.instanceConfig.complete;g.instanceConfig.complete=function(se){F(y)&&y(se,g.file,g.inputElem),a()},h.parse(g.file,g.instanceConfig)}}function a(){n.splice(0,1),l()}}),H&&(C.onmessage=function(e){e=e.data,void 0===h.WORKER_ID&&e&&(h.WORKER_ID=e.workerId),"string"==typeof e.input?C.postMessage({workerId:h.WORKER_ID,results:h.parse(e.input,e.config),finished:!0}):(C.File&&e.input instanceof File||e.input instanceof Object)&&(e=h.parse(e.input,e.config))&&C.postMessage({workerId:h.WORKER_ID,results:e,finished:!0})}),(te.prototype=Object.create(w.prototype)).constructor=te,(d.prototype=Object.create(w.prototype)).constructor=d,(T.prototype=Object.create(T.prototype)).constructor=T,(p.prototype=Object.create(w.prototype)).constructor=p,h},void 0!==(M=i.apply(K,[]))&&(ae.exports=M)}}]);

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.