import{Da as l,Ea as o,La as m,Xa as h,jd as x,tb as c,zb as d}from"./chunk-IYD54RT7.js";import{a as f}from"./chunk-RVFOIZLJ.js";var T=(()=>{let t=class t{transform(e,r=";"){return typeof e=="string"?e.split(r):[]}};t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=o({name:"splitString",type:t,pure:!0,standalone:!0});let n=t;return n})();var w=(()=>{let t=class t{transform(e){let r=Number(e);if(isNaN(r)||e==="")return"";let i=Math.floor(r/1e3/60/60),s=r-i*60*60*1e3,u=Math.floor(s/1e3/60);s=s-u*60*1e3;let y=Math.floor(s/1e3);return this.padZeros(i)+":"+this.padZeros(u)+":"+this.padZeros(y)}padZeros(e){let r=String(e);return r.length==1?"0"+r:r}};t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=o({name:"formatMilliseconds",type:t,pure:!0,standalone:!0});let n=t;return n})();var A=(()=>{let t=class t{transform(e){return e==null?[]:Object.values(e)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=o({name:"objectValues",type:t,pure:!0,standalone:!0});let n=t;return n})();var P=(()=>{let t=class t{constructor(e,r){this.el=e,this.renderer=r,this.searchTerms="",this.text="",this.classToApply=""}ngOnChanges(e){!this.classToApply&&this.text||this.text&&this.renderer.setProperty(this.el.nativeElement,"innerHTML",!this.searchTerms||!this.searchTerms.length?this.text:this.getFormattedText())}getFormattedText(){let e=new RegExp(`(${this.searchTerms})`,"i");return this.text?.toString().replace("<","&lt;").replace(">","&gt;").replace(e,`<span class="${this.classToApply}">$1</span>`)}};t.\u0275fac=function(r){return new(r||t)(c(h),c(d))},t.\u0275dir=l({type:t,selectors:[["","oseeHighlightFilteredText",""]],inputs:{searchTerms:"searchTerms",text:"text",classToApply:"classToApply"},standalone:!0,features:[m]});let n=t;return n})();function E(n){return n!=null}function Z(n,t){let p=x(()=>n()[t]),e=function(i){let s=f({},n());s[t]=i,n.set(s)},r=function(i){};return p.set=e,p.update=r,p}var L=(()=>{let t=class t{transform(e,...r){let i=0;if(r[0]!=null&&r[0]!=null&&r[0]>0?i=r[0]:i=10,e.length<i)return e;{let s=e.substring(0,i);return s=s+"...",s}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=o({name:"displayTruncatedStringWithFieldOverflow",type:t,pure:!0,standalone:!0});let n=t;return n})();var R=(()=>{let t=class t{constructor(){}transform(e){if(e==null)return null;if(typeof e!="string")throw new Error("Type of value is not a string");return e.charAt(0).toLowerCase()+e.slice(1)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=o({name:"oseeFirstLetterLower",type:t,pure:!0,standalone:!0});let n=t;return n})();export{P as a,E as b,Z as c,L as d,R as e,T as f,w as g,A as h};
