text: /** 
   * Kendo UI v2016.1.226 (http://www.telerik.com/kendo-ui)                                                                                                                                               
   * Copyright 2016 Telerik AD. All rights reserved.                                                                                                                                                      
   *                                                                                                                                                                                                      
   * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
   * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
   * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
  
  */
  !function(t,define){define("util/main.min",["kendo.core.min"],t)}(function(){return function(){function t(t){return typeof t!==R}function e(t,e){var n=i(e);return B.round(t*n)/n}function i(t){return t?B.pow(10,t):1}function n(t,e,i){return B.max(B.min(t,i),e)}function r(t){return t*L}function o(t){return t/L}function a(t){return"number"==typeof t&&!isNaN(t)}function s(e,i){return t(e)?e:i}function h(t){return t*t}function u(t){var e,i=[];for(e in t)i.push(e+t[e]);return i.sort().join("")}function l(t){var e,i=2166136261;for(e=0;t.length>e;++e)i+=(i<<1)+(i<<4)+(i<<7)+(i<<8)+(i<<24),i^=t.charCodeAt(e);return i>>>0}function d(t){return l(u(t))}function c(t){var e,i=t.length,n=N,r=U;for(e=0;i>e;e++)r=B.max(r,t[e]),n=B.min(n,t[e]);return{min:n,max:r}}function f(t){return c(t).min}function p(t){return c(t).max}function m(t){return g(t).min}function v(t){return g(t).max}function g(t){var e,i,n,r=N,o=U;for(e=0,i=t.length;i>e;e++)n=t[e],null!==n&&isFinite(n)&&(r=B.min(r,n),o=B.max(o,n));return{min:r===N?void 0:r,max:o===U?void 0:o}}function _(t){return t?t[t.length-1]:void 0}function w(t,e){return t.push.apply(t,e),t}function y(t){return F.template(t,{useWithBlock:!1,paramName:"d"})}function x(e,i){return t(i)&&null!==i?" "+e+"='"+i+"' ":""}function b(t){var e,i="";for(e=0;t.length>e;e++)i+=x(t[e][0],t[e][1]);return i}function k(e){var i,n,r="";for(i=0;e.length>i;i++)n=e[i][1],t(n)&&(r+=e[i][0]+":"+n+";");return""!==r?r:void 0}function C(t){return"string"!=typeof t&&(t+="px"),t}function S(t){var e,i,n=[];if(t)for(e=F.toHyphens(t).split("-"),i=0;e.length>i;i++)n.push("k-pos-"+e[i]);return n.join(" ")}function z(e){return""===e||null===e||"none"===e||"transparent"===e||!t(e)}function A(t){for(var e={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"},i=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],n="";t>0;)i[0]>t?i.shift():(n+=e[i[0]],t-=i[0]);return n}function I(t){var e,i,n,r,o;for(t=t.toLowerCase(),e={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},i=0,n=0,r=0;t.length>r;++r){if(o=e[t.charAt(r)],!o)return null;i+=o,o>n&&(i-=2*n),n=o}return i}function M(t){var e=Object.create(null);return function(){var i,n="";for(i=arguments.length;--i>=0;)n+=":"+arguments[i];return n in e?e[n]:t.apply(this,arguments)}}function T(t){for(var e,i,n=[],r=0,o=t.length;o>r;)e=t.charCodeAt(r++),e>=55296&&56319>=e&&o>r?(i=t.charCodeAt(r++),56320==(64512&i)?n.push(((1023&e)<<10)+(1023&i)+65536):(n.push(e),r--)):n.push(e);return n}function H(t){return t.map(function(t){var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)}).join("")}var B=Math,F=window.kendo,D=F.deepExtend,L=B.PI/180,N=Number.MAX_VALUE,U=-Number.MAX_VALUE,R="undefined",O=Date.now;O||(O=function(){return(new Date).getTime()}),D(F,{util:{MAX_NUM:N,MIN_NUM:U,append:w,arrayLimits:c,arrayMin:f,arrayMax:p,defined:t,deg:o,hashKey:l,hashObject:d,isNumber:a,isTransparent:z,last:_,limitValue:n,now:O,objectKey:u,round:e,rad:r,renderAttr:x,renderAllAttr:b,renderPos:S,renderSize:C,renderStyle:k,renderTemplate:y,sparseArrayLimits:g,sparseArrayMin:m,sparseArrayMax:v,sqr:h,valueOrDefault:s,romanToArabic:I,arabicToRoman:A,memoize:M,ucs2encode:H,ucs2decode:T}}),F.drawing.util=F.util,F.dataviz.util=F.util}(),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("util/text-metrics.min",["kendo.core.min","util/main.min"],t)}(function(){!function(t){function e(){return{width:0,height:0,baseline:0}}function i(t,e,i){return d.current.measure(t,e,i)}function n(t,e){var i=[];if(t.length>0&&document.fonts){try{i=t.map(function(t){return document.fonts.load(t)})}catch(n){o.logToConsole(n)}Promise.all(i).then(e,e)}else e()}var r=document,o=window.kendo,a=o.Class,s=o.util,h=s.defined,u=a.extend({init:function(t){this._size=t,this._length=0,this._map={}},put:function(t,e){var i=this,n=i._map,r={key:t,value:e};n[t]=r,i._head?(i._tail.newer=r,r.older=i._tail,i._tail=r):i._head=i._tail=r,i._length>=i._size?(n[i._head.key]=null,i._head=i._head.newer,i._head.older=null):i._length++},get:function(t){var e=this,i=e._map[t];return i?(i===e._head&&i!==e._tail&&(e._head=i.newer,e._head.older=null),i!==e._tail&&(i.older&&(i.older.newer=i.newer,i.newer.older=i.older),i.older=e._tail,i.newer=null,e._tail.newer=i,e._tail=i),i.value):void 0}}),l=t("<div style='position: absolute !important; top: -4000px !important; width: auto !important; height: auto !important;padding: 0 !important; margin: 0 !important; border: 0 !important;line-height: normal !important; visibility: hidden !important; white-space: nowrap!important;' />")[0],d=a.extend({init:function(t){this._cache=new u(1e3),this._initOptions(t)},options:{baselineMarkerSize:1},measure:function(i,n,o){var a,u,d,c,f,p,m,v;if(!i)return e();if(a=s.objectKey(n),u=s.hashKey(i+a),d=this._cache.get(u),d)return d;c=e(),f=o?o:l,p=this._baselineMarker().cloneNode(!1);for(m in n)v=n[m],h(v)&&(f.style[m]=v);return t(f).text(i),f.appendChild(p),r.body.appendChild(f),(i+"").length&&(c.width=f.offsetWidth-this.options.baselineMarkerSize,c.height=f.offsetHeight,c.baseline=p.offsetTop+this.options.baselineMarkerSize),c.width>0&&c.height>0&&this._cache.put(u,c),f.parentNode.removeChild(f),c},_baselineMarker:function(){return t("<div class='k-baseline-marker' style='display: inline-block; vertical-align: baseline;width: "+this.options.baselineMarkerSize+"px; height: "+this.options.baselineMarkerSize+"px;overflow: hidden;' />")[0]}});d.current=new d,o.util.TextMetrics=d,o.util.LRUCache=u,o.util.loadFonts=n,o.util.measureText=i}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("util/base64.min",["util/main.min"],t)}(function(){return function(){function t(t){var i,n,r,a,s,h,u,l="",d=0;for(t=e(t);t.length>d;)i=t.charCodeAt(d++),n=t.charCodeAt(d++),r=t.charCodeAt(d++),a=i>>2,s=(3&i)<<4|n>>4,h=(15&n)<<2|r>>6,u=63&r,isNaN(n)?h=u=64:isNaN(r)&&(u=64),l=l+o.charAt(a)+o.charAt(s)+o.charAt(h)+o.charAt(u);return l}function e(t){var e,i,n="";for(e=0;t.length>e;e++)i=t.charCodeAt(e),128>i?n+=r(i):2048>i?(n+=r(192|i>>>6),n+=r(128|63&i)):65536>i&&(n+=r(224|i>>>12),n+=r(128|i>>>6&63),n+=r(128|63&i));return n}var i=window.kendo,n=i.deepExtend,r=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n(i.util,{encodeBase64:t,encodeUTF8:e})}(),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("mixins/observers.min",["kendo.core.min"],t)}(function(){return function(t){var e=Math,i=window.kendo,n=i.deepExtend,r=t.inArray,o={observers:function(){return this._observers=this._observers||[]},addObserver:function(t){return this._observers?this._observers.push(t):this._observers=[t],this},removeObserver:function(t){var e=this.observers(),i=r(t,e);return-1!=i&&e.splice(i,1),this},trigger:function(t,e){var i,n,r=this._observers;if(r&&!this._suspended)for(n=0;r.length>n;n++)i=r[n],i[t]&&i[t](e);return this},optionsChange:function(t){this.trigger("optionsChange",t)},geometryChange:function(t){this.trigger("geometryChange",t)},suspend:function(){return this._suspended=(this._suspended||0)+1,this},resume:function(){return this._suspended=e.max((this._suspended||0)-1,0),this},_observerField:function(t,e){this[t]&&this[t].removeObserver(this),this[t]=e,e.addObserver(this)}};n(i,{mixins:{ObserversMixin:o}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()}),function(t,define){define("kendo.dataviz.treemap.min",["kendo.data.min","kendo.userevents.min","kendo.dataviz.themes.min"],t)}(function(){return function(t,e){function i(t,e){if(null===e)return e;var i=b(t,!0);return i(e)}function n(t){return typeof t!==H}function r(t,e,i){var n,r,h=s(t),u=s(e),l=d(t)-d(e)<0,c=[];for(c.push(t),n=0;i>n;n++)r={r:o(h.r,u.r,n,i,l),g:o(h.g,u.g,n,i,l),b:o(h.b,u.b,n,i,l)},c.push(a(r));return c.push(e),c}function o(t,e,i,n,r){var o,a=f.min(f.abs(t),f.abs(e)),s=f.max(f.abs(t),f.abs(e)),h=(s-a)/(n+1),u=h*(i+1);return o=r?a+u:s-u}function a(t){return"#"+h(t.r)+h(t.g)+h(t.b)}function s(t){t=t.replace("#","");var e=u(t);return{r:l(e.r),g:l(e.g),b:l(e.b)}}function h(t){var e=f.round(t).toString(16).toUpperCase();return 1===e.length&&(e="0"+e),e}function u(t){var e=t.length,i={};return 3===e?(i.r=t[0],i.g=t[1],i.b=t[2]):(i.r=t.substring(0,2),i.g=t.substring(2,4),i.b=t.substring(4,6)),i}function l(t){return parseInt(t.toString(16),16)}function d(t){var e=0;return t&&(t=s(t),e=f.sqrt(.241*t.r*t.r+.691*t.g*t.g+.068*t.b*t.b)),e}function c(t){var e=f.pow(10,4);return f.round(t*e)/e}var f=Math,p=t.proxy,m=t.isArray,v=window.kendo,g=v.Class,_=v.ui.Widget,w=v.template,y=v.deepExtend,x=v.data.HierarchicalDataSource,b=v.getter,k=v.dataviz,C=".kendoTreeMap",S="change",z="dataBound",A="itemCreated",I=Number.MAX_VALUE,M="mouseover"+C,T="mouseleave"+C,H="undefined",B=_.extend({init:function(e,i){v.destroy(e),t(e).empty(),_.fn.init.call(this,e,i),this.wrapper=this.element,this._initTheme(this.options),this.element.addClass("k-widget k-treemap"),this._setLayout(),this._originalOptions=y({},this.options),this._initDataSource(),this._attachEvents(),v.notify(this,k.ui)},options:{name:"TreeMap",theme:"default",autoBind:!0,textField:"text",valueField:"value",colorField:"color"},events:[z,A],_initTheme:function(t){var e=this,i=k.ui.themes||{},n=((t||{}).theme||"").toLowerCase(),r=(i[n]||{}).treeMap;e.options=y({},r,t)},_attachEvents:function(){this.element.on(M,p(this._mouseover,this)).on(T,p(this._mouseleave,this)),this._resizeHandler=p(this.resize,this,!1),v.onResize(this._resizeHandler)},_setLayout:function(){"horizontal"===this.options.type?(this._layout=new L(!1),this._view=new N(this,this.options)):"vertical"===this.options.type?(this._layout=new L(!0),this._view=new N(this,this.options)):(this._layout=new F,this._view=new D(this,this.options))},_initDataSource:function(){var t=this,e=t.options,i=e.dataSource;t._dataChangeHandler=p(t._onDataChange,t),t.dataSource=x.create(i).bind(S,t._dataChangeHandler),i&&t.options.autoBind&&t.dataSource.fetch()},setDataSource:function(t){var e=this;e.dataSource.unbind(S,e._dataChangeHandler),e.dataSource=t.bind(S,e._dataChangeHandler),t&&e.options.autoBind&&e.dataSource.fetch()},_onDataChange:function(t){var e,i,n,r,o=t.node,a=t.items,s=this.options;if(o){if(a.length){for(n=this._getByUid(o.uid),n.children=[],a=new v.data.Query(a)._sortForGrouping(s.valueField,"desc"),i=0;a.length>i;i++)e=a[i],n.children.push(this._wrapItem(e));r=this._view.htmlSize(n),this._layout.compute(n.children,n.coord,r),this._setColors(n.children),this._view.render(n)}}else this._cleanItems(),this.element.empty(),e=this._wrapItem(a[0]),this._layout.createRoot(e,this.element.outerWidth(),this.element.outerHeight(),"vertical"===this.options.type),this._view.createRoot(e),this._root=e,this._colorIdx=0;for(i=0;a.length>i;i++)a[i].load();o&&this.trigger(z,{node:o})},_cleanItems:function(){var t=this;t.angular("cleanup",function(){return{elements:t.element.find(".k-leaf div,.k-treemap-title,.k-treemap-title-vertical")}})},_setColors:function(t){var e,i,o,a,s=this.options.colors,h=this._colorIdx,u=s[h%s.length];for(m(u)&&(e=r(u[0],u[1],t.length)),o=!1,a=0;t.length>a;a++)i=t[a],n(i.color)||(i.color=e?e[a]:u),i.dataItem.hasChildren||(o=!0);o&&this._colorIdx++},_contentSize:function(t){this.view.renderHeight(t)},_wrapItem:function(t){var e={};return n(this.options.valueField)&&(e.value=i(this.options.valueField,t)),n(this.options.colorField)&&(e.color=i(this.options.colorField,t)),n(this.options.textField)&&(e.text=i(this.options.textField,t)),e.level=t.level(),e.dataItem=t,e},_getByUid:function(t){for(var e,i=[this._root];i.length;){if(e=i.pop(),e.dataItem.uid===t)return e;e.children&&(i=i.concat(e.children))}},dataItem:function(e){var i=t(e).attr(v.attr("uid")),n=this.dataSource;return n&&n.getByUid(i)},findByUid:function(t){return this.element.find(".k-treemap-tile["+v.attr("uid")+"='"+t+"']")},_mouseover:function(e){var i=t(e.target);i.hasClass("k-leaf")&&(this._removeActiveState(),i.removeClass("k-state-hover").addClass("k-state-hover"))},_removeActiveState:function(){this.element.find(".k-state-hover").removeClass("k-state-hover")},_mouseleave:function(){this._removeActiveState()},destroy:function(){_.fn.destroy.call(this),this.element.off(C),this.dataSource&&this.dataSource.unbind(S,this._dataChangeHandler),this._root=null,v.unbindResize(this._resizeHandler),v.destroy(this.element)},items:function(){return t()},getSize:function(){return v.dimensions(this.element)},_resize:function(){var t,e,i=this._root;i&&(t=this.element,e=t.children(),i.coord.width=t.outerWidth(),i.coord.height=t.outerHeight(),e.css({width:i.coord.width,height:i.coord.height}),this._resizeItems(i,e))},_resizeItems:function(t,e){var i,n,r,o;if(t.children&&t.children.length)for(i=e.children(".k-treemap-wrap").children(),this._layout.compute(t.children,t.coord,{text:this._view.titleSize(t,e)}),o=0;t.children.length>o;o++)n=t.children[o],r=i.filter("["+v.attr("uid")+"='"+n.dataItem.uid+"']"),this._view.setItemSize(n,r),this._resizeItems(n,r)},setOptions:function(t){var i=t.dataSource;t.dataSource=e,this._originalOptions=y(this._originalOptions,t),this.options=y({},this._originalOptions),this._setLayout(),this._initTheme(this.options),_.fn._setEvents.call(this,t),i&&this.setDataSource(x.create(i)),this.options.autoBind&&this.dataSource.fetch()}}),F=g.extend({createRoot:function(t,e,i){t.coord={width:e,height:i,top:0,left:0}},leaf:function(t){return!t.children},layoutChildren:function(t,e){var i,n,r,o,a=e.width*e.height,s=0,h=[];for(i=0;t.length>i;i++)h[i]=parseFloat(t[i].value),s+=h[i];for(i=0;h.length>i;i++)t[i].area=a*h[i]/s;n=this.layoutHorizontal()?e.height:e.width,r=[t[0]],o=t.slice(1),this.squarify(o,r,n,e)},squarify:function(t,e,i,n){this.computeDim(t,e,i,n)},computeDim:function(t,i,n,r){var o,a,s;return t.length+i.length==1?(o=1==t.length?t:i,this.layoutLast(o,n,r),e):(t.length>=2&&0===i.length&&(i=[t[0]],t=t.slice(1)),0===t.length?(i.length>0&&this.layoutRow(i,n,r),e):(a=t[0],this.worstAspectRatio(i,n)>=this.worstAspectRatio([a].concat(i),n)?this.computeDim(t.slice(1),i.concat([a]),n,r):(s=this.layoutRow(i,n,r),this.computeDim(t,[],s.dim,s)),e))},layoutLast:function(t,e,i){t[0].coord=i},layoutRow:function(t,e,i){return this.layoutHorizontal()?this.layoutV(t,e,i):this.layoutH(t,e,i)},orientation:"h",layoutVertical:function(){return"v"===this.orientation},layoutHorizontal:function(){return"h"===this.orientation},layoutChange:function(){this.orientation=this.layoutVertical()?"h":"v"},worstAspectRatio:function(t,e){var i,n,r,o,a;if(!t||0===t.length)return I;for(i=0,n=0,r=I,o=0;t.length>o;o++)a=t[o].area,i+=a,r=a>r?r:a,n=n>a?n:a;return f.max(e*e*n/(i*i),i*i/(e*e*r))},compute:function(t,e,i){if(e.width>=e.height&&this.layoutHorizontal()||this.layoutChange(),t&&t.length>0){var n={width:e.width,height:e.height-i.text,top:0,left:0};this.layoutChildren(t,n)}},layoutV:function(t,e,i){var n,r,o,a=this._totalArea(t),s=0;for(e=c(a/e),n=0;t.length>n;n++)r=c(t[n].area/e),t[n].coord={height:r,width:e,top:i.top+s,left:i.left},s+=r;return o={height:i.height,width:i.width-e,top:i.top,left:i.left+e},o.dim=f.min(o.width,o.height),o.dim!=o.height&&this.layoutChange(),o},layoutH:function(t,e,i){var n,r,o=this._totalArea(t),a=c(o/e),s=i.top,h=0;for(n=0;t.length>n;n++)t[n].coord={height:a,width:c(t[n].area/a),top:s,left:i.left+h},h+=t[n].coord.width;return r={height:i.height-a,width:i.width,top:i.top+a,left:i.left},r.dim=f.min(r.width,r.height),r.dim!=r.width&&this.layoutChange(),r},_totalArea:function(t){var e,i=0;for(e=0;t.length>e;e++)i+=t[e].area;return i}}),D=g.extend({init:function(e,i){this.options=y({},this.options,i),this.treeMap=e,this.element=t(e.element),this.offset=0},titleSize:function(t,e){var i=e.children(".k-treemap-title");return i.height()},htmlSize:function(t){var e,i,n=this._getByUid(t.dataItem.uid),r={text:0};return t.children&&(this._clean(n),e=this._getText(t),e&&(i=this._createTitle(t),n.append(i),this._compile(i,t.dataItem),r.text=i.height()),n.append(this._createWrap()),this.offset=(n.outerWidth()-n.innerWidth())/2),r},_compile:function(t,e){this.treeMap.angular("compile",function(){return{elements:t,data:[{dataItem:e}]}})},_getByUid:function(t){return this.element.find(".k-treemap-tile["+v.attr("uid")+"='"+t+"']")},render:function(t){var e,i,n,r,o=this._getByUid(t.dataItem.uid),a=t.children;if(a)for(e=o.find(".k-treemap-wrap"),i=0;a.length>i;i++)n=a[i],r=this._createLeaf(n),e.append(r),this._compile(r.children(),n.dataItem),this.treeMap.trigger(A,{element:r})},createRoot:function(t){var e=this._createLeaf(t);this.element.append(e),this._compile(e.children(),t.dataItem),this.treeMap.trigger(A,{element:e})},_clean:function(t){this.treeMap.angular("cleanup",function(){return{elements:t.children(":not(.k-treemap-wrap)")}}),t.css("background-color",""),t.removeClass("k-leaf"),t.removeClass("k-inverse"),t.empty()},_createLeaf:function(e){return this._createTile(e).css("background-color",e.color).addClass("k-leaf").toggleClass("k-inverse",this._tileColorBrightness(e)>180).append(t("<div></div>").html(this._getText(e)))},_createTile:function(e){var i=t("<div class='k-treemap-tile'></div>");return this.setItemSize(e,i),n(e.dataItem)&&n(e.dataItem.uid)&&i.attr(v.attr("uid"),e.dataItem.uid),i},_itemCoordinates:function(t){var e={width:t.coord.width,height:t.coord.height,left:t.coord.left,top:t.coord.top};return e.width+=e.left&&this.offset?2*this.offset:this.offset,e.height+=e.top?2*this.offset:this.offset,e},setItemSize:function(t,e){var i=this._itemCoordinates(t);e.css({width:i.width,height:i.height,left:i.left,top:i.top})},_getText:function(t){var e=t.text;return this.options.template&&(e=this._renderTemplate(t)),e},_renderTemplate:function(t){var e=w(this.options.template);return e({dataItem:t.dataItem,text:t.text})},_createTitle:function(e){return t("<div class='k-treemap-title'></div>").append(t("<div></div>").html(this._getText(e)))},_createWrap:function(){return t("<div class='k-treemap-wrap'></div>")},_tileColorBrightness:function(t){return d(t.color)}}),L=g.extend({createRoot:function(t,e,i,n){t.coord={width:e,height:i,top:0,left:0},t.vertical=n},init:function(t){this.vertical=t,this.quotient=t?1:0},compute:function(t,e,i){var n,r,o;t.length>0&&(n=e.width,r=e.height,this.vertical?r-=i.text:n-=i.text,o={width:n,height:r,top:0,left:0},this.layoutChildren(t,o))},layoutChildren:function(t,e){var i,n,r=e.width*e.height,o=0,a=[];for(i=0;t.length>i;i++)n=t[i],a[i]=parseFloat(t[i].value),o+=a[i],n.vertical=this.vertical;for(i=0;a.length>i;i++)t[i].area=r*a[i]/o;this.sliceAndDice(t,e)},sliceAndDice:function(t,e){var i=this._totalArea(t);t[0].level%2===this.quotient?this.layoutHorizontal(t,e,i):this.layoutVertical(t,e,i)},layoutHorizontal:function(t,e,i){var n,r,o,a=0;for(n=0;t.length>n;n++)r=t[n],o=r.area/(i/e.width),r.coord={height:e.height,width:o,top:e.top,left:e.left+a},a+=o},layoutVertical:function(t,e,i){var n,r,o,a=0;for(n=0;t.length>n;n++)r=t[n],o=r.area/(i/e.height),r.coord={height:o,width:e.width,top:e.top+a,left:e.left},a+=o},_totalArea:function(t){var e,i=0;for(e=0;t.length>e;e++)i+=t[e].area;return i}}),N=D.extend({htmlSize:function(t){var e,i,n=this._getByUid(t.dataItem.uid),r={text:0,offset:0};return t.children&&(this._clean(n),e=this._getText(t),e&&(i=this._createTitle(t),n.append(i),this._compile(i,t.dataItem),r.text=t.vertical?i.height():i.width()),n.append(this._createWrap()),this.offset=(n.outerWidth()-n.innerWidth())/2),r},titleSize:function(t,e){var i;return i=t.vertical?e.children(".k-treemap-title").height():e.children(".k-treemap-title-vertical").width()},_createTitle:function(e){var i;return i=t(e.vertical?"<div class='k-treemap-title'></div>":"<div class='k-treemap-title-vertical'></div>"),i.append(t("<div></div>").html(this._getText(e)))}});k.ui.plugin(B)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,i){(i||e)()});
  //# sourceMappingURL=kendo.dataviz.treemap.min.js.map
  