function e(e){e=(window.smb2bAdmin&&window.smb2bAdmin.i18n||{})[e]||e;let t=Array.prototype.slice.call(arguments,1);if(t.length===0)return e;let n=/%(\d+\$)?[sd]/g,r=0;return e=e.replace(n,(e,n)=>{if(n){let r=parseInt(n,10)-1;return r<t.length?t[r]:e}return r<t.length?t[r++]:e}),e}export{e as t};