(()=>{function e(e,t){var a=[{label:e("comma - ,"),value:","},{label:e("semi-colon - ;"),value:";"},{label:e("tab - \\t"),value:"\t"}],l=[{label:e("point - ."),value:"."},{label:e("comma - ,"),value:","}],e=[{label:e('quotation mark - "'),value:'"'}],r=["utf-8"],i={textDelimiter:e[0].value,fieldSeparator:a[0].value,decimalSeparator:l[0].value,charset:r[0]},o={textDelimiter:"txtDelim",fieldSeparator:"fieldSep",decimalSeparator:"decimalSep",quoteStrings:"quoteStrings",addBom:"addByteOrderMarker"};return{configKey:"c8y.csvExporter.csvConfig",textDelimiter:e,fieldSeparators:a,decimalSeparators:l,charsets:r,defaultConfig:i,getCsv:function(e,a){return t.stringify(e,(e=>(e=_.defaults(e,i),_.mapKeys(e,function(e,a){return o[a]||a})))(a))}}}e.$inject=["gettext","CSV"],angular.module("c8y.ui").factory("csvExporterSvc",e)})();