import{lb as e,na as m,ra as o,xd as r}from"./chunk-GJDGQISV.js";var c=(()=>{class i{constructor(){this.quantity={minimumFraction:0,maximumFraction:0},this.amount={minimumFraction:0,maximumFraction:0};let n=localStorage.getItem("quantityFraction"),t=localStorage.getItem("amountFraction");if(n){let a=JSON.parse(n);this.setQuantityFraction(a.Minimum,a.Maximum)}if(t){let a=JSON.parse(t);this.setAmountFraction(a.Minimum,a.Maximum)}}setQuantityFraction(n,t){this.quantity.minimumFraction=n,this.quantity.maximumFraction=t}setAmountFraction(n,t){this.amount.minimumFraction=n,this.amount.maximumFraction=t}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),F=(()=>{class i{constructor(){this.fractionData=o(c),this.decimalPipe=o(r)}transform(n){let t="1."+this.fractionData.amount.minimumFraction+"-"+this.fractionData.amount.maximumFraction;return this.decimalPipe.transform(n,t)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275pipe=e({name:"amountFraction",type:i,pure:!0})}}return i})(),h=(()=>{class i{constructor(){this.fractionData=o(c),this.decimalPipe=o(r)}transform(n){let t="1."+this.fractionData.quantity.minimumFraction+"-"+this.fractionData.quantity.maximumFraction;return this.decimalPipe.transform(n,t)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275pipe=e({name:"quantityFraction",type:i,pure:!0})}}return i})();export{F as a,h as b};
