text: function elastic_list(){function e(i){function o(e){return e.data.agg}A=i,A.style("height",m).style("width",h),v=k.group(V);var x=crossfilterHelpers.countByDimensionWithInitialCountAndData(function(e){return e[K]},function(e,n,t){return void 0===n&&(n={agg:0,initialAgg:0}),"add"===t?("COUNT"===E?n.agg++:n.agg=n.agg+(+e[H]?+e[H]:0),n.agg>n.initialAgg&&(n.initialAgg=n.agg)):"COUNT"===E?n.agg--:n.agg=n.agg-(+e[H]?+e[H]:0),n}),D=x.add,w=x.remove,b=x.init;return void 0!==K&&E?(v.reduce(D,w,b),v.order(o)):v.reduce(function(e,n){return++e.data.agg,e.data.agg>e.data.initialAgg&&(e.data.initialAgg=e.data.agg),e},function(e,n){return--e.data.agg,e},function(){return{count:0,initialCount:0,data:{agg:0,initialAgg:0}}}),y=v.top(1/0),T=y.reduce(function(e,n){return e+n.value.data.initialAgg},0),y.map(function(e){M[e.key]={value:e.value.data.initialAgg,percentage:e.value.data.initialAgg/T}}),y.map(function(e){$.push({key:e.key,value:{count:e.value.initialCount,data:{agg:e.value.data.initialAgg}}})}),$.sort(B),y.sort(B),j=y.length,n(),{update:t,selection:A,resetFilter:l,lockMode:a,filter:d,filterInternal:g,globalMode:c,filterMode:r,mode:e.mode,toggleResort:s,toggleLabelSort:u,selectAll:f,deselectAll:p}}function n(){function e(){t.defer(G,this)}var n=A.selectAll(".cell").data(i(y),function(e){return e.group.key});n.enter().append("g").attr("class","cell");var t=queue();n.each(e),t.defer(function(){null!==q&&q.height(m)})}function t(){function e(e){function n(){a.defer(_,this)}L=e.reduce(function(e,n){return e+n.value.data.agg},0),N=d3.scale.linear().range([0,m-(j+1)*S]).domain([0,L]);var t=A.selectAll(".cell").data(i(e),function(e){return e.group.key});w&&t.order();var l=S;t.each(function(){var e=d3.select(this),n=e.datum();n.heightbefore=l,l=l+o(N(n.group.value.data.agg),n.group.value.data.agg)+S,e.datum(n)});var a=queue();t.each(n),a.defer(function(){A.style("height",l)}),a.defer(function(){q&&q.data("jsp")})}w&&y.sort(B),2!=D&&e(0===D?y:$)}function i(e){var n=0;return e.map(function(e,t){return n+=e.value.value,{group:e,heightbefore:n-e.value.data.agg}})}function o(e,n){return b>e?0===n?C:b:e}function l(){x=d3.map(),k.filterAll(),z()}function a(){D=2}function r(){D=0,t()}function c(){D=1,t()}function s(){w===!1?(w=!0,B=function(e,n){return n.value.data.agg-e.value.data.agg},t()):(B=function(e,n){return M[n.key].value-M[e.key].value},t(),w=!1)}function u(){J===!1?(B=function(e,n){return n.key>e.key?-1:1},J=!0):(B=w===!1?function(e,n){return M[n.key].value-M[e.key].value}:function(e,n){return n.value.data.agg-e.value.data.agg},J=!1),w===!1?(w=!0,t(),w=!1):t()}function d(){return x.keys().map(function(e){return O(e)}).join(", ")}function g(e){return arguments.length?(x=d3.map(),e.forEach(function(e){x.set(e.key,e.value)}),k.filter(function(e){return x.has(V(e))||0===x.keys().length}),void z()):x.entries()}function f(){x=d3.map(),y.forEach(function(e){x.set(e.key,!0)}),k.filter(function(e){return x.has(V(e))||0===x.keys().length}),z()}function p(){x=d3.map(),k.filterAll(),z()}var m=350,h=200,v=null,y=null,k=null,x=d3.map(),D=0,w=!1,A=null,b=20,C=2,F=0,q=null,S=2,I=function(){return h-F},M={},$=[],T=0,j=0,K=null,E=null,H=null,V=function(e){return e},O=function(e){return e},B=function(e,n){return n.value.data.agg-e.value.data.agg},z=function(){return!0},U=d3.scale.quantize().range(["#EFF3FF","#BDD7E7","#6BAED6","#DDDDDD"]).domain([1,0]),N=null,R="#D9D9D9",W="#A8DDB5",L=0,_=function(e){var n=d3.select(e),t=n.select("rect"),i=n.select(".label"),l=n.select(".elements");n.classed("empty",function(e){return 0===e.group.value.data.agg}),t.classed("filtered",function(e){return x.has(e.group.key)}).transition(500).delay(500).attr("height",function(e){return o(N(e.group.value.data.agg),e.group.value.data.agg)}).attr("fill",function(e){return x.has(e.group.key)?W:0===e.group.value.data.agg?R:U(Math.abs(e.group.value.data.agg/L-M[e.group.key].percentage))}),n.transition(500).delay(1e3).attr("transform",function(e,n){return"translate(0, "+e.heightbefore+")"}),i.text(function(e){return 0!==e.group.value.data.agg?O(e.group.key):void 0}),l.text(function(e){return 0!==e.group.value.data.agg?""+e.group.value.data.agg+" / "+M[e.group.key].value:void 0})},G=function(e){var n=d3.select(e),i=n.select("rect"),o=n.select(".label"),l=n.select(".elements");i.empty()&&(n.on("click",function(e){n.classed("empty")||(x.has(e.group.key)?x.remove(e.group.key):x.set(e.group.key,!0),k.filter(function(e){return x.has(V(e))||0===x.keys().length}),t(),z())}),i=n.append("rect").attr("width",I())),o.empty()&&(o=n.append("text").attr("class","label").attr("x",S).attr("y","1em").attr("dx","2px").attr("dy","2px").attr("font-size","0.8em")),l.empty()&&(l=n.append("text").attr("class","elements").attr("x",I()-S).attr("y","1em").attr("dx","-2px").attr("dy","2px").attr("font-size","0.8em").attr("text-anchor","end"))},J=!1;return e.width=function(n){return arguments.length?(h=n,e):h},e.height=function(n){return arguments.length?(m=n,e):m},e.dimension=function(n){return arguments.length?(k=n,e):k},e.callback=function(n){return arguments.length?(z=n,e):z},e.redrawCell=function(n){return arguments.length?(drawCell=n,e):drawCell},e.initializeCell=function(n){return arguments.length?(G=n,e):G},e.groupValue=function(n){return arguments.length?(V=n,e):V},e.groupDisplayValue=function(n){return arguments.length?(O=n,e):O},e.compareFunction=function(n){return arguments.length?(B=n,e):B},e.minCellHeight=function(n){return arguments.length?(b=n,e):b},e.mode=function(n){return arguments.length?(D=n,e):D},e.resort=function(n){return arguments.length?(w=n,e):w},e.scrollbarWidth=function(n){return arguments.length?(F=n,e):F},e.scrollbarElement=function(n){return arguments.length?(q=n,e):q},e.uniqueDimension=function(n){return arguments.length?(K=n,e):K},e.aggregateKey=function(n){return arguments.length?(H=n,e):H},e.aggregationType=function(n){return arguments.length?(E=n,e):E},e}angular.module("palladioFacetComponent",["palladio","palladio.services"]).run(["componentService",function(e){var n=function(e,n){e.showControls=void 0===e.showControls?!0:e.showControls,e.showAccordion=void 0===e.showAccordion?!0:e.showAccordion,e.showDropArea=void 0===e.showDropArea?!0:e.showDropArea,e.showSettings=void 0===e.showSettings?!0:e.showSettings,e.dimensions=void 0===e.dimensions?[]:e.dimensions,e.aggregation=void 0===e.aggregation?[]:e.aggregation,e.height=void 0===e.height?"300px":e.height;var t="<div data-palladio-facet-filter ";return t+="show-controls=showControls ",t+="show-accordion=showAccordion ",t+="show-drop-area=showDropArea ",t+="show-settings=showSettings ",t+="height=height ",e.dimensions.length>0&&(t+='config-dimensions="dimensions" '),e.aggregation.length>0&&(t+='config-aggregation="aggregation" '),t+="></div>"};e.register("facet",n)}]).directive("palladioFacetFilter",["palladioService","dataService",function(e,n){return{scope:{height:"=",showControls:"=",showAccordion:"=",showDropArea:"=",showSettings:"=",configDimensions:"=",configAggregation:"="},templateUrl:"partials/palladio-facet-component/template.html",link:{pre:function(t,i){function o(e){e.dimension&&(e.dimension.filterAll(),e.dimension.remove()),e.dimension=t.xfilter.dimension(function(n){return""+n[e.key]});var n=t.aggDim.key,i=y.get(t.aggDim.fileId).key,o=reductio().exception(function(e){return e[n]}).exceptionCount(!0);o.value("of").filter(function(e,n){return n}).exception(function(e){return e[n]}).exceptionCount(!0);var l=reductio().exception(function(e){return e[n]}).exceptionSum(function(e){return e[i]});l.value("of").filter(function(e,n){return n}).exception(function(e){return e[n]}).exceptionSum(function(e){return e[i]}),e.group="count"===t.aggDim.type?o(e.dimension.group()):l(e.dimension.group()),"count"===t.aggDim.type?e.group.order(function(e){return e.exceptionCount}):e.group.order(function(e){return e.exceptionSum});var a="count"===t.aggDim.type?e.group.top(1)[0].value.exceptionCount:e.group.top(1)[0].value.exceptionSum,r="count"===t.aggDim.type?d3.sum(e.group.all(),function(e){return e.value.exceptionCount}):d3.sum(e.group.all(),function(e){return e.value.exceptionSum}),c=a/r*p>2*h?a/r*p:2*h;c=Math.floor(c)-2,e.scale=d3.scale.linear().domain([1,a]).range([h,c]),e.domKey=g(e.key),e.filters=[],e.highlight=!1}function l(e){e.dimension&&(e.dimension.filterAll(),e.dimension.remove()),e.dimension=void 0,e.group=void 0,e.scale=void 0,e.domKey=void 0,e.filters=void 0}function a(e){e.classed("filter-value",function(e){return e.inFilter}).transition().style("height",function(e){return e.displayValue>0?h+"px":"3px"}),e.select(".cell-text").text(function(e){return e.displayValue>0?e.key:""}),e.select(".cell-value").text(function(e){return e.displayValue>0?e.displayValue+" / "+e.unfilteredValue:""}),e.attr("title",function(e){return e.key})}function r(e,n){return e.scale=n.scale,e.facetKey=n.key,e.facetDescription=n.description,e.dimension=n.dimension,e.filters=n.filters,e.highlight=function(){return n.highlight},e.inFilter=-1!==e.filters.indexOf(e.key),"count"===t.aggDim.type?(e.displayValue=e.value.exceptionCount,e.unfilteredValue=e.value.of.exceptionCount):(e.displayValue=e.value.exceptionSum,e.unfilteredValue=e.value.of.exceptionSum),e}function c(n){-1!==n.filters.indexOf(n.key)?n.filters.splice(n.filters.indexOf(n.key),1):n.filters.push(n.key),s(n),e.update()}function s(n){("function"==typeof n.highlight?n.highlight():n.highlight)?v.push(e.setHighlight(d.bind(null,n.dimension.accessor,n))):(1===n.filters.length?n.dimension.filterExact(n.filters[0]):n.dimension.filterFunction(u.bind(null,n)),n.filters.length>0?v.push(e.setFilter(t.uniqueToggleId+n.facetKey,n.facetDescription,n.filters.join(", "),function(){n.filters.splice(0,n.filters.length),n.dimension.filterAll(),e.removeFilter(t.uniqueToggleId+n.facetKey),e.update()})):e.removeFilter(t.uniqueToggleId+n.facetKey))}function u(e,n){return-1!==e.filters.indexOf(n)||0===e.filters.length}function d(e,n,t){return-1!==n.filters.indexOf(e(t))||0===n.filters.length}function g(e){return e.split("\n").join("").split("?").join("").split('"').join("").split(")").join("").split("(").join("").split(" ").join("").split(".").join("").split("#").join("").split("/").join("").split(",").join("").split("[").join("").split("]").join("").split("{").join("").split("}").join("")}function f(){var e=d3.select(i[0]).select(".inner-facet-container"),n=e.selectAll(".facet").data(t.dims,function(e){return g(e.key)}),o=n.selectAll(".cell").data(function(e){return e.group.top(1/0).map(function(n){return r(n,e)})},function(e){return e.key});o.call(a)}var p,m=30,h=20;t.height?(t.calcHeight=t.height,p=+t.calcHeight.substring(0,t.calcHeight.length-2)):(t.calcHeight="200px",p=200),p-=m,t.dropMarginTop=(p-100)/3+"px";var v=[];t.metadata=n.getDataSync().metadata,t.xfilter=n.getDataSync().xfilter,t.uniqueToggleId="facetFilter"+Math.floor(1e4*Math.random()),t.uniqueToggleHref="#"+t.uniqueToggleId,t.uniqueModalId=t.uniqueToggleId+"modal",t.dimensions=[],t.config={},t.title="Facet Filter",t.dropModel=!1,t.$watch("dropModel",function(){t.dropModel&&(t.dims=t.dims.concat(t.dropModel),t.dropModel=!1)}),t.getAggDescription=function(e){return"count"===e.type?"Number of "+e.field.countDescription:"Sum of "+e.field.description+" (from "+y.get(e.fileId).countDescription+" table)"};var y=d3.map();t.metadata.filter(function(e){return e.countable===!0}).forEach(function(e){y.set(e.originFileId?e.originFileId:0,e)}),t.aggDims=t.metadata.filter(function(e){return e.countable===!0||"number"===e.type}).map(function(e){return{key:e.key,type:e.countable?"count":"sum",field:e,fileId:e.originFileId?e.originFileId:0}}).filter(function(e){return!!y.get(e.fileId)}).sort(function(e,n){return t.getAggDescription(e)<t.getAggDescription(n)?-1:1}),t.aggDim=t.configAggregation?t.configAggregation:t.aggDims[0],t.$watch("aggDim",function(){if(t.aggDim.key){var e=d3.select(i[0]).select(".inner-facet-container"),n=e.selectAll(".facet").data(t.dims,function(e){return g(e.key)});n.each(function(e){o(e)}),f()}}),t.showAggModal=function(){$("#"+t.uniqueModalId).find("#facet-agg-modal").modal("show")},t.showModal=function(){$("#"+t.uniqueModalId).find("#facet-modal").modal("show")},t.fieldDescriptions=function(){return t.dims.map(function(e){return e.description}).join(", ")},t.countDescription=function(){return t.uniqueDimension?t.uniqueDimension.countDescription:!1},t.getCountDescription=function(e){return e.countDescription},t.uniqueDimension=void 0,t.metadata.filter(function(e){return e.countBy===!0})[0]&&(t.uniqueDimension=t.metadata.filter(function(e){return e.countBy===!0})[0],t.config.uniqueDimension=t.uniqueDimension.key),t.fields=t.metadata.filter(function(){return!0}).sort(function(e,n){return e.description<n.description?-1:1}),t.countFields=t.metadata.sort(function(e,n){return e.countDescription<n.countDescription?-1:1}),t.configDimensions?t.dims=t.configDimensions:t.dims=[],t.check=function(e){return-1!==t.dims.map(function(e){return e.key}).indexOf(e.key)},t.$watch("dims",function(){t.dims.forEach(function(e){void 0===e.dimension&&o(e)});var n=d3.select(i[0]).select(".inner-facet-container"),s=n.selectAll(".facet-container").data(t.dims,function(e){return g(e.key)}),u=s.enter().append("div").style("height",function(){return t.calcHeight}).attr("class","facet-container"),d=s.append("div").classed("facet-header",!0).style("height",m).text(function(e){return e.description+" ("+e.group.size()+")"}).append("span").attr("class","mode-buttons").append("div").attr("class","btn-group");u.append("div").classed("facet",!0).style("height",function(){return p+"px"});var f=s.select(".facet"),h=t.dims.length;n.style("width",225*h+"px"),n.select(".mid-facet-container").style("width",225*h+"px");var v=f.selectAll(".cell").data(function(e){return e.group.top(1/0).map(function(n){return r(n,e)})},function(e){return e.key});d.append("a").attr("class","btn-mini").attr("tooltip","Select").attr("tooltip-append-to-body","true").on("click",function(n){$(this).toggleClass("active"),n.filters.splice(0,n.filters.length),d3.select(this).classed("active")?(n.group.all().forEach(function(e){n.filters.push(e.key)}),n.dimension.filterFunction(function(){return!0}),e.setFilter(t.uniqueToggleId+n.key,n.description,n.filters.join(", "),function(){n.filters.splice(0,n.filters.length),n.dimension.filterAll(),e.removeFilter(t.uniqueToggleId+n.key),e.update()})):(n.dimension.filterAll(),e.removeFilter(t.uniqueToggleId+n.key)),e.update()}).append("i").attr("class","fa fa-check-square-o"),d.append("a").attr("class","btn-mini").on("click",function(e,n){$(this).toggleClass("active"),d3.select(this).classed("active")?(d3.selectAll(v[n]).sort(function(e,n){return d3.ascending(e.key,n.key)}),d3.select(this).select("i").classed("fa-sort-alpha-asc",!1),d3.select(this).select("i").classed("fa-sort-numeric-desc",!0)):(d3.selectAll(v[n]).sort(function(e,n){return d3.descending(e.displayValue,n.displayValue)}),d3.select(this).select("i").classed("fa-sort-alpha-asc",!0),d3.select(this).select("i").classed("fa-sort-numeric-desc",!1))}).append("i").attr("class","fa fa-sort-alpha-asc"),t.showSettings&&d.append("a").attr("class","btn-mini").on("click",function(n){n.highlight&&e.removeHighlight(),t.$apply(function(e){e.dims=e.dims.filter(function(e){return e.key!==n.key})})}).append("i").attr("class","fa fa-times");var y=v.enter().append("div").classed("cell",!0).on("click",c);y.append("div").classed("cell-text",!0),y.append("div").classed("cell-value",!0),y.call(a),s.exit().each(function(n){e.removeFilter(t.uniqueToggleId+n.key),l(n),e.update()}),s.exit().remove()});var k=e.onUpdate(t.uniqueToggleId,f);v.push(k),t.$on("$destroy",function(){t.dims.map(function(e){l(e)}),v.forEach(function(e){e()}),$("#"+t.uniqueModalId).remove()}),t.filterReset=function(){t.dims.forEach(function(n){n.filters=[],n.dimension.filterAll(),e.removeFilter(t.uniqueToggleId+g(n.key))}),e.update()};var x=function(e){for(t.config=e.config,t.$digest();t.dims.length>0;)t.dims.length>1?t.dims=t.dims.slice(0,t.dims.length-1):t.dims=[],t.$digest();e.dimKeys.forEach(function(e){t.fields.filter(function(n){return n.key===e}).forEach(function(e){t.addKey=e.key,t.$digest()})}),e.aggDimKey&&(t.aggDim=t.aggDims.filter(function(n){return n.key===e.aggDimKey})[0]),e.domKeys=e.dimKeys.map(function(e){return g(e)}),t.$digest();var n=d3.select(i[0]).selectAll(".facet")[0];e.filters.forEach(function(e,t){var i=[];if(e&&e[0]&&"string"==typeof e[0]?i=e:e&&(i=e.map(function(e){return e.key})),i.length){d3.select(n[t]).selectAll(".cell").filter(function(e){return-1!==i.indexOf(e.key)}).each(function(){this.click()})}})},D=function(){return{config:t.config,aggDimKey:t.aggDim.key,dimKeys:t.dims.map(function(e){return e.key}),domKeys:t.dims.map(function(e){return g(e.key)}),filters:t.dims.map(function(e){return e.filters})}};v.push(e.registerStateFunctions(t.uniqueToggleId,"facet",D,x))},post:function(e,n,t){$(n[0]).find(".toggle").on("click",function(){$(n[0]).find(".settings-panel").toggle(0,function(){$(n[0]).find(".view").toggleClass("span12"),$(n[0]).find(".view").toggleClass("span10")})}),$(n[0]).find("#facet-modal").parent().appendTo("body")}}}}]),angular.module("palladio").run(["$templateCache",function(e){e.put("partials/palladio-facet-component/template.html",'<div class="row" ng-show="collapse" ng-init="collapse=false">\n	<div class="col-lg-12">\n		{{title}}<span class="text-muted margin-left small">Facet</span>\n		<a class="btn btn-default btn-xs pull-right"\n			tooltip-animation="false"\n			tooltip-append-to-body="true"\n			tooltip-placement="left"\n			tooltip="Expand"\n			ng-click="collapse=false">\n			<i class="fa fa-chevron-up"></i>\n		</a>\n	</div>\n</div>\n\n<div class="row" ng-show="!collapse">\n\n	<div ng-class="{\'col-lg-9\': showSettings, \'col-md-8\': showSettings, \'col-lg-12\': !showSettings, \'col-md-12\': !showSettings}">\n\n		<div class="facet-container" style="height: {{calcHeight}}">\n			<div class="mid-facet-container" style="height: {{calcHeight}};">\n				<div class="inner-facet-container" style="height: {{calcHeight}};"></div>\n				<div ng-show="showDropArea === \'true\'" palladio-droppable model="dropModel" class="facet-drop-area" style="margin-top: {{dropMarginTop}};">\n					<div class="facet-drop-area-text">\n						Drop dimensions here\n					</div>\n				</div>\n			</div>\n		</div>\n\n		<div class="well well-expand" ng-show="!fieldDescriptions() && showSettings === \'true\'">Select at least one dimension on the right</div>\n		<div class="well well-expand" ng-show="!fieldDescriptions() && showSettings !== \'true\'">No dimensions configured for facet display</div>\n\n	</div>\n\n	<div ng-show="showSettings" class="col-lg-3 col-md-4">\n\n		<div class="row" data-ng-show="showAccordion">\n			<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">\n				<label class="inline text-muted">Facet</label>\n			</div>\n			<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">\n				<a class="btn btn-default btn-xs pull-right"\n					tooltip-animation="false"\n					tooltip-append-to-body="true"\n					tooltip-placement="left"\n					tooltip="Collapse"\n					ng-click="collapse=true">\n					<i class="fa fa-chevron-down"></i>\n				</a>\n			</div>\n		</div>\n\n		<div class="row margin-top">\n			<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">\n				<label class="inline">Description</label>\n			</div>\n			<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">\n				<input type="text" class="form-control" data-ng-model="title" placeholder="Untitled"></input>\n			</div>\n		</div>\n\n		<div class="row margin-top">\n			<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">\n				<label class="inline">Dimensions</label>\n			</div>\n			<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">\n				<span class="btn btn-default btn-modal" ng-click="showModal()">\n					{{fieldDescriptions() || "Choose"}}\n					<span class="caret"></span>\n				</span>\n			</div>\n		</div>\n\n		<div class="row margin-top">\n			<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">\n				<label class="inline">Count</label>\n			</div>\n			<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">\n				<span class="btn btn-default btn-modal" ng-click="showAggModal()">\n					{{getAggDescription(aggDim) || "Choose"}}\n					<span class="caret"></span>\n				</span>\n			</div>\n		</div>\n\n		<div class="row margin-top">\n			<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right ">\n			</div>\n			<div class="col-lg-8 col-md-8 col-md-8 col-xs-8 col-condensed">\n\n				<a class="small" \n					data-ng-show="showControls === true"\n					data-ng-click="filterReset()">Clear</a>\n\n				<a class="text-danger pull-right"\n					data-ng-show="showControls === true"\n				 	tooltip-animation="false"\n				 	tooltip-append-to-body="true"\n					tooltip-placement="left"\n					tooltip="Delete filter"\n				 	data-ng-click="$parent.removeFilter($event)">\n					<i class="fa fa-trash-o"></i>\n				</a>\n			</div>\n		</div>\n\n\n	</div>\n\n</div>\n\n<div id="{{uniqueModalId}}">\n	<div id="facet-modal" data-description="Choose facet dimensions" data-modal toggle-key="addKey" dimensions="fields" model="dims" sortable="false"></div>\n	<div id="facet-agg-modal" data-description="Choose count dimensions" data-modal dimensions="aggDims" model="aggDim" description-accessor="getAggDescription"></div>\n</div>\n')}]);