System.register(["./p-2172a2da.system.js","./p-bc864ab5.system.js","./p-f887c8bb.system.js"],(function(t){"use strict";var n,r;return{setters:[function(t){n=t.r},function(t){r=t.d},function(){}],execute:function(){var i=".sc-smoothly-display-amount-h{display:block}[hidden].sc-smoothly-display-amount-h{display:none}";var s=t("smoothly_display_amount",function(){function t(t){n(this,t)}t.prototype.format=function(t){var n=3;var i=2;var s=r.Currency.decimalDigits(this.currency)?r.Currency.decimalDigits(this.currency):i;var e=t.length;var a;var o=t;if(o=="")o="0";if(t.includes(".")){a=t.indexOf(".");if(a==0){o="0"+o;a++}e=a;o=o.padEnd(a+s+1,"0");o=o.substring(0,a+s+1)}else{o=o+".";a=o.length-1;o=o.padEnd(a+s+1,"0")}var c=Math.ceil(e/n)-1;if(c>0){for(var u=0;u<c;u++){var y=e-(c-u)*n;o=o.slice(0,y)+" "+o.slice(y,o.length);e++}}return o};t.prototype.render=function(){return[typeof this.amount=="number"?this.format(this.amount.toString()):this.format(this.amount)," ",this.currency]};return t}());s.style=i}}}));