Files
Nuvolar/Nuvolar.Scanner.Android.Shared/js/dx.all.js
T
2017-03-08 11:21:27 +01:00

91 lines
2.5 MiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*!
* DevExtreme (dx.all.js)
* Version: 16.1.5
* Build date: Mon Jul 25 2016
*
* Copyright (c) 2012 - 2016 Developer Express Inc. ALL RIGHTS RESERVED
* EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml
*/
"use strict";!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(586)},function(e,t){e.exports=jQuery},function(e,t,n){var i;i=function(e,t,i){var o,a=n(1),r=n(34),s=function(e){return null!==e&&void 0!==e},l=function(e){return"string"===a.type(e)},c=function(e){return"number"==typeof e&&isFinite(e)||a.isNumeric(e)},d=function(e){return"object"===a.type(e)},u=function(e){return"array"===a.type(e)},h=function(e){return"date"===a.type(e)},p=function(e){return"boolean"===a.type(e)},f=function(e){return"function"===a.type(e)},_=function(e){return-1===a.inArray(a.type(e),["object","array","function"])},g=function(e){return c(e)&&-1!==e.toString().indexOf("e")},m=function(e,t){return s(e)?e:t},v=function(e){var t=e||r().rtlEnabled;return t?"right":"left"},x=function(e,t){var n,i=a.Deferred(),o=t||this,r={promise:i.promise(),abort:function(){clearTimeout(n),i.rejectWith(o)}},s=function(){var t=e.call(o);t&&t.done&&a.isFunction(t.done)?t.done(function(){i.resolveWith(o)}):i.resolveWith(o)};return n=(arguments[2]||setTimeout)(s,"number"==typeof t?t:0),r},w=[],y=[],b=[],C=function(e,t,n){if(o&&o!==e)return w.push(t),y.push(e),n=n||a.Deferred(),b.push(n),n;var i=o,r=b.length;o=e;var s=t();return s||(b.length>r?s=a.when.apply(a,b.slice(r)):n&&n.resolve()),o=i,n&&s&&s.done&&s.done(n.resolve).fail(n.reject),!o&&w.length&&("render"===y.shift()?k:S)(w.shift(),b.shift()),s},k=function(e,t){return C("render",e,t)},S=function(e,t){return C("update",e,t)},T=function(e){return function(){var t=this;return C("render",function(){return e.call(t)})}},I=function(e){return function(){var t=this;return C("update",function(){return e.call(t)})}},D=function(e,t,n){var i=[],o=0;return a.each(t,function(t,r){var s=0,l=n?n(r):r;a.each(e,function(e,t){var n=l[e];if(void 0!==n)return E(n,t)?void s++:(s=-1,!1)}),o>s||(s>o&&(i.length=0,o=s),i.push(r))}),i},E=function(e,t){if(a.isArray(e)&&a.isArray(t)){var n=!1;return a.each(e,function(e,i){return i!==t[e]?(n=!0,!1):void 0}),!n}return e===t},A=function(e){switch(typeof e){case"string":return e.split(/\s+/,2);case"object":return[e.x||e.h,e.y||e.v];case"number":return[e];default:return e}},B=function(e){switch(typeof e){case"string":return e.split(/\s+/,4);case"object":return[e.x||e.h||e.left,e.y||e.v||e.top,e.x||e.h||e.right,e.y||e.v||e.bottom];case"number":return[e];default:return e}},M=function(e){var t=l(e)?e:e.toString(),n=t.match(/[^a-zA-Z0-9]/g);return n&&a.each(n,function(e,n){t=t.replace(n,"_"+n.charCodeAt()+"_")}),t};t.isDefined=s,t.isString=l,t.isNumber=c,t.isObject=d,t.isArray=u,t.isDate=h,t.isBoolean=p,t.isFunction=f,t.isPrimitive=_,t.isExponential=g,t.ensureDefined=m,t.executeAsync=x,t.deferRender=k,t.deferRenderer=T,t.deferUpdate=S,t.deferUpdater=I,t.splitPair=A,t.splitQuad=B,t.findBestMatches=D,t.getDefaultAlignment=v,t.normalizeKey=M}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=n(135),s=new r,l=function(e,t,n){n?t[e]=n:n=t,n.publicName(e),s.fire(e,n)};l.callbacks=s;var c=function(e,t){o.fn[e]=function(n){var i,r="string"==typeof n;if(r){var s=n,l=o.makeArray(arguments).slice(1);this.each(function(){var n=t.getInstance(this);if(!n)throw a.Error("E0009",e);var o=n[s],r=o.apply(n,l);void 0===i&&(i=r)})}else this.each(function(){var e=t.getInstance(this);e?e.option(n):new t(this,n)}),i=this;return i}};s.add(c),i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=o.event,s=r.fixHooks,l=function(){var e={dx:/^dx/i,mouse:/(mouse|wheel)/i,touch:/^touch/i,keyboard:/^key/i,pointer:/^(ms)?pointer/i};return function(t){var n="other";return o.each(e,function(e){return this.test(t.type)?(n=e,!1):void 0}),n}}(),c=function(e){return"dx"===l(e)},d=function(e){return"mouse"===l(e)},u=function(e){return"touch"===l(e)},h=function(e){return"pointer"===l(e)},p=function(e){return d(e)||(h(e)||c(e))&&"mouse"===e.pointerType},f=function(e){return u(e)||(h(e)||c(e))&&"touch"===e.pointerType},_=function(e){return"keyboard"===l(e)},g=function(e){return 0===e.screenX&&!e.offsetX&&0===e.pageX},m=function(e){return{x:e.pageX,y:e.pageY,time:e.timeStamp}},v=function(e,t){return{x:t.x-e.x,y:t.y-e.y,time:t.time-e.time||1}},x=function(e){return u(e)?(e.originalEvent.touches||[]).length:c(e)?(e.pointers||[]).length:0},w=function(e){var t=o(e.target),n=t.is("input, textarea, select");return t.is(".dx-skip-gesture-event *, .dx-skip-gesture-event")?!0:"dxmousewheel"===e.type?t.is("input[type='number'], textarea, select")&&t.is(":focus"):p(e)?n||e.which>1:f(e)?n&&t.is(":focus"):void 0},y=function(e,t){for(var n=o.Event(e),i=s[e.type]||r.mouseHooks,a=i.props?r.props.concat(i.props):r.props,l=a.length;l--;){var c=a[l];n[c]=e[c]}return t&&o.extend(n,t),i.filter?i.filter(n,e):n},b=function(e){var t=y(e.originalEvent,e);return r.trigger(t,null,e.delegateTarget||t.target),t},C=function(e,t){if(!t)throw a.Error("E0017");return"string"==typeof e?-1===e.indexOf(" ")?e+"."+t:C(e.split(/\s+/g),t):(o.each(e,function(n,i){e[n]=i+"."+t}),e.join(" "))};i.exports={eventSource:l,isPointerEvent:h,isMouseEvent:p,isTouchEvent:f,isKeyboardEvent:_,isFakeClickEvent:g,hasTouches:x,eventData:m,eventDelta:v,needSkipEvent:w,createEvent:y,fireEvent:b,addNamespace:C}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(10),a=function(e,t,n){return function(){var i=this.callBase;this.callBase=e[t];try{return n.apply(this,arguments)}finally{this.callBase=i}}},r=function(e){var t=function(){};return t.prototype=e.prototype,new t},s=function(e){var t,n,i,o=this;if(!e)return o;for(n in e)i=e[n],t="function"==typeof o.prototype[n]&&"function"==typeof i,o.prototype[n]=t?a(o.parent.prototype,n,i):i;return o},l=function(){var e,t,n,i=this;for(n=0;n<arguments.length;n++){e=arguments[n],e.ctor&&i._includedCtors.push(e.ctor),e.postCtor&&i._includedPostCtors.push(e.postCtor);for(t in e)if("ctor"!==t&&"postCtor"!==t){if(t in i.prototype)throw o.Error("E0002",t);i.prototype[t]=e[t]}}return i},c=function(e){return this.parent===e?!0:this.parent&&this.parent.subclassOf?this.parent.subclassOf(e):!1},d=function(){throw o.Error("E0001")},u=function(){var e=Object.prototype.hasOwnProperty;return function(t,n){for(var i in t){if(!e.call(t,i))return;n[i]=t[i]}}}(),h=function(){};h.inherit=function(e){var t=function(){if(!this||this===window||"function"!=typeof this.constructor)throw o.Error("E0003");var e,t=this,n=t.ctor,i=t.constructor._includedCtors,a=t.constructor._includedPostCtors;for(e=0;e<i.length;e++)i[e].call(t);for(n&&n.apply(t,arguments),e=0;e<a.length;e++)a[e].call(t)};return t.prototype=r(this),u(this,t),t.inherit=this.inherit,t.abstract=d,t.redefine=s,t.include=l,t.subclassOf=c,t.parent=this,t._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],t._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],t.prototype.constructor=t,t.redefine(e),t},h.abstract=d,i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(10),s=n(57).resizeCallbacks,l=n(32),c=n(122).sessionStorage,d=n(51),u=n(34),h={iPhone:"iPhone",iPhone5:"iPhone",iPhone6:"iPhone",iPhone6plus:"iPhone",iPad:"iPad",iPadMini:"iPad Mini",androidPhone:"Android Mobile",androidTablet:"Android",win8:"MSAppHost",win8Phone:"Windows Phone 8.0",msSurface:"MSIE ARM Tablet PC",desktop:"desktop",win10Phone:"Windows Phone 10.0",win10:"MSAppHost/3.0"},p={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:!1,android:!1,ios:!1,win:!1,generic:!0,grade:"A",mac:!1},f={win:function(e){var t=/windows phone/i.test(e)||e.match(/WPDesktop/),n=!t&&/arm(.*)trident/i.test(e),i=!t&&!n&&/msapphost/i.test(e);if(t||n||i){var o=e.match(/windows phone (\d+).(\d+)/i)||e.match(/windows nt (\d+).(\d+)/i),a=[];return o?a.push(parseInt(o[1],10),parseInt(o[2],10)):(o=e.match(/msapphost(\/(\d+).(\d+))?/i),o&&a.push(3===parseInt(o[2],10)?10:8)),{deviceType:t?"phone":n?"tablet":"desktop",platform:"win",version:a,grade:"A"}}},ios:function(e){if(/ip(hone|od|ad)/i.test(e)){var t=/ip(hone|od)/i.test(e),n=e.match(/os (\d+)_(\d+)_?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],o=480===window.screen.height,a=o?"B":"A";return{deviceType:t?"phone":"tablet",platform:"ios",version:i,grade:a}}},android:function(e){if(/android|htc_|silk/i.test(e)){var t=/mobile/i.test(e),n=e.match(/android (\d+)\.(\d+)\.?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],o=i.length>1&&(i[0]<4||4===i[0]&&i[1]<4),a=o?"B":"A";return{deviceType:t?"phone":"tablet",platform:"android",version:i,grade:a}}}},_=a.inherit({ctor:function(e){this._window=e&&e.window||window,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this.changed=o.Callbacks(),this._recalculateOrientation(),s.add(o.proxy(this._recalculateOrientation,this))},current:function(e){if(e)return this._currentDevice=this._getDevice(e),this._forced=!0,this.changed.fire(),void("win"===this._currentDevice.platform&&8===this._currentDevice.version[0]&&r.log("W0010","the 'win8' theme","16.1","Use the 'win10' theme instead."));if(!this._currentDevice){e=void 0;try{e=this._getDeviceOrNameFromWindowScope()}catch(t){e=this._getDeviceNameFromSessionStorage()}finally{e||(e=this._getDeviceNameFromSessionStorage()),e&&(this._forced=!0)}this._currentDevice=this._getDevice(e)}return this._currentDevice},real:function(){return o.extend({},this._realDevice)},orientation:function(){return this._currentOrientation},isForced:function(){return this._forced},isRippleEmulator:function(){return!!this._window.tinyHippos},_getCssClasses:function(e){var t=[],n=this._realDevice;return e=e||this.current(),e.deviceType&&(t.push("dx-device-"+e.deviceType),"desktop"!==e.deviceType&&t.push("dx-device-mobile")),t.push("dx-device-"+n.platform),n.version&&n.version.length&&t.push("dx-device-"+n.platform+"-"+n.version[0]),g.isSimulator()&&t.push("dx-simulator"),u().rtlEnabled&&t.push("dx-rtl"),t},attachCssClasses:function(e,t){this._deviceClasses=this._getCssClasses(t).join(" "),o(e).addClass(this._deviceClasses)},detachCssClasses:function(e){o(e).removeClass(this._deviceClasses)},isSimulator:function(){try{return this._isSimulator||this._window.top!==this._window.self&&this._window.top["dx-force-device"]||this.isRippleEmulator()}catch(e){return!1}},forceSimulator:function(){this._isSimulator=!0},_getDevice:function(e){if("genericPhone"===e&&(e={deviceType:"phone",platform:"generic",generic:!0}),o.isPlainObject(e))return this._fromConfig(e);var t;if(e){if(t=h[e],!t)throw r.Error("E0005")}else t=navigator.userAgent;return this._fromUA(t)},_getDeviceOrNameFromWindowScope:function(){var e;return(this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"])&&(e=this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"]),e},_getDeviceNameFromSessionStorage:function(){var e=c();if(e){var t=e.getItem("dx-force-device");try{return o.parseJSON(t)}catch(e){return t}}},_fromConfig:function(e){var t=o.extend({},p,this._currentDevice,e),n={phone:"phone"===t.deviceType,tablet:"tablet"===t.deviceType,android:"android"===t.platform,ios:"ios"===t.platform,win:"win"===t.platform,generic:"generic"===t.platform};return o.extend(t,n)},_fromUA:function(e){var t;if(o.each(f,function(n,i){return t=i(e),!t}),t)return this._fromConfig(t);var n=/(mac os)/.test(e.toLowerCase()),i=p;return i.mac=n,i},_changeOrientation:function(){var e=o(this._window),t=e.height()>e.width()?"portrait":"landscape";this._currentOrientation!==t&&(this._currentOrientation=t,this.fireEvent("orientationChanged",[{orientation:t}]))},_recalculateOrientation:function(){var e=o(this._window).width();this._currentWidth!==e&&(this._currentWidth=e,this._changeOrientation())}}).include(l),g=new _;d.changeCallback.add(function(e,t){g.detachCssClasses(t),g.attachCssClasses(e)}),g.isForced()||"win"!==g.current().platform||g.current({version:[10]}),i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){for(var n,i=0,o=e.length,a=[];o>i;)n=t(e[i],i),null!==n&&a.push(n),i++;return a}function a(e,t){return o(t,function(t){return e[t]?e[t]:null})}function r(e,t,n,i){var o=i;return g(t,function(t,i){e[i]&&(e[i]-=n,o-=n)}),o}function s(e){return String(e).toLowerCase()}function l(e){e&&(e.originalTop=e.top,e.originalBottom=e.bottom,e.originalLeft=e.left,e.originalRight=e.right)}function c(e){return e>-b&&+b>e?e:0}function d(e){var t=c(E(e.x)),n=c(E(e.y)),i=c(A(e.width+e.x)),o=c(A(e.height+e.y)),a={x:t,y:n,width:i-t,height:o-n};return a.isEmpty=!(a.x||a.y||a.width||a.height),a}function u(e,t,n){var i=O(S(n*C).toFixed(3)),o=O(T(n*C).toFixed(3)),a=e.width/2,r=e.height/2,s=e.x+a,l=e.y+r,c=I(a*i)+I(r*o),u=I(a*o)+I(r*i),h=t[0]+(s-t[0])*i+(l-t[1])*o,p=t[1]-(s-t[0])*o+(l-t[1])*i;return d({x:h-c,y:p-u,width:2*c,height:2*u})}var h=n(1),p=n(2),f=p.isDefined,_=h.inArray,g=h.each,m=Math,v=m.round,x=Math.sqrt,w=h.extend,y=Math.PI,b=1e10,C=y/180,k=Math.LN10,S=Math.cos,T=Math.sin,I=Math.abs,D=Math.log,E=Math.floor,A=Math.ceil,B=Math.max,M=window.isNaN,O=window.Number,P=window.NaN,R=p.isNumber,V=p.isExponential,F=function(e){var t,n,i,o=e.toString(),a=o.indexOf(".");return V(e)?(i=j(e),0>i?Math.abs(i):0):-1!==a?(n=a+1,t=o.substring(n,n+20),t.length):0},L=function(e,t){return e?Math.log(e)/Math.log(t):P},H=function(e,t){return Math.pow(t,e)},z=function(e){return(e%360+360)%360},N=function(e){return 90-e},W=function(e){return y*e/180},G=function(e){var t=W(e);return{cos:S(t),sin:T(t)}},$=1e-14,q=function(e,t,n,i){var o=n-e,a=i-t;return Math.sqrt(a*a+o*o)},j=function(e){var t,n=I(e);return M(n)?P:n>0?(n=D(n)/k,t=A(n),$>t-n?t:E(n)):0},U=function(e,t,n){var i,o=B(j(e),j(t)),a=-j(I(t-e)/n);return M(o)||M(a)?null:(I(o)<=4?(i="fixedPoint",0>a&&(a=0),a>4&&(a=4)):(i="exponential",a+=o-1,a>3&&(a=3)),{type:i,precision:a})},K=function(e){var t,n;return R(e)&&(t=e.toString(),n=t.indexOf("."),n>=0)?V(e)?t.substr(n+1,t.indexOf("e")-n-1):(t=e.toFixed(20),t.substr(n+1,t.length-n+1)):""},Y=function(e){var t,n=K(e);if(n)for(t=0;t<n.length;t++)if("0"!==n.charAt(t))return t+1;return 0},X=function(e){var t,n,i=K(e);if(i)for(n=1;n<=i.length;n++)if(t=Q(e,n),0!==t&&i[n-2]&&i[n-1]&&i[n-2]===i[n-1])return t;return e},Q=function(e,t){return t>20&&(t=20),R(e)?O(V(e)?e.toExponential(t):e.toFixed(t)):void 0},Z=function(e,t,n){var i=F(e),o=F(t);return Q(n,o>i?o:i)},J=function(e){return e.toExponential().split("e")[1]};h.extend(t,{decreaseGaps:function(e,t,n){var i;do i=a(e,t),i.push(m.ceil(n/i.length)),n=r(e,t,m.min.apply(null,i),n);while(n>0&&i.length>1);return n},normalizeEnum:s,parseScalar:function(e,t){return void 0!==e?e:t},enumParser:function(e){var t,n,i={};for(t=0,n=e.length;n>t;++t)i[s(e[t])]=1;return function(e,t){var n=s(e);return i[n]?n:t}},patchFontOptions:function(e){var t={};return g(e||{},function(e,n){/^(cursor|opacity)$/i.test(e)||(e="color"===e?"fill":"font-"+e),t[e]=n}),t},convertPolarToXY:function(e,t,n,i){var o,a=90;return n=f(n)?n+t-a:0,o=G(n),{x:v(e.x+i*o.cos),y:v(e.y+i*o.sin)}},convertXYToPolar:function(e,t,n){var i=q(e.x,e.y,t,n),o=m.atan2(n-e.y,t-e.x);return{phi:v(z(180*o/m.PI)),r:v(i)}},processSeriesTemplate:function(e,t){var n,i,a,r=p.isFunction(e.customizeSeries)?e.customizeSeries:h.noop,s=e.nameField||"series",l={},c=[],d=0;for(i=t.length;i>d;d++)a=t[d],s in a&&(n=l[a[s]],n||(n=l[a[s]]={name:a[s],data:[]},c.push(n.name)),n.data.push(a));return o(c,function(e){var t=l[e];return h.extend(t,r.call(null,t.name))})},getCategoriesInfo:function(e,t,n){if(!(e&&e.length>0))return{};t=f(t)?t:e[0],n=f(n)?n:e[e.length-1];var i,a,r,s,l=o(e,function(e){return f(e)?e.valueOf():null}),c=f(t)?_(t.valueOf(),l):0,d=f(n)?_(n.valueOf(),l):e.length-1,u=!1;return 0>c&&(c=0),0>d&&(d=e.length-1),c>d&&(a=d,d=c,c=a,u=!0),i=e.slice(c,d+1),s=i.length,r=s>0,{categories:r?i:null,start:r?i[u?s-1:0]:null,end:r?i[u?0:s-1]:null,inverted:u}},setCanvasValues:l,updatePanesCanvases:function(e,t,n){var i=0;g(e,function(e,t){t.weight=t.weight||1,i+=t.weight});var o=0,a=e.padding||10,r=n?t.width-t.left-t.right:t.height-t.top-t.bottom,s=(r-a*(e.length-1))/i,c=n?"left":"top",d=n?"right":"bottom";g(e,function(e,n){var i=v(n.weight*s);n.canvas=n.canvas||{},w(n.canvas,{deltaLeft:0,deltaRight:0,deltaTop:0,deltaBottom:0},t),n.canvas[c]=t[c]+o,n.canvas[d]=t[d]+(r-i-o),o=o+i+a,l(n.canvas)})},unique:function(e){var t={};return o(e,function(e){var n=t[e]?null:e;return t[e]=!0,n})},map:o,getVerticallyShiftedAngularCoords:function(e,t,n){var i=e.x+e.width/2>=n.x,o=(i?e.x:e.x+e.width)-n.x,a=e.y-n.y,r=a+t,s=v(x(o*o+a*a-r*r)),l=(i?+s:-s)||o;return{x:n.x+(i?l:l-e.width),y:e.y+t}}}),t.getPrecision=F,t.getLog=L,t.raiseTo=H,t.normalizeAngle=z,t.convertAngleToRendererSpace=N,t.degreesToRadians=W,t.getCosAndSin=G,t.getDecimalOrder=j,t.getAppropriateFormat=U,t.getDistance=q,t.getFraction=K,t.adjustValue=X,t.roundValue=Q,t.applyPrecisionByMinDelta=Z,t.getSignificantDigitPosition=Y,t.getPower=J,t.rotateBBox=u,t.normalizeBBox=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(75),r=n(26).format,s=n(29).humanize;n(210);var l=o.extend(!0,{},n(296),n(297),n(298),n(299)),c={},d=a({_dictionary:l,locale:function(){var e="en";return function(t){return t?void(e=t):e}}(),load:function(e){o.extend(!0,this._dictionary,e)},_localizablePrefix:"@",setup:function(e){this._localizablePrefix=e},localizeString:function(e){var t=this,n=new RegExp("(^|[^a-zA-Z_0-9"+t._localizablePrefix+"-]+)("+t._localizablePrefix+"{1,2})([a-zA-Z_0-9-]+)","g"),i=t._localizablePrefix+t._localizablePrefix;return e.replace(n,function(e,n,o,a){var r,l=t._localizablePrefix+a;return o!==i&&(r=t.format(a)),r||(c[a]=s(a)),n+(r||l)})},_messageLoaded:function(e,t){return void 0!==this._dictionary[t||this.locale()][e]},localizeNode:function(e){var t=this;o(e).each(function(e,n){n.nodeType&&(3===n.nodeType?n.nodeValue=t.localizeString(n.nodeValue):o(n).is("iframe")||(o.each(n.attributes||[],function(e,n){if("string"==typeof n.value){var i=t.localizeString(n.value);n.value!==i&&(n.value=i)}}),o(n).contents().each(function(e,n){t.localizeNode(n)})))})},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(e){return e?c:o.extend({},c,this.getMessagesByLocales()[this.locale()])},getFormatter:function(e,t){var n=this._dictionary[t||this.locale()],i=n&&n[e];return i?function(){var e=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return e.unshift(i),r.apply(this,e)}:void 0},format:function(e){var t=this.getFormatter(e);return t&&t()||""}});i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(11),s=n(74),l=n(4),c=n(13),d=n(77),u=n(60),h="dxclick",p=10,f=Math.abs,_=function(e){return o(e).is("input, textarea, select, button ,:focus, :focus *")},g={requestAnimationFrame:s.requestAnimationFrame},m=d.inherit({ctor:function(e){this.callBase(e),this._makeElementClickable(o(e))},_makeElementClickable:function(e){e.attr("onclick")||e.attr("onclick","void(0)")},start:function(e){this._blurPrevented=e.isDefaultPrevented(),this._startTarget=e.target,this._startEventData=l.eventData(e)},end:function(e){return this._eventOutOfElement(e,this.getElement().get(0))||e.type===c.cancel?void this._cancel(e):(_(e.target)||this._blurPrevented||r.resetActiveElement(),this._accept(e),void g.requestAnimationFrame(o.proxy(function(){this._fireClickEvent(e)},this)))},_eventOutOfElement:function(e,t){var n=e.target,i=!o.contains(t,n)&&t!==n,a=l.eventDelta(l.eventData(e),this._startEventData),r=f(a.x)>p||f(a.y)>p;return i||r},_fireClickEvent:function(e){this._fireEvent(h,e,{target:r.closestCommonParent(this._startTarget,e.target)})}});!function(){function e(e){return n||o(e.target).closest("."+t).length}var t="dx-native-click",n=a.real().generic,i=null;m=m.inherit({configurate:function(e){this.callBase(e),e.useNative&&this.getElement().addClass(t)},start:function(t){i=null,e(t)||this.callBase(t)},end:function(t){e(t)||this.callBase(t)},cancel:function(){i=!0}});var r=function(t){t.which&&1!==t.which||i||!e(t)||l.fireEvent({type:h,originalEvent:t})};o(document).on(l.addNamespace("click","NATIVE_DXCLICK_STRATEGY"),r)}(),function(){var e=a.real().generic;if(!e){var t=null,n=!1,i=function(e){t=e.target,n=e.isDefaultPrevented()},s=function(e){var i=o(e.target);n||!t||i.is(t)||o(t).is("label")||!_(i)||r.resetActiveElement(),t=null,n=!1},d="NATIVE_CLICK_FIXER";o(document).on(l.addNamespace(c.down,d),i).on(l.addNamespace("click",d),s)}}(),u({emitter:m,bubble:!0,events:[h]}),t.name=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(88);i.exports=o({E0001:"Method is not implemented",E0002:"Member name collision: {0}",E0003:"A class must be instantiated using the 'new' keyword",E0004:"The NAME property of the component is not specified",E0005:"Unknown device",E0006:"Unknown endpoint key is requested",E0007:"'Invalidate' method is called outside the update transaction",E0008:"Type of the option name is not appropriate to create an action",E0009:"Component '{0}' has not been initialized for an element",E0010:"Animation configuration with the '{0}' type requires '{1}' configuration as {2}",E0011:"Unknown animation type '{0}'",E0012:"jQuery version is too old. Please upgrade jQuery to 1.10.0 or later",E0013:"KnockoutJS version is too old. Please upgrade KnockoutJS to 2.3.0 or later",E0014:"The 'release' method shouldn't be called for an unlocked Lock object",E0015:"Queued task returned an unexpected result",E0017:"Event namespace is not defined",E0018:"DevExpress.ui.DevExpressPopup widget is required",E0020:"Template engine '{0}' is not supported",E0021:"Unknown theme is set: {0}",E0022:"LINK[rel=DevExpress-theme] tags must go before DevExpress included scripts",E0023:"Template name is not specified",E0100:"Unknown validation type is detected",E0101:"Misconfigured range validation rule is detected",E0102:"Misconfigured comparison validation rule is detected",E0110:"Unknown validation group is detected",E0120:"Adapter for a DevExpressValidator component cannot be configured",E0121:"The onCustomItemCreating action should return an item or Promise of jQuery Deferred object resolved when an item is created",E4016:"The compileSetter(expr) method is called with 'self' passed as a parameter",W0000:"'{0}' is deprecated in {1}. {2}",W0001:"{0} - '{1}' option is deprecated in {2}. {3}",W0002:"{0} - '{1}' method is deprecated in {2}. {3}",W0003:"{0} - '{1}' property is deprecated in {2}. {3}",W0004:"Timeout for theme loading is over: {0}",W0005:"'{0}' event is deprecated in {1}. {2}",W0006:"Invalid recurrence rule: '{0}'",W0008:"Invalid view name: '{0}'",W0009:"Invalid time zone name: '{0}'",W0010:"{0} is deprecated in {1}. {2}",W0011:"Number parsing is invoked while the parser is not defined",W0012:"Date parsing is invoked while the parser is not defined"})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=n(2),s=function(){var e=document.activeElement;e&&e!==document.body&&e.blur&&e.blur()},l=function(){return window.getSelection?window.getSelection():document.selection?document.selection:null},c=function(){var e=l();e&&"Caret"!==e.type&&(e.empty?e.empty():e.removeAllRanges&&e.removeAllRanges())},d=function(e,t){for(var n=o(e).parents().addBack(),i=o(t).parents().addBack(),a=Math.min(n.length,i.length)-1,r=a;r>=0;r--)if(n.eq(r).is(i.eq(r)))return n.get(r)},u=function(e){var t=".dx-visibility-change-handler";return function(n){var i=o(n||"body"),a=i.find(t).add(i.filter(t));a.each(function(){o(this).triggerHandler(e)})}},h=function(){var e=0;return function(t){return(t||"")+e++}}(),p="data-options",f=function(e){var t,n=o(e).attr(p);"{"!==o.trim(n).charAt(0)&&(n="{"+n+"}");try{t=new Function("return "+n)()}catch(e){throw a.Error("E3018",e,n)}return t},_=function(e,t){var n=[],i="["+p+"]";return e.find(i).addBack(i).each(function(e,i){var a=o(i),r=f(i);for(var s in r)(!t||o.inArray(s,t)>-1)&&a[s]&&(a[s](r[s]),n.push(a[s]("instance")))}),n},g=function(e){if(!window.WinJS)return o(e);var t=o("<div />");return window.WinJS.Utilities.setInnerHTMLUnsafe(t.get(0),e),t.contents()},m=function(e){var t=r.isDefined(e)&&(e.nodeType||e.jquery)?o(e):o("<div>").html(e).contents();return 1===t.length&&t.is("script")&&(t=m(t.html())),t},v=function(e,t,n){n?e.attr(t,n):e.removeAttr(t)},x=function(e,t){var n=e.originalEvent&&e.originalEvent.clipboardData||window.clipboardData;return 1===arguments.length?n&&n.getData("Text"):void(n&&n.setData("Text",t))};t.resetActiveElement=s,t.createMarkupFromString=g,t.triggerShownEvent=u("dxshown"),t.triggerHidingEvent=u("dxhiding"),t.triggerResizeEvent=u("dxresize"),t.getElementOptions=f,t.createComponents=_,t.normalizeTemplateElement=m,t.clearSelection=c,t.getSelection=l,t.uniqueId=h,t.closestCommonParent=d,t.clipboardText=x,t.toggleAttr=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return b[y(e)]||""}function a(e,t,n){var i=new Date(e.getTime()),o=d(t)?H(t.toLowerCase()):t;return o.years&&i.setFullYear(i.getFullYear()+o.years*n),o.quarters&&i.setMonth(i.getMonth()+3*o.quarters*n),o.months&&i.setMonth(i.getMonth()+o.months*n),o.weeks&&i.setDate(i.getDate()+7*o.weeks*n),o.days&&i.setDate(i.getDate()+o.days*n),o.hours&&i.setHours(i.getHours()+o.hours*n),o.minutes&&i.setMinutes(i.getMinutes()+o.minutes*n),o.seconds&&i.setSeconds(i.getSeconds()+o.seconds*n),o.milliseconds&&i.setMilliseconds(e.getMilliseconds()+o.milliseconds*n),i}var r=n(1),s=n(2),l=n(29),c=s.isObject,d=s.isString,u=s.isDate,h=s.isDefined,p=l.camelize,f=["millisecond","second","minute","hour","day","week","month","quarter","year"],_=function(e){switch(e){case"millisecond":return 1;case"second":return 1e3*_("millisecond");case"minute":return 60*_("second");case"hour":return 60*_("minute");case"day":return 24*_("hour");case"week":return 7*_("day");case"month":return 30*_("day");case"quarter":return 3*_("month");case"year":return 365*_("day");default:return 0}},g=function(e,t,n){var i=t.getTime()-e.getTime(),o=_(n)||1;return Math.floor(i/o)},m=function(e,t){var n=y(e);switch(n){case"millisecond":return"second";case"second":return"minute";case"minute":return"hour";case"hour":return"day";case"day":return t?"week":"month";case"week":return"month";case"month":return"quarter";case"quarter":return"year";case"year":return"year";default:return 0}},v=function(e){var t,n,i,o=["millisecond","second","minute","hour","day","month","year"],a={};for(t=o.length-1;t>=0;t--)i=o[t],n=Math.floor(e/_(i)),n>0&&(a[i+"s"]=n,e-=w(i,n));return a},x=function(e){var t=0;return c(e)&&r.each(e,function(e,n){t+=w(e.substr(0,e.length-1),n)}),d(e)&&(t=w(e,1)),t},w=function(e,t){return _(e)*t},y=function(e){var t,n=-1;return d(e)?e:c(e)?(r.each(e,function(e,i){for(t=0;t<f.length;t++)i&&(e===f[t]+"s"||e===f[t])&&t>n&&(n=t)}),f[n]):""},b={millisecond:"millisecond",second:"longtime",minute:"shorttime",hour:"shorttime",day:"day",week:"day",month:"month",quarter:"quarter",year:"year"},C=function(e){return Math.floor(e/3)},k=function(e){return 3*C(e)},S=function(e,t,n){var i,o=new Date(e.getTime()),a=y(t);switch(a){case"second":e.setMilliseconds(0);break;case"minute":e.setSeconds(0,0);break;case"hour":e.setMinutes(0,0,0);break;case"year":e.setMonth(0);case"month":e.setDate(1);case"day":e.setHours(0,0,0,0);break;case"week":e.setDate(e.getDate()-e.getDay()),e.setHours(0,0,0,0);break;case"quarter":i=k(e.getMonth()),e.getMonth()!==i&&e.setMonth(i),e.setDate(1),e.setHours(0,0,0,0)}n&&"hour"!==a&&"minute"!==a&&"second"!==a&&J(o,e)},T=function(e){return le.correctDateWithUnitBeginning(e,"day"),e},I=function(e,t){var n,i=0;return n={year:e.getFullYear()!==t.getFullYear(),month:e.getMonth()!==t.getMonth(),day:e.getDate()!==t.getDate(),hour:e.getHours()!==t.getHours(),minute:e.getMinutes()!==t.getMinutes(),second:e.getSeconds()!==t.getSeconds()},r.each(n,function(e,t){t&&i++}),n.count=i,n},D=function(e,t,n){var i=n?-1:1;return u(e)?a(e,t,i):e+t*i},E=function(e,t){return"month"===e?new Date(t.getFullYear(),t.getMonth(),1):"year"===e?new Date(t.getFullYear(),0,t.getDate()):"decade"===e?new Date(q(t),t.getMonth(),t.getDate()):"century"===e?new Date($(t),t.getMonth(),t.getDate()):void 0},A=function(e,t){return"month"===e?new Date(t.getFullYear(),t.getMonth(),O(t)):"year"===e?new Date(t.getFullYear(),11,t.getDate()):"decade"===e?new Date(q(t)+9,t.getMonth(),t.getDate()):"century"===e?new Date($(t)+90,t.getMonth(),t.getDate()):void 0},B=function(e,t){var n=new Date(t.getFullYear(),t.getMonth(),1);return"month"===e?n:(n.setMonth(0),"year"===e?n:("decade"===e&&n.setFullYear(q(t)),"century"===e&&n.setFullYear($(t)),n))},M=function(e,t){var n=new Date(t.getFullYear(),t.getMonth(),O(t));return"month"===e?n:(n.setMonth(11),n.setDate(O(n)),"year"===e?n:("decade"===e&&n.setFullYear(q(t)+9),"century"===e&&n.setFullYear($(t)+99),n))},O=function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0);return t.getDate()},P=function(e,t,n){return le[p("same "+e)](t,n)},R=function(e){switch(e){case"month":return"year";case"year":return"decade";case"decade":return"century"}},V=function(e){switch(e){case"century":return"decade";case"decade":return"year";case"year":return"month"}},F=function(e){var t=1;return"year"===e&&(t=12),"decade"===e&&(t=120),"century"===e&&(t=1200),t},L=function(e){var t=1;return"decade"===e&&(t=12),"century"===e&&(t=120),t},H=function(e){var t={};switch(e){case"year":t.years=1;break;case"month":t.months=1;break;case"quarter":t.months=3;break;case"week":t.days=7;break;case"day":t.days=1;break;case"hour":t.hours=1;break;case"minute":t.minutes=1;break;case"second":t.seconds=1;break;case"millisecond":t.milliseconds=1}return t},z=function(e,t){return e&&t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()},N=function(e,t){return e&&t&&e.getFullYear()===t.getFullYear()},W=function(e,t){if(h(e)&&h(t)){var n=e.getFullYear()-e.getFullYear()%10,i=t.getFullYear()-t.getFullYear()%10;return e&&t&&n===i}},G=function(e,t){if(h(e)&&h(t)){var n=e.getFullYear()-e.getFullYear()%100,i=t.getFullYear()-t.getFullYear()%100;return e&&t&&n===i}},$=function(e){return e&&e.getFullYear()-e.getFullYear()%100},q=function(e){return e&&e.getFullYear()-e.getFullYear()%10},j=function(){return"yyyy/M/d"},U=function(e){if(h(e)){var t=new Date(e.getFullYear(),e.getMonth(),1);return t}},K=function(e){if(h(e)){var t=new Date(e.getFullYear(),e.getMonth()+1,0);return t}},Y=function(e,t){var n=(e.getDay()-t+7)%7,i=new Date(e);return i.setDate(e.getDate()-n),i},X=function(e,t){var n=le.getDatesInterval(e,t,"day"),i=new Date(e);return n>=6&&(i=new Date(i.setDate(i.getDate()+7))),i},Q=function(e,t,n,i){return"date"===i&&(t=t&&new Date(t.getFullYear(),t.getMonth(),t.getDate()),n=n&&new Date(n.getFullYear(),n.getMonth(),n.getDate()),e=e&&new Date(e.getFullYear(),e.getMonth(),e.getDate())),Z(e,t,n)===e},Z=function(e,t,n){var i=e;return h(e)?(h(t)&&t>e&&(i=t),h(n)&&e>n&&(i=n),i):e},J=function(e,t){if(h(e)){var n,i,o=t.getHours()-e.getHours();0!==o&&(n=1===o||-23===o?-1:1,i=new Date(t.getTime()+36e5*n),(n>0||i.getDate()===t.getDate())&&t.setTime(i.getTime()))}},ee=function(e,t){return 60*(t.getTimezoneOffset()-e.getTimezoneOffset())*1e3},te=function(e){return new Date(e)},ne="number",ie="yyyy'/'MM'/'dd",oe="yyyy'/'MM'/'dd HH:mm:ss",ae=function(e){return s.isNumber(e)?ne:s.isString(e)?e.indexOf(":")>=0?oe:ie:void 0},re=function(e,t,n){var i;return t&&t!==ne&&t!==ie&&t!==oe?void 0!==e?n(e,t):void 0:(i=t===ne?e:!u(e)&&Date.parse(e),i?new Date(i):e)},se=function(e,t,n){return t===ne?e&&e.valueOf&&e.valueOf():t?n(e,t):e},le={dateUnitIntervals:f,convertMillisecondsToDateUnits:v,dateToMilliseconds:x,getNextDateUnit:m,
convertDateUnitToMilliseconds:w,getDateUnitInterval:y,getDateFormatByTickInterval:o,getDatesDifferences:I,correctDateWithUnitBeginning:S,trimTime:T,addDateInterval:a,addInterval:D,getDateIntervalByString:H,sameMonthAndYear:z,sameMonth:z,sameYear:N,sameDecade:W,sameCentury:G,sameView:P,getDifferenceInMonth:F,getDifferenceInMonthForCells:L,getFirstYearInDecade:q,getFirstDecadeInCentury:$,getShortDateFormat:j,getViewFirstCellDate:E,getViewLastCellDate:A,getViewDown:V,getViewUp:R,getLastMonthDay:O,getLastMonthDate:K,getFirstMonthDate:U,getFirstWeekDate:Y,normalizeDateByWeek:X,getQuarter:C,getFirstQuarterMonth:k,dateInRange:Q,normalizeDate:Z,getViewMinBoundaryDate:B,getViewMaxBoundaryDate:M,fixTimezoneGap:J,getTimezonesDifference:ee,makeDate:te,deserializeDate:re,serializeDate:se,getDateSerializationFormat:ae,getDatesInterval:g};i.exports=le}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(17),r=n(6),s=n(42),l=n(201),c=n(275),d=n(199),u=n(274),h=function(){if(a.pointerEvents)return c;var e=r.real();return!a.touch||e.tablet||e.phone?a.touch?l:d:u}();o.each(h.map,function(e,t){s(e,new h(e,t))}),i.exports={down:"dxpointerdown",up:"dxpointerup",move:"dxpointermove",cancel:"dxpointercancel",enter:"dxpointerenter",leave:"dxpointerleave",over:"dxpointerover",out:"dxpointerout"}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(37),r=n(75),s=n(10);n(210);var l={shortdate:"M/d/y",shorttime:"h:mm a",longdate:"EEEE, MMMM d, y",longtime:"h:mm:ss a",monthandday:"MMMM d",monthandyear:"MMMM y",quarterandyear:"QQQ y",day:"d",year:"y",shortdateshorttime:"M/d/y, h:mm a",mediumdatemediumtime:"MMMM d, h:mm a",longdatelongtime:"EEEE, MMMM d, y, h:mm:ss a",month:"LLLL",shortyear:"yy",dayofweek:"EEEE",quarter:"QQQ",hour:"HH",minute:"mm",second:"ss",millisecond:"SSS","datetime-local":"yyyy-MM-ddTHH':'mm':'ss"},c=function(e){var t=new Date,n=e.split(" "),i=n[0].split(":"),o=Number(i[0]),a=Number(i[1]),r=Number(i[2])||0;return/^pm$/i.test(n[1])&&(o+=12),new Date(t.getFullYear(),t.getMonth(),t.getDate(),o,a,r)},d=function(e){return new Date(e.valueOf()+60*e.getTimezoneOffset()*1e3)},u=["January","February","March","April","May","June","July","August","September","October","November","December"],h=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],p=function(e){return e.getHours()>=12?"PM":"AM"},f=function(e){return e%12||12},_=function(e,t){return a.format(e,{type:"decimal",precision:t})},g={millisecond:function(e){return _(e.getMilliseconds(e),3)},second:function(e){return _(e.getSeconds(),2)},minute:function(e){return _(e.getMinutes(),2)},h:function(e){return _(f(e.getHours()),1)},hh:function(e){return _(f(e.getHours()),2)},hour:function(e){return _(e.getHours(),2)},day:function(e){return e.getDate()},dayofweek:function(e){return h[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return _(e.getMonth()+1,2)},month:function(e){return u[e.getMonth()]},year:function(e){return e.getFullYear()},shortyear:function(e){return String(e.getFullYear()).substr(2,2)},shorttime:function(e){return g.h(e)+":"+g.minute(e)+" "+p(e)},shortdate:function(e){return[g.M(e),g.day(e),g.year(e)].join("/")},shortdateshorttime:function(e){return[g.shortdate(e),g.shorttime(e)].join(", ")},mediumdatemediumtime:function(e){return[g.monthandday(e),g.shorttime(e)].join(", ")},monthandyear:function(e){return[g.month(e),g.year(e)].join(" ")},monthandday:function(e){return[g.month(e),g.day(e)].join(" ")},longdate:function(e){return g.dayofweek(e)+", "+g.month(e)+" "+g.day(e)+", "+g.year(e)},longtime:function(e){return[g.h(e),g.minute(e),g.second(e)].join(":")+" "+p(e)},longdatelongtime:function(e){return[g.longdate(e),g.longtime(e)].join(", ")},d:function(e){return _(g.day(e),1)},dd:function(e){return _(g.day(e),2)},"d MMMM":function(e){return g.day(e)+" "+g.month(e)},"yyyy/M/d":function(e){return[g.year(e),g.M(e),g.day(e)].join("/")},"yyyy/MM/dd":function(e){return[g.year(e),g.MM(e),g.dd(e)].join("/")},"dd.MM.yyyy":function(e){return[g.dd(e),g.MM(e),g.year(e)].join(".")},"HH:mm":function(e){return[g.hour(e),g.minute(e)].join(":")},"HH:mm:ss":function(e){return[g["HH:mm"](e),g.second(e)].join(":")},"h:mm:ss":function(e){return[g.h(e),g.minute(e),g.second(e)].join(":")},"h:mm:ss:SSS":function(e){return[g.h(e),g.minute(e),g.second(e),g.SSS(e)].join(":")},"yyyy/MM/dd HH:mm:ss":function(e){return[g["yyyy/MM/dd"](e),g["HH:mm:ss"](e)].join(" ")},"yyyy-MM-dd hh:mm:ss.SSS a":function(e){return[[g.year(e),g.MM(e),g.dd(e)].join("-"),[g.hh(e),g.minute(e),g.second(e)].join(":")+"."+g.SSS(e),p(e)].join(" ")},"yyyy-MM-dd":function(e){return[g.year(e),g.MM(e),g.dd(e)].join("-")},yyyyMMddTHHmmss:function(e){return[g.year(e),g.MM(e),g.dd(e),"T",g.hour(e),g.minute(e),g.second(e)].join("")},"datetime-local":function(e){return g["yyyy-MM-dd"](e)+"T"+g["HH:mm:ss"](e)},"yyyy-MM-ddTHH:mm:ssZ":function(e){return g["datetime-local"](e)+"Z"},"yyyy-MM-ddTHH:mmZ":function(e){return g["yyyy-MM-dd"](e)+"T"+g.hour(e)+":"+g.minute(e)+"Z"},"dd/MM/yyyy":function(e){return[g.dd(e),g.MM(e),g.year(e)].join("/")},"yyyy MMMM d":function(e){return[g.year(e),g.month(e),g.day(e)].join(" ")},"EEEE, d":function(e){return[g.dayofweek(e),g.d(e)].join(", ")},"EEEE MM yy":function(e){return[g.dayofweek(e),g.MM(e),g.shortyear(e)].join(" ")},"d MMMM yyyy":function(e){return[g.day(e),g.month(e),g.year(e)].join(" ")},"E d":function(e){return g.E(e)+" "+g.day(e)},E:function(e){return w([g.dayofweek(e)],"abbreviated")[0]},EEE:function(e){return g.E(e)},"EEE hh":function(e){return[g.EEE(e),g.hh(e)].join(" ")},"ss SSS":function(e){return[g.second(e),g.SSS(e)].join(" ")},quarter:function(e){var t=e.getMonth();return t>=0&&3>t?"Q1":t>2&&6>t?"Q2":t>5&&9>t?"Q3":"Q4"},quarterandyear:function(e){return g.quarter(e)+" "+g.year(e)}},m=function(e){return"Z"!==e.slice(-1)&&(e+="Z"),d(new Date(e))},v={day:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),Number(e))},hour:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),Number(e))},minute:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),Number(e))},month:function(e){return new Date((new Date).getFullYear(),o.inArray(e,u))},monthandday:function(e){var t=e.split(" "),n=v.month(t[0]);return n.setDate(Number(t[1])),n},monthandyear:function(e){var t=e.split(" "),n=v.month(t[0]);return n.setYear(Number(t[1])),n},year:function(e){var t=new Date(new Date(0));return t.setUTCFullYear(Number(e)),d(t)},shortyear:function(e){var t=36,n=Number(e);return n+=n>t?1900:2e3,v.year(n)},shortdate:function(e){var t=e.split("/");if(3===t.length)return new Date(Number(t[2]),Number(t[0])-1,Number(t[1]))},longtime:function(e){return c(e)},shorttime:function(e){return c(e)},millisecond:function(e){return new Date(Number(e))},"yyyy MMMM d":function(e){var t=e.split(" ");if(3===t.length)return new Date(Number(t[0]),o.inArray(t[1],u),Number(t[2]))},"HH:mm":function(e){var t=e.split(":");return new Date(0,0,0,Number(t[0]),Number(t[1]),0,0)},"yyyy-MM-ddTHH:mm:ssZ":m,"yyyy-MM-ddTHH:mmZ":m,"datetime-local":m,mediumdatemediumtime:function(e){var t=e.split(", "),n=t[0].split(" "),i=t[1].split(" "),o=2===i.length?i.pop():void 0,a=v.month(n[0]);a.setDate(Number(n[1])),i=i[0].split(":");var r=Number(i[0]);switch(String(o).toLowerCase()){case"am":r=12===r?0:r;break;case"pm":r=12===r?12:r+12}return a.setHours(r),a.setMinutes(Number(i[1])),a}};o.each(l,function(e,t){t=t.replace(/'/g,""),g[t]=g[e],v[t]=v[e]});var x=function(e,t){return e[t.toLowerCase()]||e[t.replace(/'/g,"")]},w=function(e,t){var n={abbreviated:3,"short":2,narrow:1};return o.map(e,function(e){return e.substr(0,n[t])})},y=r({getPatternByFormat:function(e){return l[e.toLowerCase()]},getMonthNames:function(e){return w(u,e)},getDayNames:function(e){return w(h,e)},getTimeSeparator:function(){return":"},format:function(e,t){if(e){if(!t)return e;var n;if("function"==typeof t?n=t:t.formatter?n=t.formatter:(t=t.type||t,n=x(g,t)),n)return n(e)}},parse:function(e,t){var n,i;if(e){if(!t)return new Date(e);if(t.parser)return t.parser(e);if((t.type||t.formatter)&&(t=t.type),t&&"function"!=typeof t&&(i=x(v,t)),i?n=i(e):(s.log("W0012"),n=new Date(e)),n&&!isNaN(n.getTime()))return n}},firstDayOfWeekIndex:function(){return 0}});i.exports=y}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(17),r="dxTranslator",s=/matrix(3d)?\((.+?)\)/,l=/translate(?:3d)?\((.+?)\)/,c=function(e){var t=a.transform?p(e):h(e);return{left:t.x,top:t.y}},d=function(e,t){if(!a.transform)return void e.css(t);var n,i=t.left,o=t.top;void 0===i?(n=p(e),n.y=o||0):void 0===o?(n=p(e),n.x=i||0):(n={x:i||0,y:o||0,z:0},f(e,n)),e.css({transform:v(n)}),(u(i)||u(o))&&_(e)},u=function(e){return"string"===o.type(e)&&"%"===e[e.length-1]},h=function(e){var t;try{var n=e.css("top"),i=e.css("left"),o=e.position();e.css({transform:"none",top:0,left:0}),_(e);var a=e.position();t={x:o.left-a.left||parseInt(i)||0,y:o.top-a.top||parseInt(n)||0},e.css({top:n,left:i})}catch(e){t={x:0,y:0}}return t},p=function(e){var t=e.length?o.data(e.get(0),r):null;if(!t){var n=e.css("transform")||v({x:0,y:0}),i=n.match(s),a=i&&i[1];i?(i=i[2].split(","),"3d"===a?i=i.slice(12,15):(i.push(0),i=i.slice(4,7))):i=[0,0,0],t={x:parseFloat(i[0]),y:parseFloat(i[1]),z:parseFloat(i[2])},f(e,t)}return t},f=function(e,t){e.length&&o.data(e.get(0),r,t)},_=function(e){e.length&&o.removeData(e.get(0),r)},g=function(e){e.css({left:0,top:0,transform:"none"}),_(e)},m=function(e){var t=e.match(l);if(t&&t[1])return t=t[1].split(","),t={x:parseFloat(t[0]),y:parseFloat(t[1]),z:parseFloat(t[2])}},v=function(e){e.x=e.x||0,e.y=e.y||0;var t=u(e.x)?e.x:e.x+"px",n=u(e.y)?e.y:e.y+"px";return"translate("+t+", "+n+")"};t.move=d,t.locate=c,t.clearCache=_,t.parseTranslate=m,t.getTranslate=p,t.getTranslateCss=v,t.resetPosition=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=n(5),s=n(30),l=n(72),c=l.unwrap,d=l.isWrapped,u=l.assign,h=function(e){return e.replace(/\[/g,".").replace(/\]/g,"")},p=function(e,t){return"this"===t?e:e[t]},f=function(e,t,n,i){if("this"===t)throw new a.Error("E4016");var o=e[t];i.unwrapObservables&&d(o)?u(o,n):e[t]=n},_=function(e){return e=e||{},e.unwrapObservables=void 0!==e.unwrapObservables?e.unwrapObservables:!0,e},g=function(e,t){return t.unwrapObservables?c(e):e},m=function(e){if(arguments.length>1&&(e=o.makeArray(arguments)),!e||"this"===e)return function(e){return e};if("string"==typeof e){e=h(e);var t=e.split(".");return function(e,n){n=_(n);for(var i=n.functionsAsIs,a=g(e,n),r=0;r<t.length&&a;r++){var s=g(a[t[r]],n);!i&&o.isFunction(s)&&(s=s.call(a)),a=s}return a}}return o.isArray(e)?v(e):o.isFunction(e)?e:void 0},v=function(e){for(var t={},n=0,i=e.length;i>n;n++){var a=e[n];t[a]=m(a)}return function(e,n){var i;return o.each(t,function(t){var o,a,r,s,l=this(e,n);if(void 0!==l){for(o=i||(i={}),a=t.split("."),r=a.length-1,s=0;r>s;s++)o=o[a[s]]={};o[a[s]]=l}}),i}},x=function(e){e=e||"this",e=h(e);var t=e.lastIndexOf("."),n=m(e.substr(0,t)),i=e.substr(1+t);return function(e,t,a){a=_(a);var r=n(e,{functionsAsIs:a.functionsAsIs,unwrapObservables:a.unwrapObservables}),l=p(r,i);a.functionsAsIs||!o.isFunction(l)||d(l)?(l=g(l,a),!a.merge||!o.isPlainObject(t)||void 0!==l&&!o.isPlainObject(l)||t instanceof o.Event?f(r,i,t,a):(l||f(r,i,{},a),s.deepExtendArraySafe(g(p(r,i),a),t))):r[i](t)}},w=function(e,t){return e instanceof Date?e.getTime():e&&e instanceof r&&e.valueOf?e.valueOf():t||"string"!=typeof e?e:e.toLowerCase()};t.compileGetter=m,t.compileSetter=x,t.toComparable=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(29),r=n(6),s=a.camelize,l=["","Webkit","Moz","O","Ms"],c={"":"",Webkit:"-webkit-",Moz:"-moz-",O:"-o-",ms:"-ms-"},d=document.createElement("dx").style,u={webkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MsTransitionEnd",transition:"transitionend"},h=function(e,t){e=s(e,!0);for(var n,i=0,o=l.length;o>i;i++){var a=l[i],r=a+e,c=s(r);if(n=t(c,a),void 0===n&&(n=t(r,a)),void 0!==n)break}return n},p=function(e){return h(e,function(e){return e in d?e:void 0})},f=function(e){return h(e,function(e,t){return e in d?c[t]:void 0})},_=function(e){return!!p(e)},g=function(){var e=r.real(),t=e.platform,n=e.version,i=n&&n[0]<4&&"android"===t,a=!i&&o.inArray(t,["ios","android","win"])>-1||e.mac;return a},m=function(e){if("text"===e)return!0;var t=document.createElement("input");try{return t.setAttribute("type",e),t.value="wrongValue",!t.value}catch(e){return!1}},v="ontouchstart"in window&&!("callPhantom"in window),x=!!window.navigator.pointerEnabled||!!window.navigator.msPointerEnabled,w=!!window.navigator.maxTouchPoints||!!window.navigator.msMaxTouchPoints;t.touchEvents=v,t.pointerEvents=x,t.touch=v||x&&w,t.transform=_("transform"),t.transition=_("transition"),t.transitionEndEventName=u[p("transition")],t.animation=_("animation"),t.nativeScrolling=g(),t.winJS="WinJS"in window,t.styleProp=p,t.stylePropPrefix=f,t.supportProp=_,t.hasKo=!!window.ko,t.inputType=m}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(52),s=n(2),l=n(11),c=n(6),d=n(40),u=n(46),h=n(186),p=n(306),f=n(187),_=n(153),g=n(166),m=n(95),v=n(4),x=n(125),w=n(70),y=n(9),b="UIFeedback",C="dx-widget",k="dx-state-active",S="dx-state-disabled",T="dx-state-invisible",I="dx-state-hover",D="dx-state-focused",E=30,A=400,B="Focus",M="template",O=3,P="[data-options*='dxTemplate']",R="dx-template-wrapper",V=void 0!==document.onbeforeactivate,F=d.inherit({_supportedKeys:function(){return{}},_getDefaultOptions:function(){return o.extend(this.callBase(),{disabled:!1,visible:!0,hint:void 0,activeStateEnabled:!1,onContentReady:null,hoverStateEnabled:!1,focusStateEnabled:!1,tabIndex:0,accessKey:null,onFocusIn:null,onFocusOut:null,watchMethod:o.noop,_keyboardProcessor:void 0,templateProvider:_,_templates:{}})},_feedbackShowTimeout:E,_feedbackHideTimeout:A,_init:function(){this.callBase(),this._tempTemplates=[],this._dynamicTemplates={},this._initTemplates(),this._initContentReadyAction()},_initTemplates:function(){this._extractTemplates(),this._extractAnonymousTemplate()},_extractTemplates:function(){var e=this.option("_templates"),t=this.element().contents().filter(P),n={};t.each(function(e,t){var i=l.getElementOptions(t).dxTemplate;if(i){if(!i.name)throw a.Error("E0023");o(t).addClass(R).detach(),n[i.name]=n[i.name]||[],n[i.name].push(t)}}),o.each(n,o.proxy(function(t,n){var i=this._findTemplateByDevice(n);i&&(e[t]=this._createTemplate(i,this))},this))},_findTemplateByDevice:function(e){var t=s.findBestMatches(c.current(),e,function(e){return l.getElementOptions(e).dxTemplate})[0];return o.each(e,function(e,n){n!==t&&o(n).remove()}),t},_extractAnonymousTemplate:function(){var e=this.option("_templates"),t=this._getAnonymousTemplateName(),n=this.element().contents().detach(),i=n.filter(function(e,t){var n=t.nodeType===O,i=o.trim(o(t).text()).length<1;return!(n&&i)}),a=i.length<1;e[t]||a||(e[t]=this._createTemplate(n,this))},_getAriaTarget:function(){return this._focusTarget()},_getAnonymousTemplateName:function(){return M},_getTemplateByOption:function(e){return this._getTemplate(this.option(e))},_getTemplate:function(e){if(o.isFunction(e)){var t=this;return new h(function(){var n=e.apply(t,arguments);return s.isDefined(n)?t._acquireTemplate(n,this,!0):new p},this)}return this._acquireTemplate(e,this)},_acquireTemplate:function(e,t,n){if(null==e)return this._createTemplate(l.normalizeTemplateElement(e),t);if(e instanceof u)return e;if(e.nodeType||e.jquery)return e=o(e),n&&!e.is("script")?new f(e,t):this._createTemplate(e,t);if("string"==typeof e){var i=this.option("_templates")[e];if(i)return i;var a=this._dynamicTemplates[e];if(a)return a;var r=this.option("templateProvider").getTemplates(this)[e];return r?r:this._createTemplate(l.normalizeTemplateElement(e),t)}return this._acquireTemplate(e.toString(),t)},_createTemplate:function(e,t){var n=this.option("templateProvider").createTemplate(e,t);return this._tempTemplates.push(n),n},_cleanTemplates:function(){var e=this;o.each(this.option("_templates"),function(t,n){e===n.owner()&&n.dispose()}),o.each(this._tempTemplates,function(e,t){t.dispose()})},_initContentReadyAction:function(){this._contentReadyAction=this._createActionByOption("onContentReady",{excludeValidators:["designMode","disabled","readOnly"]})},_render:function(){this.element().addClass(C),this.callBase(),this._toggleDisabledState(this.option("disabled")),this._toggleVisibility(this.option("visible")),this._renderHint(),this._renderContent(),this._renderFocusState(),this._attachFeedbackEvents(),this._attachHoverEvents()},_renderHint:function(){l.toggleAttr(this.element(),"title",this.option("hint"))},_renderContent:function(){var e=this;s.deferRender(function(){e._renderContentImpl()}),e._fireContentReadyAction()},_renderContentImpl:o.noop,_fireContentReadyAction:function(){this._contentReadyAction()},_dispose:function(){this._cleanTemplates(),this._contentReadyAction=null,this.callBase()},_clean:function(){this._cleanFocusState(),this.callBase(),this.element().empty()},_toggleVisibility:function(e){this.element().toggleClass(T,!e),this.setAria("hidden",!e||void 0)},_renderFocusState:function(){this.option("focusStateEnabled")&&!this.option("disabled")&&(this._renderFocusTarget(),this._attachFocusEvents(),this._attachKeyboardEvents(),this._renderAccessKey())},_renderAccessKey:function(){var e=this._focusTarget();e.attr("accesskey",this.option("accessKey"));var t=v.addNamespace(y.name,b);e.off(t),this.option("accessKey")&&e.on(t,o.proxy(function(e){v.isFakeClickEvent(e)&&(e.stopImmediatePropagation(),this.focus())},this))},_eventBindingTarget:function(){return this.element()},_focusTarget:function(){return this._getActiveElement()},_getActiveElement:function(){var e=this._eventBindingTarget();return this._activeStateUnit&&(e=e.find(this._activeStateUnit).not("."+S)),e},_renderFocusTarget:function(){this._focusTarget().attr("tabindex",this.option("tabIndex"))},_keyboardEventBindingTarget:function(){return this._eventBindingTarget()},_detachFocusEvents:function(){var e=this._focusTarget(),t=this.NAME+B,n=v.addNamespace("focusin",t);n=n+" "+v.addNamespace("focusout",t),V&&(n=n+" "+v.addNamespace("beforeactivate",t)),e.off(n)},_attachFocusEvents:function(){var e=this.NAME+B,t=v.addNamespace("focusin",e),n=v.addNamespace("focusout",e);if(this._focusTarget().on(t,o.proxy(this._focusInHandler,this)).on(n,o.proxy(this._focusOutHandler,this)),V){var i=v.addNamespace("beforeactivate",e);this._focusTarget().on(i,function(e){o(e.target).is(m.focusable)||e.preventDefault()})}},_refreshFocusEvent:function(){this._detachFocusEvents(),this._attachFocusEvents()},_focusInHandler:function(e){var t=this;t._createActionByOption("onFocusIn",{beforeExecute:function(){t._updateFocusState(e,!0)},excludeValidators:["readOnly"]})({jQueryEvent:e})},_focusOutHandler:function(e){var t=this;t._createActionByOption("onFocusOut",{beforeExecute:function(){t._updateFocusState(e,!1)},excludeValidators:["readOnly","disabled"]})({jQueryEvent:e})},_updateFocusState:function(e,t){var n=e.target;-1!==o.inArray(n,this._focusTarget())&&this._toggleFocusClass(t,o(n))},_toggleFocusClass:function(e,t){var n=t&&t.length?t:this._focusTarget();n.toggleClass(D,e)},_hasFocusClass:function(e){var t=o(e||this._focusTarget());return t.hasClass(D)},_attachKeyboardEvents:function(){var e=this.option("_keyboardProcessor")||new g({element:this._keyboardEventBindingTarget(),focusTarget:this._focusTarget()});this._keyboardProcessor=e.reinitialize(this._keyboardHandler,this)},_keyboardHandler:function(e){var t=e.originalEvent,n=e.key,i=this._supportedKeys(),a=i[n];if(void 0!==a){var r=o.proxy(a,this);return r(t)||!1}return!0},_refreshFocusState:function(){this._cleanFocusState(),this._renderFocusState()},_cleanFocusState:function(){var e=this._focusTarget();this._detachFocusEvents(),this._toggleFocusClass(!1),e.removeAttr("tabindex"),this._keyboardProcessor&&this._keyboardProcessor.dispose()},_attachHoverEvents:function(){var e=this,t=e._activeStateUnit,n=v.addNamespace(x.start,b),i=v.addNamespace(x.end,b);if(e._eventBindingTarget().off(n,t).off(i,t),e.option("hoverStateEnabled")){var a=new r(function(t){e._hoverStartHandler(t.event);var n=t.element;e._refreshHoveredElement(n)},{excludeValidators:["readOnly"]});e._eventBindingTarget().on(n,t,function(e){a.execute({element:o(e.target),event:e})}).on(i,t,function(t){e._hoverEndHandler(t),e._forgetHoveredElement()})}else e._toggleHoverClass(!1)},_hoverStartHandler:o.noop,_hoverEndHandler:o.noop,_attachFeedbackEvents:function(){var e,t,n=this,i=n._activeStateUnit,a=v.addNamespace(w.active,b),s=v.addNamespace(w.inactive,b);if(n._eventBindingTarget().off(a,i).off(s,i),n.option("activeStateEnabled")){var l=function(e){var t=e.element,i=e.value,o=e.jQueryEvent;n._toggleActiveState(t,i,o)};n._eventBindingTarget().on(a,i,{timeout:n._feedbackShowTimeout},function(t){e=e||new r(l),e.execute({element:o(t.currentTarget),value:!0,jQueryEvent:t})}).on(s,i,{timeout:n._feedbackHideTimeout},function(e){t=t||new r(l,{excludeValidators:["disabled","readOnly"]}),t.execute({element:o(e.currentTarget),value:!1,jQueryEvent:e})})}},_toggleActiveState:function(e,t){this._toggleHoverClass(!t),e.toggleClass(k,t)},_refreshHoveredElement:function(e){var t=this._activeStateUnit||this._eventBindingTarget();this._forgetHoveredElement(),this._hoveredElement=e.closest(t),this._toggleHoverClass(!0)},_forgetHoveredElement:function(){this._toggleHoverClass(!1),delete this._hoveredElement},_toggleHoverClass:function(e){this._hoveredElement&&this._hoveredElement.toggleClass(I,e&&this.option("hoverStateEnabled"))},_toggleDisabledState:function(e){this.element().toggleClass(S,Boolean(e)),this._toggleHoverClass(!e),this.setAria("disabled",e||void 0)},_setWidgetOption:function(e,t){if(this[e]){if(o.isPlainObject(t[0]))return void o.each(t[0],o.proxy(function(t,n){this._setWidgetOption(e,[t,n])},this));var n=t[0],i=t[1];1===t.length&&(i=this.option(n));var a=this[e+"OptionMap"];this[e].option(a?a(n):n,i)}},_createComponent:function(e,t,n){return n=n||{},this._extendConfig(n,{templateProvider:this.option("templateProvider"),_templates:this.option("_templates")}),this.callBase(e,t,n)},_optionChanged:function(e){switch(e.name){case"disabled":this._toggleDisabledState(e.value),this._refreshFocusState();break;case"hint":this._renderHint();break;case"activeStateEnabled":this._attachFeedbackEvents();break;case"hoverStateEnabled":this._attachHoverEvents();break;case"tabIndex":case"_keyboardProcessor":case"focusStateEnabled":this._refreshFocusState();break;case"onFocusIn":case"onFocusOut":break;case"accessKey":this._renderAccessKey();break;case"visible":var t=e.value;this._toggleVisibility(t),this._isVisibilityChangeSupported()&&this._checkVisibilityChanged(e.value?"shown":"hiding");break;case"onContentReady":this._initContentReadyAction();break;case"_templates":case"templateProvider":break;default:this.callBase(e)}},_isVisible:function(){return this.callBase()&&this.option("visible")},beginUpdate:function(){this._ready(!1),this.callBase()},endUpdate:function(){this.callBase(),this._initialized&&this._ready(!0)},_ready:function(e){return 0===arguments.length?this._isReady:void(this._isReady=e)},setAria:function(){var e=function(e){var t="role"===e.name||"id"===e.name?e.name:"aria-"+e.name,n=e.value;n=null===n||void 0===n?void 0:n.toString(),l.toggleAttr(e.target,t,n)};if(o.isPlainObject(arguments[0])){var t=arguments[1]||this._getAriaTarget();o.each(arguments[0],function(n,i){e({name:n,value:i,target:t})})}else e({name:arguments[0],value:arguments[1],target:arguments[2]||this._getAriaTarget()})},isReady:function(){return this._ready()},repaint:function(){this._refresh()},focus:function(){this._focusTarget().focus()},registerKeyHandler:function(e,t){var n=this._supportedKeys(),i={};i[e]=t,this._supportedKeys=function(){return o.extend(n,i)}}});i.exports=F}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(88),a=n(10);i.exports=o(a.ERROR_MESSAGES,{E1001:"Module '{0}'. Controller '{1}' is already registered",E1002:"Module '{0}'. Controller '{1}' must be inheritor of DevExpress.ui.dxDataGrid.Controller",E1003:"Module '{0}'. View '{1}' is already registered",E1004:"Module '{0}'. View '{1}' must be inheritor of DevExpress.ui.dxDataGrid.View",E1005:"Public method '{0}' is already registered",E1006:"Public method '{0}.{1}' is not exists",E1007:"State storing can not be provided due to the restrictions of your browser",E1010:"A template should contain dxTextBox widget",E1011:"You have to implement 'remove' method in dataStore used by dxList to be able to delete items",E1012:"Editing type '{0}' with name '{1}' not supported",E1016:"Unexpected type of data source is provided for a lookup column",E1018:"The 'collapseAll' method cannot be called when using a remote data source",E1019:"Search mode '{0}' is unavailable",E1020:"Type can not be changed after initialization",E1021:"{0} '{1}' you are trying to remove does not exist",E1022:"Markers option should be an array",E1023:"Routes option should be an array",E1024:"Google provider cannot be used in WinJS application",E1025:"This layout is too complex to render",E1026:"The 'custom' value is set to a summary item's summaryType option, but a function for calculating the custom summary is not assigned to the grid's calculateCustomSummary option",E1030:"Unknown dxScrollView refresh strategy: '{0}'",E1031:"Unknown subscription is detected in the dxScheduler widget: '{0}'",E1032:"Unknown start date is detected in an appointment of the dxScheduler widget: '{0}'",E1033:"Unknown step is specified for the scheduler's navigator: '{0}'",E1034:"The current browser does not implement an API required for saving files",E1035:"The editor could not be created because of the internal error: {0}",E1036:"Validation rules are not defined for any form item",E1037:"Invalid structure of grouped data",E1038:"Your browser does not support local storage for local web pages",E0139:"The cell position can not be calculated",W1001:"Key option can not be modified after initialization",W1002:"Item '{0}' you are trying to select does not exist",W1003:"Group with key '{0}' in which you are trying to select items does not exist",W1004:"Item '{0}' you are trying to select in group '{1}' does not exist",W1005:"Due to column data types being unspecified, data has been loaded twice in order to apply initial filter settings. To resolve this issue, specify data types for all grid columns."})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(16).toComparable,s=n(26),l=n(227),c=n(27),d=n(71),u={year:function(e){return e&&e.getFullYear()},month:function(e){return e&&e.getMonth()+1},day:function(e){return e&&e.getDate()},quarter:function(e){return e&&Math.floor(e.getMonth()/3)+1},hour:function(e){return e&&e.getHours()},minute:function(e){return e&&e.getMinutes()},second:function(e){return e&&e.getSeconds()}},h=["year","month","day"];o.extend(t,l,function(){var e=function(){var e,t,n=arguments[1],i=this.calculateCellValue(n);return a.isDefined(i)?"date"===this.dataType?(t=arguments[0],u[t](i)):"number"===this.dataType?(e=arguments[0],Math.floor(Number(i)/e)*e):void 0:null},n=function(e){return a.isDate(e)?[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds()]:o.map((""+e).split("/"),function(e,t){return 1===t?Number(e)-1:Number(e)})},i=function(e,i,o){var a,r,s=this,l=p(s,o),c=n(e),d=t.getGroupInterval(s)[c.length-1];switch(d){case"year":a=new Date(c[0],0,1),r=new Date(c[0]+1,0,1);break;case"month":a=new Date(c[0],c[1],1),r=new Date(c[0],c[1]+1,1);break;case"quarter":a=new Date(c[0],3*c[1],1),r=new Date(c[0],3*c[1]+3,1);break;case"hour":a=new Date(c[0],c[1],c[2],c[3]),r=new Date(c[0],c[1],c[2],c[3]+1);break;case"minute":a=new Date(c[0],c[1],c[2],c[3],c[4]),r=new Date(c[0],c[1],c[2],c[3],c[4]+1);break;case"second":a=new Date(c[0],c[1],c[2],c[3],c[4],c[5]),r=new Date(c[0],c[1],c[2],c[3],c[4],c[5]+1);break;default:a=new Date(c[0],c[1],c[2]),r=new Date(c[0],c[1],c[2]+1)}switch(i){case"<":return[l,"<",a];case"<=":return[l,"<",r];case">":return[l,">=",r];case">=":return[l,">=",a];case"<>":return[[l,"<",a],"or",[l,">=",r]];default:return[[l,">=",a],"and",[l,"<",r]]}},l=function(e,n,i){var o,r,s,l=this,c=p(l,i),d=(""+e).split("/"),u=Number(d[d.length-1]),h="exclude"===l.filterType,f=t.getGroupInterval(l);return"headerFilter"===i&&f&&a.isDefined(e)?(o=f[d.length-1],r=[c,h?"<":">=",u],s=[c,h?">=":"<",u+o],[r,h?"or":"and",s]):[c,n||"=",e]},p=function(e,t){var n=e.dataField||e.selector;return"search"===t&&(n=e.displayField||e.calculateDisplayValue||n),n},f=function(e,t,n){var i=this,o=i.dataField;return a.isArray(e)&&a.isDefined(e[0])&&a.isDefined(e[1])?[[o,">=",e[0]],"and",[o,"<=",e[1]]]:void 0};return{formatValue:function(e,t){var n=d.format(e,t.format,t.precision)||e&&e.toString()||"",i={value:e,valueText:t.getDisplayFormat?t.getDisplayFormat(n):n,target:t.target||"row",groupInterval:t.groupInterval};return t.customizeText?t.customizeText.call(t,i):i.valueText},getDisplayValue:function(e,t,n,i){return e.displayValueMap&&void 0!==e.displayValueMap[t]?e.displayValueMap[t]:e.calculateDisplayValue&&n&&"group"!==i?e.calculateDisplayValue(n):e.lookup?e.lookup.calculateCellValue(t):t},getGroupRowSummaryText:function(e,n){var i,o,a="(";for(i=0;i<e.length;i++)o=e[i],a+=(i>0?", ":"")+t.getSummaryText(o,n);return a+=")"},getSummaryText:function(e,t){var n=e.displayFormat||e.columnCaption&&t[e.summaryType+"OtherColumn"]||t[e.summaryType];return this.formatValue(e.value,{format:e.valueFormat,precision:e.precision,getDisplayFormat:function(t){return n?s.format(n,t,e.columnCaption):t},customizeText:e.customizeText})},getKeyHash:function(e){if(a.isObject(e)||a.isArray(e))try{var t=JSON.stringify(e);return"{}"===t?e:t}catch(t){return e}return e},normalizeSortingInfo:function(e){e=e||[];var t,n;for(t=c.normalizeSortingInfo(e),n=0;n<e.length;n++)e&&e[n]&&void 0!==e[n].isExpanded&&(t[n].isExpanded=e[n].isExpanded),e&&e[n]&&void 0!==e[n].groupInterval&&(t[n].groupInterval=e[n].groupInterval);return t},getFormatByDataType:function(e){switch(e){case"date":return"shortDate"}},defaultCalculateFilterExpression:function(e,t,n){var o=this,r=p(o,n),s=o.calculateDisplayValue&&"search"===n,c=s&&o.lookup&&o.lookup.dataType||o.dataType,d=null;if("headerFilter"===n&&null===e)d=[r,t||"=",null],"string"===c&&(d=[d,"="===t?"or":"and",[r,t||"=",""]]);else if("string"!==c||o.lookup&&!s){if("between"===t)return f.apply(o,arguments);if("date"===c&&a.isDefined(e))return i.apply(o,arguments);if("number"===c)return l.apply(o,arguments);"object"!==c&&(d=[r,t||"=",e])}else d=[r,t||"contains",e];return d},getHeaderFilterGroupParameters:function(t,n){var i=[],a=t.dataField||t.name,r=this.getGroupInterval(t);return t.calculateGroupValue?n?[{selector:t.calculateGroupValue,isExpanded:!1}]:o.proxy(t.calculateGroupValue,t):r?(o.each(r,function(r,s){i.push(n?{selector:a,groupInterval:s,isExpanded:!1}:o.proxy(e,t,s))}),i):n?[{selector:a,isExpanded:!1}]:function(e){var n=t.calculateCellValue(e);return void 0!==n&&""!==n||(n=null),n}},getGroupInterval:function(e){var t,n=[],i=["year","month","day","hour","minute","second"],r=e.headerFilter&&e.headerFilter.groupInterval,s="quarter"===r?"month":r;return"date"===e.dataType?(n=h,t=o.inArray(s,i),t>=0?(n=i.slice(0,t),n.push(r),n):n):a.isDefined(r)?a.isArray(r)?r:[r]:void 0},checkChanges:function(e,t){var n,i=0;for(n=0;n<t.length;n++)e[t[n]]&&i++;return e.length&&e.length===i},equalSortParameters:function(e,n,i){var a;if(e=t.normalizeSortingInfo(e),n=t.normalizeSortingInfo(n),o.isArray(e)&&o.isArray(n)){if(e.length!==n.length)return!1;
for(a=0;a<e.length;a++)if(e[a].selector!==n[a].selector||e[a].desc!==n[a].desc||e[a].groupInterval!==n[a].groupInterval||!i&&Boolean(e[a].isExpanded)!==Boolean(n[a].isExpanded))return!1;return!0}return(!e||!e.length)==(!n||!n.length)},equalFilterParameters:function(e,n){var i;if(o.isArray(e)&&o.isArray(n)){if(e.length!==n.length)return!1;for(i=0;i<e.length;i++)if(!t.equalFilterParameters(e[i],n[i]))return!1;return!0}return o.isFunction(e)&&e.columnIndex>=0&&o.isFunction(n)&&n.columnIndex>=0?e.columnIndex===n.columnIndex:r(e)===r(n)},proxyMethod:function(e,t,n){e[t]||(e[t]=function(){var e=this._dataSource;return e?e[t].apply(e,arguments):n})},combineFilters:function(e,t){var n,i=[];for(t=t||"and",n=0;n<e.length;n++)e[n]&&(i.length&&i.push(t),i.push(e[n]));return 1===i.length&&(i=i[0]),i.length?i:void 0},getPointsByColumns:function(e,t,n,i){var o,a,r,s,l,c,d=e.length,u=!1,h=i||0,p=[];for(a=0;d>=a;a++)d>a&&(r=e.eq(a),s=r.offset(),c="rtl"===r.css("direction")),o={index:h,x:s?s.left+(!n&&c^a===d?r.outerWidth():0):0,y:s?s.top+(n&&a===d?r.outerHeight():0):0,columnIndex:h},!n&&a>0&&(l=e.eq(a-1).offset(),l.top<o.y&&(o.y=l.top)),t&&(u=t(o)),u||p.push(o),h++;return p}}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=/(webkit)[ \/]([\w.]+)/,r=/(msie) (\d{1,2}\.\d)/,s=/(trident).*rv:(\d{1,2}\.\d)/,l=/(edge)\/((\d+)?[\w\.]+)/,c=/(mozilla)(?:.*? rv:([\w.]+))/,d=function(e){e=e.toLowerCase();var t={},n=r.exec(e)||s.exec(e)||l.exec(e)||e.indexOf("compatible")<0&&c.exec(e)||a.exec(e)||[],i=n[1],o=n[2];return"trident"!==i&&"edge"!==i||(i="msie"),i&&(t[i]=!0,t.version=o),t};i.exports=o.extend({_fromUA:d},d(navigator.userAgent))}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=n(15),s=n(74),l=n(17),c=n(66),d=n(136),u=n(4),h=l.transitionEndEventName+".dxFX",p=u.addNamespace(d,"dxFX"),f=/cubic-bezier\((\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\)/,_=/^([+-])=(.*)/i,g="dxAnimData",m="dxAnimQueue",v="transform",x={initAnimation:function(e,t){e.css({transitionProperty:"none"}),"string"==typeof t.from?e.addClass(t.from):J(e,t.from);var n=this,i=o.Deferred(),a=t.cleanupWhen;t.transitionAnimation={deferred:i,finish:function(){n._finishTransition(e,t),a?o.when(i,a).always(function(){n._cleanup(e,t)}):n._cleanup(e,t),i.resolveWith(e,[t,e])}},this._completeAnimationCallback(e,t).done(function(){t.transitionAnimation.finish()}).fail(function(){i.rejectWith(e,[t,e])}),t.duration||t.transitionAnimation.finish(),e.css("transform")},animate:function(e,t){return this._startAnimation(e,t),t.transitionAnimation.deferred.promise()},_completeAnimationCallback:function(e,t){var n,i,a=this,r=o.now()+t.delay,s=o.Deferred(),l=o.Deferred(),c=o.Deferred();return t.transitionAnimation.cleanup=function(){clearTimeout(n),clearTimeout(i),e.off(h),e.off(p)},e.one(h,function(){o.now()-r>=t.duration&&l.reject()}).off(p).on(p,function(){a.stop(e,t),s.reject()}),i=setTimeout(function(){n=setTimeout(function(){c.reject()},t.duration+t.delay+te._simulatedTransitionEndDelay),o.when(l,c).fail(o.proxy(function(){s.resolve()},this))}),s.promise()},_startAnimation:function(e,t){e.css({transitionProperty:"all",transitionDelay:t.delay+"ms",transitionDuration:t.duration+"ms",transitionTimingFunction:t.easing}),"string"==typeof t.to?e[0].className+=" "+t.to:t.to&&J(e,t.to)},_finishTransition:function(e,t){e.css("transition","none")},_cleanup:function(e,t){t.transitionAnimation.cleanup(),"string"==typeof t.from&&(e.removeClass(t.from),e.removeClass(t.to))},stop:function(e,t,n){t&&(n?t.transitionAnimation.finish():(o.isPlainObject(t.to)&&o.each(t.to,function(t){e.css(t,e.css(t))}),this._finishTransition(e,t),this._cleanup(e,t)))}},w={initAnimation:function(e,t){J(e,t.from)},animate:function(e,t){var n=o.Deferred(),i=this;return t?(o.each(t.to,function(n){void 0===t.from[n]&&(t.from[n]=i._normalizeValue(e.css(n)))}),t.to[v]&&(t.from[v]=i._parseTransform(t.from[v]),t.to[v]=i._parseTransform(t.to[v])),t.frameAnimation={to:t.to,from:t.from,currentValue:t.from,easing:S(t.easing),duration:t.duration,startTime:(new Date).valueOf(),finish:function(){this.currentValue=this.to,this.draw(),s.cancelAnimationFrame(t.frameAnimation.animationFrameId),n.resolve()},draw:function(){if(t.draw)return void t.draw(this.currentValue);var n=o.extend({},this.currentValue);n[v]&&(n[v]=o.map(n[v],function(e,t){return"translate"===t?r.getTranslateCss(e):"scale"===t?"scale("+e+")":"rotate"===t.substr(0,t.length-1)?t+"("+e+"deg)":void 0}).join(" ")),e.css(n)}},t.delay?(t.frameAnimation.startTime+=t.delay,t.frameAnimation.delayTimeout=setTimeout(function(){i._startAnimation(e,t)},t.delay)):i._startAnimation(e,t),n.promise()):n.reject().promise()},_startAnimation:function(e,t){e.off(p).on(p,function(){t.frameAnimation&&s.cancelAnimationFrame(t.frameAnimation.animationFrameId)}),this._animationStep(e,t)},_parseTransform:function(e){var t={};return o.each(e.match(/(\w|\d)+\([^\)]*\)\s*/g),function(e,n){var i=r.parseTranslate(n),o=n.match(/scale\((.+?)\)/),a=n.match(/(rotate.)\((.+)deg\)/);i&&(t.translate=i),o&&o[1]&&(t.scale=parseFloat(o[1])),a&&a[1]&&(t[a[1]]=parseFloat(a[2]))}),t},stop:function(e,t,n){var i=t&&t.frameAnimation;i&&(s.cancelAnimationFrame(i.animationFrameId),clearTimeout(i.delayTimeout),n&&i.finish(),delete t.frameAnimation)},_animationStep:function(e,t){var n=t&&t.frameAnimation;if(n){var i=(new Date).valueOf();if(i>=n.startTime+n.duration)return void n.finish();n.currentValue=this._calcStepValue(n,i-n.startTime),n.draw();var o=this;n.animationFrameId=s.requestAnimationFrame(function(){o._animationStep(e,t)})}},_calcStepValue:function(e,t){var n=function(i,a){var r=o.isArray(a)?[]:{},s=function(n){var r=t/e.duration,s=t,l=1*i[n],c=a[n]-i[n],d=e.duration;return o.easing[e.easing](r,s,l,c,d)};return o.each(a,function(e,t){return"string"==typeof t&&parseFloat(t,10)===!1?!0:void(r[e]="object"==typeof t?n(i[e],t):s(e))}),r};return n(e.from,e.to)},_normalizeValue:function(e){var t=parseFloat(e,10);return t===!1?e:t}},y={initAnimation:function(e,t){},animate:function(e,t){return o.Deferred().resolve().promise()},stop:o.noop,isSynchronous:!0},b={transition:l.transition?x:w,frame:w,noAnimation:y},C=function(e){e=e||{};var t=e.strategy||"transition";return"css"!==e.type||l.transition||(t="noAnimation"),b[t]},k={linear:"cubic-bezier(0, 0, 1, 1)",ease:"cubic-bezier(0.25, 0.1, 0.25, 1)","ease-in":"cubic-bezier(0.42, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.58, 1)","ease-in-out":"cubic-bezier(0.42, 0, 0.58, 1)"},S=function(e){e=k[e]||e;var t=e.match(f);if(!t)return"linear";t=t.slice(1,5),o.each(t,function(e,n){t[e]=parseFloat(n)});var n="cubicbezier_"+t.join("_").replace(/\./g,"p");if(!o.isFunction(o.easing[n])){var i=function(e,t,n,i){var o=3*e,a=3*(n-e)-o,r=1-o-a,s=3*t,l=3*(i-t)-s,c=1-s-l,d=function(e){return e*(o+e*(a+e*r))},u=function(e){return e*(s+e*(l+e*c))},h=function(e){for(var t,n=e,i=0;14>i&&(t=d(n)-e,!(Math.abs(t)<.001));)n-=t/p(n),i++;return n},p=function(e){return o+e*(2*a+3*e*r)};return function(e){return u(h(e))}};o.easing[n]=function(e,n,o,a,r){return a*i(t[0],t[1],t[2],t[3])(n/r)+o}}return n},T=function(e,t,n,i){o.each(["from","to"],function(){if(!n(e[this]))throw a.Error("E0010",t,this,i)})},I=function(e,t){return T(e,t,function(e){return o.isPlainObject(e)},"a plain object")},D=function(e,t){return T(e,t,function(e){return"string"==typeof e},"a string")},E={setup:function(e,t){}},A={validateConfig:function(e){D(e,"css")},setup:function(e,t){}},B={top:{my:"bottom center",at:"top center"},bottom:{my:"top center",at:"bottom center"},right:{my:"left center",at:"right center"},left:{my:"right center",at:"left center"}},M={validateConfig:function(e){I(e,"slide")},setup:function(e,t){var n=r.locate(e);if("slide"!==t.type){var i="slideIn"===t.type?t.from:t.to;i.position=o.extend({of:window},B[t.direction]),Z(e,i)}this._setUpConfig(n,t.from),this._setUpConfig(n,t.to),r.clearCache(e),l.transform||"static"!==e.css("position")||e.css("position","relative")},_setUpConfig:function(e,t){t.left="left"in t?t.left:"+=0",t.top="top"in t?t.top:"+=0",this._initNewPosition(e,t)},_initNewPosition:function(e,t){var n={left:t.left,top:t.top};delete t.left,delete t.top;var i=this._getRelativeValue(n.left);void 0!==i?n.left=i+e.left:t.left=0,i=this._getRelativeValue(n.top),void 0!==i?n.top=i+e.top:t.top=0;var o={x:0,y:0};l.transform?o={x:n.left,y:n.top}:(t.left=n.left,t.top=n.top),t[v]=r.getTranslateCss(o)},_getRelativeValue:function(e){var t;return"string"==typeof e&&(t=_.exec(e))?parseInt(t[1]+"1")*t[2]:void 0}},O={setup:function(e,t){var n,i=t.from,a=o.isPlainObject(i)?t.skipElementInitialStyles?0:e.css("opacity"):String(i);switch(t.type){case"fadeIn":n=1;break;case"fadeOut":n=0;break;default:n=String(t.to)}t.from={visibility:"visible",opacity:a},t.to={opacity:n}}},P={validateConfig:function(e){I(e,"pop")},setup:function(e,t){var n=t.from,i=t.to,o="opacity"in n?n.opacity:e.css("opacity"),a="opacity"in i?i.opacity:1,s="scale"in n?n.scale:0,l="scale"in i?i.scale:1;t.from={opacity:o};var c=r.getTranslate(e);t.from[v]=this._getCssTransform(c,s),t.to={opacity:a},t.to[v]=this._getCssTransform(c,l)},_getCssTransform:function(e,t){return r.getTranslateCss(e)+"scale("+t+")"}},R={custom:E,slide:M,slideIn:M,slideOut:M,fade:O,fadeIn:O,fadeOut:O,pop:P,css:A},V=function(e){var t=R[e.type];if(!t)throw a.Error("E0011",e.type);return t},F={type:"custom",from:{},to:{},duration:400,start:o.noop,complete:o.noop,easing:"ease",delay:0},L={duration:400,easing:"ease",delay:0},H=function(){var e=this,t=e.element,n=e.config;Z(t,n.from),Z(t,n.to),e.configurator.setup(t,n),t.data(g,e),te.off&&(n.duration=0,n.delay=0),e.strategy.initAnimation(t,n),n.start&&n.start.apply(this,[t,n])},z=function(e){var t=e.element,n=e.config;t.removeData(g),n.complete&&n.complete.apply(this,[t,n]),e.deferred.resolveWith(this,[t,n])},N=function(){var e=this,t=e.element,n=e.config;return e.isStarted=!0,e.strategy.animate(t,n).done(function(){z(e)}).fail(function(){e.deferred.rejectWith(this,[t,n])})},W=function(e){var t=this,n=t.element,i=t.config;clearTimeout(t.startTimeout),t.isStarted||t.start(),t.strategy.stop(n,i,e)},G=function(e,t){var n="css"===t.type?L:F,i=o.extend(!0,{},n,t),a=V(i),r=C(i),s={element:o(e),config:i,configurator:a,strategy:r,isSynchronous:r.isSynchronous,setup:H,start:N,stop:W,deferred:o.Deferred()};return o.isFunction(a.validateConfig)&&a.validateConfig(i),s},$=function(e,t){var n=o(e);if(!n.length)return o.Deferred().resolve().promise();var i=G(n,t);return q(n,i),i.deferred.promise()},q=function(e,t){var n=j(e);U(e,n),n.push(t),Y(e)||X(e,n)},j=function(e){return e.data(m)||[]},U=function(e,t){e.data(m,t)},K=function(e){e.removeData(m)},Y=function(e){return!!e.data(g)},X=function(e,t){if(t=j(e),t.length){var n=t.shift();0===t.length&&K(e),Q(n).done(function(){Y(e)||X(e)})}},Q=function(e){if(e.setup(),te.off||e.isSynchronous)e.start();else{e.startTimeout=setTimeout(function(){e.start()});var t=u.addNamespace(d,"dxFXStartAnimation");e.element.off(t).on(t,function(){clearTimeout(e.startTimeout)})}return e.deferred.promise()},Z=function(e,t){if(t&&t.position){var n=c.calculate(e,t.position),i=e.offset(),a=e.position();o.extend(t,{left:n.h.location-i.left+a.left,top:n.v.location-i.top+a.top}),delete t.position}},J=function(e,t){o.each(t,function(t,n){try{e.css(t,n)}catch(e){}})},ee=function(e,t){var n=o(e),i=j(n);o.each(i,function(e,t){t.config.delay=0,t.config.duration=0,t.isSynchronous=!0}),Y(n)||X(n,i);var a=n.data(g);a&&a.stop(t),n.removeData(g),K(n)},te={off:!1,animationTypes:R,animate:$,createAnimation:G,isAnimating:Y,stop:ee,_simulatedTransitionEndDelay:100};i.exports=te}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){var e,t=b("<div></div>",g).addClass("dx-theme-marker").appendTo(g.documentElement);try{return(e=t.css("font-family"))?(e=e.replace(/["']/g,""),e.substr(0,O.length)!==O?null:e.substr(O.length)):null}finally{t.remove()}}function a(e,t){function n(){w=null,t()}var i,o;w=e,r()?n():(o=b.now(),i=setInterval(function(){var e=r(),t=!e&&b.now()-o>15e3;t&&C.log("W0004",w),(e||t)&&(clearInterval(i),n())},10))}function r(){return!w||o()===w}function s(){var e=b(E,g);e.length&&(v={},m=b(k.createMarkupFromString("<link rel=stylesheet>"),g),e.each(function(){var e=b(this,g),t=e.attr(A),n=e.attr("href"),i="true"===e.attr(B);v[t]={url:n,isActive:i}}),e.last().after(m),e.remove())}function l(e){var t=e.split("."),n=null;return v&&b.each(v,function(e,i){var o=e.split(".");if(o[0]===t[0]&&!(t[1]&&t[1]!==o[1]||t[2]&&t[2]!==o[2]))return n&&!i.isActive||(n=e),i.isActive?!1:void 0}),n}function c(e){try{e!==g&&(v=null)}catch(e){v=null}g=e}function d(e){e=e||{},c(e.context||document),s(),x=void 0,u(e)}function u(e){if(!arguments.length)return x=x||o();_(I(),x),e=e||{},"string"==typeof e&&(e={theme:e});var t,n=e._autoInit,i=e.loadCallback;if(x=e.theme||x,n&&!x&&(x=h(S.current())),x=l(x),x&&(t=v[x]),t)m.attr("href",v[x].url),i?a(x,i):w&&(w=x);else{if(!n)throw C.Error("E0021",x);i&&i()}f(T.originalViewPort(),x)}function h(e){var t=e.platform,n=e.version&&e.version[0];switch(t){case"ios":t+="7";break;case"android":t+="5";break;case"win":t+=n&&8===n?"8":"10"}return t}function p(e){e=e||u();var t=[],n=e&&e.split(".");return n&&(t.push("dx-theme-"+n[0],"dx-theme-"+n[0]+"-typography"),n.length>1&&t.push("dx-color-scheme-"+n[1])),t}function f(e,t){y=p(t).join(" "),b(e).addClass(y);var n=function(){var t=window.devicePixelRatio;if(t&&!(2>t)){var n=b("<div>");n.css("border",".5px solid transparent"),b("body").append(n),1===n.outerHeight()&&(b(e).addClass(M),y+=" "+M),n.remove()}};n()}function _(e,t){b(e).removeClass(y)}var g,m,v,x,w,y,b=n(1),C=n(19),k=n(11),S=n(6),T=n(51),I=T.value,D=T.changeCallback,E="link[rel=dx-theme]",A="data-theme",B="data-active",M="dx-hairlines",O="dx.";b.holdReady(!0),d({_autoInit:!0,loadCallback:function(){b.holdReady(!1)}}),b(function(){if(b(E,g).length)throw C.Error("E0022")}),D.add(function(e,t){_(t),f(e)}),S.changed.add(function(){d({_autoInit:!0})}),t.current=u,t.init=d,t.attachCssClasses=f,t.detachCssClasses=_,t.themeNameFromDevice=h,t.waitForThemeLoad=a,t.resetTheme=function(){m&&m.attr("href","about:blank"),x=null,w=null}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(88),a=n(10),r={},s=o(a.ERROR_MESSAGES,{E4000:"[DevExpress.data]: {0}",E4001:"Unknown aggregating function is detected: '{0}'",E4002:"Unsupported OData protocol version is used",E4003:"Unknown filter operation is used: {0}",E4004:"The thenby() method is called before the sortby() method",E4005:"Store requires a key expression for this operation",E4006:"ArrayStore 'data' option must be an array",E4007:"Compound keys cannot be auto-generated",E4008:"Attempt to insert an item with the a duplicated key",E4009:"Data item cannot be found",E4010:"CustomStore does not support creating queries",E4011:"Custom Store method is not implemented or is not a function: {0}",E4012:"Custom Store method returns an invalid value: {0}",E4013:"Local Store requires the 'name' configuration option is specified",E4014:"Unknown key type is detected: {0}",E4015:"Unknown entity name or alias is used: {0}",E4017:"Keys cannot be modified",E4018:"The server has returned a non-numeric value in a response to an item count request",E4019:"Mixing of group operators inside a single group of filter expression is not allowed",E4020:"Unknown store type is detected: {0}"}),l=null,c=function(e){r.errorHandler&&r.errorHandler(e)};r={errors:s,errorHandler:l,_errorHandler:c},i.exports=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(76),r=n(6),s=n(3),l=n(124),c=n(65),d=n(18),u=n(48),h=n(4),p=n(23),f=n(9),_="dx-button",g="dx-button-content",m="dx-button-has-text",v="dx-button-has-icon",x="dx-template-wrapper",w="content",y=100,b=d.inherit({_supportedKeys:function(){var e=this,t=function(t){t.preventDefault(),e._executeClickAction(t)};return o.extend(this.callBase(),{space:t,enter:t})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{iconSrc:{since:"15.1",alias:"icon"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,onClick:null,type:"normal",text:"",icon:"",validationGroup:void 0,activeStateEnabled:!0,template:"content",useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===r.real().deviceType&&!r.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(p.current())},options:{useInkRipple:!0}}])},_getAnonymousTemplateName:function(){return w},_feedbackHideTimeout:y,_render:function(){this.element().addClass(_),this._renderType(),this.option("useInkRipple")&&this._renderInkRipple(),this._renderClick(),this.setAria("role","button"),this._updateAriaLabel(),this.callBase()},_renderInkRipple:function(){var e=!this.option("text")&&this.option("icon")||"back"===this.option("type"),t={};e&&o.extend(t,{waveSizeCoefficient:1,useHoldAnimation:!1,isCentered:!0}),this._inkRipple=u.render(t)},_toggleActiveState:function(e,t,n){if(this.callBase.apply(this,arguments),this._inkRipple){var i={element:this._$content,jQueryEvent:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}},_renderContentImpl:function(){var e=this.element(),t=this._getContentData();this._$content?this._$content.empty():this._$content=o("<div>").addClass(g).appendTo(e),e.toggleClass(v,!!t.icon).toggleClass(m,!!t.text);var n=this._getTemplateByOption("template"),i=n.render(t,this._$content);i.hasClass(x)&&(this._$content.replaceWith(i),this._$content=i,this._$content.addClass(g))},_getContentData:function(){var e=this.option("icon"),t=this.option("text"),n="back"===this.option("type");return n&&!e&&(e="back"),{icon:e,text:t}},_renderClick:function(){var e=this,t=h.addNamespace(f.name,this.NAME);this._clickAction=this._createActionByOption("onClick"),this.element().off(t).on(t,function(t){e._executeClickAction(t)})},_executeClickAction:function(e){this._clickAction({jQueryEvent:e,validationGroup:c.getGroupConfig(this._findGroup())})},_updateAriaLabel:function(){var e=this.option("icon"),t=this.option("text");"image"===a.getImageSourceType(e)&&(e=-1===e.indexOf("base64")?e.replace(/.+\/([^\.]+)\..+$/,"$1"):"Base64");var n=t||e;this.setAria("label",o.trim(n))},_renderType:function(){var e=this.option("type");e&&this.element().addClass("dx-button-"+e)},_refreshType:function(e){var t=this.option("type");e&&this.element().removeClass("dx-button-"+e).addClass("dx-button-"+t),this.element().hasClass(v)||"back"!==t||this._renderContentImpl()},_optionChanged:function(e){switch(e.name){case"onClick":this._renderClick();break;case"icon":case"text":this._renderContentImpl(),this._updateAriaLabel();break;case"type":this._refreshType(e.previousValue),this._renderContentImpl(),this._updateAriaLabel();break;case"template":this._renderContentImpl();break;case"useInkRipple":this._invalidate();break;default:this.callBase(e)}},_clean:function(){this.callBase(),delete this._$content}}).include(l);s("dxButton",b),i.exports=b}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=function(){var e=[new RegExp("&","g"),new RegExp('"',"g"),new RegExp("'","g"),new RegExp("<","g"),new RegExp(">","g")];return function(t){return String(t).replace(e[0],"&amp;").replace(e[1],"&quot;").replace(e[2],"&#39;").replace(e[3],"&lt;").replace(e[4],"&gt;")}}(),s=function(e){var t=a.splitPair(e),n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),{h:n,v:i}},l=function(e){var t=a.splitQuad(e),n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10),o=parseInt(t&&t[2],10),r=parseInt(t&&t[3],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),isFinite(o)||(o=n),isFinite(r)||(r=i),{top:i,right:o,bottom:r,left:n}},c=function(){var e,t,n,i=arguments[0],a=o.makeArray(arguments).slice(1);if(o.isFunction(i))return i.apply(this,a);for(var r=0;r<a.length;r++)t=new RegExp("\\{"+r+"\\}","gm"),n=a[r],"string"===o.type(n)&&n.indexOf("$")>=0&&(e="$".replace("$","$$").length,n=n.replace("$",1===e?"$$$$":"$$")),i=i.replace(t,n);return i},d=function(){var e=function(e){return(e+"").replace(/([\+\*\?\\\.\[\^\]\$\(\)\{\}\><\|\=\!\:])/g,"\\$1")};return function(t,n,i){return t.replace(new RegExp("("+e(n)+")","gi"),i)}}(),u=function(e){var t=/\s/g;return function(e){return!e||!e.replace(t,"")}}();t.encodeHtml=r,t.pairToObject=s,t.quadToObject=l,t.format=c,t.replaceAll=d,t.isEmpty=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return/^(or|\|\||\|)$/i.test(e)}function a(e){return/^(and|\&\&|\&)$/i.test(e)}var r=n(1),s=n(16).toComparable,l=function(e){return[e[0],e.length<3?"=":String(e[1]).toLowerCase(),e.length<2?!0:e[e.length-1]]},c=function(e){return r.isArray(e)||(e=[e]),r.map(e,function(e){return{selector:r.isFunction(e)||"string"==typeof e?e:e.getter||e.field||e.selector,desc:!(!e.desc&&"d"!==String(e.dir).charAt(0).toLowerCase())}})},d=function(){var e={timeout:"Network connection timeout",error:"Unspecified network error",parsererror:"Unexpected server response"},t=function(t){var n=e[t];return n?n:t};return function(e,n){return e.status<400?t(n):e.statusText}}(),u={count:{seed:0,step:function(e){return 1+e}},sum:{seed:0,step:function(e,t){return e+t}},min:{step:function(e,t){return e>t?t:e}},max:{step:function(e,t){return t>e?t:e}},avg:{seed:[0,0],step:function(e,t){return[e[0]+t,e[1]+1]},finalize:function(e){return e[1]?e[0]/e[1]:NaN}}},h=function(){var e,t=0,n=function(){0===t&&(e=r.Deferred()),t++},i=function(){t--,1>t&&e.resolve()},o=function(){var n=0===t?r.Deferred().resolve():e;return n.promise()},a=function(){t=0,e&&e.resolve()};return{obtain:n,release:i,promise:o,reset:a}}(),p=function(e,t,n){if(r.isArray(e)){for(var i,o=r.map(t,function(e,t){return t}),a=0;a<o.length;a++)if(i=o[a],s(t[i],!0)!=s(n[i],!0))return!1;return!0}return s(t,!0)==s(n,!0)},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_=function(e){function t(e){return f.charAt(e)}r.isArray(e)||(e=g(String(e)));for(var n="",i=0;i<e.length;i+=3){var o=e[i],a=e[i+1],s=e[i+2];n+=r.map([o>>2,(3&o)<<4|a>>4,isNaN(a)?64:(15&a)<<2|s>>6,isNaN(s)?64:63&s],t).join("")}return n},g=function(e){var t,n,i=[];for(n=0;n<e.length;n++)t=e.charCodeAt(n),128>t?i.push(t):2048>t?i.push(192+(t>>6),128+(63&t)):65536>t?i.push(224+(t>>12),128+(t>>6&63),128+(63&t)):2097152>t&&i.push(240+(t>>18),128+(t>>12&63),128+(t>>6&63),128+(63&t));return i},m={normalizeBinaryCriterion:l,normalizeSortingInfo:c,errorMessageFromXhr:d,aggregators:u,keysEqual:p,isDisjunctiveOperator:o,isConjunctiveOperator:a,processRequestResultLock:h,base64_encode:_};i.exports=m}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(303),r=n(19),s=n(41),l=n(2),c=n(155),d=n(38).DataSource,u="dxItemDeleting",h=a.inherit({_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{selectedItem:!0})},_getDefaultOptions:function(){return o.extend(this.callBase(),{selectionMode:"none",selectionRequired:!1,selectionByClick:!0,selectedItems:[],selectedIndex:-1,selectedItem:null,onSelectionChanged:null,onItemReordered:null,onItemDeleting:null,onItemDeleted:null})},_init:function(){this._initEditStrategy(),this.callBase(),this._selectedItemIndices=[],"multi"===this.option("selectionMode")&&this._showDeprecatedSelectionMode()},_initEditStrategy:function(){var e=c;this._editStrategy=new e(this)},_forgetNextPageLoading:function(){this.callBase(),this._selectedItemIndices=this._editStrategy.selectedItemIndices()},_render:function(){this._syncSelectionOptions(),this._normalizeSelectedItems(),this._initSelectedItems(),this.callBase(),this._renderSelection(this._selectedItemIndices,[])},_syncSelectionOptions:function(e){e=e||this._chooseSelectOption();var t,n;switch(e){case"selectedIndex":t=this._editStrategy.getItemDataByIndex(this.option("selectedIndex")),l.isDefined(t)?(this._setOptionSilent("selectedItems",[t]),this._setOptionSilent("selectedItem",t)):(this._setOptionSilent("selectedItems",[]),this._setOptionSilent("selectedItem",null));break;case"selectedItems":n=this.option("selectedItems")||[],this._setOptionSilent("selectedItem",n[0]),this._setOptionSilent("selectedIndex",this._editStrategy.getIndexByItemData(n[0]));break;case"selectedItem":t=this.option("selectedItem"),l.isDefined(t)?(this._setOptionSilent("selectedItems",[t]),this._setOptionSilent("selectedIndex",this._editStrategy.getIndexByItemData(t))):(this._setOptionSilent("selectedItems",[]),this._setOptionSilent("selectedIndex",-1))}},_chooseSelectOption:function(){var e="selectedIndex";return this.option("selectedItems").length?e="selectedItems":l.isDefined(this.option("selectedItem"))&&(e="selectedItem"),e},_normalizeSelectedItems:function(){if("none"===this.option("selectionMode"))this._setOptionSilent("selectedItems",[]),this._syncSelectionOptions("selectedItems");else if("single"===this.option("selectionMode")){var e=this._editStrategy.selectedItemIndices(this.option("selectedItems"));if(e.length>1||!e.length&&this.option("selectionRequired")&&this.option("items")&&this.option("items").length){var t=[e[0]||this._selectedItemIndices[0]||0];this._setOptionSilent("selectedItems",this._editStrategy.fetchSelectedItems(t)),this._syncSelectionOptions("selectedItems")}}},_initSelectedItems:function(){this._selectedItemIndices=this._editStrategy.selectedItemIndices(this.option("selectedItems"))},_renderSelection:o.noop,_itemClickHandler:function(e){this._createAction(o.proxy(function(e){this._itemSelectHandler(e.jQueryEvent)},this),{validatingTargetName:"itemElement"})({itemElement:o(e.currentTarget),jQueryEvent:e}),this.callBase.apply(this,arguments)},_itemSelectHandler:function(e){if(this.option("selectionByClick")){var t=e.currentTarget;this.isItemSelected(t)?this.unselectItem(e.currentTarget):this.selectItem(e.currentTarget)}},_selectedItemElement:function(e){return this._itemElements().eq(e)},_postprocessRenderItem:function(e){var t=o(e.itemElement);this._isItemSelected(this._editStrategy.getNormalizedIndex(t))?(t.addClass(this._selectedItemClass()),this._setAriaSelected(t,"true")):this._setAriaSelected(t,"false")},_updateSelectedItems:function(){var e=this,t=this._selectedItemIndices.slice(),n=this._editStrategy.selectedItemIndices(),i=s.removeDuplicates(n,t),a=s.removeDuplicates(t,n);if(o.each(a,function(t,n){e._removeSelection(n)}),o.each(i,function(t,n){e._addSelection(n)}),a.length||i.length){var r=this._selectionChangePromise;this._updateSelection(i,a),o.when(r).done(function(){e._fireSelectionChangeEvent(i,a)})}},_fireSelectionChangeEvent:function(e,t){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})(this._editStrategy.fetchSelectionDifference(e,t))},_updateSelection:function(){this._renderSelection.apply(this,arguments)},_setAriaSelected:function(e,t){this.setAria("selected",t,e)},_removeSelection:function(e){var t=this._editStrategy.getItemElement(e),n=o.inArray(e,this._selectedItemIndices);n>-1&&(t.removeClass(this._selectedItemClass()),this._setAriaSelected(t,"false"),this._selectedItemIndices.splice(n,1),t.triggerHandler("stateChanged"))},_showDeprecatedSelectionMode:function(){r.log("W0001",this.NAME,"selectionMode: 'multi'","16.1","Use selectionMode: 'multiple' instead"),this.option("selectionMode","multiple")},_addSelection:function(e){var t=this._editStrategy.getItemElement(e);e>-1&&!this._isItemSelected(e)&&(t.addClass(this._selectedItemClass()),this._setAriaSelected(t,"true"),this._selectedItemIndices.push(e),t.triggerHandler("stateChanged"))},_isItemSelected:function(e){return o.inArray(e,this._selectedItemIndices)>-1},_optionChanged:function(e){if(!this._cancelOptionChange)switch(e.name){case"selectionMode":"multi"===e.value?this._showDeprecatedSelectionMode():this._invalidate();break;case"selectedIndex":case"selectedItem":case"selectedItems":this._syncSelectionOptions(e.name),this._normalizeSelectedItems(),this._updateSelectedItems();break;case"selectionRequired":this._normalizeSelectedItems(),this._updateSelectedItems();break;case"selectionByClick":case"onSelectionChanged":case"onItemDeleting":case"onItemDeleted":case"onItemReordered":break;default:this.callBase(e)}},_clearSelectedItems:function(){this._selectedItemIndices=[],this._setOptionSilent("selectedItems",[]),this._syncSelectionOptions("selectedItems")},_setOptionSilent:function(e,t){this._cancelOptionChange=!0,this.option(e,t),this._cancelOptionChange=!1},_waitDeletingPrepare:function(e){if(e.data(u))return o.Deferred().resolve().promise();e.data(u,!0);var t=o.Deferred(),n=this._itemEventHandler(e,"onItemDeleting",{},{excludeValidators:["disabled","readOnly"]});return o.when(n).always(o.proxy(function(i){var o=!n,a=!o&&"resolved"===n.state(),r=!!arguments.length,s=o||a&&!r||a&&i;e.data(u,!1),s?t.resolve():t.reject()},this)),t.promise()},_deleteItemFromDS:function(e){if(!this._dataSource)return o.Deferred().resolve().promise();var t=o.Deferred(),n=this.option("disabled"),i=this._dataSource.store();if(this.option("disabled",!0),!i.remove)throw r.Error("E1011");return i.remove(i.keyOf(this._getItemData(e))).done(function(e){void 0!==e?t.resolve():t.reject()}).fail(function(){t.reject()}),t.always(o.proxy(function(){this.option("disabled",n)},this)),t},_tryRefreshLastPage:function(){var e=o.Deferred();return this._isLastPage()||this.option("grouped")?e.resolve():this._refreshLastPage().done(function(){e.resolve()}),e.promise()},_refreshLastPage:function(){return this._expectLastItemLoading(),this._dataSource.load()},_updateSelectionAfterDelete:function(e){var t=o.inArray(e,this._selectedItemIndices);t>-1&&this._selectedItemIndices.splice(t,1),this._editStrategy.updateSelectionAfterDelete(e),this.option("selectedItems",this._editStrategy.fetchSelectedItems())},_simulateOptionChange:function(e){var t=this.option(e);t instanceof d||this._optionChangedAction({name:e,fullName:e,value:t})},isItemSelected:function(e){return this._isItemSelected(this._editStrategy.getNormalizedIndex(e))},selectItem:function(e){var t=this._editStrategy.getNormalizedIndex(e);if(-1!==t){var n=o.inArray(t,this._selectedItemIndices);if(-1===n)if("single"===this.option("selectionMode"))this.option("selectedItems",this._editStrategy.fetchSelectedItems([t]));else{var i=this._selectedItemIndices.slice();i.push(t),this.option("selectedItems",this._editStrategy.fetchSelectedItems(i))}}},unselectItem:function(e){var t=this._editStrategy.getNormalizedIndex(e);if(-1!==t){var n=o.inArray(t,this._selectedItemIndices);if(-1!==n){var i=this._selectedItemIndices.slice();i.splice(n,1),this.option("selectionRequired")&&0===i.length||this.option("selectedItems",this._editStrategy.fetchSelectedItems(i))}}},deleteItem:function(e){var t=this,n=o.Deferred(),i=this._editStrategy.getItemElement(e),a=this._editStrategy.getNormalizedIndex(e),r=this._dataSource?"dataSource":"items",s=this._itemResponseWaitClass();return a>-1?this._waitDeletingPrepare(i).done(function(){i.addClass(s);var e=t._extendActionArgs(i);t._deleteItemFromDS(i).done(function(){t._editStrategy.deleteItemAtIndex(a),t._simulateOptionChange(r),t._updateSelectionAfterDelete(a),t._itemEventHandler(i,"onItemDeleted",e,{beforeExecute:function(){i.detach()},excludeValidators:["disabled","readOnly"]}),t._renderEmptyMessage(),t._tryRefreshLastPage().done(function(){n.resolveWith(t)})}).fail(function(){i.removeClass(s),n.rejectWith(t)})}).fail(function(){n.rejectWith(t)}):n.rejectWith(t),n.promise()},reorderItem:function(e,t){var n=o.Deferred(),i=this,a=this._editStrategy,r=a.getItemElement(e),s=a.getItemElement(t),l=a.getNormalizedIndex(e),c=a.getNormalizedIndex(t),d=this._dataSource?"dataSource":"items",u=l>-1&&c>-1&&l!==c;return u?n.resolveWith(this):n.rejectWith(this),n.promise().done(function(){s[a.itemPlacementFunc(l,c)](r);
var e=a.getSelectedItemsAfterReorderItem(l,c);a.moveItemAtIndexToIndex(l,c),i._selectedItemIndices=a.selectedItemIndices(e),i.option("selectedItems",a.fetchSelectedItems()),"items"===d&&i._simulateOptionChange(d),i._itemEventHandler(r,"onItemReordered",{fromIndex:a.getIndex(l),toIndex:a.getIndex(c)},{excludeValidators:["disabled","readOnly"]})})}});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=function(e){return void 0===e||null===e?"":String(e)},r=function(e){return a(e).charAt(0).toUpperCase()+e.substr(1)},s=function(e){return a(e).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},l=function(e){return o.map(s(e),function(e){return e.toLowerCase()}).join("-")},c=function(e){return l(e).replace(/-/g,"_")},d=function(e,t){return o.map(s(e),function(e,n){return e=e.toLowerCase(),(t||n>0)&&(e=r(e)),e}).join("")},u=function(e){return r(l(e).replace(/-/g," "))},h=function(e){return o.map(s(e),function(e){return r(e.toLowerCase())}).join(" ")},p=function(e){var t,n,i=[],o=!1,a=!1;for(t=0;t<e.length;t++)n=e.charAt(t),a=n===n.toUpperCase()||n in["0","1","2","3","4","5","6","7","8","9"],"_"===n||"."===n?(n=" ",a=!0):0===t?(n=n.toUpperCase(),a=!0):!o&&a&&i.length>0&&i.push(" "),i.push(n),o=a;return i.join("")};t.dasherize=l,t.camelize=d,t.humanize=u,t.titleize=h,t.underscore=c,t.captionize=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=function(){function e(){}return function(t){return e.prototype=t,new e}}(),s=function(e,t,n){e=e||{};for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];i in e&&!n||(e[i]=o)}return e},l=function(e,t){var n,i,o=[];for(n in e)e.hasOwnProperty(n)&&o.push(n);for(o.sort(function(e,t){var n=a.isNumber(e),i=a.isNumber(t);return n&&i?e-t:n&&!i?-1:!n&&i?1:t>e?-1:e>t?1:0}),i=0;i<o.length;i++)n=o[i],t(n,e[n])},c=function(e,t){var n,i;for(var a in t)n=e[a],i=t[a],e!==i&&(!o.isPlainObject(i)||i instanceof o.Event?void 0!==i&&(e[a]=i):e[a]=c(o.isPlainObject(n)?n:{},i));return e};t.clone=r,t.extendFromObject=s,t.orderEach=l,t.deepExtendArraySafe=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(23),s=n(18),l=n(124),c=n(50),d="dx-state-readonly",u="dx-invalid",h="dx-invalid-message",p="dx-invalid-message-auto",f="dx-invalid-message-always",_="dx-validation-target",g=100,m=s.inherit({_init:function(){this.callBase(),this.validationRequest=o.Callbacks();var e=this.element();e&&o.data(e[0],_,this)},_getDefaultOptions:function(){return o.extend(this.callBase(),{value:null,onValueChanged:null,readOnly:!1,isValid:!0,validationError:null,validationMessageMode:"auto",validationBoundary:void 0,validationMessageOffset:{h:0,v:0}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){var e=(r.current()||"").split(".")[0];return"android5"===e},options:{validationMessageOffset:{v:-8}}}])},_attachKeyboardEvents:function(){this.option("readOnly")||(this.callBase(),this._attachChildKeyboardEvents())},_attachChildKeyboardEvents:o.noop,_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{validationError:!0})},_createValueChangeAction:function(){this._valueChangeAction=this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]})},_suppressValueChangeAction:function(){this._valueChangeActionSuppressed=!0},_resumeValueChangeAction:function(){this._valueChangeActionSuppressed=!1},_render:function(){this.callBase(),this._renderValidationState(),this._toggleReadOnlyState()},_raiseValueChangeAction:function(e,t,n){this._valueChangeAction||this._createValueChangeAction(),this._valueChangeAction(this._valueChangeArgs(e,t))},_valueChangeArgs:function(e,t){return{value:e,previousValue:t,jQueryEvent:this._valueChangeEventInstance}},_saveValueChangeEvent:function(e){this._valueChangeEventInstance=e},_renderValidationState:function(){var e=this.option("isValid"),t=this.option("validationError"),n=this.option("validationMessageMode"),i=this.element();i.toggleClass(u,!e),this.setAria("invalid",!e||void 0),this._$validationMessage&&(this._$validationMessage.remove(),this._$validationMessage=null),!e&&t&&t.message&&(this._$validationMessage=o("<div/>",{"class":h}).html(t.message).appendTo(i),this._validationMessage=this._createComponent(this._$validationMessage,c,{target:this._getValidationMessageTarget(),shading:!1,width:"auto",height:"auto",container:i,position:this._getValidationMessagePosition("below"),closeOnOutsideClick:!1,closeOnTargetScroll:!1,animation:null,visible:!0,propagateOutsideClick:!0}),this._$validationMessage.toggleClass(p,"auto"===n).toggleClass(f,"always"===n),this._setValidationMessageMaxWidth())},_setValidationMessageMaxWidth:function(){if(this._validationMessage){var e=Math.max(g,this._getValidationMessageTarget().outerWidth());this._validationMessage.option("maxWidth",e)}},_getValidationMessageTarget:function(){return this.element()},_getValidationMessagePosition:function(e){var t=this.option("rtlEnabled"),n=a.getDefaultAlignment(t),i=this.option("validationMessageOffset"),o={h:i.h,v:i.v},r="below"===e?[" top"," bottom"]:[" bottom"," top"];return t&&(o.h=-o.h),"below"!==e&&(o.v=-o.v),{offset:o,boundary:this.option("validationBoundary"),my:n+r[0],at:n+r[1],collision:"none flip"}},_toggleReadOnlyState:function(){this.element().toggleClass(d,this.option("readOnly")),this.setAria("readonly",this.option("readOnly")||void 0)},_dispose:function(){var e=this.element()[0];o.data(e,_,null),this.callBase()},_optionChanged:function(e){switch(e.name){case"onValueChanged":this._createValueChangeAction();break;case"isValid":case"validationError":case"validationBoundary":case"validationMessageMode":this._renderValidationState();break;case"readOnly":this._toggleReadOnlyState(),this._refreshFocusState();break;case"value":this._valueChangeActionSuppressed||(this._raiseValueChangeAction(e.value,e.previousValue),this._saveValueChangeEvent(void 0)),e.value!=e.previousValue&&this.validationRequest.fire({value:e.value,editor:this});break;case"width":this.callBase(e),this._setValidationMessageMaxWidth();break;default:this.callBase(e)}},reset:function(){this.option("value",null)}}).include(l);i.exports=m}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1);i.exports={ctor:function(){this._events={}},hasEvent:function(e){var t=this._events[e];return t?t.has():!1},fireEvent:function(e,t){var n=this._events[e];return n&&n.fireWith(this,t),this},on:function(e,t){if(o.isPlainObject(e))o.each(e,o.proxy(function(e,t){this.on(e,t)},this));else{var n,i=this._events[e];i||(i=o.Callbacks(),this._events[e]=i),n=i.originalAdd||i.add,n.call(i,t)}return this},off:function(e,t){var n=this._events[e];return n&&(o.isFunction(t)?n.remove(t):n.empty()),this},_disposeEvents:function(){o.each(this._events,function(){this.empty()})}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(5),a=o.inherit({ctor:function(e){e&&(e=String(e)),this._value=this._normalize(e||this._generate())},_normalize:function(e){for(e=e.replace(/[^a-f0-9]/gi,"").toLowerCase();e.length<32;)e+="0";return[e.substr(0,8),e.substr(8,4),e.substr(12,4),e.substr(16,4),e.substr(20,12)].join("-")},_generate:function(){for(var e="",t=0;32>t;t++)e+=Math.round(15*Math.random()).toString(16);return e},toString:function(){return this._value},valueOf:function(){return this._value},toJSON:function(){return this._value}});i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a={rtlEnabled:!1,defaultCurrency:"USD",designMode:!1};i.exports=function(){return arguments.length?void o.extend(a,arguments[0]):a}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(194),r=n(273),s={array:a,remote:r},l=function(){var e=o.isArray(arguments[0])?"array":"remote";return s[e].apply(this,arguments)};i.exports=l,i.exports.queryImpl=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=function(){function e(e){i&&o.isFunction(i.info)&&i.info(e)}function t(e){i&&o.isFunction(i.warn)&&i.warn(e)}function n(e){i&&o.isFunction(i.error)&&i.error(e)}var i=window.console;return{info:e,warn:t,error:n}}(),r=function(){function e(e,t){if(!e)throw new Error(t)}function t(t,n){e(null!==t&&void 0!==t,n)}return{assert:e,assertParam:t}}();t.logger=a,t.debug=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(75),r=n(10),s=4,l=10,c=["currency","fixedpoint","exponential","percent","decimal"],d={1:"K",2:"M",3:"B",4:"T"},u={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},h=a({numericFormats:c,defaultLargeNumberFormatPostfixes:d,_parseNumberFormatString:function(e){var t,n={};if(e&&"string"==typeof e)return t=e.split(" "),o.each(t,function(e,t){o.inArray(t,c)>-1?n.formatType=t:t in u&&(n.power=u[t])}),n.power&&!n.formatType&&(n.formatType="fixedpoint"),n.formatType?n:void 0},_calculateNumberPower:function(e,t,n,i){var o=Math.abs(e),a=0;if(o>1)for(;o&&o>=t&&(void 0===i||i>a);)a++,o/=t;else if(o>0&&1>o)for(;1>o&&(void 0===n||a>n);)a--,o*=t;return a},_getNumberByPower:function(e,t,n){for(var i=e;t>0;)i/=n,t--;for(;0>t;)i*=n,t++;return i},_formatNumber:function(e,t,n){var i;return"auto"===t.power&&(t.power=this._calculateNumberPower(e,1e3,0,s)),t.power&&(e=this._getNumberByPower(e,t.power,1e3)),i=this.defaultLargeNumberFormatPostfixes[t.power]||"",this._formatNumberCore(e,t.formatType,n)+i},_formatNumberExponential:function(e,t){var n,i=this._calculateNumberPower(e,l),o=this._getNumberByPower(e,i,l);return void 0===t.precision&&(t.precision=1),o.toFixed(t.precision||0)>=l&&(i++,o/=l),n=(i>=0?"+":"")+i.toString(),this._formatNumberCore(o,"fixedpoint",t)+"E"+n},_addZeroes:function(e,t){var n=Math.pow(10,t);e=(e*n>>>0)/n;for(var i=e.toString();i.length<t;)i="0"+i;return i},_addGroupSeparators:function(e){var t=e.toString().split(".");return t[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")+(t[1]?"."+t[1]:"")},_formatNumberCore:function(e,t,n){return"exponential"===t?this._formatNumberExponential(e,n):("percent"===t&&(n.precision=n.precision||0,e=100*e),void 0!==n.precision&&(e="decimal"===t?this._addZeroes(e,n.precision):e.toFixed(n.precision)),"decimal"!==t&&(e=this._addGroupSeparators(e)),"percent"===t&&(e+="%"),e.toString())},_normalizeFormat:function(e){return e?"function"==typeof e?e:(o.isPlainObject(e)||(e={type:e}),e.type&&(e.type=e.type.toLowerCase()),e):{}},format:function(e,t){if("number"!=typeof e)return e;if("number"==typeof t)return e;if(t=t&&t.formatter||t,"function"==typeof t)return t(e);t=this._normalizeFormat(t),t.type||(t.type="decimal");var n=this._parseNumberFormatString(t.type);return n?this._formatNumber(e,n,t):void 0},parse:function(e,t){return e?t&&t.parser?t.parser(e):(t&&r.log("W0011"),parseFloat(e.replace(/^\D+|,+/g,""))):void 0}});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){this._counter=-1,this._deferreds={}}function a(e){return"pending"===e.state()}function r(e){function t(){var t={};return d.each(["useDefaultSearch","key","load","byKey","lookup","totalCount","insert","update","remove"],function(){t[this]=e[this],delete e[this]}),new g(t)}function n(e){var t=e.type;return delete e.type,f.create(t,e)}function i(e){return new g({load:function(){return d.getJSON(e)}})}var o;return"string"==typeof e&&(e={paginate:!1,store:i(e)}),void 0===e&&(e=[]),e=d.isArray(e)||e instanceof f?{store:e}:d.extend({},e),void 0===e.store&&(e.store=[]),o=e.store,"load"in e?o=t():d.isArray(o)?o=new _(o):d.isPlainObject(o)&&(o=n(d.extend({},o))),e.store=o,e}function s(e){switch(e.length){case 0:return;case 1:return e[0]}return d.makeArray(e)}function l(e){return function(){var t=s(arguments);return void 0===t?this._storeLoadOptions[e]:void(this._storeLoadOptions[e]=t)}}function c(e,t,n){function i(e,n){return h.isArray(e)?n?o(e,n):d.map(e,t):e}function o(e,t){return d.map(e,function(e){var n={key:e.key,items:i(e.items,t-1)};return"aggregates"in e&&(n.aggregates=e.aggregates),n})}return i(e,n?p.normalizeSortingInfo(n).length:0)}var d=n(1),u=n(5),h=n(2),p=n(27),f=n(49),_=n(59),g=n(195),m=n(32),v=n(24).errors,x=n(41),w=n(138),y=h.isString,b=h.isNumber,C=h.isBoolean,k=h.isDefined,S="canceled";o.prototype.constructor=o,o.prototype.add=function(e){return this._counter+=1,this._deferreds[this._counter]=e,this._counter},o.prototype.remove=function(e){return delete this._deferreds[e]},o.prototype.cancel=function(e){return e in this._deferreds?(this._deferreds[e].reject(S),!0):!1};var T=new o,I=u.inherit({ctor:function(e){var t=this;e=r(e),this._store=e.store,this._storeLoadOptions=this._extractLoadOptions(e),this._mapFunc=e.map,this._postProcessFunc=e.postProcess,this._pageIndex=void 0!==e.pageIndex?e.pageIndex:0,this._pageSize=void 0!==e.pageSize?e.pageSize:20,this._loadingCount=0,this._loadQueue=this._createLoadQueue(),this._searchValue="searchValue"in e?e.searchValue:null,this._searchOperation=e.searchOperation||"contains",this._searchExpr=e.searchExpr,this._paginate=e.paginate,d.each(["onChanged","onLoadError","onLoadingChanged","onCustomizeLoadResult","onCustomizeStoreLoadOptions"],function(n,i){i in e&&t.on(i.substr(2,1).toLowerCase()+i.substr(3),e[i])}),this._init()},_init:function(){this._items=[],this._userData={},this._totalCount=-1,this._isLoaded=!1,k(this._paginate)||(this._paginate=!this.group()),this._isLastPage=!this._paginate},dispose:function(){this._disposeEvents(),delete this._store,this._delayedLoadTask&&this._delayedLoadTask.abort(),this._disposed=!0},_extractLoadOptions:function(e){var t={},n=["sort","filter","select","group","requireTotalCount"],i=this._store._customLoadOptions();return i&&(n=n.concat(i)),d.each(n,function(){t[this]=e[this]}),t},loadOptions:function(){return this._storeLoadOptions},items:function(){return this._items},pageIndex:function(e){return b(e)?(this._pageIndex=e,void(this._isLastPage=!this._paginate)):this._pageIndex},paginate:function(e){return C(e)?void(this._paginate!==e&&(this._paginate=e,this.pageIndex(0))):this._paginate},pageSize:function(e){return b(e)?void(this._pageSize=e):this._pageSize},isLastPage:function(){return this._isLastPage},sort:l("sort"),filter:function(){var e=s(arguments);return void 0===e?this._storeLoadOptions.filter:(this._storeLoadOptions.filter=e,void this.pageIndex(0))},group:l("group"),select:l("select"),requireTotalCount:function(e){return C(e)?void(this._storeLoadOptions.requireTotalCount=e):this._storeLoadOptions.requireTotalCount},searchValue:function(e){return arguments.length<1?this._searchValue:(this._searchValue=e,void this.pageIndex(0))},searchOperation:function(e){return y(e)?(this._searchOperation=e,void this.pageIndex(0)):this._searchOperation},searchExpr:function(e){var t=arguments.length;return 0===t?this._searchExpr:(t>1&&(e=d.makeArray(arguments)),this._searchExpr=e,void this.pageIndex(0))},store:function(){return this._store},key:function(){return this._store&&this._store.key()},totalCount:function(){return this._totalCount},isLoaded:function(){return this._isLoaded},isLoading:function(){return this._loadingCount>0},_createLoadQueue:function(){return w.create()},_changeLoadingCount:function(e){var t,n=this.isLoading();this._loadingCount+=e,t=this.isLoading(),n^t&&this.fireEvent("loadingChanged",[t])},_scheduleLoadCallbacks:function(e){var t=this;t._changeLoadingCount(1),e.always(function(){t._changeLoadingCount(-1)})},_scheduleFailCallbacks:function(e){var t=this;e.fail(function(){arguments[0]!==S&&t.fireEvent("loadError",arguments)})},_scheduleChangedCallbacks:function(e){var t=this;e.done(function(){t.fireEvent("changed")})},loadSingle:function(e,t){var n=this,i=d.Deferred(),o=this.key(),a=this._store,r=this._createStoreLoadOptions(),s=function(e){!k(e)||x.isEmpty(e)?i.reject(new v.Error("E4009")):i.resolve(n._applyMapFunction(d.makeArray(e))[0])};return this._scheduleFailCallbacks(i),arguments.length<2&&(t=e,e=o),delete r.skip,delete r.group,delete r.refresh,delete r.pageIndex,delete r.searchString,function(){return e===o||a instanceof g?a.byKey(t,r):(r.take=1,r.filter=r.filter?[r.filter,[e,t]]:[e,t],a.load(r))}().fail(i.reject).done(s),i.promise()},load:function(){function e(){return!n._disposed&&a(i)?n._loadFromStore(t,i):void 0}var t,n=this,i=d.Deferred();return this._scheduleLoadCallbacks(i),this._scheduleFailCallbacks(i),this._scheduleChangedCallbacks(i),t=this._createLoadOperation(i),this.fireEvent("customizeStoreLoadOptions",[t]),this._loadQueue.add(function(){return"number"==typeof t.delay?n._delayedLoadTask=h.executeAsync(e,t.delay):e(),i.promise()}),i.promise({operationId:t.operationId})},_createLoadOperation:function(e){var t=T.add(e),n=this._createStoreLoadOptions();return e.always(function(){T.remove(t)}),{operationId:t,storeLoadOptions:n}},reload:function(){return this._init(),this.load()},cancel:function(e){return T.cancel(e)},_addSearchOptions:function(e){this._disposed||(this.store()._useDefaultSearch?this._addSearchFilter(e):(e.searchOperation=this._searchOperation,e.searchValue=this._searchValue,e.searchExpr=this._searchExpr))},_createStoreLoadOptions:function(){var e=d.extend({},this._storeLoadOptions);return this._addSearchOptions(e),this._paginate&&this._pageSize&&(e.skip=this._pageIndex*this._pageSize,e.take=this._pageSize),e.userData=this._userData,e},_addSearchFilter:function(e){var t=this._searchValue,n=this._searchOperation,i=this._searchExpr,o=[];t&&(i||(i="this"),d.isArray(i)||(i=[i]),d.each(i,function(e,i){o.length&&o.push("or"),o.push([i,n,t])}),e.filter?e.filter=[o,e.filter]:e.filter=o)},_loadFromStore:function(e,t){function n(n,o){function r(){var a;n&&!d.isArray(n)&&n.data&&(o=n,n=n.data),a=d.extend({data:n,extra:o},e),i.fireEvent("customizeLoadResult",[a]),d.when(a.data).done(function(e){a.data=e,i._processStoreLoadResult(a,t)}).fail(t.reject)}i._disposed||a(t)&&r()}var i=this;return e.data?d.Deferred().resolve(e.data).done(n):this.store().load(e.storeLoadOptions).done(n).fail(t.reject)},_processStoreLoadResult:function(e,t){function n(){return o._isLoaded=!0,o._totalCount=isFinite(r.totalCount)?r.totalCount:-1,t.resolve(a,r)}function i(){o.store().totalCount(s).done(function(e){r.totalCount=e,n()}).fail(t.reject)}var o=this,a=d.makeArray(e.data),r=e.extra,s=e.storeLoadOptions;o._disposed||(a=o._applyPostProcessFunction(o._applyMapFunction(a)),d.isPlainObject(r)||(r={}),o._items=a,(!a.length||!o._paginate||o._pageSize&&a.length<o._pageSize)&&(o._isLastPage=!0),s.requireTotalCount&&!isFinite(r.totalCount)?i():n())},_applyMapFunction:function(e){return this._mapFunc?c(e,this._mapFunc,this.group()):e},_applyPostProcessFunction:function(e){return this._postProcessFunc?this._postProcessFunc(e):e}}).include(m);t.DataSource=I,t.normalizeDataSourceOptions=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t){e.exports=window.ko},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(34),r=n(10),s=n(57).resizeCallbacks,l=n(2),c=n(137),d=n(85),u=d.abstract,h="dx-rtl",p="dx-visibility-change-handler",f="VisibilityChange",_=d.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{width:void 0,height:void 0,rtlEnabled:a().rtlEnabled,disabled:!1})},ctor:function(e,t){this._$element=o(e),c.attachInstanceToElement(this._$element,this.constructor.publicName(),this,this._dispose),this.callBase(t)},_visibilityChanged:u,_dimensionChanged:u,_init:function(){this.callBase(),this._attachWindowResizeCallback()},_attachWindowResizeCallback:function(){if(this._isDimensionChangeSupported()){var e=this._windowResizeCallBack=o.proxy(this._dimensionChanged,this);s.add(e)}},_isDimensionChangeSupported:function(){return this._dimensionChanged!==u},_render:function(){this._toggleRTLDirection(this.option("rtlEnabled")),this._renderVisibilityChange(),this._renderDimensions()},_renderVisibilityChange:function(){this._isDimensionChangeSupported()&&this._attachDimensionChangeHandlers(),this._isVisibilityChangeSupported()&&(this.element().addClass(p),this._attachVisibilityChangeHandlers())},_renderDimensions:function(){var e=this.option("width"),t=this.option("height"),n=this.element();n.outerWidth(e),n.outerHeight(t)},_attachDimensionChangeHandlers:function(){var e=this,t="dxresize."+this.NAME+f;e.element().off(t).on(t,function(){e._dimensionChanged()})},_attachVisibilityChangeHandlers:function(){var e=this,t="dxhiding."+this.NAME+f,n="dxshown."+this.NAME+f;e._isHidden=!e._isVisible(),e.element().off(t).on(t,function(){e._checkVisibilityChanged("hiding")}).off(n).on(n,function(){e._checkVisibilityChanged("shown")})},_isVisible:function(){return this.element().is(":visible")},_checkVisibilityChanged:function(e){"hiding"===e&&this._isVisible()&&!this._isHidden?(this._visibilityChanged(!1),this._isHidden=!0):"shown"===e&&this._isVisible()&&this._isHidden&&(this._isHidden=!1,this._visibilityChanged(!0))},_isVisibilityChangeSupported:function(){return this._visibilityChanged!==u},_clean:o.noop,_modelByElement:function(){var e=this.option("modelByElement")||o.noop;return e(this.element())},_invalidate:function(){if(!this._updateLockCount)throw r.Error("E0007");this._requireRefresh=!0},_refresh:function(){this._clean(),this._render()},_dispose:function(){this.callBase(),this._clean(),this._detachWindowResizeCallback()},_detachWindowResizeCallback:function(){this._isDimensionChangeSupported()&&s.remove(this._windowResizeCallBack)},_toggleRTLDirection:function(e){this.element().toggleClass(h,e)},_createComponent:function(e,t,n){var i=this;n=n||{};var a=o.grep(["rtlEnabled","disabled"],function(e){return!(e in n)}),r=i.option("nestedComponentOptions")||o.noop;i._extendConfig(n,o.extend({rtlEnabled:this.option("rtlEnabled"),disabled:this.option("disabled")},r(this)));var s;if(l.isString(t)){var c=o(e)[t](n);s=c[t]("instance")}else e&&(s=t.getInstance(e),s?s.option(n):s=new t(e,n));if(s){var d=function(e){o.inArray(e.name,a)>=0&&s.option(e.name,e.value)};i.on("optionChanged",d),s.on("disposing",function(){i.off("optionChanged",d)})}return s},_extendConfig:function(e,t){o.each(t,function(t,n){e[t]=e.hasOwnProperty(t)?e[t]:n})},_defaultActionConfig:function(){return o.extend(this.callBase(),{context:this._modelByElement(this.element())})},_defaultActionArgs:function(){var e=this.element(),t=this._modelByElement(this.element());return o.extend(this.callBase(),{element:e,model:t})},_optionChanged:function(e){switch(e.name){case"width":case"height":this._renderDimensions();break;case"rtlEnabled":this._invalidate();break;case"disabled":break;default:this.callBase(e)}},endUpdate:function(){var e=!this._initializing&&!this._initialized;this.callBase.apply(this,arguments),this._updateLockCount||(e?this._render():this._requireRefresh&&(this._requireRefresh=!1,this._refresh()))},element:function(){return this._$element}});_.getInstance=function(e){return c.getInstanceByElement(e,this.publicName())},_.defaultOptions=function(e){this.prototype._customRules=this.prototype._customRules||[],this.prototype._customRules.push(e)},i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(30),s=function(e){return o.isArray(e)&&!e.length},l=function(e){return o.isArray(e)?e:[e]},c=function(e,t){if(!o.isArray(e)||0===e.length||!o.isArray(t)||0===t.length)return[];var n=[];return o.each(e,function(e,i){var a=o.inArray(i,t);-1!==a&&n.push(i)}),n},d=function(e,t){if(!o.isArray(e)||0===e.length)return[];if(!o.isArray(t)||0===t.length)return e.slice();var n=[];return o.each(e,function(e,i){var a=o.inArray(i,t);-1===a&&n.push(i)}),n},u=function(e,t,n,i){var s={},l=0;return o.each(e,function(e,i){e=i[t],a.isDefined(e)&&(s[e]=s[e]||[],i===n?s[e].unshift(i):s[e].push(i),delete i[t])}),r.orderEach(s,function(e,n){o.each(n,function(){e>=0&&(this[t]=l++)})}),o.each(e,function(){a.isDefined(this[t])||i&&!i(this)||(this[t]=l++)}),l};t.isEmpty=s,t.wrapToArray=l,t.intersection=c,t.removeDuplicates=d,t.normalizeIndexes=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(135),r=o.event,s=r.fixHooks,l=o.event.special,c={props:r.mouseHooks.props.concat(["pointerType","pointerId","pointers"])},d=new a,u=function(e,t){var n={};"noBubble"in t&&(n.noBubble=t.noBubble),"bindType"in t&&(n.bindType=t.bindType),"delegateType"in t&&(n.delegateType=t.delegateType),o.each(["setup","teardown","add","remove","trigger","handle","_default","dispose"],function(e,i){t[i]&&(n[i]=function(){var e=o.makeArray(arguments);return e.unshift(this),t[i].apply(t,e)})}),s[e]=c,d.fire(e,n)};u.callbacks=d;var h=function(e,t){l[e]=t};d.add(h),i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(88),a=n(10);i.exports=o(a.ERROR_MESSAGES,{E3001:"Routing rule is not found for the '{0}' URI.",E3002:"The passed object cannot be formatted into a URI string by the application's router. An appropriate route should be registered.",E3003:"Unable to navigate. Application is being initialized.",E3004:"Cannot execute the command: {0}.",E3005:"The '{0}' command {1} is not registered in the application's command mapping. Go to http://dxpr.es/1bTjfj1 for more details.",E3006:"Unknown navigation target: '{0}'. Use the 'current', 'back' or 'blank' values.",E3007:"Error while restoring the application state. The state has been cleared. Refresh the page.",E3008:"Unable to go back.",E3009:"Unable to go forward.",E3010:"The command's 'id' option should be specified.\r\nProcessed markup: {0}\n",E3011:"Layout controller cannot be resolved. There are no appropriate layout controllers for the current context. Check browser console for details.",E3012:"Layout controller cannot be resolved. Two or more layout controllers suit the current context. Check browser console for details.",E3013:"The '{0}' template with the '{1}' name is not found. Make sure the case is correct in the specified view name and the template fits the current context.",E3014:"All the children of the dxView element should be either of the dxCommand or dxContent type.\r\nProcessed markup: {0}",E3015:"The 'exec' method should be called before the 'finalize' method.",E3016:"Unknown transition type '{0}'.",E3018:"Unable to parse options.\nMessage: {0};\nOptions value: {1}.",E3019:"View templates should be updated according to the 13.1 changes. Go to http://dxpr.es/15ikrJA for more details.",E3020:"Concurrent templates are found:\r\n{0}Target device:\r\n{1}.",E3021:"Remote template cannot be loaded.\r\nUrl:{0}\r\nError:{1}.",E3022:"Cannot initialize the HtmlApplication component.",E3023:"Navigation item is not found",E3024:"Layout controller is not initialized",W3001:"A view with the '{0}' key doesn't exist.",W3002:"A view with the '{0}' key has already been released.",W3003:"Layout resolving context:\n{0}\nAvailable layout controller registrations:\n{1}\n",W3004:"Layout resolving context:\n{0}\nConcurent layout controller registrations for the context:\n{1}\n",W3005:'Direct hash-based navigation is detected in a mobile application. Use data-bind="dxAction: url" instead of href="#url" to avoid navigation issues.\nFound markup:\n{0}\n'})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(43),a=n(11),r=n(3),s=n(144).MarkupComponent;n(81);var l=s.inherit({_setDefaultOptions:function(){this.callBase(),this.option({name:null,title:null})},ctor:function(){this._id=a.uniqueId(),this.callBase.apply(this,arguments)},_render:function(){this.callBase(),this.element().addClass("dx-view"),this.element().attr("dx-data-template-id",this._id)},getId:function(){return this._id}}),c=s.inherit({_setDefaultOptions:function(){this.callBase(),this.option({name:null})},_render:function(){this.callBase(),this.element().addClass("dx-layout")}}),d=s.inherit({_setDefaultOptions:function(){this.callBase(),this.option({viewName:null})},_render:function(){this.callBase(),this.element().addClass("dx-view-placeholder")}}),u=function(e,t,n,i){"absolute"===i?e.addClass("dx-transition-absolute"):e.addClass("dx-transition-static"),e.addClass("dx-transition").addClass("dx-transition-"+n).addClass("dx-transition-"+t).attr("data-dx-transition-type",t).attr("data-dx-transition-name",n)},h=function(e){e.addClass("dx-transition-inner-wrapper")},p=s.inherit({_setDefaultOptions:function(){this.callBase(),this.option({name:null,type:void 0,animation:"slide"})},_render:function(){this.callBase();var e=this.element();u(e,this.option("type")||this.option("animation"),this.option("name"),"absolute"),e.wrapInner("<div/>"),h(e.children()),this.option("type")&&o.log("W0003","dxTransition","type","15.1","Use the 'animation' property instead")},_clean:function(){this.callBase(),this.element().empty()}}),f=s.inherit({_setDefaultOptions:function(){this.callBase(),this.option({name:null,transition:void 0,animation:"none",contentCssPosition:"absolute"})},_render:function(){this.callBase();var e=this.element();e.addClass("dx-content-placeholder").addClass("dx-content-placeholder-"+this.option("name")),e.attr("data-dx-content-placeholder-name",this.option("name")),u(e,this.option("transition")||this.option("animation"),this.option("name"),this.option("contentCssPosition")),this.option("transition")&&o.log("W0003","dxContentPlaceholder","transition","15.1","Use the 'animation' property instead")}}),_=s.inherit({_setDefaultOptions:function(){this.callBase(),this.option({targetPlaceholder:null})},_optionChanged:function(){this._refresh()},_clean:function(){this.callBase(),this.element().removeClass(this._currentClass)},_render:function(){this.callBase();var e=this.element();e.addClass("dx-content"),this._currentClass="dx-content-"+this.option("targetPlaceholder"),e.attr("data-dx-target-placeholder-id",this.option("targetPlaceholder")),e.addClass(this._currentClass),h(e)}});r("dxView",l),r("dxLayout",c),r("dxViewPlaceholder",d),r("dxContentPlaceholder",f),r("dxTransition",p),r("dxContent",_),t.dxView=l,t.dxLayout=c,t.dxViewPlaceholder=d,t.dxContentPlaceholder=f,t.dxTransition=p,t.dxContent=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t){e.exports=window.Globalize},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(11).triggerShownEvent,r=n(5),s=r.abstract,l=o.Callbacks(),c=r.inherit({ctor:function(e,t){this._element=o(e),this._owner=t},owner:function(){return this._owner},render:function(e,t,n){e instanceof o&&(t=e,e=void 0),t&&(e=this._prepareDataForContainer(e,t));var i=this._renderCore(e,n,t);return this._ensureResultInContainer(i,t),l.fire(i,t),i},_ensureResultInContainer:function(e,t){if(t){var n=o.contains(t.get(0),e.get(0));if(t.append(e),!n){var i=o.contains(document.body,t.get(0));i&&a(e)}}},source:function(){return this._element.clone()},_prepareDataForContainer:function(e){return e},_renderCore:s,dispose:function(){this._owner=null}});i.exports=c,i.exports.renderedCallbacks=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(161),s="dx-datagrid-nodata",l="dx-indicator-alignment-",c="dx-column-indicators",d="dx-group-panel-item";t.renderNoDataText=function(e){var t=this;e=e||this.element();var n=e.find("."+s),i=this._dataController.isEmpty(),r=this._dataController.isLoading(),l=this.option("rtlEnabled");n.length||(n=o("<span>").addClass(s).appendTo(e)),i&&!r?(n.removeClass("dx-hidden").text(t._getNoDataText()),a.deferUpdate(function(){var e=n.height(),t=n.width();a.deferRender(function(){n.css({marginTop:-Math.floor(e/2),marginRight:l?-Math.floor(t/2):0,marginLeft:l?0:-Math.floor(t/2)})})})):n.addClass("dx-hidden")},t.renderLoadPanel=function(e,t,n){var i,a=this;a._loadPanel&&a._loadPanel.element().remove(),i=a.option("loadPanel"),i&&("auto"===i.enabled?!n:i.enabled)?(i=o.extend({shading:!1,message:i.text,position:{of:e},container:e},i),a._loadPanel=a._createComponent(o("<div>").appendTo(t),r,i)):a._loadPanel=null;
},t.columnStateMixin={_applyColumnState:function(e){var t=this,n=this.option("rtlEnabled"),i=t._getColumnAlignment(e.column.alignment,n),a=o.extend(!0,{columnAlignment:i},e),r=a.rootElement.hasClass(d),s=t._createIndicatorContainer(a,r),c=o("<span>").addClass(t._getIndicatorClassName(e.name)),u=function(){return n?"left"===i?"right":"left":i};return a.container=s,a.indicator=c,t._renderIndicator(a),s[!r&&e.showColumnLines||"left"!==u()?"prependTo":"appendTo"](e.rootElement).addClass(l+i),c},_getIndicatorClassName:o.noop,_getColumnAlignment:function(e,t){return t=t||this.option("rtlEnabled"),"center"!==e?e:a.getDefaultAlignment(t)},_createIndicatorContainer:function(e,t){var n=e.rootElement.find("."+c),i="left"===e.columnAlignment?"right":"left";return n.length||(n=o("<div>").addClass(c)),n.css("float",e.showColumnLines&&!t?i:null)},_getIndicatorContainer:function(e){return e&&e.find("."+c)},_renderIndicator:function(e){var t=e.container,n=e.indicator;t&&n&&t.append(n)},_updateIndicators:function(e){var t,n,i=this,o=i.getColumns(),a=i.getColumnElements();for(n=0;n<o.length;n++)t=a.eq(n),i._updateIndicator(t,o[n],e)},_updateIndicator:function(e,t,n){return t.command?void 0:this._applyColumnState({name:n,rootElement:e,column:t,showColumnLines:this.option("showColumnLines")})}};var u=3;t.equalKeys=function(e,n,i){var o,r;if(i=i||0,u>i){if(a.isObject(e)&&a.isObject(n)){for(o in e)if(e.hasOwnProperty(o)&&!t.equalKeys(e[o],n[o],i+1))return!1;for(o in n)if(!(o in e))return!1;return!0}if(a.isArray(e)&&a.isArray(n)){if(e.length!==n.length)return!1;for(r=0;r<e.length;r++)if(!t.equalKeys(e[r],n[r],i+1))return!1;return!0}return a.isDate(e)&&a.isDate(n)?e.getTime()===n.getTime():e===n}return!0},t.getIndexByKey=function(e,n,i){var o,r=-1;if(a.isArray(n)){i=arguments.length<=2?"key":i;for(var s=0;s<n.length;s++)if(o=a.isDefined(i)?n[s][i]:n[s],t.equalKeys(e,o)){r=s;break}}return r},t.exportMixin={_getEmptyCell:function(){return{text:"",value:void 0,colspan:1,rowspan:1}},_defaultSetter:function(e){return e=parseInt(e,10),e?e:1},_makeRowOffset:function(e){var t=0,n=e.length-1,i=e[n],a=i.length;o.each(e,function(n){this[a]&&this[a].rowspan+n>e.length-1&&(t=Math.max.apply(this,[this[a].colspan,t]))});for(var r=0;t>r;r++)i.push(this._cloneItem(e[e.length-2][a&&a-1||0]));t>0&&this._makeRowOffset(e)},_cloneItem:function(e){return o.extend({},e,this._getEmptyCell())},_prepareItems:function(e,t){var n,i,a,r,s=this,l=[];for(r=0;r<t.length;r++){i=[],l.push(i);do for(s._makeRowOffset(l),a=i.length,i.push(t[r].shift()),i[i.length-1]?(i[i.length-1].colspan=s._defaultSetter(i[i.length-1].colspan),i[i.length-1].rowspan=s._defaultSetter(i[i.length-1].rowspan)):i[i.length-1]=o({},s._getEmptyCell()),n=1;n<i[a].colspan;n++)i.push(s._cloneItem(i[i.length-1]));while(t[r].length);for(;i.length<e;)i.push(s._cloneItem(i[i.length-1]))}return l}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i,o;i=[n(1)],o=function(e){var t="dx-inkripple",n="dx-inkripple-wave",i="dx-inkripple-showing",o="dx-inkripple-hiding",a=2,r=4e3,s=300,l=1e3,c=0,d=function(t){t=t||{},void 0===t.useHoldAnimation&&(t.useHoldAnimation=!0);var n={waveSizeCoefficient:t.waveSizeCoefficient||a,isCentered:t.isCentered||!1,wavesNumber:t.wavesNumber||1,durations:g(t.useHoldAnimation)};return{showWave:e.proxy(f,null,n),hideWave:e.proxy(v,null,n)}},u=function(n){var i=n.children("."+t);return 0===i.length&&(i=e("<div>").addClass(t).appendTo(n)),i},h=function(t,i){for(var o=u(t),a=o.children("."+n),r=a.length;i>r;r++){var s=e("<div>").appendTo(o).addClass(n);a.push(s[0])}return a},p=function(e,t){var n,i,o=t.element,a=o.outerWidth(),s=o.outerHeight(),l=parseInt(Math.sqrt(a*a+s*s)),c=Math.min(r,parseInt(l*e.waveSizeCoefficient));if(e.isCentered)n=(a-c)/2,i=(s-c)/2;else{var d=t.jQueryEvent,u=t.element.offset(),h=d.pageX-u.left,p=d.pageY-u.top;n=h-c/2,i=p-c/2}return{left:n,top:i,height:c,width:c}},f=function(t,n){var i=h(n.element,t.wavesNumber).eq(n.wave||c);t.hidingTimeout&&clearTimeout(t.hidingTimeout),m(i),i.css(p(t,n)),setTimeout(e.proxy(_,null,t,i),0)},_=function(e,t){var n=e.durations.showingScale+"ms";t.addClass(i).css("transition-duration",n)},g=function(e){return{showingScale:e?l:s,hidingScale:s,hidingOpacity:s}},m=function(e){e.removeClass(o).css("transition-duration","")},v=function(t,n){var a=h(n.element,n.wavesNumber).eq(n.wave||c),r=t.durations,s=r.hidingScale+"ms, "+r.hidingOpacity+"ms";a.addClass(o).removeClass(i).css("transition-duration",s);var l=Math.max(r.hidingScale,r.hidingOpacity);t.hidingTimeout=setTimeout(e.proxy(m,null,a),l)};return{render:d}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return e=e.groupBy(t[0].selector),t.length>1&&(e=e.select(function(e){return r.extend({},e,{items:o(f(e.items),t.slice(1)).toArray()})})),e}function a(e,t){var n=[];return r.each(e,function(e,i){var o=r.grep(t,function(e){return i.selector===e.selector});o.length<1&&n.push(i)}),n.concat(t)}var r=n(1),s=n(5),l=s.abstract,c=n(32),d=n(24),u=n(27),h=u.normalizeSortingInfo,p=n(16).compileGetter,f=n(35),_={},g=s.inherit({ctor:function(e){var t=this;e=e||{},r.each(["onLoaded","onLoading","onInserted","onInserting","onUpdated","onUpdating","onRemoved","onRemoving","onModified","onModifying"],function(n,i){i in e&&t.on(i.slice(2).toLowerCase(),e[i])}),this._key=e.key,this._errorHandler=e.errorHandler,this._useDefaultSearch=!0},_customLoadOptions:function(){return null},key:function(){return this._key},keyOf:function(e){return this._keyGetter||(this._keyGetter=p(this.key())),this._keyGetter(e)},_requireKey:function(){if(!this.key())throw d.errors.Error("E4005")},load:function(e){var t=this;return e=e||{},this.fireEvent("loading",[e]),this._withLock(this._loadImpl(e)).done(function(n,i){t.fireEvent("loaded",[n,e])})},_loadImpl:function(e){var t=e.filter,n=e.sort,i=e.select,s=e.group,l=e.skip,c=e.take,d=this.createQuery(e);return t&&(d=d.filter(t)),s&&(s=h(s)),(n||s)&&(n=h(n||[]),s&&(n=a(s,n)),r.each(n,function(e){d=d[e?"thenBy":"sortBy"](this.selector,this.desc)})),i&&(d=d.select(i)),s&&(d=o(d,s)),(c||l)&&(d=d.slice(l||0,c)),d.enumerate()},_withLock:function(e){var t=r.Deferred();return e.done(function(){var e=this,n=arguments;u.processRequestResultLock.promise().done(function(){t.resolveWith(e,n)})}).fail(function(){t.rejectWith(this,arguments)}),t},createQuery:l,totalCount:function(e){return this._totalCountImpl(e)},_totalCountImpl:function(e){e=e||{};var t=this.createQuery(),n=e.group,i=e.filter;return i&&(t=t.filter(i)),n&&(n=h(n),t=o(t,n)),t.count()},byKey:function(e,t){return this._addFailHandlers(this._withLock(this._byKeyImpl(e,t)))},_byKeyImpl:l,insert:function(e){var t=this;return t.fireEvent("modifying"),t.fireEvent("inserting",[e]),t._addFailHandlers(t._insertImpl(e).done(function(e,n){t.fireEvent("inserted",[e,n]),t.fireEvent("modified")}))},_insertImpl:l,update:function(e,t){var n=this;return n.fireEvent("modifying"),n.fireEvent("updating",[e,t]),n._addFailHandlers(n._updateImpl(e,t).done(function(e,t){n.fireEvent("updated",[e,t]),n.fireEvent("modified")}))},_updateImpl:l,remove:function(e){var t=this;return t.fireEvent("modifying"),t.fireEvent("removing",[e]),t._addFailHandlers(t._removeImpl(e).done(function(e){t.fireEvent("removed",[e]),t.fireEvent("modified")}))},_removeImpl:l,_addFailHandlers:function(e){return e.fail(this._errorHandler,d._errorHandler)}}).include(c);g.create=function(e,t){if(!(e in _))throw d.errors.Error("E4020",e);return new _[e](t)},g.inherit=function(e){return function(t,n){var i=e.apply(this,[t]);return n&&(_[n]=i),i}}(g.inherit),i.exports=g,i.exports.multiLevelGroup=o,i.exports.arrangeSortingInfo=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(22),r=n(15),s=n(53).compare,l=n(51),c=l.value,d=l.changeCallback,u=n(99).hideCallback,h=n(66),p=n(62).fitIntoRange,f=n(11),_=n(2),g=n(6),m=n(3),v=n(18),x=n(166),w=n(95),y=n(63),b=n(4),C=n(13),k=n(178),S="dx-overlay",T="dx-overlay-wrapper",I="dx-overlay-content",D="dx-overlay-shader",E="dx-overlay-modal",A="dx-state-invisible",B="content",M="dx-rtl",O=["onShowing","onShown","onHiding","onHidden","onPositioning","onPositioned","onResizeStart","onResize","onResizeEnd"],P=1500,R=[],V="dx-state-disabled",F=9,L=g.real(),H=L.version,z="ios"===L.platform,N=z&&s(H,[7,1])<0,W="android"===L.platform&&0===s(H,[4,0],2)&&-1===navigator.userAgent.indexOf("Chrome"),G=function(e){if(N&&e.width(),W){var t=e.parents(),n=t.is(".dx-scrollable-native");n||(t.css("backface-visibility","hidden"),t.css("backface-visibility"),t.css("backface-visibility","visible"))}},$=function(e){return e&&o(e instanceof o.Event?e.target:e)};o(document).on(C.down,function(e){for(var t=R.length-1;t>=0;t--)if(!R[t]._proxiedDocumentDownHandler(e))return});var q=v.inherit({_supportedKeys:function(){var e=5,t=function(e,t,n){if(this.option("dragEnabled")){n.preventDefault(),n.stopPropagation();var i=this._allowedOffsets(),o={top:p(e,-i.top,i.bottom),left:p(t,-i.left,i.right)};this._changePosition(o)}};return o.extend(this.callBase(),{escape:function(e){this.hide()},upArrow:o.proxy(t,this,-e,0),downArrow:o.proxy(t,this,e,0),leftArrow:o.proxy(t,this,0,-e),rightArrow:o.proxy(t,this,0,e)})},_getDefaultOptions:function(){return o.extend(this.callBase(),{activeStateEnabled:!1,visible:!1,deferRendering:!0,shading:!0,shadingColor:"",position:{my:"center",at:"center"},width:function(){return.8*o(window).width()},minWidth:null,maxWidth:null,height:function(){return.8*o(window).height()},minHeight:null,maxHeight:null,animation:{show:{type:"pop",duration:300,from:{scale:.55}},hide:{type:"pop",duration:300,to:{opacity:0,scale:.55},from:{opacity:1,scale:1}}},closeOnOutsideClick:!1,closeOnBackButton:!0,onShowing:null,onShown:null,onHiding:null,onHidden:null,contentTemplate:"content",dragEnabled:!1,resizeEnabled:!1,onResizeStart:null,onResize:null,onResizeEnd:null,onContentReady:null,target:void 0,container:void 0,hideTopOverlayHandler:void 0,closeOnTargetScroll:!1,onPositioned:null,boundaryOffset:{h:0,v:0},propagateOutsideClick:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){var t=g.real(),n=t.platform,i=t.version;return"android"===n&&s(i,[4,2])<0},options:{animation:{show:{type:"fade",duration:400},hide:{type:"fade",duration:400,to:{opacity:0},from:{opacity:1}}}}}])},_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{animation:!0})},_getAnonymousTemplateName:function(){return B},_wrapper:function(){return this._$wrapper},_container:function(){return this._$content},_eventBindingTarget:function(){return this._$content},_init:function(){this.callBase(),this._initActions(),this._initCloseOnOutsideClickHandler(),this._initTabTerminatorHandler(),this._$wrapper=o("<div>").addClass(T),this._$content=o("<div>").addClass(I);var e=this.element();this._$wrapper.addClass(e.attr("class")),e.addClass(S),this._$wrapper.attr("data-bind","dxControlsDescendantBindings: true"),this._$wrapper.on("MSPointerDown",o.noop),this._$wrapper.on("focusin",function(e){e.stopPropagation()}),this._toggleViewPortSubscription(!0)},_initOptions:function(e){this._initTarget(e.target),this._initContainer(e.container),this._initHideTopOverlayHandler(e.hideTopOverlayHandler),this.callBase(e)},_initTarget:function(e){if(_.isDefined(e)){var t=this.option();o.each(["position.of","animation.show.from.position.of","animation.show.to.position.of","animation.hide.from.position.of","animation.hide.to.position.of"],function(n,i){for(var a=i.split("."),r=t;r;){if(1===a.length){o.isPlainObject(r)&&(r[a.shift()]=e);break}r=r[a.shift()]}})}},_initContainer:function(e){e=void 0===e?c():e;var t=this.element(),n=t.closest(e);n.length||(n=o(e).first()),this._$container=n.length?n:t.parent()},_initHideTopOverlayHandler:function(e){this._hideTopOverlayHandler=void 0!==e?e:o.proxy(this._defaultHideTopOverlayHandler,this)},_defaultHideTopOverlayHandler:function(){this.hide()},_initActions:function(){this._actions={},o.each(O,o.proxy(function(e,t){this._actions[t]=this._createActionByOption(t,{excludeValidators:["disabled","readOnly"]})||o.noop},this))},_initCloseOnOutsideClickHandler:function(){var e=this;this._proxiedDocumentDownHandler=function(){return e._documentDownHandler.apply(e,arguments)}},_documentDownHandler:function(e){if(this._showAnimationProcessing)return void this._stopAnimation();var t=this.option("closeOnOutsideClick");if(o.isFunction(t)&&(t=t(e)),t){var n=this._$content,i=!n.is(e.target)&&!o.contains(n.get(0),e.target);i&&(this.option("shading")&&e.preventDefault(),this.hide())}return this.option("propagateOutsideClick")},_isTopOverlay:function(){var e=this._overlayStack();return e[e.length-1]===this},_overlayStack:function(){return R},_zIndexInitValue:function(){return P},_toggleViewPortSubscription:function(e){d.remove(this._viewPortChangeHandle),e&&(this._viewPortChangeHandle=o.proxy(this._viewPortChangeHandler,this),d.add(this._viewPortChangeHandle))},_viewPortChangeHandler:function(){this._initContainer(this.option("container")),this._refresh()},_renderVisibilityAnimate:function(e){return this._stopAnimation(),e?this._show():this._hide()},_normalizePosition:function(){this._position=this.option("position")},_getAnimationConfig:function(){var e=this.option("animation");return o.isFunction(e)&&(e=e.call(this)),e},_show:function(){var e=this,t=o.Deferred();if(this._parentHidden=this._isParentHidden(),t.done(function(){delete e._parentHidden}),this._parentHidden)return t.resolve();if(this._currentVisible)return o.when().promise();this._currentVisible=!0,this._normalizePosition();var n=e._getAnimationConfig()||{},i=this._normalizeAnimation(n.show,"to"),a=i&&i.start||o.noop,r=i&&i.complete||o.noop;if(this._isHidingActionCanceled)delete this._isHidingActionCanceled,t.resolve();else{var s=function(){this._renderVisibility(!0),this._animate(i,function(){e.option("focusStateEnabled")&&e._focusTarget().focus(),r.apply(this,arguments),e._showAnimationProcessing=!1,e._actions.onShown(),t.resolve()},function(){a.apply(this,arguments),e._showAnimationProcessing=!0})}.bind(this);this.option("templatesRenderAsynchronously")?this._asyncShowTimeout=setTimeout(s):s()}return t.promise()},_normalizeAnimation:function(e,t){return e&&e[t]&&(e=o.extend({type:"slide"},e),o.extend(e[t],{position:this._position})),e},_hide:function(){if(!this._currentVisible)return o.when().promise();this._currentVisible=!1;var e=this,t=o.Deferred(),n=e._getAnimationConfig()||{},i=this._normalizeAnimation(n.hide,"from"),a=i&&i.complete||o.noop,r={cancel:!1};return this._actions.onHiding(r),r.cancel?(this._isHidingActionCanceled=!0,this.option("visible",!0),t.resolve()):(this._forceFocusLost(),this._toggleShading(!1),this._toggleSubscriptions(!1),this._animate(i,function(){e._renderVisibility(!1),a.apply(this,arguments),e._actions.onHidden(),t.resolve()})),t.promise()},_forceFocusLost:function(){document.activeElement&&this._$content.find(document.activeElement).length&&document.activeElement.blur()},_animate:function(e,t,n){if(e){n=n||e.start||o.noop;var i=this._$content;a.animate(this._$content,o.extend({},e,{start:function(){i.css("pointer-events","none"),n.apply(this,arguments)},complete:function(){i.css("pointer-events",""),t.apply(this,arguments)}}))}else t()},_stopAnimation:function(){a.stop(this._$content,!0)},_renderVisibility:function(e){e&&this._isParentHidden()||(this._currentVisible=e,this._stopAnimation(),clearTimeout(this._asyncShowTimeout),e||f.triggerHidingEvent(this._$content),this._toggleVisibility(e),this._$content.toggleClass(A,!e),this._updateZIndexStackPosition(e),e?(this._renderContent(),this._actions.onShowing(),this._moveToContainer(),this._renderGeometry(),f.triggerShownEvent(this._$content),f.triggerResizeEvent(this._$content)):this._moveFromContainer(),this._toggleShading(e),this._toggleSubscriptions(e))},_updateZIndexStackPosition:function(e){var t=this._overlayStack(),n=o.inArray(this,t);if(e){if(-1===n){var i=t.length;this._zIndex=(i?t[i-1]._zIndex:this._zIndexInitValue())+1,t.push(this)}this._$wrapper.css("z-index",this._zIndex),this._$content.css("z-index",this._zIndex)}else-1!==n&&t.splice(n,1)},_toggleShading:function(e){this._$wrapper.toggleClass(E,this.option("shading")&&!this.option("container")),this._$wrapper.toggleClass(D,e&&this.option("shading")),this._$wrapper.css("background-color",this.option("shading")?this.option("shadingColor"):""),this._toggleTabTerminator(e&&this.option("shading"))},_initTabTerminatorHandler:function(){var e=this;this._proxiedTabTerminatorHandler=function(){e._tabKeyHandler.apply(e,arguments)}},_toggleTabTerminator:function(e){var t=b.addNamespace("keydown",this.NAME);e?o(document).on(t,this._proxiedTabTerminatorHandler):o(document).off(t,this._proxiedTabTerminatorHandler)},_tabKeyHandler:function(e){if(e.keyCode===F&&this._isTopOverlay()){var t=this._$wrapper.find(w.tabbable),n=t.first(),i=t.last(),a=!e.shiftKey&&e.target===i.get(0),r=e.shiftKey&&e.target===n.get(0),s=0===t.length,l=-1===o.inArray(e.target,t);(a||r||s||l)&&(e.preventDefault(),(e.shiftKey?i:n).focusin().focus())}},_toggleSubscriptions:function(e){this._toggleHideTopOverlayCallback(e),this._toggleParentsScrollSubscription(e)},_toggleHideTopOverlayCallback:function(e){this._hideTopOverlayHandler&&(e&&this.option("closeOnBackButton")?u.add(this._hideTopOverlayHandler):u.remove(this._hideTopOverlayHandler))},_toggleParentsScrollSubscription:function(e){if(this._position){var t=this._position.of||o(),n=this.option("closeOnTargetScroll"),i=$(t).parents(),a=b.addNamespace("scroll",this.NAME);"generic"===g.real().platform&&(i=i.add(window)),this._proxiedTargetParentsScrollHandler=this._proxiedTargetParentsScrollHandler||o.proxy(function(e){this._targetParentsScrollHandler(e)},this),o().add(this._$prevTargetParents).off(a,this._proxiedTargetParentsScrollHandler),e&&n&&(i.on(a,this._proxiedTargetParentsScrollHandler),this._$prevTargetParents=i)}},_targetParentsScrollHandler:function(e){var t=!1,n=this.option("closeOnTargetScroll");o.isFunction(n)&&(t=n(e)),t||this._showAnimationProcessing||this.hide()},_render:function(){this.callBase(),this._$content.appendTo(this.element()),this._renderVisibilityAnimate(this.option("visible"))},_renderContent:function(){var e=!this._currentVisible&&this.option("deferRendering"),t=this.option("visible")&&this._isParentHidden();return t?void(this._isHidden=!0):void(this._contentAlreadyRendered||e||(this._contentAlreadyRendered=!0,this.callBase()))},_isParentHidden:function(){if(void 0!==this._parentHidden)return this._parentHidden;var e=this.element().parent();if(e.is(":visible"))return!1;var t=!1;return e.add(e.parents()).each(function(){var e=o(this);return"none"===e.css("display")?(t=!0,!1):void 0}),t||!o.contains(document,e.get(0))},_renderContentImpl:function(){var e=this.element();this._$content.appendTo(e);var t=this._getTemplate(this.option("contentTemplate"));t&&t.render(this.content()),this._renderDrag(),this._renderResize(),this._renderScrollTerminator()},_renderDrag:function(){var e=this._getDragTarget();if(e){var t=b.addNamespace(y.start,this.NAME),n=b.addNamespace(y.move,this.NAME);e.off(t).off(n),this.option("dragEnabled")&&e.on(t,o.proxy(this._dragStartHandler,this)).on(n,o.proxy(this._dragUpdateHandler,this))}},_renderResize:function(){this._createComponent(this._$content,k,{handles:this.option("resizeEnabled")?"all":"none",onResizeEnd:o.proxy(this._resizeEndHandler,this),onResize:o.proxy(this._actions.onResize,this),onResizeStart:o.proxy(this._actions.onResizeStart,this),minHeight:100,minWidth:100,area:this._$container})},_resizeEndHandler:function(){this._positionChangeHandled=!0,this._dimensionChangeHandled=!0,this._actions.onResizeEnd()},_renderScrollTerminator:function(){var e=this._wrapper(),t=b.addNamespace(y.move,this.NAME);e.off(t).on(t,{validate:function(){return!0},getDirection:function(){return"both"},_toggleGestureCover:o.noop,_clearSelection:o.noop,isNative:!0},function(e){"mousemove"!==e.originalEvent.originalEvent.type&&e.preventDefault()})},_getDragTarget:function(){return this.content()},_dragStartHandler:function(e){e.targetElements=[],this._prevOffset={x:0,y:0};var t=this._allowedOffsets();e.maxTopOffset=t.top,e.maxBottomOffset=t.bottom,e.maxLeftOffset=t.left,e.maxRightOffset=t.right},_deltaSize:function(){var e=this._$content,t=this._$container,n=e.outerWidth(),i=e.outerHeight(),o=t.width(),a=t.height();return{width:o-n,height:a-i}},_dragUpdateHandler:function(e){var t=e.offset,n=this._prevOffset,i={top:t.y-n.y,left:t.x-n.x};this._changePosition(i),this._prevOffset=t},_changePosition:function(e){var t=r.locate(this._$content);r.move(this._$content,{left:t.left+e.left,top:t.top+e.top}),this._positionChangeHandled=!0},_allowedOffsets:function(){var e=r.locate(this._$content),t=this._deltaSize(),n=t.height>=0&&t.width>=0,i=this.option("boundaryOffset");return{top:n?e.top+i.v:0,bottom:n?-e.top+t.height-i.v:0,left:n?e.left+i.h:0,right:n?-e.left+t.width-i.h:0}},_fireContentReadyAction:function(){this.option("visible")&&this._moveToContainer(),this.callBase.apply(this,arguments)},_moveFromContainer:function(){this._$content.appendTo(this.element()),this._detachWrapperToContainer()},_detachWrapperToContainer:function(){this._$wrapper.detach()},_moveToContainer:function(){this._attachWrapperToContainer(),this._$content.appendTo(this._$wrapper)},_attachWrapperToContainer:function(){var e=this.element();this._$container&&this._$container[0]!==e.parent()[0]?this._$wrapper.appendTo(this._$container):this._$wrapper.appendTo(e)},_renderGeometry:function(){this.option("visible")&&this._renderGeometryImpl()},_renderGeometryImpl:function(){this._stopAnimation(),this._normalizePosition(),this._renderShading(),this._renderDimensions();var e=this._renderPosition();this._actions.onPositioned({position:e})},_renderShading:function(){var e=this._$wrapper,t=this._getContainer();e.css("position",this._isWindow(t)&&!z?"fixed":"absolute"),this._renderShadingDimensions(),this._renderShadingPosition()},_renderShadingPosition:function(){if(this.option("shading")){var e=this._getContainer();h.setup(this._$wrapper,{my:"top left",at:"top left",of:e})}},_renderShadingDimensions:function(){if(this.option("shading")){var e=this._getContainer(),t=this._isWindow(e)?"100%":e.outerWidth(),n=this._isWindow(e)?"100%":e.outerHeight();this._$wrapper.css({width:t,height:n})}},_isWindow:function(e){return!!e&&o.isWindow(e.get(0))},_getContainer:function(){var e=this._position,t=this.option("container"),n=e?e.of||window:null;return $(t||n)},_renderDimensions:function(){if(this._$content.css({minWidth:this.option("minWidth"),maxWidth:this.option("maxWidth"),minHeight:this.option("minHeight"),maxHeight:this.option("maxHeight")}),this._dimensionChangeHandled){var e=this._$content,t=this._$container;e.outerWidth(Math.min(e.outerWidth(),t.width())).outerHeight(Math.min(e.outerHeight(),t.height()))}else this._$content.outerWidth(this.option("width")).outerHeight(this.option("height"))},_renderPosition:function(){if(!this._positionChangeHandled){this._renderOverlayBoundaryOffset(),r.resetPosition(this._$content);var e=h.setup(this._$content,this._position);return G(this._$content),this._actions.onPositioning(),e}var t=this._allowedOffsets();this._changePosition({top:p(0,-t.top,t.bottom),left:p(0,-t.left,t.right)})},_renderOverlayBoundaryOffset:function(){var e=this.option("boundaryOffset");this._$content.css("margin",e.v+"px "+e.h+"px")},_focusTarget:function(){return this._$content},_attachKeyboardEvents:function(){this._keyboardProcessor=new x({element:this._$content,handler:this._keyboardHandler,context:this})},_keyboardHandler:function(e){var t=e.originalEvent,n=o(t.target);n.is(this._$content)&&this.callBase.apply(this,arguments)},_isVisible:function(){return this.option("visible")},_visibilityChanged:function(e){e?this.option("visible")&&this._renderVisibilityAnimate(e):this._renderVisibilityAnimate(e)},_dimensionChanged:function(){this._renderGeometry()},_clean:function(){this._contentAlreadyRendered||this.content().empty(),this._renderVisibility(!1),this._cleanFocusState()},_dispose:function(){a.stop(this._$content,!1),clearTimeout(this._deferShowTimer),this._toggleViewPortSubscription(!1),this._toggleSubscriptions(!1),this._updateZIndexStackPosition(!1),this._toggleTabTerminator(!1),this._actions=null,this.callBase(),this._$wrapper.remove(),this._$content.remove()},_toggleDisabledState:function(e){this.callBase.apply(this,arguments),this._$content.toggleClass(V,Boolean(e))},_toggleRTLDirection:function(e){this._$content.toggleClass(M,e)},_optionChanged:function(e){var t=e.value;if(o.inArray(e.name,O)>-1)return void this._initActions();switch(e.name){case"dragEnabled":this._renderDrag(),this._renderGeometry();break;case"resizeEnabled":this._renderResize(),this._renderGeometry();break;case"shading":case"shadingColor":this._toggleShading(this.option("visible"));break;case"width":case"minWidth":case"maxWidth":case"height":case"minHeight":case"maxHeight":case"position":case"boundaryOffset":this._renderGeometry();break;case"visible":this._renderVisibilityAnimate(t).done(o.proxy(function(){this._animateDeferred&&this._animateDeferred.resolveWith(this)},this));break;case"target":this._initTarget(t),this._invalidate();break;case"container":this._initContainer(t),this._invalidate();break;case"deferRendering":case"contentTemplate":this._contentAlreadyRendered=!1,this._invalidate();break;case"closeOnBackButton":this._toggleHideTopOverlayCallback(this.option("visible"));break;case"closeOnTargetScroll":this._toggleParentsScrollSubscription(this.option("visible"));break;case"closeOnOutsideClick":case"animation":case"propagateOutsideClick":break;default:this.callBase(e)}},toggle:function(e){if(e=void 0===e?!this.option("visible"):e,e===this.option("visible"))return o.Deferred().resolve().promise();var t=o.Deferred();return this._animateDeferred=t,this.option("visible",e),t.promise().done(o.proxy(function(){delete this._animateDeferred},this))},show:function(){return this.toggle(!0)},hide:function(){return this.toggle(!1)},content:function(){return this._$content},repaint:function(){this._renderGeometry()}});q.baseZIndex=function(e){P=e},m("dxOverlay",q),i.exports=q}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=o.Callbacks(),r=o(),s=function(){var e;return function(t){if(!arguments.length)return e;var n=o(t);r=n;var i=!!n.length,l=s();e=i?n:o("body"),a.fire(i?s():o(),l)}}();o(function(){s(".dx-viewport")}),t.value=s,t.changeCallback=a,t.originalViewPort=function(){return r}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(34),r=n(5),s=r.inherit({ctor:function(e,t){t=t||{},this._action=e,this._context=t.context||window,this._beforeExecute=t.beforeExecute,this._afterExecute=t.afterExecute,this._component=t.component,this._validatingTargetName=t.validatingTargetName;var n=this._excludeValidators={};if(t.excludeValidators)for(var i=0;i<t.excludeValidators.length;i++)n[t.excludeValidators[i]]=!0},execute:function(){var e={action:this._action,args:Array.prototype.slice.call(arguments),context:this._context,component:this._component,validatingTargetName:this._validatingTargetName,cancel:!1,handled:!1},t=this._beforeExecute,n=this._afterExecute;if(this._validateAction(e)&&(t&&t.call(this._context,e),!e.cancel)){var i=this._executeAction(e),o=e.args[0];if(!o||!o.cancel)return n&&n.call(this._context,e),i}},_validateAction:function(e){var t=this._excludeValidators,n=s.executors;for(var i in n)if(!t[i]){var o=n[i];if(o.validate&&o.validate(e),e.cancel)return!1}return!0},_executeAction:function(e){var t,n=s.executors;for(var i in n){var o=n[i];if(o.execute&&o.execute(e),e.handled){t=e.result;break}}return t}});s.executors={},s.registerExecutor=function(e,t){return o.isPlainObject(e)?void o.each(e,s.registerExecutor):void(s.executors[e]=t)},s.unregisterExecutor=function(){var e=o.makeArray(arguments);o.each(e,function(){delete s.executors[this]})},s.registerExecutor({undefined:{execute:function(e){e.action||(e.result=void 0,e.handled=!0)}},func:{execute:function(e){o.isFunction(e.action)&&(e.result=e.action.call(e.context,e.args[0]),e.handled=!0)}}});var l=function(e){return function(t){if(t.args.length){var n=t.args[0],i=n[t.validatingTargetName]||n.element;i&&e(i)&&(t.cancel=!0)}}};s.registerExecutor({designMode:{validate:function(e){a().designMode&&(e.cancel=!0)}},disabled:{validate:l(function(e){return e.is(".dx-state-disabled, .dx-state-disabled *")})},readOnly:{validate:l(function(e){return e.is(".dx-state-readonly, .dx-state-readonly *")})}}),i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){var i=function(e,t,n){function i(e){return"string"==typeof e?e.split("."):"number"==typeof e?[e]:e}e=i(e),t=i(t);var o=Math.max(e.length,t.length);isFinite(n)&&(o=Math.min(o,n));for(var a=0;o>a;a++){var r=parseInt(e[a]||0,10),s=parseInt(t[a]||0,10);if(s>r)return-1;if(r>s)return 1}return 0};t.compare=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(29).camelize,s=n(2),l=n(8),c=n(6),d=n(3),u=n(25),h=n(23),p=n(50);n(249);var f="dx-popup",_="dx-popup-wrapper",g="dx-popup-fullscreen",m="dx-popup-fullscreen-width",v="dx-popup-normal",x="dx-popup-content",w="dx-popup-draggable",y="dx-popup-title",b="dx-closebutton",C="dx-popup-bottom",k="dx-template-wrapper",S=["cancel","clear","done"],T=function(e){var t=c.current(),n=t.platform,i="bottom",o="before";if("ios"===n)switch(e){case"cancel":i="top";break;case"clear":i="top",o="after";break;case"done":o="after"}else if("win"===n)o="after";else if("android"===n&&t.version&&parseInt(t.version[0])>4)switch(e){case"cancel":o="after";break;case"done":o="after"}else"android"===n&&(o="center");return{toolbar:i,location:o}},I=p.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{fullScreen:!1,title:"",showTitle:!0,titleTemplate:"title",onTitleRendered:null,dragEnabled:!1,toolbarItems:[],showCloseButton:!1,bottomTemplate:"bottom"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){var e=(h.current()||"").split(".")[0];return"win8"===e},options:{width:function(){return o(window).width()}}},{device:function(e){var t=(h.current()||"").split(".")[0];return e.phone&&"win8"===t},options:{position:{my:"top center",at:"top center",offset:"0 0"}}},{device:{platform:"ios"},options:{animation:this._iosAnimation}},{device:{platform:"android"},options:{animation:this._androidAnimation}},{device:{platform:"generic"},options:{showCloseButton:!0}},{device:function(e){return"generic"===c.real().platform&&"generic"===e.platform},options:{dragEnabled:!0}},{device:function(e){return"desktop"===c.real().deviceType&&!c.isSimulator()},options:{focusStateEnabled:!0}}])},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{buttons:{since:"16.1",alias:"toolbarItems"}})},_iosAnimation:{show:{type:"slide",duration:400,from:{position:{my:"top",at:"bottom"}},to:{position:{my:"center",at:"center"}}},hide:{type:"slide",duration:400,from:{opacity:1,position:{my:"center",at:"center"}},to:{opacity:1,position:{my:"top",at:"bottom"}}}},_androidAnimation:function(){var e={show:{type:"slide",duration:300,from:{top:"30%",opacity:0},to:{top:0,opacity:1}},hide:{type:"slide",duration:300,from:{top:0,opacity:1},to:{top:"30%",opacity:0}}},t={show:{type:"fade",duration:400,from:0,to:1},hide:{type:"fade",duration:400,from:1,to:0}};return this.option("fullScreen")?e:t},_init:function(){this.callBase(),this.element().addClass(f),this._wrapper().addClass(_),this._$popupContent=this._$content.wrapInner(o("<div>").addClass(x)).children().eq(0)},_render:function(){var e=this.option("fullScreen");this._$content.toggleClass(g,e).toggleClass(v,!e),this.callBase()},_renderContentImpl:function(){this.callBase(),this._renderTitle(),this._renderBottom()},_renderTitle:function(){
var e=this._getToolbarItems("top"),t=this.option("title"),n=this.option("showTitle");if(n&&t&&e.unshift({location:c.current().ios?"center":"before",text:t}),n||e.length>0){this._$title&&this._$title.remove();var i=o("<div>").addClass(y).insertBefore(this.content());this._$title=this._renderTemplateByType("titleTemplate",e,i).addClass(y),this._renderDrag(),this._executeTitleRenderAction(this._$title)}else this._$title&&this._$title.detach()},_renderTemplateByType:function(e,t,n){var i,o=this._getTemplateByOption(e),a=o.owner()===this.option("templateProvider");return a?(i=o.render(t,n),n.replaceWith(i),i):(i=o.render(n),i.hasClass(k)&&(n.replaceWith(i),n=i),n)},_executeTitleRenderAction:function(e){this._getTitleRenderAction()({titleElement:e})},_getTitleRenderAction:function(){return this._titleRenderAction||this._createTitleRenderAction()},_createTitleRenderAction:function(){return this._titleRenderAction=this._createActionByOption("onTitleRendered",{element:this.element(),excludeValidators:["designMode","disabled","readOnly"]})},_getCloseButton:function(){return{toolbar:"top",location:"after",template:this._getCloseButtonRenderer()}},_getCloseButtonRenderer:function(){return o.proxy(function(e,t,n){var i=o("<div>").addClass(b);this._createComponent(i,u,{icon:"close",onClick:this._createToolbarItemAction(void 0),_templates:{}}),n.append(i)},this)},_getToolbarItems:function(e){var t=this.option("toolbarItems"),n=[];this._toolbarItemClasses=[];var i=c.current().platform,a=0;return o.each(t,o.proxy(function(t,r){var l=s.isDefined(r.shortcut),c=l?T(r.shortcut):r;if(l&&"ios"===i&&2>a&&(c.toolbar="top",a++),o.extend(c,s.isDefined(r.toolbar)?{toolbar:r.toolbar}:{}),c&&c.toolbar===e){l&&o.extend(c,{location:r.location},this._getToolbarItemByAlias(r));var d="win"===i||"generic"===i;"done"===r.shortcut&&d||"cancel"===r.shortcut&&!d?n.unshift(c):n.push(c)}},this)),"top"===e&&this.option("showCloseButton")&&this.option("showTitle")&&n.push(this._getCloseButton()),n},_getToolbarItemByAlias:function(e){var t=this,n=e.shortcut;if(o.inArray(n,S)<0)return!1;var i=o.extend({text:l.format(r(n,!0)),onClick:this._createToolbarItemAction(e.onClick),_templates:{}},e.options||{}),a=f+"-"+n;return this._toolbarItemClasses.push(a),{template:function(e,n,r){var s=o("<div>").addClass(a).appendTo(r);t._createComponent(s,u,i)}}},_createToolbarItemAction:function(e){return this._createAction(e,{afterExecute:function(e){e.component.hide()}})},_renderBottom:function(){var e=this._getToolbarItems("bottom");if(e.length){this._$bottom&&this._$bottom.remove();var t=o("<div>").addClass(C).insertAfter(this.content());this._$bottom=this._renderTemplateByType("bottomTemplate",e,t).addClass(C),this._toggleClasses()}else this._$bottom&&this._$bottom.detach()},_toggleClasses:function(){var e=S;o.each(e,o.proxy(function(e,t){var n=f+"-"+t;o.inArray(n,this._toolbarItemClasses)>=0?(this._wrapper().addClass(n+"-visible"),this._$bottom.addClass(n)):(this._wrapper().removeClass(n+"-visible"),this._$bottom.removeClass(n))},this))},_getDragTarget:function(){return this._$title},_renderGeometryImpl:function(){this._resetContentHeight(),this.callBase.apply(this,arguments),this._setContentHeight()},_resetContentHeight:function(){this._$popupContent.css({height:"auto"})},_renderDrag:function(){this.callBase(),this._$content.toggleClass(w,this.option("dragEnabled"))},_renderResize:function(){this.callBase(),this._$content.dxResizable("option","onResize",o.proxy(function(){this._setContentHeight(),this._actions.onResize(arguments)},this))},_setContentHeight:function(){if(!this._disallowUpdateContentHeight()){var e=this._$content.outerHeight()-this._$content.height(),t=this._$content.get(0).getBoundingClientRect().height-e;this._$title&&this._$title.is(":visible")&&(t-=this._$title.get(0).getBoundingClientRect().height||0),this._$bottom&&this._$bottom.is(":visible")&&(t-=this._$bottom.get(0).getBoundingClientRect().height||0),this._$popupContent.css({height:t})}},_disallowUpdateContentHeight:function(){var e="auto"===this._$content.get(0).style.height,t="none"!==this._$content.css("maxHeight"),n=parseInt(this._$content.css("minHeight"))>0;return e&&!(t||n)},_renderDimensions:function(){this.option("fullScreen")?this._$content.css({width:"100%",height:"100%"}):this.callBase.apply(this,arguments),this._renderFullscreenWidthClass()},_renderFullscreenWidthClass:function(){this.overlayContent().toggleClass(m,this.overlayContent().outerWidth()===o(window).width())},_renderShadingDimensions:function(){this.option("fullScreen")?this._wrapper().css({width:"100%",height:"100%"}):this.callBase.apply(this,arguments)},_renderPosition:function(){return this.option("fullScreen")?void a.move(this._$content,{top:0,left:0}):this.callBase.apply(this,arguments)},_optionChanged:function(e){switch(e.name){case"showTitle":case"title":case"titleTemplate":this._renderTitle(),this._renderGeometry();break;case"bottomTemplate":this._renderBottom(),this._renderGeometry();break;case"onTitleRendered":this._createTitleRenderAction(e.value);break;case"toolbarItems":this._renderTitle(),this._renderBottom(),this._renderGeometry();break;case"dragEnabled":this._renderDrag();break;case"fullScreen":this._$content.toggleClass(g,e.value),this._refresh();break;case"showCloseButton":this._renderTitle();break;default:this.callBase(e)}},bottomToolbar:function(){return this._$bottom},content:function(){return this._$popupContent},overlayContent:function(){return this._$content}});d("dxPopup",I),i.exports=I}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return e>0?Math.round(e):0}function a(e,t,n,i){var o,r,s,l,c=[],d=i.nodes,u=t.length,h=0;for(r=0;u>r;++r)s=t[r],o=new w,o._id=d.length,o.ctx=i.ctx,o.parent=e,o.level=n,o.index=c.length,o.data=s,i.buildNode(o),d.push(o),c.push(o),l=s[i.itemsField],l&&l.length&&a(o,l,n+1,i),s[i.valueField]>0&&(o.value=Number(s[i.valueField])),h+=o.value;e.nodes=c,e.value=h}function r(e,t,n){var i,o,a=t.nodes,s=a.length;for(o=0;s>o;++o)i=a[o],n(e,i),i.isNode()&&r(e,i,n)}function s(e,t){t.color=t.data[e.colorField]||e.getColor(t)||t.parent.color,t.updateStyles(),t.tile=!t.ctx.forceReset&&t.tile||A[Number(t.isNode())](e,t),t.applyState()}function l(e,t){var n=e.renderer.simpleRect().append(e.group);return e.setTrackerData(t,n),n}function c(e,t){var n=e.renderer.simpleRect().append(e.group),i=e.renderer.simpleRect().append(e.group);return e.setTrackerData(t,i),{outer:n,inner:i}}function d(e,t){t.updateLabelStyle(),t.labelState.visible&&u(e,t,t.labelState,t.labelParams)}function u(e,t,n,i){var o=t.data[e.labelField];t.label=o?String(o):null,o=t.customLabel||t.label,o&&(t.text=e.renderer.text(o).attr(n.attr).css(n.css).append(e.group),e.setTrackerData(t,t.text),t.textWidth=i.unitWidth*o.length)}function h(e,t){var n,i=t.nodes,o=[],a=[],r=0,s=o.length=a.length=i.length;for(n=0;s>n;++n)r+=i[n].value,o[n]={value:i[n].value,i:n};for(r>0&&e.algorithm({items:o.slice(),sum:r,rect:t.innerRect.slice(),isRotated:1&i[0].level,directions:e.directions}),n=0;s>n;++n)a[n]=o[n].rect||B;t.rects=a}function p(e,t){var n,i=t.parent.rects[t.index],o=e.rectOffsets;t.isNode()?(g(t.tile.outer,_(i,t.parent.innerRect,o.headerEdge,o.headerInner)),i=f(i,e.groupPadding),n=Math.min(e.headerHeight,i[3]-i[1]),t.rect=[i[0],i[1],i[2],i[1]+n],g(t.tile.inner,f(t.rect,o.headerEdge)),i[1]+=n,t.innerRect=i,h(e,t)):(t.rect=i,g(t.tile,_(i,t.parent.innerRect,o.tileEdge,o.tileInner)))}function f(e,t){return[e[0]+t,e[1]+t,e[2]-t,e[3]-t]}function _(e,t,n,i){return[e[0]+(e[0]===t[0]?n:+i),e[1]+(e[1]===t[1]?n:+i),e[2]-(e[2]===t[2]?n:-i),e[3]-(e[3]===t[3]?n:-i)]}function g(e,t){e.attr({x:t[0],y:t[1],width:I(t[2]-t[0],0),height:I(t[3]-t[1],0)})}function m(e,t){t.text&&t.labelState.visible&&v(t,t.labelParams)}function v(e,t){var n=e.rect,i=t.hOffset;e.text.attr({x:t.rtlEnabled?n[2]-i:n[0]+i,y:n[1]+t.vOffset,visibility:e.textWidth+t.paddingLeftRight<n[2]-n[0]&&t.height+t.paddingTopBottom<n[3]-n[1]?"visible":"hidden"})}var x=n(98),w=n(175),y=n(121).getAlgorithm,b=n(120).getColorizer,C=n(7).patchFontOptions,k=x.buildRectAppearance,S=x.buildTextAppearance,T=n(1).noop,I=Math.max,D={lefttoprightbottom:[1,1],leftbottomrighttop:[1,-1],righttopleftbottom:[-1,1],rightbottomlefttop:[-1,-1]};n(348),n(121).setDefaultAlgorithm("squarified"),n(344),n(120).setDefaultColorizer("discrete");var E=n(116).inherit({_handlers:{beginBuildNodes:T,buildNode:T,endBuildNodes:T,setTrackerData:T,calculateState:function(e){return k(e)}},_rootClass:"dxtm-tree-map",_rootClassPrefix:"dxtm",_getDefaultSize:function(){return{width:400,height:400}},_createThemeManager:function(){return new M},_init:function(){var e=this;e._rectOffsets={},e._context={suspend:function(){e._applyingChanges||e._suspendChanges()},resume:function(){e._applyingChanges||e._resumeChanges()},change:function(t){e._change(t)},settings:[{},{}],calculateState:e._handlers.calculateState,calculateLabelState:S},e._root=e._topNode={nodes:[]},e.callBase.apply(e,arguments)},_initialChanges:["DATA_SOURCE"],_initCore:function(){var e=this,t=e._renderer;e._createProxyType(),e._tilesGroup=t.g().linkOn(t.root,"tiles").linkAppend(),e._labelsGroup=t.g().attr({align:"left"}).linkOn(t.root,"labels").linkAppend()},_createProxyType:T,_disposeCore:function(){var e=this;e._filter&&e._filter.dispose(),e._labelsGroup.linkOff(),e._tilesGroup.linkOff()},_applySize:function(e){this._tilingRect=e.slice(),this._change(["TILING"])},_optionChangesMap:{dataSource:"DATA_SOURCE",valueField:"NODES_CREATE",childrenField:"NODES_CREATE",colorField:"TILES",colorizer:"TILES",labelField:"LABELS",tile:"TILE_SETTINGS",group:"GROUP_SETTINGS",maxDepth:"MAX_DEPTH",layoutAlgorithm:"TILING",layoutDirection:"TILING"},_themeDependentChanges:["TILE_SETTINGS","GROUP_SETTINGS","MAX_DEPTH"],_changeDataSource:function(){var e=this;e._isDataExpected=e._isSyncData=!0,e._updateDataSource(),e._isSyncData=!1,e._isDataExpected&&e._suspendChanges()},_dataSourceChangedHandler:function(){var e=this;e._isDataExpected?(e._isDataExpected=!1,e._change(["NODES_CREATE"]),e._isSyncData||e._resumeChanges()):e._requestChange(["NODES_CREATE"])},_optionChangesOrder:["DATA_SOURCE","TILE_SETTINGS","GROUP_SETTINGS","MAX_DEPTH"],_change_DATA_SOURCE:function(){this._changeDataSource()},_change_TILE_SETTINGS:function(){this._changeTileSettings()},_change_GROUP_SETTINGS:function(){this._changeGroupSettings()},_change_MAX_DEPTH:function(){this._changeMaxDepth()},_customChangesOrder:["NODES_CREATE","NODES_RESET","TILES","LABELS","TILING","LABELS_LAYOUT"],_change_NODES_CREATE:function(){this._buildNodes()},_change_NODES_RESET:function(){this._resetNodes()},_change_TILES:function(){this._applyTilesAppearance()},_change_LABELS:function(){this._applyLabelsAppearance()},_change_TILING:function(){this._performTiling()},_change_LABELS_LAYOUT:function(){this._performLabelsLayout()},_applyChanges:function(){var e=this;e.callBase.apply(e,arguments),e._isDataExpected||e._drawn(),e._context.forceReset=!1},_buildNodes:function(){var e,t=this,n=t._root=t._topNode=new w;n._id=0,n.parent={},n.data={},n.level=n.index=-1,n.ctx=t._context,n.label=null,t._nodes=[n],t._handlers.beginBuildNodes(),e=t._processDataSourceItems(t._dataSource.items()||[]),a(n,e.items,0,{itemsField:!e.isPlain&&t._getOption("childrenField",!0)||"items",valueField:t._getOption("valueField",!0)||"value",buildNode:t._handlers.buildNode,ctx:t._context,nodes:t._nodes}),t._onNodesCreated(),t._handlers.endBuildNodes(),t._change(["NODES_RESET"])},_onNodesCreated:x.empty,_processDataSourceItems:function(e){return{items:e,isPlain:!1}},_changeTileSettings:function(){var e=this,t=e._getOption("tile"),n=e._rectOffsets,i=o(t.border.width),a=i/2,r=1&i?.5:0,s=t.label,l=e._context.settings[0];e._change(["TILES","LABELS"]),l.state=e._handlers.calculateState(t),e._filter=e._filter||e._renderer.shadowFilter("-50%","-50%","200%","200%"),e._filter.attr(s.shadow),e._calculateLabelSettings(l,s,e._filter.ref),n.tileEdge===a&&n.tileInner===r||(n.tileEdge=a,n.tileInner=r,e._change(["TILING"]))},_changeGroupSettings:function(){var e=this,t=e._getOption("group"),n=t.label,i=e._rectOffsets,a=o(t.border.width),r=a/2,s=1&a?.5:0,l=0,c=o(t.padding),d=e._context.settings[1];e._change(["TILES","LABELS"]),d.state=e._handlers.calculateState(t),e._calculateLabelSettings(d,n),l=t.headerHeight>=0?o(t.headerHeight):d.labelParams.height+2*o(n.paddingTopBottom),e._headerHeight!==l&&(e._headerHeight=l,e._change(["TILING"])),e._groupPadding!==c&&(e._groupPadding=c,e._change(["TILING"])),i.headerEdge===r&&i.headerInner===s||(i.headerEdge=r,i.headerInner=s,e._change(["TILING"]))},_calculateLabelSettings:function(e,t,n){var i=this._getTextBBox(t.font),a=o(t.paddingLeftRight),r=o(t.paddingTopBottom);e.labelState=S(t,n),e.labelState.visible=!("visible"in t&&!t.visible),e.labelParams={unitWidth:i.width,height:i.height,hOffset:a,vOffset:-i.y+r,rtlEnabled:this._getOption("rtlEnabled",!0),paddingTopBottom:r,paddingLeftRight:a}},_changeMaxDepth:function(){var e=this._getOption("maxDepth",!0);e=e>=1?Math.round(e):1/0,this._maxDepth!==e&&(this._maxDepth=e,this._change(["NODES_RESET"]))},_resetNodes:function(){var e=this;e._tilesGroup.clear(),e._renderer.initHatching(),e._context.forceReset=!0,e._context.minLevel=e._topNode.level+1,e._context.maxLevel=e._context.minLevel+e._maxDepth-1,e._change(["TILES","LABELS","TILING"])},_processNodes:function(e,t){r(e,this._topNode,t)},_applyTilesAppearance:function(){var e=this,t=b(e._getOption("colorizer"),e._themeManager,e._topNode);e._processNodes({renderer:e._renderer,group:e._tilesGroup,setTrackerData:e._handlers.setTrackerData,colorField:e._getOption("colorField",!0)||"color",getColor:t},s)},_applyLabelsAppearance:function(){var e=this;e._labelsGroup.clear(),e._processNodes({renderer:e._renderer,group:e._labelsGroup,setTrackerData:e._handlers.setTrackerData,labelField:e._getOption("labelField",!0)||"name"},d),e._change(["LABELS_LAYOUT"])},_performTiling:function(){var e=this,t={algorithm:y(e._getOption("layoutAlgorithm",!0)),directions:D[String(e._getOption("layoutDirection",!0)).toLowerCase()]||D.lefttoprightbottom,headerHeight:e._headerHeight,groupPadding:e._groupPadding,rectOffsets:e._rectOffsets};e._topNode.innerRect=e._tilingRect,h(t,e._topNode),e._processNodes(t,p),e._change(["LABELS_LAYOUT"]),e._onTilingPerformed()},_onTilingPerformed:x.empty,_performLabelsLayout:function(){this._processNodes(null,m)},_getTextBBox:function(e){var t,n=this._renderer,i=this._textForCalculations||n.text("0",0,0);return this._textForCalculations=i,i.css(C(e)).append(n.root),t=i.getBBox(),i.remove(),t}}),A=[l,c],B=[0,0,0,0],M=n(115).BaseThemeManager.inherit({_themeSection:"treeMap",_fontFields:["tile.label.font","group.label.font","loadingIndicator.font","title.font","title.subtitle.font","tooltip.font"]});n(3)("dxTreeMap",E),i.exports=E,E.addPlugin(n(167).plugin)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){function i(e){this.baseColor=e;var t;e&&(t=String(e).toLowerCase().replace(/ /g,""),t=m[t]?"#"+m[t]:t,t=o(t)),t||(this.colorIsInvalid=!0),t=t||{},this.r=a(t[0]),this.g=a(t[1]),this.b=a(t[2]),this.a=a(t[3],1,1),t[4]?this.hsv={h:t[4][0],s:t[4][1],v:t[4][2]}:this.hsv=s(this.r,this.g,this.b),t[5]?this.hsl={h:t[5][0],s:t[5][1],l:t[5][2]}:this.hsl=d(this.r,this.g,this.b)}function o(e){if("transparent"===e)return[0,0,0,0];for(var t,n=0,i=v.length;i>n;++n)if(t=v[n].re.exec(e))return v[n].process(t);return null}function a(e,t,n){return t=t||0,n=n||255,0>e||isNaN(e)?t:e>n?n:e}function r(e,t,n){return"#"+(16777216|e<<16|t<<8|n).toString(16).slice(1)}function s(e,t,n){var i,o,a,r=Math.max(e,t,n),s=Math.min(e,t,n),l=r-s;if(a=r,o=0===r?0:1-s/r,r===s)i=0;else switch(r){case e:i=60*((t-n)/l),n>t&&(i+=360);break;case t:i=60*((n-e)/l)+120;break;case n:i=60*((e-t)/l)+240}return o*=100,a*=100/255,{h:Math.round(i),s:Math.round(o),v:Math.round(a)}}function l(e,t,n){var i,o,a,r,s,l,c,d;switch(r=Math.floor(e%360/60),a=(100-t)*n/100,s=(n-a)*(e%60/60),o=a+s,i=n-s,r){case 0:l=n,c=o,d=a;break;case 1:l=i,c=n,d=a;break;case 2:l=a,c=n,d=o;break;case 3:l=a,c=i,d=n;break;case 4:l=o,c=a,d=n;break;case 5:l=n,c=a,d=i}return[Math.round(2.55*l),Math.round(2.55*c),Math.round(2.55*d)]}function c(e,t,n,i){var o=Math.max(e,t,n);switch(o){case e:return(t-n)/i+(n>t?6:0);case t:return(n-e)/i+2;case n:return(e-t)/i+4}}function d(e,t,n){e=_(e,255),t=_(t,255),n=_(n,255);var i,o,a=Math.max(e,t,n),r=Math.min(e,t,n),s=a+r,l=s/2;if(a===r)i=o=0;else{var d=a-r;o=l>.5?d/(2-s):d/s,i=c(e,t,n,d),i/=6}return{h:x(360*i),s:x(100*o),l:x(100*l)}}function u(e,t){var n=t;return"r"===e&&(n=t+1/3),"b"===e&&(n=t-1/3),n}function h(e){return 0>e&&(e+=1),e>1&&(e-=1),e}function p(e,t,n){return n=h(n),1/6>n?e+6*(t-e)*n:.5>n?t:2/3>n?e+(t-e)*(2/3-n)*6:e}function f(e,t,n){var i,o,a;if(e=_(e,360),t=_(t,100),n=_(n,100),0===t)i=o=a=n;else{var r=.5>n?n*(1+t):n+t-n*t,s=2*n-r;i=p(s,r,u("r",e)),o=p(s,r,u("g",e)),a=p(s,r,u("b",e))}return[x(255*i),x(255*o),x(255*a)]}function _(e,t){return e=Math.min(t,Math.max(0,parseFloat(e))),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function g(e,t,n){return t=t||0,n=n||255,!(e%1!==0||t>e||e>n||"number"!=typeof e||isNaN(e))}var m={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},v=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10)]}},{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*\.*\d+)\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])]}},{re:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/,process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^#([a-f0-9]{1})([a-f0-9]{1})([a-f0-9]{1})$/,process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/^hsv\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){var t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=l(t,n,i);return[o[0],o[1],o[2],1,[t,n,i]]}},{re:/^hsl\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){var t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=f(t,n,i);return[o[0],o[1],o[2],1,null,[t,n,i]]}}],x=Math.round;i.prototype={constructor:i,highlight:function(e){return e=e||10,this.alter(e).toHex()},darken:function(e){return e=e||10,this.alter(-e).toHex()},alter:function(e){var t=new i;return t.r=a(this.r+e),t.g=a(this.g+e),t.b=a(this.b+e),t},blend:function(e,t){var n=e instanceof i?e:new i(e),o=new i;return o.r=a(x(this.r*(1-t)+n.r*t)),o.g=a(x(this.g*(1-t)+n.g*t)),o.b=a(x(this.b*(1-t)+n.b*t)),o},toHex:function(){return r(this.r,this.g,this.b)},getPureColor:function(){var e=l(this.hsv.h,100,100);return new i("rgb("+e.join(",")+")")},isValidHex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},isValidRGB:function(e,t,n){return!!(g(e)&&g(t)&&g(n))},isValidAlpha:function(e){return!(isNaN(e)||0>e||e>1||"number"!=typeof e)},colorIsInvalid:!1},n.exports=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=function(){var e,t=o.Callbacks(),n=o(window),i=!1,a=t.add,r=t.remove,s=function(){return[n.width(),n.height()].join()},l=function(){var n=s();n!==e&&(e=n,setTimeout(t.fire))};return e=s(),t.add=function(){var e=a.apply(t,arguments);return!i&&t.has()&&(n.on("resize",l),i=!0),e},t.remove=function(){var e=r.apply(t,arguments);return!t.has()&&i&&(n.off("resize",l),i=!1),e},t}(),r=function(e){return 768>e?"xs":992>e?"sm":1200>e?"md":"lg"},s=function(e){var t=e||r;return t(o(window).width())};t.resizeCallbacks=a,t.defaultScreenFactorFunc=r,t.getCurrentScreenFactor=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(32),s=a.inherit({ctor:function(){this._cache={}},setView:function(e,t){this._cache[e]=t},getView:function(e){return this._cache[e]},removeView:function(e){var t=this._cache[e];return t&&(delete this._cache[e],this.fireEvent("viewRemoved",[{viewInfo:t}])),t},clear:function(){var e=this;o.each(this._cache,function(t){e.removeView(t)})},hasView:function(e){return e in this._cache}}).include(r),l=s.inherit({setView:function(e,t){this.callBase(e,t),this.removeView(e)}}),c=a.inherit({ctor:function(e){this._filter=e.filter,this._viewCache=e.viewCache,this.viewRemoved=this._viewCache.viewRemoved,this._events=this._viewCache._events},setView:function(e,t){this._viewCache.setView(e,t),this._filter(e,t)||this._viewCache.removeView(e)},getView:function(e){return this._viewCache.getView(e)},removeView:function(e){return this._viewCache.removeView(e)},clear:function(){return this._viewCache.clear()},hasView:function(e){return this._viewCache.hasView(e)}}).include(r),d=5,u=a.inherit({ctor:function(e){this._keys=[],this._size=e.size||d,this._viewCache=e.viewCache,this.viewRemoved=this._viewCache.viewRemoved,this._events=this._viewCache._events},setView:function(e,t){this.hasView(e)||(this._keys.length===this._size&&this.removeView(this._keys[0]),this._keys.push(e)),this._viewCache.setView(e,t)},getView:function(e){var t=o.inArray(e,this._keys);return 0>t?null:(this._keys.push(e),this._keys.splice(t,1),this._viewCache.getView(e))},removeView:function(e){var t=o.inArray(e,this._keys);return t>-1&&this._keys.splice(t,1),this._viewCache.removeView(e)},clear:function(){return this._keys=[],this._viewCache.clear()},hasView:function(e){return this._viewCache.hasView(e)}}).include(r),h=a.inherit({ctor:function(e){this._viewCache=e.viewCache||new s,this._navigationManager=e.navigationManager,this._navigationManager.on("itemRemoved",o.proxy(this._onNavigationItemRemoved,this)),this.viewRemoved=this._viewCache.viewRemoved,this._events=this._viewCache._events},_onNavigationItemRemoved:function(e){this.removeView(e.key)},setView:function(e,t){this._viewCache.setView(e,t)},getView:function(e){return this._viewCache.getView(e)},removeView:function(e){return this._viewCache.removeView(e)},clear:function(){return this._viewCache.clear()},hasView:function(e){return this._viewCache.hasView(e)}}).include(r);i.exports=s,i.exports.NullViewCache=l,i.exports.ConditionalViewCacheDecorator=c,i.exports.CapacityViewCacheDecorator=u,i.exports.HistoryDependentViewCacheDecorator=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(33),r=n(30),s=n(27).keysEqual,l=n(35),c=n(24).errors,d=n(49),u=function(e,t){for(var n,i=o.makeArray(t);i.length;)if(n=i.shift(),n in e)return!0;return!1},h=function(){var e=o.Deferred();return e.resolve.apply(e,arguments).promise()},p=function(){var e=o.Deferred();return e.reject.apply(e,arguments).promise()},f=d.inherit({ctor:function(e){e=o.isArray(e)?{data:e}:e||{},this.callBase(e);var t=e.data;if(t&&!o.isArray(t))throw c.Error("E4006");this._array=t||[]},createQuery:function(){return l(this._array,{errorHandler:this._errorHandler})},_byKeyImpl:function(e){var t=this._indexByKey(e);return-1===t?p(c.Error("E4009")):h(this._array[t])},_insertImpl:function(e){var t,n,i=this.key();if(n=o.isPlainObject(e)?o.extend({},e):e,i){if(t=this.keyOf(n),void 0===t||"object"==typeof t&&o.isEmptyObject(t)){if(o.isArray(i))throw c.Error("E4007");t=n[i]=String(new a)}else if(void 0!==this._array[this._indexByKey(t)])return p(c.Error("E4008"))}else t=n;return this._array.push(n),h(e,t)},_updateImpl:function(e,t){var n,i,o=this.key();if(o){if(u(t,o)&&!s(o,e,this.keyOf(t)))return p(c.Error("E4017"));if(n=this._indexByKey(e),0>n)return p(c.Error("E4009"));i=this._array[n]}else i=e;return r.deepExtendArraySafe(i,t),h(e,t)},_removeImpl:function(e){var t=this._indexByKey(e);return t>-1&&this._array.splice(t,1),h(e)},_indexByKey:function(e){for(var t=0,n=this._array.length;n>t;t++)if(s(this.key(),this.keyOf(this._array[t]),e))return t;return-1},clear:function(){this.fireEvent("modifying"),this._array=[],this.fireEvent("modified")}},"array");i.exports=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(42),s=n(4),l=n(13),c=n(86),d="dxEventManager",u="dxEmitter",h=a.inherit({ctor:function(){this._attachHandlers(),this.reset(),this._proxiedCancelHandler=o.proxy(this._cancelHandler,this),this._proxiedAcceptHandler=o.proxy(this._acceptHandler,this)},_attachHandlers:function(){o(document).on(s.addNamespace(l.down,d),o.proxy(this._pointerDownHandler,this)).on(s.addNamespace(l.move,d),o.proxy(this._pointerMoveHandler,this)).on(s.addNamespace([l.up,l.cancel].join(" "),d),o.proxy(this._pointerUpHandler,this)).on(s.addNamespace(c.name,d),o.proxy(this._mouseWheelHandler,this))},_eachEmitter:function(e){for(var t=this._activeEmitters||[],n=0;t.length>n;){var i=t[n];if(e(i)===!1)break;t[n]===i&&n++}},_applyToEmitters:function(e,t){this._eachEmitter(function(n){n[e].call(n,t)})},reset:function(){this._eachEmitter(this._proxiedCancelHandler),this._activeEmitters=[]},resetEmitter:function(e){this._proxiedCancelHandler(e)},_pointerDownHandler:function(e){s.isMouseEvent(e)&&e.which>1||this._updateEmitters(e)},_updateEmitters:function(e){this._isSetChanged(e)&&(this._cleanEmitters(e),this._fetchEmitters(e))},_isSetChanged:function(e){var t=this._closestEmitter(e),n=this._emittersSet||[],i=t.length!==n.length;return o.each(t,function(e,t){return i=i||n[e]!==t,!i}),this._emittersSet=t,i},_closestEmitter:function(e){function t(t,o){o&&o.validatePointers(e)&&o.validate(e)&&(o.addCancelCallback(n._proxiedCancelHandler),o.addAcceptCallback(n._proxiedAcceptHandler),i.push(o))}for(var n=this,i=[],a=o(e.target);a.length;){var r=o.data(a.get(0),u)||[];o.each(r,t),a=a.parent()}return i},_acceptHandler:function(e,t){var n=this;this._eachEmitter(function(i){i!==e&&n._cancelEmitter(i,t)})},_cancelHandler:function(e,t){this._cancelEmitter(e,t)},_cancelEmitter:function(e,t){var n=this._activeEmitters;t?e.cancel(t):e.reset(),e.removeCancelCallback(),e.removeAcceptCallback();var i=o.inArray(e,n);i>-1&&n.splice(i,1)},_cleanEmitters:function(e){this._applyToEmitters("end",e),this.reset(e)},_fetchEmitters:function(e){this._activeEmitters=this._emittersSet.slice(),this._applyToEmitters("start",e)},_pointerMoveHandler:function(e){this._applyToEmitters("move",e)},_pointerUpHandler:function(e){this._updateEmitters(e)},_mouseWheelHandler:function(e){this._allowInterruptionByMousewheel()&&(e.pointers=[null],this._pointerDownHandler(e),this._adjustWheelEvent(e),this._pointerMoveHandler(e),e.pointers=[],this._pointerUpHandler(e))},_allowInterruptionByMousewheel:function(){var e=!0;return this._eachEmitter(function(t){return e=t.allowInterruptionByMousewheel()&&e}),e},_adjustWheelEvent:function(e){var t=null;if(this._eachEmitter(function(n){if(n.gesture){var i=n.getDirection(e);return"horizontal"!==i&&!e.shiftKey||"vertical"!==i&&e.shiftKey?(t=n,!1):void 0}}),t){var n=t.getDirection(e),i="both"===n&&!e.shiftKey||"vertical"===n,o=i?"pageY":"pageX";e[o]+=e.delta}},isActive:function(e){var t=!1;return this._eachEmitter(function(n){t=t||n.getElement().is(e)}),t}}),p=new h,f="dxEmitterSubscription",_=function(e){var t=e.emitter,n=e.events[0],i=e.events;o.each(i,function(a,s){r(s,{noBubble:!e.bubble,setup:function(e,i){var a=o.data(e,f)||{},r=o.data(e,u)||{},l=r[n]||new t(e);a[s]=!0,r[n]=l,o.data(e,u,r),o.data(e,f,a)},add:function(e,t){var i=o.data(e,u),a=i[n];a.configurate(o.extend({delegateSelector:t.selector},t.data),t.type)},teardown:function(e){var t=o.data(e,f),a=o.data(e,u),r=a[n];delete t[s];var l=!0;o.each(i,function(e,n){return l=l&&!t[n]}),l&&(p.isActive(e)&&p.resetEmitter(r),r&&r.dispose(),delete a[n])}})})};i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(17),r=n(23),s=n(21),l=n(6),c=n(3),d=n(18),u="dx-loadindicator",h="dx-loadindicator-wrapper",p="dx-loadindicator-content",f="dx-loadindicator-icon",_="dx-loadindicator-segment",g="dx-loadindicator-segment-inner",m="dx-loadindicator-image",v=d.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{indicatorSrc:"",activeStateEnabled:!1,hoverStateEnabled:!1,_animatingSegmentCount:1,_animatingSegmentInner:!1})},_defaultOptionsRules:function(){var e=function(){var e=r.current();return e&&e.split(".")[0]};return this.callBase().concat([{device:function(){var e=l.real(),t="android"===e.platform&&!/chrome/i.test(navigator.userAgent);return s.msie&&s.version<10||t},options:{viaImage:!0}},{device:function(){return"win8"===e()||"win10"===e()},options:{_animatingSegmentCount:5}},{device:function(){return"ios7"===e()},options:{_animatingSegmentCount:11}},{device:function(){return"android5"===e()},options:{_animatingSegmentCount:2,_animatingSegmentInner:!0}},{device:function(){return"generic"===e()},options:{_animatingSegmentCount:7}}])},_init:function(){this.callBase(),this.element().addClass(u)},_render:function(){this._renderWrapper(),this._renderIndicatorContent(),this._renderMarkup(),this.callBase()},_renderWrapper:function(){this._$wrapper=o("<div>").addClass(h),this.element().append(this._$wrapper)},_renderIndicatorContent:function(){this._$content=o("<div>").addClass(p),this._$wrapper.append(this._$content)},_renderMarkup:function(){!a.animation||this.option("viaImage")||this.option("indicatorSrc")?this._renderMarkupForImage():this._renderMarkupForAnimation()},_renderMarkupForAnimation:function(){var e=this.option("_animatingSegmentInner");this._$indicator=o("<div>").addClass(f),this._$content.append(this._$indicator);
for(var t=this.option("_animatingSegmentCount");t>=0;--t){var n=o("<div>").addClass(_).addClass(_+t);e&&n.append(o("<div>").addClass(g)),this._$indicator.append(n)}},_renderMarkupForImage:function(){var e=this.option("indicatorSrc");this._$wrapper.addClass(m),e&&this._$wrapper.css("background-image","url("+e+")")},_renderDimensions:function(){this.callBase(),this._updateContentSizeForAnimation()},_updateContentSizeForAnimation:function(){if(this._$indicator){var e=this.option("width"),t=this.option("height");if(e||t){e=this.element().width(),t=this.element().height();var n=Math.min(t,e);this._$wrapper.css({height:n,width:n,"font-size":n})}}},_clean:function(){this.callBase(),this._removeMarkupForAnimation(),this._removeMarkupForImage()},_removeMarkupForAnimation:function(){this._$indicator&&(this._$indicator.remove(),delete this._$indicator)},_removeMarkupForImage:function(){this._$wrapper.css("background-image","none")},_optionChanged:function(e){switch(e.name){case"_animatingSegmentCount":case"_animatingSegmentInner":case"indicatorSrc":this._invalidate();break;default:this.callBase(e)}}});c("dxLoadIndicator",v),i.exports=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){var i=function(e){return 0===e?0:e/Math.abs(e)},o=function(e,t,n){return Math.min(Math.max(e,t),n)};t.sign=i,t.fitIntoRange=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(41).wrapToArray,r=n(42),s=n(4),l=n(110),c=n(60),d="dxdragstart",u="dxdrag",h="dxdragend",p="dxdragenter",f="dxdragleave",_="dxdrop",g=[],m=[],v=[],x={setup:function(e,t){var n=-1!==o.inArray(e,g);n||(g.push(e),m.push([]),v.push(t||{}))},add:function(e,t){var n=o.inArray(e,g),i=t.selector;-1===o.inArray(i,m[n])&&m[n].push(i)},teardown:function(e,t){var n=o._data(e,"events"),i=0;if(o.each([p,f,_],function(e,t){var o=n[t];o&&(i+=o.length)}),!i){var a=o.inArray(e,g);g.splice(a,1),m.splice(a,1),v.splice(a,1)}}};r(p,x),r(f,x),r(_,x);var w=function(e){var t=o.inArray(e.get(0),g),n=m[t],i=e.find(n.join(", "));return-1!==o.inArray(void 0,n)&&(i=i.addBack()),i},y=function(e){var t=o.inArray(e.get(0),g);return v[t]},b=function(e,t){return e.itemPositionFunc?e.itemPositionFunc(t):t.offset()},C=function(e,t){return e.itemSizeFunc?e.itemSizeFunc(t):{width:t.width(),height:t.height()}},k=l.inherit({ctor:function(e){this.callBase(e),this.direction="both"},_init:function(e){this._initEvent=e},_start:function(e){e=this._fireEvent(d,this._initEvent),this._maxLeftOffset=e.maxLeftOffset,this._maxRightOffset=e.maxRightOffset,this._maxTopOffset=e.maxTopOffset,this._maxBottomOffset=e.maxBottomOffset;var t=a(e.targetElements||(null===e.targetElements?[]:g));this._dropTargets=o.map(t,function(e){return o(e).get(0)})},_move:function(e){var t=s.eventData(e),n=this._calculateOffset(t);this._fireEvent(u,e,{offset:n}),this._processDropTargets(e,n),e.preventDefault()},_calculateOffset:function(e){return{x:this._calculateXOffset(e),y:this._calculateYOffset(e)}},_calculateXOffset:function(e){if("vertical"!==this.direction){var t=e.x-this._startEventData.x;return this._fitOffset(t,this._maxLeftOffset,this._maxRightOffset)}return 0},_calculateYOffset:function(e){if("horizontal"!==this.direction){var t=e.y-this._startEventData.y;return this._fitOffset(t,this._maxTopOffset,this._maxBottomOffset)}return 0},_fitOffset:function(e,t,n){return null!=t&&(e=Math.max(e,-t)),null!=n&&(e=Math.min(e,n)),e},_processDropTargets:function(e,t){var n=this._findDropTarget(e),i=n===this._currentDropTarget;i||(this._fireDropTargetEvent(e,f),this._currentDropTarget=n,this._fireDropTargetEvent(e,p))},_fireDropTargetEvent:function(e,t){if(this._currentDropTarget){var n={type:t,originalEvent:e,draggingElement:this._$element.get(0),target:this._currentDropTarget};s.fireEvent(n)}},_findDropTarget:function(e){var t,n=this;return o.each(g,function(i,a){if(n._checkDropTargetActive(a)){var r=o(a);o.each(w(r),function(i,a){var s=o(a);n._checkDropTarget(y(r),s,e)&&(t=a)})}}),t},_checkDropTargetActive:function(e){var t=!1;return o.each(this._dropTargets,function(n,i){return t=t||i===e||o.contains(i,e),!t}),t},_checkDropTarget:function(e,t,n){var i=t.get(0)===this._$element.get(0);if(i)return!1;var o=b(e,t);if(n.pageX<o.left)return!1;if(n.pageY<o.top)return!1;var a=C(e,t);return n.pageX>o.left+a.width?!1:n.pageY>o.top+a.height?!1:t},_end:function(e){var t=s.eventData(e);this._fireEvent(h,e,{offset:this._calculateOffset(t)}),this._fireDropTargetEvent(e,_),delete this._currentDropTarget}});c({emitter:k,events:[d,u,h]}),t.move=u,t.start=d,t.end=h,t.enter=p,t.leave=f,t.drop=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(4),r=n(77),s=n(60),l=Math.abs,c="dxhold",d=750,u=5,h=r.inherit({start:function(e){this._startEventData=a.eventData(e),this._startTimer(e)},_startTimer:function(e){var t="timeout"in this?this.timeout:d;this._holdTimer=setTimeout(o.proxy(function(){this._requestAccept(e),this._fireEvent(c,e,{target:e.target}),this._forgetAccept()},this),t)},move:function(e){this._touchWasMoved(e)&&this._cancel(e)},_touchWasMoved:function(e){var t=a.eventDelta(this._startEventData,a.eventData(e));return l(t.x)>u||l(t.y)>u},end:function(){this._stopTimer()},_stopTimer:function(){clearTimeout(this._holdTimer)},cancel:function(){this._stopTimer()}});s({emitter:h,bubble:!0,events:[c]}),i.exports={name:c}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(32),s=n(10),l=n(2),c=n(37),d=n(8),u={required:{validate:function(e,t){return l.isDefined(e)?e===!1?!1:(e=String(e),!t.trim&&l.isDefined(t.trim)||(e=o.trim(e)),""!==e):!1},defaultMessage:function(e){return d.getFormatter("validation-required")(e)},defaultFormattedMessage:function(e){return d.getFormatter("validation-required-formatted")(e)}},numeric:{validate:function(e,t){return u.required.validate(e,{})?t.useCultureSettings&&l.isString(e)?!isNaN(c.parse(e)):o.isNumeric(e):!0},defaultMessage:function(e){return d.getFormatter("validation-numeric")(e)},defaultFormattedMessage:function(e){return d.getFormatter("validation-numeric-formatted")(e)}},range:{validate:function(e,t){if(!u.required.validate(e,{}))return!0;var n=u.numeric.validate(e,t),i=l.isDefined(e),o=n?parseFloat(e):i&&e.valueOf(),a=t.min,r=t.max;if(!n&&!l.isDate(e)&&!i)return!1;if(l.isDefined(a))return l.isDefined(r)?o>=a&&r>=o:o>=a;if(l.isDefined(r))return r>=o;throw s.Error("E0101")},defaultMessage:function(e){return d.getFormatter("validation-range")(e)},defaultFormattedMessage:function(e){return d.getFormatter("validation-range-formatted")(e)}},stringLength:{validate:function(e,t){return e=l.isDefined(e)?String(e):"",!t.trim&&l.isDefined(t.trim)||(e=o.trim(e)),u.range.validate(e.length,o.extend({},t))},defaultMessage:function(e){return d.getFormatter("validation-stringLength")(e)},defaultFormattedMessage:function(e){return d.getFormatter("validation-stringLength-formatted")(e)}},custom:{validate:function(e,t){return t.validationCallback({value:e,validator:t.validator,rule:t})},defaultMessage:function(e){return d.getFormatter("validation-custom")(e)},defaultFormattedMessage:function(e){return d.getFormatter("validation-custom-formatted")(e)}},compare:{validate:function(e,t){if(!t.comparisonTarget)throw s.Error("E0102");o.extend(t,{reevaluate:!0});var n=t.comparisonTarget(),i=t.comparisonType||"==";switch(i){case"==":return e==n;case"!=":return e!=n;case"===":return e===n;case"!==":return e!==n;case">":return e>n;case">=":return e>=n;case"<":return n>e;case"<=":return n>=e}},defaultMessage:function(e){return d.getFormatter("validation-compare")(e)},defaultFormattedMessage:function(e){return d.getFormatter("validation-compare-formatted")(e)}},pattern:{validate:function(e,t){if(!u.required.validate(e,{}))return!0;var n=t.pattern;return l.isString(n)&&(n=new RegExp(n)),n.test(e)},defaultMessage:function(e){return d.getFormatter("validation-pattern")(e)},defaultFormattedMessage:function(e){return d.getFormatter("validation-pattern-formatted")(e)}},email:{validate:function(e,t){return u.required.validate(e,{})?u.pattern.validate(e,o.extend({},t,{pattern:/^[\d\w\._\-]+@([\d\w\._\-]+\.)+[\w]+$/i})):!0},defaultMessage:function(e){return d.getFormatter("validation-email")(e)},defaultFormattedMessage:function(e){return d.getFormatter("validation-email-formatted")(e)}}},h=a.inherit({ctor:function(e){this.group=e,this.validators=[]},validate:function(){var e={isValid:!0,brokenRules:[],validators:[]};return o.each(this.validators,function(t,n){var i=n.validate();e.isValid=e.isValid&&i.isValid,i.brokenRule&&e.brokenRules.push(i.brokenRule),e.validators.push(n)}),this.fireEvent("validated",[{validators:e.validators,brokenRules:e.brokenRules,isValid:e.isValid}]),e},reset:function(){o.each(this.validators,function(e,t){t.reset()})}}).include(r),p={groups:[],getGroupConfig:function(e){var t=o.grep(this.groups,function(t){return t.group===e});return t.length?t[0]:void 0},initGroups:function(){this.groups=[],this.addGroup()},addGroup:function(e){var t=this.getGroupConfig(e);return t||(t=new h(e),this.groups.push(t)),t},removeGroup:function(e){var t=this.getGroupConfig(e),n=o.inArray(t,this.groups);return n>-1&&this.groups.splice(n,1),t},_setDefaultMessage:function(e,t,n){l.isDefined(e.message)||(t.defaultFormattedMessage&&l.isDefined(n)?e.message=t.defaultFormattedMessage(n):e.message=t.defaultMessage())},validate:function(e,t,n){var i={name:n,value:e,brokenRule:null,isValid:!0,validationRules:t},a=this;return o.each(t||[],function(t,o){var r,c=u[o.type];if(!c)throw s.Error("E0100");return l.isDefined(o.isValid)&&o.value===e&&!o.reevaluate?o.isValid?!0:(i.isValid=!1,i.brokenRule=o,!1):(o.value=e,r=c.validate(e,o),o.isValid=r,r||(i.isValid=!1,a._setDefaultMessage(o,c,n),i.brokenRule=o),o.isValid?void 0:!1)}),i},registerValidatorInGroup:function(e,t){var n=p.addGroup(e);o.inArray(t,n.validators)<0&&n.validators.push(t)},removeRegisteredValidator:function(e,t){var n=p.getGroupConfig(e),i=n&&n.validators,a=o.inArray(t,i);a>-1&&i.splice(a,1)},validateGroup:function(e){var t=p.getGroupConfig(e);if(!t)throw s.Error("E0110");return t.validate()},resetGroup:function(e){var t=p.getGroupConfig(e);if(!t)throw s.Error("E0110");return t.reset()}};p.initGroups(),i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a=n(1),r=n(2),s=n(26),l=n(15),c=n(17),d=/left|right/,u=/top|bottom/,h=/fit|flip|none/,p=function(e){var t={h:"center",v:"center"},n=r.splitPair(e);return n&&a.each(n,function(){var e=String(this).toLowerCase();d.test(e)?t.h=e:u.test(e)&&(t.v=e)}),t},f=function(e){return s.pairToObject(e)},_=function(e){var t=r.splitPair(e),n=String(t&&t[0]).toLowerCase(),i=String(t&&t[1]).toLowerCase();return h.test(n)||(n="none"),h.test(i)||(i=n),{h:n,v:i}},g=function(e){switch(e){case"center":return.5;case"right":case"bottom":return 1;default:return 0}},m=function(e){switch(e){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return e}},v=function(e,t){var n=0;return e.myLocation<t.min&&(n+=t.min-e.myLocation),e.myLocation>t.max&&(n+=e.myLocation-t.max),n},x=function(e,t,n){return t.myLocation<n.min?"h"===e?"left":"top":t.myLocation>n.max?"h"===e?"right":"bottom":"none"},w=function(e){e.myLocation=e.atLocation+g(e.atAlign)*e.atSize-g(e.myAlign)*e.mySize+e.offset},y={fit:function(e,t){var n=!1;e.myLocation>t.max&&(e.myLocation=t.max,n=!0),e.myLocation<t.min&&(e.myLocation=t.min,n=!0),e.fit=n},flip:function(e,t){if(e.flip=!1,("center"!==e.myAlign||"center"!==e.atAlign)&&(e.myLocation<t.min||e.myLocation>t.max)){var n=a.extend({},e,{myAlign:m(e.myAlign),atAlign:m(e.atAlign),offset:-e.offset});w(n),n.oversize=v(n,t),(n.myLocation>=t.min&&n.myLocation<=t.max||e.oversize>n.oversize)&&(e.myLocation=n.myLocation,e.oversize=n.oversize,e.flip=!0)}},flipfit:function(e,t){this.flip(e,t),this.fit(e,t)},none:function(e,t){e.oversize=0}},b=function(){var e=a("<div>").css({width:100,height:100,overflow:"scroll",position:"absolute",top:-9999}).appendTo(a("body")),t=e.get(0).offsetWidth-e.get(0).clientWidth;e.remove(),o=t},C={h:{location:0,flip:!1,fit:!1,oversize:0},v:{location:0,flip:!1,fit:!1,oversize:0}},k=function(e,t){var n=a(e),i=n.offset(),r=a.extend(!0,{},C,{h:{location:i.left},v:{location:i.top}});if(!t)return r;var s=p(t.my),l=p(t.at),d=t.of||window,u=f(t.offset),h=_(t.collision),g=t.boundary,m=f(t.boundaryOffset),k={mySize:n.outerWidth(),myAlign:s.h,atAlign:l.h,offset:u.h,collision:h.h,boundaryOffset:m.h},S={mySize:n.outerHeight(),myAlign:s.v,atAlign:l.v,offset:u.v,collision:h.v,boundaryOffset:m.v};if(d.preventDefault)k.atLocation=d.pageX,S.atLocation=d.pageY,k.atSize=0,S.atSize=0;else if(d=a(d),a.isWindow(d[0]))k.atLocation=d.scrollLeft(),S.atLocation=d.scrollTop(),k.atSize=d.width(),S.atSize=d.height();else if(9===d[0].nodeType)k.atLocation=0,S.atLocation=0,k.atSize=d.width(),S.atSize=d.height();else{var T=d.offset();k.atLocation=T.left,S.atLocation=T.top,k.atSize=d.outerWidth(),S.atSize=d.outerHeight()}w(k),w(S);var I=function(){var e=a(window),t=e.width(),n=e.height(),i=e.scrollLeft(),r=e.scrollTop(),s=document.width>document.documentElement.clientWidth,l=document.height>document.documentElement.clientHeight,d=c.touch?document.documentElement.clientWidth/(l?t-o:t):1,u=c.touch?document.documentElement.clientHeight/(s?n-o:n):1;void 0===o&&b();var h=t,p=n;if(g){var f=a(g),_=f.offset();i=_.left,r=_.top,h=f.width(),p=f.height()}return{h:{min:i+k.boundaryOffset,max:i+h/d-k.mySize-k.boundaryOffset},v:{min:r+S.boundaryOffset,max:r+p/u-S.mySize-S.boundaryOffset}}}();k.oversize=v(k,I.h),S.oversize=v(S,I.v),k.collisionSide=x("h",k,I.h),S.collisionSide=x("v",S,I.v),y[k.collision]&&y[k.collision](k,I.h),y[S.collision]&&y[S.collision](S,I.v);var D=function(e){return t.precise?e:Math.round(e)};return a.extend(!0,r,{h:{location:D(k.myLocation),oversize:D(k.oversize),fit:k.fit,flip:k.flip,collisionSide:k.collisionSide},v:{location:D(S.myLocation),oversize:D(S.oversize),fit:S.fit,flip:S.flip,collisionSide:S.collisionSide},precise:t.precise}),r},S=function(e,t){var n=a(e);if(!t)return n.offset();l.resetPosition(n);var i=n.offset(),o=t.h&&t.v?t:k(n,t),r=function(e){return t.precise?e:Math.round(e)};return l.move(n,{left:o.h.location-r(i.left),top:o.v.location-r(i.top)}),o};a.extend(S,{inverseAlign:m,normalizeAlign:p}),i.exports={calculateScrollbarWidth:b,calculate:k,setup:S}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1);t.registry={},t.register=function(e,n,i){var a=t.registry,r={};r[e]=a[e]?a[e]:{},r[e][n]=i,a=o.extend(a,r)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=D(e);return C[t]||C[k[t]||E]}function a(e,t){return k[e+"."+t]||S[e+"."+t]||k[e]}function r(e,t,n){return a(e+t,n)||a(e,n)}function s(e,t){if(!arguments.length)return E;var n=D(t);return E=(e&&e.platform?r(D(e.platform),e.version,n):a(D(e),n))||E,this}function l(e,t){var n=e.indexOf(t);return n>0?{name:e.substring(0,n),scheme:e.substring(n+1)}:null}function c(e,t){var n=l(e,".")||l(e,"-")||{name:e},i=n.name,o=n.scheme;o?(k[i]=k[i]||t,k[i+"."+o]=k[i+"-"+o]=t):k[i]=t}function d(e,t){var n=D(e&&e.name);n&&(c(n,n),C[n]=T(!0,{},o(t),_(e)))}function u(e,t){c(D(e),D(t))}function h(e,t){S[e]=t}function p(e,t,n,i){var o=n?n[t]:i;void 0!==o&&void 0===e[t]&&(e[t]=o)}function f(e,t,n,i){var o=n?n[t]:i;void 0!==o&&(e[t]=T(!0,{},o,e[t]))}function _(e){return e=T(!0,{loadingIndicator:{font:{}},"export":{font:{}},legend:{font:{},border:{}},title:{font:{}},tooltip:{font:{}},"chart:common":{},"chart:common:axis":{grid:{},minorGrid:{},tick:{},minorTick:{},title:{font:{}},label:{font:{}}},chart:{commonSeriesSettings:{candlestick:{}}},pie:{},polar:{},gauge:{scale:{tick:{},minorTick:{},label:{font:{}}}},barGauge:{},map:{background:{}},treeMap:{tile:{selectionStyle:{border:{}}},group:{border:{},selectionStyle:{border:{}},label:{font:{}}}},rangeSelector:{scale:{tick:{},minorTick:{},label:{font:{}}},chart:{}},sparkline:{},bullet:{}},e),p(e.loadingIndicator,"backgroundColor",e),p(e.chart.commonSeriesSettings.candlestick,"innerColor",null,e.backgroundColor),p(e.map.background,"color",null,e.backgroundColor),p(e.title.font,"color",null,e.primaryTitleColor),f(e.title,"subtitle",null,e.title),p(e.legend.font,"color",null,e.secondaryTitleColor),p(e.legend.border,"color",null,e.axisColor),g(e),I(["chart","pie","polar","gauge","barGauge","map","treeMap","rangeSelector","sparkline","bullet"],function(t,n){p(e[n],"redrawOnResize",e),p(e[n],"containerBackgroundColor",null,e.backgroundColor),f(e[n],"tooltip",e)}),I(["chart","pie","polar","gauge","barGauge","map","treeMap","rangeSelector"],function(t,n){f(e[n],"loadingIndicator",e),f(e[n],"export",e),f(e[n],"legend",e),f(e[n],"title",e)}),I(["chart","pie","polar"],function(t,n){f(e,n,null,e["chart:common"])}),I(["chart","polar"],function(t,n){e[n]=e[n]||{},f(e[n],"commonAxisSettings",null,e["chart:common:axis"])}),f(e.rangeSelector.chart,"commonSeriesSettings",e.chart),f(e.rangeSelector.chart,"dataPrepareSettings",e.chart),p(e.treeMap.group.border,"color",null,e.axisColor),p(e.treeMap.tile.selectionStyle.border,"color",null,e.primaryTitleColor),p(e.treeMap.group.selectionStyle.border,"color",null,e.primaryTitleColor),p(e.treeMap.group.label.font,"color",null,e.secondaryTitleColor),p(e.map.legend,"backgroundColor",e),m(e),e}function g(e){var t=e["chart:common:axis"],n="color";I([t,t.grid,t.minorGrid,t.tick,t.minorTick],function(t,i){p(i,n,null,e.axisColor)}),p(t.title.font,n,null,e.secondaryTitleColor),p(t.label.font,n,null,e.axisLabelColor),p(e.gauge.scale.label.font,n,null,e.axisLabelColor),p(e.gauge.scale.tick,n,null,e.backgroundColor),p(e.gauge.scale.minorTick,n,null,e.backgroundColor),p(e.rangeSelector.scale.tick,n,null,e.axisColor),p(e.rangeSelector.scale.minorTick,n,null,e.axisColor),p(e.rangeSelector.scale.label.font,n,null,e.axisLabelColor)}function m(e){var t=e.map;I(["area","line","marker"],function(e,n){f(t,"layer:"+n,null,t.layer)}),I(["dot","bubble","pie","image"],function(e,n){f(t,"layer:marker:"+n,null,t["layer:marker"])})}function v(e){var t=++A;e._cache=t,B[t]=e}function x(e){delete B[e._cache]}function w(){return I(B,function(){this.refresh()}),this}var y=n(1),b=n(7),C={},k={},S={},T=y.extend,I=y.each,D=b.normalizeEnum,E=null,A=0,B={};T(t,{currentTheme:s,registerTheme:d,findTheme:o,registerThemeAlias:u,registerThemeSchemeAlias:h,refreshAll:w,addCacheItem:v,removeCacheItem:x})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i=[],o=function(e){return 10>e?"0".concat(e):String(e)},a=function(){return e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()<1};return i.push(e.getFullYear()),i.push("-"),i.push(o(e.getMonth()+1)),i.push("-"),i.push(o(e.getDate())),t&&a()||(i.push("T"),i.push(o(e.getHours())),i.push(":"),i.push(o(e.getMinutes())),i.push(":"),i.push(o(e.getSeconds())),e.getMilliseconds()&&(i.push("."),i.push(e.getMilliseconds())),n||i.push("Z")),i.join("")}function a(e){var t=new Date(60*new Date(0).getTimezoneOffset()*1e3),n=e.replace("Z","").split("T"),i=/(\d{4})-(\d{2})-(\d{2})/.exec(n[0]),o=/(\d{2}):(\d{2}):(\d{2})\.?(\d{0,7})?/.exec(n[1]);return t.setFullYear(Number(i[1])),t.setMonth(Number(i[2])-1),t.setDate(Number(i[3])),l.isArray(o)&&o.length&&(t.setHours(Number(o[1])),t.setMinutes(Number(o[2])),t.setSeconds(Number(o[3])),t.setMilliseconds(Number(String(o[4]).substr(0,3))||0)),t}function r(e){return/^(?:[a-z]+:)?\/\//i.test(e)}function s(e,t){function n(e){var t=e.indexOf("?");return t>-1?e.substr(0,t):e}var i,o=n(e).split("/"),a=t.split("/");for(o.pop();a.length;)i=a.shift(),".."===i?o.pop():o.push(i);return o.join("/")}var l=n(1),c=n(5),d=n(2),u=n(33),h=d.isDefined,p=n(24).errors,f=n(27),_=/^(\{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}\}{0,1})$/,g=/^\/Date\((-?\d+)((\+|-)?(\d+)?)\)\/$/,m=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[-+]{1}\d{2}(:?)(\d{2})?)?$/,v="application/json;odata=verbose",x=function(e,t,n){function i(t){return JSON.stringify(t,function(t,n){if(!(this[t]instanceof Date))return n;switch(n=o(this[t]),e){case 2:return n.substr(0,n.length-1);case 3:case 4:return n;default:throw p.Error("E4002")}})}t=l.extend({async:!0,method:"get",url:"",params:{},payload:null,headers:{},timeout:3e4},t),n=n||{};var a=n.beforeSend;a&&a(t);var r=(t.method||"get").toLowerCase(),s="get"===r,c=s&&n.jsonp,d=l.extend({},t.params),u=s?d:i(t.payload),h=!s&&l.param(d),f=t.url,_=!s&&v;return h&&(f+=(f.indexOf("?")>-1?"&":"?")+h),c&&(u.$format="json"),{url:f,data:u,dataType:c?"jsonp":"json",jsonp:c&&"$callback",type:r,async:t.async,timeout:t.timeout,headers:t.headers,contentType:_,accepts:{json:[v,"text/plain"].join()},xhrFields:{withCredentials:n.withCredentials}}},w=function(e,t,n,i){var o=l.Deferred(),a=x(e,t,n);return l.ajax(a).always(function(t,l){var c,d=C(t,l,i),u=d.error,h=d.data,f=d.nextUrl;u?o.reject(u):n.countOnly?isFinite(d.count)?o.resolve(d.count):o.reject(new p.Error("E4018")):f?(r(f)||(f=s(a.url,f)),w(e,{url:f},n,i).fail(o.reject).done(function(e){o.resolve(h.concat(e))})):(isFinite(d.count)&&(c={totalCount:d.count}),o.resolve(h,c))}),o.promise()},y=function(e){var t,n=e;"message"in e&&(t=e.message.value?e.message.value:e.message);for(;(n=n.innererror||n.internalexception)&&(t=n.message,!n.internalexception||-1!==t.indexOf("inner exception")););return t},b=function(e,t){if("nocontent"===t)return null;var n=200,i="Unknown error",o=e;if("success"!==t){n=e.status,i=f.errorMessageFromXhr(e,t);try{o=l.parseJSON(e.responseText)}catch(e){}}var a=o&&(o.error||o["odata.error"]||o["@odata.error"]);return a?(i=y(a)||i,200===n&&(n=500),a.code&&(n=Number(a.code)),l.extend(Error(i),{httpStatus:n,errorDetails:a})):200!==n?l.extend(Error(i),{httpStatus:n}):void 0},C=function(e,t,n){var i,o=b(e,t);return o?{error:o}:l.isPlainObject(e)?(i="d"in e&&(d.isArray(e.d)||d.isObject(e.d))?k(e,t):S(e,t),I(i,n),i):{data:e}},k=function(e){var t=e.d;return h(t)?(t=t,h(t.results)&&(t=t.results),{data:t,nextUrl:e.d.__next,count:parseInt(e.d.__count,10)}):{error:Error("Malformed or unsupported JSON response received")}},S=function(e){var t=e;return h(t.value)&&(t=t.value),{data:t,nextUrl:e["@odata.nextLink"],count:parseInt(e["@odata.count"],10)}},T=c.inherit({ctor:function(e){this._value=e},valueOf:function(){return this._value}}),I=function(e,t){l.each(e,function(n,i){if(null!==i&&"object"==typeof i)"results"in i&&(e[n]=i.results),I(e[n],t);else if("string"==typeof i&&(_.test(i)&&(e[n]=new u(i)),t!==!1))if(i.match(g)){var o=new Date(Number(RegExp.$1)+60*RegExp.$2*1e3);e[n]=new Date(o.valueOf()+60*o.getTimezoneOffset()*1e3)}else m.test(i)&&(e[n]=new Date(a(e[n]).valueOf()))})},D=function(e){return"datetime'"+o(e,!0,!0)+"'"},E=function(e){return"'"+e.replace(/'/g,"''")+"'"},A=function(e){return e instanceof T?e.valueOf():e.replace(/\./g,"/")},B=function(e){return e instanceof Date?o(e,!1,!1):e instanceof u?e.valueOf():M(e)},M=function(e){return e instanceof Date?D(e):e instanceof u?"guid'"+e+"'":e instanceof T?e.valueOf():"string"==typeof e?E(e):String(e)},O=function(e,t){switch(t){case 2:case 3:return M(e);case 4:return B(e);default:throw p.Error("E4002")}},P=function(e,t){if(l.isPlainObject(e)){var n=[];return l.each(e,function(e,i){n.push(A(e)+"="+O(i,t))}),n.join()}return O(e,t)},R={String:function(e){return e+""},Int32:function(e){return Math.floor(e)},Int64:function(e){return e instanceof T?e:new T(e+"L")},Guid:function(e){return e instanceof u?e:new u(e)},Boolean:function(e){return!!e},Single:function(e){return e instanceof T?e:new T(e+"f")},Decimal:function(e){return e instanceof T?e:new T(e+"m")}};t.sendRequest=w,t.serializePropName=A,t.serializeValue=O,t.serializeKey=P,t.keyConverters=R,t.EdmLiteral=T}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a=n(1),r=n(5),s=n(2),l=n(6),c=n(4),d=n(13),u=n(77),h=n(60),p="dxactive",f="dxinactive",_=30,g=400,m=r.inherit({ctor:function(e,t){this._timeout=e,this._fire=t},start:function(){var e=this;this._schedule(function(){e.force()})},_schedule:function(e){this._timer=window.setTimeout(e,this._timeout)},stop:function(){clearTimeout(this._timer)},force:function(){this._fired||(this.stop(),this._fire(),this._fired=!0)},fired:function(){return this._fired}}),v=u.inherit({ctor:function(){this.callBase.apply(this,arguments),this._active=new m(0,a.noop),this._inactive=new m(0,a.noop)},configurate:function(e,t){switch(t){case p:e.activeTimeout=e.timeout;break;case f:e.inactiveTimeout=e.timeout}this.callBase(e)},start:function(e){if(o){var t=a.contains(this.getElement().get(0),o.getElement().get(0)),n=!o._active.fired();if(t&&n)return void this._cancel();o._inactive.force()}o=this,this._initEvents(e),this._active.start()},_initEvents:function(e){var t=this,n=this._getEmitterTarget(e),i=c.isMouseEvent(e),a=l.isSimulator(),r=a||!i,d=s.ensureDefined(this.activeTimeout,_),u=s.ensureDefined(this.inactiveTimeout,g);this._active=new m(r?d:0,function(){t._fireEvent(p,e,{target:n})}),this._inactive=new m(r?u:0,function(){t._fireEvent(f,e,{target:n}),o=null})},cancel:function(e){this.end(e)},end:function(e){var t=e.type!==d.up;t?this._active.stop():this._active.force(),this._inactive.start(),t&&this._inactive.force()},dispose:function(){this._active.stop(),this._inactive.stop(),this.callBase()},lockInactive:function(){return this._active.force(),this._inactive.stop(),o=null,this._cancel(),a.proxy(this._inactive.force,this._inactive)}});v.lock=function(e){var t=o?o.lockInactive():a.noop;a.when(e).always(t)},h({emitter:v,events:[p,f]}),t.lock=v.lock,t.active=p,t.inactive=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(12),s=n(37),l=n(14),c=n(75),d=n(36).logger;n(108),i.exports=c({_addFormatSeparator:function(e,t){var n=" ";return t?e+n+t:e},_getDateTimeFormatPattern:function(e){return l.getPatternByFormat(e)},format:function(e,t,n){var i=a.isString(t)&&""!==t||o.isPlainObject(t)||a.isFunction(t),r=a.isNumber(e)||a.isDate(e);return i&&r?a.isFunction(t)?t(e):(void 0!==n&&d.warn("Option 'precision' is deprecated. Use field 'precision' of a format object instead."),a.isString(t)&&(t={type:t,precision:n}),a.isNumber(e)?s.format(e,t):a.isDate(e)?l.format(e,t):void 0):a.isDefined(e)?e.toString():""},getTimeFormat:function(e){return e?this._getDateTimeFormatPattern("longtime"):this._getDateTimeFormatPattern("shorttime")},getDateFormatByDifferences:function(e){var t="";if(e.millisecond&&(t=l.getPatternByFormat("millisecond")),(e.hour||e.minute||e.second)&&(t=this._addFormatSeparator(this.getTimeFormat(e.second),t)),e.year&&e.month&&e.day)return this._addFormatSeparator(this._getDateTimeFormatPattern("shortdate"),t);if(e.year&&e.month)return l.getPatternByFormat("monthandyear");if(e.year&&e.quarter)return l.getPatternByFormat("quarterandyear");if(e.year)return l.getPatternByFormat("year");if(e.quarter)return l.getPatternByFormat("quarter");if(e.month&&e.day)return this._addFormatSeparator(this._getDateTimeFormatPattern("monthandday"),t);if(e.month)return l.getPatternByFormat("month");if(e.day){var n=l.getPatternByFormat("dayofweek")+", "+l.getPatternByFormat("day");return this._addFormatSeparator(n,t)}return t},getDateFormatByTicks:function(e){var t,n,i,o;if(e.length>1)for(n=r.getDatesDifferences(e[0],e[1]),o=1;o<e.length-1;o++)i=r.getDatesDifferences(e[o],e[o+1]),n.count<i.count&&(n=i);else n={year:!0,month:!0,day:!0,hour:e[0].getHours()>0,minute:e[0].getMinutes()>0,second:e[0].getSeconds()>0};return t=this.getDateFormatByDifferences(n)},getDateFormatByTickInterval:function(e,t,n){var i,o,s,l={week:"day"},c=function(e,t,n){switch(t){case"year":case"quarter":e.month=n;case"month":e.day=n;case"week":case"day":e.hour=n;case"hour":e.minute=n;case"minute":e.second=n;case"second":e.millisecond=n}},d=function(e,t,n){!n.getMilliseconds()&&n.getSeconds()?n.getSeconds()-t.getSeconds()===1&&(e.millisecond=!0,e.second=!1):!n.getSeconds()&&n.getMinutes()?n.getMinutes()-t.getMinutes()===1&&(e.second=!0,e.minute=!1):!n.getMinutes()&&n.getHours()?n.getHours()-t.getHours()===1&&(e.minute=!0,e.hour=!1):!n.getHours()&&n.getDate()>1?n.getDate()-t.getDate()===1&&(e.hour=!0,e.day=!1):1===n.getDate()&&n.getMonth()?n.getMonth()-t.getMonth()===1&&(e.day=!0,e.month=!1):!n.getMonth()&&n.getFullYear()&&n.getFullYear()-t.getFullYear()===1&&(e.month=!0,e.year=!1)};return n=a.isString(n)?n.toLowerCase():n,o=r.getDatesDifferences(e,t),e!==t&&d(o,e>t?t:e,e>t?e:t),s=r.getDateUnitInterval(o),c(o,s,!0),s=r.getDateUnitInterval(n||"second"),c(o,s,!1),o[l[s]||s]=!0,i=this.getDateFormatByDifferences(o)}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(36).logger,a=n(75);i.exports=a({isWrapped:function(e){return!1},isWritableWrapped:function(e){return!1},wrap:function(e){return e},unwrap:function(e){return e},assign:function(e,t){o.error("Method 'assign' should not be used for not wrapped variables. Use 'isWrapped' method for enshuring.")}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(17),r=n(21),s=n(2),l=n(6),c=n(3),d=n(40),u=n(95),h=n(4),p=n(399),f=n(241),_=n(152),g="dxScrollable",m="dxScrollableStrategy",v="dx-scrollable",x="dx-scrollable-disabled",w="dx-scrollable-container",y="dx-scrollable-content",b="vertical",C="horizontal",k="both",S=void 0!==document.onbeforeactivate,T=function(){return[{device:function(e){return!a.nativeScrolling},options:{useNative:!1}},{device:function(e){return!a.nativeScrolling&&!l.isSimulator()&&"generic"===l.real().platform&&"generic"===e.platform},options:{bounceEnabled:!1,scrollByThumb:!0,scrollByContent:a.touch,showScrollbar:"onHover"}}]},I=d.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{disabled:!1,onScroll:null,direction:b,showScrollbar:"onScroll",useNative:!0,bounceEnabled:!0,scrollByContent:!0,scrollByThumb:!1,onUpdated:null,onStart:null,onEnd:null,onBounce:null,onStop:null,useSimulatedScrollbar:!1,useKeyboard:!0,inertiaEnabled:!0,pushBackValue:0,updateManually:!1})},_defaultOptionsRules:function(){return this.callBase().concat(T(),[{device:function(e){return a.nativeScrolling&&"android"===l.real().platform},options:{useSimulatedScrollbar:!0}},{device:function(e){return"ios"===l.real().platform},options:{pushBackValue:1}}])},_initOptions:function(e){this.callBase(e),"useSimulatedScrollbar"in e||this._setUseSimulatedScrollbar()},_setUseSimulatedScrollbar:function(){this.initialOption("useSimulatedScrollbar")||this.option("useSimulatedScrollbar",!this.option("useNative"))},_init:function(){this.callBase(),this._initMarkup(),this._attachNativeScrollbarsCustomizationCss(),this._locked=!1},_visibilityChanged:function(e){this.element().is(":hidden")||(e?(this.update(),this._toggleRTLDirection(this.option("rtlEnabled")),this._savedScrollOffset&&this.scrollTo(this._savedScrollOffset),delete this._savedScrollOffset):this._savedScrollOffset=this.scrollOffset())},_initMarkup:function(){var e=this.element().addClass(v),t=this._$container=o("<div>").addClass(w),n=this._$content=o("<div>").addClass(y);S&&e.on(h.addNamespace("beforeactivate",g),function(e){o(e.target).is(u.focusable)||e.preventDefault()}),n.append(e.contents()).appendTo(t),t.appendTo(e)},_dimensionChanged:function(){this.update()},_attachNativeScrollbarsCustomizationCss:function(){navigator.platform.indexOf("Mac")>-1&&r.webkit||this.element().addClass("dx-scrollable-customizable-scrollbars")},_render:function(){this._renderPushBackOffset(),this._renderDirection(),this._renderStrategy(),this._attachEventHandlers(),this._renderDisabledState(),this._createActions(),this.update(),this.callBase()},_renderPushBackOffset:function(){var e=this.option("pushBackValue");(e||this._lastPushBackValue)&&(this._$content.css({paddingTop:e,paddingBottom:e}),this._lastPushBackValue=e);
},_toggleRTLDirection:function(e){var t=this;this.callBase(e),e&&this.option("direction")!==b&&s.deferUpdate(function(){var e=t.scrollWidth()-t.clientWidth();s.deferRender(function(){t.scrollTo({left:e})})})},_attachEventHandlers:function(){var e=this._strategy,t={getDirection:o.proxy(e.getDirection,e),validate:o.proxy(this._validate,this),isNative:this.option("useNative")};this._$container.off("."+g).on(h.addNamespace("scroll",g),o.proxy(e.handleScroll,e)).on(h.addNamespace(p.init,g),t,o.proxy(this._initHandler,this)).on(h.addNamespace(p.start,g),o.proxy(e.handleStart,e)).on(h.addNamespace(p.move,g),o.proxy(e.handleMove,e)).on(h.addNamespace(p.end,g),o.proxy(e.handleEnd,e)).on(h.addNamespace(p.cancel,g),o.proxy(e.handleCancel,e)).on(h.addNamespace(p.stop,g),o.proxy(e.handleStop,e))},_validate:function(e){return this._isLocked()?!1:(this._updateIfNeed(),this._strategy.validate(e))},_initHandler:function(){var e=this._strategy;e.handleInit.apply(e,arguments)},_renderDisabledState:function(){this.element().toggleClass(x,this.option("disabled")),this.option("disabled")?this._lock():this._unlock()},_renderDirection:function(){this.element().removeClass("dx-scrollable-"+C).removeClass("dx-scrollable-"+b).removeClass("dx-scrollable-"+k).addClass("dx-scrollable-"+this.option("direction"))},_renderStrategy:function(){this._createStrategy(),this._strategy.render(),this.element().data(m,this._strategy)},_createStrategy:function(){this._strategy=this.option("useNative")?new _(this):new f.SimulatedStrategy(this)},_createActions:function(){this._strategy.createActions()},_clean:function(){this._strategy.dispose()},_optionChanged:function(e){switch(e.name){case"onStart":case"onEnd":case"onStop":case"onUpdated":case"onScroll":case"onBounce":this._createActions();break;case"direction":this._resetInactiveDirection(),this._invalidate();break;case"useNative":this._setUseSimulatedScrollbar(),this._invalidate();break;case"inertiaEnabled":case"bounceEnabled":case"scrollByContent":case"scrollByThumb":case"bounceEnabled":case"useKeyboard":case"showScrollbar":case"useSimulatedScrollbar":case"pushBackValue":this._invalidate();break;case"disabled":this._renderDisabledState();break;case"updateManually":break;default:this.callBase(e)}},_resetInactiveDirection:function(){var e=this._getInactiveProp();if(e){var t=this.scrollOffset();t[e]=0,this.scrollTo(t)}},_getInactiveProp:function(){var e=this.option("direction");return e===b?"left":e===C?"top":void 0},_location:function(){return this._strategy.location()},_normalizeLocation:function(e){if(o.isPlainObject(e)){var t=s.ensureDefined(e.left,e.x),n=s.ensureDefined(e.top,e.y);return{left:s.isDefined(t)?-t:void 0,top:s.isDefined(n)?-n:void 0}}var i=this.option("direction");return{left:i!==b?-e:void 0,top:i!==C?-e:void 0}},_isLocked:function(){return this._locked},_lock:function(){this._locked=!0},_unlock:function(){this.option("disabled")||(this._locked=!1)},_isDirection:function(e){var t=this.option("direction");return e===b?t!==C:e===C?t!==b:t===e},_updateAllowedDirection:function(){var e=this._strategy._allowedDirections();this._isDirection(k)&&e.vertical&&e.horizontal?this._allowedDirectionValue=k:this._isDirection(C)&&e.horizontal?this._allowedDirectionValue=C:this._isDirection(b)&&e.vertical?this._allowedDirectionValue=b:this._allowedDirectionValue=null},_allowedDirection:function(){return this._allowedDirectionValue},_container:function(){return this._$container},content:function(){return this._$content},scrollOffset:function(){var e=this._location();return{top:-e.top,left:-e.left}},scrollTop:function(){return this.scrollOffset().top},scrollLeft:function(){return this.scrollOffset().left},clientHeight:function(){return this._$container.height()},scrollHeight:function(){return this.content().outerHeight()-2*this.option("pushBackValue")},clientWidth:function(){return this._$container.width()},scrollWidth:function(){return this.content().outerWidth()},update:function(){var e=this;return o.when(e._strategy.update()).done(function(){e._updateAllowedDirection()})},scrollBy:function(e){e=this._normalizeLocation(e),(e.top||e.left)&&(this._updateIfNeed(),this._strategy.scrollBy(e))},scrollTo:function(e){e=this._normalizeLocation(e),this._updateIfNeed();var t=this._location(),n=this._normalizeLocation({left:t.left-s.ensureDefined(e.left,t.left),top:t.top-s.ensureDefined(e.top,t.top)});(n.top||n.left)&&this._strategy.scrollBy(n)},scrollToElement:function(e,t){t=t||{};var n=o(e),i=this.content().find(e).length,a=n.parents("."+v).length-n.parents("."+y).length===0;if(i&&a){var r={top:0,left:0},s=this.option("direction");s!==b&&(r.left=this._scrollToElementPosition(n,C,t)),s!==C&&(r.top=this._scrollToElementPosition(n,b,t)),this.scrollTo(r)}},_scrollToElementPosition:function(e,t,n){var i=t===b,o=(i?n.top:n.left)||0,a=(i?n.bottom:n.right)||0,r=i?this.option("pushBackValue"):0,s=this._elementPositionRelativeToContent(e,i?"top":"left"),l=s-r,c=e[i?"outerHeight":"outerWidth"](),d=i?this.scrollTop():this.scrollLeft(),u=i?this.clientHeight():this.clientWidth(),h=d-l+o,p=d-l-c+u-a;return 0>=h&&p>=0?d:d-(Math.abs(h)>Math.abs(p)?p:h)},_elementPositionRelativeToContent:function(e,t){for(var n=0;this._hasScrollContent(e);)n+=e.position()[t],e=e.offsetParent();return n},_hasScrollContent:function(e){var t=this.content();return e.closest(t).length&&!e.is(t)},_updateIfNeed:function(){this.option("updateManually")||this.update()}});c(g,I),t.default=I,t.deviceDependentOptions=T}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=1e3/60,r=function(e){return this.setTimeout(e,a)},s=function(e){this.clearTimeout(e)},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,c=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame;if(l&&c&&(r=l,s=c),l&&!c){var d={};r=function(e){var t=l.call(window,function(){try{if(t in d)return;e.apply(this,arguments)}finally{delete d[t]}});return t},s=function(e){d[e]=!0}}r=o.proxy(r,window),s=o.proxy(s,window),t.requestAnimationFrame=r,t.cancelAnimationFrame=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=function(e){var t=n(1),i=n(5),o=i.inherit(e),a=o,r=new a(e),s={},l=function(n,i){t.each(n,function(n){t.isFunction(r[n])?!i&&e[n]||(e[n]=function(){return r[n].apply(e,arguments)}):(i&&(s[n]=e[n]),e[n]=r[n])})};return l(e,!0),e.inject=function(e){a=a.inherit(e),r=new a,l(e)},e.resetInjection=function(){t.extend(e,s),a=o,r=new o},e}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=function(e){return e&&"string"==typeof e?/data:.*base64|\.|\//.test(e)?"image":/^[\w-_]+$/.test(e)?"dxIcon":"fontIcon":!1},r=function(e){var t=a(e),n="dx-icon";switch(t){case"image":return o("<img>",{src:e}).addClass(n);case"fontIcon":return o("<i>",{"class":n+" "+e});case"dxIcon":return o("<i>",{"class":n+" "+n+"-"+e});default:return null}};t.getImageSourceType=a,t.getImageContainer=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(4),s=a.inherit({ctor:function(e){this._$element=o(e),this._cancelCallback=o.Callbacks(),this._acceptCallback=o.Callbacks()},getElement:function(){return this._$element},validate:function(e){return"dxmousewheel"!==e.type},validatePointers:function(e){return 1===r.hasTouches(e)},allowInterruptionByMousewheel:function(){return!0},configurate:function(e){o.extend(this,e)},addCancelCallback:function(e){this._cancelCallback.add(e)},removeCancelCallback:function(){this._cancelCallback.empty()},_cancel:function(e){this._cancelCallback.fire(this,e)},addAcceptCallback:function(e){this._acceptCallback.add(e)},removeAcceptCallback:function(){this._acceptCallback.empty()},_accept:function(e){this._acceptCallback.fire(this,e)},_requestAccept:function(e){this._acceptRequestEvent=e},_forgetAccept:function(){this._accept(this._acceptRequestEvent),this._acceptRequestEvent=null},start:o.noop,move:o.noop,end:o.noop,cancel:o.noop,reset:function(){this._acceptRequestEvent&&this._accept(this._acceptRequestEvent)},_fireEvent:function(e,t,n){var i=o.extend({type:e,originalEvent:t,target:this._getEmitterTarget(t),delegateTarget:this.getElement().get(0)},n);return t=r.fireEvent(i),t.cancel&&this._cancel(t),t},_getEmitterTarget:function(e){return(this.delegateSelector?o(e.target).closest(this.delegateSelector):this.getElement()).get(0)},dispose:o.noop});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(89),r=n(40),s=n(4),l="dxSwipeable",c="dx-swipeable",d={onStart:a.start,onUpdated:a.swipe,onEnd:a.end,onCancel:"dxswipecancel"},u=r.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{elastic:!0,immediate:!1,direction:"horizontal",itemSizeFunc:null,onStart:null,onUpdated:null,onEnd:null,onCancel:null})},_render:function(){this.callBase(),this.element().addClass(c),this._attachEventHandlers()},_attachEventHandlers:function(){if(this._detachEventHandlers(),!this.option("disabled")){var e=this.NAME;this._createEventData(),o.each(d,o.proxy(function(t,n){var i=this._createActionByOption(t,{context:this});n=s.addNamespace(n,e),this.element().on(n,this._eventData,function(e){return i({jQueryEvent:e})})},this))}},_createEventData:function(){this._eventData={elastic:this.option("elastic"),itemSizeFunc:this.option("itemSizeFunc"),direction:this.option("direction"),immediate:this.option("immediate")}},_detachEventHandlers:function(){this.element().off("."+l)},_optionChanged:function(e){switch(e.name){case"disabled":case"onStart":case"onUpdated":case"onEnd":case"onCancel":case"elastic":case"immediate":case"itemSizeFunc":case"direction":this._detachEventHandlers(),this._attachEventHandlers();break;case"rtlEnabled":break;default:this.callBase(e)}}});u.publicName(l),i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(106),l=n(32),c=n(43),d=n(212).processCallback,u=n(99),h={current:"current",blank:"blank",back:"back"},p="__history",f=a.inherit({ctor:function(e){e=e||{},this._currentItem=void 0,this._previousItem=void 0,this._createNavigationDevice(e)},_createNavigationDevice:function(e){this._navigationDevice=e.navigationDevice||new s.HistoryBasedNavigationDevice,this._navigationDevice.uriChanged.add(o.proxy(this._uriChangedHandler,this))},_uriChangedHandler:function(e){for(;u(););this.navigate(e)},_syncUriWithCurrentNavigationItem:function(){var e=this._currentItem&&this._currentItem.uri;this._navigationDevice.setUri(e,!0)},_cancelNavigation:function(e){this._syncUriWithCurrentNavigationItem(),this.fireEvent("navigationCanceled",[e])},_getDefaultOptions:function(){return{direction:"none",target:h.blank}},_updateHistory:function(e,t){this._previousItem=this._currentItem,this._currentItem={uri:e,key:e},this._navigationDevice.setUri(e,t.target===h.current)},_setCurrentItem:function(e){this._currentItem=e},navigate:function(e,t){t=t||{};var n,i=this,a=!i._currentItem,s=i._currentItem||{},l=t.item||{},c=s.uri,d=s.key,u=l.key;return void 0===e&&(e=i._navigationDevice.getUri()),/^_back$/.test(e)?void i.back():(t=o.extend(i._getDefaultOptions(),t||{}),a&&(t.target=h.current),n={currentUri:c,uri:e,cancel:!1,navigateWhen:[],options:t},i.fireEvent("navigating",[n]),e=n.uri,void(n.cancel||c===e&&(void 0===u||u===d)&&!i._forceNavigate?i._cancelNavigation(n):(i._forceNavigate=!1,o.when.apply(o,n.navigateWhen).done(function(){r.executeAsync(function(){i._updateHistory(e,t),i.fireEvent("navigated",[{uri:e,previousUri:c,options:t,item:i._currentItem}])})}))))},back:function(){return this._navigationDevice.back()},previousItem:function(){return this._previousItem},currentItem:function(e){if(!(arguments.length>0))return this._currentItem;if(!e)throw c.Error("E3023");this._setCurrentItem(e)},rootUri:function(){return this._currentItem&&this._currentItem.uri},canBack:function(){return!0},saveState:o.noop,restoreState:o.noop,removeState:o.noop}).include(l),_=f.inherit({ctor:function(e){e=e||{},this.callBase(e),this._createNavigationStacks(e),d.add(o.proxy(this._deviceBackInitiated,this)),this._stateStorageKey=e.stateStorageKey||p},init:function(){return this._navigationDevice.init()},_createNavigationDevice:function(e){e.navigationDevice||(e.navigationDevice=new s.StackBasedNavigationDevice),this.callBase(e),this._navigationDevice.backInitiated.add(o.proxy(this._deviceBackInitiated,this))},_uriChangedHandler:function(e){this.navigate(e)},_createNavigationStacks:function(e){this.navigationStacks={},this._keepPositionInStack=e.keepPositionInStack,this.currentStack=new g},_deviceBackInitiated:function(){u()?this._syncUriWithCurrentNavigationItem():this.back({isHardwareButton:!0})},_getDefaultOptions:function(){return{target:h.blank}},_createNavigationStack:function(){var e=new g;return e.itemsRemoved.add(o.proxy(this._removeItems,this)),e},_setCurrentItem:function(e){this._setCurrentStack(e.stack),this.currentStack.currentItem(e),this.callBase(e),this._syncUriWithCurrentNavigationItem()},_setCurrentStack:function(e){var t,n;"string"==typeof e?(n=e,n in this.navigationStacks||(this.navigationStacks[n]=this._createNavigationStack()),t=this.navigationStacks[n]):(t=e,n=o.map(this.navigationStacks,function(t,n){return t===e?n:null})[0]),this.currentStack=t,this.currentStackKey=n},_getViewTargetStackKey:function(e,t){var n;if(t)if(void 0!==this.navigationStacks[e])n=e;else{for(var i in this.navigationStacks)if(this.navigationStacks[i].items[0].uri===e){n=i;break}n=n||e}else n=this.currentStackKey||e;return n},_updateHistory:function(e,t){var n=t.root,i=n,o=!1,a=this.currentStack,r=void 0!==t.keepPositionInStack?t.keepPositionInStack:this._keepPositionInStack;if(t.stack=t.stack||this._getViewTargetStackKey(e,n),this._setCurrentStack(t.stack),!n&&this.currentStack.items.length||(o=this.currentStack===a,i=!0),n&&this.currentStack.items.length)r&&!o||(this.currentStack.currentIndex=0,this.currentItem().uri!==e&&this.currentStack.navigate(e,!0)),t.direction=t.direction||"none";else{var s=this.currentStack.currentIndex,l=this.currentItem()||{};switch(t.target){case h.blank:this.currentStack.navigate(e);break;case h.current:this.currentStack.navigate(e,!0);break;case h.back:this.currentStack.currentIndex>0?this.currentStack.back(e):this.currentStack.navigate(e,!0);break;default:throw c.Error("E3006",t.target)}if(void 0===t.direction){var d=this.currentStack.currentIndex-s;0>d?t.direction=this.currentStack.currentItem().backDirection||"backward":d>0&&this.currentStack.currentIndex>0?t.direction="forward":t.direction="none"}l.backDirection="forward"===t.direction?"backward":"none"}t.root=i,this._currentItem=this.currentStack.currentItem(),this._syncUriWithCurrentNavigationItem()},_removeItems:function(e){var t=this;o.each(e,function(e,n){t.fireEvent("itemRemoved",[n])})},back:function(e){e=e||{};var t=o.extend({cancel:!1},e);if(this.fireEvent("navigatingBack",[t]),t.cancel)return void this._syncUriWithCurrentNavigationItem();var n=this.previousItem(t.stack);n?this.navigate(n.uri,{stack:t.stack,target:h.back,item:n}):this.callBase()},rootUri:function(){return this.currentStack.items.length?this.currentStack.items[0].uri:this.callBase()},canBack:function(e){var t=e?this.navigationStacks[e]:this.currentStack;return t.canBack()},saveState:function(e){if(this.currentStack.items.length){var t={navigationStacks:{},currentStackKey:this.currentStackKey};o.each(this.navigationStacks,function(e,n){var i={};t.navigationStacks[e]=i,i.currentIndex=n.currentIndex,i.items=o.map(n.items,function(e){return{key:e.key,uri:e.uri}})});var n=JSON.stringify(t);e.setItem(this._stateStorageKey,n)}else this.removeState(e)},restoreState:function(e){if(!this.disableRestoreState){var t=e.getItem(this._stateStorageKey);if(t)try{var n=this,i=JSON.parse(t);o.each(i.navigationStacks,function(e,t){var i=n._createNavigationStack();n.navigationStacks[e]=i,i.currentIndex=t.currentIndex,i.items=o.map(t.items,function(e){return e.stack=i,e})}),this.currentStackKey=i.currentStackKey,this.currentStack=this.navigationStacks[this.currentStackKey],this._currentItem=this.currentStack.currentItem(),this._navigationDevice.setUri(this.currentItem().uri),this._forceNavigate=!0}catch(t){throw this.removeState(e),c.Error("E3007")}}},removeState:function(e){e.removeItem(this._stateStorageKey)},currentIndex:function(){return this.currentStack.currentIndex},previousItem:function(e){var t=this.navigationStacks[e]||this.currentStack;return t.previousItem()},getItemByIndex:function(e){return this.currentStack.items[e]},clearHistory:function(){this._createNavigationStacks({keepPositionInStack:this._keepPositionInStack})},itemByKey:function(e){var t;return o.each(this.navigationStacks,function(n,i){var o=i.itemByKey(e);return o?(t=o,!1):void 0}),t},currentItem:function(e){var t;return arguments.length>0?("string"==typeof e?t=this.itemByKey(e):o.isPlainObject(e)&&(t=e),void this.callBase(t)):this.callBase()}}),g=a.inherit({ctor:function(e){e=e||{},this.itemsRemoved=o.Callbacks(),this.clear()},currentItem:function(e){if(!e)return this.items[this.currentIndex];for(var t=0;t<this.items.length;t++)if(e===this.items[t]){this.currentIndex=t;break}},previousItem:function(){return this.items.length>1?this.items[this.currentIndex-1]:void 0},canBack:function(){return this.currentIndex>0},clear:function(){this._deleteItems(this.items),this.items=[],this.currentIndex=-1},back:function(e){if(this.currentIndex--,this.currentIndex<0)throw c.Error("E3008");var t=this.currentItem();t.uri!==e&&this._updateItem(this.currentIndex,e)},forward:function(){if(this.currentIndex++,this.currentIndex>=this.items.length)throw c.Error("E3009")},navigate:function(e,t){if(!(this.currentIndex<this.items.length&&this.currentIndex>-1&&this.items[this.currentIndex].uri===e)){if(t&&this.currentIndex>-1&&this.currentIndex--,this.currentIndex+1<this.items.length&&this.items[this.currentIndex+1].uri===e)this.currentIndex++;else{var n=this.items.splice(this.currentIndex+1,this.items.length-this.currentIndex-1);this.items.push({stack:this}),this.currentIndex++,this._updateItem(this.currentIndex,e),this._deleteItems(n)}return this.currentItem()}},itemByKey:function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.key===e)return n}},_updateItem:function(e,t){var n=this.items[e];n.uri=t,n.key=this.items[0].uri+"_"+e+"_"+t},_deleteItems:function(e){e&&this.itemsRemoved.fire(e)}});t.HistoryBasedNavigationManager=f,t.StackBasedNavigationManager=_,t.NavigationStack=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(209),r=function(e,t,n){for(var i=[],o=0,a=e.length;a>o;o++)n(e[o],t)||i.push(e[o]);return i.push.apply(i,t),i},s=function(e,t){var n=!1;return o.each(t,function(t,i){var o=e.option("id")===i.option("id")&&i.option("id"),a=e.option("behavior")===i.option("behavior")&&e.option("behavior");return n=o||a,a&&null===i.option("onExecute")&&i.option("onExecute",e.option("onExecute")),n?(e.element().remove(),!1):void 0}),n},l=function(e,t){return r(e,t,s)},c=function(e,t,n,i){var o=t?t[n]:void 0,a=void 0===o?i:o,r=e.option(n);return void 0===r||r===i?a:r},d=function(e,t){var n=c(e,t,"showText"),i=!!e.option("icon"),o=c(e,t,"title","");return n||!i?o:""},u=function(e,t){var n=c(e,t,"showIcon"),i=!!e.option("title"),o=c(e,t,"icon","");return n||!i?o:""};t.utils={mergeCommands:l,commandToContainer:{resolveIconValue:u,resolveTextValue:d,resolvePropertyValue:c}},t.templateProvider=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(39),a=n(10),r=n(53).compare;if(o){if(r(o.version,[2,3])<0)throw a.Error("E0013");n(289),n(292),n(290),n(294),n(295),n(287),n(288)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(45);if(o&&o.load){var a={supplemental:{version:{_cldrVersion:"28",_unicodeVersion:"8.0.0",_number:"$Revision: 11965 $"},likelySubtags:{en:"en-Latn-US",de:"de-Latn-DE",ru:"ru-Cyrl-RU",ja:"ja-Jpan-JP"}}};o.load(a),o.locale("en")}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=function(n,i,o,r,s,c){function d(e,s,l){a.when(t(n,i,o,r,s,l)).done(e.resolve)}r=r||[],n=n||[];var u,h,p,f;for(s=s||0,h=s;h<n.length;h++){if(e&&h>s&&h%1e4===0&&new Date-l>=300)return l=new Date,p=a.Deferred(),setTimeout(d(p,h,!1),0),p;if(u=n[h],!c){if(r.unshift(u),o&&i(r,h)===!1)return;if(u.children&&(f=t(u.children,i,o,r),e&&f))return p=a.Deferred(),f.done(d(p,h,!0)),p}if(c=!1,!o&&i(r,h)===!1)return;r.shift(),n[h]!==u&&h--}};return t}var a=n(1),r=n(2),s=n(71);t.setFieldProperty=function(e,t,n,i){var o=e._initProperties=e._initProperties||{},a=i?n:e[t];o.hasOwnProperty(t)&&!i||(o[t]=a),e[t]=n},t.sendRequest=function(e){return a.ajax(e)};var l=new Date;t.foreachTree=o(!1),t.foreachTreeAsync=o(!0),t.findField=function(e,t){var n,i;if(e&&r.isDefined(t))for(n=0;n<e.length;n++)if(i=e[n],i.name===t||i.caption===t||i.dataField===t||i.index===t)return n;return-1},t.formatValue=function(e,t){var n={value:e,valueText:s.format(e,t.format,t.precision)||""};return t.customizeText?t.customizeText.call(t,n):n.valueText},t.getCompareFunction=function(e){return function(t,n){var i=0;return e(t)>e(n)?i=1:e(t)<e(n)&&(i=-1),i}},t.createPath=function(e){var t,n=[];for(t=e.length-1;t>=0;t--)n.push(e[t].key||e[t].value);return n},t.foreachDataLevel=function e(t,n,i,o){var a,r;for(i=i||0,o=o||"children",t.length&&n(t,i),r=0;r<t.length;r++)a=t[r],a[o]&&a[o].length&&e(a[o],n,i+1,o)},t.mergeArraysByMaxValue=function(e,t){var n,i=[];for(n=0;n<e.length;n++)i.push(Math.max(e[n]||0,t[n]||0));return i}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(22),l=n(101),c={forward:" dx-forward",backward:" dx-backward",none:" dx-no-direction",undefined:" dx-no-direction"},d="dx-animating",u=a.inherit({ctor:function(){this._accumulatedDelays={enter:0,leave:0},this._animations=[],this.reset()},_createAnimations:function(e,t,n,i){var a,r=this,s=[];return n=n||{},a=this._prepareElementAnimationConfig(t,n,i),a&&e.each(function(){var e=r._createAnimation(o(this),a,n);e&&(e.element.addClass(d),e.setup(),s.push(e))}),s},_prepareElementAnimationConfig:function(e,t,n){var i;if("string"==typeof e){var a=e;e=l.presets.getPreset(a)}if(e)if(o.isFunction(e[n]))i=e[n];else{if(i=o.extend({skipElementInitialStyles:!0,cleanupWhen:this._completePromise},e,t),!i.type||"css"===i.type){var r="dx-"+n,s=(i.extraCssClasses?" "+i.extraCssClasses:"")+c[i.direction];i.type="css",i.from=(i.from||r)+s,i.to=i.to||r+"-active"}i.staggerDelay=i.staggerDelay||0,i.delay=i.delay||0,i.staggerDelay&&(i.delay+=this._accumulatedDelays[n],this._accumulatedDelays[n]+=i.staggerDelay)}else i=void 0;return i},_createAnimation:function(e,t,n){var i;return o.isPlainObject(t)?i=s.createAnimation(e,t):o.isFunction(t)&&(i=t(e,n)),i},_startAnimations:function(){for(var e=this._animations,t=0;t<e.length;t++)e[t].start()},_stopAnimations:function(e){for(var t=this._animations,n=0;n<t.length;n++)t[n].stop(e)},_clearAnimations:function(){for(var e=this._animations,t=0;t<e.length;t++)e[t].element.removeClass(d);this._animations.length=0},reset:function(){this._accumulatedDelays.enter=0,this._accumulatedDelays.leave=0,this._clearAnimations(),this._completeDeferred=o.Deferred(),this._completePromise=this._completeDeferred.promise()},enter:function(e,t,n){var i=this._createAnimations(e,t,n,"enter");this._animations.push.apply(this._animations,i)},leave:function(e,t,n){var i=this._createAnimations(e,t,n,"leave");this._animations.push.apply(this._animations,i)},start:function(){var e,t=this;if(this._animations.length){var n=o.map(this._animations,function(e){var t=o.Deferred();return e.deferred.always(function(){t.resolve()}),t.promise()});e=o.when.apply(o,n).always(function(){t._completeDeferred.resolve(),t.reset()}),r.executeAsync(function(){t._startAnimations()})}else t.reset(),e=o.Deferred().resolve().promise();return e},stop:function(e){this._stopAnimations(e)}});t.TransitionExecutor=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(52),s=n(10),l=n(16),c=n(2),d=n(32),u=n(137),h=n(6),p={},f={},_=a.inherit({_setDeprecatedOptions:function(){this._deprecatedOptions={}},_getDeprecatedOptions:function(){return this._deprecatedOptions},_getOptionAliasesByName:function(e){return o.map(this._deprecatedOptions,function(t,n){return e===t.alias?n:void 0})},_getDefaultOptions:function(){return{onInitialized:null,onOptionChanged:null,onDisposing:null,defaultOptionsRules:null}},_setDefaultOptions:function(){this._options=this._getDefaultOptions()},_defaultOptionsRules:function(){return[]},_setOptionsByDevice:function(e){var t=this._defaultOptionsRules();this._customRules&&(t=t.concat(this._customRules)),o.isArray(e)&&(t=t.concat(e));var n=this._convertRulesToOptions(t);o.extend(!0,this._options,n);for(var i in this._optionsByReference)n.hasOwnProperty(i)&&(this._options[i]=n[i])},_convertRulesToOptions:function(e){for(var t={},n=h.current(),i=function(e,t){return t=o.makeArray(t),1===t.length&&o.isEmptyObject(t[0])||c.findBestMatches(e,t).length>0},a=0;a<e.length;a++){var r,s=e[a],l=s.device||{};r=o.isFunction(l)?l(n):i(n,l),r&&o.extend(t,s.options)}return t},_isInitialOptionValue:function(e){var t=this._customRules&&this._convertRulesToOptions(this._customRules).hasOwnProperty(e),n=this.option(e),i=this.initialOption(e),a=o.isFunction(n)&&o.isFunction(n)?n.toString()===i.toString():n===i;return!t&&a},_setOptionsByReference:function(){this._optionsByReference={}},_getOptionsByReference:function(){return this._optionsByReference},ctor:function(e){this.NAME=this.constructor.publicName(),e=e||{},this._options={},this._updateLockCount=0,this._optionChangedCallbacks=e._optionChangedCallbacks||o.Callbacks(),this._disposingCallbacks=e._disposingCallbacks||o.Callbacks(),this.beginUpdate();try{this._suppressDeprecatedWarnings(),this._setOptionsByReference(),this._setDeprecatedOptions(),this._setDefaultOptions(),this._setOptionsByDevice(e.defaultOptionsRules),this._resumeDeprecatedWarnings(),this._initOptions(e)}finally{this.endUpdate()}},_initOptions:function(e){this.option(e)},_optionValuesEqual:function(e,t,n){if(t=l.toComparable(t,!0),n=l.toComparable(n,!0),t&&n&&t.jquery&&n.jquery)return n.is(t);var i=t!==t,o=n!==n;return i&&o?!0:null===t||"object"!=typeof t?t===n:!1},_init:function(){this._createOptionChangedAction(),this.on("disposing",function(e){this._disposingCallbacks.fireWith(this,[e])})},_createOptionChangedAction:function(){this._optionChangedAction=this._createActionByOption("onOptionChanged",{excludeValidators:["disabled","readOnly","designMode"]})},_createDisposingAction:function(){this._disposingAction=this._createActionByOption("onDisposing",{excludeValidators:["disabled","readOnly","designMode"]})},_optionChanged:function(e){switch(e.name){case"onDisposing":case"onInitialized":break;case"onOptionChanged":this._createOptionChangedAction();break;case"defaultOptionsRules":}},_dispose:function(){this._optionChangedCallbacks.empty(),this._createDisposingAction(),this._disposingAction(),this._disposeEvents(),this._disposed=!0},instance:function(){return this},beginUpdate:function(){this._updateLockCount++},endUpdate:function(){if(this._updateLockCount=Math.max(this._updateLockCount-1,0),!this._updateLockCount&&!this._initializing&&!this._initialized){this._initializing=!0;try{this._init()}finally{this._initializing=!1,this._updateLockCount++,this._createActionByOption("onInitialized",{excludeValidators:["disabled","readOnly","designMode"]})(),this._updateLockCount--,this._initialized=!0}}},_logWarningIfDeprecated:function(e){var t=this._deprecatedOptions[e];t&&!this._deprecatedOptionsSuppressed&&this._logDeprecatedWarning(e,t)},_logDeprecatedWarningCount:0,_logDeprecatedWarning:function(e,t){var n=t.message||"Use the '"+t.alias+"' option instead";s.log("W0001",this.NAME,e,t.since,n),++this._logDeprecatedWarningCount},_suppressDeprecatedWarnings:function(){this._deprecatedOptionsSuppressed=!0},_resumeDeprecatedWarnings:function(){this._deprecatedOptionsSuppressed=!1},_optionChanging:o.noop,_notifyOptionChanged:function(e,t,n){var i=this;if(this._initialized)for(var a=[e].concat(i._getOptionAliasesByName(e)),r=0;r<a.length;r++){var s=a[r],l={name:s.split(/[.\[]/)[0],fullName:s,value:t,previousValue:n};i._optionChangedCallbacks.fireWith(i,[o.extend(i._defaultActionArgs(),l)]),i._optionChangedAction(o.extend({},l)),i._disposed||i._optionChanged(l)}},initialOption:function(e){var t,n=this._initialized;return this._initialOptions||(t=this._options,this._options={},this._initialized=!1,this._setDefaultOptions(),this._setOptionsByDevice(t.defaultOptionsRules),this._initialOptions=this._options,this._options=t,this._initialized=n),this._initialOptions[e]},_defaultActionConfig:function(){return{context:this,component:this}},_defaultActionArgs:function(){return{component:this}},_createAction:function(e,t){var n,i=this;return function(a){return arguments.length||(a={}),o.isPlainObject(a)||(a={actionValue:a}),n=n||new r(e,o.extend(t,i._defaultActionConfig())),n.execute.call(n,o.extend(a,i._defaultActionArgs()))}},_createActionByOption:function(e,t){var n,i,a,r=this,l=function(){if(!i){if(t=t||{},"string"!=typeof e)throw s.Error("E0008");0===e.indexOf("on")&&(i=e.charAt(2).toLowerCase()+e.substr(3)),a=r.option(e)}if(n||a||t.beforeExecute||t.afterExecute||r.hasEvent(i)){if(!n){var o=t.beforeExecute;t.beforeExecute=function(e){r.fireEvent(i,e.args),o&&o.apply(r,arguments)},r._suppressDeprecatedWarnings(),n=r._createAction(a,t),r._resumeDeprecatedWarnings()}return n.apply(r,arguments)}},c=r.option("onActionCreated")||o.noop;return l=c(r,l,t)||l},isOptionDeprecated:function(e){var t=this._getDeprecatedOptions();return t.hasOwnProperty(e)},option:function(){var e=function(e,t){var n;if(t){if(!e._cachedDeprecateNames){e._cachedDeprecateNames=[];for(var i in e._deprecatedOptions)e._cachedDeprecateNames.push(i)}for(var o=0;o<e._cachedDeprecateNames.length;o++)if(e._cachedDeprecateNames[o]===t){n=e._deprecatedOptions[t];break}if(n){e._logWarningIfDeprecated(t);var a=n.alias;a&&(t=a)}}return t},t=function(e){var t=e.split(".");return t.pop(),t.join(".")},n=function(e){var t=e.split(".");return t[t.length-1]},i=function(e,t,n){var i=p[t];return i||(i=p[t]=l.compileGetter(t)),i(e,{functionsAsIs:!0,unwrapObservables:n})},a=function(e,o){delete e[o];var a=t(o),r=n(o),s=a?i(e,a,!1):e;s&&delete s[r]},r=function(e,o,a){var r,s="";do s&&(s="."+s),s=n(o)+s,o=t(o),r=o?i(e,o,!1):e;while(!r);r[s]=a},s=function(t,n,i,o){if(i){var s=e(t,i);s&&s!==i&&(r(n,s,o),a(n,i))}},c=function(e,t,n,i){if(o.isPlainObject(i))for(var a in i)c(e,t,n+"."+a,i[a]);s(e,t,n,i)},d=function(e,t,n){f[t]||(f[t]=l.compileSetter(t)),f[t](e._options,n,{functionsAsIs:!0,merge:!e._getOptionsByReference()[t],unwrapObservables:!1})},u=function(e,t,n){var o=i(e._options,t,!1);e._optionValuesEqual(t,o,n)||(e._initialized&&e._optionChanging(t,o,n),d(e,t,n),e._notifyOptionChanged(t,n,o))};return function(t,n){var a=this,r=t;if(arguments.length<2&&"object"!==o.type(r))return r=e(a,r),i(a._options,r);"string"==typeof r&&(t={},t[r]=n),a.beginUpdate();try{var s;for(s in t)c(a,t,s,t[s]);for(s in t)u(a,s,t[s])}finally{a.endUpdate()}}}()}).include(d);_.publicName=u.getName,i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(42),r=n(4),s="dxmousewheel",l="dxWheel";o.event.fixHooks.wheel=o.event.mouseHooks;var c=void 0!==document.onwheel?"wheel":"mousewheel",d={setup:function(e,t){var n=o(e);n.on(r.addNamespace(c,l),o.proxy(d._wheelHandler,d))},teardown:function(e){var t=o(e);t.off("."+l)},_wheelHandler:function(e){
var t=this._getWheelDelta(e.originalEvent);r.fireEvent({type:s,originalEvent:e,delta:t,pointerType:"mouse"}),e.stopPropagation()},_getWheelDelta:function(e){return e.wheelDelta?e.wheelDelta:30*-e.deltaY}};a(s,d),t.name=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(393)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(36),r=n(26),s=n(123),l="http://js.devexpress.com/error/"+s.split(".").slice(0,2).join("_")+"/";i.exports=function(e,t){var n={ERROR_MESSAGES:o.extend(t,e),Error:function(){return d(o.makeArray(arguments))},log:function(e){var t="log";/^E\d+$/.test(e)?t="error":/^W\d+$/.test(e)&&(t="warn"),a.logger[t]("log"===t?e:i(o.makeArray(arguments)))}},i=function(e){var t=e[0];return e=e.slice(1),c(t,s(t,e))},s=function(e,t){return t=[n.ERROR_MESSAGES[e]].concat(t),r.format.apply(this,t).replace(/\.*\s*?$/,"")},c=function(e,t){return r.format.apply(this,["{0} - {1}. See:\n{2}",e,t,l+e])},d=function(e){var t,n,i;return t=e[0],e=e.slice(1),n=s(t,e),i=c(t,n),o.extend(new Error(i),{__id:t,__details:n})};return n}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(4),a=n(110),r=n(60),s="dxswipestart",l="dxswipe",c="dxswipeend",d={defaultItemSizeFunc:function(){return this.getElement().width()},getBounds:function(){return[this._maxLeftOffset,this._maxRightOffset]},calcOffsetRatio:function(e){var t=o.eventData(e);return(t.x-(this._savedEventData&&this._savedEventData.x||0))/this._itemSizeFunc().call(this,e)},isFastSwipe:function(e){var t=o.eventData(e);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(t.x-this._tickData.x)>=t.time-this._tickData.time}},u={defaultItemSizeFunc:function(){return this.getElement().height()},getBounds:function(){return[this._maxTopOffset,this._maxBottomOffset]},calcOffsetRatio:function(e){var t=o.eventData(e);return(t.y-(this._savedEventData&&this._savedEventData.y||0))/this._itemSizeFunc().call(this,e)},isFastSwipe:function(e){var t=o.eventData(e);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(t.y-this._tickData.y)>=t.time-this._tickData.time}},h={horizontal:d,vertical:u},p=a.inherit({TICK_INTERVAL:300,FAST_SWIPE_SPEED_LIMIT:10,ctor:function(e){this.callBase(e),this.direction="horizontal",this.elastic=!0},_getStrategy:function(){return h[this.direction]},_defaultItemSizeFunc:function(){return this._getStrategy().defaultItemSizeFunc.call(this)},_itemSizeFunc:function(){return this.itemSizeFunc||this._defaultItemSizeFunc},_init:function(e){this._tickData=o.eventData(e)},_start:function(e){this._savedEventData=o.eventData(e),e=this._fireEvent(s,e),e.cancel||(this._maxLeftOffset=e.maxLeftOffset,this._maxRightOffset=e.maxRightOffset,this._maxTopOffset=e.maxTopOffset,this._maxBottomOffset=e.maxBottomOffset)},_move:function(e){var t=this._getStrategy(),n=o.eventData(e),i=t.calcOffsetRatio.call(this,e);i=this._fitOffset(i,this.elastic),n.time-this._tickData.time>this.TICK_INTERVAL&&(this._tickData=n),this._fireEvent(l,e,{offset:i}),e.preventDefault()},_end:function(e){var t=this._getStrategy(),n=t.calcOffsetRatio.call(this,e),i=t.isFastSwipe.call(this,e),o=n,a=this._calcTargetOffset(n,i);o=this._fitOffset(o,this.elastic),a=this._fitOffset(a,!1),this._fireEvent(c,e,{offset:o,targetOffset:a})},_fitOffset:function(e,t){var n=this._getStrategy(),i=n.getBounds.call(this);return e<-i[0]?t?(-2*i[0]+e)/3:-i[0]:e>i[1]?t?(2*i[1]+e)/3:i[1]:e},_calcTargetOffset:function(e,t){var n;return t?(n=Math.ceil(Math.abs(e)),0>e&&(n=-n)):n=Math.round(e),n}});r({emitter:p,events:[s,l,c]}),t.swipe=l,t.start=s,t.end=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(382),a=n(3);a("dxList",o),i.exports=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(89),s=n(4),l="dxListEditDecorator",c=s.addNamespace(r.start,l),d=s.addNamespace(r.swipe,l),u=s.addNamespace(r.end,l),h=a.inherit({ctor:function(e){this._list=e,this._init()},_init:o.noop,_shouldHandleSwipe:!1,_attachSwipeEvent:function(e){var t={itemSizeFunc:o.proxy(function(){return this._clearSwipeCache&&(this._itemWidthCache=this._list.element().width(),this._clearSwipeCache=!1),this._itemWidthCache},this)};e.$itemElement.on(c,t,o.proxy(this._itemSwipeStartHandler,this)).on(d,o.proxy(this._itemSwipeUpdateHandler,this)).on(u,o.proxy(this._itemSwipeEndHandler,this))},_itemSwipeStartHandler:function(e){var t=o(e.currentTarget);return t.is(".dx-state-disabled, .dx-state-disabled *")?void(e.cancel=!0):void this._swipeStartHandler(t,e)},_itemSwipeUpdateHandler:function(e){var t=o(e.currentTarget);this._swipeUpdateHandler(t,e)},_itemSwipeEndHandler:function(e){var t=o(e.currentTarget);this._swipeEndHandler(t,e),this._clearSwipeCache=!0},beforeBag:o.noop,afterBag:o.noop,_commonOptions:function(){return{activeStateEnabled:this._list.option("activeStateEnabled"),hoverStateEnabled:this._list.option("hoverStateEnabled"),focusStateEnabled:this._list.option("focusStateEnabled")}},modifyElement:function(e){this._shouldHandleSwipe&&(this._attachSwipeEvent(e),this._clearSwipeCache=!0)},afterRender:o.noop,handleClick:o.noop,handleContextMenu:o.noop,_swipeStartHandler:o.noop,_swipeUpdateHandler:o.noop,_swipeEndHandler:o.noop,visibilityChange:o.noop,dispose:o.noop});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=window.DevExpress=window.DevExpress||{};o.clientExporter=n(154),o.VERSION=n(123),o.Class=n(5),o.DOMComponent=n(40),o.registerComponent=n(3),o.devices=n(6);var a=o.errors=n(10);o.Color=n(56);var r=n(1),s=n(53).compare;if(s(r.fn.jquery,[1,10])<0)throw a.Error("E0012");var l=n(74);o.requestAnimationFrame=function(){return a.log("W0000","DevExpress.requestAnimationFrame","15.2","Use the 'DevExpress.utils.requestAnimationFrame' method instead."),l.requestAnimationFrame.apply(l,arguments)},o.cancelAnimationFrame=function(){return a.log("W0000","DevExpress.cancelAnimationFrame","15.2","Use the 'DevExpress.utils.cancelAnimationFrame' method instead."),l.cancelAnimationFrame.apply(l,arguments)},o.EventsMixin=n(32),o.utils={},o.utils.requestAnimationFrame=l.requestAnimationFrame,o.utils.cancelAnimationFrame=l.cancelAnimationFrame,o.utils.initMobileViewport=n(211).initMobileViewport,o.utils.extendFromObject=n(30).extendFromObject,o.utils.createComponents=n(11).createComponents,o.utils.triggerShownEvent=n(11).triggerShownEvent,o.utils.triggerHidingEvent=n(11).triggerHidingEvent,o.utils.resetActiveElement=n(11).resetActiveElement,o.utils.findBestMatches=n(2).findBestMatches,o.createQueue=n(138).create,o.utils.dom=n(11),o.utils.common=n(2),o.utils.date=n(12),o.utils.browser=n(21),o.utils.inflector=n(29),o.utils.resizeCallbacks=n(57).resizeCallbacks,o.utils.console=n(36),o.utils.string=n(26),o.utils.support=n(17),o.processHardwareBackButton=n(212),o.viewPort=n(51).value,o.hideTopOverlay=n(99),o.formatHelper=n(71);var c=o.config=n(34);Object.defineProperty(o,"rtlEnabled",{get:function(){return a.log("W0003","DevExpress","rtlEnabled","16.1","Use the 'DevExpress.config' method instead"),c().rtlEnabled},set:function(e){a.log("W0003","DevExpress","rtlEnabled","16.1","Use the 'DevExpress.config' method instead"),c({rtlEnabled:e})}}),Object.defineProperty(o,"designMode",{get:function(){return c().designMode},set:function(e){c({designMode:e})}}),o.animationPresets=n(101).presets,o.fx=n(22),o.TransitionExecutor=n(84).TransitionExecutor,o.AnimationPresetCollection=n(101).PresetCollection,i.exports=o.events={},o.events.click=n(9),o.events.utils=n(4),o.events.GestureEmitter=n(110),o.localization={},o.localization.message=n(8),o.localization.number=n(37),o.localization.date=n(14),n(108),i.exports=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(26),s=n(15),l=n(66),c=n(2),d=n(62),u=n(54),h="dx-popover",p="dx-popover-wrapper",f="dx-popover-arrow",_="dx-popover-without-title",g={left:"right",top:"bottom",right:"left",bottom:"top",center:"center"},m={left:-1,top:-1,center:0,right:1,bottom:1},v={top:{my:"bottom center",at:"top center",collision:"fit flip"},bottom:{my:"top center",at:"bottom center",collision:"fit flip"},right:{my:"left center",at:"right center",collision:"flip fit"},left:{my:"right center",at:"left center",collision:"flip fit"}},x=u.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{target:window,shading:!1,position:"bottom",closeOnOutsideClick:!0,animation:{show:{type:"fade",from:0,to:1},hide:{type:"fade",to:0}},showTitle:!1,width:"auto",height:"auto",dragEnabled:!1,resizeEnabled:!1,fullScreen:!1,closeOnTargetScroll:!0,arrowPosition:"",arrowOffset:0,boundaryOffset:{h:10,v:10}})},_defaultOptionsRules:function(){return[{device:{platform:"ios"},options:{arrowPosition:{boundaryOffset:{h:20,v:-10},collision:"fit"}}}]},_init:function(){this.callBase(),this._renderArrow(),this.element().addClass(h),this._wrapper().addClass(p)},_renderArrow:function(){this._$arrow=o("<div>").addClass(f).prependTo(this.overlayContent())},_documentDownHandler:function(e){return this._isOutsideClick(e)?this.callBase(e):void 0},_isOutsideClick:function(e){return!o(e.target).closest(this.option("target")).length},_animate:function(e){e&&e.to&&o.extend(e.to,{position:this._getContainerPosition()}),this.callBase.apply(this,arguments)},_stopAnimation:function(){this.callBase.apply(this,arguments)},_renderTitle:function(){this._wrapper().toggleClass(_,!this.option("showTitle")),this.callBase()},_renderPosition:function(){this.callBase(),this._renderOverlayPosition()},_renderOverlayBoundaryOffset:o.noop,_renderOverlayPosition:function(){this._resetOverlayPosition(),this._updateContentSize();var e=this._getContainerPosition(),t=l.setup(this._$content,e),n=this._getSideByLocation(t);this._togglePositionClass("dx-position-"+n),this._toggleFlippedClass(t.h.flip,t.v.flip),this._renderArrowPosition(n)},_resetOverlayPosition:function(){this._setContentHeight(!0),this._togglePositionClass("dx-position-"+this._positionSide),s.move(this._$content,{left:0,top:0}),this._$arrow.css({top:"auto",right:"auto",bottom:"auto",left:"auto"})},_updateContentSize:function(){if(this._$popupContent){var e=l.calculate(this._$content,this._getContainerPosition());if(e.h.oversize>0&&this._isHorizontalSide()&&!e.h.fit){var t=this._$content.width()-e.h.oversize;this._$content.width(t)}if(e.v.oversize>0&&this._isVerticalSide()&&!e.v.fit){var n=this._$content.height()-e.v.oversize,i=this._$popupContent.height()-e.v.oversize;this._$content.height(n),this._$popupContent.height(i)}}},_getContainerPosition:function(){var e=r.pairToObject(this._position.offset||""),t=e.h,n=e.v,i=this._isPopoverInside(),a=(i?-1:1)*m[this._positionSide],s=this._getContentBorderWidth(this._positionSide);return this._isVerticalSide()?n+=a*(this._$arrow.height()-s):this._isHorizontalSide()&&(t+=a*(this._$arrow.width()-s)),o.extend({},this._position,{offset:t+" "+n})},_getContentBorderWidth:function(e){var t=this._$content.css("border-"+e+"-width");return parseInt(t)||0},_getSideByLocation:function(e){var t=e.v.flip,n=e.h.flip;return this._isVerticalSide()&&t||this._isHorizontalSide()&&n||this._isPopoverInside()?g[this._positionSide]:this._positionSide},_togglePositionClass:function(e){this._$wrapper.removeClass("dx-position-left dx-position-right dx-position-top dx-position-bottom").addClass(e)},_toggleFlippedClass:function(e,t){this._$wrapper.toggleClass("dx-popover-flipped-horizontal",e).toggleClass("dx-popover-flipped-vertical",t)},_renderArrowPosition:function(e){this._$arrow.css(g[e],-(this._isVerticalSide(e)?this._$arrow.height():this._$arrow.width()));var t,n=this._isVerticalSide(e)?"left":"top",i=this._isVerticalSide(e)?"outerWidth":"outerHeight",a=o(this._position.of),r=a.offset()||{top:0,left:0},s=this._$content.offset(),l=this._$arrow[i](),c=s[n],u=this._$content[i](),h=r[n],p=a.get(0).preventDefault?0:a[i](),f=Math.max(c,h),_=Math.min(c+u,h+p);t="start"===this.option("arrowPosition")?f-c:"end"===this.option("arrowPosition")?_-c-l:(f+_)/2-c-l/2;var m=this._getContentBorderWidth(e),v=d.fitIntoRange(t-m+this.option("arrowOffset"),m,u-l-2*m);this._$arrow.css(n,v)},_isPopoverInside:function(){var e=this._getPosition(),t=l.setup.normalizeAlign(e.my),n=l.setup.normalizeAlign(e.at);return t.h===n.h&&t.v===n.v},_getPosition:function(){var e=this.option("position");return c.isString(e)&&(e=o.extend({},v[e])),e},_setContentHeight:function(e){e&&this.callBase()},_renderShadingPosition:function(){this.option("shading")&&this._$wrapper.css({top:0,left:0})},_renderShadingDimensions:function(){this.option("shading")&&this._$wrapper.css({width:"100%",height:"100%"})},_normalizePosition:function(){var e=o.extend({},this._getPosition());e.of||(e.of=this.option("target")),e.collision||(e.collision="flip"),e.boundaryOffset||(e.boundaryOffset=this.option("boundaryOffset")),this._positionSide=this._getDisplaySide(e),this._position=e},_getDisplaySide:function(e){var t=l.setup.normalizeAlign(e.my),n=l.setup.normalizeAlign(e.at),i=m[t.h]===m[n.h]&&m[t.v]===m[n.v]?-1:1,o=Math.abs(m[t.h]-i*m[n.h]),a=Math.abs(m[t.v]-i*m[n.v]);return o>a?n.h:n.v},_isVerticalSide:function(e){return e=e||this._positionSide,"top"===e||"bottom"===e},_isHorizontalSide:function(e){return e=e||this._positionSide,"left"===e||"right"===e},_optionChanged:function(e){switch(e.name){case"showTitle":case"title":case"titleTemplate":this.callBase(e),this._renderGeometry();break;case"target":case"boundaryOffset":case"arrowPosition":case"arrowOffset":this._renderGeometry();break;case"fullScreen":e.value&&this.option("fullScreen",!1);break;default:this.callBase(e)}},show:function(e){return e&&this.option("target",e),this.callBase()}});a("dxPopover",x),i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(408)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i,o;i=[n(1)],o=function(e){var t=function(e,t){var i=e.nodeName.toLowerCase(),o=!isNaN(t),a=n(e),r=e.disabled,s=/^(input|select|textarea|button|object|iframe)$/.test(i),l="a"===i,c=!0;return c=s?!r:l?e.href||o:o,a?c:!1},n=function(t){var n=e(t);return n.is(":visible")&&"hidden"!==n.css("visibility")&&"hidden"!==n.parents().css("visibility")},i=function(t,n){var i=!1;return e.each(e(t).contents(),function(e,t){return 3===t.nodeType&&(t.textContent||t.nodeValue||"").toLowerCase().indexOf((n||"").toLowerCase())>-1?(i=!0,!1):void 0}),i};return e.extend(e.expr[":"],{"dx-focusable":function(n){return t(n,e.attr(n,"tabindex"))},"dx-tabbable":function(n){var i=e.attr(n,"tabindex");return(isNaN(i)||i>=0)&&t(n,i)},"dx-icontains":e.expr.createPseudo(function(e){return function(t){return i(t,e)}})}),{focusable:":dx-focusable",tabbable:":dx-tabbable",icontains:":dx-icontains"}}.apply(t,i),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=0;return c(e,function(e,n){t+=n}),t}function a(e){return-1!==s.inArray(e,[P,O,A,B,M])}function r(e,t){return o(g(e,function(e){return(e-t)*(e-t)}))/e.length}var s=n(1),l=n(174),c=s.each,d=s.extend,u=s.noop,h=n(2),p=h.isDefined,f=h.isString,_=n(7),g=_.map,m=_.normalizeEnum,v=Math,x=v.floor,w=v.abs,y=v.sqrt,b=v.min,C=v.max,k=2,S=12,T=400,I="highError",D="lowError",E="original",A="variance",B="stddeviation",M="stderror",O="percent",P="fixed",R="undefined",V="discrete",F="logarithmic",L="datetime";t.chart={},t.polar={};var H={_defaultDuration:T,_defaultTrackerWidth:S,_applyStyle:u,_updateOptions:u,_parseStyle:u,_prepareSegment:u,_drawSegment:u,_generateDefaultSegments:u,_prepareSeriesToDrawing:function(){var e=this;e._deleteOldAnimationMethods(),e._disposePoints(e._oldPoints),e._oldPoints=null},_appendInGroup:function(){this._group.append(this._extGroups.seriesGroup)},_createLegendState:function(e,t){return{fill:e.color||t,hatching:e.hatching}},updateTemplateFieldNames:function(){var e=this,t=e._options;t.valueField=e.getValueFields()[0]+e.name,t.tagField=e.getTagField()+e.name},_applyElementsClipRect:function(e){e.clipId=this._paneClipRectID},_applyMarkerClipRect:function(e){e.clipId=this._forceClipping?this._paneClipRectID:null},_createGroup:function(e,t,n,i){var o=t[e]=t[e]||this._renderer.g();n&&o.append(n),i&&o.attr(i)},_applyClearingSettings:function(e){e.opacity=null,e.scale=null,this._options.rotated?e.translateX=null:e.translateY=null},_createGroups:function(){var e=this;e._createGroup("_markersGroup",e,e._group),e._createGroup("_labelsGroup",e)},_setMarkerGroupSettings:function(){var e=this,t=e._createPointStyles(e._getMarkerGroupOptions()).normal;t.class="dxc-markers",t.opacity=1,e._applyMarkerClipRect(t),e._markersGroup.attr(t)},_applyVisibleArea:function(){var e=this,t=e.translators.x.getCanvasVisibleArea(),n=e.translators.y.getCanvasVisibleArea();e._visibleArea={minX:t.min,maxX:t.max,minY:n.min,maxY:n.max}},areErrorBarsVisible:function(){var e=this._options.valueErrorBar;return e&&this._errorBarsEnabled()&&"none"!==e.displayMode&&(a(m(e.type))||p(e.lowValueField)||p(e.highValueField))},_createErrorBarGroup:function(e){var t,n=this,i=n._options.valueErrorBar;n.areErrorBarsVisible()&&(t={"class":"dxc-error-bars",stroke:i.color,"stroke-width":i.lineWidth,opacity:e?.001:i.opacity||1,"stroke-linecap":"square",sharp:!0,clipId:n._forceClipping?n._paneClipRectID:n._widePaneClipRectID},n._createGroup("_errorBarGroup",n,n._group,t))},_setGroupsSettings:function(e){var t=this;t._setMarkerGroupSettings(),t._setLabelGroupSettings(e),t._createErrorBarGroup(e)},_getCreatingPointOptions:function(){var e,t,n=this,i=n._predefinedPointOptions;return i||(e=n._getPointOptions(),n._predefinedPointOptions=i=d(!0,{styles:{}},e),t=e.styles&&e.styles.normal||{},i.styles=i.styles||{},i.styles.normal={"stroke-width":t["stroke-width"],r:t.r,opacity:t.opacity}),i},_getSpecialColor:function(e){return e},_getPointOptions:function(){return this._parsePointOptions(this._preparePointOptions(),this._options.label)},_getOptionsForPoint:function(){return this._options.point},_parsePointStyle:function(e,t,n){var i=e.border||{};return{fill:e.color||t,stroke:i.color||n,"stroke-width":i.visible?i.width:0,r:e.size/2+(i.visible&&0!==e.size?~~(i.width/2)||0:0)}},_createPointStyles:function(e){var t=this,n=e.color||t._options.mainSeriesColor,i=t._options.containerBackgroundColor,o=t._parsePointStyle(e,n,n);return o.visibility=e.visible?"visible":"hidden",{normal:o,hover:t._parsePointStyle(e.hoverStyle,i,n),selection:t._parsePointStyle(e.selectionStyle,i,n)}},_checkData:function(e){return p(e.argument)&&void 0!==e.value},getErrorBarRangeCorrector:function(){var e,t;return this.areErrorBarsVisible()&&(e=m(this._options.valueErrorBar.displayMode),t=function(t){var n=t.lowError,i=t.highError;switch(e){case"low":return[n];case"high":return[i];case"none":return[];default:return[n,i]}}),t},_processRange:function(e,t,n){l.processRange(this,e,t,n)},_getRangeData:function(e,t){return l.calculateRangeData(this,e,t),l.addLabelPaddings(this),this._rangeData},_getPointData:function(e,t){var n={value:e[t.valueField||"val"],argument:e[t.argumentField||"arg"],tag:e[t.tagField||"tag"]};return this._fillErrorBars(e,n,t),n},_errorBarsEnabled:function(){return this.valueAxisType!==V&&this.valueAxisType!==F&&this.valueType!==L},_fillErrorBars:function(e,t,n){var i=n.valueErrorBar;this.areErrorBarsVisible()&&(t.lowError=e[i.lowValueField||D],t.highError=e[i.highValueField||I])},_drawPoint:function(e){var t=e.point;t.isInVisibleArea()?(t.clearVisibility(),t.draw(this._renderer,e.groups,e.hasAnimation,e.firstDrawing),this._drawnPoints.push(t)):t.setInvisibility()},_clearingAnimation:function(e,t){var n=this,i={opacity:.001},o={duration:n._defaultDuration,partitionDuration:.5};n._labelsGroup&&n._labelsGroup.animate(i,o,function(){n._markersGroup&&n._markersGroup.animate(i,o,t)})},_animateComplete:function(){var e=this,t={duration:e._defaultDuration};e._labelsGroup&&e._labelsGroup.animate({opacity:1},t),e._errorBarGroup&&e._errorBarGroup.animate({opacity:e._options.valueErrorBar.opacity||1},t)},_animate:function(){var e=this,t=e._drawnPoints.length-1;c(e._drawnPoints||[],function(n,i){i.animate(n===t?function(){e._animateComplete()}:void 0,{translateX:i.x,translateY:i.y})})},_getPointSize:function(){return this._options.point.visible?this._options.point.size:k},_calcMedianValue:function(e,t){var n,i=g(e,function(e){return p(e[t])?e[t]:null});return i.sort(function(e,t){return e-t}),n=i[x(i.length/2)],p(n)?n:null},_calcErrorBarValues:function(e){if(!e.length)return{};var t,n,i=e[0].lowError,o=e[0].highError,a=1,r=e.length;for(a;r>a;a++)t=e[a].lowError,n=e[a].highError,p(t)&&p(n)&&(i=b(t,i),o=C(n,o));return{low:i,high:o}},_fusionPoints:function(e,t,n){var i=this._calcErrorBarValues(e);return{value:this._calcMedianValue(e,"value"),argument:t,tag:null,index:n,seriesName:this.name,lowError:i.low,highError:i.high}},_endUpdateData:function(){delete this._predefinedPointOptions},getArgumentField:function(){return this._options.argumentField||"arg"},getValueFields:function(){var e,t,n=this._options,i=n.valueErrorBar,o=[n.valueField||"val"];return i&&(e=i.lowValueField,t=i.highValueField,f(e)&&o.push(e),f(t)&&o.push(t)),o},_calculateErrorBars:function(e){if(this.areErrorBarsVisible()){var t,n,i,a,s,l=this,d=l._options,u=d.valueErrorBar,h=m(u.type),f=parseFloat(u.value),_=l.getValueFields()[0],v=u.lowValueField||D,x=u.highValueField||I,w=function(e,n){t=n[_],n[v]=t-f,n[x]=t+f};switch(h){case P:s=w;break;case O:s=function(e,n){t=n[_];var i=t*f/100;n[v]=t-i,n[x]=t+i};break;case R:s=function(e,t){t[v]=t[E+v],t[x]=t[E+x]};break;default:switch(n=g(e,function(e){return p(e[_])?e[_]:null}),i=n.length,f=f||1,h){case A:f=r(n,o(n)/i)*f,s=w;break;case B:a=o(n)/i,f=y(r(n,a))*f,s=function(e,t){t[v]=a-f,t[x]=a+f};break;case M:f=y(r(n,o(n)/i)/i)*f,s=w}}s&&c(e,s)}},_beginUpdateData:function(e){this._calculateErrorBars(e)}};t.chart=d({},H,{drawTrackers:function(){var e,t,n=this,i=n._segments||[],o=n._options.rotated,a=[];n.isVisible()&&(i.length&&(e=n._trackers=n._trackers||[],t=n._trackersGroup=(n._trackersGroup||n._renderer.g().attr({fill:"gray",opacity:.001,stroke:"gray","class":"dxc-trackers"})).attr({clipId:this._paneClipRectID||null}).append(n._group),c(i,function(i,o){e[i]?n._updateTrackerElement(o,e[i]):e[i]=n._drawTrackerElement(o).data({"chart-data-series":n}).append(t)})),n._trackersTranslator=a,c(n.getVisiblePoints(),function(e,t){var n=parseInt(o?t.vy:t.vx);a[n]?s.isArray(a[n])?a[n].push(t):a[n]=[a[n],t]:a[n]=t}))},getNeighborPoint:function(e,t){var n,i=this._options.rotated?t:e,o=i,a=this._trackersTranslator,r=null,l=this._options.rotated?e:t,d=this._options.rotated?"vx":"vy";if(this.isVisible()&&a){r=a[i];do r=a[o]||a[i],i--,o++;while((i>=0||o<a.length)&&!r);s.isArray(r)&&(n=w(r[0][d]-l),c(r,function(e,t){var i=w(t[d]-l);n>=i&&(n=i,r=t)}))}return r}}),t.polar=d({},H,{drawTrackers:function(){t.chart.drawTrackers.call(this);var e,n=this._trackersTranslator;this.isVisible()&&(c(n,function(t,n){return n?(e=t,!1):void 0}),n[e+360]=n[e])},getNeighborPoint:function(e,n){var i=this.translators.untranslate(e,n);return t.chart.getNeighborPoint.call(this,i.phi,i.r)},_applyVisibleArea:function(){var e=this,t=e.translators.canvas;e._visibleArea={minX:t.left,maxX:t.width-t.right,minY:t.top,maxY:t.height-t.bottom}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return e>t}function a(e,t){return t>e}function r(e,t,n,i){var o=d(t);d(e)?o&&i(e,t)&&n(t):o&&n(t)}var s,l=n(1),c=n(2),d=c.isDefined,u=c.isDate,h=n(7).unique,p="min",f="max",_="minVisible",g="maxVisible",m="base",v="axisType";s=t.Range=function(e){e&&l.extend(this,e)},s.prototype={constructor:s,addRange:function(e){var t=this,n=t.categories,i=e.categories,s=function(n,i){r(t[n],e[n],function(e){t[n]=e},i)},l=function(e,n,i){r(t[e],t[n],function(n){d(t[e])&&(t[e]=n)},i)},u=function(n){t[n]=t[n]||e[n]};return c.isDefined(e.stick)&&(t.stick=e.stick),u("addSpiderCategory"),u("percentStick"),u("minSpaceCorrection"),u("maxSpaceCorrection"),u("invert"),u(v),u("dataType"),"logarithmic"===t[v]?u(m):t[m]=void 0,s(p,o),s(f,a),"discrete"===t[v]?(u(_),u(g)):(s(_,o),s(g,a)),s("interval",o),l(p,_,o),l(p,g,o),l(f,g,a),l(f,_,a),void 0===n?t.categories=i:t.categories=i?h(n.concat(i)):n,t},isDefined:function(){return d(this[p])&&d(this[f])||this.categories&&this.categories.length},setStubData:function(e){var t=this,n=(new Date).getYear()-1,i="datetime"===e,o="discrete"===t[v];return o?t.categories=["0","1","2"]:(t[p]=i?new Date(n,0,1):0,t[f]=i?new Date(n,11,31):10),t.stubData=!0,t},correctValueZeroLevel:function(){function e(e,n){t[e]<0&&t[n]<0&&(t[n]=0),t[e]>0&&t[n]>0&&(t[e]=0)}var t=this;return"logarithmic"===t[v]||u(t[f])||u(t[p])?t:(e(p,f),e(_,g),t)},checkZeroStick:function(){var e=this;return e.min>=0&&e.max>=0?e.minStickValue=0:e.min<=0&&e.max<=0&&(e.maxStickValue=0),e}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){}function a(){function e(){var e,n=t.length;for(e=0;n>e;++e)t[e].apply(this,arguments)}var t=[];return e.add=function(e){t.push(e)},e}var r=n(7).patchFontOptions;t.empty=o,t.expand=function(e,t,n){var i=e[t];i.add?i.add(n):i===o?i=n:(i=a(),i.add(e[t]),i.add(n)),e[t]=i},t.buildRectAppearance=function(e){var t=e.border||{};return{fill:e.color,opacity:e.opacity,stroke:t.color,"stroke-width":t.width,"stroke-opacity":t.opacity,hatching:e.hatching}},t.buildTextAppearance=function(e,t){return{attr:e["stroke-width"]?{stroke:e.stroke,"stroke-width":e["stroke-width"],"stroke-opacity":e["stroke-opacity"],filter:t}:{},css:r(e.font)}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=function(){var e=[];return{add:function(t){var n=o.inArray(t,e);-1===n&&e.push(t)},remove:function(t){var n=o.inArray(t,e);-1!==n&&e.splice(n,1)},fire:function(){var t=e.pop(),n=!!t;return n&&t(),n},hasCallback:function(){return e.length>0}}}();i.exports=function(){return a.fire()},i.exports.hideCallback=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(46),r=n(11),s=a.inherit({ctor:function(e,t){this.callBase(o(),t),this._render=e},_renderCore:function(e,t,n){return r.normalizeTemplateElement(this._render(e,t,n))}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(85),r=n(6),s=n(22),l={forward:" dx-forward",backward:" dx-backward",none:" dx-no-direction",undefined:" dx-no-direction"},c="preset_",d=a.inherit({ctor:function(){this.callBase.apply(this,arguments),this._customRules=[],this._registeredPresets=[],this.resetToDefaults()},_getDefaultOptions:function(){return o.extend(this.callBase(),{defaultAnimationDuration:400,defaultAnimationDelay:0,defaultStaggerAnimationDuration:300,defaultStaggerAnimationDelay:40,defaultStaggerAnimationStartDelay:500})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return e.phone},options:{defaultStaggerAnimationDuration:350,defaultStaggerAnimationDelay:50,defaultStaggerAnimationStartDelay:0}},{device:function(){return r.current().android||r.real.android},options:{defaultAnimationDelay:100}}])},_getPresetOptionName:function(e){return c+e},_createAndroidSlideAnimationConfig:function(e,t){var n=this,i=function(e){return{type:"slide",delay:void 0===e.delay?n.option("defaultAnimationDelay"):e.delay,duration:void 0===e.duration?n.option("defaultAnimationDuration"):e.duration}};return{enter:function(n,o){var a=n.parent().width()*t,r=o.direction,l=i(o);return l.to={left:0,opacity:1},"forward"===r?l.from={left:a,opacity:e}:"backward"===r?l.from={left:-a,opacity:e}:l.from={left:0,opacity:0},s.createAnimation(n,l)},leave:function(n,o){var a=n.parent().width()*t,r=o.direction,l=i(o);return l.from={left:0,opacity:1},"forward"===r?l.to={left:-a,opacity:e}:"backward"===r?l.to={left:a,opacity:e}:l.to={left:0,opacity:0},s.createAnimation(n,l)}}},_createOpenDoorConfig:function(){var e=this,t=function(t){return{type:"css",extraCssClasses:"dx-opendoor-animation",delay:void 0===t.delay?e.option("defaultAnimationDelay"):t.delay,duration:void 0===t.duration?e.option("defaultAnimationDuration"):t.duration}};return{enter:function(e,n){var i=n.direction,o=t(n);return o.delay="none"===i?o.delay:o.duration,o.from="dx-enter dx-opendoor-animation"+l[i],o.to="dx-enter-active",s.createAnimation(e,o)},leave:function(e,n){var i=n.direction,o=t(n);return o.from="dx-leave dx-opendoor-animation"+l[i],o.to="dx-leave-active",s.createAnimation(e,o)}}},_createWinPopConfig:function(){var e=this,t={type:"css",extraCssClasses:"dx-win-pop-animation",duration:e.option("defaultAnimationDuration")};return{enter:function(n,i){var o=t,a=i.direction;return o.delay="none"===a?e.option("defaultAnimationDelay"):e.option("defaultAnimationDuration")/2,o.from="dx-enter dx-win-pop-animation"+l[a],o.to="dx-enter-active",s.createAnimation(n,o)},leave:function(n,i){var o=t,a=i.direction;return o.delay=e.option("defaultAnimationDelay"),o.from="dx-leave dx-win-pop-animation"+l[a],o.to="dx-leave-active",s.createAnimation(n,o)}}},resetToDefaults:function(){this.clear(),this.registerDefaultPresets(),this.applyChanges()},clear:function(e){var t=this,n=[];o.each(this._registeredPresets,function(i,o){e&&e!==o.name?n.push(o):t.option(t._getPresetOptionName(o.name),void 0)}),this._registeredPresets=n,this.applyChanges()},registerPreset:function(e,t){this._registeredPresets.push({name:e,config:t})},applyChanges:function(){var e=this;this._customRules.length=0,o.each(this._registeredPresets,function(t,n){var i={device:n.config.device,options:{}};i.options[e._getPresetOptionName(n.name)]=n.config.animation,e._customRules.push(i)}),this._setOptionsByDevice()},getPreset:function(e){for(var t=e;"string"==typeof t;)t=this.option(this._getPresetOptionName(t));return t},registerDefaultPresets:function(){this.registerPreset("pop",{animation:{extraCssClasses:"dx-android-pop-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("openDoor",{animation:this._createOpenDoorConfig()}),this.registerPreset("win-pop",{animation:this._createWinPopConfig()}),this.registerPreset("fade",{animation:{extraCssClasses:"dx-fade-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("slide",{device:function(){return r.current().android||r.real.android},animation:this._createAndroidSlideAnimationConfig(1,1)}),this.registerPreset("slide",{device:function(){return!r.current().android&&!r.real.android},animation:{extraCssClasses:"dx-slide-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("ios7-slide",{animation:{extraCssClasses:"dx-ios7-slide-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("overflow",{animation:{extraCssClasses:"dx-overflow-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("ios7-toolbar",{device:function(){return!r.current().android&&!r.real.android},animation:{extraCssClasses:"dx-ios7-toolbar-animation",delay:this.option("defaultAnimationDelay"),duration:this.option("defaultAnimationDuration")}}),this.registerPreset("ios7-toolbar",{device:function(){return r.current().android||r.real.android},animation:this._createAndroidSlideAnimationConfig(0,.4)}),this.registerPreset("stagger-fade",{animation:{extraCssClasses:"dx-fade-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-slide",{animation:{extraCssClasses:"dx-slide-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")
}}),this.registerPreset("stagger-fade-slide",{animation:{extraCssClasses:"dx-fade-slide-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-drop",{animation:{extraCssClasses:"dx-drop-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-fade-drop",{animation:{extraCssClasses:"dx-fade-drop-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-fade-rise",{animation:{extraCssClasses:"dx-fade-rise-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-3d-drop",{animation:{extraCssClasses:"dx-3d-drop-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}}),this.registerPreset("stagger-fade-zoom",{animation:{extraCssClasses:"dx-fade-zoom-animation",staggerDelay:this.option("defaultStaggerAnimationDelay"),duration:this.option("defaultStaggerAnimationDuration"),delay:this.option("defaultStaggerAnimationStartDelay")}})}});t.PresetCollection=d;var u=new d;t.presets=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(26),l=n(308),c=n(37),d=n(190),u='<?xml version="1.0" encoding="utf-8"?>',h='<sheetPr><outlinePr summaryBelow="0"/></sheetPr>',p="<sheetPr/>",f='<fonts count="2"><font><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="1"><fill><patternFill patternType="none"/></fill></fills><borders count="1"><border><left style="thin"><color rgb="FFD3D3D3"/></left><right style="thin"><color rgb="FFD3D3D3"/></right><top style="thin"><color rgb="FFD3D3D3"/></top><bottom style="thin"><color rgb="FFD3D3D3"/></bottom></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',_="http://schemas.openxmlformats.org",g="rels",m="xl",v="workbook.xml",x="[Content_Types].xml",w="sharedStrings.xml",y="styles.xml",b="worksheets",C="sheet1.xml",k={longDate:"d MMMM yyyy",longTime:"H:mm:ss",monthAndDay:"MMMM dd",monthAndYear:"MMMM yyyy",quarterAndYear:"dd.MM.yyyy",shortDate:"dd.MM.yyyy",shortTime:"H:mm",millisecond:"H:mm:ss",day:"dd",month:"MMMM",quarter:"dd.MM.yyyy",year:"yyyy"},S="shortTime",T={thousands:"#,##0{0},&quot;K&quot;",millions:"#,##0{0},,&quot;M&quot;",billions:"#,##0{0},,,&quot;B&quot;",trillions:"#,##0{0},,,,&quot;T&quot;",percent:"0{0}%",decimal:"#{0}",fixedPoint:"#,##0{0}",exponential:"0{0}E+00",currency:" "},I={"boolean":"b",date:"d",number:"n",string:"s"},D=Date.UTC(1899,11,30),E=60,A=4,B=7,M=165;n(108),t.excelFormatConverter={_applyPrecision:function(e,t){var n,i;if(t>0){for(n="decimal"!==e?".":"",i=0;t>i;i++)n+="0";return n}return""},_getCurrencyFormat:function(e){return c.getOpenXmlCurrencyFormat(e)},_convertDateFormat:function(e){return k[e]||k[S]},_convertNumberFormat:function(e,t){var n,i="currency"===e?this._getCurrencyFormat():T[e];return i&&(n=s.format(i,this._applyPrecision(e,t))),n},convertFormat:function(e,n,i){if(r.isDefined(e)){if("date"===i)return t.excelFormatConverter._convertDateFormat(e);if(T[e])return t.excelFormatConverter._convertNumberFormat(e,n)}}},t.ExcelCreator=a.inherit({_getXMLTag:function(e,t,n){var i,o,a="<"+e,s=t.length;for(i=0;s>i;i++)o=t[i],a=a+" "+o.name+'="'+o.value+'"';return r.isDefined(n)?a+">"+n+"</"+e+">":a+" />"},_getDataProviderRowIndex:function(e){var t=this._dataProvider.getHeaderRowCount?this._dataProvider.getHeaderRowCount():0;return e-t},_getExcelRowIndex:function(e){var t=this._dataProvider.getHeaderRowCount?this._dataProvider.getHeaderRowCount():0;return e+t},_getCellIndex:function(e,t){var n,i="",o=26;for(this._maxIndex[0]<Number(e)&&(this._maxIndex[0]=Number(e)),this._maxIndex[1]<Number(t)&&(this._maxIndex[1]=Number(t));;){if(n=65+(t>=o?t%o:Math.ceil(t)),i=String.fromCharCode(n)+i,!(t>=o))break;t=Math.floor(t/o)-1}return i+e},_getDataType:function(e){return I[e]||"s"},_appendFormat:function(e,n,i){return e=t.excelFormatConverter.convertFormat(e,n,i),e?(-1===o.inArray(e,this._styleFormat)&&this._styleFormat.push(e),o.inArray(e,this._styleFormat)+1):void 0},_appendString:function(e){return r.isDefined(e)&&(e=String(e),e.length)?(e=s.encodeHtml(e),void 0===this._stringHash[e]&&(this._stringHash[e]=this._stringArray.length,this._stringArray.push(e)),this._stringHash[e]):void 0},_getExcelDateValue:function(e){var t,n;return r.isDate(e)?(t=Math.floor((Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())-D)/864e5),E>t&&t--,n=(3600*e.getHours()+60*e.getMinutes()+e.getSeconds())/86400,t+n):void 0},_prepareValue:function(e,t){var n=this._dataProvider,i=n.getCellValue(e,t),o=this._getDataType(n.getCellType(e,t)),a=this._styleArray[t+A].formatID,s=r.isNumber(a)?this._styleFormat[a-1]:null;switch("d"!==o||r.isDate(i)||(o="s"),o){case"s":i=this._appendString(i);break;case"d":i=this._getExcelDateValue(i,s),o="n"}return{value:i,type:o}},_getHeadersArray:function(){var e,t,n,i=this._dataProvider.getColumns(!0),o=[];for(e=0;e<i.length-1;e++)for(o.push([]),t=0;t<i[e].length;t++)n=i[e][t],o[e].push({style:0,type:"s",value:this._appendString(n.caption)});return o},_getDataArray:function(){var e,t,n,i,o,a,s,l=[],c=this._dataProvider.getRowsCount(),d=this._dataProvider.getColumns();for(e=0;c>e;e++){for(n=[],o=d.length,t=0;t!==o;t++)i=this._prepareValue(e,t),a=i.type,!this._dataProvider.isGroupRow(e)&&r.isDefined(this._styleArray[t+A].formatID)&&"s"!==i.type&&(a="n"),s=t+A,this._dataProvider.isGroupRow(e)&&(s=A-1),this._dataProvider.isTotalCell(e,t)&&(s=this._getBoldStyleID(d[t].alignment)),n.push({style:s,value:i.value,type:a});e&&!this._needSheetPr&&this._dataProvider.getGroupLevel(this._getDataProviderRowIndex(e))>0&&(this._needSheetPr=!0),l.push(n)}return l},_getBoldStyleID:function(e){for(var t=0;A-1>t;t++)if(this._styleArray[t].alignment===e)return t},_calculateWidth:function(e){return e=parseInt(e,10),(!e||5>e)&&(e=100),Math.min(255,Math.floor((e-5)/B*100+.5)/100)},_prepareStyleData:function(){var e,t,n=Number(!!this._options.wrapTextEnabled),i=["center","left","right"],o=this._dataProvider.getColumns();for(e=0;e<i.length;e++)this._styleArray.push({bold:!0,alignment:i[e],wrapText:1});for(this._styleArray.push({bold:!0,alignment:r.getDefaultAlignment(this._rtlEnabled),wrapText:0}),e=0;e<o.length;e++)t=o[e],this._styleArray.push({alignment:r.isDefined(t.alignment)?t.alignment:"left",formatID:this._appendFormat(t.format,t.precision,t.dataType),wrapText:n}),this._colsArray.push(this._calculateWidth(t.width))},_prepareCellData:function(){this._dataProvider.isHeadersVisible()&&(this._cellsArray=this._cellsArray.concat(this._getHeadersArray())),this._cellsArray=this._cellsArray.concat(this._getDataArray())},_createXMLRelationships:function(e){return this._getXMLTag("Relationships",[{name:"xmlns",value:_+"/package/2006/relationships"}],e)},_createXMLRelationship:function(e,t,n){return this._getXMLTag("Relationship",[{name:"Id",value:"rId"+e},{name:"Type",value:_+"/officeDocument/2006/relationships/"+t},{name:"Target",value:n}])},_getWorkbookContent:function(){var e='<bookViews><workbookView xWindow="0" yWindow="0" windowWidth="0" windowHeight="0"/></bookViews><sheets><sheet name="Sheet" sheetId="1" r:id="rId1" /></sheets><definedNames><definedName name="_xlnm.Print_Titles" localSheetId="0">Sheet!$1:$1</definedName><definedName name="_xlnm._FilterDatabase" hidden="0" localSheetId="0">Sheet!$A$1:$F$6332</definedName></definedNames>';return u+this._getXMLTag("workbook",[{name:"xmlns:r",value:_+"/officeDocument/2006/relationships"},{name:"xmlns",value:_+"/spreadsheetml/2006/main"}],e)},_getContentTypesContent:function(){return u+'<Types xmlns="'+_+'/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="xml" ContentType="application/xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /></Types>'},_generateStylesXML:function(){var e,t,n,i=this._zip.folder(m),o=this._styleArray.length,a=[],s="";for(n=0;n<this._styleFormat.length;n++)this._styleFormat[n]=this._getXMLTag("numFmt",[{name:"numFmtId",value:Number(n)+M},{name:"formatCode",value:this._styleFormat[n]}]);for(s=s+this._getXMLTag("numFmts",[{name:"count",value:this._styleFormat.length}],this._styleFormat.join(""))+f,e=0;o>e;e++)t=this._styleArray[e],a.push(this._getXMLTag("xf",[{name:"xfId",value:0},{name:"applyAlignment",value:1},{name:"fontId",value:Number(!!t.bold)},{name:"applyNumberFormat",value:r.isDefined(t.formatID)?1:0},{name:"numFmtId",value:r.isDefined(t.formatID)?Number(t.formatID)+M-1:0}],this._getXMLTag("alignment",[{name:"horizontal",value:t.alignment},{name:"vertical",value:"top"},{name:"wrapText",value:t.wrapText}])));s+=this._getXMLTag("cellXfs",[{name:"count",value:a.length}],a.join("")),s+=this._getXMLTag("cellStyles",[{name:"count",value:1}],this._getXMLTag("cellStyle",[{name:"name",value:"Normal"},{name:"xfId",value:0},{name:"builtinId",value:0}])),s=u+this._getXMLTag("styleSheet",[{name:"xmlns",value:_+"/spreadsheetml/2006/main"}],s),i.file(y,s),this._styleArray=[]},_generateStringsXML:function(){var e,t=this._zip.folder(m),n=this._stringArray.length,i=u;for(e=0;n>e;e++)this._stringArray[e]=this._getXMLTag("si",[],this._getXMLTag("t",[],this._stringArray[e]));i+=this._getXMLTag("sst",[{name:"xmlns",value:_+"/spreadsheetml/2006/main"},{name:"count",value:this._stringArray.length},{name:"uniqueCount",value:this._stringArray.length}],this._stringArray.join("")),t.file(w,i),this._stringArray=[]},_getPaneXML:function(){var e=[{name:"activePane",value:"bottomLeft"},{name:"state",value:"frozen"}],t=this._dataProvider.getFrozenArea();return t.x||t.y?(t.x&&e.push({name:"xSplit",value:t.x}),t.y&&e.push({name:"ySplit",value:t.y}),e.push({name:"topLeftCell",value:this._getCellIndex(t.y+1,t.x)}),this._getXMLTag("pane",e)):""},_generateWorksheetXML:function(){var e,t,n,i,o,a,s=0,l=[],c=this._cellsArray.length,d=this._colsArray.length,u="1:"+d,f=this._dataProvider.getHeaderRowCount?this._dataProvider.getHeaderRowCount():1,_=[['<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">',this._needSheetPr?h:p,'<dimension ref="A1:',this._getCellIndex(this._maxIndex[0],this._maxIndex[1])+'"/><sheetViews><sheetView '+(this._rtlEnabled?'rightToLeft="1" ':"")+'tabSelected="1" workbookViewId="0">'+this._getPaneXML()+'</sheetView></sheetViews><sheetFormatPr defaultRowHeight="15" outlineLevelRow="',this._dataProvider.getRowsCount()>0?this._dataProvider.getGroupLevel(0):0,'" x14ac:dyDescent="0.25"/>'].join("")];for(e=0;d>e;e++)this._colsArray[e]=this._getXMLTag("col",[{name:"width",value:this._colsArray[e]},{name:"min",value:Number(e)+1},{name:"max",value:Number(e)+1}]);for(_.push(this._getXMLTag("cols",[],this._colsArray.join(""))+"<sheetData>"),t=0;c>t;t++){for(i=[],a=this._cellsArray[t].length,e=0;a>e;e++)t=Number(t),n=this._cellsArray[t][e],i.push(this._getXMLTag("c",[{name:"r",value:this._getCellIndex(t+1,e)},{name:"s",value:n.style},{name:"t",value:n.type}],r.isDefined(n.value)?this._getXMLTag("v",[],n.value):null));l.push(this._getXMLTag("row",[{name:"r",value:Number(t)+1},{name:"spans",value:u},{name:"outlineLevel",value:t>=f?this._dataProvider.getGroupLevel(this._getDataProviderRowIndex(t)):0},{name:"x14ac:dyDescent",value:"0.25"}],i.join(""))),this._cellsArray[t]=null,s++>1e4&&(_.push(l.join("")),l=[],s=0)}_.push(l.join("")),l=[],o=this._getCellIndex(this._maxIndex[0],this._maxIndex[1]),_.push("</sheetData>"+this._generateMergingXML()+(this._options.autoFilterEnabled?'<autoFilter ref="A1:'+o+'" />':"")+'<ignoredErrors><ignoredError sqref="A1:'+o+'" numberStoredAsText="1" /></ignoredErrors></worksheet>'),this._zip.folder(m).folder(b).file(C,_.join("")),this._colsArray=[],this._cellsArray=[],_=[]},_generateMergingXML:function(){var e,t,n,i,o,a,s=r.isDefined(this._dataProvider.getHeaderRowCount)?this._dataProvider.getHeaderRowCount():this._dataProvider.getRowsCount(),l=this._dataProvider.getColumns().length,c=[],d=[],u="";for(i=0;s>i;i++)for(n=0;n!==l;n++)if(!r.isDefined(c[i])||!r.isDefined(c[i][n])){var h=this._dataProvider.getCellMerging(i,n);if(h.colspan||h.rowspan)for(d.push({start:this._getCellIndex(i+1,n),end:this._getCellIndex(i+1+(h.rowspan||0),n+(h.colspan||0))}),e=i;e<=i+h.rowspan;e++)for(t=n;t<=n+h.colspan;t++)r.isDefined(c[e])||(c[e]=[]),c[e][t]=!0}for(o=d.length,a=0;o>a;a++)u+=this._getXMLTag("mergeCell",[{name:"ref",value:d[a].start+":"+d[a].end}]);return u.length?this._getXMLTag("mergeCells",[{name:"count",value:o}],u):""},_generateCommonXML:function(){var e,t=u+this._createXMLRelationships(this._createXMLRelationship(1,"officeDocument","xl/"+v)),n=this._zip.folder(m),i=u;this._zip.folder("_"+g).file("."+g,t),e=this._createXMLRelationship(1,"worksheet","worksheets/"+C)+this._createXMLRelationship(2,"styles",y)+this._createXMLRelationship(3,"sharedStrings",w),i+=this._createXMLRelationships(e),n.folder("_"+g).file(v+".rels",i),n.file(v,this._getWorkbookContent()),this._zip.file(x,this._getContentTypesContent())},_generateContent:function(){this._prepareStyleData(),this._prepareCellData(),this._generateWorkXML(),this._generateCommonXML()},_generateWorkXML:function(){this._generateStylesXML(),this._generateStringsXML(),this._generateWorksheetXML()},ctor:function(e,t){this._rtlEnabled=t&&!!t.rtlEnabled,this._options=t,this._maxIndex=[1,2],this._stringArray=[],this._stringHash={},this._styleArray=[],this._colsArray=[],this._cellsArray=[],this._styleFormat=[],this._needSheetPr=!1,this._dataProvider=e,this._zip=new l},ready:function(){return this._dataProvider.ready()},getData:function(e){var t={type:e?"blob":"base64",compression:"DEFLATE",mimeType:d.MIME_TYPES.EXCEL};return this._generateContent(),this._zip.generateAsync?this._zip.generateAsync(t):this._zip.generate(t)}}),t.getBlob=function(e,n,i){var o=new t.ExcelCreator(e,n);o.ready().done(function(){o._zip.generateAsync?o.getData(r.isFunction(window.Blob)).then(i):i(o.getData(r.isFunction(window.Blob)))})}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(139),r=n(69),s=r.serializePropName,l=n(24).errors,c=n(27),d=2,u=function(){var e=function(e){return function(t,n){return t+" "+e+" "+n}},t=function(e,t){return function(n,i){var o=[e,"("];return t?o.push(i,",",n):o.push(n,",",i),o.push(")"),o.join("")}},n={"=":e("eq"),"<>":e("ne"),">":e("gt"),">=":e("ge"),"<":e("lt"),"<=":e("le"),startswith:t("startswith"),endswith:t("endswith")},i=o.extend({},n,{contains:t("substringof",!0),notcontains:t("not substringof",!0)}),a=o.extend({},n,{contains:t("contains"),notcontains:t("not contains")}),d=function(e,t){e=c.normalizeBinaryCriterion(e);var n=e[1],o=4===t?a:i,d=o[n.toLowerCase()];if(!d)throw l.Error("E4003",n);return d(s(e[0]),r.serializeValue(e[2],t))},u=function(e,t){var n,i,a=[];return o.each(e,function(e,r){if(o.isArray(r)){if(a.length>1&&n!==i)throw new l.Error("E4019");a.push("("+h(r,t)+")"),n=i,i="and"}else i=c.isConjunctiveOperator(this)?"and":"or"}),a.join(" "+n+" ")},h=function(e,t){return o.isArray(e[0])?u(e,t):d(e,t)};return function(e,t){return h(e,t)}}(),h=function(e){var t,n,i,a,l=[],c=[],h=e.expand,p=e.version||d,f=function(){return n||void 0!==i},_=function(e){for(var t=0;t<e.length;t++){if(o.isFunction(e[t]))return!0;if(o.isArray(e[t])&&_(e[t]))return!0}return!1},g=function(){var e=function(e){return/\./.test(e)},n=function(){return t?4>p?s(t.join()):o.grep(t,e,!0).join():void 0},i=function(){var n=function(){var e={};return h&&o.each(o.makeArray(h),function(){e[s(this)]=1}),t&&o.each(o.makeArray(t),function(){var t=this.split(".");t.length<2||(t.pop(),e[s(t.join("."))]=1)}),o.map(e,function(e,t){return t}).join()},i=function(){var n=function(e){var t=function(e){var n="",i=[],a=[];return o.each(e,function(e,n){o.isArray(n)&&[].push.apply(i,n),o.isPlainObject(n)&&a.push(e+t(n))}),(i.length||a.length)&&(n+="(",i.length&&(n+="$select="+o.map(i,s).join()),a.length&&(i.length&&(n+=";"),n+="$expand="+o.map(a,s).join()),n+=")"),n},n=[];return o.each(e,function(e,i){n.push(e+t(i))}),n.join()},i=function(e,t,n){var i=function(e,t,n){var o=n(t,e.shift(),e);o!==!1&&i(e,o,n)};o.each(e,function(e,o){i(o.split("."),t,n)})},a={};return h||t?(h&&i(o.makeArray(h),a,function(e,t,n){return e[t]=e[t]||{},n.length?e[t]:!1}),t&&i(o.grep(o.makeArray(t),e),a,function(e,t,n){return n.length?e[t]=e[t]||{}:(e[t]=e[t]||[],e[t].push(t),!1)}),n(a)):void 0};return 4>p?n():i()},a={$select:n()||void 0,$expand:i()||void 0};return a},m=function(){var t={};if(!a){l.length&&(t.$orderby=l.join(",")),n&&(t.$skip=n),void 0!==i&&(t.$top=i);var o=g();t.$select=o.$select,t.$expand=o.$expand}return c.length&&(t.$filter=u(c.length<2?c[0]:c,p)),a&&(t.$top=0),(e.requireTotalCount||a)&&(4!==p?t.$inlinecount="allpages":t.$count="true"),t};return{exec:function(t){return r.sendRequest(p,{url:t,params:o.extend(m(),e&&e.params)},{beforeSend:e.beforeSend,jsonp:e.jsonp,withCredentials:e.withCredentials,countOnly:a},e.deserializeDates)},multiSort:function(e){var t;if(f())return!1;for(var n=0;n<e.length;n++){var i,o=e[n][0],a=!!e[n][1];if("string"!=typeof o)return!1;i=s(o),a&&(i+=" desc"),t=t||[],t.push(i)}l=t},slice:function(e,t){return f()?!1:(n=e,void(i=t))},filter:function(e){return f()?!1:(o.isArray(e)||(e=o.makeArray(arguments)),_(e)?!1:(c.length&&c.push("and"),void c.push(e)))},select:function(e){return t||o.isFunction(e)?!1:(o.isArray(e)||(e=o.makeArray(arguments)),void(t=e))},count:function(){a=!0}}};a.odata=h,t.odata=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(21),r=n(5),s=n(4),l="dxPointerEvents",c=r.inherit({ctor:function(e,t){this._eventName=e,this._originalEvents=s.addNamespace(t,l),this._handlerCount=0,this.noBubble=this._isNoBubble()},_isNoBubble:function(){var e=this._eventName;return"dxpointerenter"===e||"dxpointerleave"===e},_handler:function(e){var t=this._getDelegateTarget(e);return this._fireEvent({type:this._eventName,pointerType:e.pointerType||s.eventSource(e),originalEvent:e,delegateTarget:t,timeStamp:a.mozilla?(new Date).getTime():e.timeStamp})},_getDelegateTarget:function(e){var t;return this.noBubble&&(t=e.delegateTarget),t},_fireEvent:function(e){return s.fireEvent(e)},setup:function(){return!0},add:function(e,t){if(this._handlerCount<=0||this.noBubble){this._selector=t.selector,e=this.noBubble?e:document;var n=this;o(e).on(this._originalEvents,this._selector,function(e){n._handler(e)})}this.noBubble||this._handlerCount++},remove:function(e){this.noBubble||this._handlerCount--},teardown:function(e){this._handlerCount&&!this.noBubble||(e=this.noBubble?e:document,this._originalEvents!=="."+l&&o(e).off(this._originalEvents,this._selector))},dispose:function(e){e=this.noBubble?e:document,o(e).off(this._originalEvents)}});i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){t.layoutSets={},t.animationSets={"native":{"view-content-change":[{animation:"slide"},{animation:"ios7-slide",device:{platform:"ios"}},{animation:"none",device:{deviceType:"desktop",platform:"generic"}},{animation:"none",device:{grade:"C"}}],"view-header-toolbar":[{animation:"ios7-toolbar"},{animation:"slide",device:{grade:"B"}},{animation:"none",device:{grade:"C"}}]},"default":{"layout-change":[{animation:"none"},{animation:"ios7-slide",device:{platform:"ios"}},{animation:"pop",device:{platform:"android"}},{animation:"openDoor",device:{deviceType:"phone",platform:"win",version:[8]}},{animation:"win-pop",device:{deviceType:"phone",platform:"win"}}],"view-content-change":[{animation:"slide"},{animation:"ios7-slide",device:{platform:"ios"}},{animation:"fade",device:{deviceType:"desktop",platform:"generic"}},{animation:"none",device:{grade:"C"}}],"view-content-rendered":[{animation:"fade"},{animation:"none",device:{grade:"C"}}],"view-header-toolbar":[{animation:"ios7-toolbar"},{animation:"slide",device:{grade:"B"}},{animation:"none",device:{grade:"C"}}],"command-rendered-top":[{animation:"stagger-fade-drop"},{animation:"fade",device:{grade:"B"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}},{animation:"none",device:{platform:"win",version:[10]}}],"command-rendered-bottom":[{animation:"stagger-fade-rise"},{animation:"fade",device:{grade:"B"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}},{animation:"none",device:{platform:"win",version:[10]}}],"list-item-rendered":[{animation:"stagger-3d-drop",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"detail-item-rendered":[{animation:"stagger-3d-drop",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"edit-item-rendered":[{animation:"stagger-3d-drop",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}]},slide:{"view-content-change":[{animation:"slide"},{animation:"ios7-slide",device:{platform:"ios"}},{animation:"fade",device:{deviceType:"desktop",platform:"generic"}},{animation:"none",device:{grade:"C"}}],"view-content-rendered":[{animation:"fade"},{animation:"none",device:{grade:"C"}}],"view-header-toolbar":[{animation:"ios7-toolbar"},{animation:"slide",device:{grade:"B"}},{animation:"none",device:{grade:"C"}}],"command-rendered-top":[{animation:"stagger-fade-drop"},{animation:"fade",device:{grade:"B"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"command-rendered-bottom":[{animation:"stagger-fade-rise"},{animation:"fade",device:{grade:"B"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"list-item-rendered":[{animation:"stagger-fade-slide",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"detail-item-rendered":[{animation:"stagger-fade-slide",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"edit-item-rendered":[{animation:"stagger-fade-slide",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}]},zoom:{"view-content-change":[{animation:"slide"},{animation:"ios7-slide",device:{platform:"ios"}},{animation:"fade",device:{deviceType:"desktop",platform:"generic"}},{animation:"none",device:{grade:"C"}}],"view-content-rendered":[{animation:"fade"},{animation:"none",device:{grade:"C"}}],"view-header-toolbar":[{animation:"ios7-toolbar"},{animation:"slide",device:{grade:"B"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"command-rendered-top":[{animation:"stagger-fade-zoom"},{animation:"fade",device:{grade:"B"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"command-rendered-bottom":[{animation:"stagger-fade-zoom"},{animation:"fade",device:{grade:"B"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"list-item-rendered":[{animation:"stagger-fade-zoom",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"detail-item-rendered":[{animation:"stagger-fade-zoom",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}],"edit-item-rendered":[{animation:"stagger-fade-zoom",device:{grade:"A"}},{animation:"fade",device:{deviceType:"desktop"}},{animation:"none",device:{grade:"C"}}]}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(204),s=n(122).sessionStorage,l=n(6),c="dxPhoneJSApplication",d=a.inherit({ctor:function(e){e=e||{},this._browserAdapter=e.browserAdapter||this._createBrowserAdapter(e),this.uriChanged=o.Callbacks(),this._browserAdapter.popState.add(o.proxy(this._onPopState,this))},init:o.noop,getUri:function(){return this._browserAdapter.getHash()},setUri:function(e,t){return t?this._browserAdapter.replaceState(e):e!==this.getUri()?this._browserAdapter.pushState(e):o.Deferred().resolve().promise()},back:function(){return this._browserAdapter.back()},_onPopState:function(){this.uriChanged.fire(this.getUri())},_isBuggyAndroid2:function(){var e=l.real(),t=e.version;return"android"===e.platform&&t.length>1&&(2===t[0]&&t[1]<4||t[0]<2)},_isBuggyAndroid4:function(){var e=l.real(),t=e.version;return"android"===e.platform&&t.length>1&&4===t[0]&&0===t[1]},_isWindowsPhone8:function(){var e=l.real();return"win"===e.platform&&e.phone},_createBrowserAdapter:function(e){var t,n=e.window||window,i=n.history.replaceState&&n.history.pushState;return t=this._isWindowsPhone8()?new r.BuggyCordovaWP81BrowserAdapter(e):n!==n.top?new r.HistorylessBrowserAdapter(e):this._isBuggyAndroid4()?new r.BuggyAndroidBrowserAdapter(e):this._isBuggyAndroid2()||!i?new r.OldBrowserAdapter(e):new r.DefaultBrowserAdapter(e)}}),u=d.inherit({ctor:function(e){this.callBase(e),this.backInitiated=o.Callbacks(),this._rootStateHandler=null,o(window).on("unload",this._saveBrowserState)},init:function(){var e=this;return e._browserAdapter.canWorkInPureBrowser?e._initRootPage().done(function(){e._browserAdapter.isRootPage()&&e._browserAdapter.pushState("")}):o.Deferred().resolve().promise()},setUri:function(e){return this.callBase(e,!this._browserAdapter.isRootPage())},_saveBrowserState:function(){var e=s();e&&e.setItem(c,!0)},_initRootPage:function(){var e=this.getUri(),t=s();return!t||t.getItem(c)?o.Deferred().resolve().promise():(t.removeItem(c),this._browserAdapter.createRootPage(),this._browserAdapter.pushState(e))},_onPopState:function(){this._browserAdapter.isRootPage()?this._rootStateHandler?this._rootStateHandler():this.backInitiated.fire():(this._rootStateHandler||this._createRootStateHandler(),this.back())},_createRootStateHandler:function(){var e=this.getUri();this._rootStateHandler=function(){this.uriChanged.fire(e),this._rootStateHandler=null}}});t.HistoryBasedNavigationDevice=d,t.StackBasedNavigationDevice=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=encodeURIComponent("json:"),s=a.inherit({_trimSeparators:function(e){return e.replace(/^[\/.]+|\/+$/g,"")},_escapeRe:function(e){return e.replace(/\W/g,"\\$1")},_checkConstraint:function(e,t){e=String(e),"string"==typeof t&&(t=new RegExp(t));var n=t.exec(e);return!(!n||n[0]!==e)},_ensureReady:function(){var e=this;return this._patternRe?!1:(this._pattern=this._trimSeparators(this._pattern),this._patternRe="",this._params=[],this._segments=[],this._separators=[],this._pattern.replace(/[^\/]+/g,function(t,n){e._segments.push(t),n&&e._separators.push(e._pattern.substr(n-1,1))}),o.each(this._segments,function(t){var n=!0,i=this,o=t?e._separators[t-1]:"";":"===i.charAt(0)?(n=!1,i=i.substr(1),e._params.push(i),e._patternRe+="(?:"+o+"([^/]*))",i in e._defaults&&(e._patternRe+="?")):e._patternRe+=o+e._escapeRe(i)}),void(this._patternRe=new RegExp("^"+this._patternRe+"$")))},ctor:function(e,t,n){this._pattern=e||"",this._defaults=t||{},this._constraints=n||{}},parse:function(e){var t=this;this._ensureReady();var n=this._patternRe.exec(e);if(!n)return!1;var i=o.extend({},this._defaults);return o.each(this._params,function(e){var o=e+1;n.length>=o&&n[o]&&(i[this]=t.parseSegment(n[o]))}),o.each(this._constraints,function(e){return t._checkConstraint(i[e],t._constraints[e])?void 0:(i=!1,!1)}),i},format:function(e){var t=this,n="";this._ensureReady();var i=o.extend({},this._defaults),a=0,r=[],s=[],l={};o.each(e,function(n,o){e[n]=t.formatSegment(o),n in i||(l[n]=!0)}),o.each(this._segments,function(n,o){if(r[n]=n?t._separators[n-1]:"",":"===o.charAt(0)){var c=o.substr(1);if(!(c in e||c in t._defaults))return r=null,!1;if(c in t._constraints&&!t._checkConstraint(e[c],t._constraints[c]))return r=null,!1;c in e?(void 0!==e[c]&&(i[c]=e[c],r[n]+=e[c],a=n),delete l[c]):c in i&&(r[n]+=i[c],s.push(n))}else r[n]+=o,a=n}),o.each(i,function(n,i){return i&&-1===o.inArray(":"+n,t._segments)&&e[n]!==i?(r=null,!1):void 0});var c=0;if(o.isEmptyObject(l)||(n="?",o.each(l,function(t){n+=t+"="+e[t]+"&",c++}),n=n.substr(0,n.length-1)),null===r)return!1;s.length&&o.map(s,function(e){e>=a&&(r[e]="")});var d=r.join("");return d=d.replace(/\/+$/,""),{uri:d+n,unusedCount:c}},formatSegment:function(e){return o.isArray(e)||o.isPlainObject(e)?r+encodeURIComponent(JSON.stringify(e)):encodeURIComponent(e)},parseSegment:function(e){if(e.substr(0,r.length)===r)try{return o.parseJSON(decodeURIComponent(e.substr(r.length)))}catch(e){}return decodeURIComponent(e)}}),l=a.inherit({ctor:function(){this._registry=[]},_trimSeparators:function(e){return e.replace(/^[\/.]+|\/+$/g,"")},_createRoute:function(e,t,n){return new s(e,t,n)},register:function(e,t,n){this._registry.push(this._createRoute(e,t,n))},_parseQuery:function(e){var t={},n=e.split("&");return o.each(n,function(e,n){var i=n.split("=");t[i[0]]=decodeURIComponent(i[1])}),t},parse:function(e){var t,n=this;e=this._trimSeparators(e);var i=e.split("?",2),a=i[0],r=i[1];return o.each(this._registry,function(){var e=this.parse(a);return e!==!1?(t=e,r&&(t=o.extend(t,n._parseQuery(r))),!1):void 0}),t?t:!1},format:function(e){var t=!1,n=99999;return e=e||{},o.each(this._registry,function(){var i=o.extend(!0,{},e),a=this.format(i);a!==!1&&n>a.unusedCount&&(n=a.unusedCount,t=a.uri)}),t}});i.exports=l,i.exports.Route=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(37);a.inject({_formatNumberCore:function(e,t,n){return"currency"===t?(n.precision=n.precision||0,this.getCurrencySymbol().symbol+this.format(e,o.extend({},n,{type:"fixedpoint"}))):this.callBase.apply(this,arguments)},getCurrencySymbol:function(e){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(e){return"$#,##0{0}_);\\($#,##0{0}\\)"}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(48),s=n(31),l=n(3),c=n(4),d=n(23),u=n(9),h="dx-checkbox",p="dx-checkbox-icon",f="dx-checkbox-checked",_="dx-checkbox-container",g="dx-checkbox-text",m="dx-checkbox-has-text",v="dx-checkbox-indeterminate",x=100,w=s.inherit({_supportedKeys:function(){var e=function(e){e.preventDefault(),this._clickAction({jQueryEvent:e})};return o.extend(this.callBase(),{space:e})},_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,value:!1,text:"",useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===a.real().deviceType&&!a.isSimulator();
},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(d.current())},options:{useInkRipple:!0}}])},_feedbackHideTimeout:x,_render:function(){this.callBase(),this._$container=o("<div>").addClass(_),this.setAria("role","checkbox"),this._renderClick(),this._renderValue(),this._renderIcon(),this._renderText(),this.option("useInkRipple")&&this._renderInkRipple(),this.element().addClass(h).append(this._$container)},_renderInkRipple:function(){this._inkRipple=r.render({waveSizeCoefficient:2.5,useHoldAnimation:!1,wavesNumber:2,isCentered:!0})},_renderInkWave:function(e,t,n,i){if(this._inkRipple){var o={element:e,jQueryEvent:t,wave:i};n?this._inkRipple.showWave(o):this._inkRipple.hideWave(o)}},_updateFocusState:function(e,t){this.callBase.apply(this,arguments),this._renderInkWave(this._$icon,e,t,0)},_toggleActiveState:function(e,t,n){this.callBase.apply(this,arguments),this._renderInkWave(this._$icon,n,t,1)},_renderIcon:function(){this._$icon=o("<span>").addClass(p).prependTo(this._$container)},_renderText:function(){var e=this.option("text");return e?(this._$text||(this._$text=o("<span>").addClass(g)),this._$text.text(e),this._$container.append(this._$text),void this.element().addClass(m)):void(this._$text&&(this._$text.remove(),this.element().removeClass(m)))},_renderClick:function(){var e=this,t=c.addNamespace(u.name,e.NAME);e._clickAction=e._createAction(e._clickHandler),e.element().off(t).on(t,function(t){e._clickAction({jQueryEvent:t})})},_clickHandler:function(e){var t=e.component;t._saveValueChangeEvent(e.jQueryEvent),t.option("value",!t.option("value"))},_renderValue:function(){var e=this.element(),t=this.option("value"),n=void 0===t;e.toggleClass(f,Boolean(t)),e.toggleClass(v,n),this.setAria("checked",n?"mixed":t||"false")},_optionChanged:function(e){switch(e.name){case"useInkRipple":this._invalidate();break;case"value":this._renderValue(),this.callBase(e);break;case"text":this._renderText(),this._renderDimensions();break;default:this.callBase(e)}}});l("dxCheckBox",w),i.exports=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(17),s=n(21),l=n(11),c=n(62),d=n(2),u=n(4),h=n(77),p=c.sign,f=Math.abs,_=0,g=1,m=2,v=10,x=0,w=180,y=function(e){return e&&"dxmousewheel"===e.type},b=function(){var e=r.styleProp("pointer-events"),t=s.msie&&parseInt(s.version,10)<11;return e&&!t},C=function(){var e="dx-gesture-cover",t="generic"===a.real().platform;if(!b()||!t)return o.noop;var n=o("<div>").addClass(e).css("pointerEvents","none");return n.on("dxmousewheel",function(e){e.preventDefault()}),o(function(){n.appendTo("body")}),function(e,t){n.css("pointerEvents",e?"all":"none"),e&&n.css("cursor",t)}}(),k=h.inherit({gesture:!0,configurate:function(e){this.getElement().css("msTouchAction",e.immediate?"pinch-zoom":""),this.callBase(e)},allowInterruptionByMousewheel:function(){return this._stage!==m},getDirection:function(){return this.direction},_cancel:function(e){this.callBase.apply(this,arguments),this._toggleGestureCover(!1),this._stage=_},start:function(e){return u.needSkipEvent(e)?void this._cancel(e):(this._startEvent=u.createEvent(e),this._startEventData=u.eventData(e),this._prevEventData=this._startEventData,this._stage=g,this._init(e),void this._setupImmediateTimer())},_setupImmediateTimer:function(){clearTimeout(this._immediateTimer),this._immediateAccepted=!1,this.immediate&&(this._immediateTimer=setTimeout(o.proxy(function(){this._immediateAccepted=!0},this),w))},move:function(e){if(this._stage===g&&this._directionConfirmed(e)){if(this._stage=m,this._resetActiveElement(),this._toggleGestureCover(!0,e),this._clearSelection(e),this._adjustStartEvent(e),this._start(this._startEvent),this._prevEventData=u.eventData(this._startEvent),this._stage===_)return;this._requestAccept(e),this._move(e),this._forgetAccept()}else this._stage===m&&(this._clearSelection(e),this._move(e));this._prevEventData=u.eventData(e)},_directionConfirmed:function(e){var t=this._getTouchBoundary(e),n=u.eventDelta(this._startEventData,u.eventData(e)),i=f(n.x),o=f(n.y),a=this._validateMove(t,i,o),r=this._validateMove(t,o,i),s=this.getDirection(e),l="both"===s&&(a||r),c="horizontal"===s&&a,d="vertical"===s&&r;return l||c||d||this._immediateAccepted},_validateMove:function(e,t,n){return t&&t>=e&&(this.immediate?t>=n:!0)},_getTouchBoundary:function(e){return this.immediate||y(e)?x:v},_adjustStartEvent:function(e){var t=this._getTouchBoundary(e),n=u.eventDelta(this._startEventData,u.eventData(e));this._startEvent.pageX+=p(n.x)*t,this._startEvent.pageY+=p(n.y)*t},_resetActiveElement:function(){"ios"===a.real().platform&&o(":focus",this.getElement()).length&&l.resetActiveElement()},_toggleGestureCover:function(e,t){var n=this._stage===m;n&&C(e,this.getElement().css("cursor"))},_clearSelection:function(e){y(e)||u.isTouchEvent(e)||l.clearSelection()},end:function(e){this._toggleGestureCover(!1,e),this._stage===m?this._end(e):this._stage===g&&this._stop(e),this._stage=_},dispose:function(){clearTimeout(this._immediateTimer),this.callBase.apply(this,arguments),this._toggleGestureCover(!1)},_init:o.noop,_start:o.noop,_move:o.noop,_stop:o.noop,_end:o.noop});k.initialTouchBoundary=v,k.touchBoundary=function(e){return d.isDefined(e)?void(v=e):v},i.exports=k}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(38).DataSource,r=n(38).normalizeDataSourceOptions,s="_dataSourceOptions",l="_dataSourceChangedHandler",c="_dataSourceLoadErrorHandler",d="_dataSourceLoadingChangedHandler",u={postCtor:function(){this.on("disposing",function(){this._disposeDataSource()})},_refreshDataSource:function(){this._initDataSource(),this._loadDataSource()},_initDataSource:function(){var e,t,n=this.option("dataSource");this._disposeDataSource(),n&&(n instanceof a?(this._isSharedDataSource=!0,this._dataSource=n):(e=s in this?this[s]():{},t=this._dataSourceType?this._dataSourceType():a,this._dataSource=new t(o.extend(!0,{},e,r(n)))),this._addDataSourceHandlers())},_addDataSourceHandlers:function(){l in this&&this._addDataSourceChangeHandler(),c in this&&this._addDataSourceLoadErrorHandler(),d in this&&this._addDataSourceLoadingChangedHandler(),this._addReadyWatcher()},_addReadyWatcher:function(){this._dataSource.on("loadingChanged",o.proxy(function(e){this._ready&&this._ready(!e)},this))},_addDataSourceChangeHandler:function(){var e=this._dataSource;this._proxiedDataSourceChangedHandler=o.proxy(function(){this[l](e.items())},this),e.on("changed",this._proxiedDataSourceChangedHandler)},_addDataSourceLoadErrorHandler:function(){this._proxiedDataSourceLoadErrorHandler=o.proxy(this[c],this),this._dataSource.on("loadError",this._proxiedDataSourceLoadErrorHandler)},_addDataSourceLoadingChangedHandler:function(){this._proxiedDataSourceLoadingChangedHandler=o.proxy(this[d],this),this._dataSource.on("loadingChanged",this._proxiedDataSourceLoadingChangedHandler)},_loadDataSource:function(){if(this._dataSource){var e=this._dataSource;e.isLoaded()?this._proxiedDataSourceChangedHandler&&this._proxiedDataSourceChangedHandler():e.load()}},_loadSingle:function(e,t){return e="this"===e?this._dataSource.key()||"this":e,this._dataSource.loadSingle(e,t)},_isLastPage:function(){return!this._dataSource||this._dataSource.isLastPage()||!this._dataSource._pageSize},_isDataSourceLoading:function(){return this._dataSource&&this._dataSource.isLoading()},_disposeDataSource:function(){this._dataSource&&(this._isSharedDataSource?(delete this._isSharedDataSource,this._proxiedDataSourceChangedHandler&&this._dataSource.off("changed",this._proxiedDataSourceChangedHandler),this._proxiedDataSourceLoadErrorHandler&&this._dataSource.off("loadError",this._proxiedDataSourceLoadErrorHandler),this._proxiedDataSourceLoadingChangedHandler&&this._dataSource.off("loadingChanged",this._proxiedDataSourceLoadingChangedHandler)):this._dataSource.dispose(),delete this._dataSource,delete this._proxiedDataSourceChangedHandler,delete this._proxiedDataSourceLoadErrorHandler,delete this._proxiedDataSourceLoadingChangedHandler)}};i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(14),r=function(){return["year","day","month","day"]},s=6e4,l=60*s*24,c=365*l,d=function(e){var t=typeof e;return"string"===t?"format":"object"===t&&void 0!==e.type?e.type:null},u={SUPPORTED_FORMATS:["date","time","datetime"],DEFAULT_FORMATTER:function(e){return e},DATE_COMPONENT_TEXT_FORMATTER:function(e,t){var n=o("<div>").addClass("dx-dateview-formatter-container");return o("<span>").text(e).addClass("dx-dateview-value-formatter").appendTo(n),o("<span>").text(t).addClass("dx-dateview-name-formatter").appendTo(n),n},ONE_MINUTE:s,ONE_DAY:l,ONE_YEAR:c,MIN_DATEVIEW_DEFAULT_DATE:new Date(1900,0,1),MAX_DATEVIEW_DEFAULT_DATE:function(){var e=new Date;return new Date(e.getFullYear()+50,e.getMonth(),e.getDate(),23,59,59)}(),FORMATS_INFO:{date:{getStandardPattern:function(){return"yyyy-MM-dd"},components:r()},time:{getStandardPattern:function(){return"HH':'mm"},components:["hours","minutes"]},datetime:{getStandardPattern:function(){var e;return function(){var t="yyyy-MM-ddTHH':'mm'Z'",n=o("<input>").attr("type","datetime");n.val(u.toStandardDateFormat(new Date,"datetime",t)),n.val()&&(e=t)}(),e||(e="yyyy-MM-ddTHH':'mm':'ss'Z'"),u.FORMATS_INFO.datetime.getStandardPattern=function(){return e},e},components:r().concat(["hours","minutes","seconds","milliseconds"])},"datetime-local":{getStandardPattern:function(){return"yyyy-MM-ddTHH':'mm':'ss"},components:r().concat(["hours","minutes","seconds"])}},FORMATS_MAP:{date:"shortdate",time:"shorttime",datetime:"shortdateshorttime","datetime-local":"datetime-local"},toStandardDateFormat:function(e,t,n){return n=n||u.FORMATS_INFO[t].getStandardPattern(),a.format(e,n)},fromStandardDateFormat:function(e){return a.parse(e,u.FORMATS_INFO.datetime.getStandardPattern())||a.parse(e,u.FORMATS_INFO["datetime-local"].getStandardPattern())||a.parse(e,u.FORMATS_INFO.time.getStandardPattern())||a.parse(e,u.FORMATS_INFO.date.getStandardPattern())||Date.parse&&Date.parse(e)&&new Date(Date.parse(e))},getMaxMonthDay:function(e,t){return new Date(e,t+1,0).getDate()},mergeDates:function(e,t,n){if(t){isNaN(e.getTime())&&(e=new Date(0,0,0,0,0,0));var i=u.FORMATS_INFO[n];return o.each(i.components,function(){var n=u.DATE_COMPONENTS_INFO[this];e[n.setter](t[n.getter]())}),e}},getLongestCaptionIndex:function(e){var t,n=0,i=0;for(t=0;t<e.length;++t)e[t].length>i&&(n=t,i=e[t].length);return n},expandPattern:function(e){return a.getPatternByFormat(e)||e},formatUsesMonthName:function(e){return-1!==u.expandPattern(e).indexOf("MMMM")},formatUsesDayName:function(e){return-1!==u.expandPattern(e).indexOf("EEEE")},getLongestDate:function(e,t,n){var i=d(e),o=9;i&&!u.formatUsesMonthName(i)||(o=u.getLongestCaptionIndex(t));var a=new Date(1888,o,21,23,59,59,999);if(!i||u.formatUsesDayName(i)){var r=a.getDate()-a.getDay()+u.getLongestCaptionIndex(n);a.setDate(r)}return a}};u.DATE_COMPONENTS_INFO={year:{getter:"getFullYear",setter:"setFullYear",possibleFormats:["y","yy","yyyy"],formatter:u.DEFAULT_FORMATTER,startValue:void 0,endValue:void 0},day:{getter:"getDate",setter:"setDate",possibleFormats:["d","dd"],formatter:function(e,t,n){if(!t)return e;var i=new Date(n.getTime());return i.setDate(e),u.DATE_COMPONENT_TEXT_FORMATTER(e,a.getDayNames()[i.getDay()])},startValue:1,endValue:void 0},month:{getter:"getMonth",setter:"setMonth",possibleFormats:["M","MM","MMM","MMMM"],formatter:function(e,t){var n=a.getMonthNames()[e];return t?u.DATE_COMPONENT_TEXT_FORMATTER(e+1,n):n},startValue:0,endValue:11},hours:{getter:"getHours",setter:"setHours",possibleFormats:["H","HH","h","hh"],formatter:function(e){return a.format(new Date(0,0,0,e),"hour")},startValue:0,endValue:23},minutes:{getter:"getMinutes",setter:"setMinutes",possibleFormats:["m","mm"],formatter:function(e){return a.format(new Date(0,0,0,0,e),"minute")},startValue:0,endValue:59},seconds:{getter:"getSeconds",setter:"setSeconds",possibleFormats:["s","ss"],formatter:function(e){return a.format(new Date(0,0,0,0,0,e),"second")},startValue:0,endValue:59},milliseconds:{getter:"getMilliseconds",setter:"setMilliseconds",possibleFormats:["S","SS","SSS"],formatter:function(e){return a.format(new Date(0,0,0,0,0,0,e),"millisecond")},startValue:0,endValue:999}},i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){var i={notifyObserver:function(e,t){var n=this.option("observer");n&&n.fire(e,t)},invoke:function(){var e=this.option("observer");return e?e.fire.apply(e,arguments):void 0}};n.exports=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(10),s=n(48),l=n(8),c=n(3),d=n(4),u=n(181),h=n(23),p=n(9),f="dx-selectbox",_="dx-selectbox-popup",g="dx-selectbox-container",m="dx-selectbox-popup-wrapper",v=u.inherit({_supportedKeys:function(){var e=this,t=this.callBase(),n=function(e){var t=this._isEditable();t?this._valueSubstituted()&&(this._preventFiltering=!0):this.option("showClearButton")&&(e.preventDefault(),this.reset()),this._preventSubstitution=!0},i=function(){e.option("searchEnabled")&&e._valueSubstituted()&&e._searchHandler()};return o.extend({},t,{tab:function(e){this.option("opened")&&"instantly"===this.option("applyValueMode")&&this._cleanInputSelection(),t.tab.apply(this,arguments)},upArrow:function(e){return t.upArrow.apply(this,arguments)?(this.option("opened")||this._setNextValue(-1),!0):void 0},downArrow:function(e){return t.downArrow.apply(this,arguments)?(this.option("opened")||this._setNextValue(1),!0):void 0},leftArrow:function(){i(),t.leftArrow.apply(this,arguments)},rightArrow:function(){i(),t.rightArrow.apply(this,arguments)},home:function(){i(),t.home.apply(this,arguments)},end:function(){i(),t.end.apply(this,arguments)},enter:function(e){if(this._list&&null===this._list.option("focusedElement")&&""===this._input().val())this.option({selectedItem:null,value:null}),this.close();else if(this.option("acceptCustomValue")&&e.preventDefault(),t.enter.apply(this,arguments))return this.option("opened")},backspace:n,del:n})},_getDefaultOptions:function(){return o.extend(this.callBase(),{placeholder:l.format("Select"),fieldTemplate:null,valueChangeEvent:"change",acceptCustomValue:!1,onCustomItemCreating:function(e){return e.text},showSelectionControls:!1,autocompletionEnabled:!0,tooltipEnabled:!1,openOnFieldClick:!0,showDropButton:!0,displayCustomValue:!1,_isAdaptablePopupPosition:!1,useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return/win8/.test(h.current())},options:{_isAdaptablePopupPosition:!0,popupPosition:{at:"left top",offset:{h:0,v:0}}}},{device:function(){return/android5/.test(h.current())},options:{_isAdaptablePopupPosition:!0,popupPosition:{offset:{h:-16,v:-8}}}},{device:function(){return/android5/.test(h.current())},options:{useInkRipple:!0}}])},_init:function(){this.callBase(),this._initCustomItemCreatingAction()},_render:function(){this.callBase(),this.element().addClass(f),this.option("useInkRipple")&&this._renderInkRipple(),this._renderTooltip(),this._$container.addClass(g)},_renderInkRipple:function(){this._inkRipple=s.render()},_toggleActiveState:function(e,t,n){if(this.callBase.apply(this,arguments),this._inkRipple&&!this._isEditable()){var i={element:this._inputWrapper(),jQueryEvent:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}},_createPopup:function(){this.callBase(),this._popup.element().addClass(_)},_popupWrapperClass:function(){return this.callBase()+" "+m},_renderOpenedState:function(){this.callBase(),this.option("opened")&&(this._updatePopupHeight(),this._scrollToSelectedItem(),this._focusSelectedElement())},_focusSelectedElement:function(){var e=this._searchValue();if(!e)return void this._focusListElement(null);var t=this._list._itemElements(),n=this.option("selectedItem"),i=o.inArray(n,this.option("items")),a=n&&e===this._displayGetter(n).toString(),r=i>=0&&a?t.eq(i):null;this._focusListElement(r)},_renderFocusedElement:function(){var e=this._searchValue();if(!e||this.option("acceptCustomValue"))return void this._focusListElement(null);var t=this._list._itemElements(),n=t.eq(0);this._focusListElement(n)},_focusListElement:function(e){this._list&&(this._preventInputValueRender=!0,this._list.option("focusedElement",e),delete this._preventInputValueRender)},_scrollToSelectedItem:function(){this._dataSource.paginate()&&this._isEditable()?this._list.scrollTo(0):this._list.scrollToItem(this._list.option("selectedItem"))},_listContentReadyHandler:function(){this.callBase(),this._dataSource.paginate()&&this._isEditable()||this._list.scrollToItem(this._list.option("selectedItem"))},_renderValue:function(){this._renderInputValue()},_renderInputValue:function(){return this.callBase().always(o.proxy(function(){this._renderTooltip(),this._renderInputValueImpl(),this._refreshSelected()},this))},_renderInputValueImpl:function(){this._renderInputAddons()},_fitIntoRange:function(e,t,n){return e>n?t:t>e?n:e},_setNextValue:function(e){var t=this._dataSource.isLoaded()?o.Deferred().resolve():this._dataSource.load();t.done(o.proxy(function(){var t=this._calcNextItem(e),n=this._valueGetter(t);this._setValue(n)},this))},_calcNextItem:function(e){var t=this._items(),n=this._fitIntoRange(this._getSelectedIndex()+e,0,t.length-1);return t[n]},_items:function(){return this._list?this.option("items"):this._dataSource.items()},_getSelectedIndex:function(){var e=this._items(),t=this.option("selectedItem"),n=-1;return o.each(e,o.proxy(function(e,i){return this._isValueEquals(i,t)?(n=e,!1):void 0},this)),n},_setSelectedItem:function(e){var t=!this._isCustomValueAllowed()&&void 0===e;this.callBase(t?null:e)},_isCustomValueAllowed:function(){return this.option("acceptCustomValue")||this.callBase()},_displayValue:function(e){return e=!a.isDefined(e)&&this._isCustomValueAllowed()?this.option("value"):e,this.callBase(e)},_listConfig:function(){var e=o.extend(this.callBase(),{pageLoadMode:"scrollBottom",onSelectionChanged:this._getSelectionChangeHandler(),onFocusedItemChanged:o.proxy(function(e){if(!this._preventInputValueRender){var t=e.component,n=t.option("focusedElement"),i=t._getItemData(n);this._updateField(i)}},this)});return this.option("showSelectionControls")&&o.extend(e,{showSelectionControls:!0}),e},_updateField:function(e){var t=this._getTemplateByOption("fieldTemplate");return t&&this.option("fieldTemplate")?void this._renderTemplatedField(t,e):void this._renderDisplayText(this._displayGetter(e))},_getSelectionChangeHandler:function(){return this.option("showSelectionControls")?o.proxy(this._selectionChangeHandler,this):o.noop},_selectionChangeHandler:function(e){o.each(e.addedItems||[],o.proxy(function(e,t){this._setValue(this._valueGetter(t))},this))},_toggleOpenState:function(e){this.option("disabled")||(e=arguments.length?e:!this.option("opened"),this._wasSearch()&&e&&(this._wasSearch(!1),this.option("showDataBeforeSearch")||0===this.option("minSearchLength")?this._filterDataSource(null):(this._setListOption("items",[]),this._list&&this._setListOption("noDataText",this._list.initialOption("noDataText")))),this.callBase(e))},_renderTooltip:function(){this.option("tooltipEnabled")&&this.element().attr("title",this.option("displayValue"))},_renderDimensions:function(){this.callBase(),this._setPopupOption("width")},_focusOutHandler:function(e){if(this.callBase(e),this.option("searchEnabled")&&!this.option("acceptCustomValue")){if(!this._searchValue())return void this._clearTextValue();var t=this.option("selectedItem");this._renderInputValue().always(o.proxy(function(e){this._setSelectedItem(t),this._renderDisplayText(this._displayGetter(this.option("selectedItem")))},this))}},_clearTextValue:function(){this.reset()},_renderValueChangeEvent:function(){this._isEditable()&&this.callBase()},_isEditable:function(){return this.option("acceptCustomValue")||this.option("searchEnabled")},_fieldRenderData:function(){return this.option("selectedItem")},_readOnlyPropValue:function(){return!this._isEditable()||this.option("readOnly")},_isSelectedValue:function(e){return this._isValueEquals(e,this.option("value"))},_listItemClickHandler:function(e){var t=this._getCurrentValue();this._completeSelection(this._valueGetter(e.itemData)),this.option("opened",!1),this.option("searchEnabled")&&t===this._valueGetter(e.itemData)&&this._renderDisplayText(this._displayGetter(e.itemData))},_completeSelection:function(e){this._wasSearch()&&this._clearFilter(),this._setValue(e)},_clearValueHandler:function(){this.reset()},_loadItem:function(e){var t=this,n=o.Deferred();return this.callBase(e).done(function(e){n.resolve(e)}).fail(function(){t.option("acceptCustomValue")?n.resolve(t.option("selectedItem")):n.reject()}),n.promise()},_valueChangeEventHandler:function(e){this.option("acceptCustomValue")&&this._customItemAddedHandler()},_initCustomItemCreatingAction:function(){this._customItemCreatingAction=this._createActionByOption("onCustomItemCreating")},_customItemAddedHandler:function(){var e=this._searchValue(),t=this._customItemCreatingAction({text:e}),n=t&&t.promise&&t.done&&t.fail;if(void 0===t)throw this._renderValue(),r.Error("E0121");n?t.always(o.proxy(this._setCustomItem,this)):this._setCustomItem(t)},_setCustomItem:function(e){e=e||null,this.option("selectedItem",e),this._setValue(this._valueGetter(e)),this._renderDisplayText(this._displayGetter(e))},_createClearButton:function(){var e=d.addNamespace(p.name,this.NAME);return this.callBase().on(e,function(){return!1})},_wasSearch:function(e){return arguments.length?void(this._wasSearchValue=e):this._wasSearchValue},_searchHandler:function(e){return e&&this._isControlKey(e.which||e.keyCode)||this._preventFiltering?void delete this._preventFiltering:(this._needPassDataSourceToList()&&this._wasSearch(!0),void this.callBase(e))},_filterDataSource:function(e){this.callBase(e),this._setCollectionWidgetOption("noDataText",e?"":this._list&&this._list.initialOption("noDataText"))},_dataSourceFiltered:function(e){this.callBase(),this._renderInputSubstitution(),null!==e&&this._renderFocusedElement()},_valueSubstituted:function(){var e=this._input().get(0),t=e.selectionStart!==e.selectionEnd;return this._wasSearch()&&t},_shouldSubstitutionBeRendered:function(){return this.option("autocompletionEnabled")&&!this._preventSubstitution&&this.option("searchEnabled")&&!this.option("acceptCustomValue")&&"startswith"===this.option("searchMode")},_renderInputSubstitution:function(){if(!this._shouldSubstitutionBeRendered())return void delete this._preventSubstitution;var e=this._list&&this._list.option("items")[0];if(e){var t=this._input(),n=t.val().length;if(0!==n){var i=t.get(0),o=this._displayGetter(e);i.value=o,i.selectionStart=n,i.selectionEnd=o.length}}},_cleanInputSelection:function(){var e=this._input().get(0),t=e.value.length;e.selectionStart=t,e.selectionEnd=t},_optionChanged:function(e){switch(e.name){case"_isAdaptablePopupPosition":case"autocompletionEnabled":break;case"onCustomItemCreating":this._initCustomItemCreatingAction();break;case"tooltipEnabled":this._renderTooltip();break;case"displayCustomValue":case"acceptCustomValue":case"showSelectionControls":case"useInkRipple":this._invalidate();break;default:this.callBase(e)}}});c("dxSelectBox",v),i.exports=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=e;return t&&g(t.split("."),function(e,t){return n=n[t]}),n}var a=n(1),r=n(5),s=n(2),l=n(117),c=s.isString,d=n(7).parseScalar,u=n(68),h=u.findTheme,p=u.addCacheItem,f=u.removeCacheItem,_=a.extend,g=a.each;n(515),n(518),n(514),n(522),t.BaseThemeManager=r.inherit({ctor:function(){p(this)},dispose:function(){var e=this;return f(e),e._callback=e._theme=e._font=null,e},setCallback:function(e){return this._callback=e,this},setTheme:function(e,t){return this._current=e,this._rtl=t,this.refresh()},refresh:function(){var e=this,t=e._current||{},n=h(t.name||t);return e._themeName=n.name,e._defaultPalette=n.defaultPalette,e._font=_({},n.font,t.font),e._themeSection&&g(e._themeSection.split("."),function(t,i){n=_(!0,{},n[i],e._IE8?n[i+"IE8"]:{})}),e._theme=_(!0,{},n,c(t)?{}:t),e._initializeTheme(),d(e._rtl,e._theme.rtlEnabled)&&_(!0,e._theme,e._theme._rtl),e._callback(),e},theme:function(e){return o(this._theme,e)},themeName:function(){return this._themeName},createPalette:function(e,t){return new l.Palette(e||this._defaultPalette,t)},createDiscretePalette:function(e,t){return new l.DiscretePalette(e||this._defaultPalette,t)},createGradientPalette:function(e){return new l.GradientPalette(e||this._defaultPalette)},_initializeTheme:function(){var e=this;g(e._fontFields||[],function(t,n){e._initializeFont(o(e._theme,n))})},_initializeFont:function(e){_(e,this._font,_({},e))}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){return!0}function a(){return!1}function r(e,t){return!(e.width===t.width&&e.height===t.height&&e.left===t.left&&e.top===t.top&&e.right===t.right&&e.bottom===t.bottom)}function s(e){var t,n=function(){clearTimeout(t),t=setTimeout(e,100)};return n.dispose=function(){return clearTimeout(t),this},n}function l(e){y.apply(null,[e.target.id].concat(e.target.args||[]))}function c(e,t){return g(e>0?e:t||0)}function d(e,t){function n(n){var i=e[n];o[i.name]=t(n,i.config)}function i(e,t,n){o[e](t),n&&n()}var o={};u.each(e,function(e,t){t.name&&n(e)});var a;return i.change=function(t){var n=e[t];return n&&((a=a||{})[t]=n),!!n},i.applyChanges=function(){a&&(u.each(a,function(e,t){n(t.newName||e)}),a=null)},i.dispose=function(){e=t=o=null},i}var u=n(1),h=n(123),p=n(57).resizeCallbacks,f=n(26).format,_=n(2).isObject,g=Number,m=n(40),v=n(517),x=n(7).parseScalar,w=n(516),y=w.log,b=n(170),C=n(519),k="rtlEnabled",S=m.prototype.option,T=function(e,t){function n(n,i){t("incidentOccurred",{target:{id:n,type:"E"===n[0]?"error":"warning",args:i,text:f.apply(null,[w.ERROR_MESSAGES[n]].concat(i||[])),widget:e,version:h}})}return n};i.exports=m.inherit({_eventsMap:{onIncidentOccurred:{name:"incidentOccurred"},onDrawn:{name:"drawn",config:{category:"rendering"}}},_getDefaultOptions:function(){return u.extend(this.callBase(),{onIncidentOccurred:l})},_useLinks:!0,_init:function(){var e,t=this;t.callBase.apply(t,arguments),t._changesLocker=0,t._changes=v.changes(),t._suspendChanges(),t._themeManager=t._createThemeManager(),t._themeManager.setCallback(function(){t._requestChange(t._themeDependentChanges)}),t._initRenderer(),e=t._useLinks&&t._renderer.root,e&&e.enableLinks().virtualLink("core").virtualLink("peripheral"),t._renderVisibilityChange(),t._initEventTrigger(),t._incidentOccurred=T(t.NAME,t._eventTrigger),t._layout=new C,e&&e.linkAfter("core"),t._initPlugins(),t._initCore(),e&&e.linkAfter(),t._change(t._initialChanges),t._resumeChanges()},_initialChanges:["LAYOUT","RESIZE_HANDLER","THEME"],_initPlugins:function(){var e=this;u.each(e._plugins,function(t,n){n.init.call(e)})},_disposePlugins:function(){var e=this;u.each(e._plugins.slice().reverse(),function(t,n){n.dispose.call(e)})},_change:function(e){this._changes.add(e)},_suspendChanges:function(){++this._changesLocker},_resumeChanges:function(){var e=this;0===--e._changesLocker&&e._changes.count()>0&&(e._renderer.lock(),e._applyingChanges=!0,e._applyChanges(),e._changes.reset(),e._applyingChanges=!1,e._renderer.unlock(),e._optionsQueue&&e._applyQueuedOptions())},_applyQueuedOptions:function(){var e=this,t=e._optionsQueue;e._optionsQueue=null,e.beginUpdate(),u.each(t,function(t,n){S.apply(e,n)}),e.endUpdate()},_requestChange:function(e){var t=this._applyingChanges;t||this._suspendChanges(),this._change(e),t||this._resumeChanges()},_applyChanges:function(){var e,t=this,n=t._changes,i=t._totalChangesOrder,o=i.length;for(e=0;o>e;++e)n.has(i[e])&&t["_change_"+i[e]]()},_optionChangesOrder:["EVENTS","THEME","RENDERER","RESIZE_HANDLER"],_layoutChangesOrder:["CONTAINER_SIZE","LAYOUT"],_customChangesOrder:[],_change_EVENTS:function(){this._eventTrigger.applyChanges()},_change_THEME:function(){this._setThemeAndRtl()},_change_RENDERER:function(){this._setRendererOptions()},_change_RESIZE_HANDLER:function(){this._setupResizeHandler()},_change_CONTAINER_SIZE:function(){this._updateSize()},_change_LAYOUT:function(){this._setContentSize()},_themeDependentChanges:["RENDERER"],_initRenderer:function(){var e=this;e._canvas=e._calculateCanvas(),e._renderer=new b.Renderer({cssClass:e._rootClassPrefix+" "+e._rootClass,pathModified:e.option("pathModified"),container:e._$element[0]}),e._renderer.resize(e._canvas.width,e._canvas.height)},_disposeRenderer:function(){this._renderer.dispose()},_getAnimationOptions:u.noop,render:function(){this._requestChange(["CONTAINER_SIZE"]),this._onRender()},_onRender:u.noop,_dispose:function(){var e=this;e.callBase.apply(e,arguments),e._removeResizeHandler(),e._layout.dispose(),e._eventTrigger.dispose(),e._disposeCore(),e._disposePlugins(),e._disposeRenderer(),e._themeManager.dispose(),e._themeManager=e._renderer=e._eventTrigger=null},_initEventTrigger:function(){var e=this;e._eventTrigger=d(e._eventsMap,function(t,n){return e._createActionByOption(t,n)})},_calculateCanvas:function(){var e=this,t=e.option("size")||{},n=e.option("margin")||{},i=e._getDefaultSize()||{},o={width:t.width<=0?0:c(t.width,e._$element.width()||i.width),height:t.height<=0?0:c(t.height,e._$element.height()||i.height),left:c(n.left,i.left||0),top:c(n.top,i.top||0),right:c(n.right,i.right||0),bottom:c(n.bottom,i.bottom||0)};return(o.width-o.left-o.right<=0||o.height-o.top-o.bottom<=0)&&(o={width:0,height:0}),o},_updateSize:function(){var e=this,t=e._calculateCanvas();(r(e._canvas,t)||e.__forceRender)&&(e._canvas=t,e._renderer.resize(t.width,t.height),e._change(["LAYOUT"]))},_setContentSize:function(){var e,t=this._canvas,n=this._layout,i=t.width>0&&t.height>0?[t.left,t.top,t.width-t.right,t.height-t.bottom]:[0,0,0,0];i=n.forward(i),e=this._applySize(i)||i,n.backward(e)},_getOption:function(e,t){var n=this._themeManager.theme(e),i=this.option(e);return t?void 0!==i?i:n:u.extend(!0,{},n,i)},_setupResizeHandler:function(){x(this._getOption("redrawOnResize",!0),!0)?this._addResizeHandler():this._removeResizeHandler()},_addResizeHandler:function(){var e=this;e._resizeHandler||(e._resizeHandler=s(function(){e._requestChange(["CONTAINER_SIZE"])}),p.add(e._resizeHandler))},_removeResizeHandler:function(){this._resizeHandler&&(p.remove(this._resizeHandler),this._resizeHandler.dispose(),this._resizeHandler=null)},_onBeginUpdate:u.noop,beginUpdate:function(){var e=this;return e._initialized&&0===e._updateLockCount&&(e._onBeginUpdate(),e._suspendChanges()),e.callBase.apply(e,arguments),e},endUpdate:function(){var e=this,t=e._initialized;return e.callBase.apply(e,arguments),t&&0===e._updateLockCount&&e._resumeChanges(),e},option:function(e){var t=this;return t._initialized&&t._applyingChanges&&(arguments.length>1||_(e))?(t._optionsQueue=t._optionsQueue||[],void t._optionsQueue.push(arguments)):S.apply(t,arguments)},_clean:u.noop,_render:u.noop,_optionChanged:function(e){var t=this;t._eventTrigger.change(e.name)?t._change(["EVENTS"]):t._optionChangesMap[e.name]?t._change([t._optionChangesMap[e.name]]):t.callBase.apply(t,arguments)},_optionChangesMap:{size:"CONTAINER_SIZE",margin:"CONTAINER_SIZE",redrawOnResize:"RESIZE_HANDLER",theme:"THEME",rtlEnabled:"THEME",encodeHtml:"THEME"},_visibilityChanged:function(){this.render()},_setThemeAndRtl:function(){this._themeManager.setTheme(this.option("theme"),this.option(k))},_getRendererOptions:function(){return{rtl:this.option(k),encodeHtml:this.option("encodeHtml"),animation:this._getAnimationOptions()}},_setRendererOptions:function(){this._renderer.setOptions(this._getRendererOptions())},_normalizeHtml:function(e){var t=/xmlns="[\s\S]*?"/gi,n=!0;return e=e.replace(t,function(e){return n?(n=!1,e):""}),e.replace(/xmlns:NS1="[\s\S]*?"/gi,"").replace(/NS1:xmlns:xlink="([\s\S]*?)"/gi,'xmlns:xlink="$1"');
},svg:function(){return this._normalizeHtml(this._renderer.svg())},isReady:a,_dataIsReady:o,_resetIsReady:function(){this.isReady=a},_drawn:function(){var e=this;e.isReady=a,e._dataIsReady()&&e._renderer.onEndAnimation(function(){e.isReady=o}),e._eventTrigger("drawn",{})}}),v.replaceInherit(i.exports)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return void 0===e?I:(e=k(e),void(I=e in D?e:T))}function a(e,t){var n,i=t&&t.type;return y(e)?e.slice(0):(b(e)&&(n=D[k(e)]),n||(n=D[I]),n=n||null,i&&n?n[i].slice(0):n)}function r(e,t){var n,i={};y(t)?i.simpleSet=t.slice(0):t&&(i.simpleSet=y(t.simpleSet)?t.simpleSet.slice(0):void 0,i.indicatingSet=y(t.indicatingSet)?t.indicatingSet.slice(0):void 0,i.gradientSet=y(t.gradientSet)?t.gradientSet.slice(0):void 0),(i.simpleSet||i.indicatingSet||i.gradientSet)&&(n=k(e),C(D[n]=D[n]||{},i))}function s(e){var t=0;this.next=function(){var n=e[t++];return t===e.length&&this.reset(),n},this.reset=function(){t=0}}function l(e,t){t=t||{};var n=t.useHighlight?S:0;this._originalPalette=a(e,{type:t.type||"simpleSet"}),this._paletteSteps=new s([0,n,-n]),this._resetPalette()}function c(e,t){var n,i=[],o=e.length;for(n=0;o>n;++n)i.push(d(e[n],t));return i}function d(e,t){var n=new x(e).alter(t),i=u(n);return(i>200||55>i)&&(n=new x(e).alter(-t/2)),n.toHex()}function u(e){return.3*e.r+.59*e.g+.11*e.b}function h(e,t){var n=t>0?p(a(e,{type:"gradientSet"}),t):[];this.getColor=function(e){return n[e]||null}}function p(e,t){function n(e){var t=a*e,n=m(t),i=v(t);s.push(r[n].blend(r[i],t-n).toHex())}var i,o=t-1,a=e.length-1,r=[],s=[];for(i=0;a>=i;++i)r.push(new x(e[i]));if(o>0)for(i=0;o>=i;++i)n(i/o);else n(.5);return s}function f(e){var t=a(e,{type:"gradientSet"}),n=new x(t[0]),i=new x(t[1]);this.getColor=function(e){return e>=0&&1>=e?n.blend(i,e).toHex():null}}var _=n(1),g=n(7),m=Math.floor,v=Math.ceil,x=n(56),w=n(2),y=w.isArray,b=w.isString,C=_.extend,k=g.normalizeEnum,S=50,T="default",I=T,D={"default":{simpleSet:["#5f8b95","#ba4d51","#af8a53","#955f71","#859666","#7e688c"],indicatingSet:["#a3b97c","#e1b676","#ec7f83"],gradientSet:["#5f8b95","#ba4d51"]},"harmony light":{simpleSet:["#fcb65e","#679ec5","#ad79ce","#7abd5c","#e18e92","#b6d623","#b7abea","#85dbd5"],indicatingSet:["#b6d623","#fcb65e","#e18e92"],gradientSet:["#7abd5c","#fcb65e"]},"soft pastel":{simpleSet:["#60a69f","#78b6d9","#6682bb","#a37182","#eeba69","#90ba58","#456c68","#7565a4"],indicatingSet:["#90ba58","#eeba69","#a37182"],gradientSet:["#78b6d9","#eeba69"]},pastel:{simpleSet:["#bb7862","#70b3a1","#bb626a","#057d85","#ab394b","#dac599","#153459","#b1d2c6"],indicatingSet:["#70b3a1","#dac599","#bb626a"],gradientSet:["#bb7862","#70b3a1"]},bright:{simpleSet:["#70c92f","#f8ca00","#bd1550","#e97f02","#9d419c","#7e4452","#9ab57e","#36a3a6"],indicatingSet:["#70c92f","#f8ca00","#bd1550"],gradientSet:["#e97f02","#f8ca00"]},soft:{simpleSet:["#cbc87b","#9ab57e","#e55253","#7e4452","#e8c267","#565077","#6babac","#ad6082"],indicatingSet:["#9ab57e","#e8c267","#e55253"],gradientSet:["#9ab57e","#e8c267"]},ocean:{simpleSet:["#75c099","#acc371","#378a8a","#5fa26a","#064970","#38c5d2","#00a7c6","#6f84bb"],indicatingSet:["#c8e394","#7bc59d","#397c8b"],gradientSet:["#acc371","#38c5d2"]},vintage:{simpleSet:["#dea484","#efc59c","#cb715e","#eb9692","#a85c4c","#f2c0b5","#c96374","#dd956c"],indicatingSet:["#ffe5c6","#f4bb9d","#e57660"],gradientSet:["#efc59c","#cb715e"]},violet:{simpleSet:["#d1a1d1","#eeacc5","#7b5685","#7e7cad","#a13d73","#5b41ab","#e287e2","#689cc1"],indicatingSet:["#d8e2f6","#d0b2da","#d56a8a"],gradientSet:["#eeacc5","#7b5685"]}};l.prototype={constructor:l,dispose:function(){this._originalPalette=this._palette=this._paletteSteps=null},getNextColor:function(){var e=this;return e._currentColor>=e._palette.length&&e._resetPalette(),e._palette[e._currentColor++]},_resetPalette:function(){var e=this,t=e._paletteSteps.next();e._palette=t?c(e._originalPalette,t):e._originalPalette.slice(0),e._currentColor=0},reset:function(){return this._paletteSteps.reset(),this._resetPalette(),this}},C(t,{Palette:l,DiscretePalette:h,GradientPalette:f,registerPalette:r,getPalette:a,currentPalette:o})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return[-e,-e,e,-e,e,e,-e,e,-e,-e]}function a(e){var t=v(e);return[-t,0,0,-t,t,0,0,t,-t,0]}function r(e){var t=v(e),n=m(t/2),i=v(t/2);return[-t,-n,-n,-t,0,-i,n,-t,t,-n,i,0,t,n,n,t,0,i,-n,t,-t,n,-i,0]}function s(e){return[-e,-e,e,-e,0,e,-e,-e]}function l(e){return[-e,e,e,e,0,-e,-e,e]}var c=n(1),d=n(2),u=n(338),h=c.extend,p=d.isDefined,f=n(7).normalizeEnum,_=Math,g=_.round,m=_.floor,v=_.ceil,x=20,w=20,y=10,b="canvas_position_default";i.exports={deleteLabel:function(){this._label.dispose(),this._label=null},_hasGraphic:function(){return this.graphic},clearVisibility:function(){var e=this,t=e.graphic;t&&t.attr("visibility")&&t.attr({visibility:null}),e._label.clearVisibility()},isVisible:function(){return this.inVisibleArea&&this.series.isVisible()},setInvisibility:function(){var e=this,t=e.graphic;t&&"hidden"!==t.attr("visibility")&&t.attr({visibility:"hidden"}),e._errorBar&&e._errorBar.attr({visibility:"hidden"}),e._label.hide()},clearMarker:function(){var e=this.graphic;e&&e.attr(this._emptySettings)},_createLabel:function(){this._label=new u.Label({renderer:this.series._renderer,labelsGroup:this.series._labelsGroup,point:this})},_updateLabelData:function(){this._label.setData(this._getLabelFormatObject())},_updateLabelOptions:function(){!this._label&&this._createLabel(),this._label.setOptions(this._options.label)},_checkImage:function(e){return p(e)&&("string"==typeof e||p(e.url))},_fillStyle:function(){this._styles=this._options.styles},_checkSymbol:function(e,t){var n=e.symbol,i=t.symbol,o="circle"===n&&"circle"!==i||"circle"!==n&&"circle"===i,a=this._checkImage(e.image)!==this._checkImage(t.image);return!(!o&&!a)},_populatePointShape:function(e,t){switch(e){case"square":return o(t);case"polygon":return a(t);case"triangle":case"triangleDown":return s(t);case"triangleUp":return l(t);case"cross":return r(t)}},correctValue:function(e){var t=this;t.hasValue()&&(t.value=t.initialValue+e,t.minValue=e,t.translate())},resetCorrection:function(){this.value=this.initialValue,this.minValue=b},resetValue:function(){var e=this;e.hasValue()&&(e.value=e.initialValue=0,e.minValue=0,e.translate(),e._label.setDataField("value",e.value))},_getTranslates:function(e){var t=this.x,n=this.y;return e&&(this._options.rotated?t=this.defaultX:n=this.defaultY),{x:t,y:n}},_createImageMarker:function(e,t,n){var i=n.width||x,o=n.height||w;return e.image(-g(.5*i),-g(.5*o),i,o,n.url?n.url.toString():n.toString(),"center").attr({translateX:t.translateX,translateY:t.translateY,visibility:t.visibility})},_createSymbolMarker:function(e,t){var n,i=this._options.symbol;return"circle"===i?(delete t.points,n=e.circle().attr(t)):"square"!==i&&"polygon"!==i&&"triangle"!==i&&"triangleDown"!==i&&"triangleUp"!==i&&"cross"!==i||(n=e.path([],"area").attr(t).sharp()),n},_createMarker:function(e,t,n,i,o){var a=this,r=a._checkImage(n)?a._createImageMarker(e,i,n):a._createSymbolMarker(e,i);return r&&r.data({"chart-data-point":a}).append(t),r},_getSymbolBbox:function(e,t,n){return{x:e-n,y:t-n,width:2*n,height:2*n}},_getImageBbox:function(e,t){var n=this._options.image,i=n.width||x,o=n.height||w;return{x:e-g(i/2),y:t-g(o/2),width:i,height:o}},_getGraphicBbox:function(){var e,t=this,n=t._options,i=t.x,o=t.y;return e=n.visible?t._checkImage(n.image)?t._getImageBbox(i,o):t._getSymbolBbox(i,o,n.styles.normal.r):{x:i,y:o,width:0,height:0}},_isLabelInsidePoint:c.noop,_getShiftLabelCoords:function(e){var t=this._addLabelAlignmentAndOffset(e,this._getLabelCoords(e));return this._checkLabelPosition(e,t)},_drawLabel:function(){var e=this,t=e._getCustomLabelVisibility(),n=e._label;(e.series.getLabelVisibility()||t)&&e._showForZeroValues()&&e.hasValue()?n.show():n.hide()},correctLabelPosition:function(e){var t,n=this;n._isLabelInsidePoint(e)||(t=n._getShiftLabelCoords(e),e.setFigureToDrawConnector(n._getLabelConnector(e.pointPosition)),e.shift(g(t.x),g(t.y)))},_showForZeroValues:function(){return!0},_getLabelConnector:function(e){var t=this._getGraphicBbox(e),n=t.width/2,i=t.height/2;return{x:t.x+n,y:t.y+i,r:this._options.visible?Math.max(n,i):0}},_getPositionFromLocation:function(){return{x:this.x,y:this.y}},_isPointInVisibleArea:function(e,t){return e.minX<=t.x+t.width&&e.maxX>=t.x&&e.minY<=t.y+t.height&&e.maxY>=t.y},_checkLabelPosition:function(e,t){var n=this,i=n._getVisibleArea(),o=e.getBoundingRect(),a=n._getGraphicBbox(e.pointPosition),r=y;return n._isPointInVisibleArea(i,a)&&(n._options.rotated?(i.minX>t.x&&(t.x=a.x+a.width+r),i.maxX<t.x+o.width&&(t.x=a.x-r-o.width),i.minY>t.y&&(t.y=i.minY),i.maxY<t.y+o.height&&(t.y=i.maxY-o.height)):(i.minX>t.x&&(t.x=i.minX),i.maxX<t.x+o.width&&(t.x=i.maxX-o.width),i.minY>t.y&&(t.y=a.y+a.height+r),i.maxY<t.y+o.height&&(t.y=a.y-o.height-r))),t},_addLabelAlignmentAndOffset:function(e,t){var n=e.getBoundingRect(),i=e.getLayoutOptions();return this._options.rotated||("left"===i.alignment?t.x+=n.width/2:"right"===i.alignment&&(t.x-=n.width/2)),t.x+=i.horizontalOffset,t.y+=i.verticalOffset,t},_getLabelCoords:function(e){return this._getLabelCoordOfPosition(e,this._getLabelPosition(e.pointPosition))},_getLabelCoordOfPosition:function(e,t){var n=this,i=e.getBoundingRect(),o=n._getGraphicBbox(e.pointPosition),a=y,r=o.height/2-i.height/2,s=o.width/2-i.width/2,l=o.x,c=o.y;switch(t){case"left":l-=i.width+a,c+=r;break;case"right":l+=o.width+a,c+=r;break;case"top":l+=s,c-=i.height+a;break;case"bottom":l+=s,c+=o.height+a;break;case"inside":l+=s,c+=r}return{x:l,y:c}},_drawMarker:function(e,t,n){var i=this,o=i._options,a=i._getTranslates(n),r=i._getStyle();i.graphic=i._createMarker(e,t,o.image,h({translateX:a.x,translateY:a.y,points:i._populatePointShape(o.symbol,r.r)},r),n)},_getErrorBarSettings:function(){return{visibility:"visible"}},_drawErrorBar:function(e,t){if(this._options.errorBars){var n,i=this,o=i._options,a=o.errorBars,r=[],s=i._errorBarPos,l=i._highErrorCoord,d=i._lowErrorCoord,u=f(a.displayMode),h="high"===u,_="low"===u,g=m(parseInt(a.edgeLength)/2),v=(h||!p(d))&&p(l)&&!_,x=(_||!p(l))&&p(d)&&!h;v&&(d=i._baseErrorBarPos),x&&(l=i._baseErrorBarPos),"none"!==u&&p(l)&&p(d)&&p(s)?(!x&&r.push([s-g,l,s+g,l]),r.push([s,l,s,d]),!v&&r.push([s+g,d,s-g,d]),o.rotated&&c.each(r,function(e,t){t.reverse()}),n=i._getErrorBarSettings(a),i._errorBar?(n.points=r,i._errorBar.attr(n)):i._errorBar=e.path(r,"line").attr(n).append(t)):i._errorBar&&i._errorBar.attr({visibility:"hidden"})}},getTooltipParams:function(){var e=this,t=e.graphic;return{x:e.x,y:e.y,offset:t?t.getBBox().height/2:0}},setPercentValue:function(e,t,n,i){var o=this,a=o.value/e||0,r=o.minValue/e||0,s=a-r;o._label.setDataField("percent",s),o._label.setDataField("total",e),o.series.isFullStackedSeries()&&o.hasValue()&&(o.leftHole&&(o.leftHole/=e-n,o.minLeftHole/=e-n),o.rightHole&&(o.rightHole/=e-i,o.minRightHole/=e-i),o.value=a,o.minValue=r?r:o.minValue,o.translate())},_storeTrackerR:function(){var e,t=this,n=window.navigator,i=t._options.styles.normal.r;return e="ontouchstart"in window||n.msPointerEnabled&&n.msMaxTouchPoints||n.pointerEnabled&&n.maxTouchPoints?20:6,t._options.trackerR=e>i?e:i,t._options.trackerR},_translateErrorBars:function(e){var t=this,n=t._options,i=n.rotated,o=n.errorBars;o&&(p(t.lowError)&&(t._lowErrorCoord=e.translate(t.lowError)),p(t.highError)&&(t._highErrorCoord=e.translate(t.highError)),t._errorBarPos=m(i?t.vy:t.vx),t._baseErrorBarPos="stdDeviation"===o.type?t._lowErrorCoord+(t._highErrorCoord-t._lowErrorCoord)/2:i?t.vx:t.vy)},_translate:function(e){var t,n=this;n._options.rotated?(t=e.x,n.vx=n.x=t.translate(n.value),n.vy=n.y=e.y.translate(n.argument),n.minX=t.translate(n.minValue),n.defaultX=t.translate(b),n._translateErrorBars(t)):(t=e.y,n.vy=n.y=t.translate(n.value),n.vx=n.x=e.x.translate(n.argument),n.minY=t.translate(n.minValue),n.defaultY=t.translate(b),n._translateErrorBars(t)),n._calculateVisibility(n.x,n.y)},_updateData:function(e){var t=this;t.value=t.initialValue=t.originalValue=e.value,t.minValue=t.initialMinValue=t.originalMinValue=p(e.minValue)?e.minValue:b},_getImageSettings:function(e){return{href:e.url||e.toString(),width:e.width||x,height:e.height||w}},getCrosshairData:function(){var e=this,t=e._options.rotated,n=e.value,i=e.argument;return{x:e.vx,y:e.vy,xValue:t?n:i,yValue:t?i:n,axis:e.series.axis}},getPointRadius:function(){var e,t=this._getStyle(),n=this._options,i=t.r,o=n.symbol,a="square"===o,r="triangle"===o||"triangleDown"===o||"triangleUp"===o;return n.visible&&!n.image&&i?(e=t["stroke-width"]/2,(a||r?1.4*i:i)+e):0},_updateMarker:function(e,t){var n,i=this,o=i._options,a=o.image,r=i.isVisible()?{}:{visibility:"hidden"};t=t||i._getStyle(),n=i._checkImage(a)?h({},{visibility:t.visibility},r,i._getImageSettings(a)):h({},t,r,{points:i._populatePointShape(o.symbol,t.r)}),e||(n.translateX=i.x,n.translateY=i.y),i.graphic.attr(n).sharp()},_getLabelFormatObject:function(){var e=this;return{argument:e.initialArgument,value:e.initialValue,originalArgument:e.originalArgument,originalValue:e.originalValue,seriesName:e.series.name,lowErrorValue:e.lowError,highErrorValue:e.highError,point:e}},_getLabelPosition:function(){var e=this._options.rotated;return this.initialValue>0?e?"right":"top":e?"left":"bottom"},_getFormatObject:function(e){var t=this,n=t._label.getData();return h({},n,{argumentText:e.formatValue(t.initialArgument,"argument"),valueText:e.formatValue(t.initialValue)},p(n.percent)?{percentText:e.formatValue(n.percent,"percent")}:{},p(n.total)?{totalText:e.formatValue(n.total)}:{})},_getMarkerVisibility:function(){return this._options.visible},coordsIn:function(e,t){var n=this._storeTrackerR();return e>=this.x-n&&e<=this.x+n&&t>=this.y-n&&t<=this.y+n}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return m(e)&&m(t)&&e.valueOf()===t.valueOf()}function a(e){var t,n,i=e.min,a=e.max,r=e.minVisible,s=e.maxVisible,l=e.base,c=f.isDate(a)||f.isDate(i),d=c?y:w,u="logarithmic"===e.axisType;return u&&(s=_(s,l),r=_(r,l),i=_(i,l),a=_(a,l)),o(i,a)&&(t=i.valueOf()-d,n=a.valueOf()+d,c?(i=new Date(t),a=new Date(n)):(i=0!==i||u?t:0,a=n)),o(r,s)&&(t=r.valueOf()-d,n=s.valueOf()+d,c?(r=t<i.valueOf()?i:new Date(t),s=n>a.valueOf()?a:new Date(n)):((0!==r||u)&&(r=i>t?i:t),s=n>a?a:n)),{base:l,rangeMin:i,rangeMax:a,rangeMinVisible:r,rangeMaxVisible:s}}var r,s=n(1),l=n(261),c=n(556),d=n(558),u=n(557),h=n(559),p=n(7),f=n(2),_=p.getLog,g=p.getPower,m=f.isDefined,v=Math.abs,x=["width","height","left","top","bottom","right"],w=1,y=6e4,b=s.noop,C=n(12).addInterval,k=function(e){return s.each(x,function(t,n){e[n]=parseInt(e[n])||0}),e},S=function(e){for(var t={},n=e.length,i=0;n>i;i++)t[e[i]]=i;return t},T=function(e){function t(t,n){!m(e[t])&&m(e[n])&&(e[t]=e[n])}return t("minVisible","min"),t("maxVisible","max"),e};t.Translator2D=r=function(e,t,n){this.update(e,t,n)},r.prototype={constructor:r,reinit:function(){var e=this,t=e._businessRange,n=t.categories||[],i={},o=e._prepareCanvasOptions(),a=p.getCategoriesInfo(n,t.minVisible,t.maxVisible).categories,r=(a||n).length;switch(t.axisType){case"logarithmic":i=h;break;case"semidiscrete":i=d,o.ratioOfCanvasRange=o.canvasLength/(C(o.rangeMaxVisible,e._options.interval)-o.rangeMinVisible);break;case"discrete":i=c,e._categories=n,o.interval=e._getDiscreteInterval(t.addSpiderCategory?r+1:r,o),e._categoriesToPoints=S(n,o.invert),a&&r&&(o.startPointIndex=e._categoriesToPoints[a[0]],e.visibleCategories=a);break;default:i="datetime"===t.dataType?u:l}s.extend(e,i),e._conversionValue=e._options.conversionValue?function(e){return e}:function(e){return Math.round(e)},e._calculateSpecialValues()},_getDiscreteInterval:function(e,t){var n=e-(this._businessRange.stick?1:0);return n>0?t.canvasLength/n:t.canvasLength},_prepareCanvasOptions:function(){var e,t=this,n=t._businessRange,i=t._canvasOptions=a(n),o=t._canvas;return t._options.isHorizontal?(i.startPoint=o.left,e=o.width,i.endPoint=o.width-o.right,i.invert=n.invert):(i.startPoint=o.top,e=o.height,i.endPoint=o.height-o.bottom,i.invert=!n.invert),t.canvasLength=i.canvasLength=i.endPoint-i.startPoint,i.rangeDoubleError=Math.pow(10,g(i.rangeMax-i.rangeMin)-g(e)-2),i.ratioOfCanvasRange=i.canvasLength/(i.rangeMaxVisible-i.rangeMinVisible),i},updateCanvas:function(e){this._canvas=k(e),this.reinit()},updateBusinessRange:function(e){this._businessRange=T(e),this.reinit()},update:function(e,t,n){var i=this;i._options=s.extend(i._options||{},n),i._canvas=k(t),i.updateBusinessRange(e)},getBusinessRange:function(){return this._businessRange},getCanvasVisibleArea:function(){return{min:this._canvasOptions.startPoint,max:this._canvasOptions.endPoint}},_calculateSpecialValues:function(){var e,t,n,i=this,o=i._canvasOptions,a=o.startPoint,r=o.endPoint,s=i._businessRange,l=s.minVisible,c=s.maxVisible;0>=l&&c>=0?(i.sc={},t=i.translate(0)):(e=s.invert^(0>=l&&0>=c),t=i._options.isHorizontal?e?r:a:e?a:r),n=a+o.canvasLength/2,i.sc={canvas_position_default:t,canvas_position_left:a,canvas_position_top:a,canvas_position_center:n,canvas_position_middle:n,canvas_position_right:r,canvas_position_bottom:r,canvas_position_start:o.invert?r:a,canvas_position_end:o.invert?a:r}},translateSpecialCase:function(e){return this.sc[e]},_calculateProjection:function(e){var t=this._canvasOptions;return t.invert?t.endPoint-e:t.startPoint+e},_calculateUnProjection:function(e){var t=this._canvasOptions;return t.invert?t.rangeMaxVisible.valueOf()-e:t.rangeMinVisible.valueOf()+e},getVisibleCategories:function(){return this.visibleCategories},getMinBarSize:function(e){var t=this.getCanvasVisibleArea(),n=this.untranslate(t.min+e);return v(this.untranslate(t.min)-(m(n)?n:this.untranslate(t.max)))},translate:b,untranslate:b,getInterval:b,zoom:b,getMinScale:b,getRange:function(){return[this.untranslate(this._canvasOptions.startPoint,-1),this.untranslate(this._canvasOptions.endPoint,1)]},isEmptyValueRange:function(){return this._businessRange.stubData},getScreenRange:function(){return[this._canvasOptions.startPoint,this._canvasOptions.endPoint]},add:function(e,t,n){return this._add(e,t,(this._businessRange.invert?-1:1)*n)}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return function(t){return t.isNode()?void 0:e(t)}}function a(e){return function(t){var n=!t.isNode()&&t.parent;return n?n._groupColor=n._groupColor||e(n):void 0}}function r(e){return e.value}function s(e){return function(t){return Number(t.data[e])}}var l,c=n(7).normalizeEnum,d=n(1).noop,u={};t.getColorizer=function(e,t,n){var i=c(e.type||l),r=u[i]&&u[i](e,t,n);return r?(e.colorizeGroups?a:o)(r):d},t.addColorizer=function(e,t){u[e]=t},t.setDefaultColorizer=function(e){l=e},t.createColorCodeGetter=function(e){return e.colorCodeField?s(e.colorCodeField):r}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a=n(2).isFunction,r=n(7).normalizeEnum,s=Math.round,l={};t.getAlgorithm=function(e){return l[r(e)]||a(e)&&e||o},t.addAlgorithm=function(e,t){l[e]=t},t.setDefaultAlgorithm=function(e){o=l[e]};var c={};c[-1]=[2,0],c[1]=[0,2],t.buildSidesData=function(e,t,n){var i=[e[2]-e[0],e[3]-e[1]],o=void 0!==n?n:i[0]<i[1]?0:1,a=1-o,r=t[o],s=t[a],l=c[r],d=c[s];return{staticSide:i[o],variedSide:i[a],static1:o+l[0],static2:o+l[1],varied1:a+d[0],varied2:a+d[1],staticDir:r,variedDir:s}},t.calculateRectangles=function(e,t,n,i,o){var a,r,l,c,d=[0,0,0,0],u=i.static1,h=i.static2,p=n[u],f=i.staticDir,_=i.staticSide,g=o.sum;for(d[i.varied1]=n[i.varied1],d[i.varied2]=n[i.varied1]+i.variedDir*o.side,a=t,r=t+o.count;r>a;++a)l=d.slice(),l[u]=p,c=s(_*e[a].value/g)||0,g-=e[a].value,_-=c,p+=f*c,l[h]=p,e[a].rect=l;n[i.varied1]=d[i.varied2]}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){var i=function(){var e;try{e=window.sessionStorage}catch(e){}return e};t.sessionStorage=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){n.exports="16.1.5"}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){var i={_findGroup:function(){var e,t=this.option("validationGroup");return t||(e=this.element().parents(".dx-validationgroup:first"),t=e.length?e.dxValidationGroup("instance"):this._modelByElement(this.element())),t}};n.exports=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(6),s=n(42),l=n(4),c=n(13),d="dxHoverStart",u="dxhoverstart",h=l.addNamespace(c.enter,d),p="dxHoverEnd",f="dxhoverend",_=l.addNamespace(c.leave,p),g=a.inherit({noBubble:!0,add:function(e,t){var n=this,i=o(e);i.off(this._originalEventName).on(this._originalEventName,t.selector,function(e){n._handler(e)})},_handler:function(e){l.isTouchEvent(e)||r.isSimulator()||l.fireEvent({type:this._eventName,originalEvent:e,delegateTarget:e.delegateTarget})},teardown:function(e){o(e).off(this._originalEventName)}}),m=g.inherit({ctor:function(){this._eventName=u,this._originalEventName=h,this._isMouseDown=!1},_handler:function(e){var t=e.pointers||[];t.length||this.callBase(e)}}),v=g.inherit({ctor:function(){this._eventName=f,this._originalEventName=_}});s(u,new m),s(f,new v),t.start=u,t.end=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(423)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(3),s=n(18),l=n(25),c=n(93),d=n(111),u=n(90),h="dx-dropdownmenu",p="dx-dropdownmenu-popup",f="dx-dropdownmenu-popup-wrapper",_="dx-dropdownmenu-list",g="dx-dropdownmenu-button",m={popupWidth:"width",popupHeight:"height"},v={buttonIcon:"icon",buttonText:"text",buttonWidth:"width",buttonHeight:"height",buttonTemplate:"template"},x=s.inherit({_supportedKeys:function(){var e={};return this.option("opened")&&this._list.option("focusedElement")||(e=this._button._supportedKeys()),o.extend(this.callBase(),e,{tab:function(e){this._popup.hide()}})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{buttonIconSrc:{since:"15.1",alias:"buttonIcon"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{items:[],onItemClick:null,dataSource:null,itemTemplate:"item",buttonText:"",buttonIcon:"overflow",buttonWidth:void 0,buttonHeight:void 0,buttonTemplate:"content",onButtonClick:null,usePopover:!1,popupWidth:"auto",popupHeight:"auto",activeStateEnabled:!0,hoverStateEnabled:!0,opened:!1,deferRendering:!1,popupPosition:{my:"top center",at:"bottom center",collision:"fit flip",offset:{v:1}},popupAnimation:void 0,onItemRendered:null,menuWidget:u})},_defaultOptionsRules:function(){return this.callBase().concat([{device:[{platform:"ios"}],options:{usePopover:!0}},{device:[{platform:"generic"}],options:{popupPosition:{offset:{v:4}}}},{device:function(e){return"desktop"===a.real().deviceType&&!a.isSimulator()},options:{focusStateEnabled:!0}},{device:[{platform:"android"}],options:{popupPosition:{my:"top "+(this.option("rtlEnabled")?"left":"right"),at:"top "+(this.option("rtlEnabled")?"left":"right"),collision:"flipfit"},popupAnimation:{show:{type:"pop",duration:200,from:{scale:0},to:{scale:1}},hide:{type:"pop",duration:200,from:{scale:1},to:{scale:0}}}}}])},_initOptions:function(e){"android"===a.current().platform&&(e.popupPosition||(e.popupPosition={at:(e.usePopover?"bottom ":"top ")+(e.rtlEnabled?"left":"right")})),this.callBase(e)},_dataSourceOptions:function(){return{paginate:!1}},_init:function(){this.callBase(),this.element().addClass(h),this._initDataSource(),this._initItemClickAction(),this._initButtonClickAction()},_initItemClickAction:function(){this._itemClickAction=this._createActionByOption("onItemClick")},_initButtonClickAction:function(){this._buttonClickAction=this._createActionByOption("onButtonClick")},_render:function(){this._renderButton(),this.callBase(),this.setAria({role:"menubar",haspopup:!0,expanded:this.option("opened")})},_renderContentImpl:function(){this.option("opened")&&this._renderPopup()},_clean:function(){this._cleanFocusState(),this._popup&&(this._popup.element().remove(),delete this._$popup)},_renderButton:function(){var e=this.element().addClass(g),t=this._buttonOptions();this._button=this._createComponent(e,l,t)},_buttonOptions:function(){return{text:this.option("buttonText"),icon:this.option("buttonIcon"),width:this.option("buttonWidth"),height:this.option("buttonHeight"),template:this.option("buttonTemplate"),focusStateEnabled:!1,onClick:o.proxy(function(e){this.option("opened",!this.option("opened")),this._buttonClickAction(e)},this)}},_toggleMenuVisibility:function(e){var t=void 0===e?!this._popup.option("visible"):e;e&&this._renderPopup(),this._popup.toggle(t),this.setAria("expanded",t)},_renderPopup:function(){if(!this._$popup){var e=this._$popup=o("<div>").appendTo(this.element()),t=this._popupOptions();this._popup=this._createComponent(e,c,t)}},_popupOptions:function(){var e=!this.option("usePopover");return{onInitialized:function(t){t.component._wrapper().addClass(f).toggleClass(p,e)},visible:this.option("opened"),onContentReady:o.proxy(this._popupContentReadyHandler,this),deferRendering:!1,position:this.option("popupPosition"),animation:this.option("popupAnimation"),onOptionChanged:o.proxy(function(e){"visible"===e.name&&this.option("opened",e.value)},this),target:this.element(),height:this.option("popupHeight"),width:this.option("popupWidth")}},_popupContentReadyHandler:function(){var e=c.getInstance(this._$popup);this._renderList(e)},_renderList:function(e){var t=e.content(),n=this._listOptions();t.addClass(_),this._list=this._createComponent(t,this.option("menuWidget"),n),this._list._getAriaTarget=o.proxy(function(){return this.element()},this),this._setListDataSource();var i=.5*o(window).height();t.height()>i&&t.height(i)},_listOptions:function(){return{_keyboardProcessor:this._listProcessor,pageLoadMode:"scrollBottom",indicateLoading:!1,noDataText:"",itemTemplate:this._getTemplateByOption("itemTemplate"),onItemClick:o.proxy(function(e){this.option("opened",!1),this._itemClickAction(e)},this),tabIndex:-1,focusStateEnabled:this.option("focusStateEnabled"),activeStateEnabled:this.option("activeStateEnabled"),onItemRendered:this.option("onItemRendered"),_itemAttributes:{role:"menuitem"}}},_setListDataSource:function(){this._list&&this._list.option("dataSource",this._dataSource||this.option("items")),delete this._deferRendering},_attachKeyboardEvents:function(){this.callBase.apply(this,arguments),this._listProcessor=this._keyboardProcessor.attachChildProcessor(),this._list&&this._list.option("_keyboardProcessor",this._listProcessor)},_cleanFocusState:function(){this.callBase.apply(this,arguments),delete this._listProcessor},_toggleVisibility:function(e){this.callBase(e),this._button.option("visible",e)},_optionChanged:function(e){var t=e.name,n=e.value;switch(t){case"items":case"dataSource":this.option("deferRendering")&&!this.option("opened")?this._deferRendering=!0:(this._refreshDataSource(),this._setListDataSource());break;case"itemTemplate":this._list&&this._list.option(t,this._getTemplate(n));break;case"onItemClick":this._initItemClickAction();break;case"onButtonClick":this._buttonClickAction();break;case"buttonIcon":case"buttonText":case"buttonWidth":case"buttonHeight":case"buttonTemplate":this._button.option(v[t],n),this._renderPopup();break;case"popupWidth":case"popupHeight":this._popup.option(m[t],n);break;case"usePopover":case"menuWidget":this._invalidate();break;case"focusStateEnabled":case"activeStateEnabled":this._list&&this._list.option(t,n),this.callBase(e);break;case"onItemRendered":this._list&&this._list.option(t,n);break;case"opened":this._deferRendering&&(this._refreshDataSource(),this._setListDataSource()),this._toggleMenuVisibility(n);break;case"deferRendering":case"popupPosition":break;default:this.callBase(e)}},open:function(){this.option("opened",!0)},close:function(){this.option("opened",!1)}}).include(d);r("dxDropDownMenu",x),i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=n(12),s={secondly:"seconds",minutely:"minutes",hourly:"hours",daily:"days",weekly:"weeks",monthly:"months",yearly:"years"},l={bysecond:function(e,t){e.setSeconds(t)},byminute:function(e,t){e.setMinutes(t)},byhour:function(e,t){e.setHours(t)},bymonth:function(e,t){e.setMonth(t)},bymonthday:function(e,t){e.setDate(t)},byday:function(e,t){e.setDate(e.getDate()-e.getDay()+t)}},c={bysecond:"getSeconds",byminute:"getMinutes",byhour:"getHours",bymonth:"getMonth",bymonthday:"getDate",byday:"getDay"},d=["freq","interval","byday","bymonth","bymonthday","count","until","byhour","byminute","bysecond"],u=["DAILY","WEEKLY","MONTHLY","YEARLY","SECONDLY","MINUTELY","HOURLY"],h={SU:0,MO:1,TU:2,WE:3,TH:4,FR:5,SA:6},p=function(e,t,n,i,o){var a=[];return e&&(a=m(e,t,n,i,o)),!!a.length},f=function(e,t){var n={},i=s[e.toLowerCase()];return n[i]=t,n},_=function(e){var t=[];if(!e)return t;for(var n=e.split(","),i=0,o=n.length;o>i;i++)t[i]=B(n[i]);return t},g=function(e,t){for(var n=!1,i=0,o=t.length;o>i;i++)e.getTime()===t[i].getTime()&&(n=!0);return n},m=function(e,t,n,i,o){var a=[],s=x(e);if(!s.isValid)return[];var l=s.rule;if(!l.freq)return a;l.interval=f(l.freq,l.interval),i=r.normalizeDate(i,n,l.until);var c=0,d=0,u=R(l),h=H(u,t),p=h[0],m=new Date(t),w=_(o);r.correctDateWithUnitBeginning(m,l.interval);for(var y=v(t,m);i>=p&&l.count!==c;)z(p,u)&&(p>=n&&!g(p,w)&&(n=new Date(p),n.setMilliseconds(n.getMilliseconds()+1),a.push(new Date(p))),c++),d++,p=h[d%h.length],d/h.length>=1&&(d=0,m=r.addInterval(m,l.interval),h=H(u,r.addInterval(m,y)),p=h[0]);return a},v=function(e,t){return{years:e.getFullYear()-t.getFullYear(),months:e.getMonth()-t.getMonth(),days:e.getDate()-t.getDate(),hours:e.getHours()-t.getHours(),minutes:e.getMinutes()-t.getMinutes(),seconds:e.getSeconds()-t.getSeconds()}},x=function(e){var t={rule:{},isValid:!1};return e&&(t.rule=A(e),t.isValid=y(t.rule,e)),t},w=[],y=function(e,t){return D(e)||-1===o.inArray(e.freq,u)||C(e)||T(e)||I(e)||k(e)||S(e)||b(e)?(E(t),!1):!0},b=function(e){var t=!1,n=e.until;return void 0===n||n instanceof Date||(t=!0),t},C=function(e){var t=!1,n=e.count;return n&&"string"==typeof n&&(t=!0),t},k=function(e){var t=!1,n=e.bymonthday;return n&&isNaN(parseInt(n))&&(t=!0),t},S=function(e){var t=!1,n=e.bymonth;return n&&isNaN(parseInt(n))&&(t=!0),t},T=function(e){var t=!1,n=e.interval;return n&&"string"==typeof n&&(t=!0),t},I=function(e){var t=O(e),n=!1;return o.each(t,function(e,t){return h.hasOwnProperty(t)?void 0:(n=!0,!1)}),n},D=function(e){var t=!1;return o.each(e,function(e,n){return-1===o.inArray(e,d)?(t=!0,!1):void 0}),t},E=function(e){-1===o.inArray(e,w)&&(a.log("W0006",e),w.push(e))},A=function(e){for(var t={},n=e.split(";"),i=0,o=n.length;o>i;i++){var a=n[i].split("="),r=a[0].toLowerCase(),s=a[1];t[r]=s}var l=parseInt(t.count);if(isNaN(l)||(t.count=l),t.interval){var c=parseInt(t.interval);isNaN(c)||(t.interval=c)}else t.interval=1;return t.freq&&t.until&&(t.until=B(t.until)),t},B=function(e){if("string"!=typeof e)return e;var t=e.match(/(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2}))?/);if(!t)return null;var n=new(Function.prototype.bind.apply(Date,M(t)));return n},M=function(e){return e.shift(),void 0===e[3]?e.splice(3):e.splice(3,1),e[1]--,e.unshift(null),e},O=function(e){var t=[];return e.byday&&(t=e.byday.split(",")),t},P=function(e){return e.getFullYear()+("0"+(e.getMonth()+1)).slice(-2)+("0"+e.getDate()).slice(-2)+"T"+("0"+e.getHours()).slice(-2)+("0"+e.getMinutes()).slice(-2)+("0"+e.getSeconds()).slice(-2)+"Z"},R=function(e){var t=[];for(var n in l)if(e[n]){var i=e[n].split(","),o=V(n,i);t=t.length?L(o,t):o}return t},V=function(e,t){for(var n=[],i=0,o=t.length;o>i;i++){var a={};a[e]=F(e,t[i]),n.push(a)}return n},F=function(e,t){var n=parseInt(t);return"bymonth"===e&&(n-=1),"byday"===e&&(n=h[t]),
n},L=function(e,t){for(var n=[],i=0,a=e.length;a>i;i++)for(var r=0,s=t.length;s>r;r++)n.push(o.extend({},e[i],t[r]));return n},H=function(e,t){for(var n=new Date(t),i=[],o=0,a=e.length;a>o;o++){var r=e[o];for(var s in r)l[s](n,r[s]);i.push(new Date(n))}return i.length||i.push(n),i},z=function(e,t){for(var n=!1,i=0;i<t.length;i++){var o=t[i],a=!0;for(var r in o)o[r]!==e[c[r]]()&&(a=!1);n=n||a}return n||!t.length},N=function(e){if(e&&e.freq){var t="";for(var n in e){var i=e[n];"interval"===n&&2>i||("until"===n&&(i=P(i)),t+=n+"="+i+";")}return t=t.substring(0,t.length-1),t.toUpperCase()}};i.exports={getRecurrenceString:N,getRecurrenceRule:x,getAsciiStringByDate:P,getDatesByRecurrence:m,dateInRecurrenceRange:p,getDateByAsciiString:B,daysFromByDayRule:O}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){n.exports={events:{mouseover:"mouseover",mouseout:"mouseout",mousemove:"mousemove",touchstart:"touchstart",touchmove:"touchmove",touchend:"touchend",mousedown:"mousedown",mouseup:"mouseup",click:"click",selectSeries:"selectseries",deselectSeries:"deselectseries",selectPoint:"selectpoint",deselectPoint:"deselectpoint",showPointTooltip:"showpointtooltip",hidePointTooltip:"hidepointtooltip"},states:{hover:"hover",normal:"normal",selection:"selection",normalMark:0,hoverMark:1,selectedMark:2,applyHover:"applyHover",applySelected:"applySelected",resetItem:"resetItem"},pieLabelIndent:30,pieLabelSpacing:10,pieSeriesSpacing:4}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=String(e).toUpperCase();return-1!==l.inArray(t,B)?t:void 0}function a(e){return"SVG"===e?_.getBlob:"PDF"===e?g.getBlob:f.getBlob}function r(e){var t=window.open();t&&(t.document.open(),t.document.write(e),t.document.close(),t.print(),t.close())}function s(e,t,n,i){var o=String(n).toUpperCase();return-1===l.inArray(o,["PNG","PDF","JPEG","SVG","GIF"])&&(o="PNG"),{format:o,fileName:t||"file",proxyUrl:e.option("export.proxyUrl"),width:e._canvas.width,height:e._canvas.height,exportingAction:e._createActionByOption("onExporting"),exportedAction:e._createActionByOption("onExported"),fileSavingAction:e._createActionByOption("onFileSaving")}}var l=n(1),c=l.extend,d=l.each,u=n(154),h=n(8),p=n(34),f=u.image,_=u.svg,g=u.pdf,m=n(125),v=n(13),x=[v.down,v.move].join(" "),w=35,y=[[9,12,26,12,26,14,9,14],[9,17,26,17,26,19,9,19],[9,22,26,22,26,24,9,24]],b=4,C=120,k=8,S=15,T=30,I=1,D=10,E=2,A=3,B=["PNG","PDF","JPEG","SVG","GIF"],M="dx-export-menu",O="export-element-type",P="export-element-format";t.exportFromMarkup=function(e,t){t.format=o(t.format)||"PNG",t.fileName=t.fileName||"file",u.export(e,t,a(t.format))},t.ExportMenu=function(e,t){var n=this;n._renderer=e,n._svgMethod=t,n._shadow=e.shadowFilter("-50%","-50%","200%","200%",E,6,A),n._shadow.attr({opacity:.8}),n._group=e.g().attr({"class":M}).linkOn(e.root,{name:"export-menu",after:"peripheral"}),n._buttonGroup=e.g().attr({"class":M+"-button"}).append(n._group),n._listGroup=e.g().attr({"class":M+"-list"}).append(n._group),n._subscribeEvents()},c(t.ExportMenu.prototype,{getLayoutOptions:function(){var e=this._buttonGroup.getBBox();return e.cutSide="vertical",e.cutLayoutSide="top",e.height+=2*D,e.position={vertical:"top",horizontal:"right"},e.verticalAlignment="top",e.horizontalAlignment="right",e},probeDraw:l.noop,shift:function(e,t){this._group.attr({translateY:this._group.attr("translateY")+t})},draw:function(e,t,n){this._options.exportOptions.width=n.width,this._options.exportOptions.height=n.height,this._group.move(n.width-w-E-A,t-w-D)},show:function(){this._group.linkAppend()},hide:function(){this._group.linkRemove()},setOptions:function(e){this._options=e,e.formats=e.formats||B,e.printingEnabled=void 0===e.printingEnabled?!0:e.printingEnabled,e.enabled&&(e.formats.length||e.printingEnabled)?(this.show(),this._updateButton(),this._updateList(),this._hideList()):this.hide()},dispose:function(){var e=this;e._unsubscribeEvents(),e._group.linkRemove().linkOff(),e._group.dispose(),e._shadow.dispose(),e._shadow=e._group=e._listGroup=e._buttonGroup=e._button=null,e._options=null},layoutOptions:function(){var e=this._options;return e.enabled&&{horizontalAlignment:"right",verticalAlignment:"top",weak:!0}},measure:function(){return[w+E,w]},move:function(e){this._group.attr({translateX:Math.round(e[0]),translateY:Math.round(e[1])})},_hideList:function(){this._listGroup.attr({visibility:"hidden"}),this._listShown=!1,this._setButtonState("default")},_showList:function(){this._listGroup.attr({visibility:"visible"}),this._listShown=!0},_setButtonState:function(e){var t=this,n=t._options.button[e];this._button.attr({stroke:n.borderColor,fill:n.backgroundColor}),this._icon.attr({fill:n.color})},_subscribeEvents:function(){var e=this;e._renderer.root.on(v.up+".export",function(t){var n,i=t.target[O],o=e._options;return i?void("button"===i?e._listShown?(e._setButtonState("default"),e._hideList()):(e._setButtonState("focus"),e._showList()):"printing"===i?(e.hide(),r(e._svgMethod()),e.show(),e._hideList()):"exporting"===i&&(e.hide(),n=c({},o.exportOptions,{format:t.target[P],backgroundColor:o.backgroundColor}),u.export(e._svgMethod(),n,a(n.format)),e.show(),e._hideList())):void(e._button&&e._hideList())}),e._listGroup.on(x,function(e){e.stopPropagation()}),e._buttonGroup.on(v.enter,function(){e._setButtonState("hover")}),e._buttonGroup.on(v.leave,function(){e._setButtonState(e._listShown?"focus":"default")}),e._buttonGroup.on(v.down+".export",function(t){e._setButtonState("active")})},_unsubscribeEvents:function(){this._renderer.root.off(".export"),this._listGroup.off(),this._buttonGroup.off()},_updateButton:function(){var e=this,t=e._renderer,n=e._options,i={fill:n.button.default.color,cursor:"pointer"},o={"export-element-type":"button"};e._button||(e._button=t.rect(0,0,w,w).append(e._buttonGroup),e._button.attr({rx:4,ry:4,fill:n.button.default.backgroundColor,stroke:n.button.default.borderColor,"stroke-width":1,cursor:"pointer"}),e._button.data(o),e._icon=t.path(y).append(e._buttonGroup),e._icon.attr(i),e._icon.data(o),e._buttonGroup.setTitle(h.format("vizExport-titleMenuText")))},_getItemStyle:function(e){var t=e.font,n={rect:{cursor:"pointer","pointer-events":"all"},text:{"pointer-events":"none"}};return n.text["font-size"]=t.size,n.text["font-family"]=t.family,n.text.fill=t.color,n.text["font-weight"]=t.weight,n},_getItemAttributes:function(e,t){var n,i={},o=w-C,a=w+b+(t.length+1)*T;return i.rect={width:C-2*I,height:T,x:o+I,y:a-T},i.text=p().rtlEnabled?{x:o+C-2*I-S}:{x:o+S},i.text.y=a-k,"printing"===e.type&&(n="M "+o+" "+(a-I)+" L "+(o+C)+" "+(a-I),i.separator={stroke:e.stroke,"stroke-width":I,cursor:"pointer",sharp:"v",d:n}),i},_addMenuItem:function(e,t,n){var i,o=this,a={},r=t.hoverFill,s=t.fill,l=t.type,c=t.format,d=o._getItemStyle(t),u=o._getItemAttributes(t,n);i=e.g().attr({"class":M+"-list-item"}),a[O]=l,c&&(a[P]=c);var h=e.rect(),p=e.text(t.text);h.attr(u.rect).css(d.rect).data(a),h.on(m.start+".export",function(e){h.attr({fill:r})}).on(m.end+".export",function(e){h.attr({fill:s})}),h.append(i),p.css(d.text).attr(u.text).append(i),"printing"===l&&e.path(null,"line").attr(u.separator).append(i),n.push({g:i,rect:h})},_getMenuItems:function(e){var t=this,n=e.button.default,i=e.button.hover,a=e.formats,r=t._renderer,s=[];return e.printingEnabled&&t._addMenuItem(r,{font:e.font,type:"printing",fill:n.backgroundColor,stroke:n.borderColor,hoverFill:i.backgroundColor,text:h.format("vizExport-printingButtonText")},s),d(a,function(a,l){l=o(l),l&&t._addMenuItem(r,{font:e.font,fill:n.backgroundColor,stroke:n.borderColor,hoverFill:i.backgroundColor,type:"exporting",text:h.getFormatter("vizExport-exportButtonText")(l),format:l},s)}),s&&t._setConnerRadius(s),s},_getMenuOverlay:function(e,t){var n,i,o=this,a=w+b,r=o._renderer,s=-C+w;return i=t.length*T,n=r.rect(s,a,C,i),o._shadow.attr({color:e.shadowColor}),n.attr({fill:e.button.default.backgroundColor,stroke:e.button.default.borderColor,"stroke-width":I,cursor:"pointer",rx:4,ry:4,filter:o._shadow.ref}),n.data({"export-element-type":"list"}),n},_setConnerRadius:function(e){var t=e[0].rect,n=e[e.length-1].rect;t.attr({y:parseInt(t.attr("y"))+2*I,height:parseInt(t.attr("height"))-2*I}),n.attr({height:parseInt(n.attr("height"))-2*I})},_updateList:function(){var e=this,t=e._options,n=e._listGroup,i=e._getMenuItems(t),o=e._getMenuOverlay(t,i);n.clear(),o.append(n),d(i,function(e,t){t.g.append(n)})}}),t.plugin={name:"export",init:function(){var e=this;e._exportMenu=new t.ExportMenu(e._renderer,function(){return e.svg()}),e._layout.add(e._exportMenu)},dispose:function(){this._exportMenu.dispose(),this._exportMenu=null},members:{_getExportMenuOptions:function(){var e=this,t=e._getOption("export")||{},n=s(e,t.fileName,t.format,t.color);return l.extend({},t,{exportOptions:n})},exportTo:function(e,t){var n,i=s(this,e,t),o=this._exportMenu;n="SVG"===i.format?u.svg.getBlob:"PDF"===i.format?u.pdf.getBlob:u.image.getBlob,o&&o.hide(),u.export(this.svg(),i,n),o&&o.show()},print:function(){var e=window.open();e&&(e.document.open(),e.document.write(this.svg()),e.document.close(),e.print(),e.close())}},customize:function(e){var t=e.prototype;e.addChange({code:"EXPORT",handler:function(){this._exportMenu.setOptions(this._getExportMenuOptions()),this._change(["LAYOUT"])},isThemeDependent:!0,isOptionChange:!0,option:"export"}),t._optionChangesMap.onExporting="EXPORT",t._optionChangesMap.onExported="EXPORT",t._optionChangesMap.onFileSaving="EXPORT"}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n,i=e.length;for(n=0;i>n;++n)if(e[n]!==t[n])return!1;return!0}function a(e){return _(e)?{text:e}:e||{}}var r=n(1),s=Number,l=n(7).getAppropriateFormat,c=n(343),d=r.extend,u=n(116),h=n(7).normalizeEnum,p=n(2),f=n(530),_=p.isString,g=u.inherit({_rootClassPrefix:"dxg",_createThemeManager:function(){return new this._factory.ThemeManager},_setDeprecatedOptions:function(){this.callBase(),d(this._deprecatedOptions,{subtitle:{since:"15.2",message:"Use the 'title.subtitle' option instead"},"title.position":{since:"15.2",message:"Use the 'verticalAlignment' and 'horizontalAlignment' options instead"},"scale.hideFirstTick":{since:"15.2",message:"The functionality is not more available"},"scale.hideLastTick":{since:"15.2",message:"The functionality is not more available"},"scale.hideFirstLabel":{since:"15.2",message:"The functionality is not more available"},"scale.hideLastLabel":{since:"15.2",message:"The functionality is not more available"},"scale.majorTick":{since:"15.2",message:"Use the 'tick' option instead"},"scale.minorTick.showCalculatedTicks":{since:"15.2",message:"The functionality is not more available"},"scale.minorTick.customTickValues":{since:"15.2",message:"Use the 'customMinorTicks' option instead"},"scale.minorTick.tickInterval":{since:"15.2",message:"Use the 'minorTickInterval' option instead"}})},_initCore:function(){var e=this,t=e._renderer.root;e._valueChangingLocker=0,e._translator=e._factory.createTranslator(),e._initDeltaIndicator(),e._tracker=e._factory.createTracker({renderer:e._renderer,container:t}),e._setTrackerCallbacks()},_beginValueChanging:function(){this._resetIsReady(),++this._valueChangingLocker},_endValueChanging:function(){0===--this._valueChangingLocker&&this._drawn()},_initDeltaIndicator:function(){var e=this,t=e._DeltaIndicator;t&&(e._deltaIndicator=new t({renderer:e._renderer,container:e._renderer.root}),e._deltaIndicator.layoutOptions=function(){this.clean(),this.draw(e._getOption("indicator"));var t=this.getLayoutOptions();return this._size=t?[t.width,t.height]:null,t&&{horizontalAlignment:t.horizontalAlignment||"center",verticalAlignment:t.verticalAlignment||"bottom"}},e._deltaIndicator.measure=function(){return this._size},e._deltaIndicator.move=function(e){return this.shift(Math.round(e[0]),Math.round(e[1]))},e._layout.add(e._deltaIndicator))},_disposeDeltaIndicator:function(){this._deltaIndicator&&(this._deltaIndicator.clean(),this._deltaIndicator.dispose())},_setTrackerCallbacks:function(){var e=this,t=e._renderer,n=e._tooltip;e._tracker.setCallbacks({"tooltip-show":function(e,i){var o=e.getTooltipParameters(),a=t.getRootOffset(),r=d({value:o.value,valueText:n.formatValue(o.value),color:o.color},i);return n.show(r,{x:o.x+a.left,y:o.y+a.top,offset:o.offset},{target:i})},"tooltip-hide":function(){return n.hide()}}),e._resetTrackerCallbacks=function(){e._resetTrackerCallbacks=e=t=n=null}},_dispose:function(){this._cleanCore(),this.callBase.apply(this,arguments)},_disposeCore:function(){var e=this;e._themeManager.dispose(),e._tracker.dispose(),e._disposeDeltaIndicator(),e._translator=e._tracker=null},_cleanCore:function(){var e=this;e._tracker.deactivate(),e._cleanContent()},_renderCore:function(){var e=this;e._isValidDomain&&(e._renderContent(),e._tracker.setTooltipState(e._tooltip.isEnabled()),e._tracker.activate(),e._noAnimation=!1)},_applyChanges:function(){this.callBase.apply(this,arguments),this._resizing=this._noAnimation=!1},_setContentSize:function(){var e=this;e._resizing=e._noAnimation=2===e._changes.count(),e.callBase.apply(e,arguments)},_applySize:function(e){var t=this;t._innerRect={left:e[0],top:e[1],right:e[2],bottom:e[3]};var n=t._layout._cache;return t._cleanCore(),t._renderCore(),t._layout._cache=t._layout._cache||n,[e[0],t._innerRect.top,e[2],t._innerRect.bottom]},_initialChanges:["DOMAIN"],_themeDependentChanges:["DOMAIN"],_optionChangesMap:{subtitle:"MOSTLY_TOTAL",indicator:"MOSTLY_TOTAL",geometry:"MOSTLY_TOTAL",animation:"MOSTLY_TOTAL",startValue:"DOMAIN",endValue:"DOMAIN"},_optionChangesOrder:["DOMAIN","MOSTLY_TOTAL"],_change_DOMAIN:function(){this._setupDomain()},_change_MOSTLY_TOTAL:function(){this._applyMostlyTotalChange()},_setupDomain:function(){var e=this;e._setupDomainCore(),e._isValidDomain=isFinite(1/(e._translator.getDomain()[1]-e._translator.getDomain()[0])),e._isValidDomain||e._incidentOccurred("W2301"),e._change(["MOSTLY_TOTAL"])},_applyMostlyTotalChange:function(){var e=this;e._setupCodomain(),e._setupAnimationSettings(),e._setupDefaultFormat(),e._change(["LAYOUT"])},_setupAnimationSettings:function(){var e=this,t=e.option("animation");e._animationSettings=null,(void 0===t||t)&&(t=d({enabled:!0,duration:1e3,easing:"easeOutCubic"},t),t.enabled&&t.duration>0&&(e._animationSettings={duration:s(t.duration),easing:t.easing})),e._containerBackgroundColor=e.option("containerBackgroundColor")||e._themeManager.theme().containerBackgroundColor},_setupDefaultFormat:function(){var e=this._translator.getDomain();this._defaultFormatOptions=l(e[0],e[1],this._getApproximateScreenRange())},_setupDomainCore:null,_calculateSize:null,_cleanContent:null,_renderContent:null,_setupCodomain:null,_getApproximateScreenRange:null,_factory:{createTranslator:function(){return new c.Translator1D},createTracker:function(e){return new f(e)}}});t.dxBaseGauge=g;var m=n(168),v=function(e,t,n){t=t||{};var i,o=m(e,t);return"function"==typeof t.customizeText?(i=d({value:e,valueText:o},n),String(t.customizeText.call(i,i))):o},x=function(e,t){var n=v(e.getDomainStart(),t),i=v(e.getDomainEnd(),t);return n.length>=i.length?n:i};t.formatValue=v,t.getSampleText=x,t.compareArrays=function(e,t){return e&&t&&e.length===t.length&&o(e,t)},g.addPlugin(n(130).plugin),g.addPlugin(n(171).plugin),g.addPlugin(n(172).plugin),g.addPlugin(n(169).plugin);var w=g.prototype._setTooltipOptions;g.prototype._setTooltipOptions=function(){w.apply(this,arguments),this._tracker&&this._tracker.setTooltipState(this._tooltip.isEnabled())},g.prototype._getTitleOptions=function(){var e,t,n=this,i=a(n.option("title"));return n._suppressDeprecatedWarnings(),i.subtitle=r.extend(a(i.subtitle),a(n.option("subtitle"))),n._resumeDeprecatedWarnings(),e=d(!0,{},n._themeManager.theme("title"),i),e.position&&(t=h(e.position).split("-"),e.verticalAlignment=t[0],e.horizontalAlignment=t[1]),e}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(96),r=n(173).chart.area,s=a.chart,l=a.polar,c=o.extend,d=o.each,u=3;t.chart={},t.polar={};var h={_getSpecialColor:r._getSpecialColor,_createPattern:r._createPattern,_updateOptions:function(e){this._stackName="axis_"+(e.axis||"default")+"_stack_"+(e.stack||"default")},_parsePointStyle:function(e,t,n){var i=this._createPattern(e.color||t,e.hatching),o=s._parsePointStyle.call(this,e,i,n);return o.fill=i,o.dashStyle=e.border&&e.border.dashStyle||"solid",delete o.r,o},_applyMarkerClipRect:function(e){e.clipId=null},_clearingAnimation:function(e,t){var n=this,i=n._oldgetAffineCoordOptions(e)||n._getAffineCoordOptions(e);n._labelsGroup&&n._labelsGroup.animate({opacity:.001},{duration:n._defaultDuration,partitionDuration:.5},function(){n._markersGroup.animate(i,{partitionDuration:.5},function(){n._markersGroup.attr({scaleX:null,scaleY:null,translateX:0,translateY:0}),t()})})},_setGroupsSettings:function(e,t){var n=this,i={};s._setGroupsSettings.apply(n,arguments),e&&t?i=this._getAffineCoordOptions(n.translators,!0):e||(i={scaleX:1,scaleY:1,translateX:0,translateY:0}),n._markersGroup.attr(i)},_drawPoint:function(e){e.hasAnimation=e.hasAnimation&&!e.firstDrawing,e.firstDrawing=!1,s._drawPoint.call(this,e)},_getMainColor:function(){return this._options.mainSeriesColor},_createPointStyles:function(e){var t=this,n=e.color||t._getMainColor(),i=t._getSpecialColor(n);return{normal:t._parsePointStyle(e,n,n),hover:t._parsePointStyle(e.hoverStyle||{},i,n),selection:t._parsePointStyle(e.selectionStyle||{},i,n)}},_updatePointsVisibility:function(){var e=this._options.visible;o.each(this._points,function(t,n){n._options.visible=e})},_getOptionsForPoint:function(){return this._options},_animate:function(e){var t=this,n=function(){t._animateComplete()},i=function(e,t){var n=e.length-1;d(e||[],function(e,i){i.animate(e===n?t:void 0,i.getMarkerCoords())})};t._animatePoints(e,n,i)},_getPointSize:function(){return u},_beginUpdateData:function(e){s._beginUpdateData.call(this,e),this._deletePatterns()}};t.chart.bar=c({},s,h,{_getAffineCoordOptions:function(e){var t=this._options.rotated,n=t?"x":"y",i={scaleX:t?.001:1,scaleY:t?1:.001};return i["translate"+n.toUpperCase()]=e[n].translate("canvas_position_default"),i},_getRangeData:function(){var e=r._getRangeData.apply(this,arguments);return e.arg.stick=!1,e},_animatePoints:function(e,t,n){var i=this;i._markersGroup.animate({scaleX:1,scaleY:1,translateY:0,translateX:0},void 0,t),e||n(i._drawnPoints,t)}}),t.polar.bar=c({},l,h,{_animatePoints:function(e,t,n){n(this._drawnPoints,t)},_setGroupsSettings:s._setGroupsSettings,_drawPoint:function(e,t,n){s._drawPoint.call(this,e,t,n)},_parsePointStyle:function(e){var t=h._parsePointStyle.apply(this,arguments);return t.opacity=e.opacity,t},_createGroups:s._createGroups,_setMarkerGroupSettings:function(){var e,t=this,n=t._createPointStyles(t._getMarkerGroupOptions()).normal;n.class="dxc-markers",t._applyMarkerClipRect(n),e=c({},n),delete e.opacity,t._markersGroup.attr(e)},_createLegendState:r._createLegendState,_getRangeData:r._getRangeData})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=e.ctx;n.suspend(),n.change(t),n.resume()}function a(e,t){var n,i=e.nodes,o=i&&i.length;for(n=0;o>n;++n)t.push(i[n].proxy),a(i[n],t)}function r(e,t){for(var n=t-e.value;e;)e.value+=n,e=e.parent}function s(e,t){var n=e.ctx.calculateLabelState(t);return"visible"in t&&(n.visible=!!t.visible),n}var l=n(55).prototype,c=n(175).prototype,d=n(1).extend;l._eventsMap.onNodesInitialized={name:"nodesInitialized"},l._eventsMap.onNodesRendering={name:"nodesRendering"},l._createProxyType=function(){function e(e){var t=this;e.proxy=t,t._id=e._id,t.level=e.level,t.index=e.index,t.data=e.data}var t,n=this;e.prototype={constructor:e,getParent:function(){return t[this._id].parent.proxy||null},getChild:function(e){var n=t[this._id].nodes;return n?n[e].proxy:null},getChildrenCount:function(){var e=t[this._id].nodes;return e?e.length:0},getAllChildren:function(){var e,n=t[this._id].nodes,i=n&&n.length,o=[];for(e=0;i>e;++e)o.push(n[e].proxy);return o},getAllNodes:function(){var e=[];return a(t[this._id],e),e},isLeaf:function(){return!t[this._id].isNode()},isActive:function(){return t[this._id].isActive()},value:function(e){var n,i=t[this._id];return void 0!==e?(r(i,e>0?Number(e):0),o(i,["TILING"]),n=this):n=i.value,n},label:function(e){var n,i=t[this._id];return void 0!==e?(i.customLabel=e?String(e):null,o(i,["LABELS"]),n=this):n=i.customLabel||i.label,n},customize:function(e){var n=t[this._id];return e&&(n._custom=n._custom||{},d(!0,n._custom,e),n._partialState=n._partialLabelState=null),o(n,["TILES","LABELS"]),this},resetCustomization:function(){var e=t[this._id];return e._custom=e._partialState=e._partialLabelState=null,o(e,["TILES","LABELS"]),this}},n._extendProxyType(e.prototype),n._handlers.beginBuildNodes=function(){t=n._nodes,new e(n._root)},n._handlers.buildNode=function(t){new e(t)},n._handlers.endBuildNodes=function(){n._eventTrigger("nodesInitialized",{root:n._root.proxy})}},l._extendProxyType=n(98).empty;var u=l._resetNodes;l._resetNodes=function(){u.call(this),this._eventTrigger("nodesRendering",{node:this._topNode.proxy})};var h=c.updateStyles;c.updateStyles=function(){var e=this;h.call(e),e._custom&&(e._partialState=!e.ctx.forceReset&&e._partialState||e.ctx.calculateState(e._custom),d(!0,e.state,e._partialState))};var p=c.updateLabelStyle;c.updateLabelStyle=function(){var e=this,t=e._custom;p.call(e),t&&t.label&&(e._partialLabelState=!e.ctx.forceReset&&e._partialLabelState||s(e,t.label),e.labelState=d(!0,{},e.labelState,e._partialLabelState))},l.getRootNode=function(){return this._root.proxy},l.resetNodes=function(){var e=this._context;return e.suspend(),e.change(["NODES_CREATE"]),e.resume(),this}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=N("<canvas>")[0];return n.width=e+2*ie.x,n.height=t+2*ie.y,n}function a(e,t){var n=e.toDataURL(t,te),i=atob(n.substring(("data:"+t+";base64,").length));return i}function r(e,t,n,i,o,a,r,s){var l,c,d,u,h,p,f=(e+n)/2,_=(t+i)/2,g=Y(t-i,e-n),m=a?1:-1;g+=90*($/180)*(r?1:-1),l=U(K(n-e,2)+K(i-t,2))/2,c=U(j(K(o,2)-K(l,2))),d=f+m*(c*X(g)),u=_+m*(c*Q(g)),h=Y(t-u,e-d),p=Y(i-u,n-d),s.arc(d,u,o,h,p,!r)}function s(e,t){var n,i=B(e.attributes),o=e.style||{},a=J({},i,{text:e.textContent,textAlign:"middle"===i["text-anchor"]?"center":i["text-anchor"]}),r=i.transform;return r&&(n=r.match(/translate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/),n&&(n=n[0].match(/-*\d+([.]\d+)*/g),a.translateX=ee(n[0]),a.translateY=n[1]?ee(n[1]):0),n=r.match(/rotate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*,*\s*-*\d+([.]\d+)*)*/),n&&(n=n[0].match(/-*\d+([.]\d+)*/g),a.rotationAngle=ee(n[0]),a.rotationX=n[1]&&ee(n[1]),a.rotationY=n[2]&&ee(n[2]))),u(o,a,t),t&&x(a),a}function l(e,t){var n=t.x,i=t.y,o=t.width,a=t.height,r=t.rx;r?(r=q(r,o/2,a/2),e.save(),e.translate(n,i),e.moveTo(o/2,0),e.arcTo(o,0,o,a,r),e.arcTo(o,a,0,a,r),e.arcTo(0,a,0,0,r),e.arcTo(0,0,r,0,r),e.lineTo(o/2,0),e.restore()):e.rect(t.x,t.y,t.width,t.height)}function c(e,t){var n=N.Deferred(),i=new Image;i.onload=function(){e.save(),e.globalAlpha=t.globalAlpha,b(e,t),C(e,t),e.drawImage(i,t.x,t.y,t.width,t.height),e.restore(),n.resolve()},i.onerror=function(e){n.resolve()},L.push(n),i.setAttribute("crossOrigin","anonymous"),i.src=t["xlink:href"]}function d(e,t){var n,i,o=t.split(" "),a=0;do switch(n=ee(o[a+1]),i=ee(o[a+2]),o[a]){case"M":e.moveTo(n,i),a+=3;break;case"L":e.lineTo(n,i),a+=3;break;case"C":e.bezierCurveTo(n,i,ee(o[a+3]),ee(o[a+4]),ee(o[a+5]),ee(o[a+6])),a+=7;break;case"A":r(ee(o[a-2]),ee(o[a-1]),ee(o[a+6]),ee(o[a+7]),n,ee(o[a+4]),ee(o[a+5]),e),a+=8;break;case"Z":e.closePath(),a+=1}while(a<o.length)}function u(e,t,n){Z(e,function(n,i){""!==e[i]&&(t[N.camelCase(i)]=e[i])}),t.textDecoration=t.textDecoration||t.textDecorationLine,t.globalAlpha=t.opacity||t.globalAlpha}function h(e){return e.match(/\w+/g)[1]}function p(e,t){var n=[];t.fontSize=t.fontSize||oe,t.fontFamily||ae,t.fill=t.fill||re,t.fontStyle&&n.push(t.fontStyle),t.fontWeight&&n.push(t.fontWeight),n.push(t.fontSize),n.push(t.fontFamily),e.font=n.join(" "),e.textAlign=t.textAlign,e.fillStyle=t.fill,e.globalAlpha=t.globalAlpha}function f(e,t){p(e,t),t.text&&e.fillText(t.text,t.x,t.y),D(e,t,!0),_(e,t),F=t.x+e.measureText(t.text).width}function _(e,t){if(t.textDecoration&&"none"!==t.textDecoration){var n=t.x,i=t.textAlign,o=e.measureText(t.text).width,a=parseInt(t.fontSize,10),r=1>a*ne?1:a*ne,s=t.y;switch("center"===i?n-=o/2:"end"===i&&(n-=o),t.textDecoration){case"line-through":s-=a/3+r/2;break;case"overline":s-=a-r;break;case"underline":s+=r}e.rect(n,s,o,r),A(e,t),D(e,t)}}function g(e){V[e.attributes.id.textContent]=e.childNodes[0]}function m(e){H[e.attributes.id.textContent]=e}function v(e){e.strokeOpacity=void 0!==e["stroke-opacity"]?e["stroke-opacity"]:1,e.fillOpacity=void 0!==e["fill-opacity"]?e["fill-opacity"]:1,void 0!==e.opacity&&(e.strokeOpacity*=e.opacity,e.fillOpacity*=e.opacity)}function x(e){e.dy&&(e.y=R+ee(e.dy)),F&&void 0===e.x&&(e.x=F),void 0!==e.y?R=e.y:e.y=R}function w(e,t,n){var i=e.tagName,o="text"===i||"tspan"===i||void 0===i,a="image"===i,r=J({},n,s(e,o));if("hidden"!==r.visibility){switch(t.save(),!a&&b(t,r),C(t,r),v(r),t.beginPath(),e.tagName){case void 0:f(t,r);break;case"text":case"tspan":F=0,T(e.childNodes,t,r);break;case"title":return;case"image":c(t,r);break;case"path":d(t,r.d);break;case"rect":l(t,r),t.closePath();break;case"circle":t.arc(r.cx,r.cy,r.r,0,2*$,1)}y(t,r),o||(A(t,r),D(t,r)),t.restore()}}function y(e,t){var n,i=t.filter&&t.filter.match(/url\(\#(.*)\)/);i&&i[1]&&(n=z&&z[i[1]],n||(n={offsetX:0,offsetY:0,blur:0,color:"#000"}),e.shadowOffsetX=n.offsetX,e.shadowOffsetY=n.offsetY,e.shadowColor=n.color,e.shadowBlur=n.blur)}function b(e,t){e.translate(t.translateX||0,t.translateY||0),delete t.translateX,delete t.translateY,t.rotationAngle&&(e.translate(t.rotationX||0,t.rotationY||0),e.rotate(t.rotationAngle*$/180),e.translate(-(t.rotationX||0),-(t.rotationY||0)),delete t.rotationAngle,delete t.rotationX,delete t.rotationY)}function C(e,t){t["clip-path"]&&(w(V[h(t["clip-path"])],e,{}),e.clip(),delete t["clip-path"])}function k(e,t){var n=new W(e);return"rgba("+n.r+","+n.g+","+n.b+","+t+")"}function S(e){var t,n,i={};Z(e.childNodes,function(e,o){var a=o.attributes;if(a.result)switch(a.result.value){case"gaussianBlurResult":i.blur=ee(a.stdDeviation.value);break;case"offsetResult":i.offsetX=ee(a.dx.value),i.offsetY=ee(a.dy.value);break;case"floodResult":t=a["flood-color"]?a["flood-color"].value:"#000",n=a["flood-opacity"]?a["flood-opacity"].value:1,i.color=k(t,n)}}),z[e.id]=i}function T(e,t,n){var i;Z(e,function(e,o){switch(o.tagName&&o.tagName.toLowerCase()){case"g":i=J({},n,s(o)),t.save(),b(t,i),C(t,i),T(o.childNodes,t,i),t.restore();break;case"defs":V={},H={},z={},T(o.childNodes,t);break;case"clippath":g(o);break;case"pattern":m(o);break;case"filter":S(o);break;default:w(o,t,n)}})}function I(e,t){var n=t["stroke-dasharray"]&&t["stroke-dasharray"].match(/(\d+)/g);n&&n.length&&(n=N.map(n,function(e){return ee(e)}),e.setLineDash(n))}function D(e,t,n){var i=t.stroke;i&&"none"!==i&&0!==t["stroke-width"]&&(I(e,t),e.lineJoin=t["stroke-linejoin"],e.lineWidth=t["stroke-width"],e.globalAlpha=t.strokeOpacity,e.strokeStyle=i,n?e.strokeText(t.text,t.x,t.y):e.stroke())}function E(e,t){var n=H[h(t)],i=s(n),a=o(i.width,i.height),r=a.getContext("2d");return T(n.childNodes,r,i),e.createPattern(a,"repeat")}function A(e,t){var n=t.fill;n&&"none"!==n&&(e.fillStyle=-1===n.search(/url/)?n:E(e,n),e.globalAlpha=t.fillOpacity,e.fill())}function B(e){var t,n={};return N.each(e,function(e,i){t=i.textContent,isFinite(t)&&(t=ee(t)),n[i.name.toLowerCase()]=t}),n}function M(e,t,n,i){e.fillStyle=i||"#ffffff",e.fillRect(-ie.x,-ie.y,t+2*ie.x,n+2*ie.y)}function O(e,t,n,i){var a=o(t,n),r=a.getContext("2d"),s=new DOMParser,l=s.parseFromString(e,"image/svg+xml"),c=l.childNodes[0];return r.translate(ie.x,ie.y),L=[],document.body.appendChild(a),c.attributes.direction&&(a.dir=c.attributes.direction.textContent),M(r,t,n,i),T(c.childNodes,r,{}),document.body.removeChild(a),a}function P(e,t,n){N.when.apply(N,L).done(function(){var i=a(t,n);e.resolve(i)})}var R,V,F,L,H,z,N=n(1),W=n(56),G=Math,$=G.PI,q=G.min,j=G.abs,U=G.sqrt,K=G.pow,Y=G.atan2,X=G.cos,Q=G.sin,Z=N.each,J=N.extend,ee=Number,te=1,ne=.05,ie={x:30,y:20},oe="10px",ae="sans-serif",re="#000";t.imageCreator={getImageData:function(e,t){var n="image/"+t.format,i=N.Deferred(),o=t.width,a=t.height,r=t.backgroundColor;return P(i,O(e,o,a,r),n),i},getBlob:function(e,n){var i,o,a=t.imageCreator.getImageData(e,n),r="image/"+n.format,s=N.Deferred();return N.when(a).done(function(e){for(i=new Uint8Array(e.length),o=0;o<e.length;o++)i[o]=e.charCodeAt(o);s.resolve(new Blob([i.buffer],{type:r}))}),s}},t.getBlob=function(e,n,i){t.imageCreator.getBlob(e,n).done(i)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=function(){var e=[],t=o.Callbacks();this.add=function(n){o.each(e,function(e,t){n.apply(n,t)}),t.add(n)},this.remove=function(e){t.remove(e)},this.fire=function(){e.push(arguments),t.fire.apply(t,arguments)}};i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=o.cleanData,r=o.event.special,s="dxremove",l="dxRemoveEvent";o.cleanData=function(e){for(var t=0;t<e.length;t++){var n=o(e[t]);n.prop(l)&&(n.removeProp(l),n.triggerHandler(s))}return a(e)},r[s]={noBubble:!0,setup:function(){o(this).prop(l,!0)}},i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(268),r=n(2),s=n(136),l="dxComponents",c="dxPrivateComponent",d=new a,u=0;t.attachInstanceToElement=function(e,t,n,i){var a=e.get(0),r=o.data(a);i=i||o.noop,r[t]=n,e.one(s,function(){i.call(n)}),r[l]||(r[l]=[]),r[l].push(t)},t.getInstanceByElement=function(e,t){return e=o(e).get(0),o.data(e,t)},t.getName=function(e){if(r.isDefined(e))return void d.set(this,e);if(!d.has(this)){var t=c+u++;return d.set(this,t),t}return d.get(this)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){function t(){for(;o.length;){s=!0;var e=o.shift(),n=e();if(void 0!==n){if(n.then)return void a.when(n).always(t);throw r.Error("E0015")}}s=!1}function n(n,i){e?(o[0]&&i&&i(o[0]),o=[n]):o.push(n),s||t()}function i(){return s}var o=[],s=!1;return{add:n,busy:i}}var a=n(1),r=n(10);t.create=o,t.enqueue=o().add}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){var i={};n.exports=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(43),r=n(3),s=n(40);n(81);var l=s.inherit({ctor:function(e,t){o.isPlainObject(e)&&(t=e,e=o("<div />")),this.callBase(e,t)},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{iconSrc:{since:"15.1",alias:"icon"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{onExecute:null,id:null,title:"",icon:"",visible:!0,disabled:!1,renderStage:"onViewShown"})},execute:function(){var e=this._options.disabled;if(o.isFunction(e)&&(e=!!e.apply(this,arguments)),e)throw a.Error("E3004",this._options.id);this.fireEvent("beforeExecute",arguments),this._createActionByOption("onExecute").apply(this,arguments),this.fireEvent("afterExecute",arguments)},_render:function(){this.callBase(),this.element().addClass("dx-command")},_renderDisabledState:o.noop,_dispose:function(){this.callBase(),this.element().removeData(this.NAME)}});r("dxCommand",l),i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(43),s=a.inherit({ctor:function(){this._commandMappings={},this._containerDefaults={}},setDefaults:function(e,t){return this._containerDefaults[e]=t,this},mapCommands:function(e,t){var n=this;return o.each(t,function(t,i){"string"==typeof i&&(i={id:i});var a=i.id,r=n._commandMappings[e]||{};
r[a]=o.extend({showIcon:!0,showText:!0},n._containerDefaults[e]||{},i),n._commandMappings[e]=r}),this._initExistingCommands(),this},unmapCommands:function(e,t){var n=this;o.each(t,function(t,i){var o=n._commandMappings[e]||{};o&&delete o[i]}),this._initExistingCommands()},getCommandMappingForContainer:function(e,t){return(this._commandMappings[t]||{})[e]},checkCommandsExist:function(e){var t=this,n=o.grep(e,function(n,i){return o.inArray(n,t._existingCommands)<0&&o.inArray(n,e)===i});if(0!==n.length)throw r.Error("E3005",n.join("', '"),1===n.length?" is":"s are")},load:function(e){if(e){var t=this;return o.each(e,function(e,n){t.setDefaults(e,n.defaults),t.mapCommands(e,n.commands)}),this}},_initExistingCommands:function(){var e=this;this._existingCommands=[],o.each(e._commandMappings,function(t,n){o.each(n,function(t,n){o.inArray(n.id,e._existingCommands)<0&&e._existingCommands.push(n.id)})})}});s.defaultMapping={"global-navigation":{defaults:{showIcon:!0,showText:!0},commands:[]},"ios-header-toolbar":{defaults:{showIcon:!1,showText:!0,location:"after"},commands:["edit","save",{id:"back",location:"before"},{id:"cancel",location:"before"},{id:"create",showIcon:!0,showText:!1}]},"ios-action-sheet":{defaults:{showIcon:!1,showText:!0},commands:[]},"ios-view-footer":{defaults:{showIcon:!1,showText:!0},commands:[{id:"delete",type:"danger"}]},"android-header-toolbar":{defaults:{showIcon:!0,showText:!1,location:"after"},commands:[{id:"back",showIcon:!1,location:"before"},"create",{id:"save",showText:!0,showIcon:!1,location:"after"},{id:"edit",showText:!1,location:"after"},{id:"cancel",showText:!1,location:"before"},{id:"delete",showText:!1,location:"after"}]},"android-simple-toolbar":{defaults:{showIcon:!0,showText:!1,location:"after"},commands:[{id:"back",showIcon:!1,location:"before"},{id:"create"},{id:"save",showText:!0,showIcon:!1,location:"after"},{id:"edit",showText:!1,location:"after"},{id:"cancel",showText:!1,location:"before"},{id:"delete",showText:!1,location:"after"}]},"android-footer-toolbar":{defaults:{location:"after"},commands:[{id:"create",showText:!1,location:"center"},{id:"edit",showText:!1,location:"before"},{id:"delete",locateInMenu:"always"},{id:"save",showIcon:!1,location:"before"}]},"generic-header-toolbar":{defaults:{showIcon:!1,showText:!0,location:"after"},commands:["edit","save",{id:"back",location:"before"},{id:"cancel",location:"before"},{id:"create",showIcon:!0,showText:!1}]},"generic-view-footer":{defaults:{showIcon:!1,showText:!0},commands:[{id:"delete",type:"danger"}]},"win8-appbar":{defaults:{location:"after"},commands:["edit","cancel","save","delete",{id:"create",location:"before"},{id:"refresh",location:"before"}]},"win8-toolbar":{defaults:{showText:!1,location:"before"},commands:[{id:"previousPage"}]},"win8-phone-appbar":{defaults:{location:"center"},commands:["create","edit","cancel","save","refresh",{id:"delete",locateInMenu:"always"}]},"win8-split-toolbar":{defaults:{showIcon:!0,showText:!1,location:"after"},commands:[{id:"back",showIcon:!1,location:"before"},{id:"create"},{id:"save",showText:!0,location:"before"},{id:"edit",showText:!0,locateInMenu:"always"},{id:"cancel",showText:!0,locateInMenu:"always"},{id:"delete",showText:!0,locateInMenu:"always"}]},"win8-master-detail-toolbar":{defaults:{showText:!1,location:"before"},commands:["back"]},"win10-appbar":{defaults:{showText:!1,location:"after"},commands:[{id:"back",location:"before"},"edit","cancel","save","delete","create","refresh"]},"win10-phone-appbar":{defaults:{location:"after"},commands:["create","edit","cancel","save","refresh",{id:"delete",locateInMenu:"always"}]},"desktop-toolbar":{defaults:{showIcon:!1,showText:!0,location:"after"},commands:["cancel","create","edit","save",{id:"delete",type:"danger"}]}},i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(144).MarkupComponent,r=n(3);n(81);var s=a.inherit({ctor:function(e,t){o.isPlainObject(e)&&(t=e,e=o("<div />")),this.callBase(e,t)},_setDefaultOptions:function(){this.callBase(),this.option({id:null})},_render:function(){this.callBase(),this.element().addClass("dx-command-container")}});r("dxCommandContainer",s),i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(80),l=n(105).layoutSets,c=n(32),d=n(43),u=n(11),h="__hidden-bag",p=".dx-transition:not(.dx-transition .dx-transition)",f=".dx-content",_="onViewShown",g="dxcontentrendered.layoutController",m=".dx-pending-rendering",v=".dx-pending-rendering-manual",x=n(84);n(142),n(44);var w=function(e){return".dx-transition-"+e},y=a.inherit({ctor:function(e){e=e||{},this.name=e.name||"",this._layoutModel=e.layoutModel||{},this._defaultPaneName=e.defaultPaneName||"content",this._transitionDuration=void 0===e.transitionDuration?400:e.transitionDuration,this._showViewFired=!1},init:function(e){e=e||{},this._visibleViews={},this._$viewPort=e.$viewPort||o("body"),this._commandManager=e.commandManager,this._viewEngine=e.viewEngine,this.transitionExecutor=new x.TransitionExecutor,this._prepareTemplates(),this._$viewPort.append(this.element()),this._hideElements(this.element()),e.templateContext&&(this._templateContext=e.templateContext,this._proxiedTemplateContextChangedHandler=o.proxy(this._templateContextChangedHandler,this))},ensureActive:function(e){return this._disabledState?this.enable():this.activate(e)},activate:function(){this._showViewFired=!1;var e=this.element();return this._showElements(e),this._attachRefreshViewRequiredHandler(),o.Deferred().resolve().promise()},deactivate:function(){return this._disabledState=!1,this._showViewFired=!1,this._releaseVisibleViews(),this._hideElements(this.element()),this._detachRefreshViewRequiredHandler(),o.Deferred().resolve().promise()},enable:function(){return this._disabledState=!1,this._showViewFired||this._notifyShowing(),this._showViewFired=!1,o.Deferred().resolve().promise()},disable:function(){this._disabledState=!0,this._showViewFired=!1,this._notifyHidden()},activeViewInfo:function(){return this._visibleViews[this._defaultPaneName]},_fireViewEvents:function(e){var t=this;o.each(this._visibleViews,function(n,i){t.fireEvent(e,[i])})},_notifyShowing:function(){this._fireViewEvents("viewShowing")},_notifyShown:function(){this._fireViewEvents("viewShown")},_notifyHidden:function(){this._fireViewEvents("viewHidden")},_applyTemplate:function(e,t){e.each(function(e,n){s.templateProvider.applyTemplate(n,t)})},_releaseVisibleViews:function(){var e=this;o.each(this._visibleViews,function(t,n){e._hideView(n),e._releaseView(n)}),this._visibleViews={}},_templateContextChangedHandler:function(){var e=this;o.when.apply(o,o.map(e._visibleViews,function(t){return e.showView(t)})).then(function(){e._notifyShown()})},_attachRefreshViewRequiredHandler:function(){this._templateContext&&this._templateContext.on("optionChanged",this._proxiedTemplateContextChangedHandler)},_detachRefreshViewRequiredHandler:function(){this._templateContextChanged&&this._templateContext.off("optionChanged",this._proxiedTemplateContextChangedHandler)},_getPreviousViewInfo:function(e){return this._visibleViews[this._getViewPaneName(e.viewTemplateInfo)]},_prepareTemplates:function(){var e=this,t=e._viewEngine.getLayoutTemplate(this._getLayoutTemplateName());e._$layoutTemplate=t,e._$mainLayout=e._createEmptyLayout(),e._showElements(e._$mainLayout),e._applyTemplate(e._$mainLayout,e._layoutModel),e._$navigationWidget=e._createNavigationWidget()},renderNavigation:function(e){this._clearNavigationWidget(),this._renderNavigationImpl(e)},_renderNavigationImpl:function(e){this._renderCommands(this._$mainLayout,e)},_createNavigationWidget:function(){var e,t=this._findCommandContainers(this._$mainLayout);return o.each(t,function(t,n){return"global-navigation"===n.option("id")?(e=n.element(),!1):void 0}),e},_clearNavigationWidget:function(){this._$navigationWidget&&this._commandManager.clearContainer(this._$navigationWidget.dxCommandContainer("instance"))},element:function(){return this._$mainLayout},_getViewFrame:function(e){return this._$mainLayout},_getLayoutTemplateName:function(){return this.name},_applyModelToTransitionElements:function(e,t){var n=this;this._getTransitionElements(e).each(function(e,i){n._applyTemplate(o(i).children(),t)})},_createViewLayoutTemplate:function(){var e=this,t=e._$layoutTemplate.clone();return this._hideElements(t),t},_createEmptyLayout:function(){var e=this,t=e._$layoutTemplate.clone();return this._hideElements(t),this._getTransitionElements(t).empty(),t.children(f).remove(),t},_getTransitionElements:function(e){return e.find(p).addBack(p)},showView:function(e,t){t=t||"forward";var n,i=this,a=i._getPreviousViewInfo(e),r=a===e?a.currentViewTemplateId:void 0;return this._showViewFired=!0,this._defineCurrentViewTemplateId(e),r&&r===e.currentViewTemplateId&&e===a?(i.fireEvent("viewShowing",[e,t]),n=o.Deferred().resolve().promise()):(i._ensureViewRendered(e),i.fireEvent("viewShowing",[e,t]),n=this._showViewImpl(e,t,r).done(function(){i._onViewShown(e)})),n},disposeView:function(e){this._clearRenderResult(e)},_clearRenderResult:function(e){e.renderResult&&(e.renderResult.$markup.remove(),e.renderResult.$viewItems.remove(),delete e.renderResult)},_renderViewImpl:function(e,t){var n,i=this,a=".dx-command,.dx-content,script",r=this._createViewLayoutTemplate(),s=!0,l=o();if(0===e.children(a).length&&this._viewEngine._wrapViewDefaultContent(e),n=e.children(),this._applyModelToTransitionElements(r,t.model),this._viewEngine.applyLayout(e,r),n.each(function(e,n){var r=o(n);i._applyTemplate(r,t.model),r.is(a)?s=!1:l=l.add(r)}),l.length&&!s)throw d.Error("E3014",l[0].outerHTML);t.renderResult=t.renderResult||{},t.renderResult.$viewItems=n,t.renderResult.$markup=r},_renderCommands:function(e,t){var n=this._findCommandContainers(e);return this._commandManager.renderCommandsToContainers(t,n)},_prepareViewCommands:function(e){var t=e.renderResult.$viewItems,n=this._commandManager.findCommands(t),i={};e.commands=s.utils.mergeCommands(e.commands||[],n),e.commandsToRenderMap=i,o.each(e.commands,function(e,t){var n=t.option("renderStage")||_,o=i[n]=i[n]||[];o.push(t)})},_applyViewCommands:function(e,t){t=t||_;var n,i=e.commandsToRenderMap[t],a=e.renderResult.$markup;return i?(n=this._renderCommands(a,i),delete e.commandsToRenderMap[t]):n=o.Deferred().resolve().promise(),n},_findCommandContainers:function(e){return u.createComponents(e,["dxCommandContainer"])},_defineCurrentViewTemplateId:function(e){var t=e.$viewTemplate?e.$viewTemplate.dxView("instance"):this._viewEngine.getViewTemplateInfo(e.viewName),n=t.getId();e.currentViewTemplateId=n},_ensureViewRendered:function(e){var t=e.renderResult&&e.renderResult.markupCache[e.currentViewTemplateId];t?e.renderResult.$markup=t:(this._renderView(e),e.renderResult.markupCache=e.renderResult.markupCache||{},e.renderResult.markupCache[e.currentViewTemplateId]=e.renderResult.$markup)},_renderView:function(e){var t=e.$viewTemplate||this._viewEngine.getViewTemplate(e.viewName);this._renderViewImpl(t,e),this._prepareViewCommands(e),this._applyViewCommands(e,"onViewRendering"),this._appendViewToLayout(e),t.remove(),this._onRenderComplete(e),this.fireEvent("viewRendered",[e])},_prepareTransition:function(e,t){0===e.children(".dx-content").length&&(e.wrapInner("<div>"),e.children().dxContent({targetPlaceholder:t}))},_appendViewToLayout:function(e){var t=this,n=t._getViewFrame(e),i=e.renderResult.$markup,a=o(),r=[];o.each(i.find(".dx-content-placeholder"),function(e,n){t._prepareTransition(o(n),o(n).attr("data-dx-content-placeholder-name"))}),o.each(t._getTransitionElements(n),function(e,n){var s=o(n),l=i.find(w(s.attr("data-dx-transition-name"))).children(),c={$element:l,animation:s.attr("data-dx-transition-type")};r.push(c),s.append(l),t._showViewElements(l),u.triggerShownEvent(l),a=a.add(l)}),t._$mainLayout.append(e.renderResult.$viewItems.filter(".dx-command")),i.remove(),e.renderResult.$markup=a,e.renderResult.animationItems=r},_onRenderComplete:function(e){},_onViewShown:function(e){o(document).trigger("dx.viewchanged")},_enter:function(e,t){var n=this.transitionExecutor;o.each(e,function(e,i){n.enter(i.$element,i.animation,t)})},_leave:function(e,t){var n=this.transitionExecutor;o.each(e,function(e,i){n.leave(i.$element,i.animation,t)})},_doTransition:function(e,t,n){return e&&this._leave(e.renderResult.animationItems,n),this._enter(t.renderResult.animationItems,n),this._showView(t),this.transitionExecutor.start()},_showViewImpl:function(e,t,n){var i,o=this,a=this._getPreviousViewInfo(e),r={direction:t};return a===e&&(a=void 0),a||(r.duration=0,r.delay=0),i=o._doTransition(a,e,r).then(function(){return o._changeView(e,n)})},_releaseView:function(e){this.fireEvent("viewReleased",[e])},_getReadyForRenderDeferredItems:function(e){return o.Deferred().resolve().promise()},_changeView:function(e,t){var n=this;if(t)n._hideView(e,t);else{var i=n._getPreviousViewInfo(e);i&&i!==e&&(n._hideView(i),n._releaseView(i)),this._visibleViews[this._getViewPaneName(e.viewTemplateInfo)]=e}return this._subscribeToDeferredItems(e),this._getReadyForRenderDeferredItems(e).then(function(){return n._applyViewCommands(e)}).then(function(){return n._renderDeferredItems(e.renderResult.$markup)})},_subscribeToDeferredItems:function(e){var t=this,n=e.renderResult.$markup;n.find(m).add(n.filter(m)).each(function(){var n={viewInfo:e,context:t};o(this).on(g,n,t._onDeferredContentRendered)})},_onDeferredContentRendered:function(e){var t=o(e.target),n=e.data.viewInfo,i=e.data.context;t.off(g,i._onDeferredContentRendered),i._renderCommands(t,n.commands)},_renderDeferredItems:function(e){var t=this,n=o.Deferred(),i=e.find(v).add(e.filter(v)).first();if(i.length){var a=i.data("dx-render-delegate");r.executeAsync(function(){a().then(function(){return t._renderDeferredItems(e)}).then(function(){n.resolve()})})}else n.resolve();return n.promise()},_getViewPaneName:function(e){return this._defaultPaneName},_hideElements:function(e){e.addClass("dx-fast-hidden")},_showElements:function(e){e.removeClass("dx-fast-hidden")},_hideViewElements:function(e){this._patchIDs(e),this._disableInputs(e),e.removeClass("dx-active-view").addClass("dx-inactive-view")},_hideView:function(e,t){if(e.renderResult){var n=void 0===t?e.renderResult.$markup:e.renderResult.markupCache[t];this._hideViewElements(n),this.fireEvent("viewHidden",[e])}},_showViewElements:function(e){this._unpatchIDs(e),this._enableInputs(e),e.removeClass("dx-inactive-view").addClass("dx-active-view"),this._skipAnimation(e)},_showView:function(e){e.renderResult&&this._showViewElements(e.renderResult.$markup)},_skipAnimation:function(e){e.addClass("dx-skip-animation");for(var t=0;t<e.length;t++)e.eq(t).css("transform");e.removeClass("dx-skip-animation")},_patchIDs:function(e){this._processIDs(e,function(e){var t=e;return-1===e.indexOf(h)&&(t=h+"-"+e),t})},_unpatchIDs:function(e){this._processIDs(e,function(e){var t=e;return 0===e.indexOf(h)&&(t=e.substr(h.length+1)),t})},_processIDs:function(e,t){var n=e.find("[id]");o.each(n,function(e,n){var i=o(n),a=i.attr("id");i.attr("id",t(a))})},_enableInputs:function(e){var t=e.find(":input[data-disabled=true]");o.each(t,function(e,t){o(t).removeAttr("disabled").removeAttr("data-disabled")})},_disableInputs:function(e){var t=e.find(":input:not([disabled], [disabled=true])");o.each(t,function(e,t){o(t).attr({disabled:!0,"data-disabled":!0})})}}).include(c);l.default=l.default||[],l.default.push({controller:new y}),t.DefaultLayoutController=y,t.layoutSets=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(137),s=a.inherit({ctor:function(e,t){this.NAME=this.constructor.publicName(),t=t||{},this._$element=o(e),r.attachInstanceToElement(this._$element,this.NAME,this,this._dispose),t.fromCache?this._options=t:(this._options={},this._setDefaultOptions(),t&&this.option(t),this._render())},_setDefaultOptions:o.noop,_render:o.noop,_dispose:o.noop,element:function(){return this._$element},option:function(e,t){if(0===arguments.length)return this._options;if(1===arguments.length){if("string"==typeof e)return this._options[e];t=e,o.extend(this._options,t)}else this._options[e]=t},instance:function(){return this}});s.publicName=r.getName,s.getInstance=function(e){return r.getInstanceByElement(e,this.publicName())},t.MarkupComponent=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(5),a=n(1),r=o.inherit({ctor:function(){this.storage={}},getItem:function(e){return this.storage[e]},setItem:function(e,t){this.storage[e]=t},removeItem:function(e){delete this.storage[e]}}),s=o.inherit({ctor:function(e){e=e||{},this.storage=e.storage||new r,this.stateSources=e.stateSources||[]},addStateSource:function(e){this.stateSources.push(e)},removeStateSource:function(e){var t=a.inArray(e,this.stateSources);t>-1&&(this.stateSources.splice(t,1),e.removeState(this.storage))},saveState:function(){var e=this;a.each(this.stateSources,function(t,n){n.saveState(e.storage)})},restoreState:function(){var e=this;a.each(this.stateSources,function(t,n){n.restoreState(e.storage)})},clearState:function(){var e=this;a.each(this.stateSources,function(t,n){n.removeState(e.storage)})}});i.exports=s,i.exports.MemoryKeyValueStorage=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){n.exports=window.angular.module("dx",["ngSanitize"])}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(82);var o=n(45),a=n(37),r=n(10);if(n(45),o&&o.formatNumber){var s={main:{en:{identity:{version:{_cldrVersion:"28",_number:"$Revision: 11972 $"},language:"en"},numbers:{defaultNumberingSystem:"latn",otherNumberingSystems:{"native":"latn"},minimumGroupingDigits:"1","symbols-numberSystem-latn":{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},"decimalFormats-numberSystem-latn":{standard:"#,##0.###","long":{decimalFormat:{"1000-count-one":"0 thousand","1000-count-other":"0 thousand","10000-count-one":"00 thousand","10000-count-other":"00 thousand","100000-count-one":"000 thousand","100000-count-other":"000 thousand","1000000-count-one":"0 million","1000000-count-other":"0 million","10000000-count-one":"00 million","10000000-count-other":"00 million","100000000-count-one":"000 million","100000000-count-other":"000 million","1000000000-count-one":"0 billion","1000000000-count-other":"0 billion","10000000000-count-one":"00 billion","10000000000-count-other":"00 billion","100000000000-count-one":"000 billion","100000000000-count-other":"000 billion","1000000000000-count-one":"0 trillion","1000000000000-count-other":"0 trillion","10000000000000-count-one":"00 trillion","10000000000000-count-other":"00 trillion","100000000000000-count-one":"000 trillion","100000000000000-count-other":"000 trillion"}},"short":{decimalFormat:{"1000-count-one":"0K","1000-count-other":"0K","10000-count-one":"00K","10000-count-other":"00K","100000-count-one":"000K","100000-count-other":"000K","1000000-count-one":"0M","1000000-count-other":"0M","10000000-count-one":"00M","10000000-count-other":"00M","100000000-count-one":"000M","100000000-count-other":"000M","1000000000-count-one":"0B","1000000000-count-other":"0B","10000000000-count-one":"00B","10000000000-count-other":"00B","100000000000-count-one":"000B","100000000000-count-other":"000B","1000000000000-count-one":"0T","1000000000000-count-other":"0T","10000000000000-count-one":"00T","10000000000000-count-other":"00T","100000000000000-count-one":"000T","100000000000000-count-other":"000T"}}},"scientificFormats-numberSystem-latn":{standard:"#E0"},"percentFormats-numberSystem-latn":{standard:"#,##0%"},"currencyFormats-numberSystem-latn":{currencySpacing:{beforeCurrency:{currencyMatch:"[:^S:]",surroundingMatch:"[:digit:]",insertBetween:" "},afterCurrency:{currencyMatch:"[:^S:]",surroundingMatch:"[:digit:]",insertBetween:" "}},standard:"¤#,##0.00",accounting:"¤#,##0.00;(¤#,##0.00)","short":{standard:{"1000-count-one":"¤0K","1000-count-other":"¤0K","10000-count-one":"¤00K","10000-count-other":"¤00K","100000-count-one":"¤000K","100000-count-other":"¤000K","1000000-count-one":"¤0M","1000000-count-other":"¤0M","10000000-count-one":"¤00M","10000000-count-other":"¤00M","100000000-count-one":"¤000M","100000000-count-other":"¤000M","1000000000-count-one":"¤0B","1000000000-count-other":"¤0B","10000000000-count-one":"¤00B","10000000000-count-other":"¤00B","100000000000-count-one":"¤000B","100000000000-count-other":"¤000B","1000000000000-count-one":"¤0T","1000000000000-count-other":"¤0T","10000000000000-count-one":"¤00T","10000000000000-count-other":"¤00T","100000000000000-count-one":"¤000T","100000000000000-count-other":"¤000T"}},"unitPattern-count-one":"{0} {1}","unitPattern-count-other":"{0} {1}"},"miscPatterns-numberSystem-latn":{atLeast:"{0}+",range:"{0}{1}"}}}}};o.load(s),o.locale("en");var l={},c=function(e){var t,n;return n="object"==typeof e?o.locale().locale+":"+JSON.stringify(e):o.locale().locale+":"+e,t=l[n],t||(t=l[n]=o.numberFormatter(e)),t},d={_formatNumberCore:function(e,t,n){return"exponential"===t?this.callBase.apply(this,arguments):c(this._normalizeFormatConfig(t,n,e))(e)},_normalizeFormatConfig:function(e,t,n){var i;return i="decimal"===e?{minimumIntegerDigits:t.precision||1,useGrouping:!1,maximumFractionDigits:0,round:0>n?"ceil":"floor"}:{minimumFractionDigits:t.precision,maximumFractionDigits:t.precision},"percent"===e&&(i.style="percent"),i},format:function(e,t){return"number"!=typeof e?e:(t=this._normalizeFormat(t),t&&("function"==typeof t||t.type||t.formatter)?this.callBase.apply(this,arguments):c(t)(e))},parse:function(e,t){return e?t&&t.parser?t.parser(e):(t&&r.log("W0011"),o.parseNumber(e)):void 0}};a.inject(d)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(3),s=n(2),l=n(17),c=n(21),d=n(6),u=n(28),h="dx-box",p=".dx-box",f="dx-box-item",_="dxBoxItemData",g=l.styleProp("flexGrow"),m=l.styleProp("flexShrink"),v=l.stylePropPrefix("flexDirection"),x={row:"minWidth",col:"minHeight"},w={row:"maxWidth",col:"maxHeight"},y=1,b={start:"flex-start",end:"flex-end",center:"center","space-between":"space-between","space-around":"space-around"},C={start:"flex-start",end:"flex-end",center:"center",stretch:"stretch"},k={row:"row",col:"column"},S=a.inherit({ctor:function(e,t){this._$element=e,this._option=t},renderBox:function(){this._$element.css({display:l.stylePropPrefix("flexDirection")+"flex",flexDirection:k[this._option("direction")]})},renderAlign:function(){this._$element.css({justifyContent:this._normalizedAlign()})},_normalizedAlign:function(){var e=this._option("align");return e in b?b[e]:e},renderCrossAlign:function(){this._$element.css({alignItems:this._normalizedCrossAlign()})},_normalizedCrossAlign:function(){var e=this._option("crossAlign");return e in C?C[e]:e},renderItems:function(e){var t=this._option("direction");o.each(e,function(){var e=o(this),n=e.data(_);e.css({display:v+"flex",flexBasis:n.baseSize||0}).css(w[t],n.maxSize||"none").css(x[t],n.minSize||"0");var i=e.get(0).style;i[g]=n.ratio,i[m]=s.isDefined(n.shrink)?n.shrink:y,e.children().each(function(t,n){o(n).css({width:"auto",height:"auto",display:l.stylePropPrefix("flexDirection")+"flex",flexDirection:e.children().css("flexDirection")||"column"}),n.style[g]=1})})},initSize:o.noop,update:o.noop}),T="dxBox",I="dxupdate."+T,D="dx-box-fallback-item",E={row:"nowrap",col:"normal"},A={row:"width",col:"height"},B={row:"height",col:"width"},M={row:"marginLeft",col:"marginTop"},O={row:"marginRight",col:"marginBottom"},P={row:"marginTop",col:"marginLeft"},R={row:"marginBottom",col:"marginRight"},V={marginLeft:"marginRight",marginRight:"marginLeft"},F=a.inherit({ctor:function(e,t){this._$element=e,this._option=t},renderBox:function(){this._$element.css({fontSize:0,whiteSpace:E[this._option("direction")],verticalAlign:"top"}),this._$element.off(I).on(I,o.proxy(this.update,this))},renderAlign:function(){var e=this._$items;if(e){var t=this._option("align"),n=0,i=this.totalItemSize,o=this._option("direction"),a=this._$element[A[o]](),r=a-i;switch(this._setItemsMargins(e,o,0),t){case"start":break;case"end":n=r,e.first().css(this._chooseMarginSide(M[o]),n);break;case"center":n=.5*r,e.first().css(this._chooseMarginSide(M[o]),n),e.last().css(this._chooseMarginSide(O[o]),n);break;case"space-between":n=.5*r/(e.length-1),this._setItemsMargins(e,o,n),e.first().css(this._chooseMarginSide(M[o]),0),e.last().css(this._chooseMarginSide(O[o]),0);break;case"space-around":n=.5*r/e.length,this._setItemsMargins(e,o,n)}}},_setItemsMargins:function(e,t,n){e.css(this._chooseMarginSide(M[t]),n).css(this._chooseMarginSide(O[t]),n)},renderCrossAlign:function(){var e=this._$items;if(e){var t=this._option("crossAlign"),n=this._option("direction"),i=this._$element[B[n]](),a=this;switch(t){case"start":break;case"end":o.each(e,function(){var e=o(this),t=e[B[n]](),r=i-t;e.css(a._chooseMarginSide(P[n]),r)});break;case"center":o.each(e,function(){var e=o(this),t=e[B[n]](),r=.5*(i-t);e.css(a._chooseMarginSide(P[n]),r).css(a._chooseMarginSide(R[n]),r)});break;case"stretch":e.css(a._chooseMarginSide(P[n]),0).css(a._chooseMarginSide(R[n]),0).css(B[n],"100%")}}},_chooseMarginSide:function(e){return this._option("rtlEnabled")?V[e]||e:e},renderItems:function(e){this._$items=e;var t=this._option("direction"),n=0,i=0,a=0;o.each(e,o.proxy(function(e,r){var l=o(r);l.css({display:"inline-block",verticalAlign:"top"}),l[A[t]]("auto"),l.removeClass(D);var c=l.data(_),d=c.ratio||0,u=this._baseSize(l),h=s.isDefined(c.shrink)?c.shrink:y;n+=d,i+=h*u,a+=u},this));var r=this._boxSize()-a,l=o.proxy(function(e){var t=e.data(_),o=this._baseSize(e),a=r>=0?t.ratio||0:(s.isDefined(t.shrink)?t.shrink:y)*o,l=r>=0?n:i,c=l?Math.round(r*a/l):0;return o+c},this),c=0;o.each(e,function(e,n){var i=o(n),a=o(n).data(_),r=l(i);c+=r,i.css(w[t],a.maxSize||"none").css(x[t],a.minSize||"0").css(A[t],r),i.addClass(D)}),this.totalItemSize=c},_baseSize:function(e){var t=o(e).data(_);return null==t.baseSize?0:"auto"===t.baseSize?this._contentSize(e):this._parseSize(t.baseSize)},_contentSize:function(e){return o(e)[A[this._option("direction")]]()},_parseSize:function(e){return String(e).match(/.+%$/)?.01*parseFloat(e)*this._boxSizeValue:e},_boxSize:function(e){return arguments.length?void(this._boxSizeValue=e):(this._boxSizeValue=this._boxSizeValue||this._totalBaseSize(),this._boxSizeValue)},_totalBaseSize:function(){var e=0;return o.each(this._$items,o.proxy(function(t,n){e+=this._baseSize(n)},this)),e},initSize:function(){this._boxSize(this._$element[A[this._option("direction")]]())},update:function(){if(this._$items&&!this._$element.is(":hidden")){this._$items.detach(),this.initSize(),this._$element.append(this._$items),this.renderItems(this._$items),this.renderAlign(),this.renderCrossAlign();var e=this._$element.get(0);this._$items.find(p).each(function(){e===o(this).parent().closest(p).get(0)&&o(this).triggerHandler(I)})}}}),L=u.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{direction:"row",align:"start",crossAlign:"stretch",activeStateEnabled:!1,focusStateEnabled:!1,_layoutStrategy:"flex",_queue:void 0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){var e=d.real(),t="android"===e.platform&&(e.version[0]<4||4===e.version[0]&&e.version[1]<4),n="ios"===e.platform&&e.version[0]<7;return"win"===e.platform||c.msie||t||n},options:{_layoutStrategy:"fallback"}}])},_itemClass:function(){return f},_itemDataKey:function(){return _},_itemElements:function(){return this._itemContainer().children(this._itemSelector())},_init:function(){this.callBase(),this.element().addClass(h+"-"+this.option("_layoutStrategy")),this._initLayout(),this._initBoxQueue()},_initLayout:function(){this._layout="fallback"===this.option("_layoutStrategy")?new F(this.element(),o.proxy(this.option,this)):new S(this.element(),o.proxy(this.option,this))},_initBoxQueue:function(){this._queue=this.option("_queue")||[]},_queueIsNotEmpty:function(){return this.option("_queue")?!1:!!this._queue.length},_pushItemToQueue:function(e,t){this._queue.push({$item:e,config:t})},_shiftItemFromQueue:function(){return this._queue.shift()},_render:function(){this.callBase(),this.element().addClass(h),this._renderBox()},_renderBox:function(){this._layout.renderBox(),this._layout.renderAlign(),this._layout.renderCrossAlign()},_renderItems:function(e){for(this._layout.initSize(),this.callBase(e);this._queueIsNotEmpty();){var t=this._shiftItemFromQueue();this._createComponent(t.$item,L,o.extend({_layoutStrategy:this.option("_layoutStrategy"),itemTemplate:this.option("itemTemplate"),itemHoldTimeout:this.option("itemHoldTimeout"),onItemHold:this.option("onItemHold"),onItemClick:this.option("onItemClick"),onItemContextMenu:this.option("onItemContextMenu"),onItemRendered:this.option("onItemRendered"),_queue:this._queue},t.config))}this._layout.renderItems(this._itemElements()),clearTimeout(this._updateTimer),this._updateTimer=setTimeout(o.proxy(function(){this._isUpdated||this._layout.update(),this._isUpdated=!1,this._updateTimer=null},this))},_renderItemContent:function(e){var t=e.itemData&&e.itemData.node;return t?this._renderItemContentByNode(e,t):this.callBase(e)},_postprocessRenderItem:function(e){var t=e.itemData.box;t&&this._pushItemToQueue(e.itemContent,t)},_createItemByTemplate:function(e,t){return t.itemData.box?e.source():this.callBase(e,t)},_visibilityChanged:function(e){e&&this._dimensionChanged()},_dimensionChanged:function(){this._updateTimer||(this._isUpdated=!0,this._layout.update())},_dispose:function(){clearTimeout(this._updateTimer),this.callBase.apply(this,arguments)},_optionChanged:function(e){switch(e.name){case"_layoutStrategy":case"_queue":case"direction":this._invalidate();break;case"align":this._layout.renderAlign();break;case"crossAlign":this._layout.renderCrossAlign();break;default:this.callBase(e)}},repaint:function(){this._dimensionChanged()}});r("dxBox",L),i.exports=L}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(14),s=a.abstract,l=a.inherit({ctor:function(e){this.dateBox=e},widgetOption:function(){return this._widget&&this._widget.option.apply(this._widget,arguments)},_renderWidget:function(e){e=e||o("<div>"),this._widget=this._createWidget(e),this._widget.element().appendTo(this._getWidgetContainer())},_createWidget:function(e){var t=this._getWidgetName(),n=this._getWidgetOptions();return this.dateBox._createComponent(e,t,n)},_getWidgetOptions:s,_getWidgetName:s,getDefaultOptions:function(){return{mode:"text"}},getDisplayFormat:s,supportedKeys:o.noop,attachKeyboardEvents:function(e){this._widgetKeyboardProcessor=e.attachChildProcessor()},getParsedText:function(e,t){return r.parse(e,t)},renderInputMinMax:o.noop,renderOpenedState:function(){this.dateBox.option("opened")&&this._updateValue()},popupConfig:s,renderPopupContent:function(){var e=this._getPopup();this._renderWidget(),e.content().parent().off("mousedown").on("mousedown",o.proxy(this._preventFocusOnPopup,this))},getFirstPopupElement:o.noop,getLastPopupElement:o.noop,_preventFocusOnPopup:function(e){e.preventDefault()},_getWidgetContainer:function(){return this._getPopup().content()},_getPopup:function(){return this.dateBox._popup},popupShowingHandler:o.noop,popupHiddenHandler:o.noop,_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue())},_valueChangedHandler:function(e){this.dateBox.option("opened")&&"instantly"===this.dateBox.option("applyValueMode")&&this.dateBoxValue(e.value)},textChangedHandler:o.noop,renderValue:function(){this.dateBox.option("opened")&&this._updateValue()},getValue:function(){return this._widget.option("value")},isAdaptivityChanged:function(){return!1},dispose:function(){var e=this._getPopup();
e&&e.content().empty()},dateBoxValue:function(){var e=["value"];return arguments.length&&e.push(arguments[0]),this.dateBox.dateOption.apply(this.dateBox,e)}});i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(33),r=n(3),s=n(2),l=n(19),c=n(66),d=n(8),u=n(6),h=n(25),p=n(4),f=n(94),_=n(9),g=n(54),m="dx-dropdowneditor",v="dx-dropdowneditor-input-wrapper",x="dx-dropdowneditor-button",w="dx-dropdowneditor-icon",y="dx-dropdowneditor-overlay",b="dx-dropdowneditor-overlay-flipped",C="dx-dropdowneditor-active",k="dx-dropdowneditor-button-visible",S="dx-dropdowneditor-field-clickable",T=f.inherit({_supportedKeys:function(){return o.extend({},this.callBase(),{tab:function(e){if(this.option("opened")){if("instantly"===this.option("applyValueMode"))return void this.close();var t=e.shiftKey?this._getLastPopupElement():this._getFirstPopupElement();t&&t.focus(),e.preventDefault()}},escape:function(e){this.option("opened")&&e.preventDefault(),this.close()},upArrow:function(e){return e.preventDefault(),e.stopPropagation(),e.altKey?(this.close(),!1):!0},downArrow:function(e){return e.preventDefault(),e.stopPropagation(),e.altKey?(this._validatedOpening(),!1):!0},enter:function(e){return this.option("opened")&&(e.preventDefault(),this._valueChangeEventHandler(e)),!0}})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{fieldEditEnabled:{since:"16.1",alias:"acceptCustomValue"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{value:null,onOpened:null,onClosed:null,opened:!1,acceptCustomValue:!0,applyValueMode:"instantly",deferRendering:!0,activeStateEnabled:!0,fieldTemplate:null,contentTemplate:null,openOnFieldClick:!1,showDropButton:!0,popupPosition:this._getDefaultPopupPosition(),onPopupInitialized:null,applyButtonText:d.format("OK"),cancelButtonText:d.format("Cancel"),buttonsLocation:"default",showPopupTitle:!1})},_getDefaultPopupPosition:function(){var e=s.getDefaultAlignment(this.option("rtlEnabled"));return{offset:{h:0,v:-1},my:e+" top",at:e+" bottom",collision:"flip flip"}},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){var t="generic"===e.platform,n="win"===e.platform&&e.version&&10===e.version[0];return t||n},options:{popupPosition:{offset:{v:0}}}}])},_inputWrapper:function(){return this.element().find("."+v)},_init:function(){this.callBase(),this._initVisibilityActions(),this._initPopupInitializedAction()},_initVisibilityActions:function(){this._openAction=this._createActionByOption("onOpened",{excludeValidators:["disabled","readOnly"]}),this._closeAction=this._createActionByOption("onClosed",{excludeValidators:["disabled","readOnly"]})},_initPopupInitializedAction:function(){this._popupInitializedAction=this._createActionByOption("onPopupInitialized",{excludeValidators:["disabled","readOnly","designMode"]})},_render:function(){this.callBase(),this._renderOpenHandler(),this.element().addClass(m),this._renderOpenedState(),this.setAria("role","combobox")},_renderContentImpl:function(){this.option("deferRendering")||this._createPopup()},_renderInput:function(){this.callBase(),this.element().wrapInner(o("<div>").addClass(v)),this._$container=this.element().children().eq(0),this.setAria({haspopup:"true",autocomplete:"list"})},_readOnlyPropValue:function(){return!this.option("acceptCustomValue")||this.callBase()},_cleanFocusState:function(){this.callBase(),this.option("fieldTemplate")&&this._input().off("focusin focusout beforeactivate")},_renderField:function(){var e=this._getTemplateByOption("fieldTemplate");e&&this.option("fieldTemplate")&&this._renderTemplatedField(e,this._fieldRenderData())},_renderTemplatedField:function(e,t){var n=this._input().is(":focus");this._resetFocus(n);var i=this._$container;if(i.empty(),this._$dropButton=null,this._$clearButton=null,e.render(t,i),!this._input().length)throw l.Error("E1010");this._refreshEvents(),this._refreshValueChangeEvent(),n&&this._input().focus(),this._renderFocusState()},_resetFocus:function(e){this._cleanFocusState(),e&&this._input().focusout()},_fieldRenderData:function(){return this.option("value")},_renderInputAddons:function(){this._renderField(),this.callBase(),this._renderDropButton()},_renderDropButton:function(){var e=this.option("showDropButton");return this.element().toggleClass(k,e),e?(this._$dropButton||(this._$dropButton=this._createDropButton().addClass(x)),void this._$dropButton.prependTo(this._buttonsContainer())):(this._$dropButton&&this._$dropButton.remove(),void(this._$dropButton=null))},_createDropButton:function(){var e=o("<div>");this._createComponent(e,h,{focusStateEnabled:!1,disabled:this.option("readOnly"),_templates:{},useInkRipple:!1});var t=o("<div>").addClass(w);return e.append(t).removeClass("dx-button").on("mousedown",function(e){e.preventDefault()}),e.find(".dx-button-content").remove(),e},_renderOpenHandler:function(){var e=this.element().find("."+v),t=p.addNamespace(_.name,this.NAME);e.off(t);var n=this.option("openOnFieldClick");return this.element().toggleClass(S,n),n?void e.on(t,o.proxy(this._openHandler,this)):void(this.option("showDropButton")&&this._$dropButton.dxButton("option","onClick",o.proxy(this._openHandler,this)))},_openHandler:function(){this._toggleOpenState()},_keyboardEventBindingTarget:function(){return this._input()},_toggleOpenState:function(e){this.option("disabled")||(this._needFocusOnButtonClick()&&this._input().focus(),this.option("readOnly")||(e=arguments.length?e:!this.option("opened"),this.option("opened",e)))},_needFocusOnButtonClick:function(){return"desktop"===u.real().deviceType},_renderOpenedState:function(){var e=this.option("opened");e&&this._createPopup(),this.element().toggleClass(C,e),this._setPopupOption("visible",e),this.setAria({expanded:e,owns:(e||void 0)&&this._popupContentId})},_createPopup:function(){this._$popup||(this._$popup=o("<div>").addClass(y).addClass(this.option("customOverlayCssClass")).appendTo(this.element()),this._renderPopup(),this._renderPopupContent())},_renderPopup:function(){this._popup=this._createComponent(this._$popup,g,this._popupConfig()),this._popup.on({showing:o.proxy(this._popupShowingHandler,this),shown:o.proxy(this._popupShownHandler,this),hiding:o.proxy(this._popupHidingHandler,this),hidden:o.proxy(this._popupHiddenHandler,this)}),this._popup.option("onContentReady",o.proxy(this._contentReadyHandler,this)),this._contentReadyHandler(),this._popupContentId=new a,this.setAria("id",this._popupContentId,this._popup.content())},_contentReadyHandler:o.noop,_popupConfig:function(){return{onInitialized:this._popupInitializedHandler(),position:o.extend(this.option("popupPosition"),{of:this.element()}),showTitle:this.option("showPopupTitle"),width:"auto",height:"auto",shading:!1,closeOnTargetScroll:!0,closeOnOutsideClick:o.proxy(this._closeOutsideDropDownHandler,this),animation:{show:{type:"fade",duration:0,from:0,to:1},hide:{type:"fade",duration:400,from:1,to:0}},deferRendering:!1,focusStateEnabled:!1,showCloseButton:!1,toolbarItems:this._getPopupToolbarItems(),onPositioned:o.proxy(this._popupPositionedHandler,this),fullScreen:!1}},_popupInitializedHandler:function(){return this.option("onPopupInitialized")?o.proxy(function(e){this._popupInitializedAction({popup:e.component})},this):void 0},_popupPositionedHandler:function(e){this._popup.overlayContent().toggleClass(b,e.position.v.flip)},_popupShowingHandler:o.noop,_popupHidingHandler:function(){this.option("opened",!1)},_popupShownHandler:function(){this._openAction(),this._$validationMessage&&this._$validationMessage.dxOverlay("option","position",this._getValidationMessagePosition())},_popupHiddenHandler:function(){this._closeAction(),this._$validationMessage&&this._$validationMessage.dxOverlay("option","position",this._getValidationMessagePosition())},_getValidationMessagePosition:function(){var e="below";if(this._popup&&this._popup.option("visible")){var t=c.setup(this.element()).top,n=c.setup(this._popup.content()).top;e=t+this.option("popupPosition").offset.v>n?"below":"above"}return this.callBase(e)},_renderPopupContent:function(){var e=this._getTemplateByOption("contentTemplate");if(e&&this.option("contentTemplate")){var t=this._popup.content();t.empty(),e.render(t)}},_closeOutsideDropDownHandler:function(e){var t=o(e.target),n=!!t.closest(this.element()).length,i=!!t.closest(this._$dropButton).length,a=!n&&!i;return a},_clean:function(){delete this._$dropButton,this._$popup&&(this._$popup.remove(),delete this._$popup,delete this._popup),this.callBase()},_setPopupOption:function(e,t){this._setWidgetOption("_popup",arguments)},_validatedOpening:function(){this.option("readOnly")||this._toggleOpenState(!0)},_getPopupToolbarItems:function(){return"useButtons"===this.option("applyValueMode")?this._popupToolbarItemsConfig():[]},_getFirstPopupElement:function(){return this._popup._wrapper().find(".dx-popup-done.dx-button")},_getLastPopupElement:function(){return this._popup._wrapper().find(".dx-popup-cancel.dx-button")},_popupElementTabHandler:function(e){var t=o(e.currentTarget);(e.shiftKey&&t.is(this._getFirstPopupElement())||!e.shiftKey&&t.is(this._getLastPopupElement()))&&(this._input().focus(),e.preventDefault())},_popupElementEscHandler:function(e){this._input().focus(),this.close()},_popupButtonInitializedHandler:function(e){e.component.registerKeyHandler("tab",o.proxy(this._popupElementTabHandler,this)),e.component.registerKeyHandler("escape",o.proxy(this._popupElementEscHandler,this))},_popupToolbarItemsConfig:function(){var e=[{shortcut:"done",options:{onClick:o.proxy(this._applyButtonHandler,this),text:this.option("applyButtonText"),onInitialized:o.proxy(this._popupButtonInitializedHandler,this)}},{shortcut:"cancel",options:{onClick:o.proxy(this._cancelButtonHandler,this),text:this.option("cancelButtonText"),onInitialized:o.proxy(this._popupButtonInitializedHandler,this)}}];return this._applyButtonsLocation(e)},_applyButtonsLocation:function(e){var t=this.option("buttonsLocation"),n=e;if("default"!==t){var i=s.splitPair(t);o.each(n,function(e,t){o.extend(t,{toolbar:i[0],location:i[1]})})}return n},_applyButtonHandler:function(){this.close(),this.option("focusStateEnabled")&&this.focus()},_cancelButtonHandler:function(){this.close(),this.option("focusStateEnabled")&&this.focus()},_toggleReadOnlyState:function(){this.callBase(),this._$dropButton&&this._$dropButton.dxButton("option","disabled",this.option("readOnly"))},_optionChanged:function(e){switch(e.name){case"opened":this._renderOpenedState();break;case"onOpened":case"onClosed":this._initVisibilityActions();break;case"onPopupInitialized":this._initPopupInitializedAction();break;case"fieldTemplate":this._renderInputAddons();break;case"showDropButton":case"contentTemplate":case"acceptCustomValue":case"openOnFieldClick":this._invalidate();break;case"popupPosition":case"deferRendering":break;case"applyValueMode":case"applyButtonText":case"cancelButtonText":case"buttonsLocation":this._setPopupOption("toolbarItems",this._getPopupToolbarItems());break;case"showPopupTitle":this._setPopupOption("showTitle",e.value);break;default:this.callBase(e)}},open:function(){this.option("opened",!0)},close:function(){this.option("opened",!1)},reset:function(){this.option("value",null)},field:function(){return this._input()},content:function(){return this._popup?this._popup.content():null}});r("dxDropDownEditor",T),i.exports=T}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(16).compileGetter,s=n(9),l=n(89),c=n(17),d=n(8),u=n(48),h=n(6),p=n(25),f=n(4),_=n(23),g=n(182),m=n(73).deviceDependentOptions,v=n(28),x="dx-list",w="dx-list-item",y="."+w,b="dx-list-group",C="dx-list-group-header",k="dx-list-group-body",S="dx-list-collapsible-groups",T="dx-list-group-collapsed",I="dx-has-next",D="dx-list-next-button",E="dxListItemData",A=70,B=r("items"),M=v.inherit({_activeStateUnit:y,_supportedKeys:function(){var e=this,t=function(t){var o=n(t),a=o.is(e.option("focusedElement"));a&&(i(o,t),o=n(t)),e.option("focusedElement",o),e.scrollToItem(o)},n=function(t){var n=e.scrollTop(),i=e.element().height(),a=e.option("focusedElement"),r=!0;if(!a)return o();for(;r;){var s=a[t]();if(!s.length)break;var l=s.position().top+s.outerHeight()/2;r=i+n>l&&l>n,r&&(a=s)}return a},i=function(t,n){var i=t.position().top;"prev"===n&&(i=t.position().top-e.element().height()+t.outerHeight()),e.scrollTo(i)};return o.extend(this.callBase(),{leftArrow:o.noop,rightArrow:o.noop,pageUp:function(){return t("prev"),!1},pageDown:function(){return t("next"),!1}})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{autoPagingEnabled:{since:"15.1",message:"Use the 'pageLoadMode' option instead"},showNextButton:{since:"15.1",message:"Use the 'pageLoadMode' option instead"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,pullRefreshEnabled:!1,scrollingEnabled:!0,showScrollbar:"onScroll",useNativeScrolling:!0,bounceEnabled:!0,scrollByContent:!0,scrollByThumb:!1,pullingDownText:d.format("dxList-pullingDownText"),pulledDownText:d.format("dxList-pulledDownText"),refreshingText:d.format("dxList-refreshingText"),pageLoadingText:d.format("dxList-pageLoadingText"),onScroll:null,onPullRefresh:null,onPageLoading:null,pageLoadMode:"scrollBottom",nextButtonText:d.format("dxList-nextButtonText"),onItemSwipe:null,grouped:!1,onGroupRendered:null,collapsibleGroups:!1,groupTemplate:"group",indicateLoading:!0,activeStateEnabled:!0,_itemAttributes:{role:"option"},useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat(m(),[{device:function(e){return!c.nativeScrolling},options:{useNativeScrolling:!1}},{device:function(e){return!c.nativeScrolling&&!h.isSimulator()&&"generic"===h.real().platform&&"generic"===e.platform},options:{showScrollbar:"onHover",pageLoadMode:"nextButton"}},{device:function(e){return"desktop"===h.real().deviceType&&!h.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(_.current())},options:{useInkRipple:!0}},{device:function(e){return"win"===h.current().platform&&h.isSimulator()},options:{bounceEnabled:!1}}])},_visibilityChanged:function(e){e&&this._updateLoadingState(!0)},_itemClass:function(){return w},_itemDataKey:function(){return E},_itemContainer:function(){return this._$container},_itemElements:function(){return this.option("grouped")?this._itemContainer().children("."+b).children("."+k).children(this._itemSelector()):this._itemContainer().children(this._itemSelector())},_itemSelectHandler:function(e){"single"===this.option("selectionMode")&&this.isItemSelected(e.currentTarget)||this.callBase(e)},_allowDynamicItemsAppend:function(){return!0},_init:function(){this.callBase(),this._$container=this.element(),this._initScrollView(),this._feedbackShowTimeout=A,this._createGroupRenderAction(),this.setAria("role","listbox")},_dataSourceOptions:function(){this._suppressDeprecatedWarnings();var e=this.option("autoPagingEnabled");return e=a.isDefined(this.option("showNextButton"))?e||this.option("showNextButton"):e,this._resumeDeprecatedWarnings(),o.extend(this.callBase(),{paginate:a.isDefined(e)?e:!0})},_initScrollView:function(){this._suppressDeprecatedWarnings();var e=this.option("scrollingEnabled"),t=e&&this.option("pullRefreshEnabled"),n=e&&a.ensureDefined(this.option("autoPagingEnabled"),"scrollBottom"===this.option("pageLoadMode"))&&!!this._dataSource;this._resumeDeprecatedWarnings(),this._scrollView=this._createComponent(this.element(),g.ScrollView,{disabled:this.option("disabled")||!e,onScroll:o.proxy(this._scrollHandler,this),onPullDown:t?o.proxy(this._pullDownHandler,this):null,onReachBottom:n?o.proxy(this._scrollBottomHandler,this):null,showScrollbar:this.option("showScrollbar"),useNative:this.option("useNativeScrolling"),bounceEnabled:this.option("bounceEnabled"),scrollByContent:this.option("scrollByContent"),scrollByThumb:this.option("scrollByThumb"),pullingDownText:this.option("pullingDownText"),pulledDownText:this.option("pulledDownText"),refreshingText:this.option("refreshingText"),reachBottomText:this.option("pageLoadingText"),useKeyboard:!1}),this._$container=this._scrollView.content(),this._createScrollViewActions()},_createScrollViewActions:function(){this._scrollAction=this._createActionByOption("onScroll"),this._pullRefreshAction=this._createActionByOption("onPullRefresh"),this._pageLoadingAction=this._createActionByOption("onPageLoading")},_scrollHandler:function(e){this._scrollAction(e)},_updateLoadingState:function(e){this._suppressDeprecatedWarnings();var t=!e||this._isLastPage(),n=a.ensureDefined(this.option("autoPagingEnabled"),"scrollBottom"===this.option("pageLoadMode")),i=t||!n,o=i&&!this._isDataSourceLoading();this._resumeDeprecatedWarnings(),i||this._scrollViewIsFull()?(this._scrollView.release(o),this._toggleNextButton(this._shouldRenderNextButton()&&!t),this._loadIndicationSuppressed(!1)):this._infiniteDataLoading()},_shouldRenderNextButton:function(){this._suppressDeprecatedWarnings();var e=a.ensureDefined(this.option("showNextButton"),"nextButton"===this.option("pageLoadMode"))&&this._dataSource&&this._dataSource.isLoaded();return this._resumeDeprecatedWarnings(),e},_dataSourceLoadingChangedHandler:function(e){this._loadIndicationSuppressed()||(e&&this.option("indicateLoading")?this._showLoadingIndicatorTimer=setTimeout(o.proxy(function(){var e=!this._itemElements().length;this._scrollView&&!e&&this._scrollView.startLoading()},this)):(clearTimeout(this._showLoadingIndicatorTimer),this._scrollView&&this._scrollView.finishLoading()))},_dataSourceChangedHandler:function(e){this._shouldAppendItems()||this._scrollView&&this._scrollView.scrollTo(0),this.callBase(e)},_hideLoadingIfLoadIndicationOff:function(){this.option("indicateLoading")||this._dataSourceLoadingChangedHandler(!1)},_loadIndicationSuppressed:function(e){return arguments.length?void(this._isLoadIndicationSuppressed=e):this._isLoadIndicationSuppressed},_scrollViewIsFull:function(){return!this._scrollView||this._scrollView.isFull()},_pullDownHandler:function(e){this._pullRefreshAction(e),this._dataSource&&!this._isDataSourceLoading()?(this._clearSelectedItems(),this._dataSource.pageIndex(0),this._dataSource.load()):this._updateLoadingState()},_infiniteDataLoading:function(){var e=this.element().is(":visible");!e||this._scrollViewIsFull()||this._isDataSourceLoading()||this._isLastPage()||(clearTimeout(this._loadNextPageTimer),this._loadNextPageTimer=setTimeout(o.proxy(this._loadNextPage,this)))},_scrollBottomHandler:function(e){this._pageLoadingAction(e),this._isDataSourceLoading()?this._updateLoadingState():this._loadNextPage()},_renderItems:function(e){this.option("grouped")?(o.each(e,o.proxy(this._renderGroup,this)),this._attachGroupCollapseEvent(),this._renderEmptyMessage()):this.callBase.apply(this,arguments),this._updateLoadingState(!0)},_attachGroupCollapseEvent:function(){var e=f.addNamespace(s.name,this.NAME),t="."+C,n=this.element(),i=this.option("collapsibleGroups");n.toggleClass(S,i),n.off(e,t),i&&n.on(e,t,o.proxy(function(e){this._createAction(o.proxy(function(e){var t=o(e.jQueryEvent.currentTarget).parent();this._collapseGroupHandler(t),this.option("focusStateEnabled")&&this.option("focusedElement",t.find("."+w).eq(0))},this),{validatingTargetName:"element"})({jQueryEvent:e})},this))},_collapseGroupHandler:function(e,t){var n=o.Deferred(),i=e.children("."+k);e.toggleClass(T,t);var a="slideToggle";return t===!0&&(a="slideUp"),t===!1&&(a="slideDown"),i[a]({duration:200,complete:o.proxy(function(){this.updateDimensions(),this._updateLoadingState(!0),n.resolve()},this)}),n.promise()},_dataSourceLoadErrorHandler:function(){this._forgetNextPageLoading(),this._initialized&&(this._renderEmptyMessage(),this._updateLoadingState())},_render:function(){this.element().addClass(x),this.callBase(),this.option("useInkRipple")&&this._renderInkRipple()},_renderInkRipple:function(){this._inkRipple=u.render()},_toggleActiveState:function(e,t,n){if(this.callBase.apply(this,arguments),this._inkRipple){var i={element:e,jQueryEvent:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}},_postprocessRenderItem:function(e){this.callBase.apply(this,arguments),this.option("onItemSwipe")&&this._attachSwipeEvent(o(e.itemElement))},_attachSwipeEvent:function(e){var t=f.addNamespace(l.end,this.NAME);e.on(t,o.proxy(this._itemSwipeEndHandler,this))},_itemSwipeEndHandler:function(e){this._itemJQueryEventHandler(e,"onItemSwipe",{direction:e.offset<0?"left":"right"})},_nextButtonHandler:function(){var e=this._dataSource;e&&!e.isLoading()&&(this._scrollView.toggleLoading(!0),this._$nextButton.detach(),this._loadIndicationSuppressed(!0),this._loadNextPage())},_renderGroup:function(e,t){var n=o("<div>").addClass(b).appendTo(this._itemContainer()),i=o("<div>").addClass(C).appendTo(n),a=this.option("groupTemplate"),r=this._getTemplate(t.template||a,t,e,i),s={index:e,itemData:t,container:i};this._createItemByTemplate(r,s),this._renderingGroupIndex=e;var l=o("<div>").addClass(k).appendTo(n);o.each(B(t)||[],o.proxy(function(e,t){this._renderItem(e,t,l)},this)),this._groupRenderAction({groupElement:n,groupIndex:e,groupData:t})},_createGroupRenderAction:function(){this._groupRenderAction=this._createActionByOption("onGroupRendered")},_clean:function(){this._$nextButton&&(this._$nextButton.remove(),this._$nextButton=null),this.callBase.apply(this,arguments)},_dispose:function(){clearTimeout(this._holdTimer),clearTimeout(this._loadNextPageTimer),clearTimeout(this._showLoadingIndicatorTimer),this.callBase()},_toggleDisabledState:function(e){this.callBase(e),this._scrollView.option("disabled",e||!this.option("scrollingEnabled"))},_toggleNextButton:function(e){var t=this._dataSource,n=this._getNextButton();this.element().toggleClass(I,e),e&&t&&t.isLoaded()&&n.appendTo(this._itemContainer()),e||n.detach()},_getNextButton:function(){return this._$nextButton||(this._$nextButton=this._createNextButton()),this._$nextButton},_createNextButton:function(){var e=o("<div>").addClass(D),t=o("<div>").appendTo(e);return this._createComponent(t,p,{text:this.option("nextButtonText"),onClick:o.proxy(this._nextButtonHandler,this),_templates:{}}),e},_moveFocus:function(e){this.callBase.apply(this,arguments),this.scrollToItem(this.option("focusedElement"))},_optionChanged:function(e){switch(e.name){case"pageLoadMode":this._toggleNextButton(e.value),this._initScrollView();break;case"showNextButton":this._toggleNextButton(e.value);break;case"dataSource":this.callBase(e),this._initScrollView();break;case"pullingDownText":case"pulledDownText":case"refreshingText":case"pageLoadingText":case"useNative":case"showScrollbar":case"bounceEnabled":case"scrollByContent":case"scrollByThumb":case"scrollingEnabled":case"pullRefreshEnabled":case"autoPagingEnabled":this._initScrollView(),this._updateLoadingState();break;case"nextButtonText":case"onItemSwipe":case"useInkRipple":this._invalidate();break;case"onScroll":case"onPullRefresh":case"onPageLoading":this._createScrollViewActions(),this._invalidate();break;case"grouped":case"collapsibleGroups":case"groupTemplate":this._invalidate();break;case"onGroupRendered":this._createGroupRenderAction();break;case"width":case"height":this.callBase(e),this._scrollView.update();break;case"indicateLoading":this._hideLoadingIfLoadIndicationOff();break;case"visible":this.callBase(e),this._scrollView.update();break;case"rtlEnabled":this._initScrollView(),this.callBase(e);break;default:this.callBase(e)}},_extendActionArgs:function(e){if(!this.option("grouped"))return this.callBase(e);var t=e.closest("."+b),n=t.find("."+w);return o.extend(this.callBase(e),{itemIndex:{group:t.index(),item:n.index(e)}})},expandGroup:function(e){var t=o.Deferred(),n=this._itemContainer().find("."+b).eq(e);return this._collapseGroupHandler(n,!1).done(o.proxy(function(){t.resolveWith(this)},this)),t.promise()},collapseGroup:function(e){var t=o.Deferred(),n=this._itemContainer().find("."+b).eq(e);return this._collapseGroupHandler(n,!0).done(o.proxy(function(){t.resolveWith(this)},this)),t},updateDimensions:function(){var e=this,t=o.Deferred();return e._scrollView?e._scrollView.update().done(function(){t.resolveWith(e)}):t.resolveWith(e),t.promise()},reload:function(){this.scrollTo(0),this._pullDownHandler()},repaint:function(){this.scrollTo(0),this.callBase()},scrollTop:function(){return this._scrollView.scrollOffset().top},clientHeight:function(){return this._scrollView.clientHeight()},scrollHeight:function(){return this._scrollView.scrollHeight()},scrollBy:function(e){this._scrollView.scrollBy(e)},scrollTo:function(e){this._scrollView.scrollTo(e)},scrollToItem:function(e){var t=this._editStrategy.getItemElement(e);this._scrollView.scrollToElement(t)}});i.exports=M}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(5),s=n(242),l="dxNativeScrollable",c="dx-scrollable-native",d="dx-scrollable-scrollbar-simulated",u="dx-scrollable-scrollbars-hidden",h="vertical",p="horizontal",f=500,_=r.inherit({ctor:function(e){this._init(e)},_init:function(e){this._component=e,this._$element=e.element(),this._$container=e._$container,this._$content=e._$content,this._direction=e.option("direction"),this._useSimulatedScrollbar=e.option("useSimulatedScrollbar"),this._showScrollbar=e.option("showScrollbar"),this.option=o.proxy(e.option,e),this._createActionByOption=o.proxy(e._createActionByOption,e),this._isLocked=o.proxy(e._isLocked,e),this._isDirection=o.proxy(e._isDirection,e),this._allowedDirection=o.proxy(e._allowedDirection,e)},render:function(){var e=a.real(),t=e.platform;this._$element.addClass(c).addClass(c+"-"+t).toggleClass(u,!this._showScrollbar),this._showScrollbar&&this._useSimulatedScrollbar&&this._renderScrollbars()},_renderScrollbars:function(){this._scrollbars={},this._hideScrollbarTimeout=0,this._$element.addClass(d),this._renderScrollbar(h),this._renderScrollbar(p)},_renderScrollbar:function(e){this._isDirection(e)&&(this._scrollbars[e]=new s(o("<div>").appendTo(this._$element),{direction:e,expandable:this._component.option("scrollByThumb")}))},handleInit:o.noop,handleStart:function(){this._disablePushBack=!0},handleMove:function(e){return this._isLocked()?void(e.cancel=!0):void(this._allowedDirection()&&(e.originalEvent.isScrollingEvent=!0))},handleEnd:function(){this._disablePushBack=!1},handleStop:o.noop,_eachScrollbar:function(e){e=o.proxy(e,this),o.each(this._scrollbars||{},function(t,n){e(n,t)})},createActions:function(){this._scrollAction=this._createActionByOption("onScroll"),this._updateAction=this._createActionByOption("onUpdated")},_createActionArgs:function(){var e=this.location();return{jQueryEvent:this._eventForUserAction,scrollOffset:{top:-e.top,left:-e.left},reachedLeft:this._isDirection(p)?e.left>=0:void 0,reachedRight:this._isDirection(p)?e.left<=this._containerSize.width-this._componentContentSize.width:void 0,reachedTop:this._isDirection(h)?e.top>=0:void 0,reachedBottom:this._isDirection(h)?e.top<=this._containerSize.height-this._componentContentSize.height:void 0}},handleScroll:function(e){return this._isScrollLocationChanged()?(this._eventForUserAction=e,this._moveScrollbars(),this._scrollAction(this._createActionArgs()),this._lastLocation=this.location(),void this._pushBackFromBoundary()):void e.stopImmediatePropagation()},_pushBackFromBoundary:function(){var e=this.option("pushBackValue");if(e&&!this._disablePushBack){var t=this._containerSize.height-this._contentSize.height,n=this._$container.scrollTop(),i=t+n-2*e;n?i||this._$container.scrollTop(e-t):this._$container.scrollTop(e)}},_isScrollLocationChanged:function(){var e=this.location(),t=this._lastLocation||{},n=t.top!==e.top,i=t.left!==e.left;return n||i},_moveScrollbars:function(){this._eachScrollbar(function(e){e.moveTo(this.location()),e.option("visible",!0)}),this._hideScrollbars()},_hideScrollbars:function(){clearTimeout(this._hideScrollbarTimeout),this._hideScrollbarTimeout=setTimeout(o.proxy(function(){this._eachScrollbar(function(e){e.option("visible",!1)})},this),f)},location:function(){return{left:-this._$container.scrollLeft(),top:this.option("pushBackValue")-this._$container.scrollTop()}},disabledChanged:o.noop,update:function(){this._update(),this._updateAction(this._createActionArgs())},_update:function(){this._updateDimensions(),this._updateScrollbars()},_updateDimensions:function(){this._containerSize={height:this._$container.height(),width:this._$container.width()},this._componentContentSize={height:this._component.content().height(),width:this._component.content().width()},this._contentSize={height:this._$content.height(),width:this._$content.width()},this._pushBackFromBoundary()},_updateScrollbars:function(){this._eachScrollbar(function(e,t){var n=t===h?"height":"width";e.option({containerSize:this._containerSize[n],contentSize:this._componentContentSize[n]}),e.update()})},_allowedDirections:function(){return{vertical:this._isDirection(h)&&this._contentSize.height>this._containerSize.height,horizontal:this._isDirection(p)&&this._contentSize.width>this._containerSize.width}},dispose:function(){this._$element.removeClass(function(e,t){var n=new RegExp(c+"\\S*","g");return n.test(t)?t.match(n).join(" "):void 0}),this._$element.off("."+l),this._$container.off("."+l),this._removeScrollbars(),clearTimeout(this._gestureEndTimer),clearTimeout(this._hideScrollbarTimeout)},_removeScrollbars:function(){this._eachScrollbar(function(e){e.element().remove()})},scrollBy:function(e){var t=this.location();this._$container.scrollTop(-t.top-e.top+this.option("pushBackValue")),this._$container.scrollLeft(-t.left-e.left)},validate:function(){return!this.option("disabled")&&this._allowedDirection()},getDirection:function(){return this._allowedDirection()}});i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(307),r=n(223),s=n(100),l=n(305),c=a.inherit({createTemplate:function(e,t){return new r(e,t)},_templatesForWidget:function(e){var t=l[e]||{},n={};return o.each(t,function(e,t){n[e]=new s(function(){var n=t.apply(this,arguments);return"itemFrame"!==e&&(n=n.contents()),n},d)}),n}}),d=new c;i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(190).fileSaver,a=n(2).isFunction;t.export=function(e,t,n){if(e){var i=t.exportingAction,r=t.exportedAction,s=t.fileSavingAction,l={fileName:t.fileName,format:t.format,cancel:!1};a(i)&&i(l),l.cancel||n(e,t,function(e){a(r)&&r(),a(s)&&(l.data=e,s(l)),l.cancel||o.saveAs(l.fileName,t.format,e,t.proxyUrl)})}},t.fileSaver=o,t.excel={creator:n(102).ExcelCreator,getBlob:n(102).getBlob,formatConverter:n(102).excelFormatConverter},t.image={creator:n(134).imageCreator,getBlob:n(134).getBlob},t.pdf={creator:n(191).pdfCreator,getBlob:n(191).getBlob},t.svg={creator:n(192).svgCreator,getBlob:n(192).getBlob}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(41),s=n(304),l=s.inherit({_getPlainItems:function(){return this._collectionWidget.option("items")||[]},getIndexByItemData:function(e){return o.inArray(e,this._getPlainItems())},getItemDataByIndex:function(e){return this._getPlainItems()[e]},deleteItemAtIndex:function(e){this._getPlainItems().splice(e,1)},updateSelectionAfterDelete:function(e){var t=this._collectionWidget._selectedItemIndices;o.each(t,function(n,i){i>e&&(t[n]-=1)})},fetchSelectedItems:function(e){e=e||this._collectionWidget._selectedItemIndices,e.sort(function(e,t){return e-t});var t=this._getPlainItems(),n=[];if(o.each(e,function(e,i){n.push(t[i])}),this._collectionWidget._dataSource&&"single"!==this._collectionWidget.option("selectionMode")){var i=this._collectionWidget.option("selectedItems"),a=o.grep(i,function(e){return-1===o.inArray(e,t)});n=n.concat(a)}return n},fetchSelectionDifference:function(e,t){var n=this.callBase(e,t);if(this._collectionWidget._dataSource){var i=n.addedItems,a=n.removedItems,s=r.intersection(i,a);
o.each(s,function(e,t){var n=o.inArray(t,i),r=o.inArray(t,a);i.splice(n,1),a.splice(r,1)})}return n},selectedItemIndices:function(){var e=[],t=this._getPlainItems(),n=this._collectionWidget.option("selectedItems"),i=this._collectionWidget._dataSource;return o.each(n,function(n,r){var s=o.inArray(r,t);-1!==s?e.push(s):i||a.log("W1002",r)}),e},moveItemAtIndexToIndex:function(e,t){var n=this._getPlainItems(),i=n[e];n.splice(e,1),n.splice(t,0,i)},_isItemIndex:function(e){return"number"==typeof e&&Math.round(e)===e},_getNormalizedItemIndex:function(e){return this._collectionWidget._itemElements().index(e)},_normalizeItemIndex:function(e){return e},_denormalizeItemIndex:function(e){return e},_getItemByNormalizedIndex:function(e){return e>-1?this._collectionWidget._itemElements().eq(e):null},_itemsFromSameParent:function(){return!0}});i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(3),s=n(25),l=n(48),c=n(4),d=n(11),u=n(13),h=n(23),p=n(64),f=n(73).default,_=n(28),g="dx-tabs",m="dx-tabs-wrapper",v="dx-tabs-expanded",x="dx-tabs-scrollable",w="dx-tabs-nav-buttons",y="dx-tab",b="dx-tab-selected",C="dx-tabs-nav-button",k="dx-tabs-nav-button-left",S="dx-tabs-nav-button-right",T="dxTabData",I=100,D=5,E=300,A=30,B=_.inherit({_activeStateUnit:"."+y,_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,showNavButtons:!1,scrollByContent:!0,scrollingEnabled:!0,selectionMode:"single",activeStateEnabled:!0,selectionRequired:!1,selectOnFocus:!0,loopItemFocus:!1,useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"generic"},options:{showNavButtons:!0,scrollByContent:!1}},{device:function(e){return"desktop"===a.real().deviceType&&!a.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(h.current())},options:{useInkRipple:!0}}])},_init:function(){this.callBase(),this.setAria("role","tablist"),this.element().addClass(g),this._renderMultiple(),this._feedbackHideTimeout=I},_itemClass:function(){return y},_selectedItemClass:function(){return b},_itemDataKey:function(){return T},_renderContent:function(){var e=this;this.callBase(),this.option("templatesRenderAsynchronously")&&(this._resizeEventTimer=setTimeout(function(){d.triggerResizeEvent(e._$content)},0))},_render:function(){this.callBase(),this._renderWrapper(),this._renderScrolling(),this.setAria("role","tab",this.itemElements()),this.option("useInkRipple")&&this._renderInkRipple()},_renderScrolling:function(){this.element().removeClass(v),this._allowScrolling()&&!this._scrollable&&(this._renderScrollable(),this._renderNavButtons(),this._scrollToItem(this.option("selectedItem"))),this._allowScrolling()||(this._cleanScrolling(),this.element().removeClass(w).addClass(v))},_cleanNavButtons:function(){this._leftButton&&this._rightButton&&(this._leftButton.element().remove(),this._rightButton.element().remove(),this._leftButton=null,this._rightButton=null)},_cleanScrolling:function(){this._scrollable&&(this._scrollable.content().children("."+m).appendTo(this._itemContainer()),this._scrollable.element().remove(),this._scrollable=null,this._cleanNavButtons())},_renderInkRipple:function(){this._inkRipple=l.render()},_toggleActiveState:function(e,t,n){if(this.callBase.apply(this,arguments),this._inkRipple){var i={element:e,jQueryEvent:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}},_renderMultiple:function(){"multiple"===this.option("selectionMode")&&this.option("selectOnFocus",!1)},_renderWrapper:function(){this.element().wrapInner(o("<div>").addClass(m))},_renderScrollable:function(){var e=this.element().wrapInner(o("<div>").addClass(x)).children();this._scrollable=this._createComponent(e,f,{direction:"horizontal",showScrollbar:!1,useKeyboard:!1,useNative:!1,scrollByContent:this.option("scrollByContent"),onScroll:o.proxy(this._updateNavButtonsVisibility,this)}),this.element().append(this._scrollable.element())},_scrollToItem:function(e){if(this._scrollable){var t=this._editStrategy.getItemElement(e);this._scrollable.scrollToElement(t)}},_allowScrolling:function(){if(!this.option("scrollingEnabled"))return!1;var e=0;return this.itemElements().each(function(t,n){e+=o(n).outerWidth(!0)}),e-1>this.element().width()},_renderNavButtons:function(){if(this.element().toggleClass(w,this.option("showNavButtons")),this.option("showNavButtons")){this._leftButton=this._createNavButton(-A,"chevronprev");var e=this._leftButton.element();e.addClass(k),this.element().prepend(e),this._rightButton=this._createNavButton(A,"chevronnext");var t=this._rightButton.element();t.addClass(S),this.element().append(t),this._updateNavButtonsVisibility(),this._scrollable.update(),this.option("rtlEnabled")&&this._scrollable.scrollTo({left:this._scrollable.scrollWidth()-this._scrollable.clientWidth()})}},_updateNavButtonsVisibility:function(){this._leftButton&&this._leftButton.option("disabled",this._scrollable.scrollLeft()<=0),this._rightButton&&this._rightButton.option("disabled",this._scrollable.scrollLeft()>=this._scrollable.scrollWidth()-this._scrollable.clientWidth())},_updateScrollPosition:function(e,t){this._scrollable.update(),this._scrollable.scrollBy(e/t)},_createNavButton:function(e,t){var n=this,i=n._createAction(function(){n._holdInterval=setInterval(function(){n._updateScrollPosition(e,D)},D)}),a=c.addNamespace(p.name,"dxNavButton"),r=c.addNamespace(u.up,"dxNavButton"),l=c.addNamespace(u.out,"dxNavButton"),d=this._createComponent(o("<div>").addClass(C),s,{focusStateEnabled:!1,icon:t,onClick:function(){n._updateScrollPosition(e,1)},_templates:{}});return d.element().on(a,{timeout:E},o.proxy(function(e){i({jQueryEvent:e})},this)).on(r,function(){n._clearInterval()}).on(l,function(){n._clearInterval()}),d},_clearInterval:function(){this._holdInterval&&clearInterval(this._holdInterval)},_renderSelection:function(e){this._scrollable&&this._scrollable.scrollToElement(this.itemElements().eq(e[0]),{left:1,right:1})},_visibilityChanged:function(e){e&&this._dimensionChanged()},_dimensionChanged:function(){this.option("scrollingEnabled")&&this._renderScrolling()},_itemSelectHandler:function(e){"single"===this.option("selectionMode")&&this.isItemSelected(e.currentTarget)||this.callBase(e)},_clean:function(){this._scrollable=null,clearTimeout(this._resizeEventTimer),this.callBase()},_optionChanged:function(e){switch(e.name){case"useInkRipple":case"scrollingEnabled":case"showNavButtons":this._invalidate();break;case"scrollByContent":this._scrollable&&this._scrollable.option(e.name,e.value);break;case"selectionMode":this._renderMultiple(),this.callBase(e);break;default:this.callBase(e)}}});r("dxTabs",B),i.exports=B}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(40),s=n(124),l=n(65),c=n(418),d=n(3),u="dx-validator",h=r.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{validationRules:[]})},_init:function(){this.callBase(),this._initGroupRegistration(),this.focused=o.Callbacks(),this._initAdapter()},_initGroupRegistration:function(){var e=this._findGroup();this._groupWasInit||this.on("disposing",function(e){l.removeRegisteredValidator(e.component._validationGroup,e.component)}),this._groupWasInit&&this._validationGroup===e||(l.removeRegisteredValidator(this._validationGroup,this),this._groupWasInit=!0,this._validationGroup=e,l.registerValidatorInGroup(e,this))},_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{validationGroup:!0})},_initAdapter:function(){var e=this,t=e.element()[0],n=o.data(t,"dx-validation-target"),i=e.option("adapter");if(!i){if(n)return i=new c(n,this),i.validationRequestsCallbacks.add(function(){e.validate()}),void this.option("adapter",i);throw a.Error("E0120")}i.validationRequestsCallbacks&&i.validationRequestsCallbacks.add(function(){e.validate()})},_render:function(){this.element().addClass(u),this.callBase()},_visibilityChanged:function(e){e&&this._initGroupRegistration()},_optionChanged:function(e){switch(e.name){case"validationGroup":return void this._initGroupRegistration();case"validationRules":return void(void 0!==this.option("isValid")&&this.validate());case"adapter":this._initAdapter();break;default:this.callBase(e)}},validate:function(){var e,t=this,n=t.option("adapter"),i=t.option("name"),a=n.bypass&&n.bypass(),r=n.getValue(),s=n.getCurrentValidationError&&n.getCurrentValidationError(),c=o.map(t.option("validationRules"),function(e){return e.validator=t,e});return a?e={isValid:!0}:s&&s.editorSpecific?(s.validator=this,e={isValid:!1,brokenRule:s}):e=l.validate(r,c,i),this._applyValidationResult(e,n),e},reset:function(){var e=this,t=e.option("adapter"),n={isValid:!0,brokenRule:null};t.reset(),this._applyValidationResult(n,t)},_applyValidationResult:function(e,t){var n=this._createActionByOption("onValidated");e.validator=this,t.applyValidationResults&&t.applyValidationResults(e),this.option({isValid:e.isValid}),n(e)},focus:function(){var e=this.option("adapter");e.focus()}}).include(s);d("dxValidator",h),i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(17),r=n(6),s=n(5),l=n(42),c=n(4),d=n(64),u="dxContexMenu",h=c.addNamespace("contextmenu",u),p=c.addNamespace(d.name,u),f="dxcontextmenu",_=s.inherit({setup:function(e,t){var n=o(e);n.on(h,o.proxy(this._contextMenuHandler,this)),(a.touch||r.isSimulator())&&n.on(p,o.proxy(this._holdHandler,this))},_holdHandler:function(e){c.isMouseEvent(e)&&!r.isSimulator()||this._fireContextMenu(e)},_contextMenuHandler:function(e){this._fireContextMenu(e)},_fireContextMenu:function(e){return c.fireEvent({type:f,originalEvent:e})},teardown:function(e){o(e).off("."+u)}});l(f,new _),t.name=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(9),r=n(21),s=n(2),l=n(6),c=n(20),d=n(47),u="dx-datagrid-scroll-container",h="dx-row",p="dx-datagrid-group-space",f="dx-group-row",_="dx-master-detail-row",g="dx-datagrid-content",m="dx-datagrid-table",v="dx-datagrid-table-fixed",x="dx-datagrid-content-fixed",w="0.0001px",y="dxCellHintVisible",b={render:function(e,t){t.append(e)}};t.ColumnsView=c.View.inherit(d.columnStateMixin).inherit({_createScrollableOptions:function(){var e=this,t=e.option("scrolling"),n=e.option("scrolling.useNative"),i=o.extend({},t,{direction:"both",bounceEnabled:!1,useKeyboard:!1});return void 0===n&&(n=!0),"auto"===n?(delete i.useNative,delete i.useSimulatedScrollbar):(i.useNative=!!n,i.useSimulatedScrollbar=!n),i},_updateCell:function(e,t){t.rowType&&this._cellPrepared(e,t)},_createCell:function(e){var t=e.column,n=t.alignment||s.getDefaultAlignment(this.option("rtlEnabled")),i=window.document.createElement("td");i.style.textAlign=n;var a=o(i);return this.setAria("role","gridcell",a),!s.isDefined(t.groupIndex)&&t.cssClass&&a.addClass(t.cssClass),"expand"===t.command&&a.addClass(p),t.colspan>1&&a.attr("colspan",t.colspan),a},_createRow:function(e){return o("<tr />").addClass(h).attr("role","row")},_createTable:function(e){var t=this,n=o("<table />").addClass(m).addClass(v).attr("role","grid");e&&(n.append(t._createColGroup(e)),l.real().ios&&n.append("<thead><tr></tr></thead>")),r.mozilla&&n.on("mousedown","td",function(e){e.ctrlKey&&e.preventDefault()}),t.option("cellHintEnabled")&&n.on("mousemove",".dx-row > td",this.createAction(function(e){var n=e.jQueryEvent,i=o(n.target),a=o(n.currentTarget),r=a.parent(),l=r.hasClass("dx-data-row"),c=r.hasClass("dx-header-row"),d=r.hasClass("dx-group-row"),u=t._columnsController.getVisibleColumns(),h=r.data("options"),p=a.index(),f=h&&h.cells&&h.cells[p],_=f?f.column:u[p];l&&(!l||!_||_.cellTemplate)||c&&(!c||!_||_.headerCellTemplate)||d&&(!d||!_||void 0!==_.groupIndex&&_.groupCellTemplate)||(i.data(y)&&(i.removeAttr("title"),i.data(y,!1)),i[0].scrollWidth>i[0].clientWidth&&!s.isDefined(i.attr("title"))&&(i.attr("title",i.text()),i.data(y,!0)))}));var i=function(e){var t=o(e.currentTarget),n=t.parent().data("options"),i=n&&n.cells&&n.cells[t.index()];return o.extend({},i,{cellElement:t,jQueryEvent:e,eventType:e.type})};return t.option("onCellHoverChanged")&&(n.on("mouseover",".dx-row > td",function(e){t.executeAction("onCellHoverChanged",i(e))}),n.on("mouseout",".dx-row > td",function(e){t.executeAction("onCellHoverChanged",i(e))})),t.option("onCellClick")&&n.on(a.name,".dx-row > td",function(e){t.executeAction("onCellClick",i(e))}),n.on(a.name,".dx-row",{useNative:t._isNativeClick()},t.createAction(function(e){var n=e.jQueryEvent;o(n.target).closest("a").length||(e.rowIndex=t.getRowIndex(n.currentTarget),e.rowIndex>=0&&(e.rowElement=o(n.currentTarget),e.columns=t.getColumns(),t._rowClick(e)))})),n},_isNativeClick:o.noop,_rowClick:o.noop,_createColGroup:function(e){var t,n,i,a=o("<colgroup />");for(t=0;t<e.length;t++)for(i=e[t].colspan||1,n=0;i>n;n++)a.append(this._createCol(e[t]));return a},_createCol:function(e){var t=e.visibleWidth||e.width;return"adaptiveHidden"===t&&(t=w),o("<col />").width(t)},renderDelayedTemplates:function(){for(var e,t=this._delayedTemplates;t.length;)e=t.shift(),e.template.render(e.options,e.container),e.options.column&&this._updateCell(e.container,e.options)},_processTemplate:function(e){var t,n,i=this;return e&&e.render?n={allowRenderToDetachedContainer:e.allowRenderToDetachedContainer,render:function(t,n){e.render(n,t)}}:o.isFunction(e)?n={render:function(t,n){e(n,t)}}:(t=s.isString(e)?e:o(e).attr("id"),t?(i._templatesCache[t]||(i._templatesCache[t]=i.getTemplate(e)),n=i._templatesCache[t]):n=i.getTemplate(e)),n},renderTemplate:function(e,t,n){var i=this,o=i._processTemplate(t,n);if(o){if(o.allowRenderToDetachedContainer)return o.render(n,e),!0;i._delayedTemplates.push({template:o,container:e,options:n})}return!1},_appendRow:function(e,t,n){var i=this;i.option("rowTemplate")&&i._delayedTemplates.length&&t?i._delayedTemplates.push({container:e,template:n||b,options:t}):e.append(t)},_resizeCore:function(){var e=this,t=e._scrollLeft;e._scrollLeft=0,e.scrollTo({left:t})},_renderCore:function(e){var t=this.element().parent();t&&!t.parent().length||this.renderDelayedTemplates()},_renderTable:function(e){e=e||{};var t,n=this;return e.columns=n._columnsController.getVisibleColumns(),t=n._createTable(e.columns),n._renderRows(t,e),t},_renderRows:function(e,t){var n,i=this,a=i._getRows(t.change);for(n=0;n<a.length;n++)i._renderRow(e,o.extend({row:a[n]},t))},_renderRow:function(e,t){var n,i=this;t.row.cells=[],n=i._createRow(t.row),i._renderCells(n,t),i._appendRow(e,n),i._rowPrepared(n,o.extend({columns:t.columns},t.row))},_renderCells:function(e,t){var n,i=this,a=0,r=t.row,l=t.columns;for(n=0;n<l.length;n++)i._renderCell(e,o.extend({column:l[n],columnIndex:a,value:r.values&&r.values[a]},t)),s.isDefined(l[n].colspan)?a+=l[n].colspan:a++},_renderCell:function(e,t){var n,i=this,o=i._getCellOptions(t),a=t.column;return t.row.cells.push(o),n=i._createCell(o),a.command||i.setAria("label",i.localize("dxDataGrid-ariaColumn")+" "+a.caption+", "+i.localize("dxDataGrid-ariaValue")+" "+o.text,n),i._renderCellContent(n,o),e.get(0).appendChild(n.get(0)),n},_renderCellContent:function(e,t){var n=this._getCellTemplate(t);n&&!this.renderTemplate(e,n,t)||this._updateCell(e,t)},_getCellTemplate:function(e){},_getRows:function(){return[]},_getCellOptions:function(e){return{column:e.column,columnIndex:e.columnIndex,rowType:e.row.rowType}},_cellPrepared:function(e,t){t.cellElement=e,this.executeAction("onCellPrepared",t)},_rowPrepared:function(e,t){o.data(e.get(0),"options",t),t.rowElement=e,this.executeAction("onRowPrepared",t)},_columnOptionChanged:function(e){var t=e.optionNames;if(c.checkChanges(t,["width","visibleWidth"])){var n=this._columnsController.getVisibleColumns(),i=o.map(n,function(e){return e.visibleWidth||e.width||"auto"});return void this.setColumnWidths(i)}this._requireReady||this.render()},getTableElements:function(){return this._tableElement||o()},_getTableElement:function(){return this._tableElement},_setTableElement:function(e){this._tableElement=e},optionChanged:function(e){switch(this.callBase(e),e.name){case"cellHintEnabled":case"onCellPrepared":case"onRowPrepared":case"onCellHoverChanged":this._invalidate(!0,!0),e.handled=!0}},init:function(){var e=this;e._scrollLeft=0,e._columnsController=e.getController("columns"),e._dataController=e.getController("data"),e._delayedTemplates=[],e._templatesCache={},e.createAction("onCellClick"),e.createAction("onRowClick"),e.createAction("onCellHoverChanged",{excludeValidators:["disabled","readOnly"]}),e.createAction("onCellPrepared",{excludeValidators:["designMode","disabled","readOnly"],category:"rendering"}),e.createAction("onRowPrepared",{excludeValidators:["designMode","disabled","readOnly"],category:"rendering",afterExecute:function(t){e._afterRowPrepared(t)}}),e._columnsController.columnsChanged.add(o.proxy(e._columnOptionChanged,e)),e._dataController&&e._dataController.changed.add(o.proxy(e._handleDataChanged,e))},_afterRowPrepared:o.noop,_handleDataChanged:function(e){},callbackNames:function(){return["scrollChanged"]},scrollTo:function(e){var t=this,n=t.element(),i=n&&n.children("."+u).not("."+x);t._skipScrollChanged=!1,s.isDefined(e)&&s.isDefined(e.left)&&t._scrollLeft!==e.left&&(t._scrollLeft=e.left,i&&i.scrollLeft(Math.round(e.left)),t._skipScrollChanged=!0)},_wrapTableInScrollContainer:function(e){var t,n=this;return t=o("<div/>").on("scroll",function(){!n._skipScrollChanged&&n.scrollChanged.fire({left:t.scrollLeft()},n.name),n._skipScrollChanged=!1}).addClass(g).addClass(u).append(e).appendTo(n.element())},_updateContent:function(e){this._setTableElement(e),this._wrapTableInScrollContainer(e)},_findContentElement:o.noop,_getWidths:function(e){var t,n,i=[];return e&&o.each(e,function(e,o){t=o.offsetWidth,o.getBoundingClientRect&&(n=o.getBoundingClientRect(),n.width>t&&(t=Math.ceil(n.width))),i.push(t)}),i},getColumnWidths:function(e){var t,n=this,i=[];return e=e||n._getTableElement(),e&&(t=e.children("tbody").children(":not(."+f+", ."+_+")").first().children("td"),i=n._getWidths(t)),i},setColumnWidths:function(e){var t,n,i,a,r,s,l=this.getTableElements(!0);if(l.length&&e)for(n=0;n<l.length;n++)for(a=0,t=o(l[n]).find("col"),r=this.getColumns(null,o(l[n])),i=0;i<r.length;i++)r[i].colspan?a+=r[i].colspan:(s=e[a],"adaptiveHidden"===s&&(s=w),t.eq(a).css("width",s||"auto"),a++)},getCellElements:function(e){var t=this._getRowElements().eq(e);return t.children()},getCellElement:function(e,t){var n,i,o=this,a=o.getCellElements(e),r=o._columnsController,l=t;return s.isString(t)&&(i=r.columnOption(t,"index"),l=r.getVisibleIndex(i)),a.length&&l>=0&&(n=a.eq(l)),n&&n.length?n:void 0},getColumnElements:function(){},getColumns:function(e){return this._columnsController.getVisibleColumns(e)},getCell:function(e,t){var n,i=t||this._getRowElements();return i.length>0&&e.rowIndex>=0&&(e.rowIndex=e.rowIndex<i.length?e.rowIndex:i.length-1,n=this.getCellElements(e.rowIndex),n&&n.length>0)?n.eq(n.length>e.columnIndex?e.columnIndex:n.length-1):void 0},getRowsCount:function(){var e=this._getTableElement();return e&&1===e.length?e[0].rows.length:0},_getRowElements:function(e){return e=e||this._getTableElement(),e&&e.children("tbody").children("."+h)||o()},getRowIndex:function(e){return this._getRowElements().index(e)},getBoundingRect:function(){},getName:function(){},setScrollerSpacing:function(e){var t=this,n=t.element(),i=t.option("rtlEnabled");n&&n.css(i?{paddingLeft:e}:{paddingRight:e})}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(362)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(8),r=n(3),s=n(61),l=n(50),c="dx-loadpanel",d="dx-loadpanel-wrapper",u="dx-loadpanel-indicator",h="dx-loadpanel-message",p="dx-loadpanel-content",f="dx-loadpanel-content-wrapper",_="dx-loadpanel-pane-hidden",g=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{message:a.format("Loading"),width:222,height:90,animation:null,showIndicator:!0,indicatorSrc:"",showPane:!0,delay:0,closeOnBackButton:!1,resizeEnabled:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"generic"},options:{shadingColor:"transparent"}}])},_init:function(){this.callBase.apply(this,arguments)},_initOptions:function(){this.callBase.apply(this,arguments),this.option("templatesRenderAsynchronously",!1)},_render:function(){this.callBase(),this.element().addClass(c),this._wrapper().addClass(d)},_renderContentImpl:function(){this.callBase(),this.content().addClass(p),this._$contentWrapper=o("<div>").addClass(f),this._$contentWrapper.appendTo(this._$content),this._togglePaneVisible(),this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage()},_show:function(){var e=this.option("delay");if(!e)return this.callBase();var t=o.Deferred(),n=o.proxy(this.callBase,this);return this._clearShowTimeout(),this._showTimeout=setTimeout(function(){n().done(function(){t.resolve()})},e),t.promise()},_hide:function(){return this._clearShowTimeout(),this.callBase()},_clearShowTimeout:function(){clearTimeout(this._showTimeout)},_renderMessage:function(){if(this._$contentWrapper){var e=this.option("message");if(e){var t=o("<div>").addClass(h).text(e);this._$contentWrapper.append(t)}}},_renderLoadIndicator:function(){this._$contentWrapper&&this.option("showIndicator")&&(this._$indicator=o("<div>").addClass(u).appendTo(this._$contentWrapper),this._createComponent(this._$indicator,s,{indicatorSrc:this.option("indicatorSrc")}))},_cleanPreviousContent:function(){this.content().find("."+h).remove(),this.content().find("."+u).remove()},_togglePaneVisible:function(){this.content().toggleClass(_,!this.option("showPane"))},_optionChanged:function(e){switch(e.name){case"delay":break;case"message":case"showIndicator":this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage();break;case"showPane":this._togglePaneVisible();break;case"indicatorSrc":this._$indicator&&this._createComponent(this._$indicator,s,{indicatorSrc:this.option("indicatorSrc")});break;default:this.callBase(e)}},_dispose:function(){this._clearShowTimeout(),this.callBase()}});r("dxLoadPanel",g),i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(12),r=n(8),s=n(14),l=a.dateToMilliseconds,c=n(18),d=c.abstract,u=n(2),h=n(3),p=n(113),f=n(4),_=n(13),g=n(19),m=n(9),v=n(63),x=n(73).default,w=n(238),y="dx-scheduler-work-space",b="dx-scheduler-work-space-grouped",C="dx-scheduler-work-space-both-scrollbar",k="dx-scheduler-time-panel",S="dx-scheduler-time-panel-cell",T="dx-scheduler-time-panel-row",I="dx-scheduler-all-day-panel",D="dx-scheduler-all-day-table",E="dx-scheduler-fixed-appointments",A="dx-scheduler-all-day-appointments",B="dx-scheduler-all-day-title",M="dx-scheduler-all-day-title-hidden",O="dx-scheduler-all-day-table-cell",P="dx-scheduler-all-day-table-row",R="dx-scheduler-work-space-all-day",V="dx-scheduler-work-space-all-day-collapsed",F="dx-scheduler-work-space-mouse-selection",L="dx-scheduler-header-panel",H="dx-scheduler-header-panel-cell",z="dx-scheduler-header-row",N="dx-scheduler-group-row",W="dx-scheduler-group-header",G="dx-scheduler-group-header-content",$="dx-scheduler-date-table",q="dx-scheduler-date-table-cell",j="dx-scheduler-date-table-row",U="dx-scheduler-focused-cell",K="dx-scheduler-date-table-droppable-cell",Y="dx-scheduler-header-scrollable",X="dx-scheduler-sidebar-scrollable",Q="dx-scheduler-date-table-scrollable",Z=f.addNamespace(_.down,"dxSchedulerWorkSpace"),J=f.addNamespace(v.enter,"dxSchedulerDateTable"),ee=f.addNamespace(v.drop,"dxSchedulerDateTable"),te=f.addNamespace(m.name,"dxSchedulerDateTable"),ne=f.addNamespace(_.down,"dxSchedulerDateTable"),ie=f.addNamespace(_.up,"dxSchedulerDateTable"),oe=f.addNamespace(_.move,"dxSchedulerDateTable"),ae="dxCellData",re=75,se=l("day"),le=l("hour"),ce=c.inherit({_supportedKeys:function(){var e=function(e){e.preventDefault(),e.stopPropagation(),this._focusedCells&&this._focusedCells.length&&this._showAddAppointmentPopup(o(this._focusedCells))},t=function(e,t){e.preventDefault(),e.stopPropagation(),this._moveToCell(t,e.shiftKey)};return o.extend(this.callBase(),{enter:e,space:e,downArrow:function(e){var n=this._getCellFromNextRow("next",e.shiftKey);t.call(this,e,n)},upArrow:function(e){var n=this._getCellFromNextRow("prev",e.shiftKey);t.call(this,e,n)},rightArrow:function(e){var n=this._getRightCell(e.shiftKey);t.call(this,e,n)},leftArrow:function(e){var n=this._getLeftCell(e.shiftKey);t.call(this,e,n)}})},_isRTL:function(){return this.option("rtlEnabled")},_getFocusedCell:function(){return this._$focusedCell||this._$dateTable.find("."+this._getDateTableCellClass()).eq(0)},_getCellFromNextRow:function(e,t){var n=this._$focusedCell,i=n.index(),o=n.parent(),a=o[e]().children().eq(i);return a=this._checkForViewBounds(a)},_checkForViewBounds:function(e){return e.length||(e=this._$focusedCell),e},_getRightCell:function(e){var t,n=this._$focusedCell,i=this._getGroupCount(),o=e?this._getCellCount():this._getTotalCellCount(i),a=o-1,r=this._isRTL()?0:a,s=n.index(),l=this._isRTL()?"prev":"next";if(s===r||e&&this._isGroupEndCell(n)){var c=n.parent(),d=this._isRTL()?1:-1;t=c[l]().children().eq(s+d*a),t=this._checkForViewBounds(t)}else t=n[l]();return t},_isGroupEndCell:function(e){var t=this._getCellCount(),n=e.index(),i=n%t;return this._isRTL()?0===i:i===t-1},_getLeftCell:function(e){var t,n=this._$focusedCell,i=this._getGroupCount(),o=e?this._getCellCount():this._getTotalCellCount(i),a=o-1,r=this._isRTL()?a:0,s=n.index(),l=this._isRTL()?"next":"prev";if(s===r||e&&this._isGroupStartCell(n)){var c=n.parent(),d=this._isRTL()?-1:1;t=c[l]().children().eq(s+d*a),t=this._checkForViewBounds(t)}else t=n[l]();return t},_isGroupStartCell:function(e){var t=this._getCellCount(),n=e.index(),i=n%t;return this._isRTL()?i===t-1:0===i},_moveToCell:function(e,t){t=t&&this.option("allowMultipleCellSelection"),this._setFocusedCell(e,t),this._dateTableScrollable.scrollToElement(e)},_setFocusedCell:function(e,t){if(e.length){if(this._releaseFocusedCell(),this._focusedCells=[],t){e=this._correctCellForGroup(e);var n=this._getCellsBetween(e,this._$prevCell);this._focusedCells=n.toArray()}else this._focusedCells=[e.get(0)],this._$prevCell=e;var i=o(this._focusedCells);this._toggleFocusClass(!0,i),this.setAria("label","Add appointment",i),this._toggleFocusedCellClass(!0,e),this._$focusedCell=e}},_correctCellForGroup:function(e){var t=this._$focusedCell,n=this._getGroupIndexByCell(e),i=this._getGroupIndexByCell(t),o=this._hasAllDayClass(e)!==this._hasAllDayClass(t);return i!==n||o?t:e},_getCellsBetween:function(e,t){var n=this._hasAllDayClass(t),i=this._getCells(n),a=i.index(e),r=i.index(t);if(a>r){var s=a;a=r,r=s}if(i=i.slice(a,r+1),this._getGroupCount()>1){var l=[],c=this._getGroupIndexByCell(e);o.each(i,o.proxy(function(e,t){var n=this._getGroupIndexByCell(o(t));c===n&&l.push(t)},this)),i=o(l)}return i},_hasAllDayClass:function(e){return e.hasClass(O)},_getGroupIndexByCell:function(e){var t=this._getCellCount(),n=e.index()+1,i=Math.ceil(n/t);return i},_toggleFocusedCellClass:function(e,t){var n=t&&t.length?t:this._focusTarget();n.toggleClass(U,e)},_releaseFocusedCell:function(e){e=e||o(this._focusedCells),u.isDefined(e)&&(this._toggleFocusClass(!1,e),this._toggleFocusedCellClass(!1,e),this.setAria("label",void 0,e))},_focusInHandler:function(e){if(o(e.target).is(this._focusTarget())&&this._isCellClick!==!1){delete this._isCellClick,this.callBase.apply(this,arguments);var t=this._getFocusedCell();this._setFocusedCell(t)}},_focusOutHandler:function(e){this.callBase.apply(this,arguments),this._releaseFocusedCell()},_focusTarget:function(){return this.element()},_activeStateUnit:"."+q+", ."+O,_getDefaultOptions:function(){return o.extend(this.callBase(),{currentDate:new Date,firstDayOfWeek:void 0,startDayHour:0,endDayHour:24,hoursInterval:.5,activeStateEnabled:!0,hoverStateEnabled:!0,groups:[],showAllDayPanel:!0,allDayExpanded:!1,onCellClick:null,crossScrollingEnabled:!1,allowMultipleCellSelection:!0})},_optionChanged:function(e){switch(e.name){case"startDayHour":case"endDayHour":case"hoursInterval":case"firstDayOfWeek":case"currentDate":case"groups":this._cleanView(),this._toggleGroupedClass(),this._renderView();break;case"showAllDayPanel":this._toggleAllDayVisibility();break;case"allDayExpanded":this._changeAllDayVisibility(),this.notifyObserver("allDayPanelToggled"),this._attachTablesEvents();break;case"onCellClick":this._createCellClickAction();break;case"crossScrollingEnabled":this._toggleHorizontalScrollClass(),this._dateTableScrollable.option(this._dateTableScrollableConfig());break;case"width":this.callBase(e),this._dimensionChanged();break;case"allowMultipleCellSelection":break;default:this.callBase(e)}},_init:function(){this.callBase(),this._toggleHorizontalScrollClass(),this.element().addClass(y).addClass(this._getElementClass()),this._initWorkSpaceUnits(),this._initDateTableScrollable(),this._createWorkSpaceElements()},_toggleHorizontalScrollClass:function(){this.element().toggleClass(C,this.option("crossScrollingEnabled"))},_getTimePanelClass:function(){return k},_getDateTableClass:function(){return $},_getDateTableRowClass:function(){return j},_getDateTableCellClass:function(){return q},_getGroupRowClass:function(){return N},_getGroupHeaderClass:function(){return W},_getGroupHeaderContentClass:function(){return G},_initWorkSpaceUnits:function(){this._$headerPanel=o("<table>").addClass(L),this._$thead=o("<thead>").appendTo(this._$headerPanel),this._$fixedContainer=o("<div>").addClass(E),this._$allDayContainer=o("<div>").addClass(A),this._$allDayTitle=o("<div>").addClass(B).text(r.format("dxScheduler-allDay")).appendTo(this.element()),this._$allDayTable=o("<table>").addClass(D),this._$allDayPanel=o("<div>").addClass(I).append(this._$allDayTable),this._$timePanel=o("<table>").addClass(this._getTimePanelClass()),this._$dateTable=o("<table>").addClass(this._getDateTableClass())},_initDateTableScrollable:function(){var e=o("<div>").addClass(Q);this._dateTableScrollable=this._createComponent(e,x,this._dateTableScrollableConfig())},_dateTableScrollableConfig:function(){var e={useKeyboard:!1,useNative:!1,bounceEnabled:!1};return this.option("crossScrollingEnabled")&&(e=o.extend(e,this._createCrossScrollingConfig())),e},_createCrossScrollingConfig:function(){var e={};return e.direction="both",e.onScroll=o.proxy(function(e){this._sidebarScrollable.scrollTo({top:e.scrollOffset.top}),this._headerScrollable.scrollTo({left:e.scrollOffset.left})},this),e.onEnd=o.proxy(function(e){this.notifyObserver("updateResizableArea",{})},this),e},_createWorkSpaceElements:function(){this.option("crossScrollingEnabled")?this._createWorkSpaceScrollableElements():this._createWorkSpaceStaticElements()},_createWorkSpaceStaticElements:function(){this._dateTableScrollable.content().append(this._$timePanel,this._$dateTable),this.element().append(this._$fixedContainer,this._$headerPanel,this._$allDayContainer,this._$allDayPanel,this._dateTableScrollable.element())},_createWorkSpaceScrollableElements:function(){this.element().append(this._$fixedContainer),this._createHeaderScrollable(),this._createSidebarScrollable(),this.element().append(this._dateTableScrollable.element()),this._headerScrollable.content().append(this._$headerPanel,this._$allDayContainer,this._$allDayPanel),this._dateTableScrollable.content().append(this._$dateTable),this._sidebarScrollable.content().append(this._$timePanel)},_createHeaderScrollable:function(){var e=o("<div>").addClass(Y).appendTo(this.element());this._headerScrollable=this._createComponent(e,x,{useKeyboard:!1,showScrollbar:!1,direction:"horizontal",useNative:!1,bounceEnabled:!1,onScroll:o.proxy(function(e){this._dateTableScrollable.scrollTo({left:e.scrollOffset.left})},this)})},_createSidebarScrollable:function(){var e=o("<div>").addClass(X).appendTo(this.element());
this._sidebarScrollable=this._createComponent(e,x,{useKeyboard:!1,showScrollbar:!1,direction:"vertical",useNative:!1,bounceEnabled:!1,onScroll:o.proxy(function(e){this._dateTableScrollable.scrollTo({top:e.scrollOffset.top})},this)})},_visibilityChanged:function(e){e&&this.option("crossScrollingEnabled")&&this._setTableSizes()},_setTableSizes:function(){var e=re,t=this._getWorkSpaceMinWidth(),n=this._$headerPanel.find("tr").last().find("th"),i=e*n.length;t>i&&(i=t),this._$headerPanel.width(i),this._$dateTable.width(i),this._$allDayTable.width(i)},_getWorkSpaceMinWidth:function(){var e=this._getWorkSpaceWidth(),t=this.element().outerWidth()-this.getTimePanelWidth();return t>e&&(e=t),e},_dimensionChanged:function(e){this.option("crossScrollingEnabled")&&this._setTableSizes()},_getElementClass:o.noop,_getRowCount:o.noop,_getCellCount:o.noop,_render:function(){this.callBase(),this._toggleGroupedClass(),this._renderView(),this._attachEvents()},_toggleGroupedClass:function(){this.element().toggleClass(b,this._getGroupCount()>0)},_renderView:function(){this._setFirstViewDate(),this._renderGroupHeader(),this._renderDateHeader(),this._renderAllDayPanel(),this._renderTimePanel(),this._renderDateTable()},_setFirstViewDate:function(){this._firstViewDate=a.getFirstWeekDate(this.option("currentDate"),this._firstDayOfWeek()||s.firstDayOfWeekIndex()),this._setStartDayHour(this._firstViewDate)},_setStartDayHour:function(e){u.isDefined(this.option("startDayHour"))&&e.setHours(this.option("startDayHour"))},_firstDayOfWeek:function(){return this.option("firstDayOfWeek")},_attachEvents:function(){var e=this,t=this._createAction(function(t){e._pointerDownHandler(t.jQueryEvent)});this._createCellClickAction();var n="."+this._getDateTableCellClass()+",."+O;this.element().off(Z).off(te).on(Z,function(e){return f.isMouseEvent(e)&&e.which>1?void e.preventDefault():void t({jQueryEvent:e})}).on(te,n,function(t){var n=o(t.target);e._cellClickAction({jQueryEvent:t,cellElement:n,cellData:e.getCellData(n)})})},_createCellClickAction:function(){var e=this;this._cellClickAction=this._createActionByOption("onCellClick",{afterExecute:function(t){e._clickHandler(t.args[0].jQueryEvent)}})},_clickHandler:function(e){var t=o(e.target);this._showPopup&&this._hasFocusClass(t)&&(delete this._showPopup,this._showAddAppointmentPopup(t))},_pointerDownHandler:function(e){var t=o(e.target);return t.hasClass(this._getDateTableCellClass())||t.hasClass(O)?(this._isCellClick=!0,void(t.hasClass(U)?this._showPopup=!0:this._setFocusedCell(t))):void(this._isCellClick=!1)},_showAddAppointmentPopup:function(e){var t=this.getCellData(e.first()),n=this.getCellData(e.last()),i={startDate:t.startDate,endDate:n.endDate};u.isDefined(n.allDay)&&(i.allDay=n.allDay),o.extend(i,n.groups),this.notifyObserver("showAddAppointmentPopup",i)},_getGroupHeaderContainer:function(){return this._$thead},_getDateHeaderContainer:function(){return this._$thead},_renderGroupHeader:function(){var e=this._getGroupHeaderContainer(),t=this._getGroupCount();if(t){var n=this._makeGroupRows(this.option("groups"));this._attachGroupCountAttr(n.length),e.append(n)}},_attachGroupCountAttr:function(e){this.element().attr("dx-group-row-count",e)},_makeGroupRows:function(e){return w.makeGroupedTable(w.HORIZONTAL,e,{groupRowClass:this._getGroupRowClass(),groupHeaderClass:this._getGroupHeaderClass(),groupHeaderContentClass:this._getGroupHeaderContentClass()},this._getCellCount()||1)},_renderDateHeader:function(){for(var e=this._getDateHeaderContainer(),t=o("<tr>").addClass(z),n=this._getCellCount(),i=this._calculateHeaderCellRepeatCount(),a=0;i>a;a++)for(var r=0;n>r;r++){var s=this._getHeaderText(r),l=o("<th>").text(s).addClass(H).attr("title",s);t.append(l)}return e.append(t),t},_calculateHeaderCellRepeatCount:function(){return this._getGroupCount()||1},_renderAllDayPanel:function(){var e=this._getCellCount()*(this._getGroupCount()||1);this._renderTableBody({container:this._$allDayTable,rowCount:1,cellCount:e,cellClass:O,rowClass:P,dataGenerator:o.proxy(this._setAllDayCellData,this)}),this._toggleAllDayVisibility()},_setAllDayCellData:function(e,t,n){var i=this._getDateByCellIndexes(t,n);i=a.trimTime(i);var r={startDate:i,endDate:new Date(i.getTime()+se),allDay:!0},s=this._getCellGroups(this._getGroupIndex(t,n));s.length&&(r.groups={});for(var l=0;l<s.length;l++)r.groups[s[l].name]=s[l].id;o.data(e,ae,r)},_toggleAllDayVisibility:function(){var e=this.option("showAllDayPanel");this._$allDayPanel.toggle(e),this._$allDayTitle.toggleClass(M,!e),this.element().toggleClass(R,e),this._changeAllDayVisibility()},_changeAllDayVisibility:function(){this.element().toggleClass(V,!this.option("allDayExpanded")&&this.option("showAllDayPanel"))},_renderTimePanel:function(){this._renderTableBody({container:this._$timePanel,rowCount:this._getTimePanelRowCount(),cellCount:1,cellClass:S,rowClass:T,dataGenerator:o.proxy(this._setTimePanelText,this)})},_getTimePanelRowCount:function(){return.5*this._getCellCountInDay()},_getCellCountInDay:function(){return Math.floor(this._calculateDayDuration()/this.option("hoursInterval"))},_calculateDayDuration:function(){return this.option("endDayHour")-this.option("startDayHour")},_setTimePanelText:function(e,t){e.innerHTML=this._getTimeText(t)},_getTimeText:function(e){var t=this.option("startDayHour"),n=2*this.getCellDuration(),i=new Date(new Date(1970,0).getTime()+n*e+36e5*t);return s.format(i,"shorttime")},_renderDateTable:function(){var e=this._getGroupCount();this._renderTableBody({container:this._$dateTable,rowCount:this._getTotalRowCount(e),cellCount:this._getTotalCellCount(e),cellClass:this._getDateTableCellClass(),rowClass:this._getDateTableRowClass(),dataGenerator:o.proxy(this._setCellData,this)}),this._attachTablesEvents()},_getTotalCellCount:function(e){return e=e||1,this._getCellCount()*e},_getTotalRowCount:function(e){return this._getRowCount()},_setCellData:function(e,t,n){var i=this._prepareCellData(e,t,n);o.data(e,ae,i)},_prepareCellData:function(e,t,n){var i=this._getDateByCellIndexes(t,n),o=this.calculateEndDate(i),a={startDate:i,endDate:o,allDay:this._getTableAllDay()},r=this._getCellGroups(this._getGroupIndex(t,n));r.length&&(a.groups={});for(var s=0;s<r.length;s++)a.groups[r[s].name]=r[s].id;return a},_getGroupIndex:function(e,t){return Math.floor(t/this._getCellCount())},_getTableAllDay:function(){return!1},calculateEndDate:function(e){return new Date(e.getTime()+this._getInterval())},_getGroupCount:function(){for(var e=this.option("groups"),t=0,n=0,i=e.length;i>n;n++)n?t*=e[n].items.length:t=e[n].items.length;return t},_getPathToLeaf:function(e){function t(e,n){for(var i=0;i<e.length;i++){if(e[i].leafIndex===n)return e[i];var o=t(e[i].children,n);if(o)return o}}function n(e,t){return t=t||[],t.push(e.value),e.parent&&n(e.parent,t),t}var i=this.invoke("createResourcesTree",this.option("groups")),o=t(i,e);return n(o).reverse()},_getCellGroups:function(e){var t=[];if(this._getGroupCount()){var n=this.option("groups");if(0>e)return;for(var i=this._getPathToLeaf(e),o=0;o<n.length;o++)t.push({name:n[o].name,id:i[o]})}return t},_attachTablesEvents:function(){this._attachTableEvents(this._getDateTable()),this._attachTableEvents(this._getAllDayTable())},_attachTableEvents:function(e){var t,n,i=this,a=!1;e.off(J).off(ee).off(oe).off(ne).on(J,"td",{itemSizeFunc:function(e){return t||(t=e.height()),n||(n=e.width()),{width:n,height:t}}},function(e){i._$currentTableTarget&&i._$currentTableTarget.removeClass(K),i._$currentTableTarget=o(e.target),i._$currentTableTarget.addClass(K)}).on(ee,"td",function(e){o(e.target).removeClass(K),t=0,n=0}).on(ne,"td",function(e){f.isMouseEvent(e)&&1===e.which&&(a=!0,i.element().addClass(F),o(document).off(ie).on(ie,function(){a=!1,i.element().removeClass(F)}))}).on(oe,"td",function(e){a&&(e.preventDefault(),e.stopPropagation(),i._moveToCell(o(e.target),!0))})},_getDateTables:function(){return this._$dateTable.add(this._$allDayTable)},_getDateTable:function(){return this._$dateTable},_getAllDayTable:function(){return this._$allDayTable},_getInterval:function(){return void 0===this._interval&&(this._interval=this.option("hoursInterval")*le),this._interval},_getHeaderText:function(e){return s.format(this._getDateByIndex(e),this._getFormat())},_getDateByIndex:d,_getFormat:d,_calculateCellIndex:function(e,t){return t%=this._getCellCount(),this._getRowCount()*t+e},_renderTableBody:function(e){e.container.append(w.makeTable(e))},_cleanView:function(){this._$thead.empty(),this._$dateTable.empty(),this._$timePanel.empty(),this._$allDayTable.empty(),delete this._hiddenInterval,delete this._interval},getWorkArea:function(){return this._dateTableScrollable.content()},getScrollable:function(){return this._dateTableScrollable},getScrollableScrollTop:function(){return this._dateTableScrollable.scrollTop()},getScrollableScrollLeft:function(){return this._dateTableScrollable.scrollLeft()},getScrollableOuterWidth:function(){return this._dateTableScrollable.scrollWidth()},getScrollableContainer:function(){return this._dateTableScrollable._container()},getHeaderPanelHeight:function(){return this._$headerPanel.outerHeight(!0)},getTimePanelWidth:function(){return this._$timePanel.outerWidth()},_getCellCoordinatesByIndex:function(e){var t=Math.floor(e/this._getRowCount()),n=e-this._getRowCount()*t;return{cellIndex:t,rowIndex:n}},_getDateByCellIndexes:function(e,t){var n=this.getStartViewDate(),i=new Date(n.getTime()+this._getMillisecondsOffset(e,t));return i.setTime(i.getTime()+a.getTimezonesDifference(n,i)),i},_getMillisecondsOffset:function(e,t){return this._getInterval()*this._calculateCellIndex(e,t)+this._calculateHiddenInterval(e,t)},_calculateHiddenInterval:function(e,t){var n=t%this._getCellCount();return n*this._getHiddenInterval()},_getHiddenInterval:function(){return void 0===this._hiddenInterval&&(this._hiddenInterval=se-this.option("hoursInterval")*this._getCellCountInDay()*le),this._hiddenInterval},_getIntervalBetween:function(e,t){var n=this.option("startDayHour")*le,i=this.getStartViewDate(),o=a.getTimezonesDifference(i,e),r=e.getTime()-i.getTime()-o,s=Math.floor((r+n)/se),l=s*se;return t||(l=r-s*this._getHiddenInterval()),l},_getGroupIndexes:function(e){var t=[];if(e&&this.option("groups").length){var n=this.invoke("createResourcesTree",this.option("groups"));t=this.invoke("getResourceTreeLeaves",n,e)}return t},_updateIndex:function(e){return e*this._getRowCount()},_getDroppableCell:function(){return this._getDateTables().find("."+K)},_getWorkSpaceWidth:function(){return this.option("crossScrollingEnabled")?this._$dateTable.outerWidth():this.element().outerWidth()-this.getTimePanelWidth()},_getCellPositionByIndex:function(e,t){var n=this._getCellCoordinatesByIndex(e),i=this._getCellByCoordinates(n,t);return this._getCellPosition(i)},_getCellPosition:function(e){var t=this.option("rtlEnabled"),n=e.position();return t&&(n.left+=e.outerWidth()),n},_getCellByCoordinates:function(e,t){return this._$dateTable.find("tr").eq(e.rowIndex).find("td").eq(e.cellIndex+t*this._getCellCount())},_getCells:function(e){var t=e?O:this._getDateTableCellClass();return this.element().find("."+t)},_getGroupHeaderCellsContent:function(){return this.element().find("."+G)},_getGroupHeaderCells:function(){return this.element().find("."+W)},_getScrollCoordinates:function(e,t,n){var i=n||new Date(this.option("currentDate")),o=this.option("startDayHour"),a=this.option("endDayHour");return o>e&&(e=o),e>=a&&(e=a-1),i.setHours(e),i.setMinutes(t),this.getCoordinatesByDate(i)},supportAllDayRow:function(){return!0},getCellData:function(e){var t=e[0]?o.data(e[0],ae):void 0;return o.extend(!0,{},t)},getCoordinatesByDate:function(e,t,n){t=t||0;var i=this.getCellIndexByDate(e,n),o=this._getCellPositionByIndex(i,t),a=this.getPositionShift(n?0:this.getTimeShift(e));if(!o)throw g.Error("E0139");return{top:o.top+a.top,left:o.left+a.left,max:this.getMaxAllowedPosition()[t],groupIndex:t}},getCellIndexByDate:function(e,t){var n=t?864e5:this._getInterval(),i=this._getIntervalBetween(e,t),o=Math.floor(i/n);return t&&(o=this._updateIndex(o)),0>o&&(o=0),o},getPositionShift:function(e){return{top:e*this.getCellHeight(),left:0}},getTimeShift:function(e){var t=this.getCellDuration(),n=new Date(e);return n.setMinutes(0),n.setHours(this.option("startDayHour")),(e.getTime()-n.getTime())%t/t},getCoordinatesByDateInGroup:function(e,t,n){var i=this._getGroupIndexes(t),o=[];if(i.length)for(var a=0;a<i.length;a++)o.push(this.getCoordinatesByDate(e,i[a],n));else o.push(this.getCoordinatesByDate(e,0,n));return o},getDroppableCellIndex:function(){var e=this._getDroppableCell(),t=e.parent(),n=t.index();return n*t.find("td").length+e.index()},getDataByDroppableCell:function(){var e=this.getCellData(this._getDroppableCell());return{date:e.startDate,allDay:e.allDay,groups:e.groups}},getDateRange:function(){return[this.getStartViewDate(),this.getEndViewDate()]},getCellWidth:function(){return this._getCells().first().outerWidth()},getCellHeight:function(){return this._getCells().first().outerHeight()},getAllDayHeight:function(){return this.option("showAllDayPanel")?this._getCells(!0).first().outerHeight():0},getMaxAllowedPosition:function(){var e=[],t=this.option("rtlEnabled");return this._$dateTable.find("tr").first().find("td:nth-child("+this._getCellCount()+"n)").each(function(n,i){var a=o(i).position().left;t||(a+=o(i).outerWidth()),e.push(Math.floor(a))}),e},getFixedContainer:function(){return this._$fixedContainer},getAllDayContainer:function(){return this._$allDayContainer},getCellIndexByCoordinates:function(e,t){var n=this._getTotalCellCount(this._getGroupCount()),i=this.getTimePanelWidth(),o=Math.floor(this._getWorkSpaceWidth()/n),a=this._isRTL()||this.option("crossScrollingEnabled")?0:i,r=Math.floor(e.top/(t?this.getAllDayHeight():this.getCellHeight())),s=Math.floor((e.left+5-a)/o);return this._isRTL()&&(s=n-s-1),n*r+s},getStartViewDate:function(){return this._firstViewDate},getEndViewDate:function(){var e=this._getDateByCellIndexes(this._getRowCount()-1,this._getCellCount()-1);return new Date(e.getTime()+this.getCellDuration()-6e4)},getCellDuration:function(){return 36e5*this.option("hoursInterval")},getGroupBounds:function(e){var t=this.getCellIndexByCoordinates(e),n=this._getCellCount(),i=Math.floor(t/n),o=this._getCells(),a=this.getCellWidth(),r=i*n,s=o.eq(r).offset().left-a/2,l=o.eq(r+n-1).offset().left+a+a/2,c={left:s,right:l};return this._isRTL()&&(c.left=l-2*a,c.right=s+2*a),c},getCellDataByCoordinates:function(e,t){var n=this._getCells(t),i=this.getCellIndexByCoordinates(e,t),o=n.eq(i);return this.getCellData(o)},getVisibleBounds:function(){var e={},t=this.getScrollable().element(),n=this.getCellHeight(),i=this.getScrollableScrollTop()/n,o=i+t.height()/n;return e.top={hours:Math.floor(i*this.option("hoursInterval"))+this.option("startDayHour"),minutes:i%2?30:0},e.bottom={hours:Math.floor(o*this.option("hoursInterval"))+this.option("startDayHour"),minutes:Math.floor(o)%2?30:0},e},updateScrollPosition:function(e){e=this.invoke("convertDateByTimezone",e);var t=this.getVisibleBounds(),n=e.getHours(),i=e.getMinutes();this.needUpdateScrollPosition(n,i,t,e)&&this.scrollToTime(n,i,e)},needUpdateScrollPosition:function(e,t,n){var i=!1;return(e<n.top.hours||e>n.bottom.hours)&&(i=!0),e===n.top.hours&&t<n.top.minutes&&(i=!0),e===n.bottom.hours&&t>n.top.minutes&&(i=!0),i},getGroupWidth:function(e){var t=this._getCellCount()*this.getCellWidth(),n=this.getMaxAllowedPosition(),i=n[e];return n.length&&i&&(t=this._isRTL()?i-n[e+1]:0===e?i:i-n[e-1]),t},restoreScrollTop:function(){this.element().scrollTop(0)},scrollToTime:function(e,t,n){var i=this._getScrollCoordinates(e,t,n),o=this.getScrollable();o.scrollBy(i.top-o.scrollTop())},getDistanceBetweenCells:function(e,t){var n=0;return this.element().find("."+this._getDateTableRowClass()).first().find("."+this._getDateTableCellClass()).each(function(i){return e>i||i>t?!0:void(n+=o(this).outerWidth())}),n}}).include(p);h("dxSchedulerWorkSpace",ce),i.exports=ce}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(251),i.exports.show=n(164).show,i.exports.hide=n(164).hide}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(251),r=n(51),s=null,l=null,c=function(e){e=o.extend({position:"top"},e);var t=e.content;delete e.content;var n=o("<div />").html(t).appendTo(r.value());l=function(){n.remove()},s=new a(n,e)},d=function(){s&&(l(),s=null)};t.show=function(e){return d(),c(e),s.show()},t.hide=function(){return s?s.hide().done(d).promise():o.when()}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(8),r=n(9),s=n(2),l=n(3),c=n(109),d=n(318),u=n(4),h=n(13),p=n(179),f=n(22),_=n(73).default,g=n(61),m="dx-treeview",v="dx-treeview-node-container",x="dx-treeview-node-container-opened",w="dx-treeview-node",y="dx-treeview-item",b="dx-treeview-item-with-checkbox",C="dx-treeview-item-data",k="dx-treeview-node-is-leaf",S="dx-treeview-toggle-item-visibility",T="dx-treeview-toggle-item-visibility-opened",I="dx-treeview-select-all-item",D="dx-state-disabled",E="dx-state-selected",A="data-item-id",B=d.inherit({_supportedKeys:function(e){var t=function(e){var t=this.option("focusedElement");t&&(e.target=t,e.currentTarget=t,this._itemClickHandler(e,t.find(">."+y)))},n=function(e){e.preventDefault(),this._changeCheckBoxState(this.option("focusedElement"))},i=function(e,t){if(this.option("expandAllEnabled")){t.preventDefault();var n=this.option("focusedElement");if(n){var i=this._getItemData(n.find("."+y));this._toggleExpandedNestedItems([i],e)}}};return o.extend(this.callBase(),{enter:this._showCheckboxes()?n:t,space:this._showCheckboxes()?n:t,asterisk:o.proxy(i,this,!0),minus:o.proxy(i,this,!1)})},_changeCheckBoxState:function(e){var t=this._getCheckBoxInstance(e),n=t.option("value");t.option("disabled")||this._updateItemSelection(!n,e.find("."+y).get(0),!0,e)},_toggleExpandedNestedItems:function(e,t){if(e)for(var n=0,i=e.length;i>n;n++){var o=e[n],a=this._dataAdapter.getNodeByItem(o);this._toggleExpandedState(a,t),this._toggleExpandedNestedItems(o.items,t)}},_getNodeElement:function(e){return this.element().find("["+A+"='"+s.normalizeKey(e.internalFields.key)+"']")},_activeStateUnit:"."+y,_widgetClass:function(){return m},_getDefaultOptions:function(){return o.extend(this.callBase(),{animationEnabled:!0,dataStructure:"tree",expandAllEnabled:!1,hasItemsExpr:"hasItems",selectNodesRecursive:!0,expandNodesRecursive:!0,showCheckBoxesMode:"none",selectAllText:a.format("dxList-selectAll"),onItemSelectionChanged:null,onItemExpanded:null,onItemCollapsed:null,scrollDirection:"vertical",virtualModeEnabled:!1,rootValue:0,searchValue:"",focusStateEnabled:!1,selectionMode:"multiple",expandEvent:"dblclick",selectByClick:!1})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{showCheckBoxes:{since:"15.2",message:"use 'showCheckBoxesMode' option instead"},selectAllEnabled:{since:"15.2",message:"use 'showCheckBoxesMode' option instead"},onItemSelected:{since:"16.1",alias:"onItemSelectionChanged"}})},_initSelectedItems:o.noop,_syncSelectionOptions:o.noop,_fireSelectionChanged:function(){var e=this._selectionChangePromise;o.when(e).done(o.proxy(function(){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})()},this))},_checkBoxModeChange:function(e,t){if("none"===t||"none"===e)return void this.repaint();var n=this._$selectAllItem&&this._$selectAllItem.length;switch(e){case"selectAll":!n&&this._renderSelectAllItem();break;case"normal":n&&(this._$selectAllItem.remove(),delete this._$selectAllItem)}},_removeSelection:function(){var e=this;o.each(this._dataAdapter.getFullData(),function(t,n){e._hasChildren(n)&&e._dataAdapter.toggleSelection(n.internalFields.key,!1,!0)})},_optionChanged:function(e){var t=e.name,n=e.value,i=e.previousValue;switch(t){case"showCheckBoxes":this.option("showCheckBoxesMode",n?"normal":"none");break;case"selectAllEnabled":this.option("showCheckBoxesMode",n?"selectAll":"normal");break;case"selectAllText":this._$selectAllItem&&this._$selectAllItem.dxCheckBox("instance").option("text",n);break;case"showCheckBoxesMode":this._checkBoxModeChange(n,i);break;case"scrollDirection":this._scrollableContainer.option("direction",n);break;case"items":delete this._$selectAllItem,this.callBase(e);break;case"dataSource":this.callBase(e),this._initDataAdapter(),this._filter={};break;case"hasItemsExpr":this._initAccessors(),this.repaint();break;case"expandEvent":this._toggleExpandEvent(e.previousValue,e.value);break;case"dataStructure":case"rootValue":case"searchValue":(!n.length||i>n)&&"none"!==this.option("showCheckBoxesMode")&&this._removeSelection(),this._initDataAdapter(),this.repaint();break;case"selectNodesRecursive":case"expandNodesRecursive":case"onItemSelectionChanged":case"onItemExpanded":case"onItemCollapsed":case"expandAllEnabled":case"animationEnabled":case"virtualModeEnabled":case"selectByClick":break;default:this.callBase(e)}},_initDataSource:function(){var e=this,t=this._filter;if(this.callBase(),this._isVirtualMode()){t.custom||(t.custom=this._dataSource.filter()),t.internal||(t.internal=[this.option("parentIdExpr"),this.option("rootValue")]);var n=this._combineFilter();this._dataSource.filter(n),this._dataSource.on("loadingChanged",function(t){t&&!this.isLoaded()&&(e.option("items",[]),e._dataSource.filter()!==n&&e._dataSource.filter([]))})}},_combineFilter:function(){return this._filter.custom&&this._filter.custom.length?[this._filter.custom,this._filter.internal]:this._filter.internal},_dataSourceLoadErrorHandler:function(){this._renderEmptyMessage()},_init:function(){this._filter={},this.callBase(),this._initStoreChangeHandlers(),this._initCheckBoxesMode()},_dataSourceChangedHandler:function(e){var t=o.inArray(e[0],this.option("items"))+1;return this._initialized&&this._isVirtualMode()&&this.option("items").length?(t||(this.option().items=this.option("items").concat(e),this._initDataAdapter()),void(!this._contentAlreadyRendered&&this._renderContent())):void this.option("items",e)},_initStoreChangeHandlers:function(){if("plain"===this.option("dataStructure")){var e=this;this._dataSource&&this._dataSource.store().on("inserted",function(t){e.option().items=e.option("items").concat(t),e._dataAdapter.addItem(t),e._isFiltered(t)&&e._updateLevel(e._parentIdGetter(t))}).on("removed",function(t){var n=e._dataAdapter.getNodeByKey(t);e.option("items")[e._dataAdapter.getIndexByKey(n.internalFields.key)]=0,e._markChildrenItemsToRemove(n),e._removeItems(),e._dataAdapter.removeItem(t),e._updateLevel(e._parentIdGetter(n))})}},_markChildrenItemsToRemove:function(e){var t=this,n=e.internalFields.childrenKeys;o.each(n,function(e,n){t.option("items")[t._dataAdapter.getIndexByKey(n)]=0,t._markChildrenItemsToRemove(t._dataAdapter.getNodeByKey(n))})},_removeItems:function(){var e=this,t=0,n=o.extend(!0,[],this.option("items"));o.each(n,function(n,i){i||(e.option("items").splice(n-t,1),t++)})},_isFiltered:function(e){var t=this.option("searchValue"),n=new RegExp(t,"i");return n.test(this._displayGetter(e))},_updateLevel:function(e){var t=this._getContainerByParentKey(e);this._renderItems(t,this._dataAdapter.getChildrenNodes(e))},_getOldContainer:function(e){return e.length?e.find(" > ."+v):this._scrollableContainer?this._scrollableContainer.content().children():o()},_getContainerByParentKey:function(e){var t,n=this._dataAdapter.getNodeByKey(e),i=n?this._getNodeElement(n):[];return this._getOldContainer(i).remove(),t=this._renderNodeContainer(i),this._isRootLevel(e)&&(this._scrollableContainer||this._renderScrollableContainer(),this._scrollableContainer.content().append(t)),t},_isRootLevel:function(e){return e===this.option("rootValue")},_getAccessors:function(){return["key","display","selected","expanded","items","parentId","disabled","hasItems"]},_getDataAdapterOptions:function(){return{rootValue:this.option("rootValue"),multipleSelection:!this._isSingleSelection(),recursiveSelection:this.option("selectNodesRecursive"),recursiveExpansion:this.option("expandNodesRecursive"),searchValue:this.option("searchValue"),dataType:this.option("dataStructure")}},_render:function(){this._attachPointerEventHandler(),this.callBase(),this.setAria("role","tree")},_attachPointerEventHandler:function(){var e=this,t=h.down;this.element().off(t).on(t,function(t){var n=o(t.target).closest(e._activeStateUnit);n.length||t.preventDefault()})},_renderContentImpl:function(){if(this.option("items").length){var e=this._renderNodeContainer();this._renderScrollableContainer(),this._scrollableContainer.content().append(e),this._renderItems(e,this._dataAdapter.getRootNodes()),this._toggleExpandEvent(null,this.option("expandEvent")),this._selectAllEnabled()&&this._renderSelectAllItem(e)}},_isVirtualMode:function(){return this.option("virtualModeEnabled")&&this._isDataStructurePlain()&&this.option("dataSource")},_isDataStructurePlain:function(){return"plain"===this.option("dataStructure")},_fireContentReadyAction:function(){this.callBase(),this._scrollableContainer&&this._scrollableContainer.content().height()>this.element().height()&&this._scrollableContainer.update()},_renderScrollableContainer:function(){this._scrollableContainer=this._createComponent(o("<div>").appendTo(this.element()),_,{direction:this.option("scrollDirection"),useKeyboard:!1})},_renderNodeContainer:function(e){var t=o("<ul>").addClass(v);if(this.setAria("role","group",t),e&&e.length){var n=this._getItemData(e.find("> ."+y));this._expandedGetter(n)&&t.addClass(x),t.appendTo(e)}return t},_createDOMElement:function(e,t){var n=o("<li>").addClass(w).attr(A,s.normalizeKey(t.internalFields.key)).prependTo(e);return this.setAria({role:"treeitem",label:this._displayGetter(t.internalFields.item)||"",expanded:t.internalFields.expanded||!1,level:this._getLevel(e)},n),n},_getLevel:function(e){var t=e.parent();return t.hasClass("dx-scrollable-content")?1:parseInt(t.attr("aria-level"))+1},_showCheckboxes:function(){return"none"!==this.option("showCheckBoxesMode")},_selectAllEnabled:function(){return"selectAll"===this.option("showCheckBoxesMode")},_initCheckBoxesMode:function(){if(!this._showCheckboxes()){this._suppressDeprecatedWarnings();var e=this.option("showCheckBoxes"),t=this.option("selectAllEnabled");this._resumeDeprecatedWarnings(),this.option("showCheckBoxesMode",e?t?"selectAll":"normal":"none")}},_renderItems:function(e,t){for(var n=t.length-1,i=n;i>=0;i--)this._renderItem(t[i],e);this._renderFocusTarget()},_renderItem:function(e,t){var n=this._createDOMElement(t,e),i=e.internalFields;this._showCheckboxes()&&this._renderCheckBox(n,e),this.setAria("selected",i.selected,n),this._toggleSelectedClass(n,i.selected),this.callBase(i.key,i.item,n),i.item.visible!==!1&&this._renderChildren(n,e)},_renderChildren:function(e,t){return this._hasChildren(t)?(this._renderToggleItemVisibilityIcon(e,t),void this._renderSublevel(e,t)):void this._addLeafClass(e)},_hasChildren:function(e){return this._isVirtualMode()?this._hasItemsGetter(e.internalFields.item)!==!1:this.callBase(e)},_renderSublevel:function(e,t){var n=this._renderNodeContainer(e,t);if(t.internalFields.expanded){var i=this._getChildNodes(t);i.length?this._renderItems(n,i):this._renderNestedItems(n),n.addClass(x)}},_executeItemRenderAction:function(e,t,n){var i=this._dataAdapter.getNodeByItem(t);this._getItemRenderAction()({itemElement:n,itemIndex:e,itemData:t,node:i})},_addLeafClass:function(e){e.addClass(k)},_toggleExpandEvent:function(e,t){var n=this,i=this._getEventNameByOption(e)+"_expand",o=this._getEventNameByOption(t)+"_expand",a=this._itemContainer(),r=this._itemSelector();i&&a.off(i,r),o&&a.on(o,r,function(e){n._toggleExpandedState(e.currentTarget,void 0,e)})},_getEventNameByOption:function(e){switch(e){case"click":return u.addNamespace(r.name,this.NAME);case"dblclick":return u.addNamespace(p.name,this.NAME);default:return!1}},_getNodeByItemElement:function(e){return s.isPrimitive(e)?this._dataAdapter.getNodeByKey(e):(e=o(e).get(0),e?e.nodeType?this._dataAdapter.getNodeByItem(this._getItemData(e)):e.internalFields?e:this._dataAdapter.getNodeByItem(e):null)},_toggleExpandedState:function(e,t,n){var i=this._getNodeByItemElement(e),o=i.internalFields.expanded;if(!i.internalFields.disabled&&o!==t){if(this._isVirtualMode()){var a=this._getNodeElement(i);this._hasChildren(i)&&this._createLoadIndicator(a)}s.isDefined(t)||(t=!o),this._dataAdapter.toggleExpansion(i.internalFields.key,t),i.internalFields.expanded=t,this._isVirtualMode()&&!this._hasChildren(i)||this._updateExpandedItemsUI(i,t,n)}},_createLoadIndicator:function(e){var t=e.find(">."+S),n=e.find(" > ."+v);t.hasClass(T)||n.not(":empty").length||(this._createComponent("<div>",g,{}).element().appendTo(e),t.hide())},_renderToggleItemVisibilityIcon:function(e,t){var n=o("<div>").addClass(S).appendTo(e);t.internalFields.expanded&&(n.addClass(T),e.parent().addClass(x)),t.internalFields.disabled&&n.addClass(D),this._renderToggleItemVisibilityIconClick(n,t)},_renderToggleItemVisibilityIconClick:function(e,t){var n=u.addNamespace(r.name,this.NAME),i=this;e.off(n).on(n,function(e){i._toggleExpandedState(t,void 0,e)})},_updateExpandedItemsUI:function(e,t,n){var i,o=this,a=o._getNodeElement(e),r=a.find(">."+S);return r.toggleClass(T,t),t?(i=a.find(" > ."+v),void o._renderNestedItems(i).done(function(i){i&&o._updateExpandedItem(e,t,n)})):void o._updateExpandedItem(e,t,n)},_updateExpandedItem:function(e,t,n){var i=this._getNodeElement(e),o=i.find(" > ."+v);this._animateNodeContainer(o,t),this.setAria("expanded",t,i),this._fireExpandedStateUpdatedEvt(t,e,n)},_animateNodeContainer:function(e,t){var n=e.height();f.stop(e,!0),f.animate(e,{type:"custom",duration:this.option("animationEnabled")?400:0,from:{"max-height":t?0:n},to:{"max-height":t?n:0},start:function(){e.addClass(x)},complete:o.proxy(function(){e.css("max-height","none"),e.toggleClass(x,t),this._scrollableContainer.update()},this)})},_fireExpandedStateUpdatedEvt:function(e,t,n){var i,o=e?"onItemExpanded":"onItemCollapsed";this.option(o)&&this._hasChildren(t)&&(s.isDefined(n)?this._itemJQueryEventHandler(n,o,{node:this._dataAdapter.getPublicNode(t)}):(i=this._getNodeElement(t),this._itemEventHandler(i,o,{jQueryEvent:n,node:this._dataAdapter.getPublicNode(t)})))},_renderNestedItems:function(e){var t=o.Deferred();if(!e.is(":empty"))return t.resolve(!0).promise();if(this._isVirtualMode())this._renderVirtualNodes(e).done(function(e){t.resolve(e&&e.length)});else{var n=e.parent().find(">."+y),i=this._getNodeByItemElement(n),a=this._getChildNodes(i);this._renderItems(e,a),t.resolve(!0)}return t.promise()},_renderVirtualNodes:function(e){var t=e.parent(),n=this._getNodeByItemElement(t.find(">."+y)),i=this;return this._filter.internal=[this.option("parentIdExpr"),n.internalFields.key],this._dataSource.filter(this._combineFilter()),this._dataSource.load().done(function(o){var a=i._getVirtualNodes(o);if(i._renderItems(e,a),a.length&&!n.internalFields.selected){var r=i._getNodeElement(a[0]);i._updateParentsState(a[0],r)}i._normalizeIconState(t,a.length)})},_getVirtualNodes:function(e){var t=this,n=[];return o.each(e,function(e,i){var o=t._dataAdapter.getNodeByItem(i);o&&n.push(o)}),n},_normalizeIconState:function(e,t){var n,i=e.find(".dx-loadindicator");return i.length&&g.getInstance(i).option("visible",!1),t?(n=e.find("."+S),void n.show()):(e.find("."+S).removeClass(S),void e.addClass(k))},_renderContent:function(){this._renderEmptyMessage();var e=this.option("items");e&&e.length&&(e.length&&(this._contentAlreadyRendered=!0),this.callBase())},_renderSelectAllItem:function(e){e=e||this.element().find("."+v).first(),this._$selectAllItem=o("<div>").addClass(I);var t=this._dataAdapter.isAllSelected();this._createComponent(this._$selectAllItem,c,{value:t,text:this.option("selectAllText"),onValueChanged:o.proxy(this._toggleSelectAll,this)}),this._toggleSelectedClass(this._$selectAllItem,t),e.before(this._$selectAllItem);
},_toggleSelectAll:function(e){this._dataAdapter.toggleSelectAll(e.value),this._updateItemsUI(),this._fireSelectionChanged()},_renderCheckBox:function(e,t){e.addClass(b);var n=o("<div>").appendTo(e);this._createComponent(n,c,{value:t.internalFields.selected,onValueChanged:o.proxy(this._changeCheckboxValue,this),focusStateEnabled:!1,disabled:this._disabledGetter(t)})},_toggleSelectedClass:function(e,t){e.toggleClass(E,!!t)},_toggleNodeDisabledState:function(e,t){var n=this._getNodeElement(e),i=n.find("."+y).eq(0);if(this._dataAdapter.toggleNodeDisabledState(e.internalFields.key,t),i.toggleClass(D,!!t),this._showCheckboxes()){var o=this._getCheckBoxInstance(n);o.option("disabled",!!t)}},_itemOptionChanged:function(e,t,n){var i=this._dataAdapter.getNodeByItem(e);switch(t){case this.option("disabledExpr"):this._toggleNodeDisabledState(i,n)}},_changeCheckboxValue:function(e){var t=e.element.parent("."+w),n=this._getItemData(t.find("> ."+y)),i=this._dataAdapter.getNodeByItem(n),o=e.value;i.internalFields.selected!==o&&this._updateItemSelection(o,n,e.jQueryEvent)},_isSingleSelection:function(){return"single"===this.option("selectionMode")},_updateItemSelection:function(e,t,n){var i=this._getNodeByItemElement(t);i&&i.internalFields.selected!==e&&(this._isSingleSelection()&&this._toggleSelectAll({value:!1}),this._dataAdapter.toggleSelection(i.internalFields.key,e),this._updateItemsUI(),n?this._itemJQueryEventHandler(n,"onItemSelectionChanged",{node:this._dataAdapter.getPublicNode(i)}):this._fireOnSelectedEvent(i),this._fireSelectionChanged())},_fireOnSelectedEvent:function(e){var t=this.option("onItemSelectionChanged");t&&t.call(this,{itemData:e.internalFields.item,node:this._dataAdapter.getPublicNode(e)})},_getCheckBoxInstance:function(e){return e.find("> .dx-checkbox").dxCheckBox("instance")},_updateItemsUI:function(){var e=this;o.each(this._dataAdapter.getData(),function(t,n){var i=e._getNodeElement(n),o=n.internalFields.selected;if(i.length&&(e._toggleSelectedClass(i,o),e.setAria("selected",o,i),e._showCheckboxes())){var a=e._getCheckBoxInstance(i);a.option("value",o)}}),this._selectAllEnabled()&&this._$selectAllItem.dxCheckBox("instance").option("value",this._dataAdapter.isAllSelected())},_updateParentsState:function(e,t){var n,i,a=this._dataAdapter.getNodeByKey(e.internalFields.parentKey);t&&this._showCheckboxes()&&(n=a.internalFields.selected,i=o(t.parents("."+w)[0]),this._getCheckBoxInstance(i).option("value",n),this._toggleSelectedClass(i,n)),a.internalFields.parentKey!==this.option("rootValue")&&this._updateParentsState(a,i)},_itemEventHandlerImpl:function(e,t,n){var i=o(e).closest("."+w).find("> ."+y);return t(o.extend(this._extendActionArgs(i),n))},_itemContextMenuHandler:function(e){this._createEventHandler("onItemContextMenu",e)},_itemHoldHandler:function(e){this._createEventHandler("onItemHold",e)},_createEventHandler:function(e,t){var n=this._getItemData(t.currentTarget),i=this._dataAdapter.getNodeByItem(n);this._itemJQueryEventHandler(t,e,{node:this._dataAdapter.getPublicNode(i)})},_itemClass:function(){return y},_itemDataKey:function(){return C},_selectionEnabled:function(){return!0},_attachClickEvent:function(){var e=this,t=e._itemSelector(),n=u.addNamespace(r.name,e.NAME),i=u.addNamespace(h.down,this.NAME);e._itemContainer().off(n,t).off(i,t).on(n,t,function(t){e._itemClickHandler(t,o(this))}).on(i,t,function(t){e._itemPointerDownHandler(t)})},_itemClickHandler:function(e,t){var n=this._getItemData(t),i=this._dataAdapter.getNodeByItem(n);this._itemJQueryEventHandler(e,"onItemClick",{node:this._dataAdapter.getPublicNode(i)}),this.option("selectByClick")&&this._updateItemSelection(!i.internalFields.selected,n)},_updateSelectionToFirstItem:function(e,t){for(var n=t;n>=0;){var i=o(e[n]);this._updateItemSelection(!0,i.find("."+y).get(0),!0,i),n--}},_updateSelectionToLastItem:function(e,t){for(var n=t,i=e.length;i>n;){var a=o(e[n]);this._updateItemSelection(!0,a.find("."+y).get(0),!0,a),n++}},_focusInHandler:function(e){var t=e.currentTarget,n=this._focusTarget();if(-1!==o.inArray(t,n)&&this._toggleFocusClass(!0,t),this.option("focusedElement"))return void this._setFocusedItem(this.option("focusedElement"));var i=this._getActiveItem();this.option("focusedElement",i.closest("."+w))},_setFocusedItem:function(e){e&&e.length&&(e.children().hasClass(D)||this.callBase(e),this._scrollableContainer.scrollToElement(e.find("."+y).first()))},_itemPointerDownHandler:function(e){if(this.option("focusStateEnabled")){var t=o(e.target).closest("."+w);if(t.hasClass(w)){var n=t.hasClass(D)?null:t;this.option("focusedElement",n)}}},_findNonDisabledNodes:function(e){return e.not(function(){return o(this).find(">."+y).hasClass(D)})},_moveFocus:function(e,t){var n="up",i="down",o="first",a="last",r=this.option("rtlEnabled")?"right":"left",s=this.option("rtlEnabled")?"left":"right";this.element().find("."+v).each(function(){f.stop(this,!0)});var l=this._findNonDisabledNodes(this._nodeElements());if(l&&l.length)switch(e){case n:var c=this._prevItem(l);this.option("focusedElement",c),t.shiftKey&&this._showCheckboxes()&&this._updateItemSelection(!0,c.find("."+y).get(0),!0,c);break;case i:var d=this._nextItem(l);this.option("focusedElement",d),t.shiftKey&&this._showCheckboxes()&&this._updateItemSelection(!0,d.find("."+y).get(0),!0,d);break;case o:var u=l.first();t.shiftKey&&this._showCheckboxes()&&this._updateSelectionToFirstItem(l,l.index(this._prevItem(l))),this.option("focusedElement",u);break;case a:var h=l.last();t.shiftKey&&this._showCheckboxes()&&this._updateSelectionToLastItem(l,l.index(this._nextItem(l))),this.option("focusedElement",h);break;case s:this._expandFocusedContainer();break;case r:this._collapseFocusedContainer();break;default:return void this.callBase.apply(this,arguments)}},_nodeElements:function(){return this.element().find("."+w).not(":hidden")},_expandFocusedContainer:function(){var e=this.option("focusedElement");if(e&&!e.hasClass(k)){var t=e.find("."+v).eq(0);if(t.hasClass(x))return void this.option("focusedElement",this._nextItem(this._findNonDisabledNodes(this._nodeElements())));var n=this._getNodeByItemElement(e.find(">."+y));this._toggleExpandedState(n,!0)}},_getClosestNonDisabledNode:function(e){do e=e.parent().closest("."+w);while(e.children(".dx-treeview-item.dx-state-disabled").length);return e},_collapseFocusedContainer:function(){var e=this.option("focusedElement");if(e){var t=e.find("."+v).eq(0);if(!e.hasClass(k)&&t.hasClass(x)){var n=this._getNodeByItemElement(e.find(">."+y));this._toggleExpandedState(n,!1)}else{var i=this._getClosestNonDisabledNode(e);i.length&&this.option("focusedElement",i)}}},updateDimensions:function(){var e=this,t=o.Deferred();return e._scrollableContainer?e._scrollableContainer.update().done(function(){t.resolveWith(e)}):t.resolveWith(e),t.promise()},selectItem:function(e){this._updateItemSelection(!0,e)},unselectItem:function(e){this._updateItemSelection(!1,e)},expandItem:function(e){this._toggleExpandedState(e,!0)},collapseItem:function(e){this._toggleExpandedState(e,!1)},getNodes:function(){return this._dataAdapter.getTreeNodes()},selectAll:function(){this._selectAllEnabled()?this._$selectAllItem.dxCheckBox("instance").option("value",!0):this._toggleSelectAll({value:!0})},unselectAll:function(){this._selectAllEnabled()?this._$selectAllItem.dxCheckBox("instance").option("value",!1):this._toggleSelectAll({value:!1})},collapseAll:function(){var e=this;o.each(this._dataAdapter.getExpandedNodesKeys(),function(t,n){e._toggleExpandedState(n,!1)})}});l("dxTreeView",B),i.exports=B}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(4),s=a.inherit({_keydown:r.addNamespace("keydown","KeyboardProcessor"),codes:{8:"backspace",9:"tab",13:"enter",27:"escape",33:"pageUp",34:"pageDown",35:"end",36:"home",37:"leftArrow",38:"upArrow",39:"rightArrow",40:"downArrow",46:"del",32:"space",70:"F",65:"A",106:"asterisk",109:"minus"},ctor:function(e){var t=this;e=e||{},e.element&&(this._element=o(e.element)),e.focusTarget&&(this._focusTarget=e.focusTarget),this._handler=e.handler,this._context=e.context,this._childProcessors=[],this._element&&(this._processFunction=function(e){t.process(e)},this._element.on(this._keydown,this._processFunction))},dispose:function(){this._element&&this._element.off(this._keydown,this._processFunction),this._element=void 0,this._handler=void 0,this._context=void 0,this._childProcessors=void 0},clearChildren:function(){this._childProcessors=[]},push:function(e){return this._childProcessors||this.clearChildren(),this._childProcessors.push(e),e},attachChildProcessor:function(){var e=new s;return this._childProcessors.push(e),e},reinitialize:function(e,t){return this._context=t,this._handler=e,this},process:function(e){if(this._focusTarget&&this._focusTarget!==e.target&&o.inArray(e.target,this._focusTarget)<0)return!1;var t={key:this.codes[e.which]||e.which,ctrl:e.ctrlKey,shift:e.shiftKey,alt:e.altKey,originalEvent:e},n=this._handler&&this._handler.call(this._context,t);n&&this._childProcessors&&o.each(this._childProcessors,function(t,n){n.process(e)})}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=r.normalizeDataSourceOptions(e);return"paginate"in t||(t.paginate=!1),new r.DataSource(t)}function a(e){this._callback=e,this._items=this._ds=null,this._isShared=!1}var r=n(38),s=n(2).isArray;a.prototype={constructor:a,dispose:function(){this._reset()},isLoaded:function(){return!this._ds||this._ds.isLoaded()},items:function(){return this._ds?this._ds.items():this._items},_reset:function(){var e=this;e._items=null,e._ds&&(e._isShared?e._ds.off({changed:e._callback,loadError:e._callback}):e._ds.dispose(),e._ds=null,e._isShared=!1)},update:function(e){var t=this;t._reset(),!e||s(e)?(t._items=e||null,t._callback()):(t._isShared=e instanceof r.DataSource,t._ds=t._isShared?e:o(e),t._ds.on({changed:t._callback,loadError:t._callback}),t._ds.isLoaded()?t._callback():t._ds.load())}},t.DataSource=a,t.plugin={name:"data_source",init:function(){var e=this;e._dataSource=new t.DataSource(function(){e._dataSourceChangedHandler()})},dispose:function(){this._dataSource.dispose()},members:{_updateDataSource:function(){this._dataSource.update(this.option("dataSource"))}}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(71).format;i.exports=function(e,t){return o(e,t.format,t.precision)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=this,n=e.renderer;t._group=n.g().attr({"class":"dx-loading-indicator"}).linkOn(n.root,{name:"loading-indicator",after:"peripheral"}),t._rect=n.rect().attr({opacity:0}).append(t._group),t._text=n.text().attr({align:"center"}).append(t._group),t._createStates(e.eventTrigger,t._group,n.root,e.notify)}var a=n(7).patchFontOptions,r=0,s=1,l="linear",c=400,d="loadingIndicatorReady";o.prototype={constructor:o,_createStates:function(e,t,n,i){var o=this;o._states=[{opacity:0,start:function(){i(!1)},complete:function(){t.linkRemove(),n.attr({"pointer-events":null}),e(d)}},{opacity:.85,start:function(){t.linkAppend(),n.attr({"pointer-events":"none"}),i(!0)},complete:function(){e(d)}}],o._state=r},setSize:function(e){var t=e.width,n=e.height;this._rect.attr({width:t,height:n}),this._text.attr({x:t/2,y:n/2})},setOptions:function(e){this._rect.attr({fill:e.backgroundColor}),this._text.css(a(e.font)).attr({text:e.text}),this[e.show?"show":"hide"]()},dispose:function(){var e=this;e._group.linkRemove().linkOff(),e._group=e._rect=e._text=e._states=null},_transit:function(e){var t,n=this;n._state!==e&&(n._state=e,n._isHiding=!1,t=n._states[e],n._rect.stopAnimation().animate({opacity:t.opacity},{complete:t.complete,easing:l,duration:c,unstoppable:!0}),n._noHiding=!0,t.start(),n._noHiding=!1)},show:function(){this._transit(s)},hide:function(){this._transit(r)},scheduleHiding:function(){this._noHiding||(this._isHiding=!0)},fulfillHiding:function(){this._isHiding&&this.hide()}},t.LoadingIndicator=o,t.plugin={name:"loading_indicator",init:function(){function e(e){n._skipLoadingIndicatorOptions=!0,n.option("loadingIndicator",{show:e}),n._skipLoadingIndicatorOptions=!1,e&&n._hideTooltip&&n._hideTooltip()}var n=this;n._loadingIndicator=new t.LoadingIndicator({eventTrigger:n._eventTrigger,renderer:n._renderer,notify:e}),n._scheduleLoadingIndicatorHiding()},dispose:function(){this._loadingIndicator.dispose(),this._loadingIndicator=null},members:{_scheduleLoadingIndicatorHiding:function(){this._loadingIndicator.scheduleHiding()},_fulfillLoadingIndicatorHiding:function(){this._loadingIndicator.fulfillHiding()},showLoadingIndicator:function(){this._loadingIndicator.show()},hideLoadingIndicator:function(){this._loadingIndicator.hide()},_onBeginUpdate:function(){this._scheduleLoadingIndicatorHiding()}},customize:function(e){var t=e.prototype;if(t._dataSourceChangedHandler){var n=t._dataSourceChangedHandler;t._dataSourceChangedHandler=function(){this._scheduleLoadingIndicatorHiding(),n.apply(this,arguments)}}var i=t._setContentSize;t._setContentSize=function(){i.apply(this,arguments),this._loadingIndicator.setSize(this._canvas)},e.addChange({code:"LOADING_INDICATOR",handler:function(){this._skipLoadingIndicatorOptions||this._loadingIndicator.setOptions(this._getOption("loadingIndicator")),this._scheduleLoadingIndicatorHiding()},isThemeDependent:!0,option:"loadingIndicator",isOptionChange:!0}),t._eventsMap.onLoadingIndicatorReady={name:"loadingIndicatorReady"};var o=t._drawn;t._drawn=function(){o.apply(this,arguments),this._dataIsReady()&&this._fulfillLoadingIndicatorHiding()}}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){return!(a.msie&&a.version<9)||!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect}var a=n(21);o()?t.Renderer=n(258).SvgRenderer:(document.namespaces&&!document.namespaces.vml&&(document.namespaces.add("vml","urn:schemas-microsoft-com:vml"),document.createStyleSheet().cssText="vml\\:* { behavior:url(#default#VML); display: inline-block; } "),t.Renderer=n(521).VmlRenderer),t.isSvg=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return!!(e&&String(e).length>0)}function a(e,t,n){e.attr({text:t}).applyEllipsis(n)&&e.setTitle(t)}function r(e){return e>=0?u(e):g}function s(e){var t;return e>=0?t={left:u(e),top:u(e),right:u(e),bottom:u(e)}:(e=e||{},t={left:r(e.left),top:r(e.top),right:r(e.right),bottom:r(e.bottom)}),t}function l(e){this._params=e,this._group=e.renderer.g().attr({"class":e.cssClass}).linkOn(e.renderer.root,{name:"title",after:"peripheral"}),this._hasText=!1}function c(e){var t=h(e)?{text:e}:e||{};return t.subtitle=h(t.subtitle)?{text:t.subtitle}:t.subtitle||{},t}var d=n(1),u=Number,h=n(2).isString,p=n(7).patchFontOptions,f=n(7).enumParser(["left","center","right"]),_=n(7).enumParser(["top","bottom"]),g=10,m=3;n(1).extend(l.prototype,n(217).LayoutElement.prototype,{dispose:function(){var e=this;e._group.linkRemove(),e._group.linkOff(),e._titleElement&&(e._clipRect.dispose(),e._titleElement=e._subtitleElement=e._clipRect=null),e._params=e._group=e._options=null},_updateOptions:function(e){this._options=e,this._options.horizontalAlignment=f(e.horizontalAlignment,"center"),this._options.verticalAlignment=_(e.verticalAlignment,"top"),this._options.margin=s(e.margin)},_updateStructure:function(){var e=this,t=e._params.renderer,n=e._group,i={align:e._options.horizontalAlignment};e._titleElement||(e._titleElement=t.text().attr(i).append(n),e._subtitleElement=t.text().attr(i),e._clipRect=t.clipRect(),n.attr({clipId:e._clipRect.id})),n.linkAppend(),o(e._options.subtitle.text)?e._subtitleElement.append(n):e._subtitleElement.remove()},_updateTexts:function(){var e,t,n=this,i=n._options,a=i.subtitle,r=n._titleElement,s=n._subtitleElement,l="A";r.attr({text:l,y:0}).css(p(i.font)),e=r.getBBox(),n._titleTextY=e.height+e.y,r.attr({text:i.text}),e=r.getBBox(),t=-e.y,r.attr({y:t}),o(a.text)&&(t+=e.height+e.y,s.attr({text:a.text,y:0}).css(p(a.font)),t+=-s.getBBox().y-n._titleTextY+m,s.attr({y:t}))},_updateBoundingRectAlignment:function(){var e=this._boundingRect,t=this._options;e.verticalAlignment=t.verticalAlignment,e.horizontalAlignment=t.horizontalAlignment,e.cutLayoutSide=t.verticalAlignment,e.cutSide="vertical",e.position={horizontal:t.horizontalAlignment,vertical:t.verticalAlignment}},update:function(e){var t=this,n=o(e.text),i=n||n!==t._hasText;return n?(t._updateOptions(e),t._updateStructure(),t._updateTexts(),t._boundingRect={},t._updateBoundingRect(),t._updateBoundingRectAlignment()):(t._group.linkRemove(),t._boundingRect=null),t._hasText=n,i},draw:function(e,t){var n,i=this;return i._group.linkAppend(),i._correctTitleLength(e),n=i.getLayoutOptions(),(n.width>e||n.height>t)&&(i._params.incidentOccurred("W2103"),i._group.linkRemove(),i._boundingRect.width=i._boundingRect.height=0),i},probeDraw:function(e,t){return this.draw(e,t),this},_correctTitleLength:function(e){var t=this,n=t._options,i=n.margin,o=e-i.left-i.right;a(t._titleElement,n.text,o),t._subtitleElement&&a(t._subtitleElement,n.subtitle.text,o),t._updateBoundingRect()},getLayoutOptions:function(){return this._boundingRect||null},shift:function(e,t){var n=this,i=n.getLayoutOptions();return n._group.move(e-i.x,t-i.y),n._setClipRectSettings(),n},_setClipRectSettings:function(){var e=this.getLayoutOptions();this._clipRect.attr({x:e.x,y:e.y,width:e.width,height:e.height})},_updateBoundingRect:function(){var e,t=this,n=t._options,i=n.margin,o=t._boundingRect;e=t._group.getBBox(),e.height+=i.top+i.bottom-t._titleTextY,e.width+=i.left+i.right,e.x-=i.left,e.y+=t._titleTextY-i.top,n.placeholderSize>0&&(e.height=n.placeholderSize),o.height=e.height,o.width=e.width,o.x=e.x,o.y=e.y},layoutOptions:function(){return this._boundingRect&&{horizontalAlignment:this._boundingRect.horizontalAlignment,verticalAlignment:this._boundingRect.verticalAlignment}},measure:function(e){return this.draw(e[0],e[1]),[this._boundingRect.width,this._boundingRect.height]},move:function(e){var t=this._boundingRect;(e[2]-e[0]<t.width||e[3]-e[1]<t.height)&&this.draw(e[2]-e[0],e[3]-e[1]),this.shift(Math.round(e[0]),Math.round(e[1]))}}),t.Title=l,t.plugin={name:"title",init:function(){var e=this;e._title=new t.Title({renderer:e._renderer,cssClass:e._rootClassPrefix+"-title",incidentOccurred:e._incidentOccurred}),e._layout.add(e._title)},dispose:function(){this._title.dispose(),this._title=null},members:{_getTitleOptions:function(){return d.extend(!0,{},this._themeManager.theme("title"),c(this.option("title")))}},customize:function(e){e.addChange({code:"TITLE",handler:function(){this._title.update(this._getTitleOptions())&&this._change(["LAYOUT"])},isThemeDependent:!0,option:"title",isOptionChange:!0})}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){e.css({left:"-9999px"}).detach()}function a(e,t){var n=e;switch(t){case"argument":n={format:e.argumentFormat,precision:e.argumentPrecision};break;case"percent":n={format:{type:"percent",precision:e.format&&e.format.percentPrecision||e.percentPrecision}}}return n}function r(e){var t,n,i=this;i._eventTrigger=e.eventTrigger,i._wrapper=c("<div></div>").css({position:"absolute",overflow:"visible",width:0,height:0,"pointer-events":"none"}).addClass(e.cssClass),i._renderer=t=new d.Renderer({pathModified:e.pathModified,container:i._wrapper[0]}),n=t.root,n.attr({"pointer-events":"none"}),i._cloud=t.path([],"area").sharp().append(n),i._shadow=t.shadowFilter(),i._textGroup=t.g().attr({align:"center"}).append(n),i._text=t.text(void 0,0,0).append(i._textGroup),i._textGroupHtml=c("<div></div>").css({position:"absolute",width:0,padding:0,margin:0,border:"0px solid transparent"}).appendTo(i._wrapper),i._textHtml=c("<div></div>").css({position:"relative",display:"inline-block",padding:0,margin:0,border:"0px solid transparent"}).appendTo(i._textGroupHtml)}var s=document,l=window,c=n(1),d=n(170),u=n(2),h=10,p=n(7),f=n(168),_=Math.ceil;r.prototype={constructor:r,dispose:function(){this._wrapper.remove(),this._renderer.dispose(),this._options=null},setOptions:function(e){e=e||{};var t=this,n=t._cloudSettigns={opacity:e.opacity,filter:t._shadow.ref,"stroke-width":null,stroke:null},i=e.border||{},o=c(e.container);return t._container=(o.length?o:c("body")).get(0),t._shadowSettings=c.extend({x:"-50%",y:"-50%",width:"200%",height:"200%"},e.shadow),t._options=e,i.visible&&c.extend(n,{"stroke-width":i.width,stroke:i.color,"stroke-opacity":i.opacity,dashStyle:i.dashStyle}),t._textFontStyles=p.patchFontOptions(e.font),t._textFontStyles.color=e.font.color,t._wrapper.css({"z-index":e.zIndex}),t._customizeTooltip=c.isFunction(e.customizeTooltip)?e.customizeTooltip:null,t},setRendererOptions:function(e){return this._renderer.setOptions(e),this._textGroupHtml.css({direction:e.rtl?"rtl":"ltr"}),this},render:function(){var e=this;return o(e._wrapper),e._cloud.attr(e._cloudSettigns),e._shadow.attr(e._shadowSettings),e._textGroupHtml.css(e._textFontStyles),e._textGroup.css(e._textFontStyles),e._text.css(e._textFontStyles),e._eventData=null,e},update:function(e){return this.setOptions(e).render()},_prepare:function(e,t){var n=this._options,i={};return this._customizeTooltip&&(i=this._customizeTooltip.call(e,e),i=c.isPlainObject(i)?i:{},"text"in i&&(t.text=u.isDefined(i.text)?String(i.text):""),"html"in i&&(t.html=u.isDefined(i.html)?String(i.html):"")),"text"in t||"html"in t||(t.text=e.valueText||""),t.color=i.color||n.color,t.borderColor=i.borderColor||(n.border||{}).color,t.textColor=i.fontColor||(n.font||{}).color,!!t.text||!!t.html},show:function(e,t,n){var i,o,a=this,r={},s=a._options,c=s.paddingLeftRight,d=s.paddingTopBottom,u=a._textGroupHtml,h=a._textHtml,p=a._shadowSettings,f=p.offsetX,g=p.offsetY,m=2*p.blur+1,v=l.getComputedStyle;return a._prepare(e,r)?(a._state=r,r.tc={},a._wrapper.appendTo(a._container),a._cloud.attr({fill:r.color,stroke:r.borderColor}),r.html?(a._text.attr({text:""}),u.css({color:r.textColor,width:a._getCanvas().width}),h.html(r.html),v?(i=v(h.get(0)),i={x:0,y:0,width:_(parseFloat(i.width)),height:_(parseFloat(i.height))}):(i=h.get(0).getBoundingClientRect(),i={x:0,y:0,width:_(i.width?i.width:i.right-i.left),height:_(i.height?i.height:i.bottom-i.top)}),u.width(i.width),u.height(i.height)):(h.html(""),a._text.css({fill:r.textColor}).attr({text:r.text}),i=a._textGroup.css({fill:r.textColor}).getBBox()),o=r.contentSize={x:i.x-c,y:i.y-d,width:i.width+2*c,height:i.height+2*d,lm:m-f>0?m-f:0,rm:m+f>0?m+f:0,tm:m-g>0?m-g:0,bm:m+g>0?m+g:0},o.fullWidth=o.width+o.lm+o.rm,o.fullHeight=o.height+o.tm+o.bm+s.arrowLength,a.move(t.x,t.y,t.offset),a._eventData&&a._eventTrigger("tooltipHidden",a._eventData),a._eventData=n,a._eventTrigger("tooltipShown",a._eventData),!0):!1},hide:function(){var e=this;o(e._wrapper),e._eventData&&e._eventTrigger("tooltipHidden",e._eventData),e._eventData=null},move:function(e,t,n){n=n||0;var i=this,o=i._getCanvas(),a=i._state,r=a.tc,s=a.contentSize;i._calculatePosition(e,t,n,o)&&(i._cloud.attr({points:r.cloudPoints}).move(s.lm,s.tm),a.html?i._textGroupHtml.css({left:-s.x+s.lm,top:-s.y+s.tm+r.correction}):i._textGroup.move(-s.x+s.lm,-s.y+s.tm+r.correction),i._renderer.resize("out"===r.hp?o.fullWidth-o.left:s.fullWidth,"out"===r.vp?o.fullHeight-o.top:s.fullHeight)),n=i._wrapper.css({left:0,top:0}).offset(),i._wrapper.css({left:r.x-n.left,top:r.y-n.top})},formatValue:function(e,t){var n=t?a(this._options,t):this._options;return f(e,n)},getLocation:function(){return p.normalizeEnum(this._options.location)},isEnabled:function(){return!!this._options.enabled},isShared:function(){return!!this._options.shared},_calculatePosition:function(e,t,n,i){var o,a,r,s,l=this,c=l._options,d=c.arrowLength,u=l._state,p=u.tc,f=u.contentSize,_=f.width,g=_/2,m=f.height,v=t-i.top,x=i.top+i.height-t,w=e-i.left,y=i.width+i.left-e,b=m+d+n+f.tm,C=m+d+n+f.bm,k=_+f.lm,S=_+f.rm,T=g+f.lm,I=g+f.rm,D=0,E=[6,0],A=g+h,B=g,M=g-h,O=m+d,P="center",R="bottom";switch(a=r=m,c.verticalAlignment){case"top":R="bottom",s=!0;break;case"bottom":R="top",s=!0}switch(s||(b>v&&C>x?R="out":b>v&&(R="top")),s=!1,c.horizontalAlignment){case"left":P="right",s=!0;break;case"center":P="center",s=!0;break;case"right":P="left",s=!0}return s||(k>w&&S>y?P="out":T>w&&y>S?P="left":I>y&&w>k&&(P="right")),"out"===P?e=i.left:"left"===P?(A=h,B=M=0):"right"===P?(A=B=_,M=_-h,e-=_):"center"===P&&(e-=g),"out"===R?t=i.top:"top"===R?("out"!==P&&(D=d),E[0]=2,a=r=d,O=A,A=M,M=O,O=0,t+=n):t-=m+d+n,p.x=e-f.lm,p.y=t-f.tm,p.correction=D,P===p.hp&&R===p.vp?!1:(p.hp=P,p.vp=R,o=[0,0+D,_,0+D,_,m+D,0,m+D],"out"!==P&&"out"!==R&&(E.splice(2,0,A,a,B,O,M,r),o.splice.apply(o,E)),p.cloudPoints=o,!0)},_getCanvas:function(){var e=s.documentElement,t=s.body;return{left:l.pageXOffset||e.scrollLeft||0,top:l.pageYOffset||e.scrollTop||0,width:e.clientWidth||0,height:e.clientHeight||0,fullWidth:Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,t.clientWidth,e.clientWidth),fullHeight:Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,t.clientHeight,e.clientHeight)}}},t.Tooltip=r,t.plugin={name:"tooltip",init:function(){this._initTooltip()},dispose:function(){this._disposeTooltip()},members:{_initTooltip:function(){this._tooltip=new t.Tooltip({cssClass:this._rootClassPrefix+"-tooltip",eventTrigger:this._eventTrigger,pathModified:this.option("pathModified")})},_disposeTooltip:function(){this._tooltip.dispose(),this._tooltip=null},_hideTooltip:function(){this._tooltip.hide()},_onRender:function(){this._$element.is(":visible")||this._hideTooltip()},_setTooltipRendererOptions:function(){this._tooltip.setRendererOptions(this._getRendererOptions())},_setTooltipOptions:function(){this._tooltip.update(this._getOption("tooltip"))}},customize:function(e){var t=e.prototype;t._eventsMap.onTooltipShown={name:"tooltipShown"},t._eventsMap.onTooltipHidden={name:"tooltipHidden"},e.addChange({code:"TOOLTIP_RENDERER",handler:function(){this._setTooltipRendererOptions()},isThemeDependent:!0,isOptionChange:!0}),e.addChange({code:"TOOLTIP",handler:function(){this._setTooltipOptions()},isThemeDependent:!0,isOptionChange:!0,option:"tooltip"})}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(30),r=n(2),s=n(174),l=n(56),c=n(96).chart,d=n(220),u=d.chart.line,h=d.polar.line,p=n(7).map,f=o.extend,_=20;t.chart={},t.polar={};var g={_createBorderElement:u._createMainElement,_createLegendState:function(e,t){var n=c._createLegendState.call(this,e,t);return n.opacity=e.opacity,n},_getSpecialColor:function(e){return this._options._IE8?new l(e).highlight(_):e},_getRangeData:function(e,t){return s.calculateRangeData(this,e,t),s.addLabelPaddings(this),s.calculateRangeMinValue(this,e),this._rangeData},_getDefaultSegment:function(e){var t=u._getDefaultSegment(e);return t.area=t.line.concat(t.line.slice().reverse()),t},_updateElement:function(e,t,n,i,o){var a={points:t.line},r={points:t.area},s=e.line;n?(s&&s.animate(a,i),e.area.animate(r,i,o)):(s&&s.attr(a),e.area.attr(r))},_removeElement:function(e){e.line&&e.line.remove(),e.area.remove()},_drawElement:function(e){return{line:this._bordersGroup&&this._createBorderElement(e.line,{"stroke-width":this._styles.normal.border["stroke-width"]}).append(this._bordersGroup),area:this._createMainElement(e.area).append(this._elementsGroup)}},_applyStyle:function(e){var t=this;t._elementsGroup&&t._elementsGroup.attr(e.elements),t._bordersGroup&&t._bordersGroup.attr(e.border),o.each(t._graphics||[],function(t,n){n.line&&n.line.attr({"stroke-width":e.border["stroke-width"]}).sharp()})},_createPattern:function(e,t){if(t&&r.isObject(t)){var n=this._renderer.pattern(e,t);return this._patterns.push(n),n.id}return e},_parseStyle:function(e,t,n){var i=e.border||{},o=u._parseLineOptions(i,n);return o["stroke-width"]=i.visible?o["stroke-width"]:0,{border:o,elements:{stroke:"none",fill:this._createPattern(e.color||t,e.hatching),opacity:e.opacity}}},_areBordersVisible:function(){var e=this._options;return e.border.visible||e.hoverStyle.border.visible||e.selectionStyle.border.visible},_createMainElement:function(e,t){return this._renderer.path(e,"area").attr(t)},_getTrackerSettings:function(e){return{"stroke-width":e.singlePointSegment?this._defaultTrackerWidth:0}},_getMainPointsFromSegment:function(e){return e.area}};t.chart.area=f({},u,g,{_prepareSegment:function(e,t){var n=this._processSinglePointsAreaSegment(e,t);return{line:n,area:p(n,function(e){return e.getCoords()}).concat(p(n.slice().reverse(),function(e){return e.getCoords(!0)})),singlePointSegment:n!==e}},_processSinglePointsAreaSegment:function(e,t){if(1===e.length){var n=e[0],i=a.clone(n);return i[t?"y":"x"]+=1,i.argument=null,[n,i]}return e}}),t.polar.area=f({},h,g,{_prepareSegment:function(e,n,i){i&&h._closeSegment.call(this,e);var o=t.chart.area._prepareSegment.call(this,e);return o},_processSinglePointsAreaSegment:function(e){return d.polar.line._prepareSegment.call(this,e).line}}),t.chart.steparea=f({},t.chart.area,{_prepareSegment:function(e,n){return e=t.chart.area._processSinglePointsAreaSegment(e,n),t.chart.area._prepareSegment.call(this,d.chart.stepline._calculateStepLinePoints(e))}}),t.chart.splinearea=f({},t.chart.area,{_areaPointsToSplineAreaPoints:function(e){var t=e[e.length/2-1],n=e[e.length/2];e.splice(e.length/2,0,{x:t.x,y:t.y},{x:n.x,y:n.y})},_prepareSegment:function(e,n){var i=t.chart.area,o=i._processSinglePointsAreaSegment(e,n),a=i._prepareSegment.call(this,d.chart.spline._calculateBezierPoints(o,n));return this._areaPointsToSplineAreaPoints(a.area),a.singlePointSegment=o!==e,a},_getDefaultSegment:function(e){var n=t.chart.area._getDefaultSegment(e);return this._areaPointsToSplineAreaPoints(n.area),n},_createMainElement:function(e,t){return this._renderer.path(e,"bezierarea").attr(t)},_createBorderElement:d.chart.spline._createMainElement})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=e.min,i=e.max;e.min=n>t||!A(n)?t:n,e.max=t>i||!A(i)?t:i}function a(e,t,n,i,a){var r,s=("arg"===t?e.argumentAxisType:e.valueAxisType)===R,l=e._rangeData[t],c=l.interval;s&&"val"===t?(l.categories=l.categories||[],l.categories.push(n)):s||(o(l,n),"arg"===t&&(r=(A(i)?k(a?a(n,i):n-i):r)||c,l.interval=A(r)&&(c>r||!A(c))?r:c))}function r(e,t){var n=e._rangeData.val,i=e.valueAxisType===R;i||((t<n.minVisible||!A(n.minVisible))&&(n.minVisible=t),(t>n.maxVisible||!A(n.maxVisible))&&(n.maxVisible=t))}function s(e,t,n){var i=e._rangeData.val;e.valueAxisType===R?(i.categories=i.categories||[],i.categories.push(t,n)):(o(i,t),o(i,n))}function l(e,t,n){var i,o,a=e._rangeData.arg;return n?(a.minVisible=t.minArg,void(a.maxVisible=t.maxArg)):(i=t.minArg<t.maxArg?t.minArg:t.maxArg,o=t.maxArg>t.minArg?t.maxArg:t.minArg,a.min=i<a.min?i:a.min,a.max=o>a.max?o:a.max,a.minVisible=i,void(a.maxVisible=o))}function c(e,t){var n,i;A(t.minVal)&&A(t.maxVal)&&(n=t.minVal<t.maxVal?t.minVal:t.maxVal,i=t.maxVal>t.minVal?t.maxVal:t.minVal),A(t.minVal)&&(e._rangeData.val.min=n<e._rangeData.val.min?n:e._rangeData.val.min,e._rangeData.val.minVisible=n),A(t.maxVal)&&(e._rangeData.val.max=i>e._rangeData.val.max?i:e._rangeData.val.max,e._rangeData.val.maxVisible=i)}function d(e,t){var n,i=t.adjustOnZoom,o=e._points||[],a=!1,s=e._rangeData,l=e.getErrorBarRangeCorrector();I(o,function(t,c){var d=c.argument,u=t>0?o[t-1]:null;i&&e.argumentAxisType!==R&&d>=s.arg.minVisible&&d<=s.arg.maxVisible&&(a||(u&&u.hasValue()&&(r(e,u.value),m(s.val,u,l,O,P)),a=!0),c.hasValue()&&(r(e,c.value),m(s.val,c,l,O,P)),n=t)}),A(n)&&n<o.length-1&&o[n+1].hasValue()&&r(e,o[n+1].value),c(e,t)}function u(e,t,n,i){var o,a=t.adjustOnZoom,s=e._points||[],l=e._rangeData.arg,d=!1;I(s,function(t,c){var u=c.argument,h=t>0?s[t-1]:null;a&&e.argumentAxisType!==R&&u>=l.minVisible&&u<=l.maxVisible&&(d||(h&&h.hasValue()&&(r(e,h[n]),r(e,h[i])),d=!0),
c.hasValue()&&(r(e,c[n]),r(e,c[i])),o=t)}),A(o)&&o<s.length-1&&s[o+1].hasValue()&&r(e,s[o+1].value),c(e,t)}function h(e,t){var n=e._rangeData,i=e._points||[],o=e.argumentAxisType===R;delete n.arg.interval,I(i,function(n,r){var s=r.argument,l=n>0?i[n-1]:null,c=l&&l.argument;!o&&a(e,"arg",s,c,t)})}function p(e){var t=e._rangeData;t.arg.categories&&(t.arg.categories=M(t.arg.categories)),t.val.categories&&(t.val.categories=M(t.val.categories)),t.arg.axisType=e.argumentAxisType,t.arg.dataType=e.argumentType,t.val.axisType=e.valueAxisType,t.val.dataType=e.valueType}function f(e,t,n,i,o){var r=t[i],l=t[o],c=t.argument,d=n&&n[i],u=n&&n[o],h=n&&n.argument;t.hasValue()&&s(e,r,l,d,u),a(e,"arg",c,h)}function _(e,t){var n=e._rangeData.val,i=n[O],o=n[P];t=t||{},n&&"logarithmic"!==e.valueAxisType&&"datetime"!==e.valueType&&e.showZero!==!1&&(n[O]=i>(t.minVal||0)?t.minVal||0:i,n[P]=o<(t.maxVal||0)?t.maxVal||0:o,n.min=n.min>0?0:n.min,n.max=n.max<0?0:n.max)}function g(e){var t=e._rangeData.val,n=D(t);t.percentStick=!0,n||(t.min=t.min>0?0:t.min,t.max=t.max<0?0:t.max)}function m(e,t,n,i,o){if(n){var a=n(t),r=S.apply(void 0,a),s=T.apply(void 0,a);B(r)&&e[i]>r&&(e[i]=r),B(s)&&e[o]<s&&(e[o]=s)}}function v(e,t,n,i){var o=t.value,r=t.argument,s=n&&n.value,l=n&&n.argument;t.hasValue()&&a(e,"val",o,s),a(e,"arg",r,l),m(e._rangeData.val,t,i,"min","max")}function x(e){var t,n=e.getOptions().label;e.areLabelsVisible()&&n&&n.visible&&"inside"!==n.position&&(t=e._rangeData.val,t.min<0&&(t.minSpaceCorrection=!0),t.max>0&&(t.maxSpaceCorrection=!0))}function w(e){var t=e._rangeData.val;e.areLabelsVisible()&&e._options.label.visible&&"inside"!==e._options.label.position&&(t.minSpaceCorrection=t.maxSpaceCorrection=!0)}function y(e,t,n,i,o){var a=e._rangeData.val,r=!!i&&!!o,s=e.argumentAxisType===R;t&&A(t.minArg)&&A(t.maxArg)?(s||(a[O]=t.minVal,a[P]=t.maxVal),l(e,t,s),r?u(e,t,i,o):d(e,t)):!t&&n&&h(e,n),p(e)}var b=n(1),C=Math,k=C.abs,S=C.min,T=C.max,I=b.each,D=b.isEmptyObject,E=n(2),A=E.isDefined,B=isFinite,M=n(7).unique,O="minVisible",P="maxVisible",R="discrete";i.exports={processRange:v,calculateRangeData:y,addLabelPaddings:x,addRangeSeriesLabelPaddings:w,processFullStackedRange:g,calculateRangeMinValue:_,processTwoValues:f}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){}function a(e,t){e.smartAttr(t)}function r(e,t){e.outer.attr({stroke:t.stroke,"stroke-width":t["stroke-width"],"stroke-opacity":t["stroke-opacity"]}),e.inner.smartAttr({fill:t.fill,opacity:t.opacity,hatching:t.hatching})}var s=n(1).extend;s(o.prototype,{value:0,isNode:function(){return!!(this.nodes&&this.level<this.ctx.maxLevel)},isActive:function(){var e=this.ctx;return this.level>=e.minLevel&&this.level<=e.maxLevel},updateStyles:function(){var e=this,t=Number(e.isNode());e.state=e._buildState(e.ctx.settings[t].state,!t&&e.color&&{fill:e.color})},_buildState:function(e,t){var n=s({},e);return t?s(n,t):n},updateLabelStyle:function(){var e=this.ctx.settings[Number(this.isNode())];this.labelState=e.labelState,this.labelParams=e.labelParams},_getState:function(){return this.state},applyState:function(){l[Number(this.isNode())](this.tile,this._getState())}});var l=[a,r];i.exports=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(92);o.framework=n(267),n(279),n(81),n(82),n(302),n(147),n(301),n(300),n(9),n(158),n(179),n(63),n(64),n(125),n(13),n(89),n(278),i.exports=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(372)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(26),s=n(15),l=n(62).fitIntoRange,c=n(40),d=n(4),u=n(63),h="dxResizable",p="dx-resizable",f="dx-resizable-resizing",_="dx-resizable-handle",g="dx-resizable-handle-top",m="dx-resizable-handle-bottom",v="dx-resizable-handle-left",x="dx-resizable-handle-right",w="dx-resizable-handle-corner",y=d.addNamespace(u.start,h),b=d.addNamespace(u.move,h),C=d.addNamespace(u.end,h),k=c.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{handles:"all",step:"1",area:void 0,minWidth:30,maxWidth:1/0,minHeight:30,maxHeight:1/0,onResizeStart:null,onResize:null,onResizeEnd:null})},_init:function(){this.callBase(),this.element().addClass(p)},_render:function(){this.callBase(),this._renderActions(),this._renderHandles()},_renderActions:function(){this._resizeStartAction=this._createActionByOption("onResizeStart"),this._resizeEndAction=this._createActionByOption("onResizeEnd"),this._resizeAction=this._createActionByOption("onResize")},_renderHandles:function(){var e=this.option("handles");if("none"!==e){var t="all"===e?["top","bottom","left","right"]:e.split(" ");o.each(t,o.proxy(function(e,t){this._renderHandle(t)},this)),o.inArray("bottom",t)+1&&o.inArray("right",t)+1&&this._renderHandle("corner-bottom-right"),o.inArray("bottom",t)+1&&o.inArray("left",t)+1&&this._renderHandle("corner-bottom-left"),o.inArray("top",t)+1&&o.inArray("right",t)+1&&this._renderHandle("corner-top-right"),o.inArray("top",t)+1&&o.inArray("left",t)+1&&this._renderHandle("corner-top-left")}},_renderHandle:function(e){var t=this.element(),n=o("<div>");n.addClass(_).addClass(_+"-"+e).appendTo(t),this._attachEventHandlers(n)},_attachEventHandlers:function(e){if(!this.option("disabled")){var t={};t[y]=o.proxy(this._dragStartHandler,this),t[b]=o.proxy(this._dragHandler,this),t[C]=o.proxy(this._dragEndHandler,this),e.on(t,{direction:"both",immediate:!0})}},_dragStartHandler:function(e){var t=this.element();return t.is(".dx-state-disabled, .dx-state-disabled *")?void(e.cancel=!0):(this._toggleResizingClass(!0),this._movingSides=this._getMovingSides(e),this._elementLocation=s.locate(t),this._elementSize={width:t.outerWidth(),height:t.outerHeight()},this._renderDragOffsets(e),this._resizeStartAction({jQueryEvent:e,width:this._elementSize.width,height:this._elementSize.height,handles:this._movingSides}),void(e.targetElements=null))},_toggleResizingClass:function(e){this.element().toggleClass(f,e)},_renderDragOffsets:function(e){var t=this._getArea();if(t){var n=o(e.target).closest("."+_),i=n.outerWidth(),a=n.outerHeight(),r=n.offset(),s=t.offset;e.maxLeftOffset=r.left-s.left,e.maxRightOffset=s.left+t.width-r.left-i,e.maxTopOffset=r.top-s.top,e.maxBottomOffset=s.top+t.height-r.top-a}},_getBorderWidth:function(e,t){var n=e.css("border-"+t+"-width");return parseInt(n)||0},_dragHandler:function(e){var t=this.element(),n=this._getOffset(e),i=this._movingSides,o=this._elementLocation,a=this._elementSize,r=a.width+n.x*(i.left?-1:1),l=a.height+n.y*(i.top?-1:1);n.x&&this._renderWidth(r),n.y&&this._renderHeight(l);var c=n.y-((this.element().outerHeight()||l)-l),d=n.x-((this.element().outerWidth()||r)-r);s.move(t,{top:o.top+(i.top?c:0),left:o.left+(i.left?d:0)}),this._resizeAction({jQueryEvent:e,width:r,height:l,handles:this._movingSides})},_getOffset:function(e){var t=e.offset,n=r.pairToObject(this.option("step")),i=this._getMovingSides(e);return i.left||i.right||(t.x=0),i.top||i.bottom||(t.y=0),{x:t.x-t.x%n.h,y:t.y-t.y%n.v}},_getMovingSides:function(e){var t=o(e.target),n=t.hasClass(w+"-top-left"),i=t.hasClass(w+"-top-right"),a=t.hasClass(w+"-bottom-left"),r=t.hasClass(w+"-bottom-right");return{top:t.hasClass(g)||n||i,left:t.hasClass(v)||n||a,bottom:t.hasClass(m)||a||r,right:t.hasClass(x)||i||r}},_getArea:function(){var e=this.option("area");return o.isFunction(e)&&(e=e.call(this)),o.isPlainObject(e)?this._getAreaFromObject(e):this._getAreaFromElement(e)},_getAreaFromObject:function(e){var t={width:e.right-e.left,height:e.bottom-e.top,offset:{left:e.left,top:e.top}};return this._correctAreaGeometry(t),t},_getAreaFromElement:function(e){var t,n=o(e);return n.length&&(t={},t.width=n.innerWidth(),t.height=n.innerHeight(),t.offset=n.offset(),this._correctAreaGeometry(t,n)),t},_correctAreaGeometry:function(e,t){var n=t?this._getBorderWidth(t,"left"):0,i=t?this._getBorderWidth(t,"top"):0;e.offset.left+=n+this._getBorderWidth(this.element(),"left"),e.offset.top+=i+this._getBorderWidth(this.element(),"top"),e.width-=this.element().outerWidth()-this.element().innerWidth(),e.height-=this.element().outerHeight()-this.element().innerHeight()},_dragEndHandler:function(e){var t=this.element();this._resizeEndAction({jQueryEvent:e,width:t.outerWidth(),height:t.outerHeight(),handles:this._movingSides}),this._toggleResizingClass(!1)},_renderWidth:function(e){this.option("width",l(e,this.option("minWidth"),this.option("maxWidth")))},_renderHeight:function(e){this.option("height",l(e,this.option("minHeight"),this.option("maxHeight")))},_optionChanged:function(e){switch(e.name){case"disabled":case"handles":this._invalidate();break;case"minWidth":case"maxWidth":this._renderWidth(this.element().outerWidth());break;case"minHeight":case"maxHeight":this._renderHeight(this.element().outerHeight());break;case"onResize":case"onResizeStart":case"onResizeEnd":this._renderActions();break;case"gridStepHorizontal":case"gridStepVertical":case"area":case"step":break;default:this.callBase(e)}},_clean:function(){this.element().find("."+_).remove()}});a(h,k),i.exports=k}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(11),r=n(5),s=n(42),l=n(9),c=n(4),d="dxdblclick",u="dxDblClick",h=c.addNamespace(l.name,u),p=300,f=r.inherit({ctor:function(){this._handlerCount=0,this._forgetLastClick()},_forgetLastClick:function(){this._firstClickTarget=null,this._lastClickTimeStamp=-p},add:function(){this._handlerCount<=0&&o(document).on(h,o.proxy(this._clickHandler,this)),this._handlerCount++},_clickHandler:function(e){var t=e.timeStamp||o.now();t-this._lastClickTimeStamp<p?(c.fireEvent({type:d,target:a.closestCommonParent(this._firstClickTarget,e.target),originalEvent:e}),this._forgetLastClick()):(this._firstClickTarget=e.target,this._lastClickTimeStamp=t)},remove:function(){this._handlerCount--,this._handlerCount<=0&&(this._forgetLastClick(),o(document).off(h))}});s(d,new f),t.name=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(8),r=n(3),s=n(25),l=n(28),c=n(54),d=n(93),u="dx-actionsheet",h="dx-actionsheet-container",p="dx-actionsheet-popup-wrapper",f="dx-actionsheet-popover-wrapper",_="dx-actionsheet-cancel",g="dx-actionsheet-item",m="dxActionSheetItemData",v="dx-actionsheet-without-title",x=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{usePopover:!1,target:null,title:"",showTitle:!0,showCancelButton:!0,cancelText:a.format("Cancel"),onCancelClick:null,visible:!1,noDataText:"",focusStateEnabled:!1,selectionByClick:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios",tablet:!0},options:{usePopover:!0}}])},_itemContainer:function(){return this._$itemContainer},_itemClass:function(){return g},_itemDataKey:function(){return m},_toggleVisibility:o.noop,_renderDimensions:o.noop,_render:function(){this.element().addClass(u),this._createItemContainer(),this._renderPopup()},_createItemContainer:function(){this._$itemContainer=o("<div>").addClass(h),this._renderDisabled()},_renderDisabled:function(){this._$itemContainer.toggleClass("dx-state-disabled",this.option("disabled"))},_renderPopup:function(){this._$popup=o("<div>").appendTo(this.element()),this._isPopoverMode()?this._createPopover():this._createPopup(),this._renderPopupTitle(),this._mapPopupOption("visible")},_mapPopupOption:function(e){this._popup.option(e,this.option(e))},_isPopoverMode:function(){return this.option("usePopover")&&this.option("target")},_renderPopupTitle:function(){this._mapPopupOption("showTitle"),this._popup._wrapper().toggleClass(v,!this.option("showTitle"))},_clean:function(){this._$popup&&this._$popup.remove(),this.callBase()},_overlayConfig:function(){return{onInitialized:o.proxy(function(e){this._popup=e.component},this),disabled:!1,showTitle:!0,title:this.option("title"),deferRendering:!window.angular,onContentReady:o.proxy(this._popupContentReadyAction,this),onHidden:o.proxy(this.hide,this)}},_createPopover:function(){this._createComponent(this._$popup,d,o.extend(this._overlayConfig(),{width:this.option("width")||200,height:this.option("height")||"auto",target:this.option("target")})),this._popup._wrapper().addClass(f)},_createPopup:function(){this._createComponent(this._$popup,c,o.extend(this._overlayConfig(),{dragEnabled:!1,width:this.option("width")||"100%",height:this.option("height")||"auto",showCloseButton:!1,position:{my:"bottom",at:"bottom",of:window},animation:{show:{type:"slide",duration:400,from:{position:{my:"top",at:"bottom",of:window}},to:{position:{my:"bottom",at:"bottom",of:window}}},hide:{type:"slide",duration:400,from:{position:{my:"bottom",at:"bottom",of:window}},to:{position:{my:"top",at:"bottom",of:window}}}}})),this._popup._wrapper().addClass(p)},_popupContentReadyAction:function(){this._popup.content().append(this._$itemContainer),this._attachClickEvent(),this._attachHoldEvent(),this._renderContent(),this._renderCancelButton()},_renderCancelButton:function(){if(!this._isPopoverMode()&&(this._$cancelButton&&this._$cancelButton.remove(),this.option("showCancelButton"))){var e=this._createActionByOption("onCancelClick")||o.noop,t=this;this._$cancelButton=o("<div>").addClass(_).appendTo(this._popup.content()),this._createComponent(this._$cancelButton,s,{disabled:!1,text:this.option("cancelText"),onClick:function(n){var i={jQueryEvent:n,cancel:!1};e(i),i.cancel||t.hide()},_templates:{}})}},_attachItemClickEvent:o.noop,_itemClickHandler:function(e){this.callBase(e),o(e.target).is(".dx-state-disabled, .dx-state-disabled *")||this.hide()},_itemHoldHandler:function(e){this.callBase(e),o(e.target).is(".dx-state-disabled, .dx-state-disabled *")||this.hide()},_optionChanged:function(e){switch(e.name){case"width":case"height":case"visible":case"title":this._mapPopupOption(e.name);break;case"disabled":this._renderDisabled();break;case"showTitle":this._renderPopupTitle();break;case"showCancelButton":case"onCancelClick":case"cancelText":this._renderCancelButton();break;case"target":case"usePopover":case"items":this._invalidate();break;default:this.callBase(e)}},toggle:function(e){var t=this,n=o.Deferred();return t._popup.toggle(e).done(function(){t.option("visible",e),n.resolveWith(t)}),n.promise()},show:function(){return this.toggle(!0)},hide:function(){return this.toggle(!1)}});r("dxActionSheet",x),i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(33),r=n(3),s=n(2),l=n(150),c=n(90),d=n(19),u=n(4),h=n(226),p=n(8),f=n(23),_=".dx-list-item",g="dxListItemData",m="dx-dropdownlist-popup-wrapper",v="dx-skip-gesture-event",x=["startswith","contains","endwith","notcontains"],w=l.inherit({_supportedKeys:function(){var e=this.callBase();return o.extend({},e,{tab:function(t){if(this.option("opened")&&"instantly"===this.option("applyValueMode")){var n=this._list.option("focusedElement");n&&this._setSelectedElement(n)}else this._focusTarget().focusout();e.tab.apply(this,arguments)},space:o.noop,home:o.noop,end:o.noop})},_setSelectedElement:function(e){this._list.selectItem(e);var t=this._list.option("selectedItems"),n=this._valueGetter(t[t.length-1]);this._setValue(n)},_setValue:function(e){this.option("value",e)},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{pagingEnabled:{since:"15.1",message:"Use the 'dataSource.paginate' option instead"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),o.extend(h._dataExpressionDefaultOptions(),{displayValue:void 0,searchEnabled:!1,searchMode:"contains",searchTimeout:500,minSearchLength:0,searchExpr:null,valueChangeEvent:"input change keyup",selectedItem:null,pagingEnabled:void 0,noDataText:p.format("dxCollectionWidget-noDataText"),onSelectionChanged:null,onItemClick:o.noop,showDataBeforeSearch:!1,popupPosition:{my:"left top",at:"left bottom",offset:{h:0,v:0},collision:"flip"},popupWidthExtension:0}))},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"win"===e.platform&&e.version&&8===e.version[0]},options:{popupPosition:{offset:{v:-6}}}},{device:function(){return/android5/.test(f.current())},options:{popupWidthExtension:32}},{device:{platform:"ios"},options:{popupPosition:{offset:{v:-1}}}},{device:{platform:"generic"},options:{buttonsLocation:"bottom center"}}])},_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{value:!0,selectedItem:!0,displayValue:!0})},_init:function(){this.callBase(),this._initDataExpressions(),this._initActions(),this._setListDataSource(),this._validateSearchMode(),this._clearSelectedItem()},_initActions:function(){this._initContentReadyAction(),this._initSelectionChangedAction(),this._initItemClickAction()},_initContentReadyAction:function(){this._contentReadyAction=this._createActionByOption("onContentReady",{excludeValidators:["disabled","readOnly"]})},_initSelectionChangedAction:function(){this._selectionChangedAction=this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})},_initItemClickAction:function(){this._itemClickAction=this._createActionByOption("onItemClick")},_renderField:function(){this.callBase(),this._input().on("input",o.proxy(this._setFocusPolicy,this))},_preventFocusOnPopup:function(e){this._list&&this._list.initialOption("focusStateEnabled")&&e.preventDefault()},_createPopup:function(){this.callBase(),this._popup._wrapper().addClass(this._popupWrapperClass()),this._popup.content().off("mousedown").on("mousedown",o.proxy(this._preventFocusOnPopup,this))},_popupWrapperClass:function(){return m},_renderInputValue:function(){var e=o.proxy(this.callBase,this),t=this._getCurrentValue();return this._loadItem(t).always(o.proxy(function(n){this._setSelectedItem(n),e(t)},this))},_loadItem:function(e){var t=o.grep(this.option("items")||[],o.proxy(function(t){return this._isValueEquals(this._valueGetter(t),e)},this))[0];return void 0!==t?o.Deferred().resolve(t).promise():this._loadValue(e)},_setSelectedItem:function(e){var t=this._displayValue(e);this.option("selectedItem",s.ensureDefined(e,null)),this.option("displayValue",t)},_displayValue:function(e){return this._displayGetter(e)},_refreshSelected:function(){this._listItemElements().each(o.proxy(function(e,t){var n=o(t),i=this._valueGetter(n.data(g)),a=this._isSelectedValue(i);a?this._list.selectItem(n):this._list.unselectItem(n)},this))},_popupShownHandler:function(){this.callBase(),this._setFocusPolicy()},_setFocusPolicy:function(){this.option("focusStateEnabled")&&this._list&&this._list.option("focusedElement",null)},_isSelectedValue:function(e){return this._isValueEquals(e,this.option("value"))},_validateSearchMode:function(){var e=this.option("searchMode"),t=e.toLowerCase();if(o.inArray(t,x)<0)throw d.Error("E1019",e)},_clearSelectedItem:function(){this.option("selectedItem",null)},_processDataSourceChanging:function(){this._setListDataSource(),this._renderInputValue().fail(o.proxy(function(){this._isCustomValueAllowed()||this._clearSelectedItem()},this))},_isCustomValueAllowed:function(){return this.option("displayCustomValue")},reset:function(){this.option("value",null),this._clearFilter(),this._clearSelectedItem()},_listItemElements:function(){return this._$list?this._$list.find(_):o()},_popupConfig:function(){var e=this;return o.extend(this.callBase(),{width:this.option("width"),onShowing:function(){e.element().addClass(v)},onHidden:function(){e.element().removeClass(v)},height:"auto",maxHeight:o.proxy(this._getMaxHeight,this)})},_renderPopupContent:function(){this._renderList()},_attachChildKeyboardEvents:function(){this._childKeyboardProcessor=this._keyboardProcessor.attachChildProcessor(),this._setListOption("_keyboardProcessor",this._childKeyboardProcessor)},_fireContentReadyAction:o.noop,_setAriaTargetForList:function(){this._list._getAriaTarget=o.proxy(this._getAriaTarget,this),this._list.setAria("role","combobox")},_renderList:function(){this._listId=(new a)._value;var e=this._$list=o("<div>",{id:this._listId}).appendTo(this._popup.content());this._list=this._createComponent(e,c,this._listConfig()),this._refreshList(),this._setAriaTargetForList()},_renderOpenedState:function(){this.callBase();var e=this.option("opened")||void 0;this.setAria({activedescendant:e&&this._list.getFocusedItemId(),owns:e&&this._listId})},_refreshList:function(){this._list&&this._shouldRefreshDataSource()&&this._setListDataSource()},_shouldRefreshDataSource:function(){var e=!!this._list.option("dataSource");return e!==this._needPassDataSourceToList()},_listConfig:function(){return{selectionMode:"single",_templates:this.option("_templates"),templateProvider:this.option("templateProvider"),noDataText:this.option("noDataText"),onContentReady:o.proxy(this._listContentReadyHandler,this),itemTemplate:this._getTemplateByOption("itemTemplate"),indicateLoading:!1,tabIndex:-1,onItemClick:o.proxy(this._listItemClickAction,this),dataSource:this._getDataSource(),_keyboardProcessor:this._childKeyboardProcessor,selectedItem:this.option("selectedItem")}},_getDataSource:function(){return this._needPassDataSourceToList()?this._dataSource:null},_dataSourceOptions:function(){this._suppressDeprecatedWarnings();var e=this.option("pagingEnabled");return this._resumeDeprecatedWarnings(),{paginate:s.ensureDefined(e,!1)}},_listContentReadyHandler:function(){this._list=this._list||this._$list.dxList("instance"),this.option().items=this._list.option("items"),this._dimensionChanged(),this._contentReadyAction()},_setListOption:function(e,t){this._setWidgetOption("_list",arguments)},_listItemClickAction:function(e){this._listItemClickHandler(e),this._itemClickAction(e)},_listItemClickHandler:o.noop,_setListDataSource:function(){this._list&&(this._setListOption("dataSource",this._getDataSource()),this._needPassDataSourceToList()||this._setListOption("items",[]))},_needPassDataSourceToList:function(){return this.option("showDataBeforeSearch")||this._isMinSearchLengthExceeded()},_isMinSearchLengthExceeded:function(){return this._searchValue().toString().length>=this.option("minSearchLength")},_searchValue:function(){return this._input().val()||""},_getSearchEvent:function(){return u.addNamespace("keyup",this.NAME+"Search")},_renderEvents:function(){this.callBase(),this._shouldRenderSearchEvent()&&this._input().on(this._getSearchEvent(),o.proxy(this._searchHandler,this))},_shouldRenderSearchEvent:function(){return this.option("searchEnabled")},_refreshEvents:function(){this._input().off(this._getSearchEvent()),this.callBase()},_searchHandler:function(e){if(!this._isMinSearchLengthExceeded())return void this._searchCanceled();var t=this.option("searchTimeout");t?this._searchTimer||(this._searchTimer=setTimeout(o.proxy(this._searchDataSource,this),t)):this._searchDataSource()},_searchCanceled:function(){this._clearSearchTimer(),this._needPassDataSourceToList()&&this._filterDataSource(null),this._refreshList()},_searchDataSource:function(){this._clearSearchTimer(),this._filterDataSource(this._searchValue())},_filterDataSource:function(e){var t=this._dataSource;return t.searchExpr(this.option("searchExpr")||this._displayGetterExpr()),t.searchOperation(this.option("searchMode")),t.searchValue(e),t.load().done(o.proxy(this._dataSourceFiltered,this,e))},_clearFilter:function(){this._dataSource.searchValue()&&this._dataSource.searchValue(null)},_dataSourceFiltered:function(){this._refreshList(),this._refreshPopupVisibility()},_refreshPopupVisibility:function(){this.option("readOnly")||(this.option("opened",this._hasItemsToShow()),this.option("opened")&&this._dimensionChanged())},_hasItemsToShow:function(){var e=this._dataSource&&this._dataSource.items()||[],t=e.length,n=this._needPassDataSourceToList();return n&&t&&this._hasFocusClass()},_clearSearchTimer:function(){clearTimeout(this._searchTimer),delete this._searchTimer},_popupShowingHandler:function(){this._dimensionChanged()},_dimensionChanged:function(){this._popup&&this._updatePopupDimensions()},_updatePopupDimensions:function(){this._updatePopupWidth(),this._updatePopupHeight()},_updatePopupWidth:function(){this._setPopupOption("width",this.element().outerWidth()+this.option("popupWidthExtension"))},_updatePopupHeight:function(){this._popup.repaint(),this._list&&this._list.updateDimensions()},_getMaxHeight:function(){var e=this.element(),t=e.offset(),n=o(window).height(),i=Math.max(t.top,n-t.top-e.outerHeight());return Math.min(.5*n,i)},_clean:function(){this._list&&delete this._list,this.callBase()},_dispose:function(){this._clearSearchTimer(),this.callBase()},_setCollectionWidgetOption:function(){this._setListOption.apply(this,arguments)},_needFocusOnButtonClick:function(){return!0},_optionChanged:function(e){switch(this._dataExpressionOptionChanged(e),e.name){case"items":this.option("dataSource")||this._processDataSourceChanging();break;case"dataSource":this._processDataSourceChanging();break;case"valueExpr":case"displayExpr":this._renderValue();break;case"searchMode":this._validateSearchMode();break;case"minSearchLength":this._refreshList();break;case"searchEnabled":case"showDataBeforeSearch":case"searchExpr":case"pagingEnabled":this._invalidate();break;case"onContentReady":this._initContentReadyAction();break;case"onSelectionChanged":this._initSelectionChangedAction();break;case"onItemClick":this._initItemClickAction();break;case"noDataText":this._setListOption("noDataText");break;case"displayValue":this.option("text",e.value);break;case"itemTemplate":case"searchTimeout":case"popupWidthExtension":break;case"selectedItem":this._selectionChangedAction({selectedItem:e.value});break;default:this.callBase(e)}}}).include(h);r("dxDropDownList",w),i.exports=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(8),s=n(3),l=n(400),c=n(402),d=n(401),u=n(403),h=n(73).default,p=n(61),f=n(34),_=n(161),g="dx-scrollview",m=g+"-content",v=g+"-top-pocket",x=g+"-bottom-pocket",w=g+"-pull-down",y=g+"-scrollbottom",b=y+"-indicator",C=y+"-text",k=g+"-loadpanel",S={pullDown:l,swipeDown:c,slideDown:d,simulated:u},T=h.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{pullingDownText:r.format("dxScrollView-pullingDownText"),pulledDownText:r.format("dxScrollView-pulledDownText"),refreshingText:r.format("dxScrollView-refreshingText"),reachBottomText:r.format("dxScrollView-reachBottomText"),onPullDown:null,onReachBottom:null,refreshStrategy:"pullDown"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){var t=a.real();return"android"===t.platform},options:{refreshStrategy:"swipeDown"}},{device:function(e){return"win"===a.real().platform},options:{refreshStrategy:"slideDown"}}])},_init:function(){this.callBase(),this._loadingIndicatorEnabled=!0},_initMarkup:function(){this.callBase(),this.element().addClass(g),this._initContent(),this._initTopPocket(),this._initBottomPocket(),this._initLoadPanel()},_initContent:function(){var e=o("<div>").addClass(m);this._$content.wrapInner(e)},_initTopPocket:function(){var e=this._$topPocket=o("<div>").addClass(v),t=this._$pullDown=o("<div>").addClass(w);e.append(t),this._$content.prepend(e)},_initBottomPocket:function(){var e=this._$bottomPocket=o("<div>").addClass(x),t=this._$reachBottom=o("<div>").addClass(y),n=o("<div>").addClass(b),i=o("<div>")[p.publicName()](),a=this._$reachBottomText=o("<div>").addClass(C);this._updateReachBottomText(),t.append(n.append(i)).append(a),e.append(t),this._$content.append(e)},_initLoadPanel:function(){this._loadPanel=this._createComponent(o("<div>").addClass(k).appendTo(this.element()),_,{shading:!1,delay:400,message:this.option("refreshingText"),position:{of:this.element()}})},_updateReachBottomText:function(){this._$reachBottomText.text(this.option("reachBottomText"))},_createStrategy:function(){var e=this.option("useNative")?this.option("refreshStrategy"):"simulated",t=S[e];if(!t)throw Error("E1030",this.option("refreshStrategy"));this._strategy=new t(this),this._strategy.pullDownCallbacks.add(o.proxy(this._pullDownHandler,this)),this._strategy.releaseCallbacks.add(o.proxy(this._releaseHandler,this)),this._strategy.reachBottomCallbacks.add(o.proxy(this._reachBottomHandler,this))},_createActions:function(){this.callBase(),this._pullDownAction=this._createActionByOption("onPullDown"),this._reachBottomAction=this._createActionByOption("onReachBottom"),this._pullDownEnable(!!this.option("onPullDown")&&!f().designMode),this._reachBottomEnable(!!this.option("onReachBottom")&&!f().designMode)},_pullDownEnable:function(e){return 0===arguments.length?this._pullDownEnabled:(this._$pullDown.toggle(e),this._strategy.pullDownEnable(e),void(this._pullDownEnabled=e))},_reachBottomEnable:function(e){return 0===arguments.length?this._reachBottomEnabled:(this._$reachBottom.toggle(e),this._strategy.reachBottomEnable(e),void(this._reachBottomEnabled=e))},_pullDownHandler:function(){this._loadingIndicator(!1),this._pullDownLoading()},_loadingIndicator:function(e){return arguments.length<1?this._loadingIndicatorEnabled:void(this._loadingIndicatorEnabled=e)},_pullDownLoading:function(){this.startLoading(),this._pullDownAction()},_reachBottomHandler:function(){this._loadingIndicator(!1),this._reachBottomLoading()},_reachBottomLoading:function(){this.startLoading(),this._reachBottomAction()},_releaseHandler:function(){this.finishLoading(),this._loadingIndicator(!0)},_optionChanged:function(e){switch(e.name){case"onPullDown":case"onReachBottom":this._createActions();break;case"pullingDownText":case"pulledDownText":case"refreshingText":case"refreshStrategy":this._invalidate();break;case"reachBottomText":this._updateReachBottomText();break;default:this.callBase(e)}},isEmpty:function(){return!this.content().children().length},content:function(){return this._$content.children().eq(1)},release:function(e){return void 0!==e&&this.toggleLoading(!e),this._strategy.release()},toggleLoading:function(e){this._reachBottomEnable(e)},isFull:function(){return this.content().height()>this._$container.height()},refresh:function(){this.option("onPullDown")&&(this._strategy.pendingRelease(),this._pullDownLoading())},startLoading:function(){this._loadingIndicator()&&this.element().is(":visible")&&this._loadPanel.show(),this._lock()},finishLoading:function(){this._loadPanel.hide(),this._unlock()},_dispose:function(){this._strategy.dispose(),this.callBase(),this._loadPanel&&this._loadPanel.element().remove()}});s("dxScrollView",T),t.ScrollView=T}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=n(16).compileGetter,s=n(5),l=n(25),c=s.abstract,d="dx-toolbar-menu-container",u="dx-toolbar-menu-button",h=s.inherit({ctor:function(e){this._toolbar=e},render:function(){this._renderMenuButton(),this._renderWidget()},_widgetOptions:function(){var e=this._toolbar._createActionByOption("onItemClick");return{itemTemplate:o.proxy(this._getMenuItemTemplate,this),onItemClick:o.proxy(function(t){this._toggleMenu(!1,!0),e(t)},this)}},_getMenuItemTemplate:function(){return this._toolbar._getTemplateByOption("menuItemTemplate")},_renderWidget:function(){var e=o("<div>").appendTo(this._menuContainer());this._menu=this._toolbar._createComponent(e,this._menuWidgetClass(),this._widgetOptions()),this.renderMenuItems()},_menuContainer:c,_menuWidgetClass:c,_hasVisibleMenuItems:function(){var e=this._toolbar.option("items"),t=!1,n=r("visible"),i=r("locateInMenu"),s=!1;return o.each(e,function(e,o){var a=n(o,{functionsAsIs:!0}),r=i(o,{functionsAsIs:!0});"menu"===o.location&&(s=!0),a===!1||"auto"!==r&&"always"!==r&&"menu"!==o.location||(t=!0)}),s&&a.log("W0001","dxToolbar - 'location' item field","menu","16.1","Use 'locateInMenu' item field instead."),t},_getMenuItems:function(){return this._toolbar._getMenuItems()},_renderMenuButton:function(){var e=this._menuButtonOptions();this._renderMenuButtonContainer(),this._$button=o("<div>").appendTo(this._$menuButtonContainer).addClass(u),
this._toolbar._createComponent(this._$button,l,e)},_menuButtonOptions:function(){return{onClick:o.proxy(this._menuButtonClickHandler,this)}},_menuButtonClickHandler:function(){this._toggleMenu(!this._menuShown,!0)},_renderMenuButtonContainer:function(){var e=this._toolbar._$afterSection;this._$menuButtonContainer=o("<div>").appendTo(e).addClass(this._toolbar._buttonClass()).addClass(d)},renderMenuItems:function(){this._menu&&this._menu.option("items",this._getMenuItems())},toggleMenuVisibility:function(e,t){this._menu&&this._toggleMenu(e,t)},_toggleMenu:function(e,t){this._menuShown=e},getMenuWidget:function(){return this._menu},widgetOption:function(e,t){this._menu&&this._menu.option(e,t)},handleToolbarVisibilityChange:o.noop});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(31),r=n(3),s=n(22),l="dx-trackbar",c="dx-trackbar-container",d="dx-trackbar-range",u="dx-trackbar-wrapper",h=a.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{min:0,max:100,value:0})},_render:function(){this.element().addClass(l),this._renderWrapper(),this._renderContainer(),this._renderRange(),this.callBase(),this._renderValue()},_renderWrapper:function(){this._$wrapper=o("<div>").addClass(u).appendTo(this.element())},_renderContainer:function(){this._$bar=o("<div>").addClass(c).appendTo(this._$wrapper)},_renderRange:function(){this._$range=o("<div>").addClass(d).appendTo(this._$bar)},_renderValue:function(){var e=this.option("value"),t=this.option("min"),n=this.option("max");if(!(t>n)){if(t>e)return this.option("value",t),void(this._currentRatio=0);if(e>n)return this.option("value",n),void(this._currentRatio=1);var i=t===n?0:(e-t)/(n-t);!this._needPreventAnimation&&this._setRangeStyles({width:100*i+"%"}),this.setAria({valuemin:this.option("min"),valuemax:n,valuenow:e}),this._currentRatio=i}},_setRangeStyles:function(e){s.stop(this._$range),this._needPreventAnimation||s.animate(this._$range,{type:"custom",duration:100,to:e})},_optionChanged:function(e){switch(e.name){case"value":this._renderValue(),this.callBase(e);break;case"max":case"min":this._renderValue();break;default:this.callBase(e)}},_dispose:function(){s.stop(this._$range),this.callBase()}});r("dxTrackBar",h),i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(124),s=n(65),l=n(28),c="dx-validationsummary",d=c+"-item",u=c+"-item-data",h=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{focusStateEnabled:!1,noDataText:null})},_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{validationGroup:!0})},_init:function(){this.callBase(),this._initGroupRegistration()},_initGroupRegistration:function(){var e=this._findGroup(),t=s.addGroup(e);this._unsubscribeGroup(),this._groupWasInit=!0,this._validationGroup=e,this.groupSubscription=o.proxy(this._groupValidationHandler,this),t.on("validated",this.groupSubscription)},_unsubscribeGroup:function(){var e=s.getGroupConfig(this._validationGroup);e&&e.off("validated",this.groupSubscription)},_getOrderedItems:function(e,t){var n=[];return o.each(e,function(e,i){var a=o.grep(t,function(e){return e.validator===i?!0:void 0})[0];a&&n.push(a)}),n},_groupValidationHandler:function(e){var t=this,n=t._getOrderedItems(e.validators,o.map(e.brokenRules,function(e){return{text:e.message,validator:e.validator}}));t.validators=e.validators,o.each(t.validators,function(e,n){if(n._validationSummary!==this){var i=o.proxy(t._itemValidationHandler,t),a=function(){n.off("validated",i),n._validationSummary=null,i=null};n.on("validated",i),n.on("disposing",a),n._validationSummary=this}}),t.option("items",n)},_itemValidationHandler:function(e){var t,n=this.option("items"),i=e.isValid,a=!1,r=e.brokenRule&&e.brokenRule.message,s=e.validator;o.each(n,function(e,n){return n.validator===s?(i?t=e:n.text=r,a=!0,!1):void 0}),i^a||(i?n.splice(t,1):n.push({text:r,validator:s}),n=this._getOrderedItems(this.validators,n),this.option("items",n))},_render:function(){this.element().addClass(c),this.callBase()},_optionChanged:function(e){switch(e.name){case"validationGroup":this._initGroupRegistration();break;default:this.callBase(e)}},_itemClass:function(){return d},_itemDataKey:function(){return u},_postprocessRenderItem:function(e){e.itemElement.on("click",function(){e.itemData.validator.focus()})},_dispose:function(){this.callBase(),this._unsubscribeGroup()}}).include(r);a("dxValidationSummary",h),i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(46),r=a.inherit({ctor:function(e,t){this.callBase(o(),t),this._compileFunction=e},_renderCore:function(e,t,n){void 0===e&&void 0===t&&(e=n,n=void 0);var i=void 0===t?this._compileFunction(e,n):this._compileFunction(e,t,n),o=i.render(e,n,t);return i.owner()===this&&i.dispose(),o}});i.exports=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(46),a=o.inherit({_renderCore:function(){return this._element}});i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(92);i.exports=o.data=o.data||{},Object.defineProperty(o.data,"errorHandler",{get:function(){return n(24).errorHandler},set:function(e){n(24).errorHandler=e}}),Object.defineProperty(o.data,"_errorHandler",{get:function(){return n(24)._errorHandler},set:function(e){n(24)._errorHandler=e}}),o.data.DataSource=n(269),o.data.query=n(35),o.data.Store=n(49),o.data.ArrayStore=n(59),o.data.CustomStore=n(195),o.data.LocalStore=n(271),o.data.base64_encode=n(27).base64_encode,o.data.Guid=n(33),o.data.utils={},o.data.utils.compileGetter=n(16).compileGetter,o.data.utils.compileSetter=n(16).compileSetter,o.EndpointSelector=n(270),o.data.queryImpl=n(35).queryImpl,o.data.queryAdapters=n(139);var a=n(27);o.data.utils.normalizeBinaryCriterion=a.normalizeBinaryCriterion,o.data.utils.normalizeSortingInfo=a.normalizeSortingInfo,o.data.utils.errorMessageFromXhr=a.errorMessageFromXhr,o.data.utils.aggregators=a.aggregators,o.data.utils.keysEqual=a.keysEqual,o.data.utils.isDisjunctiveOperator=a.isDisjunctiveOperator,o.data.utils.isConjunctiveOperator=a.isConjunctiveOperator,o.data.utils.processRequestResultLock=a.processRequestResultLock,o.data.utils.toComparable=n(16).toComparable,o.data.utils.multiLevelGroup=n(49).multiLevelGroup,o.data.utils.arrangeSortingInfo=n(49).arrangeSortingInfo,o.data.utils.normalizeDataSourceOptions=n(38).normalizeDataSourceOptions}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(176),a=o.data=n(188);a.odata=n(266),i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(21),s=n(2),l={EXCEL:"xlsx",CSS:"css",PNG:"png",JPEG:"jpeg",GIF:"gif",SVG:"svg",PDF:"pdf"},c=t.MIME_TYPES={CSS:"text/css",EXCEL:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",PNG:"image/png",JPEG:"image/jpeg",GIF:"image/gif",SVG:"image/svg+xml",PDF:"application/pdf"};t.fileSaver={_getDataUri:function(e,t){return"data:"+c[e]+";base64,"+t},_linkDownloader:function(e,t,n){var i=document.createElement("a"),a={download:e,href:t};return document.body.appendChild(i),o(i).css({display:"none"}).text("load").attr(a)[0].click(),i},_formDownloader:function(e,t,n,i,a){var r={method:"post",action:e,enctype:"multipart/form-data"},s=o("<form>").css({display:"none"}).attr(r);s.append('<input type="hidden" name="fileName" value="'+t+'" />'),s.append('<input type="hidden" name="contentType" value="'+n+'" />'),s.append('<input type="hidden" name="data" value="'+i+'" />'),s.appendTo("body"),s.submit(),s.submit()&&s.remove()},_saveByProxy:function(e,t,n,i,o){return this._formDownloader(e,t,c[n],i,o)},_winJSBlobSave:function(e,t,n){var i=new Windows.Storage.Pickers.FileSavePicker;i.suggestedStartLocation=Windows.Storage.Pickers.PickerLocationId.documentsLibrary,i.fileTypeChoices.insert(c[n],["."+l[n]]),i.suggestedFileName=t,i.pickSaveFileAsync().then(function(t){t&&t.openAsync(Windows.Storage.FileAccessMode.readWrite).then(function(t){var n=e.msDetachStream();Windows.Storage.Streams.RandomAccessStream.copyAsync(n,t).then(function(){t.flushAsync().done(function(){n.close(),t.close()})})})})},_saveBlobAs:function(e,t,n,i){if(this._blobSaved=!1,s.isDefined(navigator.msSaveOrOpenBlob))navigator.msSaveOrOpenBlob(n,e),this._blobSaved=!0;else if(s.isDefined(window.WinJS))this._winJSBlobSave(n,e,t),this._blobSaved=!0;else{var a=window.URL||window.webkitURL||window.mozURL||window.msURL||window.oURL;if(i=s.isDefined(i)?i:function(){var e=o("#dxExportLink");a.revokeObjectURL(e.attr("href")),e.remove()},s.isDefined(a))return this._linkDownloader(e,a.createObjectURL(n),i)}},saveAs:function(e,t,n,i,o){if(e+="."+l[t],s.isFunction(window.Blob))this._saveBlobAs(e,t,n);else if(s.isDefined(i)&&!s.isDefined(navigator.userAgent.match(/iPad/i)))this._saveByProxy(i,e,t,n);else{if(s.isDefined(navigator.userAgent.match(/iPad/i))||a.log("E1034"),r.msie&&parseInt(r.version)<10)return;this._linkDownloader(e,this._getDataUri(t,n),o)}}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){e.content.push({type:i?"stream":"object",name:t+" 0 obj",content:n,stream:i}),b++}function a(e){return.75*e}function r(e,t){var n=a(t.width+2*y.x).toFixed(2),i=a(t.height+2*y.y).toFixed(2);o(e,T,{"/Type":"/Page","/Parent":k+" 0 R","/Resources":S+" 0 R","/MediaBox":"[0 0 "+n+" "+i+"]","/Contents":I+" 0 R"})}function s(e,t){var n=a(t.width+2*y.x),i=a(t.height+2*y.y);o(e,I,{"/Length":54},"0.20 w\n0 G\nq "+n.toFixed(2)+" 0 0 "+i.toFixed(2)+" 0.00 0.00 cm /I0 Do Q")}function l(e){o(e,k,{"/Type":"/Pages","/Kids":"["+T+" 0 R]","/Count":"1"})}function c(e){o(e,E,{"/Producer":"DevExtreme","/CreationDate":t.pdfCreator.generateCurrentDate()})}function d(e){o(e,A,{"/Type":"/Catalog","/Pages":"1 0 R","/OpenAction":"[3 0 R /FitH null]","/PageLayout":"/OneColumn"})}function u(e){o(e,S,{"/ProcSet":"[/PDF /ImageB /ImageC /ImageI]","/XObject":"<<\n/I0 5 0 R\n>>"})}function h(e,t,n){o(e,D,{"/Type":"/XObject","/Subtype":"/Image","/Width":n.width+2*y.x,"/Height":n.height+2*y.y,"/ColorSpace":"/DeviceRGB","/BitsPerComponent":8,"/Filter":"/DCTDecode","/Length":t.length},t)}function p(e){var n=t.pdfCreator;n.addLine("xref"),n.addLine("0 "+b),n.addLine("0000000000 65535 f"),w(e.content,function(e,t){var i,o="",a=t.offset;for(i=String(a).length;10>i;i++)o+="0";n.addLine(o+a+" 00000 n")})}function f(e){var n=t.pdfCreator;w(e.content,function(e,t){n.addLine(t.name),n.addLine("<<"),w(t.content,function(e,t){n.addLine(e+" "+t)}),n.addLine(">>"),"stream"===t.type&&(n.addLine("stream"),n.addLine(t.stream),n.addLine("endstream")),n.addLine("endobj"),t.offset=C,C=g.length})}function _(e){var n=t.pdfCreator;n.addLine("trailer"),n.addLine("<<"),n.addLine("/Size 8"),n.addLine("/Root 7 0 R"),n.addLine("/Info 6 0 R"),n.addLine(">>"),n.addLine("startxref"),n.addLine(g.length)}var g,m=n(1),v=n(134).imageCreator,x=n(21),w=m.each,y={x:30,y:20},b=0,C=0,k=1,S=2,T=3,I=4,D=5,E=6,A=7;t.pdfCreator={createPdfDoc:function(e,t){var n={content:[]};return r(n,t),s(n,t),l(n),h(n,e,t),u(n),c(n),d(n),n},addLine:function(e){g+=e+"\n"},closeLine:function(){g+="%%EOF"},generateCurrentDate:function(){return new Date},generatePdfString:function(e){return t.pdfCreator.addLine("%PDF-1.3"),C+=g.length,f(e),p(e),_(e),t.pdfCreator.closeLine(),g},getBlob:function(e,n,i){g="",C=0,b=1;var o=v.getImageData(e,m.extend({},n,{format:"jpeg"}),i),a=m.Deferred();return m.when(o).done(function(e){var i,o,r=t.pdfCreator.createPdfDoc(e,n),s=0;for(t.pdfCreator.generatePdfString(r),i=new ArrayBuffer(g.length),o=new Uint8Array(i),s;s<o.length;s++)o[s]=g.charCodeAt(s);a.resolve(new Blob([i],{type:"application/pdf"}))}),a}},t.getBlob=function(e,n,i){t.pdfCreator.getBlob(e,n,x.msie).done(i)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1);t.svgCreator={_markup:"",_imageArray:{},_imageDeferreds:[],_getBinaryFile:function(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){n.readyState===n.DONE&&t(200===n.status&&n.response?n.response:!1)},n.open("GET",e,!0),n.responseType="arraybuffer",n.send()},_loadImages:function(){var e=this;o.each(e._imageArray,function(t){var n=new o.Deferred;e._imageDeferreds.push(n),e._getBinaryFile(t,function(i){if(!i)return delete e._imageArray[t],void n.resolve();var o,a="",r=new Uint8Array(i),s=r.byteLength;for(o=0;s>o;o++)a+=String.fromCharCode(r[o]);e._imageArray[t]="data:image/png;base64,"+btoa(a),n.resolve()})})},_parseImages:function(e){var t,n=this;"image"===e.tagName&&(t=o(e).attr("xlink:href"),n._imageArray[t]||(n._imageArray[t]="")),o.each(e.childNodes,function(e,t){n._parseImages(t)})},_prepareImages:function(e){return this._parseImages(e),this._loadImages(),o.when.apply(o,this._imageDeferreds)},getBlob:function(e,t){var n,i=this,a='<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>',r=o.Deferred(),s=new DOMParser,l=s.parseFromString(e,"image/svg+xml"),c=l.childNodes[0],d=o(c);return d.css("background-color",t.backgroundColor),n=a+o("<html />").append(d[0]).html(),i._prepareImages(c).done(function(){o.each(i._imageArray,function(e,t){n=n.split(e).join(t)}),r.resolve(i._svgBlob(n))}),r},_svgBlob:function(e){return new Blob([e],{type:"image/svg+xml"})}},t.getBlob=function(e,n,i){t.svgCreator.getBlob(e,n).done(i)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(10),a=function(){var e={},t=function(t){return e[t]||0};return{obtain:function(n){e[n]=t(n)+1},release:function(n){var i=t(n);if(1>i)throw o.Error("E0014");1===i?delete e[n]:e[n]=i-1},locked:function(e){return t(e)>0}}};i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(16).compileGetter,l=n(16).toComparable,c=n(24),d=n(27),u=a.inherit({toArray:function(){var e=[];for(this.reset();this.next();)e.push(this.current());return e},countable:function(){return!1}}),h=u.inherit({ctor:function(e){this.array=e,this.index=-1},next:function(){return this.index+1<this.array.length?(this.index++,!0):!1},current:function(){return this.array[this.index]},reset:function(){this.index=-1},toArray:function(){return this.array.slice(0)},countable:function(){return!0},count:function(){return this.array.length}}),p=u.inherit({ctor:function(e){this.iter=e},next:function(){return this.iter.next()},current:function(){return this.iter.current()},reset:function(){return this.iter.reset()}}),f=p.inherit({ctor:function(e,t){this.callBase(e),this.index=-1,this.mapper=t},current:function(){return this.mapper(this.callBase(),this.index)},next:function(){var e=this.callBase();return e&&this.index++,e}}),_=u.inherit({ctor:function(e,t,n){e instanceof f||(e=new f(e,this._wrap)),this.iter=e,this.rules=[{getter:t,desc:n}]},thenBy:function(e,t){var n=new _(this.sortedIter||this.iter,e,t);return this.sortedIter||(n.rules=this.rules.concat(n.rules)),n},next:function(){return this._ensureSorted(),this.sortedIter.next()},current:function(){return this._ensureSorted(),this.sortedIter.current()},reset:function(){delete this.sortedIter},countable:function(){return this.sortedIter||this.iter.countable()},count:function(){return this.sortedIter?this.sortedIter.count():this.iter.count()},_ensureSorted:function(){var e=this;e.sortedIter||(o.each(e.rules,function(){this.getter=s(this.getter)}),e.sortedIter=new f(new h(this.iter.toArray().sort(function(t,n){return e._compare(t,n)})),e._unwrap))},_wrap:function(e,t){return{index:t,value:e}},_unwrap:function(e){return e.value},_compare:function(e,t){var n=e.index,i=t.index;if(e=e.value,t=t.value,e===t)return n-i;for(var o=0,a=this.rules.length;a>o;o++){var r=this.rules[o],s=l(r.getter(e)),c=l(r.getter(t)),d=r.desc?-1:1;if(null===s&&null!==c)return-d;if(null!==s&&null===c)return d;if(void 0===s&&void 0!==c)return d;if(void 0!==s&&void 0===c)return-d;if(c>s)return-d;if(s>c)return d}return n-i}}),g=function(){function e(e,n,i){return function(o){o=l(e(o));var a=t(n)?o===n:o==n;return i&&(a=!a),a}}function t(e){return""===e||0===e||e===!1}var n=function(e){var t,n,i=0,a=[],r=[];return o.each(e,function(){if(o.isArray(this)||o.isFunction(this)){if(a.length>1&&t!==n)throw new c.errors.Error("E4019");r.push(g(this)),a.push("op["+i+"](d)"),i++,t=n,n="&&"}else n=d.isConjunctiveOperator(this)?"&&":"||"}),new Function("op","return function(d) { return "+a.join(" "+t+" ")+" }")(r)},i=function(e){return r.isDefined(e)?e.toString():""},a=function(t){t=d.normalizeBinaryCriterion(t);var n=s(t[0]),o=t[1],a=t[2];switch(a=l(a),o.toLowerCase()){case"=":return e(n,a);case"<>":return e(n,a,!0);case">":return function(e){return l(n(e))>a};case"<":return function(e){return l(n(e))<a};case">=":return function(e){return l(n(e))>=a};case"<=":return function(e){return l(n(e))<=a};case"startswith":return function(e){return 0===l(i(n(e))).indexOf(a)};case"endswith":return function(e){var t=l(i(n(e))),o=i(a);return t.length<o.length?!1:t.lastIndexOf(a)===t.length-a.length};case"contains":return function(e){return l(i(n(e))).indexOf(a)>-1};case"notcontains":return function(e){return-1===l(i(n(e))).indexOf(a)}}throw c.errors.Error("E4003",o)};return function(e){return o.isFunction(e)?e:o.isArray(e[0])?n(e):a(e)}}(),m=p.inherit({ctor:function(e,t){this.callBase(e),this.criteria=g(t)},next:function(){for(;this.iter.next();)if(this.criteria(this.current()))return!0;return!1}}),v=u.inherit({ctor:function(e,t){this.iter=e,this.getter=t},next:function(){return this._ensureGrouped(),this.groupedIter.next()},current:function(){return this._ensureGrouped(),this.groupedIter.current()},reset:function(){delete this.groupedIter},countable:function(){return!!this.groupedIter},count:function(){return this.groupedIter.count()},_ensureGrouped:function(){if(!this.groupedIter){var e={},t=[],n=this.iter,i=s(this.getter);for(n.reset();n.next();){var a=n.current(),r=i(a);r in e?e[r].push(a):(e[r]=[a],t.push(r))}this.groupedIter=new h(o.map(t,function(t){return{key:t,items:e[t]}}))}}}),x=p.inherit({ctor:function(e,t){this.callBase(e),this.getter=s(t)},current:function(){return this.getter(this.callBase())},countable:function(){return this.iter.countable()},count:function(){return this.iter.count()}}),w=p.inherit({ctor:function(e,t,n){this.callBase(e),this.skip=Math.max(0,t),this.take=Math.max(0,n),this.pos=0},next:function(){if(this.pos>=this.skip+this.take)return!1;for(;this.pos<this.skip&&this.iter.next();)this.pos++;return this.pos++,this.iter.next()},reset:function(){this.callBase(),this.pos=0},countable:function(){return this.iter.countable()},count:function(){return Math.min(this.iter.count()-this.skip,this.take)}}),y=function(e,t){t=t||{},e instanceof u||(e=new h(e));var n=function(e){var n=t.errorHandler;n&&n(e),c._errorHandler(e)},i=function(t){var i,a=o.Deferred().fail(n),r=t.step,s=t.finalize;try{e.reset(),i="seed"in t?t.seed:e.next()?e.current():NaN;for(var l=i;e.next();)l=r(l,e.current());a.resolve(s?s(l):l)}catch(e){a.reject(e)}return a.promise()},a=function(e,t,n){return i(arguments.length<2?{step:arguments[0]}:{seed:e,step:t,finalize:n})},r=function(e){return i(d.aggregators[e])},l=function(t){return o.isFunction(t)||o.isArray(t)||(t=o.makeArray(arguments)),f(new x(e,t))},p=function(e){return l(s(e))},f=function(e){return y(e,t)};return{toArray:function(){return e.toArray()},enumerate:function(){var t=o.Deferred().fail(n);try{t.resolve(e.toArray())}catch(e){t.reject(e)}return t.promise()},sortBy:function(t,n){return f(new _(e,t,n))},thenBy:function(t,n){if(e instanceof _)return f(e.thenBy(t,n));throw c.errors.Error("E4004")},filter:function(t){return o.isArray(t)||(t=o.makeArray(arguments)),f(new m(e,t))},slice:function(t,n){return void 0===n&&(n=Number.MAX_VALUE),f(new w(e,t,n))},select:l,groupBy:function(t){return f(new v(e,t))},aggregate:a,count:function(){if(e.countable()){var t=o.Deferred().fail(n);try{t.resolve(e.count())}catch(e){t.reject(e)}return t.promise()}return r("count")},sum:function(e){return e?p(e).sum():r("sum")},min:function(e){return e?p(e).min():r("min")},max:function(e){return e?p(e).max():r("max")},avg:function(e){return e?p(e).avg():r("avg")}}};i.exports=y}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return e&&c.isFunction(e.then)}function a(e){return c.Deferred().resolve(e).promise()}function r(e,t){if(!c.isFunction(t))throw u.Error("E4011",e)}function s(e){throw u.Error("E4012",e)}function l(e){function t(e){var t=e[0],n=e[1];return t&&t.getResponseHeader?d.errorMessageFromXhr(t,n):null}return function(n){var i;i=n instanceof Error?n:new Error(t(arguments)||n&&String(n)||"Unknown error"),e.reject(i)}}var c=n(1),d=n(27),u=n(24).errors,h=n(49),p="totalCount",f="load",_="byKey",g="insert",m="update",v="remove",x=h.inherit({ctor:function(e){e=e||{},this.callBase(e),this._useDefaultSearch=!!e.useDefaultSearch,this._loadFunc=e[f],this._totalCountFunc=e[p],this._byKeyFunc=e[_],this._insertFunc=e[g],this._updateFunc=e[m],this._removeFunc=e[v]},createQuery:function(){throw u.Error("E4010")},_totalCountImpl:function(e){var t,n=this._totalCountFunc,i=c.Deferred();return r(p,n),t=n.apply(this,[e]),o(t)||(t=Number(t),isFinite(t)||s(p),t=a(t)),t.then(function(e){i.resolve(Number(e))},l(i)),this._addFailHandlers(i.promise())},_loadImpl:function(e){var t,n=this._loadFunc,i=c.Deferred();return r(f,n),t=n.apply(this,[e]),c.isArray(t)?t=a(t):null===t||void 0===t?t=a([]):o(t)||s(f),t.then(function(e,t){i.resolve(e,t)},l(i)),this._addFailHandlers(i.promise())},_byKeyImpl:function(e,t){var n,i=this._byKeyFunc,s=c.Deferred();return r(_,i),n=i.apply(this,[e,t]),o(n)||(n=a(n)),n.then(function(e){s.resolve(e)},l(s)),s.promise()},_insertImpl:function(e){var t,n=this._insertFunc,i=c.Deferred();return r(g,n),t=n.apply(this,[e]),o(t)||(t=a(t)),t.then(function(t){i.resolve(e,t)},l(i)),i.promise()},_updateImpl:function(e,t){var n,i=this._updateFunc,s=c.Deferred();return r(m,i),n=i.apply(this,[e,t]),o(n)||(n=a()),n.then(function(){s.resolve(e,t)},l(s)),s.promise()},_removeImpl:function(e){var t,n=this._removeFunc,i=c.Deferred();return r(v,n),t=n.apply(this,[e]),o(t)||(t=a()),t.then(function(){i.resolve(e)},l(i)),i.promise()}});i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(26),r=n(69);n(103);var s=2,l=function(e,t){return a.format("{0}({1})",e,o.map(t||{},function(e,t){return a.format("{0}={1}",t,e)}).join(","))},c=function(e,t){if(!e)return e;var n={};return o.each(e,function(e,i){n[e]=r.serializeValue(i,t)}),n},d={_extractServiceOptions:function(e){e=e||{},this._url=String(e.url).replace(/\/+$/,""),this._beforeSend=e.beforeSend,this._jsonp=e.jsonp,this._version=e.version||s,this._withCredentials=e.withCredentials,this._deserializeDates=e.deserializeDates},_sendRequest:function(e,t,n,i){return r.sendRequest(this.version(),{url:e,method:t,params:n||{},payload:i},{beforeSend:this._beforeSend,jsonp:this._jsonp,withCredentials:this._withCredentials},this._deserializeDates)},version:function(){return this._version}};t.SharedMethods=d,t.escapeServiceOperationParams=c,t.formatFunctionInvocationUrl=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(69),s=n(198),l=n(24),c=n(35),d=n(49),u=n(196);n(103);var h=function(e,t){var n=r.keyConverters[e];if(!n)throw l.errors.Error("E4014",e);return n(t)},p=d.inherit({ctor:function(e){this.callBase(e),this._extractServiceOptions(e),this._keyType=e.keyType,2===this.version()?this._updateMethod="MERGE":this._updateMethod="PATCH"},_customLoadOptions:function(){return["expand","customQueryParams"]},_byKeyImpl:function(e,t){var n={};return t&&t.expand&&(n.$expand=o.map(o.makeArray(t.expand),r.serializePropName).join()),this._sendRequest(this._byKeyUrl(e),"GET",n)},createQuery:function(e){var t,n;if(e=e||{},n={adapter:"odata",beforeSend:this._beforeSend,errorHandler:this._errorHandler,jsonp:this._jsonp,version:this._version,withCredentials:this._withCredentials,deserializeDates:this._deserializeDates,expand:e.expand,requireTotalCount:e.requireTotalCount},t=a.isDefined(e.urlOverride)?e.urlOverride:this._url,"customQueryParams"in e){var i=u.escapeServiceOperationParams(e.customQueryParams,this.version());4===this.version()?t=u.formatFunctionInvocationUrl(t,i):n.params=i}return c(t,n)},_insertImpl:function(e){this._requireKey();var t=this,n=o.Deferred();return o.when(this._sendRequest(this._url,"POST",null,e)).done(function(i){n.resolve(e,t.keyOf(i))}).fail(n.reject),n.promise()},_updateImpl:function(e,t){var n=o.Deferred();return o.when(this._sendRequest(this._byKeyUrl(e),this._updateMethod,null,t)).done(function(){n.resolve(e,t)}).fail(n.reject),n.promise()},_removeImpl:function(e){var t=o.Deferred();return o.when(this._sendRequest(this._byKeyUrl(e),"DELETE")).done(function(){t.resolve(e)}).fail(t.reject),t.promise()},_byKeyUrl:function(e,t){var n=e,i=this._keyType,a=t?s.formatLocalUrl(this._url):this._url;return o.isPlainObject(i)?(n={},o.each(i,function(t,i){n[t]=h(i,e[t])})):i&&(n=h(i,e)),a+"("+encodeURIComponent(r.serializeKey(n,this._version))+")"}},"odata").include(u.SharedMethods);i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=window.location,r="dxproxy.devexpress.com:8000",s=a.host===r,l={},c=function(){var e=document.createElement("a"),t=["protocol","hostname","port","pathname","search","hash"],n=function(e){return"/"!==e.charAt(0)&&(e="/"+e),e};return function(i){e.href=i;var a={};return o.each(t,function(){a[this]=e[this]}),a.pathname=n(a.pathname),a}}(),d=function(){return a.pathname.split("/")[1]};i.exports={parseUrl:c,isProxyUsed:function(){return s},formatProxyUrl:function(e){var t=c(e);if(!/^(localhost$|127\.)/i.test(t.hostname))return e;var n=r+"/"+d()+"_"+t.port;l[n]=t.hostname+":"+t.port;var i="http://"+n+t.pathname+t.search;return i},formatLocalUrl:function(e){if(e.indexOf(r)<0)return e;var t=e;for(var n in l)if(l.hasOwnProperty(n)&&e.indexOf(n)>=0){t=e.replace(n,l[n]);break}return t}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a=n(1),r=n(104),s=n(200),l={dxpointerdown:"mousedown",dxpointermove:"mousemove",dxpointerup:"mouseup",dxpointercancel:"",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},c=function(e){return e.pointerId=1,{pointers:o.pointers(),pointerId:1}},d=!1,u=function(){d||(o=new s(l,function(e,t){return!0}),d=!0)},h=r.inherit({ctor:function(){this.callBase.apply(this,arguments),u()},_fireEvent:function(e){return this.callBase(a.extend(c(e.originalEvent),e))}});h.map=l,h.normalize=c,h.activate=u,h.resetObserver=function(){o.reset()},i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=function(e,t){e=e.split(" "),o.each(e,function(e,n){document.addEventListener?document.addEventListener(n,t,!0):document.attachEvent("on"+n,t)})},r=function(e,t,n){n=n||function(){};var i=[],r=function(e){var n=-1;return o.each(i,function(i,o){return t(e,o)?(n=i,!1):!0}),n},s=function(e){-1===r(e)&&(n(e),i.push(e))},l=function(e){var t=r(e);t>-1&&i.splice(t,1)},c=function(e){i[r(e)]=e};a(e.dxpointerdown,s),a(e.dxpointermove,c),a(e.dxpointerup,l),a(e.dxpointercancel,l),this.pointers=function(){return i},this.reset=function(){i=[]}};i.exports=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(104);n(277);var s={dxpointerdown:"touchstart",dxpointermove:"touchmove",dxpointerup:"touchend",dxpointercancel:"touchcancel",dxpointerover:"",dxpointerout:"",dxpointerenter:"",dxpointerleave:""},l=function(e){var t=[];return o.each(e.touches,function(e,n){t.push(o.extend({pointerId:n.identifier},n))}),{pointers:t,pointerId:e.changedTouches[0].identifier}},c=function(e){return"ios"===a.real().platform&&("dxpointerdown"===e||"dxpointerup"===e)},d=r.inherit({ctor:function(){this.callBase.apply(this,arguments),this._pointerId=0},_handler:function(e){if(c(this._eventName)){var t=e.changedTouches[0];if(this._pointerId===t.identifier&&0!==this._pointerId)return;this._pointerId=t.identifier}return this.callBase.apply(this,arguments)},_fireEvent:function(e){return this.callBase(o.extend(l(e.originalEvent),e))}});d.map=s,d.normalize=l,i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){if(t.args){var n=t.args[0];e.jQueryEvent=n.jQueryEvent}"dxCommand"===(t.component||{}).NAME&&r.extend(e,t.component.option())}function a(e){if(e){var t=r(e.target);t.attr("href")&&e.preventDefault()}}var r=n(1),s=n(16),l=n(107).Route,c=function(e){return{routing:{execute:function(t){var n,i,s=t.action,l={};r.isPlainObject(s)&&(n=s.routeValues,n&&r.isPlainObject(n)?l=s.options:n=s,i=e.router.format(n),o(l,t),a(l.jQueryEvent),e.navigate(i,l),t.handled=!0)}},hash:{execute:function(t){if("string"==typeof t.action&&"#"===t.action.charAt(0)){var n=t.action.substr(1),i=t.args[0],c=n,d=function(e){var n=s.compileGetter(e),i=t.args[0].model;return n(i)},u=i.evaluate||d;c=n.replace(/\{([^}]+)\}/g,function(e,t){t=r.trim(t),t.indexOf(",")>-1&&(t=r.map(t.split(","),r.trim));var n=u(t);return void 0===n&&(n=""),n=l.prototype.formatSegment(n)});var h={};o(h,t),a(h.jQueryEvent),e.navigate(c,h),t.handled=!0}}},url:{execute:function(e){"string"==typeof e.action&&"#"!==e.action.charAt(0)&&(document.location=e.action)}}}};t.createActionExecutors=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a=n(1),r=n(5),s=r.abstract,l=n(52),c=n(2),d=n(80).utils.mergeCommands,u=n(202).createActionExecutors,h=n(107),p=n(79),f=n(145),_=n(140),g=n(8),m=n(141),v=n(58),x=n(32),w=n(122).sessionStorage,y=n(27),b=n(43),C="InProgress",k="Inited",S=r.inherit({ctor:function(e){e=e||{},this._options=e,this.namespace=e.namespace||window,this._applicationMode=e.mode?e.mode:"mobileApp",this.components=[],o=g.localizeString("@Back"),this.router=e.router||new h;var t={mobileApp:p.StackBasedNavigationManager,webSite:p.HistoryBasedNavigationManager};this.navigationManager=e.navigationManager||new t[this._applicationMode]({keepPositionInStack:"keepHistory"===e.navigateToRootViewMode}),this.navigationManager.on("navigating",a.proxy(this._onNavigating,this)),this.navigationManager.on("navigatingBack",a.proxy(this._onNavigatingBack,this)),this.navigationManager.on("navigated",a.proxy(this._onNavigated,this)),this.navigationManager.on("navigationCanceled",a.proxy(this._onNavigationCanceled,this)),this.stateManager=e.stateManager||new f({storage:e.stateStorage||w()}),this.stateManager.addStateSource(this.navigationManager),this.viewCache=this._createViewCache(e),this.commandMapping=this._createCommandMapping(e.commandMapping),this.createNavigation(e.navigation),this._isNavigating=!1,this._viewLinksHash={},l.registerExecutor(u(this)),this.components.push(this.router),this.components.push(this.navigationManager)},_createViewCache:function(e){var t;return t=e.viewCache?e.viewCache:e.disableViewCache?new v.NullViewCache:new v.CapacityViewCacheDecorator({size:e.viewCacheSize,viewCache:new v}),t.on("viewRemoved",a.proxy(function(e){this._releaseViewLink(e.viewInfo)},this)),t},_createCommandMapping:function(e){var t=e;return e instanceof m||(t=new m,t.load(m.defaultMapping||{}).load(e||{})),t},createNavigation:function(e){this.navigation=this._createNavigationCommands(e),this._mapNavigationCommands(this.navigation,this.commandMapping)},_createNavigationCommands:function(e){if(!e)return[];var t=0;return a.map(e,function(e){var n;return n=e instanceof _?e:new _(a.extend({root:!0},e)),n.option("id")||n.option("id","navigation_"+t++),n})},_mapNavigationCommands:function(e,t){var n=a.map(e,function(e){return e.option("id")});t.mapCommands("global-navigation",n)},_callComponentMethod:function(e,t){
var n=[];return a.each(this.components,function(i,o){if(o[e]&&a.isFunction(o[e])){var r=o[e](t);r&&r.done&&n.push(r)}}),a.when.apply(a,n)},init:function(){var e=this;return e._initState=C,e._callComponentMethod("init").done(function(){e._initState=k,e._processEvent("initialized")}).fail(function(e){throw e||b.Error("E3022")})},_onNavigatingBack:function(e){this._processEvent("navigatingBack",e)},_onNavigating:function(e){var t=this;if(t._isNavigating)return t._pendingNavigationArgs=e,void(e.cancel=!0);t._isNavigating=!0,delete t._pendingNavigationArgs;var n=this.router.parse(e.uri);if(!n)throw b.Error("E3001",e.uri);var i=this.router.format(n);e.uri!==i&&i?(e.cancel=!0,e.cancelReason="redirect",c.executeAsync(function(){t.navigate(i,e.options)})):t._processEvent("navigating",e)},_onNavigated:function(e){var t,n=this,i=e.options.direction,o=n._acquireViewInfo(e.item,e.options);return o.model||(this._processEvent("beforeViewSetup",{viewInfo:o}),n._createViewModel(o),n._createViewCommands(o),this._processEvent("afterViewSetup",{viewInfo:o})),n._highlightCurrentNavigationCommand(o),t=n._showView(o,i).always(function(){n._isNavigating=!1;var e=n._pendingNavigationArgs;e&&c.executeAsync(function(){n.navigate(e.uri,e.options)})})},_isViewReadyToShow:function(e){return!!e.model},_onNavigationCanceled:function(e){var t=this;if(!t._pendingNavigationArgs||t._pendingNavigationArgs.uri!==e.uri){var n=t.navigationManager.currentItem();n&&c.executeAsync(function(){var i=t._acquireViewInfo(n,e.options);t._highlightCurrentNavigationCommand(i,!0)}),t._isNavigating=!1}},_disposeRemovedViews:function(){var e,t=this;a.each(t._viewLinksHash,function(n,i){i.linkCount||(e={viewInfo:i.viewInfo},t._processEvent("viewDisposing",e,e.viewInfo.model),t._disposeView(i.viewInfo),t._processEvent("viewDisposed",e,e.viewInfo.model),delete t._viewLinksHash[n])})},_onViewHidden:function(e){var t={viewInfo:e};this._processEvent("viewHidden",t,t.viewInfo.model)},_disposeView:function(e){var t=e.commands||[];a.each(t,function(e,t){t._dispose()})},_acquireViewInfo:function(e,t){var n=this.router.parse(e.uri),i=this._getViewInfoKey(e,n),o=this.viewCache.getView(i);return o?this._updateViewInfo(o,e,t):(o=this._createViewInfo(e,t),this._obtainViewLink(o),this.viewCache.setView(i,o)),o},_getViewInfoKey:function(e,t){var n={key:e.key,navigationItem:e,routeData:t};return this._processEvent("resolveViewCacheKey",n),n.key},_processEvent:function(e,t,n){this._callComponentMethod(e,t),this.fireEvent(e,t&&[t]);var i=(n||{})[e];i&&i.call(n,t)},_updateViewInfo:function(e,t,n){var i=t.uri,o=this.router.parse(i);e.viewName=o.view,e.routeData=o,e.uri=i,e.navigateOptions=n,e.canBack=this.canBack(n.stack),e.previousViewInfo=this._getPreviousViewInfo(n)},_createViewInfo:function(e,t){var n=e.uri,i=this.router.parse(n),o={key:this._getViewInfoKey(e,i)};return this._updateViewInfo(o,e,t),o},_createViewModel:function(e){e.model=e.model||this._callViewCodeBehind(e)},_createViewCommands:function(e){e.commands=e.model.commands||[],e.canBack&&"webSite"!==this._applicationMode&&this._appendBackCommand(e)},_callViewCodeBehind:function(e){var t=a.noop,n=e.routeData;return n.view in this.namespace&&(t=this.namespace[n.view]),t.call(this.namespace,n,e)||{}},_appendBackCommand:function(e){var t=e.commands,n=this,i=o;n._options.useViewTitleAsBackText&&(i=((e.previousViewInfo||{}).model||{}).title||i);var a=[new _({id:"back",title:i,behavior:"back",onExecute:function(){n.back({stack:e.navigateOptions.stack})},icon:"arrowleft",type:"back",renderStage:n._options.useViewTitleAsBackText?"onViewRendering":"onViewShown"})],r=d(a,t);t.length=0,t.push.apply(t,r)},_showView:function(e,t){var n=this,i={viewInfo:e,direction:t,params:e.routeData};return y.processRequestResultLock.obtain(),n._showViewImpl(i.viewInfo,i.direction).done(function(){c.executeAsync(function(){y.processRequestResultLock.release(),n._processEvent("viewShown",i,e.model),n._disposeRemovedViews()})})},_highlightCurrentNavigationCommand:function(e,t){var n,i=this,o=e.model&&e.model.currentNavigationItemId;void 0!==o&&a.each(this.navigation,function(e,t){return t.option("id")===o?(n=t,!1):void 0}),n||a.each(this.navigation,function(e,t){var o=t.option("onExecute");return c.isString(o)&&(o=o.replace(/^#+/,""),o===i.navigationManager.rootUri())?(n=t,!1):void 0}),a.each(this.navigation,function(e,i){t&&i===n&&i.option("highlighted")&&i.fireEvent("optionChanged",[{name:"highlighted",value:!0,previousValue:!0}]),i.option("highlighted",i===n)})},_showViewImpl:s,_obtainViewLink:function(e){var t=e.key;this._viewLinksHash[t]?this._viewLinksHash[t].linkCount++:this._viewLinksHash[t]={viewInfo:e,linkCount:1}},_releaseViewLink:function(e){void 0===this._viewLinksHash[e.key]&&b.log("W3001",e.key),0===this._viewLinksHash[e.key].linkCount&&b.log("W3002",e.key),this._viewLinksHash[e.key].linkCount--},navigate:function(e,t){var n=this;if(a.isPlainObject(e)&&(e=n.router.format(e),e===!1))throw b.Error("E3002");if(n._initState){if(n._initState!==k)throw b.Error("E3003");n._isNavigating&&!e||n.navigationManager.navigate(e,t)}else n.init().done(function(){n.restoreState(),n.navigate(e,t)})},canBack:function(e){return this.navigationManager.canBack(e)},_getPreviousViewInfo:function(e){var t,n=this.navigationManager.previousItem(e.stack);if(n){var i=this.router.parse(n.uri);t=this.viewCache.getView(this._getViewInfoKey(n,i))}return t},back:function(e){this.navigationManager.back(e)},saveState:function(){this.stateManager.saveState()},restoreState:function(){this.stateManager.restoreState()},clearState:function(){this.stateManager.clearState()}}).include(x);t.Application=S}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(138),s="__root__",l="__buffer__",c=a.inherit({ctor:function(e){e=e||{},this._window=e.window||window,this.popState=o.Callbacks(),o(this._window).on("hashchange",o.proxy(this._onHashChange,this)),this._tasks=r.create(),this.canWorkInPureBrowser=!0},replaceState:function(e){var t=this;return this._addTask(function(){e=t._normalizeUri(e),t._window.history.replaceState(null,null,"#"+e),t._currentTask.resolve()})},pushState:function(e){var t=this;return this._addTask(function(){e=t._normalizeUri(e),t._window.history.pushState(null,null,"#"+e),t._currentTask.resolve()})},createRootPage:function(){return this.replaceState(s)},_onHashChange:function(){this._currentTask&&this._currentTask.resolve(),this.popState.fire()},back:function(){var e=this;return this._addTask(function(){e._window.history.back()})},getHash:function(){return this._normalizeUri(this._window.location.hash)},isRootPage:function(){return this.getHash()===s},_normalizeUri:function(e){return(e||"").replace(/^#+/,"")},_addTask:function(e){var t=this,n=o.Deferred();return this._tasks.add(function(){return t._currentTask=n,e(),n}),n.promise()}}),d=c.inherit({ctor:function(){this._innerEventCount=0,this.callBase.apply(this,arguments),this._skipNextEvent=!1},replaceState:function(e){var t=this;return e=t._normalizeUri(e),t.getHash()!==e?(t._addTask(function(){t._skipNextEvent=!0,t._window.history.back()}),t._addTask(function(){t._skipNextEvent=!0,t._window.location.hash=e})):o.Deferred().resolve().promise()},pushState:function(e){var t=this;return e=this._normalizeUri(e),this.getHash()!==e?t._addTask(function(){t._skipNextEvent=!0,t._window.location.hash=e}):o.Deferred().resolve().promise()},createRootPage:function(){return this.pushState(s)},_onHashChange:function(){var e=this._currentTask;this._currentTask=null,this._skipNextEvent?this._skipNextEvent=!1:this.popState.fire(),e&&e.resolve()}}),u=d.inherit({createRootPage:function(){return this.pushState(l),this.callBase()}}),h=c.inherit({ctor:function(e){e=e||{},this._window=e.window||window,this.popState=o.Callbacks(),o(this._window).on("dxback",o.proxy(this._onHashChange,this)),this._currentHash=this._window.location.hash},replaceState:function(e){return this._currentHash=this._normalizeUri(e),o.Deferred().resolve().promise()},pushState:function(e){return this.replaceState(e)},createRootPage:function(){return this.replaceState(s)},getHash:function(){return this._normalizeUri(this._currentHash)},back:function(){return this.replaceState(s)},_onHashChange:function(){var e=this.back();return this.popState.fire(),e}}),p=c.inherit({ctor:function(e){this.callBase(e),this.canWorkInPureBrowser=!1}});t.DefaultBrowserAdapter=c,t.OldBrowserAdapter=d,t.BuggyAndroidBrowserAdapter=u,t.HistorylessBrowserAdapter=h,t.BuggyCordovaWP81BrowserAdapter=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(43),s=n(141),l=n(208);n(140),n(142);var c=a.inherit({ctor:function(e){e=e||{},this.defaultWidgetAdapter=e.defaultWidgetAdapter||this._getDefaultWidgetAdapter(),this.commandMapping=e.commandMapping||new s},_getDefaultWidgetAdapter:function(){return{addCommand:o.noop,clearContainer:o.noop}},_getContainerAdapter:function(e){var t=e.data("dxComponents"),n=l;if(t)for(var i in t){var o=t[i];if(o in n)return n[o]}return this.defaultWidgetAdapter},findCommands:function(e){var t=o.map(e.addBack().find(".dx-command"),function(e){return o(e).dxCommand("instance")});return t},findCommandContainers:function(e){var t=o.map(e.find(".dx-command-container"),function(e){return o(e).dxCommandContainer("instance")});return t},_checkCommandId:function(e,t){if(null===e)throw r.Error("E3010",t.element().get(0).outerHTML)},renderCommandsToContainers:function(e,t){var n=this,i={},a=[],r=[];return o.each(e,function(e,t){var o=t.option("id");n._checkCommandId(o,t),a.push(o),i[o]=t}),n.commandMapping.checkCommandsExist(a),o.each(t,function(e,t){var a=[];if(o.each(i,function(e,i){var o=e,r=n.commandMapping.getCommandMappingForContainer(o,t.option("id"));r&&a.push({command:i,options:r})}),a.length){var s=n._attachCommandsToContainer(t.element(),a);s&&r.push(s)}}),o.when.apply(o,r)},clearContainer:function(e){var t=e.element(),n=this._getContainerAdapter(t);n.clearContainer(t)},_arrangeCommandsToContainers:function(e,t){r.log("W0002","CommandManager","_arrangeCommandsToContainers","14.1","Use the 'renderCommandsToContainers' method instead."),this.renderCommandsToContainers(e,t)},_attachCommandsToContainer:function(e,t){var n,i=this._getContainerAdapter(e);return i.beginUpdate&&i.beginUpdate(e),o.each(t,function(t,n){i.addCommand(e,n.command,n.options)}),i.endUpdate&&(n=i.endUpdate(e)),n}});i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(30),r=n(2),s=n(85),l=n(43),c=n(203).Application,d=n(58).ConditionalViewCacheDecorator,u=n(105),h=n(205),p=n(207).ViewEngine,f=n(8),_=n(51).value,g=n(211),m=n(6),v=n(70),x=n(84),w=n(101);n(143);var y="dx-viewport",b="layout-change",C=c.inherit({ctor:function(e){e=e||{},this.callBase(e),this._$root=o(e.rootNode||document.body),this._initViewport(e.viewPort),"mobileApp"===this._applicationMode&&g.initMobileViewport(e.viewPort),this.device=e.device||m.current(),this.commandManager=e.commandManager||new h({commandMapping:this.commandMapping}),this._initTemplateContext(),this.viewEngine=e.viewEngine||new p({$root:this._$root,device:this.device,templateCacheStorage:e.templateCacheStorage||window.localStorage,templatesVersion:e.templatesVersion,templateContext:this._templateContext}),this.components.push(this.viewEngine),this._initMarkupFilters(this.viewEngine),this._layoutSet=e.layoutSet||u.layoutSets.default,this._animationSet=e.animationSet||u.animationSets.default,this._availableLayoutControllers=[],this._activeLayoutControllersStack=[],this.transitionExecutor=new x.TransitionExecutor,this._initAnimations(this._animationSet)},_initAnimations:function(e){e&&(o.each(e,function(e,t){o.each(t,function(t,n){w.presets.registerPreset(e,n)})}),w.presets.applyChanges())},_localizeMarkup:function(e){f.localizeNode(e)},_notifyIfBadMarkup:function(e){e.each(function(){var e=o(this).html();/href="#/.test(e)&&l.log("W3005",e)})},_initMarkupFilters:function(e){var t=[];t.push(this._localizeMarkup),e.markupLoaded&&e.markupLoaded.add(function(e){o.each(t,function(t,n){n(e.markup)})})},_createViewCache:function(e){var t=this.callBase(e);return e.viewCache||(t=new d({filter:function(e,t){return!t.viewTemplateInfo.disableCache},viewCache:t})),t},_initViewport:function(){this._$viewPort=this._getViewPort(),_(this._$viewPort)},_getViewPort:function(){var e=o("."+y);return e.length||(e=o("<div>").addClass(y).appendTo(this._$root)),e},_initTemplateContext:function(){this._templateContext=new s({orientation:m.orientation()}),m.on("orientationChanged",o.proxy(function(e){this._templateContext.option("orientation",e.orientation)},this))},_showViewImpl:function(e,t){var n=this,i=o.Deferred(),a=i.promise(),r=e.layoutController;return n._obtainViewLink(e),r.showView(e,t).done(function(){n._activateLayoutController(r,n._getTargetNode(e),t).done(function(){i.resolve()})}),v.lock(a),a},_resolveLayoutController:function(e){var t={viewInfo:e,layoutController:null,availableLayoutControllers:this._availableLayoutControllers};return this._processEvent("resolveLayoutController",t,e.model),t.layoutController||this._resolveLayoutControllerImpl(e)},_checkLayoutControllerIsInitialized:function(e){if(e){var t=!1;if(o.each(this._layoutSet,function(n,i){return i.controller===e?(t=!0,!1):void 0}),!t)throw l.Error("E3024")}},_ensureOneLayoutControllerFound:function(e,t){var n=function(e,t){return"controller"===e?"[controller]: { name:"+t.name+" }":t};if(!t.length)throw l.log("W3003",JSON.stringify(e,null,4),JSON.stringify(this._availableLayoutControllers,n,4)),l.Error("E3011");if(t.length>1)throw l.log("W3004",JSON.stringify(e,null,4),JSON.stringify(t,n,4)),l.Error("E3012")},_resolveLayoutControllerImpl:function(e){var t=e.viewTemplateInfo||{},n=e.navigateOptions||{},i=o.extend({root:!e.canBack,customResolveRequired:!1,pane:t.pane,modal:void 0!==n.modal?n.modal:t.modal||!1},m.current()),a=r.findBestMatches(i,this._availableLayoutControllers);return this._ensureOneLayoutControllerFound(i,a),a[0].controller},_onNavigatingBack:function(e){if(this.callBase.apply(this,arguments),!e.cancel&&!this.canBack()&&this._activeLayoutControllersStack.length>1){var t=this._activeLayoutControllersStack[this._activeLayoutControllersStack.length-2],n=t.activeViewInfo();e.cancel=!0,this._activateLayoutController(t,void 0,"backward"),this.navigationManager.currentItem(n.key)}},_activeLayoutController:function(){return this._activeLayoutControllersStack.length?this._activeLayoutControllersStack[this._activeLayoutControllersStack.length-1]:void 0},_getTargetNode:function(e){var t=(e.navigateOptions||{}).jQueryEvent;return t?o(t.target):void 0},_activateLayoutController:function(e,t,n){var i=this,a=i._activeLayoutController();return a===e?o.Deferred().resolve().promise():e.ensureActive(t).then(o.proxy(this._deactivatePreviousLayoutControllers,this,e,n)).then(function(){i._activeLayoutControllersStack.push(e)})},_deactivatePreviousLayoutControllers:function(e,t){var n=this,i=[],a=n._activeLayoutControllersStack.pop();if(!a)return o.Deferred().resolve().promise();if(e.isOverlay)n._activeLayoutControllersStack.push(a),i.push(a.disable());else{for(var r=o.Deferred(),s=!1,l=function(e,t){return function(){e.deactivate().done(function(){t.resolve()})}};a&&a!==e;){var c=o.Deferred();a.isOverlay?s=!0:n.transitionExecutor.leave(a.element(),b,{direction:t}),r.promise().done(l(a,c)),i.push(c.promise()),a=n._activeLayoutControllersStack.pop()}s?r.resolve():(n.transitionExecutor.enter(e.element(),b,{direction:t}),n.transitionExecutor.start().done(function(){r.resolve()}))}return o.when.apply(o,i)},init:function(){var e=this,t=this.callBase();return t.done(function(){e._initLayoutControllers(),e.renderNavigation()}),t},_disposeView:function(e){e.layoutController.disposeView&&e.layoutController.disposeView(e),this.callBase(e)},viewPort:function(){return this._$viewPort},_createViewInfo:function(e,t){var n=this.callBase.apply(this,arguments),i=this.getViewTemplateInfo(n.viewName);if(!i)throw l.Error("E3013","dxView",n.viewName);return n.viewTemplateInfo=i,n.layoutController=this._resolveLayoutController(n),n},_createViewModel:function(e){this.callBase(e),a.extendFromObject(e.model,e.viewTemplateInfo)},_initLayoutControllers:function(){var e=this;o.each(e._layoutSet,function(t,n){var i=n.controller,o=m.current();r.findBestMatches(o,[n]).length&&(e._availableLayoutControllers.push(n),i.init&&i.init({app:e,$viewPort:e._$viewPort,navigationManager:e.navigationManager,viewEngine:e.viewEngine,templateContext:e._templateContext,commandManager:e.commandManager}),i.on&&(i.on("viewReleased",function(t){e._onViewReleased(t)}),i.on("viewHidden",function(t){e._onViewHidden(t)}),i.on("viewRendered",function(t){e._processEvent("viewRendered",{viewInfo:t},t.model)}),i.on("viewShowing",function(t,n){e._processEvent("viewShowing",{viewInfo:t,direction:n,params:t.routeData},t.model)}),i.on("viewShown",function(t,n){e._processEvent("viewShown",{viewInfo:t,direction:n,params:t.routeData},t.model)})))})},_onViewReleased:function(e){this._releaseViewLink(e)},renderNavigation:function(){var e=this;o.each(e._availableLayoutControllers,function(t,n){var i=n.controller;i.renderNavigation&&i.renderNavigation(e.navigation)})},getViewTemplate:function(e){return this.viewEngine.getViewTemplate(e)},getViewTemplateInfo:function(e){var t=this.viewEngine.getViewTemplateInfo(e);return t&&t.option()},loadTemplates:function(e){return this.viewEngine.loadTemplates(e)},templateContext:function(){return this._templateContext}});i.exports=C}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(123),r=n(5),s=n(2),l=n(43),c=n(11),d="dxView",u="dxLayout",h="MarkupTemplate:";n(44);var p=r.inherit({ctor:function(e){e=e||{},this.$root=e.$root,this.device=e.device||{},this.dataOptionsAttributeName=e.dataOptionsAttributeName||"data-options",this._templateMap={},this._pendingViewContainer=null,this.markupLoaded=o.Callbacks(),this._templateContext=e.templateContext,this._$skippedMarkup=o(),void 0!==e.templatesVersion&&e.templateCacheStorage&&this._isReleaseVersion()&&(this._templateCacheEnabled=!0,this._templatesVersion="v_"+e.templatesVersion,this._templateCacheStorage=e.templateCacheStorage,this._templateCacheKey="dxTemplateCache_"+a+"_"+JSON.stringify(this.device))},_isReleaseVersion:function(){return!/http:\/\/localhost/.test(location.href)},_enumerateTemplates:function(e){var t=this;o.each(t._templateMap,function(t,n){o.each(n,function(t,n){o.each(n,function(t,n){e(n)})})})},_findComponent:function(e,t){var n=(this._templateMap[e]||{})[t]||[],i=this._templateContext&&this._templateContext.option()||{};return n=this._filterTemplates(i,n),this._checkMatchedTemplates(n),n[0]},_findTemplate:function(e,t){var n=this._findComponent(e,t);if(!n)throw this._clearCache(),l.Error("E3013",t,e);var i,o=n.element();return n._isStaticComponentsCreated||(c.createComponents(o,["dxContent","dxContentPlaceholder","dxTransition"]),n._isStaticComponentsCreated=!0),i=o.clone().removeClass("dx-hidden")},_clearCache:function(){this._templateCacheStorage.removeItem(this._templateCacheKey)},_loadTemplatesFromMarkupCore:function(e){var t=this;if(e.find("[data-dx-role]").length)throw l.Error("E3019");t.markupLoaded.fire({markup:e});var n=c.createComponents(e,[d,u]);o.each(n,function(e,n){var i=n.element();i.addClass("dx-hidden"),t._registerTemplateComponent(n),n.element().detach()});var i=e.filter("script");i.appendTo(t.$root),t._$skippedMarkup=t._$skippedMarkup.add(i)},_registerTemplateComponent:function(e){var t=e.NAME,n=e.option(),i=n.name,o=this._templateMap[i]||{};o[t]=o[t]||[],o[t].push(e),this._templateMap[i]=o},_applyPartialViews:function(e){var t=this;c.createComponents(e,["dxViewPlaceholder"]),o.each(e.find(".dx-view-placeholder"),function(){var e=o(this);if(!e.children().length){var n=e.data("dxViewPlaceholder").option("viewName"),i=t._findTemplate(n,d);t._applyPartialViews(i),e.append(i),i.removeClass("dx-hidden")}})},_ajaxImpl:function(){return o.ajax.apply(o,arguments)},_loadTemplatesFromURL:function(e){var t=this,n=this._getLoadOptions(),i=o.Deferred();return e=n.winPhonePrefix+e,this._ajaxImpl({url:e,isLocal:n.isLocal,dataType:"html"}).done(function(e){t._loadTemplatesFromMarkupCore(c.createMarkupFromString(e)),i.resolve()}).fail(function(t,n,o){var a=l.Error("E3021",e,o);i.reject(a)}),i.promise()},_getLoadOptions:function(){return location.protocol.indexOf("wmapp")>=0?{winPhonePrefix:location.protocol+"www/",isLocal:!0}:{winPhonePrefix:"",isLocal:void 0}},_loadExternalTemplates:function(){var e=[],t=this;return o("head").find("link[rel='dx-template']").each(function(n,i){var a=t._loadTemplatesFromURL(o(i).attr("href"));e.push(a)}),o.when.apply(o,e)},_processTemplates:function(){var e=this;o.each(e._templateMap,function(t,n){o.each(n,function(t,n){e._filterTemplatesByDevice(n)})}),e._enumerateTemplates(function(t){e._applyPartialViews(t.element())})},_filterTemplatesByDevice:function(e){var t=this._filterTemplates(this.device,e);o.each(e,function(e,n){o.inArray(n,t)<0&&n.element().remove()}),e.length=0,e.push.apply(e,t)},_filterTemplates:function(e,t){return s.findBestMatches(e,t,function(e){return e.option()})},_checkMatchedTemplates:function(e){if(e.length>1){var t="";throw o.each(e,function(e,n){t+=n.element().attr("data-options")+"\r\n"}),l.Error("E3020",t,JSON.stringify(this.device))}},_wrapViewDefaultContent:function(e){e.wrapInner('<div class="dx-full-height"></div>'),e.children().eq(0).dxContent({targetPlaceholder:"content"})},_initDefaultLayout:function(){this._$defaultLayoutTemplate=o('<div class="dx-full-height" data-options="dxLayout : { name: \'default\' } "> \n <div class="dx-full-height" data-options="dxContentPlaceholder : { name: \'content\' } " ></div> \n</div>'),c.createComponents(this._$defaultLayoutTemplate)},_getDefaultLayoutTemplate:function(){return this._$defaultLayoutTemplate.clone()},applyLayout:function(e,t){void 0!==t&&0!==t.length||(t=this._getDefaultLayoutTemplate()),0===e.children(".dx-content").length&&this._wrapViewDefaultContent(e);var n=o().add(t).add(e),i=n.find(".dx-content");return o.each(i,function(){var e=o(this),t=e.attr("data-dx-target-placeholder-id"),i=n.find(".dx-content-placeholder-"+t);i.empty(),i.append(e)}),i.filter(":not(.dx-content-placeholder .dx-content)").remove(),t},_loadTemplatesFromCache:function(){if(this._templateCacheEnabled){var e,t=function(e,t){if("string"==typeof t&&0===t.indexOf(h)){var n=JSON.parse(t.substr(h.length)),i=n.type,a=n.options,r=c.createMarkupFromString(n.markup);return a.fromCache=!0,r[i](a)[i]("instance")}return"skippedMarkup"===e?o("<div>").append(c.createMarkupFromString(t)).contents():t},n=this._templateCacheStorage.getItem(this._templateCacheKey);if(n)try{var i=JSON.parse(n,t);e=i[this._templatesVersion]}catch(e){this._clearCache()}if(e)return this._templateMap=e.templates,this.$root.append(e.skippedMarkup),!0}},_putTemplatesToCache:function(){if(this._templateCacheEnabled){var e=function(e,t){return t&&t.element?h+JSON.stringify({markup:t.element().prop("outerHTML"),options:t.option(),type:t.NAME}):"skippedMarkup"===e?o("<div>").append(t.clone()).html():t},t={};t[this._templatesVersion]={templates:this._templateMap,skippedMarkup:this._$skippedMarkup},this._templateCacheStorage.setItem(this._templateCacheKey,JSON.stringify(t,e,4))}},init:function(){var e=this;return this._initDefaultLayout(),this._loadTemplatesFromCache()?o.Deferred().resolve().promise():(e._loadTemplatesFromMarkupCore(e.$root.children()),this._loadExternalTemplates().done(function(){e._processTemplates(),e._putTemplatesToCache()}))},getViewTemplate:function(e){return this._findTemplate(e,d)},getViewTemplateInfo:function(e){return this._findComponent(e,d)},getLayoutTemplate:function(e){return e?this._findTemplate(e,u):this._getDefaultLayoutTemplate()},getLayoutTemplateInfo:function(e){return this._findComponent(e,u)},loadTemplates:function(e){var t;return"string"==typeof e?t=this._loadTemplatesFromURL(e):(this._loadTemplatesFromMarkupCore(e),t=o.Deferred().resolve().promise()),t.done(o.proxy(this._processTemplates,this))}});t.ViewEngine=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(80).utils.commandToContainer,s=n(22),l=n(84),c="dxCommandToWidgetAdapter",d=a.inherit({ctor:function(e,t){this.command=e,this.widgetItem=this._createWidgetItem(e,t)},_createWidgetItem:function(e,t){var n,i=o.extend({},t,e.option()),a=function(t){e.execute(t)};return i.text=r.resolveTextValue(e,t),i.icon=r.resolveIconValue(e,t),i.type=r.resolvePropertyValue(e,t,"type"),i.location=r.resolvePropertyValue(e,t,"location"),i.locateInMenu=r.resolvePropertyValue(e,t,"locateInMenu"),n=this._createWidgetItemCore(i,a),n.command=e,n},_createWidgetItemCore:function(e,t){return e},dispose:function(){delete this.command,delete this.widgetItem}}),u=a.inherit({ctor:function(e){this._commandToWidgetItemOptionNames={},this.$widgetElement=e,this.$widgetElement.data(c,this),this.widget=this._getWidgetByElement(e),this._widgetWidgetContentReadyHandler=o.proxy(this._onWidgetContentReady,this),this._widgetWidgetItemRenderedHandler=o.proxy(this._onWidgetItemRendered,this),this._widgetDisposingHandler=o.proxy(this._onWidgetDisposing,this),this.widget.on("itemRendered",this._widgetWidgetItemRenderedHandler),this.widget.on("contentReady",this._widgetWidgetContentReadyHandler),this.widget.on("disposing",this._widgetDisposingHandler),this.itemWrappers=[],this._transitionExecutor=new l.TransitionExecutor},addCommand:function(e,t){var n=this._createItemWrapper(e,t);this.itemWrappers.push(n),this._addItemToWidget(n),this._commandChangedHandler=o.proxy(this._onCommandChanged,this),n.command.on("optionChanged",this._commandChangedHandler)},beginUpdate:function(){this.widget.beginUpdate()},endUpdate:function(){return this.widget.endUpdate(),this.animationDeferred},_onWidgetItemRendered:function(e){e.itemData.isJustAdded&&e.itemData.command&&e.itemData.command.option("visible")&&this._commandRenderedAnimation&&(this._transitionExecutor.enter(e.itemElement,this._commandRenderedAnimation),delete e.itemData.isJustAdded)},_onWidgetContentReady:function(e){this.animationDeferred=this._transitionExecutor.start()},_onWidgetDisposing:function(){this.dispose(!0)},_setWidgetItemOption:function(e,t,n){var i=this.widget.option("items"),a=o.inArray(n,o.map(i,function(e){return e.command||{}}));if(a>-1){var r="items["+a+"].";!this._requireWidgetRefresh(e)&&this.widget.option("items["+a+"]").options&&(r+="options."),r+=this._commandToWidgetItemOptionNames[e]||e,this.widget.option(r,t)}},_requireWidgetRefresh:function(e){return"visible"===e||"locateInMenu"===e||"location"===e},_onCommandChanged:function(e){"highlighted"===e.name||e.component.isOptionDeprecated(e.name)||this._setWidgetItemOption(e.name,e.value,e.component)},_addItemToWidget:function(e){var t=this.widget.option("items");t.push(e.widgetItem),this.widget.element().is(":visible")&&(e.widgetItem.isJustAdded=!0),this.widget.option("items",t)},refresh:function(){var e=this.widget.option("items");this.widget.option("items",e)},clear:function(e){var t=this;o.each(t.itemWrappers,function(e,n){n.command.off("optionChanged",t._commandChangedHandler),n.dispose()}),this.itemWrappers.length=0,e||this._clearWidgetItems()},_clearWidgetItems:function(){this.widget.option("items",[])},dispose:function(e){this.clear(e),this.widget&&(this.widget.off("itemRendered",this._widgetWidgetItemRenderedHandler),this.widget.off("contentReady",this._widgetContentReadyHandler),this.widget.off("disposing",this._widgetDisposingHandler),this.$widgetElement.removeData(c),delete this.widget,delete this.$widgetElement)}}),h=a.inherit({ctor:function(e){this.createAdapter=e},_getWidgetAdapter:function(e){var t=e.data(c);return t||(t=this.createAdapter(e)),t},addCommand:function(e,t,n){var i=this._getWidgetAdapter(e);i.addCommand(t,n)},clearContainer:function(e){var t=this._getWidgetAdapter(e);t.clear()},beginUpdate:function(e){var t=this._getWidgetAdapter(e);t.beginUpdate()},endUpdate:function(e){var t=this._getWidgetAdapter(e);return t.endUpdate()}}),p=d.inherit({_createWidgetItemCore:function(e,t){var n;return e.onClick=t,"menu"===e.location||"always"===e.locateInMenu?n=e:(n={locateInMenu:e.locateInMenu,location:e.location,visible:e.visible,options:e,widget:"dxButton"},e.visible=!0,delete e.location),n}}),f=u.inherit({ctor:function(e){this.callBase(e),this._commandToWidgetItemOptionNames={title:"text"},"topToolbar"===this.widget.option("renderAs")?this._commandRenderedAnimation="command-rendered-top":this._commandRenderedAnimation="command-rendered-bottom"},_getWidgetByElement:function(e){return e.dxToolbar("instance")},_createItemWrapper:function(e,t){return new p(e,t)},addCommand:function(e,t){this.widget.option("visible",!0),this.callBase(e,t)}}),_=d.inherit({_createWidgetItemCore:function(e,t){return e.title=e.text,e.onClick=t,e}}),g=u.inherit({_createItemWrapper:function(e,t){return new _(e,t)},_getWidgetByElement:function(e){return e.dxList("instance")}}),m=d.inherit({}),v=u.inherit({ctor:function(e){this.callBase(e),this._commandToWidgetItemOptionNames={title:"text"},this.widget.option("onItemClick",o.proxy(this._onNavBarItemClick,this))},_onNavBarItemClick:function(e){for(var t=this.widget.option("items"),n=t.length;--n;)t[n].command.option("highlighted",!1);e.itemData.command.execute(e)},_getWidgetByElement:function(e){return e.dxNavBar("instance")},_createItemWrapper:function(e,t){return new m(e,t)},addCommand:function(e,t){this.callBase(e,t),this._updateSelectedIndex()},_onCommandChanged:function(e){var t=e.name,n=e.value;"highlighted"===t&&n&&this._updateSelectedIndex(),this.callBase(e)},_updateSelectedIndex:function(){for(var e=this.widget.option("items"),t=0,n=e.length;n>t;t++){var i=e[t].command;if(i&&i.option("highlighted")){this.widget.option("selectedIndex",t);break}}}}),x=d.inherit({_createWidgetItemCore:function(e,t){return e.title=e.text,e}}),w=u.inherit({ctor:function(e){this.callBase(e),this.widget.option("onSelectionChanged",o.proxy(this._onPivotSelectionChange,this))},_onPivotSelectionChange:function(e){e.addedItems.length&&e.removedItems.length&&e.addedItems[0]&&e.addedItems[0].command&&e.addedItems[0].command.execute(e)},_getWidgetByElement:function(e){return e.dxPivot("instance")},_createItemWrapper:function(e,t){return new x(e,t)},addCommand:function(e,t){this.callBase(e,t),this._updateSelectedIndex()},_onCommandChanged:function(e){var t=e.name,n=e.value;"visible"===t?this._rerenderPivot():"highlighted"===t&&n&&this._updateSelectedIndex(),this.callBase(e)},_addItemToWidget:function(e){e.command.option("visible")&&this.callBase(e)},_updateSelectedIndex:function(){var e=this.widget,t=e.option("items")||[];s.off=!0;for(var n=0,i=t.length;i>n;n++){var o=t[n].command;if(o&&o.option("highlighted")){e.option("selectedIndex",n);break}}s.off=!1},_rerenderPivot:function(){var e=this;e.widget.option("items",[]),o.each(e.itemWrappers,function(t,n){n.command.option("visible")&&e._addItemToWidget(n)}),e.refresh(),e._updateSelectedIndex()}}),y=d.inherit({}),b=u.inherit({ctor:function(e){this.callBase(e),this._commandToWidgetItemOptionNames={title:"text"},this.widget.option("onItemClick",o.proxy(this._onSlideOutItemClick,this))},_onSlideOutItemClick:function(e){e.itemData.command.execute(e)},_getWidgetByElement:function(e){return e.dxSlideOut("instance")},_createItemWrapper:function(e,t){return new y(e,t)},_updateSelectedIndex:function(){for(var e=this.widget.option("items")||[],t=0,n=e.length;n>t;t++){var i=e[t].command;if(i&&i.option("highlighted")){this.widget.option("selectedIndex",t);break}}},addCommand:function(e,t){this.callBase(e,t),this._updateSelectedIndex()},_onCommandChanged:function(e){var t=e.name,n=e.value;"highlighted"===t&&n&&this._updateSelectedIndex(),this.callBase(e)}});t.dxToolbar=new h(function(e){return new f(e)}),t.dxList=new h(function(e){
return new g(e)}),t.dxNavBar=new h(function(e){return new v(e)}),t.dxPivot=new h(function(e){return new w(e)}),t.dxSlideOut=new h(function(e){return new b(e)})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(39),r=n(11),s=n(153),l=n(293),c=n(291),d=s.constructor.inherit({createTemplate:function(e,t){return new l(e,t)},applyTemplate:function(e,t){a.applyBindings(t,e)},_templatesForWidget:function(e){var t=c[e];if(!t)return this.callBase(e);var n={};return o.each(t,function(e,t){var i=r.createMarkupFromString(t());"itemFrame"!==e&&(i=i.contents()),n[e]=new l(i,u)}),n}}),u=new d;i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(57).resizeCallbacks,r=n(17),s=n(6),l=function(e){e=o.extend({},e);var t=s.real(),n=e.allowZoom,i=e.allowPan,l="allowSelection"in e?e.allowSelection:"generic"===t.platform,c="meta[name=viewport]";o(c).length||o("<meta />").attr("name","viewport").appendTo("head");var d=["width=device-width"],u=[];if(n?u.push("pinch-zoom"):d.push("initial-scale=1.0","maximum-scale=1.0, user-scalable=no"),i&&u.push("pan-x","pan-y"),i||n?o("html").css("-ms-overflow-style","-ms-autohiding-scrollbar"):o("html, body").css({"-ms-content-zooming":"none","-ms-user-select":"none",overflow:"hidden"}),!l&&r.supportProp("user-select")&&o(".dx-viewport").css(r.styleProp("user-select"),"none"),o(c).attr("content",d.join()),o("html").css("-ms-touch-action",u.join(" ")||"none"),t=s.real(),!r.touch||"win"===t.platform&&10===t.version[0]||o(document).off(".dxInitMobileViewport").on("dxpointermove.dxInitMobileViewport",function(e){var t=e.pointers.length,o="touch"===e.pointerType,a=!n&&t>1,r=!i&&1===t&&!e.isScrollingEvent;o&&(a||r)&&e.preventDefault()}),t.ios){var h="file:"===document.location.protocol;h||a.add(function(){var e=o(window).width();o("body").width(e)})}t.android&&a.add(function(){setTimeout(function(){document.activeElement.scrollIntoViewIfNeeded()})})};t.initMobileViewport=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=o.Callbacks();i.exports=function(){a.fire()},i.exports.processCallback=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(356)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){if(e&&(e=e.slice(0),t))for(var n=0;n<e.length;n++)e[n]=a.extend({key:e[n].key},e[n]),e[n].items=o(e[n].items,t-1);return e}var a=n(1),r=n(20),s=n(2),l=n(59),c=r.Controller.inherit(function(){function e(e,t){var n={};return t&&(n={sorting:!r.equalSortParameters(e.sort,t.sort),grouping:!r.equalSortParameters(e.group,t.group,!0),filtering:!r.equalFilterParameters(e.filter,t.filter),skip:e.skip!==t.skip,take:e.take!==t.take},n.reload=n.sorting||n.grouping||n.filtering,n.paging=n.skip||n.take),n}function t(e,t){s.isDefined(t)?s.executeAsync(e,t):e()}return{init:function(e,t){var n=this;n._dataSource=e,n._remoteOperations=t||{},n._isLastPage=!e.isLastPage(),n._hasLastPage=!1,n._currentTotalCount=0,n.changed=a.Callbacks(),n.loadingChanged=a.Callbacks(),n.loadError=a.Callbacks(),n.customizeStoreLoadOptions=a.Callbacks(),n._dataChangedHandler=a.proxy(n._handleDataChanged,n),n._dataLoadingHandler=a.proxy(n._handleDataLoading,n),n._dataLoadedHandler=a.proxy(n._handleDataLoaded,n),n._loadingChangedHandler=a.proxy(n._handleLoadingChanged,n),n._loadErrorHandler=a.proxy(n._handleLoadError,n),e.on("changed",n._dataChangedHandler),e.on("customizeStoreLoadOptions",n._dataLoadingHandler),e.on("customizeLoadResult",n._dataLoadedHandler),e.on("loadingChanged",n._loadingChangedHandler),e.on("loadError",n._loadErrorHandler),a.each(e,function(e,t){!n[e]&&a.isFunction(t)&&(n[e]=function(){return this._dataSource[e].apply(this._dataSource,arguments)})})},remoteOperations:function(){return this._remoteOperations},dispose:function(e){var t=this,n=t._dataSource;n.off("changed",t._dataChangedHandler),n.off("customizeStoreLoadOptions",t._dataLoadingHandler),n.off("customizeLoadResult",t._dataLoadedHandler),n.off("loadingChanged",t._loadingChangedHandler),n.off("loadError",t._loadErrorHandler),e||n.dispose()},refresh:function(e,t,n){var i=this,o=i._dataSource;(t||n.reload)&&(i._currentTotalCount=0,i._isLastPage=!o.paginate(),i._hasLastPage=i._isLastPage)},_customizeRemoteOperations:function(){},_handleDataLoading:function(t){var n,i,o=this,r=o._dataSource,s=o._lastLoadOptions;o.customizeStoreLoadOptions.fire(t),t.delay=this.option("loadingTimeout"),t.originalStoreLoadOptions=t.storeLoadOptions,t.remoteOperations=a.extend({},this.remoteOperations());var l=!o.isLoaded()&&!o._isRefreshing;n=a.extend({},t.storeLoadOptions),i=e(n,s),o._customizeRemoteOperations(t,l,i),t.isCustomLoading||(o._lastLoadOptions=n,o._isRefreshing=!0,a.when(o.refresh(t,l,i)).always(function(){o._lastOperationId===t.operationId&&o.load(),o._isRefreshing=!1}),r.cancel(o._lastOperationId),o._lastOperationId=t.operationId,o._isRefreshing&&r.cancel(o._lastOperationId))},_handleDataLoaded:function(e){e.storeLoadOptions=e.originalStoreLoadOptions},_handleLoadingChanged:function(e){this.loadingChanged.fire(e)},_handleLoadError:function(e){this.changed.fire({changeType:"loadError",error:e}),this.loadError.fire(e)},_handleDataChanged:function(e){var t,n=this,i=n._dataSource,o=!1,a=n.itemsCount();n._isLastPage=!a||!n.pageSize()||a<n.pageSize(),n._isLastPage&&(n._hasLastPage=!0),i.totalCount()>=0?i.pageIndex()>=n.pageCount()&&(i.pageIndex(n.pageCount()-1),i.load(),o=!0):(t=i.pageIndex()*n.pageSize()+a,n._currentTotalCount=Math.max(n._currentTotalCount,t),0===a&&i.pageIndex()>=n.pageCount()&&(i.pageIndex(n.pageCount()-1),i.load(),o=!0)),o||(this.component._optionCache={},this.changed.fire(e),this.component._optionCache=void 0)},isLastPage:function(){return this._isLastPage},totalCount:function(){return parseInt(this._currentTotalCount||this._dataSource.totalCount())},itemsCount:function(){return this._dataSource.items().length},totalItemsCount:function(){return this.totalCount()},pageSize:function(){var e=this._dataSource;return arguments.length||e.paginate()?e.pageSize.apply(e,arguments):0},pageCount:function(){var e=this,t=e.totalItemsCount(),n=e.pageSize();return n&&t>0?Math.max(1,Math.ceil(t/n)):1},hasKnownLastPage:function(){return this._hasLastPage||this._dataSource.totalCount()>=0},load:function(e){var n,i,o,r=this,s=r._dataSource,l=a.Deferred();return e?(n=s.store(),o=s.loadOptions(),i={storeLoadOptions:e,isCustomLoading:!0},a.each(n._customLoadOptions()||[],function(e,t){t in i.storeLoadOptions||(i.storeLoadOptions[t]=o[t])}),s._scheduleLoadCallbacks(l),r._handleDataLoading(i),t(function(){a.when(i.data||n.load(i.storeLoadOptions)).done(function(t,o){i.data=t,i.extra=o||{},r._handleDataLoaded(i),e.requireTotalCount&&void 0===i.extra.totalCount&&(i.extra.totalCount=n.totalCount(i.storeLoadOptions)),a.when(i.data,i.extra.totalCount).done(function(e,t){i.extra.totalCount=t,l.resolve(e,i.extra)}).fail(l.reject)}).fail(l.reject)},r.option("loadingTimeout")),l.fail(function(){r.fireEvent("loadError",arguments)}).promise()):s.load()}}}());c=c.inherit({reload:function(e){return e?this._dataSource.reload():this._dataSource.load()},_customizeRemoteOperations:function(e,t,n){var i=this,o=i._cachedStoreData,r=i._cachedPagingData;i.callBase.apply(i,arguments),t?(o=void 0,r=void 0):(n.reload&&(r=void 0),a.each(n,function(t,n){n&&e.remoteOperations[t]&&(o=void 0,r=void 0)})),r&&(e.remoteOperations.paging=!1),e.cachedStoreData=o,e.cachedPagingData=r,e.isCustomLoading||(i._cachedStoreData=o,i._cachedPagingData=r)},_handleDataLoading:function(e){this.callBase(e),this._handleDataLoadingCore(e)},_handleDataLoadingCore:function(e){var t=e.remoteOperations;e.loadOptions={};var n={filter:!t.filtering,sort:!t.sorting,group:!t.grouping,summary:!t.summary,skip:!t.paging,take:!t.paging,requireTotalCount:!t.paging};a.each(e.storeLoadOptions,function(t,i){n[t]&&(e.loadOptions[t]=i,delete e.storeLoadOptions[t])}),e.data=e.cachedStoreData},_handleDataLoaded:function(e){var t=this.callBase,n=e.loadOptions,i=e.remoteOperations&&!e.remoteOperations.paging,s=this.option("cacheEnabled")!==!1&&i&&e.storeLoadOptions,c=s&&!e.isCustomLoading;if(!n)return void this._dataSource.cancel(e.operationId);i&&(e.skip=n.skip,e.take=n.take,delete n.skip,delete n.take),n.group&&(n.group=e.group||n.group);var d=r.normalizeSortingInfo(e.storeLoadOptions.group||n.group).length;s&&e.cachedPagingData?e.data=o(e.cachedPagingData,d):(c&&!this._cachedStoreData&&(this._cachedStoreData=o(e.data,r.normalizeSortingInfo(e.storeLoadOptions.group).length)),new l(e.data).load(n).done(function(t){e.data=t}),c&&(this._cachedPagingData=o(e.data,d))),n.requireTotalCount&&i&&(e.extra=a.isPlainObject(e.extra)?e.extra:{},e.extra.totalCount=e.data.length),this._handleDataLoadedCore(e),t.apply(this,arguments)},_handleDataLoadedCore:function(e){e.remoteOperations&&!e.remoteOperations.paging&&(void 0!==e.skip&&(e.data=e.data.slice(e.skip)),void 0!==e.take&&(e.data=e.data.slice(0,e.take)))}}),i.exports={extend:function(e){c=c.inherit(e)},create:function(e){return new c(e)}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=e.dataField||e.groupName||"",n=(e.summaryType||"").toLowerCase();return h.isString(e.groupInterval)&&(t+="_"+e.groupInterval),n&&"custom"!==n?(n=n.replace(/^./,n[0].toUpperCase()),t.length&&(n=" ("+n+")")):n="",m.titleize(t)+n}function a(e,t){var n=e._initProperties||{};l.each(t,function(t,i){n.hasOwnProperty(i)&&(e[i]=n[i])})}function r(e,t){a(e,t),p(e.caption)||A(e,"caption",o(e))}function s(e){var t=!1;return f(e.values,function(e,n){return n.summaryDisplayMode||n.calculateSummaryValue||n.runningTotal?(t=!0,!1):void 0}),t}var l=n(1),c=n(38).DataSource,d=n(49),u=n(59),h=n(2),p=h.isDefined,f=l.each,_=n(5),g=n(32),m=n(29),v=n(41).normalizeIndexes,x=n(462),w=n(321),y=n(470),b=n(83),C=b.foreachTree,k=b.foreachTreeAsync,S=b.findField,T=b.formatValue,I=b.getCompareFunction,D=b.createPath,E=b.foreachDataLevel,A=b.setFieldProperty,B={row:"rows",column:"columns",data:"values",filter:"filters"},M=["area","areaIndex","sortOrder","filterType","filterValues","sortBy","sortBySummaryField","sortBySummaryPath","expanded","summaryType","summaryDisplayMode"],O=["format","selector","customizeText","caption"];i.exports=_.inherit(function(){function e(e){var t,n;return l.isPlainObject(e)&&e.load?t=new x.LocalStore(e):(e&&!e.store&&(e={store:e}),n=e.store,"xmla"===n.type?t=new w.XmlaStore(n):l.isPlainObject(n)&&n.type||n instanceof d||l.isArray(n)?t=new x.LocalStore(e):n instanceof _&&(t=n)),t}function t(e,t,n){var i=[],o=t&&t[n]||[];return C(e[n],function(e){var t=e[0],n=D(e);t.children&&o[n.length-1]&&!o[n.length-1].expanded&&n.length<o.length&&i.push(n.slice())},!0),i}function n(e,t,n){return t?f(M,function(i,o){if(n)e[o]=t[o];else{if(("summaryType"===o||"summaryDisplayMode"===o)&&void 0===t[o])return;t.hasOwnProperty(o)&&A(e,o,t[o])}}):a(e,M),e}function i(e){var t=[];return f(e,function(e,i){t.push(n({dataField:i.dataField,name:i.name},i,!0))}),t}function o(e){return e.name?e.name:e.dataField+""}function g(e,t){var n=[];return f(e||[],function(e,i){o(i)===t&&n.push(i)}),n}function m(e,t){return e=e||[],f(t,function(t,i){n(i,e[t]),r(i,O)}),t}function b(e,t){e=e||[];var n,i={};return f(t,function(e,a){n=o(a),i[n]||(i[n]=g(t,o(a)))}),f(i,function(t,n){m(g(e,t),n)}),t}function P(e,t){return l.map(e,function(e){return e.groupName===t.groupName&&h.isNumber(e.groupIndex)&&e.visible!==!1?l.extend(e,{areaIndex:t.areaIndex,area:t.area,expanded:p(e.expanded)?e.expanded:t.expanded,dataField:e.dataField||t.dataField,dataType:e.dataType||t.dataType,sortBy:e.sortBy||t.sortBy,sortOrder:e.sortOrder||t.sortOrder,sortBySummaryField:e.sortBySummaryField||t.sortBySummaryField,sortBySummaryPath:e.sortBySummaryPath||t.sortBySummaryPath,visible:e.visible||t.visible,showTotals:p(e.showTotals)?e.showTotals:t.showTotals,showGrandTotals:p(e.showGrandTotals)?e.showGrandTotals:t.showGrandTotals}):null}).sort(function(e,t){return e.groupIndex-t.groupIndex})}function R(e){e.sort(function(e,t){return e.areaIndex-t.areaIndex})}function V(e,t){return e.area===t&&!p(e.groupIndex)&&e.visible!==!1}function F(e){var t=this,n=t.fields(),i={rows:[],columns:[],values:[],filters:[]};return f(["row","column","data","filter"],function(t,i){var o=[];f(n,function(e,t){V(t,i)&&o.push(t)}),v(o,"areaIndex",e)}),f(n||[],function(e,t){var o=B[t.area],a=i[o],r=t.groupName;r&&!h.isNumber(t.groupIndex)&&(t.levels=P(n,t)),!a||r&&h.isNumber(t.groupIndex)||t.visible===!1||(t.levels&&a!==i.filters&&a!==i.values?(a.push.apply(a,t.levels),t.filterValues&&t.filterValues.length&&i.filters.push(t)):a.push(t))}),f(i,function(e,t){R(t)}),i}function L(e){return(e.dataField||e.groupName||"")+(e.groupInterval?e.groupName||"":"NOGROUP")+(e.groupInterval||"")}function H(e,t,n){var i=[],o={},a={},r=[],s=z(e);return t?(f(t,function(e,t){o[L(t)]=t}),f(e,function(e,t){var n,r=L(t),c=o[r]||a[r];c?n=l.extend({},c,t):o[r]=n=t,l.extend(n,{dataType:s[t.dataField]}),delete o[r],a[r]=c,i.push(n)}),n&&f(o,function(e,t){i.push(t)})):i=e,i.push.apply(i,r),i}function z(e){var t={};return f(e,function(e,n){t[n.dataField]=t[n.dataField]||n.dataType}),t}function N(e){var t,n=l.Deferred(),i=e._store,o=i&&i.getFields(z(e._fields));return l.when(o).done(function(i){e._storeFields=i,t=H(e._fields,i,e._retrieveFields),n.resolve(t)}).fail(function(){n.resolve(e._fields)}),n}function W(e,t){var n=null,i=(t||[]).join(".");return i.length&&C(e,function(e){var t=e[0],o=D(e).join("."),a=l.map(e,function(e){return e.text}).reverse().join(".");return i===o||t.key&&a===i?(n=e[0].index,!1):void 0}),n}function G(e,t,n,i){var o=t.values,a=S(n.values,e.sortBySummaryField),r="rows"===i,s=r?t.columns:t.rows,l=r?t.grandTotalRowIndex:t.grandTotalColumnIndex,c=e.sortBySummaryPath||[],d=c.length?W(s,c):l;return o&&o.length&&a>=0&&p(d)?function(e){var t=r?e.index:d,n=r?d:e.index;return((o[t]||[[]])[n]||[])[a]||null}:void 0}function $(e,t,n,i,o){var a=o?"asc":e.sortOrder,r=o?"value":"displayText"===e.sortBy?"text":"value",s=e.sortingMethod||I(function(e){return e[r]}),l=!o&&G(e,t,n,i),c=l&&I(l),d=function(e,t){var n=c&&c(e,t)||0;return 0===n&&(n=s(e,t)),"desc"===a?-n:n};return d}function q(e,t,n,i){var o=t[n]||[],a=t.headerName===n?t.path.length:0,r=[];E(e[n],function(a,s){var l=o[s]||{},c=r[s]=r[s]||$(l,e,t,n,i);a.sort(c)},a)}function j(e,t,n){q(t,e,"rows",n),q(t,e,"columns",n)}function U(e,t,n){return k(e[n],function(e){var i=e[0];i.text=i.text||T(i.value,t[n][D(e).length-1])})}function K(e,t){return l.when(U(t,e,"columns"),U(t,e,"rows"))}function Y(e){var t=l.Deferred(),n={};return l.when(k(e,function(e){var t=D(e).join(".");n[t]=e[0]})).done(t.resolve),e._cacheByPath=n,t}var X=function(e,t){return e._cacheByPath?e._cacheByPath[t.join(".")]||null:void 0},Q=function(e,t){var n,i,o=-1;if(e)for(n=0;n<e.length;n++)i=e[n],o=Math.max(o,i.index),i.children?o=Math.max(o,Q(i.children)):i.collapsedChildren&&(o=Math.max(o,Q(i.collapsedChildren)));return p(t)&&(o=Math.max(o,t)),o},Z=function(e,t,n,i){var o,a=Q(n)+1,r=Q(e,i)+1,s=[],c=l.Deferred();for(o=0;a>o;o++)s[o]=r++;return t.children=n,l.when(k(t.children,function(e){e[0].index=s[e[0].index]})).done(function(){c.resolve(s)}),c},J=function(e,t){var n=l.Deferred(),i=[];return l.when(k(e,function(e){delete e[0].collapsedChildren})).done(function(){l.when(k(t,function(t){var n=X(e,D(t));n&&(i[t[0].index]=n.index)})).done(function(){n.resolve(i)})}),n},ee=function(e,t,n,i){var o,a,r,s,l,c,d=e.values;if(t)for(o=0;o<=t.length;o++)if(r=t[o],l=n[o],p(l)||(l=e.grandTotalRowIndex),r&&p(l))for(d[l]||(d[l]=[]),a=0;a<=r.length;a++)s=r[a],c=i[a],p(c)||(c=e.grandTotalColumnIndex),p(s)&&p(c)&&(d[l][c]=s)};return{ctor:function(t){t=t||{};var n=this,i=e(t);n._store=i,n._data={rows:[],columns:[],values:[]},n._loadingCount=0,f(["changed","loadError","loadingChanged","fieldsPrepared","expandValueChanging"],l.proxy(function(e,n){var i="on"+n[0].toUpperCase()+n.slice(1);t.hasOwnProperty(i)&&this.on(n,t[i])},this)),n._retrieveFields=p(t.retrieveFields)?t.retrieveFields:!0,n._fields=t.fields||[],n._descriptions=t.descriptions?l.extend(n._createDescriptions(),t.descriptions):void 0,i||l.extend(!0,n._data,t.store||t)},getData:function(){return this._data},getAreaFields:function(e,t){var n,i=[];return t||"data"===e?(f(this._fields,function(){V(this,e)&&i.push(this)}),R(i)):(n=this._descriptions||{},i=n[B[e]]||[]),i},fields:function(e){var t=this;return e&&(t._fields=H(e,t._storeFields,t._retrieveFields),t._fieldsPrepared(t._fields)),t._fields},field:function(e,t){var n,i=this,o=i._fields,a=o&&o[h.isNumber(e)?e:S(o,e)];return a&&t&&(f(t,function(e,t){var i=l.inArray(e,M)<0;if(A(a,e,t,i),"sortOrder"===e){n=a.levels||[];for(var o=0;o<n.length;o++)n[o][e]=t}}),r(a,O),i._descriptions=i._createDescriptions(a)),a},getFieldValues:function(e){var t=this,n=this._fields&&this._fields[e],i=this.store(),o=[],a={columns:o,rows:[],values:this.getAreaFields("data"),filters:[]},r=l.Deferred();return n&&i?(f(n.levels||[n],function(){o.push(l.extend({},this,{expanded:!0,filterValues:null,sortOrder:"asc",sortBySummaryField:null}))}),i.load(a).done(function(e){K(a,e),t._sort(a,e),r.resolve(e.columns)}).fail(r)):r.reject(),r},reload:function(){return this.load({reload:!0})},filter:function(){var e=this._store;return e.filter.apply(e,arguments)},load:function(e){function t(){n._delayedLoadTask=void 0,n._descriptions?n._loadCore(e,i):l.when(N(n)).done(function(t){n._fieldsPrepared(t),n._loadCore(e,i)}).fail(i.reject).fail(n._loadErrorHandler)}var n=this,i=l.Deferred();return e=e||{},n._changeLoadingCount(1),i.progress(function(e){n._changeLoadingCount(0,.8*e)}),i.fail(function(e){n.fireEvent("loadError",[e])}).always(function(){n._changeLoadingCount(-1)}),n.store()?n._delayedLoadTask=h.executeAsync(t):t(),i},createDrillDownDataSource:function(e){function t(e){return function(t){var o;return n?o=n[e](t):(o=l.Deferred(),l.when(i).done(function(i){n=new u(i),n[e](t).done(o.resolve).fail(o.reject)}).fail(o.reject)),o}}var n,i=this._store.getDrillDownItems(this._descriptions,e),o=new c({load:t("load"),totalCount:t("totalCount"),key:this._store.key()});return o},_createDescriptions:F,_fieldsPrepared:function(e){var t=this;t._fields=e,f(e,function(e,t){t.index=e,r(t,O.concat(["allowSorting","allowSortingBySummary","allowFiltering","allowExpandAll"]))}),t.fireEvent("fieldsPrepared",[e]),t._descriptions=t._createDescriptions()},isLoading:function(){return this._loadingCount>0},state:function(e){var n=this;return arguments.length?(e=l.extend({rowExpandedPaths:[],columnExpandedPaths:[]},e),void(n._descriptions?(n._fields=b(e.fields,n._fields),n._descriptions=n._createDescriptions(),n.load(e)):(n._changeLoadingCount(1),l.when(N(n)).done(function(t){n._fields=b(e.fields,t),n._fieldsPrepared(t),n.load(e)}).always(function(){n._changeLoadingCount(-1)})))):{fields:i(n._fields),columnExpandedPaths:t(n._data,n._descriptions,"columns"),rowExpandedPaths:t(n._data,n._descriptions,"rows")}},_changeLoadingCount:function(e,t){var n,i=this.isLoading();this._loadingCount+=e,n=this.isLoading(),(i^n||t)&&this.fireEvent("loadingChanged",[n,t])},_loadCore:function(e,n){var i=this,o=this._store,a=this._descriptions,r=B[e.area];e=e||{},o?(l.extend(e,a),e.columnExpandedPaths=e.columnExpandedPaths||t(this._data,e,"columns"),e.rowExpandedPaths=e.rowExpandedPaths||t(this._data,e,"rows"),r&&(e.headerName=r),i._changeLoadingCount(1),n.always(function(){i._changeLoadingCount(-1)}),l.when(o.load(e)).progress(n.notify).done(function(t){e.path?i.applyPartialDataSource(e.area,e.path,t,n):(l.extend(i._data,t),i._update(n))}).fail(n.reject)):i._update(n)},_sort:function(e,t,n){var i=this._store;i&&j(e,t,n)},_update:function(e){var t=this,n=t._descriptions,i=t._data,o=s(n);l.when(K(n,i),Y(i.rows),Y(i.columns)).done(function(){o&&(t._sort(n,i,o),y.applyDisplaySummaryMode(n,i)),t._sort(n,i),t._data=i,l.when(e).done(function(){t.fireEvent("changed"),p(t._data.grandTotalRowIndex)&&(i.grandTotalRowIndex=t._data.grandTotalRowIndex),p(t._data.grandTotalColumnIndex)&&(i.grandTotalColumnIndex=t._data.grandTotalColumnIndex)}),e&&e.resolve(t._data)})},store:function(){return this._store},collapseHeaderItem:function(e,t){var n=this,i="column"===e?n._data.columns:n._data.rows,o=X(i,t),a=n.getAreaFields(e)[t.length-1];return o&&o.children?(n.fireEvent("expandValueChanging",[{area:e,path:t,expanded:!1}]),a&&(a.expanded=!1),o.collapsedChildren=o.children,delete o.children,n._update(),!0):!1},collapseAll:function(e){var t=!1,n=this.field(e)||{},i=l.inArray(n,this.getAreaFields(n.area));n.expanded=!1,C(this._data[n.area+"s"],function(e){var n=e[0],o=D(e);n&&n.children&&i===o.length-1&&(n.collapsedChildren=n.children,delete n.children,t=!0)},!0),t&&this._update()},expandAll:function(e){var t=this.field(e);t&&t.area&&(t.expanded=!0,this.load())},expandHeaderItem:function(e,t){var n,i,o=this,a="column"===e?o._data.columns:o._data.rows,r=X(a,t);return r&&!r.children?(n=!!r.collapsedChildren,i={area:e,path:t,expanded:!0,needExpandData:!n},o.fireEvent("expandValueChanging",[i]),n?(r.children=r.collapsedChildren,delete r.collapsedChildren,o._update()):o.load(i),n):!1},applyPartialDataSource:function(e,t,n,i){var o,a,r,s=this,c=s._data,d="column"===e?c.columns:c.rows;n&&n.values&&(n.rows=n.rows||[],n.columns=n.columns||[],o=X(d,t),o&&("column"===e?(r=Z(d,o,n.columns,c.grandTotalColumnIndex),a=J(c.rows,n.rows)):(a=Z(d,o,n.rows,c.grandTotalRowIndex),r=J(c.columns,n.columns)),l.when(a,r).done(function(e,t){ee(c,n.values,e,t),s._update(i)})))},dispose:function(){var e=this,t=e._delayedLoadTask;this._disposeEvents(),t&&t.abort(),this._isDisposed=!0},isDisposed:function(){return!!this._isDisposed}}}()).include(g)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(7),r=n(2),s=r.isDefined,l=a.adjustValue,c=Math,d=c.abs,u=c.ceil,h=c.floor,p=o.noop,f=200,_=[2,4,5,8,10];t.continuous={_hasUnitBeginningTickCorrection:p,_checkBoundedDatesOverlapping:p,_correctInterval:function(e){this._tickInterval*=e},_correctMax:function(e){this._max=this._adjustNumericTickValue(u(this._max/e)*e,e,this._min)},_correctMin:function(e){this._min=this._adjustNumericTickValue(h(this._min/e)*e,e,this._min)},_findBusinessDelta:function(e,t){return l(d(e-t))},_findTickIntervalForCustomTicks:function(){return d(this._customTicks[1]-this._customTicks[0])},_getBoundInterval:function(){var e=this,t=e._options.boundCoef;return s(t)&&isFinite(t)?e._tickInterval*d(t):e._tickInterval/2},_getInterval:function(e,t){var n,i,o,a=e||this._getDeltaCoef(this._screenDelta,this._businessDelta,this._options.gridSpacingFactor),r=t||this._options.numberMultipliers,s=0,c=!1;if(a>1){for(n=1;!c;n*=10)for(o=0;o<r.length;o++)if(s=r[o]*n,s>=a){c=!0;break}}else if(a>0)for(s=1,n=.1;!c;n/=10)for(o=r.length-1;o>=0;o--){if(i=r[o]*n,a>i){c=!0;break}s=i}return l(s)},_getMarginValue:function(e,t,n){return a.applyPrecisionByMinDelta(e,n,d(t-e)*n)},_getDefaultMinorInterval:function(e,t){var n,i=this._getDeltaCoef(e,t,this._options.minorGridSpacingFactor),o=_,a=o.length-1;for(a;a>=0;a--)if(n=t/o[a],n>=i)return l(n);return 0},_getMinorInterval:function(e,t){var n,i,o,a=this,r=a._options,l=r.minorTickInterval,c=r.minorTickCount;isFinite(l)&&a._isTickIntervalCorrect(l,f,t)?(n=l,o=t>n?u(t/n)-1:0):s(c)?(i=s(c)?c+1:h(e/r.minorGridSpacingFactor),o=i-1,n=o>0?t/i:0):(n=a._getDefaultMinorInterval(e,t),o=t>n?h(t/n)-1:0),a._minorTickInterval=n,a._minorTickCount=o},_getNextTickValue:function(e,t,n){return t=s(n)&&n?-t:t,e+=t,this._adjustNumericTickValue(e,t,this._min)},_isTickIntervalValid:function(e){return s(e)&&isFinite(e)&&0!==e}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){this._options=e}function a(e,t){this._renderElement=e,this._cacheBBox=t}var r=n(1),s=Math.round,l=n(30),c={horizontal:0,vertical:0},d={center:.5,right:1,bottom:1,left:0,top:0};o.prototype={constructor:o,position:function(e){var t=this,n=e.of.getLayoutOptions(),i=t.getLayoutOptions(),o=e.at,a=e.my,r=e.offset||c,l=-d[a.horizontal]*i.width+n.x+d[o.horizontal]*n.width+parseInt(r.horizontal),u=-d[a.vertical]*i.height+n.y+d[o.vertical]*n.height+parseInt(r.vertical);t.shift(s(l),s(u))},getLayoutOptions:r.noop,getVerticalCuttedSize:function(e){var t=this,n=e.height,i=e.top,o=e.bottom,a=t.getLayoutOptions();return a&&(t.draw(e.width,e.height),a=t.getLayoutOptions(),a&&(n-=a.height,"bottom"===a.position.vertical?o+=a.height:i+=a.height)),{left:e.left,right:e.right,top:i,bottom:o,width:e.width,height:n}}};var u=a.prototype=l.clone(o.prototype);u.constructor=a,u.getLayoutOptions=function(){return this._cacheBBox||this._renderElement.getBBox()},u.shift=function(e,t){var n=this.getLayoutOptions();this._renderElement.move(s(e-n.x),s(t-n.y))},t.LayoutElement=o,t.WrapperLayoutElement=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return E(e)?A(e):t}function a(e){return b(e)?e:C(e)?[e]:null}function r(e){return e?e.value:null}function s(e,t,n){for(var i=e[t],a=b(n)?T(n,r):[],s=0,l=a.length,c=[];l>s;++s)c.push(o(a[s],i[s]));e[t]=c}function l(e){void 0===e.option(V)&&void 0===e.option(F)&&void 0!==e.option("valueIndicators")&&(c(e),d(e))}function c(e){e.value=e.subvalues=R,e._setupValue=e._setupSubvalues=e._updateValueIndicator=e._updateSubvalueIndicators=null}function d(e){e._indicatorValues=[],s(e,"_indicatorValues",e.option("valueIndicators")),e._valueIndicators=[];var t=e._applyMostlyTotalChange;e._applyMostlyTotalChange=function(){s(this,"_indicatorValues",this.option("valueIndicators")),t.call(this)},e._updateActiveElements=u,e._prepareValueIndicators=h,e._disposeValueIndicators=p,e._cleanValueIndicators=f,e.indicatorValue=_}function u(){var e=this;P(e._valueIndicators,function(t,n){n.value(e._indicatorValues[n.index],e._noAnimation)})}function h(){var e,t=this,n=t._valueIndicators||[],i=t.option("valueIndicators"),o=[],a=0;for(e=b(i)?i.length:0;e>a;++a)o.push(i[a]);for(e=n.length;e>a;++a)o.push(null);var r=[];return P(o,function(e,i){var o=n[e];if(!i)return void(o&&o.dispose());var a=t._prepareIndicatorSettings(i,"valueIndicatorType");o&&o.type!==a.type&&(o.dispose(),o=null),o||(o=t._createIndicator(a.type,t._renderer.root,"dxg-value-indicator","value-indicator",e,!0)),o&&(o.index=e,o.render(a),r.push(o))}),t._valueIndicators=r,t._valueIndicators}function p(){P(this._valueIndicators,function(e,t){t.dispose()}),this._valueIndicators=null}function f(){P(this._valueIndicators,function(e,t){t.clean()})}function _(e,t){return g(this,this._valueIndicators,this._indicatorValues,e,t)}function g(e,t,n,i,a){return void 0!==a?(void 0!==n[i]&&(n[i]=o(a,n[i]),t[i]&&t[i].value(n[i])),e):n[i]}function m(e){this._parameters=e,this._indicators=[]}var v=n(1),x=n(131).dxBaseGauge,w=n(2),y=w.isDefined,b=w.isArray,C=w.isNumber,k=n(97),S=n(254),T=n(7).map,I=n(7).normalizeEnum,D=n(131).compareArrays,E=isFinite,A=Number,B=Math.min,M=Math.max,O=v.extend,P=v.each,R=v.noop,V="value",F="subvalues",L=5,H=[1,2,5];t.dxGauge=x.inherit({_initCore:function(){var e=this,t=e._renderer;e._setupValue(e.option(V)),e.__subvalues=a(e.option(F)),e._setupSubvalues(e.__subvalues),l(e),e.callBase.apply(e,arguments),e._rangeContainer=new e._factory.RangeContainer({renderer:t,container:t.root,translator:e._translator,themeManager:e._themeManager}),e._initScale()},_initScale:function(){var e=this;e._scaleGroup=e._renderer.g().attr({"class":"dxg-scale"}).linkOn(e._renderer.root,"scale"),e._scale=new S.Axis({incidentOccurred:e._incidentOccurred,renderer:e._renderer,axesContainerGroup:e._scaleGroup,axisType:e._scaleTypes.type,drawingType:e._scaleTypes.drawingType,widgetClass:"dxg"}),e._scaleTranslator=e._initScaleTranslator(new k.Range({axisType:"continuous",dataType:"numeric",stick:!0}))},_disposeCore:function(){var e=this;e.callBase.apply(e,arguments),e._scale.dispose(),e._scaleGroup.linkOff(),e._rangeContainer.dispose(),e._disposeValueIndicators(),e._scale=e._scaleGroup=e._scaleTranslators=e._rangeContainer=null},_disposeValueIndicators:function(){var e=this;e._valueIndicator&&e._valueIndicator.dispose(),e._subvalueIndicatorsSet&&e._subvalueIndicatorsSet.dispose(),e._valueIndicator=e._subvalueIndicatorsSet=null},_setupDomainCore:function(){var e=this,t=e.option("scale")||{},n=e.option("startValue"),i=e.option("endValue");n=C(n)?A(n):C(t.startValue)?A(t.startValue):0,i=C(i)?A(i):C(t.endValue)?A(t.endValue):100,e._baseValue=i>n?n:i,e._translator.setDomain(n,i)},_cleanContent:function(){var e=this;e._rangeContainer.clean(),e._cleanValueIndicators()},_measureScale:function(e){var t,n,i,o,a,r,s=this,l=e.tick,c=l.visible&&l.length>0&&l.width>0,d=e.minorTick,u=d.visible&&d.length>0&&d.width>0,h=e.label,p=Number(h.indentFromTick);return c||u||h.visible?(t=s._scale.measureLabels(),n=s._getScaleLayoutValue(),i={min:n,max:n},o=s._getTicksCoefficients(e),a=o.inner,r=o.outer,c&&(i.min=B(i.min,n-a*l.length),i.max=M(i.max,n+r*l.length)),u&&(i.min=B(i.min,n-a*d.length),i.max=M(i.max,n+r*d.length)),h.visible&&s._correctScaleIndents(i,p,t),i):{}},_renderContent:function(){var e,t=this,n=t._prepareScaleSettings();t._rangeContainer.render(O(t._getOption("rangeContainer"),{vertical:t._area.vertical})),t._renderScale(n),e=T([t._rangeContainer].concat(t._prepareValueIndicators()),function(e){return e&&e.enabled?e:null}),t._applyMainLayout(e,t._measureScale(n)),P(e,function(e,n){n.resize(t._getElementLayout(n.getOffset()))}),t._shiftScale(t._getElementLayout(0),n),t._beginValueChanging(),t._updateActiveElements(),t._endValueChanging()},_prepareScaleSettings:function(){var e=this,t=v.extend(!0,{},e._themeManager.theme("scale"),e.option("scale")),n=t.label.overlappingBehavior.useAutoArrangement,i=t.majorTick,o=t.minorTick,a=t.label.overlappingBehavior;return i&&(t.tick=O(t.tick,i),n=void 0!==i.useTickAutoArrangement?i.useTickAutoArrangement:!0,void 0!==i.tickInterval&&(t.tickInterval=i.tickInterval),void 0!==i.customTickValues&&(t.customTicks=i.customTickValues),t.customTicks?t.tick.showCalculatedTicks=void 0!==i.showCalculatedTicks?i.showCalculatedTicks:!0:t.tick.showCalculatedTicks=!1),a.hideFirstTick=t.hideFirstTick,a.hideFirstLabel=t.hideFirstLabel,a.hideLastTick=t.hideLastTick,a.hideLastLabel=t.hideLastLabel,void 0!==o.customTickValues&&(t.customMinorTicks=t.minorTick.customTickValues),void 0!==o.tickInterval&&(t.minorTickInterval=t.minorTick.tickInterval),t.customMinorTicks?o.showCalculatedTicks=void 0!==o.showCalculatedTicks?o.showCalculatedTicks:!0:o.showCalculatedTicks=!1,t.label.indentFromAxis=0,t.isHorizontal=!e._area.vertical,a.mode=n?"enlargeTickInterval":"ignore",t.axisDivisionFactor=e._gridSpacingFactor,t.minorAxisDivisionFactor=L,t.numberMultipliers=H,t.tickOrientation=e._getTicksOrientation(t),t.label.useRangeColors&&(t.label.customizeColor=function(){return e._rangeContainer.getColorForValue(this.value)}),t},_renderScale:function(e){var t=this,n=t._translator.getDomain(),i=n[0],o=n[1];e.min=i,e.max=o,t._scale.updateOptions(e),t._updateScaleTranslator(i,o),t._updateScaleTickIndent(e),t._scaleGroup.linkAppend(),t._scale.draw()},_updateScaleTranslator:function(e,t){var n=this,i=n._getScaleTranslatorComponent("arg");n._updateScaleAngles(),i.updateBusinessRange(O(i.getBusinessRange(),{minVisible:e,maxVisible:t,invert:e>t})),n._scale.setTranslator(i,n._getScaleTranslatorComponent("val"))},_updateIndicatorSettings:function(e){var t=this;e.currentValue=e.baseValue=E(t._translator.translate(e.baseValue))?A(e.baseValue):t._baseValue,e.vertical=t._area.vertical,!e.text||e.text.format||e.text.precision||(e.text.format=t._defaultFormatOptions)},_prepareIndicatorSettings:function(e,t){var n=this,i=n._themeManager.theme("valueIndicators"),o=I(e.type||n._themeManager.theme(t)),a=O(!0,{},i._default,i[o],e);return a.type=o,a.animation=n._animationSettings,a.containerBackgroundColor=n._containerBackgroundColor,
n._updateIndicatorSettings(a),a},_cleanValueIndicators:function(){this._valueIndicator&&this._valueIndicator.clean(),this._subvalueIndicatorsSet&&this._subvalueIndicatorsSet.clean()},_prepareValueIndicators:function(){var e=this;return e._prepareValueIndicator(),null!==e.__subvalues&&e._prepareSubvalueIndicators(),[e._valueIndicator,e._subvalueIndicatorsSet]},_updateActiveElements:function(){this._updateValueIndicator(),this._updateSubvalueIndicators()},_prepareValueIndicator:function(){var e=this,t=e._valueIndicator,n=e._prepareIndicatorSettings(e.option("valueIndicator")||{},"valueIndicatorType");t&&t.type!==n.type&&(t.dispose(),t=null),t||(t=e._valueIndicator=e._createIndicator(n.type,e._renderer.root,"dxg-value-indicator","value-indicator")),t.render(n)},_createSubvalueIndicatorsSet:function(){var e=this,t=e._renderer.root;return new m({createIndicator:function(n,i){return e._createIndicator(n,t,"dxg-subvalue-indicator","subvalue-indicator",i)},createPalette:function(t){return e._themeManager.createPalette(t)}})},_prepareSubvalueIndicators:function(){var e,t,n=this,i=n._subvalueIndicatorsSet,o=n._prepareIndicatorSettings(n.option("subvalueIndicator")||{},"subvalueIndicatorType");i||(i=n._subvalueIndicatorsSet=n._createSubvalueIndicatorsSet()),e=o.type!==i.type,i.type=o.type,t=n._createIndicator(o.type,n._renderer.root),t&&(t.dispose(),i.render(o,e))},_setupValue:function(e){this.__value=o(e,this.__value)},_setupSubvalues:function(e){var t,n,i,r=void 0===e?this.__subvalues:a(e);if(null!==r){for(t=0,n=r.length,i=[];n>t;++t)i.push(o(r[t],this.__subvalues[t]));this.__subvalues=i}},_updateValueIndicator:function(){var e=this;e._valueIndicator&&e._valueIndicator.value(e.__value,e._noAnimation)},_updateSubvalueIndicators:function(){var e=this;e._subvalueIndicatorsSet&&e._subvalueIndicatorsSet.values(e.__subvalues,e._noAnimation)},value:function(e){return void 0!==e?(this._changeValue(e),this):this.__value},subvalues:function(e){return void 0!==e?(this._changeSubvalues(e),this):null!==this.__subvalues?this.__subvalues.slice():void 0},_changeValue:function(e){var t=this;t._setupValue(e),t._beginValueChanging(),t._updateValueIndicator(),t.__value!==t.option(V)&&t.option(V,t.__value),t._endValueChanging()},_changeSubvalues:function(e){var t=this;null!==t.__subvalues&&(t._setupSubvalues(e),t._beginValueChanging(),t._updateSubvalueIndicators(),D(t.__subvalues,t.option(F))||t.option(F,t.__subvalues),t._endValueChanging())},_optionChangesMap:{scale:"DOMAIN",rangeContainer:"MOSTLY_TOTAL",valueIndicator:"MOSTLY_TOTAL",subvalueIndicator:"MOSTLY_TOTAL",containerBackgroundColor:"MOSTLY_TOTAL",value:"VALUE",subvalues:"SUBVALUES",valueIndicators:"MOSTLY_TOTAL"},_customChangesOrder:["VALUE","SUBVALUES"],_change_VALUE:function(){this._changeValue(this.option(V))},_change_SUBVALUES:function(){this._changeSubvalues(this.option(F))},_applyMainLayout:null,_getElementLayout:null,_createIndicator:function(e,t,n,i,o,a){var r=this,s=r._factory.createIndicator({renderer:r._renderer,translator:r._translator,owner:t,tracker:r._tracker,className:n},e,a);return s&&(s.type=e,s._trackerInfo={type:i,index:o}),s},_getApproximateScreenRange:null}),m.prototype={constructor:m,dispose:function(){var e=this;return P(e._indicators,function(e,t){t.dispose()}),e._parameters=e._options=e._indicators=e._colorPalette=e._palette=null,e},clean:function(){var e=this;return e._sample&&e._sample.clean().dispose(),P(e._indicators,function(e,t){t.clean()}),e._sample=e._options=e._palette=null,e},render:function(e,t){var n=this;return n._options=e,n._sample=n._parameters.createIndicator(n.type),n._sample.render(e),n.enabled=n._sample.enabled,n._palette=y(e.palette)?n._parameters.createPalette(e.palette):null,n.enabled&&(n._generatePalette(n._indicators.length),n._indicators=T(n._indicators,function(e,i){return t&&(e.dispose(),e=n._parameters.createIndicator(n.type,i)),e.render(n._getIndicatorOptions(i)),e})),n},getOffset:function(){return A(this._options.offset)||0},resize:function(e){var t=this;return t._layout=e,P(t._indicators,function(t,n){n.resize(e)}),t},measure:function(e){return this._sample.measure(e)},_getIndicatorOptions:function(e){var t=this._options;return this._colorPalette&&(t=O({},t,{color:this._colorPalette[e]})),t},_generatePalette:function(e){var t=this,n=null;if(t._palette){n=[],t._palette.reset();for(var i=0;e>i;++i)n.push(t._palette.getNextColor())}t._colorPalette=n},_adjustIndicatorsCount:function(e){var t,n,i,o=this,a=o._indicators,r=a.length;if(r>e){for(t=e,n=r;n>t;++t)a[t].clean().dispose();o._indicators=a.slice(0,e),o._generatePalette(a.length)}else if(e>r)for(o._generatePalette(e),t=r,n=e;n>t;++t)i=o._parameters.createIndicator(o.type,t),i.render(o._getIndicatorOptions(t)).resize(o._layout),a.push(i)},values:function(e,t){var n=this;if(n.enabled)return void 0!==e?(b(e)||(e=E(e)?[Number(e)]:null),e&&(n._adjustIndicatorsCount(e.length),P(n._indicators,function(n,i){i.value(e[n],t)})),n):T(n._indicators,function(e){return e.value()})}},t.createIndicatorCreator=function(e){return function(t,n,i){var o=e[I(n)]||!i&&e._default;return o?new o(t):null}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(168),a=n(2).isFunction,r=24,s=4,l=". . .",c={trackerSettings:{fill:"grey",stroke:"grey",opacity:1e-4},animationSettings:{duration:250}},d={emptySliderMarkerText:l,pointerSize:s},u=function(e,t){var n={value:e,valueText:o(e,t)};return String(a(t.customizeText)?t.customizeText.call(n,n):n.valueText)};t.utils=c,t.consts=d,t.formatValue=u,t.HEIGHT_COMPACT_MODE=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){var o=d.clone(e);return o.x=t,o.y=n,o.angle=i,o}function a(e,t,n,i,a){var r=e.angle+a,s=u.getCosAndSin(r),l=n.x+(e.radius+i*a)*s.cos,c=n.y-(e.radius+i*a)*s.sin;return o(t,l,c,r)}var r=n(1),s=n(96),l=s.chart,c=s.polar,d=n(30),u=n(7),h=u.normalizeAngle,p="canvas_position_start",f="canvas_position_top",_="discrete",g=u.map,m=r.extend,v=r.each;t.chart={},t.polar={};var x={_applyGroupSettings:function(e,t,n){var i=this;t=m(t,e),i._applyElementsClipRect(t),n.attr(t)},_setGroupsSettings:function(e){var t=this,n=t._styles.normal;t._applyGroupSettings(n.elements,{"class":"dxc-elements"},t._elementsGroup),t._bordersGroup&&t._applyGroupSettings(n.border,{"class":"dxc-borders"},t._bordersGroup),l._setGroupsSettings.call(t,e),e&&t._markersGroup&&t._markersGroup.attr({opacity:.001})},_createGroups:function(){var e=this;e._createGroup("_elementsGroup",e,e._group),e._areBordersVisible()&&e._createGroup("_bordersGroup",e,e._group),l._createGroups.call(e)},_areBordersVisible:function(){return!1},_getDefaultSegment:function(e){return{line:g(e.line||[],function(e){return e.getDefaultCoords()})}},_prepareSegment:function(e){return{line:e}},_parseLineOptions:function(e,t){return{stroke:e.color||t,"stroke-width":e.width,dashStyle:e.dashStyle||"solid"}},_parseStyle:function(e,t){return{elements:this._parseLineOptions(e,t)}},_applyStyle:function(e){var t=this;t._elementsGroup&&t._elementsGroup.attr(e.elements),v(t._graphics||[],function(t,n){n.line&&n.line.attr({"stroke-width":e.elements["stroke-width"]}).sharp()})},_drawElement:function(e,t){return{line:this._createMainElement(e.line,{"stroke-width":this._styles.normal.elements["stroke-width"]}).append(t)}},_removeElement:function(e){e.line.remove()},_generateDefaultSegments:function(){var e=this;return g(e._segments||[],function(t){return e._getDefaultSegment(t)})},_updateElement:function(e,t,n,i,o){var a={points:t.line},r=e.line;n?r.animate(a,i,o):r.attr(a)},_clearingAnimation:function(e,t){var n=this,i=n._graphics.length-1,o={opacity:.001},a={duration:n._defaultDuration,partitionDuration:.5};n._labelsGroup&&n._labelsGroup.animate(o,a,function(){n._markersGroup&&n._markersGroup.animate(o,a,function(){v(n._defaultSegments||[],function(e,o){n._oldUpdateElement(n._graphics[e],o,!0,{partitionDuration:.5},e===i?t:void 0)})})})},_animateComplete:function(){var e=this;l._animateComplete.call(this),e._markersGroup&&e._markersGroup.animate({opacity:1},{duration:e._defaultDuration})},_animate:function(){var e=this,t=e._graphics.length-1;v(e._graphics||[],function(n,i){e._updateElement(i,e._segments[n],!0,{complete:n===t?function(){e._animateComplete()}:void 0})})},_drawPoint:function(e){l._drawPoint.call(this,{point:e.point,groups:e.groups})},_createMainElement:function(e,t){return this._renderer.path(e,"line").attr(t).sharp()},_drawSegment:function(e,t,n,i){var o=this,a=o._prepareSegment(e,o._options.rotated,i);o._segments.push(a),o._graphics[n]?t||o._updateElement(o._graphics[n],a):o._graphics[n]=o._drawElement(t?o._getDefaultSegment(a):a,o._elementsGroup)},_getTrackerSettings:function(){var e=this,t=e._defaultTrackerWidth,n=e._styles.normal.elements["stroke-width"];return{"stroke-width":n>t?n:t,fill:"none"}},_getMainPointsFromSegment:function(e){return e.line},_drawTrackerElement:function(e){return this._createMainElement(this._getMainPointsFromSegment(e),this._getTrackerSettings(e))},_updateTrackerElement:function(e,t){var n=this._getTrackerSettings(e);n.points=this._getMainPointsFromSegment(e),t.attr(n)}};t.chart.line=m({},l,x),t.chart.stepline=m({},t.chart.line,{_calculateStepLinePoints:function(e){var t=[];return v(e,function(e,n){var i,o;return e?(i=t[t.length-1].y,i!==n.y&&(o=d.clone(n),o.y=i,t.push(o)),void t.push(n)):void t.push(n)}),t},_prepareSegment:function(e){return t.chart.line._prepareSegment(this._calculateStepLinePoints(e))}}),t.chart.spline=m({},t.chart.line,{_calculateBezierPoints:function(e,t){var n=[],i=e,a=function(e,t,n){return e>t&&n>e||t>e&&e>n?e:n};return 1!==i.length?v(i,function(e,r){var s,l,c,d,u,h,p,f,_,g,m,v,x,w,y,b,C,k,S,T,I,D=.5;return e?(u=i[e-1],e<i.length-1?(h=i[e+1],p=r.x,f=r.y,_=u.x,g=h.x,m=u.y,v=h.y,x=!!(!t&&(f<=u.y&&f<=h.y||f>=u.y&&f>=h.y)||t&&(p<=u.x&&p<=h.x||p>=u.x&&p>=h.x)),x?t?(c=s=p,d=(f+h.y)/2,l=(f+u.y)/2):(d=l=f,c=(p+h.x)/2,s=(p+u.x)/2):(b=v-m,C=_-g,k=m*g-_*v,t?(T=f,S=-1*(C*T+k)/b,I=S-p||0,_-=I,g-=I):(S=p,T=-1*(b*S+k)/C,I=T-f||0,m-=I,v-=I),c=(p+D*g)/(1+D),d=(f+D*v)/(1+D),s=(p+D*_)/(1+D),l=(f+D*m)/(1+D)),t?(s=a(u.x,p,s),c=a(h.x,p,c)):(l=a(u.y,f,l),d=a(h.y,f,d)),w=o(r,s,l),y=o(r,c,d),n.push(w,r,y),void 0):void n.push(r,r)):(n.push(r),void n.push(r))}):n.push(i[0]),n},_prepareSegment:function(e,n){return t.chart.line._prepareSegment(this._calculateBezierPoints(e,n))},_createMainElement:function(e,t){return this._renderer.path(e,"bezier").attr(t).sharp()}}),t.polar.line=m({},c,x,{_prepareSegment:function(e,n,i){var o,a=[],r=this.translators.translate(p,f);if(i&&this._closeSegment(e),this.argumentAxisType===_||this.valueAxisType===_)return t.chart.line._prepareSegment.apply(this,arguments);for(o=1;o<e.length;o++)a=a.concat(this._getTangentPoints(e[o],e[o-1],r));return a.length||(a=e),{line:a}},_getRemainingAngle:function(e){var t=h(e);return e>=0?360-t:-t},_closeSegment:function(e){var t,n;t=this._segments.length?this._segments[0].line[0]:o(e[0],e[0].x,e[0].y,e[0].angle),e[e.length-1].angle!==t.angle&&(h(Math.round(e[e.length-1].angle))===h(Math.round(t.angle))?t.angle=e[e.length-1].angle:(n=e[e.length-1].angle-t.angle,t.angle=e[e.length-1].angle+this._getRemainingAngle(n)),e.push(t))},_getTangentPoints:function(e,t,n){var i,o=[],r=Math.round(t.angle-e.angle),s=(t.radius-e.radius)/r;if(0===r)o=[t,e];else if(r>0)for(i=r;i>=0;i--)o.push(a(e,t,n,s,i));else for(i=0;i>=r;i--)o.push(a(e,t,n,s,r-i));return o}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=o.extend,r=Math,s=r.floor,l=r.abs,c=r.min,d=n(118),u="canvas_position_default",h=9,p=4,f="right",_="left",g="top",m="bottom";i.exports=a({},d,{correctCoordinates:function(e){var t=s(e.offset-e.width/2),n=this._options.rotated,i=n?"height":"width",o=(n?"y":"x")+"Correction";this[i]=e.width,this[o]=t},_getGraphicBbox:function(){var e=this,t={};return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},_getLabelConnector:function(e){return this._getGraphicBbox(e)},_getLabelPosition:function(){var e,t=this,n=t.translators,i=t.initialValue,o=n.x.getBusinessRange().invert,a=n.y.getBusinessRange().invert,r="discrete"===t.series.valueAxisType,s=t.series.isFullStackedSeries(),l=!r&&(i>=0&&!a||0>i&&a)||r&&!a||s,c=!r&&(i>=0&&!o||0>i&&o)||r&&!o||s;return e=t._options.rotated?c?f:_:l?g:m},_getLabelCoords:function(e){var t,n=this;return t=0===n.initialValue&&n.series.isFullStackedSeries()?this._options.rotated?n._getLabelCoordOfPosition(e,f):n._getLabelCoordOfPosition(e,g):"inside"===e.getLayoutOptions().position?n._getLabelCoordOfPosition(e,"inside"):d._getLabelCoords.call(this,e)},_checkLabelPosition:function(e,t){var n=this,i=n._getVisibleArea();return n._isPointInVisibleArea(i,n._getGraphicBbox())?n._moveLabelOnCanvas(t,i,e.getBoundingRect()):t},_isLabelInsidePoint:function(e){var t=this,n=t._getGraphicBbox(),i=e.getBoundingRect();return t._options.resolveLabelsOverlapping&&"inside"===e.getLayoutOptions().position&&(i.width>n.width||i.height>n.height)?(e.hide(),!0):!1},_moveLabelOnCanvas:function(e,t,n){var i=e.x,o=e.y;return t.minX>i&&(i=t.minX),t.maxX<i+n.width&&(i=t.maxX-n.width),t.minY>o&&(o=t.minY),t.maxY<o+n.height&&(o=t.maxY-n.height),{x:i,y:o}},_showForZeroValues:function(){return this._options.label.showForZeroValues||this.initialValue},_drawMarker:function(e,t,n){var i=this,o=i._getStyle(),a=i.x,r=i.y,s=i.width,l=i.height,c=i._options.cornerRadius;n&&(i._options.rotated?(s=0,a=i.defaultX):(l=0,r=i.defaultY)),i.graphic=e.rect(a,r,s,l).attr({rx:c,ry:c}).attr(o).data({"chart-data-point":i}).append(t)},_getSettingsForTracker:function(){var e=this,t=e.y,n=e.height,i=e.x,o=e.width;return e._options.rotated?1===o&&(o=h,i-=p):1===n&&(n=h,t-=p),{x:i,y:t,width:o,height:n}},getGraphicSettings:function(){var e=this.graphic;return{x:e.attr("x"),y:e.attr("y"),height:e.attr("height"),width:e.attr("width")}},_getEdgeTooltipParams:function(e,t,n,i){var o,a,r=this.value>=0,s=this.translators.y.getBusinessRange().invert,l=this.translators.x.getBusinessRange().invert;return this._options.rotated?(a=t+i/2,o=l?r?e:e+n:r?e+n:e):(o=e+n/2,a=s?r?t+i:t:r?t:t+i),{x:o,y:a,offset:0}},getTooltipParams:function(e){var t=this.x,n=this.y,i=this.width,o=this.height;return"edge"===e?this._getEdgeTooltipParams(t,n,i,o):{x:t+i/2,y:n+o/2,offset:0}},_truncateCoord:function(e,t,n){return t>e?t:e>n?n:e},_translateErrorBars:function(e,t){d._translateErrorBars.call(this,e),(this._errorBarPos<t.min||this._errorBarPos>t.max)&&(this._errorBarPos=void 0)},_translate:function(e){var t,n,i,o,a=this,r=a._options.rotated,s=r?"x":"y",d=r?"y":"x",h=r?"width":"height",p=r?"height":"width",f=e[d],_=e[s],g=f.getCanvasVisibleArea(),m=_.getCanvasVisibleArea();t=n=f.translate(a.argument)+(a[d+"Correction"]||0),i=_.translate(a.value),o=_.translate(a.minValue),a["v"+s]=i,a["v"+d]=t+a[p]/2,a[h]=l(i-o),a._calculateVisibility(r?c(i,o):c(t,n),r?c(t,n):c(i,o),a.width,a.height),i=a._truncateCoord(i,m.min,m.max),o=a._truncateCoord(o,m.min,m.max),a[d]=t,a["min"+d.toUpperCase()]=n,a[h]=l(i-o),a[s]=c(i,o)+(a[s+"Correction"]||0),a["min"+s.toUpperCase()]=o+(a[s+"Correction"]||0),a["default"+s.toUpperCase()]=_.translate(u),a._translateErrorBars(_,g),a.inVisibleArea&&(a[d]<g.min&&(a[p]=a[p]-(g.min-a[d]),a[d]=g.min,a["min"+d.toUpperCase()]=g.min),a[d]+a[p]>g.max&&(a[p]=g.max-a[d]))},_updateMarker:function(e,t){this.graphic.attr(a({},t||this._getStyle(),e?{}:this.getMarkerCoords()))},getMarkerCoords:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},coordsIn:function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(85),r=n(52),s=n(11),l=n(51),c=n(6),d=n(23),u=n(19),h=n(8),p=n(54),f=n(34),_={text:"OK",onClick:function(){return!0}},g="dx-dialog",m=g+"-wrapper",v=g+"-root",x=g+"-content",w=g+"-message",y=g+"-buttons",b=g+"-button",C=a.inherit({ctor:function(e,t){this.callBase(t)},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{width:276}},{device:{platform:"android"},options:{lWidth:"60%",pWidth:"80%"}},{device:function(e){var t=(d.current()||"").split(".")[0];return!e.phone&&"win8"===t},options:{width:function(){return o(window).width()}}},{device:function(e){var t=(d.current()||"").split(".")[0];return e.phone&&"win8"===t},options:{position:{my:"top center",at:"top center",of:window,offset:"0 0"}}}])}}),k=function(e){function t(){return T.show(),i.promise()}function n(e){i.resolve(e),T.hide().done(function(){T.element().remove()})}var i=o.Deferred(),a=(new C).option();e=o.extend(a,e);var d=o("<div>").addClass(g).appendTo(l.value()),h=o("<div>").addClass(w).html(String(e.message)),k=[],S=e.buttons;S?u.log("W0001","DevExpress.ui.dialog","buttons","16.1","Use the 'toolbarItems' option instead"):S=e.toolbarItems,o.each(S||[_],function(){var e=new r(this.onClick,{context:T});k.push({toolbar:"bottom",location:c.current().android?"after":"center",widget:"dxButton",options:o.extend({},this,{onClick:function(){var t=e.execute(arguments);n(t)}})})});var T=new p(d,{title:e.title||this.title,showTitle:function(){var t=void 0===e.showTitle?!0:e.showTitle;return t}(),height:"auto",width:function(){var t=o(window).height()>o(window).width(),n=(t?"p":"l")+"Width",i=e.hasOwnProperty(n)?e[n]:e.width;return o.isFunction(i)?i():i},showCloseButton:e.showCloseButton||!1,focusStateEnabled:!1,onContentReady:function(e){e.component.content().addClass(x).append(h)},onShowing:function(e){e.component.bottomToolbar().addClass(y).find(".dx-button").addClass(b),s.resetActiveElement()},onShown:function(e){e.component.bottomToolbar().find(".dx-button").first().focus()},onHiding:function(){i.reject()},toolbarItems:k,animation:{show:{type:"pop",duration:400},hide:{type:"pop",duration:400,to:{opacity:0,scale:0},from:{opacity:1,scale:1}}},rtlEnabled:f().rtlEnabled,boundaryOffset:{h:10,v:0}});return T._wrapper().addClass(m),e.position&&T.option("position",e.position),T._wrapper().addClass(v),{show:t,hide:n}},S=function(e,t,n){var i,a=o.isPlainObject(e)?e:{title:t,message:e,showTitle:n};return i=this.custom(a),i.show()},T=function(e,t,n){var i,a=o.isPlainObject(e)?e:{title:t,message:e,showTitle:n,toolbarItems:[{text:h.format("Yes"),onClick:function(){return!0}},{text:h.format("No"),onClick:function(){return!1}}]};return i=this.custom(a),i.show()};t.custom=k,t.alert=S,t.confirm=T,t.FakeDialogComponent=C}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=n(2),s=n(46),l=n(11),c={},d=function(e,t){c[e]=t},u=function(e){e=o(e);var t=e.length&&e[0].nodeName.toLowerCase();return"script"===t?e.html():(e=o("<div>").append(e),e.html())};d("default",{compile:function(e){return l.normalizeTemplateElement(e)},render:function(e,t){return e.clone()}}),d("jquery-tmpl",{compile:function(e){return u(e)},render:function(e,t){return o.tmpl(e,t)}}),d("jsrender",{compile:function(e){return o.templates(u(e))},render:function(e,t){return e.render(t)}}),d("mustache",{compile:function(e){return Mustache.compile(u(e))},render:function(e,t){return e(t)}}),d("hogan",{compile:function(e){return Hogan.compile(u(e))},render:function(e,t){return e.render(t)}}),d("underscore",{compile:function(e){return _.template(u(e))},render:function(e,t){return e(t)}}),d("handlebars",{compile:function(e){return Handlebars.compile(u(e))},render:function(e,t){return e(t)}}),d("doT",{compile:function(e){return doT.template(u(e))},render:function(e,t){return e(t)}});var h,p=function(e){if(r.isString(e)){if(h=c[e],!h)throw a.Error("E0020",e)}else h=e};p("default");var f=s.inherit({ctor:function(e,t){this.callBase(e,t),this._compiledTemplate=h.compile(e)},_renderCore:function(e){return o("<div>").append(h.render(this._compiledTemplate,e)).contents()}});i.exports=f,i.exports.setTemplateEngine=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(72).isWrapped,s=n(16).compileGetter,l=n(20),c=n(21),d=n(6),u=n(66),h=n(4),p=n(14),f=n(9),_=n(13),g=n(38).normalizeDataSourceOptions,m=h.addNamespace;n(94),n(87),n(109),n(114),n(160);var v="dx-datagrid-checkbox-size",x="dx-cell-focus-disabled",w="dx-editor-inline-block",y="dxDataGridEditorFactory",b=m([_.down,"focusin",f.name].join(" "),y),C="dx-datagrid-focus-overlay",k="dx-focused",S="dx-datagrid-content",T="dx-pointer-events-target",I="dx-pointer-events-none",D="dx-hidden",E=9;t.EditorFactoryController=l.ViewController.inherit(function(){var e=function(e,t){return o.extend(e,{readOnly:t.readOnly,placeholder:t.placeholder,attr:{id:t.id}},t.editorOptions)},t=function(t){var n=c.msie&&parseInt(c.version)<=11||d.real().ios,i=!1,o={},r=t.sharedData||o;return e({placeholder:t.placeholder,width:t.width,value:t.value,onValueChanged:function(e){var n=function(e,n){i=!1,t&&t.setValue(e.value,n)};window.clearTimeout(o.valueChangeTimeout),e.jQueryEvent&&"keyup"===e.jQueryEvent.type?"filterRow"===t.parentType||"searchPanel"===t.parentType?r.valueChangeTimeout=o.valueChangeTimeout=window.setTimeout(function(){n(e,o.valueChangeTimeout!==r.valueChangeTimeout)},a.isDefined(t.updateValueTimeout)?t.updateValueTimeout:0):i=!0:n(e)},onFocusOut:function(e){n&&i&&(i=!1,t.setValue(e.component.option("value")))},onKeyDown:function(e){n&&i&&13===e.jQueryEvent.keyCode&&(i=!1,t.setValue(e.component.option("value")))},valueChangeEvent:"change"+("filterRow"===t.parentType||n?" keyup":"")},t)},n=function(t){t.editorName="dxDateBox",t.editorOptions=e({value:t.value,onValueChanged:function(e){t.setValue(e.value)},displayFormat:a.isString(t.format)&&p.getPatternByFormat(t.format)||t.format,formatWidthCalculator:null,width:"auto"},t)},i=function(e){var n=t(e),i="searchPanel"===e.parentType,o=function(e){return a.isDefined(e)?e.toString():""};n.value=o(e.value),n.valueChangeEvent+=i?" keyup search":"",n.mode=i?"search":"text",e.editorName="dxTextBox",e.editorOptions=n},l=function(e){var n=t(e);n.value=a.isDefined(e.value)?e.value:null,e.editorName="dxNumberBox",e.editorOptions=n},A=function(e){"filterRow"===e.parentType?B(o.extend(e,{lookup:{displayExpr:function(t){return t===!0?e.trueText||"true":t===!1?e.falseText||"false":void 0},dataSource:[!0,!1]}})):M(e)},B=function(t){var n,i,o,l=t.lookup,c="filterRow"===t.parentType;l&&(n=s(l.displayExpr),i=l.dataSource,a.isFunction(i)&&!r(i)&&(i=i(t.row||{})),(a.isObject(i)||a.isArray(i))&&(i=g(i),c&&(o=i.postProcess,i.postProcess=function(e){return 0===this.pageIndex()&&(e=e.slice(0),e.unshift(null)),o?o.call(this,e):e})),t.editorName="dxSelectBox",t.editorOptions=e({searchEnabled:!0,value:t.value,valueExpr:t.lookup.valueExpr,searchExpr:t.lookup.searchExpr||t.lookup.displayExpr,showClearButton:Boolean(l.allowClearing&&!c),displayExpr:function(e){return null===e?t.showAllText:n(e)},dataSource:i,onValueChanged:function(e){var n=[e.value];!c&&n.push(e.component.option("text")),t.setValue.apply(this,n)}},t))},M=function(t){t.editorName="dxCheckBox",t.editorOptions=e({value:t.value,hoverStateEnabled:!t.readOnly,focusStateEnabled:!t.readOnly,activeStateEnabled:!1,onValueChanged:function(e){t.setValue&&t.setValue(e.value,e)},tabIndex:t.tabIndex?t.tabIndex:0},t)},O=function(e,t){t.editorName&&t.editorOptions&&t.editorElement[t.editorName]&&("dxCheckBox"===t.editorName&&(t.editorElement.addClass(v),t.editorElement.parent().addClass(w),(t.command||t.editorOptions.readOnly)&&t.editorElement.parent().addClass(x)),e._createComponent(t.editorElement,t.editorName,t.editorOptions),"dxTextBox"===t.editorName&&t.editorElement.dxTextBox("instance").registerKeyHandler("enter",o.noop))};return{_getFocusedElement:function(e){return e.find("[tabindex]:focus, input:focus")},_updateFocusCore:function(){var e,t,n=this._$focusedElement,i=this.component&&this.component.element();return i&&(n=this._getFocusedElement(i),n.length&&(n.hasClass(x)||(e=n.closest(".dx-row > td, ."+x),t=e.get(0)!==n.get(0)&&e.hasClass(w),n=e),n.length&&!n.hasClass(x)))?void this.focus(n,t):void this.loseFocus()},_updateFocus:function(e){var t=this,n=e&&e.jQueryEvent&&o(e.jQueryEvent.target).hasClass(C);t._isFocusOverlay=t._isFocusOverlay||n,clearTimeout(t._updateFocusTimeoutID),t._updateFocusTimeoutID=setTimeout(function(){delete t._updateFocusTimeoutID,t._isFocusOverlay||t._updateFocusCore(),t._isFocusOverlay=!1})},_updateFocusOverlaySize:function(e,t){var n=u.calculate(e,o.extend({collision:"fit"},t));n.h.oversize>0&&e.outerWidth(e.outerWidth()-n.h.oversize),n.v.oversize>0&&e.outerHeight(e.outerHeight()-n.v.oversize)},callbackNames:function(){return["focused"]},focus:function(e,t){var n=this;return void 0===e?n._$focusedElement:void(e&&setTimeout(function(){var i,a=n._$focusOverlay=n._$focusOverlay||o("<div>").addClass(C+" "+T);if(t)n._$focusOverlay&&n._$focusOverlay.addClass(D);else{var r=c.msie?"left bottom":c.mozilla?"right bottom":"left top",s=e.closest("."+S);a.removeClass(D).appendTo(s).outerWidth(e.outerWidth()+1).outerHeight(e.outerHeight()+1),i={my:r,at:r,of:e,boundary:s.length&&s},n._updateFocusOverlaySize(a,i),u.setup(a,i),a.css("visibility","visible")}n._$focusedElement&&n._$focusedElement.removeClass(k),e.addClass(k),n._$focusedElement=e,n.focused.fire(e)}))},resize:function(){var e=this._$focusedElement;e&&this.focus(e)},loseFocus:function(){this._$focusedElement&&this._$focusedElement.removeClass(k),this._$focusedElement=null,this._$focusOverlay&&this._$focusOverlay.addClass(D)},init:function(){this.createAction("onEditorPreparing",{excludeValidators:["designMode","disabled","readOnly"],category:"rendering"}),this.createAction("onEditorPrepared",{excludeValidators:["designMode","disabled","readOnly"],category:"rendering"}),this._updateFocusHandler=this._updateFocusHandler||this.createAction(o.proxy(this._updateFocus,this)),o(document).on(b,this._updateFocusHandler),this._attachContainerEventHandlers()},_attachContainerEventHandlers:function(){var e=this,t=e.component&&e.component.element(),n=c.msie&&parseInt(c.version)<11;t&&(t.on(m("keydown",y),function(t){t.which===E&&e._updateFocusHandler(t)}),n&&t.on([_.down,_.up,f.name].join(" "),"."+T,o.proxy(e._focusOverlayEventProxy,e)))},_focusOverlayEventProxy:function(e){var t,n=o(e.target),i=o(e.currentTarget),a=n.hasClass(T)||n.hasClass(I),r=this._$focusedElement;a&&!i.hasClass(D)&&(i.addClass(D),t=n.get(0).ownerDocument.elementFromPoint(e.clientX,e.clientY),h.fireEvent({originalEvent:e,target:t}),e.stopPropagation(),i.removeClass(D),r&&r.find("input").focus())},dispose:function(){clearTimeout(this._updateFocusTimeoutID),o(document).off(b,this._updateFocusHandler)},createEditor:function(e,t){if(t.cancel=!1,t.editorElement=e,t.lookup)B(t);else switch(t.dataType){case"date":n(t);break;case"boolean":A(t);break;case"number":l(t);break;default:i(t)}this.executeAction("onEditorPreparing",t),t.cancel||(O(this,t),this.executeAction("onEditorPrepared",t))}}}()),l.registerModule("editorFactory",{defaultOptions:function(){return{}},controllers:{editorFactory:t.EditorFactoryController},extenders:{controllers:{columnsResizer:{_startResizing:function(e){this.callBase(e),this.isResizing()&&this.getController("editorFactory").loseFocus()}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(213),r=n(149),s=n(12),l=n(2),c=n(14),d=n(8),u=r.inherit({NAME:"Calendar",supportedKeys:function(){return{rightArrow:function(){return this.option("opened")?!0:void 0},leftArrow:function(){return this.option("opened")?!0:void 0},enter:o.proxy(function(e){if(this.dateBox.option("opened")){if(e.preventDefault(),this._widget.option("zoomLevel")!==this._widget.option("maxZoomLevel"))return!0;var t=this._widget._view.option("contouredDate");t&&this.dateBoxValue(t),this.dateBox.close(),this.dateBox._valueChangeEventHandler(e)}},this)}},getDisplayFormat:function(e){return e||c.getPatternByFormat("shortdate")},_getWidgetName:function(){return a.publicName()},_getWidgetOptions:function(){return o.extend(this.dateBox.option("calendarOptions"),{value:this.dateBoxValue()||null,_keyboardProcessor:this._widgetKeyboardProcessor,min:this.dateBox.dateOption("min"),max:this.dateBox.dateOption("max"),onValueChanged:o.proxy(this._valueChangedHandler,this),onCellClick:o.proxy(this._cellClickHandler,this),tabIndex:null,maxZoomLevel:this.dateBox.option("maxZoomLevel"),minZoomLevel:this.dateBox.option("minZoomLevel"),onContouredChanged:o.proxy(this._refreshActiveDescendant,this),hasFocus:function(){return!0}})},_refreshActiveDescendant:function(e){this.dateBox.setAria("activedescendant",e.actionValue)},popupConfig:function(e){var t=e.toolbarItems,n=this.dateBox.option("buttonsLocation"),i=[];return i="default"!==n?l.splitPair(n):["bottom","center"],"useButtons"===this.dateBox.option("applyValueMode")&&t.unshift({widget:"dxButton",toolbar:i[0],location:"after"===i[1]?"before":i[1],options:{onClick:o.proxy(function(){this._widget._toTodayView()},this),text:d.format("dxCalendar-todayButtonText"),type:"today"}}),o.extend(!0,e,{toolbarItems:t,position:{collision:"flipfit flip"}})},_valueChangedHandler:function(e){var t=this.dateBox,n=e.value,i=e.previousValue,o=s.sameMonthAndYear(n,i)&&n.getDate()===i.getDate();o||"instantly"===t.option("applyValueMode")&&this.dateBoxValue(this.getValue())},_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue())},textChangedHandler:function(){this.dateBox.option("opened")&&this._widget&&this._updateValue(!0)},_cellClickHandler:function(){var e=this.dateBox;"instantly"===e.option("applyValueMode")&&(e.option("opened",!1),this.dateBoxValue(this.getValue()))},dispose:function(){this.dateBox.off("optionChanged"),this.callBase()}});i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(72),r=n(16),s=n(2),l=n(100),c=n(111),d=n(38),u=n(59),h=o.extend(c,{_dataExpressionDefaultOptions:function(){return{items:[],dataSource:null,itemTemplate:"item",value:null,valueExpr:"this",displayExpr:void 0}},_initDataExpressions:function(){this._compileValueGetter(),this._compileDisplayGetter(),this._initDynamicTemplates(),this._initDataSource(),this._itemsToDataSource()},_itemsToDataSource:function(){this.option("dataSource")||(this._dataSource=new d.DataSource({store:new u(this.option("items")),pageSize:0}))},_compileDisplayGetter:function(){this._displayGetter=r.compileGetter(this._displayGetterExpr())},_displayGetterExpr:function(){return this.option("displayExpr")},_compileValueGetter:function(){this._valueGetter=r.compileGetter(this._valueGetterExpr())},_valueGetterExpr:function(){return this.option("valueExpr")||"this"},_loadValue:function(e){var t=o.Deferred();return e=this._unwrappedValue(e),s.isDefined(e)?(this._loadSingle(this._valueGetterExpr(),e).done(o.proxy(function(n){this._isValueEquals(this._valueGetter(n),e)?t.resolve(n):t.reject()},this)).fail(function(){t.reject()}),t.promise()):t.reject().promise()},_getCurrentValue:function(){return this.option("value")},_unwrappedValue:function(e){if(e=s.isDefined(e)?e:this._getCurrentValue(),e&&this._dataSource&&"this"===this._valueGetterExpr()){var t=this._dataSource.key();t&&"object"==typeof e&&(e=e[t])}return a.unwrap(e)},_isValueEquals:function(e,t){var n=s.isDefined,i=s.ensureDefined,o=a.unwrap,r=this._dataSource&&this._dataSource.key(),l=this._compareValues(e,t);if(!l&&n(e)&&n(t)&&r){var c=i(o(e[r]),e),d=i(o(t[r]),t);l=this._compareValues(c,d)}return l},_compareValues:function(e,t){return r.toComparable(e)===r.toComparable(t)},_initDynamicTemplates:function(){this._displayGetterExpr()?this._dynamicTemplates.item=new l(o.proxy(function(e){return o("<div/>").text(this._displayGetter(e)).html()},this)):delete this._dynamicTemplates.item},_setCollectionWidgetItemTemplate:function(){this._initDynamicTemplates(),this._setCollectionWidgetOption("itemTemplate",this._getTemplateByOption("itemTemplate"))},_dataExpressionOptionChanged:function(e){switch(e.name){case"items":this._itemsToDataSource(),this._setCollectionWidgetOption("items");
break;case"dataSource":this._initDataSource();break;case"itemTemplate":this._setCollectionWidgetItemTemplate();break;case"valueExpr":this._compileValueGetter();break;case"displayExpr":this._compileDisplayGetter(),this._setCollectionWidgetItemTemplate()}}});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(19),l=n(8),c=function(e){e=e||{};var t,n,i=[],a=function(o,a){for(t=!0,n=0;n<i.length&&(!i[n]||i[n].apply(o,a)!==!1||!e.stopOnFalse);n++);t=!1},r={add:function(e){return"function"!=typeof e||r.has(e)||i.push(e),this},has:function(e){return e?o.inArray(e,i)>-1:!!i.length},remove:function(e){var a=o.inArray(e,i);return a>-1&&(i.splice(a,1),t&&n>=a&&n--),this},fireWith:function(e,t){t=t||[],a(e,t.slice?t.slice():t)},fire:function(){return r.fireWith(this,arguments),this},empty:function(){return i=[],this}};return r},d=a.inherit({_endUpdateCore:function(){},ctor:function(e){var t=this;t._updateLockCount=0,t.component=e,t._actions={},t._actionConfigs={},o.each(this.callbackNames()||[],function(e,n){var i=t.callbackFlags(n);t[this]=c(i)})},init:function(){},callbackNames:function(){},callbackFlags:function(e){},publicMethods:function(){},beginUpdate:function(){this._updateLockCount++},endUpdate:function(){this._updateLockCount>0&&(this._updateLockCount--,this._updateLockCount||this._endUpdateCore())},option:function(e){var t=this.component,n=t._optionCache;return 1===arguments.length&&n?(e in n||(n[e]=t.option(e)),n[e]):t.option.apply(t,arguments)},localize:function(e){var t=this.component._optionCache;return t?(e in t||(t[e]=l.format(e)),t[e]):l.format(e)},on:function(){return this.component.on.apply(this.component,arguments)},off:function(){return this.component.off.apply(this.component,arguments)},optionChanged:function(e){e.name in this._actions&&(this.createAction(e.name,this._actionConfigs[e.name]),e.handled=!0)},getAction:function(e){return this._actions[e]},setAria:function(e,t,n){var i=n.get(0),o="role"!==e&&"id"!==e?"aria-":"";i.setAttribute?i.setAttribute(o+e,t):n.attr(o+e,t)},_createComponent:function(){return this.component._createComponent.apply(this.component,arguments)},getController:function(e){return this.component._controllers[e]},createAction:function(e,t){var n;return r.isFunction(e)?(n=this.component._createAction(o.proxy(e,this),t),function(e){n({jQueryEvent:e})}):(this._actions[e]=this.component._createActionByOption(e,t),void(this._actionConfigs[e]=t))},executeAction:function(e,t){var n=this._actions[e];return n&&n(t)},dispose:function(){var e=this;o.each(e.callbackNames()||[],function(){e[this].empty()})}}),u=d,h=u.inherit({getView:function(e){return this.component._views[e]},getViews:function(){return this.component._views}}),p=d.inherit({_isReady:function(){return this.component.isReady()},_endUpdateCore:function(){this.callBase(),!this._isReady()&&this._requireReady&&(this._requireRender=!1,this.component._requireResize=!1),this._requireRender&&(this._requireRender=!1,this.render(this._$parent))},_invalidate:function(e,t){this._requireRender=!0,this.component._requireResize=this.component._requireResize||e,this._requireReady=this._requireReady||t},_renderCore:function(e){},_resizeCore:function(){},_afterRender:function(e){},_parentElement:function(){return this._$parent},ctor:function(e){this.callBase(e),this.renderCompleted=o.Callbacks(),this.resizeCompleted=o.Callbacks()},element:function(){return this._$element},isVisible:function(){return!0},getTemplate:function(e){return this.component._getTemplate(e)},render:function(e,t){var n=this._$element,i=this.isVisible();this._requireReady=!1,n||(n=this._$element=o("<div />").appendTo(e),this._$parent=e),n.toggleClass("dx-hidden",!i),i&&(this.component._optionCache={},this._renderCore(t),this.component._optionCache=void 0,this._afterRender(e),this.renderCompleted.fire())},resize:function(){this.isResizing=!0,this._resizeCore(),this.resizeCompleted.fire(),this.isResizing=!1},focus:function(){this.element().focus()}}),f=1e6,_=function(e,t){var n=t.modules,i=t.modulesOrder,a=t.controllerTypes||{},r=t.viewTypes||{};t.controllerTypes||(i&&n.sort(function(e,t){var n=o.inArray(e.name,i),a=o.inArray(t.name,i);return 0>n&&(n=f),0>a&&(a=f),n-a}),o.each(n,function(){var e=this.controllers,t=this.name,n=this.views;e&&o.each(e,function(e,n){if(a[e])throw s.Error("E1001",t,e);if(!(n&&n.subclassOf&&n.subclassOf(u)))throw n.subclassOf(u),s.Error("E1002",t,e);a[e]=n}),n&&o.each(n,function(e,n){if(r[e])throw s.Error("E1003",t,e);if(!(n&&n.subclassOf&&n.subclassOf(p)))throw s.Error("E1004",t,e);r[e]=n})}),o.each(n,function(){var e=this.extenders;e&&(e.controllers&&o.each(e.controllers,function(e,t){a[e]&&(a[e]=a[e].inherit(t))}),e.views&&o.each(e.views,function(e,t){r[e]&&(r[e]=r[e].inherit(t))}))}),t.controllerTypes=a,t.viewTypes=r);var l=function(e,t,n){var i=n.publicMethods();i&&o.each(i,function(i,o){if(!n[o])throw s.Error("E1006",t,o);if(e[o])throw s.Error("E1005",o);e[o]=function(){return n[o].apply(n,arguments)}})},c=function(t){var n={};return o.each(t,function(t,i){var o=new i(e);o.name=t,l(e,t,o),n[t]=o}),n};e._controllers=c(a),e._views=c(r)},g=function(e,t,n){n=n||[],e._controllers&&o.each(e._controllers,function(){this[t]&&this[t].apply(this,n)}),e._views&&o.each(e._views,function(){this[t]&&this[t].apply(this,n)})};o.extend(t,function(){return{modules:[],View:p,ViewController:h,Controller:u,registerModule:function(e,t){var n,i=this.modules;for(n=0;n<i.length;n++)if(i[n].name===e)return;t.name=e,i.push(t),delete this.controllerTypes,delete this.viewTypes},registerModulesOrder:function(e){this.modulesOrder=e},unregisterModule:function(e){this.modules=o.grep(this.modules,function(t){return t.name!==e}),delete this.controllerTypes,delete this.viewTypes},processModules:_,callModuleItemsMethod:g}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(91),r=a.abstract,s=n(4),l=n(13),c=n(70),d="dxListEditDecorator",u=s.addNamespace(l.down,d),h=s.addNamespace(c.active,d),p="dx-list-item-content",f="dx-list-switchable-delete-ready",_="dx-list-switchable-menu-shield-positioning",g="dx-list-switchable-delete-top-shield",m="dx-list-switchable-delete-bottom-shield",v="dx-list-switchable-menu-item-shield-positioning",x="dx-list-switchable-delete-item-content-shield",w=a.inherit({_init:function(){this._$topShield=o("<div />").addClass(g),this._$bottomShield=o("<div />").addClass(m),this._$itemContentShield=o("<div />").addClass(x),this._$topShield.on(u,o.proxy(this._cancelDeleteReadyItem,this)),this._$bottomShield.on(u,o.proxy(this._cancelDeleteReadyItem,this)),this._list.element().append(this._$topShield.toggle(!1)).append(this._$bottomShield.toggle(!1))},handleClick:function(e){return this._cancelDeleteReadyItem()},_cancelDeleteReadyItem:function(){return this._$readyToDeleteItem?(this._cancelDelete(this._$readyToDeleteItem),!0):!1},_cancelDelete:function(e){this._toggleDeleteReady(e,!1)},_toggleDeleteReady:function(e,t){void 0===t&&(t=!this._isReadyToDelete(e)),this._toggleShields(e,t),this._toggleScrolling(t),this._cacheReadyToDeleteItem(e,t),this._animateToggleDelete(e,t)},_isReadyToDelete:function(e){return e.hasClass(f)},_toggleShields:function(e,t){this._list.element().toggleClass(_,t),this._$topShield.toggle(t),this._$bottomShield.toggle(t),t&&this._updateShieldsHeight(e),this._toggleContentShield(e,t)},_updateShieldsHeight:function(e){var t=this._list.element(),n=t.offset().top,i=t.outerHeight(),o=e.offset().top,a=e.outerHeight(),r=o-n,s=i-a-r;this._$topShield.height(Math.max(r,0)),this._$bottomShield.height(Math.max(s,0))},_toggleContentShield:function(e,t){t?e.find("."+p).first().append(this._$itemContentShield):this._$itemContentShield.detach()},_toggleScrolling:function(e){var t=this._list.element().dxScrollView("instance");e?t.on("start",this._cancelScrolling):t.off("start",this._cancelScrolling)},_cancelScrolling:function(e){e.jQueryEvent.cancel=!0},_cacheReadyToDeleteItem:function(e,t){t?this._$readyToDeleteItem=e:delete this._$readyToDeleteItem},_animateToggleDelete:function(e,t){t?(this._enablePositioning(e),this._prepareDeleteReady(e),this._animatePrepareDeleteReady(e)):(this._forgetDeleteReady(e),this._animateForgetDeleteReady(e).done(o.proxy(this._disablePositioning,this,e)))},_enablePositioning:function(e){e.addClass(v),e.on(h,o.noop)},_disablePositioning:function(e){e.removeClass(v),e.off(h)},_prepareDeleteReady:function(e){e.addClass(f)},_forgetDeleteReady:function(e){e.removeClass(f)},_animatePrepareDeleteReady:r,_animateForgetDeleteReady:r,_deleteItem:function(e){e=e||this._$readyToDeleteItem,e.is(".dx-state-disabled, .dx-state-disabled *")||this._list.deleteItem(e).always(o.proxy(this._cancelDelete,this,e))},_isRtlEnabled:function(){return this._list.option("rtlEnabled")},dispose:function(){this._$topShield&&this._$topShield.remove(),this._$bottomShield&&this._$bottomShield.remove(),this.callBase.apply(this,arguments)}});i.exports=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){var i={_menuEnabled:function(){return!!this._menuItems().length},_menuItems:function(){return this._list.option("menuItems")},_deleteEnabled:function(){return this._list.option("allowItemDeleting")},_fireMenuAction:function(e,t){this._list._itemEventHandlerByHandler(e,t,{},{excludeValidators:["disabled","readOnly"]})}};n.exports=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(231),r=a.abstract,s=a.inherit({cancelEvents:!0,_geocodeLocation:function(e){var t=o.Deferred(),n=this._geocodedLocations,i=n[e];return i?t.resolve(i):this._geocodeLocationImpl(e).done(function(i){n[e]=i,t.resolve(i)}),t.promise()},_renderImpl:function(e,t){var n=o.Deferred();return this._load().done(o.proxy(function(){this._init().done(o.proxy(function(){var e=this.updateMapType(),t=this._isBoundsSetted()?this.updateBounds():this.updateCenter();o.when(e,t).done(o.proxy(function(){this._attachHandlers(),setTimeout(function(){n.resolve()})},this))},this))},this)),n.promise()},_load:function(){return this._mapsLoader||(this._mapsLoader=o.Deferred(),this._loadImpl().done(o.proxy(function(){this._mapsLoader.resolve()},this))),this._markers=[],this._routes=[],this._mapsLoader.promise()},_loadImpl:r,_init:r,_attachHandlers:r,addMarkers:function(e){var t=o.Deferred(),n=this,i=o.map(e,function(e){return n._addMarker(e)});return o.when.apply(o,i).done(function(){var e=o.map(o.makeArray(arguments),function(e){return e.marker});t.resolve(!1,e)}),t.done(function(){n._fitBounds()}),t.promise()},_addMarker:function(e){var t=this;return this._renderMarker(e).done(function(n){t._markers.push(o.extend({options:e},n)),t._fireMarkerAddedAction({options:e,originalMarker:n.marker})})},_renderMarker:r,removeMarkers:function(e){var t=this;return o.each(e,function(e,n){t._removeMarker(n)}),o.Deferred().resolve().promise()},_removeMarker:function(e){var t=this;o.each(this._markers,function(n,i){return i.options!==e?!0:(t._destroyMarker(i),t._markers.splice(n,1),t._fireMarkerRemovedAction({options:i.options}),!1)})},_destroyMarker:r,_clearMarkers:function(){for(;this._markers.length>0;)this._removeMarker(this._markers[0].options)},addRoutes:function(e){var t=o.Deferred(),n=this,i=o.map(e,function(e){return n._addRoute(e)});return o.when.apply(o,i).done(function(){var e=o.map(o.makeArray(arguments),function(e){return e.instance});t.resolve(!1,e)}),t.done(function(){n._fitBounds()}),t.promise()},_addRoute:function(e){var t=this;return this._renderRoute(e).done(function(n){t._routes.push(o.extend({options:e},n)),t._fireRouteAddedAction({options:e,originalRoute:n.instance})})},_renderRoute:r,removeRoutes:function(e){var t=this;return o.each(e,function(e,n){t._removeRoute(n)}),o.Deferred().resolve().promise()},_removeRoute:function(e){var t=this;o.each(this._routes,function(n,i){return i.options!==e?!0:(t._destroyRoute(i),t._routes.splice(n,1),t._fireRouteRemovedAction({options:e}),!1)})},_destroyRoute:r,_clearRoutes:function(){for(;this._routes.length>0;)this._removeRoute(this._routes[0].options)},adjustViewport:function(){return this._fitBounds()},_fitBounds:r,_updateBounds:function(){var e=this;this._clearBounds(),this._option("autoAdjust")&&(o.each(this._markers,function(t,n){e._extendBounds(n.location)}),o.each(this._routes,function(t,n){e._extendBounds(n.northEast),e._extendBounds(n.southWest)}))},_clearBounds:function(){this._bounds=null},_extendBounds:r});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(4),s=a.abstract,l=a.inherit({_defaultRouteWeight:function(){return 5},_defaultRouteOpacity:function(){return.5},_defaultRouteColor:function(){return"#0000FF"},cancelEvents:!1,ctor:function(e,t){this._mapWidget=e,this._$container=t},render:function(e,t){var n=o.Deferred();return this._renderImpl().done(o.proxy(function(){var i=this._applyFunctionIfNeeded("addMarkers",e),a=this._applyFunctionIfNeeded("addRoutes",t);o.when(i,a).done(function(){n.resolve(!0)})},this)),n.promise()},_renderImpl:s,updateDimensions:s,updateMapType:s,updateBounds:s,updateCenter:s,updateZoom:s,updateControls:s,updateMarkers:function(e,t){var n=o.Deferred(),i=this;return this._applyFunctionIfNeeded("removeMarkers",e).done(function(){i._applyFunctionIfNeeded("addMarkers",t).done(function(){n.resolve.apply(n,arguments)})}),n.promise()},addMarkers:s,removeMarkers:s,adjustViewport:s,updateRoutes:function(e,t){var n=o.Deferred(),i=this;return this._applyFunctionIfNeeded("removeRoutes",e).done(function(){i._applyFunctionIfNeeded("addRoutes",t).done(function(){n.resolve.apply(n,arguments)})}),n.promise()},addRoutes:s,removeRoutes:s,clean:s,map:function(){return this._map},_option:function(e,t){return void 0===t?this._mapWidget.option(e):void this._mapWidget.setOptionSilent(e,t)},_keyOption:function(e){var t=this._option("key");return void 0===t[e]?t:t[e]},_parseTooltipOptions:function(e){return{text:e.text||e,visible:e.isShown||!1}},_getLatLng:function(e){if("string"==typeof e){var t=o.map(e.split(","),o.trim),n=/^[-+]?[0-9]*\.?[0-9]*$/;if(2===t.length&&t[0].match(n)&&t[1].match(n))return{lat:parseFloat(t[0]),lng:parseFloat(t[1])}}else{if(o.isArray(e)&&2===e.length)return{lat:e[0],lng:e[1]};if(o.isPlainObject(e)&&o.isNumeric(e.lat)&&o.isNumeric(e.lng))return e}return null},_isBoundsSetted:function(){return this._option("bounds.northEast")&&this._option("bounds.southWest")},_addEventNamespace:function(e){return r.addNamespace(e,this._mapWidget.NAME)},_applyFunctionIfNeeded:function(e,t){return t.length?this[e](t):o.Deferred().resolve().promise()},_createAction:function(){var e=this._mapWidget;return e._createAction.apply(e,arguments)},_fireAction:function(e,t){var n=this._option(e);n&&this._createAction(n)(t)},_fireClickAction:function(e){this._fireAction("onClick",e)},_fireMarkerAddedAction:function(e){this._fireAction("onMarkerAdded",e)},_fireMarkerRemovedAction:function(e){this._fireAction("onMarkerRemoved",e)},_fireRouteAddedAction:function(e){this._fireAction("onRouteAdded",e)},_fireRouteRemovedAction:function(e){this._fireAction("onRouteRemoved",e)}});i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(22),r=n(15),s=n(62),l=n(2),c=n(6),d=n(3),u=n(28),h=n(78),p="dx-multiview",f="dx-multiview-wrapper",_="dx-multiview-item-container",g="dx-multiview-item",m="dx-multiview-item-hidden",v="dxMultiViewItemData",x=200,w=function(e){return+e},y=function(e){return r.locate(e).left},b=function(e,t){r.move(e,{left:t})},C={moveTo:function(e,t,n,i){a.animate(e,{type:"slide",to:{left:t},duration:n,complete:i})},complete:function(e){a.stop(e,!0)}},k=u.inherit({_activeStateUnit:"."+g,_supportedKeys:function(){return o.extend(this.callBase(),{pageUp:o.noop,pageDown:o.noop})},_getDefaultOptions:function(){return o.extend(this.callBase(),{selectedIndex:0,swipeEnabled:!0,animationEnabled:!0,loop:!1,deferRendering:!0,_itemAttributes:{role:"tabpanel"},loopItemFocus:!1,selectOnFocus:!0,selectionMode:"single",selectionRequired:!0,selectionByClick:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===c.real().deviceType&&!c.isSimulator()},options:{focusStateEnabled:!0}}])},_itemClass:function(){return g},_itemDataKey:function(){return v},_itemContainer:function(){return this._$itemContainer},_itemElements:function(){return this._itemContainer().children(this._itemSelector())},_itemWidth:function(){return this._itemWidthValue||(this._itemWidthValue=this._$wrapper.width()),this._itemWidthValue},_clearItemWidthCache:function(){delete this._itemWidthValue},_itemsCount:function(){return this.option("items").length},_normalizeIndex:function(e){var t=this._itemsCount();return 0>e&&(e+=t),e>=t&&(e-=t),e},_getRTLSignCorrection:function(){return this.option("rtlEnabled")?-1:1},_init:function(){this.callBase.apply(this,arguments);var e=this.element();e.addClass(p),this._$wrapper=o("<div>").addClass(f),this._$wrapper.appendTo(e),this._$itemContainer=o("<div>").addClass(_),this._$itemContainer.appendTo(this._$wrapper),this.option("loopItemFocus",this.option("loop")),this._initSwipeable()},_render:function(){this._deferredItems=[],this.callBase()},_renderItemContent:function(e){var t=o.Deferred(),n=this,i=this.callBase,a=o.Deferred();return a.done(function(){var o=i.call(n,e);t.resolve(o)}),this._deferredItems.push(a),this.option("deferRendering")||a.resolve(),t.promise()},_renderSelection:function(e){this._updateItems(e[0])},_updateItems:function(e,t){this._updateItemsPosition(e,t),this._updateItemsVisibility(e,t)},_updateItemsPosition:function(e,t){var n=this._itemElements(),i=-this._animationDirection(t,e),o=n.eq(e);b(o,0),b(n.eq(t),100*i+"%")},_updateItemsVisibility:function(e,t){var n=this._itemElements();n.each(o.proxy(function(n,i){var a=o(i),r=n!==e&&n!==t;r||this._renderSpecificItem(n),a.toggleClass(m,r),this.setAria("hidden",r||void 0,a)},this))},_renderSpecificItem:function(e){var t=this._itemElements().eq(e).find(this._itemContentClass()).length>0;l.isDefined(e)&&!t&&this._deferredItems[e].resolve()},_setAriaSelected:o.noop,_updateSelection:function(e,t){var n=e[0],i=t[0];C.complete(this._$itemContainer),this._updateItems(i,n);var a=this._animationDirection(n,i);this._animateItemContainer(a*this._itemWidth(),o.proxy(function(){b(this._$itemContainer,0),this._updateItems(n),this._$itemContainer.width()},this))},_animateItemContainer:function(e,t){var n=this.option("animationEnabled")?x:0;C.moveTo(this._$itemContainer,e,n,t)},_animationDirection:function(e,t){var n=y(this._$itemContainer),i=(t-e)*this._getRTLSignCorrection()*this._getItemFocusLoopSignCorrection(),o=0!==n,a=o?n:i;return s.sign(a)},_initSwipeable:function(){this._createComponent(this.element(),h,{disabled:!this.option("swipeEnabled"),elastic:!1,itemSizeFunc:o.proxy(this._itemWidth,this),onStart:o.proxy(function(e){this._swipeStartHandler(e.jQueryEvent)},this),onUpdated:o.proxy(function(e){this._swipeUpdateHandler(e.jQueryEvent)},this),onEnd:o.proxy(function(e){this._swipeEndHandler(e.jQueryEvent)},this)})},_swipeStartHandler:function(e){C.complete(this._$itemContainer);var t=this.option("selectedIndex"),n=this.option("loop"),i=this._itemsCount()-1,o=this.option("rtlEnabled");e.maxLeftOffset=w(n||(o?t>0:i>t)),e.maxRightOffset=w(n||(o?i>t:t>0)),this._swipeDirection=null},_swipeUpdateHandler:function(e){var t=e.offset,n=s.sign(t)*this._getRTLSignCorrection();if(b(this._$itemContainer,t*this._itemWidth()),n!==this._swipeDirection){this._swipeDirection=n;var i=this.option("selectedIndex"),o=this._normalizeIndex(i-n);this._updateItems(i,o)}},_swipeEndHandler:function(e){var t=e.targetOffset*this._getRTLSignCorrection();if(t){this.option("selectedIndex",this._normalizeIndex(this.option("selectedIndex")-t));var n=this.itemElements().filter(".dx-item-selected");this.option("focusStateEnabled")&&this.option("focusedElement",n)}else this._animateItemContainer(0,o.noop)},_getItemFocusLoopSignCorrection:function(){return this._itemFocusLooped?-1:1},_moveFocus:function(){this.callBase.apply(this,arguments),this._itemFocusLooped=!1},_prevItem:function(e){var t=this.callBase.apply(this,arguments);return this._itemFocusLooped=t.is(e.last()),t},_nextItem:function(e){var t=this.callBase.apply(this,arguments);return this._itemFocusLooped=t.is(e.first()),t},_dimensionChanged:function(){this._clearItemWidthCache()},_visibilityChanged:function(e){e&&this._dimensionChanged()},_optionChanged:function(e){var t=e.value;switch(e.name){case"loop":this.option("loopItemFocus",t);break;case"animationEnabled":break;case"swipeEnabled":h.getInstance(this.element()).option("disabled",!t);break;case"deferRendering":this._invalidate();break;default:this.callBase(e)}}});d("dxMultiView",k),i.exports=k}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){var o=0,a=0,r=n/2;return e+i-(t+n)>1?(e>=t+n+r&&(a=parseInt((e-(t+n))/r,10)),o=t+n+r*a):t>e?(t-r>=e&&(a=parseInt((e-(t-r))/r,10)),o=t-(n-r*a)):o=t,o}var a=n(1),r=n(5),s=n(2),l="dx-expand",c=function(e){var t,n=0;return e.getBoundingClientRect&&(t=e.getBoundingClientRect(),n=t.width,n||(n=t.right-t.left)),n>0?n:e.offsetWidth};t.AreaItem=r.inherit({_getRowElement:function(e){var t=this;return t._tableElement&&t._tableElement.length>0?t._tableElement[0].rows[e]:null},_createGroupElement:function(){return a("<div>")},_createTableElement:function(){return a("<table>")},_getCellText:function(e,t){var n=e.isWhiteSpace?"":e.text||"";return!t||-1===n.indexOf("<")&&-1===n.indexOf(">")||(n=a("<div>").text(n).html()),n},_getRowClassNames:function(){},_applyCustomStyles:function(e){e.cell.width&&e.cssArray.push("min-width:"+e.cell.width+"px"),e.cell.sorted&&e.classArray.push("dx-pivotgrid-sorted")},_getMainElementMarkup:function(){return"<tbody>"},_getCloseMainElementMarkup:function(){return"</tbody>"},_renderTableContent:function(e,t){var n,i,o,a,r,c,d,u,h=this,p=t.length,f=h.option("rtlEnabled"),_=[],g=h.option("encodeHtml"),m="colspan='",v="rowspan='";for(e.data("area",h._getAreaName()),e.data("data",t),e.css("width",""),_.push(h._getMainElementMarkup()),o=0;p>o;o++){n=t[o];var x=[];for(u=[],_.push("<tr "),a=0;a<n.length;a++){if(i=n[a],this._getRowClassNames(o,i,u),x.push("<td "),i){i.rowspan&&x.push(v+(i.rowspan||1)+"'"),i.colspan&&x.push(m+(i.colspan||1)+"'");var w={cellElement:c,cell:i,cellsCount:n.length,cellIndex:a,rowElement:r,rowIndex:o,rowsCount:p,rtlEnabled:f,classArray:[],cssArray:[]};h._applyCustomStyles(w),w.cssArray.length&&(x.push("style='"),x.push(w.cssArray.join(";")),x.push("'")),w.classArray.length&&(x.push("class='"),x.push(w.classArray.join(" ")),x.push("'")),x.push(">"),s.isDefined(i.expanded)&&x.push("<div class='dx-expand-icon-container'><span class='"+l+"'></span></div>"),d=this._getCellText(i,g)}else d="";x.push("<span "),s.isDefined(i.wordWrapEnabled)&&x.push("style='white-space:",i.wordWrapEnabled?"normal":"nowrap",";'"),x.push(">"+d+"</span>"),i.sorted&&x.push("<span class='dx-icon-sorted'></span>"),x.push("</td>")}u.length&&(_.push("class='"),_.push(u.join(" ")),_.push("'")),_.push(">"),_.push(x.join("")),_.push("</tr>")}_.push(this._getCloseMainElementMarkup()),e.append(_.join("")),this._triggerOnCellPrepared(e,t)},_triggerOnCellPrepared:function(e,t){var n,i,o,r,s,l,c,d=this,u=e.find("tr"),h=d._getAreaName(),p=d.option("onCellPrepared"),f=d.component.hasEvent("cellPrepared"),_=this.component._defaultActionArgs();if(p||f)for(l=0;l<t.length;l++)for(r=t[l],n=u.eq(l),c=0;c<r.length;c++)s=r[c],i=n.children().eq(c),o={area:h,rowIndex:l,columnIndex:c,cellElement:i,cell:s},f?d.component._trigger("onCellPrepared",o):p(a.extend(o,_))},_getRowHeight:function(e){var t,n=this._getRowElement(e),i=0;return n&&n.lastChild?(n.getBoundingClientRect&&(t=n.getBoundingClientRect(),i=t.height),i>0?i:n.offsetHeight):0},_setRowHeight:function(e,t){var n=this._getRowElement(e);n&&(n.style.height=t+"px")},ctor:function(e){this.component=e},option:function(){return this.component.option.apply(this.component,arguments)},getRowsLength:function(){var e=this;return e._tableElement&&e._tableElement.length>0?e._tableElement[0].rows.length:0},getRowsHeight:function(){var e,t=this,n=[],i=t.getRowsLength();for(e=0;i>e;e++)n.push(t._getRowHeight(e));return n},setRowsHeight:function(e){var t,n=this,i=0,o=e.length;for(t=0;o>t;t++)i+=e[t],n._setRowHeight(t,e[t]);this._tableHeight=i,this._tableElement[0].style.height=i+"px"},getColumnsWidth:function(){var e,t,n,i,o=this.getRowsLength(),a=[],r=[],s=function(e,t,n,i,o){var a,r;for(a=0;i>a;a++)for(r=0;o>r;r++)e[t+a]=e[t+a]||[],e[t+a][n+r]=!0};if(o)for(e=0;o>e;e++)for(a[e]=a[e]||[],t=this._getRowElement(e),n=0;n<t.cells.length;n++){for(i=0;a[e][i];i++);s(a,e,i,t.cells[n].rowSpan,t.cells[n].colSpan),1===t.cells[n].colSpan&&(r[i]=r[i]||c(t.cells[n]))}return r},setColumnsWidth:function(e){var t,n=0,i=this._tableElement[0],o="",a=this.getColumnsCount(),r=[];for(t=0;a>t;t++)r.push(e[t]||0);for(t=a;t<e.length&&e;t++)r[a-1]+=e[t];for(t=0;a>t;t++)n+=r[t],o+='<col style="width: '+r[t]+'px">';this._colgroupElement.html(o),this._tableWidth=n,i.style.width=n+"px",i.style.tableLayout="fixed"},resetColumnsWidth:function(){this._colgroupElement.find("col").width("auto"),this._tableElement.css({width:"",tableLayout:""})},groupWidth:function(e){return void 0===e?this._groupElement.width():e>=0?(this._groupWidth=e,this._groupElement[0].style.width=e+"px"):this._groupElement[0].style.width=e},groupHeight:function(e){return void 0===e?this._groupElement.height():(this._groupHeight=null,void(e>=0?(this._groupHeight=e,this._groupElement[0].style.height=e+"px"):this._groupElement[0].style.height=e))},groupElement:function(){return this._groupElement},tableElement:function(){return this._tableElement},element:function(){return this._rootElement},headElement:function(){return this._tableElement.find("thead")},setVirtualContentParams:function(e){this._virtualContent.css({width:e.width,height:e.height}),this.groupElement().addClass("dx-virtual-mode")},disableVirtualMode:function(){this.groupElement().removeClass("dx-virtual-mode")},_renderVirtualContent:function(){var e=this;e._virtualContent||"virtual"!==e.option("scrolling.mode")||(e._virtualContent=a("<div>").addClass("dx-virtual-content").insertBefore(e._tableElement))},reset:function(){var e=this,t=e._tableElement[0];if(e._fakeTable&&e._fakeTable.detach(),e._fakeTable=null,e.disableVirtualMode(),e.groupWidth("100%"),e.groupHeight("auto"),e.resetColumnsWidth(),t){for(var n=0;n<t.rows.length;n++)t.rows[n].style.height="";t.style.height="",t.style.width="100%"}},_updateFakeTableVisibility:function(){var e=this,t=e.tableElement()[0],n=e._fakeTable[0];t.style.top===n.style.top&&n.style.left===t.style.left?e._fakeTable.addClass("dx-hidden"):e._fakeTable.removeClass("dx-hidden")},_moveFakeTableLeft:function(e){var t=this,n=parseFloat(t.tableElement()[0].style.left),i=o(e,n,t._tableWidth,t._groupWidth);parseFloat(t._fakeTable[0].style.left)!==i&&(t._fakeTable[0].style.left=i+"px")},_moveFakeTableTop:function(e){var t=this,n=parseFloat(t.tableElement()[0].style.top),i=o(e,n,t._tableHeight,t._groupHeight);parseFloat(t._fakeTable[0].style.top)!==i&&(t._fakeTable[0].style.top=i+"px")},_moveFakeTable:function(e){this._updateFakeTableVisibility()},_createFakeTable:function(e){var t=this;t._fakeTable||(t._fakeTable=t.tableElement().clone().addClass("dx-pivot-grid-fake-table").appendTo(t._virtualContent))},render:function(e,t){var n=this;if(n._tableElement){try{n._tableElement[0].innerHTML=""}catch(e){n._tableElement.empty()}n._tableElement.attr("style","")}else n._groupElement=n._createGroupElement(),n._tableElement=n._createTableElement(),n._tableElement.appendTo(n._groupElement),n._groupElement.appendTo(e),n._rootElement=e;n._colgroupElement=a("<colgroup>").appendTo(n._tableElement),n._renderTableContent(n._tableElement,t),n._renderVirtualContent()},_getScrollable:function(){return this.groupElement().data("dxScrollable")},on:function(e,t){var n=this._getScrollable();return n&&n.on(e,t),this},off:function(){var e=this._getScrollable();return e&&e.off.apply(e,arguments),this},scrollTo:function(e){var t=this._getScrollable();t&&(t.scrollTo(e),this._virtualContent&&(this._createFakeTable(),this._moveFakeTable(e)))},updateScrollable:function(){var e=this._getScrollable();e&&e.update()},getColumnsCount:function(){var e,t=0,n=this._getRowElement(0);if(n){e=n.cells;for(var i=0,o=e.length;o>i;++i)t+=e[i].colSpan}return t}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=t;return l.isDefined(t.groupIndex)&&(n=e.getAreaFields(t.area,!0)[t.areaIndex]),n}var a=n(1),r=n(59),s=n(9),l=n(2),c=n(8),d=n(3),u=n(18),h=n(314),p=n(47),f=n(315),_=n(83),g=n(471),m=a.inArray,v=a.each,x=1,w="<div>",y=h.HeaderFilterView,b=function(e,t){var n=[],i=!!t.groupName,o="exclude"===t.filterType;t.filterValues&&v(t.filterValues,function(e,t){n.push(l.isArray(t)?t.join("/"):t)}),_.foreachTree(e,function(e){var t,r=e[0],s=_.createPath(e),l=i?a.map(e,function(e){return e.text}).reverse().join("/"):r.text;r.value=i?s.slice(0):r.key||r.value,t=i?s.join("/"):r.value,r.children&&(r.items=r.children,r.children=null),h.updateHeaderFilterItemSelectionState(r,r.key&&m(l,n)>-1||m(t,n)>-1,o)})},C=u.inherit(p.columnStateMixin).inherit(f.sortingMixin).inherit(h.headerFilterMixin).inherit({_getDefaultOptions:function(){return a.extend(this.callBase(),{allowFieldDragging:!0,headerFilter:{width:252,height:300,texts:{emptyValue:c.format("dxDataGrid-headerFilterEmptyValue"),ok:c.format("dxDataGrid-headerFilterOK"),cancel:c.format("dxDataGrid-headerFilterCancel")}}})},_init:function(){this.callBase(),this._headerFilterView=new y(this),this._refreshDataSource(),this.subscribeToEvents()},_refreshDataSource:function(){var e=this.option("dataSource");e&&e.fields&&e.load&&(this._dataSource=e)},_optionChanged:function(e){switch(e.name){case"dataSource":this._refreshDataSource();break;case"headerFilter":case"allowFieldDragging":this._invalidate();break;default:this.callBase(e)}},renderField:function(e,t){var n=this,i=a(w).addClass("dx-area-field-content").text(e.caption||e.dataField),r=a(w).addClass("dx-area-field").addClass("dx-area-box").data("field",e).append(i),s=o(n._dataSource,e);return"data"!==e.area&&(e.allowSorting&&n._applyColumnState({name:"sort",rootElement:r,column:{alignment:n.option("rtlEnabled")?"right":"left",sortOrder:"desc"===e.sortOrder?"desc":"asc"},showColumnLines:t}),n._applyColumnState({name:"headerFilter",rootElement:r,column:{alignment:n.option("rtlEnabled")?"right":"left",filterValues:s.filterValues,allowFiltering:s.allowFiltering&&!e.groupIndex},showColumnLines:t})),e.groupName&&r.attr("item-group",e.groupName),r},_clean:function(){},_renderContentImpl:function(){var e=this.element();this.renderSortable(e),this._headerFilterView.render(e)},renderSortable:function(e){var t=this;t._createComponent(e,g,a.extend({allowDragging:t.option("allowFieldDragging"),itemSelector:".dx-area-field",itemContainerSelector:".dx-area-field-container",groupSelector:".dx-area-fields",groupFilter:function(){var e=t._dataSource,n=a(this).closest(".dx-sortable"),i=n.data("dxPivotGrid"),o=n.data("dxPivotGridFieldChooser");return i?i.getDataSource()===e:o?o.option("dataSource")===e:!1},itemRender:function(e,t){var n;if(e.hasClass("dx-area-box")?(n=e.clone(),"drag"===t&&a.each(e,function(e,t){n.eq(e).css("width",parseInt(a(t).css("width"),10)+x)})):n=a(w).addClass("dx-area-field").addClass("dx-area-box").text(e.text()),"drag"===t){var i=a(w);return a.each(n,function(e,t){var n=a("<div>").addClass("dx-pivotgrid-fields-container").addClass("dx-widget").append(a(t));i.append(n)}),i.children()}return n},onDragging:function(e){var t=e.sourceElement.data("field"),n=e.targetGroup;e.cancel=!1,t.isMeasure===!0?"column"!==n&&"row"!==n&&"filter"!==n||(e.cancel=!0):t.isMeasure===!1&&"data"===n&&(e.cancel=!0);
},useIndicator:!0,onChanged:function(e){var n=t._dataSource,i=e.sourceElement.data("field");e.removeSourceElement=!!e.sourceGroup,t._adjustSortableOnChangedArgs(e),i&&(n.field(o(n,i).index,{area:e.targetGroup,areaIndex:e.targetIndex}),n.load())}},t._getSortableOptions()))},_adjustSortableOnChangedArgs:function(e){e.removeSourceElement=!1,e.removeTargetElement=!0,e.removeSourceClass=!1},_getSortableOptions:function(){return{direction:"auto"}},subscribeToEvents:function(e){var t=this,n=function(e){var n=a(e.currentTarget).data("field"),i=a.extend(!0,{},o(t._dataSource,n)),s=a(e.target).hasClass("dx-header-filter"),l=t._dataSource;s?t._headerFilterView.showHeaderFilterMenu(a(e.currentTarget),a.extend(i,{type:i.groupName?"tree":"list",dataSource:{load:function(e){var t=e.userData;if(t.store)return t.store.load(e);var n=a.Deferred();return l.getFieldValues(i.index).done(function(i){t.store=new r(i),t.store.load(e).done(n.resolve).fail(n.reject)}).fail(n.reject),n},postProcess:function(e){return b(e,i),e}},apply:function(){l.field(i.index,{filterValues:this.filterValues,filterType:this.filterType}),l.load()}})):n.allowSorting&&"data"!==n.area&&(l.field(n.index,{sortOrder:"desc"===n.sortOrder?"asc":"desc"}),l.load())};return e?void e.on(s.name,".dx-area-field.dx-area-box",n):void t.element().on(s.name,".dx-area-field.dx-area-box",n)},_initTemplates:a.noop});d("dxPivotGridFieldChooserBase",C),i.exports=C}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(184),r=n(3),s="dx-progressbar",l="dx-progressbar-container",c="dx-progressbar-range-container",d="dx-progressbar-range",u="dx-progressbar-wrapper",h="dx-progressbar-status",p="dx-progressbar-animating-container",f="dx-progressbar-animating-segment",_=a.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{statusFormat:function(e,t){return"Progress: "+Math.round(100*e)+"%"},showStatus:!0,onComplete:null,activeStateEnabled:!1,statusPosition:"bottom left",_animatingSegmentCount:0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"win"},options:{_animatingSegmentCount:5}},{device:function(e){return"android"===e.platform},options:{_animatingSegmentCount:2}}])},_init:function(){this.callBase()},_render:function(){this._createCompleteAction(),this._renderStatus(),this.callBase(),this.element().addClass(s),this.setAria("role","progressbar"),this._$wrapper.addClass(u),this._$bar.addClass(l),o("<div>").addClass(c).appendTo(this._$wrapper).append(this._$bar),this._$range.addClass(d),this._toggleStatus(this.option("showStatus"))},_createCompleteAction:function(){this._completeAction=this._createActionByOption("onComplete")},_renderStatus:function(){this._$status=o("<div>").addClass(h)},_renderIndeterminateState:function(){this._$segmentContainer=o("<div>").addClass(p);for(var e=this.option("_animatingSegmentCount"),t=0;e>t;t++)o("<div>").addClass(f).addClass(f+"-"+(t+1)).appendTo(this._$segmentContainer);this._$segmentContainer.appendTo(this._$wrapper)},_toggleStatus:function(e){var t=this.option("statusPosition").split(" ");e?"top"===t[0]||"left"===t[0]?this._$status.prependTo(this._$wrapper):this._$status.appendTo(this._$wrapper):this._$status.detach(),this._togglePositionClass()},_togglePositionClass:function(){var e=this.option("statusPosition"),t=e.split(" ");this._$wrapper.removeClass("dx-position-top-left dx-position-top-right dx-position-bottom-left dx-position-bottom-right dx-position-left dx-position-right");var n="dx-position-"+t[0];t[1]&&(n+="-"+t[1]),this._$wrapper.addClass(n)},_toggleIndeterminateState:function(e){e?(this._renderIndeterminateState(),this._$bar.toggle(!1)):(this._$bar.toggle(!0),this._$segmentContainer.remove(),delete this._$segmentContainer)},_renderValue:function(){var e=this.option("value"),t=this.option("max");return e||0===e?(this._$segmentContainer&&this._toggleIndeterminateState(!1),e===t&&this._completeAction(),this.callBase(),void this._setStatus()):void this._toggleIndeterminateState(!0)},_setStatus:function(){var e=this.option("statusFormat");e=o.isFunction(e)?o.proxy(e,this):function(e){return e};var t=e(this._currentRatio,this.option("value"));this._$status.text(t)},_dispose:function(){this._$status.remove(),this.callBase()},_optionChanged:function(e){switch(e.name){case"statusFormat":this._setStatus();break;case"showStatus":this._toggleStatus(e.value);break;case"statusPosition":this._toggleStatus(this.option("showStatus"));break;case"onComplete":this._createCompleteAction();break;case"_animatingSegmentCount":break;default:this.callBase(e)}}});r("dxProgressBar",_),i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(57),s=n(3),l=n(148),c=n(28),d="dx-responsivebox",u=d+"-screen-",h="dx-box-item",p="dxBoxItemData",f=c.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{rows:[],cols:[],screenByWidth:null,singleColumnScreen:"",height:"100%",width:"100%",activeStateEnabled:!1,focusStateEnabled:!1,onLayoutChanged:null,currentScreenFactor:void 0,_layoutStrategy:void 0})},_init:function(){this.option("screenByWidth")||(this._options.screenByWidth=r.defaultScreenFactorFunc),this.callBase(),this._initLayoutChangedAction()},_initLayoutChangedAction:function(){this._layoutChangedAction=this._createActionByOption("onLayoutChanged",{excludeValidators:["disabled","readonly"]})},_itemClass:function(){return h},_itemDataKey:function(){return p},_render:function(){this.callBase(),this.element().addClass(d),this._updateRootBox()},_updateRootBox:function(){clearTimeout(this._updateTimer),this._updateTimer=setTimeout(o.proxy(function(){this._$root&&this._$root.trigger("dxupdate")},this))},_renderItems:function(){this._setScreenSize(),this._screenItems=this._itemsByScreen(),this._prepareGrid(),this._spreadItems(),this._layoutItems(),this._linkNodeToItem()},_setScreenSize:function(){var e=this._getCurrentScreen();this._removeScreenSizeClass(),this.element().addClass(u+e),this.option("currentScreenFactor",e)},_removeScreenSizeClass:function(){var e=this.option("currentScreenFactor");e&&this.element().removeClass(u+e)},_prepareGrid:function(){var e=this._grid=[];this._prepareRowsAndCols(),o.each(this._rows,o.proxy(function(){var t=[];e.push(t),o.each(this._cols,o.proxy(function(){t.push(this._createEmptyCell())},this))},this))},_prepareRowsAndCols:function(){this._isSingleColumnScreen()?(this._prepareSingleColumnScreenItems(),this._rows=this._defaultSizeConfig(this._screenItems.length),this._cols=this._defaultSizeConfig(1)):(this._rows=this._sizesByScreen(this.option("rows")),this._cols=this._sizesByScreen(this.option("cols")))},_isSingleColumnScreen:function(){return this._screenRegExp().test(this.option("singleColumnScreen"))||!this.option("rows").length||!this.option("cols").length},_prepareSingleColumnScreenItems:function(){this._screenItems.sort(function(e,t){return e.location.row-t.location.row||e.location.col-t.location.col}),o.each(this._screenItems,function(e,t){o.extend(t.location,{row:e,col:0,rowspan:1,colspan:1})})},_sizesByScreen:function(e){return o.map(this._filterByScreen(e),o.proxy(function(e){return o.extend(this._defaultSizeConfig(),e)},this))},_defaultSizeConfig:function(e){var t={ratio:1,baseSize:0,minSize:0,maxSize:0};if(!arguments.length)return t;for(var n=[],i=0;e>i;i++)n.push(t);return n},_filterByScreen:function(e){var t=this._screenRegExp();return o.grep(e,function(e){return!e.screen||t.test(e.screen)})},_screenRegExp:function(){var e=this._getCurrentScreen();return new RegExp("(^|\\s)"+e+"($|\\s)","i")},_getCurrentScreen:function(){var e=this._screenWidth();return this.option("screenByWidth")(e)},_screenWidth:function(){return o(window).width()},_createEmptyCell:function(){return{item:{},location:{colspan:1,rowspan:1}}},_spreadItems:function(){o.each(this._screenItems,o.proxy(function(e,t){var n=t.location||{},i=n.col,o=n.row,a=this._grid[o],r=a&&a[i];this._occupyCells(r,t)},this))},_itemsByScreen:function(){return o.map(this.option("items"),o.proxy(function(e){var t=e.location||{};return t=o.isPlainObject(t)?[t]:t,o.map(this._filterByScreen(t),function(t){return{item:e,location:o.extend({rowspan:1,colspan:1},t)}})},this))},_occupyCells:function(e,t){e&&!this._isItemCellOccupied(e,t)&&(o.extend(e,t),this._markSpanningCell(e))},_isItemCellOccupied:function(e,t){if(!o.isEmptyObject(e.item))return!0;var n=!1;return this._loopOverSpanning(t.location,function(e){n=n||!o.isEmptyObject(e.item)}),n},_loopOverSpanning:function(e,t){var n=e.row+e.rowspan-1,i=e.col+e.colspan-1,o=Math.min(n,this._rows.length-1),a=Math.min(i,this._cols.length-1);e.rowspan-=n-o,e.colspan-=i-a;for(var r=e.row;o>=r;r++)for(var s=e.col;a>=s;s++)r===e.row&&s===e.col||t(this._grid[r][s])},_markSpanningCell:function(e){this._loopOverSpanning(e.location,function(t){o.extend(t,{item:e.item,spanningCell:e})})},_linkNodeToItem:function(){o.each(this._itemElements(),function(e,t){var n=o(t),i=n.data(p);i.box||(i.node=n.children())})},_layoutItems:function(){var e=this._grid.length,t=e&&this._grid[0].length;if(e||t){var n=this._layoutBlock({direction:"col",row:{start:0,end:e-1},col:{start:0,end:t-1}}),i=this._prepareBoxConfig(n.box||{direction:"row",items:[o.extend(n,{ratio:1})]});o.extend(i,this._rootBoxConfig()),this._$root=o("<div>").appendTo(this._itemContainer()),this._createComponent(this._$root,l,i)}},_rootBoxConfig:function(e){return o.extend({width:"100%",height:"100%",itemTemplate:this.option("itemTemplate"),itemHoldTimeout:this.option("itemHoldTimeout"),onItemHold:this.option("onItemHold"),onItemClick:this.option("onItemClick"),onItemContextMenu:this.option("onItemContextMenu"),onItemRendered:this.option("onItemRendered")},{_layoutStrategy:this.option("_layoutStrategy")})},_prepareBoxConfig:function(e){return o.extend(e||{},{crossAlign:"stretch"})},_layoutBlock:function(e){return this._isSingleItem(e)?this._itemByCell(e.row.start,e.col.start):this._layoutDirection(e)},_isSingleItem:function(e){var t=this._grid[e.row.start][e.col.start].location,n=e.row.end-e.row.start===t.rowspan-1,i=e.col.end-e.col.start===t.colspan-1;return n&&i},_itemByCell:function(e,t){var n=this._grid[e][t];return n.spanningCell?null:n.item},_layoutDirection:function(e){for(var t,n=[],i=e.direction,r=this._crossDirection(i);t=this._nextBlock(e);){if(this._isBlockIndivisible(e.prevBlockOptions,t))throw a.Error("E1025");var s=this._layoutBlock({direction:r,row:t.row,col:t.col,prevBlockOptions:e});s&&(o.extend(s,this._blockSize(t,r)),n.push(s)),e[r].start=t[r].end+1}return{box:this._prepareBoxConfig({direction:i,items:n})}},_isBlockIndivisible:function(e,t){return e&&e.col.start===t.col.start&&e.col.end===t.col.end&&e.row.start===t.row.start&&e.row.end===t.row.end},_crossDirection:function(e){return"col"===e?"row":"col"},_nextBlock:function(e){var t=e.direction,n=this._crossDirection(t),i=e[t].start,o=e[t].end,a=e[n].start;if(a>e[n].end)return null;for(var r=1,s=a;a+r>s;s++){for(var l=1,c=i;o>=c;c++){var d=this._cellByDirection(t,c,s);l=Math.max(l,d.location[n+"span"])}var u=s+l,h=a+r;u>h&&(r+=u-h)}var p={};return p[t]={start:i,end:o},p[n]={start:a,end:a+r-1},p},_cellByDirection:function(e,t,n){return"col"===e?this._grid[n][t]:this._grid[t][n]},_blockSize:function(e,t){for(var n="row"===t?this._rows:this._cols,i={ratio:0,baseSize:0,minSize:0,maxSize:0},o=e[t].start;o<=e[t].end;o++){var a=n[o];i.ratio+=a.ratio,i.baseSize+=a.baseSize,i.minSize+=a.minSize,i.maxSize+=a.maxSize}return i.minSize=i.minSize?i.minSize:"auto",i.maxSize=i.maxSize?i.maxSize:"auto",this._isSingleColumnScreen()&&(i.baseSize="auto"),i},_update:function(){var e=this._$root;this._renderItems(),e&&e.detach(),this._saveAssistantRoot(e),this._layoutChangedAction(),this._updateRootBox()},_saveAssistantRoot:function(e){this._assistantRoots=this._assistantRoots||[],this._assistantRoots.push(e)},_dispose:function(){clearTimeout(this._updateTimer),this._cleanUnusedRoots(),this.callBase.apply(this,arguments)},_cleanUnusedRoots:function(){this._assistantRoots&&o.each(this._assistantRoots,function(){o(this).remove()})},_clearItemNodeTemplates:function(){o.each(this.option("items"),function(){delete this.node})},_toggleVisibility:function(e){this.callBase(e),e&&this._updateRootBox()},_attachClickEvent:o.noop,_optionChanged:function(e){switch(e.name){case"rows":case"cols":case"screenByWidth":case"_layoutStrategy":case"singleColumnScreen":this._clearItemNodeTemplates(),this._invalidate();break;case"width":case"height":this.callBase(e),this._update();break;case"onLayoutChanged":this._initLayoutChangedAction();break;case"itemTemplate":this._clearItemNodeTemplates(),this.callBase(e);break;case"currentScreenFactor":break;default:this.callBase(e)}},_dimensionChanged:function(){this._getCurrentScreen()!==this.option("currentScreenFactor")&&this._update()},repaint:function(){this._update()}});s("dxResponsiveBox",f),i.exports=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(19),s=a.abstract,l=20,c=15,d=3,u=a.inherit({ctor:function(e){this.instance=e},getAppointmentDefaultSize:function(){return l},getDeltaTime:s,getAppointmentGeometry:function(e){return e},createTaskPositionMap:function(e){var t=e.length;if(t){this._defaultWidth=this.instance._cellWidth,this._defaultHeight=this.instance._cellHeight,this._allDayHeight=this.instance._allDayCellHeight;for(var n=[],i=0;t>i;i++){var o=this._getItemPosition(e[i]);this._isRtl()&&(o=this._correctRtlCoordinates(o)),n.push(o)}var a=this._getSortedPositions(n),r=this._getResultPositions(a);return this._getExtendedPositionMap(n,r)}},_getDeltaWidth:function(e,t){var n=this._defaultWidth||this.getAppointmentDefaultSize(),i=t.width;return Math.round((e.width-i)/n)},_correctRtlCoordinates:function(e){var t=e[0].width||this._getAppointmentMaxWidth();return e[0].appointmentReduced||(e[0].left-=t),this._correctRtlCoordinatesParts(e,t),e},_correctRtlCoordinatesParts:o.noop,_getAppointmentMaxWidth:function(){return this._defaultWidth},_getItemPosition:function(e){for(var t=this.calculateAppointmentHeight(e),n=this.calculateAppointmentWidth(e),i=n,a=this._getAppointmentCoordinates(e),r=this.isAllDay(e),s=[],l=this.instance.invoke("getField","startDate",e),c=0;c<a.length;c++){var d=n,u=null,h=[];if(this._needVerifyItemSize()||r){var p=a[c].max;this.isAppointmentGreaterThan(p,{left:a[c].left,width:i})&&(u="head",d=this._reduceMultiWeekAppointment(n,{left:a[c].left,right:p}),h=this._getMultiWeekAppointmentParts({sourceAppointmentWidth:i,reducedWidth:d,height:t},a[c],l,c),this._isRtl()&&(a[c].left=p))}o.extend(a[c],{height:t,width:d,allDay:r,appointmentReduced:u}),h.length?(h.unshift(a[c]),s=o.merge(s,h)):s.push(a[c])}return s},_getAppointmentCoordinates:function(e){var t=[{top:0,left:0}],n=this._startDate(e);return this.instance.notifyObserver("needCoordinates",{startDate:n,appointmentData:e,callback:function(e){t=e}}),t},_needVerifyItemSize:function(){return!1},_isRtl:function(){return this.instance.option("rtlEnabled")},_getMultiWeekAppointmentParts:function(){return[]},_getCompactAppointmentParts:function(e){var t=this._defaultWidth||this.getAppointmentDefaultSize();return Math.round(e/t)},_reduceMultiWeekAppointment:function(e,t){return e=this._isRtl()?Math.floor(t.left-t.right):t.right-Math.floor(t.left)},calculateAppointmentHeight:function(){return 0},calculateAppointmentWidth:function(){return 0},isAppointmentGreaterThan:function(e,t){var n=t.left+t.width-e;return this._isRtl()&&(n=e+t.width-t.left),n>this._defaultWidth/2},isAllDay:function(){return!1},_getSortedPositions:function(e){for(var t=[],n=0,i=0,a=e.length;a>i;i++)for(var r=0,s=e[i].length;s>r;r++){var l=e[i][r],c={i:i,j:r,top:l.top,left:l.left,isStart:!0,allDay:l.allDay,__tmpIndex:n};n++;var d={i:i,j:r,top:l.top+l.height,left:l.left+l.width,isStart:!1,allDay:l.allDay,__tmpIndex:n};t.push(c,d),n++}return t.sort(o.proxy(function(e,t){return this._sortCondition(e,t)},this)),t},_fixUnstableSorting:function(e,t,n){if(0===e){if(t.__tmpIndex<n.__tmpIndex)return-1;if(t.__tmpIndex>n.__tmpIndex)return 1}return e},_sortCondition:s,_rowCondition:function(e,t){var n=this._normalizeCondition(e.left,t.left),i=this._normalizeCondition(e.top,t.top);return n?n:i?i:e.isStart-t.isStart},_columnCondition:function(e,t){var n=this._normalizeCondition(e.left,t.left),i=this._normalizeCondition(e.top,t.top);return i?i:n?n:e.isStart-t.isStart},_normalizeCondition:function(e,t){var n=e-t;return Math.abs(n)>1.001?n:0},_getResultPositions:function(e){for(var t,n=[],i=[],o=[],a=[],r=0,s=0,l=0;l<e.length;l++){var c,d=e[l];if(d.isStart){for(t=void 0,c=0;c<i.length;c++)if(!i[c]){t=c,i[c]=!0;break}if(void 0===t)for(t=i.length,i.push(!0),c=0;c<n.length;c++)n[c].count++;n.push({index:t,count:i.length,i:d.i,j:d.j,sortedIndex:s++}),r<i.length&&(r=i.length)}else{var u=this._findIndexByKey(n,"i","j",d.i,d.j),h=n[u];if(n.splice(u,1),i[h.index]=!1,a.push(h),!n.length){i=[];for(var p=0;p<a.length;p++)a[p].count=r;a=[],r=0}o.push(h)}}return o.sort(function(e,t){var n=e.j-t.j,i=e.i-t.i;return i?i:n})},_findIndexByKey:function(e,t,n,i,o){for(var a=0,r=0,s=e.length;s>r;r++)if(e[r][t]===i&&e[r][n]===o){a=r;break}return a},_getExtendedPositionMap:function(e,t){for(var n=0,i=[],o=0,a=e.length;a>o;o++){for(var r=[],s=0,l=e[o].length;l>s;s++)e[o][s].index=t[n].index,e[o][s].sortedIndex=t[n].sortedIndex,e[o][s].count=t[n++].count,e[o][s].virtualIndex=e[o][s].top+"-"+e[o][s].left,r.push(e[o][s]),this._checkLongCompactAppointment(e[o][s],r);i.push(r)}return i},_checkLongCompactAppointment:o.noop,_splitLongCompactAppointment:function(e,t){var n=0;if(e.index>1){e.isCompact=!0,n=this._getCompactAppointmentParts(e.width);for(var i=1;n>i;i++){var a=o.extend(!0,{},e);a.left=this._getCompactLeftCoordinate(e.left,i),a.sortedIndex=null,t.push(a)}}return t},_startDate:function(e,t){var n=this.instance._getStartDate(e,t),i=this.instance.invoke("getField","text",e);if(isNaN(n.getTime()))throw r.Error("E1032",i);return n},_endDate:function(e){var t=this.instance._getEndDate(e),n=this._startDate(e,!0),i=this._startDate(e);if((!t||n.getTime()>=t.getTime())&&(t=new Date(n.getTime()+6e4*this.instance.option("appointmentDurationInMinutes")),this.instance.invoke("setField","endDate",e,t)),i>=t){var o=t.getTime()-n.getTime();t=new Date(i.getTime()+o)}return t},_getMaxNeighborAppointmentCount:function(){var e=this.getCompactAppointmentDefaultSize()+this.getCompactAppointmentDefaultOffset();return Math.floor(this.getCompactAppointmentGroupMaxWidth()/e)},_markAppointmentAsVirtual:function(e,t){var n=2;e.count-n>this._getMaxNeighborAppointmentCount()&&(e.virtual={top:e.top,left:e.left,index:e.virtualIndex,isAllDay:t})},getCompactAppointmentGroupMaxWidth:function(){var e=75;return e*this.getDefaultCellWidth()/100},getDefaultCellWidth:function(){return this._defaultWidth},getCompactAppointmentDefaultSize:function(){return c},getCompactAppointmentDefaultOffset:function(){return d},getAppointmentDataCalculator:o.noop});i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a={VERTICAL:"vertical",HORIZONTAL:"horizontal",makeTable:function(e){for(var t=document.createElement("tbody"),n=0;n<e.rowCount;n++){var i=document.createElement("tr");e.rowClass&&(i.className=e.rowClass);for(var o=0;o<e.cellCount;o++){var a=document.createElement("td");e.getCellText&&(a.innerHTML=e.getCellText(n,o)),e.cellClass&&(a.className=e.cellClass),e.dataGenerator&&e.dataGenerator(a,n,o),i.appendChild(a)}t.appendChild(i)}return t},makeGroupedTable:function(e,t,n,i){var o=[];return o=e===this.VERTICAL?this._makeVerticalGroupedRows(t,n):this._makeHorizontalGroupedRows(t,n,i)},makeGroupedTableFromJSON:function(e,t,n){function i(){l=document.createElement("table"),f&&(l.className=f)}function o(e){return e[h]?e[h].length:0}function a(e,t){var n={element:document.createElement(u),childCount:t};g&&(n.element.className=g);var i=document.createTextNode(e);return"function"==typeof m?m(n.element,i):n.element.appendChild(i),n}function r(e){for(var t=0;t<e.length;t++){var n=o(e[t]),i=a(e[t][p],n);c[d]||(c[d]=[]),c[d].push(i),n?r(e[t][h]):d++}}function s(){c.forEach(function(e){var t=document.createElement("tr");_&&(t.className=_);for(var n=[],i=e.length-1;i>=0;i--){var o=e[i+1],a=e[i].childCount;o&&o.childCount&&(a*=o.childCount),n.push(a)}n.reverse(),e.forEach(function(e,i){n[i]&&e.element.setAttribute("rowspan",n[i]),t.appendChild(e.element)}),l.appendChild(t)})}var l,c=[],d=0;n=n||{};var u=n.cellTag||"td",h=n.childrenField||"children",p=n.titleField||"title",f=n.groupTableClass,_=n.groupRowClass,g=n.groupCellClass,m=n.groupCellCustomContent;return i(),r(t),s(),l},_makeVerticalGroupedRows:function(e,t){var n,i=1,a=[];for(n=0;n<e.length;n++){n>0&&(i=e[n-1].items.length*i);var r=this._makeGroupedRowCells(e[n].items,i,t);a.push(r)}var s=[],l=a.length,c=a[l-1].length;for(n=0;c>n;n++)s.push(o("<tr>").addClass(t.groupHeaderRowClass));for(n=l-1;n>=0;n--)for(var d=a[n].length,u=c/d,h=0;d>h;h++){var p=h*u,f=s[p];f.prepend(a[n][h].attr("rowspan",u))}return s},_makeHorizontalGroupedRows:function(e,t,n){for(var i=1,a=e.length,r=[],s=0;a>s;s++){s>0&&(i=e[s-1].items.length*i);var l=this._makeGroupedRowCells(e[s].items,i,t);r.push(o("<tr>").addClass(t.groupRowClass).append(l))}for(var c=r[a-1].find("th").length,d=0;a>d;d++){var u=r[d].find("th"),h=c/u.length*n;h>1&&u.attr("colspan",h)}return r},_makeGroupedRowCells:function(e,t,n){for(var i=[],a=e.length,r=0;t>r;r++)for(var s=0;a>s;s++)i.push(o("<th>").addClass(n.groupHeaderClass).html("<div class='"+n.groupHeaderContentClass+"'><div>"+e[s].text+"</div></div>"));return i}};i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(162),s=n(12),l=n(238),c="dx-scheduler-timeline",d="dx-scheduler-group-table",u="horizontal",h=75,p=s.dateToMilliseconds,f=r.inherit({_init:function(){this.callBase(),this.element().addClass(c),this._$sidebarTable=o("<table>").addClass(d)},_getCellFromNextRow:function(e,t){return t?this._$focusedCell:this.callBase(e,t)},_getRightCell:function(e){var t,n=this._$focusedCell,i=this._getCellCount(),o=this._isRTL()?0:i-1,a=this._isRTL()?"prev":"next";return n.index()===o?t=n:(t=n[a](),t=this._checkForViewBounds(t)),t},_getLeftCell:function(e){var t,n=this._$focusedCell,i=this._getCellCount(),o=this._isRTL()?i-1:0,a=this._isRTL()?"next":"prev";return n.index()===o?t=n:(t=n[a](),t=this._checkForViewBounds(t)),t},_getRowCount:function(){return 1},_getCellCount:function(){return this._getCellCountInDay()},_getTotalCellCount:function(e){return this._getCellCount()},_getTotalRowCount:function(e){return e=e||1,this._getRowCount()*e},_getDateByIndex:function(e){var t=new Date(this._firstViewDate),n=Math.floor(e/this._getCellCountInDay());return t.setTime(this._firstViewDate.getTime()+this._calculateCellIndex(0,e)*this._getInterval()+n*this._getHiddenInterval()),t},_getFormat:function(){return"shorttime"},_calculateHiddenInterval:function(e,t){var n=Math.floor(t/this._getCellCountInDay());return n*this._getHiddenInterval()},_createWorkSpaceElements:function(){this._createWorkSpaceScrollableElements()},_getWorkSpaceHeight:function(){return this.option("crossScrollingEnabled")?this._$dateTable.outerHeight():this.element().outerHeight()},_dateTableScrollableConfig:function(){var e=this,t=this.callBase(),n={direction:u,onScroll:function(t){e._headerScrollable.scrollTo({left:t.scrollOffset.left})}};return this.option("crossScrollingEnabled")?t:o.extend(t,n)},_renderTimePanel:o.noop,_renderAllDayPanel:o.noop,_getTableAllDay:function(){return!1},_toggleAllDayVisibility:o.noop,_changeAllDayVisibility:o.noop,supportAllDayRow:function(){return!1},_getGroupHeaderContainer:function(){return this._$sidebarTable},_renderView:function(){this.callBase(),this._$sidebarTable.appendTo(this._sidebarScrollable.content()),this._setGroupHeaderCellsHeight()},_cleanView:function(){this.callBase(),this._$sidebarTable.empty()},_visibilityChanged:function(e){this._setGroupHeaderCellsHeight(),this.callBase(e)},_setTableSizes:function(){this.callBase();var e=h,t=this._getWorkSpaceMinHeight(),n=this._$sidebarTable.find("tr"),i=e*n.length;t>i&&(i=t),this._$sidebarTable.height(i),this._$dateTable.height(i)},_getWorkSpaceMinHeight:function(){var e=this._getWorkSpaceHeight(),t=this.element().outerHeight(!0)-this.getHeaderPanelHeight();return t>e&&(e=t),e},_makeGroupRows:function(e){return l.makeGroupedTable(l.VERTICAL,e,{groupHeaderRowClass:this._getGroupRowClass(),groupHeaderClass:this._getGroupHeaderClass(),groupHeaderContentClass:this._getGroupHeaderContentClass()})},_setGroupHeaderCellsHeight:function(){var e=this.getCellHeight()-1;e=this._ensureGroupHeaderCellsHeight(e),this._getGroupHeaderCellsContent().css("height",e)},_ensureGroupHeaderCellsHeight:function(e){var t=this._calculateMinCellHeight();return t>e?t:e},_calculateMinCellHeight:function(){var e=this._getDateTable(),t="."+this._getDateTableRowClass();return e.outerHeight()/e.find(t).length-1},_attachGroupCountAttr:function(){this.element().attr("dx-group-column-count",this.option("groups").length)},_getCellCoordinatesByIndex:function(e){return{cellIndex:e%this._getCellCount(),rowIndex:0}},_getCellByCoordinates:function(e,t){return this._$dateTable.find("tr").eq(e.rowIndex+t).find("td").eq(e.cellIndex)},_calculateCellIndex:function(e,t){return t},_getGroupIndex:function(e,t){return e},_getWorkSpaceWidth:function(){return this._$dateTable.outerWidth(!0)},_calculateHeaderCellRepeatCount:function(){return 1},_getGroupIndexByCell:function(e){return e.parent().index()},_getIntervalBetween:function(e,t){var n=this.option("startDayHour"),i=this.option("endDayHour"),o=this.getStartViewDate(),a=o.getTime(),r=(24-i+n)*p("hour"),l=s.getTimezonesDifference(o,e),c=e.getTime(),d=c-a-l,u=Math.floor(d/p("day")),h=d-u*p("day"),f=0,_=this._getCellCountInDay()*u,g=c-s.trimTime(new Date(e)).getTime(),m=_*this.option("hoursInterval")*p("hour");return t||(e.getHours()<n?f=h-r+g:e.getHours()>=n&&e.getHours()<i?f=h:e.getHours()>=n&&e.getHours()>=i?f=h-(g-i*p("hour")):u||(m=d),m+=f),m},getAllDayContainer:function(){return null},getTimePanelWidth:function(){return 0},getPositionShift:function(e){var t=this.callBase(e),n=this.getCellWidth()*e;return this.option("rtlEnabled")&&(n*=-1),n+=t.left,{top:0,left:n}},getVisibleBounds:function(){var e=this.option("rtlEnabled"),t={},n=this.getScrollable().element(),i=this.getCellWidth(),o=e?this.getScrollableOuterWidth()-this.getScrollableScrollLeft():this.getScrollableScrollLeft(),a=o/i,r=n.width()/i,l=e?a-r:a+r,c=this._getDateByIndex(a),d=this._getDateByIndex(l);return e&&(c=this._getDateByIndex(l),d=this._getDateByIndex(a)),t.left={hours:c.getHours(),minutes:c.getMinutes()>=30?30:0,date:s.trimTime(c)},t.right={hours:d.getHours(),minutes:d.getMinutes()>=30?30:0,date:s.trimTime(d)},t},needUpdateScrollPosition:function(e,t,n,i){var o=!1;return o=this._dateWithinBounds(n,i),(e<n.left.hours||e>n.right.hours)&&(o=!0),e===n.left.hours&&t<n.left.minutes&&(o=!0),e===n.right.hours&&t>n.right.minutes&&(o=!0),o},_dateWithinBounds:function(e,t){var n=s.trimTime(new Date(t)),i=!1;return(n.getTime()<e.left.date.getTime()||n.getTime()>e.right.date.getTime())&&(i=!0),i},scrollToTime:function(e,t,n){var i=this._getScrollCoordinates(e,t,n),o=this.getScrollable(),a=this.option("rtlEnabled")?this.getScrollableContainer().outerWidth():0;o.scrollBy({left:i.left-o.scrollLeft()-a,top:0})}});a("dxSchedulerTimeline",f),i.exports=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=a.abstract,s=n(74),l=a.inherit({ctor:function(){this._finished=!0,this._stopped=!1,this._proxiedStepCore=o.proxy(this._stepCore,this)},start:function(){this._stopped=!1,this._finished=!1,this._stepCore()},stop:function(){this._stopped=!0,s.cancelAnimationFrame(this._stepAnimationFrame)},_stepCore:function(){return this._isStopped()?void this._stop():this._isFinished()?(this._finished=!0,void this._complete()):(this._step(),void(this._stepAnimationFrame=s.requestAnimationFrame(this._proxiedStepCore)))},_step:r,_isFinished:o.noop,_stop:o.noop,_complete:o.noop,_isStopped:function(){return this._stopped},inProgress:function(){return!(this._stopped||this._finished)}});i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a,r=n(1),s=Math,l=n(29).titleize,c=n(15),d=n(5),u=n(240),h=n(6),p=n(4),f=n(2),_=n(13),g=n(242),m=h.real,v="win"===m.platform||"android"===m.platform,x="dxSimulatedScrollable",w="dxScrollableStrategy",y=x+"Cursor",b=x+"Keyboard",C="dx-scrollable-simulated",k="dx-scrollable-scrollbars-hidden",S="dx-scrollable-scrollbars-alwaysvisible",T="dx-scrollable-scrollbar",I="vertical",D="horizontal",E=v?.95:.92,A=.5,B=1,M=s.round(1e3/60),O=20,P=B/5,R=v?300:400,V=R/M,F=(1-s.pow(E,V))/(1-E),L={PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},H=function(){var e=r.Callbacks(),t=50,n=null;r(window).on(p.addNamespace("focus",w),function(){n=r.now()}),r(document).on(p.addNamespace(_.down,w),function(){n=r.now()});var i=function(i){var o=r.now()-n>t,a=i.target===document.activeElement;o&&a&&e.fire(i.target)};if(window.addEventListener){var o="onactivate"in document;o?window.addEventListener("activate",i,!0):window.addEventListener("focus",i,!0)}else window.attachEvent("onfocusin",i);return e}(),z=u.inherit({ctor:function(e){this.callBase(),this.scroller=e},VELOCITY_LIMIT:B,_isFinished:function(){return s.abs(this.scroller._velocity)<=this.VELOCITY_LIMIT},_step:function(){this.scroller._scrollStep(this.scroller._velocity),this.scroller._velocity*=this._acceleration()},_acceleration:function(){return this.scroller._inBounds()?E:A},_complete:function(){this.scroller._scrollComplete()},_stop:function(){this.scroller._stopComplete()}}),N=z.inherit({VELOCITY_LIMIT:P,_isFinished:function(){return this.scroller._crossBoundOnNextStep()||this.callBase()},_acceleration:function(){return E},_complete:function(){this.scroller._move(this.scroller._bounceLocation),this.callBase()}}),W=function(e){return"dxmousewheel"===e.type},G=d.inherit({ctor:function(e){this._initOptions(e),this._initAnimators(),this._initScrollbar()},_initOptions:function(e){this._location=0,this._topReached=!1,this._bottomReached=!1,this._axis=e.direction===D?"x":"y",this._prop=e.direction===D?"left":"top",this._dimension=e.direction===D?"width":"height",this._scrollProp=e.direction===D?"scrollLeft":"scrollTop",this._pushBackCorrection=e.direction===I?2*e.pushBackValue:0,r.each(e,r.proxy(function(e,t){this["_"+e]=t},this))},_initAnimators:function(){this._inertiaAnimator=new z(this),this._bounceAnimator=new N(this)},_initScrollbar:function(){this._scrollbar=new g(r("<div>").appendTo(this._$container),{direction:this._direction,visible:this._scrollByThumb,visibilityMode:this._visibilityModeNormalize(this._scrollbarVisible),expandable:this._scrollByThumb}),this._$scrollbar=this._scrollbar.element()},_visibilityModeNormalize:function(e){return e===!0?"onScroll":e===!1?"never":e},_scrollStep:function(e){var t=this._location;this._location+=e,this._suppressBounce(),this._move(),Math.abs(t-this._location)<1||(this._scrollAction(),this._$container.triggerHandler({type:"scroll",simulated:!0}))},_suppressBounce:function(){this._bounceEnabled||this._inBounds(this._location)||(this._velocity=0,this._location=this._boundLocation())},_boundLocation:function(e){return e=void 0!==e?e:this._location,s.max(s.min(e,this._maxOffset),this._minOffset)},_move:function(e){this._location=void 0!==e?e:this._location,this._moveContent(),this._moveScrollbar()},_moveContent:function(){var e={};e[this._prop]=this._location,c.move(this._$content,e)},_moveScrollbar:function(){this._scrollbar.moveTo(this._location)},_scrollComplete:function(){this._inBounds()&&(this._hideScrollbar(),this._correctLocation(),this._completeDeferred&&this._completeDeferred.resolve()),this._scrollToBounds()},_correctLocation:function(){
this._location=s.round(this._location),this._move()},_scrollToBounds:function(){this._inBounds()||(this._bounceAction(),this._setupBounce(),this._bounceAnimator.start())},_setupBounce:function(){var e=this._bounceLocation=this._boundLocation(),t=e-this._location;this._velocity=t/F},_inBounds:function(e){return e=void 0!==e?e:this._location,this._boundLocation(e)===e},_crossBoundOnNextStep:function(){var e=this._location,t=e+this._velocity;return e<this._minOffset&&t>=this._minOffset||e>this._maxOffset&&t<=this._maxOffset},_initHandler:function(e){return this._stopDeferred=r.Deferred(),this._stopScrolling(),this._prepareThumbScrolling(e),this._stopDeferred.promise()},_stopScrolling:f.deferRenderer(function(){this._hideScrollbar(),this._inertiaAnimator.stop(),this._bounceAnimator.stop()}),_prepareThumbScrolling:function(e){if(!W(e.originalEvent)){var t=r(e.originalEvent.target),n=this._isScrollbar(t);n&&this._moveToMouseLocation(e),this._thumbScrolling=n||this._isThumb(t),this._crossThumbScrolling=!this._thumbScrolling&&this._isAnyThumbScrolling(t),this._thumbScrolling&&this._scrollbar.feedbackOn()}},_isThumbScrollingHandler:function(e){return this._isThumb(e)},_moveToMouseLocation:function(e){var t=e["page"+this._axis.toUpperCase()]-this._$element.offset()[this._prop],n=this._location+t/this._containerToContentRatio()-this._$container.height()/2;this._scrollStep(-n)},_stopComplete:function(){this._stopDeferred&&this._stopDeferred.resolve()},_startHandler:function(){this._showScrollbar()},_moveHandler:function(e){this._crossThumbScrolling||(this._thumbScrolling&&(e[this._axis]=-e[this._axis]/this._containerToContentRatio()),this._scrollBy(e))},_scrollBy:function(e){e=e[this._axis],this._inBounds()||(e*=A),this._scrollStep(e)},_scrollByHandler:function(e){this._scrollBy(e),this._scrollComplete()},_containerToContentRatio:function(){return this._scrollbar.containerToContentRatio()},_endHandler:function(e){return this._completeDeferred=r.Deferred(),this._velocity=e[this._axis],this._inertiaHandler(),this._resetThumbScrolling(),this._completeDeferred.promise()},_inertiaHandler:function(){this._suppressInertia(),this._inertiaAnimator.start()},_suppressInertia:function(){this._inertiaEnabled&&!this._thumbScrolling||(this._velocity=0)},_resetThumbScrolling:function(){this._thumbScrolling=!1,this._crossThumbScrolling=!1},_stopHandler:function(){this._thumbScrolling&&this._scrollComplete(),this._resetThumbScrolling(),this._scrollToBounds()},_disposeHandler:function(){this._stopScrolling(),this._$scrollbar.remove()},_updateHandler:function(){this._update(),this._moveToBounds()},_update:function(){var e=this;e._stopScrolling(),f.deferUpdate(function(){e._updateLocation(),e._updateBounds(),e._updateScrollbar(),f.deferRender(function(){e._moveScrollbar(),e._scrollbar.update()})})},_updateLocation:function(){this._location=c.locate(this._$content)[this._prop]},_updateBounds:function(){this._maxOffset=this._getMaxOffset(),this._minOffset=this._getMinOffset()},_getMaxOffset:function(){return 0},_getMinOffset:function(){return s.min(this._containerSize()-this._contentSize(),0)},_updateScrollbar:f.deferUpdater(function(){var e=this,t=e._containerSize(),n=e._contentSize();f.deferRender(function(){e._scrollbar.option({containerSize:t,contentSize:n})})}),_moveToBounds:f.deferRenderer(f.deferUpdater(f.deferRenderer(function(){var e=this._boundLocation(),t=e!==this._location;this._location=e,this._move(),t&&this._scrollAction()}))),_createActionsHandler:function(e){this._scrollAction=e.scroll,this._bounceAction=e.bounce},_showScrollbar:function(){this._scrollbar.option("visible",!0)},_hideScrollbar:function(){this._scrollbar.option("visible",!1)},_containerSize:function(){return this._$container[this._dimension]()},_contentSize:function(){var e="hidden"===this._$content.css("overflow-"+this._axis),t=this._$content[this._dimension]();if(!e){var n=this._$content[0]["scroll"+l(this._dimension)];t=s.max(n-this._pushBackCorrection,t)}return t},_validateEvent:function(e){var t=r(e.originalEvent.target);return this._isThumb(t)||this._isScrollbar(t)?(e.preventDefault(),!0):this._isContent(t)},_isThumb:function(e){return this._scrollByThumb&&this._scrollbar.isThumb(e)},_isScrollbar:function(e){return this._scrollByThumb&&e&&e.is(this._$scrollbar)},_isContent:function(e){return this._scrollByContent&&!!e.closest(this._$element).length},_reachedMin:function(){return this._location<=this._minOffset},_reachedMax:function(){return this._location>=this._maxOffset},_cursorEnterHandler:function(){this._scrollbar.cursorEnter()},_cursorLeaveHandler:function(){this._scrollbar.cursorLeave()},dispose:r.noop}),$=d.inherit({ctor:function(e){this._init(e)},_init:function(e){this._component=e,this._$element=e.element(),this._$container=e._$container,this._$content=e._$content,this.option=r.proxy(e.option,e),this._createActionByOption=r.proxy(e._createActionByOption,e),this._isLocked=r.proxy(e._isLocked,e),this._isDirection=r.proxy(e._isDirection,e),this._allowedDirection=r.proxy(e._allowedDirection,e),this._proxiedActiveElementChangeHandler=r.proxy(this._activeElementChangeHandler,this),H.add(this._proxiedActiveElementChangeHandler)},_activeElementChangeHandler:function(e){this._component.scrollToElement(e)},render:function(){this._$element.addClass(C),this._createScrollers(),this.option("useKeyboard")&&this._$container.prop("tabindex",0),this._attachKeyboardHandler(),this._attachCursorHandlers()},_createScrollers:function(){this._scrollers={},this._isDirection(D)&&this._createScroller(D),this._isDirection(I)&&this._createScroller(I),this._$element.toggleClass(S,"always"===this.option("showScrollbar")),this._$element.toggleClass(k,!this.option("showScrollbar"))},_createScroller:function(e){this._scrollers[e]=new G(this._scrollerOptions(e))},_scrollerOptions:function(e){return{direction:e,$content:this._$content,$container:this._$container,$element:this._$element,scrollByContent:this.option("scrollByContent"),scrollByThumb:this.option("scrollByThumb"),scrollbarVisible:this.option("showScrollbar"),bounceEnabled:this.option("bounceEnabled"),inertiaEnabled:this.option("inertiaEnabled"),isAnyThumbScrolling:r.proxy(this._isAnyThumbScrolling,this),pushBackValue:this.option("pushBackValue")}},_isAnyThumbScrolling:function(e){var t=!1;return this._eventHandler("isThumbScrolling",e).done(function(e,n){t=e||n}),t},handleInit:function(e){this._suppressDirections(e),this._eventForUserAction=e,this._eventHandler("init",e).done(this._stopAction)},_suppressDirections:function(e){return W(e.originalEvent)?void this._prepareDirections(!0):(this._prepareDirections(),void this._eachScroller(function(t,n){var i=t._validateEvent(e);this._validDirections[n]=i}))},_prepareDirections:function(e){e=e||!1,this._validDirections={},this._validDirections[D]=e,this._validDirections[I]=e},_eachScroller:function(e){e=r.proxy(e,this),r.each(this._scrollers,function(t,n){e(n,t)})},handleStart:function(e){this._eventForUserAction=e,this._eventHandler("start").done(this._startAction)},_saveActive:function(){a=this},_resetActive:function(){a===this&&(a=null)},handleMove:function(e){return this._isLocked()?(e.cancel=!0,void this._resetActive()):(this._saveActive(),e.preventDefault&&e.preventDefault(),this._adjustDistance(e.delta),this._eventForUserAction=e,void this._eventHandler("move",e.delta))},_adjustDistance:function(e){e.x*=this._validDirections[D],e.y*=this._validDirections[I]},handleEnd:function(e){return this._resetActive(),this._refreshCursorState(e.originalEvent&&e.originalEvent.target),this._adjustDistance(e.velocity),this._eventForUserAction=e,this._eventHandler("end",e.velocity).done(this._endAction)},handleCancel:function(e){return this._resetActive(),this._eventForUserAction=e,this._eventHandler("end",{x:0,y:0})},handleStop:function(){this._resetActive(),this._eventHandler("stop")},handleScroll:function(e){if(!e.simulated){var t={left:this.option("direction")!==I?-this._$container.scrollLeft():0,top:this.option("direction")!==D?-this._$container.scrollTop():0};(t.left||t.top)&&(this._$container.scrollLeft(0),this._$container.scrollTop(0),this.scrollBy(t))}},_attachKeyboardHandler:function(){this._$element.off("."+b),!this.option("disabled")&&this.option("useKeyboard")&&this._$element.on(p.addNamespace("keydown",b),r.proxy(this._keyDownHandler,this))},_keyDownHandler:function(e){if(this._$container.is(document.activeElement)){var t=!0;switch(e.keyCode){case L.DOWN:this._scrollByLine({y:1});break;case L.UP:this._scrollByLine({y:-1});break;case L.RIGHT:this._scrollByLine({x:1});break;case L.LEFT:this._scrollByLine({x:-1});break;case L.PAGE_DOWN:this._scrollByPage(1);break;case L.PAGE_UP:this._scrollByPage(-1);break;case L.HOME:this._scrollToHome();break;case L.END:this._scrollToEnd();break;default:t=!1}t&&(e.stopPropagation(),e.preventDefault())}},_scrollByLine:function(e){this.scrollBy({top:(e.y||0)*-O,left:(e.x||0)*-O})},_scrollByPage:function(e){var t=this._wheelProp(),n=this._dimensionByProp(t),i={};i[t]=e*-this._$container[n](),this.scrollBy(i)},_dimensionByProp:function(e){return"left"===e?"width":"height"},_scrollToHome:function(){var e=this._wheelProp(),t={};t[e]=0,this._component.scrollTo(t)},_scrollToEnd:function(){var e=this._wheelProp(),t=this._dimensionByProp(e),n={};n[e]=this._$content[t]()-this._$container[t](),this._component.scrollTo(n)},createActions:function(){this._startAction=this._createActionHandler("onStart"),this._stopAction=this._createActionHandler("onStop"),this._endAction=this._createActionHandler("onEnd"),this._updateAction=this._createActionHandler("onUpdated"),this._createScrollerActions()},_createScrollerActions:function(){this._eventHandler("createActions",{scroll:this._createActionHandler("onScroll"),bounce:this._createActionHandler("onBounce")})},_createActionHandler:function(e){var t=this,n=t._createActionByOption(e);return function(){n(r.extend(t._createActionArgs(),arguments))}},_createActionArgs:function(){var e=this._scrollers[D],t=this._scrollers[I];return{jQueryEvent:this._eventForUserAction,scrollOffset:{top:t&&-t._location,left:e&&-e._location},reachedLeft:e&&e._reachedMax(),reachedRight:e&&e._reachedMin(),reachedTop:t&&t._reachedMax(),reachedBottom:t&&t._reachedMin()}},_eventHandler:function(e){var t=r.makeArray(arguments).slice(1),n=r.map(this._scrollers,function(n){return n["_"+e+"Handler"].apply(n,t)});return r.when.apply(r,n).promise()},location:function(){return c.locate(this._$content)},disabledChanged:function(){this._attachCursorHandlers()},_attachCursorHandlers:function(){this._$element.off("."+y),!this.option("disabled")&&this._isHoverMode()&&this._$element.on(p.addNamespace("mouseenter",y),r.proxy(this._cursorEnterHandler,this)).on(p.addNamespace("mouseleave",y),r.proxy(this._cursorLeaveHandler,this))},_isHoverMode:function(){return"onHover"===this.option("showScrollbar")},_cursorEnterHandler:function(e){e=e||{},e.originalEvent=e.originalEvent||{},a||e.originalEvent._hoverHandled||(o&&o._cursorLeaveHandler(),o=this,this._eventHandler("cursorEnter"),e.originalEvent._hoverHandled=!0)},_cursorLeaveHandler:function(e){o===this&&a!==o&&(this._eventHandler("cursorLeave"),o=null,this._refreshCursorState(e&&e.relatedTarget))},_refreshCursorState:function(e){if(this._isHoverMode()||e&&!a){var t=r(e),n=t.closest("."+C+":not(.dx-state-disabled)"),i=n.length&&n.data(w);o&&o!==i&&o._cursorLeaveHandler(),i&&i._cursorEnterHandler()}},update:function(){var e=this,t=this._eventHandler("update").done(this._updateAction);return r.when(t,f.deferUpdate(function(){var t=e._allowedDirections(),n=t.vertical||t.horizontal;return f.deferRender(function(){e._$container.css("touchAction",n?"none":"")}),r.when().promise()}))},_allowedDirections:function(){var e=this.option("bounceEnabled"),t=this._scrollers[I],n=this._scrollers[D];return{vertical:t&&(t._minOffset<0||e),horizontal:n&&(n._minOffset<0||e)}},scrollBy:function(e){var t=this._scrollers[I],n=this._scrollers[D];t&&(e.top=t._boundLocation(e.top+t._location)-t._location),n&&(e.left=n._boundLocation(e.left+n._location)-n._location),this._prepareDirections(!0),this._startAction(),this._eventHandler("scrollBy",{x:e.left,y:e.top}),this._endAction()},validate:function(e){return this.option("disabled")?!1:this.option("bounceEnabled")?!0:W(e)?this._validateWheel(e):this._validateMove(e)},_validateWheel:function(e){var t=this._scrollers[this._wheelDirection(e)],n=t._reachedMin(),i=t._reachedMax(),o=!n||!i,a=!n&&!i,r=n&&e.delta>0,s=i&&e.delta<0;return o&&(a||r||s)},_validateMove:function(e){return this.option("scrollByContent")||r(e.target).closest("."+T).length?this._allowedDirection():!1},getDirection:function(e){return W(e)?this._wheelDirection(e):this._allowedDirection()},_wheelProp:function(){return this._wheelDirection()===D?"left":"top"},_wheelDirection:function(e){switch(this.option("direction")){case D:return D;case I:return I;default:return e&&e.shiftKey?D:I}},dispose:function(){H.remove(this._proxiedActiveElementChangeHandler),this._resetActive(),o===this&&(o=null),this._eventHandler("dispose"),this._detachEventHandlers(),this._$element.removeClass(C),this._eventForUserAction=null,clearTimeout(this._gestureEndTimer)},_detachEventHandlers:function(){this._$element.off("."+y),this._$container.off("."+b)}});t.SimulatedStrategy=$,t.Scroller=G}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(18),s=n(4),l=n(2),c=n(13),d="dxScrollbar",u="dx-scrollable-scrollbar",h=u+"-active",p="dx-scrollable-scroll",f="dx-scrollable-scroll-content",_="dx-scrollbar-hoverable",g="horizontal",m=15,v={onScroll:"onScroll",onHover:"onHover",always:"always",never:"never"},x=r.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{direction:null,visible:!1,activeStateEnabled:!1,visibilityMode:v.onScroll,containerSize:0,contentSize:0,expandable:!0})},_init:function(){this.callBase(),this._isHovered=!1},_render:function(){this._renderThumb(),this.callBase(),this._renderDirection(),this._update(),this._attachPointerDownHandler(),this.option("hoverStateEnabled",this._isHoverMode()),this.element().toggleClass(_,this.option("hoverStateEnabled"))},_renderThumb:function(){this._$thumb=o("<div>").addClass(p),o("<div>").addClass(f).appendTo(this._$thumb),this.element().addClass(u).append(this._$thumb)},isThumb:function(e){return!!this.element().find(e).length},_isHoverMode:function(){var e=this.option("visibilityMode");return(e===v.onHover||e===v.always)&&this.option("expandable")},_renderDirection:function(){var e=this.option("direction");this.element().addClass("dx-scrollbar-"+e),this._dimension=e===g?"width":"height",this._prop=e===g?"left":"top"},_attachPointerDownHandler:function(){this._$thumb.on(s.addNamespace(c.down,d),o.proxy(this.feedbackOn,this))},feedbackOn:function(){this.element().addClass(h),w=this},feedbackOff:function(){this.element().removeClass(h),w=null},cursorEnter:function(){this._isHovered=!0,this.option("visible",!0)},cursorLeave:function(){this._isHovered=!1,this.option("visible",!1)},_renderDimensions:function(){this._$thumb.css({width:this.option("width"),height:this.option("height")})},_toggleVisibility:function(e){this.option("visibilityMode")===v.onScroll&&this._$thumb.css("opacity"),e=this._adjustVisibility(e),this.option().visible=e,this._$thumb.toggleClass("dx-state-invisible",!e)},_adjustVisibility:function(e){if(this.containerToContentRatio()&&!this._needScrollbar())return!1;switch(this.option("visibilityMode")){case v.onScroll:break;case v.onHover:e=e||!!this._isHovered;break;case v.never:e=!1;break;case v.always:e=!0}return e},moveTo:function(e){if(!this._isHidden()){o.isPlainObject(e)&&(e=e[this._prop]||0);var t={left:0,top:0};t[this._prop]=this._calculateScrollBarPosition(e),a.move(this._$thumb,t)}},_calculateScrollBarPosition:function(e){return-e*this._thumbRatio},_update:function(){var e=this.option("containerSize"),t=this.option("contentSize");this._containerToContentRatio=t?e/t:e;var n=Math.round(Math.max(Math.round(e*this._containerToContentRatio),m));this._thumbRatio=(e-n)/(t-e),this.option(this._dimension,n),this.element().css("display",this._needScrollbar()?"":"none")},_isHidden:function(){return this.option("visibilityMode")===v.never},_needScrollbar:function(){return!this._isHidden()&&this._containerToContentRatio<1},containerToContentRatio:function(){return this._containerToContentRatio},_normalizeSize:function(e){return o.isPlainObject(e)?e[this._dimension]||0:e},_clean:function(){this.callBase(),this===w&&(w=null),this._$thumb.off("."+d)},_optionChanged:function(e){if(!this._isHidden())switch(e.name){case"containerSize":case"contentSize":this.option()[e.name]=this._normalizeSize(e.value),this._update();break;case"visibilityMode":case"direction":this._invalidate();break;default:this.callBase.apply(this,arguments)}},update:l.deferRenderer(function(){this._adjustVisibility()&&this.option("visible",!0)})});x.publicName(d);var w=null;o(document).on(s.addNamespace(c.up,d),function(){w&&w.feedbackOff()}),i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(405)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(18),r=n(163),s=n(15),l=n(66),c=n(37),d="dx-slider",u="dx-slider-handle",h={top:{my:"bottom center",at:"top center",collision:"none"},bottom:{my:"top center",at:"bottom center",collision:"none"},right:{my:"left center",at:"right center",collision:"none"},left:{my:"right center",at:"left center",collision:"none"}},p=a.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!1,value:0,tooltipEnabled:!1,tooltipFormat:function(e){return e},tooltipPosition:"top",tooltipShowMode:"onHover",tooltipFitIn:null})},_render:function(){this.callBase(),this.element().addClass(u),this._renderTooltip(),this.setAria({role:"slider",valuenow:this.option("value")})},_renderTooltip:function(){this.option("tooltipEnabled")?(this._$tooltip||(this._$tooltip=o("<div>").appendTo(this.element())),this._$slider=this.element().closest("."+d),this._updateTooltip()):this._removeTooltip()},_createTooltip:function(){return this._tooltip?!1:(this._tooltip=this._createComponent(this._$tooltip,r,{visible:!0,target:this.element(),closeOnOutsideClick:!1,container:this.element(),closeOnBackButton:!1,closeOnTargetScroll:!1,onPositioned:o.proxy(function(e){this._saveTooltipElements(e.component),this._saveTooltipLocation(),this._centeredTooltipPosition()},this),animation:null,arrowPosition:null}),!0)},_removeTooltip:function(){this._$tooltip&&(this._$tooltip.remove(),delete this._$tooltip,delete this._tooltip)},_renderTooltipPosition:function(){if(this._tooltip){var e=this.option("tooltipPosition");this._saveTooltipElements(),this._resetTooltipPosition(),"string"===o.type(e)&&(e=o.extend({boundary:this._$slider,boundaryOffset:{h:1,v:1}},h[e])),this._tooltip.option("position",e),this._saveTooltipLocation()}},_saveTooltipElements:function(e){e=this._tooltip||e,this._$tooltipContent=e.content().parent(),this._$tooltipArrow=this._$tooltipContent.find(".dx-popover-arrow")},_resetTooltipPosition:function(){s.resetPosition(this._$tooltipContent),s.resetPosition(this._$tooltipArrow)},_saveTooltipLocation:function(){this._contentLocate=s.locate(this._$tooltipContent)},_centeredTooltipPosition:function(){if(this._tooltip){this._$tooltipContent.outerWidth("auto");var e=this._$tooltipContent.get(0).getBoundingClientRect().width,t=Math.ceil(e),n=t%2+t;this._$tooltipContent.outerWidth(n);var i=(n-this.element().width())/2;this._contentLocate.left=-i,this._$tooltipArrow.css({marginLeft:-this._$tooltipArrow.outerWidth()/2,left:"50%"}),this._fitTooltip()}},_fitTooltip:function(){if(this._tooltip){var e=this.option("tooltipPosition");"string"===o.type(e)&&(e=o.extend({of:this.element(),boundary:this._$slider,boundaryOffset:{h:2,v:1}},h[e],{collision:"fit none"}));var t=l.calculate(this._$tooltipContent,e),n="left"===t.h.collisionSide;s.move(this._$tooltipContent,{left:this._contentLocate.left+(n?1:-1)*t.h.oversize}),s.move(this._$tooltipArrow,{left:(n?-1:1)*t.h.oversize})}},_renderValue:function(){if(this._tooltip){var e=c.format(this.option("value"),this.option("tooltipFormat"));this._tooltip.content().html(e),this._fitTooltip()}},_updateTooltip:function(){var e=/^onhover$/i.test(this.option("tooltipShowMode"));e||this._createTooltip(),this.element().toggleClass("dx-slider-tooltip-on-hover",e),this._renderTooltipPosition(),this._renderValue(),this._centeredTooltipPosition()},_clean:function(){this.callBase(),delete this._$tooltip,delete this._tooltip},_optionChanged:function(e){switch(e.name){case"tooltipFormat":this._renderValue();break;case"value":this._renderValue(),e.value.toString().length!==e.previousValue.toString().length&&this._centeredTooltipPosition(),this.setAria("valuenow",e.value);break;case"tooltipEnabled":this._renderTooltip();break;case"tooltipPosition":this._renderTooltipPosition(),this._centeredTooltipPosition();break;case"tooltipShowMode":this._updateTooltip();break;case"tooltipFitIn":this._fitTooltip();break;case"_templates":case"templateProvider":break;default:this.callBase(e)}},fitTooltipPosition:function(){this._fitTooltip()},updateTooltip:function(){this._createTooltip()&&(this._renderTooltipPosition(),this._renderValue(),this._centeredTooltipPosition())},repaint:function(){this._renderTooltipPosition(),this._centeredTooltipPosition(),this._tooltip&&this._tooltip._visibilityChanged(!0)}});i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(17),r=n(6),s=n(3),l=n(232),c=n(156),d="dx-tabpanel",u="dx-tabpanel-tabs",h="dx-tabpanel-container",p=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{itemTitleTemplate:"title",hoverStateEnabled:!0,showNavButtons:!1,scrollByContent:!0,scrollingEnabled:!0,onTitleClick:null,onTitleHold:null,onTitleRendered:null})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===r.real().deviceType&&!r.isSimulator()},options:{focusStateEnabled:!0}},{device:function(e){return!a.touch},options:{swipeEnabled:!1}},{device:{platform:"generic"},options:{animationEnabled:!1}}])},_init:function(){this.callBase(),this.element().addClass(d),this.setAria("role","tabpanel"),this._renderLayout()},_renderContent:function(){var e=this;this.callBase(),this.option("templatesRenderAsynchronously")&&(this._resizeEventTimer=setTimeout(function(){e._updateLayout()},0))},_renderLayout:function(){var e=this.element();this._$tabContainer=o("<div>").addClass(u).appendTo(e);var t=o("<div>").appendTo(this._$tabContainer);this._tabs=this._createComponent(t,c,this._tabConfig()),this._$container=o("<div>").addClass(h).appendTo(e),this._$container.append(this._$wrapper),this._updateLayout()},_updateLayout:function(){var e=this._$tabContainer.outerHeight();this._$container.css({"margin-top":-e,"padding-top":e})},_refreshActiveDescendant:function(){var e=this._tabs,t=e.itemElements(),n=o(t[e.option("selectedIndex")]),i=this.getFocusedItemId();this.setAria("controls",void 0,o(t)),this.setAria("controls",i,n)},_tabConfig:function(){return{selectOnFocus:!0,focusStateEnabled:this.option("focusStateEnabled"),hoverStateEnabled:this.option("hoverStateEnabled"),tabIndex:this.option("tabIndex"),selectedIndex:this.option("selectedIndex"),onItemClick:this.option("onTitleClick"),onItemHold:this.option("onTitleHold"),itemHoldTimeout:this.option("itemHoldTimeout"),onSelectionChanged:o.proxy(function(e){this.option("selectedIndex",e.component.option("selectedIndex")),this._refreshActiveDescendant()},this),onItemRendered:this.option("onTitleRendered"),itemTemplate:this._getTemplateByOption("itemTitleTemplate"),items:this.option("items"),noDataText:null,scrollingEnabled:this.option("scrollingEnabled"),scrollByContent:this.option("scrollByContent"),showNavButtons:this.option("showNavButtons"),itemTemplateProperty:"tabTemplate",loopItemFocus:this.option("loop"),selectionRequired:!0,onOptionChanged:o.proxy(function(e){var t=e.name,n=e.value;if("focusedElement"===t){var i=n?n.index():n,o=n?this._itemElements().eq(i):n;this.option("focusedElement",o)}},this),onFocusIn:o.proxy(function(e){this._focusInHandler(e.jQueryEvent)},this),onFocusOut:o.proxy(function(e){this._focusOutHandler(e.jQueryEvent)},this)}},_renderFocusTarget:function(){this._focusTarget().attr("tabindex",-1),this._refreshActiveDescendant()},_updateFocusState:function(e,t){this.callBase(e,t),e.target===this._tabs._focusTarget().get(0)&&this._toggleFocusClass(t,this._focusTarget())},_setTabsOption:function(e,t){this._tabs&&this._tabs.option(e,t)},_visibilityChanged:function(e){e&&(this._tabs._dimensionChanged(),this._updateLayout())},_optionChanged:function(e){var t=e.name,n=e.value;switch(t){case"dataSource":this.callBase(e);break;case"items":this._setTabsOption(t,n),this._updateLayout(),this.callBase(e);break;case"selectedIndex":case"selectedItem":case"itemHoldTimeout":case"focusStateEnabled":case"hoverStateEnabled":this._setTabsOption(t,n),this.callBase(e);break;case"scrollingEnabled":case"scrollByContent":case"showNavButtons":this._setTabsOption(t,n);break;case"focusedElement":var i=n?n.index():n,o=n?this._tabs._itemElements().eq(i):n;this._setTabsOption("focusedElement",o),this.callBase(e),this._tabs.focus();break;case"itemTitleTemplate":this._setTabsOption("itemTemplate",this._getTemplateByOption("itemTitleTemplate"));break;case"onTitleClick":this._setTabsOption("onItemClick",n);break;case"onTitleHold":this._setTabsOption("onItemHold",n);break;case"onTitleRendered":this._setTabsOption("onItemRendered",n);break;case"loop":this._setTabsOption("loopItemFocus",n);break;default:this.callBase(e)}},_clean:function(){clearTimeout(this._resizeEventTimer),this.callBase()}});s("dxTabPanel",p),i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(3),a=n(410);o("dxTextEditor",a),i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(21),s=r.msie&&parseInt(r.version)<=11,l=function(e){return d(e)?u(e):{start:e.selectionStart,end:e.selectionEnd}},c=function(e,t){return d(e)?void h(e,t):void(o.contains(document,e)&&(e.selectionStart=t.start,e.selectionEnd=t.end))},d=function(e){return!e.setSelectionRange},u=function(e){var t=document.selection.createRange(),n=t.duplicate();return t.move("character",-e.value.length),t.setEndPoint("EndToStart",n),{start:t.text.length,end:t.text.length+n.text.length}},h=function(e,t){if(o.contains(document,e)){var n=e.createTextRange();n.collapse(!0),n.moveStart("character",t.start),n.moveEnd("character",t.end-t.start),n.select()}},p=function(e,t){return e=o(e).get(0),a.isDefined(t)?void(s&&document.activeElement!==e||c(e,t)):l(e)};i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(13),s=n(3),l=n(50),c="dx-toast",d=c+"-",u=d+"wrapper",h=d+"content",p=d+"message",f=d+"icon",_="dxToast",g=["info","warning","error","success"],m=[],v=8e3,x=null,w={top:{my:"top",at:"top",of:null,offset:"0 0"},bottom:{my:"bottom",at:"bottom",of:null,offset:"0 -20"},center:{my:"center",at:"center",of:null,offset:"0 0"},right:{my:"center right",at:"center right",of:null,offset:"0 0"},left:{my:"center left",at:"center left",of:null,offset:"0 0"}};o(document).on(r.down,function(e){for(var t=m.length-1;t>=0;t--)if(!m[t]._proxiedDocumentDownHandler(e))return});var y=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{message:"",type:"info",displayTime:2e3,position:"bottom center",animation:{show:{type:"fade",duration:400,from:0,to:1},hide:{type:"fade",duration:400,to:0}},shading:!1,height:"auto",closeOnBackButton:!1,closeOnSwipe:!0,closeOnClick:!1,resizeEnabled:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"win"===e.platform&&e.version&&8===e.version[0]},options:{position:"top center",width:function(){return o(window).width()}}},{device:function(e){return"win"===e.platform&&e.version&&10===e.version[0]},options:{position:"bottom right",width:"auto"}},{device:{platform:"android"},options:{closeOnOutsideClick:!0,width:"auto",position:{at:"bottom left",my:"bottom left",offset:"20 -20"},animation:{show:{type:"slide",duration:200,from:{top:o(window).height()}},hide:{type:"slide",duration:200,to:{top:o(window).height()}}}}},{device:function(e){var t="phone"===e.deviceType,n="android"===e.platform,i="win"===e.platform&&e.version&&10===e.version[0];return t&&(n||i)},options:{width:function(){return o(window).width()},position:{at:"bottom center",my:"bottom center",offset:"0 0"}}}])},_init:function(){this.callBase(),this._posStringToObject()},_renderContentImpl:function(){this.option("message")&&(this._message=o("<div>").addClass(p).text(this.option("message")).appendTo(this.content())),this.setAria("role","alert",this._message),o.inArray(this.option("type").toLowerCase(),g)>-1&&this.content().prepend(o("<div>").addClass(f)),this.callBase()},_render:function(){this.callBase(),this.element().addClass(c),this._wrapper().addClass(u),this._$content.addClass(d+String(this.option("type")).toLowerCase()),this.content().addClass(h),this._toggleCloseEvents("Swipe"),this._toggleCloseEvents("Click")},_toggleCloseEvents:function(e){var t="dx"+e.toLowerCase();this._$content.off(t),this.option("closeOn"+e)&&this._$content.on(t,o.proxy(this.hide,this))},_posStringToObject:function(){if(a.isString(this.option("position"))){var e=this.option("position").split(" ")[0],t=this.option("position").split(" ")[1];switch(this.option("position",o.extend({},w[e])),t){case"center":case"left":case"right":this.option("position").at+=" "+t,this.option("position").my+=" "+t}}},_show:function(){return x&&(clearTimeout(x._hideTimeout),x.hide()),x=this,this.callBase.apply(this,arguments).done(o.proxy(function(){clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(o.proxy(this.hide,this),this.option("displayTime"))},this))},_hide:function(){return x=null,this.callBase.apply(this,arguments)},_overlayStack:function(){return m},_zIndexInitValue:function(){return this.callBase()+v},_dispose:function(){clearTimeout(this._hideTimeout),x=null,this.callBase()},_optionChanged:function(e){switch(e.name){case"type":this._$content.removeClass(d+e.previousValue),this._$content.addClass(d+String(e.value).toLowerCase());break;case"message":this._message&&this._message.text(e.value);break;case"closeOnSwipe":this._toggleCloseEvents("Swipe");break;case"closeOnClick":this._toggleCloseEvents("Click");break;case"displayTime":case"position":break;default:this.callBase(e)}}});s(_,y),i.exports=y}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(28),s="dx-toolbar",l="dx-toolbar-bottom",c="dx-toolbar-mini",d="dx-toolbar-item",u="dx-toolbar-label",h="dx-toolbar-button",p="dx-toolbar-items-container",f="dx-toolbar-group",_="."+u,g="dxToolbarItemDataKey",m=r.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{renderAs:"topToolbar"})},_itemContainer:function(){return this._$toolbarItemsContainer.find([".dx-toolbar-before",".dx-toolbar-center",".dx-toolbar-after"].join(","))},_itemClass:function(){return d},_itemDataKey:function(){return g},_buttonClass:function(){return h},_dimensionChanged:function(){this._arrangeItems()},_render:function(){this._renderToolbar(),this._renderSections(),this.setAria("role","toolbar"),this.callBase(),this._arrangeItems()},_renderToolbar:function(){this.element().addClass(s).toggleClass(l,"bottomToolbar"===this.option("renderAs")),this._$toolbarItemsContainer=o("<div>").addClass(p).appendTo(this.element())},_renderSections:function(){var e=this._$toolbarItemsContainer,t=this;o.each(["before","center","after"],function(){var n="dx-toolbar-"+this,i=e.find("."+n);i.length||(t["_$"+this+"Section"]=i=o("<div>").addClass(n).appendTo(e))})},_arrangeItems:function(e){
e=e||this.element().width(),this._$centerSection.css({margin:"0 auto","float":"none"});var t=this._$beforeSection.get(0).getBoundingClientRect(),n=this._$centerSection.get(0).getBoundingClientRect(),i=this._$afterSection.get(0).getBoundingClientRect();(t.right>n.left||n.right>i.left)&&this._$centerSection.css({marginLeft:Math.round(t.width),marginRight:Math.round(i.width),"float":t.width>i.width?"none":"right"});var a=this._$toolbarItemsContainer.find(_).eq(0),r=a.parent();if(a.length){var s=t.width?Math.round(t.width):a.position().left,l=r.hasClass("dx-toolbar-before")?0:s,c=r.hasClass("dx-toolbar-after")?0:Math.round(i.width),d=0;r.children().not(_).each(function(){d+=o(this).outerWidth()});var u=e-d,h=a.outerWidth()-a.width(),p=Math.max(u-l-c-h,0);a.css("max-width",p)}},_renderItem:function(e,t,n,i){var o=t.location||"center",a=n||this._$toolbarItemsContainer.find(".dx-toolbar-"+o),r=Boolean(t.text),s=this.callBase(e,t,a,i);return s.toggleClass(this._buttonClass(),!r).toggleClass(u,r),s},_renderGroupedItems:function(){var e=this;o.each(this.option("items"),function(t,n){var i=n.items,a=o("<div>",{"class":f}),r=n.location||"center";i.length&&(o.each(i,function(t,n){e._renderItem(t,n,a,null)}),e._$toolbarItemsContainer.find(".dx-toolbar-"+r).append(a))})},_renderItems:function(e){var t=e.length&&e[0].items;t?this._renderGroupedItems():this.callBase(e)},_getToolbarItems:function(){return this.option("items")||[]},_renderContentImpl:function(){var e=this._getToolbarItems();this.element().toggleClass(c,0===e.length),this._renderedItemsCount?this._renderItems(e.slice(this._renderedItemsCount)):this._renderItems(e)},_renderEmptyMessage:o.noop,_clean:function(){this._$toolbarItemsContainer.children().empty(),this.element().empty()},_visibilityChanged:function(e){e&&this._arrangeItems()},_isVisible:function(){return this.element().width()>0&&this.element().height()>0},_getIndexByItem:function(e){return o.inArray(e,this._getToolbarItems())},_itemOptionChanged:function(e,t,n){this.callBase.apply(this,[e,t,n]),this._arrangeItems()},_optionChanged:function(e){var t=e.name;switch(t){case"width":this.callBase.apply(this,arguments),this._dimensionChanged();break;case"renderAs":this._invalidate();break;default:this.callBase.apply(this,arguments)}}});a("dxToolbarBase",m),i.exports=m}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(183),r=n(15),s=n(99).hideCallback,l=n(22),c=n(50),d=n(151),u="dx-toolbar-list-visible",h="easeOutCubic",p=200,f=400,_=a.inherit({render:function(){this._renderListOverlay(),this.callBase(),this._changeListVisible(this._toolbar.option("visible"))},_renderWidget:function(){this._hasVisibleMenuItems()&&this.callBase()},_menuWidgetClass:function(){return d},_menuContainer:function(){return this._listOverlay.content()},_menuButtonOptions:function(){return o.extend({},this.callBase(),{activeStateEnabled:!1,text:"..."})},_widgetOptions:function(){return o.extend({},this.callBase(),{width:"100%",indicateLoading:!1})},_renderListOverlay:function(){var e=o("<div>").appendTo(this._toolbar.element());this._listOverlay=this._toolbar._createComponent(e,c,this._listOverlayConfig())},_listOverlayConfig:function(){return{container:!1,deferRendering:!1,shading:!1,height:"auto",width:"100%",showTitle:!1,closeOnOutsideClick:o.proxy(this._listOutsideClickHandler,this),position:null,animation:null,closeOnBackButton:!1}},_listOutsideClickHandler:function(e){o(e.target).closest(this._listOverlay.content()).length||this._toggleMenu(!1,!0)},_getListHeight:function(){var e=this._listOverlay.content().find(".dx-list").height(),t=this._toolbar._$toolbarItemsContainer.height()-this._toolbar.element().height();return e+t},_hideTopOverlayHandler:function(){this._toggleMenu(!1,!0)},_toggleHideTopOverlayCallback:function(){this._closeCallback&&s.remove(this._closeCallback),this._menuShown&&(this._closeCallback=o.proxy(this._hideTopOverlayHandler,this),s.add(this._closeCallback))},_calculatePixelOffset:function(e){e=(e||0)-1;var t=this._getListHeight();return e*t},_renderMenuPosition:function(e,t){var n=this._calculatePixelOffset(e),i=this._listOverlay.content();return t?this._animateMenuToggling(i,n,this._menuShown):(r.move(i,{top:n}),o.Deferred().resolve().promise())},_animateMenuToggling:function(e,t,n){var i=n?f:p;return l.animate(e,{type:"slide",to:{top:t},easing:h,duration:i})},_toggleMenu:function(e,t){this.callBase.apply(this,arguments),this._toggleHideTopOverlayCallback(),this._renderMenuPosition(this._menuShown?0:1,t).done(o.proxy(function(){this._toolbar.element().toggleClass(u,e)},this))},_changeListVisible:function(e){this._listOverlay&&(this._listOverlay.option("visible",e),this._toggleMenu(!1,!1))},handleToolbarVisibilityChange:function(e){this._changeListVisible(e)}});i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(33),r=n(3),s=n(93),l="dx-tooltip",c="dx-tooltip-wrapper",d=s.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{toolbarItems:[],showCloseButton:!1,showTitle:!1,title:null,titleTemplate:null,onTitleRendered:null,bottomTemplate:null,propagateOutsideClick:!0})},_render:function(){this.element().addClass(l),this._wrapper().addClass(c),this.callBase()},_renderContent:function(){this.callBase(),this._contentId=new a,this._$content.attr({id:this._contentId,role:"tooltip"}),this._toggleAriaDescription(!0)},_toggleAriaDescription:function(e){var t=o(this.option("target")),n=e?this._contentId:void 0;this.setAria("describedby",n,t)}});r("dxTooltip",d),i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(40),s=n(185),l=n(65),c=n(157),d="dx-validationgroup",u=r.inherit({_getDefaultOptions:function(){return this.callBase()},_init:function(){this.callBase()},_render:function(){var e=this.element();e.addClass(d),e.find(".dx-validator").each(function(e,t){c.getInstance(o(t))._initGroupRegistration()}),e.find(".dx-validationsummary").each(function(e,t){s.getInstance(o(t))._initGroupRegistration()}),this.callBase()},validate:function(){return l.validateGroup(this)},reset:function(){return l.resetGroup(this)},_optionChanged:function(e){switch(e.name){default:this.callBase(e)}},_dispose:function(){l.removeGroup(this),this.element().removeClass(d),this.callBase()}});a("dxValidationGroup",u),i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){var o={value:e,valueText:s(e,t)||""};return n&&(o.min=n.min,o.max=n.max),i&&(o.point=i),o}var a=n(1),r=n(7).map,s=n(168);i.exports={logarithmic:"logarithmic",discrete:"discrete",numeric:"numeric",left:"left",right:"right",top:"top",bottom:"bottom",center:"center",canvasPositionPrefix:"canvas_position_",canvasPositionTop:"canvas_position_top",canvasPositionBottom:"canvas_position_bottom",canvasPositionLeft:"canvas_position_left",canvasPositionRight:"canvas_position_right",canvasPositionStart:"canvas_position_start",canvasPositionEnd:"canvas_position_end",horizontal:"horizontal",vertical:"vertical",convertTicksToValues:function(e){return r(e||[],function(e){return e.value})},convertValuesToTicks:function(e){return r(e||[],function(e){return{value:e}})},validateOverlappingMode:function(e){return"ignore"!==e?"enlargeTickInterval":"ignore"},formatLabel:function(e,t,n,i){var r=o(e,t,n,i);return a.isFunction(t.customizeText)?t.customizeText.call(r,r):r.valueText},formatHint:function(e,t,n){var i=o(e,t,n);return a.isFunction(t.customizeHint)?t.customizeHint.call(i,i):void 0}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return e.categories&&e.categories.length}function a(e){var t=e.label,n=e.position,i=e.isHorizontal?u.bottom:u.left,o=e.isHorizontal?u.top:u.right;n!==i&&n!==o&&(n=i),n!==u.right||t.userAlignment||(t.alignment=u.left),e.position=n,e.hoverMode=e.hoverMode?e.hoverMode.toLowerCase():"none",t.minSpacing=m(t.minSpacing)?t.minSpacing:D}function r(e,t){var n=e.length;if(void 0!==t)for(;n--;)if(e[n].value===t)return n;return-1}var s,l=n(1),c=n(7),d=n(2),u=n(253),h=n(257),p=n(327),f=u.formatLabel,_=u.convertTicksToValues,g=u.convertValuesToTicks,m=d.isDefined,v=d.isNumber,x=c.getSignificantDigitPosition,w=c.roundValue,y=c.patchFontOptions,b=Math,C=b.abs,k=b.round,S=l.extend,T=l.each,I=l.noop,D=5,E=4,A=8,B=4;s=t.Axis=function(e){var t=this;t._renderer=e.renderer,t._incidentOccurred=e.incidentOccurred,t._stripsGroup=e.stripsGroup,t._labelAxesGroup=e.labelAxesGroup,t._constantLinesGroup=e.constantLinesGroup,t._axesContainerGroup=e.axesContainerGroup,t._gridContainerGroup=e.gridGroup,t._axisCssPrefix=e.widgetClass+"-"+(e.axisClass?e.axisClass+"-":""),t._setType(e.axisType,e.drawingType),t._createAxisGroups(),t._tickManager=t._createTickManager()},s.prototype={constructor:s,_updateIntervalAndBounds:function(){var e,t,n,i,a,r=this,s=r._translator,l=s.getBusinessRange();if(!o(l)){if(t=r.getMajorTicks(!0),n=t.length,l.isSynchronized||(a=this._tickManager.getTickBounds()),n>1){for(i=C(t[0].value-t[1].value),e=1;n-1>e;e++)i=Math.min(C(t[e].value-t[e+1].value),i);a=S({interval:i},a)}a&&(l.addRange(a),s.reinit())}},_createAllTicks:function(e){var t=this;t._boundaryTicks=t._getBoundaryTicks(),t._majorTicks=t.getMajorTicks(t._options.withoutOverlappingBehavior),t._decimatedTicks=o(e)||"semidiscrete"===t._options.type?t.getDecimatedTicks():[],t._minorTicks=t.getMinorTicks()},_drawAxis:function(){var e=this,t=e._options,n=e._createAxis({"stroke-width":t.width,stroke:t.color,"stroke-opacity":t.opacity});n.append(e._axisLineGroup)},_correctMinForTicks:function(e,t,n){var i,o=x(C(t-e)/n),a=w(Number(e),o);return e>a&&(i=b.pow(10,-o),a=c.applyPrecisionByMinDelta(a,i,a+i)),a>t&&(a=e),a},_getTickManagerData:function(){var e=this,t=e._options,n=e._getScreenDelta(),i=e._minBound,a=e._maxBound,r=e._translator.getVisibleCategories()||e._translator.getBusinessRange().categories,s=t.customTicks||(o({categories:r})?r:e._majorTicks&&e._majorTicks.length&&_(e._majorTicks)),l=t.customMinorTicks||e._minorTicks&&e._minorTicks.length&&_(e._minorTicks);return v(i)&&t.type!==u.logarithmic&&(i=e._correctMinForTicks(i,a,n)),{min:i,max:a,customTicks:s,customMinorTicks:l,customBoundTicks:t.customBoundTicks,screenDelta:n}},_getTickManagerTypes:function(){return{axisType:this._options.type,dataType:this._options.dataType}},_getTicksOptions:function(){var e=this._options;return{base:e.type===u.logarithmic?e.logarithmBase:void 0,tickInterval:this._translator.getBusinessRange().stubData?null:e.tickInterval,gridSpacingFactor:e.axisDivisionFactor,minorGridSpacingFactor:e.minorAxisDivisionFactor,numberMultipliers:e.numberMultipliers,incidentOccurred:e.incidentOccurred,setTicksAtUnitBeginning:e.setTicksAtUnitBeginning,showMinorTicks:e.minorTick.visible||e.minorGrid.visible,minorTickInterval:e.minorTickInterval,minorTickCount:e.minorTickCount,useTicksAutoArrangement:e.useTicksAutoArrangement,showCalculatedTicks:e.tick.showCalculatedTicks,showMinorCalculatedTicks:e.minorTick.showCalculatedTicks}},_getBoundaryTicks:function(){var e=this._translator.getVisibleCategories()||this._translator.getBusinessRange().categories,t=o({categories:e})&&this._tickOffset?[e[0],e[e.length-1]]:this._tickManager.getBoundaryTicks();return g(t)},_createTickManager:function(){return new p.TickManager({},{},{overlappingBehaviorType:this._overlappingBehaviorType})},_getMarginsOptions:function(){var e=this._translator.getBusinessRange();return{stick:e.stick||this._options.stick,minStickValue:e.minStickValue,maxStickValue:e.maxStickValue,percentStick:e.percentStick,minValueMargin:this._options.minValueMargin,maxValueMargin:this._options.maxValueMargin,minSpaceCorrection:e.minSpaceCorrection,maxSpaceCorrection:e.maxSpaceCorrection}},_updateTickManager:function(){var e,t=this._getOverlappingBehaviorOptions();e=S(!0,this._getMarginsOptions(),t,this._getTicksOptions()),this._tickManager.update(this._getTickManagerTypes(),this._getTickManagerData(),e)},_correctLabelAlignment:function(){var e=this,t=e._options.label,n=e._tickManager.getOverlappingBehavior();n&&"rotate"===n.mode?(e._textOptions.rotate=n.rotationAngle,t.userAlignment||(e._textOptions.align=u.left)):t.userAlignment||(e._textOptions.align=t.alignment)},_correctLabelFormat:function(){this._options.label=this._tickManager.getOptions().labelOptions},_deleteLabels:function(){this._axisElementsGroup&&this._axisElementsGroup.clear()},_drawTicks:function(e){var t=this,n=t._axisLineGroup;T(e||[],function(e,i){var o,a=t._getTickCoord(i);a&&(o=t._isHorizontal?[a.x1,a.y1,a.x2,a.y2]:[a.y1,a.x1,a.y2,a.x2],i.graphic=t._createPathElement(o,i.tickStyle).append(n),a.angle&&t._rotateTick(i,a.angle))})},_createPathElement:function(e,t){return this._renderer.path(e,"line").attr(t).sharp(this._getSharpParam())},_createAxis:function(e){return this._createAxisElement().attr(e).sharp(this._getSharpParam(!0))},_drawLabels:function(){var e=this,t=e._renderer,n=e._axisElementsGroup,i=/^\s+$/;T(e._majorTicks,function(o,a){var r,s,l=a.labelText;m(l)&&""!==l&&!i.test(l)&&(r=e._isHorizontal?a.labelPos.x:a.labelPos.y,s=e._isHorizontal?a.labelPos.y:a.labelPos.x,a.label?a.label.css(a.labelFontStyle).attr(a.labelStyle).attr({text:l,x:r,y:s}):a.label=t.text(l,r,s).css(a.labelFontStyle).attr(a.labelStyle).append(n),a.label.data({"chart-data-argument":a.value}))})},_getGridLineDrawer:function(e){var t=this,n=t._translator,i=t._additionalTranslator,o=t._isHorizontal,a=o?u.left:u.top,r=o?u.right:u.bottom,s=i.translateSpecialCase(u.canvasPositionStart),l=i.translateSpecialCase(u.canvasPositionEnd),c=e.visible&&e[a]?n.translateSpecialCase(u.canvasPositionPrefix+a):void 0,d=e.visible&&e[r]?n.translateSpecialCase(u.canvasPositionPrefix+r):void 0,h=o?function(e){return null!==e.posX?[e.posX,s,e.posX,l]:null}:function(e){return null!==e.posX?[s,e.posX,l,e.posX]:null},p=E+c,f=d-E;return function(e){if(!(void 0===e.posX||e.posX<p||e.posX>f)){var n=h(e);return n&&t._createPathElement(n,e.gridStyle)}}},_drawGrids:function(e,t){var n,i=this,o=i._axisGridGroup,a=0,r=e.length,s=i._getGridLineDrawer(t||{visible:!1});for(a;r>a;a++)n=e[a],n.grid=s(n),n.grid&&n.grid.append(o)},_getConstantLinePos:function(e,t,n){var i=this._validateUnit(e,"E2105","constantLine"),o=this._getTranslatedCoord(i);return!m(o)||o<b.min(t,n)||o>b.max(t,n)?{}:{value:o,parsedValue:i}},_createConstantLine:function(e,t){var n=this,i=this._additionalTranslator,o=i.translateSpecialCase(u.canvasPositionStart),a=i.translateSpecialCase(u.canvasPositionEnd),r=this._isHorizontal?[e,a,e,o]:[o,e,a,e];return n._createPathElement(r,t)},_drawConstantLinesAndLabels:function(e,t,n){if(m(e.value)){var i=this,o=i._getConstantLinePos(e.value,t,n),a=e.label||{},r=o.value,s={stroke:e.color,"stroke-width":e.width,dashStyle:e.dashStyle};if(!m(r))return i._constantLines.push(null),void(a.visible&&i._constantLineLabels.push(null));i._constantLines.push(i._createConstantLine(r,s).append(i._axisConstantLineGroup)),i._constantLineLabels.push(a.visible?i._drawConstantLineLabels(o.parsedValue,a,r):null)}},_drawConstantLine:function(){var e=this,t=e._options,n=t.constantLines,i=e._getCanvasStartEnd();e._translator.getBusinessRange().stubData||(e._constantLines=[],e._constantLineLabels=[],T(n,function(t,n){e._drawConstantLinesAndLabels(n,i.start,i.end)}))},_drawConstantLineLabels:function(e,t,n){var i,o=this,a=t.text,r=o._options,s=r.label;return o._checkAlignmentConstantLineLabels(t),a=m(a)?a:f(e,s),i=o._getConstantLineLabelsCoords(n,t),o._renderer.text(a,i.x,i.y).css(y(S({},s.font,t.font))).attr({align:i.align}).append(o._axisConstantLineGroup)},_getStripPos:function(e,t,n,i,o){var a,r,s,c,d=!(!o.minVisible&&!o.maxVisible),u=o.categories||[],h=e,p=t,f=o.minVisible;if(!d){if(s=l.inArray(e,u),c=l.inArray(t,u),-1===s||-1===c)return{stripFrom:0,stripTo:0};s>c&&(h=t,p=e)}return h=this._validateUnit(h,"E2105","strip"),p=this._validateUnit(p,"E2105","strip"),a=this._getTranslatedCoord(h,-1),r=this._getTranslatedCoord(p,1),!m(a)&&d&&(a=f>h?n:i),!m(r)&&d&&(r=f>p?n:i),r>a?{stripFrom:a,stripTo:r}:{stripFrom:r,stripTo:a}},_createStrip:function(e,t,n){var i,o,a,r,s=this._additionalTranslator,l=s.translateSpecialCase(u.canvasPositionStart),c=s.translateSpecialCase(u.canvasPositionEnd);return this._isHorizontal?(i=e,o=b.min(l,c),a=t-e,r=C(l-c)):(i=b.min(l,c),o=e,a=C(l-c),r=C(e-t)),this._renderer.rect(i,o,a,r).attr(n)},_drawStrip:function(){var e,t,n,i,o,a=this,r=a._options,s=r.strips,l=this._getCanvasStartEnd(),c=a._translator.getBusinessRange();if(!c.stubData)for(a._strips=[],a._stripLabels=[],e=0;e<s.length;e++)if(t=s[e],i=t.label||{},o={fill:t.color},m(t.startValue)&&m(t.endValue)&&m(t.color)){if(n=a._getStripPos(t.startValue,t.endValue,l.start,l.end,c),n.stripTo-n.stripFrom===0||!m(n.stripTo)||!m(n.stripFrom)){a._strips.push(null),i.text&&a._stripLabels.push(null);continue}a._strips.push(a._createStrip(n.stripFrom,n.stripTo,o).append(a._axisStripGroup)),a._stripLabels.push(i.text?a._drawStripLabel(i,n.stripFrom,n.stripTo):null)}},_drawStripLabel:function(e,t,n){var i=this,o=i._options,a=i._getStripLabelCoords(e,t,n);return i._renderer.text(e.text,a.x,a.y).css(y(S({},o.label.font,e.font))).attr({align:a.align}).append(i._axisLabelGroup)},_adjustStripLabels:function(){var e,t,n=this,i=n._stripLabels,o=n._strips;if(void 0!==i||void 0!==o)for(e=0;e<i.length;e++)null!==i[e]&&(t=n._getAdjustedStripLabelCoords(n._options.strips[e],i[e],o[e]),i[e].move(t.x,t.y))},_adjustLabels:function(){var e,t,n,i,o,a,r=this,s=r._options,l=r._majorTicks,c=l.length,d=r._isHorizontal,h=r._tickManager?r._tickManager.getOverlappingBehavior():s.label.overlappingBehavior,p=s.position,f=!1,_=r._axisElementsGroup&&r._axisElementsGroup.getBBox()||{};if(T(l,function(e,t){t.label&&(t.label.attr(r._getLabelAdjustedCoord(t,_)),f=!0)}),n=f&&d&&h&&"stagger"===h.mode){for(t=0,o=0;c>o;o+=2)e=l[o].label,a=e&&e.getBBox()||{},a.height>t&&(t=a.height);for(i=h.staggeringSpacing,t=k(t)+i,o=1;c>o;o+=2)e=l[o].label,e&&(p===u.bottom?e.move(0,t):p===u.top&&e.move(0,-t));for(o=0;c>o;o++)l[o].label&&l[o].label.rotate(0)}},_getLabelAdjustedCoord:function(e,t){var n,i,o=this,a=o._options,r=e.label.getBBox(),s=o._isHorizontal,l=a.position,c=o.padding&&o.padding[l]||0,d=o._textOptions,h=e.label.attr("y");return s&&l===u.bottom?i=2*h-r.y+c:s?s&&l===u.top&&(i=2*h-r.y-r.height-c):(n=l===u.left?d.align===u.right?r.x+r.width-c:d.align===u.center?r.x+r.width/2-c-(t.width/2||0):r.x-c-(t.width||0):d.align===u.center?r.x+r.width/2+(t.width/2||0)+c:d.align===u.right?r.x+r.width+(t.width||0)+c:r.x+c,i=h+~~(h-r.y-r.height/2)),{x:n,y:i}},_createAxisGroups:function(){var e=this,t=e._renderer,n=e._axisCssPrefix;e._axisGroup=t.g().attr({"class":n+"axis"}),e._axisStripGroup=t.g().attr({"class":n+"strips"}),e._axisGridGroup=t.g().attr({"class":n+"grid"}),e._axisElementsGroup=t.g().attr({"class":n+"elements"}).append(e._axisGroup),e._axisLineGroup=t.g().attr({"class":n+"line"}).append(e._axisGroup),e._axisTitleGroup=t.g().attr({"class":n+"title"}).append(e._axisGroup),e._axisConstantLineGroup=t.g().attr({"class":n+"constant-lines"}),e._axisLabelGroup=t.g().attr({"class":n+"axis-labels"})},_clearAxisGroups:function(e){var t=this,n=t._axisCssPrefix;t._axisGroup.remove(),t._axisStripGroup.remove(),t._axisLabelGroup.remove(),t._axisConstantLineGroup.remove(),t._axisGridGroup.remove(),t._axisTitleGroup?t._axisTitleGroup.clear():e||(t._axisTitleGroup=t._renderer.g().attr({"class":n+"title"}).append(t._axisGroup)),t._axisElementsGroup?t._axisElementsGroup.clear():e||(t._axisElementsGroup=t._renderer.g().attr({"class":n+"elements"}).append(t._axisGroup)),t._axisLineGroup&&t._axisLineGroup.clear(),t._axisStripGroup&&t._axisStripGroup.clear(),t._axisGridGroup&&t._axisGridGroup.clear(),t._axisConstantLineGroup&&t._axisConstantLineGroup.clear(),t._axisLabelGroup&&t._axisLabelGroup.clear()},_initTickCoord:function(e,t){var n=this._getTranslatedValue(e.value,this._axisPosition,t);e.posX=n.x,e.posY=n.y,e.angle=n.angle},_initTickStyle:function(e,t){e.length=t.length,e.tickStyle=e.withoutPath?{stroke:"none","stroke-width":0,"stroke-opacity":0}:t.tickStyle,e.gridStyle=t.gridStyle},_initTickLabel:function(e,t){var n=this,i=n._options.label.customizeColor;e.labelText=f(e.value,n._options.label,{min:n._minBound,max:n._maxBound}),e.labelPos=n._getTranslatedValue(e.value,t),e.labelStyle=n._textOptions,e.labelFontStyle=S({},n._textFontStyles),i&&i.call&&(e.labelFontStyle.fill=i.call(e,e)),e.labelHint=u.formatHint(e.value,n._options.label,{min:n._minBound,max:n._maxBound})},_getTickStyle:function(e,t){return{tickStyle:{stroke:e.color,"stroke-width":e.width,"stroke-opacity":e.opacity},gridStyle:{stroke:t.color,"stroke-width":t.width,"stroke-opacity":t.opacity},length:e.length}},_initTicks:function(e,t,n,i,o,a){var s,l=this,c=0,d=e.length,u=r(e,i);for(c;d>c;c++)s=e[c],c!==u&&l._initTickCoord(s,o),l._initTickStyle(s,t),n&&!s.withoutLabel&&l._initTickLabel(s,a)},_initAllTicks:function(){var e=this,t=e._options,n=e._getTickStyle(t.tick,t.grid),i=e._getTickStyle(t.minorTick,t.minorGrid),o=e._getSkippedCategory(),a=this._boundaryTicks,r=t.label.visible&&e._axisElementsGroup&&!e._translator.getBusinessRange().stubData,s=e.getLabelsParams().pos,l=e._tickOffset;e._initTicks(e._majorTicks,n,r,o,l,s),e._initTicks(e._minorTicks,i,!1,void 0,l),e._initTicks(e._decimatedTicks,n,!1,o,l),t.showCustomBoundaryTicks&&a.length&&(e._initTicks([a[0]],n,!1,-1,-1),a.length>1&&e._initTicks([a[1]],n,!1,-1,1))},_buildTicks:function(){var e=this;e._createAllTicks(e._translator.getBusinessRange()),e._correctLabelAlignment(),e._correctLabelFormat()},_setTickOffset:function(){var e=this._options,t=e.discreteAxisDivisionMode;this._tickOffset=+("crossLabels"!==t||!t)},_createHints:function(){var e=this;T(e._majorTicks||[],function(e,t){var n=t.labelHint;m(n)&&""!==n&&t.label.setTitle(n)})},_setBoundingRect:function(){var e,t=this,n=t._options,i=t._axisElementsGroup?t._axisElementsGroup.getBBox():{x:0,y:0,width:0,height:0,isEmpty:!0},o=t._axisLineGroup.getBBox(),a=n.placeholderSize,r=t._isHorizontal,s=r?"y":"x",l=r?"height":"width",c=n.crosshairEnabled?r?B:A:0,d=t._title&&t._axisTitleGroup?t._axisTitleGroup.getBBox():i;return i.isEmpty&&d.isEmpty&&!a?void(t.boundingRect=i):(e=o[s]||t._axisPosition,n.position===(r&&u.bottom||u.right)?(i[l]=a||d[s]+d[l]-e+c,i[s]=e):(i[l]=a||o[l]+e-d[s]+c,i[s]=d.isEmpty?e:d[s]-c),void(t.boundingRect=i))},_validateUnit:function(e,t,n){var i=this;return e=i.parser(e),void 0===e&&t&&i._incidentOccurred(t,[n]),e},_setType:function(e,t){var i,o=this;switch(e){case"xyAxes":i=n(328);break;case"polarAxes":i=n(503)}T(i[t],function(e,t){o[e]=t})},_getSharpParam:function(){return!0},dispose:function(){var e=this;e._axisElementsGroup&&e._axisElementsGroup.dispose(),e._stripLabels=e._strips=null,e._title=null,e._axisStripGroup=e._axisConstantLineGroup=e._axisLabelGroup=null,e._axisLineGroup=e._axisElementsGroup=e._axisGridGroup=null,e._axisGroup=e._axisTitleGroup=null,e._axesContainerGroup=e._stripsGroup=e._constantLinesGroup=null,e._renderer=e._options=e._textOptions=e._textFontStyles=null,e._translator=e._additionalTranslator=null,e._majorTicks=e._minorTicks=null,e._tickManager=null},getOptions:function(){return this._options},setPane:function(e){this.pane=e,this._options.pane=e},setTypes:function(e,t,n){this._options.type=e||this._options.type,this._options[n]=t||this._options[n]},resetTypes:function(e){this._options.type=this._initTypes.type,this._options[e]=this._initTypes[e]},getTranslator:function(){return this._translator},updateOptions:function(e){var t=this,n=e.label;t._options=e,e.tick=e.tick||{},e.minorTick=e.minorTick||{},e.grid=e.grid||{},e.minorGrid=e.minorGrid||{},e.title=e.title||{},e.marker=e.marker||{},t._initTypes={type:e.type,argumentType:e.argumentType,valueType:e.valueType},a(e),t._setTickOffset(),t._isHorizontal=e.isHorizontal,t.pane=e.pane,t.name=e.name,t.priority=e.priority,t._hasLabelFormat=""!==n.format&&m(n.format),t._textOptions={align:n.alignment,opacity:n.opacity},t._textFontStyles=c.patchFontOptions(n.font),e.type===u.logarithmic&&(e.logarithmBaseError&&(t._incidentOccurred("E2104"),delete e.logarithmBaseError),t.calcInterval=function(t,n){return c.getLog(t/n,e.logarithmBase)})},updateSize:function(e){var t=this,n=t._options,i=t._isHorizontal?"horizontal":"vertical";n.title.text&&t._axisTitleGroup&&(t._incidentOccurred("W2105",[i]),t._axisTitleGroup.dispose(),t._axisTitleGroup=null),e&&t._axisElementsGroup&&n.label.visible&&!t._translator.getBusinessRange().stubData&&(t._incidentOccurred("W2106",[i]),t._axisElementsGroup.dispose(),t._axisElementsGroup=null),t._setBoundingRect()},setTranslator:function(e,t){var n=this,i=e.getBusinessRange();this._minBound=i.minVisible,this._maxBound=i.maxVisible,n._translator=e,n._additionalTranslator=t,n.resetTicks(),n._updateIntervalAndBounds(),n._buildTicks()},resetTicks:function(){this._deleteLabels(),this._majorTicks=this._minorTicks=null},getLabelsParams:function(){var e=this,t=e._options,n=t.position,i=t.label.indentFromAxis,o=e._axisPosition,a=e._axisElementsGroup;return{pos:n===u.top||n===u.left?o-i:o+i,width:a&&a.getBBox().width||0}},getFormattedValue:function(e,t,n){var i=this._options.label;return m(e)?f(e,S(!0,{},i,t),void 0,n):null},getTicksValues:function(){return{majorTicksValues:_(this._majorTicks||this.getMajorTicks()),minorTicksValues:_(this._minorTicks||this.getMinorTicks())}},getMajorTicks:function(e){var t,n,i=this,o=i._options.label.overlappingBehavior;return i._updateTickManager(),i._textOptions.rotate=0,t=g(i._tickManager.getTicks(e)),t.length&&(o.hideFirstTick||o.hideLastTick||o.hideFirstLabel||o.hideLastLabel?(o.hideFirstLabel&&(t[0].withoutLabel=!0),o.hideLastLabel&&(t[t.length-1].withoutLabel=!0),o.hideFirstTick&&(t[0].withoutPath=!0),o.hideLastTick&&(t[t.length-1].withoutPath=!0)):e||"ignore"===o.mode||(n=i._tickManager.checkBoundedTicksOverlapping(),n.overlappedDates&&(t[1].withoutLabel=!0),n.overlappedStartEnd&&("first"===o.hideFirstOrLast?t[0].withoutLabel=!0:t[t.length-1].withoutLabel=!0))),i._addBoundaryTick(t),t},getMinorTicks:function(){return g(this._tickManager.getMinorTicks())},getDecimatedTicks:function(){return g(this._tickManager.getDecimatedTicks())},setTicks:function(e){this.resetTicks(),this._majorTicks=g(e.majorTicks),this._minorTicks=g(e.minorTicks)},setPercentLabelFormat:function(){this._hasLabelFormat||(this._options.label.format="percent")},resetAutoLabelFormat:function(){this._hasLabelFormat||delete this._options.label.format},getMultipleAxesSpacing:function(){return this._options.multipleAxesSpacing||0},drawGrids:function(e){var t=this,n=t._options;e=e||{},t._axisGridGroup.append(t._gridContainerGroup),n.grid.visible&&t._drawGrids(t._majorTicks.concat(t._decimatedTicks),e),n.minorGrid.visible&&t._drawGrids(t._minorTicks,e)},draw:function(e){var t,n=this,i=n._options;n._axisGroup&&n._clearAxisGroups(e),t=i.label.visible&&n._axisElementsGroup&&!n._translator.getBusinessRange().stubData,n._updateIntervalAndBounds(),n._buildTicks(),n._initAxisPositions(),n._initAllTicks(),i.visible&&n._drawAxis(),i.tick.visible&&(n._drawTicks(n._majorTicks),n._drawTicks(n._decimatedTicks)),i.minorTick.visible&&n._drawTicks(n._minorTicks),t&&n._drawLabels(),i.showCustomBoundaryTicks&&this._drawTicks(n._boundaryTicks),n._drawTitle(),i.strips&&n._drawStrip(),i.constantLines&&n._drawConstantLine(),n._stripsGroup&&n._axisStripGroup.append(n._stripsGroup),n._constantLinesGroup&&n._axisConstantLineGroup.append(n._constantLinesGroup),n._axisGroup.append(n._axesContainerGroup),n._labelAxesGroup&&n._axisLabelGroup.append(n._labelAxesGroup),n._adjustConstantLineLabels(),t&&n._adjustLabels(),i.marker.visible&&n._drawDateMarkers(),n._createHints(),n._adjustStripLabels(),n._adjustTitle(),n._setBoundingRect()},getBoundingRect:function(){return this._axisElementsGroup?this.boundingRect:{x:0,y:0,width:0,height:0}},shift:function(e,t){this._axisGroup.attr({translateX:e,translateY:t})},applyClipRects:function(e,t){this._axisGroup.attr({clipId:t}),this._axisStripGroup.attr({clipId:e})},validate:function(e){var t=this,n=t._options,i=e?n.argumentType:n.valueType,o=i?h.getParser(i):function(e){return e};t.parser=o,n.dataType=i,void 0!==n.min&&(n.min=t._validateUnit(n.min,"E2106")),void 0!==n.max&&(n.max=t._validateUnit(n.max,"E2106")),void 0!==t._minBound&&(t._minBound=t._validateUnit(t._minBound)),void 0!==t._maxBound&&(t._maxBound=t._validateUnit(t._maxBound))},zoom:function(e,t,n){var i=this,o=i._options.min,a=i._options.max;return n=n||i._options.type===u.discrete,e=i._validateUnit(e),t=i._validateUnit(t),n||(void 0!==o&&(e=o>e?o:e,t=o>t?o:t),void 0!==a&&(t=t>a?a:t,e=e>a?a:e)),i._zoomArgs={min:e,max:t},i._zoomArgs},resetZoom:function(){this._zoomArgs=null},getRangeData:function(){var e,t,n,i,o=this,a=o._options,r=o._getMinMax(),s=r.min,l=r.max,c=o._zoomArgs||{},d=a.type;return d===u.logarithmic&&(s=0>=s?void 0:s,l=0>=l?void 0:l),d!==u.discrete?(e=s,t=l,m(s)&&m(l)&&(e=l>s?s:l,t=l>s?l:s),n=m(c.min)?c.min:e,i=m(c.max)?c.max:t):(n=m(c.min)?c.min:s,i=m(c.max)?c.max:l),{min:e,max:t,stick:o._getStick(),categories:a.categories,dataType:a.dataType,axisType:d,base:a.logarithmBase,invert:a.inverted,addSpiderCategory:o._getSpiderCategoryOption(),minVisible:n,maxVisible:i}},getFullTicks:function(){return this._tickManager.getFullTicks()},_addBoundaryTick:I,getMarkerTrackers:I,measureLabels:I,_drawDateMarkers:I,coordsIn:I,_getSkippedCategory:I,_initAxisPositions:I,_drawTitle:I,_adjustConstantLineLabels:I,_adjustTitle:I,getSpiderTicks:I,setSpiderTicks:I}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){for(var i,o,r=0,s=t.end-t.start,l=0;l<e.length;l++)i=e[l].getLabel(),i.isVisible()?(o=i.getBoundingRect(),r+=n?o.width:o.height):e[l]=null;if(s>0)for(;r>s;)r-=a(e,n)}function a(e,t){var n,i,o,a={originalValue:1/0};return F(e,function(e,t){t&&a.originalValue>=t.originalValue&&(a=t,o=e)}),null!==o?(n=e[o].getLabel(),i=n.getBoundingRect(),n.hide(),e[o]=null,t?i.width:i.height):0}function r(e,t,n,i){var a,r={start:n?t.left:t.top,end:n?t.width-t.right:t.height-t.bottom};o(e,r,n),a=V(e,function(e){return e?new u(e,n,i):null}),a.sort(function(e,t){return e.getPointPosition()-t.getPointPosition()}),l(a)&&(a.reverse(),c(a,r))}function s(e,t){return e&&t?e.getBoundingRect().end>t.getBoundingRect().start:void 0}function l(e){var t,n,i,o,a;for(t=0;t<e.length;t++)for(i=e[t],n=t+1;n<e.length;n++)o=e[n],s(i,o)&&(i.toChain(o),a=!0,e[n]=null);return a}function c(e,t){var n,i,o,a,r,s;for(n=0;n<e.length;n++){if(o=e[n],d(o,t))for(r=o.getBoundingRect(),i=n+1;i<e.length;i++)if(a=e[i],a&&(s=a.getBoundingRect(),s.end>r.start-(r.end-t.end))){a.toChain(o),e[n]=o=null;break}o&&o.setRollingStockInCanvas(t)}}function d(e,t){return e&&e.getBoundingRect().end>t.end}function u(e,t,n){var i=e.getLabel(),o=i.getBoundingRect();return this.labels=[i],this.points=[e],this.shiftFunction=n,this._bbox={start:t?o.x:o.y,width:t?o.width:o.height,end:t?o.x+o.width:o.y+o.height},this._pointPositionInitialize=t?e.getBoundaryCoords().x:e.getBoundaryCoords().y,this}function h(e){return{nameField:e+"Name",colorField:e+"Color",indexField:e+"Index"}}function p(e){var t=h(e);return{getFormatObject:function(e){var n={};return n[t.indexField]=e.id,n[t.colorField]=e.states.normal.fill,n[t.nameField]=e.text,n},textField:t.nameField}}function f(e,t,n){F(e,function(e,i){F(n.getTemplateFields(),function(e,t){i[t.templateField]=i[t.originalField]}),t.push(i)}),n.updateTemplateFieldNames()}function _(e,t){return(e.x<=t.x&&t.x<=e.x+e.width||e.x>=t.x&&e.x<=t.x+t.width)&&(e.y<=t.y&&t.y<=e.y+e.height||e.y>=t.y&&e.y<=t.y+t.height)}function g(e){e.forward=function(e){return e},e.backward=R}var m=n(1),v=n(2),x=n(4),w=n(116),y=n(332),b=n(256),C=n(260),k=n(331),S=n(330),T=n(512),I=n(509),D="_reinit",E="_updateDataSource",A="_dataInit",B="_forceRender",M="_resize",O=[D,E,A,B,M],P=n(7),R=m.noop,V=P.map,F=m.each,L=m.extend,H=v.isArray,z=v.isDefined,N=P.setCanvasValues,W=.3,G=["adaptiveLayout","crosshair","equalBarWidth","minBubbleSize","maxBubbleSize","barWidth","negativesAsZeroes","negativesAsZeros","resolveLabelOverlapping","seriesSelectionMode","pointSelectionMode","adjustOnZoom","synchronizeMultiAxes","zoomingMode","scrollingMode","useAggregation"];
u.prototype={toChain:function(e){var t=e.getBoundingRect();e.shift(t.start-this._bbox.end),this._changeBoxWidth(t.width),this.labels=this.labels.concat(e.labels),this.points=this.points.concat(e.points)},getBoundingRect:function(){return this._bbox},shift:function(e){var t=this.shiftFunction;F(this.labels,function(n,i){var o=i.getBoundingRect(),a=t(o,e,i);i.shift(a.x,a.y)}),this._bbox.end-=e,this._bbox.start-=e},setRollingStockInCanvas:function(e){this._bbox.end>e.end&&this.shift(this._bbox.end-e.end)},getPointPosition:function(){return this._pointPositionInitialize},_changeBoxWidth:function(e){this._bbox.end+=e,this._bbox.width+=e}};var $={resolveLabelOverlappingInOneDirection:r},q=w.inherit({_eventsMap:{onSeriesClick:{name:"seriesClick"},onPointClick:{name:"pointClick"},onArgumentAxisClick:{name:"argumentAxisClick"},onLegendClick:{name:"legendClick"},onSeriesSelectionChanged:{name:"seriesSelectionChanged"},onPointSelectionChanged:{name:"pointSelectionChanged"},onSeriesHoverChanged:{name:"seriesHoverChanged"},onPointHoverChanged:{name:"pointHoverChanged"},onTooltipShown:{name:"tooltipShown"},onTooltipHidden:{name:"tooltipHidden"},onDone:{name:"done"}},_rootClassPrefix:"dxc",_rootClass:"dxc-chart",_init:function(){this._savedBusinessRange={},this.callBase.apply(this,arguments)},_initialChanges:["REINIT"],_themeDependentChanges:["REFRESH_SERIES_REINIT"],_createThemeManager:function(){var e=this.option(),t=new k.ThemeManager(e,this._chartType);return t.setTheme(e.theme,e.rtlEnabled),t},_initCore:function(){var e=this;g(e._layout),e._canvasClipRect=e._renderer.clipRect(),e._createHtmlStructure(),e._headerBlock=new I.HeaderBlock,e._createLegend(),e._createTracker(),e._needHandleRenderComplete=!0,e.layoutManager=new S.LayoutManager,e._createScrollBar(),e._$element.on("contextmenu",function(e){(x.isTouchEvent(e)||x.isPointerEvent(e))&&e.preventDefault()}).on("MSHoldVisual",function(e){e.preventDefault()})},_getLayoutItems:m.noop,_layoutManagerOptions:function(){return this._themeManager.getOptions("adaptiveLayout")},_reinit:function(){var e=this;N(e._canvas),e._reinitAxes(),e._skipRender=!0,e._updateDataSource(),e.series||e._dataSpecificInit(!1),e._skipRender=!1,e._correctAxes(),e._forceRender()},_correctAxes:R,_createHtmlStructure:function(){var e=this,t=e._renderer,n=t.root;e._backgroundRect=t.rect().attr({fill:"gray",opacity:1e-4}).append(n),e._panesBackgroundGroup=t.g().attr({"class":"dxc-background"}).append(n),e._stripsGroup=t.g().attr({"class":"dxc-strips-group"}).linkOn(n,"strips"),e._gridGroup=t.g().attr({"class":"dxc-grids-group"}).linkOn(n,"grids"),e._axesGroup=t.g().attr({"class":"dxc-axes-group"}).linkOn(n,"axes"),e._constantLinesGroup=t.g().attr({"class":"dxc-constant-lines-group"}).linkOn(n,"constant-lines"),e._labelAxesGroup=t.g().attr({"class":"dxc-strips-labels-group"}).linkOn(n,"strips-labels"),e._panesBorderGroup=t.g().attr({"class":"dxc-border"}).linkOn(n,"border"),e._seriesGroup=t.g().attr({"class":"dxc-series-group"}).linkOn(n,"series"),e._labelsGroup=t.g().attr({"class":"dxc-labels-group"}).linkOn(n,"labels"),e._crosshairCursorGroup=t.g().attr({"class":"dxc-crosshair-cursor"}).linkOn(n,"crosshair"),e._legendGroup=t.g().attr({"class":"dxc-legend",clipId:e._getCanvasClipRectID()}).linkOn(n,"legend"),e._scrollBarGroup=t.g().attr({"class":"dxc-scroll-bar"}).linkOn(n,"scroll-bar")},_disposeObjectsInArray:function(e,t){F(this[e]||[],function(e,n){t&&n?F(t,function(e,t){n[t]&&n[t].dispose()}):n&&n.dispose()}),this[e]=null},_disposeCore:function(){var e=this,t=function(t){e[t]&&(e[t].dispose(),e[t]=null)},n=function(t){e[t].linkOff()},i=this._disposeObjectsInArray;clearTimeout(e._delayedRedraw),e._renderer.stopAllAnimations(),e.businessRanges=e.translators=null,i.call(e,"series"),t("_headerBlock"),t("_tracker"),t("_crosshair"),e.layoutManager=null,e.paneAxis=null,e._userOptions=null,e._canvas=null,n("_stripsGroup"),n("_gridGroup"),n("_axesGroup"),n("_constantLinesGroup"),n("_labelAxesGroup"),n("_panesBorderGroup"),n("_seriesGroup"),n("_labelsGroup"),n("_crosshairCursorGroup"),n("_legendGroup"),n("_scrollBarGroup"),t("_canvasClipRect"),t("_panesBackgroundGroup"),t("_stripsGroup"),t("_gridGroup"),t("_axesGroup"),t("_constantLinesGroup"),t("_labelAxesGroup"),t("_panesBorderGroup"),t("_seriesGroup"),t("_labelsGroup"),t("_crosshairCursorGroup"),t("_legendGroup"),t("_scrollBarGroup")},_getAnimationOptions:function(){return this._themeManager.getOptions("animation")},_getDefaultSize:function(){return{width:400,height:400}},_getOption:function(e){return this._themeManager.getOptions(e)},_applySize:function(){this._processRefreshData(M)},_resize:function(){this._doRender(this.__renderOptions||{animate:!1,isResize:!0})},_trackerType:"ChartTracker",_createTracker:function(){var e=this;e._tracker=new T[e._trackerType]({seriesGroup:e._seriesGroup,renderer:e._renderer,tooltip:e._tooltip,legend:e._legend,eventTrigger:e._eventTrigger})},_getTrackerSettings:function(){return{seriesSelectionMode:this._themeManager.getOptions("seriesSelectionMode"),pointSelectionMode:this._themeManager.getOptions("pointSelectionMode")}},_updateTracker:function(e){var t=this;t._tracker.update(t._getTrackerSettings()),t._tracker.setCanvases({left:0,right:t._canvas.width,top:0,bottom:t._canvas.height},e)},_doRender:function(e){var t,n,i=this;i._skipRender||0===i._canvas.width&&0===i._canvas.height||(i._resetIsReady(),t=i._prepareDrawOptions(e),n=t.recreateCanvas,clearTimeout(i._delayedRedraw),i.__originalCanvas=i._canvas,i._canvas=m.extend({},i._canvas),n?i.__currentCanvas=i._canvas:i._canvas=i.__currentCanvas,n&&i._updateCanvasClipRect(i._canvas),i._renderer.stopAllAnimations(!0),N(i._canvas),i._cleanGroups(t),i._renderElements(t))},_saveBusinessRange:R,_renderElements:function(e){var t,n,i,o=this,a=o._prepareToRender(e),r=o._isRotated(),s=o._isLegendInside(),l=[],c=o._getLayoutTargets(),d=m.extend({},o._canvas),u=[],h=e.drawTitle&&e.drawLegend&&e.adjustAxes;h&&(u=o._getDrawElements(e,s)),o._renderer.lock(),o._saveBusinessRange(),o.layoutManager.setOptions(o._layoutManagerOptions()),o.layoutManager.layoutElements(u,o._canvas,o._getAxisDrawingMethods(e,a,r),c,r,o._getAxesForTransform(r)),h&&o._updateCanvasClipRect(d),o._applyClipRects(a),o._appendSeriesGroups(),o._createCrosshairCursor(),F(c,function(){var e=this.canvas;l.push({left:e.left,right:e.width-e.right,top:e.top,bottom:e.height-e.bottom})}),o._scrollBar&&(t=o.businessRanges[0].arg,"discrete"===t.axisType&&t.categories&&t.categories.length<=1?n=i=void 0:(n=t.minVisible,i=t.maxVisible),o._scrollBar.init(t,c[0].canvas).setPosition(n,i)),o._updateTracker(l),o._updateLegendPosition(e,s),o._renderSeries(e,r,s),o._renderer.unlock()},_createCrosshairCursor:R,_appendSeriesGroups:function(){this._seriesGroup.linkAppend(),this._labelsGroup.linkAppend(),this._appendAdditionalSeriesGroups()},_renderSeries:function(e,t,n){var i=this,o=i._themeManager,a=o.getOptions("resolveLabelOverlapping");e.hideLayoutLabels=i.layoutManager.needMoreSpaceForPanesCanvas(i._getLayoutTargets(),t)&&!o.getOptions("adaptiveLayout").keepLabels,i._drawSeries(e,t),"none"!==a&&i._resolveLabelOverlapping(a),i._adjustSeries(),i._renderTrackers(n),i._tracker.repairTooltip(),i._canvas=i.__originalCanvas,i._drawn(),i._renderCompleteHandler()},_drawSeries:function(e,t){var n,i,o=this,a=o.series,r=a.length;for(o._updateSeriesDimensions(e),n=0;r>n;n++)i=a[n],o._applyExtraSettings(i,e),i.draw(o._prepareTranslators(i,n,t),e.animate&&i.getPoints().length<=e.animationPointsLimit&&o._renderer.animationEnabled(),e.hideLayoutLabels,o._getLegendCallBack(i))},_resolveLabelOverlapping:function(e){var t;switch(e){case"stack":t=this._resolveLabelOverlappingStack;break;case"hide":t=this._resolveLabelOverlappingHide;break;case"shift":t=this._resolveLabelOverlappingShift}m.isFunction(t)&&t.call(this)},_getVisibleSeries:function(){return m.grep(this.getAllSeries(),function(e){return e.isVisible()})},_resolveLabelOverlappingHide:function(){var e,t,n,i,o,a,r,s=[],l=this._getVisibleSeries();for(o=0;o<l.length;o++)for(r=l[o].getVisiblePoints(),a=0;a<r.length;a++)s.push(r[a].getLabel());for(s=[].concat.apply([],s),o=0;o<s.length;o++)if(e=s[o],n=e.getBoundingRect(),e.isVisible())for(a=o+1;a<s.length;a++)t=s[a],i=t.getBoundingRect(),_(n,i)&&t.hide()},_cleanGroups:function(e){var t=this;t._stripsGroup.linkRemove().clear(),t._gridGroup.linkRemove().clear(),t._axesGroup.linkRemove().clear(),t._constantLinesGroup.linkRemove().clear(),t._labelAxesGroup.linkRemove().clear(),t._labelsGroup.linkRemove().clear(),t._crosshairCursorGroup.linkRemove().clear()},_createLegend:function(){var e=this,t=p(e._legendDataField);e._legend=new y.Legend({renderer:e._renderer,group:e._legendGroup,backgroundClass:"dxc-border",itemGroupClass:"dxc-item",textField:t.textField,getFormatObject:t.getFormatObject})},_updateLegend:function(){var e=this,t=e._themeManager,n=t.getOptions("legend"),i=e._getLegendData();n.containerBackgroundColor=t.getOptions("containerBackgroundColor"),n._incidentOccurred=e._incidentOccurred,e._legend.update(i,n)},_prepareDrawOptions:function(e){var t,n=this._getAnimationOptions();return t=m.extend({},{force:!1,adjustAxes:!0,drawLegend:!0,drawTitle:!0,animate:n.enabled,animationPointsLimit:n.maxPointCountSupported},e,this.__renderOptions),z(t.recreateCanvas)||(t.recreateCanvas=t.adjustAxes&&t.drawLegend&&t.drawTitle),t},_processRefreshData:function(e){var t=m.inArray(this._currentRefreshData,O),n=m.inArray(e,O);(!this._currentRefreshData||t>=0&&t>n)&&(this._currentRefreshData=e)},_getLegendData:function(){return V(this._getLegendTargets(),function(e){var t=e.legendData,n=e.getLegendStyles,i=n.normal.opacity;return e.visible||((!z(i)||i>W)&&(i=W),t.textOpacity=W),t.states={hover:n.hover,selection:n.selection,normal:L({},n.normal,{opacity:i})},t})},_getLegendOptions:function(e){return{legendData:{text:e[this._legendItemTextField],argument:e.argument,id:e.index},getLegendStyles:e.getLegendStyles(),visible:e.isVisible()}},_disposeSeries:function(){var e=this;F(e.series||[],function(e,t){t.dispose()}),e.series=null,F(e.seriesFamilies||[],function(e,t){t.dispose()}),e.seriesFamilies=null,e._needHandleRenderComplete=!0},_optionChanged:function(e){this._themeManager.resetOptions(e.name),this.callBase.apply(this,arguments)},_applyChanges:function(){var e=this;e._themeManager.update(e._options),e.callBase.apply(e,arguments),e._doRefresh()},_optionChangesMap:{animation:"ANIMATION",dataSource:"DATA_SOURCE",palette:"PALETTE",series:"REFRESH_SERIES_DATA_INIT",commonSeriesSettings:"REFRESH_SERIES_DATA_INIT",containerBackgroundColor:"REFRESH_SERIES_DATA_INIT",dataPrepareSettings:"REFRESH_SERIES_DATA_INIT",legend:"DATA_INIT",seriesTemplate:"DATA_INIT","export":"FORCE_RENDER",valueAxis:"AXES_AND_PANES",argumentAxis:"AXES_AND_PANES",commonAxisSettings:"AXES_AND_PANES",panes:"AXES_AND_PANES",defaultPane:"AXES_AND_PANES",rotated:"ROTATED",customizePoint:"REFRESH_SERIES_REINIT",customizeLabel:"REFRESH_SERIES_REINIT",scrollBar:"SCROLL_BAR"},_customChangesOrder:["ANIMATION","DATA_SOURCE","PALETTE","REFRESH_SERIES_DATA_INIT","DATA_INIT","FORCE_RENDER","AXES_AND_PANES","ROTATED","REFRESH_SERIES_REINIT","SCROLL_BAR","CHART_TOOLTIP","REINIT"],_change_ANIMATION:function(){this._renderer.updateAnimationOptions(this._getAnimationOptions())},_change_DATA_SOURCE:function(){this._needHandleRenderComplete=!0,this._processRefreshData(E)},_change_PALETTE:function(){this._themeManager.updatePalette(this.option("palette")),this._refreshSeries(A)},_change_REFRESH_SERIES_DATA_INIT:function(){this._refreshSeries(A)},_change_DATA_INIT:function(){this._processRefreshData(A)},_change_FORCE_RENDER:function(){this._processRefreshData(B)},_change_AXES_AND_PANES:function(){this._refreshSeries(D),this.paneAxis={}},_change_ROTATED:function(){this._createScrollBar(),this._refreshSeries(D)},_change_REFRESH_SERIES_REINIT:function(){this._refreshSeries(D)},_change_SCROLL_BAR:function(){this._createScrollBar(),this._processRefreshData(B)},_change_CHART_TOOLTIP:function(){this._organizeStackPoints()},_change_REINIT:function(){this._processRefreshData(D)},_refreshSeries:function(e){this._disposeSeries(),this._processRefreshData(e)},_doRefresh:function(){var e=this._currentRefreshData;e&&(this._currentRefreshData=null,this._renderer.stopAllAnimations(!0),this[e]())},_updateCanvasClipRect:function(e){var t,n,i=this;t=Math.max(e.width-e.left-e.right,0),n=Math.max(e.height-e.top-e.bottom,0),i._canvasClipRect.attr({x:e.left,y:e.top,width:t,height:n}),i._backgroundRect.attr({x:e.left,y:e.top,width:t,height:n})},_getCanvasClipRectID:function(){return this._canvasClipRect.id},_dataSourceChangedHandler:function(){this._resetZoom(),this._dataInit()},_dataInit:function(){clearTimeout(this._delayedRedraw),this._dataSpecificInit(!0)},_dataSpecificInit:function(e){var t=this;t.series=t.series||t._populateSeries(),t._repopulateSeries(),t._seriesPopulatedHandlerCore(),t._populateBusinessRange(),t._collectPointsByArg(),t._tracker.updateSeries(t._getStoredSeries()),t._updateLegend(),e&&t._forceRender()},_forceRender:function(){this._doRender({force:!0})},_repopulateSeries:function(){var e,t=this,n=t._themeManager,i=t._dataSource.items(),o=n.getOptions("dataPrepareSettings"),a=n.getOptions("seriesTemplate");a&&(t._templatedSeries=P.processSeriesTemplate(a,i),t._populateSeries(),delete t._templatedSeries,i=t.templateData||i),t._groupSeries(),e=b.validateData(i,t._groupsData,t._incidentOccurred,o),n.resetPalette(),F(t.series,function(n,i){i.updateData(e[i.getArgumentField()]),t._processSingleSeries(i)}),t._organizeStackPoints()},_organizeStackPoints:function(){var e=this,t=e._themeManager,n=t.getOptions("tooltip").shared,i={};F(e.series||[],function(t,o){e._resetStackPoints(o),n&&e._prepareStackPoints(o,i)})},_renderCompleteHandler:function(){var e=this,t=!0;e._needHandleRenderComplete&&(F(e.series,function(e,n){t=t&&n.canRenderCompleteHandle()}),t&&(e._needHandleRenderComplete=!1,e._eventTrigger("done",{target:e})))},_getDrawElements:function(e,t){var n=this,i=[],o=n._themeManager.getOptions("export"),a=n._title.getLayoutOptions()||{},r=[];return n._exportMenu&&o.enabled&&r.push(n._exportMenu),e.drawTitle&&("bottom"!==a.verticalAlignment&&r.length?r.push(n._title):i.push(n._title)),r.length&&(n._headerBlock.update(r,n._canvas),i.push(n._headerBlock)),e.drawLegend&&n._legend&&(n._legendGroup.linkAppend(),!t&&i.push(n._legend)),i},_resetZoom:R,_dataIsReady:function(){return z(this.option("dataSource"))&&this._dataSource.isLoaded()},_populateSeries:function(){var e,t,n,i,o,a=this,r=a._themeManager,s=!!r.getOptions("seriesTemplate"),l=s?a._templatedSeries:a.option("series"),c=H(l)?l:l?[l]:[],d=a._getExtraOptions(),u=function(){a._specialProcessSeries(),a._populateBusinessRange(),a._renderer.stopAllAnimations(!0),a._updateLegend(),a._doRender({force:!0})};for(a._disposeSeries(),a.series=[],a.templateData=[],r.resetPalette(),o=0;o<c.length;o++)e=L(!0,{},c[o],d),e.name||(e.name="Series "+(o+1).toString()),i=e.data,e.data=null,e.rotated=a._isRotated(),e.customizePoint=r.getOptions("customizePoint"),e.customizeLabel=r.getOptions("customizeLabel"),e.visibilityChanged=u,e.incidentOccurred=a._incidentOccurred,n=r.getOptions("series",e),a._checkPaneName(n)&&(t=new C.Series({renderer:a._renderer,seriesGroup:a._seriesGroup,labelsGroup:a._labelsGroup},n),t.isUpdated?(t.index=a.series.length,a._processSingleSeries(t),a.series.push(t),s&&f(i,a.templateData,t)):a._incidentOccurred("E2101",[n.type]));return a.series},getAllSeries:function(){return this.series.slice()},getSeriesByName:function(e){var t=null;return F(this.series,function(n,i){return i.name===e?(t=i,!1):void 0}),t},getSeriesByPos:function(e){return this.series[e]},clearSelection:function(){this._tracker.clearSelection()},hideTooltip:function(){this._tracker._hideTooltip()},render:function(e){var t=this;return t.__renderOptions=e,t.__forceRender=e&&e.force,t.callBase.apply(t,arguments),t.__renderOptions=t.__forceRender=null,t},getSize:function(){var e=this._canvas||{};return{width:e.width,height:e.height}}});F(G,function(e,t){q.prototype._optionChangesMap[t]="REINIT"}),t.overlapping=$,t.BaseChart=q,q.addPlugin(n(167).plugin),q.addPlugin(n(130).plugin),q.addPlugin(n(171).plugin),q.addPlugin(n(172).plugin),q.addPlugin(n(169).plugin);var j=q.prototype._change_TITLE;q.prototype._change_TITLE=function(){j.apply(this,arguments),this._change(["FORCE_RENDER"])};var U=q.prototype._change_TOOLTIP;q.prototype._change_TOOLTIP=function(){U.apply(this,arguments),this._change(["CHART_TOOLTIP"])}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){i>=0&&J(e.slice(i),function(e,i){j(i[n])&&(t[n]+=i[n],i[n]=i["original"+n]=void 0)})}function a(e,t){t.valueType=t.valueAxisType=null,J(t.series,l),t.valueAxis&&t.valueAxis.resetTypes(W)}function r(e,t){var n=[];return J(e,function(e,i){var o=t(i);void 0!==o&&n.push(o)}),n}function s(e,t){var n=e.argumentOptions&&e.argumentOptions.categories,i=t[1];J(e.groups,function(e,t){var n=t.valueOptions&&t.valueOptions.categories;n&&(t.valueOptions.categories=r(n,i))}),n&&(e.argumentOptions.categories=r(n,t[0]))}function l(e,t){t.updateDataType({})}function c(e,t){t.resetTypes(G)}function d(e,t,n){return 0>=e&&(n("E2004",[t]),e=null),e}function u(e){return e}function h(e,t){var n=t;return t===R||Y(e)?n=R:t===F||X(e)?n=F:Q(e)&&(n=V),n}function p(e,t,n,i){return e!==R||t!==z&&t!==N&&t!==H||i("E2002"),t===N?N:n||t===L||e===R?L:t===H?H:z}function f(e,t,n){e&&n(Q(e)||X(e)||Y(e)?"E2004":"E2003",[t])}function _(e,t,n,i,o){var a=e?q(e):u,r=t===N?d:u;return function(e,t){var s=r(a(e),t,o);return null===s&&n&&(s=void 0),void 0===s&&(i[t]=(i[t]||0)+1,f(e,t,o)),s}}function g(e,t,n){var i,o,a,r=_(e.argumentType,e.argumentAxisType,!1,t,n),l=[r],c={},d=[];return J(e.groups,function(e,s){J(s.series,function(e,d){a=d.getOptions().ignoreEmptyPoints,o=_(s.valueType,s.valueAxisType,a,t,n),i=_(V,z,a,t,n),c[d.getArgumentField()]=r,J(d.getValueFields(),function(e,t){!l[1]&&(l[1]=o),c[t]=o}),d.getSizeField()&&(c[d.getSizeField()]=i),d.getTagField()&&(c[d.getTagField()]=u)})}),J(c,function(e,t){d.push([e,t])}),d.length&&s(e,l),d}function m(e,t){var n,i,o,a=t.length,r={};for(n=0;a>n;++n)i=t[n][0],o=e[i],r[i]=t[n][1](o,i),r["original"+i]=o;return r}function v(e,t){var n,i=[],o=e.length;for(i.length=o,n=0;o>n;++n)i[n]=m(e[n],t);return i}function x(e,t,n){var i,o,a=e.length;for(i=0;a>i&&(o=e[i][t],!(j(o)&&n>o));++i);return i}function w(e,t,n,i){i=i||{};var a,r=i.mode,s={};r&&"none"!==r&&(s[t]=String(i.groupName||"others"),s[n]=0,a=e.slice(),a.sort(function(e,t){var i=j(e[n])?1:0,o=j(t[n])?1:0;return i&&o?t[n]-e[n]:o-i}),o(a,s,n,"smallValueThreshold"===r?x(a,n,i.threshold):i.topCount),s[n]&&e.push(s))}function y(e,t){var n=t.groups[0]&&t.groups[0].series[0],i=n&&("pie"===n.type||"doughnut"===n.type||"donut"===n.type);i&&J(t.groups,function(t,n){J(n.series,function(t,n){w(e,n.getArgumentField(),n.getValueFields()[0],n.getOptions().smallValuesGrouping)})})}function b(e,t,n){n[e]||(t.push(e),n[e]=!0)}function C(e){var t=[],n={};return J(e.groups,function(e,i){J(i.series,function(e,i){b(i.getArgumentField(),t,n)})}),t}function k(e,t,n,i){var o=t.categories=O.extend([],n),a={};o.length&&J(o,function(e,t){a[t]=!0}),J(i,function(t,n){J(e,function(e,t){j(t[n])&&b(t[n],o,a)})})}function S(e){return function(t,n){var i=t[e]-n[e];return isNaN(i)?t[e]?n[e]?0:-1:1:i}}function T(e,t,n,i){var o,a={},r={},s=function(e,t){return e?function(e){return function(n,i){return t[n[e]]-t[i[e]]}}:S};return U(n)?e.sort(n):t.categories?(J(t.categories,function(e,t){a[t]=e}),o=s(!0,a)):n===!0&&t.argumentType!==R&&(o=s(!1,a)),J(i,function(t,n){var i,a;o?(i=o(n),a=e.slice().sort(i)):a=e,r[n]=a}),r}function I(e,t){return J(e.series,function(n,i){J(i.getValueFields(),function(n,i){e.valueType=h(t[i],e.valueType)})}),e.valueType}function D(e,t,n){return J(e,function(e,i){n.argumentType=h(t[i.getArgumentField()],n.argumentType)}),n.argumentType}function E(e,t,n){var i=[],o=[],a=t.argumentOptions&&$(t.argumentOptions.argumentType);J(t.groups,function(e,n){if(!n.series.length)return null;var r=n.valueOptions&&$(n.valueOptions.valueType);n.valueType=r,t.argumentType=a,!r&&i.push(n),!a&&o.push(n)}),(i.length||o.length)&&J(e,function(e,a){var r,s;return J(i,function(e,t){r=I(t,a)}),J(o,function(e,n){s=D(n.series,a,t)}),!n&&r&&s?!1:void 0})}function A(e,t,n){var i=e.argumentOptions||{},o=p(e.argumentType,i.type,!!t.length,n);J(e.groups,function(t,i){var a=i.valueOptions||{},r=a.categories||[],s=p(i.valueType,a.type,!!r.length,n);J(i.series,function(t,n){var r={};r.argumentAxisType=o,r.valueAxisType=s,e.argumentAxisType=e.argumentAxisType||r.argumentAxisType,i.valueAxisType=i.valueAxisType||r.valueAxisType,r.argumentType=e.argumentType,r.valueType=i.valueType,r.showZero=a.showZero,n.updateDataType(r)}),i.valueAxisType=i.valueAxisType||s,i.valueAxis&&(i.valueAxis.setTypes(i.valueAxisType,i.valueType,W),i.valueAxis.validate(!1))}),e.argumentAxisType=e.argumentAxisType||o,e.argumentAxes&&J(e.argumentAxes,function(t,n){n.setTypes(e.argumentAxisType,e.argumentType,G),n.validate(!0)})}function B(e,t){var n,i,o,a,r=[],s=!K(e);if(!s)for(n=0,i=e.length,o=0;i>n;++n)a=e[n],Z(a)?r[o++]=a:a&&(s=!0);return s&&t("E2001"),r}function M(e,t,n,i){var o,r,s,l,d={},u=t.argumentOptions,h=u&&u.categories||[],p=C(t);return e=B(e,n),t.argumentType=t.argumentAxisType=null,J(t.groups,a),t.argumentAxes&&J(t.argumentAxes,c),E(e,t,i.checkTypeForAllData),A(t,h,n),i.convertToAxisDataType&&(o=g(t,d,n),e=v(e,o)),y(e,t),s=u&&u.categories||[],t.argumentAxisType===L&&k(e,t,s,p),l=T(e,t,i.sortingMethod,p),r=e.length,J(d,function(e,t){t===r&&n("W2002",[e])}),l}var O=n(1),P=n(2),R="string",V="numeric",F="datetime",L="discrete",H="semidiscrete",z="continuous",N="logarithmic",W="valueType",G="argumentType",$=n(7).enumParser([R,V,F]),q=n(257).getParser,j=P.isDefined,U=P.isFunction,K=P.isArray,Y=P.isString,X=P.isDate,Q=P.isNumber,Z=P.isObject,J=O.each;t.validateData=M}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return"numeric"===e||"datetime"===e||"string"===e?e:""}var a=n(1),r=n(2),s=r.isDefined,l={string:function(e){return s(e)?""+e:e},numeric:function(e){if(!s(e))return e;var t=Number(e);return isNaN(t)&&(t=void 0),t},datetime:function(e){if(!s(e))return e;var t,n=Number(e);return t=isNaN(n)?new Date(e):new Date(n),isNaN(Number(t))&&(t=void 0),t}};i.exports={correctValueType:o,getParser:function(e){return l[o(e)]||a.noop}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){0===Le&&ae.body.appendChild(Fe),++Le,e.append({element:Fe})}function a(e,t){e.append({element:t}),--Le,0===Le&&ae.body.removeChild(Fe)}function r(e){return e&&"string"!=typeof e}function s(e){return ae.createElementNS("http://www.w3.org/2000/svg",e)}function l(e,t){return null!==e?"url("+(t?window.location.href:"")+"#"+e+")":""}function c(e,t){var n;for(n in t)e[n]=t[n];return e}function d(e,t){return e=e.toString().split("e"),e=ue(+(e[0]+"e"+(e[1]?+e[1]+t:t))),e=e.toString().split("e"),+(e[0]+"e"+(e[1]?+e[1]-t:-t))}function u(e,t){var n=[["M",0,0]];switch(t){case"line":n=h(e);break;case"area":n=h(e,!0);break;case"bezier":n=p(e);break;case"bezierarea":n=p(e,!0)}return n}function h(e,t){return f(e,_,t)}function p(e,t){return f(e,g,t)}function f(e,t,n){var i,o,a=[];if(e[0]&&e[0].length)for(i=0,o=e.length;o>i;++i)t(e[i],n,a);else t(e,n,a);return a}function _(e,t,n){var i=0,o=n.length,a=o,r=(e||[]).length;if(r){if(void 0!==e[0].x)for(;r>i;)n[a++]=["L",e[i].x,e[i++].y];else for(;r>i;)n[a++]=["L",e[i++],e[i++]];n[o][0]="M"}else n[a]=["M",0,0];return t&&n.push(["Z"]),n}function g(e,t,n){var i,o=n.length,a=(e||[]).length;if(a)if(void 0!==e[0].x)for(n[o++]=["M",e[0].x,e[0].y],i=1;a>i;)n[o++]=["C",e[i].x,e[i++].y,e[i].x,e[i++].y,e[i].x,e[i++].y];else for(n[o++]=["M",e[0],e[1]],i=2;a>i;)n[o++]=["C",e[i++],e[i++],e[i++],e[i++],e[i++],e[i++]];else n[o]=["M",0,0];return t&&n.push(["Z"]),n}function m(e){var t,n,i,o,a=[],r=0,s=e.length;for(t=0;s>t;++t)for(n=e[t],i=0,o=n.length;o>i;++i)a[r++]=n[i];return a.join(" ")}function v(e,t,n){var i,o,a=e.length,r=t.length,s=-1!==n.indexOf("area")?y:w;if(0===a)for(i=0;r>i;i++)e.push(t[i].slice(0));else r>a?s(e,t,n):a>r&&(o=t.slice(0),s(t,e,n));return o}function x(e,t){var n=e[e.length-2],i=e[e.length-1];switch(t){case"line":case"area":e[0]="L";break;case"bezier":case"bezierarea":e[0]="C",e[1]=e[3]=e[5]=n,e[2]=e[4]=e[6]=i}}function w(e,t,n){var i=e[e.length-1].slice(),o=e.length;for(x(i,n);o<t.length;o++)e[o]=i.slice(0)}function y(e,t,n){var i,o,a,r,s=e.length,l=t.length;if((s-1)%2===0&&(l-1)%2===0){i=(s-1)/2-1,o=e.slice(0,i+1),a=o[o.length-1].slice(0),r=e.slice(i+1)[0].slice(0),x(a,n),x(r,n);for(var c=i;(l-1)/2-1>c;c++)e.splice(c+1,0,a),e.splice(c+3,0,r)}}function b(e,t){var n,i,o=e._styles,a="";t=t||{};for(n in t)i=t[n],ge(i)&&("number"!=typeof i||Se[n]||(i+="px"),o[n]=""!==i?i:null);for(n in o)i=o[n],i&&(a+=n+":"+i+";");return a&&e.element.setAttribute("style",a),e}function C(e,t,n){t=t||{};var i,o,a,s,d,u,h=e._settings,p={},f=e.element,_=e.renderer,g=_.rtl;if(!r(t))return t in h?h[t]:t in Ve?Ve[t]:0;c(p,t);for(i in p)if(o=p[i],void 0!==o){if(h[i]=o,"align"===i)i="text-anchor",o={left:g?"end":"start",center:"middle",right:g?"start":"end"}[o]||"";else{if("dashStyle"===i){s=!0;continue}if(i===De)s=!0;else if("clipId"===i)i="clip-path",o=l(o,_.pathModified);else{if(/^(translate(X|Y)|rotate[XY]?|scale(X|Y)|sharp)$/i.test(i)){a=!0;continue}/^(x|y|d)$/i.test(i)&&(a=!0)}}null===o?f.removeAttribute(i):f.setAttribute(i,o)}if(s&&"dashStyle"in h)if(o=h.dashStyle,d=("_originalSW"in e?e._originalSW:h[De])||1,i="stroke-dasharray",o=null===o?"":ve(o),""===o||"solid"===o||o===Pe)e.element.removeAttribute(i);else{for(o=o.replace(/longdash/g,"8,3,").replace(/dash/g,"4,3,").replace(/dot/g,"1,3,").replace(/,$/,"").split(","),u=o.length;u--;)o[u]=be(o[u])*d;e.element.setAttribute(i,o.join(","))}return a&&e._applyTransformation(),e}function k(e){return function(t,n){var i,o=this;return r(t)&&(t=c({},t),i=t.segments,"points"in t&&(i=u(t.points,o.type),delete t.points),i&&(t.d=m(i),o.segments=i,delete t.segments)),e(o,t,n)}}function S(e,n){return function(i,o){var a,s,l,d,u,h,p=this._settings;return r(i)&&(i=c({},i),("x"in i||"y"in i||"innerRadius"in i||"outerRadius"in i||"startAngle"in i||"endAngle"in i)&&(p.x=a="x"in i?i.x:p.x,delete i.x,p.y=s="y"in i?i.y:p.y,delete i.y,p.innerRadius=l="innerRadius"in i?i.innerRadius:p.innerRadius,delete i.innerRadius,p.outerRadius=d="outerRadius"in i?i.outerRadius:p.outerRadius,delete i.outerRadius,p.startAngle=u="startAngle"in i?i.startAngle:p.startAngle,delete i.startAngle,p.endAngle=h="endAngle"in i?i.endAngle:p.endAngle,delete i.endAngle,i.d=n.apply(null,t._normalizeArcParams(a,s,l,d,u,h)))),e(this,i,o)}}function T(e){return function(t,n){var i,o,a,s,l,d,u,h=this;return r(t)&&(t=c({},t),n||void 0===t.x&&void 0===t.y&&void 0===t.width&&void 0===t.height&&void 0===t[De]||(i=void 0!==t.x?h._originalX=t.x:h._originalX||0,o=void 0!==t.y?h._originalY=t.y:h._originalY||0,a=void 0!==t.width?h._originalWidth=t.width:h._originalWidth||0,s=void 0!==t.height?h._originalHeight=t.height:h._originalHeight||0,l=void 0!==t[De]?h._originalSW=t[De]:h._originalSW,d=~~((s>a?a:s)/2),u=d>(l||0)?l||0:d,t.x=i+u/2,t.y=o+u/2,t.width=a-u,t.height=s-u,((l||0)!==u||!(0===u&&void 0===l))&&(t[De]=u)),"sharp"in t&&delete t.sharp),e(h,t,n)}}function I(e){var t,n,i,o,a=this;return r(e)?(e=c({},e),t=a._settings,i=ge(t[Ie])&&ge(t[De]),void 0!==e[Te]&&(t[Te]=e[Te],delete e[Te],n=!0),void 0!==e[Ie]&&(t[Ie]=e[Ie],delete e[Ie]),void 0!==e[De]&&(t[De]=e[De],delete e[De]),void 0!==e[Ee]&&(t[Ee]=e[Ee],delete e[Ee]),o=ge(t[Ie])&&ge(t[De]),C(a,e),n=n||o!==i&&t[Te],n&&H(a,t.text,o),(n||void 0!==e.x||void 0!==e.y)&&N(a),o&&W(a),a):C(a,e)}function D(e){return e=e||{},b(this,e),Ae in e&&N(this),this}function E(e,t,n,i,o){var a,r,s,l,d;if(void 0!==n.wholeText)e.push({value:n.wholeText,style:i,className:o,line:t,height:i[Ae]||0});else if("BR"===n.tagName)++t;else{switch(c(a={},i),n.tagName){case"B":case"STRONG":a[Me]="bold";break;case"I":case"EM":a[Be]="italic";break;case"U":a[Oe]="underline"}for(r=n.style,r.color&&(a.fill=r.color),r.fontSize&&(a[Ae]=be(r.fontSize,10)),r.fontStyle&&(a[Be]=r.fontStyle),r.fontWeight&&(a[Me]=r.fontWeight),r.textDecoration&&(a[Oe]=r.textDecoration),s=0,d=n.childNodes,l=d.length;l>s;++s)t=E(e,t,d[s],a,n.className||o)}return t}function A(e){var t,n,i,o=e[0];for(t=1,n=e.length;n>t;++t)i=e[t],i.line===o.line?(o.height=ce(o.height,i.height),o.inherits=o.inherits||0===i.height,i.height=NaN):o=i}function B(e){var t=/(<\S+)(\s+(?!(style))\S+\s*=\s*['"][^'"]*['"])*/gi,n=/<([a-z]*)(?:[^>]*?((?:\s(?:style)=\s*(["'])(?:(?!\3).)*\3)))[^>]*?(\/?)>/gi;return e.replace(t,"$1").replace(n,"<$1$2$4>")}function M(e){var t=[],n=ae.createElement("div");return n.innerHTML=e.replace(/\r/g,"").replace(/\n/g,"<br/>"),E(t,0,n,{},""),A(t),t}function O(e){for(var t=e.replace(/\r/g,"").split("\n"),n=0,i=[];n<t.length;n++)i.push({value:t[n],height:0});return i}function P(e,t,n){var i,o,a;for(i=0,o=e.length;o>i;++i)a=e[i],a[n]=s("tspan"),a[n].appendChild(ae.createTextNode(a.value)),a.style&&b({element:a[n],_styles:{}},a.style),a.className&&a[n].setAttribute("class",a.className),t.appendChild(a[n])}function R(e,t,n){return function(i){var o,a,r,s,l,c,d,u,h=this.element,p=this.getBBox().width,f=0,_=!1;if(0>i&&(i=0),p>i){for(o=e(h,this._texts),r=0,s=o.length;s>r;++r)f=ce(f,o[r].commonLength);if(1===f)return!1;for(a=de(f*i/p),r=0;s>r;++r)for(l=o[r].parts,c=0,d=l.length;d>c;++c)u=l[c],u.startIndex<=a&&u.endIndex>a?(t(u,a-u.startIndex-4),_=!0):u.startIndex>a&&n(u)}return _}}function V(e,t){var n,i,o,a=[];if(t)for(n=0,i=t.length;i>n;++n)o=t[n],a[o.line]?(o.startIndex=a[o.line].commonLength+1,o.endIndex=a[o.line].commonLength+o.value.length,a[o.line].parts.push(o),a[o.line].commonLength+=o.value.length):(o.startIndex=0,o.endIndex=o.value.length,a.push({commonLength:o.value.length,parts:[o]}));else a=[{commonLength:e.textContent.length,parts:[{value:e.textContent,tspan:e,startIndex:0,endIndex:e.textContent.length}]}];return a}function F(e,t){var n=e.value.substr(0,t)+"...";e.tspan.textContent=n,e.stroke&&(e.stroke.textContent=n)}function L(e){e.tspan.parentNode.removeChild(e.tspan),e.stroke&&e.stroke.parentNode.removeChild(e.stroke)}function H(e,t,n){var i,o;e._texts=null,e.clear(),null!==t&&(t=""+t,e.renderer.encodeHtml||-1===t.indexOf("<")&&-1===t.indexOf("&")?-1!==t.indexOf("\n")?i=O(t):n&&(i=[{value:t,height:0}]):(o=B(t),i=M(o)),i?i.length&&(e._texts=i,n&&P(i,e.element,Ie),P(i,e.element,"tspan")):e.element.appendChild(ae.createTextNode(t)))}function z(e,t,n){e.tspan.setAttribute(t,n),e.stroke&&e.stroke.setAttribute(t,n)}function N(e){if(e._texts){var t,n,i=e._texts,o=e._settings.x,a=be(e._styles[Ae],10)||12,r=i[0];for(z(r,"x",o),z(r,"y",e._settings.y),t=1,n=i.length;n>t;++t)r=i[t],r.height>=0&&(z(r,"x",o),z(r,"dy",r.inherits?ce(r.height,a):r.height||a))}}function W(e){if(e._texts){var t,n,i,o=e._texts,a=e._settings[Ie],r=e._settings[De],s=e._settings[Ee]||1;for(n=0,i=o.length;i>n;++n)t=o[n].stroke,t.setAttribute(Ie,a),t.setAttribute(De,r),t.setAttribute(Ee,s),t.setAttribute("stroke-linejoin","round")}}function G(e,t,n,i){n=n||{};var o,a,r=e.renderer,s=e._settings,l={},d={translateX:0,translateY:0,scaleX:1,scaleY:1,rotate:0,rotateX:0,rotateY:0};if(i&&(n.complete=i),r.animationEnabled()){for(o in t)a=t[o],/^(translate(X|Y)|rotate[XY]?|scale(X|Y))$/i.test(o)?(l.transform=l.transform||{from:{},to:{}},l.transform.from[o]=o in s?Number(s[o].toFixed(3)):d[o],l.transform.to[o]=a):"arc"===o||"segments"===o?l[o]=a:l[o]={from:o in s?s[o]:parseFloat(e.element.getAttribute(o)||0),to:a};r.animateElement(e,l,c(c({},r._animation),n))}else n.step&&n.step.call(e,1,1),n.complete&&n.complete.call(e),e.attr(t);return e}function $(e,t,n){var i,o,a=this,r=a.segments||[];return a.renderer.animationEnabled()&&"points"in e&&(i=u(e.points,a.type),o=v(r,i,a.type),e.segments={
from:r,to:i,end:o},delete e.points),G(a,e,t,n)}function q(e,t,n){var i=this,o=i._settings,a={from:{},to:{}};return i.renderer.animationEnabled()&&("x"in e||"y"in e||"innerRadius"in e||"outerRadius"in e||"startAngle"in e||"endAngle"in e)&&(a.from.x=o.x||0,a.from.y=o.y||0,a.from.innerRadius=o.innerRadius||0,a.from.outerRadius=o.outerRadius||0,a.from.startAngle=o.startAngle||0,a.from.endAngle=o.endAngle||0,a.to.x="x"in e?e.x:o.x,delete e.x,a.to.y="y"in e?e.y:o.y,delete e.y,a.to.innerRadius="innerRadius"in e?e.innerRadius:o.innerRadius,delete e.innerRadius,a.to.outerRadius="outerRadius"in e?e.outerRadius:o.outerRadius,delete e.outerRadius,a.to.startAngle="startAngle"in e?e.startAngle:o.startAngle,delete e.startAngle,a.to.endAngle="endAngle"in e?e.endAngle:o.endAngle,delete e.endAngle,e.arc=a),G(i,e,t,n)}function j(e,t){var n={is:!1,name:t.name||t,after:t.after};return e?n.to=e:n.virtual=!0,n}function U(e,t,n){var i=this;i.renderer=e,i.element=s(t),i._settings={},i._styles={},"path"===t&&(i.type=n||"line")}function K(e,t){U.call(this,e,"path",t)}function Y(e){U.call(this,e,"path","arc")}function X(e){U.call(this,e,"rect")}function Q(e){U.call(this,e,"text")}function Z(e,t){var n,i;for(n=t;i=e[n];++n)i._link.i=n}function J(e,t){var n,i,o=t._links,a=e._link.after=e._link.after||t._linkAfter;if(a){for(n=0;(i=o[n])&&i._link.name!==a;++n);if(i)for(++n;(i=o[n])&&i._link.after===a;++n);}else n=o.length;o.splice(n,0,e),Z(o,n)}function ee(e){var t,n=e._link.to._links;for(t=0;n[t]!==e;++t);n.splice(t,1),Z(n,t)}function te(e){var t=this;t.root=t._createElement(t._rootTag,t._rootAttr).attr({"class":e.cssClass}).css(t._rootCss),t._init(),t.pathModified=!!e.pathModified,t._$container=ie(e.container),t.root.append({element:e.container}),t._locker=0,t._backed=!1}function ne(e,t){return"@"+e+"::"+t.step+":"+t.width+":"+t.opacity+":"+t.direction}var ie=n(1),oe=n(2),ae=document,re=n(520),se=Math,le=se.min,ce=se.max,de=se.floor,ue=se.round,he=se.sin,pe=se.cos,fe=se.abs,_e=se.PI,ge=oe.isDefined,me=n(7),ve=me.normalizeEnum,xe=me.normalizeBBox,we=me.rotateBBox,ye=_e/180,be=parseInt,Ce=.5,ke=5,Se={"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,widows:!0,"z-index":!0,zoom:!0},Te="text",Ie="stroke",De="stroke-width",Ee="stroke-opacity",Ae="font-size",Be="font-style",Me="font-weight",Oe="text-decoration",Pe="none",Re=function(){return Object.create?function(e){return Object.create(e)}:function(e){var t=function(){};return t.prototype=e,new t}}(),Ve={scaleX:1,scaleY:1},Fe=ae.createElement("div"),Le=0;Fe.style.left="-9999px",Fe.style.position="absolute";var He=function(){var e=1;return function(){return"DevExpress_"+e++}}(),ze={full:Pe,lefttop:"xMinYMin",leftcenter:"xMinYMid",leftbottom:"xMinYMax",centertop:"xMidYMin",center:"xMidYMid",centerbottom:"xMidYMax",righttop:"xMaxYMin",rightcenter:"xMaxYMid",rightbottom:"xMaxYMax"};t._normalizeArcParams=function(e,t,n,i,o,a){var r,s=!0,l=d(a,3)-d(o,3);return l&&(fe(l)%360===0&&(o=0,a=360,r=!0,a-=.01),o>360&&(o%=360),a>360&&(a%=360),o>a&&(o-=360),s=!1),o*=ye,a*=ye,[e,t,le(i,n),ce(i,n),pe(o),he(o),pe(a),he(a),r,de(fe(a-o)/_e)%2?"1":"0",s]};var Ne=R(V,F,L),We=function(e,t,n,i,o,a,r,s,l,c){return["M",(e+i*o).toFixed(ke),(t-i*a).toFixed(ke),"A",i.toFixed(ke),i.toFixed(ke),0,c,0,(e+i*r).toFixed(ke),(t-i*s).toFixed(ke),l?"M":"L",(e+n*r).toFixed(5),(t-n*s).toFixed(ke),"A",n.toFixed(ke),n.toFixed(ke),0,c,1,(e+n*o).toFixed(ke),(t-n*a).toFixed(ke),"Z"].join(" ")},Ge=k(C),$e=S(C,We),qe=T(C);t.SvgElement=U,U.prototype={constructor:U,_getJQElement:function(){return this._$element||(this._$element=ie(this.element))},dispose:function(){return this._getJQElement().remove(),this},append:function(e){return(e||this.renderer.root).element.appendChild(this.element),this},remove:function(){var e=this.element;return e.parentNode&&e.parentNode.removeChild(e),this},enableLinks:function(){return this._links=[],this},virtualLink:function(e){return J({_link:j(null,e)},this),this},linkAfter:function(e){return this._linkAfter=e,this},linkOn:function(e,t){return this._link=j(e,t),J(this,e),this},linkOff:function(){return ee(this),this._link=null,this},linkAppend:function(){var e,t,n=this._link,i=n.to._links;for(e=n.i+1;(t=i[e])&&!t._link.is;++e);return this._insert(n.to,t),n.is=!0,this},_insert:function(e,t){e.element.insertBefore(this.element,t?t.element:null)},linkRemove:function(){return this.remove(),this._link.is=!1,this},clear:function(){return this._getJQElement().empty(),this},toBackground:function(){var e=this.element,t=e.parentNode;return t&&t.insertBefore(e,t.firstChild),this},toForeground:function(){var e=this.element,t=e.parentNode;return t&&t.appendChild(e),this},attr:function(e,t){return C(this,e,t)},smartAttr:function(e){var t=this;return e.hatching?(e.fill=t._hatching=t.renderer.lockHatching(e.fill,e.hatching,t._hatching),e.hatching=null):t._hatching&&(t.renderer.releaseHatching(t._hatching),t._hatching=null),C(t,e)},css:function(e){return b(this,e)},animate:function(e,t,n){return G(this,e,t,n)},sharp:function(e){return this.attr({sharp:e||!0})},_applyTransformation:function(){var e,t,n,i,o=this._settings,a=[],r=o.sharp,s=o[De]%2,l=!s||"h"!==r&&r!==!0?0:Ce,c=!s||"v"!==r&&r!==!0?0:Ce;a.push("translate("+((o.translateX||0)+l)+","+((o.translateY||0)+c)+")"),o.rotate&&(n="rotateX"in o?o.rotateX:o.x,i="rotateY"in o?o.rotateY:o.y,a.push("rotate("+o.rotate+","+(n||0)+","+(i||0)+")")),e=ge(o.scaleX),t=ge(o.scaleY),(e||t)&&a.push("scale("+(e?o.scaleX:1)+","+(t?o.scaleY:1)+")"),a.length&&this.element.setAttribute("transform",a.join(" "))},move:function(e,t,n,i){var o={};return ge(e)&&(o.translateX=e),ge(t)&&(o.translateY=t),n?this.animate(o,i):this.attr(o),this},rotate:function(e,t,n,i,o){var a={rotate:e||0};return ge(t)&&(a.rotateX=t),ge(n)&&(a.rotateY=n),i?this.animate(a,o):this.attr(a),this},getBBox:function(){var e,t=this.element,n=this._settings;try{e=t.getBBox&&t.getBBox()}catch(e){}return e=e||{x:0,y:0,width:t.offsetWidth||0,height:t.offsetHeight||0},e=n.rotate?we(e,[("rotateX"in n?n.rotateX:n.x)||0,("rotateY"in n?n.rotateY:n.y)||0],-n.rotate):xe(e)},markup:function(){var e=ae.createElement("div"),t=this.element.cloneNode(!0);return e.appendChild(t),e.innerHTML},getOffset:function(){return this._getJQElement().offset()},stopAnimation:function(e){var t=this.animation;return t&&t.stop(e),this},setTitle:function(e){var t=s("title");t.textContent=e||"",this.element.appendChild(t)},data:function(e,t){var n,i=this.element;if(void 0!==t)i[e]=t;else for(n in e)i[n]=e[n];return this},on:function(){return ie.fn.on.apply(this._getJQElement(),arguments),this},off:function(){return ie.fn.off.apply(this._getJQElement(),arguments),this},trigger:function(){return ie.fn.trigger.apply(this._getJQElement(),arguments),this}},t.PathSvgElement=K,K.prototype=Re(U.prototype),c(K.prototype,{constructor:K,attr:Ge,animate:$}),t.ArcSvgElement=Y,Y.prototype=Re(U.prototype),c(Y.prototype,{constructor:Y,attr:$e,animate:q}),t.RectSvgElement=X,X.prototype=Re(U.prototype),c(X.prototype,{constructor:X,attr:qe}),t.TextSvgElement=Q,Q.prototype=Re(U.prototype),c(Q.prototype,{constructor:Q,attr:I,css:D,applyEllipsis:Ne}),t.SvgRenderer=te,te.prototype={constructor:te,_rootTag:"svg",_rootAttr:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",fill:Pe,stroke:Pe,"stroke-width":0},_rootCss:{"line-height":"normal","-ms-user-select":Pe,"-moz-user-select":Pe,"-webkit-user-select":Pe,"-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)",display:"block",overflow:"hidden"},_init:function(){var e=this;e._defs=e._createElement("defs").append(e.root),e._animationController=new re.AnimationController(e.root.element),e._animation={enabled:!0,duration:1e3,easing:"easeOutCubic"}},setOptions:function(e){var t=this;return t.rtl=!!e.rtl,t.encodeHtml=!!e.encodeHtml,t.updateAnimationOptions(e.animation||{}),t.root.attr({direction:t.rtl?"rtl":"ltr"}),t},_createElement:function(e,n,i){var o=new t.SvgElement(this,e,i);return n&&o.attr(n),o},lock:function(){var e=this;return 0===e._locker&&(e._backed=!e._$container.is(":visible"),e._backed&&o(e.root)),++e._locker,e},unlock:function(){var e=this;return--e._locker,0===e._locker&&(e._backed&&a(e.root,e._$container[0]),e._backed=!1),e},resize:function(e,t){return e>=0&&t>=0&&this.root.attr({width:e,height:t}),this},dispose:function(){var e,t=this;t.root.dispose(),t._defs.dispose(),t._animationController.dispose();for(e in t)t[e]=null;return t},animationEnabled:function(){return!!this._animation.enabled},updateAnimationOptions:function(e){return c(this._animation,e),this},stopAllAnimations:function(e){return this._animationController[e?"lock":"stop"](),this},animateElement:function(e,t,n){return this._animationController.animateElement(e,t,n),this},svg:function(){return this.root.markup()},getRootOffset:function(){return this.root.getOffset()},onEndAnimation:function(e){this._animationController.onEndAnimation(e)},rect:function(e,n,i,o){var a=new t.RectSvgElement(this);return a.attr({x:e||0,y:n||0,width:i||0,height:o||0})},simpleRect:function(){return this._createElement("rect")},circle:function(e,t,n){return this._createElement("circle",{cx:e||0,cy:t||0,r:n||0})},g:function(){return this._createElement("g")},image:function(e,t,n,i,o,a){var r=this._createElement("image",{x:e||0,y:t||0,width:n||0,height:i||0,preserveAspectRatio:ze[ve(a)]||Pe});return r.element.setAttributeNS("http://www.w3.org/1999/xlink","href",o||""),r},path:function(e,n){var i=new t.PathSvgElement(this,n);return i.attr({points:e||[]})},arc:function(e,n,i,o,a,r){var s=new t.ArcSvgElement(this);return s.attr({x:e||0,y:n||0,innerRadius:i||0,outerRadius:o||0,startAngle:a||0,endAngle:r||0})},text:function(e,n,i){var o=new t.TextSvgElement(this);return o.attr({text:e,x:n||0,y:i||0})},pattern:function(e,n,i){n=n||{};var o,a,r,s,c,d=this,u=n.step||6,h=u/2,p=1.5*u,f=ve(n.direction);return"right"!==f&&"left"!==f?{id:e,append:function(){return this},clear:function(){},dispose:function(){},remove:function(){}}:(o=i||He(),a="right"===f?"M "+h+" "+-h+" L "+-h+" "+h+" M 0 "+u+" L "+u+" 0 M "+p+" "+h+" L "+h+" "+p:"M 0 0 L "+u+" "+u+" M "+-h+" "+h+" L "+h+" "+p+" M "+h+" "+-h+" L "+p+" "+h,r=d._createElement("pattern",{id:o,width:u,height:u,patternUnits:"userSpaceOnUse"}).append(d._defs),r.id=l(o,d.pathModified),s=d.rect(0,0,u,u).attr({fill:e,opacity:n.opacity}).append(r),c=new t.PathSvgElement(this).attr({d:a,"stroke-width":n.width||1,stroke:e}).append(r),r)},clipRect:function(e,t,n,i){var o=this,a=He(),r=o._createElement("clipPath",{id:a}).append(o._defs),s=o.rect(e,t,n,i).append(r);return s.id=a,s.remove=function(){throw"Not implemented"},s.dispose=function(){return r.dispose(),r=null,this},s},shadowFilter:function(e,t,n,i,o,a,r,s,c){var d=this,u=He(),h=d._createElement("filter",{id:u,x:e||0,y:t||0,width:n||0,height:i||0}).append(d._defs),p=d._createElement("feGaussianBlur",{"in":"SourceGraphic",result:"gaussianBlurResult",stdDeviation:r||0}).append(h),f=d._createElement("feOffset",{"in":"gaussianBlurResult",result:"offsetResult",dx:o||0,dy:a||0}).append(h),_=d._createElement("feFlood",{result:"floodResult","flood-color":s||"","flood-opacity":c}).append(h),g=d._createElement("feComposite",{"in":"floodResult",in2:"offsetResult",operator:"in",result:"compositeResult"}).append(h),m=d._createElement("feComposite",{"in":"SourceGraphic",in2:"compositeResult",operator:"over"}).append(h);return h.ref=l(u,d.pathModified),h.gaussianBlur=p,h.offset=f,h.flood=_,h.composite=g,h.finalComposite=m,h.attr=function(e){var t=this,n={},i={},o={};return"x"in e&&(n.x=e.x),"y"in e&&(n.y=e.y),"width"in e&&(n.width=e.width),"height"in e&&(n.height=e.height),C(t,n),"blur"in e&&t.gaussianBlur.attr({stdDeviation:e.blur}),"offsetX"in e&&(i.dx=e.offsetX),"offsetY"in e&&(i.dy=e.offsetY),t.offset.attr(i),"color"in e&&(o["flood-color"]=e.color),"opacity"in e&&(o["flood-opacity"]=e.opacity),t.flood.attr(o),t},h},brightFilter:function(e,t){var n=this,i=He(),o=n._createElement("filter",{id:i}).append(n._defs),a=n._createElement("feComponentTransfer").append(o),r={type:e,slope:t};return o.ref=l(i,n.pathModified),n._createElement("feFuncR",r).append(a),n._createElement("feFuncG",r).append(a),n._createElement("feFuncB",r).append(a),o},initHatching:function(){var e,t=this._hatchingStorage=this._hatchingStorage||{byHash:{},baseId:He()},n=t.byHash;for(e in n)n[e].pattern.dispose();t.byHash={},t.refToHash={},t.nextId=0},lockHatching:function(e,t,n){var i,o,a=this._hatchingStorage,r=ne(e,t);return a.refToHash[n]!==r&&(n&&this.releaseHatching(n),i=a.byHash[r],i||(o=this.pattern(e,t,a.baseId+"-hatching-"+a.nextId++),i=a.byHash[r]={pattern:o,count:0},a.refToHash[o.id]=r),++i.count,n=i.pattern.id),n},releaseHatching:function(e){var t=this._hatchingStorage,n=t.refToHash[e],i=t.byHash[n];0===--i.count&&(i.pattern.dispose(),delete t.byHash[n],delete t.refToHash[e])}},t._getEllipsis=R,t._createArcAttr=S,t._createPathAttr=k,t._createRectAttr=T}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t,n,i=e.x,o=e.y,a=g[e.type],r=e.textWidth+2*e.horMargin,s=e.textHeight+2*e.verMargin,c=i,d=o;return t=n=e.tailLength,1&a[0]?n=Math.min(n,s/3):t=Math.min(t,r/3),{cx:l(c+a[0]*t+(a[0]+a[2])*r/2),cy:l(d+a[1]*n+(a[1]+a[3])*s/2),points:[l(i),l(o),l(i+=a[0]*(r+t)),l(o+=a[1]*(s+n)),l(i+=a[2]*r),l(o+=a[3]*s),l(i+=a[4]*r),l(o+=a[5]*s),l(i+=a[6]*(r-t)),l(o+=a[7]*(s-n))]}}var a=n(1),r=isFinite,s=Number,l=Math.round,c=n(131),d=c.formatValue,u=c.getSampleText,h=n(7).patchFontOptions,p=n(5),f=p.inherit({ctor:function(e){var t=this;a.each(e,function(e,n){t["_"+e]=n}),t._init()},dispose:function(){var e=this;return e._dispose(),a.each(e,function(t){e[t]=null}),e},getOffset:function(){return s(this._options.offset)||0}}),_=f.inherit({_init:function(){var e=this;e._rootElement=e._createRoot().linkOn(e._owner,{name:"value-indicator",after:"core"}),e._trackerElement=e._createTracker()},_dispose:function(){this._rootElement.linkOff()},_setupAnimation:function(){var e=this;e._options.animation&&(e._animation={step:function(t){e._actualValue=e._animation.start+e._animation.delta*t,e._actualPosition=e._translator.translate(e._actualValue),e._move()},duration:e._options.animation.duration>0?s(e._options.animation.duration):0,easing:e._options.animation.easing})},_runAnimation:function(e){var t=this,n=t._animation;n.start=t._actualValue,n.delta=e-t._actualValue,t._rootElement.animate({_:0},{step:n.step,duration:n.duration,easing:n.easing})},_createRoot:function(){return this._renderer.g().attr({"class":this._className})},_createTracker:function(){return this._renderer.path([],"area")},_getTrackerSettings:a.noop,clean:function(){var e=this;return e._animation&&e._rootElement.stopAnimation(),e._rootElement.linkRemove().clear(),e._clear(),e._tracker.detach(e._trackerElement),e._options=e.enabled=e._animation=null,e},render:function(e){var t=this;return t.type=e.type,t._options=e,t._actualValue=t._currentValue=t._translator.adjust(t._options.currentValue),t.enabled=t._isEnabled(),t.enabled&&(t._setupAnimation(),t._rootElement.attr({fill:t._options.color}).linkAppend(),t._tracker.attach(t._trackerElement,t,t._trackerInfo)),t},resize:function(e){var t=this;return t._rootElement.clear(),t._clear(),t.visible=t._isVisible(e),t.visible&&(a.extend(t._options,e),t._actualPosition=t._translator.translate(t._actualValue),t._render(),t._trackerElement.attr(t._getTrackerSettings()),t._move()),t},value:function(e,t){var n,i=this;return void 0!==e?(n=i._translator.adjust(e),i._currentValue!==n&&r(n)&&(i._currentValue=n,i.visible&&(i._animation&&!t?i._runAnimation(n):(i._actualValue=n,i._actualPosition=i._translator.translate(n),i._move()))),i):i._currentValue},_isEnabled:null,_isVisible:null,_render:null,_clear:null,_move:null}),g={};g["right-bottom"]=g.rb=[0,-1,-1,0,0,1,1,0],g["bottom-right"]=g.br=[-1,0,0,-1,1,0,0,1],g["left-bottom"]=g.lb=[0,-1,1,0,0,1,-1,0],g["bottom-left"]=g.bl=[1,0,0,-1,-1,0,0,1],g["left-top"]=g.lt=[0,1,1,0,0,-1,-1,0],g["top-left"]=g.tl=[1,0,0,1,-1,0,0,-1],g["right-top"]=g.rt=[0,1,-1,0,0,-1,1,0],g["top-right"]=g.tr=[-1,0,0,1,1,0,0,-1];var m=_.inherit({_move:function(){var e,t,n=this,i=n._getTextCloudOptions(),a=d(n._actualValue,n._options.text);n._text.attr({text:a}),e=n._text.getBBox(),t=o({x:i.x,y:i.y,textWidth:e.width||a.length*n._textUnitWidth,textHeight:e.height||n._textHeight,horMargin:n._options.horizontalOffset,verMargin:n._options.verticalOffset,tailLength:n._options.arrowLength,type:i.type}),n._text.attr({x:t.cx,y:t.cy+n._textVerticalOffset}),n._cloud.attr({points:t.points}),n._trackerElement&&n._trackerElement.attr({points:t.points})},_measureText:function(){var e,t,n,i,o=this;o._textVerticalOffset||(e=o._createRoot().append(o._owner),i=u(o._translator,o._options.text),t=o._renderer.text(i,0,0).attr({align:"center"}).css(h(o._options.text.font)).append(e),n=t.getBBox(),e.remove(),o._textVerticalOffset=-n.y-n.height/2,o._textWidth=n.width,o._textHeight=n.height,o._textUnitWidth=o._textWidth/i.length,o._textFullWidth=o._textWidth+2*o._options.horizontalOffset,o._textFullHeight=o._textHeight+2*o._options.verticalOffset)},_render:function(){var e=this;e._measureText(),e._cloud=e._cloud||e._renderer.path([],"area").append(e._rootElement),e._text=e._text||e._renderer.text().append(e._rootElement),e._text.attr({align:"center"}).css(h(e._options.text.font))},_clear:function(){delete this._cloud,delete this._text},getTooltipParameters:function(){var e=this._getTextCloudOptions();return{x:e.x,y:e.y,value:this._currentValue,color:this._options.color}}}),v=_.inherit({_measureText:function(){var e,t,n,i=this;i._hasText=i._isTextVisible(),i._hasText&&!i._textVerticalOffset&&(e=i._createRoot().append(i._owner),t=i._renderer.text(u(i._translator,i._options.text),0,0).attr({"class":"dxg-text",align:"center"}).css(h(i._options.text.font)).append(e),n=t.getBBox(),e.remove(),i._textVerticalOffset=-n.y-n.height/2,i._textWidth=n.width,i._textHeight=n.height)},_move:function(){var e=this;e._updateBarItemsPositions(),e._hasText&&(e._text.attr({text:d(e._actualValue,e._options.text)}),e._updateTextPosition(),e._updateLinePosition())},_updateBarItems:function(){var e,t,n=this,i=n._options,o=n._translator;n._setBarSides(),n._startPosition=o.translate(o.getDomainStart()),n._endPosition=o.translate(o.getDomainEnd()),n._basePosition=o.translate(i.baseValue),n._space=n._getSpace(),e=i.backgroundColor||"none","none"!==e&&n._space>0?t=i.containerBackgroundColor||"none":(n._space=0,t="none"),n._backItem1.attr({fill:e}),n._backItem2.attr({fill:e}),n._spaceItem1.attr({fill:t}),n._spaceItem2.attr({fill:t})},_getSpace:function(){return 0},_updateTextItems:function(){var e=this;e._hasText?(e._line=e._line||e._renderer.path([],"line").attr({"class":"dxg-main-bar","stroke-linecap":"square"}).append(e._rootElement),e._text=e._text||e._renderer.text("",0,0).attr({"class":"dxg-text"}).append(e._rootElement),e._text.attr({align:e._getTextAlign()}).css(e._getFontOptions()),e._setTextItemsSides()):(e._line&&(e._line.remove(),delete e._line),e._text&&(e._text.remove(),delete e._text))},_isTextVisible:function(){return!1},_getTextAlign:function(){return"center"},_getFontOptions:function(){var e=this._options,t=e.text.font;return t&&t.color||(t=a.extend({},t,{color:e.color})),h(t)},_updateBarItemsPositions:function(){var e=this,t=e._getPositions();e._backItem1.attr(e._buildItemSettings(t.start,t.back1)),e._backItem2.attr(e._buildItemSettings(t.back2,t.end)),e._spaceItem1.attr(e._buildItemSettings(t.back1,t.main1)),e._spaceItem2.attr(e._buildItemSettings(t.main2,t.back2)),e._mainItem.attr(e._buildItemSettings(t.main1,t.main2)),e._trackerElement&&e._trackerElement.attr(e._buildItemSettings(t.main1,t.main2))},_render:function(){var e=this;e._measureText(),e._backItem1||(e._backItem1=e._createBarItem(),e._backItem1.attr({"class":"dxg-back-bar"})),e._backItem2||(e._backItem2=e._createBarItem(),e._backItem2.attr({"class":"dxg-back-bar"})),e._spaceItem1||(e._spaceItem1=e._createBarItem(),e._spaceItem1.attr({"class":"dxg-space-bar"})),e._spaceItem2||(e._spaceItem2=e._createBarItem(),e._spaceItem2.attr({"class":"dxg-space-bar"})),e._mainItem||(e._mainItem=e._createBarItem(),e._mainItem.attr({"class":"dxg-main-bar"})),e._updateBarItems(),e._updateTextItems()},_clear:function(){var e=this;delete e._backItem1,delete e._backItem2,delete e._spaceItem1,delete e._spaceItem2,delete e._mainItem,delete e._hasText,delete e._line,delete e._text},getTooltipParameters:function(){var e=this._getTooltipPosition();return{x:e.x,y:e.y,value:this._currentValue,color:this._options.color,offset:0}}});t.BaseElement=f,t.BaseIndicator=_,t.BaseTextCloudMarker=m,t.BaseRangeBar=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){e&&e.trigger(t,n)}function a(e){return e===G||"allseriespoints"===e}function r(e,t){var n=e||{},i=m({},n.font)||{},o=n.border||{},a=n.connector||{},r={fill:n.backgroundColor||t,"stroke-width":o.visible?o.width||0:0,stroke:o.visible&&o.width?o.color:"none",dashStyle:o.dashStyle},s={stroke:a.visible&&a.width?a.color||t:"none","stroke-width":a.visible?a.width||0:0};return i.color="none"===n.backgroundColor&&"#ffffff"===x(i.color)&&"inside"!==n.position?t:i.color,{alignment:n.alignment,format:n.format,argumentFormat:n.argumentFormat,precision:n.precision,argumentPrecision:n.argumentPrecision,percentPrecision:n.percentPrecision,customizeText:c.isFunction(n.customizeText)?n.customizeText:void 0,attributes:{font:i},visible:0!==i.size?n.visible:!1,showForZeroValues:n.showForZeroValues,horizontalOffset:n.horizontalOffset,verticalOffset:n.verticalOffset,radialOffset:n.radialOffset,background:r,position:n.position,connector:s,rotationAngle:n.rotationAngle}}function s(e,t){!e.isSelected()&&!e.hasSelectedView&&e.applyStyle(t)}function l(e,t){var n=this;n.fullState=0,n._extGroups=e,n._renderer=e.renderer,n._group=e.renderer.g().attr({"class":"dxc-series"}),n.updateOptions(t)}var c=n(1),d={},u=n(2),h=n(546),p=u.isDefined,f=n(7),_=f.map,g=c.each,m=c.extend,v=c.isEmptyObject,x=f.normalizeEnum,w=c.Event,y=c.noop,b=c.inArray,C=n(129).states,k=n(96),S=n(220),T=n(173),I=n(132),D=n(551),E=n(543),A=n(545),B=n(544),M=n(552),O="discrete",P=C.selectedMark,R=C.hoverMark,V=C.hover,F=C.normal,L=C.selection,H=C.applySelected,z=C.applyHover,N=C.resetItem,W="none",G="includepoints",$="excludepoints",q="nearestpoint",j=function(){return{arg:{},val:{}}};d.mixins={chart:{},pie:{},polar:{}},d.mixins.chart.scatter=k.chart,d.mixins.polar.scatter=k.polar,c.extend(d.mixins.pie,A),c.extend(d.mixins.chart,S.chart,T.chart,I.chart,D.chart,E.chart,B,M.chart),c.extend(d.mixins.polar,S.polar,T.polar,I.polar,D.polar,E.polar,M.polar),t.Series=l,t.mixins=d.mixins,l.prototype={constructor:l,_createLegendState:y,getLegendStyles:function(){return this._styles.legendStyles},_createStyles:function(e){var t=this,n=e.mainSeriesColor,i=t._getSpecialColor(n);t._styles={normal:t._parseStyle(e,n,n),hover:t._parseStyle(e.hoverStyle||{},i,n),selection:t._parseStyle(e.selectionStyle||{},i,n),legendStyles:{normal:t._createLegendState(e,n),hover:t._createLegendState(e.hoverStyle||{},i),selection:t._createLegendState(e.selectionStyle||{},i)}}},setClippingParams:function(e,t,n){this._paneClipRectID=e,this._widePaneClipRectID=t,this._forceClipping=n},applyClip:function(){this._group.attr({clipId:this._paneClipRectID})},resetClip:function(){this._group.attr({clipId:null})},getTagField:function(){return this._options.tagField||"tag"},getValueFields:y,getSizeField:y,getArgumentField:y,getPoints:function(){return this._points},_createPoint:function(e,t,n){e.index=n;var i,o,a,r=this,s=t[n],l=r.pointsByArgument;return r._checkData(e)?(i=r._customizePoint(e)||r._getCreatingPointOptions(e),s?s.update(e,i):(s=new h.Point(r,e,i),t.push(s)),o=s.argument.valueOf(),a=l[o],a?a.push(s):l[o]=[s],!0):void 0},getRangeData:function(e,t){return this._visible?m(!0,{},this._getRangeData(e,t)):j()},_deleteGroup:function(e){var t=this[e];t&&(t.dispose(),this[e]=null)},_saveOldAnimationMethods:function(){var e=this;e._oldClearingAnimation=e._clearingAnimation,e._oldUpdateElement=e._updateElement,e._oldgetAffineCoordOptions=e._getAffineCoordOptions},_deleteOldAnimationMethods:function(){this._oldClearingAnimation=null,this._oldUpdateElement=null,this._oldgetAffineCoordOptions=null},updateOptions:function(e){var t=this,n=e.widgetType,i=t.type,o=e.type;return t.type=o&&x(o.toString()),!t._checkType(n)||t._checkPolarBarType(n,e)?(t.dispose(),void(t.isUpdated=!1)):(i!==t.type&&(t._firstDrawing=!0,t._saveOldAnimationMethods(),t._resetType(i,n),t._setType(t.type,n)),t._options=e,t._pointOptions=null,t._deletePatterns(),t.name=e.name,t.pane=e.pane,t.axis=e.axis,t.tag=e.tag,t._createStyles(e),t._updateOptions(e),t._visible=e.visible,t.isUpdated=!0,void t._createGroups())},_disposePoints:function(e){g(e||[],function(e,t){t.dispose()})},_correctPointsLength:function(e,t){this._disposePoints(this._oldPoints),this._oldPoints=t.splice(e,t.length)},getErrorBarRangeCorrector:y,updateDataType:function(e){var t=this;return t.argumentType=e.argumentType,t.valueType=e.valueType,t.argumentAxisType=e.argumentAxisType,t.valueAxisType=e.valueAxisType,t.showZero=e.showZero,t},getOptions:function(){return this._options},_resetRangeData:function(){this._rangeData=j()},updateData:function(e){var t,n=this,i=n._originalPoints||[],o=0,a=n._options,r=0,s=e.length,l=null,c=n.getErrorBarRangeCorrector();for(n.pointsByArgument={},n._resetRangeData(),e&&e.length&&(n._canRenderCompleteHandle=!0),n._beginUpdateData(e);s>r;)n._createPoint(n._getPointData(e[r],a),i,o)&&(t=i[o],n._processRange(t,l,c),l=t,o++),r++;n._disposePoints(n._aggregatedPoints),n._aggregatedPoints=null,n._points=n._originalPoints=i,n._correctPointsLength(o,i),n._endUpdateData()},getTemplateFields:function(){return this.getValueFields().concat(this.getTagField(),this.getSizeField()).map(function(e){return{templateField:e+this.name,originalField:e}},this)},resamplePoints:function(e,t,n){var i,o,a,r,s,l=this,c=l._getPointSize(),d=l.getAllPoints().length,u=e.getBusinessRange();d&&d>1&&(r=e.canvasLength/c,r=1>=r?1:r,l.argumentAxisType!==O?(s=(u.maxVisible-u.minVisible)/r,l.valueAxisType===O&&(s=Math.ceil(s))):(i=u.categories,o=b(t,i),a=b(n,i),-1!==o&&-1!==a&&(i=i.slice(o,a+1)),d=i.length,s=Math.ceil(d/r)),l._points=l._resample(s,t-s,n+s,p(t)&&p(n)))},_removeOldSegments:function(e){var t=this;g(t._graphics.splice(e,t._graphics.length)||[],function(e,n){t._removeElement(n)}),t._trackers&&g(t._trackers.splice(e,t._trackers.length)||[],function(e,t){t.remove()})},draw:function(e,t,n,i){var o,a=this;a._oldClearingAnimation&&t&&a._firstDrawing?(o=function(){a._draw(e,!0,n)},a._oldClearingAnimation(e,o)):a._draw(e,t,n,i)},_draw:function(e,t,n,i){var o,a=this,r=a._points||[],s=[],l=0,c=a._firstDrawing,d=r[0]&&r[0].hasValue()&&a._options.closed;return a._graphics=a._graphics||[],a._prepareSeriesToDrawing(),a._visible?(a._appendInGroup(),a.translators=e,a._applyVisibleArea(),a._setGroupsSettings(t,c),a._segments=[],a._drawnPoints=[],a._firstDrawing=!r.length,o={markers:a._markersGroup,errorBars:a._errorBarGroup},g(r,function(n,r){r.translate(e),r.hasValue()?(a._drawPoint({point:r,groups:o,hasAnimation:t,firstDrawing:c,legendCallback:i}),s.push(r)):s.length&&(a._drawSegment(s,t,l++),s=[])}),s.length&&a._drawSegment(s,t,l++,d),a._removeOldSegments(l),a._defaultSegments=a._generateDefaultSegments(),n&&a.hideLabels(),t&&a._animate(c),void(a.isSelected()?a._changeStyle(i,H):a.isHovered()&&a._changeStyle(i,z))):(t=!1,void a._group.remove())},_setLabelGroupSettings:function(e){var t={"class":"dxc-labels"};this._applyElementsClipRect(t),this._applyClearingSettings(t),e&&(t.opacity=.001),this._labelsGroup.attr(t).append(this._extGroups.labelsGroup)},_checkType:function(e){return!!d.mixins[e][this.type]},_checkPolarBarType:function(e,t){return"polar"===e&&t.spiderWidget&&-1!==this.type.indexOf("bar")},_resetType:function(e,t){var n,i;if(e){i=d.mixins[t][e];for(n in i)delete this[n]}},_setType:function(e,t){var n,i=d.mixins[t][e];for(n in i)this[n]=i[n]},setSelectedState:function(e,t,n){var i=this;i.lastSelectionMode=x(t||i._options.selectionMode),e&&!i.isSelected()?(i.fullState=i.fullState|P,i._nearestPoint&&s(i._nearestPoint,F),i._nearestPoint=null,i._changeStyle(n,H)):!e&&i.isSelected()&&(i.fullState=i.fullState&~P,i.isHovered()?i._changeStyle(n,z,L):i._changeStyle(n,N))},setHoverState:function(e,t,n){var i=this;i.lastHoverMode=x(t||i._options.hoverMode),e&&!i.isHovered()?(i.fullState=i.fullState|R,!i.isSelected()&&i._changeStyle(n,z)):!e&&i.isHovered()&&(i._nearestPoint=null,i.fullState=i.fullState&~R,!i.isSelected()&&i._changeStyle(n,N))},setHoverView:function(){return this._canChangeView()?(this._applyStyle(this._styles.hover),this):null},releaseHoverView:function(e){this._canChangeView()&&this._applyStyle(this._styles.normal)},isFullStackedSeries:function(){return 0===this.type.indexOf("fullstacked")},isStackedSeries:function(){return 0===this.type.indexOf("stacked")},isFinancialSeries:function(){return"stock"===this.type||"candlestick"===this.type},_canChangeView:function(){return!this.isSelected()&&x(this._options.hoverMode)!==W},_changeStyle:function(e,t,n){var i,o=this,r=o._calcStyle(n);r.mode!==W&&(e(t),a(r.mode)&&(i=r.pointStyle,g(o._points||[],function(e,t){s(t,i)})),o._applyStyle(r.series))},_calcStyle:function(e){var t,n=this,i=n._styles,o=!1;switch(n.fullState){case 0:t={pointStyle:F,mode:G,series:i.normal};break;case 1:o=e&&n.lastHoverMode===$||n.lastHoverMode===q&&a(n.lastSelectionMode),t={pointStyle:o?F:V,mode:o?G:n.lastHoverMode,series:i.hover};break;case 2:t={pointStyle:L,mode:n.lastSelectionMode,series:i.selection};break;case 3:o=n.lastSelectionMode===$&&a(n.lastHoverMode),t={pointStyle:o?F:L,mode:o?G:n.lastSelectionMode,series:i.selection}}return t},updateHover:function(e,t){var n=this,i=n._nearestPoint,o=n.isHovered()&&n.lastHoverMode===q&&n.getNeighborPoint(e,t);o===i||n.isSelected()||(i&&s(i,F),o&&(s(o,V),n._nearestPoint=o))},_getMainAxisName:function(){return this._options.rotated?"X":"Y"},areLabelsVisible:function(){return!p(this._options.maxLabelCount)||this._points.length<=this._options.maxLabelCount},getLabelVisibility:function(){return this.areLabelsVisible()&&this._options.label&&this._options.label.visible},_customizePoint:function(e){var t,n,i,o,a,r,s=this,l=s._options,c=l.customizePoint,d=l.customizeLabel;return d&&d.call&&(t=m({seriesName:s.name},e),t.series=s,i=d.call(t,t),a=i&&!v(i),i=a?m(!0,{},l.label,i):null),c&&c.call&&(t=t||m({seriesName:s.name},e),t.series=s,o=c.call(t,t),r=o&&!v(o)),(a||r)&&(n=s._parsePointOptions(s._preparePointOptions(o),i||l.label,e),n.styles.useLabelCustomOptions=a,n.styles.usePointCustomOptions=r),n},show:function(){this._visible||this._changeVisibility(!0)},hide:function(){this._visible&&this._changeVisibility(!1)},_changeVisibility:function(e){var t=this;t._visible=t._options.visible=e,t._updatePointsVisibility(),t.hidePointTooltip(),t._options.visibilityChanged()},_updatePointsVisibility:y,hideLabels:function(){g(this._points,function(e,t){t._label.hide()})},_parsePointOptions:function(e,t,n){var i=this,o=i._options,a=i._createPointStyles(e,n),s=m(!0,{},e,{type:o.type,tag:i.tag,rotated:o.rotated,styles:a,widgetType:o.widgetType,visibilityChanged:o.visibilityChanged});return s.label=r(t,a.normal.fill),i.areErrorBarsVisible()&&(s.errorBars=o.valueErrorBar),s},_preparePointOptions:function(e){var t=this._getOptionsForPoint();return e?m(!0,{},t,e):t},_getMarkerGroupOptions:function(){return m(!1,{},this._getOptionsForPoint(),{hoverStyle:{},selectionStyle:{}})},_resample:function(e,t,n,i){function o(e){l.push(e),r=e.argument,i&&(u=e.argument<t?1:e.argument>n?2:0)}var a,r,s=this,l=[],c=0,d=0,u=0,h=s.getAllPoints();return s.argumentAxisType===O||s.valueAxisType===O?_(h,function(t,n){return n%e===0?t:(t.setInvisibility(),null)}):(s._aggregatedPoints=s._aggregatedPoints||[],g(h,function(i,h){
h.setInvisibility(),l.length?!u&&Math.abs(r-h.argument)<e?l.push(h):1===u&&h.argument<t||2===u&&h.argument>n||(a=s._fusionPoints(l,r,c),c++,s._createPoint(a,s._aggregatedPoints,d)&&d++,l=[],o(h)):o(h)}),l.length&&(a=s._fusionPoints(l,r,c),s._createPoint(a,s._aggregatedPoints,d)&&d++),s._correctPointsLength(d,s._aggregatedPoints),s._endUpdateData(),s._aggregatedPoints)},canRenderCompleteHandle:function(){var e=this._canRenderCompleteHandle;return delete this._canRenderCompleteHandle,!!e},isHovered:function(){return!!(1&this.fullState)},isSelected:function(){return!!(2&this.fullState)},isVisible:function(){return this._visible},getAllPoints:function(){return(this._originalPoints||[]).slice()},getPointByPos:function(e){return(this._points||[])[e]},getVisiblePoints:function(){return(this._drawnPoints||[]).slice()},setPointHoverState:function(e){var t=e.point;e.setState&&(t.fullState|=R),this.isSelected()&&a(this.lastSelectionMode)||t.isSelected()||t.hasSelectedView||t.applyStyle(V)},releasePointHoverState:function(e){var t=this,n=e.point;e.setState&&(n.fullState&=~R),t.isSelected()&&a(t.lastSelectionMode)||n.isSelected()||n.hasSelectedView||(!t.isHovered()||!a(t.lastHoverMode)||t.isSelected()&&t.lastSelectionMode===$)&&n.applyStyle(F),n.releaseHoverState()},setPointSelectedState:function(e){var t=e.point;e.setState?t.fullState|=P:t.hasSelectedView=!0,t.applyStyle(L)},releasePointSelectedState:function(e){var t,n=this,i=e.point;e.setState?i.fullState&=~P:i.hasSelectedView=!1,t=n.isHovered()&&a(n.lastHoverMode)||i.isHovered()?V:n.isSelected()&&a(n.lastSelectionMode)?L:F,i.applyStyle(t)},selectPoint:function(e){o(this._extGroups.seriesGroup,new w("selectpoint"),e)},deselectPoint:function(e){o(this._extGroups.seriesGroup,new w("deselectpoint"),e)},showPointTooltip:function(e){o(this._extGroups.seriesGroup,new w("showpointtooltip"),e)},hidePointTooltip:function(e){o(this._extGroups.seriesGroup,new w("hidepointtooltip"),e)},select:function(){var e=this;o(e._extGroups.seriesGroup,new w("selectseries",{target:e}),e._options.selectionMode),e._group.toForeground()},clearSelection:function(){var e=this;o(e._extGroups.seriesGroup,new w("deselectseries",{target:e}),e._options.selectionMode)},getPointsByArg:function(e){return this.pointsByArgument[e.valueOf()]||[]},_deletePoints:function(){var e=this;e._disposePoints(e._originalPoints),e._disposePoints(e._aggregatedPoints),e._disposePoints(e._oldPoints),e._points=e._oldPoints=e._aggregatedPoints=e._originalPoints=e._drawnPoints=null},_deletePatterns:function(){g(this._patterns||[],function(e,t){t&&t.dispose()}),this._patterns=[]},_deleteTrackers:function(){var e=this;g(e._trackers||[],function(e,t){t.remove()}),e._trackersGroup&&e._trackersGroup.dispose(),e._trackers=e._trackersGroup=null},dispose:function(){var e=this;e._deletePoints(),e._group.dispose(),e._labelsGroup&&e._labelsGroup.dispose(),e._errorBarGroup&&e._errorBarGroup.dispose(),e._deletePatterns(),e._deleteTrackers(),e._group=e._extGroups=e._markersGroup=e._elementsGroup=e._bordersGroup=e._labelsGroup=e._errorBarGroup=e._graphics=e._rangeData=e._renderer=e.translators=e._styles=e._options=e._pointOptions=e._drawnPoints=e._aggregatedPoints=e.pointsByArgument=e._segments=e._prevSeries=e._patterns=null},correctPosition:y,drawTrackers:y,getNeighborPoint:y,areErrorBarsVisible:y,getColor:function(){return this.getLegendStyles().normal.fill},getOpacity:function(){return this._options.opacity},getStackName:function(){return"stackedbar"===this.type||"fullstackedbar"===this.type?this._stackName:null},getPointByCoord:function(e,t){var n=this.getNeighborPoint(e,t);return n&&n.coordsIn(e,t)?n:null}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(2),a=o.isDefined,r=Math.round;i.exports={translate:function(e){var t=this,n=t._canvasOptions,i=n.rangeDoubleError,o=t.translateSpecialCase(e);return a(o)?o:isNaN(e)||e.valueOf()+i<n.rangeMin||e.valueOf()-i>n.rangeMax?null:t._conversionValue(t._calculateProjection((e-n.rangeMinVisible)*n.ratioOfCanvasRange))},untranslate:function(e,t,n){var i=this._canvasOptions,o=i.startPoint;return!n&&(o>e||e>i.endPoint)||!a(i.rangeMin)||!a(i.rangeMax)?null:this._calculateUnProjection((e-o)/i.ratioOfCanvasRange)},getInterval:function(){return r(this._canvasOptions.ratioOfCanvasRange*(this._businessRange.interval||Math.abs(this._canvasOptions.rangeMax-this._canvasOptions.rangeMin)))},_getValue:function(e){return e},zoom:function(e,t){var n=this,i=n._canvasOptions,o=i.startPoint,a=i.endPoint,r=(o+e)/t,s=(a+e)/t,l=[n.translate(n._getValue(i.rangeMin)),n.translate(n._getValue(i.rangeMax))],c=Math.min(l[0],l[1]),d=Math.max(l[0],l[1]);return c>r&&(s-=r-c,r=c),s>d&&(r-=s-d,s=d),s-r>d-c&&(r=c,s=d),e=(a-o)*r/(s-r)-o,t=(o+e)/r||1,{min:n.untranslate(r,void 0,!0),max:n.untranslate(s,void 0,!0),translate:e,scale:t}},getMinScale:function(e){return e?1.1:.9},getScale:function(e,t){var n=this._canvasOptions;return e=a(e)?e:n.rangeMin,t=a(t)?t:n.rangeMax,(n.rangeMax-n.rangeMin)/Math.abs(e-t)},isValid:function(e){var t=this._canvasOptions;return null!==e&&!isNaN(e)&&e.valueOf()+t.rangeDoubleError>=t.rangeMin&&e.valueOf()-t.rangeDoubleError<=t.rangeMax},parse:function(e){return Number(e)},to:function(e){return this._conversionValue(this._calculateProjection((e-this._canvasOptions.rangeMinVisible)*this._canvasOptions.ratioOfCanvasRange))},from:function(e){return this._calculateUnProjection((e-this._canvasOptions.startPoint)/this._canvasOptions.ratioOfCanvasRange)},_add:function(e,t,n){return e+t*n},isValueProlonged:!1}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(26),r=n(3),s=n(15),l=n(29).dasherize,c=n(40),d=n(4),u=n(13),h=n(63),p="dxDraggable",f=d.addNamespace(h.start,p),_=d.addNamespace(h.move,p),g=d.addNamespace(h.end,p),m=d.addNamespace(u.down,p),v=l(p),x=v+"-dragging",w=c.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{onDragStart:o.noop,onDrag:o.noop,onDragEnd:o.noop,direction:"both",area:window,boundOffset:0,allowMoveByClick:!1})},_init:function(){this.callBase(),this._attachEventHandlers()},_attachEventHandlers:function(){if(!this.option("disabled")){var e=this.element().css("position","absolute"),t={},n=this.option("allowMoveByClick");t[f]=o.proxy(this._dragStartHandler,this),t[_]=o.proxy(this._dragHandler,this),t[g]=o.proxy(this._dragEndHandler,this),n&&(t[m]=o.proxy(this._pointerDownHandler,this),e=this._getArea()),e.on(t,{direction:this.option("direction"),immediate:!0})}},_detachEventHandlers:function(){this.element().off("."+p),this._getArea().off("."+p)},_move:function(e){s.move(this.element(),e)},_pointerDownHandler:function(e){if(!d.needSkipEvent(e)){var t=this._getAreaOffset(o(e.currentTarget)),n=this.option("direction"),i={};"horizontal"!==n&&"both"!==n||(i.left=e.pageX-this.element().width()/2-t.left),"vertical"!==n&&"both"!==n||(i.top=e.pageY-this.element().height()/2-t.top),this._move(i),this._getAction("onDrag")({jQueryEvent:e})}},_dragStartHandler:function(e){var t=this.element();if(t.is(".dx-state-disabled, .dx-state-disabled *"))return void(e.cancel=!0);var n=this._getArea(),i=this._getAreaOffset(n),o=this._getBoundOffset(),a=n.outerWidth(),r=n.outerHeight(),l=t.width(),c=t.height();this._toggleDraggingClass(!0);var d={left:t.offset().left-i.left,top:t.offset().top-i.top};this._startPosition=s.locate(t),e.maxLeftOffset=d.left-o.left,e.maxRightOffset=a-d.left-l-o.right,e.maxTopOffset=d.top-o.top,e.maxBottomOffset=r-d.top-c-o.bottom,this._getAction("onDragStart")({jQueryEvent:e})},_getAreaOffset:function(e){var t=e&&e.offset();return t?t:{left:0,top:0}},_toggleDraggingClass:function(e){this.element().toggleClass(x,e)},_getBoundOffset:function(){var e=this.option("boundOffset");return o.isFunction(e)&&(e=e.call(this)),a.quadToObject(e)},_getArea:function(){var e=this.option("area");return o.isFunction(e)&&(e=e.call(this)),o(e)},_dragHandler:function(e){var t=e.offset,n=this._startPosition;this._move({left:n.left+t.x,top:n.top+t.y}),this._getAction("onDrag")({jQueryEvent:e})},_dragEndHandler:function(e){this._toggleDraggingClass(!1),this._getAction("onDragEnd")({jQueryEvent:e})},_getAction:function(e){return this["_"+e+"Action"]||this._createActionByOption(e)},_render:function(){this.callBase(),this.element().addClass(v)},_optionChanged:function(e){var t=e.name;switch(t){case"onDragStart":case"onDrag":case"onDragEnd":this["_"+t+"Action"]=this._createActionByOption(t);break;case"allowMoveByClick":case"direction":case"disabled":this._detachEventHandlers(),this._attachEventHandlers();break;case"boundOffset":case"area":break;default:this.callBase(e)}},_dispose:function(){this.callBase(),this._detachEventHandlers()}});r(p,w),i.exports=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(396)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(48),s=n(3),l=n(31),c=n(4),d=n(70),u=n(23),h=n(22),p=n(8),f=n(9),_=n(78),g="dx-switch",m=g+"-wrapper",v=g+"-container",x=g+"-inner",w=g+"-handle",y=g+"-on-value",b=g+"-on",C=g+"-off",k=100,S=l.inherit({_supportedKeys:function(){var e=this.option("rtlEnabled"),t=function(e){e.preventDefault(),this._clickAction({jQueryEvent:e})},n=function(e,t){t.preventDefault(),t.stopPropagation(),this._animateValue(e)};return o.extend(this.callBase(),{space:t,enter:t,leftArrow:o.proxy(n,this,!!e),rightArrow:o.proxy(n,this,!e)})},_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,onText:p.format("dxSwitch-onText"),offText:p.format("dxSwitch-offText"),value:!1,useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===a.real().deviceType&&!a.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(u.current())},options:{useInkRipple:!0}}])},_feedbackHideTimeout:0,_animating:!1,_render:function(){var e=this.element();this._$switchInner=o("<div>").addClass(x),this._$handle=o("<div>").addClass(w).appendTo(this._$switchInner),this.option("useInkRipple")&&this._renderInkRipple(),this._$labelOn=o("<div>").addClass(b).prependTo(this._$switchInner),this._$labelOff=o("<div>").addClass(C).appendTo(this._$switchInner),this._$switchContainer=o("<div>").addClass(v).append(this._$switchInner),this._$switchWrapper=o("<div>").addClass(m).append(this._$switchContainer),e.addClass(g).append(this._$switchWrapper),this.setAria("role","button"),this._createComponent(e,_,{elastic:!1,immediate:!0,onStart:o.proxy(this._swipeStartHandler,this),onUpdated:o.proxy(this._swipeUpdateHandler,this),onEnd:o.proxy(this._swipeEndHandler,this),itemSizeFunc:o.proxy(this._getMarginBound,this)}),this._renderLabels(),this.callBase(),this._updateMarginBound(),this._renderValue(),this._renderClick()},_renderInkRipple:function(){this._inkRipple=r.render({waveSizeCoefficient:1.7,isCentered:!0,useHoldAnimation:!1,wavesNumber:2})},_renderInkWave:function(e,t,n,i){if(this._inkRipple){var o={element:e,jQueryEvent:t,wave:i};n?this._inkRipple.showWave(o):this._inkRipple.hideWave(o)}},_updateFocusState:function(e,t){this.callBase.apply(this,arguments),this._renderInkWave(this._$handle,e,t,0)},_toggleActiveState:function(e,t,n){this.callBase.apply(this,arguments),this._renderInkWave(this._$handle,n,t,1)},_updateMarginBound:function(){this._marginBound=this._$switchContainer.outerWidth(!0)-this._$handle.outerWidth()},_getMarginBound:function(){return this._marginBound},_marginDirection:function(){return this.option("rtlEnabled")?"Right":"Left"},_offsetDirection:function(){return this.option("rtlEnabled")?-1:1},_renderPosition:function(e,t){var n=e?1:0,i=this._marginDirection(),o="Left"===i?"Right":"Left";this._$switchInner.css("margin"+i,this._getMarginBound()*(n+t-1)),this._$switchInner.css("margin"+o,0)},_validateValue:function(){var e=this.option("value");"boolean"!=typeof e&&(this._options.value=!!e)},_renderClick:function(){var e=c.addNamespace(f.name,this.NAME);this._clickAction=this._createAction(o.proxy(this._clickHandler,this)),this.element().off(e).on(e,o.proxy(function(e){this._clickAction({jQueryEvent:e})},this))},_clickHandler:function(e){this.time=new Date;var t=e.jQueryEvent;this._saveValueChangeEvent(t),this._animating||this._swiping||this._animateValue(!this.option("value"))},_animateValue:function(e){var t=this.option("value"),n=e;if(t!==n){this._animating=!0;var i=this,o=this._marginDirection(),a="Left"===o?"Right":"Left",r={},s={};this._$switchInner.css("margin"+a,0),r["margin"+o]=(Number(t)-1)*this._getMarginBound(),s["margin"+o]=(Number(n)-1)*this._getMarginBound(),h.animate(this._$switchInner,{from:r,to:s,duration:k,complete:function(){i._animating=!1,i.option("value",n)}})}},_swipeStartHandler:function(e){var t=this.option("value"),n=this.option("rtlEnabled"),i=n?0:1,a=n?1:0;e.jQueryEvent.maxLeftOffset=t?i:a,e.jQueryEvent.maxRightOffset=t?a:i,this._swiping=!0,this._feedbackDeferred=o.Deferred(),d.lock(this._feedbackDeferred),this._toggleActiveState(this.element(),this.option("activeStateEnabled"))},_swipeUpdateHandler:function(e){this._renderPosition(this.option("value"),this._offsetDirection()*e.jQueryEvent.offset)},_swipeEndHandler:function(e){var t=this,n=this._offsetDirection(),i={};i["margin"+this._marginDirection()]=this._getMarginBound()*(t.option("value")+n*e.jQueryEvent.targetOffset-1),h.animate(this._$switchInner,{to:i,duration:k,complete:function(){t._swiping=!1;var i=t.option("value")+n*e.jQueryEvent.targetOffset;t.option("value",Boolean(i)),t._feedbackDeferred.resolve(),t._toggleActiveState(t.element(),!1)}})},_renderValue:function(){this._validateValue();var e=this.option("value");this._renderPosition(e,0),this.element().toggleClass(y,e),this.setAria({pressed:e,label:e?this.option("onText"):this.option("offText")})},_renderLabels:function(){this._$labelOn.text(this.option("onText")),this._$labelOff.text(this.option("offText"))},_visibilityChanged:function(e){e&&this.repaint()},_optionChanged:function(e){switch(e.name){case"useInkRipple":this._invalidate();break;case"visible":case"width":this._refresh();break;case"onText":case"offText":this._renderLabels();break;case"value":this._renderValue(),this.callBase(e);break;default:this.callBase(e)}}});s("dxSwitch",S),i.exports=S}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(23),r=n(3),s=n(414),l=n(415),c=n(416),d=n(417),u=n(249),h={actionSheet:s,dropDownMenu:l,listBottom:c,listTop:d},p="dx-toolbar-item-auto-hide",f="dx-toolbar-text-auto-hide",_="dx-toolbar-item-invisible",g=u.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{menuItemTemplate:"menuItem",submenuType:"dropDownMenu"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return/ios7.*/.test(a.current())},options:{submenuType:"actionSheet"}},{device:function(){return/android5.*/.test(a.current())},options:{submenuType:"dropDownMenu"}},{device:function(){return/win8.*/.test(a.current())},options:{submenuType:"listBottom"}},{device:function(){return/win10.*/.test(a.current())},options:{submenuType:"listTop"}}])},_dimensionChanged:function(){this._menuStrategy.toggleMenuVisibility(!1,!0),this.callBase(),this._menuStrategy.renderMenuItems()},_render:function(){this.callBase(),this._menuStrategy.renderMenuItems()},_renderContentImpl:function(){this.callBase(),this._hideOverflowItems(),this._renderMenu()},_renderItem:function(e,t,n,i){var o=this.callBase(e,t,n,i);return"auto"===t.locateInMenu&&o.addClass(p),"dxButton"===t.widget&&"inMenu"===t.showText&&o.toggleClass(f),o},_hideOverflowItems:function(e){var t=this.element().find("."+p);if(t.length){e=e||this.element().width(),o(t).removeClass(_);for(var n=this._$beforeSection.outerWidth(),i=this._$centerSection.outerWidth(),a=this._$afterSection.outerWidth(),r=n+i+a;t.length&&r>e;){var s=t.eq(-1);r-=s.outerWidth(),s.addClass(_),t.splice(-1,1)}}},_getMenuItems:function(){var e=this,t=o.grep(this.option("items")||[],function(t){return e._isMenuItem(t)}),n=this._itemContainer().children("."+p+"."+_).not(".dx-state-invisible");this._restoreItems=this._restoreItems||[];var i=o.map(n,function(t){var n=e._getItemData(t),i=o(t).children(),a=i.children();return o.extend({menuItemTemplate:function(){e._restoreItems.push({container:i,item:a});var t=o("<div>").addClass(p);return t.append(a)}},n)});return o.merge(i,t)},_getToolbarItems:function(){var e=this;return o.grep(this.option("items")||[],function(t){return!e._isMenuItem(t)})},_renderMenu:function(){this._renderMenuStrategy(),this._menuStrategy.render()},_renderMenuStrategy:function(){var e=this.option("submenuType");this._requireDropDownStrategy()&&(e="dropDownMenu");var t=h[e];this._menuStrategy&&this._menuStrategy.NAME===e||(this._menuStrategy=new t(this))},_requireDropDownStrategy:function(){var e=this.option("submenuType");if(("listBottom"===e||"listTop"===e)&&"topToolbar"===this.option("renderAs"))return!0;var t=this.option("items")||[],n=!1;return o.each(t,function(e,t){"auto"===t.locateInMenu?n=!0:"always"===t.locateInMenu&&t.widget&&(n=!0)}),n},_arrangeItems:function(){if(!this.element().is(":hidden")){this._$centerSection.css({margin:"0 auto","float":"none"}),o.each(this._restoreItems||[],function(e,t){o(t.container).append(t.item)}),this._restoreItems=[];var e=this.element().width();this._hideOverflowItems(e),this.callBase(e)}},_itemOptionChanged:function(e,t,n){this._isMenuItem(e)?this._menuStrategy.renderMenuItems():this._isToolbarItem(e)?this.callBase(e,t,n):(this.callBase(e,t,n),this._menuStrategy.renderMenuItems())},_isMenuItem:function(e){return"menu"===e.location||"always"===e.locateInMenu},_isToolbarItem:function(e){return void 0===e.location||"never"===e.locateInMenu},_optionChanged:function(e){var t=e.name,n=e.value;switch(t){case"submenuType":this._invalidate();break;case"visible":this.callBase.apply(this,arguments),this._menuStrategy.handleToolbarVisibilityChange(n);break;case"menuItemTemplate":this._changeMenuOption("itemTemplate",this._getTemplate(n));break;case"onItemClick":this._changeMenuOption(t,n),this.callBase.apply(this,arguments);break;default:this.callBase.apply(this,arguments)}},_changeMenuOption:function(e,t){this._menuStrategy.widgetOption(e,t)}});r("dxToolbar",g),i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(188),DevExpress.data.ODataStore=n(197),DevExpress.data.ODataContext=n(272),DevExpress.data.utils=DevExpress.data.utils||{},DevExpress.data.utils.odata={},DevExpress.data.utils.odata.keyConverters=n(69).keyConverters,DevExpress.data.EdmLiteral=n(69).EdmLiteral;var o=n(69);DevExpress.data.utils.odata.serializePropName=o.serializePropName,DevExpress.data.utils.odata.serializeValue=o.serializeValue,DevExpress.data.utils.odata.serializeKey=o.serializeKey,DevExpress.data.utils.odata.sendRequest=o.sendRequest,DevExpress.data.queryAdapters=DevExpress.data.queryAdapters||{},DevExpress.data.queryAdapters.odata=n(103).odata}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(92),n(81),i.exports=DevExpress.framework={},DevExpress.framework.dxCommand=n(140),DevExpress.framework.Router=n(107),DevExpress.framework.StateManager=n(145),DevExpress.framework.ViewCache=n(58),DevExpress.framework.NullViewCache=n(58).NullViewCache,DevExpress.framework.ConditionalViewCacheDecorator=n(58).ConditionalViewCacheDecorator,DevExpress.framework.CapacityViewCacheDecorator=n(58).CapacityViewCacheDecorator,DevExpress.framework.HistoryDependentViewCacheDecorator=n(58).HistoryDependentViewCacheDecorator,DevExpress.framework.dxCommandContainer=n(142),DevExpress.framework.dxView=n(44).dxView,DevExpress.framework.dxLayout=n(44).dxLayout,DevExpress.framework.dxViewPlaceholder=n(44).dxViewPlaceholder,DevExpress.framework.dxContentPlaceholder=n(44).dxContentPlaceholder,DevExpress.framework.dxTransition=n(44).dxTransition,DevExpress.framework.dxContent=n(44).dxContent,DevExpress.framework.html={},DevExpress.framework.html.HtmlApplication=n(206),DevExpress.framework.Route=n(107).Route,DevExpress.framework.MemoryKeyValueStorage=n(145).MemoryKeyValueStorage,DevExpress.framework.NavigationDevices=n(106),DevExpress.framework.NavigationManager=n(79),DevExpress.framework.createActionExecutors=n(202).createActionExecutors,DevExpress.framework.Application=n(203).Application;var o=n(204);DevExpress.framework.DefaultBrowserAdapter=o.DefaultBrowserAdapter,DevExpress.framework.OldBrowserAdapter=o.OldBrowserAdapter,DevExpress.framework.BuggyAndroidBrowserAdapter=o.BuggyAndroidBrowserAdapter,DevExpress.framework.HistorylessBrowserAdapter=o.HistorylessBrowserAdapter,DevExpress.framework.BuggyCordovaWP81BrowserAdapter=o.BuggyCordovaWP81BrowserAdapter,DevExpress.framework.CommandMapping=n(141),DevExpress.framework.HistoryBasedNavigationDevice=n(106).HistoryBasedNavigationDevice,DevExpress.framework.StackBasedNavigationDevice=n(106).StackBasedNavigationDevice,DevExpress.framework.HistoryBasedNavigationManager=n(79).HistoryBasedNavigationManager,DevExpress.framework.StackBasedNavigationManager=n(79).StackBasedNavigationManager,DevExpress.framework.NavigationStack=n(79).NavigationStack,DevExpress.framework.utils=n(80).utils,DevExpress.framework.templateProvider=n(80).templateProvider,DevExpress.framework.html.CommandManager=n(205),DevExpress.framework.html.HtmlApplication=n(206),DevExpress.framework.html.layoutSets=n(105).layoutSets,DevExpress.framework.html.animationSets=n(105).animationSets,DevExpress.framework.html.DefaultLayoutController=n(143).DefaultLayoutController,DevExpress.framework.html.layoutSets=n(143).layoutSets,DevExpress.framework.html.MarkupComponent=n(144).MarkupComponent,DevExpress.framework.html.ViewEngine=n(207).ViewEngine,DevExpress.framework.html.ViewEngineComponents=n(44);var a=n(208);DevExpress.framework.html.commandToDXWidgetAdapters={dxToolbar:a.dxToolbar,dxList:a.dxList,dxNavBar:a.dxNavBar,dxPivot:a.dxPivot,dxSlideOut:a.dxSlideOut}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=window.WeakMap;a||(a=function(){var e=[],t=[];this.set=function(n,i){var a=o.inArray(n,e);-1===a?(e.push(n),t.push(i)):t[a]=i},this.get=function(n){var i=o.inArray(n,e);if(-1!==i)return t[i]},this.has=function(t){var n=o.inArray(t,e);return-1!==n}}),i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(38).DataSource}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return/^(localhost$|127\.)/i.test(e)}var a=n(10),r=n(198),s=window.location,l="ms-appx:"===s.protocol,c=o(s.hostname),d=function(e){this.config=e};d.prototype={urlFor:function(e){var t=this.config[e];if(!t)throw a.Error("E0006");return r.isProxyUsed()?r.formatProxyUrl(t.local):t.production&&(l&&!Debug.debuggerEnabled||!l&&!c)?t.production:t.local}},i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=a.abstract,s=n(24).errors,l=n(59),c=a.inherit({ctor:function(e,t){this._store=e,this._dirty=!1;var n=this._immediate=t.immediate,i=Math.max(100,t.flushInterval||1e4);if(!n){var a=o.proxy(this.save,this);setInterval(a,i),o(window).on("beforeunload",a),window.cordova&&document.addEventListener("pause",a,!1)}},notifyChanged:function(){this._dirty=!0,this._immediate&&this.save()},load:function(){this._store._array=this._loadImpl(),this._dirty=!1},save:function(){this._dirty&&(this._saveImpl(this._store._array),this._dirty=!1)},_loadImpl:r,_saveImpl:r}),d=c.inherit({ctor:function(e,t){this.callBase(e,t);var n=t.name;if(!n)throw s.Error("E4013");this._key="dx-data-localStore-"+n},_loadImpl:function(){var e=localStorage.getItem(this._key);return e?JSON.parse(e):[]},_saveImpl:function(e){e.length?localStorage.setItem(this._key,JSON.stringify(e)):localStorage.removeItem(this._key)}}),u={dom:d},h=l.inherit({ctor:function(e){e="string"==typeof e?{name:e}:e||{},this.callBase(e),this._backend=new u[e.backend||"dom"](this,e),this._backend.load()},clear:function(){this.callBase(),this._backend.notifyChanged()},_insertImpl:function(e){var t=this._backend;return this.callBase(e).done(o.proxy(t.notifyChanged,t))},_updateImpl:function(e,t){var n=this._backend;return this.callBase(e,t).done(o.proxy(n.notifyChanged,n))},_removeImpl:function(e){var t=this._backend;return this.callBase(e).done(o.proxy(t.notifyChanged,t))}},"local");i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(24),l=n(197),c=n(196);n(103);var d=a.inherit({ctor:function(e){var t=this;t._extractServiceOptions(e),t._errorHandler=e.errorHandler,o.each(e.entities||[],function(n,i){t[n]=new l(o.extend({},e,{url:t._url+"/"+encodeURIComponent(i.name||n)},i))})},get:function(e,t){return this.invoke(e,t,"GET")},invoke:function(e,t,n){t=t||{},n=(n||"POST").toLowerCase();var i,a=o.Deferred(),r=this._url+"/"+encodeURIComponent(e);return 4===this.version()&&("get"===n?(r=c.formatFunctionInvocationUrl(r,c.escapeServiceOperationParams(t,this.version())),t=null):"post"===n&&(i=t,t=null)),o.when(this._sendRequest(r,n,c.escapeServiceOperationParams(t,this.version()),i)).done(function(t){o.isPlainObject(t)&&e in t&&(t=t[e]),a.resolve(t)}).fail([this._errorHandler,s._errorHandler,a.reject]),a.promise()},objectLink:function(e,t){var n=this[e];if(!n)throw s.errors.Error("E4015",e);return r.isDefined(t)?{__metadata:{uri:n._byKeyUrl(t,!0)}}:null}}).include(c.SharedMethods);i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(139),r=n(24),s=n(194),l=function(e,t,n){n=n||[],t=t||{};var i=function(e,t){return{name:e,args:t}},c=function(l){function c(e){switch(e.name){case"sortBy":return _=[e.args],!0;case"thenBy":if(!_)throw r.errors.Error("E4004");return _.push(e.args),!0}return!1}function d(){var e=p[0],t=[];e&&"multiSort"===e.name&&(p.shift(),o.each(e.args[0],function(){t.push(i(t.length?"thenBy":"sortBy",this))})),p=t.concat(p)}var u,h,p,f,_,g=o.Deferred(),m=function(e){var n=t.errorHandler;n&&n(e),r._errorHandler(e),g.reject(e)};try{for(u=t.adapter,o.isFunction(u)||(u=a[u]),h=u(t),p=[].concat(n).concat(l);p.length;){if(f=p[0],!c(f)){if(_){p.unshift(i("multiSort",[_])),_=null;continue}if("enumerate"!==String(f.name)&&(!h[f.name]||h[f.name].apply(h,f.args)===!1))break}p.shift()}d(),h.exec(e).done(function(e,n){if(p.length){var i=s(e,{errorHandler:t.errorHandler});o.each(p,function(){i=i[this.name].apply(i,this.args)}),i.done(g.resolve).fail(g.reject)}else g.resolve(e,n)}).fail(m)}catch(e){m(e)}return g.promise()},d={};return o.each(["sortBy","thenBy","filter","slice","select","groupBy"],function(){var o=String(this);d[o]=function(){return l(e,t,n.concat(i(o,arguments)))}}),o.each(["count","min","max","sum","avg","aggregate","enumerate"],function(){var e=String(this);d[e]=function(){return c.call(this,i(e,arguments))}}),d};i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(104),r=n(199),s=n(201),l=n(4),c={dxpointerdown:"touchstart mousedown",dxpointermove:"touchmove mousemove",dxpointerup:"touchend mouseup",dxpointercancel:"touchcancel",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},d=!1,u=function(){d||(r.activate(),d=!0)},h=a.inherit({EVENT_LOCK_TIMEOUT:100,ctor:function(){this.callBase.apply(this,arguments),u()},_handler:function(e){var t=l.isMouseEvent(e);if(t||(this._skipNextEvents=!0),!t||!this._mouseLocked){if(t&&this._skipNextEvents){this._skipNextEvents=!1,this._mouseLocked=!0,clearTimeout(this._unlockMouseTimer);var n=this;return void(this._unlockMouseTimer=setTimeout(function(){n._mouseLocked=!1},this.EVENT_LOCK_TIMEOUT))}return this.callBase(e)}},_fireEvent:function(e){var t=l.isMouseEvent(e.originalEvent),n=t?r.normalize:s.normalize;return this.callBase(o.extend(n(e.originalEvent),e))},dispose:function(){this.callBase(),this._skipNextEvents=!1,this._mouseLocked=!1,clearTimeout(this._unlockMouseTimer)}});h.map=c,h.resetObserver=r.resetObserver,i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(104),r=n(200),s=n(21);n(276);var l,c=s.msie&&10===parseInt(s.version),d={dxpointerdown:"MSPointerDown pointerdown",dxpointermove:"MSPointerMove pointermove",dxpointerup:"MSPointerUp pointerup",dxpointercancel:"MSPointerCancel pointercancel",dxpointerover:"MSPointerOver pointerover",dxpointerout:"MSPointerOut pointerout",dxpointerenter:c?"mouseenter":"MSPointerEnter pointerenter",dxpointerleave:c?"mouseleave":"MSPointerLeave pointerleave"},u=!1,h=function(){u||(l=new r(d,function(e,t){return e.pointerId===t.pointerId},function(e){e.isPrimary&&l.reset()}),u=!0)},p=a.inherit({ctor:function(){this.callBase.apply(this,arguments),h()},_fireEvent:function(e){return this.callBase(o.extend({pointers:l.pointers(),pointerId:e.originalEvent.pointerId},e))}});p.map=d,p.resetObserver=function(){l.reset()},i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a={2:"touch",3:"pen",4:"mouse"},r={filter:function(e,t){var n=t.pointerType;return o.isNumeric(n)&&(e.pointerType=a[n]),e},props:o.event.mouseHooks.props.concat(["pointerId","pointerType","originalTarget","width","height","pressure","result","tiltX","charCode","tiltY","detail","isPrimary","prevValue"])};o.each(["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel","MSPointerOver","MSPointerOut","mouseenter","mouseleave","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","pointerenter","pointerleave"],function(){o.event.fixHooks[this]=r})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a={filter:function(e,t){var n=t.touches.length?t.touches:t.changedTouches;return o.each(["pageX","pageY","screenX","screenY","clientX","clientY"],function(){e[this]=n[0][this]}),e},props:o.event.mouseHooks.props.concat(["touches","changedTouches","targetTouches","detail","result","originalTarget","charCode","prevValue"])};o.each(["touchstart","touchmove","touchend","touchcancel"],function(){o.event.fixHooks[this]=a})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(62),r=n(10),s=n(4),l=n(77),c=n(60),d="dx",u="transform",h="translate",p="zoom",f="pinch",_="rotate",g="start",m="",v="end",x=[],w=function(e,t){x.push({name:e,args:t})};w(u,{scale:!0,deltaScale:!0,rotation:!0,deltaRotation:!0,translation:!0,deltaTranslation:!0}),w(h,{translation:!0,deltaTranslation:!0}),w(p,{scale:!0,deltaScale:!0}),w(f,{scale:!0,deltaScale:!0}),w(_,{rotation:!0,deltaRotation:!0});var y=function(e,t){return{x:t.pageX-e.pageX,y:-t.pageY+e.pageY,centerX:.5*(t.pageX+e.pageX),centerY:.5*(t.pageY+e.pageY)}},b=function(e){var t=e.pointers;return y(t[0],t[1])},C=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},k=function(e,t){return C(e)/C(t)},S=function(e,t){var n=e.x*t.x+e.y*t.y,i=C(e)*C(t);if(0===i)return 0;var o=a.sign(e.x*t.y-t.x*e.y),r=Math.acos(a.fitIntoRange(n/i,-1,1));return o*r},T=function(e,t){return{x:e.centerX-t.centerX,y:e.centerY-t.centerY}},I=l.inherit({configurate:function(e,t){t.indexOf(p)>-1&&r.log("W0005",t,"15.1","Use '"+t.replace(p,f)+"' event instead"),this.callBase(e)},validatePointers:function(e){return s.hasTouches(e)>1},start:function(e){this._accept(e);var t=b(e);this._startVector=t,this._prevVector=t,this._fireEventAliases(g,e)},move:function(e){var t=b(e),n=this._getEventArgs(t);this._fireEventAliases(m,e,n),this._prevVector=t},end:function(e){var t=this._getEventArgs(this._prevVector);this._fireEventAliases(v,e,t)},_getEventArgs:function(e){return{scale:k(e,this._startVector),deltaScale:k(e,this._prevVector),rotation:S(e,this._startVector),deltaRotation:S(e,this._prevVector),translation:T(e,this._startVector),deltaTranslation:T(e,this._prevVector)
}},_fireEventAliases:function(e,t,n){n=n||{},o.each(x,o.proxy(function(i,a){var r={};o.each(a.args,function(e){e in n&&(r[e]=n[e])}),this._fireEvent(d+a.name+e,t,r)},this))}}),D=o.map(x,function(e){var t=[];return o.each([g,m,v],function(n,i){t.push(d+e.name+i)}),t});c({emitter:I,events:D}),o.each(D,function(e,n){t[n.substring(d.length)]=n})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){window.angular&&(n(281),n(284),n(282),n(280))}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(52);o.registerExecutor({ngExpression:{execute:function(e){"string"==typeof e.action&&e.context.$eval(e.action)}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a=n(1),r=n(3),s=n(5),l=n(193),c=n(11),d=n(18),u=n(31),h=n(286),p=n(146),f=n(136),_=n(28),g=n(16).compileSetter,m=n(16).compileGetter,v=n(30).extendFromObject,x="dxItemAlias",w="dxTemplateModel",y="dxTemplateModelIsPrimitive",b=["rendering"],C=function(e,t){if(t.$root.$$phase)return e(t);o=new a.Deferred;var n=t.$apply(function(){return e(t)});return o.resolve(),n},k=s.inherit({ctor:function(e){this._componentDisposing=a.Callbacks(),this._optionChangedCallbacks=a.Callbacks(),this._ngLocker=new l,this._scope=e.scope,this._$element=e.$element,this._$templates=e.$templates,this._componentClass=e.componentClass,this._parse=e.parse,this._compile=e.compile,this._itemAlias=e.itemAlias,this._transcludeFn=e.transcludeFn,this._digestCallbacks=e.dxDigestCallbacks,this._normalizeOptions(e.ngOptions),this._initComponentBindings(),this._initComponent(this._scope),e.ngOptions?this._triggerResizeEvent():this._addOptionsStringWatcher(e.ngOptionsString)},_addOptionsStringWatcher:function(e){var t=this,n=t._scope.$watch(e,function(e){e&&(n(),t._normalizeOptions(e),t._initComponentBindings(),t._component.option(t._evalOptions(t._scope)),t._triggerResizeEvent())});t._componentDisposing.add(n)},_normalizeOptions:function(e){var t=this;t._ngOptions=v({},e),e&&e.bindingOptions&&a.each(e.bindingOptions,function(e,n){"string"===a.type(n)&&(t._ngOptions.bindingOptions[e]={dataPath:n})})},_triggerResizeEvent:function(){var e=this;clearTimeout(e._shownEventTimer),e._shownEventTimer=setTimeout(function(){c.triggerResizeEvent(e._$element)}),e._componentDisposing.add(function(){clearTimeout(e._shownEventTimer)})},_initComponent:function(e){this._component=new this._componentClass(this._$element,this._evalOptions(e)),this._component._isHidden=!0,this._handleDigestPhase()},_handleDigestPhase:function(){var e=this,t=function(){e._component.beginUpdate()},n=function(){e._component.endUpdate()};e._digestCallbacks.begin.add(t),e._digestCallbacks.end.add(n),e._componentDisposing.add(function(){e._digestCallbacks.begin.remove(t),e._digestCallbacks.end.remove(n)})},_initComponentBindings:function(){var e=this,t={};e._ngOptions.bindingOptions&&(a.each(e._ngOptions.bindingOptions,function(n,i){var r,s,l=n.search(/\[|\./),c=l>-1?n.substring(0,l):n,d=i.dataPath,u=!0,h=!1;void 0!==i.deep&&(h=u=!!i.deep),t[c]||(t[c]={}),t[c][n]=d;var p=function(t,i){return e._ngLocker.locked(n)?void(o||e._ngLocker.release(n)):(e._ngLocker.obtain(n),e._component.option(n,t),f(),void(e._component._optionValuesEqual(n,i,t)&&e._ngLocker.locked(n)&&e._ngLocker.release(n)))},f=function(){var t=a.isArray(e._scope.$eval(d))&&!h?"$watchCollection":"$watch";r!==t&&(s&&s(),s=e._scope[t](d,p,u),r=t)};f(),e._componentDisposing.add(s)}),e._optionChangedCallbacks.add(function(n){var i=n.name,r=n.fullName,s=n.component;return e._ngLocker.locked(r)?void e._ngLocker.release(r):void("$digest"!==e._scope.$root.$$phase&&t&&t[i]&&(e._ngLocker.obtain(r),C(function(n){a.each(t[i],function(t,n){var i=s.option(t);e._parse(n).assign(e._scope,i);var o=e._parse(n)(e._scope);o!==i&&e._component.option(t,o)})},e._scope),o&&o.done(function(){e._ngLocker.release(r)})))}))},_compilerByTemplate:function(e){var t=this,n=this._getScopeItemsPath();return function(i,o,r){var s=a(e).clone(),l=i&&i.constructor===t._scope.$root.constructor,c=l?i:t._createScopeWithData(i);return n&&t._synchronizeScopes(c,n,o),s.appendTo(r).on("$destroy",function(){var e=!c.$parent;e||c.$destroy()}),t._applyAsync(t._compile(s,t._transcludeFn),c),s}},_applyAsync:function(e,t){var n=this;e(t),t.$root.$$phase||(clearTimeout(n._renderingTimer),n._renderingTimer=setTimeout(function(){t.$apply()}),n._componentDisposing.add(function(){clearTimeout(n._renderingTimer)}))},_getScopeItemsPath:function(){return this._componentClass.subclassOf(_)&&this._ngOptions.bindingOptions&&this._ngOptions.bindingOptions.items?this._ngOptions.bindingOptions.items.dataPath:void 0},_createScopeWithData:function(e){var t=this._scope.$new(),n=e&&"object"!=typeof e&&"function"!=typeof e;return t[w]=e,t[y]=!!n,this._itemAlias&&(t[this._itemAlias]=e),t},_synchronizeScopes:function(e,t,n){var i=this,o=[w];i._itemAlias&&"object"!=typeof e[i._itemAlias]&&o.push(i._itemAlias),a.each(o,function(o,a){i._synchronizeScopeField({parentScope:i._scope,childScope:e,fieldPath:a,parentPrefix:t,itemIndex:n})})},_synchronizeScopeField:function(e){var t,n=e.parentScope,i=e.childScope,o=e.fieldPath,a=e.parentPrefix,r=e.itemIndex,s=o===(this._itemAlias||w)?"":"."+o,l=void 0!==r,c=[a];l&&c.push("[",r,"]"),c.push(s),t=c.join("");var d=n.$watch(t,function(e,t){e!==t&&g(o)(i,e)}),u=i.$watch(o,function(e,i){if(e!==i){if(l&&!m(a)(n)[r])return void u();g(t)(n,e)}});this._componentDisposing.add([d,u])},_evalOptions:function(e){var t=v({},this._ngOptions);return delete t.bindingOptions,this._ngOptions.bindingOptions&&a.each(this._ngOptions.bindingOptions,function(n,i){t[n]=e.$eval(i.dataPath)}),t._optionChangedCallbacks=this._optionChangedCallbacks,t._disposingCallbacks=this._componentDisposing,t.templateProvider=h,t.templateCompiler=a.proxy(function(e){return this._compilerByTemplate(e)},this),t.onActionCreated=function(t,n,i){if(i&&a.inArray(i.category,b)>-1)return n;var o=function(){var t=this,i=arguments;return e&&e.$root&&!e.$root.$$phase?C(function(){return n.apply(t,i)},e):n.apply(t,i)};return o},t.nestedComponentOptions=function(e){return{templateCompiler:e.option("templateCompiler"),modelByElement:e.option("modelByElement"),onActionCreated:e.option("onActionCreated"),nestedComponentOptions:e.option("nestedComponentOptions")}},t.templatesRenderAsynchronously=!0,t.watchMethod=function(t,n,i){var o=e.$watch(t,function(e,t){e!==t&&(o(),n())},!0);a(i).on(f,function(){o()})},t.modelByElement=function(){return e},t}});k=k.inherit({ctor:function(e){this._componentName=e.componentName,this._ngModel=e.ngModel,this._ngModelController=e.ngModelController,this.callBase.apply(this,arguments)},_isNgModelRequired:function(){return this._componentClass.subclassOf(u)&&this._ngModel},_initComponentBindings:function(){this.callBase.apply(this,arguments),this._initNgModelBinding()},_initNgModelBinding:function(){if(this._isNgModelRequired()){var e=this,t=this._scope.$watch(this._ngModel,function(t,n){e._ngLocker.locked(e._ngModelOption())||t!==n&&e._component.option(e._ngModelOption(),t)});e._optionChangedCallbacks.add(function(t){e._ngLocker.obtain(e._ngModelOption());try{if(t.name!==e._ngModelOption())return;e._ngModelController.$setViewValue(t.value)}finally{e._ngLocker.release(e._ngModelOption())}}),this._componentDisposing.add(t)}},_ngModelOption:function(){return a.inArray(this._componentName,["dxFileUploader","dxTagBox"])>-1?"values":"value"},_evalOptions:function(){if(!this._isNgModelRequired())return this.callBase.apply(this,arguments);var e=this.callBase.apply(this,arguments);return e[this._ngModelOption()]=this._parse(this._ngModel)(this._scope),e}});var S={},T=function(e){var t="dxValidator"!==e?1:10;p.directive(e,["$compile","$parse","dxDigestCallbacks",function(n,i,o){return{restrict:"A",require:"^?ngModel",priority:t,compile:function(t){var a=S[e],r=a.subclassOf(d)?t.contents().detach():null;return function(t,s,l,c,d){s.append(r),C(function(){new k({componentClass:a,componentName:e,compile:n,parse:i,$element:s,scope:t,ngOptionsString:l[e],ngOptions:l[e]?t.$eval(l[e]):{},ngModel:l.ngModel,ngModelController:c,transcludeFn:d,itemAlias:l[x],dxDigestCallbacks:o})},t)}}}}])};r.callbacks.add(function(e,t){S[e]||T(e),S[e]=t})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(135),r=n(146),s=n(76),l=n(29),c=n(10);r.directive("dxIcon",["$compile",function(e){return{restrict:"E",link:function(t,n,i){var o=s.getImageContainer(t.dxTemplateModel.icon||t.dxTemplateModel.iconSrc);if(o){var a=e(o.get(0))(t);n.replaceWith(a)}}}}]),r.directive("dxPolymorphWidget",["$compile",function(e){return{restrict:"E",scope:{name:"=",options:"="},link:function(t,n,i){var a=t.name;if(a){if("button"===a||"tabs"===a||"dropDownMenu"===a){var r=a;a=l.camelize("dx-"+a),c.log("W0001","dxToolbar - 'widget' item field",r,"16.1","Use: '"+a+"' instead")}var s=o("<div "+l.dasherize(a)+'="options">').get(0);n.after(s),e(s)(t)}}}}]),r.service("dxDigestCallbacks",["$rootScope",function(e){var t=new a,n=new a,i=!1;return e.$watch(function(){i||(i=!0,t.fire(),e.$$postDigest(function(){i=!1,n.fire()}))}),{begin:t,end:n}}])}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a={},r="dx-template-wrapper",s={container:function(){return o("<div>").addClass(r)},html:function(){return o("<div>").attr("ng-if","dxTemplateModel.html").attr("ng-bind-html","dxTemplateModel.html")},text:function(e){return e=e||"<div>",o(e).attr("ng-if","dxTemplateModel.text").attr("ng-if","!dxTemplateModel.html").attr("ng-bind","dxTemplateModel.text")},primitive:function(){return o("<div>").attr("ng-if","dxTemplateModelIsPrimitive").attr("ng-bind","'' + dxTemplateModel")}},l=function(){return o()};a.CollectionWidget={item:function(){return s.container().append(s.html()).append(s.text()).append(s.primitive())},itemFrame:function(){var e=o("<div>").attr("ng-class","{ 'dx-state-invisible': !dxTemplateModel.visible && dxTemplateModel.visible != undefined, 'dx-state-disabled': !!dxTemplateModel.disabled }"),t=o("<div>").addClass("dx-item-content-placeholder");return e.append(t),e}};var c="dx-button-text";a.dxButton={content:function(){var e=o("<span>").attr("ng-bind","dxTemplateModel.text").attr("ng-class","{ '"+c+"' : !!dxTemplateModel.text }"),t=o("<dx-icon>");return s.container().append(t).append(e).append(s.primitive())}};var d="dx-list-item-badge-container",u="dx-list-item-badge",h="dx-badge",p="dx-list-item-chevron-container",f="dx-list-item-chevron";a.dxList={item:function(){return a.CollectionWidget.item().append(o("<div>").attr("ng-if","dxTemplateModel.key").attr("ng-bind","dxTemplateModel.key"))},itemFrame:function(){var e=o("<div>").addClass(d).attr("ng-if","dxTemplateModel.badge"),t=o("<div>").addClass(u).addClass(h).attr("ng-bind","dxTemplateModel.badge"),n=o("<div>").addClass(p).attr("ng-if","dxTemplateModel.showChevron"),i=o("<div>").addClass(f);return a.CollectionWidget.itemFrame().append(e.append(t)).append(n.append(i))},group:function(){var e=o("<div>").attr("ng-if","dxTemplateModel.key").attr("ng-bind","dxTemplateModel.key");return s.container().append(e).append(s.primitive())}},a.dxDropDownMenu={item:a.dxList.item,content:a.dxButton.content},a.dxDropDownList={item:a.dxList.item},a.dxRadioGroup={item:a.CollectionWidget.item},a.dxScheduler={item:function(){var e=a.CollectionWidget.item(),t=o("<div>").addClass("dx-scheduler-appointment-content-details");return o("<div>").attr("ng-if","dxTemplateModel.allDay").addClass("dx-scheduler-appointment-content-allday").text(" All day: ").appendTo(t),o("<div>").attr("ng-if","dxTemplateModel.startDate").addClass("dx-scheduler-appointment-content-date").text("{{dxTemplateModel.startDate | date : 'shortTime' }}").appendTo(t),o("<div>").attr("ng-if","dxTemplateModel.endDate").addClass("dx-scheduler-appointment-content-date").text(" - ").appendTo(t),o("<div>").attr("ng-if","dxTemplateModel.endDate").addClass("dx-scheduler-appointment-content-date").text("{{dxTemplateModel.endDate | date : 'shortTime' }}").appendTo(t),t.appendTo(e),o("<span>").attr("ng-if","dxTemplateModel.recurrenceRule").addClass("dx-scheduler-appointment-recurrence-icon dx-icon-repeat").appendTo(e),e},appointmentTooltip:l,appointmentPopup:l},a.dxOverlay={content:l},a.dxSlideOutView={menu:l,content:l},a.dxSlideOut={menuItem:a.dxList.item,menuGroup:a.dxList.group,content:l},a.dxAccordion={title:function(){var e=o("<span>").attr("ng-if","dxTemplateModel.title").attr("ng-bind","dxTemplateModel.title"),t=o("<dx-icon>");return s.container().append(t).append(e).append(s.primitive())},content:a.CollectionWidget.item},a.dxPivotTabs={item:function(){return s.container().append(o("<span>").attr("ng-if","dxTemplateModel.title").attr("ng-bind","dxTemplateModel.title")).append(s.primitive())}},a.dxPivot={title:a.dxPivotTabs.item,content:l};var _="dx-panorama-item-title";a.dxPanorama={itemFrame:function(){return a.CollectionWidget.itemFrame().prepend(o("<div>").addClass(_).attr("ng-if","dxTemplateModel.title").attr("ng-bind","dxTemplateModel.title"))}},a.dxActionSheet={item:function(){return s.container().append(o("<div>").attr("dx-button","{ bindingOptions: { text: 'dxTemplateModel.text', onClick: 'dxTemplateModel.onClick', type: 'dxTemplateModel.type', disabled: 'dxTemplateModel.disabled' } }"))}},a.dxToolbarBase={item:function(){var e=a.CollectionWidget.item();return o('<dx-polymorph-widget name="dxTemplateModel.widget" options="dxTemplateModel.options">').appendTo(e),e},actionSheetItem:a.dxActionSheet.item},a.dxToolbarBase.menuItem=a.dxToolbarBase.item;var g="dx-gallery-item-image";a.dxGallery={item:function(){return s.container().append(s.html()).append(s.text()).append(o("<img>").addClass(g).attr("ng-if","!dxTemplateModel.imageSrc").attr("ng-src","{{'' + dxTemplateModel}}")).append(o("<img>").addClass(g).attr("ng-if","dxTemplateModel.imageSrc").attr("ng-src","{{dxTemplateModel.imageSrc}}").attr("ng-attr-alt","{{dxTemplateModel.imageAlt}}"))}};var m="dx-tab-text";a.dxTabs={item:function(){var e=s.container(),t=o("<dx-icon>"),n=s.text("<span>").addClass(m);return e.append(s.html()).append(t).append(n).append(s.primitive().addClass(m))},itemFrame:function(){var e=o("<div>").addClass("dx-tabs-item-badge dx-badge").attr("ng-bind","dxTemplateModel.badge").attr("ng-if","dxTemplateModel.badge");return a.CollectionWidget.itemFrame().append(e)}};var v="dx-navbar-item-badge";a.dxNavBar={itemFrame:function(){var e=o("<div>").addClass(v).addClass(h).attr("ng-if","dxTemplateModel.badge").attr("ng-bind","dxTemplateModel.badge");return a.CollectionWidget.itemFrame().append(e)}},a.dxMenuBase={item:function(){var e=s.container(),t=o("<span>").attr("ng-if","dxTemplateModel.text").addClass("dx-menu-item-text").attr("ng-bind","dxTemplateModel.text"),n=o("<dx-icon>"),i=o("<span>").addClass("dx-menu-item-popout-container").attr("ng-if","dxTemplateModel.items").append(o("<div>").addClass("dx-menu-item-popout"));return e.append(s.html()).append(n).append(t).append(i).append(s.primitive()).appendTo(e),e}},a.dxTreeView={item:function(){var e=s.container(),t=o("<span/>").attr("ng-bind","dxTemplateModel.text"),n=o("<dx-icon>");return e.append(s.html()).append(n).append(t).append(s.primitive()),e}},a.dxTabPanel={item:a.CollectionWidget.item,title:function(){var e=a.dxTabs.item();return e.find(".dx-tab-text").eq(0).attr("ng-bind","dxTemplateModel.title").attr("ng-if","dxTemplateModel.title"),e.find("[ng-if='dxTemplateModel.html']").remove(),e}};var x=function(){return o("<div>").attr("dx-toolbar-base","{ bindingOptions: { items: 'dxTemplateModel' } }")};a.dxPopup={title:x,bottom:x},a.dxLookup={title:a.dxPopup.title,group:a.dxList.group};var w="dx-tag-content",y="dx-tag-remove-button";a.dxTagBox={tag:function(){return o("<div>").addClass(w).append(o("<span>").attr("ng-bind","dxTemplateModel")).append(o("<div>").addClass(y))}},i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(42),r=n(146);a.callbacks.add(function(e,t){var n=e.slice(0,2)+e.charAt(2).toUpperCase()+e.slice(3);r.directive(n,["$parse",function(t){return function(i,a,r){var s,l=o.trim(r[n]),c={};"{"===l.charAt(0)?(c=i.$eval(l),s=t(c.execute)):s=t(r[n]),a.on(e,c,function(e){i.$apply(function(){s(i,{$event:e})})})}}])})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(46),r=n(11),s=a.inherit({ctor:function(e,t){this.callBase(e,t),this.setCompiler(this._getParentTemplateCompiler())},_getParentTemplateCompiler:function(){for(var e=null,t=this.owner();!e&&t;)e=o.isFunction(t.option)?t.option("templateCompiler"):null,t=o.isFunction(t.owner)?t.owner():null;return e},_renderCore:function(e,t,n){var i=this._compiledTemplate,a=o.isFunction(i)?i(e,t,n):i;return a},setCompiler:function(e){e&&(this._compiledTemplate=e(r.normalizeTemplateElement(this._element)))}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(11),r=n(153),s=n(285),l=n(283),c=r.constructor.inherit({createTemplate:function(e,t){return new s(e,t)},getTemplates:function(e){var t=e.option("templateCompiler"),n=this.callBase.apply(this,arguments);return o.each(n,function(e,n){n.setCompiler&&n.setCompiler(t)}),n},_templatesForWidget:function(e){var t=l[e];if(!t)return this.callBase(e);var n={};return o.each(t,function(e,t){var i=a.createMarkupFromString(t());n[e]=new s(i.wrap(),d)}),n}}),d=new c;i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(39),r=o.cleanData,s=n(53).compare;s(o.fn.jquery,[2,0])<0||(o.cleanData=function(e){for(var t=r(e),n=0;n<e.length;n++)e[n].cleanedByJquery=!0;for(n=0;n<e.length;n++)e[n].cleanedByKo||a.cleanNode(e[n]),delete e[n].cleanedByKo;for(n=0;n<e.length;n++)delete e[n].cleanedByJquery;return t},a.utils.domNodeDisposal.cleanExternalData=function(e){e.cleanedByKo=!0,e.cleanedByJquery||o.cleanData([e])})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(39),r=n(53).compare;if(!(r(o.fn.jquery,[2,0])>=0)){var s=function(e,t){var n=function(){a.cleanNode(this)};t?e.each(n):e.find("*").each(n)},l=o.fn.empty;o.fn.empty=function(){return s(this,!1),l.apply(this,arguments)};var c=o.fn.remove;o.fn.remove=function(e,t){if(!t){var n=this;e&&(n=n.filter(e)),s(n,!0)}return c.call(this,e,t)};var d=o.fn.html;o.fn.html=function(e){return"string"==typeof e&&s(this,!1),d.apply(this,arguments)};var u=o.fn.replaceWith;o.fn.replaceWith=function(e){var t=u.apply(this,arguments);return this.parent().length||s(this,!0),t}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(39),r=n(3),s=n(18),l=n(209),c=n(31),d=n(193),u="dxKoLocks",h="dxKoCreation",p=[],f=function(e,t){t.subclassOf(c)&&p.push(e),a.bindingHandlers[e]={init:function(n,i){var r=o(n),c=o.Callbacks(),p={templateProvider:l,modelByElement:function(e){return e.length?a.dataFor(e.get(0)):void 0},nestedComponentOptions:function(e){return{modelByElement:e.option("modelByElement"),nestedComponentOptions:e.option("nestedComponentOptions")}},watchMethod:function(e,t,n){var i;a.computed(function(){i&&t(),i=e()},null,{disposeWhenNodeIsRemoved:n})},_optionChangedCallbacks:c},f={},_=function(t,n){var i=r.data(e),o=r.data(u),s=a.unwrap(n);if(a.isWriteableObservable(n)&&(f[t]=n),i){if(o.locked(t))return;o.obtain(t);try{a.ignoreDependencies?a.ignoreDependencies(i.option,i,[t,s]):i.option(t,s)}finally{o.release(t)}}else p[t]=s},g=function(e){var t=e.fullName,n=e.value;if(t in f){var i=this._$element,o=i.data(u);if(!o.locked(t)){o.obtain(t);try{f[t](n)}finally{o.release(t)}}}},m=function(){c.add(g),r.data(h,!0).data(u,new d)[e](p),p=null},v=function(e,t,i){var r;a.computed(function(){var n=e[t];_(i,n),r=a.unwrap(n)},null,{disposeWhenNodeIsRemoved:n}),o.isPlainObject(r)&&x(r,i)},x=function(e,t){for(var n in e)e.hasOwnProperty(n)&&v(e,n,t?[t,n].join("."):n)};return a.computed(function(){var t=r.data(e),n=a.unwrap(i());t&&t.beginUpdate(),x(n),t?t.endUpdate():m()},null,{disposeWhenNodeIsRemoved:n}),{controlsDescendantBindings:t.subclassOf(s)}}},"dxValidator"===e&&(a.bindingHandlers.dxValidator.after=p)};r.callbacks.add(function(e,t){f(e,t)})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(10),r=n(52),s=n(16).compileGetter,l=n(39),c=n(76),d=n(29),u=n(9),h=n(12),p=n(14);l.bindingHandlers.dxAction={update:function(e,t,n,i){var a=o(e),c=l.utils.unwrapObservable(t()),d=c,h={context:e};c.execute&&(d=c.execute,o.extend(h,c));var p=new r(d,h);a.off(".dxActionBinding").on(u.name+".dxActionBinding",function(t){p.execute({element:a,model:i,evaluate:function(t){var n=i;t.length>0&&"$"===t[0]&&(n=l.contextFor(e));var o=s(t);return o(n)},jQueryEvent:t}),h.bubbling||t.stopPropagation()})}},l.bindingHandlers.dxControlsDescendantBindings={init:function(e,t){return{controlsDescendantBindings:l.unwrap(t())}}},l.bindingHandlers.dxPolymorphWidget={init:function(e,t,n,i,r){var s=l.utils.unwrapObservable(t()).name;if(s){if(l.virtualElements.emptyNode(e),"button"===s||"tabs"===s||"dropDownMenu"===s){var c=s;s=d.camelize("dx-"+s),a.log("W0001","dxToolbar - 'widget' item field",c,"16.1","Use: '"+s+"' instead")}var u=o('<div data-bind="'+s+': options">').get(0);l.virtualElements.prepend(e,u);var h=r.extend(t);return l.applyBindingsToDescendants(h,e),{controlsDescendantBindings:!0}}}},l.virtualElements.allowedBindings.dxPolymorphWidget=!0,l.bindingHandlers.dxIcon={init:function(e,t){var n=l.utils.unwrapObservable(t())||{},i=c.getImageContainer(n);l.virtualElements.emptyNode(e),i&&l.virtualElements.prepend(e,i.get(0))},update:function(e,t){var n=l.utils.unwrapObservable(t())||{},i=c.getImageContainer(n);l.virtualElements.emptyNode(e),i&&l.virtualElements.prepend(e,i.get(0))}},l.virtualElements.allowedBindings.dxIcon=!0,l.bindingHandlers.dxShorttimeDate={update:function(e,t,n){return l.bindingHandlers.text.update(e,function(){var e=l.utils.unwrapObservable(t());return h.serializeDate(h.makeDate(e),"shorttime",o.proxy(p.format,p))},n,null,null)}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a={},r=function(e,t,n,i){n=void 0===n?!0:n;var a=o.map(t,function(e,t){return t+":"+e}).join(",");return i=i||"","<"+e+' data-bind="'+a+'" '+i+">"+(n?"</"+e+">":"")},s={css:"{ 'dx-state-disabled': $data.disabled, 'dx-state-invisible': !($data.visible === undefined || ko.unwrap($data.visible)) }"},l=function(){return""};a.CollectionWidget={itemFrame:function(){var e=[r("div",s,!1),"<div class='dx-item-content-placeholder'></div>","</div>"];return e.join("")},item:function(){var e=r("div",{html:"html"}),t=r("div",{text:"text"}),n=r("div",{text:"String($data)"}),i=["<div>","<!-- ko if: $data.html -->",e,"<!-- /ko -->","<!-- ko if: !$data.html && $data.text -->",t,"<!-- /ko -->","<!-- ko ifnot: jQuery.isPlainObject($data) -->",n,"<!-- /ko -->","</div>"];return i.join("")}};var c="dx-button-text";a.dxButton={content:function(){var e=r("span",{text:"$data.text",css:"{ '"+c+"' : !!$data.text }"}),t=["<div>","<!-- ko dxIcon: $data.icon || $data.iconSrc --><!-- /ko -->",e,"</div>"];return t.join("")}};var d="dx-list-item-badge-container",u="dx-list-item-badge",h="dx-badge",p="dx-list-item-chevron-container",f="dx-list-item-chevron";a.dxList={item:function(){var e=a.CollectionWidget.item(),t=r("div",{text:"key"});return e=[e.substring(0,e.length-6),"<!-- ko if: $data.key -->"+t+"<!-- /ko -->","</div>"],e.join("")},itemFrame:function(){var e=a.CollectionWidget.itemFrame(),t=r("div",{text:"badge"},!0,'class="'+u+" "+h+'"'),n=[e.substring(0,e.length-6),"<!-- ko if: $data.badge -->",'<div class="'+d+'">',t,"</div>","<!-- /ko -->","<!-- ko if: $data.showChevron -->",'<div class="'+p+'">','<div class="'+f+'"></div>',"</div>","<!-- /ko -->","</div>"];return n.join("")},group:function(){var e=r("div",{text:"key"}),t=r("div",{text:"String($data)"}),n=["<div>","<!-- ko if: $data.key -->",e,"<!-- /ko -->","<!-- ko ifnot: jQuery.isPlainObject($data) -->",t,"<!-- /ko -->","</div>"];return n.join("")}},a.dxDropDownMenu={item:a.dxList.item,content:a.dxButton.content},a.dxDropDownList={item:a.dxList.item},a.dxRadioGroup={item:a.CollectionWidget.item},a.dxScheduler={item:function(){var e=a.CollectionWidget.item(),t=r("div class='dx-scheduler-appointment-content-date'",{dxShorttimeDate:"$data.startDate"}),n=r("div class='dx-scheduler-appointment-content-date'",{dxShorttimeDate:"$data.endDate"}),i=r("div class='dx-scheduler-appointment-content-allday'",{text:"' All day: '"}),o=r("div class='dx-scheduler-appointment-content-date'",{text:"' - '"});return e=[e.substring(0,e.length-6),"<div class='dx-scheduler-appointment-content-details'>","<!-- ko if: $data.allDay -->"+i+"<!-- /ko -->","<!-- ko if: $data.startDate -->"+t+"<!-- /ko -->","<!-- ko if: $data.endDate -->"+o+"<!-- /ko -->","<!-- ko if: $data.endDate -->"+n+"<!-- /ko -->","</div>","<!-- ko if: $data.recurrenceRule --><span class='dx-scheduler-appointment-recurrence-icon dx-icon-repeat'></span><!-- /ko -->","</div>"],e.join("")},appointmentTooltip:l,appointmentPopup:l},a.dxOverlay={content:l},a.dxSlideOutView={menu:l,content:l},a.dxSlideOut={menuItem:a.dxList.item,menuGroup:a.dxList.group,content:l},a.dxAccordion={title:function(){var e=r("span",{text:"jQuery.isPlainObject($data) ? $data.title : String($data)"}),t=["<div>","<!-- ko dxIcon: $data.icon || $data.iconSrc --><!-- /ko -->",e,"</div>"];return t.join("")},item:a.CollectionWidget.item},a.dxResponsiveBox={item:a.CollectionWidget.item},a.dxPivotTabs={item:function(){var e=r("span",{text:"title"}),t=r("div",{text:"String($data)"}),n=["<div>","<!-- ko if: $data.title -->",e,"<!-- /ko -->","<!-- ko ifnot: $data.title || jQuery.isPlainObject($data) -->",t,"<!-- /ko -->","</div>"];return n.join("")}},a.dxPivot={title:a.dxPivotTabs.item,content:l};var _="dx-panorama-item-title";a.dxPanorama={itemFrame:function(){var e=a.CollectionWidget.itemFrame(),t=r("div",{text:"title"},!0,'class="'+_+'"'),n=e.indexOf(">")+1;return e=[e.substring(0,n),"<!-- ko if: $data.title -->",t,"<!-- /ko -->",e.substring(n,e.length)],e.join("")}},a.dxActionSheet={item:function(){return["<div>",r("div",{dxButton:"{ text: $data.text, onClick: $data.clickAction || $data.onClick, type: $data.type, disabled: !!ko.unwrap($data.disabled) }"}),"</div>"].join("")}},a.dxToolbarBase={item:function(){var e=a.CollectionWidget.item();return e=[e.substring(0,e.length-6),"<!-- ko if: $data.widget -->"],e.push("<!-- ko dxPolymorphWidget: { name: $data.widget, options: $data.options } --><!-- /ko -->"),e.push("<!-- /ko -->"),e.join("")},actionSheetItem:a.dxActionSheet.item},a.dxToolbarBase.menuItem=a.dxToolbarBase.item;var g="dx-gallery-item-image";a.dxGallery={item:function(){var e=a.CollectionWidget.item(),t=r("div",{text:"String($data)"}),n=r("img",{attr:"{ src: String($data) }"},!1,'class="'+g+'"');return e=[e.substring(0,e.length-6).replace(t,n),"<!-- ko if: $data.imageSrc -->",r("img",{attr:"{ src: $data.imageSrc, alt: $data.imageAlt }"},!1,'class="'+g+'"'),"<!-- /ko -->"].join("")}},a.dxTabs={item:function(){var e=a.CollectionWidget.item(),t=r("div",{text:"String($data)"}),n='<span class="dx-tab-text" data-bind="text: String($data)"></span>',i=r("div",{text:"text"}),o='<!-- ko dxIcon: $data.icon || $data.iconSrc --><!-- /ko --><span class="dx-tab-text" data-bind="text: $data.text"></span>';return e=e.replace("<!-- ko if: !$data.html && $data.text -->","<!-- ko if: !$data.html && ($data.text || $data.icon || $data.iconSrc) -->").replace(t,n).replace(i,o)},itemFrame:function(){var e=a.CollectionWidget.itemFrame(),t=r("div",{attr:"{ 'class': 'dx-tabs-item-badge dx-badge' }",text:"badge"}),n=[e.substring(0,e.length-6),"<!-- ko if: $data.badge -->",t,"<!-- /ko -->","</div>"];return n.join("")}},a.dxTabPanel={item:a.CollectionWidget.item,title:function(){var e=a.dxTabs.item(),t="<!-- ko if: $data.html -->"+r("div",{html:"html"})+"<!-- /ko -->";return e.replace(/\$data\.text/g,"$data.title").replace(/\!\$data\.html\ \&\&\ /,"").replace(t,"")}};var m="dx-navbar-item-badge";a.dxNavBar={itemFrame:function(){var e=a.CollectionWidget.itemFrame(),t=r("div",{text:"badge"},!0,'class="'+m+" "+h+'"'),n=[e.substring(0,e.length-6),"<!-- ko if: $data.badge -->",t,"<!-- /ko -->","</div>"];return n.join("")}},a.dxMenuBase={item:function(){var e=[r("div",s,!1)],t=r("span",{text:"text",css:"{ 'dx-menu-item-text': true }"}),n=r("span",{text:"String($data)",css:"{ 'dx-menu-item-text': true }"}),i="<span class='dx-menu-item-popout-container'><div class='dx-menu-item-popout'></div></span>";return e.push("<!-- ko dxIcon: $data.icon || $data.iconSrc --><!-- /ko -->","<!-- ko if: $data.text -->",t,"<!-- /ko -->","<!-- ko ifnot: jQuery.isPlainObject($data) || $data.text -->",n,"<!-- /ko -->","<!-- ko if: $data.items -->",i,"<!-- /ko -->","</div>"),e.join("")}},a.dxTreeView={item:function(){var e=[],t=r("span",{text:"text"},!0),n=r("div",{html:"html"});return e.push("<div>","<!-- ko if: $data.html && !$data.text -->",n,"<!-- /ko -->","<!-- ko dxIcon: $data.icon || $data.iconSrc --><!-- /ko -->","<!-- ko if: !$data.html && $data.text -->"+t+"<!-- /ko -->","</div>"),e.join("")}};var v=function(){return["<div>",r("div",{dxToolbarBase:"{ items: $data }"}),"</div>"].join("")};a.dxPopup={title:v,bottom:v},a.dxLookup={title:a.dxPopup.title,group:a.dxList.group};var x="dx-tag-content",w="dx-tag-remove-button";a.dxTagBox={tag:function(){return["<div>","<div class="+x+">",r("span",{text:"$data"}),"<div class="+w+"></div>","</div>","</div>"].join("")}},i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(39),r=n(42),s=n(4);r.callbacks.add(function(e,t){var n=s.addNamespace(e,e+"Binding");a.bindingHandlers[e]={update:function(e,t,i,r){var s=o(e),l=a.utils.unwrapObservable(t()),c=l.execute?l.execute:l;s.off(n).on(n,o.isPlainObject(l)?l:{},function(e){c.call(r,r,e)})}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(39),r=n(46),s=n(11),l=r.inherit({ctor:function(e,t){this.callBase(e,t),this._template=o("<div>").append(s.normalizeTemplateElement(e)),this._registerKoTemplate()},_registerKoTemplate:function(){var e=this._template.get(0);new a.templateSources.anonymousTemplate(e).nodes(e)},_prepareDataForContainer:function(e,t){var n,i,o=e;return t.length&&(n=t.get(0),e=void 0!==e?e:a.dataFor(n)||{},i=a.contextFor(n),o=i?e===i.$data?i:i.createChildContext(e):e),o},_renderCore:function(e,t,n){var i,r=o("<div>").appendTo(n);return a.renderTemplate(this._template.get(0),e,{afterRender:function(e){i=o(e)}},r.get(0),"replaceNode"),i},dispose:function(){this.callBase(),this._template.remove()}});i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(32),s=n(65),l=n(39),c=a.inherit({ctor:function(e,t){var n=this;n.target=e,n.validationRules=t.validationRules,n.name=t.name,n.isValid=l.observable(!0),n.validationError=l.observable(),o.each(this.validationRules,function(e,t){t.validator=n})},validate:function(){var e=s.validate(this.target(),this.validationRules,this.name);return this._applyValidationResult(e),e},reset:function(){this.target(null);var e={isValid:!0,brokenRule:null};return this._applyValidationResult(e),e},_applyValidationResult:function(e){e.validator=this,this.target.dxValidator.isValid(e.isValid),this.target.dxValidator.validationError(e.brokenRule),this.fireEvent("validated",[e])}}).include(r);l.extenders.dxValidator=function(e,t){return e.dxValidator=new c(e,t),e.subscribe(o.proxy(e.dxValidator.validate,e.dxValidator)),e},s.registerModelForValidation=function(e){o.each(e,function(t,n){l.isObservable(n)&&n.dxValidator&&s.registerValidatorInGroup(e,n.dxValidator)})},s.unregisterModelForValidation=function(e){o.each(e,function(t,n){l.isObservable(n)&&n.dxValidator&&s.removeRegisteredValidator(e,n.dxValidator);
})},s.validateModel=s.validateGroup}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(39),a=n(72);a.inject({isWrapped:o.isObservable,isWritableWrapped:o.isWritableObservable,wrap:o.observable,unwrap:function(e){return o.isObservable(e)?o.utils.unwrapObservable(e):this.callBase(e)},assign:function(e,t){o.isObservable(e)?e(t):this.callBase(e,t)}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){n.exports={en:{Yes:"Yes",No:"No",Cancel:"Cancel",Clear:"Clear",Done:"Done",Loading:"Loading...",Select:"Select...",Search:"Search",Back:"Back",OK:"OK","dxCollectionWidget-noDataText":"No data to display","validation-required":"Required","validation-required-formatted":"{0} is required","validation-numeric":"Value must be a number","validation-numeric-formatted":"{0} must be a number","validation-range":"Value is out of range","validation-range-formatted":"{0} is out of range","validation-stringLength":"The length of the value is not correct","validation-stringLength-formatted":"The length of {0} is not correct","validation-custom":"Value is invalid","validation-custom-formatted":"{0} is invalid","validation-compare":"Values do not match","validation-compare-formatted":"{0} does not match","validation-pattern":"Value does not match pattern","validation-pattern-formatted":"{0} does not match pattern","validation-email":"Email is invalid","validation-email-formatted":"{0} is invalid","validation-mask":"Value is invalid"}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){n.exports={en:{"dxLookup-searchPlaceholder":"Minimum character number: {0}","dxList-pullingDownText":"Pull down to refresh...","dxList-pulledDownText":"Release to refresh...","dxList-refreshingText":"Refreshing...","dxList-pageLoadingText":"Loading...","dxList-nextButtonText":"More","dxList-selectAll":"Select All","dxListEditDecorator-delete":"Delete","dxListEditDecorator-more":"More","dxScrollView-pullingDownText":"Pull down to refresh...","dxScrollView-pulledDownText":"Release to refresh...","dxScrollView-refreshingText":"Refreshing...","dxScrollView-reachBottomText":"Loading...","dxDateBox-simulatedDataPickerTitleTime":"Select time","dxDateBox-simulatedDataPickerTitleDate":"Select date","dxDateBox-simulatedDataPickerTitleDateTime":"Select date and time","dxDateBox-validation-datetime":"Value must be a date or time","dxFileUploader-selectFile":"Select file","dxFileUploader-dropFile":"or Drop file here","dxFileUploader-bytes":"bytes","dxFileUploader-kb":"kb","dxFileUploader-Mb":"Mb","dxFileUploader-Gb":"Gb","dxFileUploader-upload":"Upload","dxFileUploader-uploaded":"Uploaded","dxFileUploader-readyToUpload":"Ready to upload","dxFileUploader-uploadFailedMessage":"Upload failed","dxRangeSlider-ariaFrom":"From","dxRangeSlider-ariaTill":"Till","dxSwitch-onText":"ON","dxSwitch-offText":"OFF","dxForm-optionalMark":"optional","dxForm-requiredMessage":"{0} is required","dxNumberBox-invalidValueMessage":"Value must be a number"}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){n.exports={en:{"dxDataGrid-columnChooserTitle":"Column Chooser","dxDataGrid-columnChooserEmptyText":"Drag a column here to hide it","dxDataGrid-groupContinuesMessage":"Continues on the next page","dxDataGrid-groupContinuedMessage":"Continued from the previous page","dxDataGrid-groupHeaderText":"Group by This Column","dxDataGrid-ungroupHeaderText":"Ungroup","dxDataGrid-ungroupAllText":"Ungroup All","dxDataGrid-editingEditRow":"Edit","dxDataGrid-editingSaveRowChanges":"Save","dxDataGrid-editingCancelRowChanges":"Cancel","dxDataGrid-editingDeleteRow":"Delete","dxDataGrid-editingUndeleteRow":"Undelete","dxDataGrid-editingConfirmDeleteMessage":"Are you sure you want to delete this record?","dxDataGrid-validationCancelChanges":"Cancel changes","dxDataGrid-groupPanelEmptyText":"Drag a column header here to group by that column","dxDataGrid-noDataText":"No data","dxDataGrid-searchPanelPlaceholder":"Search...","dxDataGrid-filterRowShowAllText":"(All)","dxDataGrid-filterRowResetOperationText":"Reset","dxDataGrid-filterRowOperationEquals":"Equals","dxDataGrid-filterRowOperationNotEquals":"Does not equal","dxDataGrid-filterRowOperationLess":"Less than","dxDataGrid-filterRowOperationLessOrEquals":"Less than or equal to","dxDataGrid-filterRowOperationGreater":"Greater than","dxDataGrid-filterRowOperationGreaterOrEquals":"Greater than or equal to","dxDataGrid-filterRowOperationStartsWith":"Starts with","dxDataGrid-filterRowOperationContains":"Contains","dxDataGrid-filterRowOperationNotContains":"Does not contain","dxDataGrid-filterRowOperationEndsWith":"Ends with","dxDataGrid-filterRowOperationBetween":"Between","dxDataGrid-filterRowOperationBetweenStartText":"Start","dxDataGrid-filterRowOperationBetweenEndText":"End","dxDataGrid-applyFilterText":"Apply filter","dxDataGrid-trueText":"true","dxDataGrid-falseText":"false","dxDataGrid-sortingAscendingText":"Sort Ascending","dxDataGrid-sortingDescendingText":"Sort Descending","dxDataGrid-sortingClearText":"Clear Sorting","dxDataGrid-editingSaveAllChanges":"Save changes","dxDataGrid-editingCancelAllChanges":"Discard changes","dxDataGrid-editingAddRow":"Add a row","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Min of {1} is {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Max of {1} is {0}","dxDataGrid-summaryAvg":"Avg: {0}","dxDataGrid-summaryAvgOtherColumn":"Avg of {1} is {0}","dxDataGrid-summarySum":"Sum: {0}","dxDataGrid-summarySumOtherColumn":"Sum of {1} is {0}","dxDataGrid-summaryCount":"Count: {0}","dxDataGrid-columnFixingFix":"Fix","dxDataGrid-columnFixingUnfix":"Unfix","dxDataGrid-columnFixingLeftPosition":"To the left","dxDataGrid-columnFixingRightPosition":"To the right","dxDataGrid-exportTo":"Export","dxDataGrid-exportToExcel":"Export to Excel file","dxDataGrid-excelFormat":"Excel file","dxDataGrid-selectedRows":"Selected rows","dxDataGrid-exportSelectedRows":"Export selected rows","dxDataGrid-exportAll":"Export all data","dxDataGrid-headerFilterEmptyValue":"(Blanks)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Cancel","dxDataGrid-ariaColumn":"Column","dxDataGrid-ariaValue":"Value","dxDataGrid-ariaFilterCell":"Filter cell","dxDataGrid-ariaCollapse":"Collapse","dxDataGrid-ariaExpand":"Expand","dxDataGrid-ariaDataGrid":"Data grid","dxDataGrid-ariaSearchInGrid":"Search in data grid","dxDataGrid-ariaSelectAll":"Select all","dxDataGrid-ariaSelectRow":"Select row","dxPager-infoText":"Page {0} of {1} ({2} items)","dxPager-pagesCountText":"of","dxPivotGrid-grandTotal":"Grand Total","dxPivotGrid-total":"{0} Total","dxPivotGrid-fieldChooserTitle":"Field Chooser","dxPivotGrid-showFieldChooser":"Show Field Chooser","dxPivotGrid-expandAll":"Expand All","dxPivotGrid-collapseAll":"Collapse All","dxPivotGrid-sortColumnBySummary":'Sort "{0}" by This Column',"dxPivotGrid-sortRowBySummary":'Sort "{0}" by This Row',"dxPivotGrid-removeAllSorting":"Remove All Sorting","dxPivotGrid-rowFields":"Row Fields","dxPivotGrid-columnFields":"Column Fields","dxPivotGrid-dataFields":"Data Fields","dxPivotGrid-filterFields":"Filter Fields","dxPivotGrid-allFields":"All Fields","dxPivotGrid-columnFieldArea":"Drop Column Fields Here","dxPivotGrid-dataFieldArea":"Drop Data Fields Here","dxPivotGrid-rowFieldArea":"Drop Row Fields Here","dxPivotGrid-filterFieldArea":"Drop Filter Fields Here","dxScheduler-editorLabelTitle":"Subject","dxScheduler-editorLabelStartDate":"Start Date","dxScheduler-editorLabelEndDate":"End Date","dxScheduler-editorLabelDescription":"Description","dxScheduler-editorLabelRecurrence":"Repeat","dxScheduler-openAppointment":"Open appointment","dxScheduler-recurrenceNever":"Never","dxScheduler-recurrenceDaily":"Daily","dxScheduler-recurrenceWeekly":"Weekly","dxScheduler-recurrenceMonthly":"Monthly","dxScheduler-recurrenceYearly":"Yearly","dxScheduler-recurrenceEvery":"Every","dxScheduler-recurrenceEnd":"End repeat","dxScheduler-recurrenceAfter":"After","dxScheduler-recurrenceOn":"On","dxScheduler-recurrenceRepeatDaily":"day(s)","dxScheduler-recurrenceRepeatWeekly":"week(s)","dxScheduler-recurrenceRepeatMonthly":"month(s)","dxScheduler-recurrenceRepeatYearly":"year(s)","dxScheduler-switcherDay":"Day","dxScheduler-switcherWeek":"Week","dxScheduler-switcherWorkWeek":"Work week","dxScheduler-switcherMonth":"Month","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"Timeline Day","dxScheduler-switcherTimelineWeek":"Timeline Week","dxScheduler-switcherTimelineWorkWeek":"Timeline Work Week","dxScheduler-switcherTimelineMonth":"Timeline Month","dxScheduler-recurrenceRepeatOnDate":"on date","dxScheduler-recurrenceRepeatCount":"occurrence(s)","dxScheduler-allDay":"All day","dxScheduler-confirmRecurrenceEditMessage":"Do you want to edit only this appointment or the whole series?","dxScheduler-confirmRecurrenceDeleteMessage":"Do you want to delete only this appointment or the whole series?","dxScheduler-confirmRecurrenceEditSeries":"Edit series","dxScheduler-confirmRecurrenceDeleteSeries":"Delete series","dxScheduler-confirmRecurrenceEditOccurrence":"Edit appointment","dxScheduler-confirmRecurrenceDeleteOccurrence":"Delete appointment","dxScheduler-noTimezoneTitle":"No timezone","dxCalendar-todayButtonText":"Today","dxCalendar-ariaWidgetName":"Calendar","dxColorView-ariaRed":"Red","dxColorView-ariaGreen":"Green","dxColorView-ariaBlue":"Blue","dxColorView-ariaAlpha":"Transparency","dxColorView-ariaHex":"Color code","vizExport-printingButtonText":"Print","vizExport-titleMenuText":"Exporting/Printing","vizExport-exportButtonText":"{0} file"}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(82),n(147),n(108),n(45);var o={main:{en:{identity:{version:{_cldrVersion:"28",_number:"$Revision: 11972 $"},language:"en"},numbers:{currencies:{USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}}}}}},a={supplemental:{version:{_cldrVersion:"28",_unicodeVersion:"8.0.0",_number:"$Revision: 11969 $"},currencyData:{fractions:{DEFAULT:{_rounding:"0",_digits:"2"}}}}},r=n(45),s=n(34),l=n(37);if(r&&r.formatCurrency){r.load(o,a),r.locale("en");var c={},d=function(e,t){var n,i;return i="object"==typeof t?r.locale().locale+":"+e+":"+JSON.stringify(t):r.locale().locale+":"+e+":"+t,n=c[i],n||(n=c[i]=r.currencyFormatter(e,t)),n},u={_formatNumberCore:function(e,t,n){if("currency"===t){var i=n&&n.currency||s().defaultCurrency;return d(i,this._normalizeFormatConfig(t,n,e))(e)}return this.callBase.apply(this,arguments)},_normalizeFormatConfig:function(e,t,n){var i=this.callBase(e,t,n);return"currency"===e&&(i.style="accounting"),i},format:function(e,t){if("number"!=typeof e)return e;if(t=this._normalizeFormat(t)){if("default"===t.currency&&(t.currency=s().defaultCurrency),"currency"===t.type)return this._formatNumber(e,this._parseNumberFormatString("currency"),t);if(t.currency)return d(t.currency,t)(e)}return this.callBase.apply(this,arguments)},getCurrencySymbol:function(e){return e||(e=s().defaultCurrency),r.cldr.main("numbers/currencies/"+e)},getOpenXmlCurrencyFormat:function(e){var t,n,i,o,a=this.getCurrencySymbol(e).symbol,s=r.cldr.main("numbers/currencyFormats-numberSystem-latn");if(s.accounting){for(o={".00":"{0}","'":"\\'","\\(":"\\(","\\)":"\\)"," ":"\\ ",'"':"&quot;","\\¤":a},n=s.accounting.split(";"),t=0;t<n.length;t++)for(i in o)o.hasOwnProperty(i)&&(n[t]=n[t].replace(new RegExp(i,"g"),o[i]));return 2===n.length?n[0]+"_);"+n[1]:n[0]}}};l.inject(u)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(82),n(147),n(45);var o={supplemental:{version:{_cldrVersion:"28",_unicodeVersion:"8.0.0",_number:"$Revision: 11969 $"},timeData:{"001":{_allowed:"H h",_preferred:"H"},DE:{_allowed:"H",_preferred:"H"},JP:{_allowed:"H K h",_preferred:"H"},RU:{_allowed:"H",_preferred:"H"},US:{_allowed:"H h",_preferred:"h"}}}},a={main:{en:{identity:{version:{_cldrVersion:"28",_number:"$Revision: 11972 $"},language:"en"},dates:{calendars:{gregorian:{months:{format:{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}},"stand-alone":{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}}},days:{format:{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},"short":{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}},"stand-alone":{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},"short":{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}}},quarters:{format:{abbreviated:{1:"Q1",2:"Q2",3:"Q3",4:"Q4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1st quarter",2:"2nd quarter",3:"3rd quarter",4:"4th quarter"}},"stand-alone":{abbreviated:{1:"Q1",2:"Q2",3:"Q3",4:"Q4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1st quarter",2:"2nd quarter",3:"3rd quarter",4:"4th quarter"}}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{eraNames:{0:"Before Christ","0-alt-variant":"Before Common Era",1:"Anno Domini","1-alt-variant":"Common Era"},eraAbbr:{0:"BC","0-alt-variant":"BCE",1:"AD","1-alt-variant":"CE"},eraNarrow:{0:"B","0-alt-variant":"BCE",1:"A","1-alt-variant":"CE"}},dateFormats:{full:"EEEE, MMMM d, y","long":"MMMM d, y",medium:"MMM d, y","short":"M/d/yy"},timeFormats:{full:"h:mm:ss a zzzz","long":"h:mm:ss a z",medium:"h:mm:ss a","short":"h:mm a"},dateTimeFormats:{full:"{1} 'at' {0}","long":"{1} 'at' {0}",medium:"{1}, {0}","short":"{1}, {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y"},appendItems:{Day:"{0} ({2}: {1})","Day-Of-Week":"{0} {1}",Era:"{0} {1}",Hour:"{0} ({2}: {1})",Minute:"{0} ({2}: {1})",Month:"{0} ({2}: {1})",Quarter:"{0} ({2}: {1})",Second:"{0} ({2}: {1})",Timezone:"{0} {1}",Week:"{0} ({2}: {1})",Year:"{0} {1}"},intervalFormats:{intervalFormatFallback:"{0} {1}",d:{d:"d d"},h:{a:"h a h a",h:"h h a"},H:{H:"HH HH"},hm:{a:"h:mm a h:mm a",h:"h:mm h:mm a",m:"h:mm h:mm a"},Hm:{H:"HH:mm HH:mm",m:"HH:mm HH:mm"},hmv:{a:"h:mm a h:mm a v",h:"h:mm h:mm a v",m:"h:mm h:mm a v"},Hmv:{H:"HH:mm HH:mm v",m:"HH:mm HH:mm v"},hv:{a:"h a h a v",h:"h h a v"},Hv:{H:"HH HH v"},M:{M:"M M"},Md:{d:"M/d M/d",M:"M/d M/d"},MEd:{d:"E, M/d E, M/d",M:"E, M/d E, M/d"},MMM:{M:"MMM MMM"},MMMd:{d:"MMM d d",M:"MMM d MMM d"},MMMEd:{d:"E, MMM d E, MMM d",M:"E, MMM d E, MMM d"},y:{y:"y y"},yM:{M:"M/y M/y",y:"M/y M/y"},yMd:{d:"M/d/y M/d/y",M:"M/d/y M/d/y",y:"M/d/y M/d/y"},yMEd:{d:"E, M/d/y E, M/d/y",M:"E, M/d/y E, M/d/y",y:"E, M/d/y E, M/d/y"},yMMM:{M:"MMM MMM y",y:"MMM y MMM y"},yMMMd:{d:"MMM d d, y",M:"MMM d MMM d, y",y:"MMM d, y MMM d, y"},yMMMEd:{d:"E, MMM d E, MMM d, y",M:"E, MMM d E, MMM d, y",y:"E, MMM d, y E, MMM d, y"},yMMMM:{M:"MMMM MMMM y",y:"MMMM y MMMM y"}}}}}}}}},r={supplemental:{version:{_cldrVersion:"28",_unicodeVersion:"8.0.0",_number:"$Revision: 11969 $"},weekData:{minDays:{"001":"1",US:"1",DE:"4"},firstDay:{"001":"mon",DE:"mon",RU:"mon",JP:"sun",US:"sun"},weekendStart:{"001":"sat"},weekendEnd:{"001":"sun"}}}},s=n(1),l=n(45),c=n(14),d=n(10);if(l&&l.formatDate){l.load(r,o,a),l.locale("en");var u={},h={shortdate:{path:"dateTimeFormats/availableFormats/yMd"},shorttime:{path:"timeFormats/short"},longdate:{path:"dateFormats/full"},longtime:{path:"timeFormats/medium"},monthandday:{path:"dateTimeFormats/availableFormats/MMMMd"},monthandyear:{path:"dateTimeFormats/availableFormats/yMMMM"},quarterandyear:{path:"dateTimeFormats/availableFormats/yQQQ"},day:{path:"dateTimeFormats/availableFormats/d"},year:{path:"dateTimeFormats/availableFormats/y"},shortdateshorttime:{path:"dateTimeFormats/short",parts:["shorttime","shortdate"]},mediumdatemediumtime:{path:"dateTimeFormats/medium",parts:["shorttime","monthandday"]},longdatelongtime:{path:"dateTimeFormats/medium",parts:["longtime","longdate"]},month:{pattern:"LLLL"},shortyear:{pattern:"yy"},dayofweek:{pattern:"EEEE"},quarter:{pattern:"QQQ"},millisecond:{pattern:"SSS"},hour:{pattern:"HH"},minute:{pattern:"mm"}},p={getPatternByFormat:function(e){var t=this,n=e.toLowerCase(),i=h[n];if("datetime-local"===n)return"yyyy-MM-ddTHH':'mm':'ss";if(i){var o=i.path&&t._getFormatStringByPath(i.path)||i.pattern;return i.parts&&s.each(i.parts,function(e,n){o=o.replace("{"+e+"}",t.getPatternByFormat(n))}),o}},_getFormatStringByPath:function(e){return l.locale().main("dates/calendars/gregorian/"+e)},getMonthNames:function(e){var t=l.locale().main("dates/calendars/gregorian/months/stand-alone/"+(e||"wide"));return s.map(t,function(e){return e})},getDayNames:function(e){var t=l.locale().main("dates/calendars/gregorian/days/stand-alone/"+(e||"wide"));return s.map(t,function(e){return e})},getTimeSeparator:function(){return l.locale().main("numbers/symbols-numberSystem-latn/timeSeparator")},format:function(e,t){if(e){if(!t)return e;var n,i;return"function"==typeof t?t(e):t.formatter?t.formatter(e):(t=t.type||t,"string"==typeof t?(i=l.locale().locale+":"+t,n=u[i],n||(t={raw:this.getPatternByFormat(t)||t},n=u[i]=l.dateFormatter(t))):n=l.dateFormatter(t),n(e))}},parse:function(e,t){return e?!t||"function"==typeof t||t.formatter&&!t.parser?(t&&d.log("W0012"),l.parseDate(e)):t.parser?t.parser(e):("string"==typeof t&&(t={raw:this.getPatternByFormat(t)||t}),l.parseDate(e,t)):void 0},firstDayOfWeekIndex:function(){var e=l.locale().supplemental.weekData.firstDay();return s.inArray(e,this._getDayKeys())},_getDayKeys:function(){var e=l.locale().main("dates/calendars/gregorian/days/format/short");return s.map(e,function(e,t){return t})}};c.inject(p)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(82);var o=n(45),a=n(8);if(n(45),o&&o.formatMessage){var r="en",s=o.loadMessages;o.loadMessages=function(e){a.load(e)};var l={ctor:function(){this.load(this._dictionary)},load:function(e){this.callBase(e),s(e)},locale:function(e){return e?void o.locale(e):o.locale().locale},getMessagesByLocales:function(){return o.cldr.get("globalize-messages")},getFormatter:function(e,t){var n=t||this.locale(),i=this.callBase(e,t);return i||(i=this._formatterByGlobalize(e,t)),i||n===r||(i=this.getFormatter(e,r)),i},_formatterByGlobalize:function(e,t){var n,i=t&&t!==this.locale()?new o(t):o;return this._messageLoaded(e,t)&&(n=i.messageFormatter(e)),n},_messageLoaded:function(e,t){var n=t?new o(t).cldr:o.locale(),i=n.get(["globalize-messages/{bundle}",e]);return void 0!==i},_loadSingle:function(e,t,n){var i={};i[n]={},i[n][e]=t,this.load(i)}};a.inject(l)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(52),r=n(33),s=n(2),l=n(11),c=n(18),d=n(4),u=n(13),h=n(111),p=n(95),f=n(8),_=n(64),g=n(9),m=n(158),v="dx-collection",x="dx-item",w="-content",y="dx-item-content-placeholder",b="dxItemData",C="dxItemIndex",k="tmpl-",S="[data-options*='dxItem']",T="dx-item-selected",I="dx-item-response-wait",D="dx-empty-collection",E="dx-template-wrapper",A="dx-state-disabled",B="dx-state-invisible",M=/^([^.]+\[\d+\]\.)+(\w+)$/,O="up",P="down",R="left",V="right",F="pageup",L="pagedown",H="last",z="first",N=c.inherit({_activeStateUnit:"."+x,_supportedKeys:function(){var e=function(e){var t=this.option("focusedElement");t&&(e.target=t,e.currentTarget=t,this._itemClickHandler(e))},t=function(e,t){t.preventDefault(),t.stopPropagation(),this._moveFocus(e,t)};return o.extend(this.callBase(),{space:e,enter:e,leftArrow:o.proxy(t,this,R),rightArrow:o.proxy(t,this,V),upArrow:o.proxy(t,this,O),downArrow:o.proxy(t,this,P),pageUp:o.proxy(t,this,O),pageDown:o.proxy(t,this,P),home:o.proxy(t,this,z),end:o.proxy(t,this,H)})},_getDefaultOptions:function(){return o.extend(this.callBase(),{selectOnFocus:!1,loopItemFocus:!0,items:[],itemTemplate:"item",onItemRendered:null,onItemClick:null,onItemHold:null,itemHoldTimeout:750,onItemContextMenu:null,onFocusedItemChanged:null,noDataText:f.format("dxCollectionWidget-noDataText"),dataSource:null,_itemAttributes:{},itemTemplateProperty:"template",focusOnSelectedItem:!0,focusedElement:null})},_getAnonymousTemplateName:function(){return"item"},_init:function(){this.callBase(),this._cleanRenderedItems(),this._refreshDataSource()},_initTemplates:function(){this._initItemsFromMarkup(),this.callBase()},_initItemsFromMarkup:function(){var e=this.element().contents().filter(S);if(e.length&&!this.option("items").length){var t=o.map(e,o.proxy(function(e){var t=o(e),n=l.getElementOptions(e).dxItem,i=o.trim(t.html())&&!n.template;return i?n.template=this._prepareItemTemplate(t):t.remove(),n},this));this.option("items",t)}},_prepareItemTemplate:function(e){var t=k+new r,n='dxTemplate: { name: "'+t+'" }';return e.detach().clone().attr("data-options",n).data("options",n).appendTo(this.element()),t},_dataSourceOptions:function(){return{paginate:!1}},_cleanRenderedItems:function(){this._renderedItemsCount=0},_focusTarget:function(){return this.element()},_focusInHandler:function(e){if(this.callBase.apply(this,arguments),-1!==o.inArray(e.target,this._focusTarget())){var t=this.option("focusedElement");if(t&&t.length)this._setFocusedItem(t);else{var n=this._getActiveItem();n.length&&this.option("focusedElement",n)}}},_focusOutHandler:function(e){this.callBase.apply(this,arguments);var t=this.option("focusedElement");t&&this._toggleFocusClass(!1,t)},_getActiveItem:function(e){var t=this.option("focusedElement");if(t&&t.length)return t;var n=this.option("focusOnSelectedItem")?this.option("selectedIndex"):0,i=this._getActiveElement(),o=i.length-1;return 0>n&&(n=e?o:0),i.eq(n)},_renderFocusTarget:function(){this.callBase.apply(this,arguments),this._refreshActiveDescendant()},_moveFocus:function(e){var t,n=this._itemElements().filter(":visible").not(".dx-state-disabled");switch(e){case F:case O:t=this._prevItem(n);break;case L:case P:t=this._nextItem(n);break;case V:t=this.option("rtlEnabled")?this._prevItem(n):this._nextItem(n);break;case R:t=this.option("rtlEnabled")?this._nextItem(n):this._prevItem(n);break;case z:t=n.first();break;case H:t=n.last();break;default:return!1}0!==t.length&&this.option("focusedElement",t)},_prevItem:function(e){var t=this._getActiveItem(),n=e.index(t),i=e.last(),a=o(e[n-1]),r=this.option("loopItemFocus");return 0===a.length&&r&&(a=i),a},_nextItem:function(e){var t=this._getActiveItem(!0),n=e.index(t),i=e.first(),a=o(e[n+1]),r=this.option("loopItemFocus");return 0===a.length&&r&&(a=i),a},_selectFocusedItem:function(e){this.selectItem(e)},_removeFocusedItem:function(e){e&&e.length&&(this._toggleFocusClass(!1,e),e.removeAttr("id"))},_refreshActiveDescendant:function(){this.setAria("activedescendant",""),this.setAria("activedescendant",this.getFocusedItemId())},_setFocusedItem:function(e){e&&e.length&&(e.attr("id",this.getFocusedItemId()),this._toggleFocusClass(!0,e),this.onFocusedItemChanged(this.getFocusedItemId()),this._refreshActiveDescendant(),this.option("selectOnFocus")&&this._selectFocusedItem(e))},_findItemElementByItem:function(e){var t=o(),n=this;return this.itemElements().each(function(){var i=o(this);return i.data(n._itemDataKey())===e?(t=i,!1):void 0}),t},_getIndexByItem:function(e){return this.option("items").indexOf(e)},_itemOptionChanged:function(e,t,n){var i=this._findItemElementByItem(e);switch(t){case"visible":this._renderItemVisibleState(i,n);break;case"disabled":this._renderItemDisableState(i,n);break;default:var o=this._getIndexByItem(e);this._renderItem(o,e,null,i)}},_renderItemVisibleState:function(e,t){e.toggleClass(B,!t)},_renderItemDisableState:function(e,t){e.toggleClass(A,!!t)},_optionChanged:function(e){if("items"===e.name){var t=e.fullName.match(M);if(t&&t.length){var n=t[t.length-1],i=e.fullName.replace("."+n,""),o=this.option(i);return void this._itemOptionChanged(o,n,e.value)}}switch(e.name){case"items":case"_itemAttributes":case"itemTemplateProperty":this._cleanRenderedItems(),this._invalidate();break;case"dataSource":this.option("items",[]),this._refreshDataSource(),this._renderEmptyMessage();break;case"noDataText":this._renderEmptyMessage();break;case"itemTemplate":this._invalidate();break;case"onItemRendered":this._createItemRenderAction();break;case"onItemClick":break;case"onItemHold":case"itemHoldTimeout":this._attachHoldEvent();break;case"onItemContextMenu":this._attachContextMenuEvent();break;case"onFocusedItemChanged":this.onFocusedItemChanged=this._createActionByOption("onFocusedItemChanged");break;case"selectOnFocus":case"loopItemFocus":case"focusOnSelectedItem":break;case"focusedElement":this._removeFocusedItem(e.previousValue),this._setFocusedItem(e.value);break;default:this.callBase(e)}},_loadNextPage:function(){var e=this._dataSource;return this._expectNextPageLoading(),e.pageIndex(1+e.pageIndex()),e.load()},_expectNextPageLoading:function(){this._startIndexForAppendedItems=0},_expectLastItemLoading:function(){this._startIndexForAppendedItems=-1},_forgetNextPageLoading:function(){this._startIndexForAppendedItems=null},_dataSourceChangedHandler:function(e){var t=this.option("items");this._initialized&&t&&this._shouldAppendItems()?(this._renderedItemsCount=t.length,this._isLastPage()&&-1===this._startIndexForAppendedItems||(this.option().items=t.concat(e.slice(this._startIndexForAppendedItems))),this._forgetNextPageLoading(),this._renderContent(),this._renderFocusTarget()):this.option("items",e)},_dataSourceLoadErrorHandler:function(){this._forgetNextPageLoading(),this.option("items",this.option("items"))},_shouldAppendItems:function(){return null!=this._startIndexForAppendedItems&&this._allowDynamicItemsAppend()},_allowDynamicItemsAppend:function(){return!1},_clean:function(){this._cleanFocusState(),this._cleanItemContainer()},_cleanItemContainer:function(){this._itemContainer().empty()},_refresh:function(){this._cleanRenderedItems(),this.callBase.apply(this,arguments)},_itemContainer:function(){return this.element()},_itemClass:function(){return x},_itemContentClass:function(){return this._itemClass()+w},_selectedItemClass:function(){return T},_itemResponseWaitClass:function(){return I},_itemSelector:function(){return"."+this._itemClass()},_itemDataKey:function(){return b},_itemIndexKey:function(){return C},_itemElements:function(){return this._itemContainer().find(this._itemSelector())},_render:function(){this.onFocusedItemChanged=this._createActionByOption("onFocusedItemChanged"),this.callBase(),this.element().addClass(v),this._attachClickEvent(),this._attachHoldEvent(),this._attachContextMenuEvent()},_attachClickEvent:function(){var e=this._itemSelector(),t=d.addNamespace(g.name,this.NAME),n=d.addNamespace(u.down,this.NAME),i=this,r=new a(function(e){var t=e.event;i._itemPointerDownHandler(t)});this._itemContainer().off(t,e).off(n,e).on(t,e,o.proxy(function(e){this._itemClickHandler(e)},this)).on(n,e,function(e){r.execute({element:o(e.target),event:e})})},_itemClickHandler:function(e,t,n){this._itemJQueryEventHandler(e,"onItemClick",t,n)},_itemPointerDownHandler:function(e){if(this.option("focusStateEnabled")){var t=o(e.target),n=t.closest(this._itemElements()),i=t.closest(p.focusable);n.length&&-1!==o.inArray(i.get(0),this._focusTarget())&&this.option("focusedElement",n)}},_attachHoldEvent:function(){var e=this._itemContainer(),t=this._itemSelector(),n=d.addNamespace(_.name,this.NAME);e.off(n,t),this._shouldAttachHoldEvent()&&e.on(n,t,{timeout:this._getHoldTimeout()},o.proxy(this._itemHoldHandler,this))},_getHoldTimeout:function(){return this.option("itemHoldTimeout")},_shouldAttachHoldEvent:function(){return this.option("onItemHold")},_itemHoldHandler:function(e){this._itemJQueryEventHandler(e,"onItemHold")},_attachContextMenuEvent:function(){var e=this._itemContainer(),t=this._itemSelector(),n=d.addNamespace(m.name,this.NAME);e.off(n,t),this._shouldAttachContextMenuEvent()&&e.on(n,t,o.proxy(this._itemContextMenuHandler,this))},_shouldAttachContextMenuEvent:function(){return this.option("onItemContextMenu")},_itemContextMenuHandler:function(e){this._itemJQueryEventHandler(e,"onItemContextMenu")},_renderContentImpl:function(){var e=this.option("items")||[];this._renderedItemsCount?this._renderItems(e.slice(this._renderedItemsCount)):this._renderItems(e)},_renderItems:function(e){e.length&&o.each(e,o.proxy(this._renderItem,this)),this._renderEmptyMessage()},_renderItem:function(e,t,n,i){n=n||this._itemContainer();var a=this._renderItemFrame(e,t,n,i);this._setElementData(a,t,e),a.attr(this.option("_itemAttributes")),this._attachItemClickEvent(t,a);var r=a.find("."+y);r.removeClass(y);var s=this._renderItemContent({index:e,itemData:t,container:r,contentClass:this._itemContentClass(),defaultTemplateName:this.option("itemTemplate")}),l=this;return o.when(s).done(function(n){l._postprocessRenderItem({itemElement:a,itemContent:n,itemData:t,itemIndex:e}),l._executeItemRenderAction(e,t,a)}),a},_attachItemClickEvent:function(e,t){e&&e.onClick&&t.on(g.name,o.proxy(function(n){this._itemEventHandlerByHandler(t,e.onClick,{jQueryEvent:n})},this))},_renderItemContent:function(e){var t=this._getItemTemplateName(e),n=this._getTemplate(t);this._addItemContentClasses(e);var i=this._createItemByTemplate(n,e);return i.hasClass(E)?this._renderItemContentByNode(e,i):e.container},_renderItemContentByNode:function(e,t){return e.container.replaceWith(t),e.container=t,this._addItemContentClasses(e),t},_addItemContentClasses:function(e){
var t=[x+w,e.contentClass];e.container.addClass(t.join(" "))},_renderItemFrame:function(e,t,n,i){var o=this.option("templateProvider").getTemplates(this).itemFrame,a=o.render(s.isDefined(t)?t:{},n,e);return i&&i.length?i.replaceWith(a):a.appendTo(n),a},_postprocessRenderItem:o.noop,_executeItemRenderAction:function(e,t,n){this._getItemRenderAction()({itemElement:n,itemIndex:e,itemData:t})},_setElementData:function(e,t,n){e.addClass([x,this._itemClass()].join(" ")).data(this._itemDataKey(),t).data(this._itemIndexKey(),n)},_createItemRenderAction:function(){return this._itemRenderAction=this._createActionByOption("onItemRendered",{element:this.element(),excludeValidators:["designMode","disabled","readOnly"],category:"rendering"})},_getItemRenderAction:function(){return this._itemRenderAction||this._createItemRenderAction()},_getItemTemplateName:function(e){var t=e.itemData,n=e.templateProperty||this.option("itemTemplateProperty"),i=t&&t[n];return i||e.defaultTemplateName},_createItemByTemplate:function(e,t){return e.render(t.itemData,t.container,t.index,"ignoreTarget")},_emptyMessageContainer:function(){return this._itemContainer()},_renderEmptyMessage:function(){var e=this.option("noDataText"),t=this.option("items"),n=!e||t&&t.length||this._isDataSourceLoading();n&&this._$nodata&&(this._$nodata.remove(),this._$nodata=null,this.setAria("label",void 0)),n||(this._$nodata=this._$nodata||o("<div>").addClass("dx-empty-message"),this._$nodata.appendTo(this._emptyMessageContainer()).html(e),this.setAria("label",e)),this.element().toggleClass(D,!n)},_itemJQueryEventHandler:function(e,t,n,i){this._itemEventHandler(e.target,t,o.extend(n,{jQueryEvent:e}),i)},_itemEventHandler:function(e,t,n,i){var a=this._createActionByOption(t,o.extend({validatingTargetName:"itemElement"},i));return this._itemEventHandlerImpl(e,a,n)},_itemEventHandlerByHandler:function(e,t,n,i){var a=this._createAction(t,o.extend({validatingTargetName:"itemElement"},i));return this._itemEventHandlerImpl(e,a,n)},_itemEventHandlerImpl:function(e,t,n){var i=this._closestItemElement(o(e));return t(o.extend(this._extendActionArgs(i),n))},_extendActionArgs:function(e){return{itemElement:e,itemIndex:this._itemElements().index(e),itemData:this._getItemData(e)}},_closestItemElement:function(e){return o(e).closest(this._itemSelector())},_getItemData:function(e){return o(e).data(this._itemDataKey())},getFocusedItemId:function(){return this._focusedItemId||(this._focusedItemId=new r),this._focusedItemId},itemElements:function(){return this._itemElements()},itemsContainer:function(){return this._itemContainer()}}).include(h);N.publicName("CollectionWidget"),i.exports=N}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=a.abstract,s=a.inherit({ctor:function(e){this._collectionWidget=e},getIndexByItemData:r,getItemDataByIndex:r,getNormalizedIndex:function(e){return this._isNormalizedItemIndex(e)?e:this._isItemIndex(e)?this._normalizeItemIndex(e):this._isDOMNode(e)?this._getNormalizedItemIndex(e):this._normalizeItemIndex(this.getIndexByItemData(e))},getIndex:function(e){return this._isNormalizedItemIndex(e)?this._denormalizeItemIndex(e):this._isItemIndex(e)?e:this._isDOMNode(e)?this._denormalizeItemIndex(this._getNormalizedItemIndex(e)):this.getIndexByItemData(e)},getItemElement:function(e){return this._isNormalizedItemIndex(e)?this._getItemByNormalizedIndex(e):this._isItemIndex(e)?this._getItemByNormalizedIndex(this._normalizeItemIndex(e)):this._isDOMNode(e)?o(e):this._getItemByNormalizedIndex(this.getIndexByItemData(e))},deleteItemAtIndex:r,updateSelectionAfterDelete:r,fetchSelectedItems:r,fetchSelectionDifference:function(e,t){return{addedItems:this.fetchSelectedItems(e),removedItems:this.fetchSelectedItems(t)}},selectedItemIndices:r,itemPlacementFunc:function(e,t){return this._itemsFromSameParent(e,t)&&t>e?"after":"before"},moveItemAtIndexToIndex:r,getSelectedItemsAfterReorderItem:function(){return this._collectionWidget.option("selectedItems")},_isNormalizedItemIndex:function(e){return"number"==typeof e&&Math.round(e)===e},_isDOMNode:function(e){var t;try{t=o(e)}catch(e){return!1}return t&&t.length&&t.get(0).nodeType},_isItemIndex:r,_getNormalizedItemIndex:r,_normalizeItemIndex:r,_denormalizeItemIndex:r,_getItemByNormalizedIndex:r,_itemsFromSameParent:r});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(29),r=n(76),s=n(12),l=n(2),c=n(10),d=n(14),u={},h=function(){return o()},p="dx-item-content-placeholder";u.CollectionWidget={item:function(e){var t=o("<div>");return o.isPlainObject(e)?(e.text&&t.text(e.text),e.html&&t.html(e.html)):t.text(String(e)),t},itemFrame:function(e){var t=o("<div>");t.toggleClass("dx-state-invisible",void 0!==e.visible&&!e.visible),t.toggleClass("dx-state-disabled",!!e.disabled);var n=o("<div>").addClass(p);return t.append(n),t}};var f="dx-button-text";u.dxButton={content:function(e){var t=o("<div>"),n=r.getImageContainer(e.icon),i=e.text?o("<span>").text(e.text).addClass(f):void 0;return t.append(n).append(i),t}};var _="dx-list-item-badge-container",g="dx-list-item-badge",m="dx-badge",v="dx-list-item-chevron-container",x="dx-list-item-chevron";u.dxList={item:function(e){var t=u.CollectionWidget.item(e);if(e.key){var n=o("<div>").text(e.key);n.appendTo(t)}return t},itemFrame:function(e){var t=u.CollectionWidget.itemFrame(e);if(e.badge){var n=o("<div>").addClass(_),i=o("<div>").addClass(g).addClass(m);i.text(e.badge),n.append(i).appendTo(t)}if(e.showChevron){var a=o("<div>").addClass(v),r=o("<div>").addClass(x);a.append(r).appendTo(t)}return t},group:function(e){var t=o("<div>");return o.isPlainObject(e)?e.key&&t.text(e.key):t.html(String(e)),t}},u.dxDropDownMenu={item:u.dxList.item,content:u.dxButton.content},u.dxDropDownList={item:u.dxList.item},u.dxRadioGroup={item:u.CollectionWidget.item},u.dxScheduler={item:function(e){var t=u.CollectionWidget.item(e),n=o("<div>").addClass("dx-scheduler-appointment-content-details");return e.allDay&&o("<div>").text(" All day: ").addClass("dx-scheduler-appointment-content-allday").appendTo(n),e.startDate&&o("<div>").text(d.format(s.makeDate(e.startDate),"shorttime")).addClass("dx-scheduler-appointment-content-date").appendTo(n),e.endDate&&(o("<div>").text(" - ").addClass("dx-scheduler-appointment-content-date").appendTo(n),o("<div>").text(d.format(s.makeDate(e.endDate),"shorttime")).addClass("dx-scheduler-appointment-content-date").appendTo(n)),n.appendTo(t),e.recurrenceRule&&o("<span>").addClass("dx-scheduler-appointment-recurrence-icon dx-icon-repeat").appendTo(t),t},appointmentTooltip:h,appointmentPopup:h},u.dxOverlay={content:h},u.dxSlideOutView={menu:h,content:h},u.dxSlideOut={menuItem:u.dxList.item,menuGroup:u.dxList.group,content:h},u.dxAccordion={title:function(e){var t=o("<div>"),n=e.icon,i=e.iconSrc,a=r.getImageContainer(n||i);return o.isPlainObject(e)?e.title&&t.text(e.title):t.html(String(e)),a&&a.prependTo(t),t},item:u.CollectionWidget.item},u.dxActionSheet={item:function(e){return o("<div>").append(o("<div>").dxButton(o.extend({onClick:e.click},e)))}};var w="dx-gallery-item-image";u.dxGallery={item:function(e){var t=o("<div>"),n=o("<img>").addClass(w);return o.isPlainObject(e)?n.attr({src:e.imageSrc,alt:e.imageAlt}).appendTo(t):n.attr("src",String(e)).appendTo(t),t}};var y="dx-menu-item-text",b="dx-menu-item-popout",C="dx-menu-item-popout-container";u.dxMenuBase={item:function(e){var t=o("<div>"),n=e.icon,i=e.iconSrc,a=r.getImageContainer(n||i);a&&a.appendTo(t);var s;!l.isPrimitive(e)&&e.text?s=o("<span>").addClass(y).text(e.text):o.isPlainObject(e)||(s=o("<span>").addClass(y).html(String(e))),t.append(s);var c,d;return e.items&&e.items.length>0&&(d=o("<span>").addClass(C).appendTo(t),c=o("<div>").addClass(b).appendTo(d)),t}};var k="dx-panorama-item-title";u.dxPanorama={itemFrame:function(e){var t=u.CollectionWidget.itemFrame(e);if(e.title){var n=o("<div>").addClass(k).text(e.title);t.prepend(n)}return t}},u.dxPivotTabs={item:function(e){var t,n=o("<div>");return t=e&&e.title?o("<span>").text(e.title):o("<span>").text(String(e)),n.html(t),n}},u.dxPivot={title:u.dxPivotTabs.item,content:h};var S="dx-tab-text";u.dxTabs={item:function(e){var t=u.CollectionWidget.item(e);if(e.html)return t;var n=e.icon,i=e.iconSrc,a=r.getImageContainer(n||i);return e.html||t.wrapInner(o("<span>").addClass(S)),a&&a.prependTo(t),t},itemFrame:function(e){var t=o(),n=u.CollectionWidget.itemFrame(e);return e.badge&&(t=o("<div>",{"class":"dx-tabs-item-badge dx-badge"}).text(e.badge)),n.append(t),n}},u.dxTabPanel={item:u.CollectionWidget.item,title:function(e){var t=e;o.isPlainObject(e)&&(t=o.extend({},e,{text:e.title,html:null}));var n=u.dxTabs.item(t);return n}};var T="dx-navbar-item-badge";u.dxNavBar={itemFrame:function(e){var t=u.CollectionWidget.itemFrame(e);if(e.badge){var n=o("<div>").addClass(T).addClass(m);n.text(e.badge),n.appendTo(t)}return t}},u.dxToolbarBase={item:function(e){var t=u.CollectionWidget.item(e),n=e.widget;if(n){var i=o("<div>").appendTo(t),r=e.options||{};if("button"===n||"tabs"===n||"dropDownMenu"===n){var s=n;n=a.camelize("dx-"+n),c.log("W0001","dxToolbar - 'widget' item field",s,"16.1","Use: '"+n+"' instead")}i[n](r)}else e.text&&t.wrapInner("<div>");return t},actionSheetItem:u.dxActionSheet.item},u.dxToolbarBase.menuItem=u.dxToolbarBase.item,u.dxTreeView={item:function(e){var t=o("<div>"),n=e.icon,i=e.iconSrc,a=r.getImageContainer(n||i);return e.html?t.html(e.html):(a&&a.appendTo(t),o("<span>").text(e.text).appendTo(t)),t}};var I=function(e){return o("<div>").append(o("<div>").dxToolbarBase({items:e}))};u.dxPopup={title:I,bottom:I},u.dxLookup={title:u.dxPopup.title,group:u.dxList.group};var D="dx-tag-content",E="dx-tag-remove-button";u.dxTagBox={tag:function(e,t,n){var i=o("<div>").addClass(D);return o("<span>").text(e).appendTo(i),o("<div>").addClass(E).appendTo(i),o("<div>").append(i)}},u.dxCalendar={cell:function(e){return o("<div>").append(o("<span>").text(e.text||String(e)))}},i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(46),r=a.inherit({ctor:function(e){this.callBase(o(),e)},_renderCore:function(){return o()}});i.exports=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=a.abstract,s=a.inherit({ctor:function(){this.widgetTemplatesCache={}},createTemplate:r,getTemplates:function(e){return this._getWidgetTemplates(e.constructor)},_getWidgetTemplates:function(e){return e.publicName?this._getCachedWidgetTemplates(e):{}},_getCachedWidgetTemplates:function(e){var t=e.publicName(),n=this.widgetTemplatesCache;return n[t]||(n[t]=o.extend({},this._getWidgetTemplates(e.parent),this._templatesForWidget(t))),n[t]},_templatesForWidget:r});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t){e.exports=window.JSZip},function(e,t,n){var i;i=function(e,t,i){var o=n(176);n(189);var a=o.ui=n(353);a.themes=n(23),a.setTemplateEngine=n(404),a.dialog=n(222),a.notify=n(392),a.dxActionSheet=n(180),a.dxAutocomplete=n(354),a.dxBox=n(148),a.dxButton=n(25),a.dxCalendar=n(213),a.dxCheckBox=n(109),a.dxColorBox=n(359),a.dxDateBox=n(160),a.dxDeferRendering=n(370),a.dxDropDownMenu=n(127),a.dxFileUploader=n(371),a.dxForm=n(177),a.dxGallery=n(374),a.dxList=n(90),a.dxLoadIndicator=n(61),a.dxLoadPanel=n(161),a.dxLookup=n(385),a.dxMap=n(386),a.dxMultiView=n(232),a.dxNavBar=n(391),a.dxNumberBox=n(87),a.dxOverlay=n(50),a.dxPopover=n(93),a.dxPopup=n(54),a.dxProgressBar=n(235),a.dxRadioGroup=n(263),a.dxRangeSlider=n(397),a.dxResizable=n(178),a.dxResponsiveBox=n(236),a.dxScrollView=n(398),a.dxSelectBox=n(114),a.dxSlider=n(243),a.dxSwitch=n(264),a.dxTabPanel=n(245),a.dxTabs=n(156),a.dxTagBox=n(406),a.dxTextArea=n(407),a.dxTextBox=n(94),a.dxTileView=n(412),a.dxToast=n(248),a.dxToolbar=n(265),a.dxTooltip=n(163),a.dxTrackBar=n(184),o.validationEngine=n(65),a.dxValidationSummary=n(185),a.dxValidationGroup=n(252),a.dxValidator=n(157),a.CollectionWidget=n(28),a.dxDropDownEditor=n(150),i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(48),s=n(318),l=n(424),c=n(6),d=n(23),u="dx-menu",h=u+"-no-icons",p="dx-menu-base",f=u+"-item",_=f+"-selected",g=f+"-wrapper",m=u+"-items-container",v=f+"-expanded",x=u+"-separator",w=u+"-last-group-item",y=f+"-has-text",b=f+"-has-icon",C=f+"-has-submenu",k=f+"-popout",S=k+"-container",T=f+"-text",I="single",D={show:50,hide:300},E=s.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{items:[],cssClass:"",activeStateEnabled:!0,showSubmenuMode:{name:"onHover",delay:{show:50,hide:300}},animation:{show:{type:"fade",from:0,to:1,duration:100},hide:{type:"fade",from:1,to:0,duration:100}},selectByClick:!1,focusOnSelectedItem:!1,_itemAttributes:{role:"menuitem"},useInkRipple:!1})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{selectionByClick:{since:"16.1",alias:"selectByClick"}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return/android5/.test(d.current())},options:{useInkRipple:!0}}])},_activeStateUnit:"."+f,_itemDataKey:function(){return"dxMenuItemDataKey"},_itemClass:function(){return f},_setAriaSelected:o.noop,_selectedItemClass:function(){return _},_widgetClass:function(){return p},_focusTarget:function(){return this._itemContainer()},_supportedKeys:function(){var e=function(e){var t=this.option("focusedElement");t&&this._isSelectionEnabled()&&this.selectItem(t[0])};return o.extend(this.callBase(),{space:e,pageUp:o.noop,pageDown:o.noop})},_isSelectionEnabled:function(){return this.option("selectionMode")===I},_init:function(){this.callBase(),this._renderSelectedItem(),this._initActions()},_useCustomExpressions:function(){return this.callBase()||"items"!==this.option("itemsExpr")},_getTextContainer:function(e){var t=this._displayGetter(e),n=o("<span>").addClass(T),i=o.isPlainObject(e)?t:String(e);return t&&n.html(i)},_getPopoutContainer:function(e){var t,n=this._itemsGetter(e);if(n&&n.length){var i=o("<div>").addClass(k);t=o("<span>").addClass(S).append(i)}return t},_getDataAdapterOptions:function(){return{rootValue:0,multipleSelection:!1,recursiveSelection:!1,recursiveExpansion:!1,searchValue:""}},_selectByItem:function(e){if(e){var t=this._dataAdapter.getNodeByItem(e);this._dataAdapter.toggleSelection(t.internalFields.key,!0)}},_renderSelectedItem:function(){var e=this._dataAdapter.getSelectedNodesKeys(),t=e.length&&e[0],n=this.option("selectedItem");if(!t)return void this._selectByItem(n);var i=this._dataAdapter.getNodeByKey(t);if(i.selectable!==!1)return n?void(n!==i.internalFields.item&&(this._dataAdapter.toggleSelection(t,!1),this._selectByItem(n))):void this.option("selectedItem",i.internalFields.item)},_initActions:o.noop,_render:function(){this.callBase(),this._addCustomCssClass(this.element()),this.option("useInkRipple")&&this._renderInkRipple()},_renderInkRipple:function(){this._inkRipple=r.render()},_toggleActiveState:function(e,t,n){if(this.callBase.apply(this,arguments),this._inkRipple){var i={element:e,jQueryEvent:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}},_getShowSubmenuMode:function(){var e="onClick",t=this.option("showSubmenuMode");return t=a.isObject(t)?t.name:t,this._isDesktopDevice()?t:e},_initSelectedItems:o.noop,_isDesktopDevice:function(){return"desktop"===c.real().deviceType},_initEditStrategy:function(){var e=l;this._editStrategy=new e(this)},_addCustomCssClass:function(e){e.addClass(this.option("cssClass"))},_itemWrapperSelector:function(){return"."+g},_hoverStartHandler:function(e){var t=this,n=t._getItemElementByEventArgs(e);n&&!t._isItemDisabled(n)&&(e.stopPropagation(),t.option("focusedElement",n),"onHover"===t._getShowSubmenuMode()&&(this._showSubmenusTimeout=setTimeout(o.proxy(t._showSubmenu,t,n),t._getSubmenuDelay("show"))))},_isItemDisabled:function(e){return this._disabledGetter(e.data(this._itemDataKey()))},_showSubmenu:function(e){clearTimeout(this._showSubmenusTimeout),this._hasFocusClass(e)&&this._addExpandedClass(e)},_addExpandedClass:function(e){e.addClass(v)},_getSubmenuDelay:function(e){var t=this.option("showSubmenuMode").delay;return a.isDefined(t)?a.isObject(t)?t[e]:t:D[e]},_getItemElementByEventArgs:function(e){var t=o(e.target);if(t.hasClass(this._itemClass())||t.get(0)===e.currentTarget)return t;for(;!t.hasClass(this._itemClass());)if(t=t.parent(),t.hasClass("dx-submenu"))return null;return t},_hoverEndHandler:o.noop,_hasSubmenu:function(e){return e.internalFields.childrenKeys.length},_renderContentImpl:function(){this._renderItems(this._dataAdapter.getRootNodes())},_renderItems:function(e,t){var n,i=this;e.length&&(this.hasIcons=!1,n=this._renderContainer(this.element(),t),o.each(e,function(e,t){i._renderItem(e,t,n)}),this.hasIcons||n.addClass(h))},_renderContainer:function(e){return o("<ul>").appendTo(e).addClass(m)},_createDOMElement:function(e){var t=o("<li>").appendTo(e).addClass(g);return t},_renderItem:function(e,t,n){var i,o=this.option("items");if(this._renderSeparator(t,e,n),t.internalFields.item.visible!==!1){var a=this._createDOMElement(n);o[e+1]&&o[e+1].beginGroup&&a.addClass(w),i=this.callBase(e,t.internalFields.item,a),t.internalFields.item===this.option("selectedItem")&&i.addClass(_),this._addContentClasses(t,i),this._hasSubmenu(t)&&this.setAria("haspopup","true",i)}},_addContentClasses:function(e,t){this._displayGetter(e)&&t.addClass(y),(e.icon||e.iconSrc)&&(t.addClass(b),this.hasIcons=!0),this._hasSubmenu(e)&&t.addClass(C)},_postprocessRenderItem:function(e){var t,n=o(e.itemElement),i=this._dataAdapter.getSelectedNodesKeys();return i.length&&this._selectedGetter(e.itemData)&&this._isItemSelectable(e.itemData)?(t=this._dataAdapter.getNodeByItem(e.itemData),void(t.internalFields.key===i[0]?(n.addClass(this._selectedItemClass()),this._setAriaSelected(n,"true")):this._setAriaSelected(n,"false"))):void this._setAriaSelected(n,"false")},_isItemSelectable:function(e){return e.selectable!==!1},_renderSeparator:function(e,t,n){e.beginGroup&&t>0&&(this._needSeparate=!0),e.visible!==!1&&this._needSeparate&&(o("<li>").appendTo(n).addClass(x),this._needSeparate=!1)},_itemClickHandler:function(e){var t=this._createAction(o.proxy(this._updateSubmenuVisibilityOnClick,this));this._itemJQueryEventHandler(e,"onItemClick",{},{afterExecute:o.proxy(t,this)})},_updateSubmenuVisibilityOnClick:function(e){this._updateSelectedItemOnClick(e),"onClick"===this._getShowSubmenuMode()&&this._addExpandedClass(e.args[0].itemElement)},_updateSelectedItemOnClick:function(e){var t,n=e.args?e.args[0]:e;if(this._isItemSelectionAllowed(n.itemData)){t=this._dataAdapter.getSelectedNodesKeys();var i=t.length&&this._dataAdapter.getNodeByKey(t[0]);i&&this._toggleItemSelection(i,!1),i&&i.internalFields.item===n.itemData?(this._fireSelectionChangeEvent(null,this.option("selectedItem")),this._setOptionSilent("selectedItem",null)):this.selectItem(n.itemData)}},_isItemSelectionAllowed:function(e){var t=this._isSelectionEnabled()&&this.option("selectByClick");return!this._isContainerEmpty()&&t&&this._isItemSelectable(e)&&!this._itemsGetter(e)},_isContainerEmpty:function(){return this._itemContainer().is(":empty")},_syncSelectionOptions:o.noop,_optionChanged:function(e){if(!this._cancelOptionChange)switch(e.name){case"showSubmenuMode":break;case"selectedItem":var t=e.value,n=this._dataAdapter.getNodeByItem(t),i=this._dataAdapter.getSelectedNodesKeys()[0];if(n&&n.internalFields.key!==i){if(n.selectable===!1)break;i&&this._toggleItemSelection(this._dataAdapter.getNodeByKey(i),!1),this._toggleItemSelection(n,!0),this._updateSelectedItems()}break;case"cssClass":case"position":case"selectByClick":case"animation":case"useInkRipple":this._invalidate();break;default:this.callBase(e)}},_toggleItemSelection:function(e,t){var n=this._getElementByItem(e.internalFields.item);n&&o(n).toggleClass(_),this._dataAdapter.toggleSelection(e.internalFields.key,t)},_getElementByItem:function(e){var t,n=this;return o.each(this._itemContainer().find("."+f),function(i,a){return o(a).data(n._itemDataKey())!==e?!0:(t=a,!1)}),t},_updateSelectedItems:function(e,t){(e||t)&&(this._updateSelection(t,e),this._fireSelectionChangeEvent(t,e))},_fireSelectionChangeEvent:function(e,t){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})({addedItems:[e],removedItems:[t]})},selectItem:function(e){var t=e.nodeType?this._getItemData(e):e,n=this._dataAdapter.getNodeByItem(t),i=this._dataAdapter.getSelectedNodesKeys()[0],o=this.option("selectedItem");n.internalFields.key!==i&&(i&&this._toggleItemSelection(this._dataAdapter.getNodeByKey(i),!1),this._toggleItemSelection(n,!0),this._updateSelectedItems(o,t),this._setOptionSilent("selectedItem",t))},unselectItem:function(e){var t=e.nodeType?this._getItemData(e):e,n=this._dataAdapter.getNodeByItem(t),i=this.option("selectedItem");n.internalFields.selected&&(this._toggleItemSelection(n,!1),this._updateSelectedItems(i,null),this._setOptionSilent("selectedItem",null))}});E.publicName("dxMenuBase"),i.exports=E}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(33),r=n(2),s=n(30),l=n(20),c=n(9),d=n(47),u=d.getIndexByKey,h=n(4),p=h.addNamespace,f=n(222),_=n(8),g=n(25),m=n(19),v=n(6),x=n(177),w=n(64);n(224);var y="dx-link",b="dx-editor-cell",C="dx-selection",k="dx-edit-row",S="dx-datagrid-edit-form",T="dx-edit-button",I="__DX_INSERT_INDEX__",D="dx-row",E="dx-row-removed",A="dx-row-inserted",B="dx-row-modified",M="dx-cell-modified",O="dx-highlight-outline",P="dxDataGridEditing",R="dx-datagrid-focus-overlay",V="dx-datagrid-readonly",F="dx-data-row",L="dx-cell-focus-disabled",H="batch",z="row",N="cell",W="form",G="insert",$="update",q="remove",j="dx-pointer-events-none",U="dx-pointer-events-target",K=function(e){var t=e.option("editing.mode");return t===H||t===N||t===W?t:z},Y=function(e){var t=K(e);return t===z||t===W};t.EditingController=l.ViewController.inherit(function(){var e=function(e){return function(t,n){var i=o("<div/>").appendTo(t);e.getController("editorFactory").createEditor(i,o.extend({},n.column,{value:n.value,setValue:n.setValue,row:n.row,parentType:"dataRow",width:null,readOnly:!n.setValue,id:n.id}))}};return{init:function(){var e=this;e._insertIndex=1,e._editRowIndex=-1,e._editData=[],e._editColumnIndex=-1,e._columnsController=e.getController("columns"),e._dataController=e.getController("data"),e._dataChangedHandler||(e._dataChangedHandler=o.proxy(e._handleDataChanged,e),e._dataController.changed.add(e._dataChangedHandler)),e._saveEditorHandler||(e.createAction("onInitNewRow",{excludeValidators:["disabled","readOnly"]}),e.createAction("onRowInserting",{excludeValidators:["disabled","readOnly"]}),e.createAction("onRowInserted",{excludeValidators:["disabled","readOnly"]}),e.createAction("onEditingStart",{excludeValidators:["disabled","readOnly"]}),e.createAction("onRowUpdating",{excludeValidators:["disabled","readOnly"]}),e.createAction("onRowUpdated",{excludeValidators:["disabled","readOnly"]}),e.createAction("onRowRemoving",{excludeValidators:["disabled","readOnly"]}),e.createAction("onRowRemoved",{excludeValidators:["disabled","readOnly"]}),e._saveEditorHandler=e.createAction(function(t){var n,i,a,r,s,l,c=t.jQueryEvent;Y(e)||e._editCellInProgress||(l=o(c.target),n=l.closest(".dx-dropdowneditor-overlay").length,i=l.closest(document).length,r=l.closest(".dx-datagrid-addrow-button").length,a=l.hasClass(R),s=K(e)===N,n||a||r&&s&&e.isEditing()||!i||o.proxy(e._closeEditItem,e)(l))}),o(document).on(c.name,e._saveEditorHandler)),e._updateEditColumn(),e._updateEditButtons()},_closeEditItem:function(e){var t=e.closest("."+F).length,n=e.closest("."+D+"> td"),i=n[0]&&n[0].cellIndex,o=this.getView("rowsView").getRowIndex(n.parent()),a=this._columnsController.getVisibleColumns(),r=a[i]&&a[i].allowEditing;!this.isEditing()||t&&(!t||r||this.isEditCell(o,i))||this.closeEditCell()},_handleDataChanged:function(e){"standard"===this.option("scrolling.mode")&&this.resetRowAndPageIndices(),"prepend"===e.changeType&&o.each(this._editData,function(t,n){n.rowIndex+=e.items.length,n.type===G&&(n.key.rowIndex+=e.items.length)})},getEditMode:function(){return K(this)},getFirstEditableColumnIndex:function(){var e,t=this.getController("columns"),n=t.getVisibleColumns();return o.each(n,function(t,n){return n.allowEditing?(e=t,!1):void 0}),e},getFirstEditableCellInRow:function(e){return this.getView("rowsView").getCellElement(e?e:0,this.getFirstEditableColumnIndex())},getFocusedCellInRow:function(e){return this.getFirstEditableCellInRow(e)},getIndexByKey:function(e,t){return u(e,t)},hasChanges:function(){for(var e=this,t=!1,n=0;n<e._editData.length;n++)if(e._editData[n].type){t=!0;break}return t},dispose:function(){this.callBase(),o(document).off(c.name,this._saveEditorHandler)},optionChanged:function(e){"editing"===e.name?(this.init(),e.handled=!0):this.callBase(e)},publicMethods:function(){return["insertRow","addRow","removeRow","deleteRow","undeleteRow","editRow","editCell","closeEditCell","saveEditData","cancelEditData","hasEditData"]},refresh:function(){K(this)!==H?this.init():(this._editRowIndex=-1,this._editColumnIndex=-1)},isEditing:function(){return this._editRowIndex>-1},isEditRow:function(e){return this._editRowIndex===e&&(K(this)===z||K(this)===W)},getEditRowKey:function(){var e=this._dataController.items(),t=e[this._editRowIndex];return t&&t.key},getEditFormRowIndex:function(){return K(this)===W?this._editRowIndex:-1},isEditCell:function(e,t){return this._editRowIndex===e&&this._editColumnIndex===t},_needInsertItem:function(e,t){var n=this,i=n._dataController.dataSource(),o=n.option("scrolling.mode"),a=i.pageIndex(),r=i.beginPageIndex?i.beginPageIndex():a,s=i.endPageIndex?i.endPageIndex():a;if("standard"!==o)switch(t){case"append":return e.key.pageIndex===s;case"prepend":return e.key.pageIndex===r;case"refresh":e.key.rowIndex=0,e.key.pageIndex=0;break;default:return e.key.pageIndex>=r&&e.key.pageIndex<=s}return e.key.pageIndex===a},processItems:function(e,t){var n,i,o,a=this,r=a._editData;for(a.update(t),n=0;n<r.length;n++)i=r[n].key,o={key:i},r[n].type===G&&a._needInsertItem(r[n],t)&&(o[I]=i[I],e.splice(i.rowIndex,0,o));return e},processDataItem:function(e,t,n){var i,a,r,s,l=this,c=e.data[I]?e.data.key:e.key;if(i=u(c,l._editData),i>=0)switch(s=K(l),a=l._editData[i],r=a.data,a.type){case G:e.inserted=!0,e.key=c,e.data=r;break;case $:e.modified=!0,e.oldData=e.data,e.data=o.extend(!0,{},e.data,r),e.modifiedValues=n(r,t);break;case q:s===H&&(e.data=o.extend(!0,{},e.data,r)),e.removed=!0}},insertRow:function(){return m.log("W0002","dxDataGrid","insertRow","15.2","Use the 'addRow' method instead"),this.addRow()},addRow:function(){var e,t=this,n=t._dataController,i=n.store(),o=i&&i.key(),r=t.getView("rowsView"),s={data:{}},l={pageIndex:n.pageIndex(),rowIndex:r?r.getTopVisibleItemIndex():0},d=t._editRowIndex,u=K(t);u===N&&t.hasChanges()&&t.saveEditData(),t.refresh(),u!==H&&t._insertIndex>1||(o||(s.data.__KEY__=String(new a)),t.executeAction("onInitNewRow",s),u!==H&&(t._editRowIndex=l.rowIndex),l[I]=t._insertIndex++,t._addEditData({key:l,data:s.data,type:G}),n.updateItems({changeType:"update",rowIndices:[d,l.rowIndex]}),e=t.getFirstEditableCellInRow(l.rowIndex),t._delayedInputFocus(e,function(){var e=t.getFirstEditableCellInRow(l.rowIndex);e&&e.trigger(c.name)}),t._afterInsertRow({key:l,data:s.data}))},_isEditingStart:function(e){return this.executeAction("onEditingStart",e),e.cancel},_beforeEditCell:function(e,t,n){return K(this)===N&&!n.inserted&&this.hasChanges()&&(this.saveEditData(),this.hasChanges())?!0:void 0},_beforeUpdateItems:function(e){},editRow:function(e){var t,n=this,i=n._dataController,o=i.items(),a=o[e],r={data:a.data,cancel:!1},s=n._editRowIndex;if(e===s)return!0;if(a.inserted||(r.key=a.key),!n._isEditingStart(r)){n.init(),n._pageIndex=i.pageIndex(),n._editRowIndex=o[0].inserted?e-1:e,n._addEditData({data:{},key:a.key,oldData:a.data});var l=[s,e];n._beforeUpdateItems(l,e,s),i.updateItems({changeType:"update",rowIndices:l}),K(n)!==z&&K(n)!==W||(t=n.getFocusedCellInRow(n._editRowIndex),n._delayedInputFocus(t,function(){t&&n.component.focus(t)}))}},editCell:function(e,t){var n,i,o=this,a=o._columnsController,s=o._dataController,l=s.items(),c=l[e],d={data:c&&c.data,cancel:!1},u=o._editRowIndex,h=o._editColumnIndex,p=a.getVisibleColumns();return r.isString(t)&&(t=a.columnOption(t,"index"),t=a.getVisibleIndex(t)),d.column=a.getVisibleColumns()[t],i=d.column&&d.column.showEditorAlways,!d.column||!c||"data"!==c.rowType&&"detailAdaptive"!==c.rowType||c.removed||Y(o)?!1:this.isEditCell(e,t)?!0:o._beforeEditCell(e,t,c)?!0:(c.inserted||(d.key=c.key),o._isEditingStart(d)?!0:(o._editRowIndex=e,o._editColumnIndex=t,o._pageIndex=s.pageIndex(),o._addEditData({data:{},key:c.key,oldData:c.data}),(!i||p[h]&&!p[h].showEditorAlways)&&(o._editCellInProgress=!0,o.getController("editorFactory").loseFocus(),s.updateItems({changeType:"update",rowIndices:[u,o._editRowIndex]})),n=o.getView("rowsView").getCellElement(o._editRowIndex,o._editColumnIndex),n&&!n.find(":focus").length?o._focusEditingCell(function(){o._editCellInProgress=!1},n):o._editCellInProgress=!1,!0))},_delayedInputFocus:function(e,t){function n(){t&&t(),e&&e.find("[tabindex], input").first().focus()}v.real().ios||v.real().android?n():setTimeout(n)},_focusEditingCell:function(e,t){var n=this;t=t||n.getView("rowsView").getCellElement(n._editRowIndex,n._editColumnIndex),n._delayedInputFocus(t,e)},removeRow:function(e){return m.log("W0002","dxDataGrid","removeRow","15.2","Use the 'deleteRow' method instead"),this.deleteRow(e)},deleteRow:function(e){var t,n,i=this,o=i.option("editing"),a=o&&o.texts,s=a&&a.confirmDeleteTitle,l=o&&o.mode===H,c=a&&a.confirmDeleteMessage,d=i._dataController,h=i._editRowIndex,p=d.items()[e],_=p&&p.key;p&&(t=function(t){i.refresh();var n=u(t,i._editData);n>=0?i._editData[n].type===G?i._editData.splice(n,1):i._editData[n].type=q:i._addEditData({key:t,oldData:p.data,type:q}),l?d.updateItems({changeType:"update",rowIndices:[h,e]}):i.saveEditData()},l||!c?t(_):(n=r.isDefined(s)&&s.length>0,f.confirm(c,s,n).done(function(e){e&&t(_)})))},undeleteRow:function(e){var t=this,n=t._dataController,i=n.items()[e],a=t._editRowIndex,r=i&&i.key;if(i){var s,l=u(r,t._editData);l>=0&&(s=t._editData[l],o.isEmptyObject(s.data)?t._editData.splice(l,1):s.type=$,n.updateItems({changeType:"update",rowIndices:[a,e]}))}},_saveEditDataCore:function(e,t){function n(e,t,n){function a(e){return function(t){var n=t instanceof Error?t:new Error(t&&String(t)||"Unknown error");e.reject(n)}}var r=o.Deferred();return i.executeAction(e,t),o.when(t.cancel).done(function(e){e?r.resolve("cancel"):n(t).done(r.resolve).fail(a(r))}).fail(a(r)),r}var i=this,a=i._dataController.store(),r=!1;return o.each(i._editData,function(r,s){var l,c,d,u=s.data,h=s.oldData,p=s.key,f=s.type;if(!i._beforeSaveEditData(s,r)){switch(f){case q:d={data:h,key:p,cancel:!1},l=n("onRowRemoving",d,function(){return a.remove(p)});break;case G:d={data:u,cancel:!1},l=n("onRowInserting",d,function(){return a.insert(d.data)});break;case $:d={newData:u,oldData:h,key:p,cancel:!1},l=n("onRowUpdating",d,function(){return a.update(p,d.newData)})}l&&(c=o.Deferred(),l.always(function(){t.push(p)}).always(c.resolve),e.push(c.promise()))}}),r},_processSaveEditDataResult:function(e,t){var n,i,o,a,r=this,s=r._dataController,l=K(r);for(n=0;n<e.length;n++)if(i=e[n],o=u(t[n],r._editData),r._editData[o])if(a=i&&i instanceof Error){if(r._editData[o].error=i,s.dataErrorOccurred.fire(i),l!==H)return!1}else{if("cancel"===i)return!1;r._editData.splice(o,1)}return!0},_fireSaveEditDataEvents:function(e){var t=this;o.each(e,function(e,n){var i=n.data,a=n.key,r=n.type,s={key:a,data:i};switch(n.error&&(s.error=n.error),r){case q:t.executeAction("onRowRemoved",o.extend({},s,{data:n.oldData}));break;case G:t.executeAction("onRowInserted",s);break;case $:t.executeAction("onRowUpdated",s);
}})},saveEditData:function(){var e=this,t=[],n=[],i=e._dataController,a=o.extend({},e._editData),r=K(e),s=o.Deferred(),l=function(e){e._editColumnIndex=-1,e._editRowIndex=-1};return e._beforeSaveEditData()||e._saving?(e._afterSaveEditData(),s.resolve().promise()):(e._saveEditDataCore(n,t),n.length?(e._saving=!0,o.when.apply(o,n).done(function(){e._processSaveEditDataResult(arguments,t)?(l(e),o.when(i.refresh()).always(function(){e._fireSaveEditDataEvents(a),e._afterSaveEditData(),s.resolve()})):s.resolve()}).fail(s.resolve),s.always(function(){e._saving=!1}).promise()):(Y(e)?e.hasChanges()||e.cancelEditData():r===H||r===N?(l(e),i.updateItems()):e._focusEditingCell(),e._afterSaveEditData(),s.resolve().promise()))},_updateEditColumn:function(){var e=this,t=e.option("editing"),n=K(e),i=t&&((t.allowUpdating||t.allowAdding)&&n===z||t.allowUpdating&&n===W||t.allowDeleting);e._columnsController.addCommandColumn({command:"edit",visible:i,cssClass:"dx-command-edit",width:"auto"}),e._columnsController.columnOption("command:edit","visible",i)},_updateEditButtons:function(){var e=this,t=e.getView("headerPanel"),n=e.hasChanges();t&&(t.updateToolbarItemOption("saveButton","disabled",!n),t.updateToolbarItemOption("cancelButton","disabled",!n))},_applyModified:function(e){e&&e.addClass(M)},cancelEditData:function(){var e=this,t=e._dataController;e._beforeCancelEditData(),e.init(),t.updateItems()},hasEditData:function(){return this.hasChanges()},closeEditCell:function(){var e=this,t=K(e),n=e._editRowIndex,i=e._dataController;Y(e)||setTimeout(function(){t===N&&e.hasChanges()?e.saveEditData():n>=0&&(e._editRowIndex=-1,e._editColumnIndex=-1,i.updateItems({changeType:"update",rowIndices:[n]}))})},update:function(e){var t=this,n=t._dataController;n&&t._pageIndex!==n.pageIndex()&&("refresh"===e&&t.refresh(),t._pageIndex=n.pageIndex()),t._updateEditButtons()},updateFieldValue:function(e,t,n,i){var o,a=this,r={},s=e.key,l=e.cellElement,c=K(a);void 0!==s&&e.column.setCellValue&&(c===H&&a._applyModified(l,e),e.value=t,e.column.setCellValue(r,t,n),n&&e.column.displayValueMap&&(e.column.displayValueMap[t]=n),o={data:r,key:s,oldData:e.data,type:$},a._addEditData(o),a._updateEditButtons(),e.column.showEditorAlways&&K(a)===N&&e.row&&!e.row.inserted?a.saveEditData().always(function(){a._editColumnIndex=e.columnIndex,a._editRowIndex=e.row.rowIndex,a._focusEditingCell()}):e.row&&(i||e.column.setCellValue!==e.column.defaultSetCellValue)&&a._dataController.updateItems({changeType:"update",rowIndices:[e.row.rowIndex]}))},_addEditData:function(e){var t=this,n=u(e.key,t._editData);return 0>n&&(n=t._editData.length,t._editData.push(e)),t._editData[n]&&(e.type=t._editData[n].type||e.type,s.deepExtendArraySafe(t._editData[n],{data:e.data,type:e.type})),n},_formEditorPrepared:function(){},_getFormEditItemTemplate:function(t,n){return n.editCellTemplate||e(this)},getFormEditorTemplate:function(e,t,n){var i=this;return function(a,r){var s=o.extend({},e,{cellElement:null,item:n,value:t.calculateCellValue(e.data),column:o.extend({},t,{editorOptions:n.editorOptions}),id:a.component.getItemID(n.name||n.dataField),columnIndex:t.index,setValue:t.allowEditing&&function(e){i.updateFieldValue(s,e)}}),l=o.proxy(i._getFormEditItemTemplate,i)(s,t);l&&l(r,s),i._formEditorPrepared(s,r)}},getEditFormTemplate:function(){var e=this;return function(t,n){var i=e.option("editing.form"),r=e.option("editing.form.items"),s=e.option("editing.form.customizeItem");if(!r){var l=e.getController("columns").getColumns();r=[],o.each(l,function(e,t){r.push({column:t,name:t.name,dataField:t.dataField})})}e._createComponent(o("<div>").appendTo(t),x,o.extend({},i,{items:r,formID:new a,customizeItem:function(t){var i=t.column||e._columnsController.columnOption(t.name||t.dataField);i&&(t.label=t.label||{},t.label.text=t.label.text||i.caption,t.template=t.template||e.getFormEditorTemplate(n,i,t),t.column=i,i.formItem&&o.extend(t,i.formItem)),s&&s.call(this,t)}}));var c=o("<div>").addClass("dx-datagrid-form-buttons-container").appendTo(t);e._createComponent(o("<div>").appendTo(c),g,{text:e.option("editing.texts.saveRowChanges"),onClick:o.proxy(e.saveEditData,e)}),e._createComponent(o("<div>").appendTo(c),g,{text:e.option("editing.texts.cancelRowChanges"),onClick:o.proxy(e.cancelEditData,e)})}},getColumnTemplate:function(t){var n,i,a,r,s,l=this,d=t.column,u=t.row&&t.row.rowIndex,h=Y(l),f=l.isEditRow(u),_=l.isEditCell(u,t.columnIndex);return!(d.showEditorAlways||d.setCellValue&&(f&&d.allowEditing||_))||"data"!==t.rowType&&"detailAdaptive"!==t.rowType||d.command?"edit"===d.command&&"data"===t.rowType?n=function(e,t){var n=function(e,t,n,i){var a=o("<a />").addClass(y).text(t).on(p(c.name,P),l.createAction(function(e){var t=e.jQueryEvent;t.stopPropagation(),setTimeout(function(){i.row&&l[n](i.row.rowIndex)})}));i.rtlEnabled?e.prepend(a,"&nbsp;"):e.append(a,"&nbsp;")};e.css("text-align","center"),t.rtlEnabled=l.option("rtlEnabled"),i=l.option("editing")||{},a=i.texts||{},t.row&&t.row.rowIndex===l._editRowIndex&&h?(n(e,a.saveRowChanges,"saveEditData",t),n(e,a.cancelRowChanges,"cancelEditData",t)):(i.allowUpdating&&h&&n(e,a.editRow,"editRow",t),i.allowDeleting&&(t.row.removed?n(e,a.undeleteRow,"undeleteRow",t):n(e,a.deleteRow,"deleteRow",t)))}:"detail"===d.command&&"detail"===t.rowType&&f&&(n=l.getEditFormTemplate(t)):(r=l.option("editing.allowUpdating"),((r||f)&&d.allowEditing||_)&&(h&&f||!h)&&(d.showEditorAlways&&!h&&(s={cancel:!1,key:t.row.key,data:t.row.data,column:d},l._isEditingStart(s)),s&&s.cancel||(t.setValue=function(e,n){l.updateFieldValue(t,e,n)})),n=d.editCellTemplate||e(l)),n},prepareEditButtons:function(e){var t=this,n=t.option("editing")||{},i=t.option("editing.texts")||{},o={cancel:i.cancelAllChanges,save:i.saveAllChanges,addrow:i.addRow},a=[],r=function(n,i){var a=function(t){t.element.addClass(e._getToolbarButtonClass(T+" dx-datagrid-"+n+"-button"))},r=o[n],s=("save"===n||"cancel"===n)&&!t.hasChanges();return{widget:"dxButton",options:{onInitialized:a,icon:"edit-button-"+n,disabled:s,onClick:function(e){t[i]()},text:r,hint:r},showText:"inMenu",name:n+"Button",disabled:s,location:"after",locateInMenu:"auto"}};return n.allowAdding&&a.push(r("addrow","addRow")),(n.allowUpdating||n.allowAdding||n.allowDeleting)&&K(t)===H&&(a.push(r("save","saveEditData")),a.push(r("cancel","cancelEditData"))),a},createHighlightCell:function(e){var t=e.find("."+O);t.length||e.wrapInner(o("<div>").addClass(O+" "+U))},resetRowAndPageIndices:function(e){var t=this;o.each(t._editData,function(n,i){(i.pageIndex!==t._pageIndex||e)&&(delete i.pageIndex,delete i.rowIndex)})},_afterInsertRow:function(e){},_beforeSaveEditData:function(e,t){},_afterSaveEditData:function(){},_beforeCancelEditData:function(){}}}()),l.registerModule("editing",{defaultOptions:function(){return{editing:{mode:"row",allowAdding:!1,allowUpdating:!1,allowDeleting:!1,texts:{editRow:_.format("dxDataGrid-editingEditRow"),saveAllChanges:_.format("dxDataGrid-editingSaveAllChanges"),saveRowChanges:_.format("dxDataGrid-editingSaveRowChanges"),cancelAllChanges:_.format("dxDataGrid-editingCancelAllChanges"),cancelRowChanges:_.format("dxDataGrid-editingCancelRowChanges"),addRow:_.format("dxDataGrid-editingAddRow"),deleteRow:_.format("dxDataGrid-editingDeleteRow"),undeleteRow:_.format("dxDataGrid-editingUndeleteRow"),confirmDeleteMessage:_.format("dxDataGrid-editingConfirmDeleteMessage"),confirmDeleteTitle:""},form:{colCount:2}}}},controllers:{editing:t.EditingController},extenders:{controllers:{data:{init:function(){this._editingController=this.getController("editing"),this.callBase()},reload:function(e){var t,n=this.getController("editing");return this._editingController.refresh(),t=this.callBase(e),t&&t.done(function(){n.resetRowAndPageIndices(!0)})},_updateItemsCore:function(e){this.callBase(e);var t=this.items()[this.getController("editing").getEditFormRowIndex()];t&&(t.rowType="detail")},_processItems:function(e,t){return e=this._editingController.processItems(e,t),this.callBase(e,t)},_processDataItem:function(e,t){return this._editingController.processDataItem(e,t.visibleColumns,this.generateDataValues),this.callBase(e,t)},_processItem:function(e,t){return e=this.callBase(e,t),e.inserted&&(t.dataIndex--,delete e.dataIndex),e}},columnsResizer:{_startResizing:function(e){var t=this,n=t.getController("editing"),i=function(){var e=t.option("editing");return e&&e.mode!==z&&n.isEditing()};t.callBase(e),t.isResizing()&&i()&&n.closeEditCell()}}},views:{rowsView:{publicMethods:function(){return this.callBase().concat(["cellValue"])},_getCellTemplate:function(e){var t=this,n=t.getController("editing").getColumnTemplate(e);return n||t.callBase(e)},_isNativeClick:function(){return(v.real().ios||v.real().android)&&this.option("editing.allowUpdating")},_createTable:function(){var e=this,t=e.callBase.apply(e,arguments);return!Y(e)&&e.option("editing.allowUpdating")&&t.on(p(w.name,"dxDataGridRowsView"),"td:not(."+b+")",e.createAction(function(t){var n=e.getController("editing");n.isEditing()&&n.closeEditCell()})),t},_createRow:function(e){var t,n,i,o,a,r=this.callBase(e);return e&&(t=this.getController("editing"),n=t.isEditRow(e.rowIndex),i=!!e.removed,o=!!e.inserted,a=!!e.modified,K(this)===H?i&&r.addClass(E):n&&r.addClass(k),o&&r.addClass(A),a&&r.addClass(B),(n||o||i)&&r.removeClass(C),n&&"detail"===e.rowType&&r.addClass(S)),r},_getColumnIndexByElement:function(e){var t=e.closest("."+D+"> td:not(.dx-master-detail-cell)");return this.getCellIndex(t)},_rowClick:function(e){var t=this,n=t.getController("editing"),i=o(e.jQueryEvent.target),a=t._getColumnIndexByElement(i),r=t.option("editing.allowUpdating"),s=t._columnsController.getVisibleColumns()[a],l=s&&(s.allowEditing||n.isEditCell(e.rowIndex,a));i.closest("."+D+"> td").hasClass(j)||r&&l&&n.editCell(e.rowIndex,a)||n.isEditRow(e.rowIndex)||t.callBase(e)},_cellPrepared:function(e,t){var n=t.columnIndex,i=this.getController("editing"),o=!!t.column.command,a=t.setValue;if(t.isEditing=i.isEditCell(t.rowIndex,t.columnIndex)||i.isEditRow(t.rowIndex)&&t.column.allowEditing,!t.column.command&&(t.isEditing||t.column.showEditorAlways)){var r=t.column.alignment;e.addClass(b).toggleClass(V,!a).toggleClass(L,!a),r&&e.find("input").first().css("text-align",r)}var s=t.row&&(t.row.inserted?t.row.values:t.row.modifiedValues);s&&void 0!==s[n]&&t.column&&!o&&t.column.setCellValue?(i.createHighlightCell(e),e.addClass(M)):a&&i.createHighlightCell(e,!0),this.callBase.apply(this,arguments)},_update:function(e){this.callBase(e),"updateSelection"===e.changeType&&this.getTableElements().children("tbody").children("."+k).removeClass(C)},cellValue:function(e,t,n,i){var o=this.getCellOptions(e,t);if(o){if(void 0===n)return o.value;this.getController("editing").updateFieldValue(o,n,i,!0)}}},headerPanel:{_getToolbarItems:function(){var e=this.callBase(),t=this.getController("editing").prepareEditButtons(this);return t.concat(e)},optionChanged:function(e){switch(e.name){case"editing":this._invalidateToolbarItems(),this.callBase(e);break;default:this.callBase(e)}},isVisible:function(){var e=this,t=e.getController("editing").option("editing");return e.callBase()||t&&(t.allowAdding||(t.allowUpdating||t.allowDeleting)&&t.mode===H)}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(20),s=n(27).normalizeSortingInfo;t.createGroupFilter=function(e,t){var n,i=s(t.group),o=[];for(n=0;n<e.length;n++)o.push([i[n].selector,"=",e[n]]);return t.filter&&o.push(t.filter),r.combineFilters(o)},t.GroupingHelper=a.inherit(function(){var e=function(e,t){var n=e.hash;return n&&n[t]},t=function(e,t){var n;for(n=0;n<e.length&&!(e[n].offset>t);n++);return n},n=function(e,n){var i,o,a;for(o=0;o<e.length;o++)if(i=e[o],i.data&&i.data.offset!==i.offset){if(e.splice(o,1),i.offset=i.data.offset,n)for(var r=0;r<n.length;r++)n[r].offset=i.offset;a=t(e,i.offset),e.splice(a,0,i),a>o&&o--}},i=function(e,t,n){var o;for(o=0;o<e.length;o++)t+1>=n?e[o].children=[]:i(e[o].children,t+1,n)};return{ctor:function(e){this._dataSource=e,this.reset()},reset:function(){this._groupsInfo=[],this._totalCountCorrection=0,this._itemsCount=0},totalCountCorrection:function(){return this._totalCountCorrection},updateTotalItemsCount:function(e){this._totalCountCorrection=e||0},_isGroupItemCountable:function(e){return!this._isVirtualPaging()||!e.isContinuation},_isVirtualPaging:function(){var e=this._dataSource.option("scrolling.mode");return"virtual"===e||"infinite"===e},itemsCount:function(){return this._itemsCount},updateItemsCount:function(e,t){function n(e,t,i){var o,a=0;if(t)if(i)for(o=0;o<t.length;o++)e._isGroupItemCountable(t[o])&&a++,a+=n(e,t[o].items,i-1);else a=t.length;return a}this._itemsCount=n(this,e,t)},foreachGroups:function(e,t,i,a,r){function s(e,t,l,c){function d(e,t,n,i){var o=t&&e(t,n);return i.push(o),o}var u,h,p=[];for(u=0;u<e.length;u++){if(c.push(e[u].data),!l&&d(t,e[u].data,c,p)===!1)return!1;if((!e[u].data||e[u].data.isExpanded||i)&&(h=s(e[u].children,t,l,c),p.push(h),h===!1))return!1;if(l&&d(t,e[u].data,c,p)===!1)return!1;e[u].data&&e[u].data.offset===e[u].offset||(a=!0),c.pop()}var f=r&&c.slice(0);return a&&o.when.apply(o,p).always(function(){n(e,f)})}var l=this;return s(l._groupsInfo,e,t,[])},findGroupInfo:function(t){var n,i,o=this,a=o._groupsInfo;for(n=0;a&&n<t.length;n++)i=e(a,t[n]),a=i&&i.children;return i&&i.data},addGroupInfo:function(i){var o,a,r,s=this,l=i.path,c=s._groupsInfo;for(r=0;r<l.length;r++)a=e(c,l[r]),a||(a={key:l[r],offset:i.offset,data:{offset:i.offset,isExpanded:!0,path:l.slice(0,r+1)},children:[]},o=t(c,i.offset),c.splice(o,0,a),c.hash=c.hash||{},c.hash[a.key]=a),r===l.length-1&&(a.data=i,a.offset!==i.offset&&n(c)),c=a.children},allowCollapseAll:function(){return!0},refresh:function(e){var t,n=this,o=e.storeLoadOptions,a=s(n._group||[]),r=s(o.group||[]),l=Math.min(a.length,r.length);for(n._group=o.group,t=0;l>t;t++)if(a[t].selector!==r[t].selector){l=t;break}l?i(n._groupsInfo,0,l):n.reset()},handleDataLoading:function(e){},handleDataLoaded:function(e,t){t(e)},handleDataLoadedCore:function(e,t){t(e)}}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(442).GroupingHelper,s=n(441).GroupingHelper,l=n(8),c=n(214),d=n(2),u=n(6),h="dx-datagrid-group-panel",p="dx-group-panel-message",f="dx-group-panel-item",_="dx-datagrid-group-opened",g="dx-datagrid-group-closed",m="dx-datagrid-expand",v="dx-selection-disabled",x="dx-group-row",w=function(){return{init:function(){this.callBase.apply(this,arguments),this._initGroupingHelper()},_initGroupingHelper:function(e){var t=this._grouping,n=e?e.remoteOperations:this.remoteOperations();n.filtering&&n.sorting&&n.paging&&!n.grouping?(!t||t instanceof s)&&(this._grouping=new r(this)):(!t||t instanceof r)&&(this._grouping=new s(this))},totalItemsCount:function(){var e=this,t=e.callBase();return t>0&&e._dataSource.group()&&e._dataSource.requireTotalCount()?t+e._grouping.totalCountCorrection():t},itemsCount:function(){return this._dataSource.group()?this._grouping.itemsCount()||0:this.callBase()},allowCollapseAll:function(){return this._grouping.allowCollapseAll()},isRowExpanded:function(e){var t=this._grouping.findGroupInfo(e);return t?t.isExpanded:!this._grouping.allowCollapseAll()},collapseAll:function(e){return this._collapseExpandAll(e,!1)},expandAll:function(e){return this._collapseExpandAll(e,!0)},_collapseExpandAll:function(e,t){var n,i=this,o=i._dataSource,r=o.group(),s=a.normalizeSortingInfo(r||[]);if(s.length){for(n=0;n<s.length;n++)void 0===e||e===n?s[n].isExpanded=t:r&&r[n]&&(s[n].isExpanded=r[n].isExpanded);o.group(s),i._grouping.foreachGroups(function(n,i){void 0!==e&&e!==i.length-1||(n.isExpanded=t)},!1,!0)}return!0},refresh:function(){return this.callBase.apply(this,arguments),this._grouping.refresh.apply(this._grouping,arguments)},changeRowExpand:function(e){var t=this,n=t._dataSource;return n.group()?(n._changeLoadingCount(1),t._changeRowExpandCore(e).always(function(){n._changeLoadingCount(-1)})):void 0},_changeRowExpandCore:function(e){return this._grouping.changeRowExpand(e)},_hasCollapsedGroupLevels:function(e){if(e&&o.isArray(e))for(var t=0;t<e.length;t++)if(e[t].isExpanded===!1)return!0},_customizeRemoteOperations:function(e){var t=e.remoteOperations;e.storeLoadOptions.group&&(t.grouping&&!e.isCustomLoading&&(t.paging=!1),t.grouping||t.sorting&&t.filtering&&!e.isCustomLoading&&!this._hasCollapsedGroupLevels(e.storeLoadOptions.group)||(t.paging=!1)),this.callBase.apply(this,arguments)},_handleDataLoading:function(e){return this.callBase(e),this._initGroupingHelper(e),this._grouping.handleDataLoading(e)},_handleDataLoaded:function(e){return this._grouping.handleDataLoaded(e,o.proxy(this.callBase,this))},_handleDataLoadedCore:function(e){return this._grouping.handleDataLoadedCore(e,o.proxy(this.callBase,this))}}}();c.extend(w);var y=function(){return{init:function(){var e=this;e.callBase(),e.createAction("onRowExpanding"),e.createAction("onRowExpanded"),e.createAction("onRowCollapsing"),e.createAction("onRowCollapsed")},_processItems:function(e,t){var n=this._columnsController.getGroupColumns();return e.length&&n.length&&(e=this._processGroupItems(e,n.length)),this.callBase(e,t)},_processItem:function(e,t){return d.isDefined(e.groupIndex)&&d.isString(e.rowType)&&0===e.rowType.indexOf("group")?(e=this._processGroupItem(e,t),t.dataIndex=0):e=this.callBase.apply(this,arguments),e},_processGroupItem:function(e,t){return e},_processGroupItems:function(e,t,n){var i,o,a,r,s=this,l=s._columnsController.getGroupColumns(),c=l[l.length-t];if(n||(i=s.option("scrolling.mode"),n={collectContinuationItems:"virtual"!==i&&"infinite"!==i,resultItems:[],path:[],values:[]}),r=n.resultItems,n.data&&(!n.collectContinuationItems&&n.data.isContinuation||r.push({rowType:"group",data:n.data,groupIndex:n.path.length-1,isExpanded:!!n.data.items,key:n.path.slice(0),values:n.values.slice(0)})),e)if(0===t)r.push.apply(r,e);else for(o=0;o<e.length;o++)a=e[o],a&&"items"in a?(n.data=a,n.path.push(a.key),n.values.push(c&&c.deserializeValue?c.deserializeValue(a.key):a.key),s._processGroupItems(a.items,t-1,n),n.data=void 0,n.path.pop(),n.values.pop()):r.push(a);return r},publicMethods:function(){return this.callBase().concat(["collapseAll","expandAll","isRowExpanded","expandRow","collapseRow"])},collapseAll:function(e){var t=this._dataSource;t&&t.collapseAll(e)&&(t.pageIndex(0),t.reload())},expandAll:function(e){var t=this._dataSource;t&&t.expandAll(e)&&(t.pageIndex(0),t.reload())},changeRowExpand:function(e){var t=this,n=t.isRowExpanded(e),i={key:e,expanded:n};return t.executeAction(n?"onRowCollapsing":"onRowExpanding",i),i.cancel?void 0:o.when(t._changeRowExpandCore(e)).done(function(){i.expanded=!n,t.executeAction(n?"onRowCollapsed":"onRowExpanded",i)})},_changeRowExpandCore:function(e){var t,n=this,i=this._dataSource;if(i)return t=o.Deferred(),o.when(i.changeRowExpand(e)).done(function(){n.load().done(t.resolve).fail(t.reject)}).fail(t.reject),t},isRowExpanded:function(e){var t=this._dataSource;return t&&t.isRowExpanded(e)},expandRow:function(e){return this.isRowExpanded(e)?o.Deferred().resolve():this.changeRowExpand(e)},collapseRow:function(e){return this.isRowExpanded(e)?this.changeRowExpand(e):o.Deferred().resolve()},optionChanged:function(e){"grouping"===e.name&&(e.name="dataSource"),this.callBase(e)}}}(),b=function(e,t){var n=this._columnsController;switch(t.itemData.value){case"group":var i=n._dataSource.group()||[];n.columnOption(e.dataField,"groupIndex",i.length);break;case"ungroup":n.columnOption(e.dataField,"groupIndex",-1);break;case"ungroupAll":this.component.clearGrouping()}},C=function(){return{_getToolbarItems:function(){var e=this.callBase();return this._appendGroupingItem(e)},_appendGroupingItem:function(e){var t=this;if(t._isGroupPanelVisible()){var n={template:function(e,n,i){var a=o("<div />").addClass(h).appendTo(i);t._updateGroupPanelContent(a)},name:"groupPanel",location:"before",locateInMenu:"never"};e.push(n)}return e},_updateGroupPanelContent:function(e){var t=this,n=t.getController("columns").getGroupColumns(),i=t.option("groupPanel");t._renderGroupPanelItems(e,n),i.allowColumnDragging&&!n.length&&o("<div />").addClass(p).text(i.emptyPanelText).appendTo(e)},_isGroupPanelVisible:function(){var e,t=this.option("groupPanel");return t&&(e=t.visible,"auto"===e&&(e="desktop"===u.current().deviceType)),e},_renderGroupPanelItems:function(e,t){var n=this;e.empty(),o.each(t,function(t,i){n._createGroupPanelItem(e,i)})},_createGroupPanelItem:function(e,t){return o("<div />").addClass(t.cssClass).addClass(f).data("columnData",t).appendTo(e).text(t.caption)},_renderCore:function(){if(this._toolbar){var e=this.element().find("."+h);e.length&&this._updateGroupPanelContent(e)}this.callBase()},allowDragging:function(e){var t=this.option("groupPanel");return this._isGroupPanelVisible()&&t.allowColumnDragging&&e&&e.allowGrouping},getColumnElements:function(){var e=this.element();return e&&e.find("."+f)},getColumns:function(){return this.getController("columns").getGroupColumns()},getBoundingRect:function(){var e,t=this,n=t.element();return n&&n.find("."+h).length?(e=n.offset(),{top:e.top,bottom:e.top+n.height()}):null},getName:function(){return"group"},getContextMenuItems:function(e){var t,n=this,i=n.option("grouping.contextMenuEnabled"),a=e.targetElement.closest("."+f);if(a.length&&(e.column=a.data("columnData")),i&&e.column){var r=e.column,s=d.isDefined(r.allowGrouping)?r.allowGrouping:!0;if(s){var l=d.isDefined(r.groupIndex)&&r.groupIndex>-1,c=n.option("grouping.texts"),u=o.proxy(b,n,r);t=[{text:c.ungroup,value:"ungroup",disabled:!l,onItemClick:u},{text:c.ungroupAll,value:"ungroupAll",onItemClick:u}]}}return t},isVisible:function(){return this.callBase()||this._isGroupPanelVisible()},optionChanged:function(e){"groupPanel"===e.name?(this._invalidateToolbarItems(),e.handled=!0):this.callBase(e)}}}();t.GroupingHeaderPanelExtender=C;var k=function(){return{getContextMenuItems:function(e){var t,n=this,i=n.option("grouping.contextMenuEnabled");if(i&&e.row&&"group"===e.row.rowType){var a=n._columnsController,r=a.columnOption("groupIndex:"+e.row.groupIndex);if(r&&r.allowGrouping){var s=n.option("grouping.texts"),l=o.proxy(b,n,r);t=[],t.push({text:s.ungroup,value:"ungroup",onItemClick:l},{text:s.ungroupAll,value:"ungroupAll",onItemClick:l})}}return t},_rowClick:function(e){var t=this,n=t.option("grouping.expandMode"),i="rowClick"===n&&o(e.jQueryEvent.target).closest("."+x).length,a=o(e.jQueryEvent.target).closest("."+m).length;(i||a)&&t._changeGroupRowState(e),t.callBase(e)},_changeGroupRowState:function(e){var t=this.getController("data"),n=t.items()[e.rowIndex];"detail"!==n.rowType&&(t.changeRowExpand(n.key),e.jQueryEvent.preventDefault(),e.handled=!0)},_getCellTemplate:function(e){var t=this;return"expand"===e.column.command?{allowRenderToDetachedContainer:!0,render:function(e,n){!d.isDefined(n.value)||n.data&&n.data.isContinuation||n.row.inserted||(e.addClass(m).addClass(v),o("<div>").addClass(n.value?_:g).appendTo(e),t.setAria("label",n.value?t.localize("dxDataGrid-ariaCollapse"):t.localize("dxDataGrid-ariaExpand"),e))}}:t.callBase(e)}}}(),S=function(){return{getContextMenuItems:function(e){var t=this,n=t.option("grouping.contextMenuEnabled"),i=t.callBase(e);if(n&&e.row&&"header"===e.row.rowType){var a=e.column;if(!a.command&&(!d.isDefined(a.allowGrouping)||a.allowGrouping)){var r=t.option("grouping.texts"),s=d.isDefined(a.groupIndex)&&a.groupIndex>-1,l=o.proxy(b,t,a);i=i||[],i.push({text:r.groupByThisColumn,value:"group",beginGroup:!0,disabled:s,onItemClick:l}),a.showWhenGrouped&&i.push({text:r.ungroup,value:"ungroup",disabled:!s,onItemClick:l}),i.push({text:r.ungroupAll,value:"ungroupAll",onItemClick:l})}}return i}}}();a.registerModule("grouping",{defaultOptions:function(){return{grouping:{autoExpandAll:!0,allowCollapsing:!0,contextMenuEnabled:!1,expandMode:"buttonClick",texts:{groupContinuesMessage:l.format("dxDataGrid-groupContinuesMessage"),groupContinuedMessage:l.format("dxDataGrid-groupContinuedMessage"),groupByThisColumn:l.format("dxDataGrid-groupHeaderText"),ungroup:l.format("dxDataGrid-ungroupHeaderText"),ungroupAll:l.format("dxDataGrid-ungroupAllText")}},groupPanel:{visible:!1,emptyPanelText:l.format("dxDataGrid-groupPanelEmptyText"),allowColumnDragging:!0}}},extenders:{controllers:{data:y},views:{headerPanel:C,rowsView:k,columnHeadersView:S}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){e=e||[];for(var t=0;t<e.length;t++)e[t].selected=!1,o(e[t].items)}var a=n(1),r=n(227),s=n(47),l=n(2),c=n(54),d=n(165),u=n(90),h="dx-header-filter",p="dx-header-filter-menu";t.updateHeaderFilterItemSelectionState=function(e,t,n){if(t^n){if(e.selected=!0,n&&e.items)for(var i=0;i<e.items.length;i++)if(!e.items[i].selected){e.selected=void 0;break}}else n&&(e.selected=!1,o(e.items))},t.HeaderFilterView=r.View.inherit({getPopupContainer:function(){return this._popupContainer},getListContainer:function(){return this._listContainer},applyHeaderFilter:function(e){var t=this,n=t.getListContainer(),i=n.element().find(".dx-checkbox").eq(0).hasClass("dx-checkbox-checked"),o=[],r=function(e,t,n){a.each(t,function(t,i){void 0!==i.selected&&!!i.selected^n?e.push(i.value):i.items&&i.items.length&&r(e,i.items,n)})};i?l.isArray(e.filterValues)&&(e.filterValues=[]):"tree"===e.type&&(r(o,n.option("items"),"exclude"===e.filterType),e.filterValues=o),e.filterValues&&!e.filterValues.length&&(e.filterValues=void 0),e.apply(),t.hideHeaderFilterMenu()},showHeaderFilterMenu:function(e,t){var n,i=this;t&&(i._initializePopupContainer(t),n=i.getPopupContainer(),i.hideHeaderFilterMenu(),i.updatePopup(e,t),n.show())},hideHeaderFilterMenu:function(){var e=this.getPopupContainer();e&&e.hide()},updatePopup:function(e,t){var n=this,i="right"===t.alignment?"left":"right";n._popupContainer&&(n._cleanPopupContent(),n._popupContainer.option("position",{my:i+" top",at:i+" bottom",of:e,collision:"flip fit"}))},_cleanPopupContent:function(){this._popupContainer&&this._popupContainer.content().empty()},_initializePopupContainer:function(e){var t=this,n=t.element(),i=t.option("headerFilter"),o=e.headerFilter&&e.headerFilter.width||i&&i.width,a=e.headerFilter&&e.headerFilter.height||i&&i.height,r={width:o,height:a,visible:!1,shading:!1,showTitle:!1,showCloseButton:!1,closeOnTargetScroll:!0,dragEnabled:!1,closeOnOutsideClick:!0,toolbarItems:[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:i.texts.ok,onClick:function(){t.applyHeaderFilter(e)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:i.texts.cancel,onClick:function(){t.hideHeaderFilterMenu()}}}],resizeEnabled:!0,onShowing:function(n){t._initializeListContainer(e),e.onShowing&&e.onShowing(n)},onInitialized:function(e){var t=e.component;t.option("animation",t._getDefaultOptions().animation)}};l.isDefined(t._popupContainer)?t._popupContainer.option(r):t._popupContainer=t._createComponent(n,c,r)},_initializeListContainer:function(e){var t=this,n=t._popupContainer.content(),i={dataSource:e.dataSource,onContentReady:function(){t.renderCompleted.fire()}};"tree"===e.type?t._listContainer=t._createComponent(a("<div>").appendTo(n),d,a.extend(i,{showCheckBoxesMode:"selectAll",keyExpr:"id"})):t._listContainer=t._createComponent(a("<div>").appendTo(n),u,a.extend(i,{pageLoadMode:"scrollBottom",showSelectionControls:!0,selectionMode:"all",itemTemplate:function(e,t,n){return n.text(e.text)},onSelectionChanged:function(t){var n=t.component.option("items"),i=t.component.option("selectedItems");t.component._selectedItemsUpdating||(0===i.length&&n.length?(e.filterType="include",e.filterValues=[]):i.length===n.length&&(e.filterType="exclude",e.filterValues=[])),a.each(n,function(t,n){var o,a=s.getIndexByKey(n,i,null)>=0,r=!!n.selected;r!==a&&(n.selected=a,e.filterValues=e.filterValues||[],o=s.getIndexByKey(n.value,e.filterValues,null),o>=0&&e.filterValues.splice(o,1),a^"exclude"===e.filterType&&e.filterValues.push(n.value))})},onContentReady:function(t){var n=t.component,i=n.option("items"),o=[],r=t.element.find(".dx-list-select-all-checkbox").dxCheckBox("instance");a.each(i,function(){this.selected&&o.push(this)}),n._selectedItemsUpdating=!0,n.option("selectedItems",o),n._selectedItemsUpdating=!1,e.filterValues&&e.filterValues.length&&r.option("value",void 0)}}))},_renderCore:function(e){this.element().addClass(p)}});var f=t.allowHeaderFiltering=function(e){return l.isDefined(e.allowHeaderFiltering)?e.allowHeaderFiltering:e.allowFiltering};t.headerFilterMixin={_applyColumnState:function(e){var t,n=e.rootElement,i=e.column;return"headerFilter"===e.name?(n.find("."+h).remove(),f(i)&&(t=this.callBase(e).toggleClass("dx-header-filter-empty",!i.filterValues||!i.filterValues.length)),t):this.callBase(e)},_getIndicatorClassName:function(e){return"headerFilter"===e?h:this.callBase(e)},_renderIndicator:function(e){var t,n=e.container,i=e.indicator;return"headerFilter"===e.name&&(t=this.option("rtlEnabled"),n.children().length&&(!t&&"right"===e.columnAlignment||t&&"left"===e.columnAlignment))?void n.prepend(i):void this.callBase(e)},optionChanged:function(e){"headerFilter"===e.name?(this._invalidate(),e.handled=!0):this.callBase(e)}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(2),a="dx-sort",r="dx-sort-none",s="dx-sort-up",l="dx-sort-down",c="dx-datagrid-action",d="dx-column-indicators",u="dx-datagrid-text-content";t.sortingMixin={_applyColumnState:function(e){var t,n,i,h=this,p=h.option("sorting.mode"),f=e.rootElement,_=e.column,g=f.find("."+d);return"sort"===e.name?(t=h.option("rtlEnabled")?"right":"left",f.find("."+a).remove(),!g.children().length&&g.remove(),f.children("."+u).css("margin-"+t,""),(("single"===p||"multiple"===p)&&_.allowSorting||o.isDefined(_.sortOrder))&&(n="asc"===_.sortOrder?"ascending":"descending",i=h.callBase(e).toggleClass(s,"asc"===_.sortOrder).toggleClass(l,"desc"===_.sortOrder),e.rootElement.addClass(c),"center"===_.alignment&&f.children("."+u).css("margin-"+t,i.outerWidth(!0))),o.isDefined(_.sortOrder)?h.setAria("sort",n,f):(i&&i.addClass(r),h.setAria("sort","none",f)),i):h.callBase(e)},_getIndicatorClassName:function(e){return"sort"===e?a:this.callBase(e)},_renderIndicator:function(e){var t,n=e.container,i=e.indicator;return"sort"===e.name&&(t=this.option("rtlEnabled"),n.children().length&&(!t&&"left"===e.columnAlignment||t&&"right"===e.columnAlignment))?void n.prepend(i):void this.callBase(e)},_updateIndicator:function(e,t,n){"sort"===n&&o.isDefined(t.groupIndex)||this.callBase.apply(this,arguments)}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(227),r=n(19),s=n(21),l=n(122).sessionStorage,c=n(2),d=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/,u=function(e){e&&o.each(e,function(t,n){var i;o.isPlainObject(n)||o.isArray(n)?u(n):"string"==typeof n&&(i=d.exec(n),i&&(e[t]=new Date(Date.UTC(+i[1],+i[2]-1,+i[3],+i[4],+i[5],+i[6]))))})};t.StateStoringController=a.ViewController.inherit(function(){var e=function(e){var t="sessionStorage"===e.type?l():localStorage;if(!t)throw"file:"===window.location.protocol&&s.msie?new Error("E1038"):new Error("E1007");return t},t=function(e){return c.isDefined(e.storageKey)?e.storageKey:"storage"};return{_loadState:function(){var n=this.option("stateStoring");if("custom"===n.type)return n.customLoad&&n.customLoad();try{return JSON.parse(e(n).getItem(t(n)))}catch(e){r.log(e.message)}},_saveState:function(n){var i=this.option("stateStoring");if("custom"===i.type)return void(i.customSave&&i.customSave(n));try{e(i).setItem(t(i),JSON.stringify(n))}catch(e){}},publicMethods:function(){return["state"]},isEnabled:function(){return this.option("stateStoring.enabled")},init:function(){var e=this;return e._state={},e._isLoaded=!1,e._isLoading=!1,e._windowUnloadHandler=function(){void 0!==e._savingTimeoutID&&e._saveState(e.state())},o(window).on("unload",e._windowUnloadHandler),
e},isLoaded:function(){return this._isLoaded},isLoading:function(){return this._isLoading},load:function(){var e,t=this;return t._isLoading=!0,e=t._loadState(),e&&o.isFunction(e.done)||(e=o.Deferred().resolve(e)),e.done(function(e){t._isLoaded=!0,t._isLoading=!1,t.state(e)}),e},state:function(e){var t=this;return arguments.length?(t._state=o.extend({},e),void u(t._state)):o.extend(!0,{},t._state)},save:function(){var e=this;clearTimeout(e._savingTimeoutID),e._savingTimeoutID=setTimeout(function(){e._saveState(e.state()),e._savingTimeoutID=void 0},e.option("stateStoring.savingTimeout"))},optionChanged:function(e){var t=this;switch(e.name){case"stateStoring":t.isEnabled()&&t.isLoaded()&&t.load(),e.handled=!0;break;default:t.callBase(e)}},dispose:function(){clearTimeout(this._savingTimeoutID),o(window).off("unload",this._windowUnloadHandler)}}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(21),r=n(5),s="infinite",l="virtual",c=a.msie?4e6:15e6,d=function(e){return e.option("scrolling.mode")===l},u=function(e){return e.option("scrolling.mode")===s};t.subscribeToExternalScrollers=function(e,t,n){function i(t){var n=t.element?t.element():t,i=n.offset();return i?t.scrollTop()-(i.top-e.offset().top):e.offset().top}function a(e){return function(n){var o=e.scrollTop()-i(e);o=o>0?o:0,t(o)}}function r(e){var t,n="#document"===e.get(0).nodeName,r=e.data("dxScrollable")||n&&o(window)||"auto"===e.css("overflow-y")&&e;r&&(t=a(r),r.on("scroll",t),c.push(function(e){var t=i(r),n=r.scrollTo?"scrollTo":"scrollTop";e-t>=0&&r[n](e+t)}),l.push(r),d.push(function(){r.off("scroll",t)}))}var s,l=[],c=[],d=[];for(n=n||e,s=n.parent();s.length;s=s.parent())r(s);return{scrollTo:function(e){o.each(c,function(t,n){n(e)})},dispose:function(){o.each(d,function(e,t){t()})}}},t.VirtualScrollController=r.inherit(function(){var e=function(e){var t=e._dataSource.pageSize();return t&&e._viewportSize>=0?Math.ceil(e._viewportSize/t):1},n=function(t){var n=t.option("scrolling.preloadEnabled"),i=e(t);return i&&(n&&i++,u(t)&&i--),i},i=function(e){return e._cache.length?e._cache[0].pageIndex:-1},a=function(e){return e._cache.length?e._cache[e._cache.length-1].pageIndex:-1},r=function(e,t,n){e._isChangedFiring=!0,t(n),e._isChangedFiring=!1},s=function(e,t){return e._isDelayChanged?(e._isDelayChanged=!1,r(e,t),!0):void 0},l=function(e,t,n,i){var o,a=e._dataSource,s=a.items();n&&!e._isDelayChanged&&(o={changeType:n,items:s});var l=e._dataSource.viewportItems();"append"===n?l.push.apply(l,s):"prepend"===n?l.unshift.apply(l,s):e._dataSource.viewportItems(s),a.updateLoading(),e._lastPageIndex=e.pageIndex(),e._isDelayChanged=i,i||r(e,t,o)};return{ctor:function(e,t){var n=this;n._dataSource=t,n.component=e,n._pageIndex=n._lastPageIndex=t.pageIndex(),n._viewportSize=0,n._viewportItemSize=20,n._viewportItemIndex=-1,n._sizeRatio=1,n._items=[],n._cache=[]},option:function(e){return this.component.option.apply(this.component,arguments)},virtualItemsCount:function(){var e,t,n,o=this,a=0;return d(o)?(e=i(o),0>e&&(e=0),t=e*o._dataSource.pageSize(),a=o._cache.length*o._dataSource.pageSize(),n=Math.max(0,o._dataSource.totalItemsCount()-a-t),{begin:t,end:n}):void 0},_setViewportPositionCore:function(e,t){var n=this,i=Math.min(n.option("scrolling.timeout")||0,n._dataSource.changingDuration());t&&i<n.option("scrolling.renderingThreshold")&&(i=10),clearTimeout(n._scrollTimeoutID),i>0?n._scrollTimeoutID=setTimeout(function(){n.setViewportItemIndex(e)},i):n.setViewportItemIndex(e)},getViewportPosition:function(){return this._position||0},setViewportPosition:function(e){var t=this,n=t.virtualItemsCount(),i=t._sizeRatio||1,o=t._viewportItemSize,a=n?Math.floor(n.begin*o*i):0;t._position=e,n&&e>=a&&e<=a+t._contentSize?t._setViewportPositionCore(n.begin+(e-a)/o,!0):t._setViewportPositionCore(e/(o*i))},setContentSize:function(e){var t=this,n=t.virtualItemsCount();if(t._contentSize=e,n){var i=(n.begin+n.end+t.itemsCount())*t._viewportItemSize;i>c?t._sizeRatio=c/i:t._sizeRatio=1}},getContentOffset:function(){var e=this,t=e.virtualItemsCount();return t?Math.floor(t.begin*e._viewportItemSize*e._sizeRatio):0},getVirtualContentSize:function(){var e=this,t=e.virtualItemsCount();return t?(t.begin+t.end)*e._viewportItemSize*e._sizeRatio+e._contentSize:0},getViewportItemIndex:function(){return this._viewportItemIndex},setViewportItemIndex:function(e){var t,n,i,o=this,a=o._dataSource.pageSize(),r=o._dataSource.pageCount(),s=d(o),l=u(o),c=o._dataSource.totalItemsCount(),h=o._viewportItemIndex<0;o._viewportItemIndex=e,a&&(s||l)&&c>=0&&(o._viewportSize&&e+o._viewportSize>=c?o._dataSource.hasKnownLastPage()?(i=r-1,t=c%a,i>0&&t>0&&a/2>t&&i--):i=r:(i=Math.floor(e/a),n=r-1,i=Math.max(i,0),i=Math.min(i,n)),(o.pageIndex()!==i||h)&&(o.pageIndex(i),o.load()))},viewportItemSize:function(e){return void 0!==e&&(this._viewportItemSize=e),this._viewportItemSize},viewportSize:function(e){return void 0!==e&&(this._viewportSize=e),this._viewportSize},pageIndex:function(e){return d(this)||u(this)?(void 0!==e&&(this._pageIndex=e),this._pageIndex):this._dataSource.pageIndex(e)},beginPageIndex:function(e){var t=i(this);return 0>t&&(t=void 0!==e?e:this.pageIndex()),t},endPageIndex:function(){var e=a(this);return e>0?e:this._lastPageIndex},load:function(){var e,t=i(this),r=-1,s=this._dataSource,l=function(e,t){var n=e._dataSource;return t===e.pageIndex()||!n.isLoading()&&t<n.pageCount()||!n.hasKnownLastPage()&&t===n.pageCount()?(n.pageIndex(t),n.load()):void 0};return d(this)||u(this)?((0>t||!this._cache[this._pageIndex-t])&&(r=this._pageIndex),t>=0&&0>r&&this._viewportSize>=0&&(t>0&&a(this)+1===s.pageCount()&&this._cache.length<n(this)+1?r=t-1:t+this._cache.length<=this._pageIndex+n(this)&&(r=t+this._cache.length)),r>=0&&(e=l(this,r)),s.updateLoading()):e=s.load(),e||this._lastPageIndex===this.pageIndex()||this._dataSource.onChanged({changeType:"pageIndex"}),e||o.Deferred().resolve()},loadIfNeed:function(){var e=this;!d(e)&&!u(e)||e._dataSource.isLoading()||e._isChangedFiring||e.load()},handleDataChanged:function(e){var t,o,c,h,p=this,f=p._dataSource,_=p._cache.length;if(d(p)||u(p)){if(t=i(p),t>=0&&(d(p)&&t+p._cache.length!==f.pageIndex()&&t-1!==f.pageIndex()&&(p._cache=[]),u(p)))if(0===f.pageIndex())p._cache=[];else if(f.pageIndex()<a(p))return void r(p,e,{changeType:"append",items:[]});h={pageIndex:f.pageIndex(),itemsCount:p.itemsCount(!0)},p.option("scrolling.removeInvisiblePages")?c=p._cache.length>Math.max(n(this),2):s(p,e),t===f.pageIndex()+1?(c?p._cache.pop():o="prepend",p._cache.unshift(h)):(c?p._cache.shift():o="append",p._cache.push(h)),l(p,e,p._cache.length>1?o:void 0,0===_),p.load().done(function(){s(p,e)&&p.load()})}else l(p,e)},itemsCount:function(e){var t=0;return!e&&d(this)?o.each(this._cache,function(){t+=this.itemsCount}):t=this._dataSource.itemsCount(),t},reset:function(){this._cache=[]},subscribeToWindowScrollEvents:function(e){var n=this;n._windowScroll=n._windowScroll||t.subscribeToExternalScrollers(e,function(e){n.viewportItemSize()&&n.setViewportPosition(e)})},dispose:function(){clearTimeout(this._scrollTimeoutID),this._windowScroll&&this._windowScroll.dispose(),this._windowScroll=null},scrollTo:function(e){this._windowScroll&&this._windowScroll.scrollTo(e)}}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(16),r=n(6),s=n(100),l=n(76),c=n(457),d=n(28),u="dx-state-disabled",h=d.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{keyExpr:"id",displayExpr:"text",selectedExpr:"selected",disabledExpr:"disabled",itemsExpr:"items",hoverStateEnabled:!0,parentIdExpr:"parentId",expandedExpr:"expanded"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===r.real().deviceType&&!r.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this._initAccessors(),this._initDataAdapter(),this._initDynamicTemplates()},_initDataSource:function(){this.callBase(),this._dataSource&&this._dataSource.paginate(!1)},_initDataAdapter:function(){var e=this._createDataAdapterAccessors();this._dataAdapter=new c(o.extend({dataAccessors:{getters:e.getters,setters:e.setters},items:this.option("items")},this._getDataAdapterOptions()))},_getDataAdapterOptions:o.noop,_initDynamicTemplates:function(){return this._useCustomExpressions()?void(this._dynamicTemplates.item=new s(o.proxy(function(e){return o("<div>").append(this._getIconContainer(e)).append(this._getTextContainer(e)).append(this._getPopoutContainer(e))},this))):void delete this._dynamicTemplates.item},_useCustomExpressions:function(){return"text"!==this.option("displayExpr")&&"html"!==this.option("displayExpr")},_getIconContainer:function(e){var t=e.icon||e.iconSrc;return t?l.getImageContainer(t):void 0},_getTextContainer:function(e){return o("<span>").text(this._displayGetter(e))},_getPopoutContainer:o.noop,_initAccessors:function(){var e=this;o.each(this._getAccessors(),function(t,n){e._compileAccessor(n)})},_getAccessors:function(){return["key","display","selected","items","disabled","parentId","expanded"]},_getChildNodes:function(e){var t=this,n=[];return o.each(e.internalFields.childrenKeys,function(e,i){var o=t._dataAdapter.getNodeByKey(i);n.push(o)}),n},_hasChildren:function(e){return e&&e.internalFields.childrenKeys.length},_compileAccessor:function(e){var t="_"+e+"Getter",n="_"+e+"Setter",i=this.option(e+"Expr");return o.isFunction(i)?(this[n]=function(e,t){e[i()]=t},void(this[t]=function(e){return e[i()]})):(this[t]=a.compileGetter(i),void(this[n]=a.compileSetter(i)))},_createDataAdapterAccessors:function(){var e=this,t={getters:{},setters:{}};return o.each(this._getAccessors(),function(n,i){var o="_"+i+"Getter",a="_"+i+"Setter",r="parentId"===i?"parentKey":i;t.getters[r]=e[o],t.setters[r]=e[a]}),t},_render:function(){this.callBase(),this._focusTarget().addClass(this._widgetClass())},_widgetClass:o.noop,_renderItemFrame:function(e,t){var n=this.callBase.apply(this,arguments);return n.toggleClass(u,!!this._disabledGetter(t)),n},_optionChanged:function(e){switch(e.name){case"displayExpr":case"keyExpr":this._dynamicTemplates.item||this._initDynamicTemplates(),this._initAccessors(),this.repaint();break;case"itemsExpr":case"selectedExpr":case"disabledExpr":case"expandedExpr":case"parentIdExpr":this._initAccessors(),this._initDataAdapter(),this.repaint();break;case"items":this._initDataAdapter(),this.callBase(e);break;default:this.callBase(e)}}});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(459)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=[];if(e.items)for(var i=0;i<e.items.length;i++)n.push.apply(n,o(e.items[i],t));else d.isDefined(e.index)&&n.push(t[e.index]);return n}function a(e,t){if(e.items)for(var n=0;n<e.items.length;n++){var i=a(e.items[n],t);if(i)return i}return t(e)?e:void 0}function r(e,t){for(var n=0,i=0;!n&&C[i];)n=C[i++](e,t);return n}function s(e){return e.find(".dx-scrollable").dxScrollable("instance")}var l=n(1),c=n(76),d=n(2),u=n(8),h=n(3),p=n(83),f=n(165),_=n(126),g=n(234),m=l.inArray,v=l.each,x="<div>";n(215);var w="dx-pivotgridfieldchooser",y="dx-pivotgridfieldchooser-container",b="dx-pivotgrid-fields-container",C=[function(e,t){var n=-!!e.isMeasure,i=+!!t.isMeasure;return n+i},function(e,t){var n=-!(!e.items||!e.items.length),i=+!(!t.items||!t.items.length);return n+i},function(e,t){var n=+!!(e.field&&e.field.levels&&e.field.levels.length),i=-!!(t.field&&t.field.levels&&t.field.levels.length);return n+i},p.getCompareFunction(function(e){return e.text})],k=g.inherit({_getDefaultOptions:function(){return l.extend(this.callBase(),{height:400,layout:0,dataSource:null,onContextMenuPreparing:null,texts:{columnFields:u.format("dxPivotGrid-columnFields"),rowFields:u.format("dxPivotGrid-rowFields"),dataFields:u.format("dxPivotGrid-dataFields"),filterFields:u.format("dxPivotGrid-filterFields"),allFields:u.format("dxPivotGrid-allFields")}})},_refreshDataSource:function(){var e=this;e._expandedPaths=[],e._changedHandler=e._changedHandler||function(){v(e._dataChangedHandlers,function(e,t){t()})},e._dataSource&&(e._dataSource.off("changed",e._changedHandler),e._dataSource=void 0),e.callBase(),e._dataSource&&e._dataSource.on("changed",e._changedHandler)},_init:function(){this.callBase(),this._refreshDataSource(),this._dataChangedHandlers=[],this._initActions()},_initActions:function(){this._actions={onContextMenuPreparing:this._createActionByOption("onContextMenuPreparing")}},_trigger:function(e,t){this._actions[e](t)},_setOptionsByReference:function(){this.callBase(),l.extend(this._optionsByReference,{dataSource:!0})},_optionChanged:function(e){var t=this;switch(e.name){case"dataSource":t._refreshDataSource(),t._invalidate();break;case"layout":case"texts":t._invalidate();break;case"onContextMenuPreparing":t._actions[e.name]=t._createActionByOption(e.name);break;default:t.callBase(e)}},_clean:function(){this.element().children("."+y).remove()},_renderContentImpl:function(){var e,t,n=this,i=this.element(),o=l(x).addClass(y).appendTo(i),a=n.option("layout");i.addClass(w).addClass(b),n._dataChangedHandlers=[],n.callBase(),0===a?(e=l(x).addClass("dx-col").appendTo(o),t=l(x).addClass("dx-col").appendTo(o),n._renderArea(e,"all"),n._renderArea(e,"filter"),n._renderArea(t,"row"),n._renderArea(t,"column"),n._renderArea(t,"data")):1===a?(e=l(x).addClass("dx-col").appendTo(o),t=l(x).addClass("dx-col").appendTo(o),n._renderArea(e,"all"),n._renderArea(t,"filter"),n._renderArea(t,"row"),n._renderArea(t,"column"),n._renderArea(t,"data")):(this._renderArea(o,"all"),e=l(x).addClass("dx-col").appendTo(o),t=l(x).addClass("dx-col").appendTo(o),n._renderArea(e,"filter"),n._renderArea(e,"row"),n._renderArea(t,"column"),n._renderArea(t,"data")),n.updateDimensions(),n._renderContextMenu()},_getContextMenuArgs:function(e){var t,n,i=l(e.target).closest(".dx-area-field"),o=l(e.target).closest(".dx-area-fields");return i.length&&(t=i.data("field")),o.length&&(n=o.attr("group")),{jQueryEvent:e,field:t,area:n,items:[]}},_renderContextMenu:function(){var e=this,t=e.element();e._contextMenu&&e._contextMenu.element().remove(),e._contextMenu=e._createComponent(l(x).appendTo(t),_,{onPositioning:function(t){var n,i=t.jQueryEvent;i&&(n=e._getContextMenuArgs(i),e._trigger("onContextMenuPreparing",n),n.items&&n.items.length?t.component.option("items",n.items):t.cancel=!0)},target:t,onItemClick:function(e){e.itemData.onItemClick&&e.itemData.onItemClick(e)},cssClass:"dx-pivotgridfieldchooser-context-menu"})},_createTreeItems:function(e,t,n){var i,o=this,a=[],r=[],s=t[0],l={};return s?(v(e,function(e,t){var n=t[s]||"";l[n]=l[n]||[],l[n].push(t),void 0===i&&(i=!0),i=i&&t.isMeasure===!0}),v(l,function(e,i){var s=n?n+"."+e:e,l=o._createTreeItems(i,t.slice(1),s);e?r.push({key:e,text:e,path:s,isMeasure:l.isMeasure,expanded:m(s,o._expandedPaths)>=0,items:l}):a=l}),a=r.concat(a),a.isMeasure=i):v(e,function(e,t){var n;t.isMeasure===!0&&(n="measure"),t.isMeasure===!1&&(n=t.groupName?"hierarchy":"dimension"),a.push({index:t.index,field:t,key:t.dataField,selected:d.isDefined(t.area),text:t.caption||t.dataField,icon:n,isMeasure:t.isMeasure,isDefault:t.isDefault})}),a},_createFieldsDataSource:function(e){var t,n=e&&e.fields()||[];return n=l.map(n,function(e){return e.visible===!1||d.isDefined(e.groupIndex)?null:e}),t=this._createTreeItems(n,["dimension","displayFolder"]),p.foreachDataLevel(t,function(e){e.sort(r)},0,"items"),t},_renderFieldsTreeView:function(e){var t=this,n=t._dataSource,i=t._createComponent(e,f,{dataSource:t._createFieldsDataSource(n),showCheckBoxesMode:"normal",itemTemplate:function(e,t,n){e.icon&&c.getImageContainer(e.icon).appendTo(n),l("<span>").toggleClass("dx-area-field",!e.items).data("field",e.field).text(e.text).appendTo(n)},onItemCollapsed:function(e){var n=m(e.itemData.path,t._expandedPaths);n>=0&&t._expandedPaths.splice(n,1)},onItemExpanded:function(e){var n=m(e.itemData.path,t._expandedPaths);0>n&&t._expandedPaths.push(e.itemData.path)},onItemSelectionChanged:function(e){var t,r,s,l=e.itemData,c=!0;if(l.items){if(l.selected)return void i.unselectItem(l);r=o(l,n.fields());for(var u=0;u<r.length;u++)if(r[u].area){c=!1;break}if(c){var h=a(l,function(e){return e.isDefault})||a(l,function(e){return d.isDefined(e.index)});return void(h&&i.selectItem(h))}}else t=n.fields()[l.index],l.selected&&(s=t.isMeasure?"data":"column"),t&&(r=[t]);v(r,function(e,t){n.field(t.index,{area:s,areaIndex:void 0})}),n.load()}}),r=function(){var o=s(e),a=o?o.scrollTop():0;i.option({dataSource:t._createFieldsDataSource(n)}),o=s(e),o&&(o.scrollTo({y:a}),o.update())};t._dataChangedHandlers.push(r)},_renderAreaFields:function(e,t){var n=this,i=n._dataSource,o=i?i.getAreaFields(t,!0):[];e.empty(),v(o,function(){n.renderField(this,!0).appendTo(e)})},_renderArea:function(e,t){var n,i,o,a=this,r=l(x).addClass("dx-area").appendTo(e),s=a.option("texts."+t+"Fields");l("<span>").addClass("dx-area-icon").addClass("dx-area-icon-"+t).appendTo(r),l("<span>").html("&nbsp;").appendTo(r),l("<span>").addClass("dx-area-caption").text(s).appendTo(r),n=l(x).addClass("dx-area-fields").height(0).appendTo(r),"all"!==t?(i=l(x).addClass("dx-area-field-container").appendTo(n),o=function(){a._renderAreaFields(i,t)},a._dataChangedHandlers.push(o),o(),n.attr("group",t).dxScrollable()):(n.addClass("dx-treeview-border-visible"),a._renderFieldsTreeView(n))},_getSortableOptions:function(){return{}},_adjustSortableOnChangedArgs:function(e){},getDataSource:function(){return this._dataSource},updateDimensions:function(){var e,t=this.element(),n=t.children(".dx-pivotgridfieldchooser-container"),i=t.find(".dx-col"),o=t.find(".dx-area-fields"),a=t.find(".dx-area .dx-scrollable");o.height(0),0===this.option("layout")?(e=Math.floor((t.height()-n.height())/3),o.height(e),o.eq(0).height(i.eq(1).height()-i.eq(0).height()+e)):1===this.option("layout")?(e=Math.floor((t.height()-n.height())/4),o.height(e),o.eq(0).height(i.eq(1).height()-i.eq(0).height()+e)):(e=Math.floor((t.height()-n.height())/4),o.height(e),o.eq(0).height(2*e)),a.dxScrollable("update")},_visibilityChanged:function(e){e&&this.updateDimensions()}});h("dxPivotGridFieldChooser",k),i.exports=k}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(26).format,s=n(24).errors,l=n(2),c=n(83);t.XmlaStore=a.inherit(function(){function e(e,t){var n=o.Deferred(),i=e.beforeSend,a={url:e.url,dataType:"text",data:t,headers:{"Content-Type":"text/xml"},xhrFields:{},method:"POST"};return l.isFunction(i)&&i(a),c.sendRequest(a).fail(function(){n.reject(arguments)}).done(function(e){var t;try{t=o.parseXML(e)}catch(t){n.reject({statusText:t.message,stack:t.stack,responseText:e})}n.resolve(t)}),n}function t(e,t,n){return t=t?"."+t:"","Descendants({"+e+t+"}, "+n+", SELF_AND_BEFORE)"}function n(e){return(e.hierarchyName||e.dataField)+".[All]"}function i(e){return e.dataField+".allMembers"}function a(e){var t=e.join(",");return e.length>1?r(X,t):t}function d(e){var t=e.join(",");return e.length>1?"Union("+t+")":t}function u(e,o,s,l,c,d,u){var h,p,f,_,g,m,v,x,w,y,b,C,k=[],S=d[u],T=[];for(C=l;o>=C;C++)y=S[C],h=y.dataField,m=S[C-1]&&S[C-1].hierarchyName,f=y.hierarchyName,v=!f||!S[C+1]||S[C+1].hierarchyName!==f,w=e.length+s+l,_=null,T.push(y),C<e.length?v&&(_="("+h+"."+E(e[C])+")"):w>=C?0===C&&0===s?(p=n(S[l]),_=f?p+","+S[l].dataField:i(S[l])):f?(b=E(c[c.length-1]),(v||C===w)&&(m===f?(c.length&&(g=S[c.length-1]),g&&g.hierarchyName===f||(g=S[C-1],b=""),_=t(g.dataField,b,h)):_=i(y))):_=i(y):(x=!f||m!==f,x&&(_="("+n(y)+")")),_&&(_=r(Q,_),k.push(_));return a(k)}function h(e,t,n,i,o,a,s,l){var c,d=-1,h=a[s];do d++,c=t.length+d+i,e.push(r(K,u(t,n,d,i,o,a,s),l));while(h[c]&&h[c+1]&&h[c].expanded)}function p(e,t,n,i){return n=n||"[DX_Set_"+t.length+"]",i=i||"set",t.push(r(j,i,n,e)),n}function f(e,t,n,i,o){var s=e[t],l=[],c=[],u=[],f=0,_=0,g=[],m=r(Q,n.join(","));if(s&&s.length){for(e.headerName===t?(c=e.path,_=f=c.length):(u=("columns"===t?e.columnExpandedPaths:e.rowExpandedPaths)||u,Z(u,function(e,t){_=Math.max(_,t.length)}));s[_+1]&&s[_].expanded;)_++;h(l,[],_,f,c,e,t,m),Z(u,function(n,i){h(l,i,_,f,i,e,t,m)});for(var v=_;v>=c.length;v--)s[v].hierarchyName&&(o.visibleLevels[s[v].hierarchyName]=o.visibleLevels[s[v].hierarchyName]||[],o.visibleLevels[s[v].hierarchyName].push(s[v].dataField))}return l.length&&g.push(p(d(l),i,"[DX_"+t+"]")),"columns"===t&&n.length&&g.push(m),r(Y,a(g),t)}function _(e){var t=[];return Z(e,function(e,n){var o,a=n.dataField,s=[],c=n.filterValues||[];n.hierarchyName&&l.isNumber(n.groupIndex)||(Z(c,function(e,t){var i=a+"."+E(l.isArray(t)?t[t.length-1]:t);"exclude"===n.filterType&&(s.push(i+".parent"),i="Descendants("+i+")"),s.push(i)}),c.length&&(o=r(Q,s.join(",")),"exclude"===n.filterType&&(o="Except("+i(n)+","+o+")"),t.push(o)))}),t.length?a(t):""}function g(e,t,n,i){var o="["+i+"]";return Z([e,t,n],function(e,t){t&&(o=r(q,t+"on 0",o))}),o}function m(e,t,n,i,o,a,s){var l="",c=(t.length?"with "+t.join(" "):"")+" ";return e.length&&(l=c+r($,g(_(n),_(i),_(o||[]),s),a.length?r(U,a.join(",")):"",e.join(","))),l}function v(e,t){return o.map(t,function(t){return l.isString(t.expression)&&p(t.expression,e,t.dataField,"member"),t.dataField})}function x(e,t,n){var i=e.columns||[],o=e.rows||[],a=e.values&&e.values.length?e.values:[{dataField:"[Measures]"}],r=[],s=[],l=[],c=v(s,a);return n.measureCount=a.length,n.visibleLevels={},e.headerName&&e.path&&Z(e.path,function(t,n){var i=e[e.headerName][t];i.hierarchyName&&i.hierarchyName===e[e.headerName][t+1].hierarchyName||r.push(i.dataField+"."+E(n))}),(i.length||c.length)&&l.push(f(e,"columns",c,s,n)),o.length&&l.push(f(e,"rows",c,s,n)),m(l,s,i,o,e.filters,r,t)}function w(e,t,n){Z(n,function(n,i){var o=t[n];o.hierarchyName&&(t[n+1]||{}).hierarchyName===o.hierarchyName||e.push(o.dataField+"."+E(i))})}function y(e,t,n){var i,o=e.columns||[],a=e.rows||[],r=e.values&&e.values.length?e.values:[{dataField:"[Measures]"}],s=[],l=[],c=[],d=v(l,r),u=n.maxRowCount,h=n.customColumns||[],p=h.length>0?" return "+h.join(","):"";return w(s,o,n.columnPath||[]),w(s,a,n.rowPath||[]),(o.length||o.length||d.length)&&c.push([(d[n.dataIndex]||d[0])+" on 0"]),i=m(c,l,o,a,e.filters,s,t),i?"drillthrough"+(u>0?" maxrows "+u:"")+i+p:i}function b(e){return parseInt(e,10)}function C(e){return o.isNumeric(e)?parseFloat(e):e}function k(e,t){return(e.getElementsByTagName(t)||[])[0]}function S(e,t){return I(k(e,t))}function T(e){var t=[];for(Z(e.getElementsByTagName("Axis"),function(e,n){var i=n.getAttribute("name"),o=[],a=0;0===i.indexOf("Axis")&&l.isNumber(b(i.substr(4)))&&(t.push(o),Z(n.getElementsByTagName("Tuple"),function(e,n){var i,r,s,l=n.childNodes,c=0,d=[],u=l.length-1,h=1===t.length;for(h&&u--,o.push(d),s=u;s>=0;s--)i=l[s],r=b(S(i,"LNum")),d[s]={caption:S(i,"Caption"),value:C(S(i,"MEMBER_VALUE")),level:r,index:a++,hasValue:!(c||!r&&0!==s),name:S(i,"UName"),hierarchyName:l[s].getAttribute("Hierarchy"),parentName:S(i,"PARENT_UNIQUE_NAME"),levelName:S(i,"LName")},c+=r}))});t.length<2;)t.push([[{level:0}]]);return t}function I(e){return e&&e&&(e.textContent||e.text||e.innerHTML)||""}function D(e,t,n){for(var i,o,a=[],r=[],s=0,l=[],c=e.getElementsByTagName("Cell"),d=0;d<c.length;d++){var u=c[d],h=u.getElementsByTagName("Value")[0],p=parseFloat(I(h));l[b(u.getAttribute("CellOrdinal"))]={value:isNaN(p)?null:p}}return Z(t[1],function(){o=[],a.push(o),Z(t[0],function(){i=s%n,0===i&&(r=[],o.push(r)),r.push(l[s]?l[s].value:null),s++})}),a}function E(e){return e?l.isString(e)&&-1!==e.indexOf("&[")?e:"["+e+"]":void 0}function A(e,t,n,i){var o=e[t];return o||(o={},e[t]=o),!o.value&&n&&(o.text=n.caption,o.value=n.value,o.key=t?t.slice(t.indexOf("&[")):"",o.levelName=n.levelName,o.hierarchyName=n.hierarchyName,o.parentName=n.parentName,o.index=i,o.level=n.level),o}function B(e,t){var n=[],i=e.children&&(e.children.length?e.children:o.map(e.children.grandTotalHash||[],function(e){return e.children})),a=i&&i[0];if(a&&(t[a.hierarchyName]&&-1!==o.inArray(a.levelName,t[a.hierarchyName])||!t[a.hierarchyName]||0===a.level)){var r=o.map(i,function(e){return e.hierarchyName===a.hierarchyName?e:null});return r.grandTotalHash=i.grandTotalHash,r}if(a)for(var s=0;s<i.length;s++)i[s].hierarchyName===a.hierarchyName&&n.push.apply(n,B(i[s],t));return n}function M(e,t,n){var i,o=n.children=n.children||[],a=o.hash=o.hash||{},r=o.grandTotalHash=o.grandTotalHash||{};return t.parentName&&(n=A(a,t.parentName),o=n.children=n.children||[]),i=A(a,t.name,t,e),t.hasValue&&!i.added&&(i.index=e,i.added=!0,o.push(i)),n.value&&n.parentName||!t.parentName?r[n.name]&&delete r[t.parentName]:r[t.parentName]=n,i}function O(e,t){var n;if(1===e.children.length&&""===e.children[0].parentName){n=e.children[0].index;var i=e.children.grandTotalHash;e.children=e.children[0].children||[],e.children.grandTotalHash=i,e.children=B(e,t)}else 0===e.children.length&&(n=0);return n}function P(e,t,n,i){var o,a=[];Z(t,function(e,t){var i={children:a},o=l.isDefined(n)?Math.floor(e/n):e;Z(t,function(e,t){i=M(o,t,i)})});var r={children:a};return r.children=B(r,i),o=O(r,i),c.foreachTree(r.children,function(e){var t=e[0],n=B(t,i);n.length?t.children=n:delete t.children,delete t.levelName,delete t.hierarchyName,delete t.added,delete t.parentName,delete t.level},!0),Z(r.children||[],function(t,n){e.push(n)}),o}function R(e){var t,n,i=o(e).find("Error");return i.length?(t=i.attr("Description"),n=new s.Error("E4000",t),s.log("E4000",t),n):null}function V(e,t){var n,i={columns:[],rows:[]},o=t.measureCount;return n=T(e),i.grandTotalColumnIndex=P(i.columns,n[0],o,t.visibleLevels),i.grandTotalRowIndex=P(i.rows,n[1],void 0,t.visibleLevels),i.values=D(e,n,o),i}function F(e,t,n){var i=[],o="MEASURE"===t,a=o?"MEASUREGROUP_NAME":t+"_DISPLAY_FOLDER";return Z(e.getElementsByTagName("row"),function(e,r){var s="LEVEL"===t?S(r,"HIERARCHY_UNIQUE_NAME"):void 0,l=S(r,"LEVEL_NUMBER");if(("0"!==l||"true"!==S(r,t+"_IS_VISIBLE"))&&S(r,"DIMENSION_TYPE")!==ee){var c=o?J:S(r,"DIMENSION_UNIQUE_NAME"),d=S(r,t+"_UNIQUE_NAME");i.push({dimension:n.names[c]||c,groupIndex:l?b(l)-1:void 0,dataField:d,caption:S(r,t+"_CAPTION"),hierarchyName:s,groupName:s,displayFolder:S(r,a),isMeasure:o,isDefault:!!n.defaultHierarchies[d]})}}),i}function L(e){var t={names:{},defaultHierarchies:{}};return Z(o(e).find("row"),function(){var e=o(this),n=e.children("DIMENSION_TYPE").text(),i=n===ee?J:e.children("DIMENSION_UNIQUE_NAME").text();t.names[i]=e.children("DIMENSION_CAPTION").text(),t.defaultHierarchies[e.children("DEFAULT_HIERARCHY").text()]=!0}),t}function H(e){e=e.replace(/_x(....)_/g,function(e,t){return String.fromCharCode(parseInt(t,16))});var t=e.match(/\[.+?\]/gi);return t&&t.length&&(e=t[t.length-1]),e.replace(/\[/gi,"").replace(/\]/gi,"").replace(/\$/gi,"").replace(/\./gi," ")}function z(e){for(var t=e.getElementsByTagName("row"),n=[],i={},o=0;o<t.length;o++){for(var a=t[o].childNodes,r={},s=0;s<a.length;s++){var l=a[s].tagName,c=i[l]=i[l]||H(l);r[c]=I(a[s])}n.push(r)}return n}function N(t,n){return n=o("<div>").text(n).html(),e(t,r(G,n,t.catalog))}var W='<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><Discover xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>{2}</RequestType><Restrictions><RestrictionList><CATALOG_NAME>{0}</CATALOG_NAME><CUBE_NAME>{1}</CUBE_NAME></RestrictionList></Restrictions><Properties><PropertyList><Catalog>{0}</Catalog></PropertyList></Properties></Discover></Body></Envelope>',G='<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><Execute xmlns="urn:schemas-microsoft-com:xml-analysis"><Command><Statement>{0}</Statement></Command><Properties><PropertyList><Catalog>{1}</Catalog><ShowHiddenCubes>True</ShowHiddenCubes><SspropInitAppName>Microsoft SQL Server Management Studio</SspropInitAppName><Timeout>3600</Timeout></PropertyList></Properties></Execute></Body></Envelope>',$="SELECT {2} FROM {0} {1} CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS",q="(SELECT {0} FROM {1})",j="{0} {1} as {2}",U="WHERE ({0})",K="NonEmpty({0}, {1})",Y="{0} DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME, MEMBER_VALUE ON {1}",X="CrossJoin({0})",Q="{{0}}",Z=o.each,J="DX_MEASURES",ee="2";return{ctor:function(e){this._options=e},getFields:function(){var t=this._options,n=t.catalog,i=t.cube,a=e(t,r(W,n,i,"MDSCHEMA_DIMENSIONS")),s=e(t,r(W,n,i,"MDSCHEMA_MEASURES")),l=e(t,r(W,n,i,"MDSCHEMA_HIERARCHIES")),c=e(t,r(W,n,i,"MDSCHEMA_LEVELS")),d=o.Deferred();return o.when(a,s,l,c).done(function(e,t,n,i){var o=L(e),a=F(n,"HIERARCHY",o),r=F(i,"LEVEL",o),s=F(t,"MEASURE",o).concat(a),l={};Z(r,function(e,t){l[t.hierarchyName]=l[t.hierarchyName]||[],l[t.hierarchyName].push(t)}),Z(a,function(e,t){l[t.dataField]&&l[t.dataField].length>1&&(t.groupName=t.hierarchyName=t.dataField,s.push.apply(s,l[t.hierarchyName]))}),d.resolve(s)}).fail(d.reject),d},load:function(e){var t=o.Deferred(),n=this._options,i={},a=x(e,n.cube,i);return a?o.when(N(n,a)).done(function(e){var n=R(e);n?t.reject(n):t.resolve(V(e,i))}).fail(t.reject):t.resolve({columns:[],rows:[],values:[],grandTotalColumnIndex:0,grandTotalRowIndex:0}),t},supportSorting:function(){return!0},getDrillDownItems:function(e,t){var n=o.Deferred(),i=this._options,a=y(e,i.cube,t);return a?o.when(N(i,a)).done(function(e){var t=R(e);t?n.reject(t):n.resolve(z(e))}).fail(n.reject):n.resolve([]),n},key:o.noop,filter:o.noop}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(237),a=n(12),r=100,s=20,l=a.dateToMilliseconds,c=o.inherit({_needVerifyItemSize:function(){return!0},calculateAppointmentWidth:function(e){var t,n=this._defaultWidth||this.getAppointmentDefaultSize(),i=this.instance.invoke("getField","allDay",e),o=this.getAppointmentDefaultSize(),a=0,r=l("day"),s=this._startDate(e),c=this._endDate(e),d=c.getTime()-s.getTime();if(i){var u=Math.ceil(d/r);a=u*(60*this.instance.option("dayDuration")/this.instance.option("appointmentDurationInMinutes"))}else{var h=Math.floor(d/r),p=d%r,f=this.instance.option("dayDuration")*l("hour");p>f&&(p=f);var _=this.instance.option("appointmentDurationInMinutes")*l("minute");a=(h*f+p)/_}return t=a*n,o>t&&(t=o),t},getAppointmentGeometry:function(e){var t=this._customizeAppointmentGeometry(e);return this.callBase(t)},_customizeAppointmentGeometry:function(e){var t=(this._defaultHeight||this.getAppointmentDefaultSize())-s,n=t/e.count;n>r&&(n=r);var i=e.top+e.index*n;return{height:n,width:e.width,top:i,left:e.left}},_correctRtlCoordinatesParts:function(e,t){for(var n=1;n<e.length;n++)e[n].left-=t;return e},_sortCondition:function(e,t){var n=this._columnCondition(e,t);return this._fixUnstableSorting(n,e,t)},_getMaxAppointmentWidth:function(e){var t;return this.instance.notifyObserver("getMaxAppointmentWidth",{date:e,callback:function(e){t=e}}),t},getDeltaTime:function(e,t){var n=this._getDeltaWidth(e,t);return this.instance.option("appointmentDurationInMinutes")*l("minute")*n},isAllDay:function(e){return this.instance.invoke("getField","allDay",e)}});i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(322),a=n(12),r=n(35),s=o.inherit({calculateAppointmentWidth:function(e){var t=new Date(this._startDate(e)),n=new Date(this._endDate(e)),i=this._defaultWidth||this.getAppointmentDefaultSize();t=a.trimTime(t);var o=(n.getTime()-t.getTime())/36e5;return Math.ceil(o/24)*i},getDeltaTime:function(e,t){var n=this._getDeltaWidth(e,t);return 864e5*n},isAllDay:function(){return!1},createTaskPositionMap:function(e){return this.instance._sortAppointmentsByStartDate(e),this.callBase(e)},_getSortedPositions:function(e,t){var n=this.callBase(e);return t||(n=r(n).sortBy("top").thenBy("left").thenBy("i").toArray()),n}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(239),s=n(14),l="dx-scheduler-timeline-week",c="dx-scheduler-header-panel-cell",d="dx-scheduler-header-row",u=200,h=r.inherit({
_getElementClass:function(){return l},_getCellCount:function(){return this.callBase()*this._getWeekDuration()},_renderDateHeader:function(){for(var e=this.callBase(),t=new Date(this._firstViewDate),n=[],i=this._getCellCountInDay(),a=i*u,r=0;r<this._getWeekDuration();r++)n.push(o("<th>").addClass(c).text(s.format(t,"E d")).attr("colspan",i).width(a)),t.setDate(t.getDate()+1);var l=o("<tr>").addClass(d).append(n);e.before(l)},_getWeekDuration:function(){return 7}});a("dxSchedulerTimelineWeek",h),i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(35),a=n(10),r=n(496),s={_displayNames:r.displayNames,_list:r.timezones,getTimezones:function(){return this._list},getDisplayNames:function(){return this._displayNames},queryableTimezones:function(){return o(this.getTimezones())},getTimezoneById:function(e){var t,n=0,i=this.getTimezones();if(e)for(;!t;){if(!i[n])return void a.log("W0009",e);var o=i[n].id;o===e&&(t=i[n]),n++}return t},getTimezoneOffsetById:function(e,t){var n,i,o,a,r=this.getTimezoneById(e);if(r){if(r.link){var s=this.getTimezones()[r.link];n=s.offsets,o=s.untils,i=s.offsetIndices}else n=r.offsets,o=r.untils,i=r.offsetIndices;a=this.getUtcOffset(n,i,o,t)}return a},getUtcOffset:function(e,t,n,i){for(var o=0,a=t.split(""),r=n.split("|").map(function(e){return"Infinity"===e?null:1e3*parseInt(e,36)}),s=0,l=0,c=r.length;c>l;l++){s+=r[l];{if(!(i>=s))break;o=l}}return r[o+1]&&o++,e[Number(a[o])]},getTimezoneShortDisplayNameById:function(e){var t,n=this.getTimezoneById(e);return n&&(t=n.DisplayName.substring(0,11)),t},getTimezonesDisplayName:function(){return o(this.getDisplayNames()).sortBy().toArray()},getTimezoneDisplayNameById:function(e){var t=this.getTimezoneById(e);return t?this.getDisplayNames()[t.winIndex]:""},getSimilarTimezones:function(e){if(!e)return[];var t=this.getTimezoneById(e);return this.getTimezonesIdsByWinIndex(t.winIndex)},getTimezonesIdsByWinIndex:function(e){return this.queryableTimezones().filter(["winIndex",e]).sortBy("title").toArray().map(function(e){return{id:e.id,displayName:e.title}})},getTimezonesIdsByDisplayName:function(e){var t=this.getDisplayNames().indexOf(e);return this.getTimezonesIdsByWinIndex(t)},getClientTimezoneOffset:function(){return 6e4*(new Date).getTimezoneOffset()},processDateDependOnTimezone:function(e,t){var n=new Date(e);if(t){var i=t+this.getClientTimezoneOffset()/36e5;n=new Date(n.setHours(n.getHours()+i))}return n}};i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(162),s="dx-scheduler-work-space-week",l=r.inherit({_getElementClass:function(){return s},_getRowCount:function(){return this._getCellCountInDay()},_getCellCount:function(){return 7},_getDateByIndex:function(e){var t=new Date(this._firstViewDate);return t.setDate(this._firstViewDate.getDate()+e),t},_getFormat:function(){return"E d"},_getCellsBetween:function(e,t){if(this._hasAllDayClass(t))return this.callBase(e,t);for(var n=this._getCells(),i=e.index(),a=e.parent().index(),r=t.index(),s=t.parent().index(),l=this._getGroupCount(),c=l>0?this._getTotalCellCount(l):this._getCellCount(),d=this._getTotalRowCount(l),u=[],h=0;c>h;h++)for(var p=0;d>p;p++){var f=n.get(c*p+h);u.push(f)}var _=d*i+a,g=d*r+s;if(_>g){var m=_;_=g,g=m}if(n=o(u).slice(_,g+1),this._getGroupCount()){var v=[],x=this._getGroupIndexByCell(e);o.each(n,o.proxy(function(e,t){var n=this._getGroupIndexByCell(o(t));x===n&&v.push(t)},this)),n=o(v)}return n},_getRightCell:function(e){if(!e)return this.callBase(e);var t,n=this._$focusedCell,i=this._getGroupCount(),o=e?this._getCellCount():this._getTotalCellCount(i),a=this._isRTL()?0:o-1,r=this._isRTL()?"prev":"next";return n.index()===a||this._isGroupEndCell(n)?t=n:(t=n[r](),t=this._checkForViewBounds(t)),t},_getLeftCell:function(e){if(!e)return this.callBase(e);var t,n=this._$focusedCell,i=this._getGroupCount(),o=e?this._getCellCount():this._getTotalCellCount(i),a=this._isRTL()?o-1:0,r=this._isRTL()?"next":"prev";return n.index()===a||this._isGroupStartCell(n)?t=n:(t=n[r](),t=this._checkForViewBounds(t)),t}});a("dxSchedulerWorkSpaceWeek",l),i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t,n=e[0],i=[n.obj],o=e.length,a=1;for(a;o>a;a++)t=e[a],n.value!==t.value&&(i.push(t.obj),n=t);return i}function a(e,t){if(!e.length&&!t.length)return[];var n=e.concat(t),i=[],a=n.length,r=!1,s=0;for(s;a>s;s++)null!==n[s]?i.push({obj:n[s],value:n[s].valueOf()}):r=!0;return i.sort(function(e,t){return e.value-t.value}),i=o(i),r&&i.push(null),i}var r,s=n(1),l=n(216),c=n(501),d=n(504),u=n(502),h=n(12),p=n(2),f=n(71),_=p.isDefined,g=p.isNumber,m=h.addInterval,v=n(7),x=v.adjustValue,w=v.map,y=s.each,b=s.inArray,C=s.noop,k=30,S=15,T=[1,2,3,5],I=2e3,D=2;t.discrete=s.extend({},l.continuous,{_calculateMinorTicks:C,_findTickInterval:C,_createTicks:function(){return[]},_getMarginValue:C,_generateBounds:C,_correctMin:C,_correctMax:C,_findBusinessDelta:C,_addBoundedTicks:C,getFullTicks:function(){return this._customTicks},getMinorTicks:function(){return this._decimatedTicks||[]},_findTickIntervalForCustomTicks:function(){return 1}}),r=t.TickManager=function(e,t,n){n=n||{},this.update(e||{},t||{},n),this._initOverlappingMethods(n.overlappingBehaviorType)},r.prototype={constructor:r,dispose:function(){this._ticks=null,this._minorTicks=null,this._decimatedTicks=null,this._boundaryTicks=null,this._options=null},update:function(e,t,n){this._updateOptions(n||{}),this._min=t.min,this._updateTypes(e||{}),this._updateData(t||{})},_updateMinMax:function(e){var t=e.min||0,n=e.max||0,i=this._applyMinMaxMargins(t,n);this._min=this._originalMin=i.min,this._max=this._originalMax=i.max,this._updateBusinessDelta()},_updateBusinessDelta:function(){this._businessDelta=this._findBusinessDelta&&this._findBusinessDelta(this._min,this._max)},_updateTypes:function(e){var t=this,n=t._validateAxisType(e.axisType),i=t._validateDataType(e.dataType);t._resetMethods(),this._axisType=n,this._dataType=i,this._initMethods()},_updateData:function(e){e=s.extend({},e),e.min=_(e.min)?e.min:this._originalMin,e.max=_(e.max)?e.max:this._originalMax,this._updateMinMax(e),this._customTicks=e.customTicks&&e.customTicks.slice(),this._customMinorTicks=e.customMinorTicks,this._customBoundTicks=e.customBoundTicks,this._screenDelta=e.screenDelta||0},_updateOptions:function(e){var t;this._options=t=e,this._useAutoArrangement=!!this._options.useTicksAutoArrangement,t.gridSpacingFactor=t.gridSpacingFactor||k,t.minorGridSpacingFactor=t.minorGridSpacingFactor||S,t.numberMultipliers=t.numberMultipliers||T},getTickBounds:function(){return{minVisible:this._minBound,maxVisible:this._maxBound}},getTicks:function(e){var t=this,n=t._options;return t._ticks=t._calculateMajorTicks(),t._checkLabelFormat(),t._decimatedTicks=[],t._applyAutoArrangement(),!e&&t._applyOverlappingBehavior(),t._generateBounds(),n.showMinorTicks&&(t._minorTicks=t._calculateMinorTicks()),t._addBoundedTicks(),t._ticks},getMinorTicks:function(){var e=this,t=e.getDecimatedTicks(),n=e._options||{},i=t.length,o=_(n.minorTickInterval)||_(n.minorTickCount),r=e._customMinorTicks&&e._customMinorTicks.length,s=n.showMinorTicks&&(o||r),l=i&&!s?t:e._minorTicks||[];return a(l,[])},getDecimatedTicks:function(){return this._decimatedTicks||[]},getFullTicks:function(){var e=this,t=e._ticks&&!e._minorTicks,n=t?e._calculateMinorTicks():e._minorTicks||[];return a(e._ticks||[],n.concat(e.getBoundaryTicks()))},getBoundaryTicks:function(){return this._boundaryTicks||[]},getTickInterval:function(){return this._tickInterval},getMinorTickInterval:function(){return this._minorTickInterval},getOverlappingBehavior:function(){return this._options.overlappingBehavior},getOptions:function(){return this._options},_calculateMajorTicks:function(){var e,t=this;return t._options.showCalculatedTicks||!t._customTicks?e=t._createTicks(t._options.showCalculatedTicks?t._customTicks||[]:[],t._findTickInterval(),t._min,t._max):(e=t._customTicks.slice(),t._tickInterval=e.length>1?t._findTickIntervalForCustomTicks():0),e},_applyMargin:function(e,t,n,i){var o,a=t;return isFinite(e)&&(o=this._getMarginValue(t,n,e),o&&(a=this._getNextTickValue(t,o,i,!1))),a},_applyMinMaxMargins:function(e,t){var n=this._options,i=e>t?t:e,o=t>e?t:e;return this._minCorrectionEnabled=this._getCorrectionEnabled(e,"min"),this._maxCorrectionEnabled=this._getCorrectionEnabled(t,"max"),n&&!n.stick&&(i=this._applyMargin(n.minValueMargin,e,t,!0),o=this._applyMargin(n.maxValueMargin,t,e,!1)),{min:i,max:o}},_checkBoundedTickInArray:function(e,t){var n=w(t||[],function(e){return e.valueOf()}),i=b(e.valueOf(),n);-1!==i&&t.splice(i,1)},_checkLabelFormat:function(){var e=this._options;"datetime"===this._dataType&&!e.hasLabelFormat&&this._ticks.length&&(e.labelOptions.format=e.isMarkersVisible?h.getDateFormatByTickInterval(this._tickInterval):f.getDateFormatByTicks(this._ticks))},_generateBounds:function(){var e=this,t=e._getBoundInterval(),n=e._options.stick,i=e._options.minStickValue,o=e._options.maxStickValue,a=e._minCorrectionEnabled&&!n?e._getNextTickValue(e._min,t,!0):e._originalMin,r=e._maxCorrectionEnabled&&!n?e._getNextTickValue(e._max,t):e._originalMax;e._minBound=i>a?i:a,e._maxBound=r>o?o:r},_initOverlappingMethods:function(e){this._initMethods(d[e||"linear"])},_addBoundedTicks:function(){function e(e){t._boundaryTicks.push(e),t._checkBoundedTickInArray(e,t._minorTicks),t._checkBoundedTickInArray(e,t._decimatedTicks)}var t=this,n=w(t._ticks,function(e){return e.valueOf()}),i=t._customBoundTicks,o=t._originalMin,a=t._originalMax,r=t._options.addMinMax||{};t._boundaryTicks=[],i?(r.min&&_(i[0])&&e(i[0]),r.max&&_(i[1])&&e(i[1])):(r.min&&-1===b(o.valueOf(),n)&&e(o),r.max&&-1===b(a.valueOf(),n)&&e(a))},_getCorrectionEnabled:function(e,t){var n=this._options||{},i=n.percentStick&&1===Math.abs(e),o=n[t+"ValueMargin"];return!i&&!o},_validateAxisType:function(e){var t="continuous",n={continuous:!0,discrete:!0,logarithmic:!0};return n[e]?e:t},_validateDataType:function(e){var t={numeric:!0,datetime:!0,string:!0};return t[e]||(e=_(this._min)?this._getDataType(this._min):"numeric"),e},_getDataType:function(e){return p.isDate(e)?"datetime":"numeric"},_getMethods:function(){var e;if("continuous"===this._axisType)e="datetime"===this._dataType?c.datetime:l.continuous;else switch(this._axisType){case"discrete":e=t.discrete;break;case"logarithmic":e=u.logarithmic;break;default:e=l.continuous}return e},_resetMethods:function(){var e=this,t=e._getMethods();y(t,function(t){e[t]&&delete e[t]})},_initMethods:function(e){var t=this;e=e||t._getMethods(),y(e,function(e,n){t[e]=n})},_getDeltaCoef:function(e,t,n){var i;return n=n||this._options.gridSpacingFactor,e=e||this._screenDelta,t=t||this._businessDelta,i=e/n,i=1>=i?D:i,t/i},_adjustNumericTickValue:function(e,t,n){return p.isExponential(e)?x(e):v.applyPrecisionByMinDelta(n,t,e)},_isTickIntervalCorrect:function(e,t,n){var i;if(n=n||this._businessDelta,!g(e)&&(i=new Date,e=m(i,e)-i,!e))return!1;if(g(e)){if(!(e>0&&n/e>t))return!0;this._options.incidentOccurred&&this._options.incidentOccurred("W2003")}return!1},_correctValue:function(e,t,n){var i=this,o="_"+e+"CorrectionEnabled",a=e+"SpaceCorrection",r="_"+e,s=i._options.minStickValue,l=i._options.maxStickValue;i[o]&&(i._options[a]&&(i[r]=i._getNextTickValue(i[r],t,"min"===e)),n.call(this,t)),"min"===e&&(i[r]=i[r]<s?s:i[r]),"max"===e&&(i[r]=i[r]>l?l:i[r])},_findTickInterval:function(){var e,t=this,n=t._options,i=t._getInterval(),o=t._isTickIntervalValid(n.tickInterval)&&t._isTickIntervalCorrect(n.tickInterval,I)&&n.tickInterval;return e=t.checkUserTickInterval(o,i),t._isTickIntervalValid(e)&&(t._correctValue("min",e,t._correctMin),t._correctValue("max",e,t._correctMax),t._updateBusinessDelta()),t._tickInterval=e,e},_findMinorTickInterval:function(e,t){var n=this,i=n._ticks,o=n._options.stick?i.length-1:i.length;return 1>o&&(o=1),n._getMinorInterval(n._screenDelta/o,n._findBusinessDelta(e,t,!1)),n._minorTickInterval},_createMinorTicks:function(e,t,n){var i=this,o=i._findMinorTickInterval(t,n),a=!1,r=!1,s=!1,l=i._getNextTickValue(t,o,a,r,s);return i._isTickIntervalValid(o)&&(e=i._createCountedTicks(e,o,l,n,i._minorTickCount,a,r,s)),e},_calculateMinorTicks:function(){var e=this,t=e._options,n=[],i=e._ticks,o=i.length,a=e._hasUnitBeginningTickCorrection(),r=a?1:0;if(t.showMinorCalculatedTicks||!e._customMinorTicks){if(i.length){for(n=e._getBoundedMinorTicks(n,e._minBound,i[0],!0),a&&(n=e._getUnitBeginningMinorTicks(n)),r;o-1>r;r++)n=e._createMinorTicks(n,i[r],i[r+1]);n=e._getBoundedMinorTicks(n,e._maxBound,i[o-1])}else n=e._createMinorTicks(n,e._minBound,e._maxBound);t.showMinorCalculatedTicks&&(n=n.concat(e._customMinorTicks||[]))}else n=e._customMinorTicks;return n},_createCountedTicks:function(e,t,n,i,o,a,r){var s,l=n;for(s=0;o>s;s++)r===!1&&l.valueOf()===i.valueOf()||e.push(l),l=this._getNextTickValue(l,t,!1,a,!1);return e},_createTicks:function(e,t,n,i,o,a,r){var s,l,c,d=this,u=n,h=n;if(d._isTickIntervalValid(t)){c=0>n-i;do{if(u=h,d._options.stick?u>=d._originalMin&&u<=d._originalMax&&e.push(u):e.push(u),h=d._getNextTickValue(u,t,o,a,r),u.valueOf()===h.valueOf())break;s=h-n>=0,l=i-h>=0}while(c===s&&c===l)}else e.push(u);return e},_getBoundedMinorTicks:function(e,t,n,i){var o,a,r=this,s=!1,l=r._tickInterval?this._getNextTickValue(n,r._tickInterval,i,!0,s):t,c=r._findMinorTickInterval(n,l),d=r._isTickIntervalCorrect(c,I,r._findBusinessDelta(n,t,!1)),u=t.valueOf();if(d&&r._isTickIntervalValid(c)&&r._minorTickCount>0){if(i){if(n.valueOf()<=u)return e;for(;l.valueOf()<u;)l=this._getNextTickValue(l,c,!1,!1,s);o=l,a=r._getNextTickValue(n,c,!0,!1,!1)}else o=r._getNextTickValue(n,c,!1,!1,!1),a=t;e=r._createTicks(e,c,o,a,!1,!1,s)}return e}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=new Date(e.getTime()),i=x[t];return i&&i(n),n}var a=n(1),r=n(71),s=n(12),l=n(2),c=n(7),d=l.isDefined,u=n(253),h=a.extend,p=u.canvasPositionPrefix,f=u.top,_=u.bottom,g=u.left,m=u.right,v=u.center,x={millisecond:function(e){e.setMilliseconds(0)},second:function(e){e.setSeconds(0,0)},minute:function(e){e.setMinutes(0,0,0)},hour:function(e){e.setHours(0,0,0,0)},month:function(e){e.setMonth(0),x.day(e)},quarter:function(e){e.setMonth(s.getFirstQuarterMonth(e.getMonth())),x.day(e)}};x.week=x.day=function(e){e.setDate(1),x.hour(e)},i.exports={linear:{measureLabels:function(){return this._tickManager.getMaxLabelParams()},getMarkerTrackers:function(){return this._markerTrackers},_prepareDatesDifferences:function(e,t){var n,i;if("week"===t&&(t="day"),"quarter"===t&&(t="month"),e[t])for(i=0;i<s.dateUnitIntervals.length&&(n=s.dateUnitIntervals[i],e[n]&&(e[n]=!1,e.count--),n!==t);i++);},_getSharpParam:function(e){return this._isHorizontal^e?"h":"v"},_createAxisElement:function(){var e=this._axisPosition,t=this._getCanvasStartEnd(),n=this._isHorizontal?[t.start,e,t.end,e]:[e,t.start,e,t.end];return this._renderer.path(n,"line")},_getTranslatedCoord:function(e,t){return this._translator.translate(e,t)},_getCanvasStartEnd:function(){return{start:this._translator.translateSpecialCase(u.canvasPositionStart),end:this._translator.translateSpecialCase(u.canvasPositionEnd)}},_getScreenDelta:function(){return Math.abs(this._translator.translateSpecialCase(u.canvasPositionStart)-this._translator.translateSpecialCase(u.canvasPositionEnd))},_initAxisPositions:function(){var e=this,t=e._options.position,n=0;e.delta&&(n=e.delta[t]||0),e._axisPosition=e._additionalTranslator.translateSpecialCase(p+t)+n},_getTickCoord:function(e){var t,n={top:-1,middle:-.5,bottom:0,left:-1,center:-.5,right:0},i=n[this._options.tickOrientation||"center"];return t=d(e.posX)&&d(e.posY)?{x1:e.posX,y1:e.posY+i*e.length,x2:e.posX,y2:e.posY+i*e.length+e.length}:null},_drawTitle:function(){var e=this,t=e._options,n=t.title,i={opacity:n.opacity,align:v};n.text&&e._axisTitleGroup&&(e._title=e._renderer.text(n.text,0,0).css(c.patchFontOptions(n.font)).attr(i).append(e._axisTitleGroup))},_drawDateMarker:function(e,t){var n,i,o,a,r,s,l=this,d=l._options.marker;if(null!==t.x)return t.withoutStick||(s=l._renderer.path([t.x,t.y,t.x,t.y+d.separatorHeight],"line").attr({"stroke-width":d.width,stroke:d.color,"stroke-opacity":d.opacity,sharp:"h"}).append(l._axisElementsGroup)),o=l._renderer.text(String(u.formatLabel(e,t.labelFormat)),0,0).attr({align:"left"}).css(c.patchFontOptions(d.label.font)).append(l._axisElementsGroup),a=o.getBBox(),r=d.width+d.textLeftIndent,n=this._translator.getBusinessRange().invert?t.x-r-a.width:t.x+r,i=t.y+d.textTopIndent+a.height/2,o.move(n,i),{labelStartPosX:n,labelEndPosX:n+a.width,path:s,text:o,date:e,dateMarkerStartPosX:t.x}},_disposeDateMarker:function(e){e.path&&e.path.dispose(),e.path=null,e.text.dispose(),e.text=null},_getDiff:function(e,t){var n=s.getDatesDifferences(t,e);return this._prepareDatesDifferences(n,this._dateUnitInterval),n},_drawDateMarkers:function(){var e,t,n,i,a,l=this,c=l._options,d=l._majorTicks,u=l._boundaryTicks,h=u.length-1,p=d.length,f=[],_=1;if(u[0]&&d[0].value>u[0].value&&d.unshift(u[0]),u[h]&&d[p-1].value<u[h].value&&d.push(u[h]),p=d.length,!("datetime"!==c.argumentType||"discrete"===c.type||1>=p)){for(t=l._axisPosition+this._axisElementsGroup.getBBox().height+c.label.indentFromAxis+c.marker.topIndent,l._dateUnitInterval=s.getDateUnitInterval(this._tickManager.getTickInterval()),_;p>_;_++)a=l._getDiff(d[_].value,d[_-1].value),a.count>0&&(i=o(d[_].value,l._dateUnitInterval),n=l._drawDateMarker(i,{x:l._translator.translate(i),y:t,labelFormat:l._getLabelFormatOptions(r.getDateFormatByDifferences(a))}),n&&(l._checkMarkersPosition(n,e)?(f.push(n),e=n):l._disposeDateMarker(n)));f.length&&(n=l._drawDateMarker(d[0].value,{x:l._translator.translate(d[0].value),y:t,labelFormat:l._getLabelFormatOptions(r.getDateFormatByDifferences(l._getDiff(d[0].value,f[0].date))),withoutStick:!0}),n&&(!l._checkMarkersPosition(n,f[0])&&l._disposeDateMarker(n),f.unshift(n))),l._initializeMarkersTrackers(f,l._axisElementsGroup,l._axisGroup.getBBox().width,t)}},_initializeMarkersTrackers:function(e,t,n,i){var o,a,r,s,l,c=this,d=c._options.marker.separatorHeight,u=c._renderer,h=e.length,p=this._translator.getBusinessRange();for(c._markerTrackers=[],r=0;h>r;r++)l=e[r],a=e[r+1]||{dateMarkerStartPosX:p.invert?this._translator.translateSpecialCase("canvas_position_end"):n,date:p.max},s=l.dateMarkerStartPosX,o=u.path([s,i,s,i+d,a.dateMarkerStartPosX,i+d,a.dateMarkerStartPosX,i,s,i]).attr({"stroke-width":1,stroke:"grey",fill:"grey","fill-opacity":1e-4,"stroke-opacity":1e-4}).append(t),o.data("range",{startValue:l.date,endValue:a.date}),c._markerTrackers.push(o)},_checkMarkersPosition:function(e,t){return void 0===t||e.labelStartPosX>t.labelEndPosX||e.labelEndPosX<t.labelStartPosX},_getLabelFormatOptions:function(e){var t=this,n=t._markerLabelOptions;return n||(t._markerLabelOptions=n=h(!0,{},t._options.marker.label)),d(t._options.marker.label.format)||(n.format=e),n},_adjustConstantLineLabels:function(){var e,t,n,i,o,a,r,s,l,c,d,u,h,x,w,y,b=this,C=b._options,k=b._isHorizontal,S=b._constantLines,T=b._constantLineLabels,I=k?{top:0,bottom:0}:{left:0,right:0},D=0;if(void 0!==T||void 0!==S){for(l=0;l<T.length;l++)if(r=s=0,i=C.constantLines[l],c=i.paddingTopBottom,d=i.paddingLeftRight,o=i.label,u=o.verticalAlignment,h=o.horizontalAlignment,x="inside"===o.position,e=T[l],null!==e){if(t=S[l],a=e.getBBox(),n=t.getBBox(),w=a.height,y=a.width,k)if(x)switch(h===g?r-=d:r+=d,u){case v:s+=n.y+n.height/2-a.y-w/2;break;case _:s+=n.y+n.height-a.y-w-c;break;default:s+=n.y-a.y+c}else u===_?(D=b.delta&&b.delta[_]||0,s+=c-a.y+b._additionalTranslator.translateSpecialCase(p+_)+D,I[_]<w+c&&(I[_]=w+c)):(D=b.delta&&b.delta[f]||0,s-=c+a.y+w-b._additionalTranslator.translateSpecialCase(p+f)-D,I[f]<c+w&&(I[f]=c+w));else if(x){switch(h){case v:r+=n.x+n.width/2-a.x-y/2;break;case m:r-=d;break;default:r+=d}s+=u===_?n.y-a.y+c:n.y-a.y-w-c}else s+=n.y+n.height/2-a.y-w/2,h===m?(r+=d,I[m]<d+y&&(I[m]=d+y)):(r-=d,I[g]<d+y&&(I[g]=d+y));e.move(r,s)}b.padding=I}},_checkAlignmentConstantLineLabels:function(e){var t=e.position,n=(e.verticalAlignment||"").toLowerCase(),i=(e.horizontalAlignment||"").toLowerCase();this._isHorizontal?"outside"===t?(n=n===_?_:f,i=v):(n=n===v?v:n===_?_:f,i=i===g?g:m):"outside"===t?(n=v,i=i===g?g:m):(n=n===_?_:f,i=i===m?m:i===v?v:g),e.verticalAlignment=n,e.horizontalAlignment=i},_getConstantLineLabelsCoords:function(e,t){var n=this,i=n._additionalTranslator,o=v,a=e,r=e;switch(n._isHorizontal?r=i.translateSpecialCase(p+t.verticalAlignment):a=i.translateSpecialCase(p+t.horizontalAlignment),t.horizontalAlignment){case g:o=n._isHorizontal||"inside"!==t.position?m:g;break;case v:o=v;break;case m:o=n._isHorizontal||"inside"!==t.position?g:m}return{x:a,y:r,align:o}},_getAdjustedStripLabelCoords:function(e,t,n){var i=0,o=0,a=e.label.horizontalAlignment,r=e.label.verticalAlignment,s=t.getBBox(),l=n.getBBox();return a===g?i+=e.paddingLeftRight:a===m&&(i-=e.paddingLeftRight),r===f?o+=l.y-s.y+e.paddingTopBottom:r===v?o+=l.y+l.height/2-s.y-s.height/2:r===_&&(o-=e.paddingTopBottom),{x:i,y:o}},_adjustTitle:function(){var e,t,n,i,o,a=this,r=a._options,s=r.position,l=a._title,c=r.title.margin,d=a._translator.translateSpecialCase(p+v),u=a._axisElementsGroup,h=a._axisPosition;l&&u&&(t=l.getBBox(),e=u.getBBox(),o=e.isEmpty,i=t.height,a._isHorizontal?n=s===_?{y:(o?h:e.y+e.height)-t.y+c,x:d}:{y:(o?h:e.y)-i-t.y-c,x:d}:(n=s===g?{x:(o?h:e.x)-i-t.y-c,y:d}:{x:(o?h:e.x+e.width)+i+t.y+c,y:d},n.rotate=r.position===g?270:90),l.attr(n))},coordsIn:function(e,t){var n=this.getBoundingRect();return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},_boundaryTicksVisibility:{min:!0,max:!0},_getOverlappingBehaviorOptions:function(){var e=this,t=e._options,n=function(){return""},i=t.label.overlappingBehavior?h({},t.label.overlappingBehavior):null;return i&&(e._isHorizontal||(i.mode=u.validateOverlappingMode(i.mode)),"rotate"!==i.mode&&(i.rotationAngle=0)),e._translator.getBusinessRange().stubData||(n=function(e,n){return u.formatLabel(e,n,{min:t.min,max:t.max})}),{hasLabelFormat:e._hasLabelFormat,labelOptions:t.label,isMarkersVisible:"discrete"===t.type?!1:t.marker.visible,overlappingBehavior:i,isHorizontal:e._isHorizontal,textOptions:e._textOptions,textFontStyles:e._textFontStyles,textSpacing:t.label.minSpacing,getText:n,renderText:function(t,n,i,o){return e._renderer.text(t,n,i,o).append(e._renderer.root)},translate:function(t,n){return n?e._additionalTranslator.translate(t):e._translator.translate(t)},addMinMax:t.showCustomBoundaryTicks?e._boundaryTicksVisibility:void 0}},_getMinMax:function(){return{min:this._options.min,max:this._options.max}},_getStick:function(){return!this._options.valueMarginsEnabled},_getStripLabelCoords:function(e,t,n){var i,o,a=this,r=a._additionalTranslator,s=a._isHorizontal,l=s?v:g;return s?(e.horizontalAlignment===v?(i=t+(n-t)/2,l=v):e.horizontalAlignment===g?(i=t,l=g):e.horizontalAlignment===m&&(i=n,l=m),o=r.translateSpecialCase(p+e.verticalAlignment)):(i=r.translateSpecialCase(p+e.horizontalAlignment),l=e.horizontalAlignment,e.verticalAlignment===f?o=t:e.verticalAlignment===v?o=n+(t-n)/2:e.verticalAlignment===_&&(o=n)),{x:i,y:o,align:l}},_getTranslatedValue:function(e,t,n){return{x:this._translator.translate(e,n,"semidiscrete"===this._options.type&&this._options.tickInterval),y:t}},_getSkippedCategory:function(){var e,t=this._translator.getVisibleCategories()||this._translator.getBusinessRange().categories;return t&&t.length&&this._tickOffset&&(e=t[t.length-1]),e},_getSpiderCategoryOption:a.noop}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return f(e)?0===e.length?[{}]:e:[e]}function a(e,t,n,i){e.minVal=n.min,e.maxVal=n.max,e.minArg=_(e.minArg)?e.minArg:_(i.minVisible)?i.minVisible:t.arg.min,e.maxArg=_(e.maxArg)?e.maxArg:_(i.maxVisible)?i.maxVisible:t.arg.max}var r=n(1),s=n(2),l=n(97),c=n(12),d="defaultAxisName",u=n(254),h=n(333),p=n(255).BaseChart,f=s.isArray,_=s.isDefined,g=r.each,m=r.noop,v=r.extend,x=n(7),w=x.map,y="min",b="max",C=p.inherit({_dispose:function(){var e=this,t=this._disposeObjectsInArray;e.callBase(),e.panes=null,e._legend&&(e._legend.dispose(),e._legend=null),t.call(e,"panesBackground"),t.call(e,"seriesFamilies"),e._disposeAxes()},_reinitAxes:function(){this.translators={},this.panes=this._createPanes(),this._populateAxes()},_populateAxes:function(){function e(){return d+_++}var t,n,i=this,a=[],s=i.panes,l=i._isRotated(),c=i.option("valueAxis")||{},u=i.option("argumentAxis")||{},h=o(u)[0],p=o(c),f=[],_=0,m=i._getCrosshairOptions()||{},v=m.enabled,y=v&&m.horizontalLine.visible,b=v&&m.verticalLine.visible;i._disposeAxes(),n=l?"right"===h.position?s[s.length-1].name:s[0].name:"top"===h.position?s[0].name:s[s.length-1].name,t=w(s,function(e,t){return i._createAxis("argumentAxis",h,{pane:e.name,crosshairEnabled:l?y:b},l,e.name!==n,t)}),g(p,function(t,n){var o=[],s=n.name;return s&&-1!==r.inArray(s,f)?void i._incidentOccurred("E2102"):(s&&f.push(s),n.pane&&o.push(n.pane),n.panes&&n.panes.length&&(o=o.concat(n.panes.slice(0))),o=x.unique(o),o.length||o.push(void 0),void g(o,function(o,r){a.push(i._createAxis("valueAxis",n,{name:s||e(),pane:r,priority:t,crosshairEnabled:l?b:y},l))}))}),i._valueAxes=a,i._argumentAxes=t},_prepareStackPoints:function(e,t){var n=e.getPoints(),i=e.getStackName();g(n,function(e,n){var o=n.argument;t[o]||(t[o]={},t[o][null]=[]),i&&!f(t[o][i])&&(t[o][i]=[],g(t[o][null],function(e,n){n.stackName||t[o][i].push(n)})),i?(t[o][i].push(n),t[o][null].push(n)):g(t[o],function(e,t){t.push(n)}),n.stackPoints=t[o][i],n.stackName=i})},_resetStackPoints:function(e){g(e.getPoints(),function(e,t){t.stackPoints=null,t.stackName=null})},_disposeAxes:function(){var e=this,t=e._disposeObjectsInArray;t.call(e,"_argumentAxes"),t.call(e,"_valueAxes")},_drawAxes:function(e,t,n){var i=this,o=function(e){g(e,function(e,t){t.draw(n)})},a=function(t){g(t,function(t,n){n.drawGrids(e[n.pane])})};i._restoreOriginalBusinessRange(),i._reinitTranslators(),i._prepareAxesAndDraw(o,a,t)},_restoreOriginalBusinessRange:m,_appendAdditionalSeriesGroups:function(){this._crosshairCursorGroup.linkAppend(),this._scrollBar&&this._scrollBarGroup.linkAppend()},_getLegendTargets:function(){var e=this;return w(e.series,function(t){return t.getOptions().showInLegend?e._getLegendOptions(t):null})},_legendItemTextField:"name",_seriesPopulatedHandlerCore:function(){this._processSeriesFamilies(),this._processValueAxisFormat()},_renderTrackers:function(){var e,t=this;for(e=0;e<t.series.length;++e)t.series[e].drawTrackers()},_specialProcessSeries:function(){this._processSeriesFamilies()},_processSeriesFamilies:function(){var e,t=this,n=[],i=[],o=t._themeManager,a=o.getOptions("negativesAsZeroes"),s=o.getOptions("negativesAsZeros"),l={equalBarWidth:o.getOptions("equalBarWidth"),minBubbleSize:o.getOptions("minBubbleSize"),maxBubbleSize:o.getOptions("maxBubbleSize"),barWidth:o.getOptions("barWidth"),negativesAsZeroes:_(a)?a:s};return t.seriesFamilies&&t.seriesFamilies.length?void g(t.seriesFamilies,function(e,t){t.updateOptions(l),t.adjustSeriesValues()}):(g(t.series,function(e,t){-1===r.inArray(t.type,n)&&n.push(t.type)}),g(t._getLayoutTargets(),function(o,a){e=t._getSeriesForPane(a.name),g(n,function(n,o){var r=new h.SeriesFamily({type:o,pane:a.name,equalBarWidth:l.equalBarWidth,minBubbleSize:l.minBubbleSize,maxBubbleSize:l.maxBubbleSize,barWidth:l.barWidth,negativesAsZeroes:l.negativesAsZeroes,rotated:t._isRotated()});r.add(e),r.adjustSeriesValues(),i.push(r)})}),void(t.seriesFamilies=i))},_updateSeriesDimensions:function(){var e,t=this,n=t.seriesFamilies||[];for(e=0;e<n.length;e++){var i=n[e],o=t._getTranslator(i.pane)||{};i.updateSeriesValues(o),i.adjustSeriesDimensions(o)}},_getLegendCallBack:function(e){return this._legend&&this._legend.getActionCallback(e)},_appendAxesGroups:function(){var e=this;e._stripsGroup.linkAppend(),e._gridGroup.linkAppend(),e._axesGroup.linkAppend(),e._constantLinesGroup.linkAppend(),e._labelAxesGroup.linkAppend()},_populateBusinessRange:function(e){var t,n=this,i=[],o=n._isRotated(),r=n._argumentAxes,s=r[r.length-1],c=s.calcInterval,d=new l.Range({rotated:!!o}),u=n._groupsData;n.businessRanges=null,g(r,function(e,t){d.addRange(t.getRangeData())}),g(u.groups,function(t,n){var r=new l.Range({rotated:!!o,pane:n.valueAxis.pane,axis:n.valueAxis.name}),s=n.valueAxis.getRangeData();r.addRange(s),g(n.series,function(t,n){e&&a(e,n.getRangeData(),s,d);var i=n.getRangeData(e,c);r.addRange(i.val),d.addRange(i.arg)}),r.isDefined()||r.setStubData(n.valueAxis.getOptions().valueType),n.valueAxis.getOptions().showZero&&r.correctValueZeroLevel(),r.checkZeroStick(),i.push({val:r,arg:d})}),d.addRange({categories:u.categories}),d.isDefined()||d.setStubData(r[0].getOptions().argumentType),e&&e.notApplyMargins&&"discrete"!==d.axisType&&(t=r[0].getTranslator().getBusinessRange(),d.addRange({min:t.min,max:t.max,stick:!0})),n._correctBusinessRange(d,s),n.businessRanges=i},_correctBusinessRange:function(e,t){var n=t.getOptions().setTicksAtUnitBeginning,i={},o=t.getOptions().tickInterval,a=o;o=r.isNumeric(o)?o:c.dateToMilliseconds(o),o&&_(e[y])&&_(e[b])&&o>=Math.abs(e[b]-e[y])&&(s.isDate(e[y])?(r.isNumeric(a)?(i[y]=new Date(e[y].valueOf()-o),i[b]=new Date(e[b].valueOf()+o)):(i[y]=c.addInterval(e[y],a,!0),i[b]=c.addInterval(e[b],a,!1)),n&&(c.correctDateWithUnitBeginning(i[b],a),c.correctDateWithUnitBeginning(i[y],a))):(i[y]=e[y]-o,i[b]=e[b]+o),e.addRange(i))},_getArgumentAxes:function(){return this._argumentAxes},_getValueAxes:function(){return this._valueAxes},_processValueAxisFormat:function(){var e=this,t=e._valueAxes,n=[];g(e.series,function(){this.isFullStackedSeries()&&-1===r.inArray(this.axis,n)&&n.push(this.axis)}),g(t,function(){-1!==r.inArray(this.name,n)?this.setPercentLabelFormat():this.resetAutoLabelFormat()})},_createAxis:function(e,t,n,i,o,a){var r,s=this,l=v({renderer:s._renderer,incidentOccurred:s._incidentOccurred,axisClass:"argumentAxis"===e?"arg":"val",widgetClass:"dxc",stripsGroup:s._stripsGroup,labelAxesGroup:s._labelAxesGroup,constantLinesGroup:s._constantLinesGroup,axesContainerGroup:s._axesGroup,gridGroup:s._gridGroup},s._getAxisRenderingOptions(e)),c=s._prepareStripsAndConstantLines(e,t,i),d=v(!0,{},c,n,s._prepareAxisOptions(e,c,i));return o&&(d.visible=d.tick.visible=d.minorTick.visible=d.label.visible=!1,d.title={}),r=new u.Axis(l),r.updateOptions(d),!o&&_(a)&&(s._displayedArgumentAxisIndex=a),r},_getTrackerSettings:function(){return v(this.callBase(),{argumentAxis:this._argumentAxes[this._displayedArgumentAxisIndex]})},_prepareStripsAndConstantLines:function(e,t,n){return t=this._themeManager.getOptions(e,t,n),t.strips&&g(t.strips,function(e){t.strips[e]=v(!0,{},t.stripStyle,t.strips[e])}),t.constantLines&&g(t.constantLines,function(e,n){t.constantLines[e]=v(!0,{},t.constantLineStyle,n)}),t},_legendDataField:"series",_getStoredSeries:function(){return this.series},_adjustSeries:m,_collectPointsByArg:m});t.AdvancedChart=C}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){e&&n[t]>0&&(D(e,function(e,i){var o=i.getBoundingRect();i.updateSize(),n[t]-=o[t]-i.getBoundingRect()[t]}),n[t]>0&&D(e,function(e,t){t.updateSize(!0)}))}function a(e,t,n){var i;return i=e>n?e:n>t?t:n}function r(e){return e._label.isVisible()&&"inside"!==e._label.getLayoutOptions().position?e._label.getBoundingRect():void 0}function s(e,t,n,i,o){var s=!1;return D(e,function(e,l){return s?!1:void D(l.getVisiblePoints(),function(e,l){var c=r(l);if(c){var u=a(c.x,c.x+c.width,t),h=a(c.y,c.y+c.height,n);i=k(S(d(u,h,t,n)-B,o),i),s=!0}})}),i}function l(e){var t=[],n=0;return D(e,function(e,i){var o=0;D(i.getVisiblePoints(),function(e,t){var n=r(t);n&&(o=S(n.width+M,o))}),t.push(o),n+=o}),{sizes:t,common:n}}function c(e,t,n,i,o){var a,r,s=(i.width-i.left-i.right)/2;for(r=0;r<n.length;r++)0!==e[r]?(a=T(a?a+e[r-1]:t),n[r].correctLabelRadius(a),o&&r!==n.length-1&&(e[r]=o,
n[r].setVisibleArea({left:s-t-o*(r+1),right:i.width-(s+t+o*(r+1)),top:i.top,bottom:i.bottom,width:i.width,height:i.height}))):a&&(a+=e[r-1])}function d(e,t,n,i){return I((e-n)*(e-n)+(t-i)*(t-i))}function u(e){var t;return"pie"===e.type?t=0:(t=C(e.innerRadius)?Number(e.innerRadius):.5,t=.2>t?.2:t,t=t>.8?.8:t),t}function h(e){return!!(e.x||e.y||e.width||e.height)}function p(e,t){var n,i,o=!1;return D(e,function(e,a){n=a.canvas,D(t,function(e,t){i="delta"+t,n[i]=S(n[i]-(n[t.toLowerCase()]-n["original"+t]),0),n[i]>0&&(o=!0)})}),o}function f(e,t){var n=t[0];return D(t,function(t,i){e===i.name&&(n=i)}),n}function _(e,t){var n=!1,i=0,o=0,a=0,r=0;return D(e,function(e,t){i=S(i,t.canvas.deltaLeft),o=S(o,t.canvas.deltaRight),a=S(a,t.canvas.deltaTop),r=S(r,t.canvas.deltaBottom)}),t?D(e,function(e,t){t.canvas.top+=a,t.canvas.bottom+=r,t.canvas.right+=t.canvas.deltaRight,t.canvas.left+=t.canvas.deltaLeft}):D(e,function(e,t){t.canvas.top+=t.canvas.deltaTop,t.canvas.bottom+=t.canvas.deltaBottom,t.canvas.right+=o,t.canvas.left+=i}),D(e,function(e,t){t.canvas.top+t.canvas.bottom>t.canvas.height&&(n=!0),t.canvas.left+t.canvas.right>t.canvas.width&&(n=!0)}),n}function g(e,t){e[t.cutLayoutSide]+="horizontal"===t.cutSide?t.width:t.height}function m(e,t){var n=e.cutLayoutSide,i={horizontal:0,vertical:0};switch(n){case"top":case"left":i[e.cutSide]=-t[n];break;case"bottom":case"right":i[e.cutSide]=t[n]}return i}function v(){}function x(e){return new b.WrapperLayoutElement(null,{x:e.left,y:e.top,width:e.width-e.left-e.right,height:e.height-e.top-e.bottom})}var w=n(1),y=n(2),b=n(217),C=y.isNumber,k=Math.min,S=Math.max,T=Math.floor,I=Math.sqrt,D=w.each,E=w.extend,A=n(129),B=A.pieLabelIndent,M=A.pieLabelSpacing,O={left:"right",right:"left",top:"bottom",bottom:"top",center:"center"};v.prototype={constructor:v,setOptions:function(e){this._options=e},applyVerticalAxesLayout:function(e,t,n){this._applyAxesLayout(e,t,n)},applyHorizontalAxesLayout:function(e,t,n){e.reverse(),this._applyAxesLayout(e,t,n),e.reverse()},_applyAxesLayout:function(e,t,n){var i,o,a,r,s,l,c,d,u,g,m=this,v=[];for(D(t,function(e,t){E(t.canvas,{deltaLeft:0,deltaRight:0,deltaTop:0,deltaBottom:0})}),g=0;g<e.length;g++)if(s=e[g],o=s.getOptions().position||"left",s.delta={},a=s.getBoundingRect(),u=f(s.pane,t),i=u.canvas,h(a)){switch(c="delta"+o.slice(0,1).toUpperCase()+o.slice(1),o){case"right":d=1,i.deltaLeft+=s.padding?s.padding.left:0;break;case"left":d=-1,i.deltaRight+=s.padding?s.padding.right:0;break;case"top":d=-1,i.deltaBottom+=s.padding?s.padding.bottom:0;break;case"bottom":d=1,i.deltaTop+=s.padding?s.padding.top:0}switch(o){case"right":case"left":a.isEmpty||(r=a.y+a.height-(i.height-i.originalBottom),r>0&&(m.requireAxesRedraw=!0,i.deltaBottom+=r),r=i.originalTop-a.y,r>0&&(m.requireAxesRedraw=!0,i.deltaTop+=r)),l=a.width,v=["Left","Right"];break;case"top":case"bottom":a.isEmpty||(r=a.x+a.width-(i.width-i.originalRight),r>0&&(m.requireAxesRedraw=!0,i.deltaRight+=r),r=i.originalLeft-a.x,r>0&&(m.requireAxesRedraw=!0,i.deltaLeft+=r)),v=["Bottom","Top"],l=a.height}!s.delta[o]&&i[c]>0&&(i[c]+=s.getMultipleAxesSpacing()),s.delta[o]=s.delta[o]||0,s.delta[o]+=i[c]*d,i[c]+=l}m.requireAxesRedraw=p(t,v)||m.requireAxesRedraw,m.stopDrawAxes=_(t,n)},applyPieChartSeriesLayout:function(e,t,n){var i,o,a,r=e.height-e.top-e.bottom,d=e.width-e.left-e.right,h=d/2+e.left,p=r/2+e.top,f=this._options.piePercentage,_=C(f)?f*k(e.height,e.width)/2:k(d,r)/2,g=.7*_,m=0,v=u(t[0]);return n||C(f)||(i=l(t),a=h-i.common+e.left,g>a?(_=g,D(i.sizes,function(e,t){0!==t&&m++}),o=(h-_-e.left)/m):_=k(s(t,h,p,_,g),a),c(i.sizes,_,t,e,o)),{centerX:T(h),centerY:T(p),radiusInner:T(_*v),radiusOuter:T(_),canvas:e}},needMoreSpaceForPanesCanvas:function(e,t){var n=this._options,i=n.width,o=n.height,a=n.piePercentage,r=C(a),s=0,l=0;return D(e,function(e,n){var c=n.canvas,d=r?k(c.width,c.height)*a:void 0,u=(r?d:i)-(c.width-c.left-c.right),h=(r?d:o)-(c.height-c.top-c.bottom);t?(s+=u>0?u:0,l=S(h>0?h:0,l)):(s=S(u>0?u:0,s),l+=h>0?h:0)}),s>0||l>0?{width:s,height:l}:!1},layoutElements:function(e,t,n,i,o,a){this._elements=e,this._probeDrawing(t),this._drawElements(t),n&&n(),this._processAdaptiveLayout(i,o,t,a,n),this._positionElements(t)},_processAdaptiveLayout:function(e,t,n,i,a){function r(e,t,i){e.getLayoutOptions()[i]||(n[t.cutLayoutSide]-=t[i],l[i]=Math.max(l[i]-t[i],0))}var s=this,l=s.needMoreSpaceForPanesCanvas(e,t),c=this._elements;l&&(w.each(c.slice().reverse(),function(e,t){var n,i=E({},t.getLayoutOptions());i&&(n=w.extend({},i),"vertical"===i.cutSide&&l.height&&(t.draw(n.width,n.height-l.height),r(t,i,"height")),"horizontal"===i.cutSide&&l.width&&(t.draw(n.width-l.width,n.height),r(t,i,"width")))}),o(i.verticalAxes,"width",l),o(i.horizontalAxes,"height",l),a&&a(!0))},_probeDrawing:function(e){var t=this;w.each(this._elements,function(n,i){var o,a=i.getLayoutOptions();a&&(o={width:e.width-e.left-e.right,height:e.height-e.top-e.bottom},"vertical"===a.cutSide?o.height-=t._options.height:o.width-=t._options.width,i.probeDraw(o.width,o.height),g(e,i.getLayoutOptions()))})},_drawElements:function(e){w.each(this._elements.slice().reverse(),function(t,n){var i,o,a,r=n.getLayoutOptions();r&&(i={width:e.width-e.left-e.right,height:e.height-e.top-e.bottom},o=r.cutSide,a="horizontal"===o?"width":"height",i[a]=r[a],n.draw(i.width,i.height))})},_positionElements:function(e){var t={left:0,right:0,top:0,bottom:0};w.each(this._elements.slice().reverse(),function(n,i){var o,a,r,s=i.getLayoutOptions();s&&(o=s.position,a=s.cutSide,r={horizontal:o.horizontal,vertical:o.vertical},r[a]=O[r[a]],i.position({of:x(e),my:r,at:o,offset:m(s,t)}),t[s.cutLayoutSide]+=s["horizontal"===s.cutSide?"width":"height"])})}},t.LayoutManager=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(170),r=!a.isSvg(),s=n(2),l=n(115).BaseThemeManager,c=s.isString,d=s.isDefined,u=n(7).normalizeEnum,h="font",p="commonAxisSettings",f=["legend."+h,"title."+h,"title.subtitle."+h,"tooltip."+h,"loadingIndicator."+h,"export."+h,"commonSeriesSettings.label."+h],_=f.concat([p+".label."+h,p+".title."+h]),g=_.concat(["crosshair.label."+h]),m={pie:f,chart:g,polar:_},v=l.inherit(function(){var e=function(e,t){var n=this;n.callBase.apply(n,arguments),e=e||{},n._userOptions=e,n._mergeAxisTitleOptions=[],n._multiPieColors={},n._themeSection=t,n._fontFields=m[t],n._IE8=r,n._callback=o.noop},t=function(){var e=this;return e.palette&&e.palette.dispose(),e.palette=e._userOptions=e._mergedSettings=e._multiPieColors=null,e.callBase.apply(e,arguments)},n=function(){this.palette.reset(),this._multiPieColors={}},i=function(e){this.palette=this.createPalette(e,{useHighlight:!0})},a=function(e){return c(e)?{text:e}:e},s=function(e){return e?(e=o.extend(!0,{},e),e.title=a(e.title),("logarithmic"===e.type&&e.logarithmBase<=0||e.logarithmBase&&!o.isNumeric(e.logarithmBase))&&(e.logarithmBase=void 0,e.logarithmBaseError=!0),e.label&&(e.label.alignment&&(e.label.userAlignment=!0),c(e.label.overlappingBehavior)&&(e.label.overlappingBehavior={mode:e.label.overlappingBehavior}),e.label.overlappingBehavior&&e.label.overlappingBehavior.mode||(e.label.overlappingBehavior=e.label.overlappingBehavior||{})),e):void 0},l=function(e,t,n){var i=this._theme,a=n^"valueAxis"===e?"verticalAxis":"horizontalAxis",r=s(this._userOptions.commonAxisSettings,e);return o.extend(!0,{},i.commonAxisSettings,i[a],i[e],r,s(t,e))},h=function(e,t){t=t||this._userOptions[e];var n=this._theme[e],i=this._mergedSettings[e];return i?i:(i=o.isPlainObject(n)&&o.isPlainObject(t)?o.extend(!0,{},n,t):d(t)?t:n,this._mergedSettings[e]=i,i)},p={base:h,argumentAxis:l,valueAxisRangeSelector:function(){return h.call(this,"valueAxis")},valueAxis:l,series:function(e,t){var n,i,a,s=this,l=s._theme,c=s._userOptions.commonSeriesSettings||{},d=l.commonSeriesSettings,h=s._themeSection.split(".").slice(-1)[0],p=u(t.type||c.type||d.type||"pie"===h&&l.type),f=s.palette,_=~p.indexOf("bar"),g=~p.indexOf("line"),m=~p.indexOf("area"),v="bubble"===p,x=s.getOptions("resolveLabelsOverlapping"),w=s.getOptions("resolveLabelOverlapping"),y=s.getOptions("containerBackgroundColor");return(_||v)&&(t=o.extend(!0,{},c,c[p],t),a=t.visible,c={type:{}},o.extend(!0,t,t.point),t.visible=a),n=o.extend(!0,{},d,d[p],c,c[p],t),n.type=p,n.widgetType=h,n.containerBackgroundColor=y,i="pie"!==h?n.color||f.getNextColor():function(e,t){var n=e+t;return s._multiPieColors[n]||(s._multiPieColors[n]=f.getNextColor()),s._multiPieColors[n]},n.mainSeriesColor=i,n._IE8=r,n.resolveLabelOverlapping=w,n.resolveLabelsOverlapping=x,n.label&&(g||m&&"rangearea"!==p||"scatter"===p)&&(n.label.position="outside"),n},animation:function(e){var t=this._userOptions[e];return t=o.isPlainObject(t)?t:d(t)?{enabled:!!t}:{},h.call(this,e,t)}};return{_themeSection:"chart",ctor:e,dispose:t,resetPalette:n,getOptions:function(e){return(p[e]||p.base).apply(this,arguments)},refresh:function(){return this._mergedSettings={},this.callBase.apply(this,arguments)},_initializeTheme:function(){var e=this;e.callBase.apply(e,arguments),e.updatePalette(e.getOptions("palette"))},resetOptions:function(e){this._mergedSettings[e]=null},update:function(e){this._userOptions=e},updatePalette:i}}());t.ThemeManager=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){if(t&&t[n]){var o,a=t[n].hatching.direction,r=t[n].fill;return i=r===ee?i:r,a=a&&a!==ee?a:j,o=z({},t[n].hatching,{direction:a,step:$,width:G}),e.pattern(i,o)}}function a(e){var t=e.margin;t>=0?(t=D(e.margin),t={top:t,bottom:t,left:t,right:t}):t={top:t.top>=0?D(t.top):W,bottom:t.bottom>=0?D(t.bottom):W,left:t.left>=0?D(t.left):W,right:t.right>=0?D(t.right):W},e.margin=t}function r(e,t,n){var i,o,a=7,r=4;switch(e.itemTextPosition){case U:case j:i=t+a+n.width,o=B(t,n.height);break;case K:case Y:i=B(t,n.width),o=t+r+n.height}return{width:i,height:o}}function s(e,t){var n={};return n.left=M(e.x,t.x),n.top=M(e.y,t.y),n.right=B(e.x+e.width,t.x+t.width),n.bottom=B(e.y+e.height,t.y+t.height),n}function l(e,t,n,i){var o=t&&n[t[e]];o&&o.marker.attr(o.states[i])}function c(e,t){return e?(a(e),e.horizontalAlignment=ie(e.horizontalAlignment,j),e.verticalAlignment=oe(e.verticalAlignment,e.horizontalAlignment===q?Y:K),e.orientation=ae(e.orientation,e.horizontalAlignment===q?X:Q),e.itemTextPosition=re(e.itemTextPosition,e.orientation===X?Y:j),e.position=se(e.position,J),e.itemsAlignment=le(e.itemsAlignment,null),e.hoverMode=H(e.hoverMode),e.customizeText=F(e.customizeText)?e.customizeText:function(){return this[t]},e.customizeHint=F(e.customizeHint)?e.customizeHint:S.noop,e._incidentOccurred=e._incidentOccurred||S.noop,e):null}function d(e,t){return e.rect(0,0,t,t)}function u(e,t){return e.circle(t/2,t/2,t/2)}function h(e){return"circle"===H(e)}function p(e){return h(e)?u:d}function f(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom}function _(e,t,n){var i={x:0,y:0},o=0,a=0;return N(e,function(e,n){var r=n[0];N(n,function(e,n){var a=n.offset||t.spacing;i[t.direction]+=n[t.measure]+a,o=B(o,i[t.direction])}),i[t.direction]=0,i[t.ortDirection]+=r[t.ortMeasure]+r.ortOffset||t.ortSpacing,a=B(a,i[t.ortDirection])}),o>t.length?(t.countItem=g(t,n),!0):void 0}function g(e,t){return e.ortCountItem++,O(t/e.ortCountItem)}function m(e,t){var n=0;return N(e,function(e,i){var o=i.offset||t.spacing;n+=i[t.measure]+o}),n}function v(e,t){var n=0;return N(e,function(e,i){n=B(n,m(i,t))}),n}function x(e,t,n){var i,o=m(e,t);switch(t.itemsAlignment){case j:i=n-o;break;case q:i=(n-o)/2;break;default:i=0}return i}function w(e){switch(e.itemTextPosition){case Y:return{horizontal:q,vertical:K};case K:return{horizontal:q,vertical:Y};case U:return{horizontal:j,vertical:q};case j:return{horizontal:U,vertical:q}}}function y(e,t,n){var i={};return n%t.countItem===0&&(t.markerOffset?e.push([],[]):e.push([])),t.markerOffset?(i.firstLine=e[e.length-1],i.secondLine=e[e.length-2]):i.firstLine=i.secondLine=e[e.length-1],i}function b(e,t){var n=0;N(e,function(e,i){i&&(n=B(n,i[t]))}),N(e,function(e,i){i&&(i[t]=n)})}function C(e){var t,n,i=e.length,o=e[0].length,a=[];for(t=0;o>t;t++)for(a[t]=[],n=0;i>n;n++)a[t][n]=e[n][t];return a}function k(e){switch(e){case K:case Y:return q;case U:return j;case j:return U}}var S=n(1),T=n(7),I=n(217),D=Number,E=Math,A=E.round,B=E.max,M=E.min,O=E.ceil,P=n(30),R=n(2),V=R.isDefined,F=R.isFunction,L=T.enumParser,H=T.normalizeEnum,z=S.extend,N=S.each,W=10,G=2,$=5,q="center",j="right",U="left",K="top",Y="bottom",X="horizontal",Q="vertical",Z="inside",J="outside",ee="none",te="height",ne="width",ie=L([U,q,j]),oe=L([K,Y]),ae=L([Q,X]),re=L([U,j,K,Y]),se=L([J,Z]),le=L([U,q,j]),ce=t.Legend=function(e){var t=this;t._renderer=e.renderer,t._legendGroup=e.group,t._backgroundClass=e.backgroundClass,t._itemGroupClass=e.itemGroupClass,t._textField=e.textField,t._getCustomizeObject=e.getFormatObject,t._patterns=[]},de=ce.prototype=P.clone(I.LayoutElement.prototype);S.extend(de,{constructor:ce,update:function(e,t){var n=this;return n._data=e,n._boundingRect={width:0,height:0,x:0,y:0},n._options=c(t,n._textField),n},draw:function(e,t){var n=this,i=n._options,o=n._renderer,a=n._data;return this._size={width:e,height:t},n.erase(),i&&i.visible&&a&&a.length?(n._insideLegendGroup=o.g().append(n._legendGroup),n._createBackground(),n._createItems(n._getItemData()),n._locateElements(i),n._finalUpdate(i),(n.getLayoutOptions().width>e||n.getLayoutOptions().height>t)&&(n._options._incidentOccurred("W2104"),n.erase()),n):n},probeDraw:function(e,t){return this.draw(e,t)},_createItems:function(e){var t,n=this,i=n._options,a=i.markerSize,s=n._renderer,l=0,c=0,d=p(i.markerShape||i.markerType);for(n._markersId={};l<n._patterns.length;l++)n._patterns[l].dispose();n._patterns=[],n._items=T.map(e,function(e,l){var u=n._insideLegendGroup,h=D(e.size>0?e.size:a),p=e.states,f=p.normal,_=f.fill,g=d(s,h).attr({fill:_||i.markerColor,opacity:f.opacity}).append(u),m=n._createLabel(e,u),v=o(s,p,"hover",_),x=o(s,p,"selection",_),w={normal:{fill:_}},y=m.getBBox();return v&&(w.hovered={fill:v.id},n._patterns.push(v)),x&&(w.selected={fill:x.id},n._patterns.push(x)),void 0!==e.id&&(n._markersId[e.id]=l),t=r(i,h,y),c=B(c,t.height),n._createHint(e,m),{label:m,labelBBox:y,group:u,bbox:t,marker:g,markerSize:h,tracker:{id:e.id,argument:e.argument},states:w,itemTextPosition:i.itemTextPosition,markerOffset:0,bboxs:[]}}),i.equalRowHeight&&N(n._items,function(e,t){t.bbox.height=c})},_getItemData:function(){var e=this._data;return this._options.inverted&&(e=e.slice().reverse()),e},_finalUpdate:function(e){this._adjustBackgroundSettings(e),this._setBoundingRect(e.margin)},erase:function(){var e=this,t=e._insideLegendGroup;return t&&t.dispose(),e._insideLegendGroup=e._x1=e._x2=e._y2=e._y2=null,e},_locateElements:function(e){this._moveInInitialValues(),this._locateRowsColumns(e)},_moveInInitialValues:function(){var e=this;e._legendGroup&&e._legendGroup.move(0,0),e._background&&e._background.attr({x:0,y:0,width:0,height:0})},applySelected:function(e){return l(e,this._markersId,this._items,"selected"),this},applyHover:function(e){return l(e,this._markersId,this._items,"hovered"),this},resetItem:function(e){return l(e,this._markersId,this._items,"normal"),this},_createLabel:function(e,t){var n=this._getCustomizeObject(e),i=k(this._options.itemTextPosition),o=this._options.customizeText.call(n,n),a=V(e.textOpacity)?z({},this._options.font,{opacity:e.textOpacity}):this._options.font;return this._renderer.text(o,0,0).css(T.patchFontOptions(a)).attr({align:i}).append(t)},_createHint:function(e,t){var n=this._getCustomizeObject(e),i=this._options.customizeHint.call(n,n);V(i)&&""!==i&&t.setTitle(i)},_createBackground:function(){var e=this,t=e._options.position===Z,n=e._options.backgroundColor,i=n||(t?e._options.containerBackgroundColor:ee);(e._options.border.visible||(t||n)&&n!==ee)&&(e._background=e._renderer.rect(0,0,0,0).attr({fill:i,"class":e._backgroundClass}).append(e._insideLegendGroup))},_locateRowsColumns:function(){var e,t=this,n=0,i=t._getItemsLayoutOptions(),o=t._items.length;do e=[],t._createLines(e,i),t._alignLines(e,i),n++;while(_(e,i,o)&&o>n);t._applyItemPosition(e,i)},_createLines:function(e,t){N(this._items,function(n,i){var o,a,r=y(e,t,n),s={width:i.labelBBox.width,height:i.labelBBox.height,element:i.label,bbox:i.labelBBox,pos:w(t),itemIndex:n},l={width:i.markerSize,height:i.markerSize,element:i.marker,pos:{horizontal:q,vertical:q},bbox:{width:i.markerSize,height:i.markerSize,x:0,y:0},itemIndex:n},c=t.markerOffset?"ortOffset":"offset";t.inverseLabelPosition?(o=s,a=l):(o=l,a=s),o[c]=t.labelOffset,r.secondLine.push(o),r.firstLine.push(a)})},_alignLines:function(e,t){function n(e,t){b(t,o)}var i,o=t.ortMeasure;if(N(e,n),o=t.measure,t.itemsAlignment){if(t.markerOffset)for(i=0;i<e.length;)N(C([e[i++],e[i++]]),n)}else N(C(e),n)},_applyItemPosition:function(e,t){var n=this,i={x:0,y:0},o=v(e,t),a=0;N(e,function(e,r){var s=r[0],l=s.ortOffset||t.ortSpacing;i[t.direction]=x(r,t,o),N(r,function(e,o){var r=o.offset||t.spacing,s=new I.WrapperLayoutElement(o.element,o.bbox),l=new I.WrapperLayoutElement(null,{x:i.x,y:i.y,width:o.width,height:o.height}),c=n._items[o.itemIndex];s.position({of:l,my:o.pos,at:o.pos}),c.bboxs.push(l),i[t.direction]+=o[t.measure]+r,a++}),i[t.ortDirection]+=s[t.ortMeasure]+l}),N(this._items,function(e,t){var i=s(t.bboxs[0].getLayoutOptions(),t.bboxs[1].getLayoutOptions()),o=n._options.columnItemSpacing/2,a=n._options.rowItemSpacing/2;t.tracker.left=i.left-o,t.tracker.right=i.right+o,t.tracker.top=i.top-a,t.tracker.bottom=i.bottom+a})},_getItemsLayoutOptions:function(){var e=this,t=e._options,n=t.orientation,i={itemsAlignment:t.itemsAlignment,orientation:t.orientation},o=e._size.width-2*t.paddingLeftRight,a=e._size.height-2*t.paddingTopBottom;return n===X?(i.length=o,i.ortLength=a,i.spacing=t.columnItemSpacing,i.direction="x",i.measure=ne,i.ortMeasure=te,i.ortDirection="y",i.ortSpacing=t.rowItemSpacing,i.countItem=t.columnCount,i.ortCountItem=t.rowCount,i.marginTextLabel=4,i.labelOffset=7,t.itemTextPosition!==Y&&t.itemTextPosition!==K||(i.labelOffset=4,i.markerOffset=!0)):(i.length=a,i.ortLength=o,i.spacing=t.rowItemSpacing,i.direction="y",i.measure=te,i.ortMeasure=ne,i.ortDirection="x",i.ortSpacing=t.columnItemSpacing,i.countItem=t.rowCount,i.ortCountItem=t.columnCount,i.marginTextLabel=7,i.labelOffset=4,t.itemTextPosition!==j&&t.itemTextPosition!==U||(i.labelOffset=7,i.markerOffset=!0)),i.countItem||(i.ortCountItem?i.countItem=O(e._items.length/i.ortCountItem):i.countItem=e._items.length),t.itemTextPosition!==K&&t.itemTextPosition!==U||(i.inverseLabelPosition=!0),i.itemTextPosition=t.itemTextPosition,i.ortCountItem=i.ortCountItem||O(e._items.length/i.countItem),i},_adjustBackgroundSettings:function(e){if(this._background){var t=e.border,n=this._insideLegendGroup.getBBox(),i={x:A(n.x-e.paddingLeftRight),y:A(n.y-e.paddingTopBottom),width:A(n.width)+2*e.paddingLeftRight,height:A(n.height)+2*e.paddingTopBottom,opacity:e.backgroundOpacity};t.visible&&t.width&&t.color&&t.color!==ee&&(i["stroke-width"]=t.width,i.stroke=t.color,i["stroke-opacity"]=t.opacity,i.dashStyle=t.dashStyle,i.rx=t.cornerRadius||0,i.ry=t.cornerRadius||0),this._background.attr(i)}},_setBoundingRect:function(e){if(this._insideLegendGroup){var t=this._insideLegendGroup.getBBox();t.height+=e.top+e.bottom,t.width+=e.left+e.right,t.x-=e.left,t.y-=e.top,this._boundingRect=t}},getActionCallback:function(e){var t=this;return t._options.visible?function(n){t[n](e.index)}:S.noop},getLayoutOptions:function(){var e=this._options,t=this._insideLegendGroup?this._boundingRect:{width:0,height:0,x:0,y:0};return e?(t.verticalAlignment=e.verticalAlignment,t.horizontalAlignment=e.horizontalAlignment,e.orientation===X?(t.cutLayoutSide=e.verticalAlignment,t.cutSide="vertical"):e.horizontalAlignment===q?(t.cutLayoutSide=e.verticalAlignment,t.cutSide="vertical"):(t.cutLayoutSide=e.horizontalAlignment,t.cutSide="horizontal"),t.position={horizontal:e.horizontalAlignment,vertical:e.verticalAlignment},t):null},shift:function(e,t){var n=this,i={};return n._insideLegendGroup&&(n._insideLegendGroup.attr({translateX:e-n._boundingRect.x,translateY:t-n._boundingRect.y}),i=n._legendGroup.getBBox()),n._x1=i.x,n._y1=i.y,n._x2=i.x+i.width,n._y2=i.y+i.height,n},getPosition:function(){return this._options.position},coordsIn:function(e,t){return e>=this._x1&&e<=this._x2&&t>=this._y1&&t<=this._y2},getItemByCoord:function(e,t){var n=this._items,i=this._insideLegendGroup;e-=i.attr("translateX"),t-=i.attr("translateY");for(var o=0;o<n.length;o++)if(f(n[o].tracker,e,t))return n[o].tracker;return null},dispose:function(){var e=this;return e._legendGroup=e._insideLegendGroup=e._renderer=e._options=e._data=e._items=null,e}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=[];return A(e,function(e,i){A(i,function(i,o){var a,r=o.getPointsByArg(t),s=r.length;for(a=0;s>a;++a)if(r[a].value)return n.push(e),!1})}),n}function a(e,t,n,i){A(e,function(e,o){var a,r=k.inArray(e,t);-1!==r&&(a=l(r,i),A(o,function(e,t){c(t.getPointsByArg(n)||[],i.width,a)}))})}function r(e,t,n,i,r){var d,u,h,p,f,_,g,m={},v={},x=.7*t,w=i.barWidth;if(i.equalBarWidth)for(d=w&&(0>w||w>1)?0:w,g=s(x,n,d),h=0;h<e.length;h++)u=r(h,n),p=e[h].getPoints(),c(p,g.width,l(u,g));else{A(e,function(e,t){f=t.getStackName&&t.getStackName(),f=f||e.toString(),v[f]||(v[f]=[]),v[f].push(t),A(t.getPoints(),function(e,t){var n=t.argument;m.hasOwnProperty(n)||(m[n.valueOf()]=1)})});for(var y in m)_=o(v,y),g=s(x,_.length),a(v,_,y,g)}}function s(e,t,n){var i,o,a=t/2;return n?(o=I(e*n/t),i=I(t>1?(e-e*n)/(t-1):0)):(i=I(e/t*.2),o=I((e-i*(t-1))/t),2>o&&(o=2)),{width:o,spacing:i,middleIndex:a}}function l(e,t){return(e-t.middleIndex+.5)*t.width-(t.middleIndex-e-.5)*t.spacing}function c(e,t,n){A(e,function(e,i){i.correctCoordinates({width:t,offset:n})})}function d(e,t){return D(e)<t?e>=0?t:-t:e}function u(e){return e>=0?"positive":"negative"}function h(e){return M.map(e.series,function(e){return e.isVisible()?e:null})}function p(e,t,n){var i=(e.positive[t]||{})[n]||0,o=-(e.negative[t]||{})[n]||0;return i+o}function f(e,t,n){return e?function(e,i){return i-(n?n[t[e].getStackName()]:e)-1}:function(e,i){return n?n[t[e].getStackName()]:e}}function _(e){var t=this,n=h(t);r(n,e.arg.getInterval(),n.length,t._options,f(t.rotated,n))}function g(e){var t=this,n=h(t),i={},o=0;A(n,function(){var e=this.getStackName();i.hasOwnProperty(e)||(i[e]=o++)}),r(n,e.arg.getInterval(),o,t._options,f(t.rotated,n,i))}function m(){var e=this,t=e._options.negativesAsZeroes,n=h(e),i={positive:{},negative:{}},o={left:{},right:{}};A(n,function(e,a){var r=a.getPoints(),s=!1;a._prevSeries=n[e-1],a.holes=k.extend(!0,{},o),A(r,function(e,n){var l,c=n.initialValue,d=n.argument.valueOf(),u=a.getStackName(),h=c>=0?i.positive:i.negative;if(t&&0>c&&(h=i.positive,c=0,n.resetValue()),h[u]=h[u]||{},l=h[u],l[d]?(n.correctValue(l[d]),l[d]+=c):(l[d]=c,n.resetCorrection()),n.hasValue())s&&(s=!1,o.left[d]=(o.left[d]||0)+(n.value-(isFinite(n.minValue)?n.minValue:0)),n._skipSetLeftHole=!0);else{var p=r[e-1];!s&&p&&p.hasValue()&&(d=p.argument.valueOf(),p._skipSetRightHole=!0,o.right[d]=(o.right[d]||0)+(p.value-(isFinite(p.minValue)?p.minValue:0))),s=!0}})}),A(n,function(e,t){var n=t.getPoints(),i=t.holes;A(n,function(e,t){var n=t.argument.valueOf();t.resetHoles(),!t._skipSetLeftHole&&t.setHole(i.left[n]||o.left[n]&&0,"left"),!t._skipSetRightHole&&t.setHole(i.right[n]||o.right[n]&&0,"right"),t._skipSetLeftHole=null,t._skipSetRightHole=null})}),e._stackKeepers=i,A(n,function(t,n){A(n.getPoints(),function(t,a){var r=a.argument.valueOf();a.setPercentValue(p(i,n.getStackName(),r),e.fullStacked,o.left[r],o.right[r])})})}function v(e){var t=this,n=h(t),i=t._stackKeepers,o={positive:{},negative:{}};A(n,function(n,a){var r=a.getOptions().minBarSize,s=a.axis?e.axesTrans[a.axis]:e,l=r&&s.val.getMinBarSize(r),c=a.getStackName();A(a.getPoints(),function(e,n){if(n.hasValue()){var a,r,s,h=n.initialValue,f=n.argument.valueOf();t.fullStacked&&(h=h/p(i,c,f)||0),a=d(h,l),r=u(a),s=o[r][c]=o[r][c]||{},s[f]?(n.minValue=s[f],s[f]+=a):s[f]=a,n.value=s[f]}})}),t.fullStacked&&x(n,o)}function x(e,t){A(e,function(e,n){var i=n.getStackName?n.getStackName():"default";A(n.getPoints(),function(e,n){var o=p(t,i,n.argument.valueOf());n.value=n.value/o,S.isNumber(n.minValue)&&(n.minValue=n.minValue/o)})})}function w(e){A(this.series,function(t,n){var i=n.getOptions().minBarSize,o=n.axis?e.axesTrans[n.axis]:e,a=i&&o.val.getMinBarSize(i);a&&A(n.getPoints(),function(e,t){t.hasValue()&&(t.value=d(t.initialValue,a))})})}function y(e){var t=h(this);r(t,e.arg.getInterval(),t.length,{barWidth:null,equalBarWidth:!0},f(this.rotated,t))}function b(e){var t,n,i,o,a,r=this,s=h(r),l=r._options,c=e.arg.getCanvasVisibleArea(),d=e.val.getCanvasVisibleArea(),u=T.min(c.max-c.min,d.max-d.min),p=E(l.minBubbleSize,2),f=E(u*l.maxBubbleSize,2),_=(u*l.maxBubbleSize+l.minBubbleSize)/2,g=1/0,m=0;A(s,function(e,t){A(t.getPoints(),function(e,t){m=m>t.size?m:t.size,g=g<t.size?g:t.size})}),o=m-g,a=D(f-p),g=0>g?0:g,A(s,function(e,r){A(r.getPoints(),function(e,r){m===g?t=I(_):(i=D(r.size-g)/o,n=a*i+p,t=I(T.sqrt(n))),r.correctCoordinates(t)})})}function C(e){var t=this;switch(t.type=O(e.type),t.pane=e.pane,t.rotated=e.rotated,t.series=[],t.updateOptions(e),t.type){case"bar":t.adjustSeriesDimensions=_,t.updateSeriesValues=w;break;case"rangebar":t.adjustSeriesDimensions=_;break;case"fullstackedbar":t.fullStacked=!0,t.adjustSeriesDimensions=g,t.adjustSeriesValues=m,t.updateSeriesValues=v;break;case"stackedbar":t.adjustSeriesDimensions=g,t.adjustSeriesValues=m,t.updateSeriesValues=v;break;case"fullstackedarea":case"fullstackedline":case"fullstackedspline":case"fullstackedsplinearea":t.fullStacked=!0,t.adjustSeriesValues=m;break;case"stackedarea":case"stackedsplinearea":case"stackedline":case"stackedspline":t.adjustSeriesValues=m;break;case"candlestick":case"stock":t.adjustSeriesDimensions=y;break;case"bubble":t.adjustSeriesDimensions=b}}var k=n(1),S=n(2),T=Math,I=T.round,D=T.abs,E=T.pow,A=k.each,B=k.noop,M=n(7),O=M.normalizeEnum;t.SeriesFamily=C,C.prototype={constructor:C,adjustSeriesDimensions:B,adjustSeriesValues:B,updateSeriesValues:B,updateOptions:function(e){this._options=e},dispose:function(){this.series=this.translators=null},add:function(e){var t=this.type;this.series=M.map(e,function(e){return e.type===t?e:null})},getStackPoints:function(){var e={};return k.each(this.series,function(t,n){var i=n.getPoints(),o=n.getStackName()||null;n.isVisible()&&A(i,function(t,n){var i=n.argument;e[i]||(e[i]={}),e[i][o]||(e[i][o]=[]),e[i][o].push(n)})}),e}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){var o;return n>e&&t>i?o=[{start:e,end:n},{start:i,end:t}]:n>=t||e>=i?o=[{start:e,end:t}]:e>=n&&i>=t?o=[]:n>e?o=[{start:e,end:n}]:t>i&&(o=[{start:i,end:t}]),o}function a(e,t,n,i){var o;return e>n&&i>t?o=[{start:e,end:n},{start:i,end:t}]:t>=n||i>=e?o=[{start:e,end:t}]:n>=e&&t>=i?o=[]:e>n?o=[{start:e,end:n}]:i>t&&(o=[{start:i,end:t}]),o}function r(e,t,n){return t-e>=n}function s(e,t,n){return e-t>=n}var l=n(1),c=n(259).BaseElement,d=Number,u=Math.abs,h=n(2),p=h.isString,f=h.isArray,_=isFinite,g=l.each,m=l.map,v=c.inherit({_init:function(){this._root=this._renderer.g().attr({"class":"dxg-range-container"}).linkOn(this._container,"range-container")},_dispose:function(){this._root.linkOff()},clean:function(){return this._root.linkRemove().clear(),this._options=this.enabled=null,this},_getRanges:function(){var e=this,t=e._options,n=e._translator,i=n.getDomain()[0],l=n.getDomain()[1],c=l-i,h=c>=0?r:s,v=c>=0?o:a,x=[],w=[],y=[{start:i,end:l}],b=u(c)/1e4,C=e._themeManager.createPalette(t.palette,{type:"indicatingSet"}),k=p(t.backgroundColor)?t.backgroundColor:"none",S=t.width||{},T=d(S>0?S:S.start),I=d(S>0?S:S.end),D=I-T;return(void 0===t.ranges||f(t.ranges))&&T>=0&&I>=0&&T+I>0?(x=m(f(t.ranges)?t.ranges:[],function(e,t){e=e||{};var i=n.adjust(e.startValue),o=n.adjust(e.endValue);return _(i)&&_(o)&&h(i,o,b)?{start:i,end:o,color:e.color,classIndex:t}:null}),g(x,function(e,t){var n=C.getNextColor();t.color=p(t.color)&&t.color||n||"none",t.className="dxg-range dxg-range-"+t.classIndex,delete t.classIndex}),g(x,function(e,t){var n,i,o,a,r,s=[],l=[];for(n=0,i=w.length;i>n;++n)r=w[n],a=v(r.start,r.end,t.start,t.end),(o=a[0])&&(o.color=r.color)&&(o.className=r.className)&&s.push(o),(o=a[1])&&(o.color=r.color)&&(o.className=r.className)&&s.push(o);for(s.push(t),w=s,n=0,i=y.length;i>n;++n)r=y[n],a=v(r.start,r.end,t.start,t.end),(o=a[0])&&l.push(o),(o=a[1])&&l.push(o);y=l}),g(y,function(e,t){t.color=k,t.className="dxg-range dxg-background-range",w.push(t)}),g(w,function(e,t){t.startWidth=(t.start-i)/c*D+T,t.endWidth=(t.end-i)/c*D+T}),w):null},render:function(e){var t=this;return t._options=e,t._processOptions(),t._ranges=t._getRanges(),t._ranges&&(t.enabled=!0,t._root.linkAppend()),t},resize:function(e){var t=this;return t._root.clear(),t._isVisible(e)&&g(t._ranges,function(n,i){t._createRange(i,e).attr({fill:i.color,"class":i.className}).append(t._root)}),t},_processOptions:null,_isVisible:null,_createRange:null,getColorForValue:function(e){var t=null;return g(this._ranges,function(n,i){return i.start<=e&&e<=i.end||i.start>=e&&e>=i.end?(t=i.color,!1):void 0}),t}});i.exports=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=g(e),i=g(t),o=n.cos,a=n.sin,r=i.cos,s=i.sin;return{left:0>=a&&s>=0||0>=a&&0>=s&&r>=o||a>=0&&s>=0&&o>=r?-1:k(o,r,0),right:a>=0&&0>=s||a>=0&&s>=0&&o>=r||0>=a&&0>=s&&r>=o?1:C(o,r,0),up:0>=o&&r>=0||0>=o&&0>=r&&a>=s||o>=0&&r>=0&&s>=a?-1:-C(a,s,0),down:o>=0&&0>=r||o>=0&&r>=0&&s>=a||0>=o&&0>=r&&a>=s?1:-k(a,s,0)}}function a(e){return e.right-e.left}function r(e){return e.bottom-e.top}function s(e,t,n){var i,o=l.extend({},e),s=0,c=0;return n=n||{},t>0&&(o.left+=n.left||0,o.right-=n.right||0,o.top+=n.top||0,o.bottom-=n.bottom||0,a(o)>0&&r(o)>0?(i=r(o)/a(o),i>1?i>t?s=a(o):c=r(o):t>i?c=r(o):s=a(o),s>0||(s=c/t),c>0||(c=s*t),s=(a(o)-s)/2,c=(r(o)-c)/2,o.left+=s,o.right-=s,o.top+=c,o.bottom-=c):(o.left=o.right=(o.left+o.right)/2,o.top=o.bottom=(o.top+o.bottom)/2)),o}var l=n(1),c=isFinite,d=n(3),u=n(30),h=n(131).dxBaseGauge,p=n(218).dxGauge,f=n(7),_=f.normalizeAngle,g=f.getCosAndSin,m=n(342),v=n(525),x=n(218).createIndicatorCreator,w=n(526),y=n(336),b=Math.abs,C=Math.max,k=Math.min,S=Math.round,T=l.each,I=90,D=Math.PI,E=p.inherit({_rootClass:"dxg-circular-gauge",_factoryMethods:{rangeContainer:"createCircularRangeContainer",indicator:"createCircularIndicator"},_gridSpacingFactor:17,_scaleTypes:{type:"polarAxes",drawingType:"circular"},_initScaleTranslator:function(e){return new m.PolarTranslator({arg:e,val:{}},this._canvas,{})},_getScaleTranslatorComponent:function(e){return this._scaleTranslator.getComponent(e)},_updateScaleTickIndent:function(e){var t=e.label.indentFromTick,n=e.tick.length,i=this._scale.measureLabels(),o=n;"inside"===e.orientation?o=0:"center"===e.orientation&&(o=.5*n),e.label.indentFromAxis=t>=0?t+o:t-o-C(i.width,i.height),this._scale.updateOptions(e)},_updateScaleAngles:function(){var e=this._translator.getCodomain();this._scaleTranslator.setAngles(I-e[0],I-e[1])},_setupCodomain:function(){var e,t=this,n=t.option("geometry")||{},i=n.startAngle,a=n.endAngle;i=c(i)?_(i):225,a=c(a)?_(a):-45,b(i-a)<1?(a-=360,e={left:-1,up:-1,right:1,down:1}):(a>i&&(a-=360),e=o(i,a)),t._area={x:0,y:0,radius:100,startCoord:i,endCoord:a,sides:e},t._translator.setCodomain(i,a)},_shiftScale:function(e){var t,n=this._scaleTranslator,i=this._scale;n.setCanvasDimension(2*e.radius),i.setTranslator(n.getComponent("arg"),n.getComponent("val")),i.draw(),t=n.getCenter(),i.shift(e.x-t.x,e.y-t.y)},_getScaleLayoutValue:function(){return this._area.radius},_getTicksOrientation:function(e){return e.orientation},_getTicksCoefficients:function(e){var t={inner:0,outer:1};return"inside"===e.orientation?(t.inner=1,t.outer=0):"center"===e.orientation&&(t.inner=t.outer=.5),
t},_correctScaleIndents:function(e,t,n){t>=0?(e.horizontalOffset=t+n.width,e.verticalOffset=t+n.height):(e.horizontalOffset=e.verticalOffset=0,e.min-=-t+C(n.width,n.height)),e.inverseHorizontalOffset=n.width/2,e.inverseVerticalOffset=n.height/2},_measureMainElements:function(e,t){var n=this,i=n._area.radius,o=0,a=1/0,r=0,s=0,l=0,c=0,d=n._scale;return T(e.concat(d),function(e,n){var d=n.measure?n.measure({radius:i-n.getOffset()}):t;d.min>0&&(a=k(a,d.min)),d.max>0&&(o=C(o,d.max)),d.horizontalOffset>0&&(r=C(r,d.max+d.horizontalOffset)),d.verticalOffset>0&&(s=C(s,d.max+d.verticalOffset)),d.inverseHorizontalOffset>0&&(l=C(l,d.inverseHorizontalOffset)),d.inverseVerticalOffset>0&&(c=C(c,d.inverseVerticalOffset))}),r=C(r-o,0),s=C(s-o,0),{minRadius:a,maxRadius:o,horizontalMargin:r,verticalMargin:s,inverseHorizontalMargin:l,inverseVerticalMargin:c}},_applyMainLayout:function(e,t){var n,i,o=this._measureMainElements(e,t),l=this._area,c=l.sides,d={left:(c.left<-.1?o.horizontalMargin:o.inverseHorizontalMargin)||0,right:(c.right>.1?o.horizontalMargin:o.inverseHorizontalMargin)||0,top:(c.up<-.1?o.verticalMargin:o.inverseVerticalMargin)||0,bottom:(c.down>.1?o.verticalMargin:o.inverseVerticalMargin)||0},u=s(this._innerRect,(c.down-c.up)/(c.right-c.left),d),h=k(a(u)/(c.right-c.left),r(u)/(c.down-c.up));h=h-o.maxRadius+l.radius,n=u.left-a(u)*c.left/(c.right-c.left),i=u.top-r(u)*c.up/(c.down-c.up),l.x=S(n),l.y=S(i),l.radius=h,u.left-=d.left,u.right+=d.right,u.top-=d.top,u.bottom+=d.bottom,this._innerRect=u},_getElementLayout:function(e){return{x:this._area.x,y:this._area.y,radius:S(this._area.radius-e)}},_getApproximateScreenRange:function(){var e=this,t=e._area,n=k(e._canvas.width/(t.sides.right-t.sides.left),e._canvas.height/(t.sides.down-t.sides.up));return n>t.totalRadius&&(n=t.totalRadius),n=.8*n,-e._translator.getCodomainRange()*n*D/180},_getDefaultSize:function(){return{width:300,height:300}},_factory:u.clone(h.prototype._factory)}),A=E.prototype._factory.indicators={};E.prototype._factory.createIndicator=x(A),A._default=v._default,A.rectangleneedle=v.rectangleneedle,A.triangleneedle=v.triangleneedle,A.twocolorneedle=v.twocolorneedle,A.trianglemarker=v.trianglemarker,A.textcloud=v.textcloud,A.rangebar=v.rangebar,E.prototype._factory.RangeContainer=w,E.prototype._factory.ThemeManager=y.inherit({_subTheme:"_circular"}),d("dxCircularGauge",E),i.exports=E}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=o.extend,r=n(115).BaseThemeManager,s=r.inherit({_themeSection:"gauge",_fontFields:["scale.label.font","valueIndicators.rangebar.text.font","valueIndicators.textcloud.text.font","title.font","title.subtitle.font","tooltip.font","indicator.text.font","loadingIndicator.font","export.font"],_initializeTheme:function(){var e,t=this;t._subTheme&&(e=a(!0,{},t._theme[t._subTheme],t._theme),a(!0,t._theme,e)),t.callBase.apply(t,arguments)}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(118),r=n(221),s=o.isNumeric,l=o.extend,c=Math,d=c.abs,u=c.min,h=c.max,p=c.round,f=2;i.exports=l({},r,{_getContinuousPoints:function(e,t){var n,i=this,o=i.x,a=i._options.rotated?function(e,t){return[t,e]}:function(e,t){return[e,t]},r=i.width,s=i[e],l=i[t];return n=s===l?[].concat(a(o,i.highY)).concat(a(o,i.lowY)).concat(a(o,i.closeY)).concat(a(o-r/2,i.closeY)).concat(a(o+r/2,i.closeY)).concat(a(o,i.closeY)):[].concat(a(o,i.highY)).concat(a(o,l)).concat(a(o+r/2,l)).concat(a(o+r/2,s)).concat(a(o,s)).concat(a(o,i.lowY)).concat(a(o,s)).concat(a(o-r/2,s)).concat(a(o-r/2,l)).concat(a(o,l))},_getCategoryPoints:function(e){var t=this,n=t.x,i=t._options.rotated?function(e,t){return[t,e]}:function(e,t){return[e,t]};return[].concat(i(n,t.highY)).concat(i(n,t.lowY)).concat(i(n,e)).concat(i(n-t.width/2,e)).concat(i(n+t.width/2,e)).concat(i(n,e))},_getPoints:function(){var e,t,n,i=this,o=i.openValue,a=i.closeValue;return s(o)&&s(a)?(t=o>a?"closeY":"openY",n=o>a?"openY":"closeY",e=i._getContinuousPoints(t,n)):e=o===a?[i.x,i.highY,i.x,i.lowY]:i._getCategoryPoints(s(o)?i.openY:i.closeY),e},getColor:function(){var e=this;return e._isReduction?e._options.reduction.color:e._styles.normal.stroke||e.series.getColor()},_drawMarkerInGroup:function(e,t,n){var i=this;i.graphic=n.path(i._getPoints(),"area").attr({"stroke-linecap":"square"}).attr(t).data({"chart-data-point":i}).sharp().append(e)},_fillStyle:function(){var e=this,t=e._options.styles;e._isReduction&&e._isPositive?e._styles=t.reductionPositive:e._isReduction?e._styles=t.reduction:e._isPositive?e._styles=t.positive:e._styles=t},_getMinTrackerWidth:function(){return 2+2*this._styles.normal["stroke-width"]},correctCoordinates:function(e){var t=this._getMinTrackerWidth(),n=10,i=e.width;i=t>i?t:i>n?n:i,this.width=i+i%2,this.xCorrection=e.offset},_getMarkerGroup:function(e){var t,n=this;return t=n._isReduction&&n._isPositive?e.reductionPositiveMarkersGroup:n._isReduction?e.reductionMarkersGroup:n._isPositive?e.defaultPositiveMarkersGroup:e.defaultMarkersGroup},_drawMarker:function(e,t){this._drawMarkerInGroup(this._getMarkerGroup(t),this._getStyle(),e)},_getSettingsForTracker:function(){var e,t,n,i,o=this,a=o.highY,r=o.lowY,s=o._options.rotated;return a===r&&(a=s?a+f:a-f,r=s?r-f:r+f),s?(e=u(r,a),t=o.x-o.width/2,n=d(r-a),i=o.width):(e=o.x-o.width/2,t=u(r,a),n=o.width,i=d(r-a)),{x:e,y:t,width:n,height:i}},_getGraphicBbox:function(){var e=this,t=e._options.rotated,n=e.x,i=e.width,o=e.lowY,a=e.highY;return{x:t?o:n-p(i/2),y:t?n-p(i/2):a,width:t?a-o:i,height:t?i:o-a}},getTooltipParams:function(e){var t=this;if(t.graphic){var n,i,o,a,r=u(t.lowY,t.highY),s=h(t.lowY,t.highY),l=t.translators.x.getCanvasVisibleArea(),c=t.translators.y.getCanvasVisibleArea(),d="edge"===e;return t._options.rotated?(o=h(l.min,r),a=u(l.max,s),i=t.x,n=d?a:o+(a-o)/2):(o=h(c.min,r),a=u(c.max,s),n=t.x,i=d?o:o+(a-o)/2),{x:n,y:i,offset:0}}},hasValue:function(){return null!==this.highValue&&null!==this.lowValue},_translate:function(){var e,t,n=this,i=n._options.rotated,o=n.translators,a=i?o.y:o.x,r=i?o.x:o.y;n.vx=n.vy=n.x=a.translate(n.argument)+(n.xCorrection||0),n.openY=null!==n.openValue?r.translate(n.openValue):null,n.highY=r.translate(n.highValue),n.lowY=r.translate(n.lowValue),n.closeY=null!==n.closeValue?r.translate(n.closeValue):null,t=d(n.lowY-n.highY),e=u(n.lowY,n.highY)+d(n.lowY-n.highY)/2,n._calculateVisibility(i?e:n.x,i?n.x:e)},getCrosshairData:function(e,t){var n,i,o=this,a=o._options.rotated,r=a?e:t,s=o.argument,l="low";return d(o.lowY-r)<d(o.closeY-r)?n=o.lowY:(n=o.closeY,l="close"),d(n-r)>=d(o.openY-r)&&(n=o.openY,l="open"),d(n-r)>=d(o.highY-r)&&(n=o.highY,l="high"),i=a?{y:o.vy,x:n,xValue:o[l+"Value"],yValue:s}:{x:o.vx,y:n,xValue:s,yValue:o[l+"Value"]},i.axis=o.series.axis,i},_updateData:function(e){var t=this,n=t._label,i=this._options.reduction.color;t.value=t.initialValue=e.reductionValue,t.originalValue=e.value,t.lowValue=t.originalLowValue=e.lowValue,t.highValue=t.originalHighValue=e.highValue,t.openValue=t.originalOpenValue=e.openValue,t.closeValue=t.originalCloseValue=e.closeValue,t._isPositive=e.openValue<e.closeValue,t._isReduction=e.isReduction,t._isReduction&&n.setColor(i)},_updateMarker:function(e,t,n){var i=this,o=i.graphic;o.attr({points:i._getPoints()}).attr(t||i._getStyle()).sharp(),n&&o.append(i._getMarkerGroup(n))},_getLabelFormatObject:function(){var e=this;return{openValue:e.openValue,highValue:e.highValue,lowValue:e.lowValue,closeValue:e.closeValue,reductionValue:e.initialValue,argument:e.initialArgument,value:e.initialValue,seriesName:e.series.name,originalOpenValue:e.originalOpenValue,originalCloseValue:e.originalCloseValue,originalLowValue:e.originalLowValue,originalHighValue:e.originalHighValue,originalArgument:e.originalArgument,point:e}},_getFormatObject:function(e){var t=this,n=e.formatValue(t.highValue),i=e.formatValue(t.openValue),o=e.formatValue(t.closeValue),r=e.formatValue(t.lowValue),s=a,c=s._getFormatObject.call(t,e);return l({},c,{valueText:"h: "+n+(""!==i?" o: "+i:"")+(""!==o?" c: "+o:"")+" l: "+r,highValueText:n,openValueText:i,closeValueText:o,lowValueText:r})}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n,i=1/0;return u.each(t,function(t,o){var a=e[0]-o[0],r=e[1]-o[1],s=a*a+r*r;i>s&&(i=s,n=o)}),n}function a(e){return void 0!==e.angle&&C||void 0!==e.r&&b||y}function r(e,t){e[t]&&e[t].dispose(),e[t]=null}function s(e){return e&&(e.fill&&"none"!==e.fill||e["stroke-width"]>0&&e.stroke&&"none"!==e.stroke)}function l(e){return e&&e["stroke-width"]>0&&e.stroke&&"none"!==e.stroke}function c(e,t){return e.valueText=h(e.value,t),e.argumentText=h(e.argument,{format:t.argumentFormat,precision:t.argumentPrecision}),void 0!==e.percent&&(e.percentText=h(e.percent,{format:{type:"percent",precision:t.format&&t.format.percentPrecision||t.percentPrecision}})),void 0!==e.total&&(e.totalText=h(e.total,t)),void 0!==e.openValue&&(e.openValueText=h(e.openValue,t)),void 0!==e.closeValue&&(e.closeValueText=h(e.closeValue,t)),void 0!==e.lowValue&&(e.lowValueText=h(e.lowValue,t)),void 0!==e.highValue&&(e.highValueText=h(e.highValue,t)),void 0!==e.reductionValue&&(e.reductionValueText=h(e.reductionValue,t)),t.customizeText?t.customizeText.call(e,e):e.valueText}function d(e){this._renderer=e.renderer,this._container=e.labelsGroup,this._point=e.point}var u=n(1),h=n(168),p=n(7),f=p.degreesToRadians,_=p.patchFontOptions,g=Math.round,m=p.getCosAndSin,v=p.rotateBBox,x=8,w=4,y={isLabelInside:function(e,t){return e.x>=t.x&&e.x<=t.x+t.width&&e.y>=t.y&&e.y<=t.y+t.height},prepareLabelPoints:function(e){return e},getFigureCenter:function(e){return[e.x+e.width/2,e.y+e.height/2]},findFigurePoint:function(e,t){var n=y.getFigureCenter(e),i=o(t,[[e.x,n[1]],[n[0],e.y+e.height],[e.x+e.width,n[1]],[n[0],e.y]]);return[g(i[0]),g(i[1])]}},b={isLabelInside:function(){return!1},prepareLabelPoints:y.prepareLabelPoints,getFigureCenter:function(e){return[e.x,e.y]},findFigurePoint:function(e,t){var n=Math.atan2(e.y-t[1],t[0]-e.x);return[g(e.x+e.r*Math.cos(n)),g(e.y-e.r*Math.sin(n))]}},C={isLabelInside:function(e,t,n){return!n},prepareLabelPoints:function(e,t,n){var i=[],o=t[0],a=t[1],r=m(n||0);return u.each(e,function(e,t){i.push([g((t[0]-o)*r.cos+(t[1]-a)*r.sin+o),g(-(t[0]-o)*r.sin+(t[1]-a)*r.cos+a)])}),i},getFigureCenter:b.getFigureCenter,findFigurePoint:function(e,t){var n=e.x+(e.y-t[1])/Math.tan(f(e.angle)),i=[e.x,e.y];return(e.x<=n&&n<=t[0]||e.x>=n&&n>=t[0])&&i.push(g(n),t[1]),i}};d.prototype={constructor:d,_setVisibility:function(e,t){this._group&&this._group.attr({visibility:e}),this._visible=t},clearVisibility:function(){this._setVisibility(null,!0)},hide:function(){this._setVisibility("hidden",!1)},show:function(){var e=this;e._point.hasValue()&&(e._draw(),e._point.correctLabelPosition(e))},isVisible:function(){return this._visible},setColor:function(e){this._color=e},setOptions:function(e){this._options=e},setData:function(e){this._data=e},setDataField:function(e,t){this._data=this._data||{},this._data[e]=t},getData:function(){return this._data},setFigureToDrawConnector:function(e){this._figure=e},dispose:function(){var e=this;r(e,"_group"),e._data=e._options=e._textContent=e._visible=e._insideGroup=e._text=e._background=e._connector=e._figure=null},_draw:function(){var e=this,t=e._renderer,n=e._container,i=e._options||{},o=e._textContent=c(e._data,e._options)||null;return e.clearVisibility(),o?(e._group||(e._group=t.g().append(n),e._insideGroup=t.g().append(e._group),e._text=t.text("",0,0).append(e._insideGroup)),e._text.css(i.attributes?_(i.attributes.font):{}),s(i.background)?(e._background=e._background||t.rect().append(e._insideGroup).toBackground(),e._background.attr(i.background),e._color&&e._background.attr({fill:e._color})):r(e,"_background"),l(i.connector)?(e._connector=e._connector||t.path([],"line").sharp().append(e._group).toBackground(),e._connector.attr(i.connector),e._color&&e._connector.attr({stroke:e._color})):r(e,"_connector"),e._text.attr({text:o}),e._updateBackground(e._text.getBBox()),e._setVisibility("visible",!0)):e.hide(),e},_updateBackground:function(e){var t=this;t._textSize=[e.width,e.height],t._background&&(e.x-=x,e.y-=w,e.width+=2*x,e.height+=2*w,t._background.attr(e)),t._options.rotationAngle&&(t._insideGroup.rotate(t._options.rotationAngle,e.x+e.width/2,e.y+e.height/2),e=v(e,[e.x+e.width/2,e.y+e.height/2],-t._options.rotationAngle)),t._bbox=e},_getConnectorPoints:function(){var e,t,n,i,r=this,s=r._figure,l=a(s),c=r.getBoundingRect(),d=[];return l.isLabelInside(c,s,"inside"!==r._options.position)||(n=c.x+c.width/2,i=c.y+c.height/2,d=l.prepareLabelPoints([[n,i-r._textSize[1]/2],[n+r._textSize[0]/2,i],[n,i+r._textSize[1]/2],[n-r._textSize[0]/2,i]],[n,i],-r._options.rotationAngle||0),e=o(l.getFigureCenter(s),d),e=[g(e[0]),g(e[1])],t=l.findFigurePoint(s,e),d=t.concat(e)),d},fit:function(e){this._text&&this._text.applyEllipsis(e),this._updateBackground(this._text.getBBox())},setTrackerData:function(e){this._text.data({"chart-data-point":e}),this._background&&this._background.data({"chart-data-point":e})},shift:function(e,t){var n=this;return n._textContent&&(n._insideGroup.attr({translateX:n._x=g(e-n._bbox.x),translateY:n._y=g(t-n._bbox.y)}),n._connector&&n._connector.attr({points:n._getConnectorPoints()})),n},getBoundingRect:function(){var e=this._bbox;return this._textContent?{x:e.x+this._x,y:e.y+this._y,width:e.width,height:e.height}:{}},getLayoutOptions:function(){var e=this._options;return{alignment:e.alignment,background:s(e.background),horizontalOffset:e.horizontalOffset,verticalOffset:e.verticalOffset,radialOffset:e.radialOffset,position:e.position}}},t.Label=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=20,r=n(118),s=o.extend,l=Math.round,c=Math.sqrt,d=Math.acos,u=180/Math.PI,h=Math.abs,p=n(7),f=p.normalizeAngle,_=p.getCosAndSin,g=n(2),m=g.isDefined,v=p.getVerticallyShiftedAngularCoords,x=n(129).pieLabelIndent;i.exports=s({},r,{_updateData:function(e){var t=this;r._updateData.call(this,e),t._visible=!0,t.minValue=t.initialMinValue=t.originalMinValue=m(e.minValue)?e.minValue:0},animate:function(e,t,n){var i=this;i.graphic.animate({x:i.centerX,y:i.centerY,outerRadius:i.radiusOuter,innerRadius:i.radiusInner,startAngle:i.toAngle,endAngle:i.fromAngle},{partitionDuration:t,step:n},e)},correctPosition:function(e){var t=this;t.correctRadius(e),t.correctLabelRadius(e.radiusOuter),t.centerX=e.centerX,t.centerY=e.centerY},correctRadius:function(e){this.radiusInner=e.radiusInner,this.radiusOuter=e.radiusOuter},correctLabelRadius:function(e){this.radiusLabels=e},correctValue:function(e,t,n){var i=this;i.value=(n||i.initialValue)+e,i.minValue=e,i.percent=t,i._label.setDataField("percent",t)},setMaxLabelLength:function(e){this._maxLabelLength=e},_updateLabelData:function(){this._label.setData(this._getLabelFormatObject())},_getShiftLabelCoords:function(){var e=this,t=e._label.getBoundingRect(),n=e._getLabelCoords(e._label),i=e._getVisibleArea();return e._isLabelDrawingWithoutPoints?e._checkLabelPosition(n,t,i):e._getLabelExtraCoord(n,e._checkVerticalLabelPosition(n,t,i),t)},_getLabelPosition:function(e){return e.position},_getLabelCoords:function(e){var t,n,i=this,o=e.getBoundingRect(),a=e.getLayoutOptions(),r=_(i.middleAngle),s=i._getLabelPosition(a),c=i.radiusInner,d=i.radiusOuter,u=i.radiusLabels;return"inside"===s?(t=c+(d-c)/2+a.radialOffset,n=i.centerX+t*r.cos-o.width/2):(t=u+a.radialOffset+x,n=r.cos>.1?i.centerX+t*r.cos:r.cos<-.1?i.centerX+t*r.cos-o.width:i.centerX+t*r.cos-o.width/2),{x:n,y:l(i.centerY-t*r.sin-o.height/2)}},_getColumnsCoord:function(e){var t,n=this,i=n._label,o=i.getBoundingRect(),r=i.getLayoutOptions(),s=n.radiusLabels+r.radialOffset,l=n._getVisibleArea(),c=l.maxX-o.width,d=l.minX,u=f(n.middleAngle);return"columns"!==r.position?e:(s+=a,90>u||u>=270?(t=n._maxLabelLength?n.centerX+s+n._maxLabelLength-o.width:c,t=t>c?c:t):(t=n._maxLabelLength?n.centerX-s-n._maxLabelLength:d,t=d>t?d:t),e.x=t,e)},drawLabel:function(e){this.translate(e),this._isLabelDrawingWithoutPoints=!0,this._drawLabel(),this._isLabelDrawingWithoutPoints=!1},updateLabelCoord:function(){var e=this,t=e._label.getBoundingRect(),n=e._getColumnsCoord(t);n=e._checkHorizontalLabelPosition(n,t,e._getVisibleArea()),e._label.shift(l(n.x),l(t.y))},_checkVerticalLabelPosition:function(e,t,n){var i=e.x,o=e.y;return e.y+t.height>n.maxY?o=n.maxY-t.height:e.y<n.minY&&(o=n.minY),{x:i,y:o}},_getLabelExtraCoord:function(e,t,n){return e.y!==t.y?v({x:e.x,y:e.y,width:n.width,height:n.height},t.y-e.y,{x:this.centerX,y:this.centerY}):e},_checkHorizontalLabelPosition:function(e,t,n){var i=e.x,o=e.y;return e.x+t.width>n.maxX?i=n.maxX-t.width:e.x<n.minX&&(i=n.minX),{x:i,y:o}},setLabelEllipsis:function(){var e=this,t=e._label.getBoundingRect(),n=e._checkHorizontalLabelPosition(t,t,e._getVisibleArea());e._label.fit(t.width-h(n.x-t.x))},setLabelTrackerData:function(){this._label.setTrackerData(this)},_checkLabelPosition:function(e,t,n){return e=this._checkHorizontalLabelPosition(e,t,n),this._checkVerticalLabelPosition(e,t,n)},getBoundaryCoords:function(){var e=this,t=e.radiusOuter,n=e._options.styles.normal,i=n["stroke-width"]/2,o=l(e.series.getOptions().containerBackgroundColor===n.stroke?i:-i),a=_(l(e.middleAngle));return{x:l(e.centerX+(t-o)*a.cos),y:l(e.centerY-(t-o)*a.sin)}},_getLabelConnector:function(){var e=this.getBoundaryCoords();return e.angle=this.middleAngle,e},_drawMarker:function(e,t,n,i){var o=this,a=o.radiusOuter,r=o.radiusInner,s=o.fromAngle,l=o.toAngle;n&&(r=a=0,i||(s=l=o.shiftedAngle)),o.graphic=e.arc(o.centerX,o.centerY,r,a,l,s).attr({"stroke-linejoin":"round"}).attr(o._getStyle()).data({"chart-data-point":o}).sharp().append(t)},getTooltipParams:function(){var e=this,t=_(e.middleAngle),n=e.radiusInner,i=e.radiusOuter;return{x:e.centerX+(n+(i-n)/2)*t.cos,y:e.centerY-(n+(i-n)/2)*t.sin,offset:0}},_translate:function(e){var t=this,n=t.shiftedAngle||0,i=t.value,o=t.minValue;t.fromAngle=e.translate(o)+n,t.toAngle=e.translate(i)+n,t.middleAngle=e.translate((i-o)/2+o)+n,t.isVisible()||(t.middleAngle=t.toAngle=t.fromAngle=t.fromAngle||n)},_getMarkerVisibility:function(){return!0},_updateMarker:function(e,t){var n=this;t=t||n._getStyle(),e||(t=s({x:n.centerX,y:n.centerY,outerRadius:n.radiusOuter,innerRadius:n.radiusInner,startAngle:n.toAngle,endAngle:n.fromAngle},t)),n.graphic.attr(t).sharp()},getLegendStyles:function(){return this._styles.legendStyles},isInVisibleArea:function(){return!0},hide:function(){var e=this;e._visible&&(e._visible=!1,e.hideTooltip(),e._options.visibilityChanged(e))},show:function(){var e=this;e._visible||(e._visible=!0,e._options.visibilityChanged(e))},setInvisibility:function(){this._label.hide()},isVisible:function(){return this._visible},_getFormatObject:function(e){var t=r._getFormatObject.call(this,e),n=this.percent;return t.percent=n,t.percentText=e.formatValue(n,"percent"),t},getColor:function(){return this._styles.normal.fill},coordsIn:function(e,t){var n,i=this,o=e-i.centerX,a=t-i.centerY,r=c(o*o+a*a),s=i.fromAngle%360,l=i.toAngle%360;return r<i.radiusInner||r>i.radiusOuter||0===r?!1:(n=d(o/r)*u*(a>0?-1:1),0>n&&(n+=360),s===l&&h(i.toAngle-i.fromAngle)>1e-4?!0:s>=l?s>=n&&n>=l:!(n>=s&&l>=n))}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(338),s=n(118),l=o.extend,c=a.isDefined,d=Math,u=d.abs,h=d.min,p=d.max,f=d.round,_=20,g=20;i.exports=l({},s,{deleteLabel:function(){var e=this;e._topLabel.dispose(),e._topLabel=null,e._bottomLabel.dispose(),e._bottomLabel=null},hideMarker:function(e){var t=this.graphic,n=t&&t[e+"Marker"],i=this["_"+e+"Label"];n&&"hidden"!==n.attr("visibility")&&n.attr({visibility:"hidden"}),i.hide()},setInvisibility:function(){this.hideMarker("top"),this.hideMarker("bottom")},clearVisibility:function(){var e=this,t=e.graphic,n=t&&t.topMarker,i=t&&t.bottomMarker;n&&n.attr("visibility")&&n.attr({visibility:null}),i&&i.attr("visibility")&&i.attr({visibility:null}),e._topLabel.clearVisibility(),e._bottomLabel.clearVisibility()},clearMarker:function(){var e=this,t=e.graphic,n=t&&t.topMarker,i=t&&t.bottomMarker,o=e._emptySettings;n&&n.attr(o),i&&i.attr(o)},_getLabelPosition:function(e){var t,n="inside"===this._options.label.position;return t=this._options.rotated?"top"===e^n?"right":"left":"top"===e^n?"top":"bottom"},_getLabelMinFormatObject:function(){var e=this;return{index:0,argument:e.initialArgument,value:e.initialMinValue,seriesName:e.series.name,originalValue:e.originalMinValue,originalArgument:e.originalArgument,point:e}},_updateLabelData:function(){var e=this._getLabelFormatObject();e.index=1,this._topLabel.setData(e),this._bottomLabel.setData(this._getLabelMinFormatObject())},_updateLabelOptions:function(){var e=this,t=this._options.label;(!e._topLabel||!e._bottomLabel)&&e._createLabel(),e._topLabel.setOptions(t),e._bottomLabel.setOptions(t)},_createLabel:function(){var e={renderer:this.series._renderer,labelsGroup:this.series._labelsGroup,point:this};this._topLabel=new r.Label(e),this._bottomLabel=new r.Label(e)},_getGraphicBbox:function(e){var t,n=this._options,i=this._getImage(n.image),o="top"===e?this._checkImage(i.top):this._checkImage(i.bottom),a=this._getPositionFromLocation(e);return t=n.visible?o?this._getImageBbox(a.x,a.y):this._getSymbolBbox(a.x,a.y,n.styles.normal.r):{x:a.x,y:a.y,width:0,height:0}},_getPositionFromLocation:function(e){var t,n,i="top"===e;return this._options.rotated?(t=i?p(this.x,this.minX):h(this.x,this.minX),n=this.y):(t=this.x,n=i?h(this.y,this.minY):p(this.y,this.minY)),{x:t,y:n}},_checkOverlay:function(e,t,n){return t+n>e},_getOverlayCorrections:function(e,t,n){var i="vertical"===e,o=i?"y":"x",a=i?"height":"width",r=this.translators[o].getCanvasVisibleArea(),s=r.min,l=r.max,c=f((t[o]+t[a]-n[o])/2),d=t[o]-c,u=n[o]+c;return s>d?(c=s-t[o],d+=c,u+=c):u+n[a]>l&&(c=-(n[o]+n[a]-l),d+=c,u+=c),{coord1:d,coord2:u}},_checkLabelsOverlay:function(e){var t=this,n=t._topLabel.getBoundingRect(),i=t._bottomLabel.getBoundingRect(),o={};t._options.rotated?"top"===e?this._checkOverlay(n.x,i.x,i.width)&&(o=this._getOverlayCorrections("horizontal",i,n),t._topLabel.shift(o.coord2,n.y),t._bottomLabel.shift(o.coord1,i.y)):this._checkOverlay(i.x,n.x,n.width)&&(o=this._getOverlayCorrections("horizontal",n,i),t._topLabel.shift(o.coord1,n.y),t._bottomLabel.shift(o.coord2,i.y)):"top"===e?this._checkOverlay(i.y,n.y,n.height)&&(o=this._getOverlayCorrections("vertical",n,i),t._topLabel.shift(n.x,o.coord1),t._bottomLabel.shift(i.x,o.coord2)):this._checkOverlay(n.y,i.y,i.height)&&(o=this._getOverlayCorrections("vertical",i,n),t._topLabel.shift(n.x,o.coord2),t._bottomLabel.shift(i.x,o.coord1))},_drawLabel:function(){var e=this,t=[],n=e._options.rotated?e.x>=e.minX:e.y<e.minY,i=e._getCustomLabelVisibility(),a=e._topLabel,r=e._bottomLabel;a.pointPosition=n?"top":"bottom",r.pointPosition=n?"bottom":"top",(e.series.getLabelVisibility()||i)&&e.hasValue()?(e.visibleTopMarker!==!1&&t.push(a),e.visibleBottomMarker!==!1&&t.push(r),o.each(t,function(e,t){t.show()}),e._checkLabelsOverlay(e._topLabel.pointPosition)):(a.hide(),r.hide())},_getImage:function(e){var t={};return c(e)&&("string"==typeof e?t.top=t.bottom=e:(t.top={url:"string"==typeof e.url?e.url:e.url&&e.url.rangeMaxPoint,width:"number"==typeof e.width?e.width:e.width&&e.width.rangeMaxPoint,height:"number"==typeof e.height?e.height:e.height&&e.height.rangeMaxPoint},t.bottom={url:"string"==typeof e.url?e.url:e.url&&e.url.rangeMinPoint,width:"number"==typeof e.width?e.width:e.width&&e.width.rangeMinPoint,height:"number"==typeof e.height?e.height:e.height&&e.height.rangeMinPoint})),t},_checkSymbol:function(e,t){var n=this,i=e.symbol,o=t.symbol,a="circle"===i&&"circle"!==o||"circle"!==i&&"circle"===o,r=n._getImage(e.image),s=n._getImage(t.image),l=n._checkImage(r.top)!==n._checkImage(s.top),c=n._checkImage(r.bottom)!==n._checkImage(s.bottom);return a||l||c},_getSettingsForTwoMarkers:function(e){var t=this,n=t._options,i={},o=n.rotated?h(t.x,t.minX):t.x,a=n.rotated?t.y:h(t.y,t.minY),r=e.r,s=t._populatePointShape(n.symbol,r);return i.top=l({translateX:o+t.width,translateY:a,r:r},e),i.bottom=l({translateX:o,translateY:a+t.height,r:r},e),s&&(i.top.points=i.bottom.points=s),i},_hasGraphic:function(){return this.graphic&&this.graphic.topMarker&&this.graphic.bottomMarker},_drawOneMarker:function(e,t,n,i){var o=this,a=o.graphic;a[t]?o._updateOneMarker(t,i):a[t]=o._createMarker(e,a,n,i)},_drawMarker:function(e,t,n,i,o){var a=this,r=a._getSettingsForTwoMarkers(o||a._getStyle()),s=a._getImage(a._options.image);a._checkImage(s.top)&&(r.top=a._getImageSettings(r.top,s.top)),a._checkImage(s.bottom)&&(r.bottom=a._getImageSettings(r.bottom,s.bottom)),a.graphic=a.graphic||e.g().append(t),a.visibleTopMarker&&a._drawOneMarker(e,"topMarker",s.top,r.top),a.visibleBottomMarker&&a._drawOneMarker(e,"bottomMarker",s.bottom,r.bottom)},_getSettingsForTracker:function(e){var t=this,n=t._options.rotated;return{translateX:n?h(t.x,t.minX)-e:t.x-e,translateY:n?t.y-e:h(t.y,t.minY)-e,width:t.width+2*e,height:t.height+2*e}},isInVisibleArea:function(){var e,t,n,i,o,a=this,r=a._options.rotated,s=r?a.y:a.x,l=r?p(a.minX,a.x):p(a.minY,a.y),c=r?h(a.minX,a.x):h(a.minY,a.y),d=a.translators,u=!0,f=!0,_=!0;return d&&(i=d[r?"y":"x"].getCanvasVisibleArea(),o=d[r?"x":"y"].getCanvasVisibleArea(),e=i.max<s||i.min>s,t=o.min>c&&o.min>l||o.max<c&&o.max<l,e||t?u=f=_=!1:(u=o.min<=c&&o.max>c,f=o.min<l&&o.max>=l,r&&(n=u,u=f,f=n))),a.visibleTopMarker=u,a.visibleBottomMarker=f,_},getTooltipParams:function(){var e,t,n,i,o,a=this,r=a.translators,s=r.x.getCanvasVisibleArea(),l=r.y.getCanvasVisibleArea();return a._options.rotated?(o=h(a.x,a.minX),t=a.y,n=s.min>o?s.min:o,i=s.max<o+a.width?s.max:o+a.width,e=n+(i-n)/2):(o=h(a.y,a.minY),e=a.x,n=l.min>o?l.min:o,i=l.max<o+a.height?l.max:o+a.height,t=n+(i-n)/2),{x:e,y:t,offset:0}},_translate:function(e){var t=this,n=t._options.rotated;t.minX=t.minY=e.y.translate(t.minValue),s._translate.call(t,e),t.height=n?0:u(t.minY-t.y),t.width=n?u(t.x-t.minX):0},_updateData:function(e){var t=this;s._updateData.call(t,e),t.minValue=t.initialMinValue=t.originalMinValue=e.minValue},_getImageSettings:function(e,t){return{href:t.url||t.toString(),width:t.width||_,height:t.height||g,translateX:e.translateX,translateY:e.translateY}},getCrosshairData:function(e,t){var n=this,i=n._options.rotated,o=n.minX,a=n.minY,r=n.vx,s=n.vy,l=n.value,c=n.minValue,d=n.argument,h={axis:n.series.axis,x:r,y:s,yValue:l,xValue:d};return i?(h.yValue=d,u(r-e)<u(o-e)?h.xValue=l:(h.x=o,h.xValue=c)):u(s-t)>=u(a-t)&&(h.y=a,h.yValue=c),h},_updateOneMarker:function(e,t){this.graphic&&this.graphic[e]&&this.graphic[e].attr(t)},_updateMarker:function(e,t){this._drawMarker(void 0,void 0,!1,!1,t)},_getFormatObject:function(e){var t=this,n=t.initialMinValue,i=t.initialValue,o=t.initialArgument,a=e.formatValue(n),r=e.formatValue(i);return{argument:o,argumentText:e.formatValue(o,"argument"),valueText:a+" - "+r,rangeValue1Text:a,rangeValue2Text:r,rangeValue1:n,rangeValue2:i,seriesName:t.series.name,point:t,originalMinValue:t.originalMinValue,originalValue:t.originalValue,originalArgument:t.originalArgument}},getLabel:function(){return[this._topLabel,this._bottomLabel]},getBoundingRect:o.noop,coordsIn:function(e,t){var n=this._storeTrackerR(),i=e>=this.x-n&&e<=this.x+n,o=t>=this.y-n&&t<=this.y+n;return this._options.rotated?o&&(i||e>=this.minX-n&&e<=this.minX+n):i&&(o||t>=this.minY-n&&t<=this.minY+n)}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=e.lineSpacing,i=(void 0!==n&&null!==n?n:l)+e.size;return function(e){for(var n="",o=e.valueText,a=0;a<o.length;a+=2)n+="<tr><td>"+o[a]+"</td><td style='width: 15px'></td><td style='text-align: "+(t?"left":"right")+"'>"+o[a+1]+"</td></tr>";return{html:"<table style='border-spacing:0px; line-height: "+i+"px'>"+n+"</table>"}}}function a(e,t,n){var i=o(t,n);return r.isFunction(e)?function(t){var n=e.call(t,t);return"html"in n||"text"in n||g(n,i.call(t,t)),n}:i}var r=n(1),s=n(116),l=2,c=200,d=1e3,u=n(4),h=n(86),p=n(115),f=n(119),_=Math.abs,g=r.extend,m=r.noop,v=s.inherit({_setDeprecatedOptions:function(){this.callBase(),g(this._deprecatedOptions,{"tooltip.verticalAlignment":{since:"15.1",message:"Now tootips are aligned automatically"},"tooltip.horizontalAlignment":{since:"15.1",message:"Now tootips are aligned automatically"}})},_getLayoutItems:m,_useLinks:!1,_themeDependentChanges:["OPTIONS"],_initCore:function(){var e=this;e._tooltipTracker=e._renderer.root,e._tooltipTracker.attr({"pointer-events":"visible"}),e._createHtmlElements(),e._initTooltipEvents()},_getDefaultSize:function(){return this._defaultSize},_disposeCore:function(){this._disposeWidgetElements(),this._disposeTooltipEvents(),this._ranges=null},_optionChangesOrder:["OPTIONS"],_change_OPTIONS:function(){this._prepareOptions(),this._change(["UPDATE"])},_customChangesOrder:["UPDATE"],_change_UPDATE:function(){this._update()},_update:function(){var e=this;e._tooltipShown&&(e._tooltipShown=!1,e._tooltip.hide()),e._cleanWidgetElements(),e._cleanTranslators(),e._updateWidgetElements(),e._drawWidgetElements()},_updateWidgetElements:function(){this._updateRange(),this._updateTranslator()},_applySize:function(e){this._allOptions.size={width:e[2]-e[0],height:e[3]-e[1]},this._change(["UPDATE"])},_cleanTranslators:function(){this._translatorX=null,this._translatorY=null},_setupResizeHandler:m,_prepareOptions:function(){return g(!0,{},this._themeManager.theme(),this.option())},_createThemeManager:function(){var e=new p.BaseThemeManager;return e._themeSection=this._widgetType,e._fontFields=["tooltip.font"],e},_getTooltipCoords:function(){var e=this._canvas,t=this._renderer.getRootOffset();return{x:e.width/2+t.left,y:e.height/2+t.top}},_initTooltipEvents:function(){var e=this,t={widget:e};e._showTooltipCallback=function(){var t;e._showTooltipTimeout=null,e._tooltipShown||(e._tooltipShown=!0,t=e._getTooltip(),t.isEnabled()&&e._tooltip.show(e._getTooltipData(),e._getTooltipCoords(),{}))},e._hideTooltipCallback=function(){e._hideTooltipTimeout=null,e._tooltipShown&&(e._tooltipShown=!1,e._tooltip.hide())},e._disposeCallbacks=function(){e=e._showTooltipCallback=e._hideTooltipCallback=e._disposeCallbacks=null},e._tooltipTracker.on(w,t).on(D,t).on(y,t),e._tooltipTracker.on(x)},_disposeTooltipEvents:function(){var e=this;clearTimeout(e._showTooltipTimeout),clearTimeout(e._hideTooltipTimeout),e._tooltipTracker.off(),e._disposeCallbacks()},_updateTranslator:function(){var e=this,t=this._canvas,n=this._ranges;e._translatorX=new f.Translator2D(n.arg,t,{isHorizontal:!0}),e._translatorY=new f.Translator2D(n.val,t)},_getTooltip:function(){var e=this;return e._tooltip||(E.apply(this,arguments),e._setTooltipRendererOptions(e._tooltipRendererOptions),e._tooltipRendererOptions=null,e._setTooltipOptions()),e._tooltip}}),x={"contextmenu.sparkline-tooltip":function(e){(u.isTouchEvent(e)||u.isPointerEvent(e))&&e.preventDefault()},"MSHoldVisual.sparkline-tooltip":function(e){e.preventDefault()}},w={"mouseover.sparkline-tooltip":function(e){I=!1;var t=e.data.widget;t._x=e.pageX,t._y=e.pageY,t._tooltipTracker.off(b).on(b,e.data),t._showTooltip(c)},"mouseout.sparkline-tooltip":function(e){if(!I){var t=e.data.widget;t._tooltipTracker.off(b),t._hideTooltip(c)}}},y={};y[h.name+".sparkline-tooltip"]=function(e){e.data.widget._hideTooltip()};var b={"mousemove.sparkline-tooltip":function(e){var t=e.data.widget;t._showTooltipTimeout&&(_(t._x-e.pageX)>3||_(t._y-e.pageY)>3)&&(t._x=e.pageX,t._y=e.pageY,t._showTooltip(c))}},C=null,k=function(e){e.preventDefault();var t=C;t&&t!==e.data.widget&&t._hideTooltip(c),t=C=e.data.widget,t._showTooltip(d),t._touch=!0},S=function(){var e=C;e&&(e._touch||(e._hideTooltip(c),C=null),e._touch=null)},T=function(){var e=C;e&&e._showTooltipTimeout&&(e._hideTooltip(c),C=null)},I=!1,D={"pointerdown.sparkline-tooltip":k,"touchstart.sparkline-tooltip":k};r(document).on({"pointerdown.sparkline-tooltip":function(){
I=!0,S()},"touchstart.sparkline-tooltip":S,"pointerup.sparkline-tooltip":T,"touchend.sparkline-tooltip":T}),i.exports=v,v.addPlugin(n(172).plugin);var E=v.prototype._initTooltip;v.prototype._initTooltip=m;var A=v.prototype._disposeTooltip;v.prototype._disposeTooltip=function(){this._tooltip&&A.apply(this,arguments)},v.prototype._setTooltipRendererOptions=function(){var e=this._getRendererOptions();this._tooltip?this._tooltip.setRendererOptions(e):this._tooltipRendererOptions=e},v.prototype._setTooltipOptions=function(){var e=this._tooltip,t=e&&this._getOption("tooltip");e&&e.update(g({},t,{customizeTooltip:a(t.customizeTooltip,t.font,this.option("rtlEnabled")),enabled:t.enabled&&this._isTooltipEnabled()}))},v.prototype._showTooltip=function(e){var t=this;clearTimeout(t._hideTooltipTimeout),t._hideTooltipTimeout=null,clearTimeout(t._showTooltipTimeout),t._showTooltipTimeout=setTimeout(t._showTooltipCallback,e)},v.prototype._hideTooltip=function(e){var t=this;clearTimeout(t._showTooltipTimeout),t._showTooltipTimeout=null,clearTimeout(t._hideTooltipTimeout),e?t._hideTooltipTimeout=setTimeout(t._hideTooltipCallback,e):t._hideTooltipCallback()}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i=this;i._startAngle=n.startAngle,i._endAngle=n.endAngle,i._argCanvas={left:0,right:0,width:this._getAngle()},i._valCanvas={left:0,right:0},i.canvas=a.extend({},t),i._init(),i._arg=new l.Translator2D(e.arg,i._argCanvas,{isHorizontal:!0,conversionValue:!0}),i._val=new l.Translator2D(e.val,i._valCanvas,{isHorizontal:!0}),i._businessRange=e}var a=n(1),r=n(7),s=n(2),l=n(119),c=90,d=Math.round;o.prototype={constructor:o,_init:function(){var e=this.canvas;this._setCoords({x:e.left+(e.width-e.right-e.left)/2,y:e.top+(e.height-e.top-e.bottom)/2,r:Math.min(e.width-e.left-e.right,e.height-e.top-e.bottom)/2}),this._valCanvas.width=this._rad},reinit:function(){this._init(),this._arg.reinit(),this._val.reinit()},_setCoords:function(e){this._x0=e.x,this._y0=e.y,this._rad=e.r<0?0:e.r},getBusinessRange:function(){return this._businessRange},translate:function(e,t,n){var i,o,a=this,l=a._arg.translate(e,n&&n[0]),u=a._val.translate(t,n&&n[1]),h=s.isDefined(l)?l+a._startAngle-c:null,p=r.getCosAndSin(h);return o=d(a._y0+u*p.sin),i=d(a._x0+u*p.cos),{x:i,y:o,angle:h,radius:u}},setCanvasDimension:function(e){this.canvas.width=this.canvas.height=e,this.reinit()},setAngles:function(e,t){var n=this;n._startAngle=e,n._endAngle=t,n._argCanvas.width=n._getAngle(),n._arg.update(n._arg.getBusinessRange(),n._argCanvas)},getAngles:function(){return[this._startAngle,this._endAngle]},getValLength:function(){return this._rad},getCenter:function(){return{x:this._x0,y:this._y0}},getBaseAngle:function(){return this._startAngle-c},getInterval:function(){return this._arg.getInterval()},getValInterval:function(){return this._val.getInterval()},_getAngle:function(){return Math.abs(this._endAngle-this._startAngle)},getComponent:function(e){var t=this,n=this["_"+e];return n.getRadius=function(){return t.getValLength()},n.getCenter=function(){return t.getCenter()},n.getAngles=function(){return t.getAngles()},n},_untranslate:function(e,t){var n=r.getDistance(this._x0,this._y0,e,t),i=Math.atan2(t-this._y0,e-this._x0);return{r:n,phi:i}},untranslate:function(e,t){var n=this._untranslate(e,t);return n.phi=d(r.normalizeAngle(180*n.phi/Math.PI)),n.r=d(n.r),n},getVisibleCategories:a.noop,getCanvasVisibleArea:function(){return{}},getMinBarSize:function(e){return this._val.getMinBarSize(e)}},t.PolarTranslator=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){function i(){this.setDomain(arguments[0],arguments[1]).setCodomain(arguments[2],arguments[3])}var o=Number;i.prototype={constructor:i,setDomain:function(e,t){var n=this;return n._domain1=o(e),n._domain2=o(t),n._domainDelta=n._domain2-n._domain1,n},setCodomain:function(e,t){var n=this;return n._codomain1=o(e),n._codomain2=o(t),n._codomainDelta=n._codomain2-n._codomain1,n},getDomain:function(){return[this._domain1,this._domain2]},getCodomain:function(){return[this._codomain1,this._codomain2]},getDomainStart:function(){return this._domain1},getDomainEnd:function(){return this._domain2},getCodomainStart:function(){return this._codomain1},getCodomainEnd:function(){return this._codomain2},getDomainRange:function(){return this._domainDelta},getCodomainRange:function(){return this._codomainDelta},translate:function(e){var t=(o(e)-this._domain1)/this._domainDelta;return t>=0&&1>=t?this._codomain1+t*this._codomainDelta:NaN},adjust:function(e){var t=(o(e)-this._domain1)/this._domainDelta,n=NaN;return 0>t?n=this._domain1:t>1?n=this._domain2:t>=0&&1>=t&&(n=o(e)),n}},t.Translator1D=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i=t.createPalette(e.palette,{useHighlight:!0});return(e.colorizeGroups?l:r)(i,n)}function a(e,t,n){var i;for(i=t.length;n>i;++i)t.push(e.getNextColor())}function r(e){var t=[];return a(e,t,4),function(n){return n.index>=t.length&&a(e,t,2*t.length),t[n.index]}}function s(e,t){var n,i,o={},a=t.nodes.slice(),r=a.length;for(n=0;r>n;++n)i=a[n],i.isNode()?(a=a.concat(i.nodes),r=a.length):o[i.parent._id]||(o[i.parent._id]=e.getNextColor());return o}function l(e,t){var n=s(e,t);return function(e){return n[e._id]}}n(120).addColorizer("discrete",o),i.exports=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i,a=e.isNode()&&e.nodes,r=a&&a.length;for(e.setState(t,n),i=0;r>i;++i)o(a[i],t,n)}var a=n(55).prototype,r=n(175).prototype,s=n(98),l=n(7).parseScalar,c=s.buildRectAppearance,d=1;n(133),n(346),a._eventsMap.onHoverChanged={name:"hoverChanged"},s.expand(a._handlers,"calculateAdditionalStates",function(e,t){e[1]=t.hoverStyle?c(t.hoverStyle):{}}),n(55).addChange({code:"HOVER_ENABLED",handler:function(){var e=l(this._getOption("hoverEnabled",!0),!0);e||this.clearHover(),this._hoverEnabled=e},isThemeDependent:!0,isOptionChange:!0,option:"hoverEnabled"}),r.statesMap[1]=1,r.additionalStates.push(1),s.expand(a,"_extendProxyType",function(e){var t=this;e.setHover=function(){t._hoverNode(this._id)},e.isHovered=function(){return t._hoverIndex===this._id}}),s.expand(a,"_onNodesCreated",function(){this._hoverIndex=-1}),a._applyHoverState=function(e,t){o(this._nodes[e],d,t),this._eventTrigger("hoverChanged",{node:this._nodes[e].proxy})},a._hoverNode=function(e){var t=this,n=t._hoverIndex;t._hoverEnabled&&n!==e&&(t._context.suspend(),t._hoverIndex=-1,n>=0&&t._applyHoverState(n,!1),t._hoverIndex=e,e>=0&&t._applyHoverState(e,!0),t._context.resume())},a.clearHover=function(){this._hoverNode(-1)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){var o,a=i.length;for(o=0;a>o;++o)e[i[o]]=d({},t,n[i[o]])}var a=n(55).prototype,r=n(175).prototype,s=a._handlers,l=s.calculateState,c=r._buildState,d=n(1).extend;s.calculateState=function(e){var t={0:l(e)};return s.calculateAdditionalStates(t,e),t},s.calculateAdditionalStates=n(98).empty,r.code=0,r.statesMap={0:0},r.additionalStates=[],r._buildState=function(e,t){var n={0:c(e[0],t)};return this.additionalStates.length&&o(n,n[0],e,this.additionalStates),n},r._getState=function(){return this.state[this.statesMap[this.code]]},r.setState=function(e,t){t?this.code|=e:this.code&=~e,this.ctx.change(["TILES"])}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return t.value-e.value}function a(e){return c(e,1/e)}function r(e,t,n){var i,o,r,s,l,c=1/0,u=0,h=e.length,p=n.areaToValue/n.staticSide;for(r=t;h>r;){for(o=u+e[r].value,l=n.staticSide/p/o,i=0,s=t;r>=s;++s)i=n.accumulate(i,a(l*e[s].value/o),s-t+1);if(!(c>i))break;c=i,u=o,++r}return{sum:u,count:r-t,side:d(p*u)}}function s(e){return(e[2]-e[0])*(e[3]-e[1])}function l(e,t,n){var i=n.sides||h(n.rect,n.directions),o=i.staticSide>0?r(e,t,{areaToValue:s(n.rect)/n.sum,accumulate:n.accumulate,staticSide:i.staticSide}):{sum:1,side:i.variedSide,count:e.length-t};return u(e,t,n.rect,i,o),n.sum-=o.sum,t+o.count}var c=Math.max,d=Math.round,u=n(121).calculateRectangles,h=n(121).buildSidesData;i.exports=function(e,t,n){var i,a=e.items,r=a.length,s={sum:e.sum,rect:e.rect,directions:e.directions,accumulate:t};for(n&&(s.sides=h(s.rect,s.directions)),a.sort(o),i=0;r>i;)i=l(a,i,s)}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return r(e,t)}function a(e){return s(e,o,!1)}var r=Math.max,s=n(347);n(121).addAlgorithm("squarified",a),i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=t.getRootOffset();return[(e[0]+e[2])/2+n.left,(e[1]+e[3])/2+n.top]}var a=n(55).prototype,r=n(98);n(133),r.expand(a,"_extendProxyType",function(e){var t=this;e.showTooltip=function(e){t._showTooltip(this._id,e)}}),r.expand(a,"_onNodesCreated",function(){this._tooltipIndex>=0&&this._tooltip.hide(),this._tooltipIndex=-1}),r.expand(a,"_onTilingPerformed",function(){this._tooltipIndex>=0&&this._moveTooltip(this._nodes[this._tooltipIndex])}),a._showTooltip=function(e,t){var n,i,o=this,a=o._tooltip;a.isEnabled()&&(n=o._nodes[e],i=o._tooltipIndex===e||a.show({value:n.value,valueText:a.formatValue(n.value),node:n.proxy},{x:0,y:0,offset:0},{node:n.proxy}),i?o._moveTooltip(n,t):a.hide(),o._tooltipIndex=i?e:-1)},a._moveTooltip=function(e,t){var n=t||e.rect&&o(e.rect,this._renderer)||[-1e3,-1e3];this._tooltip.move(n[0],n[1],0)},a.hideTooltip=function(){this._tooltipIndex>=0&&(this._tooltipIndex=-1,this._tooltip.hide())},n(55).addPlugin(n(172).plugin)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a={_initEvents:function(){var e,t=this._eventNames,n=t.length,i=this._events={};for(e=0;n>e;++e)i[t[e]]=o.Callbacks()},_disposeEvents:function(){var e,t=this._events;for(e in t)t[e].empty();this._events=null},on:function(e){function t(){for(n in e)i[n].remove(e[n])}var n,i=this._events;for(n in e)i[n].add(e[n]);return t},_fire:function(e,t){this._events[e].fire(t)}};t.makeEventEmitter=function(e){var t,n=e.prototype;for(t in a)n[t]=a[t]}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return l(s(e,+t),-t)}var a=n(352),r=a.projection,s=Math.min,l=Math.max,c=Math.sin,d=Math.asin,u=Math.tan,h=Math.atan,p=Math.exp,f=Math.log,_=Math.PI,g=_/4,m=180,v=90,x=_/180,w=(2*h(p(_))-_/2)/x,y=(2.5*h(p(.8*_))-.625*_)/x;r.add("mercator",r({aspectRatio:1,to:function(e){return[e[0]/m,f(u(g+o(e[1],w)*x/2))/_]},from:function(e){return[e[0]*m,(2*h(p(e[1]*_))-_/2)/x]}})),r.add("equirectangular",r({aspectRatio:2,to:function(e){return[e[0]/m,e[1]/v]},from:function(e){return[e[0]*m,e[1]*v]}})),r.add("lambert",r({aspectRatio:2,to:function(e){return[e[0]/m,c(o(e[1],v)*x)]},from:function(e){return[e[0]*m,d(o(e[1],1))/x]}})),r.add("miller",r({aspectRatio:1,to:function(e){return[e[0]/m,1.25*f(u(g+o(e[1],y)*x*.4))/_]},from:function(e){return[e[0]*m,(2.5*h(p(.8*e[1]*_))-.625*_)/x]}})),t.projection=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return D(e-t)<1e-8}function a(e,t){return o(e[0],t[0])&&o(e[1],t[1])}function r(e,t,n,i){var o=S(e);return isFinite(o)?T(I(o,t),n):i}function s(e,t,n,i){return[r(e[0],t[0],n[0],i[0]),r(e[1],t[1],n[1],i[1])]}function l(e){return e instanceof p&&e||w.get(e)||w.get(F)}function c(e){var t=this;t._initEvents(),t._params=e,t._engine=l(),t._center=t._engine.center(),t._adjustCenter()}function d(e,t,n,i){var o=(n+i)/2;return D(e-o)>D(t-o)?e:t}function u(e,t,n,i){var o=(n+i)/2;return D(e-o)<D(t-o)?e:t}function h(e,t,n){var i=e([n[0],n[3]]),o=e([n[0],n[1]]),a=e([n[2],n[3]]),r=e([n[2],n[1]]),s=u(i[0],o[0],a[0],r[0]),l=u(a[0],r[0],i[0],o[0]),c=u(i[1],a[1],o[1],r[1]),d=u(o[1],r[1],i[1],a[1]);return[2/I(D(s-l),D(c-d)),t([(s+l)/2,(c+d)/2])]}function p(e,t){var n=this,i=e.aspectRatio>0?S(e.aspectRatio):1,o=g(e.to),a=e.from?m(e.from):v(V),r=a([0,0]),s=y([a([-1,0])[0],a([0,1])[1]],[a([1,0])[0],a([0,-1])[1]]);n.project=o,n.unproject=a,n.original=v(t||n),n.source=function(){return C.extend({},e)},n.isinv=v(!!e.from),n.ar=v(i),n.center=x(r),n.min=x(s.min),n.max=x(s.max)}function f(e){return e instanceof p}function _(e){return[e[0],-e[1]]}function g(e){return function(t){return _(e(t))}}function m(e){return function(t){return e(_(t))}}function v(e){return function(){return e}}function x(e){return function(){return e.slice()}}function w(e){return e&&e.to?new p(e):null}function y(e,t){return{min:[T(e[0],t[0]),T(e[1],t[1])],max:[I(e[0],t[0]),I(e[1],t[1])]}}function b(e,t,n,i,o){var a=(n[0]+i[0])/2-o/2,r=(n[1]+i[1])/2-o/2,s=2/o;return{to:function(t){var n=e(t);return[-1+(n[0]-a)*s,-1+(n[1]-r)*s]},from:function(e){var n=[a+(e[0]+1)/s,r+(e[1]+1)/s];return t(n)}}}var C=n(1),k=n(350),S=Number,T=Math.min,I=Math.max,D=Math.abs,E=Math.round,A=Math.log,B=Math.pow,M=2/Math.LN2,O=1/3600/180/10,P=1,R=256,V=[NaN,NaN],F="mercator";c.prototype={constructor:c,_minZoom:P,_maxZoom:R,_zoom:P,_center:V,_canvas:{},_scale:[],dispose:function(){this._disposeEvents()},setEngine:function(e){var t=this,n=l(e);t._engine!==n&&(t._engine=n,t._fire("engine"),t._changeCenter(n.center())&&t._triggerCenterChanged(),t._changeZoom(t._minZoom)&&t._triggerZoomChanged(),t._adjustCenter(),t._setupScreen())},setBounds:function(e){void 0!==e&&this.setEngine(this._engine.original().bounds(e))},_setupScreen:function(){var e=this,t=e._canvas,n=t.width,i=t.height,o=e._engine.ar();e._x0=t.left+n/2,e._y0=t.top+i/2,o>=n/i?(e._xradius=n/2,e._yradius=n/2/o):(e._xradius=i/2*o,e._yradius=i/2),e._fire("screen")},setSize:function(e){var t=this;t._canvas=e,t._setupScreen()},_toScreen:function(e){return[this._x0+this._xradius*e[0],this._y0+this._yradius*e[1]]},_fromScreen:function(e){return[(e[0]-this._x0)/this._xradius,(e[1]-this._y0)/this._yradius]},_toTransformed:function(e){return[e[0]*this._zoom+this._dxcenter,e[1]*this._zoom+this._dycenter]},_toTransformedFast:function(e){return[e[0]*this._zoom,e[1]*this._zoom]},_fromTransformed:function(e){return[(e[0]-this._dxcenter)/this._zoom,(e[1]-this._dycenter)/this._zoom]},_adjustCenter:function(){var e=this,t=e._engine.project(e._center);e._dxcenter=-t[0]*e._zoom||0,e._dycenter=-t[1]*e._zoom||0},project:function(e){return this._engine.project(e)},transform:function(e){return this._toScreen(this._toTransformedFast(e))},isInvertible:function(){return this._engine.isinv()},getSquareSize:function(e){return[e[0]*this._zoom*this._xradius,e[1]*this._zoom*this._yradius]},getZoom:function(){return this._zoom},_changeZoom:function(e){var t=this,n=t._zoom,i=t._zoom=r(e,t._minZoom,t._maxZoom,t._minZoom),a=!o(n,i);return a&&(t._adjustCenter(),t._fire("zoom")),a},setZoom:function(e){this._engine.isinv()&&this._changeZoom(e)&&this._triggerZoomChanged()},getScaledZoom:function(){return E((this._scale.length-1)*A(this._zoom)/A(this._maxZoom))},setScaledZoom:function(e){this.setZoom(this._scale[E(e)])},changeScaledZoom:function(e){this.setZoom(this._scale[I(T(E(this.getScaledZoom()+e),this._scale.length-1),0)])},getZoomScalePartition:function(){return this._scale.length-1},_setupScaling:function(){var e,t,n=this,i=E(M*A(n._maxZoom)),o=1;for(i=i>4?i:4,e=B(n._maxZoom,1/i),t=n._minZoom,n._scale=[t];i>=o;++o)n._scale.push(t*=e)},setMaxZoom:function(e){var t=this;t._minZoom=P,t._maxZoom=r(e,t._minZoom,S.MAX_VALUE,R),t._setupScaling(),t._zoom>t._maxZoom&&t.setZoom(t._maxZoom),t._fire("max-zoom")},getCenter:function(){return this._center.slice()},setCenter:function(e){this._engine.isinv()&&this._changeCenter(e||[])&&this._triggerCenterChanged()},_changeCenter:function(e){var t=this,n=t._engine,i=t._center,o=t._center=s(e,n.min(),n.max(),n.center()),r=!a(i,o);return r&&(t._adjustCenter(),t._fire("center")),r},_triggerCenterChanged:function(){this._params.centerChanged(this.getCenter())},_triggerZoomChanged:function(){this._params.zoomChanged(this.getZoom())},setCenterByPoint:function(e,t){var n=this,i=n._engine.project(e),o=n._fromScreen(t);n.setCenter(n._engine.unproject([-o[0]/n._zoom+i[0],-o[1]/n._zoom+i[1]]))},beginMoveCenter:function(){this._engine.isinv()&&(this._moveCenter=this._center)},endMoveCenter:function(){var e=this;e._moveCenter&&(a(e._moveCenter,e._center)||e._triggerCenterChanged(),e._moveCenter=null)},moveCenter:function(e){var t,n,i=this;i._moveCenter&&(t=i._toScreen(i._toTransformed(i._engine.project(i._center))),n=i._engine.unproject(i._fromTransformed(i._fromScreen([t[0]+e[0],t[1]+e[1]]))),i._changeCenter(n))},getViewport:function(){var e=this,t=e._engine.unproject,n=t(e._fromTransformed([-1,-1])),i=t(e._fromTransformed([-1,1])),o=t(e._fromTransformed([1,-1])),a=t(e._fromTransformed([1,1])),r=y([d(n[0],i[0],o[0],a[0]),d(n[1],o[1],i[1],a[1])],[d(o[0],a[0],n[0],i[0]),d(i[1],a[1],n[1],o[1])]);return[].concat(r.min,r.max)},setViewport:function(e){var t=this._engine,n=e?h(t.project,t.unproject,e):[this._minZoom,t.center()];this.setZoom(n[0]),this.setCenter(n[1])},getTransform:function(){return{translateX:this._dxcenter*this._xradius,translateY:this._dycenter*this._yradius}},fromScreenPoint:function(e){return this._engine.unproject(this._fromTransformed(this._fromScreen(e)))},_eventNames:["engine","screen","center","zoom","max-zoom"]},k.makeEventEmitter(c),p.prototype.aspectRatio=function(e){var t=this.source();return t.aspectRatio=e,new p(t,this)},p.prototype.bounds=function(e){e=e||[];var t=this.source(),n=this.min(),i=this.max(),o=t.to(s([e[0],e[1]],n,i,n)),a=t.to(s([e[2],e[3]],n,i,i)),r=T(D(a[0]-o[0])>O?D(a[0]-o[0]):2,D(a[1]-o[1])>O?D(a[1]-o[1]):2);return 2>r&&C.extend(t,b(t.to,t.from,o,a,r)),new p(t,this)};var L={};w.get=function(e){return L[e]||null},w.add=function(e,t){return!L[e]&&f(t)&&(L[e]=t),w},t.Projection=c,t.projection=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(92),i.exports=DevExpress.ui={},DevExpress.ui.templateRendered=n(46).renderedCallbacks}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(181),s=n(23),l="dx-autocomplete",c="dx-autocomplete-popup-wrapper",d=r.inherit({_supportedKeys:function(){var e=this._list?this._list.option("focusedElement"):null;return o.extend(this.callBase(),{upArrow:function(t){return t.preventDefault(),t.stopPropagation(),e&&!e.prev().length?(this._clearFocusedItem(),!1):!0},downArrow:function(t){return t.preventDefault(),t.stopPropagation(),e&&!e.next().length?(this._clearFocusedItem(),!1):!0},enter:function(t){return e||this.close(),!0}})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{displayExpr:{since:"15.2",alias:"valueExpr"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{minSearchLength:1,maxItemCount:10,noDataText:"",showDropButton:!1,searchEnabled:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return/android5/.test(s.current())},options:{popupPosition:{offset:{h:-16,v:-8}}}}])},_render:function(){this.callBase(),this.element().addClass(l),this.setAria("autocomplete","inline")},_loadValue:function(){return o.Deferred().resolve(this.option("value"))},_displayGetterExpr:function(){return this.option("valueExpr")},_setSelectedItem:function(e){this.callBase(e),this.option("displayValue",this.option("value"))},_popupConfig:function(){return o.extend(this.callBase(),{closeOnOutsideClick:o.proxy(function(e){return!o(e.target).closest(this.element()).length},this)})},_renderDimensions:function(){this.callBase(),this._setPopupOption("width")},_popupWrapperClass:function(){return this.callBase()+" "+c},_listConfig:function(){return o.extend(this.callBase(),{pageLoadMode:"none",indicateLoading:!1})},_listItemClickHandler:function(e){var t=this._displayGetter(e.itemData);this.option("value",t),this.close()},_setListDataSource:function(){this._list&&(this._list.option("selectedItems",[]),this.callBase())},_refreshSelected:o.noop,_searchCanceled:function(){this.callBase(),this.close()},_dataSourceOptions:function(){return{paginate:!0}},_searchDataSource:function(){this._dataSource.pageSize(this.option("maxItemCount")),this.callBase(),this._clearFocusedItem()},_clearFocusedItem:function(){this._list&&(this._list.option("focusedElement",null),this._list.option("selectedIndex",-1))},_renderValueEventName:function(){return"input keyup"},_searchHandler:function(e){this._isControlKey(e.which||e.keyCode)||this.callBase(e)},_optionChanged:function(e){"maxItemCount"===e.name?this._searchDataSource():this.callBase(e)}});a("dxAutocomplete",d),i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(18),r=n(12),s=n(14),l=n(4),c=n(9),d=a.abstract,u="dx-calendar-other-view",h="dx-calendar-cell",p="dx-calendar-empty-cell",f="dx-calendar-today",_="dx-calendar-selected-date",g="dx-calendar-contoured-date",m=l.addNamespace(c.name,"dxCalendar"),v="dxDateValueKey",x=a.inherit({_getViewName:function(){return"base"},_getDefaultOptions:function(){return o.extend(this.callBase(),{date:new Date,focusStateEnabled:!1,cellTemplate:null,onCellClick:null,rowCount:3,colCount:4,allowValueSelection:!0})},_init:function(){this.callBase();var e=this.option("value");this.option("value",new Date(e)),this.option("value").valueOf()||this.option("value",new Date(0,0,0,0,0,0))},_render:function(){this.callBase(),this._renderImpl()},_renderImpl:function(){this._$table=o("<table>"),this.element().append(this._$table),this._renderBody(),this._renderContouredDate(),this._renderValue(),this._renderEvents()},_renderBody:function(){function e(e){var l=document.createElement("td"),c=h;t._isTodayCell(a)&&(c=c+" "+f),t._isDateOutOfRange(a)&&(c=c+" "+p),t._isOtherView(a)&&(c=c+" "+u),l.className=c,l.setAttribute("data-value",s.format(a,r.getShortDateFormat())),o.data(l,v,a),t.setAria({role:"option",label:t.getCellAriaLabel(a)},o(l)),i(_,l),n?n.render({text:t._getCellText(a),date:a,view:t._getViewName()},o(l),e):l.innerHTML=t._getCellText(a),a=t._getNextCellData(a)}this.$body=o("<tbody>").appendTo(this._$table);for(var t=this,n=this.option("cellTemplate"),i=this.option("rtl")?function(e,t){e.insertBefore(t,e.firstChild)}:function(e,t){e.appendChild(t)},a=this._getFirstCellData(),l=this.option("colCount"),c=0,d=this.option("rowCount");d>c;c++){var _=document.createElement("tr");this.$body.get(0).appendChild(_),this._iterateCells(l,e)}},_iterateCells:function(e,t){for(var n=0;e>n;)t(n),++n},_renderEvents:function(){this._createCellClickAction(),this._$table.off(m).on(m,"td",o.proxy(function(e){o(e.currentTarget).hasClass(p)||this._cellClickAction({jQueryEvent:e,value:o(e.currentTarget).data(v)})},this))},_createCellClickAction:function(e){this._cellClickAction=this._createActionByOption("onCellClick")},_isTodayCell:d,_isDateOutOfRange:d,_isOtherView:d,_getCellText:d,_getFirstCellData:d,_getNextCellData:d,_renderContouredDate:function(e){if(this.option("focusStateEnabled")){e=e||this.option("contouredDate");var t=this._$table.find("."+g),n=this._getCellByDate(e);t.removeClass(g),n.addClass(g)}},_dispose:function(){this._keyboardProcessor=void 0,this.callBase()},_changeValue:function(e){if(e){var t=this.option("value"),n=t?new Date(t):new Date;n.setDate(e.getDate()),n.setMonth(e.getMonth()),n.setFullYear(e.getFullYear()),n.setDate(e.getDate()),this.option("value",n)}else this.option("value",null)},_renderValue:function(){if(this.option("allowValueSelection")){var e=this.option("value"),t=this._getCellByDate(e);this._selectedCell&&this._selectedCell.removeClass(_),t.addClass(_),this._selectedCell=t}},getCellAriaLabel:function(e){return this._getCellText(e)},_getFirstAvailableDate:function(){var e=this.option("date"),t=this.option("min");return e=r.getFirstDateView(this._getViewName(),e),new Date(t&&t>e?t:e)},_getCellByDate:d,isBoundary:d,_optionChanged:function(e){var t=e.name;switch(t){case"value":this._renderValue();break;case"contouredDate":this._renderContouredDate(e.value);break;case"onCellClick":this._createCellClickAction();break;case"cellTemplate":this._invalidate();break;default:this.callBase(e)}}});i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(33),r=n(3),s=n(2),l=n(25),c=n(31),d=n(78),u=n(357),h=n(358),p=n(15),f=n(21),_=n(12),g=n(6),m=n(22),v=n(14),x=n(34),w=n(8),y="dx-calendar",b="dx-calendar-body",C="dx-calendar-cell",k="dx-calendar-footer",S="dx-calendar-today-button",T="dx-calendar-with-footer",I="dx-calendar-views-wrapper",D="dx-calendar-view",E="dx-state-focused",A=250,B=.6,M=1,O="dxDateValueKey",P={month:3,year:2,decade:1,century:0},R=c.inherit({_activeStateUnit:"."+C,_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,currentDate:new Date,value:null,min:new Date(1e3,0),max:new Date(3e3,0),firstDayOfWeek:void 0,zoomLevel:"month",maxZoomLevel:"month",minZoomLevel:"century",showTodayButton:!1,cellTemplate:"cell",onCellClick:null,onContouredChanged:null,hasFocus:function(e){return e.hasClass(E)}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===g.real().deviceType&&!g.isSimulator()},options:{focusStateEnabled:!0}}])},_supportedKeys:function(){return o.extend(this.callBase(),{rightArrow:function(e){e.preventDefault(),e.ctrlKey?this._waitRenderView(1):this._moveCurrentDate(1*this._getRtlCorrection())},leftArrow:function(e){e.preventDefault(),e.ctrlKey?this._waitRenderView(-1):this._moveCurrentDate(-1*this._getRtlCorrection())},upArrow:function(e){if(e.preventDefault(),e.ctrlKey)this._navigateUp();else{if(m.isAnimating(this._view.element()))return;this._moveCurrentDate(-1*this._view.option("colCount"))}},downArrow:function(e){if(e.preventDefault(),e.ctrlKey)this._navigateDown();else{if(m.isAnimating(this._view.element()))return;this._moveCurrentDate(1*this._view.option("colCount"))}},home:function(e){e.preventDefault();var t=this.option("zoomLevel"),n=this.option("currentDate"),i=this._dateOption("min"),o=_.sameView(t,n,i)?i:_.getViewFirstCellDate(t,n);this.option("currentDate",o)},end:function(e){e.preventDefault();var t=this.option("zoomLevel"),n=this.option("currentDate"),i=this._dateOption("max"),o=_.sameView(t,n,i)?i:_.getViewLastCellDate(t,n);this.option("currentDate",o)},pageUp:function(e){e.preventDefault(),this._waitRenderView(-1)},pageDown:function(e){e.preventDefault(),this._waitRenderView(1)},tab:o.noop,enter:function(e){if(this._isMaxZoomLevel()){var t=this._updateTimeComponent(this.option("currentDate"));this._dateOption("value",t)}else this._navigateDown()}})},_getSerializationFormat:function(){var e=this.option("value");if(s.isNumber(e))return"number";if(s.isString(e))return _.getDateSerializationFormat(e)},_convertToDate:function(e){var t=this._getSerializationFormat(),n=_.deserializeDate(e,t,o.proxy(v.parse,v));return n},_dateOption:function(e,t){if(1===arguments.length)return this._convertToDate(this.option(e));var n=this._getSerializationFormat();this.option(e,_.serializeDate(t,n,o.proxy(v.format,v)))},_moveCurrentDate:function(e){var t=new Date(this.option("currentDate")),n=new Date(t),i=this.option("zoomLevel");switch(i){case"month":n.setDate(t.getDate()+e);break;case"year":n.setMonth(t.getMonth()+e);break;case"decade":n.setFullYear(t.getFullYear()+e);break;case"century":n.setFullYear(t.getFullYear()+10*e)}var o=2*e/Math.abs(e);Math.abs(e)>1&&!_.sameView(i,t,n)&&("decade"===i&&n.setFullYear(t.getFullYear()+e-o),"century"===i&&n.setFullYear(t.getFullYear()+10*(e-o))),this.option("currentDate",n)},_init:function(){this.callBase(),this._correctZoomLevel(),this._initCurrentDate(),this._initActions()},_correctZoomLevel:function(){var e=this.option("minZoomLevel"),t=this.option("maxZoomLevel"),n=this.option("zoomLevel");P[t]<P[e]||(P[n]>P[t]?this.option("zoomLevel",t):P[n]<P[e]&&this.option("zoomLevel",e))},_initCurrentDate:function(){var e=this._getNormalizedDate(this._dateOption("value"))||this._getNormalizedDate(this.option("currentDate"));this.option("currentDate",e)},_getNormalizedDate:function(e){return e=_.normalizeDate(e,this._getMinDate(),this._getMaxDate()),s.isDefined(e)?new Date(e):e},_initActions:function(){this._cellClickAction=this._createActionByOption("onCellClick"),this._onContouredChanged=this._createActionByOption("onContouredChanged")},_updateCurrentDate:function(e){m.isAnimating(this._$viewsWrapper)&&m.stop(this._$viewsWrapper,!0);var t=this._getMinDate(),n=this._getMaxDate();if(t>n)return void this.option("currentDate",new Date);var i=this._getNormalizedDate(e);if(e.getTime()!==i.getTime())return void this.option("currentDate",new Date(i));var o=this._getViewsOffset(this._view.option("date"),i);0!==o&&!this._isMaxZoomLevel()&&this._isOtherViewCellClicked&&(o=0),this._view&&0!==o&&!this._suppressNavigation?this._navigate(o,i):(this._renderNavigator(),this._setViewContoured(i),this._updateAriaId(i))},_setViewContoured:function(e){this.option("hasFocus")(this._focusTarget())&&this._view.option("contouredDate",e)},_getMinDate:function(){return this.min?this.min:(this.min=this._dateOption("min")||new Date(1e3,0),this.min)},_getMaxDate:function(){return this.max?this.max:(this.max=this._dateOption("max")||new Date(3e3,0),this.max)},_getViewsOffset:function(e,t){var n=this.option("zoomLevel");if("month"===n)return this._getMonthsOffset(e,t);var i;switch(n){case"century":i=100;break;case"decade":i=10;break;default:i=1}return parseInt(t.getFullYear()/i)-parseInt(e.getFullYear()/i)},_getMonthsOffset:function(e,t){var n=t.getFullYear()-e.getFullYear(),i=t.getMonth()-e.getMonth();return 12*n+i},_waitRenderView:function(e){if(!this._alreadyViewRender){this._alreadyViewRender=!0;var t=this._getDateByOffset(e*this._getRtlCorrection());this.option("currentDate",t),setTimeout(o.proxy(function(){this._alreadyViewRender=!1},this))}},_getRtlCorrection:function(){return this.option("rtlEnabled")?-1:1},_getDateByOffset:function(e,t){t=new Date(t||this.option("currentDate"));var n=t.getDate(),i=_.getDifferenceInMonth(this.option("zoomLevel"))*e;t.setDate(1),t.setMonth(t.getMonth()+i);var o=_.getLastMonthDate(t).getDate();return t.setDate(n>o?o:n),t},_focusTarget:function(){return this.element()},_render:function(){this.callBase(),this.element().addClass(y),this._renderBody(),this.element().append(this.$body),this._renderViews(),this._renderNavigator(),this._renderSwipeable(),this._renderFooter(),this.setAria({role:"listbox",label:w.format("dxCalendar-ariaWidgetName")}),this._updateAriaSelected(),this._updateAriaId(),this._setViewContoured(this.option("currentDate")),this.element().append(this._navigator.element())},_renderBody:function(){this._$viewsWrapper||(this.$body=o("<div>").addClass(b),this._$viewsWrapper=o("<div>").addClass(I),this.$body.append(this._$viewsWrapper))},_renderViews:function(){this.element().addClass(D+"-"+this.option("zoomLevel"));var e=this.option("currentDate");this._view=this._renderSpecificView(e),this._view.option("_keyboardProcessor",this._viewKeyboardProcessor);var t=this._getDateByOffset(-1,e);this._beforeView=this._isViewAvailable(t)?this._renderSpecificView(t):null;var n=this._getDateByOffset(1,e);this._afterView=this._isViewAvailable(n)?this._renderSpecificView(n):null,this._translateViews()},_renderSpecificView:function(e){var t=h[this.option("zoomLevel")],n=o("<div>").appendTo(this._$viewsWrapper),i=this._viewConfig(e);return new t(n,i)},_viewConfig:function(e){return{date:e,min:this._getMinDate(),max:this._getMaxDate(),firstDayOfWeek:this.option("firstDayOfWeek"),value:this._dateOption("value"),rtl:this.option("rtlEnabled"),disabled:this.option("disabled")||x().designMode,tabIndex:void 0,focusStateEnabled:this.option("focusStateEnabled"),hoverStateEnabled:this.option("hoverStateEnabled"),onCellClick:o.proxy(this._cellClickHandler,this),cellTemplate:this._getTemplateByOption("cellTemplate"),allowValueSelection:this._isMaxZoomLevel()}},_isViewAvailable:function(e){var t=this.option("zoomLevel"),n=_.getViewMinBoundaryDate(t,this._getMinDate()),i=_.getViewMaxBoundaryDate(t,this._getMaxDate());
return _.dateInRange(e,n,i)},_translateViews:function(){p.move(this._view.element(),{left:0,top:0}),this._beforeView&&p.move(this._beforeView.element(),{left:this._getViewPosition(-1),top:0}),this._afterView&&p.move(this._afterView.element(),{left:this._getViewPosition(1),top:0})},_getViewPosition:function(e){var t=!this.option("rtlEnabled")||f.msie&&"8"!==f.version[0]?1:-1;return 100*e*t+"%"},_cellClickHandler:function(e){var t=this.option("zoomLevel"),n=_.getViewDown(t),i=this._isMaxZoomLevel();if(n&&!i)this._navigateDown(e.jQueryEvent.currentTarget);else{var o=this._updateTimeComponent(e.value);this._dateOption("value",o),this._cellClickAction(e)}},_updateTimeComponent:function(e){var t=new Date(e),n=this._dateOption("value");return n&&(t.setHours(n.getHours()),t.setMinutes(n.getMinutes()),t.setSeconds(n.getSeconds()),t.setMilliseconds(n.getMilliseconds())),t},_isMaxZoomLevel:function(){return this.option("zoomLevel")===this.option("maxZoomLevel")},_navigateDown:function(e){var t=this.option("zoomLevel");if(!this._isMaxZoomLevel()){var n=_.getViewDown(t);if(n){var i=this._view.option("contouredDate")||this._view.option("date");e&&(i=o(e).data(O)),this._isOtherViewCellClicked=!0,this.option("currentDate",i),this.option("zoomLevel",n),this._isOtherViewCellClicked=!1,this._renderNavigator(),this._animateShowView(),this._setViewContoured(this._getNormalizedDate(i))}}},_renderNavigator:function(){this._navigator||(this._navigator=new u(o("<div>"),this._navigatorConfig())),this._navigator.option("text",this._view.getNavigatorCaption()),this._updateButtonsVisibility()},_navigatorConfig:function(){return{text:this._view.getNavigatorCaption(),onClick:o.proxy(this._navigatorClickHandler,this),onCaptionClick:o.proxy(this._navigateUp,this),rtlEnabled:this.option("rtlEnabled")}},_navigatorClickHandler:function(e){var t=this._getDateByOffset(e.direction,this.option("currentDate"));this.option("currentDate",t),this._updateNavigatorCaption(-e.direction*this._getRtlCorrection())},_navigateUp:function(){var e=this.option("zoomLevel"),t=_.getViewUp(e);if(t&&!this._isMinZoomLevel(e)){var n=this._view.option("contouredDate");this.option("zoomLevel",t),this.option("currentDate",n||this._view.option("date")),this._renderNavigator(),this._animateShowView().done(o.proxy(function(){this._setViewContoured(n)},this))}},_isMinZoomLevel:function(e){var t=this._getMinDate(),n=this._getMaxDate();return _.sameView(e,t,n)||this.option("minZoomLevel")===e},_updateButtonsVisibility:function(){this._navigator.toggleButton("next",!s.isDefined(this._getRequiredView("next"))),this._navigator.toggleButton("prev",!s.isDefined(this._getRequiredView("prev")))},_renderSwipeable:function(){this._swipeable||(this._swipeable=this._createComponent(this.element(),d,{onStart:o.proxy(this._swipeStartHandler,this),onUpdated:o.proxy(this._swipeUpdateHandler,this),onEnd:o.proxy(this._swipeEndHandler,this),itemSizeFunc:o.proxy(this._viewWidth,this)}))},_swipeStartHandler:function(e){m.stop(this._$viewsWrapper,!0),e.jQueryEvent.maxLeftOffset=this._getRequiredView("next")?1:0,e.jQueryEvent.maxRightOffset=this._getRequiredView("prev")?1:0},_getRequiredView:function(e){var t,n=this.option("rtlEnabled");return"next"===e?t=n?this._beforeView:this._afterView:"prev"===e&&(t=n?this._afterView:this._beforeView),t},_swipeUpdateHandler:function(e){var t=e.jQueryEvent.offset;p.move(this._$viewsWrapper,{left:t*this._viewWidth(),top:0}),this._updateNavigatorCaption(t)},_swipeEndHandler:function(e){var t=e.jQueryEvent.targetOffset,n=t?t/Math.abs(t):0;if(0===n)return void this._animateWrapper(0,A);var i=this._getDateByOffset(-n*this._getRtlCorrection());this._isDateInInvalidRange(i)&&(i=n>=0?new Date(this._getMinDate()):new Date(this._getMaxDate())),this.option("currentDate",i)},_viewWidth:function(){return this._viewWidthValue||(this._viewWidthValue=this.element().width()),this._viewWidthValue},_updateNavigatorCaption:function(e){e*=this._getRtlCorrection();var t=this._view;e>.5&&this._beforeView?t=this._beforeView:-.5>e&&this._afterView&&(t=this._afterView),this._navigator.option("text",t.getNavigatorCaption())},_isDateInInvalidRange:function(e){if(!this._view.isBoundary(e)){var t=this._getMinDate(),n=this._getMaxDate(),i=_.normalizeDate(e,t,n);return i===t||i===n}},_renderFooter:function(){var e=this.option("showTodayButton");if(e){var t=this._createComponent(o("<a>"),l,{focusStateEnabled:!1,text:w.format("dxCalendar-todayButtonText"),onClick:o.proxy(function(){this._toTodayView()},this),_templates:{}}).element().addClass(S);this._$footer=o("<div>").addClass(k).append(t),this.element().append(this._$footer)}this.element().toggleClass(T,e)},_animateShowView:function(){return m.stop(this._view.element(),!0),this._popAnimationView(this._view,B,M,A).promise()},_popAnimationView:function(e,t,n,i){return m.animate(e.element(),{type:"pop",from:{scale:t,opacity:t},to:{scale:n,opacity:n},duration:i})},_navigate:function(e,t){if(0!==e&&1!==Math.abs(e)&&this._isViewAvailable(t)){var n=this._renderSpecificView(t);e>0?(this._afterView&&this._afterView.element().remove(),this._afterView=n):(this._beforeView&&this._beforeView.element().remove(),this._beforeView=n),this._translateViews()}var i=this._getRtlCorrection(),a=e>0?1:0>e?-1:0,r=-i*a*this._viewWidth(),s=this._$viewsWrapper.position().left;s!==r&&(this._preventViewChangeAnimation?this._wrapperAnimationEndHandler(e,t):this._animateWrapper(r,A).done(o.proxy(this._wrapperAnimationEndHandler,this,e,t)))},_animateWrapper:function(e,t){return m.animate(this._$viewsWrapper,{type:"slide",from:{left:this._$viewsWrapper.position().left},to:{left:e},duration:t})},_toTodayView:function(){var e=new Date;return this._isMaxZoomLevel()?void this._dateOption("value",e):(this._preventViewChangeAnimation=!0,this.option("zoomLevel",this.option("maxZoomLevel")),this._dateOption("value",e),this._animateShowView(),void(this._preventViewChangeAnimation=!1))},_wrapperAnimationEndHandler:function(e,t){this._rearrangeViews(e),this._translateViews(),this._resetLocation(),this._renderNavigator(),this._setViewContoured(t),this._updateAriaId(t,this.option(""))},_rearrangeViews:function(e){if(0!==e){var t,n,i;if(0>e?(t=1,n="_beforeView",i="_afterView"):(t=-1,n="_afterView",i="_beforeView"),this[n]){var o=this[n].option("date");this[i]&&this[i].element().remove(),e===t?this[i]=this._view:(this[i]=this._renderSpecificView(this._getDateByOffset(t,o)),this._view.element().remove()),this._view=this[n];var a=this._getDateByOffset(-t,o);this[n]=this._isViewAvailable(a)?this._renderSpecificView(a):null}}},_resetLocation:function(){p.move(this._$viewsWrapper,{left:0,top:0})},_clean:function(){this.callBase(),this._clearViewWidthCache(),delete this._$viewsWrapper,delete this._navigator,delete this._$footer},_clearViewWidthCache:function(){delete this._viewWidthValue},_disposeViews:function(){this._view.element().remove(),this._beforeView&&this._beforeView.element().remove(),this._afterView&&this._afterView.element().remove(),delete this._view,delete this._beforeView,delete this._afterView},_refreshViews:function(){this._disposeViews(),this._renderViews()},_visibilityChanged:function(){this._translateViews()},_focusInHandler:function(){this.callBase.apply(this,arguments),this._view.option("contouredDate",this.option("currentDate"))},_focusOutHandler:function(){this.callBase.apply(this,arguments),this._view.option("contouredDate",null)},_updateViewsValue:function(e){var t=e?new Date(e):null;this._view.option("value",t),this._beforeView&&this._beforeView.option("value",t),this._afterView&&this._afterView.option("value",t)},_updateAriaSelected:function(e,t){e=e||this._dateOption("value");var n=this._view._getCellByDate(t),i=this._view._getCellByDate(e);this.setAria("selected",void 0,n),this.setAria("selected",!0,i),e&&this.option("currentDate").getTime()===e.getTime()&&this._updateAriaId(e,t)},_updateAriaId:function(e,t){e=e||this.option("currentDate");var n=new a,i=this._view._getCellByDate(e);this.setAria("id",n,i),this.setAria("activedescendant",n),this._onContouredChanged(n)},_suppressingNavigation:function(e,t){this._suppressNavigation=!0,e.apply(this,t),delete this._suppressNavigation},_optionChanged:function(e){var t=e.value,n=e.previousValue;switch(e.name){case"width":this.callBase(e),this._clearViewWidthCache();break;case"min":case"max":this.min=void 0,this.max=void 0,this._suppressingNavigation(this._updateCurrentDate,[this.option("currentDate")]),this._refreshViews(),this._renderNavigator();break;case"firstDayOfWeek":this._refreshViews(),this._updateButtonsVisibility();break;case"currentDate":this.setAria("id",void 0,this._view._getCellByDate(n)),this._updateCurrentDate(t);break;case"zoomLevel":this.element().removeClass(D+"-"+n),this._correctZoomLevel(),this._refreshViews(),this._renderNavigator(),this._updateAriaId();break;case"minZoomLevel":case"maxZoomLevel":this._correctZoomLevel(),this._updateButtonsVisibility();break;case"value":t=this._convertToDate(t),n=this._convertToDate(n),this._updateAriaSelected(t,n),this.option("currentDate",s.isDefined(t)?new Date(t):new Date),this._updateViewsValue(t),this.callBase(e);break;case"disabled":this._view.option("disabled",t),this.callBase(e);break;case"showTodayButton":this._invalidate();break;case"onCellClick":this._view.option("onCellClick",t);break;case"onContouredChanged":this._onContouredChanged=this._createActionByOption("onContouredChanged");break;case"cellTemplate":this._invalidate();break;case"hasFocus":break;default:this.callBase(e)}}});r("dxCalendar",R),i.exports=R}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(18),r=n(25),s="dx-calendar-navigator",l="dx-calendar-navigator-previous-month",c="dx-calendar-navigator-next-month",d="dx-calendar-navigator-previous-view",u="dx-calendar-navigator-next-view",h="dx-calendar-disabled-navigator-link",p="dx-calendar-caption-button",f=a.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{onClick:null,onCaptionClick:null,text:""})},_init:function(){this.callBase(),this._initActions()},_initActions:function(){this._clickAction=this._createActionByOption("onClick"),this._captionClickAction=this._createActionByOption("onCaptionClick")},_render:function(){this.callBase(),this.element().addClass(s),this._renderButtons(),this._renderCaption()},_renderButtons:function(){var e=this,t=this.option("rtlEnabled")?-1:1;this._prevButton=this._createComponent(o("<a>"),r,{focusStateEnabled:!1,icon:"chevronleft",onClick:function(n){e._clickAction({direction:-t,jQueryEvent:n})},_templates:{}});var n=this._prevButton.element().addClass(d).addClass(l);this._nextButton=this._createComponent(o("<a>"),r,{focusStateEnabled:!1,icon:"chevronright",onClick:function(n){e._clickAction({direction:t,jQueryEvent:n})},_templates:{}});var i=this._nextButton.element().addClass(u).addClass(c);this._caption=this._createComponent(o("<a>").addClass(p),r,{focusStateEnabled:!1,onClick:function(t){e._captionClickAction({jQueryEvent:t})},_templates:{}});var a=this._caption.element();this.element().append(n,a,i)},_renderCaption:function(e){this._caption.option("text",this.option("text"))},toggleButton:function(e,t){var n="_"+e+"Button",i=this[n];i&&(i.option("disabled",t),i.element().toggleClass(h,t))},_optionChanged:function(e){var t=e.value;switch(e.name){case"text":this._renderCaption(t);break;default:this.callBase(e)}}});i.exports=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(355),r=n(12),s=n(14),l="dx-calendar-other-month",c="dx-calendar-other-view",d={month:a.inherit({_getViewName:function(){return"month"},_getDefaultOptions:function(){return o.extend(this.callBase(),{firstDayOfWeek:void 0,rowCount:6,colCount:7})},_renderImpl:function(){this.callBase(),this._renderHeader()},_renderBody:function(){this.callBase(),this._$table.find("."+c).addClass(l)},_renderFocusTarget:o.noop,getCellAriaLabel:function(e){return s.format(e,"longdate")},_renderHeader:function(){var e=this,t=o("<thead>");this._$table.prepend(t);var n=o("<tr>");t.append(n);var i=this.option("rtl")?function(e,t){e.prepend(t)}:function(e,t){e.append(t)};this._iterateCells(this.option("colCount"),function(t){var a=o("<th>").text(e._getDayCaption(e._getFirstDayOfWeek()+t));i(n,a)})},getNavigatorCaption:function(){return s.format(this.option("date"),"monthandyear")},_isTodayCell:function(e){var t=new Date;return r.sameMonthAndYear(e,t)&&e.getDate()===t.getDate()},_isDateOutOfRange:function(e){var t=this.option("min"),n=this.option("max");return!r.dateInRange(e,t,n,"date")},_isOtherView:function(e){return e.getMonth()!==this.option("date").getMonth()},_getCellText:function(e){return e.getDate()},_getDayCaption:function(e){var t=this.option("colCount");return s.getDayNames("abbreviated")[e%t]},_getFirstCellData:function(){var e=r.getFirstMonthDate(this.option("date")),t=this._getFirstDayOfWeek()-e.getDay(),n=this.option("colCount");return t>=0&&(t-=n),e.setDate(e.getDate()+t),e},_getNextCellData:function(e){return e=new Date(e),e.setDate(e.getDate()+1),e},_getFirstDayOfWeek:function(){return this.option("firstDayOfWeek")||s.firstDayOfWeekIndex()},_getCellByDate:function(e){return this._$table.find("td[data-value='"+s.format(e,r.getShortDateFormat())+"']")},isBoundary:function(e){return r.sameMonthAndYear(e,this.option("min"))||r.sameMonthAndYear(e,this.option("max"))}}),year:a.inherit({_getViewName:function(){return"year"},_isTodayCell:function(e){return r.sameMonthAndYear(e,new Date)},_isDateOutOfRange:function(e){return!r.dateInRange(e,r.getFirstMonthDate(this.option("min")),r.getLastMonthDate(this.option("max")))},_isOtherView:function(e){return!1},_getCellText:function(e){return s.getMonthNames()[e.getMonth()].slice(0,3)},_getFirstCellData:function(){var e=new Date(this.option("date"));return e.setDate(1),e.setMonth(0),e},_getNextCellData:function(e){return e=new Date(e),e.setMonth(e.getMonth()+1),e},_getCellByDate:function(e){var t=new Date(e);return t.setDate(1),this._$table.find("td[data-value='"+s.format(t,r.getShortDateFormat())+"']")},getCellAriaLabel:function(e){return s.format(e,"monthandyear")},getNavigatorCaption:function(){return this.option("date").getFullYear()},isBoundary:function(e){return r.sameYear(e,this.option("min"))||r.sameYear(e,this.option("max"))}}),decade:a.inherit({_getViewName:function(){return"decade"},_isTodayCell:function(e){return r.sameYear(e,new Date)},_isDateOutOfRange:function(e){var t=this.option("min"),n=this.option("max");return!r.dateInRange(e.getFullYear(),t&&t.getFullYear(),n&&n.getFullYear())},_isOtherView:function(e){var t=new Date(e);return t.setMonth(1),!r.sameDecade(t,this.option("date"))},_getCellText:function(e){return e.getFullYear()},_getFirstCellData:function(){var e=r.getFirstYearInDecade(this.option("date"))-1;return new Date(e,0,1)},_getNextCellData:function(e){return e=new Date(e),e.setFullYear(e.getFullYear()+1),e},getNavigatorCaption:function(){var e=r.getFirstYearInDecade(this.option("date"));return e+"-"+(e+9)},_isValueOnCurrentView:function(e,t){return r.sameDecade(e,t)},_getCellByDate:function(e){var t=new Date(e);return t.setDate(1),t.setMonth(0),this._$table.find("td[data-value='"+s.format(t,r.getShortDateFormat())+"']")},isBoundary:function(e){return r.sameDecade(e,this.option("min"))||r.sameDecade(e,this.option("max"))}}),century:a.inherit({_getViewName:function(){return"century"},_isTodayCell:function(e){return r.sameDecade(e,new Date)},_isDateOutOfRange:function(e){var t=r.getFirstYearInDecade(e),n=r.getFirstYearInDecade(this.option("min")),i=r.getFirstYearInDecade(this.option("max"));return!r.dateInRange(t,n,i)},_isOtherView:function(e){var t=new Date(e);return t.setMonth(1),!r.sameCentury(t,this.option("date"))},_getCellText:function(e){var t=e.getFullYear();return t+" - "+(t+9)},_getFirstCellData:function(e,t){var n=r.getFirstDecadeInCentury(this.option("date"))-10;return new Date(n,0,1)},_getNextCellData:function(e){return e=new Date(e),e.setFullYear(e.getFullYear()+10),e},_getCellByDate:function(e){var t=new Date(e);return t.setDate(1),t.setMonth(0),t.setFullYear(r.getFirstYearInDecade(t)),this._$table.find("td[data-value='"+s.format(t,r.getShortDateFormat())+"']")},getNavigatorCaption:function(){var e=r.getFirstDecadeInCentury(this.option("date"));return e+"-"+(e+99)},isBoundary:function(e){return r.sameCentury(e,this.option("min"))||r.sameCentury(e,this.option("max"))}})};i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(360)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(56),r=n(361),s=n(3),l=n(150),c="dx-colorbox",d=c+"-input",u=d+"-container",h=c+"-color-result-preview",p=c+"-color-is-not-defined",f=c+"-overlay",_="dx-colorview-container-cell",g="dx-colorview-button-cell",m="dx-colorview-buttons-container",v="dx-colorview-apply-button",x="dx-colorview-cancel-button",w=r.prototype,y={makeTransparentBackground:o.proxy(w._makeTransparentBackground,w),makeRgba:o.proxy(w._makeRgba,w)},b=l.inherit({_supportedKeys:function(){var e=function(e){return e.stopPropagation(),this.option("opened")?(e.preventDefault(),!0):void 0},t=function(e){return this.option("opened")?e.altKey?(this.close(),!1):!0:(e.preventDefault(),!1)},n=function(e){return this.option("opened")||e.altKey?!this.option("opened")&&e.altKey?(this._validatedOpening(),!1):!0:(e.preventDefault(),!1)};return o.extend(this.callBase(),{tab:function(e){this.option("opened")&&(e.preventDefault(),this._colorView._rgbInputs[0].focus())},enter:this._enterKeyHandler,leftArrow:e,rightArrow:e,upArrow:t,downArrow:n})},_getDefaultOptions:function(){return o.extend(this.callBase(),{editAlphaChannel:!1,applyValueMode:"useButtons",keyStep:1,onApplyButtonClick:null,onCancelButtonClick:null,buttonsLocation:"bottom after"})},_popupConfig:function(){return o.extend(this.callBase(),{height:"auto",width:""})},_contentReadyHandler:function(){this._createColorView(),this._addPopupBottomClasses()},_addPopupBottomClasses:function(){var e=this._popup.bottomToolbar();e&&(e.addClass(_).addClass(g).find(".dx-toolbar-items-container").addClass(m),e.find(".dx-popup-done").addClass(v),e.find(".dx-popup-cancel").addClass(x))},_createColorView:function(){this._popup.overlayContent().addClass(f);var e=o("<div>").appendTo(this._popup.content());this._colorView=this._createComponent(e,r,this._colorViewConfig()),this._colorView._enterKeyHandler=o.proxy(this._enterKeyHandler,this),e.on("focus",o.proxy(function(){this.focus()},this))},_colorViewConfig:function(){var e=this;return{value:e.option("value"),editAlphaChannel:e.option("editAlphaChannel"),applyValueMode:e.option("applyValueMode"),focusStateEnabled:e.option("focusStateEnabled"),onValueChanged:function(t){var n=t.value;e.option("value",n),n&&y.makeTransparentBackground(e._$colorResultPreview,n)},_keyboardProcessor:e._colorViewProcessor}},_enterKeyHandler:function(e){var t=this._input().val(),n=this.option("editAlphaChannel")?y.makeRgba(this.option("value")):this.option("value"),i=new a(t);return i.colorIsInvalid&&""!==t?void this._input().val(n):t&&t!==n?(this._applyColorFromInput(t),this.option("value",this.option("editAlphaChannel")?y.makeRgba(t):t),!1):(this._colorView&&"useButtons"===this.option("applyValueMode")&&this._colorView.applyColor(),this.option("opened")&&(e.preventDefault(),this.close()),!1)},_applyButtonHandler:function(){this._colorView.applyColor(),o.isFunction(this.option("onApplyButtonClick"))&&this.option("onApplyButtonClick")(),this.callBase()},_cancelButtonHandler:function(){this._colorView.cancelColor(),o.isFunction(this.option("onCancelButtonClick"))&&this.option("onCancelButtonClick")(),this.callBase()},_attachChildKeyboardEvents:function(){return this._colorViewProcessor=this._keyboardProcessor.attachChildProcessor(),this._colorView?void this._colorView.option("_keyboardProcessor",this._colorViewProcessor):void 0},_init:function(){this.callBase()},_render:function(){this.callBase(),this.element().addClass(c)},_renderInput:function(){this.callBase(),this._input().addClass(d),this._renderColorPreview()},_renderColorPreview:function(){this.element().wrapInner(o("<div/>").addClass(u)),this._$colorBoxInputContainer=this.element().children().eq(0),this._$colorResultPreview=o("<div>",{"class":h,appendTo:this._$colorBoxInputContainer}),this.option("value")?y.makeTransparentBackground(this._$colorResultPreview,this.option("value")):this._$colorBoxInputContainer.addClass(p)},_renderValue:function(){var e=this.option("value");this.option("text",this.option("editAlphaChannel")?y.makeRgba(e):e),this.callBase()},_valueChangeEventHandler:function(e){var t=this._input().val();t&&(t=this._applyColorFromInput(t),this._colorView&&(this._colorView._setCurrentColor(t),this._colorView._refreshMarkup())),this.callBase(e,t)},_applyColorFromInput:function(e){var t=new a(e);return t.colorIsInvalid&&(e=this.option("value"),this._input().val(e)),e},_optionChanged:function(e){var t=e.value,n=e.name;switch(n){case"value":this._$colorBoxInputContainer.toggleClass(p,!t),t?y.makeTransparentBackground(this._$colorResultPreview,t):this._$colorResultPreview.removeAttr("style"),this._colorView&&this._colorView.option("value",t),this.callBase(e);break;case"applyButtonText":case"cancelButtonText":this.callBase(e),this._popup&&this._addPopupBottomClasses();break;case"editAlphaChannel":case"onCancelButtonClick":case"onApplyButtonClick":case"keyStep":this._colorView&&this._colorView.option(n,t);break;case"applyValueMode":this._colorView&&this._colorView.option(n,t),this.callBase(e);break;case"rtlEnabled":this._colorView&&this._colorView.option(n,t),this.callBase(e);break;default:this.callBase(e)}}});s("dxColorBox",b),i.exports=b}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(21),s=n(56),l=n(8),c=n(6),d=n(3),u=n(31),h=n(87),p=n(94),f=n(262),_=n(9),g="dx-colorview",m="dx-colorview-container",v="dx-colorview-container-row",x="dx-colorview-container-cell",w="dx-colorview-palette",y="dx-colorview-palette-cell",b="dx-colorview-palette-handle",C="dx-colorview-palette-gradient",k="dx-colorview-palette-gradient-white",S="dx-colorview-palette-gradient-black",T="dx-colorview-hue-scale",I="dx-colorview-hue-scale-cell",D="dx-colorview-hue-scale-handle",E="dx-colorview-hue-scale-wrapper",A="dx-colorview-controls-container",B="dx-colorview-label-red",M="dx-colorview-label-green",O="dx-colorview-label-blue",P="dx-colorview-label-hex",R="dx-colorview-alpha-channel-scale",V="dx-colorview-alpha-channel-row",F="dx-colorview-alpha-channel-wrapper",L="dx-colorview-alpha-channel-label",H="dx-colorview-alpha-channel-handle",z="dx-colorview-alpha-channel-cell",N="dx-colorview-alpha-channel-border",W="dx-colorview-color-preview",G="dx-colorview-color-preview-container",$="dx-colorview-color-preview-container-inner",q="dx-colorview-color-preview-color-current",j="dx-colorview-color-preview-color-new",U=u.inherit({_supportedKeys:function(){var e=this.option("rtlEnabled"),t=this,n=function(e){var n=100/t._paletteWidth;return e.shiftKey&&(n*=t.option("keyStep")),n=n>1?n:1,Math.round(n)},i=function(e){var n=t._currentColor.hsv.s+e;n>100?n=100:0>n&&(n=0),t._currentColor.hsv.s=n,l()},r=function(e){var n=100/t._paletteHeight;return e.shiftKey&&(n*=t.option("keyStep")),n=n>1?n:1,Math.round(n)},s=function(e){var n=t._currentColor.hsv.v+e;n>100?n=100:0>n&&(n=0),t._currentColor.hsv.v=n,l()},l=function(){t._placePaletteHandle(),t._updateColorFromHsv(t._currentColor.hsv.h,t._currentColor.hsv.s,t._currentColor.hsv.v)},c=function(e){var n=360/(t._hueScaleWrapperHeight-t._hueScaleHandleHeight);return e.shiftKey&&(n*=t.option("keyStep")),n=n>1?n:1},d=function(e){t._currentColor.hsv.h+=e,t._placeHueScaleHandle();var n=a.locate(t._$hueScaleHandle);t._updateColorHue(n.top+t._hueScaleHandleHeight/2)},u=function(n){var i=1/t._alphaChannelScaleWorkWidth;return n.shiftKey&&(i*=t.option("keyStep")),i=i>.01?i:.01,i=e?-i:i},h=function(e){t._currentColor.a+=e,t._placeAlphaChannelHandle();var n=a.locate(t._$alphaChannelHandle);t._calculateColorTransparencyByScaleWidth(n.left+t._alphaChannelHandleWidth/2)};return o.extend(this.callBase(),{upArrow:function(e){e.preventDefault(),e.stopPropagation(),e.ctrlKey?this._currentColor.hsv.h<=360&&!this._isTopColorHue&&d(c(e)):this._currentColor.hsv.v<100&&s(r(e))},downArrow:function(e){e.preventDefault(),e.stopPropagation(),e.ctrlKey?this._currentColor.hsv.h>=0&&(this._isTopColorHue&&(this._currentColor.hsv.h=360),d(-c(e))):this._currentColor.hsv.v>0&&s(-r(e))},rightArrow:function(t){t.preventDefault(),t.stopPropagation(),t.ctrlKey?(e?this._currentColor.a<1:this._currentColor.a>0&&this.option("editAlphaChannel"))&&h(-u(t)):this._currentColor.hsv.s<100&&i(n(t))},leftArrow:function(t){t.preventDefault(),t.stopPropagation(),t.ctrlKey?(e?this._currentColor.a>0:this._currentColor.a<1&&this.option("editAlphaChannel"))&&h(u(t)):this._currentColor.hsv.s>0&&i(-n(t))},enter:function(e){"useButtons"===this.option("applyValueMode")&&this.applyColor()}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{value:null,editAlphaChannel:!1,applyValueMode:"useButtons",keyStep:1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===c.real().deviceType&&!c.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this._initColorAndOpacity()},_initColorAndOpacity:function(){this._setCurrentColor(this.option("value"))},_setCurrentColor:function(e){e=e||"#000000";var t=new s(e);t.colorIsInvalid?this.option("value",this._currentColor.baseColor):this._currentColor&&this._makeRgba(this._currentColor)===this._makeRgba(t)||(this._currentColor=t,this._$currentColor&&this._makeTransparentBackground(this._$currentColor,t))},_render:function(){this.callBase(),this.element().addClass(g),this._renderColorPickerContainer()},_enterKeyHandler:function(){"useButtons"===this.option("applyValueMode")&&this.applyColor()},_makeTransparentBackground:function(e,t){t instanceof s||(t=new s(t)),r.msie&&"8.0"===r.version?e.css({background:t.toHex(),filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity="+100*t.a+")"}):e.css("backgroundColor",this._makeRgba(t))},_makeRgba:function(e){return e instanceof s||(e=new s(e)),"rgba("+[e.r,e.g,e.b,e.a].join(", ")+")"},_renderValue:function(){this.callBase(this.option("editAlphaChannel")?this._makeRgba(this._currentColor):this.option("value"))},_renderColorPickerContainer:function(){var e=this.element();this._$colorPickerContainer=o("<div>",{"class":m,appendTo:e}),this._renderHtmlRows(),this._renderPalette(),this._renderHueScale(),this._renderControlsContainer(),this._renderControls(),this._renderAlphaChannelElements()},_renderHtmlRows:function(e){var t=this._$colorPickerContainer.find("."+v),n=t.length,i=this._calculateRowsCount(),a=n-i;if(a>0){var r=this._calculateRemovedHtmlRowIndex(n,e);t.eq(r).remove()}if(0>a){a=Math.abs(a);for(var s=[],l=0;a>l;l++)s.push(o("<div>",{"class":v}));if(n){var c=this._calculateHtmlRowIndex(n,e);t.eq(c).after(s)}else this._$colorPickerContainer.append(s)}},_renderHtmlCellInsideRow:function(e,t,n){return o("<div>",{"class":x,addClass:n,appendTo:t.find("."+v+e)})},_calculateRowsCount:function(){return this.option("editAlphaChannel")?"instantly"===this.option("applyValueMode")?2:3:"instantly"===this.option("applyValueMode")?1:2},_calculateRemovedHtmlRowIndex:function(e,t){var n=-1;return 3===e&&("editAlphaChannel"===t&&(n=-2),"applyValueMode"===t&&(n=-1)),n},_calculateHtmlRowIndex:function(e,t){var n=0;return 2===e&&"applyValueMode"===t&&(n=1),n},_renderPalette:function(){var e=this._renderHtmlCellInsideRow(":first",this._$colorPickerContainer,y),t=o("<div>",{"class":[C,k].join(" ")}),n=o("<div>",{"class":[C,S].join(" ")});this._$palette=o("<div>",{"class":w,css:{backgroundColor:this._currentColor.getPureColor().toHex()},appendTo:e}),this._paletteHeight=this._$palette.height(),this._paletteWidth=this._$palette.width(),this._renderPaletteHandle(),this._$palette.append([t,n])},_renderPaletteHandle:function(){this._createComponent(this._$paletteHandle=o("<div>",{"class":b,appendTo:this._$palette}),f,{area:this._$palette,allowMoveByClick:!0,boundOffset:o.proxy(function(){return-this._paletteHandleHeight/2},this),onDrag:o.proxy(function(e){var t=a.locate(this._$paletteHandle);this._updateByDrag=!0,this._updateColorFromHsv(this._currentColor.hsv.h,this._calculateColorSaturation(t),this._calculateColorValue(t))},this)}),this._paletteHandleWidth=this._$paletteHandle.width(),this._paletteHandleHeight=this._$paletteHandle.height(),this._placePaletteHandle()},_placePaletteHandle:function(){a.move(this._$paletteHandle,{left:Math.round(this._paletteWidth*this._currentColor.hsv.s/100-this._paletteHandleWidth/2),top:Math.round(this._paletteHeight-this._paletteHeight*this._currentColor.hsv.v/100-this._paletteHandleHeight/2)})},_calculateColorValue:function(e){var t=Math.floor(e.top+this._paletteHandleHeight/2);return 100-Math.round(100*t/this._paletteHeight)},_calculateColorSaturation:function(e){var t=Math.floor(e.left+this._paletteHandleWidth/2);return Math.round(100*t/this._paletteWidth)},_updateColorFromHsv:function(e,t,n){var i=this._currentColor.a;this._currentColor=new s("hsv("+[e,t,n].join(",")+")"),this._currentColor.a=i,this._updateColorParamsAndColorPreview(),"instantly"===this.option("applyValueMode")&&this.applyColor()},_renderHueScale:function(){var e=this._renderHtmlCellInsideRow(":first",this._$colorPickerContainer,I);this._$hueScaleWrapper=o("<div>",{"class":E,appendTo:e}),this._$hueScale=o("<div>",{"class":T,appendTo:this._$hueScaleWrapper}),this._hueScaleHeight=this._$hueScale.height(),this._hueScaleWrapperHeight=this._$hueScaleWrapper.outerHeight(),this._renderHueScaleHandle()},_renderHueScaleHandle:function(){this._createComponent(this._$hueScaleHandle=o("<div>",{"class":D,appendTo:this._$hueScaleWrapper}),f,{area:this._$hueScaleWrapper,allowMoveByClick:!0,direction:"vertical",onDrag:o.proxy(function(e){this._updateByDrag=!0,this._updateColorHue(a.locate(this._$hueScaleHandle).top+this._hueScaleHandleHeight/2)},this)}),this._hueScaleHandleHeight=this._$hueScaleHandle.height(),this._placeHueScaleHandle()},_placeHueScaleHandle:function(){var e=this._hueScaleWrapperHeight,t=this._hueScaleHandleHeight,n=(e-t)*(360-this._currentColor.hsv.h)/360;n+t>e&&(n=e-t),0>n&&(n=0),a.move(this._$hueScaleHandle,{top:Math.round(n)})},_updateColorHue:function(e){var t=360-Math.round(360*(e-this._hueScaleHandleHeight/2)/(this._hueScaleWrapperHeight-this._hueScaleHandleHeight)),n=this._currentColor.hsv.s,i=this._currentColor.hsv.v;this._isTopColorHue=!1,t=0>t?0:t,t>=360&&(this._isTopColorHue=!0,t=0),this._updateColorFromHsv(t,n,i),this._$palette.css("backgroundColor",this._currentColor.getPureColor().toHex())},_renderControlsContainer:function(){var e=this._renderHtmlCellInsideRow(":first",this._$colorPickerContainer);this._$controlsContainer=o("<div>",{"class":A,appendTo:e})},_renderControls:function(){this._renderColorsPreview(),this._renderRgbInputs(),this._renderHexInput()},_renderColorsPreview:function(){var e=o("<div>",{"class":G,appendTo:this._$controlsContainer}),t=o("<div>",{"class":$,appendTo:e});this._$currentColor=o("<div>",{"class":[W,q].join(" ")}),this._$newColor=o("<div>",{"class":[W,j].join(" ")}),this._makeTransparentBackground(this._$currentColor,this._currentColor),this._makeTransparentBackground(this._$newColor,this._currentColor),t.append([this._$currentColor,this._$newColor])},_renderAlphaChannelElements:function(){this.option("editAlphaChannel")&&(this._$colorPickerContainer.find("."+v).eq(1).addClass(V),this._renderAlphaChannelScale(),this._renderAlphaChannelInput())},_renderRgbInputs:function(){this._rgbInputsWithLabels=[this._renderEditorWithLabel({editorType:h.publicName(),value:this._currentColor.r,onValueChanged:o.proxy(this._updateColor,this,!1),labelText:"R",labelAriaText:l.format("dxColorView-ariaRed"),
labelClass:B}),this._renderEditorWithLabel({editorType:h.publicName(),value:this._currentColor.g,onValueChanged:o.proxy(this._updateColor,this,!1),labelText:"G",labelAriaText:l.format("dxColorView-ariaGreen"),labelClass:M}),this._renderEditorWithLabel({editorType:h.publicName(),value:this._currentColor.b,onValueChanged:o.proxy(this._updateColor,this,!1),labelText:"B",labelAriaText:l.format("dxColorView-ariaBlue"),labelClass:O})],this._$controlsContainer.append(this._rgbInputsWithLabels),this._rgbInputs=[this._rgbInputsWithLabels[0].find(".dx-numberbox").dxNumberBox("instance"),this._rgbInputsWithLabels[1].find(".dx-numberbox").dxNumberBox("instance"),this._rgbInputsWithLabels[2].find(".dx-numberbox").dxNumberBox("instance")],o.each(this._rgbInputs,o.proxy(function(e,t){this._attachEnterKeyHandler(t)},this))},_renderEditorWithLabel:function(e){var t=o("<div>"),n=o("<label>",{"class":e.labelClass,text:e.labelText+":",append:t}).off(_.name).on(_.name,function(e){e.preventDefault()}),i=e.editorType,a={value:e.value,onValueChanged:e.onValueChanged};return i===h.publicName()&&(a.min=e.min||0,a.max=e.max||255,a.step=e.step||1),t[i](a),this.setAria("label",e.labelAriaText,t),n},hexInputOptions:function(){return{editorType:p.publicName(),value:this._currentColor.toHex().replace("#",""),onValueChanged:o.proxy(this._updateColor,this,!0),labelClass:P,labelText:"#",labelAriaText:l.format("dxColorView-ariaHex")}},_renderHexInput:function(){this._hexInput=p.getInstance(this._renderEditorWithLabel(this.hexInputOptions()).appendTo(this._$controlsContainer).find(".dx-textbox")),this._attachEnterKeyHandler(this._hexInput)},_attachEnterKeyHandler:function(e){e.registerKeyHandler("enter",o.proxy(function(e){this._enterKeyHandler(e)},this))},_renderAlphaChannelScale:function(){var e=this._renderHtmlCellInsideRow(":eq(1)",this._$colorPickerContainer,z),t=o("<div>",{"class":N,appendTo:e}),n=o("<div>",{"class":F,appendTo:t});this._$alphaChannelScale=o("<div>",{"class":R,appendTo:n}),this._makeCSSLinearGradient(this._$alphaChannelScale),this._renderAlphaChannelHandle(e)},_makeCSSLinearGradient:function(e){var t=this._currentColor,n=[t.r,t.g,t.b].join(","),i=t.toHex().replace("#",""),o=function(e,t){var n=this.option("rtlEnabled"),i="rgba("+e+", "+(n?"1":"0")+")",o="rgba("+e+", "+(n?"0":"1")+")",a="'#"+(n?"00":"")+t+"'",r="'#"+(n?"":"00")+t+"'";return["background-image: -webkit-linear-gradient(180deg, "+i+", "+o+")","background-image: -moz-linear-gradient(-90deg, "+i+", "+o+")","background-image: -ms-linear-gradient(-90deg, "+i+", "+o+")","background-image: -o-linear-gradient(-90deg, "+i+", "+o+")","background-image: linear-gradient(-90deg, "+i+", "+o+")","filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr="+a+", endColorstr="+r+")"].join(";")};e.attr("style",o.call(this,n,i))},_renderAlphaChannelInput:function(){var e=this,t=this._renderHtmlCellInsideRow(":eq(1)",this._$colorPickerContainer);e._alphaChannelInput=this._renderEditorWithLabel({editorType:h.publicName(),value:this._currentColor.a,max:1,step:.1,onValueChanged:function(t){var n=t.value;n=e._currentColor.isValidAlpha(n)?n:e._currentColor.a,e._updateColorTransparency(n),e._placeAlphaChannelHandle()},labelClass:L,labelText:"Alpha",labelAriaText:l.format("dxColorView-ariaAlpha")}).appendTo(t).find(".dx-numberbox").dxNumberBox("instance"),this._attachEnterKeyHandler(e._alphaChannelInput)},_updateColorTransparency:function(e){this._currentColor.a=e,this._makeTransparentBackground(this._$newColor,this._currentColor),"instantly"===this.option("applyValueMode")&&this.applyColor()},_renderAlphaChannelHandle:function(e){this._createComponent(this._$alphaChannelHandle=o("<div>",{"class":H,appendTo:e}),f,{area:e,allowMoveByClick:!0,direction:"horizontal",onDrag:o.proxy(function(e){this._updateByDrag=!0;var t=this._$alphaChannelHandle,n=a.locate(t).left+this._alphaChannelHandleWidth/2;this._calculateColorTransparencyByScaleWidth(n)},this)}),this._alphaChannelHandleWidth=this._$alphaChannelHandle.width(),this._alphaChannelScaleWorkWidth=e.width()-this._alphaChannelHandleWidth,this._placeAlphaChannelHandle()},_calculateColorTransparencyByScaleWidth:function(e){var t=(e-this._alphaChannelHandleWidth/2)/this._alphaChannelScaleWorkWidth,n=this.option("rtlEnabled");t=n?t:1-t,e>=this._alphaChannelScaleWorkWidth+this._alphaChannelHandleWidth/2?t=n?1:0:1>t&&(t=t.toFixed(2)),t=Math.max(t,0),t=Math.min(t,1),this._alphaChannelInput.option("value",t)},_placeAlphaChannelHandle:function(){var e=this._alphaChannelScaleWorkWidth*(1-this._currentColor.a);0>e&&(e=0),this._alphaChannelScaleWorkWidth<e&&(e=this._alphaChannelScaleWorkWidth),a.move(this._$alphaChannelHandle,{left:this.option("rtlEnabled")?this._alphaChannelScaleWorkWidth-e:e})},applyColor:function(){var e=this.option("editAlphaChannel")?this._makeRgba(this._currentColor):this._currentColor.toHex();this._makeTransparentBackground(this._$currentColor,this._currentColor),this.option("value",e)},cancelColor:function(){this._initColorAndOpacity(),this._refreshMarkup()},_updateColor:function(e){var t,n;e?n=this._validateHex("#"+this._hexInput.option("value")):(t=this._validateRgb(),this._alphaChannelInput?(t.push(this._alphaChannelInput.option("value")),n="rgba("+t.join(", ")+")"):n="rgb("+t.join(", ")+")"),this._suppressEditorsValueUpdating||(this._currentColor=new s(n),this._refreshMarkup(),"instantly"===this.option("applyValueMode")&&this.applyColor())},_validateHex:function(e){return this._currentColor.isValidHex(e)?e:this._currentColor.toHex()},_validateRgb:function(){var e=this._rgbInputs[0].option("value"),t=this._rgbInputs[1].option("value"),n=this._rgbInputs[2].option("value");return this._currentColor.isValidRGB(e,t,n)||(e=this._currentColor.r,t=this._currentColor.g,n=this._currentColor.b),[e,t,n]},_refreshMarkup:function(){this._placeHueScaleHandle(),this._placePaletteHandle(),this._updateColorParamsAndColorPreview(),this._$palette.css("backgroundColor",this._currentColor.getPureColor().toHex()),this._$alphaChannelHandle&&(this._updateColorTransparency(this._currentColor.a),this._placeAlphaChannelHandle())},_updateColorParamsAndColorPreview:function(){this._suppressEditorsValueUpdating=!0,this._hexInput.option("value",this._currentColor.toHex().replace("#","")),this._rgbInputs[0].option("value",this._currentColor.r),this._rgbInputs[1].option("value",this._currentColor.g),this._rgbInputs[2].option("value",this._currentColor.b),this._suppressEditorsValueUpdating=!1,this._makeTransparentBackground(this._$newColor,this._currentColor),this.option("editAlphaChannel")&&(this._makeCSSLinearGradient.call(this,this._$alphaChannelScale),this._alphaChannelInput.option("value",this._currentColor.a))},_optionChanged:function(e){var t=e.value;switch(e.name){case"value":this._setCurrentColor(t),this._updateByDrag||this._refreshMarkup(),this._updateByDrag=!1,this.callBase(e);break;case"editAlphaChannel":this._$colorPickerContainer&&(this._renderHtmlRows("editAlphaChannel"),this._renderAlphaChannelElements());break;case"applyValueMode":this._$colorPickerContainer&&this._renderHtmlRows("applyValueMode");break;case"keyStep":break;default:this.callBase(e)}}});d("dxColorView",U),i.exports=U}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(2),s=n(53).compare,l=n(17),c=n(6),d=n(12),u=n(112),h=n(150),p=n(14),f=n(8),_="dx-datebox",g="dx-datebox-wrapper",m={calendar:"calendar",rollers:"rollers",list:"list","native":"native"},v={date:"date",datetime:"datetime",time:"time"},x={calendar:"Calendar",dateview:"DateView","native":"Native",calendarWithTime:"CalendarWithTime",list:"List"},w={Calendar:n(225),DateView:n(364),Native:n(366),CalendarWithTime:n(363),List:n(365)},y=function(e){var t=e[0].style.width;return!(!t||"auto"===t||"inherit"===t)},b=function(e,t,n){var i=10,a=48,r=o("<div>").text(e).css({"font-style":t.css("font-style"),"font-variant":t.css("font-variant"),"font-weight":t.css("font-weight"),"font-size":t.css("font-size"),"font-family":t.css("font-family"),"letter-spacing":t.css("letter-spacing"),"padding-left":t.css("padding-left"),"padding-right":t.css("padding-right"),border:t.css("border"),visibility:"hidden","white-space":"nowrap",position:"absolute","float":"left"});r.appendTo(n);var s=r.outerWidth()+i+("text"!==t.prop("type")?a:0);return r.remove(),s},C=h.inherit({_supportedKeys:function(){return o.extend(this.callBase(),this._strategy.supportedKeys())},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{format:{since:"16.1",alias:"type"},formatString:{since:"16.1",alias:"displayFormat"},useNative:{since:"15.1",message:"'useNative' option is deprecated in 15.1. Use the 'pickerType' option instead"},useCalendar:{since:"15.1",message:"'useCalendar' option is deprecated in 15.1. Use the 'pickerType' option instead"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{type:"date",value:null,min:void 0,max:void 0,useCalendar:!1,displayFormat:null,interval:30,maxZoomLevel:"month",minZoomLevel:"century",useNative:!0,pickerType:m.native,invalidDateMessage:f.format("dxDateBox-validation-datetime"),dateOutOfRangeMessage:f.format("validation-range"),applyButtonText:f.format("Done"),adaptivityEnabled:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{showPopupTitle:!0}},{device:function(e){return"android"===e.platform},options:{buttonsLocation:"bottom after"}},{device:function(e){return"win"===e.platform&&e.version&&8===e.version[0]},options:{buttonsLocation:"bottom after"}},{device:function(e){return"win"===e.platform&&e.version&&10===e.version[0]},options:{buttonsLocation:"bottom center"}},{device:function(){var e=c.real(),t=e.platform,n=e.version;return"generic"===t||"win"===t||"android"===t&&s(n,[4,4])<0},options:{pickerType:m.rollers}},{device:{platform:"generic",deviceType:"desktop"},options:{pickerType:m.calendar,buttonsLocation:"bottom after"}},{device:function(){var e=c.real(),t=e.platform,n=e.phone;return"win"===t&&!n},options:{pickerType:m.calendar}}])},_initOptions:function(e){this._userOptions=o.extend({},e),this.callBase(e),this._updatePickerOptions(this._userOptions)},_updatePickerOptions:function(e){var t=this._getPickerTypeByDepricatedOptions(e),n=this.option("type");t!==m.list||n!==v.datetime&&n!==v.date||(t=m.calendar),n===v.time&&t===m.calendar&&(t=m.list),this.option("showDropButton","generic"!==c.real().platform||t!==m.native),this._pickerType=t},_getPickerTypeByDepricatedOptions:function(e){return e.pickerType?e.pickerType:r.isDefined(e.useCalendar)||r.isDefined(e.useNative)?this._getPickerType():this._pickerType||this.option("pickerType")},_getPickerType:function(){return this.option().useCalendar?this.option("type")===v.time?m.list:m.calendar:this.option().useNative?m.native:m.rollers},_init:function(){this._initStrategy(),this.option(o.extend({},this._strategy.getDefaultOptions(),this._userOptions)),delete this._userOptions,this.callBase()},_toLowerCaseFirstLetter:function(e){return e.charAt(0).toLowerCase()+e.substr(1)},_initStrategy:function(){var e=this._getStrategyName(this._getFormatType()),t=w[e];this._strategy&&this._strategy.NAME===e||(this._strategy=new t(this))},_getFormatType:function(){var e=this.option("type"),t=/h|m|s/g.test(e),n=/d|M|Y/g.test(e),i="";return n&&(i+=v.date),t&&(i+=v.time),i},_getStrategyName:function(e){var t=this._pickerType;return t===m.rollers?this.option().useCalendar?x.calendar:x.dateview:t===m.native?x.native:e===v.date?x.calendar:e===v.datetime?x.calendarWithTime:x.list},_render:function(){this.element().addClass(_),this._refreshFormatClass(),this._refreshPickerTypeClass(),this.callBase(),this._updateSize(),this._strategy.renderInputMinMax(this._input())},_refreshFormatClass:function(){var e=this.element();o.each(v,o.proxy(function(t,n){e.removeClass(_+"-"+n)},null)),e.addClass(_+"-"+this.option("type"))},_refreshPickerTypeClass:function(){var e=this.element();o.each(m,o.proxy(function(t,n){e.removeClass(_+"-"+n)},null)),e.addClass(_+"-"+this._pickerType)},_updateSize:function(){var e=this.element(),t=this.option("width"),n=r.isDefined(t)||y(e)&&!this._isSizeUpdatable,i=e.is(":visible"),o=this._pickerType,a=o!==m.rollers&&"generic"===c.current().platform;if(!n&&a&&i){var s=this._input(),l=this._strategy.getDisplayFormat(this.option("displayFormat")),d=p.format(u.getLongestDate(l,p.getMonthNames(),p.getDayNames()),l);e.width(b(d,s,this.element())),this._isSizeUpdatable=!0}},_attachChildKeyboardEvents:function(){this._strategy.attachKeyboardEvents(this._keyboardProcessor)},_renderPopup:function(){this.callBase(),this._popup._wrapper().addClass(g),this._renderPopupWrapper()},_popupConfig:function(){var e=this.callBase();return o.extend(this._strategy.popupConfig(e),{title:this._getPopupTitle(),dragEnabled:!1})},_renderPopupWrapper:function(){if(this._popup){var e=this.element(),t=o.extend({},v,m);o.each(t,o.proxy(function(t,n){e.removeClass(g+"-"+n)},this)),this._popup._wrapper().addClass(g+"-"+this.option("type")).addClass(g+"-"+this._pickerType)}},_renderPopupContent:function(){this.callBase(),this._strategy.renderPopupContent()},_getFirstPopupElement:function(){return this._strategy.getFirstPopupElement()||this.callBase()},_getLastPopupElement:function(){return this._strategy.getLastPopupElement()||this.callBase()},_popupShowingHandler:function(){this.callBase(),this._strategy.popupShowingHandler()},_popupHiddenHandler:function(){this.callBase(),this._strategy.popupHiddenHandler()},_visibilityChanged:function(e){e&&this._updateSize()},_readOnlyPropValue:function(){return this.callBase()||this._pickerType===m.rollers},_clearButtonVisibility:function(){return this.callBase()&&!this._isNativeType()},_renderValue:function(){var e,t=this.option("mode"),n=this.dateOption("value");if("text"!==t)e=this._getPattern(u.FORMATS_MAP[t]),this.option("text",u.toStandardDateFormat(n,t,e));else{var i=this._strategy.getDisplayFormat(this.option("displayFormat"));this.option("text",p.format(n,i))}this._strategy.renderValue(),this.callBase()},_getPattern:function(e){return l.inputType(this.option("mode"))?null:p.getPatternByFormat(e)},_valueChangeEventHandler:function(e){var t=this._strategy.getDisplayFormat(this.option("displayFormat")),n=this._strategy.getParsedText(this.option("text"),t),i=this.dateOption("value"),o=new Date(i&&i.valueOf()),a=this.option("type"),r=u.mergeDates(o,n,a)||null;this._validateValue(n)&&this.dateOption("value",r),this.validationRequest.fire({value:r,editor:this})},_validateValue:function(e){var t=this.option("text"),n=!!t,i=!!e&&!isNaN(e.getTime()),o=i&&d.dateInRange(e,this.dateOption("min"),this.dateOption("max"),this.option("type")),a=!n||!n&&!e||o,r="";return i?o||(r=this.option("dateOutOfRangeMessage")):r=this.option("invalidDateMessage"),this.option({isValid:a,validationError:a?null:{editorSpecific:!0,message:r}}),a},_renderProps:function(){this.callBase(),this._input().attr("autocomplete","off")},_renderOpenedState:function(){this._isNativeType()||this.callBase(),this._strategy.isAdaptivityChanged()&&this._refreshStrategy(),this._strategy.renderOpenedState()},_getPopupTitle:function(){var e=this.option("placeholder");if(e)return e;var t=this.option("type");return t===v.time?f.format("dxDateBox-simulatedDataPickerTitleTime"):t===v.date||t===v.datetime?f.format("dxDateBox-simulatedDataPickerTitleDate"):""},_renderPlaceholder:function(){this._popup&&this._popup.option("title",this._getPopupTitle()),this.callBase()},_refreshStrategy:function(){this._strategy.dispose(),this._initStrategy(),this.option(this._strategy.getDefaultOptions()),this._refresh()},_applyButtonHandler:function(){this.dateOption("value",this._strategy.getValue()),this.callBase()},_dispose:function(){this._strategy&&this._strategy.dispose(),this.callBase()},_isNativeType:function(){return this._pickerType===m.native},_optionChanged:function(e){switch(e.name){case"useCalendar":this._updatePickerOptions({useCalendar:e.value}),this._refreshStrategy();break;case"useNative":this._updatePickerOptions({useNative:e.value}),this._refreshStrategy();break;case"showClearButton":this.callBase.apply(this,arguments),this._updateSize();break;case"pickerType":this._updatePickerOptions({pickerType:e.value}),this._refreshStrategy(),this._refreshPickerTypeClass(),this._invalidate();break;case"type":this._updatePickerOptions({format:e.value}),this._refreshStrategy(),this._refreshFormatClass(),this._renderPopupWrapper(),this._updateSize();break;case"placeholder":this._renderPlaceholder();break;case"readOnly":case"min":case"max":case"interval":case"minZoomLevel":case"maxZoomLevel":this._invalidate();break;case"displayFormat":this._updateValue();break;case"formatWidthCalculator":break;case"closeOnValueChange":var t=e.value?"instantly":"useButtons";this.option("applyValueMode",t);break;case"applyValueMode":this._suppressDeprecatedWarnings(),this.option("closeOnValueChange","instantly"===e.value),this._resumeDeprecatedWarnings(),this.callBase.apply(this,arguments);break;case"text":this._strategy.textChangedHandler(e.value),this.callBase.apply(this,arguments);break;case"isValid":this.callBase.apply(this,arguments),this._updateSize();break;case"value":this.callBase.apply(this,arguments),this._validateValue(d.deserializeDate(e.value,this._getSerializationFormat(e.value)));break;case"showDropButton":case"invalidDateMessage":case"dateOutOfRangeMessage":case"adaptivityEnabled":break;default:this.callBase.apply(this,arguments)}},_getSerializationFormat:function(){var e=this.option("value");if(r.isNumber(e))return"number";if(r.isString(e))return"date"===this.option("type")?"yyyy'/'MM'/'dd":"yyyy'/'MM'/'dd HH:mm:ss"},dateOption:function(e,t){var n=this._getSerializationFormat();return 1===arguments.length?d.deserializeDate(this.option(e),n,o.proxy(p.parse,p)):void this.option(e,d.serializeDate(t,n,o.proxy(p.format,p)))},reset:function(){this.callBase(),this._updateValue()}});a("dxDateBox",C),i.exports=C}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(225),r=n(14),s=n(369),l=n(148),c=573,d="dx-datebox-adaptivity-mode",u=a.inherit({NAME:"CalendarWithTime",getDefaultOptions:function(){return o.extend(this.callBase(),{applyValueMode:"useButtons",buttonsLocation:"bottom after",showPopupTitle:!1})},getDisplayFormat:function(e){return e||r.getPatternByFormat("shortdateshorttime")},_renderWidget:function(){this.callBase(),this._timeView=this.dateBox._createComponent(o("<div>"),s,{value:this.dateBoxValue(),_showClock:!this._isShrinkView(),onValueChanged:o.proxy(this._valueChangedHandler,this)})},renderOpenedState:function(){this.callBase();var e=this._getPopup();e&&e._wrapper().toggleClass(d,this._isSmallScreen()),clearTimeout(this._repaintTimer),this._repaintTimer=setTimeout(o.proxy(function(){this._getPopup()&&this._getPopup().repaint()},this),0)},isAdaptivityChanged:function(){var e=this._isShrinkView();return e!==this._currentAdaptiveMode?(this._currentAdaptiveMode=e,!0):this.callBase()},_updateValue:function(e){var t=this.dateBoxValue();t||e||(t=new Date),this.callBase(),this._timeView&&t&&this._timeView.option("value",t)},_isSmallScreen:function(){return o(window).width()<=c},_isShrinkView:function(){return this.dateBox.option("adaptivityEnabled")&&this._isSmallScreen()},_getBoxItems:function(){var e=[{ratio:0,shrink:0,baseSize:"auto",name:"calendar"}];return this._isShrinkView()||e.push({ratio:0,shrink:0,baseSize:"auto",name:"time"}),e},renderPopupContent:function(){this.callBase(),this._currentAdaptiveMode=this._isShrinkView();var e=this._getPopup().content(),t=this.dateBox._createComponent(o("<div>").appendTo(e),l,{direction:"row",crossAlign:"start",items:this._getBoxItems(),itemTemplate:o.proxy(function(e){var t=o("<div>");switch(e.name){case"calendar":t.append(this._widget.element()),this._isShrinkView()&&t.append(this._timeView.element());break;case"time":t.append(this._timeView.element())}return t},this)});clearTimeout(this._removeMinWidthTimer),this._removeMinWidthTimer=setTimeout(function(){"fallback"===t.option("_layoutStrategy")&&e.find(".dx-timeview-clock").css("minWidth",0)},0),this._attachTabHandler()},getFirstPopupElement:function(){return this._timeView._hourBox.element().find("input")},_attachTabHandler:function(){var e=this.dateBox,t=function(t){t.shiftKey&&(t.preventDefault(),e.focus())};this._timeView._hourBox.registerKeyHandler("tab",t)},_preventFocusOnPopup:function(e){o(e.target).hasClass("dx-texteditor-input")||(this.callBase.apply(this,arguments),this.dateBox._hasFocusClass()||this.dateBox.focus())},getValue:function(){var e=this._widget.option("value"),t=this._timeView.option("value");return e=e?new Date(e):new Date,e.setHours(t.getHours(),t.getMinutes(),t.getSeconds()),e},dispose:function(){clearTimeout(this._removeMinWidthTimer),clearTimeout(this._repaintTimer),this.callBase()}});i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(367),r=n(149),s=n(17),l=n(23),c=n(112),d=n(8),u=r.inherit({NAME:"DateView",getDefaultOptions:function(){return o.extend(this.callBase(),{openOnFieldClick:!0,applyButtonText:d.format("Done")})},getDisplayFormat:function(e){return e||c.FORMATS_MAP[this.dateBox.option("type")]},popupConfig:function(){return{showTitle:!0,toolbarItems:this.dateBox._popupToolbarItemsConfig(),defaultOptionsRules:[{device:function(e){return"win"===e.platform&&e.version&&8===e.version[0]},options:{showNames:!0}},{device:function(e){return"win"===e.platform&&e.phone&&e.version&&8===e.version[0]},options:{animation:null}},{device:function(){var e=(l.current()||"").split(".")[0];return"win8"===e},options:{fullScreen:!0}},{device:{platform:"android"},options:{width:333,height:331}},{device:function(e){var t=e.platform,n=e.version;return"generic"===t||"ios"===t||"win"===t&&n&&10===n[0]},options:{width:"auto",height:"auto"}},{device:function(e){var t=e.platform,n=e.phone;return"generic"===t&&n},options:{width:333,height:"auto",position:{collision:"flipfit flip"}}},{device:function(e){var t=(l.current()||"").split(".")[0];return e.phone&&"win10"===t},options:{width:333,height:"auto"}},{device:{platform:"ios",phone:!0},options:{width:"100%",position:{my:"bottom",at:"bottom",of:window}}}]}},_renderWidget:function(){if(s.inputType(this.dateBox.option("mode"))&&this.dateBox._isNativeType()||this.dateBox.option("readOnly"))return void(this._widget&&(this._widget.element().remove(),this._widget=null));var e=this._getPopup();if(this._widget)this._widget.option(this._getWidgetOptions());else{var t=o("<div>").appendTo(e.content());this._widget=this._createWidget(t)}this._widget.element().appendTo(this._getWidgetContainer())},_getWidgetName:function(){return a.publicName()},_getWidgetOptions:function(){return{value:this.dateBoxValue()||new Date,type:this.dateBox.option("type"),minDate:this.dateBox.dateOption("min")||new Date(1900,1,1),maxDate:this.dateBox.dateOption("max")||new Date(o.now()+50*c.ONE_YEAR),onDisposing:o.proxy(function(){this._widget=null},this)}},_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue()||new Date)}});i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(90),r=n(149),s=n(6),l=n(2),c=n(112),d=n(14),u={min:new Date(0,0,0,0,0),max:new Date(0,0,0,23,59)},h=r.inherit({NAME:"List",supportedKeys:function(){return{tab:function(e){this.option("opened")&&this.close()},space:o.noop,home:o.noop,end:o.noop}},getDefaultOptions:function(){return o.extend(this.callBase(),{applyValueMode:"instantly"})},getDisplayFormat:function(e){return e||d.getPatternByFormat("shorttime")},popupConfig:function(e){var t=s.current(),n=o.extend(e,{width:this._getPopupWidth()});return"android"===t.platform&&o.extend(n,{position:{offset:{h:-16,v:-10}}}),n},_getPopupWidth:function(){var e=s.current(),t=this.dateBox.element().outerWidth();return"android"===e.platform&&(t+=32),t},popupShowingHandler:function(){this._dimensionChanged()},_renderWidget:function(){this.callBase(),this._refreshItems()},_getWidgetName:function(){return a},_getWidgetOptions:function(){var e=this.dateBox._keyboardProcessor;return{_keyboardProcessor:e?e.attachChildProcessor():null,itemTemplate:o.proxy(this._timeListItemTemplate,this),onItemClick:o.proxy(this._listItemClickHandler,this),tabIndex:-1,onFocusedItemChanged:o.proxy(this._refreshActiveDescendant,this),selectionMode:"single"}},_refreshActiveDescendant:function(e){this.dateBox.setAria("activedescendant",""),this.dateBox.setAria("activedescendant",e.actionValue)},_refreshItems:function(){this._widgetItems=this._getTimeListItems(),this._widget.option("items",this._widgetItems)},renderOpenedState:function(){this.callBase(),this._widget&&this._widget.option("focusedElement",null)},_updateValue:function(){if(this._widget){this._refreshItems();var e=this.dateBoxValue(),t=this._getDateIndex(e);-1===t?this._widget.option("selectedItems",[]):this._widget.option("selectedIndex",t),this._scrollToSelectedItem()}},_scrollToSelectedItem:function(){this._widget.scrollToItem(this._widget.option("selectedIndex"))},_getDateIndex:function(e){for(var t=-1,n=0,i=this._widgetItems.length;i>n;n++)if(this._areDatesEqual(e,this._widgetItems[n])){t=n;break}return t},_areDatesEqual:function(e,t){return l.isDate(e)&&l.isDate(t)&&e.getHours()===t.getHours()&&e.getMinutes()===t.getMinutes()},_getTimeListItems:function(){var e=this.dateBox.dateOption("min")||this._getBoundaryDate("min"),t=this.dateBox.dateOption("max")||this._getBoundaryDate("max"),n=this.dateBox.dateOption("value"),i=t-e,o=e.getMinutes()%this.dateBox.option("interval");return 0>i?[]:(i>c.ONE_DAY&&(i=c.ONE_DAY),n-e<c.ONE_DAY?this._getRangeItems(e,new Date(e),i):(e=this._getBoundaryDate("min"),e.setMinutes(o),n&&Math.abs(n-t)<c.ONE_DAY&&(i=(60*t.getHours()+Math.abs(t.getMinutes()-o))*c.ONE_MINUTE),this._getRangeItems(e,new Date(e),i)))},_getRangeItems:function(e,t,n){for(var i=[],o=this.dateBox.option("interval");n>t-e;)i.push(new Date(t)),t.setMinutes(t.getMinutes()+o);return i},_getBoundaryDate:function(e){var t=u[e],n=this.dateBox.dateOption("value")||new Date;return new Date(n.getFullYear(),n.getMonth(),n.getDate(),t.getHours(),t.getMinutes())},_timeListItemTemplate:function(e){var t=this.dateBox.option("displayFormat");return d.format(e,this.getDisplayFormat(t))},_listItemClickHandler:function(e){this.dateBox.option("opened",!1);var t=this.dateBox.option("value");t=t?new Date(t):new Date,t.setHours(e.itemData.getHours()),t.setMinutes(e.itemData.getMinutes()),t.setSeconds(e.itemData.getSeconds()),this.dateBoxValue(t)},attachKeyboardEvents:function(e){var t=e.attachChildProcessor();this._widget&&this._widget.option("_keyboardProcessor",t)},_dimensionChanged:function(){this._getPopup()&&this._updatePopupDimensions()},_updatePopupDimensions:function(){this._updatePopupWidth(),this._updatePopupHeight()},_updatePopupWidth:function(){this.dateBox._setPopupOption("width",this._getPopupWidth())},_updatePopupHeight:function(){this.dateBox._setPopupOption("height","auto");var e=this._widget.element().outerHeight(),t=.45*o(window).height();this.dateBox._setPopupOption("height",Math.min(e,t)),this.dateBox._timeList&&this.dateBox._timeList.updateDimensions()}});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(149),r=n(17),s=n(112),l=n(14),c=a.inherit({NAME:"Native",popupConfig:o.noop,getParsedText:function(e){return s.fromStandardDateFormat(e)},renderPopupContent:o.noop,_getWidgetName:o.noop,_getWidgetOptions:o.noop,_getDateBoxType:function(){var e=this.dateBox.option("type");return-1===o.inArray(e,s.SUPPORTED_FORMATS)?e="date":"datetime"!==e||r.inputType(e)||(e="datetime-local"),e},getDefaultOptions:function(){return{mode:this._getDateBoxType()}},getDisplayFormat:function(e){var t=this._getDateBoxType();return e||l.getPatternByFormat(s.FORMATS_MAP[t])},renderInputMinMax:function(e){e.attr({min:l.format(this.dateBox.dateOption("min"),"yyyy-MM-dd"),max:l.format(this.dateBox.dateOption("max"),"yyyy-MM-dd")})}});i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(31),r=n(368),s=n(12),l=n(112),c=n(3),d=n(14),u="dx-dateview",h="dx-dateview-wrapper",p="dx-dateview-rollers",f="dx-dateviewroller",_={date:"date",datetime:"datetime",time:"time"},g={year:"year",month:"month",day:"day"},m=a.inherit({_valueOption:function(){return"Invalid Date"===new Date(this.option("value"))?new Date:new Date(this.option("value"))},_getDefaultOptions:function(){return o.extend(this.callBase(),{minDate:l.MIN_DATEVIEW_DEFAULT_DATE,maxDate:l.MAX_DATEVIEW_DEFAULT_DATE,type:_.date,value:new Date,showNames:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"win"===e.platform&&e.version&&8===e.version[0]},options:{showNames:!0}}])},_render:function(){this.callBase(),this.element().addClass(u),this._toggleFormatClasses(this.option("type"))},_toggleFormatClasses:function(e,t){this.element().addClass(u+"-"+e),t&&this.element().removeClass(u+"-"+t)},_wrapper:function(){return this._$wrapper},_renderContentImpl:function(){this._$wrapper=o("<div>").addClass(h),this._renderRollers(),this._$wrapper.appendTo(this.element())},_renderRollers:function(){this._$rollersContainer||(this._$rollersContainer=o("<div>").addClass(p)),this._$rollersContainer.empty(),this._createRollerConfigs(),this._rollers={};var e=this;o.each(e._rollerConfigs,function(t){var n=o("<div>").appendTo(e._$rollersContainer).addClass(f+"-"+e._rollerConfigs[t].type);e._rollers[e._rollerConfigs[t].type]=e._createComponent(n,r,{items:e._rollerConfigs[t].displayItems,selectedIndex:e._rollerConfigs[t].selectedIndex,showScrollbar:!1,onStart:function(n){var i=n.component;i._toggleActive(!0),e._setActiveRoller(e._rollerConfigs[t],i.option("selectedIndex"))},onEnd:function(e){var t=e.component;t._toggleActive(!1)},onClick:function(n){var i=n.component;i._toggleActive(!0),e._setActiveRoller(e._rollerConfigs[t],i.option("selectedIndex")),e._setRollerState(e._rollerConfigs[t],i.option("selectedIndex")),i._toggleActive(!1)},onSelectedIndexChanged:function(n){var i=n.component;e._setRollerState(e._rollerConfigs[t],i.option("selectedIndex"))}})}),e._$rollersContainer.appendTo(e._wrapper())},_createRollerConfigs:function(e){var t=this;e=e||t.option("type"),t._rollerConfigs={},o.each(t._getFormatPattern(l.FORMATS_MAP[e]).split(/\W+/),function(e,n){o.each(l.DATE_COMPONENTS_INFO,function(e,i){o.inArray(n,i.possibleFormats)>-1&&t._createRollerConfig(e)})})},_createRollerConfig:function(e){for(var t=l.DATE_COMPONENTS_INFO[e],n=this._calculateRollerConfigValueRange(e),i=n.startValue,o=n.endValue,a=t.formatter,r=this.option("showNames"),s=this._getCurrentDate(),c={type:e,setValue:t.setter,valueItems:[],displayItems:[],getIndex:function(e){return e[t.getter]()-i}},d=i;o>=d;d++)c.valueItems.push(d),c.displayItems.push(a(d,r,s));c.selectedIndex=c.getIndex(s),this._rollerConfigs[e]=c},_setActiveRoller:function(e){var t=e&&this._rollers[e.type];o.each(this._rollers,function(){this.toggleActiveState(this===t)})},_updateRollersPosition:function(){var e=this;o.each(this._rollers,function(t){var n=e._rollerConfigs[t].getIndex(e._getCurrentDate());this.option("selectedIndex",n)})},_setRollerState:function(e,t){if(t!==e.selectedIndex){var n=e.valueItems[t],i=e.setValue,o=new Date(this._getCurrentDate()),a=o.getDate();e.type===g.month?a=Math.min(a,l.getMaxMonthDay(o.getFullYear(),n)):e.type===g.year&&(a=Math.min(a,l.getMaxMonthDay(n,o.getMonth()))),o.setDate(a),o[i](n),this.option("value",o),e.selectedIndex=t}e.type===g.year&&(this._refreshMonthRoller(),this._refreshDayRoller()),e.type===g.month&&this._refreshDayRoller()},_refreshMonthRoller:function(){var e=this._rollers[g.month];if(e){this._createRollerConfig(g.month);var t=this._rollerConfigs[g.month];t.displayItems.length!==e.option("items").length&&e.option({items:t.displayItems,selectedIndex:t.selectedIndex
})}},_refreshDayRoller:function(){var e=this._rollers[g.day];if(e){this._createRollerConfig(g.day);var t=this._rollerConfigs[g.day];e.option({items:t.displayItems,selectedIndex:t.selectedIndex})}},_getFormatPattern:function(e){return d.getPatternByFormat(e)},_getCurrentDate:function(){var e=this.option("value"),t=this.option("minDate"),n=this.option("maxDate");return t&&e.getTime()<=t.getTime()?e=t:n&&e.getTime()>=n.getTime()&&(e=n),e},_calculateRollerConfigValueRange:function(e){var t=this._getCurrentDate(),n=this.option("minDate"),i=this.option("maxDate"),o=s.sameYear(t,n),a=o&&t.getMonth()===n.getMonth(),r=s.sameYear(t,i),c=r&&t.getMonth()===i.getMonth(),d=l.DATE_COMPONENTS_INFO[e],u=d.startValue,h=d.endValue;return e===g.year&&(u=n.getFullYear(),h=i.getFullYear()),e===g.month&&(o&&(u=n.getMonth()),r&&(h=i.getMonth())),e===g.day&&(h=l.getMaxMonthDay(t.getFullYear(),t.getMonth()),o&&a&&(u=n.getDate()),r&&c&&(h=i.getDate())),{startValue:u,endValue:h}},_refreshRollers:function(){this._refreshMonthRoller(),this._refreshDayRoller()},_optionChanged:function(e){switch(e.name){case"showNames":case"minDate":case"maxDate":case"type":this._renderRollers(),this._toggleFormatClasses(e.value,e.previousValue);break;case"visible":this.callBase(e),e.value&&this._renderRollers();break;case"value":this.option("value",this._valueOption()),this._refreshRollers(),this._updateRollersPosition();break;default:this.callBase(e)}},_clean:function(){this.callBase(),delete this._$rollersContainer},_dispose:function(){clearTimeout(this._deferredRenderDayTimeout),clearTimeout(this._deferredRenderMonthTimeout),this.callBase()}});c("dxDateView",m),i.exports=m}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(4),s=n(9),l=n(73).default,c=n(22),d="dx-dateviewroller",u="dx-state-active",h="dx-dateviewroller-current",p="dx-dateview-item",f="dx-dateview-item-selected",_="dx-dateview-item-selected-frame",g="dx-dateview-item-selected-border",m=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{showScrollbar:!1,useNative:!1,selectedIndex:0,bounceEnabled:!1,items:[],showOnClick:!1,onClick:null,onSelectedIndexChanged:null})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"win"===e.platform&&e.version&&8===e.version[0]},options:{showOnClick:!0}},{device:{platform:"generic"},options:{scrollByContent:!0}}])},_init:function(){this.callBase(),this._renderSelectedItemFrame()},_render:function(){this.callBase(),o.each(this._strategy._scrollers,function(e,t){t._correctLocation=o.noop}),this.element().addClass(d),this._renderContainerClick(),this._renderItems(),this._renderSelectedValue(),this._renderItemsClick(),this._wrapAction("_endAction",o.proxy(this._endActionHandler,this)),this._renderSelectedIndexChanged()},_renderSelectedIndexChanged:function(){this._selectedIndexChanged=this._createActionByOption("onSelectedIndexChanged")},_renderContainerClick:function(){if(this.option("showOnClick")){var e=r.addNamespace(s.name,this.NAME),t=this._createActionByOption("onClick");this._$container.off(e).on(e,function(e){t({jQueryEvent:e})})}},_wrapAction:function(e,t){var n=this._strategy,i=n[e];n[e]=function(){return t.apply(this,arguments),i.apply(this,arguments)}},_renderItems:function(){var e=this.option("items")||[],t=o();this._$content.empty(),o.each(e,function(){t=t.add(o("<div>").addClass(p).append(this))}),this._$content.append(t),this._$items=t,this.update()},_renderSelectedItemFrame:function(){o("<div>").addClass(_).append(o("<div>").addClass(g)).appendTo(this._$container)},_renderSelectedValue:function(e){var t=this._fitIndex(e||this.option("selectedIndex"));this._moveTo({top:this._getItemPosition(t)}),this._renderActiveStateItem()},_fitIndex:function(e){var t=this.option("items")||[],n=t.length;return e>=n?n-1:0>e?0:e},_getItemPosition:function(e){return Math.round(this._itemHeight()*e)},_renderItemsClick:function(){var e=this._getItemSelector(),t=r.addNamespace(s.name,this.NAME);this.element().off(t,e),this.element().on(t,e,o.proxy(this._itemClickHandler,this))},_getItemSelector:function(){return"."+p},_itemClickHandler:function(e){this.option("selectedIndex",this._itemElementIndex(e.currentTarget))},_itemElementIndex:function(e){return this._itemElements().index(e)},_itemElements:function(){return this.element().find(this._getItemSelector())},_renderActiveStateItem:function(){var e=this.option("selectedIndex");o.each(this._$items,function(t){o(this).toggleClass(f,e===t)})},_moveTo:function(e){e=this._normalizeLocation(e);var t=this._location(),n={x:-(t.left-e.left),y:-(t.top-e.top)};this._isVisible()&&(n.x||n.y)&&(this._strategy._prepareDirections(!0),this._animation?(c.stop(this._$content),c.animate(this._$content,{duration:200,type:"slide",to:{top:e.top}}),delete this._animation):this._strategy.handleMove({delta:n}))},_validate:function(e){return this._strategy.validate(e)},_endActionHandler:function(){var e=this.option("selectedIndex"),t=-this._location().top/this._itemHeight(),n=Math.round(t);this._animation=!0,n===e?this._renderSelectedValue(n):this.option("selectedIndex",n)},_itemHeight:function(){var e=this._$items.first();return e.get(0)&&e.get(0).getBoundingClientRect().height||0},_toggleActive:function(e){this.element().toggleClass(u,e)},_isVisible:function(){return this._$container.is(":visible")},_fireSelectedIndexChanged:function(e,t){this._selectedIndexChanged({value:e,previousValue:t,jQueryEvent:void 0})},_visibilityChanged:function(e){this.callBase(e),e?this._renderSelectedValue(this.option("selectedIndex")):this.toggleActiveState(!1)},toggleActiveState:function(e){this.element().toggleClass(h,e)},_refreshSelectedIndex:function(){var e=this.option("selectedIndex"),t=this._fitIndex(e);t===e?this._renderActiveStateItem():this.option("selectedIndex",t)},_optionChanged:function(e){switch(e.name){case"selectedIndex":this._fireSelectedIndexChanged(e.value,e.previousValue),this._renderSelectedValue(e.value);break;case"items":this._renderItems(),this._refreshSelectedIndex();break;case"onClick":case"showOnClick":this._renderContainerClick();break;case"onSelectedIndexChanged":this._renderSelectedIndexChanged();break;default:this.callBase(e)}}});a("dxDateViewRoller",m),i.exports=m}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(31),r=n(87),s=n(148),l=n(17),c=n(3),d=n(14),u="dx-timeview",h="dx-timeview-clock",p="dx-timeview-field",f="dx-timeview-hourarrow",_="dx-timeview-time-separator",g="dx-timeview-minutearrow",m=function(e,t,n){l.transform?x(e,t,n):v(e,t,n)},v=function(e,t,n){t=t/180*Math.PI;var i=Math.sin(t),o=Math.cos(t);e.css("filter","none");var a=e.width(),r=e.height();e.css("filter",'progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11 = '+o+", M12 = "+-i+", M21 = "+i+", M22 = "+o+")");var s=e.width(),l=e.height(),c=(s-a)/2,d=(l-r)/2;e.css("margin-left",-a/2+(r/2-n)*i-c),e.css("margin-top",r/2-(r/2-n)*o-d)},x=function(e,t,n){e.css("transform","rotate("+t+"deg) translate(0,"+n+"px)")},w=a.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{value:new Date(o.now()),_showClock:!0,_arrowOffset:0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"android"},options:{_arrowOffset:15}},{device:{platform:"generic"},options:{_arrowOffset:5}}])},_getValue:function(){return this.option("value")||new Date},_init:function(){this.callBase(),this.element().addClass(u)},_render:function(){this.callBase(),this._renderBox(),this._updateTime()},_renderBox:function(){var e=o("<div>").appendTo(this.element()),t=[];this.option("_showClock")&&t.push({ratio:1,shrink:0,baseSize:"auto",template:o.proxy(this._renderClock,this)}),t.push({ratio:0,shrink:0,baseSize:50,template:o.proxy(this._renderField,this)}),this._createComponent(e,s,{height:"100%",width:"100%",direction:"col",items:t})},_renderClock:function(e,t,n){this._$hourArrow=o("<div>").addClass(f),this._$minuteArrow=o("<div>").addClass(g),n.addClass(h).append(this._$hourArrow).append(this._$minuteArrow),this.setAria("role","presentation",n)},_updateClock:function(){var e=this._getValue(),t=e.getHours()/12*360+e.getMinutes()/60*30,n=e.getMinutes()/60*360;m(this._$hourArrow,t,this.option("_arrowOffset")),m(this._$minuteArrow,n,this.option("_arrowOffset"))},_renderField:function(){return this._createHourBox(),this._createMinuteBox(),this._createComponent(o("<div>").addClass(p),s,{direction:"row",align:"center",crossAlign:"center",items:[{ratio:0,shrink:0,baseSize:"auto",template:o.proxy(function(){return this._hourBox.element()},this)},{ratio:0,shrink:0,baseSize:"auto",template:o("<div>",{"class":_}).text(d.getTimeSeparator())},{ratio:0,shrink:0,baseSize:"auto",template:o.proxy(function(){return this._minuteBox.element()},this)}]}).element()},_createHourBox:function(){this._hourBox=this._createComponent(o("<div>"),r,o.extend({min:-1,max:24,value:this._getValue().getHours(),onValueChanged:o.proxy(function(e){var t=(24+e.value)%24;this._hourBox.option("value",t);var n=new Date(this._getValue());n.setHours(t),this.option("value",n)},this)},this._getNumberBoxConfig())),this._hourBox.setAria("label","hours")},_createMinuteBox:function(){this._minuteBox=this._createComponent(o("<div>"),r,o.extend({min:-1,max:60,value:this._getValue().getMinutes(),onValueChanged:o.proxy(function(e){var t=(60+e.value)%60;this._minuteBox.option("value",t);var n=new Date(this._getValue());n.setMinutes(t),this.option("value",n)},this)},this._getNumberBoxConfig())),this._minuteBox.setAria("label","minutes")},_getNumberBoxConfig:function(){return{showSpinButtons:!0,disabled:this.option("disabled"),valueFormat:function(e){return(10>e?"0":"")+e}}},_updateField:function(){this._hourBox&&this._hourBox.option("value",this._getValue().getHours()),this._minuteBox&&this._minuteBox.option("value",this._getValue().getMinutes())},_updateTime:function(){this.option("_showClock")&&this._updateClock(),this._updateField()},_visibilityChanged:function(e){e&&this._updateTime()},_toggleDisabledState:function(e){this._hourBox&&this._hourBox.option("disabled",e),this._minuteBox&&this._minuteBox.option("disabled",e)},_optionChanged:function(e){switch(e.name){case"value":this._updateTime(),this.callBase(e);break;case"_arrowOffset":break;case"_showClock":this._invalidate();break;default:this.callBase(e)}}});c("dxTimeView",w),i.exports=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(2),s=n(11),l=n(84),c=n(18),d=n(61),u="dx-widget",h="dx-deferrendering",p="dx-pending-rendering",f="dx-pending-rendering-manual",_="dx-pending-rendering-active",g="dx-visible-while-pending-rendering",m="dx-invisible-while-pending-rendering",v="dx-loadindicator-container",x="dx-deferrendering-load-indicator",w="content",y=["onRendered","onShown"],b=c.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{showLoadIndicator:!1,renderWhen:void 0,animation:void 0,staggerItemSelector:void 0,onRendered:null,onShown:null})},_getAnonymousTemplateName:function(){return w},_init:function(){this.transitionExecutor=new l.TransitionExecutor,this._initElement(),this._initRender(),this._$initialContent=this.element().clone().contents(),this._initActions(),this.callBase()},_initElement:function(){this.element().addClass(h).addClass(v)},_initRender:function(){var e=this,t=this.element(),n=this.option("renderWhen"),i=function(){return e._renderDeferredContent()};n&&n.done?n.done(i):(t.data("dx-render-delegate",i),void 0===n&&t.addClass(f))},_initActions:function(){this._actions={},o.each(y,o.proxy(function(e,t){this._actions[t]=this._createActionByOption(t)||o.noop},this))},_renderContentImpl:function(){this.element().removeClass(u),this.element().append(this._$initialContent),this._setLoadingState()},_renderDeferredContent:function(){var e=this,t=this.element(),n=o.Deferred();return t.removeClass(f),t.addClass(_),this._renderTask=r.executeAsync(function(){e._renderImpl().done(function(){var i={element:t};e._actions.onShown([i]),n.resolve(i)}).fail(function(){n.rejectWith(n,arguments)})}),n.promise()},_isElementInViewport:function(e){var t=e.getBoundingClientRect();return t.bottom>=0&&t.right>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)&&t.left<=(window.innerWidth||document.documentElement.clientWidth)},_animate:function(){var e,t=this,n=this.element(),i=this.option("animation"),a=this.option("staggerItemSelector");return t.transitionExecutor.stop(),i?(a?n.find(a).each(function(){t._isElementInViewport(this)&&t.transitionExecutor.enter(o(this),i)}):t.transitionExecutor.enter(n,i),e=t.transitionExecutor.start()):e=o.Deferred().resolve().promise(),e},_renderImpl:function(){var e=this.element(),t={element:e},n=this._getTemplate(this._getAnonymousTemplateName());return n&&n.render(e.empty()),this._setRenderedState(e),e.trigger("dxcontentrendered"),this._actions.onRendered([t]),this._isRendered=!0,this._animate()},_setLoadingState:function(){var e=this.element(),t=!!e.find("."+g).length;e.addClass(p),t||e.children().addClass(m),this.option("showLoadIndicator")&&this._showLoadIndicator(e)},_showLoadIndicator:function(e){this._$loadIndicator=o("<div/>")[d.publicName()]({visible:!0}).addClass(x),e.append(this._$loadIndicator)},_setRenderedState:function(){var e=this.element();this._$loadIndicator&&this._$loadIndicator.remove(),e.removeClass(p),e.removeClass(_),s.triggerShownEvent(e.children())},_optionChanged:function(e){var t=e.value,n=e.previousValue;switch(e.name){case"renderWhen":n===!1&&t===!0?this._renderOrAnimate():n===!0&&t===!1&&this._setLoadingState();break;case"showLoadIndicator":case"onRendered":case"onShown":break;default:this.callBase(e)}},_renderOrAnimate:function(){var e;return this._isRendered?(this._setRenderedState(),e=this._animate()):e=this._renderDeferredContent(),e},renderContent:function(){return this._renderOrAnimate()},_dispose:function(){this.transitionExecutor.stop(!0),this._renderTask&&this._renderTask.abort(),this._actions=null,this._$initialContent=null,this.callBase()}});a("dxDeferRendering",b),i.exports=b}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(2),s=n(31),l=n(25),c=n(235),d=n(21),u=n(6),h=n(4),p=n(9),f=n(8),_="dx-fileuploader",g="dx-fileuploader-empty",m="dx-fileuploader-show-file-list",v="dx-fileuploader-dragover",x="<input type='file'>",w="dx-fileuploader-wrapper",y="dx-fileuploader-container",b="dx-fileuploader-content",C="dx-fileuploader-input-wrapper",k="dx-fileuploader-input-container",S="dx-fileuploader-input-label",T="dx-fileuploader-input",I="dx-fileuploader-files-container",D="dx-fileuploader-file-container",E="dx-fileuploader-file-info",A="dx-fileuploader-file-status-message",B="dx-fileuploader-file",M="dx-fileuploader-file-name",O="dx-fileuploader-file-size",P="dx-fileuploader-button",R="dx-fileuploader-button-container",V="dx-fileuploader-cancel-button",F="dx-fileuploader-upload-button",L=400,H=function(){return!!window.FormData},z=s.inherit({_supportedKeys:function(){var e=function(e){e.preventDefault();var t=this._selectButton.element();t.trigger(p.name)};return o.extend(this.callBase(),{space:e,enter:e})},_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{value:!0})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{buttonText:{since:"15.1",alias:"selectButtonText"},values:{since:"16.1",alias:"value"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{value:[],selectButtonText:f.format("dxFileUploader-selectFile"),uploadButtonText:f.format("dxFileUploader-upload"),labelText:f.format("dxFileUploader-dropFile"),name:"files[]",multiple:!1,accept:"",uploadUrl:"/",allowCanceling:!0,showFileList:!0,progress:0,readyToUploadMessage:f.format("dxFileUploader-readyToUpload"),uploadedMessage:f.format("dxFileUploader-uploaded"),uploadFailedMessage:f.format("dxFileUploader-uploadFailedMessage"),uploadMode:"instantly",uploadMethod:"POST",uploadHeaders:{},onUploadStarted:null,onUploaded:null,onProgress:null,onUploadError:null,onUploadAborted:null,extendSelection:!0,validationMessageMode:"always",validationMessageOffset:{h:0,v:0},useNativeInputClick:!1,useDragOver:!0,nativeDropSupported:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===u.real().deviceType&&!u.isSimulator()},options:{focusStateEnabled:!0}},{device:[{platform:"android"},{platform:"win"}],options:{validationMessageOffset:{v:0}}},{device:function(){return d.msie&&d.version<=10},options:{useNativeInputClick:!0}},{device:function(e){return"generic"!==u.real().platform},options:{useDragOver:!1}},{device:function(){return!H()},options:{uploadMode:"useForm"}},{device:function(){return d.msie||"generic"!==u.real().platform},options:{nativeDropSupported:!1}}])},_init:function(){this.option("value",[]),this.callBase.apply(this,arguments),this._initFileInput(),this._initLabel(),this._createFiles(),this._createUploadStartedAction(),this._createUploadedAction(),this._createProgressAction(),this._createUploadErrorAction(),this._createUploadAbortedAction()},_initFileInput:function(){this._isCustomClickEvent=!1,this._$fileInput||(this._$fileInput=o(x),this._$fileInput.on("change",o.proxy(this._inputChangeHandler,this)).on("click",o.proxy(function(){return this.option("useNativeInputClick")||this._isCustomClickEvent},this))),this._$fileInput.prop({multiple:this.option("multiple"),name:this.option("name"),accept:this.option("accept"),tabindex:-1})},_inputChangeHandler:function(e){if(!this._doPreventInputChange){var t=this._$fileInput.val().replace(/^.*\\/,""),n=this._$fileInput.prop("files");if(!n||n.length){var i=n?this._getFiles(n):[{name:t}];this._changeValue(i),"instantly"===this.option("uploadMode")&&this._uploadFiles()}}},_shouldFileListBeExtended:function(){return this.option("extendSelection")&&this.option("multiple")},_changeValue:function(e){this._shouldChangeValue=!0;var t=this._shouldFileListBeExtended()?this.option("value").slice():[];this.option("value",t.concat(e)),delete this._shouldChangeValue},_getFiles:function(e){var t=[];return o.each(e,function(e,n){t.push(n)}),t},_initLabel:function(){this._$inputLabel||(this._$inputLabel=o("<div>")),this._$inputLabel.text(this.option("labelText"))},_focusTarget:function(){return this.element().find("."+P)},_render:function(){this.element().addClass(_),this._renderWrapper(),this._renderInputWrapper(),this._renderDragEvents(),this._renderSelectButton(),this._renderInputContainer(),this._renderFiles(),this._renderUploadButton(),this.callBase.apply(this,arguments)},_createFiles:function(){var e=this.option("value");this._files&&0!==e.length&&this._shouldFileListBeExtended()||(this._files=[]),o.each(e.slice(this._files.length),o.proxy(function(e,t){this._files.push(this._createFile(t))},this))},_createUploadStartedAction:function(){this._uploadStartedAction=this._createActionByOption("onUploadStarted")},_createUploadedAction:function(){this._uploadedAction=this._createActionByOption("onUploaded")},_createProgressAction:function(){this._progressAction=this._createActionByOption("onProgress")},_createUploadAbortedAction:function(){this._uploadAbortedAction=this._createActionByOption("onUploadAborted")},_createUploadErrorAction:function(){this._uploadErrorAction=this._createActionByOption("onUploadError")},_createFile:function(e){return{value:e,loadedSize:0,onProgress:o.Callbacks(),onAbort:o.Callbacks(),onLoad:o.Callbacks(),onError:o.Callbacks(),onLoadStart:o.Callbacks()}},_renderFiles:function(){var e=this.option("value");this._$filesContainer?this._shouldFileListBeExtended()&&0!==e.length||this._$filesContainer.empty():this._$filesContainer=o("<div>").addClass(I).appendTo(this._$content);var t=this.option("showFileList");if(t){var n=this;o.each(this._files,function(e,t){t.$file||n._renderFile(t)})}this.element().toggleClass(m,t),this.element().toggleClass(g,!this._files.length),this._updateFileNameMaxWidth(),this._$validationMessage&&this._$validationMessage.dxOverlay("repaint")},_renderFile:function(e){var t=e.value,n=o("<div>").addClass(D).appendTo(this._$filesContainer);this._renderFileButtons(e,n),e.$file=o("<div>").addClass(B).appendTo(n);var i=o("<div>").addClass(E).appendTo(e.$file);e.$statusMessage=o("<div>").addClass(A).text(this.option("readyToUploadMessage")).appendTo(e.$file),o("<div>").addClass(M).text(t.name).appendTo(i),r.isDefined(t.size)&&o("<div>").addClass(O).text(this._getFileSize(t.size)).appendTo(i)},_updateFileNameMaxWidth:function(){var e=this.option("allowCanceling")?1:0,t="useButtons"===this.option("uploadMode")?1:0,n=this._$filesContainer.width(),i=this._$filesContainer.find("."+R).eq(0),o=i.width()*(e+t),a=this._$filesContainer.find("."+O).eq(0),r=a.text();a.text("1000 Mb");var s=a.width();a.text(r),this._$filesContainer.find("."+M).css("max-width",n-o-s)},_renderFileButtons:function(e,t){e.cancelButton=this._createComponent(o("<div>").addClass(P+" "+V),l,{onClick:o.proxy(function(){this._removeFile(e)},this),icon:"close",visible:this.option("allowCanceling"),_templates:{}}),o("<div>").addClass(R).append(e.cancelButton.element()).appendTo(t),"useButtons"===this.option("uploadMode")&&(e.uploadButton=this._createComponent(o("<div>").addClass(P+" "+F),l,{onClick:o.proxy(function(t){this._uploadFile(e)},this),icon:"upload"}),o("<div>").addClass(R).append(e.uploadButton.element()).appendTo(t),e.onLoadStart.add(o.proxy(function(){e.uploadButton.element().remove()},this)))},_removeFile:function(e){e.$file.parent().remove(),this._files.splice(o.inArray(e,this._files),1);var t=this.option("value").slice();t.splice(o.inArray(e.value,t),1),this._shouldChangeValue=this._doPreventRecreatingFiles=!0,this.option("value",t),this._shouldChangeValue=this._doPreventRecreatingFiles=!1,this.element().toggleClass(g,!this._files.length),this._doPreventInputChange=!0,this._$fileInput.val(""),this._doPreventInputChange=!1},_getFileSize:function(e){for(var t=0,n=[f.format("dxFileUploader-bytes"),f.format("dxFileUploader-kb"),f.format("dxFileUploader-Mb"),f.format("dxFileUploader-Gb")],i=n.length-1;i>t&&e>=1024;)e/=1024,t++;return Math.round(e)+" "+n[t]},_renderSelectButton:function(){var e=o("<div>").addClass(P).appendTo(this._$inputWrapper);this._selectButton=this._createComponent(e,l,{text:this.option("selectButtonText"),focusStateEnabled:!1,_templates:{}}),"desktop"===u.real().deviceType?this._selectButton.option("onClick",o.proxy(this._selectButtonClickHandler,this)):e.off("click").on("click",o.proxy(this._selectButtonClickHandler,this))},_selectButtonClickHandler:function(){if(!this.option("useNativeInputClick")){if(this.option("disabled"))return!1;this._isCustomClickEvent=!0,this._$fileInput.click(),this._isCustomClickEvent=!1}},_renderUploadButton:function(){if("useButtons"===this.option("uploadMode")){var e=o("<div>").addClass(P).addClass(F).appendTo(this._$content);this._uploadButton=this._createComponent(e,l,{text:this.option("uploadButtonText"),onClick:o.proxy(this._uploadButtonClickHandler,this),_templates:{}})}},_uploadButtonClickHandler:function(){this._uploadFiles()},_shouldDragOverBeRendered:function(){return"useForm"!==this.option("uploadMode")||this.option("nativeDropSupported")},_renderInputContainer:function(){this._$inputContainer=o("<div>").addClass(k).appendTo(this._$inputWrapper),this._shouldDragOverBeRendered()||this._$inputContainer.css("display","none"),this._$fileInput.addClass(T),this._renderInput(),this._$inputLabel.addClass(S).appendTo(this._$inputContainer)},_renderInput:function(){this.option("useNativeInputClick")&&"useForm"===this.option("uploadMode")?this._selectButton.option("template",o.proxy(this._selectButtonInputTemplate,this)):(this._$fileInput.appendTo(this._$inputContainer),this._selectButton.option("template","content"))},_selectButtonInputTemplate:function(e,t){var n=o("<span>").addClass("dx-button-text").text(e.text);return t.append(n).append(this._$fileInput),t},_renderInputWrapper:function(){this._$inputWrapper=o("<div>").addClass(C).appendTo(this._$content)},_renderDragEvents:function(){this._$inputWrapper.off("."+this.NAME),this._shouldDragOverBeRendered()&&(this._dragEventsCount=0,this._$inputWrapper.on(h.addNamespace("dragenter",this.NAME),o.proxy(this._dragEnterHandler,this)).on(h.addNamespace("dragover",this.NAME),o.proxy(this._dragOverHandler,this)).on(h.addNamespace("dragleave",this.NAME),o.proxy(this._dragLeaveHandler,this)).on(h.addNamespace("drop",this.NAME),o.proxy(this._dropHandler,this)))},_useInputForDrop:function(){return this.option("nativeDropSupported")&&"useForm"===this.option("uploadMode")},_dragEnterHandler:function(e){return this.option("disabled")?!1:(this._useInputForDrop()||e.preventDefault(),this._dragEventsCount++,void this.element().addClass(v))},_dragOverHandler:function(e){this._useInputForDrop()||e.preventDefault()},_dragLeaveHandler:function(e){this._useInputForDrop()||e.preventDefault(),this._dragEventsCount--,this._dragEventsCount<=0&&this.element().removeClass(v)},_dropHandler:function(e){if(this._dragEventsCount=0,this.element().removeClass(v),!this._useInputForDrop()){e.preventDefault();var t=e.originalEvent.dataTransfer.files,n=this._getFiles(t);!this.option("multiple")&&n.length>1||(this._changeValue(this._filterFiles(n)),"instantly"===this.option("uploadMode")&&this._uploadFiles())}},_filterFiles:function(e){if(!e.length)return e;var t=this.option("accept");if(!t.length)return e;for(var n=[],i=this._getAllowedFileTypes(t),o=0,a=e.length;a>o;o++)this._isFileTypeAllowed(e[o],i)&&n.push(e[o]);return n},_getAllowedFileTypes:function(e){return e.length?e.split(",").map(function(e){return e.trim()}):[]},_isFileTypeAllowed:function(e,t){for(var n=0,i=t.length;i>n;n++){var o=t[n];if("."===o[0]){if(o=o.replace(".","\\."),e.name.match(o))return!0}else if(o=o.replace("*",""),e.type.match(o))return!0}return!1},_renderWrapper:function(){var e=o("<div>").addClass(w).appendTo(this.element()),t=o("<div>").addClass(y).appendTo(e);this._$content=o("<div>").addClass(b).appendTo(t)},_clean:function(){this._$fileInput.detach(),delete this._$filesContainer,this.callBase.apply(this,arguments)},_uploadFiles:function(){H()&&o.each(this._files,o.proxy(function(e,t){this._uploadFile(t)},this))},_uploadFile:function(e){if(!e.uploadStarted){var t=e.$file,n=e.value;this._initUploadRequest(e),t&&(e.progressBar=this._createProgressBar(n.size),e.progressBar.element().appendTo(t),this._initStatusMessage(e),this._initCancelButton(e)),e.onLoadStart.add(o.proxy(this._onUploadStarted,this,e)),e.onLoad.add(o.proxy(this._onLoadedHandler,this,e)),e.onError.add(o.proxy(this._onErrorHandler,this,e)),e.onAbort.add(o.proxy(this._onAbortHandler,this,e)),e.onProgress.add(o.proxy(this._onProgressHandler,this,e)),e.request.send(this._createFormData(this.option("name"),n))}},_onUploadStarted:function(e,t){e.uploadStarted=!0,this._uploadStartedAction({file:e.value,jQueryEvent:t})},_onErrorHandler:function(e,t){var n=this;setTimeout(function(){n.option("showFileList")&&(e.$statusMessage.text(n.option("uploadFailedMessage")),e.$statusMessage.css("display",""),e.progressBar.element().remove())},L),this._uploadErrorAction({file:e.value,jQueryEvent:t})},_onAbortHandler:function(e,t){this._uploadAbortedAction({file:e.value,jQueryEvent:t})},_onLoadedHandler:function(e,t){var n=this;setTimeout(function(){n.option("showFileList")&&(e.$statusMessage.text(n.option("uploadedMessage")),e.$statusMessage.css("display",""),e.progressBar.element().remove())},L),this._uploadedAction({file:e.value,jQueryEvent:t})},_onProgressHandler:function(e,t){var n=this._getTotalSize(),i=0,o=this._getLoadedSize(),a=0;if(e){i=Math.min(t.loaded,e.value.size);var r=i-e.loadedSize;o+=r,e.progressBar&&e.progressBar.option({value:i,showStatus:!0}),this._progressAction({file:e.value,segmentSize:r,bytesLoaded:t.loaded,jQueryEvent:t}),e.loadedSize=i}n&&(a=Math.round(o/n*100)),this.option("progress",a),this._setLoadedSize(o)},_initStatusMessage:function(e){e.$statusMessage.css("display","none")},_initCancelButton:function(e){var t=o.proxy(function(){e.request.abort(),this._removeFile(e)},this);e.cancelButton.option("onClick",t);var n=function(){setTimeout(function(){e.cancelButton.option({visible:!1})},L)};e.onLoad.add(n),e.onError.add(n)},_initUploadRequest:function(e){var t=this;e.request=this._createRequest(this.option("uploadUrl")),e.loadedSize=0,this._initUploadHeaders(e.request),e.request.onreadystatechange=o.proxy(function(e){if(4===e.currentTarget.readyState){var n=e.currentTarget.status;t._isStatusSuccess(n)?this.onLoad.fire(e):!t._isStatusError(n)&&this._isProgressStarted||(this._isError=!0,this.onError.fire(e))}},e),e.request.upload.onprogress=o.proxy(function(e){this._isError||(this._isProgressStarted=!0,this.onProgress.fire(e))},e),e.request.upload.onloadstart=o.proxy(function(e){this.onLoadStart.fire(e)},e),e.request.upload.onabort=o.proxy(function(e){this.onAbort.fire(e)},e)},_initUploadHeaders:function(e){var t=this.option("uploadHeaders");for(var n in t)t.hasOwnProperty(n)&&e.setRequestHeader(n,t[n])},_isStatusSuccess:function(e){return e>=200&&300>e},_isStatusError:function(e){return e>=400&&500>e||e>=500&&600>e},_createRequest:function(e){var t=new XMLHttpRequest;return t.open(this.option("uploadMethod"),e,!0),t},_createFormData:function(e,t){var n=new FormData;return n.append(e,t),n},_createProgressBar:function(e){return this._createComponent(o("<div>"),c,{value:void 0,min:0,max:e,statusFormat:function(e){return Math.round(100*e)+"%"},showStatus:!1,statusPosition:"right"})},_getTotalSize:function(){if(!this._totalSize){var e=this.option("value"),t=0;o.each(e,function(e,n){t+=n.size}),this._totalSize=t}return this._totalSize},_getLoadedSize:function(){if(!this._loadedSize){var e=0;o.each(this._files,function(t,n){e+=n.loadedSize}),this._loadedSize=e}return this._loadedSize},_setLoadedSize:function(e){this._loadedSize=e},_recalculateProgress:function(){delete this._totalSize,delete this._loadedSize,this._onProgressHandler()},_getValidationMessageTarget:function(){return this._$inputWrapper},_optionChanged:function(e){var t=e.value;switch(e.name){case"height":case"width":this._updateFileNameMaxWidth(),this.callBase(e);break;case"value":!this._shouldChangeValue&&t.length>0?(this._$fileInput.val(""),this.option("value",[])):(this._doPreventRecreatingFiles||(this._createFiles(),this._renderFiles()),this._recalculateProgress()),this.callBase(e);break;case"name":case"accept":this._initFileInput();break;case"multiple":this._initFileInput(),e.value||this.reset();break;case"selectButtonText":this._selectButton.option("text",t);break;case"uploadButtonText":this._uploadButton&&this._uploadButton.option("text",t);break;case"readyToUploadMessage":case"uploadedMessage":case"uploadFailedMessage":this._invalidate();break;case"labelText":this._$inputLabel.text(t);break;case"showFileList":this._renderFiles();break;case"uploadUrl":case"progress":case"uploadMethod":case"uploadHeaders":case"extendSelection":break;case"allowCanceling":case"uploadMode":this.reset(),this._invalidate();break;case"onUploadStarted":this._createUploadStartedAction();break;case"onUploaded":this._createUploadedAction();break;case"onProgress":this._createProgressAction();break;case"onUploadError":this._createUploadErrorAction();break;case"onUploadAborted":this._createUploadAbortedAction();break;case"useNativeInputClick":this._renderInput();break;case"useDragOver":this._renderDragEvents();break;case"nativeDropSupported":this._invalidate();break;default:this.callBase(e)}},reset:function(){this.option("value",[])}});a("dxFileUploader",z),i.exports=z}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(33),s=n(2),l=n(26),c=n(19),d=n(11),u=n(8),h=n(18),p=n(57),f=n(65),_=(n(373),n(245)),g=n(73).default;n(185),n(252);var m="dx-form",v="dx-field-item",x="dx-field-item-label-text",w="dx-form-group",y="dx-form-group-content",b="dx-form-group-with-caption",C="dx-form-group-caption",k="dx-layout-manager-hidden-label",S="dx-field-item-label",T="dx-field-item-label-content",I="dx-field-item-tab",D="dx-col-",E="dx-group-colcount-",A="dx-field-item-content",B="dx-form-validation-summary",M="dx-widget",O=h.inherit({
_init:function(){this.callBase(),this._groupsColCount=[]},_getDefaultOptions:function(){return o.extend(this.callBase(),{formID:new r,formData:{},colCount:1,screenByWidth:null,colCountByScreen:void 0,labelLocation:"left",readOnly:!1,onFieldDataChanged:null,customizeItem:null,onEditorEnterKey:null,minColWidth:200,alignItemLabels:!0,alignItemLabelsInAllGroups:!0,showColonAfterLabel:!0,showRequiredMark:!0,showOptionalMark:!1,requiredMark:"*",optionalMark:u.format("dxForm-optionalMark"),requiredMessage:u.getFormatter("dxForm-requiredMessage"),showValidationSummary:!1,items:void 0,scrollingEnabled:!1})},_getColCount:function(e){for(var t,n=0,i=!0;i;)t=e.find("."+D+n),t.length?n++:i=!1;return n},_createHiddenElement:function(e){this._$hiddenElement=o("<div/>").addClass(M).addClass(k).appendTo(document.body);var t=e._renderLabel({text:" ",location:this.option("labelLocation")}).appendTo(this._$hiddenElement);this._hiddenLabelText=t.find("."+x)[0]},_removeHiddenElement:function(){this._$hiddenElement.remove(),this._hiddenLabelText=null},_getLabelWidthByText:function(e){return this._hiddenLabelText.innerHTML=e,this._hiddenLabelText.offsetWidth},_getLabelsSelectorByCol:function(e,t){t=t||{};var n=t.excludeTabbed?":not(."+I+")":"";return"."+(t.inOneColumn?v:D+e)+n+"> ."+S+" > ."+T},_getLabelText:function(e){var t,n,i=e.children.length,o="";for(n=0;i>n;n++)t=e.children[n],o+=l.isEmpty(t.innerText)?t.innerHTML:t.innerText;return o},_applyLabelsWidthByCol:function(e,t,n){var i,o,a=e.find(this._getLabelsSelectorByCol(t,n)),r=a.length,s=0;for(o=0;r>o;o++)i=this._getLabelWidthByText(this._getLabelText(a[o])),i>s&&(s=i);for(o=0;r>o;o++)a[o].style.width=s+"px"},_applyLabelsWidth:function(e,t,n){var i,o=n?1:this._getColCount(e),a={excludeTabbed:t,inOneColumn:n};for(i=0;o>i;i++)this._applyLabelsWidthByCol(e,i,a)},_getGroupElementsInColumn:function(e,t,n){var i=s.isDefined(n)?"."+E+n:"";return e.find("."+D+t+" > ."+A+" > ."+w+i)},_applyLabelsWidthWithGroups:function(e,t,n){var i,o,a,r,s,l=this.option("alignItemLabelsInAllGroups"),c={excludeTabbed:n};if(l)for(i=0;t>i;i++)for(s=this._getGroupElementsInColumn(e,i),this._applyLabelsWidthByCol(s,0,c),o=0;o<this._groupsColCount.length;o++){s=this._getGroupElementsInColumn(e,i,this._groupsColCount[o]),r=this._getColCount(s);for(var d=1;r>d;d++)this._applyLabelsWidthByCol(s,d,c)}else for(a=this.element().find("."+w),i=0;i<a.length;i++)this._applyLabelsWidth(a.eq(i),n)},_alignLabelsInColumn:function(e){this._createHiddenElement(e.layoutManager),e.inOneColumn?this._applyLabelsWidth(e.$container,e.excludeTabbed,!0):this._checkGrouping(e.items)?this._applyLabelsWidthWithGroups(e.$container,e.layoutManager._getColCount(),e.excludeTabbed):this._applyLabelsWidth(e.$container,e.excludeTabbed),this._removeHiddenElement()},_render:function(){this._clearEditorInstances(),this.callBase(),this.element().addClass(m),this._cachedScreenFactor=p.getCurrentScreenFactor(this.option("screenByWidth"))},_clearEditorInstances:function(){this._editorInstancesByField={}},_alignLabels:function(e,t){this._alignLabelsInColumn({$container:this.element(),layoutManager:e,excludeTabbed:!0,items:this.option("items"),inOneColumn:t})},_clean:function(){this.callBase(),this._groupsColCount=[]},_renderContentImpl:function(){this.callBase(),this._renderForm(),this._renderValidationGroup(),this.option("scrollingEnabled")&&this._renderScrollable(),this._renderLayout(),this._renderValidationSummary()},_renderScrollable:function(){var e=this.option("useNativeScrolling");this._scrollable=new g(this._$form,{useNative:!!e,useSimulatedScrollbar:!e,useKeyboard:!1,direction:"both",bounceEnabled:!1})},_getContent:function(){return this.option("scrollingEnabled")?this._scrollable.content():this._$form},_renderForm:function(){var e=this.element();this._$form=o("<form>").appendTo(e),this.setAria("role","form",e)},_renderValidationGroup:function(){this._$form.dxValidationGroup()},_renderValidationSummary:function(){var e=this,t=e._$form.find("."+B);t.length>0&&t.remove(),this.option("showValidationSummary")&&o("<div/>").addClass(B).dxValidationSummary({validationGroup:e}).appendTo(e._getContent())},_prepareItems:function(e,t){if(e){var n,i,a,r=this,l=[];for(n=0;n<e.length;n++)i=e[n],a=s.isObject(i)?o.extend({},i):i,r._prepareGroupItem(a),r._prepareTabbedItem(a),r._prepareItemTemplate(a),s.isObject(a)&&(t&&(a.cssItemClass=I),a.items=this._prepareItems(a.items,t)),l.push(a);return l}},_prepareGroupItem:function(e){"group"===e.itemType&&(e.alignItemLabels=s.ensureDefined(e.alignItemLabels,!0),e.template&&(e.groupContentTemplate=this._getTemplate(e.template)),e.template=o.proxy(this._itemGroupTemplate,this,e))},_prepareTabbedItem:function(e){"tabbed"===e.itemType&&(e.template=o.proxy(this._itemTabbedTemplate,this,e),e.tabs=this._prepareItems(e.tabs,!0))},_prepareItemTemplate:function(e){e.template&&(e.template=this._getTemplate(e.template))},_checkGrouping:function(e){if(e)for(var t=0;t<e.length;t++){var n=e[t];if("group"===n.itemType)return!0}},_renderLayout:function(){var e=this,t=e.option("items"),n=e._getContent();t=e._prepareItems(t),e._rootLayoutManager=e._renderLayoutManager(t,n,{colCount:e.option("colCount"),width:this.option("width"),alignItemLabels:e.option("alignItemLabels"),screenByWidth:this.option("screenByWidth"),colCountByScreen:this.option("colCountByScreen"),onLayoutChanged:function(t){o.proxy(e._alignLabels,e)(e._rootLayoutManager,t)},onContentReady:function(t){e._alignLabels(t.component,t.component.isLayoutChanged())}})},_itemTabbedTemplate:function(e,t,n){var i=this,a=o("<div/>").appendTo(n),r=o.extend({},e.tabPanelOptions,{dataSource:e.tabs,onItemRendered:function(e){d.triggerShownEvent(e.itemElement)},itemTemplate:function(e,t,n){var a,r=s.ensureDefined(e.alignItemLabels,!0);a=i._renderLayoutManager(e.items,n,{colCount:e.colCount,alignItemLabels:r,screenByWidth:this.option("screenByWidth"),colCountByScreen:e.colCountByScreen,cssItemClass:e.cssItemClass,onLayoutChanged:function(t){o.proxy(i._alignLabelsInColumn,i)({$container:n,layoutManager:a,items:e.items,inOneColumn:t})}}),r&&o.proxy(i._alignLabelsInColumn,i)({$container:n,layoutManager:a,items:e.items,inOneColumn:a.isLayoutChanged()})}});i._createComponent(a,_,r)},_itemGroupTemplate:function(e,t,n){var i,a,r,l=o("<div/>").appendTo(n).toggleClass(b,s.isDefined(e.caption)&&e.caption.length).addClass(w);if(e.caption&&o("<span/>").addClass(C).text(e.caption).appendTo(l),i=o("<div/>").addClass(y).appendTo(l),e.groupContentTemplate){var c={formData:this.option("formData"),component:this};e.groupContentTemplate.render(c,i)}else r=this._renderLayoutManager(e.items,i,{colCount:e.colCount,colCountByScreen:e.colCountByScreen,alignItemLabels:e.alignItemLabels,cssItemClass:e.cssItemClass}),a=r._getColCount(),-1===o.inArray(a,this._groupsColCount)&&this._groupsColCount.push(a),l.addClass(E+a)},_renderLayoutManager:function(e,t,n){var i,a=o("<div />"),r=this,s=o.extend({items:e,showRequiredMark:this.option("showRequiredMark"),showOptionalMark:this.option("showOptionalMark"),requiredMark:this.option("requiredMark"),optionalMark:this.option("optionalMark"),requiredMessage:this.option("requiredMessage"),screenByWidth:this.option("screenByWidth"),form:r,layoutData:this.option("formData"),labelLocation:this.option("labelLocation"),customizeItem:this.option("customizeItem"),minColWidth:this.option("minColWidth"),showColonAfterLabel:this.option("showColonAfterLabel"),onEditorEnterKey:this.option("onEditorEnterKey"),onContentReady:function(e){r._updateEditorInstancesFromLayoutManager(e.component._editorInstancesByField),n.onContentReady&&n.onContentReady(e)},onFieldDataChanged:function(e){r._updateFieldValue(e.dataField,e.value)}},{colCount:n.colCount,alignItemLabels:n.alignItemLabels,cssItemClass:n.cssItemClass,colCountByScreen:n.colCountByScreen,onLayoutChanged:n.onLayoutChanged,width:n.width,validationBoundary:r.option("scrollingEnabled")?r.element():void 0});return a.appendTo(t),i=r._createComponent(a,"dxLayoutManager",s),r._attachSyncSubscriptions(i),i},_updateEditorInstancesFromLayoutManager:function(e){o.extend(this._editorInstancesByField,e)},_createComponent:function(e,t,n){var i=this;return n=n||{},i._extendConfig(n,{readOnly:i.option("readOnly")}),i.callBase(e,t,n)},_attachSyncSubscriptions:function(e){var t=this;t.on("optionChanged",function(n){var i="formData.";if(0===n.fullName.search(i)){var o=n.fullName.replace(i,"layoutData.");e.option(o,n.value)}s.isDefined(t.option("items"))&&"formData"===n.fullName&&e.updateData(n.value),"readOnly"===n.name&&e.option(n.fullName,n.value)})},_optionChanged:function(e){var t=this._getRootLevelOfExpectedComplexOption(e.fullName,["formData","items"]);if(t)return void this._customHandlerOfComplexOption(e,t);switch(e.name){case"formData":s.isDefined(this._options.items)?o.isEmptyObject(e.value)&&this._resetValues():(this._options[e.name]=e.value,this._invalidate(),this._triggerOnFieldDataChangedByDataSet(e.value));break;case"items":case"colCount":case"onFieldDataChanged":case"onEditorEnterKey":case"labelLocation":case"alignItemLabels":case"showColonAfterLabel":case"customizeItem":case"alignItemLabelsInAllGroups":case"showRequiredMark":case"showOptionalMark":case"requiredMark":case"optionalMark":case"requiredMessage":case"scrollingEnabled":case"formID":case"colCountByScreen":case"screenByWidth":this._invalidate();break;case"showValidationSummary":this._renderValidationSummary();break;case"minColWidth":"auto"===this.option("colCount")&&this._invalidate();break;case"readOnly":break;case"width":this.callBase(e),this._rootLayoutManager.option(e.name,e.value),this._alignLabels(this._rootLayoutManager,this._rootLayoutManager.isLayoutChanged());break;case"visible":this.callBase(e),e.value&&d.triggerShownEvent(this.element());break;default:this.callBase(e)}},_getRootLevelOfExpectedComplexOption:function(e,t){var n,i=e.split(".");if(i.length>1){var o,a=i[0];for(o=0;o<t.length;o++)-1!==a.search(t[o])&&(n=t[o])}return n},_customHandlerOfComplexOption:function(e,t){var n=e.fullName.split(".");switch(t){case"items":var i,o,a,r=this._getItemPath(n),s=this.option(r);-1!==e.fullName.search("editorOptions")?(i=this.getEditor(s.dataField),i&&i.option(s.editorOptions)):s&&(a=e.fullName.replace(r+".",""),this._changeItemOption(s,a,e.value),o=this._generateItemsFromData(this.option("items")),this.option("items",o));break;case"formData":var l=n.slice(1).join(".");this._triggerOnFieldDataChanged({dataField:l,value:e.value})}},_getItemPath:function(e){var t,n=e[0];for(t=1;t<e.length&&-1!==e[t].search("items");t++)n+="."+e[t];return n},_triggerOnFieldDataChanged:function(e){this._createActionByOption("onFieldDataChanged")(e)},_triggerOnFieldDataChangedByDataSet:function(e){var t=this;e&&s.isObject(e)&&o.each(e,function(e,n){t._triggerOnFieldDataChanged({dataField:e,value:n})})},_updateFieldValue:function(e,t){s.isDefined(this.option("formData"))&&this.option("formData."+e,t)},_generateItemsFromData:function(e){var t=this.option("formData"),n=[];return!e&&s.isDefined(t)&&o.each(t,function(e,t){n.push({dataField:e})}),e&&o.each(e,function(e,t){s.isObject(t)?n.push(t):n.push({dataField:t})}),n},_getItemByField:function(e,t){var n,i=this,a=s.isObject(e)?e:i._getFieldParts(e),r=a.fieldName,l=a.fieldPath;return t.length&&o.each(t,function(e,t){var o=t.itemType;if(l.length){var a=l.slice();t=i._getItemByFieldPath(a,r,t)}else"group"!==o||t.caption||(t.items=i._generateItemsFromData(t.items),t=i._getItemByField({fieldName:r,fieldPath:l},t.items));return t&&(t.dataField===r||t.name===r||"group"===t.itemType&&i._getTextWithoutSpaces(t.caption)===r||i._getTextWithoutSpaces(t.title)===r)?(n=t,!1):void 0}),n},_getFieldParts:function(e){for(var t=".",n=e,i=n.indexOf(t),o=[];-1!==i;)o.push(n.substr(0,i)),n=n.substr(i+1),i=n.indexOf(t);return{fieldName:n,fieldPath:o.reverse()}},_getItemByFieldPath:function(e,t,n){var i,o=this,a=n.itemType,r=o._getSubItemField(a),l="group"===a||"tabbed"===a||n.title;do{if(!l)break;var c,d=s.isDefined(n.caption||n.title),u=o._getTextWithoutSpaces(n.caption||n.title);if(n[r]=o._generateItemsFromData(n[r]),d&&(c=e.pop()),!e.length&&(i=o._getItemByField(t,n[r])))break;(!d||d&&u===c)&&e.length&&(i=o._searchItemInEverySubitem(e,t,n[r]))}while(e.length&&i!==!1);return i},_getSubItemField:function(e){return"tabbed"===e?"tabs":"items"},_searchItemInEverySubitem:function(e,t,n){var i,a=this;return o.each(n,function(n,o){return i=a._getItemByFieldPath(e,t,o),i?!1:void 0}),i||(i=!1),i},_getTextWithoutSpaces:function(e){return e?e.replace(" ",""):void 0},_changeItemOption:function(e,t,n){s.isObject(e)&&(e[t]=n)},_dimensionChanged:function(){var e=p.getCurrentScreenFactor(this.option("screenByWidth"));return this._cachedScreenFactor!==e?(this._cachedScreenFactor=e,void this._refresh()):void("auto"===this.option("colCount")&&this._refresh())},_refresh:function(){this.element().find(".dx-state-focused input, .dx-state-focused textarea").trigger("change"),this.callBase()},_resetValues:function(){o.each(this._editorInstancesByField,function(e,t){t.reset(),t.option("isValid",!0)})},_updateData:function(e,t,n){var i=this,a=n?t:e;s.isObject(a)?o.each(a,function(t,o){i._updateData(n?e+"."+t:t,o,s.isObject(o))}):s.isString(e)&&i._updateFieldValue(e,t)},registerKeyHandler:function(e,t){this.callBase(e,t),o.each(this._editorInstancesByField,function(n,i){i.registerKeyHandler(e,t)})},_focusTarget:function(){return this.element().find(".dx-field-item-content [tabindex]").first()},resetValues:function(){this._resetValues()},updateData:function(e,t){this._updateData(e,t)},getEditor:function(e){return this._editorInstancesByField[e]},updateDimensions:function(){var e=this,t=o.Deferred();return e._scrollable?e._scrollable.update().done(function(){t.resolveWith(e)}):t.resolveWith(e),t.promise()},itemOption:function(e,t,n){var i=this,a=arguments.length,r=i._generateItemsFromData(i.option("items")),l=i._getItemByField(e,r);return 1===a?l:(3===a?i._changeItemOption(l,t,n):s.isObject(t)&&o.each(t,function(e,t){i._changeItemOption(l,e,t)}),void this.option("items",r))},validate:function(){try{return f.validateGroup(this)}catch(e){c.log("E1036",e.message)}}});a("dxForm",O),i.exports=O}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(33),r=n(3),s=n(2),l=n(72).isWrapped,c=n(72).isWritableWrapped,d=n(57),u=n(26),h=n(9),p=n(41).normalizeIndexes,f=n(19),_=n(8),g=n(17),m=n(29),v=n(18),x=n(157),w=n(236);n(94),n(87),n(109),n(160);var y="dxTextBox",b="dx-field-item",C="dx-field-empty-item",k="dx-field-item-required",S="dx-field-item-optional",T="dx-field-item-required-mark",I="dx-field-item-optional-mark",D="dx-field-item-label",E="dx-field-item-label-align",A="dx-field-item-label-content",B="dx-field-item-label-text",M="dx-field-item-label-location-",O="dx-field-item-content",P="dx-field-item-content-location-",R="dx-field-item-content-wrapper",V="dx-field-item-help-text",F="dx-layout-manager",L="dx-label-h-align",H="dx-label-v-align",z="dx-first-row",N="dx-first-col",W="dx-last-col",G="dx-flex-layout",$="dx-layout-manager-one-col",q=v.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{layoutData:{},readOnly:!1,colCount:1,colCountByScreen:void 0,labelLocation:"left",onFieldDataChanged:null,onEditorEnterKey:null,customizeItem:null,alignItemLabels:!0,minColWidth:200,showRequiredMark:!0,screenByWidth:null,showOptionalMark:!1,requiredMark:"*",optionalMark:_.format("dxForm-optionalMark"),requiredMessage:_.getFormatter("dxForm-requiredMessage")})},_init:function(){this.callBase(),this._syncDataWithItems(),this._updateItems(this.option("layoutData"))},_syncDataWithItems:function(){var e=this,t=e.option("items");s.isDefined(t)&&o.each(t,function(t,n){var i;n.dataField&&void 0===e._getDataByField(n.dataField)&&(n.editorOptions&&(i=n.editorOptions.value),e._updateFieldValue(n.dataField,i))})},_getDataByField:function(e){return e?this.option("layoutData."+e):null},_updateFieldValue:function(e,t){var n=this.option("layoutData");if(!l(n[e])&&s.isDefined(e))this.option("layoutData."+e,t),this._triggerOnFieldDataChanged({dataField:e,value:t});else if(c(n[e])){var i=s.isFunction(t)?t():t;n[e](i)}},_triggerOnFieldDataChanged:function(e){this._createActionByOption("onFieldDataChanged")(e)},_updateItems:function(e){var t,n,i=this,a=this.option("items"),r=i.option("customizeItem");t=s.isDefined(a)?a:this._generateItemsByData(e),s.isDefined(t)&&(n=[],o.each(t,function(e,t){if(i._isAcceptableItem(t)){t=i._processItem(t),r&&r(t);var o=s.isDefined(t.visible);(s.isObject(t)&&!o||o&&t.visible)&&n.push(t)}}),this._items=n,this._sortItems())},_generateItemsByData:function(e){var t=[];return s.isDefined(e)&&o.each(e,function(e,n){t.push({dataField:e})}),t},_isAcceptableItem:function(e){var t=e.dataField||e,n=this.option("layoutData."+t);return!(s.isFunction(n)&&!l(n))},_processItem:function(e){if("string"==typeof e&&(e={dataField:e}),"object"!=typeof e||e.itemType||(e.itemType="simple"),!s.isDefined(e.editorType)&&s.isDefined(e.dataField)){var t=this._getDataByField(e.dataField);e.editorType=s.isDefined(t)?this._getEditorTypeByDataType(o.type(t)):y}return e},_getEditorTypeByDataType:function(e){switch(e){case"number":return"dxNumberBox";case"date":return"dxDateBox";case"boolean":return"dxCheckBox";default:return"dxTextBox"}},_sortItems:function(){p(this._items,"visibleIndex"),this._sortIndexes()},_sortIndexes:function(){this._items.sort(function(e,t){var n,i=e.visibleIndex,o=t.visibleIndex;return n=i>o?1:o>i?-1:0})},_render:function(){this._clearEditorInstances(),this.element().addClass(F),this.callBase()},_clearEditorInstances:function(){this._editorInstancesByField={}},_hasBrowserFlex:function(){return"flex"===g.styleProp("flex")},_renderContentImpl:function(){this.callBase(),this._renderResponsiveBox()},_renderResponsiveBox:function(){var e,t=this,n=t._getColCount(),i=this.option("colCountByScreen"),a=i&&i.xs;t._items&&t._items.length&&(t._prepareItemsWithMerging(n),e=t._generateLayoutItems(),t._responsiveBox=new w(o("<div />").appendTo(t.element()),{_layoutStrategy:t._hasBrowserFlex()?"flex":"fallback",onLayoutChanged:function(){var e=t.option("onLayoutChanged"),n=t.isLayoutChanged();e&&(t.element().toggleClass($,n),e(n))},onContentReady:function(e){t.option("onLayoutChanged")&&t.element().toggleClass($,t.isLayoutChanged(e.component)),t._fireContentReadyAction()},itemTemplate:function(e,i,a){if(e.location){var r=e.location.row*n,s=t._items[e.location.col+r],l=o("<div/>").addClass(s.cssClass).appendTo(a);0===e.location.row&&l.addClass(z),0===e.location.col&&l.addClass(N),e.location.col!==n-1&&e.location.col+e.location.colspan!==n||l.addClass(W),"empty"===s.itemType?t._renderEmptyItem(l):t._renderFieldItem(s,l)}},cols:t._generateRatio(n),rows:t._generateRatio(t._getRowsCount(),!0),dataSource:e,screenByWidth:this.option("screenByWidth"),singleColumnScreen:a?!1:"xs"}))},_getColCount:function(){var e=this.option("colCount"),t=this.option("colCountByScreen");if(t){var n=t[d.getCurrentScreenFactor(this.option("screenByWidth"))];e=n||e}if("auto"===e){if(this._cashedColCount)return this._cashedColCount;var i=this.option("minColWidth"),o=this.element().width(),a=this._items.length,r=Math.floor(o/i)||1;this._cashedColCount=e=r>a?a:r}return 1>e?1:e},_prepareItemsWithMerging:function(e){var t,n,i,o,a=this._items.slice(0),r=[];for(o=0;o<a.length;o++)if(t=a[o],r.push(t),(this.option("alignItemLabels")||t.alignItemLabels||t.colSpan)&&(t.col=this._getColByIndex(r.length-1,e)),t.colSpan>1&&t.col+t.colSpan<=e){for(n=[],i=0;i<t.colSpan-1;i++)n.push({merged:!0});r=r.concat(n)}else delete t.colSpan;this._items=r},_getColByIndex:function(e,t){return e%t},_generateLayoutItems:function(){var e,t,n=this._items,i=this._getColCount(),o=[];for(t=0;t<n.length;t++)if(e=n[t],!e.merged){var a={location:{row:parseInt(t/i),col:this._getColByIndex(t,i)}};s.isDefined(e.colSpan)&&(a.location.colspan=e.colSpan),s.isDefined(e.rowSpan)&&(a.location.rowspan=e.rowSpan),o.push(a)}return o},_renderEmptyItem:function(e){return e.addClass(C).html("&nbsp;")},_renderFieldItem:function(e,t){var n,i,r=this._getName(e),l=this.getItemID(r),c=s.isDefined(e.isRequired)?e.isRequired:!!this._hasRequiredRuleInSet(e.validationRules),d=o.extend({showColon:this.option("showColonAfterLabel"),location:this.option("labelLocation"),id:l,visible:!0,isRequired:c},e?e.label:{}),u=o("<div/>");t.addClass(b).addClass(c?k:S).addClass(this.option("cssItemClass")).addClass(s.isDefined(e.col)?"dx-col-"+e.col:""),this._prepareLabelOptions(e.dataField,d),d.visible&&d.text&&(n=this._renderLabel(d),n.appendTo(t)),e.helpText&&(i=new a),"simple"===e.itemType&&(this._isLabelNeedBaselineAlign(e)&&"top"!==d.location&&t.addClass(E),this._hasBrowserFlex()&&t.addClass(G)),u.data("dx-form-item",e),this._appendEditorToField({$fieldItem:t,$label:n,$editor:u,labelOptions:d}),this._renderEditor({$container:u,dataField:r,editorType:e.editorType,editorOptions:e.editorOptions,template:this._getTemplateByFieldItem(e),isRequired:c,helpID:i,id:l,validationBoundary:this.option("validationBoundary")});var h=u.children().first();h&&h.data("dx-validation-target")&&this._renderValidator(h,e),this._renderHelpText(e,u,i),this._attachClickHandler(n,u,e.editorType)},_hasRequiredRuleInSet:function(e){var t;return e&&e.length&&o.each(e,function(e,n){return"required"===n.type?(t=!0,!1):void 0}),t},_getName:function(e){return e.dataField||e.name},_isLabelNeedBaselineAlign:function(e){var t=["dxTextArea","dxRadioGroup","dxCalendar"];return!!e.helpText&&!this._hasBrowserFlex()||-1!==o.inArray(e.editorType,t)},_prepareLabelOptions:function(e,t){!t.text&&e&&(t.text=m.captionize(e)),t.text&&(t.text+=t.showColon?":":"")},_renderLabel:function(e){if(s.isDefined(e.text)&&e.text.length>0){var t=D+" "+M+e.location,n=o("<label />").addClass(t).attr("for",e.id),i=o("<span/>").addClass(A).appendTo(n);return o("<span />").addClass(B).text(e.text).appendTo(i),e.alignment&&n.css("text-align",e.alignment),i.append(this._renderLabelMark(e.isRequired)),n}},_renderLabelMark:function(e){var t,n=this._getRequiredMarksConfig(),i=n.showRequiredMark&&e,a=n.showOptionalMark&&!e;if(i||a){var r=i?T:I,s=i?n.requiredMark:n.optionalMark;t=o("<span />").addClass(r).html("&nbsp"+s)}return t},_getRequiredMarksConfig:function(){return this._cashedRequiredConfig||(this._cashedRequiredConfig={showRequiredMark:this.option("showRequiredMark"),showOptionalMark:this.option("showOptionalMark"),requiredMark:this.option("requiredMark"),optionalMark:this.option("optionalMark")}),this._cashedRequiredConfig},_renderEditor:function(e){var t,n=this._getDataByField(e.dataField),i={value:n},a=!0;"dxTagBox"===e.editorType&&(i.value=i.value||[]),t=o.extend(a,i,e.editorOptions,{attr:{id:e.id},validationBoundary:e.validationBoundary}),this._createEditor(e.$container,{editorType:e.editorType,dataField:e.dataField,template:e.template,name:e.name,helpID:e.helpID,isRequired:e.isRequired},t)},_renderValidator:function(e,t){var n=this._getFieldLabelName(t),i=this._prepareValidationRules(t.validationRules,t.isRequired,t.itemType,n);s.isArray(i)&&this._createComponent(e,x,{validationRules:i,validationGroup:this.option("form")})},_getFieldLabelName:function(e){var t=e.label&&e.label.text,n=t?null:this._getName(e);return t?e.label.text:n&&m.captionize(n)},_prepareValidationRules:function(e,t,n,i){var o,a="simple"===n;if(a)if(e)o=e;else{var r=u.format(this.option("requiredMessage"),i||"");o=t?[{type:"required",message:r}]:null}return o},_createEditor:function(e,t,n){var i,a=this,r=t.template;if(a._addItemContentClasses(e),r){var s={dataField:t.dataField,editorOptions:n,component:r.owner()};r.render(s,e)}else{var l=o("<div/>").appendTo(e);try{if(i=a._createComponent(l,t.editorType,n),i.setAria("describedby",t.helpID),i.setAria("required",t.isRequired),t.dataField){var c=a.option("form")||a;i.on("enterKey",function(e){c._createActionByOption("onEditorEnterKey")(o.extend(e,{dataField:t.dataField}))}),a._registerEditorInstance(i,t.dataField),a.linkEditorToDataField(i,t.dataField,t.editorType)}}catch(e){f.log("E1035",e.message)}}},_addItemContentClasses:function(e){var t=this._getItemContentLocationSpecificClass();e.addClass([O,t].join(" "))},_getItemContentLocationSpecificClass:function(){var e=this.option("labelLocation"),t={right:"left",left:"right",top:"bottom"};return P+t[e]},_registerEditorInstance:function(e,t){this._editorInstancesByField[t]=e},_createComponent:function(e,t,n){var i,o=this,a=this.option("readOnly");return i=o.callBase(e,t,n),a&&i.option("readOnly",a),o.on("optionChanged",function(e){"readOnly"===e.name&&i.option(e.name,e.value)}),i},_getTemplateByFieldItem:function(e){return e.template?this._getTemplate(e.template):null},_appendEditorToField:function(e){if(e.$label){var t=e.labelOptions.location;"top"!==t&&"left"!==t||e.$fieldItem.append(e.$editor),"right"===t&&e.$fieldItem.prepend(e.$editor),this._addInnerItemAlignmentClass(e.$fieldItem,t)}else e.$fieldItem.append(e.$editor)},_addInnerItemAlignmentClass:function(e,t){"top"===t?e.addClass(H):e.addClass(L)},_renderHelpText:function(e,t,n){var i=e.helpText;if(i){var a=o("<div>").addClass(R);t.wrap(a),o("<div>").addClass(V).attr("id",n).text(i).appendTo(t.parent())}},_attachClickHandler:function(e,t,n){var i="dxCheckBox"===n||"dxSwitch"===n;e&&i&&e.on(h.name,function(){t.children().trigger(h.name)})},_generateRatio:function(e,t){var n,i,o=[];for(i=0;e>i;i++)n={ratio:1},t&&(n.baseSize="auto"),o.push(n);return o},_getRowsCount:function(){return Math.ceil(this._items.length/this._getColCount())},_optionChanged:function(e){if(0!==e.fullName.search("layoutData."))switch(e.name){case"showRequiredMark":case"showOptionalMark":case"requiredMark":case"optionalMark":this._cashedRequiredConfig=null,this._invalidate();break;case"layoutData":case"items":this._syncDataWithItems(),this._updateItems(e.value),this._invalidate();break;case"alignItemLabels":case"labelLocation":case"requiredMessage":this._invalidate();break;case"customizeItem":this._updateItems(this.option("layoutData")),this._invalidate();break;case"colCount":this._resetColCount();break;case"minColWidth":"auto"===this.option("colCount")&&this._resetColCount();break;case"readOnly":break;case"width":this.callBase(e),"auto"===this.option("colCount")&&this._resetColCount();break;case"onFieldDataChanged":break;default:this.callBase(e)}},_resetColCount:function(){this._cashedColCount=null,this._invalidate()},linkEditorToDataField:function(e,t,n){var i="layoutData."+t,o=this;o.on("optionChanged",function(t){if(t.fullName===i)switch(n){case"dxTagBox":case"dxSelectBox":o._managedUpdateEditorOption(e,"value",t.value);break;default:e.option("value",t.value)}}),e.on("valueChanged",function(e){switch(n){case"dxTagBox":case"dxSelectBox":o._managedUpdateFieldValue(t,e.value);break;default:o._updateFieldValue(t,e.value)}})},_managedUpdateEditorOption:function(e,t,n){this._isValueChangedCalled||(this._isFieldValueChanged=!0,e.option(t,n),this._isFieldValueChanged=!1)},_managedUpdateFieldValue:function(e,t){this._isValueChangedCalled=!0,this._isFieldValueChanged||this._updateFieldValue(e,t),this._isValueChangedCalled=!1},getItemID:function(e){var t=this.option("form"),n=t&&t.option("formID");return"dx_"+n+"_"+(e||new a)},updateData:function(e,t){var n=this;s.isObject(e)?o.each(e,function(e,t){n._updateFieldValue(e,t)}):"string"==typeof e&&n._updateFieldValue(e,t)},getEditor:function(e){return this._editorInstancesByField[e]},isLayoutChanged:function(e){var t=this._responsiveBox||e;return t?t.option("currentScreenFactor")===t.option("singleColumnScreen"):void 0}});r("dxLayoutManager",q),i.exports=q}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(2),s=n(22),l=n(9),c=n(15),d=n(6),u=n(18),h=n(4),p=n(28),f=n(78),_="dx-gallery",g=_+"-wrapper",m="dx-gallery-loop",v=_+"-container",x=_+"-active",w=_+"-item",y=w+"-loop",b="."+w,C=w+"-selected",k=_+"-indicator",S=k+"-item",T="."+S,I=S+"-selected",D="dxGalleryItemData",E=1,A=u.inherit({_supportedKeys:function(){return o.extend(this.callBase(),{pageUp:o.noop,pageDown:o.noop})},_getDefaultOptions:function(){return o.extend(this.callBase(),{direction:"next",onClick:null,hoverStateEnabled:!0,activeStateEnabled:!0})},_render:function(){this.callBase();var e=this,t=this.element(),n=h.addNamespace(l.name,this.NAME);t.addClass(_+"-nav-button-"+this.option("direction")).off(n).on(n,function(t){e._createActionByOption("onClick")({jQueryEvent:t})})},_optionChanged:function(e){switch(e.name){case"onClick":case"direction":this._invalidate();break;default:this.callBase(e)}}});A.publicName("dxGalleryNavButton");var B=p.inherit({_activeStateUnit:b,_getDefaultOptions:function(){return o.extend(this.callBase(),{activeStateEnabled:!1,animationDuration:400,animationEnabled:!0,loop:!1,swipeEnabled:!0,indicatorEnabled:!0,showIndicator:!0,selectedIndex:0,slideshowDelay:0,showNavButtons:!1,wrapAround:!1,initialItemWidth:void 0,stretchImages:!1,_itemAttributes:{role:"option"},loopItemFocus:!1,selectOnFocus:!0,selectionMode:"single",selectionRequired:!0,selectionByClick:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===d.real().deviceType&&!d.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this.option("loopItemFocus",this.option("loop"))},_dataSourceOptions:function(){return{paginate:!1}},_itemContainer:function(){return this._$container},_itemClass:function(){return w},_itemDataKey:function(){return D},_actualItemWidth:function(){var e=this.option("wrapAround")?this._itemsPerPage()+1:this._itemsPerPage();return this.option("stretchImages")?1/e:this.option("wrapAround")?this._itemPercentWidth()*this._itemsPerPage()/(this._itemsPerPage()+1):this._itemPercentWidth()},_itemPercentWidth:function(){var e;return e=this.option("initialItemWidth")?this.option("initialItemWidth")/this.element().outerWidth():1},_itemsPerPage:function(){var e=Math.floor(1/this._itemPercentWidth());return Math.min(e,this._itemsCount())},_pagesCount:function(){return Math.ceil(this._itemsCount()/this._itemsPerPage())},_itemsCount:function(){return(this.option("items")||[]).length},_offsetDirection:function(){return this.option("rtlEnabled")?-1:1},_render:function(){this.element().addClass(_),this.element().toggleClass(m,this.option("loop")),this._renderDragHandler(),this._renderWrapper(),this._renderItemsContainer(),this.callBase(),this._renderContainerPosition(),this._renderItemSizes(),this._renderItemPositions(),this._renderNavButtons(),this._renderIndicator(),this._renderSelectedItem(),this._renderUserInteraction(),this._setupSlideShow(),this._reviseDimensions(),this.setAria({role:"listbox",label:"gallery"}),this._fireContentReadyAction()},_renderContent:function(){this._renderContentImpl()},_dimensionChanged:function(){var e=this.option("selectedIndex")||0;this._stopItemAnimations(),this._clearCacheWidth(),this._renderDuplicateItems(),this._renderItemSizes(),this._renderItemPositions(),this._renderIndicator(),this._renderContainerPosition(this._calculateIndexOffset(e))},_renderDragHandler:function(){var e=h.addNamespace("dragstart",this.NAME);this.element().off(e).on(e,"img",function(){return!1})},_renderWrapper:function(){this._$wrapper||(this._$wrapper=o("<div />").addClass(g).appendTo(this.element()))},_renderItems:function(e){this.callBase(e),this._loadNextPageIfNeeded()},_renderItemsContainer:function(){this._$container||(this._$container=o("<div>").addClass(v).appendTo(this._$wrapper))},_renderDuplicateItems:function(){if(this.option("loop")){var e,t=this.option("items")||[],n=t.length,i=n-1;if(n){this.element().find("."+y).remove();var o=Math.min(this._itemsPerPage(),n);for(e=0;o>e;e++)this._renderItem(0,t[e]).addClass(y);for(e=0;o>e;e++)this._renderItem(0,t[i-e]).addClass(y)}}},_emptyMessageContainer:function(){return this._$wrapper},_renderItemSizes:function(e){var t=this._itemElements(),n=this._actualItemWidth();void 0!==e&&(t=t.slice(e)),t.each(function(e){
o(t[e]).outerWidth(100*n+"%")})},_renderItemPositions:function(){var e=this._actualItemWidth(),t=this._itemsCount(),n=this._itemsPerPage(),i=this.element().find("."+y).length,a=t+i-1,r=this.option("wrapAround")?.5:0,s=this._itemFreeSpace(),l=this.option("rtlEnabled");this._itemElements().each(function(i){var c=i;i>t+n-1&&(c=a-c-n);var d=e*(c+r)+s*(c+1-r);o(this).css(l?"right":"left",100*d+"%")}),this._relocateItems(this.option("selectedIndex"),this.option("selectedIndex"),!0)},_itemFreeSpace:function(){var e=this._itemsPerPage();return this.option("wrapAround")&&(e+=1),(1-this._actualItemWidth()*e)/(e+1)},_renderContainerPosition:function(e,t){e=e||0;var n,i=this,a=this._actualItemWidth(),s=e,l=this._offsetDirection()*s*(a+this._itemFreeSpace());return r.isDefined(this._animationOverride)&&(t=this._animationOverride,delete this._animationOverride),t?(i._startSwipe(),n=i._animate(l).done(o.proxy(i._endSwipe,i))):(c.move(this._$container,{left:l*this._elementWidth(),top:0}),n=o.Deferred().resolveWith(i)),this._deferredAnimate&&n.done(function(){i._deferredAnimate.resolveWith(i)}),n.promise()},_startSwipe:function(){this.element().addClass(x)},_endSwipe:function(){this.element().removeClass(x)},_animate:function(e,t){var n=this,i=this._$container,a=o.Deferred();return s.animate(this._$container,o.extend({type:"slide",to:{left:e*this._elementWidth()},duration:n.option("animationDuration"),complete:function(){n._needMoveContainerForward()&&c.move(i,{left:0,top:0}),n._needMoveContainerBack()&&c.move(i,{left:n._maxContainerOffset()*n._elementWidth(),top:0}),a.resolveWith(n)}},t||{})),a},_needMoveContainerForward:function(){var e=this._$container.position().left*this._offsetDirection(),t=-this._maxItemWidth()*this._elementWidth()*this._itemsCount();return t+E>=e},_needMoveContainerBack:function(){var e=this._$container.position().left*this._offsetDirection(),t=this._actualItemWidth()*this._elementWidth();return e>=t-E},_maxContainerOffset:function(){return-this._maxItemWidth()*(this._itemsCount()-this._itemsPerPage())*this._offsetDirection()},_maxItemWidth:function(){return this._actualItemWidth()+this._itemFreeSpace()},_reviseDimensions:function(){var e=this,t=e._itemElements().first().find(".dx-item-content");t&&!t.is(":hidden")&&(e.option("height")||e.option("height",t.outerHeight()),e.option("width")||e.option("width",t.outerWidth()),this._dimensionChanged())},_renderIndicator:function(){if(this._cleanIndicators(),this.option("showIndicator")){for(var e=this._$indicator=o("<div>").addClass(k).appendTo(this._$wrapper),t=0;t<this._pagesCount();t++)o("<div>").addClass(S).appendTo(e);this._renderSelectedPageIndicator()}},_cleanIndicators:function(){this._$indicator&&this._$indicator.remove()},_renderSelectedItem:function(){var e=this.option("selectedIndex");this._itemElements().removeClass(C).eq(e).addClass(C)},_renderSelectedPageIndicator:function(){if(this._$indicator){var e=this.option("selectedIndex"),t=this._pagesCount()-1,n=Math.ceil(e/this._itemsPerPage());n=Math.min(t,n),this._$indicator.find(T).removeClass(I).eq(n).addClass(I)}},_renderUserInteraction:function(){var e=this.element(),t=this.option("swipeEnabled")&&this._itemsCount()>1;this._createComponent(e,f,{disabled:this.option("disabled")||!t,onStart:o.proxy(this._swipeStartHandler,this),onUpdated:o.proxy(this._swipeUpdateHandler,this),onEnd:o.proxy(this._swipeEndHandler,this),itemSizeFunc:o.proxy(this._elementWidth,this)});var n=this._createAction(this._indicatorSelectHandler);e.off(h.addNamespace(l.name,this.NAME),T).on(h.addNamespace(l.name,this.NAME),T,function(e){n({jQueryEvent:e})})},_indicatorSelectHandler:function(e){var t=e.jQueryEvent,n=e.component;if(n.option("indicatorEnabled")){var i=o(t.target).index(),a=n._fitPaginatedIndex(i*n._itemsPerPage());n._needLongMove=!0,n.option("selectedIndex",a),n._loadNextPageIfNeeded(a)}},_renderNavButtons:function(){var e=this;return e.option("showNavButtons")?(e._prevNavButton=o("<div>").appendTo(this._$wrapper),e._createComponent(e._prevNavButton,A,{direction:"prev",onClick:function(){e._prevPage()}}),e._nextNavButton=o("<div>").appendTo(this._$wrapper),e._createComponent(e._nextNavButton,A,{direction:"next",onClick:function(){e._nextPage()}}),void this._renderNavButtonsVisibility()):void e._cleanNavButtons()},_prevPage:function(){var e=this._itemsPerPage(),t=this.option("selectedIndex")-e;return t===-e&&e===this._itemsCount()?this._relocateItems(t,0):this.goToItem(this._fitPaginatedIndex(t))},_nextPage:function(){var e=this._itemsPerPage(),t=this.option("selectedIndex")+e;return t===e&&e===this._itemsCount()?this._relocateItems(t,0):this.goToItem(this._fitPaginatedIndex(t)).done(this._loadNextPageIfNeeded)},_loadNextPageIfNeeded:function(e){e=void 0===e?this.option("selectedIndex"):e,this._dataSource&&this._dataSource.paginate()&&this._shouldLoadNextPage(e)&&!this._isDataSourceLoading()&&!this._isLastPage()&&this._loadNextPage().done(o.proxy(function(){this._renderIndicator(),this._renderItemPositions(),this._renderNavButtonsVisibility(),this._renderItemSizes(e)},this))},_shouldLoadNextPage:function(e){var t=this._itemsPerPage();return e+2*t>this.option("items").length},_allowDynamicItemsAppend:function(){return!0},_fitPaginatedIndex:function(e){var t=this._itemsPerPage(),n=0>e?t+e:this._itemsCount()-e;return e>this._itemsCount()-1?(e=0,this._goToGhostItem=!0):t>n&&n>0&&(e>0?e-=t-n:e+=t-n),e},_cleanNavButtons:function(){this._prevNavButton&&(this._prevNavButton.remove(),delete this._prevNavButton),this._nextNavButton&&(this._nextNavButton.remove(),delete this._nextNavButton)},_renderNavButtonsVisibility:function(){if(this.option("showNavButtons")&&this._prevNavButton&&this._nextNavButton){var e=this.option("selectedIndex"),t=this.option("loop"),n=this._itemsCount();if(this._prevNavButton.show(),this._nextNavButton.show(),0===n&&(this._prevNavButton.hide(),this._nextNavButton.hide()),!t){var i=e===n-this._itemsPerPage(),o=2>n||0===e;i=this._dataSource&&this._dataSource.paginate()?i&&this._isLastPage():i||2>n,o&&this._prevNavButton.hide(),i&&this._nextNavButton.hide()}}},_setupSlideShow:function(){var e=this,t=e.option("slideshowDelay");clearTimeout(e._slideshowTimer),t&&(e._slideshowTimer=setTimeout(function(){return e._userInteraction?void e._setupSlideShow():void e.nextItem(!0).done(e._setupSlideShow)},t))},_elementWidth:function(){return this._cacheElementWidth||(this._cacheElementWidth=this.element().width()),this._cacheElementWidth},_clearCacheWidth:function(){delete this._cacheElementWidth},_swipeStartHandler:function(e){this._clearCacheWidth(),this._elementWidth();var t=this._itemsCount();if(!t)return void(e.jQueryEvent.cancel=!0);if(this._stopItemAnimations(),this._startSwipe(),this._userInteraction=!0,!this.option("loop")){var n=this.option("selectedIndex"),i=t-n-this._itemsPerPage(),o=n,a=this.option("rtlEnabled");e.jQueryEvent.maxLeftOffset=a?o:i,e.jQueryEvent.maxRightOffset=a?i:o}},_stopItemAnimations:function(){s.stop(this._$container,!0)},_swipeUpdateHandler:function(e){var t=this.option("wrapAround")?1:0,n=this._offsetDirection()*e.jQueryEvent.offset*(this._itemsPerPage()+t)-this.option("selectedIndex");0>n&&this._loadNextPageIfNeeded(Math.ceil(Math.abs(n))),this._renderContainerPosition(n)},_swipeEndHandler:function(e){var t=e.jQueryEvent.targetOffset*this._offsetDirection()*this._itemsPerPage(),n=this.option("selectedIndex"),i=this._fitIndex(n-t),o=this._fitPaginatedIndex(i);return Math.abs(t)<this._itemsPerPage()?void this._relocateItems(n):this._itemsPerPage()===this._itemsCount()?void(t>0?this._relocateItems(-t):this._relocateItems(0)):void this.option("selectedIndex",o)},_setFocusOnSelect:function(){this._userInteraction=!0;var e=this.itemElements().filter("."+C);this.option("focusedElement",e),this._userInteraction=!1},_flipIndex:function(e){var t=this._itemsCount();return e%=t,e>(t+1)/2&&(e-=t),-(t-1)/2>e&&(e+=t),e},_fitIndex:function(e){if(!this.option("loop"))return e;var t=this._itemsCount();return(e>=t||0>e)&&(this._goToGhostItem=!0),e>=t&&(e=t-e),e%=t,0>e&&(e+=t),e},_clean:function(){this.callBase(),this._cleanIndicators(),this._cleanNavButtons()},_dispose:function(){clearTimeout(this._slideshowTimer),this.callBase()},_updateSelection:function(e,t){this._stopItemAnimations(),this._renderNavButtonsVisibility(),this._renderSelectedItem(),this._relocateItems(e[0],t[0]),this._renderSelectedPageIndicator()},_relocateItems:function(e,t,n){void 0===t&&(t=e);var i=this._calculateIndexOffset(e,t);this._renderContainerPosition(i,this.option("animationEnabled")&&!n).done(function(){this._setFocusOnSelect(),this._userInteraction=!1,this._setupSlideShow()})},_focusInHandler:function(e){s.isAnimating(this._$container)||this._userInteraction||this.callBase.apply(this,arguments)},_focusOutHandler:function(e){s.isAnimating(this._$container)||this._userInteraction||this.callBase.apply(this,arguments)},_selectFocusedItem:o.noop,_moveFocus:function(e){this._stopItemAnimations(),this.callBase.apply(this,arguments);var t=this.itemElements().index(this.option("focusedElement"));this.goToItem(t,this.option("animationEnabled"))},_visibilityChanged:function(e){e&&this._reviseDimensions()},_calculateIndexOffset:function(e,t){void 0===t&&(t=e);var n=t-e;return this.option("loop")&&!this._needLongMove&&this._goToGhostItem&&(this._isItemOnFirstPage(e)&&this._isItemOnLastPage(t)?n=-this._itemsPerPage():this._isItemOnLastPage(e)&&this._isItemOnFirstPage(t)&&(n=this._itemsPerPage()),this._goToGhostItem=!1),this._needLongMove=!1,n-=t},_isItemOnLastPage:function(e){return e>=this._itemsCount()-this._itemsPerPage()},_isItemOnFirstPage:function(e){return e<=this._itemsPerPage()},_optionChanged:function(e){var t=e.value;switch(e.name){case"width":case"initialItemWidth":this.callBase.apply(this,arguments),this._dimensionChanged();break;case"animationDuration":this._renderNavButtonsVisibility();break;case"animationEnabled":break;case"loop":return this.option("loopItemFocus",t),this.element().toggleClass(m,t),this._renderDuplicateItems(),this._renderItemPositions(),void this._renderNavButtonsVisibility();case"showIndicator":return void this._renderIndicator();case"showNavButtons":return void this._renderNavButtons();case"slideshowDelay":return void this._setupSlideShow();case"wrapAround":case"stretchImages":this._renderItemSizes(),this._renderItemPositions();break;case"swipeEnabled":case"indicatorEnabled":return void this._renderUserInteraction();default:this.callBase(e)}},goToItem:function(e,t){var n=this.option("selectedIndex"),i=this._itemsCount();return void 0!==t&&(this._animationOverride=t),e=this._fitIndex(e),this._deferredAnimate=o.Deferred(),e>i-1||0>e||n===e?this._deferredAnimate.resolveWith(this).promise():(this.option("selectedIndex",e),this._deferredAnimate.promise())},prevItem:function(e){return this.goToItem(this.option("selectedIndex")-1,e)},nextItem:function(e){return this.goToItem(this.option("selectedIndex")+1,e)}});a("dxGallery",B),i.exports=B}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(229),r=n(8),s=n(67).register,l=n(91),c=n(50),d=n(151),u="dx-list-context-menu",h="dx-list-context-menucontent";s("menu","context",l.inherit({_init:function(){var e=o("<div/>").addClass(u);this._list.element().append(e),this._menu=this._renderOverlay(e)},_renderOverlay:function(e){return this._list._createComponent(e,c,{shading:!1,deferRendering:!0,closeOnTargetScroll:!0,closeOnOutsideClick:function(e){return!o(e.target).closest("."+u).length},animation:{show:{type:"slide",duration:300,from:{height:0,opacity:1},to:{height:o.proxy(function(){return this._$menuList.outerHeight()},this),opacity:1}},hide:{type:"slide",duration:0,from:{opacity:1},to:{opacity:0}}},height:o.proxy(function(){return this._$menuList?this._$menuList.outerHeight():0},this),width:o.proxy(function(){return this._list.element().outerWidth()},this),onContentReady:o.proxy(this._renderMenuContent,this)})},_renderMenuContent:function(e){var t=e.component.content(),n=this._menuItems().slice();this._deleteEnabled()&&n.push({text:r.format("dxListEditDecorator-delete"),action:o.proxy(this._deleteItem,this)}),this._$menuList=o("<div>"),this._list._createComponent(this._$menuList,d,{items:n,onItemClick:o.proxy(this._menuItemClickHandler,this),height:"auto",_templates:{}}),t.addClass(h),t.append(this._$menuList)},_menuItemClickHandler:function(e){this._menu.hide(),this._fireMenuAction(this._$itemWithMenu,e.itemData.action)},_deleteItem:function(){this._list.deleteItem(this._$itemWithMenu)},handleContextMenu:function(e){return this._$itemWithMenu=e,this._menu.option({position:{my:"top",at:"bottom",of:e,collision:"flip"}}),this._menu.show(),!0},dispose:function(){this._menu&&this._menu.element().remove(),this.callBase.apply(this,arguments)}}).include(a))}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(22),s=n(63),l=n(17),c=n(62),d=n(240),u=n(4),h=n(67).register,p=n(91),f=d.inherit({ctor:function(e){this.callBase(),this._strategy=e},_isFinished:function(){return this._strategy.scrollFinished()},_step:function(){this._strategy.scrollByStep()}}),_="dxListEditDecorator",g=u.addNamespace(s.start,_),m=u.addNamespace(s.move,_),v=u.addNamespace(s.end,_),x="dx-list-reorder-handle-container",w="dx-list-reorder-handle",y="dx-list-item-reordering",b="dx-list-item-ghost-reordering",C="dx-list-reorder-compatibility-mode";h("reorder","default",p.inherit({_init:function(){this._groupedEnabled=this._list.option("grouped"),this._initAnimator()},_initAnimator:function(){this._scrollAnimator=new f(this)},_startAnimator:function(){this._scrollAnimator.inProgress()||this._scrollAnimator.start()},_stopAnimator:function(){this._scrollAnimator.stop()},afterBag:function(e){var t=e.$itemElement,n=e.$container,i=o("<div>").addClass(w),a=!1;i.on("dxpointerdown",function(){a=!0}),i.on("dxhold",{timeout:30},function(e){e.cancel=!0,a=!1}),i.on(g,{direction:"vertical",immediate:!0},o.proxy(function(e){return a?void(e.cancel=!0):void this._dragStartHandler(t,e)},this)),i.on(m,o.proxy(this._dragHandler,this,t)),i.on(v,o.proxy(this._dragEndHandler,this,t)),n.addClass(x),n.append(i)},_dragStartHandler:function(e,t){if(e.is(".dx-state-disabled, .dx-state-disabled *"))return void(t.cancel=!0);this._stopPreviousAnimation(),t.targetElements=[],this._cacheItemsPositions(),this._startPointerOffset=t.pageY-e.offset().top,this._elementHeight=e.outerHeight();var n=this._list.getFlatIndexByItemElement(e);this._startIndex=n,this._lastIndex=n,this._cacheScrollData(),this._toggleCompatibilityMode(!0);var i=this;this._createGhostTimeout=setTimeout(function(){i._createGhost(e),i._updateGhostPosition(),e.addClass(y)})},_stopPreviousAnimation:function(){r.stop(this._$ghostItem,!0)},_toggleCompatibilityMode:function(e){this._list.element().toggleClass(C,!l.transform&&e)},_cacheItemsPositions:function(){var e=this._itemPositions=[];o.each(this._list.itemElements(),function(t,n){var i=null;e.push(function(){return i=null===i?o(n).position().top:i})})},_getDraggingElementPosition:function(){return this._itemPositions[this._startIndex]()},_getLastElementPosition:function(){return this._itemPositions[this._lastIndex]()},_cacheScrollData:function(){this._list.updateDimensions(),this._startScrollTop=this._list.scrollTop(),this._scrollOffset=0,this._scrollHeight=this._list.scrollHeight(),this._clientHeight=this._list.clientHeight()},_scrollTop:function(){return this._startScrollTop+this._scrollOffset},_createGhost:function(e){this._$ghostItem=e.clone(),this._$ghostItem.addClass(b).appendTo(this._list.itemsContainer()),this._startGhostPosition=this._getDraggingElementPosition()-this._$ghostItem.position().top,a.move(this._$ghostItem,{top:this._startGhostPosition})},_dragHandler:function(e,t){this._topOffset=t.offset.y,this._updateItemPositions();var n=this._getPointerPosition();this._toggleScroll(n)},_getPointerPosition:function(){return this._getDraggingElementPosition()+this._startPointerOffset+this._scrollOffset+this._topOffset},_toggleScroll:function(e){if(!(this._scrollHeight<=this._clientHeight)){var t=.7*this._elementHeight,n=this._clientHeight-(e-this._scrollTop()),i=n/t,o=e-this._scrollTop(),a=o/t;1>i?(this._stepSize=this._adjustRationIntoRange(i),this._startAnimator()):1>a?(this._stepSize=-this._adjustRationIntoRange(a),this._startAnimator()):this._stopAnimator()}},_adjustRationIntoRange:function(e){return c.fitIntoRange(Math.round(7*Math.abs(e-1)),1,7)},_updateItemPositions:function(){this._updateGhostPosition(),this._updateOthersPositions()},_updateGhostPosition:function(){this._$ghostItem&&a.move(this._$ghostItem,{top:this._startGhostPosition+this._scrollOffset+this._topOffset})},_updateOthersPositions:function(){var e=this._findItemIndexByPosition(this._getPointerPosition());if(this._lastIndex!==e&&(!this._groupedEnabled||this._sameParent(e))){for(var t=e-this._startIndex,n=c.sign(t),i=Math.min(e,this._lastIndex),o=Math.max(e,this._lastIndex),a=i;o>=a;a++)if(a!==this._startIndex){var s=this._list.getItemElementByFlatIndex(a),l=a-this._startIndex,d=c.sign(l),u=Math.abs(l)<=Math.abs(t),h=n===d,p=u&&h,f=!u||!h;r.stop(s),p&&r.animate(s,{type:"slide",to:{top:this._elementHeight*-n},duration:300}),f&&r.animate(s,{type:"slide",to:{top:0},duration:300})}this._lastIndex=e}},_sameParent:function(e){var t=this._list.getItemElementByFlatIndex(this._startIndex),n=this._list.getItemElementByFlatIndex(e);return n.parent().get(0)===t.parent().get(0)},scrollByStep:function(){this._scrollOffset+=this._stepSize,this._list.scrollBy(this._stepSize),this._updateItemPositions()},scrollFinished:function(){var e=this._scrollTop(),t=0>=e&&this._stepSize<0,n=e>=this._scrollHeight-this._clientHeight&&this._stepSize>0;return t||n},_dragEndHandler:function(e){this._scrollAnimator.stop(),r.animate(this._$ghostItem,{type:"slide",to:{top:this._startGhostPosition+this._getLastElementPosition()-this._getDraggingElementPosition()},duration:300}).done(o.proxy(function(){e.removeClass(y),this._resetPositions(),this._list.reorderItem(e,this._list.getItemElementByFlatIndex(this._lastIndex)),this._deleteGhost(),this._toggleCompatibilityMode(!1)},this))},_deleteGhost:function(){this._$ghostItem&&this._$ghostItem.remove()},_resetPositions:function(){for(var e=Math.min(this._startIndex,this._lastIndex),t=Math.max(this._startIndex,this._lastIndex),n=e;t>=n;n++){var i=this._list.getItemElementByFlatIndex(n);a.resetPosition(i)}},_findItemIndexByPosition:function(e){for(var t,n,i=0,o=this._itemPositions.length-1;o>=i;)if(t=(i+o)/2|0,n=this._itemPositions[t](),e>n)i=t+1;else{if(!(n>e))return t;o=t-1}return c.fitIntoRange(i,0,Math.max(o,0))},dispose:function(){clearTimeout(this._createGhostTimeout),this.callBase.apply(this,arguments)}}))}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(9),r=n(109),s=n(395),l=n(4),c=n(67).register,d=n(91),u="dx-list-select-decorator-enabled",h="dx-list-select-all",p="dx-list-select-all-checkbox",f="dx-list-select-all-label",_="dx-list-select-checkbox-container",g="dx-list-select-checkbox",m="dx-list-select-radiobutton-container",v="dx-list-select-radiobutton",x=l.addNamespace(a.name,"dxListEditDecorator");c("selection","default",d.inherit({_init:function(){this.callBase.apply(this,arguments);var e=this._list.option("selectionMode");this._singleStrategy="single"===e,this._containerClass=this._singleStrategy?m:_,this._controlClass=this._singleStrategy?v:g,this._controlWidget=this._singleStrategy?s.publicName():r.publicName(),this._list.element().addClass(u)},beforeBag:function(e){var t=e.$itemElement,n=e.$container,i=o("<div />").addClass(this._controlClass);i[this._controlWidget](o.extend(this._commonOptions(),{value:this._isSelected(t),focusStateEnabled:!1,hoverStateEnabled:!1,onValueChanged:o.proxy(function(e){this._processCheckedState(t,e.value),e.jQueryEvent&&e.jQueryEvent.stopPropagation()},this)})),n.addClass(this._containerClass),n.append(i)},modifyElement:function(e){this.callBase.apply(this,arguments);var t=e.$itemElement,n=t.find("."+this._controlClass)[this._controlWidget]("instance");t.on("stateChanged",o.proxy(function(){n.option("value",this._isSelected(t)),this._updateSelectAllState()},this))},_updateSelectAllState:function(){if(this._$selectAll){var e=this._list.option("items"),t=this._list.option("selectedItems"),n=this._list._dataSource,i=n&&n.totalCount()>=0?n.totalCount():e.length,o=i>0&&i===t.length?!0:0===t.length?!1:void 0;this._selectAllCheckBox.option("value",o)}},afterRender:function(){"all"===this._list.option("selectionMode")&&(this._$selectAll||this._renderSelectAll())},_renderSelectAll:function(){var e=this._$selectAll=o("<div>").addClass(h);this._selectAllCheckBox=this._list._createComponent(o("<div>").addClass(p).appendTo(e),r),o("<div>").addClass(f).text(this._list.option("selectAllText")).appendTo(e),this._list.itemsContainer().prepend(e),this._updateSelectAllState(),this._attachSelectAllHandler()},_attachSelectAllHandler:function(){this._selectAllCheckBox.option("onValueChanged",o.proxy(this._selectAllHandler,this)),this._$selectAll.off(x).on(x,o.proxy(this._selectAllClickHandler,this))},_selectAllHandler:function(e){e.jQueryEvent&&e.jQueryEvent.stopPropagation();var t=this._selectAllCheckBox.option("value"),n=this._list._createActionByOption("onSelectAllValueChanged")({value:t});n!==!1&&(t===!0?this._selectAllItems():t===!1&&this._unselectAllItems())},_selectAllItems:function(){this._list.option("selectedItems",this._list.option("items").slice())},_unselectAllItems:function(){this._list.option("selectedItems",[])},_selectAllClickHandler:function(){this._selectAllCheckBox.option("value",!this._selectAllCheckBox.option("value"))},_isSelected:function(e){return this._list.isItemSelected(e)},_processCheckedState:function(e,t){t?this._list.selectItem(e):this._list.unselectItem(e)},dispose:function(){this._disposeSelectAll(),this._list.element().removeClass(u),this.callBase.apply(this,arguments)},_disposeSelectAll:function(){this._$selectAll&&(this._$selectAll.remove(),this._$selectAll=null)},handleClick:function(e){var t=!this._isSelected(e)||this._singleStrategy;return this._processCheckedState(e,t),!0}}))}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(25),r=n(67).register,s=n(91),l="dx-list-static-delete-button-container",c="dx-list-static-delete-button";r("delete","static",s.inherit({afterBag:function(e){var t=e.$itemElement,n=e.$container,i=o("<div>").addClass(c);this._list._createComponent(i,a,{icon:"remove",onClick:o.proxy(function(e){e.jQueryEvent.stopPropagation(),this._deleteItem(t)},this),_templates:{}}),n.addClass(l).append(i)},_deleteItem:function(e){e.is(".dx-state-disabled, .dx-state-disabled *")||this._list.deleteItem(e)}}))}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(22),s=n(67).register,l=n(91);s("delete","swipe",l.inherit({_shouldHandleSwipe:!0,_renderItemPosition:function(e,t,n){var i=o.Deferred(),s=t*this._itemElementWidth;return n?r.animate(e,{to:{left:s},type:"slide",complete:function(){i.resolve(e,t)}}):(a.move(e,{left:s}),i.resolve()),i.promise()},_swipeStartHandler:function(e){return this._itemElementWidth=e.width(),!0},_swipeUpdateHandler:function(e,t){return this._renderItemPosition(e,t.offset),!0},_swipeEndHandler:function(e,t){var n=t.targetOffset;return this._renderItemPosition(e,n,!0).done(o.proxy(function(e,t){Math.abs(t)&&this._list.deleteItem(e).fail(o.proxy(function(){this._renderItemPosition(e,0,!0)},this))},this)),!0}}))}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(22),r=n(25),s=n(8),l=n(67).register,c=n(228),d="dx-list-switchable-delete-button-container",u="dx-list-switchable-delete-button-wrapper",h="dx-list-switchable-delete-button-inner-wrapper",p="dx-list-switchable-delete-button",f=200,_=c.inherit({_init:function(){this.callBase.apply(this,arguments);var e=o("<div >").addClass(d),t=o("<div />").addClass(u),n=o("<div />").addClass(h),i=o("<div />").addClass(p);this._list._createComponent(i,r,{text:s.format("dxListEditDecorator-delete"),type:"danger",onClick:o.proxy(function(e){this._deleteItem(),e.jQueryEvent.stopPropagation()},this),_templates:{}}),e.append(t),t.append(n),n.append(i),this._$buttonContainer=e},_enablePositioning:function(e){this.callBase.apply(this,arguments),a.stop(this._$buttonContainer,!0),this._$buttonContainer.appendTo(e)},_disablePositioning:function(){this.callBase.apply(this,arguments),this._$buttonContainer.detach()},_animatePrepareDeleteReady:function(){var e=this._isRtlEnabled(),t=this._list.element().width(),n=this._buttonWidth(),i=e?t:-n,o=e?t-n:0;return a.animate(this._$buttonContainer,{type:"custom",duration:f,from:{right:i},to:{right:o}})},_animateForgetDeleteReady:function(){var e=this._isRtlEnabled(),t=this._list.element().width(),n=this._buttonWidth(),i=e?t-n:0,o=e?t:-n;return a.animate(this._$buttonContainer,{type:"custom",duration:f,from:{right:i},to:{right:o}})},_buttonWidth:function(){return this._buttonContainerWidth||(this._buttonContainerWidth=this._$buttonContainer.outerWidth()),this._buttonContainerWidth},dispose:function(){this._$buttonContainer&&this._$buttonContainer.remove(),this.callBase.apply(this,arguments)}}),g="dx-list-toggle-delete-switch-container",m="dx-list-toggle-delete-switch";l("delete","toggle",_.inherit({beforeBag:function(e){var t=e.$itemElement,n=e.$container,i=o("<div />").addClass(m);this._list._createComponent(i,r,{icon:"toggle-delete",onClick:o.proxy(function(e){this._toggleDeleteReady(t),e.jQueryEvent.stopPropagation()},this),_templates:{}}),n.addClass(g),n.append(i)}})),l("delete","slideButton",_.inherit({_shouldHandleSwipe:!0,_swipeEndHandler:function(e,t){return 0!==t.targetOffset&&this._toggleDeleteReady(e),!0}})),i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(9),r=n(8),s=n(15),l=n(4),c=n(70),d=n(229),u=n(67).register,h=n(228),p=n(22),f=n(180),_="dxListEditDecorator",g=l.addNamespace(a.name,_),m=l.addNamespace(c.active,_),v="dx-list-slide-menu",x="dx-list-slide-menu-wrapper",w="dx-list-slide-menu-content",y="dx-list-slide-menu-buttons-container",b="dx-list-slide-menu-buttons",C="dx-list-slide-menu-button",k="dx-list-slide-menu-button-menu",S="dx-list-slide-menu-button-delete",T=400,I="cubic-bezier(0.075, 0.82, 0.165, 1)";u("menu","slide",h.inherit({_shouldHandleSwipe:!0,_init:function(){this.callBase.apply(this,arguments),this._$buttonsContainer=o("<div/>").addClass(y).on(m,o.noop),this._$buttons=o("<div/>").addClass(b).appendTo(this._$buttonsContainer),this._renderMenu(),this._renderDeleteButton()},_renderMenu:function(){if(this._menuEnabled()){var e=this._menuItems();if(1===e.length){var t=e[0];this._renderMenuButton(t.text,o.proxy(function(e){e.stopPropagation(),this._fireAction(t)},this))}else{var n=o("<div />").addClass(v);this._menu=this._list._createComponent(n,f,{showTitle:!1,items:e,onItemClick:o.proxy(function(e){this._fireAction(e.itemData)},this),_templates:{}}),n.appendTo(this._list.element());var i=this._renderMenuButton(r.format("dxListEditDecorator-more"),o.proxy(function(e){e.stopPropagation(),this._menu.show()},this));this._menu.option("target",i)}}},_renderMenuButton:function(e,t){var n=o("<div/>").addClass(C).addClass(k).text(e);return this._$buttons.append(n),n.on(g,t),n},_renderDeleteButton:function(){if(this._deleteEnabled()){var e=o("<div/>").addClass(C).addClass(S).text(r.format("dxListEditDecorator-delete"));e.on(g,o.proxy(function(e){e.stopPropagation(),this._deleteItem()},this)),this._$buttons.append(e)}},_fireAction:function(e){this._fireMenuAction(o(this._cachedNode),e.action),this._cancelDeleteReadyItem()},modifyElement:function(e){this.callBase.apply(this,arguments);var t=e.$itemElement;t.addClass(x);var n=o("<div/>").addClass(w);t.wrapInner(n)},handleClick:function(e,t){return o(t.target).closest("."+w).length?this.callBase.apply(this,arguments):!1},_swipeStartHandler:function(e){this._enablePositioning(e),this._cacheItemData(e),this._setPositions(this._getPositions(0))},_swipeUpdateHandler:function(e,t){var n=this._isRtlEnabled(),i=n?-1:1,o=this._isReadyToDelete(e),a=this._getCurrentPositions().content===this._getStartPositions().content;if(a&&!o&&t.offset*i>0)return void(t.cancel=!0);var r=this._cachedItemWidth*t.offset,s=o?-this._cachedButtonWidth*i:0,l=(r+s)*i,c=0>l?Math.abs((r+s)/this._cachedButtonWidth):0;return this._setPositions(this._getPositions(c)),!0},_getStartPositions:function(){var e=this._isRtlEnabled(),t=e?-1:1;return{content:0,buttonsContainer:e?-this._cachedButtonWidth:this._cachedItemWidth,buttons:-this._cachedButtonWidth*t}},_getPositions:function(e){var t=this._isRtlEnabled(),n=t?-1:1,i=this._getStartPositions();return{content:i.content-e*this._cachedButtonWidth*n,buttonsContainer:i.buttonsContainer-Math.min(e,1)*this._cachedButtonWidth*n,buttons:i.buttons+Math.min(e,1)*this._cachedButtonWidth*n}},_getCurrentPositions:function(){return{content:s.locate(this._$cachedContent).left,buttonsContainer:s.locate(this._$buttonsContainer).left,buttons:s.locate(this._$buttons).left}},_setPositions:function(e){s.move(this._$cachedContent,{left:e.content}),s.move(this._$buttonsContainer,{left:e.buttonsContainer}),s.move(this._$buttons,{left:e.buttons})},_cacheItemData:function(e){e[0]!==this._cachedNode&&(this._$cachedContent=e.find("."+w),this._cachedItemWidth=e.outerWidth(),this._cachedButtonWidth=this._cachedButtonWidth||this._$buttons.outerWidth(),this._$buttonsContainer.width(this._cachedButtonWidth),this._$cachedContent.length&&(this._cachedNode=e[0]))},_minButtonContainerLeftOffset:function(){return this._cachedItemWidth-this._cachedButtonWidth},_swipeEndHandler:function(e,t){this._cacheItemData(e);var n=this._isRtlEnabled()?1:-1,i=this._cachedItemWidth*t.offset,o=!this._isReadyToDelete(e)&&i*n>.2*this._cachedButtonWidth,a=t.targetOffset===n&&o;return this._toggleDeleteReady(e,a),!0},_enablePositioning:function(e){p.stop(this._$cachedContent,!0),this.callBase.apply(this,arguments),this._$buttonsContainer.appendTo(e)},_disablePositioning:function(e){this.callBase.apply(this,arguments),this._$buttonsContainer.detach()},_animatePrepareDeleteReady:function(){return this._animateToPositions(this._getPositions(1))},_animateForgetDeleteReady:function(e){return this._cacheItemData(e),this._animateToPositions(this._getPositions(0))},_animateToPositions:function(e){var t=this,n=this._getCurrentPositions(),i=Math.min(Math.abs(n.content-e.content)/this._cachedButtonWidth,1);return p.animate(this._$cachedContent,{from:n,to:e,easing:I,duration:T*i,strategy:"frame",draw:function(e){t._setPositions(e)}})},dispose:function(){this._menu&&this._menu.element().remove(),this._$buttonsContainer&&this._$buttonsContainer.remove(),this.callBase.apply(this,arguments)}}).include(d))}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(4),r=n(384),s=n(8),l=n(383),c=n(151),d="dx-list-item-selected",u="dx-list-item-response-wait",h=c.inherit({_supportedKeys:function(){var e=this,t=this.callBase(),n=function(t){e.option("allowItemDeleting")&&(t.preventDefault(),e.deleteItem(e.option("focusedElement")))},i=function(n){if(n.shiftKey&&e.option("allowItemReordering")){n.preventDefault();var i=e._editStrategy.getNormalizedIndex(e.option("focusedElement")),o=e._editStrategy.getItemElement(i-1);e.reorderItem(e.option("focusedElement"),o),e.scrollToItem(e.option("focusedElement"))}else t.upArrow(n)},a=function(n){if(n.shiftKey&&e.option("allowItemReordering")){n.preventDefault();var i=e._editStrategy.getNormalizedIndex(e.option("focusedElement")),o=e._editStrategy.getItemElement(i+1);e.reorderItem(e.option("focusedElement"),o),e.scrollToItem(e.option("focusedElement"))}else t.downArrow(n)};return o.extend({},t,{del:n,upArrow:i,downArrow:a})},_getDefaultOptions:function(){return o.extend(this.callBase(),{
showSelectionControls:!1,selectionMode:"none",onSelectAllValueChanged:null,selectAllText:s.format("dxList-selectAll"),menuItems:[],menuMode:"context",allowItemDeleting:!1,itemDeleteMode:"toggle",allowItemReordering:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"ios"===e.platform},options:{menuMode:"slide",itemDeleteMode:"slideItem"}},{device:{platform:"android"},options:{itemDeleteMode:"swipe"}},{device:{platform:"win"},options:{itemDeleteMode:"context"}},{device:{platform:"generic"},options:{itemDeleteMode:"static"}}])},_init:function(){this.callBase(),this._initEditProvider()},_initEditProvider:function(){this._editProvider=new l(this)},_disposeEditProvider:function(){this._editProvider&&this._editProvider.dispose()},_refreshEditProvider:function(){this._disposeEditProvider(),this._initEditProvider()},_initEditStrategy:function(e){this.option("grouped")?this._editStrategy=new r(this):this.callBase()},_render:function(){this._refreshEditProvider(),this.callBase()},_renderItems:function(){this.callBase.apply(this,arguments),this._editProvider.afterItemsRendered()},_selectedItemClass:function(){return d},_itemResponseWaitClass:function(){return u},_itemClickHandler:function(e){var t=o(e.currentTarget);if(!t.is(".dx-state-disabled, .dx-state-disabled *")){var n=this._editProvider.handleClick(t,e);n||this.callBase.apply(this,arguments)}},_shouldAttachContextMenuEvent:function(){return this.callBase.apply(this,arguments)||this._editProvider.contextMenuHandlerExists()},_itemHoldHandler:function(e){var t=o(e.currentTarget);if(!t.is(".dx-state-disabled, .dx-state-disabled *")){var n=a.isTouchEvent(e),i=n&&this._editProvider.handleContextMenu(t,e);return i?void(e.handledByEditProvider=!0):void this.callBase.apply(this,arguments)}},_itemContextMenuHandler:function(e){var t=o(e.currentTarget);if(!t.is(".dx-state-disabled, .dx-state-disabled *")){var n=!e.handledByEditProvider&&this._editProvider.handleContextMenu(t,e);return n?void e.preventDefault():void this.callBase.apply(this,arguments)}},_postprocessRenderItem:function(e){this.callBase.apply(this,arguments),this._editProvider.modifyItemElement(e)},_clean:function(){this._disposeEditProvider(),this.callBase()},_optionChanged:function(e){switch(e.name){case"grouped":this._clearSelectedItems(),delete this._renderingGroupIndex,this._initEditStrategy(e.value),this.callBase(e);break;case"showSelectionControls":case"menuItems":case"menuMode":case"allowItemDeleting":case"itemDeleteMode":case"allowItemReordering":case"selectAllText":this._invalidate();break;case"onSelectAllValueChanged":break;default:this.callBase(e)}},getFlatIndexByItemElement:function(e){return this._itemElements().index(e)},getItemElementByFlatIndex:function(e){var t=this._itemElements();return 0>e||e>=t.length?o():t.eq(e)},getItemByIndex:function(e){return this._getItemData(this._itemElements().eq(e))}});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(19),s=n(67);n(378),n(380),n(381),n(379),n(375),n(377),n(376);var l=[],c=function(e,t,n){l.push({enabled:e,decoratorType:t,decoratorSubType:n})};c(function(){return this.option("menuItems").length},function(){return"menu"},function(){return this.option("menuMode")}),c(function(){return!this.option("menuItems").length&&this.option("allowItemDeleting")},function(){var e=this.option("itemDeleteMode");return"toggle"===e||"slideButton"===e||"swipe"===e||"static"===e?"delete":"menu"},function(){var e=this.option("itemDeleteMode");return"slideItem"===e&&(e="slide"),"hold"===e&&(e="context"),e}),c(function(){return"none"!==this.option("selectionMode")&&this.option("showSelectionControls")},function(){return"selection"},function(){return"default"}),c(function(){return this.option("allowItemReordering")},function(){return"reorder"},function(){return"default"});var d="dx-list-item-before-bag",u="dx-list-item-after-bag",h="beforeBag",p="afterBag",f="modifyElement",_="afterRender",g=a.inherit({ctor:function(e){this._list=e,this._fetchRequiredDecorators()},dispose:function(){this._decorators&&this._decorators.length&&o.each(this._decorators,function(e,t){t.dispose()})},_fetchRequiredDecorators:function(){this._decorators=[],o.each(l,o.proxy(function(e,t){var n=t.enabled.call(this._list);if(n){var i=t.decoratorType.call(this._list),o=t.decoratorSubType.call(this._list),a=this._createDecorator(i,o);this._decorators.push(a)}},this))},_createDecorator:function(e,t){var n=this._findDecorator(e,t);return new n(this._list)},_findDecorator:function(e,t){var n=s.registry[e][t];if(!n)throw r.Error("E1012",e,t);return n},modifyItemElement:function(e){var t=o(e.itemElement),n={$itemElement:t};this._prependBeforeBags(t,n),this._appendAfterBags(t,n),this._applyDecorators(f,n)},afterItemsRendered:function(){this._applyDecorators(_)},_prependBeforeBags:function(e,t){var n=this._collectDecoratorsMarkup(h,t,d);e.prepend(n)},_appendAfterBags:function(e,t){var n=this._collectDecoratorsMarkup(p,t,u);e.append(n)},_collectDecoratorsMarkup:function(e,t,n){var i=o("<div />");return o.each(this._decorators,function(){var a=o("<div />").addClass(n);this[e](o.extend({$container:a},t)),a.children().length&&i.append(a)}),i.children()},_applyDecorators:function(e,t){o.each(this._decorators,function(){this[e](t)})},_handlerExists:function(e){if(!this._decorators)return!1;for(var t=this._decorators,n=t.length,i=0;n>i;i++)if(t[i][e]!==o.noop)return!0;return!1},_eventHandler:function(e,t,n){if(!this._decorators)return!1;for(var i=!1,o=this._decorators,a=o.length,r=0;a>r&&!(i=o[r][e](t,n));r++);return i},handleClick:function(e,t){return this._eventHandler("handleClick",e,t)},contextMenuHandlerExists:function(){return this._handlerExists("handleContextMenu")},handleContextMenu:function(e,t){return this._eventHandler("handleContextMenu",e,t)}});i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(155),s="dx-list-item",l="dx-list-group",c=20,d=2303,u=function(e){return(e.group<<c)+e.item},h=function(e){return{group:e>>c,item:e&d}},p=function(e,t){var n=e.items,i={key:e.key,items:[]};return o.each(t,function(e,t){i.items.push(n[t])}),i},f=function(e,t){for(var n=e.length,i=0;n>i;i++)if(e[i].key===t)return e[i]},_=r.inherit({_groupElements:function(){return this._collectionWidget._itemContainer().find("."+l)},_groupItemElements:function(e){return e.find("."+s)},getIndexByItemData:function(e){var t=this._collectionWidget.option("items"),n=!1;return o.each(t,function(t,i){return i.items?(o.each(i.items,function(i,o){return o!==e?!0:(n={group:t,item:i},!1)}),n?!1:void 0):!1}),n},getItemDataByIndex:function(e){if(!e||!e.group||!e.item)return null;var t=this._collectionWidget.option("items");return t.length&&t[e.group].items[e.item]||null},deleteItemAtIndex:function(e){var t=h(e),n=this._collectionWidget.option("items")[t.group].items;n.splice(t.item,1)},updateSelectionAfterDelete:function(e){var t=h(e),n=this._collectionWidget._selectedItemIndices;o.each(n,function(e,i){var o=h(i);o.group===t.group&&o.item>t.item&&(n[e]-=1)})},fetchSelectedItems:function(e){e=e||this._collectionWidget._selectedItemIndices,e.sort(function(e,t){return e-t});var t=this._collectionWidget.option("items"),n=[],i=0,a=[];return o.each(e,function(e,o){var r=h(o);r.group!==i&&a.length&&(n.push(p(t[i],a)),a.length=0),i=r.group,a.push(r.item)}),a.length&&n.push(p(t[i],a)),n},selectedItemIndices:function(){var e=[],t=this._collectionWidget.option("items"),n=this._collectionWidget.option("selectedItems"),i=this._collectionWidget._dataSource;return o.each(n,function(n,r){var s=f(t,r.key),l=o.inArray(s,t);return s?void o.each(r.items,function(t,n){var c=o.inArray(n,s.items);-1!==c?e.push(u({group:l,item:c})):i||a.log("W1004",n,r.key)}):void(i||a.log("W1003",r.key))}),e},moveItemAtIndexToIndex:function(e,t){var n=this._collectionWidget.option("items"),i=h(e),o=h(t),a=n[i.group].items,r=n[o.group].items,s=a[i.item];a.splice(i.item,1),r.splice(o.item,0,s)},getSelectedItemsAfterReorderItem:function(e,t){if(this._itemsFromSameParent(e,t)||o.inArray(e,this._collectionWidget._selectedItemIndices))return this.callBase();var n=this._collectionWidget.option("items"),i=this._collectionWidget.option("selectedItems"),a=h(e),r=h(t),s=i[a.group].items,l=i[r.group].items,c=n[a.group].items[a.item],d=o.inArray(c,s);return s.splice(d,1),l.push(c),i},_isItemIndex:function(e){return o.isNumeric(e.group)&&o.isNumeric(e.item)},_getNormalizedItemIndex:function(e){var t=o(e),n=t.closest("."+l);return n.length?u({group:this._groupElements().index(n),item:this._groupItemElements(n).index(t)}):-1},_normalizeItemIndex:function(e){return u(e)},_denormalizeItemIndex:function(e){return h(e)},_getItemByNormalizedIndex:function(e){var t=h(e),n=this._groupElements().eq(t.group);return this._groupItemElements(n).eq(t.item)},_itemsFromSameParent:function(e,t){return h(e).group===h(t).group}});i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(53).compare,r=n(17),s=n(21),l=n(2),c=n(48),d=n(8),u=n(6),h=n(3),p=n(4),f=n(181),_=n(23),g=n(9),m=n(93),v="dx-lookup",x="dx-lookup-search",w="dx-lookup-search-wrapper",y="dx-lookup-field",b="dx-lookup-arrow",C="dx-lookup-field-wrapper",k="dx-lookup-popup",S="dx-lookup-popup-wrapper",T="dx-lookup-popup-search",I="dx-lookup-popover-mode",D="dx-lookup-empty",E="dx-lookup-validation-message",A="dx-lookup-invalid",B={popupWidth:"width",popupHeight:"height"},M=f.inherit({_supportedKeys:function(){return o.extend(this.callBase(),{space:function(e){e.preventDefault(),this._validatedOpening()},enter:function(e){this._validatedOpening()}})},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{showNextButton:{since:"15.1",message:"Use the 'pageLoadMode' option instead"},pagingEnabled:{since:"15.1",message:"Use the 'dataSource.paginate' option instead"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{title:"",titleTemplate:"title",onTitleRendered:null,placeholder:d.format("Select"),searchPlaceholder:d.format("Search"),searchEnabled:!0,cleanSearchOnOpening:!0,fullScreen:!1,showCancelButton:!0,showClearButton:!1,clearButtonText:d.format("Clear"),applyButtonText:d.format("Done"),popupWidth:function(){return.8*o(window).width()},popupHeight:function(){return.8*o(window).height()},shading:!0,closeOnOutsideClick:!1,position:void 0,animation:{},pullRefreshEnabled:!1,useNativeScrolling:!0,pullingDownText:d.format("dxList-pullingDownText"),pulledDownText:d.format("dxList-pulledDownText"),refreshingText:d.format("dxList-refreshingText"),pageLoadingText:d.format("dxList-pageLoadingText"),onScroll:null,onPullRefresh:null,onPageLoading:null,pageLoadMode:"scrollBottom",showNextButton:void 0,nextButtonText:d.format("dxList-nextButtonText"),grouped:!1,groupTemplate:"group",usePopover:!1,showDropButton:!1,showPopupTitle:!0,focusStateEnabled:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return!r.nativeScrolling},options:{useNativeScrolling:!1}},{device:function(e){return!r.nativeScrolling&&!u.isSimulator()&&"generic"===u.real().platform&&"generic"===e.platform},options:{usePopover:!0,popupHeight:"auto"}},{device:function(e){return s.msie&&a(s.version,9)<0},options:{usePopover:!1}},{device:function(e){return"win"===e.platform&&e.phone&&e.version&&8===e.version[0]},options:{showCancelButton:!1,fullScreen:!0}},{device:function(e){return"win"===e.platform&&!e.phone&&e.version&&8===e.version[0]},options:{popupWidth:function(){return o(window).width()}}},{device:{platform:"ios",phone:!0},options:{fullScreen:!0}},{device:{platform:"ios",tablet:!0},options:{popupWidth:function(){return.4*Math.min(o(window).width(),o(window).height())},popupHeight:"auto",usePopover:!0,useInkRipple:!1}},{device:function(e){return"desktop"===u.real().deviceType&&!u.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(_.current())},options:{useInkRipple:!0}}])},_dataSourceOptions:function(){this._suppressDeprecatedWarnings();var e=l.ensureDefined(this.option("pagingEnabled"),!0);return e=l.isDefined(this.option("showNextButton"))?e||this.option("showNextButton"):e,this._resumeDeprecatedWarnings(),o.extend(this.callBase(),{paginate:e})},_inputWrapper:function(){return this.element().find("."+C)},_render:function(){this.callBase(),this.element().addClass(v).toggleClass(I,this.option("usePopover"))},_fireContentReadyAction:o.noop,_popupWrapperClass:function(){return""},_renderInput:function(){var e=this._createAction(o.proxy(function(){this._validatedOpening()},this));this._$field=o("<div>").addClass(y).on(p.addNamespace(g.name,this.NAME),function(t){e({jQueryEvent:t})});var t=o("<div>").addClass(b);this._$fieldWrapper=o("<div>").addClass(C).append(this._$field).append(t).appendTo(this.element()),this.option("useInkRipple")&&this._renderInkRipple()},_renderInkRipple:function(){this._inkRipple=c.render()},_toggleActiveState:function(e,t,n){if(this.callBase.apply(this,arguments),this._inkRipple){var i={element:this._inputWrapper(),jQueryEvent:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}},_renderField:function(){var e=this._getTemplateByOption("fieldTemplate");return e&&this.option("fieldTemplate")?void this._renderFieldTemplate(e):(this._$field.text(this.option("displayValue")||this.option("placeholder")),void this.element().toggleClass(D,!this.option("selectedItem")))},_renderFieldTemplate:function(e){this._$field.empty();var t=this._fieldRenderData();e.render(t,this._$field)},_fieldRenderData:function(){return this.option("selectedItem")},_popupShowingHandler:function(){var e;this._$popupValidationMessage&&(e=this.option("validationError"),e&&e.message?(this._$popupValidationMessage.text(e.message),this._popup.content().addClass(A)):this._popup.content().removeClass(A)),this.callBase.apply(this,arguments),this.option("cleanSearchOnOpening")&&(this.option("searchEnabled")&&this._searchBox.option("value")&&(this._searchBox.option("value",""),this._searchCanceled(),this._searchDataSource()),this._list&&this._list.option("focusedElement",null)),this._attachSearchChildProcessor()},_renderPopup:function(){this.option("usePopover")&&!this.option("fullScreen")?this._renderPopover():this.callBase(),this._$popup.addClass(k),this._popup._wrapper().addClass(S)},_popupOptionMap:function(e){return B[e]||e},_renderPopover:function(){this._popup=this._createComponent(this._$popup,m,o.extend(this._popupConfig(),{target:this.element(),fullScreen:!1,shading:!1,closeOnTargetScroll:!0,closeOnOutsideClick:!0,width:this._isInitialOptionValue("popupWidth")?o.proxy(function(){return this.element().outerWidth()},this):this._popupConfig().width})),this._popup.on({showing:o.proxy(this._popupShowingHandler,this),shown:o.proxy(this._popupShownHandler,this),hiding:o.proxy(this._popupHidingHandler,this),hidden:o.proxy(this._popupHiddenHandler,this)}),this._popup.option("onContentReady",o.proxy(this._contentReadyHandler,this)),this._contentReadyHandler()},_popupHidingHandler:function(){this.callBase(),this.option("focusStateEnabled")&&this.focus()},_preventFocusOnPopup:o.noop,_popupConfig:function(){var e=o.extend(this.callBase(),{showTitle:this.option("showPopupTitle"),title:this.option("title"),titleTemplate:this._getTemplateByOption("titleTemplate"),onTitleRendered:this.option("onTitleRendered"),toolbarItems:this._getPopupToolbarItems(),fullScreen:this.option("fullScreen"),shading:this.option("shading"),closeOnTargetScroll:!1,closeOnOutsideClick:this.option("closeOnOutsideClick"),onPositioned:null});return delete e.animation,delete e.position,e.maxHeight=function(){return o(window).height()},o.each(["position","animation","popupWidth","popupHeight"],o.proxy(function(t,n){void 0!==this.option(n)&&(e[this._popupOptionMap(n)]=this.option(n))},this)),e},_getPopupToolbarItems:function(){var e="useButtons"===this.option("applyValueMode")?this._popupToolbarItemsConfig():[],t=this._getCancelButtonConfig();t&&e.push(t);var n=this._getClearButtonConfig();return n&&e.push(n),this._applyButtonsLocation(e)},_popupToolbarItemsConfig:function(){return[{shortcut:"done",options:{onClick:o.proxy(this._applyButtonHandler,this),text:this.option("applyButtonText")}}]},_getCancelButtonConfig:function(){return this.option("showCancelButton")?{shortcut:"cancel",onClick:o.proxy(this._cancelButtonHandler,this),options:{text:this.option("cancelButtonText")}}:null},_getClearButtonConfig:function(){return this.option("showClearButton")?{shortcut:"clear",onClick:o.proxy(this._resetValue,this),options:{text:this.option("clearButtonText")}}:null},_applyButtonHandler:function(){this.option("value",this._valueGetter(this._currentSelectedItem())),this.callBase()},_cancelButtonHandler:function(){this._refreshSelected(),this.callBase()},_refreshPopupVisibility:o.noop,_dimensionChanged:function(){this.option("usePopover")&&!this.option("popupWidth")&&this.option("popupWidth",this.element().width())},_input:function(){return this._$searchBox||this.callBase()},_renderPopupContent:function(){"dxPopup"===this._popup.NAME&&(this._$popupValidationMessage=o("<div>").addClass(E).appendTo(this._popup.content())),this.callBase(),this._renderSearch(),this._attachSearchChildProcessor()},_attachSearchChildProcessor:function(){this.option("searchEnabled")&&this._searchBox?(this._listKeyboardProcessor=this._searchBox._keyboardProcessor.attachChildProcessor(),this._setListOption("_keyboardProcessor",this._listKeyboardProcessor)):this._setListOption("_keyboardProcessor",void 0)},_renderSearch:function(){if(this._$searchWrapper&&this._$searchWrapper.remove(),delete this._$searchWrapper,this._$searchBox&&this._$searchBox.remove(),delete this._$searchBox,delete this._searchBox,this.option("searchEnabled")){var e=this._$searchWrapper=o("<div>").addClass(w),t=this._$searchBox=o("<div>").addClass(x).appendTo(e),n=u.current(),i=n.android&&n.version[0]>=5?"text":"search";this._searchBox=this._createComponent(t,"dxTextBox",{mode:i,showClearButton:!0,valueChangeEvent:this.option("valueChangeEvent"),onValueChanged:o.proxy(this._searchHandler,this)}),this._registerSearchKeyHandlers(),e.insertBefore(this._$list)}this._renderSearchVisibility(),this._setSearchPlaceholder()},_selectListItemHandler:function(e){var t=this._list.option("focusedElement");t&&(e.preventDefault(),this._selectListItem(e.itemData,t))},_registerSearchKeyHandlers:function(){this._searchBox.registerKeyHandler("escape",o.proxy(this.close,this)),this._searchBox.registerKeyHandler("enter",o.proxy(this._selectListItemHandler,this)),this._searchBox.registerKeyHandler("space",o.proxy(this._selectListItemHandler,this)),this._searchBox.registerKeyHandler("end",o.noop),this._searchBox.registerKeyHandler("home",o.noop)},_renderSearchVisibility:function(){this._popup&&this._popup._wrapper().toggleClass(T,this.option("searchEnabled"))},_setSearchPlaceholder:function(){if(this._$searchBox){var e=this.option("minSearchLength"),t=this.option("searchPlaceholder");e&&t===d.format("Search")&&(t=d.getFormatter("dxLookup-searchPlaceholder")(e)),this._searchBox.option("placeholder",t)}},_setAriaTargetForList:o.noop,_renderList:function(){this.callBase(),this._list.registerKeyHandler("escape",o.proxy(function(e){this.close()},this))},_listConfig:function(){return o.extend(this.callBase(),{tabIndex:0,grouped:this.option("grouped"),groupTemplate:this._getTemplateByOption("groupTemplate"),pullRefreshEnabled:this.option("pullRefreshEnabled"),useNativeScrolling:this.option("useNativeScrolling"),pullingDownText:this.option("pullingDownText"),pulledDownText:this.option("pulledDownText"),refreshingText:this.option("refreshingText"),pageLoadingText:this.option("pageLoadingText"),onScroll:this.option("onScroll"),onPullRefresh:this.option("onPullRefresh"),onPageLoading:this.option("onPageLoading"),pageLoadMode:this._getPageLoadMode(),nextButtonText:this.option("nextButtonText"),_keyboardProcessor:this._listKeyboardProcessor,onFocusIn:o.proxy(this._onFocusInHandler,this),onSelectionChanged:this._getSelectionChangedHandler()})},_getSelectionChangedHandler:function(){return this.option("showSelectionControls")?o.proxy(this._selectionChangeHandler,this):o.noop},_onFocusInHandler:function(){this._setListOption("_keyboardProcessor",void 0)},_listContentReadyHandler:function(){this._popup.repaint(),this.callBase.apply(this,arguments),this._refreshSelected()},_getPageLoadMode:function(){this._suppressDeprecatedWarnings();var e=l.isDefined(this.option("showNextButton"))?"nextButton":this.option("pageLoadMode");return this._resumeDeprecatedWarnings(),e},_setFocusPolicy:function(){this.option("focusStateEnabled")&&(this.option("searchEnabled")?this._searchBox.focus():this._$list.focus())},_attachChildKeyboardEvents:o.noop,_focusTarget:function(){return this._$field},_keyboardEventBindingTarget:function(){return this._$field},_listItemClickHandler:function(e){this._selectListItem(e.itemData,e.jQueryEvent.currentTarget)},_selectListItem:function(e,t){this._list.selectItem(t),"instantly"===this.option("applyValueMode")&&this._applyButtonHandler()},_currentSelectedItem:function(){return this.option("grouped")?this._list.option("selectedItems[0]").items[0]:this._list.option("selectedItems[0]")},_resetValue:function(){this.option("value",null),this.option("opened",!1)},_searchValue:function(){return this.option("searchEnabled")&&this._searchBox?this._searchBox.option("value"):""},_renderInputValue:function(){return this.callBase().always(o.proxy(function(){this._renderField(),this._refreshSelected()},this))},_renderPlaceholder:function(){0!==this.element().find("input").length&&this.callBase()},_clean:function(){this._$fieldWrapper.remove(),this._$searchBox=null,this.callBase()},_optionChanged:function(e){var t=e.name,n=e.value;switch(t){case"searchEnabled":this._popup&&this._renderSearch(),this._attachSearchChildProcessor();break;case"searchPlaceholder":this._setSearchPlaceholder();break;case"minSearchLength":this._setSearchPlaceholder(),this.callBase.apply(this,arguments);break;case"title":case"titleTemplate":case"onTitleRendered":case"shading":case"animation":case"position":case"closeOnOutsideClick":this._setPopupOption(t);break;case"fullScreen":case"usePopover":case"placeholder":this._invalidate();break;case"clearButtonText":case"showClearButton":case"showCancelButton":this._setPopupOption("toolbarItems",this._getPopupToolbarItems());break;case"applyValueMode":this.callBase.apply(this,arguments);break;case"popupWidth":this._setPopupOption("popupWidth","auto"===n?this.initialOption("popupWidth"):n);break;case"popupHeight":this._setPopupOption("popupHeight","auto"===n?this.initialOption("popupHeight"):n);break;case"pullRefreshEnabled":case"useNativeScrolling":case"pullingDownText":case"pulledDownText":case"refreshingText":case"pageLoadingText":case"onScroll":case"onPullRefresh":case"onPageLoading":case"nextButtonText":case"grouped":case"groupTemplate":this._setListOption(t);break;case"showNextButton":case"pageLoadMode":this._setListOption("pageLoadMode",this._getPageLoadMode());break;case"cleanSearchOnOpening":break;default:this.callBase.apply(this,arguments)}},focus:function(){this.option("opened")?this._setFocusPolicy():this._focusTarget().focus()},field:function(){return this._$field}});h("dxLookup",M),i.exports=M}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(387),a=n(3);a("dxMap",o),i.exports=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(6),s=n(18),l=n(17),c=n(29),d=n(4),u=n(13),h=n(34),p=n(41).wrapToArray,f={googleStatic:n(390),google:n(389),bing:n(388)},_="dx-map",g="dx-map-container",m="dx-map-shield",v="dx-native-click",x=s.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{bounds:{northEast:null,southWest:null},center:{lat:0,lng:0},zoom:1,width:300,height:300,type:"roadmap",provider:"google",autoAdjust:!0,markers:[],markerIconSrc:null,onMarkerAdded:null,onMarkerRemoved:null,routes:[],onRouteAdded:null,onRouteRemoved:null,key:{bing:"",google:"",googleStatic:""},controls:!1,onReady:null,onUpdated:null,onClick:null})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===r.real().deviceType&&!r.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this.element().addClass(_).addClass(v),this._asyncQueue=[],this._checkOption("provider"),this._checkOption("markers"),this._checkOption("routes"),this._initContainer(),this._grabEvents(),this._rendered={}},_checkOption:function(e){var t=this.option(e);if("provider"===e&&l.winJS&&"google"===t)throw a.Error("E1024");if("markers"===e&&!o.isArray(t))throw a.Error("E1022");if("routes"===e&&!o.isArray(t))throw a.Error("E1023")},_initContainer:function(){this._$container=o("<div />").addClass(g),this.element().append(this._$container)},_grabEvents:function(){var e=d.addNamespace(u.down,this.NAME);this.element().on(e,o.proxy(this._cancelEvent,this))},_cancelEvent:function(e){var t=this._provider.cancelEvents&&!this.option("disabled");!h.designMode&&t&&e.stopPropagation()},_saveRendered:function(e){var t=this.option(e);this._rendered[e]=t.slice()},_render:function(){this.callBase(),this._renderShield(),this._saveRendered("markers"),this._saveRendered("routes"),this._queueAsyncAction("render",this._rendered.markers,this._rendered.routes)},_renderShield:function(){var e;window.DevExpress&&DevExpress.designMode||this.option("disabled")?(e=o("<div/>").addClass(m),this.element().append(e)):(e=this.element().find("."+m),e.remove())},_clean:function(){if(this._cleanFocusState(),this._provider){var e=this;this._queueAsyncAction("clean").done(function(){e.setOptionSilent("bounds",{northEast:null,southWest:null})})}},_dispose:function(){this.callBase(),this._currentAsyncAction&&this._currentAsyncAction.reject()},_optionChanged:function(e){var t=e.name;if(!this._cancelOptionChange){var n=this._optionChangeBag;switch(this._optionChangeBag=null,t){case"disabled":this._renderShield(),this.callBase(e);break;case"width":case"height":this.callBase(e),this._dimensionChanged();break;case"provider":this._invalidate();break;case"key":a.log("W1001");break;case"bounds":this._queueAsyncAction("updateBounds");break;case"center":this._queueAsyncAction("updateCenter");break;case"zoom":this._queueAsyncAction("updateZoom");break;case"type":this._queueAsyncAction("updateMapType");break;case"controls":this._queueAsyncAction("updateControls",this._rendered.markers,this._rendered.routes);break;case"autoAdjust":this._queueAsyncAction("adjustViewport");break;case"markers":case"routes":this._checkOption(t);var i=this._rendered[t];this._saveRendered(t),this._queueAsyncAction("update"+c.titleize(t),n?n.removed:i,n?n.added:this._rendered[t]).done(function(){if(n){var e=n.deferred;e.resolve.apply(e,arguments)}});break;case"markerIconSrc":this._queueAsyncAction("updateMarkers",this._rendered.markers,this._rendered.markers);break;case"onReady":case"onUpdated":case"onMarkerAdded":case"onMarkerRemoved":case"onRouteAdded":case"onRouteRemoved":case"onClick":break;default:this.callBase.apply(this,arguments)}}},_visibilityChanged:function(e){e&&this._dimensionChanged()},_dimensionChanged:function(){this._queueAsyncAction("updateDimensions")},_queueAsyncAction:function(e){var t=o.Deferred(),n=!this._asyncQueue.length;return this._asyncQueue.push({name:e,options:o.makeArray(arguments).slice(1),deferred:t}),n&&this._enqueueAsyncAction(),t.promise()},_enqueueAsyncAction:function(){var e=this._asyncQueue,t=!e.length;if(!t){var n=this;this._execAsyncAction(e[0]).done(function(){e.shift(),n._enqueueAsyncAction()})}},_execAsyncAction:function(e){var t=this._currentAsyncAction=o.Deferred(),n=e.name,i=e.options,a=e.deferred,r=this._getProvider(n);return r[n].apply(r,i).done(o.proxy(function(e){"rejected"!==t.state()&&(a.resolve.apply(a,o.makeArray(arguments).slice(1)),e&&this._triggerReadyAction(),t.resolve())},this)),t.promise()},_getProvider:function(e){var t=this.option("provider");return"clean"!==e&&this._usedProvider!==t&&(this._provider=new f[t](this,this._$container),this._usedProvider=t),this._provider},_triggerReadyAction:function(){this._createActionByOption("onReady")({originalMap:this._provider.map()})},_triggerUpdateAction:function(){this._createActionByOption("onUpdated")()},setOptionSilent:function(e,t){this._cancelOptionChange=!0,this.option(e,t),this._cancelOptionChange=!1},addMarker:function(e){return this._addFunction("markers",e)},removeMarker:function(e){return this._removeFunction("markers",e)},addRoute:function(e){return this._addFunction("routes",e)},removeRoute:function(e){return this._removeFunction("routes",e)},_addFunction:function(e,t){var n=this.option(e),i=p(t);return n.push.apply(n,i),this._partialArrayOptionChange(e,n,i,[])},_removeFunction:function(e,t){var n=this.option(e),i=p(t);return o.each(i,function(t,r){var s=o.isNumeric(r)?r:o.inArray(r,n);if(-1===s)throw a.log("E1021",c.titleize(e.substring(0,e.length-1)),r);var l=n.splice(s,1)[0];i.splice(t,1,l)}),this._partialArrayOptionChange(e,n,[],i)},_partialArrayOptionChange:function(e,t,n,i){var a=o.Deferred(),r=this,s=o.Deferred();return this._optionChangeBag={deferred:s,added:n,removed:i},this.option(e,t),s.done(function(e){a.resolveWith(r,e&&e.length>1?[e]:e)}),a.promise()}});i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a=n(1),r=n(230),s=n(56),l=n(17),c="_bingScriptReady",d="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&s=1&onScriptLoad="+c,u="ms-appx:///Bing.Maps.JavaScript/js/veapicore.js",h="ms-appx:///Bing.Maps.JavaScript/js/veapiModules.js",p="AhuxC0dQ1DBTNo8L-H9ToVMQStmizZzBJdraTSgCzDSWPsA1Qd8uIvFSflzxdaLH",f=1e-16,_=function(){return window.Microsoft&&window.Microsoft.Maps},g=r.inherit({_mapType:function(e){var t={roadmap:Microsoft.Maps.MapTypeId.road,hybrid:Microsoft.Maps.MapTypeId.aerial,satellite:Microsoft.Maps.MapTypeId.aerial};return t[e]||t.road},_movementMode:function(e){var t={driving:Microsoft.Maps.Directions.RouteMode.driving,walking:Microsoft.Maps.Directions.RouteMode.walking};return t[e]||t.driving},_resolveLocation:function(e){var t=a.Deferred(),n=this._getLatLng(e);return n?t.resolve(new Microsoft.Maps.Location(n.lat,n.lng)):this._geocodeLocation(e).done(function(e){t.resolve(e)}),t.promise()},_geocodedLocations:{},_geocodeLocationImpl:function(e){var t=a.Deferred(),n=new Microsoft.Maps.Search.SearchManager(this._map),i={where:e,count:1,callback:function(e){var n=e.results[0];if(n){var i=e.results[0].location;t.resolve(new Microsoft.Maps.Location(i.latitude,i.longitude))}else t.resolve(new Microsoft.Maps.Location(0,0))}};return n.geocode(i),t.promise()},_normalizeLocation:function(e){return{lat:e.latitude,lng:e.longitude}},_normalizeLocationRect:function(e){var t=this._normalizeLocation(e.getNorthwest()),n=this._normalizeLocation(e.getSoutheast());return{northEast:{lat:t.lat,lng:n.lng},southWest:{lat:n.lat,lng:t.lng}}},_loadImpl:function(){return this._msMapsLoader=a.Deferred(),_()?this._mapReady():(o&&("resolved"!==o.state()||_())||(o=a.Deferred(),window[c]=a.proxy(o.resolve,o),l.winJS?a.when(a.getScript(u),a.getScript(h)).done(function(){Microsoft.Maps.loadModule("Microsoft.Maps.Map",{callback:window[c]})}):a.getScript(d)),o.done(a.proxy(this._mapReady,this))),this._msMapsLoader.promise()},_mapReady:function(){try{delete window[c]}catch(e){window[c]=void 0}var e=a.Deferred(),t=a.Deferred();Microsoft.Maps.loadModule("Microsoft.Maps.Search",{callback:a.proxy(e.resolve,e)}),Microsoft.Maps.loadModule("Microsoft.Maps.Directions",{callback:a.proxy(t.resolve,t)}),a.when(e,t).done(a.proxy(function(){this._msMapsLoader.resolve()},this))},_init:function(){var e=a.Deferred(),t=a.Deferred(),n=this._option("controls");this._map=new Microsoft.Maps.Map(this._$container[0],{credentials:this._keyOption("bing")||p,
zoom:this._option("zoom"),showDashboard:n,showMapTypeSelector:n,showScalebar:n});var i=Microsoft.Maps.Events.addHandler(this._map,"tiledownloadcomplete",a.proxy(t.resolve,t));return a.when(t).done(a.proxy(function(){Microsoft.Maps.Events.removeHandler(i),e.resolve()},this)),e.promise()},_attachHandlers:function(){this._providerViewChangeHandler=Microsoft.Maps.Events.addHandler(this._map,"viewchange",a.proxy(this._viewChangeHandler,this)),this._providerClickHandler=Microsoft.Maps.Events.addHandler(this._map,"click",a.proxy(this._clickActionHandler,this))},_viewChangeHandler:function(){var e=this._map.getBounds();this._option("bounds",this._normalizeLocationRect(e));var t=this._map.getCenter();this._option("center",this._normalizeLocation(t)),this._preventZoomChangeEvent||this._option("zoom",this._map.getZoom())},_clickActionHandler:function(e){if("map"===e.targetType){var t=new Microsoft.Maps.Point(e.getX(),e.getY()),n=e.target.tryPixelToLocation(t);this._fireClickAction({location:this._normalizeLocation(n)})}},updateDimensions:function(){var e=this._$container;return this._map.setOptions({width:e.width(),height:e.height()}),a.Deferred().resolve().promise()},updateMapType:function(){var e=this._option("type"),t=Microsoft.Maps.LabelOverlay;return this._map.setView({animate:!1,mapTypeId:this._mapType(e),labelOverlay:"satellite"===e?t.hidden:t.visible}),a.Deferred().resolve().promise()},updateBounds:function(){var e=a.Deferred(),t=this,n=this._resolveLocation(this._option("bounds.northEast")),i=this._resolveLocation(this._option("bounds.southWest"));return a.when(n,i).done(function(n,i){var o=new Microsoft.Maps.LocationRect.fromLocations(n,i);t._map.setView({animate:!1,bounds:o}),e.resolve()}),e.promise()},updateCenter:function(){var e=a.Deferred(),t=this;return this._resolveLocation(this._option("center")).done(function(n){t._map.setView({animate:!1,center:n}),e.resolve()}),e.promise()},updateZoom:function(){return this._map.setView({animate:!1,zoom:this._option("zoom")}),a.Deferred().resolve().promise()},updateControls:function(){return this.clean(),this.render.apply(this,arguments)},_renderMarker:function(e){var t=a.Deferred(),n=this;return this._resolveLocation(e.location).done(function(i){var o={icon:e.iconSrc||n._option("markerIconSrc")};if(e.html){a.extend(o,{htmlContent:e.html,width:null,height:null});var r=e.htmlOffset;r&&(o.anchor=new Microsoft.Maps.Point(-r.left,-r.top))}var s=new Microsoft.Maps.Pushpin(i,o);n._map.entities.push(s);var l,c=n._renderTooltip(i,e.tooltip);if(e.onClick||e.tooltip){var d=n._createAction(e.onClick||a.noop),u=n._normalizeLocation(i);l=Microsoft.Maps.Events.addHandler(s,"click",function(){d({location:u}),c&&c.setOptions({visible:!0})})}t.resolve({location:i,marker:s,infobox:c,handler:l})}),t.promise()},_renderTooltip:function(e,t){if(t){t=this._parseTooltipOptions(t);var n=new Microsoft.Maps.Infobox(e,{description:t.text,offset:new Microsoft.Maps.Point(0,33),visible:t.visible});return this._map.entities.push(n,null),n}},_destroyMarker:function(e){this._map.entities.remove(e.marker),e.infobox&&this._map.entities.remove(e.infobox),e.handler&&Microsoft.Maps.Events.removeHandler(e.handler)},_renderRoute:function(e){var t=a.Deferred(),n=this,i=a.map(e.locations,function(e){return n._resolveLocation(e)});return a.when.apply(a,i).done(function(){var i=a.makeArray(arguments),o=new Microsoft.Maps.Directions.DirectionsManager(n._map),r=new s(e.color||n._defaultRouteColor()).toHex(),l=new Microsoft.Maps.Color.fromHex(r);l.a=255*(e.opacity||n._defaultRouteOpacity()),o.setRenderOptions({autoUpdateMapView:!1,displayRouteSelector:!1,waypointPushpinOptions:{visible:!1},drivingPolylineOptions:{strokeColor:l,strokeThickness:e.weight||n._defaultRouteWeight()},walkingPolylineOptions:{strokeColor:l,strokeThickness:e.weight||n._defaultRouteWeight()}}),o.setRequestOptions({routeMode:n._movementMode(e.mode),routeDraggable:!1}),a.each(i,function(e,t){var n=new Microsoft.Maps.Directions.Waypoint({location:t});o.addWaypoint(n)});var c=Microsoft.Maps.Events.addHandler(o,"directionsUpdated",function(e){Microsoft.Maps.Events.removeHandler(c);var n=e.routeSummary[0];t.resolve({instance:o,northEast:n.northEast,southWest:n.southWest})});o.calculateDirections()}),t.promise()},_destroyRoute:function(e){e.instance.dispose()},_fitBounds:function(){if(this._updateBounds(),this._bounds&&this._option("autoAdjust")){var e=this._map.getZoom();this._preventZoomChangeEvent=!0;var t=this._bounds.clone();t.height=1.1*t.height,t.width=1.1*t.width,this._map.setView({animate:!1,bounds:t,zoom:e});var n=this._map.getZoom();n>e?this._map.setView({animate:!1,zoom:e}):this._option("zoom",n),delete this._preventZoomChangeEvent}return a.Deferred().resolve().promise()},_extendBounds:function(e){this._bounds?this._bounds=new Microsoft.Maps.LocationRect.fromLocations(this._bounds.getNorthwest(),this._bounds.getSoutheast(),e):this._bounds=new Microsoft.Maps.LocationRect(e,f,f)},clean:function(){return this._map&&(Microsoft.Maps.Events.removeHandler(this._providerViewChangeHandler),Microsoft.Maps.Events.removeHandler(this._providerClickHandler),this._clearMarkers(),this._clearRoutes(),this._map.dispose()),a.Deferred().resolve().promise()}});i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o,a,r=n(1),s=n(230),l=n(56),c="_googleScriptReady",d="https://maps.google.com/maps/api/js?sensor=false&callback="+c,u=function(){o=function(e){this._position=e.position,this._offset=e.offset,this._$overlayContainer=r("<div>").css({position:"absolute",display:"none",cursor:"pointer"}).append(e.html),this.setMap(e.map)},o.prototype=new google.maps.OverlayView,o.prototype.onAdd=function(){var e=r(this.getPanes().overlayMouseTarget);e.append(this._$overlayContainer),this._clickListener=google.maps.event.addDomListener(this._$overlayContainer.get(0),"click",r.proxy(function(e){google.maps.event.trigger(this,"click"),e.preventDefault()},this)),this.draw()},o.prototype.onRemove=function(){google.maps.event.removeListener(this._clickListener),this._$overlayContainer.remove()},o.prototype.draw=function(){var e=this.getProjection().fromLatLngToDivPixel(this._position);this._$overlayContainer.css({left:e.x+this._offset.left,top:e.y+this._offset.top,display:"block"})}},h=function(){return window.google&&window.google.maps},p=s.inherit({_mapType:function(e){var t={hybrid:google.maps.MapTypeId.HYBRID,roadmap:google.maps.MapTypeId.ROADMAP,satellite:google.maps.MapTypeId.SATELLITE};return t[e]||t.hybrid},_movementMode:function(e){var t={driving:google.maps.TravelMode.DRIVING,walking:google.maps.TravelMode.WALKING};return t[e]||t.driving},_resolveLocation:function(e){var t=r.Deferred(),n=this._getLatLng(e);return n?t.resolve(new google.maps.LatLng(n.lat,n.lng)):this._geocodeLocation(e).done(function(e){t.resolve(e)}),t.promise()},_geocodedLocations:{},_geocodeLocationImpl:function(e){var t=r.Deferred(),n=new google.maps.Geocoder;return n.geocode({address:e},function(e,n){n===google.maps.GeocoderStatus.OK?t.resolve(e[0].geometry.location):t.resolve(new google.maps.LatLng(0,0))}),t.promise()},_normalizeLocation:function(e){return{lat:e.lat(),lng:e.lng()}},_normalizeLocationRect:function(e){return{northEast:this._normalizeLocation(e.getNorthEast()),southWest:this._normalizeLocation(e.getSouthWest())}},_loadImpl:function(){if(this._googleMapsLoader=r.Deferred(),h())this._mapReady();else{if(!a||"resolved"===a.state()&&!h()){a=r.Deferred();var e=this._keyOption("google");window[c]=r.proxy(a.resolve,a),r.getScript(d+(e?"&key="+e:""))}a.done(r.proxy(this._mapReady,this))}return this._googleMapsLoader.promise()},_mapReady:function(){try{delete window[c]}catch(e){window[c]=void 0}u(),this._googleMapsLoader.resolve()},_init:function(){var e=r.Deferred(),t=r.Deferred(),n=this._option("controls");this._map=new google.maps.Map(this._$container[0],{zoom:this._option("zoom"),panControl:n,zoomControl:n,mapTypeControl:n,streetViewControl:n});var i=google.maps.event.addListener(this._map,"idle",r.proxy(t.resolve,t));return r.when(t).done(r.proxy(function(){google.maps.event.removeListener(i),e.resolve()},this)),e.promise()},_attachHandlers:function(){this._boundsChangeListener=google.maps.event.addListener(this._map,"bounds_changed",r.proxy(this._boundsChangeHandler,this)),this._clickListener=google.maps.event.addListener(this._map,"click",r.proxy(this._clickActionHandler,this))},_boundsChangeHandler:function(){var e=this._map.getBounds();this._option("bounds",this._normalizeLocationRect(e));var t=this._map.getCenter();this._option("center",this._normalizeLocation(t)),this._preventZoomChangeEvent||this._option("zoom",this._map.getZoom())},_clickActionHandler:function(e){this._fireClickAction({location:this._normalizeLocation(e.latLng)})},updateDimensions:function(){var e=this._option("center");return google.maps.event.trigger(this._map,"resize"),this._option("center",e),this.updateCenter()},updateMapType:function(){return this._map.setMapTypeId(this._mapType(this._option("type"))),r.Deferred().resolve().promise()},updateBounds:function(){var e=r.Deferred(),t=this,n=this._resolveLocation(this._option("bounds.northEast")),i=this._resolveLocation(this._option("bounds.southWest"));return r.when(n,i).done(function(n,i){var o=new google.maps.LatLngBounds;o.extend(n),o.extend(i),t._map.fitBounds(o),e.resolve()}),e.promise()},updateCenter:function(){var e=r.Deferred(),t=this;return this._resolveLocation(this._option("center")).done(function(n){t._map.setCenter(n),t._option("center",t._normalizeLocation(n)),e.resolve()}),e.promise()},updateZoom:function(){return this._map.setZoom(this._option("zoom")),r.Deferred().resolve().promise()},updateControls:function(){var e=this._option("controls");return this._map.setOptions({panControl:e,zoomControl:e,mapTypeControl:e,streetViewControl:e}),r.Deferred().resolve().promise()},_renderMarker:function(e){var t=r.Deferred(),n=this;return this._resolveLocation(e.location).done(function(i){var a;a=e.html?new o({map:n._map,position:i,html:e.html,offset:r.extend({top:0,left:0},e.htmlOffset)}):new google.maps.Marker({position:i,map:n._map,icon:e.iconSrc||n._option("markerIconSrc")});var s,l=n._renderTooltip(a,e.tooltip);if(e.onClick||e.tooltip){var c=n._createAction(e.onClick||r.noop),d=n._normalizeLocation(i);s=google.maps.event.addListener(a,"click",function(){c({location:d}),l&&l.open(n._map,a)})}t.resolve({location:i,marker:a,listener:s})}),t.promise()},_renderTooltip:function(e,t){if(t){t=this._parseTooltipOptions(t);var n=new google.maps.InfoWindow({content:t.text});return t.visible&&n.open(this._map,e),n}},_destroyMarker:function(e){e.marker.setMap(null),e.listener&&google.maps.event.removeListener(e.listener)},_renderRoute:function(e){var t=r.Deferred(),n=this,i=new google.maps.DirectionsService,o=r.map(e.locations,function(e){return n._resolveLocation(e)});return r.when.apply(r,o).done(function(){var o=r.makeArray(arguments),a=o.shift(),s=o.pop(),c=r.map(o,function(e){return{location:e,stopover:!0}}),d={origin:a,destination:s,waypoints:c,optimizeWaypoints:!0,travelMode:n._movementMode(e.mode)};i.route(d,function(i,o){if(o===google.maps.DirectionsStatus.OK){var a=new l(e.color||n._defaultRouteColor()).toHex(),r={directions:i,map:n._map,suppressMarkers:!0,preserveViewport:!0,polylineOptions:{strokeWeight:e.weight||n._defaultRouteWeight(),strokeOpacity:e.opacity||n._defaultRouteOpacity(),strokeColor:a}},s=new google.maps.DirectionsRenderer(r),c=i.routes[0].bounds;t.resolve({instance:s,northEast:c.getNorthEast(),southWest:c.getSouthWest()})}})}),t.promise()},_destroyRoute:function(e){e.instance.setMap(null)},_fitBounds:function(){if(this._updateBounds(),this._bounds&&this._option("autoAdjust")){var e=this._map.getZoom();this._preventZoomChangeEvent=!0,this._map.fitBounds(this._bounds),this._boundsChangeHandler();var t=this._map.getZoom();t>e?this._map.setZoom(e):this._option("zoom",t),delete this._preventZoomChangeEvent}return r.Deferred().resolve().promise()},_extendBounds:function(e){this._bounds?this._bounds.extend(e):(this._bounds=new google.maps.LatLngBounds,this._bounds.extend(e))},clean:function(){return this._map&&(google.maps.event.removeListener(this._boundsChangeListener),google.maps.event.removeListener(this._clickListener),this._clearMarkers(),this._clearRoutes(),delete this._map,this._$container.empty()),r.Deferred().resolve().promise()}});i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(231),r=n(56),s=n(9),l="https://maps.google.com/maps/api/staticmap?",c=a.inherit({_locationToString:function(e){var t=this._getLatLng(e);return t?t.lat+","+t.lng:e.toString().replace(/ /g,"+")},_renderImpl:function(){return this._updateMap()},updateDimensions:function(){return this._updateMap()},updateMapType:function(){return this._updateMap()},updateBounds:function(){return o.Deferred().resolve().promise()},updateCenter:function(){return this._updateMap()},updateZoom:function(){return this._updateMap()},updateControls:function(){return o.Deferred().resolve().promise()},addMarkers:function(e){var t=this;return this._updateMap().done(function(){o.each(e,function(e,n){t._fireMarkerAddedAction({options:n})})})},removeMarkers:function(e){var t=this;return this._updateMap().done(function(){o.each(e,function(e,n){t._fireMarkerRemovedAction({options:n})})})},adjustViewport:function(){return o.Deferred().resolve().promise()},addRoutes:function(e){var t=this;return this._updateMap().done(function(){o.each(e,function(e,n){t._fireRouteAddedAction({options:n})})})},removeRoutes:function(e){var t=this;return this._updateMap().done(function(){o.each(e,function(e,n){t._fireRouteRemovedAction({options:n})})})},clean:function(){return this._$container.css("background-image","none"),this._$container.off(this._addEventNamespace(s.name)),o.Deferred().resolve().promise()},mapRendered:function(){return!0},_updateMap:function(){var e=this._keyOption("googleStatic"),t=this._$container,n=["sensor=false","size="+t.width()+"x"+t.height(),"maptype="+this._option("type"),"center="+this._locationToString(this._option("center")),"zoom="+this._option("zoom"),this._markersSubstring()];n.push.apply(n,this._routeSubstrings()),e&&n.push("key="+e);var i=l+n.join("&");return this._$container.css("background",'url("'+i+'") no-repeat 0 0'),this._attachClickEvent(),o.Deferred().resolve(!0).promise()},_markersSubstring:function(){var e=this,t=[],n=this._option("markerIconSrc");return n&&t.push("icon:"+n),o.each(this._option("markers"),function(n,i){t.push(e._locationToString(i.location))}),"markers="+t.join("|")},_routeSubstrings:function(){var e=this,t=[];return o.each(this._option("routes"),function(n,i){var a=new r(i.color||e._defaultRouteColor()).toHex().replace("#","0x"),s=Math.round(255*(i.opacity||e._defaultRouteOpacity())).toString(16),l=i.weight||e._defaultRouteWeight(),c=[];o.each(i.locations,function(t,n){c.push(e._locationToString(n))}),t.push("path=color:"+a+s+"|weight:"+l+"|"+c.join("|"))}),t},_attachClickEvent:function(){var e=this,t=this._addEventNamespace(s.name);this._$container.off(t).on(t,function(t){e._fireClickAction({jQueryEvent:t})})}});i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(156),s="dx-navbar",l="dx-item-content",c="dx-nav-item",d="dx-nav-item-content",u=r.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{scrollingEnabled:!1})},_render:function(){this.callBase(),this.element().addClass(s)},_postprocessRenderItem:function(e){this.callBase(e);var t=e.itemElement,n=e.itemData;t.addClass(c),t.find("."+l).addClass(d),n.icon||n.iconSrc||t.addClass("dx-navbar-text-item")}});a("dxNavBar",u),i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(52),r=n(51),s=n(248),l=null,c=function(e,t,n){var i=o.isPlainObject(e)?e:{message:e},c=i.onHidden;o.extend(i,{type:t,displayTime:n,onHidden:function(e){e.element.remove(),new a(c,{context:e.model}).execute(arguments)}}),l=o("<div>").appendTo(r.value()),new s(l,i).show()};i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(6),s=n(3),l=n(246),c=n(4),d=n(13),u=n(86),h=n(394),p=n(8),f=Math,_="dx-numberbox",g="dx-numberbox-spin",m="dx-numberbox-spin-container",v="dx-numberbox-spin-touch-friendly",x=["Tab","Del","Delete","Backspace","Left","ArrowLeft","Right","ArrowRight","Home","End"],w=l.inherit({_supportedKeys:function(){return o.extend(this.callBase(),{upArrow:function(e){e.preventDefault(),e.stopPropagation(),this._spinUpChangeHandler()},downArrow:function(e){e.preventDefault(),e.stopPropagation(),this._spinDownChangeHandler()},enter:function(e){this._input().trigger(this.option("valueChangeEvent"))}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{value:0,min:void 0,max:void 0,step:1,showSpinButtons:!1,useTouchSpinButtons:!0,mode:"text",invalidValueMessage:p.format("dxNumberBox-invalidValueMessage")})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return r.real().generic&&!r.isSimulator()},options:{useTouchSpinButtons:!1}},{device:function(){return"generic"!==r.real().platform},options:{mode:"number"}}])},_render:function(){this.callBase(),this.element().addClass(_),this.setAria("role","spinbutton"),this._renderMouseWheelHandler()},_keyPressHandler:function(e){this.callBase(e);var t=String.fromCharCode(e.which),n=/[\d.,eE\-+]/,i=n.test(t);if(!i){if(e.metaKey||e.ctrlKey||e.key&&o.inArray(e.key,x)>=0)return;return e.preventDefault(),!1}this._keyPressed=!0},_renderMouseWheelHandler:function(e){var t=c.addNamespace(u.name,this.NAME),n=this._createAction(o.proxy(function(e){this._mouseWheelHandler(e.jQueryEvent)},this));this._input().off(t).on(t,function(e){n({jQueryEvent:e})})},_mouseWheelHandler:function(e){this._input().is(":focus")&&(e.delta>0?this._spinValueChange(1):this._spinValueChange(-1),e.preventDefault(),e.stopPropagation())},_renderValue:function(){var e=this._input().val();e.length&&Number(e)===this.option("value")||(this._forceValueRender(),this._toggleEmptinessEventHandler());var t=this.option("value");this._validateValue(t),this._renderInputAddons(),this.setAria("valuenow",t)},_renderValueEventName:function(){return this.callBase()+" keypress"},_toggleDisabledState:function(e){this._$spinUp&&h.getInstance(this._$spinUp).option("disabled",e),this._$spinDown&&h.getInstance(this._$spinDown).option("disabled",e),this.callBase.apply(this,arguments)},_forceValueRender:function(){var e=this.option("value"),t=Number(e),n=this.option("valueFormat"),i=isNaN(t)?"":n(e);this._renderDisplayText(i)},_renderProps:function(){this.callBase(),this._input().prop({min:this.option("min"),max:this.option("max"),step:this.option("step")}),this.setAria({valuemin:this.option("min")||"undefined",valuemax:this.option("max")||"undefined"})},_renderInputAddons:function(){this.callBase(),this._renderSpinButtons()},_renderSpinButtons:function(){var e=this.option("showSpinButtons");return this.element().toggleClass(g,e),this._toggleTouchFriendlyClass(),e?(this._$spinContainer||(this._$spinContainer=this._createSpinButtons()),void this._$spinContainer.prependTo(this._buttonsContainer())):(this._$spinContainer&&this._$spinContainer.remove(),void(this._$spinContainer=null))},_toggleTouchFriendlyClass:function(){this.element().toggleClass(v,this.option("showSpinButtons")&&this.option("useTouchSpinButtons"))},_createSpinButtons:function(){var e=c.addNamespace(d.down,this.NAME),t=this._createAction(o.proxy(this._spinButtonsPointerDownHandler,this)),n=o("<div>").addClass(m).off(e).on(e,function(e){t({jQueryEvent:e})});return this._$spinUp=o("<div>").appendTo(n),this._createComponent(this._$spinUp,h,{direction:"up",onChange:o.proxy(this._spinUpChangeHandler,this)}),this._$spinDown=o("<div>").appendTo(n),this._createComponent(this._$spinDown,h,{direction:"down",onChange:o.proxy(this._spinDownChangeHandler,this)}),n},_spinButtonsPointerDownHandler:function(e){var t=this._input();this.option("useTouchSpinButtons")||document.activeElement===t[0]||t.trigger("focus")},_spinUpChangeHandler:function(){this.option("readOnly")||this._spinValueChange(1)},_spinDownChangeHandler:function(){this.option("readOnly")||this._spinValueChange(-1)},_spinValueChange:function(e){var t=parseFloat(this._normalizeInputValue())||0,n=parseFloat(this.option("step"));t=this._correctRounding(t,n*e);var i=this.option("min"),o=this.option("max");void 0!==i&&(t=Math.max(i,t)),void 0!==o&&(t=Math.min(o,t)),this.option("value",t)},_correctRounding:function(e,t){var n=/[,|.](.*)/,i=n.test(e),o=n.test(t);if(i||o){var a=i?n.exec(e)[0].length:0,r=o?n.exec(t)[0].length:0,s=f.max(a,r);return e=this._round(e+t,s)}return e+t},_round:function(e,t){t=t||0;var n=Math.pow(10,t);return e*=n,e=Math.round(e)/n},_renderValueChangeEvent:function(){this.callBase(),this._input().focusout(o.proxy(this._forceRefreshInputValue,this))},_forceRefreshInputValue:function(){if("number"!==this.option("mode")){var e=this._input(),t=this.option("valueFormat");e.val(null),e.val(t(this.option("value")))}},_valueChangeEventHandler:function(e){var t=this._input(),n=t.val(),i=this._normalizeInputValue(),o=this.option("valueFormat");return this._shouldBeValidated()&&!this._validateValue(i)?void t.val(o(this.option("value"))):"number"===this.option("mode")?void this.callBase(e,isNaN(i)?null:i):void(this._isValueIncomplete(n)||(Number(n)!==i&&t.val(o(i)),this.callBase(e,i)))},_inputIsInvalid:function(){var e="number"===this.option("mode"),t=this._input().get(0).validity;return e&&t&&t.badInput},_renderDisplayText:function(e){this._inputIsInvalid()||this.callBase(e)},_isValueIncomplete:function(e){var t=/^(([+-])|([+-]?(0|[1-9]\d*)?[.,])|([+-]?(0|[1-9]\d*)?([.,]\d+)[eE][+-]?)|([+-]?(0|[1-9]\d*)[eE][+-]?))$/;return t.test(e)},_shouldBeValidated:function(){var e=this._normalizeText();return!!e&&!isNaN(Number(e))&&this._isValueValid()},_validateValue:function(e){var t=this._normalizeText(),n=this._isValueValid(),i=!0,o=/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(t);return isNaN(Number(e))&&(i=!1),!e&&n?i=!0:o||n||(i=!1),this.option({isValid:i,validationError:i?null:{editorSpecific:!0,message:this.option("invalidValueMessage")}}),i},_normalizeInputValue:function(){return this._normalizeValue()},_normalizeValue:function(e){return this._parseValue(this._normalizeText(e))},_normalizeText:function(e){return e=o.trim(a.isDefined(e)?e:this._input().val()),e.replace(",",".")},_parseValue:function(e){if(""===e)return null;var t=parseFloat(e);return isNaN(t)?null:(void 0!==this.option("min")&&(t=f.max(t,this.option("min"))),void 0!==this.option("max")&&(t=f.min(t,this.option("max"))),t)},_clean:function(){delete this._$spinContainer,delete this._$spinUp,delete this._$spinDown,this.callBase()},_optionChanged:function(e){switch(e.name){case"value":this._validateValue(e.value),this.callBase(e),this._resumeValueChangeAction();break;case"step":case"min":case"max":this._renderProps();break;case"showSpinButtons":this._renderInputAddons();break;case"useTouchSpinButtons":this._toggleTouchFriendlyClass();break;case"invalidValueMessage":break;default:this.callBase(e)}}});s("dxNumberBox",w),i.exports=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(18),r=n(4),s=n(13),l=n(70),c=n(64),d="dx-numberbox-spin",u="dx-numberbox-spin-button",h=100,p="dxNumberBox",f=r.addNamespace(s.up,p),_=r.addNamespace(s.cancel,p),g=a.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{direction:"up",onChange:null,activeStateEnabled:!0,hoverStateEnabled:!0})},_render:function(){this.callBase();var e=this.element(),t=d+"-"+this.option("direction"),n=r.addNamespace(s.down,this.NAME);e.addClass(u).addClass(t).off(n).on(n,o.proxy(this._spinDownHandler,this)),this._spinIcon=o("<div>").addClass(t+"-icon").appendTo(this.element()),this._spinChangeHandler=this._createActionByOption("onChange")},_spinDownHandler:function(e){e.preventDefault(),this._clearTimer(),o(document).on(c.name,o.proxy(function(){this._feedBackDeferred=o.Deferred(),l.lock(this._feedBackDeferred),this._spinChangeHandler({jQueryEvent:e}),this._holdTimer=setInterval(this._spinChangeHandler,h,{jQueryEvent:e})},this)).on(f,o.proxy(this._clearTimer,this)).on(_,o.proxy(this._clearTimer,this)),this._spinChangeHandler({jQueryEvent:e})},_dispose:function(){this._clearTimer(),this.callBase()},_clearTimer:function(e){o(document).off(f).off(_).off(c.name),this._feedBackDeferred&&this._feedBackDeferred.resolve(),this._holdTimer&&clearInterval(this._holdTimer)},_optionChanged:function(e){switch(e.name){case"onChange":case"direction":this._invalidate();break;default:this.callBase(e)}}});i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(48),s=n(3),l=n(31),c=n(4),d=n(23),u=n(9),h="dx-radiobutton",p="dx-radiobutton-icon",f="dx-radiobutton-icon-dot",_="dx-radiobutton-checked",g=l.inherit({_supportedKeys:function(){var e=function(e){e.preventDefault(),this._clickAction({jQueryEvent:e})};return o.extend(this.callBase(),{space:e})},_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,value:!1,useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===a.real().deviceType&&!a.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(d.current())},options:{useInkRipple:!0}}])},_init:function(){this.callBase(),this.element().addClass(h)},_render:function(){this.callBase(),this._renderIcon(),this.option("useInkRipple")&&this._renderInkRipple(),this._renderCheckedState(this.option("value")),this._renderClick(),this.setAria("role","radio")},_renderInkRipple:function(){this._inkRipple=r.render({waveSizeCoefficient:3.3,useHoldAnimation:!1,wavesNumber:2,isCentered:!0})},_renderInkWave:function(e,t,n,i){if(this._inkRipple){var o={element:e,jQueryEvent:t,wave:i};n?this._inkRipple.showWave(o):this._inkRipple.hideWave(o)}},_updateFocusState:function(e,t){this.callBase.apply(this,arguments),this._renderInkWave(this._$icon,e,t,0)},_toggleActiveState:function(e,t,n){this.callBase.apply(this,arguments),this._renderInkWave(this._$icon,n,t,1)},_renderIcon:function(){this._$icon=o("<div>").addClass(p),o("<div>").addClass(f).appendTo(this._$icon),this.element().append(this._$icon)},_renderCheckedState:function(e){this.element().toggleClass(_,e),this.setAria("checked",e)},_renderClick:function(){var e=c.addNamespace(u.name,this.NAME);this._clickAction=this._createAction(o.proxy(function(e){this._clickHandler(e.jQueryEvent)},this)),this.element().off(e).on(e,o.proxy(function(e){this._clickAction({jQueryEvent:e})},this))},_clickHandler:function(e){this._saveValueChangeEvent(e),this.option("value",!0)},_optionChanged:function(e){switch(e.name){case"useInkRipple":this._invalidate();break;case"value":this._renderCheckedState(e.value),this.callBase(e);break;default:this.callBase(e)}}});s("dxRadioButton",g),i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(3),s=n(31),l=n(48),c=n(226),d=n(23),u=n(28),h="dx-radiogroup",p="dx-radiogroup-vertical",f="dx-radiogroup-horizontal",_="dx-radiobutton",g="dx-radiobutton-icon",m="dx-radiobutton-icon-dot",v="dx-radio-value-container",x="dx-radiobutton-checked",w="dxItemData",y=100,b=u.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),c._dataExpressionDefaultOptions(),{_itemAttributes:{role:"radio"}})},_supportedKeys:function(e){var t=this.callBase();return o.extend({},t,{enter:function(e){return e.preventDefault(),t.enter.apply(this,arguments)},space:function(e){return e.preventDefault(),t.space.apply(this,arguments)}})},_focusTarget:function(){return this.element().parent()},_keyboardEventBindingTarget:function(){return this._focusTarget()}});b.publicName("dxRadioCollection");var C=s.inherit({_activeStateUnit:"."+_,_getDefaultOptions:function(){return o.extend(this.callBase(),o.extend(c._dataExpressionDefaultOptions(),{hoverStateEnabled:!0,activeStateEnabled:!0,layout:"vertical",useInkRipple:!1}))},_defaultOptionsRules:function(){return this.callBase().concat([{device:{tablet:!0},options:{layout:"horizontal"}},{device:function(e){return"desktop"===a.real().deviceType&&!a.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(d.current())},options:{useInkRipple:!0}}])},_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{value:!0})},_dataSourceOptions:function(){return{paginate:!1}},_init:function(){this.callBase(),this._initDataExpressions(),this._feedbackHideTimeout=y},_render:function(){this.element().addClass(h),this._renderRadios(),this.setAria("role","radiogroup"),this.callBase(),this._renderLayout(),this._updateItemsSize(),this.option("useInkRipple")&&this._renderInkRipple()},_renderInkRipple:function(){this._inkRipple=l.render({waveSizeCoefficient:3.3,useHoldAnimation:!1,isCentered:!0})},_toggleActiveState:function(e,t,n){this.callBase.apply(this,arguments),this._inkRipple&&(t?this._inkRipple.showWave({element:e.find("."+g),jQueryEvent:n}):this._inkRipple.hideWave({element:e.find("."+g),jQueryEvent:n}))},_renderFocusState:o.noop,_renderRadios:function(){var e=o("<div>").appendTo(this.element());this._radios=this._createComponent(e,b,{dataSource:this._dataSource,onItemRendered:o.proxy(this._itemRenderedHandler,this),onItemClick:o.proxy(this._itemClickHandler,this),itemTemplate:this._getTemplateByOption("itemTemplate"),scrollingEnabled:!1,focusStateEnabled:this.option("focusStateEnabled"),accessKey:this.option("accessKey"),tabIndex:this.option("tabIndex"),noDataText:""}),this._setCollectionWidgetOption("onContentReady",o.proxy(this._contentReadyHandler,this)),this._contentReadyHandler()},_contentReadyHandler:function(){this.itemElements().addClass(_),this._refreshSelected()},_itemRenderedHandler:function(e){if(!e.itemData.html){var t,n;t=o("<div>").addClass(g),o("<div>").addClass(m).appendTo(t),n=o("<div>").append(t).addClass(v),e.itemElement.prepend(n)}},_itemClickHandler:function(e){this.option("value",this._getItemValue(e.itemData))},_getItemValue:function(e){return this._valueGetter?this._valueGetter(e):e.text},itemElements:function(){return this._radios.itemElements()},_renderDimensions:function(){this.callBase(),this._updateItemsSize()},_renderLayout:function(){var e=this.option("layout");this.element().toggleClass(p,"vertical"===e),this.element().toggleClass(f,"horizontal"===e)},_refreshSelected:function(){var e=this.option("value");this.itemElements().each(o.proxy(function(t,n){var i=o(n),a=this._valueGetter(i.data(w));i.toggleClass(x,this._isValueEquals(a,e)),this.setAria("checked",this._isValueEquals(a,e),i)},this))},_updateItemsSize:function(){if("horizontal"===this.option("layout"))this.itemElements().css("height","auto");else{var e=this.option("items").length;this.itemElements().css("height",100/e+"%")}},_getAriaTarget:function(){return this.element()},_setCollectionWidgetOption:function(){this._setWidgetOption("_radios",arguments)},focus:function(){this._radios&&this._radios.focus()},_optionChanged:function(e){switch(this._dataExpressionOptionChanged(e),e.name){case"useInkRipple":this._invalidate();break;case"focusStateEnabled":case"accessKey":case"tabIndex":this._setCollectionWidgetOption(e.name,e.value);break;case"disabled":this.callBase(e),this._setCollectionWidgetOption(e.name,e.value);break;case"dataSource":this._setCollectionWidgetOption("dataSource");break;case"valueExpr":this._refreshSelected();break;case"value":this._refreshSelected(),this.callBase(e);break;case"items":case"itemTemplate":case"displayExpr":break;case"layout":this._renderLayout(),this._updateItemsSize();break;default:this.callBase(e)}}}).include(c);r("dxRadioGroup",C),i.exports=C}.call(t,n,t,e),!(void 0!==i&&(e.exports=i));
},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(243),r=n(244),s=n(3),l=n(4),c=n(8),d="dx-rangeslider",u=d+"-start-handle",h=d+"-end-handle",p=a.inherit({_supportedKeys:function(){var e=this.option("rtlEnabled"),t=this,n=function(e,n){t.option("start")===t.option("end")&&(t._capturedHandle=n,e.target=t._capturedHandle,t._capturedHandle.focus())},i=function(n,i,a){var r=o(n.target).hasClass(u),s=r?"start":"end",l=t.option(s);i=t._valueStep(i),l+=a*(e?-i:i),t.option(s,l)},a=function(o,a){n(o,e?t._$handleStart:t._$handleEnd),i(o,a,1)},r=function(o,a){n(o,e?t._$handleEnd:t._$handleStart),i(o,a,-1)};return o.extend(this.callBase(),{leftArrow:function(e){e.preventDefault(),e.stopPropagation(),r(e,this.option("step"))},rightArrow:function(e){e.preventDefault(),e.stopPropagation(),a(e,this.option("step"))},pageUp:function(e){e.preventDefault(),e.stopPropagation(),a(e,this.option("step")*this.option("keyStep"))},pageDown:function(e){e.preventDefault(),e.stopPropagation(),r(e,this.option("step")*this.option("keyStep"))},home:function(e){e.preventDefault(),e.stopPropagation();var t=o(e.target).hasClass(u),n=t?"start":"end",i=t?"min":"start",a=this.option(i);this.option(n,a)},end:function(e){e.preventDefault(),e.stopPropagation();var t=o(e.target).hasClass(u),n=t?"start":"end",i=t?"end":"max",a=this.option(i);this.option(n,a)}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{start:40,end:60})},_render:function(){this.callBase(),this.element().addClass(d),this._callHandlerMethod("repaint")},_renderHandle:function(){this._$handleStart=this._renderHandleImpl(this.option("start"),this._$handleStart).addClass(u),this._$handleEnd=this._renderHandleImpl(this.option("end"),this._$handleEnd).addClass(h),this._updateHandleAriaLabels()},_startHandler:function(e){var t=e.jQueryEvent,n=this._$range,i=n.width(),o=l.eventData(t).x-this._$bar.offset().left,a=n.position().left,r=n.position().left+i,s=this.option("rtlEnabled"),c=(s?-1:1)*((a+r)/2-o)>0;this._capturedHandle=c?this._$handleStart:this._$handleEnd,this.callBase(e)},_updateHandleAriaLabels:function(){this.setAria("label",c.getFormatter("dxRangeSlider-ariaFrom")(this.option("dxRangeSlider-ariaFrom")),this._$handleStart),this.setAria("label",c.getFormatter("dxRangeSlider-ariaTill")(this.option("dxRangeSlider-ariaTill")),this._$handleEnd)},_activeHandle:function(){return this._capturedHandle},_updateHandlePosition:function(e){var t=this.option("rtlEnabled"),n=t?-1:1,i=this.option("max"),o=this.option("min"),a=this._startOffset+n*e.jQueryEvent.offset/this._swipePixelRatio();a=a.toPrecision(12);var s=a*(i-o)+o;this._updateSelectedRangePosition(a,a),r.getInstance(this._activeHandle()).fitTooltipPosition,this._changeValueOnSwipe(a);var l,c=this.option("start"),d=this.option("end");c===d&&(l=c>s?this._$handleStart:this._$handleEnd,l.focus(),l&&l!==this._capturedHandle&&(this._updateSelectedRangePosition((c-o)/(i-o),(d-o)/(i-o)),this._toggleActiveState(this._activeHandle(),!1),this._toggleActiveState(l,!0),this._capturedHandle=l),this._updateSelectedRangePosition(a,a),this._changeValueOnSwipe(a))},_updateSelectedRangePosition:function(e,t){var n=this.option("rtlEnabled"),i=this._capturedHandle===this._$handleStart&&n||this._capturedHandle===this._$handleEnd&&!n,o=i?"right":"left";n^i?this._$range.css(o,100-100*t+"%"):this._$range.css(o,100*e+"%")},_changeValueOnSwipe:function(e){this._suppressValueChangeAction(),this.callBase(e),this._resumeValueChangeAction();var t=this._capturedHandle===this._$handleStart?"start":"end",n=this.option("start"),i=this.option("end"),o=this.option("value"),a=this.option("max"),r=this.option("min");n>a&&(n=a,this.option("start",a)),r>n&&(n=r,this.option("start",r)),i>a&&(i=a,this.option("end",a)),o>i&&"start"===t&&(o=i),n>o&&"end"===t&&(o=n),this.option(t,o)},_renderValue:function(){var e=this.option("start"),t=this.option("end"),n=this.option("min"),i=this.option("max"),o=this.option("rtlEnabled");e=Math.max(n,Math.min(e,i)),t=Math.max(e,Math.min(t,i)),this.option("start",e),this.option("end",t);var a=i===n?0:(e-n)/(i-n),s=i===n?0:(t-n)/(i-n),l=parseFloat((100*a).toPrecision(12))+"%",c=parseFloat((100*(1-s)).toPrecision(12))+"%";!this._needPreventAnimation&&this._setRangeStyles({right:o?l:c,left:o?c:l}),r.getInstance(this._$handleStart).option("value",e),r.getInstance(this._$handleEnd).option("value",t)},_callHandlerMethod:function(e,t){r.getInstance(this._$handleStart)[e](t),r.getInstance(this._$handleEnd)[e](t)},_optionChanged:function(e){switch(e.name){case"start":case"end":this._renderValue(),this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]})({start:this.option("start"),end:this.option("end"),jQueryEvent:this._valueChangeEventInstance}),this._saveValueChangeEvent(void 0);break;default:this.callBase(e)}}});s("dxRangeSlider",p),i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(182).ScrollView}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=a.abstract,s=n(4),l=n(110),c=n(60),d=n(74),u=n(6).real(),h=n(53).compare,p="dxscrollinit",f="dxscrollstart",_="dxscroll",g="dxscrollend",m="dxscrollstop",v="dxscrollcancel",x=function(e){return"dxmousewheel"===e.type},w=a.inherit(function(){var e=s.addNamespace("scroll","dxScrollEmitter");return{ctor:function(t){this._element=t,this._locked=!1;var n=this;this._proxiedScroll=function(e){n._scroll(e)},o(this._element).on(e,this._proxiedScroll)},_scroll:r,check:function(e,t){this._locked&&t()},dispose:function(){o(this._element).off(e,this._proxiedScroll)}}}()),y=w.inherit(function(){return{ctor:function(e,t){this.callBase(e),this._timeout=t},_scroll:function(){this._prepare(),this._forget()},_prepare:function(){this._timer&&this._clearTimer(),this._locked=!0},_clearTimer:function(){clearTimeout(this._timer),this._locked=!1,this._timer=null},_forget:function(){var e=this;this._timer=setTimeout(function(){e._clearTimer()},this._timeout)},dispose:function(){this.callBase(),this._clearTimer()}}}()),b=y.inherit(function(){var e=400;return{ctor:function(t){this.callBase(t,e),this._lastWheelDirection=null},check:function(e,t){this._checkDirectionChanged(e),this.callBase(e,t)},_checkDirectionChanged:function(e){if(!x(e))return void(this._lastWheelDirection=null);var t=e.shiftKey||!1,n=null!==this._lastWheelDirection&&t!==this._lastWheelDirection;this._lastWheelDirection=t,this._locked=this._locked&&!n}}}()),C=y.inherit(function(){var e=400;return{ctor:function(t){this.callBase(t,e)}}}());!function(){var e=u.ios&&h(u.version,[8])>=0,t=u.android&&h(u.version,[5])>=0;(e||t)&&(C=w.inherit(function(){return{_scroll:function(){this._locked=!0;var e=this;this._scrollFrame=d.requestAnimationFrame(function(){e._locked=!1})},check:function(e,t){d.cancelAnimationFrame(this._scrollFrame),d.cancelAnimationFrame(this._checkFrame);var n=this,i=this.callBase;this._checkFrame=d.requestAnimationFrame(function(){i.call(n,e,t),n._locked=!1})},dispose:function(){this.callBase(),d.cancelAnimationFrame(this._scrollFrame),d.cancelAnimationFrame(this._checkFrame)}}}()))}();var k=l.inherit(function(){var e=100,t=200,n=Math.round(1e3/60);return{ctor:function(e){this.callBase.apply(this,arguments),this.direction="both",this._pointerLocker=new C(e),this._wheelLocker=new b(e)},validate:function(){return!0},_init:function(e){var t=this;this._wheelLocker.check(e,function(){x(e)&&t._accept(e)}),this._pointerLocker.check(e,function(){!x(e)&&t._accept(e)}),this._fireEvent(p,e)},move:function(e){this.callBase.apply(this,arguments),e.isScrollingEvent=this.isNative||e.isScrollingEvent},_start:function(e){this._savedEventData=s.eventData(e),this._fireEvent(f,e,{delta:s.eventDelta(this._savedEventData,s.eventData(e))})},_move:function(e){var n=s.eventData(e);this._fireEvent(_,e,{delta:s.eventDelta(this._prevEventData,n)});var i=s.eventDelta(this._savedEventData,n);i.time>t&&(this._savedEventData=this._prevEventData)},_end:function(t){var i=s.eventDelta(this._prevEventData,s.eventData(t)),o={x:0,y:0};if(!x(t)&&i.time<e){var a=s.eventDelta(this._savedEventData,this._prevEventData),r=n/a.time;o={x:a.x*r,y:a.y*r}}this._fireEvent(g,t,{velocity:o})},_stop:function(e){this._fireEvent(m,e)},cancel:function(e){this.callBase.apply(this,arguments),this._fireEvent(v,e)},dispose:function(){this.callBase.apply(this,arguments),this._pointerLocker.dispose(),this._wheelLocker.dispose()}}}());c({emitter:k,events:[p,f,_,g,m,v]}),i.exports={init:p,start:f,move:_,end:g,stop:m,cancel:v}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(152),s=n(61),l="dx-scrollview-pull-down-loading",c="dx-scrollview-pull-down-ready",d="dx-scrollview-pull-down-image",u="dx-scrollview-pull-down-indicator",h="dx-scrollview-pull-down-text",p=0,f=1,_=2,g=3,m=r.inherit({_init:function(e){this.callBase(e),this._$topPocket=e._$topPocket,this._$pullDown=e._$pullDown,this._$bottomPocket=e._$bottomPocket,this._$refreshingText=e._$refreshingText,this._$scrollViewContent=e.content(),this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=o.Callbacks(),this.releaseCallbacks=o.Callbacks(),this.reachBottomCallbacks=o.Callbacks()},render:function(){this.callBase(),this._renderPullDown(),this._releaseState()},_renderPullDown:function(){var e=o("<div>").addClass(d),t=o("<div>").addClass(u),n=o("<div>")[s.publicName()](),i=this._$pullDownText=o("<div>").addClass(h);this._$pullingDownText=o("<div>").text(this.option("pullingDownText")).appendTo(i),this._$pulledDownText=o("<div>").text(this.option("pulledDownText")).appendTo(i),this._$refreshingText=o("<div>").text(this.option("refreshingText")).appendTo(i),this._$pullDown.empty().append(e).append(t.append(n)).append(i)},_releaseState:function(){this._state=p,this._refreshPullDownText()},_pushBackFromBoundary:function(){this._isLocked()||this._component.isEmpty()||this.callBase()},_refreshPullDownText:function(){this._$pullingDownText.css("opacity",this._state===p?1:0),this._$pulledDownText.css("opacity",this._state===f?1:0),this._$refreshingText.css("opacity",this._state===_?1:0)},update:function(){this.callBase(),this._setTopPocketOffset()},_updateDimensions:function(){this.callBase(),this._topPocketSize=this._$topPocket.height(),this._bottomPocketSize=this._$bottomPocket.height(),this._scrollOffset=this._$container.height()-this._$content.height()},_allowedDirections:function(){var e=this.callBase();return e.vertical=e.vertical||this._pullDownEnabled,e},_setTopPocketOffset:function(){this._$topPocket.css({top:-this._topPocketSize})},handleEnd:function(){this.callBase(),this._complete()},handleStop:function(){this.callBase(),this._complete()},_complete:function(){this._state===f&&(this._setPullDownOffset(this._topPocketSize),clearTimeout(this._pullDownRefreshTimeout),this._pullDownRefreshTimeout=setTimeout(o.proxy(function(){this._pullDownRefreshing()},this),400))},_setPullDownOffset:function(e){a.move(this._$topPocket,{top:e}),a.move(this._$scrollViewContent,{top:e})},handleScroll:function(e){this.callBase(e),this._state!==_&&(this._location=this.location().top,this._isPullDown()?this._pullDownReady():this._isReachBottom()?this._reachBottom():this._stateReleased())},_isPullDown:function(){return this._pullDownEnabled&&this._location>=this._topPocketSize},_isReachBottom:function(){return this._reachBottomEnabled&&this._location<=this._scrollOffset+this._bottomPocketSize},_reachBottom:function(){this._state!==g&&(this._state=g,this.reachBottomCallbacks.fire())},_pullDownReady:function(){this._state!==f&&(this._state=f,this._$pullDown.addClass(c),this._refreshPullDownText())},_stateReleased:function(){this._state!==p&&(this._$pullDown.removeClass(l).removeClass(c),this._releaseState())},_pullDownRefreshing:function(){this._state!==_&&(this._state=_,this._$pullDown.addClass(l).removeClass(c),this._refreshPullDownText(),this.pullDownCallbacks.fire())},pullDownEnable:function(e){e&&(this._updateDimensions(),this._setTopPocketOffset()),this._pullDownEnabled=e},reachBottomEnable:function(e){this._reachBottomEnabled=e},pendingRelease:function(){this._state=f},release:function(){var e=o.Deferred();return this._updateDimensions(),clearTimeout(this._releaseTimeout),this._releaseTimeout=setTimeout(o.proxy(function(){this._setPullDownOffset(0),this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),e.resolve()},this),400),e.promise()},dispose:function(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),this.callBase()}});i.exports=m}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(152),r=0,s=1,l=2,c=80,d=a.inherit({_init:function(e){this.callBase(e),this._$topPocket=e._$topPocket,this._$bottomPocket=e._$bottomPocket,this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=o.Callbacks(),this.releaseCallbacks=o.Callbacks(),this.reachBottomCallbacks=o.Callbacks()},render:function(){this.callBase(),this._renderPullDown(),this._renderBottom(),this._releaseState(),this._updateDimensions()},_renderPullDown:function(){this._$topPocket.empty()},_renderBottom:function(){this._$bottomPocket.empty().append("<progress>")},_releaseState:function(){this._state!==r&&(this._state=r)},_updateDimensions:function(){this._scrollOffset=this._$container.prop("scrollHeight")-this._$container.prop("clientHeight"),this._containerSize={height:this._$container.prop("clientHeight"),width:this._$container.prop("clientWidth")},this._contentSize=this._componentContentSize={height:this._$container.prop("scrollHeight"),width:this._$container.prop("scrollWidth")}},handleScroll:function(e){this.callBase(e),this._isReachBottom(this._lastLocation.top)&&this._reachBottom()},_isReachBottom:function(e){return this._scrollContent=this._$container.prop("scrollHeight")-this._$container.prop("clientHeight"),this._reachBottomEnabled&&e<-this._scrollContent+c},_reachBottom:function(){this._state!==l&&(this._state=l,this.reachBottomCallbacks.fire())},pullDownEnable:function(e){this._pullDownEnabled=e},reachBottomEnable:function(e){this._reachBottomEnabled=e,this._$bottomPocket.toggle(e)},pendingRelease:function(){this._state=s},release:function(){var e=o.Deferred();return this._state=r,this.releaseCallbacks.fire(),this.update(),e.resolve().promise()}});i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(4),s=n(152),l=n(61),c="dx-scrollview-pull-down-loading",d="dx-scrollview-pull-down-indicator",u="dx-scrollview-pull-down-refreshing",h="dx-icon-pulldown",p=0,f=1,_=2,g=4,m=5,v=s.inherit({_init:function(e){this.callBase(e),this._$topPocket=e._$topPocket,this._$bottomPocket=e._$bottomPocket,this._$pullDown=e._$pullDown,this._$scrollViewContent=e.content(),this._initCallbacks(),this._location=0},_initCallbacks:function(){this.pullDownCallbacks=o.Callbacks(),this.releaseCallbacks=o.Callbacks(),this.reachBottomCallbacks=o.Callbacks()},render:function(){this.callBase(),this._renderPullDown(),this._releaseState()},_renderPullDown:function(){var e=o("<div>").addClass(d),t=o("<div>")[l.publicName()]();this._$icon=o("<div>").addClass(h),this._$pullDown.empty().append(this._$icon).append(e.append(t))},_releaseState:function(){this._state=p,this._releasePullDown(),this._updateDimensions()},_releasePullDown:function(){this._$pullDown.css({opacity:0})},_updateDimensions:function(){this.callBase(),this._topPocketSize=this._$topPocket.height(),this._bottomPocketSize=this._$bottomPocket.height(),this._scrollOffset=this._$container.height()-this._$content.height()},_allowedDirections:function(){var e=this.callBase();return e.vertical=e.vertical||this._pullDownEnabled,e},handleInit:function(e){this.callBase(e),this._state===p&&0===this._location&&(this._startClientY=r.eventData(e.originalEvent).y,this._state=g)},handleMove:function(e){this.callBase(e),this._deltaY=r.eventData(e.originalEvent).y-this._startClientY,this._state===g&&(this._pullDownEnabled&&this._deltaY>0?this._state=m:this._complete()),this._state===m&&(e.preventDefault(),this._movePullDown())},_movePullDown:function(){var e=this._getPullDownHeight(),t=Math.min(3*e,this._deltaY+this._getPullDownStartPosition()),n=180*t/e/3;this._$pullDown.css({opacity:1}).toggleClass(u,e>t),a.move(this._$pullDown,{top:t}),this._$icon.css({transform:"rotate("+n+"deg)"})},_isPullDown:function(){return this._pullDownEnabled&&this._state===m&&this._deltaY>=this._getPullDownHeight()-this._getPullDownStartPosition()},_getPullDownHeight:function(){return Math.round(.05*this._$element.outerHeight())},_getPullDownStartPosition:function(){return-Math.round(1.5*this._$pullDown.outerHeight())},handleEnd:function(){this._isPullDown()&&this._pullDownRefreshing(),this._complete()},handleStop:function(){this._complete()},_complete:function(){this._state!==g&&this._state!==m||this._releaseState()},handleScroll:function(e){if(this.callBase(e),this._state!==_){var t=this.location().top,n=this._location-t;this._location=t,n>0&&this._isReachBottom()?this._reachBottom():this._stateReleased()}},_isReachBottom:function(){return this._reachBottomEnabled&&this._location<=this._scrollOffset+this._bottomPocketSize},_reachBottom:function(){this.reachBottomCallbacks.fire()},_stateReleased:function(){this._state!==p&&(this._$pullDown.removeClass(c),this._releaseState())},_pullDownRefreshing:function(){this._state=_,this._pullDownRefreshHandler()},_pullDownRefreshHandler:function(){this._refreshPullDown(),this.pullDownCallbacks.fire()},_refreshPullDown:function(){this._$pullDown.addClass(c),a.move(this._$pullDown,{top:this._getPullDownHeight()})},pullDownEnable:function(e){this._$topPocket.toggle(e),this._pullDownEnabled=e},reachBottomEnable:function(e){this._reachBottomEnabled=e},pendingRelease:function(){this._state=f},release:function(){var e=o.Deferred();return this._updateDimensions(),clearTimeout(this._releaseTimeout),this._releaseTimeout=setTimeout(o.proxy(function(){this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),e.resolve()},this),800),e.promise()},dispose:function(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),this.callBase()}});i.exports=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=Math,s=n(241),l=n(61),c="dx-scrollview-pull-down-loading",d="dx-scrollview-pull-down-ready",u="dx-scrollview-pull-down-image",h="dx-scrollview-pull-down-indicator",p="dx-scrollview-pull-down-text",f=0,_=1,g=2,m=3,v=s.Scroller.inherit({ctor:function(){this.callBase.apply(this,arguments),this._initCallbacks(),this._releaseState()},_releaseState:function(){this._state=f,this._refreshPullDownText()},_refreshPullDownText:function(){this._$pullingDownText.css("opacity",this._state===f?1:0),this._$pulledDownText.css("opacity",this._state===_?1:0),this._$refreshingText.css("opacity",this._state===g?1:0)},_initCallbacks:function(){this.pullDownCallbacks=o.Callbacks(),this.releaseCallbacks=o.Callbacks(),this.reachBottomCallbacks=o.Callbacks()},_updateBounds:function(){var e="horizontal"!==this._direction;this._topPocketSize=e?this._$topPocket[this._dimension]():0,this._bottomPocketSize=e?this._$bottomPocket[this._dimension]():0,this.callBase(),this._bottomBound=this._minOffset+this._bottomPocketSize},_updateScrollbar:function(){this._scrollbar.option({containerSize:this._containerSize(),contentSize:this._contentSize()-this._topPocketSize-this._bottomPocketSize})},_moveContent:function(){this.callBase(),this._isPullDown()?this._pullDownReady():this._isReachBottom()?this._reachBottomReady():this._state!==f&&this._stateReleased()},_moveScrollbar:function(){this._scrollbar.moveTo(this._topPocketSize+this._location)},_isPullDown:function(){return this._pullDownEnabled&&this._location>=0},_isReachBottom:function(){return this._reachBottomEnabled&&this._location<=this._bottomBound},_scrollComplete:function(){this._inBounds()&&this._state===_?this._pullDownRefreshing():this._inBounds()&&this._state===m?this._reachBottomLoading():this.callBase()},_reachBottomReady:function(){this._state!==m&&(this._state=m,this._minOffset=this._getMinOffset())},_getMaxOffset:function(){return-this._topPocketSize},_getMinOffset:function(){return r.min(this.callBase(),-this._topPocketSize)},_reachBottomLoading:function(){this.reachBottomCallbacks.fire()},_pullDownReady:function(){this._state!==_&&(this._state=_,this._maxOffset=0,this._$pullDown.addClass(d),this._refreshPullDownText())},_stateReleased:function(){this._state!==f&&(this._releaseState(),this._updateBounds(),this._$pullDown.removeClass(c).removeClass(d),this.releaseCallbacks.fire())},_pullDownRefreshing:function(){this._state!==g&&(this._state=g,this._$pullDown.addClass(c).removeClass(d),this._refreshPullDownText(),this.pullDownCallbacks.fire())},_releaseHandler:function(){return this._state===f&&this._moveToBounds(),this._update(),this._releaseTask&&this._releaseTask.abort(),this._releaseTask=a.executeAsync(o.proxy(this._release,this)),this._releaseTask.promise},_release:function(){this._stateReleased(),this._scrollComplete()},_reachBottomEnablingHandler:function(e){this._reachBottomEnabled!==e&&(this._reachBottomEnabled=e,this._updateBounds())},_pullDownEnablingHandler:function(e){this._pullDownEnabled!==e&&(this._pullDownEnabled=e,this._considerTopPocketChange(),this._updateHandler())},_considerTopPocketChange:function(){this._location-=this._$topPocket.height()||-this._topPocketSize,this._move()},_pendingReleaseHandler:function(){this._state=_},dispose:function(){this._releaseTask&&this._releaseTask.abort(),this.callBase()}}),x=s.SimulatedStrategy.inherit({_init:function(e){this.callBase(e),this._$pullDown=e._$pullDown,this._$topPocket=e._$topPocket,this._$bottomPocket=e._$bottomPocket,this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=o.Callbacks(),this.releaseCallbacks=o.Callbacks(),this.reachBottomCallbacks=o.Callbacks()},render:function(){this._renderPullDown(),this.callBase()},_renderPullDown:function(){var e=o("<div>").addClass(u),t=o("<div>").addClass(h),n=o("<div>")[l.publicName()](),i=this._$pullDownText=o("<div>").addClass(p);this._$pullingDownText=o("<div>").text(this.option("pullingDownText")).appendTo(i),this._$pulledDownText=o("<div>").text(this.option("pulledDownText")).appendTo(i),this._$refreshingText=o("<div>").text(this.option("refreshingText")).appendTo(i),this._$pullDown.empty().append(e).append(t.append(n)).append(i)},pullDownEnable:function(e){this._eventHandler("pullDownEnabling",e)},reachBottomEnable:function(e){this._eventHandler("reachBottomEnabling",e)},_createScroller:function(e){var t=this,n=t._scrollers[e]=new v(t._scrollerOptions(e));n.pullDownCallbacks.add(function(){t.pullDownCallbacks.fire()}),n.releaseCallbacks.add(function(){t.releaseCallbacks.fire()}),n.reachBottomCallbacks.add(function(){t.reachBottomCallbacks.fire()})},_scrollerOptions:function(e){return o.extend(this.callBase(e),{$topPocket:this._$topPocket,$bottomPocket:this._$bottomPocket,$pullDown:this._$pullDown,$pullDownText:this._$pullDownText,$pullingDownText:this._$pullingDownText,$pulledDownText:this._$pulledDownText,$refreshingText:this._$refreshingText})},pendingRelease:function(){this._eventHandler("pendingRelease")},release:function(){return this._eventHandler("release").done(this._updateAction)},location:function(){var e=this.callBase();return e.top+=this._$topPocket.height(),e},dispose:function(){o.each(this._scrollers,function(){this.dispose()}),this.callBase()}});i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(223).setTemplateEngine}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(11),r=n(37),s=n(6),l=n(3),c=n(184),d=n(4),u=n(13),h=n(70),p=n(244),f=n(48),_=n(9),g=n(78),m=n(23),v="dx-slider",x="dx-slider-wrapper",w=".dx-slider-handle",y="dx-slider-bar",b="dx-slider-range",C="dx-slider-range-visible",k="dx-slider-label",S="dx-slider-label-position-",T="dx-slider-tooltip-position-",I=c.inherit({_activeStateUnit:w,_supportedKeys:function(){var e=this.option("rtlEnabled"),t=this,n=function(e,n){e=t._valueStep(e);var i=t.option("step"),o=t.option("value"),a=(o-t.option("min"))%i,r=n?o-e+(a?i-a:0):o+e-a,s=t.option("min"),l=t.option("max");return s>r?r=s:r>l&&(r=l),r},i=function(i){t.option("value",n(i,e))},a=function(i){t.option("value",n(i,!e))};return o.extend(this.callBase(),{leftArrow:function(e){e.preventDefault(),e.stopPropagation(),a(this.option("step"))},rightArrow:function(e){e.preventDefault(),e.stopPropagation(),i(this.option("step"))},pageUp:function(e){e.preventDefault(),e.stopPropagation(),i(this.option("step")*this.option("keyStep"))},pageDown:function(e){e.preventDefault(),e.stopPropagation(),a(this.option("step")*this.option("keyStep"))},home:function(e){e.preventDefault(),e.stopPropagation();var t=this.option("min");this.option("value",t)},end:function(e){e.preventDefault(),e.stopPropagation();var t=this.option("max");this.option("value",t)}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,step:1,value:50,showRange:!0,tooltip:{enabled:!1,format:function(e){return e},position:"top",showMode:"onHover"},label:{visible:!1,position:"bottom",format:function(e){return e}},keyStep:1,useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===s.real().deviceType&&!s.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return/android5/.test(m.current())},options:{useInkRipple:!0}}])},_render:function(){this.element().addClass(v),this.callBase(),this._renderLabels(),this._renderStartHandler(),this._renderAriaMinAndMax(),this._repaintHandle(),this.option("useInkRipple")&&this._renderInkRipple()},_renderInkRipple:function(){this._inkRipple=f.render({waveSizeCoefficient:.7,isCentered:!0,wavesNumber:2,useHoldAnimation:!1})},_renderInkWave:function(e,t,n,i){if(this._inkRipple){var o={element:e,jQueryEvent:t,wave:i};n?this._inkRipple.showWave(o):this._inkRipple.hideWave(o)}},_visibilityChanged:function(){this.repaint()},_renderWrapper:function(){this.callBase(),this._$wrapper.addClass(x),this._createComponent(this._$wrapper,g,{elastic:!1,immediate:!0,onStart:o.proxy(this._swipeStartHandler,this),onUpdated:o.proxy(this._swipeUpdateHandler,this),onEnd:o.proxy(this._swipeEndHandler,this),itemSizeFunc:o.proxy(this._itemWidthFunc,this)})},_renderContainer:function(){this.callBase(),this._$bar.addClass(y)},_renderRange:function(){this.callBase(),this._$range.addClass(b),this._renderHandle(),this._renderRangeVisibility()},_renderRangeVisibility:function(){this._$range.toggleClass(C,Boolean(this.option("showRange")))},_renderHandle:function(){this._$handle=this._renderHandleImpl(this.option("value"),this._$handle)},_renderHandleImpl:function(e,t){var n=t||o("<div>").appendTo(this._$range),i=this.option("tooltip.format"),a=this.option("tooltip.enabled"),r=this.option("tooltip.position");return this.element().toggleClass(T+"bottom",a&&"bottom"===r).toggleClass(T+"top",a&&"top"===r),this._createComponent(n,p,{value:e,tooltipEnabled:a,tooltipPosition:r,tooltipFormat:i,tooltipShowMode:this.option("tooltip.showMode"),tooltipFitIn:this.element()}),n},_renderAriaMinAndMax:function(){this.setAria({valuemin:this.option("min"),valuemax:this.option("max")},this._$handle)},_hoverStartHandler:function(e){p.getInstance(o(e.currentTarget)).updateTooltip()},_toggleActiveState:function(e,t){this.callBase(e,t),t&&p.getInstance(e).updateTooltip(),this._renderInkWave(e,null,!!t,1)},_toggleFocusClass:function(e,t){if(this.callBase(e,t),!this._disposed){var n=o(t||this._focusTarget());this._renderInkWave(n,null,e,0)}},_renderLabels:function(){if(this.element().removeClass(S+"bottom").removeClass(S+"top"),this.option("label.visible")){var e=this.option("min"),t=this.option("max"),n=this.option("label.position"),i=this.option("label.format");this._$minLabel||(this._$minLabel=o("<div>").addClass(k).appendTo(this._$wrapper)),this._$minLabel.html(r.format(e,i)),this._$maxLabel||(this._$maxLabel=o("<div>").addClass(k).appendTo(this._$wrapper)),this._$maxLabel.html(r.format(t,i)),this.element().addClass(S+n)}else this._$minLabel&&(this._$minLabel.remove(),delete this._$minLabel),this._$maxLabel&&(this._$maxLabel.remove(),delete this._$maxLabel)},_renderDimensions:function(){if(this.callBase(),this._$bar){var e=this._$bar.outerWidth(!0)-this._$bar.outerWidth();this._$bar.width(this.option("width")-e)}},_renderStartHandler:function(){var e=d.addNamespace(u.down,this.NAME),t=d.addNamespace(_.name,this.NAME),n=this._createAction(o.proxy(this._startHandler,this));this.element().off(e).on(e,function(e){d.isMouseEvent(e)&&n({jQueryEvent:e})}).off(t).on(t,o.proxy(function(e){var t=this._activeHandle();t&&t.focusin()&&t.focus(),n({jQueryEvent:e})},this))},_itemWidthFunc:function(){return this._itemWidthRatio},_swipeStartHandler:function(e){var t,n,i=this.option("rtlEnabled");d.isTouchEvent(e.jQueryEvent)&&this._createAction(o.proxy(this._startHandler,this))({jQueryEvent:e.jQueryEvent}),this._feedbackDeferred=o.Deferred(),h.lock(this._feedbackDeferred),this._toggleActiveState(this._activeHandle(),this.option("activeStateEnabled")),this._startOffset=this._currentRatio,t=this._startOffset*this._swipePixelRatio(),n=(1-this._startOffset)*this._swipePixelRatio(),e.jQueryEvent.maxLeftOffset=i?n:t,e.jQueryEvent.maxRightOffset=i?t:n,this._itemWidthRatio=this.element().width()/this._swipePixelRatio(),this._needPreventAnimation=!0},_swipeEndHandler:function(e){this._feedbackDeferred.resolve(),this._toggleActiveState(this._activeHandle(),!1);var t=this.option("rtlEnabled")?-1:1;delete this._needPreventAnimation,this._changeValueOnSwipe(this._startOffset+t*e.jQueryEvent.targetOffset/this._swipePixelRatio()),delete this._startOffset,this._renderValue()},_activeHandle:function(){return this._$handle},_swipeUpdateHandler:function(e){this._saveValueChangeEvent(e),this._updateHandlePosition(e)},_updateHandlePosition:function(e){var t=this.option("rtlEnabled")?-1:1,n=this._startOffset+t*e.jQueryEvent.offset/this._swipePixelRatio();this._$range.width(100*n+"%"),p.getInstance(this._activeHandle()).fitTooltipPosition,this._changeValueOnSwipe(n)},_swipePixelRatio:function(){var e=this.option("min"),t=this.option("max"),n=this._valueStep(this.option("step"));return(t-e)/n},_valueStep:function(e){return e&&!isNaN(e)||(e=1),e=parseFloat(e.toFixed(5)),0===e&&(e=1e-5),e},_changeValueOnSwipe:function(e){var t=this.option("min"),n=this.option("max"),i=this._valueStep(this.option("step")),o=e*(n-t),a=t+o;if(!(0>i))if(a===n||a===t)this.option("value",a);else{var r=(i+"").split(".")[1],s=(t+"").split(".")[1],l=Math.max(r&&r.length||0,s&&s.length||0),c=Math.round((a-t)/i);a=Number((c*i+t).toFixed(l)),this.option("value",Math.max(Math.min(a,n),t))}},_startHandler:function(e){var t=e.jQueryEvent;this._currentRatio=(d.eventData(t).x-this._$bar.offset().left)/this._$bar.width(),this.option("rtlEnabled")&&(this._currentRatio=1-this._currentRatio),this._saveValueChangeEvent(t),this._changeValueOnSwipe(this._currentRatio)},_renderValue:function(){this.callBase();var e=this.option("value");p.getInstance(this._activeHandle()).option("value",e)},_setRangeStyles:function(e){this._$range.css(e)},_callHandlerMethod:function(e,t){p.getInstance(this._$handle)[e](t)},_repaintHandle:function(){this._callHandlerMethod("repaint")},_fitTooltip:function(){this._callHandlerMethod("fitTooltipPosition")},_optionChanged:function(e){switch(e.name){case"visible":this.callBase(e),this._renderHandle(),this._repaintHandle(),a.triggerShownEvent(this.element());break;case"min":case"max":this._renderLabels(),this._renderAriaMinAndMax(),this.callBase(e),this._fitTooltip();break;case"step":this._renderValue();break;case"keyStep":break;case"showRange":this._renderRangeVisibility();break;case"tooltip":this._renderHandle();
break;case"label":this._renderLabels();break;case"rtlEnabled":this._toggleRTLDirection(),this._renderValue();break;case"useInkRipple":this._invalidate();break;default:this.callBase(e)}},_refresh:function(){this._renderDimensions(),this._renderValue(),this._renderHandle(),this._repaintHandle()}});l("dxSlider",I),i.exports=I}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(2),s=n(41),l=n(8),c=n(3),d=n(4),u=n(114),h=n(9),p=n(247),f=n(21),_="dxTagData",g="dx-tagbox",m="dx-tag-container",v="dx-tag",x="dx-tag-remove-button",w="dx-tagbox-only-select",y="dx-tagbox-single-line",b="dx-tagbox-popup-wrapper",C="dx-list-select-all-checkbox",k="dx-native-click",S=-.3,T=u.inherit({_supportedKeys:function(){var e=this.callBase();return o.extend(e,{backspace:function(e){if(this._isCaretAtTheStart()){e.preventDefault(),e.stopPropagation(),this._isTagRemoved=!0;var t=this._$focusedTag||this._tagElements().last();this._$focusedTag&&this._moveTagFocus("prev",!0),0!==t.length&&(this._preserveFocusedTag=!0,this._removeTagElement(t),delete this._preserveFocusedTag)}},del:function(e){if(this._$focusedTag&&this._isCaretAtTheStart()){e.preventDefault(),e.stopPropagation(),this._isTagRemoved=!0;var t=this._$focusedTag;this._moveTagFocus("next",!0),this._preserveFocusedTag=!0,this._removeTagElement(t),delete this._preserveFocusedTag}},enter:function(e){var t=this._list&&null!==this._list.option("focusedElement"),n=this.option("acceptCustomValue")&&!t;return n?(e.preventDefault(),void(""!==this._searchValue()&&this._customItemAddedHandler())):void(this.option("opened")&&(e.preventDefault(),this._keyboardProcessor._childProcessors[0].process(e)))},leftArrow:function(e){if(this._isCaretAtTheStart()){var t=this.option("rtlEnabled");if(!this._isEditable()||!t||this._$focusedTag){e.preventDefault();var n=t?"next":"prev";this._moveTagFocus(n),!this.option("multiline")&&this._scrollContainer(n)}}},rightArrow:function(e){if(this._isCaretAtTheStart()){var t=this.option("rtlEnabled");if(!this._isEditable()||t||this._$focusedTag){e.preventDefault();var n=t?"prev":"next";this._moveTagFocus(n),!this.option("multiline")&&this._scrollContainer(n)}}}})},_isCaretAtTheStart:function(){return 0===p(this._input()).start},_moveTagFocus:function(e,t){if(!this._$focusedTag){var n=this._tagElements();return this._$focusedTag="next"===e?n.first():n.last(),void this._toggleFocusClass(!0,this._$focusedTag)}var i=this._$focusedTag[e]("."+v);i.length>0?this._replaceFocusedTag(i):(t||"next"===e&&this._isEditable())&&this._clearTagFocus()},_replaceFocusedTag:function(e){this._toggleFocusClass(!1,this._$focusedTag),this._$focusedTag=e,this._toggleFocusClass(!0,this._$focusedTag)},_clearTagFocus:function(){this._$focusedTag&&(this._toggleFocusClass(!1,this._$focusedTag),delete this._$focusedTag)},_focusClassTarget:function(e){return e&&e.length&&e[0]!==this._focusTarget()[0]?e:this.callBase()},_scrollContainer:function(e){if(!this.option("multiline")&&this._$tagsContainer){var t=this._getScrollPosition(e);this._$tagsContainer.scrollLeft(t)}},_getScrollPosition:function(e){return"start"===e||"end"===e?this._getBorderPosition(e):this._$focusedTag?this._getFocusedTagPosition(e):this._getBorderPosition("end")},_getBorderPosition:function(e){var t=this.option("rtlEnabled"),n="end"===e^t,i=t&&!f.webkit,o=!t||f.webkit||f.msie?1:-1;return n^!i?0:o*(this._$tagsContainer.get(0).scrollWidth-this._$tagsContainer.outerWidth())},_getFocusedTagPosition:function(e){var t=this.option("rtlEnabled"),n="next"===e^t,i=Math.floor(this._$focusedTag.position().left),o=this._$tagsContainer.scrollLeft();if(n&&(i+=this._$focusedTag.outerWidth(!0)-this._$tagsContainer.outerWidth()),n^0>i){var a=t&&f.msie?-1:1;o+=i*a}return o},_setNextValue:o.noop,_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{values:{since:"16.1",alias:"value"}})},_getDefaultOptions:function(){return o.extend(this.callBase(),{value:[],showDropButton:!1,tagTemplate:"tag",selectAllText:l.format("dxList-selectAll"),hideSelectedItems:!1,selectedItems:[],onSelectAllValueChanged:null,multiline:!0})},_init:function(){this.callBase(),this._setListDataSourceFilter(),this._selectedItems=[],this._initSelectAllValueChangedAction()},_render:function(){this.element().addClass(g).toggleClass(w,!(this.option("searchEnabled")||this.option("acceptCustomValue"))).toggleClass(y,!this.option("multiline")),this._toggleRTLDirection(this.option("rtlEnabled")),this._initTagTemplate(),this.callBase(),this._renderTagRemoveAction(),this._renderSingleLineScroll(),this._scrollContainer("start")},_initTagTemplate:function(){this._tagTemplate=this._getTemplateByOption("tagTemplate")},_renderTagRemoveAction:function(){var e=this._createAction(o.proxy(this._removeTagHandler,this)),t=d.addNamespace(h.name,"dxTagBoxTagRemove");this.element().find(".dx-texteditor-container").off(t).on(t,"."+x,function(t){e({jQueryEvent:t})}),this._renderTypingEvent()},_renderSingleLineScroll:function(){var e=d.addNamespace("dxmousewheel",this.NAME),t=this.element(),n=this.option("multiline");return t.off(e),"desktop"!==a.real().deviceType?void(this._$tagsContainer&&this._$tagsContainer.css("overflow-x",n?"":"auto")):void(n||t.on(e,o.proxy(this._tagContainerMouseWheelHandler,this)))},_tagContainerMouseWheelHandler:function(e){var t=this._$tagsContainer.scrollLeft();return this._$tagsContainer.scrollLeft(t+e.delta*S),!1},_renderTypingEvent:function(){this._input().on(d.addNamespace("keydown",this.NAME),o.proxy(function(e){var t=e.which||e.keyCode;!this._isControlKey(t)&&this._isEditable()&&this._clearTagFocus()},this))},_popupWrapperClass:function(){return this.callBase()+" "+b},_renderInputValueImpl:function(){this._renderMultiSelect()},_clearTextValue:function(){this._input().val("")},_focusInHandler:function(e){this.callBase(e),this._scrollContainer("end")},_focusOutHandler:function(e){this.option("opened")&&"useButtons"===this.option("applyValueMode")||(this.callBase(e),this._clearTextValue(),this._clearTagFocus(),this._scrollContainer("start"))},_getFirstPopupElement:function(){return this.option("showSelectionControls")?this._popup._wrapper().find("."+C):this.callBase()},_suppressingSelectionChanged:function(e){this._setListOption("onSelectionChanged",o.noop),e.call(this),this._setListOption("onSelectionChanged",this._getSelectionChangeHandler())},_initSelectAllValueChangedAction:function(){this._selectAllValueChangeAction=this._createActionByOption("onSelectAllValueChanged")},_renderList:function(){if(this.callBase(),this.option("showSelectionControls")){var e=this._list.element().find("."+C),t=e.dxCheckBox("instance");t.registerKeyHandler("tab",o.proxy(this._popupElementTabHandler,this)),t.registerKeyHandler("escape",o.proxy(this._popupElementEscHandler,this))}},_listConfig:function(){var e=this,t=this.option("showSelectionControls")?"all":"multiple";return o.extend(this.callBase(),{selectionMode:t,selectAllText:this.option("selectAllText"),onSelectAllValueChanged:function(t){e._selectAllValueChangeAction({value:t.value})},selectedItems:this._selectedItems})},_renderMultiSelect:function(){this._$tagsContainer=this.element().find(".dx-texteditor-container").addClass(m).addClass(k),this._renderInputSize(),this._clearFilter(),this._renderTags(),this._popup&&this._popup.repaint()},_listItemClickHandler:function(e){this._clearTextValue(),"useButtons"!==this.option("applyValueMode")&&this.callBase(e)},_renderInputSize:function(){var e=this._input();e.prop("size",e.val()?e.val().length+2:1)},_renderInputSubstitution:function(){this.callBase(),this._renderInputSize()},_getValue:function(){return this.option("value")||[]},_renderTags:function(){this._cleanTags();var e=this._input(),t=o.map(this._getValue(),o.proxy(function(t){return this._renderTag(t,e)},this));o.when.apply(o,t).done(o.proxy(function(){this._renderInputAddons(),this._scrollContainer("end")},this)),this._renderEmptyState(),this._preserveFocusedTag||this._clearTagFocus(),this.option("selectedItems",this._selectedItems.slice())},_renderEmptyState:function(){var e=!(this._getValue().length||this._selectedItems.length||this._searchValue());this._toggleEmptiness(e),this._renderDisplayText()},_renderDisplayText:function(){this._renderInputSize()},_cleanTags:function(){var e=this._tagElements(),t=this._getValue();o.each(e,function(e,n){var i=o(n),a=o.inArray(i.data(_),t);0>a&&i.remove()}),this._cleanSelectedItems()},_cleanSelectedItems:function(){if(this.option("fieldTemplate"))return void(this._selectedItems=[]);for(var e=this._getValue(),t=this._selectedItems.length,n=0;t>n;n++){var i=this._selectedItems[n],a=this._valueGetter(i);o.inArray(a,e)<0&&(this._selectedItems.splice(n,1),n--,t--)}},_tagElements:function(){return this.element().find("."+v)},_getDefaultTagTemplate:function(){return this._defaultTagTemplate||(this._defaultTagTemplate=this.option("templateProvider").getTemplates(this).tag),this._defaultTagTemplate},_renderTag:function(e,t){if(this._isTagRendered(e))return o.Deferred().resolve();var n=o("<div>").addClass(v).data(_,e).insertBefore(t);return this._loadItem(e).always(o.proxy(function(t){t=r.isDefined(t)?t:e,this._selectedItems.push(t),this._displayGetterExpr()&&this._tagTemplate===this._getDefaultTagTemplate()&&(t=this._displayGetter(t)),this._tagTemplate.render(t,n,void 0)},this))},_isTagRendered:function(e){var t=this._tagElements(),n=!1;return o.each(t,function(t,i){var a=o(i);return e===a.data(_)?(n=!0,!1):void 0}),n},_toggleEmptinessEventHandler:function(){this._toggleEmptiness(!this._getValue().length&&!this._searchValue().length)},_customItemAddedHandler:function(e){this.callBase(e),this._input().val("")},_removeTagHandler:function(e){var t=e.jQueryEvent;t.stopPropagation();var n=o(t.target).closest("."+v);this._removeTagElement(n)},_removeTagElement:function(e){var t=e.data(_);this._removeTagWithUpdate(t)},_removeTagWithUpdate:function(e){var t=this._getValue().slice();this._removeTag(t,e),this.option("value",t),0===t.length&&this._clearTagFocus()},_getCurrentValue:function(){return this._lastValue()},_selectionChangeHandler:function(e){if("useButtons"!==this.option("applyValueMode")){var t=this._getValue().slice();o.each(e.removedItems||[],o.proxy(function(e,n){this._removeTag(t,this._valueGetter(n))},this)),o.each(e.addedItems||[],o.proxy(function(e,n){this._addTag(t,this._valueGetter(n))},this)),this._updateWidgetHeight(),this.option("value",t)}},_removeTag:function(e,t){var n=this._valueIndex(t,e);n>=0&&e.splice(n,1)},_addTag:function(e,t){var n=this._valueIndex(t);0>n&&e.push(t)},_fieldRenderData:function(){return this._selectedItems.slice()},_setValue:function(e){if(null!==e){var t=this._valueIndex(e),n=this._getValue().slice();t>=0?n.splice(t,1):n.push(e),this.option("value",n)}},_isSelectedValue:function(e){return this._valueIndex(e)>-1},_valueIndex:function(e,t){t=t||this._getValue();var n=-1;return o.each(t,o.proxy(function(t,i){return this._isValueEquals(e,i)?(n=t,!1):void 0},this)),n},_lastValue:function(){return this._getValue().slice(-1).pop()||null},_valueChangeEventHandler:o.noop,_shouldRenderSearchEvent:function(){return this.option("searchEnabled")||this.option("acceptCustomValue")},_searchHandler:function(e){this.option("searchEnabled")&&e&&!this._isTagRemoved&&this.callBase(e),this._updateWidgetHeight(),delete this._isTagRemoved},_updateWidgetHeight:function(){var e=this.element(),t=e.height();this._renderInputSize();var n=e.height();this._popup&&this.option("opened")&&this._isEditable()&&n!==t&&this._popup.repaint()},_refreshSelected:function(){this._list&&this._suppressingSelectionChanged(function(){this._setListOption("selectedItems",this._selectedItems.slice()),this.callBase()})},_resetListDataSourceFilter:function(){var e=this._getDataSource();e&&(e.filter(null),e.reload())},_setListDataSourceFilter:function(){if(this.option("hideSelectedItems")&&this._list){var e=this._getDataSource();e&&(e.filter(o.proxy(this._dataSourceFilter,this)),e.reload())}},_dataSourceFilter:function(e){var t=this._valueGetter(e),n=!0;return o.each(this._getValue(),o.proxy(function(e,i){return this._isValueEquals(i,t)?(n=!1,!1):void 0},this)),n},_applyButtonHandler:function(){this.option("value",this._getListValues()),this._clearTextValue(),this.callBase()},_getListValues:function(){if(!this._list)return[];var e=this,t=this._list.option("selectedItems"),n=[];return o.each(t,function(t,i){n[t]=e._valueGetter(i)}),n},_renderOpenedState:function(){this.callBase(),this.option(!1)&&this._refreshSelected()},_clean:function(){this.callBase(),delete this._defaultTagTemplate,delete this._tagTemplate},_optionChanged:function(e){switch(e.name){case"onSelectAllValueChanged":this._initSelectAllValueChangedAction();break;case"hideSelectedItems":e.value?this._setListDataSourceFilter():this._resetListDataSourceFilter();break;case"displayExpr":this.callBase(e),this._invalidate();break;case"tagTemplate":this._initTagTemplate(),this._invalidate();break;case"selectAllText":this._setListOption("selectAllText",this.option("selectAllText"));break;case"value":this.callBase(e),this._setListDataSourceFilter();break;case"selectedItem":break;case"selectedItems":var t=s.removeDuplicates(e.value,e.previousValue),n=s.removeDuplicates(e.previousValue,e.value);this._selectionChangedAction({addedItems:t,removedItems:n});break;case"multiline":this.element().toggleClass(y,!e.value),this._renderSingleLineScroll();break;default:this.callBase(e)}},reset:function(){this.option("value",[]),this._clearFilter(),this._clearSelectedItem()}});c("dxTagBox",T),i.exports=T}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(4),s=n(13),l=n(94),c="dx-textarea",d="dx-texteditor-input",u=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{spellcheck:!0,minHeight:void 0,maxHeight:void 0,autoResizeEnabled:!1})},_render:function(){this.callBase(),this.element().addClass(c),this.setAria("multiline","true"),this._updateInputHeight()},_renderInput:function(){this.callBase(),this._renderScrollHandler()},_createInput:function(){return o("<textarea>").addClass(d).attr(this.option("attr"))},_renderScrollHandler:function(){var e=this._input(),t=0;e.on(r.addNamespace(s.down,this.NAME),function(e){t=r.eventData(e).y}),e.on(r.addNamespace(s.move,this.NAME),function(n){var i=e.scrollTop(),o=e.prop("scrollHeight")-e.prop("clientHeight")-i;if(0!==i||0!==o){var a=r.eventData(n).y,s=0===i&&t>=a,l=0===o&&a>=t,c=i>0&&o>0;(s||l||c)&&(n.isScrollingEvent=!0,n.stopPropagation()),t=a}})},_renderDimensions:function(){var e=this.option("width"),t=this.option("height"),n=this.option("minHeight"),i=this.option("maxHeight"),o=this.element();o.css({"min-height":void 0!==n?n:"","max-height":void 0!==i?i:""}),o.outerWidth(e),o.outerHeight(t)},_resetDimensions:function(){this.element().css({height:"","min-height":"","max-height":""})},_renderEvents:function(){this.option("autoResizeEnabled")&&this._input().on(r.addNamespace("input paste",this.NAME),o.proxy(this._updateInputHeight,this)),this.callBase()},_refreshEvents:function(){this._input().off(r.addNamespace("input paste",this.NAME)),this.callBase()},_updateInputHeight:function(){var e=this._input();if(!this.option("autoResizeEnabled")||void 0!==this.option("height"))return void e.css("height","");this._resetDimensions(),e.css("height",0);var t=this._$element.outerHeight()-e.outerHeight();this._renderDimensions();var n=this.option("minHeight"),i=this.option("maxHeight"),o=e[0].scrollHeight;void 0!==n&&(o=Math.max(o,n-t)),void 0!==i&&(o=Math.min(o,i-t)),e.css("height",o)},_renderInputType:o.noop,_visibilityChanged:function(e){e&&this.repaint()},_optionChanged:function(e){switch(e.name){case"autoResizeEnabled":this._refreshEvents(),this._updateInputHeight();break;case"value":case"height":this.callBase(e),this._updateInputHeight();break;case"minHeight":case"maxHeight":this._renderDimensions(),this._updateInputHeight();break;default:this.callBase(e)}}});a("dxTextArea",u),i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(3),s=n(246),l=n(4),c=window.navigator.userAgent,d=[8,9,13,33,34,35,36,37,38,39,40,46],u="dx-textbox",h="dx-searchbox",p="dx-icon",f="dx-icon-search",_=s.inherit({ctor:function(e,t){t&&(this._showClearButton=t.showClearButton),this.callBase.apply(this,arguments)},_getDefaultOptions:function(){return o.extend(this.callBase(),{mode:"text",maxLength:null})},_render:function(){this.callBase(),this.element().addClass(u),this.setAria("role","textbox"),this._renderMaxLengthHandlers()},_renderInputType:function(){this.callBase(),this._renderSearchMode()},_renderMaxLengthHandlers:function(){this._isAndroid()&&this._input().on(l.addNamespace("keydown",this.NAME),o.proxy(this._onKeyDownAndroidHandler,this)).on(l.addNamespace("change",this.NAME),o.proxy(this._onChangeAndroidHandler,this))},_renderProps:function(){this.callBase(),this._toggleMaxLengthProp()},_toggleMaxLengthProp:function(){if(!this._isAndroid()){var e=this.option("maxLength");e>0?this._input().attr("maxLength",e):this._input().removeAttr("maxLength")}},_renderSearchMode:function(){var e=this._$element;"search"===this.option("mode")?(e.addClass(h),this._renderSearchIcon(),void 0===this._showClearButton&&(this._showClearButton=this.option("showClearButton"),this.option("showClearButton",!0))):(e.removeClass(h),this._$searchIcon&&this._$searchIcon.remove(),this.option("showClearButton",void 0===this._showClearButton?this.option("showClearButton"):this._showClearButton),delete this._showClearButton)},_renderSearchIcon:function(){var e=o("<div>").addClass(p).addClass(f);e.prependTo(this._input().parent()),this._$searchIcon=e},_optionChanged:function(e){switch(e.name){case"maxLength":this._toggleMaxLengthProp(),this._renderMaxLengthHandlers();break;default:this.callBase(e)}},_onKeyDownAndroidHandler:function(e){var t=this.option("maxLength");if(t){var n=o(e.target),i=e.keyCode;return this._cutOffExtraChar(n),n.val().length<t||-1!==o.inArray(i,d)||""!==window.getSelection().toString()}return!0},_onChangeAndroidHandler:function(e){var t=o(e.target);this.option("maxLength")&&this._cutOffExtraChar(t)},_cutOffExtraChar:function(e){var t=this.option("maxLength"),n=e.val();n.length>t&&e.val(n.substr(0,t))},_isAndroid:function(){var e=a.real(),t=e.version.join(".");return"android"===e.platform&&t&&/^(2\.|4\.1)/.test(t)&&!/chrome/i.test(c)}});r("dxTextBox",_),i.exports=_}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(11),r=n(2),s=n(31),l=n(4),c=n(13),d=n(9),u="dx-texteditor",h="dx-texteditor-input",p="."+h,f="dx-texteditor-container",_="dx-texteditor-buttons-container",g="dx-placeholder",m="dx-show-clear-button",v="dx-icon",x="dx-icon-clear",w="dx-clear-button-area",y="dx-texteditor-empty",b=["KeyDown","KeyPress","KeyUp","Change","Cut","Copy","Paste","Input"],C={9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",27:"escape",33:"pageUp",34:"pageDown",35:"end",36:"home",37:"leftArrow",38:"upArrow",39:"rightArrow",40:"downArrow"},k=s.inherit({_supportedKeys:function(){var e=function(e){e.stopPropagation()};return{space:e,enter:e,leftArrow:e,rightArrow:e}},_getDefaultOptions:function(){return o.extend(this.callBase(),{value:"",spellcheck:!1,showClearButton:!1,valueChangeEvent:"change",placeholder:"",attr:{},onFocusIn:null,onFocusOut:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onChange:null,onInput:null,onCut:null,onCopy:null,onPaste:null,onEnterKey:null,mode:"text",hoverStateEnabled:!0,focusStateEnabled:!0,text:void 0,valueFormat:function(e){return e}})},_input:function(){return this.element().find(p).first()},_inputWrapper:function(){return this.element()},_buttonsContainer:function(){return this._inputWrapper().find("."+_)},_isControlKey:function(e){return!!C[e]},_render:function(){this.element().addClass(u),this._renderInput(),this._renderInputType(),this._renderValue(),this._renderProps(),this._renderPlaceholder(),this.callBase(),this._refreshValueChangeEvent(),this._renderEvents(),this._renderEnterKeyAction(),this._renderEmptinessEvent()},_renderInput:function(){o("<div>").addClass(f).append(this._createInput()).append(o("<div>").addClass(_)).appendTo(this.element())},_createInput:function(){return o("<input>").addClass(h).attr("autocomplete","off").attr(this.option("attr"))},_renderValue:function(){this._renderInputValue(),this._renderInputAddons()},_renderInputValue:function(e){e=e||this.option("value");var t=this.option("text"),n=this.option("displayValue"),i=this.option("valueFormat");void 0!==n?t=i(n):r.isDefined(t)||(t=i(e)),this.option("text",t),this._input().val()!==(r.isDefined(t)?t:"")?this._renderDisplayText(t):this._toggleEmptinessEventHandler()},_renderDisplayText:function(e){this._input().val(e),this._toggleEmptinessEventHandler()},_isValueValid:function(){if(this._input().length){var e=this._input().get(0).validity;if(e)return e.valid}return!0},_toggleEmptiness:function(e){this.element().toggleClass(y,e),this._togglePlaceholder(e)},_togglePlaceholder:function(e){this._$placeholder&&this._$placeholder.toggleClass("dx-state-invisible",!e)},_renderProps:function(){this._toggleDisabledState(this.option("disabled")),this._toggleReadOnlyState(),this._toggleSpellcheckState()},_toggleDisabledState:function(e){this.callBase.apply(this,arguments);var t=this._input();e?t.attr("disabled",!0).attr("tabindex",-1):t.removeAttr("disabled").removeAttr("tabindex")},_toggleReadOnlyState:function(){this._input().prop("readOnly",this._readOnlyPropValue()),this.callBase()},_readOnlyPropValue:function(){return this.option("readOnly")},_toggleSpellcheckState:function(){this._input().prop("spellcheck",this.option("spellcheck"))},_renderPlaceholder:function(){this._$placeholder&&(this._$placeholder.remove(),this._$placeholder=null);var e=this,t=e._input(),n=e.option("placeholder"),i=this._$placeholder=o("<div>").attr("data-dx_placeholder",n),a=l.addNamespace(c.up,this.NAME);i.on(a,function(){t.focus()}),i.insertAfter(t),i.addClass(g),this._toggleEmptinessEventHandler()},_placeholder:function(){return this._$placeholder||o()},_renderInputAddons:function(){this._renderClearButton()},_renderClearButton:function(){var e=this._clearButtonVisibility();this.element().toggleClass(m,e),e&&((!this._$clearButton||this._$clearButton&&!this._$clearButton.closest(this.element()).length)&&(this._$clearButton=this._createClearButton()),this._$clearButton.prependTo(this._buttonsContainer())),this._$clearButton&&this._$clearButton.toggleClass("dx-state-invisible",!e)},_clearButtonVisibility:function(){return this.option("showClearButton")&&!this.option("readOnly")},_createClearButton:function(){return o("<span>").addClass(w).append(o("<span>").addClass(v).addClass(x)).on(l.addNamespace(c.down,this.NAME),function(e){"mouse"===e.pointerType&&e.preventDefault()}).on(l.addNamespace(d.name,this.NAME),o.proxy(this._clearValueHandler,this))},_clearValueHandler:function(e){var t=this._input();e.stopPropagation(),this._valueChangeEventHandler(e),this.reset(),!t.is(":focus")&&t.focus()},_renderEvents:function(){var e=this,t=e._input();o.each(b,function(n,i){var o=i.charAt(0).toLowerCase()+i.substr(1);if(e.option("on"+i)||e.hasEvent(o)){var a=e._createActionByOption("on"+i,{excludeValidators:["readOnly"]});t.on(l.addNamespace(i.toLowerCase(),e.NAME),function(t){e._disposed||a({jQueryEvent:t})})}})},_refreshEvents:function(){var e=this,t=this._input();o.each(b,function(n,i){t.off(l.addNamespace(i.toLowerCase(),e.NAME))}),this._renderEvents()},_keyPressHandler:function(e){this.option("text",this._input().val())},_renderValueChangeEvent:function(){var e=l.addNamespace(this._renderValueEventName(),this.NAME+"TextChange"),t=l.addNamespace(this.option("valueChangeEvent"),this.NAME+"ValueChange");this._input().on(e,o.proxy(this._keyPressHandler,this)).on(t,o.proxy(this._valueChangeEventHandler,this))},_cleanValueChangeEvent:function(){var e=this.NAME+"ValueChange",t=l.addNamespace(this._renderValueEventName(),this.NAME+"TextChange");this._input().off("."+e).off(t)},_refreshValueChangeEvent:function(){this._cleanValueChangeEvent(),this._renderValueChangeEvent()},_renderValueEventName:function(){return"input change keypress"},_focusTarget:function(){return this._input()},_focusClassTarget:function(){return this.element()},_toggleFocusClass:function(e,t){this.callBase(e,this._focusClassTarget(t))},_hasFocusClass:function(e){return this.callBase(o(e||this.element()))},_renderEmptinessEvent:function(){var e=this._input();e.on("input blur",o.proxy(this._toggleEmptinessEventHandler,this))},_toggleEmptinessEventHandler:function(e){var t=this._input().val(),n=(""===t||null===t)&&this._isValueValid();this._toggleEmptiness(n)},_valueChangeEventHandler:function(e,t){this._saveValueChangeEvent(e),this.option("value",arguments.length>1?t:this._input().val())},_renderEnterKeyAction:function(){this._enterKeyAction=this._createActionByOption("onEnterKey",{excludeValidators:["readOnly"]}),this._input().off("keyup.onEnterKey.dxTextEditor").on("keyup.onEnterKey.dxTextEditor",o.proxy(this._enterKeyHandlerUp,this))},_enterKeyHandlerUp:function(e){this._disposed||13===e.which&&this._enterKeyAction({jQueryEvent:e})},_updateValue:function(){this.option("text",void 0),this._renderValue()},_dispose:function(){this._enterKeyAction=void 0,this.callBase()},_optionChanged:function(e){var t=e.name;if(o.inArray(t.replace("on",""),b)>-1)return void this._refreshEvents();switch(t){case"valueChangeEvent":this._refreshValueChangeEvent(),this._refreshFocusEvent(),this._refreshEvents();break;case"onValueChanged":this._createValueChangeAction();break;case"readOnly":this.callBase(e),this._renderInputAddons();break;case"spellcheck":this._toggleSpellcheckState();break;case"mode":this._renderInputType();break;case"onEnterKey":this._renderEnterKeyAction();break;case"placeholder":this._renderPlaceholder();break;case"showClearButton":this._renderInputAddons();break;case"text":break;case"value":this._updateValue(),this.callBase(e);break;case"attr":this._input().attr(e.value);break;case"valueFormat":this._invalidate();break;default:this.callBase(e)}},_renderInputType:function(){this._setInputType(this.option("mode"))},_setInputType:function(e){var t=this._input();"search"===e&&(e="text");try{t.prop("type",e)}catch(e){t.prop("type","text")}},focus:function(){this._input().focus()},blur:function(){this._input().is(document.activeElement)&&a.resetActiveElement()},reset:function(){this.option("value","")}}),S=k.prototype.on;k.prototype.on=function(e,t){S.call(this,e,t);var n=e.charAt(0).toUpperCase()+e.substr(1);b.indexOf(n)>=0&&this._refreshEvents()},i.exports=k}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(247),r=n(11),s=n(2),l=n(8),c=n(409),d=n(411),u=n(4),h=function(){return{}},p=" ",f=32,_="\\",g="dx-texteditor-masked",m="dxMask",v="forward",x="backward",w={0:/[0-9]/,9:/[0-9\s]/,"#":/[-+0-9\s]/,L:function(e){return b(e)},l:function(e){return b(e)||C(e)},C:/\S/,c:/./,A:function(e){return b(e)||y(e)},a:function(e){return b(e)||y(e)||C(e)}},y=function(e){return/[0-9]/.test(e)},b=function(e){var t=e.charCodeAt();return t>64&&91>t||t>96&&123>t||t>127},C=function(e){return" "===e},k=c.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{mask:"",maskChar:"_",maskRules:{},maskInvalidMessage:l.format("validation-mask"),useMaskedValue:!1})},_supportedKeys:function(){var e=this,t={backspace:e._maskBackspaceHandler,del:e._maskDelHandler,enter:e._changeHandler},n=e.callBase();return o.each(t,function(t,i){var o=n[t];n[t]=function(t){e.option("mask")&&i.call(e,t),o&&o(t)}}),n},_render:function(){this.callBase(),this._renderMask()},_renderMask:function(){this.element().removeClass(g),this._maskRulesChain=null,this._detachMaskEventHandlers(),this.option("mask")&&(this.element().addClass(g),this._attachMaskEventHandlers(),this._parseMask(),this._renderMaskedValue(),this._changedValue=this._input().val())},_attachMaskEventHandlers:function(){this._input().on(u.addNamespace("focus",m),o.proxy(this._maskFocusHandler,this)).on(u.addNamespace("keydown",m),o.proxy(this._maskKeyDownHandler,this)).on(u.addNamespace("keypress",m),o.proxy(this._maskKeyPressHandler,this)).on(u.addNamespace("input",m),o.proxy(this._maskInputHandler,this)).on(u.addNamespace("paste",m),o.proxy(this._maskPasteHandler,this)).on(u.addNamespace("cut",m),o.proxy(this._maskCutHandler,this)).on(u.addNamespace("drop",m),o.proxy(this._maskDragHandler,this)),this._attachChangeEventHandlers()},_detachMaskEventHandlers:function(){this._input().off("."+m)},_attachChangeEventHandlers:function(){-1!==o.inArray("change",this.option("valueChangeEvent").split(" "))&&this._input().on(u.addNamespace("blur",m),o.proxy(function(e){this._suppressCaretChanging(this._changeHandler,[e]),this._changeHandler(e)},this))},_suppressCaretChanging:function(e,t){var n=a;a=h;try{e.apply(this,t)}finally{a=n}},_changeHandler:function(e){var t=this._input(),n=t.val();if(n!==this._changedValue){this._changedValue=n;var i=u.createEvent(e,{type:"change"});t.trigger(i)}},_parseMask:function(){this._maskRules=o.extend({},w,this.option("maskRules")),this._maskRulesChain=this._parseMaskRule(0)},_parseMaskRule:function(e){var t=this.option("mask");if(e>=t.length)return new d.EmptyMaskRule;var n=t[e],i=n===_,o=i?new d.StubMaskRule({maskChar:t[e+1]}):this._getMaskRule(n);return o.next(this._parseMaskRule(e+1+i)),o},_getMaskRule:function(e){var t;return o.each(this._maskRules,function(n,i){return n===e?(t={pattern:n,allowedChars:i},!1):void 0}),s.isDefined(t)?new d.MaskRule(o.extend({maskChar:this.option("maskChar")},t)):new d.StubMaskRule({maskChar:e})},_renderMaskedValue:function(){if(this._maskRulesChain){var e=this.option("value")||"";this._maskRulesChain.clear(this._normalizeChainArguments());var t={length:e.length};t[this._isMaskedValueMode()?"text":"value"]=e,this._handleChain(t),this._displayMask()}},_isMaskedValueMode:function(){return this.option("useMaskedValue")},_displayMask:function(e){e=e||this._caret(),this._renderValue(),this._caret(e)},_renderValue:function(){this._maskRulesChain&&this.option("text",this._maskRulesChain.text()),this.callBase()},_valueChangeEventHandler:function(e){if(!this._maskRulesChain)return void this.callBase.apply(this,arguments);this._saveValueChangeEvent(e);var t=this._isMaskedValueMode()?(this._textValue||"").replace(new RegExp("["+this.option("maskChar")+"]","g")," ").replace(/\s+$/,""):(this._value||"").replace(/\s+$/,"");this.option("value",t)},_maskFocusHandler:function(){this._direction(v),this._adjustCaret()},_maskKeyDownHandler:function(){this._keyPressHandled=!1},_maskKeyPressHandler:function(e){this._keyPressHandled||(this._keyPressHandled=!0,this._isControlKeyFired(e)||this._maskKeyHandler(e,function(){return this._handleKey(e.which),!0}))},_maskInputHandler:function(e){if(!this._keyPressHandled){this._keyPressHandled=!0;var t=this._input().val(),n=this._caret();n.start=n.end-1;var i=t.substring(0,n.start)+t.substring(n.end),a=t[n.start];this._input().val(i),this._inputHandlerTimer=setTimeout(o.proxy(function(){this._caret({start:n.start,end:n.start}),this._maskKeyHandler(e,function(){return this._handleKey(a.charCodeAt()),!0})},this))}},_isControlKeyFired:function(e){return this._isControlKey(e.keyCode)&&!e.which||e.metaKey},_maskBackspaceHandler:function(e){var t=this;t._keyPressHandled=!0;var n=function(e,n){e&&(t._direction(v),t._adjustCaret());var i=t._caret();clearTimeout(t._backspaceHandlerTimeout),t._backspaceHandlerTimeout=setTimeout(function(){n(i)})};t._maskKeyHandler(e,function(){return t._hasSelection()?void n(!0,function(e){t._displayMask(e),t._maskRulesChain.reset()}):t._tryMoveCaretBackward()?void n(!1,function(e){t._caret(e)}):(t._handleKey(f,x),void n(!0,function(e){t._displayMask(e),t._maskRulesChain.reset()}))})},_maskDelHandler:function(e){this._keyPressHandled=!0,this._maskKeyHandler(e,function(){return!this._hasSelection()&&this._handleKey(f),
!0})},_maskPasteHandler:function(e){this._keyPressHandled=!0;var t=this._caret();this._maskKeyHandler(e,function(){var n=r.clipboardText(e),i=this._maskRulesChain.text().substring(t.end),o=this._handleChain({text:n,start:t.start,length:n.length}),a=t.start+o;return this._handleChain({text:i,start:a,length:i.length}),this._caret({start:a,end:a}),!0})},_handleChain:function(e){var t=this._maskRulesChain.handle(this._normalizeChainArguments(e));return this._value=this._maskRulesChain.value(),this._textValue=this._maskRulesChain.text(),t},_normalizeChainArguments:function(e){return e=e||{},e.index=0,e.fullText=this._maskRulesChain.text(),e},_maskCutHandler:function(e){var t=this._caret(),n=this._input().val().substring(t.start,t.end);this._maskKeyHandler(e,function(){return r.clipboardText(e,n),!0})},_maskDragHandler:function(){this._clearDragTimer(),this._dragTimer=setTimeout(o.proxy(function(){this.option("value",this._convertToValue(this._input().val()))},this))},_convertToValue:function(e){return e.replace(new RegExp(this.option("maskChar"),"g"),p)},_maskKeyHandler:function(e,t){this.option("readOnly")||(this._direction(v),e.preventDefault(),this._handleSelection(),t.call(this)&&(this._direction(v),this._adjustCaret(),this._displayMask(),this._maskRulesChain.reset()))},_handleKey:function(e,t){var n=String.fromCharCode(e);this._direction(t||v),this._adjustCaret(n),this._handleKeyChain(n),this._moveCaret()},_handleSelection:function(){if(this._hasSelection()){var e=this._caret(),t=new Array(e.end-e.start+1).join(p);this._handleKeyChain(t)}},_handleKeyChain:function(e){var t=this._caret(),n=this._isForwardDirection()?t.start:t.start-1,i=this._isForwardDirection()?t.end:t.end-1,o=n===i?1:i-n;this._handleChain({text:e,start:n,length:o})},_tryMoveCaretBackward:function(){this._direction(x);var e=this._caret().start;return this._adjustCaret(),!e||e!==this._caret().start},_adjustCaret:function(e){var t=this._maskRulesChain.adjustedCaret(this._caret().start,this._isForwardDirection(),e);this._caret({start:t,end:t})},_moveCaret:function(){var e=this._caret().start,t=e+(this._isForwardDirection()?0:-1),n=this._maskRulesChain.isAccepted(t)?e+(this._isForwardDirection()?1:-1):e;this._caret({start:n,end:n})},_caret:function(e){return arguments.length?void a(this._input(),e):a(this._input())},_hasSelection:function(){var e=this._caret();return e.start!==e.end},_direction:function(e){return arguments.length?void(this._typingDirection=e):this._typingDirection},_isForwardDirection:function(){return this._direction()===v},_clearDragTimer:function(){clearTimeout(this._dragTimer)},_clean:function(){this._clearDragTimer(),this.callBase()},_validateMask:function(){if(this._maskRulesChain){var e=this._maskRulesChain.isValid(this._normalizeChainArguments());this.option({isValid:e,validationError:e?null:{editorSpecific:!0,message:this.option("maskInvalidMessage")}})}},_dispose:function(){clearTimeout(this._inputHandlerTimer),clearTimeout(this._backspaceHandlerTimeout),this.callBase()},_optionChanged:function(e){switch(e.name){case"mask":case"maskChar":case"maskRules":case"useMaskedValue":this._renderMask(),this._validateMask();break;case"value":this._renderMaskedValue(),this._validateMask(),this.callBase(e);break;case"maskInvalidMessage":break;default:this.callBase(e)}}});i.exports=k}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=" ",l=a.inherit({ctor:function(e){this._value=s,o.extend(this,e)},next:function(e){return arguments.length?void(this._next=e):this._next},text:o.noop,value:o.noop,rawValue:o.noop,handle:o.noop,_prepareHandlingArgs:function(e,t){t=t||{};var n=e.hasOwnProperty("value")?"value":"text";return e[n]=r.isDefined(t.str)?t.str:e[n],e.start=r.isDefined(t.start)?t.start:e.start,e.length=r.isDefined(t.length)?t.length:e.length,e.index=e.index+1,e},reset:o.noop,clear:o.noop,isAccepted:function(){return!1},adjustedCaret:function(e,t,n){return t?this._adjustedForward(e,0,n):this._adjustedBackward(e,0,n)},_adjustedForward:o.noop,_adjustedBackward:o.noop,isValid:o.noop}),c=l.inherit({next:o.noop,handle:function(){return 0},text:function(){return""},value:function(){return""},rawValue:function(){return""},adjustedCaret:function(){return 0},isValid:function(){return!0}}),d=l.inherit({text:function(){return(this._value!==s?this._value:this.maskChar)+this.next().text()},value:function(){return this._value+this.next().value()},rawValue:function(){return this._value+this.next().rawValue()},handle:function(e){var t=e.hasOwnProperty("value")?e.value:e.text;if(!t||!t.length||!e.length)return 0;if(e.start)return this.next().handle(this._prepareHandlingArgs(e,{start:e.start-1}));var n=t[0],i=t.substring(1);return this._tryAcceptChar(n,e),this._accepted()?this.next().handle(this._prepareHandlingArgs(e,{str:i,length:e.length-1}))+1:this.handle(this._prepareHandlingArgs(e,{str:i,length:e.length-1}))},clear:function(e){this._tryAcceptChar(s,e),this.next().clear(this._prepareHandlingArgs(e))},reset:function(){this._accepted(!1),this.next().reset()},_tryAcceptChar:function(e,t){if(this._accepted(!1),this._isAllowed(e,t)){var n=e===s?this.maskChar:e;t.fullText=t.fullText.substring(0,t.index)+n+t.fullText.substring(t.index+1),this._accepted(!0),this._value=e}},_accepted:function(e){return arguments.length?void(this._isAccepted=!!e):!!this._isAccepted},_isAllowed:function(e,t){return e===s?!0:this._isValid(e,t)},_isValid:function(e,t){var n=this.allowedChars;return n instanceof RegExp?n.test(e):o.isFunction(n)?n(e,t.index,t.fullText):o.isArray(n)?o.inArray(e,n)>-1:n===e},isAccepted:function(e){return 0===e?this._accepted():this.next().isAccepted(e-1)},_adjustedForward:function(e,t,n){return t>=e?t:this.next()._adjustedForward(e,t+1,n)||t+1},_adjustedBackward:function(e,t){return t>=e-1?e:this.next()._adjustedBackward(e,t+1)||t+1},isValid:function(e){return this._isValid(this._value,e)&&this.next().isValid(this._prepareHandlingArgs(e))}}),u=d.inherit({value:function(){return this.next().value()},handle:function(e){var t=e.hasOwnProperty("value"),n=t?e.value:e.text;if(!n.length||!e.length)return 0;if(e.start||t)return this.next().handle(this._prepareHandlingArgs(e,{start:e.start&&e.start-1}));var i=n[0],o=n.substring(1);this._tryAcceptChar(i);var a=this._isAllowed(i)?this._prepareHandlingArgs(e,{str:o,length:e.length-1}):e;return this.next().handle(a)+1},clear:function(e){this._accepted(!1),this.next().clear(this._prepareHandlingArgs(e))},_tryAcceptChar:function(e){this._accepted(this._isValid(e))},_isValid:function(e){return e===this.maskChar},_adjustedForward:function(e,t,n){return t>=e&&n===this.maskChar?t:e===t+1&&this._accepted()?e:this.next()._adjustedForward(e,t+1,n)},_adjustedBackward:function(e,t){return t>=e-1?0:this.next()._adjustedBackward(e,t+1)},isValid:function(e){return this.next().isValid(this._prepareHandlingArgs(e))}});i.exports.MaskRule=d,i.exports.StubMaskRule=u,i.exports.EmptyMaskRule=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(6),r=n(3),s=n(29),l=n(2),c=n(182),d=n(28),u="dx-tileview",h="dx-tileview-wrapper",p="dx-tile",f="."+p,_="dxTileData",g={horizontal:{itemMainRatio:"widthRatio",itemCrossRatio:"heightRatio",baseItemMainDimension:"baseItemWidth",baseItemCrossDimension:"baseItemHeight",mainDimension:"width",crossDimension:"height",mainPosition:"left",crossPosition:"top"},vertical:{itemMainRatio:"heightRatio",itemCrossRatio:"widthRatio",baseItemMainDimension:"baseItemHeight",baseItemCrossDimension:"baseItemWidth",mainDimension:"height",crossDimension:"width",mainPosition:"top",crossPosition:"left"}},m=d.inherit({_activeStateUnit:f,_getDefaultOptions:function(){return o.extend(this.callBase(),{items:null,direction:"horizontal",hoverStateEnabled:!0,showScrollbar:!1,height:500,baseItemWidth:100,baseItemHeight:100,itemMargin:20,activeStateEnabled:!0,indicateLoading:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===a.real().deviceType&&!a.isSimulator()},options:{focusStateEnabled:!0}}])},_itemClass:function(){return p},_itemDataKey:function(){return _},_itemContainer:function(){return this._$container},_init:function(){this.callBase(),this.element().addClass(u),this._initScrollView()},_dataSourceLoadingChangedHandler:function(e){var t=this._scrollView;t&&(e&&this.option("indicateLoading")?t.startLoading():t.finishLoading())},_hideLoadingIfLoadIndicationOff:function(){this.option("indicateLoading")||this._dataSourceLoadingChangedHandler(!1)},_initScrollView:function(){this._scrollView=this._createComponent(this.element(),c.ScrollView,{direction:this.option("direction"),scrollByContent:!0,useKeyboard:!1,showScrollbar:this.option("showScrollbar")}),this._$container=this._scrollView.content(),this._$container.addClass(h),this._scrollView.option("onUpdated",o.proxy(this._renderGeometry,this))},_render:function(){this.callBase(),this._cellsPerDimension=1,this._renderGeometry(),this._updateScrollView(),this._fireContentReadyAction()},_renderContent:function(){this._renderContentImpl()},_updateScrollView:function(){this._scrollView.option("direction",this.option("direction")),this._scrollView.update(),this._indicateLoadingIfAlreadyStarted()},_indicateLoadingIfAlreadyStarted:function(){this._isDataSourceLoading()&&this._dataSourceLoadingChangedHandler(!0)},_renderGeometry:function(){this._config=g[this.option("direction")];var e=this.option("items")||[],t=this._config,n=this.option("itemMargin"),i=Math.max.apply(Math,o.map(e||[],function(e){return Math.round(e[t.itemCrossRatio]||1)}));this._cellsPerDimension=Math.floor(this.element()[t.crossDimension]()/(this.option(t.baseItemCrossDimension)+n)),this._cellsPerDimension=Math.max(this._cellsPerDimension,i),this._cells=[],this._cells.push(new Array(this._cellsPerDimension)),this._arrangeItems(e),this._$container[t.mainDimension](this._cells.length*this.option(t.baseItemMainDimension)+(this._cells.length+1)*n)},_arrangeItems:function(e){var t=this._config,n=t.itemMainRatio,i=t.itemCrossRatio,a=t.mainPosition;this._itemsPositions=[],o.each(e,o.proxy(function(e,o){var r={};r[n]=o[n]||1,r[i]=o[i]||1,r.index=e,r[n]=r[n]<=0?0:Math.round(r[t.itemMainRatio]),r[i]=r[i]<=0?0:Math.round(r[t.itemCrossRatio]);var s=this._getItemPosition(r);-1===s[a]&&(s[a]=this._cells.push(new Array(this._cellsPerDimension))-1),this._occupyCells(r,s),this._arrangeItem(r,s),this._itemsPositions.push(s)},this))},_getItemPosition:function(e){var t=this._config,n=t.mainPosition,i=t.crossPosition,o={};o[n]=-1,o[i]=0;for(var a=0;a<this._cells.length;a++){for(var r=0;r<this._cellsPerDimension;r++)if(this._itemFit(a,r,e)){o[n]=a,o[i]=r;break}if(o[n]>-1)break}return o},_itemFit:function(e,t,n){var i=!0,o=this._config,a=n[o.itemMainRatio],r=n[o.itemCrossRatio];if(t+r>this._cellsPerDimension)return!1;for(var s=e;e+a>s;s++)for(var l=t;t+r>l;l++)if(this._cells.length-1<s)this._cells.push(new Array(this._cellsPerDimension));else if(void 0!==this._cells[s][l]){i=!1;break}return i},_occupyCells:function(e,t){for(var n=this._config,i=t[n.mainPosition],o=t[n.crossPosition],a=e[n.itemMainRatio],r=e[n.itemCrossRatio],s=i;i+a>s;s++)for(var l=o;o+r>l;l++)this._cells[s][l]=e.index},_arrangeItem:function(e,t){var n=this._config,i=t[n.mainPosition],o=t[n.crossPosition],a=e[n.itemMainRatio],r=e[n.itemCrossRatio],s=this.option(n.baseItemCrossDimension),l=this.option(n.baseItemMainDimension),c=this.option("itemMargin"),d={display:0>=a||0>=r?"none":""};if(d[n.mainDimension]=a*l+(a-1)*c,d[n.crossDimension]=r*s+(r-1)*c,d[n.mainPosition]=i*l+(i+1)*c,d[n.crossPosition]=o*s+(o+1)*c,this.option("rtlEnabled")){var u=this._$container.width(),h=this.option("baseItemWidth"),p=t.left,f=p*h,_=h+c,g=_*e.widthRatio,m=p*c;d.left=u-(f+g+m)}this._itemElements().eq(e.index).css(d)},_moveFocus:function(e){var t="up",n="down",i=this.option("rtlEnabled")?"right":"left",o=this.option("rtlEnabled")?"left":"right",a="pageup",r="pagedown",s="horizontal"===this.option("direction"),c=this._cells,d=this.option("focusedElement").index(),u=this._itemsPositions[d].left,h=this._itemsPositions[d].top,p=(s?c:c[0]).length,f=(s?c[0]:c).length,_=function(e,t){return s?c[e][t]:c[t][e]};switch(e){case a:case t:for(;h>0&&d===_(u,h);)h--;0>h&&(h=0);break;case r:case n:for(;f>h&&d===_(u,h);)h++;h===f&&(h=f-1);break;case o:for(;p>u&&d===_(u,h);)u++;u===p&&(u=p-1);break;case i:for(;u>=0&&d===_(u,h);)u--;0>u&&(u=0);break;default:return void this.callBase.apply(this,arguments)}var g=_(u,h);if(l.isDefined(g)){var m=this._itemElements().eq(g);this.option("focusedElement",m),this._scrollToItem(m)}},_scrollToItem:function(e){if(e.length){var t=this._config,n="outer"+s.captionize(t.mainDimension),i=this.option("itemMargin"),o=e.position()[t.mainPosition],a=e[n](),r=o+a,l=this.scrollPosition(),c=this.element()[n]();o>=l&&l+c>=r||(l>o?this._scrollView.scrollTo(o-i):this._scrollView.scrollTo(o+a-c+i))}},_optionChanged:function(e){switch(e.name){case"showScrollbar":this._initScrollView();break;case"disabled":this._scrollView.option("disabled",e.value),this.callBase(e);break;case"baseItemWidth":case"baseItemHeight":case"itemMargin":this._renderGeometry();break;case"width":case"height":this.callBase(e),this._renderGeometry(),this._updateScrollView();break;case"direction":this._renderGeometry(),this._updateScrollView();break;case"indicateLoading":this._hideLoadingIfLoadIndicationOff();break;default:this.callBase(e)}},scrollPosition:function(){return this._scrollView.scrollOffset()[this._config.mainPosition]}});r("dxTileView",m),i.exports=m}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(151),s="dx-toolbar-menu-action",l="dx-toolbar-hidden-button",c="dx-toolbar-menu-section",d="dx-toolbar-menu-last-section",u=r.inherit({_activeStateUnit:"."+s,_render:function(){this._renderSections(),this.callBase()},_getSections:function(){return this._itemContainer().children()},_itemElements:function(){return this._getSections().children(this._itemSelector())},_renderSections:function(){var e=this,t=this._itemContainer();o.each(["before","center","after","menu"],function(){var n="_$"+this+"Section",i=e[n];i||(e[n]=i=o("<div>").addClass(c)),i.appendTo(t)})},_renderItems:function(){this.callBase.apply(this,arguments),this._updateSections()},_updateSections:function(){var e=this.element().find("."+c);e.removeClass(d),e.not(":empty").eq(-1).addClass(d)},_renderItem:function(e,t,n,i){var o,a=t.location||"menu",r=this["_$"+a+"Section"];return o=this.callBase(e,t,r,i),this._getItemTemplateName({itemData:t})&&o.addClass("dx-toolbar-menu-custom"),"menu"!==a&&"dxButton"!==t.widget||o.addClass(s),"dxButton"===t.widget&&o.addClass(l),o},_getItemTemplateName:function(e){var t=this.callBase(e),n=e.itemData,i=n&&n.menuItemTemplate;return i||t},_itemClickHandler:function(e,t,n){o(e.target).closest("."+s).length&&this.callBase(e,t,n)},_clean:function(){this._getSections().empty(),this.callBase()}});a("dxToolbarMenu",u),i.exports=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(183),r=n(180),s=a.inherit({NAME:"actionSheet",_getMenuItemTemplate:function(){return this._toolbar._getTemplate("actionSheetItem")},render:function(){this._hasVisibleMenuItems()&&this.callBase()},_menuWidgetClass:function(){return r},_menuContainer:function(){return this._toolbar.element()},_widgetOptions:function(){return o.extend({},this.callBase(),{target:this._$button,showTitle:!1})},_menuButtonOptions:function(){return o.extend({},this.callBase(),{icon:"overflow"})},_toggleMenu:function(e,t){this.callBase.apply(this,arguments),this._menu.toggle(this._menuShown),this._menuShown=!1}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(183),r=n(413),s=n(127),l=a.inherit({NAME:"dropDownMenu",render:function(){this._hasVisibleMenuItems()&&(this._renderMenuButtonContainer(),this._renderWidget())},renderMenuItems:function(){this.callBase(),this._menu&&!this._menu.option("items").length&&this._menu.close()},_menuWidgetClass:function(){return s},_widgetOptions:function(){return o.extend(this.callBase(),{deferRendering:!0,menuWidget:r,popupPosition:{at:"bottom right",my:"top right"}})},_getMenuItems:function(){var e=this.callBase();return this._toggleMenuVisibility(e.length),e},_toggleMenuVisibility:function(e){this._menuContainer()&&this._menuContainer().toggleClass("dx-state-invisible",!e)},_menuContainer:function(){return this._$menuButtonContainer}});i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(250),r=n(78),s=a.inherit({NAME:"listBottom",_renderWidget:function(){this._renderContainerSwipe(),this.callBase(),this._toolbar._$toolbarItemsContainer.prependTo(this._listOverlay.content())},_renderContainerSwipe:function(){this._toolbar._createComponent(this._toolbar._$toolbarItemsContainer,r,{elastic:!1,onStart:o.proxy(this._swipeStartHandler,this),onUpdated:o.proxy(this._swipeUpdateHandler,this),onEnd:o.proxy(this._swipeEndHandler,this),itemSizeFunc:o.proxy(this._getListHeight,this),direction:"vertical"})},_swipeStartHandler:function(e){e.jQueryEvent.maxTopOffset=this._menuShown?0:1,e.jQueryEvent.maxBottomOffset=this._menuShown?1:0},_swipeUpdateHandler:function(e){var t=this._menuShown?e.jQueryEvent.offset:1+e.jQueryEvent.offset;this._renderMenuPosition(t,!1)},_swipeEndHandler:function(e){var t=e.jQueryEvent.targetOffset;t-=this._menuShown-1,this._toggleMenu(0===t,!0)}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(250),r=n(15),s=a.inherit({NAME:"listTop",_listOverlayConfig:function(){var e=this.callBase();return o.extend({},e,{onContentReady:o.proxy(this._setItemsContainerZIndex,this)})},_setItemsContainerZIndex:function(e){var t=e.component.content().css("z-index");this._toolbar._$toolbarItemsContainer.css("z-index",t+1)},_renderMenuPosition:function(e,t){var n=this._toolbar._$toolbarItemsContainer,i=this._calculateItemsContainerOffset(e);return t?this._animateMenuToggling(n,i,this._menuShown):r.move(n,{top:i}),this.callBase(e,t)},_calculateItemsContainerOffset:function(e){e=(e||0)-1;var t=this._getItemsContainerHeight();return e*t},_getItemsContainerHeight:function(){var e=this._toolbar._$toolbarItemsContainer.height()-this._toolbar.element().height();return e},_listOutsideClickHandler:function(e){var t=o(e.target),n=t.closest(this._listOverlay.content()).length>0,i=t.closest(this._toolbar._$toolbarItemsContainer).length>0;n||i||this._toggleMenu(!1,!0)}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=a.inherit({ctor:function(e,t){var n=this;n.editor=e,n.validator=t,n.validationRequestsCallbacks=o.Callbacks();var i=function(e){n.validationRequestsCallbacks.fire()};e.validationRequest.add(i),e.on("disposing",function(){e.validationRequest.remove(i)})},getValue:function(){return this.editor.option("value")},getCurrentValidationError:function(){return this.editor.option("validationError")},bypass:function(){return this.editor.option("disabled")},applyValidationResults:function(e){this.editor.option({isValid:e.isValid,validationError:e.brokenRule})},reset:function(){this.editor.reset()},focus:function(){this.editor.focus()}});i.exports=r}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(176);n(189);var a=o.viz=n(421);a.currentTheme=n(68).currentTheme,a.registerTheme=n(68).registerTheme,a.exportFromMarkup=n(523).exportFromMarkup,a.currentPalette=n(117).currentPalette,a.getPalette=n(117).getPalette,a.registerPalette=n(117).registerPalette,a.dxChart=n(507),a.dxPieChart=n(532),a.dxPolarChart=n(533),a.dxLinearGauge=n(531),a.dxCircularGauge=n(513),a.dxBarGauge=n(505),a.dxRangeSelector=n(534),a.dxVectorMap=n(570),a.map={},a.map.sources={},a.map.projection=n(351).projection,a.dxSparkline=n(553),a.dxBullet=n(506),a.dxTreeMap=n(560);var r={};a.core=r,r.currentTheme=n(68).currentTheme,r.registerTheme=n(68).registerTheme,r.currentPalette=n(117).currentPalette,r.getPalette=n(117).getPalette,r.registerPalette=n(117).registerPalette,a.BaseWidget=n(116),a.findTheme=n(68).findTheme,a.refreshAll=n(68).refreshAll,a.gauges={__internals:{}},a._dashboard={},a._dashboard.Renderer=n(170).Renderer,a._dashboard.SvgElement=n(258).SvgElement,a._dashboard.isSvg=n(170).isSvg,a._dashboard.patchFontOptions=n(7).patchFontOptions,i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(189),a=n(309);a.dxAccordion=n(422),a.dxContextMenu=n(126),a.dxDataGrid=n(425),a.dxMenu=n(319),a.dxPivotGrid=n(461),a.dxPivotGridFieldChooser=n(473),o.PivotGridDataSource=n(215),o.XmlaStore=n(472),a.dxScheduler=n(474),a.dxTreeView=n(165)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(92),i.exports=DevExpress.viz=DevExpress.viz||{}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(22),r=n(9),s=n(6),l=n(3),c=n(4),d=n(28),u="dx-accordion",h="dx-accordion-wrapper",p="dx-accordion-item",f="dx-accordion-item-opened",_="dx-accordion-item-closed",g="dx-accordion-item-title",m="dx-accordion-item-body",v="dxAccordionItemData",x=d.inherit({_activeStateUnit:"."+p,_getDefaultOptions:function(){return o.extend(this.callBase(),{hoverStateEnabled:!0,height:void 0,itemTitleTemplate:"title",onItemTitleClick:null,selectedIndex:0,collapsible:!1,multiple:!1,animationDuration:300,deferRendering:!0,selectionByClick:!0,activeStateEnabled:!0,_itemAttributes:{role:"tab"}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===s.real().deviceType&&!s.isSimulator()},options:{focusStateEnabled:!0}}])},_itemElements:function(){return this._itemContainer().children(this._itemSelector())},_init:function(){this.callBase(),this.option("selectionRequired",!this.option("collapsible")),this.option("selectionMode",this.option("multiple")?"multiple":"single");var e=this.element();e.addClass(u),this._$container=o("<div>").addClass(h),e.append(this._$container)},_render:function(){this._deferredItems=[],this.callBase(),this._fireContentReadyAction(),this.setAria({role:"tablist",multiselectable:this.option("multiple")}),this._attachItemTitleClickAction()},_renderContent:function(){this._renderContentImpl()},_itemDataKey:function(){return v},_itemClass:function(){return p},_itemContainer:function(){return this._$container},_itemTitles:function(){return this._itemElements().find("."+g)},_itemContents:function(){return this._itemElements().find("."+m)},_getItemData:function(e){return o(e).parent().data(this._itemDataKey())||this.callBase.apply(this,arguments)},_executeItemRenderAction:function(e,t){e.type||this.callBase.apply(this,arguments)},_itemSelectHandler:function(e){o(e.target).closest(this._itemContents()).length||this.callBase.apply(this,arguments)},_renderItemContent:function(e){var t=this.callBase(o.extend({},e,{contentClass:g,templateProperty:"titleTemplate",defaultTemplateName:this.option("itemTitleTemplate")})),n=o.Deferred();this._deferredItems.push(n),this.option("deferRendering")||n.resolve(),n.done(o.proxy(this.callBase,this,o.extend({},e,{contentClass:m,container:o("<div>").appendTo(t.parent())})))},_attachItemTitleClickAction:function(){var e="."+g,t=c.addNamespace(r.name,this.NAME);this._itemContainer().off(t,e).on(t,e,o.proxy(this._itemTitleClickHandler,this))},_itemTitleClickHandler:function(e){this._itemJQueryEventHandler(e,"onItemTitleClick")},_renderSelection:function(e,t){this._itemElements().addClass(_),this.setAria("hidden",!0,this._itemContents()),this._updateItems(e,t,!0)},_updateSelection:function(e,t){this._updateItems(e,t,!1)},_updateItems:function(e,t,n){var i=this._itemElements(),a=this;o.each(e,function(e,t){a._deferredItems[t].resolve();var n=i.eq(t).addClass(f).removeClass(_);a.setAria("hidden",!1,n.find("."+m))}),o.each(t,function(e,t){var n=i.eq(t).removeClass(f);a.setAria("hidden",!0,n.find("."+m))}),this._updateItemHeights(n)},_updateItemHeights:function(e){var t=this,n=t._deferredAnimate,i=this._splitFreeSpace(this._calculateFreeSpace());return o.when.apply(o,o.map(this._itemElements(),function(n){return t._updateItemHeight(o(n),i,e)})).done(function(){n&&n.resolveWith(t)})},_updateItemHeight:function(e,t,n){var i=e.children("."+g);a.isAnimating(e)&&a.stop(e);var o=e.outerHeight(),r=e.hasClass(f)?t+i.outerHeight()||e.height("auto").outerHeight():i.outerHeight();return this._animateItem(e,o,r,n,!!t)},_animateItem:function(e,t,n,i,r){var s;return i||t===n?(e.css("height",n),s=o.Deferred().resolve()):s=a.animate(e,{type:"custom",from:{height:t},to:{height:n},duration:this.option("animationDuration")}),s.done(function(){e.hasClass(f)&&!r&&e.css("height",""),e.not("."+f).addClass(_)})},_splitFreeSpace:function(e){return e?e/this.option("selectedItems").length:e},_calculateFreeSpace:function(){var e=this.option("height");if(void 0!==e&&"auto"!==e){var t=this._itemTitles(),n=0;return o.each(t,function(e,t){n+=o(t).outerHeight()}),this.element().height()-n}},_visibilityChanged:function(e){e&&this._dimensionChanged()},_dimensionChanged:function(){this._updateItemHeights(!0)},_optionChanged:function(e){switch(e.name){case"animationDuration":case"onItemTitleClick":break;case"collapsible":this.option("selectionRequired",!this.option("collapsible"));break;case"itemTitleTemplate":case"height":case"deferRendering":this._invalidate();break;case"multiple":this.option("selectionMode",e.value?"multiple":"single");break;default:this.callBase(e)}},expandItem:function(e){return this._deferredAnimate=o.Deferred(),this.selectItem(e),this._deferredAnimate.promise()},collapseItem:function(e){return this._deferredAnimate=o.Deferred(),this.unselectItem(e),this._deferredAnimate.promise()},updateDimensions:function(){return this._updateItemHeights(!1)}});l("dxAccordion",x),i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(33),r=n(3),s=n(2),l=n(22),c=n(9),d=n(66),u=n(6),h=n(4),p=n(158),f=n(50),_=n(310),g="dx-menu",m=g+"-item",v=m+"-expanded",x="dx-menu-phone-overlay",w=g+"-items-container",y=m+"-wrapper",b="dx-submenu",C="dx-context-menu",k="dx-has-context-menu",S="dx-state-disabled",T="up",I="down",D="left",E="right",A="first",B="last",M=["onShowing","onShown","onHiding","onHidden","onPositioning","onLeftFirstItem","onLeftLastItem","onCloseRootSubmenu","onExpandLastSubmenu"],O=[T,I,A,B],P=_.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{alternativeInvocationMode:{enabled:!1,invokingElement:null},position:{at:"top left",my:"top left"},onShowing:null,onShown:null,onHiding:null,onHidden:null,onPositioning:null,submenuDirection:"auto",visible:!1,target:window,onLeftFirstItem:null,onLeftLastItem:null,onCloseRootSubmenu:null,onExpandLastSubmenu:null})},_initActions:function(){this._actions={},o.each(M,o.proxy(function(e,t){this._actions[t]=this._createActionByOption(t)||o.noop},this))},_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{animation:!0,selectedItem:!0})},_focusInHandler:o.noop,_itemContainer:function(){return this._overlay?this._overlay.content():o()},_eventBindingTarget:function(){return this._itemContainer()},itemsContainer:function(){return this._overlay?this._overlay.content():void 0},_supportedKeys:function(){var e=function(e){var t=this.option("focusedElement");this.hide(),t&&this._isSelectionEnabled()&&this.selectItem(t[0])};return o.extend(this.callBase(),{space:e,esc:this.hide})},_moveFocus:function(e){var t,n=this._getItemsByLocation(e),i=this._getActiveItem(!0),o=this.option("focusedElement");switch(e){case T:t=o?this._prevItem(n):n.last(),i.is(n.first())&&this._actions.onLeftFirstItem(i);break;case I:t=o?this._nextItem(n):n.first(),i.is(n.last())&&this._actions.onLeftLastItem(i);break;case E:t=this.option("rtlEnabled")?this._hideSubmenuHandler(n):this._expandSubmenuHandler(n,e);break;case D:t=this.option("rtlEnabled")?this._expandSubmenuHandler(n,e):this._hideSubmenuHandler(n);break;case A:t=n.first();break;case B:t=n.last();break;default:return this.callBase(e)}0!==t.length&&this.option("focusedElement",t)},_getItemsByLocation:function(e){var t,n=this._getActiveItem(!0),i=this.option("rtlEnabled")?D:E;return o.inArray(e,O)>=0?t=n.closest("."+w).children().children():(t=this._itemElements(),e!==i&&(t=t.filter(":visible"))),t},_getAriaTarget:function(){return this.element()},_refreshActiveDescendant:function(){if(this._overlay){var e=this.getFocusedItemId();this.setAria("activedescendant","",this._overlay.content()),this.setAria("activedescendant",e,this._overlay.content())}},_hideSubmenuHandler:function(e){var t=this._getActiveItem(!0),n=t.parents("."+v).first();return n.length?(this._hideSubmenusOnSameLevel(n),this._hideSubmenu(t.closest("."+b)),n):(this._actions.onCloseRootSubmenu(t),t)},_expandSubmenuHandler:function(e,t){var n=this._getActiveItem(!0),i=this._dataAdapter.getNodeByItem(this._getItemData(n)),o=this._hasSubmenu(i),a=n.children("."+b);return o&&!n.hasClass(S)?(a.length&&"hidden"!==a.css("visibility")||this._showSubmenu(n),this._nextItem(this._getItemsByLocation(t))):(this._actions.onExpandLastSubmenu(n),n)},_clean:function(){this._overlay&&(this._overlay.element().remove(),this._overlay=null),this._detachShowContextMenuEvents(o(this.option("target"))),this.callBase()},_render:function(){this.element().addClass(k),this.callBase(),this.setAria("role","menu")},_renderContentImpl:function(){this._detachShowContextMenuEvents(this.option("target")),this._attachShowContextMenuEvents(),this._attachInvokeContextMenuEvents()},_renderContextMenuOverlay:function(){if(!this._overlay){var e,t=this._getOverlayOptions(),n=o("<div>");this._overlay=this._createComponent(n.appendTo(this._$element),f,t),e=this._overlay.content(),e.addClass(C),this._addCustomCssClass(e),this._addPlatformDependentClass(e)}},_addPlatformDependentClass:function(e){u.current().phone&&e.addClass(x)},_detachShowContextMenuEvents:function(e){var t=h.addNamespace(p.name,this.NAME);this._showContextMenuEventHandler?o(document).off(t,this._getTargetSelector(e),this._showContextMenuEventHandler):o(e).off(t)},_attachShowContextMenuEvents:function(){var e=this,t=this.option("target"),n=h.addNamespace(p.name,this.NAME),i=this._createAction(o.proxy(function(t){e.option("alternativeInvocationMode").enabled||e._show(t.jQueryEvent)},this),{validatingTargetName:"target"}),a=function(e){i({jQueryEvent:e,target:o(e.currentTarget)})};i=this._createAction(i),t instanceof o?(this._showContextMenuEventHandler=void 0,t.on(n,a)):(this._showContextMenuEventHandler=a,o(document).on(n,t,this._showContextMenuEventHandler))},_getTargetSelector:function(e){return e instanceof o?e.selector:e},_attachInvokeContextMenuEvents:function(){var e=this,t=h.addNamespace(c.name,this.NAME),n=this._createAction(o.proxy(function(){e.toggle()},this),{validatingTargetName:"target"});this.option("alternativeInvocationMode").enabled&&this._getInvokeTarget()&&o(this._getInvokeTarget()).off(t).on(t,o.proxy(function(e){n({jQueryEvent:e,target:o(e.target)})},this))},_getInvokeTarget:function(){return this.option("alternativeInvocationMode").invokingElement},_hoverEndHandler:function(e){e.stopPropagation()},_renderDimensions:o.noop,_renderContainer:function(e,t){var n,i=t||this._itemContainer();return e=o("<div>"),e.appendTo(i).addClass(b).css("visibility",t?"hidden":"visible"),n=this.callBase(e),t?n:this.option("width")?n.css("min-width",this.option("width")):this.option("height")?n.css("min-height",this.option("height")):n},_renderSubmenuItems:function(e,t){this._renderItems(this._getChildNodes(e),t)},_getOverlayOptions:function(){var e=this.option("position"),t=this.option("animation"),n={focusStateEnabled:this.option("focusStateEnabled"),animation:t,closeOnOutsideClick:o.proxy(this._closeOnOutsideClickHandler,this),
closeOnTargetScroll:!0,deferRendering:!1,position:{at:e.at,my:e.my,of:this.option("target"),collision:"fit"},shading:!1,showTitle:!1,height:"auto",width:"auto",visible:this.option("visible"),onShown:o.proxy(this._overlayShownActionHandler,this),onHiding:o.proxy(this._overlayHidingActionHandler,this),onHidden:o.proxy(this._overlayHiddenActionHandler,this),onPositioned:o.proxy(this._overlayPositionedActionHandler,this)};return n},_overlayShownActionHandler:function(e){this._actions.onShown(e)},_overlayHidingActionHandler:function(e){this._actions.onHiding(e),e.cancel||(this._hideAllShownSubmenus(),this._setOptionSilent("visible",!1))},_overlayHiddenActionHandler:function(e){this._actions.onHidden(e)},_overlayPositionedActionHandler:o.noop,_closeOnOutsideClickHandler:function(e){var t,n,i,a,r,s,l=o(e.target).closest(this._getInvokeTarget());return e.target===document?!0:l&&l.length?!1:(n=this._getActiveItemsContainer(e.target),i=this._getItemsContainers(),t=this._searchActiveItem(e.target),a=this.element().parents("."+m),r=t[0]===a[0]&&t.length&&a.length,s=this._isIncludeOverlay(n,i)&&t.length,s||r?("onClick"===this._getShowSubmenuMode()&&this._hideAllShownChildSubmenus(t),!1):!0)},_getActiveItemsContainer:function(e){return o(e).closest("."+w)},_getItemsContainers:function(){return this._overlay._$content.find("."+w)},_searchActiveItem:function(e){return o(e).closest("."+m).eq(0)},_isIncludeOverlay:function(e,t){var n=!1;return o.each(t,function(t,i){e.is(i)&&!n&&(n=!0)}),n},_hideAllShownChildSubmenus:function(e){var t,n=this,i=e.find("."+b),a=o.extend([],this._shownSubmenus);i.length>0&&o.each(a,function(i,o){t=n._searchActiveItem(o.context).parent(),t.parent().is(e.parent().parent())&&!t.is(e.parent())&&n._hideSubmenu(o)})},_showSubmenu:function(e){var t,n=this._dataAdapter.getNodeByItem(this._getItemData(e)),i=this._hasSubmenu(n);this._hideSubmenusOnSameLevel(e),i&&(this.callBase(e),e.children("."+b).length||this._renderSubmenuItems(n,e,2),t=this._isSubmenuVisible(e.children("."+b)),t||(e.addClass(v),this._drawSubmenu(e)))},_hideSubmenusOnSameLevel:function(e){var t=e.parent("."+y).siblings().find("."+v);t.length&&(t.removeClass(v),this._hideSubmenu(t.find("."+b)))},_hideSubmenuGroup:function(e){this._isSubmenuVisible(e)&&this._hideSubmenuCore(e)},_isSubmenuVisible:function(e){return"visible"===e.css("visibility")},_drawSubmenu:function(e){var t=this.option("animation")?this.option("animation").show:{},n=e.children("."+b),i=this._getSubmenuPosition(e);this._overlay&&this._overlay.option("visible")&&(s.isDefined(this._shownSubmenus)||(this._shownSubmenus=[]),o.inArray(n,this._shownSubmenus)&&this._shownSubmenus.push(n),d.setup(n,i),t&&(o.isPlainObject(t.to)&&(t.to.position=i),this._animate(n,t)),n.css("visibility","visible"))},_animate:function(e,t){l.animate(e,t)},_getSubmenuPosition:function(e){var t=this.option("submenuDirection").toLowerCase(),n=e.parent("."+y),i={collision:"flip",of:n,offset:{h:0,v:-1}};switch(t){case"left":i.at="left top",i.my="right top";break;case"right":i.at="right top",i.my="left top";break;default:this.option("rtlEnabled")?(i.at="left top",i.my="right top"):(i.at="right top",i.my="left top")}return i},_updateSubmenuVisibilityOnClick:function(e){var t,n,i,a,r,s;if(e.args.length&&(e.args[0].jQueryEvent.stopPropagation(),t=e.args[0].itemElement,n=e.args[0].itemData,i=this._dataAdapter.getNodeByItem(n),i&&(a=i.internalFields.childrenKeys.length&&!t.find("."+b).length,a&&this._renderSubmenuItems(i,t,2),s=n&&n.closeMenuOnClick===!1,r=t.children("."+b),(t.context!==r.context||"visible"!==r.css("visibility"))&&n&&!n.disabled&&!s)))if(this._updateSelectedItemOnClick(e),0===r.length){var l=o(t.parents("."+b)[0]);this._hideSubmenu(l),!e.canceled&&this._overlay&&this._overlay.option("visible")&&this.option("visible",!1)}else this._shownSubmenus&&this._shownSubmenus.length>0&&(this._shownSubmenus[0].is(r)||1===this._shownSubmenus[0].has(r).length?this._hideSubmenu(r):this._hideAllShownSubmenus()),this._showSubmenu(t)},_hideSubmenu:function(e){var t=this,n=o.extend([],t._shownSubmenus);o.each(n,function(n,i){(e.is(i)||e.has(i).length)&&(i.parent().removeClass(v),t._hideSubmenuCore(i))})},_hideSubmenuCore:function(e){var t=o.inArray(e,this._shownSubmenus),n=this.option("animation")?this.option("animation").hide:null;t>=0&&this._shownSubmenus.splice(t,1),this._stopAnimate(e),n&&this._animate(e,n),e.css("visibility","hidden")},_stopAnimate:function(e){l.stop(e,!0)},_hideAllShownSubmenus:function(){var e=this,t=o.extend([],e._shownSubmenus),n=this._overlay.content().find("."+v);n.removeClass(v),o.each(t,function(t,n){e._hideSubmenuCore(n)})},_visibilityChanged:function(e){e&&(this._detachShowContextMenuEvents(this.option("target")),this._attachShowContextMenuEvents(),this._attachInvokeContextMenuEvents())},_optionChanged:function(e){if(!this._cancelOptionChange){if(o.inArray(e.name,M)>-1)return void this._initActions();switch(e.name){case"visible":this._toggleVisibility(e.value);break;case"alternativeInvocationMode":case"position":case"submenuDirection":this._invalidate();break;case"target":e.previousValue&&this._detachShowContextMenuEvents(e.previousValue),this.option("position").of=null,this._invalidate();break;default:this.callBase(e)}}},_toggleVisibility:function(e){e?this._show():this._hide()},_show:function(e,t){var n={jQEvent:e};if(!t&&this._actions.onShowing(n),n.cancel)return o.Deferred().reject().promise();var i,r=new a;return t=t||this._positionContextMenu(e),t&&(this._overlay?(this._setOptionSilent("visible",!0),this._overlay.option("position",t),i=this._overlay.show(),this._overlay.content().attr({id:r,role:"menu"}),this.setAria("owns",r)):(this._renderContextMenuOverlay(),this._overlay.content().addClass(this._widgetClass()),this._renderFocusState(),this._attachHoverEvents(),this._attachClickEvent(),this._renderItems(this._dataAdapter.getRootNodes()),this._show(e,t))),i||o.Deferred().reject().promise()},_positionContextMenu:function(e){var t,n=this.option("position"),i=this._createActionByOption("onPositioning",t);return e&&e.preventDefault&&(n={at:"top left",my:"top left",of:e}),n.of||(n.of=this.option("target")),t={position:n,jQueryEvent:e},i(t),t.cancel?n=null:t.jQueryEvent&&(t.jQueryEvent.cancel=!0,e.preventDefault()),n},_hide:function(){var e;return this._overlay&&(this._overlay.content().removeAttr("id"),e=this._overlay.hide(),this._setOptionSilent("visible",!1)),this.setAria("owns",void 0),e||o.Deferred().reject().promise()},toggle:function(e){var t=this.option("visible");return e=void 0===e?!t:e,e?this._show():this._hide()},show:function(){return this.toggle(!0)},hide:function(){return this.toggle(!1)}});r("dxContextMenu",P),i.exports=P}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(155),s=r.inherit({_getPlainItems:function(){return o.map(this._collectionWidget.option("items"),function e(t){return t.items?[t].concat(o.map(t.items,e)):t})},_stringifyItem:function(e){var t=this;return JSON.stringify(e,function(e,n){return"template"===e?t._getTemplateString(n):n})},_getTemplateString:function(e){var t;return t="object"==typeof e?o(e).text():e.toString()},selectedItemIndices:function(){var e=[],t=this._collectionWidget._dataAdapter,n=t.getData(),i=t.getNodeByKey(t.getSelectedNodesKeys()[0]);if(i){var r=o.inArray(i,n);-1!==r?e.push(r):a.log("W1002",i)}return e},fetchSelectedItems:function(e){e=e||this._collectionWidget._selectedItemIndices;var t=this._getPlainItems(),n=[];return o.each(e,function(e,i){n.push(t[i])}),n}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(445)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){var a=0;if(t>e)for(;a<n.items.length;a++)o(e+1,t,n.items[a],i);e===t&&i(n)}function a(e,t){var n,i;if("map"in e)return e.map(t);i=new Array(e.length);for(n in e)i[n]=t(e[n],n);return i}function r(e){return e!==e||""===e||null===e||void 0===e}function s(e){return e===p.aggregators.count}function l(e){var t=u(e.selector),n="skipEmptyValues"in e?e.skipEmptyValues:!0,i=e.aggregator;if("string"==typeof i&&(i=p.aggregators[i],!i))throw h.Error("E4001",e.aggregator);return{selector:t,aggregator:i,skipEmptyValues:n}}var c=n(1),d=n(5),u=n(16).compileGetter,h=n(24).errors,p=n(27);i.exports=d.inherit({ctor:function(e){this._data=e.data,this._groupLevel=e.groupLevel||0,this._totalAggregates=a(e.totalAggregates||[],l),this._groupAggregates=a(e.groupAggregates||[],l),this._totals=[]},calculate:function(){this._totalAggregates.length&&this._calculateTotals(0,{items:this._data}),this._groupAggregates.length&&this._groupLevel>0&&this._calculateGroups({items:this._data})},totalAggregates:function(){return this._totals},_aggregate:function(e,t,n){var i,o;for(i=0;i<e.length;i++)if(s(e[i].aggregator))n[i]=(n[i]||0)+t.items.length;else for(o=0;o<t.items.length;o++)this._accumulate(i,e[i],n,t.items[o])},_calculateTotals:function(e,t){var n;if(0===e&&(this._totals=this._seed(this._totalAggregates)),e===this._groupLevel)this._aggregate(this._totalAggregates,t,this._totals);else for(n=0;n<t.items.length;n++)this._calculateTotals(e+1,t.items[n]);0===e&&(this._totals=this._finalize(this._totalAggregates,this._totals))},_calculateGroups:function(e){function t(e){e.aggregates=a(),i===n?r(e,e.aggregates):o(i,n,e,function(t){r(t,e.aggregates)}),e.aggregates=s(e.aggregates)}for(var n=this._groupLevel,i=n+1,a=c.proxy(this._seed,this,this._groupAggregates),r=c.proxy(this._aggregate,this,this._groupAggregates),s=c.proxy(this._finalize,this,this._groupAggregates);--i>0;)o(0,i,e,t)},_seed:function(e){return a(e,function(e){var t=e.aggregator,n="seed"in t?c.isFunction(t.seed)?t.seed():t.seed:NaN;return n})},_accumulate:function(e,t,n,i){var o=t.selector(i),a=t.aggregator,s=t.skipEmptyValues;s&&r(o)||(n[e]!==n[e]?n[e]=o:n[e]=a.step(n[e],o))},_finalize:function(e,t){return a(e,function(e,n){var i=e.aggregator.finalize;return i?i(t[n]):t[n]})}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(26),s=n(3),l=n(2),c=n(9),d=n(8),u=n(18),h=n(114),p=n(87),f=n(4),_=4,g="dx-pager",m="dx-page",v="dx-pages",x="dx-light-mode",w="dx-light-pages",y="dx-page-index",b="dx-pages-count",C="dx-selection",k="dx-separator",S="dx-page-sizes",T="dx-page-size",I="dx-navigate-button",D="dx-prev-button",E="dx-next-button",A="dx-info",B="dx-info-text",M="dx-button-disable",O=a.inherit({ctor:function(e,t){var n=this;n.index=t,n._$page=o("<div />").text(e).addClass(m)},value:function(e){var t=this;if(!l.isDefined(e)){var n=t._$page.text();return l.isNumber(n)?parseInt(n):n}t._$page.text(e)},element:function(){return this._$page},select:function(e){this._$page.toggleClass(C,e)},render:function(e,t){t?this._$page.prependTo(e):this._$page.appendTo(e)}}),P=u.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{visible:!0,pagesNavigatorVisible:"auto",pageIndex:1,maxPagesCount:10,pageCount:10,totalCount:0,pageSize:5,showPageSizes:!0,pageSizes:[5,10],hasKnownLastPage:!0,showNavigationButtons:!1,showInfo:!1,infoText:d.getFormatter("dxPager-infoText"),pagesCountText:d.getFormatter("dxPager-pagesCountText"),rtlEnabled:!1,lightModeEnabled:!1,pageIndexChanged:o.noop,pageSizeChanged:o.noop})},_toggleVisibility:function(e){var t=this.element();t&&t.css("display",e?"":"none")},_getPages:function(e,t){var n,i,o=[],a=!this.option("hasKnownLastPage");if(t>0||a)if(t<=this.option("maxPagesCount")){for(i=1;t>=i;i++)o.push(new O(i,i-1));a&&o.push(new O(">",i-1))}else{for(o.push(new O(1,0)),n=e?e.value()-e.index:1,i=1;_>=i;i++)o.push(new O(n+i,i));o.push(new O(t,_+1)),a&&o.push(new O(">",_+1))}return o},_getPageByValue:function(e){var t,n,i=this;for(n=0;n<i._pages.length;n++)if(t=i._pages[n],t.value()===e)return t},_processSelectedPage:function(e,t,n){var i,a=this,r=!1;a._pages&&(o.each(a._pages,function(e,n){t===n.value()&&(r=!0)}),r||(a.selectedPage=null)),l.isDefined(a.selectedPage)?t===n&&n>e&&a.selectedPage.index!==_+1&&(a.selectedPage.index=_+1):t>_&&n>t&&(i=t>n-_?_-(n-t)+1:2,a.selectedPage=new O(t,i))},_selectPageByValue:function(e){var t,n,i,o,a=this,r=a._getPageByValue(e),s=a._pages,c=s.length;if(l.isDefined(r)){if(n=a._pages[r.index-1],i=a._pages[r.index+1],i&&">"===i.value()&&(o=i,i=void 0,c--,s.pop()),a.selectedPage&&a.selectedPage.select(!1),r.select(!0),a.selectedPage=r,i&&i.value()-e>1)if(0!==r.index)for(n.value(e+1),a._pages.splice(r.index,1),a._pages.splice(r.index-1,0,r),a._pages[r.index].index=r.index,r.index=r.index-1,t=r.index-1;t>0;t--)a._pages[t].value(a._pages[t+1].value()-1);else for(t=0;c-1>t;t++)a._pages[t].value(t+1);if(n&&e-n.value()>1)if(r.index!==c-1)for(i.value(e-1),a._pages.splice(r.index,1),a._pages.splice(r.index+1,0,r),a._pages[r.index].index=r.index,r.index=r.index+1,t=r.index+1;c-1>t;t++)a._pages[t].value(a._pages[t-1].value()+1);else for(t=1;c-2>=t;t++)a._pages[c-1-t].value(a._pages[c-1].value()-t);o&&s.push(o)}},_nextPage:function(e){var t=this.option("pageIndex"),n=this.option("pageCount");l.isDefined(t)&&(t="next"===e?++t:--t,t>0&&n>=t&&this.option("pageIndex",t))},_renderPages:function(e){var t,n,i=this,a=e.length,r=i._createAction(function(e){var t=e.jQueryEvent,n=o(t.target).text(),a=">"===n?i.option("pageCount")+1:Number(n);i.option("pageIndex",a)});a>1&&(i._pageClickHandler=function(e){r({jQueryEvent:e})},i._$pagesChooser.on(f.addNamespace(c.name,i.Name+"Pages"),"."+m,i._pageClickHandler));for(var s=0;a>s;s++)n=e[s],n.render(i._$pagesChooser,i.option("rtlEnabled")),i.setAria({role:"button",label:"Page "+n.value()},n.element()),e[s+1]&&e[s+1].value()-n.value()>1&&(t=o("<div>. . .</div>").addClass(k),i.option("rtlEnabled")?t.prependTo(i._$pagesChooser):t.appendTo(i._$pagesChooser))},_calculateLightPagesWidth:function(e,t){return Number(e.css("min-width").replace("px",""))+10*t.toString().length},_renderLightPages:function(){var e,t,n=this,i=this.option("pageCount"),a=this.option("pageIndex"),r=n._createAction(function(){n.option("pageIndex",i)}),s=this.option("pagesCountText"),l=o("<div/>").addClass(w).appendTo(this._$pagesChooser);t=o("<div/>").addClass(y).appendTo(l),n._pageIndexEditor=n._createComponent(t,p,{value:a,min:1,max:i,width:n._calculateLightPagesWidth(t,i),onValueChanged:function(e){n.option("pageIndex",e.value)}}),o("<span/>").text(s).addClass(B+" "+A).appendTo(l),e=o("<span/>").addClass(b).text(i).on(f.addNamespace(c.name,n.Name+"PagesCount"),function(e){r({jQueryEvent:e})}).appendTo(l),n.setAria({role:"button",label:"Navigates to the last page"},e)},_renderPagesChooser:function(){var e=this,t=e.option("lightModeEnabled"),n=e.option("pagesNavigatorVisible"),i=e.element();if(e._$pagesChooser&&e._$pagesChooser.remove(),n){if(e._pages&&0===e._pages.length)return void(e.selectedPage=null);e._$pagesChooser=o("<div />").addClass(v).appendTo(i),"auto"===n&&e._$pagesChooser.css("visibility",1===e.option("pageCount")?"hidden":""),t||e._renderInfo(),e._renderNavigateButton("prev"),t?e._renderLightPages():e._renderPages(e._pages),e._renderNavigateButton("next"),e._updatePagesChooserWidth()}},_renderPageSizes:function(){var e,t,n,i=this,a=i.option("pageSizes"),r=a&&a.length,s=i.option("pageSize"),l=i._createAction(function(e){var n=e.jQueryEvent;t=parseInt(o(n.target).text()),i.option("pageSize",t)});for(i._$pagesSizeChooser.on(f.addNamespace(c.name,i.Name+"PageSize"),"."+T,function(e){l({jQueryEvent:e})}),e=0;r>e;e++)n=o("<div />").text(a[e]).addClass(T),i.setAria({role:"button",label:"Display "+a[e]+" items on page"},n),s===a[e]&&n.addClass(C),i._$pagesSizeChooser.append(n)},_calculateLightPageSizesWidth:function(e){return Number(this._$pagesSizeChooser.css("min-width").replace("px",""))+10*Math.max.apply(Math,e).toString().length},_renderLightPageSizes:function(){var e,t=this,n=t.option("pageSizes");e=o("<div/>").appendTo(t._$pagesSizeChooser),t._pageSizeEditor=t._createComponent(e,h,{dataSource:n,value:t.option("pageSize"),onSelectionChanged:function(e){t.option("pageSize",e.selectedItem)},width:t._calculateLightPageSizesWidth(n)})},_renderPagesSizeChooser:function(){var e=this,t=e.option("pageSizes"),n=e.option("showPageSizes"),i=t&&t.length,a=e.element();n&&i&&(e._$pagesSizeChooser&&e._$pagesSizeChooser.remove(),e._$pagesSizeChooser=o("<div />").addClass(S).appendTo(a),e.option("lightModeEnabled")?e._renderLightPageSizes():e._renderPageSizes(),e._pagesSizeChooserWidth=e._$pagesSizeChooser.width())},_renderInfo:function(){var e=this.option("infoText");this.option("showInfo")&&l.isDefined(e)&&(this._$info=o("<div>").css("display",this._isInfoHide?"none":"").addClass(A).text(r.format(e,this.selectedPage&&this.selectedPage.value(),this.option("pageCount"),this.option("totalCount"))).appendTo(this._$pagesChooser),this._isInfoHide||(this._infoWidth=this._$info.outerWidth(!0)))},_renderNavigateButton:function(e){var t,n=this,i=n._createAction(function(t){n._nextPage(e)});(n.option("showNavigationButtons")||n.option("lightModeEnabled"))&&(t=o("<div>").addClass(I).on(f.addNamespace(c.name,n.Name+"Pages"),function(e){i({jQueryEvent:e})}),n.setAria({role:"button",label:"prev"===e?"Previous page":" Next page"},t),n.option("rtlEnabled")?(t.addClass("prev"===e?E:D),t.prependTo(this._$pagesChooser)):(t.addClass("prev"===e?D:E),t.appendTo(this._$pagesChooser)))},_render:function(){this.callBase(),this.element().addClass(g).toggleClass(x,this.option("lightModeEnabled")),this._toggleVisibility(this.option("visible")),this._updatePageSizes(!0),this._updatePages(!0),this._updateLightMode()},_updatePageSizes:function(e){var t=this.option("lightModeEnabled"),n=this.option("pageSize"),i=this.option("pageSizes");t&&this._pageSizeEditor&&this._pageSizeEditor.option({value:n,dataSource:i,width:this._calculateLightPageSizesWidth(i)}),t&&!e||this._renderPagesSizeChooser()},_updatePages:function(e){var t=this.option("pageCount"),n=this.option("pageIndex"),i=this.option("lightModeEnabled");i?this._pageIndexEditor&&this._pageIndexEditor.option({value:n,width:this._calculateLightPagesWidth(this._pageIndexEditor.element(),t)}):(this._processSelectedPage(this.option("maxPagesCount"),n,t),this._pages=this._getPages(this.selectedPage,t),this._selectPageByValue(n)),i&&!e||this._renderPagesChooser(),this._updateButtonsState(n)},_updateButtonsState:function(e){var t=this.element().find("."+E),n=this.element().find("."+D);t.toggleClass(M,e>=this.option("pageCount")),n.toggleClass(M,1>=e)},_optionChanged:function(e){switch(e.name){case"visible":this._toggleVisibility(e.value);break;case"pageIndex":var t=this.option("pageIndexChanged");t&&t(e.value),this._updatePages();break;case"maxPagesCount":case"pageCount":case"totalCount":case"hasKnownLastPage":case"pagesNavigatorVisible":case"showNavigationButtons":this._updatePages();break;case"pageSize":var n=this.option("pageSizeChanged");n&&n(e.value),this._updatePageSizes();break;case"pageSizes":this._updatePageSizes();break;default:this._invalidate()}},_clean:function(){this._$pagesChooser&&this._$pagesChooser.off(f.addNamespace(c.name,this.Name+"Pages"),"."+m,this._pageClickHandler),this.callBase()},_getMinPagerWidth:function(){var e=l.isDefined(this._pagesChooserWidth)?this._pagesChooserWidth:0,t=l.isDefined(this._pagesSizeChooserWidth)?this._pagesSizeChooserWidth:0;return e+t},_updatePagesChooserWidth:l.deferUpdater(function(){var e=this._pages&&this._pages.length>0?this._pages[this._pages.length-1]._$page.width():0;this._pagesChooserWidth=this._$pagesChooser.width()+e}),_updateLightMode:l.deferUpdater(function(){var e=this,t=this.element().width(),n=l.isDefined(this._infoWidth)?this._infoWidth:0;l.deferRender(function(){e._isInfoHide&&t>e._getMinPagerWidth()+n&&(e._$info.show(),e._updatePagesChooserWidth(),e._isInfoHide=!1),!e._isInfoHide&&t>e._getMinPagerWidth()-n&&t<e._getMinPagerWidth()&&(e._$info.hide(),e._updatePagesChooserWidth(),e._isInfoHide=!0),l.deferUpdate(function(){l.deferRender(function(){t<e._getMinPagerWidth()&&!e._isLightMode&&(e._optimalPagerWidth=e._getMinPagerWidth(),e._isLightMode=!0,e.option("lightModeEnabled",e._isLightMode)),t>e._optimalPagerWidth&&e._isLightMode&&(e._isLightMode=!1,e.option("lightModeEnabled",e._isLightMode))})})})}),_dimensionChanged:function(){this._updateLightMode()},getHeight:function(){return this.option("visible")?this.element().outerHeight():0}});i.exports=P,s("dxPager",P)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t){function i(e){return e.command?"command:"+e.command:e.index}var o=n(1),a=n(4),r=n(9),s=n(2),l=n(33),c=n(20),d=n(177),u=n(47),h="dxDataGridAdaptivity",p="adaptiveHidden",f="detailAdaptive",_="dx-field-item-content",g="dx-item-modified",m="dx-command-adaptive",v="dx-adaptive-detail-row",x="dx-adaptive-item-text",w="row",y="form",b="dx-datagrid-adaptive-more";t.AdaptiveColumnsController=c.ViewController.inherit({_isRowEditMode:function(){var e=this._editingController.getEditMode();return e===w},_isFormEditMode:function(){var e=this._editingController.getEditMode();return e===y},_isItemModified:function(e,t){var n=this._columnsController.getVisibleIndex(e.column.index),i=this._dataController.getRowIndexByKey(t.key),o=this._dataController.items()[i+1];return o&&o.modifiedValues&&s.isDefined(o.modifiedValues[n])},_getFormViewTemplate:function(e,t){var n=this,i=e.column,a=i.calculateCellValue(t.data),r=c.formatValue(a,i),l=i.cellTemplate?function(e,s){var l=o.extend({},t,{value:a,text:r});n._rowsView.renderTemplate(s,i.cellTemplate,l)}:null;return l||function(o,a){var l=a.get(0);i.encodeHtml?l.textContent=r:l.innerHTML=r,a.addClass(x),s.isDefined(r)&&""!==r||a.html("&nbsp;"),n._isRowEditMode()||n._isItemModified(e,t)&&a.addClass(g)}},_getTemplate:function(e,t){var n=e.column,i=this.getController("editing");return this._isItemEdited(e)||n.showEditorAlways?i.getFormEditorTemplate(t,n,e):this._getFormViewTemplate(e,t)},_isVisibleColumnsValid:function(e){var t=function(){var t,n,i=0;for(t=0;t<e.length;t++)n=e[t],n.command&&i++;return i};return 2>e?!1:!(e.length-t()<=1)},_calculatePercentWidths:function(e,t){var n=this,i=0;return t.forEach(function(t,o){e[o]!==p&&(i+=n._getItemPercentWidth(t))}),i},_isPercentWidth:function(e){return s.isString(e)&&"%"===e.slice(-1)},_getNotTruncatedColumnWidth:function(e,t,n,o){var a,r=i(e),s=this._columnsController.columnOption(r,"width"),l=this._columnsController.columnOption(r,"bestFitWidth");if(s&&"auto"!==s){if(!this._isPercentWidth(s))return s;var c=e.visibleIndex<n-1&&o,d=t*parseFloat(s)/100,u=o&&l>d?l:d;a=c?this.component.element().width()*parseFloat(s)/100:u}else{var h=this.option("columnAutoWidth");a=h||e.command?l:t/n}var p=l>a;return p?null:a},_getItemPercentWidth:function(e){var t=0;return e.width&&this._isPercentWidth(e.width)&&(t=parseFloat(e.width)),t},_getCommandColumnsWidth:function(){var e=this,t=e._columnsController.getVisibleColumns(),n=0;return o.each(t,function(t,o){(o.index<0||o.command)&&(n+=e._columnsController.columnOption(i(o),"bestFitWidth")||0)}),n},_isItemEdited:function(e){if(this._isFormEditMode())return!1;if(!this._isRowEditMode()){var t=this._dataController.getRowIndexByKey(this._dataController.adaptiveExpandedKey())+1,n=this._columnsController.getVisibleIndex(e.column.visibleIndex);return this._editingController.isEditCell(t,n)}var i=this._editingController.getEditRowKey();return u.equalKeys(i,this._dataController.adaptiveExpandedKey())?!0:void 0},_renderAdaptiveDetailRowPreparingAction:function(e){var t=e||"onAdaptiveDetailRowPreparing";this.createAction(t)},_getFormItemsByHiddenColumns:function(e){var t=[];return o.each(e,function(e,n){t.push({column:n,name:n.name,dataField:n.dataField})}),t},hideRedundantColumns:function(e,t,n){var o,a=this;if(this._hiddenColumns=[],a._isVisibleColumnsValid(t)&&n.length){var r,s,l,c,d=0,u=a.component.element(),h=u.width()-a._getCommandColumnsWidth(),f=t.filter(function(e){return!e.command}),_=f.length;do{for(c=!1,d=0,r=a._calculatePercentWidths(e,t),s=100>r&&0!==r,l=0;l<t.length;l++){o=t[l];var g=a._getNotTruncatedColumnWidth(o,h,_,s),m=i(o),v=a._columnsController.columnOption(m,"width"),x=a._columnsController.columnOption(m,"bestFitWidth");if(e[l]!==p){if(!g&&!o.command&&!o.fixed){c=!0;break}d+=v&&"auto"!==v?g:x||0}}if(c=c||d>u.width()){var w=n.pop(),y=a._columnsController.getVisibleIndex(w.index);e[y]=p,_--,this._hiddenColumns.push(w)}}while(c&&_>1&&n.length);_===f.length&&(e[e.length-1]=p)}else o=t[t.length-1],o&&"adaptive"===o.command&&(e[e.length-1]=p)},getItemContentByColumnIndex:function(e){var t,n,i;for(n=0;n<this._$itemContents.length;n++)if(t=this._$itemContents.eq(n),i=t.data("dx-form-item"),i&&i.column&&this._columnsController.getVisibleIndex(i.column.index)===e)return t},toggleExpandAdaptiveDetailRow:function(e){this._isFormEditMode()&&this._editingController.isEditing()||this.getController("data").toggleExpandAdaptiveDetailRow(e)},createFormByHiddenColumns:function(e,t){var n=this,i={items:n._getFormItemsByHiddenColumns(n._hiddenColumns),formID:new l};this.executeAction("onAdaptiveDetailRowPreparing",{formOptions:i}),n._$itemContents=null,n._form=n._createComponent(o("<div>").appendTo(e),d,o.extend({},i,{customizeItem:function(e){var a=e.column||n._columnsController.columnOption(e.name||e.dataField);a&&(e.label=e.label||{},e.label.text=e.label.text||a.caption,e.template=n._getTemplate(e,t,o.proxy(n.updateForm,n)),e.column=a),i.customizeItem&&i.customizeItem.call(this,e)},onContentReady:function(t){i.onContentReady&&i.onContentReady.call(this,t),n._$itemContents=e.find("."+_)}}))},hasAdaptiveDetailRowExpanded:function(){return s.isDefined(this._dataController.adaptiveExpandedKey())},updateForm:function(e){this.hasAdaptiveDetailRowExpanded()&&this._form&&s.isDefined(this._form._contentReadyAction)&&(e&&e.length?this._form.option("items",this._getFormItemsByHiddenColumns(e)):this._form.repaint())},updateHidingQueue:function(e){var t,n,o=this,a=e.filter(function(e){return e.visible&&!e.fixed&&!(s.isDefined(e.groupIndex)&&e.groupIndex>=0)});for(o._hidingColumnsQueue=[],n=0;n<a.length;n++)s.isDefined(a[n].hidingPriority)&&a[n].hidingPriority>=0&&(t=!0,o._hidingColumnsQueue[a[n].hidingPriority]=a[n]);if(t)o._hidingColumnsQueue.reverse();else if(o.option("columnHidingEnabled"))for(n=0;n<a.length;n++){var r=o._columnsController.columnOption(i(a[n]),"visibleIndex");o._hidingColumnsQueue[r]=a[n]}return o._hidingColumnsQueue=o._hidingColumnsQueue.filter(Object),o._hidingColumnsQueue},getHiddenColumns:function(){return this._hiddenColumns},hasHiddenColumns:function(){return this._hiddenColumns.length>0},getHidingColumnsQueue:function(){return this._hidingColumnsQueue},init:function(){var e=this;e._columnsController=e.getController("columns"),e._dataController=e.getController("data"),e._rowsView=e.getView("rowsView"),e._columnsController.addCommandColumn({command:"adaptive",visible:!1,cssClass:m,width:"auto"}),e._columnsController.columnsChanged.add(function(){var t=!!e.updateHidingQueue(e._columnsController.getColumns()).length;e._columnsController.columnOption("command:adaptive","visible",t,!0)}),e._editingController=e.getController("editing"),e._hidingColumnsQueue=[],e._hiddenColumns=[],e._renderAdaptiveDetailRowPreparingAction(),e.callBase()},optionChanged:function(e){"onAdaptiveDetailRowPreparing"===e.name&&this._renderAdaptiveDetailRowPreparingAction(e.value),"columnHidingEnabled"===e.name&&this._columnsController.columnOption("command:adaptive","visible",e.value),this.callBase(e)},publicMethods:function(){return["isAdaptiveDetailRowExpanded","expandAdaptiveDetailRow","collapseAdaptiveDetailRow"]},isAdaptiveDetailRowExpanded:function(e){return this._dataController.adaptiveExpandedKey()&&u.equalKeys(this._dataController.adaptiveExpandedKey(),e)},expandAdaptiveDetailRow:function(e){this.hasAdaptiveDetailRowExpanded()||this.toggleExpandAdaptiveDetailRow(e)},collapseAdaptiveDetailRow:function(){this.hasAdaptiveDetailRowExpanded()&&this.toggleExpandAdaptiveDetailRow()}}),c.registerModule("adaptivity",{defaultOptions:function(){return{columnHidingEnabled:!1,onAdaptiveDetailRowPreparing:null}},controllers:{adaptiveColumns:t.AdaptiveColumnsController},extenders:{views:{rowsView:{_getCellTemplate:function(e){var t=this,n=e.column;return"adaptive"===n.command&&"groupFooter"!==e.rowType?function(n){o("<span/>").addClass(b).on(a.addNamespace(r.name,h),t.createAction(function(){t._adaptiveColumnsController.toggleExpandAdaptiveDetailRow(e.key)})).appendTo(n)}:e.rowType===f&&"detail"===n.command?function(e,n){t._adaptiveColumnsController.createFormByHiddenColumns(e,n)}:t.callBase(e)},_createRow:function(e){var t=this.callBase(e);return e&&e.rowType===f&&e.key===this._dataController.adaptiveExpandedKey()&&t.addClass(v),t},_getColumnIndexByElement:function(e){var t=e.closest("."+_);if(t.length){var n=t.length?t.first().data("dx-form-item"):null;return n&&n.column&&this._columnsController.getVisibleIndex(n.column.index)}return this.callBase(e)},getCellElement:function(e,t){var n=this._dataController.items()[e];return n&&n.rowType===f?this._adaptiveColumnsController.getItemContentByColumnIndex(t):this.callBase(e,t)},isClickableElement:function(e){var t=this.callBase?this.callBase(e):!1;return t||!!e.closest("."+m).length},init:function(){this.callBase(),this._adaptiveColumnsController=this.getController("adaptiveColumns")}}},controllers:{"export":{_updateColumnWidth:function(e,t){this.callBase(e,e.visibleWidth===p?e.bestFitWidth:t)}},columnsResizer:{_pointCreated:function(e,t,n){var i=this.callBase(e,t,n),o=n[e.columnIndex]||{},a=this._getNextColumnIndex(e.columnIndex),r=n[a]||{},s=a!==e.columnIndex+1&&r.command,l=o.visibleWidth===p||s;return i||l},_getNextColumnIndex:function(e){for(var t=this._columnsController.getVisibleColumns(),n=this.callBase(e);t[n]&&t[n].visibleWidth===p;)n++;return n}},draggingHeader:{_pointCreated:function(e,t,n,i){var o=this.callBase(e,t,n,i),a=t[e.columnIndex]||{},r=a.visibleWidth===p;return o||r}},editing:{_getFormEditItemTemplate:function(e,t){return this.getEditMode()!==w&&"detailAdaptive"===e.rowType?(e.columnIndex=this._columnsController.getVisibleIndex(t.visibleIndex),this.getColumnTemplate(e)):this.callBase(e,t)},_closeEditItem:function(e){var t=e.closest("."+_),n=this._dataController.getRowIndexByKey(this._dataController.adaptiveExpandedKey())+1,i=t.length?t.first().data("dx-form-item"):null,o=i&&i.column&&this._columnsController.getVisibleIndex(i.column.index);this.isEditCell(n,o)||this.callBase(e)},_beforeUpdateItems:function(e,t){if(this.getEditMode()!==y&&this._adaptiveController.hasHiddenColumns()){var n=this._dataController.items(),i=n[t],o=u.getIndexByKey(this._dataController.adaptiveExpandedKey(),n);this._isForceRowAdaptiveExpand=!this._adaptiveController.hasAdaptiveDetailRowExpanded(),o>=0&&t>o&&this._editRowIndex--,o>=0&&e.push(o+1),e.push(t+1),this._dataController.adaptiveExpandedKey(i.key)}},_afterInsertRow:function(e){this.callBase(e),this._adaptiveController.hasHiddenColumns()&&(this._adaptiveController.expandAdaptiveDetailRow(e.key),this._isForceRowAdaptiveExpand=!0)},_collapseAdaptiveDetailRow:function(){this.getEditMode()===w&&this._isForceRowAdaptiveExpand&&(this._adaptiveController.collapseAdaptiveDetailRow(),this._isForceRowAdaptiveExpand=!1)},_cancelEditAdaptiveDetailRow:function(){this._adaptiveController.hasHiddenColumns()&&this._collapseAdaptiveDetailRow()},_afterSaveEditData:function(){this.callBase(),this._cancelEditAdaptiveDetailRow()},_beforeCancelEditData:function(){this.callBase(),this._cancelEditAdaptiveDetailRow()},editRow:function(e){this.getEditMode()===y&&this._adaptiveController.collapseAdaptiveDetailRow(),this.callBase(e)},init:function(){this.callBase(),this._adaptiveController=this.getController("adaptiveColumns")}},resizing:{_isNeedToCalcBestFitWidths:function(e){return this.callBase(e)||this._adaptiveColumnsController.getHidingColumnsQueue().length},_correctColumnWidths:function(e,t){var n,i=this._adaptiveColumnsController,o=i.getHiddenColumns(),a=i.updateHidingQueue(this._columnsController.getColumns());
return i.hideRedundantColumns(e,t,a),n=i.getHiddenColumns(),i.hasAdaptiveDetailRowExpanded()&&o.length!==n.length&&i.updateForm(n),!n.length&&i.collapseAdaptiveDetailRow(),this.callBase(e,t)},init:function(){this._adaptiveColumnsController=this.getController("adaptiveColumns"),this.callBase()}},data:{_processItems:function(e,t){var n,i,o=this;return e=o.callBase.apply(o,arguments),"loadingAll"!==t&&s.isDefined(o._adaptiveExpandedKey)?(i=u.getIndexByKey(o._adaptiveExpandedKey,e),i>=0?(n=e[i],e.splice(i+1,0,{visible:!0,rowType:f,key:n.key,data:n.data,modifiedValues:n.modifiedValues,inserted:n.inserted,values:[]})):o._adaptiveExpandedKey=void 0,e):e},adaptiveExpandedKey:function(e){return s.isDefined(e)?void(this._adaptiveExpandedKey=e):this._adaptiveExpandedKey},toggleExpandAdaptiveDetailRow:function(e){var t=this,n=u.getIndexByKey(t._adaptiveExpandedKey,t._items),i=u.getIndexByKey(e,t._items);n>=0&&n===i&&(e=void 0,i=-1),t._adaptiveExpandedKey=e,n>=0&&n++,i>=0&&i++,t.updateItems({changeType:"update",rowIndices:[n,i]})},init:function(){this.callBase(),this._adaptiveExpandedKey=void 0}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(2),s=n(36).logger,l=n(21),c=n(18),d=n(20),u=d.callModuleItemsMethod,h=".dx-row",p="Specifying grid templates with the name of a jQuery selector is now deprecated. Instead, use the jQuery object that references this selector.";n(431),n(432),n(435),n(452),n(449),n(434),n(436),n(440),n(444),d.registerModulesOrder(["stateStoring","columns","selection","editorFactory","columnChooser","grouping","masterDetail","editing","validating","adaptivity","data","virtualScrolling","columnHeaders","filterRow","headerPanel","headerFilter","sorting","search","rows","pager","columnsResizingReordering","contextMenu","keyboardNavigation","errorHandling","summary","fixedColumns","export","gridView"]);var f=c.inherit({_activeStateUnit:h,_getDefaultOptions:function(){var e=this,t=e.callBase();return o.each(d.modules,function(){o.isFunction(this.defaultOptions)&&o.extend(!0,t,this.defaultOptions())}),t},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{"editing.editMode":{since:"15.2",alias:"editing.mode"},"editing.editEnabled":{since:"15.2",alias:"editing.allowUpdating"},"editing.insertEnabled":{since:"15.2",alias:"editing.allowAdding"},"editing.removeEnabled":{since:"15.2",alias:"editing.allowDeleting"},"grouping.groupContinuedMessage":{since:"16.1",alias:"grouping.texts.groupContinuedMessage"},"grouping.groupContinuesMessage":{since:"16.1",alias:"grouping.texts.groupContinuesMessage"},"export.texts.excelFormat":{since:"16.1",alias:"export.texts.exportAll"},"export.texts.exportToExcel":{since:"16.1",alias:"export.texts.exportAll"},"export.texts.selectedRows":{since:"16.1",alias:"export.texts.exportSelectedRows"}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{showRowLines:!0}},{device:function(){return l.webkit},options:{loadingTimeout:30,loadPanel:{animation:{show:{easing:"cubic-bezier(1, 0, 1, 0)",duration:500,from:{opacity:0},to:{opacity:1}}}}}},{device:function(e){return"desktop"!==e.deviceType},options:{grouping:{expandMode:"rowClick"}}}])},_init:function(){var e=this;e.callBase(),d.processModules(e,d),u(e,"init")},_clean:o.noop,_optionChanged:function(e){var t=this;u(t,"optionChanged",[e]),e.handled||t.callBase(e)},_dimensionChanged:function(){this.updateDimensions(!0)},_visibilityChanged:function(e){e&&this.updateDimensions()},_renderContentImpl:function(){this.getView("gridView").render(this.element())},_renderContent:function(){var e=this;r.deferRender(function(){e._renderContentImpl()})},_getTemplate:function(e){var t=e;return r.isString(t)&&"#"===t[0]&&(t=o(e),s.warn(p)),this.callBase(t)},_dispose:function(){var e=this;e.callBase(),u(e,"dispose")},isReady:function(){return this.getController("data").isReady()},beginUpdate:function(){var e=this;e.callBase(),u(e,"beginUpdate")},endUpdate:function(){var e=this;u(e,"endUpdate"),e.callBase()},getController:function(e){return this._controllers[e]},getView:function(e){return this._views[e]},focus:function(e){this.callBase(),r.isDefined(e)&&this.getController("keyboardNavigation").focus(e)}});a("dxDataGrid",f),i.exports=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(159),s=n(2),l=n(8),c=n(23),d=n(25),u=n(165),h=n(6),p=n(54),f="dx-datagrid-column-chooser",_="dx-datagrid-column-chooser-button",g="column-chooser",m="dx-column-chooser-item",v="dx-datagrid-notouch-action",x="dx-datagrid-column-chooser-list",w="dx-datagrid-column-chooser-mode-drag",y="dx-datagrid-column-chooser-mode-select",b=300,C=function(e,t){var n,i,a=[],r="select"===e.option("columnChooser.mode");return t.length&&o.each(t,function(t,o){n={text:o.caption,cssClass:o.cssClass,allowHiding:o.allowHiding,expanded:!0,id:o.index,parentId:s.isDefined(o.ownerBand)?o.ownerBand:null},r&&(i=o.visible,s.isDefined(o.ownerBand)&&(i=i&&e._columnsController.isParentColumnVisible(o.index)),n.selected=i),a.push(n)}),a};t.ColumnChooserController=a.ViewController.inherit({renderShowColumnChooserButton:function(e){var t,n=this,i=n.option("columnChooser.enabled"),a=e.find("."+_);i?a.length?a.show():(t=o("<div />").addClass(_).appendTo(e),n._createComponent(t,d,{icon:g,onClick:function(){n.getView("columnChooserView").showColumnChooser()},hint:n.option("columnChooser.title"),_templates:{}})):a.hide()},getPosition:function(){var e=this.getView("rowsView");return{my:"right bottom",at:"right bottom",of:e&&e.element(),collision:"fit",offset:"-2 -2",boundaryOffset:"2 2"}}}),t.ColumnChooserView=r.ColumnsView.inherit({_resizeCore:o.noop,_isWinDevice:function(){return!!h.real().win},_updateList:function(e){var t,n=this._popupContainer.content(),i="select"===this.option("columnChooser.mode"),o=this._columnsController.getChooserColumns(i);i&&this._columnChooserList&&!e||(this._popupContainer._wrapper().toggleClass(w,!i).toggleClass(y,i),t=C(this,o),this._renderColumnChooserList(n,t))},_initializePopupContainer:function(){var e=this,t=e.element().addClass(f),n=e.option("columnChooser"),i=c.current(),a=i&&i.indexOf("generic")>-1,r=i&&i.indexOf("android5")>-1,l={visible:!1,shading:!1,showCloseButton:!1,dragEnabled:!0,resizeEnabled:!0,toolbarItems:[{text:n.title,toolbar:"top",location:a||r?"before":"center"}],position:e.getController("columnChooser").getPosition(),width:n.width,height:n.height,rtlEnabled:e.option("rtlEnabled"),onHidden:function(){e._isWinDevice()&&o(document.body).removeClass(v)},container:n.container};a?o.extend(l,{showCloseButton:!0}):l.toolbarItems[l.toolbarItems.length]={shortcut:"cancel"},s.isDefined(this._popupContainer)?this._popupContainer.option(l):(e._popupContainer=e._createComponent(t,p,l),e._popupContainer.on("optionChanged",function(t){"visible"===t.name&&e.renderCompleted.fire()}))},_renderCore:function(e){this._popupContainer&&this._updateList(e)},_renderColumnChooserList:function(e,t){var n="select"===this.option("columnChooser.mode"),i={items:t,dataStructure:"plain",activeStateEnabled:!0,focusStateEnabled:!0,hoverStateEnabled:!0,rootValue:null};this._isWinDevice()&&(i.useNativeScrolling=!1),o.extend(i,n?this._prepareSelectModeConfig():this._prepareDragModeConfig()),this._columnChooserList?this._columnChooserList.option(i):(this._columnChooserList=this._createComponent(e,u,i),e.addClass(x))},_prepareDragModeConfig:function(){var e=this.option("columnChooser");return{noDataText:e.emptyPanelText,activeStateEnabled:!1,focusStateEnabled:!1,hoverStateEnabled:!1,itemTemplate:function(e,t,n){n.text(e.text).parent().addClass(e.cssClass).addClass(m)}}},_prepareSelectModeConfig:function(){var e=this,t=function(t){var n=e._columnsController.getVisibleColumns().filter(function(e){return!e.command}),i=1===n.length&&!t.itemData.selected;i?t.component.selectItem(t.itemElement):setTimeout(function(){e._columnsController.columnOption(t.itemData.id,"visible",t.itemData.selected)},b)};return{showCheckBoxesMode:"normal",activeStateEnabled:!0,focusStateEnabled:!0,itemTemplate:"item",onItemSelectionChanged:t}},_columnOptionChanged:function(e){var t=e.optionNames,n="select"===this.option("columnChooser.mode");this.callBase(e),n&&t.showInColumnChooser&&this.render(null,!0)},getColumnElements:function(){var e=this._popupContainer&&this._popupContainer.content();return e&&e.find("."+m)},getName:function(){return"columnChooser"},getColumns:function(){return this._columnsController.getChooserColumns()},allowDragging:function(e,t){var n=e&&e.allowHiding&&("columnChooser"!==t||!e.visible&&this._columnsController.isParentColumnVisible(e.index));return this.isColumnChooserVisible()&&n},getBoundingRect:function(){var e,t=this,n=t._popupContainer&&t._popupContainer._container();return n&&n.is(":visible")?(e=n.offset(),{left:e.left,top:e.top,right:e.left+n.outerWidth(),bottom:e.top+n.outerHeight()}):null},showColumnChooser:function(){this._popupContainer||(this._initializePopupContainer(),this.render()),this._popupContainer.show(),this._isWinDevice()&&o(document.body).addClass(v)},hideColumnChooser:function(){this._popupContainer&&this._popupContainer.hide()},isColumnChooserVisible:function(){var e=this._popupContainer;return e&&e.option("visible")},publicMethods:function(){return["showColumnChooser","hideColumnChooser"]}}),a.registerModule("columnChooser",{defaultOptions:function(){return{columnChooser:{enabled:!1,mode:"dragAndDrop",width:250,height:260,title:l.format("dxDataGrid-columnChooserTitle"),emptyPanelText:l.format("dxDataGrid-columnChooserEmptyText"),container:void 0}}},controllers:{columnChooser:t.ColumnChooserController},views:{columnChooserView:t.ColumnChooserView},extenders:{views:{headerPanel:{_getToolbarItems:function(){var e=this.callBase();return this._appendColumnChooserItem(e)},_appendColumnChooserItem:function(e){var t=this,n=t.option("columnChooser.enabled");if(n){var i=function(){t.component.getView("columnChooserView").showColumnChooser()},o=function(e){e.element.addClass(t._getToolbarButtonClass(_))},a=t.option("columnChooser.title"),r={widget:"dxButton",options:{icon:g,onClick:i,hint:a,text:a,onInitialized:o},showText:"inMenu",location:"after",name:"columnChooser",locateInMenu:"auto"};e.push(r)}return e},optionChanged:function(e){if("columnChooser.mode"===e.fullName){var t=this.component.getView("columnChooserView");t._renderCore(!0)}switch(e.name){case"columnChooser":this._invalidateToolbarItems(),e.handled=!0;break;default:this.callBase(e)}},isVisible:function(){var e=this,t=e.option("columnChooser.enabled");return e.callBase()||t}}},controllers:{columns:{allowMoveColumn:function(e,t,n,i){var o=this.option("columnChooser.mode"),a="select"===o&&"columnChooser"===i;return a?!1:this.callBase(e,t,n,i)}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(159),s=n(2),l=n(8),c="dx-datagrid-text-content",d="dx-datagrid-headers",u="dx-header-row",h="dx-datagrid-nowrap",p="dx-column-lines",f="context-menu-sort-asc",_="context-menu-sort-desc",g="context-menu-sort-none",m="dx-cell-focus-disabled",v="dx-column-indicators",x=function(e,t){return o("<div />").addClass(c).appendTo(e)};t.ColumnHeadersView=r.ColumnsView.inherit({_getDefaultTemplate:function(e){var t,n=this,i=n.option("showColumnLines");return t=e.command?function(e,t){var n=t.column;e.html("&nbsp;"),e.addClass(n.cssClass)}:function(t,n){var o=x(t,i);o.text(e.caption)}},_getHeaderTemplate:function(e){return!e.command&&e.headerCellTemplate||{allowRenderToDetachedContainer:!0,render:this._getDefaultTemplate(e)}},_processTemplate:function(e,t){var n,i=this,o=t.column,a=this.callBase(e);return n=a&&o.headerCellTemplate?{render:function(e,t){var n=x(t,i.option("showColumnLines"));a.render(e,n)}}:a},_handleDataChanged:function(e){(this._isGroupingChanged||this._requireReady)&&(this._isGroupingChanged=!1,this.render())},_renderCell:function(e,t){var n=this.callBase(e,t);return"header"===t.row.rowType&&(n.addClass(m),s.isDefined(t.column.command)||(this.setAria("role","columnheader",n),this.setAria("label",t.column.caption+" "+l.format("dxDataGrid-ariaColumn"),n))),n},_createRow:function(e){var t=this.callBase(e).toggleClass(p,this.option("showColumnLines"));return"header"===e.rowType&&t.addClass(u),t},_renderCore:function(){var e=this,t=e.element();e._tableElement&&!e._dataController.isLoaded()||(t.addClass(d).toggleClass(h,!e.option("wordWrapEnabled")).empty(),e._updateContent(e._renderTable()),e.callBase.apply(e,arguments))},_renderRows:function(){var e=this;e._dataController.isLoaded()&&e.callBase.apply(e,arguments)},_getRowVisibleColumns:function(e){return this._columnsController.getVisibleColumns(e)},_renderRow:function(e,t){t.columns=this._getRowVisibleColumns(t.row.rowIndex),this.callBase(e,t)},_createCell:function(e){var t=e.column,n=this.callBase.apply(this,arguments);return t.rowspan>1&&n.attr("rowspan",t.rowspan),n},_getRows:function(){var e,t=[],n=this.getRowCount();if(this.option("showColumnHeaders"))for(e=0;n>e;e++)t.push({rowType:"header",rowIndex:e});return t},_getCellTemplate:function(e){return"header"===e.rowType?this._getHeaderTemplate(e.column):void 0},_columnOptionChanged:function(e){var t=e.changeTypes,n=e.optionNames,i=this.option("showColumnLines");return t.grouping?void(this._isGroupingChanged=!0):(this.callBase(e),void((n.width||n.visibleWidth)&&(!i&&this._updateColumnTextWidths(),this.resizeCompleted.fire())))},_updateColumnTextWidths:function(){var e,t,n=this,i=[],a=n.getColumns(),r=n.getColumnElements();r&&(o.each(a,function(a,s){e=0,t=n._getIndicatorContainer(o(r[a])),t.length&&(e=t.outerWidth()),i[a]=o(r[a]).width()-("center"===s.alignment?2*e:e)}),o.each(r,function(e,t){i.length&&i[e]>0&&o(t).find("."+c).css("max-width",i[e])}))},_isElementVisible:function(e){return e&&e.visible},getHeadersRowHeight:function(){var e=this._getTableElement(),t=e&&e.find("."+u);return t&&t.length?t.first().height()*t.length:0},getHeaderElement:function(e){var t=this.getColumnElements();return t&&t.eq(e)},getColumnElements:function(e,t){var n,i,a,r,l=this,c=l._columnsController,d=l.getRowCount();if(l.option("showColumnHeaders")){if(d>1&&(!s.isDefined(e)||s.isDefined(t)))return i=o(),r=s.isDefined(t)?c.getChildrenByBandColumn(t,e):c.getVisibleColumns(),o.each(r,function(t,o){n=s.isDefined(e)?e:c.getRowIndex(o.index),a=l.getCellElement(n,c.getVisibleIndex(o.index,n)),a&&i.push(a.get(0))}),i;if(!e||d>e)return l.getCellElements(e||0)}},getColumnWidths:function(){var e,t,n=this,i=[],a=n.getColumns(),r=n.getColumnElements();return r&&r.length?(i=n._getWidths(r),n.option("showColumnLines")&&o.each(r,function(n,r){t=o(r).find("."+v),t.length&&o.each(t.children(),function(r,s){return"none"!==o(s).css("display")?(e=t.outerWidth(!0),i[n]+="center"===a[n].alignment?2*e:e,!1):void 0})}),i):this.callBase.apply(n,arguments)},allowDragging:function(e,t,n){var i,o,a=e&&this._columnsController.getRowIndex(e.index),r=this.getColumns(0===a?0:null),s=0,l=function(e){return e.allowReordering||e.allowGrouping||e.allowHiding};for(i=0;i<r.length;i++)l(r[i])&&s++;if(1>=s)return!1;if(!n)return(this.option("allowColumnReordering")||this._columnsController.isColumnOptionUsed("allowReordering"))&&e&&e.allowReordering;for(i=0;i<n.length;i++)if(o=n[i],o&&o.allowDragging(e,t))return!0;return!1},getBoundingRect:function(){var e,t=this,n=t.getColumnElements();return n&&n.length?(e=t._getTableElement().offset(),{top:e.top}):null},getName:function(){return"headers"},getColumnCount:function(){var e=this.getColumnElements();return e?e.length:0},isVisible:function(){return this.option("showColumnHeaders")},optionChanged:function(e){var t=this;switch(e.name){case"showColumnHeaders":case"wordWrapEnabled":case"showColumnLines":t._invalidate(!0,!0),e.handled=!0;break;default:t.callBase(e)}},getHeight:function(){var e=this.element();return e?e.outerHeight(!0):0},getContextMenuItems:function(e){var t,n,i=this,o=e.column;return e.row&&"header"===e.row.rowType&&(n=i.option("sorting"),n&&"none"!==n.mode&&o&&o.allowSorting)?(t=function(e){setTimeout(function(){i._columnsController.changeSortOrder(o.index,e.itemData.value)})},[{text:n.ascendingText,value:"asc",disabled:"asc"===o.sortOrder,icon:f,onItemClick:t},{text:n.descendingText,value:"desc",disabled:"desc"===o.sortOrder,icon:_,onItemClick:t},{text:n.clearText,value:"none",disabled:!o.sortOrder,icon:g,onItemClick:t}]):void 0},getRowCount:function(){return this._columnsController&&this._columnsController.getRowCount()},setRowsOpacity:function(e,t,n){var i,a,r=this,l=r.getRowCount(),c=r._columnsController.getColumns(),d=c&&c[e],u=d&&d.isBand&&d.index,h=function(e,n){n.ownerBand===u&&(a.eq(e).css({opacity:t}),n.isBand&&r.setRowsOpacity(n.index,t,i+1))};if(s.isDefined(u))for(n=n||0,i=n;l>i;i++)a=r.getCellElements(i),o.each(r.getColumns(i),h)}}),a.registerModule("columnHeaders",{defaultOptions:function(){return{showColumnHeaders:!0,cellHintEnabled:!0}},views:{columnHeadersView:t.ColumnHeadersView}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(72).isWrapped,r=n(16),s=n(2),l=s.isDefined,c=n(30),d=n(19),u=n(20),h=u.normalizeSortingInfo,p=u.equalSortParameters,f=n(41).normalizeIndexes,_=n(29),g=n(12),m=n(37),v=n(14),x=n(8),w=n(38),y=w.normalizeDataSourceOptions,b=["filterValues","filterType","fixed","fixedPosition"],C=["visibleIndex","dataField","name","dataType","width","visible","sortOrder","sortIndex","groupIndex","filterValue","selectedFilterOperation","added"].concat(b),k="dx-command-expand",S=u.Controller.inherit(function(){var e={visible:!0,showInColumnChooser:!0},t={number:["=","<>","<",">","<=",">=","between"],string:["contains","notcontains","startswith","endswith","=","<>"],date:["=","<>","<",">","<=",">=","between"]},n={visibleIndex:!0,groupIndex:!0,grouped:!0,sortIndex:!0,sortOrder:!0},i="group",x="columnChooser",S=function(t,n,i,a){var r,l={};return n?(s.isString(n)&&(n={dataField:n}),n.command?o.extend(!0,{},n):(l=t.getCommonSettings(),i&&i.name&&i.dataField&&(n=o.extend({},n,{dataField:i.dataField})),r=t._createCalculatedColumnOptions(n,a),o.extend(!0,{},e,l,r,n,{selector:null}))):void 0},T=function(e,t,n){var i=[];return t&&o.each(t,function(t,o){var a=e._columnsUserState&&G(o,e._columnsUserState[t])&&e._columnsUserState[t],r=S(e,o,a,n);r&&(n&&(r.ownerBand=n),i.push(r)),r.isBand&&(i=i.concat(T(e,r.columns,r)),delete r.columns)}),i},I=function(e,t){var n=[],i=t[e].ownerBand;return l(i)&&o.each(t,function(e,o){if(o.index===i){if(n.unshift(o),!l(o.ownerBand))return!1;n=I(e,t).concat(n)}}),n},D=function(e,t,n){var i=0;return n=n||e.getChildrenByBandColumn(t),o.each(n,function(o,a){a.visible&&a.ownerBand===t&&(i+=a.isBand?D(e,a.index,n):1)}),i},E=function(e,t){var n,i,o,a,r=e.getRowCount();for(n=0;n<t.length;n++)i=t[n],(i.visible||i.command)&&(i.isBand?(a=D(e,i.index),i.colspan=a):(o=r-(i.command||l(i.groupIndex)?0:I(n,t).length),o>1&&(i.rowspan=o)))},A=function(e){var t=o.type(e);return"string"!==t&&"boolean"!==t&&"number"!==t&&"date"!==t&&"object"!==t&&(t=void 0),t},B=function(e,t){switch(e){case"date":return g.getDateSerializationFormat(t);case"number":if(s.isString(t))return"string"}},M=function(e,t){e.deserializeValue||("date"===t&&(e.deserializeValue=function(e){return g.deserializeDate(e,this.serializationFormat,o.proxy(v.parse,v))},e.serializeValue=function(e){return g.serializeDate(e,this.serializationFormat,o.proxy(v.format,v))}),"number"===t&&(e.deserializeValue=function(e){return l(e)?Number(e):e},e.serializeValue=function(e){return l(e)&&"string"===this.serializationFormat?e.toString():e}))},O=function(e,t){switch(e){case"number":return"right";case"boolean":return"center";default:return s.getDefaultAlignment(t)}},P=function(e){return"boolean"===e?function(e){return e.value===!0?this.trueText||"true":e.value===!1?this.falseText||"false":e.valueText||""}:void 0},R=function(e,t){var n,i,o=V(t),a={},r=[];for(i=0;i<o.length;i++)if(o[i])for(n in o[i])a[n]=!0;for(n in a)if(0!==n.indexOf("__")){var s=S(e,n);r.push(s)}return r},V=function(e){var t,n=[],i=function(e,t){var n,o;if(!e||!t)return e;for(n=0;n<e.length;n++)if(o=i(e[n].items||e[n].collapsedItems,t-1),o&&o.length)return o};return e&&e.items().length>0&&(t=h(e.group()).length,n=i(e.items(),t)||[]),n},F=function(e){o.each(e._columns,function(e,t){t.index=e}),o.each(e._columns,function(e,t){s.isObject(t.ownerBand)&&(t.ownerBand=t.ownerBand.index)}),o.each(e._commandColumns,function(e,t){t.index=-(e+1)})},L=function(e,t){f(e._columns,"groupIndex",t,function(e){var t=e.grouped;return delete e.grouped,t})},H=function(e,t){o.each(e._columns,function(e,t){l(t.sortIndex)&&!X(t.sortOrder)&&delete t.sortIndex}),f(e._columns,"sortIndex",t,function(e){return!l(e.groupIndex)&&X(e.sortOrder)})},z=function(e,t){var n,i,o,a,r,s={},l=[];for(n=0;n<e._columns.length;n++)o=e._columns[n],r=I(n,e._columns),r.length?(a=r[r.length-1].index,s[a]=s[a]||[],s[a].push(o)):l.push(o);for(i in s)f(s[i],"visibleIndex",t);f(l,"visibleIndex",t)},N=function(e,t,n){var o,a=s.isObject(t)?t.rowIndex:null,r=n===i?e.getGroupColumns():n===x?e.getChooserColumns():e.getVisibleColumns(a);return t=s.isObject(t)?t.columnIndex:t,o=r[t],o&&l(o.index)?o.index:-1},W=function(e,t,n){var i,o=e.getGroupColumns();if(n>=0)for(i=0;i<o.length;i++)o[i].groupIndex>=n&&o[i].groupIndex++;else for(n=0,i=0;i<o.length;i++)n=Math.max(n,o[i].groupIndex+1);t.groupIndex=n},G=function(e,t){return e&&t&&t.name===e.name&&(t.dataField===e.dataField||e.name)},$=function(e){function t(e,t){var n;if(t)for(var i=0;i<C.length;i++)n=C[i],o.inArray(n,d)>=0||("dataType"===n?e[n]=e[n]||t[n]:o.inArray(n,b)>=0?n in t&&(e[n]=t[n]):e[n]=t[n])}function n(e,t){for(var n=t.name||t.dataField,i=h[n]||0,o=0;o<e.length;o++)if(G(t,e[o])){if(!i)return h[n]=h[n]||0,h[n]++,o;i--}return-1}var i,a,r,s,c=e._columnsUserState,d=e._ignoreColumnOptionNames||[],u=e._columns,h={},p=[];if(c){for(s=0;s<u.length;s++)i=u[s],r=n(c,i),t(i,c[r]),r>=0&&l(c[r].initialIndex)?p[r]=i:p.push(i);for(s=0;s<c.length;s++)a=c[s],a.added&&n(u,a)<0&&(i=S(e,a.added),t(i,a),p.push(i));j(e,p)}},q=function(e,t){F(e),L(e,t),H(e,t),z(e,t)},j=function(e,t){e._columns=t,e._visibleColumns=void 0,e._fixedColumns=void 0,e._rowCount=void 0,e.updateColumnDataTypes()},U=function(e,t,n,i){var o=e._columnChanges||{optionNames:{length:0},changeTypes:{length:0},columnIndex:i};n=n||"all";var a=o.changeTypes;t&&!a[t]&&(a[t]=!0,a.length++);var r=o.optionNames;n&&!r[n]&&(r[n]=!0,r.length++),void 0!==i&&i===o.columnIndex||delete o.columnIndex,e._columnChanges=o,e._visibleColumns=void 0,e._fixedColumns=void 0,e._rowCount=void 0},K=function(e){var t=e.option("onColumnsChanging"),n=e._columnChanges;e.isInitialized()&&!e._updateLockCount&&n&&(t&&(e._updateLockCount++,t(o.extend({component:e.component},n)),e._updateLockCount--),e._columnChanges=void 0,n.optionNames&&(n.optionNames.dataField||n.optionNames.lookup)?e.reinit():e.columnsChanged.fire(n))},Y=function(e,t,n,i,a){var c,d,u,h,p=r.compileGetter(n),f=t.index;return 3===arguments.length?p(t,{functionsAsIs:!0}):(c=p(t,{functionsAsIs:!0}),void(c!==i&&(h="groupIndex"===n?"grouping":"sortIndex"===n||"sortOrder"===n?"sorting":"columns",d=r.compileSetter(n),d(t,i,{functionsAsIs:!0}),l(c)||l(i)||(a=!0),a||(o.inArray(n,C)<0&&"visibleWidth"!==n&&(u=e.option("columns"),t=u&&u[f],s.isString(t)&&(t=u[f]={dataField:t}),t&&d(t,i,{functionsAsIs:!0})),U(e,h,n,f)))))},X=function(e){return"asc"===e||"desc"===e},Q=function(e){e.addCommandColumn({command:"expand",width:"auto",cssClass:k,allowEditing:!1,allowGrouping:!1,allowSorting:!1,allowResizing:!1,allowReordering:!1,allowHiding:!1})},Z=function(e,t){var n,i,o=this.dataField.split("."),a=o.length-1;for(this.serializeValue&&(t=this.serializeValue(t)),i=0;a>i;i++)n=o[i],e=e[n]=e[n]||{};e[o[a]]=t},J=function(e,t,n){var i=[];return t=t||0,e[t]&&o.each(e[t],function(o,a){(a.ownerBand===n||l(a.groupIndex))&&(a.isBand?i.push.apply(i,J(e,t+1,a.index)):(!a.command||1>t)&&i.push(a))}),i},ee=function(e,t){var n;return o.each(e.getChildrenByBandColumn(t),function(i,o){return o.visible&&(o.isBand?n=ee(e,o.index):o.ownerBand===t&&(n=!0)),!n}),n},te=function(e,t,n,i){var a,r=1,s=arguments.length;return n=n||1,t=t||e._columns,o.each(t,function(o,l){l.isBand&&l.visible&&l.ownerBand===i&&(a=ee(e,l.index),a&&(n=te(e,t,n+1,l.index))),1===s&&n>r&&(r=n,n=1),a=!1}),s>1?n:r},ne=function(e){return e.fixedPosition?e.fixedPosition:"left"},ie=function(e,t,n){var i=e[n]&&e[n].rowspan,a=t.slice(0);return i>1&&(a=o.map(a,function(e){return o.extend({},e,{rowspan:i})})),a.unshift(n,0),e.splice.apply(e,a),i||1};return{_endUpdateCore:function(){K(this)},init:function(){var e=this,t=e.option("columns");e._commandColumns=e._commandColumns||[],e._columns=e._columns||[],Q(e),e._isColumnsFromOptions=!!t,e._isColumnsFromOptions?(j(e,t?T(e,t):[]),$(e)):j(e,e._columnsUserState?T(e,e._columnsUserState):e._columns),e._dataSourceApplied?e.applyDataSource(e._dataSource,!0):q(e)},callbackNames:function(){return["columnsChanged"]},optionChanged:function(e){switch(e.name){case"adaptColumnWidthByRatio":e.handled=!0;break;case"columns":e.handled=!0,this._columnsUserState=null,this._ignoreColumnOptionNames=null,this.init();break;case"commonColumnSettings":case"columnAutoWidth":case"allowColumnResizing":case"allowColumnReordering":case"columnFixing":case"grouping":case"groupPanel":case"regenerateColumnsByVisibleItems":case"customizeColumns":case"editing":case"columnHidingEnabled":e.handled=!0,this.reinit();break;case"rtlEnabled":this.reinit();break;default:this.callBase(e)}},publicMethods:function(){return["addColumn","deleteColumn","columnOption","columnCount","clearSorting","clearGrouping"]},applyDataSource:function(e,t){var n=this,i=e&&e.isLoaded();if(n._dataSource=e,!n._dataSourceApplied||0===n._dataSourceColumnsCount||t||n.option("regenerateColumnsByVisibleItems")){if(i)return n._isColumnsFromOptions||(j(n,R(n,e)),n._dataSourceColumnsCount=n._columns.length,$(n)),n.updateColumns(e,t);n._dataSourceApplied=!1}},reset:function(){this._dataSourceApplied=!1,this._dataSourceColumnsCount=void 0,this.reinit()},reinit:function(){this._columnsUserState=this.getUserState(),this._ignoreColumnOptionNames=null,this.init()},isInitialized:function(){return!!this._columns.length||!!this.option("columns")},isDataSourceApplied:function(){return this._dataSourceApplied},getCommonSettings:function(){var e=this.option("commonColumnSettings")||{},t=this.option("grouping")||{},n=this.option("groupPanel")||{};return o.extend({allowFixing:this.option("columnFixing.enabled"),allowResizing:this.option("allowColumnResizing"),allowReordering:this.option("allowColumnReordering"),autoExpandGroup:t.autoExpandAll,allowCollapsing:t.allowCollapsing,allowGrouping:n.allowColumnDragging&&n.visible||t.contextMenuEnabled},e)},isColumnOptionUsed:function(e){for(var t=0;t<this._columns.length;t++)if(this._columns[t][e])return!0},isAllDataTypesDefined:function(){var e,t=this._columns;if(!t.length)return!1;for(e=0;e<t.length;e++)if(!t[e].dataType)return!1;return!0},getColumns:function(){return this._columns},getGroupColumns:function(){var e=[];return o.each(this._columns,function(){var t=this;l(t.groupIndex)&&(e[t.groupIndex]=t)}),e},getVisibleColumns:function(e){return this._visibleColumns=this._visibleColumns||this._getVisibleColumnsCore(),e=l(e)?e:this._visibleColumns.length-1,this._visibleColumns[e]||[]},getFixedColumns:function(e){return this._fixedColumns=this._fixedColumns||this._getFixedColumnsCore(),e=l(e)?e:this._fixedColumns.length-1,this._fixedColumns[e]||[]},_getFixedColumnsCore:function(){var e,t,n,i,o,a,r,s,c=this,d=[],u=c.getRowCount(),h=c._isColumnFixing(),p={command:"transparent"},f=0;if(h)for(e=0;u>=e;e++){for(o=0,r=null,a=null,s=c.getVisibleColumns(e),t=0;t<s.length;t++)i=s[t-1],n=s[t],n.command||(n.fixed?i&&i.fixed&&ne(i)!==ne(n)?l(a)||(a=t):r=n.fixedPosition:(0===e&&(n.isBand&&n.colspan?f+=n.colspan:f++),o++,l(a)||(a=t)));if(0===e&&(0===o||o>=s.length))return[];l(a)||(a="right"===r?0:s.length),d[e]=s.slice(0),p.colspan||(p.colspan=f),d[e].splice(a,o,p)}return d},_isColumnFixing:function(){var e=this.option("columnFixing.enabled");return!e&&o.each(this._columns,function(t,n){return n.fixed?(e=!0,!1):void 0}),e},_getExpandColumnsCore:function(){return this.getGroupColumns()},getExpandColumns:function(){var e,t=this._getExpandColumnsCore();return t.length&&(e=this.columnOption("command:expand")),t=o.map(t,function(t){return o.extend({},t,{visibleWidth:"auto"},e,{index:t.index})})},_isVisibleColumn:function(e){return e.visible},_getVisibleColumnsCore:function(){var e,t,n,i=this,a=[],r=0,d=i.getExpandColumns(),u=i.getRowCount(),h=[],p=[],f=0,_=i.option("rtlEnabled"),g=o.extend(!0,[],i._columns.length?i._commandColumns.concat(i._columns):[]);for(E(i,g),e=0;u>e;e++)a[e]=[],p[e]=[{}],h[e]=[{},{},{}];return o.each(g,function(e){var t,o,a=this,r=a.visibleIndex,s=I(e,g),c=i._isVisibleColumn(a)&&i.isParentColumnVisible(a.index);!c||a.isBand&&!(a.colspan>=1)||l(a.groupIndex)&&!a.showWhenGrouped||(t=s.length,0>r?(r=-r,o=p[t]):(a.fixed=s.length?s[0].fixed:a.fixed,a.fixedPosition=s.length?s[0].fixedPosition:a.fixedPosition,a.fixed||a.command?(n="right"===a.fixedPosition,_&&(n=!n),o=n||a.command?h[t][2]:h[t][0]):o=h[t][1]),r=s.length?s[0].visibleIndex:r,o[r]=o[r]||[],o[r].push(a),f++)}),o.each(a,function(e){c.orderEach(p[e],function(t,n){a[e].unshift.apply(a[e],n)}),t=a[e].length,o.each(h[e],function(t,n){c.orderEach(n,function(t,n){var i=s.isArray(n)&&n.length>1;i&&n.sort(function(e,t){return e.visibleIndex>=0&&t.visibleIndex>=0?e.visibleIndex-t.visibleIndex:void 0}),a[e].push.apply(a[e],n)})}),e+1>r&&(r+=ie(a[e],d,t))}),a.push(J(a)),!f&&i._columns.length&&a[u].push({command:"empty"}),a},getInvisibleColumns:function(e,t){var n,i=this,a=[];return e=e||i._columns,o.each(e,function(e,o){return o.ownerBand===t?o.isBand?(n=o.visible?i.getInvisibleColumns(i.getChildrenByBandColumn(o.index),o.index):i.getChildrenByBandColumn(o.index),void(n.length&&(a.push(o),a=a.concat(n)))):void(o.visible||a.push(o)):void 0}),a},getChooserColumns:function(e){var t=e?this.getColumns():this.getInvisibleColumns();return o.grep(t,function(e){return e.showInColumnChooser})},allowMoveColumn:function(e,t,n,o){var a=this,r=N(a,e,n),l=a._columns[r];return l&&(l.allowReordering||l.allowGrouping||l.allowHiding)?n===o?n===x?!1:(e=s.isObject(e)?e.columnIndex:e,t=s.isObject(t)?t.columnIndex:t,e!==t&&e+1!==t):n===i&&o!==x||o===i?l&&l.allowGrouping:n===x||o===x?l&&l.allowHiding:!0:!1},moveColumn:function(e,t,n,o){var a,r,c=this,d=N(c,e,n),u=N(c,t,o),h=n===i||o===i;if(d>=0){if(r=c._columns[d],t=s.isObject(t)?t.columnIndex:t,a=u>=0?c._columns[u].groupIndex:-1,l(r.groupIndex)&&n===i&&(a>r.groupIndex&&a--,delete r.groupIndex,delete r.sortOrder,L(c)),o===i)W(c,r,a),L(c);else if(t>=0){var p=c._columns[u];p&&r.ownerBand===p.ownerBand?r.fixed^p.fixed?r.visibleIndex=void 0:r.visibleIndex=p.visibleIndex:r.visibleIndex=void 0,z(c,r)}r.visible=o!==x,U(c,h?"grouping":"columns"),K(c)}},changeSortOrder:function(e,t){var n=this,i=n.option("sorting"),a=i&&i.mode,r="single"===a||!t,s="single"===a||"multiple"===a,c=n._columns[e],d=function(e){if("ctrl"===t){if(!("sortOrder"in e&&"sortIndex"in e))return!1;delete e.sortOrder,delete e.sortIndex}else l(e.groupIndex)||l(e.sortIndex)?e.sortOrder="desc"===e.sortOrder?"asc":"desc":e.sortOrder="asc";return!0},u=!1;s&&c&&c.allowSorting&&(r&&!l(c.groupIndex)&&o.each(n._columns,function(t){t!==e&&this.sortOrder&&!l(this.groupIndex)&&(delete this.sortOrder,delete this.sortIndex,u=!0)}),X(t)?c.sortOrder!==t&&(c.sortOrder=t,u=!0):"none"===t?c.sortOrder&&(delete c.sortIndex,delete c.sortOrder,u=!0):u=d(c)),u&&(H(n),U(n,"sorting"),K(n))},getSortDataSourceParameters:function(e){var t=this,n=[],i=[];return o.each(t._columns,function(){(this.dataField||this.selector||this.calculateCellValue)&&l(this.sortIndex)&&!l(this.groupIndex)&&(n[this.sortIndex]=this)}),o.each(n,function(){var t=this&&this.sortOrder;
X(t)&&i.push({selector:this.calculateSortValue||this.displayField||this.calculateDisplayValue||e&&this.selector||this.dataField||this.calculateCellValue,desc:"desc"===this.sortOrder})}),i.length>0?i:null},getGroupDataSourceParameters:function(e){var t=[];return o.each(this.getGroupColumns(),function(){var n=this.calculateGroupValue||this.displayField||this.calculateDisplayValue||e&&this.selector||this.dataField||this.calculateCellValue;n&&t.push({selector:n,desc:"desc"===this.sortOrder,isExpanded:!!this.autoExpandGroup})}),t.length>0?t:null},refresh:function(e){var t=[];return o.each(this._columns,function(){var n=this.lookup;if(n&&!this.calculateDisplayValue){if(e&&n.valueMap)return;n.update&&t.push(n.update())}}),o.when.apply(o,t)},updateColumnDataTypes:function(e){var n=V(e),i=this.option("rtlEnabled");o.each(this._columns,function(e,a){var c,d,h,p,f,_=a.lookup;if(a.calculateCellValue&&n.length){if(!a.dataType||_&&!_.dataType){for(c=0;c<n.length;c++)d=a.calculateCellValue(n[c]),f=a.dataType||A(d),h=h||f,h&&f&&h!==f&&(h="string"),_&&(f=_.dataType||A(u.getDisplayValue(a,d,n[c])),p=p||f,p&&f&&p!==f&&(p="string"));a.dataType=h,_&&(_.dataType=p)}if(!a.serializationFormat||_&&!_.serializationFormat)for(c=0;c<n.length;c++)d=a.calculateCellValue(n[c],!0),a.serializationFormat=a.serializationFormat||B(a.dataType,d),_&&(_.serializationFormat=_.serializationFormat||B(_.dataType,_.calculateCellValue(d,!0)))}a.selector=a.selector||function(e){return a.calculateCellValue(e)},o.each(["calculateSortValue","calculateGroupValue","calculateDisplayValue"],function(e,t){var n=a[t];s.isFunction(n)&&!n.isProxy&&(a[t]=function(e){return n.call(a,e)},a[t].isProxy=!0)}),s.isString(a.calculateDisplayValue)&&(a.displayField=a.calculateDisplayValue,a.calculateDisplayValue=r.compileGetter(a.displayField)),a.calculateDisplayValue&&(a.displayValueMap=a.displayValueMap||{}),M(a,a.dataType),_&&M(_,_.dataType),h=_?_.dataType:a.dataType,h&&(a.alignment=a.alignment||O(h,i),a.format=a.format||u.getFormatByDataType(h),a.customizeText=a.customizeText||P(h),l(a.filterOperations)||(a.filterOperations=!_&&t[h]||[]),a.defaultFilterOperation=a.filterOperations&&a.filterOperations[0]||"=",a.showEditorAlways=l(a.showEditorAlways)?a.showEditorAlways:"boolean"===h&&!a.cellTemplate)})},_customizeColumns:function(e){var t=this,n=t.option("customizeColumns");n&&(n(e),j(t,T(t,e)))},updateColumns:function(e,t){var n,i,a=this;return t||a.updateSortingGrouping(e),!e||e.isLoaded()?(n=e?e.sort()||[]:a.getSortDataSourceParameters(),i=e?e.group()||[]:a.getGroupDataSourceParameters(),a._customizeColumns(a._columns),q(a),o.when(a.refresh(!0)).always(function(){a._updateChanges(e,{sorting:n,grouping:i}),K(a)})):void 0},_updateChanges:function(e,t){var n=this;e&&(n.updateColumnDataTypes(e),n._dataSourceApplied=!0),p(t.sorting,n.getSortDataSourceParameters())||U(n,"sorting"),p(t.grouping,n.getGroupDataSourceParameters())||U(n,"grouping"),U(n,"columns")},updateSortingGrouping:function(e,t){var n,i,a,r,s,l=this,c=function(e,t,n){var i,a,r;o.each(e,function(e,o){if(delete o[n],t)for(i=0;i<t.length;i++)if(a=t[i].selector,r=t[i].isExpanded,a===o.dataField||a===o.name||a===o.selector||a===o.calculateCellValue||a===o.calculateGroupValue){o.sortOrder=o.sortOrder||(t[i].desc?"desc":"asc"),void 0!==r&&(o.autoExpandGroup=r),o[n]=i;break}})};e&&(n=h(e.sort()),i=h(e.group()),a=l.getGroupDataSourceParameters(),r=l.getSortDataSourceParameters(),l._columns.length||(o.each(i,function(e,t){l._columns.push(t.selector)}),o.each(n,function(e,t){l._columns.push(t.selector)}),j(l,T(l,l._columns))),!t&&(a||l._hasUserState)||p(i,a)||(c(l._columns,i,"groupIndex"),t&&(U(l,"grouping"),s=!0)),!t&&(r||l._hasUserState)||p(n,r)||(c(l._columns,n,"sortIndex"),t&&(U(l,"sorting"),s=!0)),s&&K(l))},updateFilter:function(e,t,n){var i=this;if(!s.isArray(e))return e;var a,r;for(e=o.extend([],e),n=e.columnIndex||n,t&&s.isString(e[0])?(a=i.columnOption(e[0]),a&&a.selector&&(e[0]=a.selector,e[0].columnIndex=a.index)):s.isFunction(e[0])&&(e[0].columnIndex=n),r=0;r<e.length;r++)e[r]=i.updateFilter(e[r],t,n);return e},columnCount:function(){return this._columns.length},columnOption:function(e,t,i,a){var r,l,c,d=this,u=s.isString(e)&&e.substr(0,e.indexOf(":")),h=0>e||"command"===u?d._commandColumns:d._columns;if(void 0!==e){for(u&&(e=e.substr(u.length+1)),r=0;r<h.length;r++)if(u){if(""+h[r][u]===e){c=h[r];break}}else if(h[r].index===e||h[r].name===e||h[r].dataField===e||h[r].caption===e){c=h[r];break}if(c){if(1===arguments.length)return o.extend({},c);if(s.isString(t)){if(2===arguments.length)return Y(d,c,t);l=l||n[t],Y(d,c,t,i,a)}else s.isObject(t)&&o.each(t,function(e,t){l=l||n[e],Y(d,c,e,t,a)});l&&q(d,c),K(d)}}},clearSorting:function(){var e,t=this,n=this.columnCount();for(t.beginUpdate(),e=0;n>e;e++)t.columnOption(e,"sortOrder",void 0);t.endUpdate()},clearGrouping:function(){var e,t=this,n=this.columnCount();for(t.beginUpdate(),e=0;n>e;e++)t.columnOption(e,"groupIndex",void 0);t.endUpdate()},getVisibleIndex:function(e,t){var n,i=this.getVisibleColumns(t);for(n=0;n<i.length;n++)if(i[n].index===e)return n;return-1},addColumn:function(e){var t=this,n=S(t,e);n.added=e,t._columns.push(n),q(t,n),t.updateColumns(t._dataSource)},deleteColumn:function(e){var t=this,n=t.columnOption(e,"index");n>=0&&(t._columns.splice(n,1),q(t),t.updateColumns(t._dataSource))},addCommandColumn:function(e){var t,n=this._commandColumns;for(t=0;t<n.length;t++)if(n[t].command===e.command)return;n.push(e)},getUserState:function(){function e(e,o){void 0!==n[t][o]&&(i[t][o]=n[t][o])}var t,n=this._columns,i=[];for(t=0;t<n.length;t++)i[t]={},o.each(C,e);return i},setUserState:function(e){var t,n=this,i=n.option("stateStoring.ignoreColumnOptionNames");i||(i=[],t=n.getCommonSettings(),n.option("columnChooser.enabled")||i.push("visible"),"none"===n.option("sorting.mode")&&i.push("sortIndex","sortOrder"),t.allowGrouping||i.push("groupIndex"),t.allowFixing||i.push("fixed","fixedPosition"),t.allowResizing||i.push("width","visibleWidth"),n.option("filterRow.visible")||i.push("filterValue","selectedFilterOperation"),n.option("headerFilter.visible")||i.push("filterValues","filterType")),n._columnsUserState=e,n._ignoreColumnOptionNames=i,n._hasUserState=!!e,n.init()},_createCalculatedColumnOptions:function(e,t){var n,i={},c=e.dataField;return(s.isArray(e.columns)&&e.columns.length||e.isBand)&&(i.isBand=!0,c=null),c?(s.isString(c)&&(n=r.compileGetter(c),i={caption:_.captionize(c),calculateCellValue:function(e,t){var i=n(e);return this.deserializeValue&&!t?this.deserializeValue(i):i},setCellValue:Z,parseValue:function(e){var t,n,i=this;return"number"===i.dataType?s.isString(e)?(n=m.parse(e),s.isNumber(n)&&(t=n)):l(e)&&(t=Number(e)):"boolean"===i.dataType?e===i.trueText?t=!0:e===i.falseText&&(t=!1):"date"===i.dataType?(n=v.parse(e,i.format),n&&(t=n)):t=e,t}}),i.allowFiltering=!0):i.allowFiltering=!!e.calculateFilterExpression,i.calculateFilterExpression=function(){return u.defaultCalculateFilterExpression.apply(this,arguments)},i.createFilterExpression=function(){var e;return this.calculateFilterExpression&&(e=this.calculateFilterExpression.apply(this,arguments)),e&&(e.columnIndex=this.index),e},c&&s.isString(c)||o.extend(!0,i,{allowSorting:!1,allowGrouping:!1,calculateCellValue:function(){return null}}),t&&(i.allowFixing=!1),e.dataType&&(i.userDataType=e.dataType),e.selectedFilterOperation&&(i.defaultSelectedFilterOperation=e.selectedFilterOperation),e.lookup&&(i.lookup={calculateCellValue:function(e,t){return this.valueExpr&&(e=this.valueMap&&this.valueMap[e]),this.deserializeValue&&!t?this.deserializeValue(e):e},updateValueMap:function(){var e,t,n,i;if(this.valueMap={},this.items)for(e=r.compileGetter(this.valueExpr),t=r.compileGetter(this.displayExpr),i=0;i<this.items.length;i++)n=this.items[i],this.valueMap[e(n)]=t(n)},update:function(){var e,t=this,n=t.dataSource;if(n)if(s.isFunction(n)&&!a(n)&&(n=n({})),s.isObject(n)||s.isArray(n)){if(t.valueExpr)return e=y(n),e.paginate=!1,n=new w.DataSource(e),n.load().done(function(e){t.items=e,t.updateValueMap&&t.updateValueMap()})}else d.log("E1016");else t.updateValueMap&&t.updateValueMap()}}),i.resizedCallbacks=o.Callbacks(),e.resized&&i.resizedCallbacks.add(o.proxy(e.resized,e)),o.each(i,function(e){var t;s.isFunction(i[e])&&0!==e.indexOf("default")&&(t="default"+e.charAt(0).toUpperCase()+e.substr(1),i[t]=i[e])}),i},getRowCount:function(e,t){return this._rowCount=this._rowCount||te(this),this._rowCount},getRowIndex:function(e,t){var n=this._columns[e];return n&&(t||n.visible&&!n.command&&!l(n.groupIndex))?I(e,this._columns).length:0},getChildrenByBandColumn:function(e,t){var n=this,i=[];return l(t)?i=o.grep(n.getVisibleColumns(t),function(t){return t.ownerBand===e&&!t.command}):o.each(n._columns,function(t,o){l(o.groupIndex)&&!o.showWhenGrouped||!n.isParentBandColumn(o.index,e)||i.push(o)}),i},isParentBandColumn:function(e,t){var n=!1,i=this._columns[e],a=i&&I(e,this._columns);return o.each(a,function(e,i){return i.index===t?(n=!0,!1):void 0}),n},isParentColumnVisible:function(e){var t=!0,n=e>=0&&I(e,this._columns);return n&&o.each(n,function(e,n){return t=t&&n.visible}),t}}}());t.ColumnsController=S,u.registerModule("columns",{defaultOptions:function(){return{commonColumnSettings:{allowFiltering:!0,allowHiding:!0,allowSorting:!0,allowEditing:!0,encodeHtml:!0,trueText:x.format("dxDataGrid-trueText"),falseText:x.format("dxDataGrid-falseText")},allowColumnReordering:!1,allowColumnResizing:!1,adaptColumnWidthByRatio:!0,columns:void 0,regenerateColumnsByVisibleItems:!1,customizeColumns:null}},controllers:{columns:S}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(4),s=n(13),l=n(63),c=r.addNamespace,d=n(20),u=n(22),h="dx-datagrid-columns-separator",p="dx-datagrid-columns-separator-transparent",f="dx-datagrid-drag-header",_="dx-datagrid-text-content",g="dx-datagrid-drag-action",m="dx-datagrid-tracker",v="dx-block-separator",x="dx-datagrid-drop-highlight",w="dx-header-row",y="dx-widget",b="dxDataGridResizingReordering",C=10,k=5,S=function(e){return e.option("allowColumnResizing")||e.getController("columns").isColumnOptionUsed("allowResizing")},T=function(e){return e.option("allowColumnReordering")||e.getController("columns").isColumnOptionUsed("allowReordering")};t.TrackerView=d.View.inherit({_renderCore:function(){this.callBase(),this.element().addClass(m),this.hide()},_unsubscribeFromCallback:function(){this._positionChanged&&this._tablePositionController.positionChanged.remove(this._positionChanged)},_subscribeToCallback:function(){var e=this;e._positionChanged=function(t){var n=e.element();n&&n.hasClass(m)&&(n.css({top:t.top}),n.height(t.height))},this._tablePositionController.positionChanged.add(e._positionChanged)},optionChanged:function(e){"allowColumnResizing"===e.name&&(this._unsubscribeFromCallback(),e.value&&(this._subscribeToCallback(),this._invalidate())),this.callBase(e)},init:function(){this.callBase(),this._tablePositionController=this.getController("tablePosition"),this._subscribeToCallback()},isVisible:function(){return S(this)},show:function(){this.element().show()},hide:function(){this.element().hide()},setHeight:function(e){this.element().height(e)},dispose:function(){this._unsubscribeFromCallback(),this.callBase()}}),t.SeparatorView=d.View.inherit({_renderSeparator:function(){},_renderCore:function(e){this.callBase(e),this._isShown=!0,this._renderSeparator(),this.hide()},show:function(){this._isShown=!0},hide:function(){this._isShown=!1},height:function(e){var t=this.element();if(t){if(!a.isDefined(e))return t.height();t.height(e)}},width:function(e){var t=this.element();if(t){if(!a.isDefined(e))return t.width();t.width(e)}}}),t.ColumnsSeparatorView=t.SeparatorView.inherit({_renderSeparator:function(){this.callBase();var e=this.element();e.addClass(h)},_subscribeToCallback:function(){var e,t=this;t._positionChanged=function(n){e=t.element(),e&&(e.css({top:n.top}),e.height(n.height))},t._tablePositionController.positionChanged.add(t._positionChanged)},_unsubscribeFromCallback:function(){this._positionChanged&&this._tablePositionController.positionChanged.remove(this._positionChanged)},_init:function(){this._isTransparent=S(this),this.isVisible()&&this._subscribeToCallback()},isVisible:function(){return this.option("showColumnHeaders")&&(T(this)||S(this))},optionChanged:function(e){"allowColumnResizing"===e.name&&(e.value?(this._init(),this._invalidate(),this.hide(!0)):(this._unsubscribeFromCallback(),this._isTransparent=S(this),this.hide(!0))),this.callBase(e)},init:function(){this.callBase(),this._tablePositionController=this.getController("tablePosition"),this._init()},show:function(){var e=this,t=this.element();t&&!e._isShown&&(e._isTransparent?t.removeClass(p):t.show()),this.callBase()},hide:function(e){var t=this.element();t&&(this._isShown||e)&&(this._isTransparent?(t.addClass(p),"none"===t.css("display")&&t.show()):(t.hasClass(p)&&t.removeClass(p),t.hide())),this.callBase()},moveByX:function(e){var t=this.element();t&&t.css("left",e-this._parentElement().offset().left)},changeCursor:function(e){e=a.isDefined(e)?e:"";var t=this.element();t&&t.css("cursor",e)},dispose:function(){this._unsubscribeFromCallback(),this.callBase()}}),t.BlockSeparatorView=t.SeparatorView.inherit({init:function(){var e=this;this.callBase(),this.getController("data").loadingChanged.add(function(t,n){var i=e.element();!t&&i&&"none"!==i.css("display")&&e.hide()})},_renderSeparator:function(){this.callBase(),this.element().addClass(v).html("&nbsp;")},hide:function(){var e=this,t=this._parentElement(),n=this.element();n&&this._isShown&&n.hide(),t&&!t.children("."+v).length&&t.prepend(e.element()),e.callBase()},isVisible:function(){var e=this.option("groupPanel"),t=this.option("columnChooser");return e&&e.visible||t&&t.enabled},show:function(e){var t=this,n=this.element(),i=function(e){u.stop(n,!0),u.animate(n,{type:"slide",from:{width:0,display:e.display},to:e,duration:300,easing:"swing"})};if(n&&!t._isShown)switch(e){case"group":i({width:"50px",display:"inline-block"});break;case"columnChooser":i({width:"100%",display:"block"});break;default:n.show()}t.callBase()}}),t.DraggingHeaderView=d.View.inherit({_isDragging:!1,_getDraggingPanelByPos:function(e){var t,n=this;return o.each(n._dragOptions.draggingPanels,function(n,i){if(i){var o=i.getBoundingRect();if(o&&(void 0===o.bottom||e.y<o.bottom)&&(void 0===o.top||e.y>o.top)&&(void 0===o.left||e.x>o.left)&&(void 0===o.right||e.x<o.right))return t=i,!1}}),t},_renderCore:function(){this.element().addClass(f+" "+_+" "+y).css("display","none")},_resetTargetColumnOptions:function(){var e=this._dropOptions;e.targetColumnIndex=-1,delete e.targetColumnElement,delete e.isLast,delete e.posX,delete e.posY},_getVisibleIndexObject:function(e,t){return a.isDefined(e)?{columnIndex:t,rowIndex:e}:t},dispose:function(){var e=this.element();this._dragOptions=null,e&&e.parent().find("."+f).remove()},isVisible:function(){var e=this.getController("columns"),t=e.getCommonSettings();return this.option("showColumnHeaders")&&(T(this)||t.allowGrouping||t.allowHiding)},init:function(){var e=this;this.callBase(),this._controller=this.getController("draggingHeader"),this._columnsResizerViewController=this.getController("columnsResizer"),this.getController("data").loadingChanged.add(function(t,n){var i=e.element();!t&&i&&"none"!==i.css("display")&&i.hide()})},dragHeader:function(e){var t=this,n=e.columnElement;t._isDragging=!0,t._dragOptions=e,t._dropOptions={sourceIndex:e.index,sourceColumnIndex:t._getVisibleIndexObject(e.rowIndex,e.columnIndex),sourceColumnElement:e.columnElement,sourceLocation:e.sourceLocation},t._onSelectStart=document.onselectstart,document.onselectstart=function(){return!1},t.element().css({textAlign:n&&n.css("text-align"),height:n&&n.height(),width:n&&n.width(),whiteSpace:n&&n.css("white-space")}).addClass(g).text(e.sourceColumn.caption),t.element().appendTo(o(document.body))},moveHeader:function(e){var t,n,i,o,a=e.jQueryEvent,s=a.data.that,l=r.eventData(a),c=s._columnsResizerViewController?s._columnsResizerViewController.isResizing():!1,d=s._dragOptions;s._isDragging&&!c&&(i=Math.abs(l.x-d.columnElement.offset().left-d.deltaX),o=Math.abs(l.y-d.columnElement.offset().top-d.deltaY),(s.element().is(":visible")||i>k||o>k)&&(s.element().show(),t=l.x-d.deltaX,n=l.y-d.deltaY,s.element().offset({left:t,top:n}),s.dockHeader(l)),a.preventDefault())},dockHeader:function(e){var t,n,i=this,a=i._getDraggingPanelByPos(e),r=i._controller,s=i._dropOptions;if(a){var l=i.option("rtlEnabled"),c="columnChooser"===a.getName(),d=c?"y":"x",u=a.getName(),h="headers"===u?i._dragOptions.rowIndex:void 0,p=i._dragOptions.sourceColumn,f=a.getColumnElements(h,p&&p.ownerBand)||[],_=r._generatePointsByColumns(o.extend({},i._dragOptions,{targetDraggingPanel:a,columns:a.getColumns(h),columnElements:f,isVerticalOrientation:c,startColumnIndex:"headers"===u&&o(f[0]).index()}));if(s.targetLocation=u,_.length>0){for(t=0;t<_.length;t++)if(n=_[t+1]&&(_[t][d]+_[t+1][d])/2,void 0===n||(l&&"x"===d?e[d]>n:e[d]<n)){s.targetColumnIndex=i._getVisibleIndexObject(h,_[t].columnIndex),f[t]?(s.targetColumnElement=f.eq(t),s.isLast=!1):(s.targetColumnElement=f.last(),s.isLast=!0),s.posX=_[t].x,s.posY=_[t].y,r.dock(s);break}}else i._resetTargetColumnOptions(),r.dock(s)}},dropHeader:function(e){var t=e.jQueryEvent,n=t.data.that,i=n._controller;n.element().hide(),i&&n._isDragging&&i.drop(n._dropOptions),n.element().appendTo(n._parentElement()),n._dragOptions=null,n._dropOptions=null,n._isDragging=!1,document.onselectstart=n._onSelectStart||null}}),t.ColumnsResizerViewController=d.ViewController.inherit({_isHeadersRowArea:function(e){if(this._columnHeadersView){var t,n,i=this._columnHeadersView.element();if(i)return n=i.offset().top,t=this._columnHeadersView.getHeadersRowHeight(),e>=n&&n+t>=e}return!1},_pointCreated:function(e,t,n){var i,o;return e.index>0&&e.index<t?(e.columnIndex-=1,i=n[e.columnIndex]||{},o=n[e.columnIndex+1]||{},!(i.allowResizing&&o.allowResizing)):!0},_getTargetPoint:function(e,t,n){if(e)for(var i=0;i<e.length;i++)if(e[i].x-n<=t&&t<=e[i].x+n)return e[i];return null},_moveSeparator:function(e){var t=e.jQueryEvent,n=t.data,i=n._columnsSeparatorView.width(),o=n._columnsSeparatorView.element().offset(),a=i/2,s=n._$parentContainer.offset(),l=s.left,c=r.eventData(t);n._isResizing?l<=c.x&&c.x<=l+n._$parentContainer.width()&&n._updateColumnsWidthIfNeeded(c.x)&&(n._columnsSeparatorView.moveByX(n._targetPoint.x+(c.x-n._resizingInfo.startPosX)),n._tablePositionController.update(n._targetPoint.y),t.preventDefault()):n._isHeadersRowArea(c.y)?(n._previousParentOffset&&(n._previousParentOffset.left===s.left&&n._previousParentOffset.top===s.top||n.pointsByColumns(null)),n._targetPoint=n._getTargetPoint(n.pointsByColumns(),c.x,i),n._previousParentOffset=s,n._isReadyResizing=!1,n._columnsSeparatorView.changeCursor(),n._targetPoint&&n._targetPoint.y<=c.y&&o.top+n._columnsSeparatorView.height()>=c.y&&(n._columnsSeparatorView.changeCursor("col-resize"),n._columnsSeparatorView.moveByX(n._targetPoint.x-a),n._tablePositionController.update(n._targetPoint.y),n._isReadyResizing=!0,t.preventDefault())):(n.pointsByColumns(null),n._isReadyResizing=!1,n._columnsSeparatorView.changeCursor())},_endResizing:function(e){var t=e.jQueryEvent,n=t.data;n._isResizing&&(n.pointsByColumns(null),n._resizingInfo=null,n._columnsSeparatorView.hide(),n._columnsSeparatorView.changeCursor(),n._trackerView.hide(),n._isReadyResizing=!1,n._isResizing=!1)},_getNextColumnIndex:function(e){return e+1},_setupResizingInfo:function(e){var t=this,n=t._targetPoint.columnIndex,i=t._getNextColumnIndex(n),o=t._columnHeadersView.getHeaderElement(n),a=t._columnHeadersView.getHeaderElement(i);t._resizingInfo={startPosX:e,currentColumnIndex:n,currentColumnWidth:o&&o.length>0?o.outerWidth():0,nextColumnIndex:i,nextColumnWidth:a&&a.length>0?a.outerWidth():0}},_startResizing:function(e){var t=e.jQueryEvent,n=t.data,i=r.eventData(t);r.isTouchEvent(t)&&(n._isHeadersRowArea(i.y)?(n._targetPoint=n._getTargetPoint(n.pointsByColumns(),i.x,C),n._targetPoint&&(n._columnsSeparatorView.moveByX(n._targetPoint.x-n._columnsSeparatorView.width()/2),n._isReadyResizing=!0)):n._isReadyResizing=!1),n._isReadyResizing&&(n._targetPoint,n._setupResizingInfo(i.x),n._tablePositionController.update(n._targetPoint.y),n._columnsSeparatorView.show(),n._trackerView.show(),n._isResizing=!0,t.preventDefault(),t.stopPropagation())},_generatePointsByColumns:function(){var e=this,t=e._columnsController?e._columnsController.getVisibleColumns():[],n=e._columnHeadersView.getColumnElements(),i=[];n&&n.length>0&&(i=d.getPointsByColumns(n,function(i){return e._pointCreated(i,n.length,t)})),e._pointsByColumns=i},_unsubscribeFromEvents:function(){this._moveSeparatorHandler&&this._$parentContainer.off(c(s.move,b),this._moveSeparatorHandler),this._startResizingHandler&&this._$parentContainer.off(c(s.down,b),this._startResizingHandler),this._endResizingHandler&&(this._columnsSeparatorView.element().off(c(s.up,b),this._endResizingHandler),o(document).off(c(s.up,b),this._endResizingHandler))},_subscribeToEvents:function(){this._moveSeparatorHandler=this.createAction(this._moveSeparator),this._startResizingHandler=this.createAction(this._startResizing),this._endResizingHandler=this.createAction(this._endResizing),this._$parentContainer.on(c(s.move,b),this,this._moveSeparatorHandler),this._$parentContainer.on(c(s.down,b),this,this._startResizingHandler),this._columnsSeparatorView.element().on(c(s.up,b),this,this._endResizingHandler),o(document).on(c(s.up,b),this,this._endResizingHandler)},_updateColumnsWidthIfNeeded:function(e){function t(e,t,n,i){if(e){var o=e.width;o&&(i=a.isString(o)&&"%"===o.slice(-1)),i?(e&&c.columnOption(e.index,"visibleWidth",t),e&&c.columnOption(e.index,"width",(t/n*100).toFixed(3)+"%")):(e&&c.columnOption(e.index,"visibleWidth",void 0),e&&c.columnOption(e.index,"width",t))}}var n,i,o,r,s,l=!1,c=this._columnsController,d=c.getVisibleColumns(),u=this._columnsSeparatorView.width(),h=this._rowsView.contentWidth(),p=this.option("adaptColumnWidthByRatio")&&!this.option("columnAutoWidth");return n=e-this._resizingInfo.startPosX,this.option("rtlEnabled")&&(n=-n),s=this._resizingInfo.currentColumnWidth+n,i=this._resizingInfo.nextColumnWidth-n,l=!(u>=s||u>=i),l&&(o=d[this._resizingInfo.currentColumnIndex],r=d[this._resizingInfo.nextColumnIndex],c.beginUpdate(),s=Math.floor(s),i=Math.floor(i),t(o,s,h,p),t(r,i,h,p),c.endUpdate()),l},_subscribeToCallback:function(e,t){e.add(t),this._subscribesToCallbacks.push({callback:e,handler:t})},_unsubscribeFromCallbacks:function(){var e,t;for(e=0;e<this._subscribesToCallbacks.length;e++)t=this._subscribesToCallbacks[e],t.callback.remove(t.handler);this._subscribesToCallbacks=[]},_unsubscribes:function(){this._unsubscribeFromEvents(),this._unsubscribeFromCallbacks()},_init:function(){var e,t,n=this,i=function(){n._isResizing||n.pointsByColumns(null)},o=function(e){n._scrollLeft!==e.left&&(n._scrollLeft=e.left,n.pointsByColumns(null))};n._columnsSeparatorView=n.getView("columnsSeparatorView"),n._columnHeadersView=n.getView("columnHeadersView"),n._trackerView=n.getView("trackerView"),n._rowsView=n.getView("rowsView"),n._columnsController=n.getController("columns"),n._tablePositionController=n.getController("tablePosition"),n._$parentContainer=n._columnsSeparatorView.component.element(),n._subscribeToCallback(n._columnHeadersView.renderCompleted,i),n._subscribeToCallback(n._columnHeadersView.resizeCompleted,i),n._subscribeToCallback(n._columnsSeparatorView.renderCompleted,function(){n._unsubscribeFromEvents(),n._subscribeToEvents()}),n._subscribeToCallback(n._rowsView.renderCompleted,function(){n._rowsView.scrollChanged.remove(o),n._rowsView.scrollChanged.add(o)}),e=n.getView("gridView"),t=0!==n._rowsView.getScrollbarWidth(),n._subscribeToCallback(n.getController("tablePosition").positionChanged,function(){if(n._isResizing&&!n._rowsView.isResizing){var i=0!==n._rowsView.getScrollbarWidth();t!==i?(t=i,e.resize()):n._rowsView.updateFreeSpaceRowHeight()}})},optionChanged:function(e){this.callBase(e),"allowColumnResizing"===e.name&&(e.value?(this._init(),this._subscribeToEvents()):this._unsubscribes())},isResizing:function(){return this._isResizing},init:function(){this._subscribesToCallbacks=[],S(this)&&this._init()},pointsByColumns:function(e){return void 0===e?(this._pointsByColumns||this._generatePointsByColumns(),this._pointsByColumns):void(this._pointsByColumns=e)},dispose:function(){this._unsubscribes(),this.callBase()}}),t.TablePositionViewController=d.ViewController.inherit({update:function(e){var t=this,n=t._columnHeadersView.element(),i=n&&n.offset(),o=i&&i.top||0,r=a.isDefined(e)?Math.abs(e-o):0,s=t._columnHeadersView?t._columnHeadersView.getHeight():0,l=t._rowsView?t._rowsView.height()-t._rowsView.getScrollbarWidth(!0):0;t.positionChanged.fire({height:s+l-r,top:n&&n.length&&n[0].offsetTop+r})},init:function(){var e=this;e.callBase(),e._columnHeadersView=this.getView("columnHeadersView"),e._rowsView=this.getView("rowsView"),e._pagerView=this.getView("pagerView"),e._rowsView.resizeCompleted.add(function(){e.update()})},ctor:function(e){this.callBase(e),this.positionChanged=o.Callbacks()}}),t.DraggingHeaderViewController=d.ViewController.inherit({_generatePointsByColumns:function(e){var t=this;return d.getPointsByColumns(e.columnElements,function(n){return t._pointCreated(n,e.columns,e.targetDraggingPanel.getName(),e.sourceColumn)},e.isVerticalOrientation,e.startColumnIndex)},_pointCreated:function(e,t,n,i){var o=t[e.columnIndex],a=t[e.columnIndex-1];switch(n){case"columnChooser":return!0;case"headers":return i&&!i.allowReordering||(!o||!o.allowReordering)&&(!a||!a.allowReordering);default:return 0===t.length}},_subscribeToEvents:function(e,t){var n=this;o.each(t,function(i,a){if(a){var s,d,u,h=a.getRowCount?a.getRowCount():1,p=a.getName(),f=function(i,s){var u=o(s),h=d[i];a.allowDragging(d[i],p,t)&&(u.addClass(g),u.on(c(l.start,b),n.createAction(function(a){var s=a.jQueryEvent,l=r.eventData(s);e.dragHeader({deltaX:l.x-o(s.currentTarget).offset().left,deltaY:l.y-o(s.currentTarget).offset().top,sourceColumn:h,index:h.index,columnIndex:i,columnElement:u,sourceLocation:p,draggingPanels:t,rowIndex:n._columnsController.getRowIndex(h.index,!0)})})),u.on(c(l.move,b),{that:e},n.createAction(e.moveHeader)),u.on(c(l.end,b),{that:e},n.createAction(e.dropHeader)))};for(s=0;h>s;s++)u=a.getColumnElements(s)||[],d=a.getColumns(s)||[],o.each(u,f)}})},_unsubscribeFromEvents:function(e,t){o.each(t,function(e,t){if(t){var n=t.getColumnElements()||[];o.each(n,function(e,t){var n=o(t);n.off(c(l.start,b)),n.off(c(l.move,b)),n.off(c(l.end,b)),n.removeClass(g)})}})},_getSeparator:function(e){return"headers"===e?this._columnsSeparatorView:this._blockSeparatorView},hideSeparators:function(){var e=this._blockSeparatorView,t=this._columnsSeparatorView;this._animationColumnIndex=null,e&&e.hide(),t&&t.hide()},init:function(){var e,t=this;t.callBase(),t._columnsController=t.getController("columns"),t._columnHeadersView=t.getView("columnHeadersView"),t._columnsSeparatorView=t.getView("columnsSeparatorView"),t._draggingHeaderView=t.getView("draggingHeaderView"),t._rowsView=t.getView("rowsView"),t._blockSeparatorView=t.getView("blockSeparatorView"),t._headerPanelView=t.getView("headerPanel"),t._columnChooserView=t.getView("columnChooserView"),e=function(){if(t._draggingHeaderView){var e=[t._columnChooserView,t._columnHeadersView,t._headerPanelView];t._unsubscribeFromEvents(t._draggingHeaderView,e),t._subscribeToEvents(t._draggingHeaderView,e)}},t._columnHeadersView.renderCompleted.add(e),t._headerPanelView&&t._headerPanelView.renderCompleted.add(e),t._columnChooserView&&t._columnChooserView.renderCompleted.add(e)},allowDrop:function(e){return this._columnsController.allowMoveColumn(e.sourceColumnIndex,e.targetColumnIndex,e.sourceLocation,e.targetLocation)},dock:function(e){var t=this,n=a.isObject(e.targetColumnIndex)?e.targetColumnIndex.columnIndex:e.targetColumnIndex,i=e.sourceLocation,o=e.sourceIndex,r=e.sourceColumnElement,s=e.targetLocation,l=t._getSeparator(s),c=n>=0,d=function(){t._animationColumnIndex!==n&&(t.hideSeparators(),l.element()[e.isLast?"insertAfter":"insertBefore"](e.targetColumnElement),t._animationColumnIndex=n,l.show(s))};t._columnHeadersView.element().find("."+w).toggleClass(x,"headers"!==i&&"headers"===s&&!c),l&&(r&&(r.css({opacity:.5}),"headers"===i&&(t._columnHeadersView.setRowsOpacity(o,.5),t._rowsView.setRowsOpacity(o,.5))),t.allowDrop(e)&&c?"group"===s||"columnChooser"===s?d():(t.hideSeparators(),t.getController("tablePosition").update(e.posY),l.moveByX(e.posX-l.width()),l.show()):t.hideSeparators())},drop:function(e){var t=e.sourceColumnElement;if(t&&(t.css({opacity:""}),this._columnHeadersView.setRowsOpacity(e.sourceIndex,""),this._rowsView.setRowsOpacity(e.sourceIndex,""),this._columnHeadersView.element().find("."+w).removeClass(x)),this.allowDrop(e)){var n=this._getSeparator(e.targetLocation);n&&n.hide(),this._columnsController.moveColumn(e.sourceColumnIndex,e.targetColumnIndex,e.sourceLocation,e.targetLocation)}},dispose:function(){this._draggingHeaderView&&this._unsubscribeFromEvents(this._draggingHeaderView,[this._columnChooserView,this._columnHeadersView,this._headerPanelView])}}),d.registerModule("columnsResizingReordering",{views:{columnsSeparatorView:t.ColumnsSeparatorView,blockSeparatorView:t.BlockSeparatorView,draggingHeaderView:t.DraggingHeaderView,trackerView:t.TrackerView},controllers:{draggingHeader:t.DraggingHeaderViewController,tablePosition:t.TablePositionViewController,columnsResizer:t.ColumnsResizerViewController}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(126),s="dx-datagrid",l="dx-context-menu",c={columnHeadersView:"header",rowsView:"content",footerView:"footer",headerPanel:"headerPanel"},d=["columnHeadersView","rowsView","footerView","headerPanel"];t.ContextMenuController=a.ViewController.inherit({init:function(){this.createAction("onContextMenuPreparing")},getContextMenuItems:function(e){if(!e)return!1;var t,n,i,a,r,s,l,u,h,p=this,f=o(e.target);return o.each(d,function(){return t=p.getView(this),s=t&&t.element(),s&&(s.is(f)||s.find(f).length)&&(u=f.closest("td"),l=u.closest(".dx-row"),i=t.getRowIndex(l),a=u[0]&&u[0].cellIndex,r=l.data("options"),n={jQueryEvent:e,targetElement:f,target:c[this],rowIndex:i,row:t._getRows()[i],columnIndex:a,column:r&&r.cells[a].column},n.items=t.getContextMenuItems&&t.getContextMenuItems(n),p.executeAction("onContextMenuPreparing",n),p._contextMenuPrepared(n),h=n.items)?!1:void 0}),h},_contextMenuPrepared:o.noop}),t.ContextMenuView=a.View.inherit({_renderCore:function(){var e=this;this._createComponent(e.element().addClass(l),r,{onPositioning:function(t){var n=t.jQueryEvent,i=t.component,o=e.getController("contextMenu").getContextMenuItems(n);o?(i.option("items",o),n.stopPropagation()):t.cancel=!0},onItemClick:function(e){e.itemData.onItemClick&&e.itemData.onItemClick(e)},cssClass:s,target:e.component.element()})}}),a.registerModule("contextMenu",{defaultOptions:function(){return{onContextMenuPreparing:null}},controllers:{contextMenu:t.ContextMenuController},views:{contextMenuView:t.ContextMenuView}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(47),s=n(214),l=n(59),c=n(19),d=n(2),u=n(111);t.DataController=a.Controller.inherit({}).include(u).inherit(function(){var e={init:function(){var e=this;e._items=[],e._columnsController=e.getController("columns"),e._columnsChangedHandler=o.proxy(e._handleColumnsChanged,e),e._dataChangedHandler=o.proxy(e._handleDataChanged,e),e._loadingChangedHandler=o.proxy(e._handleLoadingChanged,e),e._loadErrorHandler=o.proxy(e._handleLoadError,e),e._customizeStoreLoadOptionsHandler=o.proxy(e._handleCustomizeStoreLoadOptions,e),e._columnsController.columnsChanged.add(e._columnsChangedHandler),
e._isLoading=!1,e._isCustomLoading=!1,e.createAction("onDataErrorOccurred"),e.dataErrorOccurred.add(function(t){return e.executeAction("onDataErrorOccurred",{error:t})}),e._refreshDataSource()},callbackNames:function(){return["changed","loadingChanged","dataErrorOccurred","pageChanged","dataSourceChanged"]},callbackFlags:function(e){return"dataErrorOccurred"===e?{stopOnFalse:!0}:void 0},publicMethods:function(){return["beginCustomLoading","endCustomLoading","refresh","filter","clearFilter","getCombinedFilter","keyOf","byKey","getDataByKeys","pageIndex","pageSize","pageCount","totalCount","_disposeDataSource","getKeyByRowIndex","getRowIndexByKey"]},optionChanged:function(e){function t(){e.handled=!0}function n(){i._columnsController.reset(),i._refreshDataSource()}var i=this;if("dataSource"===e.name&&e.name===e.fullName&&e.value===e.previousValue)return t(),void i.refresh();switch(e.name){case"cacheEnabled":case"loadingTimeout":case"remoteOperations":t();break;case"dataSource":case"scrolling":case"paging":t(),n();break;case"rtlEnabled":n();break;default:i.callBase(e)}},isReady:function(){return!this._isLoading},getCombinedFilter:function(){return this.combinedFilter()},combinedFilter:function(e){var t,n=this,i=n._dataSource,o=n._columnsController;return i&&(void 0===e&&(e=i.filter()),t=n._calculateAdditionalFilter(),t&&(o.isDataSourceApplied()||o.isAllDataTypesDefined())&&(e=a.combineFilters([t,e])),e=o.updateFilter(e,!i.remoteOperations().filtering)),e},_handleCustomizeStoreLoadOptions:function(e){var t=this._columnsController,n=this._dataSource,i=e.storeLoadOptions;e.isCustomLoading&&!i.isLoadingAll||(i.filter=this.combinedFilter(i.filter),t.isDataSourceApplied()||t.updateColumnDataTypes(n),this._columnsUpdating=!0,t.updateSortingGrouping(n,!this._isFirstLoading),this._columnsUpdating=!1,i.sort=t.getSortDataSourceParameters(),i.group=t.getGroupDataSourceParameters(),n.sort(i.sort),n.group(i.group),i.sort=t.getSortDataSourceParameters(!n.remoteOperations().sorting),e.group=t.getGroupDataSourceParameters(!0),this._isFirstLoading=!1)},_handleColumnsChanged:function(e){var t,n,i=this,o=e.changeTypes,r=e.optionNames,s=function(){i._columnsController.columnsChanged.remove(s),i.updateItems()};o.sorting||o.grouping?(i._dataSource&&!i._columnsUpdating&&(i._dataSource.group(i._columnsController.getGroupDataSourceParameters()),i._dataSource.sort(i._columnsController.getSortDataSourceParameters()),i.reload()),i.pageChanged.fire()):o.columns&&((r.filterValues||r.filterValue||r.selectedFilterOperation)&&(t=i._columnsController.columnOption(e.columnIndex,"filterValue"),n=i._columnsController.columnOption(e.columnIndex,"filterValues"),(d.isArray(n)||void 0===e.columnIndex||d.isDefined(t)||!r.selectedFilterOperation||r.filterValue)&&i._applyFilter()),i._needApplyFilter||a.checkChanges(r,["width","visibleWidth","filterValue","selectedFilterOperation","filterValues","filterType"])||i._columnsController.columnsChanged.add(s))},_handleDataChanged:function(e){var t=this,n=t._dataSource,i=t._columnsController,a=i.isAllDataTypesDefined();n&&!t._isDataSourceApplying&&(t._isDataSourceApplying=!0,o.when(t._columnsController.applyDataSource(n)).done(function(){t._isLoading&&t._handleLoadingChanged(!1),t._isDataSourceApplying=!1;var n=t._calculateAdditionalFilter(),i=t._needApplyFilter;t._needApplyFilter=!1,i&&n&&n.length&&!a?(c.log("W1005",t.component.NAME),t._applyFilter()):t.updateItems(e)}),t._isDataSourceApplying&&t._handleLoadingChanged(!0),t._needApplyFilter=!t._columnsController.isDataSourceApplied())},_handleLoadingChanged:function(e){this._isLoading=e,this._fireLoadingChanged()},_handleLoadError:function(e){this.dataErrorOccurred.fire(e)},_initDataSource:function(){var e=this,t=this.option("dataSource"),n=this.option("paging.pageIndex"),i=this.option("paging.pageSize"),o=e.option("scrolling.mode"),a=this.option("paging.enabled"),r="infinite"===o,s="virtual"===o,l=this._dataSource;e.callBase(),t=e._dataSource,e._isFirstLoading=!0,t?(t.requireTotalCount(!r),void 0!==a&&t.paginate(a||s||r),void 0!==i&&t.pageSize(i),void 0!==n&&t.pageIndex(n),e.setDataSource(t)):l&&e.updateItems()},_loadDataSource:function(){var e=this._dataSource;e&&e.load()},_processItems:function(e){var t=this,n=t._columnsController.getVisibleColumns(),i={visibleColumns:n,dataIndex:0},a=[];return o.each(e,function(e,n){d.isDefined(n)&&(n=t._processItem(n,i),a.push(n))}),a},_processItem:function(e,t){return e=this._generateDataItem(e),e=this._processDataItem(e,t),e.dataIndex=t.dataIndex++,e},_generateDataItem:function(e){return{rowType:"data",data:e,key:this.keyOf(e)}},_processDataItem:function(e,t){return e.values=this.generateDataValues(e.data,t.visibleColumns),e},generateDataValues:function(e,t){for(var n,i,o=[],a=0;a<t.length;a++)n=t[a],i=null,n.command?i=null:n.calculateCellValue?i=n.calculateCellValue(e):n.dataField&&(i=e[n.dataField]),o.push(i);return o},_updateItemsCore:function(e){var t,n=this,i=n._dataSource,a=e.changeType||"refresh";if(e.changeType=a,i){switch(t=e.items||i.items(),t=n._processItems(t.slice(0),a),e.items=t,a){case"prepend":n._items.unshift.apply(n._items,t);break;case"append":n._items.push.apply(n._items,t);break;case"update":var s=-1,l=e.rowIndices.slice(0),c=0;l.sort(function(e,t){return e-t});for(var d=0;d<l.length;d++)l[d]<0&&(l.splice(d,1),d--);e.items=[],e.rowIndices=[],e.changeTypes=[];var u=function(e,t,n){return e&&t&&r.equalKeys(e.key,t.key)&&(!n||e.rowType===t.rowType)};o.each(l,function(i,o){var r,l,d,h,p;o+=c,s!==o&&(e.rowIndices.push(o),s=o,r=n._items[o],d=n._items[o+1],l=t[o],h=t[o+1],p=u(r,d)||u(l,h),l&&e.items.push(l),r&&l&&u(r,l,p)?(a="update",n._items[o]=l,r.visible!==l.visible&&e.items.splice(-1,1,{visible:l.visible})):l&&!r||h&&u(r,h,p)?(a="insert",n._items.splice(o,0,l),c++):(r&&!l||d&&u(l,d,p))&&(a="remove",n._items.splice(o,1),c--,s=-1),e.changeTypes.push(a))});break;default:n._items=t.slice(0)}o.each(n._items,function(e,t){t.rowIndex=e})}else n._items=[]},updateItems:function(e){e=e||{};var t=this;t._updateItemsCore(e),d.deferRender(function(){t.changed.fire(e)})},isLoading:function(){return this._isLoading||this._isCustomLoading},_fireLoadingChanged:function(e){this.loadingChanged.fire(this.isLoading(),e)},_calculateAdditionalFilter:function(){return null},_applyFilter:function(){var e=this,t=e._dataSource;return t?(t.pageIndex(0),e.reload().done(o.proxy(e.pageChanged,"fire"))):void 0},filter:function(e){var t=this._dataSource;return 0===arguments.length?t?t.filter():void 0:(e=arguments.length>1?Array.prototype.slice.call(arguments,0):e,t&&t.filter(e),void this._applyFilter())},clearFilter:function(e){var t=this,n=t._columnsController,i=function(e){var t,i=n.columnCount();for(t=0;i>t;t++)n.columnOption(t,e,void 0)};if(t.component.beginUpdate(),arguments.length>0)switch(e){case"dataSource":t.filter(null);break;case"search":t.searchByText("");break;case"header":i("filterValues");break;case"row":i("filterValue")}else t.filter(null),t.searchByText(""),i("filterValue"),i("filterValues");t.component.endUpdate()},_fireDataSourceChanged:function(){var e=this,t=function(){e.changed.remove(t),e.dataSourceChanged.fire()};e.changed.add(t)},_createDataSourceAdapterCore:function(e,t){var n=s.create(this.component);return n.init(e,t),n},isLocalStore:function(e){return e=e||this.store(),e instanceof l},_createDataSourceAdapter:function(e){var t=this.option("remoteOperations");return"auto"===t&&(t=this.isLocalStore(e.store())?{}:{filtering:!0,sorting:!0,paging:!0}),t===!0&&(t={filtering:!0,sorting:!0,paging:!0,grouping:!0,summary:!0}),this._createDataSourceAdapterCore(e,t)},setDataSource:function(e){var t=this,n=t._dataSource;!e&&n&&(n.changed.remove(t._dataChangedHandler),n.loadingChanged.remove(t._loadingChangedHandler),n.loadError.remove(t._loadErrorHandler),n.customizeStoreLoadOptions.remove(t._customizeStoreLoadOptionsHandler),n.dispose(t._isSharedDataSource)),e&&(e=t._createDataSourceAdapter(e)),t._dataSource=e,e&&(t._fireDataSourceChanged(),t._isLoading=!e.isLoaded(),t._needApplyFilter=!0,e.changed.add(t._dataChangedHandler),e.loadingChanged.add(t._loadingChangedHandler),e.loadError.add(t._loadErrorHandler),e.customizeStoreLoadOptions.add(t._customizeStoreLoadOptionsHandler))},items:function(){return this._items},isEmpty:function(){return!this.items().length},pageCount:function(){return this._dataSource?this._dataSource.pageCount():1},dataSource:function(){return this._dataSource},store:function(){var e=this._dataSource;return e&&e.store()},loadAll:function(e){var t=this,n=o.Deferred(),i=t._dataSource;if(i)if(e){var a={data:e,isCustomLoading:!0,storeLoadOptions:{},loadOptions:{group:i.group(),sort:i.sort()}};i._handleDataLoaded(a),n.resolve(t._processItems(a.data,"loadingAll"),a.extra&&a.extra.summary)}else if(t.isLoading())n.reject();else{var r=o.extend({isLoadingAll:!0},i.loadOptions());r.requireTotalCount=!1,i.load(r).done(function(e,i){e=t._processItems(e.slice(0),"loadingAll"),n.resolve(e,i&&i.summary)}).fail(n.reject)}else n.resolve([]);return n},getKeyByRowIndex:function(e){var t=this.items()[e];return t?t.key:void 0},getRowIndexByKey:function(e){return r.getIndexByKey(e,this.items())},keyOf:function(e){var t=this.store();return t?t.keyOf(e):void 0},byKey:function(e){var t,n=this.store(),i=this.getRowIndexByKey(e);if(n)return i>=0&&(t=o.Deferred().resolve(this.items()[i].data)),t||n.byKey(e)},getDataByKeys:function(e){var t=this,n=o.Deferred(),i=[],a=[];return o.each(e,function(e,n){i.push(t.byKey(n).done(function(t){a[e]=t}))}),o.when.apply(o,i).always(function(){n.resolve(a)}),n},pageIndex:function(e){var t=this,n=t.option("paging"),i=t._dataSource;return i?void 0!==e&&i.pageIndex()!==e?(i.pageIndex(e),n&&(n.pageIndex=e),i.load().done(o.proxy(t.pageChanged,"fire"))):i.pageIndex():0},pageSize:function(e){var t=this,n=t.option("paging"),i=t._dataSource;return void 0===e?i?i.pageSize():0:i&&i.pageSize()!==e?(i.pageIndex(0),i.pageSize(e),n&&(n.pageSize=e),i.reload().done(o.proxy(t.pageChanged,"fire"))):void 0},beginCustomLoading:function(e){this._isCustomLoading=!0,this._fireLoadingChanged(e||"")},endCustomLoading:function(){this._isCustomLoading=!1,this._fireLoadingChanged()},refresh:function(){var e=this,t=o.Deferred();return o.when(this._columnsController.refresh()).always(function(){o.when(e.reload(!0)).done(t.resolve).fail(t.reject)}),t},_disposeDataSource:function(){this.setDataSource(null)}};return a.proxyMethod(e,"load"),a.proxyMethod(e,"reload"),a.proxyMethod(e,"itemsCount",0),a.proxyMethod(e,"totalItemsCount",0),a.proxyMethod(e,"hasKnownLastPage",!0),a.proxyMethod(e,"isLoaded",!0),a.proxyMethod(e,"totalCount",0),e}()),a.registerModule("data",{defaultOptions:function(){return{loadingTimeout:0,dataSource:null,cacheEnabled:!0,onDataErrorOccurred:null,remoteOperations:"auto",paging:{enabled:!0,pageSize:void 0,pageIndex:void 0}}},controllers:{data:t.DataController}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(9),r=n(20),s="dx-error-row",l="dx-error-message",c="dx-closebutton",d="dx-datagrid-action";t.ErrorHandlingController=r.ViewController.inherit({init:function(){var e=this;e._columnHeadersView=e.getView("columnHeadersView"),e._rowsView=e.getView("rowsView")},_createErrorRow:function(e,t){var n=this,i=o("<tr />").addClass(s),r=o("<div/>").addClass(l).text(e),u=o("<div/>").addClass(c).addClass(d);return u.on(a.name,n.createAction(function(e){var i,a=e.jQueryEvent,r=o(a.currentTarget).closest("."+s).index();a.stopPropagation(),o.each(t,function(e,t){i=o(t).find("tbody > tr").eq(r),n.removeErrorRow(i)})})),o("<td/>").attr({colspan:n.getController("columns").getVisibleColumns().length,role:"presentation"}).prepend(u).append(r).appendTo(i),i},renderErrorRow:function(e,t){var n,i,a,r=this,s=t>=0?r._rowsView:r._columnHeadersView,l=s.getTableElements();o.each(l,function(c,d){i=r._createErrorRow(e,l),a=o(d).find("tr"),t>=0?(n=s._getRowElements(o(d)).eq(t),r.removeErrorRow(a.eq(n.index()+1)),i.insertAfter(n)):(r.removeErrorRow(a.last()),o(d).append(i))})},removeErrorRow:function(e){var t=this._columnHeadersView&&this._columnHeadersView.element();e=e||t&&t.find("."+s),e&&e.hasClass(s)&&e.remove()},optionChanged:function(e){var t=this;switch(e.name){case"errorRowEnabled":e.handled=!0;break;default:t.callBase(e)}}}),r.registerModule("errorHandling",{defaultOptions:function(){return{errorRowEnabled:!0}},controllers:{errorHandling:t.ErrorHandlingController},extenders:{controllers:{data:{init:function(){var e=this,t=e.getController("errorHandling");e.callBase(),e.dataErrorOccurred.add(function(n){var i=n&&n.message||n;e.option("errorRowEnabled")&&t.renderErrorRow(i)}),e.changed.add(function(){var t=e.getController("errorHandling"),n=e.getController("editing");n&&!n.hasChanges()&&t&&t.removeErrorRow()})}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(20),l=n(47),c=n(154),d=n(8),u=c.excel,h=n(25),p=n(90),f=n(126),_="dx-datagrid-export-menu",g="dx-datagrid-export-button",m="export-to",v="exportxlsx",x="exportselected",w="export-excel-button";t.DataProvider=a.inherit({_getGroupValue:function(e){var t,n=this._options.groupColumns[e.groupIndex],i=s.getDisplayValue(n,e.values[e.groupIndex],e.data,e.rowType),o=n.caption+": "+s.formatValue(i,n);return t=this._options.getVisibleIndex(n.index),e.summaryCells&&e.summaryCells.length&&e.summaryCells[t].length&&(o+=" "+s.getGroupRowSummaryText(e.summaryCells[t],this._options.summaryTexts)),o},_correctCellIndex:function(e){var t=this._options.startValueIndex,n=this._options.endValueIndex;return n>=e?t+e:null},_initOptions:function(){var e=this._exportController,t=e._columnsController.getGroupColumns(),n=e._getStartEndValueIndexces(e._columnsController.getVisibleColumns());this._options={columns:e._getColumns(),groupColumns:t,items:e._selectionOnly?e._getSelectedItems():e._getAllItems(),getVisibleIndex:o.proxy(e._columnsController.getVisibleIndex,e._columnsController),startValueIndex:n.startIndex,endValueIndex:n.endIndex,isHeadersVisible:e.option("showColumnHeaders"),summaryTexts:e.option("summary.texts"),customizeExportData:e.option("customizeExportData")}},ctor:function(e){this._exportController=e},getColumns:function(e){var t=this._options.columns;return e?t:t[t.length-1]},getRowsCount:function(){return this._options.items.length},getHeaderRowCount:function(){return this.isHeadersVisible()?this._options.columns.length-1:0},isGroupRow:function(e){return e<this._options.items.length&&"group"===this._options.items[e].rowType},getGroupLevel:function(e){var t=this._options.items[e],n=t&&t.groupIndex;return t&&"totalFooter"===t.rowType?0:r.isDefined(n)?n:this._options.groupColumns.length},getCellType:function(e,t){var n=this.getColumns();if(t<n.length){var i=this._options.items.length&&this._options.items[e],o=n[t];return i&&"data"===i.rowType&&isFinite(i.values[this._correctCellIndex(t)])&&!r.isDefined(o.customizeText)?r.isDefined(o.lookup)?o.lookup.dataType:o.dataType:"string"}},ready:function(){var e,t=this;return t._initOptions(),e=this._options,o.when(e.items).done(function(n){e.customizeExportData&&e.customizeExportData(t.getColumns(t.getHeaderRowCount()>1),n),e.items=n})},getCellValue:function(e,t){var n,i,o,a,l,c=this.getColumns(),d=this._correctCellIndex(t),u=this._options.items.length&&this._options.items[e];if(u)switch(l=u.values,u.rowType){case"groupFooter":case"totalFooter":if(d<l.length&&(i=l[d],r.isDefined(i)))return s.getSummaryText(i,this._options.summaryTexts);break;case"group":if(1>t)return this._getGroupValue(u);if(a=u.values[d],r.isArray(a)){for(i="",o=0;o<a.length;o++)i+=(o>0?" \n ":"")+s.getSummaryText(a[o],this._options.summaryTexts);return i}break;default:if(n=c[t])return i=s.getDisplayValue(n,l[d],u.data,u.rowType),!isFinite(i)||n.customizeText?s.formatValue(i,n):i}},isHeadersVisible:function(){return this._options.isHeadersVisible},isTotalCell:function(e,t){var n=this._options.items,i=n[e],o=this._correctCellIndex(t),a=i.summaryCells&&i.summaryCells[o]&&i.summaryCells[o].length>0&&i.summaryCells[o][0].alignByColumn;return i&&"groupFooter"===i.rowType||"totalFooter"===i.rowType||a},getCellMerging:function(e,t){var n=this._options.columns,i=n[e]&&n[e][t];return i?{colspan:(i.colspan||1)-1,rowspan:(i.rowspan||1)-1}:{colspan:0,rowspan:0}},getFrozenArea:function(){var e=this;return{x:0,y:e.getHeaderRowCount()}}}),t.ExportController=s.ViewController.inherit({}).include(l.exportMixin).inherit({_getEmptyCell:function(){return{caption:"",colspan:1,rowspan:1}},_updateColumnWidth:function(e,t){e.width=t},_getColumns:function(){var e,t,n,i,a=[],r=this._columnsController,s=r.getRowCount(),l=this._headersView&&this._headersView.isVisible()?this._headersView.getColumnWidths():this._rowsView.getColumnWidths();for(e=0;s>=e;e++)for(a.push([]),i=r.getVisibleColumns(e),t=0;t<i.length;t++)n=o.extend({},i[t]),n.command||(e===s&&l&&l.length&&this._updateColumnWidth(n,l[t]),a[e].push(n));return i=a[s],a=this._prepareItems(0,a.slice(0,-1)),a.push(i),a},_getFooterSummaryItems:function(e,t){var n,i,o,a,r=[],s=1,l=0;do{for(n=[],a=0;a<e.length;a++)o=e[a],i=o.length,i>s&&(s=i),n.push(o[l]);r.push({values:n,rowType:t?"totalFooter":"groupFooter"})}while(l++<s-1);return r},_hasSummaryGroupFooters:function(){var e,t=this.option("summary.groupItems");if(r.isDefined(t))for(e=0;e<t.length;e++)if(t[e].showInGroupFooter)return!0;return!1},_getItemsWithSummaryGroupFooters:function(e){var t,n,i=[],o=[],a=[];for(n=0;n<e.length;n++)t=e[n],"groupFooter"===t.rowType?(a=this._getFooterSummaryItems(t.summaryCells),i=i.concat(o,a),o=[]):o.push(t);return i.length?i:o},_updateGroupValuesWithSummaryByColumn:function(e){var t,n,i,a,s,l,c,d=[];for(c=0;c<e.length;c++)if(t=e[c],n=t.summaryCells,"group"===t.rowType&&n&&n.length>1){for(a=t.values.length,l=1;l<n.length;l++)for(s=0;s<n[l].length;s++)i=n[l][s],i&&i.alignByColumn&&(r.isArray(d[l-a])||(d[l-a]=[]),d[l-a].push(i));d.length>0&&(o.merge(t.values,d),d=[])}},_getAllItems:function(e){var t,n,i=this,a=o.Deferred(),s=this.getController("data"),l=s.footerItems(),c=l.length&&l[0],d=i.option("summary.totalItems");return s.loadAll(e).done(function(e,o){i._updateGroupValuesWithSummaryByColumn(e),i._hasSummaryGroupFooters()&&(e=i._getItemsWithSummaryGroupFooters(e)),t=c&&c.summaryCells,r.isDefined(o)&&d&&(t=s._getSummaryCells(d,o)),n=c&&i._getFooterSummaryItems(t,!0),n&&(e=e.concat(n)),a.resolve(e)}).fail(a.reject),a},_getSelectedItems:function(){var e=this.getController("selection"),t=e.getSelectedRowsData();return this._getAllItems(t)},_getStartEndValueIndexces:function(e){var t,n,i,o=e.length;for(t=0;o>t;t++)if(!r.isDefined(e[t].command)){n=t;break}for(t=o-1;t>=0;t--)if(!r.isDefined(e[t].command)){i=t;break}return{startIndex:n,endIndex:i}},init:function(){this._columnsController=this.getController("columns"),this._rowsView=this.getView("rowsView"),this._headersView=this.getView("columnHeadersView"),this.createAction("onExporting",{excludeValidators:["disabled","readOnly"]}),this.createAction("onExported",{excludeValidators:["disabled","readOnly"]}),this.createAction("onFileSaving",{excludeValidators:["disabled","readOnly"]})},callbackNames:function(){return["selectionOnlyChanged"]},getExportFormat:function(){return["EXCEL"]},getDataProvider:function(){return new t.DataProvider(this)},exportToExcel:function(e){var t=this,n=this.option("export.excelWrapTextEnabled");t._selectionOnly=e,c.export(t.component.getDataProvider(),{fileName:t.option("export.fileName"),proxyUrl:t.option("export.proxyUrl"),format:"EXCEL",wrapTextEnabled:r.isDefined(n)?n:!!this.option("wordWrapEnabled"),autoFilterEnabled:!!t.option("export.excelFilterEnabled"),rtlEnabled:t.option("rtlEnabled"),exportingAction:t.getAction("onExporting"),exportedAction:t.getAction("onExported"),fileSavingAction:t.getAction("onFileSaving")},u.getBlob)},publicMethods:function(){return["getDataProvider","getExportFormat","exportToExcel"]},selectionOnly:function(e){return r.isDefined(e)?(this._isSelectedRows=e,void this.selectionOnlyChanged.fire()):this._isSelectedRows}}),s.registerModule("export",{defaultOptions:function(){return{"export":{enabled:!1,fileName:"DataGrid",excelFilterEnabled:!1,excelWrapTextEnabled:void 0,proxyUrl:void 0,allowExportSelectedData:!1,texts:{exportTo:d.format("dxDataGrid-exportTo"),exportAll:d.format("dxDataGrid-exportAll"),exportSelectedRows:d.format("dxDataGrid-exportSelectedRows")}}}},controllers:{"export":t.ExportController},extenders:{controllers:{editing:{callbackNames:function(){var e=this.callBase();return r.isDefined(e)?e.push("editingChanged"):["editingChanged"]},_updateEditButtons:function(){this.callBase(),this.editingChanged.fire(this.hasChanges())}}},views:{headerPanel:{_getToolbarItems:function(){var e=this.callBase();return this._appendExportItems(e)},_appendExportItems:function(e){var t=this,n=t.option("export");if(n.enabled){var i=[];n.allowExportSelectedData?i.push({template:function(e,n,i){t._renderButton(e,i),t._renderExportMenu(i)},menuItemTemplate:function(e,n,i){t._renderList(e,i)},name:"export",allowExportSelected:!0,location:"after",locateInMenu:"auto"}):i.push({template:function(e,n,i){t._renderButton(e,i)},menuItemTemplate:function(e,n,i){t._renderButton(e,i,!0)},name:"export",location:"after",locateInMenu:"auto"}),e=e.concat(i),t._correctSearchPanelPosition(e)}return e},_renderButton:function(e,t,n){var i=this,o=i._getButtonOptions(e.allowExportSelected),a=i._getButtonContainer().addClass(g).appendTo(t);n&&(t.wrapInner("<div class='dx-toolbar-item-auto-hide'></div>").parent().addClass("dx-toolbar-menu-action dx-toolbar-menu-button dx-toolbar-hidden-button"),o.text=o.hint),i._createComponent(a,h,o)},_renderList:function(e,t){var n=this,i=n.option("export.texts"),a=function(e,t,n){var i=o("<div />").addClass("dx-icon dx-icon-"+n),a=o("<span class='dx-button-text'/>").text(e.text),r=o("<div class='dx-button-content' />").append(i).append(a),s=o("<div class='dx-button dx-button-has-text dx-button-has-icon dx-datagrid-toolbar-button'>").append(r),l=o("<div class ='dx-toolbar-item-auto-hide' />").append(s);t.append(l).parent().addClass("dx-toolbar-menu-custom dx-toolbar-hidden-button")},r=[{template:function(e,t,n){a(e,n,v)},text:i.exportAll},{template:function(e,t,n){a(e,n,x)},text:i.exportSelectedRows,exportSelected:!0}];n._createComponent(t,p,{items:r,onItemClick:function(e){n._exportController.exportToExcel(e.itemData.exportSelected)},scrollingEnabled:!1})},_correctSearchPanelPosition:function(e){e.sort(function(e,t){var n=0;return"searchPanel"===e.name||"columnChooser"===e.name&&"searchPanel"!==t.name?n=1:"searchPanel"===t.name&&(n=-1),n})},_renderExportMenu:function(e){var t=this,n=e.find(".dx-button"),i=t.option("export.texts"),a=[{text:i.exportAll,icon:v},{text:i.exportSelectedRows,exportSelected:!0,icon:x}];t._createComponent(o("<div>").appendTo(t.component.element()),f,{alternativeInvocationMode:{enabled:!0,invokingElement:n},items:a,cssClass:_,onItemClick:function(e){t._exportController.exportToExcel(e.itemData.exportSelected)},target:n,position:{at:"left bottom",my:"left top",offset:"0 3",collision:"fit",boundary:t._$parent,boundaryOffset:"1 1"}})},_isExportButtonVisible:function(){return this.option("export.enabled")},_getButtonOptions:function(e){var t,n=this,i=n.option("export.texts");return t=e?{hint:i.exportTo,icon:m,onClick:null}:{hint:i.exportAll,icon:w,onClick:function(){n._exportController.exportToExcel()}}},optionChanged:function(e){this.callBase(e),"export"===e.name&&(e.handled=!0,this._invalidate(),this._invalidateToolbarItems())},init:function(){var e=this;this.callBase(),this._exportController=this.getController("export"),this._editingController=this.getController("editing"),this._editingController.editingChanged.add(function(t){e.updateToolbarItemOption("export","disabled",t)})},isVisible:function(){return this.callBase()||this._isExportButtonVisible()}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return"onClick"===e.option("filterRow.applyFilter")}var a=n(1),r=n(2),s=n(20),l=n(8),c=n(31),d=n(50),u=n(319);n(224);var h={"=":"filter-operation-equals","<>":"filter-operation-not-equals","<":"filter-operation-less","<=":"filter-operation-less-equal",">":"filter-operation-greater",">=":"filter-operation-greater-equal","default":"filter-operation-default",notcontains:"filter-operation-not-contains",contains:"filter-operation-contains",startswith:"filter-operation-starts-with",endswith:"filter-operation-ends-with",between:"filter-operation-between"},p=700,f=1,_="dx-datagrid",g="dx-datagrid-filter-row",m="dx-menu",v="dx-editor-with-menu",x="dx-editor-container",w="dx-editor-cell",y="dx-filter-menu",b="dx-apply-button",C="dx-highlight-outline",k="dx-focused",S="dx-cell-focus-disabled",T="dx-datagrid-filter-range-overlay",I="dx-filter-range-content",D="dx-datagrid-filter-range-start",E="dx-datagrid-filter-range-end",A=function(){var e=function(e){var t=e&&e.children(),n=t&&t.data("dxComponents"),i=n&&n.length&&t.data(n[0]);return i instanceof c?i:void 0},t=function(e,t){var i=n(e,t),o="";return r.isArray(i)?(o=s.formatValue(i[0],t),""!==s.formatValue(i[1],t)&&(o+=" - "+s.formatValue(i[1],t))):r.isDefined(i)&&(o=s.formatValue(i,t)),o},n=function(e,t){return t?o(e)&&void 0!==t.bufferedFilterValue?t.bufferedFilterValue:t.filterValue:void 0},i=function(e,t){return t?o(e)&&void 0!==t.bufferedSelectedFilterOperation?t.bufferedSelectedFilterOperation:t.selectedFilterOperation:void 0},b=function(e,t,i){var o=e._columnsController.columnOption(t),a=n(e,o),s=i.closest("."+T).length,l=i.hasClass(D);return a&&r.isArray(a)?l?a[0]:a[1]:s?void 0:a},C=function(e,t,o,a){if("between"===i(e,o)){var s=n(e,o);return a.hasClass(D)?[t,r.isArray(s)?s[1]:void 0]:[r.isArray(s)?s[0]:s,t]}return t},A=function(e,t){var n=""===t.value?null:t.value,i=t.container,a=e._columnsController.columnOption(t.column.index),s=b(e,a.index,i);(r.isDefined(s)||r.isDefined(n))&&(e._applyFilterViewController.setHighLight(i,s!==n),e._columnsController.columnOption(a.index,o(e)?"bufferedFilterValue":"filterValue",C(e,n,a,i),t.notFireEvent))};return{_updateEditorValue:function(t,n){var i=this,o=e(n);o&&o.option("value",b(i,t.index,n))},_columnOptionChanged:function(e){var n,o,r,l,c,d,u,h,p=this,f=e.optionNames;return s.checkChanges(f,["filterValue","bufferedFilterValue","selectedFilterOperation","bufferedSelectedFilterOperation"])&&void 0!==e.columnIndex?(o=p.getController("columns").getVisibleIndex(e.columnIndex),r=p.getController("columns").columnOption(e.columnIndex),l=p.getCellElement(p.element().find("."+g).index(),o)||a(),u=l.find("."+I),c=l.find("."+x).first(),(f.filterValue||f.bufferedFilterValue)&&(p._updateEditorValue(r,c),n=l.find("."+T).data("dxOverlay"),n&&(d=n.content().find("."+x),p._updateEditorValue(r,d.first()),p._updateEditorValue(r,d.last())),n&&n.option("visible")||p._updateFilterRangeContent(l,t(p,r))),void((f.selectedFilterOperation||f.bufferedSelectedFilterOperation)&&o>=0&&r&&(h=l.find("."+m),h.length&&(p._updateFilterOperationChooser(h,r,c),"between"===i(p,r)?(p._renderFilterRangeContent(l,r),p._showFilterRange(l,r)):c.find("."+I).length&&(p._renderEditor(c,p._getEditorOptions(c,r)),p._hideFilterRange()))))):void p.callBase(e)},_resizeCore:function(){this.callBase.apply(this,arguments),this._filterRangeOverlayInstance&&this._filterRangeOverlayInstance.repaint()},isFilterRowVisible:function(){return this._isElementVisible(this.option("filterRow"))},isVisible:function(){return this.callBase()||this.isFilterRowVisible()},init:function(){this.callBase(),this._applyFilterViewController=this.getController("applyFilter")},_initFilterRangeOverlay:function(e,n){var o=this,r={},s=e.find(".dx-editor-container"),l=a("<div/>").addClass(T).appendTo(e);return o._createComponent(l,d,{height:"auto",shading:!1,showTitle:!1,focusStateEnabled:!1,closeOnTargetScroll:!0,closeOnOutsideClick:!0,animation:!1,position:{my:"top",at:"top",of:s.length&&s||e,offset:"0 -1"},contentTemplate:function(t){var i=a("<div/>").addClass(x+" "+D).appendTo(t),s=o._getEditorOptions(i,n);return s.sharedData=r,o._renderEditor(i,s),i.find("input").on("keydown",function(t){var n=e.find("[tabindex]").not(t.target).first();9===t.which&&t.shiftKey&&(t.preventDefault(),o._hideFilterRange(),n.length||(n=e.prev().find("[tabindex]").last()),n.focus())}),i=a("<div/>").addClass(x+" "+E).appendTo(t),s=o._getEditorOptions(i,n),s.sharedData=r,o._renderEditor(i,s),i.find("input").on("keydown",function(t){9!==t.which||t.shiftKey||(t.preventDefault(),o._hideFilterRange(),e.next().find("[tabindex]").first().focus())}),t.addClass(_)},onShown:function(e){var t=e.component.content().find("."+x).first();t.find("input").focus()},onHidden:function(){var a=o._columnsController.columnOption(n.index);e.find("."+m).parent().addClass(v),"between"===i(o,a)&&(o._updateFilterRangeContent(e,t(o,a)),o.component.updateDimensions())}})},_updateFilterRangeOverlay:function(e){var t=this._filterRangeOverlayInstance;t&&t.option(e)},_showFilterRange:function(e,t){var n=this,i=e.children("."+T),o=i.length&&i.data("dxOverlay");!o&&t&&(o=n._initFilterRangeOverlay(e,t)),o.option("visible")||(n._filterRangeOverlayInstance&&n._filterRangeOverlayInstance.hide(),n._filterRangeOverlayInstance=o,n._updateFilterRangeOverlay({width:e.outerWidth(!0)+f}),n._filterRangeOverlayInstance&&n._filterRangeOverlayInstance.show())},_hideFilterRange:function(){var e=this._filterRangeOverlayInstance;e&&e.hide()},getFilterRangeOverlayInstance:function(){return this._filterRangeOverlayInstance},_createRow:function(e){var t=this.callBase(e);return"filter"===e.rowType&&t.addClass(g),t},_getRows:function(){var e=this.callBase();return this.isFilterRowVisible()&&e.push({rowType:"filter"}),e},_renderCellContent:function(e,t){var n,o,r=this,s=t.column;"filter"===t.rowType&&(s.command?e.html("&nbsp;"):s.allowFiltering&&(r.setAria("label",l.format("dxDataGrid-ariaColumn")+" "+s.caption+", "+l.format("dxDataGrid-ariaFilterCell"),e),e.addClass(w),n=a("<div />").appendTo(e),o=a("<div />").addClass(x).appendTo(n),"between"===i(r,s)?r._renderFilterRangeContent(e,s):r._renderEditor(o,r._getEditorOptions(o,s)),s.alignment&&e.find("input").first().css("text-align",s.alignment),s.filterOperations&&s.filterOperations.length&&r._renderFilterOperationChooser(n,s,o))),r.callBase(e,t)},_getEditorOptions:function(e,t){var n=this,o=a.extend({},t,{value:b(n,t.index,e),parentType:"filterRow",showAllText:n.option("filterRow.showAllText"),updateValueTimeout:"onClick"===n.option("filterRow.applyFilter")?0:p,width:null,setValue:function(i,o){A(n,{column:t,value:i,container:e,notFireEvent:o})}});return"between"===i(n,t)&&(e.hasClass(D)?o.placeholder=n.option("filterRow.betweenStartText"):o.placeholder=n.option("filterRow.betweenEndText")),o},_renderEditor:function(e,t){return e.empty(),this.getController("editorFactory").createEditor(a("<div />").appendTo(e),t)},_renderFilterRangeContent:function(e,n){var i=this,o=e.find("."+x).first();o.empty(),a("<div/>").addClass(I).attr("tabindex",0).on("focusin",function(t){i._showFilterRange(e,n)}).appendTo(o),i._updateFilterRangeContent(e,t(i,n))},_updateFilterRangeContent:function(e,t){var n=e.find("."+I);n.length&&(""===t?n.html("&nbsp;"):n.text(t))},_updateFilterOperationChooser:function(e,t,n){var a,r=this;r._createComponent(e,u,{_templates:{},activeStateEnabled:!1,selectionMode:"single",cssClass:_+" "+S+" "+y,showFirstSubmenuMode:"onHover",hideSubmenuOnMouseLeave:!0,items:[{disabled:!t.filterOperations||!t.filterOperations.length,icon:h[i(r,t)||"default"],selectable:!1,items:r._getFilterOperationMenuItems(t)}],onItemClick:function(e){var a=e.itemData.name,s=i(r,t),l=!1,c=o(r),d={};e.itemData.items||a===s||(a?(d[c?"bufferedSelectedFilterOperation":"selectedFilterOperation"]=a,"between"!==a&&"between"!==s||(l="between"===a,d[c?"bufferedFilterValue":"filterValue"]=null)):(d[c?"bufferedSelectedFilterOperation":"selectedFilterOperation"]=t.defaultSelectedFilterOperation||null,
d[c?"bufferedFilterValue":"filterValue"]=null),r._columnsController.columnOption(t.index,d),r._applyFilterViewController.setHighLight(n,!0),!l&&r._focusEditor(n))},onSubmenuShown:function(){a=r._isEditorFocused(n),r.getController("editorFactory").loseFocus()},onSubmenuHiding:function(t){e.blur(),u.getInstance(e).option("focusedElement",null),a&&r._focusEditor(n)},rtlEnabled:r.option("rtlEnabled")})},_isEditorFocused:function(e){return e.hasClass(k)||e.parents("."+k).length},_focusEditor:function(e){this.getController("editorFactory").focus(e),e.find("input").focus()},_renderFilterOperationChooser:function(e,t,n){var i,o=this;o.option("filterRow.showOperationChooser")&&(e.addClass(v),i=a("<div />").prependTo(e),o._updateFilterOperationChooser(i,t,n))},_getFilterOperationMenuItems:function(e){var t=this,n=[{}],o=t.option("filterRow"),r=o&&o.operationDescriptions||{};return e.filterOperations&&e.filterOperations.length&&(n=a.map(e.filterOperations,function(n){return{name:n,selected:(i(t,e)||e.defaultFilterOperation)===n,text:r[n],icon:h[n]}}),n.push({name:null,text:o&&o.resetOperationText,icon:h.default})),n},optionChanged:function(e){var t=this;switch(e.name){case"filterRow":case"showColumnLines":this._invalidate(!0,!0),e.handled=!0;break;default:t.callBase(e)}}}}(),B={_calculateAdditionalFilter:function(){var e=this,t=[e.callBase()],n=e._columnsController.getVisibleColumns();return a.each(n,function(){var e;this.allowFiltering&&this.calculateFilterExpression&&r.isDefined(this.filterValue)&&(e=this.createFilterExpression(this.filterValue,this.selectedFilterOperation||this.defaultFilterOperation,"filterRow"),t.push(e))}),s.combineFilters(t)}};t.ApplyFilterViewController=s.ViewController.inherit({_getHeaderPanel:function(){return this._headerPanel||(this._headerPanel=this.getView("headerPanel")),this._headerPanel},setHighLight:function(e,t){o(this)&&(e&&e.toggleClass(C,t),this._getHeaderPanel().enableApplyButton(t))},applyFilter:function(){var e=this.getController("columns"),t=e.getColumns();e.beginUpdate();for(var n=0;n<t.length;n++)void 0!==t[n].bufferedFilterValue&&(e.columnOption(n,"filterValue",t[n].bufferedFilterValue),t[n].bufferedFilterValue=void 0),void 0!==t[n].bufferedSelectedFilterOperation&&(e.columnOption(n,"selectedFilterOperation",t[n].bufferedSelectedFilterOperation),t[n].bufferedSelectedFilterOperation=void 0);e.endUpdate(),this.removeHighLights()},removeHighLights:function(){if(o(this)){var e=this.getView("columnHeadersView");e.element().find("."+g+" ."+C).removeClass(C),this._getHeaderPanel().enableApplyButton(!1)}}}),s.registerModule("filterRow",{defaultOptions:function(){return{filterRow:{visible:!1,showOperationChooser:!0,showAllText:l.format("dxDataGrid-filterRowShowAllText"),resetOperationText:l.format("dxDataGrid-filterRowResetOperationText"),applyFilter:"auto",applyFilterText:l.format("dxDataGrid-applyFilterText"),operationDescriptions:{"=":l.format("dxDataGrid-filterRowOperationEquals"),"<>":l.format("dxDataGrid-filterRowOperationNotEquals"),"<":l.format("dxDataGrid-filterRowOperationLess"),"<=":l.format("dxDataGrid-filterRowOperationLessOrEquals"),">":l.format("dxDataGrid-filterRowOperationGreater"),">=":l.format("dxDataGrid-filterRowOperationGreaterOrEquals"),startswith:l.format("dxDataGrid-filterRowOperationStartsWith"),contains:l.format("dxDataGrid-filterRowOperationContains"),notcontains:l.format("dxDataGrid-filterRowOperationNotContains"),endswith:l.format("dxDataGrid-filterRowOperationEndsWith"),between:l.format("dxDataGrid-filterRowOperationBetween")},betweenStartText:l.format("dxDataGrid-filterRowOperationBetweenStartText"),betweenEndText:l.format("dxDataGrid-filterRowOperationBetweenEndText")}}},controllers:{applyFilter:t.ApplyFilterViewController},extenders:{controllers:{data:B,columnsResizer:{_startResizing:function(){var e,t,n=this;n.callBase.apply(n,arguments),n.isResizing()&&(t=n._columnHeadersView.getFilterRangeOverlayInstance(),t&&(e=t.element().closest("td").index(),e!==n._targetPoint.columnIndex&&e!==n._targetPoint.columnIndex+1||t.content().hide()))},_endResizing:function(e){var t,n,i=this;i.isResizing()&&(n=i._columnHeadersView.getFilterRangeOverlayInstance(),n&&(t=n.element().closest("td"),i._columnHeadersView._updateFilterRangeOverlay({width:t.outerWidth(!0)+f}),n.content().show())),i.callBase.apply(i,arguments)}}},views:{columnHeadersView:A,headerPanel:{_getToolbarItems:function(){var e=this.callBase(),t=this._prepareFilterItem(e);return t.concat(e)},_prepareFilterItem:function(e){var t=this,n=t.getToolbarItemOption("filterRow","disabled"),i=r.isDefined(n)?n:!0,o=[];if(t._isShowApplyFilterButton()){var a=t.option("filterRow.applyFilterText"),s=function(e){e.element.addClass(t._getToolbarButtonClass(b))},l=function(){t._applyFilterViewController.applyFilter()},c={widget:"dxButton",options:{icon:"apply-filter",onClick:l,hint:a,text:a,onInitialized:s},showText:"inMenu",name:"filterRow",disabled:i,location:"after",locateInMenu:"auto"};o.push(c)}return o},_isShowApplyFilterButton:function(){var e=this.option("filterRow");return e&&e.visible&&"onClick"===e.applyFilter},init:function(){this.callBase(),this._dataController=this.getController("data"),this._applyFilterViewController=this.getController("applyFilter")},enableApplyButton:function(e){this.updateToolbarItemOption("filterRow","disabled",!e)},isVisible:function(){return this.callBase()||this._isShowApplyFilterButton()},optionChanged:function(e){"filterRow"===e.name?(this._invalidate(),this._invalidateToolbarItems(),e.handled=!0):this.callBase(e)}}}}}),t.ColumnHeadersViewFilterRowExtender=A,t.DataControllerFilterRowExtender=B}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(21),r=n(2),s=n(86),l=n(8),c=n(20),d="dx-datagrid-content",u="dx-master-detail-cell",h="dx-first-cell",p="dx-last-cell",f="dx-state-hover",_="dx-datagrid-content-fixed",g="dx-col-fixed",m="dx-pointer-events-target",v="dx-pointer-events-none",x=function(e){var t=-1;return o.each(e,function(e,n){return"transparent"===n.command?(t=e,!1):void 0}),t},w=function(e,t,n){var i,o=0;if(e&&t&&n)for(i=0;i<e.length;i++)"transparent"===e[i].command?o+=e[i].colspan:(t[o]<n[i]&&(t[o]=n[i]),o++);return t},y={init:function(){this.callBase(),this._isFixedTableRendering=!1,this._isFixedColumns=!1},_createCol:function(e){return this.callBase(e).toggleClass(g,!(!this._isFixedTableRendering||!(e.fixed||e.command&&"transparent"!==e.command)))},_createColGroup:function(e){if(this._isFixedTableRendering)for(var t=this._columnsController.getVisibleColumns(),n=0;n<t.length;n++)if(!t[n].visibleWidth&&!t[n].width){e=t;break}return this.callBase(e)},_renderTable:function(e){var t,n,i=this,a=i.getFixedColumns();return i._isFixedColumns=!!a.length,n=i.callBase(e),i._isFixedColumns?(i._isFixedTableRendering=!0,t=i._createTable(a),i._renderRows(t,o.extend({},e,{columns:a})),i._updateContent(t,e&&e.change),i._isFixedTableRendering=!1):(i._fixedTableElement&&i._fixedTableElement.remove(),i._fixedTableElement=null),n},_createCell:function(e){var t,n,i,o=this,a=e.column,r=a&&a.command,s=e.rowType,l=o.callBase.apply(o,arguments);return(o._isFixedTableRendering||"filter"===s)&&(t=o.getFixedColumns(),i=x(t),n=t[i-1]),o._isFixedTableRendering?"transparent"===r&&l.addClass(v).toggleClass(h,0===i||n&&"expand"===n.command).toggleClass(p,t.length&&i===t.length-1).html("freeSpace"!==s?"&nbsp;":""):"filter"===s&&l.toggleClass(h,e.columnIndex===i),l},_wrapTableInScrollContainer:function(){var e=this.callBase.apply(this,arguments);return this._isFixedTableRendering&&e.addClass(_+" "+m),e},_renderCellContent:function(e,t){var n,i,o,a,s=this,l=t.column;return!s._isFixedTableRendering&&s._isFixedColumns&&(i=l.fixed||l.command,"group"===t.rowType&&r.isDefined(l.groupIndex)&&(i=!1,t.row.summaryCells&&t.row.summaryCells.length&&(n=s._columnsController.getVisibleColumns(),a=s._getAlignByColumnCellCount?s._getAlignByColumnCellCount(l.colspan,{columns:n,row:t.row,isFixed:!0}):0,a>0&&(o=x(s._columnsController.getFixedColumns()),i=n.length-a<o))),i)?void e.html("&nbsp;").addClass(l.cssClass):void("transparent"!==l.command&&s.callBase(e,t))},getCellElements:function(e){var t,n,i,a=this,r=a.callBase(e),s="columnHeadersView"===a.name?e:void 0;return a._fixedTableElement&&r&&(t=a.getFixedColumns(s),i=a._getRowElements(a._fixedTableElement).eq(e).children("td"),o.each(t,function(e,t){"transparent"===t.command?i.eq(e).hasClass(u)&&(r[e]=i.get(e)):(n=a._columnsController.getVisibleIndex(t.index,s),r[n]=i.get(e))})),r},getColumnWidths:function(){var e,t=this,n=t.callBase(),i=t.getFixedColumns();return t._fixedTableElement&&n.length&&(e=t.callBase(t._fixedTableElement)),w(i,n,e)},_getTableElement:function(){var e=this._isFixedTableRendering?this._fixedTableElement:this.callBase();return e},_setTableElement:function(e){this._isFixedTableRendering?this._fixedTableElement=e.addClass(v):this.callBase(e)},getColumns:function(e,t){return t=t||this._getTableElement(),this._isFixedTableRendering||t&&t.closest("table").parent("."+_).length?this.getFixedColumns(e):this.callBase(e,t)},getRowIndex:function(e){var t=this._fixedTableElement;return t&&t.find(e).length?this._getRowElements(t).index(e):this.callBase(e)},getTableElements:function(){var e=this.callBase.apply(this,arguments);return this._fixedTableElement&&(e=e.add(this._fixedTableElement)),e},getFixedColumns:function(e){return this._columnsController.getFixedColumns(e)},getFixedColumnsOffset:function(){var e,t,n={left:0,right:0};return this._fixedTableElement&&(e=this.getTransparentColumnElement(),t=e.position(),n={left:t.left,right:this.element().outerWidth(!0)-(e.outerWidth(!0)+t.left)}),n},getTransparentColumnElement:function(){return this._fixedTableElement&&this._fixedTableElement.find("."+v).first()},getFixedTableElement:function(){return this._fixedTableElement},isFixedColumns:function(){return this._isFixedColumns},_resizeCore:function(){this.callBase(),this.synchronizeRows()},setColumnWidths:function(e){this.callBase(e),this.synchronizeRows()},_getClientHeight:function(e){var t=e.getBoundingClientRect&&e.getBoundingClientRect();return t&&t.height?t.height:e.clientHeight},synchronizeRows:function(){var e,t,n,i,o,a,r,s=this,l=[],c=[];if(s._isFixedColumns&&s._tableElement&&s._fixedTableElement&&(i=s._getClientHeight(s._tableElement.get(0)),o=s._getClientHeight(s._fixedTableElement.get(0)),a=s._getRowElements(s._tableElement),r=s._getRowElements(s._fixedTableElement),i!==o)){for(a.css("height",""),r.css("height",""),n=0;n<a.length;n++)l.push(s._getClientHeight(a.get(n))),c.push(s._getClientHeight(r.get(n)));for(n=0;n<a.length;n++)e=l[n],t=c[n],e>t?r.eq(n).css("height",e):t>e&&a.eq(n).css("height",t)}}},b=o.extend({},y,{_getRowVisibleColumns:function(e){return this._isFixedTableRendering?this.getFixedColumns(e):this.callBase(e)},getContextMenuItems:function(e){var t,n=this,i=e.column,o=n.option("columnFixing"),a=n.callBase(e);return e.row&&"header"===e.row.rowType&&i&&i.allowFixing&&(t=function(e){switch(e.itemData.value){case"none":n._columnsController.columnOption(i.index,"fixed",!1);break;case"left":n._columnsController.columnOption(i.index,{fixed:!0,fixedPosition:"left"});break;case"right":n._columnsController.columnOption(i.index,{fixed:!0,fixedPosition:"right"})}},a=a||[],a.push({text:o.texts.fix,beginGroup:!0,items:[{text:o.texts.leftPosition,value:"left",disabled:i.fixed&&(!i.fixedPosition||"left"===i.fixedPosition),onItemClick:t},{text:o.texts.rightPosition,value:"right",disabled:i.fixed&&"right"===i.fixedPosition,onItemClick:t}]},{text:o.texts.unfix,value:"none",disabled:!i.fixed,onItemClick:t})),a},setScrollerSpacing:function(e){var t=this,n=t.option("rtlEnabled");t.callBase(e),t.element().children("."+_).css(n?{paddingLeft:e}:{paddingRight:e})},getFixedColumnElements:function(e){var t,n,i,o=this;return r.isDefined(e)?this._fixedTableElement&&this._getRowElements(this._fixedTableElement).eq(e).children():(t=o.getColumnElements(),i=o.getTransparentColumnElement(),t&&i&&i.length&&(n=x(o.getFixedColumns()),t.splice(n,i.get(0).colSpan,i.get(0))),t)},getColumnWidths:function(){var e,t=this,n=t.callBase(),i=t.getFixedColumnElements(),o=t.getFixedColumns();return t._fixedTableElement&&(e=i&&i.length?t._getWidths(i):t.callBase(t._fixedTableElement)),w(o,n,e)}}),C=o.extend({},y,{_detachHoverEvents:function(){this._fixedTableElement&&this._fixedTableElement.off("mouseover mouseout",".dx-data-row"),this._tableElement&&this._tableElement.off("mouseover mouseout",".dx-data-row")},_attachHoverEvents:function(){var e=this,t=function(t){t.on("mouseover mouseout",".dx-data-row",e.createAction(function(t){var n=t.jQueryEvent,i=e.getRowIndex(o(n.target).closest(".dx-row")),a="mouseover"===n.type;i>=0&&(e._tableElement&&e._getRowElements(e._tableElement).eq(i).toggleClass(f,a),e._fixedTableElement&&e._getRowElements(e._fixedTableElement).eq(i).toggleClass(f,a))}))};e._fixedTableElement&&e._tableElement&&(t(e._fixedTableElement),t(e._tableElement))},_findContentElement:function(){var e,t,n,i=this,a=i.element();return a&&i._isFixedTableRendering?(e=a.children("."+d),t=i.getScrollable(),!e.length&&t&&(e=o("<div/>").addClass(d).on("scroll",function(e){n=o(e.target).scrollTop(),n&&(o(e.target).scrollTop(0),t.scrollTo({y:i._scrollTop+n}))}).on(s.name,function(e){return t&&(n=t.scrollTop(),t.scrollTo({y:n-e.delta}),t.scrollTop()>0&&t.scrollTop()+t.clientHeight()<t.scrollHeight()+i.getScrollbarWidth())?!1:void 0}).appendTo(a)),e):i.callBase()},_updateBottomLoading:function(){this._isFixedTableRendering||this.callBase()},_updateScrollable:function(){this.callBase();var e=this.getScrollable(),t=e&&e.scrollOffset().top;this._updateFixedTablePosition(-t)},_renderContent:function(e,t){return this._isFixedTableRendering?e.empty().addClass(d+" "+_+" "+m).append(t):this.callBase(e,t)},_getGroupCellOptions:function(e){return this._isFixedTableRendering?this.callBase(o.extend({},e,{columns:this._columnsController.getVisibleColumns()})):this.callBase(e)},_renderGroupSummaryCells:function(e,t){this._isFixedTableRendering?this.callBase(e,o.extend({},t,{columns:this._columnsController.getVisibleColumns()})):this.callBase(e,t)},_hasAlignByColumnSummaryItems:function(e,t){var n=this.callBase.apply(this,arguments),i=t.columns[e];return t.isFixed?i.fixed&&(n||"right"===i.fixedPosition)||"edit"===i.command:n&&!i.fixed},_renderGroupSummaryCellsCore:function(e,t,n,i){var r,s,l;this._isFixedTableRendering&&(t.isFixed=!0,l=this._getAlignByColumnCellCount(n,t),t.isFixed=!1,r=t.columns.length-l,t=o.extend({},t,{columns:this.getFixedColumns()}),s=x(t.columns),s>r?(l-=t.columns[s].colspan-1||0,n-=t.columns[s].colspan-1||0):i>0&&(a.mozilla?e.css("display","none"):e.css("visibility","hidden")),i=l),this.callBase(e,t,n,i)},_getSummaryCellIndex:function(e,t){var n;return this._isFixedTableRendering?(n=x(t),e>n&&(e+=t[n].colspan-1),e):this.callBase.apply(this,arguments)},_renderCore:function(e){this._detachHoverEvents(),this.callBase(e),this.option("hoverStateEnabled")&&this._isFixedColumns&&this._attachHoverEvents()},optionChanged:function(e){var t=this;t.callBase(e),"hoverStateEnabled"===e.name&&t._isFixedColumns&&(e.value?this._attachHoverEvents():this._detachHoverEvents())},getCellIndex:function(e){var t,n=this._fixedTableElement,i=0;return n&&n.find(e).length?(t=this.getFixedColumns(),o.each(t,function(t,n){return t===e[0].cellIndex?!1:n.colspan?void(i+=n.colspan):void i++}),i):this.callBase(e)},_updateFixedTablePosition:function(e){if(this._fixedTableElement&&this._tableElement){var t=this.getController("editorFactory"),n=t.focus();this._fixedTableElement.css("top",e+this._tableElement.position().top),n&&t.focus(n)}},setScrollerSpacing:function(e,t){var n,i=this,o=i.element().children("."+_);o.length&&(n=i.option("rtlEnabled")?{marginLeft:e}:{marginRight:e},n.marginBottom=t,o.css(n))},_handleScroll:function(e){this._updateFixedTablePosition(-e.scrollOffset.top),this.callBase(e)},_updateContentPosition:function(){var e=this.callBase();return e&&this._updateFixedTablePosition(-this._scrollTop),e},_afterRowPrepared:function(e){this._isFixedTableRendering||this.callBase(e)}}),k=y;c.registerModule("fixedColumns",{defaultOptions:function(){return{columnFixing:{enabled:!1,texts:{fix:l.format("dxDataGrid-columnFixingFix"),unfix:l.format("dxDataGrid-columnFixingUnfix"),leftPosition:l.format("dxDataGrid-columnFixingLeftPosition"),rightPosition:l.format("dxDataGrid-columnFixingRightPosition")}}}},extenders:{views:{columnHeadersView:b,rowsView:C,footerView:k},controllers:function(){var e=function(e,t,n){var i=x(t),a=e.length-t.length;return o.each(n,function(e,t){t.index>i&&(t.columnIndex+=a,t.index+=a)}),n};return{draggingHeader:{_generatePointsByColumns:function(t){var n,i=t.columns,o=t.targetDraggingPanel;return o&&"headers"===o.getName()&&o.isFixedColumns()&&t.sourceColumn.fixed?(t.rowIndex||(t.columnElements=o.getFixedColumnElements(0)),t.columns=o.getFixedColumns(t.rowIndex),n=this.callBase(t),e(i,t.columns,n),n):this.callBase(t)},_pointCreated:function(e,t,n,i){var o,a=this.callBase.apply(this,arguments),r=this._columnHeadersView.getTransparentColumnElement();return!a&&"headers"===n&&r&&r.length?(o=r.get(0).getBoundingClientRect(),i&&i.fixed?"right"===i.fixedPosition?e.x<o.right:e.x>o.left:e.x<o.left||e.x>o.right):a}},columnsResizer:{_generatePointsByColumns:function(){var t=this,n=t._columnsController,i=n&&t._columnsController.getVisibleColumns(),o=n&&t._columnsController.getFixedColumns(),a=t._columnHeadersView.getFixedColumnElements(),r=[];t.callBase(),a&&a.length>0&&(r=c.getPointsByColumns(a,function(e){return t._pointCreated(e,a.length,o)}),t._pointsByFixedColumns=e(i,o,r))},_pointCreated:function(e,t,n){var i,o;return e.index>0&&e.index<t&&(i=n[e.columnIndex-1]||{},o=n[e.columnIndex]||{},i.fixed||o.fixed)?(e.columnIndex-=1,!((i.allowResizing||"transparent"===i.command)&&(o.allowResizing||"transparent"===o.command))):this.callBase.apply(this,arguments)},_getTargetPoint:function(e,t,n){var i,o=this._columnHeadersView.getTransparentColumnElement();return o&&o.length&&(i=o.get(0).getBoundingClientRect(),t<=i.left||t>=i.right)?this.callBase(this._pointsByFixedColumns,t,n):this.callBase(e,t,n)}},keyboardNavigation:{_scrollToElement:function(e){var t=this.getFocusedView();this.callBase(e,t&&t.getFixedColumnsOffset())}}}}()}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(2),s=n(8),l="dx-datagrid",c="dx-hidden",d="dx-datagrid-table",u="dx-datagrid-borders",h="dx-datagrid-table-fixed",p="dx-datagrid-important-margin",f="adaptiveHidden",_=100,g=50,m=["columnsSeparatorView","blockSeparatorView","trackerView","headerPanel","columnHeadersView","rowsView","footerView","columnChooserView","pagerView","draggingHeaderView","contextMenuView","errorView","headerFilterView"],v=function(e){return r.isString(e)&&"%"===e.slice(-1)},x=function(e,t){var n,i=[];if(e&&t&&e.length&&e.length===t.length)for(n=0;n<e.length;n++)i.push(e[n]>t[n]?e[n]:t[n]);else e&&e.length?i=e:t&&(i=t);return i};t.ResizingController=a.ViewController.inherit({_initPostRenderHandlers:function(){var e=this;e._refreshSizesHandler||(e._refreshSizesHandler=function(t){e._dataController.changed.remove(e._refreshSizesHandler);var n,i=t&&t.changeType;t&&"refresh"!==i&&"prepend"!==i&&"append"!==i?"update"===i&&(e._dataController.items().length>1||"insert"!==t.changeTypes[0]?e._rowsView.resize():n=e.resize()):n=e.resize(),i&&"updateSelection"!==i&&o.when(n).done(function(){e.component._fireContentReadyAction()})},e._dataController.changed.add(function(){e._dataController.changed.add(e._refreshSizesHandler)}))},_getBestFitWidths:function(){var e,t,n,i,o=this;return e=o._rowsView.getColumnWidths(),t=o._columnHeadersView&&o._columnHeadersView.getColumnWidths(),n=o._footerView&&o._footerView.getColumnWidths(),i=x(e,t),i=x(i,n)},_setVisibleWidths:function(e,t){var n=this._columnsController;n.beginUpdate(),o.each(e,function(e,i){var o=i.command?"command:"+i.command:i.index;n.columnOption(o,"visibleWidth",t[e])}),n.endUpdate()},_toggleBestFitMode:function(e){var t=this.component.element();t.find("."+d).toggleClass(h,!e),t.find("input").toggleClass(c,e),t.find(".dx-group-cell").toggleClass(c,e),t.find(".dx-header-row .dx-datagrid-text-content").css("max-width","")},_synchronizeColumns:function(){var e,t=this,n=t._columnsController,i=n.getVisibleColumns(),a=t.option("columnAutoWidth"),s=a,l=!1,c=[],d=function(){var e;o.each(i,function(t,n){"expand"===n.command&&(e=c[t])}),o.each(i,function(t,n){"expand"===n.command&&e&&(c[t]=e)})};!s&&o.each(i,function(e,t){return"auto"===t.width?(s=!0,!1):void 0}),t._setVisibleWidths(i,[]),t._isNeedToCalcBestFitWidths(s)&&(t._toggleBestFitMode(!0),e=!0),r.deferUpdate(function(){t._isNeedToCalcBestFitWidths(s)&&(c=t._getBestFitWidths(),o.each(i,function(e,t){var i=t.command?"command:"+t.command:t.index;n.columnOption(i,"bestFitWidth",c[e],!0)})),o.each(i,function(e){"auto"!==this.width&&(this.width?c[e]=this.width:a||(c[e]=void 0))}),l=t._correctColumnWidths(c,i),a&&(d(),t._processStretch(c,i)),r.deferRender(function(){e&&(t._toggleBestFitMode(!1),e=!1),(s||l)&&t._setVisibleWidths(i,c)})})},_isNeedToCalcBestFitWidths:function(e){return e},_correctColumnWidths:function(e,t){var n,i=this,a=!1,r=!1,s=!1,l=i.component.element(),c=i._hasWidth;if(o.each(t,function(t){"auto"!==this.width&&(this.width?e[t]!==f&&(e[t]=this.width):r=!0),v(this.width)&&(a=!0)}),l&&i._maxWidth&&(delete i._maxWidth,l.css("max-width","")),!r&&e.length){var d=i._rowsView.contentWidth(),u=i._getTotalWidth(e,d);if(d>=u){for(n=e.length-1;n>=0&&t[n]&&(t[n].command||e[n]===f);)n--;n>=0&&(e[n]="auto",s=!0,c||a||(i._maxWidth=i.option("showBorders")?u+2:u,l.css("max-width",i._maxWidth)))}}return s},_processStretch:function(e,t){var n,i,a,r,s=this._rowsView.contentWidth(),l=this._getTotalWidth(e,s),c={length:0};if(e.length&&(o.each(t,function(t){(this.width||e[t]===f)&&(c[t]=!0,c.length++)}),n=s-l,i=Math.floor(n/(e.length-c.length)),a=n-i*(e.length-c.length),n>=0))for(r=0;r<e.length;r++)c[r]||(e[r]+=i,a&&(e[r]++,a--))},_getTotalWidth:function(e,t){var n,i,o=0;for(i=0;i<e.length;i++)n=e[i],n&&n!==f&&(o+=v(n)?parseInt(n)*t/100:parseInt(n));return Math.round(o)},updateSize:function(e){var t,n,i=this;void 0===i._hasHeight&&e&&e.is(":visible")&&(t=e.children("."+l),t.length&&t.detach(),i._hasHeight=!!e.height(),n=e.width(),e.addClass(p),i._hasWidth=e.width()===n,e.removeClass(p),t.length&&t.appendTo(e))},publicMethods:function(){return["resize","updateDimensions"]},resize:function(){return!this.component._requireResize&&this.updateDimensions()},updateDimensions:function(e){var t=this;return t._initPostRenderHandlers(),t._checkSize(e)?r.deferRender(function(){t._dataController.isLoaded()&&(t._synchronizeColumns(),t._rowsView.height("auto")),r.deferUpdate(function(){t._updateDimensionsCore()})}):void 0},_checkSize:function(e){var t=this.component.element();return!e||(this._lastWidth!==t.width()||this._lastHeight!==t.height())&&t.is(":visible")},_updateDimensionsCore:function(){var e,t,n=this,i=n._dataController,a=n._rowsView,s=n._columnHeadersView,l=n._footerView,c=n.component.element(),d=c&&(c.get(0).clientHeight||c.height()),u=parseFloat(c.css("maxHeight")),h=u&&d>=u,p=n.option("loadPanel"),f=n.option("height")||c.get(0).style.height,v=n.getController("editorFactory");n.updateSize(c),f&&n._hasHeight^"auto"!==f&&(t=o("<div>").height(f).appendTo(c),n._hasHeight=!!t.height(),t.remove()),n.option("scrolling")&&(n._hasHeight&&d>0||h)?(e=d,o.each(n.getViews(),function(){this.isVisible()&&this.getHeight&&(e-=this.getHeight())})):e=n._hasHeight||0!==i.items().length?"auto":p&&p.enabled?p.height+g:_,r.deferRender(function(){return a.height(e,n._hasHeight),i.isLoaded()?void r.deferUpdate(function(){n._updateLastSizes(c);var e=a.getScrollbarWidth(),t=a.getScrollbarWidth(!0);r.deferRender(function(){s&&s.setScrollerSpacing(e),l&&l.setScrollerSpacing(e),a.setScrollerSpacing(e,t)}),o.each(m,function(e,t){var i=n.getView(t);i&&i.resize()}),v&&v.resize()}):void a.setLoading(!0)})},_updateLastSizes:function(e){this._lastWidth=e.width(),this._lastHeight=e.height()},optionChanged:function(e){switch(e.name){case"width":case"height":this.component._renderDimensions(),this.resize();default:this.callBase(e)}},init:function(){var e=this;e._dataController=e.getController("data"),e._columnsController=e.getController("columns"),e._columnHeadersView=e.getView("columnHeadersView"),e._footerView=e.getView("footerView"),e._rowsView=e.getView("rowsView")}}),t.SynchronizeScrollingController=a.ViewController.inherit({_scrollChangedHandler:function(e,t,n){for(var i=0;i<e.length;i++)e[i].name!==n&&e[i].scrollTo({left:t.left,top:t.top})},init:function(){var e,t,n=[this.getView("columnHeadersView"),this.getView("footerView"),this.getView("rowsView")];for(t=0;t<n.length;t++)e=n[t],e&&e.scrollChanged.add(o.proxy(this._scrollChangedHandler,this,n))}}),t.GridView=a.View.inherit({_endUpdateCore:function(){this.component._requireResize&&(this.component._requireResize=!1,this._resizingController.resize())},init:function(){var e=this;e._resizingController=this.getController("resizing"),e._dataController=e.getController("data")},getView:function(e){return this.component._views[e]},element:function(){return this._groupElement},optionChanged:function(e){var t=this;r.isDefined(t._groupElement)&&"showBorders"===e.name?(t._groupElement.toggleClass(u,!!e.value),e.handled=!0):t.callBase(e)},render:function(e){var t=this,n=t._groupElement||o("<div />").addClass(l).toggleClass(u,!!t.option("showBorders"));t.component.setAria({role:"application",label:s.format("dxDataGrid-ariaDataGrid")},e),t._rootElement=e||t._rootElement,t._groupElement=n,o.each(m,function(e,i){var o=t.getView(i);o&&o.render(n)}),t.update()},update:function(){var e=this,t=e._rootElement,n=e._groupElement,i=e.getView("columnHeadersView"),o=e.getController("resizing");t&&n&&(n.parent().length||(o.updateSize(t),n.appendTo(t),i&&i.renderDelayedTemplates(),e.getView("rowsView").renderDelayedTemplates()),o.resize(),e._dataController.isLoaded()&&e.component._fireContentReadyAction())}}),a.registerModule("gridView",{defaultOptions:function(){return{showBorders:!1}},controllers:{resizing:t.ResizingController,synchronizeScrolling:t.SynchronizeScrollingController},views:{gridView:t.GridView}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=a.normalizeSortingInfo,s=n(312),l=n(35),c=n(19);t.GroupingHelper=s.GroupingHelper.inherit(function(){function e(e,t,n){var i=[],r=t.data;o.each(n.paths,function(e,n){i.push(s.createGroupFilter(n,{group:t.storeLoadOptions.group}))});var c=t.storeLoadOptions.filter;t.storeLoadOptions.isLoadingAll||(c=a.combineFilters([c,a.combineFilters(i,"or")])),t.data=o.Deferred();var d=o.extend({},t.storeLoadOptions,{group:null,filter:c,skip:n.skip,take:n.take});o.when(0===n.take?[]:e._dataSource.store().load(d)).done(function(e,a){o.each(n.items,function(t,n){l(e).filter(i[t]).enumerate().done(function(e){n.items=e})}),t.data.resolve(r)}).fail(t.data.reject)}var t=function(e,t){return e.foreachGroups(function(e,n){return e.isExpanded?t(e,n):void 0},!0)},n=function(e,t,i,o,a,r,s){var l,c,d,u;if(o.items=o.items||[],o.paths=o.paths||[],o.count=o.count||0,o.lastCount=o.lastCount||0,i)for(l=0;l<t.length;l++)c=t[l],void 0!==c.items&&(a.push(c.key),r?u=!0:(d=e.findGroupInfo(a),u=d&&d.isExpanded),u?c.items?n(e,c.items,i-1,o,a,r,s):1!==i||!c.count||r&&!s||(o.items.push(c),o.paths.push(a.slice(0)),o.count+=o.lastCount,o.lastCount=c.count):(c.collapsedItems=c.items,c.items=null),a.pop())},i=function(e,t,n,i){return d(e,t,0,n,[],i)},d=function(e,t,n,i,o,a){var r,s,l,c,u=0;if(n>=i)return t.length;for(l=0;l<t.length;l++)if(r=t[l]){if(o.push(r.key),!r.count&&!r.items||void 0===r.items)return-1;if(c=e.findGroupInfo(o),c?(c.count=r.count>0?r.count:r.items.length,c.offset=a+l):e.addGroupInfo({isExpanded:e._isGroupExpanded(n),path:o.slice(0),offset:a+l,count:r.count>0?r.count:r.items.length}),s=r.items||!r.count?d(e,r.items,n+1,i,o,0):r.count,0>s)return-1;u+=s,o.pop()}return u},u=function(e,t){return e&&e.length&&e[t]&&!!e[t].isExpanded},h=function(e,t,n){var i,o,a=n;for(i=0;i<e.length;i++)o=e[i].offset+1,i>0&&(o+=e[i-1].childrenTotalCount,t&&(o+=p(a,t,o,i-1)*i)),a+=o;return a},p=function(e,t,n,i){if(i=i||0,t>1&&n>0){var o=e-Math.floor(e/t)*t||t;return o+=n-i-2,0>o&&(o+=t),Math.floor(o/(t-i-1))}return 0};return{updateTotalItemsCount:function(e){var n=0,i=e.extra&&e.extra.totalCount||0,o=e.extra&&e.extra.totalGroupCount||0,a=this._dataSource.pageSize(),r=this._isVirtualPaging();t(this,function(e,t){e.childrenTotalCount=0}),t(this,function(e,t){var i=h(t,r?0:a,n),o=e.count+e.childrenTotalCount;r||(o+=p(i,a,o,t.length-1)),t[t.length-2]?t[t.length-2].childrenTotalCount+=o:n+=o}),this.callBase(n-i+o)},_isGroupExpanded:function(e){var t=this._dataSource.group();return u(t,e)},_updatePagingOptions:function(e){var n=this,i=n._isVirtualPaging(),o=n._dataSource.pageSize(),a=[],r=[],s=0,l=0;e.take&&(t(this,function(e){e.childrenTotalCount=0,e.skipChildrenTotalCount=0}),t(n,function(t,n){var c,d,u=0,f=0,_=h(n,i?0:o,l),g=0,m=0,v=t.count+t.childrenTotalCount,x=v;c=e.skip-_,_<=e.skip+e.take&&v&&(d=e.take,i||(g=p(_,o,v,n.length-1),v+=g*n.length,x+=g,o&&c>=0&&(u=n.length,f=n.length-1,m=Math.floor(c/o))),c>=0?(_+v>e.skip&&a.unshift(c-m*u-t.skipChildrenTotalCount),_+v>=e.skip+d&&r.unshift(d-u-t.childrenTotalCount+t.skipChildrenTotalCount)):_+v>=e.skip+d&&r.unshift(d+c-t.childrenTotalCount)),_<=e.skip&&(n[n.length-2]?n[n.length-2].skipChildrenTotalCount+=Math.min(x,c+1-m*f):s+=Math.min(x,c+1)),_<=e.skip+d&&(v=Math.min(x,c+d-(m+1)*f),n[n.length-2]?n[n.length-2].childrenTotalCount+=v:l+=v)}),e.skip-=s,e.take-=l-s),e.skips=a,e.takes=r},changeRowExpand:function(e){var t=this,n=t.findGroupInfo(e);return n?(n.isExpanded=!n.isExpanded,o.Deferred().resolve()):o.Deferred().reject()},handleDataLoadedCore:function(t,a){var s,l=this,d=r(t.storeLoadOptions.group||t.loadOptions.group).length,u={};if(t.isCustomLoading)a(t),n(l,t.data,d,u,[],t.isCustomLoading,t.storeLoadOptions.isLoadingAll);else{if(s=i(l,t.data,d,0),0>s)return void(t.data=o.Deferred().reject(c.Error("E1037")));t.remoteOperations.paging||d&&t.extra&&t.loadOptions.requireTotalCount&&(t.extra.totalCount=s,t.extra.totalGroupCount=t.data.length),l.updateTotalItemsCount(t),l._updatePagingOptions(t),a(t),l._processPaging(t,d),n(l,t.data,d,u,[]),u.skip=t.skips[d-1],void 0!==t.takes[d-1]&&(u.take=u.count?u.count-(u.skip||0):0,u.take+=t.takes[d-1])}u.paths.length&&t.storeLoadOptions.group&&e(l,t,u),t.isCustomLoading||o.when(t.data).done(function(e){l.updateItemsCount(e,d)})},_processPaging:function(e,t){var n,i,o,a,r;for(n=e.skips,i=e.takes,r=e.data,o=0;r&&t>o;o++)a=r[0],r=a&&a.items,void 0!==n[o]&&(a.isContinuation=!0,r&&(r=r.slice(n[o]),a.items=r));for(r=e.data,o=0;r&&t>o;o++)if(a=r[r.length-1],r=a&&a.items,a){var s=a.count-(a.isContinuation&&n[o]||0)||r.length;void 0!==i[o]&&s>i[o]&&(a.isContinuationOnNextPage=!0,r&&(r=r.slice(0,i[o]),a.items=r))}},refresh:function(e){function t(e,t){t.length===i+1&&(e.isExpanded=n)}var n,i,o=this,a=e.storeLoadOptions,s=r(o._group);for(i=0;i<s.length;i++)n=u(a.group,i),u(o._group,i)!==n&&o.foreachGroups(t);o.callBase.apply(this,arguments),o.foreachGroups(function(e){e.count=0})}}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(16).toComparable,r=n(27),s=n(49),l=n(20),c=l.normalizeSortingInfo,d=n(312),u=d.createGroupFilter,h=n(35),p=function(e,t){var n=o.Deferred(),i=o.extend({skip:0,take:1,requireTotalCount:!0},t);return e.load(i).done(function(e,t){n.resolve(t&&t.totalCount)}).fail(o.proxy(n.reject,n)),n};t.GroupingHelper=d.GroupingHelper.inherit(function(){var e=function(e,t,n){return e.foreachGroups(function(e){return e.isExpanded?void 0:t(e)},!1,!1,n,!0)},t=function(t,n){var i=0,o=n||0;return n&&(e(t,function(e){return e.offset-i>=n?!1:void(i+=e.count-1)}),o+=i),
o},n=function(e,t,i,o,a,r){var s,l,c,d=0,u=!1;for(s=0;s<t.length;s++){if(l=t[s],void 0!==l.items){i.push(l.key);var h=e.findGroupInfo(i);h&&!h.isExpanded?(l.collapsedItems=l.items,l.items=null,o+=h.count,r--,0>r&&d++,a&&(u=!0)):l.items&&(c=n(e,l.items,i,o,a,r),a&&(c.offset-o>1?l.isContinuation=!0:u=!0),o=c.offset,r=c.take,0>r&&(l.items.length?l.isContinuationOnNextPage=!0:d++)),i.pop()}else a&&(u=!0),o++,r--,0>r&&d++;a=!1}return u&&t.splice(0,1),d&&t.splice(-d,d),{offset:o,take:r}},i=function(e,t){var n;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!r.keysEqual(null,e[n],t[n]))return!1;return!0},d=function(e,t,n,o,a){var r,s;if(t){for(r=0;r<t.length;r++)if(s=t[r],"key"in s&&void 0!==s.items){n.push(s.key),a&&i(a.path,n)&&!s.isContinuation&&(a.offset=o);var l=e.findGroupInfo(n);l&&(l.offset=o),l&&!l.isExpanded?o+=l.count:o=d(e,s.items,n,o,a),n.pop()}else o++;return o}},f=function(e,t){var n,i;t.group&&(n=c(t.group),i=c(e.sort),e.sort=s.arrangeSortingInfo(n,i),delete t.group)},_=function(e,t,n){var i,o,a,r=c(n||t.group),s=[];for(i=0;i<e.length;i++){for(a=[],o=0;i>=o;o++)a.push([r[o].selector,i===o?"<>":"=",e[o]]);s.push(l.combineFilters(a))}return s=l.combineFilters(s,"or"),l.combineFilters([s,t.filter])},g=function(e,t){var n,i,o,a=c(t.group),r=[];for(n=0;n<e.length;n++){for(o=[],i=0;n>=i;i++)o.push([a[i].selector,n===i?a[i].desc?">":"<":"=",e[i]]);r.push(l.combineFilters(o))}return r=l.combineFilters(r,"or"),l.combineFilters([r,t.filter])},m=function(e,t){var n,i=e.count||e.items.length;if(!e.count&&t>1)for(i=0,n=0;n<e.items.length;n++)i+=m(e.items[n],t-1);return i};return{handleDataLoading:function(n){var i,a,r=this,s=n.storeLoadOptions,l=[],c=0,d=!1,u=n.loadOptions.group,h=0;f(s,n.loadOptions),n.group=n.group||u,n.isCustomLoading||(i=o.extend({},s),i.skip=t(r,s.skip),i.skip&&i.take&&u&&(i.skip--,i.take++,d=!0),i.take&&u&&(a=i.take,i.take++),e(r,function(e){return e.offset>=i.skip+i.take+h?!1:void(e.offset>=i.skip+h&&e.count&&(h+=e.count-1,l.push(e),c+=e.count))}),o.each(l,function(){i.filter=_(this.path,i,u)}),n.storeLoadOptions=i,n.collapsedGroups=l,n.collapsedItemsCount=c,n.skip=i.skip||0,n.skipFirstItem=d,n.take=a)},handleDataLoaded:function(e,t){function i(e,t,n,o,r){if(e&&t.length&&n.length){var s,l,c=a(t[0],!0);for(s=0;s<e.length&&(l=a(e[s].key,!0),!(r>=o.offset||c===l));s++)r+=m(e[s],n.length);e.length&&c===l||e.splice(s,0,{key:t[0],items:[],count:1===t.length?o.count:void 0}),i(e[s].items,t.slice(1),n.slice(1),o,r)}}var o,r,l=this,d=e.data,u=e.collapsedGroups,p=c(e.group),f=p.length;if(t(e),f){if(r=h(d),s.multiLevelGroup(r,p).enumerate().done(function(e){d=e}),u)for(o=0;o<u.length;o++)i(d,u[o].path,p,u[o],e.skip);e.isCustomLoading||(n(l,d,[],e.skip,e.skipFirstItem,e.take),l.updateItemsCount(d,f)),e.data=d,e.collapsedItemsCount&&e.extra&&e.extra.totalCount>=0&&(e.extra.totalCount+=e.collapsedItemsCount)}},updateTotalItemsCount:function(){var t=0;e(this,function(e){e.count&&(t-=e.count-1)}),this.callBase(t)},changeRowExpand:function(e){var n,i=this,a=i._dataSource,r=a.beginPageIndex?a.beginPageIndex():a.pageIndex(),s=a.items(),l=t(i,r*a.pageSize()),c=i.findGroupInfo(e);return n=c&&!c.isExpanded?o.Deferred().resolve(c.count):p(a,{filter:u(e,{filter:a.filter(),group:a.group()})}),o.when(n).done(function(t){t=parseInt(t.length?t[0]:t),c?(d(i,s,[],l),c.isExpanded=!c.isExpanded,c.count=t):(c={offset:-1,count:t,path:e,isExpanded:!1},d(i,s,[],l,c),c.offset>=0&&i.addGroupInfo(c)),i.updateTotalItemsCount()}).fail(function(){a.fireEvent("loadError",arguments)})},allowCollapseAll:function(){return!1},refresh:function(t,n,i){var a=this,r=t.storeLoadOptions,s=a._dataSource;return this.callBase.apply(this,arguments),n||i.reload?e(a,function(e){var t=p(s,{filter:u(e.path,r)}),n=p(s,{filter:g(e.path,r)});return o.when(n,t).done(function(t,n){t=parseInt(t.length?t[0]:t),n=parseInt(n.length?n[0]:n),e.offset=t,e.count!==n&&(e.count=n,a.updateTotalItemsCount())})},!0):void 0}}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t,n,i;if(a.isArray(e[0])){for(i=[],t=0;t<e.length;t++)a.isArray(e[t])?(n&&i.push(n),i.push(o(e[t])),n="or"):n=p.isConjunctiveOperator(e[t])?"or":"and";return i}return i=p.normalizeBinaryCriterion(e),i[1]=y[i[1]]||i[1],i}var a=n(1),r=n(20),s=n(47),l=n(314),c=l.headerFilterMixin,d=n(8),u=l.allowHeaderFiltering,h=n(9),p=n(27),f=n(16),_=n(2),g=n(38).normalizeDataSourceOptions,m=n(14),v={month:function(e){return m.getMonthNames()[e-1]},quarter:function(e){return m.format(new Date(2e3,3*e-1),"quarter")}};t.HeaderFilterController=r.ViewController.inherit(function(){var e=function(e,t,n){var i=r.getGroupInterval(t),o=a.extend({target:"headerFilter"},t);return i&&(o.groupInterval=i[n],"date"===t.dataType?o.format=v[i[n]]:"number"===t.dataType&&(o.getDisplayFormat=function(){var o={format:t.format,precision:t.precision},a=r.formatValue(e,o),s=e+i[n],l=r.formatValue(s,o);return a&&l?a+" - "+l:""})),o};return{init:function(){this._columnsController=this.getController("columns"),this._dataController=this.getController("data"),this._headerFilterView=this.getView("headerFilterView")},_updateSelectedState:function(e,t,n){for(var i=e.length,o="exclude"===t.filterType;i--;){var a=e[i];"items"in e[i]&&this._updateSelectedState(e[i].items,t,e[i]),l.updateHeaderFilterItemSelectionState(a,s.getIndexByKey(e[i].value,t.filterValues,null)>-1,o)}},_normalizeGroupItem:function(t,n,i){var o,a,s=i.path,l=i.valueSelector,c=i.displaySelector,d=i.column;return l&&c?(o=l(t),a=c(t)):(o=t.key,a=o),t=_.isObject(t)?t:{},s.push(o),1===s.length?t.value=s[0]:t.value=s.join("/"),t.text=r.formatValue(a,e(a,d,n)),t.text||(t.text=i.headerFilterOptions.texts.emptyValue),delete t.key,t},_processGroupItems:function(e,t,n,i){var o,a,r=this,s=i.column,l=s.lookup,c=i.level;n=n||[],t=t||0,l&&(o=f.compileGetter(l.displayExpr),a=f.compileGetter(l.valueExpr));for(var d=0;d<e.length;d++)e[d]=r._normalizeGroupItem(e[d],t,{column:i.column,headerFilterOptions:i.headerFilterOptions,displaySelector:o,valueSelector:a,path:n}),"items"in e[d]&&(t!==c&&_.isDefined(e[d].value)?r._processGroupItems(e[d].items,t+1,n,i):delete e[d].items),n.pop()},getDataSource:function(e){var t,n,i,o=this,s=o._dataController.dataSource(),l=r.getHeaderFilterGroupParameters(e,s.remoteOperations().grouping),c=e.headerFilter&&e.headerFilter.dataSource,d=o.option("headerFilter"),u={component:o.component};return _.isDefined(c)&&!_.isFunction(c)?(s=g(c),s.postProcess=function(t){return o._updateSelectedState(t,e),t},s):(e.lookup?(s=g(e.lookup.dataSource),s.postProcess=function(t){return 0===this.pageIndex()&&(t=t.slice(0),t.unshift(null)),o._processGroupItems(t,null,null,{level:0,column:e,headerFilterOptions:d}),o._updateSelectedState(t,e),t},u.dataSource=s):(n=_.isArray(l)?l.length-1:0,o._currentColumn=e,t=o._dataController.getCombinedFilter(),o._currentColumn=null,u.dataSource={filter:t,group:l,load:function(t){var i=a.Deferred();return t.dataField=e.dataField||e.name,s.load(t).done(function(t){o._processGroupItems(t,null,null,{level:n,column:e,headerFilterOptions:d}),o._updateSelectedState(t,e),i.resolve(t)}).fail(i.reject),i}}),_.isFunction(c)&&(c.call(e,u),i=u.dataSource.postProcess,u.dataSource.postProcess=function(t){var n=i&&i.apply(this,arguments)||t;return o._updateSelectedState(n,e),n}),u.dataSource)},getCurrentColumn:function(){return this._currentColumn},showHeaderFilterMenu:function(e){var t=this,n=a.extend(!0,{},t._columnsController.getColumns()[e]);if(n){var i=t._columnsController.getVisibleIndex(e),o=n&&_.isDefined(n.groupIndex),s=o?t.getView("headerPanel"):t.getView("columnHeadersView"),l=s.getColumnElements().eq(o?n.groupIndex:i),c=r.getGroupInterval(n),d=a.extend(n,{type:c&&c.length>1?"tree":"list",apply:function(){t._columnsController.columnOption(e,{filterValues:this.filterValues,filterType:this.filterType})},onShowing:function(e){var n=e.component.overlayContent().dxResizable("instance");n&&n.option("onResizeEnd",function(e){var n=t.getController("columns"),i=n.columnOption(d.dataField,"headerFilter");i=i||{},i.width=e.width,i.height=e.height,n.columnOption(d.dataField,"headerFilter",i,!0)})}});d.dataSource=t.getDataSource(d),t._headerFilterView.showHeaderFilterMenu(l,d)}},hideHeaderFilterMenu:function(){this._headerFilterView.hideHeaderFilterMenu()}}}());var x=a.extend({},l.headerFilterMixin,{_renderCellContent:function(e,t){var n,i=this,o=t.column;i.callBase(e,t),!o.command&&!_.isDefined(o.groupIndex)&&u(o)&&i.option("headerFilter.visible")&&"header"===t.rowType&&(n=i._applyColumnState({name:"headerFilter",rootElement:e,column:o,showColumnLines:i.option("showColumnLines")}),n&&i._subscribeToIndicatorEvent(n,o,"headerFilter"))},_subscribeToIndicatorEvent:function(e,t,n){var i=this;"headerFilter"===n&&e.on(h.name,i.createAction(function(e){var n=e.jQueryEvent;n.stopPropagation(),i.getController("headerFilter").showHeaderFilterMenu(t.index)}))},_updateIndicator:function(e,t,n){var i=this.callBase(e,t,n);i&&this._subscribeToIndicatorEvent(i,t,n)},_columnOptionChanged:function(e){var t=e.optionNames;return r.checkChanges(t,["filterValues","filterType"])?void(this.option("headerFilter.visible")&&this._updateIndicators("headerFilter")):void this.callBase(e)}}),w=a.extend({},c,{_createGroupPanelItem:function(e,t){var n,i=this,o=i.callBase.apply(i,arguments);return!t.command&&u(t)&&i.option("headerFilter.visible")&&(n=i._applyColumnState({name:"headerFilter",rootElement:o,column:{alignment:_.getDefaultAlignment(i.option("rtlEnabled")),filterValues:t.filterValues,allowHeaderFiltering:!0},showColumnLines:!0}),n&&n.on(h.name,i.createAction(function(e){var n=e.jQueryEvent;n.stopPropagation(),i.getController("headerFilter").showHeaderFilterMenu(t.index)}))),o}}),y={"=":"<>","<>":"=",">":"<=",">=":"<","<":">=","<=":">",contains:"notcontains",notcontains:"contains",startswith:"notcontains",endswith:"notcontains"};t.invertFilterExpression=o;var b={_calculateAdditionalFilter:function(){var e=this,t=[e.callBase()],n=e._columnsController.getVisibleColumns(),i=e.getController("headerFilter"),s=i.getCurrentColumn();return a.each(n,function(e,n){var i;if((!s||s.index!==n.index)&&u(n)&&n.calculateFilterExpression&&_.isArray(n.filterValues)&&n.filterValues.length){var l=[],c="exclude"===n.filterType;a.each(n.filterValues,function(e,t){_.isArray(t)?i=c?o(t):t:(n.deserializeValue&&"date"!==n.dataType&&"number"!==n.dataType&&(t=n.deserializeValue(t)),i=n.createFilterExpression(t,c?"<>":"=","headerFilter")),i&&(i.columnIndex=n.index),l.push(i)}),l=r.combineFilters(l,c?"and":"or"),t.push(l)}}),r.combineFilters(t)}};r.registerModule("headerFilter",{defaultOptions:function(){return{headerFilter:{visible:!1,width:252,height:300,texts:{emptyValue:d.format("dxDataGrid-headerFilterEmptyValue"),ok:d.format("dxDataGrid-headerFilterOK"),cancel:d.format("dxDataGrid-headerFilterCancel")}}}},controllers:{headerFilter:t.HeaderFilterController},views:{headerFilterView:l.HeaderFilterView},extenders:{controllers:{data:b},views:{columnHeadersView:x,headerPanel:w}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(265),s=n(159),l=n(2);n(127);var c="dx-datagrid-header-panel",d="dx-datagrid-toolbar-button";t.HeaderPanel=s.ColumnsView.inherit({_resizeCore:o.noop,_invalidateToolbarItems:function(){var e=this._getToolbarItems(),t=this._toolbar;t&&t.option("items",e)},_renderCore:function(){var e=this._toolbar;if(!e){var t=this._getToolbarItems();this.element().addClass(c),this._toolbar=this._createComponent(o("<div />").appendTo(this.element()),r,{items:t})}},updateToolbarItemOption:function(e,t,n){var i=this._toolbar;if(i){var a=i.option("items");if(a&&a.length){var r;if(o.each(a,function(t,n){return n.name===e?(r=t,!1):void 0}),void 0!==r)if(l.isObject(t))i.option("items["+r+"]",t);else if(i.option("items["+r+"]."+t,n),"disabled"===t){var s=i.option("items["+r+"].options")||{};s.disabled=n,i.option("items["+r+"].options",s)}}}},getToolbarItemOption:function(e,t){var n=this._toolbar;if(n){var i=n.option("items");if(i&&i.length){var a;return o.each(i,function(n,i){return i.name===e?(a=i[t],!1):void 0}),a}}},_getToolbarItems:function(){return[]},_getButtonContainer:function(){return o("<div />").addClass(d)},_getToolbarButtonClass:function(e){var t=e?" "+e:"";return d+t},getHeaderPanel:function(){return this.element()},getHeight:function(){var e=this.element();return e?e.outerHeight(!0):0},isVisible:function(){return!1}}),a.registerModule("headerPanel",{defaultOptions:function(){return{}},views:{headerPanel:t.HeaderPanel}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(429);i.exports=o,n(453),n(451),n(430),n(313),n(447),n(311),n(455),n(456),n(438),n(443),n(450),n(448),n(433),n(446),n(454),n(439),n(428),n(437)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return e&&e.hasClass(f)}function a(e){return e&&e.hasClass(g)}var r=n(1),s=n(20),l=n(2),c=n(166),d=n(4),u=n(13),h="dx-row",p="dx-data-row",f="dx-group-row",_="dx-datagrid-rowsview",g="dx-master-detail-row",m="dx-master-detail-cell",v="dx-datagrid-edit-form",x="dx-datagrid-group-footer",w="dx-command-expand",y=".dx-datagrid",b=".dx-checkbox, .dx-menu, input, textarea, [tabindex]",C=["rowsView"],k="row",S="form";t.KeyboardNavigationController=s.ViewController.inherit({_isRowEditMode:function(){var e=this._editingController.getEditMode();return e===k||e===S},_focusView:function(e,t){this._focusedViews.viewIndex=t,this._focusedView=e},_focusInteractiveElement:function(e,t){var n=e.find(b).filter(":visible");n=t?n.last():n.first(),n.focus()},_updateFocus:function(){var e=this,t=e._getFocusedCell();t&&(e._hasSkipRow(t.parent())&&(t=e._getNextCell(this._focusedCellPosition&&this._focusedCellPosition.rowIndex>0?"upArrow":"downArrow")),t&&t.length>0&&setTimeout(function(){e.getController("editorFactory").focus()&&e._focus(t),e._editingController.isEditing()&&r.proxy(e._focusInteractiveElement,e)(t)}))},_clickHandler:function(e){var t=e.jQueryEvent,n=r(t.currentTarget),i=r(t.target).closest(y).parent(),o=t.data;i.is(this.component.element())&&this._isCellValid(n)?(this._focusView(o.view,o.viewIndex),this._updateFocusedCellPosition(n),this._editingController.isEditing()||(o.view.element().attr("tabIndex",0),o.view.element().find(".dx-row > td[tabIndex]").attr("tabIndex",null),n.focus())):this._resetFocusedCell()},_initFocusedViews:function(){var e=this,t=e.createAction(e._clickHandler);e._focusedViews=[],r.each(C,function(t,n){var i=e.getView(n);i&&i.isVisible()&&e._focusedViews.push(i)}),r.each(e._focusedViews,function(n,i){i&&i.renderCompleted.add(function(){var o=i.element();o.off(d.addNamespace(u.down,"dxDataGridKeyboardNavigation"),t),o.on(d.addNamespace(u.down,"dxDataGridKeyboardNavigation"),"."+h+" td",{viewIndex:n,view:i},t),e._initKeyDownProcessor(e,o,e._keyDownHandler),e._focusedView&&e._focusedView.name===i.name&&e._isNeedFocus&&e._updateFocus()})})},_initKeyDownProcessor:function(e,t,n){this._keyDownProcessor&&(this._keyDownProcessor.dispose(),this._keyDownProcessor=null),this._keyDownProcessor=new c({element:t,context:e,handler:n})},_getFocusedCell:function(){return this._focusedView&&this._focusedCellPosition?this._focusedView.getCell(this._focusedCellPosition):void 0},_updateFocusedCellPosition:function(e){var t=this;e.length>0&&t._focusedView&&(this._focusedCellPosition={columnIndex:t._focusedView.getCellIndex(e),rowIndex:e.parent().length>0&&t._focusedView.getRowIndex(e.parent())})},_isCellValid:function(e){if(l.isDefined(e)){var t=this.getView("rowsView"),n=this._columnsController.getVisibleColumns(),i=t.getRowIndex(e.parent()),o=t.getCellIndex(e),r=n[o],s=this._getVisibleColumnCount(i),c=this._editingController,d=c&&c.getEditMode(),u=c&&(d===k?c.isEditRow(i):c.isEditing()),h=a(e.parent()),p=function(){return!h&&r&&!l.isDefined(r.groupIndex)||parseInt(e.attr("colspan"))>1};if(s>o&&p()){var f="expand"===r.command;return r&&!r.command&&(!u||r.allowEditing)||f}}},_isCellByPositionValid:function(e){var t=this._focusedView&&this._focusedView.getCell(e);return this._isCellValid(t)},_focus:function(e){var t,n=e.parent(),i=this._getFocusedCell(),a=this._focusedView;i&&i.attr("tabIndex",null),o(n)?(t=n,a&&(this._focusedCellPosition.rowIndex=a.getRowIndex(n))):(t=e,this._updateFocusedCellPosition(e)),a&&a.element().attr("tabIndex",null),t.attr("tabindex",0),t.focus(),this.getController("editorFactory").focus(t)},_hasSkipRow:function(e){return e&&("none"===e.css("display")||e.hasClass(x)||a(e)&&!e.hasClass(v))},_enterKeyHandler:function(e,t){var n=this._getFocusedCell(),i=this.option("editing"),a=this._focusedCellPosition?this._focusedCellPosition.rowIndex:null,s=this._focusedView&&this._focusedView.getRow(a);if(this.option("grouping.allowCollapsing")&&o(s)||this.option("masterDetail.enabled")&&n&&n.hasClass(w)){var l=this._dataController.getKeyByRowIndex(a),c=this._dataController.items()[a];void 0!==l&&c&&c.data&&!c.data.isContinuation&&this._dataController.changeRowExpand(l)}else if(t)n=this._getCellElementFromTarget(e.originalEvent.target),this._updateFocusedCellPosition(n),this._isRowEditMode()?(this._focusEditFormCell(n),setTimeout(r.proxy(this._editingController.saveEditData,this._editingController))):this._editingController.closeEditCell();else{var d=this._columnsController.getVisibleColumns()[this._focusedCellPosition.columnIndex];i.allowUpdating&&d&&d.allowEditing&&(this._isRowEditMode()?this._editingController.editRow(a):this._focusedCellPosition&&this._editingController.editCell(a,this._focusedCellPosition.columnIndex))}},_leftRightKeysHandler:function(e,t){var n,i,r=this._focusedCellPosition?this._focusedCellPosition.rowIndex:null,s=this._focusedView&&this._focusedView.getRow(r);t||!s||o(s)||a(s)||(n=this._getDirectionCodeByKey(e.key),i=this._getNextCell(n),i&&this._isCellValid(i)&&this._focus(i),e.originalEvent.preventDefault())},_getDirectionCodeByKey:function(e){var t;return t=this.option("rtlEnabled")?"leftArrow"===e?"nextInRow":"previousInRow":"leftArrow"===e?"previousInRow":"nextInRow"},_upDownKeysHandler:function(e,t){var n,i=this._focusedCellPosition?this._focusedCellPosition.rowIndex:null,o=this._focusedView&&this._focusedView.getRow(i);t||a(o)||(0===i||this._focusedView&&i===this._focusedView.getRowsCount()-1,n=this._getNextCell(e.key),n&&this._isCellValid(n)&&this._focus(n),e.originalEvent.preventDefault())},_pageUpKeyHandler:function(e){var t=this.option("scrolling.mode"),n=this._dataController.pageIndex(),i="virtual"===t||"infinite"===t;n>0&&!i&&(this._dataController.pageIndex(n-1),e.originalEvent.preventDefault())},_pageDownKeyHandler:function(e){var t=this.option("scrolling.mode"),n="virtual"===t||"infinite"===t,i=this._dataController.pageIndex(),o=this._dataController.pageCount();o-1>i&&!n&&(this._dataController.pageIndex(i+1),e.originalEvent.preventDefault())},_spaceKeyHandler:function(e,t){var n=this._focusedCellPosition?this._focusedCellPosition.rowIndex:null,i=r(e.originalEvent&&e.originalEvent.target);this.option("selection")&&"none"!==this.option("selection").mode&&!t&&(i.parent().hasClass(p)||i.hasClass(_))&&(this._selectionController.changeItemSelection(n,{shift:e.shift,control:e.ctrl}),e.originalEvent.preventDefault())},_ctrlAKeyHandler:function(e,t){!t&&e.ctrl&&"multiple"===this.option("selection.mode")&&this.option("selection.allowSelectAll")&&(this._selectionController.selectAll(),e.originalEvent.preventDefault())},_tabKeyHandler:function(e,t){var n,i=this.option("editing"),o=e.shift?"previous":"next",a=!e.shift&&this._isLastValidCell(this._focusedCellPosition)||e.shift&&this._isFirstValidCell(this._focusedCellPosition),s=e.originalEvent.target,l=r(s).closest("."+m),c=l.closest(y).parent();if(l.length&&c.is(this.component.element()))return this._updateFocusedCellPosition(l),n=this._getNextCell(o,null,null,!0),void n.attr("tabindex",0);if(i&&s&&!a)if(r(s).hasClass(_)&&this._resetFocusedCell(),t){var d,u;this._updateFocusedCellPosition(this._getCellElementFromTarget(s)),n=this._getNextCell(o),d=this._columnsController.getVisibleColumns()[this.getView("rowsView").getCellIndex(n)],u=i.allowUpdating&&d.allowEditing,u||this._editingController.closeEditCell(),this._focusCell(n)&&(!this._isRowEditMode()&&u?this._editingController.editCell(this._focusedCellPosition.rowIndex,this._focusedCellPosition.columnIndex):this._focusInteractiveElement(n,e.shift))}else n=this._getNextCell(o,this._getElementType(s)),this._focusCell(n);a?(this.getController("editorFactory").loseFocus(),this._editingController.isEditing()&&!this._isRowEditMode()&&(this._resetFocusedCell(),this._editingController.closeEditCell())):e.originalEvent.preventDefault()},_focusCell:function(e){return this._isCellValid(e)?(this._focus(e),!0):void 0},_getElementType:function(e){return r(e).is("tr")?"row":"cell"},_focusEditFormCell:function(e){e.hasClass(m)&&this.getController("editorFactory").focus(e,!0)},_escapeKeyHandler:function(e,t){if(t){var n=this._getCellElementFromTarget(e.originalEvent.target);this._updateFocusedCellPosition(n),this._isRowEditMode()?(this._focusEditFormCell(n),this._editingController.cancelEditData()):this._editingController.closeEditCell(),e.originalEvent.preventDefault()}},_ctrlFKeyHandler:function(e){e.ctrl&&this.option("searchPanel")&&this.option("searchPanel").visible&&(this._headerPanel.focus(),e.originalEvent.preventDefault())},_keyDownHandler:function(e){var t=this._editingController.isEditing(),n=!0,i={handled:!1,jQueryEvent:e.originalEvent};if(this.executeAction("onKeyDown",i),!e.originalEvent.isDefaultPrevented()&&(this._isNeedFocus=!0,this._isNeedScroll=!0,this._updateFocusedCellPosition(this._getCellElementFromTarget(i.jQueryEvent.target)),!i.handled)){switch(e.key){case"leftArrow":case"rightArrow":this._leftRightKeysHandler(e,t);break;case"upArrow":case"downArrow":this._upDownKeysHandler(e,t);break;case"pageUp":this._pageUpKeyHandler(e);break;case"pageDown":this._pageDownKeyHandler(e);break;case"space":this._spaceKeyHandler(e,t);break;case"A":this._ctrlAKeyHandler(e,t);break;case"tab":this._tabKeyHandler(e,t);break;case"enter":this._enterKeyHandler(e,t);break;case"escape":this._escapeKeyHandler(e,t);break;case"F":this._ctrlFKeyHandler(e);break;default:this._isNeedFocus=!1,this._isNeedScroll=!1,n=!1}n&&e.originalEvent.stopPropagation()}},_isLastRow:function(e){return e===this.getController("data").items().length-1},_getNextCell:function(e,t,n){var i,o,a,s,l=n||this._focusedCellPosition,c=r.inArray(e,["next","previous"])>-1;if(this._focusedView&&l){if(o=this._getNewPositionByCode({columnIndex:l.columnIndex,rowIndex:l.rowIndex},t,e),a=this._focusedView.getCell(o),!this._isCellValid(a)&&this._isCellInRow(o,c)&&(a=this._getNextCell(e,"cell",o)),s=a&&a.parent(),this._hasSkipRow(s)){if(i=this._focusedView.getRowIndex(s),this._isLastRow(i))return null;a=this._getNextCell(e,"row",{columnIndex:l.columnIndex,rowIndex:i})}return a}return null},_getNewPositionByCode:function(e,t,n){var i,o=e.columnIndex,a=e.rowIndex;if(void 0===e.rowIndex&&"next"===n)return{columnIndex:0,rowIndex:0};switch(n){case"nextInRow":case"next":i=this._getVisibleColumnCount(a),i-1>o&&!this._isLastValidCell({columnIndex:o,rowIndex:a})&&"row"!==t?o++:this._isLastRow(a)||"next"!==n||(o=0,a++);break;case"previousInRow":case"previous":o>0&&!this._isFirstValidCell({columnIndex:o,rowIndex:a})&&"row"!==t?o--:a>0&&"previous"===n&&(a--,i=this._getVisibleColumnCount(a),o=i-1);break;case"upArrow":a=a>0?a-1:a;break;case"downArrow":a=this._isLastRow(a)?a:a+1}return{columnIndex:o,rowIndex:a}},_isFirstValidCell:function(e){var t=!1;return 0===e.rowIndex&&e.columnIndex>=0&&(t=t||!this._haveValidCellBeforePosition(e)),t},_haveValidCellBeforePosition:function(e){for(var t=e.columnIndex,n=!1;t>0&&!n;){var i={columnIndex:--t,rowIndex:e.rowIndex};n=this._isCellByPositionValid(i)}return n},_isLastValidCell:function(e){var t={columnIndex:e.columnIndex+1,rowIndex:e.rowIndex},n=this._getVisibleColumnCount(e.rowIndex),i=this._isCellByPositionValid(t);return this._isLastRow(e.rowIndex)?e.columnIndex===n-1?!0:i?!1:this._isLastValidCell(t):!1},_getVisibleColumnCount:function(e){var t=this.getController("data").items()[e],n=this.getController("columns").getVisibleColumns(),i=0;if(t&&"detail"===t.rowType){for(;n[i]&&n[i].command;)i++;i++}else i=n.length;return i},_isCellInRow:function(e,t){var n=e.columnIndex,i=this._getVisibleColumnCount(e.rowIndex);return t?n>=0&&i-1>=n:n>0&&i-1>n},_resetFocusedCell:function(){var e=this,t=e._getFocusedCell();t&&t.attr("tabIndex",null),e._focusedView&&e._focusedView.renderFocusState&&e._focusedView.renderFocusState(),e._isNeedFocus=!1,e._isNeedScroll=!1,e._focusedCellPosition={}},_getCellElementFromTarget:function(e){return r(e).closest("."+h+"> td")},init:function(){var e=this;e.option("useKeyboard")&&(e._dataController=e.getController("data"),e._selectionController=e.getController("selection"),e._editingController=e.getController("editing"),e._headerPanel=e.getView("headerPanel"),e._columnsController=e.getController("columns"),e.getController("editorFactory").focused.add(function(t){e.setupFocusedView(),e._isNeedScroll&&t.is(":visible")&&e._focusedView&&e._focusedView.getScrollable&&(e._scrollToElement(t),e._isNeedScroll=!1)}),e._focusedCellPosition={},e._dataController.changed.add(function(t){e._focusedCellPosition&&t&&"prepend"===t.changeType&&(e._focusedCellPosition.rowIndex+=t.items.length)}),e._initFocusedViews(),e._documentClickHandler=e.createAction(function(t){r(t.jQueryEvent.target).closest("."+_).length||e._resetFocusedCell()}),e.createAction("onKeyDown"),r(document).on(d.addNamespace(u.down,"dxDataGridKeyboardNavigation"),e._documentClickHandler))},_scrollToElement:function(e,t){var n=this._focusedView.getScrollable();n&&n.scrollToElement(e,t)},focus:function(e){var t=this._getFocusedViewByElement(e);t&&(this._focusView(t.view,t.viewIndex),this._isNeedFocus=!0,this._isNeedScroll=!0,this._focus(e),this._focusInteractiveElement(e))},getFocusedView:function(){return this._focusedView},_getFocusedViewByElement:function(e){var t=function(t){return e.closest(t._$element).length};return this._getFocusedViewByCondition(t)},_getFocusedViewByCondition:function(e){var t;return r.each(this._focusedViews,function(n,i){return e(i)?(t={viewIndex:n,view:i},!1):void 0}),t},_isHeaderView:function(e){return"columnHeadersView"===e},focusViewByName:function(e){var t=this._getFocusedViewByName(e);this._focusView(t.view,t.viewIndex)},setupFocusedView:function(){l.isDefined(this._focusedView)||this.focusViewByName("rowsView")},_getFocusedViewByName:function(e){var t=function(t){return t.name===e};return this._getFocusedViewByCondition(t)},optionChanged:function(e){var t=this;switch(e.name){case"useKeyboard":e.handled=!0;break;default:t.callBase(e)}},dispose:function(){this.callBase(),this._focusedView=null,this._focusedViews=null,this._keyDownProcessor&&this._keyDownProcessor.dispose(),r(document).off(d.addNamespace(u.down,"dxDataGridKeyboardNavigation"),this._documentClickHandler)}}),s.registerModule("keyboardNavigation",{defaultOptions:function(){return{useKeyboard:!0}},controllers:{keyboardNavigation:t.KeyboardNavigationController},extenders:{views:{rowsView:{renderFocusState:function(){var e,t,n=this,i=n.getCellElements(0),a=n.getController("keyboardNavigation"),r=a._focusedView;if(n.element().attr("tabIndex",null),n.option("useKeyboard")&&i)if(e=i.eq(0).parent(),o(e))e.attr("tabIndex",0);else{a._focusedView=n;for(var s=0;s<i.length;s++)if(t=i.eq(s),a._isCellValid(t)){t.attr("tabIndex",0);break}a._focusedView=r}},renderDelayedTemplates:function(){this.callBase.apply(this,arguments),this.renderFocusState()},_renderCore:function(e){this.callBase(e),this.renderFocusState()}}},controllers:{editing:{editCell:function(e,t){var n=this.callBase(e,t),i=this.getController("keyboardNavigation");return n&&i.setupFocusedView(),n},getFocusedCellInRow:function(e){var t=this.getController("keyboardNavigation"),n=this.callBase(e);return this.option("useKeyboard")&&t._focusedCellPosition.rowIndex===e&&(n=t._getFocusedCell()||n),n}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(47),s=n(2),l="dx-master-detail-cell",c="dx-master-detail-row",d="dx-cell-focus-disabled",u="dx-row-lines";a.registerModule("masterDetail",{defaultOptions:function(){return{masterDetail:{enabled:!1,autoExpandAll:!1,template:null}}},extenders:{controllers:{columns:{_getExpandColumnsCore:function(){var e=this.callBase();return this.option("masterDetail.enabled")&&e.push({}),e}},data:function(){var e=function(e){e._expandedItems=[],e._isExpandAll=e.option("masterDetail.autoExpandAll")};return{init:function(){var t=this;e(t),t.callBase()},expandAll:function(e){var t=this;0>e?(t._isExpandAll=!0,t._expandedItems=[],t.updateItems()):t.callBase.apply(t,arguments)},collapseAll:function(e){var t=this;0>e?(t._isExpandAll=!1,t._expandedItems=[],t.updateItems()):t.callBase.apply(t,arguments)},isRowExpanded:function(e){var t=this,n=r.getIndexByKey(e,t._expandedItems);return s.isArray(e)?t.callBase.apply(t,arguments):!!(t._isExpandAll^(n>=0&&t._expandedItems[n].visible))},_changeRowExpandCore:function(e){var t,n,i=this;if(s.isArray(e))return i.callBase.apply(i,arguments);if(t=r.getIndexByKey(e,i._expandedItems),t>=0){var o=i._expandedItems[t].visible;i._expandedItems[t].visible=!o}else i._expandedItems.push({key:e,visible:!0});n=i.getRowIndexByKey(e),i.updateItems({changeType:"update",rowIndices:[n,n+1,n+2]})},_processDataItem:function(e,t){var n=this,i=n.callBase.apply(n,arguments);return i.isExpanded=n.isRowExpanded(i.key),void 0===t.detailColumnIndex&&(t.detailColumnIndex=-1,o.each(t.visibleColumns,function(e,n){return"expand"!==n.command||s.isDefined(n.groupIndex)?void 0:(t.detailColumnIndex=e,!1)})),t.detailColumnIndex>=0&&(i.values[t.detailColumnIndex]=i.isExpanded),i},_processItems:function(e,t){var n,i=this,a=[];return e=i.callBase.apply(i,arguments),"loadingAll"===t?e:("refresh"===t&&(i._expandedItems=o.grep(i._expandedItems,function(e){return e.visible})),o.each(e,function(e,t){a.push(t),n=r.getIndexByKey(t.key,i._expandedItems),"data"===t.rowType&&(t.isExpanded||n>=0)&&!t.inserted&&a.push({visible:t.isExpanded,rowType:"detail",key:t.key,data:t.data,values:[]})}),a)},optionChanged:function(t){var n,i,o,a,r=this;if("masterDetail"===t.name){switch(t.name="dataSource",t.fullName){case"masterDetail":n=t.value||{},i=t.previousValue||{},o=n.enabled!==i.enabled,a=n.autoExpandAll!==i.autoExpandAll;break;case"masterDetail.enabled":o=!0;break;case"masterDetail.autoExpandAll":a=!0}(o||a)&&e(r)}r.callBase(t)}}}()},views:{rowsView:function(){return{_getCellTemplate:function(e){var t,n=this,i=e.column;return t="detail"===i.command?n.option("masterDetail.template")||n._getDefaultTemplate(i):n.callBase.apply(n,arguments)},_isDetailRow:function(e){return e&&e.rowType&&0===e.rowType.indexOf("detail")},_createRow:function(e){var t=this.callBase(e);return e&&this._isDetailRow(e)&&(this.option("showRowLines")&&t.addClass(u),t.addClass(c).toggle(e.visible)),t},_getGroupCellOptions:function(e){var t=e.row,n=this._columnsController.getGroupColumns(),i=n.length+e.columnsCountBeforeGroups,o=i+Number(this.option("masterDetail.enabled"));return t&&this._isDetailRow(t)?{columnIndex:i,emptyCellsCount:o,colspan:e.columns.length-o}:this.callBase(e)},_renderCells:function(e,t){var n,i,o,a=t.row;if(a.rowType&&this._isDetailRow(a)){for(i=this._getGroupCellOptions(t),o=0;o<i.emptyCellsCount;o++)this._renderCell(e,{value:null,row:a,rowIndex:a.rowIndex,column:t.columns[o]});n=this._renderCell(e,{value:null,row:a,rowIndex:a.rowIndex,column:{command:"detail"},columnIndex:i.columnIndex}),n.addClass(d).addClass(l).attr("colspan",i.colspan)}else this.callBase.apply(this,arguments)}}}()}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(427),s=n(2),l="dx-datagrid-pager",c=10;t.PagerView=a.View.inherit({
init:function(){var e=this,t=e.getController("data");e._isVisible=!1,t.changed.add(function(t){t&&"update"===t.changeType||e.render()})},_getPager:function(){var e=this.element();return e&&e.data("dxPager")},_renderCore:function(){var e=this,t=e.element().addClass(l),n=e.option("pager")||{},i=e.getController("data"),o={maxPagesCount:c,pageIndex:1+(parseInt(i.pageIndex())||0),pageCount:i.pageCount(),pageSize:i.pageSize(),showPageSizes:n.showPageSizeSelector,showInfo:n.showInfo,pagesNavigatorVisible:n.visible,showNavigationButtons:n.showNavigationButtons,pageSizes:e.getPageSizes(),totalCount:i.totalCount(),hasKnownLastPage:i.hasKnownLastPage(),pageIndexChanged:function(e){i.pageIndex()!==e-1&&setTimeout(function(){i.pageIndex(e-1)})},pageSizeChanged:function(e){setTimeout(function(){i.pageSize(e)})}};s.isDefined(n.infoText)&&(o.infoText=n.infoText),e._createComponent(t,r,o)},getPageSizes:function(){var e=this,t=e.getController("data"),n=e.option("pager"),i=n&&n.allowedPageSizes,a=t.pageSize();return s.isDefined(e._pageSizes)&&-1!==o.inArray(a,e._pageSizes)||(e._pageSizes=[],n&&(o.isArray(i)?e._pageSizes=i:i&&a>1&&(e._pageSizes=[Math.floor(a/2),a,2*a]))),e._pageSizes},isVisible:function(){var e=this,t=e.getController("data"),n=e.option("pager"),i=n&&n.visible,o=e.option("scrolling");return e._isVisible?!0:("auto"===i&&(i=!o||"virtual"!==o.mode&&"infinite"!==o.mode?t.pageCount()>1||t.isLoaded()&&!t.hasKnownLastPage():!1),e._isVisible=i,i)},getHeight:function(){var e=this.element();return e?e.outerHeight(!0):0},optionChanged:function(e){var t=this,n=e.name,i="pager"===n,o="paging"===n,a="dataSource"===n,r="scrolling"===n;(i||o||r||a)&&((i||o)&&(t._pageSizes=null),(i||o||r)&&(t._isVisible=!1),a||(t._invalidate(),i&&t.component&&t.component.resize()),e.handled=!0)}}),a.registerModule("pager",{defaultOptions:function(){return{pager:{visible:"auto",showPageSizeSelector:!1,allowedPageSizes:"auto"}}},views:{pagerView:t.PagerView}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(26),s=n(16).compileGetter,l=n(20),c=n(159),d=n(47),u=n(73).default,h=n(8),p=a.isDefined,f="dx-group-row",_="dx-group-cell",g="dx-datagrid-rowsview",m="dx-data-row",v="dx-freespace-row",x="dx-datagrid-content",w="dx-datagrid-nowrap",y="dx-row-lines",b="dx-column-lines",C="dx-row-alt",k="dx-last-row-border",S=200,T={render:function(e,t){var n=t.find("tbody");n.length?n.last().append(e):t.append(e)}};t.RowsView=c.ColumnsView.inherit({_getDefaultTemplate:function(e){switch(e.command){case"empty":return function(e){e.html("&nbsp;")};default:return function(t,n){var i=r.isEmpty(n.text)&&"data"===n.rowType,o=i?"&nbsp;":n.text,a=t.get(0);e.encodeHtml&&!i?a.textContent=o:a.innerHTML=o}}},_getDefaultGroupTemplate:function(){var e=this,t=e.option("summary.texts");return function(e,n){var i=n.data,o=n.column.caption+": "+n.text;n.summaryItems&&n.summaryItems.length&&(o+=" "+l.getGroupRowSummaryText(n.summaryItems,t)),i&&(n.groupContinuedMessage&&n.groupContinuesMessage?o+=" ("+n.groupContinuedMessage+". "+n.groupContinuesMessage+")":n.groupContinuesMessage?o+=" ("+n.groupContinuesMessage+")":n.groupContinuedMessage&&(o+=" ("+n.groupContinuedMessage+")")),e.addClass(_),e.text(o)}},_update:function(e){},_getCellTemplate:function(e){var t,n=this,i=e.column;return t="group"===e.rowType&&p(i.groupIndex)&&!i.showWhenGrouped?i.groupCellTemplate||{allowRenderToDetachedContainer:!0,render:n._getDefaultGroupTemplate()}:i.cellTemplate||{allowRenderToDetachedContainer:!0,render:n._getDefaultTemplate(i)}},_createRow:function(e){var t,n,i,o=this.callBase(e);return e&&(t="group"===e.rowType,n="data"===e.rowType,n&&o.addClass(m),n&&e.dataIndex%2===1&&this.option("rowAlternationEnabled")&&o.addClass(C),n&&this.option("showRowLines")&&o.addClass(y),this.option("showColumnLines")&&o.addClass(b),t&&(o.addClass(f),i=e.isExpanded,this.setAria("role","rowgroup",o),this.setAria("expanded",p(i)&&i.toString(),o))),o},_afterRowPrepared:function(e){var t=e.args[0],n=this._dataController,i=this.option("watchMethod");t.data&&"data"===t.rowType&&!t.inserted&&this.option("twoWayBindingEnabled")&&i&&i(function(){return n.generateDataValues(t.data,t.columns)},function(){n.updateItems({changeType:"update",rowIndices:[t.rowIndex]})},t.rowElement.get(0))},_renderScrollable:function(e){var t=this,n=t.element();if(n.children().length||n.append("<div />"),!e&&t._loadPanel||t._renderLoadPanel(n,n.parent(),t._dataController.isLocalStore()),(e||!t.getScrollable())&&t._dataController.isLoaded()){for(var i=t.getColumns(),o=!0,a=0;a<i.length;a++)if(!i[a].width){o=!1;break}(t.option("columnAutoWidth")||t._hasHeight||o||t._columnsController._isColumnFixing())&&t._renderScrollableCore(n)}},_handleScroll:function(e){var t=this;t._scrollTop=e.scrollOffset.top,t._scrollLeft=e.scrollOffset.left,t.scrollChanged.fire(e.scrollOffset,t.name)},_renderScrollableCore:function(e){var t=this,n=t._createScrollableOptions(),i=o.proxy(t._handleScroll,t);n.onScroll=i,n.onStop=i,t._scrollable=t._createComponent(e,u,n),t._scrollableContainer=t._scrollable&&t._scrollable._$container},_renderLoadPanel:d.renderLoadPanel,_renderContent:function(e,t){return e.replaceWith(o("<div>").addClass(x).append(t)),this._findContentElement()},_updateContent:function(e,t){var n=this,i=n._getTableElement(),a=n._findContentElement(),r=t&&t.changeType,s=[];switch(r){case"update":o.each(t.rowIndices,function(o,a){var r=n._getRowElements(e).eq(o),l=t.changeTypes[o],c=t.items&&t.items[o];s.push(function(){var e=n._getRowElements(),t=e.eq(a);switch(l){case"update":c&&(p(c.visible)&&c.visible!==t.is(":visible")?t.toggle(c.visible):t.replaceWith(r));break;case"insert":e.length?t.length?r.insertBefore(t):r.insertAfter(e.last()):r.prependTo(i);break;case"remove":t.remove()}})}),o.each(s,function(){this()}),e.remove();break;default:n._setTableElement(e),a.addClass(x),n._renderContent(a,e)}},_renderFreeSpaceRow:function(e){var t,n=this,i=n._createRow(),o=this.getColumns();for(i.addClass(v).toggleClass(b,n.option("showColumnLines")),t=0;t<o.length;t++)i.append(n._createCell({column:o[t],rowType:"freeSpace"}));n._appendRow(e,i,T)},_needUpdateRowHeight:function(e){return e>0&&!this._rowHeight},_updateRowHeight:function(){var e,t,n,i=this,o=i._getTableElement(),a=i._dataController.items().length;o&&i._needUpdateRowHeight(a)&&(e=o.outerHeight(),n=i._getFreeSpaceRowElements().first(),n&&n.is(":visible")&&(t=parseFloat(n[0].style.height)||0,e-=t),i._rowHeight=e/a)},_findContentElement:function(){var e,t=this.element();return t?(e=t.find("> .dx-scrollable-container > .dx-scrollable-content"),e.length||(e=t),e.children().first()):void 0},_getRowElements:function(e){var t=this.callBase(e);return t&&t.not("."+v)},_getFreeSpaceRowElements:function(e){var t=e||this.getTableElements();return t&&t.children("tbody").children("."+v)},_getNoDataText:function(){return this.option("noDataText")},_renderNoDataText:d.renderNoDataText,_rowClick:function(e){var t=this._dataController.items()[e.rowIndex]||{};this.executeAction("onRowClick",o.extend({evaluate:function(e){var n=s(e);return n(t.data)}},e,t))},_getGroupCellOptions:function(e){var t=(e.row.groupIndex||0)+e.columnsCountBeforeGroups;return{columnIndex:t,colspan:e.columns.length-t-1}},_renderCells:function(e,t){"group"===t.row.rowType?this._renderGroupedCells(e,t):t.row.values&&this.callBase(e,t)},_renderGroupedCells:function(e,t){var n,i,r,s,l,c=t.row,d=t.columns,u=c.rowIndex,h=this._getGroupCellOptions(t);for(i=0;i<=h.columnIndex;i++)r=i===h.columnIndex&&d[i].allowCollapsing&&"infinite"!==t.scrollingMode?!!c.isExpanded:null,this._renderCell(e,{value:r,row:c,rowIndex:u,column:{command:"expand",cssClass:d[i].cssClass},columnIndex:i});l=a.getDefaultAlignment(this.option("rtlEnabled")),s=o.extend({},d[h.columnIndex],{command:null,cssClass:null,showWhenGrouped:!1,alignment:l}),h.colspan>1&&(s.colspan=h.colspan),n=this._renderCell(e,{value:c.values[c.groupIndex],row:c,rowIndex:u,column:s,columnIndex:h.columnIndex})},_renderRows:function(e,t){var n,i=this,a=t.columns,r=0,s=i.option("scrolling.mode");for(n=0;n<a.length;n++)if("expand"===a[n].command){r=n;break}i.callBase(e,o.extend({scrollingMode:s,columnsCountBeforeGroups:r},t)),i._renderFreeSpaceRow(e),i._hasHeight||i.updateFreeSpaceRowHeight(e)},_renderRow:function(e,t){var n=this,i=t.row,a=n.option("rowTemplate");"data"!==i.rowType&&"group"!==i.rowType||p(i.groupIndex)||!a?n.callBase(e,t):n.renderTemplate(e,a,o.extend({columns:t.columns},i))},_renderTable:function(e){var t=this,n=t.callBase(e),i=function(){t.element().closest(document).length&&(t.resizeCompleted.remove(i),t.element().triggerHandler("dxshown"))};return p(t._getTableElement())?t._renderScrollable():(t._setTableElement(n),t._renderScrollable(!0),t.resizeCompleted.add(i)),n},_renderCore:function(e){var t,n=this,i=n.element();i.addClass(g).toggleClass(w,!n.option("wordWrapEnabled")),t=n._renderTable({change:e}),n._updateContent(t,e),n.callBase(e),n._lastColumnWidths=null},_getRows:function(e){return e&&e.items||this._dataController.items()},_getCellOptions:function(e){var t,n,i,o=this,a=e.column,r=e.row,s=r.data,c=r&&r.summaryCells,d=e.value,u=l.getDisplayValue(a,d,s,r.rowType);return t=this.callBase(e),t.value=d,t.displayValue=u,t.row=r,t.key=r.key,t.data=s,t.rowType=r.rowType,t.values=r.values,t.text=a.command?"":l.formatValue(u,a),t.rowIndex=r.rowIndex,t.summaryItems=c&&c[e.columnIndex],t.resized=a.resizedCallbacks,p(a.groupIndex)&&(n=o.option("grouping.texts"),i=o.option("scrolling.mode"),"virtual"!==i&&"infinite"!==i&&(t.groupContinuesMessage=s&&s.isContinuationOnNextPage&&n&&n.groupContinuesMessage,t.groupContinuedMessage=s&&s.isContinuation&&n&&n.groupContinuedMessage)),t},getCellOptions:function(e,t){var n,i,o=this._dataController.items()[e];return o&&(i=this._columnsController.columnOption(t),i&&(n=this._getCellOptions({value:i.calculateCellValue(o.data),rowIndex:o.rowIndex,row:o,column:i}))),n},getRow:function(e){var t=this._getRowElements();return t.length>e?o(t[e]):void 0},getCellIndex:function(e){var t=e.length?e[0].cellIndex:-1;return t},updateFreeSpaceRowHeight:function(e){var t,n,i,o,r=this,s=r._findContentElement(),l=r._getFreeSpaceRowElements(e),c=0;if(l&&s){var d=!1;r._dataController.items().length>0?r._hasHeight?(l.css("display","none"),a.deferUpdate(function(){t=r.element().height(),c=s.outerHeight(),o=t-c-r.getScrollbarWidth(!0),o>0&&a.deferRender(function(){l.height(o),d=!0,l.css("display","")}),a.deferRender(function(){r._updateLastRowBorder(d)})})):(n=r._dataController.pageSize()-r._dataController.items().length,i=r.option("scrolling.mode"),n>0&&r._dataController.pageCount()>1&&"virtual"!==i&&"infinite"!==i&&(l.height(n*r._rowHeight),d=!0),!d&&e?l.height(0):l.css("display",d?"":"none"),r._updateLastRowBorder(d)):(l.height(0),l.css("display",""),r._updateLastRowBorder(!0))}},_columnOptionChanged:function(e){var t=e.optionNames;e.changeTypes.grouping||(t.width||t.visibleWidth)&&(this.callBase(e),this._fireColumnResizedCallbacks())},getScrollable:function(){return this._scrollable},init:function(){var e=this,t=e.getController("data");e.callBase(),e._editorFactoryController=e.getController("editorFactory"),e._rowHeight=0,e._scrollTop=0,e._scrollLeft=0,e._hasHeight=!1,t.loadingChanged.add(function(t,n){e.setLoading(t,n)}),t.dataSourceChanged.add(function(){e._handleScroll({scrollOffset:{top:e._scrollTop,left:e._scrollLeft}})})},_handleDataChanged:function(e){var t=this;switch(e.changeType){case"refresh":case"prepend":case"append":case"update":t.render(null,e);break;default:t._update(e)}},publicMethods:function(){return["isScrollbarVisible","getTopVisibleRowData","getScrollbarWidth","getCellElement"]},contentWidth:function(){return this.element().width()-this.getScrollbarWidth()},getScrollbarWidth:function(e){var t=this._scrollableContainer&&this._scrollableContainer.get(0),n=0;return t&&(n=e?t.clientHeight?t.offsetHeight-t.clientHeight:0:t.clientWidth?t.offsetWidth-t.clientWidth:0),n>0?n:0},_fireColumnResizedCallbacks:function(){var e,t=this,n=t._lastColumnWidths||[],i=[],o=t.getColumns();for(e=0;e<o.length;e++)i[e]=o[e].visibleWidth,o[e].resizedCallbacks&&!p(o[e].groupIndex)&&n[e]!==i[e]&&o[e].resizedCallbacks.fire(i[e]);t._lastColumnWidths=i},_updateLastRowBorder:function(e){this.option("showBorders")&&this.option("showRowLines")&&!e?this.element().addClass(k):this.element().removeClass(k)},_updateScrollable:function(){var e=u.getInstance(this.element());e&&(e.update(),this._updateHorizontalScrollPosition())},_updateHorizontalScrollPosition:function(){var e=this.getScrollable(),t=e&&e.scrollOffset().left;0===t&&t!==this._scrollLeft&&e.scrollTo({x:this._scrollLeft})},_resizeCore:function(){var e=this;e._fireColumnResizedCallbacks(),e._updateRowHeight(),a.deferRender(function(){e._renderScrollable(),e._renderNoDataText(),e.updateFreeSpaceRowHeight()}),e._updateScrollable(),e.setLoading(e._dataController.isLoading())},scrollTo:function(e){var t=this.element(),n=t&&u.getInstance(t);n&&n.scrollTo(e)},height:function(e,t){var n=this,i=this.element();return p(e)?(n._hasHeight=void 0===t?"auto"!==e:t,void(i&&i.css("height",e))):i?i.outerHeight(!0):0},setLoading:function(e,t){var n,i=this,o=i._loadPanel,a=i._dataController,r=i.option("loadPanel")||{},s=a.isLoaded()?r.animation:null,l=i.element();!o&&void 0!==t&&a.isLocalStore()&&"auto"===r.enabled&&l&&(i._renderLoadPanel(l,l.parent()),o=i._loadPanel),o&&(n={message:t||r.text,animation:s,visible:e},clearTimeout(i._hideLoadingTimeoutID),o.option("visible")&&!e?i._hideLoadingTimeoutID=setTimeout(function(){o.option(n)},S):o.option(n))},isScrollbarVisible:function(){var e=this.element();return e?this._findContentElement().outerHeight()-e.height()>0:!1},setRowsOpacity:function(e,t){var n,i=this,r=i._columnsController,s=i.getColumns(),l=r.getColumns(),c=l&&l[e],d=c&&c.isBand&&c.index,u=i._getRowElements().not("."+f)||[];o.each(u,function(l,c){if(!o(c).hasClass(f))for(n=0;n<s.length&&(!(a.isNumber(d)&&r.isParentBandColumn(s[n].index,d)||s[n].index===e)||(i.getCellElements(l).eq(n).css({opacity:t}),a.isNumber(d)));n++);})},getCellElements:function(e){var t,n=this.callBase(e);return n&&(t=n.filter("."+_).index(),t>=0&&n.length>t+1&&(n.length=t+1)),n},getTopVisibleItemIndex:function(){var e,t,n=this,i=0,o=0,a=0,r=n._scrollTop,s=n._findContentElement().offset().top,l=n._dataController.items(),c=n._getTableElement();if(l.length&&c){for(e=c.children("tbody").children(".dx-row:visible, .dx-error-row").not("."+v),i=0;i<l.length;i++)if(o=a,t=e.eq(i),t.length&&(a=t.offset().top-s,a>r)){a+o>2*r&&i&&i--;break}i&&i===l.length&&i--}return i},getTopVisibleRowData:function(){var e=this.getTopVisibleItemIndex(),t=this._dataController.items();return t[e]?t[e].data:void 0},optionChanged:function(e){var t=this;switch(t.callBase(e),e.name){case"wordWrapEnabled":case"showColumnLines":case"showRowLines":case"rowAlternationEnabled":case"rowTemplate":case"twoWayBindingEnabled":t._invalidate(!0,!0),e.handled=!0;break;case"scrolling":t._rowHeight=null,t._tableElement=null,e.handled=!0;break;case"rtlEnabled":t._rowHeight=null,t._tableElement=null;break;case"loadPanel":t._tableElement=null,t._invalidate(!0,!0),e.handled=!0;break;case"noDataText":t._renderNoDataText(),e.handled=!0}},dispose:function(){clearTimeout(this._hideLoadingTimeoutID)},setScrollerSpacing:function(){}}),l.registerModule("rows",{defaultOptions:function(){return{hoverStateEnabled:!1,loadPanel:{enabled:"auto",text:h.format("Loading"),width:200,height:90,showIndicator:!0,indicatorSrc:"",showPane:!0},rowTemplate:null,columnAutoWidth:!1,noDataText:h.format("dxDataGrid-noDataText"),wordWrapEnabled:!1,showColumnLines:!0,showRowLines:!1,rowAlternationEnabled:!1,activeStateEnabled:!1,twoWayBindingEnabled:!0}},views:{rowsView:t.RowsView}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return s.isDefined(e.allowSearch)?e.allowSearch:e.allowFiltering}function a(e,t){var n=e.lookup;return n?e.parseValue.call(n,t):e.parseValue?e.parseValue(t):t}var r=n(1),s=n(2),l=n(16).compileGetter,c=n(20),d=n(95),u=n(8),h=n(35);n(224);var p="dx-datagrid-search-panel",f="dx-datagrid-search-text",_=700;c.registerModule("search",{defaultOptions:function(){return{searchPanel:{visible:!1,width:160,placeholder:u.format("dxDataGrid-searchPanelPlaceholder"),highlightSearchText:!0,text:"",searchVisibleColumnsOnly:!1}}},extenders:{controllers:{data:function(){var e=function(e,t){function n(e){var t,n,i=l(d.valueExpr);for(t=0;t<e.length;t++)n=i(e[t]),f.push(r.createFilterExpression(n,null,"search"))}var i,r,s,d,u=e._columnsController.getColumns(),p=e.option("searchPanel.searchVisibleColumnsOnly"),f=[];if(!t)return null;for(i=0;i<u.length;i++)r=u[i],p&&!r.visible||o(r)&&r.calculateFilterExpression&&(d=r.lookup,s=a(r,t),d&&d.items?h(d.items).filter(r.createFilterExpression.call({dataField:d.displayExpr,dataType:d.dataType,calculateFilterExpression:r.calculateFilterExpression},s,null,"search")).enumerate().done(n):void 0!==s&&f.push(r.createFilterExpression(s,null,"search")));return c.combineFilters(f,"or")};return{publicMethods:function(){return this.callBase().concat(["searchByText"])},_calculateAdditionalFilter:function(){var t=this,n=t.callBase(),i=e(t,t.option("searchPanel.text"));return c.combineFilters([n,i])},searchByText:function(e){this.option("searchPanel.text",e)},optionChanged:function(e){var t=this;switch(e.fullName){case"searchPanel.text":case"searchPanel":t._applyFilter(),e.handled=!0;break;default:t.callBase(e)}}}}()},views:{headerPanel:function(){var e=function(e){return e.option("searchPanel")};return{_getToolbarItems:function(){var e=this.callBase();return this._prepareSearchItem(e)},_prepareSearchItem:function(t){var n=this,i=n.getController("data"),o=e(n);if(o&&o.visible){var a={template:function(e,t,a){var s=r("<div />").addClass(p).appendTo(a);n.setAria("label",u.format("dxDataGrid-ariaSearchInGrid"),s),n.getController("editorFactory").createEditor(s,{width:o.width,placeholder:o.placeholder,parentType:"searchPanel",value:n.option("searchPanel.text"),updateValueTimeout:_,setValue:function(e){i.searchByText(e)}}),n.resize()},name:"searchPanel",location:"after",locateInMenu:"never"};t.push(a)}return t},focus:function(){var e=this.element().find("."+p);e.length&&e.dxTextBox("instance").focus()},isVisible:function(){var t=e(this);return this.callBase()||t&&t.visible},optionChanged:function(e){"searchPanel"===e.name?(this._invalidateToolbarItems(),"searchPanel.text"===e.fullName&&this.focus(),e.handled=!0):this.callBase(e)}}}(),rowsView:{_highlightSearchText:function(e,t,n){var i,o,s=this,l=s.option("searchPanel.text");if(l&&s.option("searchPanel.highlightSearchText")){if(t&&n){var u=a(n,l);if(l=c.formatValue(u,n),!l)return}o=r("<div>").text(l).html(),i=e.parent(),i.length||(i=r("<div>").append(e)),r.each(i.find(d.icontains+"('"+l+"')"),function(e,n){r.each(r(n).contents(),function(e,n){if(3===n.nodeType){var i=function(e,t){var n=r("<span />").addClass(f),o=e.text(),a=o.toLowerCase().indexOf(t.toLowerCase());return a>=0?(e[0].textContent?e[0].textContent=o.substr(0,a):e[0].nodeValue=o.substr(0,a),e.after(n.text(o.substr(a,t.length))),e=r(document.createTextNode(o.substr(a+t.length))).insertAfter(n),i(e,t)):void 0};t?r(n).text().toLowerCase()===l.toLowerCase()&&r(this).replaceWith(r("<span />").addClass(f).text(r(n).text())):i(r(n),l)}})})}},_renderCore:function(e,t){this.callBase.apply(this,arguments),this.option("rowTemplate")&&this._highlightSearchText(this._getTableElement())},_updateCell:function(e,t){var n=this,i=t.column,a="string"!==i.dataType;o(i)&&n._highlightSearchText(e,a,i),n.callBase(e,t)}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(47),s=r.equalKeys,l=n(2),c=n(17),d=n(9),u=n(8),h=n(4),p=n(64),f=n(35),_=n(59),g=a.getKeyHash,m="dx-editor-cell",v="dx-row",x="dx-selection",w="dx-select-checkbox",y="dx-select-checkboxes-hidden",b="dx-command-select",C="dx-selection-disabled",k="dx-data-row",S="selection.showCheckBoxesMode",T="selection.mode",I=function(e){return"single"===e||"multiple"===e},D=function(e,t){var n=e.getController("selection"),i=e.getView("rowsView"),a=o(t.target).closest("."+k),r=i.getRowIndex(a);0>r||("onLongTap"===e.option(S)?n.isSelectionWithCheckboxes()?n.stopSelectionWithCheckboxes():n.startSelectionWithCheckboxes():("onClick"===e.option(S)&&n.startSelectionWithCheckboxes(),n.changeItemSelection(r,{control:!0})))};t.SelectionController=a.Controller.inherit(function(){var e=function(e,t,n){var i,o,a=n?e._unselectedItemKeys:e._selectedItemKeys;if(l.isObject(t)){for(i=0;i<a.length;i++)if(s(a[i],t))return i;return-1}return o=e._selectedItemKeyHashIndices[t],o&&o[0]>=0?o[0]:-1},t=function(t,n){var i=t.getController("data").keyOf(n),o=g(i);-1===e(t,o)&&(l.isObject(o)||(t._selectedItemKeyHashIndices[o]=[t._selectedItemKeys.length]),t._selectedItemKeys.push(i),t._addedItemKeys.push(i),t._selectedItems.push(n))},n=function(t,n){var i,o,a,r,s=g(n),c=e(t,s);if(c>=0&&(t._selectedItemKeys.splice(c,1),t._removedItemKeys.push(n),t._selectedItems.splice(c,1),!l.isObject(s)&&(a=t._selectedItemKeyHashIndices[s])))for(a.shift(),a.length||delete t._selectedItemKeyHashIndices[s],i=c;i<t._selectedItemKeys.length;i++)if(o=t._selectedItemKeyHashIndices[g(t._selectedItemKeys[i])])for(r=0;r<o.length;r++)o[r]>c&&o[r]--},i=function(e){a(e,[],[])},a=function(e,t,n){var i,a,r,s=e._selectedItemKeys;for(e._selectedItemKeys=t,e._selectedItemKeyHashIndices={},e._selectedItems=n,e._unselectedItemKeys=[],i=0;i<s.length;i++)-1===o.inArray(s[i],t)&&e._removedItemKeys.push(s[i]);for(i=0;i<t.length;i++)a=g(t[i]),l.isObject(a)||(r=e._selectedItemKeyHashIndices[a]=e._selectedItemKeyHashIndices[a]||[],r.push(i)),-1===o.inArray(t[i],s)&&e._addedItemKeys.push(t[i])},r=function(e){delete e._shiftFocusedItemIndex},c=function(e){return e&&"data"===e.rowType&&!e.inserted},d=function(e,i,o){var a,r,s=!1,d=e.getController("data"),u=o[e._focusedItemIndex]&&e.isRowSelected(d.keyOf(o[e._focusedItemIndex].data)),h=function(e,i,o){o?n(e,d.keyOf(i)):t(e,i)};if(l.isDefined(e._shiftFocusedItemIndex)||(e._shiftFocusedItemIndex=e._focusedItemIndex),e._shiftFocusedItemIndex!==e._focusedItemIndex)for(a=e._focusedItemIndex<e._shiftFocusedItemIndex?1:-1,r=e._focusedItemIndex;r!==e._shiftFocusedItemIndex;r+=a)c(o[r])&&(h(e,o[r].data,!0),s=!0);if(i!==e._shiftFocusedItemIndex)for(a=i<e._shiftFocusedItemIndex?1:-1,r=i;r!==e._shiftFocusedItemIndex;r+=a)c(o[r])&&(h(e,o[r].data,!1),s=!0);return c(o[e._focusedItemIndex])&&!u&&(h(e,o[e._focusedItemIndex].data,!1),s=!0),s},u=function(e,t,n){var i,a,r=e&&e.key(),l=[];return e&&(r?o.each(t,function(e,t){if(l.length>0&&l.push(n?"and":"or"),o.isArray(r)){for(i=[],a=0;a<r.length;a++)a>0&&i.push(n?"or":"and"),i.push([r[a],n?"<>":"=",t[r[a]]]);l.push(i)}else l.push([r,n?"<>":"=",t])}):l=function(e){var i;for(i=0;i<t.length;i++)if(s(t[i],e))return!n;return n}),l.length>0||o.isFunction(l)?l:void 0},h=function(e){var t,n,i=[],a=e.getController("data"),r=e.isSelectionWithCheckboxes();a&&(o.each(a.items(),function(t,n){c(n)&&n.isSelected!==e.isRowSelected(n.key)&&i.push(t)}),"onClick"===e.option(S)&&(e._selectedItemKeys.length>1?e.startSelectionWithCheckboxes():0===e._selectedItemKeys.length&&e._removedItemKeys.length&&e.stopSelectionWithCheckboxes()),(i.length||r!==e.isSelectionWithCheckboxes())&&a.updateItems({changeType:"updateSelection",itemIndexes:i}),t=e._addedItemKeys,n=e._removedItemKeys,(t.length||n.length)&&(e._selectedItemsInternalChange=!0,e.option("selectedRowKeys",e._selectedItemKeys.slice(0)),e._selectedItemsInternalChange=!1,e.selectionChanged.fire(e._selectedItemKeys),e._addedItemKeys=[],e._removedItemKeys=[],e.executeAction("onSelectionChanged",{selectedRowsData:e._selectedItems,selectedRowKeys:e._selectedItemKeys,currentSelectedRowKeys:t,currentDeselectedRowKeys:n})))},p=function(e){var t=e.getController("columns"),n=e.isSelectColumnVisible();t.addCommandColumn({command:"select",visible:n,visibleIndex:-1,dataType:"boolean",alignment:"center",cssClass:b,width:"auto"}),t.columnOption("command:select","visible",n)};return{init:function(){var e=this;e._isSelectionWithCheckboxes=!1,e._focusedItemIndex=-1,e._selectedItemKeys=[],e._selectedItemKeyHashIndices={},e._unselectedItemKeys=[],e._selectedItems=[],e._addedItemKeys=[],e._removedItemKeys=[],p(e),e.createAction("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})},callbackNames:function(){return["selectionChanged"]},optionChanged:function(e){var t=this;switch(t.callBase(e),e.name){case"selection":t.init(),t.getController("columns").updateColumns(),e.handled=!0;break;case"selectedRowKeys":l.isArray(e.value)&&!t._selectedItemsInternalChange&&t.selectRows(e.value),e.handled=!0}},publicMethods:function(){return["selectRows","deselectRows","selectRowsByIndexes","getSelectedRowKeys","getSelectedRowsData","clearSelection","selectAll","deselectAll","startSelectionWithCheckboxes","stopSelectionWithCheckboxes","isRowSelected"]},isRowSelected:function(t){var n=g(t),i=e(this,n);return-1!==i},isSelectColumnVisible:function(){var e=this.option(S);return"multiple"===this.option(T)&&("always"===e||"onClick"===e||this._isSelectionWithCheckboxes)},isSelectAll:function(){var e,t=this.getController("data"),n=t.items(),i=t.getCombinedFilter(),o=this.getSelectedRowsData();if(i&&f(o).filter(i).enumerate().done(function(e){o=e}),!o.length){for(e=0;e<n.length;e++)if(n[e].selected)return;return!1}return o.length>=t.totalCount()?!0:void 0},selectAll:function(){return"onClick"===this.option(S)&&this.startSelectionWithCheckboxes(),this.selectedItemKeys([],!0,!1,!0)},deselectAll:function(){return this.selectedItemKeys([],!0,!0,!0)},clearSelection:function(){return this.selectedItemKeys([])},refresh:function(){return this.selectedItemKeys(this.option("selectedRowKeys")||[])},selectedItemKeys:function(e,i,r,s){var c,d,p,f,g,m,v,x=this,w=x.getController("data"),y=w.dataSource(),b=y&&y.store(),C=[];if(l.isDefined(e)){if(b&&(c=o.isArray(e)?o.extend([],e):[e],c.length||s)){if(d=u(y,c,s),p=o.isFunction(d),s&&(g=w.getCombinedFilter(),r&&!g))return x.clearSelection();(d||s)&&(d&&!p&&g?(m=[],m.push(d),m.push(g)):g?m=g:d&&!p&&(m=d),f=o.Deferred(),r&&new _(x._selectedItems).load({filter:m}).done(function(e){C=e}),v={filter:m,select:y.select()},new _(C.length?C:y.items()).load({filter:d}).done(function(e){s||!C.length&&e.length!==c.length?y.load(v).done(function(e){new _(e).load({filter:d}).done(f.resolve)}).fail(o.proxy(f.reject,f)):f.resolve(e)}))}return f=f||o.Deferred().resolve([]),f.done(function(e){var o,s,l,c=[];if(b&&e.length>0)for(o=0;o<e.length;o++)l=e[o],s=b.keyOf(l),i?r?n(x,s):t(x,l):c.push(s);i||a(x,c,e),h(x)}),f}return x._selectedItemKeys},getSelectedRowKeys:function(){return this.selectedItemKeys()},selectRows:function(e,t){return this.selectedItemKeys(e,t)},deselectRows:function(e){return this.selectedItemKeys(e,!0,!0)},selectRowsByIndexes:function(e){var t=this.getController("data").items(),n=[];return l.isArray(e)||(e=Array.prototype.slice.call(arguments,0)),o.each(e,function(){var e=t[this];e&&"data"===e.rowType&&n.push(e.key)}),this.selectRows(n)},getSelectedRowsData:function(){return this._selectedItems},changeItemSelection:function(e,o){var l,u,p,f=this,_=f.getController("data"),g=_.items(),m=g[e],v=m&&(m.oldData||m.data),x=f.option(T);return I(x)&&c(m)&&(p=_.keyOf(v),o=o||{},f.isSelectionWithCheckboxes()&&(o.control=!0),o.shift&&"multiple"===x&&f._focusedItemIndex>=0?l=d(f,e,g):o.control?(r(f),u=f.isRowSelected(p),"single"===x&&i(f),u?n(f,p):t(f,v),l=!0):(r(f),1===f._selectedItemKeys.length&&s(f._selectedItemKeys[0],p)||(a(f,[p],[v]),l=!0)),l)?(f._focusedItemIndex=e,h(f),!0):!1},focusedItemIndex:function(e){var t=this;return l.isDefined(e)?void(t._focusedItemIndex=e):t._focusedItemIndex},isSelectionWithCheckboxes:function(){var e=this.option(T),t=this.option(S);return"multiple"===e&&("always"===t||this._isSelectionWithCheckboxes)},startSelectionWithCheckboxes:function(){var e=this,t=e.isSelectColumnVisible();return"multiple"!==e.option(T)||e.isSelectionWithCheckboxes()?!1:(e._isSelectionWithCheckboxes=!0,p(e),t===e.isSelectColumnVisible()&&"onClick"===e.option(S)&&h(e),!0)},stopSelectionWithCheckboxes:function(){var e=this;return e._isSelectionWithCheckboxes?(e._isSelectionWithCheckboxes=!1,p(e),!0):!1}}}()),a.registerModule("selection",{defaultOptions:function(){return{selection:{mode:"none",showCheckBoxesMode:"onClick",allowSelectAll:!0},selectedRowKeys:[]}},controllers:{selection:t.SelectionController},extenders:{controllers:{data:{setDataSource:function(e){this.callBase(e),e&&this.getController("selection").refresh()},pageIndex:function(e){var t=this,n=t._dataSource;return n&&e&&n.pageIndex()!==e&&t.getController("selection").focusedItemIndex(-1),t.callBase(e)},_processDataItem:function(e,t){var n=this,i=n.getController("selection"),o=i.isSelectColumnVisible(),a=this.callBase.apply(this,arguments);if(a.isSelected=i.isRowSelected(a.key),o&&a.values)for(var r=0;r<t.visibleColumns.length;r++)if("select"===t.visibleColumns[r].command){a.values[r]=a.isSelected;break}return a},refresh:function(){var e=this,t=o.Deferred();return this.callBase.apply(this,arguments).done(function(){e.getController("selection").refresh().done(t.resolve).fail(t.reject)}).fail(t.reject),t.promise()}},contextMenu:{_contextMenuPrepared:function(e){var t=e.jQueryEvent;t.originalEvent&&"dxhold"!==t.originalEvent.type||e.items&&e.items.length>0||D(this,t)}}},views:{columnHeadersView:{init:function(){var e=this;e.callBase(),e.getController("selection").selectionChanged.add(o.proxy(e._updateSelectAllValue,e))},_updateSelectAllValue:function(){var e=this,t=e.element(),n=t&&t.find("."+w);t&&n.length&&"multiple"===e.option("selection.mode")&&n.dxCheckBox("instance").option("value",e.getController("selection").isSelectAll())},_handleDataChanged:function(e){this.callBase(e),e&&"refresh"!==e.changeType||this._updateSelectAllValue()},_getDefaultTemplate:function(e){var t,n=this,i=n.getController("selection");return"select"===e.command?function(e,a){var r=a.column;"select"===r.command&&(e.addClass(m),t=o("<div />").appendTo(e).addClass(w),n.setAria("label",u.format("dxDataGrid-ariaSelectAll"),e),n.getController("editorFactory").createEditor(t,o.extend({},r,{parentType:"headerRow",value:i.isSelectAll(),editorOptions:{visible:n.option("selection.allowSelectAll")||i.isSelectAll()!==!1},tabIndex:-1,setValue:function(e,t){var o=n.option("selection.allowSelectAll");t.jQueryEvent&&i.isSelectAll()!==e&&((void 0===t.previousValue||t.previousValue)&&(i.deselectAll(),t.component.option("value",!1)),t.previousValue===!1&&(o?i.selectAll():t.component.option("value",!1)),t.jQueryEvent.preventDefault()),t.component.option("visible",o||t.component.option("value")!==!1)}})),e.on(d.name,n.createAction(function(e){var t=e.jQueryEvent;o(t.target).closest("."+w).length||o(t.currentTarget).children().trigger(d.name),t.preventDefault()})))}:n.callBase(e)}},rowsView:{_getDefaultTemplate:function(e){var t,n=this;return"select"===e.command?function(i,a){"data"!==a.rowType||a.row.inserted||(i.addClass(m),i.on(d.name,n.createAction(function(e){var t=n.getController("selection"),i=e.jQueryEvent,a=n.getRowIndex(o(i.currentTarget).closest("."+v));a>=0&&(t.startSelectionWithCheckboxes(),t.changeItemSelection(a,{shift:i.shiftKey}))})),n.setAria("label",u.format("dxDataGrid-ariaSelectRow"),i),t=o("<div />").addClass(w).appendTo(i),n.getController("editorFactory").createEditor(t,o.extend({},e,{parentType:"dataRow",value:a.value,tabIndex:-1,setValue:function(e,t){t&&t.jQueryEvent&&"keydown"===t.jQueryEvent.type&&i.trigger(d.name,t)}})))}:n.callBase(e)},_update:function(e){var t=this,n=t.getTableElements();"updateSelection"===e.changeType?n.length>0&&(o.each(n,function(n,i){o.each(e.itemIndexes||[],function(n,a){var r,s;e.items[a]&&(r=t._getRowElements(o(i)).eq(a),s=!!e.items[a].isSelected,r.toggleClass(x,s).find("."+w).dxCheckBox("option","value",s),
t.setAria("selected",s,r))})}),t._updateCheckboxesClass()):t.callBase(e)},_createTable:function(){var e=this,t=e.option("selection.mode"),n=e.callBase.apply(e,arguments);return"none"!==t&&("onLongTap"!==e.option(S)&&c.touch||n.on(h.addNamespace(p.name,"dxDataGridRowsView"),"."+k,e.createAction(function(t){D(e.component,t.jQueryEvent),t.jQueryEvent.stopPropagation()})),n.on("mousedown selectstart",e.createAction(function(e){var t=e.jQueryEvent;t.shiftKey&&t.preventDefault()}))),n},_createRow:function(e){var t,n=this.callBase(e);return e&&(t=!!e.isSelected,t&&n.addClass(x),this.setAria("selected",t,n)),n},_rowClick:function(e){var t=this,n=e.jQueryEvent,i=o(n.target).closest("."+C).length;t.isClickableElement(o(n.target))||(i||"multiple"===t.option(T)&&"always"===t.option(S)||t.getController("selection").changeItemSelection(e.rowIndex,{control:n.ctrlKey,shift:n.shiftKey})&&(n.preventDefault(),e.handled=!0),t.callBase(e))},isClickableElement:function(e){var t=e.closest("."+b).length;return!!t},_renderCore:function(e){this.callBase(e),this._updateCheckboxesClass()},_updateCheckboxesClass:function(){var e=this.getTableElements(),t=this.getController("selection"),n=t.isSelectColumnVisible()&&!t.isSelectionWithCheckboxes();o.each(e,function(e,t){o(t).toggleClass(y,n)})}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(9),r=n(20),s=n(2),l=n(315).sortingMixin,c=n(8),d=n(4),u="dxDataGridColumnHeadersView",h=o.extend({},l,{_createRow:function(e){var t=this,n=t.callBase(e);return"header"===e.rowType&&n.on(d.addNamespace(a.name,u),"> td",t.createAction(function(e){var n=null,i=e.jQueryEvent,a=o(i.currentTarget),r=a.parent().index(),l=o.map(t.getCellElements(r),function(e,t){return e===a.get(0)?t:void 0})[0],c=t._columnsController.getVisibleColumns(r),d=c[l];!d||s.isDefined(d.groupIndex)||d.command||(i.shiftKey?n="shift":i.ctrlKey&&(n="ctrl"),setTimeout(function(){t._columnsController.changeSortOrder(d.index,n)}))})),n},_renderCellContent:function(e,t){var n=this,i=t.column;n.callBase(e,t),i.command||"header"!==t.rowType||n._applyColumnState({name:"sort",rootElement:e,column:i,showColumnLines:n.option("showColumnLines")})},_columnOptionChanged:function(e){var t=e.changeTypes;return 1===t.length&&t.sorting?void this._updateIndicators("sort"):void this.callBase(e)},optionChanged:function(e){var t=this;switch(e.name){case"sorting":t._invalidate(),e.handled=!0;break;default:t.callBase(e)}}}),p=o.extend({},l,{_createGroupPanelItem:function(e,t){var n=this,i=n.callBase.apply(n,arguments);return i.on(d.addNamespace(a.name,"dxDataGridHeaderPanel"),n.createAction(function(e){setTimeout(function(){n.getController("columns").changeSortOrder(t.index)})})),n._applyColumnState({name:"sort",rootElement:i,column:{alignment:n.option("rtlEnabled")?"right":"left",allowSorting:t.allowSorting,sortOrder:"desc"===t.sortOrder?"desc":"asc"},showColumnLines:!0}),i},optionChanged:function(e){var t=this;switch(e.name){case"sorting":t._invalidate(),e.handled=!0;break;default:t.callBase(e)}}});r.registerModule("sorting",{defaultOptions:function(){return{sorting:{mode:"single",ascendingText:c.format("dxDataGrid-sortingAscendingText"),descendingText:c.format("dxDataGrid-sortingDescendingText"),clearText:c.format("dxDataGrid-sortingClearText")}}},extenders:{views:{columnHeadersView:h,headerPanel:p}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(316),s=n(47),l=function(e){var t=e.getController("columns"),n=e.getController("selection"),i=e.getController("export"),r=e.getController("data"),l=e.getView("pagerView");t&&t.columnsChanged.add(function(){var n=t.getUserState(),i=a.getKeyHash(n),r=a.getKeyHash(e._state.columns);s.equalKeys(r,i)||(o.extend(e._state,{columns:n}),e.isEnabled()&&e.save())}),n&&n.selectionChanged.add(function(t){o.extend(e._state,{selectedRowKeys:t}),e.isEnabled()&&e.save()}),r&&(e._initialPageSize=e.option("paging.pageSize"),r.changed.add(function(){o.extend(e._state,{searchText:e.option("searchPanel.text"),pageIndex:r.pageIndex(),pageSize:r.pageSize(),allowedPageSizes:l?l.getPageSizes():void 0}),e.isEnabled()&&e.save()})),i&&i.selectionOnlyChanged.add(function(){o.extend(e._state,{exportSelectionOnly:i.selectionOnly()}),e.isEnabled()&&e.save()})},c=function(e,t){var n=t.allowedPageSizes,i=t.searchText,o=t.selectedRowKeys,a=e.getController("export"),r=e.getController("columns"),s=e.option("scrolling.mode");e.component.beginUpdate(),r&&r.setUserState(t.columns),a&&a.selectionOnly(t.exportSelectionOnly),e.option("selectedRowKeys",o||[]),n&&"auto"===e.option("pager.allowedPageSizes")&&(e.option("pager").allowedPageSizes=n),e.option("searchPanel.text",i||""),e.option("paging.pageSize","virtual"!==s&&"infinite"!==s&&t.pageSize?t.pageSize:e._initialPageSize),e.option("paging.pageIndex",t.pageIndex||0),e.component.endUpdate()};a.registerModule("stateStoring",{defaultOptions:function(){return{stateStoring:{enabled:!1,storageKey:null,type:"localStorage",customLoad:null,customSave:null,savingTimeout:2e3}}},controllers:{stateStoring:r.StateStoringController},extenders:{controllers:{stateStoring:{init:function(){this.callBase.apply(this,arguments),l(this)},state:function(e){var t=this.callBase.apply(this,arguments);return void 0!==e&&c(this,o.extend({},e)),t}},columns:{getVisibleColumns:function(){var e=this.callBase.apply(this,arguments),t=this.getController("stateStoring");return t.isEnabled()&&!t.isLoaded()?[]:e}},data:{_refreshDataSource:function(){var e=this,t=e.callBase,n=e.getController("stateStoring");n.isEnabled()&&!n.isLoaded()?(clearTimeout(e._restoreStateTimeoutID),e._restoreStateTimeoutID=setTimeout(function(){n.load().always(function(){e._restoreStateTimeoutID=null,t.call(e)})})):e._restoreStateTimeoutID||t.call(e)},isLoading:function(){var e=this,t=e.getController("stateStoring");return this.callBase()||t.isLoading()},dispose:function(){clearTimeout(this._restoreStateTimeoutID),this.callBase()}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(16).compileGetter,s=n(19),l=n(20),c=n(8),d=n(214),u=n(159),h=n(426),p=n(35),f=n(27),_="dx-datagrid-total-footer",g="dx-datagrid-summary-item",m="dx-datagrid-text-content",v="dx-datagrid-group-footer",x="dx-datagrid-group-text-content",w="dx-datagrid-nowrap",y="groupFooter",b=function(e,t){var n,i,a=t.column,r=t.summaryItems,s=[];if(!a.command&&r){for(n=0;n<r.length;n++)i=r[n],s.push(o("<div>").css("text-align",i.alignment||a.alignment).addClass(g).addClass(m).addClass(i.cssClass).toggleClass(x,"group"===t.rowType).text(l.getSummaryText(i,t.summaryTexts)));e.append(s)}},C=function(e,t){var n=e.option("summary.texts")||{};return{totalItem:t.row,summaryItems:t.row.summaryCells[t.columnIndex],summaryTexts:n}},k=function(e){return e.summary||e.aggregates||[]};t.FooterView=u.ColumnsView.inherit(function(){return{_getRows:function(){return this._dataController.footerItems()},_getCellOptions:function(e){return o.extend(this.callBase(e),C(this,e))},_renderCellContent:function(e,t){b(e,t),this.callBase(e,t)},_renderCore:function(){var e=this._dataController.footerItems()[0];this.element().empty().addClass(_).toggleClass(w,!this.option("wordWrapEnabled")),e&&e.summaryCells&&e.summaryCells.length&&this._updateContent(this._renderTable())},_rowClick:function(e){var t=this._dataController.footerItems()[e.rowIndex]||{};this.executeAction("onRowClick",o.extend({},e,t))},_columnOptionChanged:function(e){var t=e.optionNames;e.changeTypes.grouping||(t.width||t.visibleWidth)&&this.callBase(e)},_handleDataChanged:function(e){"refresh"===e.changeType&&this.render()},getHeight:function(){var e=this.element();return e?e.outerHeight(!0):0},isVisible:function(){return!!this._dataController.footerItems().length}}}());var S=function(){return{init:function(){this.callBase.apply(this,arguments),this._totalAggregates=[]},summary:function(e){return arguments.length?void(this._summary=e):this._summary},totalAggregates:function(){return this._totalAggregates}}}(),T=function(){var e=function(e,t,n,i){var o;return t&&(o=new h({totalAggregates:t.totalAggregates,groupAggregates:t.groupAggregates,data:n,groupLevel:i}),o.calculate()),o?o.totalAggregates():[]},t=function(e,n,i){if(!e||!n.length)return e;var a,r=n[0],s=i[0];return r&&s&&s.length&&(a=p(e),o.each(s,function(e){a=0===e?a.sortBy(this.selector,this.desc):a.thenBy(this.selector,this.desc)}),a.enumerate().done(function(t){e=t})),n=n.slice(1),i=i.slice(1),n.length&&i.length&&o.each(e,function(){this.items=t(this.items,n,i)}),e},n=function(e,n,i){var o=i&&i.sortByGroups&&i.sortByGroups();return o&&o.length?t(e,n,o):e};return{_customizeRemoteOperations:function(e){var t=this.summary();t&&(e.remoteOperations.summary?e.isCustomLoading&&!e.storeLoadOptions.isLoadingAll||(e.storeLoadOptions.group&&(e.remoteOperations.grouping?e.storeLoadOptions.groupSummary=t.groupAggregates:t.groupAggregates.length&&(e.remoteOperations.paging=!1)),e.storeLoadOptions.totalSummary=t.totalAggregates):(t.totalAggregates.length||t.groupAggregates.length&&e.storeLoadOptions.group)&&(e.remoteOperations.paging=!1)),this.callBase.apply(this,arguments)},_handleDataLoadedCore:function(t){var i,o=this,a=f.normalizeSortingInfo(t.loadOptions.group||[]),r=o.summary(),s=t.remoteOperations||{};s.summary?(!s.paging&&!s.grouping&&a.length&&r&&(e(o,{groupAggregates:r.groupAggregates},t.data,a.length),t.data=n(t.data,a,r)),o._totalAggregates=t.extra&&t.extra.summary||o._totalAggregates):s.paging||(i=e(o,r,t.data,a.length),t.data=n(t.data,a,r),t.extra=t.extra||{},o._totalAggregates=t.extra.summary=i),o.callBase(t)}}}();d.extend(S),d.extend(T),t.renderSummaryCell=b,l.registerModule("summary",{defaultOptions:function(){return{summary:{groupItems:void 0,totalItems:void 0,calculateCustomSummary:void 0,skipEmptyValues:!0,texts:{sum:c.getFormatter("dxDataGrid-summarySum"),sumOtherColumn:c.getFormatter("dxDataGrid-summarySumOtherColumn"),min:c.getFormatter("dxDataGrid-summaryMin"),minOtherColumn:c.getFormatter("dxDataGrid-summaryMinOtherColumn"),max:c.getFormatter("dxDataGrid-summaryMax"),maxOtherColumn:c.getFormatter("dxDataGrid-summaryMaxOtherColumn"),avg:c.getFormatter("dxDataGrid-summaryAvg"),avgOtherColumn:c.getFormatter("dxDataGrid-summaryAvgOtherColumn"),count:c.getFormatter("dxDataGrid-summaryCount")}},sortByGroupSummaryInfo:void 0}},views:{footerView:t.FooterView},extenders:{controllers:{data:function(){return{_isDataColumn:function(e){return e&&(!a.isDefined(e.groupIndex)||e.showWhenGrouped)},_isGroupFooterVisible:function(){var e,t,n,i=this.option("summary.groupItems")||[];for(n=0;n<i.length;n++)if(e=i[n],t=this._columnsController.columnOption(e.showInColumn||e.column),e.showInGroupFooter&&this._isDataColumn(t))return!0;return!1},_processGroupItems:function(e,t,n){var i=this.callBase.apply(this,arguments);return n&&(void 0===n.isGroupFooterVisible&&(n.isGroupFooterVisible=this._isGroupFooterVisible()),n.data&&n.data.items&&n.isGroupFooterVisible&&(n.collectContinuationItems||!n.data.isContinuationOnNextPage)&&i.push({rowType:y,data:n.data,groupIndex:n.path.length-1,values:[]})),i},_processGroupItem:function(e,t){var n=this;if(t.summaryGroupItems||(t.summaryGroupItems=n.option("summary.groupItems")||[]),"group"===e.rowType){var i=-1,r=-1;o.each(t.visibleColumns,function(n){var o=t.visibleColumns[n-1];e.groupIndex===this.groupIndex&&(i=this.index),n>0&&"expand"===o.command&&"expand"!==this.command&&(r=this.index)}),e.summaryCells=this._calculateSummaryCells(t.summaryGroupItems,k(e.data),t.visibleColumns,function(e,t){return e.showInGroupFooter?-1:e.alignByColumn&&t&&!a.isDefined(t.groupIndex)&&t.index!==r?t.index:i})}return e.rowType===y&&(e.summaryCells=this._calculateSummaryCells(t.summaryGroupItems,k(e.data),t.visibleColumns,function(e,t){return e.showInGroupFooter&&n._isDataColumn(t)?t.index:-1})),e},_calculateSummaryCells:function(e,t,n,i){var r=this,s=[],c={};return o.each(e,function(e,n){var s,d=r._columnsController.columnOption(n.column),u=n.showInColumn&&r._columnsController.columnOption(n.showInColumn)||d,h=i(n,u);h>=0&&(c[h]||(c[h]=[]),s=t[e],s===s&&c[h].push(o.extend({},n,{value:a.isString(s)&&d&&d.deserializeValue?d.deserializeValue(s):s,valueFormat:a.isDefined(n.valueFormat)?n.valueFormat:l.getFormatByDataType(d&&d.dataType),columnCaption:d&&d.index!==h?d.caption:void 0})))}),o.isEmptyObject(c)||o.each(n,function(){s.push(c[this.index]||[])}),s},_getSummaryCells:function(e,t){var n=this,i=n._columnsController;return n._calculateSummaryCells(e,t,i.getVisibleColumns(),function(e,t){return n._isDataColumn(t)?t.index:-1})},_updateItemsCore:function(e){var t,n,i=this,o=i._dataSource,a=i.option("summary.totalItems");i.callBase(e),i._footerItems=[],o&&a&&a.length&&(n=o.totalAggregates(),t=this._getSummaryCells(a,n),t.length&&i._footerItems.push({rowType:"totalFooter",summaryCells:t}))},_getAggregates:function(e,t){var n=this,i=n.getController("columns"),l=n.option("summary.calculateCustomSummary"),c=n.option("summary.skipEmptyValues");return o.map(e||[],function(e){var d,u=i.columnOption(e.column),h=u&&u.calculateCellValue?o.proxy(u,"calculateCellValue"):r(u?u.dataField:e.column),p=e.summaryType||"count",f=e.column,_=a.isDefined(e.skipEmptyValues)?e.skipEmptyValues:c;return t?{selector:e.column,summaryType:e.summaryType}:(f="avg"===p||"sum"===p?function(e){var t=h(e);return a.isDefined(t)?Number(t):t}:h,"custom"===p&&(l||(s.log("E1026"),l=function(){}),d={component:n.component,name:e.name},l(d),d.summaryProcess="calculate",p={seed:function(){return d.summaryProcess="start",d.totalValue=void 0,delete d.value,l(d),d.totalValue},step:function(e,t){return d.summaryProcess="calculate",d.totalValue=e,d.value=t,l(d),d.totalValue},finalize:function(e){return d.summaryProcess="finalize",d.totalValue=e,delete d.value,l(d),d.totalValue}}),{selector:f,aggregator:p,skipEmptyValues:_})})},_addSortInfo:function(e,t,n,i){var o;t&&(o=t.groupIndex,i=i||t.sortOrder,a.isDefined(o)&&(e[o]=e[o]||[],e[o].push({selector:n,desc:"desc"===i})))},_findSummaryItem:function(e,t){var n=-1,i=function(e){var t=e.summaryType,n=e.column;return t&&n&&t+"_"+n};return a.isDefined(t)&&o.each(e||[],function(e){return this.name===t||e===t||this.summaryType===t||this.column===t||i(this)===t?(n=e,!1):void 0}),n},_getSummarySortByGroups:function(e,t){var n=this,i=n._columnsController,r=i.getGroupColumns(),s=[];if(t&&t.length)return o.each(e||[],function(){var e=this.sortOrder,l=this.groupColumn,c=n._findSummaryItem(t,this.summaryItem);if(!(0>c)){var d=function(e){return k(e)[c]};a.isDefined(l)?(l=i.columnOption(l),n._addSortInfo(s,l,d,e)):o.each(r,function(t,i){n._addSortInfo(s,i,d,e)})}}),s},_createDataSourceAdapterCore:function(e,t){var n=this._getSummaryOptions(t),i=this.callBase(e,t);return i.summary(n),i},_getSummaryOptions:function(e){var t=this,n=t.option("summary.groupItems"),i=t.option("summary.totalItems"),o=t.option("sortByGroupSummaryInfo"),a=t._getAggregates(n,e&&e.grouping&&e.summary),r=t._getAggregates(i,e&&e.summary),s=function(){return t._getSummarySortByGroups(o,n)};return a.length||r.length?{groupAggregates:a,totalAggregates:r,sortByGroups:s}:void 0},publicMethods:function(){var e=this.callBase();return e.push("getTotalSummaryValue"),e},getTotalSummaryValue:function(e){var t=this._findSummaryItem(this.option("summary.totalItems"),e),n=this._dataSource.totalAggregates();return n.length&&t>-1?n[t]:void 0},optionChanged:function(e){"summary"!==e.name&&"sortByGroupSummaryInfo"!==e.name||(e.name="dataSource"),this.callBase(e)},init:function(){this._footerItems=[],this.callBase()},footerItems:function(){return this._footerItems}}}()},views:{rowsView:function(){return{_createRow:function(e){var t=this.callBase(e);return e&&t.addClass(e.rowType===y?v:""),t},_renderCells:function(e,t){this.callBase.apply(this,arguments),"group"===t.row.rowType&&t.row.summaryCells&&t.row.summaryCells.length&&this._renderGroupSummaryCells(e,t)},_hasAlignByColumnSummaryItems:function(e,t){return!a.isDefined(t.columns[e].groupIndex)&&t.row.summaryCells[e].length},_getAlignByColumnCellCount:function(e,t){for(var n,i=0,o=1;e>o;o++)n=t.row.summaryCells.length-o,i=this._hasAlignByColumnSummaryItems(n,t)?o:i;return i},_renderGroupSummaryCells:function(e,t){var n=e.children().last(),i=Number(n.attr("colspan"))||1,o=this._getAlignByColumnCellCount(i,t);this._renderGroupSummaryCellsCore(n,t,i,o)},_renderGroupSummaryCellsCore:function(e,t,n,i){if(i>0){e.attr("colspan",n-i);for(var a=0;i>a;a++){var r=t.columns.length-i+a;this._renderCell(e.parent(),o.extend({column:t.columns[r],columnIndex:this._getSummaryCellIndex(r,t.columns)},t))}}},_getSummaryCellIndex:function(e,t){return e},_getCellTemplate:function(e){return!e.column.command&&!a.isDefined(e.column.groupIndex)&&e.summaryItems&&e.summaryItems.length?b:this.callBase(e)},_getCellOptions:function(e){var t=this,n=t.callBase(e);return e.row.summaryCells?o.extend(n,C(t,e)):n}}}()}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(20),r=n(47),s=n(2),l=n(8),c=n(25),d=n(13),u=n(65),h=n(157),p=n(163),f=n(50);n(311);var _="dx-datagrid-invalid",g="dx-invalid-message",m="dx-invalid-message-always",v="dx-revert-button",x="dx-datagrid-revert-tooltip",w="dx-highlight-outline",y="__DX_INSERT_INDEX__",b="row",C="form",k="batch",S="cell";t.ValidatingController=a.Controller.inherit(function(){return{init:function(){this._editingController=this.getController("editing"),this.createAction("onRowValidating")},_rowValidating:function(e,t){var n=this,i=t?t.brokenRules||t.brokenRule&&[t.brokenRule]:[],o=t?t.isValid:e.isValid,a={brokenRules:i,isValid:o,key:e.key,newData:e.data,oldData:e.oldData,errorText:null};return n.executeAction("onRowValidating",a),e.isValid=a.isValid,e.errorText=a.errorText,a},validate:function(e){var t=this,n=!0,i=t._editingController;return e=e||i.getEditMode()===b,t._isValidationInProgress?!1:(t._isValidationInProgress=!0,e?o.each(i._editData,function(e,a){var r;a.type&&"remove"!==a.type&&(r=t.validateGroup(a),r.isValid||o.each(r.brokenRules,function(){var e=this.validator.option("adapter").getValue();void 0===e&&(e=null),this.column&&i.updateFieldValue({key:a.key,column:this.column},e,null,!0)}),n=n&&r.isValid)}):t._currentCellValidator&&(n=t.validateGroup(t._currentCellValidator._findGroup()).isValid),t._isValidationInProgress=!1,n)},validateGroup:function(e){var t,n=this,i=u.getGroupConfig(e);return i&&i.validators.length&&(t=u.validateGroup(e)),n._rowValidating(e,t)},updateEditData:function(e){this._editingController.getEditMode()!==C?(this.setDisableApplyValidationResults(!0),e.isValid=u.getGroupConfig(e)?u.validateGroup(e).isValid:!0,this.setDisableApplyValidationResults(!1)):e.isValid=!0},setValidator:function(e){this._currentCellValidator=e},getValidator:function(){return this._currentCellValidator},removeValidators:function(e){var t=this,n=t._editingController;o.each(n._editData,function(t,n){var i=u.getGroupConfig(n);if((!s.isDefined(e)||e===t)&&i)for(var o=0;o<i.validators.length;o++)i.validators[o]._dispose(),o--})},createValidator:function(e,t){var n,i,a=this,r=a._editingController,l=e.column,c=function(e){if(e.brokenRule&&(e.brokenRule.columnIndex=l.index,e.brokenRule.column=l),t&&!a.getDisableApplyValidationResults()){if(!e.isValid){var n=t.find(":focus");r.createHighlightCell(t,!0),n.is(":focus")||n.focus().trigger(d.down)}t.toggleClass(_,!e.isValid)}};if(l.validationRules&&s.isArray(l.validationRules)&&!s.isDefined(l.command))return i=r.getIndexByKey(e.key,r._editData),0>i&&l.showEditorAlways&&(i=r._addEditData({key:e.key})),i>=0?(n=r._editData[i],new h(t||{},{name:l.caption,validationRules:o.extend(!0,[],l.validationRules),validationGroup:n,adapter:t&&t.hasClass("dx-widget")?null:{getValue:function(){var t=l.calculateCellValue(n.data||{});return void 0!==t?t:e.value},applyValidationResults:c}})):void 0},setDisableApplyValidationResults:function(e){this._disableApplyValidationResults=e},getDisableApplyValidationResults:function(){return this._disableApplyValidationResults}}}()),a.registerModule("validating",{defaultOptions:function(){return{editing:{texts:{validationCancelChanges:l.format("dxDataGrid-validationCancelChanges")}}}},controllers:{validating:t.ValidatingController},extenders:{controllers:{editing:{_addEditData:function(e){var t,n=this,i=n.getController("validating"),o=n.callBase(e);return o>=0&&(t=n._editData[o],i.updateEditData(t)),o},_updateRowAndPageIndices:function(){var e=this,t=e.getView("rowsView").getTopVisibleItemIndex(),n=t;o.each(e._editData,function(i,o){o.isValid||o.pageIndex===e._pageIndex||(o.pageIndex=e._pageIndex,"insert"===o.type?o.rowIndex=t:o.rowIndex=n,n++)})},_needInsertItem:function(e,t){var n=this.callBase.apply(this,arguments);return n&&!e.isValid&&(n=e.key.pageIndex===this._pageIndex),n},processItems:function(e,t){var n,i,a=this,s=0,l=a._editData,c=a.getController("data"),d=function(e,t){var n=-1,i="insert"===e.type,a=e.key;return o.each(t,function(e,t){return r.equalKeys(a,i?t:c.keyOf(t))?(n=e,!1):void 0}),n},u=function(t){var n,o={key:t.key},a=d(t,e);a>=0||(t.rowIndex=t.rowIndex>i?t.rowIndex%i:t.rowIndex,n=t.rowIndex,o[y]=1,a>=0&&(e.splice(a,1),n-=s),e.splice(n,0,o),s++)};if(e=a.callBase(e,t),i=e.length,a.getEditMode()===k&&"prepend"!==t&&"append"!==t)for(n=0;n<l.length;n++)l[n].type&&l[n].pageIndex===a._pageIndex&&l[n].key.pageIndex!==a._pageIndex&&u(l[n]);return e},processDataItem:function(e,t,n){var i,a,s=this,l=e.data[y],c=l?e.data.key:e.key,d=s.getEditMode();d===k&&l&&c&&(i=r.getIndexByKey(c,s._editData),i>=0&&(a=s._editData[i],"insert"!==a.type&&(e.data=o.extend(!0,{},a.oldData,a.data),e.key=c))),s.callBase.apply(s,arguments)},_afterInsertRow:function(e){var t=this.getController("validating"),n=o.grep(this.getController("columns").getInvisibleColumns(),function(e){return!e.isBand});o.each(n,function(n,i){t.createValidator({column:i,key:e.key,value:i.calculateCellValue(e.data)})}),this.callBase(e)},_beforeSaveEditData:function(e,t){var n,i,o=this,a=o.callBase.apply(o,arguments),r=o.getController("validating");return e?(n="remove"===e.type||e.isValid,n&&r.removeValidators(t),a=a||!n):(i=r.validate(!0),o._updateRowAndPageIndices(),o.getEditMode()===S?i||(o._focusEditingCell(),a=!0):o.getEditMode()===b&&(a=!i)),a},_beforeEditCell:function(e,t,n){var i=this.callBase(e,t,n),o=this.component.getCellElement(e,t),a=o.data("dxValidator");return this.getEditMode(this)!==S||a&&!a.validate().isValid?void 0:i},_afterSaveEditData:function(){var e=this;o.each(e._editData,function(t,n){e._showErrorRow(n)})},_beforeCancelEditData:function(){var e=this.getController("validating");e.removeValidators(),this.callBase()},_showErrorRow:function(e){var t=this.getController("errorHandling"),n=this.getController("data").items(),i=this.getIndexByKey(e.key,n);!e.isValid&&e.errorText&&i>=0&&t&&t.renderErrorRow(e.errorText,i)},updateFieldValue:function(e,t){var n=this;if(n.callBase.apply(n,arguments),n.getEditMode()===b){var i=n.getController("validating").getValidator();i&&i.validate()}},createHighlightCell:function(e,t){var n,i=!0;t||(n=e.data("dxValidator"),n&&(i=n.validate().isValid)),i&&this.callBase(e)},getEditDataByKey:function(e){return this._editData[r.getIndexByKey(e,this._editData)]},_formEditorPrepared:function(e,t){this.callBase.apply(this,arguments),this.getController("validating").createValidator(e,t.children(".dx-widget"))}},editorFactory:{_showRevertButton:function(e){var t=this,n=e.find("."+w).first();n.length&&new p(o("<div>").addClass(x).appendTo(e),{animation:null,visible:!0,target:n,closeOnOutsideClick:!1,closeOnTargetScroll:!1,boundary:t._rowsView.element(),contentTemplate:function(){return new c(o("<div>").addClass(v),{icon:"revert",hint:t.option("editing.texts.validationCancelChanges"),onClick:function(){t._editingController.cancelEditData()}}).element()},position:{my:"left top",at:"right top",of:n,offset:"1 0",collision:"flip"}})},_showValidationMessage:function(e,t,n){var i=this,a=e.find("."+w);new f(o("<div/>").addClass(g).addClass(m).text(t).appendTo(e),{target:a.length?a:e,container:e,shading:!1,width:"auto",height:"auto",visible:!0,animation:!1,closeOnOutsideClick:!1,closeOnTargetScroll:!1,position:{collision:"fit flip",boundary:i._rowsView.element(),boundaryOffset:"0 0",my:"top "+n,at:"bottom "+n},onPositioned:function(){i._rowsView.element()&&i._rowsView.updateFreeSpaceRowHeight()}})},init:function(){this.callBase(),this._editingController=this.getController("editing"),this._rowsView=this.getView("rowsView")},loseFocus:function(e){e||this.getController("validating").setValidator(null),this.callBase()},focus:function(e,t){var n,i=this,o=e&&e.closest("td"),a=o&&o.data("dxValidator"),r=o&&o.parent().data("options"),s=r?i.getController("editing").getEditDataByKey(r.key):null,l=o&&o.closest(".dx-datagrid-rowsview").find(".dx-editor-cell .dx-tooltip, .dx-editor-cell .dx-invalid-message"),c=o&&i.getController("columns").getVisibleColumns()[o.index()];return arguments.length?(l&&l.remove(),a&&c&&(i.getController("validating").setValidator(a),void 0!==a.option("adapter").getValue()&&(n=a.validate(),n.isValid||(t=!0,i._showValidationMessage(o,n.brokenRule.message,c.alignment)))),(n&&!n.isValid||s&&"update"===s.type)&&i._editingController.getEditMode()===S&&i._showRevertButton(o),!t&&i._rowsView.element()&&i._rowsView.updateFreeSpaceRowHeight(),i.callBase(e,t)):i.callBase()}}},views:{rowsView:{updateFreeSpaceRowHeight:function(e){var t=this,n=t._getRowElements(),i=t._getFreeSpaceRowElements(e),o=i.first(),a=t.element().find(".dx-invalid-message .dx-overlay-content");t.callBase(e),a.length&&o&&1===n.length&&(!o.is(":visible")||a.outerHeight()>o.outerHeight())&&(i.show(),i.height(a.outerHeight()))},_cellPrepared:function(e,t){this.getController("validating").createValidator(t,e),this.callBase.apply(this,arguments)}}}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(317),s=n(20),l=n(21),c=n(214),d=n(15),u=n(61),h="dx-datagrid-table",p="dx-row",f="dx-freespace-row",_="dx-column-lines",g="dx-datagrid-bottom-load-panel",m="dx-datagrid-table-content",v="dx-datagrid-group-space",x="dx-scrollable-container",w="dx-scrollable-content",y="dx-datagrid-content",b="infinite",C="virtual",k=25e4,S=l.msie?4e6:15e6;n(313);var T=function(e){return e.option("scrolling.mode")===C},I=function(e){return e.option("scrolling.mode")===b},D=function(){var e=function(e){var t=e._virtualScrollController.beginPageIndex(-1);T(e)&&(0>t||e.viewportSize()>=0&&e.getViewportItemIndex()>=0&&(t*e.pageSize()>e.getViewportItemIndex()||t*e.pageSize()+e.itemsCount()<e.getViewportItemIndex()+e.viewportSize())&&e._dataSource.isLoading()?e._isLoading||(e._isLoading=!0,e.loadingChanged.fire(!0)):e._isLoading&&(e._isLoading=!1,e.loadingChanged.fire(!1)))};return{init:function(t){var n=this;n.callBase.apply(n,arguments),n._isLoading=!0,n._items=[],n._isLoaded=!0,n._virtualScrollController=new r.VirtualScrollController(n.component,{pageSize:function(){return n.pageSize()},totalItemsCount:function(){return n.totalItemsCount()},hasKnownLastPage:function(){return n.hasKnownLastPage()},pageIndex:function(e){return t.pageIndex(e)},isLoading:function(){return t.isLoading()},pageCount:function(){return n.pageCount()},load:function(){return t.load()},updateLoading:function(){e(n)},itemsCount:function(){return n.itemsCount(!0)},items:function(){return t.items()},viewportItems:function(e){return e&&(n._items=e),n._items},onChanged:function(e){n.changed.fire(e)}})},_handleLoadingChanged:function(e){var t=this;T(t)||(t._isLoading=e,t.callBase.apply(t,arguments))},_handleLoadError:function(){var e=this;e._isLoading=!1,e.loadingChanged.fire(!1),e.callBase.apply(e,arguments)},_handleDataChanged:function(){var e=o.proxy(this.callBase,this);this._virtualScrollController.handleDataChanged(e)},items:function(){return this._items},itemsCount:function(e){return e?this.callBase():this._virtualScrollController.itemsCount()},virtualItemsCount:function(){return this._virtualScrollController.virtualItemsCount()},getViewportItemIndex:function(){return this._virtualScrollController.getViewportItemIndex()},setViewportItemIndex:function(e){return this._virtualScrollController.setViewportItemIndex(e)},viewportSize:function(e){return this._virtualScrollController.viewportSize(e)},pageIndex:function(e){return this._virtualScrollController.pageIndex(e)},beginPageIndex:function(){return this._virtualScrollController.beginPageIndex()},endPageIndex:function(){return this._virtualScrollController.endPageIndex()},load:function(e){return e?this.callBase(e):this._virtualScrollController.load()},loadIfNeed:function(){return this._virtualScrollController.loadIfNeed()},isLoading:function(){return this._isLoading},isLoaded:function(){return this._dataSource.isLoaded()&&this._isLoaded},_changeRowExpandCore:function(){var t=this.callBase.apply(this,arguments);return this._virtualScrollController.reset(),e(this),t},refresh:function(t,n,i){var o=this,a=t.storeLoadOptions,r=o._dataSource;return(n||i.reload)&&(o._virtualScrollController.reset(),o._isLoaded=!1,e(o),o._isLoaded=!0,I(o)?(o.pageIndex(0),r.pageIndex(0),a.pageIndex=0,a.skip=0):(r.pageIndex(o.pageIndex()),r.paginate()&&(a.skip=o.pageIndex()*o.pageSize()))),o.callBase.apply(o,arguments)}}}();c.extend(D);var E=function(){return{init:function(){var e=this,t=e.getController("data");e.callBase(),t.pageChanged.add(function(){e.scrollToPage(t.pageIndex())})},scrollToPage:function(e){var t,n=this,i=n._dataController,o=i?i.pageSize():0;t=T(n)||I(n)?e*n._rowHeight*o:0,n.scrollTo({y:t,x:n._scrollLeft})},_renderCore:function(){var e=this,t=new Date;e.callBase.apply(e,arguments),e._updateContentPosition(),e._renderTime=new Date-t},_renderContent:function(e,t){var n=this,i=n._dataController.virtualItemsCount();return i?(t.addClass(m),e.children().length?e.children().first().replaceWith(t):e.append(t),1===e.children("table").length&&(e.append(n._createTable()),n._contentHeight=0),e):n.callBase.apply(n,arguments)},_updateContent:function(e,t){var n,i=this,o=i._findContentElement(),a=t&&t.changeType;"append"===a||"prepend"===a?(n=o.children().first(),e.children("tbody").children("tr")["append"===a?"appendTo":"prependTo"](n),e.remove(),i._getFreeSpaceRowElements().not(":last").remove()):i.callBase.apply(i,arguments),i._updateBottomLoading()},_updateContentPosition:a.deferUpdater(function(){var e,t,n,i,o,r,s=this,l=s._rowHeight||20,c=s._dataController.virtualItemsCount();if(c){e=s._findContentElement(),n=e.children(),i=n.eq(0),o=n.eq(1),s._contentTableHeight=i.outerHeight(),t=(c.begin+c.end+s._dataController.itemsCount())*s._rowHeight,t>S?s._heightRatio=S/t:s._heightRatio=1,t=(c.begin+c.end)*l*s._heightRatio+s._contentTableHeight;var u=Math.floor(c.begin*l*s._heightRatio);a.deferRender(function(){d.move(i,{left:0,top:u}),r=s._contentHeight!==t||0===t||!s._isTableLinesDisplaysCorrect(o)||!s._isColumnElementsEqual(i.find("col"),o.find("col")),r&&(s._contentHeight=t,s._renderVirtualTableContent(o,t)),s._scrollTop<u&&s._dataController.pageIndex()>0&&s.scrollTo({top:u,left:s._scrollLeft})})}}),_isTableLinesDisplaysCorrect:function(e){var t=e.find("."+_).length>0;return t===this.option("showColumnLines")},_isColumnElementsEqual:function(e,t){var n=e.length===t.length;return n&&o.each(e,function(e,i){return i.style.width!==t[e].style.width?n=!1:void 0}),n},_renderVirtualTableContent:function(e,t){var n,i=this,o=i._columnsController.getVisibleColumns(),a=i._createColGroup(o).prop("outerHTML"),r="",s=i.option("showColumnLines")?_:"",l=function(e){return"<tr style='height:"+e+"px;' class='"+f+" "+p+" "+s+"' >"+r+"</tr>"};for(n=0;n<o.length;n++)r+="expand"===o[n].command?"<td class='"+v+"'/>":"<td />";for(;t>k;)a+=l(k),t-=k;a+=l(t),e.addClass(h),e.html(a)},_findBottomLoadPanel:function(){var e=this.element(),t=e&&e.find("."+g);return t&&t.length?t:void 0},_updateBottomLoading:function(){var e=this,t=e.option("scrolling.mode"),n=t===C,i=t===b,a=!e._dataController.hasKnownLastPage()&&e._dataController.isLoaded()&&(n||i),r=e._findBottomLoadPanel();
a?r||o("<div>").addClass(g).append(e._createComponent(o("<div>"),u).element()).appendTo(e._findContentElement()):r&&r.remove()},_handleScroll:function(e){var t=this;t._hasHeight&&t._rowHeight&&t._setViewportScrollTop(e.scrollOffset.top),t.callBase.apply(t,arguments)},_setViewportScrollTop:function(e){var t=this,n=Math.min(t.option("scrolling.timeout")||0,t._renderTime||0);clearTimeout(t._scrollTimeoutID),n>0?t._scrollTimeoutID=setTimeout(function(){t._setViewportScrollTopCore(e)},n):t._setViewportScrollTopCore(e)},_setViewportScrollTopCore:function(e){var t=this,n=t._dataController.virtualItemsCount(),i=t._heightRatio||1,o=t._rowHeight,a=n?Math.floor(n.begin*o*i):0;n&&e>=a&&e<=a+t._contentTableHeight?t._dataController.setViewportItemIndex(n.begin+(e-a)/o):t._dataController.setViewportItemIndex(e/(o*i))},_needUpdateRowHeight:function(e){var t=this;return t.callBase.apply(t,arguments)||e>0&&t.option("scrolling.mode")===b},_updateRowHeight:function(){var e,t=this;t.callBase.apply(t,arguments),t._rowHeight&&(t._updateContentPosition(),e=t._hasHeight?t.element().outerHeight():o(window).outerHeight(),t._dataController.viewportSize(Math.round(e/t._rowHeight)))},setLoading:function(e,t){var n=this,i=n.callBase,o=!!n._findBottomLoadPanel()&&n._dataController.isLoaded();o&&(e=!1),i.call(n,e,t)},_resizeCore:function(){var e=this,t=e.element();e.callBase(),e.component.element()&&!e._windowScroll&&t.closest(document).length&&(e._windowScroll=r.subscribeToExternalScrollers(t,function(t){!e._hasHeight&&e._rowHeight&&e._setViewportScrollTop(t)},e.component.element()),e.on("disposing",function(){e._windowScroll.dispose()}));var n=e._dataController.dataSource();n&&n.loadIfNeed&&n.loadIfNeed()},getTableElements:function(e){var t,n=this.callBase();return e&&"virtual"===this.option("scrolling.mode")&&(t="> ."+y,this.getScrollable()&&(t="> ."+x+" > ."+w+t),n=n.add(this.element().find(t).children(":not(."+m+")"))),n},dispose:function(){clearTimeout(this._scrollTimeoutID),this.callBase()}}}();s.registerModule("virtualScrolling",{defaultOptions:function(){return{scrolling:{timeout:300,mode:"standard",preloadEnabled:!1,useNative:"auto"}}},extenders:{controllers:{data:function(){var e={};return s.proxyMethod(e,"virtualItemsCount"),s.proxyMethod(e,"viewportSize"),s.proxyMethod(e,"setViewportItemIndex"),e}()},views:{rowsView:E}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=n(35),l=n(458),c="expanded",d="selected",u="disabled",h=a.inherit({ctor:function(e){this.options={},o.extend(this.options,this._defaultOptions(),e),this.options.dataConverter.setDataAccessors(this.options.dataAccessors),this._selectedNodesKeys=[],this._expandedNodesKeys=[],this._dataStructure=[],this._createInternalDataStructure(),this.getTreeNodes()},_defaultOptions:function(){return{dataAccessors:void 0,items:[],multipleSelection:!0,recursiveSelection:!1,recursiveExpansion:!1,rootValue:0,searchValue:"",dataType:"tree",dataConverter:new l,onNodeChanged:o.noop}},_createInternalDataStructure:function(){this._initialDataStructure=this.options.dataConverter.createPlainStructure(this.options.items,this.options.rootValue,this.options.dataType),this._dataStructure=this.options.searchValue.length?this.search(this.options.searchValue):this._initialDataStructure,this.options.dataConverter._dataStructure=this._dataStructure,this._updateSelection(),this._updateExpansion()},_updateSelection:function(){this.options.recursiveSelection&&(this._setChildrenSelection(),this._setParentSelection()),this._selectedNodesKeys=this._updateNodesKeysArray(d)},_updateExpansion:function(e){this.options.recursiveExpansion&&(e?this._updateOneBranch(e):this._setParentExpansion()),this._expandedNodesKeys=this._updateNodesKeysArray(c)},_updateNodesKeysArray:function(e){var t=this,n=[];return o.each(this._dataStructure,function(i,o){t._isNodeVisible(o)&&o.internalFields[e]&&(e===c||t.options.multipleSelection?n.push(o.internalFields.key):(n.length&&t.toggleSelection(n[0],!1,!0),n=[o.internalFields.key]))}),n},_isNodeVisible:function(e){return e.internalFields.item.visible!==!1},_getByKey:function(e,t){return e===this._dataStructure?this.options.dataConverter._getByKey(t):this.options.dataConverter.getByKey(e,t)},_setChildrenSelection:function(){var e=this;o.each(this._dataStructure,function(t,n){if(n.internalFields.childrenKeys.length){var i=n.internalFields.selected;i===!0&&e._toggleChildrenSelection(n,i)}})},_setParentSelection:function(){for(var e=this._dataStructure.length,t=e-1;t>=0;t--){var n=this._dataStructure[t],i=this.options.dataConverter._getByKey(n.internalFields.parentKey);if(i&&n.internalFields.parentKey!==this.options.rootValue){var o=this._calculateSelectedState(i);this._setFieldState(i,d,o)}}},_setParentExpansion:function(e){var t=this;o.each(this._dataStructure,function(e,n){n.internalFields.expanded&&t._updateOneBranch(n.internalFields.key)})},_updateOneBranch:function(e){var t=this,n=this.getNodeByKey(e);t._iterateParents(n,function(e){t._setFieldState(e,c,!0)})},_iterateChildren:function(e,t,n){var i=this;o.each(e.internalFields.childrenKeys,function(e,a){var r=i.options.dataConverter._getByKey(a);o.isFunction(n)&&n(r),r.internalFields.childrenKeys.length&&t&&i._iterateChildren(r,t,n)})},_iterateParents:function(e,t){if(e.internalFields.parentKey!==this.options.rootValue){var n=this.options.dataConverter._getByKey(e.internalFields.parentKey);n&&(o.isFunction(t)&&t(n),n.internalFields.parentKey!==this.options.rootValue&&this._iterateParents(n,t))}},_calculateSelectedState:function(e){for(var t=e.internalFields.childrenKeys.length,n=0,i=0,o=!1,a=0;t-1>=a;a++){var r=this.options.dataConverter._getByKey(e.internalFields.childrenKeys[a]),s=r.internalFields.item.visible===!1,l=r.internalFields.selected;s?i++:l?n++:void 0===l&&(n+=.5)}return n&&(o=n===t-i?!0:void 0),o},_toggleChildrenSelection:function(e,t){var n=this;this._iterateChildren(e,!0,function(e){n._isNodeVisible(e)&&n._setFieldState(e,d,t)})},_setFieldState:function(e,t,n){e.internalFields[t]!==n&&(e.internalFields[t]=n,e.internalFields.publicNode&&(e.internalFields.publicNode[t]=n),this.options.dataAccessors.setters[t](e.internalFields.item,n),this.options.onNodeChanged(e))},_markChildren:function(e){var t=this;o.each(e,function(e,n){var i=t.getIndexByKey(n),o=t.getNodeByKey(n);t._dataStructure[i]=0,o.internalFields.childrenKeys.length&&t._markChildren(o.internalFields.childrenKeys)})},_removeNode:function(e){var t=this.getNodeByKey(e);this._dataStructure[this.getIndexByKey(e)]=0,this._markChildren(t.internalFields.childrenKeys);var n=this,i=0,a=o.extend([],this._dataStructure);o.each(a,function(e,t){t||(n._dataStructure.splice(e-i,1),i++)})},_addNode:function(e){var t=this.options.dataConverter,n=t._convertItemToNode(e,this.options.dataAccessors.getters.parentKey(e));this._dataStructure=this._dataStructure.concat(n),this._initialDataStructure=this._initialDataStructure.concat(n),t._dataStructure=t._dataStructure.concat(n)},_updateFields:function(){this.options.dataConverter.updateChildrenKeys(),this._updateSelection(),this._updateExpansion()},getSelectedNodesKeys:function(){return this._selectedNodesKeys},getExpandedNodesKeys:function(){return this._expandedNodesKeys},getData:function(){return this._dataStructure},getFullData:function(){return this._initialDataStructure},getNodeByItem:function(e){var t=null;return o.each(this._dataStructure,function(n,i){return i.internalFields.item===e?(t=i,!1):void 0}),t},getNodeByKey:function(e){return this._getByKey(this._dataStructure,e)},getTreeNodes:function(){return this.options.dataConverter.convertToPublicNodes(this.getRootNodes())},getItemsCount:function(){return this.options.dataConverter.getItemsCount()},getVisibleItemsCount:function(){return this.options.dataConverter.getVisibleItemsCount()},getPublicNode:function(e){return e.internalFields.publicNode},getRootNodes:function(){return this.getChildrenNodes(this.options.rootValue)},getChildrenNodes:function(e){return s(this._dataStructure).filter(["internalFields.parentKey",e]).toArray()},getIndexByKey:function(e){return this.options.dataConverter.getIndexByKey(e)},addItem:function(e){this._addNode(e),this._updateFields()},removeItem:function(e){this._removeNode(e),this._updateFields()},toggleSelection:function(e,t,n){var i=n?this._getByKey(this._initialDataStructure,e):this._getByKey(this._dataStructure,e);this._setFieldState(i,d,t),this.options.recursiveSelection&&!n&&(t?this._setChildrenSelection():this._toggleChildrenSelection(i,t),this._setParentSelection()),this._selectedNodesKeys=this._updateNodesKeysArray(d)},toggleNodeDisabledState:function(e,t){var n=this._getByKey(this._dataStructure,e);this._setFieldState(n,u,t)},toggleSelectAll:function(e){if(r.isDefined(e)){var t=this;o.each(this._dataStructure,function(n,i){t._isNodeVisible(i)&&(t._setFieldState(i,d,e),t._selectedNodesKeys=t._updateNodesKeysArray(d))})}},isAllSelected:function(){return this.getSelectedNodesKeys().length?this.getSelectedNodesKeys().length===this.getVisibleItemsCount()?!0:void 0:!1},toggleExpansion:function(e,t){var n=this._getByKey(this._dataStructure,e);this._setFieldState(n,c,t),t&&this._updateExpansion(e),this._expandedNodesKeys=this._updateNodesKeysArray(c)},_filterDataStructure:function(e){for(var t,n=[],i=this._initialDataStructure,o=new RegExp(e,"i"),a=0,r=i.length;r>a;a++)t=this.options.dataAccessors.getters.display(i[a]),o.test(t)&&n.push(i[a]);return n},search:function(e){function t(e,i){for(var r=e.length;r>i;){var s,l=e[i].internalFields.parentKey;l!==n.options.rootValue?(s=a._getByKey(l),s.internalFields.expanded||n._setFieldState(s,c,!0),o.inArray(s,e)>-1?i++:(e.splice(i,0,s),t(e,i))):i++}}var n=this,i=this._filterDataStructure(e),a=this.options.dataConverter;return t(i,0),a._indexByKey={},o.each(i,function(e,t){t.internalFields.childrenKeys=[],a._indexByKey[t.internalFields.key]=e}),a._dataStructure=i,a.setChildrenKeys(),a._dataStructure}});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(2),s=a.inherit({ctor:function(){this._dataStructure=[],this._itemsCount=0,this._visibleItemsCount=0},_indexByKey:{},_convertItemsToNodes:function(e,t){var n=this;o.each(e,function(e,i){var o=r.isDefined(t)?t:n._getParentId(i),a=n._convertItemToNode(i,o);n._dataStructure.push(a),n._indexByKey[a.internalFields.key]=n._dataStructure.length-1,n._itemHasChildren(i)&&n._convertItemsToNodes(n._dataAccessors.getters.items(i),a.internalFields.key)})},_getParentId:function(e){return"plain"===this._dataType?this._dataAccessors.getters.parentKey(e):void 0},_itemHasChildren:function(e){var t=this._dataAccessors.getters.items(e);return t&&t.length},_convertItemToNode:function(e,t){this._itemsCount++,e.visible!==!1&&this._visibleItemsCount++;var n=this,i={internalFields:{disabled:n._dataAccessors.getters.disabled(e)||!1,expanded:n._dataAccessors.getters.expanded(e)||!1,selected:n._dataAccessors.getters.selected(e)||!1,key:r.isDefined(n._dataAccessors.getters.key(e))?n._dataAccessors.getters.key(e):n.getItemsCount(),parentKey:r.isDefined(t)?t:n._rootValue,item:n._makeObjectFromPrimitive(e),childrenKeys:[]}};return o.extend(!0,i,e),delete i.items,i},setChildrenKeys:function(){var e=this;o.each(this._dataStructure,function(t,n){if(n.internalFields.parentKey!==e._rootValue){var i=e._getByKey(n.internalFields.parentKey);i&&i.internalFields.childrenKeys.push(n.internalFields.key)}})},_makeObjectFromPrimitive:function(e){if(r.isPrimitive(e)){var t=e;e={},this._dataAccessors.setters.key(e,t)}return e},_convertToPublicNode:function(e,t){if(!e)return null;var n={text:this._dataAccessors.getters.display(e),key:e.internalFields.key,selected:e.internalFields.selected,expanded:e.internalFields.expanded,disabled:e.internalFields.disabled,parent:t||null,itemData:e.internalFields.item,children:[],items:[]};return n.parent&&(n.parent.children.push(n),n.parent.items.push(n)),n},convertToPublicNodes:function(e,t){if(!e.length)return[];var n=this,i=[];return o.each(e,function(e,o){o=r.isPrimitive(o)?n._getByKey(o):o;var a=n._convertToPublicNode(o,t);a.children=n.convertToPublicNodes(o.internalFields.childrenKeys,a),i.push(a),o.internalFields.publicNode=a}),i},setDataAccessors:function(e){this._dataAccessors=e},_getByKey:function(e){return this._dataStructure[this.getIndexByKey(e)]||null},getByKey:function(e,t){var n=null,i=this,a=function(e,t){return o.each(e,function(e,o){var r=o.internalFields&&o.internalFields.key||i._dataAccessors.getters.key(o),s=i._dataAccessors.getters.items(o);return r===t?(n=o,!1):void(s&&a(s,t))}),n};return a(e,t)},getItemsCount:function(){return this._itemsCount},getVisibleItemsCount:function(){return this._visibleItemsCount},updateIndexByKey:function(){var e=this;this._indexByKey={},o.each(this._dataStructure,function(t,n){e._indexByKey[n.internalFields.key]=t})},updateChildrenKeys:function(){this._indexByKey={},this.removeChildrenKeys(),this.updateIndexByKey(),this.setChildrenKeys()},removeChildrenKeys:function(){this._indexByKey={},o.each(this._dataStructure,function(e,t){t.internalFields.childrenKeys=[]})},getIndexByKey:function(e){return this._indexByKey[e]},createPlainStructure:function(e,t,n){return this._itemsCount=0,this._visibleItemsCount=0,this._rootValue=t,this._dataType=n,this._indexByKey={},this._convertItemsToNodes(e),this.setChildrenKeys(),this._dataStructure}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(2),s=n(4),l=n(13),c=n(125),d=n(310),u=n(50),h=n(460),p=n(25),f=n(165),_="dx-menu",g=_+"-vertical",m=_+"-horizontal",v=_+"-item",x=_+"-items-container",w=v+"-expanded",y="dx-context-menu",b=y+"-container-border",C="dx-context-menu-content-delimiter",k="dx-submenu",S="dx-state-disabled",T="dx-state-hover",I="dx-state-active",D=_+"-adaptive-mode",E=_+"-hamburger-button",A="up",B="down",M="left",O="right",P="showSubmenu",R="nextItem",V="prevItem",F={show:50,hide:300},L=["onSubmenuShowing","onSubmenuShown","onSubmenuHiding","onSubmenuHidden"],H=d.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{orientation:"horizontal",submenuDirection:"auto",showFirstSubmenuMode:{name:"onClick",delay:{show:50,hide:300}},hideSubmenuOnMouseLeave:!1,onSubmenuShowing:null,onSubmenuShown:null,onSubmenuHiding:null,onSubmenuHidden:null,adaptivityEnabled:!1})},_setOptionsByReference:function(){this.callBase(),o.extend(this._optionsByReference,{animation:!0,selectedItem:!0})},_focusTarget:function(){return this.element()},_isMenuHorizontal:function(){return"horizontal"===this.option("orientation")},_moveFocus:function(e){var t,n,i,o,a=this._itemElements().filter(":visible"),r=this._isMenuHorizontal(),s=this._getActiveItem(!0);switch(e){case A:n=r?P:this._getItemsNavigationOperation(V),t=r?s:a,i=this._getKeyboardNavigationAction(n,t),o=i();break;case B:n=r?P:this._getItemsNavigationOperation(R),t=r?s:a,i=this._getKeyboardNavigationAction(n,t),o=i();break;case O:n=r?this._getItemsNavigationOperation(R):P,t=r?a:s,i=this._getKeyboardNavigationAction(n,t),o=i();break;case M:n=r?this._getItemsNavigationOperation(V):P,t=r?a:s,i=this._getKeyboardNavigationAction(n,t),o=i();break;default:return this.callBase(e)}o&&0!==o.length&&this.option("focusedElement",o)},_getItemsNavigationOperation:function(e){var t=e;return this.option("rtlEnabled")&&(t=e===V?R:V),t},_getKeyboardNavigationAction:function(e,t){var n=o.noop;switch(e){case P:t.hasClass(S)||(n=o.proxy(this._showSubmenu,this,t));break;case R:n=o.proxy(this._nextItem,this,t);break;case V:n=o.proxy(this._prevItem,this,t)}return n},_clean:function(){this.callBase(),this.option("templatesRenderAsynchronously")&&clearTimeout(this._resizeEventTimer)},_visibilityChanged:function(e){e&&this._dimensionChanged()},_isAdaptivityEnabled:function(){return this.option("adaptivityEnabled")&&"horizontal"===this.option("orientation")},_dimensionChanged:function(){if(this._isAdaptivityEnabled()){var e=this.element().find("ul:first>li>."+v),t=0,n=this.element().outerWidth();e.each(function(e,n){t+=o(n).outerWidth(!0)}),this._toggleAdaptiveMode(t>n)}},_init:function(){this.callBase(),this._submenus=[]},_initActions:function(){this._actions={},o.each(L,o.proxy(function(e,t){this._actions[t]=this._createActionByOption(t)||o.noop},this))},_render:function(){this._visibleSubmenu=null,this.callBase(),this.element().addClass(_),this._isAdaptivityEnabled()&&this._initAdaptivity(),this.setAria("role","menubar")},_renderHamburgerButton:function(){return this._hamburger=new p(o("<div>",{"class":E}),{icon:"menu",activeStateEnabled:!1,onClick:o.proxy(this._toggleTreeView,this)}),this._hamburger.element()},_toggleTreeView:function(e){o.isPlainObject(e)&&(e=!this._overlay.option("visible")),this._overlay.option("visible",e),this._toggleHamburgerActiveState(e)},_toggleHamburgerActiveState:function(e){this._hamburger&&this._hamburger.element().toggleClass(I,e)},_toggleAdaptiveMode:function(e){var t=this.element().find("."+x),n=this.element().find("."+D);e?this._hideVisibleSubmenu():(this._treeView&&this._treeView.collapseAll(),this._overlay&&this._toggleTreeView(e)),t.toggle(!e),n.toggle(e)},_removeAdaptivity:function(){this._$adaptiveContainer&&(this._toggleAdaptiveMode(!1),this._$adaptiveContainer.remove(),this._$adaptiveContainer=null,this._treeView=null,this._hamburger=null,this._overlay=null)},_treeviewItemClickHandler:function(e){var t=this.option("onItemClick");t&&t(e),e.node.children.length||this._toggleTreeView(!1)},_getAdaptiveOverlayOptions:function(){var e=this.option("rtlEnabled"),t=e?"right":"left";return{deferRendering:!1,shading:!1,animation:!1,closeOnTargetScroll:!0,onPositioned:o.proxy(function(){this._overlay.option("height",this._overlay.content().outerHeight())},this),onHidden:o.proxy(function(){this._toggleHamburgerActiveState(!1)},this),height:"auto",closeOnOutsideClick:function(e){return!o(e.target).closest("."+E).length},position:{collision:"flipfit",at:"bottom "+t,my:"top "+t,of:this._hamburger.element()}}},_getTreeViewOptions:function(){var e={},t=this,n=["rtlEnabled","width","accessKey","activeStateEnabled","animation","dataSource","disabled","displayExpr","displayExpr","focusStateEnabled","hint","hoverStateEnabled","itemsExpr","items","itemTemplate","onSelectionChanged","selectedExpr","selectionMode","tabIndex","visible"];return o.each(n,function(n,i){e[i]=t.option(i)}),o.extend(e,{onItemClick:o.proxy(t._treeviewItemClickHandler,t),onItemExpanded:t.option("onSubmenuShown"),onItemCollapsed:t.option("onSubmenuHidden"),selectNodesRecursive:!1,selectByClick:this.option("selectByClick"),expandEvent:"click"})},_initAdaptivity:function(){if(this._isAdaptivityEnabled()){this._$adaptiveContainer=o("<div>",{"class":D});var e=this._renderHamburgerButton();this._treeView=this._createComponent(o("<div>"),f,this._getTreeViewOptions()),this._overlay=this._createComponent(o("<div>"),u,this._getAdaptiveOverlayOptions()),this._overlay.content().append(this._treeView.element()).addClass(D).addClass(this.option("cssClass")),this._$adaptiveContainer.append(e),this._$adaptiveContainer.append(this._overlay.element()),this.element().append(this._$adaptiveContainer),this.option("templatesRenderAsynchronously")?this._resizeEventTimer=setTimeout(o.proxy(function(){this._dimensionChanged()},this),0):this._dimensionChanged()}},_getDelay:function(e){var t=this.option("showFirstSubmenuMode").delay;return r.isDefined(t)?r.isObject(t)?t[e]:t:F[e]},_renderContainer:function(){var e=o("<div>");return e.appendTo(this.element()).addClass(this._isMenuHorizontal()?m:g),this.callBase(e)},_renderSubmenuItems:function(e,t){var n=this._createSubmenu(e,t);return this._submenus.push(n),this._renderBorderElement(t),n},_createSubmenu:function(e,t){var n=o("<div>").addClass(y).appendTo(t),i=this._getChildNodes(e),a=this._createComponent(n,h,o.extend(this._getSubmenuOptions(),{_dataAdapter:this._dataAdapter,_parentKey:e.internalFields.key,items:i,position:this.getSubmenuPosition(t)}));return this._attachSubmenuHandlers(t,a),a},_getSubmenuOptions:function(){var e=o("<div>"),t=this._isMenuHorizontal();return{itemTemplate:this.option("itemTemplate"),templateProvider:this.option("templateProvider"),target:e,orientation:this.option("orientation"),selectionMode:this.option("selectionMode"),cssClass:this.option("cssClass"),selectByClick:this.option("selectByClick"),hoverStateEnabled:this.option("hoverStateEnabled"),activeStateEnabled:this.option("activeStateEnabled"),focusStateEnabled:this.option("focusStateEnabled"),animation:this.option("animation"),showSubmenuMode:this.option("showSubmenuMode"),displayExpr:this.option("displayExpr"),disabledExpr:this.option("disabledExpr"),selectedExpr:this.option("selectedExpr"),itemsExpr:this.option("itemsExpr"),onSelectionChanged:o.proxy(this._nestedItemOnSelectionChangedHandler,this),onItemClick:o.proxy(this._nestedItemOnItemClickHandler,this),onItemRendered:this.option("onItemRendered"),onLeftFirstItem:t?null:o.proxy(this._moveMainMenuFocus,this,V),onLeftLastItem:t?null:o.proxy(this._moveMainMenuFocus,this,R),onCloseRootSubmenu:o.proxy(this._moveMainMenuFocus,this,t?V:null),onExpandLastSubmenu:t?o.proxy(this._moveMainMenuFocus,this,R):null,_hideDelimiter:this.option("_hideDelimiter")}},_getShowFirstSubmenuMode:function(){if(!this._isDesktopDevice())return"onClick";var e=this.option("showFirstSubmenuMode");return r.isObject(e)?e.name:e},_moveMainMenuFocus:function(e){var t,n=this.element().find("."+w).first(),i=n.parent();switch(e){case V:t=i.prev(),t.length||(t=i.siblings().last());break;case R:t=i.next(),t.length||(t=i.siblings().first());break;default:t=i,t.length||(t=i.siblings().first())}t=t.children(),this._visibleSubmenu&&this._hideSubmenu(this._visibleSubmenu),this.focus(),this.option("focusedElement",t)},_nestedItemOnSelectionChangedHandler:function(e){var t=e.addedItems.length&&e.addedItems[0],n=h.getInstance(e.element),i=this._createActionByOption("onSelectionChanged",{});i(e),t&&this._clearSelectionInSubmenus(t[0],n),this._clearRootSelection(),this._setOptionSilent("selectedItem",t)},_clearSelectionInSubmenus:function(e,t){var n=this,i=!arguments.length;o.each(this._submenus,function(e,o){var a=o._itemContainer(),r=!a.is(t&&t._itemContainer()),s=a.find("."+n._selectedItemClass());if(r&&s.length||i){var l;s.removeClass(n._selectedItemClass()),l=n._getItemData(s),l&&(l.selected=!1),o._clearSelectedItems()}})},_clearRootSelection:function(){var e=this.element().find("."+x).first().children().children().filter("."+this._selectedItemClass());if(e.length){var t;t=this._getItemData(e),t.selected=!1,e.removeClass(this._selectedItemClass())}},_nestedItemOnItemClickHandler:function(e){var t=this._createActionByOption("onItemClick",{});t(e)},_attachSubmenuHandlers:function(e,t){var n=this,i=t.getOverlayContent(),a=i.find("."+k),r=s.addNamespace(c.end,this.NAME+"_submenu");t.option({onShowing:o.proxy(this._submenuOnShowingHandler,this,e,t),onShown:o.proxy(this._submenuOnShownHandler,this,e,t),onHiding:o.proxy(this._submenuOnHidingHandler,this,e,t),onHidden:o.proxy(this._submenuOnHiddenHandler,this,e,t)}),o.each(a,function(t,i){o(i).off(r).on(r,null,o.proxy(n._submenuMouseLeaveHandler,n,e))})},_submenuOnShowingHandler:function(e,t){var n=e.children("."+b);this._actions.onSubmenuShowing({rootItem:e,submenu:t}),n.show(),e.addClass(w)},_submenuOnShownHandler:function(e,t){this._actions.onSubmenuShown({rootItem:e,submenu:t})},_submenuOnHidingHandler:function(e,t,n){var i=e.children("."+b),o=n;o.rootItem=e,o.submenu=t,this._actions.onSubmenuHiding(o),n=o,n.cancel||(this._visibleSubmenu===t&&(this._visibleSubmenu=null),i.hide(),e.removeClass(w))},_submenuOnHiddenHandler:function(e,t){this._actions.onSubmenuHidden({rootItem:e,submenu:t})},_submenuMouseLeaveHandler:function(e,t){var n=this,i=o(t.relatedTarget).parents("."+y)[0],a=n._getSubmenuByRootElement(e).getOverlayContent()[0];n.option("hideSubmenuOnMouseLeave")&&i!==a&&(n._clearTimeouts(),setTimeout(o.proxy(n._hideSubmenuAfterTimeout,n),n._getDelay("hide")))},_hideSubmenuAfterTimeout:function(){if(this._visibleSubmenu){var e=o(this._visibleSubmenu.element().context).hasClass(T),t=this._visibleSubmenu.getOverlayContent().find("."+T).length;t||e||this._visibleSubmenu.hide()}},_getSubmenuByRootElement:function(e){if(!e)return!1;var t=e.children("."+y);return t.length&&h.getInstance(t)},getSubmenuPosition:function(e){var t=this._isMenuHorizontal(),n=this.option("submenuDirection").toLowerCase(),i=this.option("rtlEnabled"),o={collision:"flip",of:e};switch(n){case"leftortop":o.at="left top",o.my=t?"left bottom":"right top";break;case"rightorbottom":o.at=t?"left bottom":"right top",o.my="left top";break;default:t?(o.at=i?"right bottom":"left bottom",o.my=i?"right top":"left top"):(o.at=i?"left top":"right top",o.my=i?"right top":"left top")}return o},_renderBorderElement:function(e){o("<div>").appendTo(e).addClass(b).hide()},_hoverStartHandler:function(e){var t=s.addNamespace(l.move,this.NAME),n=this._getItemElementByEventArgs(e),i=this._dataAdapter.getNodeByItem(this._getItemData(n)),a=r.isDefined(e.buttons)&&1===e.buttons||!r.isDefined(e.buttons)&&1===e.which;if(!this._isItemDisabled(n)){if(n.off(t),!this._hasChildren(i))return void setTimeout(o.proxy(this._hideSubmenuAfterTimeout,this),this._getDelay("hide"));if("onHover"===this._getShowFirstSubmenuMode()&&!a){var c=this._getSubmenuByElement(n);this._clearTimeouts(),c.isOverlayVisible()||(n.on(t,o.proxy(this._itemMouseMoveHandler,this)),this._showSubmenuTimer=this._getDelay("hide"))}}},_hoverEndHandler:function(e){var t=this,n=t._getItemElementByEventArgs(e),i=o(e.relatedTarget);t._isItemDisabled(n)||i.hasClass(C)||t.option("hideSubmenuOnMouseLeave")&&!i.hasClass(x)&&(t._clearTimeouts(),t._hideSubmenuTimer=setTimeout(function(){t._hideSubmenuAfterTimeout()},t._getDelay("hide")))},_hideVisibleSubmenu:function(){return this._visibleSubmenu?(this._hideSubmenu(this._visibleSubmenu),!0):!1},_showSubmenu:function(e){var t=this._getSubmenuByElement(e);this._visibleSubmenu!==t&&this._hideVisibleSubmenu(),t&&t.show(),this._visibleSubmenu=t,this._hoveredRootItem=e},_hideSubmenu:function(e){e&&e.hide(),this._visibleSubmenu===e&&(this._visibleSubmenu=null),this._hoveredRootItem=null},_itemMouseMoveHandler:function(e){if(!e.pointers||!e.pointers.length){var t=this,n=o(e.currentTarget);r.isDefined(t._showSubmenuTimer)&&(t._clearTimeouts(),t._showSubmenuTimer=setTimeout(function(){var e=t._getSubmenuByElement(n);e&&!e.isOverlayVisible()&&t._showSubmenu(n)},t._getDelay("show")))}},_clearTimeouts:function(){clearTimeout(this._hideSubmenuTimer),clearTimeout(this._showSubmenuTimer)},_getSubmenuByElement:function(e,t){var n=this._getSubmenuByRootElement(e);if(n)return n;t=t||this._getItemData(e);var i=this._dataAdapter.getNodeByItem(t);return this._hasChildren(i)&&this._renderSubmenuItems(i,e)},_updateSubmenuVisibilityOnClick:function(e){var t,n=e.args.length&&e.args[0];if(n&&!this._disabledGetter(n.itemData)){if(n.jQueryEvent.stopPropagation(),t=this._getSubmenuByElement(n.itemElement,n.itemData),this._updateSelectedItemOnClick(e),this._visibleSubmenu){if(this._visibleSubmenu===t)return void("onClick"===this.option("showFirstSubmenuMode")&&this._hideSubmenu(this._visibleSubmenu));this._hideSubmenu(this._visibleSubmenu)}if(t)return t.isOverlayVisible()?void 0:void this._showSubmenu(n.itemElement)}},_optionChanged:function(e){if(!this._cancelOptionChange)switch(this._hideShownSubmenuOnOptionChange(e.name),e.name){case"orientation":case"submenuDirection":case"hideSubmenuOnMouseLeave":case"showFirstSubmenuMode":this._invalidate();break;case"showSubmenuMode":this._changeSubmenusOption(e.name,e.value);break;case"onSubmenuShowing":case"onSubmenuShown":case"onSubmenuHiding":case"onSubmenuHidden":this._initActions();break;case"adaptivityEnabled":e.value?this._initAdaptivity():this._removeAdaptivity();break;case"width":this._isAdaptivityEnabled()&&(this._treeView.option(e.name,e.value),this._overlay.option(e.name,e.value)),this.callBase(e),this._dimensionChanged();break;default:this._isAdaptivityEnabled()&&this._treeView.option(e.name,e.value),this.callBase(e)}},_hideShownSubmenuOnOptionChange:function(e){"focusedElement"!==e&&this._visibleSubmenu&&this._hideSubmenu(this._visibleSubmenu)},_changeSubmenusOption:function(e,t){o.each(this._submenus,function(n,i){i.option(e,t)})},selectItem:function(e){this._hideSubmenu(this._visibleSubmenu),this.callBase(e)},unselectItem:function(e){this._hideSubmenu(this._visibleSubmenu),this.callBase(e)}});a("dxMenu",H),i.exports=H}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(66),r=n(126),s="dx-context-menu-content-delimiter",l="dx-submenu",c=r.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{orientation:"horizontal"})},_initDataAdapter:function(){this._dataAdapter=this.option("_dataAdapter"),this._dataAdapter?this._dataAdapter.options.rooValue=this.option("_parentKey"):this.callBase()},_renderContentImpl:function(){this._renderContextMenuOverlay(),this._detachShowContextMenuEvents(this.option("target")),this._attachShowContextMenuEvents(),this._attachInvokeContextMenuEvents();var e=this._dataAdapter.getNodeByKey(this.option("_parentKey"));e&&this._renderItems(this._getChildNodes(e)),this.option("_hideDelimiter")||this._renderDelimiter()},_renderDelimiter:function(){this.$contentDelimiter=o("<div>").appendTo(this._itemContainer()).addClass(s)},_overlayPositionedActionHandler:function(e){this._showDelimiter(e)},_hoverEndHandler:function(e){this._toggleFocusClass(!1,e.currentTarget)},_isMenuHorizontal:function(){return"horizontal"===this.option("orientation")},_hoverStartHandler:function(e){this.callBase(e),this._toggleFocusClass(!0,e.currentTarget)},_showDelimiter:function(e){var t,n,i=this._itemContainer().children("."+l).eq(0),o=this.option("position").of,r={of:i};this.$contentDelimiter&&(t=e.position,n=o.offset(),this.$contentDelimiter.css("display","block"),this._isMenuHorizontal()?(this.$contentDelimiter.width(o.width()<i.width()?o.width()-2:i.width()-2),this.$contentDelimiter.height(2),t.v.location>n.top?Math.round(t.h.location)===Math.round(n.left)?(r.offset="1 -1",r.at="left top",r.my="left top"):(r.offset="-1 -1",r.at="right top",r.my="right top"):(this.$contentDelimiter.height(5),Math.round(t.h.location)===Math.round(n.left)?(r.offset="1 4",r.at="left bottom",r.my="left bottom"):(r.offset="-1 2",r.at="right bottom",r.my="right bottom"))):(this.$contentDelimiter.width(2),this.$contentDelimiter.height(o.height()<i.height()?o.height()-2:i.height()-2),t.h.location>n.left?Math.round(t.v.location)===Math.round(n.top)?(r.offset="-1 1",r.at="left top",r.my="left top"):(r.offset="-1 -1",r.at="left bottom",r.my="left bottom"):Math.round(t.v.location)===Math.round(n.top)?(r.offset="1 1",r.at="right top",r.my="right top"):(r.offset="1 -1",r.at="right bottom",r.my="right bottom")),a.setup(this.$contentDelimiter,r))},isOverlayVisible:function(){return this._overlay.option("visible")},getOverlayContent:function(){return this._overlay.content()}});c.publicName("dxSubmenu"),i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(469)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(27),r=n(38),s=r.normalizeDataSourceOptions,l=n(16),c=n(5),d=n(71),u=n(2),h=n(83),p=n(14),f=h.setFieldProperty;t.LocalStore=c.inherit(function(){function e(t){o.each(t||[],function(t,n){var i,o,a,r,s=n.dataField,c=n.levels;n.selector||(r=s?-1!==s.indexOf(".")?l.compileGetter(s):function(e){return e[s]}:function(e){return e},c&&e(c),"date"===n.dataType?(o=D[n.groupInterval],i=function(e){var t=r(e);return!t||t instanceof Date||(t=new Date(t)),o?o(t):t},n.format||f(n,"format",E[n.groupInterval])):"number"===n.dataType?(a=u.isNumber(n.groupInterval)&&n.groupInterval>0&&n.groupInterval,a&&!n.customizeText&&f(n,"customizeText",function(e){var t=e.value+a,i=d.format(t,n.format,n.precision);
return e.valueText&&i?e.valueText+" - "+i:""}),i=function(e){var t=r(e);return u.isString(t)&&(t=Number(t)),a?Math.floor(t/a)*a:t}):i=r,f(n,"selector",i))})}function t(e,n,i,o,a){var r,s,l=n.dimensions[o],c=n.expandedPathsHash;l&&(r=l.selector(n.data),a=void 0!==a?a+"."+r:r+"",s=A(r,i,a,n.childrenHash),e.push(s.index),(c&&c[a]||l.expanded)&&(s.children||(s.children=[]),t(e,n,s.children,o+1,a)))}function n(e,n,i,o){var a=[0],r=n.headerName===o?n.path.length:0,s="rows"===o?n.rowExpandedPaths:n.columnExpandedPaths,l={data:e,childrenHash:i[o+"Hash"],dimensions:n[o],expandedPathsHash:n.headerName!==o&&s&&s.hash};return t(a,l,i[o],r),a}function i(e,t,i,o){var a,r,s,l,c=[],d=n(e,o,i,"rows"),u=n(e,o,i,"columns");for(r=0;r<d.length;r++)for(s=d[r],t[s]=t[s]||[],a=0;a<u.length;a++)l=u[a],c.push(t[s][l]=t[s][l]||[]);return c}function c(e){e&&(e.hash={},o.each(e,function(){e.hash[this.join(".")]=!0}))}function h(t){t.rows=t.rows||[],t.columns=t.columns||[],t.filters=t.filters||[],c(t.columnExpandedPaths),c(t.rowExpandedPaths),e(t.columns),e(t.rows),e(t.values),e(t.filters)}function _(e){return"custom"===e.summaryType?(e.calculateCustomSummary=e.calculateCustomSummary||o.noop,{seed:function(){var t={summaryProcess:"start",totalValue:void 0};return e.calculateCustomSummary(t),t},step:function(t,n){return t.summaryProcess="calculate",t.value=n,e.calculateCustomSummary(t),t},finalize:function(t){return t.summaryProcess="finalize",delete t.value,e.calculateCustomSummary(t),t.totalValue}}):a.aggregators[e.summaryType]||a.aggregators.count}function g(e,t,n){for(var i=0;i<e.length;i++)for(var o=e[i],a=o.selector(n),r=_(o),s="function"==typeof r.seed,l=0;l<t.length;l++){var c=t[l];c.length<=i&&(c[i]=s?r.seed():r.seed),void 0===c[i]?c[i]=a:u.isDefined(a)&&(c[i]=r.step(c[i],a))}}function m(e,t){o.each(e,function(e,n){var i=_(n);i.finalize&&o.each(t,function(t,n){o.each(n,function(t,n){n&&void 0!==n[e]&&(n[e]=i.finalize(n[e]))})})})}function v(e,t){if(u.isArray(e)){t=t||[];for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}function x(e,t){var n=[];return o.each(e,function(e,i){n.push(i.selector(t))}),n}function w(e){var t=[];return o.each(e,function(e,n){var i,o=n.filterValues||[],a=n.groupName;a&&u.isNumber(n.groupIndex)||(i=function(e){for(var t=n.levels?x(n.levels,e):n.selector(e),i=!1,a=0;a<o.length;a++)if(v(o[a],t)){i=!0;break}return"exclude"===n.filterType?!i:i},o.length&&t.push(i))}),t}function y(e){var t=w(e.rows).concat(w(e.columns)).concat(w(e.filters)),n=e[e.headerName],i=e.path;return n&&t.push(function(e){for(var t,o=0;o<i.length;o++)if(t=n[o].selector(e),t!==i[o])return!1;return!0}),function(e){for(var n=0;n<t.length;n++)if(!t[n](e))return!1;return!0}}function b(e,t){function n(){for(var o=new Date,h=u;u<e.length;u++){if(u>h&&u%1e4===0&&new Date-o>=300)return d.notify(u/e.length),void setTimeout(n,0);s=e[u],r(s)&&(a=i(s,c,l,t),g(t.values,a,s))}m(t.values,c),d.notify(1),d.resolve({rows:l.rows,columns:l.columns,values:c,grandTotalRowIndex:0,grandTotalColumnIndex:0})}var a,r,s,l={columns:[],rows:[],columnsHash:{length:1},rowsHash:{length:1}},c=[[[]]],d=o.Deferred(),u=0;return h(t),r=y(t),n(),d}function C(e){return o.map(["year","quarter","month"],function(t,n){return o.extend({},e,{groupInterval:t,groupIndex:n})})}function k(e,t,n,i){var a=[];return o.each(t||[],function(t,r){for(var s,c=1,d=n.length?n+"."+t:t,h=i[d],p=l.compileGetter(d);!u.isDefined(r)&&e[c];)r=p(e[c]),c++;!h&&u.isDefined(r)&&(h=o.type(r)),s=[{dataField:d,dataType:h,groupName:"date"===h?t:void 0,groupInterval:void 0,displayFolder:n}],"date"===h?s=s.concat(C(s[0])):"object"===h&&(s=k(e,r,d,i)),a.push.apply(a,s)}),a}function S(e,t){return t=t||{},k(e,e[0],"",t)}function T(e,t){var n=o.Deferred();if(!e.isLoaded()||t){var i=t?e.load():e.reload();o.when(i).always(function(){T(e).done(n.resolve).fail(n.reject)})}else n.resolve(e.items());return n}function I(e,t){var n=[];t=t||[];for(var i=0;i<t.length;i++)n.push(o.extend({},e[i],{groupIndex:null,groupName:null,filterType:"include",filterValues:[t[i]]}));return n}var D={year:function(e){return e&&e.getFullYear()},quarter:function(e){return e&&Math.floor(e.getMonth()/3)+1},month:function(e){return e&&e.getMonth()+1},day:function(e){return e&&e.getDate()},dayOfWeek:function(e){return e&&e.getDay()}},E={month:function(e){return p.getMonthNames()[e-1]},quarter:function(e){return p.format(new Date(2e3,3*e-1),"quarter")},dayOfWeek:function(e){return p.getDayNames()[e]}},A=function(e,t,n,i){var o=i[n];return o||(o={value:e,index:i.length++},i[n]=o,t.push(o)),o};return{ctor:function(e){e=o.extend(s(e),{paginate:!1,onChanged:null}),this._dataSource=new r.DataSource(e)},getFields:function(e){var t=this,n=t._dataSource,i=o.Deferred();return T(n).done(function(t){i.resolve(S(t,e))}).fail(i.reject),i},key:function(){return this._dataSource.key()},load:function(e){var t=this,n=t._dataSource,i=o.Deferred();return T(n,e.reload).done(function(t){o.when(b(t,e)).progress(i.notify).done(i.resolve)}).fail(i.reject),i},filter:function(){var e=this._dataSource;return e.filter.apply(e,arguments)},supportSorting:function(){return!1},getDrillDownItems:function(e,t){e=e||{},t=t||{},h(e);for(var n,i=[],o=this._dataSource.items(),a=t.maxRowCount,r=t.customColumns,s=y(e),l=y({rows:I(e.rows,t.rowPath),columns:I(e.columns,t.columnPath),filters:[]}),c=0;c<o.length;c++){if(l(o[c])&&s(o[c])){if(r){n={};for(var d=0;d<r.length;d++)n[r[d]]=o[c][r[d]]}else n=o[c];i.push(n)}if(a>0&&i.length===a)break}return i}}}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=[],i=t.length-1;return p.each(e,function(e,o){n.push(o.text||f.formatValue(o.value,t[i-e]))}),n.reverse()}function a(e){var t=0;return _(e,function(e){t=Math.max(t,e.length-1)}),t}function r(e,t){var n=e.chartDataItem,i=t&&t(e);return i?(n=p.extend({},n,i.chartDataItem),i=p.extend({},e,i,{chartDataItem:n})):e}function s(e,t,n){function i(){var e,i=(b.values[u]||[])[v]||[],o=i[c],a={rowPath:m,maxRowLevel:E,rowPathFormatted:g,rowFields:S,columnPathFormatted:y,maxColumnLevel:A,columnPath:w,columnFields:T,dataFields:k,dataIndex:c,dataValues:i,visible:x&&h},s=(t.inverted?y:g).join(" - "),l=(t.inverted?g:y).join("/");k.length>1&&("args"!==t.putDataFieldsInto&&"both"!==t.putDataFieldsInto||(l+=" | "+d.caption),"args"!==t.putDataFieldsInto&&(s+=" | "+d.caption,"singleAxis"!==t.dataFieldsDisplayMode&&(e=d.caption))),a.chartDataItem={val:void 0===o?null:o,series:s,arg:l},a=r(a,t.processCell),a.visible&&(n[a.chartDataItem.series]=n[a.chartDataItem.series]||e,C.push(a.chartDataItem))}function s(e){_(D,function(n){u=n[0].index,n=n.slice(0,n.length-1),h=E===n.length,m=f.createPath(n),g=o(n,S),0===m.length&&(g=[t.grandTotalText]),_(I,function(n){v=n[0].index,n=n.slice(0,n.length-1),x=A===n.length,w=f.createPath(n),y=o(n,T),0===w.length&&(y=[t.grandTotalText]),e()})})}function l(e){p.each(k,function(t,n){d=n,c=t,e()})}var c,d,u,h,g,m,v,x,w,y,b=e.getData(),C=[],k=e.getAreaFields("data"),S=e.getAreaFields("row"),T=e.getAreaFields("column"),I=[{index:b.grandTotalColumnIndex,children:b.columns}],D=[{index:b.grandTotalRowIndex,children:b.rows}],E=a(D),A=a(I);return t.alternateDataFields===!1?l(function(){s(i)}):s(function(){l(i)}),C}function l(e,t){var n=e.getAreaFields("data");if("args"!==t.putDataFieldsInto&&"singleAxis"!==t.dataFieldsDisplayMode||1===n.length){var i=[];return p.each(n,function(e,n){var o={name:n.caption,title:n.caption,valueType:g[n.dataType]||n.dataType,label:{format:n.format,precision:n.precision}};n.customizeText&&(o.label.customizeText=function(e){return n.customizeText.call(n,e)}),"splitPanes"===t.dataFieldsDisplayMode&&(o.pane=n.caption),i.push(o)}),i}return[{}]}function c(e,t){var n=[],i=e.getAreaFields("data");return i.length>1&&"splitPanes"===t.dataFieldsDisplayMode&&"args"!==t.putDataFieldsInto&&p.each(i,function(e,t){n.push({name:t.caption})}),n.length||n.push({}),n}function d(e,t){var n=t.customizeSeries,i=t.customizeChart,o={valueAxis:l(e,t),panes:c(e,t)},a={};return i&&(o=p.extend(!0,{},o,i(o))),o.dataSource=s(e,t,a),o.seriesTemplate={nameField:"series",customizeSeries:function(e,i){var o={};return"splitPanes"===t.dataFieldsDisplayMode?o.pane=a[e]:"singleAxis"!==t.dataFieldsDisplayMode&&(o.axis=a[e]),n&&(o=p.extend(o,n(e,o))),o}},o}function u(e){if(!e)return!1;if(e.NAME)return"dxChart"===e.NAME&&e;var t=p(e);return t.data("dxChart")&&t.dxChart("instance")}function h(e){var t=e.element().data(m);t&&t()}var p=n(1),f=n(83),_=f.foreachTree,g={number:"numeric",date:"datetime"},m="dxPivotGridUnbinding";i.exports={bindChart:function(e,t){t=p.extend({},t);var n,i=this,o=i.getDataSource(),a=function(){t.grandTotalText=i.option("texts.grandTotal");var n=d(o,t);e.option(n)};return(e=u(e))?(h(e),i.on("changed",a),a(),n=function(){e.element().removeData(m),i.off("changed",a)},e.on("disposing",n),this.on("disposing",n),e.element().data(m,n),n):null}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(233),r="dx-pivotgrid-area",s="dx-pivotgrid-area-data",l="dx-total",c="dx-grandtotal",d="dx-row-total";t.DataArea=a.AreaItem.inherit({_getAreaName:function(){return"data"},_createGroupElement:function(){return o("<div>").addClass(r).addClass(s)},_applyCustomStyles:function(e){var t=e.cell,n=e.classArray;"T"!==t.rowType&&"T"!==t.columnType||n.push(l),"GT"!==t.rowType&&"GT"!==t.columnType||n.push(c),"T"!==t.rowType&&"GT"!==t.rowType||n.push(d),e.rowIndex===e.rowsCount-1&&e.cssArray.push("border-bottom: 0px"),this.callBase(e)},_moveFakeTable:function(e){this._moveFakeTableLeft(e.x),this._moveFakeTableTop(e.y),this.callBase()},processScroll:function(e){this._groupElement.css("border-top-width",0).dxScrollable({useNative:!!e,useSimulatedScrollbar:!e,direction:"both",bounceEnabled:!1,updateManually:!0})},setVirtualContentParams:function(e){this.callBase(e),this._virtualContent.parent().height(e.height),this.tableElement().css({top:e.top,left:e.left})}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(26),s=n(2),l=n(317),c=n(316),d=n(215),u=n(83),h=u.foreachTree,p=u.foreachTreeAsync,f=u.createPath,_=u.formatValue,g=Math,m="GT",v="T",x="D",w=function(e,t,n){e[t]||(e[t]=function(){var e=this._dataSource;return e?e[t].apply(e,arguments):n})};t.DataController=a.inherit(function(){function e(e,t,n){var i=e.text;return s.isDefined(e.displayText)?i=e.displayText:s.isDefined(e.caption)?i=e.caption:e.type===m&&(i=n.texts.grandTotal),e.isAdditionalTotal&&(i=r.format(n.texts.total||"",i)),i}function t(e,t){var n=[];return o.each(e,function(e,i){var o=u.findField(t,i.sortBySummaryField);o>=0&&n.push((i.sortBySummaryPath||[]).concat([o]))}),n}function n(e,t){for(var n=0,i=[],o=0;o<e.length;o++)for(var a=0;a<e[o].length;a++){var r=(e[o][a].rowspan||1)-1,s=o+r;if(i[o]&&(n-=i[o],i[o]=0),t(e[o][a],s,o,a,n)===!1)break;i[o+(e[o][a].rowspan||1)]=(i[o+(e[o][a].rowspan||1)]||0)+1,n++}}function i(e,t,n,o,a,r){n=n||0,o=o||[],r=r||[],o[n]=o[n]||0;var s=e[n],l=r[n]+1||0,c=0;if(s){for(var d=l;d<s.length;d++){var u=s[d],h=d+o[n],p=u.colspan||1;if(i(e,t,n+(u.rowspan||1),o,p,r),o[n]+=p-1,c+=p,u.rowspan)for(var f=n+1;f<n+u.rowspan;f++)o[f]=o[f]||0,o[f]+=u.colspan||1;if(t(u,h,n,d)===!1)break;if(void 0!==a&&c>=a)break}r[n]=d}}function a(e,t,a,r,s){var l=[],c="row"===s,d=a.values;return d.length&&n(e,function(e,n){var s=l[n]=[],u=d[e.dataSourceIndex>=0?e.dataSourceIndex:a.grandTotalRowIndex]||[];e.isLast&&i(t,function(t,n){var i=(c?e.dataIndex:t.dataIndex)||0,l=r[i];if(t.isLast&&l){var d,h=u[t.dataSourceIndex>=0?t.dataSourceIndex:a.grandTotalColumnIndex];o.isArray(h)||(h=[h]),d=h[i],s[n]={text:_(d,l),value:d,format:l.format,precision:l.precision,dataType:l.dataType,columnType:t.type,rowType:e.type,rowPath:e.path||[],columnPath:t.path||[],dataIndex:i},l.width&&(s[n].width=l.width)}})}),l}function y(e,t,n){var i=0,a=[];return h(e,function(e){var t=e[0],r=f(e);if(!t.children||n.showTotals!==!1){var l=o.extend(!0,{},t,{visibleIndex:i++,path:r});s.isDefined(l.index)?a[l.index]=l:a.push(l)}}),a}function b(e,t,n){return t&&"virtual"===t.option("scrolling.mode")?new l.VirtualScrollController(t,o.extend({hasKnownLastPage:function(){return!0},pageCount:function(){return g.ceil(this.totalItemsCount()/this.pageSize())},updateLoading:function(){},itemsCount:function(){return this.pageIndex()<this.pageCount()-1?this.pageSize():void(this.totalItemsCount()%this.pageSize())},items:function(){return[]},viewportItems:function(e){return[]},onChanged:function(e){},isLoading:function(){return e.isLoading()},changingDuration:function(){return e._changingDuration||0}},n)):void 0}function C(e){var t=[];return o.each(e,function(e,n){n.showTotals===!1&&t.push(e)}),t}function k(e,t){var n=[];return o.each(e,function(e,t){t.showGrandTotals===!1&&n.push(e)}),0===t.length&&n.length===e.length&&(n=[]),n}var S=function(){function t(e,t,n){var i=e[t]=e[t]||[],o=i[n]={};return e[t+1]&&(o.children=e[t+1],e.length=t+1),o}function n(e,n){var i,a=n&&n.length||0,r=[],s=o.Deferred();return o.when(p(e,function(e,n){var o=e[0],s=f(e);i=t(r,s.length,n),i.type=x,i.value=o.value,i.path=s,i.text=o.text,i.index=o.index,i.displayText=o.displayText,i.key=o.key,i.isEmpty=o.isEmpty,s.length<a&&(!o.children||0!==o.children.length)&&(i.expanded=!!o.children)})).done(function(){s.resolve(t(r,0,0).children||[])}),s}var i=function(e){var t=0;return h(e,function(e){t=g.max(t,e.length)}),t},a=function(e,t,n,i){var o={type:e.type,text:e.text};return e.path&&(o.path=e.path),e.width&&(o.width=e.width),s.isDefined(e.wordWrapEnabled)&&(o.wordWrapEnabled=e.wordWrapEnabled),e.isLast&&(o.isLast=!0),e.sorted&&(o.sorted=!0),e.isMetric&&(o.dataIndex=e.dataIndex),s.isDefined(e.expanded)&&(o.expanded=e.expanded),t>1&&(o[n?"colspan":"rowspan"]=t),e.depthSize&&e.depthSize>1&&(o[n?"rowspan":"colspan"]=e.depthSize),e.index>=0&&(o.dataSourceIndex=e.index),i&&e.children&&e.children.length&&!e.children[0].isMetric&&(o.width=null,o.isWhiteSpace=!0),o},r=function(e,t){var n,i=t.lastIndex-t.index||1,o=function(e,t,n,i,o){for(var a=o?i:n;!e[a];)e.push([]);o?e[a].push(t):e[a].unshift(t)};return n=a(t.headerItem,i,t.isHorizontal,t.isTree),o(e,n,t.index,t.depth,t.isHorizontal),t.headerItem.children&&0!==t.headerItem.children.length?t.lastIndex:t.lastIndex+1},l=function(e,t){var n,i=e[0],a=s.isString(t[0]),r=i.dataIndex>=0?e[1]:i;return n=a&&-1!==t[0].indexOf("&[")&&r.key||!r.key?f(e):o.map(e,function(e){return e.dataIndex>=0?e.value:e.text}).reverse(),i.type===m&&(n=n.slice(1)),n.join("/")===t.join("/")},c=function(t,i,a,r,c){var h=a.length,f=c.showData?n(t,i):[],_=o.Deferred();return o.when(f).done(function(t){c.notifyProgress(.5),(c.showGrandTotals||0===i.length)&&t[c.showTotalsPrior?"unshift":"push"]({type:m,isEmpty:c.isEmptyGrandTotal}),c.showTotals===!1&&"tree"!==c.layout||u(t,i,c.showTotalsPrior,"tree"===c.layout),o.when(p(t,function(e){var t=e[0];t.children&&0!==t.children.length||(t.depthSize=r-e.length+1)})).done(function(){h>1&&d(t,a,c.hiddenGrandTotals,c.hiddenTotals),!c.showEmpty&&w(t);var n=0;c.notifyProgress(.75),o.when(p(t,function(t){var r=t[0],d=r.isMetric,u=i[t.length-1]||{};r.type!==x||d||(r.width=u.width),d?r.wordWrapEnabled=a[r.dataIndex].wordWrapEnabled:r.wordWrapEnabled=u.wordWrapEnabled,r.isLast=!r.children||!r.children.length,r.isLast&&(o.each(c.sortBySummaryPaths,function(e,n){return s.isDefined(r.dataIndex)||(n=n.slice(0),n.pop()),l(t,n)?(r.sorted=!0,!1):void 0}),n++),r.text=e(r,u,c)})).done(function(){t.length||t.push({}),c.notifyProgress(1),_.resolve(t)})})}),_},d=function(e,t,n,i){h(e,function(e){var a,r=e[0];if(!r.children||0===r.children.length)for(r.children=[],a=0;a<t.length;a++)t.length&&(r.type===m&&-1!==o.inArray(a,n)||r.type!==m&&-1!==o.inArray(a,i))||r.children.push({caption:t[a].caption,path:r.path,type:r.type,value:a,index:r.index,dataIndex:a,isMetric:!0,isEmpty:r.isEmpty&&r.isEmpty[a]})})},u=function(e,t,n,i){n=n||i,h(e,function(a,r){var s=a[0],l=(a[1]?a[1].children:e)||[],c=t[a.length-1];s.type===x&&s.expanded&&(c.showTotals!==!1||i)&&(-1!==r&&l.splice(n?r:r+1,0,o.extend({},s,{children:null,type:v,expanded:n?!0:null,isAdditionalTotal:!0})),n&&(s.expanded=null))})},_=function(e,t){var n=e[t+1];!e[t].children.length&&n&&n.children&&(n.children.splice(o.inArray(e[t],n.children),1),_(e,t+1))},w=function(e){h([{children:e}],function(t,n){var i=t[0],o=(t[1]?t[1].children:e)||[];i&&!i.children&&(i.isEmpty&&i.isEmpty.length?i.isEmpty[0]:i.isEmpty)&&(o.splice(n,1),_(t,1))})},y=function(e,t,n,i,o){var a,s,l=0,c=[0];h(t,function(t){var d=t[0];for(s=d.isMetric?n:t.length-1;c.length-1<s;)c.push(c[c.length-1]);a=c[s]||0,l=r(e,{headerItem:d,index:a,lastIndex:l,depth:s,isHorizontal:i,isTree:o}),c.length=s,c.push(l)})};return function(e,t,n,a,r){var s=[],l=i(e)||1,d=o.Deferred();return c(e,t,n,l,r).done(function(e){y(s,e,l,a,"tree"===r.layout),r.notifyProgress(1),d.resolve(s)}),d}}(),T={ctor:function(e){var t=this,n=o.proxy(t._fireChanged,t);e=t._options=e||{},t._dataSource=t._createDataSource(e),t._rowsScrollController=b(t,e.component,{totalItemsCount:function(){return t.totalRowCount()},pageIndex:function(e){return t.rowPageIndex(e)},pageSize:function(){return t.rowPageSize()},load:function(){return t._rowsScrollController.pageIndex()>=this.pageCount()&&t._rowsScrollController.pageIndex(this.pageCount()-1),t._rowsScrollController.handleDataChanged(n)}}),t._columnsScrollController=b(t,e.component,{totalItemsCount:function(){return t.totalColumnCount()},pageIndex:function(e){return t.columnPageIndex(e)},pageSize:function(){return t.columnPageSize()},load:function(){return t._columnsScrollController.pageIndex()>=this.pageCount()&&t._columnsScrollController.pageIndex(this.pageCount()-1),t._columnsScrollController.handleDataChanged(n)}}),t._stateStoringController=new c.StateStoringController(e.component).init(),t._columnsInfo=[],t._rowsInfo=[],t._cellsInfo=[],t.expandValueChanging=o.Callbacks(),t.loadingChanged=o.Callbacks(),t.scrollChanged=o.Callbacks(),t.load(),t._update(),t.changed=o.Callbacks()},_fireChanged:function(){var e=this,t=new Date;e.changed&&!e._lockChanged&&e.changed.fire(),e._changingDuration=new Date-t},load:function(){var e=this,t=this._stateStoringController;t.isEnabled()&&!t.isLoaded()?t.load().always(function(t){t?e._dataSource.state(t):e._dataSource.load()}):e._dataSource.load()},calculateVirtualContentParams:function(e){var t,n,i,o,a=this,r=a._rowsScrollController,s=a._columnsScrollController,l=e.contentHeight/e.rowCount,c=e.contentWidth/e.columnCount;return r&&s?(t=s.viewportItemSize(),n=r.viewportItemSize(),r.viewportItemSize(l),s.viewportItemSize(c),r.viewportSize(e.viewportHeight/r.viewportItemSize()),r.setContentSize(e.contentHeight),s.viewportSize(e.viewportWidth/s.viewportItemSize()),s.setContentSize(e.contentWidth),s.loadIfNeed(),r.loadIfNeed(),i=s.getViewportPosition()*c/t,o=r.getViewportPosition()*l/n,a.setViewportPosition(i,o),a.scrollChanged.fire({left:i,top:o}),{contentTop:r.getContentOffset(),contentLeft:s.getContentOffset(),width:s.getVirtualContentSize(),height:r.getVirtualContentSize()}):void 0},setViewportPosition:function(e,t){this._rowsScrollController.setViewportPosition(t||0),this._columnsScrollController.setViewportPosition(e||0)},subscribeToWindowScrollEvents:function(e){this._rowsScrollController&&this._rowsScrollController.subscribeToWindowScrollEvents(e)},updateWindowScrollPosition:function(e){this._rowsScrollController&&this._rowsScrollController.scrollTo(e)},updateViewOptions:function(e){o.extend(this._options,e),this._update()},_handleExpandValueChanging:function(e){this.expandValueChanging.fire(e)},_handleLoadingChanged:function(e,t){this.loadingChanged.fire(e,t)},_handleFieldsPrepared:function(e){this._options.onFieldsPrepared&&this._options.onFieldsPrepared(e)},_createDataSource:function(e){var t,n=this,i=e.dataSource;return n._isSharedDataSource=i instanceof d,t=n._isSharedDataSource?i:new d(i),n._changedHandler=o.proxy(n,"_update"),n._expandValueChangingHandler=o.proxy(n,"_handleExpandValueChanging"),n._loadingChangedHandler=o.proxy(n,"_handleLoadingChanged"),n._fieldsPreparedHandler=o.proxy(n,"_handleFieldsPrepared"),t.on("changed",n._changedHandler),t.on("expandValueChanging",n._expandValueChangingHandler),t.on("loadingChanged",n._loadingChangedHandler),t.on("fieldsPrepared",n._fieldsPreparedHandler),t},getDataSource:function(){return this._dataSource},isLoading:function(){return this._dataSource.isLoading()},beginLoading:function(){this._dataSource._changeLoadingCount(1)},endLoading:function(){this._dataSource._changeLoadingCount(-1)},isEmpty:function(){var e=this._dataSource.getAreaFields("data"),t=this._dataSource.getData();return!e.length||!t.values.length},_update:function(){var e=this,n=e._dataSource,i=e._options,a=n.getAreaFields("column"),r=n.getAreaFields("row"),l=n.getAreaFields("data"),c="row"===i.dataFieldArea?l:[],d="row"!==i.dataFieldArea?l:[],u=n.getData(),h=C(l),p=k(l,a),f=l.length>0?p.length!==l.length:!0,_=l.length>0?h.length!==l.length:!0,g=function(e){this.progress=e,n._changeLoadingCount(0,.8+.1*m.progress+.1*v.progress)},m={isEmptyGrandTotal:u.isEmptyGrandTotalRow,texts:i.texts||{},hiddenTotals:h,hiddenGrandTotals:[],showTotals:i.showRowTotals,showData:_,showGrandTotals:i.showRowGrandTotals!==!1&&f,sortBySummaryPaths:t(a,l),showTotalsPrior:"rows"===i.showTotalsPrior||"both"===i.showTotalsPrior,showEmpty:!i.hideEmptySummaryCells,layout:i.rowHeaderLayout,fields:r,progress:0,notifyProgress:g},v={isEmptyGrandTotal:u.isEmptyGrandTotalColumn,texts:i.texts||{},hiddenTotals:h,showData:_,hiddenGrandTotals:p,showTotals:i.showColumnTotals,showTotalsPrior:"columns"===i.showTotalsPrior||"both"===i.showTotalsPrior,showGrandTotals:i.showColumnGrandTotals!==!1&&f,sortBySummaryPaths:t(r,l),showEmpty:!i.hideEmptySummaryCells,fields:a,progress:0,notifyProgress:g};s.isDefined(u.grandTotalRowIndex)||(u.grandTotalRowIndex=y(u.rows,r.length-1,m).length),s.isDefined(u.grandTotalColumnIndex)||(u.grandTotalColumnIndex=y(u.columns,a.length-1,v).length),n._changeLoadingCount(1,.8),o.when(S(u.columns,a,d,!0,v),S(u.rows,r,c,!1,m)).done(function(t,n){e._columnsInfo=t,e._rowsInfo=n,e._rowsScrollController&&e._columnsScrollController&&e.changed&&(e._rowsScrollController.reset(),e._columnsScrollController.reset(),e._lockChanged=!0,e._rowsScrollController.load(),e._columnsScrollController.load(),e._lockChanged=!1)}).always(function(){n._changeLoadingCount(-1)}).done(function(){e._fireChanged(),e._stateStoringController.isEnabled()&&!e._dataSource.isLoading()&&(e._stateStoringController.state(e._dataSource.state()),e._stateStoringController.save())})},getRowsInfo:function(e){var t,i,a=this,r=a._rowsInfo,s=a._rowsScrollController;if(s&&!e){var l=s.beginPageIndex()*a.rowPageSize(),c=s.endPageIndex()*a.rowPageSize()+a.rowPageSize(),d=[],u=1;return n(r,function(e,n,a,r,s){var h=n>=l&&c>a,p=l>a?0:a-l,f=e;if(h)d[p]=d[p]||[],t=l>a?e.rowspan-(l-a)||1:e.rowspan,l+p+t>c&&(t=c-(p+l)||1),t!==e.rowspan&&(f=o.extend({},f,{rowspan:t})),d[p].push(f),u=g.max(u,s+1);else if(i>c)return!1}),n(d,function(e,t,n,i,a){var r=e.colspan||1;a+r>u&&(d[n][i]=o.extend({},e,{colspan:u-a||1}))}),d}return r},getColumnsInfo:function(e){var t=this,n=t._columnsInfo,a=t._columnsScrollController;if(a&&!e){var r=a.beginPageIndex()*t.columnPageSize(),s=a.endPageIndex()*t.columnPageSize()+t.columnPageSize(),l=[];i(n,function(e,t,n){var i,a=e,c=t+(a.colspan-1||0)>=r&&s>t;if(l[n]=l[n]||[],c)r>t?(i=a.colspan-(r-t),t=r):i=a.colspan,t+i>s&&(i=s-t),i!==a.colspan&&(a=o.extend({},a,{colspan:i})),l[n].push(a);else if(t>s)return!1}),n=l}return n},totalRowCount:function(){return this._rowsInfo.length},rowPageIndex:function(e){return void 0!==e&&(this._rowPageIndex=e),this._rowPageIndex||0},totalColumnCount:function(){var e=0;if(this._columnsInfo&&this._columnsInfo.length)for(var t=0;t<this._columnsInfo[0].length;t++)e+=this._columnsInfo[0][t].colspan||1;return e},rowPageSize:function(e){return void 0!==e&&(this._rowPageSize=e),this._rowPageSize||20},columnPageSize:function(e){return void 0!==e&&(this._columnPageSize=e),this._columnPageSize||20},columnPageIndex:function(e){return void 0!==e&&(this._columnPageIndex=e),this._columnPageIndex||0},getCellsInfo:function(e){var t=this.getRowsInfo(e),n=this.getColumnsInfo(e),i=this._dataSource.getData();return a(t,n,i,this._dataSource.getAreaFields("data"),this._options.dataFieldArea)},dispose:function(){var e=this;e._isSharedDataSource?(e._dataSource.off("changed",e._changedHandler),e._dataSource.off("expandValueChanging",e._expandValueChangingHandler),e._dataSource.off("loadingChanged",e._loadingChangedHandler)):e._dataSource.dispose(),e._columnsScrollController&&e._columnsScrollController.dispose(),e._rowsScrollController&&e._rowsScrollController.dispose(),e._stateStoringController.dispose(),e.expandValueChanging.empty(),e.changed.empty(),e.loadingChanged.empty(),e.scrollChanged.empty()}};return w(T,"applyPartialDataSource"),w(T,"collapseHeaderItem"),w(T,"expandHeaderItem"),w(T,"getData"),T}())}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){if(t&&t.customizeText)return"string";if(e.dataType)return e.dataType;if(e.format){if(l.format(1,e.format))return"number";if(l.format(new Date,e.format))return"date"}return u}var a=n(1),r=n(5),s=n(2),l=n(71),c=n(154),d=c.excel,u="string",h=n(47);t.ExportMixin=a.extend({},h.exportMixin,{exportToExcel:function(){var e=this;c.export(e.getDataProvider(),{fileName:e.option("export.fileName"),proxyUrl:e.option("export.proxyUrl"),format:"EXCEL",rtlEnabled:e.option("rtlEnabled"),exportingAction:e._actions.onExporting,exportedAction:e._actions.onExported,fileSavingAction:e._actions.onFileSaving},d.getBlob)},_getLength:function(e){var t,n=0;for(t in e[0])n+=e[0][t].colspan?e[0][t].colspan:1;return n},_getAllItems:function(e,t,n){var i,o,r=e.concat(n),l=this._getLength(t),c=this._getLength(e),d=e.length;for(o=0;o<t.length;o++)for(i=t[o].length-1;i>=0;i--)s.isDefined(r[o+d])||(r[o+d]=[]),r[o+d].splice(0,0,a.extend({},t[o][i]));return r[0].splice(0,0,a.extend({},this._getEmptyCell(),{alignment:this._options.rtlEnabled?"right":"left",colspan:l,rowspan:d})),this._prepareItems(l+c,r)},getDataProvider:function(){var e=this,n=this._dataController,i=a.Deferred();return n.beginLoading(),setTimeout(function(){var t=a.extend(!0,[],n.getColumnsInfo(!0)),o=a.extend(!0,[],n.getRowsInfo(!0)),r=n.getCellsInfo(!0);i.resolve(e._getAllItems(t,o,r)),n.endLoading()}),new t.DataProvider({items:i,dataFields:this.getDataSource().getAreaFields("data")})}}),t.DataProvider=r.inherit({ctor:function(e){this._options=e},ready:function(){var e=this._options,t=e.dataFields;return a.when(e.items).done(function(n){var i,r=n[0][0].rowspan,s=n[r-1];a.each(s,function(e,a){a.width=100,a.alignment=a.alignment||"center",i=n[r]&&n[r][e],i&&(a.dataType=o(i,t[i.dataIndex]),a.format=i.format,a.precision=i.precision)}),e.columns=s,e.items=n})},getColumns:function(){return this._options.columns},getRowsCount:function(){return this._options.items.length},isGroupRow:function(){return!1},isHeadersVisible:function(){return!1},isTotalCell:function(){return!1},getGroupLevel:function(){return 0},getCellMerging:function(e,t){var n=this._options.items,i=n[e]&&n[e][t];return i?{colspan:i.colspan-1,rowspan:i.rowspan-1}:{colspan:0,rowspan:0}},getFrozenArea:function(){var e=this._options.items;return{x:e[0][0].colspan,y:e[0][0].rowspan}},getCellType:function(e,t){var n=this._options.items,i=n[0][0].rowspan,o=n[0][0].colspan,a=this._options.columns[t],r=a&&a.dataType;return i>e||o>t?u:r||u},getCellValue:function(e,t){var n=this._options.items,i=n[e]&&n[e][t]||{};return"string"===this.getCellType(e,t)?i.text:i.value}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}function a(e,t,n,i){n&&n.groupName&&n.groupName===e.groupName&&r(d).addClass("dx-group-connector").addClass("dx-group-connector-prev").appendTo(i),t&&t.groupName&&t.groupName===e.groupName&&r(d).addClass("dx-group-connector").addClass("dx-group-connector-next").appendTo(i)}var r=n(1),s=n(233),l=n(54),c=n(25),d="<div>";n(234),t.FieldsArea=s.AreaItem.inherit({ctor:function(e,t){this.callBase(e),this._area=t},_getAreaName:function(){return"fields"},_createGroupElement:function(){return r(d).addClass("dx-pivotgrid-fields-area").addClass("dx-area-fields").attr("group",this._area)},isVisible:function(){return!!this.option("fieldPanel.visible")&&this.option("fieldPanel.show"+o(this._area)+"Fields")},_renderButton:function(e){var t=this,n=r("<td>").appendTo(r("<tr>").appendTo(e)),i=t.component._createComponent(r(d).appendTo(n),c,{text:"Fields",icon:"menu",width:"auto",onClick:function(){var e=t.tableElement().find(".dx-fields-area-popup").dxPopup("instance");e.option("visible")||e.show()}});i.element().addClass("dx-pivotgrid-fields-area-hamburger")},_getPopupOptions:function(e,t){return{contentTemplate:function(){return r("<table>").addClass("dx-area-field-container").append(r("<thead>").addClass("dx-pivotgrid-fields-area-head").append(e))},height:"auto",width:"auto",position:{at:"left",my:"left",of:t},dragEnabled:!1,animation:{show:{type:"pop",duration:200}},shading:!1,showTitle:!1,closeOnOutsideClick:!0,container:t.parent()}},_renderPopup:function(e,t){var n=this,i=e.find(".dx-button"),o=n._getPopupOptions(t,i),a=n.component.element().dxPivotGridFieldChooserBase("instance");n._rowPopup&&n._rowPopup.element().remove(),n._rowPopup=n.component._createComponent(r(d).appendTo(e),l,o),n._rowPopup.element().addClass("dx-fields-area-popup"),n._rowPopup.content().addClass("dx-pivotgrid-fields-container"),n._rowPopup.content().parent().attr("group","row"),a.subscribeToEvents(n._rowPopup.content()),a.renderSortable(n._rowPopup.content())},_shouldCreateButton:function(e){return!1},_renderTableContent:function(e,t){var n=this,i=this.groupElement(),o=this.isVisible(),s=n.component.element().dxPivotGridFieldChooserBase("instance"),l=r("<thead>").addClass("dx-pivotgrid-fields-area-head").appendTo(e),c=n._area,u=r("<tr>");i.toggleClass("dx-hidden",!o),e.addClass("dx-area-field-container"),o&&(r.each(t,function(e,i){if(i.area===c){var o=r("<td>").append(s.renderField(i,"row"===i.area)),l=o.find(".dx-column-indicators");l.length&&n._shouldCreateButton(c)&&l.insertAfter(l.next()),o.appendTo(u),a(i,t[e+1],t[e-1],o)}}),u.children().length||r("<td>").append(r(d).addClass("dx-empty-area-text").text(this.option("fieldPanel.texts."+c+"FieldArea"))).appendTo(u),n._shouldCreateButton(c)?(n._renderButton(l),n._renderPopup(e,u)):l.append(u))},_renderVirtualContent:r.noop})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){if(t){var n=e.data().data,i=t.parentNode.rowIndex,o=t.cellIndex;return n[i]&&n[i][o]&&n[i][o].path}}var a=n(1),r=n(2),s=n(233),l="dx-pivotgrid-area",c="dx-pivotgrid-horizontal-headers",d="dx-pivotgrid-vertical-headers",u="dx-total",h="dx-grandtotal",p="dx-row-total",f="dx-pivotgrid-expanded",_="dx-pivotgrid-collapsed",g="dx-last-cell",m="dx-vertical-scroll",v="dx-expand-border";t.HorizontalHeadersArea=s.AreaItem.inherit({_getAreaName:function(){return"column"},_getAreaClassName:function(){return c},_createGroupElement:function(){return a("<div>").addClass(this._getAreaClassName()).addClass(l)},_applyCustomStyles:function(e){var t=e.cssArray,n=e.cell,i=e.rowsCount,o=e.classArray;e.cellIndex===e.cellsCount-1&&t.push((e.rtlEnabled?"border-left:":"border-right:")+"0px"),n.rowspan!==i-e.rowIndex&&e.rowIndex+1!==i||t.push("border-bottom-width:0px"),"T"!==n.type&&"GT"!==n.type||o.push(p),"T"===e.cell.type&&o.push(u),"GT"===e.cell.type&&o.push(h),r.isDefined(n.expanded)&&o.push(n.expanded?f:_),this.callBase(e)},_getMainElementMarkup:function(){return"<thead class='"+this._getAreaClassName()+"'>"},_getCloseMainElementMarkup:function(){return"</thead>"},setVirtualContentParams:function(e){this.callBase(e),this.tableElement().css({left:e.left,top:0}),this._virtualContentWidth=e.width;
},hasScroll:function(){var e=this._virtualContent?this._virtualContentWidth:this._tableWidth;return this._groupWidth&&e?e-this._groupWidth>=1:!1},processScroll:function(){this._getScrollable()||this._groupElement.dxScrollable({useNative:!1,useSimulatedScrollbar:!1,showScrollbar:!1,bounceEnabled:!1,direction:"horizontal",updateManually:!0})},processScrollBarSpacing:function(e){var t=this;t._groupWidth&&t.groupWidth(t._groupWidth-e),t._scrollBarWidth&&t._groupElement.next().remove(),t._groupElement.toggleClass(m,e>0),t._groupElement.css("float","left").width(t._groupHeight),t._scrollBarWidth=e},ctor:function(e){this.callBase(e),this._scrollBarWidth=0},getScrollPath:function(e){var t,n=this.tableElement();return e-=parseInt(n[0].style.left,10)||0,a.each(n.find("td"),function(n,i){return 1===i.colSpan&&i.offsetLeft<e&&i.offsetWidth+i.offsetLeft>e?(t=i,!1):void 0}),o(n,t)},_moveFakeTable:function(e){this._moveFakeTableLeft(e),this.callBase()}}),t.VerticalHeadersArea=t.HorizontalHeadersArea.inherit({_getAreaClassName:function(){return d},_applyCustomStyles:function(e){this.callBase(e),e.cellIndex===e.cellsCount-1&&e.classArray.push(g),e.rowIndex===e.rowsCount-1&&e.cssArray.push("border-bottom: 0px"),e.cell.isWhiteSpace&&e.classArray.push("dx-white-space-column")},_getAreaName:function(){return"row"},setVirtualContentParams:function(e){this.callBase(e),this.tableElement().css({top:e.top,left:0}),this._virtualContentHeight=e.height},hasScroll:function(){var e=this._virtualContent?this._virtualContentHeight:this._tableHeight;return this._groupHeight&&e?e-this._groupHeight>=1:!1},processScroll:function(){this._getScrollable()||this._groupElement.dxScrollable({useNative:!1,useSimulatedScrollbar:!1,showScrollbar:!1,bounceEnabled:!1,direction:"vertical",updateManually:!0})},processScrollBarSpacing:function(e){var t=this;t._groupHeight&&t.groupHeight(t._groupHeight-e),t._scrollBarWidth&&t._groupElement.next().remove(),e&&t._groupElement.after(a("<div>").width("100%").height(e-1)),t._scrollBarWidth=e},getScrollPath:function(e){var t,n=this.tableElement();return e-=parseInt(n[0].style.top,10)||0,a.each(n.find("tr"),function(n,i){var o=i.childNodes[i.childNodes.length-1];return o&&1===o.rowSpan&&o.offsetTop<e&&o.offsetHeight+o.offsetTop>e?(t=o,!1):void 0}),o(n,t)},_moveFakeTable:function(e){this._moveFakeTableTop(e),this.callBase()},_getRowClassNames:function(e,t,n){0!==e&t.expanded&&-1===a.inArray(v,n)&&n.push(v)},_getMainElementMarkup:function(){return"<tbody class='"+this._getAreaClassName()+"'>"},_getCloseMainElementMarkup:function(){return"</tbody>"},updateColspans:function(e){var t,n,i,o=this.tableElement()[0].rows,a=0,r=[];if(!(this.getColumnsCount()-e>0))for(n=0;n<o.length;n++)for(i=0;i<o[n].cells.length;i++){var s=o[n].cells[i],l=s.rowSpan;r[n]&&(a-=r[n],r[n]=0),t=e-(a+s.colSpan),i===o[n].cells.length-1&&t>0&&(s.colSpan=s.colSpan+t),r[n+l]=(r[n+l]||0)+s.colSpan,a+=s.colSpan}}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=0;return d.each(e,function(e,n){t+=n||0}),t}function a(e,t){for(var n=t/e.length,i=0;i<e.length;i++)e[i]-=n}function r(e,t){e.off("scroll").off("stop").on("scroll",t).on("stop",t)}function s(e,t){if(Y[t])return Y[t];var n,i=0,o={},a=d(U).css({position:"absolute",visibility:"hidden",width:100,height:100}).appendTo(e),r=d("<p>").css({width:"100%",height:200}).appendTo(a);return"auto"!==t&&(o.useNative=!!t,o.useSimulatedScrollbar=!t),a.dxScrollable(o),n=a.dxScrollable("instance").option("useNative"),i=n?a.width()-r.width():0,a.remove(),Y[t]={scrollBarWidth:i,scrollBarUseNative:n},Y[t]}function l(e,t){var n="width"===t?"outerWidth":"outerHeight",i=0;return d.each(e,function(e,o){i+=o[n]()-o[t]()}),i}function c(e){return e.closest("."+W).length||e.find("."+W).length}var d=n(1),u=n(3),h=n(26),p=n(2),f=n(9),_=n(8),g=n(18),m=n(4),v=n(47),x=n(83),w=n(465),y=n(215),b=n(464),C=n(468),k=n(467),S=n(320),T=n(234),I=n(466).ExportMixin,D=n(463),E=p.isDefined,A=n(54),B=n(126),M="dx-area-data-cell",O="dx-area-row-cell",P="dx-area-column-cell",R="dx-area-description-cell",V="dx-pivotgrid-border",F="dx-pivotgrid",L="dx-row-lines",H="dx-bottom-row",z="dx-bottom-border",N="dx-pivotgrid-fields-container",W="dx-area-fields",G="dx-fieldchooser-popup",$="dx-incompressible-fields",q="<tr>",j="<td>",U="<div>",K=66666,Y={},X=g.inherit({_getDefaultOptions:function(){return d.extend(this.callBase(),{scrolling:{timeout:300,renderingThreshold:150,mode:"standard",useNative:"auto",removeInvisiblePages:!0},encodeHtml:!0,dataSource:null,activeStateEnabled:!1,fieldChooser:{minWidth:250,minHeight:250,enabled:!0,layout:0,title:_.format("dxPivotGrid-fieldChooserTitle"),width:600,height:600},onContextMenuPreparing:null,allowSorting:!1,allowSortingBySummary:!1,allowFiltering:!1,allowExpandAll:!1,wordWrapEnabled:!0,fieldPanel:{showColumnFields:!0,showFilterFields:!0,showDataFields:!0,showRowFields:!0,allowFieldDragging:!0,visible:!1,texts:{columnFieldArea:_.format("dxPivotGrid-columnFieldArea"),rowFieldArea:_.format("dxPivotGrid-rowFieldArea"),filterFieldArea:_.format("dxPivotGrid-filterFieldArea"),dataFieldArea:_.format("dxPivotGrid-dataFieldArea")}},dataFieldArea:"column","export":{enabled:!1,fileName:"PivotGrid",proxyUrl:void 0},showRowTotals:!0,showRowGrandTotals:!0,showColumnTotals:!0,showColumnGrandTotals:!0,hideEmptySummaryCells:!0,showTotalsPrior:"none",rowHeaderLayout:"standard",loadPanel:{enabled:!0,text:_.format("Loading"),width:200,height:70,showIndicator:!0,indicatorSrc:"",showPane:!0},texts:{grandTotal:_.format("dxPivotGrid-grandTotal"),total:_.getFormatter("dxPivotGrid-total"),noData:_.format("dxDataGrid-noDataText"),showFieldChooser:_.format("dxPivotGrid-showFieldChooser"),expandAll:_.format("dxPivotGrid-expandAll"),collapseAll:_.format("dxPivotGrid-collapseAll"),sortColumnBySummary:_.getFormatter("dxPivotGrid-sortColumnBySummary"),sortRowBySummary:_.getFormatter("dxPivotGrid-sortRowBySummary"),removeAllSorting:_.format("dxPivotGrid-removeAllSorting"),exportToExcel:_.format("dxDataGrid-exportToExcel")},onCellClick:null,onCellPrepared:null,showBorders:!1,stateStoring:{enabled:!1,storageKey:null,type:"localStorage",customLoad:null,customSave:null,savingTimeout:2e3},onExpandValueChanging:null,renderCellCountLimit:2e4,onExporting:null,onExported:null,onFileSaving:null})},_setDeprecatedOptions:function(){this.callBase(),d.extend(this._deprecatedOptions,{useNativeScrolling:{since:"15.2",alias:"scrolling.useNative"}})},_getDataControllerOptions:function(){var e=this;return{component:e,dataSource:e.option("dataSource"),texts:e.option("texts"),showRowTotals:e.option("showRowTotals"),showRowGrandTotals:e.option("showRowGrandTotals"),showColumnTotals:e.option("showColumnTotals"),showTotalsPrior:e.option("showTotalsPrior"),showColumnGrandTotals:e.option("showColumnGrandTotals"),dataFieldArea:e.option("dataFieldArea"),rowHeaderLayout:e.option("rowHeaderLayout"),hideEmptySummaryCells:e.option("hideEmptySummaryCells"),onFieldsPrepared:function(t){d.each(t,function(t,n){d.each(["allowSorting","allowSortingBySummary","allowFiltering","allowExpandAll"],function(t,i){void 0===n[i]&&x.setFieldProperty(n,i,e.option(i))})})}}},_initDataController:function(){var e=this;e._dataController&&e._dataController.dispose(),e._dataController=new w.DataController(e._getDataControllerOptions()),e._dataController.changed.add(function(){e._render(),e._trigger("onChanged")}),e._dataController.scrollChanged.add(function(t){e._scrollLeft=t.left,e._scrollTop=t.top}),e._dataController.loadingChanged.add(function(t,n){e._updateLoading(n)});var t=e.option("onExpandValueChanging");t&&e._dataController.expandValueChanging.add(function(e){t(e)})},_init:function(){var e=this;e.callBase(),e._initDataController(),e._scrollLeft=e._scrollTop=null,e._initActions()},_initActions:function(){var e=this;e._actions={onChanged:e._createActionByOption("onChanged"),onContextMenuPreparing:e._createActionByOption("onContextMenuPreparing"),onCellClick:e._createActionByOption("onCellClick"),onExporting:e._createActionByOption("onExporting"),onExported:e._createActionByOption("onExported"),onFileSaving:e._createActionByOption("onFileSaving"),onCellPrepared:e._createActionByOption("onCellPrepared")}},_trigger:function(e,t){this._actions[e](t)},_optionValuesEqual:function(e,t,n){return"dataSource"===e&&n instanceof y&&t instanceof y?n===t:this.callBase.apply(this,arguments)},_optionChanged:function(e){var t=this;switch(e.name){case"dataSource":case"allowSorting":case"allowFiltering":case"allowExpandAll":case"allowSortingBySummary":case"scrolling":case"stateStoring":t._initDataController(),t._fieldChooserPopup.hide(),t._renderFieldChooser(),t._invalidate();break;case"texts":case"showTotalsPrior":case"showRowTotals":case"showRowGrandTotals":case"showColumnTotals":case"showColumnGrandTotals":case"hideEmptySummaryCells":case"dataFieldArea":t._dataController.updateViewOptions(t._getDataControllerOptions());break;case"useNativeScrolling":case"encodeHtml":case"renderCellCountLimit":break;case"rtlEnabled":t.callBase(e),t._renderFieldChooser(),t._renderContextMenu(),t._renderLoadPanel(t._dataArea.groupElement(),t.element()),t._invalidate();break;case"export":t._renderDescriptionArea();break;case"onExpandValueChanging":break;case"onCellClick":case"onContextMenuPreparing":case"onExporting":case"onExported":case"onFileSaving":case"onCellPrepared":t._actions[e.name]=t._createActionByOption(e.name);break;case"fieldChooser":t._renderFieldChooser(),t._renderDescriptionArea();break;case"loadPanel":t._renderLoadPanel(t._dataArea.groupElement(),t.element()),t._invalidate();break;case"fieldPanel":t._renderDescriptionArea(),t._invalidate();break;case"showBorders":t._tableElement().toggleClass(V,!!e.value),t.updateDimensions();break;case"wordWrapEnabled":t._tableElement().toggleClass("dx-word-wrap",!!e.value),t.updateDimensions();break;case"rowHeaderLayout":t._tableElement().find("."+O).toggleClass("dx-area-tree-view","tree"===e.value),t._dataController.updateViewOptions(t._getDataControllerOptions());break;case"height":case"width":t._hasHeight=null,t.callBase(e),t.resize();break;default:t.callBase(e)}},_updateScrollPosition:function(e,t,n){var i,o,a=this,r=a._scrollTop||a._scrollLeft;t&&!t.hasScroll()&&a._hasHeight&&(a._scrollTop=null),e&&!e.hasScroll()&&(a._scrollLeft=null),(null!==a._scrollTop||null!==a._scrollLeft||r)&&(i=a._scrollTop||0,o=a._scrollLeft||0,n.scrollTo({x:o,y:i}),e.scrollTo(o),t.scrollTo(i),a._dataController.updateWindowScrollPosition(a._scrollTop))},_subscribeToEvents:function(e,t,n){var i=this,o=function(o){var a=o.scrollOffset,r=E(a.left)?a.left:i._scrollLeft,s=E(a.top)&&i._hasHeight?a.top:i._scrollTop;(i._scrollLeft||0)===(r||0)&&(i._scrollTop||0)===(s||0)||(i._scrollLeft=r,i._scrollTop=s,i._updateScrollPosition(e,t,n),"virtual"===i.option("scrolling.mode")&&i._dataController.setViewportPosition(i._scrollLeft,i._scrollTop))};d.each([e,t,n],function(e,t){r(t,o)}),!i._hasHeight&&i._dataController.subscribeToWindowScrollEvents(n.groupElement())},_clean:d.noop,_needDelayResizing:function(e){var t=e.length*(e.length?e[0].length:0);return t>this.option("renderCellCountLimit")},_renderFieldChooser:function(){var e=this,t=e._pivotGridContainer,n=e.option("fieldChooser")||{},i={layout:n.layout,texts:n.texts||{},dataSource:e.getDataSource(),width:void 0,height:void 0},o={shading:!1,title:n.title,width:n.width,height:n.height,showCloseButton:!0,resizeEnabled:!0,minWidth:n.minWidth,minHeight:n.minHeight,onResize:function(e){e.component.content().dxPivotGridFieldChooser("updateDimensions")},onShown:function(t){e._createComponent(t.component.content(),S,i)}};e._fieldChooserPopup?(e._fieldChooserPopup.option(o),e._fieldChooserPopup.content().dxPivotGridFieldChooser(i)):e._fieldChooserPopup=e._createComponent(d(U).addClass(G).appendTo(t),A,o)},_renderContextMenu:function(){var e=this,t=e._pivotGridContainer;e._contextMenu&&e._contextMenu.element().remove(),e._contextMenu=e._createComponent(d(U).appendTo(t),B,{onPositioning:function(t){var n,i,o,a=t.jQueryEvent;return t.cancel=!0,a&&(n=a.target.cellIndex>=0?a.target:d(a.target).closest("td").get(0))?(i=e._createEventArgs(n,a),o=e._getContextMenuItems(i),o?(t.component.option("items",o),void(t.cancel=!1)):void 0):void 0},onItemClick:function(e){e.itemData.onItemClick&&e.itemData.onItemClick(e)},cssClass:F,target:e.element()})},_getContextMenuItems:function(e){var t=this,n=[],i=t.option("texts");if("row"===e.area||"column"===e.area){var o=e[e.area+"Fields"],a=e["column"===e.area?"rowFields":"columnFields"],r=e.cell.path&&o[e.cell.path.length-1],s=t.getDataSource();if(r&&r.allowExpandAll&&e.cell.path.length<e[e.area+"Fields"].length&&(n.push({beginGroup:!0,icon:"none",text:i.expandAll,onItemClick:function(){s.expandAll(r.index)}}),n.push({text:i.collapseAll,icon:"none",onItemClick:function(){s.collapseAll(r.index)}})),e.cell.isLast){var l=0;d.each(a,function(t,o){o.allowSortingBySummary&&d.each(e.dataFields,function(t,a){if(!E(e.cell.dataIndex)||e.cell.dataIndex===t){var r=!E(e.cell.dataIndex)&&e.dataFields.length>1,c="column"===e.area?i.sortColumnBySummary:i.sortRowBySummary,d=x.findField(e.dataFields,o.sortBySummaryField)===t&&(e.cell.path||[]).join("/")===(o.sortBySummaryPath||[]).join("/"),u=h.format(c,r?o.caption+" - "+a.caption:o.caption);n.push({beginGroup:0===l,icon:d?"desc"===o.sortOrder?"sortdowntext":"sortuptext":"none",text:u,onItemClick:function(){s.field(o.index,{sortBySummaryField:a.caption||a.dataField,sortBySummaryPath:e.cell.path,sortOrder:"desc"===o.sortOrder?"asc":"desc"}),s.load()}}),l++}})}),d.each(a,function(e,t){return t.allowSortingBySummary&&E(t.sortBySummaryField)?(n.push({beginGroup:0===l,icon:"none",text:i.removeAllSorting,onItemClick:function(){d.each(a,function(e,t){s.field(t.index,{sortBySummaryField:void 0,sortBySummaryPath:void 0,sortOrder:void 0})}),s.load()}}),!1):void 0})}}return t.option("fieldChooser.enabled")&&n.push({beginGroup:!0,icon:"columnchooser",text:i.showFieldChooser,onItemClick:function(){t._fieldChooserPopup.show()}}),t.option("export.enabled")&&n.push({beginGroup:!0,icon:"exportxlsx",text:i.exportToExcel,onItemClick:function(){t.exportToExcel()}}),e.items=n,t._trigger("onContextMenuPreparing",e),n=e.items,n&&n.length?n:void 0},_createEventArgs:function(e,t){var n=this,i=n.getDataSource(),o={rowFields:i.getAreaFields("row"),columnFields:i.getAreaFields("column"),dataFields:i.getAreaFields("data"),jQueryEvent:t};return c(d(e))?d.extend(n._createFieldArgs(e),o):d.extend(n._createCellArgs(e),o)},_createFieldArgs:function(e){var t=d(e).children().data("field"),n={field:t};return p.isDefined(t)?n:{}},_createCellArgs:function(e){var t=d(e),n=e.cellIndex,i=e.parentElement.rowIndex,o=t.closest("table"),a=o.data("data"),r=a&&a[i]&&a[i][n],s={area:o.data("area"),rowIndex:i,columnIndex:n,cellElement:t,cell:r};return s},_handleCellClick:function(e){var t=this,n=t._createEventArgs(e.currentTarget,e),i=n.cell;i&&(n.area||!n.rowIndex&&!n.columnIndex)&&(t._trigger("onCellClick",n),i&&!n.cancel&&E(i.expanded)&&setTimeout(function(){t._dataController[i.expanded?"collapseHeaderItem":"expandHeaderItem"](n.area,i.path)}))},_getNoDataText:function(){return this.option("texts.noData")},_renderNoDataText:v.renderNoDataText,_renderLoadPanel:v.renderLoadPanel,_updateLoading:function(e){var t,n=this,i=n._dataController.isLoading();n._loadPanel&&(t=n._loadPanel.option("visible"),t||(n._startLoadingTime=new Date),i&&(e?new Date-n._startLoadingTime>=1e3&&n._loadPanel.option("message",Math.floor(100*e)+"%"):n._loadPanel.option("message",n.option("loadPanel.text"))),clearTimeout(n._hideLoadingTimeoutID),t&&!i?n._hideLoadingTimeoutID=setTimeout(function(){n._loadPanel.option("visible",!1)}):n._loadPanel.option("visible",i))},_renderDescriptionArea:function(){var e,t=this,n=t.element(),i=n.find("."+R),o=d(U).addClass("dx-pivotgrid-toolbar"),a=t.option("fieldPanel"),r=n.find(".dx-filter-header"),s=n.find(".dx-column-header");e=a.visible&&a.showFilterFields?r:a.visible&&(a.showDataFields||a.showColumnFields)?s:i,s.toggleClass(z,!(!a.visible||!a.showDataFields&&!a.showColumnFields)),r.toggleClass(z,!(!a.visible||!a.showFilterFields)),i.toggleClass("dx-pivotgrid-background",a.visible&&(a.showDataFields||a.showColumnFields||a.showRowFields)),t.element().find(".dx-pivotgrid-toolbar").remove(),o.prependTo(e),t.option("fieldChooser.enabled")&&t._createComponent(d(U).appendTo(o).addClass("dx-pivotgrid-field-chooser-button"),"dxButton",{icon:"columnchooser",hint:t.option("texts.showFieldChooser"),onClick:function(){t.getFieldChooserPopup().show()}}),t.option("export.enabled")&&t._createComponent(d(U).appendTo(o).addClass("dx-pivotgrid-export-button"),"dxButton",{icon:"exportxlsx",hint:t.option("texts.exportToExcel"),onClick:function(){t.exportToExcel()}})},_detectHasContainerHeight:function(){var e,t=this,n=t.element();p.isDefined(t._hasHeight)||n.is(":hidden")||(t._pivotGridContainer.addClass("dx-hidden"),e=d(U).height(K),n.append(e),t._hasHeight=n.height()!==K,t._pivotGridContainer.removeClass("dx-hidden"),e.remove())},_renderHeaders:function(e,t,n,i){var o=this,a=o.getDataSource(),r=k.FieldsArea;o._rowFields=o._rowFields||new r(o,"row"),o._rowFields.render(e,a.getAreaFields("row")),o._columnFields=o._columnFields||new r(o,"column"),o._columnFields.render(t,a.getAreaFields("column")),o._filterFields=o._filterFields||new r(o,"filter"),o._filterFields.render(n,a.getAreaFields("filter")),o._dataFields=o._dataFields||new r(o,"data"),o._dataFields.render(i,a.getAreaFields("data"))},_createTableElement:function(){var e=this;return d("<table>").css({width:"100%"}).toggleClass(V,!!e.option("showBorders")).toggleClass("dx-word-wrap",!!e.option("wordWrapEnabled")).on(m.addNamespace(f.name,"dxPivotGrid"),"td",d.proxy(e,"_handleCellClick"))},_renderDataArea:function(e){var t=this,n=t._dataArea||new b.DataArea(t);return t._dataArea=n,n.render(e,t._dataController.getCellsInfo()),n},_renderRowsArea:function(e){var t=this,n=t._rowsArea||new C.VerticalHeadersArea(t);return t._rowsArea=n,n.render(e,t._dataController.getRowsInfo()),n},_renderColumnsArea:function(e){var t=this,n=t._columnsArea||new C.HorizontalHeadersArea(t);return t._columnsArea=n,n.render(e,t._dataController.getColumnsInfo()),n},_renderContentImpl:function(){var e,t,n,i,o,a,r,l,c,u,h,p,f=this,_=s(f.element(),f.option("scrolling.useNative")),g=!f._pivotGridContainer;f._scrollBarWidth=_.scrollBarWidth,f._scrollBarUseNative=_.scrollBarUseNative,i=!g&&f._tableElement(),i||(f.element().addClass(F).addClass(L).addClass(N),f._pivotGridContainer=d(U),f._renderFieldChooser(),f._renderContextMenu(),e=d(j).addClass(P),t=d(j).addClass(O),n=d(j).addClass(M),i=f._createTableElement(),h=d(j).addClass("dx-data-header"),u=d("<td colspan='2'>").addClass("dx-filter-header"),c=d(j).addClass("dx-column-header"),l=d(j).addClass(R),d(q).append(u).appendTo(i),d(q).append(h).append(c).appendTo(i),d(q).append(l).append(e).appendTo(i),d(q).addClass(H).append(t).append(n).appendTo(i),f._pivotGridContainer.append(i),f.element().append(f._pivotGridContainer),"tree"===f.option("rowHeaderLayout")&&t.addClass("dx-area-tree-view")),f._createComponent(f.element(),T,{dataSource:f.getDataSource(),allowFieldDragging:f.option("fieldPanel.allowFieldDragging")}),o=f._renderDataArea(n),a=f._renderRowsArea(t),r=f._renderColumnsArea(e),o.tableElement().prepend(r.headElement()),g&&(f._renderLoadPanel(o.groupElement().parent(),f.element()),f._renderDescriptionArea(),a.processScroll(),r.processScroll()),p=function(){f.updateDimensions().done(function(){f._subscribeToEvents(r,a,o),f.element().removeClass("dx-overflow-hidden")})},f._renderHeaders(l,c,u,h),f._needDelayResizing(f._dataController.getCellsInfo())&&g?(f.element().addClass("dx-overflow-hidden"),setTimeout(p)):p()},_fireContentReadyAction:function(){this._dataController.isLoading()||this.callBase()},getScrollPath:function(e){var t=this;return"column"===e?t._columnsArea.getScrollPath(t._scrollLeft):t._rowsArea.getScrollPath(t._scrollTop)},getDataSource:function(){return this._dataController.getDataSource()},getFieldChooserPopup:function(){return this._fieldChooserPopup},hasScroll:function(e){var t=this;return"column"===e?t._columnsArea.hasScroll():t._rowsArea.hasScroll()},_dimensionChanged:function(){this.updateDimensions()},_visibilityChanged:function(e){e&&this.updateDimensions()},_dispose:function(){var e=this;clearTimeout(e._hideLoadingTimeoutID),e.callBase.apply(e,arguments),e._dataController&&e._dataController.dispose()},_tableElement:function(){return this.element().find("table").first()},resize:function(){this.updateDimensions()},isReady:function(){return this.callBase()&&!this._dataController.isLoading()},updateDimensions:function(){var e,t,n,i,r,s,c,u,h,f,_,g,m,v,w,y,b=this,C=b._tableElement(),k=b._rowsArea,S=b._columnsArea,T=b._dataArea,I=0,D=0,E=0,A=b._scrollBarWidth||0,B=C.find("."+M),V=C.find("."+O),F=C.find("."+P),L=C.find("."+R),H=C.find(".dx-filter-header"),N=b._rowFields,W=N.isVisible()&&"tree"!==b.option("rowHeaderLayout"),G=d.Deferred();return b._detectHasContainerHeight(),T.headElement().length||T.tableElement().prepend(S.headElement()),W&&(k.updateColspans(N.getColumnsCount()),k.tableElement().prepend(N.headElement())),C.addClass($),T.reset(),k.reset(),S.reset(),N.reset(),p.deferUpdate(function(){s=T.getColumnsWidth(),w=k.getRowsHeight(),i=W?w.slice(1):w,n=T.getRowsHeight(),m=L.outerHeight()+(W?w[0]:0),y=b._dataController.getColumnsInfo().length,r=x.mergeArraysByMaxValue(i,n.slice(y)),v=n.slice(0,y),g=o(v),c=k.getColumnsWidth(),b._hasHeight&&(u=l([F,B,C,C.find(".dx-column-header"),H],"height"),t=b.element().height()-H.height()-C.find(".dx-data-header").height()-(Math.max(T.headElement().height(),F.height(),m)+u)),I=T.tableElement().width(),D=o(r),E=o(c),_=b.element().width(),u=l([V,B,C],"width"),e=_-E-u,h=b._hasHeight&&D-t>=1,f=I-e>=1,h||(t=D+(f?A:0)),p.deferRender(function(){if(S.tableElement().append(T.headElement()),N.tableElement().append(k.headElement()),!f&&h&&A&&a(s,A),m>g&&(a(v,g-m),S.setRowsHeight(v)),C.removeClass($),S.groupWidth(e),S.processScrollBarSpacing(h?A:0),S.setColumnsWidth(s),k.groupHeight(b._hasHeight?t:"auto"),k.processScrollBarSpacing(f?A:0),k.setColumnsWidth(c),k.setRowsHeight(r),T.setColumnsWidth(s),T.setRowsHeight(r),T.groupWidth(e),T.groupHeight(b._hasHeight?t:"auto"),W&&N.setColumnsWidth(c),B.toggleClass(z,!(h||A)),V.toggleClass(z,!(h&&!A)),!b._hasHeight&&_!==b.element().width()){var n=_-b.element().width();f||(a(s,n),S.setColumnsWidth(s),T.setColumnsWidth(s)),T.groupWidth(e-n),S.groupWidth(e-n)}if("virtual"===b.option("scrolling.mode")&&!b._dataController.isEmpty()){var i=b._dataController.calculateVirtualContentParams({contentWidth:I,contentHeight:D,rowCount:r.length,columnCount:s.length,viewportWidth:e,viewportHeight:b._hasHeight?t:d(window).outerHeight()});T.setVirtualContentParams({top:i.contentTop,left:i.contentLeft,width:i.width,height:i.height}),k.setVirtualContentParams({top:i.contentTop,width:E,height:i.height}),S.setVirtualContentParams({left:i.contentLeft,width:i.width,height:S.groupElement().height()})}d.each([S,k,T],function(e,t){t&&t.updateScrollable()}),p.deferRender(function(){b._updateScrollPosition(S,k,T)}),T.processScroll(b._scrollBarUseNative),b._updateLoading(),b._renderNoDataText(T.groupElement()),G.resolve()})}),G},applyPartialDataSource:function(e,t,n){this._dataController.applyPartialDataSource(e,t,n)}}).inherit(I).include(D);u("dxPivotGrid",X),i.exports=X}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n,i,o={index:-1};return l.isObject(t)||(i=e.columns.concat(e.rows).concat(e.values),n=u(i,t),t=i[n]),t&&(o.area=t.area,o.index=s.inArray(t,e["data"===t.area?"values":t.area+"s"])),o}function a(e){return e===f?"_rowPath":"_columnPath"}function r(e){var t=e.summaryDisplayMode,n=e.allowCrossGroupCalculation,i=_;return l.isFunction(e.calculateSummaryValue)?i=e.calculateSummaryValue:t&&(i="absoluteVariation"===t?v(n):"percentVariation"===t?x(n):w[t],i&&!e.format&&-1!==t.indexOf("percent")&&d.setFieldProperty(e,"format","percent")),e.runningTotal?(i=i||C,b(i,n,e.runningTotal)):i}var s=n(1),l=n(2),c=l.isDefined,d=n(83),u=d.findField,h=d.foreachTree,p="column",f="row",_=null,g=function(e,t){var n=e.grandTotal(t);return c(e.value())?e.value()/n.value():_},m=function(e,t){var n=e.parent(t),i=n?n.value():e.value();return c(e.value())?e.value()/i:_},v=function(e){return function(t){var n=t.prev(p,e),i=n&&n.value();return c(i)&&c(t.value())?t.value()-i:_}},x=function(e){var t=v(e);return function(n){var i=t(n);return i!==_?i/n.prev(p,e).value():_}},w={percentOfColumnTotal:function(e){return m(e,f)},percentOfRowTotal:function(e){return m(e,p)},percentOfColumnGrandTotal:function(e){return g(e,f)},percentOfRowGrandTotal:function(e){return g(e,p)},percentOfGrandTotal:function(e){return g(e)}},y=function(e,t){if(e&&e.parent(t)){var n=e.prev(t);return n||(n=y(e.parent(t),t)),n}},b=function(e,t,n){return n=n===p?f:p,function(i){var o=t?y(i,n):i.prev(n,!1),a=e(i);return(o&&o.value(!0)||0)+(a||0)}},C=function(e){return e.value()},k=function(e,t,n,i,o){this._columnPath=e,this._rowPath=t,this._fieldIndex=o,this._data=n,this._descriptions=i;var a=n.values&&n.values[t[0].index]&&n.values[t[0].index][e[0].index];a&&(a.originalCell=a.originalCell||a.slice(),this._cell=a)};k.prototype=s.extend(k.prototype,{_getPath:function(e){return this[a(e)]},_getDimension:function(e){return e=e===f?"rows":"columns",this._descriptions[e]},_getData:function(e){return e=e===f?"rows":"columns",this._data[e]},_createCell:function(e){var t=this;return new k(e._columnPath||t._columnPath,e._rowPath||t._rowPath,t._data,t._descriptions,t._fieldIndex)},parent:function(e){var t=this._getPath(e).slice(),n={};return t.shift(),t.length?(n[a(e)]=t,this._createCell(n)):_},children:function(e){var t=this._getPath(e).slice(),n=t[0],i=[],o={};if(n.children)for(var r=0;r<n.children.length;r++)o[a(e)]=[n.children[r]].concat(t.slice()),i.push(this._createCell(o));return i},grandTotal:function(e){var t={},n=this._rowPath,i=this._columnPath,o=this._getPath(e),r=a(e);return e?t[r]=[o[o.length-1]]:(t._rowPath=[n[n.length-1]],t._columnPath=[i[i.length-1]]),this._createCell(t)},next:function(e,t){var n,i,o=this._getPath(e),a=o[0],r=this.parent(e);if(r&&(i=s.inArray(a,o[1].children),n=r.children(e),n[i+1]))return n[i+1];if(t&&r){do r=r.next(e,t),n=r?r.children(e):[];while(r&&!n.length);return n[0]||_}return _},prev:function(e,t){var n,i,o=this._getPath(e),a=o[0],r=this.parent(e);if(r&&(i=s.inArray(a,o[1].children),n=r.children(e),n[i-1]))return n[i-1];if(t&&r){do r=r.prev(e,t),n=r?r.children(e):[];while(r&&!n.length);return n[n.length-1]||_}return _},cell:function(){return this._cell},field:function(e){var t=this._getPath(e),n=this._getDimension(e),i=n[t.length-2];return i||_},child:function(e,t){for(var n,i=this.children(e),o=0;o<i.length;o++)if(n=n||i[o].field(e),i[o].value(n)===t)return i[o];return _},slice:function(e,t){var n,i,r,s,l=this,c={},d=o(this._descriptions,e),u=d.area,h=d.index,g=_,m=[];if((u===f||u===p)&&(i=this._getPath(u).slice(),s=-1!==h&&i.length-2-h,i[s])){m[i.length-1]=i[i.length-1];for(var v=s;v>=0;v--){if(i[v+1]){n=i[v+1].children||[],r=v===s?t:i[v].value,i[v]=void 0;for(var x=0;x<n.length;x++)if(n[x].value===r){i[v]=n[x];break}}if(void 0===i[v])return g}c[a(u)]=i,g=l._createCell(c)}return g},value:function(){var e,t,n=this._cell,i=this._fieldIndex,a=arguments,r=a[0]===!0||a[0]===!1,s=r?_:a[0],l=r&&a[0]||a[1];if(c(s)){var d=o(this._descriptions,s);if(i=d.index,"data"!==d.area)return e=this._getPath(d.area),t=-1!==i&&e.length-2-i,e[t]&&e[t].value}return n&&n.originalCell?l?n[i]:n.originalCell[i]:_}}),t.applyDisplaySummaryMode=function(e,t){var n=[],i=[{index:t.grandTotalColumnIndex,children:t.columns}],o=[{index:t.grandTotalRowIndex,children:t.rows}],a=e.values;t.values=t.values||[],h(o,function(o){var s=o[0];s.isEmpty=!0,t.values[s.index]=t.values[s.index]||[],h(i,function(i){var l,c,d,u,h,p,f=i[0];f.isEmpty=f.isEmpty||[],t.values[s.index][f.index]=t.values[s.index][f.index]||[];for(var _=0;_<a.length;_++)u=a[_],l=n[_]=n[_]||r(u),h=!1,l&&(c=new k(i,o,t,e,_),d=c.cell(),p=d[_]=l(c),h=null===p||void 0===p),void 0===f.isEmpty[_]&&(f.isEmpty[_]=!0),h||(f.isEmpty[_]=!1,s.isEmpty=!1)},!1)},!1),t.isEmptyGrandTotalRow=o[0].isEmpty,t.isEmptyGrandTotalColumn=i[0].isEmpty}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i=c(e),o=i.offset();return t>=o.left&&t<=o.left+i.outerWidth(!0)&&n>=o.top&&n<=o.top+i.outerHeight(!0)?!0:void 0}function a(e,t,n){return d.isDefined(t.posHorizontal)?n?e>t.posHorizontal:e<t.posHorizontal:!0}function r(e,t){var n=-1,i=t.get(0);return c.each(e,function(t,o){var a=c(o);return a.attr("item-group")&&a.attr("item-group")===e.eq(t-1).attr("item-group")||n++,o===i?!1:void 0}),n===e.length?-1:n}function s(e,t){var n;return c.each(t,function(){o(this,e.pageX,e.pageY)&&(n=c(this))}),n}function l(e,t,n){for(var i=[],o=0;o<e.length;o+=a.length){var a=e.eq(o);if(a.attr("item-group")&&(a=n.find("[item-group='"+a.attr("item-group")+"']")),a.is(":visible")){var r={item:a,index:i.length,posHorizontal:t?void 0:(a.last().outerWidth(!0)+a.last().offset().left+a.offset().left)/2};t?r.posVertical=(a.last().offset().top+a.offset().top+a.last().outerHeight(!0))/2:r.posVertical=a.last().outerHeight(!0)+a.last().offset().top,i.push(r)}}return i}var c=n(1),d=n(2),u=n(4),h=u.addNamespace,p=n(3),f=n(40),_=n(63),g="dxSortable",m="dx-sortable",v=f.inherit({_getDefaultOptions:function(){return c.extend(this.callBase(),{onChanged:null,onDragging:null,itemRender:null,groupSelector:null,itemSelector:".dx-sort-item",itemContainerSelector:".dx-sortable",sourceClass:"dx-drag-source",dragClass:"dx-drag",targetClass:"dx-drag-target",direction:"vertical",allowDragging:!0,groupFilter:null,useIndicator:!1})},_renderItem:function(e,t){var n,i=this.option("itemRender");return i?n=i(e,t):(n=e.clone(),n.css({width:e.width(),height:e.height()})),n},_renderIndicator:function(e,t,n,i){var o=e.outerHeight(!0),a=e.outerWidth(!0),r=e.offset().top-n.offset().top,s=e.offset().left-n.offset().left;this._indicator.css({position:"absolute",top:i&&t?r+o:r,left:i&&!t?s+a:s}).toggleClass("dx-position-indicator-horizontal",!t).toggleClass("dx-position-indicator-vertical",!!t).toggleClass("dx-position-indicator-last",!!i).height("").width("").appendTo(n),t?this._indicator.width(a):this._indicator.height(o)},_renderDraggable:function(e){this._$draggable&&this._$draggable.remove(),this._$draggable=this._renderItem(e,"drag").addClass(this.option("dragClass")).appendTo("body").css({zIndex:1e6,position:"absolute"})},_detachEventHandlers:function(){this.element().off(h([_.move,_.start,_.end,_.enter,_.leave,_.drop].join(" "),g))},_getItemOffset:function(e,t,n){for(var i=0;i<t.length;i++){var o=e?n.pageY<t[i].posVertical:a(n.pageX,t[i],this.option("rtlEnabled"));if(o)return t[i]}},_attachEventHandlers:function(){var e,t,n,i,o,a,d,u=this,p=u.option("itemSelector"),f=u.option("itemContainerSelector"),v=u.option("groupSelector"),x=u.option("sourceClass"),w=u.option("targetClass"),y=u.option("onDragging"),b=u.option("groupFilter"),C=u.element(),k=-1,S=function(){o=[],c.each(e,function(e,t){o.push(c(t).offset())})},T=function(){return v?b?c(v).filter(b):C.find(v):C},I=function(){var o={sourceGroup:a,sourceIndex:t,sourceElement:e,targetGroup:i.attr("group"),targetIndex:i.find(p).index(n)};y&&y(o),o.cancel&&(i=void 0)};u._detachEventHandlers(),u.option("allowDragging")&&C.on(h(_.start,g),p,function(i){e=c(i.currentTarget);var o=e.closest(v);a=o.attr("group"),t=r((v?o:C).find(p),e),e.attr("item-group")&&(e=o.find("[item-group='"+e.attr("item-group")+"']")),u._renderDraggable(e),n=u._renderItem(e,"target").addClass(w),e.addClass(x),S(),d=T(),u._indicator=c("<div>").addClass("dx-position-indicator")}).on(h(_.move,g),function(r){var h,_,g,v,y,b,C,S=[];if(e){if(k=-1,u._indicator.detach(),c.each(u._$draggable,function(e,t){c(t).css({
top:o[e].top+r.offset.y,left:o[e].left+r.offset.x})}),i&&i.removeClass(w),i=s(r,d),i&&I(),!i)return void n.detach();i.addClass(w),_=i.find(f),g=_.find(p);var T=i.closest("."+m).data("dxSortable"),D=T.option("useIndicator");if(y="vertical"===(T||u).option("direction"),S=l(g,y,_),b=u._getItemOffset(y,S,r)){if(h=b.item,C=S[b.index-1]&&S[b.index-1].item,h.hasClass(x)||C&&C.hasClass(x)&&C.is(":visible"))return void n.detach();if(k=b.index,!D)return void n.insertBefore(h);var E=i.attr("group")!==a,A=k===t,B=k===t+1;if(E)return void u._renderIndicator(h,y,i,u.option("rtlEnabled")&&!y);A||B||u._renderIndicator(h,y,i,u.option("rtlEnabled")&&!y)}else{if(v=g.last(),v.is(":visible")&&v.hasClass(x))return;_.length&&(k=S.length?S[S.length-1].index+1:0),D?g.length&&u._renderIndicator(v,y,i,!u.option("rtlEnabled")||y):n.appendTo(_)}}}).on(h(_.end,g),function(){if(e){var o=u.option("onChanged"),r={sourceIndex:t,sourceElement:e,sourceGroup:a,targetIndex:k,removeSourceElement:!0,removeTargetElement:!1,removeSourceClass:!0};i&&(i.removeClass(w),r.targetGroup=i.attr("group"),(a!==r.targetGroup||k>-1)&&(o&&o(r),r.removeSourceElement&&e.remove())),u._indicator.detach(),r.removeSourceClass&&e.removeClass(x),e=null,u._$draggable.remove(),u._$draggable=null,r.removeTargetElement&&n.remove(),n.removeClass(w),n=null}})},_init:function(){this.callBase(),this._attachEventHandlers()},_render:function(){this.callBase(),this.element().addClass(m)},_dispose:function(){var e=this;e.callBase.apply(e,arguments),e._$draggable&&e._$draggable.detach(),e._indicator&&e._indicator.detach()},_optionChanged:function(e){var t=this;switch(e.name){case"onDragging":case"onChanged":case"itemRender":case"groupSelector":case"itemSelector":case"itemContainerSelector":case"sourceClass":case"targetClass":case"dragClass":case"allowDragging":case"groupFilter":case"useIndicator":t._attachEventHandlers();break;case"direction":break;default:t.callBase(e)}}});p("dxSortable",v),i.exports=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(321).XmlaStore}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(320)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(487)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(51),r=n(161),s=null,l=function(e){return new r(o("<div>").appendTo(e&&e.container||a.value()),e)},c=function(){s&&(s.element().remove(),s=null)};t.show=function(e){return c(),s=l(e),s.show()},t.hide=function(){return s?s.hide().done(c).promise():o.when()}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(162),s=n(12),l=n(14),c=n(238),d="dx-scheduler-agenda",u="dx-scheduler-agenda-date",h="dx-scheduler-agenda-week-day",p="dx-scheduler-group-table",f="dx-scheduler-agenda-nodata",_="dx-scheduler-date-table-last-row",g=5,m=20,v=r.inherit({_activeStateUnit:void 0,_getDefaultOptions:function(){return o.extend(this.callBase(),{agendaDuration:7,rowHeight:60,noDataText:""})},_optionChanged:function(e){var t=e.name,n=e.value;switch(t){case"agendaDuration":break;case"noDataText":case"rowHeight":this._cleanView(),this._renderView();break;case"groups":n&&n.length?this._$groupTable||(this._initGroupTable(),this._dateTableScrollable.content().prepend(this._$groupTable)):this._$groupTable&&(this._$groupTable.remove(),this._$groupTable=null),this.callBase(e);break;default:this.callBase(e)}},_renderFocusState:o.noop,_cleanFocusState:o.noop,_getElementClass:function(){return d},_setFirstViewDate:function(){this._firstViewDate=s.makeDate(this.option("currentDate")),this._setStartDayHour(this._firstViewDate)},_getRowCount:function(){return this.option("agendaDuration")},_getCellCount:function(){return 1},_getTimePanelRowCount:function(){return this.option("agendaDuration")},_getDateByIndex:o.noop,_getFormat:function(){return"d ddd"},_renderAllDayPanel:o.noop,_toggleAllDayVisibility:o.noop,_initWorkSpaceUnits:function(){this._initGroupTable(),this._$timePanel=o("<table>").addClass(this._getTimePanelClass()),this._$dateTable=o("<table>").addClass(this._getDateTableClass())},_initGroupTable:function(){var e=this.option("groups");e&&e.length&&(this._$groupTable=o("<table>").addClass(p))},_renderView:function(){this._setFirstViewDate(),this._rows=[],this.invoke("getAgendaRows",{agendaDuration:this.option("agendaDuration"),currentDate:s.makeDate(this.option("currentDate"))}).done(o.proxy(function(e){return this._cleanView(),!e[0].length||this._rowsIsEmpty(e)?void this._renderNoData():(this._rows=e,this._$groupTable&&(this._renderGroupHeader(),this._setGroupHeaderCellsHeight()),this._renderTimePanel(),this._renderDateTable(),void this.invoke("agendaIsReady",e,g,m))},this))},_renderNoData:function(){this._$noDataContainer=o("<div>").addClass(f).html(this.option("noDataText")),this._dateTableScrollable.content().append(this._$noDataContainer)},_setTableSizes:o.noop,_toggleHorizontalScrollClass:o.noop,_createCrossScrollingConfig:o.noop,_setGroupHeaderCellsHeight:function(){var e=this._getGroupHeaderCells().filter(function(e,t){return!t.getAttribute("rowspan")}),t=this._removeEmptyRows(this._rows);if(t.length)for(var n=0;n<e.length;n++){var i=e.eq(n).find(".dx-scheduler-group-header-content");i.outerHeight(this._getGroupRowHeight(t[n]))}},_rowsIsEmpty:function(e){for(var t=!0,n=0;n<e.length;n++)for(var i=e[n],o=0;o<i.length;o++)if(i[o]){t=!1;break}return t},_attachGroupCountAttr:function(){this.element().attr("dx-group-column-count",this.option("groups").length)},_removeEmptyRows:function(e){for(var t=[],n=0;n<e.length;n++)e[n].length&&t.push(e[n]);return t},_getGroupHeaderContainer:function(){return this._$groupTable},_makeGroupRows:function(e){var t=this.invoke("createReducedResourcesTree"),n=this._getGroupHeaderContentClass(),i=c.makeGroupedTableFromJSON(c.VERTICAL,t,{cellTag:"th",groupTableClass:p,groupRowClass:this._getGroupRowClass(),groupCellClass:this._getGroupHeaderClass(),groupCellCustomContent:function(e,t){var i=document.createElement("div"),o=document.createElement("div");i.className=n,o.appendChild(t),i.appendChild(o),e.appendChild(i)}});return o(i).find("."+this._getGroupRowClass())},_cleanView:function(){this._$dateTable.empty(),this._$timePanel.empty(),this._$groupTable&&this._$groupTable.empty(),this._$noDataContainer&&(this._$noDataContainer.empty(),this._$noDataContainer.remove(),delete this._$noDataContainer)},_createWorkSpaceElements:function(){this._createWorkSpaceStaticElements()},_createWorkSpaceStaticElements:function(){this._$groupTable&&this._dateTableScrollable.content().prepend(this._$groupTable),this._dateTableScrollable.content().append(this._$timePanel,this._$dateTable),this.element().append(this._dateTableScrollable.element())},_renderDateTable:function(){this._renderTableBody({container:this._$dateTable,rowClass:this._getDateTableRowClass(),cellClass:this._getDateTableCellClass()})},_attachTablesEvents:o.noop,_attachEvents:o.noop,_renderTableBody:function(e){this._$rows=[];for(var t=o.proxy(function(t,n){if(n){var i=o("<tr>");e.rowClass&&i.addClass(e.rowClass);var a=o("<td>").height(this._getRowHeight(n));e.cellClass&&a.addClass(e.cellClass),o.isFunction(e.dataGenerator)&&e.dataGenerator(a[0],t),i.append(a),this._$rows.push(i)}},this),n=0;n<this._rows.length;n++)o.each(this._rows[n],t),this._setLastRowClass();e.container.append(o("<tbody>").append(this._$rows))},_setLastRowClass:function(){if(this._rows.length>1&&this._$rows.length){var e=this._$rows[this._$rows.length-1];e.addClass(_)}},_setTimePanelText:function(e,t){var n=s.makeDate(this.option("currentDate")),i=new Date(n.setDate(n.getDate()+t)),a=l.format(i,"d"),r=l.format(i,"E");o(e).append([o("<span />").addClass(u).text(a),o("<span />").addClass(h).text(r)])},_getRowHeight:function(e){var t=this.option("rowHeight"),n=(e-1)*g;return e?t*e+n+m:0},_getGroupRowHeight:function(e){if(e){for(var t=0,n=0;n<e.length;n++)t+=this._getRowHeight(e[n]);return t}},getAgendaVerticalStepHeight:function(){return this.option("rowHeight")},getEndViewDate:function(){var e=s.makeDate(this.option("currentDate")),t=this.option("agendaDuration");e.setHours(this.option("endDayHour"));var n=e.setDate(e.getDate()+t-1)-6e4;return new Date(n)},getCoordinatesByDate:function(){return{top:0,left:0,max:0,groupIndex:0}},getCellDataByCoordinates:function(){return{startDate:null,endDate:null}}});a("dxSchedulerAgenda",v),i.exports=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(128),s=n(12),l=n(3),c=n(164),d=n(113),u=n(4),h=n(13),p=n(40),f=n(178),_=n(8),g=n(14),m=u.addNamespace(h.enter,"dxSchedulerAppointment"),v=u.addNamespace(h.leave,"dxSchedulerAppointment"),x="dx-scheduler-appointment-empty",w=40,y=15,b="dx-scheduler-all-day-appointment",C={horizontal:"dx-scheduler-appointment-horizontal",vertical:"dx-scheduler-appointment-vertical"},k="dx-scheduler-appointment-recurrence",S="dx-scheduler-appointment-compact",T="dx-scheduler-appointment-reduced",I="dx-scheduler-appointment-reduced-icon",D={head:"dx-scheduler-appointment-head",body:"dx-scheduler-appointment-body",tail:"dx-scheduler-appointment-tail"},E=p.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{data:{},geometry:{top:0,left:0,width:0,height:0},allowDrag:!0,allowResize:!0,reduced:null,isCompact:!1,sortedIndex:void 0,direction:"vertical",resizableConfig:{},cellHeight:0,cellWidth:0})},_optionChanged:function(e){switch(e.name){case"data":case"geometry":case"allowDrag":case"allowResize":case"reduced":case"sortedIndex":case"isCompact":case"direction":case"resizableConfig":case"cellHeight":case"cellWidth":this._invalidate();break;default:this.callBase(e)}},_resizingRules:{horizontal:function(){var e=this.option("cellWidth"),t=this.option("rtlEnabled"),n={head:t?"right":"left",body:"",tail:t?"left":"right"},i="left right",o=this.option("reduced");return o&&(i=n[o]),{handles:i,minHeight:0,minWidth:e,step:e}},vertical:function(){var e=this.option("cellHeight");return{handles:"top bottom",minWidth:0,minHeight:e,step:e}}},_render:function(){this.callBase(),this._renderAppointmentGeometry(),this._renderEmptyClass(),this._renderCompactClass(),this._renderReducedAppointment(),this._renderAllDayClass(),this._renderDirection(),this.element().attr("title",this.invoke("getField","text",this.option("data"))),this.element().attr("role","button"),this._renderRecurrenceClass(),this._renderSortedTabIndex(),this._renderResizable()},_renderAppointmentGeometry:function(){var e=this.option("geometry"),t=this.element();a.move(t,{top:e.top,left:e.left}),t.css({width:e.width,height:e.height})},_renderEmptyClass:function(){var e=this.option("geometry");(e.width<w||e.height<y)&&this.element().addClass(x)},_renderReducedAppointment:function(){var e=this.option("reduced");e&&(this.element().toggleClass(T,!0).toggleClass(D[e],!0),this._renderAppointmentReducedIcon())},_renderAppointmentReducedIcon:function(){var e=o("<div>").addClass(I).appendTo(this.element()),t=this._getEndDate();e.off(m).on(m,function(){c.show({target:e,content:_.format("dxScheduler-editorLabelEndDate")+": "+g.format(t,"d MMMM yyyy")})}).off(v).on(v,function(){c.hide()})},_getEndDate:function(){var e=this.invoke("getField","endDate",this.option("data"));return e?s.makeDate(e):e},_renderAllDayClass:function(){this.element().toggleClass(b,!!this.option("allDay"))},_renderRecurrenceClass:function(){var e=this.invoke("getField","recurrenceRule",this.option("data"));r.getRecurrenceRule(e).isValid&&this.element().addClass(k)},_renderSortedTabIndex:function(){var e=this.option("sortedIndex");this.element().attr("sortedIndex",e),this.element().attr("tabIndex",0===e?0:-1)},_renderCompactClass:function(){this.element().toggleClass(S,!!this.option("isCompact"))},_renderDirection:function(){this.element().addClass(C[this.option("direction")])},_renderResizable:function(){if(this.option("allowResize")&&!this.option("isCompact")){var e=this._resizingRules[this.option("direction")].apply(this);this._createComponent(this.element(),f,o.extend(e,this.option("resizableConfig")))}}}).include(d);l("dxSchedulerAppointment",E),i.exports=E}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(177),a=n(8),r=n(9);n(489),n(495);var s="dx-scheduler-recurrence-rule-item",l={_appointmentForm:{},_validateAppointmentFormDate:function(e,t,n){var i=!!t;i||e.option("value",n)},_getAllDayStartDate:function(e){return e.setHours(0),e.setMinutes(0),e},_getAllDayEndDate:function(e){var t=new Date(e);return t.setDate(e.getDate()+1),t},create:function(e,t,n,i){return this._appointmentForm=e(t,o,{items:this._editors,readOnly:n,showValidationSummary:!0,scrollingEnabled:!0,formData:i}),this._appointmentForm},prepareAppointmentFormEditors:function(e,t,n){var i=this;return this._editors=[{dataField:t.textExpr,editorType:"dxTextBox",label:{text:a.format("dxScheduler-editorLabelTitle")}},{itemType:"empty"},{dataField:t.allDayExpr,editorType:"dxSwitch",label:{text:a.format("dxScheduler-allDay")},editorOptions:{onValueChanged:function(e){var o,a=e.value,r=i._appointmentForm.getEditor(t.startDateExpr),s=i._appointmentForm.getEditor(t.endDateExpr);r&&s&&(r.option("type",a?"date":"datetime"),s.option("type",a?"date":"datetime"),o=new Date(r.option("value")),a?(r.option("value",i._getAllDayStartDate(o)),s.option("value",i._getAllDayEndDate(o))):r.option("value")&&(o.setHours(n.option("startDayHour")),r.option("value",o),s.option("value",n._workSpace.calculateEndDate(r.option("value")))))}}},{dataField:t.startDateExpr,editorType:"dxDateBox",label:{text:a.format("dxScheduler-editorLabelStartDate")},editorOptions:{type:e?"date":"datetime",width:"100%",onValueChanged:function(e){var n=e.value,o=e.previousValue,a=i._appointmentForm.getEditor(t.endDateExpr),r=a.option("value");if(i._validateAppointmentFormDate(e.component,n,o),n>=r){var s=r.getTime()-o.getTime();a.option("value",new Date(n.getTime()+s))}}}},{dataField:t.startDateTimeZoneExpr,editorType:"dxSchedulerTimezoneEditor",label:{text:" ",showColon:!1},editorOptions:{observer:n},visible:!1},{dataField:t.endDateExpr,editorType:"dxDateBox",label:{text:a.format("dxScheduler-editorLabelEndDate")},editorOptions:{type:e?"date":"datetime",width:"100%",onValueChanged:function(e){var n=e.value,o=e.previousValue,a=i._appointmentForm.getEditor(t.startDateExpr),r=a.option("value");if(i._validateAppointmentFormDate(e.component,n,o),n&&r>=n){var s=o.getTime()-r.getTime();a.option("value",new Date(n.getTime()-s))}}}},{dataField:t.endDateTimeZoneExpr,editorType:"dxSchedulerTimezoneEditor",label:{text:" ",showColon:!1},editorOptions:{observer:n},visible:!1},{itemType:"empty"},{dataField:t.descriptionExpr,editorType:"dxTextArea",label:{text:a.format("dxScheduler-editorLabelDescription")}},{dataField:t.recurrenceRuleExpr,editorType:"dxSchedulerRecurrenceEditor",editorOptions:{observer:n,onContentReady:function(e){var t=e.element.closest(".dx-field-item"),n=t.find(".dx-field-item-label");n.off(r.name).on(r.name,function(){e.component.toggle()})}},cssClass:s,label:{text:a.format("dxScheduler-editorLabelRecurrence")}}],t.recurrenceRuleExpr||this._editors.splice(9,1),this._editors},concatResources:function(e){this._editors=this._editors.concat(e)}};i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(128),s=n(12),l=n(2),c=n(41),d=n(35),u=a.inherit({ctor:function(e){this._filterRegistry=null,this._dataExpressions=e},make:function(e,t){this._filterRegistry||(this._filterRegistry={}),this._make[e].apply(this,t)},_make:{date:function(e,t){var n=this._dataExpressions.startDateExpr,i=this._dataExpressions.endDateExpr,o=this._dataExpressions.recurrenceRuleExpr;this._filterRegistry.date=[[[[n,">=",e],[i,"<=",t]],"or",[[n,"<=",e],[i,"<=",t],[i,">",e]],"or",[[n,">=",e],[n,"<",t],[i,">=",t]],"or",[[n,"<=",e],[i,">=",t]]],"or",[o,"startswith","freq"]],o||this._filterRegistry.date.splice(1,2)},user:function(e){this._filterRegistry.user=e}},combine:function(){var e=[];return this._filterRegistry.date&&e.push(this._filterRegistry.date),this._filterRegistry.user&&e.push(this._filterRegistry.user),e}}),h=a.inherit({_createFilter:function(e,t,n){this._filterMaker.make("date",[e,t]),this._filterMaker.make("user",[this._dataSource.filter()]),n&&this._dataSource.filter(this._filterMaker.combine())},_getStoreKey:function(e){var t=this._dataSource.store();return t.keyOf(e)},_filterAppointmentByResources:function(e,t){function n(){var n,i=this._dataAccessors.getter.resources[s];o.isFunction(i)&&(n=i(e));for(var r=c.wrapToArray(n),l=o.map(t[a].items,function(e){return e.id}),d=0,u=r.length;u>d;d++)if(o.inArray(r[d],l)>-1)return!0;return!1}for(var i=!1,a=0,r=t.length;r>a;a++){var s=t[a].name;if(i=n.call(this),!i)return!1}return i},_filterAppointmentByRRule:function(e,t,n,i,o){var a=e.rrule,s=e.recurrenceException,l=e.allDay,c=!0,d=e.startDate,u=e.endDate;if(l||this._appointmentPartInInterval(d,u,i,o)){var h=this._trimDates(t,n);t=h.min,n=new Date(h.max.getTime()-6e4)}return a&&!r.getRecurrenceRule(a).isValid&&(c=u>t&&n>=d),c&&r.getRecurrenceRule(a).isValid&&(c=r.dateInRecurrenceRange(a,d,t,n,s)),c},_appointmentPartInInterval:function(e,t,n,i){var o=e.getHours(),a=t.getHours();return n>=o&&i>=a&&a>=n||a>=i&&i>=o&&o>=n},_createCombinedFilter:function(e,t){var n=this._dataAccessors,i=e.startDayHour,o=e.endDayHour,a=s.makeDate(e.min),r=s.makeDate(e.max),c=e.resources,d=this;return[[function(u){var h,p=!0,f=s.makeDate(n.getter.startDate(u)),_=s.makeDate(n.getter.endDate(u)),g=d.appointmentTakesAllDay(u,i,o),m=n.getter.allDay(u),v=f.getHours(),x=36e5*(24-o+i),w=_.getTime()-f.getTime(),y=(x-w)/36e5,b=l.isDefined(n.getter.recurrenceRule);b&&(h=n.getter.recurrenceRule(u)),c&&c.length&&(p=d._filterAppointmentByResources(u,c)),g&&e.allDay===!1&&(p=!1),p&&b&&(p=d._filterAppointmentByRRule({startDate:f,endDate:_,rrule:h,recurrenceException:n.getter.recurrenceException(u),allDay:g},a,r,i,o));var C=n.getter.startDateTimeZone(u),k=n.getter.endDateTimeZone(u),S=t(f,C),T=t(_,k);return p&&void 0!==i&&(p=S.getHours()>=i||T.getHours()>=i||g),p&&void 0!==o&&(p=S.getHours()<o||g&&r>=S,x>w&&v>o&&v-o>=y&&(p=!1)),p&&b&&!h&&T.getTime()<a.getTime()&&!m&&(p=!1),p}]]},ctor:function(e,t,n){this.setDataSource(e),this._filterMaker=new u(t),this.setDataAccessors(n)},setDataSource:function(e){this._dataSource=e},setDataAccessors:function(e){this._dataAccessors=e},filterByDate:function(e,t,n){if(this._dataSource){var i=this._trimDates(e,t);this._filterMaker._filterRegistry?(this._filterMaker.make("date",[i.min,i.max]),this._dataSource.filter()&&this._dataSource.filter().length>1&&this._filterMaker.make("user",[this._dataSource.filter()[1]]),n&&this._dataSource.filter(this._filterMaker.combine())):this._createFilter(i.min,i.max,n)}},filterLoadedAppointments:function(e,t){o.isFunction(t)||(t=function(e){return e});var n=this._createCombinedFilter(e,t);if(this._filterMaker._filterRegistry){var i=this._trimDates(e.min,e.max);this._filterMaker.make("date",[i.min,i.max]);var a=this.customizeDateFilter(this._filterMaker.combine(),t);n.push([a])}return d(this._dataSource.items()).filter(n).toArray()},_trimDates:function(e,t){var n=s.trimTime(new Date(e)),i=s.trimTime(new Date(t));return i.setDate(i.getDate()+1),{min:n,max:i}},hasAllDayAppointments:function(e,t,n){if(!e)return!1;var i=this,a=!1;return o.each(e,function(e,o){return i.appointmentTakesAllDay(o,t,n)?(a=!0,!1):void 0}),a},appointmentTakesAllDay:function(e,t,n){var i=this._dataAccessors,o=i.getter.startDate(e),a=i.getter.endDate(e),r=i.getter.allDay(e);return r||this._appointmentHasAllDayDuration(o,a,t,n)},_appointmentHasAllDayDuration:function(e,t,n,i){e=new Date(e),t=new Date(t);var o=i-n,a=(t.getTime()-e.getTime())/36e5;return a>=o},appointmentTakesSeveralDays:function(e){var t=this._dataAccessors,n=t.getter.startDate(e),i=t.getter.endDate(e),o=s.trimTime(new Date(n)),a=s.trimTime(new Date(i));return o.getTime()!==a.getTime()},_mapDateFieldsDependOnTZ:function(e,t){function n(e){e=s.makeDate(e);var n=t.clientOffset,i=e.getTime()+n,o=(e.getTime()-i)/36e5,a=o-t.value;return new Date(e.getTime()+36e5*a)}var i=this._dataAccessors.getter.startDate(e),o=this._dataAccessors.getter.endDate(e);this._dataAccessors.setter.startDate(e,n(i)),this._dataAccessors.setter.endDate(e,n(o))},customizeDateFilter:function(e,t){var n=o.extend(!0,[],e);return o.proxy(function(e){e=o.extend(!0,{},e);var i=this._dataAccessors.getter.startDate(e),a=this._dataAccessors.getter.endDate(e),r=this._dataAccessors.getter.startDateTimeZone(e),s=this._dataAccessors.getter.endDateTimeZone(e),l=t(i,r),c=t(a,s);return this._dataAccessors.setter.startDate(e,l),this._dataAccessors.setter.endDate(e,c),d([e]).filter(n).toArray().length>0},this)},add:function(e,t){return t&&void 0!==t.value&&this._mapDateFieldsDependOnTZ(e,t),this._dataSource.store().insert(e).done(o.proxy(function(){this._dataSource.load()},this))},update:function(e,t){var n=this._getStoreKey(e);return this._dataSource.store().update(n,t).done(o.proxy(function(){this._dataSource.load()},this))},remove:function(e){var t=this._getStoreKey(e);return this._dataSource.store().remove(t).done(o.proxy(function(){this._dataSource.load()},this))}});i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(163),r=n(164),s=n(25),l=n(100),c=n(186),d=n(187),u=n(8),h="dx-scheduler-appointment-tooltip",p="dx-scheduler-appointment-tooltip-title",f="dx-scheduler-appointment-tooltip-date",_="dx-scheduler-appointment-tooltip-buttons",g={show:function(e,t,n,i){if(!this._tooltip||!this._tooltip.option("visible")||this._tooltip.option("target").get(0)!==n.get(0)){this.instance=i;var r=i.appointmentTakesAllDay(e);this._initDynamicTemplate(e,t);var s=i._getTemplateByOption("appointmentTooltipTemplate");this.hide(),this._$tooltip=o("<div>").appendTo(i.element()),this._tooltip=i._createComponent(this._$tooltip,a,{_templates:i.option("_templates"),templateProvider:i.option("templateProvider"),visible:!0,target:n,rtlEnabled:i.option("rtlEnabled"),contentTemplate:new c(function(t){return new d(s.render(e,t))}),position:{my:"bottom",at:"top",of:n,boundary:r?i.element():i.getWorkSpaceScrollableContainer(),collision:"fit flipfit"}})}},hide:function(){this._$tooltip&&(this._$tooltip.remove(),delete this._$tooltip,delete this._tooltip,r.hide())},_initDynamicTemplate:function(e,t){var n=this;this.instance._dynamicTemplates.appointmentTooltip=new l(function(i,o,a){var r=n._tooltipContent(e,t);return r.addClass(a.attr("class")),a.replaceWith(r),a})},_tooltipContent:function(e,t){var n=o("<div>").addClass(h),i=this.instance.appointmentTakesAllDay(e),a=this.instance.fire("getField","startDate",t),r=this.instance.fire("getField","endDate",t),s=this.instance.fire("getField","text",e),l=this.instance.fire("getField","startDateTimeZone",e),c=this.instance.fire("getField","endDateTimeZone",e);a=this.instance.fire("convertDateByTimezone",a,l),r=this.instance.fire("convertDateByTimezone",r,c),o("<div>").text(s).addClass(p).appendTo(n),o("<div>").addClass(f).text(this._formatTooltipDate(a,r,i)).appendTo(n);var d=o("<div>").addClass(_).appendTo(n);return this.instance._editing.allowDeleting&&this._getDeleteButton(e,t).appendTo(d),this._getOpenButton(e,t).appendTo(d),n},_formatTooltipDate:function(e,t,n){var i="month"===this.instance.option("currentView")?"DATETIME":"TIME",o="";return n&&(i="DATE"),this.instance.fire("formatDates",{startDate:e,endDate:t,formatType:i,callback:function(e){o=e}}),o},_getDeleteButton:function(e,t){var n=this;return new s(o("<div>"),{icon:"trash",onClick:function(){var i=n.instance.fire("getField","startDate",t);n.instance._checkRecurringAppointment(e,t,i,function(){n.instance.deleteAppointment(e)},!0),n.hide()}}).element()},_getOpenButton:function(e,t){var n=this,i=n.instance._editing.allowUpdating;return new s(o("<div>"),{icon:i?"edit":"",text:u.format("dxScheduler-openAppointment"),onClick:function(){n.instance.showAppointmentPopup(e,!1,t),n.hide()}}).element()}};i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(15),s=n(2),l=n(25),c=n(127),d="dx-scheduler-dropdown-appointments",u="dx-scheduler-dropdown-appointments-content",h="dx-scheduler-dropdown-appointment",p="dx-scheduler-dropdown-appointment-title",f="dx-scheduler-dropdown-appointment-date",_="dx-scheduler-dropdown-appointment-remove-button",g="dx-scheduler-dropdown-appointment-edit-button",m="dx-scheduler-dropdown-appointment-info-block",v="dx-scheduler-dropdown-appointment-buttons-block",x=a.inherit({render:function(e,t){var n=e.coordinates,i=e.items;this.instance=t;var a=o("<div>").addClass(d).appendTo(e.$container);return this._createDropDownMenu({$element:a,items:i,itemTemplate:e.itemTemplate,buttonWidth:e.buttonWidth,onAppointmentClick:e.onAppointmentClick}),this._paintMenuButton(a,e.buttonColor,i),this._applyInnerShadow(a,e.buttonWidth),r.move(a,{top:n.top,left:n.left}),a},repaintExisting:function(e){var t=["",d,"dx-dropdownmenu"].join(".");e.find(t).each(function(){c.getInstance(this).repaint()})},_paintMenuButton:function(e,t,n){var i,o=!0,a=n.colors,r=a.length;if(r){i=a[0];for(var s=1;r>s;s++){if(i!==a[s]){o=!1;break}i=a[s]}}t&&o&&e.css("background-color",t)},_createButtonTemplate:function(e){return o("<div />").html([o("<span />").text(e),o("<span />").text("...")]).addClass(u)},_applyInnerShadow:function(e){e.css("box-shadow","inset "+e.outerWidth()+"px 0 0 0 rgba(0, 0, 0, 0.3)")},_createDropDownMenu:function(e){var t,n=e.$element,i=e.items,a=e.onAppointmentClick;if(!c.getInstance(n)){t=o.proxy(function(e,t,n){this._createDropDownAppointmentTemplate(e,n,i.colors[t])},this);var r=this.instance;this.instance._createComponent(n,c,{buttonIcon:null,usePopover:!0,popupHeight:200,items:i.data,buttonTemplate:this._createButtonTemplate(i.data.length),buttonWidth:e.buttonWidth,onItemClick:function(e){e.component.open(),o.isFunction(a)&&a.call(r._appointments,e)},activeStateEnabled:!1,focusStateEnabled:!1,itemTemplate:t})}},_createDropDownAppointmentTemplate:function(e,t,n){var i,a,r,s="",l=[],c="left",d=this.instance.fire("getField","text",e);t.addClass(h),this.instance.option("rtlEnabled")&&(c="right"),n&&t.css("border-"+c+"-color",n),this.instance.fire("normalizeAppointmentDates",{appointmentData:e,callback:function(t){e=t}});var u=this.instance.fire("getField","startDate",e),_=this.instance.fire("getField","endDate",e);this.instance.fire("formatDates",{startDate:u,endDate:_,formatType:"DATETIME",callback:function(e){s=e}}),r=o("<div />").addClass(m),i=o("<div>").addClass(p).text(d),a=o("<div>").addClass(f).text(s),r.append([i,a]),l.push(r),l.push(this._createButtons(e)),t.append(l)},_createButtons:function(e){var t=this.instance.option("editing"),n=!1,i=!1;if(!t)return"";t===!0&&(n=!0,i=!0),s.isObject(t)&&(n=t.allowDeleting,i=t.allowUpdating);var a=o("<div />").addClass(v),r=o("<div>").addClass(_),c=o("<div>").addClass(g);return n&&(a.append(r),this.instance._createComponent(r,l,{icon:"trash",height:25,width:25,onClick:o.proxy(function(t){t.jQueryEvent.stopPropagation(),this.instance.deleteAppointment(e)},this)})),i&&(a.append(c),this.instance._createComponent(c,l,{icon:"edit",height:25,width:25,onClick:o.proxy(function(t){t.jQueryEvent.stopPropagation(),this.instance.fire("showEditAppointmentPopup",{data:e})},this)})),a}});i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(12),s=n(2),l=n(128),c=n(3),d=n(113),u=n(477),h=n(485),p=n(322),f=n(323),_=n(484),g=n(483),m=n(4),v=n(100),x=n(179),w=n(14),y=n(28),b=n(262),C="dx-scheduler-scrollable-appointments",k="dx-scheduler-appointment",S=m.addNamespace(x.name,"dxSchedulerAppointment"),T={horizontal:p,horizontalMonth:_,horizontalMonthLine:f,vertical:h,agenda:g},I=y.inherit({_supportedKeys:function(e){var t=this.callBase(),n=function(e){var t=this._getAccessAppointments(),n=t.filter(".dx-state-focused"),i=n.attr("sortedIndex"),o=t.length-1;if(i>0&&e.shiftKey||o>i&&!e.shiftKey){e.preventDefault(),e.shiftKey?i--:i++;var a=this._getAppointmentByIndex(i);this._resetTabIndex(a),a.focus()}};return o.extend(t,{escape:o.proxy(function(){this.moveAppointmentBack(),this._escPressed=!0},this),del:o.proxy(function(e){if(this.option("allowDelete")){e.preventDefault();var t=this._getItemData(e.target);this.notifyObserver("deleteAppointment",{data:t,target:e.target}),this.notifyObserver("hideAppointmentTooltip")}}),tab:n})},_getAppointmentByIndex:function(e){var t=this._getAccessAppointments();return t.filter("[sortedIndex ="+e+"]").eq(0)},_getAccessAppointments:function(){return this._itemElements().filter(":visible").not(".dx-state-disabled")},_resetTabIndex:function(e){this._focusTarget().attr("tabindex",-1),e.attr("tabindex",this.option("tabIndex"))},_moveFocus:o.noop,_focusTarget:function(){return this._itemElements()},_renderFocusTarget:function(){var e=this._getAppointmentByIndex(0);this._resetTabIndex(e)},_focusInHandler:function(e){if(this._targetIsDisabled(e))return void e.stopPropagation();this.callBase.apply(this,arguments),this._$currentAppointment=o(e.target),this.option("focusedElement",o(e.target));var t=this;setTimeout(function(){t.notifyObserver("appointmentFocused")})},_targetIsDisabled:function(e){return o(e.currentTarget).is(".dx-state-disabled, .dx-state-disabled *")},_focusOutHandler:function(e){var t=this._getAppointmentByIndex(0);this.option("focusedElement",t),this.callBase.apply(this,arguments)},_eventBindingTarget:function(){return this._itemContainer()},_getDefaultOptions:function(){return o.extend(this.callBase(),{noDataText:null,activeStateEnabled:!0,hoverStateEnabled:!0,tabIndex:0,appointmentDurationInMinutes:30,fixedContainer:null,allDayContainer:null,renderingStrategy:"vertical",allowDrag:!0,allowResize:!0,allowAllDayResize:!0,onAppointmentDblClick:null,dayDuration:24})},_optionChanged:function(e){switch(e.name){case"renderingStrategy":this._initRenderingStrategy();break;case"fixedContainer":case"allDayContainer":case"onAppointmentDblClick":break;case"allowDrag":case"allowResize":case"allowAllDayResize":case"dayDuration":case"appointmentDurationInMinutes":this.repaint();break;case"focusedElement":this._resetTabIndex(o(e.value)),this.callBase(e);break;case"allowDelete":break;default:this.callBase(e)}},_itemClass:function(){return k},_itemContainer:function(){var e=this.callBase(),t=e,n=this.option("allDayContainer");return n&&(t=e.add(n)),t},_cleanItemContainer:function(){this.callBase();var e=this.option("allDayContainer");e&&e.empty(),this._virtualAppointments={}},_clean:function(){this.callBase(),delete this._$currentAppointment,delete this._initialSize,delete this._initialCoordinates},_init:function(){this.callBase(),this._initRenderingStrategy(),this.element().addClass(C),this._preventSingleAppointmentClick=!1,this._initDynamicTemplates()},_initRenderingStrategy:function(){var e=T[this.option("renderingStrategy")];this._renderingStrategy=new e(this)},_initDynamicTemplates:function(){this._dynamicTemplates.item=new v(o.proxy(function(e){var t=this.invoke("getField","text",e),n=r.makeDate(this.invoke("getField","startDate",e)),i=r.makeDate(this.invoke("getField","endDate",e)),a=this.invoke("getField","recurrenceRule",e),s=o("<div>").text(t),l=o("<div>").addClass("dx-scheduler-appointment-content-details"),c=[],d=this.invoke("getField","startDateTimeZone",e),u=this.invoke("getField","endDateTimeZone",e);return n=this.invoke("convertDateByTimezone",n,d),i=this.invoke("convertDateByTimezone",i,u),o("<div>").addClass("dx-scheduler-appointment-content-date").text(w.format(n,"shorttime")).appendTo(l),o("<div>").addClass("dx-scheduler-appointment-content-date").text(" - ").appendTo(l),o("<div>").addClass("dx-scheduler-appointment-content-date").text(w.format(i,"shorttime")).appendTo(l),c.push(s,l),a&&c.push(o("<span>").addClass("dx-scheduler-appointment-recurrence-icon dx-icon-repeat")),
c},this))},_executeItemRenderAction:function(e,t,n){var i=this._getItemRenderAction();i&&i({appointmentElement:n,appointmentData:t,targetedAppointmentData:this.invoke("getTargetedAppointmentData",t,n,e)})},_getStartDate:function(e,t){var n=this.invoke("getField","startDate",e),i=this.invoke("getField","startDateTimeZone",e);return n=r.makeDate(n),n=this.invoke("convertDateByTimezone",n,i),!t&&this.notifyObserver("updateAppointmentStartDate",{startDate:n,appointment:e,callback:function(e){n=e}}),n},_getEndDate:function(e){var t=this.invoke("getField","endDate",e);if(t){var n=this.invoke("getField","endDateTimeZone",e);t=r.makeDate(t),t=this.invoke("convertDateByTimezone",t,n),this.notifyObserver("updateAppointmentEndDate",{endDate:t,callback:function(e){t=e}})}return t},_itemClickHandler:function(e){this.callBase(e,{},{afterExecute:o.proxy(function(e){this._processItemClick(e.args[0].jQueryEvent)},this)})},_processItemClick:function(e){var t=o(e.currentTarget),n=this._getItemData(t);return this._targetIsDisabled(e)?void e.stopPropagation():(this._normalizeAppointmentDates(n),"keydown"===e.type||m.isFakeClickEvent(e)?void this.notifyObserver("showEditAppointmentPopup",{data:n,target:t}):void(this._appointmentClickTimeout=setTimeout(o.proxy(function(){this._preventSingleAppointmentClick||this.notifyObserver("showAppointmentTooltip",{data:n,target:t}),this._preventSingleAppointmentClick=!1},this),300)))},_normalizeAppointmentDates:function(e){var t=r.makeDate(this.invoke("getField","startDate",e)),n=r.makeDate(this.invoke("getField","endDate",e));this.invoke("setField","startDate",e,t),this.invoke("setField","endDate",e,n)},_extendActionArgs:function(){var e=this.callBase.apply(this,arguments);return this._mapAppointmentFields(e)},_mapAppointmentFields:function(e){var t={appointmentData:e.itemData,appointmentElement:e.itemElement};return e.itemData&&(t.targetedAppointmentData=this.invoke("getTargetedAppointmentData",e.itemData,e.itemElement,e.itemIndex)),t},_render:function(){this.callBase.apply(this,arguments),this._attachAppointmentDblClick()},_attachAppointmentDblClick:function(){var e=this,t=e._itemSelector();this._itemContainer().off(S,t).on(S,t,function(t){e._itemJQueryEventHandler(t,"onAppointmentDblClick",{},{afterExecute:function(t){e._dblClickHandler(t.args[0].jQueryEvent)}})})},_dblClickHandler:function(e){var t=o(e.currentTarget),n=this._getItemData(t);clearTimeout(this._appointmentClickTimeout),this._preventSingleAppointmentClick=!0,this.notifyObserver("showEditAppointmentPopup",{data:n,target:t})},_renderItems:function(e){this._isContainerInvisible()||(this.notifyObserver("getCellDimensions",{callback:o.proxy(function(e,t,n){this._cellWidth=e,this._cellHeight=t,this._allDayCellHeight=n},this)}),this._positionMap=this._renderingStrategy.createTaskPositionMap(e),this.callBase(e))},_isContainerInvisible:function(){var e=!1;return this.notifyObserver("checkContainerVisibility",{callback:function(t){e=t}}),e},_renderItem:function(e,t){for(var n=this._renderingStrategy.isAllDay(t),i=this._getAppointmentContainer(n),o=this._positionMap[e],a=o.length,r=0;a>r;r++)this._currentAppointmentSettings=o[r],this.callBase(e,t,i)},_getAppointmentContainer:function(e){var t=this.option("allDayContainer"),n=this.itemsContainer().not(t);return e&&t&&(n=t),n},_postprocessRenderItem:function(e){this._renderAppointment(e.itemElement,this._currentAppointmentSettings),delete this._currentAppointmentSettings},_renderAppointment:function(e,t){this._applyResourceDataAttr(e);var n=this._getItemData(e),i=this._renderingStrategy.getAppointmentGeometry(t),a=!t.isCompact&&this.option("allowResize")&&(!s.isDefined(t.skipResizing)||s.isString(t.skipResizing)),r=this.option("allowDrag"),l=this._renderingStrategy.isAllDay(n),c="vertical"!==this.option("renderingStrategy")||l?"horizontal":"vertical";this._createComponent(e,u,{observer:this.option("observer"),data:n,geometry:i,direction:c,allowResize:a,allowDrag:r,allDay:l,reduced:t.appointmentReduced,isCompact:t.isCompact,sortedIndex:t.sortedIndex,cellWidth:this._cellWidth,cellHeight:this._cellHeight,resizableConfig:this._resizableConfig(n,t)});var d=this._paintAppointment(e,t.groupIndex);t.virtual&&d.done(o.proxy(function(i){this._processVirtualAppointment(t,e,n,i)},this)),this._renderDraggable(e)},_applyResourceDataAttr:function(e){this.notifyObserver("getResourcesFromItem",{itemData:this._getItemData(e),callback:function(t){t&&o.each(t,function(t,n){for(var i="data-"+t.toLowerCase()+"-",o=0;o<n.length;o++)e.attr(i+s.normalizeKey(n[o]),!0)})}})},_resizableConfig:function(e,t){return{area:this._calculateResizableArea(t,e),onResizeStart:o.proxy(function(e){this._$currentAppointment=o(e.element),this._initialSize={width:e.width,height:e.height},this._initialCoordinates=a.locate(e.element)},this),onResizeEnd:o.proxy(function(e){return this._escPressed?void(e.jQueryEvent.cancel=!0):void this._resizeEndHandler(e)},this)}},_calculateResizableArea:function(e,t){var n=this.element().closest(".dx-scrollable-content"),i=this._renderingStrategy.isAllDay(t);return this.notifyObserver("getResizableAppointmentArea",{coordinates:{left:e.left,top:0},allDay:i,callback:function(e){e&&(n=e)}}),n},_resizeEndHandler:function(e){var t=this._getItemData(e.element),n=this._getStartDate(t),i=this._getEndDate(t),a=this._getDateRange(e,n,i),r={};this.invoke("setField","startDate",r,new Date(a[0])),this.invoke("setField","endDate",r,new Date(a[1]));var s=o.extend({},t,r);this.notifyObserver("updateAppointmentAfterResize",{target:t,data:s,$appointment:e.element})},_getDateRange:function(e,t,n){var i=this._getItemData(e.element),o=this._renderingStrategy.getDeltaTime(e,this._initialSize,i),a=this.option("renderingStrategy"),r=!1;r="vertical"!==a||this._renderingStrategy.isAllDay(i)?this.option("rtlEnabled")?e.handles.right:e.handles.left:e.handles.top;var s=r?t.getTime()-o:t.getTime(),l=r?n.getTime():n.getTime()+o;return[s,l]},_paintAppointment:function(e,t){var n=o.Deferred();return this.notifyObserver("getAppointmentColor",{itemData:this._getItemData(e),groupIndex:t,callback:function(t){t.done(function(t){t&&e.css("background-color",t),n.resolve(t)})}}),n.promise()},_renderDraggable:function(e){if(this.option("allowDrag")){var t,n=this,i=n._getItemData(e),r=this._renderingStrategy.isAllDay(i),s=this.option("fixedContainer");this.notifyObserver("getDraggableAppointmentArea",{callback:function(e){e&&(t=e)}}),this._createComponent(e,b,{area:t,boundOffset:n._calculateBoundOffset(),onDragStart:function(t){var i=t.jQueryEvent;n._skipDraggableRestriction(i),n.notifyObserver("hideAppointmentTooltip"),n.notifyObserver("getDragEventTargetElements",{callback:function(e){e&&(i.targetElements=e)}}),s.append(e),n._$currentAppointment=o(t.element),n._initialSize={width:t.width,height:t.height},n._initialCoordinates=a.locate(t.element)},onDrag:function(t){var i=a.locate(t.element);n.notifyObserver("correctAppointmentCoordinates",{coordinates:i,allDay:r,callback:function(e){e&&(i=e)}}),a.move(e,i)},onDragEnd:function(t){var i=n._getAppointmentContainer(r);return i.append(e),this._escPressed?void(t.jQueryEvent.cancel=!0):void n._dragEndHandler(t)}})}},_calculateBoundOffset:function(){var e={top:0};return this.notifyObserver("getBoundOffset",{callback:function(t){e=t}}),e},_skipDraggableRestriction:function(e){this.option("rtlEnabled")?e.maxLeftOffset=null:e.maxRightOffset=null,e.maxBottomOffset=null},_dragEndHandler:function(e){var t=this._getItemData(e.element),n=this._initialCoordinates;this._normalizeAppointmentDates(t),this.notifyObserver("updateAppointmentAfterDrag",{data:t,$appointment:e.element,coordinates:n})},_virtualAppointments:{},_processVirtualAppointment:function(e,t,n,i){var o=e.virtual,a=o.index;s.isDefined(this._virtualAppointments[a])||(this._virtualAppointments[a]={coordinates:{top:o.top,left:o.left},items:{data:[],colors:[]},isAllDay:o.isAllDay,buttonColor:i}),this._virtualAppointments[a].items.data.push(n),this._virtualAppointments[a].items.colors.push(i),t.remove()},_renderContentImpl:function(){this.callBase(),this._renderDropDownAppointments()},_renderDropDownAppointments:function(){var e=this._renderingStrategy.getCompactAppointmentGroupMaxWidth(),t=0,n=this;this.option("rtlEnabled")&&(t=e),o.each(this._virtualAppointments,o.proxy(function(i,o){var a=this._virtualAppointments[i],r=a.items,s=a.coordinates,l=a.isAllDay?this.option("allDayContainer"):this.element(),c=s.left;this.notifyObserver("renderDropDownAppointments",{$container:l,coordinates:{top:s.top,left:c+t},items:r,buttonColor:a.buttonColor,itemTemplate:this.option("itemTemplate"),buttonWidth:e,onAppointmentClick:function(e){var t=n._mapAppointmentFields(e);n._itemJQueryEventHandler(e.jQueryEvent,"onItemClick",t)}})},this))},_sortAppointmentsByStartDate:function(e){e.sort(o.proxy(function(e,t){var n=0,i=r.makeDate(this.invoke("getField","startDate",e)).getTime(),o=r.makeDate(this.invoke("getField","startDate",t)).getTime();return o>i&&(n=-1),i>o&&(n=1),n},this))},_processRecurrenceAppointment:function(e,t,n){var i=this.invoke("getField","recurrenceRule",e),o={parts:[],indexes:[]};if(i){for(var a=r.makeDate(this.invoke("getField","startDate",e)),s=r.makeDate(this.invoke("getField","endDate",e)),c=s.getTime()-a.getTime(),d=this.invoke("getField","recurrenceException",e),u=this.invoke("getStartViewDate"),h=this.invoke("getEndViewDate"),p=l.getDatesByRecurrence(i,a,u,h,d),f=p.length,_=0;f>_;_++){var g=this._applyStartDateToObj(p[_],{appointmentData:e});o.parts.push(g),this._applyEndDateToObj(new Date(p[_].getTime()+c),g),n||this._processLongAppointment(g,o)}o.indexes.push(t)}return o},_processLongAppointment:function(e,t){var n=this.splitAppointmentByDay(e),i=n.length,o=this.invoke("getEndViewDate").getTime(),a=this.invoke("getStartViewDate").getTime(),r=this.invoke("getField","startDateTimeZone",e);if(t=t||{parts:[]},i>1)for(var s=1;i>s;s++){var l=this.invoke("getField","startDate",n[s]).getTime();l=this.invoke("convertDateByTimezone",l,r),o>l&&l>a&&t.parts.push(n[s])}return t},_reduceRecurrenceAppointments:function(e,t){o.each(e,function(e,n){t.splice(n-e,1)})},_combineAppointments:function(e,t){t.length&&o.merge(e,t),this._sortAppointmentsByStartDate(e),o.each(e,function(t,n){n.appointmentData&&(e[t]=n.appointmentData)})},_applyStartDateToObj:function(e,t){return t.appointmentData.appointmentData&&(t=t.appointmentData),this.invoke("setField","startDate",t,e),t},_applyEndDateToObj:function(e,t){return t.appointmentData.appointmentData&&(t=t.appointmentData),this.invoke("setField","endDate",t,e),t},updateDraggablesBoundOffsets:function(){this.option("allowDrag")&&this.element().find("."+k).each(o.proxy(function(e,t){var n=o(t),i=this._getItemData(n);this._renderingStrategy.isAllDay(i)||b.getInstance(n).option("boundOffset",this._calculateBoundOffset())},this))},moveAppointmentBack:function(){var e=this._$currentAppointment,t=this._initialSize,n=this._initialCoordinates;e&&(n&&(a.move(e,n),delete this._initialSize),t&&(e.outerWidth(t.width),e.outerHeight(t.height),delete this._initialCoordinates))},focus:function(){var e=this._$currentAppointment;e&&(this.option("focusedElement",e),this.option("focusedElement").focus())},splitAppointmentByDay:function(e){var t=r.makeDate(this.invoke("getField","startDate",e)),n=r.makeDate(this.invoke("getField","endDate",e)),i=this.invoke("getField","startDateTimeZone",e);t=this.invoke("convertDateByTimezone",t,i);var o=[this._applyStartDateToObj(new Date(t),{appointmentData:e})],a=t.getDate();for(t.setHours(t.getHours()+1);t.getTime()<n.getTime()-1;)a!==t.getDate()&&o.push(this._applyStartDateToObj(new Date(t),{appointmentData:e})),a=t.getDate(),t.setHours(t.getHours()+1);return o}}).include(d);c("dxSchedulerAppointments",I),i.exports=I}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(12),r=n(237),s=r.inherit({ctor:function(e){this.instance=e},getAppointmentDefaultSize:o.noop,getDeltaTime:o.noop,getAppointmentGeometry:function(e){return e},createTaskPositionMap:function(e){if(e.length){var t=this.instance.invoke("getAgendaVerticalStepHeight"),n=this.instance.invoke("groupAppointmentsByResources",e),i=[];o.each(n,function(e,t){var n=[],a=[];o.each(t,function(e,t){var i=this.instance._processRecurrenceAppointment(t,e),o=null;i.indexes.length||(o={parts:[]},o=this.instance._processLongAppointment(t),n=n.concat(o.parts)),n=n.concat(i.parts),a=a.concat(i.indexes)}.bind(this)),this.instance._reduceRecurrenceAppointments(a,t),this.instance._combineAppointments(t,n),i=i.concat(t)}.bind(this)),Array.prototype.splice.apply(e,[0,e.length].concat(i))}var a=[],r=0;return e.forEach(function(e,i,o){a.push([{height:t,width:"100%",sortedIndex:r++,groupIndex:this._calculateGroupIndex(i,n),appointmentReduced:this._calculateIfApptReduced(e)}])}.bind(this)),a},_calculateIfApptReduced:function(e){var t=!!this.instance.invoke("getField","recurrenceRule",e),n=!1;return this.instance.invoke("appointmentTakesSeveralDays",e)&&!t&&(n="head"),n},_calculateGroupIndex:function(e,t){var n,i=0;for(var o in t){var a=t[o].length;if(e>=i&&i+a>e){n=Number(o);break}i+=a}return n},_getDeltaWidth:o.noop,_correctRtlCoordinatesParts:o.noop,_getAppointmentMaxWidth:function(){return this._defaultWidth},_needVerifyItemSize:function(){return!1},_isRtl:function(){return this.instance.option("rtlEnabled")},_getMultiWeekAppointmentParts:o.noop,_reduceMultiWeekAppointment:o.noop,calculateAppointmentHeight:function(){return 0},calculateAppointmentWidth:function(){return 0},isAppointmentGreaterThan:o.noop,isAllDay:function(){return!1},_sortCondition:o.noop,_rowCondition:o.noop,_columnCondition:o.noop,_findIndexByKey:o.noop,_getMaxNeighborAppointmentCount:o.noop,_markAppointmentAsVirtual:o.noop,getCompactAppointmentGroupMaxWidth:o.noop,getDefaultCellWidth:function(){return this._defaultWidth},getCompactAppointmentDefaultSize:o.noop,getCompactAppointmentDefaultOffset:o.noop,calculateRows:function(e,t,n){this._rows=[];var i={indexes:[],parts:[]},r=this.instance.invoke("groupAppointmentsByResources",e);return n=a.trimTime(a.makeDate(n)),o.each(r,function(e,a){var r=[];if(!a.length)return this._rows.push([]),!0;o.each(a,function(e,t){var n=this.instance._processRecurrenceAppointment(t,e,!0);i.parts=i.parts.concat(n.parts),i.indexes=i.indexes.concat(n.indexes)}.bind(this)),this.instance._reduceRecurrenceAppointments(i.indexes,a),o.merge(a,i.parts);for(var s=a.length,l=0;t>l;l++){var c=new Date(n.getTime()+864e5*l);void 0===r[l]&&(r[l]=0);for(var d=0;s>d;d++)this.instance.invoke("dayHasAppointment",c,a[d],!0)&&(r[l]+=1)}this._rows.push(r)}.bind(this)),this._rows},_iterateRow:function(e,t,n){for(var i=0;i<e.length;i++)if(t.counter=t.counter+e[i],t.counter>=n){t.indexInRow=i;break}},getDateByIndex:function(e,t,n){var i={counter:0,indexInRow:0};e++;for(var o=0;o<t.length&&(this._iterateRow(t[o],i,e),!i.indexInRow);o++);return new Date(new Date(n).setDate(n.getDate()+i.indexInRow))},getAppointmentDataCalculator:function(){return function(e,t){var n=e.index(),i=this.instance.invoke("getStartViewDate"),o=this.getDateByIndex(n,this._rows,i),a=new Date(t);return{startDate:new Date(o.setHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()))}}.bind(this)}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(323),r=.6,s=a.inherit({_getMultiWeekAppointmentParts:function(e,t,n,i){for(var a=e.sourceAppointmentWidth-e.reducedWidth,r=e.height,s=this._getFullWeekAppointmentWidth(i),l=this._getMaxAppointmentWidth(n),c=Math.floor(a/s),d=a%s,u=[],h=e.reducedWidth+d,p=t.top+this._defaultHeight,f=this._calculateMultiWeekAppointmentLeftOffset(t.max,s),_=0;c>_&&!(h>l);_++)u.push(o.extend(!0,{},t,{top:p,left:f,height:r,width:s,appointmentReduced:"body"})),p+=this._defaultHeight,h+=s;return d&&(this._isRtl()&&(f+=s-d),u.push(o.extend(!0,{},t,{top:p,left:f,height:r,width:d,appointmentReduced:"tail"}))),u},_calculateMultiWeekAppointmentLeftOffset:function(e,t){return this._isRtl()?e:e-t},_correctRtlCoordinatesParts:o.noop,_getFullWeekAppointmentWidth:function(e){return this.instance.notifyObserver("getFullWeekAppointmentWidth",{groupIndex:e,callback:o.proxy(function(e){this._maxFullWeekAppointmentWidth=e},this)}),this._maxFullWeekAppointmentWidth},_getCompactLeftCoordinate:function(e,t){var n=this._defaultWidth||this.getAppointmentDefaultSize();return e+n*t},_checkLongCompactAppointment:function(e,t){return this._splitLongCompactAppointment(e,t),t},_customizeAppointmentGeometry:function(e){var t,n,i=this._defaultHeight||this.getAppointmentDefaultSize(),o=e.index,a=r*i/2,s=(1-r)*i+e.top+o*a,l=e.width,c=e.left;return e.isCompact&&(t=this.getCompactAppointmentDefaultSize(),n=this.getCompactAppointmentDefaultOffset(),s=e.top+n,c=e.left+(o-2)*(t+n)+n,a=t,l=t,this._markAppointmentAsVirtual(e)),{height:a,width:l,top:s,left:c}},_getSortedPositions:function(e){return this.callBase(e,!0)}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(237),a=n(12),r=15,s=o.inherit({getDeltaTime:function(e,t,n){var i=0;if(this.isAllDay(n))i=24*this._getDeltaWidth(e,t)*60*6e4;else{var o=e.height-t.height;0>o&&(o=this._correctOnePxGap(o)),i=6e4*o/this._defaultHeight*this.instance.option("appointmentDurationInMinutes")}return i},getAppointmentGeometry:function(e){var t,n=e.allDay;return t=n?this._getAllDayAppointmentGeometry(e):this._getSimpleAppointmentGeometry(e),this.callBase(t)},_correctOnePxGap:function(e){return Math.abs(e)%this._defaultHeight&&e--,e},_getMinuteHeight:function(){return this._defaultHeight/this.instance.option("appointmentDurationInMinutes")},_getCompactLeftCoordinate:function(e,t){var n=1,i=this._defaultWidth||this.getAppointmentDefaultSize();return e+(n+i)*t},_checkLongCompactAppointment:function(e,t){return e.allDay&&this._splitLongCompactAppointment(e,t),t},_getAllDayAppointmentGeometry:function(e){var t=this._allDayHeight||this.getAppointmentDefaultSize(),n=e.index,i=e.count,o=t/(i>3?3:i),a=e.width,r=e.top+n*o,s=e.left,l=this.getCompactAppointmentDefaultSize(),c=this.getCompactAppointmentDefaultOffset();return this.instance.option("allowResize")&&this.instance.option("allowAllDayResize")||(e.skipResizing=!0),i>2&&(e.isCompact?(r=e.top+c,s=e.left+(n-2)*(l+c)+c,o=l,a=l,this._markAppointmentAsVirtual(e,!0)):r+=o),{height:o,width:a,top:r,left:s}},_getSimpleAppointmentGeometry:function(e){var t=this._getAppointmentMaxWidth()/e.count,n=e.height,i=e.top,o=e.left+e.index*t;return{height:n,width:t,top:i,left:o}},isAllDay:function(e){var t=!1,n=this.instance.invoke("getField","startDate",e),i=this.instance.invoke("getField","endDate",e),o=this.instance.invoke("getField","allDay",e);return this.instance.notifyObserver("appointmentTakesAllDay",{startDate:n,endDate:i,callback:function(e){t=e}}),o||t},_getAppointmentMaxWidth:function(){return this._defaultWidth-r||this.getAppointmentDefaultSize()},calculateAppointmentWidth:function(e){if(!this.isAllDay(e))return 0;var t=new Date(this._startDate(e)),n=this._endDate(e),i=this._defaultWidth||this.getAppointmentDefaultSize();t=a.trimTime(t);var o=(n.getTime()-t.getTime())/36e5,r=Math.ceil(o/24)*i;return r},calculateAppointmentHeight:function(e){if(this.isAllDay(e))return 0;var t=this._startDate(e),n=this._endDate(e),i=(n.getTime()-t.getTime())/6e4,o=this.getAppointmentDefaultSize(),a=Math.round(i*this._getMinuteHeight());return o>a&&(a=o),a},_sortCondition:function(e,t){var n=e.allDay-t.allDay,i=n?n:this._rowCondition(e,t);return this._fixUnstableSorting(i,e,t)}});i.exports=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(29).camelize,s=n(3),l=n(18),c=n(113),d=n(488),u=n(127),h=n(156),p=n(10),f=n(8),_="dx-scheduler-header",g="dx-scheduler-view-switcher",m="dx-scheduler-view-switcher-label",v={day:"day",week:"week",workWeek:"workWeek",month:"month",timelineDay:"day",timelineWeek:"week",timelineWorkWeek:"workWeek",timelineMonth:"month",agenda:"agenda"},x=["day","week","workWeek","month","timelineDay","timelineWeek","timelineWorkWeek","timelineMonth","agenda"],w=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{views:[],currentView:"day",firstDayOfWeek:void 0,currentDate:new Date,min:void 0,max:void 0,useDropDownViewSwitcher:!1})},_optionChanged:function(e){var t=e.value;switch(e.name){case"views":var n=this.option("currentView");this._viewSwitcher.option({items:t,selectedItem:n});break;case"currentView":this._viewSwitcher.option("selectedItem",t),this._navigator.option("step",v[t]),this._changeViewSwitcherLabelText();break;case"currentDate":this._navigator.option("date",t);break;case"min":case"max":case"firstDayOfWeek":this._navigator.option(e.name,t);break;case"tabIndex":case"focusStateEnabled":this._viewSwitcher.option(e.name,t),this._navigator.option(e.name,t),this.callBase(e);break;case"useDropDownViewSwitcher":this._refreshViewSwitcher();break;default:this.callBase(e)}},_init:function(){this.callBase(),this.element().addClass(_)},_render:function(){this.callBase(),this._renderNavigator(),this._renderViewSwitcher()},_renderNavigator:function(){this._navigator=this._createComponent("<div>",d,{min:this.option("min"),max:this.option("max"),date:this.option("currentDate"),step:v[this.option("currentView")],firstDayOfWeek:this.option("firstDayOfWeek"),tabIndex:this.option("tabIndex"),focusStateEnabled:this.option("focusStateEnabled"),observer:this.option("observer")}),this._navigator.element().appendTo(this.element())},_renderViewSwitcher:function(){this._validateViews();var e=o("<div>").addClass(g).appendTo(this.element());this.option("useDropDownViewSwitcher")?this._renderViewSwitcherDropDownMenu(e):this._renderViewSwitcherTabs(e)},_validateViews:function(){var e=this.option("views");o.each(e,function(e,t){-1===o.inArray(t,x)&&p.log("W0008",t)})},_renderViewSwitcherTabs:function(e){this._viewSwitcher=this._createComponent(e,h,{selectionRequired:!0,scrollingEnabled:!0,onSelectionChanged:o.proxy(this._updateCurrentView,this),items:this.option("views"),itemTemplate:function(e){return o("<span>").addClass("dx-tab-text").text(f.format("dxScheduler-switcher"+r(e,!0)))},selectedItem:this.option("currentView"),tabIndex:this.option("tabIndex"),focusStateEnabled:this.option("focusStateEnabled")})},_refreshViewSwitcher:function(){this._viewSwitcher._dispose(),this._viewSwitcher.element().remove(),delete this._viewSwitcher,this._removeViewSwitcherLabel(),this._renderViewSwitcher()},_removeViewSwitcherLabel:function(){a.isDefined(this._$viewSwitcherLabel)&&(this._$viewSwitcherLabel.detach(),this._$viewSwitcherLabel.remove(),delete this._$viewSwitcherLabel)},_renderViewSwitcherDropDownMenu:function(e){this._$viewSwitcherLabel=o("<div>").addClass(m).appendTo(this.element()),this._changeViewSwitcherLabelText(),this._viewSwitcher=this._createComponent(e,u,{onItemClick:o.proxy(this._updateCurrentView,this),items:this.option("views"),itemTemplate:function(e){return o("<span>").addClass("dx-dropdownmenu-item-text").text(f.format("dxScheduler-switcher"+r(e,!0)))}})},_changeViewSwitcherLabelText:function(){if(a.isDefined(this._$viewSwitcherLabel)){var e=f.format("dxScheduler-switcher"+r(this.option("currentView"),!0));this._$viewSwitcherLabel.text(e)}},_updateCurrentView:function(e){var t=e.itemData||e.component.option("selectedItem");this.notifyObserver("currentViewUpdated",t)},_renderFocusTarget:o.noop}).include(c);s("dxSchedulerHeader",w),i.exports=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(15),r=n(19),s=n(222),l=n(128),c=n(11),d=n(12),u=n(2),h=n(6),p=n(3),f=n(8),_=n(14),g=n(18),m=n(491),v=n(100),x=n(186),w=n(187),y=n(480),b=n(486),C=n(497),k=n(326),S=n(499),T=n(498),I=n(492),D=n(324),E=n(494),A=n(493),B=n(476),M=n(490),O=n(479),P=n(482),R=n(481),V=n(325),F=n(111),L=n(475),H=n(478),z=n(54),N="dx-scheduler",W="dx-scheduler-small",G="dx-scheduler-readonly",$="dx-scheduler-appointment-popup",q="dx-scheduler-recurrence-rule-item",j="dx-scheduler-recurrence-rule-item-opened",U=400,K=610,Y={day:{workSpace:C,renderingStrategy:"vertical"},week:{workSpace:k,renderingStrategy:"vertical"},workWeek:{workSpace:S,renderingStrategy:"vertical"},month:{workSpace:T,renderingStrategy:"horizontalMonth"},timelineDay:{workSpace:I,renderingStrategy:"horizontal"},timelineWeek:{workSpace:D,renderingStrategy:"horizontal"},timelineWorkWeek:{workSpace:E,renderingStrategy:"horizontal"},timelineMonth:{workSpace:A,renderingStrategy:"horizontalMonthLine"},agenda:{workSpace:B,renderingStrategy:"agenda"}},X=g.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{views:["day","week"],currentView:"day",currentDate:d.trimTime(new Date),min:void 0,max:void 0,firstDayOfWeek:void 0,groups:[],resources:[],dataSource:null,appointmentTemplate:"item",startDayHour:0,endDayHour:24,editing:{allowAdding:!0,allowDeleting:!0,allowDragging:!0,allowResizing:!0,allowUpdating:!0},showAllDayPanel:!0,recurrenceEditMode:"dialog",cellDuration:30,onAppointmentRendered:null,onAppointmentClick:null,onAppointmentDblClick:null,onCellClick:null,onAppointmentAdding:null,onAppointmentAdded:null,onAppointmentUpdating:null,onAppointmentUpdated:null,onAppointmentDeleting:null,onAppointmentDeleted:null,onAppointmentFormCreated:null,appointmentTooltipTemplate:"appointmentTooltip",appointmentPopupTemplate:"appointmentPopup",crossScrollingEnabled:!1,useDropDownViewSwitcher:!1,startDateExpr:"startDate",endDateExpr:"endDate",textExpr:"text",descriptionExpr:"description",allDayExpr:"allDay",recurrenceRuleExpr:"recurrenceRule",recurrenceExceptionExpr:"recurrenceException",remoteFiltering:!1,timeZone:"",startDateTimeZoneExpr:"startDateTimeZone",endDateTimeZoneExpr:"endDateTimeZone",noDataText:f.format("dxCollectionWidget-noDataText"),allowMultipleCellSelection:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"===h.real().deviceType&&!h.isSimulator()},options:{focusStateEnabled:!0}},{device:function(e){return!h.current().generic},options:{useDropDownViewSwitcher:!0,editing:{allowDragging:!1,allowResizing:!1}}}])},_setDeprecatedOptions:function(){this.callBase(),o.extend(this._deprecatedOptions,{horizontalScrollingEnabled:{since:"16.1",alias:"crossScrollingEnabled"}})},_optionChanged:function(e){var t=e.value,n=e.name;switch(e.name){case"firstDayOfWeek":this._workSpace.option(n,t),this._header.option(n,t);break;case"currentDate":t=d.trimTime(d.makeDate(t)),this._workSpace.option(n,t),this._header.option(n,t),this._appointments.option("items",[]),this._filterAppointmentsByDate(),this._reloadDataSource();break;case"dataSource":this._initDataSource(),this._customizeStoreLoadOptions(),this._appointmentModel.setDataSource(this._dataSource),this._loadResources().done(o.proxy(function(e){this._filterAppointmentsByDate(),this._workSpace.option("showAllDayPanel",this.option("showAllDayPanel")),this._reloadDataSource()},this));break;case"min":case"max":this._header.option(n,d.makeDate(t)),this._workSpace.option(n,d.makeDate(t));break;case"views":case"useDropDownViewSwitcher":this._header.option(n,t);break;case"currentView":this._appointments.option({items:[],allowDrag:this._allowDragging(),allowResize:this._allowResizing()}),this._header.option(n,t),this._loadResources().done(o.proxy(function(e){this._appointments.option("renderingStrategy",this._getAppointmentsRenderingStrategy()),this._refreshWorkSpace(e),this._filterAppointmentsByDate(),this._appointments.option("allowAllDayResize","day"!==t),this._reloadDataSource()},this));break;case"appointmentTemplate":this._appointments.option("itemTemplate",t);break;case"groups":this._loadResources().done(o.proxy(function(e){this._workSpace.option(n,e),this._filterAppointmentsByDate(),this._reloadDataSource()},this));break;case"resources":this._resourcesManager.setResources(this.option("resources")),this._appointmentModel.setDataAccessors(this._combineDataAccessors()),this._loadResources().done(o.proxy(function(e){this._workSpace.option("groups",e),this._filterAppointmentsByDate(),this._reloadDataSource()},this));break;case"startDayHour":case"endDayHour":this._appointments.option("items",[]),this._workSpace.option(n,t),this._appointments.option("dayDuration",this._getDayDuration()),this._filterAppointmentsByDate(),this._reloadDataSource();break;case"onAppointmentAdding":case"onAppointmentAdded":case"onAppointmentUpdating":case"onAppointmentUpdated":case"onAppointmentDeleting":case"onAppointmentDeleted":case"onAppointmentFormCreated":this._actions[n]=this._createActionByOption(n);break;case"onAppointmentRendered":this._appointments.option("onItemRendered",this._getAppointmentRenderedAction());break;case"onAppointmentClick":this._appointments.option("onItemClick",this._createActionByOption(n));break;case"onAppointmentDblClick":this._appointments.option(n,this._createActionByOption(n));break;case"noDataText":case"allowMultipleCellSelection":case"accessKey":case"onCellClick":this._workSpace.option(n,t);break;case"crossScrollingEnabled":this._loadResources().done(o.proxy(function(e){this._refreshWorkSpace(e),this._appointments.repaint()},this));break;case"cellDuration":this._workSpace.option("hoursInterval",t/60),this._appointments.option("appointmentDurationInMinutes",t);break;case"tabIndex":case"focusStateEnabled":this._header.option(n,t),this._workSpace.option(n,t),this._appointments.option(n,t),this.callBase(e);break;case"width":this._header.option(n,t),this.option("crossScrollingEnabled")&&this._workSpace.option("width",t),this.callBase(e),this._dimensionChanged();break;case"height":this.callBase(e),this._dimensionChanged();break;case"editing":this._initEditing();var i=this._editing;this._bringEditingModeToAppointments(i),this._appointmentForm&&this._appointmentForm.option("readOnly",!this._editing.allowUpdating),this._hideTooltip();break;case"showAllDayPanel":this._loadResources().done(o.proxy(function(e){this._filterAppointmentsByDate(),this._workSpace.option("allDayExpanded",t),this._workSpace.option(n,t),this._reloadDataSource()},this));break;case"appointmentTooltipTemplate":case"appointmentPopupTemplate":case"recurrenceEditMode":case"remoteFiltering":case"timeZone":this._calculateTimezoneByOption(),this.repaint();break;case"startDateExpr":case"endDateExpr":case"startDateTimeZoneExpr":case"endDateTimeZoneExpr":case"textExpr":case"descriptionExpr":case"allDayExpr":case"recurrenceRuleExpr":case"recurrenceExceptionExpr":this._updateExpression(n,t),this._useDynamicTemplate()&&this._appointments.repaint();break;default:this.callBase(e)}},_bringEditingModeToAppointments:function(e){var t=this.option("currentView"),n={allowDelete:e.allowUpdating&&e.allowDeleting};"agenda"!==t&&(n.allowDrag=e.allowDragging,n.allowResize=e.allowResizing,n.allowAllDayResize=e.allowResizing&&"day"!==t),this._appointments.option(n),this._dropDownAppointments.repaintExisting(this.element())},_allowDragging:function(){return this._editing.allowDragging&&"agenda"!==this.option("currentView")},_allowResizing:function(){return this._editing.allowResizing&&"agenda"!==this.option("currentView")},_isAllDayExpanded:function(e){return this.option("showAllDayPanel")&&this._appointmentModel.hasAllDayAppointments(e,this.option("startDayHour"),this.option("endDayHour"))},_getTimezoneOffsetByOption:function(){return this._timezone},_calculateTimezoneByOption:function(){this._timezone=this._calculateTimezoneByValue(this.option("timeZone"))},_calculateTimezoneByValue:function(e){var t=e;if("string"==typeof e){var n=new Date;t=V.getTimezoneOffsetById(e,Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes()))}return t},_convertDatesByTimezoneBeforeSave:function(e){function t(e,t){if(void 0===n){if(!t)return e;n=i/36e5}e=d.makeDate(e);var o=e.getTime()+i,a=(e.getTime()-o)/36e5-n,r=0;if(t){var s=V.getTimezoneOffsetById(t,e);s!==n&&(r=36e5*s-i)}return new Date(e.getTime()+36e5*a-r)}var n=this._getTimezoneOffsetByOption(),i=this.fire("getClientTimezoneOffset");
return e[0].date=t(e[0].date,e[0].timeZone),e[1].date=t(e[1].date,e[1].timeZone),[e[0].date,e[1].date]},_filterAppointmentsByDate:function(){var e=this._workSpace.getDateRange();this._appointmentModel.filterByDate(e[0],e[1],this.option("remoteFiltering"))},_loadResources:function(){var e=this.option("groups"),t=o.Deferred();return this._resourcesManager.loadResources(e).done(o.proxy(function(e){this._loadedResources=e,t.resolve(e)},this)),t.promise()},_dataSourceLoadedCallback:o.Callbacks(),_reloadDataSource:function(){this._dataSource&&(this._dataSource.load().done(o.proxy(function(e){L.hide(),this._fireContentReadyAction()},this)).fail(function(){L.hide()}),this._dataSource.isLoading()&&L.show({container:this.element(),position:{of:this.element()}}))},_dimensionChanged:function(){"agenda"!==this.option("currentView")&&this._appointments&&this._appointments.repaint();var e=this.element().outerWidth();this.element().toggleClass(W,U>e),this._hideTooltip()},_visibilityChanged:function(e){e&&this._dimensionChanged()},_dataSourceOptions:function(){return{paginate:!1}},_init:function(){this.callBase(),this._initExpressions({startDate:this.option("startDateExpr"),endDate:this.option("endDateExpr"),startDateTimeZone:this.option("startDateTimeZoneExpr"),endDateTimeZone:this.option("endDateTimeZoneExpr"),allDay:this.option("allDayExpr"),text:this.option("textExpr"),description:this.option("descriptionExpr"),recurrenceRule:this.option("recurrenceRuleExpr"),recurrenceException:this.option("recurrenceExceptionExpr")}),this._initDataSource(),this._loadedResources=[],this._proxiedCustomizeStoreLoadOptionsHandler=o.proxy(this._customizeStoreLoadOptionsHandler,this),this._customizeStoreLoadOptions(),this.element().addClass(N),this._initEditing(),this._resourcesManager=new M(this.option("resources"));var e=this._combineDataAccessors();this._appointmentModel=new O(this._dataSource,{startDateExpr:this.option("startDateExpr"),endDateExpr:this.option("endDateExpr"),allDayExpr:this.option("allDayExpr"),recurrenceRuleExpr:this.option("recurrenceRuleExpr"),recurrenceExceptionExpr:this.option("recurrenceExceptionExpr")},e),this._initActions(),this._dropDownAppointments=new R,this._subscribes=m,this._calculateTimezoneByOption()},_combineDataAccessors:function(){var e=this._resourcesManager._dataAccessors,t=o.extend(!0,{},this._dataAccessors);return o.each(e,o.proxy(function(e,n){t[e].resources=n},this)),t},_renderContent:function(){this._renderContentImpl()},_dataSourceChangedHandler:function(e){var t=this.fire("prerenderFilter");this._workSpace.option("allDayExpanded",this._isAllDayExpanded(t)),this._appointments.option("renderingStrategy",this._getAppointmentsRenderingStrategy()),"agenda"===this.option("currentView")&&this._appointments._renderingStrategy.calculateRows(t,7,this.option("currentDate")),this._setAppointmentsData(t),"agenda"===this.option("currentView")&&(this._workSpace._renderView(),this._dataSourceLoadedCallback.fireWith(this,[e]))},_initExpressions:function(e){var t=n(16);this._dataAccessors||(this._dataAccessors={getter:{},setter:{}}),o.each(e,o.proxy(function(e,n){n?(this._dataAccessors.getter[e]=t.compileGetter(n),this._dataAccessors.setter[e]=t.compileSetter(n)):(delete this._dataAccessors.getter[e],delete this._dataAccessors.setter[e])},this))},_updateExpression:function(e,t){var n={};n[e.replace("Expr","")]=t,this._initExpressions(n)},_initEditing:function(){var e=this.option("editing");this._editing={allowAdding:!!e,allowUpdating:!!e,allowDeleting:!!e,allowResizing:!!e,allowDragging:!!e},u.isObject(e)&&(this._editing=o.extend(this._editing,e)),this._editing.allowDragging=this._editing.allowDragging&&this._editing.allowUpdating,this._editing.allowResizing=this._editing.allowResizing&&this._editing.allowUpdating,this.element().toggleClass(G,this._isReadOnly())},_isReadOnly:function(){var e=!0,t=this._editing;for(var n in t)t.hasOwnProperty(n)&&(e=e&&!t[n]);return e},_customizeStoreLoadOptions:function(){this._dataSource&&this._dataSource.on("customizeStoreLoadOptions",this._proxiedCustomizeStoreLoadOptionsHandler)},_dispose:function(){this._dataSource&&this._dataSource.off("customizeStoreLoadOptions",this._proxiedCustomizeStoreLoadOptionsHandler),this.callBase()},_customizeStoreLoadOptionsHandler:function(e){e.storeLoadOptions.dxScheduler={startDate:this.getStartViewDate(),endDate:this.getEndViewDate(),resources:this.option("resources")}},_initActions:function(){this._actions={onAppointmentAdding:this._createActionByOption("onAppointmentAdding"),onAppointmentAdded:this._createActionByOption("onAppointmentAdded"),onAppointmentUpdating:this._createActionByOption("onAppointmentUpdating"),onAppointmentUpdated:this._createActionByOption("onAppointmentUpdated"),onAppointmentDeleting:this._createActionByOption("onAppointmentDeleting"),onAppointmentDeleted:this._createActionByOption("onAppointmentDeleted"),onAppointmentFormCreated:this._createActionByOption("onAppointmentFormCreated")}},_getAppointmentRenderedAction:function(){return this._createActionByOption("onAppointmentRendered",{excludeValidators:["designMode","disabled","readOnly"]})},_renderFocusTarget:o.noop,_render:function(){this.callBase(),this._renderHeader(),this._appointments=this._createComponent("<div>",P,this._appointmentsConfig()),this._loadResources().done(o.proxy(function(e){this._renderWorkSpace(e);var t=this._workSpace.getFixedContainer(),n=this._workSpace.getAllDayContainer();this._appointments.option({fixedContainer:t,allDayContainer:n}),this._filterAppointmentsByDate(),this._reloadDataSource()},this))},_setAppointmentsData:function(e){if(e){var t={items:e};this._useDynamicTemplate(e)&&"item"===this.option("appointmentTemplate")?t.itemTemplate="item":t.itemTemplate=this._getTemplateByOption("appointmentTemplate"),this._appointments.option(t)}},_renderHeader:function(){var e=o("<div>").appendTo(this.element());this._header=this._createComponent(e,b,this._headerConfig())},_headerConfig:function(){return{observer:this,min:d.makeDate(this.option("min")),max:d.makeDate(this.option("max")),views:this.option("views"),firstDayOfWeek:this.option("firstDayOfWeek"),currentView:this.option("currentView"),currentDate:d.trimTime(d.makeDate(this.option("currentDate"))),tabIndex:this.option("tabIndex"),focusStateEnabled:this.option("focusStateEnabled"),width:this.option("width"),rtlEnabled:this.option("rtlEnabled"),useDropDownViewSwitcher:this.option("useDropDownViewSwitcher")}},_useDynamicTemplate:function(e){var t={startDateExpr:"startDate",endDateExpr:"endDate",textExpr:"text",recurrenceRuleExpr:"recurrenceRule",startDateTimeZoneExpr:"startDateTimeZone",endDateTimeZoneExpr:"endDateTimeZone"},n=!!this.option("timeZone");return n||o.each(t,o.proxy(function(e,t){return this.option(e)!==t?(n=!0,!1):void 0},this)),n||o.each(e||[],o.proxy(function(e,t){return this.fire("getField","startDateTimeZone",t)||this.fire("getField","endDateTimeZone",t)?(n=!0,!1):void 0},this)),n},_appointmentsConfig:function(){var e=this._editing,t=this,n={observer:this,renderingStrategy:this._getAppointmentsRenderingStrategy(),onItemRendered:this._getAppointmentRenderedAction(),onItemClick:this._createActionByOption("onAppointmentClick"),onAppointmentDblClick:this._createActionByOption("onAppointmentDblClick"),tabIndex:this.option("tabIndex"),focusStateEnabled:this.option("focusStateEnabled"),appointmentDurationInMinutes:this.option("cellDuration"),allowDrag:this._allowDragging(),allowDelete:this._editing.allowUpdating&&this._editing.allowDeleting,allowResize:this._allowResizing(),allowAllDayResize:e.allowResizing&&"day"!==this.option("currentView"),rtlEnabled:this.option("rtlEnabled"),onContentReady:function(){t._workSpace&&t._workSpace.option("allDayExpanded",t._isAllDayExpanded(t._appointments.option("items")))},dayDuration:this._getDayDuration()};return n},_getAppointmentsRenderingStrategy:function(){return Y[this.option("currentView")].renderingStrategy},_getDayDuration:function(){return this.option("endDayHour")-this.option("startDayHour")},_renderWorkSpace:function(e){this._workSpace=this._createComponent("<div>",Y[this.option("currentView")].workSpace,this._workSpaceConfig(e)),this._workSpace.getWorkArea().append(this._appointments.element()),this.element().append(this._workSpace.element()),c.triggerShownEvent(this._workSpace.element())},_workSpaceConfig:function(e){return{observer:this,noDataText:this.option("noDataText"),min:d.makeDate(this.option("min")),max:d.makeDate(this.option("max")),currentDate:d.trimTime(d.makeDate(this.option("currentDate"))),firstDayOfWeek:this.option("firstDayOfWeek"),groups:e,startDayHour:this.option("startDayHour"),endDayHour:this.option("endDayHour"),tabIndex:this.option("tabIndex"),accessKey:this.option("accessKey"),focusStateEnabled:this.option("focusStateEnabled"),hoursInterval:this.option("cellDuration")/60,showAllDayPanel:this.option("showAllDayPanel"),allDayExpanded:this._isAllDayExpanded(this._appointments.option("items")),onCellClick:this._createActionByOption("onCellClick"),crossScrollingEnabled:this.option("crossScrollingEnabled"),allowMultipleCellSelection:this.option("allowMultipleCellSelection")}},_refreshWorkSpace:function(e){this._appointments.element().detach(),this._workSpace._dispose(),this._workSpace.element().remove(),delete this._workSpace,this._renderWorkSpace(e),this._appointments.option({fixedContainer:this._workSpace.getFixedContainer(),allDayContainer:this._workSpace.getAllDayContainer()})},getWorkSpaceScrollable:function(){return this._workSpace.getScrollable()},getWorkSpaceScrollableScrollTop:function(){return this._workSpace.getScrollableScrollTop()},getWorkSpaceScrollableScrollLeft:function(){return this._workSpace.getScrollableScrollLeft()},getWorkSpaceScrollableContainer:function(){return this._workSpace.getScrollableContainer()},getWorkSpaceAllDayHeight:function(){return this._workSpace.getAllDayHeight()},getWorkSpaceHeaderPanelHeight:function(){return this._workSpace.getHeaderPanelHeight()},getWorkSpaceDateTableOffset:function(){return!this.option("crossScrollingEnabled")||this.option("rtlEnabled")?this._workSpace.getTimePanelWidth():0},getWorkSpace:function(){return this._workSpace},getHeader:function(){return this._header},_createPopup:function(e,t){this._$popup&&this._popup.element().remove(),this._$popup=o("<div>").addClass($).appendTo(this.element()),this._initDynamicPopupTemplate(e,t),this._popup=this._createComponent(this._$popup,z,this._popupConfig(e))},_popupContent:function(e,t){var n=this._popup.content();return this._createAppointmentForm(e,n,t),n},_createAppointmentForm:function(e,t,n){var i=this.fire("getField","allDay",e),a=this.option("resources"),r=this.fire("getField","startDate",e),s=this.fire("getField","endDate",e);H.prepareAppointmentFormEditors(i,{textExpr:this.option("textExpr"),allDayExpr:this.option("allDayExpr"),startDateExpr:this.option("startDateExpr"),endDateExpr:this.option("endDateExpr"),descriptionExpr:this.option("descriptionExpr"),recurrenceRuleExpr:this.option("recurrenceRuleExpr"),startDateTimeZoneExpr:this.option("startDateTimeZoneExpr"),endDateTimeZoneExpr:this.option("endDateTimeZoneExpr")},this),a&&a.length&&(this._resourcesManager.setResources(this.option("resources")),H.concatResources(this._resourcesManager.getEditors())),o.each(this._resourcesManager.getResourcesFromItem(e,!0)||{},function(t,n){e[t]=n});var l=o.extend(!0,{},e);n&&(r=this.fire("convertDateByTimezone",r),s=this.fire("convertDateByTimezone",s),this.fire("setField","startDate",l,r),this.fire("setField","endDate",l,s)),this._appointmentForm=H.create(o.proxy(this._createComponent,this),t,this._editAppointmentData?!this._editing.allowUpdating:!1,l);var c=this.option("recurrenceRuleExpr"),d=c?this._appointmentForm.itemOption(c):null;if(d){var u=d.editorOptions||{};u.startDate=r,this._appointmentForm.itemOption(c,"editorOptions",u)}this._actions.onAppointmentFormCreated({form:this._appointmentForm,appointmentData:e})},_initDynamicPopupTemplate:function(e,t){var n=this;this._dynamicTemplates.appointmentPopup=new v(function(i,o,a){var r=n._popupContent(e,t);return a.append(r),a})},_popupConfig:function(e){var t=this._getTemplateByOption("appointmentPopupTemplate");return{_templates:this.option("_templates"),templateProvider:this.option("templateProvider"),width:K,onHiding:o.proxy(function(){this.focus()},this),contentTemplate:new x(function(n){return new w(t.render(e,n))}),defaultOptionsRules:[{device:function(e){return!h.current().generic},options:{fullScreen:!0}}]}},_getPopupToolbarItems:function(){return[{shortcut:"done",location:"after",onClick:o.proxy(this._doneButtonClickHandler,this)},{shortcut:"cancel",location:"after"}]},_doneButtonClickHandler:function(e){var t=this._appointmentForm.validate();if(e.cancel=!0,!t||t.isValid){this._saveChanges(e);var n=this.fire("getField","startDate",this._appointmentForm.option("formData"));this._workSpace.updateScrollPosition(n)}},_saveChanges:function(){var e,t=this._appointmentForm.option("formData"),n=this._editAppointmentData,i=this._updatedRecAppointment,o=this.fire("getField","startDate",t),a=this.fire("getField","endDate",t);n&&(o=this.fire("getField","startDate",t),a=this.fire("getField","endDate",t),e=this._convertDatesByTimezoneBeforeSave([{date:o},{date:a}]),this.fire("setField","startDate",t,e[0]),this.fire("setField","endDate",t,e[1])),n&&!i?this.updateAppointment(n,t):(i&&this.updateAppointment(n,i),delete this._updatedRecAppointment,this.addAppointment(t))},_checkRecurringAppointment:function(e,t,n,i,a,r){delete this._updatedRecAppointment;var s=this.fire("getField","recurrenceRule",e);if(!l.getRecurrenceRule(s).isValid||!this._editing.allowUpdating)return void i();var c=this.option("recurrenceEditMode");switch(c){case"series":i();break;case"occurrence":this._singleAppointmentChangesHandler(e,t,n,a,r);break;default:this._showRecurrenceChangeConfirm(a).done(o.proxy(function(o){o&&i(),!o&&this._singleAppointmentChangesHandler(e,t,n,a,r)},this)).fail(o.proxy(function(){this._appointments.moveAppointmentBack()},this))}},_singleAppointmentChangesHandler:function(e,t,n,i,a){this.fire("setField","recurrenceRule",t,""),this.fire("setField","recurrenceException",t,""),i||a||this.addAppointment(t);var r=this._getRecurrenceException(n,e),s=o.extend({},e,{recurrenceException:r});a?(this._updatedRecAppointment=s,this._showAppointmentPopup(t,!0),this._editAppointmentData=e):this._updateAppointment(e,s)},_getRecurrenceException:function(e,t){var n=this.getAppointmentsInstance()._getStartDate(t),i=this._getRecurrenceExceptionDate(e,n),o=this.fire("getField","recurrenceException",t);return o?o+","+i:i},_getRecurrenceExceptionDate:function(e,t){return e.setHours(t.getHours()),e.setMinutes(t.getMinutes()),e.setSeconds(t.getSeconds()),_.format(e,"yyyyMMddTHHmmss")},_showRecurrenceChangeConfirm:function(e){var t=f.format(e?"dxScheduler-confirmRecurrenceDeleteMessage":"dxScheduler-confirmRecurrenceEditMessage"),n=f.format(e?"dxScheduler-confirmRecurrenceDeleteSeries":"dxScheduler-confirmRecurrenceEditSeries"),i=f.format(e?"dxScheduler-confirmRecurrenceDeleteOccurrence":"dxScheduler-confirmRecurrenceEditOccurrence");return s.custom({message:t,showCloseButton:!0,showTitle:!0,toolbarItems:[{text:n,onClick:function(){return!0}},{text:i,onClick:function(){return!1}}]}).show()},_getUpdatedData:function(e){var t=e.data||e,n=this.getTargetCellData(),i=this.fire("getField","allDay",t),o=d.makeDate(this.fire("getField","startDate",t)),a=d.makeDate(this.fire("getField","endDate",t)),r=n.allDay,s=n.date||o,l=n.groups,c=a.getTime()-o.getTime(),u={};this.fire("setField","allDay",u,r),this.fire("setField","startDate",u,s);var h=new Date(s.getTime()+c);if(this.appointmentTakesAllDay(t)&&!u.allDay&&this._workSpace.supportAllDayRow()&&(h=this._workSpace.calculateEndDate(s)),i&&!this._workSpace.supportAllDayRow()){var p=new Date(s);p.setHours(0),h=new Date(p.getTime()+c),0!==h.getHours()&&h.setHours(this.option("endDayHour"))}this.fire("setField","endDate",u,h);for(var f in l)l.hasOwnProperty(f)&&(u[f]=l[f]);return u},_getCoordinates:function(e,t,n){for(var i=[],o=0;o<e.length;o++)i=i.concat(this._workSpace.getCoordinatesByDateInGroup(e[o],t,n));return i},_getSingleAppointmentData:function(e,t,n){var i,r=e,s=t.skipDateCalculation?{}:this._getUpdatedData(t),l=o.extend({},r,s),c=this.fire("getField","allDay",r),d=this._workSpace.supportAllDayRow()&&c,h=this.fire("getField","startDate",l),p=this.fire("getField","endDate",l),f=p.getTime()-h.getTime();if(u.isDefined(n)){var _=this._appointments._renderingStrategy.getAppointmentDataCalculator();if(o.isFunction(_))i=_(n,h).startDate;else{var g=a.locate(n);i=new Date(this._workSpace.getCellDataByCoordinates(g,d).startDate),i.setHours(h.getHours()),i.setMinutes(h.getMinutes())}}return i||(i=e.startDate),this.fire("setField","startDate",l,i),this.fire("setField","endDate",l,new Date(i.getTime()+f)),l},subscribe:function(e,t){this._subscribes[e]=m[e]=t},fire:function(e){var t=this._subscribes[e],n=Array.prototype.slice.call(arguments);if(!o.isFunction(t))throw r.Error("E1031",e);return t.apply(this,n.slice(1))},getTargetCellData:function(){return this._workSpace.getDataByDroppableCell()},showAppointmentTooltip:function(e,t,n){y.show(e,t,n,this)},_hideTooltip:function(){y.hide()},_updateAppointment:function(e,t,n){var i={newData:t,oldData:e,cancel:!1};this._actions.onAppointmentUpdating(i),this._processActionResult(i,function(i){i?o.isFunction(n)&&n.call(this):(this._expandAllDayPanel(t),this._appointmentModel.update(e,t).always(o.proxy(function(e){this._executeActionWhenOperationIsCompleted(this._actions.onAppointmentUpdated,t,e)},this)))})},_processActionResult:function(e,t){o.when(e.cancel).then(o.proxy(t,this))},_expandAllDayPanel:function(e){!this._isAllDayExpanded(this._appointments.option("items"))&&this.appointmentTakesAllDay(e)&&this._workSpace.option("allDayExpanded",!0)},_executeActionWhenOperationIsCompleted:function(e,t,n){var i={appointmentData:t},o=n&&"Error"===n.name;o?i.error=n:this._popup&&this._popup.option("visible")&&this._popup.hide(),e(i),this._fireContentReadyAction()},_showAppointmentPopup:function(e,t,n){this._createPopup(e,n);var i=[],o=!0;u.isDefined(t)&&!t||(i=this._getPopupToolbarItems(),o=this._popup.initialOption("showCloseButton")),this._popup.option({toolbarItems:i,showCloseButton:o}),this._popup.show()},getAppointmentPopup:function(){return this._popup},getAppointmentDetailsForm:function(){return this._appointmentForm},getAppointmentsInstance:function(){return this._appointments},getResourceManager:function(){return this._resourcesManager},getAppointmentResourceData:function(e,t){return this._resourcesManager.getResourceDataByValue(e,t)},getActions:function(){return this._actions},appointmentTakesAllDay:function(e){return this._appointmentModel.appointmentTakesAllDay(e,this.option("startDayHour"),this.option("endDayHour"))},recurrenceEditorVisibilityChanged:function(e){this._appointmentForm&&this._appointmentForm.element().find("."+q).toggleClass(j,e)},dayHasAppointment:function(e,t,n){var i=d.makeDate(this.fire("getField","startDate",t)),a=d.makeDate(this.fire("getField","endDate",t)),r=this.fire("getField","startDateTimeZone",t),s=this.fire("getField","endDateTimeZone",t);if(i=this.fire("convertDateByTimezone",i,r),a=this.fire("convertDateByTimezone",a,s),e.getTime()===a.getTime())return!1;n&&(e=d.trimTime(e),i=d.trimTime(i),a=d.trimTime(a));var l=e.getTime(),c=i.getTime(),u=a.getTime();return o.inArray(l,[c,u])>-1||l>c&&u>l},setTargetedAppointmentResources:function(e,t,n){if(this.option("groups")){var i,a,r=this._resourcesManager._dataAccessors.setter,s=this._workSpace;"agenda"===this.option("currentView")?(i=function(){var e=this.getAppointmentsInstance()._positionMap[n];return s._getCellGroups(e[0].groupIndex)},a=function(t,n){r[n.name](e,n.id)}):(i=function(){var e=t.position();return s.getCellDataByCoordinates(e).groups},a=function(t,n){r[t](e,n)}),o.each(i.call(this),a)}},getStartViewDate:function(){return this._workSpace.getStartViewDate()},getEndViewDate:function(){return this._workSpace.getEndViewDate()},showAppointmentPopup:function(e,t,n){var i,a=!n&&e.length?this._getSingleAppointmentData(e,e):n;i=n?this.fire("getField","startDate",n):this.fire("getField","startDate",e),this._checkRecurringAppointment(e,a,i,o.proxy(function(){var n=this._editing;t?(delete this._editAppointmentData,n.allowAdding&&this._showAppointmentPopup(e,!0,!1)):(this._editAppointmentData=e,this._showAppointmentPopup(e,n.allowUpdating,!0))},this),!1,!0)},scrollToTime:function(e,t,n){this._workSpace.scrollToTime(e,t,n)},addAppointment:function(e){var t=this.fire("getField","text",e);t||this.fire("setField","text",e,"");var n={appointmentData:e,cancel:!1};this._actions.onAppointmentAdding(n),this._processActionResult(n,function(t){t||(this._expandAllDayPanel(e),this._appointmentModel.add(e,{value:this._getTimezoneOffsetByOption(),clientOffset:this.fire("getClientTimezoneOffset")}).always(o.proxy(function(t){this._executeActionWhenOperationIsCompleted(this._actions.onAppointmentAdded,e,t)},this)))})},updateAppointment:function(e,t){this._updateAppointment(e,t)},deleteAppointment:function(e){var t={appointmentData:e,cancel:!1};this._actions.onAppointmentDeleting(t),this._processActionResult(t,function(t){t||this._appointmentModel.remove(e).always(o.proxy(function(t){this._executeActionWhenOperationIsCompleted(this._actions.onAppointmentDeleted,e,t)},this))})},focus:function(){this._editAppointmentData?this._appointments.focus():this._workSpace.focus()}}).include(F);p("dxScheduler",X),i.exports=X}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(19),r=n(12),s=n(3),l=n(6),c=n(18),d=n(25),u=n(213),h=n(93),p=n(54),f=n(113),_=n(14),g="dx-scheduler-navigator",m="dx-scheduler-navigator-calendar",v="dx-scheduler-navigator-next",x="dx-scheduler-navigator-caption",w="dx-scheduler-navigator-previous",y=1,b=function(e){return e?y:_.firstDayOfWeekIndex()},C=function(e,t,n){var i=r.getFirstWeekDate(e,this.option("firstDayOfWeek")||b(t)),o=this.option("_useShortDateFormat")?"d MMM yyyy":"d MMMM yyyy",a=2;n&&(i=r.normalizeDateByWeek(i,e)),this.option("firstDayOfWeek")>=6&&n&&i.setDate(i.getDate()+(7-this.option("firstDayOfWeek")+1));var s=new Date(i);return t=t||6,s=new Date(s.setDate(s.getDate()+t)),s.getDay()%6===0&&n&&s.setDate(s.getDate()+a),_.format(i,"d")+"-"+_.format(s,o)},k=function(e,t){return new Date(e[this.setter](e[this.getter]()+t))},S={day:{duration:1,setter:"setDate",getter:"getDate",getDate:k,getCaption:function(e){return _.format(e,"d MMMM yyyy")}},week:{duration:7,setter:"setDate",getter:"getDate",getDate:k,getCaption:C},workWeek:{duration:7,setter:"setDate",getter:"getDate",getDate:k,getCaption:function(e){return C.call(this,e,4,!0)}},month:{duration:1,setter:"setMonth",getter:"getMonth",getDate:function(e,t){var n=e.getDate();e.setDate(1),e=k.call(this,e,t);var i=r.getLastMonthDay(e);return e.setDate(i>n?n:i),e},getCaption:function(e){return _.format(e,"monthandyear")}},agenda:{duration:7,setter:"setDate",getter:"getDate",getDate:k,getCaption:function(e){var t=new Date(e),n=this.option("_useShortDateFormat")?"d MMM yyyy":"d MMMM yyyy";return t.setDate(t.getDate()+7),_.format(e,"d")+"-"+_.format(t,n)}}},T=c.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{date:new Date,step:"day",min:void 0,max:void 0,firstDayOfWeek:void 0,_useShortDateFormat:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return!l.real().generic||l.isSimulator()},options:{_useShortDateFormat:!0}}])},_optionChanged:function(e){switch(e.name){case"step":case"date":this._updateButtonsState(),this._renderCaption(),this._setCalendarOption("value",this.option("date"));break;case"min":case"max":this._updateButtonsState(),this._setCalendarOption(e.name,e.value);break;case"firstDayOfWeek":this._setCalendarOption(e.name,e.value);break;case"tabIndex":case"focusStateEnabled":this._next.option(e.name,e.value),this._caption.option(e.name,e.value),this._prev.option(e.name,e.value),this._setCalendarOption(e.name,e.value),this.callBase(e);break;case"_useShortDateFormat":break;default:this.callBase(e)}},_init:function(){this.callBase(),this.element().addClass(g),this._initButtons()},_initButtons:function(){var e=o("<div>").addClass(v);this._next=this._createComponent(e,d,{icon:"chevronnext",onClick:o.proxy(this._updateCurrentDate,this,1),focusStateEnabled:this.option("focusStateEnabled"),tabIndex:this.option("tabIndex"),_templates:{}});var t=o("<div>").addClass(x);this._caption=this._createComponent(t,d,{focusStateEnabled:this.option("focusStateEnabled"),tabIndex:this.option("tabIndex"),_templates:{}});var n=o("<div>").addClass(w);this._prev=this._createComponent(n,d,{icon:"chevronprev",onClick:o.proxy(this._updateCurrentDate,this,-1),focusStateEnabled:this.option("focusStateEnabled"),tabIndex:this.option("tabIndex"),_templates:{}}),this.setAria("label","Next period",e),this.setAria("label","Previous period",n),this._updateButtonsState(),this.element().append(n,t,e)},_updateButtonsState:function(){var e=this._getConfig(),t=this.option("date"),n=this.option("min"),i=this.option("max");this._prev.option("disabled",n&&t[e.getter]()===n[e.getter]()),this._next.option("disabled",i&&t[e.getter]()===i[e.getter]())},_updateCurrentDate:function(e){var t=this._getConfig(),n=t.duration*e,i=t.getDate(new Date(this.option("date")),n);i=r.normalizeDate(i,this.option("min"),this.option("max")),this.notifyObserver("currentDateUpdated",i)},_renderFocusTarget:o.noop,_render:function(){this.callBase(),this._renderPopover(),this._renderCaption(),this._renderCaptionKeys()},_renderPopover:function(){var e=l.current().generic?h:p;this._popover=this._createComponent("<div>",e,{onContentReady:o.proxy(this._popoverContentReadyHandler,this),defaultOptionsRules:[{device:function(e){return!l.current().generic},options:{fullScreen:!0,showCloseButton:!1,toolbarItems:[{shortcut:"cancel"}]}},{device:function(e){return l.current().generic},options:{target:this._caption.element()}}]}),this._popover.element().appendTo(this.element())},_popoverContentReadyHandler:function(){this._calendar=this._createComponent(o("<div>"),u,this._calendarOptions()),this._calendar.element().addClass(m),this._popover.content().append(this._calendar.element())},_calendarOptions:function(){return{min:this.option("min"),max:this.option("max"),firstDayOfWeek:this.option("firstDayOfWeek"),value:this.option("date"),focusStateEnabled:this.option("focusStateEnabled"),onValueChanged:o.proxy(function(e){this.option("visible")&&(this.notifyObserver("currentDateUpdated",e.value),this._popover.hide())},this),hasFocus:function(){return!0},tabIndex:null,_keyboardProcessor:this._calendarKeyboardProcessor}},_renderCaption:function(){var e=this.option("date"),t=this._getConfig().getCaption.call(this,e);this._caption.option({text:t,onClick:o.proxy(function(){this._popover.toggle()},this)})},_renderCaptionKeys:function(){if(this.option("focusStateEnabled")&&!this.option("disabled")){this._calendarKeyboardProcessor=this._caption._keyboardProcessor.attachChildProcessor(),this._setCalendarOption("_keyboardProcessor",this._calendarKeyboardProcessor);var e=this,t=function(){return e._popover.content().is(":hidden")?void e._popover.show():!0},n=function(){e._popover.hide()};this._caption.registerKeyHandler("enter",t),this._caption.registerKeyHandler("space",t),this._caption.registerKeyHandler("tab",n)}},_setCalendarOption:function(e,t){this._calendar&&this._calendar.option(e,t)},_getConfig:function(){var e=this.option("step"),t=S[e];if(!t)throw a.Error("E1033",e);return t}}).include(f);s("dxSchedulerNavigator",T),i.exports=T}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(33),s=n(3),l=n(128),c=n(11),d=n(2),u=n(31),h=n(109),p=n(263),f=n(264),_=n(87),g=n(114),m=n(160),v=n(113),x=n(8),w=n(14),y=n(12),b=n(9),C="dx-recurrence-editor",k="-label",S="dx-recurrence-editor-container",T="dx-recurrence-switch",I="dx-recurrence-switch-repeat-end",D="dx-recurrence-radiogroup-freq",E="dx-recurrence-numberbox-interval",A="dx-recurrence-interval-field",B="dx-recurrence-repeat-end",M="dx-recurrence-repeat-end-field",O="dx-recurrence-repeat-end-container",P="dx-recurrence-radiogroup-repeat-type",R="dx-recurrence-numberbox-repeat-count",V="dx-recurrence-datebox-until-date",F="dx-recurrence-repeat-on",L="dx-recurrence-repeat-on-week",H="dx-recurrence-checkbox-day-of-week",z="dx-recurrence-repeat-on-month",N="dx-recurrence-numberbox-day-of-month",W="dx-recurrence-repeat-on-year",G="dx-recurrence-selectbox-month-of-year",$="dx-field",q="dx-field-label",j="dx-field-value",U=[{text:function(){return x.format("dxScheduler-recurrenceDaily")},value:"DAILY"},{text:function(){return x.format("dxScheduler-recurrenceWeekly")},value:"WEEKLY"},{text:function(){return x.format("dxScheduler-recurrenceMonthly")},value:"MONTHLY"},{text:function(){return x.format("dxScheduler-recurrenceYearly")},value:"YEARLY"}],K=[{text:function(){return x.format("dxScheduler-recurrenceRepeatCount")},value:"count"},{text:function(){return x.format("dxScheduler-recurrenceRepeatOnDate")},value:"until"}],Y=["SU","MO","TU","WE","TH","FR","SA"],X=a.inherit({ctor:function(e){this._recurrenceRule=l.getRecurrenceRule(e).rule},makeRules:function(e){var t=this;t._recurrenceRule=l.getRecurrenceRule(e).rule},makeRule:function(e,t){return t?void(d.isDefined(e)&&("until"===e&&delete this._recurrenceRule.count,"count"===e&&delete this._recurrenceRule.until,this._recurrenceRule[e]=t)):void delete this._recurrenceRule[e]},repeatableRule:function(){var e=this._recurrenceRule;return"count"in e?"count":"until"in e?"until":null},recurrenceString:function(){return l.getRecurrenceString(this._recurrenceRule)},rules:function(){return this._recurrenceRule},daysFromByDayRule:function(){return l.daysFromByDayRule(this._recurrenceRule)}}),Q=u.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{value:null,onValueChanged:null,startDate:new Date})},_createComponent:function(e,t,n){return n=n||{},this._extendConfig(n,{readOnly:this.option("readOnly")}),this.callBase(e,t,n)},_init:function(){this.callBase(),this._recurrenceRule=new X(this.option("value"))},_render:function(){this.callBase(),this.element().addClass(C),this._renderSwitch(),this._$container=o("<div>").addClass(S).appendTo(this.element()),this._renderEditors(),this._renderContainerVisibility(!!this.option("value"))},_renderSwitch:function(){var e=o("<div>").addClass(T);this._switchEditor=this._createComponent(e,f,{value:!!this.option("value"),onValueChanged:o.proxy(this._switchValueChangeHandler,this)}),this.element().append(e)},_switchValueChangeHandler:function(e){var t=e.value;this._renderContainerVisibility(t),!this.option("value")&&t?this._handleDefaults():t||(this._recurrenceRule.makeRules(""),this.option("value",""))},_renderContainerVisibility:function(e){e?(this._$container.show(),this.notifyObserver("recurrenceEditorVisibilityChanged",{visible:!0}),c.triggerShownEvent(this._$container)):(this._$container.hide(),this.notifyObserver("recurrenceEditorVisibilityChanged",{visible:!1}))},_handleDefaults:function(){this._recurrenceRule.makeRule("freq","DAILY"),this._changeEditorValue()},_changeEditorValue:function(){this.option("value",this._recurrenceRule.recurrenceString()||"")},_renderEditors:function(){this._renderFreqEditor(),this._renderIntervalEditor(),this._renderRepeatOnEditor(),this._renderRepeatEndSwitch(),this._renderRepeatEndEditor(),this._renderRepeatEndVisibility(!!this._recurrenceRule.repeatableRule())},_renderFreqEditor:function(){var e=this._recurrenceRule.rules().freq||"DAILY",t=o("<div>").addClass(D).addClass(j);this._freqEditor=this._createComponent(t,p,{field:"freq",items:U,value:e,valueExpr:"value",displayExpr:"text",layout:"horizontal",onValueChanged:o.proxy(this._valueChangedHandler,this)});var n=o("<div>").addClass($).append(t);this._$container.append(n);
},_renderIntervalEditor:function(){var e=this._recurrenceRule.rules().freq||"DAILY",t=o("<div>").addClass(E).addClass(j),n=o("<div>").text(x.format("dxScheduler-recurrenceEvery")+":").addClass(E+k).addClass(q);this._$intervalTypeLabel=o("<div>").text(x.format("dxScheduler-recurrenceRepeat"+e.charAt(0).toUpperCase()+e.substr(1).toLowerCase())).addClass(P+k);var i=this._recurrenceRule.rules().interval||1;this._intervalEditor=this._createComponent(t,_,{field:"interval",min:1,value:i,showSpinButtons:!0,useTouchSpinButtons:!1,onValueChanged:o.proxy(this._valueChangedHandler,this)});var a=o("<div>").addClass($).addClass(A).append(n,t,this._$intervalTypeLabel);this._$container.append(a),this._setAriaDescribedBy(this._intervalEditor,n)},_renderRepeatOnEditor:function(){var e=this._recurrenceRule.rules().freq;return d.isDefined(this._$repeatOnEditor)||(this._$repeatOnEditor=o("<div>").addClass(F).addClass($).appendTo(this._$container)),e&&"DAILY"!==e?(d.isDefined(this._$repeatOnLabel)||this._renderRepeatOnLabel(this._$repeatOnEditor),"WEEKLY"!==e||this._$repeatOnWeek?"MONTHLY"!==e||this._$repeatOnMonth?"YEARLY"!==e||this._$repeatOnYear?void 0:void this._renderRepeatOnYearEditor():void this._renderRepeatOnMonthEditor():void this._renderRepeatOnWeekEditor()):(this._clearRepeatOnEditor(),void this._clearRepeatOnLabel())},_renderRepeatOnLabel:function(e){this._$repeatOnLabel=o("<div>").text(x.format("dxScheduler-recurrenceOn")+":").addClass(F+k).addClass(q),e.append(this._$repeatOnLabel)},_clearRepeatOnEditor:function(){d.isDefined(this._$repeatOnWeek)&&(this._$repeatOnWeek.detach(),this._$repeatOnWeek.remove(),delete this._$repeatOnWeek),d.isDefined(this._$repeatOnMonth)&&(this._$repeatOnMonth.detach(),this._$repeatOnMonth.remove(),delete this._$repeatOnMonth),d.isDefined(this._$repeatOnYear)&&(this._$repeatOnYear.detach(),this._$repeatOnYear.remove(),delete this._$repeatOnYear)},_clearRepeatOnEditorValues:function(){this._recurrenceRule.makeRule("bymonth",""),this._recurrenceRule.makeRule("bymonthday",""),this._recurrenceRule.makeRule("byday","")},_clearRepeatOnLabel:function(){d.isDefined(this._$repeatOnLabel)&&(this._$repeatOnLabel.detach(),this._$repeatOnLabel.remove(),delete this._$repeatOnLabel)},_renderRepeatOnWeekEditor:function(){this._clearRepeatOnEditor(),this._$repeatOnWeek=o("<div>").addClass(L).addClass(j).appendTo(this._$repeatOnEditor);var e=w.getDayNames("short"),t=this._daysOfWeekByRules();this._daysOfWeek=[];for(var n=0;7>n;n++){var i=e[n].toUpperCase(),a=Y[n],r=o("<div>").addClass(H),s=this._createComponent(r,h,{text:i,value:o.inArray(a,t)>-1,onValueChanged:o.proxy(this._repeatByDayValueChangeHandler,this)});this._daysOfWeek[n]=s,this._$repeatOnWeek.append(r)}},_daysOfWeekByRules:function(){var e=this._recurrenceRule.daysFromByDayRule();return e.length||(e=[Y[this.option("startDate").getDay()]]),e},_repeatByDayValueChangeHandler:function(){var e="";o.each(this._daysOfWeek,function(t,n){if(n.option("value")){var i=Y[t];e=e?e+","+i:i}}),this._recurrenceRule.makeRule("byday",e),this._changeEditorValue()},_renderRepeatOnMonthEditor:function(){this._clearRepeatOnEditor(),this._$repeatOnMonth=o("<div>").addClass(z).addClass(j).appendTo(this._$repeatOnEditor),this._renderDayOfMonthEditor(this._$repeatOnMonth)},_renderRepeatOnYearEditor:function(){this._clearRepeatOnEditor(),this._$repeatOnYear=o("<div>").addClass(W).addClass(j).appendTo(this._$repeatOnEditor);for(var e=[],t=w.getMonthNames("wide"),n=0;12>n;n++)e[n]={value:String(n+1),text:t[n]};var i=this._monthOfYearByRules(),a=o("<div>").addClass(G).appendTo(this._$repeatOnYear),r=function(e){this._valueChangedHandler.call(this,e);var t=parseInt(e.component.option("value"));if(this._dayEditor&&t){var n=new Date((new Date).getFullYear(),parseInt(t),0).getDate();2===t&&(n=29),this._dayEditor.option("max",n)}};this._monthEditor=this._createComponent(a,g,{field:"bymonth",items:e,value:i,displayExpr:"text",valueExpr:"value",onValueChanged:o.proxy(r,this)}),this._renderDayOfMonthEditor(this._$repeatOnYear)},_monthOfYearByRules:function(){var e=this._recurrenceRule.rules().bymonth;return e||(e=this.option("startDate").getMonth()+1),e},_renderDayOfMonthEditor:function(e){var t=this._dayOfMonthByRules(),n=o("<div>").addClass(N);this._dayEditor=this._createComponent(n,_,{field:"bymonthday",min:1,max:31,showSpinButtons:!0,useTouchSpinButtons:!1,value:t,onValueChanged:o.proxy(this._valueChangedHandler,this)}),e.append(n)},_dayOfMonthByRules:function(){var e=this._recurrenceRule.rules().bymonthday;return e||(e=this.option("startDate").getDate()),e},_setAriaDescribedBy:function(e,t){var n="label-"+new r;e.setAria("describedby",n),e.setAria("id",n,t)},_renderRepeatEndSwitch:function(){var e=this,t=o("<div>").addClass(I).addClass(j),n=o("<div>").text(x.format("dxScheduler-recurrenceEnd")+":").addClass(E+k).addClass(q);this._switchEndEditor=this._createComponent(t,f,{value:!!e._recurrenceRule.repeatableRule(),onValueChanged:o.proxy(this._repeatEndSwitchValueChangeHandler,this)}),o("<div>").addClass($).addClass(M).append(n,t).appendTo(this._$container),this._setAriaDescribedBy(this._switchEndEditor,n)},_repeatEndSwitchValueChangeHandler:function(e){var t=e.value;this._renderRepeatEndVisibility(t),this._recurrenceRule.rules().count||this._recurrenceRule.rules().until||!t?t||(this._recurrenceRule.makeRule("count",""),this._recurrenceRule.makeRule("until",""),this._changeEditorValue()):this._handleRepeatEndDefaults()},_renderRepeatEndVisibility:function(e){e?this._$repeatEndEditor.show():this._$repeatEndEditor.hide()},_handleRepeatEndDefaults:function(){this._recurrenceRule.makeRule("count",1),this._changeEditorValue()},_renderRepeatEndEditor:function(e){e=d.isDefined(e)?e:this._recurrenceRule.repeatableRule(),e||(e="count"),d.isDefined(this._$repeatEndEditor)||(this._$repeatEndEditor=o("<div>").addClass(O).addClass($).appendTo(this._$container),this._renderRepeatEndTypeEditor())},_renderRepeatEndTypeEditor:function(){var e=this._recurrenceRule.repeatableRule()||"count",t=this;this._$repeatTypeEditor=o("<div>").addClass(P).addClass(j).appendTo(this._$repeatEndEditor),this._repeatTypeEditor=this._createComponent(this._$repeatTypeEditor,p,{items:K,value:e,displayExpr:"text",valueExpr:"value",itemTemplate:function(e){return"count"===e.value?t._renderRepeatCountEditor():t._renderRepeatUntilEditor()},layout:"vertical",onValueChanged:o.proxy(this._repeatTypeValueChangedHandler,this)}),this._disableRepeatEndParts(e)},_repeatTypeValueChangedHandler:function(e){var t=e.value;this._disableRepeatEndParts(t),"until"===t?this._recurrenceRule.makeRule(t,this._repeatUntilDate.option("value")):"count"===t&&this._recurrenceRule.makeRule(t,this._repeatCountEditor.option("value")),this._changeEditorValue()},_disableRepeatEndParts:function(e){"until"===e?(this._repeatCountEditor.option("disabled",!0),this._repeatUntilDate.option("disabled",!1)):"count"===e&&(this._repeatCountEditor.option("disabled",!1),this._repeatUntilDate.option("disabled",!0))},_renderRepeatCountEditor:function(){var e=this._recurrenceRule.rules().count||1,t=o("<div>");return o("<div>").text(x.format("dxScheduler-recurrenceAfter")+":").addClass(B+k).appendTo(t),this._$repeatCountEditor=o("<div>").addClass(R).addClass(j).appendTo(t),o("<div>").text(x.format("dxScheduler-recurrenceRepeatCount")).addClass(B+k).appendTo(t),this._repeatCountEditor=this._createComponent(this._$repeatCountEditor,_,{field:"count",min:1,showSpinButtons:!0,useTouchSpinButtons:!1,value:e,onValueChanged:o.proxy(this._repeatCountValueChangeHandler,this)}),t},_repeatCountValueChangeHandler:function(e){if("count"===this._recurrenceRule.repeatableRule()){var t=e.value;this._recurrenceRule.makeRule("count",t),this._changeEditorValue()}},_formatUntilDate:function(e){var t=y.trimTime(e);return t.setDate(t.getDate()+1),new Date(t.getTime()-1)},_renderRepeatUntilEditor:function(){var e=this._recurrenceRule.rules().until||this._formatUntilDate(new Date),t=o("<div>");return o("<div>").text(x.format("dxScheduler-recurrenceOn")+":").addClass(B+k).appendTo(t),this._$repeatDateEditor=o("<div>").addClass(V).addClass(j).appendTo(t),this._repeatUntilDate=this._createComponent(this._$repeatDateEditor,m,{field:"until",value:e,type:"date",onValueChanged:o.proxy(this._repeatUntilValueChangeHandler,this)}),t},_repeatUntilValueChangeHandler:function(e){if("until"===this._recurrenceRule.repeatableRule()){var t=this._formatUntilDate(new Date(e.value));this._repeatUntilDate.option("value",t),this._recurrenceRule.makeRule("until",t),this._changeEditorValue()}},_valueChangedHandler:function(e){var t=e.component.option("value"),n=e.component.option("field");"freq"===n&&this._clearRepeatOnEditorValues(),this._recurrenceRule.makeRule(n,t),this._makeRepeatOnRule(n,t),this._changeEditorValue()},_makeRepeatOnRule:function(e,t){"freq"===e&&"DAILY"!==t&&("WEEKLY"===t&&this._recurrenceRule.makeRule("byday",this._daysOfWeekByRules()),"MONTHLY"===t&&this._recurrenceRule.makeRule("bymonthday",this._dayOfMonthByRules()),"YEARLY"===t&&(this._recurrenceRule.makeRule("bymonthday",this._dayOfMonthByRules()),this._recurrenceRule.makeRule("bymonth",this._monthOfYearByRules())))},_optionChanged:function(e){switch(e.name){case"value":this._recurrenceRule.makeRules(e.value),this._switchEditor.option("value",!!e.value),this._switchEndEditor.option("value",!!this._recurrenceRule.repeatableRule()),this._repeatTypeEditor.option("value",this._recurrenceRule.repeatableRule()||"count"),this._renderRepeatEndEditor(),this._renderRepeatOnEditor(),this._changeEditorsValues(this._recurrenceRule.rules()),this.callBase(e);break;case"startDate":this._clearRepeatOnEditor(),this._renderRepeatOnEditor(),this._makeRepeatOnRule("freq",this._recurrenceRule.rules().freq),d.isDefined(this._recurrenceRule.recurrenceString())&&this._changeEditorValue();break;default:this.callBase(e)}},_changeEditorsValues:function(e){this._freqEditor.option("value",e.freq),this._changeRepeatTypeLabel(),this._intervalEditor.option("value",e.interval),this._changeRepeatCountValue(),this._changeRepeatUntilValue(),this._changeCheckBoxesValue(),this._changeDayOfMonthValue(),this._changeMonthOfYearValue()},_changeRepeatTypeLabel:function(){var e=this.element().find("."+P+k);if(e.length){var t=this._recurrenceRule.rules().freq||"DAILY";o.each(e,function(e,n){o(n).text(x.format("dxScheduler-recurrenceRepeat"+t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()))})}},_changeRepeatCountValue:function(){if(this._$repeatCountEditor){var e=this._recurrenceRule.rules().count||1;this._repeatCountEditor.option("value",e)}},_changeRepeatUntilValue:function(){if(this._$repeatDateEditor){var e=this._recurrenceRule.rules().until||this._formatUntilDate(new Date);this._repeatUntilDate.option("value",e)}},_changeCheckBoxesValue:function(){if(this._$repeatOnWeek){var e=this._daysOfWeekByRules();o.each(this._daysOfWeek,function(t,n){var i=Y[t];n.option("value",o.inArray(i,e)>-1)})}},_changeDayOfMonthValue:function(){if(this._$repeatOnMonth||this._$repeatOnYear){var e=this._dayOfMonthByRules()||1;this._dayEditor.option("value",e)}},_changeMonthOfYearValue:function(){if(this._$repeatOnYear){var e=this._monthOfYearByRules()||1;this._monthEditor.option("value",e)}},toggle:function(){this._switchEditor.element().trigger(b.name)},setAria:function(){this._switchEditor&&this._switchEditor.setAria(arguments[0],arguments[1])}}).include(v);s("dxSchedulerRecurrenceEditor",Q),i.exports=Q}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(5),r=n(41),s=n(2),l=n(35),c=n(16),d=n(38),u=function(e){return e.valueExpr||"id"},h=function(e){return e.displayExpr||"text"},p=a.inherit({_wrapDataSource:function(e){return e instanceof d.DataSource?e:new d.DataSource({store:d.normalizeDataSourceOptions(e).store,pageSize:0})},_mapResourceData:function(e,t){var n=c.compileGetter(u(e)),i=c.compileGetter(h(e));return o.map(t,function(e){var t={id:n(e),text:i(e)};return e.color&&(t.color=e.color),t})},_isMultipleResource:function(e){var t=!1;return o.each(this.getResources(),o.proxy(function(n,i){var o=this.getField(i);return o===e?(t=i.allowMultiple,!1):void 0},this)),t},ctor:function(e){this.setResources(e)},getDataAccessors:function(e,t){var n=null;return o.each(this._dataAccessors[t],function(t,i){return e===t?(n=i,!1):void 0}),n},getField:function(e){return e.fieldExpr||e.field},setResources:function(e){this._resources=e,this._dataAccessors={getter:{},setter:{}},this._resourceFields=o.map(e||[],o.proxy(function(e,t){var n=this.getField(e);return this._dataAccessors.getter[n]=c.compileGetter(n),this._dataAccessors.setter[n]=c.compileSetter(n),n},this))},getResources:function(){return this._resources||[]},getResourcesData:function(){return this._resourcesData||[]},getEditors:function(){var e=[],t=this;return o.each(this.getResources(),function(n,i){var o=t.getField(i),a=t._getResourceDataByField(o);e.push({editorOptions:{dataSource:a.length?a:t._wrapDataSource(i.dataSource),displayExpr:h(i),valueExpr:u(i)},dataField:o,editorType:i.allowMultiple?"dxTagBox":"dxSelectBox",label:{text:i.label||o}})}),e},getResourceDataByValue:function(e,t){var n=o.Deferred(),i=this;return o.each(this.getResources(),function(o,a){var r=i.getField(a);if(r===e){var s=i._wrapDataSource(a.dataSource),c=u(a);return s.load().done(function(e){var i=l(e).filter(c,t).toArray();n.resolve(i[0])}).fail(function(){n.reject()}),!1}}),n.promise()},getResourcesFromItem:function(e,t){var n=this,i=null;return s.isDefined(t)||(t=!1),o.each(n._resourceFields,function(a,s){o.each(e,function(e,a){var l={};l[e]=a;var c=n.getDataAccessors(s,"getter")(l);return c?(i||(i={}),!t||t&&n._isMultipleResource(s)?n.getDataAccessors(s,"setter")(l,r.wrapToArray(c)):n.getDataAccessors(s,"setter")(l,c),o.extend(i,l),!0):void 0})}),i},loadResources:function(e){var t=o.Deferred(),n=this,i=[];return o.each(this.getResourcesByFields(e),function(e,t){var a=o.Deferred(),r=n.getField(t);i.push(a),n._wrapDataSource(t.dataSource).load().done(function(e){a.resolve({name:r,items:n._mapResourceData(t,e),data:e})}).fail(function(){a.reject()})}),o.when.apply(null,i).done(function(){var e=Array.prototype.slice.call(arguments),i=function(e){return{name:e.name,items:e.items}};n._resourcesData=e,t.resolve(e.map(i))}).fail(function(){t.reject()}),t.promise()},getResourcesByFields:function(e){return o.grep(this.getResources(),o.proxy(function(t){var n=this.getField(t);return o.inArray(n,e)>-1},this))},getResourceColor:function(e,t){var n,i=o.Deferred(),a=this._getResourceDataByField(e),r=a.length;if(r){for(var s=0;r>s;s++)if(a[s].id===t){n=a[s].color;break}i.resolve(n)}else this.getResourceDataByValue(e,t).done(function(e){e&&(n=e.color),i.resolve(n)}).fail(function(){i.reject()});return i.promise()},getResourceForPainting:function(e){var t,n=this.getResources();return o.each(n,function(e,n){return n.useColorAsDefault||n.mainColor?(t=n,!1):void 0}),t||(o.isArray(e)&&e.length&&(n=this.getResourcesByFields(e)),t=n[n.length-1]),t},createResourcesTree:function(e){function t(i,o,a,r){a=a||[];for(var s=0;s<i.items.length;s++){var l=i.items[s],c={name:i.name,value:l.id,title:l.text,children:[],parent:r?r:null};a.push(c);var d=o+1;e[d]&&t.call(this,e[d],d,c.children,c),c.children.length||(c.leafIndex=n,n++)}return a}var n=0,i=i||0;return t.call(this,e[0],0)},_hasGroupItem:function(e,t,n){var i=this.getDataAccessors(t,"getter")(e);return!!(i&&o.inArray(n,i)>-1)},_getResourceDataByField:function(e){for(var t=this.getResourcesData(),n=[],i=0,o=t.length;o>i;i++)if(t[i].name===e){n=t[i].data;break}return n},getResourceTreeLeaves:function(e,t,n){n=n||[];for(var i=0;i<e.length;i++)this._hasGroupItem(t,e[i].name,e[i].value)&&(s.isDefined(e[i].leafIndex)&&n.push(e[i].leafIndex),e[i].children&&this.getResourceTreeLeaves(e[i].children,t,n));return n},groupAppointmentsByResources:function(e,t){var n=this.createResourcesTree(t),i={};return o.each(e,o.proxy(function(e,t){for(var o=this.getResourcesFromItem(t),a=this.getResourceTreeLeaves(n,o),r=0;r<a.length;r++)i[a[r]]||(i[a[r]]=[]),i[a[r]].push(t)},this)),i},reduceResourcesTree:function(e,t,n){n=n?n.children:[];var i=this;return e.forEach(function(e,o){var a=!1,r=e.name,l=e.value,c=e.title,d=i.getDataAccessors(r,"getter");t.forEach(function(e){if(!a){var t=d(e);s.isArray(t)?t.indexOf(l)>-1&&(n.push({name:r,value:l,title:c,children:[]}),a=!0):t===l&&(n.push({name:r,value:l,title:c,children:[]}),a=!0)}}),a&&e.children&&e.children.length&&i.reduceResourcesTree(e.children,t,n[o])}),n}});i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(41),r=n(128),s=n(12),l=n(15),c=n(2),d=n(14),u=n(325),h={currentViewUpdated:function(e){this.option("currentView",e)},currentDateUpdated:function(e){this.option("currentDate",e)},needCoordinates:function(e){var t=e.appointmentData,n=e.startDate,i=this.fire("getField","recurrenceRule",t),o=this.fire("getField","recurrenceException",t),a=this._workSpace.getDateRange(),l=this.appointmentTakesAllDay(t)?s.trimTime(new Date(a[0])):a[0],c=r.getDatesByRecurrence(i,n,l,a[1],o);c.length||c.push(n);var d=this._resourcesManager.getResourcesFromItem(t),u=this.appointmentTakesAllDay(t)&&this._workSpace.supportAllDayRow();e.callback(this._getCoordinates(c,d,u))},showAppointmentTooltip:function(e){e.skipDateCalculation=!0;var t=e.data,n=o(e.target),i=this._getSingleAppointmentData(t,e,n);this.showAppointmentTooltip(t,i,e.target)},hideAppointmentTooltip:function(){this._hideTooltip()},showAddAppointmentPopup:function(e){var t={};o.each(["startDate","endDate","allDay"],o.proxy(function(n,i){void 0!==e[i]&&(this.fire("setField",i,t,e[i]),delete e[i])},this)),this.showAppointmentPopup(o.extend(t,e),!0)},showEditAppointmentPopup:function(e){var t=e.data,n=o(e.target),i=this._getSingleAppointmentData(t,e,n),a=this.fire("getField","startDate",i);this.showAppointmentPopup(t,!1,i,a)},updateAppointmentAfterResize:function(e){var t=e.target,n=e.$appointment,i=this._getSingleAppointmentData(t,e,n),a=this.fire("getField","startDate",i),r=o.extend(!0,{},e.data),s=this._convertDatesByTimezoneBeforeSave([{date:this.fire("getField","startDate",r),timeZone:this.fire("getField","startDateTimeZone",r)},{date:this.fire("getField","endDate",r),timeZone:this.fire("getField","endDateTimeZone",r)}]);this.fire("setField","startDate",r,s[0]),this.fire("setField","endDate",r,s[1]),this._checkRecurringAppointment(t,i,a,o.proxy(function(){this._updateAppointment(t,r,function(){this._appointments.moveAppointmentBack()})},this))},updateAppointmentAfterDrag:function(e){var t=e.data,n=this._getUpdatedData(e),i=this._workSpace.getDroppableCellIndex(),a=this._workSpace.getCellIndexByCoordinates(e.coordinates),r=this.fire("getField","allDay",n),s=this.fire("getField","allDay",t),l=o.extend({},t,n),c=this._workSpace.supportAllDayRow()&&r,d=this._workSpace.getCellDataByCoordinates(e.coordinates,c),u=this._workSpace.supportAllDayRow()&&(s&&!r||!s&&r);i!==a||u?this._checkRecurringAppointment(t,l,d.startDate,o.proxy(function(){var e=this.fire("getField","startDate",l),n=this.fire("getField","endDate",l),i=this.fire("getField","startDateTimeZone",l),o=this.fire("getField","endDateTimeZone",l),a=this._convertDatesByTimezoneBeforeSave([{date:e,timeZone:i},{date:n,timeZone:o}]);this.fire("setField","startDate",l,a[0]),this.fire("setField","endDate",l,a[1]),this._updateAppointment(t,l,function(){this._appointments.moveAppointmentBack()})},this)):this._appointments.moveAppointmentBack()},deleteAppointment:function(e){var t=e.data,n=o(e.target),i=this._getSingleAppointmentData(t,e,n),a=this.fire("getField","startDate",i);this._checkRecurringAppointment(t,i,a,o.proxy(function(){this.deleteAppointment(t)},this),!0)},getAppointmentColor:function(e){var t=this._resourcesManager,n=t.getResourceForPainting(this.option("groups")),i=o.Deferred().resolve().promise();if(n){for(var r=t.getField(n),s=e.groupIndex,l=this._workSpace._getCellGroups(s),c=a.wrapToArray(e.itemData[r]),d=c.length?c[0]:void 0,u=0;u<l.length;u++)if(l[u].name===r){d=l[u].id;break}i=t.getResourceColor(r,d)}e.callback(i)},getResourcesFromItem:function(e){e.callback(this._resourcesManager.getResourcesFromItem(e.itemData))},getCellDimensions:function(e){this._workSpace&&e.callback(this._workSpace.getCellWidth(),this._workSpace.getCellHeight(),this._workSpace.getAllDayHeight())},getBoundOffset:function(e){e.callback({top:-this.getWorkSpaceAllDayHeight()})},appointmentTakesAllDay:function(e){var t={};this.fire("setField","startDate",t,e.startDate),this.fire("setField","endDate",t,e.endDate),e.callback(this.appointmentTakesAllDay(t))},appointmentTakesSeveralDays:function(e){return this._appointmentModel.appointmentTakesSeveralDays(e)},checkContainerVisibility:function(e){e.callback(this.element().is(":hidden"))},appointmentFocused:function(){this._workSpace.restoreScrollTop()},getResizableAppointmentArea:function(e){var t,n=e.allDay;if(this.option("groups")&&this.option("groups").length&&(n||"month"===this.option("currentView"))){var i=this._workSpace.getGroupBounds(e.coordinates);t={left:i.left,right:i.right,top:0,bottom:0}}e.callback(t)},getDraggableAppointmentArea:function(e){e.callback(this.getWorkSpaceScrollableContainer())},getDragEventTargetElements:function(e){e.callback(this.element)},correctAppointmentCoordinates:function(e){var t,n=e.allDay,i=n?0:this.getWorkSpaceScrollableScrollTop(),o=this.getWorkSpaceHeaderPanelHeight(),a=this.getWorkSpaceScrollableScrollLeft(),r=this.getWorkSpaceDateTableOffset(),s=n?0:this.getWorkSpaceAllDayHeight();t={top:e.coordinates.top-i+s+o,left:e.coordinates.left-a-r},e.callback(t)},allDayPanelToggled:function(){this._appointments.updateDraggablesBoundOffsets()},normalizeAppointmentDates:function(e){var t=e.appointmentData,n=s.makeDate(this.fire("getField","startDate",t)),i=s.makeDate(this.fire("getField","endDate",t));this.fire("setField","startDate",t,n),this.fire("setField","endDate",t,i),e.callback(t)},formatDates:function(e){var t=e.startDate,n=e.endDate,i=e.formatType,o={DATETIME:function(){var e="mediumdatemediumtime",i=d.format(t,e)+" - ",o=t.getDate()===n.getDate()?d.format(n,"shorttime"):d.format(n,e);return i+o},TIME:function(){return d.format(t,"shorttime")+" - "+d.format(n,"shorttime")},DATE:function(){var e="d MMMM",i=d.format(t,e),o=n.getTime()-t.getTime()>864e5,a=o||n.getDate()!==t.getDate()?" - "+d.format(n,e):"";return i+a}};e.callback(o[i]())},getFullWeekAppointmentWidth:function(e){var t=e.groupIndex,n=this._workSpace.getGroupWidth(t);e.callback(n)},getMaxAppointmentWidth:function(e){var t=this._workSpace.getCellCountToLastViewDate(e.date);e.callback(t*this._workSpace.getCellWidth())},updateAppointmentStartDate:function(e){var t,n=e.appointment,i=this._workSpace.getStartViewDate(),o=new Date(e.startDate);if(this.appointmentTakesAllDay(n))t=s.normalizeDate(o,i);else{var a=this.option("startDayHour");o.getHours()<a&&(o.setHours(a),o.setMinutes(0)),t=s.normalizeDate(e.startDate,new Date(o))}e.callback(t)},updateAppointmentEndDate:function(e){var t=new Date(e.endDate),n=t;t.getHours()>=this.option("endDayHour")&&(n.setHours(this.option("endDayHour")),n.setMinutes(0)),e.callback(n)},renderDropDownAppointments:function(e){this._dropDownAppointments.render(e,this)},getGroupCount:function(e){var t=this._workSpace._getGroupCount();e.callback(t)},updateResizableArea:function(){var e=this.element().find(".dx-scheduler-appointment.dx-resizable"),t=o.grep(e,function(e){var t=o(e),n=t.dxResizable("instance"),i=n.option("area");return o.inArray(n.option("handles"),["right left","left right"])>-1&&o.isPlainObject(i)});o.each(t,o.proxy(function(e,t){var n=o(t),i=l.locate(n),a=this._appointments._getItemData(n),r=this._appointments._calculateResizableArea({left:i.left},a);n.dxResizable("instance").option("area",r)},this))},recurrenceEditorVisibilityChanged:function(e){this.recurrenceEditorVisibilityChanged(e.visible)},getField:function(e,t){return c.isDefined(this._dataAccessors.getter[e])?this._dataAccessors.getter[e](t):void 0},setField:function(e,t,n){if(c.isDefined(this._dataAccessors.setter[e])){var i=this.option(e+"Expr").split("."),o=i[0];if(void 0===t[o]&&i.length>1){var a=function(e){for(var t={},n=t,i=e.length-1,o=1;i>o;o++)n=n[e[o]]={};return t}(i);t[o]=a}return this._dataAccessors.setter[e](t,n),t}},prerenderFilter:function(){var e,t=this.getWorkSpace().getDateRange(),n=this._resourcesManager.getResourcesData();return!this.option("showAllDayPanel")&&this._workSpace.supportAllDayRow()&&(e=!1),this._appointmentModel.filterLoadedAppointments({startDayHour:this.option("startDayHour"),endDayHour:this.option("endDayHour"),min:t[0],max:t[1],resources:n,allDay:e},this._subscribes.convertDateByTimezone.bind(this))},dayHasAppointment:function(e,t,n){return this.dayHasAppointment(e,t,n)},createResourcesTree:function(){return this._resourcesManager.createResourcesTree(this._loadedResources)},getResourceTreeLeaves:function(e,t){return this._resourcesManager.getResourceTreeLeaves(e,t)},createReducedResourcesTree:function(){var e=this._resourcesManager.createResourcesTree(this._loadedResources),t=this.getAppointmentsInstance().option("items");return this._resourcesManager.reduceResourcesTree(e,t)},groupAppointmentsByResources:function(e){var t={0:e};this.option("groups")&&this.option("groups").length&&this._resourcesManager.getResourcesData().length&&(t=this._resourcesManager.groupAppointmentsByResources(e,this._loadedResources));var n=0;o.each(this._loadedResources,function(e,t){e?n*=t.items.length:n=t.items.length});for(var i=0;n>i;i++){var a=i.toString();t[a]||(t[a]=[])}return t},getAgendaRows:function(e){function t(n){var o=i(n,e.agendaDuration,e.currentDate);this._dataSourceLoadedCallback.remove(t),a.resolve(o)}var n=this._appointments._renderingStrategy,i=o.proxy(n.calculateRows,n),a=o.Deferred();return this._dataSourceLoadedCallback.add(t),a.promise()},getAgendaVerticalStepHeight:function(){return this.getWorkSpace().getAgendaVerticalStepHeight()},getStartViewDate:function(){return this.getStartViewDate()},getEndViewDate:function(){return this.getEndViewDate()},agendaIsReady:function(e,t,n){var i=this.getAppointmentsInstance()._itemElements(),a=0;i.css("margin-bottom",t);for(var r=function(e,t){var o=t+a-1;i.eq(o).css("margin-bottom",n),a+=t},s=0;s<e.length;s++)o.each(e[s],r)},getTimezone:function(){return this._getTimezoneOffsetByOption()},getClientTimezoneOffset:function(){return u.getClientTimezoneOffset()},convertDateByTimezone:function(e,t){e=new Date(e);var n=this._subscribes.getClientTimezoneOffset(),i=this._getTimezoneOffsetByOption(),o=void 0!==i?i:-(n/36e5),a=this._calculateTimezoneByValue(t),r=a?o-a:0;a&&!this._getTimezoneOffsetByOption()&&(r=a-o);var s=e.getTime()+n;return e=new Date(s+36e5*(o+r))},getTimezonesDisplayName:function(){return u.getTimezonesDisplayName()},getTimezoneDisplayNameById:function(e){return u.getTimezoneDisplayNameById(e)},getSimilarTimezones:function(e){return u.getSimilarTimezones(e)},getTimezonesIdsByDisplayName:function(e){return u.getTimezonesIdsByDisplayName(e)},getTargetedAppointmentData:function(e,t,n){var i=this._getSingleAppointmentData(e,e,t),a={};return o.extend(!0,a,e,i),this.setTargetedAppointmentResources(a,t,n),a}};i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(3),a=n(239),r=n(2),s="dx-scheduler-timeline-day",l=a.inherit({_getElementClass:function(){return s},_setFirstViewDate:function(){this._firstViewDate=this.option("currentDate"),r.isDefined(this.option("startDayHour"))&&this._firstViewDate.setHours(this.option("startDayHour"))}});o("dxSchedulerTimelineDay",l),i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(3),a=n(239),r=n(2),s=n(12),l="dx-scheduler-timeline-month",c=864e5,d=a.inherit({_getElementClass:function(){return l},_getCellCount:function(){var e=this.option("currentDate");return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()},_setFirstViewDate:function(){this._firstViewDate=s.getFirstMonthDate(this.option("currentDate")),r.isDefined(this.option("startDayHour"))&&this._firstViewDate.setHours(this.option("startDayHour"))},_getFormat:function(){return"E d"},_getDateByIndex:function(e){var t=new Date(this._firstViewDate);return t.setDate(this._firstViewDate.getDate()+e),t},_getInterval:function(){return c},_getIntervalBetween:function(e){var t=this.getStartViewDate(),n=s.getTimezonesDifference(t,e);return e.getTime()-(t.getTime()-36e5*this.option("startDayHour"))-n},calculateEndDate:function(e){var t=new Date(e);return new Date(t.setHours(this.option("endDayHour")))},_calculateHiddenInterval:function(){return 0},_getDateByCellIndexes:function(e,t){var n=this.callBase(e,t);return this._setStartDayHour(n),n},needUpdateScrollPosition:function(e,t,n,i){return this._dateWithinBounds(n,i)},getPositionShift:function(){return{top:0,left:0}}});o("dxSchedulerTimelineMonth",d),i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(3),a=n(324),r=n(12),s="dx-scheduler-timeline-work-week",l=1,c=a.inherit({_getElementClass:function(){return s},_getWeekDuration:function(){return 5},_firstDayOfWeek:function(){return this.option("firstDayOfWeek")||l},_setFirstViewDate:function(){this._firstViewDate=r.getFirstWeekDate(this.option("currentDate"),this._firstDayOfWeek()),this._firstViewDate=r.normalizeDateByWeek(this._firstViewDate,this.option("currentDate")),this._setStartDayHour(this._firstViewDate)}});o("dxSchedulerTimelineWorkWeek",c),i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(113),s=n(8),l=n(31),c=n(114),d="dx-timezone-editor",u="dx-timezone-display-name",h="dx-timezone-iana-id",p=l.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{value:null})},_createComponent:function(e,t,n){return n=n||{},this._extendConfig(n,{readOnly:this.option("readOnly")}),this.callBase(e,t,n)},_init:function(){this.callBase(),this.element().addClass(d)},_render:function(){this._renderDisplayNameEditor(),this._renderIanaIdEditor(),this.callBase()},_renderDisplayNameEditor:function(){var e=s.format("dxScheduler-noTimezoneTitle"),t=this.invoke("getTimezoneDisplayNameById",this.option("value"))||e;this._displayNameEditor=this._renderSelectBox(u,{items:[e].concat(this.invoke("getTimezonesDisplayName")),value:t,onOptionChanged:function(e){"value"===e.name&&this._processDisplayNameChanging(e.value)}.bind(this)})},_renderIanaIdEditor:function(){this._ianaIdEditor=this._renderSelectBox(h,{items:this._idsDataSource(),value:this.option("value"),onOptionChanged:function(e){"value"===e.name&&this.option("value",e.value)}.bind(this),valueExpr:"id",displayExpr:"displayName",disabled:this._calculateIanaIdEditorDisabledState()})},_renderSelectBox:function(e,t){t=t||{};var n=o("<div />").addClass(e),i=this._createComponent(n,c,t);return this.element().append(n),i},_idsDataSource:function(e){return this.invoke("getSimilarTimezones",this.option("value"))},_calculateIanaIdEditorDisabledState:function(){return!this.option("value")},_processDisplayNameChanging:function(e){var t=this.invoke("getTimezonesIdsByDisplayName",e),n=t.length?t[0].id:null;this.option("value",n),this._ianaIdEditor.option({value:n,items:this._idsDataSource(t),disabled:this._calculateIanaIdEditorDisabledState()})},_optionChanged:function(e){var t=e.value;switch(e.name){case"value":this._ianaIdEditor.option({value:t,items:this._idsDataSource()}),t?this._displayNameEditor.option("value",this.invoke("getTimezoneDisplayNameById",t)):this._displayNameEditor.option("value",s.format("dxScheduler-noTimezoneTitle")),this.callBase(e);break;case"readOnly":this._displayNameEditor&&this._displayNameEditor.option("readOnly",t),this._ianaIdEditor&&this._ianaIdEditor.option("readOnly",t);break;default:this.callBase(e)}}}).include(r);a("dxSchedulerTimezoneEditor",{},p),i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){
var i;i=function(e,t,n){var i=["(UTC) Monrovia, Reykjavik","(UTC+03:00) Nairobi","(UTC+02:00) Harare, Pretoria","(UTC+01:00) West Central Africa","(UTC+02:00) Athens, Bucharest","(UTC+03:00) Kuwait, Riyadh","(UTC+07:00) Bangkok, Hanoi, Jakarta","(UTC+04:00) Abu Dhabi, Muscat","(UTC+12:00) Auckland, Wellington","(UTC-03:00) City of Buenos Aires","(UTC-05:00) Bogota, Lima, Quito, Rio Branco","(UTC-08:00) Pacific Time (US & Canada)","(UTC-05:00) Indiana (East)","(UTC-06:00) Central Time (US & Canada)","(UTC-05:00) Eastern Time (US & Canada)","(UTC-07:00) Mountain Time (US & Canada)","(UTC-04:00) Georgetown, La Paz, Manaus, San Juan","(UTC+05:00) Ashgabat, Tashkent","(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi","(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi","(UTC+06:00) Dhaka","(UTC+06:00) Astana","(UTC+05:45) Kathmandu","(UTC+02:00) Jerusalem","(UTC+08:00) Kuala Lumpur, Singapore","(UTC+08:00) Ulaanbaatar","(UTC) Dublin, Edinburgh, Lisbon, London","(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna","(UTC+10:00) Canberra, Melbourne, Sydney","(UTC+09:30) Darwin","(UTC+10:00) Brisbane","(UTC+09:30) Adelaide","(UTC+10:00) Hobart","(UTC+08:00) Perth","(UTC-02:00) Coordinated Universal Time-02","(UTC-03:00) Brasilia","(UTC-04:00) Atlantic Time (Canada)","(UTC-06:00) Saskatchewan","(UTC-03:30) Newfoundland","(UTC-03:00) Santiago","(UTC+02:00) Cairo","UTC","(UTC+03:30) Tehran","(UTC+09:00) Osaka, Sapporo, Tokyo","(UTC+12:00) Coordinated Universal Time+12","(UTC+02:00) Tripoli","(UTC-07:00) Chihuahua, La Paz, Mazatlan","(UTC-06:00) Guadalajara, Mexico City, Monterrey","(UTC+11:00) Solomon Is., New Caledonia","(UTC-11:00) Coordinated Universal Time-11","(UTC+10:00) Guam, Port Moresby","(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb","(UTC+08:00) Taipei","(UTC+09:00) Seoul","(UTC+02:00) Istanbul","(UTC-09:00) Alaska","(UTC-07:00) Arizona","(UTC-10:00) Hawaii","(UTC+03:00) Moscow, St. Petersburg, Volgograd","(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius","(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague","(UTC) Casablanca","(UTC+01:00) Brussels, Copenhagen, Madrid, Paris","(UTC+01:00) Windhoek","(UTC-03:00) Cayenne, Fortaleza","(UTC-04:00) Asuncion","(UTC-03:00) Salvador","(UTC-06:00) Central America","(UTC-04:00) Cuiaba","(UTC-04:30) Caracas","(UTC-03:00) Greenland","(UTC-03:00) Montevideo","(UTC-08:00) Baja California","(UTC-01:00) Azores","(UTC+02:00) Amman","(UTC+10:00) Magadan","(UTC+03:00) Baghdad","(UTC+04:00) Baku","(UTC+02:00) Beirut","(UTC+09:00) Yakutsk","(UTC+05:30) Sri Jayawardenepura","(UTC+02:00) Damascus","(UTC+08:00) Irkutsk","(UTC+04:30) Kabul","(UTC+05:00) Islamabad, Karachi","(UTC+07:00) Krasnoyarsk","(UTC+06:00) Novosibirsk","(UTC+06:30) Yangon (Rangoon)","(UTC+10:00) Vladivostok","(UTC+04:00) Tbilisi","(UTC+05:00) Ekaterinburg","(UTC+04:00) Yerevan","(UTC-01:00) Cabo Verde Is.","(UTC-12:00) International Date Line West","(UTC+13:00) Nuku'alofa","(UTC+14:00) Kiritimati Island","(UTC+02:00) Kaliningrad","(UTC+04:00) Port Louis","(UTC+13:00) Samoa","(UTC+12:00) Fiji"],o=[{id:"Africa/Bamako",title:"Bamako",winIndex:0,link:185},{id:"Africa/Banjul",title:"Banjul",winIndex:0,link:185},{id:"Africa/Conakry",title:"Conakry",winIndex:0,link:185},{id:"Africa/Dakar",title:"Dakar",winIndex:0,link:185},{id:"Africa/Freetown",title:"Freetown",winIndex:0,link:185},{id:"Africa/Lome",title:"Lome",winIndex:0,link:185},{id:"Africa/Nouakchott",title:"Nouakchott",winIndex:0,link:185},{id:"Africa/Ouagadougou",title:"Ouagadougou",winIndex:0,link:185},{id:"Africa/Sao_Tome",title:"Sao Tome",winIndex:0,link:185},{id:"Atlantic/St_Helena",title:"St Helena",winIndex:0,link:185},{id:"Africa/Addis_Ababa",title:"Addis Ababa",winIndex:1,link:198},{id:"Africa/Asmara",title:"Asmara",winIndex:1,link:198},{id:"Africa/Dar_es_Salaam",title:"Dar es Salaam",winIndex:1,link:198},{id:"Africa/Djibouti",title:"Djibouti",winIndex:1,link:198},{id:"Africa/Kampala",title:"Kampala",winIndex:1,link:198},{id:"Africa/Mogadishu",title:"Mogadishu",winIndex:1,link:198},{id:"Indian/Antananarivo",title:"Antananarivo",winIndex:1,link:198},{id:"Indian/Comoro",title:"Comoro",winIndex:1,link:198},{id:"Indian/Mayotte",title:"Mayotte",winIndex:1,link:198},{id:"Africa/Blantyre",title:"Blantyre",winIndex:2,link:196},{id:"Africa/Bujumbura",title:"Bujumbura",winIndex:2,link:196},{id:"Africa/Gaborone",title:"Gaborone",winIndex:2,link:196},{id:"Africa/Harare",title:"Harare",winIndex:2,link:196},{id:"Africa/Kigali",title:"Kigali",winIndex:2,link:196},{id:"Africa/Lubumbashi",title:"Lubumbashi",winIndex:2,link:196},{id:"Africa/Lusaka",title:"Lusaka",winIndex:2,link:196},{id:"Africa/Bangui",title:"Bangui",winIndex:3,link:195},{id:"Africa/Brazzaville",title:"Brazzaville",winIndex:3,link:195},{id:"Africa/Douala",title:"Douala",winIndex:3,link:195},{id:"Africa/Kinshasa",title:"Kinshasa",winIndex:3,link:195},{id:"Africa/Libreville",title:"Libreville",winIndex:3,link:195},{id:"Africa/Luanda",title:"Luanda",winIndex:3,link:195},{id:"Africa/Malabo",title:"Malabo",winIndex:3,link:195},{id:"Africa/Niamey",title:"Niamey",winIndex:3,link:195},{id:"Africa/Porto-Novo",title:"Porto-Novo",winIndex:3,link:195},{id:"Africa/Maseru",title:"Maseru",winIndex:2,link:193},{id:"Africa/Mbabane",title:"Mbabane",winIndex:2,link:193},{id:"Africa/Juba",title:"Juba",winIndex:1,link:194},{id:"Europe/Nicosia",title:"Nicosia",winIndex:4,link:381},{id:"Asia/Bahrain",title:"Bahrain",winIndex:5,link:388},{id:"Asia/Aden",title:"Aden",winIndex:5,link:391},{id:"Asia/Kuwait",title:"Kuwait",winIndex:5,link:391},{id:"Asia/Phnom_Penh",title:"Phnom Penh",winIndex:6,link:349},{id:"Asia/Vientiane",title:"Vientiane",winIndex:6,link:349},{id:"Asia/Muscat",title:"Muscat",winIndex:7,link:359},{id:"Antarctica/McMurdo",title:"McMurdo",winIndex:8,link:511},{id:"Africa/Asmera",title:"Asmera",winIndex:1,link:198},{id:"Africa/Timbuktu",title:"Timbuktu",winIndex:0,link:185},{id:"America/Buenos_Aires",title:"Buenos Aires",winIndex:9,link:206},{id:"America/Catamarca",title:"Catamarca",winIndex:9,link:207},{id:"America/Coral_Harbour",title:"Coral Harbour",winIndex:10,link:219},{id:"America/Cordoba",title:"Cordoba",winIndex:9,link:208},{id:"America/Ensenada",title:"Ensenada",winIndex:11,link:325},{id:"America/Indianapolis",title:"Indianapolis",winIndex:12},{id:"America/Jujuy",title:"Jujuy",winIndex:9,link:209},{id:"America/Knox_IN",title:"Knox IN",winIndex:13,link:261},{id:"America/Louisville",title:"Louisville",winIndex:14,link:272},{id:"America/Mendoza",title:"Mendoza",winIndex:9,link:211},{id:"America/Porto_Acre",title:"Porto Acre",winIndex:10,link:312},{id:"America/Shiprock",title:"Shiprock",winIndex:15,link:244},{id:"America/Virgin",title:"Virgin",winIndex:16,link:303},{id:"Antarctica/South_Pole",title:"South Pole",winIndex:8,link:511},{id:"Asia/Ashkhabad",title:"Ashkhabad",winIndex:17,link:346},{id:"Asia/Calcutta",title:"Calcutta",winIndex:18,link:373},{id:"Asia/Chongqing",title:"Chongqing",winIndex:19,link:395},{id:"Asia/Chungking",title:"Chungking",winIndex:19,link:395},{id:"Asia/Dacca",title:"Dacca",winIndex:20,link:357},{id:"Asia/Harbin",title:"Harbin",winIndex:19,link:395},{id:"Asia/Kashgar",title:"Kashgar",winIndex:21,link:405},{id:"Asia/Katmandu",title:"Katmandu",winIndex:22,link:371},{id:"Asia/Macao",title:"Macao",winIndex:19,link:377},{id:"Asia/Saigon",title:"Saigon",winIndex:6,link:361},{id:"Asia/Tel_Aviv",title:"Tel Aviv",winIndex:23,link:367},{id:"Asia/Thimbu",title:"Thimbu",winIndex:20,link:402},{id:"Asia/Ujung_Pandang",title:"Ujung Pandang",winIndex:24,link:379},{id:"Asia/Ulan_Bator",title:"Ulan Bator",winIndex:25,link:404},{id:"Atlantic/Faeroe",title:"Faeroe",winIndex:26,link:415},{id:"Atlantic/Jan_Mayen",title:"Jan Mayen",winIndex:27,link:483},{id:"Australia/ACT",title:"ACT",winIndex:28,link:429},{id:"Australia/Canberra",title:"Canberra",winIndex:28,link:429},{id:"Australia/NSW",title:"NSW",winIndex:28,link:429},{id:"Australia/North",title:"North",winIndex:29,link:424},{id:"Australia/Queensland",title:"Queensland",winIndex:30,link:421},{id:"Australia/South",title:"South",winIndex:31,link:420},{id:"Australia/Tasmania",title:"Tasmania",winIndex:32,link:425},{id:"Australia/Victoria",title:"Victoria",winIndex:28,link:427},{id:"Australia/West",title:"West",winIndex:33,link:428},{id:"Australia/Yancowinna",title:"Yancowinna",winIndex:31,link:422},{id:"Brazil/Acre",title:"Acre",winIndex:10,link:312},{id:"Brazil/DeNoronha",title:"DeNoronha",winIndex:34,link:294},{id:"Brazil/East",title:"East",winIndex:35,link:317},{id:"Brazil/West",title:"West",winIndex:16,link:279},{id:"Canada/Atlantic",title:"Atlantic",winIndex:36,link:257},{id:"Canada/Central",title:"Central",winIndex:13,link:329},{id:"Canada/East-Saskatchewan",title:"East-Saskatchewan",winIndex:37,link:310},{id:"Canada/Eastern",title:"Eastern",winIndex:14,link:326},{id:"Canada/Mountain",title:"Mountain",winIndex:15,link:246},{id:"Canada/Newfoundland",title:"Newfoundland",winIndex:38,link:320},{id:"Canada/Pacific",title:"Pacific",winIndex:11,link:327},{id:"Canada/Saskatchewan",title:"Saskatchewan",winIndex:37,link:310},{id:"Canada/Yukon",title:"Yukon",winIndex:11,link:328},{id:"Chile/Continental",title:"Continental",winIndex:39,link:315},{id:"Cuba",title:"Cuba",winIndex:14,link:258},{id:"Egypt",title:"Egypt",winIndex:40,link:189},{id:"Eire",title:"Eire",winIndex:26,link:469},{id:"Europe/Belfast",title:"Belfast",winIndex:26,link:476},{id:"Europe/Tiraspol",title:"Tiraspol",winIndex:4,link:467},{id:"GB",title:"GB",winIndex:26,link:476},{id:"GB-Eire",title:"GB-Eire",winIndex:26,link:476},{id:"GMT+0",title:"GMT+0",winIndex:41,link:150},{id:"GMT-0",title:"GMT-0",winIndex:41,link:150},{id:"GMT0",title:"GMT0",winIndex:41,link:150},{id:"Greenwich",title:"Greenwich",winIndex:41,link:150},{id:"Hongkong",title:"Hongkong",winIndex:19,link:362},{id:"Iceland",title:"Iceland",winIndex:0,link:417},{id:"Iran",title:"Iran",winIndex:42,link:401},{id:"Israel",title:"Israel",winIndex:23,link:367},{id:"Jamaica",title:"Jamaica",winIndex:10,link:270},{id:"Japan",title:"Japan",winIndex:43,link:403},{id:"Kwajalein",title:"Kwajalein",winIndex:44,link:524},{id:"Libya",title:"Libya",winIndex:45,link:200},{id:"Mexico/BajaNorte",title:"BajaNorte",winIndex:11,link:325},{id:"Mexico/BajaSur",title:"BajaSur",winIndex:46,link:282},{id:"Mexico/General",title:"General",winIndex:47,link:285},{id:"NZ",title:"NZ",winIndex:8,link:511},{id:"Navajo",title:"Navajo",winIndex:15,link:244},{id:"PRC",title:"PRC",winIndex:19,link:395},{id:"Pacific/Ponape",title:"Ponape",winIndex:48,link:532},{id:"Pacific/Samoa",title:"Samoa",winIndex:49,link:530},{id:"Pacific/Truk",title:"Truk",winIndex:50,link:512},{id:"Poland",title:"Poland",winIndex:51,link:498},{id:"Portugal",title:"Portugal",winIndex:26,link:475},{id:"ROC",title:"ROC",winIndex:52,link:398},{id:"ROK",title:"ROK",winIndex:53,link:394},{id:"Singapore",title:"Singapore",winIndex:24,link:396},{id:"Turkey",title:"Turkey",winIndex:54,link:472},{id:"US/Alaska",title:"Alaska",winIndex:55,link:203},{id:"US/Arizona",title:"Arizona",winIndex:56,link:302},{id:"US/Central",title:"Central",winIndex:13,link:235},{id:"US/Eastern",title:"Eastern",winIndex:14,link:291},{id:"US/Hawaii",title:"Hawaii",winIndex:57,link:521},{id:"US/Indiana-Starke",title:"Indiana-Starke",winIndex:13,link:261},{id:"US/Michigan",title:"Michigan",winIndex:14,link:245},{id:"US/Mountain",title:"Mountain",winIndex:15,link:244},{id:"US/Pacific",title:"Pacific",winIndex:11,link:276},{id:"US/Samoa",title:"Samoa",winIndex:49,link:530},{id:"W-SU",title:"W-SU",winIndex:58,link:482},{id:"GMT",title:"GMT",winIndex:41,link:150},{id:"Etc/Greenwich",title:"Greenwich",winIndex:41,link:150},{id:"Etc/GMT-0",title:"GMT-0",winIndex:41,link:150},{id:"Etc/GMT+0",title:"GMT+0",winIndex:41,offsets:[0],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT0",title:"GMT0",winIndex:41,link:150},{id:"Europe/Jersey",title:"Jersey",winIndex:26,link:476},{id:"Europe/Guernsey",title:"Guernsey",winIndex:26,link:476},{id:"Europe/Isle_of_Man",title:"Isle of Man",winIndex:26,link:476},{id:"Europe/Mariehamn",title:"Mariehamn",winIndex:59,link:471},{id:"Europe/Busingen",title:"Busingen",winIndex:27,link:500},{id:"Europe/Vatican",title:"Vatican",winIndex:27,link:487},{id:"Europe/San_Marino",title:"San Marino",winIndex:27,link:487},{id:"Europe/Vaduz",title:"Vaduz",winIndex:27,link:500},{id:"Arctic/Longyearbyen",title:"Longyearbyen",winIndex:27,link:483},{id:"Europe/Ljubljana",title:"Ljubljana",winIndex:60,link:462},{id:"Europe/Podgorica",title:"Podgorica",winIndex:60,link:462},{id:"Europe/Sarajevo",title:"Sarajevo",winIndex:60,link:462},{id:"Europe/Skopje",title:"Skopje",winIndex:60,link:462},{id:"Europe/Zagreb",title:"Zagreb",winIndex:60,link:462},{id:"Europe/Bratislava",title:"Bratislava",winIndex:60,link:485},{id:"Asia/Istanbul",title:"Istanbul",winIndex:54,link:472},{id:"Pacific/Johnston",title:"Johnston",winIndex:57,link:521},{id:"US/Pacific-New",title:"Pacific-New",winIndex:11,link:276},{id:"America/Aruba",title:"Aruba",winIndex:16,link:240},{id:"America/Lower_Princes",title:"Lower Princes",winIndex:16,link:240},{id:"America/Kralendijk",title:"Kralendijk",winIndex:16,link:240},{id:"America/Anguilla",title:"Anguilla",winIndex:16,link:303},{id:"America/Dominica",title:"Dominica",winIndex:16,link:303},{id:"America/Grenada",title:"Grenada",winIndex:16,link:303},{id:"America/Guadeloupe",title:"Guadeloupe",winIndex:16,link:303},{id:"America/Marigot",title:"Marigot",winIndex:16,link:303},{id:"America/Montserrat",title:"Montserrat",winIndex:16,link:303},{id:"America/St_Barthelemy",title:"St Barthelemy",winIndex:16,link:303},{id:"America/St_Kitts",title:"St Kitts",winIndex:16,link:303},{id:"America/St_Lucia",title:"St Lucia",winIndex:16,link:303},{id:"America/St_Thomas",title:"St Thomas",winIndex:16,link:303},{id:"America/St_Vincent",title:"St Vincent",winIndex:16,link:303},{id:"America/Tortola",title:"Tortola",winIndex:16,link:303},{id:"Africa/Abidjan",title:"Abidjan",winIndex:0,offsets:[-.2688888888888889,0],offsetIndices:"01",untils:"-u9rgl4|Infinity"},{id:"Africa/Accra",title:"Accra",winIndex:0,offsets:[-.014444444444444446,0,.3333333333333333],offsetIndices:"012121212121212121212121212121212121212121212121",untils:"-r507yk|1e3pak|681qo|cjvlc|681qo|cjvlc|681qo|cjvlc|681qo|clq9c|681qo|cjvlc|681qo|cjvlc|681qo|cjvlc|681qo|clq9c|681qo|cjvlc|681qo|cjvlc|681qo|cjvlc|681qo|clq9c|681qo|cjvlc|681qo|cjvlc|681qo|cjvlc|681qo|clq9c|681qo|cjvlc|681qo|cjvlc|681qo|cjvlc|681qo|clq9c|681qo|cjvlc|681qo|cjvlc|681qo|Infinity"},{id:"Africa/Algiers",title:"Algiers",winIndex:3,offsets:[.15583333333333332,0,1,2],offsetIndices:"0121212121212121232321212122321212",untils:"-uozn3l|2qx1nl|5luo0|8y800|a4tc0|7vc00|auqo0|7idc0|b7pc0|6sg00|cyo00|7ayo0|53c00|9idxc0|3i040|51mw0|253uk0|9o2k0|92040|8l3s0|jutc0|4uy840|3rdzw0|46xc00|7x6o0|2xco40|8n180|7x9g0|9d440|kiqg0|9d440|9q2s0|9cyk0|Infinity"},{id:"Africa/Bissau",title:"Bissau",winIndex:0,offsets:[-1.038888888888889,-1,0],offsetIndices:"012",untils:"-u9reg4|wvoyk4|Infinity"},{id:"Africa/Cairo",title:"Cairo",winIndex:40,offsets:[2,3],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-fdls80|40d80|a31g0|7x3w0|a4w40|aqyk0|80ys0|b07w0|7tk40|b07w0|8jhg0|a8fw0|60go40|7el80|awo40|7v980|awqw0|7tk40|b07w0|7tk40|ayd80|7tk40|ayd80|7tk40|ayd80|7tk40|b07w0|7tk40|ayd80|7tk40|ayd80|7ves0|awik0|7ves0|ayd80|7ves0|awik0|7ves0|awik0|7ves0|awik0|7ves0|ayd80|7ves0|awik0|7ves0|awik0|7ves0|awik0|7ves0|ayd80|7ves0|awik0|7ves0|awik0|7ves0|awik0|7ves0|ayd80|7ves0|awik0|7ves0|f9x80|3i040|eluk0|462s0|ayd80|7ves0|awik0|7ves0|awik0|7ves0|awik0|7ves0|ayd80|7ves0|b5rw0|7m5g0|awik0|7ves0|awik0|7ves0|ayd80|7ves0|awik0|7ves0|awik0|7ves0|aqvs0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7k580|b5xg0|6u7w0|bvus0|6h980|c8tg0|64ak0|cyqs0|5anw0|1jms0|12t80|1w22s0|25p80|1sw40|2vmk0|Infinity"},{id:"Africa/Casablanca",title:"Casablanca",winIndex:61,offsets:[-.5055555555555555,0,1],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-tblt9g|di7nxg|3huk0|51k40|2znuk0|2dp9g0|776k0|8nt2s0|657w0|3ifxg0|3jp80|va040|4qak0|e1ms0|7pp80|cnms0|3afw0|2xi840|xqqk0|bp56s0|4qak0|e1ms0|45x80|d2g40|51ek0|c8tg0|64ak0|e1sc0|47uo0|1leo0|23xc0|asw00|3lmo0|1qyo0|40g00|7x6o0|4mo00|1stc0|4deo0|7x6o0|3ylc0|1stc0|51hc0|7x6o0|3lmo0|1stc0|5reo0|7k800|2vpc0|25s00|64dc0|7k800|2iqo0|1stc0|6uao0|7x6o0|1stc0|1stc0|779c0|7x6o0|12w00|1stc0|7x6o0|7x6o0|pxc0|1stc0|8n400|9q000|902o0|902o0|9q000|8n400|a2yo0|8a5c0|afxc0|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|afxc0|8a5c0|9q000|Infinity"},{id:"Africa/Ceuta",title:"Ceuta",winIndex:62,offsets:[0,1,2],offsetIndices:"010101010101010101010121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-qyiys0|7x3w0|2vt440|8so00|st1c0|8n400|9q000|902o0|a2yo0|902o0|k69g40|657w0|3ifxg0|3jp80|va040|4qak0|e1ms0|7pp80|cnms0|3afw0|2xi840|129us0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Africa/El_Aaiun",title:"El Aaiun",winIndex:61,offsets:[-.88,-1,0,1],offsetIndices:"01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-isdxk0|m2g0c0|vek0|4qak0|e1ms0|7pp80|cnms0|3afw0|fke5g0|4qak0|e1ms0|45x80|d2g40|51ek0|c8tg0|64ak0|e1sc0|47uo0|1leo0|23xc0|asw00|3lmo0|1qyo0|40g00|7x6o0|4mo00|1stc0|4deo0|7x6o0|3ylc0|1stc0|51hc0|7x6o0|3lmo0|1stc0|5reo0|7k800|2vpc0|25s00|64dc0|7k800|2iqo0|1stc0|6uao0|7x6o0|1stc0|1stc0|779c0|7x6o0|12w00|1stc0|7x6o0|7x6o0|pxc0|1stc0|8n400|9q000|902o0|902o0|9q000|8n400|a2yo0|8a5c0|afxc0|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|afxc0|8a5c0|9q000|Infinity"},{id:"Africa/Johannesburg",title:"Johannesburg",winIndex:2,offsets:[1.5,2,3],offsetIndices:"012121",untils:"-yvtdi0|kn7o60|9cyk0|9d440|9cyk0|Infinity"},{id:"Africa/Khartoum",title:"Khartoum",winIndex:1,offsets:[2.1688888888888886,2,3],offsetIndices:"01212121212121212121212121212121212",untils:"-kcrsow|kixv4w|8l6k0|a4w40|8n180|a6qs0|8n180|a31g0|8ovw0|a16s0|8qqk0|9zc40|8sl80|9xhg0|8wak0|9ts40|8y580|a4w40|8n180|a31g0|8ovw0|a16s0|8sl80|9xhg0|8ufw0|9vms0|8wak0|9ts40|8y580|a4w40|8ovw0|a16s0|8qqk0|7frw40|Infinity"},{id:"Africa/Lagos",title:"Lagos",winIndex:3,offsets:[.22666666666666666,1],offsetIndices:"01",untils:"-q9qbao|Infinity"},{id:"Africa/Maputo",title:"Maputo",winIndex:2,offsets:[2.1722222222222225,2],offsetIndices:"01",untils:"-yvtfd8|Infinity"},{id:"Africa/Monrovia",title:"Monrovia",winIndex:0,offsets:[-.7188888888888889,-.7416666666666667,0],offsetIndices:"012",untils:"-qj6zc4|rqyyqa|Infinity"},{id:"Africa/Nairobi",title:"Nairobi",winIndex:1,offsets:[2.454444444444445,3,2.5,2.75],offsetIndices:"01231",untils:"-lnsetg|s8mhg|57v020|afrrb0|Infinity"},{id:"Africa/Ndjamena",title:"Ndjamena",winIndex:3,offsets:[1.0033333333333334,1,2],offsetIndices:"0121",untils:"-u9rk4c|zdk5cc|7iak0|Infinity"},{id:"Africa/Tripoli",title:"Tripoli",winIndex:45,offsets:[.8788888888888889,1,2],offsetIndices:"012121212121212121212121212122122",untils:"-q3gfrw|gl6ajw|422c0|xado0|4bbo0|wrpg0|4s580|1kdpg0|c05bw0|4mqs0|9et80|9d440|9et80|9eys0|9et80|9mdg0|95jw0|9io40|9cyk0|99es0|9et80|9eys0|9et80|9d440|9et80|b2840|3cf3w0|9kis0|9et80|7vqyw0|75eo0|asw00|Infinity"},{id:"Africa/Tunis",title:"Tunis",winIndex:3,offsets:[.15583333333333332,1,2],offsetIndices:"0121212121212121212121212121212121",untils:"-uozn3l|enxevl|b5uo0|53c00|u8w00|7x9g0|c8w80|7k800|z3w0|ew40|8bx80|9d440|9nx00|925o0|8l100|gi3440|7k800|b9k00|7vc00|51mw00|5ytc0|9d1c0|9d1c0|b9k00|7thc0|7m0tc0|7tk40|93us0|b5uo0|7k800|b5uo0|7x6o0|asw00|Infinity"},{id:"Africa/Windhoek",title:"Windhoek",winIndex:63,offsets:[1.5,2,3,1],offsetIndices:"012113131313131313131313131313131313131313131313131313131313131313131313131313131313131313131",untils:"-yvtdi0|kn7o60|9cyk0|oj2nw0|23tmo0|7xf00|ast80|7x9g0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7x9g0|ast80|7x9g0|Infinity"},{id:"America/Anchorage",title:"Anchorage",winIndex:55,offsets:[-10,-9,-8],offsetIndices:"011001010101010101010101010101010111212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-ek1qo0|1tyx80|2e400|b7yik0|12y080|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|1l940|7rs80|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Antigua",title:"Antigua",winIndex:16,link:303},{id:"America/Araguaina",title:"Araguaina",winIndex:64,offsets:[-3.2133333333333334,-3,-2],offsetIndices:"0121212121212121212121212121212121212121212121212121",untils:"-t85j2o|99k8mo|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|2yl440|64ak0|c8tg0|6u7w0|bxpg0|7iak0|biw40|6u7w0|biw40|7k580|biw40|6u7w0|c8tg0|6h980|dbpg0|5ed80|51udg0|64ak0|Infinity"},{id:"America/Argentina/Buenos_Aires",title:"Buenos Aires",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"0121212121212121212121212121212121212121212323232323232223232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6u7w0|bvus0|6u7w0|bvus0|776k0|3fidg0|7thc0|430lc0|3yik0|b5xg0|7k580|Infinity"},{id:"America/Argentina/Catamarca",title:"Catamarca",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"0121212121212121212121212121212121212121212323232313232221232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6u7w0|bvxk0|6u540|bvus0|776k0|3fidg0|7thc0|27s800|z9g0|1u93w0|3yik0|Infinity"},{id:"America/Argentina/Cordoba",title:"Cordoba",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"0121212121212121212121212121212121212121212323232313232223232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6u7w0|bvxk0|6u540|bvus0|776k0|3fidg0|7thc0|430lc0|3yik0|b5xg0|7k580|Infinity"},{id:"America/Argentina/Jujuy",title:"Jujuy",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"01212121212121212121212121212121212121212123232312132322232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|c8w80|776k0|ag040|7k2g0|bvus0|776k0|3fidg0|7thc0|430lc0|3yik0|Infinity"},{id:"America/Argentina/La_Rioja",title:"La Rioja",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"01212121212121212121212121212121212121212123232323123232221232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6qik0|3g880|8jbw0|6u7w0|bvus0|776k0|3fidg0|7thc0|27s800|z9g0|1u93w0|3yik0|Infinity"},{id:"America/Argentina/Mendoza",title:"Mendoza",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"0121212121212121212121212121212121212121212323231212132221232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bktk0|71mk0|bqas0|73h80|bvus0|773s0|3fidg0|7thc0|27bk00|6hes0|1p7mk0|3yik0|Infinity"},{id:"America/Argentina/Rio_Gallegos",title:"Rio Gallegos",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"0121212121212121212121212121212121212121212323232323232221232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6u7w0|bvus0|6u7w0|bvus0|776k0|3fidg0|7thc0|27s800|z9g0|1u93w0|3yik0|Infinity"},{id:"America/Argentina/Salta",title:"Salta",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"01212121212121212121212121212121212121212123232323132322232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6u7w0|bvxk0|6u540|bvus0|776k0|3fidg0|7thc0|430lc0|3yik0|Infinity"},{id:"America/Argentina/San_Juan",title:"San Juan",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"01212121212121212121212121212121212121212123232323123232221232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6qik0|3g880|8jbw0|6u7w0|bvus0|776k0|3fidg0|7thc0|27qdc0|2txg0|1sgak0|3yik0|Infinity"},{id:"America/Argentina/San_Luis",title:"San Luis",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"01212121212121212121212121212121212121212123232312122212321212",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|7pp80|b2aw0|71mk0|4qg40|4conw0|7thc0|27qdc0|2txg0|1sgak0|14nw0|2gys0|b5xg0|7k580|b5xg0|Infinity"},{id:"America/Argentina/Tucuman",title:"Tucuman",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"012121212121212121212121212121212121212121232323231323222123232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6u7w0|bvxk0|6u540|bvus0|776k0|3fidg0|7thc0|27s800|mas0|1um2k0|3yik0|b5xg0|7k580|Infinity"},{id:"America/Argentina/Ushuaia",title:"Ushuaia",winIndex:9,offsets:[-4.28,-4,-3,-2],offsetIndices:"0121212121212121212121212121212121212121212323232323232221232",untils:"-px7ys0|5iv8k0|67zw0|a4w40|73h80|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|cls40|66580|cls40|66580|cls40|66580|cls40|67zw0|6a040|hy7w0|6a040|xovw0|3uys0|18nbw0|b0dg0|8ve2k0|3uys0|3yik0|bqas0|71mk0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|7m2qs0|4tzw0|biw40|776k0|bvus0|6u7w0|bvus0|6u7w0|bvus0|776k0|3fidg0|7thc0|27oio0|12ys0|1u93w0|3yik0|Infinity"},{id:"America/Asuncion",title:"Asuncion",winIndex:65,offsets:[-3.844444444444444,-4,-3],offsetIndices:"012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212",untils:"-jy93zk|ldwofk|s4vw0|s6w40|7tek0|b0dg0|7rjw0|b0dg0|7rjw0|b0dg0|9cyk0|9eys0|9et80|9eys0|9cyk0|9eys0|9cyk0|9eys0|9cyk0|9eys0|9et80|9eys0|9cyk0|9eys0|9cyk0|9eys0|9cyk0|9eys0|9et80|9eys0|9cyk0|ahus0|8a2k0|9eys0|9cyk0|9o840|7k580|b7s40|93p80|9gtg0|7nuk0|b42s0|7lzw0|b5xg0|7tek0|b9ms0|776k0|biw40|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|9cyk0|7kas0|b5rw0|7x9g0|ast80|a31g0|7k580|b5xg0|7k580|b5xg0|7k580|biw40|776k0|biw40|776k0|biw40|8zzw0|905g0|9px80|905g0|9px80|9d440|8n180|a31g0|8n180|a31g0|8n180|a31g0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|a31g0|8n180|a31g0|8n180|a31g0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|a31g0|8n180|a31g0|8n180|a31g0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|a31g0|8n180|a31g0|8n180|a31g0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|a31g0|8n180|a31g0|8n180|a31g0|Infinity"},{id:"America/Atikokan",title:"Atikokan",winIndex:10,offsets:[-6,-5],offsetIndices:"0101111",untils:"-qzov40|a2vw0|bfxjw0|pmdk0|1tz8c0|2dsw0|Infinity"},{id:"America/Bahia",title:"Bahia",winIndex:66,offsets:[-2.5677777777777777,-3,-2],offsetIndices:"01212121212121212121212121212121212121212121212121212121212121",untils:"-t85kv8|99kaf8|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|cyqs0|64ak0|cls40|5rbw0|dbpg0|51ek0|dbpg0|6h980|c8tg0|6h980|c8tg0|64ak0|c8tg0|6u7w0|bxpg0|7iak0|biw40|6u7w0|biw40|7k580|biw40|6u7w0|c8tg0|6h980|dbpg0|5ed80|4irc40|6u7w0|Infinity"},{id:"America/Bahia_Banderas",title:"Bahia Banderas",winIndex:47,offsets:[-7.016666666666667,-7,-6,-8,-5],offsetIndices:"0121212131212121212121212121212121212142424242424242424242424242424242424242424242424242424242",untils:"-p1u4k0|2u7jw0|1sgdc0|8n400|7thc0|9eys0|591h80|3ie2s0|axvpg0|dpgw40|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|asqg0|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|Infinity"},{id:"America/Barbados",
title:"Barbados",winIndex:16,offsets:[-3.974722222222222,-4,-3],offsetIndices:"00121212121",untils:"-o0aiaj|46b400|npv1mj|5rbw0|a31g0|8n180|a31g0|8n180|ag040|84ik0|Infinity"},{id:"America/Belem",title:"Belem",winIndex:64,offsets:[-3.232222222222222,-3,-2],offsetIndices:"012121212121212121212121212121",untils:"-t85j0s|99k8ks|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|Infinity"},{id:"America/Belize",title:"Belize",winIndex:67,offsets:[-5.88,-6,-5.5,-5],offsetIndices:"01212121212121212121212121212121212121212121212121213131",untils:"-u52ic0|3edkc0|6ham0|c8s20|6u9a0|bvte0|6u9a0|bvte0|6u9a0|c8s20|6ham0|c8s20|6ham0|c8s20|6u9a0|bvte0|6u9a0|bvte0|6u9a0|bvte0|6u9a0|c8s20|6ham0|c8s20|6ham0|c8s20|6u9a0|bvte0|6u9a0|bvte0|6u9a0|c8s20|6ham0|c8s20|6ham0|c8s20|6ham0|c8s20|6u9a0|bvte0|6u9a0|bvte0|6u9a0|c8s20|6ham0|c8s20|6ham0|c8s20|6u9a0|bvte0|6u9a0|g2t2q0|3e580|4mcys0|2vmk0|Infinity"},{id:"America/Blanc-Sablon",title:"Blanc-Sablon",winIndex:16,offsets:[-4,-3],offsetIndices:"010110",untils:"-qzp0o0|a2vw0|c5jxg0|1tzdw0|2dnc0|Infinity"},{id:"America/Boa_Vista",title:"Boa Vista",winIndex:16,offsets:[-4.044444444444444,-4,-3],offsetIndices:"0121212121212121212121212121212121",untils:"-t85grk|99k93k|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|62xk40|7k580|biw40|cvw0|Infinity"},{id:"America/Bogota",title:"Bogota",winIndex:10,offsets:[-4.937777777777778,-5,-4],offsetIndices:"0121",untils:"-srdoy8|14f1hi8|ha580|Infinity"},{id:"America/Boise",title:"Boise",winIndex:15,offsets:[-8,-7,-6],offsetIndices:"0101012212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-r0emw0|ast80|7x9g0|ast80|1um840|9s7jw0|1tz5k0|2dvo0|b9gdg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|51k40|doik0|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Cambridge_Bay",title:"Cambridge Bay",winIndex:15,offsets:[0,-7,-6,-5],offsetIndices:"0122131212121212121212121212121212121212121212233221212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-q3gdc0|bjeec0|1tz5k0|2dvo0|a7n3w0|9q000|7k85k0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x6o0|ast80|ct40|7kj40|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Campo_Grande",title:"Campo Grande",winIndex:68,offsets:[-3.641111111111111,-4,-3],offsetIndices:"012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212",untils:"-t85hvw|99ka7w|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|cyqs0|64ak0|cls40|5rbw0|dbpg0|51ek0|dbpg0|6h980|c8tg0|6h980|c8tg0|64ak0|c8tg0|6u7w0|bxpg0|7iak0|biw40|6u7w0|biw40|7k580|biw40|6u7w0|c8tg0|6h980|dbpg0|5ed80|cls40|64ak0|dfes0|5nmk0|c8tg0|6h980|dbpg0|5rbw0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6u7w0|c8tg0|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6h980|c8tg0|6h980|cls40|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6u7w0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6h980|c8tg0|6h980|cls40|64ak0|cls40|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6u7w0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|Infinity"},{id:"America/Cancun",title:"Cancun",winIndex:47,offsets:[-5.7844444444444445,-6,-5,-4],offsetIndices:"0123232321212121212121212121212121212121212",untils:"-p1u7c0|vauo00|7ggw40|afuk0|8a840|afuk0|8a840|64ak0|4bms0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|51k40|Infinity"},{id:"America/Caracas",title:"Caracas",winIndex:69,offsets:[-4.461111111111111,-4.5,-4],offsetIndices:"01212",untils:"-u7lcxw|rlo83w|meoxm0|4dps00|Infinity"},{id:"America/Cayenne",title:"Cayenne",winIndex:64,offsets:[-3.488888888888889,-4,-3],offsetIndices:"012",untils:"-uj7yb4|tcw6r4|Infinity"},{id:"America/Cayman",title:"Cayman",winIndex:10,link:299},{id:"America/Chicago",title:"Chicago",winIndex:13,offsets:[-6,-5],offsetIndices:"01010101010101010101010101010101010101010101010101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0esg0|ast80|7x9g0|ast80|bvus0|776k0|7kas0|b5rw0|9d440|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|7x9g0|dbjw0|8a840|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|6w840|1tz8c0|2dsw0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Chihuahua",title:"Chihuahua",winIndex:46,offsets:[-7.072222222222222,-7,-6,-5],offsetIndices:"0121212323221212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-p1u4k0|2u7jw0|1sgdc0|8n400|7thc0|9eys0|xes2s0|afuk0|8a840|afuk0|8aaw0|afuk0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|Infinity"},{id:"America/Costa_Rica",title:"Costa Rica",winIndex:67,offsets:[-5.60361111111111,-6,-5],offsetIndices:"0121212121",untils:"-pjw8fn|ubtl3n|51ek0|doo40|51ek0|5jso40|8drw0|acas0|2xh80|Infinity"},{id:"America/Creston",title:"Creston",winIndex:56,offsets:[-7,-8],offsetIndices:"010",untils:"-rshz80|vbus0|Infinity"},{id:"America/Cuiaba",title:"Cuiaba",winIndex:68,offsets:[-3.738888888888889,-4,-3],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212",untils:"-t85hm4|99k9y4|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|cyqs0|64ak0|cls40|5rbw0|dbpg0|51ek0|dbpg0|6h980|c8tg0|6h980|c8tg0|64ak0|c8tg0|6u7w0|bxpg0|7iak0|biw40|6u7w0|biw40|7k580|biw40|6u7w0|c8tg0|6h980|dbpg0|5ed80|w5hg0|5nmk0|c8tg0|6h980|dbpg0|5rbw0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6u7w0|c8tg0|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6h980|c8tg0|6h980|cls40|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6u7w0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6h980|c8tg0|6h980|cls40|64ak0|cls40|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6u7w0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|Infinity"},{id:"America/Curacao",title:"Curacao",winIndex:16,offsets:[-4.59638888888889,-4.5,-4],offsetIndices:"012",untils:"-u7lckd|rlo7qd|Infinity"},{id:"America/Danmarkshavn",title:"Danmarkshavn",winIndex:41,offsets:[-1.2444444444444445,-3,-2,0],offsetIndices:"01212121212121212121212121212121213",untils:"-rvusjk|x8nx3k|8zrk0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|53hk0|Infinity"},{id:"America/Dawson",title:"Dawson",winIndex:11,offsets:[-9,-8,-7],offsetIndices:"0101011020121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-qzoms0|a2vw0|asys0|882c0|bmiwc0|1tz000|2e180|a7n3w0|9q000|465k00|3e2is0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Dawson_Creek",title:"Dawson Creek",winIndex:56,offsets:[-8,-7],offsetIndices:"0101101010101010101010101010101010101010101010101010101011",untils:"-qzopk0|a2vw0|c5jxg0|1tz2s0|2dyg0|tj1g0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|69uk0|Infinity"},{id:"America/Denver",title:"Denver",winIndex:15,offsets:[-7,-6],offsetIndices:"01010101011010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0epo0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|2vmk0|ataw40|1tz5k0|2dvo0|a7n9g0|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Detroit",title:"Detroit",winIndex:14,offsets:[-5.536388888888889,-6,-5,-4],offsetIndices:"01233232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-xx8dyd|5eraud|dyeyk0|1tzb40|2dq40|1c9440|7x3w0|9rlhg0|71mk0|2vcg40|9cyk0|3lpg0|f4d80|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Edmonton",title:"Edmonton",winIndex:15,offsets:[-7.564444444444445,-7,-6],offsetIndices:"01212121212121221212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-x1yazk|629ink|a2vw0|8n6s0|29ek0|h6lg0|9px80|905g0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|9l0g40|1tz5k0|2dvo0|tj1g0|7x3w0|a80840|9cyk0|s36s0|9cyk0|1b6840|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Eirunepe",title:"Eirunepe",winIndex:10,offsets:[-4.657777777777778,-5,-4],offsetIndices:"0121212121212121212121212121212121",untils:"-t85f28|99ka68|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|2yy2s0|6h980|7hg2s0|2t2t80|Infinity"},{id:"America/El_Salvador",title:"El Salvador",winIndex:67,offsets:[-5.946666666666667,-6,-5],offsetIndices:"012121",untils:"-pkm4tc|ymao5c|7k580|b5xg0|7k580|Infinity"},{id:"America/Fortaleza",title:"Fortaleza",winIndex:64,offsets:[-2.566666666666667,-3,-2],offsetIndices:"0121212121212121212121212121212121212121",untils:"-t85kvc|99kafc|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|514g40|7k580|biw40|puk0|id6s0|6h980|Infinity"},{id:"America/Glace_Bay",title:"Glace Bay",winIndex:36,offsets:[-3.996666666666667,-4,-3],offsetIndices:"012122121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-z94kwc|89fk8c|a2vw0|c5jxg0|1tzdw0|2dnc0|3y8g40|7x3w0|9pa5g0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Godthab",title:"Godthab",winIndex:70,offsets:[-3.448888888888889,-3,-2],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-rvumf4|x8nqz4|8zrk0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"America/Goose_Bay",title:"Goose Bay",winIndex:36,offsets:[-3.5144444444444445,-2.5144444444444445,-3.5,-2.5,-4,-3,-2],offsetIndices:"010232323232323233232323232323232323232323232323232323232324545454545454545454545454545454545454545454546454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454",untils:"-qzp20k|a2vw0|8kjbw0|kzjyk|7k580|b5xg0|7k580|b5xg0|7k580|biw40|776k0|biw40|7k580|b5xg0|7k580|b5xg0|1pb260|2dly0|biw40|7k580|b5xg0|7k580|b5xg0|7k580|b5xg0|7k580|biw40|7k580|ag040|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|6y2s0|22420|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a2lo|afuk0|8a840|asqg0|7xc80|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8tec|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Grand_Turk",title:"Grand Turk",winIndex:16,offsets:[-5.119722222222222,-5,-4],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212122",untils:"-u85og1|z3brw1|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Guatemala",title:"Guatemala",winIndex:67,offsets:[-6.0344444444444445,-6,-5],offsetIndices:"0121212121",untils:"-qqqskk|ss0akk|4ofw0|4tidg0|6djw0|3wwas0|8n180|7n5ms0|7x3w0|Infinity"},{id:"America/Guayaquil",title:"Guayaquil",winIndex:10,offsets:[-5.233333333333333,-5],offsetIndices:"01",untils:"-kcr84o|Infinity"},{id:"America/Guyana",title:"Guyana",winIndex:16,offsets:[-3.8777777777777778,-3.75,-3,-4],offsetIndices:"01123",untils:"-smcak8|qqnjn8|4sh9c0|81rf90|Infinity"},{id:"America/Halifax",title:"Halifax",winIndex:36,offsets:[-4.24,-4,-3],offsetIndices:"0121212121212121212121212121212121212121212121212122121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-z94k80|777go0|9et80|st9o0|a2vw0|ssyk0|5rbw0|cv1g0|69uk0|c6ys0|6kyk0|ci2s0|67zw0|ci2s0|6w2k0|bu040|7lzw0|bu040|66580|bu040|7lzw0|bu040|64ak0|cls40|5v180|cv1g0|6j3w0|c6ys0|79180|b42s0|7lzw0|b42s0|7yyk0|bu040|64ak0|dbpg0|66580|cls40|5ed80|bu040|7lzw0|b42s0|7lzw0|cjxg0|66580|bh1g0|7lzw0|b42s0|7lzw0|6uj00|1tzdw0|2dnc0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|tw040|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|tw040|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|1cm2s0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Havana",title:"Havana",winIndex:14,offsets:[-5.493333333333334,-5,-4],offsetIndices:"012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-n7762o|1icfyo|69uk0|62s040|4ofw0|e1ms0|51ek0|e1ms0|4ofw0|1fhs40|4ofw0|e1ms0|4ofw0|9s9k40|67zw0|cedg0|6h980|9o840|7yyk0|b5xg0|7k580|bvus0|9cyk0|9d440|9cyk0|9d440|9px80|9d440|8a2k0|ag040|8bx80|ae5g0|8drw0|acas0|9cyk0|9d440|9px80|905g0|9px80|9q2s0|7x3w0|8a840|ast80|7x9g0|ast80|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|8a2k0|ag040|8a2k0|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|905g0|a2vw0|905g0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9d1c0|9d1c0|9q000|8n400|asw00|7x6o0|b5uo0|7x6o0|asw00|7x6o0|asw00|8a5c0|afxc0|8a5c0|afxc0|7x6o0|1cm000|6uao0|bvs00|779c0|bitc0|6uao0|bvs00|779c0|bvs00|779c0|c8qo0|779c0|b5uo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|Infinity"},{id:"America/Hermosillo",title:"Hermosillo",winIndex:56,offsets:[-7.397777777777778,-7,-6,-8],offsetIndices:"0121212131212121",untils:"-p1u4k0|2u7jw0|1sgdc0|8n400|7thc0|9eys0|591h80|3ie2s0|axvpg0|dpgw40|afuk0|8a840|afuk0|8a840|afuk0|Infinity"},{id:"America/Indiana/Indianapolis",title:"Indianapolis",winIndex:12},{id:"America/Indiana/Knox",title:"Knox",winIndex:13,offsets:[-6,-5],offsetIndices:"0101011010101010101010101010101010101010101010101010101010101010101010101010101010101010111010101010101010101010101010101010101010101010101010101010101010",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|tj1g0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9px80|9d440|9cyk0|9d440|7x3w0|asys0|7x3w0|asys0|9cyk0|9d440|9px80|9d440|9cyk0|9d440|s3180|1twas0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|7j5400|asw00|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Indiana/Marengo",title:"Marengo",winIndex:12,offsets:[-6,-5,-4],offsetIndices:"0101011010101010101010101212121212111212121212121212121212121212121212121212121212121212121212121212121",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|2wsas0|7x3w0|1c9440|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|465h80|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4g00|64dc0|clmk0|fvt9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Indiana/Petersburg",title:"Petersburg",winIndex:14,offsets:[-6,-5,-4],offsetIndices:"01010110101010101010101010101010101010101010101010111011212121212121212121212121212121212121212121212121212121212121",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|501ek0|7kas0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|sfzw0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|eu02o0|asw00|6udg0|c8nw0|6hc00|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Indiana/Tell_City",title:"Tell City",winIndex:13,offsets:[-6,-5,-4],offsetIndices:"01010110101010101010101010101010121211010101010101010101010101010101010101010101010101010101010101010",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|asys0|7x3w0|3fidg0|7x3w0|asys0|7x3w0|b5rw0|7kas0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9px80|9d440|7k580|b5xg0|9cyk0|9d440|9cyk0|9d440|2lz980|9cyk0|9d440|9cyk0|ihslg0|asw00|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Indiana/Vevay",title:"Vevay",winIndex:12,offsets:[-6,-5,-4],offsetIndices:"010101101212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|4gyis0|7txx80|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|hfzhg0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Indiana/Vincennes",title:"Vincennes",winIndex:14,offsets:[-6,-5,-4],offsetIndices:"01010110101010101010101010101010121211011212121212121212121212121212121212121212121212121212121212121",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|asys0|7x3w0|3fidg0|7x3w0|asys0|7x3w0|b5rw0|7kas0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9px80|9d440|7k580|b5xg0|9cyk0|9d440|9cyk0|9d440|2lz980|9cyk0|9d440|9cyk0|ihslg0|asw00|6udg0|c8nw0|6hc00|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Indiana/Winamac",title:"Winamac",winIndex:14,offsets:[-6,-5,-4],offsetIndices:"01010110101010101010101010101010101010121211021212121212121212121212121212121212121212121212121212121212121",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9px80|9d440|9cyk0|9d440|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|465h80|9cyk0|9d440|9cyk0|ihslg0|asw00|6udg0|c8l40|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Inuvik",title:"Inuvik",winIndex:15,offsets:[0,-8,-6,-7],offsetIndices:"0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323",untils:"-8ve5c0|6fce80|9q000|71i2w0|ipzw0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Iqaluit",title:"Iqaluit",winIndex:14,offsets:[0,-4,-5,-3,-6],offsetIndices:"01123212121212121212121212121212121212121212142212121212121212121212121212121212121212121212121212121212121212121212121212",untils:"-eb6ao0|1l3h80|2dq40|a7n3w0|9q000|7k85k0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7xc80|ast80|7x6o0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"
},{id:"America/Jamaica",title:"Jamaica",winIndex:10,offsets:[-5.119722222222222,-5,-4],offsetIndices:"0121212121212121212121",untils:"-u85og1|wbl181|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|Infinity"},{id:"America/Juneau",title:"Juneau",winIndex:55,offsets:[-8,-7,-9],offsetIndices:"01101010101010101010101010001010122020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202",untils:"-ek1w80|1tz2s0|2dyg0|cawis0|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9d1c0|9d1c0|9cyk0|9d440|9px80|905g0|9px80|1leo0|7rs80|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Kentucky/Louisville",title:"Louisville",winIndex:14,offsets:[-6,-5,-4],offsetIndices:"0101010101101010101010101010101010101121212121212111212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-r0esg0|ast80|7x9g0|ast80|sg5g0|6bp80|a98o40|7x3w0|6w840|1tz8c0|2dsw0|4s580|7tk40|gxc40|1s3bw0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|4bh80|3j3xc0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4g00|64dc0|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Kentucky/Monticello",title:"Monticello",winIndex:14,offsets:[-6,-5,-4],offsetIndices:"0101011010101010101010101010101010101010101010101010101010101010101010101121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|bs6g40|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x6o0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/La_Paz",title:"La Paz",winIndex:16,offsets:[-4.543333333333334,-3.5433333333333334,-4],offsetIndices:"012",untils:"-jxzspo|84ik0|Infinity"},{id:"America/Lima",title:"Lima",winIndex:10,offsets:[-5.1433333333333335,-5,-4],offsetIndices:"0121212121212121",untils:"-w25lpo|fcxjlo|4ml80|93us0|9cyk0|9d440|9cyk0|nw16s0|4ml80|e5c40|4ml80|1fr1g0|4ml80|1yiys0|4ml80|Infinity"},{id:"America/Los_Angeles",title:"Los Angeles",winIndex:11,offsets:[-8,-7],offsetIndices:"010101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0emw0|ast80|7x9g0|ast80|bmtus0|1tz2s0|2dyg0|1a3c40|f2ik0|owdg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Maceio",title:"Maceio",winIndex:64,offsets:[-2.381111111111111,-3,-2],offsetIndices:"012121212121212121212121212121212121212121",untils:"-t85ldw|99kaxw|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|2yl440|64ak0|1wf1g0|7k580|biw40|puk0|id6s0|6h980|Infinity"},{id:"America/Managua",title:"Managua",winIndex:67,offsets:[-5.753333333333333,-6,-5],offsetIndices:"0121212121212121",untils:"-ijh6oo|ka1i0o|xqqk0|24p6s0|53980|dmtg0|53980|60itw0|dq240|53es0|235h80|4beis0|8zzw0|at4c0|7x140|Infinity"},{id:"America/Manaus",title:"Manaus",winIndex:16,offsets:[-4.001111111111111,-4,-3],offsetIndices:"01212121212121212121212121212121",untils:"-t85gvw|99k97w|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|2yy2s0|6h980|Infinity"},{id:"America/Martinique",title:"Martinique",winIndex:16,offsets:[-4.072222222222222,-4,-3],offsetIndices:"0121",untils:"-umcvcs|zz5x4s|8zzw0|Infinity"},{id:"America/Matamoros",title:"Matamoros",winIndex:13,offsets:[-6.666666666666667,-6,-5],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-p1u7c0|ykt480|ast80|3vppg0|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|77c40|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Mazatlan",title:"Mazatlan",winIndex:46,offsets:[-7.094444444444445,-7,-6,-8],offsetIndices:"0121212131212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-p1u4k0|2u7jw0|1sgdc0|8n400|7thc0|9eys0|591h80|3ie2s0|axvpg0|dpgw40|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|Infinity"},{id:"America/Menominee",title:"Menominee",winIndex:13,offsets:[-6,-5],offsetIndices:"01010110101011010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|asys0|7x3w0|a7n9g0|9px80|1at9g0|2396k0|9d1c0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Merida",title:"Merida",winIndex:47,offsets:[-5.974444444444444,-6,-5],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-p1u7c0|vauo00|hoyk0|6ys0c0|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|Infinity"},{id:"America/Mexico_City",title:"Mexico City",winIndex:47,offsets:[-6.61,-7,-6,-5],offsetIndices:"012121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-p1u4k0|2u7jw0|1sgdc0|8n400|7thc0|9eys0|3knek0|776k0|rf440|5t6k0|1evk40|71mk0|30p1g0|8n180|nufxo0|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|Infinity"},{id:"America/Moncton",title:"Moncton",winIndex:36,offsets:[-5,-4,-3],offsetIndices:"012121212121212121212122121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-z94i40|89fhg0|a2vw0|7mqqo0|4ofw0|e1ms0|4ofw0|e1ms0|4ofw0|e1ms0|4ofw0|e1ms0|4ofw0|e1ms0|4ofw0|dmtg0|64ak0|cao40|6fek0|bkqs0|7iak0|6y5k0|1tzdw0|2dnc0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|s36s0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a2lo|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6uiyc|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Monterrey",title:"Monterrey",winIndex:47,offsets:[-6.687777777777778,-6,-5],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-p1u7c0|ykt480|ast80|3vppg0|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|Infinity"},{id:"America/Montevideo",title:"Montevideo",winIndex:71,offsets:[-3.7455555555555553,-3.5,-3,-2,-2.5],offsetIndices:"012121212121212121212121213232323232324242423243232323232323232323232323232323232323232",untils:"-px809g|1s8xzg|9czy0|9exe0|9czy0|9exe0|9czy0|3ydyq0|7x5a0|asxe0|7x5a0|asxe0|7x5a0|b5w20|7k6m0|b5w20|7k6m0|b5w20|7k6m0|b5w20|7x5a0|asxe0|7x5a0|6do20|7vam0|humq0|4mju0|8g9s40|8zzw0|38qs0|2inw0|2nf9g0|8zzw0|9q2s0|aunw0|7ves0|awik0|ar440|9pym0|91yq0|9pym0|91yq0|9pym0|q6mq0|5t6k0|tfc40|erfy0|xdta0|m2is0|62fw0|s6w40|ayd80|3z5s40|4ofw0|dzs40|4ofw0|bvus0|6h980|bvus0|6u7w0|c8tg0|6h980|bvus0|6u7w0|614qs0|9q2s0|a31g0|7x3w0|ag040|8a2k0|asys0|7x3w0|asys0|7x3w0|asys0|8a2k0|ag040|8a2k0|ag040|8a2k0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|Infinity"},{id:"America/Montreal",title:"Montreal",winIndex:14,link:326},{id:"America/Nassau",title:"Nassau",winIndex:14,offsets:[-5.158333333333333,-5,-4],offsetIndices:"012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-u6m4c6|r7u7s6|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/New_York",title:"New York",winIndex:14,offsets:[-5,-4],offsetIndices:"01010101010101010101010101010101010101010101010101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0ev80|ast80|7x9g0|ast80|7x9g0|b5rw0|905g0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|6w840|1tzb40|2dq40|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Nipigon",title:"Nipigon",winIndex:14,offsets:[-5,-4],offsetIndices:"010111010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-qzoxw0|a2vw0|bfxjw0|pmdk0|1tzb40|2dq40|ewvus0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Nome",title:"Nome",winIndex:55,offsets:[-11,-10,-9,-8],offsetIndices:"011001010101010101010101010101010122323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-ek1nw0|1tyug0|2e6s0|b7yik0|12y080|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|1l6c0|7rs80|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Noronha",title:"Noronha",winIndex:34,offsets:[-2.161111111111111,-2,-1],offsetIndices:"0121212121212121212121212121212121212121",untils:"-t85lzw|99k8rw|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|514g40|7k580|biw40|cvw0|iq5g0|6h980|Infinity"},{id:"America/North_Dakota/Beulah",title:"Beulah",winIndex:13,offsets:[-7,-6,-5],offsetIndices:"010101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101011212121212121212121212121212121212121212121212121212121",untils:"-r0epo0|ast80|7x9g0|ast80|bmtus0|1tz5k0|2dvo0|b9gdg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hc00|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/North_Dakota/Center",title:"Center",winIndex:13,offsets:[-7,-6,-5],offsetIndices:"010101101010101010101010101010101010101010101010101010101011212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-r0epo0|ast80|7x9g0|ast80|bmtus0|1tz5k0|2dvo0|b9gdg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a5c0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/North_Dakota/New_Salem",title:"New Salem",winIndex:13,offsets:[-7,-6,-5],offsetIndices:"010101101010101010101010101010101010101010101010101010101010101010101010101010101121212121212121212121212121212121212121212121212121212121212121212121",untils:"-r0epo0|ast80|7x9g0|ast80|bmtus0|1tz5k0|2dvo0|b9gdg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a5c0|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Ojinaga",title:"Ojinaga",winIndex:15,offsets:[-6.961111111111111,-7,-6,-5],offsetIndices:"0121212323221212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-p1u4k0|2u7jw0|1sgdc0|8n400|7thc0|9eys0|xes2s0|afuk0|8a840|afuk0|8aaw0|afuk0|8a840|ast80|7x9g0|ast80|9q2s0|7k580|9q2s0|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|77c40|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Panama",title:"Panama",winIndex:10,offsets:[-5.326666666666667,-5],offsetIndices:"01",untils:"-w757vc|Infinity"},{id:"America/Pangnirtung",title:"Pangnirtung",winIndex:14,offsets:[0,-4,-3,-2,-5,-6],offsetIndices:"012213121212121212121212121212121212114141414154414141414141414141414141414141414141414141414141414141414141414141414141414",untils:"-pkmlc0|b0ke00|1tzdw0|2dnc0|a7n3w0|9q000|7k85k0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|asw00|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7xc80|ast80|7x6o0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Paramaribo",title:"Paramaribo",winIndex:64,offsets:[-3.6777777777777776,-3.6811111111111114,-3.6766666666666667,-3.5,-3],offsetIndices:"012334",untils:"-usj4g8|cixc0c|5lydbk|fq7bic|4mkao0|Infinity"},{id:"America/Phoenix",title:"Phoenix",winIndex:56,offsets:[-7,-6],offsetIndices:"01010101010",untils:"-r0epo0|ast80|7x9g0|ast80|bmtus0|zjedo|4olg0|9et80|bs6lmc|9cyk0|Infinity"},{id:"America/Port_of_Spain",title:"Port of Spain",winIndex:16,offsets:[-4.101111111111111,-4],offsetIndices:"01",untils:"-u6m79w|Infinity"},{id:"America/Port-au-Prince",title:"Port-au-Prince",winIndex:14,offsets:[-4.816666666666666,-5,-4],offsetIndices:"01212121212121212121212121212121212121212121",untils:"-rmk9ac|ylcf6c|8zzw0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8aaw0|asw00|7x6o0|asw00|7x6o0|asw00|8a5c0|afxc0|8a5c0|afxc0|8a5c0|asw00|7x6o0|asw00|7x6o0|asw00|8a5c0|afxc0|8a5c0|afxc0|3vpjw0|ast80|7x9g0|ast80|2stv00|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Porto_Velho",title:"Porto Velho",winIndex:16,offsets:[-4.26,-4,-3],offsetIndices:"012121212121212121212121212121",untils:"-t85g60|99k8i0|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|Infinity"},{id:"America/Puerto_Rico",title:"Puerto Rico",winIndex:16,offsets:[-4,-3],offsetIndices:"0110",untils:"-efsnk0|1ppu40|2dnc0|Infinity"},{id:"America/Rainy_River",title:"Rainy River",winIndex:13,offsets:[-6,-5],offsetIndices:"010111010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-qzov40|a2vw0|bfxjw0|pmdk0|1tz8c0|2dsw0|ewvus0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Rankin_Inlet",title:"Rankin Inlet",winIndex:13,offsets:[0,-6,-4,-5],offsetIndices:"012131313131313131313131313131313131313131313331313131313131313131313131313131313131313131313131313131313131313131313131",untils:"-6s8lc0|4c6oo0|9q000|7k85k0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Recife",title:"Recife",winIndex:64,offsets:[-2.3266666666666667,-3,-2],offsetIndices:"0121212121212121212121212121212121212121",untils:"-t85ljc|99kb3c|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|514g40|7k580|biw40|cvw0|iq5g0|6h980|Infinity"},{id:"America/Regina",title:"Regina",winIndex:37,offsets:[-6.9766666666666675,-7,-6],offsetIndices:"012121212121212121212121221212121212121212121212121212",untils:"-xkq9yc|6l1hmc|a2vw0|60enw0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|1b6840|9cyk0|9d440|8zzw0|9q2s0|9cyk0|9q2s0|9cyk0|9d440|9cyk0|66gc0|1tz5k0|2dvo0|a31g0|9cyk0|a31g0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|tj1g0|9cyk0|9d440|Infinity"},{id:"America/Resolute",title:"Resolute",winIndex:13,offsets:[0,-6,-4,-5],offsetIndices:"012131313131313131313131313131313131313131313331313131313331313131313131313131313131313131313131313131313131313131313131",untils:"-bnp9c0|97nco0|9q000|7k85k0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Rio_Branco",title:"Rio Branco",winIndex:10,offsets:[-4.52,-5,-4],offsetIndices:"01212121212121212121212121212121",untils:"-t85fg0|99kak0|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|amves0|2t2t80|Infinity"},{id:"America/Santa_Isabel",title:"Santa Isabel",winIndex:72,link:325},{id:"America/Santarem",title:"Santarem",winIndex:64,offsets:[-3.646666666666667,-4,-3],offsetIndices:"0121212121212121212121212121212",untils:"-t85hvc|99ka7c|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5mf440|49mk0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|amves0|Infinity"},{id:"America/Santiago",title:"Santiago",winIndex:39,offsets:[-4.712777777777777,-5,-4,-3],offsetIndices:"010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323",untils:"-vauawq|3dlssq|157b7a|f4e0q|49hzba|aye0q|7ves0|awik0|7ves0|awik0|7ves0|awik0|7ves0|ayd80|7ves0|534ik0|351g0|229zw0|2gt80|awo40|2mg00|b73400|7k580|c8tg0|6h980|a31g0|7x3w0|asys0|7x3w0|b5xg0|7k580|ag040|8a2k0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7k580|b5xg0|9cyk0|9d440|7x3w0|asys0|7x3w0|b5xg0|7k580|9q2s0|8zzw0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|8n180|a31g0|7x3w0|a31g0|9px80|9q2s0|7x3w0|b5xg0|7k580|b5xg0|7k580|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|8n180|a31g0|7x3w0|asys0|8zzw0|9q2s0|ast80|5eis0|cyl80|6hes0|c8nw0|6udg0|bvp80|6udg0|vonw0|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|51k40|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|51k40|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|51k40|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|Infinity"
},{id:"America/Santo_Domingo",title:"Santo Domingo",winIndex:16,offsets:[-4.666666666666667,-5,-4,-4.5],offsetIndices:"01213131313131212",untils:"-j6hz1c|hiw29c|67zw0|1dy840|62ha0|cnle0|4h2m0|elyq0|47ta0|ei9e0|4bim0|eek20|4dda0|ecpe0|dkmtg0|1stc0|Infinity"},{id:"America/Sao_Paulo",title:"Sao Paulo",winIndex:35,offsets:[-3.1077777777777778,-3,-2],offsetIndices:"012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212",untils:"-t85jd8|99k8x8|9a9c0|9io40|99980|8p65g0|6zuo0|bs2o0|67zw0|cjxg0|69uk0|cjxg0|4ml80|5k02s0|6onw0|haas0|316k0|cls40|4ml80|cls40|66580|cls40|67zw0|981s40|6u7w0|biw40|5rbw0|d0lg0|5ed80|cyqs0|5ed80|dbpg0|64ak0|cyqs0|64ak0|cls40|5rbw0|dbpg0|51ek0|dbpg0|6h980|c8tg0|6h980|c8tg0|64ak0|c8tg0|6u7w0|bxpg0|7iak0|biw40|6u7w0|biw40|7k580|biw40|6u7w0|c8tg0|6h980|dbpg0|5ed80|cls40|64ak0|dfes0|5nmk0|c8tg0|6h980|dbpg0|5rbw0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6u7w0|c8tg0|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6h980|c8tg0|6h980|cls40|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6u7w0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|6h980|c8tg0|6h980|c8tg0|6h980|cls40|64ak0|cls40|64ak0|cls40|64ak0|cls40|6h980|c8tg0|6u7w0|bvus0|6h980|cls40|64ak0|cls40|6h980|c8tg0|Infinity"},{id:"America/Scoresbysund",title:"Scoresbysund",winIndex:73,offsets:[-1.4644444444444444,-2,-1,0],offsetIndices:"0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-rvurxk|x8ntpk|902o0|9cvs0|9cyk0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"America/Sitka",title:"Sitka",winIndex:55,offsets:[-8,-7,-9],offsetIndices:"01101010101010101010101010101010122020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202",untils:"-ek1w80|1tz2s0|2dyg0|cawis0|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|1leo0|7rs80|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/St_Johns",title:"St Johns",winIndex:38,offsets:[-3.5144444444444445,-2.5144444444444445,-3.5,-2.5,-1.5],offsetIndices:"01010101010101010101010101010101010102323232323232323323232323232323232323232323232323232323232323232323232323232323232323232323232323232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-ris3ck|8bx80|ar440|a2vw0|9tjs0|53980|dkys0|9cyk0|9d440|9cyk0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|9cyk0|9d440|9cyk0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|9cyk0|9q2s0|8zzw0|9q2s0|8zzw0|7tmw0|1wfuk|8zzw0|a3480|7k580|b5xg0|7k580|b5xg0|7k580|biw40|776k0|biw40|7k580|b5xg0|7k580|b5xg0|1pb260|2dly0|biw40|7k580|b5xg0|7k580|b5xg0|7k580|b5xg0|7k580|biw40|7k580|ag040|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a2lo|afuk0|8a840|asqg0|7xc80|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8tec|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Swift_Current",title:"Swift Current",winIndex:37,offsets:[-7.188888888888888,-7,-6],offsetIndices:"012122121212121212121212",untils:"-xkq9d4|6l1h14|a2vw0|c5jxg0|1tz5k0|2dvo0|asys0|8n180|a31g0|7x3w0|asys0|7x3w0|asys0|7x3w0|3yles0|9cyk0|s36s0|9cyk0|9d440|7x3w0|b5xg0|7k580|5j4lg0|Infinity"},{id:"America/Tegucigalpa",title:"Tegucigalpa",winIndex:67,offsets:[-5.814444444444445,-6,-5],offsetIndices:"01212121",untils:"-pfzh6k|yho0ik|7k580|b5xg0|7k580|96x1g0|4qak0|Infinity"},{id:"America/Thule",title:"Thule",winIndex:36,offsets:[-4.585555555555556,-4,-3],offsetIndices:"012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-rvuj9g|12yzilg|9cyk0|9d440|9cyk0|9q2s0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Thunder_Bay",title:"Thunder Bay",winIndex:14,offsets:[-6,-5,-4],offsetIndices:"0122121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-vbavc0|gr8qs0|1tzb40|2dq40|ctmlg0|9cyk0|9d440|9px80|9d440|9cyk0|s36s0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Tijuana",title:"Tijuana",winIndex:11,offsets:[-7.801111111111111,-7,-8],offsetIndices:"012121211212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212",untils:"-p1u1s0|11jrw0|1sns00|1sgdc0|71s40|9cyk0|5iidg0|1q6700|4lfk0|190g40|eluk0|2r4r00|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|84qys0|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|77c40|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Toronto",title:"Toronto",winIndex:14,offsets:[-5,-4],offsetIndices:"01010101010101010101010101010101010101010101011101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-qzoxw0|a2vw0|7yx60|aqzy0|9q8c0|7jzo0|bw0c0|6bp80|cedg0|6h980|c8tg0|6h980|bvus0|776k0|biw40|776k0|biw40|776k0|biw40|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|xjeo0|1tzb40|2dq40|asys0|7x3w0|ast80|7x3w0|asys0|7x3w0|asys0|b5rw0|7xf00|ast80|7x9g0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Vancouver",title:"Vancouver",winIndex:11,offsets:[-8,-7],offsetIndices:"0101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-qzopk0|a2vw0|c5jxg0|1tz2s0|2dyg0|asys0|8n180|a31g0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Whitehorse",title:"Whitehorse",winIndex:11,offsets:[-9,-8,-7],offsetIndices:"0101011020121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-qzoms0|a2vw0|asys0|882c0|bmiwc0|1tz000|2e180|a7n3w0|9q000|tiyo0|6qp440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Winnipeg",title:"Winnipeg",winIndex:13,offsets:[-6,-5],offsetIndices:"010101011010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-s0s7c0|7k580|tj700|a2vw0|9ok840|6u7w0|2a5hg0|1tz8c0|2dsw0|biw40|7x3w0|a31g0|7x3w0|asys0|7x3w0|asys0|7x3w0|b7s40|7tek0|autg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|9cyk0|9d440|7x3w0|1cm2s0|7k580|1cm2s0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|902o0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|902o0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|8a5c0|afxc0|8a5c0|asw00|7x6o0|asw00|7x6o0|asw00|8a5c0|afxc0|8a5c0|afxc0|8a5c0|asw00|7x6o0|asw00|7x6o0|asw00|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|asw00|7x6o0|asw00|7x6o0|asw00|8a5c0|afxc0|8a5c0|afxc0|8a5c0|asw00|7x6o0|asw00|7x6o0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Yakutat",title:"Yakutat",winIndex:55,offsets:[-9,-8],offsetIndices:"01101010101010101010101010101010100101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-ek1tg0|1tz000|2e180|cawis0|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|1lbw0|7rs80|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"America/Yellowknife",title:"Yellowknife",winIndex:15,offsets:[0,-7,-6,-5],offsetIndices:"012213121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-i9m2o0|3pk3o0|1tz5k0|2dvo0|a7n3w0|9q000|7k85k0|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"Antarctica/Casey",title:"Casey",winIndex:33,offsets:[0,8,11],offsetIndices:"012121",untils:"-irxc0|lag4o0|73bo0|uz1o0|60l80|Infinity"},{id:"Antarctica/Davis",title:"Davis",winIndex:6,offsets:[0,7,5],offsetIndices:"01012121",untils:"-6rmdc0|42jdw0|27wgs0|l8uss0|7eqs0|unmk0|60qs0|Infinity"},{id:"Antarctica/DumontDUrville",title:"DumontDUrville",winIndex:50,offsets:[0,10],offsetIndices:"0101",untils:"-c05eo0|2mks80|2i72g0|Infinity"},{id:"Antarctica/Macquarie",title:"Macquarie",winIndex:48,offsets:[10,11,0],offsetIndices:"0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101011",untils:"-rsj4w0|8zzw0|11wqk0|f4kh40|a6p8g0|9d1c0|asw00|6uao0|bvs00|6uao0|bvs00|779c0|bvs00|64dc0|clpc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|7x6o0|b5uo0|7k800|b5uo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|bvs00|7k800|bitc0|7k800|bitc0|779c0|bitc0|779c0|bitc0|7x6o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|7x6o0|asw00|a2yo0|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9d1c0|902o0|a2yo0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|Infinity"},{id:"Antarctica/Mawson",title:"Mawson",winIndex:17,offsets:[0,6,5],offsetIndices:"012",untils:"-8aelc0|t22y80|Infinity"},{id:"Antarctica/Palmer",title:"Palmer",winIndex:39,offsets:[0,-3,-4,-2],offsetIndices:"0121212121213121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-2lxhc0|31ho0|bqas0|71mk0|bqas0|8ovw0|9d440|9px80|9d440|9cyk0|9d440|28t6k0|51ek0|46b6s0|8c2s0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|7k580|b5xg0|9cyk0|9d440|7x3w0|asys0|7x3w0|b5xg0|7k580|9q2s0|8zzw0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|8n180|a31g0|7x3w0|a31g0|9px80|9q2s0|7x3w0|b5xg0|7k580|b5xg0|7k580|b5xg0|7k580|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7k580|b5xg0|8n180|a31g0|7x3w0|asys0|8zzw0|9q2s0|ast80|5eis0|cyl80|6hes0|c8nw0|6udg0|bvp80|6udg0|vonw0|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|51k40|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|51k40|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|51k40|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|e1h80|4olg0|Infinity"},{id:"Antarctica/Rothera",title:"Rothera",winIndex:64,offsets:[0,-3],offsetIndices:"01",untils:"3lxs00|Infinity"},{id:"Antarctica/Syowa",title:"Syowa",winIndex:1,offsets:[0,3],offsetIndices:"01",untils:"-6qsqo0|Infinity"},{id:"Antarctica/Vostok",title:"Vostok",winIndex:21,offsets:[0,6],offsetIndices:"01",untils:"-6aaao0|Infinity"},{id:"Asia/Almaty",title:"Almaty",winIndex:21,offsets:[5.13,5,6,7],offsetIndices:"012323232323232323232321232323232323232323232323232",untils:"-nu1a90|37a0d0|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|iq5g0|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|Infinity"},{id:"Asia/Amman",title:"Amman",winIndex:74,offsets:[2.395555555555555,2,3],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-kcrtbk|m566fk|60l80|awo40|7v980|awo40|7v980|ayis0|9gnw0|9b9g0|7v980|autg0|7v980|3e6840|9et80|9io40|9cyk0|9d440|9cyk0|9d440|9px80|ayis0|7rjw0|ag040|8a2k0|9zc40|8drw0|a31g0|8zzw0|9d440|9cyk0|9d440|8n180|ag040|8a5c0|afxc0|8n400|a2yo0|8n400|a2yo0|8n400|epmo0|4deo0|9o5c0|9ew00|9b6o0|9ew00|9d1c0|9d1c0|9d1c0|asw00|7x6o0|afxc0|8n400|9d1c0|9d1c0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|wel80|51k40|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|Infinity"},{id:"Asia/Anadyr",title:"Anadyr",winIndex:75,offsets:[11.83222222222222,12,13,14,11],offsetIndices:"01232212121212121212121141212121212121212121212121212121212121141",untils:"-nu1sv8|379zj8|qi27w0|9et80|9d440|9ew00|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5xg0|7k800|Infinity"},{id:"Asia/Aqtau",title:"Aqtau",winIndex:17,offsets:[3.351111111111111,4,5,6],offsetIndices:"012323232323232323232123232312121212121212121212",untils:"-nu15b4|379y74|qrh3w0|iruk0|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|iq5g0|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|Infinity"},{id:"Asia/Aqtobe",title:"Aqtobe",winIndex:17,offsets:[3.811111111111111,4,5,6],offsetIndices:"0123232323232323232321232323232323232323232323232",untils:"-nu16l4|379zh4|qi27w0|s6qk0|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|iq5g0|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|Infinity"},{id:"Asia/Ashgabat",title:"Ashgabat",winIndex:17,offsets:[3.8922222222222222,4,5,6],offsetIndices:"012323232323232323232322112",untils:"-nu16t8|379zp8|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|1fp40|4bpk0|Infinity"},{id:"Asia/Baghdad",title:"Baghdad",winIndex:76,offsets:[2.96,3,4],offsetIndices:"012121212121212121212121212121212121212121212121212121",untils:"-r50g80|xkn3w0|7v980|9b9g0|9gnw0|9eys0|9et80|9d440|9b9g0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9f1k0|9ew00|9ew00|9ew00|9d1c0|9ew00|9d1c0|9ew00|9d1c0|9ew00|9ew00|9ew00|9d1c0|9ew00|9d1c0|9ew00|9d1c0|9ew00|9ew00|9ew00|9d1c0|9ew00|9d1c0|9ew00|9d1c0|9ew00|9ew00|9ew00|9d1c0|9ew00|9d1c0|9ew00|9d1c0|9ew00|Infinity"},{id:"Asia/Baku",title:"Baku",winIndex:77,offsets:[3.3233333333333333,3,4,5],offsetIndices:"01232323232323232323232221223232323232323232323232323232323232323232",untils:"-nu158c|h4tkwc|ckinw0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|7tbs0|1jsc0|9d1c0|9cq80|1twoo0|asw00|7x3w0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Asia/Bangkok",title:"Bangkok",winIndex:6,offsets:[6.7011111111111115,7],offsetIndices:"01",untils:"-pysda4|Infinity"},{id:"Asia/Beirut",title:"Beirut",winIndex:78,offsets:[2,3],offsetIndices:"010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-pyzew0|aunw0|88dg0|9et80|8yas0|a2vw0|a31g0|7k580|hjqo40|7v980|awo40|7v980|awo40|7v980|ayis0|7v980|awo40|7v980|5lhs40|56yk0|awo40|7v980|awo40|7v980|awo40|7v980|ayis0|7v980|awo40|7v980|autg0|7v980|2wxus0|8n180|a4w40|8n180|a4w40|8n180|a4w40|8n180|bs5g0|71mk0|alk40|86d80|a4w40|8n180|a4w40|8n180|a6qs0|80t80|905g0|9cyk0|9d440|9cyk0|9d440|9cyk0|9q2s0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|Infinity"},{id:"Asia/Bishkek",title:"Bishkek",winIndex:21,offsets:[4.973333333333333,5,6,7],offsetIndices:"01232323232323232323232212121212121212121212121212122",untils:"-nu19tc|379zxc|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|7vc00|bkl80|8n180|a31g0|8n180|a31g0|8n180|a31g0|8n180|a31g0|8zzw0|9db20|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|73aa0|Infinity"},{id:"Asia/Brunei",title:"Brunei",winIndex:24,offsets:[7.661111111111111,7.5,8],offsetIndices:"012",untils:"-mvofy4|3khxs4|Infinity"},{id:"Asia/Chita",title:"Chita",winIndex:79,offsets:[7.564444444444445,8,9,10],offsetIndices:"0123232323232323232323221232323232323232323232323232323232323232312",untils:"-q4cfog|5hkxgg|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|qnew0|Infinity"},{id:"Asia/Choibalsan",title:"Choibalsan",winIndex:25,offsets:[7.633333333333334,7,8,10,9],offsetIndices:"0123434343434343434343434343434343434343434343424242424242424242424242424242424242424242424242",untils:"-xmct7c|11sndrc|2qk2k0|9eqg0|9eys0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9q2s0|9cyk0|9d440|9cyk0|9d440|9cyk0|1ckdo0|7x3w0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|s6qk0|3nc0c0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|Infinity"},{id:"Asia/Colombo",title:"Colombo",winIndex:80,offsets:[5.325555555555556,5.5,6,6.5],offsetIndices:"01231321",untils:"-xehask|isle6k|cajy0|1mp2u0|qetjw0|7x5a0|4xvqq0|Infinity"},{id:"Asia/Damascus",title:"Damascus",winIndex:81,offsets:[2.42,2,3],offsetIndices:"01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-q3gk20|5k6q0|8n180|a31g0|8n180|a31g0|8n180|a31g0|8zzw0|k4hk40|7yyk0|awo40|7tek0|b0dg0|7v980|awo40|7tek0|alk40|887w0|awo40|7v980|ayis0|7v980|awo40|7v980|awo40|7v980|awo40|7v980|ayis0|7v980|awo40|7v980|awo40|7v980|awo40|7v980|ayis0|7v980|awo40|6bp80|cg840|6bp80|2eh1g0|8zzw0|9ts40|8zzw0|pvk40|c33w0|7cw40|cjrw0|6zxg0|btuk0|7rpg0|9gnw0|9d440|9cyk0|9et80|9et80|9rxg0|91uk0|92040|9et80|9o840|9et80|9d440|9et80|9eys0|9et80|9b9g0|9gnw0|99es0|9iik0|9d440|9et80|9eys0|9et80|9d440|9et80|9d440|9et80|9d440|9et80|9eys0|9et80|9d440|9et80|9d440|8y580|9q2s0|b5rw0|7x9g0|aunw0|7ig40|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|Infinity"},{id:"Asia/Dhaka",title:"Dhaka",winIndex:20,offsets:[5.888888888888888,6.5,5.5,6,7],offsetIndices:"01213343",untils:"-eqtpow|bmgyw|5lxg0|4qknw0|a63o20|jyevw0|a1400|Infinity"},{id:"Asia/Dili",title:"Dili",winIndex:43,offsets:[8.372222222222222,8,9],offsetIndices:"012212",untils:"-u9s4l8|fqcu98|1vc2o0|fz3pc0|cpz440|Infinity"},{id:"Asia/Dubai",title:"Dubai",winIndex:7,offsets:[3.6866666666666665,4],offsetIndices:"01",untils:"-q3gnko|Infinity"},{id:"Asia/Dushanbe",title:"Dushanbe",winIndex:17,offsets:[4.586666666666667,5,6,7],offsetIndices:"0123232323232323232323221",untils:"-nu18qo|379yuo|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|8c2s0|Infinity"},{id:"Asia/Ho_Chi_Minh",title:"Ho Chi Minh",winIndex:6,offsets:[7.111111111111112,7.108333333333333,7,8,9],offsetIndices:"0123423232",untils:"-x56934|2isioa|gj25iu|15ct80|8so00|tmtk0|4azjw0|2cmao0|8285c0|Infinity"},{id:"Asia/Hong_Kong",title:"Hong Kong",winIndex:19,offsets:[7.611666666666666,8,9],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121",untils:"-y0i2h6|j09kn6|9cyk0|4f2e0|1xyfw0|b6760|bkl80|6udg0|df980|6dpg0|9cyk0|7x9g0|ast80|7x9g0|ast80|7x9g0|ast80|8a840|adzw0|8c2s0|ast80|77c40|biqk0|77c40|bvp80|6udg0|bvp80|77c40|biqk0|77c40|biqk0|77c40|biqk0|77c40|bvp80|6udg0|bvp80|6udg0|bvp80|77c40|biqk0|77c40|biqk0|8n6s0|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|3lpg0|f4d80|9d440|9cyk0|9d440|9cyk0|1c9440|8a2k0|Infinity"},{id:"Asia/Hovd",title:"Hovd",winIndex:6,offsets:[6.11,6,7,8],offsetIndices:"012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-xmcoz0|11sncb0|2qk2k0|9et80|9eys0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9q2s0|9cyk0|9d440|9cyk0|9d440|9cyk0|1ckdo0|7x3w0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|4fio40|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|Infinity"},{id:"Asia/Irkutsk",title:"Irkutsk",winIndex:82,offsets:[6.951388888888888,7,8,9],offsetIndices:"012323232323232323232322123232323232323232323232323232323232323232",untils:"-q28gn5|5fh175|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Asia/Jakarta",title:"Jakarta",winIndex:6,offsets:[7.12,7.333333333333333,7.5,9,8,7],offsetIndices:"01232425",untils:"-o0bdpc|4lzxc0|4wdzjc|1tu960|1cx860|11jta0|74uc20|Infinity"},{id:"Asia/Jayapura",title:"Jayapura",winIndex:43,offsets:[9.379999999999999,9,9.5],offsetIndices:"0121",untils:"-jebm20|66bqe0|a37vy0|Infinity"},{id:"Asia/Jerusalem",title:"Jerusalem",winIndex:23,offsets:[2.344444444444444,2,3,4],offsetIndices:"01212121212132121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-r50eig|bp54yg|19f3w0|7rv00|b02c0|7tk40|b07w0|8jhg0|a8lg0|8jhg0|a8ac0|t9s40|56vs0|35700|9b3w0|9gtg0|8jbw0|7tmw0|a6ig0|biyw0|8a5c0|9d1c0|902o0|7x6o0|e1eg0|4ofw0|dzxo0|4q500|doo40|64iw0|auqo0|7i500|8rfms0|51ek0|9q2s0|6u7w0|50rhg0|7x3w0|cls40|5rbw0|bbhg0|7rjw0|asys0|7k580|c8tg0|6h980|ag040|7x3w0|asys0|8a2k0|asys0|8a2k0|ap9g0|80t80|ap9g0|7nuk0|b2840|80t80|9zc40|9iik0|9kis0|93p80|9mdg0|8qqk0|apf00|7x3w0|biw40|8zx40|9io40|8n180|9kis0|9vh80|8ulg0|9px80|9mdg0|8n180|9tuw0|9tmk0|8wg40|9gnw0|99es0|8qqk0|9zc40|9tmk0|8wg40|9gnw0|99es0|8qqk0|acas0|9gnw0|99es0|93p80|9mdg0|awik0|7tk40|awik0|7tk40|awik0|7tk40|b9h80|7glg0|b9h80|7glg0|b9h80|7tk40|awik0|7tk40|awik0|7tk40|b9h80|7glg0|b9h80|7glg0|b9h80|7tk40|awik0|7tk40|awik0|7tk40|awik0|7tk40|b9h80|7glg0|b9h80|7glg0|b9h80|7tk40|awik0|7tk40|awik0|7tk40|b9h80|7glg0|b9h80|7glg0|b9h80|7glg0|b9h80|7tk40|awik0|7tk40|awik0|Infinity"
},{id:"Asia/Kabul",title:"Kabul",winIndex:83,offsets:[4,4.5],offsetIndices:"01",untils:"-d1pkg0|Infinity"},{id:"Asia/Kamchatka",title:"Kamchatka",winIndex:75,offsets:[10.576666666666666,11,12,13],offsetIndices:"01232323232323232323232212323232323232323232323232323232323232212",untils:"-olrupo|3z045o|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5xg0|7k800|Infinity"},{id:"Asia/Karachi",title:"Karachi",winIndex:84,offsets:[4.47,5.5,6.5,5,6],offsetIndices:"012133434343",untils:"-wvpb30|im3zt0|1mn180|33xpg0|a63o20|g72qo0|9cyk0|2y85g0|7v980|8hms0|aaak0|Infinity"},{id:"Asia/Kathmandu",title:"Kathmandu",winIndex:22,offsets:[5.687777777777778,5.5,5.75],offsetIndices:"012",untils:"-q3gt4s|yg2lus|Infinity"},{id:"Asia/Khandyga",title:"Khandyga",winIndex:79,offsets:[9.036944444444446,8,9,10,11],offsetIndices:"01232323232323232323232212323232323232323232323232343434343434343432",untils:"-q4cjrp|5hl1jp|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|3fx40|4h6s0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|8ql00|1mlho0|Infinity"},{id:"Asia/Kolkata",title:"Kolkata",winIndex:18,offsets:[5.888888888888888,6.5,5.5],offsetIndices:"01212",untils:"-eqtpow|bmgyw|5lxg0|1mn180|Infinity"},{id:"Asia/Krasnoyarsk",title:"Krasnoyarsk",winIndex:85,offsets:[6.190555555555556,6,7,8],offsetIndices:"012323232323232323232322123232323232323232323232323232323232323232",untils:"-q37l72|5gg8j2|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Asia/Kuala_Lumpur",title:"Kuala Lumpur",winIndex:24,offsets:[6.923611111111112,7,7.333333333333333,7.5,9,8],offsetIndices:"01223435",untils:"-xphpwd|eeb94d|1kbr2o|2yhc00|8n3jc|1v2p60|iy3o60|Infinity"},{id:"Asia/Kuching",title:"Kuching",winIndex:24,offsets:[7.355555555555555,7.5,8,8.333333333333334,9],offsetIndices:"01232323232323232422",untils:"-mvof3k|3khwxk|1epvy0|4ohqo|e5a9c|4ohqo|e3flc|4ohqo|e3flc|4ohqo|e3flc|4ohqo|e5a9c|4ohqo|e3flc|4ohqo|3ajlc|1v2qk0|iy3ms0|Infinity"},{id:"Asia/Macau",title:"Macau",winIndex:19,offsets:[7.572222222222222,8,9],offsetIndices:"0121212121212121212121212121212121212121211",untils:"-u9s2d8|pon9v8|bvp80|6udg0|bvp80|6u3q0|bvyy0|77c40|biqk0|772e0|biqk0|8ngi0|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9cue0|9cyk0|9d440|9px80|9d440|9d8a0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9cue0|9cyk0|9d440|9px80|9d440|9cyk0|a04w40|Infinity"},{id:"Asia/Magadan",title:"Magadan",winIndex:75,offsets:[10.053333333333335,10,11,12],offsetIndices:"0123232323232323232323221232323232323232323232323232323232323232312",untils:"-nu1nxc|37a05c|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|s39k0|Infinity"},{id:"Asia/Makassar",title:"Makassar",winIndex:24,offsets:[7.96,8,9],offsetIndices:"00121",untils:"-q3gzg0|6p5hc0|4u87w0|1w02k0|Infinity"},{id:"Asia/Manila",title:"Manila",winIndex:24,offsets:[8,9],offsetIndices:"010101010",untils:"-hb5y80|4qak0|2qidg0|1b2d80|4xf440|442k0|cdqdg0|9et80|Infinity"},{id:"Asia/Nicosia",title:"Nicosia",winIndex:4,offsets:[2.2244444444444444,2,3],offsetIndices:"01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-p4bq6g|rvhxyg|9cyk0|b42s0|7nuk0|8yas0|8zzw0|9q2s0|9et80|9b9g0|9cyk0|9q2s0|8zzw0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9q2s0|9cyk0|9d440|9cyk0|9d440|at4c0|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Asia/Novokuznetsk",title:"Novokuznetsk",winIndex:86,offsets:[5.8133333333333335,6,7,8],offsetIndices:"012323232323232323232322123232323232323232323232323232323232322122",untils:"-nu36tc|37bu5c|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5xg0|7k800|1vbzw0|Infinity"},{id:"Asia/Novosibirsk",title:"Novosibirsk",winIndex:86,offsets:[5.527777777777778,6,7,8],offsetIndices:"0123232323232323232323221232321212121212121212121212121212121212121",untils:"-q4do0s|5hmbcs|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|2vh00|6hn40|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Asia/Omsk",title:"Omsk",winIndex:86,offsets:[4.891666666666667,5,6,7],offsetIndices:"012323232323232323232322123232323232323232323232323232323232323232",untils:"-q5xmx6|5j6d16|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Asia/Oral",title:"Oral",winIndex:17,offsets:[3.4233333333333333,4,5,6],offsetIndices:"01232323232323232121212121212121212121212121212",untils:"-nu15ic|379yec|qi27w0|s6qk0|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|iq5g0|9d1c0|9q000|9d1c0|9d1c0|5reo0|cyo00|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|Infinity"},{id:"Asia/Pontianak",title:"Pontianak",winIndex:6,offsets:[7.288888888888889,7.5,9,8,7],offsetIndices:"001213134",untils:"-w6piww|cse2o0|4tnu2w|1wkei0|1cx860|11jta0|74uc20|cixam0|Infinity"},{id:"Asia/Pyongyang",title:"Pyongyang",winIndex:53,offsets:[8.383333333333333,8.5,9],offsetIndices:"012221",untils:"-w895yc|1yh10c|dfsmm0|44cqo0|10ipmo0|Infinity"},{id:"Asia/Qatar",title:"Qatar",winIndex:5,offsets:[3.4355555555555553,4,3],offsetIndices:"012",untils:"-q3gmvk|rctnrk|Infinity"},{id:"Asia/Qyzylorda",title:"Qyzylorda",winIndex:21,offsets:[4.364444444444445,4,5,6],offsetIndices:"0123232323232323232323232323232323232323232323",untils:"-nu184g|37a10g|qi27w0|s6qk0|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|ohhc0|cyo00|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|Infinity"},{id:"Asia/Rangoon",title:"Rangoon",winIndex:87,offsets:[6.411111111111111,6.5,9],offsetIndices:"0121",untils:"-q3gv54|bnjp34|1kh520|Infinity"},{id:"Asia/Riyadh",title:"Riyadh",winIndex:5,offsets:[3.1144444444444446,3],offsetIndices:"01",untils:"-bwgbbg|Infinity"},{id:"Asia/Sakhalin",title:"Sakhalin",winIndex:88,offsets:[9.513333333333332,9,11,12,10],offsetIndices:"01123232323232323232323224232323232322424242424242424242424242424242",untils:"-xl87rc|gr8pfc|44elc0|ikvh40|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asys0|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|qnc40|Infinity"},{id:"Asia/Samarkand",title:"Samarkand",winIndex:17,offsets:[4.464722222222222,4,5,6],offsetIndices:"01233323232323232323232332",untils:"-nu18eh|37a1ah|qi27w0|9et80|9d1c0|9ew00|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|7wyc0|1g300|Infinity"},{id:"Asia/Seoul",title:"Seoul",winIndex:53,offsets:[8.464444444444444,8.5,9,9.5,10],offsetIndices:"01222131313131313124242",untils:"-w8966g|1yh18g|dfsmm0|454io0|4gadc0|l3aq0|6j3w0|d2g40|6u7w0|b5xg0|776k0|biw40|776k0|biw40|776k0|biw40|776k0|grs40|dfqxi0|7x6o0|asw00|7x6o0|Infinity"},{id:"Asia/Shanghai",title:"Shanghai",winIndex:19,offsets:[8,9],offsetIndices:"01010101010101010",untils:"-ffs0w0|66580|8jhg0|a8fw0|n9rc40|6u7w0|asys0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|asys0|7x3w0|asys0|7x3w0|Infinity"},{id:"Asia/Singapore",title:"Singapore",winIndex:24,offsets:[6.923611111111112,7,7.333333333333333,7.5,9,8],offsetIndices:"012234335",untils:"-xphpwd|eeb94d|1kbr2o|2yhc00|8n3jc|1v2p60|ae0xi0|8k2qo0|Infinity"},{id:"Asia/Srednekolymsk",title:"Srednekolymsk",winIndex:75,offsets:[10.247777777777777,10,11,12],offsetIndices:"012323232323232323232322123232323232323232323232323232323232323232",untils:"-nu1ogs|37a0os|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Asia/Taipei",title:"Taipei",winIndex:52,offsets:[8,9],offsetIndices:"01010101010101010101010101010101010101010",untils:"-gtzfk0|45slc0|c51c0|75bw0|a31g0|aaak0|9d440|7v980|awo40|7v980|awo40|7v980|awo40|7v980|7tk40|clmk0|7rpg0|b07w0|7rpg0|b07w0|7rpg0|9et80|9eys0|9et80|9d440|9et80|9d440|9et80|9d440|9et80|cjxg0|69uk0|ci2s0|69uk0|6its40|9et80|9d440|9et80|1yf9g0|4qak0|Infinity"},{id:"Asia/Tashkent",title:"Tashkent",winIndex:17,offsets:[4.619722222222222,5,6,7],offsetIndices:"01232323232323232323232221",untils:"-nu18tz|379yxz|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|7x140|1g300|Infinity"},{id:"Asia/Tbilisi",title:"Tbilisi",winIndex:89,offsets:[2.986388888888889,3,4,5],offsetIndices:"0123232323232323232323222121212232323232323232323212",untils:"-nu14an|h4tjyn|ckinw0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|gig0|8wlo0|9cvs0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d1c0|9cyk0|9q2s0|tivw0|7x9g0|ast80|7x9g0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7x9g0|ast80|7x9g0|ast80|7x9g0|4ofw0|6hn40|7k800|Infinity"},{id:"Asia/Tehran",title:"Tehran",winIndex:42,offsets:[3.428888888888889,3.5,4,5,4.5],offsetIndices:"00123214141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141",untils:"-s6m6uw|fnolc0|gm3h4w|777y0|b07w0|3pes0|42c20|9cyk0|9gtg0|9kd80|5ja5g0|7avw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|1av440|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9d440|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|9b9g0|9gnw0|Infinity"},{id:"Asia/Thimphu",title:"Thimphu",winIndex:20,offsets:[5.9766666666666675,5.5,6],offsetIndices:"012",untils:"-bojclo|kxymno|Infinity"},{id:"Asia/Tokyo",title:"Tokyo",winIndex:43,offsets:[9,10],offsetIndices:"0010101010",untils:"-gtzic0|5ivew0|6sd80|ahus0|887w0|cao40|6fek0|cao40|6fek0|Infinity"},{id:"Asia/Ulaanbaatar",title:"Ulaanbaatar",winIndex:25,offsets:[7.125555555555556,7,8,9],offsetIndices:"012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-xmcrsk|11sncck|2qk2k0|9et80|9eys0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9q2s0|9cyk0|9d440|9cyk0|9d440|9cyk0|1ckdo0|7x3w0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|4fio40|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9pro0|9d9o0|9ct00|9d9o0|9ct00|9d9o0|9ct00|Infinity"},{id:"Asia/Urumqi",title:"Urumqi",winIndex:21,offsets:[5.838888888888889,6],offsetIndices:"01",untils:"-lx5pjw|Infinity"},{id:"Asia/Ust-Nera",title:"Ust-Nera",winIndex:88,offsets:[9.548333333333334,8,9,12,11,10],offsetIndices:"0123434343434343434343445434343434343434343434343434343434343434345",untils:"-q4cl6u|5hl2yu|qi27w0|9eno0|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|8ql00|1mlho0|Infinity"},{id:"Asia/Vladivostok",title:"Vladivostok",winIndex:88,offsets:[8.791944444444445,9,10,11],offsetIndices:"012323232323232323232322123232323232323232323232323232323232323232",untils:"-oligf7|3yqvf7|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Asia/Yakutsk",title:"Yakutsk",winIndex:79,offsets:[8.649444444444445,8,9,10],offsetIndices:"012323232323232323232322123232323232323232323232323232323232323232",untils:"-q4cioy|5hl0gy|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Asia/Yekaterinburg",title:"Yekaterinburg",winIndex:90,offsets:[4.0425,3.751388888888889,4,5,6],offsetIndices:"0123434343434343434343433234343434343434343434343434343434343434343",untils:"-rx5hw9|1kybx4|5pfyv5|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Asia/Yerevan",title:"Yerevan",winIndex:91,offsets:[2.966666666666667,3,4,5],offsetIndices:"0123232323232323232323222121212122323232323232323232323232323232",untils:"-nu148o|h4tjwo|ckinw0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|91rs0|bcc0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|sfzw0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|Infinity"},{id:"Atlantic/Azores",title:"Azores",winIndex:73,offsets:[-1.9088888888888889,-2,-1,0],offsetIndices:"01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323233323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-u9rc14|2bug54|6zxg0|66580|bq800|73k00|bodc0|71pc0|bq800|73k00|bq800|71pc0|bq800|1b2g00|9b6o0|saio0|8n400|9q000|902o0|a2yo0|902o0|a2yo0|8n400|st1c0|8n400|9d1c0|9d1c0|sg2o0|9d1c0|902o0|9q000|a2yo0|8n400|9d1c0|9d1c0|902o0|9q000|a2yo0|b5uo0|51hc0|bitc0|9d1c0|9ew00|88ao0|25p80|5reo0|3lpg0|779c0|1sqk0|6uao0|38qs0|6uao0|25p80|6hc00|38qs0|6uao0|25p80|6hc00|38qs0|8a5c0|9d1c0|9d9o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|s3400|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|5qbjo0|9d1c0|9q000|9d1c0|9d1c0|9d440|9cyk0|9d440|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9cyk0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9cyk0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Atlantic/Bermuda",title:"Bermuda",winIndex:36,offsets:[-4.321666666666667,-4,-3],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-kvj2fu|n4pr3u|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"Atlantic/Canary",title:"Canary",winIndex:26,offsets:[-1.0266666666666666,-1,0,1],offsetIndices:"01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-oytbtc|ctvupc|hhq7s0|905g0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Atlantic/Cape_Verde",title:"Cape Verde",winIndex:92,offsets:[-1.5677777777777777,-2,-1],offsetIndices:"01212",untils:"-wvoub8|im43v8|1mn180|fpqwc0|Infinity"},{id:"Atlantic/Faroe",title:"Faroe",winIndex:26,offsets:[-.45111111111111113,0,1],offsetIndices:"01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-wcehew|127keuw|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Atlantic/Madeira",title:"Madeira",winIndex:26,offsets:[-1.1266666666666665,-1,0,1],offsetIndices:"01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-u9re7c|2bufjc|6zxg0|66580|bq800|73k00|bodc0|71pc0|bq800|73k00|bq800|71pc0|bq800|1b2g00|9b6o0|saio0|8n400|9q000|902o0|a2yo0|902o0|a2yo0|8n400|st1c0|8n400|9d1c0|9d1c0|sg2o0|9d1c0|902o0|9q000|a2yo0|8n400|9d1c0|9d1c0|902o0|9q000|a2yo0|b5uo0|51hc0|bitc0|9d1c0|9ew00|88ao0|25p80|5reo0|3lpg0|779c0|1sqk0|6uao0|38qs0|6uao0|25p80|6hc00|38qs0|6uao0|25p80|6hc00|38qs0|8a5c0|9d1c0|9d9o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|s3400|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|5qbjo0|9d1c0|9q000|9d1c0|9d1c0|9d440|9cyk0|9d440|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9cyk0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Atlantic/Reykjavik",title:"Reykjavik",winIndex:0,offsets:[-1.4666666666666666,-1,0],offsetIndices:"012121212121212121212121212121212121212121212121212121212121212121212",untils:"-wcwx9c|4rpd9c|ci2s0|69uk0|du840|4xp80|du840|p7bw0|4w040|9bdzw0|9d6w0|64g40|cyl80|64dc0|clpc0|6hc00|bvs00|6uao0|bvs00|6uao0|bvs00|6uao0|c8qo0|6hc00|c8qo0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|asw00|7x6o0|afxc0|8a5c0|asw00|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|asw00|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|asw00|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|asw00|8a5c0|Infinity"},{id:"Atlantic/South_Georgia",title:"South Georgia",winIndex:34,offsets:[-2],offsetIndices:"0",untils:"Infinity"},{id:"Atlantic/Stanley",title:"Stanley",winIndex:64,offsets:[-3.856666666666667,-4,-3,-2],offsetIndices:"0121212121212123232212121212121212121212121212121212121212121212121212",untils:"-u63pac|dbvxqc|8zzw0|9q2s0|8zzw0|a31g0|8zzw0|9q2s0|8zzw0|9q2s0|8zzw0|9q2s0|4xp80|l1pus0|7k580|b5rw0|77c40|biqk0|77c40|b5uo0|7kas0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7kas0|biqk0|77c40|biqk0|7kas0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7kas0|biqk0|7kas0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7kas0|b5rw0|7kas0|b5xg0|77c40|bvp80|6udg0|bvp80|77c40|biqk0|77c40|biqk0|77c40|biqk0|77c40|biqk0|77c40|bvp80|77c40|biqk0|77c40|biqk0|77c40|Infinity"},{id:"Australia/Adelaide",title:"Adelaide",winIndex:31,offsets:[9.5,10.5],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101",untils:"-rnsvoc|49s2c|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|eeiqs0|64dc0|clpc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|779c0|b5uo0|7k800|bitc0|7k800|bitc0|779c0|bitc0|779c0|bitc0|6hc00|c8qo0|7k800|b5uo0|6uao0|c8qo0|779c0|bitc0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7k800|b5uo0|8a5c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|Infinity"},{id:"Australia/Brisbane",title:"Brisbane",winIndex:30,offsets:[10,11],offsetIndices:"01010101010101010",untils:"-rnsx2c|49s2c|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|eeiqs0|64dc0|97zuo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|Infinity"},{id:"Australia/Broken_Hill",title:"Broken Hill",winIndex:31,offsets:[9.5,10.5],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101",untils:"-rnsvoc|49s2c|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|eeiqs0|64dc0|clpc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|8a5c0|asw00|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|779c0|b5uo0|7k800|bitc0|7k800|bitc0|779c0|bitc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7k800|b5uo0|8a5c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|Infinity"},{id:"Australia/Currie",title:"Currie",winIndex:32,offsets:[10,11],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101",untils:"-rsj4w0|8zzw0|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|eeiqs0|64dc0|clpc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|7x6o0|b5uo0|7k800|b5uo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|bvs00|7k800|bitc0|7k800|bitc0|779c0|bitc0|779c0|bitc0|7x6o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|7x6o0|asw00|a2yo0|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9d1c0|902o0|a2yo0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|Infinity"},{id:"Australia/Darwin",title:"Darwin",winIndex:29,offsets:[9.5,10.5],offsetIndices:"010101010",untils:"-rnsvoc|49s2c|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|Infinity"},{id:"Australia/Hobart",title:"Hobart",winIndex:32,offsets:[10,11],offsetIndices:"010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101",untils:"-rsj4w0|8zzw0|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|c9tms0|9d1c0|asw00|6uao0|bvs00|6uao0|bvs00|779c0|bvs00|64dc0|clpc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|7x6o0|b5uo0|7k800|b5uo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|bvs00|7k800|bitc0|7k800|bitc0|779c0|bitc0|779c0|bitc0|7x6o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|7x6o0|asw00|a2yo0|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9d1c0|902o0|a2yo0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|Infinity"},{id:"Australia/Lindeman",title:"Lindeman",winIndex:30,offsets:[10,11],offsetIndices:"010101010101010101010",untils:"-rnsx2c|49s2c|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|eeiqs0|64dc0|97zuo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|Infinity"},{id:"Australia/Melbourne",title:"Melbourne",winIndex:28,offsets:[10,11],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101",untils:"-rnsx2c|49s2c|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|eeiqs0|64dc0|clpc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|779c0|b5uo0|7k800|b5uo0|7x6o0|bitc0|779c0|bitc0|779c0|bitc0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|7x6o0|asw00|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7k800|b5uo0|8a5c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|Infinity"},{id:"Australia/Perth",title:"Perth",winIndex:33,offsets:[8,9],offsetIndices:"0101010101010101010",untils:"-rnsric|49s2c|cxfms0|4h180|9d440|9cyk0|ghf1g0|6hc00|4ir9c0|6hc00|40r400|5eg00|7p9hc0|5reo0|b5uo0|7x6o0|asw00|7x6o0|Infinity"},{id:"Australia/Sydney",title:"Sydney",winIndex:28,offsets:[10,11],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101",untils:"-rnsx2c|49s2c|cxfms0|4h180|9d440|9cyk0|9q2s0|8zzw0|eeiqs0|64dc0|clpc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|8a5c0|asw00|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|779c0|b5uo0|7k800|bitc0|7k800|bitc0|779c0|bitc0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|7x6o0|asw00|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7k800|b5uo0|8a5c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|Infinity"
},{id:"CST6CDT",title:"CST6CDT",winIndex:13,offsets:[-6,-5],offsetIndices:"010101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0esg0|ast80|7x9g0|ast80|bmtus0|1tz8c0|2dsw0|b9gdg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"EST5EDT",title:"EST5EDT",winIndex:14,offsets:[-5,-4],offsetIndices:"010101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0ev80|ast80|7x9g0|ast80|bmtus0|1tzb40|2dq40|b9gdg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"Etc/GMT",title:"GMT",winIndex:41,link:150},{id:"Etc/GMT+1",title:"GMT+1",winIndex:92,offsets:[-1],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+10",title:"GMT+10",winIndex:57,offsets:[-10],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+11",title:"GMT+11",winIndex:49,offsets:[-11],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+12",title:"GMT+12",winIndex:93,offsets:[-12],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+2",title:"GMT+2",winIndex:34,offsets:[-2],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+3",title:"GMT+3",winIndex:64,offsets:[-3],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+4",title:"GMT+4",winIndex:16,offsets:[-4],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+5",title:"GMT+5",winIndex:10,offsets:[-5],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+6",title:"GMT+6",winIndex:67,offsets:[-6],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT+7",title:"GMT+7",winIndex:56,offsets:[-7],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-1",title:"GMT-1",winIndex:3,offsets:[1],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-10",title:"GMT-10",winIndex:50,offsets:[10],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-11",title:"GMT-11",winIndex:48,offsets:[11],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-12",title:"GMT-12",winIndex:44,offsets:[12],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-13",title:"GMT-13",winIndex:94,offsets:[13],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-14",title:"GMT-14",winIndex:95,offsets:[14],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-2",title:"GMT-2",winIndex:2,offsets:[2],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-3",title:"GMT-3",winIndex:1,offsets:[3],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-4",title:"GMT-4",winIndex:7,offsets:[4],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-5",title:"GMT-5",winIndex:17,offsets:[5],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-6",title:"GMT-6",winIndex:21,offsets:[6],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-7",title:"GMT-7",winIndex:6,offsets:[7],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-8",title:"GMT-8",winIndex:24,offsets:[8],offsetIndices:"0",untils:"Infinity"},{id:"Etc/GMT-9",title:"GMT-9",winIndex:43,offsets:[9],offsetIndices:"0",untils:"Infinity"},{id:"Etc/UCT",title:"UCT",winIndex:41,offsets:[0],offsetIndices:"0",untils:"Infinity"},{id:"Etc/UTC",title:"UTC",winIndex:41,offsets:[0],offsetIndices:"0",untils:"Infinity"},{id:"Europe/Amsterdam",title:"Amsterdam",winIndex:27,offsets:[.3255555555555556,1.3255555555555556,1.3333333333333333,.3333333333333333,2,1],offsetIndices:"010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545",untils:"-s0dvkk|7v980|a51o0|7x6o0|a2yo0|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9b6o0|a2yo0|c51c0|6l1c0|902o0|9q000|ci000|682o0|bgyo0|79400|bitc0|779c0|bmio0|7gio0|bbeo0|7eo00|bd9c0|7ctc0|bf400|7ayo0|bvs00|6uao0|bko00|7idc0|b9k00|7gio0|bbeo0|7eo00|bf400|7ayo0|btxc0|21uc0|4uaz8|bitc0|779c0|bko00|7idc0|bd3s0|1aarpc|7k800|9q000|9d1c0|9d1c0|9d1c0|8l9c0|ggp1c0|902o0|9q000|9d1c0|9d1c0|9d1c0|9q000|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Andorra",title:"Andorra",winIndex:27,offsets:[0,1,2],offsetIndices:"012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-c4xmo0|k3ctg0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Athens",title:"Athens",winIndex:4,offsets:[1.581111111111111,2,3,1],offsetIndices:"012121313121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-rvv0cg|8bjasg|2vmk0|4hiw40|16ik0|scog0|7lx40|9o2k0|9eys0|4atzw0|6djw0|bplus0|bq800|71uw0|9d1c0|902o0|91xc0|9o5c0|905g0|9qgo0|9akg0|9iik0|99980|9dcg0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Belgrade",title:"Belgrade",winIndex:60,offsets:[1,2],offsetIndices:"01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-ezayw0|swz00|7k800|9q000|9d1c0|9d1c0|b7pc0|6qlc0|jl1hc0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Berlin",title:"Berlin",winIndex:27,offsets:[1,2,3],offsetIndices:"01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-s0e080|7ves0|a4yw0|7x6o0|asw00|7x6o0|b8qdc0|1cm000|7k800|9q000|9d1c0|9d1c0|9d1c0|2o7w0|6bs00|2txg0|7k800|91xc0|9b9g0|1sqk0|2inw0|51k40|a2yo0|8n400|9q000|902o0|fx91c0|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Brussels",title:"Brussels",winIndex:62,offsets:[0,1,2],offsetIndices:"0121212101010101010101010101010101010101010101010101212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-ss5uo0|rrx80|7vc00|a4yw0|7x6o0|asw00|7x6o0|2wh40|5omo0|b5uo0|6uao0|cyo00|7ayo0|bko00|7rmo0|a2yo0|a2yo0|8n400|902o0|9q000|9d1c0|9d1c0|a2yo0|8n400|9q000|902o0|a2yo0|90b00|a2yo0|8n400|9q000|902o0|a2yo0|8n400|9d1c0|9d1c0|902o0|a2yo0|9d1c0|9d1c0|902o0|9q000|a2yo0|8n400|9d1c0|9d1c0|902o0|9q000|a2yo0|b5uo0|51hc0|4deo0|1a36k0|7k800|9q000|9d1c0|8l9c0|a4tc0|8l9c0|clpc0|79400|fwu800|902o0|9q000|9d1c0|9d1c0|9d1c0|9q000|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Bucharest",title:"Bucharest",winIndex:4,offsets:[1.74,2,3],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-k29zi0|fj8m0|6w5c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|kp0dc0|6h980|9q000|905g0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9cvs0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9cyk0|9d440|9cyk0|9q2s0|ast80|7xhs0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Budapest",title:"Budapest",winIndex:60,offsets:[1,2],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-s0e080|7ves0|a4yw0|7x6o0|a31g0|8n180|autg0|bgvw0|b5jeg0|th9k0|7k800|9q000|9d1c0|9d1c0|awd00|9ew00|7q0c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9q000|902o0|a4tc0|9q000|1va2g0|6u7w0|bxpg0|6u7w0|cjxg0|64ak0|cluw0|64g40|br3ek0|905g0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Chisinau",title:"Chisinau",winIndex:4,offsets:[1.9166666666666667,1.74,2,3,1,4],offsetIndices:"012323232323232323232424235353535353535353535323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-r2p1bo|70f1to|fj8m0|6w5c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|geqo0|ha580|oc8g0|7k800|9q000|9d1c0|7cl00|j3pbw0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|25p80|7kdk0|9d1c0|9d1c0|9cvs0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9q2s0|ast80|7xf00|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Copenhagen",title:"Copenhagen",winIndex:62,offsets:[1,2],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-rzo2w0|75bw0|cbs2w0|1aco80|7k800|9q000|9d1c0|9d1c0|9d1c0|6y000|dbmo0|6bs00|clpc0|51hc0|e1k00|4oio0|giutc0|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Dublin",title:"Dublin",winIndex:26,offsets:[-.42250000000000004,.5775,0,1],offsetIndices:"01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-rzcmlr|6uao0|9pytr|8c000|9o5c0|9ruo0|9b6o0|9ew00|9b6o0|auqo0|88ao0|9ew00|8y800|a2yo0|a2yo0|7k800|asw00|8a5c0|asw00|8n400|a2yo0|8n400|9q000|902o0|afxc0|8n400|a2yo0|8n400|9q000|902o0|a2yo0|8n400|a2yo0|8n400|9q000|9d1c0|a2yo0|8n400|9q000|902o0|a2yo0|8n400|a2yo0|8n400|9q000|902o0|a2yo0|b5uo0|51hc0|3g8580|8a840|bvp80|8n6s0|a2yo0|7x6o0|asw00|8n400|9q000|902o0|9q000|9d1c0|9q000|902o0|8n400|9q000|902o0|a2yo0|8n400|afxc0|8n400|9q000|902o0|a2yo0|8n400|a2yo0|8n400|9q000|902o0|902o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|bitc0|5reo0|1xhuo0|779c0|bitc0|779c0|bitc0|779c0|bitc0|779c0|bitc0|7k800|b5uo0|7k800|b5uo0|7k800|bitc0|779c0|bitc0|779c0|bitc0|7x3w0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|8a5c0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Gibraltar",title:"Gibraltar",winIndex:27,offsets:[0,1,2],offsetIndices:"010101010101010101010101010101010101010101010101012121212121010121010101010101010101012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-rzcns0|6uao0|9q000|8c000|9o5c0|9ruo0|9b6o0|9ew00|9b6o0|auqo0|88ao0|9ew00|8y800|a2yo0|a2yo0|7k800|asw00|8a5c0|asw00|8n400|a2yo0|8n400|9q000|902o0|afxc0|8n400|a2yo0|8n400|9q000|902o0|a2yo0|8n400|a2yo0|8n400|9q000|9d1c0|a2yo0|8n400|9q000|902o0|a2yo0|8n400|a2yo0|8n400|9q000|902o0|a2yo0|b5uo0|51hc0|mbmk0|51hc0|c8qo0|6hc00|c8qo0|6uao0|bvs00|8n400|a4tc0|5clc0|4bms0|9q000|902o0|8a5c0|1frw0|64dc0|4bms0|6uao0|bvs00|7x6o0|asw00|8n400|9q000|902o0|9q000|9d1c0|9q000|902o0|8n400|9q000|902o0|a2yo0|8n400|afxc0|8n400|9q000|d0tp80|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Helsinki",title:"Helsinki",winIndex:59,offsets:[1.6636111111111112,2,3],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-peghyd|ax3tqd|9gqo0|k31s80|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Istanbul",title:"Istanbul",winIndex:54,offsets:[1.948888888888889,2,3,4],offsetIndices:"012121212121212121212121212121212121212121212121212121232323232322121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-ux9xew|2wvx6w|7v980|1tjc40|aunw0|88dg0|9et80|8yas0|a2vw0|tzpg0|79180|awo40|7v980|7p25g0|4zjw0|2xms0|f4d80|9vms0|b07w0|19f9g0|9px80|c5440|69uk0|acas0|8n180|a31g0|8n180|9q2s0|8zzw0|a8lg0|8ufw0|a31g0|8ovw0|5mbes0|4dbw0|u3es0|75bw0|2wxus0|7x3w0|asys0|7x3w0|b5xg0|7x3w0|c8w80|7x9g0|7k800|b6080|7jww0|ast80|b9ms0|7tek0|7x9g0|a2vw0|8n6s0|a2vw0|iruk0|8yj40|9rjk0|8lkg0|a4i80|8lkg0|a4i80|f2o40|38l80|t4840|8a5c0|9f4c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9cyk0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7kdk0|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7m2o0|b4000|7k800|b5uo0|7x6o0|asw00|7z1c0|ar1c0|7x6o0|bitc0|779c0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Kaliningrad",title:"Kaliningrad",winIndex:96,offsets:[1,2,3,4],offsetIndices:"0101010101010121232323232323232322121212121212121212121212121212121212121212121",untils:"-s0e080|7ves0|a4yw0|7x6o0|asw00|7x6o0|b8qdc0|1cm000|7k800|9q000|9d1c0|9d1c0|4od40|62fw0|9kd80|351g0|ie8nw0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Europe/Kiev",title:"Kiev",winIndex:59,offsets:[2.0344444444444445,2,3,1,4],offsetIndices:"0121313242424242424242424242121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-nu11ng|37a03g|5vd6k0|kzv40|7k800|9q000|1oyg0|jipzs0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|51ek0|neqw0|9cvs0|9cyk0|9d440|9cyk0|9d440|9cyk0|9dcg0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Lisbon",title:"Lisbon",winIndex:26,offsets:[-.6125,0,1,2],offsetIndices:"012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121212121212121212121212121212121212122323232212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-u9rfmr|2bue6r|6zxg0|66580|bq800|73k00|bodc0|71pc0|bq800|73k00|bq800|71pc0|bq800|1b2g00|9b6o0|saio0|8n400|9q000|902o0|a2yo0|902o0|a2yo0|8n400|st1c0|8n400|9d1c0|9d1c0|sg2o0|9d1c0|902o0|9q000|a2yo0|8n400|9d1c0|9d1c0|902o0|9q000|a2yo0|b5uo0|51hc0|bitc0|9d1c0|9ew00|88ao0|25p80|5reo0|3lpg0|779c0|1sqk0|6uao0|38qs0|6uao0|25p80|6hc00|38qs0|6uao0|25p80|6hc00|38qs0|8a5c0|9d1c0|9d9o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|s3400|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|5gyl40|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d440|9cyk0|9d440|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9cyk0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/London",title:"London",winIndex:26,offsets:[0,1,2],offsetIndices:"0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-rzcns0|6uao0|9q000|8c000|9o5c0|9ruo0|9b6o0|9ew00|9b6o0|auqo0|88ao0|9ew00|8y800|a2yo0|a2yo0|7k800|asw00|8a5c0|asw00|8n400|a2yo0|8n400|9q000|902o0|afxc0|8n400|a2yo0|8n400|9q000|902o0|a2yo0|8n400|a2yo0|8n400|9q000|9d1c0|a2yo0|8n400|9q000|902o0|a2yo0|8n400|a2yo0|8n400|9q000|902o0|a2yo0|b5uo0|51hc0|mbmk0|51hc0|c8qo0|6hc00|c8qo0|6uao0|bvs00|8n400|a4tc0|5clc0|4bms0|9q000|902o0|8a5c0|1frw0|64dc0|4bms0|6uao0|bvs00|7x6o0|asw00|8n400|9q000|902o0|9q000|9d1c0|9q000|902o0|8n400|9q000|902o0|a2yo0|8n400|afxc0|8n400|9q000|902o0|a2yo0|8n400|a2yo0|8n400|9q000|902o0|902o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|bitc0|5reo0|1xhuo0|779c0|bitc0|779c0|bitc0|779c0|bitc0|779c0|bitc0|7k800|b5uo0|7k800|b5uo0|7k800|bitc0|779c0|bitc0|779c0|bitc0|7x3w0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|8a5c0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Luxembourg",title:"Luxembourg",winIndex:27,offsets:[.41000000000000003,1,2,0],offsetIndices:"0121212131313131313131313131313131313131313131313131212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-y89550|68l290|75hg0|ast80|796s0|at1k0|7x6o0|3lh40|4zmo0|b6300|6u2c0|cytk0|7at40|bktk0|7rh40|a31g0|a2vw0|8n9k0|8zx40|9q2s0|9et80|9b9g0|a2vw0|8n6s0|9px80|905g0|a2vw0|905g0|a2vw0|8ncc0|9q000|902o0|a2yo0|8n400|9d1c0|9d1c0|902o0|a2yo0|9d1c0|9d1c0|902o0|9q000|a2yo0|8n400|9d1c0|9d1c0|902o0|9q000|a2yo0|b5uo0|51hc0|42ao0|1aeak0|7k800|9q000|9d1c0|8n400|a2yo0|8l9c0|clpc0|79400|fwu800|902o0|9q000|9d1c0|9d1c0|9d1c0|9q000|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Madrid",title:"Madrid",winIndex:62,offsets:[0,1,2],offsetIndices:"01010101010101010101010121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-rhcqs0|7x6o0|9tpc0|8y800|9b6o0|9gqo0|2d2yo0|8so00|st1c0|8n400|9q000|902o0|a2yo0|902o0|a2yo0|8n400|3zb9c0|6uao0|8so00|9xeo0|a2yo0|902o0|8a5c0|13yt80|69xc0|bq800|8oyo0|a1400|95mo0|9kg00|8n6s0|a2vw0|8oyo0|1ck5c0|7tk40|ct07w0|905g0|a2vw0|8n6s0|8zzw0|9d440|9px80|905g0|9rrw0|9b9g0|9d6w0|9d1c0|9q000|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Malta",title:"Malta",winIndex:27,offsets:[1,2],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-ryotg0|66800|9d1c0|9d1c0|8a5c0|asw00|7k800|b5uo0|8n400|9d1c0|aau000|18r9k0|7k800|9q000|9d1c0|9d1c0|9d1c0|8j940|9f1k0|afxc0|89zs0|afxc0|7kdk0|b5uo0|979rs0|6h980|cls40|64ak0|cls40|64ak0|cyqs0|64ak0|cls40|64ak0|c8tg0|6hc00|clpc0|6h980|9b9g0|9d1c0|ahs00|7m2o0|b45k0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|asys0|7x3w0|a4w40|8y580|9q2s0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Minsk",title:"Minsk",winIndex:96,offsets:[1.8333333333333333,2,3,1,4],offsetIndices:"012131312424242424242424242212121212121212121212121212121212121212122",untils:"-nu113c|379zjc|5r1mk0|pbf40|7k800|9q000|9d1c0|4oac0|j6dmk0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|sg2o0|9d440|9cvs0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbx40|Infinity"},{id:"Europe/Monaco",title:"Monaco",winIndex:27,offsets:[.15583333333333332,0,1,2],offsetIndices:"01212121212121212121212121212121212121212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-uozn3l|2qx1nl|5luo0|8y800|a4tc0|7vc00|auqo0|7idc0|b7pc0|6sg00|cyo00|7ayo0|bko00|7rmo0|a2yo0|bvs00|6uao0|902o0|9q000|9d1c0|9d1c0|a2yo0|8n400|9q000|902o0|a2yo0|902o0|a2yo0|8n400|9q000|902o0|a2yo0|8n400|9d1c0|9d1c0|902o0|a2yo0|9d1c0|9d1c0|902o0|9q000|a2yo0|8n400|9d1c0|9d1c0|902o0|9q000|a2yo0|b5uo0|51po0|mdbo0|7x3w0|7x9g0|c8w80|7k800|9q000|9d1c0|9nzs0|922w0|8l9c0|fxlx80|9cyk0|9q5k0|902o0|9q000|9d1c0|9d1c0|9d1c0|9q000|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"
},{id:"Europe/Moscow",title:"Moscow",winIndex:58,offsets:[2.504722222222222,2.5219444444444443,3.5219444444444443,4.521944444444444,4,3,5,2],offsetIndices:"012132345464575454545454545454545455754545454545454545454545454545454545454545",untils:"-rx5dmh|ipzua|97hc0|7yyk0|5i840|d9p80|1jpk0|2d2k7|s8o00|1qvw0|8fpc0|1jms0|is040|412as0|qi27w0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|5reo0|3ljw0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Europe/Oslo",title:"Oslo",winIndex:27,offsets:[1,2],offsetIndices:"010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-rzayo0|6qfs0|cgcqo0|15tsc0|7k800|9q000|9d1c0|9d1c0|9d1c0|9d1c0|70q5c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|b5uo0|7k800|7law00|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Paris",title:"Paris",winIndex:62,offsets:[.15583333333333332,0,1,2],offsetIndices:"0121212121212121212121212121212121212121212121212123232332323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-uozn1x|2qx1lx|5luo0|8y800|a4tc0|7vc00|auqo0|7idc0|b7pc0|6sg00|cyo00|7ayo0|bko00|7rmo0|a2yo0|bvs00|6uao0|902o0|9q000|9d1c0|9d1c0|a2yo0|8n400|9q000|902o0|a2yo0|902o0|a2yo0|8n400|9q000|902o0|a2yo0|8n400|9d1c0|9d1c0|902o0|a2yo0|9d1c0|9d1c0|902o0|9q000|a2yo0|8n400|9d1c0|9d1c0|902o0|9q000|a2yo0|b5uo0|51po0|5p8w0|18rcc0|7k800|9q000|9d1c0|7efo0|29k40|922w0|8l9c0|fxlx80|9cyk0|9q5k0|902o0|9q000|9d1c0|9d1c0|9d1c0|9q000|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Prague",title:"Prague",winIndex:60,offsets:[1,2],offsetIndices:"010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-s0e080|7ves0|a4yw0|7x6o0|asw00|7x6o0|b8qdc0|1cm000|7k800|9q000|9d1c0|8l9c0|afxc0|bitc0|8oyo0|7vc00|a2yo0|8n400|a2yo0|8n400|9o5c0|91xc0|fe6000|9d1c0|9q000|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Riga",title:"Riga",winIndex:59,offsets:[1.6094444444444445,2.6094444444444442,2,3,1,4],offsetIndices:"010102324242435353535353535353323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-qznlky|7x6o0|a4tc0|2mg00|3myns0|7fhlky|gz180|p5v40|7k800|9q000|9d1c0|9d1c0|k7s0|j14ns0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d440|asw00|7x6o0|asw00|7x6o0|b5uo0|qaao0|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Rome",title:"Rome",winIndex:27,offsets:[1,2],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-ryotg0|66800|9d1c0|9d1c0|8a5c0|asw00|7k800|b5uo0|8n400|9d1c0|aau000|18r9k0|7k800|9q000|9d1c0|8l3s0|a4yw0|8j940|9f1k0|afxc0|89zs0|afxc0|7kdk0|b5uo0|979rs0|6h980|cls40|64ak0|cls40|64ak0|cyqs0|64ak0|cls40|64ak0|c8tg0|6hc00|clpc0|6h980|cls40|64ak0|c8tg0|6h980|cls40|64dc0|clpc0|64dc0|c8qo0|6hc00|clpc0|6hc00|c8qo0|6hc00|9q5k0|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Samara",title:"Samara",winIndex:58,offsets:[3.338888888888889,3,4,5],offsetIndices:"012232323232323232322121112323232323232323232323232323232323232212",untils:"-qcx7pw|5q63dw|2egvw0|o3lc00|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9q000|9d1c0|9d440|12w00|89zs0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5xg0|7k800|Infinity"},{id:"Europe/Simferopol",title:"Simferopol",winIndex:58,offsets:[2.2666666666666666,2,3,1,4],offsetIndices:"012131312424242424242424242121212424242212121212121212121212121212121212142",untils:"-nu12ao|37a0qo|5xiyk0|iu340|7k800|9q000|9d1c0|iac0|jajmk0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|eeio0|wrjw0|9cyk0|9d440|9cyk0|9d440|1sqk0|7k580|9d440|9cyk0|9q2s0|at4c0|7x9g0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x3w0|asqg0|Infinity"},{id:"Europe/Sofia",title:"Sofia",winIndex:59,offsets:[2,1,3],offsetIndices:"01010102020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020",untils:"-e6dzw0|7k800|9q000|9d1c0|9d1c0|9d440|hqq240|9eys0|9o2k0|92040|9o2k0|90880|9pug0|90b00|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9cvs0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9q2s0|ast80|7xhs0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Stockholm",title:"Stockholm",winIndex:27,offsets:[1,2],offsetIndices:"01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-rzo2w0|75hg0|x5bew0|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Tallinn",title:"Tallinn",winIndex:59,offsets:[1.65,1,2,3,4],offsetIndices:"012102321212343434343434343433232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232",untils:"-r3exx0|3re10|7x6o0|et6g0|ygov0|a1zgd0|ktx80|l94g0|7k800|9q000|9d1c0|8uac0|j27mk0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asys0|7x6o0|b5uo0|19dc00|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Tirane",title:"Tirane",winIndex:60,offsets:[1.3222222222222222,1,2],offsetIndices:"01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-t85vo8|dt2gw8|18pew0|7k800|m800|g7ot40|7rjw0|autg0|7x3w0|ayis0|7x3w0|b5xg0|7k580|b42s0|7lzw0|b42s0|7lzw0|b42s0|7x3w0|ahus0|7x3w0|b5xg0|7x3w0|a4w40|8jbw0|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Uzhgorod",title:"Uzhgorod",winIndex:59,offsets:[1,2,3,4],offsetIndices:"010101023232323232323232320121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-fizzw0|1cm000|7k800|9q000|9d1c0|al900|cnms0|int140|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|eeio0|e1sc0|iprk0|9cyk0|9d440|9cyk0|9d440|9cyk0|9dcg0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Vienna",title:"Vienna",winIndex:27,offsets:[1,2],offsetIndices:"0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-s0e080|7ves0|a4yw0|7x6o0|asw00|7x6o0|t6000|8a5c0|a7a800|1cm000|7k800|9q000|9d1c0|9d1c0|9d1c0|iio0|ivmo0|902o0|9d1c0|9d1c0|a2yo0|8n400|gfyyg0|8zzw0|9d9o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Vilnius",title:"Vilnius",winIndex:59,offsets:[1.4,1.5933333333333333,1,2,3,4],offsetIndices:"012324323234545454545454545443434343434343434332334343434343434343434343434343434343434343434343434343434343434343434343",untils:"-rns980|1g224o|e75nc|4kqk0|acbs40|gpp40|pits0|7k800|9q000|9d1c0|65zo0|j4vx80|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x9g0|asw00|7x6o0|b5uo0|1s3eo0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Volgograd",title:"Volgograd",winIndex:58,offsets:[2.961111111111111,3,4,5],offsetIndices:"011223232323232323221212122121212121212121212121212121212121212121",untils:"-q3cw84|2qrjw4|2pu800|gdt980|a48yo0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9d1c0|9d1c0|9q000|9d1c0|ipzw0|9d440|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|1vbzw0|Infinity"},{id:"Europe/Warsaw",title:"Warsaw",winIndex:51,offsets:[1.4,1,2,3],offsetIndices:"012121223212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-se9yk0|dvyc0|7ves0|a4yw0|7x6o0|asw00|7x6o0|aunw0|7x6o0|1evbs0|9fcwc0|18cao0|7k800|9q000|9d1c0|9gnw0|an980|9kd80|8fs40|922w0|ar1c0|7x6o0|a2yo0|8n400|9q000|902o0|4013w0|64dc0|9d1c0|9d1c0|clpc0|6hc00|9d1c0|9d1c0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|clpc0|64dc0|6j4tc0|902o0|9q000|9d1c0|9d1c0|9d1c0|9q000|902o0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d440|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Zaporozhye",title:"Zaporozhye",winIndex:59,offsets:[2.3333333333333335,2,3,1,4],offsetIndices:"01213132424242424242424242422121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121",untils:"-nu12hc|37a0xc|5u1180|mc0g0|7k800|9q000|12qg0|jjc7s0|9et80|9d440|9et80|9d440|9et80|9eys0|9d6w0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9cvs0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9dcg0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Europe/Zurich",title:"Zurich",winIndex:27,offsets:[1,2],offsetIndices:"01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-eyh6o0|7x6o0|asw00|7x6o0|k2zus0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9d1c0|9q000|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|7x6o0|b5uo0|7k800|b5uo0|7k800|b5uo0|7k800|b5uo0|7x6o0|asw00|7x6o0|asw00|Infinity"},{id:"Indian/Chagos",title:"Chagos",winIndex:21,offsets:[4.827777777777778,5,6],offsetIndices:"012",untils:"-wvpc2s|1ag64us|Infinity"},{id:"Indian/Christmas",title:"Christmas",winIndex:6,offsets:[7],offsetIndices:"0",untils:"Infinity"},{id:"Indian/Cocos",title:"Cocos",winIndex:87,offsets:[6.5],offsetIndices:"0",untils:"Infinity"},{id:"Indian/Kerguelen",title:"Kerguelen",winIndex:17,offsets:[0,5],offsetIndices:"01",untils:"-afrs00|Infinity"},{id:"Indian/Mahe",title:"Mahe",winIndex:97,offsets:[3.6966666666666668,4],offsetIndices:"01",untils:"-x6pjlo|Infinity"},{id:"Indian/Maldives",title:"Maldives",winIndex:17,offsets:[4.9,5],offsetIndices:"01",untils:"-57x6y0|Infinity"},{id:"Indian/Mauritius",title:"Mauritius",winIndex:97,offsets:[3.8333333333333335,4,5],offsetIndices:"012121",untils:"-wvp9bc|13jnu7c|8bx80|dd0wc0|7x3w0|Infinity"},{id:"Indian/Reunion",title:"Reunion",winIndex:97,offsets:[3.697777777777778,4],offsetIndices:"01",untils:"-uks29s|Infinity"},{id:"MST7MDT",title:"MST7MDT",winIndex:15,offsets:[-7,-6],offsetIndices:"010101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0epo0|ast80|7x9g0|ast80|bmtus0|1tz5k0|2dvo0|b9gdg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"},{id:"Pacific/Apia",title:"Apia",winIndex:98,offsets:[-11.448888888888888,-11.5,-11,-10,14,13],offsetIndices:"01232345454545454545454545454545454545454545454545454545454",untils:"-usiiv4|kcrmt4|vp3la0|9odo0|902o0|4zbk0|4qog0|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|a2yo0|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|Infinity"},{id:"Pacific/Auckland",title:"Auckland",winIndex:8,offsets:[11.5,12.5,12,13],offsetIndices:"01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323",untils:"-m01p20|64ak0|biw40|7x5a0|asxe0|7x5a0|asxe0|7x5a0|asxe0|8a3y0|afyq0|8a3y0|afyq0|afvy0|7x820|asum0|7x820|asum0|7x820|asum0|7x820|asum0|7x820|b5ta0|7k9e0|b5ta0|7x820|hsl2m0|5reo0|clpc0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6hc00|c8qo0|6uao0|c8qo0|6hc00|b5uo0|8a5c0|afxc0|8a5c0|afxc0|8a5c0|afxc0|8n400|a2yo0|8n400|a2yo0|8n400|a2yo0|8n400|afxc0|8a5c0|afxc0|8a5c0|afxc0|8n400|a2yo0|8n400|a2yo0|8n400|afxc0|8a5c0|afxc0|8a5c0|afxc0|8n400|a2yo0|8n400|a2yo0|8n400|a2yo0|8n400|a2yo0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|a2yo0|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|902o0|9q000|9d1c0|9q000|902o0|9q000|902o0|Infinity"},{id:"Pacific/Chuuk",title:"Chuuk",winIndex:50,offsets:[10],offsetIndices:"0",untils:"Infinity"},{id:"Pacific/Efate",title:"Efate",winIndex:48,offsets:[11.22111111111111,11,12],offsetIndices:"0121212121212121212121",untils:"-u964i4|11f4ba4|9cyk0|awo40|7tek0|9q2s0|8zzw0|9q2s0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9q2s0|64ak0|e1ms0|4ofw0|Infinity"},{id:"Pacific/Enderbury",title:"Enderbury",winIndex:94,offsets:[-12,-11,13],offsetIndices:"012",untils:"535io0|7ykl80|Infinity"},{id:"Pacific/Fakaofo",title:"Fakaofo",winIndex:94,offsets:[-11,13],offsetIndices:"01",untils:"lx0jw0|Infinity"},{id:"Pacific/Fiji",title:"Fiji",winIndex:99,offsets:[11.928888888888888,12,13],offsetIndices:"0121212121212121212121212121212121212121212121212121212121212121",untils:"-sa2x4w|17bs00w|64dc0|cyo00|5reo0|53a5c0|64dc0|asw00|6uao0|bvs00|4oio0|e1k00|4oio0|eeio0|4bh80|erk40|3ylc0|erhc0|3ylc0|f4g00|3lmo0|f4g00|3ylc0|erhc0|3ylc0|erhc0|3ylc0|erhc0|3ylc0|f4g00|3lmo0|f4g00|3lmo0|f4g00|3ylc0|erhc0|3ylc0|erhc0|3ylc0|erhc0|3ylc0|f4g00|3lmo0|f4g00|3ylc0|erhc0|3ylc0|erhc0|3ylc0|erhc0|3ylc0|f4g00|3lmo0|f4g00|3lmo0|f4g00|3ylc0|erhc0|3ylc0|erhc0|3ylc0|erhc0|3ylc0|Infinity"},{id:"Pacific/Funafuti",title:"Funafuti",winIndex:44,offsets:[12],offsetIndices:"0",untils:"Infinity"},{id:"Pacific/Galapagos",title:"Galapagos",winIndex:67,offsets:[-5.973333333333333,-5,-6],offsetIndices:"012",untils:"-kcr62o|spdryo|Infinity"},{id:"Pacific/Guadalcanal",title:"Guadalcanal",winIndex:48,offsets:[10.663333333333332,11],offsetIndices:"01",untils:"-tvowac|Infinity"},{id:"Pacific/Guam",title:"Guam",winIndex:50,offsets:[10],offsetIndices:"00",untils:"g5z2w0|Infinity"},{id:"Pacific/Honolulu",title:"Honolulu",winIndex:57,offsets:[-10.5,-9.5,-10],offsetIndices:"010102",untils:"-j50la0|13l00|4jvb00|1wd180|votg0|Infinity"},{id:"Pacific/Kiritimati",title:"Kiritimati",winIndex:95,offsets:[-10.666666666666666,-10,14],offsetIndices:"012",untils:"535eyo|7ykm5c|Infinity"},{id:"Pacific/Kosrae",title:"Kosrae",winIndex:48,offsets:[11,12],offsetIndices:"010",untils:"-4r7w0|f9l3w0|Infinity"},{id:"Pacific/Kwajalein",title:"Kwajalein",winIndex:44,offsets:[11,-12,12],offsetIndices:"012",untils:"-4r7w0|cgtbw0|Infinity"},{id:"Pacific/Majuro",title:"Majuro",winIndex:44,offsets:[11,12],offsetIndices:"01",untils:"-4r7w0|Infinity"},{id:"Pacific/Midway",title:"Midway",winIndex:49,link:530},{id:"Pacific/Nauru",title:"Nauru",winIndex:44,offsets:[11.127777777777776,11.5,9,12],offsetIndices:"01213",untils:"-pjxiws|b1kxms|19h8a0|i43qe0|Infinity"},{id:"Pacific/Niue",title:"Niue",winIndex:49,offsets:[-11.333333333333334,-11.5,-11],offsetIndices:"012",untils:"-9wyz6o|ehcj4o|Infinity"},{id:"Pacific/Noumea",title:"Noumea",winIndex:48,offsets:[11.096666666666666,11,12],offsetIndices:"01212121",untils:"-u9645o|ye0ixo|4dbw0|ecqs0|4f6k0|99p700|4oio0|Infinity"},{id:"Pacific/Pago_Pago",title:"Pago Pago",winIndex:49,offsets:[-11.379999999999999,-11],offsetIndices:"0111",untils:"-usij20|tcsey0|8p4800|Infinity"},{id:"Pacific/Palau",title:"Palau",winIndex:43,offsets:[9],offsetIndices:"0",untils:"Infinity"},{id:"Pacific/Pohnpei",title:"Pohnpei",winIndex:48,offsets:[11],offsetIndices:"0",untils:"Infinity"},{id:"Pacific/Port_Moresby",title:"Port Moresby",winIndex:50,offsets:[10],offsetIndices:"0",untils:"Infinity"},{id:"Pacific/Rarotonga",title:"Rarotonga",winIndex:57,offsets:[-10.5,-9.5,-10],offsetIndices:"012121212121212121212121212",untils:"4mj960|5rbw0|c8s20|6ham0|c8s20|6ham0|c8s20|6u9a0|c8s20|6ham0|c8s20|6ham0|c8s20|6ham0|c8s20|6ham0|c8s20|6ham0|c8s20|6u9a0|c8s20|6ham0|c8s20|6ham0|c8s20|6ham0|Infinity"},{id:"Pacific/Saipan",title:"Saipan",winIndex:50,link:520},{id:"Pacific/Tahiti",title:"Tahiti",winIndex:57,offsets:[-9.97111111111111,-10],offsetIndices:"01",untils:"-tvnayw|Infinity"},{id:"Pacific/Tarawa",title:"Tarawa",winIndex:44,offsets:[12],offsetIndices:"0",untils:"Infinity"},{id:"Pacific/Tongatapu",title:"Tongatapu",winIndex:94,offsets:[12.333333333333334,13,14],offsetIndices:"01212121",untils:"-f4vrlc|uo2edc|8fpc0|bvs00|4bh80|eelg0|4bh80|Infinity"},{id:"Pacific/Wake",title:"Wake",winIndex:44,offsets:[12],offsetIndices:"0",untils:"Infinity"},{id:"Pacific/Wallis",title:"Wallis",winIndex:44,offsets:[12],offsetIndices:"0",untils:"Infinity"},{id:"PST8PDT",title:"PST8PDT",winIndex:11,offsets:[-8,-7],offsetIndices:"010101101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",untils:"-r0emw0|ast80|7x9g0|ast80|bmtus0|1tz2s0|2dyg0|b9gdg0|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|9d440|9cyk0|9d440|9cyk0|3lpg0|f4d80|64g40|clmk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|9d440|9px80|905g0|9px80|9d440|9cyk0|9d440|9cyk0|9d440|9cyk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|8a840|afuk0|8a840|afuk0|8a840|ast80|7x9g0|ast80|7x9g0|ast80|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6udg0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|6hes0|c8nw0|Infinity"}];n.exports={displayNames:i,timezones:o}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(162),s=n(2),l="dx-scheduler-work-space-day",c=r.inherit({_getElementClass:function(){return l},_getRowCount:function(){return this._getCellCountInDay()},_getCellCount:function(){return 1},_setFirstViewDate:function(){this._firstViewDate=this.option("currentDate"),s.isDefined(this.option("startDayHour"))&&this._firstViewDate.setHours(this.option("startDayHour"))},_getDateByIndex:function(){return this._firstViewDate},_getFormat:function(){return"longdate"},_renderDateHeader:o.noop,_getRightCell:function(e){return e?this._$focusedCell:this.callBase(e)},_getLeftCell:function(e){return e?this._$focusedCell:this.callBase(e)}});a("dxSchedulerWorkSpaceDay",c),i.exports=c}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(162),s=n(12),l=n(14),c="dx-scheduler-work-space-month",d="dx-scheduler-date-table-current-date",u="dx-scheduler-date-table-other-month",h=7,p=864e5,f=r.inherit({_getElementClass:function(){return c},_getRowCount:function(){return 6},_getCellCount:function(){return h},_getDateByIndex:function(e){var t=new Date(this._firstViewDate);return t.setDate(this._firstViewDate.getDate()+e),t},_getFormat:function(){return"E"},_calculateCellIndex:function(e,t){return t%=this._getCellCount(),e*this._getCellCount()+t},_getInterval:function(){return p},_getIntervalBetween:function(e){var t=this.getStartViewDate(),n=s.getTimezonesDifference(t,e);return e.getTime()-(t.getTime()-36e5*this.option("startDayHour"))-n},_getDateByCellIndexes:function(e,t){var n=this.callBase(e,t);return this._setStartDayHour(n),n},_calculateHiddenInterval:function(){return 0},_getCellCoordinatesByIndex:function(e){var t=Math.floor(e/this._getCellCount()),n=e-this._getCellCount()*t;return{rowIndex:t,cellIndex:n}},_renderTimePanel:o.noop,_renderAllDayPanel:o.noop,_getTableAllDay:o.noop,_toggleAllDayVisibility:o.noop,_changeAllDayVisibility:o.noop,_setFirstViewDate:function(){var e=s.getFirstMonthDate(this.option("currentDate"));this._firstViewDate=s.getFirstWeekDate(e,this.option("firstDayOfWeek")||l.firstDayOfWeekIndex()),this.option("startDayHour")&&this._firstViewDate.setHours(this.option("startDayHour"))},_renderTableBody:function(e){e.getCellText=o.proxy(this._getCellText,this),this.callBase(e)},_getCellText:function(e,t){t%=this._getCellCount();var n=this._getDate(e,t);return l.format(n,"dd")},_getDate:function(e,t){var n=new Date(this._firstViewDate);return n.setDate(n.getDate()+e*h+t),n},_updateIndex:function(e){return e},_prepareCellData:function(e,t,n){var i=this.callBase(e,t,n),a=o(e);return a.toggleClass(d,this._isCurrentDate(i.startDate)).toggleClass(u,this._isOtherMonth(i.startDate)),i},_isCurrentDate:function(e){var t=new Date;return s.sameMonthAndYear(e,t)&&e.getDate()===t.getDate()},_isOtherMonth:function(e){return e.getMonth()!==this.option("currentDate").getMonth()},getCellDuration:function(){return 36e5*this._calculateDayDuration()},getTimePanelWidth:function(){return 0},getPositionShift:function(){return{top:0,left:0}},getCoordinatesByDates:function(e,t){for(var n=[],i=new Date(e);t>=i;)n.push(this.getCoordinatesByDate(i)),i.setDate(i.getDate()+7),i=s.getFirstWeekDate(i,this.option("firstDayOfWeek")||l.firstDayOfWeekIndex());return n},getCellCountToLastViewDate:function(e){var t=s.makeDate(e).getTime(),n=this.getEndViewDate().getTime(),i=this.getCellDuration();return Math.ceil((n-t)/i)},supportAllDayRow:function(){return!1},calculateEndDate:function(e){var t=new Date(e);return new Date(t.setHours(this.option("endDayHour")))},_getCellPositionByIndex:function(e,t){var n=this.callBase(e,t),i=this._getCellCoordinatesByIndex(e).rowIndex,o=this.getCellHeight()*i;return o&&(n.top=o),n},scrollToTime:o.noop});a("dxSchedulerWorkSpaceMonth",f),i.exports=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(3),a=n(326),r=n(12),s=n(14),l="dx-scheduler-work-space-work-week",c=0,d=a.inherit({_getElementClass:function(){return l},_getCellCount:function(){return 5},_firstDayOfWeek:function(){return this.option("firstDayOfWeek")||1},_getDateByIndex:function(e){var t=new Date(this._firstViewDate);t.setDate(this._firstViewDate.getDate()+e+c);
var n=t.getDay();return n%6===0&&(c=Math.floor(n/6+1),t.setDate(t.getDate()+c)),t},_renderView:function(){c=0,this.callBase()},_setFirstViewDate:function(){this._firstViewDate=r.getFirstWeekDate(this.option("currentDate"),this._firstDayOfWeek()||s.firstDayOfWeekIndex()),this._firstViewDate=r.normalizeDateByWeek(this._firstViewDate,this.option("currentDate")),this._setStartDayHour(this._firstViewDate)}});o("dxSchedulerWorkSpaceWorkWeek",d),i.exports=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(22),r=n(9),s=n(15),l=n(99).hideCallback,c=n(3),d=n(18),u=n(78),h="dx-slideoutview",p="dx-slideoutview-wrapper",f="dx-slideoutview-menu-content",_="dx-slideoutview-content",g="dx-slideoutview-shield",m="dx-state-invisible",v="content",x=400,w={moveTo:function(e,t,n){a.animate(e,{type:"slide",to:{left:t},duration:x,complete:n})},complete:function(e){a.stop(e,!0)}},y=d.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{menuPosition:"normal",menuVisible:!1,swipeEnabled:!0,menuTemplate:"menu",contentTemplate:"content",contentOffset:45})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{android:!0},options:{contentOffset:54}},{device:function(e){return"generic"===e.platform&&"desktop"!==e.deviceType},options:{contentOffset:56}},{device:{win:!0,phone:!1},options:{contentOffset:76}}])},_getAnonymousTemplateName:function(){return v},_init:function(){this.callBase(),this.element().addClass(h),this._deferredAnimate=void 0,this._initHideTopOverlayHandler()},_initHideTopOverlayHandler:function(){this._hideMenuHandler=o.proxy(this.hideMenu,this)},_render:function(){this.callBase(),this._renderShield(),this._toggleMenuPositionClass(),this._initSwipeHandlers(),this._dimensionChanged()},_renderContentImpl:function(){this._renderMarkup();var e=this._getTemplate(this.option("menuTemplate")),t=this._getTemplate(this.option("contentTemplate"));e&&e.render(this.menuContent()),t&&t.render(this.content())},_renderMarkup:function(){var e=o("<div>").addClass(p);this._$menu=o("<div>").addClass(f),this._$container=o("<div>").addClass(_),e.append(this._$menu),e.append(this._$container),this.element().append(e),this._$container.on("MSPointerDown",o.noop)},_renderShield:function(){this._$shield=this._$shield||o("<div>").addClass(g),this._$shield.appendTo(this.content()),this._$shield.off(r.name).on(r.name,o.proxy(this.hideMenu,this)),this._toggleShieldVisibility(this.option("menuVisible"))},_initSwipeHandlers:function(){this._createComponent(this.content(),u,{disabled:!this.option("swipeEnabled"),elastic:!1,itemSizeFunc:o.proxy(this._getMenuWidth,this),onStart:o.proxy(this._swipeStartHandler,this),onUpdated:o.proxy(this._swipeUpdateHandler,this),onEnd:o.proxy(this._swipeEndHandler,this)})},_isRightMenuPosition:function(){var e="inverted"===this.option("menuPosition"),t=this.option("rtlEnabled");return t&&!e||!t&&e},_swipeStartHandler:function(e){w.complete(this.content());var t=e.jQueryEvent,n=this.option("menuVisible"),i=this._isRightMenuPosition();t.maxLeftOffset=+(i?!n:n),t.maxRightOffset=+(i?n:!n),this._toggleShieldVisibility(!0)},_swipeUpdateHandler:function(e){var t=e.jQueryEvent,n=this.option("menuVisible")?t.offset+1*this._getRTLSignCorrection():t.offset;n*=this._getRTLSignCorrection(),this._renderPosition(n,!1)},_swipeEndHandler:function(e){var t=e.jQueryEvent.targetOffset*this._getRTLSignCorrection()+this.option("menuVisible"),n=0!==t;this.option("menuVisible")===n?this._renderPosition(this.option("menuVisible"),!0):this.option("menuVisible",n)},_toggleMenuPositionClass:function(){var e=h+"-left",t=h+"-right",n=this._isRightMenuPosition()?"right":"left";this._$menu.removeClass(e+" "+t),this._$menu.addClass(h+"-"+n)},_renderPosition:function(e,t){var n=this._calculatePixelOffset(e)*this._getRTLSignCorrection();this._toggleHideMenuCallback(e),t?(this._toggleShieldVisibility(!0),w.moveTo(this.content(),n,o.proxy(this._animationCompleteHandler,this))):s.move(this.content(),{left:n})},_calculatePixelOffset:function(e){return e=e||0,e*this._getMenuWidth()},_getMenuWidth:function(){if(!this._menuWidth){var e=this.element().width()-this.option("contentOffset");this.menuContent().css("max-width",e);var t=this.menuContent().width();this._menuWidth=Math.min(t,e)}return this._menuWidth},_animationCompleteHandler:function(){this._toggleShieldVisibility(this.option("menuVisible")),this._deferredAnimate&&this._deferredAnimate.resolveWith(this)},_toggleHideMenuCallback:function(e){e?l.add(this._hideMenuHandler):l.remove(this._hideMenuHandler)},_getRTLSignCorrection:function(){return this._isRightMenuPosition()?-1:1},_dispose:function(){w.complete(this.content()),this._toggleHideMenuCallback(!1),this.callBase()},_visibilityChanged:function(e){e&&this._dimensionChanged()},_dimensionChanged:function(){delete this._menuWidth,this._renderPosition(this.option("menuVisible"),!1)},_toggleShieldVisibility:function(e){this._$shield.toggleClass(m,!e)},_optionChanged:function(e){switch(e.name){case"width":this.callBase(e),this._dimensionChanged();break;case"contentOffset":this._dimensionChanged();break;case"menuVisible":this._renderPosition(e.value,!0);break;case"menuPosition":this._renderPosition(this.option("menuVisible"),!0),this._toggleMenuPositionClass();break;case"swipeEnabled":this._initSwipeHandlers();break;case"contentTemplate":case"menuTemplate":this._invalidate();break;default:this.callBase(e)}},menuContent:function(){return this._$menu},content:function(){return this._$container},showMenu:function(){return this.toggleMenuVisibility(!0)},hideMenu:function(){return this.toggleMenuVisibility(!1)},toggleMenuVisibility:function(e){return e=void 0===e?!this.option("menuVisible"):e,this._deferredAnimate=o.Deferred(),this.option("menuVisible",e),this._deferredAnimate.promise()}});c("dxSlideOutView",y),i.exports=y}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i=h(t),o=60*e.getTimezoneOffset()*1e3;return new Date(Math[n]((e-0-o)/i)*i+o)}var a=n(1),r=n(12),s=n(2),l=n(216).continuous,c=s.isDefined,d=r.convertDateUnitToMilliseconds,u=r.correctDateWithUnitBeginning,h=r.dateToMilliseconds,p=r.convertMillisecondsToDateUnits,f=Math,_=f.abs,g=f.ceil,m=f.floor,v=f.round,x=50,w={millisecond:[1,2,5,10,25,100,250,300,500],second:[1,2,3,5,10,15,20,30],minute:[1,2,3,5,10,15,20,30],hour:[1,2,3,4,6,8,12],day:[1,2,3,5,7,10,14],month:[1,2,3,6]};t.datetime=a.extend({},l,{_correctInterval:function(e){var t=h(this._tickInterval);this._tickInterval=p(t*e)},_correctMax:function(e){this._max=o(this._max,e,"ceil")},_correctMin:function(e){this._min=o(this._min,e,"floor"),this._options.setTicksAtUnitBeginning&&u(this._min,e)},_findTickIntervalForCustomTicks:function(){return p(_(this._customTicks[1]-this._customTicks[0]))},_getBoundInterval:function(){var e=this,t=e._tickInterval,n=h(t),i=e._options.boundCoef,o=c(i)&&isFinite(i)?n*_(i):n/2;return p(o)},_getInterval:function(e){var t,n,i,o,a,r=e||this._getDeltaCoef(this._screenDelta,this._businessDelta,this._options.gridSpacingFactor),s=this._options.numberMultipliers,l={};if(r>0&&1>r)return{milliseconds:1};if(0===r)return 0;for(i in w)if(w.hasOwnProperty(i))for(o=w[i],n=0;n<o.length;n++)if(r<=d(i,o[n]))return l[i+"s"]=o[n],l;for(t=1;;t*=10)for(n=0;n<s.length;n++)if(a=t*s[n],r<=d("year",a))return{years:a};return 0},_getMarginValue:function(e,t,n){return p(v(_(t-e)*n))},_getMinorInterval:function(e,t){var n,i,o,a,r=this,s=r._options;c(s.minorTickInterval)&&r._isTickIntervalCorrect(s.minorTickInterval,x,t)?(n=s.minorTickInterval,i=h(n),a=t>i?g(t/i)-1:0):(o=c(s.minorTickCount)?s.minorTickCount+1:m(e/s.minorGridSpacingFactor),a=o-1,n=a>0?p(t/o):0),r._minorTickInterval=n,r._minorTickCount=a},_getNextTickValue:function(e,t,n,i,o){var a=r.addInterval(e,t,n);return this._options.setTicksAtUnitBeginning&&o!==!1&&u(a,t,!0),a},_getUnitBeginningMinorTicks:function(e){var t=this,n=t._ticks,i=t._findMinorTickInterval(n[1],n[2]),o=!0,a=!1,r=!1,s=t._getNextTickValue(n[1],i,o,a,r);return t._isTickIntervalValid(i)&&(e=t._createTicks(e,i,s,n[0],o,a,r)),e},_hasUnitBeginningTickCorrection:function(){var e=this._ticks;return e.length<3?!1:e[1]-e[0]!==e[2]-e[1]&&this._options.setTicksAtUnitBeginning&&this._options.minorTickCount},_isTickIntervalValid:function(e){return c(e)&&0!==h(e)},_checkBoundedDatesOverlapping:function(){var e=this._ticks,t=this.getOverlappingBehavior();return e.length>2&&"stagger"!==t.mode&&"ignore"!==t.mode&&!this._areDisplayValuesValid(e[0],e[1])}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(7),r=n(12),s=n(2),l=s.isDefined,c=r.addInterval,d=a.adjustValue,u=n(216).continuous,h=a.getLog,p=a.raiseTo,f=Math,_=f.abs,g=f.ceil,m=f.floor,v=f.round;t.logarithmic=o.extend({},u,{_correctMax:function(){var e=this._options.base;this._max=d(p(g(d(h(this._max,e))),e))},_correctMin:function(){var e=this._options.base;this._min=d(p(m(d(h(this._min,e))),e))},_findBusinessDelta:function(e,t,n){var i;return 0>=e||0>=t?0:i=n===!1?u._findBusinessDelta(e,t):v(_(h(e,this._options.base)-h(t,this._options.base)))},_findTickIntervalForCustomTicks:function(){return d(h(this._customTicks[1]/this._customTicks[0],this._options.base))},_getInterval:function(e){var t,n,i=e||this._getDeltaCoef(this._screenDelta,this._businessDelta,this._options.gridSpacingFactor),o=this._options.numberMultipliers,a=0,r=!1;if(0!==i)for(t=1;!r;t*=10)for(n=0;n<o.length;n++)if(a=o[n]*t,a>=i){r=!0;break}return d(a)},_getMinorInterval:function(e,t){var n=this,i=n._options,o=i.minorTickCount,a=l(o)?o+1:m(e/i.minorGridSpacingFactor),r=a-1,s=r>0?t/a:0;n._minorTickInterval=s,n._minorTickCount=r},_getMarginValue:function(){return null},_getNextTickValue:function(e,t,n,i){var o,a,r=this;return t=l(n)&&n?-t:t,i===!1?a=e+t:(o=c(h(e,r._options.base),t,r._min>r._max),a=d(p(o,r._options.base))),a}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t;return e=l.normalizeAngle(e),e>=315&&360>=e||45>e&&e>=0?t=1:e>=45&&135>e?t=2:e>=135&&225>e?t=3:e>=225&&315>e&&(t=4),t}var a,r,s=n(1),l=n(7),c=n(2),d=n(253),u=n(328).linear,h=l.map,p=Math,f=p.abs,_=p.round,g=l.convertPolarToXY,m=s.extend,v=s.noop,x=90;r=t,a=r.circular={_overlappingBehaviorType:"circular",_createAxisElement:function(){var e=this._additionalTranslator;return this._renderer.circle(e.getCenter().x,e.getCenter().y,e.getRadius())},_setBoundingRect:function(){this.boundingRect={width:0,height:0}},_boundaryTicksVisibility:{min:!0},_getOverlappingBehaviorOptions:function(){var e=this,t=e._additionalTranslator,n=t.getAngles(),i=u._getOverlappingBehaviorOptions.call(e),o=e._translator,a=e._options.label.indentFromAxis||0;return i.overlappingBehavior&&(i.overlappingBehavior={mode:d.validateOverlappingMode(i.overlappingBehavior.mode)}),i.translate=function(e){return g(t.getCenter(),n[0],o.translate(e),t.translate(d.canvasPositionBottom))},i.circularRadius=t.getRadius()+a,i.circularStartAngle=n[0],i.circularEndAngle=n[1],i.isHorizontal=!1,i},_addBoundaryTick:function(e){var t=this._tickManager.getBoundaryTicks();t.length&&e.unshift({value:t[0]})},_getSpiderCategoryOption:function(){return this._options.firstPointOnStartAngle},_getMinMax:function(){var e,t=this._options,n=c.isNumber(t.originValue)?t.originValue:void 0;return t.period>0&&t.argumentType===d.numeric&&(n=n||0,e=n+t.period),{min:n,max:e}},_getStick:function(){return this._options.firstPointOnStartAngle||this._options.type!==d.discrete},measureLabels:function(e){var t,n=this,i=n._options,o=i.label.indentFromAxis||0,a=i.visible?i.width:0,r=.5*i.tick.length,s=e?o+r:0;return n._axisElementsGroup&&n._options.label.visible?(n._updateTickManager(),t=n._tickManager.getMaxLabelParams(),{height:t.height+s,width:t.width+s}):{height:a,width:a}},_getTranslatedCoord:function(e,t){return this._translator.translate(e,t)-x},_getCanvasStartEnd:function(){return{start:0-x,end:360-x}},_createStrip:function(e,t,n){var i=this._additionalTranslator.getCenter(),o=this._additionalTranslator.getRadius();return this._renderer.arc(i.x,i.y,0,o,-t,-e).attr(n)},_getStripLabelCoords:function(e,t,n){var i=this,o=t+(n-t)/2,a=l.getCosAndSin(-o),r=i._additionalTranslator.getRadius()/2,s=i._additionalTranslator.getCenter(),c=_(s.x+r*a.cos),u=_(s.y-r*a.sin);return{x:c,y:u,align:d.center}},_createConstantLine:function(e,t){var n=this._additionalTranslator.getCenter(),i=this._additionalTranslator.getRadius();return this._createPathElement([n.x,n.y,n.x+i,n.y],t).rotate(e,n.x,n.y)},_getConstantLineLabelsCoords:function(e){var t=this,n=l.getCosAndSin(-e),i=t._additionalTranslator.getRadius()/2,o=t._additionalTranslator.getCenter(),a=_(o.x+i*n.cos),r=_(o.y-i*n.sin);return{x:a,y:r,align:d.center}},_checkAlignmentConstantLineLabels:v,_getScreenDelta:function(){return 2*Math.PI*this._additionalTranslator.getRadius()},_getTickCoord:function(e){var t=this._additionalTranslator.getCenter(),n=this._additionalTranslator.getRadius(),i={inside:-1,center:-.5,outside:0},o=e.length*i[this._options.tickOrientation||"center"],a=n+o;return{x1:t.x+a,y1:t.y,x2:t.x+a+e.length,y2:t.y,angle:e.angle}},_getLabelAdjustedCoord:function(e){var t=this,n=e.labelPos,i=l.getCosAndSin(n.angle),a=i.cos,r=i.sin,s=e.label.getBBox(),c=s.width/2,d=s.height/2,u=t._options.label.indentFromAxis||0,h=n.x+u*a,p=n.y+(n.y-s.y-d)+u*r;switch(o(n.angle)){case 1:h+=c,p+=d*r;break;case 2:h+=c*a,p+=d;break;case 3:h+=-c,p+=d*r;break;case 4:h+=c*a,p+=-d}return{x:h,y:p}},_getGridLineDrawer:function(){var e=this,t=e._additionalTranslator.getRadius(),n=e._additionalTranslator.getCenter();return function(i){return e._createPathElement([n.x,n.y,n.x+t,n.y],i.gridStyle).rotate(i.angle,n.x,n.y)}},_getTranslatedValue:function(e,t,n){var i=this._additionalTranslator,o=i.getAngles()[0],a=this._translator.translate(e,-n),r=g(i.getCenter(),o,a,i.translate(d.canvasPositionBottom));return{x:r.x,y:r.y,angle:a+o-x}},_getAdjustedStripLabelCoords:function(e,t){var n,i=t.getBBox();return n=t.attr("y")-i.y-i.height/2,{x:0,y:n}},coordsIn:function(e,t){return l.convertXYToPolar(this._additionalTranslator.getCenter(),e,t).r>this._additionalTranslator.getRadius()},_rotateTick:function(e,t){var n=this._additionalTranslator.getCenter();e.graphic.rotate(t,n.x,n.y)}},t.circularSpider=m({},a,{_createAxisElement:function(){var e=h(this.getSpiderTicks(),function(e){return{x:e.posX,y:e.posY}});return this._renderer.path(e,"area")},_getStick:function(){return!0},_getSpiderCategoryOption:function(){return!0},getSpiderTicks:function(){var e=this;return e._spiderTicks=d.convertValuesToTicks(e._tickManager.getFullTicks()),e._initTicks(e._spiderTicks,{tickStyle:{},gridStyle:{}},!1,e._getSkippedCategory(),e._tickOffset),e._spiderTicks},_createStrip:function(e,t,n){for(var i,o,a,r,s=this._additionalTranslator.getCenter(),l=this.getSpiderTicks(),c=[],d=0,u=l.length;u>d;)r=l[d],r.angle>=e&&r.angle<=t&&(i||(i=l[d-1]||l[l.length-1],c.push((r.posX+i.posX)/2,(r.posY+i.posY)/2)),c.push(r.posX,r.posY),a=l[d+1]||l[0],o={x:(r.posX+a.posX)/2,y:(r.posY+a.posY)/2}),d++;return c.push(o.x,o.y),c.push(s.x,s.y),this._renderer.path(c,"area").attr(n)},_getTranslatedCoord:function(e,t){return this._translator.translate(e,t)-x},_setTickOffset:function(){this._tickOffset=!1}}),r.linear={_overlappingBehaviorType:"linear",_getMinMax:a._getMinMax,_getStick:u._getStick,_getSpiderCategoryOption:s.noop,_createAxisElement:function(){var e=this._additionalTranslator,t=e.getCenter(),n=[t.x,t.y,t.x+e.getRadius(),t.y];return this._renderer.path(n,"line").rotate(e.getAngles()[0]-x,t.x,t.y)},_setBoundingRect:a._setBoundingRect,_getScreenDelta:function(){return this._additionalTranslator.getRadius()},_getTickCoord:function(e){return{x1:e.posX-e.length/2,y1:e.posY,x2:e.posX+e.length/2,y2:e.posY,angle:e.angle+x}},_getOverlappingBehaviorOptions:function(){var e=this,t=e._translator,n=e._additionalTranslator,i=u._getOverlappingBehaviorOptions.call(this),o=l.normalizeAngle(e._additionalTranslator.getAngles()[0]);return i.overlappingBehavior&&(i.overlappingBehavior={mode:d.validateOverlappingMode(i.overlappingBehavior.mode)}),i.isHorizontal=o>45&&135>o||o>225&&315>o,i.translate=function(i){return g(n.getCenter(),e._options.startAngle,n.translate(d.canvasPositionTop),t.translate(i)).x},i},_getLabelAdjustedCoord:function(e){var t,n,i=this,o=e.labelPos,a=l.getCosAndSin(o.angle),r=i._options.label.indentFromAxis||0,s=e.label.getBBox();return t=o.x-f(r*a.sin)+f(s.width/2*a.cos),n=o.y+(o.y-s.y)-f(s.height/2*a.sin)+f(r*a.cos),{x:t,y:n}},_getGridLineDrawer:function(){var e=this,t=e._additionalTranslator.getCenter();return function(n){return e._renderer.circle(t.x,t.y,l.getDistance(t.x,t.y,n.posX,n.posY)).attr(n.gridStyle).sharp()}},_getTranslatedValue:function(e,t,n){var i=this._additionalTranslator,o=i.getAngles()[0],a=i.translate(d.canvasPositionStart),r=g(i.getCenter(),o,a,this._translator.translate(e,n));return{x:r.x,y:r.y,angle:a+o-x}},_getTranslatedCoord:function(e,t){return this._translator.translate(e,t)},_getCanvasStartEnd:function(){return{start:0,end:this._additionalTranslator.getRadius()}},_createStrip:function(e,t,n){var i=this._additionalTranslator.getCenter();return this._renderer.arc(i.x,i.y,e,t,0,360).attr(n)},_getAdjustedStripLabelCoords:a._getAdjustedStripLabelCoords,_getStripLabelCoords:function(e,t,n){var i=this,o=t+(n-t)/2,a=i._additionalTranslator.getCenter(),r=_(a.y-o);return{x:a.x,y:r,align:d.center}},_createConstantLine:function(e,t){var n=this._additionalTranslator.getCenter();return this._renderer.circle(n.x,n.y,e).attr(t).sharp()},_getConstantLineLabelsCoords:function(e){var t=this,n=t._additionalTranslator.getCenter(),i=_(n.y-e);return{x:n.x,y:i,align:d.center}},_checkAlignmentConstantLineLabels:v,_rotateTick:function(e,t){e.graphic.rotate(t,e.posX,e.posY)}},r.linearSpider=m({},r.linear,{_createPathElement:function(e,t){return this._renderer.path(e,"area").attr(t).sharp()},setSpiderTicks:function(e){this._spiderTicks=e},_getGridLineDrawer:function(){var e=this,t=e._additionalTranslator.getCenter();return function(n){var i=l.getDistance(t.x,t.y,n.posX,n.posY);return e._createPathElement(e._getGridPoints(t,i),n.gridStyle)}},_getGridPoints:function(e,t){return h(this._spiderTicks,function(n){var i=l.getCosAndSin(n.angle);return{x:_(e.x+t*i.cos),y:_(e.y+t*i.sin)}})},_createStrip:function(e,t,n){var i=this._additionalTranslator.getCenter(),o=this._getGridPoints(i,t),a=this._getGridPoints(i,e);return this._renderer.path([a,o.reverse()],"area").attr(n)},_createConstantLine:function(e,t){var n=this._additionalTranslator.getCenter(),i=this._getGridPoints(n,e);return this._createPathElement(i,t)}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){switch(e){case"overlap":return S;case S:return T;default:return"end"}}function a(e){return e.toString()}function r(e){if(!h(e)){var t=new Date;e=d(t,e)-t}return e}var s=n(1),l=n(216),c=n(2),d=n(12).addInterval,u=c.isDefined,h=c.isNumber,p=Math,f=p.abs,_=p.ceil,g=p.floor,m=p.atan,v=p.max,x=s.each,w=s.noop,y=s.isFunction,b=s.extend,C=4,k=2,S="stagger",T="rotate",I=2,D={x:-1e3,y:-1e3};t.base={_applyOverlappingBehavior:function(){var e=this,t=e._options,n=t.overlappingBehavior;"ignore"!==n.mode&&(e._useAutoArrangement=!0,e._correctTicks(),"_auto"===n.mode&&(e._applyAutoOverlappingBehavior(),e._useAutoArrangement=t.overlappingBehavior.isOverlapped),e._useAutoArrangement&&(n.mode===S&&(e._screenDelta*=k),e._applyAutoArrangement()))},checkBoundedTicksOverlapping:function(){return{overlappedDates:this._checkBoundedDatesOverlapping(),overlappedStartEnd:this._checkStartEndOverlapping()}},getMaxLabelParams:function(e){var t,n,i=this,o=i._options.getText||a,r=0;return e=e||i._calculateMajorTicks(),x(e,function(e,a){var s=o(a,i._options.labelOptions),l=u(s)?s.length:-1;l>r&&(r=l,t=a,n=s)}),r>0?i._getTextElementBbox(t,n):{width:0,height:0,length:0,y:0}},_applyAutoArrangement:function(){var e,t,n=this,i=n._options;n._useAutoArrangement&&(t=n._getTicksSize(),e=n._getAutoArrangementStep(t),e>1&&(u(n._tickInterval)||u(n._customTicks)?n._ticks=n._getAutoArrangementTicks(e):(i.gridSpacingFactor=t,n._ticks=n._createTicks([],n._findTickInterval(),n._min,n._max))))},_getAutoArrangementTicks:function(e){var t,n=this,i=n._ticks,o=i.length,a=i,r=n._decimatedTicks||[];if(e>1){for(a=[],t=0;o>t;t++)t%e===0?a.push(i[t]):r.push(i[t]);n._correctInterval(e)}return a},_isOverlappedTicks:function(e){return this._getAutoArrangementStep(this._getTicksSize(),e,-1)>1},_areDisplayValuesValid:function(e,t){var n,i,o,r=this,s=r._options,l=s.getText||a,c=s.overlappingBehavior&&h(s.overlappingBehavior.rotationAngle)?s.overlappingBehavior.rotationAngle:0,d=r._getTextElementBbox(e,l(e,s.labelOptions)),u=r._getTextElementBbox(t,l(t,s.labelOptions)),p=d.x>u.x,_=d.y>u.y;return 0!==c?o=r._getDistanceByAngle(d,c)<=f(u.x-d.x):(n=p?u.x+u.width>d.x:d.x+d.width>u.x,i=_?u.y+u.height>d.y:d.y+d.height>u.y,o=!(n&&i)),o},checkUserTickInterval:function(e,t){var n,i,o=this._options.overlappingBehavior;return o&&"enlargeTickInterval"===o.mode?e?(n=r(e),i=r(t),h(n)&&h(i)&&n>i?e:t):t:e||t}},t.circular=b({},t.base,{checkUserTickInterval:function(e,t){return e||t},_correctTicks:w,_applyAutoOverlappingBehavior:function(){this._options.overlappingBehavior.isOverlapped=!0},_getTextElementBbox:function(e,t){var n,i=b({},this._options.textOptions,{rotate:0}),o=y(this._options.translate)?this._options.translate(e):{x:0,y:0};return t=this._options.renderText(t,o.x,o.y).css(this._options.textFontStyles).attr(i),n=t.getBBox(),t.remove(),n},_getTicksSize:function(){return this.getMaxLabelParams(this._ticks)},_checkStartEndOverlapping:function(){var e=this._ticks,t=e[e.length-1];return e.length>1&&!this._areDisplayValuesValid(e[0],t)},_getAutoArrangementStep:function(e){var t=this,n=t._options,i=n.circularRadius,o=n.circularStartAngle,a=n.circularEndAngle,r=o===a?360:f(o-a),s=t._businessDelta||t._ticks.length,l=t._tickInterval*r/s,c=e.width,d=e.height,u=f(2*m(d/(2*i-c))*180/p.PI),h=f(2*m(c/(2*i-d))*180/p.PI),g=v(u,h),x=1;return g>l&&(x=_(g/l)),v(1,x)}}),t.linear=b({},t.base,{_correctTicks:function(){var e,t=l.continuous._getInterval;e=_(t.call(this,this._getDeltaCoef(this._screenDelta*C,this._ticks.length)))||this._ticks.length,this._ticks=this._getAutoArrangementTicks(e)},_getTextElementBbox:function(e,t){var n,i=b({},this._options.textOptions,{rotate:0}),o=0,a=0,r=y(this._options.translate)?this._options.translate(e):0;return this._options.isHorizontal?o+=r:a+=r,t=this._options.renderText(t,o,a).css(this._options.textFontStyles).attr(i),n=t.getBBox(),t.remove(),n},_checkStartEndOverlapping:w,_getAutoArrangementStep:function(e,t,n){var i,o=this,a=o._options,r=a.textSpacing||0,s=a.isHorizontal?r:0;return t=t||o._screenDelta,n=u(n)?n:1,a.getCustomAutoArrangementStep?a.getCustomAutoArrangementStep(o._ticks,a):e>0?(i=g((t+r)/(e+s)),i=n>=i?I:i,_((a.ticksCount||o._ticks.length)/i)):1},_getOptimalRotationAngle:function(){var e=this,t=e._options,n=e._ticks[0],i=e._ticks[1],o=e._textOptions,r=t.getText||a,s=t.textFontStyles,l=t.renderText(r(n,t.labelOptions),D.x+t.translate(n,!t.isHorizontal),D.y).css(s).attr(o),c=t.renderText(r(i,t.labelOptions),D.x+t.translate(i,!t.isHorizontal),D.y).css(s).attr(o),d=l.getBBox(),u=c.getBBox(),h=180*p.asin((d.height+t.textSpacing)/(u.x-d.x))/Math.PI;return l.remove(),c.remove(),isNaN(h)?90:_(h)},_applyAutoOverlappingBehavior:function(){for(var e=this,t=e._options.overlappingBehavior,n=e._screenDelta,i=!1,a=null,r=null,s="overlap";"end"!==s;)switch(i=a&&90!==a?!1:e._isOverlappedTicks(n),s=o(i?s:null)){case S:n*=k,r=s;break;case T:a=e._getOptimalRotationAngle(),n=e._screenDelta,r=s}t.isOverlapped=i,t.mode=r,t.rotationAngle=a},_getDistanceByAngle:function(e,t){var n=t*(p.PI/180);return n>=m(e.height/e.width)?e.height/f(p.sin(n)):e.width},_getTicksSize:function(){var e=this.getMaxLabelParams(this._ticks),t=this._options,n=t.overlappingBehavior?t.overlappingBehavior.rotationAngle:0,i=h(n)&&0!==n;return _(i?this._getDistanceByAngle(e,n):t.isHorizontal?e.width:e.height)}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(524).dxBarGauge}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(554)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){for(var n,i=0;i<e.length;i++)if(e[i].pane===t){n=e[i].name;break}return n||(n=e[0].name),n}function a(e,t,n){var i,o=[];A(e,function(e,n){n.pane===t&&o.push(n)}),o.length>1&&n&&A(o,function(e,t){var n=t.getOptions().grid,o=t.getOptions().minorGrid;i&&n&&n.visible?(n.visible=!1,o&&(o.visible=!1)):i=i?i:n&&n.visible})}function r(e,t){var n;return A(e,function(e,i){A(i,function(i){return t===i?(n=e,!1):void 0})}),n}function s(e,t,n){var i,o;for(o=0;o<t.length;o++)if(t[o].name===n){i=t[o],i.priority=o;break}if(!i)for(o=0;o<e.length;o++)if(e[o].name===n){i=e[o].getOptions(),i.priority=e[o].priority;break}return i}function l(e,t,n){var i,o;for(o=0;o<n.length;o++)if(i=n[o],i.name===t&&i.pane===e)return i}function c(e,t,n,i,o){var a=~~((i>n?n:i)/2),r=o.width||0,s=a>r?r:a;e+=s/2,t+=s/2,n-=s,i-=s;var l,c=e+n,d=t+i,u=[],h=[],p=0,f=0,_={top:[[e,t],[c,t]],right:[[c,t],[c,d]],bottom:[[c,d],[e,d]],left:[[e,d],[e,t]]};switch(A(_,function(e){var t=!!o[e];p=2*p+~~t}),p){case 13:case 9:l=["left","top","right","bottom"];break;case 11:l=["bottom","left","top","right"];break;default:l=["top","right","bottom","left"]}return A(l,function(e,t){var n=!!o[t];!f&&h.length&&(u.push(h),h=[]),n&&A(_[t].slice(f),function(e,t){h=h.concat(t)}),f=~~n}),h.length&&u.push(h),1===u.length&&(u=u[0]),{points:u,pathType:15===p?"area":"line"}}function d(e,t){A(e||[],function(e,n){n&&n.attr(t)})}function u(e){A(e,function(e,t){A(t,function(e,t){t.arg.reinit(),t.val.reinit()})})}function h(e,t){return e.priority-t.priority}function p(e,t){var n=!1;return A(e,function(e,i){return i.name===t?(n=!0,!1):void 0}),n}var f=n(1),_=n(2),g=n(3),m=n(7),v=n(255).overlapping,x=n(119),w=n(97),y=n(330),b=n(510),C=n(329).AdvancedChart,k=n(511),S=n(508),T=5,I="default",D=[{name:I,border:{}}],E=m.map,A=f.each,B=f.extend,M=_.isArray,O=_.isDefined,P=C.inherit({_chartType:"chart",_initCore:function(){this.paneAxis={},this._panesClipRects={},this.callBase()},_disposeCore:function(){var e=this,t=this._disposeObjectsInArray,n=e._panesClipRects;e.callBase(),t.call(n,"fixed"),t.call(n,"base"),t.call(n,"wide"),e._panesClipRects=null},_correctAxes:function(){this._correctValueAxes()},_getExtraOptions:f.noop,_processSingleSeries:f.noop,_groupSeries:function(){var e=this,t=e.panes,n=e._valueAxes,i=E(t,function(e){return e.name}),r=e.series,s=e.paneAxis,c=e._themeManager.getOptions("synchronizeMultiAxes"),d=e._groupsData={groups:[]};A(r,function(e,t){t.axis=t.axis||o(n,t.pane),t.axis&&(s[t.pane]=s[t.pane]||{},s[t.pane][t.axis]=!0)}),A(n,function(e,t){t.name&&t.pane&&-1!==f.inArray(t.pane,i)&&(s[t.pane]=s[t.pane]||{},s[t.pane][t.name]=!0)}),e._correctValueAxes(),A(s,function(e,t){a(n,e,c),A(t,function(t){var i={series:[]};A(r,function(n,o){o.pane===e&&o.axis===t&&i.series.push(o)}),d.groups.push(i),i.valueAxis=l(e,t,n),i.valueOptions=i.valueAxis.getOptions()})}),d.argumentAxes=e._argumentAxes,d.argumentOptions=d.argumentAxes[0].getOptions()},_cleanPanesClipRects:function(e){var t=this,n=t._panesClipRects[e];A(n||[],function(e,t){t&&t.dispose()}),t._panesClipRects[e]=[]},_createPanes:function(){var e,t=this,n=t.option("panes"),i=0;return(!n||M(n)&&!n.length)&&(n=D),t._cleanPanesClipRects("fixed"),t._cleanPanesClipRects("base"),t._cleanPanesClipRects("wide"),e=t.option("defaultPane"),n=B(!0,[],M(n)?n:[n]),A(n,function(e,t){t.name=O(t.name)?t.name:I+i++}),O(e)?p(n,e)||(t._incidentOccurred("W2101",[e]),e=n[n.length-1].name):e=n[n.length-1].name,t.defaultPane=e,n=t._isRotated()?n.reverse():n},_getAxisRenderingOptions:function(){return{axisType:"xyAxes",drawingType:"linear"}},_prepareAxisOptions:function(e,t,n){return{isHorizontal:"argumentAxis"===e!==n}},_checkPaneName:function(e){var t=E(this.panes,function(e){return e.name});return e.pane=e.pane||this.defaultPane,-1!==f.inArray(e.pane,t)},_correctValueAxes:function(){var e=this,t=e._isRotated(),n=e.option("valueAxis")||{},i=M(n)?n:[n],o=e._valueAxes||[],a=o[0].name,c=e.paneAxis,d={};A(o,function(t,n){var i;n.pane||(i=r(c,n.name),i||(i=e.defaultPane,(c[i]=c[i]||{})[n.name]=!0),n.setPane(i))}),A(e.panes,function(e,t){var n=t.name;c[n]||(c[n]={},c[n][a]=!0)}),A(c,function(n,a){A(a,function(a){var r;d[a+"-"+n]=!0,l(n,a,o)||(r=s(o,i,a),r||(e._incidentOccurred("W2102",[a]),r={name:a,priority:o.length}),o.push(e._createAxis("valueAxis",r,{pane:n,name:a},t)))})}),e._valueAxes=f.grep(o,function(e){return!!d[e.name+"-"+e.pane]}).sort(h)},_getSeriesForPane:function(e){var t=[];return A(this.series,function(n,i){i.pane===e&&t.push(i)}),t},_createTranslator:function(e,t,n){return new x.Translator2D(e,t,n)},_createPanesBorderOptions:function(){var e=this._themeManager.getOptions("commonPaneSettings").border,t={};return A(this.panes,function(n,i){t[i.name]=B(!0,{},e,i.border)}),t},_createScrollBar:function(){var e=this,t=e._themeManager.getOptions("scrollBar")||{},n=e._scrollBarGroup;t.visible?(t.rotated=e._isRotated(),e._scrollBar=(e._scrollBar||new k.ScrollBar(e._renderer,n)).update(t)):(n.linkRemove(),e._scrollBar&&e._scrollBar.dispose(),e._scrollBar=null)},_prepareToRender:function(e){var t=this,n=t._createPanesBorderOptions(),i=t._options.useAggregation;return t._createPanesBackground(),t._appendAxesGroups(),t._transformed&&t._resetTransform(),t._createTranslators(e),i&&A(t.series,function(e,n){n.resamplePoints(t._getTranslator(n.pane,n.axis).arg,t._zoomMinArg,t._zoomMaxArg)}),(i||O(t._zoomMinArg)||O(t._zoomMaxArg))&&(t._populateBusinessRange({adjustOnZoom:t._themeManager.getOptions("adjustOnZoom"),minArg:t._zoomMinArg,maxArg:t._zoomMaxArg,notApplyMargins:t._notApplyMargins}),t._updateTranslators()),n},_isLegendInside:function(){return this._legend&&"inside"===this._legend.getPosition()},_renderAxes:function(e,t,n,i){e&&e.recreateCanvas&&m.updatePanesCanvases(this.panes,this._canvas,n),this._drawAxes(t,e,i)},_isRotated:function(){return this._themeManager.getOptions("rotated")},_getLayoutTargets:function(){return this.panes},_applyClipRects:function(e){var t,n=this,i=n._getCanvasClipRectID();for(n._drawPanesBorders(e),n._createClipRectsForPanes(),t=0;t<n._argumentAxes.length;t++)n._argumentAxes[t].applyClipRects(n._getElementsClipRectID(n._argumentAxes[t].pane),i);for(t=0;t<n._valueAxes.length;t++)n._valueAxes[t].applyClipRects(n._getElementsClipRectID(n._valueAxes[t].pane),i);n._fillPanesBackground()},_updateLegendPosition:function(e,t){var n=this;if(e.drawLegend&&n._legend&&t){var i=n.panes,o=B({},i[0].canvas),a=new y.LayoutManager;o.right=i[i.length-1].canvas.right,o.bottom=i[i.length-1].canvas.bottom,a.setOptions({width:0,height:0}),a.layoutElements([n._legend],o,f.noop,[{canvas:o}],void 0,{horizontalAxes:[],verticalAxes:[]})}},_prepareTranslators:function(e,t,n){var i=this._getTranslator(e.pane,e.axis),o={};return o[n?"x":"y"]=i.val,o[n?"y":"x"]=i.arg,o},_applyExtraSettings:function(e,t){var n=this,i=n._getPaneIndex(e.pane),o=n._panesClipRects,a=o.wide[i];e.setClippingParams(o.base[i].id,a&&a.id,n._getPaneBorderVisibility(i))},_createTranslators:function(e){var t,n=this,i=n._isRotated();e.recreateCanvas&&(n.translators=t={},m.updatePanesCanvases(n.panes,n._canvas,i),A(n.paneAxis,function(e,o){t[e]=t[e]||{},A(o,function(o){var a=n._createTranslator(new w.Range(n._getBusinessRange(e,o).val),n._getCanvasForPane(e),{isHorizontal:!!i});a.pane=e,a.axis=o,t[e][o]={val:a}})}),A(n._argumentAxes,function(e,o){var a=n._createTranslator(new w.Range(n._getBusinessRange(o.pane).arg),n._getCanvasForPane(o.pane),{isHorizontal:!i});A(t[o.pane],function(e,t){t.arg=a})}))},_updateTranslators:function(){var e=this;A(e.translators,function(t,n){A(n,function(n,i){i.arg.updateBusinessRange(new w.Range(e._getBusinessRange(t).arg)),
delete i.arg._originalBusinessRange,i.val.updateBusinessRange(new w.Range(e._getBusinessRange(t,n).val)),delete i.val._originalBusinessRange})})},_getAxesForTransform:function(e){return{verticalAxes:e?this._getArgumentAxes():this._getValueAxes(),horizontalAxes:e?this._getValueAxes():this._getArgumentAxes()}},_getAxisDrawingMethods:function(e,t,n){var i=this;return function(o){i._renderAxes(e,t,n,o)}},_reinitTranslators:function(){var e=this;A(e._argumentAxes,function(t,n){var i=e._getTranslator(n.pane);i&&(i.arg.reinit(),n.setTranslator(i.arg,i.val))}),A(e._valueAxes,function(t,n){var i=e._getTranslator(n.pane,n.name);i&&(i.val.reinit(),n.setTranslator(i.val,i.arg))})},_saveBusinessRange:function(){var e=this._savedBusinessRange;f.each(this.translators,function(t,n){e[t]={},f.each(n,function(n,i){e[t][n]={},e[t][n].arg=f.extend(!0,{},i.arg.getBusinessRange()),e[t][n].val=f.extend(!0,{},i.val.getBusinessRange())})})},_restoreOriginalBusinessRange:function(){var e=this._savedBusinessRange;f.each(this.translators,function(t,n){f.each(n,function(n,i){i.arg.updateBusinessRange(f.extend(!0,{},e[t][n].arg)),i.val.updateBusinessRange(f.extend(!0,{},e[t][n].val))})})},_prepareAxesAndDraw:function(e,t,n){var i=this,o=0,a=i.layoutManager,r=i._isRotated(),s=0,l=i._themeManager.getOptions("synchronizeMultiAxes"),c=i._getLayoutTargets(),d=r?i._argumentAxes:i._valueAxes,h=r?i._valueAxes:i._argumentAxes,p=h,f=d;i._scrollBar&&(i._scrollBar.setPane(c),r?f=[i._scrollBar].concat(f):p=p.concat([i._scrollBar]));do{for(o=0;o<i._argumentAxes.length;o++)i._argumentAxes[o].resetTicks();for(o=0;o<i._valueAxes.length;o++)i._valueAxes[o].resetTicks();l&&b.synchronize(i._valueAxes),e(h),a.requireAxesRedraw=!1,n.adjustAxes&&(a.applyHorizontalAxesLayout(p,c,r),!a.stopDrawAxes&&u(i.translators)),e(d),n.adjustAxes&&!a.stopDrawAxes&&(a.applyVerticalAxesLayout(f,c,r),!a.stopDrawAxes&&u(i.translators)),s+=1}while(!a.stopDrawAxes&&a.requireAxesRedraw&&T>s);t(d),t(h),i._scrollBar&&i._scrollBar.applyLayout()},_getPanesParameters:function(){var e,t=this,n=t.panes,i=[];for(e=0;e<n.length;e++)t._getPaneBorderVisibility(e)&&i.push({coords:n[e].borderCoords,clipRect:t._panesClipRects.fixed[e]});return i},_createCrosshairCursor:function(){var e=this,t=e._themeManager.getOptions("crosshair")||{},n=e._displayedArgumentAxisIndex,i=e._isRotated()?[e._valueAxes,[e._argumentAxes[n]]]:[[e._argumentAxes[n]],e._valueAxes],o={canvas:e._getCommonCanvas(),panes:e._getPanesParameters(),axes:i};t&&t.enabled&&(e._crosshair?e._crosshair.update(t,o):e._crosshair=new S.Crosshair(e._renderer,t,o,e._crosshairCursorGroup),e._crosshair.render())},_getCommonCanvas:function(){var e,t,n,i=this.panes;for(e=0;e<i.length;e++)t=i[e].canvas,n?(n.right=t.right,n.bottom=t.bottom):n=B({},t);return n},_createPanesBackground:function(){var e,t,n,i=this,o=i._themeManager.getOptions("commonPaneSettings").backgroundColor,a=i._renderer,r=[];for(i._panesBackgroundGroup.clear(),n=0;n<i.panes.length;n++)e=i.panes[n].backgroundColor||o,e&&"none"!==e?(t=a.rect(0,0,0,0).attr({fill:e,"stroke-width":0}).append(i._panesBackgroundGroup),r.push(t)):r.push(null);i.panesBackground=r},_fillPanesBackground:function(){var e,t=this;A(t.panes,function(n,i){e=i.borderCoords,null!==t.panesBackground[n]&&t.panesBackground[n].attr({x:e.left,y:e.top,width:e.width,height:e.height})})},_calcPaneBorderCoords:function(e){var t=e.canvas,n=e.borderCoords=e.borderCoords||{};n.left=t.left,n.top=t.top,n.right=t.width-t.right,n.bottom=t.height-t.bottom,n.width=Math.max(n.right-n.left,0),n.height=Math.max(n.bottom-n.top,0)},_drawPanesBorders:function(e){var t=this,n=t._isRotated();t._panesBorderGroup.linkRemove().clear(),A(t.panes,function(i,o){var a,r,s=e[o.name],l={fill:"none",stroke:s.color,"stroke-opacity":s.opacity,"stroke-width":s.width,dashStyle:s.dashStyle,"stroke-linecap":"square"};t._calcPaneBorderCoords(o,n),s.visible&&(a=o.borderCoords,r=c(a.left,a.top,a.width,a.height,s),t._renderer.path(r.points,r.pathType).attr(l).append(t._panesBorderGroup))}),t._panesBorderGroup.linkAppend()},_createClipRect:function(e,t,n,i,o,a){var r=this,s=e[t];s?s.attr({x:n,y:i,width:o,height:a}):(s=r._renderer.clipRect(n,i,o,a),e[t]=s)},_createClipRectsForPanes:function(){var e=this,t=e._canvas;A(e.panes,function(n,i){var o=!1,a=i.borderCoords,r=a.left,s=a.top,l=a.width,c=a.height,d=e._panesClipRects;e._createClipRect(d.fixed,n,r,s,l,c),e._createClipRect(d.base,n,r,s,l,c),A(e.series,function(e,t){t.pane===i.name&&(t.isFinancialSeries()||t.areErrorBarsVisible())&&(o=!0)}),o?(e._isRotated()?(s=0,c=t.height):(r=0,l=t.width),e._createClipRect(d.wide,n,r,s,l,c)):d.wide.push(null)})},_getPaneIndex:function(e){var t;return A(this.panes,function(n,i){return i.name===e?(t=n,!1):void 0}),t},_getPaneBorderVisibility:function(e){var t=this._themeManager.getOptions("commonPaneSettings").border.visible,n=this.panes[e]||{},i=n.border||{};return"visible"in i?i.visible:t},_getElementsClipRectID:function(e){return this._panesClipRects.fixed[this._getPaneIndex(e)].id},_getTranslator:function(e,t){var n=this.translators[e],i=null;return n?(i=n[t],i||(A(n,function(e,t){return i=t,!1}),i=B({axesTrans:n},i)),i):i},_getCanvasForPane:function(e){var t,n=this.panes,i=n.length;for(t=0;i>t;t++)if(n[t].name===e)return n[t].canvas},_getBusinessRange:function(e,t){var n,i,o=this.businessRanges||[],a=o.length;for(i=0;a>i;i++)if(o[i].val.pane===e&&o[i].val.axis===t){n=o[i];break}if(!n)for(i=0;a>i;i++)if(o[i].val.pane===e){n=o[i];break}return n},_transformArgument:function(e,t){var n,i,o=this,a=o._isRotated(),r=o._panesClipRects;o._transformed||(o._transformed=!0,o._labelsGroup.remove(),o._resetIsReady(),A(o.series||[],function(e,t){t.applyClip()})),a?(n={translateY:e,scaleY:t},i={translateY:-e/t,scaleY:1/t}):(n={translateX:e,scaleX:t},i={translateX:-e/t,scaleX:1/t}),d(r.base,i),d(r.wide,i),o._seriesGroup.attr(n),o._scrollBar&&o._scrollBar.transform(-e,t)},_resetTransform:function(){var e=this,t={translateX:0,translateY:0,scaleX:null,scaleY:null},n=e._panesClipRects;d(n.base,t),d(n.wide,t),e._seriesGroup.attr(t),A(e.series||[],function(e,t){t.resetClip()}),e._transformed=!1},_getTrackerSettings:function(){var e=this,t=e._themeManager;return B(this.callBase(),{chart:e,zoomingMode:t.getOptions("zoomingMode"),scrollingMode:t.getOptions("scrollingMode"),rotated:e._isRotated(),crosshair:e._getCrosshairOptions().enabled?e._crosshair:null})},_resolveLabelOverlappingStack:function(){var e=this,t=e._isRotated(),n=t?function(e,t){return{x:e.x-t,y:e.y}}:function(e,t){return{x:e.x,y:e.y-t}};A(e.seriesFamilies,function(i,o){A(o.getStackPoints(),function(i,o){A(o,function(i,o){v.resolveLabelOverlappingInOneDirection(o,e._getCommonCanvas(),t,n)})})})},_getCrosshairOptions:function(){return this._getOption("crosshair")},zoomArgument:function(e,t,n){var i,o=this;(O(e)||O(t))&&(i=o._argumentAxes[0].zoom(e,t,n),o._zoomMinArg=i.min,o._zoomMaxArg=i.max,o._notApplyMargins=n,o._doRender({force:!0,drawTitle:!1,drawLegend:!1,adjustAxes:!1,animate:!1}))},_resetZoom:function(){var e=this;e._zoomMinArg=e._zoomMaxArg=void 0,e._argumentAxes[0]&&e._argumentAxes[0].resetZoom()},getVisibleArgumentBounds:function(){var e=this._argumentAxes[0].getTranslator().getBusinessRange(),t="discrete"===e.axisType,n=e.categories;return{minVisible:t?e.minVisible||n[0]:e.minVisible,maxVisible:t?e.maxVisible||n[n.length-1]:e.maxVisible}}});g("dxChart",P),i.exports=P}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){var o=this;o._renderer=e,o._crosshairGroup=i,o._options={},o.update(t,n)}var a=n(1),r=Math,s=r.abs,l=r.min,c=r.max,d=r.floor,u=n(7),h="horizontal",p="vertical",f=8,_=4,g="center",m="right",v="left",x="top",w="bottom";o.prototype={constructor:o,update:function(e,t){var n=this,i=t.canvas;n._canvas={top:i.top,bottom:i.height-i.bottom,left:i.left,right:i.width-i.right,width:i.width,height:i.height},n._axes=t.axes,n._panes=t.panes,n._prepareOptions(e,h),n._prepareOptions(e,p)},dispose:function(){var e=this;e._renderer=e._crosshairGroup=e._options=e._axes=e._canvas=e._horizontalGroup=e._verticalGroup=e._horizontal=e._vertical=e._circle=e._panes=null},_prepareOptions:function(e,t){var n=e[t+"Line"];this._options[t]={visible:n.visible,line:{stroke:n.color||e.color,"stroke-width":n.width||e.width,dashStyle:n.dashStyle||e.dashStyle,opacity:n.opacity||e.opacity,"stroke-linecap":"butt"},label:a.extend(!0,{},e.label,n.label)}},_createLines:function(e,t,n){for(var i=[],o=this._canvas,a=[o.left,o.top,o.left,o.top],r=0;2>r;r++)i.push(this._renderer.path(a,"line").attr(e).sharp(t).append(n));return i},render:function(){var e=this,t=e._renderer,n=e._options,i=n.vertical,o=n.horizontal,a=o.visible?o.line:i.line,r={stroke:a.stroke,"stroke-width":a["stroke-width"],dashStyle:a.dashStyle,opacity:a.opacity},s=e._canvas;e._horizontal={},e._vertical={},e._circle=t.circle(s.left,s.top,0).attr(r).append(e._crosshairGroup),e._horizontalGroup=t.g().append(e._crosshairGroup),e._verticalGroup=t.g().append(e._crosshairGroup),i.visible&&(e._vertical.lines=e._createLines(i.line,"h",e._verticalGroup),e._vertical.labels=e._createLabels(e._axes[0],i,!1,e._verticalGroup)),o.visible&&(e._horizontal.lines=e._createLines(o.line,"v",e._horizontalGroup),e._horizontal.labels=e._createLabels(e._axes[1],o,!0,e._horizontalGroup)),e.hide()},_createLabels:function(e,t,n,i){var o,r,s,l,c,d,h=this,p=h._canvas,f=h._renderer,_=[],y=t.label;if(y&&y.visible)return a.each(e,function(e,a){var h,b=a.getOptions().position;a.getTranslator().getBusinessRange().stubData||(c=a.getLabelsParams().pos,n?(r=p.top,o=c):(o=p.left,r=c),h=b===x||b===w?g:b===m?v:m,l=f.rect(0,0,0,0).attr({fill:y.backgroundColor||t.line.stroke}).append(i),s=f.text("0",o,r).css(u.patchFontOptions(t.label.font)).attr({align:h}).append(i),d=s.getBBox(),s.attr({y:n?2*r-d.y-d.height/2:b===w?2*r-d.y:2*r-(d.y+d.height)}),_.push({text:s,background:l,axis:a,options:y,pos:{coord:c,side:b,align:h}}))}),_},_updateText:function(e,t,n,i,o){var r,s,l,c,d,u,h=this;t&&a.each(t,function(t,a){var p=a.axis;s="",l=a.text,c=a.background,l&&(p.name&&p.name!==n||(s=p.getFormattedValue(e,a.options,i)),s?(l.attr({text:s}),r=l.getBBox(),d=p.getLabelsParams(),u=a.pos.side,o&&(d.width<r.width?l.attr({align:u,x:d.pos+(u===v?-1:1)*d.width}):l.attr({align:a.pos.align,x:d.pos}),r=l.getBBox()),h._updateLinesCanvas(u,a.pos.coord),c.attr({x:r.x-f,y:r.y-_,width:r.width+2*f,height:r.height+2*_})):(l.attr({text:""}),c.attr({x:0,y:0,width:0,height:0})))})},hide:function(){this._crosshairGroup.attr({visibility:"hidden"})},_updateLinesCanvas:function(e,t){var n=this._linesCanvas,i=this._canvas;n[e]=n[e]!==i[e]&&s(n[e]-i[e])<s(t-i[e])?n[e]:t},_updateLines:function(e,t,n,i,o){for(var a=this._linesCanvas,r=this._canvas,s=o?[[l(t-i,a.left),r.top,t-i,r.top],[t+i,r.top,c(a.right,t+i),r.top]]:[[r.left,l(a.top,n-i),r.left,n-i],[r.left,n+i,r.left,c(a.bottom,n+i)]],d=0;2>d;d++)e[d].attr({points:s[d]})},_resetLinesCanvas:function(){var e=this._canvas;this._linesCanvas={left:e.left,right:e.right,top:e.top,bottom:e.bottom}},_getClipRectForPane:function(e,t){var n,i,o=this._panes;for(n=0;n<o.length;n++)if(i=o[n].coords,i.left<=e&&i.right>=e&&i.top<=t&&i.bottom>=t)return o[n].clipRect;return{id:null}},show:function(e){var t,n=this,i=e.point,o=i.getCrosshairData(e.x,e.y),a=i.getPointRadius(),r=n._horizontal,s=n._vertical,l=a?a+3:0,c=n._canvas,u=d(o.x),h=d(o.y);u>=c.left&&u<=c.right&&h>=c.top&&h<=c.bottom?(n._crosshairGroup.attr({visibility:"visible"}),n._resetLinesCanvas(),t=n._getClipRectForPane(u,h),n._circle.attr({cx:u,cy:h,r:l,clipId:t.id}),r.lines&&(n._updateText(o.yValue,r.labels,o.axis,i,!0),n._updateLines(r.lines,u,h,l,!0),n._horizontalGroup.attr({translateY:h-c.top})),s.lines&&(n._updateText(o.xValue,s.labels,o.axis,i,!1),n._updateLines(s.lines,u,h,l,!1),n._verticalGroup.attr({translateX:u-c.left}))):n.hide()}},t.Crosshair=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){}var a=n(1),r=n(217),s=a.extend,l=a.each;s(o.prototype,r.LayoutElement.prototype,{update:function(e,t){this._elements=a.map(e,function(e){return e.getLayoutOptions()?e:null}),this._canvas=t},dispose:function(){this._elements=null},measure:function(e){var t,n=this,i=n.getLayoutOptions();return i&&(t={size:[i.width,i.height],alignment:[i.horizontalAlignment,i.verticalAlignment],side:1},l(n._elements,function(e,t){t.draw(i.width,i.height,n._canvas)})),t||null},getLayoutOptions:function(){var e,t,n,i=this,o=i._elements,a=o.length,r=1;if(!a)return null;for(e=o[0],t=s(!0,{},e.getLayoutOptions()),t.position={},r;a>r;r++)n=o[r].getLayoutOptions(),n.height>t.height&&(t.height=n.height),n.width>t.width&&(t.width=n.width),n.position&&(t.position=n.position,t.verticalAlignment=n.position.vertical,t.horizontalAlignment=n.position.horizontal);return t},probeDraw:function(e,t){l(this._elements,function(n,i){i.probeDraw(e,t)})},draw:function(e,t){var n=this;l(this._elements,function(i,o){o.draw(e,t,n._canvas)})},shift:function(e,t){l(this._elements,function(n,i){i.shift(e,t)})}}),t.HeaderBlock=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=(n(36).debug,n(97).Range),r=n(2),s=n(7),l=s.adjustValue,c=s.applyPrecisionByMinDelta,d=r.isDefined,u=Math,h=u.floor,p=u.max,f=u.abs,_=o.each,g=n(7).map,m=.1,v=function(e){var t={};return _(e,function(e,n){var i=n.pane;t[i]||(t[i]=[]),t[i].push(n)}),t},x=function(e){var t,n=e.getTranslator();n._originalBusinessRange?(t=new a(n._originalBusinessRange),n.updateBusinessRange(t)):n._originalBusinessRange=new a(n.getBusinessRange())},w={transform:function(e,t){return s.getLog(e,t)},addInterval:function(e,t){return e+t},getInterval:function(e,t){return t},adjustValue:h},y={transform:function(e,t){return s.raiseTo(e,t)},addInterval:function(e,t){return e*t},getInterval:function(e,t){return u.pow(e,t)},adjustValue:l},b=function(e,t){if(e.isLogarithmic){var n,i,o,a=e.logarithmicBase,r=e.tickValues,s=[];for(e.minValue=t.transform(e.minValue,a),e.oldMinValue=t.transform(e.oldMinValue,a),e.maxValue=t.transform(e.maxValue,a),e.oldMaxValue=t.transform(e.oldMaxValue,a),e.tickInterval=u.round(e.tickInterval),e.tickInterval<1&&(e.tickInterval=1),i=t.getInterval(a,e.tickInterval),n=t.transform(r[0],a),o=0;o<r.length;o++)s.push(t.adjustValue(n)),n=t.addInterval(n,i);s.tickInterval=e.tickInterval,e.tickValues=s}},C=function(e){return g(e,function(e){x(e);var t,n,i,o,a,s=e.getTicksValues(),l=s.majorTicksValues,c=e.getOptions(),u=null;return l&&l.length>0&&r.isNumber(l[0])&&"discrete"!==c.type&&(i=e.getTranslator().getBusinessRange(),o=e._tickManager.getTickInterval(),t=i.minVisible,n=i.maxVisible,a=c.synchronizedValue,t===n&&d(a)&&(o=f(l[0]-a)||1,t=l[0]-o,n=l[0]+o),u={axis:e,isLogarithmic:"logarithmic"===c.type,logarithmicBase:i.base,tickValues:l,minorValues:s.minorTicksValues,minValue:t,oldMinValue:t,maxValue:n,oldMaxValue:n,inverted:i.invert,tickInterval:o,synchronizedValue:a},i.stubData&&(u.stubData=!0,u.tickInterval=u.tickInterval||c.tickInterval,u.isLogarithmic=!1),b(u,w)),u})},k=function(e){var t=0;_(e,function(e,n){t=p(t,n.tickValues.length)}),_(e,function(e,n){var i,o,a=0,r=n.synchronizedValue,s=n.tickValues,l=n.tickInterval;if(d(r))n.baseTickValue=n.invertedBaseTickValue=r,n.tickValues=[n.baseTickValue];else{if(s.length>1&&l){for(i=h((t+1)/s.length),o=i>1?h((t+1)/i):t,a=h((o-s.length)/2);a>0&&0!==s[0];)s.unshift(c(s[0],l,s[0]-l)),a--;for(;s.length<o;)s.push(c(s[0],l,s[s.length-1]+l));n.tickInterval=l/i}n.baseTickValue=s[0],n.invertedBaseTickValue=s[s.length-1]}})},S=function(e){return e.maxValue-e.minValue||1},T=function(e){for(var t=0;t<e.length;t++)if(!e[t].stubData)return e[t];return null},I=function(e){var t=T(e),n=t.tickInterval;_(e,function(e,i){var o,a,r,s;i!==t&&(n&&i.tickInterval&&(i.stubData&&d(i.synchronizedValue)&&(i.oldMinValue=i.minValue=i.baseTickValue-(t.baseTickValue-t.minValue)/n*i.tickInterval,i.oldMaxValue=i.maxValue=i.baseTickValue-(t.baseTickValue-t.maxValue)/n*i.tickInterval),o=n/S(t)/i.tickInterval*S(i),i.maxValue=i.minValue+S(i)/o),r=t.inverted&&!i.inverted||!t.inverted&&i.inverted?t.maxValue-t.invertedBaseTickValue:t.baseTickValue-t.minValue,s=S(i),a=(r/S(t)-(i.baseTickValue-i.minValue)/s)*s,i.minValue-=a,i.maxValue-=a)})},D=function(e){var t,n,i=0,o=0;return _(e,function(e,a){var r=a.inverted;t=a.minValue>a.oldMinValue?(a.minValue-a.oldMinValue)/S(a):0,n=a.maxValue<a.oldMaxValue?(a.oldMaxValue-a.maxValue)/S(a):0,i=p(i,r?n:t),o=p(o,r?t:n)}),{start:i,end:o}},E=function(e,t){_(e,function(e,n){var i=S(n),o=n.inverted;n.minValue-=t[o?"end":"start"]*i,n.maxValue+=t[o?"start":"end"]*i,i>m&&(n.minValue=u.min(n.minValue,l(n.minValue)),n.maxValue=p(n.maxValue,l(n.maxValue)))})},A=function(e){var t=!1;_(e,function(e,n){t=t||d(n.synchronizedValue)}),_(e,function(e,n){var i,o=n.tickInterval,a=n.tickValues,s=n.maxValue,d=n.minValue;if(t&&o){for(;a[0]-o>=d;)a.unshift(l(a[0]-o));for(i=a[a.length-1];(i+=o)<=s;)a.push(r.isExponential(i)?l(i):c(d,o,i))}for(;a[0]<d;)a.shift();for(;a[a.length-1]>s;)a.pop()})},B=function(e){_(e,function(e,t){var n=t.axis,i=n.getTranslator().getBusinessRange();i.min===i.minVisible&&(i.min=t.minValue),i.max===i.maxVisible&&(i.max=t.maxValue),i.minVisible=t.minValue,i.maxVisible=t.maxValue,d(t.stubData)&&(i.stubData=t.stubData),i.min>i.minVisible&&(i.min=i.minVisible),i.max<i.maxVisible&&(i.max=i.maxVisible),i.isSynchronized=!0,n.getTranslator().updateBusinessRange(i),n.setTicks({majorTicks:t.tickValues,minorTicks:t.minorValues})})},M=function(e){var t,n,i=[];_(e,function(e,o){o.oldMaxValue-o.oldMinValue===0?i.push(o):d(t)||d(o.synchronizedValue)||(t=f((o.maxValue-o.minValue)/(o.tickValues[h(o.tickValues.length/2)]||o.maxValue)),n=o)}),d(t)&&_(i,function(e,i){var o=i.tickValues[0],a=o*t,r=n.tickValues,s=r[h(r.length/2)];o>0?(i.maxValue=a,i.minValue=0):0>o?(i.minValue=a,i.maxValue=0):0===o&&(i.maxValue=n.maxValue-s,i.minValue=n.minValue-s)})},O={synchronize:function(e){_(v(e),function(e,t){var n,i;if(t.length>1){if(n=C(t),0===n.length||!T(n))return;k(n),I(n),i=D(n),E(n,i),M(n),A(n),_(n,function(){b(this,y)}),B(n)}})}};i.exports=O}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){var o=0;return"right"===t?o=e.width-e.right+n:"left"===t&&(o=e.left-n-i),o}function a(e,t,n,i){var o=0;return"top"===t?o=e.top-n:"bottom"===t&&(o=e.height-e.bottom+i+n),o}var r=n(1),s=2,l=n(119),c=n(2),d=n(13),u=c.isDefined,h=Math.min,p=Math.max,f=function(e,t){this._translator=new l.Translator2D({},{},{}),this._scroll=e.rect().append(t),this._addEvents()};f.prototype={_addEvents:function(){var e=this,t=r(e._scroll.element),n=0,i=0,o=function(o){var a=(n-o.pageX)*e._scale,s=(i-o.pageY)*e._scale;t.trigger(new r.Event("dxc-scroll-move",r.extend(o,{type:"dxc-scroll-move",pointers:[{pageX:n+a,pageY:i+s}]})))};t.on(d.down,function(e){n=e.pageX,i=e.pageY,t.trigger(new r.Event("dxc-scroll-start",{pointers:[{pageX:n,pageY:i}]})),r(document).on(d.move,o)}),r(document).on(d.up,function(){r(document).off(d.move,o)})},update:function(e){var t=this,n=e.position,i=e.rotated,o=i?"right":"top",a=i?"left":"bottom";return n!==o&&n!==a&&(n=o),t._scroll.attr({rotate:e.rotated?0:-90,rotateX:0,rotateY:0,fill:e.color,width:e.width,opacity:e.opacity}),t._layoutOptions={width:e.width,offset:e.offset,vertical:i,position:n},t},init:function(e,t){var n=this;return n._translateWithOffset="discrete"===e.axisType&&!e.stick&&1||0,n._translator.update(r.extend({},e,{minVisible:null,maxVisible:null,visibleCategories:null}),r.extend({},t),{isHorizontal:!n._layoutOptions.vertical}),n},getOptions:function(){return this._layoutOptions},shift:function(e,t){this._scroll.attr({translateX:e,translateY:t})},setPane:function(e){var t,n=this._layoutOptions.position;return t="left"===n||"top"===n?e[0]:e[e.length-1],this.pane=t.name,this._canvas=t.canvas,this},getMultipleAxesSpacing:function(){return 0},getBoundingRect:function(){var e=this._layoutOptions,t=e.vertical,n=e.offset,i=e.width,r=e.position,s=i+n,l=this._canvas;return t?{x:o(l,r,n,i),y:l.top,width:s,height:l.height-l.top-l.bottom}:{x:l.left,y:a(l,r,n,i),width:l.width-l.left-l.right,height:s}},applyLayout:function(){var e=this._canvas,t=this._layoutOptions,n=t.position,i=t.offset,r=t.width;this.shift(o(e,n,i,r),a(e,n,i,r))},setPosition:function(e,t){var n=this,i=n._translator,o=u(e)?i.translate(e,-n._translateWithOffset):i.translate("canvas_position_start"),a=u(t)?i.translate(t,n._translateWithOffset):i.translate("canvas_position_end");n._offset=h(o,a),n._scale=i.getScale(e,t),n._applyPosition(h(o,a),p(o,a))},transform:function(e,t){var n=this._translator,i=n.getCanvasVisibleArea().min,o=i-(i*t-e),a=this._offset+o/(this._scale*t);this._applyPosition(a,a+n.canvasLength/(this._scale*t))},dispose:function(){this._scroll.dispose(),this._scroll=this._translator=null},_applyPosition:function(e,t){var n,i=this,o=i._translator.getCanvasVisibleArea();e=p(e,o.min),e=h(e,o.max),t=h(t,o.max),t=p(t,o.min),n=Math.abs(t-e),i._scroll.attr({y:e,height:s>n?s:n})}},t.ScrollBar=f}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=e.target;return("tspan"===n.tagName?n.parentNode:n)[t]}function a(e,t){return e.cancel||!t.getOptions()}function r(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom}function s(e,t,n,i,o){y(e,function(e,a){var r=a.series;a===t?(r[n]({point:a,setState:!0}),i&&o(i,{target:a})):r[n]({point:a})})}function l(e,t,n){var i=[];return y(e,function(e,o){y(o.getPointsByArg(t),function(e,t){n===t.index&&i.push(t)})}),i}var c=n(1),d=n(9),u=n(129).events,h=n(7),p=n(2),f=n(13),_=n(86),g=n(64),m=n(6),v=p.isDefined,x=n(7).normalizeEnum,w=Math.floor,y=c.each,b=c.inArray,C=c.noop,k="multiple",S="allargumentpoints",T="allseriespoints",I="none",D=[f.down,f.move].join(" "),E="pointSelectionChanged",A="legendClick",B="seriesClick",M="pointClick",O="releasePointSelectedState",P="setPointSelectedState",R="setPointHoverState",V="seriesHoverChanged",F="pointHoverChanged",L="releasePointHoverState",H="seriesSelectionChanged",z="chart-data-point",N="chart-data-series",W="chart-data-argument",G=100,$={ctor:function(e){var t=this,n={tracker:t};t._renderer=e.renderer,t._legend=e.legend,t._tooltip=e.tooltip,t._eventTrigger=e.eventTrigger,e.seriesGroup.off().on(u.selectSeries,n,t._selectSeries).on(u.deselectSeries,n,t._deselectSeries).on(u.selectPoint,n,t._selectPoint).on(u.deselectPoint,n,t._deselectPoint).on(u.showPointTooltip,n,t._showPointTooltip).on(u.hidePointTooltip,n,t._hidePointTooltip),t._renderer.root.off(D).off([d.name,g.name].join(" ")).on(D,n,t._pointerHandler).on(d.name,n,t._clickHandler).on(g.name,{timeout:300},C)},_setSelectedPoint:C,_releaseSelectedPoint:C,_releaseSelectedSeries:C,_setSelectedSeries:C,update:function(e){var t=this;x(e.pointSelectionMode)===k?(t._setSelectedPoint=t._selectPointMultipleMode,t._releaseSelectedPoint=t._releaseSelectedPointMultipleMode):(t._setSelectedPoint=t._selectPointSingleMode,t._releaseSelectedPoint=t._releaseSelectedPointSingleMode),x(e.seriesSelectionMode)===k?(t._releaseSelectedSeries=t._releaseSelectedSeriesMultipleMode,t._setSelectedSeries=t._setSelectedSeriesMultipleMode):(t._releaseSelectedSeries=t._releaseSelectedSeriesSingleMode,t._setSelectedSeries=t._setSelectedSeriesSingleMode),t._prepare()},updateSeries:function(e){var t=this;t._storedSeries!==e?(t._storedSeries=e||[],t._clean()):(t._hideTooltip(t.pointAtShownTooltip),t._clearHover(),t.clearSelection())},setCanvases:function(e,t){this._mainCanvas=e,this._canvases=t},repairTooltip:function(){var e=this.pointAtShownTooltip;e&&!e.isVisible()?this._hideTooltip(e,!0):this._showTooltip(e)},_prepare:function(){this._toggleParentsScrollSubscription(!0)},_toggleParentsScrollSubscription:function(e){var t=this,n=c(t._renderer.root.element).parents(),i="scroll.dxChartTracker";"generic"===m.real().platform&&(n=n.add(window)),c().add(t._$prevRootParents).off(i),e&&(n.on(i,function(e){t._pointerOut()}),t._$prevRootParents=n)},_selectPointMultipleMode:function(e){var t=this;t._selectedPoint=t._selectedPoint||[],b(e,t._selectedPoint)<0&&(t._selectedPoint.push(e),t._setPointState(e,P,x(e.getOptions().selectionMode),E,t._legend.getActionCallback(e)))},_releaseSelectedPointMultipleMode:function(e){var t=this,n=t._selectedPoint||[],i=b(e,n);i>=0?(t._setPointState(e,O,x(e.getOptions().selectionMode),E,t._legend.getActionCallback(e)),n.splice(i,1)):e||y(n,function(e,n){t._releaseSelectedPoint(n)})},_selectPointSingleMode:function(e){var t=this;t._selectedPoint!==e&&(t._releaseSelectedPoint(),t._selectedPoint=e,t._setPointState(e,P,x(e.getOptions().selectionMode),E,t._legend.getActionCallback(e)))},_releaseSelectedPointSingleMode:function(){var e=this,t=e._selectedPoint;t&&(e._setPointState(t,O,x(t.getOptions().selectionMode),E,e._legend.getActionCallback(t)),e._selectedPoint=null)},_setHoveredPoint:function(e,t){var n=this;n.hoveredPoint!==e&&e.series&&(n._releaseHoveredPoint(),e&&e.getOptions()&&t!==I&&(n.hoveredPoint=e,n._setPointState(e,R,t||x(e.getOptions().hoverMode),F,n._legend.getActionCallback(e))))},_releaseHoveredPoint:function(){var e=this,t=e.hoveredPoint,n=e._eventTrigger;t&&t.getOptions()&&(e._releasePoint(t,n),e._tooltip.isEnabled()&&e._hideTooltip(t),e.hoveredPoint=null)},_setSelectedSeriesMultipleMode:function(e,t){var n=this;n._selectedSeries=n._selectedSeries||[],b(e,n._selectedSeries)<0&&(n._selectedSeries.push(e),e.setSelectedState(!0,t,n._legend.getActionCallback(e)),n._eventTrigger(H,{target:e}))},_setSelectedSeriesSingleMode:function(e,t){var n=this;e===n._selectedSeries&&e.lastSelectionMode===t||(n._releaseSelectedSeries(),n._selectedSeries=e,e.setSelectedState(!0,t,n._legend.getActionCallback(e)),n._eventTrigger(H,{target:e}))},_releaseSelectedSeriesMultipleMode:function(e){var t=this,n=t._selectedSeries||[],i=b(e,n);i>=0?(e.setSelectedState(!1,void 0,t._legend.getActionCallback(e)),t._eventTrigger(H,{target:e}),n.splice(i,1)):e||y(n,function(e,n){t._releaseSelectedSeries(n)})},_releaseSelectedSeriesSingleMode:function(e){var t=this,n=t._selectedSeries;!n||e&&e!==n||(n.setSelectedState(!1,void 0,t._legend.getActionCallback(n)),t._eventTrigger(H,{target:n}),t._selectedSeries=null)},_setHoveredSeries:function(e,t){var n=this;(t!==I&&n.hoveredSeries!==e||n._isModeChanged(e,t))&&(n._clearHover(),e.setHoverState(!0,t,n._legend.getActionCallback(e)),n._eventTrigger(V,{target:e}),n.hoveredSeries=e)},_releaseHoveredSeries:function(e,t){var n=this,i=n.hoveredSeries,o=n._seriesWithHoverView;i?(i.setHoverState(!1,void 0,n._legend.getActionCallback(i)),e&&t&&t.series===i&&(n._seriesWithHoverView=i.setHoverView()),n._eventTrigger(V,{target:i}),n.hoveredSeries=null):o&&!e&&(o.releaseHoverView(),n._seriesWithHoverView=null)},_selectSeries:function(e,t){e.data.tracker._setSelectedSeries(e.target,t)},_deselectSeries:function(e,t){e.data.tracker._releaseSelectedSeries(e.target,t)},_selectPoint:function(e,t){e.data.tracker._setSelectedPoint(t)},_deselectPoint:function(e,t){e.data.tracker._releaseSelectedPoint(t)},clearSelection:function(){this._releaseSelectedPoint(),this._releaseSelectedSeries()},_clean:function(){var e=this;e._selectedPoint=e._selectedSeries=e.hoveredPoint=e.hoveredSeries=e._hoveredArgumentPoints=e._seriesWithHoverView=null,e._hideTooltip(e.pointAtShownTooltip)},_clearHover:function(){this._releaseHoveredSeries(!1),this._releaseHoveredPoint()},_hideTooltip:function(e,t){var n=this;!n._tooltip||e&&n.pointAtShownTooltip!==e||(!t&&n.pointAtShownTooltip&&(n.pointAtShownTooltip=null),n._tooltip.hide())},_showTooltip:function(e){var t,n,i=this;if(e&&e.getOptions()){if(t=e.getTooltipFormatObject(i._tooltip),!v(t.valueText)&&!t.points||!e.isVisible())return;i.pointAtShownTooltip&&i.pointAtShownTooltip===e||(n={target:e});var o=e.getTooltipParams(i._tooltip.getLocation()),a=i._renderer.getRootOffset();if(o.x+=a.left,o.y+=a.top,!i._tooltip.show(t,o,n))return;i.pointAtShownTooltip=e}},_showPointTooltip:function(e,t){var n=e.data.tracker,i=n.pointAtShownTooltip;i&&i!==t&&n._hideTooltip(i),n._showTooltip(t)},_hidePointTooltip:function(e,t){e.data.tracker._hideTooltip(t)},_enableOutHandler:function(){if(!this._outHandler){var e=this,t=function(t){var n=e._renderer.getRootOffset(),i=w(t.pageX-n.left),o=w(t.pageY-n.top);r(e._mainCanvas,i,o)||(e._pointerOut(),e._disableOutHandler())};c(document).on(D,t),this._outHandler=t}},_disableOutHandler:function(){this._outHandler&&c(document).off(D,this._outHandler),this._outHandler=null},_pointerOut:function(){this._clearHover(),this._tooltip.isEnabled()&&this._hideTooltip(this.pointAtShownTooltip)},_triggerLegendClick:function(e,t){var n=this._eventTrigger;n(A,e,function(){!a(e.jQueryEvent,e.target)&&n(t,e)})},_hoverLegendItem:function(e,t){var n,i=this,o=i._legend.getItemByCoord(e,t);o?(n=i._storedSeries[o.id],i._setHoveredSeries(n,i._legend._options.hoverMode),i._tooltip.isEnabled()&&i._hideTooltip(i.pointAtShownTooltip)):i._clearHover()},_pointerHandler:function(e){var t=e.data.tracker,n=t._renderer.getRootOffset(),i=w(e.pageX-n.left),a=w(e.pageY-n.top),r=t._getCanvas(i,a),s=o(e,N),l=o(e,z)||s&&s.getPointByCoord(i,a);if(t._enableOutHandler(),!t._checkGestureEvents(e,r,n)){if(t._legend.coordsIn(i,a))return void t._hoverLegendItem(i,a);if(t.hoveredSeries&&t.hoveredSeries!==t._stickedSeries&&t._releaseHoveredSeries(),!t._hoverArgumentAxis(i,a,e)&&(t._isPointerOut(r,l)&&t._pointerOut(),r||l)){if(s&&!l){if(l=s.getNeighborPoint(i,a),s!==t.hoveredSeries)return void t._setTimeout(function(){t._setHoveredSeries(s,s.getOptions().hoverMode),t._stickedSeries=s,t._pointerComplete(l,i,a)},s)}else{if(l)return void(t.hoveredSeries?t._setTimeout(function(){t._pointerOnPoint(l,i,a)},l):(t._pointerOnPoint(l,i,a),t._setSeriesWithHoverView(l)));t._setStickedSeries(i,a)&&(s=t._stickedSeries,l=s.getNeighborPoint(i,a),t._releaseHoveredSeries(),l&&t._setHoveredPoint(l))}t._pointerComplete(l,i,a)}}},_pointerOnPoint:function(e,t,n){this._setHoveredPoint(e),this._pointerComplete(e,t,n)},_pointerComplete:function(e){this.pointAtShownTooltip!==e&&this._tooltip.isEnabled()&&this._showTooltip(e)},_clickHandler:function(e){var t=e.data.tracker,n=t._renderer.getRootOffset(),i=w(e.pageX-n.left),a=w(e.pageY-n.top),r=o(e,z),s=t._stickedSeries||o(e,N)||r&&r.series,l=t._argumentAxis;if(t._legend.coordsIn(i,a)){var c=t._legend.getItemByCoord(i,a);c&&t._legendClick(c,e)}else if(l&&l.coordsIn(i,a)){var d=o(e,W);v(d)&&t._eventTrigger("argumentAxisClick",{argument:d,jQueryEvent:e})}else s&&(r=r||s.getPointByCoord(i,a),r?t._pointClick(r,e):o(e,N)&&t._eventTrigger(B,{target:s,jQueryEvent:e}))},dispose:function(){var e=this;e._disableOutHandler(),e._toggleParentsScrollSubscription(),y(e,function(t){e[t]=null})}},q=function(e){this.ctor(e)};c.extend(q.prototype,$,{_pointClick:function(e,t){var n=this,i=n._eventTrigger,o=e.series;i(M,{target:e,jQueryEvent:t},function(){!a(t,o)&&i(B,{target:o,jQueryEvent:t})})},update:function(e){var t=this;t._zoomingMode=x(e.zoomingMode),t._scrollingMode=x(e.scrollingMode),$.update.call(this,e),t._argumentAxis=e.argumentAxis||{},t._axisHoverEnabled=t._argumentAxis&&x(t._argumentAxis.getOptions().hoverMode)===S,t._chart=e.chart,t._rotated=e.rotated,t._crosshair=e.crosshair},_getCanvas:function(e,t){for(var n=this,i=n._canvases||[],o=0;o<i.length;o++){var a=i[o];if(r(a,e,t))return a}return null},_getPointSeries:function(e){return e.series},_isModeChanged:function(e,t){return e.lastHoverMode!==t},_isPointerOut:function(e){return!e&&this._stickedSeries},_resetHoveredArgument:function(){v(this.hoveredArgument)&&(this._toAllArgumentPoints(this.hoveredArgument,L),this.hoveredArgument=null)},_toAllArgumentPoints:function(e,t,n,i){var o=this;y(o._storedSeries,function(a,r){s(r.getPointsByArg(e),i,t,n,o._eventTrigger)})},_hideCrosshair:function(){this._crosshair&&this._crosshair.hide()},_moveCrosshair:function(e,t,n){e&&this._crosshair&&e.isVisible()&&this._crosshair.show({point:e,x:t,y:n})},_releasePoint:function(e,t){var n=this,i=x(e.getOptions().hoverMode);
i===T?s(e.series.getPoints(),e,L,F,t):i===S?n._toAllArgumentPoints(e.argument,L,F,e):"none"!==i&&(n._getPointSeries(e).releasePointHoverState({point:e,setState:!0,legendCallback:n._legend.getActionCallback(e)}),t(F,{target:e}))},_setPointState:function(e,t,n,i,o){var a,r=this,l=r._eventTrigger;switch(n){case S:r._toAllArgumentPoints(e.argument,t,i,e);break;case T:s(e.series.getPoints(),e,t,i,l);break;case I:break;default:a=r._getPointSeries(e),a[t]({point:e,legendCallback:o,setState:!0}),l(i,{target:e})}},_prepare:function(){var e=this,t=e._renderer.root,n="all"===e._scrollingMode||"touch"===e._scrollingMode,i="all"===e._zoomingMode||"touch"===e._zoomingMode,o=(n?"":"pan-x pan-y ")+(i?"":"pinch-zoom")||"none",a={"touch-action":o,"-ms-touch-action":o},r="all"===e._zoomingMode||"mouse"===e._zoomingMode;t.off(_.name+" dxc-scroll-start dxc-scroll-move"),$._prepare.call(e),e._gestureEndHandler||(e._gestureEndHandler=function(){e._gestureEnd&&e._gestureEnd()},c(document).on(f.up,e._gestureEndHandler)),r&&t.on(_.name,function(t){var n=e._renderer.getRootOffset(),i=e._rotated?t.pageY-n.top:t.pageX-n.left,o=e._argumentAxis.getTranslator().getMinScale(t.delta>0),a=i-i*o,r=e._argumentAxis.getTranslator().zoom(-a,o);e._pointerOut(),e._chart.zoomArgument(r.min,r.max,!0),t.preventDefault(),t.stopPropagation()}),t.on("dxc-scroll-start",function(t){e._gestureStart(e._getGestureParams(t,{left:0,top:0}))}).on("dxc-scroll-move",function(t){e._gestureChange(e._getGestureParams(t,{left:0,top:0}))&&t.preventDefault()}),t.css(a)},_getGestureParams:function(e,t){var n,i,o,a,r=this,s=e.pointers.length,l=r._rotated?"pageY":"pageX";return t=r._rotated?t.top:t.left,2===s?(n=e.pointers[0][l]-t,i=e.pointers[1][l]-t):1===s&&(n=i=e.pointers[0][l]-t),o=Math.min(n,i),a=Math.max(n,i),{center:o+(a-o)/2,distance:a-o,touches:s,scale:1,pointerType:e.pointerType}},_gestureStart:function(e){var t=this;t._startGesture=t._startGesture||e,t._startGesture.touches!==e.touches&&(t._startGesture=e)},_gestureChange:function(e){var t=this,n=t._startGesture,i=!1,o="all"===t._scrollingMode||"none"!==t._scrollingMode&&t._scrollingMode===e.pointerType,a="all"===t._zoomingMode||"touch"===t._zoomingMode;return n?1===n.touches&&Math.abs(n.center-e.center)<3?(t._gestureStart(e),i):(2===n.touches&&a?(i=!0,n.scale=e.distance/n.distance,n.scroll=e.center-n.center+(n.center-n.center*n.scale)):1===n.touches&&o&&(i=!0,n.scroll=e.center-n.center),i&&(n.changed=i,t._chart._transformArgument(n.scroll,n.scale)),i):i},_gestureEnd:function(){function e(){n._chart.zoomArgument(t.min,t.max,!0)}var t,n=this,i=n._startGesture,o=n._renderer;if(n._startGesture=null,i&&i.changed)if(t=n._argumentAxis._translator.zoom(-i.scroll,i.scale),!o.animationEnabled()||-i.scroll===t.translate&&i.scale===t.scale)e();else{var a=-(i.scroll+t.translate),r=i.scale-t.scale;o.root.animate({_:0},{step:function(e){var t=-i.scroll-a*e,o=i.scale-r*e;n._chart._transformArgument(-t,o)},complete:e,duration:250})}},_clean:function(){var e=this;$._clean.call(e),e._resetTimer(),e._stickedSeries=null},_getSeriesForShared:function(e,t){var n=this,i=[],o=null,a=1/0;return n._tooltip.isShared()&&!n.hoveredSeries&&(y(n._storedSeries,function(n,o){var a=o.getNeighborPoint(e,t);a&&i.push(a)}),y(i,function(n,i){var r=i.getCrosshairData(e,t),s=h.getDistance(e,t,r.x,r.y);a>s&&(o=i,a=s)})),o&&o.series},_setTimeout:function(e,t){var n=this;n._timeoutKeeper!==t&&(n._resetTimer(),n._hoverTimeout=setTimeout(function(){e(),n._timeoutKeeper=null},G),n._timeoutKeeper=t)},_resetTimer:function(){clearTimeout(this._hoverTimeout),this._timeoutKeeper=this._hoverTimeout=null},_checkGestureEvents:function(e,t,n){var i=this;if(e.type===f.down)t&&i._gestureStart(i._getGestureParams(e,n));else if(i._startGesture&&t&&i._gestureChange(i._getGestureParams(e,n)))return i._pointerOut(),e.preventDefault(),!0},_setStickedSeries:function(e,t){return this._stickedSeries=this._stickedSeries||this._getSeriesForShared(e,t),!!this._stickedSeries},_setSeriesWithHoverView:function(e){this._seriesWithHoverView=e.series.setHoverView()},_pointerOut:function(){var e=this;e._stickedSeries=null,e._hideCrosshair(),e._resetHoveredArgument(),e._resetTimer(),$._pointerOut.call(e)},_hoverArgumentAxis:function(e,t,n){var i=this;if(i._resetHoveredArgument(),i._axisHoverEnabled&&i._argumentAxis.coordsIn(e,t)){var a=o(n,W);return v(a)&&i.hoveredArgument!==a&&(i._clearHover(),i._toAllArgumentPoints(a,R),i.hoveredArgument=a),!0}},_pointerComplete:function(e,t,n){var i=this;i.hoveredSeries&&i.hoveredSeries.updateHover(t,n),i._resetTimer(),i._moveCrosshair(e,t,n),$._pointerComplete.call(i,e)},_legendClick:function(e,t){var n=this._storedSeries[e.id];this._triggerLegendClick({target:n,jQueryEvent:t},B)},_hoverLegendItem:function(e,t){this._stickedSeries=null,this._hideCrosshair(),$._hoverLegendItem.call(this,e,t)},_pointerOnPoint:function(e,t,n){var i=this,o=i._seriesWithHoverView,a=e.series;i._stickedSeries=a,i._releaseHoveredSeries(!o||o===a,e),$._pointerOnPoint.call(i,e,t,n)},dispose:function(){this._gestureEndHandler&&c(document).off(f.up,this._gestureEndHandler),this._resetTimer(),$.dispose.call(this)}});var j=function(e){this.ctor(e)};c.extend(j.prototype,$,{_getPointSeries:function(e){return this._storedSeries[e.index]},_isModeChanged:function(){return!1},_isPointerOut:function(e,t){return!t},_legendClick:function(e,t){var n,i=this,o=e.argument;1===i._storedSeries.length?(n=l(i._storedSeries,o,e.id),i._triggerLegendClick({target:n[0],jQueryEvent:t},M)):i._eventTrigger(A,{target:o,jQueryEvent:t})},_pointClick:function(e,t){this._eventTrigger(M,{target:e,jQueryEvent:t})},_releasePoint:function(e,t){var n=this,i=x(e.getOptions().hoverMode);"none"!==i&&(n._getPointSeries(e).releasePointHoverState({point:e,setState:!0,legendCallback:n._legend.getActionCallback(e)}),t(F,{target:e}))},_setPointState:function(e,t,n,i,o){var a,r=this,s=r._eventTrigger;"none"!==n&&(a=r._getPointSeries(e),a[t]({point:e,legendCallback:o,setState:!0}),s(i,{target:e}))},_hoverArgumentAxis:C,_setStickedSeries:C,_setSeriesWithHoverView:C,_getCanvas:C,_checkGestureEvents:C}),t.ChartTracker=q,t.PieTracker=j}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(335)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o="android5.light",a=n(68),r=a.registerThemeAlias,s="#767676",l="#e8e8e8",c="#000000";a.registerTheme({name:o,backgroundColor:"#ffffff",primaryTitleColor:"#232323",secondaryTitleColor:s,axisColor:"#d3d3d3",axisLabelColor:s,tooltip:{color:l,font:{color:s}},legend:{font:{color:c}},pieIE8:{commonSeriesSettings:{pie:{hoverStyle:{border:{color:l}},selectionStyle:{border:{color:l}}},donut:{hoverStyle:{border:{color:l}},selectionStyle:{border:{color:l}}},doughnut:{hoverStyle:{border:{color:l}},selectionStyle:{border:{color:l}}}}},rangeSelector:{scale:{tick:{color:c,opacity:.17},minorTick:{color:c,opacity:.05}}}},"generic.light"),r("android",o),r("android.holo-dark",o),r("android.holo-light",o),r("android.dark",o),r("android.light",o)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o="#ffffff",a="#000000",r="#d3d3d3",s="#303030",l="#2b2b2b",c="#ff0000",d="#232323",u="#767676",h="#cf00da",p="#f8ca00",f="#8e8e8e",_="#b8b8b8",g="#c7c7c7",m="#686868",v="#b5b5b5",x="none",w="solid",y="top",b="right",C="bottom",k="left",S="center",T="inside",I="outside",D=n(68),E=D.registerTheme,A=D.registerThemeAlias;E({name:"generic.light",font:{color:u,family:"'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana",weight:400,size:12,cursor:"default"},redrawOnResize:!0,backgroundColor:o,primaryTitleColor:d,secondaryTitleColor:u,axisColor:r,axisLabelColor:u,title:{backgroundColor:o,font:{size:28,family:"'Segoe UI Light', 'Helvetica Neue Light', 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana",weight:200},subtitle:{font:{size:16}}},loadingIndicator:{text:"Loading..."},"export":{backgroundColor:o,font:{size:14,color:d,weight:400},button:{"default":{color:"#333",borderColor:"#ddd",backgroundColor:o},hover:{color:"#333",borderColor:"#bebebe",backgroundColor:"#e6e6e6"},focus:{color:a,borderColor:"#9d9d9d",backgroundColor:"#e6e6e6"},active:{color:"#333",borderColor:"#9d9d9d",backgroundColor:"#d4d4d4"}},shadowColor:r},tooltip:{enabled:!1,border:{width:1,color:r,dashStyle:w,visible:!0},font:{color:d},color:o,arrowLength:10,paddingLeftRight:18,paddingTopBottom:15,shared:!1,location:S,shadow:{opacity:.4,offsetX:0,offsetY:4,blur:2,color:a}},legend:{hoverMode:"includePoints",verticalAlignment:y,horizontalAlignment:b,position:I,visible:!0,margin:10,markerSize:12,border:{visible:!1,width:1,cornerRadius:0,dashStyle:w},paddingLeftRight:20,paddingTopBottom:15,columnCount:0,rowCount:0,columnItemSpacing:20,rowItemSpacing:8},"chart:common":{animation:{enabled:!0,duration:1e3,easing:"easeOutCubic",maxPointCountSupported:300},commonSeriesSettings:{border:{visible:!1,width:2},showInLegend:!0,visible:!0,hoverMode:"nearestPoint",selectionMode:"includePoints",hoverStyle:{hatching:{direction:b,width:2,step:6,opacity:.75},border:{visible:!1,width:3}},selectionStyle:{hatching:{direction:b,width:2,step:6,opacity:.5},border:{visible:!1,width:3}},valueErrorBar:{displayMode:"auto",value:1,color:a,lineWidth:2,edgeLength:8},label:{visible:!1,alignment:S,rotationAngle:0,horizontalOffset:0,verticalOffset:0,radialOffset:0,showForZeroValues:!0,customizeText:void 0,maxLabelCount:void 0,position:I,font:{color:o},border:{visible:!1,width:1,color:r,dashStyle:w},connector:{visible:!1,width:1}}},seriesSelectionMode:"single",pointSelectionMode:"single",equalRowHeight:!0,dataPrepareSettings:{checkTypeForAllData:!1,convertToAxisDataType:!0,sortingMethod:!0},title:{margin:10},adaptiveLayout:{width:80,height:80,keepLabels:!0},_rtl:{legend:{itemTextPosition:k}},resolveLabelOverlapping:x},"chart:common:axis":{visible:!1,setTicksAtUnitBeginning:!0,valueMarginsEnabled:!0,placeholderSize:null,logarithmBase:10,discreteAxisDivisionMode:"betweenLabels",width:1,label:{visible:!0},grid:{visible:!1,width:1},minorGrid:{visible:!1,width:1,opacity:.3},tick:{visible:!1,width:1,length:8},minorTick:{visible:!1,width:1,opacity:.3,length:8},stripStyle:{paddingLeftRight:10,paddingTopBottom:5},constantLineStyle:{width:1,color:a,dashStyle:w,label:{visible:!0,position:T}},marker:{label:{}}},chart:{commonSeriesSettings:{type:"line",stack:"default",point:{visible:!0,symbol:"circle",size:12,border:{visible:!1,width:1},hoverMode:"onlyPoint",selectionMode:"onlyPoint",hoverStyle:{border:{visible:!0,width:4},size:12},selectionStyle:{border:{visible:!0,width:4},size:12}},scatter:{},line:{width:2,dashStyle:w,hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3}},stackedline:{width:2,dashStyle:w,hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3}},stackedspline:{width:2,dashStyle:w,hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3}},fullstackedline:{width:2,dashStyle:w,hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3}},fullstackedspline:{width:2,dashStyle:w,hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3}},stepline:{width:2,dashStyle:w,hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3}},area:{point:{visible:!1},opacity:.5},stackedarea:{point:{visible:!1},opacity:.5},fullstackedarea:{point:{visible:!1},opacity:.5},fullstackedsplinearea:{point:{visible:!1},opacity:.5},steparea:{border:{visible:!0,width:2},point:{visible:!1},hoverStyle:{border:{visible:!0,width:3}},selectionStyle:{border:{visible:!0,width:3}},opacity:.5},spline:{width:2,hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3}},splinearea:{point:{visible:!1},opacity:.5},stackedsplinearea:{point:{visible:!1},opacity:.5},bar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},stackedbar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}},label:{position:T}},fullstackedbar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}},label:{position:T}},rangebar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},rangearea:{point:{visible:!1},opacity:.5},rangesplinearea:{point:{visible:!1},opacity:.5},bubble:{opacity:.5,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},candlestick:{width:1,reduction:{color:c},hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3},point:{border:{visible:!0}}},stock:{width:1,reduction:{color:c},hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3},point:{border:{visible:!0}}}},crosshair:{enabled:!1,color:"#f05b41",width:1,dashStyle:w,label:{visible:!1,font:{color:o,size:12}},verticalLine:{visible:!0},horizontalLine:{visible:!0}},commonAxisSettings:{multipleAxesSpacing:5,label:{overlappingBehavior:{mode:"enlargeTickInterval",rotationAngle:90,staggeringSpacing:5},indentFromAxis:10},title:{font:{size:16},margin:6},constantLineStyle:{paddingLeftRight:10,paddingTopBottom:10}},horizontalAxis:{position:C,axisDivisionFactor:50,label:{alignment:S},stripStyle:{label:{horizontalAlignment:S,verticalAlignment:y}},constantLineStyle:{label:{horizontalAlignment:b,verticalAlignment:y}},constantLines:{}},verticalAxis:{position:k,axisDivisionFactor:30,label:{alignment:b,overlappingBehavior:{mode:"enlargeTickInterval"}},stripStyle:{label:{horizontalAlignment:k,verticalAlignment:S}},constantLineStyle:{label:{horizontalAlignment:k,verticalAlignment:y}},constantLines:{}},argumentAxis:{},valueAxis:{grid:{visible:!0}},commonPaneSettings:{backgroundColor:x,border:{color:r,width:1,visible:!1,top:!0,bottom:!0,left:!0,right:!0,dashStyle:w}},scrollBar:{visible:!1,offset:5,color:"gray",width:10},useAggregation:!1,adjustOnZoom:!0,rotated:!1,zoomingMode:x,scrollingMode:x,synchronizeMultiAxes:!0,equalBarWidth:!0,minBubbleSize:12,maxBubbleSize:.2},pie:{innerRadius:.5,type:"pie",commonSeriesSettings:{pie:{border:{visible:!1,width:2,color:o},hoverStyle:{hatching:{direction:b,width:4,step:10,opacity:.75},border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:b,width:4,step:10,opacity:.5},border:{visible:!1,width:2}}},doughnut:{border:{visible:!1,width:2,color:o},hoverStyle:{hatching:{direction:b,width:4,step:10,opacity:.75},border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:b,width:4,step:10,opacity:.5},border:{visible:!1,width:2}}},donut:{border:{visible:!1,width:2,color:o},hoverStyle:{hatching:{direction:b,width:4,step:10,opacity:.75},border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:b,width:4,step:10,opacity:.5},border:{visible:!1,width:2}}}},legend:{hoverMode:"allArgumentPoints",backgroundColor:x},adaptiveLayout:{keepLabels:!1}},pieIE8:{commonSeriesSettings:{pie:{hoverStyle:{border:{visible:!0,color:o}},selectionStyle:{border:{visible:!0,color:o}}},donut:{hoverStyle:{border:{visible:!0,color:o}},selectionStyle:{border:{visible:!0,color:o}}},doughnut:{hoverStyle:{border:{visible:!0,color:o}},selectionStyle:{border:{visible:!0,color:o}}}}},gauge:{scale:{tick:{visible:!0,length:5,width:2,opacity:1},minorTick:{visible:!1,length:3,width:1,opacity:1},label:{visible:!0,alignment:S,overlappingBehavior:{hideFirstOrLast:"last",useAutoArrangement:!0}},position:y},rangeContainer:{offset:0,width:5,backgroundColor:"#808080"},valueIndicators:{_default:{color:"#c2c2c2"},rangebar:{space:2,size:10,color:"#cbc5cf",backgroundColor:x,text:{indent:0,font:{size:14,color:null}}},twocolorneedle:{secondColor:"#e18e92"},trianglemarker:{space:2,length:14,width:13,color:"#8798a5"},textcloud:{arrowLength:5,horizontalOffset:6,verticalOffset:3,color:"#679ec5",text:{font:{color:o,size:18}}}},indicator:{hasPositiveMeaning:!0,layout:{horizontalAlignment:S,verticalAlignment:C},text:{font:{size:18}}},_circular:{scale:{orientation:I,label:{indentFromTick:10}},rangeContainer:{orientation:I},valueIndicatorType:"rectangleneedle",subvalueIndicatorType:"trianglemarker",valueIndicators:{_type:"rectangleneedle",_default:{offset:20,indentFromCenter:0,width:2,spindleSize:14,spindleGapSize:10},triangleneedle:{width:4},twocolorneedle:{space:2,secondFraction:.4},rangebar:{offset:30},trianglemarker:{offset:6},textcloud:{offset:-6}}},_linear:{scale:{horizontalOrientation:b,verticalOrientation:C,label:{indentFromTick:-10}},rangeContainer:{horizontalOrientation:b,verticalOrientation:C},valueIndicatorType:"rangebar",subvalueIndicatorType:"trianglemarker",valueIndicators:{_type:"rectangle",_default:{offset:2.5,length:15,width:15},rectangle:{width:10},rangebar:{offset:10,horizontalOrientation:b,verticalOrientation:C},trianglemarker:{offset:10,horizontalOrientation:k,verticalOrientation:y},textcloud:{offset:-1,horizontalOrientation:k,verticalOrientation:y}}}},barGauge:{backgroundColor:"#e0e0e0",relativeInnerRadius:.3,barSpacing:4,label:{indent:20,connectorWidth:2,font:{size:16}},indicator:{hasPositiveMeaning:!0,layout:{horizontalAlignment:S,verticalAlignment:C},text:{font:{size:18}}}},rangeSelector:{scale:{width:1,color:a,opacity:.1,showCustomBoundaryTicks:!0,showMinorTicks:!0,useTicksAutoArrangement:!0,setTicksAtUnitBeginning:!0,label:{alignment:"center",visible:!0,topIndent:7,font:{size:11}},tick:{width:1,color:a,opacity:.17,visible:!0,length:12},minorTick:{width:1,color:a,opacity:.05,visible:!0,length:12},marker:{width:1,color:"#000000",opacity:.1,visible:!0,separatorHeight:33,topIndent:10,textLeftIndent:7,textTopIndent:11,label:{}},logarithmBase:10},selectedRangeColor:"#606060",sliderMarker:{visible:!0,paddingTopBottom:2,paddingLeftRight:4,color:"#606060",invalidRangeColor:c,font:{color:o,size:11}},sliderHandle:{width:1,color:a,opacity:.2},shutter:{opacity:.75},background:{color:"#c0bae1",visible:!0,image:{location:"full"}},behavior:{snapToTicks:!0,animationEnabled:!0,moveSelectedRangeByClick:!0,manualRangeSelectionEnabled:!0,allowSlidersSwap:!0,callSelectedRangeChanged:"onMovingComplete"},redrawOnResize:!0,chart:{useAggregation:!1,equalBarWidth:!0,minBubbleSize:12,maxBubbleSize:.2,topIndent:.1,bottomIndent:0,valueAxis:{inverted:!1,logarithmBase:10},commonSeriesSettings:{type:"area",point:{visible:!1},scatter:{point:{visible:!0}}}}},map:{title:{margin:10},background:{borderWidth:1,borderColor:"#cacaca"},layer:{label:{enabled:!1,stroke:o,"stroke-width":1,"stroke-opacity":.7,font:{color:l,size:12}}},"layer:area":{borderWidth:1,borderColor:o,color:"#d2d2d2",hoveredBorderColor:s,selectedBorderWidth:2,selectedBorderColor:s,label:{"stroke-width":2,font:{size:16}}},"layer:line":{borderWidth:2,color:"#ba8365",hoveredColor:"#a94813",selectedBorderWidth:3,selectedColor:"#e55100",label:{"stroke-width":2,font:{size:16}}},"layer:marker":{label:{enabled:!0,"stroke-width":1,font:{size:12}}},"layer:marker:dot":{borderWidth:2,borderColor:o,color:"#ba4d51",size:8,selectedStep:2,backStep:18,backColor:o,backOpacity:.32,shadow:!0},"layer:marker:bubble":{minSize:20,maxSize:50,color:"#ba4d51",hoveredBorderWidth:1,hoveredBorderColor:s,selectedBorderWidth:2,selectedBorderColor:s},"layer:marker:pie":{size:50,hoveredBorderWidth:1,hoveredBorderColor:s,selectedBorderWidth:2,selectedBorderColor:s},"layer:marker:image":{size:20},legend:{verticalAlignment:C,horizontalAlignment:b,position:T,backgroundOpacity:.65,border:{visible:!0},paddingLeftRight:16,paddingTopBottom:12,markerColor:"#ba4d51"},controlBar:{borderColor:"#5d5d5d",borderWidth:3,color:o,margin:20,opacity:.3},_rtl:{legend:{itemTextPosition:k}}},treeMap:{tile:{border:{width:1,opacity:.2,color:"#000000"},color:"#5f8b95",hoverStyle:{hatching:{opacity:.75,step:6,width:2,direction:"right"},border:{}},selectionStyle:{hatching:{opacity:.5,step:6,width:2,direction:"right"},border:{opacity:1}},label:{visible:!0,paddingLeftRight:5,paddingTopBottom:4,stroke:"#000000","stroke-width":1,"stroke-opacity":.3,font:{color:"#ffffff",weight:300},shadow:{opacity:.8,offsetX:0,offsetY:1,blur:1,color:"#000000"}}},group:{padding:4,border:{width:1},color:"#eeeeee",hoverStyle:{hatching:{opacity:0,step:6,width:2,direction:"right"},border:{}},selectionStyle:{hatching:{opacity:0,step:6,width:2,direction:"right"},border:{}},label:{visible:!0,paddingLeftRight:5,paddingTopBottom:4,font:{weight:600}}},title:{subtitle:{}},tooltip:{},loadingIndicator:{}},sparkline:{lineColor:"#666666",lineWidth:2,areaOpacity:.2,minColor:"#e8c267",maxColor:"#e55253",barPositiveColor:"#a9a9a9",barNegativeColor:"#d7d7d7",winColor:"#a9a9a9",lossColor:"#d7d7d7",firstLastColor:"#666666",pointSymbol:"circle",pointColor:o,pointSize:4,type:"line",argumentField:"arg",valueField:"val",winlossThreshold:0,showFirstLast:!0,showMinMax:!1,tooltip:{enabled:!0}},bullet:{color:"#e8c267",targetColor:"#666666",targetWidth:4,showTarget:!0,showZeroLevel:!0,tooltip:{enabled:!0}},polar:{commonSeriesSettings:{type:"scatter",closed:!0,point:{visible:!0,symbol:"circle",size:12,border:{visible:!1,width:1},hoverMode:"onlyPoint",selectionMode:"onlyPoint",hoverStyle:{border:{visible:!0,width:4},size:12},selectionStyle:{border:{visible:!0,width:4},size:12}},scatter:{},line:{width:2,dashStyle:w,hoverStyle:{width:3,hatching:{direction:x}},selectionStyle:{width:3}},area:{point:{visible:!1},opacity:.5},stackedline:{width:2},bar:{opacity:.8},stackedbar:{opacity:.8}},adaptiveLayout:{width:170,height:170,keepLabels:!0},equalBarWidth:!0,commonAxisSettings:{visible:!0,label:{overlappingBehavior:{mode:"enlargeTickInterval"},indentFromAxis:5},grid:{visible:!0},minorGrid:{visible:!0},tick:{visible:!0},title:{font:{size:16},margin:10}},argumentAxis:{startAngle:0,firstPointOnStartAngle:!1,period:void 0},valueAxis:{tick:{visible:!1}},horizontalAxis:{position:y,axisDivisionFactor:50,label:{alignment:S}},verticalAxis:{position:y,axisDivisionFactor:30,label:{alignment:b}}}}),E({name:"generic.dark",font:{color:"#808080"},backgroundColor:"#2a2a2a",primaryTitleColor:"#dedede",secondaryTitleColor:"#a3a3a3",axisColor:"#555555",axisLabelColor:"#a3a3a3","export":{backgroundColor:"#2a2a2a",font:{color:"#dbdbdb"},button:{"default":{color:"#dedede",borderColor:"#4d4d4d",backgroundColor:"#2e2e2e"},hover:{color:"#dedede",borderColor:"#6c6c6c",backgroundColor:"#444"},focus:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#444444"},active:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#555555"}},shadowColor:"#292929"},tooltip:{color:l,border:{color:"#494949"},font:{color:"#929292"}},"chart:common":{commonSeriesSettings:{label:{border:{color:"#494949"}},valueErrorBar:{color:o}}},"chart:common:axis":{constantLineStyle:{color:o}},chart:{commonPaneSettings:{border:{color:"#494949"}}},pieIE8:{commonSeriesSettings:{pie:{hoverStyle:{border:{color:l}},selectionStyle:{border:{color:l}}},donut:{hoverStyle:{border:{color:l}},selectionStyle:{border:{color:l}}},doughnut:{hoverStyle:{border:{color:l}},selectionStyle:{border:{color:l}}}}},gauge:{rangeContainer:{backgroundColor:v},valueIndicators:{_default:{color:v},rangebar:{color:"#84788b"},twocolorneedle:{secondColor:"#ba544d"},trianglemarker:{color:"#b7918f"},textcloud:{color:"#ba544d"}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{color:o,opacity:.32},minorTick:{color:o,opacity:.1}},selectedRangeColor:v,sliderMarker:{color:v,font:{color:s}},sliderHandle:{color:o,opacity:.2},shutter:{color:l,opacity:.9}},map:{background:{borderColor:"#3f3f3f"},layer:{label:{stroke:a,font:{color:o}}},"layer:area":{borderColor:s,color:m,hoveredBorderColor:o,selectedBorderColor:o},"layer:line":{color:"#c77244",hoveredColor:"#ff5d04",selectedColor:"#ff784f"},"layer:marker:bubble":{hoveredBorderColor:o,selectedBorderColor:o},"layer:marker:pie":{hoveredBorderColor:o,selectedBorderColor:o},legend:{border:{color:"#3f3f3f"},font:{color:o}},controlBar:{borderColor:g,color:s}},treeMap:{group:{color:"#4c4c4c"}},sparkline:{lineColor:g,firstLastColor:g,barPositiveColor:_,barNegativeColor:f,winColor:_,lossColor:f,pointColor:s},bullet:{targetColor:f}},"generic.light"),E({name:"generic.contrast",defaultPalette:"Bright",font:{color:o},backgroundColor:a,primaryTitleColor:o,secondaryTitleColor:o,axisColor:o,axisLabelColor:o,"export":{backgroundColor:a,font:{color:o},button:{"default":{color:o,borderColor:o,backgroundColor:a},hover:{color:o,borderColor:o,backgroundColor:"#cf00d7"},focus:{color:o,borderColor:"#cf00d7",backgroundColor:a},active:{color:a,borderColor:o,backgroundColor:o}},borderColor:o,menuButtonColor:a,activeBackgroundColor:o,activeColor:a,selectedBorderColor:h,selectedColor:h,shadowColor:"none"},tooltip:{border:{color:o},font:{color:o},color:a},"chart:common":{commonSeriesSettings:{valueErrorBar:{color:o},hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}},label:{font:{color:o},border:{color:o}}}},"chart:common:axis":{constantLineStyle:{color:o}},chart:{commonSeriesSettings:{},commonPaneSettings:{backgroundColor:a,border:{color:o}},scrollBar:{color:o}},pie:{commonSeriesSettings:{pie:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}},doughnut:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}},donut:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}}},legend:{backgroundColor:a}},gauge:{rangeContainer:{backgroundColor:o},valueIndicators:{_default:{color:o},rangebar:{color:o,backgroundColor:a},twocolorneedle:{secondColor:o},trianglemarker:{color:o},textcloud:{color:o,text:{font:{color:a}}}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{opacity:.4},minorTick:{opacity:.12}},selectedRangeColor:h,sliderMarker:{color:h},sliderHandle:{color:h,opacity:1},shutter:{opacity:.75},background:{color:a}},map:{background:{borderColor:o},layer:{label:{stroke:a,font:{color:o}}},"layer:area":{borderColor:a,color:m,hoveredBorderColor:o,selectedBorderColor:o,label:{font:{opacity:1}}},"layer:line":{color:"#267cff",hoveredColor:"#f613ff",selectedColor:o},"layer:marker:dot":{borderColor:a,color:p,backColor:a,backOpacity:.32},"layer:marker:bubble":{color:p,hoveredBorderColor:o,selectedBorderColor:o},"layer:marker:pie":{hoveredBorderColor:o,selectedBorderColor:o},legend:{markerColor:p},controlBar:{borderColor:o,color:a,opacity:.3}},treeMap:{tile:{color:"#70c92f"},group:{color:"#797979"}},sparkline:{pointColor:a},bullet:{},polar:{commonSeriesSettings:{}}},"generic.light"),D.currentTheme("generic.light"),A("desktop.light","generic.light"),A("desktop.dark","generic.dark")}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(88),a=n(10);i.exports=o(a.ERROR_MESSAGES,{E2001:"Invalid data source",E2002:"Axis type and data type are incompatible",E2003:'"{0}" data source field contains data of unsupported type',E2004:'"{0}" data source field is inconsistent',E2101:"Unknown series type was specified: {0}",E2102:"Ambiguity occurred between two value axes with the same name",E2103:'"{0}" option must be a function',E2104:"Invalid logarithm base",E2105:'Invalid value of a "{0}"',E2106:"Invalid visible range",E2202:"Invalid scale {0} value",E2203:'The "{0}" field of the "selectedRange" configuration object is not valid',W2002:"The {0} data field is absent",W2003:"Tick interval is too small",W2101:'The "{0}" pane does not exist; the last pane is used by default',W2102:'Value axis with the "{0}" name was created automatically',W2103:"Chart title was hidden due to container size",W2104:"Legend was hidden due to container size",W2105:'Title of "{0}" axis was hidden due to container size',W2106:'Labels of "{0}" axis were hidden due to container size',W2301:"Invalid value range"})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){this.reset()}function a(e,t){return e!==t?d({},e,t):d({},e)}function r(e,t){return e!==t?e.concat(t):e.slice()}function s(e){e._totalChangesOrder=e._optionChangesOrder.concat(e._layoutChangesOrder,e._customChangesOrder)}function l(e){var t=this.prototype,n=e.code;t["_change_"+n]=e.handler,e.isThemeDependent&&t._themeDependentChanges.push(n),e.option&&(t._optionChangesMap[e.option]=n),(e.isOptionChange?t._optionChangesOrder:t._customChangesOrder).push(n),s(t)}function c(e){this.prototype._plugins.push(e),e.members&&d(this.prototype,e.members),e.customize&&e.customize(this)}var d=n(1).extend;o.prototype={constructor:o,add:function(e){var t,n=e.length,i=this._flags;for(t=0;n>t;++t)i[e[t]]=1;this._k+=n},has:function(e){return this._flags[e]>0},count:function(){return this._k},reset:function(){this._flags={},this._k=0}},t.replaceInherit=function(e){var t=e.inherit;e.inherit=function(e){var n=this.prototype,i=n._plugins,o=n._eventsMap,l=n._initialChanges,d=n._themeDependentChanges,u=n._optionChangesMap,h=n._optionChangesOrder,p=n._layoutChangesOrder,f=n._customChangesOrder,_=t.apply(this,arguments);return n=_.prototype,n._plugins=r(i,n._plugins),n._eventsMap=a(o,n._eventsMap),n._initialChanges=r(l,n._initialChanges),n._themeDependentChanges=r(d,n._themeDependentChanges),n._optionChangesMap=a(u,n._optionChangesMap),n._optionChangesOrder=r(h,n._optionChangesOrder),n._layoutChangesOrder=r(p,n._layoutChangesOrder),n._customChangesOrder=r(f,n._customChangesOrder),s(n),_.addPlugin=c,_},e.prototype._plugins=[],e.addChange=l,e.addPlugin=c},t.changes=function(){return new o}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(68),a="ios7.default",r="#767676",s="#d3d3d3",l="#000000";o.registerTheme({name:a,backgroundColor:"#ffffff",primaryTitleColor:l,secondaryTitleColor:r,axisColor:"#ececec",axisLabelColor:r,legend:{font:{color:l}},tooltip:{font:{color:r}},"chart:common":{commonSeriesSettings:{label:{border:{color:s}}}},chart:{commonPaneSettings:{border:{color:s}}},rangeSelector:{scale:{tick:{color:l,opacity:.1},minorTick:{color:l,opacity:.03}}}},"generic.light"),o.registerThemeAlias("ios",a)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i=v(e);return i in t?t[i]:n}function a(e){var t=o(e.side,T,1),n=[o(e.horizontalAlignment,k,b),o(e.verticalAlignment,S,y)];return{side:t,primary:r(n[t]),secondary:n[1-t],weak:e.weak}}function r(e){return 2>e?0:2}function s(e){return 1-e}function l(e){return 2-e}function c(e,t,n,i){return I[e](t,n,i)}function d(e,t){return(e>0?-1:1)*t}function u(e,t){var n=e.side,i=e.element.measure([t[2]-t[0],t[3]-t[1]]),o=i[n]<t[2+n]-t[n];return o&&(t[e.primary+n]+=d(e.primary,i[n]),e.size=i),o}function h(e,t){var n=e.side,i=s(n),o=[],a=c(e.secondary,t[i],t[2+i],e.size[i]);o[n]=o[2+n]=t[e.primary+n],o[e.primary+n]=t[e.primary+n]-=d(e.primary,e.size[n]),o[i]=a[0],o[2+i]=a[1],e.element.move(o)}function p(){this._targets=[]}function f(e){var t,n,i=e.length,o=[];for(t=0;i>t;++t)n=e[t].layoutOptions(),n&&(n=a(n),n.element=e[t],o.push(n));return _(o),o}function _(e){for(var t,n,i,o,a=!0;a;)for(a=!1,n=e.length,t=0;n>t;++t)if(e[t].weak){for(o=e[t],i=0;n>i;++i)if(t!==i&&o.side===e[i].side&&o.primary===e[i].primary){e[x(t,i)]=g(e[x(t,i)],e[w(t,i)]),e.splice(w(t,i),1),a=!0;break}if(a)break}}function g(e,t){return{side:e.side,primary:e.primary,secondary:e.secondary===t.secondary?e.secondary:r(e.secondary)||r(t.secondary),element:new m(e,t)}}function m(e,t){this._first=e,this._second=t}var v=n(7).normalizeEnum,x=Math.min,w=Math.max,y=0,b=1,C=2,k={left:y,center:b,right:C},S={top:y,center:b,bottom:C},T={horizontal:0,vertical:1},I={};I[y]=function(e,t,n){return[e,x(t,e+n)]},I[b]=function(e,t,n){return[w(e,(e+t-n)/2),x(t,(e+t+n)/2)]},I[C]=function(e,t,n){return[w(e,t-n),t]},p.prototype={constructor:p,dispose:function(){this._targets=null},add:function(e){this._targets.push(e)},forward:function(e){var t,n=e.slice(),i=f(this._targets),o=i.length,a=[];for(t=0;o>t;++t)u(i[t],n)&&a.push(i[t]);return this._cache=a.reverse(),n},backward:function(e){var t,n=e.slice(),i=this._cache,o=i.length;for(t=0;o>t;++t)h(i[t],n);this._cache=null}},m.prototype.measure=function(e){var t,n=this._first,i=this._second,o=e.slice(),a=n.side,r=s(a),l=n.element.measure(o.slice());return o[r]-=l[r],t=i.element.measure(o.slice()),o[a]=w(l[a],t[a]),n.secondary===i.secondary?o[r]=l[r]+t[r]:n.secondary===b||i.secondary===b?o[r]=e[r]/2+(n.secondary===b?l:t)[r]/2:o[r]=e[r],
n.size=l,i.size=t,o},m.prototype.move=function(e){var t,n,i,o=this._first,a=this._second,d=o.side,u=s(d),h=o.secondary===a.secondary?r(o.secondary):o.secondary===b?l(r(a.secondary)):r(o.secondary);t=c(b,e[d],e[2+d],o.size[d]),n=c(h,e[u],e[2+u],o.size[u]),i=[],i[d]=t[0],i[2+d]=t[1],i[u]=n[0],i[2+u]=n[1],o.element.move(i),t=c(b,e[d],e[2+d],a.size[d]),n=c(l(h),e[u],e[2+u],e[2+u]-e[u]-o.size[u]),n=c(l(h),n[0],n[1],a.size[u]),i=[],i[d]=t[0],i[2+d]=t[1],i[u]=n[0],i[2+u]=n[1],a.element.move(i)},i.exports=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t,n=this,i=n._animateStep;n._progress=n._calcProgress(e);for(t in n.params){var o=i[t]||i.base;o(n.element,n.params[t],n._progress,n._easing,n._currentParams,t)}return n.options.step&&n.options.step(n._easing(n._progress,0,1),n._progress),1===n._progress?n.stop():!0}function a(e){return this._startTime=e,this.tick=o,!0}function r(e,t,n){var i=this;i._progress=0,i.element=e,i.params=t,i.options=n,i.duration=n.partitionDuration?n.duration*n.partitionDuration:n.duration,i._animateStep=n.animateStep||u,i._easing=d[n.easing]||d.easeOutCubic,i._currentParams={},i.tick=a}function s(e){var t=this;t._animationCount=0,t._timerId=null,t._animations={},t.element=e}var l=n(74),c=function(){},d={easeOutCubic:function(e,t,n){return 1===e?n:(1-Math.pow(1-e,3))*(n-t)+ +t},linear:function(e,t,n){return 1===e?n:e*(n-t)+ +t}};t.easingFunctions=d;var u={segments:function(e,t,n,i,o){var a,r,s,l,c=t.from,d=t.to,u=[];for(s=0;s<c.length;s++){if(a=c[s],r=[a[0]],a.length>1)for(l=1;l<a.length;l++)r.push(i(n,a[l],d[s][l]));u.push(r)}o.segments=t.end&&1===n?t.end:u,e.attr({segments:u})},arc:function(e,t,n,i){var o=t.from,a=t.to,r={};for(var s in o)r[s]=i(n,o[s],a[s]);e.attr(r)},transform:function(e,t,n,i,o){var a=t.from,r=t.to,s={};for(var l in a)s[l]=o[l]=i(n,a[l],r[l]);e.attr(s)},base:function(e,t,n,i,o,a){var r={};r[a]=o[a]=i(n,t.from,t.to),e.attr(r)},_:c,complete:function(e,t){e.attr(t)}};r.prototype={_calcProgress:function(e){return Math.min(1,(e-this._startTime)/this.duration)},stop:function(e){var t=this,n=t.options,i=t._animateStep;t.stop=t.tick=c,i.complete&&i.complete(t.element,t._currentParams),n.complete&&!e&&n.complete()}},t.AnimationController=s,s.prototype={_loop:function(){var e,t=this,n=t._animations,i=0,o=(new Date).getTime(),a=t._endAnimation;for(e in n)n[e].tick(o)||delete n[e],i++;return 0===i?(t.stop(),void(t._endAnimationTimer=a&&setTimeout(function(){0===t._animationCount&&(a(),t._endAnimation=null)}))):void(t._timerId=l.requestAnimationFrame.call(null,function(){t._loop()},t.element))},addAnimation:function(e){var t=this;t._animations[t._animationCount++]=e,clearTimeout(t._endAnimationTimer),t._timerId||(clearTimeout(t._startDelay),t._startDelay=setTimeout(function(){t._timerId=1,t._loop()},0))},animateElement:function(e,t,n){e&&t&&n&&(e.animation&&e.animation.stop(),this.addAnimation(e.animation=new r(e,t,n)))},onEndAnimation:function(e){this._animationCount?this._endAnimation=e:e()},dispose:function(){this.stop(),this.element=null},stop:function(){var e=this;e._animations={},e._animationCount=0,l.cancelAnimationFrame(e._timerId),clearTimeout(e._startDelay),clearTimeout(e._endAnimationTimer),e._timerId=null},lock:function(){var e,t,n,i=this._animations;for(e in i)t=i[e].options.unstoppable,n=n||t,t||(i[e].stop(!0),delete i[e]);!n&&this.stop()}},t.animationSvgStep=u}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1}function r(e,t,n,i,o,a,r,s,l,c,d){var u=e+i*o,h=t-i*a,p=e+i*r,f=t-i*s,_=e+n*r,g=t-n*s,m=e+n*o,v=t-n*a;return d?"m 0 0 x e":["wr",I(e-n),I(t-n),I(e+n),I(t+n),I(_),I(g),I(m),I(v),l?"wr ":"at ",I(e-i),I(t-i),I(e+i),I(t+i),I(u),I(h),I(p),I(f),"x e"].join(" ")}function s(e){var t,n,i={};for(t in H)n=e[t],void 0!==n&&(i[t]=n);return i}function l(e,t){return t=Math.ceil(parseInt(t)/2),t&&t>1&&(e.left-=t,e.top-=t,e.right+=t,e.bottom+=t),e}function c(){var e,t,n=(this._settings.d||"").match(/[-0-9]+/g),i={};for(e=0;e<n.length;e++)t=parseInt(n[e]),e%2?(i.top=void 0===i.top||t<i.top?t:i.top,i.bottom=void 0===i.bottom||t>i.bottom?t:i.bottom):(i.left=void 0===i.left||t<i.left?t:i.left,i.right=void 0===i.right||t>i.right?t:i.right);return i.left=i.left||0,i.top=i.top||0,i.right=i.right||0,i.bottom=i.bottom||0,l(i,this._fullSettings[R])}function d(e,t,n){var i,a,r,l,c=e.element,d=e._settings,u=e._fullSettings,h={style:{}};if("string"==typeof t)return t in d?d[t]:t in $?$[t]:0;t&&"transparent"===t.fill&&(t.fill="none");for(a in t)i=t[a],void 0!==i&&(r=u[a],!n&&(d[a]=i),u[a]=i,H[a]&&(i=null===i?e._parent&&e._parent._fullSettings[a]||i:i),r!==i&&e.processAttr(c,a,i,h));e._applyTransformation(h),e.css(h.style);for(var p=0;p<e._children.length;p++)l=e._children[p],l!==e._clipRect&&l.attr(o(s(e._fullSettings),l._settings),!0),l._applyStyleSheet();return!n&&e._applyStyleSheet(),c&&(c.strokecolor&&"none"!==c.strokecolor.value&&c.strokeweight?c.stroked="t":c.stroked="f"),e}function u(e,t,n){for(var i=e.element,o=d(e,t,n),a=0;a<i.childNodes.length;a++)i.childNodes[a].xmlns=V,i.childNodes[a].style.behavior="url(#default#VML)",i.childNodes[a].style.display="inline-block";return o}function h(e,t,n,i){switch(t){case"stroke":n=n||"none",t+="color";break;case"fill":n=n||"none",e.filled="none"===n?"f":"t",t+="color";break;case R:t="strokeweight",n+="px";break;case"stroke-linejoin":return void(e.stroke.joinstyle=n);case"stroke-linecap":return void(e.stroke.endcap="butt"===n?"flat":n);case"opacity":return n=p(n),e.fill.opacity=n,void(e.stroke.opacity=n);case"fill-opacity":return void(e.fill.opacity=p(n));case"stroke-opacity":return void(e.stroke.opacity=p(n));case"dashStyle":return void(null===n?e.stroke[t]="":(n=M(n),n="solid"===n||"none"===n?"":n.replace(/longdash/g,"8,3,").replace(/dash/g,"4,3,").replace(/dot/g,"1,3,").replace(/,$/,""),e.stroke[t]=n));case"d":t="path",n=M(n).replace("z","x e").replace(/([.]\d+)/g,"");break;case"href":t="src";break;case"width":case"height":case"visibility":return void(i.style[t]=n||"");case"class":t+="Name";break;case"translateX":case"translateY":case"rotate":case"rotateX":case"rotateY":case"scale":case"scaleX":case"scaleY":case"x":case"y":return}e[t]=n}function p(e){return e>=.002?e:null===e?1:.002}function f(e){var t=document.createElement(e);return P.appendChild(t)}function _(e,t,n,i){if(!H[t])if("visibility"===t)i.style[t]=n||"";else if("width"===t||"height"===t)i.style[t]=n;else if("clipId"===t)this.applyClipID(n);else{if("translateX"===t||"translateY"===t||"x"===t||"y"===t)return;"class"===t?e.className=n:e[t]=n}}function g(e){var t=[{commonLength:0,parts:[]}],n=0;return B(e.childNodes||[],function(e,i){if("BR"!==i.nodeName){var o=t[n].commonLength,a=w(i).text();t[n].parts.push({span:i,startIndex:o?o+1:0,endIndex:o+a.length}),t[n].commonLength+=a.length}else t.push({commonLength:0,parts:[]}),n++}),t}function m(e,t){var n=w(e.span).text().substr(0,t)+"...";"#text"===e.span.nodeName?e.span.data=n:e.span.innerHTML=n}function v(e){e.span.parentNode.removeChild(e.span)}function x(){y.SvgRenderer.apply(this,arguments)}var w=n(1),y=n(258),b=n(2),C=document,k=Math,S=k.min,T=k.max,I=k.floor,D=k.sin,E=k.cos,A=b.isDefined,B=w.each,M=n(7).normalizeEnum,O=y.SvgElement.prototype,P=C.createDocumentFragment(),R="stroke-width",V="urn:schemas-microsoft-com:vml",F={behavior:"url(#default#VML)",display:"inline-block",position:"absolute"},L={xmlns:V},H={stroke:!0,fill:!0,opacity:!0,"stroke-width":!0,align:!0,dashStyle:!0,"stroke-opacity":!0,"fill-opacity":!0,rotate:!0,rotateX:!0,rotateY:!0},z=function(){},N=function(){return this},W={circle:"oval",g:"div",path:"shape",text:"span"},G=.775,$={scaleX:1,scaleY:1},q=y._createPathAttr(u),j=y._createArcAttr(u,r),U=y._createRectAttr(u),K=y._getEllipsis(g,m,v),Y=function(){this.ctor.apply(this,arguments)},X={div:{processAttr:_,attr:function(e,t){return d(this,e,t)},_applyTransformation:function(e){var t=e.style,n=this._settings,i=this._fullSettings;i.rotate&&(i.rotateX=i.rotateX||0,i.rotateY=i.rotateY||0),t.left=(n.x||0)+(n.translateX||0),t.top=(n.y||0)+(n.translateY||0)},_getBBox:function(){var e,t,n,i,o,a=1/0,r=1/0,s=-(1/0),l=-(1/0),c=0,d=this._children;if(d.length)for(;c<d.length;c++)e=d[c],e!==this._clipRect&&(t=e._fullSettings.translateX||0,n=e._fullSettings.translateY||0,o=e._fullSettings,i=e._getBBox(),a=S(a,i.left+t),s=T(s,i.right+t),r=S(r,i.top+n),l=T(l,i.bottom+n));else a=r=l=s=0;return{left:a,right:s,top:r,bottom:l}},defaultAttrs:{},defaultStyle:{position:"absolute"}},shape:{defaultAttrs:o({coordsize:"1,1","stroke-linejoin":"miter"},L),defaultStyle:o({width:1,height:1},F),_getBBox:c},image:{processAttr:function(e,t,n,i){"fill"!==t&&"stroke"!==t&&h(e,t,n,i)}},oval:{processAttr:function(e,t,n,i){if("cx"===t||"cy"===t)t=t[1];else if("r"===t)n*=2,h(e,"width",n,i),t="height";else if("x"===t||"y"===t)return;h(e,t,n,i)},_getBBox:function(){var e=this._fullSettings,t=e.cx||0,n=e.cy||0,i=e.r||0;return l({left:t-i,top:n-i,right:t+i,bottom:n+i},e[R]||1)}},span:{defaultAttrs:{},defaultStyle:{position:"absolute",whiteSpace:"nowrap"},processAttr:function(e,t,n,i){"text"===t?(n=A(n)?n.toString().replace(/\r/g,""):"",this.renderer.encodeHtml&&(n=n.replace(/</g,"&lt;").replace(/>/g,"&gt;")),e.innerHTML=n.replace(/\n/g,"<br/>"),this.css({filter:""}),this._bbox=null):_(e,t,n,i)},attr:function(e,t){return d(this,e,t)},applyEllipsis:K,_applyTransformation:function(e){this.element.offsetHeight;var t,n=this,i=e.style,o=n._fullSettings,a=A(o.x)?o.x:0,r=A(o.y)?o.y:0,s=n._bbox||n.element.getBoundingClientRect(),l=s.bottom-s.top,c=s.right-s.left,d=o.rotate,u=1,h=0,p=A(o.rotateX)?o.rotateX:a,f=A(o.rotateY)?o.rotateY:r,_=0,g=0,m=l*G,v="",x={center:.5,right:1}[o.align],w=this._styles.opacity||o.opacity||o["fill-opacity"];l&&c&&(d&&(t=d*Math.PI/180,u=E(t),h=D(t),_=(a-p)*u-(r-f)*h+p-a,g=(a-p)*h+(r-f)*u+f-r,v="progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11 = "+u.toFixed(5)+", M12 = "+(-h).toFixed(5)+", M21 = "+h.toFixed(5)+", M22 = "+u.toFixed(5)+")"),90>d?(g-=m*u,_-=(l-m)*h):180>d?(g+=(l-m)*u,_+=c*u-(l-m)*h):270>d?(g+=(l-m)*u+c*h,_+=c*u+m*h):(g+=c*h-m*u,_+=m*h),d&&this.renderer.rtl&&(_-=c-(l*Math.abs(h)+c*Math.abs(u))),x&&(_-=c*x*u,g-=c*x*h),A(w)&&(v+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+100*w+")"),a+=_,r+=g,this._bbox=s,i.filter=(i.filter||"")+v,i.left=a+(o.translateX||0),i.top=r+(o.translateY||0))},_getBBox:function(){var e=this.element,t=this._fullSettings,n=(e.parentNode&&e.parentNode.getBoundingClientRect?e.parentNode:this.renderer.root.element).getBoundingClientRect(),i=e.getBoundingClientRect(),o=i.left-(t.translateX||0)-n.left,a=i.top-(t.translateY||0)-n.top;return{left:o,top:a,right:o+e.offsetWidth,bottom:a+e.offsetHeight}}}};o(Y.prototype,O),o(Y.prototype,{defaultStyle:F,defaultAttrs:L,ctor:function(e,t,n){var i=this,a="<";i.renderer=e,i.type=n||"line",i._children=[],i._settings={},i._fullSettings={},i._styles={},"div"!==t&&"span"!==t&&(a="<vml:"),"shape"===t?"arc"===i.type?i.attr=j:i.attr=q:"rect"===t&&(i.attr=U),o(i,X[t]),i.element=f(a+t+"/>"),i.css(i.defaultStyle).attr(i.defaultAttrs),i._$element=w(i.element)},dispose:function(){return this.remove(),this._$element.remove(),this},attr:function(e,t){return u(this,e,t)},processAttr:h,css:function(e){var t,n,i,o=this.element;for(i in e)if(n=this._styles[i],t=e[i],A(t)&&(this._styles[i]=t,n!==t)){switch(i){case"fill":i="color";break;case"font-size":i="fontSize","number"==typeof t&&(t+="px");break;case"font-weight":i="fontWeight";break;case"z-index":i="zIndex";break;case"opacity":continue}try{o.style[i]=t}catch(e){continue}}return this},applyClipID:function(e){var t,n,i=this.renderer;t=i.getClipRect(e),t?(n=t.getValue(),t.addElement(this)):n="rect(-9999px 9999px 9999px -9999px)",this._clipRect=this._clipRect||i.rect(0,0,0,0).attr({"class":"dxc-vml-clip",fill:"none",opacity:.001}),this._clipRect.attr({width:i.root.attr("width"),height:i.root.attr("height")}),this.css({clip:n,width:i.root.attr("width"),height:i.root.attr("height")})},_onAppended:function(e){var t=this;e._children&&(t._parent=e,-1===a(e._children,t)&&e._children.push(t),t.attr(o(s(e._fullSettings),t._settings),!0)),t._applyStyleSheet(),e._clipRect&&t!==e._clipRect&&e._clipRect.append(e)},append:function(e){return O.append.apply(this,arguments),this._onAppended(e||this.renderer.root),this},_insert:function(e){O._insert.apply(this,arguments),this._onAppended(e)},_applyTransformation:function(e){var t=this,n=e.style,i=t.element,o=t._fullSettings,a="arc"!==t.type?o.x||o.cx-o.r||0:0,r="arc"!==t.type?o.y||o.cy-o.r||0:0;if(o.rotate){var s=o.rotate*Math.PI/180,l=A(o.rotateX)?o.rotateX:a,c=A(o.rotateY)?o.rotateY:r,d=a+(o.width||0||parseInt(i.style.width||0))/2,u=r+(o.height||0||parseInt(i.style.height||0))/2,h=E(s),p=D(s),f=(d-l)*h-(u-c)*p+l-d,_=(d-l)*p+(u-c)*h+c-u;a+=f,r+=_,n.rotation=o.rotate}n.left=a+(o.translateX||0),n.top=r+(o.translateY||0)},remove:function(){var e=this._parent;return e&&e._children.splice(a(e._children,this),1),this._parent=null,O.remove.apply(this,arguments)},clear:function(){return this._children=[],O.clear.apply(this,arguments)},getBBox:function(){var e=this._getBBox(),t=e.left,n=e.top,i=e.right-t,o=e.bottom-n;return{x:t,y:n,width:i,height:o,isEmpty:!(t||n||i||o)}},_getBBox:function(){var e=this.element,t=this._fullSettings,n=t.x||0,i=t.y||0,o=parseInt(e.style.width||0),a=parseInt(e.style.height||0);return l({left:n,top:i,right:n+o,bottom:i+a},t[R]||1)},_applyStyleSheet:function(){this._useCSSTheme&&this.attr(s(this.element.currentStyle),!0)},setTitle:function(e){this.element.setAttribute("title",e)}});var Q=function(){this.ctor.apply(this,arguments)};o(Q.prototype,Y.prototype),o(Q.prototype,{ctor:function(e,t){this._settings=this._fullSettings={},this.renderer=e,this._children=[],this._elements=[],this.id=t},attr:function(e,t){var n,i,o=d(this,e,t),a=this._elements.slice();if(o===this)for(i=0;i<a.length;i++)n=a[i],n._fullSettings.clipId===this.id?a[i].applyClipID(this.id):this.removeElement(n);return o},processAttr:z,_applyTransformation:z,append:N,dispose:function(){return this._elements=null,this.renderer.removeClipRect(this.id),this},addElement:function(e){var t=this._elements;-1===a(t,e)&&t.push(e)},removeElement:function(e){var t=a(this._elements,e);t>-1&&this._elements.splice(t,1)},getValue:function(){var e=this._settings,t=(e.x||0)+(e.translateX||0),n=(e.y||0)+(e.translateY||0);return"rect("+n+"px, "+(t+(e.width||0))+"px, "+(n+(e.height||0))+"px, "+t+"px)"},css:N,remove:N}),o(x.prototype,y.SvgRenderer.prototype),o(x.prototype,{constructor:x,_rootTag:"div",_rootAttr:{fill:"none",stroke:"none","stroke-width":0},_rootCss:{position:"relative",display:"inline-block",overflow:"hidden"},_init:function(){this._clipRects=[],this._animationController={dispose:N},this._animation={enabled:!1},this._defs={clear:N,remove:N,append:N,dispose:N}},setOptions:function(){return y.SvgRenderer.prototype.setOptions.apply(this,arguments),this.root.css({direction:this.rtl?"rtl":"ltr"}),this},_createElement:function(e,n,i){e=W[e]||e;var o=new t.VmlElement(this,e,i);return n&&o.attr(n),o},shadowFilter:function(){return{ref:null,append:N,dispose:N,attr:N,css:N}},clipRect:function(e,t,n,i){var o=this._clipRects,a=o.length,r=new Q(this,a).attr({x:e||0,y:t||0,width:n||0,height:i||0});return o.push(r),r},getClipRect:function(e){return this._clipRects[e]},removeClipRect:function(e){delete this._clipRects[e]},pattern:function(e){return{id:e,append:N,remove:N,dispose:N}},image:function(e,t,n,i,o,a){var r=this._createElement("image",{x:e||0,y:t||0,width:n||0,height:i||0,location:a,href:o});return r},rect:function(e,t,n,i){return this._createElement("rect",{x:e||0,y:t||0,width:n||0,height:i||0})},path:function(e,t){return this._createElement("path",{points:e||[]},t)},arc:function(e,t,n,i,o,a){return this._createElement("path",{x:e||0,y:t||0,innerRadius:n||0,outerRadius:i||0,startAngle:o||0,endAngle:a||0},"arc")},text:function(e,t,n){return this._createElement("text",{text:e,x:t||0,y:n||0})},updateAnimationOptions:N,stopAllAnimations:N,svg:function(){return""},onEndAnimation:function(e){e()}}),t.VmlRenderer=x,t.VmlElement=Y}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(68),a=o.registerTheme,r=o.registerThemeSchemeAlias,s="#000000",l="#ffffff",c="win10.white",d="win10.black",u="win8.white",h="win8.black";a({name:d,backgroundColor:s,primaryTitleColor:l,secondaryTitleColor:"#d8d8d8",axisColor:"#4c4c4c",axisLabelColor:l,title:{font:{color:l}},legend:{font:{color:l}},tooltip:{color:s,font:{color:l}},"chart:common":{commonSeriesSettings:{label:{border:{color:"#454545"}}}},chart:{commonPaneSettings:{border:{color:"#454545"}}},pieIE8:{commonSeriesSettings:{pie:{hoverStyle:{border:{color:s}},selectionStyle:{border:{color:s}}},donut:{hoverStyle:{border:{color:s}},selectionStyle:{border:{color:s}}},doughnut:{hoverStyle:{border:{color:s}},selectionStyle:{border:{color:s}}}}},barGauge:{backgroundColor:"#2b3036"},rangeSelector:{scale:{tick:{color:l,opacity:.23},minorTick:{color:l,opacity:.07}}}},"generic.dark"),a({name:c,backgroundColor:l,primaryTitleColor:s,secondaryTitleColor:"#767676",axisColor:"#ececec",axisLabelColor:s,title:{font:{color:s}},legend:{font:{color:s}},tooltip:{font:{color:s}},rangeSelector:{scale:{tick:{color:s,opacity:.1},minorTick:{color:s,opacity:.03}}}},"generic.light"),r("win10.dark",d),r("win10.light",c),a({name:h},d),a({name:u},c),r("win8.dark",h),r("win8.light",u)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(130)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){e.startAngle=n>t?t:n,e.endAngle=n>t?n:t}function a(e,t){return s(e-t)<1e-4}var r=Math.PI/180,s=Math.abs,l=Math.round,c=Math.floor,d=Math.min,u=Math.max,h=n(1),p=n(3),f=n(30),_=n(2),g=n(131),m=g.dxBaseGauge,v=g.getSampleText,x=g.formatValue,w=g.compareArrays,y=n(335),b=n(115).BaseThemeManager,C=_.isArray,k=n(7),S=k.convertAngleToRendererSpace,T=k.getCosAndSin,I=k.patchFontOptions,D=Number,E=isFinite,A=h.noop,B=h.extend,M="values",O=m.inherit({_rootClass:"dxbg-bar-gauge",_initCore:function(){var e=this;e.callBase.apply(e,arguments),e._barsGroup=e._renderer.g().attr({"class":"dxbg-bars"}).linkOn(e._renderer.root,"bars"),e._values=[],e._context={renderer:e._renderer,translator:e._translator,tracker:e._tracker,group:e._barsGroup},e._animateStep=function(t){var n,i,o=e._bars;for(n=0,i=o.length;i>n;++n)o[n].animate(t)},e._animateComplete=function(){var t,n,i=e._bars;for(t=0,n=i.length;n>t;++t)i[t].endAnimation()}},_disposeCore:function(){var e=this;e._barsGroup.linkOff(),e._barsGroup=e._values=e._context=e._animateStep=e._animateComplete=null,e.callBase.apply(e,arguments)},_setupDomainCore:function(){var e=this,t=e.option("startValue"),n=e.option("endValue");E(t)||(t=0),E(n)||(n=100),e._translator.setDomain(t,n),e._baseValue=e._translator.adjust(e.option("baseValue")),E(e._baseValue)||(e._baseValue=n>t?t:n)},_getDefaultSize:function(){return{width:300,height:300}},_setupCodomain:y.prototype._setupCodomain,_getApproximateScreenRange:function(){var e=this,t=e._area.sides,n=e._canvas.width/(t.right-t.left),i=e._canvas.height/(t.down-t.up),o=i>n?n:i;return-e._translator.getCodomainRange()*o*r},_setupAnimationSettings:function(){var e=this;e.callBase.apply(e,arguments),e._animationSettings&&(e._animationSettings.step=e._animateStep,e._animationSettings.complete=e._animateComplete)},_cleanContent:function(){var e,t,n=this;for(n._barsGroup.linkRemove(),n._animationSettings&&n._barsGroup.stopAnimation(),e=0,t=n._bars?n._bars.length:0;t>e;++e)n._bars[e].dispose();n._palette=n._bars=null},_renderContent:function(){var e,t,n=this,i=n.option("label"),o=n._context;n._barsGroup.linkAppend(),o.textEnabled=void 0===i||i&&(!("visible"in i)||i.visible),o.textEnabled&&(o.textColor=i&&i.font&&i.font.color||null,i=B(!0,{},n._themeManager.theme().label,i),o.formatOptions={format:void 0!==i.format?i.format:n._defaultFormatOptions,precision:i.precision,customizeText:i.customizeText},o.textOptions={align:"center"},o.fontStyles=I(B({},n._themeManager.theme().label.font,i.font,{color:null})),n._textIndent=i.indent>0?D(i.indent):0,o.lineWidth=i.connectorWidth>0?D(i.connectorWidth):0,o.lineColor=i.connectorColor||null,e=n._renderer.text(v(n._translator,o.formatOptions),0,0).attr(o.textOptions).css(o.fontStyles).append(n._barsGroup),t=e.getBBox(),e.remove(),o.textVerticalOffset=-t.y-t.height/2,o.textWidth=t.width,o.textHeight=t.height),y.prototype._applyMainLayout.call(n),n._renderBars()},_measureMainElements:function(){var e={maxRadius:this._area.radius};return this._context.textEnabled&&(e.horizontalMargin=this._context.textWidth,e.verticalMargin=this._context.textHeight),e},_renderBars:function(){var e,t,n=this,i=B({},n._themeManager.theme(),n.option()),o=n._area;n._palette=n._themeManager.createPalette(i.palette,{useHighlight:!0}),e=i.relativeInnerRadius>0&&i.relativeInnerRadius<1?D(i.relativeInnerRadius):.1,t=o.radius,n._context.textEnabled&&(n._textIndent=l(d(n._textIndent,t/2)),t-=n._textIndent),n._outerRadius=c(t),n._innerRadius=c(t*e),n._barSpacing=i.barSpacing>0?D(i.barSpacing):0,B(n._context,{backgroundColor:i.backgroundColor,x:o.x,y:o.y,startAngle:o.startCoord,endAngle:o.endCoord,baseAngle:n._translator.translate(n._baseValue)}),n._bars=[],n._updateValues(n.option(M))},_arrangeBars:function(e){var t,n,i,o,a=this,r=a._outerRadius-a._innerRadius,s=a._context;for(s.barSize=e>0?u((r-(e-1)*a._barSpacing)/e,1):0,t=e>1?u(d((r-e*s.barSize)/(e-1),a._barSpacing),0):0,n=d(c((r+t)/s.barSize),e),a._setBarsCount(n),r=a._outerRadius,s.textRadius=r+a._textIndent,a._palette.reset(),i=s.barSize+t,o=0;n>o;++o,r-=i)a._bars[o].arrange({radius:r,color:a._palette.getNextColor()})},_setBarsCount:function(e){var t,n,i=this;if(i._bars.length>e){for(t=e,n=i._bars.length;n>t;++t)i._bars[t].dispose();i._bars.splice(e,n-e)}else if(i._bars.length<e)for(t=i._bars.length,n=e;n>t;++t)i._bars.push(new P(t,i._context));i._bars.length>0?i._dummyBackground&&(i._dummyBackground.dispose(),i._dummyBackground=null):(i._dummyBackground||(i._dummyBackground=i._renderer.arc().attr({"stroke-linejoin":"round"}).append(i._barsGroup)),i._dummyBackground.attr({x:i._context.x,y:i._context.y,outerRadius:i._outerRadius,innerRadius:i._innerRadius,startAngle:i._context.endAngle,endAngle:i._context.startAngle,fill:i._context.backgroundColor}))},_updateBars:function(e){var t,n,i=this;for(t=0,n=i._bars.length;n>t;++t)i._bars[t].setValue(e[t])},_animateBars:function(e){var t,n=this,i=n._bars.length;if(i>0){for(t=0;i>t;++t)n._bars[t].beginAnimation(e[t]);n._barsGroup.animate({_:0},n._animationSettings)}},_updateValues:function(e){var t,n,i=this,o=C(e)&&e||E(e)&&[e]||[],a=o.length,r=[];for(i._values.length=a,t=0;a>t;++t)n=o[t],i._values[t]=n=D(E(n)?n:i._values[t]),E(n)&&r.push(n);i._animationSettings&&i._barsGroup.stopAnimation(),i._beginValueChanging(),i._bars&&(i._arrangeBars(r.length),i._animationSettings&&!i._noAnimation?i._animateBars(r):i._updateBars(r)),i._resizing||w(i._values,i.option(M))||i.option(M,i._values),i._endValueChanging()},values:function(e){return void 0!==e?(this._updateValues(e),this):this._values.slice(0)},_optionChangesMap:{backgroundColor:"MOSTLY_TOTAL",relativeInnerRadius:"MOSTLY_TOTAL",barSpacing:"MOSTLY_TOTAL",label:"MOSTLY_TOTAL",palette:"MOSTLY_TOTAL",values:"VALUES"},_customChangesOrder:["VALUES"],_change_VALUES:function(){this._updateValues(this.option(M))},_factory:f.clone(m.prototype._factory)}),P=function(e,t){var n=this;n._context=t,n._background=t.renderer.arc().attr({"stroke-linejoin":"round",fill:t.backgroundColor}).append(t.group),n._bar=t.renderer.arc().attr({"stroke-linejoin":"round"}).append(t.group),t.textEnabled&&(n._line=t.renderer.path([],"line").attr({"stroke-width":t.lineWidth}).append(t.group),n._text=t.renderer.text().css(t.fontStyles).attr(t.textOptions).append(t.group)),n._tracker=t.renderer.arc().attr({"stroke-linejoin":"round"}),t.tracker.attach(n._tracker,n,{index:e}),n._index=e,n._angle=t.baseAngle,n._settings={x:t.x,y:t.y,startAngle:t.baseAngle,endAngle:t.baseAngle}};B(P.prototype,{dispose:function(){var e=this;return e._background.dispose(),e._bar.dispose(),e._context.textEnabled&&(e._line.dispose(),e._text.dispose()),e._context.tracker.detach(e._tracker),e._context=e._settings=e._background=e._bar=e._line=e._text=e._tracker=null,e},arrange:function(e){var t=this,n=t._context;return t._settings.outerRadius=e.radius,t._settings.innerRadius=e.radius-n.barSize,t._background.attr(B({},t._settings,{startAngle:n.endAngle,endAngle:n.startAngle})),t._bar.attr(t._settings),t._tracker.attr(t._settings),t._color=e.color,t._bar.attr({fill:e.color}),n.textEnabled&&(t._line.attr({points:[n.x,n.y-t._settings.innerRadius,n.x,n.y-n.textRadius],stroke:n.lineColor||e.color}).sharp(),t._text.css({fill:n.textColor||e.color})),t},getTooltipParameters:function(){var e=this,t=T((e._angle+e._context.baseAngle)/2);return{x:l(e._context.x+(e._settings.outerRadius+e._settings.innerRadius)/2*t.cos),y:l(e._context.y-(e._settings.outerRadius+e._settings.innerRadius)/2*t.sin),offset:0,color:e._color,value:e._value}},setAngle:function(e){var t,n=this;return n._angle=e,o(n._settings,n._context.baseAngle,n._angle),n._bar.attr(n._settings),n._tracker.attr(n._settings),n._context.textEnabled&&(n._line.rotate(S(n._angle),n._context.x,n._context.y),t=T(n._angle),n._text.attr({text:x(n._value,n._context.formatOptions,{index:n._index}),x:n._context.x+(n._context.textRadius+.6*n._context.textWidth)*t.cos,y:n._context.y-(n._context.textRadius+.6*n._context.textHeight)*t.sin+n._context.textVerticalOffset})),n},_processValue:function(e){return this._value=this._context.translator.adjust(e),this._context.translator.translate(this._value)},setValue:function(e){return this.setAngle(this._processValue(e))},beginAnimation:function(e){var t=this,n=this._processValue(e);a(t._angle,n)?(t.animate=A,t.setAngle(t._angle)):(t._start=t._angle,t._delta=n-t._angle,t._tracker.attr({visibility:"hidden"}),t._context.textEnabled&&(t._line.attr({visibility:"hidden"}),t._text.attr({visibility:"hidden"})))},animate:function(e){var t=this;t._angle=t._start+t._delta*e,o(t._settings,t._context.baseAngle,t._angle),t._bar.attr(t._settings)},endAnimation:function(){var e=this;void 0!==e._delta?a(e._angle,e._start+e._delta)&&(e._tracker.attr({visibility:null}),e._context.textEnabled&&(e._line.attr({visibility:null}),e._text.attr({visibility:null})),e.setAngle(e._angle)):delete e.animate,delete e._start,delete e._delta}}),O.prototype._factory.ThemeManager=b.inherit({_themeSection:"barGauge",_fontFields:["label.font","title.font","tooltip.font","loadingIndicator.font"]}),p("dxBarGauge",O),t.dxBarGauge=O}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(259),a=o.BaseIndicator,r=o.BaseTextCloudMarker,s=o.BaseRangeBar,l=n(7),c=Number,d=l.getCosAndSin,u=l.convertAngleToRendererSpace,h=a.inherit({_move:function(){var e=this,t=e._options,n=u(e._actualPosition);e._rootElement.rotate(n,t.x,t.y),e._trackerElement&&e._trackerElement.rotate(n,t.x,t.y)},_isEnabled:function(){return this._options.width>0},_isVisible:function(e){return e.radius-c(this._options.indentFromCenter)>0},_getTrackerSettings:function(){var e=this._options,t=e.x,n=e.y-(e.radius+c(e.indentFromCenter))/2,i=e.width/2,o=(e.radius-c(e.indentFromCenter))/2;return i>10||(i=10),o>10||(o=10),{points:[t-i,n-o,t-i,n+o,t+i,n+o,t+i,n-o]}},_renderSpindle:function(){var e,t=this,n=t._options;n.spindleSize>0&&(e=c(n.spindleGapSize)||0,e>0&&(e=e<=n.spindleSize?e:c(n.spindleSize)),t._spindleOuter=t._spindleOuter||t._renderer.circle().append(t._rootElement),t._spindleInner=t._spindleInner||t._renderer.circle().append(t._rootElement),t._spindleOuter.attr({"class":"dxg-spindle-border",cx:n.x,cy:n.y,r:n.spindleSize/2}),t._spindleInner.attr({"class":"dxg-spindle-hole",cx:n.x,cy:n.y,r:e/2,fill:n.containerBackgroundColor}))},_render:function(){var e=this;e._renderPointer(),e._renderSpindle()},_clearSpindle:function(){delete this._spindleOuter,delete this._spindleInner},_clearPointer:function(){delete this._element},_clear:function(){this._clearPointer(),this._clearSpindle()},measure:function(e){var t={max:e.radius};return this._options.indentFromCenter<0&&(t.inverseHorizontalOffset=t.inverseVerticalOffset=-c(this._options.indentFromCenter)),t},getTooltipParameters:function(){var e=this._options,t=d(this._actualPosition),n=(e.radius+c(e.indentFromCenter))/2;return{x:e.x+t.cos*n,y:e.y-t.sin*n,value:this._currentValue,color:e.color,offset:e.width/2}}}),p=h.inherit({_renderPointer:function(){var e=this,t=e._options,n=t.y-t.radius,i=t.y-c(t.indentFromCenter),o=t.x-t.width/2,a=o+c(t.width);e._element=e._element||e._renderer.path([],"area").append(e._rootElement),e._element.attr({points:[o,i,o,n,a,n,a,i]})}}),f=h.inherit({_renderPointer:function(){var e=this,t=e._options,n=t.y-t.radius,i=t.y-c(t.indentFromCenter),o=t.x-t.width/2,a=t.x+t.width/2;e._element=e._element||e._renderer.path([],"area").append(e._rootElement),e._element.attr({points:[o,i,t.x,n,a,i]})}}),_=h.inherit({_renderPointer:function(){var e,t,n=this,i=n._options,o=i.x-i.width/2,a=i.x+i.width/2,r=i.y-i.radius,s=i.y-c(i.indentFromCenter),l=c(i.secondFraction)||0;l>=1?e=t=s:0>=l?e=t=r:(t=r+(s-r)*l,e=t+c(i.space)),n._firstElement=n._firstElement||n._renderer.path([],"area").append(n._rootElement),n._spaceElement=n._spaceElement||n._renderer.path([],"area").append(n._rootElement),n._secondElement=n._secondElement||n._renderer.path([],"area").append(n._rootElement),n._firstElement.attr({points:[o,s,o,e,a,e,a,s]}),n._spaceElement.attr({points:[o,e,o,t,a,t,a,e],"class":"dxg-hole",fill:i.containerBackgroundColor}),n._secondElement.attr({points:[o,t,o,r,a,r,a,t],"class":"dxg-part",fill:i.secondColor})},_clearPointer:function(){delete this._firstElement,delete this._secondElement,delete this._spaceElement}}),g=h.inherit({_isEnabled:function(){return this._options.length>0&&this._options.width>0},_isVisible:function(e){return e.radius>0},_render:function(){var e,t=this,n=t._options,i=n.x,o=n.y-n.radius,a=n.width/2||0,r=o-c(n.length);t._element=t._element||t._renderer.path([],"area").append(t._rootElement),e={points:[i,o,i-a,r,i+a,r],stroke:"none","stroke-width":0,"stroke-linecap":"square"},n.space>0&&(e["stroke-width"]=Math.min(n.space,n.width/4)||0,e.stroke=e["stroke-width"]>0?n.containerBackgroundColor||"none":"none"),t._element.attr(e).sharp()},_clear:function(){delete this._element},_getTrackerSettings:function(){var e=this._options,t=e.x,n=e.y-e.radius-e.length/2,i=e.width/2,o=e.length/2;return i>10||(i=10),o>10||(o=10),{points:[t-i,n-o,t-i,n+o,t+i,n+o,t+i,n-o]}},measure:function(e){return{min:e.radius,max:e.radius+c(this._options.length)}},getTooltipParameters:function(){var e=this._options,t=d(this._actualPosition),n=e.radius+e.length/2,i=this.callBase();return i.x=e.x+t.cos*n,i.y=e.y-t.sin*n,i.offset=e.length/2,i}}),m=r.inherit({_isEnabled:function(){return!0},_isVisible:function(e){return e.radius>0},_getTextCloudOptions:function(){var e=this,t=d(e._actualPosition),n=l.normalizeAngle(e._actualPosition);return{x:e._options.x+t.cos*e._options.radius,y:e._options.y-t.sin*e._options.radius,type:n>270?"left-top":n>180?"top-right":n>90?"right-bottom":"bottom-left"}},measure:function(e){var t,n,i=this,o=c(i._options.arrowLength)||0;return i._measureText(),t=i._textFullHeight+o,n=i._textFullWidth+o,{min:e.radius,max:e.radius,horizontalOffset:n,verticalOffset:t,inverseHorizontalOffset:n,inverseVerticalOffset:t}}}),v=s.inherit({_isEnabled:function(){return this._options.size>0},_isVisible:function(e){return e.radius-c(this._options.size)>0},_createBarItem:function(){return this._renderer.arc().attr({"stroke-linejoin":"round"}).append(this._rootElement)},_createTracker:function(){return this._renderer.arc().attr({"stroke-linejoin":"round"
})},_setBarSides:function(){var e=this;e._maxSide=e._options.radius,e._minSide=e._maxSide-c(e._options.size)},_getSpace:function(){var e=this._options;return e.space>0?180*e.space/e.radius/Math.PI:0},_isTextVisible:function(){var e=this._options.text||{};return e.indent>0},_setTextItemsSides:function(){var e=this,t=e._options,n=c(t.text.indent);e._lineFrom=t.y-t.radius,e._lineTo=e._lineFrom-n,e._textRadius=t.radius+n},_getPositions:function(){var e,t,n=this,i=n._basePosition,o=n._actualPosition;return i>=o?(e=i,t=o):(e=o,t=i),{start:n._startPosition,end:n._endPosition,main1:e,main2:t,back1:Math.min(e+n._space,n._startPosition),back2:Math.max(t-n._space,n._endPosition)}},_buildItemSettings:function(e,t){var n=this;return{x:n._options.x,y:n._options.y,innerRadius:n._minSide,outerRadius:n._maxSide,startAngle:t,endAngle:e}},_updateTextPosition:function(){var e=this,t=d(e._actualPosition),n=e._options.x+e._textRadius*t.cos,i=e._options.y-e._textRadius*t.sin;n+=t.cos*e._textWidth*.6,i-=t.sin*e._textHeight*.6,e._text.attr({x:n,y:i+e._textVerticalOffset})},_updateLinePosition:function(){var e,t,n=this,i=n._options.x;n._basePosition>n._actualPosition?(e=i-2,t=i):n._basePosition<n._actualPosition?(e=i,t=i+2):(e=i-1,t=i+1),n._line.attr({points:[e,n._lineFrom,e,n._lineTo,t,n._lineTo,t,n._lineFrom]}).rotate(u(n._actualPosition),i,n._options.y).sharp()},_getTooltipPosition:function(){var e=this,t=d((e._basePosition+e._actualPosition)/2),n=(e._minSide+e._maxSide)/2;return{x:e._options.x+t.cos*n,y:e._options.y-t.sin*n}},measure:function(e){var t=this,n={min:e.radius-c(t._options.size),max:e.radius};return t._measureText(),t._hasText&&(n.max+=c(t._options.text.indent),n.horizontalOffset=t._textWidth,n.verticalOffset=t._textHeight),n}});t._default=p,t.rectangleneedle=p,t.triangleneedle=f,t.twocolorneedle=_,t.trianglemarker=g,t.textcloud=m,t.rangebar=v}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(334),a=Number,r=Math.max,s=n(7).normalizeEnum,l=o.inherit({_processOptions:function(){var e=this;switch(e._inner=e._outer=0,s(e._options.orientation)){case"inside":e._inner=1;break;case"center":e._inner=e._outer=.5;break;default:e._outer=1}},_isVisible:function(e){var t=this._options.width;return t=a(t)||r(a(t.start),a(t.end)),e.radius-this._inner*t>0},_createRange:function(e,t){var n=this,i=(e.startWidth+e.endWidth)/2;return n._renderer.arc(t.x,t.y,t.radius-n._inner*i,t.radius+n._outer*i,n._translator.translate(e.end),n._translator.translate(e.start)).attr({"stroke-linejoin":"round"})},measure:function(e){var t=this._options.width;return t=a(t)||r(a(t.start),a(t.end)),{min:e.radius-this._inner*t,max:e.radius+this._outer*t}}});i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i,o=a.extend({},e);return n=n||{},t&&(o.left+=n.left||0,o.right-=n.right||0,o.top+=n.top||0,o.bottom-=n.bottom||0,t.width>0&&(i=(o.right-o.left-t.width)/2,i>0&&(o.left+=i,o.right-=i)),t.height>0&&(i=(o.bottom-o.top-t.height)/2,i>0&&(o.top+=i,o.bottom-=i))),o}var a=n(1),r=Math.max,s=Math.min,l=Math.round,c=a.each,d=n(3),u=n(30),h=n(131).dxBaseGauge,p=n(218).dxGauge,f=n(7).normalizeEnum,_=n(119),g=n(528),m=n(218).createIndicatorCreator,v=n(529),x=n(336),w=p.inherit({_rootClass:"dxg-linear-gauge",_factoryMethods:{rangeContainer:"createLinearRangeContainer",indicator:"createLinearIndicator"},_gridSpacingFactor:25,_scaleTypes:{type:"xyAxes",drawingType:"linear"},_initScaleTranslator:function(e){var t=a.extend({},this._canvas);return{val:new _.Translator2D(e,t),arg:new _.Translator2D(e,t,{isHorizontal:!0})}},_getScaleTranslatorComponent:function(e){return this._scaleTranslator["arg"===e!==this._area.vertical?"arg":"val"]},_updateScaleAngles:a.noop,_getTicksOrientation:function(e){return e.isHorizontal?e.verticalOrientation:e.horizontalOrientation},_updateScaleTickIndent:function(e){var t,n,i,o=e.label.indentFromTick,a=e.tick.length,r=this._scale.measureLabels(),s=e.isHorizontal?r.height+r.y:0,l=o>0;e.isHorizontal?(t=l?{center:.5,middle:.5,top:0,bottom:1}:{center:.5,middle:.5,top:1,bottom:0},i=a*t[e.verticalOrientation],n=r.y):(t=l?{center:.5,left:0,right:1}:{center:.5,left:1,right:0},i=a*t[e.horizontalOrientation],n=-r.width),e.label.indentFromAxis=-o+(l?-i+n:i-s),this._scale.updateOptions(e)},_shiftScale:function(e,t){var n=this,i=a.extend({},n._canvas),o=t.isHorizontal,r=n._getScaleTranslatorComponent("arg"),s=n._getScaleTranslatorComponent("val"),l=n._scale;i[o?"left":"top"]=n._area[o?"startCoord":"endCoord"],i[o?"right":"bottom"]=i[o?"width":"height"]-n._area[o?"endCoord":"startCoord"],r.updateCanvas(i),s.updateCanvas(i),l.setTranslator(r,s),l.draw(),l.shift(e.x,e.y)},_setupCodomain:function(){var e=this,t=e.option("geometry")||{},n="vertical"===f(t.orientation);e._area={vertical:n,x:0,y:0,startCoord:-100,endCoord:100},e._rangeContainer.vertical=n},_getScaleLayoutValue:function(){return this._area[this._area.vertical?"x":"y"]},_getTicksCoefficients:function(e){var t={inner:0,outer:1};return this._area.vertical?"left"===e.horizontalOrientation?(t.inner=1,t.outer=0):"center"===e.horizontalOrientation&&(t.inner=t.outer=.5):"top"===e.verticalOrientation?(t.inner=1,t.outer=0):"center"!==e.verticalOrientation&&"middle"!==e.verticalOrientation||(t.inner=t.outer=.5),t},_correctScaleIndents:function(e,t,n){var i=this._area.vertical;t>=0?e.max+=t+n[i?"width":"height"]:e.min-=-t+n[i?"width":"height"],e.indent=n[i?"height":"width"]/2},_measureMainElements:function(e,t){var n=this,i=n._area.x,o=n._area.y,a=1e3,l=0,d=0,u=n._scale;return c(e.concat(u),function(e,n){var c=n.measure?n.measure({x:i+n.getOffset(),y:o+n.getOffset()}):t;void 0!==c.max&&(l=r(l,c.max)),void 0!==c.min&&(a=s(a,c.min)),c.indent>0&&(d=r(d,c.indent))}),{minBound:a,maxBound:l,indent:d}},_applyMainLayout:function(e,t){var n,i,a=this,r=a._measureMainElements(e,t),s=a._area;s.vertical?(n=o(a._innerRect,{width:r.maxBound-r.minBound}),i=(n.left+n.right)/2-(r.minBound+r.maxBound)/2,s.startCoord=n.bottom-r.indent,s.endCoord=n.top+r.indent,s.x=l(s.x+i)):(n=o(a._innerRect,{height:r.maxBound-r.minBound}),i=(n.top+n.bottom)/2-(r.minBound+r.maxBound)/2,s.startCoord=n.left+r.indent,s.endCoord=n.right-r.indent,s.y=l(s.y+i)),a._translator.setCodomain(s.startCoord,s.endCoord),a._innerRect=n},_getElementLayout:function(e){return{x:l(this._area.x+e),y:l(this._area.y+e)}},_getApproximateScreenRange:function(){var e=this,t=e._area,n=t.vertical?e._canvas.height:e._canvas.width;return n>t.totalSize&&(n=t.totalSize),n=.8*n},_getDefaultSize:function(){var e=this.option("geometry")||{};return"vertical"===e.orientation?{width:100,height:300}:{width:300,height:100}},_factory:u.clone(h.prototype._factory)}),y=w.prototype._factory.indicators={};w.prototype._factory.createIndicator=m(y),y._default=g._default,y.rectangle=g.rectangle,y.rhombus=g.rhombus,y.circle=g.circle,y.trianglemarker=g.trianglemarker,y.textcloud=g.textcloud,y.rangebar=g.rangebar,w.prototype._factory.RangeContainer=v,w.prototype._factory.ThemeManager=x.inherit({_subTheme:"_linear"}),d("dxLinearGauge",w),i.exports=w}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(259),a=o.BaseIndicator,r=o.BaseTextCloudMarker,s=o.BaseRangeBar,l=Number,c=n(7).normalizeEnum,d=a.inherit({_move:function(){var e=this,t=e._actualPosition-e._zeroPosition;e._rootElement.move(e.vertical?0:t,e.vertical?t:0),e._trackerElement&&e._trackerElement.move(e.vertical?0:t,e.vertical?t:0)},_isEnabled:function(){return this.vertical=this._options.vertical,this._options.length>0&&this._options.width>0},_isVisible:function(){return!0},_getTrackerSettings:function(){var e,t,n,i,o=this._options,a=o.width/2,r=o.length/2,s=this._zeroPosition;return a>10||(a=10),r>10||(r=10),this.vertical?(e=o.x-r,t=o.x+r,n=s+a,i=s-a):(e=s-a,t=s+a,n=o.y+r,i=o.y-r),{points:[e,n,e,i,t,i,t,n]}},_render:function(){var e=this;e._zeroPosition=e._translator.getCodomainStart()},_clear:function(){delete this._element},measure:function(e){var t=this.vertical?e.x:e.y;return{min:t-this._options.length/2,max:t+this._options.length/2}},getTooltipParameters:function(){var e=this,t=e._options,n=e._actualPosition,i={x:n,y:n,value:e._currentValue,color:t.color,offset:t.width/2};return e.vertical?i.x=t.x:i.y=t.y,i}}),u=d.inherit({_render:function(){var e,t,n,i,o,a=this,r=a._options;a.callBase(),e=a._zeroPosition,a.vertical?(t=r.x-r.length/2,n=r.x+r.length/2,i=e+r.width/2,o=e-r.width/2):(t=e-r.width/2,n=e+r.width/2,i=r.y+r.length/2,o=r.y-r.length/2),a._element=a._element||a._renderer.path([],"area").append(a._rootElement),a._element.attr({points:[t,i,t,o,n,o,n,i]})}}),h=d.inherit({_render:function(){var e,t,n,i,o=this,a=o._options;o.callBase(),o.vertical?(e=a.x,t=o._zeroPosition,n=a.length/2||0,i=a.width/2||0):(e=o._zeroPosition,t=a.y,n=a.width/2||0,i=a.length/2||0),o._element=o._element||o._renderer.path([],"area").append(o._rootElement),o._element.attr({points:[e-n,t,e,t-i,e+n,t,e,t+i]})}}),p=d.inherit({_render:function(){var e,t,n,i=this,o=i._options;i.callBase(),i.vertical?(e=o.x,t=i._zeroPosition):(e=i._zeroPosition,t=o.y),n=o.length/2||0,i._element=i._element||i._renderer.circle().append(i._rootElement),i._element.attr({cx:e,cy:t,r:n})}}),f=d.inherit({_isEnabled:function(){var e=this;return e.vertical=e._options.vertical,e._inverted=e.vertical?"right"===c(e._options.horizontalOrientation):"bottom"===c(e._options.verticalOrientation),e._options.length>0&&e._options.width>0},_isVisible:function(){return!0},_render:function(){var e,t,n,i,o=this,a=o._options,r={stroke:"none","stroke-width":0,"stroke-linecap":"square"};o.callBase(),o.vertical?(e=a.x,n=o._zeroPosition,t=e+l(o._inverted?a.length:-a.length),r.points=[e,n,t,n-a.width/2,t,n+a.width/2]):(n=a.y,e=o._zeroPosition,i=n+l(o._inverted?a.length:-a.length),r.points=[e,n,e-a.width/2,i,e+a.width/2,i]),a.space>0&&(r["stroke-width"]=Math.min(a.space,a.width/4)||0,r.stroke=r["stroke-width"]>0?a.containerBackgroundColor||"none":"none"),o._element=o._element||o._renderer.path([],"area").append(o._rootElement),o._element.attr(r).sharp()},_getTrackerSettings:function(){var e,t,n,i,o,a=this,r=a._options,s=r.width/2,c=l(r.length);return s>10||(s=10),c>20||(c=20),a.vertical?(e=t=r.x,t=e+(a._inverted?c:-c),n=a._zeroPosition+s,i=a._zeroPosition-s,o=[e,n,t,n,t,i,e,i]):(n=r.y,i=n+(a._inverted?c:-c),e=a._zeroPosition-s,t=a._zeroPosition+s,o=[e,n,e,i,t,i,t,n]),{points:o}},measure:function(e){var t,n,i=this,o=l(i._options.length);return i.vertical?(t=n=e.x,i._inverted?n=t+o:t=n-o):(t=n=e.y,i._inverted?n=t+o:t=n-o),{min:t,max:n,indent:i._options.width/2}},getTooltipParameters:function(){var e=this,t=e._options,n=(e._inverted?t.length:-t.length)/2,i=e.callBase();return e.vertical?i.x+=n:i.y+=n,i.offset=t.length/2,i}}),_=r.inherit({_isEnabled:function(){var e=this;return e.vertical=e._options.vertical,e._inverted=e.vertical?"right"===c(e._options.horizontalOrientation):"bottom"===c(e._options.verticalOrientation),!0},_isVisible:function(){return!0},_getTextCloudOptions:function(){var e,t=this,n=t._actualPosition,i=t._actualPosition;return t.vertical?(n=t._options.x,e=t._inverted?"top-left":"top-right"):(i=t._options.y,e=t._inverted?"right-top":"right-bottom"),{x:n,y:i,type:e}},measure:function(e){var t,n,i,o=this,a=l(o._options.arrowLength)||0;return o._measureText(),o.vertical?(i=o._textFullHeight,o._inverted?(t=e.x,n=e.x+a+o._textFullWidth):(t=e.x-a-o._textFullWidth,n=e.x)):(i=o._textFullWidth,o._inverted?(t=e.y,n=e.y+a+o._textFullHeight):(t=e.y-a-o._textFullHeight,n=e.y)),{min:t,max:n,indent:i}}}),g=s.inherit({_isEnabled:function(){var e=this;return e.vertical=e._options.vertical,e._inverted=e.vertical?"right"===c(e._options.horizontalOrientation):"bottom"===c(e._options.verticalOrientation),e._options.size>0},_isVisible:function(){return!0},_createBarItem:function(){return this._renderer.path([],"area").append(this._rootElement)},_createTracker:function(){return this._renderer.path([],"area")},_setBarSides:function(){var e,t,n=this,i=n._options,o=l(i.size);n.vertical?n._inverted?(e=i.x,t=i.x+o):(e=i.x-o,t=i.x):n._inverted?(e=i.y,t=i.y+o):(e=i.y-o,t=i.y),n._minSide=e,n._maxSide=t,n._minBound=e,n._maxBound=t},_getSpace:function(){var e=this._options;return e.space>0?l(e.space):0},_isTextVisible:function(){var e=this._options.text||{};return e.indent>0||e.indent<0},_getTextAlign:function(){return this.vertical?this._options.text.indent>0?"left":"right":"center"},_setTextItemsSides:function(){var e=this,t=l(e._options.text.indent);t>0?(e._lineStart=e._maxSide,e._lineEnd=e._maxSide+t,e._textPosition=e._lineEnd+(e.vertical?2:e._textHeight/2),e._maxBound=e._textPosition+(e.vertical?e._textWidth:e._textHeight/2)):0>t&&(e._lineStart=e._minSide,e._lineEnd=e._minSide+t,e._textPosition=e._lineEnd-(e.vertical?2:e._textHeight/2),e._minBound=e._textPosition-(e.vertical?e._textWidth:e._textHeight/2))},_getPositions:function(){var e,t,n,i,o=this,a=o._startPosition,r=o._endPosition,s=o._space,l=o._basePosition,c=o._actualPosition;return r>a?(c>l?(e=l,t=c):(e=c,t=l),n=e-s,i=t+s):(l>c?(e=l,t=c):(e=c,t=l),n=e+s,i=t-s),{start:a,end:r,main1:e,main2:t,back1:n,back2:i}},_buildItemSettings:function(e,t){var n=this,i=n._minSide,o=n._maxSide,a=n.vertical?[i,e,i,t,o,t,o,e]:[e,i,e,o,t,o,t,i];return{points:a}},_updateTextPosition:function(){var e=this;e._text.attr(e.vertical?{x:e._textPosition,y:e._actualPosition+e._textVerticalOffset}:{x:e._actualPosition,y:e._textPosition+e._textVerticalOffset})},_updateLinePosition:function(){var e,t,n,i=this,o=i._actualPosition;i.vertical?(i._basePosition>=o?(e=o,t=o+2):(e=o-2,t=o),n=[i._lineStart,e,i._lineStart,t,i._lineEnd,t,i._lineEnd,e]):(i._basePosition<=o?(e=o-2,t=o):(e=o,t=o+2),n=[e,i._lineStart,e,i._lineEnd,t,i._lineEnd,t,i._lineStart]),i._line.attr({points:n}).sharp()},_getTooltipPosition:function(){var e=this,t=(e._minSide+e._maxSide)/2,n=(e._basePosition+e._actualPosition)/2;return e.vertical?{x:t,y:n}:{x:n,y:t}},measure:function(e){var t,n,i,o=this,a=l(o._options.size),r=l(o._options.text.indent);return o._measureText(),o.vertical?(t=n=e.x,o._inverted?n+=a:t-=a,o._hasText&&(i=o._textHeight/2,r>0&&(n+=r+o._textWidth),0>r&&(t+=r-o._textWidth))):(t=n=e.y,o._inverted?n+=a:t-=a,o._hasText&&(i=o._textWidth/2,r>0&&(n+=r+o._textHeight),0>r&&(t+=r-o._textHeight))),{min:t,max:n,indent:i}}});t._default=g,t.rectangle=u,t.rhombus=h,t.circle=p,t.trianglemarker=f,t.textcloud=_,t.rangebar=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(334),a=Number,r=Math.max,s=n(7).normalizeEnum,l=o.inherit({_processOptions:function(){var e=this;if(e.vertical=e._options.vertical,e._inner=e._outer=0,e.vertical)switch(s(e._options.horizontalOrientation)){case"left":e._inner=1;break;case"center":e._inner=e._outer=.5;break;default:e._outer=1}else switch(s(e._options.verticalOrientation)){case"top":e._inner=1;break;case"center":case"middle":e._inner=e._outer=.5;break;default:e._outer=1}},_isVisible:function(){return!0},_createRange:function(e,t){var n,i=this,o=i._inner,a=i._outer,r=i._translator.translate(e.start),s=i._translator.translate(e.end),l=t.x,c=t.y,d=e.startWidth,u=e.endWidth;return n=i.vertical?[l-d*o,r,l-u*o,s,l+u*a,s,l+d*a,r]:[r,c+d*a,r,c-d*o,s,c-u*o,s,c+u*a],i._renderer.path(n,"area")},measure:function(e){var t,n={};return n.min=n.max=e[this.vertical?"x":"y"],t=this._options.width,t=a(t)||r(a(t.start),a(t.end)),n.min-=this._inner*t,n.max+=this._outer*t,n}});i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=e.data.tracker;t._x=e.pageX,t._y=e.pageY,t._element.off(y).on(y,e.data),t._showTooltip(e,_)}function a(e){var t=e.data.tracker;(t._showTooltipTimeout&&h(e.pageX-t._x)>4||h(e.pageY-t._y)>4)&&(t._x=e.pageX,t._y=e.pageY,t._showTooltip(e,_))}function r(e){var t=e.data.tracker;t._element.off(y),t._hideTooltip(g)}function s(e){e.data.tracker._hideTooltip()}function l(e){e.preventDefault();var t=k;t&&t!==e.data.tracker&&t._hideTooltip(v),t=k=e.data.tracker,t._showTooltip(e,m),t._touch=!0}function c(){var e=k;e&&(e._touch||(e._hideTooltip(v),k=null),e._touch=null)}function d(){var e=k;e&&e._showTooltipTimeout&&(e._hideTooltip(v),k=null)}var u=n(1),h=Math.abs,p=n(5),f=n(86),_=300,g=300,m=400,v=300,x=p.inherit({ctor:function(e){var t=this;t._element=e.renderer.g().attr({"class":"dxg-tracker",stroke:"none","stroke-width":0,fill:"#000000",opacity:1e-4}).linkOn(e.container,{name:"tracker",after:"peripheral"}),t._showTooltipCallback=function(){t._showTooltipTimeout=null;var e=t._tooltipEvent.target,n=e["gauge-data-target"],i=e["gauge-data-info"];t._targetEvent=null,t._tooltipTarget!==e&&t._callbacks["tooltip-show"](n,i)&&(t._tooltipTarget=e)},t._hideTooltipCallback=function(){t._hideTooltipTimeout=null,t._targetEvent=null,t._tooltipTarget&&(t._callbacks["tooltip-hide"](),t._tooltipTarget=null)},t._dispose=function(){clearTimeout(t._showTooltipTimeout),clearTimeout(t._hideTooltipTimeout),t._showTooltipCallback=t._hideTooltipCallback=t._dispose=null}},dispose:function(){var e=this;return e._dispose(),e.deactivate(),e._element.linkOff(),e._element=e._context=e._callbacks=null,e},activate:function(){return this._element.linkAppend(),this},deactivate:function(){return this._element.linkRemove().clear(),this},attach:function(e,t,n){return e.data({"gauge-data-target":t,"gauge-data-info":n}).append(this._element),this},detach:function(e){return e.remove(),this},setTooltipState:function(e){var t,n=this;return n._element.off(w).off(C).off(b),e&&(t={tracker:n},n._element.on(w,t).on(C,t).on(b,t)),n},setCallbacks:function(e){return this._callbacks=e,this},_showTooltip:function(e,t){var n=this;clearTimeout(n._hideTooltipTimeout),n._hideTooltipTimeout=null,n._tooltipTarget!==e.target&&(clearTimeout(n._showTooltipTimeout),n._tooltipEvent=e,n._showTooltipTimeout=setTimeout(n._showTooltipCallback,t))},_hideTooltip:function(e){var t=this;clearTimeout(t._showTooltipTimeout),t._showTooltipTimeout=null,clearTimeout(t._hideTooltipTimeout),e?t._hideTooltipTimeout=setTimeout(t._hideTooltipCallback,e):t._hideTooltipCallback()}}),w={"mouseover.gauge-tooltip":o,"mouseout.gauge-tooltip":r},y={"mousemove.gauge-tooltip":a},b={};b[f.name+".gauge-tooltip"]=s;var C={"touchstart.gauge-tooltip":l},k=null;u(window.document).on({"touchstart.gauge-tooltip":c,"touchend.gauge-tooltip":d}),i.exports=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(527)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n=this;return n.index=e,n.fullState=0,n._points=t,n._selectedPointsCount=0,n}var a=n(1),r=n(10),s=n(129),l=n(7),c=n(2),d=n(97),u=n(3),h=n(255),p=h.BaseChart,f=h.overlapping,_=s.pieSeriesSpacing,g=n(343),m=["startAngle","innerRadius","segmentsDirection","type"],v=a.extend,x=a.each,w=a.noop,y=n(7).getVerticallyShiftedAngularCoords,b=s.states,C=b.selectedMark,k=b.hoverMark,S=b.hover,T=b.normal,I=b.selection,D=b.applyHover,E=b.resetItem;o.prototype={isHovered:function(){return!!(1&this.fullState)},setHoverState:function(e,t,n){var i=this;e&&!i.isHovered()?(i._changeStyle(n,D,S),i.fullState|=k):!e&&i.isHovered()&&(i._changeStyle(n,E,T),i.fullState&=~k)},_changeStyle:function(e,t,n){var i=this;!i._selectedPointsCount&&e(t),x(i._points||[],function(e,t){!t.isSelected()&&t.applyStyle(n)})},setPointHoverState:function(e){var t=e.point;t.fullState|=k,t.isSelected()||(t.applyStyle(S),this._selectedPointsCount||e.legendCallback(D))},releasePointHoverState:function(e){var t=e.point;t.fullState&=~k,t.isSelected()||(t.applyStyle(T),this._selectedPointsCount||e.legendCallback(E))},setPointSelectedState:function(e){var t=this,n=e.point;n.fullState|=C,n.applyStyle(I),!t._selectedPointsCount&&e.legendCallback(b.applySelected),t._selectedPointsCount++},releasePointSelectedState:function(e){var t,n=this,i=e.point;i.fullState&=~C,i.isHovered()||n.isHovered()?(i.applyStyle(S),t=D):(i.applyStyle(T),t=E),n._selectedPointsCount--,!n._selectedPointsCount&&e.legendCallback(t)}};var A=p.inherit({_setDeprecatedOptions:function(){this.callBase.apply(this,arguments),v(this._deprecatedOptions,{"series.innerRadius":{since:"15.2",message:"Use the 'innerRadius' option instead"},"series.startAngle":{since:"15.2",message:"Use the 'startAngle' option instead"},"series.segmentsDirection":{since:"15.2",message:"Use the 'segmentsDirection' option instead"},"series.type":{since:"15.2",message:"Use the 'type' option instead"}})},_chartType:"pie",_layoutManagerOptions:function(){var e=this._themeManager.getOptions("diameter");return c.isNumber(e)?e>1?e=1:0>e&&(e=0):e=void 0,v(!0,{},this.callBase(),{piePercentage:e})},_optionChangesMap:{diameter:"REINIT"},_groupSeries:function(){var e=this.series;this._groupsData={groups:[{series:e,valueOptions:{valueType:"numeric"}}],argumentOptions:e[0]&&e[0].getOptions()}},_populateBusinessRange:function(){var e,t=[],n=this.series;this.businessRanges=null,x(n,function(n,i){var o=new d.Range;e=i.getRangeData(),o.addRange(e.val),o.isDefined()||o.setStubData(),t.push(o)}),this.businessRanges=t},_specialProcessSeries:function(){x(this.series,function(e,t){t.arrangePoints()})},_createTranslator:function(e){return(new g.Translator1D).setDomain(e.min,e.max).setCodomain(360,0)},_checkPaneName:function(){return!0},_processSingleSeries:function(e){e.arrangePoints()},_collectPointsByArg:function(){var e,t=this,n={},i={},o=0;x(t.series,function(t,a){var r,s={};x(a.getPoints(),function(t,a){var l=a.argument;s[l]=++s[l]||0,r=s[l],e=i[l+r],void 0===e?(a.index=i[l+r]=o,n[o]=[a],o++):(a.index=e,n[e].push(a))})}),t._collectionPointsArg=n},_getLegendTargets:function(){var e=this,t=[];return x(e._collectionPointsArg,function(n,i){x(i,function(n,i){0===n?t.push(e._getLegendOptions(i)):t[t.length-1].visible||(t[t.length-1].visible=i.isVisible())})}),t},_getAxisDrawingMethods:w,_getLayoutTargets:function(){return[{canvas:this._canvas}]},_getAxesForTransform:function(){return{verticalAxes:[],horizontalAxes:[]}},_getLayoutSeries:function(e,t){var n,i=this,o=i._canvas,a=!1;return n=i.layoutManager.applyPieChartSeriesLayout(o,e,!0),x(e,function(e,t){t.correctPosition(n),a=t.drawLabelsWOPoints(i._createTranslator(i.businessRanges[e]))||a}),a&&(n=i.layoutManager.applyPieChartSeriesLayout(o,e,t.hideLayoutLabels)),n},_updateSeriesDimensions:function(e){var t,n,i,o=this,a=o._getVisibleSeries(),r=a.length;r&&(i=o._getLayoutSeries(a,e),n=(i.radiusOuter-i.radiusInner-_*(r-1))/r,t=i.radiusInner,o._setCenter({x:i.centerX,y:i.centerY}),x(a,function(e,i){i.correctRadius({radiusInner:t,radiusOuter:t+n}),t+=n+_}))},_prepareTranslators:function(e,t){return this._createTranslator(this.businessRanges[t])},_getLegendCallBack:function(){var e=this._legend;return function(t){return e.getActionCallback(t)}},_adjustSeries:function(){x(this.series,function(e,t){t.adjustLabels()})},_prepareStackPoints:w,_resetStackPoints:w,_applyExtraSettings:w,_resolveLabelOverlappingShift:function(){function e(e,t){return y(e,-t,i)}var t=this,n=t.series,i=t._center;x(n,function(n,i){if("inside"!==i.getOptions().label.position){var o=i.getVisiblePoints(),r=[],s=[];a.each(o,function(e,t){var n=l.normalizeAngle(t.middleAngle);(90>=n||n>=270?s:r).push(t)}),f.resolveLabelOverlappingInOneDirection(r,t._canvas,!1,e),f.resolveLabelOverlappingInOneDirection(s,t._canvas,!1,e)}})},_setCenter:function(e){this._center=e},_getStoredSeries:function(){return this._abstractSeries&&0===this._abstractSeries.length&&(this._abstractSeries=null),this._abstractSeries=this._abstractSeries||a.map(this._collectionPointsArg,function(e,t){return new o(t,e)}),this._abstractSeries},_disposeSeries:function(){this.callBase.apply(this,arguments),this._abstractSeries=null},getSeries:function(){return r.log("W0002","dxPieChart","getSeries","15.2","Use the 'getAllSeries' method instead"),this.series[0]},_legendDataField:"point",_legendItemTextField:"argument",_updateLegendPosition:w,_renderTrackers:w,_trackerType:"PieTracker",_createScrollBar:w,_updateAxesLayout:w,_applyClipRects:w,_appendAdditionalSeriesGroups:w,_prepareToRender:w,_isLegendInside:w,_renderAxes:w,_isRotated:w,_seriesPopulatedHandlerCore:w,_reinitAxes:w,_correctAxes:w,_getExtraOptions:function(){var e=this;return{startAngle:e.option("startAngle"),innerRadius:e.option("innerRadius"),segmentsDirection:e.option("segmentsDirection"),type:e.option("type")}}});x(m,function(e,t){A.prototype._optionChangesMap[t]="REFRESH_SERIES_DATA_INIT"}),u("dxPieChart",A),i.exports=A}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(3),r=n(7),s=n(342),l=n(97),c=n(329).AdvancedChart,d=o.noop,u="default",h=c.inherit({_chartType:"polar",_createPanes:function(){return[{name:u}]},_checkPaneName:function(){return!0},_getAxisRenderingOptions:function(e){var t="argumentAxis"===e,n=t?"circular":"linear",i=this.option("useSpiderWeb");return i&&(n+="Spider"),{axisType:"polarAxes",drawingType:n}},_prepareAxisOptions:function(e,t){var n="argumentAxis"===e;return{type:this.option("useSpiderWeb")&&n?"discrete":t.type,isHorizontal:!0,showCustomBoundaryTicks:n}},_optionChangesMap:{useSpiderWeb:"REINIT"},_getExtraOptions:function(){return{spiderWidget:this.option("useSpiderWeb")}},_groupSeries:function(){var e=this;e._groupsData={groups:[{series:e.series,valueAxis:e._valueAxes[0],valueOptions:e._valueAxes[0].getOptions()}],argumentAxes:e._argumentAxes,argumentOptions:e._argumentAxes[0].getOptions()}},_prepareToRender:function(){return this._appendAxesGroups(),{}},_renderAxes:function(e,t,n,i){this._drawAxes({},e,i)},_getAxisDrawingMethods:function(e,t,n,i){var o=this;return function(){o._renderAxes(e,t,n,i)}},_reinitTranslators:function(){var e=this,t=e._valueAxes,n=e._argumentAxes,i=e._createTranslator({arg:new l.Range(e.businessRanges[0].arg),val:new l.Range(e.businessRanges[0].val)}),o=i.getComponent("arg"),a=i.getComponent("val"),r=0;for(e.translator=i,n[0].setTranslator(o,a),r;r<t.length;r++)t[r].setTranslator(a,o)},_prepareAxesAndDraw:function(e,t){var n=this,i=n._valueAxes,a=n._argumentAxes,r=a[0];n._calcCanvas(r.measureLabels(!0)),n.translator.reinit(),e(a),o.each(i,function(e,t){t.setSpiderTicks(r.getSpiderTicks())}),e(i),t(a),t(i)},_calcCanvas:function(e){var t=this.translator.canvas;t.left+=e.width,t.right+=e.width,t.top+=e.height,t.bottom+=e.height},_getLayoutTargets:function(){return[{canvas:this._canvas}]},_getAxesForTransform:function(){var e=this._getArgumentAxes();return{verticalAxes:e,horizontalAxes:e}},_getTranslator:function(){var e=this.translator;return{val:e,arg:e}},_prepareTranslators:function(){return this.translator},_createTranslator:function(e){var t=this._themeManager,n=this.option("argumentAxis"),i=t.getOptions("argumentAxis",n)||{},a=isFinite(i.startAngle)?r.normalizeAngle(i.startAngle):0;return new s.PolarTranslator(e,o.extend(!0,{},this._canvas),{startAngle:a,endAngle:a+360})},_getSeriesForPane:function(){return this.series},_applyExtraSettings:d,_updateLegendPosition:d,_createScrollBar:d,_applyClipRects:d,_isRotated:d,_getCrosshairOptions:d,_isLegendInside:d,_processSingleSeries:d});a("dxPolarChart",h),i.exports=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(535)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){return new H.Translator2D({},{})}function a(e,t,n,i){e.update(t,{left:n[0],width:n[1]},{isHorizontal:!0,interval:i})}function r(e,t,n){var i=void 0===t?q.consts.emptySliderMarkerText:q.formatValue(t,n),o=w(e,i,n.font);return ne(o.height)+2*n.paddingTopBottom+q.consts.pointerSize}function s(e,t,n){var i=q.formatValue(t,n.label),o=w(e,i,n.label.font);return ne(o.width/2)}function l(e){var t,n,i;if(J(e))t=n=i=e;else{if(!e)return null;J(e.height)&&(i=e.height),J(e.width)?t=n=e.width:e.width&&(J(e.width.left)&&(t=e.width.left),J(e.width.right)&&(n=e.width.right))}return{widthLeft:t,widthRight:n,height:i}}function c(e,t,n,i){var o,a,c,d,u=0,h=0,p=0,f=0;return i=i||{},d=l(n.placeholderSize),d&&void 0===i.left&&void 0===i.right?(p=d.widthLeft,f=d.widthRight):(p=i.left,f=i.right),c=d&&void 0===n.placeholderHeight?d.height:n.placeholderHeight,n.visible&&(o=r(e,t.startValue,n),a=r(e,t.endValue,n),void 0===c&&(c=te(o,a))),t.label.visible&&(u=s(e,t.startValue,t),h=s(e,t.endValue,t)),p=void 0!==p?p:u,f=(void 0!==f?f:h)||1,{left:p,right:f,top:c||0,bottom:0}}function d(e,t){var n=E.type(e),i=E.type(t),o=function(e){return n===e||i===e};return o("date")?re:o("number")?"numeric":o(de)?de:""}function u(e){return e.valueType===re&&e.marker.visible}function h(e,t){var n=t.minorTickInterval||t.tickInterval;"datetime"===t.valueType&&(n=P.dateToMilliseconds(n)),e.addRange({interval:n})}function p(e,t,n){var i;e&&(i=e.logarithmBase,e.type===_e&&0>=i||i&&!J(i)?(e.logarithmBase=t,n("E2104")):e.type!==_e&&(e.logarithmBase=void 0))}function f(e,t,n){var i,o="0",a={value:0,valueText:o},r=t.label,s=t.marker,l=r.customizeText,c=t.placeholderHeight,d=B.isFunction(l)?l.call(a,a):o,u=r.visible;return c?c:(i=w(e,d,r.font),(u?r.topIndent+i.height:0)+(n?s.topIndent+s.separatorHeight:0))}function _(e,t,n){return e?n?e=P.getNextDateUnit(e):e+=t:e=t,e}function g(e,t,n,i){var o,a,r=e.minorTickInterval,s=e.tickInterval,l="datetime"===e.valueType,c=e.axisDivisionFactor||{};if(!s)do{if(o=_(s,r,l),s===o)break;s=o,l&&(o=F(s)),a=i/(ne((n-t)/o)+1)}while(o&&a<(c[s]||me));return{tickInterval:s,minorTickInterval:r,bounds:{minVisible:t,maxVisible:n},ticks:[]}}function m(e,t,n,i){var o,a,r,s=Z(i.minVisible)?i.minVisible:i.min,l=Z(i.maxVisible)?i.maxVisible:i.max,c=e._categoriesInfo;return e.type===ce?o=g(e,s,l,t):(a=new Q.TickManager({axisType:e.type,dataType:e.valueType},{min:s,max:l,screenDelta:t,customTicks:c&&c.categories},{labelOptions:{},boundCoef:1,minorTickInterval:e.minorTickInterval,tickInterval:e.tickInterval,incidentOccurred:n,base:e.logarithmBase,showMinorTicks:!0,withMinorCorrection:!0,stick:i.stick!==!1}),r=a.getTicks(!0),o={tickInterval:a.getTickInterval(),minorTickInterval:a.getMinorTickInterval(),bounds:a.getTickBounds(),ticks:r}),o}function v(e,t){var n,i,o,a,r,s,l=!1,c=t.startValue,d=t.endValue,u=e?e.getBoundRange().arg:new L.Range,h="datetime"===t.valueType,p=t.minRange;return t.type===le&&(s=new L.Range({minVisible:c,maxVisible:d}),s.addRange(u),u=s,a=e?e.argCategories:t.categories||!e&&c&&d&&[c,d],a=a||[],t._categoriesInfo=r=M.getCategoriesInfo(a,c||a[0],d||a[a.length-1])),t.type===ce&&(c=t.startValue=C(t.startValue,h,p),d=t.endValue=C(t.endValue,h,p),u.minVisible=C(u.minVisible,h,p),u.maxVisible=C(u.maxVisible,h,p),u.min=C(u.min,h,p),u.max=C(u.max,h,p)),Z(c)&&Z(d)?(l=r?r.inverted:c>d,n=r?r.start:l?d:c,i=r?r.end:l?c:d):Z(c)||Z(d)?(n=c,i=d):r&&(n=r.start,i=r.end),o=ee(n)&&ee(i)&&n.getTime()===i.getTime(),(t.type===ce||n!==i&&!o)&&u.addRange({invert:l,min:n,max:i,minVisible:n,maxVisible:i,dataType:t.valueType}),u.addRange({categories:a,base:t.logarithmBase,axisType:t.type}),u.isDefined()||(o&&(t.valueType="numeric"),u.setStubData(t.valueType)),u}function x(e,t){return!Z(e)||!Z(t)}function w(e,t,n){var i=e.text(t,ge,ge).css(N(n)).append(e.root),o=i.getBBox();return i.remove(),o}function y(e,t,n,i){var o,a,r,s=e._categoriesInfo;!t||t.isEmpty()||n.stubData||(o=i.bounds,n.addRange(o),e.startValue=n.invert?o.maxVisible:o.minVisible,e.endValue=n.invert?o.minVisible:o.maxVisible),s&&(e.startValue=s.start,e.endValue=s.end),-1===e.type.indexOf(le)&&(a=ee(e.startValue)&&ee(e.endValue)&&e.startValue.getTime()===e.endValue.getTime()||e.startValue===e.endValue),e.isEmpty=x(e.startValue,e.endValue)||a,e.isEmpty?e.startValue=e.endValue=void 0:(e.minorTickInterval=i.minorTickInterval,e.tickInterval=i.tickInterval,e.valueType!==re||Z(e.label.format)&&(e.type!==ce||e.minorTickInterval===e.tickInterval)||(e.type===le?e.label.format=$.getDateFormatByTicks(i.ticks):e.marker.visible?e.label.format=P.getDateFormatByTickInterval(e.tickInterval):e.label.format=$.getDateFormatByTickInterval(e.startValue,e.endValue,e.tickInterval))),
e.type===ce&&(r=k(e),e.customMinorTicks=r.altIntervals,e.customTicks=r.intervals,e.customBoundTicks=[e.customTicks[0]])}function b(e,t,n){var i,o=0,a=W.correctValueType(G(e.valueType)),r=function(t,i){var a=t===oe?"start":"end";Z(e[t])&&(o=i(e[t]),Z(o)?e[t]=o:(e[t]=void 0,n("E2202",[a])))};return t&&(a=t.getCalculatedValueType()||a),a||(a=d(e.startValue,e.endValue)||"numeric"),(a===de||e.categories)&&(e.type=le,a=de),e.valueType=a,i=W.getParser(a),r(oe,i),r(ae,i),p(e,ve,n),e.type||(e.type="continuous"),void 0===e.tickInterval&&(e.tickInterval=e.majorTickInterval),e.minorTick.visible&&(e.minorTick.visible=e.showMinorTicks),e.parser=i,e.type===ce&&(e.minorTick.visible=!1,e.minorTickInterval=e.minRange,e.marker.visible=!1,e.maxRange=void 0),e}function C(e,t,n){return Z(e)&&(t?(e=new Date(e),R(e,n)):e=O(ie(e/n)*n)),e}function k(e){var t=e.startValue,n=e.endValue,i="datetime"===e.valueType,o=e.tickInterval,a={intervals:[]};return Z(t)&&Z(n)?(a.intervals=S(t,n,e.minorTickInterval),o!==e.minorTickInterval&&(a.altIntervals=a.intervals,t=C(t,i,o),n=C(n,i,o),a.intervals=S(t,n,o)),a):a}function S(e,t,n){var i,o=[];for(o.push(e),i=e;t>i;)i=V(i,n),o.push(i);return o}function T(e,t,n,i){return e.label.overlappingBehavior={mode:e.useTicksAutoArrangement?"enlargeTickInterval":"ignore"},e.marker.label.font=e.label.font,e.color=e.marker.color=e.tick.color,e.opacity=e.marker.opacity=e.tick.opacity,e.width=e.marker.width=e.tick.width,e.placeholderSize=(e.placeholderHeight||0)+i,e.argumentType=e.valueType,e.visible=t,e.minorTick.showCalculatedTicks=e.isHorizontal=e.withoutOverlappingBehavior=e.stick=!0,t||(e.minorTick.length=e.tick.length=n),e.label.indentFromAxis=e.label.topIndent+i,e}function I(e,t,n){function i(t){var i=t.target.range,o=e.minRange?P.addInterval(i.startValue,e.minRange):void 0,a=e.maxRange?P.addInterval(i.startValue,e.maxRange):void 0;o&&o>i.endValue||a&&a<i.endValue||n(i)}E.each(t,function(e,t){t.on("dxpointerdown",i)})}function D(e){this._axis=new z.Axis({renderer:e.renderer,axesContainerGroup:e.root,axisType:"xyAxes",drawingType:"linear",widgetClass:"dxrs",axisClass:"range-selector"}),this._updateSelectedRangeCallback=e.updateSelectedRange,this._translator=e.translator}var E=n(1),A=n(3),B=n(2),M=n(7),O=M.adjustValue,P=n(12),R=P.correctDateWithUnitBeginning,V=P.addInterval,F=P.dateToMilliseconds,L=n(97),H=n(119),z=n(254),N=M.patchFontOptions,W=n(257),G=M.normalizeEnum,$=n(71),q=n(219),j=n(540),U=n(542),K=n(536),Y=n(537),X=n(541),Q=n(327),Z=B.isDefined,J=B.isNumber,ee=B.isDate,te=Math.max,ne=Math.ceil,ie=Math.floor,oe="startValue",ae="endValue",re="datetime",se="selectedRange",le="discrete",ce="semidiscrete",de="string",ue=se+"Changed",he="containerBackgroundColor",pe="sliderMarker",fe="background",_e="logarithmic",ge=-1e3,me=50,ve=10,xe=n(116).inherit({_eventsMap:{onSelectedRangeChanged:{name:ue}},_setDeprecatedOptions:function(){this.callBase.apply(this,arguments),E.extend(this._deprecatedOptions,{"sliderMarker.padding":{since:"15.1",message:"Use the 'paddingTopBottom' and 'paddingLeftRight' options instead"},"sliderMarker.placeholderSize":{since:"15.1",message:"Use the 'placeholderHeight' and 'indent' options instead"},"scale.majorTickInterval":{since:"15.2",message:"Use the 'tickInterval' options instead"},"scale.showMinorTicks":{since:"15.2",message:"Use the 'minorTick.visible' options instead"}})},_rootClassPrefix:"dxrs",_rootClass:"dxrs-range-selector",_dataIsReady:function(){return this._dataSource.isLoaded()},_initialChanges:["DATA_SOURCE","SELECTED_RANGE"],_themeDependentChanges:["MOSTLY_TOTAL"],_initCore:function(){var e,t,n,i,a=this,r=a._renderer,s=r.root;s.css({"touch-action":"pan-y","-ms-touch-action":"pan-y"}),a._clipRect=r.clipRect(),e=r.g().attr({"class":"dxrs-view"}).append(s),t=r.g().attr({"class":"dxrs-slidersContainer",clipId:a._clipRect.id}).append(s),n=r.g().attr({"class":"dxrs-scale",clipId:a._clipRect.id}).append(s),i=r.g().attr({"class":"dxrs-trackers"}).append(s),a._translator=o(),a._rangeView=new K.RangeView({renderer:r,root:e,translator:a._translator}),a._slidersController=new j.SlidersController({renderer:r,root:t,trackersGroup:i,updateSelectedRange:function(e){a._selectedRangeOption||a.option(se,e),a._eventTrigger(ue,{startValue:e.startValue,endValue:e.endValue})},translator:a._translator}),a._axis=new D({renderer:r,root:n,updateSelectedRange:function(e){a.setSelectedRange(e)},translator:a._translator}),a._tracker=new U.Tracker({renderer:r,controller:a._slidersController})},_getDefaultSize:function(){return{width:400,height:160}},_disposeCore:function(){this._axis.dispose(),this._slidersController.dispose(),this._tracker.dispose()},_createThemeManager:function(){return new X.ThemeManager},_applySize:function(e){this._clientRect=e.slice(),this._change(["MOSTLY_TOTAL"])},_optionChangesMap:{scale:"SCALE",selectedRange:"SELECTED_RANGE",dataSource:"DATA_SOURCE"},_optionChangesOrder:["SCALE","DATA_SOURCE"],_change_SCALE:function(){this._change(["MOSTLY_TOTAL"])},_change_DATA_SOURCE:function(){(this._initialized||this._options.dataSource)&&(this._options[se]=null,this._updateDataSource())},_customChangesOrder:["MOSTLY_TOTAL","SELECTED_RANGE"],_change_MOSTLY_TOTAL:function(){this._applyMostlyTotalChange()},_change_SELECTED_RANGE:function(){var e=this;e._selectedRangeOption&&(e._options[se]=e._selectedRangeOption),e.setSelectedRange(e._options[se])},_applyChanges:function(){var e=this;e._changes.has("SELECTED_RANGE")&&e._options[se]&&(e._selectedRangeOption=E.extend({},e._options[se])),e.callBase.apply(e,arguments),e._selectedRangeOption=null,e.__isResizing=!1},_applyMostlyTotalChange:function(){var e,t=this,n=t._renderer,i=t._clientRect;t.__isResizing&&(e=n.animationEnabled(),n.updateAnimationOptions({enabled:!1})),t._clipRect.attr({x:i[0],y:i[1],width:i[2]-i[0],height:i[3]-i[1]}),t._updateContent({left:i[0],top:i[1],width:i[2]-i[0],height:i[3]-i[1]}),t.__isResizing&&n.updateAnimationOptions({enabled:e}),t._drawn()},_dataSourceChangedHandler:function(){this._requestChange(["MOSTLY_TOTAL"])},_updateContent:function(e){var t,n,i,o,r=this,s=r.option("chart"),l=r._createSeriesDataSource(s),d=!(l&&l.isShowChart()||r.option("background.image.url")),_=b(r._getOption("scale"),l,r._incidentOccurred),g=v(l,_),x=m(_,e.width,r._incidentOccurred,g),w=l&&l.isShowChart()&&l.getThemeManager();w&&p(s&&s.valueAxis,w.getOptions("valueAxis").logarithmBase,r._incidentOccurred),y(_,l,g,x),h(g,_),t=r._prepareSliderMarkersOptions(_,e.width,x),n=c(r._renderer,_,t,r.option("indent")),i=f(r._renderer,_,u(_)),o={left:e.left+n.left,top:e.top+n.top,width:te(e.width-n.left-n.right,1),height:te(d?q.HEIGHT_COMPACT_MODE:e.height-n.top-n.bottom-i,0)},a(r._translator,g,[o.left,o.left+o.width],_.minRange),_.minorTickInterval=_.isEmpty?0:_.minorTickInterval,r._updateElements(_,t,d,o,l),w&&w.dispose()},_updateElements:function(e,t,n,i,o){var a=this,r=a._getOption("behavior"),s=a.option(se),l=a._getOption("shutter"),c=e.type!==ce;s&&(a._translator.isValid(s[oe])||a._incidentOccurred("E2203",[oe]),a._translator.isValid(s[ae])||a._incidentOccurred("E2203",[ae])),l.color=l.color||a._getOption(he,!0),a._rangeView.update(a.option("background"),a._themeManager.theme("background"),i,n,r.animationEnabled&&a._renderer.animationEnabled(),o),a._axis.update(e,n,i),a._isUpdating=!0,a._slidersController.update([i.top,i.top+i.height],r,n,a._getOption("sliderHandle"),t,l,{minRange:c?a.option("scale.minRange"):void 0,maxRange:c?a.option("scale.maxRange"):void 0},a._axis.getFullTicks(),a._getOption("selectedRangeColor",!0)),a._slidersController.setSelectedRange(s),a._isUpdating=!1,a._tracker.update(!a._translator.isEmptyValueRange(),r)},_createSeriesDataSource:function(e){var t,n=this,i=n._dataSource.items(),o=n._getOption("scale"),a=o.valueType||d(o.startValue,o.endValue);return(i||e&&e.series)&&(e=E.extend({},e,{theme:n.option("theme")}),t=new Y.SeriesDataSource({renderer:n._renderer,dataSource:i,valueType:G(a),axisType:o.type,chart:e,dataSourceField:n.option("dataSourceField"),incidentOccurred:n._incidentOccurred,categories:o.categories})),t},_prepareSliderMarkersOptions:function(e,t,n){var i,o=this,a=n.minorTickInterval,r=n.tickInterval,s=e.endValue,l=e.startValue,c=o._getOption(pe),d=o.option(pe)||{},u=e.type===le,h=e.valueType===re;return c.borderColor=o._getOption(he,!0),c.format||(!o._getOption("behavior").snapToTicks&&J(e.startValue)&&(i=Math.abs(s-l),c.format={type:"fixedPoint",precision:M.getSignificantDigitPosition(i/t)}),h&&!u&&(e.marker.visible?c.format=P.getDateFormatByTickInterval(Z(a)&&0!==a?a:r):Z(l)&&Z(s)&&(c.format=$.getDateFormatByTickInterval(l,s,Z(a)&&0!==a?a:r))),h&&u&&n.ticks.length&&(c.format=$.getDateFormatByTicks(n.ticks))),void 0!==d.padding&&void 0===d.paddingLeftRight&&void 0===d.paddingTopBottom&&(c.paddingLeftRight=c.paddingTopBottom=d.padding),c},getSelectedRange:function(){return this._slidersController.getSelectedRange()},setSelectedRange:function(e){var t;!this._isUpdating&&e&&(t=this._slidersController.getSelectedRange(),t&&t.startValue===e.startValue&&t.endValue===e.endValue||this._slidersController.setSelectedRange(e))},resetSelectedRange:function(){this.setSelectedRange({})},_setContentSize:function(){this.__isResizing=2===this._changes.count(),this.callBase.apply(this,arguments)},render:function(e){this.__isResizing=e,this.callBase.apply(this,arguments),this._requestChange(["MOSTLY_TOTAL"])}});E.each(["selectedRangeColor","containerBackgroundColor","sliderMarker","sliderHandle","shutter",fe,"behavior","chart","indent"],function(e,t){xe.prototype._optionChangesMap[t]="MOSTLY_TOTAL"}),D.prototype={constructor:D,dispose:function(){this._axis.dispose()},update:function(e,t,n){var i=this._axis;i.updateOptions(T(e,t,n.height,n.height/2-Math.ceil(e.width/2))),i.delta={bottom:-n.height/2},i.setTranslator(this._translator,{translateSpecialCase:function(){return n.top+n.height}}),i.draw(),i.getMarkerTrackers()&&I(e,i.getMarkerTrackers(),this._updateSelectedRangeCallback)},getFullTicks:function(){return this._axis.getFullTicks()}},A("dxRangeSelector",xe),i.exports=xe,xe.addPlugin(n(167).plugin),xe.addPlugin(n(130).plugin),xe.addPlugin(n(171).plugin),xe.addPlugin(n(169).plugin)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return new l.Translator2D(e,{top:t[0],height:t[1]})}function a(e,t,n,i,a){var r,s,l=t.getSeries(),c=l.length,d={x:n,y:o(t.getBoundRange().val,i)};for(t.adjustSeriesDimensions(d),s=0;c>s;++s)r=l[s],r._extGroups.seriesGroup=r._extGroups.labelsGroup=e,r.draw(d,a)}function r(e,t){return void 0!==e?e:t}function s(e){this._params=e,this._clipRect=e.renderer.clipRect(),e.root.attr({clipId:this._clipRect.id})}var l=n(119);s.prototype={constructor:s,update:function(e,t,n,i,o,s){var l=this._params.renderer,c=this._params.root;e=e||{},c.clear(),this._clipRect.attr({x:n.left,y:n.top,width:n.width,height:n.height}),i||(r(e.visible,t.visible)&&(e.color&&l.rect(n.left,n.top,n.width+1,n.height).attr({fill:r(e.color,t.color),"class":"dx-range-selector-background"}).append(c),e.image&&e.image.url&&l.image(n.left,n.top,n.width+1,n.height,e.image.url,r(e.image.location,t.image.location)).append(c)),s&&s.isShowChart()&&a(c,s,this._params.translator,[n.top,n.top+n.height],o))}},t.RangeView=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){r.each(e,function(e,i){r.each(n.getTemplateFields(),function(e,t){i[t.templateField]=i[t.originalField]}),t.push(i)}),n.updateTemplateFieldNames()}var a,r=n(1),s=n(260),l=n(333),c=n(2),d=n(7),u=n(97),h=n(256),p=n(331).ThemeManager,f=function(e){return new p(e,"rangeSelector.chart")},_=function(e,t,n,i,o,a){var s=[],c=[];return r.each(e,function(e,t){-1===r.inArray(t.type,c)&&c.push(t.type)}),r.each(c,function(r,c){var d=new l.SeriesFamily({type:c,equalBarWidth:t,minBubbleSize:n,maxBubbleSize:i,barWidth:o,negativesAsZeroes:a});d.add(e),d.adjustSeriesValues(),s.push(d)}),s},g=function(e){var t=["bar","candlestick","stock","bubble"],n=!0;return e=d.normalizeEnum(e),r.each(t,function(t,i){return-1!==e.indexOf(i)?(n=!1,!1):void 0}),n};a=function(e){var t,n,i,o,a,r,s=this,l=s._themeManager=f(e.chart);l._fontFields=["commonSeriesSettings.label.font"],l.setTheme(e.chart.theme),i=l.getOptions("topIndent"),o=l.getOptions("bottomIndent"),s._indent={top:i>=0&&1>i?i:0,bottom:o>=0&&1>o?o:0},s._valueAxis=l.getOptions("valueAxisRangeSelector")||{},s._hideChart=!1,n=l.getOptions("seriesTemplate"),e.dataSource&&n&&(t=d.processSeriesTemplate(n,e.dataSource)),s._useAggregation=e.chart.useAggregation,s._series=s._calculateSeries(e,t),a=l.getOptions("negativesAsZeroes"),r=l.getOptions("negativesAsZeros"),s._seriesFamilies=_(s._series,l.getOptions("equalBarWidth"),l.getOptions("minBubbleSize"),l.getOptions("maxBubbleSize"),l.getOptions("barWidth"),c.isDefined(a)?a:r)},a.prototype={constructor:a,_calculateSeries:function(e,t){var n,i,a,l,c,d,u,p,f=this,_=[],g=f._themeManager,m=!!g.getOptions("seriesTemplate"),v=m?t:e.chart.series,x=e.chart.valueAxis&&e.chart.valueAxis.valueType;for(f.templateData=[],e.dataSource&&!v&&(c=e.dataSourceField||"arg",v={argumentField:c,valueField:c},f._hideChart=!0),v=r.isArray(v)?v:v?[v]:[],d=0;d<v.length;d++)n=r.extend(!0,{incidentOccurred:e.incidentOccurred},v[d]),n.rotated=!1,a=n.data||e.dataSource,i=g.getOptions("series",n),i.argumentField=i.argumentField||e.dataSourceField,a&&a.length>0&&(u=new s.Series({renderer:e.renderer},i),_.push(u)),m&&o(a,f.templateData,u);if(a=m?f.templateData:a,_.length)for(p={groups:[{series:_,valueOptions:{valueType:c?e.valueType:x}}],argumentOptions:{categories:e.categories,argumentType:e.valueType,type:e.axisType}},l=h.validateData(a,p,e.incidentOccurred,g.getOptions("dataPrepareSettings")),f.argCategories=p.categories,d=0;d<_.length;d++)_[d].updateData(l[_[d].getArgumentField()]);return _},adjustSeriesDimensions:function(e){this._useAggregation&&r.each(this._series,function(t,n){n.resamplePoints(e.x)}),r.each(this._seriesFamilies,function(t,n){n.adjustSeriesDimensions({arg:e.x,val:e.y})})},getBoundRange:function(){var e,t,n,i,o,a=this,s=a._valueAxis.min,l=a._valueAxis.max,d=new u.Range({min:s,minVisible:s,max:l,maxVisible:l,axisType:a._valueAxis.type,base:a._valueAxis.logarithmBase}),h=new u.Range({});return r.each(a._series,function(t,n){e=n.getRangeData(),d.addRange(e.val),h.addRange(e.arg),g(n.type)||h.addRange({stick:!1})}),d.isDefined()&&h.isDefined()&&(i=a._valueAxis.inverted?a._indent.top:a._indent.bottom,o=a._valueAxis.inverted?a._indent.bottom:a._indent.top,t=d.max-d.min,n=(r.isNumeric(d.maxVisible)?d.maxVisible:d.max)-(r.isNumeric(d.minVisible)?d.minVisible:d.min),c.isDate(d.min)?d.min=new Date(d.min.valueOf()-t*i):d.min-=t*i,c.isDate(d.max)?d.max=new Date(d.max.valueOf()+t*o):d.max+=t*o,r.isNumeric(n)&&(d.maxVisible=d.maxVisible?d.maxVisible+n*o:void 0,d.minVisible=d.minVisible?d.minVisible-n*i:void 0),d.invert=a._valueAxis.inverted),{arg:h,val:d}},getSeries:function(){return this._series},isEmpty:function(){return 0===this.getSeries().length},isShowChart:function(){return!this._hideChart},getCalculatedValueType:function(){var e=this._series[0];return e&&e.argumentType},getThemeManager:function(){return this._themeManager}},t.SeriesDataSource=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return d.touchEvents||d.pointer?h:e>u?e:u}function a(e,t){var n=this;n._translator=e.translator,n._sliderGroup=e.renderer.g().attr({"class":"slider"}).append(e.root),n._line=e.renderer.path(null,"line").append(n._sliderGroup),n._marker=new c(e.renderer,n._sliderGroup,1===t),n._tracker=e.renderer.rect().attr({"class":"slider-tracker",fill:"#000000",opacity:1e-4}).css({cursor:"w-resize"}).append(e.trackersGroup)}var r=n(219),s=r.utils.animationSettings,l=r.formatValue,c=n(539),d=n(17),u=8,h=20;a.prototype={constructor:a,cancelAnimation:function(){this._sliderGroup.stopAnimation(),this._tracker.stopAnimation()},applyPosition:function(e){var t=this,n=t._sliderGroup,i=t._tracker,o={translateX:t._position};t._marker.setPosition(t._position),e?(n.animate(o,s),i.animate(o,s)):(n.attr(o),i.attr(o))},_setValid:function(e){this._marker.setValid(e),this._line.attr({stroke:this._colors[Number(e)]})},_setText:function(e){this._marker.setText(e)},update:function(e,t,n){var i=this;i._formatOptions={format:n.format,precision:n.precision,customizeText:n.customizeText},i._marker.applyOptions(n,i._translator.getScreenRange()),i._colors=[n.invalidRangeColor,t.color],i._sliderGroup.attr({translateY:e[0]}),i._line.attr({"stroke-width":t.width,stroke:t.color,"stroke-opacity":t.opacity,sharp:"h",points:[0,0,0,e[1]-e[0]]});var a=o(t.width);i._tracker.attr({x:-a/2,y:0,width:a,height:e[1]-e[0],translateY:e[0]})},toForeground:function(){this._sliderGroup.toForeground()},getSliderTracker:function(){return this._tracker},getPosition:function(){return this._position},setDisplayValue:function(e){this._value=e,this._setText(l(e,this._formatOptions))},setOverlapped:function(e){this._marker.setOverlapped(e)},getValue:function(){return this._value},on:function(e,t){this._tracker.on(e,t),this._marker.getTracker().on(e,t)},getCloudBorder:function(){return this._marker.getBorderPosition()},dispose:function(){this._marker.dispose()}},i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){var i=this;i._isLeftPointer=n,i._isOverlapped=!1,i._group=e.g().attr({"class":"slider-marker"}).append(t),i._area=e.path(null,"area").append(i._group),i._label=e.text().attr({align:"left"}).append(i._group),i._tracker=e.rect().attr({"class":"slider-marker-tracker",fill:"#000000",opacity:1e-4}).css({cursor:"pointer"}).append(i._group),i._border=e.rect(0,0,1,0)}var a=n(7).patchFontOptions,r=75,s=n(219).consts.pointerSize;o.prototype={constructor:o,_getRectSize:function(e){return{width:Math.round(2*this._paddingLeftRight+e.width),height:Math.round(2*this._paddingTopBottom+e.height)}},_getTextSize:function(){var e=this._label.getBBox();return!this._textHeight&&isFinite(e.height)&&(this._textHeight=e.height),{width:e.width,height:this._textHeight,y:e.y}},_getAreaPointsInfo:function(e){var t=this,n=t._getRectSize(e),i=n.width,o=n.height,a=-i,r=0,l=s,c=0,d=-s,u=t._position,h=t._isLeftPointer,p=function(){a++,r++,l++,c++,d++},f=function(){l>r?l=r:a>d&&(d=a),h&&p()},_=u;return h?u>t._range[1]-i?(r=-u+t._range[1],a=r-i,f(),_+=a):(a=d=0,r=i):u-t._range[0]<i?(a=-(u-t._range[0]),r=a+i,f(),_+=r):(l=0,p()),t._borderPosition=_,{offset:a,isCutted:(!h||c!==d)&&(h||c!==l),points:[a,0,r,0,r,o,l,o,c,o+s,d,o,a,o]}},_update:function(){function e(e,t){var n,i,a;t=t||o._getRectSize(e),o._group.attr({translateY:-(t.height+s)}),i=o._getAreaPointsInfo(e),n=i.points,a=i.offset,o._area.attr({points:n}),o._border.attr({x:o._isLeftPointer?n[0]-1:n[2],height:i.isCutted?t.height:t.height+s}),o._tracker.attr({translateX:a,width:t.width,height:t.height+s}),o._label.attr({translateX:o._paddingLeftRight+a,translateY:t.height/2-(e.y+e.height/2)})}var t,n,i,o=this;clearTimeout(o._timeout),o._label.attr({text:o._text||""}),n=o._getTextSize(),i=o._getRectSize(n),t=o._textSize||n,t=o._textSize=n.width>t.width||n.height>t.height?n:t,o._timeout=setTimeout(function(){e(n,i),o._textSize=n},r),e(t)},setText:function(e){this._text=e},setPosition:function(e){this._position=e,this._update()},applyOptions:function(e,t){var n=this;n._range=t,n._paddingLeftRight=e.paddingLeftRight,n._paddingTopBottom=e.paddingTopBottom,n._textHeight=null,n._colors=[e.invalidRangeColor,e.color],n._area.attr({fill:e.color}),n._border.attr({fill:e.borderColor}),n._label.css(a(e.font)),n._update()},getTracker:function(){return this._tracker},setValid:function(e){this._area.attr({fill:this._colors[Number(e)]})},setColor:function(e){this._area.attr({fill:e})},dispose:function(){clearTimeout(this._timeout)},setOverlapped:function(e){var t=this;t._isOverlapped!==e&&(e?t._border.append(t._group):t._isOverlapped&&t._border.remove(),t._isOverlapped=e)},getBorderPosition:function(){return this._borderPosition}},i.exports=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){return[e,t,n,t,n,i,e,i]}function a(e){return e&&e.valueOf()}function r(e,t){return t>e}function s(e,t){return e>t}function l(e,t){for(var n,i=0,o=t?t.length-1:0,a=e;o-i>1;){if(n=i+o>>1,a=t[n],a===e)return e;a>e?o=n:i=n}return t&&(a=t[e-t[i]<=t[o]-e?i:o]),a}function c(){this._lastSelectedRange=this.getSelectedRange(),delete this._processSelectionChanged}function d(e){e.setSelectedRange=p.noop,e._processSelectionChanged===c&&e._processSelectionChanged()}function u(e){delete e.setSelectedRange}function h(e){var t=this,n={renderer:e.renderer,root:e.root,trackersGroup:e.trackersGroup,translator:e.translator};t._params=e,t._areaTracker=e.renderer.path(null,"area").attr({"class":"area-tracker",fill:"#000000",opacity:1e-4}).append(e.trackersGroup),t._selectedAreaTracker=e.renderer.path(null,"area").attr({"class":"selected-area-tracker",fill:"#000000",opacity:1e-4}).append(e.trackersGroup),t._shutter=e.renderer.path(null,"area").append(e.root),t._sliders=[new m(n,0),new m(n,1)],t._processSelectionChanged=c}var p=n(1),f=n(219),_=f.utils.animationSettings,g=f.consts.emptySliderMarkerText,m=n(538),v=n(7).normalizeEnum;h.prototype={constructor:h,dispose:function(){this._sliders[0].dispose(),this._sliders[1].dispose()},getTrackerTargets:function(){return{area:this._areaTracker,selectedArea:this._selectedAreaTracker,sliders:this._sliders}},_processSelectionChanged:function(){var e=this,t=e.getSelectedRange();a(t.startValue)===a(e._lastSelectedRange.startValue)&&a(t.endValue)===a(e._lastSelectedRange.endValue)||(e._lastSelectedRange=t,e._params.updateSelectedRange(t))},update:function(e,t,n,i,a,r,s,l,c){var d=this,u=d._params.translator.getScreenRange();d._verticalRange=e,d._minRange=s.minRange,d._maxRange=s.maxRange,d._animationEnabled=t.animationEnabled&&d._params.renderer.animationEnabled(),d._allowSlidersSwap=t.allowSlidersSwap,d._sliders[0].update(e,i,a),d._sliders[1].update(e,i,a),d._sliders[0]._position=d._sliders[1]._position=u[0],d._values=!d._params.translator.isValueProlonged&&t.snapToTicks?l:null,d._areaTracker.attr({points:o(u[0],e[0],u[1],e[1])}),d._isCompactMode=n,d._shutterOffset=i.width/2,d._updateSelectedView(r,c),d._isOnMoving="onmoving"===v(t.callSelectedRangeChanged),d._updateSelectedRange(),d._applyTotalPosition(!1)},_updateSelectedView:function(e,t){var n={fill:null,"fill-opacity":null,stroke:null,"stroke-width":null};this._isCompactMode?(n.stroke=t,n["stroke-width"]=3,n.sharp="v"):(n.fill=e.color,n["fill-opacity"]=e.opacity),this._shutter.attr(n)},_updateSelectedRange:function(){var e=this,t=e._sliders;t[0].cancelAnimation(),t[1].cancelAnimation(),e._shutter.stopAnimation(),e._params.translator.isEmptyValueRange()?(t[0]._setText(g),t[1]._setText(g),t[0]._value=t[1]._value=void 0,t[0]._position=e._params.translator.getScreenRange()[0],t[1]._position=e._params.translator.getScreenRange()[1],e._applyTotalPosition(!1),d(e)):u(e)},_applyTotalPosition:function(e){var t,n=this._sliders;e=this._animationEnabled&&e,n[0].applyPosition(e),n[1].applyPosition(e),t=n[0].getCloudBorder()>n[1].getCloudBorder(),n[0].setOverlapped(t),n[1].setOverlapped(t),this._applyAreaTrackersPosition(),this._applySelectedRangePosition(e)},_applyAreaTrackersPosition:function(){var e=this,t=e._sliders[0].getPosition(),n=e._sliders[1].getPosition();e._selectedAreaTracker.attr({points:o(t,e._verticalRange[0],n,e._verticalRange[1])}).css({cursor:Math.abs(e._params.translator.getScreenRange()[1]-e._params.translator.getScreenRange()[0]-n+t)<.001?"default":"pointer"})},_applySelectedRangePosition:function(e){var t,n,i=this,a=i._verticalRange,r=i._sliders[0].getPosition(),s=i._sliders[1].getPosition();i._isCompactMode?n=[r+Math.ceil(i._shutterOffset),(a[0]+a[1])/2,s-Math.floor(i._shutterOffset),(a[0]+a[1])/2]:(t=i._params.translator.getScreenRange(),n=[o(t[0],a[0],Math.max(r-Math.floor(i._shutterOffset),t[0]),a[1]),o(t[1],a[0],Math.min(s+Math.ceil(i._shutterOffset),t[1]),a[1])]),e?i._shutter.animate({points:n},_):i._shutter.attr({points:n})},getSelectedRange:function(){return{startValue:this._sliders[0].getValue(),endValue:this._sliders[1].getValue()}},setSelectedRange:function(e){e=e||{};var t=this,n=t._params.translator,i=n.isValid(e.startValue)?n.parse(e.startValue):n.getRange()[0],o=n.isValid(e.endValue)?n.parse(e.endValue):n.getRange()[1],a=n.to(i,-1)<n.to(o,1)?[i,o]:[o,i];t._sliders[0].setDisplayValue(a[0]),t._sliders[1].setDisplayValue(a[1]),t._sliders[0]._position=n.to(a[0],-1),t._sliders[1]._position=n.to(a[1],1),t._applyTotalPosition(!0),t._processSelectionChanged()},beginSelectedAreaMoving:function(e){function t(e){e!==a&&e>a==e>(i[0].getPosition()+i[1].getPosition())/2-o&&n._moveSelectedArea(e+o,!1),a=e}var n=this,i=n._sliders,o=(i[0].getPosition()+i[1].getPosition())/2-e,a=e;return t.complete=function(){n._dockSelectedArea()},t},_dockSelectedArea:function(){var e=this._params.translator,t=this._sliders;t[0]._position=e.to(t[0].getValue(),-1),t[1]._position=e.to(t[1].getValue(),1),this._applyTotalPosition(!0),this._processSelectionChanged()},moveSelectedArea:function(e){this._moveSelectedArea(e,!0),this._dockSelectedArea()},_moveSelectedArea:function(e,t){var n,i,o=this,a=o._params.translator,r=o._sliders,s=r[1].getPosition()-r[0].getPosition(),c=e-s/2,d=e+s/2;c<a.getScreenRange()[0]&&(c=a.getScreenRange()[0],d=c+s),d>a.getScreenRange()[1]&&(d=a.getScreenRange()[1],c=d-s),n=a.from(c,-1),i=a.from(d,1),r[0].setDisplayValue(l(n,o._values)),r[1].setDisplayValue(l(i,o._values)),r[0]._position=c,r[1]._position=d,o._applyTotalPosition(t),o._isOnMoving&&o._processSelectionChanged()},placeSliderAndBeginMoving:function(e,t){var n,i,o=this,a=o._params.translator,c=o._sliders,d=t>e?0:1,u=d>0?1:-1,h=d>0?s:r,p=d>0?r:s,f=[],_=[];return _[d]=a.from(e,u),_[1-d]=a.from(t,-u),f[1-d]=t,a.isValueProlonged&&(h(e,a.to(_[d],u))&&(_[d]=a.from(e,-u)),h(t,a.to(_[d],-u))&&(_[1-d]=_[d])),o._minRange&&(n=a.to(a.add(l(_[d],o._values),o._minRange,-u),-u),h(t,n)&&(_[1-d]=a.add(_[d],o._minRange,-u)),n=a.to(a.add(a.getRange()[1-d],o._minRange,u),-u),p(e,n)&&(_[1-d]=a.getRange()[1-d],_[d]=a.add(_[1-d],o._minRange,u),f[1-d]=e)),_[0]=l(_[0],o._values),_[1]=l(_[1],o._values),f[d]=a.to(_[d],u),c[0].setDisplayValue(_[0]),c[1].setDisplayValue(_[1]),c[0]._position=f[0],c[1]._position=f[1],o._applyTotalPosition(!0),o._isOnMoving&&o._processSelectionChanged(),i=o.beginSliderMoving(1-d,t),c[1-d]._sliderGroup.stopAnimation(),o._shutter.stopAnimation(),i(t),i},beginSliderMoving:function(e,t){function n(e){var t,n,r,s,x;e!==p&&(_(e+v,h)&&(t=i._allowSlidersSwap,t&&!o.isValueProlonged&&i._minRange&&(t=o.isValid(o.add(a[1-u].getValue(),i._minRange,-f))),t&&(i._changeMovingSlider(u),u=1-u,f=-f,n=_,_=g,g=n,m=-f*Math.abs(m),v=-m)),g(e+m,h)&&(t=!0,s=a[u],x=a[1-u].getValue(),r=Math.max(Math.min(e+m,d),c),t&&o.isValueProlonged&&(t=!_(r,o.to(x,f))),t&&i._minRange&&(t=!_(r,o.to(o.add(x,i._minRange,f),f))),t&&i._maxRange&&(t=!g(r,o.to(o.add(x,i._maxRange,f),f))),s._setValid(t),s.setDisplayValue(t?l(o.from(r,f),i._values):s.getValue()),s._position=r,i._applyTotalPosition(!1),s.toForeground(),i._isOnMoving&&i._processSelectionChanged())),p=e}var i=this,o=i._params.translator,a=i._sliders,c=o.getScreenRange()[0],d=o.getScreenRange()[1],u=e,h=a[1-u].getPosition(),p=t,f=u>0?1:-1,_=u>0?r:s,g=u>0?s:r,m=a[u].getPosition()-t,v=_(a[u].getPosition(),t)?-m:m;return n.complete=function(){a[u]._setValid(!0),i._dockSelectedArea()},n},_changeMovingSlider:function(e){var t,n=this,i=n._params.translator,o=n._sliders,a=o[1-e].getPosition(),r=e>0?1:-1;o[e].setDisplayValue(l(i.from(a,r),n._values)),t=i.from(a,-r),i.isValueProlonged?t=i.from(a,r):n._minRange&&(t=i.add(t,n._minRange,-r)),o[1-e].setDisplayValue(l(t,n._values)),o[e]._setValid(!0),o[e]._marker._update(),o[0]._position=o[1]._position=a},foregroundSlider:function(e){this._sliders[e].toForeground()}},t.SlidersController=h}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(115).BaseThemeManager;t.ThemeManager=o.inherit({_themeSection:"rangeSelector",_fontFields:["scale.label.font","sliderMarker.font","loadingIndicator.font","export.font","title.font","title.subtitle.font"]})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=e||window.event,n=t.originalEvent,i=t.touches,o=n?n.pointerType:!1,a=n?n.touches:!1,r=void 0===t.which&&1===t.button,s=n&&void 0!==o&&(o===(n.MSPOINTER_TYPE_TOUCH||"touch")||o===(n.MSPOINTER_TYPE_MOUSE||"mouse")&&1===n.buttons),l=r||1===t.which,c=i&&i.length>0||a&&a.length>0;return l||s||c}function a(e){var t=e.originalEvent,n=e.touches,i=t&&t.touches;return n&&n.length>1||i&&i.length>1||null}function r(e){a(e)||e.preventDefault()}function s(e){a(e)||(e.stopPropagation(),e.preventDefault())}function l(e){return e&&e.type&&0===e.type.indexOf("touch")}function c(e){var t=e.originalEvent,n=0;return e.pageX?n=e.pageX:t&&t.pageX&&(n=t.pageX),t&&t.touches&&(t.touches.length>0?n=t.touches[0].pageX:t.changedTouches.length>0&&(n=t.changedTouches[0].pageX)),n}function d(e,t,n,i){function a(){d&&(d=!1,u&&(u.complete(),u=null))}var r,s,d=!1,u=null,h={};return h[_.move]=function(t){var h,p;r===l(t)&&(o(t)||a(),d&&(h=c(t),p=i(),u?u(h-p):n.manualRangeSelectionEnabled&&Math.abs(s-h)>=m&&(u=e.placeSliderAndBeginMoving(s-p,h-p))))},h[_.up]=function(t){var o;d&&(o=c(t),!u&&n.moveSelectedRangeByClick&&Math.abs(s-o)<m&&e.moveSelectedArea(o-i()),a())},t.on(_.down,function(e){n.enabled&&o(e)&&!d&&(d=!0,r=l(e),s=c(e))}),h}function u(e,t,n,i){function a(){u&&(u=!1,h.complete(),h=null)}var d,u=!1,h=null,p={};return p[_.move]=function(e){d===l(e)&&(o(e)||a(),u&&(r(e),h(c(e)-i())))},p[_.up]=a,t.on(_.down,function(t){n.enabled&&o(t)&&!u&&(u=!0,d=l(t),h=e.beginSelectedAreaMoving(c(t)-i()),s(t))}),p}function h(e,t,n,i){function a(){u&&(u=!1,h.complete(),h=null)}var d,u=!1,h=null,p={};return p[_.move]=function(e){d===l(e)&&(o(e)||a(),u&&(r(e),h(c(e)-i())))},p[_.up]=a,f.each(t,function(t,a){var r={};r[_.down]=function(a){n.enabled&&o(a)&&!u&&(u=!0,d=l(a),h=e.beginSliderMoving(t,c(a)-i()),s(a))},r[_.move]=function(){h||e.foregroundSlider(t)},a.on(r)}),p}function p(e){function t(){return e.renderer.getRootOffset().left}var n=this._state={},i=e.controller.getTrackerTargets();g&&e.renderer.root.css({msTouchAction:"pinch-zoom"}),this._docEvents=[u(e.controller,i.selectedArea,n,t),d(e.controller,i.area,n,t),h(e.controller,i.sliders,n,t)],f.each(this._docEvents,function(e,t){f(document).on(t)})}var f=n(1),_=n(13),g=n(17).pointer,m=10;p.prototype={constructor:p,dispose:function(){f.each(this._docEvents,function(e,t){f(document).off(t)})},update:function(e,t){var n=this._state;n.enabled=e,n.moveSelectedRangeByClick=t.moveSelectedRangeByClick,n.manualRangeSelectionEnabled=t.manualRangeSelectionEnabled}},t.Tracker=p}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(220).chart.line,r=n(96).chart,s=n(173).chart.area,l=n(132),c=l.chart.bar,d=l.polar.bar,u=n(2),h=u.isDefined,p=o.extend,f=o.each,_=o.noop;t.chart={},t.chart.bubble=p({},r,{_fillErrorBars:_,getErrorBarRangeCorrector:_,_calculateErrorBars:_,_getMainColor:c._getMainColor,_createPointStyles:c._createPointStyles,_createPattern:c._createPattern,_updatePointsVisibility:c._updatePointsVisibility,_getOptionsForPoint:c._getOptionsForPoint,_getSpecialColor:c._getSpecialColor,_applyMarkerClipRect:a._applyElementsClipRect,_parsePointStyle:d._parsePointStyle,_createLegendState:s._createLegendState,_setMarkerGroupSettings:d._setMarkerGroupSettings,areErrorBarsVisible:_,_createErrorBarGroup:_,_checkData:function(e){return h(e.argument)&&h(e.size)&&void 0!==e.value},_getPointData:function(e,t){var n=r._getPointData.call(this,e,t);return n.size=e[t.sizeField||"size"],n},_fusionPoints:function(e,t){var n=r._calcMedianValue;return{size:n.call(this,e,"size"),value:n.call(this,e,"value"),argument:t,
tag:null}},getValueFields:function(){return[this._options.valueField||"val"]},getSizeField:function(){return this._options.sizeField||"size"},updateTemplateFieldNames:function(){var e=this,t=e._options,n=e.name;t.valueField=e.getValueFields()[0]+n,t.sizeField=e.getSizeField()+n,t.tagField=e.getTagField()+n},_clearingAnimation:function(e,t){var n=this,i=.5,o=n._drawnPoints.length-1,a=n._labelsGroup;a&&a.animate({opacity:.001},{duration:n._defaultDuration,partitionDuration:i},function(){f(n._drawnPoints||[],function(e,n){n.animate(e===o?t:void 0,{r:0},i)})})},_animate:function(){var e=this,t=e._drawnPoints.length-1,n=e._labelsGroup,i=function(){n&&n.animate({opacity:1},{duration:e._defaultDuration})};f(e._drawnPoints||[],function(e,n){n.animate(e===t?i:void 0,{r:n.bubbleSize,translateX:n.x,translateY:n.y})})},_beginUpdateData:c._beginUpdateData})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(96).chart,r=n(132).chart.bar,s=n(174),l=n(2),c=l.isDefined,d=n(7).normalizeEnum,u=o.extend,h=o.each,p=o.noop,f=10;t.stock=u({},a,{_animate:p,_applyMarkerClipRect:function(e){e.clipId=this._forceClipping?this._paneClipRectID:this._widePaneClipRectID},_updatePointsVisibility:r._updatePointsVisibility,_getOptionsForPoint:r._getOptionsForPoint,getErrorBarRangeCorrector:p,_createErrorBarGroup:p,areErrorBarsVisible:p,_createGroups:a._createGroups,_setMarkerGroupSettings:function(){var e=this,t=e._markersGroup,n=e._createPointStyles(e._getMarkerGroupOptions()),i=u(n.normal,{"class":"default-markers"}),o=u(n.positive.normal,{"class":"default-positive-markers"}),a=u(n.reduction.normal,{"class":"reduction-markers"}),r=u(n.reductionPositive.normal,{"class":"reduction-positive-markers"}),s={"class":"dxc-markers"};e._applyMarkerClipRect(s),t.attr(s),e._createGroup("defaultMarkersGroup",t,t,i),e._createGroup("reductionMarkersGroup",t,t,a),e._createGroup("defaultPositiveMarkersGroup",t,t,o),e._createGroup("reductionPositiveMarkersGroup",t,t,r)},_setGroupsSettings:function(){a._setGroupsSettings.call(this,!1)},_clearingAnimation:function(e,t){t()},_getCreatingPointOptions:function(){var e,t=this,n=t._predefinedPointOptions;return n||(e=this._getPointOptions(),t._predefinedPointOptions=n=u(!0,{styles:{}},e),n.styles.normal=n.styles.positive.normal=n.styles.reduction.normal=n.styles.reductionPositive.normal={"stroke-width":e.styles&&e.styles.normal&&e.styles.normal["stroke-width"]}),n},_checkData:function(e){return c(e.argument)&&void 0!==e.highValue&&void 0!==e.lowValue&&void 0!==e.openValue&&void 0!==e.closeValue},_processRange:function(e,t){s.processTwoValues(this,e,t,"highValue","lowValue")},_getRangeData:function(e,t){return s.calculateRangeData(this,e,t,"highValue","lowValue"),s.addRangeSeriesLabelPaddings(this),this._rangeData},_getPointData:function(e,t){var n,i,o=this,a=t.openValueField||"open",r=t.closeValueField||"close",s=t.highValueField||"high",l=t.lowValueField||"low";switch(o.level=t.reduction.level,d(o.level)){case"open":n=a;break;case"high":n=s;break;case"low":n=l;break;default:n=r,o.level="close"}return i=e[n],{argument:e[t.argumentField||"date"],highValue:e[s],lowValue:e[l],closeValue:e[r],openValue:e[a],reductionValue:i,tag:e[t.tagField||"tag"],isReduction:o._checkReduction(i)}},_parsePointStyle:function(e,t,n){return{stroke:e.color||t,"stroke-width":e.width,fill:e.color||n}},updateTemplateFieldNames:function(){var e=this,t=e._options,n=e.getValueFields(),i=e.name;t.openValueField=n[0]+i,t.highValueField=n[1]+i,t.lowValueField=n[2]+i,t.closeValueField=n[3]+i,t.tagField=e.getTagField()+i},_getDefaultStyle:function(e){var t=this,n=e.color||t._options.mainSeriesColor;return{normal:t._parsePointStyle(e,n,n),hover:t._parsePointStyle(e.hoverStyle,n,n),selection:t._parsePointStyle(e.selectionStyle,n,n)}},_getReductionStyle:function(e){var t=this,n=e.reduction.color;return{normal:t._parsePointStyle({color:n,width:e.width,hatching:e.hatching},n,n),hover:t._parsePointStyle(e.hoverStyle,n,n),selection:t._parsePointStyle(e.selectionStyle,n,n)}},_createPointStyles:function(e){var t,n,i,o=this,a=o._options.innerColor,r=o._getDefaultStyle(e);return t=u(!0,{},r),n=o._getReductionStyle(e),i=u(!0,{},n),t.normal.fill=t.hover.fill=t.selection.fill=a,i.normal.fill=i.hover.fill=i.selection.fill=a,r.positive=t,r.reduction=n,r.reductionPositive=i,r},_endUpdateData:function(){delete this.prevLevelValue,delete this._predefinedPointOptions},_checkReduction:function(e){var t=this,n=!1;return null!==e&&(c(t.prevLevelValue)&&(n=e<t.prevLevelValue),t.prevLevelValue=e),n},_fusionPoints:function(e,t){var n,i,o,a={},r=-(1/0),s=+(1/0);if(!e.length)return{};switch(h(e,function(e,t){t.hasValue()&&(r=Math.max(r,t.highValue),s=Math.min(s,t.lowValue),i=void 0!==i?i:t.openValue,o=void 0!==t.closeValue?t.closeValue:o)}),a.argument=t,a.openValue=i,a.closeValue=o,a.highValue=r,a.lowValue=s,a.tag=null,d(this.level)){case"open":n=i;break;case"high":n=r;break;case"low":n=s;break;default:n=o}return a.reductionValue=n,a.isReduction=this._checkReduction(n),a},_getPointSize:function(){return f},getValueFields:function(){var e=this._options;return[e.openValueField||"open",e.highValueField||"high",e.lowValueField||"low",e.closeValueField||"close"]},getArgumentField:function(){return this._options.argumentField||"date"},_beginUpdateData:p}),t.candlestick=u({},t.stock,{_createPattern:r._createPattern,_beginUpdateData:r._beginUpdateData,_parsePointStyle:function(e,n,i){var o=this._createPattern(e.color||i,e.hatching),a=t.stock._parsePointStyle.call(this,e,n,o);return a.fill=o,a}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(96),r=n(7),s=a.chart,l=n(132).chart.bar,c=o.extend,d=o.each,u=o.noop,h=r.map,p=isFinite,f=Math.max,_="inside";t.pie=c({},l,{_setGroupsSettings:s._setGroupsSettings,_createErrorBarGroup:u,_drawPoint:function(e){var t=e.point,n=e.legendCallback;s._drawPoint.call(this,e),!t.isVisible()&&t.setInvisibility(),n&&t.isSelected()&&n(t)("applySelected")},adjustLabels:function(){var e,t=this,n=t._points||[],i=[];d(n,function(e,t){t._label.isVisible()&&(t.setLabelTrackerData(),t._label.getLayoutOptions().position!==_&&(t.setLabelEllipsis(),i.push(t._label.getBoundingRect().width)))}),i.length&&(e=f.apply(null,i)),d(n,function(t,n){n._label.isVisible()&&n._label.getLayoutOptions().position!==_&&(n.setMaxLabelLength(e),n.updateLabelCoord())})},_processRange:u,_applyElementsClipRect:u,getColor:u,areErrorBarsVisible:u,_prepareSeriesToDrawing:u,_endUpdateData:function(){this._arrayArguments={},s._prepareSeriesToDrawing.call(this)},drawLabelsWOPoints:function(e){var t=this,n=t._options,i=t._points||[];return n.label.position===_?!1:(t._labelsGroup.append(t._extGroups.labelsGroup),d(i,function(t,n){n.drawLabel(e)}),!0)},_getCreatingPointOptions:function(e){return this._getPointOptions(e)},_updateOptions:function(e){this.labelSpace=0,this.innerRadius="pie"===this.type?0:e.innerRadius},_checkData:function(e){var t=l._checkData(e);return this._options.paintNullPoints?t:t&&null!==e.value},_createGroups:s._createGroups,_setMarkerGroupSettings:function(){var e=this;e._markersGroup.attr({"class":"dxc-markers"})},_getMainColor:function(e){var t=this,n=t._arrayArguments||{},i=e.argument;return n[i]=++n[i]||0,t._arrayArguments=n,t._options.mainSeriesColor(i,n[i])},_getPointOptions:function(e){return this._parsePointOptions(this._preparePointOptions(),this._options.label,e)},_getRangeData:function(){return this._rangeData},_getArrangeTotal:function(e){var t=0;return d(e,function(e,n){n.isVisible()&&(t+=n.initialValue)}),t},_createPointStyles:function(e,t){var n=this,i=e.color||n._getMainColor(t),o=n._getSpecialColor(i);return{normal:n._parsePointStyle(e,i,i),hover:n._parsePointStyle(e.hoverStyle,o,i),selection:n._parsePointStyle(e.selectionStyle,o,i),legendStyles:{normal:n._createLegendState(e,i),hover:n._createLegendState(e.hoverStyle,o),selection:n._createLegendState(e.selectionStyle,o)}}},_getArrangeMinShownValue:function(e,t){var n=this._options.minSegmentSize,i=0,o=0;return t=t||e.length,d(e,function(e,a){a.isVisible()&&(a.initialValue<n*t/360?i+=n:o+=a.initialValue)}),360>i?n*o/(360-i):0},_applyArrangeCorrection:function(e,t,n){var i,o=this._options,a="anticlockwise"!==o.segmentsDirection,s=p(o.startAngle)?r.normalizeAngle(o.startAngle):0,l=o.minSegmentSize,c=0,u=0;0===n&&(n=e.filter(function(e){return e.isVisible()}).length,u=1),d(a?e:e.concat([]).reverse(),function(e,o){var a,r=o.isVisible()?u||o.initialValue:0;l&&o.isVisible()&&t>r&&(a=t),i=r/n,o.correctValue(c,i,u+(a||0)),o.shiftedAngle=s,c+=a||r}),this._rangeData={val:{min:0,max:c}}},arrangePoints:function(){for(var e,t,n,i=this,o=i._originalPoints||[],a=i._options.minSegmentSize,r=!0,s=0,l=o.length;l>s&&r;)r=o[s].value<=0,s++;n=i._originalPoints=i._points=h(o,function(e){return null===e.value||!r&&e.value<0?(e.dispose(),null):e}),t=i._getArrangeTotal(n),a&&(e=this._getArrangeMinShownValue(n,t)),i._applyArrangeCorrection(n,e,t)},correctPosition:function(e){d(this._points,function(t,n){n.correctPosition(e)}),this.setVisibleArea(e.canvas)},correctRadius:function(e){d(this._points,function(t,n){n.correctRadius(e)})},correctLabelRadius:function(e){d(this._points,function(t,n){n.correctLabelRadius(e)})},setVisibleArea:function(e){this._visibleArea={minX:e.left,maxX:e.width-e.right,minY:e.top,maxY:e.height-e.bottom}},_applyVisibleArea:u,_animate:function(e){var t=this,n=0,i=.2,a=t._points,r=a&&a.length,s=1/(i*(r-1)+1),l=function(){t._animateComplete()},c=function(){a[n]&&a[n].animate(n===r-1?l:void 0,s,d),n++},d=function(e,t){t>=i&&(this.step=null,c())};e?c():o.each(a,function(e,t){t.animate(e===r-1?l:void 0)})},getVisiblePoints:function(){return h(this._points,function(e){return e.isVisible()?e:null})},_beginUpdateData:function(){this._deletePatterns()}}),t.doughnut=t.donut=t.pie}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){this.fullState=s.normalMark,this.series=e,this.update(t,n),this._emptySettings={fill:null,stroke:null,dashStyle:null}}var a=n(1),r={},s=n(129).states,l=n(118),c=n(221),d=n(547),u=n(339),h=n(340),p=n(549),f=n(337),_=n(550),g=n(548),m=a.each,v=a.extend,x=n(2),w=x.isDefined,y=a.noop,b="symbolPoint",C="polarSymbolPoint",k="barPoint",S="polarBarPoint",T="piePoint",I={chart:{scatter:b,line:b,spline:b,stepline:b,stackedline:b,fullstackedline:b,stackedspline:b,fullstackedspline:b,stackedsplinearea:b,fullstackedsplinearea:b,area:b,splinearea:b,steparea:b,stackedarea:b,fullstackedarea:b,rangearea:"rangeSymbolPoint",bar:k,stackedbar:k,fullstackedbar:k,rangebar:"rangeBarPoint",bubble:"bubblePoint",stock:"stockPoint",candlestick:"candlestickPoint"},pie:{pie:T,doughnut:T,donut:T},polar:{scatter:C,line:C,area:C,bar:S,stackedbar:S}};t.Point=o,r.symbolPoint=l,r.barPoint=c,r.bubblePoint=d,r.piePoint=u,r.rangeSymbolPoint=h,r.rangeBarPoint=p,r.candlestickPoint=f,r.stockPoint=_,r.polarSymbolPoint=g.polarSymbolPoint,r.polarBarPoint=g.polarBarPoint,o.prototype={constructor:o,getColor:function(){return this._styles.normal.fill||this.series.getColor()},_getStyle:function(){return this._styles[this._currentStyle||"normal"]},update:function(e,t){this.updateOptions(t),this.updateData(e)},updateData:function(e){var t=this;t.argument=t.initialArgument=t.originalArgument=e.argument,t.tag=e.tag,t.index=e.index,t.lowError=e.lowError,t.highError=e.highError,t._updateData(e),!t.hasValue()&&t.setInvisibility(),t._fillStyle(),t._updateLabelData()},deleteMarker:function(){var e=this;e.graphic&&e.graphic.dispose(),e.graphic=null},_drawErrorBar:y,draw:function(e,t,n,i){var o=this;return o._needDeletingOnDraw&&(o.deleteMarker(),o._needDeletingOnDraw=!1),o._needClearingOnDraw&&(o.clearMarker(),o._needClearingOnDraw=!1),o._hasGraphic()?o._updateMarker(n,void 0,t.markers):o._getMarkerVisibility()&&o._drawMarker(e,t.markers,n,i),o._drawLabel(),o._drawErrorBar(e,t.errorBars,n),o},applyStyle:function(e){var t=this;if(t._currentStyle=e,t.graphic){if("normal"===e){if(t.isHovered())return void t.applyStyle("hover");t.clearMarker()}else t.graphic.toForeground();t._updateMarker(!0,t._styles[e])}return t},releaseHoverState:function(){var e=this;e.graphic&&!e.isSelected()&&e.graphic.toBackground()},select:function(){this.series.selectPoint(this)},clearSelection:function(){this.series.deselectPoint(this)},showTooltip:function(){this.series.showPointTooltip(this)},hideTooltip:function(){this.series.hidePointTooltip(this)},_checkLabelsChanging:function(e,t){var n=~t.indexOf("range"),i=~e.indexOf("range");return i&&!n||!i&&n},updateOptions:function(e){if(e){var t=this,n=t._options,i=e.widgetType,o=n&&n.type,a=e.type,s=I[i][a];o!==a?(t._needDeletingOnDraw=!0,t._needClearingOnDraw=!1,o&&(t._checkLabelsChanging(o,a)&&t.deleteLabel(),t._resetType(r[I[o]])),t._setType(r[s])):(t._needDeletingOnDraw=t._checkSymbol(n,e),t._needClearingOnDraw=t._checkCustomize(n,e)),t._options=e,t._fillStyle(),t._updateLabelOptions(s)}},translate:function(e){var t=this;t.translators=e||t.translators,t.translators&&t.hasValue()&&t._translate(t.translators)},_checkCustomize:function(e,t){return e.styles.usePointCustomOptions&&!t.styles.usePointCustomOptions},_getCustomLabelVisibility:function(){return this._styles.useLabelCustomOptions?!!this._options.label.visible:null},getBoundingRect:function(){return this._getGraphicBbox()},_resetType:function(e){for(var t in e)delete this[t]},_setType:function(e){for(var t in e)this[t]=e[t]},isInVisibleArea:function(){return this.inVisibleArea},isSelected:function(){return!!(this.fullState&s.selectedMark)},isHovered:function(){return!!(this.fullState&s.hoverMark)},getOptions:function(){return this._options},animate:function(e,t,n){return this.graphic?void this.graphic.animate(t,{partitionDuration:n},e):void(e&&e())},getCoords:function(e){var t=this;return e?t._options.rotated?{x:t.minX,y:t.y}:{x:t.x,y:t.minY}:{x:t.x,y:t.y}},getDefaultCoords:function(){var e=this;return e._options.rotated?{x:e.defaultX,y:e.y}:{x:e.x,y:e.defaultY}},_getVisibleArea:function(){return this.series._visibleArea},_calculateVisibility:function(e,t,n,i){var o,a,r=this,s=r._options.rotated;r.translators&&(o=r.translators.x.getCanvasVisibleArea(),a=r.translators.y.getCanvasVisibleArea(),o.min>e+(n||0)||o.max<e||a.min>t+(i||0)||a.max<t||s&&w(n)&&0!==n&&(o.min===e+n||o.max===e)||!s&&w(i)&&0!==i&&(a.min===t+i||a.max===t)?r.inVisibleArea=!1:r.inVisibleArea=!0)},hasValue:function(){return null!==this.value&&null!==this.minValue},getBoundaryCoords:function(){return this.getBoundingRect()},correctPosition:y,correctRadius:y,correctLabelRadius:y,getCrosshairData:y,getPointRadius:y,_populatePointShape:y,_checkSymbol:y,getMarkerCoords:y,hide:y,show:y,hideMarker:y,setInvisibility:y,clearVisibility:y,isVisible:y,resetCorrection:y,correctValue:y,resetValue:y,setPercentValue:y,correctCoordinates:y,coordsIn:y,getTooltipParams:y,setLabelEllipsis:y,setLabelTrackerData:y,updateLabelCoord:y,drawLabel:y,correctLabelPosition:y,setMaxLabelLength:y,dispose:function(){var e=this;e.deleteMarker(),e.deleteLabel(),e._errorBar&&this._errorBar.dispose(),e._options=e._styles=e.series=e.translators=e._errorBar=null},getTooltipFormatObject:function(e){var t=this,n=t._getFormatObject(e),i=[],o=[];return t.stackPoints&&(m(t.stackPoints,function(t,n){if(n.isVisible()){var a=n._getFormatObject(e);o.push(a),i.push(a.seriesName+": "+a.valueText)}}),v(n,{points:o,valueText:i.join("\n"),stackName:t.stackPoints.stackName})),n},setHole:function(e,t){var n=this,i=isFinite(n.minValue)?n.minValue:0;w(e)&&("left"===t?(n.leftHole=n.value-e,n.minLeftHole=i-e):(n.rightHole=n.value-e,n.minRightHole=i-e))},resetHoles:function(){this.leftHole=null,this.minLeftHole=null,this.rightHole=null,this.minRightHole=null},getLabel:function(){return this._label}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(118),r=o.extend,s=20;i.exports=r({},a,{correctCoordinates:function(e){this.bubbleSize=e/2},_drawMarker:function(e,t,n){var i=this,o=r({translateX:i.x,translateY:i.y},i._getStyle());i.graphic=e.circle(0,0,n?0:i.bubbleSize).attr(o).data({"chart-data-point":i}).append(t)},getTooltipParams:function(e){var t,n=this,i=n.graphic;if(i)return t=i.getBBox().height,{x:n.x,y:s>t||"edge"===e?this.y-t/2:this.y,offset:0}},_getLabelFormatObject:function(){var e=a._getLabelFormatObject.call(this);return e.size=this.initialSize,e},_updateData:function(e){a._updateData.call(this,e),this.size=this.initialSize=e.size},_getGraphicBbox:function(){var e=this;return e._getSymbolBbox(e.x,e.y,e.bubbleSize)},_updateMarker:function(e,t){var n=this;t=t||n._getStyle(),e||(t=o.extend({r:n.bubbleSize,translateX:n.x,translateY:n.y},t)),n.graphic.attr(t)},_getFormatObject:function(e){var t=a._getFormatObject.call(this,e);return t.sizeText=e.formatValue(this.initialSize),t},_storeTrackerR:function(){return this.bubbleSize},_getLabelCoords:function(e){var t;return t="inside"===e.getLayoutOptions().position?this._getLabelCoordOfPosition(e,"inside"):a._getLabelCoords.call(this,e)}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=o.extend,r=n(2),s=n(118),l=n(221),c=n(339),d=r.isDefined,u=n(7),h=u.normalizeAngle,p=Math,f=p.max,_=90,g="canvas_position_start",m="canvas_position_top",v="canvas_position_end",x="canvas_position_default";t.polarSymbolPoint=a({},s,{_getLabelCoords:c._getLabelCoords,_moveLabelOnCanvas:l._moveLabelOnCanvas,_getLabelPosition:function(){return"outside"},_translate:function(e){var t=this,n=e.translate(t.argument,t.value),i=e.translate(g,m);t.vx=h(n.angle),t.vy=t.radiusOuter=t.radiusLabels=n.radius,t.radius=n.radius,t.middleAngle=-n.angle,t.angle=-n.angle,t.x=n.x,t.y=n.y,t.defaultX=t.centerX=i.x,t.defaultY=t.centerY=i.y,t._translateErrorBars(e),t.inVisibleArea=!0},_translateErrorBars:function(e){var t=this,n=t._options.errorBars;n&&(d(t.lowError)&&(t._lowErrorCoord=t.centerY-e.translate(t.argument,t.lowError).radius),d(t.highError)&&(t._highErrorCoord=t.centerY-e.translate(t.argument,t.highError).radius),t._errorBarPos=t.centerX,t._baseErrorBarPos="stdDeviation"===n.type?t._lowErrorCoord+(t._highErrorCoord-t._lowErrorCoord)/2:t.centerY-t.radius)},_getTranslates:function(e){return e?this.getDefaultCoords():{x:this.x,y:this.y}},getDefaultCoords:function(){var e=u.getCosAndSin(-this.angle),t=this.translators.translate(g,x).radius,n=this.defaultX+t*e.cos,i=this.defaultY+t*e.sin;return{x:n,y:i}},_addLabelAlignmentAndOffset:function(e,t){return t},_checkLabelPosition:function(e,t){var n=this,i=n._getVisibleArea(),o=n._getGraphicBbox();return n._isPointInVisibleArea(i,o)&&(t=n._moveLabelOnCanvas(t,i,e.getBoundingRect())),t},_getErrorBarSettings:function(e,t){var n=s._getErrorBarSettings.call(this,e,t);return n.rotate=_-this.angle,n.rotateX=this.centerX,n.rotateY=this.centerY,n},getCoords:function(e){return e?this.getDefaultCoords():{x:this.x,y:this.y}}}),t.polarBarPoint=a({},l,{_translateErrorBars:t.polarSymbolPoint._translateErrorBars,_getErrorBarSettings:t.polarSymbolPoint._getErrorBarSettings,_moveLabelOnCanvas:l._moveLabelOnCanvas,_getLabelCoords:c._getLabelCoords,_getLabelConnector:c._getLabelConnector,getBoundaryCoords:c.getBoundaryCoords,getTooltipParams:c.getTooltipParams,_getLabelPosition:c._getLabelPosition,_translate:function(e){var n=this,i=e.translate(m,v).radius;n.radiusInner=e.translate(n.argument,n.minValue).radius,t.polarSymbolPoint._translate.call(n,e),null===n.radiusInner?n.radiusInner=n.radius=i:null===n.radius&&(this.radius=this.value>=0?i:0),n.radiusOuter=n.radiusLabels=f(n.radiusInner,n.radius),n.radiusInner=n.defaultRadius=p.min(n.radiusInner,n.radius),n.middleAngle=n.angle=-h(n.middleAngleCorrection-n.angle)},_checkVisibility:function(e){return e.checkVisibility(this.radius,this.radiusInner)},getMarkerCoords:function(){return{x:this.centerX,y:this.centerY,outerRadius:this.radiusOuter,innerRadius:this.defaultRadius,startAngle:this.middleAngle-this.interval/2,endAngle:this.middleAngle+this.interval/2}},_drawMarker:function(e,t,n){var i=this,o=i._getStyle(),a=i.getMarkerCoords(),r=a.innerRadius,s=a.outerRadius,l=i.translators.translate(i.argument,x),c=a.x,d=a.y;n&&(r=0,s=0,c=l.x,d=l.y),i.graphic=e.arc(c,d,r,s,a.startAngle,a.endAngle).attr(o).data({"chart-data-point":i}).append(t)},_checkLabelPosition:function(e,t){var n=this,i=n._getVisibleArea(),o=u.getCosAndSin(n.middleAngle),a=n.centerX+n.defaultRadius*o.cos,r=n.centerY-n.defaultRadius*o.sin;return a>i.minX&&a<i.maxX&&r>i.minY&&r<i.maxY&&(t=n._moveLabelOnCanvas(t,i,e.getBoundingRect())),t},_addLabelAlignmentAndOffset:function(e,t){return t},correctCoordinates:function(e){this.middleAngleCorrection=e.offset,this.interval=e.width},coordsIn:function(e,t){var n=this.translators.untranslate(e,t),i=this.getMarkerCoords(),o=i.startAngle<i.endAngle?-n.phi>=i.startAngle&&-n.phi<=i.endAngle:-n.phi<=i.startAngle&&-n.phi>=i.endAngle;return n.r>=i.innerRadius&&n.r<=i.outerRadius&&o}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(221),r=n(340),s=o.extend;i.exports=s({},a,{deleteLabel:r.deleteLabel,_getFormatObject:r._getFormatObject,clearVisibility:function(){var e=this.graphic;e&&e.attr("visibility")&&e.attr({visibility:null}),this._topLabel.clearVisibility(),this._bottomLabel.clearVisibility()},setInvisibility:function(){var e=this.graphic;e&&"hidden"!==e.attr("visibility")&&e.attr({visibility:"hidden"}),this._topLabel.hide(),this._bottomLabel.hide()},getTooltipParams:function(e){var t,n,i=this,o="edge"===e;return i._options.rotated?(t=o?i.x+i.width:i.x+i.width/2,n=i.y+i.height/2):(t=i.x+i.width/2,n=o?i.y:i.y+i.height/2),{x:t,y:n,offset:0}},_translate:function(e){var t=this,n=a;n._translate.call(t,e),t._options.rotated?t.width=t.width||1:t.height=t.height||1},_updateData:r._updateData,_getLabelPosition:r._getLabelPosition,_getLabelMinFormatObject:r._getLabelMinFormatObject,_updateLabelData:r._updateLabelData,_updateLabelOptions:r._updateLabelOptions,getCrosshairData:r.getCrosshairData,_createLabel:r._createLabel,_checkOverlay:r._checkOverlay,_checkLabelsOverlay:r._checkLabelsOverlay,_getOverlayCorrections:r._getOverlayCorrections,_drawLabel:r._drawLabel,_getLabelCoords:r._getLabelCoords,_getGraphicBbox:function(e){var t="top"===e,n=a._getGraphicBbox.call(this);return this._options.rotated?(n.x=t?n.x+n.width:n.x,n.width=0):(n.y=t?n.y:n.y+n.height,n.height=0),n},getLabel:r.getLabel,getBoundingRect:o.noop})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(337),r=o.extend,s=o.isNumeric;i.exports=r({},a,{_getPoints:function(){var e,t=this,n=t._options.rotated?function(e,t){return[t,e]}:function(e,t){return[e,t]},i=s(t.openY),o=s(t.closeY),a=t.x,r=t.width;return e=[].concat(n(a,t.highY)),i&&(e=e.concat(n(a,t.openY))),i&&(e=e.concat(n(a-r/2,t.openY))),i&&(e=e.concat(n(a,t.openY))),o&&(e=e.concat(n(a,t.closeY))),o&&(e=e.concat(n(a+r/2,t.closeY))),o&&(e=e.concat(n(a,t.closeY))),e=e.concat(n(a,t.lowY))},_drawMarkerInGroup:function(e,t,n){this.graphic=n.path(this._getPoints(),"line").attr({"stroke-linecap":"square"}).attr(t).data({"chart-data-point":this}).sharp().append(e)},_getMinTrackerWidth:function(){var e=2+this._styles.normal["stroke-width"];return e+e%2}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=o.extend,s=a.isDefined,l=n(7).map,c=o.noop,d=n(174),u=n(96).chart,h=n(132).chart.bar,p=n(173).chart.area;t.chart={};var f={_beginUpdateData:c,areErrorBarsVisible:c,_createErrorBarGroup:c,_checkData:function(e){return s(e.argument)&&void 0!==e.value&&void 0!==e.minValue},updateTemplateFieldNames:function(){var e=this,t=e._options,n=e.getValueFields(),i=e.name;t.rangeValue1Field=n[0]+i,t.rangeValue2Field=n[1]+i,t.tagField=e.getTagField()+i},_processRange:function(e,t){d.processTwoValues(this,e,t,"value","minValue")},_getRangeData:function(e,t){return d.calculateRangeData(this,e,t,"value","minValue"),d.addRangeSeriesLabelPaddings(this),this._rangeData},_getPointData:function(e,t){return{tag:e[t.tagField||"tag"],minValue:e[t.rangeValue1Field||"val1"],value:e[t.rangeValue2Field||"val2"],argument:e[t.argumentField||"arg"]}},_fusionPoints:function(e,t){var n=u._calcMedianValue,i=n.call(this,e,"value"),o=n.call(this,e,"minValue");return null!==i&&null!==o||(i=o=null),{minValue:o,value:i,argument:t,tag:null}},getValueFields:function(){return[this._options.rangeValue1Field||"val1",this._options.rangeValue2Field||"val2"]}};t.chart.rangebar=r({},h,f),t.chart.rangearea=r({},p,{_drawPoint:function(e){var t=e.point;t.isInVisibleArea()?(t.clearVisibility(),t.draw(this._renderer,e.groups),this._drawnPoints.push(t),t.visibleTopMarker||t.hideMarker("top"),t.visibleBottomMarker||t.hideMarker("bottom")):t.setInvisibility()},_prepareSegment:function(e,t){var n=this._processSinglePointsAreaSegment(e,t),i=l(n,function(e){return e.getCoords(!0)});return{line:n,bottomLine:i,area:l(n,function(e){return e.getCoords()}).concat(i.slice().reverse()),singlePointSegment:n!==e}},_getDefaultSegment:function(e){var t=p._getDefaultSegment.call(this,e);return t.bottomLine=t.line,t},_removeElement:function(e){p._removeElement.call(this,e),e.bottomLine&&e.bottomLine.remove()},_drawElement:function(e,t){var n=this,i=p._drawElement.call(n,e,t);return i.bottomLine=n._bordersGroup&&n._createBorderElement(e.bottomLine,{"stroke-width":n._styles.normal.border["stroke-width"]}).append(n._bordersGroup),i},_applyStyle:function(e){var t=this,n=t._elementsGroup,i=t._bordersGroup;n&&n.attr(e.elements),i&&i.attr(e.border),o.each(t._graphics||[],function(t,n){n.line&&n.line.attr({"stroke-width":e.border["stroke-width"]}),n.bottomLine&&n.bottomLine.attr({"stroke-width":e.border["stroke-width"]})})},_updateElement:function(e,t,n,i,o){p._updateElement.call(this,e,t,n,i,o);var a={points:t.bottomLine},r=e.bottomLine;r&&(n?r.animate(a,i):r.attr(a))}},f)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n,i){return e=g.clone(e),e.value=t,e.minValue=n,e.translate(),e.argument=e.argument+i,e}function a(e){for(var t,n,i=0,a=[],r=e.length;r>i;)t=e[i],n=[t],t.leftHole&&(n=[o(t,t.leftHole,t.minLeftHole,"left"),t]),t.rightHole&&n.push(o(t,t.rightHole,t.minRightHole,"right")),a.push(n),i++;return[].concat.apply([],a)}function r(e,t){for(var n;!n&&e;)n=e._segmentByArg&&e._segmentByArg[t],e=e._prevSeries;return n}var s=n(1),l=n(173).chart,c=l.area,d=n(132),u=d.chart.bar,h=n(220).chart,p=n(174),f=s.extend,_=n(7),g=n(30),m=s.noop,v={_processRange:m,getErrorBarRangeCorrector:m,_fillErrorBars:m,_calculateErrorBars:m,_processStackedRange:function(){var e,t=this;t._resetRangeData(),s.each(t.getAllPoints(),function(n,i){p.processRange(t,i,e),e=i})},_getRangeData:function(){return this._processStackedRange(),c._getRangeData.apply(this,arguments)}},x=f({},v,{_getRangeData:function(e,t){var n=this;return n._processStackedRange(),p.calculateRangeData(n,e,t),p.addLabelPaddings(n),p.processFullStackedRange(n),p.calculateRangeMinValue(n,e),n._rangeData},isFullStackedSeries:function(){return!0}});t.chart={},t.polar={},t.chart.stackedline=f({},h.line,v,{_getRangeData:function(){return this._processStackedRange(),h.line._getRangeData.apply(this,arguments)}}),t.chart.stackedspline=f({},h.spline,v,{_getRangeData:t.chart.stackedline._getRangeData}),t.chart.fullstackedline=f({},h.line,x,{_getRangeData:function(e,t){var n=this;return n._processStackedRange(),p.calculateRangeData(n,e,t),p.addLabelPaddings(n),p.processFullStackedRange(n),n._rangeData}}),t.chart.fullstackedspline=f({},h.spline,x,{_getRangeData:t.chart.fullstackedline._getRangeData}),t.chart.stackedbar=f({},u,v,{_getRangeData:function(){return this._processStackedRange(),u._getRangeData.apply(this,arguments)}}),t.chart.fullstackedbar=f({},u,x,{_getRangeData:function(){var e=x._getRangeData.apply(this,arguments);return e.arg.stick=!1,e}}),t.chart.stackedarea=f({},c,v,{_prepareSegment:function(e,t){return c._prepareSegment.call(this,a(e,this._prevSeries),t)},_appendInGroup:function(){this._group.append(this._extGroups.seriesGroup).toBackground()}}),t.chart.stackedsplinearea=f({},l.splinearea,v,{_prepareSegment:function(e,t){var n,i=this;if(e=a(e,i._prevSeries),this._prevSeries&&1!==e.length){for(var o=h.spline._calculateBezierPoints(e,t),c=_.map(e,function(e){var t=e.getCoords(!0);return t.argument=e.argument,t}),d=[],u={},p=0,f=i._prevSeries._segments.length;f>p;)d=d.concat(i._prevSeries._segments[p].line),p++;s.each(d,function(e,t){if(null!==t.argument){var n=t.argument.valueOf();u[n]?u[n].push(t):u[n]=[t]}}),i._prevSeries._segmentByArg=u,c=h.spline._calculateBezierPoints(c,t),s.each(c,function(e,t){var n,o=t.argument.valueOf();e%3===0&&(n=u[o]||r(i._prevSeries,o),n&&(c[e-1]&&n[0]&&(c[e-1]=n[0]),c[e+1]&&(c[e+1]=n[2]||t)))}),n={line:o,area:o.concat(c.reverse())},i._areaPointsToSplineAreaPoints(n.area)}else n=l.splinearea._prepareSegment.call(this,e,t);return n}}),t.chart.fullstackedarea=f({},c,x,{_prepareSegment:t.chart.stackedarea._prepareSegment,_appendInGroup:t.chart.stackedarea._appendInGroup}),t.chart.fullstackedsplinearea=f({},l.splinearea,x,{_prepareSegment:t.chart.stackedsplinearea._prepareSegment}),t.polar.stackedbar=f({},d.polar.bar,v,{_getRangeData:function(){return this._processStackedRange(),d.polar.bar._getRangeData.apply(this,arguments)}})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(555)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(341),r=.02,s=.98,l=.1,c=.9,d=300,u=30,h=1,p=2,f=Number,_=isFinite,g=a.inherit({_rootClassPrefix:"dxb",_rootClass:"dxb-bullet",_widgetType:"bullet",_defaultSize:{width:d,height:u,left:h,right:h,top:p,bottom:p},_disposeWidgetElements:function(){delete this._zeroLevelPath,delete this._targetPath,delete this._barValuePath},_cleanWidgetElements:function(){this._zeroLevelPath.remove(),this._targetPath.remove(),this._barValuePath.remove()},_drawWidgetElements:function(){this._drawBullet(),this._drawn()},_createHtmlElements:function(){var e=this._renderer;this._zeroLevelPath=e.path(void 0,"line").attr({"class":"dxb-zero-level","stroke-linecap":"square"}),this._targetPath=e.path(void 0,"line").attr({"class":"dxb-target","stroke-linecap":"square"}),this._barValuePath=e.path(void 0,"line").attr({"class":"dxb-bar-value","stroke-linecap":"square"})},_prepareOptions:function(){var e,t,n,i,o,a,r,s,l=this;l._allOptions=e=l.callBase(),r=void 0===l._allOptions.value,s=void 0===l._allOptions.target,l._tooltipEnabled=!(r&&s),r&&(l._allOptions.value=0),s&&(l._allOptions.target=0),e.value=o=f(e.value),e.target=a=f(e.target),void 0===l._allOptions.startScaleValue&&(l._allOptions.startScaleValue=o>a?a:o,l._allOptions.startScaleValue=l._allOptions.startScaleValue<0?l._allOptions.startScaleValue:0),void 0===l._allOptions.endScaleValue&&(l._allOptions.endScaleValue=a>o?a:o),e.startScaleValue=t=f(e.startScaleValue),e.endScaleValue=n=f(e.endScaleValue),t>n&&(i=n,l._allOptions.endScaleValue=t,l._allOptions.startScaleValue=i,l._allOptions.inverted=!0)},_updateRange:function(){var e=this,t=e._allOptions;e._ranges={arg:{invert:t.inverted,min:t.startScaleValue,max:t.endScaleValue,axisType:"continuous",dataType:"numeric"},val:{min:0,max:1,axisType:"continuous",dataType:"numeric"}}},_drawBullet:function(){var e=this,t=e._allOptions,n=t.startScaleValue!==t.endScaleValue,i=_(t.startScaleValue),o=_(t.endScaleValue),a=_(t.value),r=_(t.target);n&&o&&i&&r&&a&&(this._drawBarValue(),this._drawTarget(),this._drawZeroLevel())},_getTargetParams:function(){var e=this,t=e._allOptions,n=e._translatorY,i=e._translatorX.translate(t.target);return{points:[i,n.translate(r),i,n.translate(s)],stroke:t.targetColor,"stroke-width":t.targetWidth}},_getBarValueParams:function(){var e,t,n=this,i=n._allOptions,o=n._translatorX,a=n._translatorY,r=i.startScaleValue,s=i.endScaleValue,d=i.value,u=a.translate(l),h=a.translate(c);return d>0?(e=0>=r?0:r,t=d>=s?s:e>d?e:d):(e=s>=0?0:s,
t=r>d?r:d>e?e:d),e=o.translate(e),t=o.translate(t),{points:[e,h,t,h,t,u,e,u],fill:i.color}},_getZeroLevelParams:function(){var e=this,t=e._translatorY,n=e._translatorX.translate(0);return{points:[n,t.translate(r),n,t.translate(s)],stroke:e._allOptions.targetColor,"stroke-width":1}},_drawZeroLevel:function(){var e=this,t=e._allOptions;0>t.endScaleValue||0<t.startScaleValue||!t.showZeroLevel||e._zeroLevelPath.attr(e._getZeroLevelParams()).sharp().append(e._renderer.root)},_drawTarget:function(){var e=this,t=e._allOptions,n=t.target;n>t.endScaleValue||n<t.startScaleValue||!t.showTarget||e._targetPath.attr(e._getTargetParams()).sharp().append(e._renderer.root)},_drawBarValue:function(){this._barValuePath.attr(this._getBarValueParams()).append(this._renderer.root)},_getTooltipCoords:function(){var e=this._canvas,t=this._renderer.getRootOffset(),n=this._barValuePath.getBBox();return{x:n.x+n.width/2+t.left,y:e.height/2+t.top}},_getTooltipData:function(){var e=this,t=e._tooltip,n=e._allOptions,i=n.value,o=n.target,a=t.formatValue(i),r=t.formatValue(o);return{originalValue:i,originalTarget:o,value:a,target:r,valueText:["Actual Value:",a,"Target Value:",r]}},_isTooltipEnabled:function(){return this._tooltipEnabled}});o.each(["color","targetColor","targetWidth","showTarget","showZeroLevel","value","target","startScaleValue","endScaleValue"],function(e,t){g.prototype._optionChangesMap[t]="OPTIONS"}),n(3)("dxBullet",g),i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(341),a=n(2),r=n(256),s=n(260),l=1,c=50,d=4,u=250,h=30,p=5,f=3,_={line:!0,spline:!0,stepline:!0,area:!0,steparea:!0,splinearea:!0,bar:!0,winloss:!0},g=Math,m=g.abs,v=g.round,x=g.max,w=g.min,y=isFinite,b=n(7),C=b.map,k=b.normalizeEnum,S=a.isDefined,T=Number,I=String,D=o.inherit({_rootClassPrefix:"dxsl",_rootClass:"dxsl-sparkline",_widgetType:"sparkline",_defaultSize:{width:u,height:h,left:p,right:p,top:f,bottom:f},_initCore:function(){this.callBase(),this._createSeries()},_initialChanges:["DATA_SOURCE"],_dataSourceChangedHandler:function(){this._requestChange(["UPDATE"])},_updateWidgetElements:function(){this._updateSeries(),this.callBase()},_disposeWidgetElements:function(){var e=this;e._series&&e._series.dispose(),e._series=e._seriesGroup=e._seriesLabelGroup=null},_cleanWidgetElements:function(){this._seriesGroup.remove(),this._seriesLabelGroup.remove(),this._seriesGroup.clear(),this._seriesLabelGroup.clear()},_drawWidgetElements:function(){this._dataSource.isLoaded()&&(this._drawSeries(),this._drawn())},_prepareOptions:function(){var e=this;e._allOptions=e.callBase(),e._allOptions.type=k(e._allOptions.type),_[e._allOptions.type]||(e._allOptions.type="line")},_createHtmlElements:function(){this._seriesGroup=this._renderer.g().attr({"class":"dxsl-series"}),this._seriesLabelGroup=this._renderer.g().attr({"class":"dxsl-series-labels"})},_createSeries:function(){this._series=new s.Series({renderer:this._renderer,seriesGroup:this._seriesGroup,labelsGroup:this._seriesLabelGroup},{widgetType:"chart",type:"line"})},_updateSeries:function(){var e,t,n=this,i=n._series;n._prepareDataSource(),t=n._prepareSeriesOptions(),i.updateOptions(t),e={groups:[{series:[i]}]},e.argumentOptions={type:"bar"===t.type?"discrete":void 0},n._simpleDataSource=r.validateData(n._simpleDataSource,e,n._incidentOccurred,{checkTypeForAllData:!1,convertToAxisDataType:!0,sortingMethod:!0})[i.getArgumentField()],i.updateData(n._simpleDataSource),n._groupsDataCategories=e.categories},_optionChangesMap:{dataSource:"DATA_SOURCE"},_optionChangesOrder:["DATA_SOURCE"],_change_DATA_SOURCE:function(){this._updateDataSource()},_parseNumericDataSource:function(e,t,n){var i=this.option("ignoreEmptyPoints");return C(e,function(e,o){var a,r,s=null;return void 0!==e&&(s={},a=y(e),s[t]=a?I(o):e[t],r=a?e:e[n],s[n]=null===r?i?void 0:r:T(r),s=void 0!==s[t]&&void 0!==s[n]?s:null),s})},_parseWinlossDataSource:function(e,t,n){var i=-1,o=0,a=1,r=1e-4,s=this._allOptions.winlossThreshold;return C(e,function(e){var l={};return l[t]=e[t],m(e[n]-s)<r?l[n]=o:e[n]>s?l[n]=a:l[n]=i,l})},_prepareDataSource:function(){var e=this,t=e._allOptions,n=t.argumentField,i=t.valueField,o=e._dataSource.items()||[],a=e._parseNumericDataSource(o,n,i);"winloss"===t.type?(e._winlossDataSource=a,e._simpleDataSource=e._parseWinlossDataSource(a,n,i)):e._simpleDataSource=a},_prepareSeriesOptions:function(){var e=this,t=e._allOptions,n="winloss"===t.type?"bar":t.type;return{visible:!0,argumentField:t.argumentField,valueField:t.valueField,color:t.lineColor,width:t.lineWidth,widgetType:"chart",type:n,opacity:-1!==n.indexOf("area")?e._allOptions.areaOpacity:void 0,customizePoint:e._getCustomizeFunction(),point:{size:t.pointSize,symbol:t.pointSymbol,border:{visible:!0,width:2},color:t.pointColor,visible:!1,hoverStyle:{border:{}},selectionStyle:{border:{}}},border:{color:t.lineColor,width:t.lineWidth,visible:"bar"!==n}}},_createBarCustomizeFunction:function(e){var t=this,n=t._allOptions,i=t._winlossDataSource;return function(){var t,o=this.index,a="winloss"===n.type,r=a?n.winlossThreshold:0,s=a?i[o][n.valueField]:this.value,l=a?n.winColor:n.barPositiveColor,c=a?n.lossColor:n.barNegativeColor;return t=s>=r?l:c,o!==e.first&&o!==e.last||(t=n.firstLastColor),o===e.min&&(t=n.minColor),o===e.max&&(t=n.maxColor),{color:t}}},_createLineCustomizeFunction:function(e){var t=this,n=t._allOptions;return function(){var t,i=this.index;return i!==e.first&&i!==e.last||(t=n.firstLastColor),i===e.min&&(t=n.minColor),i===e.max&&(t=n.maxColor),t?{visible:!0,border:{color:t}}:{}}},_getCustomizeFunction:function(){var e,t=this,n=t._allOptions,i=t._winlossDataSource||t._simpleDataSource,o=t._getExtremumPointsIndexes(i);return e="winloss"===n.type||"bar"===n.type?t._createBarCustomizeFunction(o):t._createLineCustomizeFunction(o)},_getExtremumPointsIndexes:function(e){var t=this,n=t._allOptions,i=e.length-1,o={};return t._minMaxIndexes=t._findMinMax(e),n.showFirstLast&&(o.first=0,o.last=i),n.showMinMax&&(o.min=t._minMaxIndexes.minIndex,o.max=t._minMaxIndexes.maxIndex),o},_findMinMax:function(e){var t,n,i=this,o=i._allOptions.valueField,a=e[0]||{},r=a[o]||0,s=r,l=r,c=0,d=0,u=e.length;for(n=1;u>n;n++)t=e[n][o],s>t&&(s=t,c=n),t>l&&(l=t,d=n);return{minIndex:c,maxIndex:d}},_updateRange:function(){var e,t,n=this,i=n._series,o=i.type,a="bar"===o,r="winloss"===o,s=.15,l=.1,c=1,d=-1,u=i.getRangeData(),h=n._allOptions.minValue,p=S(h)&&y(h),f=n._allOptions.maxValue,_=S(f)&&y(f);e=(u.val.max-u.val.min)*s,a||r||"area"===o?(0!==u.val.min&&(u.val.min-=e),0!==u.val.max&&(u.val.max+=e)):(u.val.min-=e,u.val.max+=e),(p||_)&&(p&&_?(u.val.minVisible=w(h,f),u.val.maxVisible=x(h,f)):(u.val.minVisible=p?T(h):void 0,u.val.maxVisible=_?T(f):void 0),r&&(u.val.minVisible=p?x(u.val.minVisible,d):void 0,u.val.maxVisible=_?w(u.val.maxVisible,c):void 0)),i.getPoints().length>1&&(a?(t=(u.arg.max-u.arg.min)*l,u.arg.min=u.arg.min-t,u.arg.max=u.arg.max+t):u.arg.stick=!0),u.arg.categories=n._groupsDataCategories,n._ranges=u},_getBarWidth:function(e){var t=this,n=t._canvas,i=e*d,o=n.width-n.left-n.right-i,a=v(o/e);return l>a&&(a=l),a>c&&(a=c),a},_correctPoints:function(){var e,t,n=this,i=n._allOptions.type,o=n._series.getPoints(),a=o.length;if("bar"===i||"winloss"===i)for(e=n._getBarWidth(a),t=0;a>t;t++)o[t].correctCoordinates({width:e,offset:0})},_drawSeries:function(){var e=this;e._simpleDataSource.length>0&&(e._correctPoints(),e._series.draw({x:e._translatorX,y:e._translatorY}),e._seriesGroup.append(e._renderer.root))},_isTooltipEnabled:function(){return!!this._simpleDataSource.length},_getTooltipData:function(){var e=this,t=e._allOptions,n=e._winlossDataSource||e._simpleDataSource,i=e._tooltip;if(0===n.length)return{};var o=e._minMaxIndexes,a=t.valueField,r=n[0][a],s=n[n.length-1][a],l=n[o.minIndex][a],c=n[o.maxIndex][a],d=i.formatValue(r),u=i.formatValue(s),h=i.formatValue(l),p=i.formatValue(c),f={firstValue:d,lastValue:u,minValue:h,maxValue:p,originalFirstValue:r,originalLastValue:s,originalMinValue:l,originalMaxValue:c,valueText:["Start:",d,"End:",u,"Min:",h,"Max:",p]};return"winloss"===t.type&&(f.originalThresholdValue=t.winlossThreshold,f.thresholdValue=i.formatValue(t.winlossThreshold)),f}});C(["lineColor","lineWidth","areaOpacity","minColor","maxColor","barPositiveColor","barNegativeColor","winColor","lessColor","firstLastColor","pointSymbol","pointColor","pointSize","type","argumentField","valueField","winlossThreshold","showFirstLast","showMinMax","ignoreEmptyPoints","minValue","maxValue"],function(e){D.prototype._optionChangesMap[e]="OPTIONS"}),n(3)("dxSparkline",D),i.exports=D,D.addPlugin(n(167).plugin)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(2),a=o.isDefined,r=Math.round;i.exports={translate:function(e,t){var n,i=this,o=i._canvasOptions,s=i._categoriesToPoints[e],l=i.translateSpecialCase(e),c=o.startPointIndex||0,d=i._businessRange.stick?0:.5;return a(l)?l:s||0===s?(t=t||0,n=s+d-c+.5*t,r(i._calculateProjection(o.interval*n))):null},untranslate:function(e,t,n){var i=this,o=i._canvasOptions,a=o.startPoint,s=i.visibleCategories||i._categories,l=s.length,c=0,d=i._businessRange.stick?.5:0;return!n&&(a>e||e>o.endPoint)?null:(t=t||0,c=r((e-a)/o.interval+d-.5-.5*t),l===c&&c--,-1===c&&(c=0),o.invert&&(c=l-c-1),s[c])},getInterval:function(){return this._canvasOptions.interval},zoom:function(e,t){var n,i,o,a=this,r=a._canvasOptions,s=a._businessRange.stick,l=r.invert,c=r.interval*t,d=e/c,u=parseInt((r.startPointIndex||0)+d+.5),h=parseInt(r.canvasLength/c+(s?1:0))||1,p=a._categories;return l&&(u=parseInt((r.startPointIndex||0)+(a.visibleCategories||[]).length-d+.5)-h),0>u&&(u=0),n=u+h,n>p.length&&(n=p.length,u=n-h,0>u&&(u=0)),i=p.slice(parseInt(u),parseInt(n)),o=a._getDiscreteInterval(i.length,r),t=o/r.interval,e=a.translate(l?i[i.length-1]:i[0])*t-(r.startPoint+(s?0:o/2)),{min:i[0],max:i[i.length-1],translate:e,scale:t}},getMinScale:function(e){var t=this,n=t._canvasOptions,i=(t.visibleCategories||t._categories).length;return i+=(parseInt(.1*i)||1)*(e?-2:2),n.canvasLength/(Math.max(i,1)*n.interval)},getScale:function(e,t){var n=this,i=n._canvasOptions,o=n.getCanvasVisibleArea(),r=!n._businessRange.stick&&1,s=n.translate(e,-r),l=n.translate(t,+r);return a(s)||(s=i.invert?o.max:o.min),a(l)||(l=i.invert?o.min:o.max),n.canvasLength/Math.abs(l-s)},isValid:function(e){return this._categoriesToPoints[e]>=0},parse:function(e){return e},to:function(e,t){var n=this._canvasOptions,i=this._businessRange,o=this._categoriesToPoints[e],a=n.startPointIndex||0,s=i.stick?0:.5,l=o+s-a+(i.invert?-1:1)*t*.5;return r(this._calculateProjection(n.interval*l))},from:function(e,t){var n=this._canvasOptions,i=this._businessRange,o=n.startPoint,a=this._categories,s=a.length,l=i.stick?.5:0,c=r((e-o)/n.interval+l-.5-.5*t);return s===c&&c--,-1===c&&(c=0),n.invert&&(c=s-c-1),a[c]},_add:function(e,t,n){return NaN},isValueProlonged:!0}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(261);i.exports={translate:o.translate,untranslate:function(){var e=o.untranslate.apply(this,arguments);return null===e?e:new Date(e)},_getValue:o._getValue,getInterval:o.getInterval,zoom:o.zoom,getMinScale:o.getMinScale,getScale:o.getScale,isValid:function(e){return o.isValid.call(this,new Date(e))},parse:function(e){return new Date(e)},to:o.to,from:function(e){return new Date(o.from.call(this,e))},_add:n(12).addDateInterval,isValueProlonged:o.isValueProlonged}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(7).adjustValue,a=n(2),r=a.isNumber,s=a.isDefined,l=n(12),c=l.correctDateWithUnitBeginning,d=l.addInterval,u=l.dateToMilliseconds,h=Math.floor;i.exports={_intervalize:function(e,t){return s(e)?("datetime"===this._businessRange.dataType?(e=r(e)?new Date(e):new Date(e.getTime()),c(e,t)):e=o(h(e/t)*t),e):void 0},translate:function(e,t,n){var i=this,o=i.translateSpecialCase(e);return s(o)?o:(n=n||i._options.interval,i.isValid(e,n)?i.to(e,t,n):null)},untranslate:function(e,t,n){var i=this._canvasOptions,o=i.startPoint;return!n&&(o>e||e>i.endPoint)||!s(i.rangeMin)||!s(i.rangeMax)?null:this.from(e,t)},getInterval:function(){return Math.round(this._canvasOptions.ratioOfCanvasRange*(this._businessRange.interval||Math.abs(this._canvasOptions.rangeMax-this._canvasOptions.rangeMin)))},_getValue:function(){},zoom:function(){},getMinScale:function(){},getScale:function(){},isValid:function(e,t){var n=this,i=n._canvasOptions,o=i.rangeMin,a=i.rangeMax;return t=t||n._options.interval,null===e||isNaN(e)?!1:(e="datetime"===n._businessRange.dataType&&r(e)?new Date(e):e,t!==n._options.interval&&(o=n._intervalize(o,t),a=n._intervalize(a,t)),!(e.valueOf()<o||e.valueOf()>=d(a,t)))},parse:function(e){return"datetime"===this._businessRange.dataType?r(e)?new Date(e):e:Number(e)},to:function(e,t,n){var i=this;n=n||i._options.interval;var o=i._intervalize(e,n),a=d(o,n),r=i._to(o),s=i._to(a);return t?t>0&&(r=s):r=h((r+s)/2),r},_to:function(e){var t=this._canvasOptions,n=t.rangeMinVisible,i=t.rangeMaxVisible,o=e-n;return n>e?o=0:e>i&&(o=d(i,this._options.interval)-n),this._conversionValue(this._calculateProjection(o*this._canvasOptions.ratioOfCanvasRange))},from:function(e,t){var n,i=this,o=i._options.interval,a=o,r=i._canvasOptions,s=r.rangeMinVisible,l=r.rangeMaxVisible;return"datetime"===i._businessRange.dataType&&(a=u(o)),n=i._calculateUnProjection((e-i._canvasOptions.startPoint)/i._canvasOptions.ratioOfCanvasRange),n=i._intervalize(d(n,a/2,t>0),o),s>n?n=s:n>l&&(n=l),n},_add:function(e,t,n){return NaN},isValueProlonged:!0}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(261),a=n(7),r=n(2),s=a.raiseTo,l=a.getLog;i.exports={translate:function(e){var t=this,n=t.translateSpecialCase(e);return r.isDefined(n)?n:o.translate.call(t,l(e,t._businessRange.base))},untranslate:function(){var e=o.untranslate.apply(this,arguments);return null===e?e:s(e,this._businessRange.base)},getInterval:o.getInterval,_getValue:function(e){return Math.pow(this._canvasOptions.base,e)},zoom:o.zoom,getMinScale:o.getMinScale,getScale:function(e,t){var n=this._businessRange.base;return e=r.isDefined(e)?l(e,n):void 0,t=r.isDefined(t)?l(t,n):void 0,o.getScale.call(this,e,t)},isValid:function(e){return o.isValid.call(this,l(e,this._businessRange.base))},parse:o.parse,to:function(e){return o.to.call(this,l(e,this._businessRange.base))},from:function(e){return s(o.from.call(this,e),this._businessRange.base)},_add:function(e,t,n){var i=this._businessRange.base;return s(o._add(l(e,i),t,n),i)},isValueProlonged:o.isValueProlonged}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(569)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){return function(n){return e(n,t)}}function a(e){return[Number(e[0])||0,e[1]-e[0]||1]}function r(e,t){var n,i,o=e.length,r=[];for(n=0;o>n;++n)i=t(e[n]),isFinite(i)&&r.push(i);return a([d.apply(null,r),u.apply(null,r)])}function s(e,t){var n={};return function(i){var o=i.parent;return e(i,n[o._id]||(n[o._id]=r(o.nodes,t)))}}function l(e,t){function n(e,t){return i.getColor((r(e)-t[0])/t[1])}var i=t.createGradientPalette(e.palette),r=c(e);return"range"in e?o(n,a(e.range||[])):s(n,r)}var c=n(120).createColorCodeGetter,d=Math.min,u=Math.max;n(120).addColorizer("gradient",l),i.exports=l}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n,i=0,o=t.length-1,a=-1;if(t[i]<=e&&e<=t[o])if(e===t[o])a=o-1;else{for(;o-i>1;)n=i+o>>1,e<t[n]?o=n:i=n;a=i}return a}function a(e,t){var n=e.range||[],i=t.createDiscretePalette(e.palette,n.length-1),a=r(e);return function(e){return i.getColor(o(a(e),n))}}var r=n(120).createColorCodeGetter;n(120).addColorizer("range",a),i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(55).prototype,a=n(98).expand;n(133),o._eventsMap.onDrill={name:"drill"},a(o,"_extendProxyType",function(e){var t=this;e.drillDown=function(){t._drillToNode(this._id)}}),a(o,"_onNodesCreated",function(){this._drilldownIndex=-1}),o._drillToNode=function(e){var t,n=this;n._drilldownIndex!==e&&(t=n._nodes[e]||n._root,t.nodes&&(n._drilldownIndex=e,n._topNode=t,n._context.suspend(),n._context.change(["MAX_DEPTH","NODES_RESET"]),n._context.resume(),n._eventTrigger("drill",{node:t.proxy})))},o.resetDrillDown=function(){return this._drillToNode(-1),this},o.drillUp=function(){return this._drillToNode(this._topNode.parent._id||-1),this},o.getCurrentNode=function(){return this._topNode.proxy}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n,i,a,r=e.struct;for(i=0;i<t.length;i++)n=t[i],a=n[e.idField],r[a]&&(n.items=r[a].items,r[a]=null,o(e,n.items))}var a=n(55).prototype;a._optionChangesMap.idField=a._optionChangesMap.parentField="NODES_CREATE",a._processDataSourceItems=function(e){var t,n,i,a,r,s={},l=this._getOption("idField",!0),c=this._getOption("parentField",!0),d=[];if(!l||!c||0===e.length)return{items:e,isPlain:!0};for(t=0;t<e.length;t++)n=e[t],i=n[c],i?(s[i]=s[i]||{items:[]},a=s[i].items):a=d,a.push(n);o({struct:s,idField:l},d);for(r in s)s[r]&&d.push(s[r]);return{items:d,isPlain:!0}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t){var n,i,o=t.length;for(n=0;o>n;++n)i=e[t[n]],m[Number(i.isNode())](i.tile)}function a(e){e.toForeground()}function r(e){e.outer.toForeground(),e.inner.toForeground()}var s=n(55).prototype,l=n(175).prototype,c=n(98),d=c.buildRectAppearance,u=n(7).normalizeEnum,h=n(1).inArray,p=0,f=1,_=2,g=2;n(133),n(346),s._eventsMap.onSelectionChanged={name:"selectionChanged"},c.expand(s._handlers,"calculateAdditionalStates",function(e,t){e[2]=t.selectionStyle?d(t.selectionStyle):{}}),l.statesMap[2]=l.statesMap[3]=g,l.additionalStates.push(2),c.expand(s,"_onNodesCreated",function(){this._selectionList.length=0}),c.expand(s,"_extendProxyType",function(e){var t=this;e.select=function(e){t._selectNode(this._id,!!e)},e.isSelected=function(){return h(this._id,t._selectionList)>=0},t._selectionList=[]}),n(55).addChange({code:"SELECTION_MODE",handler:function(){var e,t,n=this,i=u(n._getOption("selectionMode",!0)),o=n._selectionList;e="none"===i?p:"multiple"===i?_:f,e===f&&o.length>1?(t=o.pop(),n.clearSelection(),o.push(t)):e===p&&n.clearSelection(),n._selectionMode=e},isThemeDependent:!0,isOptionChange:!0,option:"selectionMode"}),c.expand(s,"_applyTilesAppearance",function(){this._selectionList.length&&o(this._nodes,this._selectionList)});var m=[a,r];s._applySelectionState=function(e,t){var n=this._nodes[e];n.setState(g,t),this._eventTrigger("selectionChanged",{node:n.proxy})},s._selectNode=function(e,t){var n,i,o,a=this;a._selectionMode!==p&&(a._context.suspend(),n=a._selectionList,i=h(e,n),t&&-1===i?(a._selectionMode===f&&n.length&&(o=n.pop(),a._applySelectionState(o,!1)),n.push(e),a._applySelectionState(e,!0)):!t&&i>=0&&(n.splice(i,1),a._applySelectionState(e,!1)),a._context.resume())},s.clearSelection=function(){var e,t=this,n=t._selectionList,i=n.length;if(t._selectionMode!==p){for(t._context.suspend(),e=0;i>e;++e)t._applySelectionState(n[e],!1);n.length=0,t._context.resume()}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=e.items,n=a.buildSidesData(e.rect,e.directions,e.isRotated?1:0);a.calculateRectangles(t,0,e.rect,n,{sum:e.sum,count:t.length,side:n.variedSide})}var a=n(121);a.addAlgorithm("sliceanddice",o),i.exports=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e,t,n){return((n-1)*e+t)/n}function a(e){return r(e,o,!0)}var r=n(347);n(121).addAlgorithm("strip",a),i.exports=a}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){this._options={},this._initHandlers(e,this._options)}function a(e,t){var n=t.getData(e);n>=0&&t.eventTrigger("click",{node:t.getNode(n),coords:t.getCoords(e),jQueryEvent:e})}function r(e,t){var n=t.getData(e);n>=0?t.getNode(n).setHover():t.widget.clearHover()}function s(e,t){var n,i=t.getData(e);i>=0?(n=d(e),t.getNode(i).showTooltip([n.x,n.y])):t.widget.hideTooltip()}var l=n(55).prototype,c=n(98),d=n(4).eventData,u=n(7).parseScalar,h=n(9).name,p=n(13).down,f=n(13).move,_=n(1),g=_(document),m="__treemap_data_",v=0;n(133),n(345),n(349),l._eventsMap.onClick={name:"click"},c.expand(l,"_initCore",function(){var e=this,t=m+v++;e._tracker=new o({widget:e,root:e._renderer.root,eventTrigger:e._eventTrigger,getData:function(e){var n=e.target;return("tspan"===n.tagName?n.parentNode:n)[t]},getProxy:function(t){return e._nodes[t].proxy},getCoords:function(t){var n=d(t),i=e._renderer.getRootOffset();return[n.x-i.left,n.y-i.top]}}),l._handlers.setTrackerData=function(e,n){n.data(t,e._id)}}),c.expand(l,"_disposeCore",function(){this._tracker.dispose()}),n(55).addChange({code:"INTERACT_WITH_GROUP",handler:function(){this._tracker.setOptions({interactWithGroup:u(this._getOption("interactWithGroup",!0),!1)})},isThemeDependent:!0,isOptionChange:!0,option:"interactWithGroup"}),o.prototype={constructor:o,_initHandlers:function(e,t){function n(t){a(t,e)}function i(t){l?l=!1:(void 0!==e.getData(t)&&(t.preventDefault(),l=!0),o(t))}function o(t){r(t,e),s(t,e)}e.getNode=function(n){var i=e.getProxy(n);return t.interactWithGroup&&i.isLeaf()&&i.getParent().isActive()?i.getParent():i},e.root.on(h,n),e.root.on(p,i),g.on(p,i),g.on(f,o),this._disposeHandlers=function(){e.root.off(h,n),e.root.off(p,i),g.off(p,i),g.off(f,o)};var l=!1},dispose:function(){this._disposeHandlers()},setOptions:function(e){_.extend(this._options,e)}}}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=i.exports=n(55);n(348),n(567),n(566),n(344),n(561),n(562),n(133),n(345),n(565),n(349),n(568),n(563),n(564),o.addPlugin(n(130).plugin),o.addPlugin(n(171).plugin),o.addPlugin(n(169).plugin)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){i.exports=n(580)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=this;t._params=e,t._createElements(e.renderer,e.container,e.dataKey),e.layoutControl.addItem(t),t._subscribeToProjection(e.projection),t._subscribeToTracker(e.tracker),t._createCallbacks(e.projection,e.renderer)}function a(e){delete e._owner,e.update=function(){},e.finish=function(){}}function r(e,t){this._owner=e,this._command=t}function s(e,t,n){function i(){e._callbacks.move([r,s]),o=setTimeout(i,a)}this._command=t;var o=null,a=100,r=0,s=0;switch(this._command){case y:s=-10;break;case b:r=10;break;case C:s=10;break;case k:r=-10}this._stop=function(){return clearTimeout(o),e._callbacks.endMove(),this._stop=e=null,this},n=null,e._callbacks.beginMove(),i()}function l(e,t){function n(){e._adjustZoom(e._zoomFactor+a),i=setTimeout(n,o)}this._owner=e,this._command=t;var i=null,o=150,a=this._command===S?1:-1;this._stop=function(){return clearTimeout(i),this._stop=e=null,this},n()}function c(e,t,n){this._owner=e,this._zoomFactor=e._zoomFactor,this._pos=n.y}var d=Math,u=d.min,h=d.max,p=d.round,f=d.floor,_=d.sqrt,g=n(7),m=g.parseScalar,v=g.enumParser(["left","center","right"]),x=g.enumParser(["top","bottom"]),w="command-reset",y="command-move-up",b="command-move-right",C="command-move-down",k="command-move-left",S="command-zoom-in",T="command-zoom-out",I="command-zoom-drag-line",D="command-zoom-drag",E="control-bar",A=1,B=2,M={bigCircleSize:58,smallCircleSize:28,buttonSize:10,arrowButtonOffset:20,incdecButtonSize:11,incButtonOffset:66,decButtonOffset:227,sliderLineStartOffset:88.5,sliderLineEndOffset:205.5,sliderLength:20,sliderWidth:8,trackerGap:4},O=30.5,P=30.5,R=61,V=274,F={};F[w]=r,F[y]=F[b]=F[C]=F[k]=s,F[S]=F[T]=l,F[D]=c,o.prototype={constructor:o,_flags:0,dispose:function(){var e=this;e._params.layoutControl.removeItem(e),e._root.linkRemove().linkOff(),e._offProjection(),e._offTracker(),e._params=e._root=e._offProjection=e._offTracker=e._callbacks=null},_subscribeToProjection:function(e){function t(){n._adjustZoom(e.getScaledZoom())}var n=this;n._offProjection=e.on({engine:function(){n._update()},zoom:t,"max-zoom":function(){n._zoomPartition=e.getZoomScalePartition(),n._sliderUnitLength=n._sliderLineLength/n._zoomPartition,t()}})},_subscribeToTracker:function(e){var t=this,n=!1;t._offTracker=e.on({start:function(e){n=e.data.name===E,n&&t._processStart(e.data.index,e)},move:function(e){n&&t._processMove(e.data.index,e)},end:function(e){n&&(t._processEnd(),n=!1)}})},_createCallbacks:function(e,t){var n=this;n._callbacks={reset:function(t,n){t&&e.setCenter(null),n&&e.setZoom(null)},beginMove:function(){e.beginMoveCenter()},endMove:function(){e.endMoveCenter()},move:function(t){e.moveCenter(t)},zoom:function(t){e.setScaledZoom(t)}}},_createElements:function(e,t,n){var i,o,a=this;a._root=e.g().attr({"class":"dxm-control-bar"}).linkOn(t,"control-bar"),i=a._buttonsGroup=e.g().attr({"class":"dxm-control-buttons"}).append(a._root),o=e.g().attr({stroke:"none","stroke-width":0,fill:"#000000",opacity:1e-4}).css({cursor:"pointer"}).append(a._root),a._createButtons(e,n,i),a._createTrackers(e,n,o)},_createButtons:function(e,t,n){var i=this,o=M,a=o.buttonSize/2,r=o.arrowButtonOffset-a,s=o.arrowButtonOffset,l=o.incdecButtonSize/2,c={"stroke-linecap":"square",fill:"none"},d="line";e.circle(0,0,o.bigCircleSize/2).append(n),e.circle(0,0,a).attr({fill:"none"}).append(n),e.path([-a,-r,0,-s,a,-r],d).attr(c).append(n),e.path([r,-a,s,0,r,a],d).attr(c).append(n),e.path([a,r,0,s,-a,r],d).attr(c).append(n),e.path([-r,a,-s,0,-r,-a],d).attr(c).append(n),e.circle(0,o.incButtonOffset,o.smallCircleSize/2).append(n),e.path([[-l,o.incButtonOffset,l,o.incButtonOffset],[0,o.incButtonOffset-l,0,o.incButtonOffset+l]],"area").append(n),e.circle(0,o.decButtonOffset,o.smallCircleSize/2).append(n),e.path([-l,o.decButtonOffset,l,o.decButtonOffset],"area").append(n),i._zoomLine=e.path([],"line").append(n),i._zoomDrag=e.rect(f(-o.sliderLength/2),f(o.sliderLineEndOffset-o.sliderWidth/2),o.sliderLength,o.sliderWidth).append(n),i._sliderLineLength=o.sliderLineEndOffset-o.sliderLineStartOffset},_createTrackers:function(e,t,n){var i=M,o=p((i.arrowButtonOffset-i.trackerGap)/2),a=i.arrowButtonOffset-o,r=p(_(i.bigCircleSize*i.bigCircleSize/4-o*o)),s=r-a;e.rect(-o,-o,2*o,2*o).data(t,{index:w,name:E}).append(n),e.rect(-o,-r,2*o,s).data(t,{index:y,name:E}).append(n),e.rect(a,-o,s,2*o).data(t,{index:b,name:E}).append(n),e.rect(-o,a,2*o,s).data(t,{index:C,name:E}).append(n),e.rect(-r,-o,s,2*o).data(t,{index:k,name:E}).append(n),e.circle(0,i.incButtonOffset,i.smallCircleSize/2).data(t,{index:S,name:E}).append(n),e.circle(0,i.decButtonOffset,i.smallCircleSize/2).data(t,{index:T,name:E}).append(n),e.rect(-2,i.sliderLineStartOffset-2,4,i.sliderLineEndOffset-i.sliderLineStartOffset+4).css({cursor:"default"}).data(t,{index:I,name:E}).append(n),this._zoomDragTracker=e.rect(-i.sliderLength/2,i.sliderLineEndOffset-i.sliderWidth/2,i.sliderLength,i.sliderWidth).data(t,{index:D,name:E}).append(n)},resize:function(e){this._isActive&&this._root.attr({visibility:null!==e?null:"hidden"})},getLayoutOptions:function(){return this._isActive?this._layoutOptions:null},locate:function(e,t){this._root.attr({translateX:e+this._margin+O,translateY:t+this._margin+P})},_update:function(){var e=this;e._isActive=e._isEnabled&&e._flags&&e._params.projection.isInvertible(),e._isActive?e._root.linkAppend():e._root.linkRemove(),e._processEnd(),e.updateLayout()},setInteraction:function(e){var t=this;m(e.centeringEnabled,!0)?t._flags|=A:t._flags&=~A,m(e.zoomingEnabled,!0)?t._flags|=B:t._flags&=~B,t._update()},setOptions:function(e){var t=this;t._isEnabled=!!m(e.enabled,!0),t._margin=e.margin||0,t._layoutOptions={width:2*t._margin+R,height:2*t._margin+V,horizontalAlignment:v(e.horizontalAlignment,"left"),verticalAlignment:x(e.verticalAlignment,"top")},t._buttonsGroup.attr({"stroke-width":e.borderWidth,stroke:e.borderColor,fill:e.color,"fill-opacity":e.opacity}),t._update()},_adjustZoom:function(e){var t,n,i=this,o=M.sliderLineStartOffset,a=M.sliderLineEndOffset,r=M.sliderWidth;i._zoomFactor=h(u(p(e),i._zoomPartition),0),t={translateY:-p(i._zoomFactor*i._sliderUnitLength)},n=a-r/2+t.translateY,i._zoomLine.attr({points:[[0,o,0,h(o,n)],[0,u(a,n+r),0,a]]}),i._zoomDrag.attr(t),i._zoomDragTracker.attr(t)},_applyZoom:function(){this._callbacks.zoom(this._zoomFactor)},_processStart:function(e,t){var n;this._isActive&&(n=F[e],this._command=n&&n.flags&this._flags?new n(this,e,t):null)},_processMove:function(e,t){this._command&&this._command.update(e,t)},_processEnd:function(){this._command&&this._command.finish(),this._command=null}},r.flags=A|B,r.prototype.update=function(e){e!==this._command&&a(this)},r.prototype.finish=function(){var e=this._owner._flags;this._owner._callbacks.reset(!!(e&A),!!(e&B)),a(this)},s.flags=A,s.prototype.update=function(e){this._command!==e&&this.finish()},s.prototype.finish=function(){a(this._stop())},l.flags=B,l.prototype.update=function(e){this._command!==e&&this.finish()},l.prototype.finish=function(){this._owner._applyZoom(),a(this._stop())},c.flags=B,c.prototype.update=function(e,t){var n=this._owner;n._adjustZoom(this._zoomFactor+n._zoomPartition*(this._pos-t.y)/n._sliderLineLength)},c.prototype.finish=function(){this._owner._applyZoom(),a(this)},t.ControlBar=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){this._store={}}var a=n(1).Callbacks;o.prototype={constructor:o,dispose:function(){return this._store=null,this},_get:function(e,t){var n=this._store[e]||(this._store[e]={});return n[t]||(n[t]={callbacks:a()})},set:function(e,t,n){var i=this._get(e,t);return i.data=n,i.callbacks.fire(n),this},bind:function(e,t,n){var i=this._get(e,t);return i.callbacks.add(n),i.data&&n(i.data),this},unbind:function(e,t,n){var i=this._get(e,t);return i.callbacks.remove(n),this}},t.DataExchanger=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){function i(e){var t=this;t._projection=e.projection,t._renderer=e.renderer,t._x=t._y=0,t._subscribeToTracker(e.tracker)}var o=Math.log,a=Math.LN2;i.prototype={constructor:i,dispose:function(){this._offTracker(),this._offTracker=null},_subscribeToTracker:function(e){var t=this,n=!1;t._offTracker=e.on({start:function(e){n="control-bar"!==e.data.name,n&&t._processStart(e)},move:function(e){n&&t._processMove(e)},end:function(e){n&&t._processEnd()},zoom:function(e){t._processZoom(e)}})},setInteraction:function(e){this._processEnd(),this._centeringEnabled=e.centeringEnabled,this._zoomingEnabled=e.zoomingEnabled},_processStart:function(e){this._centeringEnabled&&(this._x=e.x,this._y=e.y,this._projection.beginMoveCenter())},_processMove:function(e){var t=this;t._centeringEnabled&&(t._renderer.root.attr({cursor:"move"}),t._projection.moveCenter([t._x-e.x,t._y-e.y]),t._x=e.x,t._y=e.y)},_processEnd:function(){this._centeringEnabled&&(this._renderer.root.attr({cursor:"default"}),this._projection.endMoveCenter())},_processZoom:function(e){var t,n,i,r=this;r._zoomingEnabled&&(e.delta?t=e.delta:e.ratio&&(t=o(e.ratio)/a),r._centeringEnabled&&(n=r._renderer.getRootOffset(),n=[e.x-n.left,e.y-n.top],i=r._projection.fromScreenPoint(n)),r._projection.changeScaledZoom(t),r._centeringEnabled&&r._projection.setCenterByPoint(i,n))}},t.GestureHandler=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){return 3*v[e.verticalAlignment]+m[e.horizontalAlignment]}function a(e,t){var n=(e.right-e.left)/3,i=(e.bottom-e.top)/2,a=e.left,r=h(a+n),s=h(a+n+n),l=e.right,c=e.top,d=h(c+i),u=e.bottom,p=[{rect:[a,c,r,d]},{rect:[r,c,s,d],center:!0},{rect:[s,c,l,d],horInv:!0},{rect:[a,d,r,u],verInv:!0},{rect:[r,d,s,u],center:!0,verInv:!0},{rect:[s,d,l,u],horInv:!0,verInv:!0}],f=[[],[],[],[],[],[]];return _(t,function(e,t){var n=t.getLayoutOptions();
n&&f[o(n)].push({item:t,width:n.width,height:n.height})}),_(p,function(e,t){f[e].length?t.items=f[e]:(t.center?t.rect[0]=t.rect[2]=(t.rect[0]+t.rect[2])/2:t.rect[t.horInv?0:2]=t.rect[t.horInv?2:0],t.rect[t.verInv?1:3]=t.rect[t.verInv?3:1])}),p}function r(e){_([0,1,2,3,4,5],function(t,n){var i=e[n],o=e[(n+3)%6];i.items&&(o.items||(i.rect[1]=p(i.rect[1],o.rect[3]),i.rect[3]=f(i.rect[3],o.rect[1])))}),_([1,4],function(t,n){var i,o,a=e[n],r=e[n-1],s=e[n+1];a.items?r.items||s.items||(i=a.rect[0]-r.rect[2],o=s.rect[0]-a.rect[2],i>o?i/o>=2?(a.rect[0]-=i,a.right=!0):(a.rect[0]-=o,a.rect[2]+=o):o/i>=2?(a.rect[2]+=o,a.center=null):(a.rect[0]-=i,a.rect[2]+=i)):(r.items&&(r.rect[2]=(a.rect[0]+a.rect[2])/2),s.items&&(s.rect[0]=(a.rect[0]+a.rect[2])/2))})}function s(e,t){var n=!1;return r(e),_(e,function(e,i){i.items&&(n=l(i,t)||n)}),n}function l(e,t){var n=e.rect,i=n[2]-n[0],o=n[3]-n[1],a=0,r=0,s=0,l=n[2],c=n[3],d=n[0],u=n[1],g=[],m=!1;return _(e.items,function(h,_){if(_.width>i||_.height>o)return g.push(null),m=!0,t||!1;if(a+_.width>i&&(r+=s,a=s=0),r+_.height>o)return g.push(null),m=!0,t||!1;s=f(s,_.height);var v=e.horInv?n[2]-_.width-a:n[0]+a,x=e.verInv?n[3]-_.height-r:n[1]+r;a+=_.width,l=p(l,v),c=p(c,x),d=f(d,v+_.width),u=f(u,x+_.height),g.push([v,x])}),!t&&m||(a=0,e.right?a=n[2]-n[0]-d+l:e.center&&(a=h((n[2]-n[0]-d+l)/2)),_(e.items,function(e,t){var n=g[e];n?t.item.locate(n[0]+a,n[1]):t.item.resize(null)}),e.rect=[l,c,d,u],e.items=null),m}function c(e,t){var n=a(e,t);s(n)&&s(n,!0)}function d(){var e=this;e._items=[],e._suspended=0,e._updateLayout=function(){e._update()}}var u=n(1),h=Math.round,p=Math.min,f=Math.max,_=u.each,g=u.inArray,m={left:0,center:1,right:2},v={top:0,bottom:1};d.prototype={constructor:d,dispose:function(){this._items=this._updateLayout=null},setSize:function(e){this._canvas=e,this._update()},suspend:function(){++this._suspended},resume:function(){0===--this._suspended&&this._update()},addItem:function(e){this._items.push(e),e.updateLayout=this._updateLayout},removeItem:function(e){this._items.splice(g(e,this._items),1),e.updateLayout=null},_update:function(){var e;0===this._suspended&&(e=this._canvas,_(this._items,function(t,n){n.resize(e)}),c({left:e.left,top:e.top,right:e.width+e.left,bottom:e.height+e.top},this._items))}},t.LayoutControl=d}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t;return t="string"==typeof e?p[e.toLowerCase()]||f:{category:e.layer,name:e.grouping}}function a(e){var t=this;t._params=e,t._root=e.renderer.g().attr({"class":"dxm-legend"}).linkOn(e.container,{name:"legend",after:"legend-base"}).linkAppend(),e.layoutControl.addItem(t),h.call(t,{renderer:e.renderer,group:t._root,backgroundClass:null,itemsGroupClass:null,textField:"text",getFormatObject:function(e){return e}}),t._onDataChanged=function(e){t._updateData(e)}}function r(e,t,n){var i,o,a=t.length,r=[];for(i=0;a>i;++i)r[i]=o={start:e[i],end:e[i+1],index:i},o[n]=t[i],o.states={normal:{fill:o.color}};return r}function s(e){this._params=e,this._items=[],e.container.virtualLink("legend-base")}var l=n(1),c=l.extend,d=l.each,u=n(332),h=u.Legend,p={areacolorgroups:{category:"areas",name:"color"},markercolorgroups:{category:"markers",name:"color"},markersizegroups:{category:"markers",name:"size"}},f={category:"UNKNOWN",name:"UNKNOWN"};a.prototype=c(n(30).clone(h.prototype),{constructor:a,dispose:function(){var e=this;return e._params.layoutControl.removeItem(e),e._unbindData(),e._root.linkRemove().linkOff(),e._params=e._root=e._onDataChanged=null,h.prototype.dispose.apply(e,arguments)},resize:function(e){this._params.notifyDirty(),null===e?this.erase():this.draw(e.width,e.height),this._params.notifyReady()},locate:h.prototype.shift,_updateData:function(e){this.update(e?r(e.partition,e.values,this._dataName):[],this._options),this.updateLayout()},_unbindData:function(){this._dataCategory&&this._params.dataExchanger.unbind(this._dataCategory,this._dataName,this._onDataChanged)},_bindData:function(e){this._params.dataExchanger.bind(this._dataCategory=e.category,this._dataName=e.name,this._onDataChanged)},setOptions:function(e){var t=this;return t.update(t._data,e),t._unbindData(),t._bindData(e.source&&o(e.source)||f),t.updateLayout(),t}}),s.prototype={constructor:s,dispose:function(){d(this._items,function(e,t){t.dispose()}),this._params=this._items=null},setOptions:function(e){var t,n=e&&e.length?e:[],i=this._items,o=n.length,r=this._params,s=r.themeManager.theme("legend");for(t=i.length;o>t;++t)i[t]=new a(r);for(t=i.length-1;t>=o;--t)i[t].dispose(),i.splice(t,1);for(r.layoutControl.suspend(),t=0;o>t;++t)i[t].setOptions(c(!0,{},s,n[t]));r.layoutControl.resume()}},t.LegendsControl=s}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=se(e);return t=t in we?we[t]:we.single,null!==t&&(t={state:{},single:t}),t}function a(){}function r(e){this.raw=e}function s(e){this.raw=e}function l(e){return ie(e.features)}function c(e){var t;return e&&(l(e)?t=s:1===e.length&&e[0]&&l(e[0])?(t=s,e=e[0]):ie(e)&&(t=r)),new(t=t||a)(e)}function d(e){return e?l(e)?[e]:e:[]}function u(e,t,n){t.call(n,e)}function h(e,t){var n,i,o,a=e.length;for(n=0;a>n;++n)i=e[n],o=t.call(i,i)||{},i.applySettings(o),o.isSelected&&i.selected(!0)}function p(e,t,n){var i,o,a={areas:"area",markers:"marker"}[t],r=e.length;for(i=0;r>i;++i)e[i].proxy.type=a;if("marker"===a)for(i=0;r>i;++i)o=n.item(i),ce(e[i].proxy,{text:o.text,value:o.value,values:o.values,url:o.url})}function f(e){e.text.attr({visibility:e.size[0]/e.spaceSize[0]<xe&&e.size[1]/e.spaceSize[1]<xe?null:"hidden"})}function _(e){e.text.attr({visibility:e.size[0]/e.spaceSize[0]<xe||e.size[1]/e.spaceSize[1]<xe?null:"hidden"})}function g(e,t,n){return e.attribute(t)||e[n]}function m(e){var t=ye[e.type],n=e.coordinates;return t||(t="number"==typeof n[0]?fe:"number"==typeof n[0][0]?pe:he),t}function v(e,t,n,i){e[i].attr(t[i][n])}function x(e,t){return e.project(t)}function w(e,t){var n,i=[],o=i.length=t.length;for(n=0;o>n;++n)i[n]=e.project(t[n]);return i}function y(e,t){return[w(e,t)]}function b(e,t){var n,i=[],o=i.length=t.length;for(n=0;o>n;++n)i[n]=w(e,t[n]);return i}function C(e,t){var n,i=[],o=i.length=t.length;for(n=0;o>n;++n)i[n]=b(e,t[n]);return ue.apply([],i)}function k(e,t,n){var i=t.transform(n);e.root.attr({translateX:i[0],translateY:i[1]})}function S(e,t){var n,i,o=[],a=t.length,r=0;for(o.length=2*a,n=0;a>n;++n)i=e.transform(t[n]),o[r++]=i[0],o[r++]=i[1];return o}function T(e,t,n){var i,o=[],a=o.length=n.length;for(i=0;a>i;++i)o[i]=S(t,n[i]);e.root.attr({points:o})}function I(e,t,n){var i=t.transform(n[0]);e.spaceSize=t.getSquareSize(n[1]),e.text.attr({translateX:i[0],translateY:i[1]}),f(e)}function D(e,t,n){var i=t.transform(n[0]);e.spaceSize=t.getSquareSize(n[1]),e.text.attr({translateX:i[0],translateY:i[1]}),_(e)}function E(e,t,n){var i=O(e.settings,n);return t.text=t.text||n.text,A(e.grouping,t,i),void 0===n.color&&n.paletteIndex>=0&&(i.color=i._colors[n.paletteIndex]),i}function A(e,t,n){de(e,function(e,i){var o=B(i.callback(t,i.field),i.partition);o>=0&&(n[e]=i.values[o])})}function B(e,t){var n,i=0,o=t.length-1,a=-1;if(t[i]<=e&&e<=t[o])if(e===t[o])a=o-1;else{for(;o-i>1;)n=i+o>>1,e<t[n]?o=n:i=n;a=i}return a}function M(e,t,n,i){e.params.eventTrigger(i,{target:t.proxy,state:n})}function O(e,t){var n=ce({},e,t);return n.label=ce({},e.label,n.label),n.label.font=ce({},e.label.font,n.label.font),n}function P(e,t,n){var i,o,a,r=O(n.theme("layer:"+e)||{label:{}},t);if(r.paletteSize>0){for(a=n.createDiscretePalette(r.palette,r.paletteSize),o=0,i=[];o<r.paletteSize;++o)i.push(a.getColor(o));r._colors=i}return r}function R(e,t){return e.attribute(t)}function V(e){var t=e.name,n=e.params.dataExchanger;de(e.grouping,function(e){n.set(t,e,null)}),e.grouping={}}function F(e,t,n){return n?e|=t:e&=~t,e}function L(e,t){return!!(e&t)}function H(e,t,n){var i={index:n,name:t,getElements:function(){return e.getProxies()},clearSelection:function(t){return e.clearSelection(t),i}};return i}function z(e,t,n){var i={coordinates:function(){return t},attribute:function(e,t){return arguments.length>1?(n[e]=t,i):arguments.length>0?n[e]:n},selected:function(t,n){return arguments.length>0?(e.setSelected(t,n),i):e.isSelected()},applySettings:function(t){return e.update(t),i}};return i}function N(e){var t,n,i,o=e.length,a=e[o-1],r=0,s=0,l=0,c=1/0,d=-(1/0),u=1/0,h=-(1/0);for(t=0;o>t;++t)n=a,a=e[t],i=n[0]*a[1]-a[0]*n[1],l+=i,r+=(n[0]+a[0])*i,s+=(n[1]+a[1])*i,c=Q(c,a[0]),d=Z(d,a[0]),u=Q(u,a[1]),h=Z(h,a[1]);return{area:Y(l)/2,center:[2*r/3/l-(c+d)/2,2*s/3/l-(u+h)/2]}}function W(e){var t,n,i,o=e.length,a=e[0]||[],r=0,s=[0],l=a[0],c=a[0],d=a[1],u=a[1];for(t=1;o>t;++t)n=a,a=e[t],r+=J((n[0]-a[0])*(n[0]-a[0])+(n[1]-a[1])*(n[1]-a[1])),s[t]=r,l=Q(l,a[0]),c=Z(c,a[0]),d=Q(d,a[1]),u=Z(u,a[1]);return t=B(r/2,s),n=e[t],a=e[t+1],i=(r/2-s[t])/(s[t+1]-s[t]),o?[[n[0]*(1-i)+a[0]*i,n[1]*(1-i)+a[1]*i],[c-l,u-d],r]:[]}function G(e){var t,n,i,o=e.length,a=0;for(t=0;o>t;++t)n=N(e[t]),n.area>a&&(a=n.area,i=n);return i?[i.center,[J(i.area),J(i.area)]]:[[],[]]}function $(e){var t,n,i,o=e.length,a=0;for(t=0;o>t;++t)n=W(e[t]),n[2]>a&&(a=n[2],i=n);return i||[[],[]]}function q(e){var t=this,n=e.renderer;t._params=e,t._layers=[],t._layerByName={},t._rect=[0,0,0,0],t._clip=n.clipRect(),t._background=n.rect().attr({"class":"dxm-background"}).data(e.dataKey,{name:"background"}).append(n.root),t._container=n.g().attr({"class":"dxm-layers",clipId:t._clip.id}).append(n.root).enableLinks(),t._subscribeToTracker(e.tracker,n,e.eventTrigger)}var j=n(1),U=Number,K=String,Y=Math.abs,X=Math.round,Q=Math.min,Z=Math.max,J=Math.sqrt,ee=n(2),te=n(167),ne=ee.isFunction,ie=ee.isArray,oe=n(7),ae=oe.parseScalar,re=oe.patchFontOptions,se=oe.normalizeEnum,le=j.noop,ce=j.extend,de=j.each,ue=Array.prototype.concat,he="area",pe="line",fe="marker",_e=0,ge=1,me=2,ve=[0,1,2,2],xe=1,we={none:null,single:-1,multiple:NaN};a.prototype.count=function(){return 0},r.prototype={constructor:r,count:function(){return this.raw.length},item:function(e){return this.raw[e]},geometry:function(e){return{coordinates:e.coordinates}},attributes:function(e){return e.attributes}},s.prototype={constructor:s,count:function(){return this.raw.features.length},item:function(e){return this.raw.features[e]},geometry:function(e){return e.geometry},attributes:function(e){return e.properties}};var ye={Point:fe,MultiPoint:pe,LineString:pe,MultiLineString:pe,Polygon:he,MultiPolygon:he},be=function(e,t){var n,i=se(e.type),o=se(e.elementType),a=ce({},Ce);return t.count()>0&&(n=t.geometry(t.item(0)),i=ke[i]?i:m(n),ce(a,ke[i]),a.fullType=a.type=i,Se[i]&&ce(a,Se[i](n)),Te[i]&&(o=Te[i][o]?o:Te[i]._default,ce(a,Te[i][o]),a.elementType=o,a.fullType+=":"+o)),a},Ce={setup:le,reset:le,arrange:le,updateGrouping:le},ke={};ke[he]={projectLabel:G,transform:T,transformLabel:I,draw:function(e,t,n){t.root=e.renderer.path([],"area").data(e.dataKey,n)},refresh:le,getLabelOffset:function(e){return f(e),[0,0]},getStyles:function(e){var t=e.color||null,n=e.borderColor||null,i=e.borderWidth||null,o=e.opacity||null;return{root:[{"class":"dxm-area",stroke:n,"stroke-width":i,fill:t,opacity:o},{"class":"dxm-area dxm-area-hovered",stroke:e.hoveredBorderColor||n,"stroke-width":e.hoveredBorderWidth||i,fill:e.hoveredColor||t,opacity:e.hoveredOpacity||o},{"class":"dxm-area dxm-area-selected",stroke:e.selectedBorderColor||n,"stroke-width":e.selectedBorderWidth||i,fill:e.selectedColor||t,opacity:e.selectedOpacity||o}]}},setState:function(e,t,n){v(e,t,n,"root")},hasLabelsGroup:!0,updateGrouping:function(e){De(e)}},ke[pe]={projectLabel:$,transform:T,transformLabel:D,draw:function(e,t,n){t.root=e.renderer.path([],"line").data(e.dataKey,n)},refresh:le,getLabelOffset:function(e){return _(e),[0,0]},getStyles:function(e){var t=e.color||e.borderColor||null,n=e.borderWidth||null,i=e.opacity||null;return{root:[{"class":"dxm-line",stroke:t,"stroke-width":n,opacity:i},{"class":"dxm-line dxm-line-hovered",stroke:e.hoveredColor||e.hoveredBorderColor||t,"stroke-width":e.hoveredBorderWidth||n,opacity:e.hoveredOpacity||i},{"class":"dxm-line dxm-line-selected",stroke:e.selectedColor||e.selectedBorderColor||t,"stroke-width":e.selectedBorderWidth||n,opacity:e.selectedOpacity||i}]}},setState:function(e,t,n){v(e,t,n,"root")},hasLabelsGroup:!0,updateGrouping:function(e){De(e)}},ke[fe]={project:x,transform:k,draw:function(e,t,n){t.root=e.renderer.g(),this._draw(e,t,n)},refresh:le,hasLabelsGroup:!1,getLabelOffset:function(e,t){return[X((e.size[0]+Z(t.size||0,0))/2)+2,0]},getStyles:function(e){var t={root:[{"class":"dxm-marker"},{"class":"dxm-marker dxm-marker-hovered"},{"class":"dxm-marker dxm-marker-selected"}]};return this._getStyles(t,e),t},setState:function(e,t,n){v(e,t,n,"root"),this._setState(e,t,n)},updateGrouping:function(e){De(e),Ee(e)}};var Se={};Se[he]=function(e){var t=e.coordinates;return{project:t[0]&&t[0][0]&&t[0][0][0]&&"number"==typeof t[0][0][0][0]?C:b}},Se[pe]=function(e){var t=e.coordinates;return{project:t[0]&&t[0][0]&&"number"==typeof t[0][0][0]?b:y}};var Te={};Te[fe]={_default:"dot",dot:{setup:function(e){e.filter=e.renderer.shadowFilter("-40%","-40%","180%","200%",0,1,1,"#000000",.2)},reset:function(e){e.filter.dispose(),e.filter=null},_draw:function(e,t,n){t.back=e.renderer.circle().sharp().data(e.dataKey,n).append(t.root),t.dot=e.renderer.circle().sharp().data(e.dataKey,n).append(t.root)},refresh:function(e,t,n,i,o){t.dot.attr({filter:o.shadow?e.filter.ref:null})},_getStyles:function(e,t){var n=t.size>0?U(t.size):0,i=n,o=n+(t.selectedStep>0?U(t.selectedStep):0),a=i+(t.backStep>0?U(t.backStep):0),r=o+(t.backStep>0?U(t.backStep):0),s=t.color||null,l=t.borderColor||null,c=t.borderWidth||null,d=t.opacity||null,u=t.backColor||null,h=t.backOpacity||null;e.dot=[{r:n/2,stroke:l,"stroke-width":c,fill:s,opacity:d},{r:i/2,stroke:t.hoveredBorderColor||l,"stroke-width":t.hoveredBorderWidth||c,fill:t.hoveredColor||s,opacity:t.hoveredOpacity||d},{r:o/2,stroke:t.selectedBorderColor||l,"stroke-width":t.selectedBorderWidth||c,fill:t.selectedColor||s,opacity:t.selectedOpacity||d}],e.back=[{r:n/2,stroke:"none","stroke-width":0,fill:u,opacity:h},{r:a/2,stroke:"none","stroke-width":0,fill:u,opacity:h},{r:r/2,stroke:"none","stroke-width":0,fill:u,opacity:h}]},_setState:function(e,t,n){v(e,t,n,"dot"),v(e,t,n,"back")}},bubble:{_draw:function(e,t,n){t.bubble=e.renderer.circle().sharp().data(e.dataKey,n).append(t.root)},refresh:function(e,t,n,i,o){t.bubble.attr({r:o.size/2})},_getStyles:function(e,t){var n=t.color||null,i=t.borderColor||null,o=t.borderWidth||null,a=t.opacity||null;e.bubble=[{stroke:i,"stroke-width":o,fill:n,opacity:a},{stroke:t.hoveredBorderColor||i,"stroke-width":t.hoveredBorderWidth||o,fill:t.hoveredColor||t.color,opacity:t.hoveredOpacity||a},{stroke:t.selectedBorderColor||i,"stroke-width":t.selectedBorderWidth||o,fill:t.selectedColor||t.color,opacity:t.selectedOpacity||a}]},_setState:function(e,t,n){v(e,t,n,"bubble")},arrange:function(e,t){var n,i,o,a,r,s=[],l=s.length=t.length,c=e.settings,d=c.dataField,u=c.minSize>0?U(c.minSize):0,h=c.maxSize>u?U(c.maxSize):u;if(!c.sizeGroups){for(n=0;l>n;++n)s[n]=Z(g(t[n].proxy,d,"value")||0,0);for(i=Q.apply(null,s),o=Z.apply(null,s),a=o-i||1,r=h-u,n=0;l>n;++n)t[n]._settings.size=u+r*(s[n]-i)/a}},updateGrouping:function(e){var t=e.settings.dataField;ke[fe].updateGrouping(e),Ee(e,function(e){return g(e,t,"value")})}},pie:{_draw:function(e,t,n){t.pie=e.renderer.g().append(t.root),t.border=e.renderer.circle().sharp().data(e.dataKey,n).append(t.root)},refresh:function(e,t,n,i,o){var a,r=g(i,e.settings.dataField,"values")||[],s=r.length||0,l=o._colors,c=0,d=t.pie,u=e.renderer,h=e.dataKey,p=(o.size>0?U(o.size):0)/2,f=90,_=f;for(a=0;s>a;++a)c+=r[a]||0;for(a=0;s>a;++a)f=_,_+=(r[a]||0)/c*360,u.arc(0,0,0,p,f,_).attr({"stroke-linejoin":"round",fill:l[a]}).data(h,n).append(d);t.border.attr({r:p})},_getStyles:function(e,t){var n=t.opacity||null,i=t.borderColor||null,o=t.borderWidth||null;e.pie=[{opacity:n},{opacity:t.hoveredOpacity||n},{opacity:t.selectedOpacity||n}],e.border=[{stroke:i,"stroke-width":o},{stroke:t.hoveredBorderColor||i,"stroke-width":t.hoveredBorderWidth||o},{stroke:t.selectedBorderColor||i,"stroke-width":t.selectedBorderWidth||o}]},_setState:function(e,t,n){v(e,t,n,"pie"),v(e,t,n,"border")},arrange:function(e,t){var n,i,o,a=t.length,r=e.settings.dataField,s=0;for(n=0;a>n;++n)i=g(t[n].proxy,r,"values"),i&&i.length>s&&(s=i.length);if(s>0){for(i=[],o=e.params.themeManager.createPalette(e.settings.palette,{useHighlight:!0}),n=0;s>n;++n)i.push(o.getNextColor());e.settings._colors=i,e.grouping.color={callback:le,field:"",partition:[],values:[]},e.params.dataExchanger.set(e.name,"color",{partition:[],values:i})}}},image:{_draw:function(e,t,n){t.image=e.renderer.image().attr({location:"center"}).data(e.dataKey,n).append(t.root)},refresh:function(e,t,n,i,o){t.image.attr({href:g(i,e.settings.dataField,"url")})},_getStyles:function(e,t){var n=t.size>0?U(t.size):0,i=n+(t.hoveredStep>0?U(t.hoveredStep):0),o=n+(t.selectedStep>0?U(t.selectedStep):0),a=t.opacity||null;e.image=[{x:-n/2,y:-n/2,width:n,height:n,opacity:a},{x:-i/2,y:-i/2,width:i,height:i,opacity:t.hoveredOpacity||a},{x:-o/2,y:-o/2,width:o,height:o,opacity:t.selectedOpacity||a}]},_setState:function(e,t,n){v(e,t,n,"image")}}};var Ie=function(e,t,n,i,o){var a;i&&t&&t.length>1&&(a=o(t.length-1),e.grouping[n]={callback:ne(i)?i:R,field:i,partition:t,values:a},e.params.dataExchanger.set(e.name,n,{partition:t,values:a}))},De=function(e){Ie(e,e.settings.colorGroups,"color",e.settings.colorGroupingField,function(t){var n,i=e.params.themeManager.createDiscretePalette(e.settings.palette,t),o=[];for(n=0;t>n;++n)o.push(i.getColor(n));return o})},Ee=function(e,t){var n=e.settings;Ie(e,n.sizeGroups,"size",t||n.sizeGroupingField,function(e){var t=n.minSize>0?U(n.minSize):0,i=n.maxSize>=t?U(n.maxSize):0,o=0,a=[];if(e>1)for(o=0;e>o;++o)a.push((t*(e-o-1)+i*o)/(e-1));else 1===e&&a.push((t+i)/2);return a})},Ae=function(e,t,n,i){var o=this;o._params=e,o._onProjection(),o.proxy=H(o,n,i),o._context={name:n,layer:o.proxy,renderer:e.renderer,projection:e.projection,params:e,dataKey:e.dataKey,str:Ce,hover:!1,selection:null,grouping:{},root:e.renderer.g().attr({"class":"dxm-layer"}).linkOn(t,n).linkAppend()},o._container=t,o._dataSource=new te.DataSource(function(){o._data=c(o._dataSource.items()),o._update(!0)}),o._options={},o._handles=[],o._data=new a};Ae.prototype={constructor:Ae,_onProjection:function(){var e=this;e._removeHandlers=e._params.projection.on({engine:function(){e._project()},screen:function(){e._transform()},center:function(){e._transformCore()},zoom:function(){e._transform()}})},_offProjection:function(){this._removeHandlers(),this._removeHandlers=null},dispose:function(){var e=this;return e._dataSource.dispose(),e._destroyHandles(),V(e._context),e._context.root.linkRemove().linkOff(),e._context.labelRoot&&e._context.labelRoot.linkRemove().linkOff(),e._context.str.reset(e._context),e._offProjection(),e._params=e._container=e._context=e._dataSource=e.proxy=null,e},setOptions:function(e){var t,n=this;e=n._options=e||{},t=!("dataSource"in e)&&"data"in e?"data":"dataSource",t in e&&e[t]!==n._options_dataSource?(n._options_dataSource=e[t],n._params.notifyDirty(),n._dataSource.update(d(e[t]))):n._data.count()>0&&(n._params.notifyDirty(),n._update(void 0!==e.type&&e.type!==n._context.str.type||void 0!==e.elementType&&e.elementType!==n._context.str.elementType))},_update:function(e){var t=this,n=t._context;e&&(n.str.reset(n),n.root.clear(),n.labelRoot&&n.labelRoot.clear(),t._params.tracker.reset(),t._destroyHandles(),n.str=be(t._options,t._data),n.str.setup(n),t.proxy.type=n.str.type,t.proxy.elementType=n.str.elementType),n.settings=P(n.str.fullType,t._options,t._params.themeManager),n.hasSeparateLabel=!(!n.settings.label.enabled||!n.str.hasLabelsGroup),n.hover=!!ae(n.settings.hoverEnabled,!0),n.selection&&de(n.selection.state,function(e,t){t&&t.resetSelected()}),n.selection=o(n.settings.selectionMode),n.hasSeparateLabel?n.labelRoot||(n.labelRoot=n.renderer.g().attr({"class":"dxm-layer-labels"}).linkOn(t._container,{name:n.name+"-labels",after:n.name}).linkAppend(),t._transformCore()):n.labelRoot&&(n.labelRoot.linkRemove().linkOff(),n.labelRoot=null),e&&t._createHandles(),V(n),n.str.arrange(n,t._handles),n.str.updateGrouping(n),t._updateHandles(),t._params.notifyReady()},_destroyHandles:function(){var e,t=this._handles,n=t.length;for(e=0;n>e;++e)t[e].dispose();this._context.selection&&(this._context.selection.state={}),this._handles=[]},_createHandles:function(){var e,t,n,i=this,o=i._handles=[],a=i._data,r=o.length=a.count(),s=i._context,l=a.geometry,c=a.attributes;for(e=0;r>e;++e)n=a.item(e),o[e]=new Be(s,e,l(n),c(n));for(ne(i._options.customize)&&(i._options._deprecated?h:u)(i.getProxies(),i._options.customize,i._params.widget),i._options._deprecated&&p(o,s.name,a),e=0;r>e;++e)t=o[e],t.project(),t.draw(),t.transform();s.selection&&de(s.selection.state,function(e,t){t&&t.restoreSelected()})},_updateHandles:function(){var e,t=this._handles,n=t.length;for(e=0;n>e;++e)t[e].refresh();if(this._context.settings.label.enabled){for(e=0;n>e;++e)t[e].measureLabel();for(e=0;n>e;++e)t[e].adjustLabel()}},_transformCore:function(){var e=this._params.projection.getTransform();this._context.root.attr(e),this._context.labelRoot&&this._context.labelRoot.attr(e)},_project:function(){var e,t=this._handles,n=t.length;for(e=0;n>e;++e)t[e].project()},_transform:function(){var e,t=this._handles,n=t.length;for(this._transformCore(),e=0;n>e;++e)t[e].transform()},getProxies:function(){var e,t=this._handles,n=[],i=n.length=t.length;for(e=0;i>e;++e)n[e]=t[e].proxy;return n},getProxy:function(e){return this._handles[e].proxy},raiseClick:function(e,t){this._params.eventTrigger("click",{target:this._handles[e].proxy,jQueryEvent:t})},hoverItem:function(e,t){this._handles[e].setHovered(t)},selectItem:function(e,t,n){this._handles[e].setSelected(t,n)},clearSelection:function(){var e=this._context.selection;e&&(de(e.state,function(e,t){t&&t.setSelected(!1)}),e.state={})}};var Be=function(e,t,n,i){var o=this,a=o.proxy=z(o,n.coordinates,ce({},i));o._ctx=e,o._idx=t,o._fig=o._lbl=null,o._state=_e,o._coordinates=n.coordinates,o._settings={label:{}},a.index=t,a.layer=e.layer,o._data={name:e.name,index:t}};Be.prototype={constructor:Be,dispose:function(){var e=this;return e._ctx=e.proxy=e._settings=e._fig=e._lbl=e.data=null,e},project:function(){var e=this._ctx;this._prj=e.str.project(e.projection,this._coordinates),e.hasSeparateLabel&&this._lbl&&this._projectLabel()},_projectLabel:function(){this._labelPrj=this._ctx.str.projectLabel(this._prj)},draw:function(){var e=this,t=this._ctx;t.str.draw(t,e._fig={},e._data),e._fig.root.append(t.root)},transform:function(){var e=this,t=e._ctx;t.str.transform(e._fig,t.projection,e._prj),t.hasSeparateLabel&&e._lbl&&e._transformLabel()},_transformLabel:function(){this._ctx.str.transformLabel(this._lbl,this._ctx.projection,this._labelPrj)},refresh:function(){var e=this,t=e._ctx.str,n=E(e._ctx,e.proxy,e._settings);e._styles=t.getStyles(n),t.refresh(e._ctx,e._fig,e._data,e.proxy,n),e._refreshLabel(n),e._setState()},_refreshLabel:function(e){var t=this,n=t._ctx,i=e.label,o=t._lbl;n.settings.label.enabled?(o||(o=t._lbl={root:n.labelRoot||t._fig.root,text:n.renderer.text().attr({"class":"dxm-label"}),size:[0,0]},n.hasSeparateLabel&&(t._projectLabel(),t._transformLabel())),o.value=K(t.proxy.text||t.proxy.attribute(i.dataField)||""),o.value&&(o.text.attr({text:o.value,x:0,y:0}).css(re(i.font)).attr({align:"center",stroke:i.stroke,"stroke-width":i["stroke-width"],"stroke-opacity":i["stroke-opacity"]}).data(n.dataKey,t._data).append(o.root),o.settings=e)):o&&(o.text.remove(),t._lbl=null)},measureLabel:function(){var e,t=this._lbl;t.value&&(e=t.text.getBBox(),t.size=[e.width,e.height,-e.y-e.height/2])},adjustLabel:function(){var e,t=this._lbl;t.value&&(e=this._ctx.str.getLabelOffset(t,t.settings),t.settings=null,t.text.attr({x:e[0],y:e[1]+t.size[2]}))},update:function(e){var t=this;t._settings=O(t._settings,e),t._fig&&(t.refresh(),t._lbl&&t._lbl.value&&(t.measureLabel(),t.adjustLabel()))},_setState:function(){this._ctx.str.setState(this._fig,this._styles,ve[this._state])},_setForeground:function(){var e=this._fig.root;this._state?e.toForeground():e.toBackground()},setHovered:function(e){var t=this,n=L(t._state,ge),i=!!e;return t._ctx.hover&&n!==i&&(t._state=F(t._state,ge,i),t._setState(),t._setForeground(),M(t._ctx,t,i,"hoverChanged")),t},setSelected:function(e,t){var n,i=this,o=L(i._state,me),a=!!e,r=i._ctx.selection;r&&o!==a&&(i._state=F(i._state,me,a),n=r.state[r.single],r.state[r.single]=null,n&&n.setSelected(!1),r.state[r.single||i._idx]=e?i:null,i._fig&&(i._setState(),i._setForeground(),t||M(i._ctx,i,a,"selectionChanged")))},isSelected:function(){return L(this._state,me)},resetSelected:function(){this._state=F(this._state,me,!1)},restoreSelected:function(){this._fig.root.toForeground()}},q.prototype={constructor:q,dispose:function(){var e=this;e._clip.dispose(),e._offTracker(),e._params=e._offTracker=e._layers=e._layerByName=e._clip=e._background=e._container=null},_subscribeToTracker:function(e,t,n){var i=this;i._offTracker=e.on({click:function(e){var o=t.getRootOffset(),a=i.byName(e.data.name);e.$event.x=e.x-o.left,e.$event.y=e.y-o.top,a?a.raiseClick(e.data.index,e.$event):"background"===e.data.name&&n("click",{jQueryEvent:e.$event})},"hover-on":function(e){var t=i.byName(e.data.name);t&&t.hoverItem(e.data.index,!0)},"hover-off":function(e){var t=i.byName(e.data.name);t&&t.hoverItem(e.data.index,!1)}})},setOptions:function(e){var t,n,i,o,a=e?e.length?e:[e]:[],r=this._layers,s=this._layerByName,l=this._params,c=this._container;for(i=a.length,o=r.length;o>i;++i)n=r[i],delete s[n.proxy.name],n.dispose();for(r.splice(a.length,r.length-a.length),i=r.length,o=a.length;o>i;++i)t=(a[i]||{}).name||"map-layer-"+i,n=r[i]=new Ae(l,c,t,i),s[t]=n;for(i=0,o=a.length;o>i;++i)t=a[i]&&a[i].name,n=r[i],t&&t!==n.proxy.name&&(delete s[n.proxy.name],n.dispose(),n=r[i]=new Ae(l,c,t,i),s[t]=n),n.setOptions(a[i])},_updateClip:function(){var e=this._rect,t=this._bw;this._clip.attr({x:e[0]+t,y:e[1]+t,width:Z(e[2]-2*t,0),height:Z(e[3]-2*t,0)})},setBackgroundOptions:function(e){this._background.attr({stroke:e.borderColor,"stroke-width":e.borderWidth,fill:e.color}),this._bw=Z(e.borderWidth,0),this._updateClip()},setRect:function(e){this._rect=e,this._background.attr({x:e[0],y:e[1],width:e[2],height:e[3]}),this._updateClip()},byIndex:function(e){return this._layers[e]},byName:function(e){return this._layerByName[e]},items:function(){return this._layers}},t.MapLayerCollection=q}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(115).BaseThemeManager;t.ThemeManager=o.inherit({_themeSection:"map",_fontFields:["layer:area.label.font","layer:marker:dot.label.font","layer:marker:bubble.label.font","layer:marker:pie.label.font","layer:marker:image.label.font","tooltip.font","legend.font","title.font","title.subtitle.font","loadingIndicator.font","export.font"]})}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,n){function i(e){this._subscribeToTracker(e.tracker,e.tooltip,e.layerCollection)}var o=12;i.prototype={constructor:i,dispose:function(){this._offTracker(),this._offTracker=null},_subscribeToTracker:function(e,t,n){this._offTracker=e.on({"focus-on":function(e){var i,a,r=!1;t.isEnabled()&&(i=n.byName(e.data.name),a=i&&i.getProxy(e.data.index),a&&t.show(a,{x:0,y:0,offset:0},{target:a})&&(t.move(e.x,e.y,o),r=!0)),e.done(r)},"focus-move":function(e){t.move(e.x,e.y,o)},"focus-off":function(){t.hide()}})}},t.TooltipViewer=i}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(e){var t=this;t._root=e.root,t._createEventHandlers(e.dataKey),t._createProjectionHandlers(e.projection),t._initEvents(),t._focus=new K(function(e,n){t._fire(e,n)}),t._attachHandlers()}function a(e,t,n,i){return g((e-n)*(e-n)+(t-i)*(t-i))}function r(e){var t=e.originalEvent.type,n=e.originalEvent.pointerType;return/^touch/.test(t)||/^MSPointer/.test(t)&&4!==n||/^pointer/.test(t)&&"mouse"!==n}function s(e,t){for(var n,i=0,o=e.length;o>i;++i)if(e[i]){n=t[i];break}return y(n||t[i],k)}function l(){var e=[navigator.pointerEnabled,navigator.msPointerEnabled,"ontouchstart"in window];S={start:s(e,["pointerdown","MSPointerDown","touchstart mousedown","mousedown"]),move:s(e,["pointermove","MSPointerMove","touchmove mousemove","mousemove"]),end:s(e,["pointerup","MSPointerUp","touchend mouseup","mouseup"]),wheel:y(w,k)}}function c(e){var t=e.originalEvent,n=t.touches&&t.touches[0]||{};return{x:n.pageX||t.pageX||e.pageX,y:n.pageY||t.pageY||e.pageY}}function d(e){return e.originalEvent.pointerId}function u(e,t){var n=e.originalEvent;return n=void 0!==n.pointerId?n.pointerId===t?n:null:n.touches[t],n?{x:n.pageX||e.pageX,y:n.pageY||e.pageY}:null}function h(e,t){if(0===e)return 0;var n=_(e),i=m(e/n);return t.dir&&i!==t.dir?0:(t.dir=i,n=.1>n?0:1>n?1:n>4?4:m(n),i*n)}var p=n(1),f=Math,_=f.abs,g=f.sqrt,m=f.round,v=n(350),x=n(4),w=n(86).name,y=x.addNamespace,b=n(7).parseScalar,C=p.now,k="dxVectorMap",S={};l();var T="start",I="move",D="end",E="zoom",A="hover-on",B="hover-off",M="click",O="focus-on",P="focus-move",R="focus-off",V=500,F=5,L=20,H=5,z=10,N=300,W=300,G=300,$=400,q=5,j=50,U=300;o.prototype={constructor:o,dispose:function(){var e=this;e._detachHandlers(),e._disposeEvents(),e._focus.dispose(),e._root=e._focus=e._docHandlers=e._rootHandlers=null},_eventNames:[T,I,D,E,M,A,B,O,R,P],_startClick:function(e,t){if(t){var n=c(e);this._clickState={x:n.x,y:n.y,threshold:r(e)?L:F,time:C()}}},_endClick:function(e,t){var n,i,o=this._clickState;o&&(C()-o.time<=V&&(n=o.threshold,i=c(e),_(i.x-o.x)<=n&&_(i.y-o.y)<=n&&this._fire(M,{data:t,x:i.x,y:i.y,$event:e})),this._clickState=null)},_startDrag:function(e,t){if(t){var n=c(e),i=this._dragState={x:n.x,y:n.y,data:t};this._fire(T,{x:i.x,y:i.y,data:i.data})}},_moveDrag:function(e,t){var n,i,o=this._dragState;o&&(n=c(e),i=r(e)?z:H,(o.active||_(n.x-o.x)>i||_(n.y-o.y)>i)&&(o.x=n.x,o.y=n.y,o.active=!0,o.data=t||{},this._fire(I,{x:o.x,y:o.y,data:o.data})))},_endDrag:function(){var e=this._dragState;e&&(this._dragState=null,this._fire(D,{x:e.x,y:e.y,data:e.data}))},_wheelZoom:function(e,t){if(t){var n,i,o=this,a=o._wheelLock,r=C();r-a.time<=j||(r-a.dirTime>U&&(a.dir=0),n=h(e.delta/120||0,a),0!==n&&(i=c(e),o._fire(E,{delta:n,x:i.x,y:i.y}),a.time=a.dirTime=r))}},_startZoom:function(e,t){if(r(e)&&t){var n,i,o=this._zoomState=this._zoomState||{};o.pointer1&&o.pointer2||(void 0===o.pointer1&&(o.pointer1=d(e)||0,n=u(e,o.pointer1),o.x1=o.x1_0=n.x,o.y1=o.y1_0=n.y),void 0===o.pointer2&&(i=d(e)||1,i!==o.pointer1&&(n=u(e,i),n&&(o.x2=o.x2_0=n.x,o.y2=o.y2_0=n.y,o.pointer2=i,o.ready=!0,this._endDrag()))))}},_moveZoom:function(e){var t,n=this._zoomState;n&&r(e)&&(void 0!==n.pointer1&&(t=u(e,n.pointer1),t&&(n.x1=t.x,n.y1=t.y)),void 0!==n.pointer2&&(t=u(e,n.pointer2),t&&(n.x2=t.x,n.y2=t.y)))},_endZoom:function(e){var t,n,i=this._zoomState;i&&r(e)&&(i.ready&&(t=a(i.x1_0,i.y1_0,i.x2_0,i.y2_0),n=a(i.x1,i.y1,i.x2,i.y2),this._fire(E,{ratio:n/t,x:(i.x1_0+i.x2_0)/2,y:(i.y1_0+i.y2_0)/2})),this._zoomState=null)},_startHover:function(e,t){this._doHover(e,t,!0)},_moveHover:function(e,t){this._doHover(e,t,!1)},_doHover:function(e,t,n){var i=this;return i._dragState&&i._dragState.active||i._zoomState&&i._zoomState.ready?void i._cancelHover():void(r(e)!==n||i._hoverTarget===e.target||i._hoverState&&i._hoverState.data===t||(i._cancelHover(),t&&(i._hoverState={data:t},i._fire(A,{data:t})),i._hoverTarget=e.target))},_cancelHover:function(){var e=this._hoverState;this._hoverState=this._hoverTarget=null,e&&this._fire(B,{data:e.data})},_startFocus:function(e,t){this._doFocus(e,t,!0)},_moveFocus:function(e,t){this._doFocus(e,t,!1)},_doFocus:function(e,t,n){var i=this;return i._dragState&&i._dragState.active||i._zoomState&&i._zoomState.ready?void i._cancelFocus():void(r(e)===n&&(i._focus.turnOff(n?$:W),
t&&i._focus.turnOn(t,c(e),n?G:N,n)))},_endFocus:function(e){r(e)&&this._focus.cancelOn()},_cancelFocus:function(){this._focus.cancel()},_createEventHandlers:function(e){function t(t){var n=t.target;return("tspan"===n.tagName?n.parentNode:n)[e]}var n=this;n._docHandlers={},n._rootHandlers={},n._rootHandlers[S.start]=n._docHandlers[S.start]=function(e){var i=r(e),o=t(e);i&&!n._isTouchEnabled||(o&&(e.preventDefault(),e.stopPropagation()),n._startClick(e,o),n._startDrag(e,o),n._startZoom(e,o),n._startHover(e,o),n._startFocus(e,o))},n._docHandlers[S.move]=function(e){var i=r(e),o=t(e);i&&!n._isTouchEnabled||(n._moveDrag(e,o),n._moveZoom(e,o),n._moveHover(e,o),n._moveFocus(e,o))},n._docHandlers[S.end]=function(e){var i=r(e),o=t(e);i&&!n._isTouchEnabled||(n._endClick(e,o),n._endDrag(e,o),n._endZoom(e,o),n._endFocus(e,o))},n._rootHandlers[S.wheel]=function(e){if(n._cancelFocus(),n._isWheelEnabled){var i=t(e);i&&(e.preventDefault(),e.stopPropagation(),n._wheelZoom(e,i))}},n._wheelLock={dir:0}},_createProjectionHandlers:function(e){function t(){n._cancelFocus()}var n=this;e.on({center:t,zoom:t})},reset:function(){var e=this;e._clickState=null,e._endDrag(),e._cancelHover(),e._cancelFocus()},setOptions:function(e){var t=this;t.reset(),t._detachHandlers(),t._isTouchEnabled=!!b(e.touchEnabled,!0),t._isWheelEnabled=!!b(e.wheelEnabled,!0),t._attachHandlers()},_detachHandlers:function(){var e=this;e._isTouchEnabled&&e._root.css({"touch-action":"","-ms-touch-action":"","-webkit-user-select":""}).off(y("MSHoldVisual",k)).off(y("contextmenu",k)),p(document).off(e._docHandlers),e._root.off(e._rootHandlers)},_attachHandlers:function(){var e=this;e._isTouchEnabled&&e._root.css({"touch-action":"none","-ms-touch-action":"none","-webkit-user-select":"none"}).on(y("MSHoldVisual",k),function(e){e.preventDefault()}).on(y("contextmenu",k),function(e){r(e)&&e.preventDefault()}),p(document).on(e._docHandlers),e._root.on(e._rootHandlers)}};var K=function(e){var t,n,i=this,o=null,a=null,r=!1,s=null,l=null;i.dispose=function(){clearTimeout(s),clearTimeout(l),i.turnOn=i.turnOff=i.cancel=i.cancelOn=i.dispose=i=e=o=a=s=l=null},i.turnOn=function(i,c,d,u){function h(e){r=!e,e&&(o=a,clearTimeout(l),l=null)}i===a&&r||(r=!1,a=i,o?(t=c.x,n=c.y,clearTimeout(s),s=setTimeout(function(){s=null,a===o?(e(P,{data:a,x:t,y:n}),h(!0)):e(O,{data:a,x:t,y:n,done:h})},u?d:0)):(!s||_(c.x-t)>q||_(c.y-n)>q||u)&&(t=c.x,n=c.y,clearTimeout(s),s=setTimeout(function(){s=null,e(O,{data:a,x:t,y:n,done:h})},d)))},i.turnOff=function(t){clearTimeout(s),s=null,a=null,o&&!r&&(l=l||setTimeout(function(){l=null,e(R,{data:o}),o=null},t))},i.cancel=function(){clearTimeout(s),clearTimeout(l),o&&e(R,{data:o}),o=a=s=l=null},i.cancelOn=function(){clearTimeout(s),s=null}};v.makeEventEmitter(o),t.Tracker=o}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){function o(){return"vectormap-data-"+S++}function a(e,t){function n(e){var t={};return s(e||{},t),t}t&&(e.__data=t.length?c.map(t,n):n(t))}function r(e,t,n){var i=e.__data;i&&(e.__data=void 0,i.length?c.each(i,function(e,n){s(n,t[e])}):s(i,t),n.lock(),e.setOptions(t),n.unlock())}function s(e,t){var n=!("dataSource"in e)&&"data"in e?"data":"dataSource";t[n]=e[n],e[n]=void 0}function l(e){var t=n(10).log,i=e._options.mapData,o=e._options.markers;e._options.mapData=e._options.markers=void 0,e._afterInit=function(){this._options.mapData=i,this._options.markers=o,this._renderer.lock(),this._setLayerCollectionOptions(),this._renderer.unlock(),i=o=void 0},e._setLayerCollectionOptions=function(){var e=this._options,t=e.mapData,n=e.markers;t=t&&t.features?b({},t):t,n=n&&n.features?b({},n):n,this._layerCollection.setOptions([b({},e.areaSettings,{name:"areas",_deprecated:!0,dataSource:t,type:"area"}),b({},e.markerSettings,{name:"markers",_deprecated:!0,dataSource:n,type:"marker",elementType:e.markerSettings&&e.markerSettings.type})])},e.getAreas=function(){return t("W0002",this.NAME,"getAreas","15.2","Use the 'getLayerByName('areas').getElements()' instead"),this.getLayerByName("areas").getElements()},e.getMarkers=function(){return t("W0002",this.NAME,"getMarkers","15.2","Use the 'getLayerByName('markers').getElements()' instead"),this.getLayerByName("markers").getElements()},e.clearAreaSelection=function(e){return t("W0002",this.NAME,"clearAreaSelection","15.2","Use the 'getLayerByName('areas').clearSelection()' instead"),this.getLayerByName("areas").clearSelection(e),this},e.clearMarkerSelection=function(e){return t("W0002",this.NAME,"clearMarkerSelection","15.2","Use the 'getLayerByName('markers').clearSelection()' instead"),this.getLayerByName("markers").clearSelection(e),this};var a={areas:"areaClick",markers:"markerClick"},r={areas:"areaHoverChanged",markers:"markerHoverChanged"},s={areas:"areaSelectionChanged",markers:"markerSelectionChanged"};e.on("click",function(e){e.target&&this._eventTrigger(a[e.target.layer.name],e)}),e.on("hoverChanged",function(e){e.target&&this._eventTrigger(r[e.target.layer.name],e)}),e.on("selectionChanged",function(e){e.target&&this._eventTrigger(s[e.target.layer.name],e)})}var c=n(1),d=n(7).parseScalar,u=n(352),h=n(571),p=n(573),f=n(579),_=n(577),g=n(572),m=n(575),v=n(574),x=n(576),w=n(578),y=c.noop,b=c.extend,C=800,k=400,S=1,T=/^layers/,I=/\.(dataSource|data)$/;n(351);var D=n(116).inherit({_eventsMap:{onClick:{name:"click"},onCenterChanged:{name:"centerChanged"},onZoomFactorChanged:{name:"zoomFactorChanged"},onAreaClick:{name:"areaClick"},onAreaHoverChanged:{name:"areaHoverChanged"},onAreaSelectionChanged:{name:"areaSelectionChanged"},onMarkerClick:{name:"markerClick"},onMarkerHoverChanged:{name:"markerHoverChanged"},onMarkerSelectionChanged:{name:"markerSelectionChanged"},onHoverChanged:{name:"hoverChanged"},onSelectionChanged:{name:"selectionChanged"}},_setDeprecatedOptions:function(){this.callBase.apply(this,arguments),b(this._deprecatedOptions,{areaSettings:{since:"15.2",message:"Use the 'layers' option instead"},markerSettings:{since:"15.2",message:"Use the 'layers' option instead"},mapData:{since:"15.2",message:"Use the 'layers' option instead"},markers:{since:"15.2",message:"Use the 'layers' option instead"},onAreaClick:{since:"15.2",message:"Use the 'onClick' option instead"},onMarkerClick:{since:"15.2",message:"Use the 'onClick' option instead"},onAreaHoverChanged:{since:"15.2",message:"Use the 'onHoverChanged' option instead"},onMarkerHoverChanged:{since:"15.2",message:"Use the 'onHoverChanged' option instead"},onAreaSelectionChanged:{since:"15.2",message:"Use the 'onSelectionChanged' option instead"},onMarkerSelectionChanged:{since:"15.2",message:"Use the 'onSelectionChanged' option instead"},"layers.data":{since:"15.2",message:"Use the 'layers.dataSource' option instead"}})},_rootClassPrefix:"dxm",_rootClass:"dxm-vector-map",_createThemeManager:function(){return new _.ThemeManager},_initLayerCollection:function(e){var t=this;t._layerCollection=new x.MapLayerCollection({renderer:t._renderer,projection:t._projection,themeManager:t._themeManager,tracker:t._tracker,dataKey:e,eventTrigger:t._eventTrigger,dataExchanger:t._dataExchanger,tooltip:t._tooltip,notifyDirty:t._notifyDirty,notifyReady:t._notifyReady}),void 0===t._options.layers&&(t._options.mapData||t._options.markers)?l(t):a(t._layerCollection,t._options.layers)},_initLegendsControl:function(){var e=this;e._legendsControl=new m.LegendsControl({renderer:e._renderer,container:e._root,layoutControl:e._layoutControl,themeManager:e._themeManager,dataExchanger:e._dataExchanger,notifyDirty:e._notifyDirty,notifyReady:e._notifyReady})},_initControlBar:function(e){var t=this;t._controlBar=new h.ControlBar({renderer:t._renderer,container:t._root,layoutControl:t._layoutControl,projection:t._projection,tracker:t._tracker,dataKey:e})},_initElements:function(){var e=this,t=o(),n=0;e._notifyDirty=function(){e._resetIsReady(),++n},e._notifyReady=function(){0===--n&&e._drawn()},e._dataExchanger=new g.DataExchanger,e._projection=new u.Projection({centerChanged:function(t){e._initialized&&e._eventTrigger("centerChanged",{center:t})},zoomChanged:function(t){e._initialized&&e._eventTrigger("zoomFactorChanged",{zoomFactor:t})}}),e._tracker=new f.Tracker({root:e._root,projection:e._projection,dataKey:t}),e._gestureHandler=new p.GestureHandler({projection:e._projection,renderer:e._renderer,tracker:e._tracker}),e._layoutControl=new v.LayoutControl,e._layoutControl.suspend(),e._initLayerCollection(t),e._initControlBar(t),e._initLegendsControl(),e._tooltipViewer=new w.TooltipViewer({tracker:e._tracker,tooltip:e._tooltip,layerCollection:e._layerCollection})},_init:function(){this.callBase.apply(this,arguments),this._afterInit(),this._layoutControl.resume()},_initialChanges:["PROJECTION","BOUNDS","MAX_ZOOM_FACTOR","ZOOM_FACTOR","CENTER"],_afterInit:function(){r(this._layerCollection,this._options.layers,this._renderer)},_initCore:function(){this._root=this._renderer.root.attr({align:"center",cursor:"default"}),this._initElements()},_disposeCore:function(){var e=this;e._controlBar.dispose(),e._gestureHandler.dispose(),e._tracker.dispose(),e._legendsControl.dispose(),e._layerCollection.dispose(),e._layoutControl.dispose(),e._tooltipViewer.dispose(),e._dataExchanger.dispose(),e._projection.dispose(),e._dataExchanger=e._gestureHandler=e._projection=e._tracker=e._layoutControl=e._root=e._layerCollection=e._controlBar=e._legendsControl=null},_setupInteraction:function(){var e={centeringEnabled:!!d(this._getOption("panningEnabled",!0),!0),zoomingEnabled:!!d(this._getOption("zoomingEnabled",!0),!0)};this._gestureHandler.setInteraction(e),this._controlBar.setInteraction(e)},_getDefaultSize:function(){return{width:C,height:k}},_applySize:function(e){var t={left:e[0],top:e[1],width:e[2]-e[0],height:e[3]-e[1],right:0,bottom:0};this._projection.setSize(t),this._layoutControl.setSize(t),this._layerCollection.setRect([t.left,t.top,t.width,t.height])},_optionChanging:function(e,t,n){t&&n&&(T.test(e)&&(t.dataSource&&n.dataSource&&t!==n?t.dataSource=null:t.data&&n.data&&t!==n?t.data=null:I.test(e)&&this.option(e,null)),"mapData"===e&&(this._options.mapData=null),"markers"===e&&(this._options.markers=null))},_applyChanges:function(){this._notifyDirty(),this.callBase.apply(this,arguments),this._notifyReady()},_optionChangesMap:{background:"BACKGROUND",layers:"LAYERS",areaSettings:"LAYERS",markerSettings:"LAYERS",mapData:"LAYERS",markers:"LAYERS",controlBar:"CONTROL_BAR",legends:"LEGENDS",touchEnabled:"TRACKER",wheelEnabled:"TRACKER",panningEnabled:"INTERACTION",zoomingEnabled:"INTERACTION",projection:"PROJECTION",bounds:"BOUNDS",maxZoomFactor:"MAX_ZOOM_FACTOR",zoomFactor:"ZOOM_FACTOR",center:"CENTER"},_optionChangesOrder:["PROJECTION","BOUNDS","MAX_ZOOM_FACTOR","ZOOM_FACTOR","CENTER","BACKGROUND","LAYERS","CONTROL_BAR","LEGENDS","TRACKER","INTERACTION"],_change_PROJECTION:function(){this._setProjection()},_change_BOUNDS:function(){this._setBounds()},_change_MAX_ZOOM_FACTOR:function(){this._setMaxZoom()},_change_ZOOM_FACTOR:function(){this._setZoom()},_change_CENTER:function(){this._setCenter()},_change_BACKGROUND:function(){this._setBackgroundOptions()},_change_LAYERS:function(){this._setLayerCollectionOptions()},_change_CONTROL_BAR:function(){this._setControlBarOptions()},_change_LEGENDS:function(){this._setLegendsOptions()},_change_TRACKER:function(){this._setTrackerOptions()},_change_INTERACTION:function(){this._setupInteraction()},_themeDependentChanges:["BACKGROUND","LAYERS","CONTROL_BAR","LEGENDS","TRACKER","INTERACTION"],_setProjection:function(){this._projection.setEngine(this.option("projection"))},_setBounds:function(){this._projection.setBounds(this.option("bounds"))},_setMaxZoom:function(){this._projection.setMaxZoom(this.option("maxZoomFactor"))},_setZoom:function(){this._projection.setZoom(this.option("zoomFactor"))},_setCenter:function(){this._projection.setCenter(this.option("center"))},_setBackgroundOptions:function(){this._layerCollection.setBackgroundOptions(this._getOption("background"))},_setLayerCollectionOptions:function(){this._layerCollection.setOptions(this.option("layers"))},_setControlBarOptions:function(){this._controlBar.setOptions(this._getOption("controlBar"))},_setLegendsOptions:function(){this._legendsControl.setOptions(this.option("legends"))},_setTrackerOptions:function(){this._tracker.setOptions({touchEnabled:this._getOption("touchEnabled",!0),wheelEnabled:this._getOption("wheelEnabled",!0)})},getLayers:function(){var e,t=this._layerCollection.items(),n=[],i=n.length=t.length;for(e=0;i>e;++e)n[e]=t[e].proxy;return n},getLayerByIndex:function(e){var t=this._layerCollection.byIndex(e);return t?t.proxy:null},getLayerByName:function(e){var t=this._layerCollection.byName(e);return t?t.proxy:null},clearSelection:function(e){var t,n=this._layerCollection.items(),i=n.length;for(t=0;i>t;++t)n[t].clearSelection(e);return this},getAreas:y,getMarkers:y,clearAreaSelection:y,clearMarkerSelection:y,center:function(e){var t=this;return void 0===e?t._projection.getCenter():(t._projection.setCenter(e),t)},zoomFactor:function(e){var t=this;return void 0===e?t._projection.getZoom():(t._projection.setZoom(e),t)},viewport:function(e){var t=this;return void 0===e?t._projection.getViewport():(t._projection.setViewport(e),t)},convertCoordinates:function(e){return e=e&&e.length?e:[arguments[0],arguments[1]],this._projection.fromScreenPoint(e)}});n(3)("dxVectorMap",D),i.exports=D,D.addPlugin(n(130).plugin),D.addPlugin(n(171).plugin),D.addPlugin(n(172).plugin),D.addPlugin(n(169).plugin)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(309);o.dxPanorama=n(582),o.dxPivot=n(583),o.dxSlideOut=n(585),o.dxSlideOutView=n(500)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(22),r=n(15),s=n(5),l=l,c=n(3),d=n(89),u=n(4),h=n(34),p=n(28),f="dx-panorama",_="dx-panorama-wrapper",g="dx-panorama-title",m="dx-panorama-ghosttitle",v="dx-panorama-itemscontainer",x="dx-panorama-item",w="dx-panorama-ghostitem",y="dxPanoramaItemData",b=.02,C=.02,k=300,S="cubic-bezier(.40, .80, .60, 1)",T=300,I="cubic-bezier(.40, .80, .60, 1)",D=300,E="cubic-bezier(.40, .80, .60, 1)",A=function(e,t){e.css("background-position",t+"px 0%")},B=function(e){return r.locate(e).left},M=function(e,t){r.move(e,{left:t}),e.css("visibility","")},O={backgroundMove:function(e,t,n){return a.animate(e,{to:{"background-position":t+"px 0%"},duration:k,easing:S,complete:n})},titleMove:function(e,t,n){return a.animate(e,{type:"slide",to:{left:t},duration:T,easing:I,complete:n})},itemMove:function(e,t,n){return a.animate(e,{type:"slide",to:{left:t},duration:D,easing:E,complete:function(){n&&n.apply(this,arguments),e.css("visibility",B(e)>0?"":"hidden")}})}},P=function(e){e&&o.each(e,function(e,t){a.stop(t,!0)})},R=s.inherit({ctor:function(e){this._panorama=e},init:o.noop,render:o.noop,allItemElements:function(){return this._panorama._itemElements()},updatePositions:l,animateRollback:l,detectBoundsTransition:l,animateComplete:l,_getRTLSignCorrection:function(){return this._panorama._getRTLSignCorrection()},_isRTLEnabled:function(){return this._panorama.option("rtlEnabled")},_itemMargin:function(){return this._containerWidth()*b},_containerWidth:function(){return this._panorama._elementWidth()},_itemWidth:function(){return this._panorama._itemWidth()},_indexBoundary:function(){return this._panorama._indexBoundary()},_normalizeIndex:function(e){return this._panorama._normalizeIndex(e)},_startNextPosition:function(){return this._isRTLEnabled()?this._containerWidth()-(this._itemMargin()+this._itemWidth()):this._itemMargin()},_startPrevPosition:function(){return this._isRTLEnabled()?this._containerWidth():-this._itemWidth()}}),V=R.inherit({updatePositions:function(){var e=this._panorama._itemElements(),t=this._startNextPosition();e.each(function(){M(o(this),t)})},animateRollback:o.noop,detectBoundsTransition:o.noop,animateComplete:o.noop}),F=R.inherit({init:function(){this._initGhostItem()},render:function(){this._renderGhostItem()},_initGhostItem:function(){this._$ghostItem=o("<div>").addClass(w)},_renderGhostItem:function(){this._panorama._itemContainer().append(this._$ghostItem),this._toggleGhostItem(!1)},_toggleGhostItem:function(e){var t=this._$ghostItem;e?t.css("opacity",1):t.css("opacity",0)},_updateGhostItemContent:function(e){e!==!1&&e!==this._prevGhostIndex&&(this._$ghostItem.html(this._panorama._itemElements().eq(e).html()),this._prevGhostIndex=e)},_isGhostItemVisible:function(){return"1"===this._$ghostItem.css("opacity")},_swapGhostWithItem:function(e){var t=this._$ghostItem,n=B(e);M(e,B(t)),M(t,n)},allItemElements:function(){return this._panorama._itemContainer().find("."+x+", ."+w)},updatePositions:function(e){var t=this.allItemElements(),n=this._panorama.option("selectedIndex"),i=e*this._getRTLSignCorrection(),a=i>0&&0===n||0>i&&1===n,r=0>i&&0===n||i>0&&1===n,s=a&&"replaceLast"||r&&"replaceFirst",l=a&&1||r&&0,c=this._calculateItemPositions(n,s);this._updateGhostItemContent(l),this._toggleGhostItem(a||r),t.each(function(t){M(o(this),c[t]+e)})},animateRollback:function(e){var t=this,n=this._panorama._itemElements(),i=this._startNextPosition(),a=this._getRTLSignCorrection(),r=(B(n.eq(e))-i)*a,s=(B(this._$ghostItem)-i)*a,l=this._calculateItemPositions(e,s>0?"prepend":"append"),c=0===e&&r>0&&s>0||1===e&&0>s;c?this._swapGhostWithItem(n.eq(1)):this._swapGhostWithItem(n.eq(0)),n.each(function(e){O.itemMove(o(this),l[e])}),O.itemMove(this._$ghostItem,l[2],function(){t._toggleGhostItem(!1)})},detectBoundsTransition:function(e,t){var n=B(this._$ghostItem),i=this._startNextPosition(),o=this._isRTLEnabled();return 0===e&&o^i>n?"left":0===t&&o^n>i?"right":void 0},animateComplete:function(e,t,n){var i=this,a=!e^0!==n?"prepend":"append",r=this._panorama._itemElements(),s=this._calculateItemPositions(t,a),l=[];return r.each(function(e){l.push(O.itemMove(o(this),s[e]))}),l.push(O.itemMove(this._$ghostItem,s[2],function(){i._toggleGhostItem(!1)})),o.when.apply(o,l)},_calculateItemPositions:function(e,t){var n=[],i=this._itemMargin(),o=this._itemWidth(),a=(o+i)*this._getRTLSignCorrection(),r=0===e,s=this._startPrevPosition(),l=this._startNextPosition();switch(n.push(l),l+=a,r?n.push(l):n.splice(0,0,l),l+=a,t){case"replaceFirst":n.push(n[0]),r?n[0]=l:n[0]=s;break;case"replaceLast":r?n.splice(1,0,s):n.splice(1,0,l);break;case"prepend":n.push(s);break;case"append":n.push(l)}return n}}),L=R.inherit({updatePositions:function(e){var t=this._panorama._itemElements(),n=e*this._getRTLSignCorrection()<0,i=this._calculateItemPositions(this._panorama.option("selectedIndex"),n);t.each(function(t){M(o(this),i[t]+e)})},animateRollback:function(e){var t=this._panorama._itemElements(),n=this._calculateItemPositions(e),i=[e,this._normalizeIndex(e+1)];this._isRTLEnabled()^B(t.eq(e))>this._startNextPosition()&&i.push(this._normalizeIndex(e-1)),t.each(function(e){var t=o(this);-1!==o.inArray(e,i)?O.itemMove(t,n[e]):M(t,n[e])})},detectBoundsTransition:function(e,t){var n=this._indexBoundary()-1;return t===n&&0===e?"left":0===t&&e===n?"right":void 0},animateComplete:function(e,t,n){var i=[],a=this._panorama._itemElements(),r=this._calculateItemPositions(t),s=this._normalizeIndex(n-1)===t,l=3===a.length&&s?this._normalizeIndex(n+1):null,c=r[this._indexBoundary()],d=[t,n],u=s?n:t;return s||d.push(this._normalizeIndex(u+1)),a.each(function(e){var t=o(this);return-1===o.inArray(e,d)?void M(t,r[e]):void i.push(e!==l?O.itemMove(t,r[e]):O.itemMove(t,c,function(){M(t,r[e])}))}),o.when.apply(o,i)},_calculateItemPositions:function(e,t){for(var n=this._normalizeIndex(e-1),i=this._itemMargin(),o=this._itemWidth(),a=(o+i)*this._getRTLSignCorrection(),r=[],s=this._startPrevPosition(),l=this._startNextPosition(),c=e;c!==n;c=this._normalizeIndex(c+1))r[c]=l,l+=a;return t?(r[n]=l,l+=a):r[n]=s,r.push(l),r}}),H=p.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{selectedIndex:0,title:"panorama",backgroundImage:{url:null,width:0,height:0},focusStateEnabled:!1,selectionMode:"single",selectionRequired:!0,selectionByClick:!1})},_itemClass:function(){return x},_itemDataKey:function(){return y},_itemContainer:function(){return this._$itemsContainer},_itemWidth:function(){return this._itemWidthCache||(this._itemWidthCache=this._itemElements().eq(0).outerWidth()),this._itemWidthCache},_clearItemWidthCache:function(){delete this._itemWidthCache},_elementWidth:function(){return this._elementWidthCache||(this._elementWidthCache=this.element().width()),this._elementWidthCache},_clearElementWidthCache:function(){delete this._elementWidthCache},_titleWidth:function(){return this._titleWidthCache||(this._titleWidthCache=this._$title.outerWidth()),this._titleWidthCache},_clearTitleWidthCache:function(){delete this._titleWidthCache},_init:function(){this.callBase(),this._initItemsRenderStrategy(),this._initWrapper(),this._initTitle(),this._initItemsContainer(),this._initSwipeHandlers()},_dimensionChanged:function(){this._clearItemWidthCache(),this._clearElementWidthCache(),this._clearTitleWidthCache(),this._updatePositions()},_initWrapper:function(){this._$wrapper=o("<div>").addClass(_).appendTo(this.element())},_initItemsRenderStrategy:function(){var e;switch(this.option("items").length){case 0:case 1:e=V;break;case 2:e=F;break;default:e=L}this._itemsRenderStrategy=new e(this),this._itemsRenderStrategy.init()},_initBackgroundImage:function(){var e=this.option("backgroundImage.url");e&&this.element().css("background-image","url("+e+")")},_initTitle:function(){this._$title=o("<div>").addClass(g),this._$ghostTitle=o("<div>").addClass(m),this._$wrapper.append(this._$title),this._$wrapper.append(this._$ghostTitle),this._updateTitle()},_updateTitle:function(){var e=this.option("title");this._$title.text(e),this._$ghostTitle.text(e),this._toggleGhostTitle(!1)},_toggleGhostTitle:function(e){var t=this._$ghostTitle;e?t.css("opacity",1):t.css("opacity",0)},_getRTLSignCorrection:function(){return this.option("rtlEnabled")?-1:1},_initItemsContainer:function(){this._$itemsContainer=o("<div>").addClass(v),this._$wrapper.append(this._$itemsContainer)},_render:function(){this.element().addClass(f),this.callBase(),this._initBackgroundImage(),this._itemsRenderStrategy.render()},_updatePositions:function(e){e=e||0,this._updateBackgroundPosition(e*this._calculateBackgroundStep()),this._updateTitlePosition(e*this._calculateTitleStep()),this._itemsRenderStrategy.updatePositions(e*this._elementWidth())},_updateBackgroundPosition:function(e){A(this.element(),this._calculateBackgroundPosition(this.option("selectedIndex"))+e)},_updateTitlePosition:function(e){M(this._$title,this._calculateTitlePosition(this.option("selectedIndex"))+e)},_animateRollback:function(e){this._animateBackgroundMove(e),this._animateTitleMove(e),this._itemsRenderStrategy.animateRollback(e)},_animateBackgroundMove:function(e){return O.backgroundMove(this.element(),this._calculateBackgroundPosition(e))},_animateTitleMove:function(e){return O.titleMove(this._$title,this._calculateTitlePosition(e))},_animateComplete:function(e,t){var n=this,i=this._itemsRenderStrategy.detectBoundsTransition(e,t),a=this._performBackgroundAnimation(i,e),r=this._performTitleAnimation(i,e),s=this._itemsRenderStrategy.animateComplete(i,e,t);o.when(a,r,s).done(function(){n._indexChangeOnAnimation=!0,n.option("selectedIndex",e),n._indexChangeOnAnimation=!1})},_performBackgroundAnimation:function(e,t){return e?this._animateBackgroundBoundsTransition(e,t):this._animateBackgroundMove(t)},_animateBackgroundBoundsTransition:function(e,t){var n=this,i="left"===e,o=this._calculateBackgroundPosition(t),a=i^this.option("rtlEnabled")?-this._calculateBackgroundScaledWidth():this._calculateBackgroundScaledWidth(),r=o+a;return O.backgroundMove(this.element(),r,function(){A(n.element(),o)})},_performTitleAnimation:function(e,t){return e?this._animateTitleBoundsTransition(e,t):this._animateTitleMove(t)},_animateTitleBoundsTransition:function(e,t){var n=this,i=this._$ghostTitle,a=this._titleWidth(),r=this._elementWidth(),s="left"===e,l=this.option("rtlEnabled"),c=s^l?r:-a,d=s^l?-(r+a):r;M(i,c),this._toggleGhostTitle(!0),this._swapGhostWithTitle();var u=O.titleMove(i,d,function(){n._toggleGhostTitle(!1)}),h=O.titleMove(this._$title,this._calculateTitlePosition(t));return o.when(u,h)},_swapGhostWithTitle:function(){var e=this._$ghostTitle,t=this._$title,n=B(t);M(t,B(e)),M(e,n)},_calculateTitlePosition:function(e){var t=this._elementWidth(),n=this._titleWidth(),i=t*C,o=this.option("rtlEnabled")?t-i-n:i,a=e*this._calculateTitleStep()*this._getRTLSignCorrection();return o-a},_calculateTitleStep:function(){var e=this._elementWidth(),t=this._titleWidth(),n=this._indexBoundary()||1;return Math.max((t-e)/n,t/n)},_calculateBackgroundPosition:function(e){var t=this._elementWidth(),n=this._calculateBackgroundScaledWidth(),i=this.option("rtlEnabled")?t-n:0,o=e*this._calculateBackgroundStep()*this._getRTLSignCorrection();return i-o},_calculateBackgroundStep:function(){var e=this._itemWidth(),t=this._calculateBackgroundScaledWidth();return Math.max((t-e)/(this._indexBoundary()||1),0)},_calculateBackgroundScaledWidth:function(){return this.element().height()*this.option("backgroundImage.width")/(this.option("backgroundImage.height")||1)},_initSwipeHandlers:function(){this.element().on(u.addNamespace(d.start,this.NAME),{itemSizeFunc:o.proxy(this._elementWidth,this)},o.proxy(this._swipeStartHandler,this)).on(u.addNamespace(d.swipe,this.NAME),o.proxy(this._swipeUpdateHandler,this)).on(u.addNamespace(d.end,this.NAME),o.proxy(this._swipeEndHandler,this))},_swipeStartHandler:function(e){this._stopAnimations(),e.maxLeftOffset=1,e.maxRightOffset=1,(h().designMode||this.option("disabled")||this._indexBoundary()<=1)&&(e.cancel=!0)},_stopAnimations:function(){P([this.element(),this._$ghostTitle,this._$title]),P(this._itemsRenderStrategy.allItemElements())},_swipeUpdateHandler:function(e){this._updatePositions(e.offset)},_swipeEndHandler:function(e){var t=this.option("selectedIndex"),n=e.targetOffset*this._getRTLSignCorrection();0===n?this._animateRollback(t):this._animateComplete(this._normalizeIndex(t-n),t)},_renderSelection:function(e,t){this._indexChangeOnAnimation||this._updatePositions()},_normalizeIndex:function(e){var t=this._indexBoundary();return 0>e&&(e=t+e),e>=t&&(e-=t),e},_indexBoundary:function(){return this.option("items").length},_visibilityChanged:function(e){e&&this._dimensionChanged()},_optionChanged:function(e){switch(e.name){case"width":this.callBase(e),this._dimensionChanged();break;case"backgroundImage":this._invalidate();break;case"title":this._updateTitle();break;case"items":this._initItemsRenderStrategy(),this.callBase(e);break;default:this.callBase(e)}}});c("dxPanorama",H),i.exports=H}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(22),r=n(89),s=n(15),l=n(11),c=n(2),d=n(3),u=n(4),h=n(34),p=n(28),f=n(584),_="dx-pivot",g="dx-pivot-autoheight",m="dx-pivot-wrapper",v="dx-pivottabs-container",x="dx-pivot-itemcontainer",w="dx-pivot-itemwrapper",y="dx-pivot-item",b="dx-pivot-item-hidden",C="dxPivotItemData",k=200,S=50,T=250,I="cubic-bezier(.10, 1, 0, 1)",D={returnBack:function(e){a.animate(e,{type:"slide",to:{left:0},duration:k})},slideAway:function(e,t,n){a.animate(e,{type:"slide",to:{left:t},duration:S,complete:n})},slideBack:function(e){a.animate(e,{type:"slide",to:{left:0},easing:I,duration:T})},complete:function(e){a.stop(e,!0)}},E=p.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{selectedIndex:0,swipeEnabled:!0,itemTitleTemplate:"title",contentTemplate:"content",focusStateEnabled:!1,selectionMode:"single",selectionRequired:!0,selectionByClick:!1})},_itemClass:function(){return y},_itemDataKey:function(){return C},_itemContainer:function(){return this._$itemWrapper},_elementWidth:function(){return this._elementWidthCache||(this._elementWidthCache=this.element().width()),this._elementWidthCache},_clearElementWidthCache:function(){delete this._elementWidthCache},_init:function(){this.callBase(),this.element().addClass(_),this._initWrapper(),this._initTabs(),this._initItemContainer(),this._clearItemsCache(),this._initSwipeHandlers()},_dimensionChanged:function(){this._clearElementWidthCache()},_initWrapper:function(){this._$wrapper=o("<div>").addClass(m).appendTo(this.element())},_initItemContainer:function(){var e=o("<div>").addClass(x);this._$wrapper.append(e),this._$itemWrapper=o("<div>").addClass(w),e.append(this._$itemWrapper)},_clearItemsCache:function(){this._itemsCache=[]},_initTabs:function(){var e=this,t=o("<div>").addClass(v);this._$wrapper.append(t),this._tabs=this._createComponent(t,f.default,{itemTemplateProperty:"titleTemplate",itemTemplate:this._getTemplateByOption("itemTitleTemplate"),items:this.option("items"),selectedIndex:this.option("selectedIndex"),onPrepare:function(){e._prepareAnimation()},onUpdatePosition:function(t){e._updateContentPosition(t.offset)},onRollback:function(){e._animateRollback()},onSelectionChanged:function(t){e.option("selectedItem",t.addedItems[0])},swipeEnabled:this.option("swipeEnabled")})},_render:function(){this._renderContentTemplate(),this.callBase();var e=this.option("selectedIndex");this._renderCurrentContent(e,e)},_renderContentTemplate:function(){c.isDefined(this._singleContent)||(this._getTemplateByOption("contentTemplate").render(this._$itemWrapper),this._singleContent=!this._$itemWrapper.is(":empty"))},_renderDimensions:function(){this.callBase(),this.element().toggleClass(g,"auto"===this.option("height"))},_visibilityChanged:function(e){e&&this._tabs._dimensionChanged()},_renderCurrentContent:function(e,t){var n=this._itemsCache;n[t]=this._selectedItemElement();var i=n[t],a=n[e];l.triggerHidingEvent(i),i.addClass(b),a?(a.removeClass(b),l.triggerShownEvent(a)):this._renderContent(),this._selectionChangePromise&&this._selectionChangePromise.resolve(),this._selectionChangePromise=o.Deferred()},_updateContentPosition:function(e){s.move(this._$itemWrapper,{left:this._calculatePixelOffset(e)})},_animateRollback:function(){D.returnBack(this._$itemWrapper)},_animateComplete:function(e,t){var n=this._$itemWrapper,i=this._getRTLSignCorrection(),a=this._elementWidth()*(this._isPrevSwipeHandled()?1:-1)*i;D.slideAway(n,a,o.proxy(function(){s.move(n,{left:-a}),this._renderCurrentContent(e,t)},this)),D.slideBack(n)},_calculatePixelOffset:function(e){return e=e||0,e*this._elementWidth()},_isPrevSwipeHandled:function(){var e=s.locate(this._$itemWrapper).left,t=this.option("rtlEnabled");return t^e>0&&0!==e},_initSwipeHandlers:function(){this.element().on(u.addNamespace(r.start,this.NAME),{itemSizeFunc:o.proxy(this._elementWidth,this)},o.proxy(this._swipeStartHandler,this)).on(u.addNamespace(r.swipe,this.NAME),o.proxy(this._swipeUpdateHandler,this)).on(u.addNamespace(r.end,this.NAME),o.proxy(this._swipeEndHandler,this))},_swipeStartHandler:function(e){this._prepareAnimation(),this._tabs.prepare(),h().designMode||this.option("disabled")||!this.option("swipeEnabled")||this._indexBoundary()<=1?e.cancel=!0:this._swipeGestureRunning=!0,e.maxLeftOffset=1,e.maxRightOffset=1},_prepareAnimation:function(){this._stopAnimation()},_stopAnimation:function(){D.complete(this._$itemWrapper)},_swipeUpdateHandler:function(e){var t=e.offset;this._updateContentPosition(t),this._tabs.updatePosition(t)},_swipeEndHandler:function(e){var t=e.targetOffset*this._getRTLSignCorrection();if(0===t)this._animateRollback(),this._tabs.rollback();else{var n=this._normalizeIndex(this.option("selectedIndex")-t);this.option("selectedIndex",n)}this._swipeGestureRunning=!1},_normalizeIndex:function(e){var t=this._indexBoundary();return 0>e&&(e=t+e),e>=t&&(e-=t),e},_indexBoundary:function(){return this.option("items").length},_renderContentImpl:function(){if(!this._singleContent){var e=this.option("items"),t=this.option("selectedIndex");e.length&&this._renderItems([e[t]])}},_selectedItemElement:function(){return this._$itemWrapper.children("."+y+":not(."+b+")")},
_getRTLSignCorrection:function(){return this.option("rtlEnabled")?-1:1},_clean:function(){D.complete(this._$itemWrapper),this.callBase()},_cleanItemContainer:function(){this._singleContent||this.callBase()},_refresh:function(){this._tabs._refresh(),this.callBase()},_updateSelection:function(e,t){var n=e[0],i=t[0];this._swipeGestureRunning||this._prepareAnimation(),this._animateComplete(n,i),this._tabs.option("selectedIndex",n)},_optionChanged:function(e){var t=e.value;switch(e.name){case"disabled":this._tabs.option("disabled",t),this.callBase(e);break;case"items":this._tabs.option("items",t),this._clearItemsCache(),this.callBase(e);break;case"rtlEnabled":this._tabs.option("rtlEnabled",t),this._clearItemsCache(),this.callBase(e);break;case"itemTitleTemplate":this._tabs.option("itemTemplate",this._getTemplate(t));break;case"swipeEnabled":this._tabs.option("swipeEnabled",t);break;case"contentTemplate":this._singleContent=null,this._invalidate();break;default:this.callBase(e)}}});d("dxPivot",E),i.exports=E}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(22),r=n(89),s=n(15),l=n(4),c=n(34),d=n(28),u="dx-pivottabs",h="dx-pivottabs-tab",p="dx-pivottabs-tab-selected",f="dx-pivottabs-ghosttab",_="dxPivotTabData",g=200,m="cubic-bezier(.40, .80, .60, 1)",v={moveTo:function(e,t,n){return a.animate(e,{type:"slide",to:{left:t},duration:g,easing:m,complete:n})},slideAppear:function(e,t){return a.animate(e,{type:"slide",to:{left:t,opacity:1},duration:g,easing:m})},slideDisappear:function(e,t){return a.animate(e,{type:"slide",to:{left:t,opacity:0},duration:g,easing:m})},complete:function(e){e&&o.each(e,function(e,t){a.stop(t,!0)})},stop:function(e){e&&o.each(e,function(e,t){a.stop(t)})}},x=d.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{selectedIndex:0,onPrepare:null,onUpdatePosition:null,onRollback:null,focusStateEnabled:!1,selectionMode:"single",selectionRequired:!0,swipeEnabled:!0})},_itemClass:function(){return h},_itemDataKey:function(){return _},_itemContainer:function(){return this.element()},_elementWidth:function(){return this._elementWidthCache||(this._elementWidthCache=this.element().width()),this._elementWidthCache},_clearElementWidthCache:function(){delete this._elementWidthCache},_itemWidths:function(){if(!this._itemWidthsCache){var e=this._itemElements(),t=[];e.each(function(){t.push(o(this).outerWidth())}),this._itemWidthsCache=t}return this._itemWidthsCache},_init:function(){this.callBase(),this._initGhostTab(),this._initSwipeHandlers(),this._initActions()},_dimensionChanged:function(){this._clearElementWidthCache(),this._cleanPositionCache(),this._updateTabsPositions()},_initGhostTab:function(){this._$ghostTab=o("<div>").addClass(f)},_initActions:function(){this._updatePositionAction=this._createActionByOption("onUpdatePosition"),this._rollbackAction=this._createActionByOption("onRollback"),this._prepareAction=this._createActionByOption("onPrepare")},_render:function(){this.element().addClass(u),this.callBase(),this._renderGhostTab()},_renderGhostTab:function(){this._itemContainer().append(this._$ghostTab),this._toggleGhostTab(!1)},_toggleGhostTab:function(e){var t=this._$ghostTab;e?(this._updateGhostTabContent(),t.css("opacity",1)):t.css("opacity",0)},_isGhostTabVisible:function(){return"1"===this._$ghostTab.css("opacity")},_updateGhostTabContent:function(e){e=void 0===e?this._previousIndex():e;var t=this._$ghostTab,n=this._itemElements();t.html(n.eq(e).html())},_updateTabsPositions:function(e){e=this._applyOffsetBoundaries(e);var t=this.option("rtlEnabled")^e>0&&0!==e,n=this._calculateTabPositions(t?"replace":"append");this._moveTabs(n,e),this._toggleGhostTab(t)},_moveTabs:function(e,t){t=t||0;var n=this._allTabElements();n.each(function(n){s.move(o(this),{left:e[n]+t})})},_applyOffsetBoundaries:function(e){e=e||0;var t=e>0?this._maxRightOffset:this._maxLeftOffset;return e*t},_animateRollback:function(){var e=this,t=this._itemElements(),n=this._calculateTabPositions("prepend");this._isGhostTabVisible()&&(this._swapGhostWithTab(t.eq(this._previousIndex())),v.moveTo(this._$ghostTab,n[this._indexBoundary()],function(){e._toggleGhostTab(!1)})),t.each(function(e){v.moveTo(o(this),n[e])})},_animateComplete:function(e,t){var n=this._itemElements(),i=this._isGhostTabVisible();n.eq(t).removeClass(p),i?this._animateIndexDecreasing(e):this._animateIndexIncreasing(e),n.eq(e).addClass(p)},_animateIndexDecreasing:function(e){var t=this._itemElements(),n=this._calculateTabPositions("append",e),i=[];return t.each(function(e){i.push(v.moveTo(o(this),n[e]))}),i.push(v.slideDisappear(this._$ghostTab,n[this._indexBoundary()])),o.when.apply(o,i)},_animateIndexIncreasing:function(e){var t=this,n=this._itemElements(),i=this._calculateTabPositions("prepend",e),a=this._previousIndex(e),r=n.eq(a),l=s.locate(r).left,c=this.option("rtlEnabled"),d=c?this._elementWidth()-this._itemWidths()[a]:0,u=(l-d)*this._getRTLSignCorrection()<0,h=[];return u||this._moveTabs(this._calculateTabPositions("append",a)),this._updateGhostTabContent(a),this._swapGhostWithTab(n.eq(a)),n.each(function(e){var t=o(this),n=i[e];h.push(e===a?v.slideAppear(t,n):v.moveTo(t,n))}),h.push(v.moveTo(this._$ghostTab,i[this._indexBoundary()],function(){t._toggleGhostTab(!1)})),o.when.apply(o,h)},_swapGhostWithTab:function(e){var t=this._$ghostTab,n=s.locate(e).left,i=e.css("opacity");s.move(e,{left:s.locate(t).left}),e.css("opacity",t.css("opacity")),s.move(t,{left:n}),t.css("opacity",i)},_calculateTabPositions:function(e,t){t=void 0===t?this.option("selectedIndex"):t;var n=t+e;return this._calculatedPositionsMark!==n&&(this._calculatedPositions=this._calculateTabPositionsImpl(t,e),this._calculatedPositionsMark=n),this._calculatedPositions},_calculateTabPositionsImpl:function(e,t){var n=this._normalizeIndex(e-1),i=this._itemWidths(),a=this.option("rtlEnabled"),r=this._getRTLSignCorrection(),s=this._elementWidth(),l=a?s:0,c=[],d=function(e,t){var n=a*t;c.splice(e,0,l-n),l+=t*r};switch(o.each(i.slice(e),d),o.each(i.slice(0,e),d),t){case"replace":var u=c[n];c.splice(n,1,a?s:-i[n]),c.push(u);break;case"prepend":c.push(a?s:-i[n]);break;case"append":c.push(l-i[e]*a)}return c},_allTabElements:function(){return this._itemContainer().find("."+h+", ."+f)},_initSwipeHandlers:function(){this.element().on(l.addNamespace(r.start,this.NAME),{itemSizeFunc:o.proxy(this._elementWidth,this)},o.proxy(this._swipeStartHandler,this)).on(l.addNamespace(r.swipe,this.NAME),o.proxy(this._swipeUpdateHandler,this)).on(l.addNamespace(r.end,this.NAME),o.proxy(this._swipeEndHandler,this))},_swipeStartHandler:function(e){this._prepareAnimation(),this._prepareAction(),e.maxLeftOffset=1,e.maxRightOffset=1,c().designMode||this.option("disabled")||!this.option("swipeEnabled")||this._indexBoundary()<=1?e.cancel=!0:this._swipeGestureRunning=!0},_prepareAnimation:function(){this._stopAnimation()},_stopAnimation:function(){v.complete(this._allTabElements())},_swipeUpdateHandler:function(e){var t=e.offset;this._updateTabsPositions(t),this._updatePositionAction({offset:t})},_swipeEndHandler:function(e){var t=e.targetOffset*this._getRTLSignCorrection();if(0===t)this._animateRollback(),this._rollbackAction();else{var n=this._normalizeIndex(this.option("selectedIndex")-t);this.option("selectedIndex",n)}this._swipeGestureRunning=!1},_previousIndex:function(e){return e=void 0===e?this.option("selectedIndex"):e,this._normalizeIndex(e-1)},_normalizeIndex:function(e){var t=this._indexBoundary();return 0>e&&(e=t+e),e>=t&&(e-=t),e},_indexBoundary:function(){return this.option("items").length},_renderSelection:function(e){this._calculateMaxOffsets(e),this._updateTabsPositions(),this._itemElements().eq(e).addClass(p)},_updateSelection:function(e,t){var n=e[0],i=t[0];this._calculateMaxOffsets(n),this._swipeGestureRunning||this._prepareAnimation(),this._itemElements().length&&this._animateComplete(n,i)},_calculateMaxOffsets:function(e){var t=this._itemWidths()[e],n=this._itemWidths()[this._previousIndex(e)],i=this.option("rtlEnabled");this._maxLeftOffset=i?n:t,this._maxRightOffset=i?t:n},_getRTLSignCorrection:function(){return this.option("rtlEnabled")?-1:1},_visibilityChanged:function(e){e&&this._dimensionChanged()},_clean:function(){v.stop(this._allTabElements()),this._clearElementWidthCache(),this._cleanPositionCache(),this.callBase()},_cleanPositionCache:function(){delete this._itemWidthsCache,delete this._calculatedPositionsMark},_optionChanged:function(e){switch(e.name){case"items":case"rtlEnabled":this._cleanPositionCache(),this.callBase(e);break;case"onPrepare":case"swipeEnabled":break;case"onUpdatePosition":case"onRollback":this._initActions();break;default:this.callBase(e)}},prepare:function(){this._prepareAnimation()},updatePosition:function(e){this._updateTabsPositions(e)},rollback:function(){this._animateRollback()}});x.publicName("dxPivotTabs"),t.default=x}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){var o=n(1),a=n(2),r=n(3),s=n(155),l=n(500),c=n(28),d=n(90),u="dx-slideout",h="dx-slideout-item-container",p="dx-slideout-menu",f="dx-slideout-item",_="dxSlideoutItemData",g=c.inherit({_getDefaultOptions:function(){return o.extend(this.callBase(),{activeStateEnabled:!1,menuItemTemplate:"menuItem",swipeEnabled:!0,menuVisible:!1,menuPosition:"normal",menuGrouped:!1,menuGroupTemplate:"menuGroup",onMenuItemRendered:null,onMenuGroupRendered:null,contentTemplate:"content",selectionMode:"single",selectionRequired:!0})},_itemClass:function(){return f},_itemDataKey:function(){return _},_itemContainer:function(){return this._slideOutView.content()},_init:function(){this.callBase(),this.element().addClass(u),this._initSlideOutView()},_initEditStrategy:function(){if(this.option("menuGrouped")){var e=s.inherit({_getPlainItems:function(){return o.map(this.callBase(),function(e){return e.items})}});this._editStrategy=new e(this)}else this.callBase()},_initSlideOutView:function(){this._slideOutView=this._createComponent(this.element(),l,{_templates:[],menuVisible:this.option("menuVisible"),swipeEnabled:this.option("swipeEnabled"),menuPosition:this.option("menuPosition"),onOptionChanged:o.proxy(this._slideOutViewOptionChanged,this)}),this._itemContainer().addClass(h)},_slideOutViewOptionChanged:function(e){"menuVisible"===e.name&&this.option(e.name,e.value)},_render:function(){this._slideOutView._renderShield(),this._renderList(),this._renderContentTemplate(),this.callBase()},_renderList:function(){this._$list=this._$list||o("<div>").addClass(p).appendTo(this._slideOutView.menuContent()),this._renderItemClickAction(),this._createComponent(this._$list,d,{itemTemplateProperty:"menuTemplate",indicateLoading:!1,onItemClick:o.proxy(this._listItemClickHandler,this),items:this.option("items"),dataSource:this.option("dataSource"),itemTemplate:this._getTemplateByOption("menuItemTemplate"),grouped:this.option("menuGrouped"),groupTemplate:this.option("menuGroupTemplate"),onItemRendered:this.option("onMenuItemRendered"),onGroupRendered:this.option("onMenuGroupRendered"),onContentReady:o.proxy(this._updateSlideOutView,this)})},_updateSlideOutView:function(){this._slideOutView._dimensionChanged()},_renderItemClickAction:function(){this._itemClickAction=this._createActionByOption("onItemClick")},_listItemClickHandler:function(e){var t=this._$list.find(".dx-list-item").index(e.itemElement);this.option("selectedIndex",t),this._itemClickAction(e)},_renderContentTemplate:function(){if(!a.isDefined(this._singleContent)){var e=this._itemContainer().html().length;this._getTemplateByOption("contentTemplate").render(this._itemContainer()),this._singleContent=this._itemContainer().html().length!==e}},_itemClickHandler:o.noop,_renderContentImpl:function(e){if(!this._singleContent){var t=this.option("items"),n=this.option("selectedIndex");if(t.length&&n>-1){var i=this._$list.dxList("instance").getItemByIndex(n);this._renderItems([i])}}},_renderItem:function(e,t,n){this._itemContainer().find("."+f).remove(),this.callBase(e,t)},_selectedItemElement:function(e){return this._itemElements().eq(0)},_renderSelection:function(){this._renderContent()},_getListWidth:function(){return this._slideOutView._getMenuWidth()},_changeMenuOption:function(e,t){this._$list.dxList("instance").option(e,t),this._updateSlideOutView()},_cleanItemContainer:function(){this._singleContent||this.callBase()},beginUpdate:function(){this.callBase(),this._$list&&this._$list.dxList("beginUpdate")},endUpdate:function(){this._$list&&this._$list.dxList("endUpdate"),this.callBase()},_optionChanged:function(e){var t=e.name,n=e.value;switch(t){case"menuVisible":case"swipeEnabled":case"rtlEnabled":case"menuPosition":this._slideOutView.option(t,n);break;case"width":this.callBase(e),this._updateSlideOutView();break;case"menuItemTemplate":this._changeMenuOption("itemTemplate",this._getTemplate(n));break;case"items":this._changeMenuOption("items",this.option("items"));break;case"dataSource":this._changeMenuOption(t,n),this.callBase(e);break;case"menuGrouped":this._initEditStrategy(),this._changeMenuOption("grouped",n);break;case"menuGroupTemplate":this._changeMenuOption("groupTemplate",this._getTemplate(n));break;case"onMenuItemRendered":this._changeMenuOption("onItemRendered",n);break;case"onMenuGroupRendered":this._changeMenuOption("onGroupRendered",n);break;case"onItemClick":this._renderItemClickAction();break;case"contentTemplate":this._singleContent=null,this._invalidate();break;default:this.callBase(e)}},showMenu:function(){return this._slideOutView.toggleMenuVisibility(!0)},hideMenu:function(){return this._slideOutView.toggleMenuVisibility(!1)},toggleMenuVisibility:function(e){return this._slideOutView.toggleMenuVisibility(e)}});r("dxSlideOut",g),i.exports=g}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i;i=function(e,t,i){n(591),n(419)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},,,,,function(e,t,n){var i;i=function(e,t,i){n(581),n(420)}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))}]);