1import{e as n,n as f}from"./chunk-UH2IOOND.js";import{d as u}from"./chunk-SX6ERPNW.js";import{sa as s}from"./chunk-U7XSJIRQ.js";import{ja as i,zb as o}from"./chunk-LTJHT5NU.js";var p=class m{#r=i(f);#e=i(s);#t=i(u);transform(r,t=this.#r.temp()){if(r==null)return Number.NaN;if(t===n.Fahrenheit)return Number(r);let e=this.#e.transform((Number(r)-32)*5/9,"1.1-1");return e||this.#t.error(`[TEMP_PIPE] Received ${e} value when transforming temp to celsius`,r),Number(e?.replaceAll(",","")??r)}transformToFixed(r,t=this.#r.temp()){if(t===n.Fahrenheit)return Number(r).toFixed(1);let e=this.#e.transform((Number(r)-32)*5/9,"1.1-1");return e||this.#t.error(`[TEMP_PIPE] Received ${e} value when transforming temp to celsius`,r),Number(e??r).toFixed(1)}transformCelsiusToFahrenheit(r){return Math.round(Number(r)*9/5+32).toString()}static \u0275fac=function(t){return new(t||m)};static \u0275pipe=o({name:"temp",type:m,pure:!0})};export{p as a};
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.