moblor-vue 0.1.76 → 0.1.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/charts.js +1 -1
- package/dist/moblor-components.esm.js +57 -12
- package/dist/moblor-components.js +1 -1
- package/dist/moblor-vue.esm.js +57 -12
- package/dist/moblor-vue.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("d3-transition"),require("vue-property-decorator"),require("d3-scale"),require("d3-axis"),require("d3-selection"),require("d3-format"),require("d3-array"),require("d3-shape"),require("d3-ease"),require("d3-interpolate"),require("uuid"),require("vue-virtual-scroll-list")):"function"==typeof define&&define.amd?define(["d3-transition","vue-property-decorator","d3-scale","d3-axis","d3-selection","d3-format","d3-array","d3-shape","d3-ease","d3-interpolate","uuid","vue-virtual-scroll-list"],e):(t=t||self).MoblorComponents=e(t.d3Transition,t.vuePropertyDecorator,t.d3Scale,t.d3Axis,t.d3Selection,t.d3Format,t.d3Array,t.d3Shape,t.d3Ease,t.d3Interpolate,t.uuid,t.VirtualList)}(this,function(W,t,i,l,s,V,c,d,N,r,R,e){e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var X=function(t,e){return(X=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};function __extends(t,e){function __(){this.constructor=t}X(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}var D=function(){return(D=Object.assign||function __assign(t){for(var e,n=arguments,a=1,o=arguments.length;a<o;a++)for(var r in e=n[a])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function __decorate(t,e,n,a){var o,r=arguments.length,i=r<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,a);else for(var l=t.length-1;0<=l;l--)(o=t[l])&&(i=(r<3?o(i):3<r?o(e,n,i):o(e,n))||i);return 3<r&&i&&Object.defineProperty(e,n,i),i}function __metadata(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function __spreadArrays(){for(var t=arguments,e=0,n=0,a=arguments.length;n<a;n++)e+=t[n].length;for(var o=Array(e),r=0,n=0;n<a;n++)for(var i=arguments[n],l=0,s=i.length;l<s;l++,r++)o[r]=i[l];return o}__extends(ChartMixins,n=t.Vue),ChartMixins.prototype.getWidth=function(){var t=window.getComputedStyle(this.$el,null).width;return t?parseFloat(t.substring(0,t.length-2)):0},ChartMixins.prototype.beforeRedraw=function(){var t=this.$el.querySelector("svg");t&&t.remove()};var n,a=__decorate([t.Component],ChartMixins);function ChartMixins(){var t=null!==n&&n.apply(this,arguments)||this;return t.CHART_LIMIT_TIPS_TEXT="Only partial data is shown. \n Open the source report to view the complete dataset.",t}ChartService.formatValue=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=2);var a,o,r,i,l=t.toString();return Number.isNaN(Number(t))||(a=(t=ChartService.preciseDecimal(Number(t),n))/Math.pow(1e3,4),o=t/Math.pow(1e3,3),r=t/Math.pow(1e3,2),i=t/Math.pow(1e3,1),l=(l=1<=a?ChartService.preciseDecimal(a,n)+"T":1<=o?ChartService.preciseDecimal(o,n)+"B":1<=r?ChartService.preciseDecimal(r,n)+"M":1<=i?ChartService.preciseDecimal(i,n)+"K":t.toString()).replace(/\d+/,function(t){return t.replace(/(\d)(?=(\d{3})+$)/g,"$1,")})),e?e+" "+l:l},ChartService.preciseDecimal=function(t,e){void 0===e&&(e=2);var n=t.toString().indexOf(".");return!(n<=0)&&e<t.toString().substring(n+1,t.toString().length).length?Number(t.toFixed(e)):t},ChartService.isChineseChar=function(t){t=t.charCodeAt(0);return 19968<=t&&t<=40869||12288<=t&&t<=12351||65280<=t&&t<=65519},ChartService.isSpecialChar=function(t){return"@#$%&*".includes(t)},ChartService.formatDomainValue=function(t,e,n){var a=t.toString();if(0===a.trim().length)return"-";for(var o=n?6:8,r=Math.max(0,e-2*o),i=0,l=0,s=0;s<a.length;s+=1){var c=a[s],d=this.isChineseChar(c)?1.5:1;if(r<(i+=(this.isSpecialChar(c)?1.3:d)*o))break;l+=1}return l<a.length?a.substring(0,Math.max(0,l-1))+"...":a},ChartService.getPercentage=function(t,e,n){return ChartService.preciseDecimal((t=void 0===t?0:t)/(e=void 0===e?0:e)*100,n=void 0===n?0:n)},ChartService.getColor=function(t,e){e=e||["#5bdcef","#ffe451","#fc7a7a","#8b4fdc","#4653ff","#153e75","#3adfae","#f68c5d","#6663f0","#fe70a2","#438aff","#5ed281","#60afff","#4e4c97","#b6d252","#5acec7","#ff7575","#ffda2b","#3cdbc6","#3f5cba","#383b6b","#fc7a7a","#6663f0","#ffcc51","#56c597","#f678aa","#8ffabf","#5aabff","#4ecaa5","#686edc"];return e[t%e.length]},ChartService.isLightColor=function(t){t=t.replace(/^#/,"");if(6!==t.length)throw new Error("请输入有效的6位十六进制颜色(如 #FF0000)");return 128<(299*parseInt(t.substring(0,2),16)+587*parseInt(t.substring(2,4),16)+114*parseInt(t.substring(4,6),16))/1e3},ChartService.getMaxValue=function(t,e){void 0===e&&(e=0);function md(t){t.pieces&&0<t.pieces.length?t.pieces.forEach(function(t){md(t)}):n.push(t.values[e])}var n=[];return t.forEach(function(t){md(t)}),c.max(n,function(t){return t})},ChartService.getMinValue=function(t,e){void 0===e&&(e=0);function ud(t){t.pieces&&0<t.pieces.length?t.pieces.forEach(function(t){ud(t)}):n.push(t.values[e])}var n=[];return t.forEach(function(t){ud(t)}),c.min(n,function(t){return t})},ChartService.defineAreaGradientsForCover=function(t,e,n){t=t.append("defs").append("linearGradient").attr("id","MoLineAreaGradientCover"+e).attr("x1","0").attr("y1","0").attr("x2","0").attr("y2","0").attr("y1","100%");t.append("stop").attr("offset","0%").attr("stop-color","white").attr("stop-opacity",n?.4:1),t.append("stop").attr("offset","100%").attr("stop-color","white").attr("stop-opacity",n?1:.4)},ChartService.getInnerText=function(t){var e=(t=void 0===t?{}:t).showValue,n=t.innerValue,a=t.value,a=void 0===a?"":a,o=t.showPercentage,r=t.innerPercentage,i=t.total,l=t.decimal,s=t.symbol,c=t.type,c=void 0===c?"":c,t=t.percentDecimal,t=void 0===t?2:t,d=s||"",i=ChartService.getPercentage(Number(a),i,t);return 5<i?(e&&n&&(d+=ChartService.formatValue(a,s,l)),e&&o&&(d+="pie"===c?"\n(":" ("),o&&r&&(d+=i+"%"),e&&o&&(d+=")"),d):""},ChartService.getBottomText=function(t){var e=(t=void 0===t?{}:t).showValue,n=t.innerValue,a=t.value,a=void 0===a?"":a,o=t.showPercentage,r=t.innerPercentage,i=t.total,l=t.decimal,t=t.symbol,s=t||"";return e&&!n&&(s+=ChartService.formatValue(a,t,l)),o&&!r&&(""!==s&&(s+=" : "),s+=ChartService.getPercentage(Number(a),i,l)+"%"),s},ChartService.combineSmallGroups=function(t,e,n){void 0===e&&(e=.03),void 0===n&&(n="Others");var a,o,r,i=t.reduce(function(t,e){return t+e.values[0]},0);return 0===i?[]:(a=[],o=0,r=[],t.forEach(function(t){t.values[0]/i<e?(o+=t.values[0],t.pieces&&(r=r.concat(t.pieces))):a.push(t)}),0<o&&(t=t.find(function(t){return t.label!==n})||t[0],a.push(D(D({},t),{label:n,values:[o],pieces:0<r.length?r:void 0}))),a.filter(function(t){return 0<t.values[0]}))};var F=ChartService;function ChartService(){}__extends(MoBarChart,o=t.Mixins(a)),Object.defineProperty(MoBarChart.prototype,"actualMargin",{get:function(){var t=this.margin,e=t.top,n=t.right,a=t.bottom,t=t.left;return 0<this.groupings.length&&"vertical"===this.xAxisMode&&(a=125),0<this.aggregates.length&&(t=70),this.hasSecondAxis&&(n=Math.max(n,65)),{top:e,right:n="grouped"!==this.groupType&&"stacked"!==this.groupType&&"stacked100"!==this.groupType?0:n,bottom:a,left:t}},enumerable:!1,configurable:!0}),MoBarChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},MoBarChart.prototype.mounted=function(){this.redraw()},MoBarChart.prototype.redraw=function(){this.init(),this.renderAxis(),this.renderAxisLabel(),this.renderSpaceLine();var t=JSON.parse(JSON.stringify(this.displayData));"stacked"!==this.groupType&&"stacked100"!==this.groupType||(t=this.refactorStackedData()),this.renderBar(t),this.hasLineChart&&this.renderLine(t),this.labelGroup.selectAll("*").remove(),this.labelGroup.attr("transform","translate(0, 0)"),(0<this.categories.length||!this.hasLineChart&&1<this.aggregates.length)&&this.renderLabel()},MoBarChart.prototype.init=function(){var e=this,t=(this.displayData=this.data.slice(0,this.maxDisplayCount),0),t="grouped"===this.groupType&&0<this.categories.length?F.getMaxValue(this.displayData):c.max(this.displayData,function(t){return c.max(t.values)})||0,n=this.$el.querySelector(".main-chart"),a=this.$el.querySelector(".chart-legends"),n=(s.select(n).selectAll("*").remove(),s.select(a).selectAll("*").remove(),this.svgWidth=n&&0<n.clientWidth?n.clientWidth:300,this.svgHeight=n&&0<n.clientHeight?n.clientHeight:300,this.legendSvgWidth=a&&0<a.clientWidth?a.clientWidth:150,this.legendSvgHeight=a&&0<a.clientHeight?a.clientHeight:this.svgHeight,this.width=this.svgWidth-this.actualMargin.left-this.actualMargin.right,this.height=this.svgHeight-this.actualMargin.top-this.actualMargin.bottom,s.select(n).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight)),a=s.select(a).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),a=(this.svg=n.append("g").attr("class","chart-group").attr("transform","translate("+this.actualMargin.left+", "+this.actualMargin.top+")"),this.labelGroup=a.append("g").attr("class","label-group"),this.xAxisScale=i.scaleBand().domain(this.displayData.map(function(t){return t.label})).rangeRound([0,this.width]).padding(.2),this.yAxisScale=i.scaleLinear().domain([0,t]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).ticks(6).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}),this.groupType&&"none"!==this.groupType&&(this.categories=[],this.displayData.forEach(function(t){t.pieces&&t.pieces.length>e.categories.length&&(e.categories=t.pieces.map(function(t){return t.label}))})),0<this.categories.length&&(this.xAxisCategories=i.scaleBand().domain(this.categories).range([0,this.xAxisScale.bandwidth()]).padding(.2).round(!1)),1<this.aggregates.length&&(n=this.aggregates.map(function(t){return t.label}),this.xAxisAggregates=i.scaleBand().domain(n).range([0,this.xAxisScale.bandwidth()]).padding(.2).round(!1)),0),t=0,n=0,o=0,t="grouped"===this.groupType?(a=F.getMaxValue(this.displayData)||0,F.getMinValue(this.displayData)||0):(a=c.max(this.displayData,function(t){return c.max(t.values)})||0,c.min(this.displayData,function(t){return c.min(t.values)})||0),r=(1<this.aggregates.length&&(n=c.max(this.displayData,function(t){return c.max(t.values)})||0,o=c.min(this.displayData,function(t){return c.min(t.values)})||0),a+.1*Math.abs(a-t)),a=t<0?t-.1*Math.abs(a-t):0;this.xAxis=l.axisBottom(this.xAxisScale).tickSize(0).tickFormat(function(t){return F.formatDomainValue(t,e.actualMargin.bottom-40,!0)}),"stacked100"===this.groupType&&0<this.categories.length?(this.yAxisScale=i.scaleLinear().range([this.height,0]).domain([0,1]),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickFormat(function(t){return V.format(".0%")(Number(t))})):this.hasLineChart?this.hasSecondAxis?(this.yAxisScale=i.scaleLinear().domain([a,r]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}),this.secondYAxisScale=i.scaleLinear().domain([o<0?o:0,n]).range([this.height,0]).nice(),this.secondYAxis=l.axisRight(this.secondYAxisScale).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}),this.line=d.line().curve(d.curveLinear).x(function(t){return e.xAxisScale(t.label)+e.xAxisScale.bandwidth()/2}).y(function(t){return e.secondYAxisScale(e.lineValue(t))})):(this.yAxisScale=i.scaleLinear().domain([a,r]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}),this.line=d.line().curve(d.curveLinear).x(function(t){return e.xAxisScale(t.label)+e.xAxisScale.bandwidth()/2}).y(function(t){return e.yAxisScale(e.lineValue(t))})):(this.yAxisScale=i.scaleLinear().domain([a,r]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}))},MoBarChart.prototype.lineValue=function(t){return t.values[this.secondYIndex]},MoBarChart.prototype.renderAxis=function(){var t=this.svg.append("g").attr("class","x mo-axis").attr("transform","translate(0, "+this.height+")").call(this.xAxis);t.selectAll("text").style("text-anchor","middle").attr("class","mo-axis-text").attr("x",0).attr("y",10),"vertical"===this.xAxisMode&&t.selectAll("text").style("text-anchor","end").attr("class","mo-axis-text").attr("y",10).attr("x",5).attr("transform","rotate(-70, 0, 15)"),this.svg.append("g").attr("class","y mo-axis").call(this.yAxis).selectAll("text").attr("class","mo-axis-text").attr("y",0),this.secondYAxis&&this.svg.append("g").attr("class","y mo-axis").attr("transform","translate("+this.svgWidth+", 0)").call(this.secondYAxis).selectAll("text").attr("class","mo-axis-text").attr("y",0)},MoBarChart.prototype.renderAxisLabel=function(){var t,n=this;F.defineAreaGradientsForCover(this.svg,0,!1),this.svg.append("rect").attr("x",-10).attr("y",this.svgHeight).attr("class","mo-cover").attr("height",10).style("fill","none"),this.svg.append("rect").attr("x",-10).attr("y",this.svgHeight).attr("class","mo-cover").attr("height",this.svgHeight).style("fill","none"),this.svg.append("text").attr("class","mo-axis-label").attr("x",this.width/2).attr("y",this.svgHeight-45).text((null==(t=this.groupings[0])?void 0:t.label)||""),F.defineAreaGradientsForCover(this.svg,1,!0),this.svg.append("rect").attr("transform","rotate(-90)").attr("x",-10).attr("y",-20).attr("width",this.svgHeight).attr("height",10).style("fill","none"),this.svg.append("rect").attr("transform","rotate(-90)").attr("x",-10).attr("y",-10).attr("width",this.svgHeight).attr("height",30).style("fill","none"),this.svg.append("text").attr("class","mo-axis-label").attr("transform","rotate(-90)").attr("y",-this.margin.left).attr("x",-this.height/2).attr("dy","1em").style("text-anchor","middle").text(0<this.aggregates.length?this.aggregates.map(function(t,e){return n.hasSecondAxis&&e===n.secondYIndex?"":(e="currency"===t.dataType?null==(e=null==(e=n.displayData[0])?void 0:e.reportMetadata)?void 0:e.currency:"")?F.formatDomainValue("("+e+") "+t.label,n.svgWidth,!1):F.formatDomainValue(t.label,n.svgWidth,!1)}).filter(Boolean).join(", "):""),this.hasSecondAxis&&this.svg.append("text").attr("class","mo-axis-label").attr("transform","rotate(-90)").attr("y",this.svgWidth+20).attr("x",-this.height/2).attr("dy","1em").style("text-anchor","middle").text(function(){var t,e=n.aggregates[n.secondYIndex];return e?(t=(null==(t=null==(t=n.displayData[0])?void 0:t.reportMetadata)?void 0:t.currency)||"")?e.label+" ("+t+")":e.label:""})},MoBarChart.prototype.renderSpaceLine=function(){this.svg.selectAll(".mo-space-line").data(this.yAxisScale.ticks()).enter().append("line").attr("class","mo-space-line").attr("x1",3).attr("x2",this.width).attr("y1",this.yAxisScale).attr("y2",this.yAxisScale)},MoBarChart.prototype.refactorStackedData=function(){var l=this,t=JSON.parse(JSON.stringify(this.displayData));return t.forEach(function(t){for(var e=t.pieces,r=void 0===e?[]:e,i=t.values,n=r.length;0<=n;--n)r.forEach(function(t,e){var n,a,o;t.y=(n=r,e=e,a=i[0],e===n.length-1?"stacked100"===l.groupType?l.yAxisScale(n[e].values[0]/a):l.yAxisScale(n[e].values[0]):(o=n[e+1].y||l.height,"stacked100"===l.groupType?o-l.height+l.yAxisScale(n[e].values[0]/a):o-l.height+l.yAxisScale(n[e].values[0]))),t.percentage=t.values[0]/i[0]})}),t},MoBarChart.prototype.renderBar=function(t){var e=this,t=t.slice(0,this.maxDisplayCount);0<this.categories.length?"grouped"===this.groupType?this.renderGroupedBar(t):"stacked"!==this.groupType&&"stacked100"!==this.groupType||(this.renderStackedBar(t),this.renderData(t)):!this.hasLineChart&&1<this.aggregates.length?this.renderGroupedAggregatesBar(t):(this.svg.selectAll(".bar").data(t).enter().append("rect").style("fill",F.getColor(0,this.colors)).attr("x",function(t){return e.xAxisScale(t.label)}).attr("y",this.yAxisScale(0)).attr("width",this.xAxisScale.bandwidth()).attr("height",0).transition().duration(1e3).attr("y",function(t){t=t.values[0];return 0<=t?e.yAxisScale(t):e.yAxisScale(0)}).attr("height",function(t){t=t.values[0];return Math.abs(e.yAxisScale(t)-e.yAxisScale(0))}),this.renderData(t))},MoBarChart.prototype.renderGroupedAggregatesBar=function(t){var a=this,t=this.svg.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate("+a.xAxisScale(t.label)+", 0)"});t.selectAll("rect").data(function(t){return t.values}).enter().append("rect").attr("class","rect").attr("x",function(t,e){return a.xAxisAggregates(a.aggregates[e].label)}).attr("y",this.yAxisScale(0)).attr("height",0).attr("width",this.xAxisAggregates.bandwidth()).style("fill",function(t,e){return F.getColor(e,a.colors)}).transition().duration(1e3).attr("y",function(t){return 0<=t?a.yAxisScale(t):a.yAxisScale(0)}).attr("height",function(t){return Math.abs(a.yAxisScale(t)-a.yAxisScale(0))}),t.selectAll(".mo-data-text").data(function(t){return t.values}).enter().append("text").attr("class","mo-data-text").attr("x",function(t,e){return a.xAxisAggregates(a.aggregates[e].label)+a.xAxisAggregates.bandwidth()/2}).attr("y",this.yAxisScale(0)).attr("text-anchor","middle").style("fill",this.valueColor).text(function(t){return 0!==t?F.formatValue(t,"",a.decimal):""}).transition().duration(1e3).attr("y",function(t){var e=a.yAxisScale(t);return 0<=t?e-5:e+20}).attr("transform",function(t,e){var e=a.xAxisAggregates(a.aggregates[e].label)+a.xAxisAggregates.bandwidth()/2,e=0<=t?e-6:e+5,n=a.yAxisScale(t);return"rotate(-90, "+e+", "+(0<=t?n-15:n+20)+")"})},MoBarChart.prototype.renderGroupedBar=function(t){var a=this,t=this.svg.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate("+a.xAxisScale(t.label)+", 0)"});t.selectAll("rect").data(function(t){return t.pieces}).enter().append("rect").attr("class","rect").attr("x",function(t){return a.xAxisCategories(t.label)}).attr("y",this.yAxisScale(0)).attr("width",this.xAxisCategories.bandwidth()).attr("height",0).style("fill",function(t,e){return F.getColor(e,a.colors)}).transition().duration(1e3).attr("y",function(t){t=t.values[0];return 0<=t?a.yAxisScale(t):a.yAxisScale(0)}).attr("height",function(t){t=t.values[0];return Math.abs(a.yAxisScale(t)-a.yAxisScale(0))}),t.selectAll(".mo-data-text").data(function(t){return t.pieces||[]}).enter().append("text").attr("class","mo-data-text").attr("x",function(t){return a.xAxisCategories(t.label)+a.xAxisCategories.bandwidth()/2}).attr("y",this.yAxisScale(0)).attr("text-anchor","middle").style("fill",this.valueColor).text(function(t){return 0!==t.values[0]?F.formatValue(t.values[0],"",a.decimal):""}).transition().duration(1e3).attr("y",function(t){var t=t.values[0],e=a.yAxisScale(t);return 0<=t?e-5:e+20}).attr("transform",function(t){var e=a.xAxisCategories(t.label)+a.xAxisCategories.bandwidth()/2,t=t.values[0],e=0<=t?e-6:e+5,n=a.yAxisScale(t);return"rotate(-90, "+e+", "+(0<=t?n-15:n+20)+")"})},MoBarChart.prototype.renderStackedBar=function(t){var n=this,t=t.slice(0,this.maxDisplayCount);this.svg.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate("+n.xAxisScale(t.label)+", 0)"}).selectAll("rect").data(function(t){return t.pieces}).enter().append("rect").attr("class","rect").attr("y",this.yAxisScale(0)).attr("width",this.xAxisScale.bandwidth()).attr("height",0).style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(1e3).attr("y",function(t){return t.y}).attr("height",function(t){return"stacked100"===n.groupType?n.height-n.yAxisScale(t.percentage):(t=t.values[0],Math.abs(n.yAxisScale(t)-n.yAxisScale(0)))})},MoBarChart.prototype.renderLine=function(t){var e=this,n=F.getColor(this.categories.length||1,this.colors),a=this.svg.append("path").datum(t).attr("d",this.line).attr("class","mo-data-line").style("stroke",n),o=a.node().getTotalLength(),r=(a.attr("stroke-dasharray",o+" "+o).attr("stroke-dashoffset",o).transition().duration(1e3).ease(N.easeLinear).attr("stroke-dashoffset",0),this.secondYAxisScale||this.yAxisScale);this.svg.selectAll(".mo-data-point").data(t).enter().append("circle").attr("cx",function(t){return e.xAxisScale(t.label)+e.xAxisScale.bandwidth()/2}).attr("cy",function(t){return r(e.lineValue(t))}).attr("r",3).attr("class","mo-line-point").style("fill",n)},MoBarChart.prototype.renderData=function(t){var a=this;this.svg.selectAll(".bar").data(t).enter().append("text").attr("class","mo-data-text").attr("x",function(t){return a.xAxisScale(t.label)+a.xAxisScale.bandwidth()/2}).attr("y",this.yAxisScale(0)).style("fill","#5bdcef").attr("text-anchor","middle").text(function(t){return 0!==t.values[0]?F.formatValue(t.values[0],"",a.decimal):""}).transition().duration(1e3).attr("y",function(t){var t=t.values[0],e=a.yAxisScale(t);return 0<=t?e-5:e+20}).attr("transform",function(t){var e=a.xAxisScale(t.label)+a.xAxisScale.bandwidth()/2,t=t.values[0],e=0<=t?e-6:e+5,n=a.yAxisScale(t);return"rotate(-90, "+e+", "+(0<=t?n-15:n+20)+")"})},MoBarChart.prototype.renderLabel=function(){var n=this,a=0,a=(null!=(t=this.groupings[1])&&t.label?this.labelGroup.append("text").attr("x",10).attr("y",this.TITLE_HEIGHT).attr("class","mo-label-title").text(F.formatDomainValue(this.groupings[1].label,this.legendSvgWidth,!1)):this.labelGroup.append("text").attr("x",10).attr("y",this.TITLE_HEIGHT).attr("class","mo-label-title").text("Measure"),this.TITLE_HEIGHT+15),t=[],t=(0<this.categories.length?t=this.categories:!this.hasLineChart&&1<this.aggregates.length&&(t=this.aggregates),this.labelGroup.selectAll(".mo-legend").data(t).enter().append("g").attr("class","mo-legend"));t.append("rect").attr("width",15).attr("height",15).attr("x",10).attr("y",function(t,e){return a+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),0<this.categories.length?t.append("text").attr("x",35).attr("y",function(t,e){return a+12+25*e}).attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t,n.legendSvgWidth-35,!1)}):!this.hasLineChart&&1<this.aggregates.length&&t.append("text").attr("x",35).attr("y",function(t,e){return a+12+25*e}).attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t.label,n.legendSvgWidth,!1)})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],MoBarChart.prototype,"data",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],MoBarChart.prototype,"groupings",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],MoBarChart.prototype,"aggregates",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],MoBarChart.prototype,"hasSecondAxis",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],MoBarChart.prototype,"hasLineChart",void 0),__decorate([t.Prop({type:Number,default:function(){return 1}}),__metadata("design:type",Number)],MoBarChart.prototype,"secondYIndex",void 0),__decorate([t.Prop({type:String,default:function(){return"horizontal"}}),__metadata("design:type",String)],MoBarChart.prototype,"xAxisMode",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],MoBarChart.prototype,"colors",void 0),__decorate([t.Prop({type:Object,default:function(){return{top:40,right:20,bottom:20,left:70}}}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartMargin&&ChartMargin)?p:Object)],MoBarChart.prototype,"margin",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],MoBarChart.prototype,"decimal",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],MoBarChart.prototype,"labelColor",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],MoBarChart.prototype,"groupType",void 0),__decorate([t.Prop({type:String,default:function(){return"#5bdcef"}}),__metadata("design:type",String)],MoBarChart.prototype,"valueColor",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],MoBarChart.prototype,"onDataChanged",null);var o,p=__decorate([t.Component({})],MoBarChart);function MoBarChart(){var t=null!==o&&o.apply(this,arguments)||this;return t.TITLE_HEIGHT=20,t.MIN_WIDTH=20,t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.width=0,t.height=0,t.svg=null,t.xAxisScale=null,t.yAxisScale=null,t.secondYAxisScale=null,t.xAxis=null,t.yAxis=null,t.secondYAxis=null,t.line=null,t.xAxisCategories=null,t.xAxisAggregates=null,t.categories=[],t.additionalHeight=0,t.labelGroup=null,t.displayData=[],t.maxDisplayCount=20,t}function normalizeComponent(t,e,n,a,o,r,i,l,s,c){"boolean"!=typeof i&&(s=l,l=i,i=!1);var d,p,h="function"==typeof n?n.options:n;return t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o)&&(h.functional=!0),a&&(h._scopeId=a),r?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,s(t)),t&&t._registeredComponents&&t._registeredComponents.add(r)},h._ssrRegister=d):e&&(d=i?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,l(t))}),d&&(h.functional?(p=h.render,h.render=function renderWithStyleInjection(t,e){return d.call(e),p(t,e)}):(t=h.beforeCreate,h.beforeCreate=t?[].concat(t,d):[d])),n}var h,Y="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function createInjector(t){return function addStyle(t,e){var n=Y?e.media||"default":t,n=U[n]||(U[n]={ids:new Set,styles:[]});{var a;n.ids.has(t)||(n.ids.add(t),t=e.source,e.map&&(t=(t+="\n/*# sourceURL="+e.map.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),n.element||(n.element=document.createElement("style"),n.element.type="text/css",e.media&&n.element.setAttribute("media",e.media),(h=void 0===h?document.head||document.getElementsByTagName("head")[0]:h).appendChild(n.element)),"styleSheet"in n.element?(n.styles.push(t),n.element.styleSheet.cssText=n.styles.filter(Boolean).join("\n")):(e=n.ids.size-1,t=document.createTextNode(t),(a=n.element.childNodes)[e]&&n.element.removeChild(a[e]),a.length?n.element.insertBefore(t,a[e]):n.element.appendChild(t)))}}}var U={};function x(){var t=this,e=t.$createElement,e=t._self._c||e;return"grouped"===t.groupType||"stacked"===t.groupType||"stacked100"===t.groupType||!t.hasLineChart&&1<t.aggregates.length?e("div",{staticClass:"chart-container chart-having-tips"},[t._m(0),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()]):e("div",{staticClass:"chart-container chart-having-tips"},[e("div",{staticClass:"main-chart"}),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()])}function z(t){t&&t("data-v-04b7eb40_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}x._withStripped=!0;var m,J=normalizeComponent({render:x,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-and-legends"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},z,p,void 0,!1,void 0,!1,createInjector,void 0,void 0);function MoBarChartHorizontal(){var t=null!==m&&m.apply(this,arguments)||this;return t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.width=0,t.height=0,t.mainSvg=null,t.legendsSvg=null,t.xAxisScale=null,t.yAxisScale=null,t.xAxis=null,t.yAxis=null,t.yAxisCategories=null,t.yAxisAggregates=null,t.categories=[],t.mainChart=null,t.labelGroup=null,t.additionalHeight=0,t.barOffsetY=7,t.displayData=[],t.maxDisplayCount=20,t}__extends(MoBarChartHorizontal,m=t.Mixins(a)),Object.defineProperty(MoBarChartHorizontal.prototype,"actualMargin",{get:function(){var t=this.margin,e=t.right,t=t.left;return 0<this.groupings.length?{top:70,right:e,bottom:40,left:t}:this.margin},enumerable:!1,configurable:!0}),MoBarChartHorizontal.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},MoBarChartHorizontal.prototype.mounted=function(){this.redraw()},MoBarChartHorizontal.prototype.redraw=function(){this.init(),this.renderAxis(),this.renderAxisLabel(),this.renderSpaceLine();var t=JSON.parse(JSON.stringify(this.displayData));"stacked"!==this.groupType&&"stacked100"!==this.groupType||(t=this.refactorStackedData()),this.renderBar(t),0===this.categories.length&&this.aggregates.length<=1&&this.renderData(t),this.labelGroup.selectAll("*").remove(),this.labelGroup.attr("transform","translate(0, 0)"),0<this.categories.length&&this.renderLabel()},MoBarChartHorizontal.prototype.init=function(){var t,e=this,n=(this.categories=[],this.displayData=this.data.slice(0,this.maxDisplayCount),this.groupType&&"none"!==this.groupType&&this.displayData.forEach(function(t){t.pieces&&t.pieces.length>e.categories.length&&(e.categories=t.pieces.map(function(t){return t.label}))}),t="grouped"===this.groupType&&0<this.categories.length?F.getMaxValue(this.displayData):c.max(this.displayData,function(t){return c.max(t.values)}),((null==(n=this.aggregates)?void 0:n[0])||{}).unitSymbol),n=5*F.formatValue(t||0,n,this.decimal).length+10,n=(this.actualMargin.right=Math.max(this.margin.right,n),this.$el.querySelector(".main-chart")),a=this.$el.querySelector(".chart-legends");s.select(n).selectAll("*").remove(),s.select(a).selectAll("*").remove(),this.svgWidth=n&&0<n.clientWidth?n.clientWidth:300,this.svgHeight=n&&0<n.clientHeight?n.clientHeight:300,this.legendSvgWidth=a&&0<a.clientWidth?a.clientWidth:150,this.legendSvgHeight=a&&0<a.clientHeight?a.clientHeight:this.svgHeight,this.width=this.svgWidth-this.actualMargin.left-this.actualMargin.right,this.height=this.svgHeight-this.actualMargin.top-this.actualMargin.bottom,this.mainSvg=s.select(n).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight),this.legendsSvg=s.select(a).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),"stacked100"===this.groupType&&0<this.categories.length?(this.xAxisScale=i.scaleLinear().domain([0,1]).range([0,this.width]).nice(),this.xAxis=l.axisTop(this.xAxisScale).ticks(5).tickSize(0).tickFormat(function(t){return V.format(".0%")(Number(t))})):(this.xAxisScale=i.scaleLinear().domain([0,t||10]).range([0,this.width]).nice(),this.xAxis=l.axisTop(this.xAxisScale).ticks(5).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)})),this.yAxisScale=i.scaleBand().domain(this.displayData.map(function(t){return t.label})).range([0,this.height]).padding(.2),0<this.categories.length&&(this.yAxisCategories=i.scaleBand().domain(this.categories).range([0,this.yAxisScale.bandwidth()]).padding(.2).round(!1)),0<this.aggregates.length&&(this.yAxisAggregates=i.scaleBand().domain(this.aggregates.map(function(t){return t.label})).range([0,this.svgHeight]).round(!1)),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t){return F.formatDomainValue(t,e.actualMargin.left-20,!1)}),this.mainChart=this.mainSvg.append("g").attr("transform","translate("+this.actualMargin.left+", "+this.actualMargin.top+")"),this.labelGroup=this.legendsSvg.append("g").attr("transform","translate(0, 0)")},MoBarChartHorizontal.prototype.renderAxis=function(){this.mainSvg.append("g").attr("class","x mo-axis").attr("transform","translate("+this.actualMargin.left+", "+this.actualMargin.top+")").call(this.xAxis).selectAll("text").style("text-anchor","end").attr("class","mo-axis-text").attr("y",-5).attr("x",-25).attr("transform","rotate(70, -12, 12)"),this.mainSvg.append("g").attr("class","y mo-axis").attr("transform","translate("+this.actualMargin.left+", "+(this.actualMargin.top+10)+")").call(this.yAxis).selectAll("text").attr("class","mo-axis-text").attr("y",-Math.round(this.barPadding/2))},MoBarChartHorizontal.prototype.renderAxisLabel=function(){var n=this;this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",this.width/2+this.actualMargin.left).attr("y",15).text(function(){var t=n.aggregates.map(function(t){return t.label}).join(", "),e="currency"===(null==(e=n.aggregates[0])?void 0:e.dataType)?null==(e=null==(e=n.displayData[0])?void 0:e.reportMetadata)?void 0:e.currency:"";return e?F.formatDomainValue("("+e+") "+t,n.svgWidth,!1):F.formatDomainValue(t,n.svgWidth,!1)}),this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",-this.svgHeight/2).attr("y",10).attr("transform","rotate(-90)").text(this.groupings[0].label)},MoBarChartHorizontal.prototype.renderSpaceLine=function(){this.mainChart.selectAll(".mo-space-line").data(this.xAxisScale.ticks()).enter().append("line").attr("class","mo-space-line").attr("x1",this.xAxisScale).attr("x2",this.xAxisScale).attr("y1",0).attr("y2",this.height),this.mainChart.append("line").attr("class","mo-space-line").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",this.height)},MoBarChartHorizontal.prototype.refactorStackedData=function(){var l=this,t=JSON.parse(JSON.stringify(this.displayData));return t.forEach(function(t){var e=t.pieces,r=void 0===e?[]:e,i=t.values;r.forEach(function(t,e){var n,a,o;t.x=(n=e,a=i[0],o=0,r.forEach(function(t,e){e<n&&("stacked100"===l.groupType?o+=l.xAxisScale(t.values[0]/a):o+=l.xAxisScale(t.values[0]))}),o),t.percentage=t.values[0]/i[0]})}),t},MoBarChartHorizontal.prototype.renderBar=function(t){var e=this;0<this.categories.length?"grouped"===this.groupType?this.renderGroupedBar(t):"stacked"!==this.groupType&&"stacked100"!==this.groupType||(this.renderStackedBar(t),this.renderData(t)):1<this.aggregates.length?this.renderGroupedAggregatesBar(t):this.mainChart.selectAll(".bar").data(t).enter().append("rect").attr("class","bar").attr("x",0).attr("y",function(t){return e.yAxisScale(t.label)}).attr("width",0).attr("height",this.yAxisScale.bandwidth()).style("fill",F.getColor(0,this.colors)).transition().duration(1e3).attr("width",function(t){return e.xAxisScale(t.values[0])})},MoBarChartHorizontal.prototype.renderGroupedAggregatesBar=function(t){var n=this;this.mainChart.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate(0, "+n.yAxisScale(t.label)+")"}).selectAll("rect").data(function(t){return t.values}).enter().append("rect").attr("class","rect").attr("x",0).attr("y",function(t,e){return n.yAxisAggregates(n.aggregates[e].label)}).attr("height",this.yAxisScale.bandwidth()).attr("width",0).style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(1e3).attr("width",function(t){return n.xAxisScale(t)})},MoBarChartHorizontal.prototype.renderGroupedBar=function(t){var n=this,t=this.mainChart.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate(0, "+n.yAxisScale(t.label)+")"});t.selectAll("rect").data(function(t){return t.pieces||[]}).enter().append("rect").attr("class","rect").attr("x",0).attr("y",function(t){return n.yAxisCategories(t.label)}).attr("width",0).attr("height",this.yAxisCategories.bandwidth()).style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(1e3).attr("width",function(t){t=t.values[0];return Math.abs(n.xAxisScale(t)-n.xAxisScale(0))}),t.selectAll(".mo-data-text").data(function(t){return t.pieces||[]}).enter().append("text").attr("class","mo-data-text").attr("x",0).attr("y",function(t){return n.yAxisCategories(t.label)+n.yAxisCategories.bandwidth()/2+5}).style("fill",this.valueColor).attr("text-anchor","start").text(function(t){return 0<t.values[0]?F.formatValue(t.values[0],"",n.decimal):""}).transition().duration(1e3).attr("x",function(t){t=t.values[0];return Math.abs(n.xAxisScale(t)-n.xAxisScale(0))+5})},MoBarChartHorizontal.prototype.renderStackedBar=function(t){var n=this;this.mainChart.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate(0, "+n.yAxisScale(t.label)+")"}).selectAll("rect").data(function(t){return t.pieces||[]}).enter().append("rect").attr("class","rect").attr("x",0).attr("width",this.xAxisScale(0)).attr("height",this.yAxisScale.bandwidth()).style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(1e3).attr("x",function(t){return t.x}).attr("width",function(t){return"stacked100"===n.groupType?n.xAxisScale(t.percentage):n.xAxisScale(t.values[0])})},MoBarChartHorizontal.prototype.renderData=function(t){var e=this;this.mainChart.selectAll(".mo-data-text").data(t).enter().append("text").attr("class","mo-data-text").style("fill",this.valueColor).attr("text-anchor","start").attr("x",0).attr("y",function(t){return e.yAxisScale(t.label)+e.yAxisScale.bandwidth()/2+5}).text(function(t){return 0<t.values[0]?F.formatValue(t.values[0],"",e.decimal):""}).transition().duration(1e3).attr("x",function(t){return e.xAxisScale(t.values[0])+5})},MoBarChartHorizontal.prototype.renderLabel=function(){var n=this,t=(this.labelGroup.append("text").attr("x",10).attr("y",15).attr("class","mo-label-title").text(F.formatDomainValue(this.groupings[1].label,this.legendSvgWidth,!1)),this.labelGroup.selectAll(".mo-label").data(this.categories).enter().append("g").attr("class","mo-label"));t.append("rect").attr("width","15").attr("height","15").attr("x",10).attr("y",function(t,e){return 30+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),t.append("text").attr("x",35).attr("y",function(t,e){return 42+25*e}).attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t,n.legendSvgWidth,!1)})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],MoBarChartHorizontal.prototype,"data",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],MoBarChartHorizontal.prototype,"groupings",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],MoBarChartHorizontal.prototype,"aggregates",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],MoBarChartHorizontal.prototype,"colors",void 0),__decorate([t.Prop({type:Object,default:function(){return{top:80,right:30,bottom:20,left:120}}}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartMargin&&ChartMargin)?p:Object)],MoBarChartHorizontal.prototype,"margin",void 0),__decorate([t.Prop({type:Number,default:function(){return 25}}),__metadata("design:type",Number)],MoBarChartHorizontal.prototype,"barHeight",void 0),__decorate([t.Prop({type:Number,default:function(){return 15}}),__metadata("design:type",Number)],MoBarChartHorizontal.prototype,"barPadding",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],MoBarChartHorizontal.prototype,"decimal",void 0),__decorate([t.Prop({type:String,default:function(){return"outer"}}),__metadata("design:type",String)],MoBarChartHorizontal.prototype,"valuePosition",void 0),__decorate([t.Prop({type:String,default:function(){return"#5bdcef"}}),__metadata("design:type",String)],MoBarChartHorizontal.prototype,"valueColor",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],MoBarChartHorizontal.prototype,"groupType",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],MoBarChartHorizontal.prototype,"onDataChanged",null);function G(){var t=this,e=t.$createElement,e=t._self._c||e;return"grouped"===t.groupType||"stacked"===t.groupType||"stacked100"===t.groupType?e("div",{staticClass:"chart-container chart-having-tips"},[t._m(0),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()]):e("div",{staticClass:"chart-container chart-having-tips"},[e("div",{staticClass:"main-chart"}),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()])}function I(t){t&&t("data-v-1762f448_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var g,p=__decorate([t.Component({})],MoBarChartHorizontal),q=(G._withStripped=!0,normalizeComponent({render:G,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-and-legends"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},I,p,void 0,!1,void 0,!1,createInjector,void 0,void 0));function PieChart(){var t=null!==g&&g.apply(this,arguments)||this;return t.width=0,t.height=0,t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.chartDataForLegend=[],t.legendsSvg=null,t.total=0,t.arcLayout=null,t.arc3dLayout=null,t.pieLayout=null,t.radius=0,t.innerRadius=0,t.arcGroup=null,t.arc=null,t.centerGroup=null,t.labelGroup=null,t.rightNavImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjNCQTdEM0Y5NEVFNTExRTU5NkM0RjIwRkJBMjYwMTUzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjNCQTdEM0ZBNEVFNTExRTU5NkM0RjIwRkJBMjYwMTUzIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6M0JBN0QzRjc0RUU1MTFFNTk2QzRGMjBGQkEyNjAxNTMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6M0JBN0QzRjg0RUU1MTFFNTk2QzRGMjBGQkEyNjAxNTMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4zV8eYAAAB9klEQVR42sSYW0QEYRiGdztSlCillmUVkSK6iSidLrabSiKJIl0UnW5KEUUqSQdFpairKEpGlu1IdBERUUp3RRcRSemgw/vzDeMzqUz7zcvD7sfsPnZm/nn/dWqa5rCQaDAFkkATOHVYTIjF41dAEb3eBnng3MoHBlk4NhTkG94nkFSyXUJvYJjN1KnbBR47hFS6wASbucAOcNsh9AlawTSbu0nKJS2kSzWCeTb3kFSitJAu1QAW2DyFLvR4aSGVD1APltg8laTipIVU3kENrU/GpIEtECstpEtVg1U2zwB+ECMtpK9RVYA/lzJJKlpaSOUVVAAfm2fRLEpaSJcqB5tsng02QKS0kMozKAV7bJ5DUhFmQv3ghdaTQPBITYAnF6wbpXShDhDmsCeFYFzylP0m6VxoiC5Au+LjQt0gHDgDiGqnyyYyV2BW+pQFg0VQyebX1DpvJIXUd8zR48QYJVEALiXXIXWqZkAtm9+SzIXkwqhkJqmSmMmcST86RqlJGnMHisGJ9MN1BLSw2T3JHEvXjwHQ/o3MkXRB6wWdbPYAvOBQusL2EMY8gRJwIF3yO+jXMZPZl94GtYFBkw5UZtKBAi7UTHeUWUv0S2+l68AYLYA/9WgRoSYm891OQ0xI+8Ve7M+x8g9aH9UKL3Xytf+4Xb8EGABhpHk2U/H9dQAAAABJRU5ErkJggg==",t.rotation={index:0,angle:0,startAngle:0,originalAngle:0},t}__extends(PieChart,g=t.Mixins(a)),PieChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},PieChart.prototype.mounted=function(){this.redraw()},PieChart.prototype.redraw=function(){this.init(),this.renderPie(),this.renderLegends(),this.donut&&(this.addDonut(),this.showTotal)&&this.renderTotal(),this.renderInnerLabel(),this.changeContent()},PieChart.prototype.changeContent=function(){var t,e=this.chartDataForLegend,n=(-1===this.rotation.index&&(this.rotation.index=0),F.getPercentage(e[this.rotation.index].values[0],this.total,this.decimal)),a=F.formatValue(e[this.rotation.index].values[0],this.symbol),o=this.$el.querySelector(".percentage"),r=this.$el.querySelector(".label");o&&((t=s.select(o)).style("color",F.getColor(this.rotation.index,this.colors)),t.text(a+" : "+n+"%")),r&&(t=s.select(r)).text(e[this.rotation.index].label)},PieChart.prototype.init=function(){this.combineSmallGroups?this.chartDataForLegend=F.combineSmallGroups(__spreadArrays(this.data),.03,"Others"):this.chartDataForLegend=__spreadArrays(this.data);var t=this.$el.querySelector(".main-chart"),e=this.$el.querySelector(".chart-legends"),t=(s.select(t).selectAll("*").remove(),s.select(e).selectAll("*").remove(),this.svgWidth=t&&0<t.clientWidth?t.clientWidth:300,this.svgHeight=t&&0<t.clientHeight?t.clientHeight:300,this.legendSvgWidth=e&&0<e.clientWidth?e.clientWidth:150,this.legendSvgHeight=e&&0<e.clientHeight?e.clientHeight:this.svgHeight,this.width=Math.min(this.svgWidth,this.svgHeight),this.height=this.svgHeight,s.select(t).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight)),e=(this.legendsSvg=s.select(e).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),this.radius=this.width/2-30,this.innerRadius=this.donut?.43*this.radius:0,this.rotation={index:0,angle:0,startAngle:0,originalAngle:0},this.aggregate&&(this.height+=40),this.aggregate&&(e="currency"===this.aggregate.dataType?null==(e=null==(e=this.data[0])?void 0:e.reportMetadata)?void 0:e.currency:"",n=t.append("text").attr("class","mo-axis-label").attr("x",this.svgWidth/2).style("font-size",Math.min(16,.04*this.svgWidth)+"px").attr("y",40),e?n.text(F.formatDomainValue("("+e+") "+this.aggregate.label,this.svgWidth,!1)):n.text(F.formatDomainValue(this.aggregate.label,this.svgWidth,!1))),this.total=this.data[0].total,0===this.total&&(this.total=this.data.reduce(function(t,e){return t+e.values[0]},0)),this.arcLayout=d.arc().outerRadius(this.radius).innerRadius(this.innerRadius),this.arc3dLayout=d.arc().outerRadius(this.innerRadius+9).innerRadius(this.innerRadius),this.pieLayout=d.pie().value(function(t){return t.values[0]}),this.pieLayout(this.chartDataForLegend)[this.rotation.index]),n=(this.rotation.angle=180-(e.startAngle+e.endAngle)/2/Math.PI*180,this.aggregate?20:0);this.arcGroup=t.append("svg:g").attr("transform","translate("+this.svgWidth/2+", "+(this.svgHeight/2+n)+")\n rotate("+this.rotation.angle+")"),this.arc=this.arcGroup.selectAll(".arc").data(this.pieLayout(this.chartDataForLegend)).enter().append("g").attr("class","arc"),this.centerGroup=t.append("svg:g").attr("transform","translate("+this.svgWidth/2+", "+(this.svgHeight/2+n)+")"),this.labelGroup=t.append("svg:g"),this.chartDataForLegend=this.chartDataForLegend},PieChart.prototype.renderPie=function(){var n=this;this.arc.append("svg:path").style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(750).attrTween("d",function(t){var e=r.interpolateObject({startAngle:0,endAngle:0},t);return function(t){return n.arcLayout(e(t))}})},PieChart.prototype.renderLegends=function(){var n,t,a=this;0!==this.chartDataForLegend.length&&(n=0,this.groupBy&&this.aggregate&&(this.legendsSvg.append("text").attr("x",10).attr("y",40).attr("class","mo-label-title").style("font-size",Math.min(16,.04*this.svgWidth)+"px").text(F.formatDomainValue(this.groupBy.label,this.legendSvgWidth,!1)),n=65),(t=this.legendsSvg.selectAll(".mo-legend").data(this.chartDataForLegend).enter().append("g").attr("class","mo-legend")).append("rect").attr("width",15).attr("height",15).attr("x",10).attr("y",function(t,e){return n+25*e}).attr("fill",function(t,e){return F.getColor(e,a.colors)}),t.append("text").attr("x",35).attr("y",function(t,e){return n+12+25*e}).attr("class","mo-legend-text").style("font-size",Math.min(16,.04*this.svgWidth)+"px").text(function(t){return F.formatDomainValue(t.label,a.legendSvgWidth-5,!1)}))},PieChart.prototype.addDonut=function(){var n=this;this.arc.append("svg:path").attr("class","mo-inner-arc").transition().duration(750).attrTween("d",function(t){var e=r.interpolateObject({startAngle:0,endAngle:0},t);return function(t){return n.arc3dLayout(e(t))}})},PieChart.prototype.renderTotal=function(){this.centerGroup.append("svg:text").style("text-anchor","middle").attr("class","mo-summary-label").transition().delay(500).text(this.totalLabel).style("font-size",Math.min(18,.06*this.svgWidth)+"px"),this.centerGroup.append("svg:text").attr("y",18).style("text-anchor","middle").attr("class","mo-summary-value").transition().delay(500).text(F.formatValue(this.total,this.symbol,1)).style("font-size",Math.min(18,.06*this.svgWidth)+"px")},PieChart.prototype.renderInnerLabel=function(){var r=this,i=this.chartDataForLegend.reduce(function(t,e){return t+e.values[0]},0);this.arc.each(function(t,e,n){var n=n[e],n=s.select(n),a=F.getInnerText({showValue:r.showValue,innerValue:"inner"===r.valuePosition,value:t.value,showPercentage:r.showPercentage,innerPercentage:"inner"===r.percentagePosition,total:i,decimal:r.decimal,symbol:"",type:"pie"}),a=0<a.indexOf("\n")?a.split("\n"):[""+a],o=n.append("text").attr("class","mo-inner-text").attr("text-anchor","middle").attr("dominant-baseline","middle").style("fill",function(){var t=F.getColor(e,r.colors);return F.isLightColor(t)?"#000000":"#ffffff"}).style("font-size",Math.min(16,.035*r.svgWidth)+"px");o.transition().duration(750).attr("transform",function(){return"translate("+r.arcLayout.centroid(t)+") rotate("+-r.rotation.angle+")"}),a.forEach(function(t,e){o.append("tspan").attr("x",0).attr("dy",0===e?"0em":"1.2em").text(t)})})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],PieChart.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],PieChart.prototype,"combineSmallGroups",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],PieChart.prototype,"showTotal",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],PieChart.prototype,"showValue",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],PieChart.prototype,"symbol",void 0),__decorate([t.Prop({type:String,default:function(){return"inner"}}),__metadata("design:type",String)],PieChart.prototype,"valuePosition",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],PieChart.prototype,"showPercentage",void 0),__decorate([t.Prop({type:String,default:function(){return"inner"}}),__metadata("design:type",String)],PieChart.prototype,"percentagePosition",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],PieChart.prototype,"decimal",void 0),__decorate([t.Prop({type:String,default:function(){return"vertical"}}),__metadata("design:type",String)],PieChart.prototype,"labelMode",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],PieChart.prototype,"labelColor",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],PieChart.prototype,"colors",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],PieChart.prototype,"donut",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartGroupingColumn&&ChartGroupingColumn)?p:Object)],PieChart.prototype,"groupBy",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartAggregateColumn&&ChartAggregateColumn)?p:Object)],PieChart.prototype,"aggregate",void 0),__decorate([t.Prop({type:String,default:function(){return"Total"}}),__metadata("design:type",String)],PieChart.prototype,"totalLabel",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],PieChart.prototype,"area",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],PieChart.prototype,"onDataChanged",null);function Q(){this.$createElement;return this._self._c,this._m(0)}function S(t){t&&t("data-v-5b5b2cd6_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var u,p=__decorate([t.Component({})],PieChart),$=(Q._withStripped=!0,normalizeComponent({render:Q,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-container"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},S,p,void 0,!1,void 0,!1,createInjector,void 0,void 0));function LineChart(){var t=null!==u&&u.apply(this,arguments)||this;return t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.width=0,t.height=0,t.mainSvg=null,t.legendsSvg=null,t.xAxisScale=null,t.yAxisScale=null,t.xAxis=null,t.yAxis=null,t.xAxisCategories=null,t.categories=[],t.area=null,t.maxValue=null,t.refactoredData=[],t.displayData=[],t.maxDisplayCount=20,t}__extends(LineChart,u=t.Mixins(a)),Object.defineProperty(LineChart.prototype,"actualMargin",{get:function(){var t=this.margin,e=t.top,n=t.right,a=t.bottom,t=t.left;return 0<this.groupings.length?{top:e,right:n,bottom:130,left:t}:0<this.aggregates.length?{top:e,right:n,bottom:a,left:65}:this.margin},enumerable:!1,configurable:!0}),LineChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},LineChart.prototype.mounted=function(){this.redraw()},LineChart.prototype.redraw=function(){this.init(),this.renderAxis(),this.renderAxisLabel(),this.renderSpaceLine(),this.renderDataLine(),1<this.aggregates.length?this.renderMeasure():0<this.categories.length&&this.renderLabel(),this.showValue&&this.renderData()},LineChart.prototype.init=function(){var e,n=this,t=this.data.length>this.maxDisplayCount?this.data.length-this.maxDisplayCount:0,t=(this.displayData=this.data.slice(t),this.$el.querySelector(".main-chart")),a=this.$el.querySelector(".chart-legends"),t=(s.select(t).selectAll("*").remove(),s.select(a).selectAll("*").remove(),this.svgWidth=t&&0<t.clientWidth?t.clientWidth:300,this.svgHeight=t&&0<t.clientHeight?t.clientHeight:300,this.legendSvgWidth=a&&0<a.clientWidth?a.clientWidth:150,this.legendSvgHeight=a&&0<a.clientHeight?a.clientHeight:this.svgHeight,this.width=this.svgWidth-this.actualMargin.left-this.actualMargin.right,this.height=this.svgHeight-this.actualMargin.top-this.actualMargin.bottom,this.mainSvg=s.select(t).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight).append("g").attr("transform","translate("+this.actualMargin.left+", "+this.actualMargin.top+")"),this.legendsSvg=s.select(a).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),this.categories=[],this.displayData.slice(0,20));this.maxValue=c.max(t,function(t){return c.max(t.values)}),"grouped"===this.groupType&&(this.refactorGroupedData(),e=[],t.forEach(function(t){e.push.apply(e,t.pieces)}),this.maxValue=c.max(e,function(t){return c.max(t.values)})),this.refactoredData=JSON.parse(JSON.stringify(t)),"cumulativeGrouped"!==this.groupType&&"cumulative"!==this.groupType||this.refactorCumulateData(),this.xAxisScale=i.scalePoint().domain(this.refactoredData.map(function(t){return t.label})).range([0,this.width]).padding(.5),this.xAxis=l.axisBottom(this.xAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t){return F.formatDomainValue(t,100,!0)}),this.yAxisScale=i.scaleLinear().domain([0,this.maxValue||10]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t){return F.formatValue(t,"",n.decimal)}),this.area=d.area().x(function(t){return n.xAxisScale(t.label)}).y0(this.height).y1(function(t){return n.yAxisScale(n.lineValue(t))})},LineChart.prototype.lineValue=function(t,e){return void 0===e&&(e=0),"cumulativeGrouped"===this.groupType||"cumulative"===this.groupType?t.cumulates[e]||0:t.values[e]},LineChart.prototype.line=function(e){var n=this;return void 0===e&&(e=0),d.line().curve(d.curveLinear).x(function(t){return n.xAxisScale(t.label)}).y(function(t){return n.yAxisScale(n.lineValue(t,e))})},LineChart.prototype.refactorGroupedData=function(){var n=[];this.displayData.forEach(function(e){e.pieces&&0<e.pieces.length&&e.pieces.forEach(function(t){n.push({label:e.label,group:t.label,values:t.values})})}),this.categories=Array.from(c.group(n,function(t){return t.group}),function(t){return{key:t[0],value:t[1]}})},LineChart.prototype.refactorCumulateData=function(){var r=this;0<this.categories.length?this.categories.forEach(function(o){o.value.forEach(function(n,a){n.cumulates=n.cumulates||[],n.values.forEach(function(t,e){e=0<a?o.value[a-1].cumulates[e]+t:t;n.cumulates.push(e),e>r.maxValue&&(r.maxValue=e)})})}):this.refactoredData.forEach(function(a,o){a.cumulates=new Array(a.values.length).fill(0),a.values.forEach(function(t,e){var n=(0<o&&null!=(n=null==(n=null==(n=r.refactoredData[o-1])?void 0:n.cumulates)?void 0:n[e])?n:0)+t;(a.cumulates[e]=n)>r.maxValue&&(r.maxValue=n)})})},LineChart.prototype.renderAxis=function(){this.mainSvg.append("g").attr("class","x mo-axis").attr("transform","translate(0, "+this.height+")").call(this.xAxis).selectAll("text").attr("class","mo-axis-text").attr("y",10).attr("x",-8).attr("dy",0).attr("transform","rotate(-70)").style("text-anchor","end"),this.mainSvg.append("g").attr("class","y mo-axis").call(this.yAxis).selectAll("text").attr("class","mo-axis-text").attr("y",0)},LineChart.prototype.renderAxisLabel=function(){var n=this;this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",this.width/2).attr("y",this.svgHeight-25).text(this.groupings[0].label),this.mainSvg.append("text").attr("class","mo-axis-label").attr("transform","rotate(-90)").attr("x",-this.height/2).attr("y",-this.actualMargin.left).attr("dy","1em").style("text-anchor","middle").text(0<this.aggregates.length?this.aggregates.map(function(t){var e="currency"===t.dataType?null==(e=null==(e=n.displayData[0])?void 0:e.reportMetadata)?void 0:e.currency:"";return e?F.formatDomainValue("("+e+") "+t.label,n.svgWidth,!1):F.formatDomainValue(t.label,n.svgWidth,!1)}).join(", "):"")},LineChart.prototype.renderSpaceLine=function(){var e=this;this.mainSvg.selectAll(".mo-space-line").data(this.yAxisScale.ticks()).enter().append("line").attr("class","mo-space-line").attr("x1",0).attr("x2",this.width-5).attr("y1",this.yAxisScale).attr("y2",this.yAxisScale),this.mainSvg.selectAll(".mo-vertical-line").data(this.refactoredData).enter().append("line").attr("class","mo-space-line").attr("x1",function(t){return e.xAxisScale(t.label)}).attr("y1",this.height).attr("x2",function(t){return e.xAxisScale(t.label)}).attr("y2",0),this.mainSvg.selectAll(".mo-axis-point").data(this.refactoredData).enter().append("circle").attr("class","mo-axis-point").attr("r",2).attr("cx",function(t){return e.xAxisScale(t.label)}).attr("cy",this.height)},LineChart.prototype.renderDataLine=function(){function P7(t,e,n){var a=(n=void 0===n?!1:n)?e:0,n=F.getColor(e,r.colors),o=(e=r.mainSvg.append("path").datum(t).attr("d",r.line(a)).attr("class","mo-data-line").style("stroke",n)).node().getTotalLength();e.attr("stroke-dasharray",o+" "+o).attr("stroke-dashoffset",o).transition().duration(1e3).ease(N.easeLinear).attr("stroke-dashoffset",0),r.mainSvg.selectAll(".mo-data-point").data(t).enter().append("circle").attr("cx",function(t){return r.xAxisScale(t.label)}).attr("cy",function(t){return r.yAxisScale(r.lineValue(t,a))}).attr("r",r.pointRadius).attr("class","mo-line-point").style("fill",n)}var r=this;0<this.categories.length?this.categories.forEach(function(t,e){return P7(t.value,e)}):1<this.aggregates.length?this.aggregates.forEach(function(t,e){return P7(r.refactoredData,e,!0)}):(this.defineAreaGradients(0,F.getColor(0,this.colors)),P7(this.refactoredData,0),this.mainSvg.append("path").datum(this.refactoredData).attr("class","mo-line-area").style("fill","url(#MoLineAreaGradient0)").transition().duration(1e3).attr("d",this.area))},LineChart.prototype.defineAreaGradients=function(t,e){t=this.mainSvg.append("defs").append("linearGradient").attr("id","MoLineAreaGradient"+t).attr("x1","0").attr("y1","0").attr("x2","0").attr("y2","0").attr("y1","100%");t.append("stop").attr("offset","0%").attr("stop-color",e).attr("stop-opacity",0),t.append("stop").attr("offset","100%").attr("stop-color",e).attr("stop-opacity",.7)},LineChart.prototype.renderMeasure=function(){var n=this,t=this.legendsSvg.append("g"),t=(t.append("text").attr("x",0).attr("y",10).attr("class","mo-label-title").text("Measure"),t.selectAll(".mo-label").data(this.aggregates).enter().append("g").attr("class","mo-label"));t.append("rect").attr("width","15").attr("height","15").attr("x",0).attr("y",function(t,e){return 25+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),t.append("text").attr("x",20).attr("y",function(t,e){return 37+25*e}).attr("class","mo-legend-text").style("fill",this.labelColor||"").text(function(t){return F.formatDomainValue(t.label,n.legendSvgWidth,!1)})},LineChart.prototype.renderLabel=function(){var n=this,t=this.legendsSvg.append("g"),t=(t.append("text").attr("x",0).attr("y",10).attr("class","mo-label-title").text(F.formatDomainValue(this.groupings[1].label,this.legendSvgWidth,!1)),t.selectAll(".mo-label").data(this.categories).enter().append("g").attr("class","mo-label"));t.append("rect").attr("width","15").attr("height","15").attr("x",0).attr("y",function(t,e){return 25+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),t.append("text").attr("x",20).attr("y",function(t,e){return 37+25*e}).attr("class","mo-legend-text").style("fill",this.labelColor||"").text(function(t){return F.formatDomainValue(t.key,n.legendSvgWidth,!1)})},LineChart.prototype.renderData=function(){var e=this;"cumulativeGrouped"===this.groupType||"cumulative"===this.groupType?this.mainSvg.selectAll(".line-text").data(this.refactoredData).enter().append("text").attr("class","mo-data-text").attr("x",function(t){return e.xAxisScale(t.label)}).attr("y",function(t){return e.yAxisScale(t.cumulates[0])-5}).attr("text-anchor","middle").text(function(t){return 0!==t.cumulates[0]?F.formatValue(t.cumulates[0],"",e.decimal):""}).attr("transform",function(t){return"rotate(-20, "+e.xAxisScale(t.label)+", "+(e.yAxisScale(t.cumulates[0])-5)+")"}):this.mainSvg.selectAll(".line-text").data(this.displayData).enter().append("text").attr("class","mo-data-text").attr("x",function(t){return e.xAxisScale(t.label)}).attr("y",function(t){return e.yAxisScale(t.values[0])-5}).attr("text-anchor","middle").text(function(t){return 0!==t.values[0]?F.formatValue(t.values[0],"",e.decimal):""}).attr("transform",function(t){return"rotate(-20, "+e.xAxisScale(t.label)+", "+(e.yAxisScale(t.values[0])-5)+")"})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],LineChart.prototype,"data",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],LineChart.prototype,"groupings",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],LineChart.prototype,"aggregates",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],LineChart.prototype,"showValue",void 0),__decorate([t.Prop({type:Object,default:function(){return{top:20,right:10,bottom:0,left:70}}}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartMargin&&ChartMargin)?p:Object)],LineChart.prototype,"margin",void 0),__decorate([t.Prop({type:Number,default:function(){return 3}}),__metadata("design:type",Number)],LineChart.prototype,"pointRadius",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],LineChart.prototype,"textColor",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],LineChart.prototype,"labelColor",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],LineChart.prototype,"groupType",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],LineChart.prototype,"colors",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],LineChart.prototype,"decimal",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],LineChart.prototype,"onDataChanged",null);function Z(){var t=this,e=t.$createElement,e=t._self._c||e;return"grouped"===t.groupType||"cumulativeGrouped"===t.groupType||1<t.aggregates.length||0<t.categories.length?e("div",{staticClass:"chart-container chart-having-tips"},[t._m(0),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()]):e("div",{staticClass:"chart-container chart-having-tips"},[e("div",{staticClass:"main-chart"}),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()])}function _(t){t&&t("data-v-9b29bf16_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var f,p=__decorate([t.Component({})],LineChart),K=(Z._withStripped=!0,normalizeComponent({render:Z,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-and-legends"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends",staticStyle:{width:"20%"}})])}]},_,p,void 0,!1,void 0,!1,createInjector,void 0,void 0));function FunnelChart(){var t=null!==f&&f.apply(this,arguments)||this;return t.funnelWidth=0,t.funnelHeight=0,t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.legendItemHeight=25,t.mainSvg=null,t.legendsSvg=null,t.total=0,t.refactoredData=[],t.colorMap=new Map,t}__extends(FunnelChart,f=t.Mixins(a)),FunnelChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},FunnelChart.prototype.mounted=function(){this.redraw()},FunnelChart.prototype.redraw=function(){this.init(),this.renderFunnel(),this.renderLegend()},FunnelChart.prototype.init=function(){var t,d=this,e=(this.colorMap.clear(),this.refactoredData=[],(t=this.combineSmallGroups?F.combineSmallGroups(__spreadArrays(this.data),.03,"Others"):__spreadArrays(this.data)).filter(function(t){return 0<t.values[0]})),e=__spreadArrays(e),p=e.reduce(function(t,e){return t+e.values[0]},0),n=(t.forEach(function(t,e){d.colorMap.set(t.label,F.getColor(e,d.colors))}),this.$el.querySelector(".main-chart")),a=this.$el.querySelector(".chart-legends"),h=(s.select(n).selectAll("*").remove(),s.select(a).selectAll("*").remove(),this.svgWidth=n&&0<n.clientWidth?n.clientWidth:300,this.svgHeight=n&&0<n.clientHeight?n.clientHeight:300,this.legendSvgWidth=a&&0<a.clientWidth?a.clientWidth:150,this.legendSvgHeight=a&&0<a.clientHeight?a.clientHeight:this.svgHeight,this.funnelWidth=this.svgWidth,this.funnelHeight=this.svgHeight,50),m=this.funnelHeight-h-50,g=this.funnelWidth/1.5,u=.3*this.funnelWidth;e.forEach(function(t){var e=h/m,n=Math.max(t.values[0]/p*m,15),e=g-(g-u)*e,a=g-(g-u)*((h+n)/m),o=(d.funnelWidth-e)/2,r=h,e=o+e,i=r,l=(d.funnelWidth-a)/2+a,s=r+n,a=(d.funnelWidth-a)/2,c=s;h+=n,0<t.values[0]&&((n=JSON.parse(JSON.stringify(t))).points=[{x:o,y:r},{x:e,y:i},{x:l,y:s},{x:a,y:c}],d.refactoredData.push(n))}),this.mainSvg=s.select(n).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight),this.legendsSvg=s.select(a).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),this.total=p,this.chartDataForLegend=t},FunnelChart.prototype.renderFunnel=function(){var e=this,t=this.mainSvg.selectAll("g").data(this.refactoredData).enter().append("g");t.append("polygon").attr("points",this.getPoint(this.refactoredData[0].points)).style("fill",function(t){return e.colorMap.get(t.label)||"#fff"}).transition().duration(1e3).attr("points",function(t){return t.points.map(function(t){return[t.x,t.y].join(",")}).join(" ")}),t.append("text").attr("class","mo-label-inner").attr("x",this.funnelWidth/2).attr("y",function(t){return(t.points[0].y+t.points[3].y)/2+5}).style("fill",function(t){t=e.colorMap.get(t.label)||"#dddddd";return F.isLightColor(t)?"#000000":"#ffffff"}).text(function(t){return F.getInnerText({showValue:e.showValue,innerValue:"inner"===e.valuePosition,value:t.values[0],showPercentage:e.showPercentage,innerPercentage:"inner"===e.percentagePosition,total:e.total,decimal:e.decimal,symbol:""})})},FunnelChart.prototype.getPoint=function(t){for(var e=[],n=0;n<4;n+=1)e.push(t[n].x+","+t[n].y);return e.join(" ")},FunnelChart.prototype.renderLegend=function(){var n,a=this,t=(this.mainSvg.selectAll(".legend").remove(),this.groupBy&&this.aggregate&&(n="currency"===(null==(t=this.aggregate)?void 0:t.dataType)?null==(t=null==(t=this.data[0])?void 0:t.reportMetadata)?void 0:t.currency:"",this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",this.funnelWidth/2).attr("y",30).text(function(){var t=(null==(t=a.aggregate)?void 0:t.label)||"",e=F.formatValue(a.total,"",a.decimal);return F.formatDomainValue(n?"("+n+") "+t+": "+e:t+": "+e,a.svgWidth,!1)}),this.legendsSvg.append("text").attr("class","mo-label-title").attr("x",0).attr("y",30).text(F.formatDomainValue(this.groupBy.label,this.legendSvgWidth,!1))),this.chartDataForLegend),e=this.legendsSvg.append("g").attr("class","legend").attr("transform","translate(0, 50)"),o=e.selectAll("rect").data(t).enter().append("rect").attr("width",15).attr("height",15).style("fill",function(t){return a.colorMap.get(t.label)||"#ddd"}),e=e.selectAll("text").data(t).enter().append("text").attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t.label,a.legendSvgWidth-2,!1)});"horizontal"===this.labelMode?(o.attr("x",function(t,e){return 10+100*e}).attr("y",10),e.attr("x",function(t,e){return 35+100*e}).attr("y",23)):(o.attr("x",0).attr("y",function(t,e){return 25*e}),e.attr("x",25).attr("y",function(t,e){return 25*e+13}))},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],FunnelChart.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],FunnelChart.prototype,"combineSmallGroups",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],FunnelChart.prototype,"decimal",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],FunnelChart.prototype,"colors",void 0),__decorate([t.Prop({type:String,default:function(){return"vertical"}}),__metadata("design:type",String)],FunnelChart.prototype,"labelMode",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],FunnelChart.prototype,"showValue",void 0),__decorate([t.Prop({type:String,default:function(){return"inner"}}),__metadata("design:type",String)],FunnelChart.prototype,"valuePosition",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],FunnelChart.prototype,"showPercentage",void 0),__decorate([t.Prop({type:String,default:function(){return"inner"}}),__metadata("design:type",String)],FunnelChart.prototype,"percentagePosition",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartGroupingColumn&&ChartGroupingColumn)?p:Object)],FunnelChart.prototype,"groupBy",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartAggregateColumn&&ChartAggregateColumn)?p:Object)],FunnelChart.prototype,"aggregate",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],FunnelChart.prototype,"onDataChanged",null);function ga(){this.$createElement;return this._self._c,this._m(0)}function ia(t){t&&t("data-v-46dee47e_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var b,p=__decorate([t.Component({})],FunnelChart),tt=(ga._withStripped=!0,normalizeComponent({render:ga,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-container"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},ia,p,void 0,!1,void 0,!1,createInjector,void 0,void 0));function GaugeChart(){var t=null!==b&&b.apply(this,arguments)||this;return t.svg=null,t.width=0,t.height=0,t.radius=0,t.backgroundArc=null,t.arc=null,t.centerArc=null,t.scale=null,t}__extends(GaugeChart,b=t.Mixins(a)),Object.defineProperty(GaugeChart.prototype,"minValue",{get:function(){var t="string"==typeof this.data.value?parseFloat(this.data.value):this.data.value;return Math.min(this.data.minValue,t)},enumerable:!1,configurable:!0}),Object.defineProperty(GaugeChart.prototype,"maxValue",{get:function(){var t="string"==typeof this.data.value?parseFloat(this.data.value):this.data.value;return Math.max(this.data.maxValue,t)},enumerable:!1,configurable:!0}),Object.defineProperty(GaugeChart.prototype,"labelWithCurrency",{get:function(){var t=(null==(t=this.aggregate)?void 0:t.label)||"",e="currency"===(null==(e=this.aggregate)?void 0:e.dataType)?null==(e=this.data.reportMetadata)?void 0:e.currency:"";return e?t+" ("+e+")":t},enumerable:!1,configurable:!0}),Object.defineProperty(GaugeChart.prototype,"valueWithCurrency",{get:function(){var t=(null==(t=this.data)?void 0:t.value)||0;return F.formatValue(t,"",this.decimal)},enumerable:!1,configurable:!0}),Object.defineProperty(GaugeChart.prototype,"percentLabel",{get:function(){var t=(("string"==typeof this.data.value?parseFloat(this.data.value):this.data.value)/this.data.maxValue*100).toFixed(0);return"("+F.formatValue(t,"",1)+"%)"},enumerable:!1,configurable:!0}),GaugeChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},GaugeChart.prototype.mounted=function(){this.redraw()},GaugeChart.prototype.redraw=function(){this.init(),this.renderGauge(),this.renderData(),this.renderPointer()},GaugeChart.prototype.init=function(){var t=this.$el,e=t&&0<t.clientWidth?t.clientWidth:300,t=t&&0<t.clientHeight?t.clientHeight:300;this.width=Math.min(e,t),this.height=t,this.radius=this.width/2-5,this.svg=s.select(this.$el).append("svg").attr("width",this.width).attr("height",this.height),this.defineGradient(),this.backgroundArc=d.arc().innerRadius(this.radius).outerRadius(this.radius).startAngle(this.angleToRadian(this.minAngle)).endAngle(this.angleToRadian(this.maxAngle)),this.arc=d.arc().innerRadius(this.radius).outerRadius(this.radius),this.centerArc=d.arc().innerRadius(8).outerRadius(22).startAngle(this.angleToRadian(-180)).endAngle(this.angleToRadian(180)),this.scale=i.scaleLinear().range([this.minAngle,this.maxAngle]).domain([this.minValue,this.maxValue])},GaugeChart.prototype.renderGauge=function(){var o=this,t=(this.svg.append("path").attr("class","mo-gauge-back-arc").attr("transform","translate("+this.width/2+", "+this.height/2+")").attr("d",this.backgroundArc),this.svg.append("path").attr("class","mo-gauge-value-arc").attr("transform","translate("+this.width/2+", "+this.height/2+")").transition().duration(1e3).attrTween("d",function(){var t=o.angleToRadian(o.minAngle),e=o.angleToRadian(o.scale(o.data.value)),n={startAngle:t,endAngle:t},a={startAngle:t,endAngle:e};return function(t){return o.arc(r.interpolateObject(n,a)(t))}}),this.tickCalc()),e=this.getTicksAngles();this.svg.append("g").selectAll("path").data(e).enter().append("path").attr("d",t).attr("class","mo-gauge-tick"),this.svg.append("path").attr("class","mo-gauge-inner-arc").attr("transform","translate("+this.width/2+", "+this.height/2+")").attr("d",this.centerArc)},GaugeChart.prototype.renderData=function(){var t=this.svg.append("g").attr("transform","translate("+this.width/2+", "+(this.height/2+80)+")");t.append("text").text([F.formatValue(this.data.value,"",this.decimal),this.showPercentage?this.percentLabel:""].join("")).attr("class","mo-gauge-value").style("font-size",Math.min(40,.1*this.width)+"px"),t.append("text").attr("y",25).text(this.showRange?this.data.breakRange:"").attr("class","mo-gauge-range"),t.append("text").attr("y",this.showRange?45:25).text([this.label,F.formatValue(this.data.maxValue,"",this.decimal)].join(" ")).attr("class","mo-gauge-max-value"),this.aggregate&&t.append("text").attr("y",this.showRange?65:45).text(this.labelWithCurrency).attr("class","mo-axis-div-label").style("font-size",Math.min(16,.05*this.width)+"px")},GaugeChart.prototype.renderPointer=function(){var n=this,t=[[2.5,0],[0,-(this.radius-10)],[-2.5,0],[2.5,0]],e=d.line().curve(d.curveMonotoneX);this.svg.append("g").data([t]).attr("class","mo-gauge-pointer").attr("transform","translate("+this.width/2+", "+this.height/2+")").append("path").attr("d",e).attr("transform","rotate("+this.scale(this.minValue)+")").transition().duration(1e3).attrTween("transform",function(){var t=n.scale(n.minValue),e=n.scale(n.data.value);return r.interpolateString("rotate("+t+")","rotate("+e+")")}),this.svg.append("circle").attr("class","mo-gauge-inner-bg-arc").attr("cx",this.width/2).attr("cy",this.height/2).attr("r",10)},GaugeChart.prototype.defineGradient=function(){var t=this.svg.append("defs").append("linearGradient").attr("id","MoGaugeGradient").attr("x1","0").attr("y1","0").attr("x2","100%").attr("y2","0");t.append("stop").attr("offset","0%").attr("stop-color",this.gradientColors[0]),t.append("stop").attr("offset","100%").attr("stop-color",this.gradientColors[1])},GaugeChart.prototype.angleToRadian=function(t){return t*(Math.PI/180)},GaugeChart.prototype.getTicksAngles=function(){for(var t=[],e=0,n=(this.scale(this.maxValue)-this.scale(this.minValue))/this.ticksNumber,a=this.minAngle;a<=this.maxAngle;a+=n)t.push(this.minAngle+n*e),e+=1;return t},GaugeChart.prototype.tickCalc=function(){var o=this;return function(t){var t=(t-90)*(Math.PI/180),e=o.radius-15,n=o.height/2+e*Math.sin(t),a=o.height/2+(5+e)*Math.sin(t),n=[{x:o.width/2+e*Math.cos(t),y:n},{x:o.width/2+(5+e)*Math.cos(t),y:a}];return d.line(function(t){return t.x},function(t){return t.y})(n)}},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(p="undefined"!=typeof GaugeData&&GaugeData)?p:Object)],GaugeChart.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],GaugeChart.prototype,"showTotal",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],GaugeChart.prototype,"showRange",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],GaugeChart.prototype,"showValue",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],GaugeChart.prototype,"showPercentage",void 0),__decorate([t.Prop({type:String,default:function(){return"Target"}}),__metadata("design:type",String)],GaugeChart.prototype,"label",void 0),__decorate([t.Prop({type:Number,default:function(){return-90}}),__metadata("design:type",Number)],GaugeChart.prototype,"minAngle",void 0),__decorate([t.Prop({type:Number,default:function(){return 90}}),__metadata("design:type",Number)],GaugeChart.prototype,"maxAngle",void 0),__decorate([t.Prop({type:Array,default:function(){return["#7467cd","#00b9ff"]}}),__metadata("design:type",Array)],GaugeChart.prototype,"gradientColors",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],GaugeChart.prototype,"centerColor",void 0),__decorate([t.Prop({type:Number,default:function(){return 40}}),__metadata("design:type",Number)],GaugeChart.prototype,"ticksNumber",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],GaugeChart.prototype,"decimal",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartAggregateColumn&&ChartAggregateColumn)?p:Object)],GaugeChart.prototype,"aggregate",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],GaugeChart.prototype,"onDataChanged",null);function pa(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"mo-chart mo-gauge-chart"})}function ra(t){t&&t("data-v-b66fee0c_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}\n.mo-gauge-chart {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}',map:void 0,media:void 0})}var v,p=__decorate([t.Component({})],GaugeChart),et=(pa._withStripped=!0,normalizeComponent({render:pa,staticRenderFns:[]},ra,p,void 0,!1,void 0,!1,createInjector,void 0,void 0));function MetricChart(){return null!==v&&v.apply(this,arguments)||this}__extends(MetricChart,v=t.Vue),Object.defineProperty(MetricChart.prototype,"value",{get:function(){return F.formatValue(this.data.value,this.aggregate.unitSymbol,this.decimal)},enumerable:!1,configurable:!0}),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(p="undefined"!=typeof MetricData&&MetricData)?p:Object)],MetricChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartAggregateColumn&&ChartAggregateColumn)?p:Object)],MetricChart.prototype,"aggregate",void 0),__decorate([t.Prop({type:Number,default:function(){return 1}}),__metadata("design:type",Number)],MetricChart.prototype,"decimal",void 0);function ya(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"mo-chart"},[e("div",{staticClass:"mo-metric"},[e("div",{staticClass:"mo-metric-inner"},[e("div",{staticClass:"mo-metric-label"},[t._v("\n "+t._s(t.data.label)+"\n ")]),t._v(" "),e("div",{staticClass:"mo-metric-value"},[t._v("\n "+t._s(t.value)+"\n ")])])])])}function Aa(t){t&&t("data-v-87bb7704_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var y,p=__decorate([t.Component({})],MetricChart),nt=(ya._withStripped=!0,normalizeComponent({render:ya,staticRenderFns:[]},Aa,p,void 0,!1,void 0,!1,createInjector,void 0,void 0));function ScatterChart(){var t=null!==y&&y.apply(this,arguments)||this;return t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.width=0,t.height=0,t.mainSvg=null,t.legendsSvg=null,t.xAxisScale=null,t.xAxis=null,t.yAxisScale=null,t.yAxis=null,t.line=null,t.categories=[],t.additionalHeight=0,t.displayData=[],t.maxDisplayCount=20,t}__extends(ScatterChart,y=t.Mixins(a)),ScatterChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},ScatterChart.prototype.mounted=function(){this.redraw()},ScatterChart.prototype.redraw=function(){this.init(),this.renderAxis(),this.renderAxisLabel(),this.renderSpaceLine(),this.renderPoint(),1<this.groupings.length&&0<this.categories.length&&this.renderLabel()},ScatterChart.prototype.init=function(){var n=this,t=this.data.length>this.maxDisplayCount?this.data.length-this.maxDisplayCount:0,t=(this.displayData=this.data.slice(t),this.$el.querySelector(".main-chart")),e=this.$el.querySelector(".chart-legends"),t=(s.select(t).selectAll("*").remove(),s.select(e).selectAll("*").remove(),this.svgWidth=t&&0<t.clientWidth?t.clientWidth:300,this.svgHeight=t&&0<t.clientHeight?t.clientHeight:300,this.legendSvgWidth=e&&0<e.clientWidth?e.clientWidth:150,this.legendSvgHeight=e&&0<e.clientHeight?e.clientHeight:this.svgHeight,this.width=this.svgWidth-this.margin.left-this.margin.right,this.height=this.svgHeight-this.margin.top-this.margin.bottom,this.mainSvg=s.select(t).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight).append("g").attr("transform","translate("+this.margin.left+", "+this.margin.top+")"),this.legendsSvg=s.select(e).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),this.displayData.slice(-20)),e=c.max(t,function(t){return t.values[0]}),t=c.max(t,function(t){return t.values[1]});"grouped"===this.groupType&&this.refactorGroupedData(),this.xAxisScale=i.scaleLinear().domain([0,e||10]).range([0,this.width]).nice(),this.xAxis=l.axisBottom(this.xAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t){return F.formatDomainValue(t,n.legendSvgWidth-35,!0)}),this.yAxisScale=i.scaleLinear().domain([0,t||10]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t,e){return e%2==0?F.formatValue(t,"",n.decimal):""}),this.line=d.line(function(t){return n.xAxisScale(t.values[0])},function(t){return n.yAxisScale(t.values[1])})},ScatterChart.prototype.renderAxis=function(){this.mainSvg.append("g").attr("class","x mo-axis").attr("transform","translate(0, "+this.height+")").call(this.xAxis).selectAll("text").style("text-anchor","end").attr("class","mo-axis-text").attr("y",10).attr("x",-8).attr("transform","rotate(-60)"),this.mainSvg.append("g").attr("class","y mo-axis").call(this.yAxis).selectAll("text").attr("class","mo-axis-text").attr("y",0)},ScatterChart.prototype.renderAxisLabel=function(){var t,e;0<this.aggregates.length&&(e=(t="currency"===this.aggregates[0].dataType?null==(t=null==(t=this.displayData[0])?void 0:t.reportMetadata)?void 0:t.currency:"")?this.aggregates[0].label+" ("+t+")":this.aggregates[0].label,this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",this.width/2).attr("y",this.svgHeight-25).text(F.formatDomainValue(e,this.svgWidth,!1))),F.defineAreaGradientsForCover(this.mainSvg,1,!0),this.mainSvg.append("rect").attr("transform","rotate(-90)").attr("x",-this.height-10).attr("y",20-this.margin.left).attr("width",this.height+20).attr("height",10).style("fill","none"),this.mainSvg.append("rect").attr("transform","rotate(-90)").attr("x",-this.height-10).attr("y",-this.margin.left-10).attr("width",this.height+20).attr("height",30).style("fill","none"),1<this.aggregates.length&&(e=(t="currency"===this.aggregates[1].dataType?null==(e=null==(e=this.displayData[0])?void 0:e.reportMetadata)?void 0:e.currency:"")?this.aggregates[1].label+" ("+t+")":this.aggregates[1].label,this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",-this.height/2).attr("y",-this.margin.left).attr("dy","1em").attr("transform","rotate(-90)").text(e))},ScatterChart.prototype.renderSpaceLine=function(){this.mainSvg.selectAll(".mo-space-line").data(this.yAxisScale.ticks()).enter().append("line").attr("stroke","").attr("class",function(t,e){return e%2==0?"mo-space-bold-line":"mo-space-line"}).attr("x1",0).attr("x2",this.width-5).attr("y1",this.yAxisScale).attr("y2",this.yAxisScale),this.mainSvg.selectAll(".mo-vertical-line").data(this.xAxisScale.ticks()).enter().append("line").attr("class",function(t,e){return e%2==0?"mo-space-bold-line":"mo-space-line"}).attr("x1",this.xAxisScale).attr("x2",this.xAxisScale).attr("y1",this.height).attr("y2",0),this.mainSvg.selectAll(".mo-axis-point").data(this.xAxisScale.ticks()).enter().append("circle").attr("class","mo-axis-point").attr("r",function(t,e){return e%2==0?2:0}).attr("cx",this.xAxisScale).attr("cy",this.height)},ScatterChart.prototype.renderPoint=function(){function jk(t,e){e=F.getColor(e,n.colors),n.mainSvg.append("g").selectAll(".mo-data-point").data(t).enter().append("circle").attr("fill",e).attr("cx",0).attr("cy",n.height).attr("r",n.pointRadius).transition().duration(1e3).attr("cx",function(t){return n.xAxisScale(t.values[0])}).attr("cy",function(t){return n.yAxisScale(t.values[1]||0)})}var n=this;"grouped"===this.groupType&&0<this.categories.length?this.categories.forEach(function(t,e){return jk(t.value,e)}):jk(this.displayData,0)},ScatterChart.prototype.renderLabel=function(){var n=this,t=this.legendsSvg.append("g"),t=(t.attr("transform","translate(0, 0)"),t.append("text").attr("x",0).attr("y",20).attr("class","mo-label-title").text(F.formatDomainValue(this.groupings[1].label,this.legendSvgWidth,!1)),t.selectAll(".mo-label").data(this.categories).enter().append("g").attr("class","mo-label"));t.append("rect").attr("width","15").attr("height","15").attr("x",0).attr("y",function(t,e){return 35+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),t.append("text").attr("x",25).attr("y",function(t,e){return 47+25*e}).attr("class","mo-legend-text").style("fill",this.labelColor||"").text(function(t){return F.formatDomainValue(t.key,n.legendSvgWidth,!1)})},ScatterChart.prototype.refactorGroupedData=function(){var n=[];this.displayData.forEach(function(e){e.pieces&&0<e.pieces.length&&e.pieces.forEach(function(t){n.push({label:e.label,group:t.label,values:t.values})})}),this.categories=Array.from(c.group(n,function(t){return t.group}),function(t){return{key:t[0],value:t[1]}})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],ScatterChart.prototype,"data",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],ScatterChart.prototype,"groupings",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],ScatterChart.prototype,"aggregates",void 0),__decorate([t.Prop({type:Object,default:function(){return{top:20,right:20,bottom:85,left:70}}}),__metadata("design:type","function"==typeof(p="undefined"!=typeof ChartMargin&&ChartMargin)?p:Object)],ScatterChart.prototype,"margin",void 0),__decorate([t.Prop({type:Number,default:function(){return 3}}),__metadata("design:type",Number)],ScatterChart.prototype,"pointRadius",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],ScatterChart.prototype,"decimal",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],ScatterChart.prototype,"groupType",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],ScatterChart.prototype,"colors",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],ScatterChart.prototype,"labelColor",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],ScatterChart.prototype,"onDataChanged",null);function Ha(){var t=this,e=t.$createElement,e=t._self._c||e;return"grouped"===t.groupType||0<t.categories.length?e("div",{staticClass:"chart-container chart-having-tips"},[t._m(0),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()]):e("div",{staticClass:"chart-container chart-having-tips"},[e("div",{staticClass:"main-chart"}),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()])}function Ja(t){t&&t("data-v-6ee0dd74_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var w,p=__decorate([t.Component({})],ScatterChart),at=(Ha._withStripped=!0,normalizeComponent({render:Ha,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-and-legends"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},Ja,p,void 0,!1,void 0,!1,createInjector,void 0,void 0)),C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkUxOTdBMEMwMkEwQzExRTZCMjUzODM5RjQyNEZFMUQ3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkUxOTdBMEMxMkEwQzExRTZCMjUzODM5RjQyNEZFMUQ3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RTE5N0EwQkUyQTBDMTFFNkIyNTM4MzlGNDI0RkUxRDciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RTE5N0EwQkYyQTBDMTFFNkIyNTM4MzlGNDI0RkUxRDciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4/Y8gIAAAEC0lEQVR42syZS0gVYRTHv3vRHpYtUhdSKQZpCqGQIphFKtSmBxVUUosyRTO1xyqiWvTY9zAxCzcaWpBCEEFFlo/CtDZBPhZFpbiwu+lhckvtf+Q/9DHex+idO3bgz3XuzHznd883833nHF1r7t9QczA3lAXlQZlQMrQCWsLzP6FhaBDqhdqgHmjSPNDg7vKAjiJmCbYSOgYdgFYFuG4htBxaB+3hd1+gO5BEZMiqQ6uAMdAFqBhawO8+QI+hTqgP+gR957loKBFKhXKhrVASdBo6Bd2GzkMeOwD38lfHcoruQlehVwHu8VBvGTUXtIHRl/HK+VnB8fyaK8AzKPDXoTIeP4MqofcqNEvjuPk8rpVx8Sz+8few+7IoqJVw4/ylBTbAKY5RwGiO00drcktNlFVAiVwTtI3TtJlTbLfVcGwPfTUBMsIKYDW0AxrlA96twmfd9DFKn9XBAPdBpdAvaDvUr8JsePb66WtMfCOKhf4AY7RfcCLMkTNDiq+TxgwCMs4X4CUuJU+gOuWwAbKOK4Us8BfNgAnQEUhe9eNq/qyCDEWIYoIOeBSKhJq5KzhlEaYo9nHhjiTTNKDooLZoOmHyKHXJi4FIFZvO3eTnQZxzG1mJJAEfoZcOwclznsNIFZrOd5JFmLLc2pYjG/+UQ3AZPJ4wbwKY5imyiOUJ4HoedMwD3GEAtfi41mDJFMAUbY90FA5qCLBfi6UIYDwPPv8ncDpLvJvJpdKSzVCz7lDhdJZod5ALi7lHdtGZE3AzkgU9TTdbIZeCHDqLdQhuqRFJARzRtjtfqdcE/86wCGlH5BL5OSKAA1oqbrZWDq5DPg0AGcvzIU2rxjIggG94kOvn4gYTZLofSAMuPUQ4naXXzaJasTR0zRHSNjjsvy6yiLUJ4GsW0kl8GVQAyEM+INfaGDlFhiQy9bhZ6zbyZFmQmxt9QL6zEc7ICad9YRucNNZB2bC90H52A2YDGWEXHKY3lQW910giDMAhtiPE2RULY5kh7YicYkEvTPWI3pC5JjF6JVugkllAeu2AQ/RKWNALw1lfRZNHm3+JYrZFyBQb4LK1matC9DyBejO1rI2lmN7kQG0sq0A7JKVmHeBKg3UWqqAHvKGTJUG4LIs+4uiz0krrw8sk4RGL+XZmNXabjPmCPh6KT0TPa7W7JSnWTlZYi6BbXIzTbABL5Vgy5mL62AW4sdkmo7+5cD/n61/ARfkedC1IA3NGH5I7RAXXOQnMV74QTaF2WJv5i6UdUcTFXGS0gDtY7Eua/o33LGP6JtHaqP61gI1HqB46R0gVKqDiQFLpX2YUpNBfzQiXWRxjmMtStQpDE11pO440ws/wDcxn2ZrMQtvIhH/w2kGmc9IU8vlviGD2V4ABANQHM6YP3PIZAAAAAElFTkSuQmCC",k="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkUxOTdBMEJDMkEwQzExRTZCMjUzODM5RjQyNEZFMUQ3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkUxOTdBMEJEMkEwQzExRTZCMjUzODM5RjQyNEZFMUQ3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RTE5N0EwQkEyQTBDMTFFNkIyNTM4MzlGNDI0RkUxRDciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RTE5N0EwQkIyQTBDMTFFNkIyNTM4MzlGNDI0RkUxRDciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4IXIjoAAADkklEQVR42syZS0hUYRTHv7loD3sssllIpdRCnaBVDoIZpEJtehBBD3JlWVajPTZFWIssqF3lFDWFK2umNkIRQUVWSmFamyAfi6IacWGz6WEyhfY/9f/qMszjljNz74Efw53Hd/73fPf7vnPOuJpPX1b/YQbwgipQBorBAjCLn38Fw2AI9IFO0AsmYgdqObwrqaOcfxS2EOwD28GiJN+bDuaBZWAT3/sAroELIGzVoVWB+eAE2Amm8b034B7oBv3gHfjMz+aAIuABlWANWAyOgEPgKjgOIukQuJl3PZ9TdAOcA8+S/CZCXjJqLrCC0Zfx9vLVx/ESmivJMyjiW0EDrx+CRvBaTc2WctxqXl+ScfEs/kj0sMezPNBBceO805o0iFMco4bRHKePjmNnAnlWBUrkgmAtp2kVpzjddpFjR+grCJE5VgT6wXowyge8R2XOeuhjlD79qQRuAbvBN7AODKgMG569AfoaE9+I4rZEAvNNd3Agw5GLFSm+DuoZhEh3PIEnuZXcBwGVZYPIAHcK2eBbYgUWgh1Alvp+ZZ/5qKEOUSw0C9wDckGIp4Ithij2c+POpaZfAoVa06Zpt+mToxZRNHRWIknAW/DUAQK7qUU0eQ3TkSMH/6Td6jDNk9QiViUCl/OiSznHtJYyEVhiOiOdYlpLiQgs4MV7BwnUWgoMJpfKlGw6wf4kvoZyuBkxabpTbLaOpAgcMR13TrEivo6IwEFTKu4U01oGReALXlQ6SKDW0mewqFYsDV12K8P566IWsU4R+JyFtNStFQ6IXgW1iKZeg7VuOz9scIBAH1/bcS5P6H1QqrYo2MpugF3T62FBH9WVpBYYZjtCyr6zNkavlZraEL1wbE2ieyWrQb0N0atnQS8amuMVTRHT/EsUy7Mortw0c02IXiRRXRxiyi1tiNugNAviSulLfAYg7nqqzkITuAXcTL+9GdTnpQ83fTZaaX3ICpLq/i6L+Sfqd18w3SZjPqaPO+IT0Yta7W5JG2IDp3sGuAIepOm89nAsGXMmfWyEuDGVoJOVyL5z437E5S8r7BW4Cc6r5A3MWHPxhPBxn5PAfOSCCCb7oZUOa4h3LO2IOm7mgm4Bd7HYlzT9E38zl+mbRGul+tsC1o9Qm6wPilRTFag4kFT6pxgFKfSXMMJWj8dhHql+lYEmujKdONIIP8oVWM2ytZiFts6Ev/C7Q0znpCkU92+IVPZTgAEAL2fkkNJ1cvgAAAAASUVORK5CYII=";function TableChart(){var t=null!==w&&w.apply(this,arguments)||this;return t.ready=!1,t.checkedImage=C,t.uncheckedImage=k,t.maxDisplayCount=20,t}__extends(TableChart,w=t.Mixins(a)),TableChart.prototype.mounted=function(){this.ready=!0},TableChart.prototype.isNumber=function(t){t=this.data.headers[t];return t&&("datetime"===t.dataType||"currency"===t.dataType||"date"===t.dataType||"int"===t.dataType||"double"===t.dataType||"percent"===t.dataType||"boolean"===t.dataType)},TableChart.prototype.isBoolean=function(t){t=this.data.headers[t];return t&&"boolean"===t.dataType},TableChart.prototype.getCellWidth=function(t){var e=this.getWidth(),n=this.data.headers.length,a=e/n;return 0<a.toString().indexOf(".")&&t===n-1?e-(n-1)*Math.floor(a):Math.floor(a)},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(p="undefined"!=typeof TableData&&TableData)?p:Object)],TableChart.prototype,"data",void 0);function Sa(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"mo-chart"},[n.ready&&n.data&&n.data.rows&&0<n.data.rows.length?a("div",{staticClass:"mo-table"},[a("div",{staticClass:"mo-table-row header-row"},n._l(n.data.headers,function(t,e){return a("div",{key:t.label,staticClass:"mo-table-cell",class:{"mo-table-right-cell":n.isNumber(e)},style:{width:n.getCellWidth(e)+"px"},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[a("div",{staticClass:"header-label",class:{"have-sort":t.sortOrder}},[n._v("\n "+n._s(t.label)+"\n "),t.sortOrder?a("span",{staticClass:"sort-icon"},["asc"===t.sortOrder?a("svg",{staticStyle:{width:"14px",height:"14px"},attrs:{"aria-hidden":"true",viewBox:"0 0 520 520"}},[a("path",{attrs:{d:"M414 210c8-8 8-19 0-27L264 36a20 20 0 00-28 0L86 183c-8 8-8 19 0 27l28 27c8 8 20 8 28 0l47-46c8-8 22-2 22 9v270c0 10 9 20 20 20h40c11 0 20-11 20-20V200c0-12 14-17 22-9l47 46c8 8 20 8 28 0z",fill:"rgb(91, 220, 239)"}})]):"desc"===t.sortOrder?a("svg",{staticStyle:{width:"14px",height:"14px"},attrs:{"aria-hidden":"true",viewBox:"0 0 520 520"}},[a("path",{attrs:{d:"M96 310c-8 8-8 19 0 27l150 147c8 8 20 8 28 0l151-147c8-8 8-19 0-27l-28-27a20 20 0 00-28 0l-47 46c-8 8-22 3-22-9V50c0-10-9-20-20-20h-40c-11 0-20 11-20 20v270c0 12-14 17-22 9l-47-46a20 20 0 00-28 0z",fill:"rgb(91, 220, 239)"}})]):n._e()]):n._e()])])}),0),n._v(" "),n._l(n.data.rows.slice(0,n.maxDisplayCount),function(t,e){return a("div",{key:e,staticClass:"mo-table-row"},n._l(t.cells,function(t,e){return a("div",{key:e,staticClass:"mo-table-cell",class:{"mo-table-right-cell":n.isNumber(e)},style:{width:n.getCellWidth(e)+"px"},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[n.isBoolean(e)?a("img",{staticClass:"mo-table-checkbox-cell",attrs:{src:"1"===t.label||"true"===t.label?n.checkedImage:n.uncheckedImage}}):a("span",[n._v(n._s(t.label))])])}),0)}),n._v(" "),a("div",{staticClass:"mo-table-row total-row"},n._l(n.data.totals,function(t,e){return a("div",{key:e,staticClass:"mo-table-cell",class:{"mo-table-right-cell":n.isNumber(e)},style:{width:n.getCellWidth(e)+"px"},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[n._v("\n "+n._s(t.label)+"\n ")])}),0),n._v(" "),n.data&&n.data.rows&&20<n.data.rows.length?a("div",{staticClass:"chart-limit-tips"},[n._v("\n "+n._s(n.CHART_LIMIT_TIPS_TEXT)+"\n ")]):n._e()],2):n._e(),n._v(" "),n.ready&&n.data&&n.data.rows&&0===n.data.rows.length?a("div",{staticClass:"no-data"},[n._v("\n We can't draw this chart because there is no data.\n ")]):n._e()])}function Ua(t){t&&t("data-v-63fba983_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}\n.no-data {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #fff;\n}\n@media (prefers-color-scheme: dark) {\n.no-data {\n background-color: #1c1c1e;\n color: #6e6e6e;\n}\n}',map:void 0,media:void 0})}var A,a=__decorate([t.Component({})],TableChart),ot=(Sa._withStripped=!0,normalizeComponent({render:Sa,staticRenderFns:[]},Ua,a,void 0,!1,void 0,!1,createInjector,void 0,void 0));function MoGlossaryChart(){return null!==A&&A.apply(this,arguments)||this}__extends(MoGlossaryChart,A=t.Vue),MoGlossaryChart.prototype.parseRichText=function(e){try{return JSON.parse(e).map(function(t){var e,n=t.insert;return"↵"===n||"\n"===n?n="<br />":(n.includes("↵")||n.includes("\n"))&&(n=n.replace(/[\u21B5\n]/g,"<br />")),n=t.attributes&&(e=[],(t=t.attributes).size&&e.push("font-size: "+t.size),t.bold&&(n="<strong>"+n+"</strong>"),t.align&&e.push("text-align: "+t.align),0<e.length)?'<span style="'+e.join(";")+'">'+n+"</span>":n}).join("")}catch(t){return console.error("解析富文本失败:",t),e}},__decorate([t.Prop({type:String,required:!0}),__metadata("design:type",String)],MoGlossaryChart.prototype,"content",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],MoGlossaryChart.prototype,"title",void 0);function _a(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"mo-glossary-chart"},[t.title?e("div",{staticClass:"mo-glossary-header"},[e("h3",{staticClass:"mo-glossary-title"},[t._v(t._s(t.title))])]):t._e(),t._v(" "),e("div",{staticClass:"mo-glossary-content"},[e("div",{domProps:{innerHTML:t._s(t.parseRichText(t.content))}})])])}function b0(t){t&&t("data-v-f5396020_0",{source:"/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-glossary-chart[data-v-f5396020] {\n padding: 2rem 1rem;\n width: 100%;\n height: 100%;\n background-color: #fff;\n color: #16325c;\n line-height: 2rem;\n text-align: left !important;\n}\n.mo-glossary-header[data-v-f5396020] {\n margin-bottom: 16px;\n}\n.mo-glossary-title[data-v-f5396020] {\n font-size: 16px;\n font-weight: 600;\n margin: 0;\n}\n.mo-glossary-content[data-v-f5396020] {\n line-height: 2.2rem;\n}\n@media (prefers-color-scheme: dark) {\n.mo-glossary-chart[data-v-f5396020] {\n background-color: #1c1c1e;\n color: #f2f2f7;\n}\n}",map:void 0,media:void 0})}function g0(t){t.component("MoBarChart",J),t.component("MoBarChartHorizontal",q),t.component("MoPieChart",$),t.component("MoLineChart",K),t.component("MoFunnelChart",tt),t.component("MoGaugeChart",et),t.component("MoMetricChart",nt),t.component("MoScatterChart",at),t.component("MoTableChart",ot),t.component("MoGlossaryChart",rt)}var p=__decorate([t.Component({})],MoGlossaryChart),rt=(_a._withStripped=!0,normalizeComponent({render:_a,staticRenderFns:[]},b0,p,"data-v-f5396020",!1,void 0,!1,createInjector,void 0,void 0)),a=(DataConvertor.prototype.refactorPieces=function(t){var a,o=this,r=[];return t.forEach(function(t){var e;t.pieces&&0<(null==(e=t.pieces)?void 0:e.length)&&t.pieces.forEach(function(t){r.indexOf(t.label)<0&&r.push(t.label)})}),0===r.length?t:(a=[],t.forEach(function(e){var t=JSON.parse(JSON.stringify(e)),n=[];r.forEach(function(t){e.pieces&&0<e.pieces.length&&(t=o.getNewPiece(e.pieces,t),n.push(t))}),t.pieces=n,a.push(t)}),a)},DataConvertor.prototype.getNewPiece=function(t,e){var n=t.findIndex(function(t){return t.label===e});return 0<=n?t[n]:{label:e,pieces:[],values:[0]}},DataConvertor);function DataConvertor(){this.metadata=null,this.data=null,this.languageLocaleKey=""}__extends(DashboardDataConvertor,it=a),DashboardDataConvertor.prototype.init=function(t,e){this.metadata=this.refactorMetadata(t,e),this.data=this.refactorData(t,e)},DashboardDataConvertor.prototype.refactorMetadata=function(t,e){var a={},e=e.reportResult||{},o=e.reportMetadata,r=e.reportExtendedMetadata,e=t.properties;if(o&&(a.reportId=o.id,a.reportName=o.name),a.header=t.header,a.footer=t.footer,a.title=t.title,e){if("RichText"===e.visualizationType)return a.content=e.content.richTextContent,a.title=e.additionalInfo,a.chartType="RichText",a;a.aggregateColumns=[],a.groupingColumns=[],r&&(t=e.aggregates,n=e.groupings,t&&t.forEach(function(t){var e,n,t=r.aggregateColumnInfo[t.name];t&&(e="","currency"===t.dataType&&(e=(null==o?void 0:o.currency)||""),n=t.label,t=t.dataType,a.aggregateColumns.push({label:n,dataType:t,unitSymbol:e}))}),n)&&n.forEach(function(t){var e,t=r.groupingColumnInfo[t.name];t&&(e=t.label,t=t.dataType,a.groupingColumns.push({label:e,dataType:t}))});var t=e.visualizationType,n=e.visualizationProperties,e=(a.chartType=t,n.showValues),t=n.showPercentages,i=n.showTotal,l=n.showRange,s=n.groupByType,c=n.combineSmallGroups,n=n.aggregateVisualizationInfos,n=void 0===n?[]:n;a.showValues=e,a.showPercentages=t,a.showTotal=i,a.showRange=l,a.groupByType=s,a.combineSmallGroups=c,1<n.length&&(e=n[0],t=n[1],a.plotOnSecondAxis=e.axis!==t.axis,a.plotAsLineChart="Line"===t.visualizationType)}return a},DashboardDataConvertor.prototype.refactorData=function(t,e){var n,e=e.reportResult,a=t.properties;if(a&&"RichText"===a.visualizationType)(n={}).content=a.content.richTextContent,n.title=a.additionalInfo,n.chartType="RichText";else if(e&&a){var o=e.groupingsDown.groupings,r=e.factMap,i=e.reportExtendedMetadata,l=e.reportMetadata;switch(a.visualizationType){case"Table":case"FlexTable":n=this.refactorTableData({groupings:o,factMap:r,properties:a,reportExtendedMetadata:i,reportMetadata:l});break;case"Gauge":n=this.refactorGaugeData({factMap:r,properties:a,reportMetadata:l});break;case"Metric":n=this.refactorMetricData({properties:a,factMap:r,reportMetadata:l});break;default:n=this.refactorCommonData({groupings:o,factMap:r,reportMetadata:l,properties:a})}}return n},DashboardDataConvertor.prototype.refactorTableData=function(t){var i,l,s,a,o,r,c,n,d=this,e=t.groupings,p=t.factMap,h=t.properties,m=t.reportExtendedMetadata,g=t.reportMetadata,u={headers:[],rows:[],totals:[],reportMetadata:g},t=h.visualizationProperties,f=h.sort,b=h.groupings,x=h.visualizationType,v=t.tableColumns,y=m.groupingColumnInfo,w=m.aggregateColumnInfo,_=m.detailColumnInfo,C=-1,S="",k="",A=b.length,T=[],M=[],z=[],R=[];function lo(t,e){var n=t.cells[C].value,a=e.cells[C].value,t=t.cells[C].label.toLowerCase(),e=e.cells[C].label.toLowerCase(),o=0,r=0;if("date"===k||"datetime"===k||"time"===k)o=i("-"===t?"1/1/1970 00:00 am":n),r=i("-"===e?"1/1/1970 00:00 am":a);else{if("currency"!==k&&"percent"!==k&&"double"!==k&&"int"!==k)return s(t,e);o=isNaN(parseFloat(n))?0:parseFloat(n),r=isNaN(parseFloat(a))?0:parseFloat(a)}return l(o,r)}return u.headers=[],v.forEach(function(e,t){S="",f&&f.column===e.column&&(C=t,S=f.sortOrder.toLowerCase()),e.showTotal&&R.push(t);var n,a,o={};"grouping"===e.type&&y[e.column]?(o=y[e.column],(a=b.filter(function(t){return t.name===e.column}))&&1===a.length&&(C=t,S=null==(n=a[0].sortOrder)?void 0:n.toLowerCase()),0===y[e.column].groupingLevel?T.push(t):1===y[e.column].groupingLevel&&M.push(t)):"aggregate"===e.type&&w[e.column]?(o=w[e.column],(a=b.filter(function(t){return t.sortAggregate===e.column}))&&1===a.length&&(C=t,S=null==(n=a[0].sortOrder)?void 0:n.toLowerCase()),z.push(t)):_[e.column]&&(o=_[e.column]),S&&(o.sortOrder=S),u.headers.push(o)}),u.rows=[],0<e.length?e.forEach(function(t){var e,o,r,i,n;0<t.groupings.length&&1<A?(n=t).groupings.forEach(function(e){var o={cells:[]},r=(T.forEach(function(t){o.cells[t]={label:n.label,value:n.value}}),M.forEach(function(t){o.cells[t]={label:e.label,value:e.value}}),p[e.key+"!T"].aggregates),i=0;z.forEach(function(t){var e=v[t].column,e=(w[e]||{}).dataType,e="currency"===(void 0===e?"":e)&&(null==g?void 0:g.currency)||"",n=r[i],a=n.value,n=n.label,n=d.formatCurrencyLabel(n,e);o.cells[t]={label:n,value:a||0},i+=1}),u.rows.push(o)}):(e=t,o={cells:[]},0<T.length?T.forEach(function(t){o.cells[t]={label:e.label,value:e.value}}):M.forEach(function(t){o.cells[t]={label:e.label,value:e.value}}),r=p[e.key+"!T"].aggregates,i=0,z.forEach(function(t){var e=v[t].column,e=(w[e]||{}).dataType,e="currency"===(void 0===e?"":e)&&(null==g?void 0:g.currency)||"",n=r[i],a=n.value,n=n.label,n=d.formatCurrencyLabel(n,e);o.cells[t]={label:n,value:a||0},i+=1}),u.rows.push(o))}):p["T!T"]&&p["T!T"].rows&&p["T!T"].rows.forEach(function(t){var n={cells:[]};t.dataCells.forEach(function(t){var e=t.value&&t.value.currency?F.formatValue(t.value.amount,t.value.currency,2):t.label;n.cells.push({label:e,value:t.value})}),u.rows.push(n)}),i=function(t){return new Date(t).getTime()},l=function(t,e){return"desc"===u.headers[C].sortOrder?e-t:t-e},s=function(t,e){return"desc"===u.headers[C].sortOrder?"-"===t&&"-"!==e?1:"-"!==t&&"-"===e?-1:e.localeCompare(t):"-"===t&&"-"!==e?-1:"-"!==t&&"-"===e?1:t.localeCompare(e)},f&&(y[f.column]?k=y[f.column].dataType:w[f.column]?k=w[f.column].dataType:_[f.column]&&(k=_[f.column].dataType),0<T.indexOf(C)||M.indexOf(C),u.rows.sort(lo)),h.maxRows&&(u.rows=u.rows.slice(0,h.maxRows)),u.totals=[],"FlexTable"===x?(a=g.aggregates,o=g.currency,r=p["T!T"].aggregates,0<R.length&&v.forEach(function(t,e){var n;0===e?u.totals[e]={label:"Total"}:(t=t.column,n=[t,"s!"+t,"a!"+t,"m!"+t,"x!"+t],0<=(t=a.findIndex(function(t){return n.includes(t)}))?(t=r[t].value?F.formatValue(r[t].value,o,2):r[t].label,u.totals[e]={label:t}):u.totals[e]={label:"-"})})):(n={},u.rows.forEach(function(t){t.cells.forEach(function(t,e){v[e].showTotal&&(void 0===n[e]&&(n[e]=0),n[e]+=t.value)})}),c=n,0<R.length&&v.forEach(function(t,e){var n,a,o;0===e?u.totals[0]={label:"Total"}:c[e]?(n=c[e],a=t.scale,t=t.isPercent,void 0===a&&(a=2),o=(t=void 0!==t&&t)?100*n:n,n=(o=0<n.toString().indexOf(".")?Number(o.toFixed(a)):o).toString().replace(/\d+/,function(t){return t.replace(/(\d)(?=(\d{3})+$)/g,"$1,")}),u.totals[e]={label:t?n+"%":n}):u.totals[e]={label:"-"}})),u},DashboardDataConvertor.prototype.refactorGaugeData=function(t){var e=t.factMap,n=t.properties,t=t.reportMetadata,a={value:e["T!T"]?e["T!T"].aggregates[0].value:"",minValue:0,maxValue:0,breakRange:"",reportMetadata:t},e=n.visualizationProperties.breakPoints[0].breaks,o=[];return e.forEach(function(t){t.upperBound&&!t.lowerBound&&o.indexOf(0)<0&&o.push(0),t.lowerBound&&o.indexOf(t.lowerBound)<0&&o.push(t.lowerBound),t.upperBound&&o.indexOf(t.upperBound)<0&&o.push(t.upperBound),a.value>t.lowerBound&&a.value<t.upperBound&&(a.breakRange="("+F.formatValue(t.lowerBound,"",0)+" -"+F.formatValue(t.upperBound,"",0)+" )")}),0<o.length?(a.minValue=Math.min.apply(null,o),a.maxValue=Math.max.apply(null,o)):(a.minValue=0,a.maxValue=3),a.value===a.minValue&&a.value===a.maxValue&&(a.maxValue+=1),a},DashboardDataConvertor.prototype.refactorMetricData=function(t){var e=t.properties,n=t.factMap,t=t.reportMetadata;return{label:e.visualizationProperties.metricLabel,value:n["T!T"]?n["T!T"].aggregates[0].value:0,reportMetadata:t}},DashboardDataConvertor.prototype.refactorCommonData=function(t){var e=this,n=t.groupings,a=t.factMap,o=t.reportMetadata,t=t.properties,r=[];return(t.maxRows?n.slice(0,t.maxRows):n).forEach(function(t){r.push(e.recursiveGrouping(t,a,o))}),r=this.refactorPieces(r)},DashboardDataConvertor.prototype.recursiveGrouping=function(t,e,n){var a=this,o={label:t.label,pieces:[],values:e[t.key+"!T"].aggregates.map(function(t){return t.value}),total:e["T!T"]?e["T!T"].aggregates[0].value:0,reportMetadata:n},t=t.groupings;return(void 0===t?[]:t).forEach(function(t){o.pieces.push(a.recursiveGrouping(t,e,n))}),o},DashboardDataConvertor.prototype.formatCurrencyLabel=function(t,e){return t.includes(e)?t:e+" "+t};var it,lt=DashboardDataConvertor;function DashboardDataConvertor(t,e){var n=it.call(this)||this;return n.init(t,e),n}__extends(ReportDataConvertor,st=a),ReportDataConvertor.prototype.init=function(t){this.metadata=this.refactorMetadata(t),this.data=this.refactorData(t),this.tableData=this.refactorTableData(t)},ReportDataConvertor.prototype.refactorMetadata=function(t){var e,n,a,o,r,i,l,s,c,d,p=t.reportMetadata,t=t.reportExtendedMetadata,h=t.groupingColumnInfo,m=t.aggregateColumnInfo,t=p.chart,g=p.currency;return t?(e=t.groupings,n=t.summaries,a=t.summaryAxisLocations,o=t.summaryVisualizationTypes,r=t.chartType,i=t.showChartPercentages,l=t.showChartTotal,s=t.showRange,c=t.combineSmallGroups,d=t.showChartValues,{groupingColumns:e.map(function(t){t=h[t];return{label:t.label,dataType:t.dataType}}),aggregateColumns:n.map(function(t){var t=m[t],e=t.label,t=t.dataType;return{label:e,dataType:t,unitSymbol:"currency"===t&&(null==p?void 0:p.currency)||""}}),chartType:r,currency:g,showPercentages:i,showTotal:l,showRange:s,combineSmallGroups:c,showValues:d,groupByType:this.getGroupType(t.chartType),plotOnSecondAxis:1<a.length&&a[0]!==a[1],plotAsLineChart:1<o.length&&"Line"===o[1]}):{groupingColumns:[],aggregateColumn:[],chartType:"",showPercentages:!1,showTotal:!1,showRange:!1,groupByType:"",combineSmallGroups:!1,showValues:!1,currency:g}},ReportDataConvertor.prototype.refactorData=function(t){var e,o,a,r,i,l,s,c,d,p,n=this,h=t.factMap,m=t.reportMetadata,t=t.groupingsDown,g=m.chart,u=m.aggregates,m=m.groupingsDown,t=t.groupings,f=[];return g&&(e=g.groupings,o=g.summaries,a=o.map(function(t){return u.indexOf(t)}),r=this.getYIndex(m,e),i=this.getGroupedIndex(m,e),l=0,s={},d=c="",p=function(n){l===i&&(d=n.label),l===r&&(c=n.label,s[c]||(s[c]=r===i?[]:{})),r<=i&&l===i||i<r&&l===r?r===i?(s[c]=s[c]||[],a.forEach(function(t,e){s[c][e]=h[n.key+"!T"].aggregates[t].value})):r<i?(s[c][n.label]=s[c][n.label]||[],a.forEach(function(t,e){s[c][n.label][e]=h[n.key+"!T"].aggregates[t].value})):i<r&&(s[c][d]=s[c][d]||[],a.forEach(function(t,e){s[c][d][e]=h[n.key+"!T"].aggregates[t].value})):(l+=1,n.groupings.forEach(function(t){p(t)}),--l)},t.forEach(function(t){l+=1,p(t),--l}),g=Object.keys(s),g.forEach(function(e){var a;r===i?f.push({label:e,values:s[e],reportMetadata:n.metadata}):(a={label:e,pieces:[],values:[],reportMetadata:n.metadata},Object.keys(s[e]).forEach(function(t){a.pieces.push({label:t,values:s[e][t]})}),a.values=[],(a.pieces||[]).forEach(function(n){o.forEach(function(t,e){a.values[e]=a.values[e]||0,a.values[e]+=n.values[e]||0})}),f.push(a))}),f=this.refactorPieces(f)),f},ReportDataConvertor.prototype.getGroupType=function(t){return 0<=t.indexOf(" Cumulative Grouped")?"cumulativeGrouped":0<=t.indexOf(" Cumulative")?"cumulative":0<=t.indexOf(" Grouped")?"grouped":0<=t.indexOf(" Stacked to 100")?"stacked100":0<=t.indexOf(" Stacked")?"stacked":""},ReportDataConvertor.prototype.getYIndex=function(t,e){t=t.findIndex(function(t){return t.name===e[0]});return 0<=t?t+1:1},ReportDataConvertor.prototype.getGroupedIndex=function(t,e){var n=2===e.length?e[1]:e[0],e=t.findIndex(function(t){return t.name===n});return 0<=e?e+1:1},ReportDataConvertor.prototype.refactorTableData=function(t){var e=t.reportMetadata.reportFormat;return"MATRIX"===e?this.convertMatrix(t):"SUMMARY"===e?this.convertSummary(t):this.convertTabular(t)},ReportDataConvertor.prototype.convertTabular=function(t){var e=t.reportMetadata,n=t.reportExtendedMetadata,a=t.factMap,t=t.hasDetailRows,e=e.reportFormat,o=n.detailColumnInfo,n={format:e,showHeader:t,headers:Object.keys(o).map(function(t){return o[t]}),rows:[]},e=a["T!T"],a=e.rows,e=e.aggregates,t=(t&&(n.rows=a.map(function(t){return{id:R.v4(),type:"data",cells:t.dataCells}})),e.findIndex(function(t){return"RowCount"===t})),r=0;return-1<t?r=e[t].label:1===e.length?r=e[0].label:a&&(r=a.length),n.rows.push({id:R.v4(),type:"grand-total",label:"Grand Totals",grand:!0,background:this.getBackground(3),recordCount:r}),n},ReportDataConvertor.prototype.convertSummary=function(t){var l=this,e=t.reportMetadata,n=t.reportExtendedMetadata,a=t.groupingsDown,s=t.factMap,t=e.reportFormat,o=e.groupingsDown,c=e.aggregates,d=e.detailColumns,r=e.hasRecordCount,p=e.hasDetailRows,h=e.showSubtotals,e=e.showGrandTotal,i=n.groupingColumnInfo,m=n.detailColumnInfo,n=a.groupings,g={format:t,showHeader:!0,headers:[],rows:[],hasRecordCount:r},u=0,f=o.map(function(t){return i[t.name].label}),b=c.map(function(t){t=t.split("!");return t[1]||t[0]}),x=(d.forEach(function(t){(p||b.includes(t))&&g.headers.push(m[t])}),function(t){var e=t.key,n=t.label,a=t.groupings,t=t.value,o=e.split("_").length-1,r=l.getBackground(o),i={id:R.v4(),type:"group",level:o,background:r,margin:5*o,label:n,value:t,fieldLabel:f[o],recordCount:0},r=s[e+"!T"],n=r.aggregates,t=r.rows,o=c.findIndex(function(t){return"RowCount"===t});-1<o?i.recordCount=n[o].label:t&&((i.recordCount=0)<a.length?a.forEach(function(t){var e=t.groupings;0<e.length?e.forEach(function(t){t=s[t.key+"!T"].rows.length;i.recordCount+=t}):(e=s[t.key+"!T"].rows.length,i.recordCount+=e,u+=e)}):(e=t.length,u+=i.recordCount=e)),g.rows.push(i),0===a.length?p&&(r=t.map(function(t){return{id:R.v4(),type:"data",cells:t.dataCells}}),(o=g.rows).push.apply(o,r)):a.forEach(function(t){x(t)}),h&&(e={id:R.v4(),type:"subtotals",label:l.languageLocaleKey&&l.languageLocaleKey.startsWith("zh")?"小计":"Subtotals",grand:!1,background:l.getBackground(3)},g.rows.push(e),0<c.length)&&(t=l.getSummaryAggregateRows({aggregates:c,hasDetailRows:p,detailColumns:d,rowAggregates:n,background:e.background}),(o=g.rows).push.apply(o,t))}),a=(n.forEach(function(t){x(t)}),s["T!T"].aggregates),t=c.findIndex(function(t){return"RowCount"===t}),r=0,r=-1<t?a[t].label:u;return e&&(o={id:R.v4(),type:"grand-total",label:this.languageLocaleKey&&this.languageLocaleKey.startsWith("zh")?"总计":"Grand Total",grand:!0,background:this.getBackground(3),recordCount:r},g.rows.push(o),0<c.length)&&(n=this.getSummaryAggregateRows({aggregates:c,hasDetailRows:p,detailColumns:d,rowAggregates:a,background:o.background,isGrand:!0}),(t=g.rows).push.apply(t,n)),g},ReportDataConvertor.prototype.convertMatrix=function(t){function pt(t,e,n){for(var a={id:R.v4(),cells:[]},o=0;o<C;o+=1)a.cells.push({value:""});e?a.cells.push({label:v[e.name].label,value:v[e.name].label}):a.cells.push({label:"",value:""});for(var r=0;r<n;r+=1)a.cells.push({value:""});for(var i=0;i<t.dataCells.length;i+=1){if(!e||e.key!==i){a.cells.push({label:1,value:1,type:"int"});break}a.cells.push(D({type:v[e.name].dataType},t.dataCells[i]))}for(var l=A-(C+1)-n-k.length-1,s=0;s<l;s+=1)a.cells.push({value:""});return k.forEach(function(n){t.dataCells.forEach(function(t,e){n.key===e&&a.cells.push(D({type:v[n.name].dataType},t))})}),a}var a,e,n,i=this,o=t.reportMetadata,r=t.reportExtendedMetadata,l=t.groupingsAcross,s=t.groupingsDown,m=t.factMap,t=o.groupingsAcross,c=o.groupingsDown,g=o.aggregates,d=o.detailColumns,p=o.reportFormat,u=o.hasRecordCount,f=o.hasDetailRows,b=o.showSubtotals,o=o.showGrandTotal,h=r.groupingColumnInfo,x=r.aggregateColumnInfo,v=r.detailColumnInfo,y=l.groupings,r=s.groupings,w={showHeader:!0,format:p,headers:[],rows:[]},_=t.length,C=c.length,S=[],k=[],A=1<g.length||1<_?C+1:C;if(f)for(var T=0;T<d.length;T+=1){var M=d[T];(0<g[0].indexOf(M)?S:k).push({key:T,name:M})}return w.headers.push((a={cells:[]},l=1<g.length?"":x[g[0]].label,a.cells.push({value:l,colspan:1===_&&1<g.length?C+1:C}),t.forEach(function(t){0===h[t.name].groupingLevel&&a.cells.push({value:h[t.name].label,colspan:1===_?y.length:0,type:1===_?"group-value":""})}),y.forEach(function(t){var e=0,n=t.label,t=t.groupings;1===_||0===t.length?A+=1:(0<t.length&&(e=t.length+1,A+=e),a.cells.push({value:n,colspan:e,type:"group-value"}))}),a.cells.push({value:"Grand Total",type:"double"}),A+=1,f&&(A+=k.length,l=k.map(function(){return{value:""}}),(s=a.cells).push.apply(s,l)),a)),w.headers.push((e={cells:[]},p=c.map(function(t){return{value:h[t.name].label}}),(s=e.cells).push.apply(s,p),1<_?(t.forEach(function(t){1===h[t.name].groupingLevel&&e.cells.push({value:h[t.name].label})}),y.forEach(function(t){t.groupings.forEach(function(t){e.cells.push({value:t.label,type:"group-value"})}),e.cells.push({value:"Subtotal",type:"double"})})):(1<g.length&&(1<C||1===C&&1===_)&&e.cells.push({value:""}),s=y.map(function(t){return{value:t.label,type:"group-value"}}),(p=e.cells).push.apply(p,s)),e.cells.push({value:""}),f&&(p=k.map(function(t){return{value:v[t.name].label,type:v[t.name].dataType}}),(s=e.cells).push.apply(s,p)),e)),w.columnLength=A,r.forEach(function(a,h){var t,e,d;1<C?(a.groupings.forEach(function(e,d){var t,n=[],p=[];g.forEach(function(l,s){var c,t;"RowCount"===l&&!u||(c={id:R.v4(),cells:[]},0===d&&0===s?c.cells.push({label:a.label,value:a.label}):c.cells.push({value:""}),0===s?c.cells.push({label:e.label,value:e.label}):c.cells.push({value:""}),(1<g.length||1<_)&&c.cells.push(x[l]),y.forEach(function(r,i){1<_?r.groupings.forEach(function(t,e){var n,a=[h+"_"+d,i+"_"+e].join("!"),a=m[a],o=a&&a.aggregates?a.aggregates:[],a=a&&a.rows?a.rows:[],o=o[s]||{};o.type=x[l]?x[l].dataType:"",c.cells.push(o),f&&(n=(r.groupings.length+1)*i+e,a.forEach(function(e){0<S.length?p.push.apply(p,S.map(function(t){return pt(e,t,n)})):p.push(pt(e,null,n))}))}):f&&(t=(t=m[h+"_"+d+"!"+i])&&t.rows?t.rows:[],n=i,t.forEach(function(e){var t;0<S.length?S.forEach(function(t){t=pt(e,t,n);p.push(t)}):(t=pt(e,null,n),p.push(t))}));var n,t=m[h+"_"+d+"!"+i],t=t&&t.aggregates?t.aggregates:[];t&&0<t.length&&c.cells.push(D({type:x[l].dataType},t[s]))}),(t=(t=m[h+"_"+d+"!T"])&&t.aggregates?t.aggregates:[])&&0<t.length&&c.cells.push(D({type:x[l].dataType},t[s])),f&&k.forEach(function(){c.cells.push({value:""})}),n.push(c))}),(t=w.rows).push.apply(t,n),(t=w.rows).push.apply(t,p)}),b&&g.forEach(function(t,a){var o;"RowCount"===t&&!u||((o={id:R.v4(),cells:[]}).cells.push({value:""}),0===a?o.cells.push({label:i.languageLocaleKey&&i.languageLocaleKey.startsWith("zh")?"小计":"Subtotals",value:"Subtotal",type:"double"}):o.cells.push({value:""}),(1<g.length||1<_)&&o.cells.push({label:x[t].label,value:x[t].label}),y.forEach(function(t,n){t.groupings.forEach(function(t,e){e=[h,n+"_"+e].join("!");o.cells.push(D({type:"double"},m[e].aggregates[a]))}),o.cells.push(D({type:"double"},m[h+"!"+n].aggregates[a]))}),o.cells.push(D({type:"double"},m[h+"!T"].aggregates[a])),k.forEach(function(){o.cells.push({value:""})}),w.rows.push(o))})):(e=[],d=[],g.forEach(function(l,s){var c;("RowCount"!==l||u)&&(c={id:R.v4(),cells:[]},0===s?c.cells.push({label:a.label,value:a.value}):c.cells.push({value:""}),(1<g.length||1<_)&&c.cells.push({label:x[l].label,value:x[l].label,type:x[l].dataType}),y.forEach(function(r,i){var t,n;1<_?r.groupings.forEach(function(t,e){var n,a=[h,i+"_"+e].join("!"),a=m[a],o=a&&a.rows?a.rows:[],a=a&&a.aggregates?a.aggregates:[];c.cells.push(D({type:x[l].dataType},a[s])),f&&(n=(r.groupings.length+1)*i+e,o.forEach(function(e){var t;0<S.length?S.forEach(function(t){t=pt(e,t,n);d.push(t)}):(t=pt(e,null,n),d.push(t))}))}):f&&(t=(t=m[h+"!"+i])&&t.rows?t.rows:[],n=i,t.forEach(function(e){var t;0<S.length?S.forEach(function(t){t=pt(e,t,n);d.push(t)}):(t=pt(e,null,n),d.push(t))})),c.cells.push(D({type:x[l].dataType},m[h+"!"+i].aggregates[s]))}),c.cells.push(D({type:x[l].dataType},m[h+"!T"].aggregates[s])),f&&k.forEach(function(){c.cells.push({value:""})}),u)&&e.push(c)}),(t=w.rows).push.apply(t,e),(t=w.rows).push.apply(t,d))}),o&&(n=[],g.forEach(function(a,o){var r;"RowCount"===a&&!u||(r={id:R.v4(),cells:[]},0===o?r.cells.push({label:i.languageLocaleKey&&i.languageLocaleKey.startsWith("zh")?"总计":"Grand Total",value:"Grand Total",type:"double"}):r.cells.push({value:""}),1<C&&r.cells.push({value:""}),(1<g.length||1<_)&&r.cells.push({label:x[a].label,value:x[a].label}),y.forEach(function(t,n){1<_&&t.groupings.forEach(function(t,e){r.cells.push(D({type:x[a].dataType},m["T!"+n+"_"+e].aggregates[o]))}),r.cells.push(D({type:x[a].dataType},m["T!"+n].aggregates[o]))}),r.cells.push(D({type:x[a].dataType},m["T!T"].aggregates[o])),k.forEach(function(){r.cells.push({value:""})}),n.push(r))}),(l=w.rows).push.apply(l,n)),w},ReportDataConvertor.prototype.getSummaryAggregateRows=function(t){for(var l=t.aggregates,e=t.hasDetailRows,n=t.detailColumns,s=t.rowAggregates,a=t.background,t=t.isGrand,o=void 0!==t&&t,r=[],c={},d={s:"",m:"min",mx:"max",a:"avg"},i=(l.forEach(function(t){var e=t.split("!"),e=e[e.length-1];c[e]=c[e]||[],c[e].push(t)}),0),p=(Object.keys(c).forEach(function(t){c[t]&&c[t].length>i&&(i=c[t].length)}),0);p<i;p+=1)!function(i){var t={id:R.v4(),type:"group-aggregate",grand:o,background:a,cells:[]};n.forEach(function(o){var r;(e||c[o])&&(r={label:"",value:""},Object.keys(c).forEach(function(e){var t,n,a;o===e&&0<=(t=l.findIndex(function(t){return t===c[e][i]}))&&(n=l[t].split("!")[0],a=s[t].label,r.label=(n=d[n])?n+" "+a:a,r.value=s[t].value)}),t.cells.push(r))}),r.push(t)}(p);return r},ReportDataConvertor.prototype.getBackground=function(t){return"rgb("+(237-10*t)+", "+(241-10*t)+", "+(247-10*t)+")"};var st,T,ct=ReportDataConvertor;function ReportDataConvertor(t,e){var n=st.call(this)||this;return n.tableData={headers:[],rows:[],showHeader:!0,format:""},n.languageLocaleKey=e,n.init(t),n}function SFBarChart(){return null!==T&&T.apply(this,arguments)||this}__extends(SFBarChart,T=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFBarChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFBarChart.prototype,"metadata",void 0);function m0(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("bar-chart",{attrs:{"x-axis-mode":"vertical",data:t.data,groupings:t.metadata.groupingColumns,aggregates:t.metadata.aggregateColumns,"group-type":t.metadata.groupByType,"has-line-chart":t.metadata.plotAsLineChart,"has-second-axis":t.metadata.plotOnSecondAxis,"second-y-index":1,decimal:1}}):t._e()}var M,p=__decorate([t.Component({components:{BarChart:J}})],SFBarChart),P=(m0._withStripped=!0,normalizeComponent({render:m0,staticRenderFns:[]},void 0,p,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFFunnelChart(){return null!==M&&M.apply(this,arguments)||this}__extends(SFFunnelChart,M=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFFunnelChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFFunnelChart.prototype,"metadata",void 0);function v0(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("funnel-chart",{attrs:{data:t.data,decimal:2,"show-percentage":t.metadata.showPercentages,"show-value":t.metadata.showValues,"group-by":t.metadata.groupingColumns[0],aggregate:t.metadata.aggregateColumns[0],"combine-small-groups":t.metadata.combineSmallGroups}}):t._e()}var j,a=__decorate([t.Component({components:{FunnelChart:tt}})],SFFunnelChart),B=(v0._withStripped=!0,normalizeComponent({render:v0,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFGaugeChart(){return null!==j&&j.apply(this,arguments)||this}__extends(SFGaugeChart,j=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(p="undefined"!=typeof GaugeData&&GaugeData)?p:Object)],SFGaugeChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGaugeChart.prototype,"metadata",void 0);function E0(){var t=this,e=t.$createElement,e=t._self._c||e;return void 0!==t.data.value?e("gauge-chart",{attrs:{data:t.data,decimal:2,aggregate:t.metadata.aggregateColumns[0],"show-value":t.metadata.showValues,"show-percentage":t.metadata.showPercentages,"show-total":t.metadata.showTotal,"show-range":t.metadata.showRange}}):t._e()}var dt,a=__decorate([t.Component({components:{GaugeChart:et}})],SFGaugeChart),ht=(E0._withStripped=!0,normalizeComponent({render:E0,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFHorizontalBarChart(){return null!==dt&&dt.apply(this,arguments)||this}__extends(SFHorizontalBarChart,dt=t.Vue),Object.defineProperty(SFHorizontalBarChart.prototype,"isGrouped",{get:function(){return 0<this.data.length&&this.metadata.groupByType&&"none"!==this.metadata.groupByType&&!!this.data[0].pieces&&0<this.data[0].pieces.length},enumerable:!1,configurable:!0}),Object.defineProperty(SFHorizontalBarChart.prototype,"barHeight",{get:function(){return 1<this.metadata.aggregateColumns.length||this.isGrouped&&"grouped"===this.metadata.groupByType?13:23},enumerable:!1,configurable:!0}),Object.defineProperty(SFHorizontalBarChart.prototype,"barPadding",{get:function(){return 1<this.metadata.aggregateColumns.length||this.isGrouped&&"grouped"===this.metadata.groupByType?20:17},enumerable:!1,configurable:!0}),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFHorizontalBarChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFHorizontalBarChart.prototype,"metadata",void 0);function N0(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("bar-chart-horizontal",{attrs:{data:t.data,"x-axis-mode":"vertical",decimal:1,"value-position":"inner","bar-height":t.barHeight,"bar-padding":t.barPadding,"group-type":t.metadata.groupByType,groupings:t.metadata.groupingColumns,aggregates:t.metadata.aggregateColumns}}):t._e()}var mt,p=__decorate([t.Component({components:{BarChartHorizontal:q}})],SFHorizontalBarChart),E=(N0._withStripped=!0,normalizeComponent({render:N0,staticRenderFns:[]},void 0,p,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFLineChart(){return null!==mt&&mt.apply(this,arguments)||this}__extends(SFLineChart,mt=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFLineChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFLineChart.prototype,"metadata",void 0);function W0(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("line-chart",{attrs:{data:t.data,"group-type":t.metadata.groupByType,"show-value":t.metadata.showValues,decimal:2,groupings:t.metadata.groupingColumns,aggregates:t.metadata.aggregateColumns}}):t._e()}var gt,a=__decorate([t.Component({components:{LineChart:K}})],SFLineChart),L=(W0._withStripped=!0,normalizeComponent({render:W0,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFMetricChart(){return null!==gt&>.apply(this,arguments)||this}__extends(SFMetricChart,gt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(p="undefined"!=typeof MetricData&&MetricData)?p:Object)],SFMetricChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFMetricChart.prototype,"metadata",void 0);function db(){var t=this.$createElement;return(this._self._c||t)("metric-chart",{attrs:{data:this.data,aggregate:this.metadata.aggregateColumns[0],decimal:1}})}var ut,a=__decorate([t.Component({components:{MetricChart:nt}})],SFMetricChart),ft=(db._withStripped=!0,normalizeComponent({render:db,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFPieChart(){return null!==ut&&ut.apply(this,arguments)||this}__extends(SFPieChart,ut=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFPieChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFPieChart.prototype,"metadata",void 0),__decorate([t.Prop({type:Object,required:!1}),__metadata("design:type",Object)],SFPieChart.prototype,"area",void 0);function mb(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("pie-chart",{attrs:{data:t.data,donut:"Donut"===t.metadata.chartType,"show-value":t.metadata.showValues,"show-percentage":t.metadata.showPercentages,"show-total":t.metadata.showTotal,decimal:2,"group-by":t.metadata.groupingColumns[0],aggregate:t.metadata.aggregateColumns[0],"combine-small-groups":t.metadata.combineSmallGroups,area:t.area}}):t._e()}var bt,p=__decorate([t.Component({components:{PieChart:$}})],SFPieChart),O=(mb._withStripped=!0,normalizeComponent({render:mb,staticRenderFns:[]},void 0,p,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFScatterChart(){return null!==bt&&bt.apply(this,arguments)||this}__extends(SFScatterChart,bt=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFScatterChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFScatterChart.prototype,"metadata",void 0);function vb(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("scatter-chart",{attrs:{data:t.data,groupings:t.metadata.groupingColumns,aggregates:t.metadata.aggregateColumns,"group-type":t.metadata.groupByType,decimal:2}}):t._e()}var xt,a=__decorate([t.Component({components:{ScatterChart:at}})],SFScatterChart),H=(vb._withStripped=!0,normalizeComponent({render:vb,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFTableChart(){return null!==xt&&xt.apply(this,arguments)||this}__extends(SFTableChart,xt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(p="undefined"!=typeof TableData&&TableData)?p:Object)],SFTableChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFTableChart.prototype,"metadata",void 0);function Eb(){var t=this.$createElement;return(this._self._c||t)("table-chart",{attrs:{data:this.data}})}var vt,a=__decorate([t.Component({components:{TableChart:ot}})],SFTableChart),yt=(Eb._withStripped=!0,normalizeComponent({render:Eb,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFGlossaryChart(){return null!==vt&&vt.apply(this,arguments)||this}__extends(SFGlossaryChart,vt=t.Vue),Object.defineProperty(SFGlossaryChart.prototype,"content",{get:function(){var t;return(null==(t=this.data)?void 0:t.content)||""},enumerable:!1,configurable:!0}),Object.defineProperty(SFGlossaryChart.prototype,"title",{get:function(){var t;return(null==(t=this.metadata)?void 0:t.title)||""},enumerable:!1,configurable:!0}),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGlossaryChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGlossaryChart.prototype,"metadata",void 0);function Nb(){var t=this.$createElement;return(this._self._c||t)("glossary-chart",{attrs:{content:this.content,title:this.title}})}var wt,_t,p=__decorate([t.Component({components:{GlossaryChart:rt}})],SFGlossaryChart),Ct=(Nb._withStripped=!0,normalizeComponent({render:Nb,staticRenderFns:[]},void 0,p,void 0,!1,void 0,!1,void 0,void 0,void 0)),St=["All values are negative or zero.","Pie, donut, funnel, and stacked charts require at least one positive value to display."].join(" "),a=(__extends(SFChartMixins,wt=t.Vue),SFChartMixins.prototype.renderPrompt=function(t,e){return t("div",{staticClass:"sf-analytics-text"},e)},SFChartMixins.prototype.renderError=function(t,e){return t("div",{staticClass:"sf-analytics-error"},e)},__decorate([t.Prop({type:String,default:function(){return"We can't draw this chart because there is no data."}}),__metadata("design:type",String)],SFChartMixins.prototype,"noDataText",void 0),__decorate([t.Prop({type:String,default:function(){return St}}),__metadata("design:type",String)],SFChartMixins.prototype,"negativeDataText",void 0),__decorate([t.Component],SFChartMixins));function SFChartMixins(){return null!==wt&&wt.apply(this,arguments)||this}function SFDashboardChart(){var t=null!==_t&&_t.apply(this,arguments)||this;return t.functional=!0,t}__extends(SFDashboardChart,_t=t.Mixins(a)),Object.defineProperty(SFDashboardChart.prototype,"chartType",{get:function(){return this.refactoredMetadata&&this.refactoredMetadata.chartType||""},enumerable:!1,configurable:!0}),Object.defineProperty(SFDashboardChart.prototype,"hasError",{get:function(){return this.data&&this.data.status&&this.data.status.errorCode},enumerable:!1,configurable:!0}),Object.defineProperty(SFDashboardChart.prototype,"isEmpty",{get:function(){return!(!(this.data&&this.data.status&&"NO_DATA"===this.data.status.dataStatus||!this.chartType)&&this.refactoredData&&("Gauge"===this.chartType?this.refactoredData.value||0===this.refactoredData.value:!Array.isArray(this.refactoredData)||0!==this.refactoredData.length))},enumerable:!1,configurable:!0}),Object.defineProperty(SFDashboardChart.prototype,"isNegative",{get:function(){return("Pie"===this.chartType||"Donut"===this.chartType||"Funnel"===this.chartType||("Bar"===this.chartType||"Column"===this.chartType)&&this.refactoredMetadata.groupByType&&this.refactoredMetadata.groupByType.includes("stacked"))&&Array.isArray(this.refactoredData)&&!this.refactoredData.some(function(t){return 0<t.values[0]})},enumerable:!1,configurable:!0}),SFDashboardChart.prototype.render=function(t){var e,n=new lt(this.metadata,this.data),n=(this.refactoredData=n.data,this.refactoredMetadata=n.metadata,[]);return"RichText"===this.chartType?n.push(this.renderChart(t)):this.hasError?(e=this.data.status.errorSeverity+": "+this.data.status.errorMessage,n.push(this.renderError(t,e))):this.isEmpty?n.push(this.renderPrompt(t,this.noDataText)):this.isNegative?n.push(this.renderPrompt(t,this.negativeDataText)):n.push(this.renderChart(t)),t("div",{staticClass:"sf-analytics-chart",class:"sf-"+this.chartType.toLowerCase().replace(/\s/g,"-")+"-chart"},n)},SFDashboardChart.prototype.renderChart=function(t){var e={data:this.refactoredData,metadata:this.refactoredMetadata};if("RichText"===this.chartType)return t(Ct,{props:e});if("Bar"===this.chartType)return t(E,{props:e});if("Column"!==this.chartType){if("Donut"===this.chartType||"Pie"===this.chartType)return e.data=e.data.sort(function(t,e){return t.values[0]<e.values[0]?1:t.values[0]>e.values[0]?-1:t.label>e.label?1:t.label<e.label?-1:0}),t(O,{props:e});if("Funnel"===this.chartType)return t(B,{props:e});if("Gauge"===this.chartType)return t(ht,{props:e});if("Line"===this.chartType)return t(L,{props:e});if("Metric"===this.chartType)return t(ft,{props:e});if("Scatter"===this.chartType)return t(H,{props:e});if("Table"===this.chartType||"FlexTable"===this.chartType)return t(yt,{props:e});console.warn("What should I do? "+this.chartType),console.warn("Render as a bar chart.")}return t(P,{props:e})},__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],SFDashboardChart.prototype,"data",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],SFDashboardChart.prototype,"metadata",void 0);var kt,At=normalizeComponent({},function(t){t&&t("data-v-28c79a53_0",{source:"/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-analytics-chart {\n width: 100%;\n padding: 10px;\n background-color: #fff;\n transform: translate3d(0, 0, 0);\n}\n.sf-analytics-chart .sf-analytics-text {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.sf-analytics-chart .sf-analytics-error {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n color: #d74c3b;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n@media (prefers-color-scheme: dark) {\n.sf-analytics-chart {\n background-color: #1c1c1e;\n}\n.sf-analytics-chart .sf-analytics-text {\n color: #6e6e6e;\n}\n}",map:void 0,media:void 0})},__decorate([t.Component({components:{SFBarChart:P,SFFunnelChart:B,SFHorizontalBarChart:E,SFLineChart:L,SFGaugeChart:ht,SFMetricChart:ft,SFPieChart:O,SFScatterChart:H,SFTableChart:yt,SFGlossaryChart:Ct}})],SFDashboardChart),void 0,void 0,void 0,!1,createInjector,void 0,void 0);function SFReportChart(){var t=null!==kt&&kt.apply(this,arguments)||this;return t.functional=!0,t}__extends(SFReportChart,kt=t.Mixins(a)),Object.defineProperty(SFReportChart.prototype,"chartType",{get:function(){return this.refactoredMetadata&&this.refactoredMetadata.chartType||""},enumerable:!1,configurable:!0}),Object.defineProperty(SFReportChart.prototype,"isEmpty",{get:function(){return!this.refactoredData||0===this.refactoredData.length},enumerable:!1,configurable:!0}),SFReportChart.prototype.render=function(t){var e=new ct(this.data),e=(this.refactoredData=e.data,this.refactoredMetadata=e.metadata,[]);return this.isEmpty?e.push(this.renderPrompt(t,this.noDataText)):e.push(this.renderChart(t)),t("div",{staticClass:"sf-analytics-chart",class:"sf-"+this.chartType.toLowerCase().replace(/\s/g,"-")+"-chart"},e)},SFReportChart.prototype.renderChart=function(t){var e={data:this.refactoredData,metadata:this.refactoredMetadata,area:this.area};if("Horizontal Bar"===this.chartType||"Horizontal Bar Grouped"===this.chartType||"Horizontal Bar Stacked"===this.chartType||"Horizontal Bar Stacked to 100"===this.chartType)return t(E,{props:e});if("Vertical Bar"!==this.chartType&&"Vertical Bar Line"!==this.chartType&&"Vertical Bar Grouped"!==this.chartType&&"Vertical Bar Grouped Line"!==this.chartType&&"Vertical Bar Stacked"!==this.chartType&&"Vertical Bar Stacked Line"!==this.chartType&&"Vertical Bar Stacked to 100"!==this.chartType){if("Donut"===this.chartType||"Pie"===this.chartType)return e.data=e.data.sort(function(t,e){return t.values[0]<e.values[0]?1:t.values[0]>e.values[0]?-1:t.label>e.label?1:t.label<e.label?-1:0}),t(O,{props:e});if("Funnel"===this.chartType)return t(B,{props:e});if("Line"===this.chartType||"Line Cumulative"===this.chartType||"Line Grouped"===this.chartType||"Line Cumulative Grouped"===this.chartType)return t(L,{props:e});if("Scatter"===this.chartType||"Scatter Grouped"===this.chartType)return t(H,{props:e});console.warn("What should I do? "+this.chartType),console.warn("Render as a bar chart.")}return t(P,{props:e})},__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],SFReportChart.prototype,"data",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],SFReportChart.prototype,"area",void 0);var Tt,Mt=normalizeComponent({},function(t){t&&t("data-v-716f20e6_0",{source:"/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-analytics-chart {\n width: 100%;\n padding: 10px;\n background-color: #fff;\n transform: translate3d(0, 0, 0);\n}\n.sf-analytics-chart .sf-analytics-text {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.sf-analytics-chart .sf-analytics-error {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n color: #d74c3b;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n@media (prefers-color-scheme: dark) {\n.sf-analytics-chart {\n background-color: #1c1c1e;\n}\n.sf-analytics-chart .sf-analytics-text {\n color: #6e6e6e;\n}\n}",map:void 0,media:void 0})},__decorate([t.Component({components:{SFBarChart:P,SFFunnelChart:B,SFHorizontalBarChart:E,SFLineChart:L,SFPieChart:O,SFScatterChart:H}})],SFReportChart),void 0,void 0,void 0,!1,createInjector,void 0,void 0);function SFGroupingTableGroupRow(){return null!==Tt&&Tt.apply(this,arguments)||this}__extends(SFGroupingTableGroupRow,Tt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableGroupRow.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,required:!1}),__metadata("design:type",Object)],SFGroupingTableGroupRow.prototype,"hasRecordCount",void 0),__decorate([t.Inject("isCellID"),__metadata("design:type",Object)],SFGroupingTableGroupRow.prototype,"isID",void 0);function l1(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{staticClass:"group-row"},[t("div",{staticClass:"label",style:{"margin-left":e.data.margin}},[e._v(e._s(e.data.fieldLabel))]),e._v(" "),t("div",{staticClass:"label-mark"},[e._v(":")]),e._v(" "),t("div",{class:["value",e.isID(e.data.value)?"id":""],on:{click:function(t){return e.$emit("cell-clicked",e.data)}}},[e._v(e._s(e.data.label))]),e._v(" "),e.hasRecordCount?t("div",{staticClass:"count-left-mark"},[e._v("(")]):e._e(),e._v(" "),e.hasRecordCount?t("div",{staticClass:"count"},[e._v(e._s(e.data.recordCount))]):e._e(),e._v(" "),e.hasRecordCount?t("div",{staticClass:"count-right-mark"},[e._v(")")]):e._e()])}function n1(t){t&&t("data-v-35173242_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.group-row[data-v-35173242] {\n font-size: 1.2rem;\n padding: 0px 10px;\n position: relative;\n}\n.group-row[data-v-35173242]:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .group-row[data-v-35173242]:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .group-row[data-v-35173242]:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .group-row[data-v-35173242]:before {\n transform-origin: 0% 33%;\n}\n.group-row[data-v-35173242]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .group-row[data-v-35173242]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .group-row[data-v-35173242]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .group-row[data-v-35173242]:after {\n transform-origin: 66% 33%;\n}\n.group-row .label[data-v-35173242], .group-row .value[data-v-35173242], .group-row .count[data-v-35173242] {\n float: left;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.group-row .label[data-v-35173242], .group-row .count[data-v-35173242] {\n font-weight: bold;\n}\n.group-row .value[data-v-35173242], .group-row .count-left-mark[data-v-35173242] {\n margin-left: 5px;\n}\n.group-row .label[data-v-35173242], .group-row .value[data-v-35173242] {\n max-width: 30%;\n}\n.group-row .count[data-v-35173242] {\n max-width: calc(40% - 22px);\n}\n.group-row .label-mark[data-v-35173242], .group-row .count-left-mark[data-v-35173242], .group-row .count-right-mark[data-v-35173242] {\n float: left;\n width: 4px;\n}\n.group-row .value.id[data-v-35173242] {\n color: #09afe6;\n}',map:void 0,media:void 0})}var zt,p=__decorate([t.Component({})],SFGroupingTableGroupRow),Rt=(l1._withStripped=!0,normalizeComponent({render:l1,staticRenderFns:[]},n1,p,"data-v-35173242",!1,void 0,!1,createInjector,void 0,void 0));function SFGroupingTableAggregateRow(){return null!==zt&&zt.apply(this,arguments)||this}__extends(SFGroupingTableAggregateRow,zt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableAggregateRow.prototype,"data",void 0);function u1(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"aggregate-row"},n._l(n.data.cells,function(e,t){return a("div",{key:t,staticClass:"data-cell",on:{click:function(t){return n.$emit("cell-clicked",e)}}},[n._v("\n "+n._s(e.label)+"\n ")])}),0)}function w1(t){t&&(t("data-v-0280c2d0_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.aggregate-row[data-v-0280c2d0] {\n width: 100%;\n display: flex;\n flex-flow: row;\n align-items: center;\n font-size: 1.2rem;\n}\n.aggregate-row .data-cell[data-v-0280c2d0] {\n flex: 1;\n padding: 0px 10px;\n height: 41px;\n text-align: right;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:first-child {\n position: relative;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform-origin: 0% 33%;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform-origin: 66% 33%;\n}',map:void 0,media:void 0}),t("data-v-0280c2d0_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n@media (prefers-color-scheme: dark) {\n.aggregate-row .data-cell[data-v-0280c2d0] {\n position: relative;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform-origin: 66% 33%;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:first-child {\n position: relative;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform-origin: 0% 33%;\n}\n}',map:void 0,media:void 0}))}var Dt,a=__decorate([t.Component({})],SFGroupingTableAggregateRow),Ft=(u1._withStripped=!0,normalizeComponent({render:u1,staticRenderFns:[]},w1,a,"data-v-0280c2d0",!1,void 0,!1,createInjector,void 0,void 0));function SFGroupingTableTotalRow(){return null!==Dt&&Dt.apply(this,arguments)||this}__extends(SFGroupingTableTotalRow,Dt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableTotalRow.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,required:!1}),__metadata("design:type",Object)],SFGroupingTableTotalRow.prototype,"hasRecordCount",void 0);function D1(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"total-row"},[e("div",{staticClass:"label"},[t._v(t._s(t.data.label))]),t._v(" "),t.hasRecordCount&&"subtotals"!==t.data.type?e("div",{staticClass:"count-left-mark"},[t._v("(")]):t._e(),t._v(" "),t.hasRecordCount&&"subtotals"!==t.data.type?e("div",{staticClass:"count"},[t._v(t._s(t.data.recordCount))]):t._e(),t._v(" "),t.hasRecordCount&&"subtotals"!==t.data.type?e("div",{staticClass:"count-right-mark"},[t._v(")")]):t._e()])}function F1(t){t&&t("data-v-2e7fc55a_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.total-row[data-v-2e7fc55a] {\n font-size: 1.2rem;\n padding: 0px 10px;\n position: relative;\n}\n.total-row[data-v-2e7fc55a]:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .total-row[data-v-2e7fc55a]:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .total-row[data-v-2e7fc55a]:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .total-row[data-v-2e7fc55a]:before {\n transform-origin: 0% 33%;\n}\n.total-row[data-v-2e7fc55a]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .total-row[data-v-2e7fc55a]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .total-row[data-v-2e7fc55a]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .total-row[data-v-2e7fc55a]:after {\n transform-origin: 66% 33%;\n}\n.total-row .label[data-v-2e7fc55a], .total-row .count[data-v-2e7fc55a] {\n float: left;\n font-weight: bold;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.total-row .count-left-mark[data-v-2e7fc55a] {\n margin-left: 5px;\n}\n.total-row .label[data-v-2e7fc55a] {\n max-width: 20%;\n}\n.total-row .count[data-v-2e7fc55a] {\n max-width: calc(80% - 13px);\n}\n.total-row .count-left-mark[data-v-2e7fc55a], .total-row .count-right-mark[data-v-2e7fc55a] {\n float: left;\n width: 4px;\n}',map:void 0,media:void 0})}var Gt,p=__decorate([t.Component({})],SFGroupingTableTotalRow),Pt=(D1._withStripped=!0,normalizeComponent({render:D1,staticRenderFns:[]},F1,p,"data-v-2e7fc55a",!1,void 0,!1,createInjector,void 0,void 0));function SFGroupingTableDataRow(){var t=null!==Gt&&Gt.apply(this,arguments)||this;return t.checkedImage=C,t.uncheckedImage=k,t}__extends(SFGroupingTableDataRow,Gt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"data",void 0),__decorate([t.Inject("isCellNumber"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isNumber",void 0),__decorate([t.Inject("isCellBoolean"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isBoolean",void 0),__decorate([t.Inject("isCellHTML"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isHTML",void 0),__decorate([t.Inject("isCellURL"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isURL",void 0),__decorate([t.Inject("isCellPhone"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isPhone",void 0),__decorate([t.Inject("isCellEmail"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isEmail",void 0),__decorate([t.Inject("isCellText"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isText",void 0),__decorate([t.Inject("isCellID"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isID",void 0);function M1(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"data-row"},n._l(n.data.cells,function(e,t){return a("div",{key:t,class:["data-cell",n.isNumber(t)?"number-cell":""],on:{click:function(t){return n.$emit("cell-clicked",e)}}},[n.isID(e.value)?a("span",{staticClass:"id"},[n._v("\n "+n._s(e.label)+"\n ")]):n.isText(t)?a("span",[n._v("\n "+n._s(e.label)+"\n ")]):n.isHTML(t)?a("span",{domProps:{innerHTML:n._s(e.label)}}):n.isURL(t)||n.isPhone(t)||n.isEmail(t)?a("span",[n.isURL(t)&&e.value?a("a",{attrs:{href:e.value}},[n._v("\n "+n._s(e.value)+"\n ")]):n.isEmail(t)&&e.value?a("a",{attrs:{href:"mailto:"+e.value}},[n._v("\n "+n._s(e.label)+"\n ")]):n.isPhone(t)&&e.value?a("a",{attrs:{href:"tel:"+e.value}},[n._v("\n "+n._s(e.label)+"\n ")]):e.value?n._e():a("span",[n._v("\n "+n._s(e.label)+"\n ")])]):n.isBoolean(t)?a("img",{staticClass:"checkbox",attrs:{src:"true"===e.label?n.checkedImage:n.uncheckedImage}}):n._e()])}),0)}function O1(t){t&&(t("data-v-ee85494e_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.data-row[data-v-ee85494e] {\n width: 100%;\n display: flex;\n flex-flow: row;\n align-items: center;\n font-size: 1.2rem;\n}\n.data-row .data-cell[data-v-ee85494e] {\n flex: 1;\n padding: 0px 10px;\n height: 41px;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.data-row .data-cell[data-v-ee85494e]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .data-row .data-cell[data-v-ee85494e]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:after {\n transform-origin: 66% 33%;\n}\n.data-row .data-cell[data-v-ee85494e]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform-origin: 0% 33%;\n}\n.data-row .data-cell .checkbox[data-v-ee85494e] {\n width: 18px;\n padding-top: 13px;\n}\n.data-row .data-cell.number-cell[data-v-ee85494e] {\n text-align: right;\n}\n.data-row .data-cell .id[data-v-ee85494e] {\n color: #09afe6;\n}',map:void 0,media:void 0}),t("data-v-ee85494e_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n@media (prefers-color-scheme: dark) {\n.data-row .data-cell[data-v-ee85494e] {\n position: relative;\n}\n.data-row .data-cell[data-v-ee85494e]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .data-row .data-cell[data-v-ee85494e]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:after {\n transform-origin: 66% 33%;\n}\n.data-row .data-cell[data-v-ee85494e]:first-child {\n position: relative;\n}\n.data-row .data-cell[data-v-ee85494e]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform-origin: 0% 33%;\n}\n}',map:void 0,media:void 0}))}var jt,Bt,a=__decorate([t.Component({})],SFGroupingTableDataRow),Et=(M1._withStripped=!0,normalizeComponent({render:M1,staticRenderFns:[]},O1,a,"data-v-ee85494e",!1,void 0,!1,createInjector,void 0,void 0)),p=(__extends(SFTableRowMixins,jt=t.Vue),SFTableRowMixins.prototype.dispatch=function(t,e){for(var n=arguments,a=[],o=2;o<arguments.length;o++)a[o-2]=n[o];for(var r=this.$parent||this.$root,i=r.$options.name;r&&(!i||i!==t);)(r=r.$parent)&&(i=r.$options.name);r&&r.$emit.apply(r,__spreadArrays([e],a))},__decorate([t.Component],SFTableRowMixins));function SFTableRowMixins(){return null!==jt&&jt.apply(this,arguments)||this}function SFGroupingTableRow(){var t=null!==Bt&&Bt.apply(this,arguments)||this;return t.isNumber=t.isCellNumber,t.isBoolean=t.isCellBoolean,t.isURL=t.isCellURL,t.isHTML=t.isCellHTML,t.isPhone=t.isCellPhone,t.isEmail=t.isCellEmail,t.isText=t.isCellText,t.isID=t.isCellID,t.functional=!0,t}__extends(SFGroupingTableRow,Bt=t.Mixins(p)),SFGroupingTableRow.prototype.render=function(t){return t("div",{staticClass:"sf-grouping-table-row",class:[{"grand-row":this.source.grand},this.source.type],style:{background:this.source.background}},this.createChildren(t))},SFGroupingTableRow.prototype.createChildren=function(t){var e=this,n=[],a={data:this.source,hasRecordCount:this.hasRecordCount};return"group"===this.source.type?n.push(t(Rt,{props:a,on:{"cell-clicked":function(t){e.dispatch("SFGroupingTable","cell-clicked",t)}}})):"group-aggregate"===this.source.type?n.push(t(Ft,{props:a,on:{"cell-clicked":function(t){e.dispatch("SFGroupingTable","cell-clicked",t)}}})):"grand-total"===this.source.type||"subtotals"===this.source.type?n.push(t(Pt,{props:a})):"data"===this.source.type&&n.push(t(Et,{props:a,on:{"cell-clicked":function(t){e.dispatch("SFGroupingTable","cell-clicked",t)}}})),n},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"source",void 0),__decorate([t.Prop({type:Boolean,required:!1}),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"hasRecordCount",void 0),__decorate([t.Inject("isCellNumber"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellNumber",void 0),__decorate([t.Inject("isCellBoolean"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellBoolean",void 0),__decorate([t.Inject("isCellHTML"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellHTML",void 0),__decorate([t.Inject("isCellURL"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellURL",void 0),__decorate([t.Inject("isCellPhone"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellPhone",void 0),__decorate([t.Inject("isCellEmail"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellEmail",void 0),__decorate([t.Inject("isCellText"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellText",void 0),__decorate([t.Inject("isCellID"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellID",void 0),__decorate([t.Provide("isNumber"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isNumber",void 0),__decorate([t.Provide("isCellBoolean"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isBoolean",void 0),__decorate([t.Provide("isCellURL"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isURL",void 0),__decorate([t.Provide("isCellHTML"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isHTML",void 0),__decorate([t.Provide("isCellPhone"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isPhone",void 0),__decorate([t.Provide("isCellEmail"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isEmail",void 0),__decorate([t.Provide("isCellText"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isText",void 0),__decorate([t.Provide("isCellID"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isID",void 0);var It,Lt=normalizeComponent({},void 0,__decorate([t.Component({components:{GroupRow:Rt,AggregateRow:Ft,TotalRow:Pt,DataRow:Et}})],SFGroupingTableRow),void 0,void 0,void 0,!1,void 0,void 0,void 0);function SFGroupingTable(){var t=null!==It&&It.apply(this,arguments)||this;return t.isCellNumber=t.isNumber,t.isCellBoolean=t.isBoolean,t.isCellURL=t.isURL,t.isCellHTML=t.isHTML,t.isCellPhone=t.isPhone,t.isCellEmail=t.isEmail,t.isCellText=t.isText,t.isCellID=t.isID,t.parentWidth="100%",t.cellWidth=0,t.rowComponent=Lt,t}__extends(SFGroupingTable,It=t.Vue),SFGroupingTable.prototype.onDataChanged=function(){this.init()},SFGroupingTable.prototype.mounted=function(){this.init()},SFGroupingTable.prototype.init=function(){var t=100*this.data.headers.length;t>this.$el.offsetWidth?this.parentWidth=t+"px":this.parentWidth="100%"},SFGroupingTable.prototype.isNumber=function(t){t=this.data.headers[t];return!!t&&("datetime"===t.dataType||"currency"===t.dataType||"date"===t.dataType||"int"===t.dataType||"double"===t.dataType||"percent"===t.dataType||"boolean"===t.dataType)},SFGroupingTable.prototype.isBoolean=function(t){t=this.data.headers[t];return!!t&&"boolean"===t.dataType},SFGroupingTable.prototype.isURL=function(t){t=this.data.headers[t];return!!t&&"url"===t.dataType},SFGroupingTable.prototype.isHTML=function(t){t=this.data.headers[t];return!!t&&"html"===t.dataType},SFGroupingTable.prototype.isPhone=function(t){t=this.data.headers[t];return!!t&&"phone"===t.dataType},SFGroupingTable.prototype.isEmail=function(t){t=this.data.headers[t];return!!t&&"email"===t.dataType},SFGroupingTable.prototype.isText=function(t){return!(this.isBoolean(t)||this.isURL(t)||this.isHTML(t)||this.isEmail(t)||this.isPhone(t))},SFGroupingTable.prototype.isID=function(e){var n;return!!e&&(n=new RegExp("^[a-zA-Z0-9]+$"),this.sobjects.some(function(t){return n.test(e)&&(15===e.length||18===e.length)&&t.layoutable&&(""+e).startsWith(t.keyPrefix)}))},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTable.prototype,"data",void 0),__decorate([t.Prop({type:Array,required:!1}),__metadata("design:type",Object)],SFGroupingTable.prototype,"sobjects",void 0),__decorate([t.Provide("isCellNumber"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellNumber",void 0),__decorate([t.Provide("isCellBoolean"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellBoolean",void 0),__decorate([t.Provide("isCellURL"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellURL",void 0),__decorate([t.Provide("isCellHTML"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellHTML",void 0),__decorate([t.Provide("isCellPhone"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellPhone",void 0),__decorate([t.Provide("isCellEmail"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellEmail",void 0),__decorate([t.Provide("isCellText"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellText",void 0),__decorate([t.Provide("isCellID"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellID",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],SFGroupingTable.prototype,"onDataChanged",null);function cc(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"sf-grouping-table"},[n.data.showHeader&&0<n.data.headers.length&&0<n.data.rows.length?a("div",{staticClass:"sf-grouping-table-header",style:{width:n.parentWidth}},n._l(n.data.headers,function(t,e){return a("div",{key:e,staticClass:"sf-grouping-table-header-cell",class:{"number-cell":n.isNumber(e)},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[n._v("\n "+n._s(t.label)+"\n ")])}),0):n._e(),n._v(" "),a("virtual-list",{ref:"VirtualList",staticClass:"sf-grouping-table-content",style:{width:n.parentWidth},attrs:{"data-key":"id","data-sources":n.data.rows,"data-component":n.rowComponent,"estimate-size":41,"extra-props":{hasRecordCount:n.data.hasRecordCount}}})],1)}function ec(t){t&&(t("data-v-1fc7486a_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-grouping-table-content .sf-grouping-table-row {\n position: relative;\n width: 100%;\n height: 41px;\n line-height: 41px;\n}\n.sf-grouping-table-content .sf-grouping-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table-content .sf-grouping-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table-content .sf-grouping-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table-content .sf-grouping-table-row:after {\n transform-origin: 33% 66%;\n}\n.sf-grouping-table-content .sf-grouping-table-row.data {\n background-color: #fff;\n}\n.sf-grouping-table-content .sf-grouping-table-row a {\n color: #00A383;\n}\n.sf-grouping-table-content .list-item:first-child .sf-grouping-table-row {\n position: relative;\n}\n.sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 0%;\n left: 0;\n top: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform-origin: 33% 0%;\n}\n@media (prefers-color-scheme: dark) {\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row {\n color: #f2f2f7;\n position: relative;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.group {\n background-color: #2c2c2e !important;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.group-aggregate {\n background-color: #2c2c2e !important;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data {\n background-color: #1c1c1e;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data:after {\n transform-origin: 33% 66%;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row, .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals {\n background-color: #2c2c2e !important;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row:after, .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row:after, .pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row:after, .pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row:after, .android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals:after {\n transform-origin: 33% 66%;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row .group, .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals .group {\n color: #f2f2f7;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row:after {\n transform-origin: 33% 66%;\n}\n.sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row {\n position: relative;\n}\n.sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 0%;\n left: 0;\n top: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform-origin: 33% 0%;\n}\n}',map:void 0,media:void 0}),t("data-v-1fc7486a_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-grouping-table[data-v-1fc7486a] {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n transform: translate3d(0, 0, 0);\n}\n.sf-grouping-table .sf-grouping-table-header[data-v-1fc7486a] {\n width: 100%;\n height: 44px;\n background: #00A383;\n display: flex;\n flex-flow: row;\n align-items: center;\n}\n.sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a] {\n flex: 1;\n color: #ffffff;\n font-size: 1.6rem;\n font-weight: bold;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child) {\n position: relative;\n}\n.sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child):after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child):after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child):after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child):after {\n transform-origin: 66% 33%;\n}\n.sf-grouping-table .sf-grouping-table-content[data-v-1fc7486a] {\n width: 100%;\n height: calc(100% - 44px);\n overflow-y: auto;\n}',map:void 0,media:void 0}))}var Ot,a=__decorate([t.Component({components:{VirtualList:e}})],SFGroupingTable),Ht=(cc._withStripped=!0,normalizeComponent({render:cc,staticRenderFns:[]},ec,a,"data-v-1fc7486a",!1,void 0,!1,createInjector,void 0,void 0));function SFMatrixTableRow(){var t=null!==Ot&&Ot.apply(this,arguments)||this;return t.checkedImage=C,t.uncheckedImage=k,t}__extends(SFMatrixTableRow,Ot=t.Mixins(p)),SFMatrixTableRow.prototype.isText=function(t){return"boolean"!==t&&"url"!==t&&"html"!==t&&"email"!==t&&"phone"!==t},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFMatrixTableRow.prototype,"source",void 0),__decorate([t.Prop({type:Number,required:!0}),__metadata("design:type",Number)],SFMatrixTableRow.prototype,"cellWidth",void 0),__decorate([t.Inject("getCellClass"),__metadata("design:type",Object)],SFMatrixTableRow.prototype,"getCellClass",void 0),__decorate([t.Inject("isCellID"),__metadata("design:type",Object)],SFMatrixTableRow.prototype,"isCellID",void 0);function lc(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"sf-matrix-table-row"},n._l(n.source.cells,function(e,t){return a("div",{key:t,staticClass:"sf-matrix-table-cell",class:n.getCellClass(e.type),style:{width:n.cellWidth+"px"},on:{click:function(t){return n.dispatch("SFMatrixTable","cell-clicked",e)}}},[n.isCellID(e.value)?a("span",{staticClass:"id"},[n._v("\n "+n._s(e.label)+"\n ")]):n.isText(e.type)?a("span",[n._v("\n "+n._s(e.label)+"\n ")]):"html"===e.type?a("span",{domProps:{innerHTML:n._s(e.label)}}):"url"===e.type||"email"===e.type||"phone"===e.type?a("span",[e.value?a("span",["url"===e.type?a("a",{attrs:{href:e.value}},[n._v("\n "+n._s(e.value)+"\n ")]):"email"===e.type?a("a",{attrs:{href:"mailto:"+e.value}},[n._v("\n "+n._s(e.label)+"\n ")]):a("a",{attrs:{href:"tel:"+e.value}},[n._v("\n "+n._s(e.label)+"\n ")])]):a("span",[n._v(n._s(e.label))])]):"boolean"===e.type?a("img",{staticClass:"checkbox",attrs:{src:"true"==e.label?n.checkedImage:n.uncheckedImage}}):n._e()])}),0)}function nc(t){t&&(t("data-v-67f42871_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-matrix-table-cell[data-v-67f42871] {\n float: left;\n height: 41px;\n font-size: 1.2rem;\n text-align: left;\n padding: 0 10px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.sf-matrix-table-cell[data-v-67f42871]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform-origin: 66% 33%;\n}\n.sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform-origin: 0% 33%;\n}\n.sf-matrix-table-cell.right-align-cell[data-v-67f42871] {\n text-align: right;\n}\n.android .sf-matrix-table-cell.right-align-cell[data-v-67f42871] {\n padding-right: 20px;\n}\n.sf-matrix-table-cell.center-align-cell[data-v-67f42871] {\n text-align: center;\n}\n.sf-matrix-table-cell .checkbox[data-v-67f42871] {\n width: 18px;\n padding-top: 13px;\n}\n.sf-matrix-table-cell a[data-v-67f42871] {\n color: #00A383;\n}\n.sf-matrix-table-cell .id[data-v-67f42871] {\n color: #09afe6;\n}',map:void 0,media:void 0}),t("data-v-67f42871_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n@media (prefers-color-scheme: dark) {\n.sf-matrix-table-cell[data-v-67f42871] {\n color: #f2f2f7;\n}\n.sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform-origin: 0% 33%;\n}\n.sf-matrix-table-cell[data-v-67f42871]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform-origin: 66% 33%;\n}\n}',map:void 0,media:void 0}))}var Wt,a=__decorate([t.Component({})],SFMatrixTableRow),Vt=(lc._withStripped=!0,normalizeComponent({render:lc,staticRenderFns:[]},nc,a,"data-v-67f42871",!1,void 0,!1,createInjector,void 0,void 0));function SFMatrixTable(){var t=null!==Wt&&Wt.apply(this,arguments)||this;return t.getCellClass=t.getClass,t.isCellID=t.isID,t.parentWidth="100%",t.cellWidth=120,t.rowComponent=Vt,t}__extends(SFMatrixTable,Wt=t.Vue),Object.defineProperty(SFMatrixTable.prototype,"contentHeight",{get:function(){return"calc(100% - "+41*this.data.headers.length+"px)"},enumerable:!1,configurable:!0}),SFMatrixTable.prototype.onDataChanged=function(){this.init()},SFMatrixTable.prototype.mounted=function(){this.init()},SFMatrixTable.prototype.init=function(){var t=this.data.columnLength,e=this.$el.offsetWidth,n=120*t;e<n?(this.parentWidth=n+"px",this.cellWidth=120):(this.parentWidth="100%",this.cellWidth=e/t)},SFMatrixTable.prototype.getWidth=function(t){return t?this.cellWidth*t:this.cellWidth},SFMatrixTable.prototype.getClass=function(t){return"datetime"===t||"currency"===t||"date"===t||"int"===t||"double"===t||"percent"===t||"boolean"===t?"right-align-cell":"group-value"===t?"center-align-cell":""},SFMatrixTable.prototype.isID=function(e){var n;return!!e&&(n=new RegExp("^[a-zA-Z0-9]+$"),this.sobjects.some(function(t){return n.test(e)&&(15===e.length||18===e.length)&&t.layoutable&&(""+e).startsWith(t.keyPrefix)}))},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFMatrixTable.prototype,"data",void 0),__decorate([t.Prop({type:Array,required:!1}),__metadata("design:type",Object)],SFMatrixTable.prototype,"sobjects",void 0),__decorate([t.Provide("getCellClass"),__metadata("design:type",Object)],SFMatrixTable.prototype,"getCellClass",void 0),__decorate([t.Provide("isCellID"),__metadata("design:type",Object)],SFMatrixTable.prototype,"isCellID",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],SFMatrixTable.prototype,"onDataChanged",null);function vc(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"sf-matrix-table"},[0<n.data.headers.length?a("div",{staticClass:"sf-matrix-table-header",style:{width:n.parentWidth}},n._l(n.data.headers,function(t,e){return a("div",{key:e,staticClass:"sf-matrix-table-header-row"},n._l(t.cells,function(t,e){return a("div",{key:e,staticClass:"sf-matrix-table-header-cell",class:n.getClass(t.type),style:{width:n.getWidth(t.colspan)+"px"},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[n._v("\n "+n._s(t.value)+"\n ")])}),0)}),0):n._e(),n._v(" "),a("virtual-list",{staticClass:"sf-matrix-table-content",style:{width:n.parentWidth,height:n.contentHeight},attrs:{"data-key":"id","data-sources":n.data.rows,"data-component":n.rowComponent,"estimate-size":41,"extra-props":{cellWidth:n.cellWidth}}})],1)}function xc(t){t&&(t("data-v-93ea0d72_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-matrix-table-content .sf-matrix-table-row {\n width: 100%;\n height: 41px;\n line-height: 41px;\n position: relative;\n}\n.sf-matrix-table-content .sf-matrix-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform-origin: 33% 66%;\n}\n.sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row {\n position: relative;\n}\n.sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 0%;\n left: 0;\n top: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row:before {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row:before {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row:before {\n transform-origin: 33% 0%;\n}\n@media (prefers-color-scheme: dark) {\n.sf-matrix-table-content .sf-matrix-table-row {\n position: relative;\n}\n.sf-matrix-table-content .sf-matrix-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform-origin: 33% 66%;\n}\n}',map:void 0,media:void 0}),t("data-v-93ea0d72_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-matrix-table[data-v-93ea0d72] {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n transform: translate3d(0, 0, 0);\n}\n.sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72] {\n background: #00A383;\n height: 41px;\n line-height: 41px;\n}\n.sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child) {\n position: relative;\n}\n.sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child):after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child):after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child):after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child):after {\n transform-origin: 33% 66%;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72] {\n float: left;\n height: 41px;\n font-size: 1.6rem;\n color: #ffffff;\n font-weight: bold;\n text-align: left;\n padding: 0 10px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child) {\n position: relative;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child):after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child):after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child):after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child):after {\n transform-origin: 66% 33%;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell.right-align-cell[data-v-93ea0d72] {\n text-align: right;\n}\n.android .sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell.right-align-cell[data-v-93ea0d72] {\n padding-right: 20px;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell.center-align-cell[data-v-93ea0d72] {\n text-align: center;\n}\n.sf-matrix-table .sf-matrix-table-content[data-v-93ea0d72] {\n position: relative;\n overflow-y: auto;\n}',map:void 0,media:void 0}))}var Nt,p=__decorate([t.Component({components:{VirtualList:e}})],SFMatrixTable),Xt=(vc._withStripped=!0,normalizeComponent({render:vc,staticRenderFns:[]},xc,p,"data-v-93ea0d72",!1,void 0,!1,createInjector,void 0,void 0));function SFReportTable(){var t=null!==Nt&&Nt.apply(this,arguments)||this;return t.functional=!0,t}__extends(SFReportTable,Nt=t.Vue),SFReportTable.prototype.render=function(t){var e=new ct(this.data,this.languageLocaleKey);return this.refactoredData=e.tableData,"MATRIX"===this.refactoredData.format?this.createMatrixTable(t):this.createGroupingTable(t)},SFReportTable.prototype.createMatrixTable=function(t){var e=this;return t(Xt,{props:{data:this.refactoredData,sobjects:this.sobjects},on:{"cell-clicked":function(t){e.$emit("cell-clicked",t)}}})},SFReportTable.prototype.createGroupingTable=function(t){var e=this;return t(Ht,{props:{data:this.refactoredData,sobjects:this.sobjects},on:{"cell-clicked":function(t){e.$emit("cell-clicked",t)}}})},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFReportTable.prototype,"data",void 0),__decorate([t.Prop({type:Array,required:!1}),__metadata("design:type",Object)],SFReportTable.prototype,"sobjects",void 0),__decorate([t.Prop({type:String,required:!1}),__metadata("design:type",Object)],SFReportTable.prototype,"languageLocaleKey",void 0);function Jc(t){t.component("SfDashboardChart",At),t.component("SfReportChart",Mt),t.component("SfReportTable",Yt)}var Yt=normalizeComponent({},void 0,__decorate([t.Component({components:{SFGroupingTable:Ht,SFMatrixTable:Xt}})],SFReportTable),void 0,void 0,void 0,!1,void 0,void 0,void 0);return function(t){t.use(g0),t.use(Jc)}});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("d3-transition"),require("vue-property-decorator"),require("d3-scale"),require("d3-axis"),require("d3-selection"),require("d3-format"),require("d3-array"),require("d3-shape"),require("d3-ease"),require("d3-interpolate"),require("uuid"),require("vue-virtual-scroll-list")):"function"==typeof define&&define.amd?define(["d3-transition","vue-property-decorator","d3-scale","d3-axis","d3-selection","d3-format","d3-array","d3-shape","d3-ease","d3-interpolate","uuid","vue-virtual-scroll-list"],e):(t=t||self).MoblorComponents=e(t.d3Transition,t.vuePropertyDecorator,t.d3Scale,t.d3Axis,t.d3Selection,t.d3Format,t.d3Array,t.d3Shape,t.d3Ease,t.d3Interpolate,t.uuid,t.VirtualList)}(this,function(W,t,i,l,f,V,s,c,N,r,D,e){e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var X=function(t,e){return(X=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};function __extends(t,e){function __(){this.constructor=t}X(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}var R=function(){return(R=Object.assign||function __assign(t){for(var e,n=arguments,a=1,o=arguments.length;a<o;a++)for(var r in e=n[a])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function __decorate(t,e,n,a){var o,r=arguments.length,i=r<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,a);else for(var l=t.length-1;0<=l;l--)(o=t[l])&&(i=(r<3?o(i):3<r?o(e,n,i):o(e,n))||i);return 3<r&&i&&Object.defineProperty(e,n,i),i}function __metadata(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function __spreadArrays(){for(var t=arguments,e=0,n=0,a=arguments.length;n<a;n++)e+=t[n].length;for(var o=Array(e),r=0,n=0;n<a;n++)for(var i=arguments[n],l=0,s=i.length;l<s;l++,r++)o[r]=i[l];return o}__extends(ChartMixins,n=t.Vue),ChartMixins.prototype.getWidth=function(){var t=window.getComputedStyle(this.$el,null).width;return t?parseFloat(t.substring(0,t.length-2)):0},ChartMixins.prototype.beforeRedraw=function(){var t=this.$el.querySelector("svg");t&&t.remove()};var n,a=__decorate([t.Component],ChartMixins);function ChartMixins(){var t=null!==n&&n.apply(this,arguments)||this;return t.CHART_LIMIT_TIPS_TEXT="Only partial data is shown. \n Open the source report to view the complete dataset.",t}ChartService.formatValue=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=2);var a,o,r,i,l=t.toString();return Number.isNaN(Number(t))||(a=(t=ChartService.preciseDecimal(Number(t),n))/Math.pow(1e3,4),o=t/Math.pow(1e3,3),r=t/Math.pow(1e3,2),i=t/Math.pow(1e3,1),l=(l=1<=a?ChartService.preciseDecimal(a,n)+"T":1<=o?ChartService.preciseDecimal(o,n)+"B":1<=r?ChartService.preciseDecimal(r,n)+"M":1<=i?ChartService.preciseDecimal(i,n)+"K":t.toString()).replace(/\d+/,function(t){return t.replace(/(\d)(?=(\d{3})+$)/g,"$1,")})),e?e+" "+l:l},ChartService.preciseDecimal=function(t,e){void 0===e&&(e=2);var n=t.toString().indexOf(".");return!(n<=0)&&e<t.toString().substring(n+1,t.toString().length).length?Number(t.toFixed(e)):t},ChartService.isChineseChar=function(t){t=t.charCodeAt(0);return 19968<=t&&t<=40869||12288<=t&&t<=12351||65280<=t&&t<=65519},ChartService.isSpecialChar=function(t){return"@#$%&*".includes(t)},ChartService.formatDomainValue=function(t,e,n){var a=t.toString();if(0===a.trim().length)return"-";for(var o=n?6:8,r=Math.max(0,e-2*o),i=0,l=0,s=0;s<a.length;s+=1){var c=a[s],d=this.isChineseChar(c)?1.5:1;if(r<(i+=(this.isSpecialChar(c)?1.3:d)*o))break;l+=1}return l<a.length?a.substring(0,Math.max(0,l-1))+"...":a},ChartService.getPercentage=function(t,e,n){return ChartService.preciseDecimal((t=void 0===t?0:t)/(e=void 0===e?0:e)*100,n=void 0===n?0:n)},ChartService.getColor=function(t,e){e=e||["#5bdcef","#ffe451","#fc7a7a","#8b4fdc","#4653ff","#153e75","#3adfae","#f68c5d","#6663f0","#fe70a2","#438aff","#5ed281","#60afff","#4e4c97","#b6d252","#5acec7","#ff7575","#ffda2b","#3cdbc6","#3f5cba","#383b6b","#fc7a7a","#6663f0","#ffcc51","#56c597","#f678aa","#8ffabf","#5aabff","#4ecaa5","#686edc"];return e[t%e.length]},ChartService.isLightColor=function(t){t=t.replace(/^#/,"");if(6!==t.length)throw new Error("请输入有效的6位十六进制颜色(如 #FF0000)");return 128<(299*parseInt(t.substring(0,2),16)+587*parseInt(t.substring(2,4),16)+114*parseInt(t.substring(4,6),16))/1e3},ChartService.getMaxValue=function(t,e){void 0===e&&(e=0);function md(t){t.pieces&&0<t.pieces.length?t.pieces.forEach(function(t){md(t)}):n.push(t.values[e])}var n=[];return t.forEach(function(t){md(t)}),s.max(n,function(t){return t})},ChartService.getMinValue=function(t,e){void 0===e&&(e=0);function ud(t){t.pieces&&0<t.pieces.length?t.pieces.forEach(function(t){ud(t)}):n.push(t.values[e])}var n=[];return t.forEach(function(t){ud(t)}),s.min(n,function(t){return t})},ChartService.defineAreaGradientsForCover=function(t,e,n){t=t.append("defs").append("linearGradient").attr("id","MoLineAreaGradientCover"+e).attr("x1","0").attr("y1","0").attr("x2","0").attr("y2","0").attr("y1","100%");t.append("stop").attr("offset","0%").attr("stop-color","white").attr("stop-opacity",n?.4:1),t.append("stop").attr("offset","100%").attr("stop-color","white").attr("stop-opacity",n?1:.4)},ChartService.getInnerText=function(t){var e=(t=void 0===t?{}:t).showValue,n=t.innerValue,a=t.value,a=void 0===a?"":a,o=t.showPercentage,r=t.innerPercentage,i=t.total,l=t.decimal,s=t.symbol,c=t.type,c=void 0===c?"":c,t=t.percentDecimal,t=void 0===t?2:t,d=s||"",i=ChartService.getPercentage(Number(a),i,t);return 5<i?(e&&n&&(d+=ChartService.formatValue(a,s,l)),e&&o&&(d+="pie"===c?"\n(":" ("),o&&r&&(d+=i+"%"),e&&o&&(d+=")"),d):""},ChartService.getBottomText=function(t){var e=(t=void 0===t?{}:t).showValue,n=t.innerValue,a=t.value,a=void 0===a?"":a,o=t.showPercentage,r=t.innerPercentage,i=t.total,l=t.decimal,t=t.symbol,s=t||"";return e&&!n&&(s+=ChartService.formatValue(a,t,l)),o&&!r&&(""!==s&&(s+=" : "),s+=ChartService.getPercentage(Number(a),i,l)+"%"),s},ChartService.combineSmallGroups=function(t,e,n){void 0===e&&(e=.03),void 0===n&&(n="Others");var a,o,r,i=t.reduce(function(t,e){return t+e.values[0]},0);return 0===i?[]:(a=[],o=0,r=[],t.forEach(function(t){t.values[0]/i<e?(o+=t.values[0],t.pieces&&(r=r.concat(t.pieces))):a.push(t)}),0<o&&(t=t.find(function(t){return t.label!==n})||t[0],a.push(R(R({},t),{label:n,values:[o],pieces:0<r.length?r:void 0}))),a.filter(function(t){return 0<t.values[0]}))};var F=ChartService;function ChartService(){}__extends(MoBarChart,o=t.Mixins(a)),Object.defineProperty(MoBarChart.prototype,"actualMargin",{get:function(){var t=this.margin,e=t.top,n=t.right,a=t.bottom,t=t.left;return 0<this.groupings.length&&"vertical"===this.xAxisMode&&(a=125),0<this.aggregates.length&&(t=70),this.hasSecondAxis&&(n=Math.max(n,65)),{top:e,right:n="grouped"!==this.groupType&&"stacked"!==this.groupType&&"stacked100"!==this.groupType?0:n,bottom:a,left:t}},enumerable:!1,configurable:!0}),MoBarChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},MoBarChart.prototype.mounted=function(){this.redraw()},MoBarChart.prototype.redraw=function(){this.init(),this.renderAxis(),this.renderAxisLabel(),this.renderSpaceLine();var t=JSON.parse(JSON.stringify(this.displayData));"stacked"!==this.groupType&&"stacked100"!==this.groupType||(t=this.refactorStackedData()),this.renderBar(t),this.hasLineChart&&this.renderLine(t),this.labelGroup.selectAll("*").remove(),this.labelGroup.attr("transform","translate(0, 0)"),(0<this.categories.length||!this.hasLineChart&&1<this.aggregates.length)&&this.renderLabel()},MoBarChart.prototype.init=function(){var e=this,t=(this.displayData=this.data.slice(0,this.maxDisplayCount),0),t="grouped"===this.groupType&&0<this.categories.length?F.getMaxValue(this.displayData):s.max(this.displayData,function(t){return s.max(t.values)})||0,n=this.$el.querySelector(".main-chart"),a=this.$el.querySelector(".chart-legends"),n=(f.select(n).selectAll("*").remove(),f.select(a).selectAll("*").remove(),this.svgWidth=n&&0<n.clientWidth?n.clientWidth:300,this.svgHeight=n&&0<n.clientHeight?n.clientHeight:300,this.legendSvgWidth=a&&0<a.clientWidth?a.clientWidth:150,this.legendSvgHeight=a&&0<a.clientHeight?a.clientHeight:this.svgHeight,this.width=this.svgWidth-this.actualMargin.left-this.actualMargin.right,this.height=this.svgHeight-this.actualMargin.top-this.actualMargin.bottom,f.select(n).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight)),a=f.select(a).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),a=(this.svg=n.append("g").attr("class","chart-group").attr("transform","translate("+this.actualMargin.left+", "+this.actualMargin.top+")"),this.labelGroup=a.append("g").attr("class","label-group"),this.xAxisScale=i.scaleBand().domain(this.displayData.map(function(t){return t.label})).rangeRound([0,this.width]).padding(.2),this.yAxisScale=i.scaleLinear().domain([0,t]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).ticks(6).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}),this.groupType&&"none"!==this.groupType&&(this.categories=[],this.displayData.forEach(function(t){t.pieces&&t.pieces.length>e.categories.length&&(e.categories=t.pieces.map(function(t){return t.label}))})),0<this.categories.length&&(this.xAxisCategories=i.scaleBand().domain(this.categories).range([0,this.xAxisScale.bandwidth()]).padding(.2).round(!1)),1<this.aggregates.length&&(n=this.aggregates.map(function(t){return t.label}),this.xAxisAggregates=i.scaleBand().domain(n).range([0,this.xAxisScale.bandwidth()]).padding(.2).round(!1)),0),t=0,n=0,o=0,t="grouped"===this.groupType?(a=F.getMaxValue(this.displayData)||0,F.getMinValue(this.displayData)||0):(a=s.max(this.displayData,function(t){return s.max(t.values)})||0,s.min(this.displayData,function(t){return s.min(t.values)})||0),r=(1<this.aggregates.length&&(n=s.max(this.displayData,function(t){return s.max(t.values)})||0,o=s.min(this.displayData,function(t){return s.min(t.values)})||0),a+.1*Math.abs(a-t)),a=t<0?t-.1*Math.abs(a-t):0;this.xAxis=l.axisBottom(this.xAxisScale).tickSize(0).tickFormat(function(t){return F.formatDomainValue(t,e.actualMargin.bottom-40,!0)}),"stacked100"===this.groupType&&0<this.categories.length?(this.yAxisScale=i.scaleLinear().range([this.height,0]).domain([0,1]),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickFormat(function(t){return V.format(".0%")(Number(t))})):this.hasLineChart?this.hasSecondAxis?(this.yAxisScale=i.scaleLinear().domain([a,r]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}),this.secondYAxisScale=i.scaleLinear().domain([o<0?o:0,n]).range([this.height,0]).nice(),this.secondYAxis=l.axisRight(this.secondYAxisScale).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}),this.line=c.line().curve(c.curveLinear).x(function(t){return e.xAxisScale(t.label)+e.xAxisScale.bandwidth()/2}).y(function(t){return e.secondYAxisScale(e.lineValue(t))})):(this.yAxisScale=i.scaleLinear().domain([a,r]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}),this.line=c.line().curve(c.curveLinear).x(function(t){return e.xAxisScale(t.label)+e.xAxisScale.bandwidth()/2}).y(function(t){return e.yAxisScale(e.lineValue(t))})):(this.yAxisScale=i.scaleLinear().domain([a,r]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)}))},MoBarChart.prototype.lineValue=function(t){return t.values[this.secondYIndex]},MoBarChart.prototype.renderAxis=function(){var t=this.svg.append("g").attr("class","x mo-axis").attr("transform","translate(0, "+this.height+")").call(this.xAxis);t.selectAll("text").style("text-anchor","middle").attr("class","mo-axis-text").attr("x",0).attr("y",10),"vertical"===this.xAxisMode&&t.selectAll("text").style("text-anchor","end").attr("class","mo-axis-text").attr("y",10).attr("x",5).attr("transform","rotate(-70, 0, 15)"),this.svg.append("g").attr("class","y mo-axis").call(this.yAxis).selectAll("text").attr("class","mo-axis-text").attr("y",0),this.secondYAxis&&this.svg.append("g").attr("class","y mo-axis").attr("transform","translate("+this.svgWidth+", 0)").call(this.secondYAxis).selectAll("text").attr("class","mo-axis-text").attr("y",0)},MoBarChart.prototype.renderAxisLabel=function(){var t,n=this;F.defineAreaGradientsForCover(this.svg,0,!1),this.svg.append("rect").attr("x",-10).attr("y",this.svgHeight).attr("class","mo-cover").attr("height",10).style("fill","none"),this.svg.append("rect").attr("x",-10).attr("y",this.svgHeight).attr("class","mo-cover").attr("height",this.svgHeight).style("fill","none"),this.svg.append("text").attr("class","mo-axis-label").attr("x",this.width/2).attr("y",this.svgHeight-45).text((null==(t=this.groupings[0])?void 0:t.label)||""),F.defineAreaGradientsForCover(this.svg,1,!0),this.svg.append("rect").attr("transform","rotate(-90)").attr("x",-10).attr("y",-20).attr("width",this.svgHeight).attr("height",10).style("fill","none"),this.svg.append("rect").attr("transform","rotate(-90)").attr("x",-10).attr("y",-10).attr("width",this.svgHeight).attr("height",30).style("fill","none"),this.svg.append("text").attr("class","mo-axis-label").attr("transform","rotate(-90)").attr("y",-this.margin.left).attr("x",-this.height/2).attr("dy","1em").style("text-anchor","middle").text(0<this.aggregates.length?this.aggregates.map(function(t,e){return n.hasSecondAxis&&e===n.secondYIndex?"":(e="currency"===t.dataType?null==(e=null==(e=n.displayData[0])?void 0:e.reportMetadata)?void 0:e.currency:"")?F.formatDomainValue("("+e+") "+t.label,n.svgWidth,!1):F.formatDomainValue(t.label,n.svgWidth,!1)}).filter(Boolean).join(", "):""),this.hasSecondAxis&&this.svg.append("text").attr("class","mo-axis-label").attr("transform","rotate(-90)").attr("y",this.svgWidth+20).attr("x",-this.height/2).attr("dy","1em").style("text-anchor","middle").text(function(){var t,e=n.aggregates[n.secondYIndex];return e?(t=(null==(t=null==(t=n.displayData[0])?void 0:t.reportMetadata)?void 0:t.currency)||"")?e.label+" ("+t+")":e.label:""})},MoBarChart.prototype.renderSpaceLine=function(){this.svg.selectAll(".mo-space-line").data(this.yAxisScale.ticks()).enter().append("line").attr("class","mo-space-line").attr("x1",3).attr("x2",this.width).attr("y1",this.yAxisScale).attr("y2",this.yAxisScale)},MoBarChart.prototype.refactorStackedData=function(){var l=this,t=JSON.parse(JSON.stringify(this.displayData));return t.forEach(function(t){for(var e=t.pieces,r=void 0===e?[]:e,i=t.values,n=r.length;0<=n;--n)r.forEach(function(t,e){var n,a,o;t.y=(n=r,e=e,a=i[0],e===n.length-1?"stacked100"===l.groupType?l.yAxisScale(n[e].values[0]/a):l.yAxisScale(n[e].values[0]):(o=n[e+1].y||l.height,"stacked100"===l.groupType?o-l.height+l.yAxisScale(n[e].values[0]/a):o-l.height+l.yAxisScale(n[e].values[0]))),t.percentage=t.values[0]/i[0]})}),t},MoBarChart.prototype.renderBar=function(t){var e=this,t=t.slice(0,this.maxDisplayCount);0<this.categories.length?"grouped"===this.groupType?this.renderGroupedBar(t):"stacked"!==this.groupType&&"stacked100"!==this.groupType||(this.renderStackedBar(t),this.renderData(t)):!this.hasLineChart&&1<this.aggregates.length?this.renderGroupedAggregatesBar(t):(this.svg.selectAll(".bar").data(t).enter().append("rect").style("fill",F.getColor(0,this.colors)).attr("x",function(t){return e.xAxisScale(t.label)}).attr("y",this.yAxisScale(0)).attr("width",this.xAxisScale.bandwidth()).attr("height",0).transition().duration(1e3).attr("y",function(t){t=t.values[0];return 0<=t?e.yAxisScale(t):e.yAxisScale(0)}).attr("height",function(t){t=t.values[0];return Math.abs(e.yAxisScale(t)-e.yAxisScale(0))}),this.renderData(t))},MoBarChart.prototype.renderGroupedAggregatesBar=function(t){var a=this,t=this.svg.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate("+a.xAxisScale(t.label)+", 0)"});t.selectAll("rect").data(function(t){return t.values}).enter().append("rect").attr("class","rect").attr("x",function(t,e){return a.xAxisAggregates(a.aggregates[e].label)}).attr("y",this.yAxisScale(0)).attr("height",0).attr("width",this.xAxisAggregates.bandwidth()).style("fill",function(t,e){return F.getColor(e,a.colors)}).transition().duration(1e3).attr("y",function(t){return 0<=t?a.yAxisScale(t):a.yAxisScale(0)}).attr("height",function(t){return Math.abs(a.yAxisScale(t)-a.yAxisScale(0))}),t.selectAll(".mo-data-text").data(function(t){return t.values}).enter().append("text").attr("class","mo-data-text").attr("x",function(t,e){return a.xAxisAggregates(a.aggregates[e].label)+a.xAxisAggregates.bandwidth()/2}).attr("y",this.yAxisScale(0)).attr("text-anchor","middle").style("fill",this.valueColor).text(function(t){return 0!==t?F.formatValue(t,"",a.decimal):""}).transition().duration(1e3).attr("y",function(t){var e=a.yAxisScale(t);return 0<=t?e-5:e+20}).attr("transform",function(t,e){var e=a.xAxisAggregates(a.aggregates[e].label)+a.xAxisAggregates.bandwidth()/2,e=0<=t?e-6:e+5,n=a.yAxisScale(t);return"rotate(-90, "+e+", "+(0<=t?n-15:n+20)+")"})},MoBarChart.prototype.renderGroupedBar=function(t){var a=this,t=this.svg.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate("+a.xAxisScale(t.label)+", 0)"});t.selectAll("rect").data(function(t){return t.pieces}).enter().append("rect").attr("class","rect").attr("x",function(t){return a.xAxisCategories(t.label)}).attr("y",this.yAxisScale(0)).attr("width",this.xAxisCategories.bandwidth()).attr("height",0).style("fill",function(t,e){return F.getColor(e,a.colors)}).transition().duration(1e3).attr("y",function(t){t=t.values[0];return 0<=t?a.yAxisScale(t):a.yAxisScale(0)}).attr("height",function(t){t=t.values[0];return Math.abs(a.yAxisScale(t)-a.yAxisScale(0))}),t.selectAll(".mo-data-text").data(function(t){return t.pieces||[]}).enter().append("text").attr("class","mo-data-text").attr("x",function(t){return a.xAxisCategories(t.label)+a.xAxisCategories.bandwidth()/2}).attr("y",this.yAxisScale(0)).attr("text-anchor","middle").style("fill",this.valueColor).text(function(t){return 0!==t.values[0]?F.formatValue(t.values[0],"",a.decimal):""}).transition().duration(1e3).attr("y",function(t){var t=t.values[0],e=a.yAxisScale(t);return 0<=t?e-5:e+20}).attr("transform",function(t){var e=a.xAxisCategories(t.label)+a.xAxisCategories.bandwidth()/2,t=t.values[0],e=0<=t?e-6:e+5,n=a.yAxisScale(t);return"rotate(-90, "+e+", "+(0<=t?n-15:n+20)+")"})},MoBarChart.prototype.renderStackedBar=function(t){var n=this,t=t.slice(0,this.maxDisplayCount);this.svg.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate("+n.xAxisScale(t.label)+", 0)"}).selectAll("rect").data(function(t){return t.pieces}).enter().append("rect").attr("class","rect").attr("y",this.yAxisScale(0)).attr("width",this.xAxisScale.bandwidth()).attr("height",0).style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(1e3).attr("y",function(t){return t.y}).attr("height",function(t){return"stacked100"===n.groupType?n.height-n.yAxisScale(t.percentage):(t=t.values[0],Math.abs(n.yAxisScale(t)-n.yAxisScale(0)))})},MoBarChart.prototype.renderLine=function(t){var e=this,n=F.getColor(this.categories.length||1,this.colors),a=this.svg.append("path").datum(t).attr("d",this.line).attr("class","mo-data-line").style("stroke",n),o=a.node().getTotalLength(),r=(a.attr("stroke-dasharray",o+" "+o).attr("stroke-dashoffset",o).transition().duration(1e3).ease(N.easeLinear).attr("stroke-dashoffset",0),this.secondYAxisScale||this.yAxisScale);this.svg.selectAll(".mo-data-point").data(t).enter().append("circle").attr("cx",function(t){return e.xAxisScale(t.label)+e.xAxisScale.bandwidth()/2}).attr("cy",function(t){return r(e.lineValue(t))}).attr("r",3).attr("class","mo-line-point").style("fill",n)},MoBarChart.prototype.renderData=function(t){var a=this;this.svg.selectAll(".bar").data(t).enter().append("text").attr("class","mo-data-text").attr("x",function(t){return a.xAxisScale(t.label)+a.xAxisScale.bandwidth()/2}).attr("y",this.yAxisScale(0)).style("fill","#5bdcef").attr("text-anchor","middle").text(function(t){return 0!==t.values[0]?F.formatValue(t.values[0],"",a.decimal):""}).transition().duration(1e3).attr("y",function(t){var t=t.values[0],e=a.yAxisScale(t);return 0<=t?e-5:e+20}).attr("transform",function(t){var e=a.xAxisScale(t.label)+a.xAxisScale.bandwidth()/2,t=t.values[0],e=0<=t?e-6:e+5,n=a.yAxisScale(t);return"rotate(-90, "+e+", "+(0<=t?n-15:n+20)+")"})},MoBarChart.prototype.renderLabel=function(){var n=this,a=0,a=(null!=(t=this.groupings[1])&&t.label?this.labelGroup.append("text").attr("x",10).attr("y",this.TITLE_HEIGHT).attr("class","mo-label-title").text(F.formatDomainValue(this.groupings[1].label,this.legendSvgWidth,!1)):this.labelGroup.append("text").attr("x",10).attr("y",this.TITLE_HEIGHT).attr("class","mo-label-title").text("Measure"),this.TITLE_HEIGHT+15),t=[],t=(0<this.categories.length?t=this.categories:!this.hasLineChart&&1<this.aggregates.length&&(t=this.aggregates),this.labelGroup.selectAll(".mo-legend").data(t).enter().append("g").attr("class","mo-legend"));t.append("rect").attr("width",15).attr("height",15).attr("x",10).attr("y",function(t,e){return a+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),0<this.categories.length?t.append("text").attr("x",35).attr("y",function(t,e){return a+12+25*e}).attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t,n.legendSvgWidth-35,!1)}):!this.hasLineChart&&1<this.aggregates.length&&t.append("text").attr("x",35).attr("y",function(t,e){return a+12+25*e}).attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t.label,n.legendSvgWidth,!1)})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],MoBarChart.prototype,"data",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],MoBarChart.prototype,"groupings",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],MoBarChart.prototype,"aggregates",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],MoBarChart.prototype,"hasSecondAxis",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],MoBarChart.prototype,"hasLineChart",void 0),__decorate([t.Prop({type:Number,default:function(){return 1}}),__metadata("design:type",Number)],MoBarChart.prototype,"secondYIndex",void 0),__decorate([t.Prop({type:String,default:function(){return"horizontal"}}),__metadata("design:type",String)],MoBarChart.prototype,"xAxisMode",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],MoBarChart.prototype,"colors",void 0),__decorate([t.Prop({type:Object,default:function(){return{top:40,right:20,bottom:20,left:70}}}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartMargin&&ChartMargin)?d:Object)],MoBarChart.prototype,"margin",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],MoBarChart.prototype,"decimal",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],MoBarChart.prototype,"labelColor",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],MoBarChart.prototype,"groupType",void 0),__decorate([t.Prop({type:String,default:function(){return"#5bdcef"}}),__metadata("design:type",String)],MoBarChart.prototype,"valueColor",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],MoBarChart.prototype,"onDataChanged",null);var o,d=__decorate([t.Component({})],MoBarChart);function MoBarChart(){var t=null!==o&&o.apply(this,arguments)||this;return t.TITLE_HEIGHT=20,t.MIN_WIDTH=20,t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.width=0,t.height=0,t.svg=null,t.xAxisScale=null,t.yAxisScale=null,t.secondYAxisScale=null,t.xAxis=null,t.yAxis=null,t.secondYAxis=null,t.line=null,t.xAxisCategories=null,t.xAxisAggregates=null,t.categories=[],t.additionalHeight=0,t.labelGroup=null,t.displayData=[],t.maxDisplayCount=20,t}function normalizeComponent(t,e,n,a,o,r,i,l,s,c){"boolean"!=typeof i&&(s=l,l=i,i=!1);var d,p,h="function"==typeof n?n.options:n;return t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o)&&(h.functional=!0),a&&(h._scopeId=a),r?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,s(t)),t&&t._registeredComponents&&t._registeredComponents.add(r)},h._ssrRegister=d):e&&(d=i?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,l(t))}),d&&(h.functional?(p=h.render,h.render=function renderWithStyleInjection(t,e){return d.call(e),p(t,e)}):(t=h.beforeCreate,h.beforeCreate=t?[].concat(t,d):[d])),n}var p,Y="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function createInjector(t){return function addStyle(t,e){var n=Y?e.media||"default":t,n=U[n]||(U[n]={ids:new Set,styles:[]});{var a;n.ids.has(t)||(n.ids.add(t),t=e.source,e.map&&(t=(t+="\n/*# sourceURL="+e.map.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),n.element||(n.element=document.createElement("style"),n.element.type="text/css",e.media&&n.element.setAttribute("media",e.media),(p=void 0===p?document.head||document.getElementsByTagName("head")[0]:p).appendChild(n.element)),"styleSheet"in n.element?(n.styles.push(t),n.element.styleSheet.cssText=n.styles.filter(Boolean).join("\n")):(e=n.ids.size-1,t=document.createTextNode(t),(a=n.element.childNodes)[e]&&n.element.removeChild(a[e]),a.length?n.element.insertBefore(t,a[e]):n.element.appendChild(t)))}}}var U={};function x(){var t=this,e=t.$createElement,e=t._self._c||e;return"grouped"===t.groupType||"stacked"===t.groupType||"stacked100"===t.groupType||!t.hasLineChart&&1<t.aggregates.length?e("div",{staticClass:"chart-container chart-having-tips"},[t._m(0),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()]):e("div",{staticClass:"chart-container chart-having-tips"},[e("div",{staticClass:"main-chart"}),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()])}function z(t){t&&t("data-v-04b7eb40_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}x._withStripped=!0;var h,J=normalizeComponent({render:x,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-and-legends"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},z,d,void 0,!1,void 0,!1,createInjector,void 0,void 0);function MoBarChartHorizontal(){var t=null!==h&&h.apply(this,arguments)||this;return t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.width=0,t.height=0,t.mainSvg=null,t.legendsSvg=null,t.xAxisScale=null,t.yAxisScale=null,t.xAxis=null,t.yAxis=null,t.yAxisCategories=null,t.yAxisAggregates=null,t.categories=[],t.mainChart=null,t.labelGroup=null,t.additionalHeight=0,t.barOffsetY=7,t.displayData=[],t.maxDisplayCount=20,t}__extends(MoBarChartHorizontal,h=t.Mixins(a)),Object.defineProperty(MoBarChartHorizontal.prototype,"actualMargin",{get:function(){var t=this.margin,e=t.right,t=t.left;return 0<this.groupings.length?{top:70,right:e,bottom:40,left:t}:this.margin},enumerable:!1,configurable:!0}),MoBarChartHorizontal.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},MoBarChartHorizontal.prototype.mounted=function(){this.redraw()},MoBarChartHorizontal.prototype.redraw=function(){this.init(),this.renderAxis(),this.renderAxisLabel(),this.renderSpaceLine();var t=JSON.parse(JSON.stringify(this.displayData));"stacked"!==this.groupType&&"stacked100"!==this.groupType||(t=this.refactorStackedData()),this.renderBar(t),0===this.categories.length&&this.aggregates.length<=1&&this.renderData(t),this.labelGroup.selectAll("*").remove(),this.labelGroup.attr("transform","translate(0, 0)"),0<this.categories.length&&this.renderLabel()},MoBarChartHorizontal.prototype.init=function(){var t,e=this,n=(this.categories=[],this.displayData=this.data.slice(0,this.maxDisplayCount),this.groupType&&"none"!==this.groupType&&this.displayData.forEach(function(t){t.pieces&&t.pieces.length>e.categories.length&&(e.categories=t.pieces.map(function(t){return t.label}))}),t="grouped"===this.groupType&&0<this.categories.length?F.getMaxValue(this.displayData):s.max(this.displayData,function(t){return s.max(t.values)}),((null==(n=this.aggregates)?void 0:n[0])||{}).unitSymbol),n=5*F.formatValue(t||0,n,this.decimal).length+10,n=(this.actualMargin.right=Math.max(this.margin.right,n),this.$el.querySelector(".main-chart")),a=this.$el.querySelector(".chart-legends");f.select(n).selectAll("*").remove(),f.select(a).selectAll("*").remove(),this.svgWidth=n&&0<n.clientWidth?n.clientWidth:300,this.svgHeight=n&&0<n.clientHeight?n.clientHeight:300,this.legendSvgWidth=a&&0<a.clientWidth?a.clientWidth:150,this.legendSvgHeight=a&&0<a.clientHeight?a.clientHeight:this.svgHeight,this.width=this.svgWidth-this.actualMargin.left-this.actualMargin.right,this.height=this.svgHeight-this.actualMargin.top-this.actualMargin.bottom,this.mainSvg=f.select(n).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight),this.legendsSvg=f.select(a).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),"stacked100"===this.groupType&&0<this.categories.length?(this.xAxisScale=i.scaleLinear().domain([0,1]).range([0,this.width]).nice(),this.xAxis=l.axisTop(this.xAxisScale).ticks(5).tickSize(0).tickFormat(function(t){return V.format(".0%")(Number(t))})):(this.xAxisScale=i.scaleLinear().domain([0,t||10]).range([0,this.width]).nice(),this.xAxis=l.axisTop(this.xAxisScale).ticks(5).tickSize(0).tickFormat(function(t){return F.formatValue(t,"",e.decimal)})),this.yAxisScale=i.scaleBand().domain(this.displayData.map(function(t){return t.label})).range([0,this.height]).padding(.2),0<this.categories.length&&(this.yAxisCategories=i.scaleBand().domain(this.categories).range([0,this.yAxisScale.bandwidth()]).padding(.2).round(!1)),0<this.aggregates.length&&(this.yAxisAggregates=i.scaleBand().domain(this.aggregates.map(function(t){return t.label})).range([0,this.svgHeight]).round(!1)),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t){return F.formatDomainValue(t,e.actualMargin.left-20,!1)}),this.mainChart=this.mainSvg.append("g").attr("transform","translate("+this.actualMargin.left+", "+this.actualMargin.top+")"),this.labelGroup=this.legendsSvg.append("g").attr("transform","translate(0, 0)")},MoBarChartHorizontal.prototype.renderAxis=function(){this.mainSvg.append("g").attr("class","x mo-axis").attr("transform","translate("+this.actualMargin.left+", "+this.actualMargin.top+")").call(this.xAxis).selectAll("text").style("text-anchor","end").attr("class","mo-axis-text").attr("y",-5).attr("x",-25).attr("transform","rotate(70, -12, 12)"),this.mainSvg.append("g").attr("class","y mo-axis").attr("transform","translate("+this.actualMargin.left+", "+(this.actualMargin.top+10)+")").call(this.yAxis).selectAll("text").attr("class","mo-axis-text").attr("y",-Math.round(this.barPadding/2))},MoBarChartHorizontal.prototype.renderAxisLabel=function(){var n=this;this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",this.width/2+this.actualMargin.left).attr("y",15).text(function(){var t=n.aggregates.map(function(t){return t.label}).join(", "),e="currency"===(null==(e=n.aggregates[0])?void 0:e.dataType)?null==(e=null==(e=n.displayData[0])?void 0:e.reportMetadata)?void 0:e.currency:"";return e?F.formatDomainValue("("+e+") "+t,n.svgWidth,!1):F.formatDomainValue(t,n.svgWidth,!1)}),this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",-this.svgHeight/2).attr("y",10).attr("transform","rotate(-90)").text(this.groupings[0].label)},MoBarChartHorizontal.prototype.renderSpaceLine=function(){this.mainChart.selectAll(".mo-space-line").data(this.xAxisScale.ticks()).enter().append("line").attr("class","mo-space-line").attr("x1",this.xAxisScale).attr("x2",this.xAxisScale).attr("y1",0).attr("y2",this.height),this.mainChart.append("line").attr("class","mo-space-line").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",this.height)},MoBarChartHorizontal.prototype.refactorStackedData=function(){var l=this,t=JSON.parse(JSON.stringify(this.displayData));return t.forEach(function(t){var e=t.pieces,r=void 0===e?[]:e,i=t.values;r.forEach(function(t,e){var n,a,o;t.x=(n=e,a=i[0],o=0,r.forEach(function(t,e){e<n&&("stacked100"===l.groupType?o+=l.xAxisScale(t.values[0]/a):o+=l.xAxisScale(t.values[0]))}),o),t.percentage=t.values[0]/i[0]})}),t},MoBarChartHorizontal.prototype.renderBar=function(t){var e=this;0<this.categories.length?"grouped"===this.groupType?this.renderGroupedBar(t):"stacked"!==this.groupType&&"stacked100"!==this.groupType||(this.renderStackedBar(t),this.renderData(t)):1<this.aggregates.length?this.renderGroupedAggregatesBar(t):this.mainChart.selectAll(".bar").data(t).enter().append("rect").attr("class","bar").attr("x",0).attr("y",function(t){return e.yAxisScale(t.label)}).attr("width",0).attr("height",this.yAxisScale.bandwidth()).style("fill",F.getColor(0,this.colors)).transition().duration(1e3).attr("width",function(t){return e.xAxisScale(t.values[0])})},MoBarChartHorizontal.prototype.renderGroupedAggregatesBar=function(t){var n=this;this.mainChart.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate(0, "+n.yAxisScale(t.label)+")"}).selectAll("rect").data(function(t){return t.values}).enter().append("rect").attr("class","rect").attr("x",0).attr("y",function(t,e){return n.yAxisAggregates(n.aggregates[e].label)}).attr("height",this.yAxisScale.bandwidth()).attr("width",0).style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(1e3).attr("width",function(t){return n.xAxisScale(t)})},MoBarChartHorizontal.prototype.renderGroupedBar=function(t){var n=this,t=this.mainChart.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate(0, "+n.yAxisScale(t.label)+")"});t.selectAll("rect").data(function(t){return t.pieces||[]}).enter().append("rect").attr("class","rect").attr("x",0).attr("y",function(t){return n.yAxisCategories(t.label)}).attr("width",0).attr("height",this.yAxisCategories.bandwidth()).style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(1e3).attr("width",function(t){t=t.values[0];return Math.abs(n.xAxisScale(t)-n.xAxisScale(0))}),t.selectAll(".mo-data-text").data(function(t){return t.pieces||[]}).enter().append("text").attr("class","mo-data-text").attr("x",0).attr("y",function(t){return n.yAxisCategories(t.label)+n.yAxisCategories.bandwidth()/2+5}).style("fill",this.valueColor).attr("text-anchor","start").text(function(t){return 0<t.values[0]?F.formatValue(t.values[0],"",n.decimal):""}).transition().duration(1e3).attr("x",function(t){t=t.values[0];return Math.abs(n.xAxisScale(t)-n.xAxisScale(0))+5})},MoBarChartHorizontal.prototype.renderStackedBar=function(t){var n=this;this.mainChart.selectAll(".bar").data(t).enter().append("g").attr("transform",function(t){return"translate(0, "+n.yAxisScale(t.label)+")"}).selectAll("rect").data(function(t){return t.pieces||[]}).enter().append("rect").attr("class","rect").attr("x",0).attr("width",this.xAxisScale(0)).attr("height",this.yAxisScale.bandwidth()).style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(1e3).attr("x",function(t){return t.x}).attr("width",function(t){return"stacked100"===n.groupType?n.xAxisScale(t.percentage):n.xAxisScale(t.values[0])})},MoBarChartHorizontal.prototype.renderData=function(t){var e=this;this.mainChart.selectAll(".mo-data-text").data(t).enter().append("text").attr("class","mo-data-text").style("fill",this.valueColor).attr("text-anchor","start").attr("x",0).attr("y",function(t){return e.yAxisScale(t.label)+e.yAxisScale.bandwidth()/2+5}).text(function(t){return 0<t.values[0]?F.formatValue(t.values[0],"",e.decimal):""}).transition().duration(1e3).attr("x",function(t){return e.xAxisScale(t.values[0])+5})},MoBarChartHorizontal.prototype.renderLabel=function(){var n=this,t=(this.labelGroup.append("text").attr("x",10).attr("y",15).attr("class","mo-label-title").text(F.formatDomainValue(this.groupings[1].label,this.legendSvgWidth,!1)),this.labelGroup.selectAll(".mo-label").data(this.categories).enter().append("g").attr("class","mo-label"));t.append("rect").attr("width","15").attr("height","15").attr("x",10).attr("y",function(t,e){return 30+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),t.append("text").attr("x",35).attr("y",function(t,e){return 42+25*e}).attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t,n.legendSvgWidth,!1)})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],MoBarChartHorizontal.prototype,"data",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],MoBarChartHorizontal.prototype,"groupings",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],MoBarChartHorizontal.prototype,"aggregates",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],MoBarChartHorizontal.prototype,"colors",void 0),__decorate([t.Prop({type:Object,default:function(){return{top:80,right:30,bottom:20,left:120}}}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartMargin&&ChartMargin)?d:Object)],MoBarChartHorizontal.prototype,"margin",void 0),__decorate([t.Prop({type:Number,default:function(){return 25}}),__metadata("design:type",Number)],MoBarChartHorizontal.prototype,"barHeight",void 0),__decorate([t.Prop({type:Number,default:function(){return 15}}),__metadata("design:type",Number)],MoBarChartHorizontal.prototype,"barPadding",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],MoBarChartHorizontal.prototype,"decimal",void 0),__decorate([t.Prop({type:String,default:function(){return"outer"}}),__metadata("design:type",String)],MoBarChartHorizontal.prototype,"valuePosition",void 0),__decorate([t.Prop({type:String,default:function(){return"#5bdcef"}}),__metadata("design:type",String)],MoBarChartHorizontal.prototype,"valueColor",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],MoBarChartHorizontal.prototype,"groupType",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],MoBarChartHorizontal.prototype,"onDataChanged",null);function G(){var t=this,e=t.$createElement,e=t._self._c||e;return"grouped"===t.groupType||"stacked"===t.groupType||"stacked100"===t.groupType?e("div",{staticClass:"chart-container chart-having-tips"},[t._m(0),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()]):e("div",{staticClass:"chart-container chart-having-tips"},[e("div",{staticClass:"main-chart"}),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()])}function I(t){t&&t("data-v-1762f448_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var m,d=__decorate([t.Component({})],MoBarChartHorizontal),q=(G._withStripped=!0,normalizeComponent({render:G,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-and-legends"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},I,d,void 0,!1,void 0,!1,createInjector,void 0,void 0));function PieChart(){var t=null!==m&&m.apply(this,arguments)||this;return t.width=0,t.height=0,t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.chartDataForLegend=[],t.legendsSvg=null,t.total=0,t.arcLayout=null,t.arc3dLayout=null,t.pieLayout=null,t.radius=0,t.innerRadius=0,t.arcGroup=null,t.arc=null,t.centerGroup=null,t.labelGroup=null,t.rightNavImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjNCQTdEM0Y5NEVFNTExRTU5NkM0RjIwRkJBMjYwMTUzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjNCQTdEM0ZBNEVFNTExRTU5NkM0RjIwRkJBMjYwMTUzIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6M0JBN0QzRjc0RUU1MTFFNTk2QzRGMjBGQkEyNjAxNTMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6M0JBN0QzRjg0RUU1MTFFNTk2QzRGMjBGQkEyNjAxNTMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4zV8eYAAAB9klEQVR42sSYW0QEYRiGdztSlCillmUVkSK6iSidLrabSiKJIl0UnW5KEUUqSQdFpairKEpGlu1IdBERUUp3RRcRSemgw/vzDeMzqUz7zcvD7sfsPnZm/nn/dWqa5rCQaDAFkkATOHVYTIjF41dAEb3eBnng3MoHBlk4NhTkG94nkFSyXUJvYJjN1KnbBR47hFS6wASbucAOcNsh9AlawTSbu0nKJS2kSzWCeTb3kFSitJAu1QAW2DyFLvR4aSGVD1APltg8laTipIVU3kENrU/GpIEtECstpEtVg1U2zwB+ECMtpK9RVYA/lzJJKlpaSOUVVAAfm2fRLEpaSJcqB5tsng02QKS0kMozKAV7bJ5DUhFmQv3ghdaTQPBITYAnF6wbpXShDhDmsCeFYFzylP0m6VxoiC5Au+LjQt0gHDgDiGqnyyYyV2BW+pQFg0VQyebX1DpvJIXUd8zR48QYJVEALiXXIXWqZkAtm9+SzIXkwqhkJqmSmMmcST86RqlJGnMHisGJ9MN1BLSw2T3JHEvXjwHQ/o3MkXRB6wWdbPYAvOBQusL2EMY8gRJwIF3yO+jXMZPZl94GtYFBkw5UZtKBAi7UTHeUWUv0S2+l68AYLYA/9WgRoSYm891OQ0xI+8Ve7M+x8g9aH9UKL3Xytf+4Xb8EGABhpHk2U/H9dQAAAABJRU5ErkJggg==",t.rotation={index:0,angle:0,startAngle:0,originalAngle:0},t}__extends(PieChart,m=t.Mixins(a)),PieChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},PieChart.prototype.mounted=function(){this.redraw()},PieChart.prototype.redraw=function(){this.init(),this.renderPie(),this.renderLegends(),this.donut&&(this.addDonut(),this.showTotal)&&this.renderTotal(),this.renderInnerLabel(),this.changeContent()},PieChart.prototype.changeContent=function(){var t,e=this.chartDataForLegend,n=(-1===this.rotation.index&&(this.rotation.index=0),F.getPercentage(e[this.rotation.index].values[0],this.total,this.decimal)),a=F.formatValue(e[this.rotation.index].values[0],this.symbol),o=this.$el.querySelector(".percentage"),r=this.$el.querySelector(".label");o&&((t=f.select(o)).style("color",F.getColor(this.rotation.index,this.colors)),t.text(a+" : "+n+"%")),r&&(t=f.select(r)).text(e[this.rotation.index].label)},PieChart.prototype.init=function(){this.combineSmallGroups?this.chartDataForLegend=F.combineSmallGroups(__spreadArrays(this.data),.03,"Others"):this.chartDataForLegend=__spreadArrays(this.data);var t=this.$el.querySelector(".main-chart"),e=this.$el.querySelector(".chart-legends"),t=(f.select(t).selectAll("*").remove(),f.select(e).selectAll("*").remove(),this.svgWidth=t&&0<t.clientWidth?t.clientWidth:300,this.svgHeight=t&&0<t.clientHeight?t.clientHeight:300,this.legendSvgWidth=e&&0<e.clientWidth?e.clientWidth:150,this.legendSvgHeight=e&&0<e.clientHeight?e.clientHeight:this.svgHeight,this.width=Math.min(this.svgWidth,this.svgHeight),this.height=this.svgHeight,f.select(t).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight)),e=(this.legendsSvg=f.select(e).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),this.radius=Math.max(0,this.width/2-Math.min(30,.1*this.width)),this.innerRadius=this.donut?.43*this.radius:0,this.rotation={index:0,angle:0,startAngle:0,originalAngle:0},this.aggregate&&(this.height+=40),this.aggregate&&(e="currency"===this.aggregate.dataType?null==(e=null==(e=this.data[0])?void 0:e.reportMetadata)?void 0:e.currency:"",n=t.append("text").attr("class","mo-axis-label").attr("x",this.svgWidth/2).attr("y",40),e?n.text(F.formatDomainValue("("+e+") "+this.aggregate.label,this.svgWidth,!1)):n.text(F.formatDomainValue(this.aggregate.label,this.svgWidth,!1))),this.total=this.data[0].total,0===this.total&&(this.total=this.data.reduce(function(t,e){return t+e.values[0]},0)),this.arcLayout=c.arc().outerRadius(this.radius).innerRadius(this.innerRadius),this.arc3dLayout=c.arc().outerRadius(this.innerRadius+9).innerRadius(this.innerRadius),this.pieLayout=c.pie().value(function(t){return t.values[0]}),this.pieLayout(this.chartDataForLegend)[this.rotation.index]),n=(this.rotation.angle=180-(e.startAngle+e.endAngle)/2/Math.PI*180,this.aggregate?20:0);this.arcGroup=t.append("svg:g").attr("transform","translate("+this.svgWidth/2+", "+(this.svgHeight/2+n)+")\n rotate("+this.rotation.angle+")"),this.arc=this.arcGroup.selectAll(".arc").data(this.pieLayout(this.chartDataForLegend)).enter().append("g").attr("class","arc"),this.centerGroup=t.append("svg:g").attr("transform","translate("+this.svgWidth/2+", "+(this.svgHeight/2+n)+")"),this.labelGroup=t.append("svg:g"),this.chartDataForLegend=this.chartDataForLegend},PieChart.prototype.renderPie=function(){var n=this;this.arc.append("svg:path").style("fill",function(t,e){return F.getColor(e,n.colors)}).transition().duration(750).attrTween("d",function(t){var e=r.interpolateObject({startAngle:0,endAngle:0},t);return function(t){return n.arcLayout(e(t))}})},PieChart.prototype.renderLegends=function(){var n,t,a=this;0!==this.chartDataForLegend.length&&(n=0,this.groupBy&&this.aggregate&&(this.legendsSvg.append("text").attr("x",10).attr("y",40).attr("class","mo-label-title").text(F.formatDomainValue(this.groupBy.label,this.legendSvgWidth,!1)),n=65),(t=this.legendsSvg.selectAll(".mo-legend").data(this.chartDataForLegend).enter().append("g").attr("class","mo-legend")).append("rect").attr("width",15).attr("height",15).attr("x",10).attr("y",function(t,e){return n+25*e}).attr("fill",function(t,e){return F.getColor(e,a.colors)}),t.append("text").attr("x",35).attr("y",function(t,e){return n+12+25*e}).attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t.label,a.legendSvgWidth-5,!1)}))},PieChart.prototype.addDonut=function(){var n=this;this.arc.append("svg:path").attr("class","mo-inner-arc").transition().duration(750).attrTween("d",function(t){var e=r.interpolateObject({startAngle:0,endAngle:0},t);return function(t){return n.arc3dLayout(e(t))}})},PieChart.prototype.renderTotal=function(){var t=Math.min(18,.06*this.svgWidth),e=Math.max(10,Math.min(18,1.2*t));this.centerGroup.append("svg:text").style("text-anchor","middle").attr("class","mo-summary-label").transition().delay(500).text(this.totalLabel).style("font-size",t+"px"),this.centerGroup.append("svg:text").attr("y",e).style("text-anchor","middle").attr("class","mo-summary-value").transition().delay(500).text(F.formatValue(this.total,this.symbol,1)).style("font-size",t+"px")},PieChart.prototype.renderInnerLabel=function(){var l=this,s=this.chartDataForLegend.reduce(function(t,e){return t+e.values[0]},0),c=Math.max(10,Math.min(16,.035*this.svgWidth)),d=160<=this.width;this.arc.each(function(t,e,n){var a,n=n[e],n=f.select(n),o=F.getInnerText({showValue:l.showValue,innerValue:"inner"===l.valuePosition,value:t.value,showPercentage:l.showPercentage,innerPercentage:"inner"===l.percentagePosition,total:s,decimal:l.decimal,symbol:"",type:"pie"}),o=0<o.indexOf("\n")?o.split("\n"):[""+o],r=(t.endAngle-t.startAngle)*l.radius,i=Math.max.apply(Math,o.map(function(t){return t.length}))*c*.6+12;!d||r<i||((a=n.append("text").attr("class","mo-inner-text").attr("text-anchor","middle").attr("dominant-baseline","middle").style("fill",function(){var t=F.getColor(e,l.colors);return F.isLightColor(t)?"#000000":"#ffffff"}).style("font-size",c+"px")).transition().duration(750).attr("transform",function(){return"translate("+l.arcLayout.centroid(t)+") rotate("+-l.rotation.angle+")"}),o.forEach(function(t,e){a.append("tspan").attr("x",0).attr("dy",0===e?"0em":"1.2em").text(t)}))})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],PieChart.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],PieChart.prototype,"combineSmallGroups",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],PieChart.prototype,"showTotal",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],PieChart.prototype,"showValue",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],PieChart.prototype,"symbol",void 0),__decorate([t.Prop({type:String,default:function(){return"inner"}}),__metadata("design:type",String)],PieChart.prototype,"valuePosition",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],PieChart.prototype,"showPercentage",void 0),__decorate([t.Prop({type:String,default:function(){return"inner"}}),__metadata("design:type",String)],PieChart.prototype,"percentagePosition",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],PieChart.prototype,"decimal",void 0),__decorate([t.Prop({type:String,default:function(){return"vertical"}}),__metadata("design:type",String)],PieChart.prototype,"labelMode",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],PieChart.prototype,"labelColor",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],PieChart.prototype,"colors",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],PieChart.prototype,"donut",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartGroupingColumn&&ChartGroupingColumn)?d:Object)],PieChart.prototype,"groupBy",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartAggregateColumn&&ChartAggregateColumn)?d:Object)],PieChart.prototype,"aggregate",void 0),__decorate([t.Prop({type:String,default:function(){return"Total"}}),__metadata("design:type",String)],PieChart.prototype,"totalLabel",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],PieChart.prototype,"area",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],PieChart.prototype,"onDataChanged",null);function Q(){this.$createElement;return this._self._c,this._m(0)}function S(t){t&&t("data-v-08807cf6_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var g,d=__decorate([t.Component({})],PieChart),$=(Q._withStripped=!0,normalizeComponent({render:Q,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-container"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},S,d,void 0,!1,void 0,!1,createInjector,void 0,void 0));function LineChart(){var t=null!==g&&g.apply(this,arguments)||this;return t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.width=0,t.height=0,t.mainSvg=null,t.legendsSvg=null,t.xAxisScale=null,t.yAxisScale=null,t.xAxis=null,t.yAxis=null,t.xAxisCategories=null,t.categories=[],t.area=null,t.maxValue=null,t.refactoredData=[],t.displayData=[],t.maxDisplayCount=20,t}__extends(LineChart,g=t.Mixins(a)),Object.defineProperty(LineChart.prototype,"actualMargin",{get:function(){var t=this.margin,e=t.top,n=t.right,a=t.bottom,t=t.left;return 0<this.groupings.length?{top:e,right:n,bottom:130,left:t}:0<this.aggregates.length?{top:e,right:n,bottom:a,left:65}:this.margin},enumerable:!1,configurable:!0}),LineChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},LineChart.prototype.mounted=function(){this.redraw()},LineChart.prototype.redraw=function(){this.init(),this.renderAxis(),this.renderAxisLabel(),this.renderSpaceLine(),this.renderDataLine(),1<this.aggregates.length?this.renderMeasure():0<this.categories.length&&this.renderLabel(),this.showValue&&this.renderData()},LineChart.prototype.init=function(){var e,n=this,t=this.data.length>this.maxDisplayCount?this.data.length-this.maxDisplayCount:0,t=(this.displayData=this.data.slice(t),this.$el.querySelector(".main-chart")),a=this.$el.querySelector(".chart-legends"),t=(f.select(t).selectAll("*").remove(),f.select(a).selectAll("*").remove(),this.svgWidth=t&&0<t.clientWidth?t.clientWidth:300,this.svgHeight=t&&0<t.clientHeight?t.clientHeight:300,this.legendSvgWidth=a&&0<a.clientWidth?a.clientWidth:150,this.legendSvgHeight=a&&0<a.clientHeight?a.clientHeight:this.svgHeight,this.width=this.svgWidth-this.actualMargin.left-this.actualMargin.right,this.height=this.svgHeight-this.actualMargin.top-this.actualMargin.bottom,this.mainSvg=f.select(t).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight).append("g").attr("transform","translate("+this.actualMargin.left+", "+this.actualMargin.top+")"),this.legendsSvg=f.select(a).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),this.categories=[],this.displayData.slice(0,20));this.maxValue=s.max(t,function(t){return s.max(t.values)}),"grouped"===this.groupType&&(this.refactorGroupedData(),e=[],t.forEach(function(t){e.push.apply(e,t.pieces)}),this.maxValue=s.max(e,function(t){return s.max(t.values)})),this.refactoredData=JSON.parse(JSON.stringify(t)),"cumulativeGrouped"!==this.groupType&&"cumulative"!==this.groupType||this.refactorCumulateData(),this.xAxisScale=i.scalePoint().domain(this.refactoredData.map(function(t){return t.label})).range([0,this.width]).padding(.5),this.xAxis=l.axisBottom(this.xAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t){return F.formatDomainValue(t,100,!0)}),this.yAxisScale=i.scaleLinear().domain([0,this.maxValue||10]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t){return F.formatValue(t,"",n.decimal)}),this.area=c.area().x(function(t){return n.xAxisScale(t.label)}).y0(this.height).y1(function(t){return n.yAxisScale(n.lineValue(t))})},LineChart.prototype.lineValue=function(t,e){return void 0===e&&(e=0),"cumulativeGrouped"===this.groupType||"cumulative"===this.groupType?t.cumulates[e]||0:t.values[e]},LineChart.prototype.line=function(e){var n=this;return void 0===e&&(e=0),c.line().curve(c.curveLinear).x(function(t){return n.xAxisScale(t.label)}).y(function(t){return n.yAxisScale(n.lineValue(t,e))})},LineChart.prototype.refactorGroupedData=function(){var n=[];this.displayData.forEach(function(e){e.pieces&&0<e.pieces.length&&e.pieces.forEach(function(t){n.push({label:e.label,group:t.label,values:t.values})})}),this.categories=Array.from(s.group(n,function(t){return t.group}),function(t){return{key:t[0],value:t[1]}})},LineChart.prototype.refactorCumulateData=function(){var r=this;0<this.categories.length?this.categories.forEach(function(o){o.value.forEach(function(n,a){n.cumulates=n.cumulates||[],n.values.forEach(function(t,e){e=0<a?o.value[a-1].cumulates[e]+t:t;n.cumulates.push(e),e>r.maxValue&&(r.maxValue=e)})})}):this.refactoredData.forEach(function(a,o){a.cumulates=new Array(a.values.length).fill(0),a.values.forEach(function(t,e){var n=(0<o&&null!=(n=null==(n=null==(n=r.refactoredData[o-1])?void 0:n.cumulates)?void 0:n[e])?n:0)+t;(a.cumulates[e]=n)>r.maxValue&&(r.maxValue=n)})})},LineChart.prototype.renderAxis=function(){this.mainSvg.append("g").attr("class","x mo-axis").attr("transform","translate(0, "+this.height+")").call(this.xAxis).selectAll("text").attr("class","mo-axis-text").attr("y",10).attr("x",-8).attr("dy",0).attr("transform","rotate(-70)").style("text-anchor","end"),this.mainSvg.append("g").attr("class","y mo-axis").call(this.yAxis).selectAll("text").attr("class","mo-axis-text").attr("y",0)},LineChart.prototype.renderAxisLabel=function(){var n=this;this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",this.width/2).attr("y",this.svgHeight-25).text(this.groupings[0].label),this.mainSvg.append("text").attr("class","mo-axis-label").attr("transform","rotate(-90)").attr("x",-this.height/2).attr("y",-this.actualMargin.left).attr("dy","1em").style("text-anchor","middle").text(0<this.aggregates.length?this.aggregates.map(function(t){var e="currency"===t.dataType?null==(e=null==(e=n.displayData[0])?void 0:e.reportMetadata)?void 0:e.currency:"";return e?F.formatDomainValue("("+e+") "+t.label,n.svgWidth,!1):F.formatDomainValue(t.label,n.svgWidth,!1)}).join(", "):"")},LineChart.prototype.renderSpaceLine=function(){var e=this;this.mainSvg.selectAll(".mo-space-line").data(this.yAxisScale.ticks()).enter().append("line").attr("class","mo-space-line").attr("x1",0).attr("x2",this.width-5).attr("y1",this.yAxisScale).attr("y2",this.yAxisScale),this.mainSvg.selectAll(".mo-vertical-line").data(this.refactoredData).enter().append("line").attr("class","mo-space-line").attr("x1",function(t){return e.xAxisScale(t.label)}).attr("y1",this.height).attr("x2",function(t){return e.xAxisScale(t.label)}).attr("y2",0),this.mainSvg.selectAll(".mo-axis-point").data(this.refactoredData).enter().append("circle").attr("class","mo-axis-point").attr("r",2).attr("cx",function(t){return e.xAxisScale(t.label)}).attr("cy",this.height)},LineChart.prototype.renderDataLine=function(){function X7(t,e,n){var a=(n=void 0===n?!1:n)?e:0,n=F.getColor(e,r.colors),o=(e=r.mainSvg.append("path").datum(t).attr("d",r.line(a)).attr("class","mo-data-line").style("stroke",n)).node().getTotalLength();e.attr("stroke-dasharray",o+" "+o).attr("stroke-dashoffset",o).transition().duration(1e3).ease(N.easeLinear).attr("stroke-dashoffset",0),r.mainSvg.selectAll(".mo-data-point").data(t).enter().append("circle").attr("cx",function(t){return r.xAxisScale(t.label)}).attr("cy",function(t){return r.yAxisScale(r.lineValue(t,a))}).attr("r",r.pointRadius).attr("class","mo-line-point").style("fill",n)}var r=this;0<this.categories.length?this.categories.forEach(function(t,e){return X7(t.value,e)}):1<this.aggregates.length?this.aggregates.forEach(function(t,e){return X7(r.refactoredData,e,!0)}):(this.defineAreaGradients(0,F.getColor(0,this.colors)),X7(this.refactoredData,0),this.mainSvg.append("path").datum(this.refactoredData).attr("class","mo-line-area").style("fill","url(#MoLineAreaGradient0)").transition().duration(1e3).attr("d",this.area))},LineChart.prototype.defineAreaGradients=function(t,e){t=this.mainSvg.append("defs").append("linearGradient").attr("id","MoLineAreaGradient"+t).attr("x1","0").attr("y1","0").attr("x2","0").attr("y2","0").attr("y1","100%");t.append("stop").attr("offset","0%").attr("stop-color",e).attr("stop-opacity",0),t.append("stop").attr("offset","100%").attr("stop-color",e).attr("stop-opacity",.7)},LineChart.prototype.renderMeasure=function(){var n=this,t=this.legendsSvg.append("g"),t=(t.append("text").attr("x",0).attr("y",10).attr("class","mo-label-title").text("Measure"),t.selectAll(".mo-label").data(this.aggregates).enter().append("g").attr("class","mo-label"));t.append("rect").attr("width","15").attr("height","15").attr("x",0).attr("y",function(t,e){return 25+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),t.append("text").attr("x",20).attr("y",function(t,e){return 37+25*e}).attr("class","mo-legend-text").style("fill",this.labelColor||"").text(function(t){return F.formatDomainValue(t.label,n.legendSvgWidth,!1)})},LineChart.prototype.renderLabel=function(){var n=this,t=this.legendsSvg.append("g"),t=(t.append("text").attr("x",0).attr("y",10).attr("class","mo-label-title").text(F.formatDomainValue(this.groupings[1].label,this.legendSvgWidth,!1)),t.selectAll(".mo-label").data(this.categories).enter().append("g").attr("class","mo-label"));t.append("rect").attr("width","15").attr("height","15").attr("x",0).attr("y",function(t,e){return 25+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),t.append("text").attr("x",20).attr("y",function(t,e){return 37+25*e}).attr("class","mo-legend-text").style("fill",this.labelColor||"").text(function(t){return F.formatDomainValue(t.key,n.legendSvgWidth,!1)})},LineChart.prototype.renderData=function(){var e=this;"cumulativeGrouped"===this.groupType||"cumulative"===this.groupType?this.mainSvg.selectAll(".line-text").data(this.refactoredData).enter().append("text").attr("class","mo-data-text").attr("x",function(t){return e.xAxisScale(t.label)}).attr("y",function(t){return e.yAxisScale(t.cumulates[0])-5}).attr("text-anchor","middle").text(function(t){return 0!==t.cumulates[0]?F.formatValue(t.cumulates[0],"",e.decimal):""}).attr("transform",function(t){return"rotate(-20, "+e.xAxisScale(t.label)+", "+(e.yAxisScale(t.cumulates[0])-5)+")"}):this.mainSvg.selectAll(".line-text").data(this.displayData).enter().append("text").attr("class","mo-data-text").attr("x",function(t){return e.xAxisScale(t.label)}).attr("y",function(t){return e.yAxisScale(t.values[0])-5}).attr("text-anchor","middle").text(function(t){return 0!==t.values[0]?F.formatValue(t.values[0],"",e.decimal):""}).attr("transform",function(t){return"rotate(-20, "+e.xAxisScale(t.label)+", "+(e.yAxisScale(t.values[0])-5)+")"})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],LineChart.prototype,"data",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],LineChart.prototype,"groupings",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],LineChart.prototype,"aggregates",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],LineChart.prototype,"showValue",void 0),__decorate([t.Prop({type:Object,default:function(){return{top:20,right:10,bottom:0,left:70}}}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartMargin&&ChartMargin)?d:Object)],LineChart.prototype,"margin",void 0),__decorate([t.Prop({type:Number,default:function(){return 3}}),__metadata("design:type",Number)],LineChart.prototype,"pointRadius",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],LineChart.prototype,"textColor",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],LineChart.prototype,"labelColor",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],LineChart.prototype,"groupType",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],LineChart.prototype,"colors",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],LineChart.prototype,"decimal",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],LineChart.prototype,"onDataChanged",null);function Z(){var t=this,e=t.$createElement,e=t._self._c||e;return"grouped"===t.groupType||"cumulativeGrouped"===t.groupType||1<t.aggregates.length||0<t.categories.length?e("div",{staticClass:"chart-container chart-having-tips"},[t._m(0),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()]):e("div",{staticClass:"chart-container chart-having-tips"},[e("div",{staticClass:"main-chart"}),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()])}function _(t){t&&t("data-v-9b29bf16_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var u,d=__decorate([t.Component({})],LineChart),K=(Z._withStripped=!0,normalizeComponent({render:Z,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-and-legends"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends",staticStyle:{width:"20%"}})])}]},_,d,void 0,!1,void 0,!1,createInjector,void 0,void 0));function FunnelChart(){var t=null!==u&&u.apply(this,arguments)||this;return t.funnelWidth=0,t.funnelHeight=0,t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.legendItemHeight=25,t.mainSvg=null,t.legendsSvg=null,t.total=0,t.refactoredData=[],t.colorMap=new Map,t}__extends(FunnelChart,u=t.Mixins(a)),FunnelChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},FunnelChart.prototype.mounted=function(){this.redraw()},FunnelChart.prototype.redraw=function(){this.init(),this.renderFunnel(),this.renderLegend()},FunnelChart.prototype.init=function(){var t,d=this,e=(this.colorMap.clear(),this.refactoredData=[],(t=this.combineSmallGroups?F.combineSmallGroups(__spreadArrays(this.data),.03,"Others"):__spreadArrays(this.data)).filter(function(t){return 0<t.values[0]})),e=__spreadArrays(e),p=e.reduce(function(t,e){return t+e.values[0]},0),n=(t.forEach(function(t,e){d.colorMap.set(t.label,F.getColor(e,d.colors))}),this.$el.querySelector(".main-chart")),a=this.$el.querySelector(".chart-legends"),h=(f.select(n).selectAll("*").remove(),f.select(a).selectAll("*").remove(),this.svgWidth=n&&0<n.clientWidth?n.clientWidth:300,this.svgHeight=n&&0<n.clientHeight?n.clientHeight:300,this.legendSvgWidth=a&&0<a.clientWidth?a.clientWidth:150,this.legendSvgHeight=a&&0<a.clientHeight?a.clientHeight:this.svgHeight,this.funnelWidth=this.svgWidth,this.funnelHeight=this.svgHeight,50),m=this.funnelHeight-h-50,g=this.funnelWidth/1.5,u=.3*this.funnelWidth;e.forEach(function(t){var e=h/m,n=Math.max(t.values[0]/p*m,15),e=g-(g-u)*e,a=g-(g-u)*((h+n)/m),o=(d.funnelWidth-e)/2,r=h,e=o+e,i=r,l=(d.funnelWidth-a)/2+a,s=r+n,a=(d.funnelWidth-a)/2,c=s;h+=n,0<t.values[0]&&((n=JSON.parse(JSON.stringify(t))).points=[{x:o,y:r},{x:e,y:i},{x:l,y:s},{x:a,y:c}],d.refactoredData.push(n))}),this.mainSvg=f.select(n).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight),this.legendsSvg=f.select(a).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),this.total=p,this.chartDataForLegend=t},FunnelChart.prototype.renderFunnel=function(){var e=this,t=this.mainSvg.selectAll("g").data(this.refactoredData).enter().append("g");t.append("polygon").attr("points",this.getPoint(this.refactoredData[0].points)).style("fill",function(t){return e.colorMap.get(t.label)||"#fff"}).transition().duration(1e3).attr("points",function(t){return t.points.map(function(t){return[t.x,t.y].join(",")}).join(" ")}),t.append("text").attr("class","mo-label-inner").attr("x",this.funnelWidth/2).attr("y",function(t){return(t.points[0].y+t.points[3].y)/2+5}).style("fill",function(t){t=e.colorMap.get(t.label)||"#dddddd";return F.isLightColor(t)?"#000000":"#ffffff"}).text(function(t){return F.getInnerText({showValue:e.showValue,innerValue:"inner"===e.valuePosition,value:t.values[0],showPercentage:e.showPercentage,innerPercentage:"inner"===e.percentagePosition,total:e.total,decimal:e.decimal,symbol:""})})},FunnelChart.prototype.getPoint=function(t){for(var e=[],n=0;n<4;n+=1)e.push(t[n].x+","+t[n].y);return e.join(" ")},FunnelChart.prototype.renderLegend=function(){var n,a=this,t=(this.mainSvg.selectAll(".legend").remove(),this.groupBy&&this.aggregate&&(n="currency"===(null==(t=this.aggregate)?void 0:t.dataType)?null==(t=null==(t=this.data[0])?void 0:t.reportMetadata)?void 0:t.currency:"",this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",this.funnelWidth/2).attr("y",30).text(function(){var t=(null==(t=a.aggregate)?void 0:t.label)||"",e=F.formatValue(a.total,"",a.decimal);return F.formatDomainValue(n?"("+n+") "+t+": "+e:t+": "+e,a.svgWidth,!1)}),this.legendsSvg.append("text").attr("class","mo-label-title").attr("x",0).attr("y",30).text(F.formatDomainValue(this.groupBy.label,this.legendSvgWidth,!1))),this.chartDataForLegend),e=this.legendsSvg.append("g").attr("class","legend").attr("transform","translate(0, 50)"),o=e.selectAll("rect").data(t).enter().append("rect").attr("width",15).attr("height",15).style("fill",function(t){return a.colorMap.get(t.label)||"#ddd"}),e=e.selectAll("text").data(t).enter().append("text").attr("class","mo-legend-text").text(function(t){return F.formatDomainValue(t.label,a.legendSvgWidth-2,!1)});"horizontal"===this.labelMode?(o.attr("x",function(t,e){return 10+100*e}).attr("y",10),e.attr("x",function(t,e){return 35+100*e}).attr("y",23)):(o.attr("x",0).attr("y",function(t,e){return 25*e}),e.attr("x",25).attr("y",function(t,e){return 25*e+13}))},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],FunnelChart.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],FunnelChart.prototype,"combineSmallGroups",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],FunnelChart.prototype,"decimal",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],FunnelChart.prototype,"colors",void 0),__decorate([t.Prop({type:String,default:function(){return"vertical"}}),__metadata("design:type",String)],FunnelChart.prototype,"labelMode",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],FunnelChart.prototype,"showValue",void 0),__decorate([t.Prop({type:String,default:function(){return"inner"}}),__metadata("design:type",String)],FunnelChart.prototype,"valuePosition",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],FunnelChart.prototype,"showPercentage",void 0),__decorate([t.Prop({type:String,default:function(){return"inner"}}),__metadata("design:type",String)],FunnelChart.prototype,"percentagePosition",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartGroupingColumn&&ChartGroupingColumn)?d:Object)],FunnelChart.prototype,"groupBy",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartAggregateColumn&&ChartAggregateColumn)?d:Object)],FunnelChart.prototype,"aggregate",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],FunnelChart.prototype,"onDataChanged",null);function ga(){this.$createElement;return this._self._c,this._m(0)}function ia(t){t&&t("data-v-46dee47e_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var b,d=__decorate([t.Component({})],FunnelChart),tt=(ga._withStripped=!0,normalizeComponent({render:ga,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-container"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},ia,d,void 0,!1,void 0,!1,createInjector,void 0,void 0));function GaugeChart(){var t=null!==b&&b.apply(this,arguments)||this;return t.svg=null,t.width=0,t.height=0,t.radius=0,t.backgroundArc=null,t.arc=null,t.centerArc=null,t.scale=null,t}__extends(GaugeChart,b=t.Mixins(a)),Object.defineProperty(GaugeChart.prototype,"minValue",{get:function(){var t="string"==typeof this.data.value?parseFloat(this.data.value):this.data.value;return Math.min(this.data.minValue,t)},enumerable:!1,configurable:!0}),Object.defineProperty(GaugeChart.prototype,"maxValue",{get:function(){var t="string"==typeof this.data.value?parseFloat(this.data.value):this.data.value;return Math.max(this.data.maxValue,t)},enumerable:!1,configurable:!0}),Object.defineProperty(GaugeChart.prototype,"labelWithCurrency",{get:function(){var t=(null==(t=this.aggregate)?void 0:t.label)||"",e="currency"===(null==(e=this.aggregate)?void 0:e.dataType)?null==(e=this.data.reportMetadata)?void 0:e.currency:"";return e?t+" ("+e+")":t},enumerable:!1,configurable:!0}),Object.defineProperty(GaugeChart.prototype,"valueWithCurrency",{get:function(){var t=(null==(t=this.data)?void 0:t.value)||0;return F.formatValue(t,"",this.decimal)},enumerable:!1,configurable:!0}),Object.defineProperty(GaugeChart.prototype,"percentLabel",{get:function(){var t=(("string"==typeof this.data.value?parseFloat(this.data.value):this.data.value)/this.data.maxValue*100).toFixed(0);return"("+F.formatValue(t,"",1)+"%)"},enumerable:!1,configurable:!0}),GaugeChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},GaugeChart.prototype.mounted=function(){this.redraw()},GaugeChart.prototype.redraw=function(){this.init(),this.renderGauge(),this.renderData(),this.renderPointer()},GaugeChart.prototype.init=function(){var t=this.$el,e=t&&0<t.clientWidth?t.clientWidth:300,t=t&&0<t.clientHeight?t.clientHeight:300;this.width=Math.min(e,t),this.height=t,this.radius=this.width/2-5,this.svg=f.select(this.$el).append("svg").attr("width",this.width).attr("height",this.height),this.defineGradient(),this.backgroundArc=c.arc().innerRadius(this.radius).outerRadius(this.radius).startAngle(this.angleToRadian(this.minAngle)).endAngle(this.angleToRadian(this.maxAngle)),this.arc=c.arc().innerRadius(this.radius).outerRadius(this.radius),this.centerArc=c.arc().innerRadius(8).outerRadius(22).startAngle(this.angleToRadian(-180)).endAngle(this.angleToRadian(180)),this.scale=i.scaleLinear().range([this.minAngle,this.maxAngle]).domain([this.minValue,this.maxValue])},GaugeChart.prototype.renderGauge=function(){var o=this,t=(this.svg.append("path").attr("class","mo-gauge-back-arc").attr("transform","translate("+this.width/2+", "+this.height/2+")").attr("d",this.backgroundArc),this.svg.append("path").attr("class","mo-gauge-value-arc").attr("transform","translate("+this.width/2+", "+this.height/2+")").transition().duration(1e3).attrTween("d",function(){var t=o.angleToRadian(o.minAngle),e=o.angleToRadian(o.scale(o.data.value)),n={startAngle:t,endAngle:t},a={startAngle:t,endAngle:e};return function(t){return o.arc(r.interpolateObject(n,a)(t))}}),this.tickCalc()),e=this.getTicksAngles();this.svg.append("g").selectAll("path").data(e).enter().append("path").attr("d",t).attr("class","mo-gauge-tick"),this.svg.append("path").attr("class","mo-gauge-inner-arc").attr("transform","translate("+this.width/2+", "+this.height/2+")").attr("d",this.centerArc)},GaugeChart.prototype.renderData=function(){var t=this.svg.append("g").attr("transform","translate("+this.width/2+", "+(this.height/2+80)+")");t.append("text").text([F.formatValue(this.data.value,"",this.decimal),this.showPercentage?this.percentLabel:""].join("")).attr("class","mo-gauge-value").style("font-size",Math.min(40,.1*this.width)+"px"),t.append("text").attr("y",25).text(this.showRange?this.data.breakRange:"").attr("class","mo-gauge-range"),t.append("text").attr("y",this.showRange?45:25).text([this.label,F.formatValue(this.data.maxValue,"",this.decimal)].join(" ")).attr("class","mo-gauge-max-value"),this.aggregate&&t.append("text").attr("y",this.showRange?65:45).text(this.labelWithCurrency).attr("class","mo-axis-div-label").style("font-size",Math.min(16,.05*this.width)+"px")},GaugeChart.prototype.renderPointer=function(){var n=this,t=[[2.5,0],[0,-(this.radius-10)],[-2.5,0],[2.5,0]],e=c.line().curve(c.curveMonotoneX);this.svg.append("g").data([t]).attr("class","mo-gauge-pointer").attr("transform","translate("+this.width/2+", "+this.height/2+")").append("path").attr("d",e).attr("transform","rotate("+this.scale(this.minValue)+")").transition().duration(1e3).attrTween("transform",function(){var t=n.scale(n.minValue),e=n.scale(n.data.value);return r.interpolateString("rotate("+t+")","rotate("+e+")")}),this.svg.append("circle").attr("class","mo-gauge-inner-bg-arc").attr("cx",this.width/2).attr("cy",this.height/2).attr("r",10)},GaugeChart.prototype.defineGradient=function(){var t=this.svg.append("defs").append("linearGradient").attr("id","MoGaugeGradient").attr("x1","0").attr("y1","0").attr("x2","100%").attr("y2","0");t.append("stop").attr("offset","0%").attr("stop-color",this.gradientColors[0]),t.append("stop").attr("offset","100%").attr("stop-color",this.gradientColors[1])},GaugeChart.prototype.angleToRadian=function(t){return t*(Math.PI/180)},GaugeChart.prototype.getTicksAngles=function(){for(var t=[],e=0,n=(this.scale(this.maxValue)-this.scale(this.minValue))/this.ticksNumber,a=this.minAngle;a<=this.maxAngle;a+=n)t.push(this.minAngle+n*e),e+=1;return t},GaugeChart.prototype.tickCalc=function(){var o=this;return function(t){var t=(t-90)*(Math.PI/180),e=o.radius-15,n=o.height/2+e*Math.sin(t),a=o.height/2+(5+e)*Math.sin(t),n=[{x:o.width/2+e*Math.cos(t),y:n},{x:o.width/2+(5+e)*Math.cos(t),y:a}];return c.line(function(t){return t.x},function(t){return t.y})(n)}},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(d="undefined"!=typeof GaugeData&&GaugeData)?d:Object)],GaugeChart.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],GaugeChart.prototype,"showTotal",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],GaugeChart.prototype,"showRange",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!0}}),__metadata("design:type",Boolean)],GaugeChart.prototype,"showValue",void 0),__decorate([t.Prop({type:Boolean,default:function(){return!1}}),__metadata("design:type",Boolean)],GaugeChart.prototype,"showPercentage",void 0),__decorate([t.Prop({type:String,default:function(){return"Target"}}),__metadata("design:type",String)],GaugeChart.prototype,"label",void 0),__decorate([t.Prop({type:Number,default:function(){return-90}}),__metadata("design:type",Number)],GaugeChart.prototype,"minAngle",void 0),__decorate([t.Prop({type:Number,default:function(){return 90}}),__metadata("design:type",Number)],GaugeChart.prototype,"maxAngle",void 0),__decorate([t.Prop({type:Array,default:function(){return["#7467cd","#00b9ff"]}}),__metadata("design:type",Array)],GaugeChart.prototype,"gradientColors",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],GaugeChart.prototype,"centerColor",void 0),__decorate([t.Prop({type:Number,default:function(){return 40}}),__metadata("design:type",Number)],GaugeChart.prototype,"ticksNumber",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],GaugeChart.prototype,"decimal",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartAggregateColumn&&ChartAggregateColumn)?d:Object)],GaugeChart.prototype,"aggregate",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],GaugeChart.prototype,"onDataChanged",null);function pa(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"mo-chart mo-gauge-chart"})}function ra(t){t&&t("data-v-b66fee0c_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}\n.mo-gauge-chart {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}',map:void 0,media:void 0})}var v,d=__decorate([t.Component({})],GaugeChart),et=(pa._withStripped=!0,normalizeComponent({render:pa,staticRenderFns:[]},ra,d,void 0,!1,void 0,!1,createInjector,void 0,void 0));function MetricChart(){return null!==v&&v.apply(this,arguments)||this}__extends(MetricChart,v=t.Vue),Object.defineProperty(MetricChart.prototype,"value",{get:function(){return F.formatValue(this.data.value,this.aggregate.unitSymbol,this.decimal)},enumerable:!1,configurable:!0}),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(d="undefined"!=typeof MetricData&&MetricData)?d:Object)],MetricChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartAggregateColumn&&ChartAggregateColumn)?d:Object)],MetricChart.prototype,"aggregate",void 0),__decorate([t.Prop({type:Number,default:function(){return 1}}),__metadata("design:type",Number)],MetricChart.prototype,"decimal",void 0);function ya(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"mo-chart"},[e("div",{staticClass:"mo-metric"},[e("div",{staticClass:"mo-metric-inner"},[e("div",{staticClass:"mo-metric-label"},[t._v("\n "+t._s(t.data.label)+"\n ")]),t._v(" "),e("div",{staticClass:"mo-metric-value"},[t._v("\n "+t._s(t.value)+"\n ")])])])])}function Aa(t){t&&t("data-v-87bb7704_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var y,d=__decorate([t.Component({})],MetricChart),nt=(ya._withStripped=!0,normalizeComponent({render:ya,staticRenderFns:[]},Aa,d,void 0,!1,void 0,!1,createInjector,void 0,void 0));function ScatterChart(){var t=null!==y&&y.apply(this,arguments)||this;return t.svgWidth=0,t.svgHeight=0,t.legendSvgWidth=240,t.legendSvgHeight=0,t.width=0,t.height=0,t.mainSvg=null,t.legendsSvg=null,t.xAxisScale=null,t.xAxis=null,t.yAxisScale=null,t.yAxis=null,t.line=null,t.categories=[],t.additionalHeight=0,t.displayData=[],t.maxDisplayCount=20,t}__extends(ScatterChart,y=t.Mixins(a)),ScatterChart.prototype.onDataChanged=function(){this.beforeRedraw(),this.redraw()},ScatterChart.prototype.mounted=function(){this.redraw()},ScatterChart.prototype.redraw=function(){this.init(),this.renderAxis(),this.renderAxisLabel(),this.renderSpaceLine(),this.renderPoint(),1<this.groupings.length&&0<this.categories.length&&this.renderLabel()},ScatterChart.prototype.init=function(){var n=this,t=this.data.length>this.maxDisplayCount?this.data.length-this.maxDisplayCount:0,t=(this.displayData=this.data.slice(t),this.$el.querySelector(".main-chart")),e=this.$el.querySelector(".chart-legends"),t=(f.select(t).selectAll("*").remove(),f.select(e).selectAll("*").remove(),this.svgWidth=t&&0<t.clientWidth?t.clientWidth:300,this.svgHeight=t&&0<t.clientHeight?t.clientHeight:300,this.legendSvgWidth=e&&0<e.clientWidth?e.clientWidth:150,this.legendSvgHeight=e&&0<e.clientHeight?e.clientHeight:this.svgHeight,this.width=this.svgWidth-this.margin.left-this.margin.right,this.height=this.svgHeight-this.margin.top-this.margin.bottom,this.mainSvg=f.select(t).append("svg").attr("width",this.svgWidth).attr("height",this.svgHeight).append("g").attr("transform","translate("+this.margin.left+", "+this.margin.top+")"),this.legendsSvg=f.select(e).append("svg").attr("width",this.legendSvgWidth).attr("height",this.legendSvgHeight),this.displayData.slice(-20)),e=s.max(t,function(t){return t.values[0]}),t=s.max(t,function(t){return t.values[1]});"grouped"===this.groupType&&this.refactorGroupedData(),this.xAxisScale=i.scaleLinear().domain([0,e||10]).range([0,this.width]).nice(),this.xAxis=l.axisBottom(this.xAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t){return F.formatDomainValue(t,n.legendSvgWidth-35,!0)}),this.yAxisScale=i.scaleLinear().domain([0,t||10]).range([this.height,0]).nice(),this.yAxis=l.axisLeft(this.yAxisScale).tickSize(0).tickPadding(6).tickFormat(function(t,e){return e%2==0?F.formatValue(t,"",n.decimal):""}),this.line=c.line(function(t){return n.xAxisScale(t.values[0])},function(t){return n.yAxisScale(t.values[1])})},ScatterChart.prototype.renderAxis=function(){this.mainSvg.append("g").attr("class","x mo-axis").attr("transform","translate(0, "+this.height+")").call(this.xAxis).selectAll("text").style("text-anchor","end").attr("class","mo-axis-text").attr("y",10).attr("x",-8).attr("transform","rotate(-60)"),this.mainSvg.append("g").attr("class","y mo-axis").call(this.yAxis).selectAll("text").attr("class","mo-axis-text").attr("y",0)},ScatterChart.prototype.renderAxisLabel=function(){var t,e;0<this.aggregates.length&&(e=(t="currency"===this.aggregates[0].dataType?null==(t=null==(t=this.displayData[0])?void 0:t.reportMetadata)?void 0:t.currency:"")?this.aggregates[0].label+" ("+t+")":this.aggregates[0].label,this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",this.width/2).attr("y",this.svgHeight-25).text(F.formatDomainValue(e,this.svgWidth,!1))),F.defineAreaGradientsForCover(this.mainSvg,1,!0),this.mainSvg.append("rect").attr("transform","rotate(-90)").attr("x",-this.height-10).attr("y",20-this.margin.left).attr("width",this.height+20).attr("height",10).style("fill","none"),this.mainSvg.append("rect").attr("transform","rotate(-90)").attr("x",-this.height-10).attr("y",-this.margin.left-10).attr("width",this.height+20).attr("height",30).style("fill","none"),1<this.aggregates.length&&(e=(t="currency"===this.aggregates[1].dataType?null==(e=null==(e=this.displayData[0])?void 0:e.reportMetadata)?void 0:e.currency:"")?this.aggregates[1].label+" ("+t+")":this.aggregates[1].label,this.mainSvg.append("text").attr("class","mo-axis-label").attr("x",-this.height/2).attr("y",-this.margin.left).attr("dy","1em").attr("transform","rotate(-90)").text(e))},ScatterChart.prototype.renderSpaceLine=function(){this.mainSvg.selectAll(".mo-space-line").data(this.yAxisScale.ticks()).enter().append("line").attr("stroke","").attr("class",function(t,e){return e%2==0?"mo-space-bold-line":"mo-space-line"}).attr("x1",0).attr("x2",this.width-5).attr("y1",this.yAxisScale).attr("y2",this.yAxisScale),this.mainSvg.selectAll(".mo-vertical-line").data(this.xAxisScale.ticks()).enter().append("line").attr("class",function(t,e){return e%2==0?"mo-space-bold-line":"mo-space-line"}).attr("x1",this.xAxisScale).attr("x2",this.xAxisScale).attr("y1",this.height).attr("y2",0),this.mainSvg.selectAll(".mo-axis-point").data(this.xAxisScale.ticks()).enter().append("circle").attr("class","mo-axis-point").attr("r",function(t,e){return e%2==0?2:0}).attr("cx",this.xAxisScale).attr("cy",this.height)},ScatterChart.prototype.renderPoint=function(){function rk(t,e){e=F.getColor(e,n.colors),n.mainSvg.append("g").selectAll(".mo-data-point").data(t).enter().append("circle").attr("fill",e).attr("cx",0).attr("cy",n.height).attr("r",n.pointRadius).transition().duration(1e3).attr("cx",function(t){return n.xAxisScale(t.values[0])}).attr("cy",function(t){return n.yAxisScale(t.values[1]||0)})}var n=this;"grouped"===this.groupType&&0<this.categories.length?this.categories.forEach(function(t,e){return rk(t.value,e)}):rk(this.displayData,0)},ScatterChart.prototype.renderLabel=function(){var n=this,t=this.legendsSvg.append("g"),t=(t.attr("transform","translate(0, 0)"),t.append("text").attr("x",0).attr("y",20).attr("class","mo-label-title").text(F.formatDomainValue(this.groupings[1].label,this.legendSvgWidth,!1)),t.selectAll(".mo-label").data(this.categories).enter().append("g").attr("class","mo-label"));t.append("rect").attr("width","15").attr("height","15").attr("x",0).attr("y",function(t,e){return 35+25*e}).attr("fill",function(t,e){return F.getColor(e,n.colors)}),t.append("text").attr("x",25).attr("y",function(t,e){return 47+25*e}).attr("class","mo-legend-text").style("fill",this.labelColor||"").text(function(t){return F.formatDomainValue(t.key,n.legendSvgWidth,!1)})},ScatterChart.prototype.refactorGroupedData=function(){var n=[];this.displayData.forEach(function(e){e.pieces&&0<e.pieces.length&&e.pieces.forEach(function(t){n.push({label:e.label,group:t.label,values:t.values})})}),this.categories=Array.from(s.group(n,function(t){return t.group}),function(t){return{key:t[0],value:t[1]}})},__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],ScatterChart.prototype,"data",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],ScatterChart.prototype,"groupings",void 0),__decorate([t.Prop({type:Array,default:function(){return[]}}),__metadata("design:type",Array)],ScatterChart.prototype,"aggregates",void 0),__decorate([t.Prop({type:Object,default:function(){return{top:20,right:20,bottom:85,left:70}}}),__metadata("design:type","function"==typeof(d="undefined"!=typeof ChartMargin&&ChartMargin)?d:Object)],ScatterChart.prototype,"margin",void 0),__decorate([t.Prop({type:Number,default:function(){return 3}}),__metadata("design:type",Number)],ScatterChart.prototype,"pointRadius",void 0),__decorate([t.Prop({type:Number,default:function(){return 2}}),__metadata("design:type",Number)],ScatterChart.prototype,"decimal",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],ScatterChart.prototype,"groupType",void 0),__decorate([t.Prop({type:Array}),__metadata("design:type",Array)],ScatterChart.prototype,"colors",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],ScatterChart.prototype,"labelColor",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],ScatterChart.prototype,"onDataChanged",null);function Ha(){var t=this,e=t.$createElement,e=t._self._c||e;return"grouped"===t.groupType||0<t.categories.length?e("div",{staticClass:"chart-container chart-having-tips"},[t._m(0),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()]):e("div",{staticClass:"chart-container chart-having-tips"},[e("div",{staticClass:"main-chart"}),t._v(" "),20<t.data.length?e("div",{staticClass:"chart-limit-tips"},[t._v("\n "+t._s(t.CHART_LIMIT_TIPS_TEXT)+"\n ")]):t._e()])}function Ja(t){t&&t("data-v-6ee0dd74_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}',map:void 0,media:void 0})}var w,d=__decorate([t.Component({})],ScatterChart),at=(Ha._withStripped=!0,normalizeComponent({render:Ha,staticRenderFns:[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"chart-and-legends"},[t("div",{staticClass:"main-chart"}),this._v(" "),t("div",{staticClass:"chart-legends"})])}]},Ja,d,void 0,!1,void 0,!1,createInjector,void 0,void 0)),C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkUxOTdBMEMwMkEwQzExRTZCMjUzODM5RjQyNEZFMUQ3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkUxOTdBMEMxMkEwQzExRTZCMjUzODM5RjQyNEZFMUQ3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RTE5N0EwQkUyQTBDMTFFNkIyNTM4MzlGNDI0RkUxRDciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RTE5N0EwQkYyQTBDMTFFNkIyNTM4MzlGNDI0RkUxRDciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4/Y8gIAAAEC0lEQVR42syZS0gVYRTHv3vRHpYtUhdSKQZpCqGQIphFKtSmBxVUUosyRTO1xyqiWvTY9zAxCzcaWpBCEEFFlo/CtDZBPhZFpbiwu+lhckvtf+Q/9DHex+idO3bgz3XuzHznd883833nHF1r7t9QczA3lAXlQZlQMrQCWsLzP6FhaBDqhdqgHmjSPNDg7vKAjiJmCbYSOgYdgFYFuG4htBxaB+3hd1+gO5BEZMiqQ6uAMdAFqBhawO8+QI+hTqgP+gR957loKBFKhXKhrVASdBo6Bd2GzkMeOwD38lfHcoruQlehVwHu8VBvGTUXtIHRl/HK+VnB8fyaK8AzKPDXoTIeP4MqofcqNEvjuPk8rpVx8Sz+8few+7IoqJVw4/ylBTbAKY5RwGiO00drcktNlFVAiVwTtI3TtJlTbLfVcGwPfTUBMsIKYDW0AxrlA96twmfd9DFKn9XBAPdBpdAvaDvUr8JsePb66WtMfCOKhf4AY7RfcCLMkTNDiq+TxgwCMs4X4CUuJU+gOuWwAbKOK4Us8BfNgAnQEUhe9eNq/qyCDEWIYoIOeBSKhJq5KzhlEaYo9nHhjiTTNKDooLZoOmHyKHXJi4FIFZvO3eTnQZxzG1mJJAEfoZcOwclznsNIFZrOd5JFmLLc2pYjG/+UQ3AZPJ4wbwKY5imyiOUJ4HoedMwD3GEAtfi41mDJFMAUbY90FA5qCLBfi6UIYDwPPv8ncDpLvJvJpdKSzVCz7lDhdJZod5ALi7lHdtGZE3AzkgU9TTdbIZeCHDqLdQhuqRFJARzRtjtfqdcE/86wCGlH5BL5OSKAA1oqbrZWDq5DPg0AGcvzIU2rxjIggG94kOvn4gYTZLofSAMuPUQ4naXXzaJasTR0zRHSNjjsvy6yiLUJ4GsW0kl8GVQAyEM+INfaGDlFhiQy9bhZ6zbyZFmQmxt9QL6zEc7ICad9YRucNNZB2bC90H52A2YDGWEXHKY3lQW910giDMAhtiPE2RULY5kh7YicYkEvTPWI3pC5JjF6JVugkllAeu2AQ/RKWNALw1lfRZNHm3+JYrZFyBQb4LK1matC9DyBejO1rI2lmN7kQG0sq0A7JKVmHeBKg3UWqqAHvKGTJUG4LIs+4uiz0krrw8sk4RGL+XZmNXabjPmCPh6KT0TPa7W7JSnWTlZYi6BbXIzTbABL5Vgy5mL62AW4sdkmo7+5cD/n61/ARfkedC1IA3NGH5I7RAXXOQnMV74QTaF2WJv5i6UdUcTFXGS0gDtY7Eua/o33LGP6JtHaqP61gI1HqB46R0gVKqDiQFLpX2YUpNBfzQiXWRxjmMtStQpDE11pO440ws/wDcxn2ZrMQtvIhH/w2kGmc9IU8vlviGD2V4ABANQHM6YP3PIZAAAAAElFTkSuQmCC",k="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkUxOTdBMEJDMkEwQzExRTZCMjUzODM5RjQyNEZFMUQ3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkUxOTdBMEJEMkEwQzExRTZCMjUzODM5RjQyNEZFMUQ3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RTE5N0EwQkEyQTBDMTFFNkIyNTM4MzlGNDI0RkUxRDciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RTE5N0EwQkIyQTBDMTFFNkIyNTM4MzlGNDI0RkUxRDciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4IXIjoAAADkklEQVR42syZS0hUYRTHv7loD3sssllIpdRCnaBVDoIZpEJtehBBD3JlWVajPTZFWIssqF3lFDWFK2umNkIRQUVWSmFamyAfi6IacWGz6WEyhfY/9f/qMszjljNz74Efw53Hd/73fPf7vnPOuJpPX1b/YQbwgipQBorBAjCLn38Fw2AI9IFO0AsmYgdqObwrqaOcfxS2EOwD28GiJN+bDuaBZWAT3/sAroELIGzVoVWB+eAE2Amm8b034B7oBv3gHfjMz+aAIuABlWANWAyOgEPgKjgOIukQuJl3PZ9TdAOcA8+S/CZCXjJqLrCC0Zfx9vLVx/ESmivJMyjiW0EDrx+CRvBaTc2WctxqXl+ScfEs/kj0sMezPNBBceO805o0iFMco4bRHKePjmNnAnlWBUrkgmAtp2kVpzjddpFjR+grCJE5VgT6wXowyge8R2XOeuhjlD79qQRuAbvBN7AODKgMG569AfoaE9+I4rZEAvNNd3Agw5GLFSm+DuoZhEh3PIEnuZXcBwGVZYPIAHcK2eBbYgUWgh1Alvp+ZZ/5qKEOUSw0C9wDckGIp4Ithij2c+POpaZfAoVa06Zpt+mToxZRNHRWIknAW/DUAQK7qUU0eQ3TkSMH/6Td6jDNk9QiViUCl/OiSznHtJYyEVhiOiOdYlpLiQgs4MV7BwnUWgoMJpfKlGw6wf4kvoZyuBkxabpTbLaOpAgcMR13TrEivo6IwEFTKu4U01oGReALXlQ6SKDW0mewqFYsDV12K8P566IWsU4R+JyFtNStFQ6IXgW1iKZeg7VuOz9scIBAH1/bcS5P6H1QqrYo2MpugF3T62FBH9WVpBYYZjtCyr6zNkavlZraEL1wbE2ieyWrQb0N0atnQS8amuMVTRHT/EsUy7Mortw0c02IXiRRXRxiyi1tiNugNAviSulLfAYg7nqqzkITuAXcTL+9GdTnpQ83fTZaaX3ICpLq/i6L+Sfqd18w3SZjPqaPO+IT0Yta7W5JG2IDp3sGuAIepOm89nAsGXMmfWyEuDGVoJOVyL5z437E5S8r7BW4Cc6r5A3MWHPxhPBxn5PAfOSCCCb7oZUOa4h3LO2IOm7mgm4Bd7HYlzT9E38zl+mbRGul+tsC1o9Qm6wPilRTFag4kFT6pxgFKfSXMMJWj8dhHql+lYEmujKdONIIP8oVWM2ytZiFts6Ev/C7Q0znpCkU92+IVPZTgAEAL2fkkNJ1cvgAAAAASUVORK5CYII=";function TableChart(){var t=null!==w&&w.apply(this,arguments)||this;return t.ready=!1,t.checkedImage=C,t.uncheckedImage=k,t.maxDisplayCount=20,t}__extends(TableChart,w=t.Mixins(a)),TableChart.prototype.mounted=function(){this.ready=!0},TableChart.prototype.isNumber=function(t){t=this.data.headers[t];return t&&("datetime"===t.dataType||"currency"===t.dataType||"date"===t.dataType||"int"===t.dataType||"double"===t.dataType||"percent"===t.dataType||"boolean"===t.dataType)},TableChart.prototype.isBoolean=function(t){t=this.data.headers[t];return t&&"boolean"===t.dataType},TableChart.prototype.getCellWidth=function(t){var e=this.getWidth(),n=this.data.headers.length,a=e/n;return 0<a.toString().indexOf(".")&&t===n-1?e-(n-1)*Math.floor(a):Math.floor(a)},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(d="undefined"!=typeof TableData&&TableData)?d:Object)],TableChart.prototype,"data",void 0);function Sa(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"mo-chart"},[n.ready&&n.data&&n.data.rows&&0<n.data.rows.length?a("div",{staticClass:"mo-table"},[a("div",{staticClass:"mo-table-row header-row"},n._l(n.data.headers,function(t,e){return a("div",{key:t.label,staticClass:"mo-table-cell",class:{"mo-table-right-cell":n.isNumber(e)},style:{width:n.getCellWidth(e)+"px"},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[a("div",{staticClass:"header-label",class:{"have-sort":t.sortOrder}},[n._v("\n "+n._s(t.label)+"\n "),t.sortOrder?a("span",{staticClass:"sort-icon"},["asc"===t.sortOrder?a("svg",{staticStyle:{width:"14px",height:"14px"},attrs:{"aria-hidden":"true",viewBox:"0 0 520 520"}},[a("path",{attrs:{d:"M414 210c8-8 8-19 0-27L264 36a20 20 0 00-28 0L86 183c-8 8-8 19 0 27l28 27c8 8 20 8 28 0l47-46c8-8 22-2 22 9v270c0 10 9 20 20 20h40c11 0 20-11 20-20V200c0-12 14-17 22-9l47 46c8 8 20 8 28 0z",fill:"rgb(91, 220, 239)"}})]):"desc"===t.sortOrder?a("svg",{staticStyle:{width:"14px",height:"14px"},attrs:{"aria-hidden":"true",viewBox:"0 0 520 520"}},[a("path",{attrs:{d:"M96 310c-8 8-8 19 0 27l150 147c8 8 20 8 28 0l151-147c8-8 8-19 0-27l-28-27a20 20 0 00-28 0l-47 46c-8 8-22 3-22-9V50c0-10-9-20-20-20h-40c-11 0-20 11-20 20v270c0 12-14 17-22 9l-47-46a20 20 0 00-28 0z",fill:"rgb(91, 220, 239)"}})]):n._e()]):n._e()])])}),0),n._v(" "),n._l(n.data.rows.slice(0,n.maxDisplayCount),function(t,e){return a("div",{key:e,staticClass:"mo-table-row"},n._l(t.cells,function(t,e){return a("div",{key:e,staticClass:"mo-table-cell",class:{"mo-table-right-cell":n.isNumber(e)},style:{width:n.getCellWidth(e)+"px"},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[n.isBoolean(e)?a("img",{staticClass:"mo-table-checkbox-cell",attrs:{src:"1"===t.label||"true"===t.label?n.checkedImage:n.uncheckedImage}}):a("span",[n._v(n._s(t.label))])])}),0)}),n._v(" "),a("div",{staticClass:"mo-table-row total-row"},n._l(n.data.totals,function(t,e){return a("div",{key:e,staticClass:"mo-table-cell",class:{"mo-table-right-cell":n.isNumber(e)},style:{width:n.getCellWidth(e)+"px"},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[n._v("\n "+n._s(t.label)+"\n ")])}),0),n._v(" "),n.data&&n.data.rows&&20<n.data.rows.length?a("div",{staticClass:"chart-limit-tips"},[n._v("\n "+n._s(n.CHART_LIMIT_TIPS_TEXT)+"\n ")]):n._e()],2):n._e(),n._v(" "),n.ready&&n.data&&n.data.rows&&0===n.data.rows.length?a("div",{staticClass:"no-data"},[n._v("\n We can't draw this chart because there is no data.\n ")]):n._e()])}function Ua(t){t&&t("data-v-63fba983_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-chart {\n position: relative;\n width: 100%;\n height: 100%;\n font: 1rem sans-serif;\n text-align: center;\n}\n.mo-chart.x-scroll {\n overflow-x: scroll;\n}\n.mo-piece-active:active {\n opacity: 0.8;\n}\n.mo-inner-arc {\n fill: #000;\n opacity: 0.28;\n}\n.mo-inner-text {\n font-size: clamp(8px, 1vmin, 1.6rem);\n fill-opacity: 1;\n}\n.mo-summary-label {\n fill: #323233;\n}\n.mo-summary-value {\n fill: #00A383;\n}\n.mo-axis path {\n fill: none;\n stroke-width: 0;\n}\n.mo-space-line {\n stroke: #e4e7ed;\n stroke-width: 0.5px;\n}\n.mo-space-bold-line {\n stroke: #e4e5e9;\n stroke-width: 1px;\n}\n.mo-axis-point {\n fill: #abb4c7;\n}\n.mo-data-line {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 1.5px;\n}\n.mo-data-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #3e3f41;\n}\n.mo-axis-text {\n font-size: clamp(1rem, 1vmin, 1.2rem);\n fill: #323233;\n}\n.mo-axis-label {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-axis-div-label {\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-legend-text {\n font-size: clamp(1.2rem, 1vmin, 1.6rem);\n fill: #3e4759;\n}\n.mo-legend-percentage {\n font-size: 1.6rem;\n}\n.mo-label-inner {\n text-anchor: middle;\n font-size: clamp(1rem, 1vmin, 1.6rem);\n fill: #000;\n}\n.mo-gauge-back-arc {\n stroke-width: 6;\n stroke-linejoin: round;\n stroke: #f9f9f9;\n}\n.mo-gauge-value {\n text-anchor: middle;\n fill: #323233;\n}\n.mo-gauge-range {\n font-size: 1.6rem;\n fill: #323233;\n text-anchor: middle;\n}\n.mo-gauge-max-value {\n font-size: 1.4rem;\n fill: #3e4759;\n text-anchor: middle;\n}\n.mo-gauge-value-arc {\n stroke-width: 6;\n stroke: url(#MoGaugeGradient);\n stroke-linejoin: round;\n}\n.mo-gauge-inner-arc {\n fill: #6e71ca;\n}\n.mo-gauge-tick {\n stroke: #323233;\n stroke-width: 0.5;\n}\n.mo-gauge-pointer {\n fill: #323233;\n}\n\n/* line */\n.mo-line-area {\n fill: url(#MoLineAreaGradient);\n stroke-width: 0;\n opacity: 0.6;\n}\n.mo-line-point {\n fill: #00A383;\n stroke: #fff;\n stroke-width: 1px;\n}\n\n/* rotate */\n.mo-tip-container {\n width: 100%;\n height: 40px;\n line-height: 40px;\n border-radius: 18px;\n border: 1px solid #c5c7c9;\n margin: -5px 0 10px 0;\n}\n.mo-tip-pointer {\n position: relative;\n top: -40px;\n width: 100%;\n}\n.mo-triangle-mark {\n position: relative;\n top: 22px;\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid white;\n}\n.mo-triangle {\n margin-right: auto;\n margin-left: auto;\n height: 20px;\n width: 20px;\n border: 10px solid transparent;\n border-bottom: 10px solid #c5c7c9;\n}\n.mo-tip-content {\n position: relative;\n text-align: center;\n font-size: 1.4rem;\n color: #3e4759;\n}\n.mo-tip-content:before {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #c5c7c9;\n position: absolute;\n top: -20px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content:after {\n width: 0px;\n height: 0px;\n border: 10px transparent solid;\n border-bottom-color: #fff;\n position: absolute;\n top: -18px;\n left: calc(50% - 10px);\n content: "";\n}\n.mo-tip-content .left-nav {\n width: 15%;\n float: left;\n}\n.mo-tip-content .left-nav img {\n -webkit-transform: rotate(180deg);\n -moz-transform: rotate(180deg);\n transform: rotate(180deg);\n margin-top: 10px;\n}\n.mo-tip-content .right-nav {\n width: 15%;\n float: right;\n}\n.mo-tip-content .right-nav img {\n margin-top: 10px;\n}\n.mo-tip-content .tip {\n width: 70%;\n max-width: 70%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n float: left;\n}\n.mo-tip-content .tip .label {\n margin-left: 10px;\n}\n.mo-metric {\n width: 100%;\n height: 100%;\n color: #323233;\n}\n.mo-metric .mo-metric-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.mo-metric .mo-metric-label, .mo-metric .mo-metric-value {\n width: 100%;\n}\n.mo-metric .mo-metric-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 2.4rem;\n}\n.mo-metric .mo-metric-value {\n padding-right: 5px;\n font-size: clamp(4rem, 4rem + 2vw, 6rem);\n font-weight: 500;\n word-break: break-word;\n}\n.mo-table {\n width: 100%;\n height: 100%;\n}\n.mo-table .mo-table-row {\n color: #323233;\n position: relative;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.header-row {\n background-color: #00A383;\n color: #fff;\n font-weight: 700;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell {\n position: relative;\n}\n.mo-table .mo-table-row.header-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row.header-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #c8cacc;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell {\n display: inline-block;\n font-size: 1.6rem;\n height: 30px;\n line-height: 30px;\n text-align: left;\n padding: 0 5px;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mo-table .mo-table-row .mo-table-cell .header-label.have-sort {\n padding-right: 16px;\n}\n.mo-table .mo-table-row .mo-table-cell .sort-icon {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n height: 100%;\n justify-content: flex-end;\n align-items: center;\n}\n.mo-table .mo-table-row .mo-table-cell .mo-table-cell-check, .mo-table .mo-table-row .mo-table-cell .mo-table-cell-uncheck {\n font-size: 2.2rem;\n position: relative;\n top: 10px;\n}\n.mo-table .mo-table-row .mo-table-right-cell {\n text-align: right;\n}\n.mo-table .mo-table-row .mo-table-checkbox-cell {\n width: 18px;\n margin-top: 7.5px;\n}\n.mo-label-line {\n stroke: #c8cacc;\n stroke-width: 0.5px;\n}\n.mo-label-title {\n font-size: clamp(1.4rem, 1vmin, 1.8rem);\n fill: #3e4759;\n text-anchor: start;\n}\n.mo-cover {\n width: calc(100% + 20px);\n}\n.mo-gauge-inner-bg-arc {\n fill: #fff;\n}\n.chart-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n.chart-container.chart-having-tips {\n flex-direction: column;\n}\n.chart-container .chart-and-legends {\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: row;\n}\n.chart-container .main-chart {\n flex: 1;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.chart-container .chart-legends {\n width: 33%;\n height: 100%;\n}\n.chart-limit-tips {\n padding: 0.5rem;\n width: 100%;\n min-height: 3rem;\n color: #eda762;\n font-size: clamp(1.4rem, 1vmin, 1.6rem);\n text-align: left;\n display: flex;\n align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n.mo-axis-label,\n .mo-axis-text,\n .mo-axis-number,\n .mo-axis-div-label,\n .mo-summary-label,\n .mo-legend-text,\n .mo-label-title {\n fill: #f2f2f7;\n}\n.mo-table .mo-table-row {\n color: #f2f2f7;\n}\n.mo-table .mo-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:after {\n transform-origin: 33% 66%;\n}\n.mo-table .mo-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row:before {\n transform-origin: 0% 33%;\n}\n.mo-table .mo-table-row.total-row {\n background-color: #2c2c2e;\n color: #f2f2f7;\n font-weight: 700;\n}\n.mo-table .mo-table-row .mo-table-cell:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .mo-table .mo-table-row .mo-table-cell:after {\n transform-origin: 66% 33%;\n}\n.mo-tip-content .tip .label {\n color: #f2f2f7;\n}\n.mo-metric .mo-metric-label {\n color: #6e6e6e;\n}\n.mo-metric .mo-metric-value {\n color: #f2f2f7;\n}\n.mo-axis-div-label {\n fill: #f2f2f7;\n}\n.mo-gauge-value {\n fill: #f2f2f7;\n}\n.mo-gauge-max-value {\n fill: #f2f2f7;\n}\n.mo-gauge-tick {\n stroke: #fff;\n}\n.mo-gauge-pointer {\n fill: #fff;\n}\n.mo-gauge-inner-bg-arc {\n fill: #1c1c1e;\n}\n.mo-gauge-back-arc {\n stroke: #2c2c2e;\n}\n}\n.no-data {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #fff;\n}\n@media (prefers-color-scheme: dark) {\n.no-data {\n background-color: #1c1c1e;\n color: #6e6e6e;\n}\n}',map:void 0,media:void 0})}var A,a=__decorate([t.Component({})],TableChart),ot=(Sa._withStripped=!0,normalizeComponent({render:Sa,staticRenderFns:[]},Ua,a,void 0,!1,void 0,!1,createInjector,void 0,void 0));function MoGlossaryChart(){return null!==A&&A.apply(this,arguments)||this}__extends(MoGlossaryChart,A=t.Vue),MoGlossaryChart.prototype.parseRichText=function(e){try{return JSON.parse(e).map(function(t){var e,n=t.insert;return"↵"===n||"\n"===n?n="<br />":(n.includes("↵")||n.includes("\n"))&&(n=n.replace(/[\u21B5\n]/g,"<br />")),n=t.attributes&&(e=[],(t=t.attributes).size&&e.push("font-size: "+t.size),t.bold&&(n="<strong>"+n+"</strong>"),t.align&&e.push("text-align: "+t.align),0<e.length)?'<span style="'+e.join(";")+'">'+n+"</span>":n}).join("")}catch(t){return console.error("解析富文本失败:",t),e}},__decorate([t.Prop({type:String,required:!0}),__metadata("design:type",String)],MoGlossaryChart.prototype,"content",void 0),__decorate([t.Prop({type:String}),__metadata("design:type",String)],MoGlossaryChart.prototype,"title",void 0);function _a(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"mo-glossary-chart"},[t.title?e("div",{staticClass:"mo-glossary-header"},[e("h3",{staticClass:"mo-glossary-title"},[t._v(t._s(t.title))])]):t._e(),t._v(" "),e("div",{staticClass:"mo-glossary-content"},[e("div",{domProps:{innerHTML:t._s(t.parseRichText(t.content))}})])])}function b0(t){t&&t("data-v-f5396020_0",{source:"/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.mo-glossary-chart[data-v-f5396020] {\n padding: 2rem 1rem;\n width: 100%;\n height: 100%;\n background-color: #fff;\n color: #16325c;\n line-height: 2rem;\n text-align: left !important;\n}\n.mo-glossary-header[data-v-f5396020] {\n margin-bottom: 16px;\n}\n.mo-glossary-title[data-v-f5396020] {\n font-size: 16px;\n font-weight: 600;\n margin: 0;\n}\n.mo-glossary-content[data-v-f5396020] {\n line-height: 2.2rem;\n}\n@media (prefers-color-scheme: dark) {\n.mo-glossary-chart[data-v-f5396020] {\n background-color: #1c1c1e;\n color: #f2f2f7;\n}\n}",map:void 0,media:void 0})}function g0(t){t.component("MoBarChart",J),t.component("MoBarChartHorizontal",q),t.component("MoPieChart",$),t.component("MoLineChart",K),t.component("MoFunnelChart",tt),t.component("MoGaugeChart",et),t.component("MoMetricChart",nt),t.component("MoScatterChart",at),t.component("MoTableChart",ot),t.component("MoGlossaryChart",rt)}var d=__decorate([t.Component({})],MoGlossaryChart),rt=(_a._withStripped=!0,normalizeComponent({render:_a,staticRenderFns:[]},b0,d,"data-v-f5396020",!1,void 0,!1,createInjector,void 0,void 0)),a=(DataConvertor.prototype.refactorPieces=function(t){var a=this,o=[];if(t.forEach(function(t){var e;t.pieces&&0<(null==(e=t.pieces)?void 0:e.length)&&t.pieces.forEach(function(t){o.indexOf(t.label)<0&&o.push(t.label)})}),0===o.length)return t;o.sort();var r=[];return t.forEach(function(e){var t=JSON.parse(JSON.stringify(e)),n=[];o.forEach(function(t){e.pieces&&0<e.pieces.length&&(t=a.getNewPiece(e.pieces,t),n.push(t))}),t.pieces=n,r.push(t)}),r},DataConvertor.prototype.getNewPiece=function(t,e){var n=t.findIndex(function(t){return t.label===e});return 0<=n?t[n]:{label:e,pieces:[],values:[0]}},DataConvertor);function DataConvertor(){this.metadata=null,this.data=null,this.languageLocaleKey=""}__extends(DashboardDataConvertor,it=a),DashboardDataConvertor.prototype.init=function(t,e){this.metadata=this.refactorMetadata(t,e),this.data=this.refactorData(t,e)},DashboardDataConvertor.prototype.refactorMetadata=function(t,e){var a={},e=e.reportResult||{},o=e.reportMetadata,r=e.reportExtendedMetadata,e=t.properties;if(o&&(a.reportId=o.id,a.reportName=o.name),a.header=t.header,a.footer=t.footer,a.title=t.title,e){if("RichText"===e.visualizationType)return a.content=e.content.richTextContent,a.title=e.additionalInfo,a.chartType="RichText",a;a.aggregateColumns=[],a.groupingColumns=[],r&&(t=e.aggregates,n=e.groupings,t&&t.forEach(function(t){var e,n,t=r.aggregateColumnInfo[t.name];t&&(e="","currency"===t.dataType&&(e=(null==o?void 0:o.currency)||""),n=t.label,t=t.dataType,a.aggregateColumns.push({label:n,dataType:t,unitSymbol:e}))}),n)&&n.forEach(function(t){var e,t=r.groupingColumnInfo[t.name];t&&(e=t.label,t=t.dataType,a.groupingColumns.push({label:e,dataType:t}))});var t=e.visualizationType,n=e.visualizationProperties,e=(a.chartType=t,n.showValues),t=n.showPercentages,i=n.showTotal,l=n.showRange,s=n.groupByType,c=n.combineSmallGroups,n=n.aggregateVisualizationInfos,n=void 0===n?[]:n;a.showValues=e,a.showPercentages=t,a.showTotal=i,a.showRange=l,a.groupByType=s,a.combineSmallGroups=c,1<n.length&&(e=n[0],t=n[1],a.plotOnSecondAxis=e.axis!==t.axis,a.plotAsLineChart="Line"===t.visualizationType)}return a},DashboardDataConvertor.prototype.refactorData=function(t,e){var n,e=e.reportResult,a=t.properties;if(a&&"RichText"===a.visualizationType)(n={}).content=a.content.richTextContent,n.title=a.additionalInfo,n.chartType="RichText";else if(e&&a){var o=e.groupingsDown.groupings,r=e.factMap,i=e.reportExtendedMetadata,l=e.reportMetadata;switch(a.visualizationType){case"Table":case"FlexTable":n=this.refactorTableData({groupings:o,factMap:r,properties:a,reportExtendedMetadata:i,reportMetadata:l});break;case"Gauge":n=this.refactorGaugeData({factMap:r,properties:a,reportMetadata:l});break;case"Metric":n=this.refactorMetricData({properties:a,factMap:r,reportMetadata:l});break;default:n=this.refactorCommonData({groupings:o,factMap:r,reportMetadata:l,properties:a})}}return n},DashboardDataConvertor.prototype.refactorTableData=function(t){var i,l,s,a,o,r,c,n,d=this,e=t.groupings,p=t.factMap,h=t.properties,m=t.reportExtendedMetadata,g=t.reportMetadata,u={headers:[],rows:[],totals:[],reportMetadata:g},t=h.visualizationProperties,f=h.sort,b=h.groupings,x=h.visualizationType,v=t.tableColumns,y=m.groupingColumnInfo,w=m.aggregateColumnInfo,_=m.detailColumnInfo,C=-1,S="",k="",A=b.length,T=[],M=[],z=[],D=[];function to(t,e){var n=t.cells[C].value,a=e.cells[C].value,t=t.cells[C].label.toLowerCase(),e=e.cells[C].label.toLowerCase(),o=0,r=0;if("date"===k||"datetime"===k||"time"===k)o=i("-"===t?"1/1/1970 00:00 am":n),r=i("-"===e?"1/1/1970 00:00 am":a);else{if("currency"!==k&&"percent"!==k&&"double"!==k&&"int"!==k)return s(t,e);o=isNaN(parseFloat(n))?0:parseFloat(n),r=isNaN(parseFloat(a))?0:parseFloat(a)}return l(o,r)}return u.headers=[],v.forEach(function(e,t){S="",f&&f.column===e.column&&(C=t,S=f.sortOrder.toLowerCase()),e.showTotal&&D.push(t);var n,a,o={};"grouping"===e.type&&y[e.column]?(o=y[e.column],(a=b.filter(function(t){return t.name===e.column}))&&1===a.length&&(C=t,S=null==(n=a[0].sortOrder)?void 0:n.toLowerCase()),0===y[e.column].groupingLevel?T.push(t):1===y[e.column].groupingLevel&&M.push(t)):"aggregate"===e.type&&w[e.column]?(o=w[e.column],(a=b.filter(function(t){return t.sortAggregate===e.column}))&&1===a.length&&(C=t,S=null==(n=a[0].sortOrder)?void 0:n.toLowerCase()),z.push(t)):_[e.column]&&(o=_[e.column]),S&&(o.sortOrder=S),u.headers.push(o)}),u.rows=[],0<e.length?e.forEach(function(t){var e,o,r,i,n;0<t.groupings.length&&1<A?(n=t).groupings.forEach(function(e){var o={cells:[]},r=(T.forEach(function(t){o.cells[t]={label:n.label,value:n.value}}),M.forEach(function(t){o.cells[t]={label:e.label,value:e.value}}),p[e.key+"!T"].aggregates),i=0;z.forEach(function(t){var e=v[t].column,e=(w[e]||{}).dataType,e="currency"===(void 0===e?"":e)&&(null==g?void 0:g.currency)||"",n=r[i],a=n.value,n=n.label,n=d.formatCurrencyLabel(n,e);o.cells[t]={label:n,value:a||0},i+=1}),u.rows.push(o)}):(e=t,o={cells:[]},0<T.length?T.forEach(function(t){o.cells[t]={label:e.label,value:e.value}}):M.forEach(function(t){o.cells[t]={label:e.label,value:e.value}}),r=p[e.key+"!T"].aggregates,i=0,z.forEach(function(t){var e=v[t].column,e=(w[e]||{}).dataType,e="currency"===(void 0===e?"":e)&&(null==g?void 0:g.currency)||"",n=r[i],a=n.value,n=n.label,n=d.formatCurrencyLabel(n,e);o.cells[t]={label:n,value:a||0},i+=1}),u.rows.push(o))}):p["T!T"]&&p["T!T"].rows&&p["T!T"].rows.forEach(function(t){var n={cells:[]};t.dataCells.forEach(function(t){var e=t.value&&t.value.currency?F.formatValue(t.value.amount,t.value.currency,2):t.label;n.cells.push({label:e,value:t.value})}),u.rows.push(n)}),i=function(t){return new Date(t).getTime()},l=function(t,e){return"desc"===u.headers[C].sortOrder?e-t:t-e},s=function(t,e){return"desc"===u.headers[C].sortOrder?"-"===t&&"-"!==e?1:"-"!==t&&"-"===e?-1:e.localeCompare(t):"-"===t&&"-"!==e?-1:"-"!==t&&"-"===e?1:t.localeCompare(e)},f&&(y[f.column]?k=y[f.column].dataType:w[f.column]?k=w[f.column].dataType:_[f.column]&&(k=_[f.column].dataType),0<T.indexOf(C)||M.indexOf(C),u.rows.sort(to)),h.maxRows&&(u.rows=u.rows.slice(0,h.maxRows)),u.totals=[],"FlexTable"===x?(a=g.aggregates,o=g.currency,r=p["T!T"].aggregates,0<D.length&&v.forEach(function(t,e){var n;0===e?u.totals[e]={label:"Total"}:(t=t.column,n=[t,"s!"+t,"a!"+t,"m!"+t,"x!"+t],0<=(t=a.findIndex(function(t){return n.includes(t)}))?(t=r[t].value?F.formatValue(r[t].value,o,2):r[t].label,u.totals[e]={label:t}):u.totals[e]={label:"-"})})):(n={},u.rows.forEach(function(t){t.cells.forEach(function(t,e){v[e].showTotal&&(void 0===n[e]&&(n[e]=0),n[e]+=t.value)})}),c=n,0<D.length&&v.forEach(function(t,e){var n,a,o;0===e?u.totals[0]={label:"Total"}:c[e]?(n=c[e],a=t.scale,t=t.isPercent,void 0===a&&(a=2),o=(t=void 0!==t&&t)?100*n:n,n=(o=0<n.toString().indexOf(".")?Number(o.toFixed(a)):o).toString().replace(/\d+/,function(t){return t.replace(/(\d)(?=(\d{3})+$)/g,"$1,")}),u.totals[e]={label:t?n+"%":n}):u.totals[e]={label:"-"}})),u},DashboardDataConvertor.prototype.refactorGaugeData=function(t){var e=t.factMap,n=t.properties,t=t.reportMetadata,a={value:e["T!T"]?e["T!T"].aggregates[0].value:"",minValue:0,maxValue:0,breakRange:"",reportMetadata:t},e=n.visualizationProperties.breakPoints[0].breaks,o=[];return e.forEach(function(t){t.upperBound&&!t.lowerBound&&o.indexOf(0)<0&&o.push(0),t.lowerBound&&o.indexOf(t.lowerBound)<0&&o.push(t.lowerBound),t.upperBound&&o.indexOf(t.upperBound)<0&&o.push(t.upperBound),a.value>t.lowerBound&&a.value<t.upperBound&&(a.breakRange="("+F.formatValue(t.lowerBound,"",0)+" -"+F.formatValue(t.upperBound,"",0)+" )")}),0<o.length?(a.minValue=Math.min.apply(null,o),a.maxValue=Math.max.apply(null,o)):(a.minValue=0,a.maxValue=3),a.value===a.minValue&&a.value===a.maxValue&&(a.maxValue+=1),a},DashboardDataConvertor.prototype.refactorMetricData=function(t){var e=t.properties,n=t.factMap,t=t.reportMetadata;return{label:e.visualizationProperties.metricLabel,value:n["T!T"]?n["T!T"].aggregates[0].value:0,reportMetadata:t}},DashboardDataConvertor.prototype.refactorCommonData=function(t){var e=this,n=t.groupings,a=t.factMap,o=t.reportMetadata,t=t.properties,r=[];return(t.maxRows?n.slice(0,t.maxRows):n).forEach(function(t){r.push(e.recursiveGrouping(t,a,o))}),r=this.refactorPieces(r)},DashboardDataConvertor.prototype.recursiveGrouping=function(t,e,n){var a=this,o={label:t.label,pieces:[],values:e[t.key+"!T"].aggregates.map(function(t){return t.value}),total:e["T!T"]?e["T!T"].aggregates[0].value:0,reportMetadata:n},t=t.groupings;return(void 0===t?[]:t).forEach(function(t){o.pieces.push(a.recursiveGrouping(t,e,n))}),o},DashboardDataConvertor.prototype.formatCurrencyLabel=function(t,e){return t.includes(e)?t:e+" "+t};var it,lt=DashboardDataConvertor;function DashboardDataConvertor(t,e){var n=it.call(this)||this;return n.init(t,e),n}__extends(ReportDataConvertor,st=a),ReportDataConvertor.prototype.init=function(t){this.metadata=this.refactorMetadata(t),this.data=this.refactorData(t),this.tableData=this.refactorTableData(t)},ReportDataConvertor.prototype.refactorMetadata=function(t){var e,n,a,o,r,i,l,s,c,d,p=t.reportMetadata,t=t.reportExtendedMetadata,h=t.groupingColumnInfo,m=t.aggregateColumnInfo,t=p.chart,g=p.currency;return t?(e=t.groupings,n=t.summaries,a=t.summaryAxisLocations,o=t.summaryVisualizationTypes,r=t.chartType,i=t.showChartPercentages,l=t.showChartTotal,s=t.showRange,c=t.combineSmallGroups,d=t.showChartValues,{groupingColumns:e.map(function(t){t=h[t];return{label:t.label,dataType:t.dataType}}),aggregateColumns:n.map(function(t){var t=m[t],e=t.label,t=t.dataType;return{label:e,dataType:t,unitSymbol:"currency"===t&&(null==p?void 0:p.currency)||""}}),chartType:r,currency:g,showPercentages:i,showTotal:l,showRange:s,combineSmallGroups:c,showValues:d,groupByType:this.getGroupType(t.chartType),plotOnSecondAxis:1<a.length&&a[0]!==a[1],plotAsLineChart:1<o.length&&"Line"===o[1]}):{groupingColumns:[],aggregateColumn:[],chartType:"",showPercentages:!1,showTotal:!1,showRange:!1,groupByType:"",combineSmallGroups:!1,showValues:!1,currency:g}},ReportDataConvertor.prototype.refactorData=function(t){var e,o,a,r,i,l,s,c,d,p,n=this,h=t.factMap,m=t.reportMetadata,t=t.groupingsDown,g=m.chart,u=m.aggregates,m=m.groupingsDown,t=t.groupings,f=[];return g&&(e=g.groupings,o=g.summaries,a=o.map(function(t){return u.indexOf(t)}),r=this.getYIndex(m,e),i=this.getGroupedIndex(m,e),l=0,s={},d=c="",p=function(n){l===i&&(d=n.label),l===r&&(c=n.label,s[c]||(s[c]=r===i?[]:{})),r<=i&&l===i||i<r&&l===r?r===i?(s[c]=s[c]||[],a.forEach(function(t,e){s[c][e]=h[n.key+"!T"].aggregates[t].value})):r<i?(s[c][n.label]=s[c][n.label]||[],a.forEach(function(t,e){s[c][n.label][e]=h[n.key+"!T"].aggregates[t].value})):i<r&&(s[c][d]=s[c][d]||[],a.forEach(function(t,e){s[c][d][e]=h[n.key+"!T"].aggregates[t].value})):(l+=1,n.groupings.forEach(function(t){p(t)}),--l)},t.forEach(function(t){l+=1,p(t),--l}),g=Object.keys(s),g.forEach(function(e){var a;r===i?f.push({label:e,values:s[e],reportMetadata:n.metadata}):(a={label:e,pieces:[],values:[],reportMetadata:n.metadata},Object.keys(s[e]).forEach(function(t){a.pieces.push({label:t,values:s[e][t]})}),a.values=[],(a.pieces||[]).forEach(function(n){o.forEach(function(t,e){a.values[e]=a.values[e]||0,a.values[e]+=n.values[e]||0})}),f.push(a))}),f=this.refactorPieces(f)),f},ReportDataConvertor.prototype.getGroupType=function(t){return 0<=t.indexOf(" Cumulative Grouped")?"cumulativeGrouped":0<=t.indexOf(" Cumulative")?"cumulative":0<=t.indexOf(" Grouped")?"grouped":0<=t.indexOf(" Stacked to 100")?"stacked100":0<=t.indexOf(" Stacked")?"stacked":""},ReportDataConvertor.prototype.getYIndex=function(t,e){t=t.findIndex(function(t){return t.name===e[0]});return 0<=t?t+1:1},ReportDataConvertor.prototype.getGroupedIndex=function(t,e){var n=2===e.length?e[1]:e[0],e=t.findIndex(function(t){return t.name===n});return 0<=e?e+1:1},ReportDataConvertor.prototype.refactorTableData=function(t){var e=t.reportMetadata.reportFormat;return"MATRIX"===e?this.convertMatrix(t):"SUMMARY"===e?this.convertSummary(t):this.convertTabular(t)},ReportDataConvertor.prototype.convertTabular=function(t){var e=t.reportMetadata,n=t.reportExtendedMetadata,a=t.factMap,t=t.hasDetailRows,e=e.reportFormat,o=n.detailColumnInfo,n={format:e,showHeader:t,headers:Object.keys(o).map(function(t){return o[t]}),rows:[]},e=a["T!T"],a=e.rows,e=e.aggregates,t=(t&&(n.rows=a.map(function(t){return{id:D.v4(),type:"data",cells:t.dataCells}})),e.findIndex(function(t){return"RowCount"===t})),r=0;return-1<t?r=e[t].label:1===e.length?r=e[0].label:a&&(r=a.length),n.rows.push({id:D.v4(),type:"grand-total",label:"Grand Totals",grand:!0,background:this.getBackground(3),recordCount:r}),n},ReportDataConvertor.prototype.convertSummary=function(t){var l=this,e=t.reportMetadata,n=t.reportExtendedMetadata,a=t.groupingsDown,s=t.factMap,t=e.reportFormat,o=e.groupingsDown,c=e.aggregates,d=e.detailColumns,r=e.hasRecordCount,p=e.hasDetailRows,h=e.showSubtotals,e=e.showGrandTotal,i=n.groupingColumnInfo,m=n.detailColumnInfo,n=a.groupings,g={format:t,showHeader:!0,headers:[],rows:[],hasRecordCount:r},u=0,f=o.map(function(t){return i[t.name].label}),b=c.map(function(t){t=t.split("!");return t[1]||t[0]}),x=(d.forEach(function(t){(p||b.includes(t))&&g.headers.push(m[t])}),function(t){var e=t.key,n=t.label,a=t.groupings,t=t.value,o=e.split("_").length-1,r=l.getBackground(o),i={id:D.v4(),type:"group",level:o,background:r,margin:5*o,label:n,value:t,fieldLabel:f[o],recordCount:0},r=s[e+"!T"],n=r.aggregates,t=r.rows,o=c.findIndex(function(t){return"RowCount"===t});-1<o?i.recordCount=n[o].label:t&&((i.recordCount=0)<a.length?a.forEach(function(t){var e=t.groupings;0<e.length?e.forEach(function(t){t=s[t.key+"!T"].rows.length;i.recordCount+=t}):(e=s[t.key+"!T"].rows.length,i.recordCount+=e,u+=e)}):(e=t.length,u+=i.recordCount=e)),g.rows.push(i),0===a.length?p&&(r=t.map(function(t){return{id:D.v4(),type:"data",cells:t.dataCells}}),(o=g.rows).push.apply(o,r)):a.forEach(function(t){x(t)}),h&&(e={id:D.v4(),type:"subtotals",label:l.languageLocaleKey&&l.languageLocaleKey.startsWith("zh")?"小计":"Subtotals",grand:!1,background:l.getBackground(3)},g.rows.push(e),0<c.length)&&(t=l.getSummaryAggregateRows({aggregates:c,hasDetailRows:p,detailColumns:d,rowAggregates:n,background:e.background}),(o=g.rows).push.apply(o,t))}),a=(n.forEach(function(t){x(t)}),s["T!T"].aggregates),t=c.findIndex(function(t){return"RowCount"===t}),r=0,r=-1<t?a[t].label:u;return e&&(o={id:D.v4(),type:"grand-total",label:this.languageLocaleKey&&this.languageLocaleKey.startsWith("zh")?"总计":"Grand Total",grand:!0,background:this.getBackground(3),recordCount:r},g.rows.push(o),0<c.length)&&(n=this.getSummaryAggregateRows({aggregates:c,hasDetailRows:p,detailColumns:d,rowAggregates:a,background:o.background,isGrand:!0}),(t=g.rows).push.apply(t,n)),g},ReportDataConvertor.prototype.convertMatrix=function(t){function xt(t,e,n){for(var a={id:D.v4(),cells:[]},o=0;o<C;o+=1)a.cells.push({value:""});e?a.cells.push({label:v[e.name].label,value:v[e.name].label}):a.cells.push({label:"",value:""});for(var r=0;r<n;r+=1)a.cells.push({value:""});for(var i=0;i<t.dataCells.length;i+=1){if(!e||e.key!==i){a.cells.push({label:1,value:1,type:"int"});break}a.cells.push(R({type:v[e.name].dataType},t.dataCells[i]))}for(var l=A-(C+1)-n-k.length-1,s=0;s<l;s+=1)a.cells.push({value:""});return k.forEach(function(n){t.dataCells.forEach(function(t,e){n.key===e&&a.cells.push(R({type:v[n.name].dataType},t))})}),a}var a,e,n,i=this,o=t.reportMetadata,r=t.reportExtendedMetadata,l=t.groupingsAcross,s=t.groupingsDown,m=t.factMap,t=o.groupingsAcross,c=o.groupingsDown,g=o.aggregates,d=o.detailColumns,p=o.reportFormat,u=o.hasRecordCount,f=o.hasDetailRows,b=o.showSubtotals,o=o.showGrandTotal,h=r.groupingColumnInfo,x=r.aggregateColumnInfo,v=r.detailColumnInfo,y=l.groupings,r=s.groupings,w={showHeader:!0,format:p,headers:[],rows:[]},_=t.length,C=c.length,S=[],k=[],A=1<g.length||1<_?C+1:C;if(f)for(var T=0;T<d.length;T+=1){var M=d[T];(0<g[0].indexOf(M)?S:k).push({key:T,name:M})}return w.headers.push((a={cells:[]},l=1<g.length?"":x[g[0]].label,a.cells.push({value:l,colspan:1===_&&1<g.length?C+1:C}),t.forEach(function(t){0===h[t.name].groupingLevel&&a.cells.push({value:h[t.name].label,colspan:1===_?y.length:0,type:1===_?"group-value":""})}),y.forEach(function(t){var e=0,n=t.label,t=t.groupings;1===_||0===t.length?A+=1:(0<t.length&&(e=t.length+1,A+=e),a.cells.push({value:n,colspan:e,type:"group-value"}))}),a.cells.push({value:"Grand Total",type:"double"}),A+=1,f&&(A+=k.length,l=k.map(function(){return{value:""}}),(s=a.cells).push.apply(s,l)),a)),w.headers.push((e={cells:[]},p=c.map(function(t){return{value:h[t.name].label}}),(s=e.cells).push.apply(s,p),1<_?(t.forEach(function(t){1===h[t.name].groupingLevel&&e.cells.push({value:h[t.name].label})}),y.forEach(function(t){t.groupings.forEach(function(t){e.cells.push({value:t.label,type:"group-value"})}),e.cells.push({value:"Subtotal",type:"double"})})):(1<g.length&&(1<C||1===C&&1===_)&&e.cells.push({value:""}),s=y.map(function(t){return{value:t.label,type:"group-value"}}),(p=e.cells).push.apply(p,s)),e.cells.push({value:""}),f&&(p=k.map(function(t){return{value:v[t.name].label,type:v[t.name].dataType}}),(s=e.cells).push.apply(s,p)),e)),w.columnLength=A,r.forEach(function(a,h){var t,e,d;1<C?(a.groupings.forEach(function(e,d){var t,n=[],p=[];g.forEach(function(l,s){var c,t;"RowCount"===l&&!u||(c={id:D.v4(),cells:[]},0===d&&0===s?c.cells.push({label:a.label,value:a.label}):c.cells.push({value:""}),0===s?c.cells.push({label:e.label,value:e.label}):c.cells.push({value:""}),(1<g.length||1<_)&&c.cells.push(x[l]),y.forEach(function(r,i){1<_?r.groupings.forEach(function(t,e){var n,a=[h+"_"+d,i+"_"+e].join("!"),a=m[a],o=a&&a.aggregates?a.aggregates:[],a=a&&a.rows?a.rows:[],o=o[s]||{};o.type=x[l]?x[l].dataType:"",c.cells.push(o),f&&(n=(r.groupings.length+1)*i+e,a.forEach(function(e){0<S.length?p.push.apply(p,S.map(function(t){return xt(e,t,n)})):p.push(xt(e,null,n))}))}):f&&(t=(t=m[h+"_"+d+"!"+i])&&t.rows?t.rows:[],n=i,t.forEach(function(e){var t;0<S.length?S.forEach(function(t){t=xt(e,t,n);p.push(t)}):(t=xt(e,null,n),p.push(t))}));var n,t=m[h+"_"+d+"!"+i],t=t&&t.aggregates?t.aggregates:[];t&&0<t.length&&c.cells.push(R({type:x[l].dataType},t[s]))}),(t=(t=m[h+"_"+d+"!T"])&&t.aggregates?t.aggregates:[])&&0<t.length&&c.cells.push(R({type:x[l].dataType},t[s])),f&&k.forEach(function(){c.cells.push({value:""})}),n.push(c))}),(t=w.rows).push.apply(t,n),(t=w.rows).push.apply(t,p)}),b&&g.forEach(function(t,a){var o;"RowCount"===t&&!u||((o={id:D.v4(),cells:[]}).cells.push({value:""}),0===a?o.cells.push({label:i.languageLocaleKey&&i.languageLocaleKey.startsWith("zh")?"小计":"Subtotals",value:"Subtotal",type:"double"}):o.cells.push({value:""}),(1<g.length||1<_)&&o.cells.push({label:x[t].label,value:x[t].label}),y.forEach(function(t,n){t.groupings.forEach(function(t,e){e=[h,n+"_"+e].join("!");o.cells.push(R({type:"double"},m[e].aggregates[a]))}),o.cells.push(R({type:"double"},m[h+"!"+n].aggregates[a]))}),o.cells.push(R({type:"double"},m[h+"!T"].aggregates[a])),k.forEach(function(){o.cells.push({value:""})}),w.rows.push(o))})):(e=[],d=[],g.forEach(function(l,s){var c;("RowCount"!==l||u)&&(c={id:D.v4(),cells:[]},0===s?c.cells.push({label:a.label,value:a.value}):c.cells.push({value:""}),(1<g.length||1<_)&&c.cells.push({label:x[l].label,value:x[l].label,type:x[l].dataType}),y.forEach(function(r,i){var t,n;1<_?r.groupings.forEach(function(t,e){var n,a=[h,i+"_"+e].join("!"),a=m[a],o=a&&a.rows?a.rows:[],a=a&&a.aggregates?a.aggregates:[];c.cells.push(R({type:x[l].dataType},a[s])),f&&(n=(r.groupings.length+1)*i+e,o.forEach(function(e){var t;0<S.length?S.forEach(function(t){t=xt(e,t,n);d.push(t)}):(t=xt(e,null,n),d.push(t))}))}):f&&(t=(t=m[h+"!"+i])&&t.rows?t.rows:[],n=i,t.forEach(function(e){var t;0<S.length?S.forEach(function(t){t=xt(e,t,n);d.push(t)}):(t=xt(e,null,n),d.push(t))})),c.cells.push(R({type:x[l].dataType},m[h+"!"+i].aggregates[s]))}),c.cells.push(R({type:x[l].dataType},m[h+"!T"].aggregates[s])),f&&k.forEach(function(){c.cells.push({value:""})}),u)&&e.push(c)}),(t=w.rows).push.apply(t,e),(t=w.rows).push.apply(t,d))}),o&&(n=[],g.forEach(function(a,o){var r;"RowCount"===a&&!u||(r={id:D.v4(),cells:[]},0===o?r.cells.push({label:i.languageLocaleKey&&i.languageLocaleKey.startsWith("zh")?"总计":"Grand Total",value:"Grand Total",type:"double"}):r.cells.push({value:""}),1<C&&r.cells.push({value:""}),(1<g.length||1<_)&&r.cells.push({label:x[a].label,value:x[a].label}),y.forEach(function(t,n){1<_&&t.groupings.forEach(function(t,e){r.cells.push(R({type:x[a].dataType},m["T!"+n+"_"+e].aggregates[o]))}),r.cells.push(R({type:x[a].dataType},m["T!"+n].aggregates[o]))}),r.cells.push(R({type:x[a].dataType},m["T!T"].aggregates[o])),k.forEach(function(){r.cells.push({value:""})}),n.push(r))}),(l=w.rows).push.apply(l,n)),w},ReportDataConvertor.prototype.getSummaryAggregateRows=function(t){for(var l=t.aggregates,e=t.hasDetailRows,n=t.detailColumns,s=t.rowAggregates,a=t.background,t=t.isGrand,o=void 0!==t&&t,r=[],c={},d={s:"",m:"min",mx:"max",a:"avg"},i=(l.forEach(function(t){var e=t.split("!"),e=e[e.length-1];c[e]=c[e]||[],c[e].push(t)}),0),p=(Object.keys(c).forEach(function(t){c[t]&&c[t].length>i&&(i=c[t].length)}),0);p<i;p+=1)!function(i){var t={id:D.v4(),type:"group-aggregate",grand:o,background:a,cells:[]};n.forEach(function(o){var r;(e||c[o])&&(r={label:"",value:""},Object.keys(c).forEach(function(e){var t,n,a;o===e&&0<=(t=l.findIndex(function(t){return t===c[e][i]}))&&(n=l[t].split("!")[0],a=s[t].label,r.label=(n=d[n])?n+" "+a:a,r.value=s[t].value)}),t.cells.push(r))}),r.push(t)}(p);return r},ReportDataConvertor.prototype.getBackground=function(t){return"rgb("+(237-10*t)+", "+(241-10*t)+", "+(247-10*t)+")"};var st,T,ct=ReportDataConvertor;function ReportDataConvertor(t,e){var n=st.call(this)||this;return n.tableData={headers:[],rows:[],showHeader:!0,format:""},n.languageLocaleKey=e,n.init(t),n}function SFBarChart(){return null!==T&&T.apply(this,arguments)||this}__extends(SFBarChart,T=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFBarChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFBarChart.prototype,"metadata",void 0);function m0(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("bar-chart",{attrs:{"x-axis-mode":"vertical",data:t.data,groupings:t.metadata.groupingColumns,aggregates:t.metadata.aggregateColumns,"group-type":t.metadata.groupByType,"has-line-chart":t.metadata.plotAsLineChart,"has-second-axis":t.metadata.plotOnSecondAxis,"second-y-index":1,decimal:1}}):t._e()}var M,d=__decorate([t.Component({components:{BarChart:J}})],SFBarChart),P=(m0._withStripped=!0,normalizeComponent({render:m0,staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFFunnelChart(){return null!==M&&M.apply(this,arguments)||this}__extends(SFFunnelChart,M=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFFunnelChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFFunnelChart.prototype,"metadata",void 0);function v0(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("funnel-chart",{attrs:{data:t.data,decimal:2,"show-percentage":t.metadata.showPercentages,"show-value":t.metadata.showValues,"group-by":t.metadata.groupingColumns[0],aggregate:t.metadata.aggregateColumns[0],"combine-small-groups":t.metadata.combineSmallGroups}}):t._e()}var j,a=__decorate([t.Component({components:{FunnelChart:tt}})],SFFunnelChart),B=(v0._withStripped=!0,normalizeComponent({render:v0,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFGaugeChart(){return null!==j&&j.apply(this,arguments)||this}__extends(SFGaugeChart,j=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(d="undefined"!=typeof GaugeData&&GaugeData)?d:Object)],SFGaugeChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGaugeChart.prototype,"metadata",void 0);function E0(){var t=this,e=t.$createElement,e=t._self._c||e;return void 0!==t.data.value?e("gauge-chart",{attrs:{data:t.data,decimal:2,aggregate:t.metadata.aggregateColumns[0],"show-value":t.metadata.showValues,"show-percentage":t.metadata.showPercentages,"show-total":t.metadata.showTotal,"show-range":t.metadata.showRange}}):t._e()}var dt,a=__decorate([t.Component({components:{GaugeChart:et}})],SFGaugeChart),pt=(E0._withStripped=!0,normalizeComponent({render:E0,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFHorizontalBarChart(){return null!==dt&&dt.apply(this,arguments)||this}__extends(SFHorizontalBarChart,dt=t.Vue),Object.defineProperty(SFHorizontalBarChart.prototype,"sortedData",{get:function(){return __spreadArrays(this.data).sort(function(t,e){return(e.values[0]||0)-(t.values[0]||0)})},enumerable:!1,configurable:!0}),Object.defineProperty(SFHorizontalBarChart.prototype,"isGrouped",{get:function(){return 0<this.data.length&&this.metadata.groupByType&&"none"!==this.metadata.groupByType&&!!this.data[0].pieces&&0<this.data[0].pieces.length},enumerable:!1,configurable:!0}),Object.defineProperty(SFHorizontalBarChart.prototype,"barHeight",{get:function(){return 1<this.metadata.aggregateColumns.length||this.isGrouped&&"grouped"===this.metadata.groupByType?13:23},enumerable:!1,configurable:!0}),Object.defineProperty(SFHorizontalBarChart.prototype,"barPadding",{get:function(){return 1<this.metadata.aggregateColumns.length||this.isGrouped&&"grouped"===this.metadata.groupByType?20:17},enumerable:!1,configurable:!0}),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFHorizontalBarChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFHorizontalBarChart.prototype,"metadata",void 0);function N0(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("bar-chart-horizontal",{attrs:{data:t.sortedData,"x-axis-mode":"vertical",decimal:1,"value-position":"inner","bar-height":t.barHeight,"bar-padding":t.barPadding,"group-type":t.metadata.groupByType,groupings:t.metadata.groupingColumns,aggregates:t.metadata.aggregateColumns}}):t._e()}var ht,d=__decorate([t.Component({components:{BarChartHorizontal:q}})],SFHorizontalBarChart),E=(N0._withStripped=!0,normalizeComponent({render:N0,staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFLineChart(){return null!==ht&&ht.apply(this,arguments)||this}__extends(SFLineChart,ht=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFLineChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFLineChart.prototype,"metadata",void 0);function W0(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("line-chart",{attrs:{data:t.data,"group-type":t.metadata.groupByType,"show-value":t.metadata.showValues,decimal:2,groupings:t.metadata.groupingColumns,aggregates:t.metadata.aggregateColumns}}):t._e()}var mt,a=__decorate([t.Component({components:{LineChart:K}})],SFLineChart),L=(W0._withStripped=!0,normalizeComponent({render:W0,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFMetricChart(){return null!==mt&&mt.apply(this,arguments)||this}__extends(SFMetricChart,mt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(d="undefined"!=typeof MetricData&&MetricData)?d:Object)],SFMetricChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFMetricChart.prototype,"metadata",void 0);function db(){var t=this.$createElement;return(this._self._c||t)("metric-chart",{attrs:{data:this.data,aggregate:this.metadata.aggregateColumns[0],decimal:1}})}var gt,a=__decorate([t.Component({components:{MetricChart:nt}})],SFMetricChart),ut=(db._withStripped=!0,normalizeComponent({render:db,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFPieChart(){return null!==gt&>.apply(this,arguments)||this}__extends(SFPieChart,gt=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFPieChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFPieChart.prototype,"metadata",void 0),__decorate([t.Prop({type:Object,required:!1}),__metadata("design:type",Object)],SFPieChart.prototype,"area",void 0);function mb(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("pie-chart",{attrs:{data:t.data,donut:"Donut"===t.metadata.chartType,"show-value":t.metadata.showValues,"show-percentage":t.metadata.showPercentages,"show-total":t.metadata.showTotal,decimal:2,"group-by":t.metadata.groupingColumns[0],aggregate:t.metadata.aggregateColumns[0],"combine-small-groups":t.metadata.combineSmallGroups,area:t.area}}):t._e()}var ft,d=__decorate([t.Component({components:{PieChart:$}})],SFPieChart),O=(mb._withStripped=!0,normalizeComponent({render:mb,staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFScatterChart(){return null!==ft&&ft.apply(this,arguments)||this}__extends(SFScatterChart,ft=t.Vue),__decorate([t.Prop({type:Array,required:!0}),__metadata("design:type",Array)],SFScatterChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFScatterChart.prototype,"metadata",void 0);function vb(){var t=this,e=t.$createElement,e=t._self._c||e;return 0<t.data.length?e("scatter-chart",{attrs:{data:t.data,groupings:t.metadata.groupingColumns,aggregates:t.metadata.aggregateColumns,"group-type":t.metadata.groupByType,decimal:2}}):t._e()}var bt,a=__decorate([t.Component({components:{ScatterChart:at}})],SFScatterChart),H=(vb._withStripped=!0,normalizeComponent({render:vb,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFTableChart(){return null!==bt&&bt.apply(this,arguments)||this}__extends(SFTableChart,bt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type","function"==typeof(d="undefined"!=typeof TableData&&TableData)?d:Object)],SFTableChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFTableChart.prototype,"metadata",void 0);function Eb(){var t=this.$createElement;return(this._self._c||t)("table-chart",{attrs:{data:this.data}})}var vt,a=__decorate([t.Component({components:{TableChart:ot}})],SFTableChart),yt=(Eb._withStripped=!0,normalizeComponent({render:Eb,staticRenderFns:[]},void 0,a,void 0,!1,void 0,!1,void 0,void 0,void 0));function SFGlossaryChart(){return null!==vt&&vt.apply(this,arguments)||this}__extends(SFGlossaryChart,vt=t.Vue),Object.defineProperty(SFGlossaryChart.prototype,"content",{get:function(){var t;return(null==(t=this.data)?void 0:t.content)||""},enumerable:!1,configurable:!0}),Object.defineProperty(SFGlossaryChart.prototype,"title",{get:function(){var t;return(null==(t=this.metadata)?void 0:t.title)||""},enumerable:!1,configurable:!0}),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGlossaryChart.prototype,"data",void 0),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGlossaryChart.prototype,"metadata",void 0);function Nb(){var t=this.$createElement;return(this._self._c||t)("glossary-chart",{attrs:{content:this.content,title:this.title}})}var wt,_t,d=__decorate([t.Component({components:{GlossaryChart:rt}})],SFGlossaryChart),Ct=(Nb._withStripped=!0,normalizeComponent({render:Nb,staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0)),St=["All values are negative or zero.","Pie, donut, funnel, and stacked charts require at least one positive value to display."].join(" "),a=(__extends(SFChartMixins,wt=t.Vue),SFChartMixins.prototype.renderPrompt=function(t,e){return t("div",{staticClass:"sf-analytics-text"},e)},SFChartMixins.prototype.renderError=function(t,e){return t("div",{staticClass:"sf-analytics-error"},e)},__decorate([t.Prop({type:String,default:function(){return"We can't draw this chart because there is no data."}}),__metadata("design:type",String)],SFChartMixins.prototype,"noDataText",void 0),__decorate([t.Prop({type:String,default:function(){return St}}),__metadata("design:type",String)],SFChartMixins.prototype,"negativeDataText",void 0),__decorate([t.Component],SFChartMixins));function SFChartMixins(){return null!==wt&&wt.apply(this,arguments)||this}function SFDashboardChart(){var t=null!==_t&&_t.apply(this,arguments)||this;return t.functional=!0,t}__extends(SFDashboardChart,_t=t.Mixins(a)),Object.defineProperty(SFDashboardChart.prototype,"chartType",{get:function(){return this.refactoredMetadata&&this.refactoredMetadata.chartType||""},enumerable:!1,configurable:!0}),Object.defineProperty(SFDashboardChart.prototype,"hasError",{get:function(){return this.data&&this.data.status&&this.data.status.errorCode},enumerable:!1,configurable:!0}),Object.defineProperty(SFDashboardChart.prototype,"isEmpty",{get:function(){return!(!(this.data&&this.data.status&&"NO_DATA"===this.data.status.dataStatus||!this.chartType)&&this.refactoredData&&("Gauge"===this.chartType?this.refactoredData.value||0===this.refactoredData.value:!Array.isArray(this.refactoredData)||0!==this.refactoredData.length))},enumerable:!1,configurable:!0}),Object.defineProperty(SFDashboardChart.prototype,"isNegative",{get:function(){return("Pie"===this.chartType||"Donut"===this.chartType||"Funnel"===this.chartType||("Bar"===this.chartType||"Column"===this.chartType)&&this.refactoredMetadata.groupByType&&this.refactoredMetadata.groupByType.includes("stacked"))&&Array.isArray(this.refactoredData)&&!this.refactoredData.some(function(t){return 0<t.values[0]})},enumerable:!1,configurable:!0}),SFDashboardChart.prototype.render=function(t){var e,n=new lt(this.metadata,this.data),n=(this.refactoredData=n.data,this.refactoredMetadata=n.metadata,[]);return"RichText"===this.chartType?n.push(this.renderChart(t)):this.hasError?(e=this.data.status.errorSeverity+": "+this.data.status.errorMessage,n.push(this.renderError(t,e))):this.isEmpty?n.push(this.renderPrompt(t,this.noDataText)):this.isNegative?n.push(this.renderPrompt(t,this.negativeDataText)):n.push(this.renderChart(t)),t("div",{staticClass:"sf-analytics-chart",class:"sf-"+this.chartType.toLowerCase().replace(/\s/g,"-")+"-chart"},n)},SFDashboardChart.prototype.renderChart=function(t){var e={data:this.refactoredData,metadata:this.refactoredMetadata};if("RichText"===this.chartType)return t(Ct,{props:e});if("Bar"===this.chartType)return t(E,{props:e});if("Column"!==this.chartType){if("Donut"===this.chartType||"Pie"===this.chartType)return e.data=e.data.sort(function(t,e){return t.values[0]<e.values[0]?1:t.values[0]>e.values[0]?-1:t.label>e.label?1:t.label<e.label?-1:0}),t(O,{props:e});if("Funnel"===this.chartType)return t(B,{props:e});if("Gauge"===this.chartType)return t(pt,{props:e});if("Line"===this.chartType)return t(L,{props:e});if("Metric"===this.chartType)return t(ut,{props:e});if("Scatter"===this.chartType)return t(H,{props:e});if("Table"===this.chartType||"FlexTable"===this.chartType)return t(yt,{props:e});console.warn("What should I do? "+this.chartType),console.warn("Render as a bar chart.")}return t(P,{props:e})},__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],SFDashboardChart.prototype,"data",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],SFDashboardChart.prototype,"metadata",void 0);var kt,At=normalizeComponent({},function(t){t&&t("data-v-28c79a53_0",{source:"/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-analytics-chart {\n width: 100%;\n padding: 10px;\n background-color: #fff;\n transform: translate3d(0, 0, 0);\n}\n.sf-analytics-chart .sf-analytics-text {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.sf-analytics-chart .sf-analytics-error {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n color: #d74c3b;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n@media (prefers-color-scheme: dark) {\n.sf-analytics-chart {\n background-color: #1c1c1e;\n}\n.sf-analytics-chart .sf-analytics-text {\n color: #6e6e6e;\n}\n}",map:void 0,media:void 0})},__decorate([t.Component({components:{SFBarChart:P,SFFunnelChart:B,SFHorizontalBarChart:E,SFLineChart:L,SFGaugeChart:pt,SFMetricChart:ut,SFPieChart:O,SFScatterChart:H,SFTableChart:yt,SFGlossaryChart:Ct}})],SFDashboardChart),void 0,void 0,void 0,!1,createInjector,void 0,void 0);function SFReportChart(){var t=null!==kt&&kt.apply(this,arguments)||this;return t.functional=!0,t}__extends(SFReportChart,kt=t.Mixins(a)),Object.defineProperty(SFReportChart.prototype,"chartType",{get:function(){return this.refactoredMetadata&&this.refactoredMetadata.chartType||""},enumerable:!1,configurable:!0}),Object.defineProperty(SFReportChart.prototype,"isEmpty",{get:function(){return!this.refactoredData||0===this.refactoredData.length},enumerable:!1,configurable:!0}),Object.defineProperty(SFReportChart.prototype,"hasError",{get:function(){return this.data&&this.data.status&&this.data.status.errorCode},enumerable:!1,configurable:!0}),Object.defineProperty(SFReportChart.prototype,"isNegative",{get:function(){return("Pie"===this.chartType||"Donut"===this.chartType||"Funnel"===this.chartType||this.chartType.includes("Stacked"))&&Array.isArray(this.refactoredData)&&!this.refactoredData.some(function(t){return 0<t.values[0]})},enumerable:!1,configurable:!0}),SFReportChart.prototype.render=function(t){var e,n=new ct(this.data),n=(this.refactoredData=n.data,this.refactoredMetadata=n.metadata,[]);return this.hasError?(e=this.data.status.errorSeverity+": "+this.data.status.errorMessage,n.push(this.renderError(t,e))):this.isEmpty?n.push(this.renderPrompt(t,this.noDataText)):this.isNegative?n.push(this.renderPrompt(t,this.negativeDataText)):n.push(this.renderChart(t)),t("div",{staticClass:"sf-analytics-chart",class:"sf-"+this.chartType.toLowerCase().replace(/\s/g,"-")+"-chart"},n)},SFReportChart.prototype.renderChart=function(t){var e={data:this.refactoredData,metadata:this.refactoredMetadata,area:this.area};if("Horizontal Bar"===this.chartType||"Horizontal Bar Grouped"===this.chartType||"Horizontal Bar Stacked"===this.chartType||"Horizontal Bar Stacked to 100"===this.chartType)return t(E,{props:e});if("Vertical Bar"!==this.chartType&&"Vertical Bar Line"!==this.chartType&&"Vertical Bar Grouped"!==this.chartType&&"Vertical Bar Grouped Line"!==this.chartType&&"Vertical Bar Stacked"!==this.chartType&&"Vertical Bar Stacked Line"!==this.chartType&&"Vertical Bar Stacked to 100"!==this.chartType){if("Donut"===this.chartType||"Pie"===this.chartType)return e.data=e.data.sort(function(t,e){return t.values[0]<e.values[0]?1:t.values[0]>e.values[0]?-1:t.label>e.label?1:t.label<e.label?-1:0}),t(O,{props:e});if("Funnel"===this.chartType)return t(B,{props:e});if("Line"===this.chartType||"Line Cumulative"===this.chartType||"Line Grouped"===this.chartType||"Line Cumulative Grouped"===this.chartType)return t(L,{props:e});if("Scatter"===this.chartType||"Scatter Grouped"===this.chartType)return t(H,{props:e});console.warn("What should I do? "+this.chartType),console.warn("Render as a bar chart.")}return t(P,{props:e})},__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],SFReportChart.prototype,"data",void 0),__decorate([t.Prop({type:Object}),__metadata("design:type",Object)],SFReportChart.prototype,"area",void 0);var Tt,Mt=normalizeComponent({},function(t){t&&t("data-v-488a1915_0",{source:"/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-analytics-chart {\n width: 100%;\n padding: 10px;\n background-color: #fff;\n transform: translate3d(0, 0, 0);\n}\n.sf-analytics-chart .sf-analytics-text {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.sf-analytics-chart .sf-analytics-error {\n width: 100%;\n height: 100%;\n min-height: 35rem;\n font-size: 1.4rem;\n color: #d74c3b;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n@media (prefers-color-scheme: dark) {\n.sf-analytics-chart {\n background-color: #1c1c1e;\n}\n.sf-analytics-chart .sf-analytics-text {\n color: #6e6e6e;\n}\n}",map:void 0,media:void 0})},__decorate([t.Component({components:{SFBarChart:P,SFFunnelChart:B,SFHorizontalBarChart:E,SFLineChart:L,SFPieChart:O,SFScatterChart:H}})],SFReportChart),void 0,void 0,void 0,!1,createInjector,void 0,void 0);function SFGroupingTableGroupRow(){return null!==Tt&&Tt.apply(this,arguments)||this}__extends(SFGroupingTableGroupRow,Tt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableGroupRow.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,required:!1}),__metadata("design:type",Object)],SFGroupingTableGroupRow.prototype,"hasRecordCount",void 0),__decorate([t.Inject("isCellID"),__metadata("design:type",Object)],SFGroupingTableGroupRow.prototype,"isID",void 0);function l1(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{staticClass:"group-row"},[t("div",{staticClass:"label",style:{"margin-left":e.data.margin}},[e._v(e._s(e.data.fieldLabel))]),e._v(" "),t("div",{staticClass:"label-mark"},[e._v(":")]),e._v(" "),t("div",{class:["value",e.isID(e.data.value)?"id":""],on:{click:function(t){return e.$emit("cell-clicked",e.data)}}},[e._v(e._s(e.data.label))]),e._v(" "),e.hasRecordCount?t("div",{staticClass:"count-left-mark"},[e._v("(")]):e._e(),e._v(" "),e.hasRecordCount?t("div",{staticClass:"count"},[e._v(e._s(e.data.recordCount))]):e._e(),e._v(" "),e.hasRecordCount?t("div",{staticClass:"count-right-mark"},[e._v(")")]):e._e()])}function n1(t){t&&t("data-v-35173242_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.group-row[data-v-35173242] {\n font-size: 1.2rem;\n padding: 0px 10px;\n position: relative;\n}\n.group-row[data-v-35173242]:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .group-row[data-v-35173242]:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .group-row[data-v-35173242]:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .group-row[data-v-35173242]:before {\n transform-origin: 0% 33%;\n}\n.group-row[data-v-35173242]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .group-row[data-v-35173242]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .group-row[data-v-35173242]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .group-row[data-v-35173242]:after {\n transform-origin: 66% 33%;\n}\n.group-row .label[data-v-35173242], .group-row .value[data-v-35173242], .group-row .count[data-v-35173242] {\n float: left;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.group-row .label[data-v-35173242], .group-row .count[data-v-35173242] {\n font-weight: bold;\n}\n.group-row .value[data-v-35173242], .group-row .count-left-mark[data-v-35173242] {\n margin-left: 5px;\n}\n.group-row .label[data-v-35173242], .group-row .value[data-v-35173242] {\n max-width: 30%;\n}\n.group-row .count[data-v-35173242] {\n max-width: calc(40% - 22px);\n}\n.group-row .label-mark[data-v-35173242], .group-row .count-left-mark[data-v-35173242], .group-row .count-right-mark[data-v-35173242] {\n float: left;\n width: 4px;\n}\n.group-row .value.id[data-v-35173242] {\n color: #09afe6;\n}',map:void 0,media:void 0})}var zt,d=__decorate([t.Component({})],SFGroupingTableGroupRow),Dt=(l1._withStripped=!0,normalizeComponent({render:l1,staticRenderFns:[]},n1,d,"data-v-35173242",!1,void 0,!1,createInjector,void 0,void 0));function SFGroupingTableAggregateRow(){return null!==zt&&zt.apply(this,arguments)||this}__extends(SFGroupingTableAggregateRow,zt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableAggregateRow.prototype,"data",void 0);function u1(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"aggregate-row"},n._l(n.data.cells,function(e,t){return a("div",{key:t,staticClass:"data-cell",on:{click:function(t){return n.$emit("cell-clicked",e)}}},[n._v("\n "+n._s(e.label)+"\n ")])}),0)}function w1(t){t&&(t("data-v-0280c2d0_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.aggregate-row[data-v-0280c2d0] {\n width: 100%;\n display: flex;\n flex-flow: row;\n align-items: center;\n font-size: 1.2rem;\n}\n.aggregate-row .data-cell[data-v-0280c2d0] {\n flex: 1;\n padding: 0px 10px;\n height: 41px;\n text-align: right;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:first-child {\n position: relative;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform-origin: 0% 33%;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform-origin: 66% 33%;\n}',map:void 0,media:void 0}),t("data-v-0280c2d0_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n@media (prefers-color-scheme: dark) {\n.aggregate-row .data-cell[data-v-0280c2d0] {\n position: relative;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:after {\n transform-origin: 66% 33%;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:first-child {\n position: relative;\n}\n.aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .aggregate-row .data-cell[data-v-0280c2d0]:first-child:before {\n transform-origin: 0% 33%;\n}\n}',map:void 0,media:void 0}))}var Rt,a=__decorate([t.Component({})],SFGroupingTableAggregateRow),Ft=(u1._withStripped=!0,normalizeComponent({render:u1,staticRenderFns:[]},w1,a,"data-v-0280c2d0",!1,void 0,!1,createInjector,void 0,void 0));function SFGroupingTableTotalRow(){return null!==Rt&&Rt.apply(this,arguments)||this}__extends(SFGroupingTableTotalRow,Rt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableTotalRow.prototype,"data",void 0),__decorate([t.Prop({type:Boolean,required:!1}),__metadata("design:type",Object)],SFGroupingTableTotalRow.prototype,"hasRecordCount",void 0);function D1(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"total-row"},[e("div",{staticClass:"label"},[t._v(t._s(t.data.label))]),t._v(" "),t.hasRecordCount&&"subtotals"!==t.data.type?e("div",{staticClass:"count-left-mark"},[t._v("(")]):t._e(),t._v(" "),t.hasRecordCount&&"subtotals"!==t.data.type?e("div",{staticClass:"count"},[t._v(t._s(t.data.recordCount))]):t._e(),t._v(" "),t.hasRecordCount&&"subtotals"!==t.data.type?e("div",{staticClass:"count-right-mark"},[t._v(")")]):t._e()])}function F1(t){t&&t("data-v-2e7fc55a_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.total-row[data-v-2e7fc55a] {\n font-size: 1.2rem;\n padding: 0px 10px;\n position: relative;\n}\n.total-row[data-v-2e7fc55a]:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .total-row[data-v-2e7fc55a]:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .total-row[data-v-2e7fc55a]:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .total-row[data-v-2e7fc55a]:before {\n transform-origin: 0% 33%;\n}\n.total-row[data-v-2e7fc55a]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .total-row[data-v-2e7fc55a]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .total-row[data-v-2e7fc55a]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .total-row[data-v-2e7fc55a]:after {\n transform-origin: 66% 33%;\n}\n.total-row .label[data-v-2e7fc55a], .total-row .count[data-v-2e7fc55a] {\n float: left;\n font-weight: bold;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.total-row .count-left-mark[data-v-2e7fc55a] {\n margin-left: 5px;\n}\n.total-row .label[data-v-2e7fc55a] {\n max-width: 20%;\n}\n.total-row .count[data-v-2e7fc55a] {\n max-width: calc(80% - 13px);\n}\n.total-row .count-left-mark[data-v-2e7fc55a], .total-row .count-right-mark[data-v-2e7fc55a] {\n float: left;\n width: 4px;\n}',map:void 0,media:void 0})}var Gt,d=__decorate([t.Component({})],SFGroupingTableTotalRow),Pt=(D1._withStripped=!0,normalizeComponent({render:D1,staticRenderFns:[]},F1,d,"data-v-2e7fc55a",!1,void 0,!1,createInjector,void 0,void 0));function SFGroupingTableDataRow(){var t=null!==Gt&&Gt.apply(this,arguments)||this;return t.checkedImage=C,t.uncheckedImage=k,t}__extends(SFGroupingTableDataRow,Gt=t.Vue),__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"data",void 0),__decorate([t.Inject("isCellNumber"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isNumber",void 0),__decorate([t.Inject("isCellBoolean"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isBoolean",void 0),__decorate([t.Inject("isCellHTML"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isHTML",void 0),__decorate([t.Inject("isCellURL"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isURL",void 0),__decorate([t.Inject("isCellPhone"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isPhone",void 0),__decorate([t.Inject("isCellEmail"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isEmail",void 0),__decorate([t.Inject("isCellText"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isText",void 0),__decorate([t.Inject("isCellID"),__metadata("design:type",Object)],SFGroupingTableDataRow.prototype,"isID",void 0);function M1(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"data-row"},n._l(n.data.cells,function(e,t){return a("div",{key:t,class:["data-cell",n.isNumber(t)?"number-cell":""],on:{click:function(t){return n.$emit("cell-clicked",e)}}},[n.isID(e.value)?a("span",{staticClass:"id"},[n._v("\n "+n._s(e.label)+"\n ")]):n.isText(t)?a("span",[n._v("\n "+n._s(e.label)+"\n ")]):n.isHTML(t)?a("span",{domProps:{innerHTML:n._s(e.label)}}):n.isURL(t)||n.isPhone(t)||n.isEmail(t)?a("span",[n.isURL(t)&&e.value?a("a",{attrs:{href:e.value}},[n._v("\n "+n._s(e.value)+"\n ")]):n.isEmail(t)&&e.value?a("a",{attrs:{href:"mailto:"+e.value}},[n._v("\n "+n._s(e.label)+"\n ")]):n.isPhone(t)&&e.value?a("a",{attrs:{href:"tel:"+e.value}},[n._v("\n "+n._s(e.label)+"\n ")]):e.value?n._e():a("span",[n._v("\n "+n._s(e.label)+"\n ")])]):n.isBoolean(t)?a("img",{staticClass:"checkbox",attrs:{src:"true"===e.label?n.checkedImage:n.uncheckedImage}}):n._e()])}),0)}function O1(t){t&&(t("data-v-ee85494e_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.data-row[data-v-ee85494e] {\n width: 100%;\n display: flex;\n flex-flow: row;\n align-items: center;\n font-size: 1.2rem;\n}\n.data-row .data-cell[data-v-ee85494e] {\n flex: 1;\n padding: 0px 10px;\n height: 41px;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.data-row .data-cell[data-v-ee85494e]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .data-row .data-cell[data-v-ee85494e]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:after {\n transform-origin: 66% 33%;\n}\n.data-row .data-cell[data-v-ee85494e]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform-origin: 0% 33%;\n}\n.data-row .data-cell .checkbox[data-v-ee85494e] {\n width: 18px;\n padding-top: 13px;\n}\n.data-row .data-cell.number-cell[data-v-ee85494e] {\n text-align: right;\n}\n.data-row .data-cell .id[data-v-ee85494e] {\n color: #09afe6;\n}',map:void 0,media:void 0}),t("data-v-ee85494e_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n@media (prefers-color-scheme: dark) {\n.data-row .data-cell[data-v-ee85494e] {\n position: relative;\n}\n.data-row .data-cell[data-v-ee85494e]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .data-row .data-cell[data-v-ee85494e]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:after {\n transform-origin: 66% 33%;\n}\n.data-row .data-cell[data-v-ee85494e]:first-child {\n position: relative;\n}\n.data-row .data-cell[data-v-ee85494e]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .data-row .data-cell[data-v-ee85494e]:first-child:before {\n transform-origin: 0% 33%;\n}\n}',map:void 0,media:void 0}))}var jt,Bt,a=__decorate([t.Component({})],SFGroupingTableDataRow),Et=(M1._withStripped=!0,normalizeComponent({render:M1,staticRenderFns:[]},O1,a,"data-v-ee85494e",!1,void 0,!1,createInjector,void 0,void 0)),d=(__extends(SFTableRowMixins,jt=t.Vue),SFTableRowMixins.prototype.dispatch=function(t,e){for(var n=arguments,a=[],o=2;o<arguments.length;o++)a[o-2]=n[o];for(var r=this.$parent||this.$root,i=r.$options.name;r&&(!i||i!==t);)(r=r.$parent)&&(i=r.$options.name);r&&r.$emit.apply(r,__spreadArrays([e],a))},__decorate([t.Component],SFTableRowMixins));function SFTableRowMixins(){return null!==jt&&jt.apply(this,arguments)||this}function SFGroupingTableRow(){var t=null!==Bt&&Bt.apply(this,arguments)||this;return t.isNumber=t.isCellNumber,t.isBoolean=t.isCellBoolean,t.isURL=t.isCellURL,t.isHTML=t.isCellHTML,t.isPhone=t.isCellPhone,t.isEmail=t.isCellEmail,t.isText=t.isCellText,t.isID=t.isCellID,t.functional=!0,t}__extends(SFGroupingTableRow,Bt=t.Mixins(d)),SFGroupingTableRow.prototype.render=function(t){return t("div",{staticClass:"sf-grouping-table-row",class:[{"grand-row":this.source.grand},this.source.type],style:{background:this.source.background}},this.createChildren(t))},SFGroupingTableRow.prototype.createChildren=function(t){var e=this,n=[],a={data:this.source,hasRecordCount:this.hasRecordCount};return"group"===this.source.type?n.push(t(Dt,{props:a,on:{"cell-clicked":function(t){e.dispatch("SFGroupingTable","cell-clicked",t)}}})):"group-aggregate"===this.source.type?n.push(t(Ft,{props:a,on:{"cell-clicked":function(t){e.dispatch("SFGroupingTable","cell-clicked",t)}}})):"grand-total"===this.source.type||"subtotals"===this.source.type?n.push(t(Pt,{props:a})):"data"===this.source.type&&n.push(t(Et,{props:a,on:{"cell-clicked":function(t){e.dispatch("SFGroupingTable","cell-clicked",t)}}})),n},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"source",void 0),__decorate([t.Prop({type:Boolean,required:!1}),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"hasRecordCount",void 0),__decorate([t.Inject("isCellNumber"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellNumber",void 0),__decorate([t.Inject("isCellBoolean"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellBoolean",void 0),__decorate([t.Inject("isCellHTML"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellHTML",void 0),__decorate([t.Inject("isCellURL"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellURL",void 0),__decorate([t.Inject("isCellPhone"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellPhone",void 0),__decorate([t.Inject("isCellEmail"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellEmail",void 0),__decorate([t.Inject("isCellText"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellText",void 0),__decorate([t.Inject("isCellID"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isCellID",void 0),__decorate([t.Provide("isNumber"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isNumber",void 0),__decorate([t.Provide("isCellBoolean"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isBoolean",void 0),__decorate([t.Provide("isCellURL"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isURL",void 0),__decorate([t.Provide("isCellHTML"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isHTML",void 0),__decorate([t.Provide("isCellPhone"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isPhone",void 0),__decorate([t.Provide("isCellEmail"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isEmail",void 0),__decorate([t.Provide("isCellText"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isText",void 0),__decorate([t.Provide("isCellID"),__metadata("design:type",Object)],SFGroupingTableRow.prototype,"isID",void 0);var It,Lt=normalizeComponent({},void 0,__decorate([t.Component({components:{GroupRow:Dt,AggregateRow:Ft,TotalRow:Pt,DataRow:Et}})],SFGroupingTableRow),void 0,void 0,void 0,!1,void 0,void 0,void 0);function SFGroupingTable(){var t=null!==It&&It.apply(this,arguments)||this;return t.isCellNumber=t.isNumber,t.isCellBoolean=t.isBoolean,t.isCellURL=t.isURL,t.isCellHTML=t.isHTML,t.isCellPhone=t.isPhone,t.isCellEmail=t.isEmail,t.isCellText=t.isText,t.isCellID=t.isID,t.parentWidth="100%",t.cellWidth=0,t.rowComponent=Lt,t}__extends(SFGroupingTable,It=t.Vue),SFGroupingTable.prototype.onDataChanged=function(){this.init()},SFGroupingTable.prototype.mounted=function(){this.init()},SFGroupingTable.prototype.init=function(){var t=100*this.data.headers.length;t>this.$el.offsetWidth?this.parentWidth=t+"px":this.parentWidth="100%"},SFGroupingTable.prototype.isNumber=function(t){t=this.data.headers[t];return!!t&&("datetime"===t.dataType||"currency"===t.dataType||"date"===t.dataType||"int"===t.dataType||"double"===t.dataType||"percent"===t.dataType||"boolean"===t.dataType)},SFGroupingTable.prototype.isBoolean=function(t){t=this.data.headers[t];return!!t&&"boolean"===t.dataType},SFGroupingTable.prototype.isURL=function(t){t=this.data.headers[t];return!!t&&"url"===t.dataType},SFGroupingTable.prototype.isHTML=function(t){t=this.data.headers[t];return!!t&&"html"===t.dataType},SFGroupingTable.prototype.isPhone=function(t){t=this.data.headers[t];return!!t&&"phone"===t.dataType},SFGroupingTable.prototype.isEmail=function(t){t=this.data.headers[t];return!!t&&"email"===t.dataType},SFGroupingTable.prototype.isText=function(t){return!(this.isBoolean(t)||this.isURL(t)||this.isHTML(t)||this.isEmail(t)||this.isPhone(t))},SFGroupingTable.prototype.isID=function(e){var n;return!!e&&(n=new RegExp("^[a-zA-Z0-9]+$"),this.sobjects.some(function(t){return n.test(e)&&(15===e.length||18===e.length)&&t.layoutable&&(""+e).startsWith(t.keyPrefix)}))},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFGroupingTable.prototype,"data",void 0),__decorate([t.Prop({type:Array,required:!1}),__metadata("design:type",Object)],SFGroupingTable.prototype,"sobjects",void 0),__decorate([t.Provide("isCellNumber"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellNumber",void 0),__decorate([t.Provide("isCellBoolean"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellBoolean",void 0),__decorate([t.Provide("isCellURL"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellURL",void 0),__decorate([t.Provide("isCellHTML"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellHTML",void 0),__decorate([t.Provide("isCellPhone"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellPhone",void 0),__decorate([t.Provide("isCellEmail"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellEmail",void 0),__decorate([t.Provide("isCellText"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellText",void 0),__decorate([t.Provide("isCellID"),__metadata("design:type",Object)],SFGroupingTable.prototype,"isCellID",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],SFGroupingTable.prototype,"onDataChanged",null);function cc(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"sf-grouping-table"},[n.data.showHeader&&0<n.data.headers.length&&0<n.data.rows.length?a("div",{staticClass:"sf-grouping-table-header",style:{width:n.parentWidth}},n._l(n.data.headers,function(t,e){return a("div",{key:e,staticClass:"sf-grouping-table-header-cell",class:{"number-cell":n.isNumber(e)},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[n._v("\n "+n._s(t.label)+"\n ")])}),0):n._e(),n._v(" "),a("virtual-list",{ref:"VirtualList",staticClass:"sf-grouping-table-content",style:{width:n.parentWidth},attrs:{"data-key":"id","data-sources":n.data.rows,"data-component":n.rowComponent,"estimate-size":41,"extra-props":{hasRecordCount:n.data.hasRecordCount}}})],1)}function ec(t){t&&(t("data-v-1fc7486a_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-grouping-table-content .sf-grouping-table-row {\n position: relative;\n width: 100%;\n height: 41px;\n line-height: 41px;\n}\n.sf-grouping-table-content .sf-grouping-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table-content .sf-grouping-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table-content .sf-grouping-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table-content .sf-grouping-table-row:after {\n transform-origin: 33% 66%;\n}\n.sf-grouping-table-content .sf-grouping-table-row.data {\n background-color: #fff;\n}\n.sf-grouping-table-content .sf-grouping-table-row a {\n color: #00A383;\n}\n.sf-grouping-table-content .list-item:first-child .sf-grouping-table-row {\n position: relative;\n}\n.sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 0%;\n left: 0;\n top: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform-origin: 33% 0%;\n}\n@media (prefers-color-scheme: dark) {\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row {\n color: #f2f2f7;\n position: relative;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.group {\n background-color: #2c2c2e !important;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.group-aggregate {\n background-color: #2c2c2e !important;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data {\n background-color: #1c1c1e;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.data:after {\n transform-origin: 33% 66%;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row, .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals {\n background-color: #2c2c2e !important;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row:after, .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row:after, .pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row:after, .pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row:after, .android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals:after {\n transform-origin: 33% 66%;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.grand-row .group, .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row.subtotals .group {\n color: #f2f2f7;\n}\n.sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .sf-grouping-table-row:after {\n transform-origin: 33% 66%;\n}\n.sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row {\n position: relative;\n}\n.sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #646466;\n display: block;\n z-index: 15;\n transform-origin: 50% 0%;\n left: 0;\n top: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-content .list-item:first-child .sf-grouping-table-row:before {\n transform-origin: 33% 0%;\n}\n}',map:void 0,media:void 0}),t("data-v-1fc7486a_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-grouping-table[data-v-1fc7486a] {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n transform: translate3d(0, 0, 0);\n}\n.sf-grouping-table .sf-grouping-table-header[data-v-1fc7486a] {\n width: 100%;\n height: 44px;\n background: #00A383;\n display: flex;\n flex-flow: row;\n align-items: center;\n}\n.sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a] {\n flex: 1;\n color: #ffffff;\n font-size: 1.6rem;\n font-weight: bold;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child) {\n position: relative;\n}\n.sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child):after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child):after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child):after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-grouping-table .sf-grouping-table-header .sf-grouping-table-header-cell[data-v-1fc7486a]:not(:last-child):after {\n transform-origin: 66% 33%;\n}\n.sf-grouping-table .sf-grouping-table-content[data-v-1fc7486a] {\n width: 100%;\n height: calc(100% - 44px);\n overflow-y: auto;\n}',map:void 0,media:void 0}))}var Ot,a=__decorate([t.Component({components:{VirtualList:e}})],SFGroupingTable),Ht=(cc._withStripped=!0,normalizeComponent({render:cc,staticRenderFns:[]},ec,a,"data-v-1fc7486a",!1,void 0,!1,createInjector,void 0,void 0));function SFMatrixTableRow(){var t=null!==Ot&&Ot.apply(this,arguments)||this;return t.checkedImage=C,t.uncheckedImage=k,t}__extends(SFMatrixTableRow,Ot=t.Mixins(d)),SFMatrixTableRow.prototype.isText=function(t){return"boolean"!==t&&"url"!==t&&"html"!==t&&"email"!==t&&"phone"!==t},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFMatrixTableRow.prototype,"source",void 0),__decorate([t.Prop({type:Number,required:!0}),__metadata("design:type",Number)],SFMatrixTableRow.prototype,"cellWidth",void 0),__decorate([t.Inject("getCellClass"),__metadata("design:type",Object)],SFMatrixTableRow.prototype,"getCellClass",void 0),__decorate([t.Inject("isCellID"),__metadata("design:type",Object)],SFMatrixTableRow.prototype,"isCellID",void 0);function lc(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"sf-matrix-table-row"},n._l(n.source.cells,function(e,t){return a("div",{key:t,staticClass:"sf-matrix-table-cell",class:n.getCellClass(e.type),style:{width:n.cellWidth+"px"},on:{click:function(t){return n.dispatch("SFMatrixTable","cell-clicked",e)}}},[n.isCellID(e.value)?a("span",{staticClass:"id"},[n._v("\n "+n._s(e.label)+"\n ")]):n.isText(e.type)?a("span",[n._v("\n "+n._s(e.label)+"\n ")]):"html"===e.type?a("span",{domProps:{innerHTML:n._s(e.label)}}):"url"===e.type||"email"===e.type||"phone"===e.type?a("span",[e.value?a("span",["url"===e.type?a("a",{attrs:{href:e.value}},[n._v("\n "+n._s(e.value)+"\n ")]):"email"===e.type?a("a",{attrs:{href:"mailto:"+e.value}},[n._v("\n "+n._s(e.label)+"\n ")]):a("a",{attrs:{href:"tel:"+e.value}},[n._v("\n "+n._s(e.label)+"\n ")])]):a("span",[n._v(n._s(e.label))])]):"boolean"===e.type?a("img",{staticClass:"checkbox",attrs:{src:"true"==e.label?n.checkedImage:n.uncheckedImage}}):n._e()])}),0)}function nc(t){t&&(t("data-v-67f42871_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-matrix-table-cell[data-v-67f42871] {\n float: left;\n height: 41px;\n font-size: 1.2rem;\n text-align: left;\n padding: 0 10px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n}\n.sf-matrix-table-cell[data-v-67f42871]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform-origin: 66% 33%;\n}\n.sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform-origin: 0% 33%;\n}\n.sf-matrix-table-cell.right-align-cell[data-v-67f42871] {\n text-align: right;\n}\n.android .sf-matrix-table-cell.right-align-cell[data-v-67f42871] {\n padding-right: 20px;\n}\n.sf-matrix-table-cell.center-align-cell[data-v-67f42871] {\n text-align: center;\n}\n.sf-matrix-table-cell .checkbox[data-v-67f42871] {\n width: 18px;\n padding-top: 13px;\n}\n.sf-matrix-table-cell a[data-v-67f42871] {\n color: #00A383;\n}\n.sf-matrix-table-cell .id[data-v-67f42871] {\n color: #09afe6;\n}',map:void 0,media:void 0}),t("data-v-67f42871_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n@media (prefers-color-scheme: dark) {\n.sf-matrix-table-cell[data-v-67f42871] {\n color: #f2f2f7;\n}\n.sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 0% 50%;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:first-child:before {\n transform-origin: 0% 33%;\n}\n.sf-matrix-table-cell[data-v-67f42871]:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-cell[data-v-67f42871]:after {\n transform-origin: 66% 33%;\n}\n}',map:void 0,media:void 0}))}var Wt,a=__decorate([t.Component({})],SFMatrixTableRow),Vt=(lc._withStripped=!0,normalizeComponent({render:lc,staticRenderFns:[]},nc,a,"data-v-67f42871",!1,void 0,!1,createInjector,void 0,void 0));function SFMatrixTable(){var t=null!==Wt&&Wt.apply(this,arguments)||this;return t.getCellClass=t.getClass,t.isCellID=t.isID,t.parentWidth="100%",t.cellWidth=120,t.rowComponent=Vt,t}__extends(SFMatrixTable,Wt=t.Vue),Object.defineProperty(SFMatrixTable.prototype,"contentHeight",{get:function(){return"calc(100% - "+41*this.data.headers.length+"px)"},enumerable:!1,configurable:!0}),SFMatrixTable.prototype.onDataChanged=function(){this.init()},SFMatrixTable.prototype.mounted=function(){this.init()},SFMatrixTable.prototype.init=function(){var t=this.data.columnLength,e=this.$el.offsetWidth,n=120*t;e<n?(this.parentWidth=n+"px",this.cellWidth=120):(this.parentWidth="100%",this.cellWidth=e/t)},SFMatrixTable.prototype.getWidth=function(t){return t?this.cellWidth*t:this.cellWidth},SFMatrixTable.prototype.getClass=function(t){return"datetime"===t||"currency"===t||"date"===t||"int"===t||"double"===t||"percent"===t||"boolean"===t?"right-align-cell":"group-value"===t?"center-align-cell":""},SFMatrixTable.prototype.isID=function(e){var n;return!!e&&(n=new RegExp("^[a-zA-Z0-9]+$"),this.sobjects.some(function(t){return n.test(e)&&(15===e.length||18===e.length)&&t.layoutable&&(""+e).startsWith(t.keyPrefix)}))},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFMatrixTable.prototype,"data",void 0),__decorate([t.Prop({type:Array,required:!1}),__metadata("design:type",Object)],SFMatrixTable.prototype,"sobjects",void 0),__decorate([t.Provide("getCellClass"),__metadata("design:type",Object)],SFMatrixTable.prototype,"getCellClass",void 0),__decorate([t.Provide("isCellID"),__metadata("design:type",Object)],SFMatrixTable.prototype,"isCellID",void 0),__decorate([t.Watch("data",{deep:!0}),__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],SFMatrixTable.prototype,"onDataChanged",null);function vc(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"sf-matrix-table"},[0<n.data.headers.length?a("div",{staticClass:"sf-matrix-table-header",style:{width:n.parentWidth}},n._l(n.data.headers,function(t,e){return a("div",{key:e,staticClass:"sf-matrix-table-header-row"},n._l(t.cells,function(t,e){return a("div",{key:e,staticClass:"sf-matrix-table-header-cell",class:n.getClass(t.type),style:{width:n.getWidth(t.colspan)+"px"},on:{click:function(t){return n.$emit("cell-clicked",t)}}},[n._v("\n "+n._s(t.value)+"\n ")])}),0)}),0):n._e(),n._v(" "),a("virtual-list",{staticClass:"sf-matrix-table-content",style:{width:n.parentWidth,height:n.contentHeight},attrs:{"data-key":"id","data-sources":n.data.rows,"data-component":n.rowComponent,"estimate-size":41,"extra-props":{cellWidth:n.cellWidth}}})],1)}function xc(t){t&&(t("data-v-93ea0d72_0",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-matrix-table-content .sf-matrix-table-row {\n width: 100%;\n height: 41px;\n line-height: 41px;\n position: relative;\n}\n.sf-matrix-table-content .sf-matrix-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform-origin: 33% 66%;\n}\n.sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row {\n position: relative;\n}\n.sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row:before {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #e3e5e8;\n display: block;\n z-index: 15;\n transform-origin: 50% 0%;\n left: 0;\n top: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row:before {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row:before {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-content .list-item:first-child .sf-matrix-table-header-row:before {\n transform-origin: 33% 0%;\n}\n@media (prefers-color-scheme: dark) {\n.sf-matrix-table-content .sf-matrix-table-row {\n position: relative;\n}\n.sf-matrix-table-content .sf-matrix-table-row:after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #444447;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table-content .sf-matrix-table-row:after {\n transform-origin: 33% 66%;\n}\n}',map:void 0,media:void 0}),t("data-v-93ea0d72_1",{source:'/* Colors\n========================================================================== */\n/* Typography\n========================================================================== */\n/* Border Radius\n========================================================================== */\n/* Table */\n/* Safe Area */\n.sf-matrix-table[data-v-93ea0d72] {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n transform: translate3d(0, 0, 0);\n}\n.sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72] {\n background: #00A383;\n height: 41px;\n line-height: 41px;\n}\n.sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child) {\n position: relative;\n}\n.sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child):after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 50% 100%;\n left: 0;\n bottom: 0;\n height: 1px;\n width: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child):after {\n transform: scaleY(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child):after {\n transform: scaleY(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table .sf-matrix-table-header-row[data-v-93ea0d72]:not(:last-child):after {\n transform-origin: 33% 66%;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72] {\n float: left;\n height: 41px;\n font-size: 1.6rem;\n color: #ffffff;\n font-weight: bold;\n text-align: left;\n padding: 0 10px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child) {\n position: relative;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child):after {\n content: "";\n position: absolute;\n bottom: auto;\n right: auto;\n background-color: #39a393;\n display: block;\n z-index: 15;\n transform-origin: 100% 50%;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n}\n.pixel-ratio-2 .sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child):after {\n transform: scaleX(0.5);\n}\n.pixel-ratio-3 .sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child):after {\n transform: scaleX(0.33);\n}\n.android.pixel-ratio-3 .sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell[data-v-93ea0d72]:not(:last-child):after {\n transform-origin: 66% 33%;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell.right-align-cell[data-v-93ea0d72] {\n text-align: right;\n}\n.android .sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell.right-align-cell[data-v-93ea0d72] {\n padding-right: 20px;\n}\n.sf-matrix-table .sf-matrix-table-header-row .sf-matrix-table-header-cell.center-align-cell[data-v-93ea0d72] {\n text-align: center;\n}\n.sf-matrix-table .sf-matrix-table-content[data-v-93ea0d72] {\n position: relative;\n overflow-y: auto;\n}',map:void 0,media:void 0}))}var Nt,d=__decorate([t.Component({components:{VirtualList:e}})],SFMatrixTable),Xt=(vc._withStripped=!0,normalizeComponent({render:vc,staticRenderFns:[]},xc,d,"data-v-93ea0d72",!1,void 0,!1,createInjector,void 0,void 0));function SFReportTable(){var t=null!==Nt&&Nt.apply(this,arguments)||this;return t.functional=!0,t}__extends(SFReportTable,Nt=t.Vue),SFReportTable.prototype.render=function(t){var e=new ct(this.data,this.languageLocaleKey);return this.refactoredData=e.tableData,"MATRIX"===this.refactoredData.format?this.createMatrixTable(t):this.createGroupingTable(t)},SFReportTable.prototype.createMatrixTable=function(t){var e=this;return t(Xt,{props:{data:this.refactoredData,sobjects:this.sobjects},on:{"cell-clicked":function(t){e.$emit("cell-clicked",t)}}})},SFReportTable.prototype.createGroupingTable=function(t){var e=this;return t(Ht,{props:{data:this.refactoredData,sobjects:this.sobjects},on:{"cell-clicked":function(t){e.$emit("cell-clicked",t)}}})},__decorate([t.Prop({type:Object,required:!0}),__metadata("design:type",Object)],SFReportTable.prototype,"data",void 0),__decorate([t.Prop({type:Array,required:!1}),__metadata("design:type",Object)],SFReportTable.prototype,"sobjects",void 0),__decorate([t.Prop({type:String,required:!1}),__metadata("design:type",Object)],SFReportTable.prototype,"languageLocaleKey",void 0);function Jc(t){t.component("SfDashboardChart",At),t.component("SfReportChart",Mt),t.component("SfReportTable",Yt)}var Yt=normalizeComponent({},void 0,__decorate([t.Component({components:{SFGroupingTable:Ht,SFMatrixTable:Xt}})],SFReportTable),void 0,void 0,void 0,!1,void 0,void 0,void 0);return function(t){t.use(g0),t.use(Jc)}});
|