|
|
/*! * DevExtreme (dx.all.js) * Version: 19.1.4 * Build date: Mon Jun 17 2019 * * Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/ "use strict";!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=847)}([function(e,t,n){var i=n(1).isPlainObject,o=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},a=function e(t){t=t||{};var n=1,o=!1;for("boolean"==typeof t&&(o=t,t=arguments[1]||{},n++);n<arguments.length;n++){var a=arguments[n];if(null!=a)for(var r in a){var s,l=t[r],u=a[r],c=!1;"__proto__"!==r&&t!==u&&(o&&u&&(i(u)||(c=Array.isArray(u)))?(s=c?l&&Array.isArray(l)?l:[]:l&&i(l)?l:{},t[r]=e(o,s,u)):void 0!==u&&(t[r]=u))}}return t};t.extend=a,t.extendFromObject=o},function(e,t,n){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object String]":"string","[object Null]":"null"},a=function(e){var t=Object.prototype.toString.call(e);return"object"===("undefined"==typeof e?"undefined":i(e))?o[t]||"object":"undefined"==typeof e?"undefined":i(e)},r=function(e){return"boolean"==typeof e},s=function(e){return h(e)&&e.toString().indexOf("e")!==-1},l=function(e){return"date"===a(e)},u=function(e){return null!==e&&void 0!==e},c=function(e){return"function"==typeof e},d=function(e){return"string"==typeof e},h=function(e){return"number"==typeof e&&isFinite(e)||!isNaN(e-parseFloat(e))},p=function(e){return"object"===a(e)},f=function(e){var t;for(t in e)return!1;return!0},g=function(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e),n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&Object.toString.call(n)===Object.toString.call(Object)},_=function(e){return["object","array","function"].indexOf(a(e))===-1},m=function(e){return null!=e&&e===e.window},v=function(e){return!(!e.jquery&&!e.dxRenderer)},y=function(e){return e&&c(e.then)},x=function(e){return e&&c(e.done)&&c(e.fail)};t.isBoolean=r,t.isExponential=s,t.isDate=l,t.isDefined=u,t.isFunction=c,t.isString=d,t.isNumeric=h,t.isObject=p,t.isEmptyObject=f,t.isPlainObject=g,t.isPrimitive=_,t.isWindow=m,t.isRenderer=v,t.isPromise=y,t.isDeferred=x,t.type=a},function(e,t,n){var i=n(212);e.exports=i.get()},function(e,t,n){var i=function(e,t){if(Array.isArray(e))return e.map(t);var n=[];for(var i in e)n.push(t(e[i],i));return n},o=function(e,t){if(e){if("length"in e)for(var n=0;n<e.length&&t.call(e[n],n,e[n])!==!1;n++);else for(var i in e)if(t.call(e[i],i,e[i])===!1)break;return e}},a=function(e,t){if(e&&"length"in e&&0!==e.length)for(var n=e.length-1;n>=0&&t.call(e[n],n,e[n])!==!1;n--);};t.map=i,t.each=o,t.reverseEach=a},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(27),r=i(a),s=n(42),l=i(s),u=n(6),c=n(3),d=n(20),h=n(1),p=function(e,t){return(0,h.isDefined)(e)?e:t},f=function(e,t){var n=new u.Deferred,i=t||this,o=void 0,a={promise:n.promise(),abort:function(){clearTimeout(o),n.rejectWith(i)}},r=function(){var t=e.call(i);t&&t.done&&(0,h.isFunction)(t.done)?t.done(function(){n.resolveWith(i)}):n.resolveWith(i)};return o=(arguments[2]||setTimeout)(r,"number"==typeof t?t:0),a},g=[],_=[],m=[],v=void 0,y=function(e,t,n){if(v&&v!==e)return g.push(t),_.push(e),n=n||new u.Deferred,m.push(n),n;var i=v,o=m.length;v=e;var a=t();return a||(m.length>o?a=u.when.apply(this,m.slice(o)):n&&n.resolve()),v=i,n&&a&&a.done&&a.done(n.res 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,o=!i.hasOwnProperty("_includedCtors")&&!i.hasOwnProperty("_includedPostCtors");for(o&&(i._includedCtors=i._includedCtors.slice(0),i._includedPostCtors=i._includedPostCtors.slice(0)),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)"ctor"!==t&&"postCtor"!==t&&(i.prototype[t]=e[t])}return i},u=function(e){return this.parent===e||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(e)},c=function(){throw i.Error("E0001")},d=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||o.isWindow(this)||"function"!=typeof this.constructor)throw i.Error("E0003");var e,t=this,n=t.ctor,a=t.constructor._includedCtors,r=t.constructor._includedPostCtors;for(e=0;e<a.length;e++)a[e].call(t);for(n&&n.apply(t,arguments),e=0;e<r.length;e++)r[e].call(t)};return t.prototype=r(this),d(this,t),t.inherit=this.inherit,t.abstract=c,t.redefine=s,t.include=l,t.subclassOf=u,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=c,e.exports=h},function(e,t,n){var i=n(2),o=n(52),a=n(0).extend,r=n(3).each,s=n(43).format,l=n(32).humanize,u=n(85);n(85);var c="-",d=a(!0,{},n(438)),h=n(439),p=function(e){var t=h[e];return t?"root"!==t&&t:e.substr(0,e.lastIndexOf(c))},f=function(e,t){return e[t]||{}},g=function(e,t,n){for(var i,o=f(e,t)[n];!o&&!i;)t=p(t),t?o=f(e,t)[n]:i=!0;return o},_={},m=o({_dictionary:d,load:function(e){a(!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,s=t._localizablePrefix+a;return o!==i&&(r=t.format(a)),r||(_[a]=l(a)),n+(r||s)})},_messageLoaded:function(e,t){return void 0!==g(this._dictionary,t||u.locale(),e)},localizeNode:function(e){var t=this;i(e).each(function(e,n){n.nodeType&&(3===n.nodeType?n.nodeValue=t.localizeString(n.nodeValue):i(n).is("iframe")||(r(n.attributes||[],function(e,n){if("string"==typeof n.value){var i=t.localizeString(n.value);n.value!==i&&(n.value=i)}}),i(n).contents().each(function(e,n){t.localizeNode(n)})))})},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(e){return e?_:a({},_,this.getMessagesByLocales()[u.locale()])},getFormatter:function(e){return this._getFormatterBase(e)||this._getFormatterBase(e,"en")},_getFormatterBase:function(e,t){var n=g(this._dictionary,t||u.locale(),e);if(n)return function(){var e=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return e.unshift(n),s.apply(this,e)}},format:function(e){var t=this.getFormatter(e),n=Array.prototype.slice.call(arguments,1);return t&&t.apply(this,n)||""}});e.exports=m},function(e,t,n){var i=n(2),o=n(7),a=o.getNavigator(),r=o.getWindow(),s=n(0).extend,l=n(1).isPlainObject,u=n(3).each,c=n(14),d=n(21),h=n(25),p=n(125),f=n(80),g=n(276).sessionStorage,_=n(76),m=n(27),v={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:"Windows ARM Tablet PC",desktop:"desktop",win10Phone:"Windows Phone 10.0",win10:"MSAppHost/3.0"},y={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:! E0025:"Unexpected argument type",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 'customItem' field of the 'onCustomItemCreating' function's parameter should contain a custom item or Promise that is resolved after the item is created.",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}'",W0007:"'{0}' Globalize culture is not defined",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",W0013:"'{0}' file is deprecated in {1}. {2}",W0014:"{0} - '{1}' type is deprecated in {2}. {3}",W0015:"Instead of returning a value from the '{0}' function, write it into the '{1}' field of the function's parameter.",W0016:'The "{0}" option does not accept the "{1}" value since v.{2}. {3}.'})},function(e,t,n){function i(e){return b[x(e)]||""}function o(e,t,n){var i=new Date(e.getTime()),o=c(t)?z(t.toLowerCase()):a.isNumeric(t)?m(t):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.setTime(i.getTime()+36e5*o.hours*n),o.minutes&&i.setTime(i.getTime()+6e4*o.minutes*n),o.seconds&&i.setTime(i.getTime()+1e3*o.seconds*n),o.milliseconds&&i.setTime(i.getTime()+o.milliseconds*n),i}var a=n(1),r=n(29).adjust,s=n(3).each,l=n(32).camelize,u=a.isObject,c=a.isString,d=a.isDate,h=a.isDefined,p=["millisecond","second","minute","hour","day","week","month","quarter","year"],f=function e(t){switch(t){case"millisecond":return 1;case"second":return 1e3*e("millisecond");case"minute":return 60*e("second");case"hour":return 60*e("minute");case"day":return 24*e("hour");case"week":return 7*e("day");case"month":return 30*e("day");case"quarter":return 3*e("month");case"year":return 365*e("day");default:return 0}},g=function(e,t,n){var i=t.getTime()-e.getTime(),o=f(n)||1;return Math.floor(i/o)},_=function(e,t){var n=x(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}},m=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/f(i)),n>0&&(a[i+"s"]=n,e-=y(i,n));return a},v=function(e){var t=0;return u(e)&&s(e,function(e,n){t+=y(e.substr(0,e.length-1),n)}),c(e)&&(t=y(e,1)),t},y=function(e,t){return f(e)*t},x=function(e){var t,n=-1;return c(e)?e:u(e)?(s(e,function(e,i){for(t=0;t<p.length;t++)i&&(e===p[t]+"s"||e===p[t])&&n<t&&(n=t)}),p[n]):""},b={millisecond:"millisecond",second:"longtime",minute:"shorttime",hour:"shorttime",day:"day",week:"day",month:"month",quarter:"quarter",year:"year"},w=function(e){return Math.floor(e/3)},C=function(e){return 3*w(e)},k=function(e,t,n,i){e=new Date(e.getTime());var o,a,r=new Date(e.getTime()),s=x(t);switch(s){case"second":e=new Date(1e3*Math.floor(r.getTime()/1e3));break;case"minute":e=new Date(6e4*Math.floor(r.getTime()/6e4));break;case"hour":e=new Date(36e5*Math.floor(r.getTime()/36e5));break;case"year":e.setMonth(0);case"month":e.setDate(1);case"day":e.setHours(0,0,0,0);break;case"week":e=Z(e,i||0),e.setHours(0,0,0,0);break;case"quarter":o=C(e.getMonth()),a=e.getMonth(),e.setDate(1),e.setHours(0,0,0,0),a!==o&&e.setMonth(o)}return n&&"ho var t=(0,a.default)((0,y.getWindow)());return e.height()>t.height()?{of:t,boundary:e,collision:"fit"}:{of:e}},container:t},i),o._loadPanel=o._createComponent((0,a.default)("<div>").appendTo(t),f.default,i)):o._loadPanel=null},getIndexByKey:function(e,t,n){var i,o=-1;if(void 0!==e&&Array.isArray(t)){n=arguments.length<=2?"key":n;for(var a=0;a<t.length;a++)if(i=(0,s.isDefined)(n)?t[a][n]:t[a],(0,r.equalByValue)(e,i)){o=a;break}}return o},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]));if(1===i.length&&(i=i[0]),i.length)return i},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},equalFilterParameters:function(t,n){var i;if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;for(i=0;i<t.length;i++)if(!e.exports.equalFilterParameters(t[i],n[i]))return!1;return!0}return(0,s.isFunction)(t)&&t.columnIndex>=0&&(0,s.isFunction)(n)&&n.columnIndex>=0?t.columnIndex===n.columnIndex&&(0,h.toComparable)(t.filterValue)===(0,h.toComparable)(n.filterValue):(0,h.toComparable)(t)==(0,h.toComparable)(n)},proxyMethod:function(e,t,n){e[t]||(e[t]=function(){var e=this._dataSource;return e?e[t].apply(e,arguments):n})},formatValue:function(e,t){var n=m.default.format(e,t.format)||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},getFormatOptionsByColumn:function(e,t){return{format:e.format,getDisplayFormat:e.getDisplayFormat,customizeText:e.customizeText,target:t,trueText:e.trueText,falseText:e.falseText}},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||"group"===i&&(e.calculateGroupValue||e.calculateDisplayValue)?t:e.lookup.calculateCellValue(t)},getGroupRowSummaryText:function(t,n){var i,o,a="(";for(i=0;i<t.length;i++)o=t[i],a+=(i>0?", ":"")+e.exports.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,getDisplayFormat:function(t){return n?(0,u.format)(n,t,e.columnCaption):t},customizeText:e.customizeText})},normalizeSortingInfo:function(e){e=e||[];var t,n;for(t=(0,g.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";case"datetime":return"shortDateShortTime"}},getHeaderFilterGroupParameters:function(e,n){var i=[],o=e.dataField||e.name,a=(0,l.getGroupInterval)(e);return a?((0,c.each)(a,function(r,s){i.push(n?{selector:o,groupInterval:s,isExpanded:r<a.length-1}:t.bind(e,s))}),i):(n?i=[{selector:o,isExpanded:!1}]:(i=function t(n){var t=e.calculateCellValue(n);return void 0!==t&&""!==t||(t=null),t},e.sortingMethod&&(i=[{selector:i,compare:e.sortingMethod.bind(e)}])),i)},equalSortParameters:function(t,i,o){var a;if(t=e.exports.normalizeSortingInfo(t),i=e.exports.normalizeSortingInfo(i),Array.isArray(t)&&Array.isArray(i)){if(t.length!==i.length)return!1;for(a=0;a<t.length;a++)if(!n(t[a].selector,i[a].selector)||t[a].desc!==i[a].desc||t[a].groupInterval!==i[a].groupInterval||!o&&Boolean(t[a].isExpanded)!==Boolean(i[a].isExpanded))return!1;return!0}return(!t||!t.length)==(!i||!i.length)},getPointsByColumns:function(e,t,n,i){var o,a,r,s,l,u,c=e.length,d=!1,h=i||0,p=[];for(a=0;a<=c;a++)a<c&&(r=e.eq(a),s=r.offset(),u="rtl"===r.css("direction")),o={index:h,x:s?s.left+(!n&&u^a===c?r[0].getBoundingClientRect().width:0):0,y:s?s.top+(n&&a===c?r[0].getBoundingClientRect().height:0):0,columnIndex:h},!n&&a>0&&(l=e.eq(a-1).offset(),l.top<o.y&&(o.y=l.top)),t&&(d=t(o)),d||p.push(o),h++;return p},createObjectWithChanges:function(e,t){var n=e?Object.create(Object.getPrototypeOf(e },_extractLoadOptions:function(e){var t={},n=["sort","filter","select","group","requireTotalCount"],i=this._store._customLoadOptions();return i&&(n=n.concat(i)),h.each(n,function(){t[this]=e[this]}),t},loadOptions:function(){return this._storeLoadOptions},items:function(){return this._items},pageIndex:function(e){return D(e)?(this._pageIndex=e,void(this._isLastPage=!this._paginate)):this._pageIndex},paginate:function(e){return E(e)?void(this._paginate!==e&&(this._paginate=e,this.pageIndex(0))):this._paginate},pageSize:function(e){return D(e)?void(this._pageSize=e):this._pageSize},isLastPage:function(){return this._isLastPage},sort:s("sort"),filter:function(){var e=r(arguments);return void 0===e?this._storeLoadOptions.filter:(this._storeLoadOptions.filter=e,void this.pageIndex(0))},group:s("group"),select:s("select"),requireTotalCount:function(e){return E(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 T(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=[].slice.call(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},beginLoading:function(){this._changeLoadingCount(1)},endLoading:function(){this._changeLoadingCount(-1)},_createLoadQueue:function(){return C.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.beginLoading(),e.always(function(){t.endLoading()})},_scheduleFailCallbacks:function(e){var t=this;e.fail(function(){arguments[0]!==O&&t.fireEvent("loadError",arguments)})},_fireChanged:function(e){var t=new Date;this.fireEvent("changed",e),this._changedTime=new Date-t},_scheduleChangedCallbacks:function(e){var t=this;e.done(function(){t._fireChanged()})},loadSingle:function(e,t){function n(){return r instanceof y&&!r._byKeyViaLoad()}var i=this,o=new I,a=this.key(),r=this._store,s=this._createStoreLoadOptions(),l=function(e){!A(e)||w.isEmpty(e)?o.reject(new b.Error("E4009")):(Array.isArray(e)||(e=[e]),o.resolve(i._applyMapFunction(e)[0]))};return this._scheduleFailCallbacks(o),arguments.length<2&&(t=e,e=a),delete s.skip,delete s.group,delete s.refresh,delete s.pageIndex,delete s.searchString,function(){return e===a||n()?r.byKey(t,s):(s.take=1,s.filter=s.filter?[s.filter,[e,t]]:[e,t],r.load(s))}().fail(o.reject).done(l),o.promise()},load:function(){function e(){if(!n._disposed&&o(i))return n._loadFromStore(t,i)}var t,n=this,i=new I;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=d.executeAsync(e,t.delay):e(),i.promise()}),i.promise({operationId:t.operationId})},_onPush:function(e){if(this._reshapeOnPush)this.load();else{this.fireEvent("changing",[{changes:e}]);var t=this.group(),n=this.items(),i=0,o=this.paginate()||t?e.filter(function(e){return"update"===e.type}):e;t&&(i=Array.isArray(t)?t.length:1),_.applyBatch(this.store(),n,o,i,!0),this._fireChanged([{changes:e}])}},_createLoadOperation:function(e){var t=this._operationManager.add(e),n=this._createStoreLoadOptions();return e.always(function(){this._operationManager.remove(t)}.bind(this)),{operationId:t,storeLoadOptions:n}},reload:function(){var e=this.store();return e instanceof y&&e.clearRawDataCache(),this._init(),this.load()},cancel:function(e){return this._operationManager.cancel(e)},cancelAll:function(){return this._operationManager.cancelAll()},_addSearchOptions:function(e) },_getIndexByKey:function(e){return this._editStrategy.getIndexByKey(e)},_getIndexByItemData:function(e){return this._editStrategy.getIndexByItemData(e)},_isKeySpecified:function(){return!(!this._dataSource||!this._dataSource.key())},_getCombinedFilter:function(){return this._dataSource&&this._dataSource.filter()},key:function(){return this.option("keyExpr")?this.option("keyExpr"):this._dataSource&&this._dataSource.key()},keyOf:function(e){var t=e,n=this._dataSource&&this._dataSource.store();return this.option("keyExpr")?t=this._keyGetter(e):n&&(t=n.keyOf(e)),t},_initSelectionModule:function(){var e=this,t=e._editStrategy.itemsGetter;this._selection=new f({mode:this.option("selectionMode"),maxFilterLengthInRequest:this.option("maxFilterLengthInRequest"),equalByReference:!this._isKeySpecified(),onSelectionChanged:function(t){(t.addedItemKeys.length||t.removedItemKeys.length)&&(e.option("selectedItems",e._getItemsByKeys(t.selectedItemKeys,t.selectedItems)),e._updateSelectedItems(t))},filter:e._getCombinedFilter.bind(e),totalCount:function(){var t=e.option("items"),n=e._dataSource;return n&&n.totalCount()>=0?n.totalCount():t.length},key:e.key.bind(e),keyOf:e.keyOf.bind(e),load:function(t){if(e._dataSource){var n=e._dataSource.loadOptions();t.customQueryParams=n.customQueryParams,t.userData=e._dataSource._userData}var i=e._dataSource&&e._dataSource.store();return i?i.load(t).done(function(t){e._dataSource._applyMapFunction(t)}):(new m).resolve([])},dataFields:function(){return e._dataSource&&e._dataSource.select()},plainItems:t.bind(e._editStrategy)})},_initEditStrategy:function(){var e=d;this._editStrategy=new e(this)},_getSelectedItemIndices:function(e){var t=this,n=[];return e=e||this._selection.getSelectedItemKeys(),t._editStrategy.beginCache(),l(e,function(e,i){var o=t._getIndexByKey(i);x(o)&&n.push(o)}),t._editStrategy.endCache(),n},_initMarkup:function(){var e=this;this._rendering=!0,this._dataSource&&this._dataSource.isLoading()||this._syncSelectionOptions().done(function(){return e._normalizeSelectedItems()}),this.callBase();var t=this._getSelectedItemIndices();this._renderSelection(t,[])},_render:function(){this.callBase(),this._rendering=!1},_fireContentReadyAction:function(){this._rendering=!1,this._rendered=!0,this.callBase.apply(this,arguments)},_syncSelectionOptions:function(e){e=e||this._chooseSelectOption();var t,n;switch(e){case"selectedIndex":t=this._editStrategy.getItemDataByIndex(this.option("selectedIndex")),c(t)?(this._setOptionSilent("selectedItems",[t]),this._setOptionSilent("selectedItem",t),this._setOptionSilent("selectedItemKeys",this._editStrategy.getKeysByItems([t]))):(this._setOptionSilent("selectedItems",[]),this._setOptionSilent("selectedItemKeys",[]),this._setOptionSilent("selectedItem",null));break;case"selectedItems":var i=this.option("selectedItems")||[];if(n=this._editStrategy.getIndexByItemData(i[0]),this.option("selectionRequired")&&!x(n))return this._syncSelectionOptions("selectedIndex");this._setOptionSilent("selectedItem",i[0]),this._setOptionSilent("selectedIndex",n),this._setOptionSilent("selectedItemKeys",this._editStrategy.getKeysByItems(i));break;case"selectedItem":if(t=this.option("selectedItem"),n=this._editStrategy.getIndexByItemData(t),this.option("selectionRequired")&&!x(n))return this._syncSelectionOptions("selectedIndex");c(t)?(this._setOptionSilent("selectedItems",[t]),this._setOptionSilent("selectedIndex",n),this._setOptionSilent("selectedItemKeys",this._editStrategy.getKeysByItems([t]))):(this._setOptionSilent("selectedItems",[]),this._setOptionSilent("selectedItemKeys",[]),this._setOptionSilent("selectedIndex",y));break;case"selectedItemKeys":var o=this.option("selectedItemKeys");if(this.option("selectionRequired")){var a=this._getIndexByKey(o[0]);if(!x(a))return this._syncSelectionOptions("selectedIndex")}return this._selection.setSelection(o)}return(new m).resolve().promise()},_chooseSelectOption:function(){var e="selectedIndex",t=function(e){var t=this.option(e),n=c(t)&&t.length;return n||e in this._userOptions}.bind(this);return t("selectedItems")?e="selectedIte this._classCustomRules=this._classCustomRules||[],this._classCustomRules.push(e)},e.exports=w},function(e,t,n){var i=n(3).each,o=n(113),a=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),i(["setup","teardown","add","remove","trigger","handle","_default","dispose"],function(e,i){t[i]&&(n[i]=function(){var e=[].slice.call(arguments);return e.unshift(this),t[i].apply(t,e)})}),o.fire(e,n)};a.callbacks=o,e.exports=a},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(40),a=n(41),r=i(a),s=n(35),l=n(91),u=i(l),c=n(132),d=i(c),h=u.default.inherit({ctor:function(e){e=Array.isArray(e)?{data:e}:e||{},this.callBase(e);var t=e.data;if(t&&!Array.isArray(t))throw s.errors.Error("E4006");this._array=t||[]},createQuery:function(){return(0,r.default)(this._array,{errorHandler:this._errorHandler})},_byKeyImpl:function(e){var t=d.default.indexByKey(this,this._array,e);return t===-1?(0,o.rejectedPromise)(s.errors.Error("E4009")):(0,o.trivialPromise)(this._array[t])},_insertImpl:function(e){return d.default.insert(this,this._array,e)},_pushImpl:function(e){d.default.applyBatch(this,this._array,e)},_updateImpl:function(e,t){return d.default.update(this,this._array,e,t)},_removeImpl:function(e){return d.default.remove(this,this._array,e)},clear:function(){this.fireEvent("modifying"),this._array=[],this.fireEvent("modified")}},"array");e.exports=h},function(e,t){e.exports=window.Globalize},function(e,t,n){var i=function(e){var t,n=function(){return t=e.apply(this,arguments),n=function(){return t},t};return function(){return n.apply(this,arguments)}};e.exports=i},function(e,t,n){var i=n(2),o=n(12),a=n(25),r=n(10),s=n(14),l=s.abstract,u=a(),c=s.inherit({render:function(e){e=e||{};var t=e.onRendered;delete e.onRendered;var n=this._renderCore(e);return this._ensureResultInContainer(n,e.container),u.fire(n,e.container),t&&t(),n},_ensureResultInContainer:function(e,t){if(t){var n=i(t),a=r.contains(n.get(0),e.get(0));if(n.append(e),!a){var s=o.getBody().contains(n.get(0));s&&r.triggerShownEvent(e)}}},_renderCore:l});e.exports=c,e.exports.renderedCallbacks=u},function(e,t,n){var i=n(2),o="dx-inkripple",a="dx-inkripple-wave",r="dx-inkripple-showing",s="dx-inkripple-hiding",l=2,u=4e3,c=300,d=1e3,h=0,p=function(e){e=e||{},void 0===e.useHoldAnimation&&(e.useHoldAnimation=!0);var t={waveSizeCoefficient:e.waveSizeCoefficient||l,isCentered:e.isCentered||!1,wavesNumber:e.wavesNumber||1,durations:y(e.useHoldAnimation)};return{showWave:m.bind(this,t),hideWave:b.bind(this,t)}},f=function(e){var t=e.children("."+o);return 0===t.length&&(t=i("<div>").addClass(o).appendTo(e)),t},g=function(e,t){for(var n=f(e),o=n.children("."+a).toArray(),r=o.length;r<t;r++){var s=i("<div>").appendTo(n).addClass(a);o.push(s[0])}return i(o)},_=function(e,t){var n,i,o=t.element,a=o.outerWidth(),r=o.outerHeight(),s=parseInt(Math.sqrt(a*a+r*r)),l=Math.min(u,parseInt(s*e.waveSizeCoefficient));if(e.isCentered)n=(a-l)/2,i=(r-l)/2;else{var c=t.event,d=t.element.offset(),h=c.pageX-d.left,p=c.pageY-d.top;n=h-l/2,i=p-l/2}return{left:n,top:i,height:l,width:l}},m=function(e,t){var n=g(t.element,e.wavesNumber).eq(t.wave||h);e.hidingTimeout&&clearTimeout(e.hidingTimeout),x(n),n.css(_(e,t)),e.showingTimeout=setTimeout(v.bind(this,e,n),0)},v=function(e,t){var n=e.durations.showingScale+"ms";t.addClass(r).css("transitionDuration",n)},y=function(e){return{showingScale:e?d:c,hidingScale:c,hidingOpacity:c}},x=function(e){e.removeClass(s).css("transitionDuration","")},b=function(e,t){e.showingTimeout&&clearTimeout(e.showingTimeout);var n=g(t.element,t.wavesNumber).eq(t.wave||h),i=e.durations,o=i.hidingScale+"ms, "+i.hidingOpacity+"ms";n.addClass(s).removeClass(r).css("transitionDuration",o);var a=Math.max(i.hidingScale,i.hidingOpacity);e.hidingTimeout=setTimeout(x.bind(this,n),a)};e.exports={render:p}},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e>0?Math.round(e):0}function a(e,t,n,i){var o,r,s,l,u=[],c=i.nodes,d=t.length,h=0;for },_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}}),y=new v,x="dxEmitterSubscription",b=function(e){var t=e.emitter,n=e.events[0],i=e.events;d(i,function(o,a){h(a,{noBubble:!e.bubble,setup:function(e){var i=s.data(e,x)||{},o=s.data(e,m)||{},r=o[n]||new t(e);i[a]=!0,o[n]=r,s.data(e,m,o),s.data(e,x,i)},add:function(e,t){var i=s.data(e,m),o=i[n];o.configure(u({delegateSelector:t.selector},t.data),t.type)},teardown:function(e){var t=s.data(e,x),o=s.data(e,m),r=o[n];delete t[a];var l=!0;d(i,function(e,n){return l=l&&!t[n]}),l&&(y.isActive(e)&&y.resetEmitter(r),r&&r.dispose(),delete o[n])}})})};e.exports=b},function(e,t,n){var i=n(9),o=n(114),a=n(88),r=Math.abs,s="dxhold",l=750,u=5,c=o.inherit({start:function(e){this._startEventData=i.eventData(e),this._startTimer(e)},_startTimer:function(e){var t="timeout"in this?this.timeout:l;this._holdTimer=setTimeout(function(){this._requestAccept(e),this._fireEvent(s,e,{target:e.target}),this._forgetAccept()}.bind(this),t)},move:function(e){this._touchWasMoved(e)&&this._cancel(e)},_touchWasMoved:function(e){var t=i.eventDelta(this._startEventData,i.eventData(e));return r(t.x)>u||r(t.y)>u},end:function(){this._stopTimer()},_stopTimer:function(){clearTimeout(this._holdTimer)},cancel:function(){this._stopTimer()},dispose:function(){this._stopTimer()}});a({emitter:c,bubble:!0,events:[s]}),e.exports={name:s}},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=c(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;n<i;++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,e<0||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),t<n&&(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,u,c;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,u=o,c=a;break;case 1:l=i,u=n,c=a;break;case 2:l=a,u=n,c=o;break;case 3:l=a,u=i,c=n;break;case 4:l=o,u=a,c=n;break;case 5:l=n,u=a,c=i}return[Math.round(2.55*l),Math.round(2.55*u),Math.round(2.55*c)]}function u(e,t,n,i){var o=Math.max(e,t,n);switch(o){case e:return(t-n)/i+(t<n?6:0);case t:return(n-e)/i+2;case n:return(e-t)/i+4}}function c(e,t,n){e=g(e,255),t=g(t,255),n=g(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 c=a-r;o=l>.5?c/(2-s):c/s,i=u(e,t,n,c),i/=6}return{h:y(360*i),s:y(100*o),l:y(100*l)}}function d(e,t){var n=t;return"r"===e&&(n=t+1/3),"b"===e&&(n=t-1/3),n}function h(e){return e<0&&(e+=1),e>1&&(e-=1),e}function p(e,t,n){return n=h(n),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function f(e,t,n){var i,o,a;if(e=g(e,360),t=g(t,100),n=g(n,100),0===t)i=o=a=n;else{var return this.option("acceptCustomValue")||this.option("searchEnabled")},_fieldRenderData:function(){var e=this._list&&this.option("opened")&&i(this._list.option("focusedElement"));return e&&e.length?this._list._getItemData(e):this.option("selectedItem")},_readOnlyPropValue:function(){return!this._isEditable()||this.option("readOnly")},_isSelectedValue:function(e){return this._isValueEquals(e,this.option("value"))},_shouldCloseOnItemClick:function(){return!(this.option("showSelectionControls")&&"single"!==this.option("selectionMode"))},_listItemClickHandler:function(e){var t=this._getCurrentValue();this._focusListElement(i(e.itemElement)),this._saveValueChangeEvent(e.event),this._shouldClearFilter()&&this._clearFilter(),this._completeSelection(this._valueGetter(e.itemData)),this._shouldCloseOnItemClick()&&this.option("opened",!1),this.option("searchEnabled")&&t===this._valueGetter(e.itemData)&&this._updateField(e.itemData)},_shouldClearFilter:function(){return this._wasSearch()},_completeSelection:function(e){this._setValue(e)},_loadItem:function(e,t){var n=this,i=new p;return this.callBase(e,t).done(function(e){i.resolve(e)}.bind(this)).fail(function(){var t=n.option("selectedItem");n.option("acceptCustomValue")&&e===n._valueGetter(t)?i.resolve(t):i.reject()}.bind(this)),i.promise()},_loadInputValue:function(e,t){return this._loadItemDeferred=this._loadItem(e).always(t),this._loadItemDeferred},_isCustomItemSelected:function(){var e=this.option("selectedItem"),t=this._searchValue(),n=this._displayGetter(e);return!n||t!==n.toString()},_valueChangeEventHandler:function(){this.option("acceptCustomValue")&&this._isCustomItemSelected()&&this._customItemAddedHandler()},_initCustomItemCreatingAction:function(){this._customItemCreatingAction=this._createActionByOption("onCustomItemCreating")},_createCustomItem:function(e){var t={text:e},n=this._customItemCreatingAction(t),i=o.ensureDefined(n,t.customItem);return r(n)&&f.log("W0015","onCustomItemCreating","customItem"),i},_customItemAddedHandler:function(){var e=this._searchValue(),t=this._createCustomItem(e);if(void 0===t)throw this._renderValue(),f.Error("E0121");s(t)?d.fromPromise(t).done(this._setCustomItem.bind(this)).fail(this._setCustomItem.bind(this,null)):this._setCustomItem(t)},_setCustomItem:function(e){this._disposed||(e=e||null,this.option("selectedItem",e),this._shouldClearFilter()&&this._filterDataSource(null),this._setValue(this._valueGetter(e)),this._renderDisplayText(this._displayGetter(e)))},_clearValueHandler:function(e){return this.callBase(e),!1},_wasSearch:function(e){return arguments.length?void(this._wasSearchValue=e):this._wasSearchValue},_searchHandler:function(e){return this._preventFiltering?void delete this._preventFiltering:(this._needPassDataSourceToList()&&this._wasSearch(!0),void this.callBase(e))},_dataSourceFiltered:function(e){this.callBase(),null!==e&&(this._renderInputSubstitution(),this._renderFocusedElement())},_valueSubstituted:function(){var e=this._input().get(0),t=0===e.selectionStart&&e.selectionEnd===this._searchValue().length,n=e.selectionStart!==e.selectionEnd;return this._wasSearch()&&n&&!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._getPlainItems(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).toString();i.value=o,this._caret({start:n,end:o.length})}}},_cleanInputSelection:function(){var e=this._input().get(0),t=e.value.length;e.selectionStart=t,e.selectionEnd=t},_dispose:function(){this._renderInputValueAsync=o.noop,delete this._loadItemDeferred,this.callBase()},_optionChanged:function(e){switch(e.name){case"_isAdaptablePopupPosition":case"autocompletionEnabled":break;case"onCustomItemCreating":this._initCustomItemCreatingAction();break; 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(){r(this.validators,function(e,t){t.reset()})}}).include(s),k={groups:[],getGroupConfig:function(e){var t=u.grep(this.groups,function(t){return t.group===e});if(t.length)return t[0]},initGroups:function(){this.groups=[],this.addGroup()},addGroup:function(e){var t=this.getGroupConfig(e);return t||(t=new C(e),this.groups.push(t)),t},removeGroup:function(e){var t=this.getGroupConfig(e),n=a(t,this.groups);return n>-1&&this.groups.splice(n,1),t},_setDefaultMessage:function(e,t,n){c.isDefined(e.message)||(t.defaultFormattedMessage&&c.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},o=this;return r(t||[],function(t,a){var r,s=w[a.type];if(!s)throw l.Error("E0100");return c.isDefined(a.isValid)&&a.value===e&&!a.reevaluate?!!a.isValid||(i.isValid=!1,i.brokenRule=a,!1):(a.value=e,r=s.validate(e,a),a.isValid=r,r||(i.isValid=!1,o._setDefaultMessage(a,s,n),i.brokenRule=a),!!a.isValid&&void 0)}),i},registerValidatorInGroup:function(e,t){var n=k.addGroup(e);a(t,n.validators)<0&&n.validators.push(t)},_shouldRemoveGroup:function(e,t){var n=void 0===e,i=e&&"dxValidationGroup"===e.NAME;return!n&&!i&&!t.length},removeRegisteredValidator:function(e,t){var n=k.getGroupConfig(e),i=n&&n.validators,o=a(t,i);o>-1&&(i.splice(o,1),this._shouldRemoveGroup(e,i)&&this.removeGroup(e))},validateGroup:function(e){var t=k.getGroupConfig(e);if(!t)throw l.Error("E0110");return t.validate()},resetGroup:function(e){var t=k.getGroupConfig(e);if(!t)throw l.Error("E0110");return t.reset()}};k.initGroups(),e.exports=k},function(e,t,n){function i(e,t,n){var i=[],o=function(){return e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()<1},a=function(e){return T(e,2)};return i.push(e.getFullYear()),i.push("-"),i.push(a(e.getMonth()+1)),i.push("-"),i.push(a(e.getDate())),t&&o()||(i.push("T"),i.push(a(e.getHours())),i.push(":"),i.push(a(e.getMinutes())),i.push(":"),i.push(a(e.getSeconds())),e.getMilliseconds()&&(i.push("."),i.push(T(e.getMilliseconds(),3))),n||i.push("Z")),i.join("")}function o(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]);if(t.setFullYear(Number(i[1])),t.setMonth(Number(i[2])-1),t.setDate(Number(i[3])),Array.isArray(o)&&o.length){t.setHours(Number(o[1])),t.setMinutes(Number(o[2])),t.setSeconds(Number(o[3]));var a=(o[4]||"").slice(0,3);a=T(a,3,!0),t.setMilliseconds(Number(a))}return t}function a(e){return/^(?:[a-z]+:)?\/\//i.test(e)}function r(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 s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=n(14),u=n(0).extend,c=n(1),d=n(3),h=n(3).each,p=n(62),f=n(42),g=c.isDefined,_=c.isPlainObject,m=n(4).grep,v=n(6).Deferred,y=n(35).errors,x=n(40),b=/^(\{{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})$/,w=/^\/Date\((-?\d+)((\+|-)?(\d+)?)\)\/$/,C=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[-+]{1}\d{2}(:?)(\d{2})?)?$/,k="application/json;odata=verbose",S=function(e){return"string"===c.type(e)?e.split():e},I=function(e){return/\./.test(e)},T=function(e,t,n){for(e=String(e);e.length<t;)e=n?e+"0":"0"+e;return e},D=function(e){var t=[];for(var n in e)t.push(n+"="+e[n]);return t.join("&")},E=function(e,t,n){function o(t){return JSON.stringify(t,function(t,n){if(!(this[t]instanceof Date))return n;switch(n=i(this[t]),e){case 2:return n.substr(0,n.length-1);case 3:case 4:return n;default:throw y.Er y?(o=y(p.get(0)),o={x:0,y:0,width:m(parseFloat(o.width)),height:m(parseFloat(o.height))}):(o=p.get(0).getBoundingClientRect(),o={x:0,y:0,width:m(o.width?o.width:o.right-o.left),height:m(o.height?o.height:o.bottom-o.top)}),h.width(o.width),h.height(o.height)):(p.html(""),r._text.css({fill:s.textColor}).attr({text:s.text}),o=r._textGroup.css({fill:s.textColor}).getBBox()),a=s.contentSize={x:o.x-c,y:o.y-d,width:o.width+2*c,height:o.height+2*d,lm:v-g>0?v-g:0,rm:v+g>0?v+g:0,tm:v-_>0?v-_:0,bm:v+_>0?v+_:0},a.fullWidth=a.width+a.lm+a.rm,a.fullHeight=a.height+a.tm+a.bm+l.arrowLength,r.move(t.x,t.y,t.offset),r._eventData&&r._eventTrigger("tooltipHidden",r._eventData),r._eventData=n,r._eventTrigger("tooltipShown",r._eventData),!0)},hide:function(){var e=this;i(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+s.lm:s.fullWidth,"out"===r.vp?o.fullHeight:s.fullHeight)),n=i._wrapper.css({left:0,top:0}).offset(),i._wrapper.css({left:r.x-n.left,top:r.y-n.top,width:"out"===r.hp?o.fullWidth+s.lm:s.fullWidth})},formatValue:function(e,t){var n=t?o(this._options,t):this._options;return _(e,n.format)},getLocation:function(){return g.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=this,l=s._options,u=l.arrowLength,c=s._state,d=c.tc,h=c.contentSize,p=h.width,g=p/2,_=h.height,m=t-i.top,v=i.top+i.height-t,y=e-i.left,x=i.width+i.left-e,b=_+u+n+h.tm,w=_+u+n+h.bm,C=p+h.lm,k=p+h.rm,S=g+h.lm,I=g+h.rm,T=0,D=[6,0],E=g+f,A=g,O=g-f,B=_+u,P="center",M="bottom";return a=r=_,b>m&&w>v?M="out":b>m&&(M="top"),C>y&&k>x?P="out":S>y&&k<x?P="left":I>x&&C<y&&(P="right"),"out"===P?e=i.left:"left"===P?(E=f,A=O=0):"right"===P?(E=A=p,O=p-f,e-=p):"center"===P&&(e-=g),"out"===M?t=i.top:"top"===M?("out"!==P&&(T=u),D[0]=2,a=r=u,B=E,E=O,O=B,B=0,t+=n):t-=_+u+n,d.x=e-h.lm,d.y=t-h.tm,d.correction=T,(P!==d.hp||M!==d.vp)&&(d.hp=P,d.vp=M,o=[0,0+T,p,0+T,p,_+T,0,_+T],"out"!==P&&"out"!==M&&(D.splice(2,0,E,a,A,B,O,r),o.splice.apply(o,D)),d.cloudPoints=o,!0)},_getCanvas:function(){var e=this._getContainer(),t=e.getBoundingClientRect(),n=r.getDocumentElement(),i=r.getBody(),o=u.pageXOffset||n.scrollLeft||0,a=u.pageYOffset||n.scrollTop||0,s={left:o,top:a,width:n.clientWidth||0,height:n.clientHeight||0,fullWidth:v(i.scrollWidth,n.scrollWidth,i.offsetWidth,n.offsetWidth,i.clientWidth,n.clientWidth)-o,fullHeight:v(i.scrollHeight,n.scrollHeight,i.offsetHeight,n.offsetHeight,i.clientHeight,n.clientHeight)-a};return e!==i&&(o=v(s.left,s.left+t.left),a=v(s.top,s.top+t.top),s.width=y(s.width+s.left-o,t.width+(t.left>0?0:t.left)),s.height=y(s.height+s.top-a,t.height+(t.top>0?0:t.top)),s.fullWidth=s.width,s.fullHeight=s.height,s.left=o,s.top=a),s}},t.Tooltip=a,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"),widgetRoot:this.element()})},_disposeTooltip:function(){this._tooltip.dispose(),this._tooltip=null},_setTooltipRendererOptions:function(){this._tooltip.setRendererOptions(this._getRendererOptions())},_setTooltipOptions:function(){this._tooltip.update(this._getOption("tooltip"))}},extenders:{_stopCurrentHandling:function(){this._tooltip&&this._tooltip.hide()}},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:"T return!t.has()&&u&&(u(),u=void 0),e},t}();e.exports=l},function(e,t,n){var i=n(37),o=n(5),a=n(176),r=n(1).isDefined,s=n(130),l="dxComponents",u="dxPrivateComponent",c=new a,d=0,h=t.name=function(e,t){if(r(t))return void c.set(e,t);if(!c.has(e)){var n=u+d++;return c.set(e,n),n}return c.get(e)};t.attachInstanceToElement=function(e,t,n){var a=i.data(e.get(0)),r=h(t.constructor);a[r]=t,n&&o.one(e,s,function(){n.call(t)}),a[l]||(a[l]=[]),a[l].push(r)},t.getInstanceByElement=function(e,t){var n=h(t);return i.data(e.get(0),n)}},function(e,t,n){var i=n(2),o=n(5),a=n(12),r=n(70),s=n(67),l=n(9),u="dxmousewheel",c="dxWheel",d=r(function(){return a.hasDocumentProperty("onwheel")?"wheel":"mousewheel"}),h={setup:function(e){var t=i(e);o.on(t,l.addNamespace(d(),c),h._wheelHandler.bind(h))},teardown:function(e){o.off(e,"."+c)},_wheelHandler:function(e){var t=this._getWheelDelta(e.originalEvent);l.fireEvent({type:u,originalEvent:e,delta:t,pointerType:"mouse"}),e.stopPropagation()},_getWheelDelta:function(e){return e.wheelDelta?e.wheelDelta:30*-e.deltaY}};s(u,h),t.name=u},function(e,t,n){var i,o=n(14),a=n(4),r=n(10).contains,s=n(16),l=n(9),u=n(24),c=n(114),d=n(88),h="dxactive",p="dxinactive",f=30,g=400,_=o.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.stop(),this._timer=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}}),m=c.inherit({ctor:function(){this.callBase.apply(this,arguments),this._active=new _(0,a.noop),this._inactive=new _(0,a.noop)},configure:function(e,t){switch(t){case h:e.activeTimeout=e.timeout;break;case p:e.inactiveTimeout=e.timeout}this.callBase(e)},start:function(e){if(i){var t=r(this.getElement().get(0),i.getElement().get(0)),n=!i._active.fired();if(t&&n)return void this._cancel();i._inactive.force()}i=this,this._initEvents(e),this._active.start()},_initEvents:function(e){var t=this,n=this._getEmitterTarget(e),o=l.isMouseEvent(e),r=s.isSimulator(),u=r||!o,c=a.ensureDefined(this.activeTimeout,f),d=a.ensureDefined(this.inactiveTimeout,g);this._active=new _(u?c:0,function(){t._fireEvent(h,e,{target:n})}),this._inactive=new _(u?d:0,function(){t._fireEvent(p,e,{target:n}),i=null})},cancel:function(e){this.end(e)},end:function(e){var t=e.type!==u.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(),i=null,this._cancel(),this._inactive.force.bind(this._inactive)}});m.lock=function(e){var t=i?i.lockInactive():a.noop;e.done(t)},d({emitter:m,events:[h,p]}),t.lock=m.lock,t.active=h,t.inactive=p},function(e,t,n){var i=n(7),o=i.getWindow(),a=o.DevExpress=o.DevExpress||{},r=a.errors=n(21);if(a._DEVEXTREME_BUNDLE_INITIALIZED)throw r.Error("E0024");a._DEVEXTREME_BUNDLE_INITIALIZED=!0,a.clientExporter=n(172),a.excelExporter=n(431),a.VERSION=n(156),a.Class=n(14),a.DOMComponent=n(66),a.registerComponent=n(8),a.devices=n(16),a.Color=n(90);var s=n(112);a.EventsMixin=n(80),a.utils={},a.utils.requestAnimationFrame=s.requestAnimationFrame,a.utils.cancelAnimationFrame=s.cancelAnimationFrame,a.utils.initMobileViewport=n(434).initMobileViewport,a.utils.extendFromObject=n(0).extendFromObject,a.utils.createComponents=n(10).createComponents,a.utils.triggerShownEvent=n(10).triggerShownEvent,a.utils.triggerHidingEvent=n(10).triggerHidingEvent,a.utils.resetActiveElement=n(10).resetActiveElement,a.utils.findBestMatches=n(4).findBestMatches,a.createQueue=n(222).create,a.utils.dom=n(10),a.utils.common=n(4),a.utils.date=n(22),a.utils.browser=n(31),a.utils.inflector=n(32),a.utils.iterator=n(3),a.utils.readyCallbacks=n(47),a.utils.resizeCallbacks=n(125),a.utils.console=n(82),a.utils.string=n(43),a.utils.support=n(44),a.viewPort=n(76).value,a.hideTopOverlay=n(210),a.formatHelper=n(63),a.config=n(27),a.animationPresets=n(178).preset 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},_clearEventTimeout:function(e){clearTimeout(this._timeouts[e?"show":"hide"])},_clean:function(){this._detachEvents(this.option("target")),this.callBase.apply(this,arguments)},_optionChanged:function(e){switch(e.name){case"showTitle":case"title":case"titleTemplate":this.callBase(e),this._renderGeometry();break;case"boundaryOffset":case"arrowPosition":case"arrowOffset":this._renderGeometry();break;case"fullScreen":e.value&&this.option("fullScreen",!1);break;case"target":e.previousValue&&this._detachEvents(e.previousValue),this.callBase(e);break;case"showEvent":case"hideEvent":var t=e.name.substring(0,4),n=T(e.previousValue);this.hide(),A(this,this.option("target"),t,n),E(this,t);break;case"visible":this._clearEventTimeout(e.value),this.callBase(e);break;default:this.callBase(e)}},show:function(e){return e&&this.option("target",e),this.callBase()}});u("dxPopover",O),e.exports=O},function(e,t,n){var i=n(2),o=n(5),a=n(4).noop,r=n(14),s=n(175),l=n(9),u="dxListEditDecorator",c=l.addNamespace(s.start,u),d=l.addNamespace(s.swipe,u),h=l.addNamespace(s.end,u),p=r.inherit({ctor:function(e){this._list=e,this._init()},_init:a,_shouldHandleSwipe:!1,_attachSwipeEvent:function(e){var t={itemSizeFunc:function(){return this._clearSwipeCache&&(this._itemWidthCache=this._list.$element().width(),this._clearSwipeCache=!1),this._itemWidthCache}.bind(this)};o.on(e.$itemElement,c,t,this._itemSwipeStartHandler.bind(this)),o.on(e.$itemElement,d,this._itemSwipeUpdateHandler.bind(this)),o.on(e.$itemElement,h,this._itemSwipeEndHandler.bind(this))},_itemSwipeStartHandler:function(e){var t=i(e.currentTarget);return t.is(".dx-state-disabled, .dx-state-disabled *")?void(e.cancel=!0):(clearTimeout(this._list._inkRippleTimer),void this._swipeStartHandler(t,e))},_itemSwipeUpdateHandler:function(e){var t=i(e.currentTarget);this._swipeUpdateHandler(t,e)},_itemSwipeEndHandler:function(e){var t=i(e.currentTarget);this._swipeEndHandler(t,e),this._clearSwipeCache=!0},beforeBag:a,afterBag:a,_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:a,handleClick:a,handleKeyboardEvents:a,handleEnterPressing:a,handleContextMenu:a,_swipeStartHandler:a,_swipeUpdateHandler:a,_swipeEndHandler:a,visibilityChange:a,getExcludedSelectors:a,dispose:a});e.exports=p},function(e,t,n){e.exports=n(544)},function(e,t,n){e.exports=n(342)},function(e,t,n){var i=n(21),o=n(0).extend,a=n(3).each,r=n(13).inArray,s=n(22),l=s.dateToMilliseconds,u=4,c={secondly:"seconds",minutely:"minutes",hourly:"hours",daily:"days",weekly:"weeks",monthly:"months",yearly:"years"},d={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){if(t<0){var n=new Date(e);h(n,1,-1);var i=n.getDate();i>=Math.abs(t)?h(e,1,t):h(e,2,t)}else e.setDate(t),D(e,t)},byday:function(e,t,n,i,o){var a=t;"DAILY"!==i&&"WEEKLY"!==i||!(o&&t>=o||!o&&0===t)||(a=7),t+=_[n]>a?7:0,e.setDate(e.getDate()-e.getDay()+t)},byweekno:function(e,t,n){var i=new Date(e),o=new Date(i.setMonth(0,1)),a=o.getDay()-_[n],r=o.getTime()-a*l("day"),s=a+1;s>u?e.setTime(r+7*t*l("day")):e.setTime(r+7*(t-1)*l("day"));var c=(e.getTimezoneOffset()-o.getTimezoneOffset())*l("minute");c&&e.setTime(e.getTime()+c)},byyearday:function(e,t){e.setMonth(0,1),e.setDate(t)}},h=function(e,t,n){var i=new Date(e);e.setMonth(e.getMonth()+t),e.getMonth()-i.getMonth()>t&&e.setDate(n+1),e.setDate(n+1)},p={bysecond:function(e){return e.getSeconds()},byminute:function(e){return e.getMinutes()},byhour:function(e){return e.getHours()},bymonth:function(e){return e.getMonth()},bymonthday:function(e){return e.getDate() 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)}}),w=function e(t,n){n=n||{},t instanceof d||(t=new h(t));var i=function(e){var t=n.errorHandler;t&&t(e),u._errorHandler(e)},a=function(e){var n,o=(new l).fail(i),a=e.step,r=e.finalize;try{t.reset(),n="seed"in e?e.seed:t.next()?t.current():NaN;for(var s=n;t.next();)s=a(s,t.current());o.resolve(r?r(s):s)}catch(e){o.reject(e)}return o.promise()},s=function(e,t,n){return a(arguments.length<2?{step:arguments[0]}:{seed:e,step:t,finalize:n})},p=function(e){return a(c.aggregators[e])},f=function(e){return o.isFunction(e)||Array.isArray(e)||(e=[].slice.call(arguments)),m(new x(t,e))},g=function(e){return f(r(e))},m=function(t){return e(t,n)};return{toArray:function(){return t.toArray()},enumerate:function(){var e=(new l).fail(i);try{e.resolve(t.toArray())}catch(t){e.reject(t)}return e.promise()},sortBy:function(e,n,i){return m(new _(t,e,n,i))},thenBy:function(e,n,i){if(t instanceof _)return m(t.thenBy(e,n,i));throw u.errors.Error("E4004")},filter:function(e){return Array.isArray(e)||(e=[].slice.call(arguments)),m(new v(t,e))},slice:function(e,n){return void 0===n&&(n=Number.MAX_VALUE),m(new b(t,e,n))},select:f,groupBy:function(e){return m(new y(t,e))},aggregate:s,count:function(){if(t.countable()){var e=(new l).fail(i);try{e.resolve(t.count())}catch(t){e.reject(t)}return e.promise()}return p("count")},sum:function(e){return e?g(e).sum():p("sum")},min:function(e){return e?g(e).min():p("min")},max:function(e){return e?g(e).max():p("max")},avg:function(e){return e?g(e).avg():p("avg")}}};e.exports=w},function(e,t,n){var i=n(2),o=n(14),a=n(3).each,r=n(126),s="dx-state-invisible",l="dx-state-disabled",u="dx-item-content-placeholder",c=function(e,t,n){var i=function(){var e;return function(t){e!==t&&(n(t,e),e=t)}}();return{dispose:e(t,i),force:function(){i(t())}}},d=o.inherit({ctor:function(e,t,n){this._$element=e,this._options=t,this._rawData=n,r.attachInstanceToElement(e,this,this._dispose),this._render()},_render:function(){var e=i("<div>").addClass(u);this._$element.append(e),this._watchers=[],this._renderWatchers()},_renderWatchers:function(){this._startWatcher("disabled",this._renderDisabled.bind(this)),this._startWatcher("visible",this._renderVisible.bind(this))},_startWatcher:function(e,t){var n=this._rawData,i=this._options.fieldGetter(e),o=c(this._options.watchMethod(),function(){return i(n)},function(e,n){this._dirty=!0,t(e,n)}.bind(this));this._watchers.push(o)},setDataField:function(){if(this._dirty=!1,a(this._watchers,function(e,t){t.force()}),this._dirty)return!0},_renderDisabled:function(e,t){this._$element.toggleClass(l,!!e)},_renderVisible:function(e,t){this._$element.toggleClass(s,void 0!==e&&!e)},_dispose:function(){a(this._watchers,function(e,t){t.dispose()})}});d.getInstance=function(e){return r.getInstanceByElement(e,this)},e.exports=d},function(e,t,n){var i=n(5),o=n(10),a=n(12),r=n(14),s=n(67),l=n(19),u=n(9),c="dxdblclick",d="dxDblClick",h=u.addNamespace(l.name,d),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&&i.on(a.getDocument(),h,this._clickHandler.bind(this)),this._handlerCount++},_clickHandler:function(e){var t=e.timeStamp||Date.now();t-this._lastClickTimeStamp<p?(u.fireEvent({type:c,target:o.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(),i.off(a.getDocument(),h))}});s(c,new f),t.name=c},function(e,t,n){var i=n(1),o=n(3),a=n(27),r=n(0).extend,s=n(180),l=n(101),u=l.serializePropName,c=n(35).errors,d=n(40),h=i.isFu var u,c,d,h=(""+n).split("/"),p=Number(h[h.length-1]);u=l[h.length-1],c=[s,">=",p],d=[s,"<",p+u];var f=[c,"and",d];return f}return[s,o||"=",n]};return{defaultCalculateFilterExpression:function(e,n,o){var a=this,r=t(a,o),s=a.calculateDisplayValue&&"search"===o,u=s&&a.lookup&&a.lookup.dataType||a.dataType,p=null;if("headerFilter"!==o&&"filterBuilder"!==o||null!==e)if("string"!==u||a.lookup&&!s){if("between"===n)return c.apply(a,[e,o]);if(l(u)&&i.isDefined(e))return d.apply(a,arguments);if("number"===u)return h.apply(a,arguments);"object"!==u&&(p=[r,n||"=",e])}else p=[r,n||"contains",e];else p=[r,n||"=",null],"string"===u&&(p=[p,"="===n?"or":"and",[r,n||"=",""]]);return p},getGroupInterval:function(e){var t,n=[],a=["year","month","day","hour","minute","second"],u=e.headerFilter&&e.headerFilter.groupInterval,c="quarter"===u?"month":u;return l(e.dataType)&&null!==u?(n="datetime"===e.dataType?s:r,t=o(c,a),t>=0?(n=a.slice(0,t),n.push(u),n):n):i.isDefined(u)?Array.isArray(u)?u:[u]:void 0}}}()},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(2),a=i(o),r=n(12),s=i(r),l=n(7),u=n(5),c=i(u),d=n(37),h=i(d),p=n(19),f=i(p),g=n(154),_=i(g),m=n(31),v=i(m),y=n(4),x=n(84),b=i(x),w=n(10),C=n(1),k=i(C),S=n(3),I=i(S),T=n(0),D=n(99),E=n(16),A=i(E),O=n(38),B=i(O),P=n(36),M=n(327),R=i(M),V="scroll-container",F="group-space",L="content",H="table",z="table-fixed",N="content-fixed",$="dx-row",W="dx-group-row",G="dx-master-detail-row",q="filter-row",j="cell-updated-animation",K="0.0001px",U="dxCellHintVisible",Y="dx-field-item-content",X={render:function(e){e.container.append(e.content)}},Z=function(e,t,n){function i(e){return setTimeout(function(){o=r=null},e)}var o,r,s;c.default.on(t,"touchstart touchend",".dx-row",function(e){clearTimeout(s),"touchstart"===e.type?(o=e.target,r=e.currentTarget,s=i(1e3)):s=i()}),c.default.on(t,n.name,".dx-row",{useNative:e._isNativeClick()},e.createAction(function(t){var i=t.event;o&&(i.target=o,i.currentTarget=r),(0,a.default)(i.target).closest("a").length||(t.rowIndex=e.getRowIndex(i.currentTarget),t.rowIndex>=0&&(t.rowElement=(0,w.getPublicElement)((0,a.default)(i.currentTarget)),t.columns=e.getColumns(),"dxclick"===n.name?e._rowClick(t):e._rowDblClick(t)))}))},Q=function(e,t){Z(e,t,f.default)},J=function(e,t){Z(e,t,_.default)},ee=function(e){return"auto"===e?"":k.default.isNumeric(e)?e+"px":e},te=function(e,t,n){e.style.width=e.style.maxWidth="auto"===t.width?"":n},ne=function(e,t){if(e&&t){var n,i,o=e.attributes,a=t.attributes;for(i=0;i<o.length;i++)n=o[i].nodeName,t.hasAttribute(n)||e.removeAttribute(n);for(i=0;i<a.length;i++)e.setAttribute(a[i].nodeName,a[i].nodeValue)}};t.ColumnsView=B.default.View.inherit(R.default).inherit({_createScrollableOptions:function(){var e=this,t=e.option("scrolling"),n=e.option("scrolling.useNative"),i=(0,T.extend)({pushBackValue:0},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||(0,D.getDefaultAlignment)(this.option("rtlEnabled")),i=s.default.createElement("td");i.style.textAlign=n;var o=(0,a.default)(i);return"data"===e.rowType&&t.headerId&&this.setAria("describedby",t.headerId,o),!k.default.isDefined(t.groupIndex)&&t.cssClass&&o.addClass(t.cssClass),"expand"===t.command&&(o.addClass(t.cssClass),o.addClass(this.addWidgetPrefix(F))),t.colspan>1?o.attr("colSpan",t.colspan):t.isBand||"auto"===t.visibleWidth||this.option("legacyRendering")||!this.option("columnAutoWidth")||((t.width||t.minWidth)&&(i.style.minWidth=ee(t.minWidth||t.width)),t.width&&te(i,t,ee(t.width))),o},_createRow:function(e){var t=(0,a.default)("<tr>").addClass($);return this.setAria("role","row",t),t},_createTable:function(e,t){var n=this,i=(0,a.default)("<table>").addClass(n.addWidgetPrefix(H)).addClass(n.addWidgetPrefix(z));if(e&&!t?(i.append(n._createColGroup(e)),A.default.real().ios&&i.append((0,a.default)("<thead>").append( return i=(i&&i.match(n)||[]).map(function(e){return e}).join(" "),t+i+o})}function M(e){var t=[],n=Ce.createElement("div");return n.innerHTML=e.replace(/\r/g,"").replace(/\n/g,"<br/>"),O(t,0,n,{},""),B(t),t}function R(e){for(var t=e.replace(/\r/g,"").split(/\n/g),n=0,i=[];n<t.length;n++)i.push({value:t[n].trim(),height:0,line:n});return i}function V(e,t,n){var i,o,a;for(i=0,o=e.length;i<o;++i)a=e[i],a[n]=r("tspan"),a[n].appendChild(Ce.createTextNode(a.value)),a.style&&C({element:a[n],_styles:{}},a.style),a.className&&a[n].setAttribute("class",a.className),t.appendChild(a[n])}function F(){this._hasEllipsis&&this.attr({text:this._settings.text})}function L(e){var t,n,i,o,a,r,s,l,u,c=this,d=!1;if(F.call(c),l=c.renderer.text(st).attr(c._styles).append(c.renderer.root),u=l.getBBox().width,c._getElementBBox().width>e)for(e-u<0?e=0:e-=u,t=W(c.element,c._texts,e),n=0,i=t.length;n<i;++n)if(o=t[n].parts,1!==t[n].commonLength)for(a=0,r=o.length;a<r;++a)s=o[a],ze(s.endIndex)?(Q(s,s.endIndex),d=!0):s.startBox>e&&J(s);return l.remove(),c._hasEllipsis=d,d}function H(e){var t=void 0;return e&&(t=e.cloneNode(),t.removeAttribute("y"),t.removeAttribute("x")),t||e}function z(e,t){var n,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=this,r=[],s=!1,l=!1,u=e;F.call(a),n=a.renderer.text(st).attr(a._styles).append(a.renderer.root),i=n.getBBox().width;var c=a._getElementBBox(),d=c.width,h=c.height;return(d>e||t&&h>t)&&(e-i<0?u=0:u-=i,r=Z(a.element,a._texts,e,u,o,t),r=X(r,u,o,t,parseFloat(this._getLineHeight())),this._texts=r.reduce(function(e,t){return e.concat(t.parts)},[]).filter(function(e){return""!==e.value}).map(function(e){return e.stroke&&e.tspan.parentNode.appendChild(e.stroke),e}).map(function(e){return e.tspan.parentNode.appendChild(e.tspan),e}),!this._texts.length&&(this._texts=null),s=!0,this._texts?ie(this):(this.element.textContent="",l=!0)),n.remove(),a._hasEllipsis=s,{rowCount:r.length,textChanged:s,textIsEmpty:l}}function N(e,t,n,i){var o,a;if(n<=t&&i>t)for(o=1,a=e.value.length;o<=a;++o)if(n+e.tspan.getSubStringLength(0,o)>t)return o-1}function $(e){return e.value.length?e.tspan.getSubStringLength(0,e.value.length):0}function W(e,t,n){var i,o,a,r,s,l=[];if(t)for(i=0,o=t.length;i<o;++i)a=t[i],l[a.line]?(a.startBox=r,l[a.line].parts.push(a),l[a.line].commonLength+=a.value.length):(a.startBox=r=0,l.push({commonLength:a.value.length,parts:[a]})),s=r+a.tspan.getSubStringLength(0,a.value.length),a.endIndex=N(a,n,r,s),r=s;else a={value:e.textContent,tspan:e},a.startBox=r=0,s=r+$(a),a.endIndex=N(a,n,r,s),l=[{commonLength:e.textContent.length,parts:[a]}];return l}function G(e,t){for(var n=e.startBox>0?[0]:[],i=e.value.split("").reduce(function(e,t,n){return" "===t&&e.push(n),e},n),o=0;void 0!==i[o+1]&&e.startBox+e.tspan.getSubStringLength(0,i[o+1])<t;)o++;return i[o]}function q(e,t){for(var n=0;n<e.value.length-1;n++)if(e.startBox+e.tspan.getSubStringLength(0,n+1)>t)return n}function j(e,t){var n=t.hideOverflowEllipsis;return n&&0===e?"":st}function K(e,t,n){var i=j(t,n);if(e.value.length&&e.tspan.parentNode)for(var o=e.value.length-1;o>=1;o--){if(e.startBox+e.tspan.getSubStringLength(0,o)<t){Q(e,o,i);break}1===o&&Q(e,0,i)}}function U(e,t,n,i){var o=e.value,a=void 0;"none"!==i.wordWrap&&(a="normal"===i.wordWrap?G(e,t):q(e,t));var r=[],s=void 0;if(isFinite(a)){Q(e,a,"");var u=" "===o[a]?1:0,c=o.slice(a+u);if(c.length){var d=H(e.tspan);if(d.textContent=c,e.tspan.parentNode.appendChild(d),s=l(l({},e),{value:c,startBox:0,height:0,tspan:d,stroke:H(e.stroke),endBox:d.getSubStringLength(0,c.length)}),s.stroke&&(s.stroke.textContent=c),s.endBox>t&&(r=U(s,t,n,i),!r.length))return[]}}if(e.value.length){if("ellipsis"===i.textOverflow&&e.tspan.getSubStringLength(0,e.value.length)>t&&K(e,n,i),"hide"===i.textOverflow&&e.tspan.getSubStringLength(0,e.value.length)>t)return[]}else e.tspan.parentNode.removeChild(e.tspan);var h=[];return s&&h.push(s),[{commonLength:o.length,parts:h}].concat(r)}function Y(e,t){return e.parts.reduce(function(e,n){return Math.max(e,ne(n,t))},0)}function X(e,t,n,i,o){var a=n.textOverflow;if(!isFinite(i)||0=== h.move(t,{top:i.top+(n.top?u:0),left:i.left+(n.left?c:0)}),this._resizeAction({event:e,width:this.option("width")||r,height:this.option("height")||s,handles:this._movingSides}),y.triggerResizeEvent(t)},_getOffset:function(e){var t=e.offset,n=r.pairToObject(this.option("step")),i=this._getMovingSides(e),o="strict"===this.option("stepPrecision");return i.left||i.right||(t.x=0),i.top||i.bottom||(t.y=0),o?this._getStrictOffset(t,n,i):this._getSimpleOffset(t,n)},_getSimpleOffset:function(e,t){return{x:e.x-e.x%t.h,y:e.y-e.y%t.v}},_getStrictOffset:function(e,t,n){var i=this._elementLocation,o=this._elementSize,a=n.left?i.left:i.left+o.width,r=n.top?i.top:i.top+o.height,s=(a+e.x)%t.h,l=(r+e.y)%t.v,u=Math.sign||function(e){return e=+e,0===e||isNaN(e)?e:e>0?1:-1},c=function(e,t){return(1+.2*u(t))%1*e},d=function(e,t){return Math.abs(e)<.2*t},h=e.x-s,p=e.y-l;return s>c(t.h,e.x)&&(h+=t.h),l>c(t.v,e.y)&&(p+=t.v),{x:!n.left&&!n.right||d(e.x,t.h)?0:h,y:!n.top&&!n.bottom||d(e.y,t.v)?0:p}},_getMovingSides:function(e){var t=i(e.target),n=t.hasClass(D+"-top-left"),o=t.hasClass(D+"-top-right"),a=t.hasClass(D+"-bottom-left"),r=t.hasClass(D+"-bottom-right");return{top:t.hasClass(k)||n||o,left:t.hasClass(I)||n||a,bottom:t.hasClass(S)||a||r,right:t.hasClass(T)||o||r}},_getArea:function(){var e=this.option("area");return v(e)&&(e=e.call(this)),m(e)?this._getAreaFromObject(e):this._getAreaFromElement(e)},_getAreaScrollOffset:function(){var e=this.option("area"),t=!v(e)&&!m(e),n={scrollY:0,scrollX:0};if(t){var o=i(e)[0];c.isWindow(o)&&(n.scrollX=o.pageXOffset,n.scrollY=o.pageYOffset)}return n},_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=i(e);return n.length&&(t={width:n.innerWidth(),height:n.innerHeight(),offset:s({top:0,left:0},c.isWindow(n[0])?{}: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({event:e,width:t.outerWidth(),height:t.outerHeight(),handles:this._movingSides}),this._toggleResizingClass(!1)},_renderWidth:function(e){this.option("width",p(e,this.option("minWidth"),this.option("maxWidth")))},_renderHeight:function(e){this.option("height",p(e,this.option("minHeight"),this.option("maxHeight")))},_optionChanged:function(e){switch(e.name){case"disabled":case"handles":this._invalidate();break;case"minWidth":case"maxWidth":d.hasWindow()&&this._renderWidth(this.$element().outerWidth());break;case"minHeight":case"maxHeight":d.hasWindow()&&this._renderHeight(this.$element().outerHeight());break;case"onResize":case"onResizeStart":case"onResizeEnd":this._renderActions();break;case"area":case"stepPrecision":case"step":break;default:this.callBase(e)}},_clean:function(){this.$element().find("."+C).remove()}});a(x,P),e.exports=P},function(e,t,n){var i=n(9),o=n(157),a=n(88),r="dxswipestart",s="dxswipe",l="dxswipeend",u={defaultItemSizeFunc:function(){return this.getElement().width()},getBounds:function(){return[this._maxLeftOffset,this._maxRightOffset]},calcOffsetRatio:function(e){var t=i.eventData(e);return(t.x-(this._savedEventData&&this._savedEventData.x||0))/this._itemSizeFunc().call(this,e)},isFastSwipe:function(e){var t=i.eventData(e);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(t.x-this._tickData.x)>=t.time-this._tickData.time}},c={defaultItemSizeFunc:function(){return this.getElement().height()},getBounds:function(){return[this._maxTopOffset,this._maxBottomOffset]},calcOffsetRatio:function(e){var t=i.eventData(e);return(t.y-(this._savedEventData&&this._savedEventData.y||0))/this._itemSizeFunc().call(this,e)},isFastSwipe:function(e){var t=i.eventData(e);return thi 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===f?"height":"width";e.option({containerSize:this._containerSize[n],contentSize:this._componentContentSize[n]}),e.update()})},_allowedDirections:function(){return{vertical:this._isDirection(f)&&this._contentSize.height>this._containerSize.height,horizontal:this._isDirection(g)&&this._contentSize.width>this._containerSize.width}},dispose:function(){var e=this._$element.get(0).className,t=new RegExp(d+"\\S*","g");t.test(e)&&this._$element.removeClass(e.match(t).join(" ")),o.off(this._$element,"."+c),o.off(this._$container,"."+c),this._removeScrollbars(),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()},verticalOffset:function(){return this.option("pushBackValue")}});e.exports=m},function(e,t,n){var i=n(2),o=n(4).noop,a=n(15),r=n(8),s=n(0).extend,l=n(93),u=n(58),c=n(6).Deferred,d=n(30),h="dx-loadpanel",p="dx-loadpanel-wrapper",f="dx-loadpanel-indicator",g="dx-loadpanel-message",_="dx-loadpanel-content",m="dx-loadpanel-content-wrapper",v="dx-loadpanel-pane-hidden",y=u.inherit({_supportedKeys:function(){return s(this.callBase(),{escape:o})},_getDefaultOptions:function(){return s(this.callBase(),{message:a.format("Loading"),width:222,height:90,animation:null,showIndicator:!0,indicatorSrc:"",showPane:!0,delay:0,closeOnBackButton:!1,resizeEnabled:!1,focusStateEnabled:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"generic"},options:{shadingColor:"transparent"}},{device:function(){return d.isMaterial()},options:{message:"",width:60,height:60,maxHeight:60,maxWidth:60}}])},_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(h),this._wrapper().addClass(p)},_renderContentImpl:function(){this.callBase(),this.$content().addClass(_),this._$contentWrapper=i("<div>").addClass(m),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=new c,n=this.callBase.bind(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=i("<div>").addClass(g).text(e);this._$contentWrapper.append(t)}}},_renderLoadIndicator:function(){this._$contentWrapper&&this.option("showIndicator")&&(this._$indicator=i("<div>").addClass(f).appendTo(this._$contentWrapper),this._createComponent(this._$indicator,l,{indicatorSrc:this.option("indicatorSrc")}))},_cleanPreviousContent:function(){this.$content().find("."+g).remove(),this.$content().find("."+f).remove()},_togglePaneVisible:function(){this.$content().toggleClass(v,!this.option("showPane"))},_optionChanged:function(e){switch(e.name){case"delay":break;case"message":case"showIndicator":this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage();break;case _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&&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(b[t],n),this._renderPopup();break;case"popupWidth":case"popupHeight":case"popupMaxHeight":case"popupAutoResizeEnabled":this._popup.option(x[t],n);break;case"usePopover":case"menuWidget":case"useInkRipple":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":case"closeOnClick":break;case"container":this._popup&&this._popup.option(e.name,e.value);break;default:this.callBase(e)}},open:function(){this.option("opened",!0)},close:function(){this.option("opened",!1)}}).include(d);r("dxDropDownMenu",w),e.exports=w},function(e,t,n){var i=n(37),o=n(25),a=n(18),r=n(66),s=n(0).extend,l=n(3).map,u=n(173),c=n(100),d=n(546),h=n(8),p="dx-validator",f=r.inherit({_getDefaultOptions:function(){return s(this.callBase(),{validationRules:[]})},_init:function(){this.callBase(),this._initGroupRegistration(),this.focused=o(),this._initAdapter()},_initGroupRegistration:function(){var e=this._findGroup();this._groupWasInit||this.on("disposing",function(e){c.removeRegisteredValidator(e.component._validationGroup,e.component)}),this._groupWasInit&&this._validationGroup===e||(c.removeRegisteredValidator(this._validationGroup,this),this._groupWasInit=!0,this._validationGroup=e,c.registerValidatorInGroup(e,this))},_setOptionsByReference:function(){this.callBase(),s(this._optionsByReference,{validationGroup:!0})},_initAdapter:function(){var e=this,t=e.$element()[0],n=i.data(t,"dx-validation-target"),o=e.option("adapter");if(!o){if(n)return o=new d(n,this),o.validationRequestsCallbacks.add(function(){e.validate()}),void this.option("adapter",o);throw a.Error("E0120")}var r=o.validationRequestsCallbacks;r&&(Array.isArray(r)?r.push(function(){e.validate()}):(a.log("W0014","validationRequestsCallbacks","jQuery.Callbacks","17.2","Use the array instead"),r.add(function(){e.validate()})))},_initMarkup:function(){this.$element().addClass(p),this.callBase()},_visibilityChanged:function(e){e&&this._initGroupRegistration()},_optionChanged:function(e){switch(e.name){case"validationGroup":return void this._initGroupRegistration();case"validationRules":return this._resetValidationRules(),void(void 0!==this.option("isValid")&&this.validate());case"adapter":this._initAdapter();break;default:this.callBase(e)}},_getValidationRules:function(){return this._validationRules||(this._validationRules=l(this.option("validationRules"),function(e){return s({},e,{validator:this})}.bind(this))),this._validationRules},_resetValidationRules:function(){delete this._validationRules},validate:function(){var e,t=this,n=t.option("adapter"),i=t.option("name"),o=n.bypass&&n.bypass(),a=n.getValue(),r=n.getCurrentValidationError&&n.getCurrentValidationError(),s=this._getValidationRules();return o?e={isVali rowExpandedPaths:i(n._data,n._descriptions,"rows")}},beginLoading:function(){this._changeLoadingCount(1)},endLoading:function(){this._changeLoadingCount(-1)},_changeLoadingCount:function(e){var t,n=this.isLoading();this._loadingCount+=e,t=this.isLoading(),n^t&&this.fireEvent("loadingChanged",[t])},_hasPagingValues:function(e,t,n){var i=t+"Take",o=t+"Skip",a=this._data.values,r=this._data[t+"s"],s="row"===t?"column":"row",l=[];if(e.path&&e.area===t){var u=se(r,e.path);if(r=u&&u.children,!r)return!1}if(e.oppositePath&&e.area===s){var c=se(r,e.oppositePath);if(r=c&&c.children,!r)return!1}for(var d=e[o];d<e[o]+e[i];d++)r[d]&&l.push(r[d].index);return l.every(function(e){if(void 0!==e)return"row"===t?(a[e]||[])[n]:(a[n]||[])[e]})},_processPagingCacheByArea:function(e,t,n){var i,o=n+"Take",a=n+"Skip",r=this._data[n+"s"],s="row"===n?"column":"row";if(e[o]){if(e.path&&e.area===n){var l=se(r,e.path);r=l&&l.children||[]}if(e.oppositePath&&e.area===s){var u=se(r,e.oppositePath);r=u&&u.children||[]}do if(i=r[e[a]],i&&void 0!==i.index){if(!this._hasPagingValues(e,s,i.index))break;e[a]++,e[o]--}while(i&&void 0!==i.index&&e[o]);if(e[o]){var c=Math.floor(e[a]/t)*t,d=Math.ceil((e[a]+e[o])/t)*t;e[a]=c,e[o]=d-c}}},_processPagingCache:function(e){var t=this._pageSize;if(!(t<0))for(var n=0;n<e.length;n++)this._processPagingCacheByArea(e[n],t,"row"),this._processPagingCacheByArea(e[n],t,"column")},_loadCore:function(e,t){var n=this,o=this._store,a=this._descriptions,r=e.reload||this.paginate()&&n._isFieldsModified,s=this.paginate(),u=L[e.area];if(e=e||{},o){p(e,a),e.columnExpandedPaths=e.columnExpandedPaths||i(this._data,e,"columns",n._lastLoadOptions),e.rowExpandedPaths=e.rowExpandedPaths||i(this._data,e,"rows",n._lastLoadOptions),s&&(e.pageSize=this._pageSize),u&&(e.headerName=u),n.beginLoading(),t.always(function(){n.endLoading()});var c=[e];if(n.fireEvent("customizeStoreLoadOptions",[c,r]),r||n._processPagingCache(c),c=c.filter(function(e){return!(e.rows.length&&0===e.rowTake||e.columns.length&&0===e.columnTake)}),!c.length)return void n._update(t);var d=c.map(function(e){return o.load(e)});y.apply(null,d).done(function(){for(var e=arguments,i=0;i<e.length;i++){var o=c[i],a=e[i],u=i===e.length-1;o.path?n.applyPartialDataSource(o.area,o.path,a,!!u&&t,o.oppositePath):s&&!r&&l(n._data)?n.mergePartialDataSource(a,!!u&&t):(p(n._data,a),n._lastLoadOptions=o,n._update(!!u&&t))}}).fail(t.reject)}else n._update(t)},_sort:function(e,t,n){var i=this._store;i&&!this._paginate&&ne(e,t,n)},paginate:function(){return this._paginate&&this._store&&this._store.supportPaging()},isEmpty:function(){var e=this.getAreaFields("data"),t=this.getData();return!e.length||!t.values.length},_update:function(e){var t=this,n=t._descriptions,i=t._data,o=n.values,a=r(o);return y(oe(n,i),ae(i.rows),ae(i.columns)).done(function(){a&&(t._sort(n,i,a),!t.isEmpty()&&D.applyDisplaySummaryMode(n,i)),t._sort(n,i),!t.isEmpty()&&s(o)&&D.applyRunningTotal(n,i),t._data=i,e!==!1&&y(e).done(function(){t._isFieldsModified=!1,t.fireEvent("changed"),_(t._data.grandTotalRowIndex)&&(i.grandTotalRowIndex=t._data.grandTotalRowIndex),_(t._data.grandTotalColumnIndex)&&(i.grandTotalColumnIndex=t._data.grandTotalColumnIndex)}),e&&e.resolve(t._data)}),e},store:function(){return this._store},collapseHeaderItem:function(e,t){var n=this,i="column"===e?n._data.columns:n._data.rows,o=se(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(),n.paginate()&&n.load(),!0)},collapseAll:function(e){var t=this,n=!1,i=this.field(e)||{},o=[f(i,this.getAreaFields(i.area))];i.expanded=!1,i&&i.levels&&(o=[],i.levels.forEach(function(e){o.push(f(e,t.getAreaFields(i.area))),e.expanded=!1})),A(this._data[i.area+"s"],function(e){var t=e[0],i=R(e);t&&t.children&&o.indexOf(i.length-1)!==-1&&(t.collapsedChildren=t.children,delete t.children,n=!0)},!0),n&&this._update()},expandAll:function(e){var t=this.field(e);t&&t.area&&(t.expanded=!0,t&&t.levels&&t.levels.forEach(fun return{line:_(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()},_updateElement:function(e,t,n,i){var o={points:t.line},a=e.line;n?a.animate(o,{},i):a.attr(o)},_animateComplete:function(){var e=this;s._animateComplete.call(e),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){var o;n===t&&(o=function(){e._animateComplete()}),e._updateElement(i,e._segments[n],!0,o)})},_drawPoint:function(e){s._drawPoint.call(this,{point:e.point,groups:e.groups})},_createMainElement:function(e,t){return this._renderer.path(e,"line").attr(t).sharp()},_sortPoints:function(e,t){return t?e.sort(function(e,t){return t.y-e.y}):e.sort(function(e,t){return e.x-t.x})},_drawSegment:function(e,t,n,i){var o=this,a=o._options.rotated,r=!1,s=o._prepareSegment(e,a,i);o._segments.push(s),o._graphics[n]?t?r&&o._updateElement(o._graphics[n],o._getDefaultSegment(s)):o._updateElement(o._graphics[n],s):o._graphics[n]=o._drawElement(t?o._getDefaultSegment(s):s,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)},checkSeriesViewportCoord:function(e,t){if(0===this._points.length)return!1;var n=e.isArgumentAxis?this.getArgumentRange():this.getViewport(),i=e.getTranslator().translate(n.categories?n.categories[0]:n.min),o=e.getTranslator().translate(n.categories?n.categories[n.categories.length-1]:n.max),a=this.getOptions().rotated,r=e.getOptions().inverted;return e.isArgumentAxis&&(!a&&!r||a&&r)||!e.isArgumentAxis&&(a&&!r||!a&&r)?t>=i&&t<=o:t>=o&&t<=i},getSeriesPairCoord:function(e,t){for(var n=this,i=null,o=this.getNearestPointsByCoord(e,t),a=t&&!n._options.rotated||!t&&n._options.rotated,r=0;r<o.length;r++){var s=o[r],l=(s[1].vy-s[0].vy)/(s[1].vx-s[0].vx),u=s[0].vy-s[0].vx*l,c=void 0;if(c=s[1].vx-s[0].vx===0?a?s[0].vy:s[0].vx:a?l*e+u:(e-u)/l,this.checkAxisVisibleAreaCoord(!t,c)){i=c;break}}return i}},x=t.chart.line=m({},s,y);t.chart.stepline=m({},x,{_calculateStepLinePoints:function(e){var t=[],n=this._options.rotated?"x":"y";return v(e,function(e,i){var o=void 0;if(!e)return void t.push(i);var a=t[t.length-1][n];a!==i[n]&&(o=u.clone(i),o[n]=a,t.push(o)),t.push(i)}),t},_prepareSegment:function(e){return x._prepareSegment(this._calculateStepLinePoints(e))},getSeriesPairCoord:function(e,t){for(var n=void 0,i=this._options.rotated,o=!t&&!i||t&&i,a=o?"vy":"vx",r=o?"vx":"vy",s=this.getNearestPointsByCoord(e,t),l=0;l<s.length;l++){var u=s[l],c=t&&e!==u[1][a]?u[0][r]:u[1][r];if(this.checkAxisVisibleAreaCoord(!t,c)){n=c;break}}return n}}),t.chart.spline=m({},x,{_calculateBezierPoints:function(e,t){var n=[],o=e,a=function(e,t,n){return e>t&&n>e||e<t&&n<e?e:n};return 1!==o.length?o.forEach(function(e,r){var s,l,u,c,d,h,p,f,g,_,m,v,y,x,b,w,C,k,S,I=o[r-1],T=o[r+1],D=.5;if(!r||r===o.length-1)return void n.push(e,e);if(d=e.x,h=e.y,p=I.x,f=T.x,g=I.y,_=T.y,m=!!(!t&&(h<=I.y&&h<=T.y||h>=I.y&&h>=T.y)||t&&(d<=I.x&&d<=T.x||d>=I.x&&d>=T.x)))t?(u=s=d,c=(h+T.y)/2,l=(h+I.y)/2):(c=l=h,u=(d+T.x)/2,s=(d+I.x)/2);else{if(x=_-g,b=p-f,w=g*f-p*_,t){if(!x) },h.prototype.eq=function(e){return e=e<0?this.length+e:e,d(this[e])},h.prototype.first=function(){return this.eq(0)},h.prototype.last=function(){return this.eq(-1)},h.prototype.parent=function(e){if(!this[0])return d();var t=d(this[0].parentNode);return!e||t.is(e)?t:d()},h.prototype.parents=function(e){for(var t=[],n=this.parent();n&&n[0]&&!o.isDocument(n[0]);)o.isElementNode(n[0])&&(!e||e&&n.is(e))&&t.push(n.get(0)),n=n.parent();return d(t)},h.prototype.closest=function(e){if(this.is(e))return this;for(var t=this.parent();t&&t.length;){if(t.is(e))return t;t=t.parent()}return d()},h.prototype.next=function(e){if(!this[0])return d();var t=d(this[0].nextSibling);if(!arguments.length)return t;for(;t&&t.length;){if(t.is(e))return t;t=t.next()}return d()},h.prototype.prev=function(){return this[0]?d(this[0].previousSibling):d()},h.prototype.add=function(e){for(var t=d(e),n=this.toArray(),i=0;i<t.length;i++){var o=t[i];n.indexOf(o)===-1&&n.push(o)}return d(n)};var v=[];h.prototype.splice=function(){return d(v.splice.apply(this,arguments))},h.prototype.slice=function(){return d(v.slice.apply(this,arguments))},h.prototype.toArray=function(){return v.slice.call(this)};var y=function(e){return s.isWindow(e)?e:e.defaultView};h.prototype.offset=function(){if(this[0]){if(!this[0].getClientRects().length)return{top:0,left:0};var e=this[0].getBoundingClientRect(),t=y(this[0].ownerDocument),n=this[0].ownerDocument.documentElement;return{top:e.top+t.pageYOffset-n.clientTop,left:e.left+t.pageXOffset-n.clientLeft}}},h.prototype.offsetParent=function(){if(!this[0])return d();for(var e=d(this[0].offsetParent);e[0]&&"static"===e.css("position");)e=d(e[0].offsetParent);return e=e[0]?e:d(o.getDocumentElement())},h.prototype.position=function(){if(this[0]){var e,t=parseFloat(this.css("marginTop")),n=parseFloat(this.css("marginLeft"));if("fixed"===this.css("position"))return e=this[0].getBoundingClientRect(),{top:e.top-t,left:e.left-n};e=this.offset();var i=this.offsetParent(),o={top:0,left:0};return"HTML"!==i[0].nodeName&&(o=i.offset()),o={top:o.top+parseFloat(i.css("borderTopWidth")),left:o.left+parseFloat(i.css("borderLeftWidth"))},{top:e.top-o.top-t,left:e.left-o.left-n}}},[{name:"scrollLeft",offsetProp:"pageXOffset",scrollWindow:function(e,t){e.scrollTo(t,e.pageYOffset)}},{name:"scrollTop",offsetProp:"pageYOffset",scrollWindow:function(e,t){e.scrollTo(e.pageXOffset,t)}}].forEach(function(e){var t=e.name;h.prototype[t]=function(n){if(this[0]){var i=y(this[0]);return void 0===n?i?i[e.offsetProp]:this[0][t]:(i?e.scrollWindow(i,n):this[0][t]=n,this)}}}),h.prototype.data=function(e,t){if(this[0])return arguments.length<2?i.data.call(d,this[0],e):(i.data.call(d,this[0],e,t),this)},h.prototype.removeData=function(e){return this[0]&&i.removeData(this[0],e),this};var x=function(){return d.apply(this,arguments)};Object.defineProperty(x,"fn",{enumerable:!0,configurable:!0,get:function(){return d.fn},set:function(e){d.fn=e}}),e.exports={set:function(e){d=e},get:function(){return x}}},function(e,t,n){var i=["pageX","pageY","screenX","screenY","clientX","clientY"],o=function(e,t){if(t[e]&&!t.touches||!t.touches)return t[e];var n=t.touches.length?t.touches:t.changedTouches;if(n.length)return n[0][e]};e.exports=function(e){i.forEach(function(t){e(t,function(e){return o(t,e)})},this)}},function(e,t,n){var i=n(13).merge,o=n(12),a=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,r={"default":{tagsCount:0,startTags:"",endTags:""},thead:{tagsCount:1,startTags:"<table>",endTags:"</table>"},td:{tagsCount:3,startTags:"<table><tbody><tr>",endTags:"</tr></tbody></table>"},col:{tagsCount:2,startTags:"<table><colgroup>",endTags:"</colgroup></table>"},tr:{tagsCount:2,startTags:"<table><tbody>",endTags:"</tbody></table>"}};r.tbody=r.colgroup=r.caption=r.tfoot=r.thead,r.th=r.td;var s=function(e){if("string"!=typeof e)return null;var t=o.createDocumentFragment(),n=t.appendChild(o.createElement("div")),s=a.exec(e),l=s&&s[1].toLowerCase(),u=r[l]||r.default;n.innerHTML=u.startTags+e+u.endTags;for(var c=0;c<u.tagsCount;c++)n=n.lastChild;return i([],n.childNodes)},l=function(e){var t=a.exec( jsonp:this._jsonp,version:this._version,withCredentials:this._withCredentials,expand:e.expand,requireTotalCount:e.requireTotalCount,deserializeDates:this._deserializeDates,fieldTypes:this._fieldTypes},t=a(e.urlOverride)?e.urlOverride:this._url,a(this._filterToLower)&&(n.filterToLower=this._filterToLower),e.customQueryParams){var i=h.escapeServiceOperationParams(e.customQueryParams,this.version());4===this.version()?t=h.formatFunctionInvocationUrl(t,i):n.params=i}return c(t,n)},_insertImpl:function(e){this._requireKey();var t=this,n=new g;return f(this._sendRequest(this._url,"POST",null,e)).done(function(i){n.resolve(r().useLegacyStoreResult?e:i||e,t.keyOf(i))}).fail(n.reject),n.promise()},_updateImpl:function(e,t){var n=new g;return f(this._sendRequest(this._byKeyUrl(e),this._updateMethod,null,t)).done(function(i){r().useLegacyStoreResult?n.resolve(e,t):n.resolve(i||t,e)}).fail(n.reject),n.promise()},_removeImpl:function(e){var t=new g;return f(this._sendRequest(this._byKeyUrl(e),"DELETE")).done(function(){t.resolve(e)}).fail(t.reject),t.promise()},_convertKey:function(e){var t=e,n=this._fieldTypes,i=this.key()||this._legacyAnonymousKey;if(Array.isArray(i)){t={};for(var o=0;o<i.length;o++){var a=i[o];t[a]=s.convertPrimitiveValue(n[a],e[a])}}else n[i]&&(t=s.convertPrimitiveValue(n[i],e));return t},_byKeyUrl:function(e,t){var n=t?l.formatLocalUrl(this._url):this._url,i=this._convertKey(e);return n+"("+encodeURIComponent(s.serializeKey(i,this._version))+")"}},"odata").include(h.SharedMethods);e.exports=m},function(e,t,n){var i=n(43),o=n(3),a=n(101);n(155);var r=2,s=function(e,t){return i.format("{0}({1})",e,o.map(t||{},function(e,t){return i.format("{0}={1}",t,e)}).join(","))},l=function(e,t){if(!e)return e;var n={};return o.each(e,function(e,i){n[e]=a.serializeValue(i,t)}),n},u={_extractServiceOptions:function(e){e=e||{},this._url=String(e.url).replace(/\/+$/,""),this._beforeSend=e.beforeSend,this._jsonp=e.jsonp,this._version=e.version||r,this._withCredentials=e.withCredentials,this._deserializeDates=e.deserializeDates,this._filterToLower=e.filterToLower},_sendRequest:function(e,t,n,i){return a.sendRequest(this.version(),{url:e,method:t,params:n||{},payload:i},{beforeSend:this._beforeSend,jsonp:this._jsonp,withCredentials:this._withCredentials,deserializeDates:this._deserializeDates})},version:function(){return this._version}};t.SharedMethods=u,t.escapeServiceOperationParams=l,t.formatFunctionInvocationUrl=s},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(2),a=i(o),r=n(131),s=i(r),l=n(110),u=i(l),c=n(16),d=i(c),h=n(27),p=i(h),f=n(10),g=n(6),_=n(1),m=n(3),v=n(0),y=n(7),x=n(5),b=n(76),w=n(15),C=i(w),k=n(18),S=i(k),I=n(46),T=i(I),D=n(4),E=(0,y.getWindow)(),A={text:"OK",onClick:function(){return!0}},O="dx-dialog",B=O+"-wrapper",P=O+"-root",M=O+"-content",R=O+"-message",V=O+"-buttons",F=O+"-button",L="dx-button",H=s.default.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%"}}])}});t.FakeDialogComponent=H,t.title="",t.custom=function(e){function n(){return k.show(),o.promise()}function i(e){o.resolve(e),k.hide().done(function(){k.$element().remove()})}var o=new g.Deferred,r=(new H).option();e=(0,v.extend)(r,e);var s=(0,a.default)("<div>").addClass(O).appendTo((0,b.value)()),l="message"in e,c="messageHtml"in e;l&&S.default.log("W1013");var h=String(c?e.messageHtml:e.message),y=(0,a.default)("<div>").addClass(R).html(h),w=[],C=e.toolbarItems;C?S.default.log("W0001","DevExpress.ui.dialog","toolbarItems","16.2","Use the 'buttons' option instead"):C=e.buttons,(0,m.each)(C||[A],function(){var e=new u.default(this.onClick,{context:k});w.push({toolbar:"bottom",location:d.default.current().android?"after":"center",widget:"dxButton",options:(0,v.extend)({},this,{onClick:function(){var t=e.execute.apply(e,arguments);i(t)}})})});var k=new T.default(s,(0,v.extend)({title:e.title||t.title,showTitle:(0,D.ensureDefined)(e.showTitle,!0),dragEnabled:( this._collapseGroupHandler(t),this.option("focusStateEnabled")&&this.option("focusedElement",l(t.find("."+O).eq(0)))}.bind(this),{validatingTargetName:"element"})({event:e})}.bind(this))},_collapseGroupHandler:function(e,t){var n=new D;if(e.hasClass(H)===t)return n.resolve();var i=e.children("."+F),o=i.outerHeight(),a=0===o?i.height("auto").outerHeight():0;return e.toggleClass(H,t),h.animate(i,{type:"custom",from:{height:o},to:{height:a},duration:200,complete:function(){this.updateDimensions(),this._updateLoadingState(),n.resolve()}.bind(this)}),n.promise()},_dataSourceLoadErrorHandler:function(){this._forgetNextPageLoading(),this._initialized&&(this._renderEmptyMessage(),this._updateLoadingState())},_initMarkup:function(){this._itemElementsCache=i(),this.$element().addClass(A),this.callBase(),this.option("useInkRipple")&&this._renderInkRipple()},_renderInkRipple:function(){this._inkRipple=m.render()},_toggleActiveState:function(e,t,n){this.callBase.apply(this,arguments);var i=this;if(this._inkRipple){var o={element:e,event:n};t?w.isMaterial()?this._inkRippleTimer=setTimeout(function(){i._inkRipple.showWave(o)},q/2):i._inkRipple.showWave(o):(clearTimeout(this._inkRippleTimer),this._inkRipple.hideWave(o))}},_postprocessRenderItem:function(e){this._refreshItemElements(),this.callBase.apply(this,arguments),this.option("onItemSwipe")&&this._attachSwipeEvent(i(e.itemElement))},_attachSwipeEvent:function(e){var t=b.addNamespace(f.end,this.NAME);o.on(e,t,this._itemSwipeEndHandler.bind(this))},_itemSwipeEndHandler:function(e){this._itemDXEventHandler(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=i("<div>").addClass(R).appendTo(this._itemContainer()),o=i("<div>").addClass(V).appendTo(n),a=this.option("groupTemplate"),r=this._getTemplate(t.template||a,t,e,o),s={index:e,itemData:t,container:l(o)};this._createItemByTemplate(r,s),w.isMaterial()&&i("<div>").addClass(z).prependTo(o),this._renderingGroupIndex=e;var c=i("<div>").addClass(F).appendTo(n);u(j(t)||[],function(e,t){this._renderItem(e,t,c)}.bind(this)),this._groupRenderAction({groupElement:l(n),groupIndex:e,groupData:t})},attachGroupHeaderInkRippleEvents:function(){var e=this,t="."+V,n=this.$element();o.on(n,"dxpointerdown",t,function(t){e._toggleActiveState(i(t.currentTarget),!0,t)}),o.on(n,"dxpointerup dxhoverend",t,function(t){e._toggleActiveState(i(t.currentTarget),!1)})},_createGroupRenderAction:function(){this._groupRenderAction=this._createActionByOption("onGroupRendered")},_clean:function(){clearTimeout(this._inkRippleTimer),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(N,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=i("<div>").addClass($),t=i("<div>").appendTo(e);return this._createComponent(t,x,{text:this.option("nextButtonText"),onClick:this._nextButtonHandler.bind(this),type:w.isMaterial()?"default":void 0,integrationOptions:{}}),e},_moveFocus:function(){this.callBase.apply(this,arguments),this.scrollToItem(this.option("focusedElement"))},_refresh:function(){if(C.hasWindow()){var e=this._scrollView.scrollTop();this.callBase(),e&&this._scrollView.scrollTo(e)}else this.callBase()},_optionChanged:function(e){switch(e.name){case"pageLoadMode":this._toggleNextButton(e.value),this._initScrollView();break;case"dataSource":this.callBa return this._tableElement},element:function(){return this._rootElement},headElement:function(){return this._tableElement.find("thead")},_setTableCss:function(e){this.option("rtlEnabled")&&(e.right=e.left,delete e.left),this.tableElement().css(e)},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=o("<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.option("rtlEnabled")?"right":"left",i=e._fakeTable[0];t.style.top===i.style.top&&i.style[n]===t.style[n]?e._fakeTable.addClass("dx-hidden"):e._fakeTable.removeClass("dx-hidden")},_moveFakeTableHorizontally:function(e){var t=this,n=t.option("rtlEnabled"),o=n?"right":"left",a=parseFloat(t.tableElement()[0].style[o]),r=i(e,a,t._tableWidth,t._groupWidth);parseFloat(t._fakeTable[0].style[o])!==r&&(t._fakeTable[0].style[o]=r+"px")},_moveFakeTableTop:function(e){var t=this,n=parseFloat(t.tableElement()[0].style.top),o=i(e,n,t._tableHeight,t._groupHeight);parseFloat(t._fakeTable[0].style.top)!==o&&(t._fakeTable[0].style.top=o+"px")},_moveFakeTable:function(){this._updateFakeTableVisibility()},_createFakeTable:function(){var e=this;e._fakeTable||(e._fakeTable=e.tableElement().clone().addClass("dx-pivot-grid-fake-table").appendTo(e._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=o("<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,i=n._getScrollable();return i&&i.on(e,function(e){n.option("rtlEnabled")&&l(e.scrollOffset.left)&&(e.scrollOffset.left=i.$content().width()-i._container().width()-e.scrollOffset.left),t(e)}),this},off:function(e){var t=this._getScrollable();return t&&t.off(e),this},scrollTo:function(e){var t=this._getScrollable(),n=e;t&&(this.option("rtlEnabled")&&("column"===this._getAreaName()?n=t.$content().width()-t._container().width()-e:"data"===this._getAreaName()&&(n={x:t.$content().width()-t._container().width()-e.x,y:e.y})),t.scrollTo(n),this._virtualContent&&(this._createFakeTable(),this._moveFakeTable(e)))},updateScrollable:function(){var e=this._getScrollable();if(e)return e.update()},getColumnsCount:function(){var e,t=0,n=this._getRowElement(0);if(n){e=n.cells;for(var i=0,o=e.length;i<o;++i)t+=e[i].colSpan}return t},getData:function(){var e=this._tableElement;return e?e.data("data"):[]}})},function(e,t,n){function i(e,t){var n=t;return c(t.groupIndex)&&(n=e.getAreaFields(t.area,!0)[t.areaIndex]),n}function o(e){return e=e||{},JSON.stringify([e.fields,e.columnExpandedPaths,e.rowExpandedPaths])}var a=n(2),r=n(5),s=n(68),l=n(19),u=n(4).noop,c=n(1).isDefined,d=n(13).inArray,h=n(0).extend,p=n(3),f=n(15),g=n(8),_=n(17),m=n(355),v=n(327),y=n(332),x=n(79),b=n(681),w=n(6).Deferred,C=p.each,k=1,S="<div>",I=m.HeaderFilterView.inherit({_getSearchExpr:function(e){return e.useDefaultSearchExpr=!0,this.callBase(e)}}),T=function(e,t){var n=[],i=!!t.groupName,o="exclude"===t.filterType;t.filterValues&&C(t.filterValues,function(e,t){n.push(Array.isArray(t)?t.join("/"):t&&t.valueOf())}),x.foreachTree(e,function(e){var t,a=e[0],r=x.createPa var t=this.instance.fire("getMaxAppointmentsPerCell"),n=this._getOffsets(),i=this._getAppointmentDefaultOffset(),o=this._getAppointmentCount(t,e),a=this._getDefaultRatio(e,o),r=this._getMaxHeight();(0,_.isNumeric)(o)||(o=e.count,a=(r-n.unlimited)/r);var s=(1-a)*r;return("auto"===t||(0,_.isNumeric)(t))&&(a=1,r-=i,s=i),{height:a*r,appointmentCountPerCell:o,offset:s}},_getAppointmentCount:l.noop,_getDefaultRatio:l.noop,_getOffsets:l.noop,_getMaxHeight:l.noop,_needVerifyItemSize:function(){return!1},needSeparateAppointment:function(e){return this.instance.fire("isGroupedByDate")&&e},_getMaxAppointmentCountPerCell:function(){if(!this._maxAppointmentCountPerCell){var e,t=this.instance.fire("getMaxAppointmentsPerCell");t||(e=2),(0,_.isNumeric)(t)&&(e=t),"auto"===t&&(e=this._getDynamicAppointmentCountPerCell()),"unlimited"===t&&(e=void 0),this._maxAppointmentCountPerCell=e}return this._maxAppointmentCountPerCell},_getDynamicAppointmentCountPerCell:function(){return this.getPositioningStrategy().getDynamicAppointmentCountPerCell()},hasAllDayAppointments:function(){return!1},_isCompactTheme:function(){return"compact"===(y.default.current()||"").split(".").pop()},_getAppointmentDefaultOffset:function(){return this.getPositioningStrategy().getAppointmentDefaultOffset()},_getAppointmentDefaultHeight:function(){return this._getAppointmentHeightByTheme()},_getAppointmentMinHeight:function(){return this._getAppointmentDefaultHeight()},_getAppointmentHeightByTheme:function(){return this._isCompactTheme()?S:k},_getAppointmentDefaultWidth:function(){return this.getPositioningStrategy()._getAppointmentDefaultWidth()},_getAppointmentMinWidth:function(){return this._getAppointmentDefaultWidth()},_needVerticalGroupBounds:function(){return!1},_needHorizontalGroupBounds:function(){return!1}});e.exports=T},function(e,t,n){var i=n(202),o=n(182),a=n(1),r=n(7),s={widget:"separator"},l={SMALL_SELECT:"dx-diagram-select-sm",BUTTON_SELECT:"dx-diagram-select-b",BUTTON_COLOR:"dx-diagram-color-b"},u={getToolbar:function(){var e=this,t=(0,i.getDiagram)(),n=t.DiagramCommand;return[{command:n.Undo,hint:"Undo",icon:"undo",text:"Undo"},{command:n.Redo,hint:"Redo",icon:"redo",text:"Redo"},s,{command:n.FontName,beginGroup:!0,widget:"dxSelectBox",items:["Arial","Arial Black","Helvetica","Times New Roman","Courier New","Courier","Verdana","Georgia","Comic Sans MS","Trebuchet MS"]},{command:n.FontSize,widget:"dxSelectBox",items:["8pt","9pt","10pt","11pt","12pt","14pt","16pt","18pt","20pt","22pt","24pt","26pt","28pt","36pt","48pt","72pt"],cssClass:l.SMALL_SELECT},s,{command:n.Bold,hint:"Bold",text:"Bold",icon:"bold"},{command:n.Italic,hint:"Italic",text:"Italic",icon:"italic"},{command:n.Underline,hint:"Underline",text:"Underline",icon:"underline"},s,{command:n.FontColor,text:"Text Color",widget:"dxColorBox",icon:"dx-icon dx-icon-color",cssClass:l.BUTTON_COLOR},{command:n.StrokeColor,text:"Line Color",widget:"dxColorBox",icon:"dx-icon dx-icon-background",cssClass:l.BUTTON_COLOR},{command:n.FillColor,text:"Fill Color",widget:"dxColorBox",icon:"dx-diagram-i dx-diagram-i-button-fill",cssClass:l.BUTTON_COLOR},s,{command:n.TextLeftAlign,hint:"Align Left",text:"Align Left",icon:"alignleft",beginGroup:!0},{command:n.TextCenterAlign,hint:"Align Center",text:"Center",icon:"aligncenter"},{command:n.TextRightAlign,hint:"Align Right",text:"Align Right",icon:"alignright"},s,{command:n.ConnectorLineOption,widget:"dxSelectBox",hint:"Line Type",items:[{value:0,icon:"dx-diagram-i-connector-straight dx-diagram-i",hint:"Straight"},{value:1,icon:"dx-diagram-i-connector-orthogonal dx-diagram-i",hint:"Orthogonal"}],displayExpr:"name",valueExpr:"value",cssClass:l.BUTTON_SELECT},{command:n.ConnectorStartLineEnding,widget:"dxSelectBox",items:[{value:0,icon:"dx-diagram-i-connector-begin-none dx-diagram-i",hint:"None"},{value:1,icon:"dx-diagram-i-connector-begin-arrow dx-diagram-i",hint:"Arrow"}],displayExpr:"name",valueExpr:"value",hint:"Line Start",cssClass:l.BUTTON_SELECT},{command:n.ConnectorEndLineEnding,widget:"dxSelectBox",items:[{value:0,icon:"dx-diagram-i-connector-end-none dx-diagra },getAccentColor:function(e){return l.getAccentColor(e,this._defaultPalette)},_initializeTheme:function(){var e=this;_(e._fontFields||[],function(t,n){e._initializeFont(i(e._theme,n))})},_initializeFont:function(e){g(e,this._font,g({},e))}})},function(e,t,n){function i(e){this._options=e}function o(e,t){this._renderElement=e,this._cacheBBox=t}var a=n(4).noop,r=Math.round,s=n(48),l={horizontal:0,vertical:0},u={center:.5,right:1,bottom:1,left:0,top:0};i.prototype={constructor:i,position:function(e){var t=this,n=e.of.getLayoutOptions(),i=t.getLayoutOptions(),o=e.at,a=e.my,s=e.offset||l,c=-u[a.horizontal]*i.width+n.x+u[o.horizontal]*n.width+parseInt(s.horizontal),d=-u[a.vertical]*i.height+n.y+u[o.vertical]*n.height+parseInt(s.vertical);t.shift(r(c),r(d))},getLayoutOptions:a};var c=o.prototype=s.clone(i.prototype);c.constructor=o,c.getLayoutOptions=function(){return this._cacheBBox||this._renderElement.getBBox()},c.shift=function(e,t){var n=this.getLayoutOptions();this._renderElement.move(r(e-n.x),r(t-n.y))},t.LayoutElement=i,t.WrapperLayoutElement=o},function(e,t,n){function i(e,t,n,i){i>=0&&e.slice(i).forEach(function(e){Y(e[n])&&(t[n]+=e[n],e[n]=void 0)})}function o(e){e.forEach(function(e){e.valueType=e.valueAxisType=null,e.series.forEach(function(e){e.updateDataType({})}),e.valueAxis&&e.valueAxis.resetTypes(G)})}function a(e,t,n){var i=t?function(e,t){return e-t}:function(e,t){return t-e};return e.sort(function(e,t){var o=n(e),a=n(t),r=Y(o)?1:0,s=Y(a)?1:0;return r&&s?i(o,a):i(r,s)}),e}function r(e){e&&e.forEach(function(e){e.resetTypes(q)})}function s(e,t){var n=[];return e.forEach(function(e){var i=t(e);void 0!==i&&n.push(i)}),n}function l(e,t){var n=e.argumentOptions&&e.argumentOptions.categories;e.groups.forEach(function(e,n){var i=e.valueOptions&&e.valueOptions.categories;i&&(e.valueOptions.categories=s(i,t[n+1]))}),n&&(e.argumentOptions.categories=s(n,t[0]))}function u(e,t,n){return e<=0&&null!==e&&(n("E2004",[t]),e=null),e}function c(e){return e}function d(e,t){var n=t;return t===F||Q(e)?n=F:t===H||J(e)?n=H:ee(e)&&(n=L),n}function h(e,t,n,i){return e!==F||t!==$&&t!==W&&t!==N||i("E2002"),t===W?W:n||t===z||e===F?z:t===N?N:$}function p(e,t,n){e&&n(ee(e)||J(e)||Q(e)?"E2004":"E2003",[t])}function f(e,t,n,i){var o=e?U(e):c,a=t===W?u:c,r=t!==z?function(e){return isFinite(e)||void 0===e?e:null}:c,s=n?function(e){return null===e?void 0:e}:c;return function(e,t){var n=function(e){return a(e,t,i)},l=s(n(r(o(e))));return void 0===l&&p(e,t,i),l}}function g(e,t){var n,i,o,a=f(e.argumentType,e.argumentAxisType,!1,t),r=[a],s={},u=[];e.groups.forEach(function(e,l){e.series.forEach(function(u){o=u.getOptions().ignoreEmptyPoints,i=f(e.valueType,e.valueAxisType,o,t),n=f(L,$,o,t),s[u.getArgumentField()]=a,u.getValueFields().forEach(function(e){r[l+1]=i,s[e]=i}),u.getSizeField()&&(s[u.getSizeField()]=n)})});for(var c in s)u.push([c,s[c]]);return u.length&&l(e,r),u}function _(e,t){var n,i,o,a=t.length,r=j({},e);for(n=0;n<a;++n)i=t[n][0],o=e[i],r[i]=t[n][1](o,i);return r}function m(e,t){var n,i=[],o=e.length;for(i.length=o,n=0;n<o;++n)i[n]=_(e[n],t);return i}function v(e,t,n){var i,o,a=e.length;for(i=0;i<a&&(o=e[i][t],!(Y(o)&&n>o));++i);return i}function y(e,t,n,o){o=o||{};var r,s=o.mode,l={};s&&"none"!==s&&(l[t]=String(o.groupName||"others"),l[n]=0,r=a(e.slice(),!1,function(e){return e[n]}),i(r,l,n,"smallValueThreshold"===s?v(r,n,o.threshold):o.topCount),l[n]&&e.push(l))}function x(e,t){var n=t.groups[0]&&t.groups[0].series[0],i=n&&("pie"===n.type||"doughnut"===n.type||"donut"===n.type);i&&t.groups.forEach(function(t){t.series.forEach(function(t){y(e,t.getArgumentField(),t.getValueFields()[0],t.getOptions().smallValuesGrouping)})})}function b(e,t,n){n[e]||(t.push(e),n[e]=!0)}function w(e){var t=[],n={};return e.groups.forEach(function(e){e.series.forEach(function(e){b(e.getArgumentField(),t,n)})}),t}function C(e,t){var n=e-t;return isNaN(n)?Y(e)?Y(t)?0:-1:1:n}function k(e,t){return e.slice().sort(function(e,n){return C(e[t],n[t])})}function S(e,t){return e.slice().sort(t)}function I(e,t){return e.series.forEach(function(n){n.getValueFie this._text.data({"chart-data-point":e}),this._background&&this._background.data({"chart-data-point":e})},hideInsideLabel:function(e){return this._point.hideInsideLabel(this,e)},getPoint:function(){return this._point},shift:function(e,t){var n=this;return n._textContent&&(n._insideGroup.attr({translateX:n._x=_(e-n._bBox.x),translateY:n._y=_(t-n._bBox.y)}),n._connector&&n._connector.attr({points:n._getConnectorPoints()})),n},getBoundingRect:function(){return this._shiftBBox(this._bBox)},_shiftBBox:function(e){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,connectorOffset:(l(e.connector)?y:0)+(s(e.background)?x:0)}}},t.Label=c},function(e,t,n){function i(e,t,n){e.min=e.min<t?e.min:t,e.max=e.max>n?e.max:n}function o(e,t){return e===_?function(e,t,n){t!==n&&e.categories.push(n),e.categories.push(t)}:t?function(e,n){var o=t.calculateInterval(n,e.prevValue),a=e.interval;e.interval=(a<o?a:o)||a,e.prevValue=n,i(e,n,n)}:i}function a(e,t,n){var i={axisType:e,dataType:t};return e===_?i.categories=[]:(i.min=n,i.max=n),i}function r(e){e.categories&&(e.categories=h(e.categories))}function s(e,t,n){if(t&&f(t.value)){var i=e.value,o=t.value,a=e.argument,r=t.argument;return(n-a)*(o-i)/(r-a)+i}return e.value}function l(e,t,n,i,o){var a=s(n,i,o);e(t,a,a)}function u(e){return e.type.toLowerCase().indexOf("line")>=0||e.type.toLowerCase().indexOf("area")>=0}function c(t){var n,i=o(t.valueAxisType),a=t.getArgumentAxis(),r=a&&t.getArgumentAxis().visualRange()||{},s=u(t)?l:g;if(a&&a.getMarginOptions().checkInterval){var c=t.getArgumentAxis().getTranslator().getBusinessRange(),d=p(c,!1),h=c.interval;isFinite(h)&&f(r.startValue)&&f(r.endValue)&&(r.startValue=d(r.startValue,h,-1),r.endValue=d(r.endValue,h))}return n=e.exports.getViewPortFilter(r),function(e,t,o,a){var l=t.argument;return t.hasValue()?(n(l)?(e.startCalc||(e.startCalc=!0,s(i,e,t,a[o-1],r.startValue)),i(e,t.getMinValue(),t.getMaxValue())):!r.categories&&f(r.startValue)&&l>r.startValue&&(e.startCalc||s(i,e,t,a[o-1],r.startValue),e.endCalc=!0,s(i,e,t,a[o-1],r.endValue)),e):e}}var d=n(11),h=d.unique,p=d.getAddFunction,f=n(1).isDefined,g=n(4).noop,_="discrete";e.exports={getViewPortFilter:function(e){if(e.categories){var t=e.categories.reduce(function(e,t){return e[t.valueOf()]=!0,e},{});return function(e){return t[e.valueOf()]}}return f(e.startValue)||f(e.endValue)?f(e.endValue)?f(e.startValue)?function(t){return t>=e.startValue&&t<=e.endValue}:function(t){return t<=e.endValue}:function(t){return t>=e.startValue}:function(){return!0}},getArgumentRange:function(e){var t=e._data||[],n={};if(t.length)if(e.argumentAxisType===_)n={categories:t.map(function(e){return e.argument})};else{var i=void 0;if(t.length>1){var o=e.getArgumentAxis().calculateInterval(t[0].argument,t[1].argument),a=e.getArgumentAxis().calculateInterval(t[t.length-1].argument,t[t.length-2].argument);i=Math.min(o,a)}n={min:t[0].argument,max:t[t.length-1].argument,interval:i}}return n},getRangeData:function(e){var t=e.getPoints(),n=e.useAggregation(),i=o(e.argumentAxisType,t.length>1&&e.getArgumentAxis()),s=o(e.valueAxisType),l=c(e),u=t.reduce(function(e,t,n,o){var a=t.argument;return i(e.arg,a,a),t.hasValue()&&(s(e.val,t.getMinValue(),t.getMaxValue()),l(e.viewport,t,n,o)),e},{arg:a(e.argumentAxisType,e.argumentType,t.length?t[0].argument:void 0),val:a(e.valueAxisType,e.valueType,t.length?e.getValueRangeInitialValue():void 0),viewport:a(e.valueAxisType,e.valueType,t.length?e.getValueRangeInitialValue():void 0)});if(n){var d=this.getArgumentRange(e);if(e.argumentAxisType===_)u.arg=d;else{var h=e.getArgumentAxis().getViewport();(f(h.startValue)||f(h.length))&&i(u.arg,d.min,d.min),(f(h.endValue)||f(h.length)&&f(h.startValue))&&i(u.arg,d.max,d.max)}}return r(u.arg),r(u.val),u},getViewport:function(e){var t,n=e.getPoints(),i={};return t=c(e),i=a(e.valueAxisType,e.valueType void 0===x&&void 0===b||(void 0!==x&&(g=I*x),void 0!==b&&(_=I*b));var T=void 0,D=void 0;if(r.type!==O.default.discrete&&e&&e.length>1&&!r.skipViewportExtending&&!l.action&&r.endOnTick!==!1){var A=e.length,B=h.translate(e[0].value),P=h.translate(e[A-1].value),M=B>P?-1:1,R=re(M*(k.start-B),0),V=re(M*(P-k.end),0);if(R>g||V>_){var F=V+R,L=t(F);R>=g&&(T=e[0].value),V>=_&&(D=e[A-1].value),g=re(R,g)/L,_=re(V,_)/L}}return x=void 0===x?g/I:x,b=void 0===b?_/I:b,c||(this._translator.isInverted()?(T=(0,E.isDefined)(T)?T:h.from(k.start+u*x,-1),D=(0,E.isDefined)(D)?D:h.from(k.end-u*b,1)):(T=(0,E.isDefined)(T)?T:h.from(k.start-u*x,-1),D=(0,E.isDefined)(D)?D:h.from(k.end+u*b,1))),i.isArgumentAxis||(T*s.min<=0&&T*s.minVisible<=0&&(n(h.translate(0),h.translate(D)),T=0),D*s.max<=0&&D*s.maxVisible<=0&&(n(h.translate(T),h.translate(0)),D=0)),{startPadding:this._translator.isInverted()?_:g,endPadding:this._translator.isInverted()?g:_,minValue:T,maxValue:D,interval:v,isSpacedMargin:g===_&&0!==g}},applyMargins:function(){if(!this._isSynchronized){var e=this._calculateValueMargins(this._majorTicks),t=(0,B.extend)({},this._canvas,{startPadding:e.startPadding,endPadding:e.endPadding});if(this._translator.updateCanvas(this._processCanvas(t)),isFinite(e.interval)){var n=this._translator.getBusinessRange();n.addRange({interval:e.interval}),this._translator.updateBusinessRange(n)}}},_resetMargins:function(){this._reinitTranslator(this._getViewportRange()),this._canvas&&this._translator.updateCanvas(this._processCanvas(this._canvas))},_createConstantLines:function(){var e=this,t=(this._options.constantLines||[]).map(function(t){return(0,Q.default)(e,t)});this._outsideConstantLines=t.filter(function(e){return"outside"===e.labelPosition}),this._insideConstantLines=t.filter(function(e){return"inside"===e.labelPosition})},draw:function(e,t){var n=this,i=this._options;n.borderOptions=t||{visible:!1},n._resetMargins(),n.createTicks(e),n.applyMargins(),n._clearAxisGroups(),c(n._majorTicks),c(n._minorTicks),c(n._boundaryTicks),n._axisGroup.append(n._axesContainerGroup),n._drawAxis(),n._drawTitle(),d(n._majorTicks,i.tick),d(n._minorTicks,i.minorTick),d(n._boundaryTicks,i.tick);var o=n._getGridLineDrawer();h(n._majorTicks,o),h(n._minorTicks,o),u(n._majorTicks,"drawLabel",n._getViewportRange()),n._majorTicks.forEach(function(e){e.labelRotationAngle=0,e.labelAlignment=void 0,e.labelOffset=0}),u(n._outsideConstantLines.concat(n._insideConstantLines),"draw"),u(n._strips,"draw"),n._dateMarkers=n._drawDateMarkers()||[],n._labelAxesGroup&&n._axisStripLabelGroup.append(n._labelAxesGroup),n._gridContainerGroup&&n._axisGridGroup.append(n._gridContainerGroup),n._stripsGroup&&n._axisStripGroup.append(n._stripsGroup),n._constantLinesGroup&&(n._axisConstantLineGroups.above.inside.append(n._constantLinesGroup.above),n._axisConstantLineGroups.above.outside1.append(n._constantLinesGroup.above),n._axisConstantLineGroups.above.outside2.append(n._constantLinesGroup.above),n._axisConstantLineGroups.under.inside.append(n._constantLinesGroup.under),n._axisConstantLineGroups.under.outside1.append(n._constantLinesGroup.under),n._axisConstantLineGroups.under.outside2.append(n._constantLinesGroup.under)),n._measureTitle(),g(n._majorTicks);var a=void 0,r=void 0,s=void 0,l=n._tickInterval;(0,E.isDefined)(l)&&(s=n.getTranslator().getInterval("datetime"===i.dataType?(0,q.dateToMilliseconds)(l):l)),n._isHorizontal?(a=s,r=i.placeholderSize):(a=i.placeholderSize,r=s);var p=n._validateDisplayMode(i.label.displayMode),f=n._validateOverlappingMode(i.label.overlappingBehavior,p),_=i.label.wordWrap||"none",m=i.label.textOverflow||"none";if(("none"!==_||"none"!==m)&&p!==ye&&f!==ye&&"auto"!==f){var v=!1,y=!1;a&&n._majorTicks.some(function(e){return e.labelBBox.width>a})&&(v=!0),r&&n._majorTicks.some(function(e){return e.labelBBox.height>r})&&(y=!0),(v||y)&&(n._majorTicks.forEach(function(e){e.label&&e.label.setMaxSize(a,r,i.label)}),g(n._majorTicks))}g(n._outsideConstantLines),g(n._insideConstantLines),g(n._strips),g(n._dateMarkers),n._adjustConstantLineLabels(n._insideConstantLines),n._adjustStripLab },_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=g,t.BaseIndicator=_,t.BaseTextCloudMarker=v,t.BaseRangeBar=y},function(e,t,n){var i=n(11).patchFontOptions;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:i(e.font)}}},function(e,t,n){function i(e){this._initHandlers(e)}function o(e,t){var n=t.getData(e);n>=0&&t.click({node:t.getNode(n),coords:t.getCoords(e),event:e})}function a(e,t){var n=t.getData(e);n>=0?t.getNode(n).setHover():t.widget.clearHover()}function r(e,t){var n,i=t.getData(e,!0);i>=0?(n=s(e),t.getNode(i).showTooltip([n.x,n.y])):t.widget.hideTooltip()}var s=n(9).eventData,l=n(12),u=n(19).name,c=n(24).down,d=n(24).move,h=n(5);i.prototype={constructor:i,_initHandlers:function(e){function t(t){o(t,e)}function n(t){f?f=!1:(void 0!==e.getData(t)&&(f=!0),i(t))}function i(t){a(t,e),e.widget._getOption("tooltip").enabled&&r(t,e)}var p=l.getDocument();e.getCoords=function(t){var n=s(t),i=e.widget._renderer.getRootOffset();return[n.x-i.left,n.y-i.top]},e.root.on(u,t),e.root.on(c,n),h.on(p,c,n),h.on(p,d,i),this._disposeHandlers=function(){e.root.off(u,t),e.root.off(c,n),h.off(p,c,n),h.off(p,d,i)};var f=!1},dispose:function(){this._disposeHandlers()}},e.exports.Tracker=i},function(e,t,n){function i(e){return e.split(",").slice(1).map(function(e){return e.split("").filter(function(e){return"#"===e||"0"===e}).length})}function o(e){var t=e.split(";");return 1===t.length&&t.push("-"+t[0]),t}function a(e){return e.toString().split("").reverse().join("")}function r(e){return e.indexOf("%")!==-1&&!e.match(/'[^']*%[^']*'/g)}function s(e){return e?e.length-e.replace(/[#]/g,"").length:0}function l(e){return e?e.length-e.replace(/[0]/g,"").length:0}function u(e,t,n){if(!e)return"";for(e.length>n&&(e=e.substr(0,n));e.length>t&&"0"===e.slice(-1);)e=e.substr(0,e.length-1);for(;e.length<t;)e+="0";return e}function c(e,t,n){if(!t.length)return e;for(var i=[],o=0;e;){var a=t[o];i.push(e.slice(0,a)),e=e.slice(a),o<t.length-1&&o++}return i.join(n)}function d(e,t){return e.split(x).map(function(e,n){var i=n%2;return!e&&i?x:i?e:e.replace(/[,#0]+/,t)}).join("")}function h(e){for(var t=!1,n=0;n<e.length;n++)if("'"===e[n]&&(t=!t),"."===e[n]&&!t)return n;return e.length}function p(e,t){return t=t||y,function(n){if("number"!=typeof n||isNaN(n))return"";var p=o(e),f=1/n===1/0,g=n>0||f,_=p[g?0:1];r(_)&&(n=100*n),g||(n=-n);var m=h(_),y=[_.substr(0,m),_.substr(m+1)],x=l(y[1]),w=x+s(y[1]),C=l(y[0]),k=s(y[0])?void 0:C,S=Math.floor(n).toString().length,I=v(w,0,b-S),T=i(y[0]).reverse(),D=n.toFixed(I<0?0: this._alignCenterSection(t,n,e);var o=this._$toolbarItemsContainer.find(I).eq(0),a=o.parent();if(o.length){var r=t.width?t.width:o.position().left,s=a.hasClass(g)?0:r,l=a.hasClass(m)?0:n.width,u=0;a.children().not(I).each(function(){u+=i(this).outerWidth()});var c=e-u,d=Math.max(c-s-l,0);if(a.hasClass(g))this._alignSection(this._$beforeSection,d);else{var h=o.outerWidth()-o.width();o.css("maxWidth",d-h)}}},_alignCenterSection:function(e,t,n){this._alignSection(this._$centerSection,n-e.width-t.width);var i=this.option("rtlEnabled"),o=i?t:e,a=i?e:t,r=this._$centerSection.get(0).getBoundingClientRect();(o.right>r.left||r.right>a.left)&&this._$centerSection.css({marginLeft:o.width,marginRight:a.width,"float":o.width>a.width?"none":"right"})},_alignSection:function(e,t){var n=e.find(I),i=n.toArray();t-=this._getCurrentLabelsPaddings(i);var o=this._getCurrentLabelsWidth(i),a=Math.abs(o-t);t<o?(i=i.reverse(),this._alignSectionLabels(i,a,!1)):this._alignSectionLabels(i,a,!0)},_alignSectionLabels:function(e,t,n){for(var o=function(e){return e.getBoundingClientRect().width},a=0;a<e.length;a++){var r,s=i(e[a]),l=Math.ceil(o(e[a]));n&&s.css("maxWidth","inherit");var u=Math.ceil(n?o(e[a]):l);if(!(u<t)){r=n?l+t:l-t,s.css("maxWidth",r);break}r=n?u:0,t-=u,s.css("maxWidth",r)}},_applyCompactMode:function(){var e=this.$element();e.removeClass(S),this.option("compactMode")&&this._getSummaryItemsWidth(this.itemElements(),!0)>e.width()&&e.addClass(S)},_getCurrentLabelsWidth:function(e){var t=0;return e.forEach(function(e,n){t+=i(e).outerWidth()}),t},_getCurrentLabelsPaddings:function(e){var t=0;return e.forEach(function(e,n){t+=i(e).outerWidth()-i(e).width()}),t},_renderItem:function(e,t,n,i){var o=t.location||"center",a=n||this["_$"+o+"Section"],r=!(!t.text&&!t.html),s=this.callBase(e,t,a,i);return s.toggleClass(this._buttonClass(),!r).toggleClass(b,r).addClass(t.cssClass),s},_renderGroupedItems:function(){var e=this;c(this.option("items"),function(t,n){var o=n.items,a=i("<div>").addClass(k),r=n.location||"center";o&&o.length&&(c(o,function(t,n){e._renderItem(t,n,a,null)}),e._$toolbarItemsContainer.find(".dx-toolbar-"+r).append(a))})},_renderItems:function(e){var t=this.option("grouped")&&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(y,0===e.length),this._renderedItemsCount?this._renderItems(e.slice(this._renderedItemsCount)):this._renderItems(e),this._applyCompactMode()},_renderEmptyMessage:a.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 l(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":case"useFlatButtons":case"useDefaultButtons":this._invalidate();break;case"compactMode":this._applyCompactMode();break;case"grouped":break;default:this.callBase.apply(this,arguments)}}});s("dxToolbarBase",A),e.exports=A},function(e,t,n){var i=n(2),o=n(110),a=n(76),r=n(0).extend,s=n(1).isPlainObject,l=n(288),u=null,c=function(e,t,n){var c=s(e)?e:{message:e},d=c.onHidden;r(c,{type:t,displayTime:n,onHidden:function(e){i(e.element).remove(),new o(d,{context:e.model}).execute(arguments)}}),u=i("<div>").appendTo(a.value()),new l(u,c).show()};e.exports=c},function(e,t,n){var i=n(2),o=n(7).getWindow(),a=n(12),r=n(5),s=n(47).add,l=n(4),u=n(1),c=n(0).extend,d=n(13).inArray,h=n(24),p=n(8),f=n(58),g=n(30),_="dx-toast",m=_+"-",v=m+"wrapper",y=m+"content",x=m+"message",b=m+"icon",w="dxToast",C=["info","warning","error","success"],k=[],S=8e3,I=null,T={top:{my:"top",at:"top",of:null,offset:"0 0"},bottom:{my:"bottom",at:"bottom",of:null,offset:"0 -20"},center:{my:"center",a e[n]*=i._getScaleRatio()}}return e},_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 Y(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[R]=e,this._validDirections[M]=e},_eachScroller:function(e){e=e.bind(this),h.each(this._scrollers,function(t,n){e(n,t)})},handleStart:function(e){this._eventForUserAction=e,this._eventHandler("start").done(this._startAction)},_saveActive:function(){o=this},_resetActive:function(){o===this&&(o=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[R],e.y*=this._validDirections[M]},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(){this._scrollAction()},_attachKeyboardHandler:function(){s.off(this._$element,"."+E),!this.option("disabled")&&this.option("useKeyboard")&&s.on(this._$element,v.addNamespace("keydown",E),this._keyDownHandler.bind(this))},_keyDownHandler:function(e){if(this._$container.is(r.getActiveElement())){var t=!0;switch(v.normalizeKeyName(e)){case j.DOWN:this._scrollByLine({y:1});break;case j.UP:this._scrollByLine({y:-1});break;case j.RIGHT:this._scrollByLine({x:1});break;case j.LEFT:this._scrollByLine({x:-1});break;case j.PAGE_DOWN:this._scrollByPage(1);break;case j.PAGE_UP:this._scrollByPage(-1);break;case j.HOME:this._scrollToHome();break;case j.END:this._scrollToEnd();break;default:t=!1}t&&(e.stopPropagation(),e.preventDefault())}},_scrollByLine:function(e){this.scrollBy({top:(e.y||0)*-z,left:(e.x||0)*-z})},_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"},_getPropByDirection:function(e){return e===R?"left":"top"},_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._scrollAction=this._createActionHandler("onScroll"),this._bounceAction=this._createActionHandler("onBounce"),this._eventHandler("createActions",{scroll:this._scrollAction,bounce:this._bounceAction})},_createActionHandler:function(e){var t=this,n=t._createActionByOption(e);return function(){n(c(t._createActionArgs(),arguments))}},_createActionArgs:function(){var e=this._scrollers[R],t=this._scrollers[M],n=this.location();return this._scrollOffset={top:t&&-n.top,left:e&&-n.left},{event:this._eventForUserAction,scrollOffset:this._scrollOffset,reachedLeft:e&&e._reachedMax(),reachedRight:e&&e._reachedMin(),reachedTop:t&&t._reachedMax(),reachedBottom:t&&t._reachedMin()}},_eventHandler:function(e){var t=[].slice.call(arguments).slice(1),n=h.map(this._scrollers,function(n){return n["_"+e+"Handler"].apply(n, this._move({left:n.left+t.x,top:n.top+t.y}),this._getAction("onDrag")({event:e})},_dragEndHandler:function(e){this._toggleDraggingClass(!1),this._getAction("onDragEnd")({event:e})},_getAction:function(e){return this["_"+e+"Action"]||this._createActionByOption(e)},_render:function(){this.callBase(),this.$element().addClass(C)},_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()}});s(v,S),e.exports=S},function(e,t,n){var i=n(243),o=n(193),a=n(22),r=n(4),s=n(1).isFunction,l=n(0).extend,u=n(15),c=o.inherit({NAME:"Calendar",supportedKeys:function(){return{rightArrow:function(){if(this.option("opened"))return!0},leftArrow:function(){if(this.option("opened"))return!0},enter: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,e),this.dateBox.close(),this.dateBox._valueChangeEventHandler(e)}else this.dateBox._valueChangeEventHandler(e)}.bind(this)}},getDisplayFormat:function(e){return e||"shortdate"},_getWidgetName:function(){return i},_getWidgetOptions:function(){var e=this.dateBox.option("disabledDates");return l(this.dateBox.option("calendarOptions"),{value:this.dateBoxValue()||null,dateSerializationFormat:null,_keyboardProcessor:this._widgetKeyboardProcessor,min:this.dateBox.dateOption("min"),max:this.dateBox.dateOption("max"),onValueChanged:this._valueChangedHandler.bind(this),onCellClick:this._cellClickHandler.bind(this),tabIndex:null,disabledDates:s(e)?this._injectComponent(e.bind(this.dateBox)):e,onContouredChanged:this._refreshActiveDescendant.bind(this),hasFocus:function(){return!0}})},_injectComponent:function(e){var t=this;return function(n){return l(n,{component:t.dateBox}),e(n)}},_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?r.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:function(){this._widget._toTodayView()}.bind(this),text:u.format("dxCalendar-todayButtonText"),type:"today"}}),l(!0,e,{toolbarItems:t,position:{collision:"flipfit flip"}})},_valueChangedHandler:function(e){var t=this.dateBox,n=e.value,i=e.previousValue;a.sameDate(n,i)||"instantly"===t.option("applyValueMode")&&this.dateBoxValue(this.getValue(),e.event)},_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue())},textChangedHandler:function(){this.dateBox.option("opened")&&this._widget&&this._updateValue(!0)},_cellClickHandler:function(e){var t=this.dateBox;"instantly"===t.option("applyValueMode")&&(t.option("opened",!1),this.dateBoxValue(this.getValue(),e.event))}});e.exports=c},function(e,t,n){e.exports=n(304)},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(2),a=i(o),r=n(5),s=i(r),l=n(1),u=i(l),c=n(10),d=n(8),h=i(d),p=n(0),f=n(17),g=i(f),_=n(111),m=i(_),v=n(7),y=n(538),x=i(y),b=n(539),w=i(b),C=n(540),k=i(C),S=n(194),I=n(19),T=i(I),D=n(39),E=i(D),A=n(6),O="dx-drawer",B="dx-drawer-wrapper",P="dx-drawer-panel-content",M="dx-drawer-content",R="dx-drawer-shader",V="dx-state-invisible",F="dx-drawer-opened",L="content",H=g.default.inherit({_getDefaultOptions:function(){return(0,p.extend)(this.callBase(),{position:"left",opened:!1,minSize:null,maxSize:null,shading:!1,template:"panel",openedStateMode:"shrink",revealMode:"slide",animationEnabled:!0,animationDuration:400,closeOnOutsideClick:!1,contentTemplate:"content",target:void 0})},_getAnonymousTemplateName:function(){return L},_init:function(){this.c c(e)&&!n&&(this._deferredItems[e].resolve(),u.triggerResizeEvent(t))},_refreshItem:function(e,t){this.callBase(e,t),this._updateItemsVisibility(this.option("selectedIndex"))},_setAriaSelected:l,_updateSelection:function(e,t){var n=e[0],i=t[0];T.complete(this._$itemContainer),this._updateItems(i,n);var o=this._animationDirection(n,i);this._animateItemContainer(o*this._itemWidth(),function(){I.move(this._$itemContainer,0),this._updateItems(n),this._$itemContainer.width()}.bind(this))},_animateItemContainer:function(e,t){var n=this.option("animationEnabled")?C:0;T.moveTo(this._$itemContainer,e,n,t)},_animationDirection:function(e,t){var n=S(this._$itemContainer),i=(t-e)*this._getRTLSignCorrection()*this._getItemFocusLoopSignCorrection(),o=0!==n,a=o?n:i;return r.sign(a)},_initSwipeable:function(){this._createComponent(this.$element(),g,{disabled:!this.option("swipeEnabled"),elastic:!1,itemSizeFunc:this._itemWidth.bind(this),onStart:function(e){this._swipeStartHandler(e.event)}.bind(this),onUpdated:function(e){this._swipeUpdateHandler(e.event)}.bind(this),onEnd:function(e){this._swipeEndHandler(e.event)}.bind(this)})},_swipeStartHandler:function(e){T.complete(this._$itemContainer);var t=this.option("selectedIndex"),n=this.option("loop"),i=this._itemsCount()-1,o=this.option("rtlEnabled");e.maxLeftOffset=k(n||(o?t>0:t<i)),e.maxRightOffset=k(n||(o?t<i:t>0)),this._swipeDirection=null},_swipeUpdateHandler:function(e){var t=e.offset,n=r.sign(t)*this._getRTLSignCorrection();if(I.move(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",h(n))}else this._animateItemContainer(0,l)},_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":g.getInstance(this.$element()).option("disabled",!t);break;case"deferRendering":this._invalidate();break;default:this.callBase(e)}}});p("dxMultiView",D),e.exports=D},function(e,t,n){var i=n(2),o=n(153),a="dx-tabs-item-badge",r="dx-badge",s=o.inherit({_renderWatchers:function(){this.callBase(),this._startWatcher("badge",this._renderBadge.bind(this))},_renderBadge:function(e){if(this._$element.children("."+r).remove(),e){var t=i("<div>").addClass(a).addClass(r).text(e);this._$element.append(t)}}});e.exports=s},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(2),a=i(o),r=n(8),s=i(r),l=n(66),u=i(l),c=n(247),d=i(c),h=n(100),p=i(h),f=n(196),g=i(f),_="dx-validationgroup",m="dx-validator",v="dx-validationsummary",y=u.default.inherit({_getDefaultOptions:function(){return this.callBase()},_init:function(){this.callBase(),p.default.addGroup(this)},_initMarkup:function(){var e=this.$element();e.addClass(_),e.find("."+m).each(function(e,t){g.default.getInstance((0,a.default)(t))._initGroupRegistration()}),e.find("."+v).each(function(e,t){d.default.getInstance((0,a.default)(t))._initGroupRegistration()}),this.callBase()},validate:function(){return p.default.validateGroup(this)},reset:function(){return p.default.resetGroup(this)},_dispose:function(){p.default.removeGroup(this),this.$element().removeClass(_),this.callBase()}});(0,s.default)("dxValidationGroup",y),e.exports=y},function(e,t,n){function _shouldClearFilter:function(){var e=this.callBase(),t=this.option("showSelectionControls");return!t&&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")||[]},_multiTagRequired:function(){var e=this._getValue(),t=this.option("maxDisplayedTags");return v(t)&&e.length>t},_renderMultiTag:function(e){var t=o("<div>").addClass(B).addClass(P),n={multiTagElement:_(t),selectedItems:this.option("selectedItems")};return this._multiTagPreparingAction(n),!n.cancel&&(t.data(E,n.text),t.insertBefore(e),this._tagTemplate.render({model:n.text,container:_(t)}),t)},_getFilteredItems:function(e){var t=new h(e),n=this._list&&this._list.option("selectedItems")||this.option("selectedItems"),i=t.getLocalFilter(this._valueGetter),o=n.filter(i),a=o.length===e.length,r=new g;if(a)return r.resolve(o).promise();var s=this._dataSource,l=s.filter(),u=t.getCombinedFilter(this.option("valueExpr"),l),c=encodeURI(JSON.stringify(u)).length,d=c>this.option("maxFilterLength")?void 0:u,p=s.loadOptions(),f=p.customQueryParams;return s.store().load({filter:d,customQueryParams:f}).done(function(e){var t=s._applyMapFunction(e);r.resolve(t.filter(i))}),r.promise()},_createTagsData:function(e,t){var n=[],i={},o="this"===this._valueGetterExpr(),a={};t.forEach(function(e){var t=o?JSON.stringify(e):this._valueGetter(e);a[t]=e}.bind(this));var r=[];e.forEach(function(e,t){var s=a[o?JSON.stringify(e):e];if(o&&!v(s))r.push(this._loadItem(e,i).always(function(i){var o=this._createTagData(n,i,e,t);n.splice(t,0,o)}.bind(this)));else{var l=this._createTagData(n,s,e,t);n.splice(t,0,l)}}.bind(this));var s=new g;return f.apply(this,r).always(function(){s.resolve(n)}),s.promise()},_createTagData:function(e,t,n,i){if(v(t))return this._selectedItems.push(t),t;var o=this.option("selectedItem"),a=this._valueGetter(o)===n?o:n;return a},_loadTagsData:function(){var e=this._getValue(),t=new g;return this._selectedItems=[],this._getFilteredItems(e).done(function(n){var i=this._createTagsData(e,n);i.always(function(e){t.resolve(e)})}.bind(this)).fail(t.reject.bind(this)),t.promise()},_renderTags:function(){var e=new g;return this._loadTagsData().always(function(t){this._renderTagsCore(t),this._renderEmptyState(),this._preserveFocusedTag||this._clearTagFocus(),e.resolve()}.bind(this)),e.promise()},_renderTagsCore:function(e){this._renderField(),this.option("selectedItems",this._selectedItems.slice()),this._cleanTags();var t=this._multiTagRequired()&&this._renderMultiTag(this._input()),n=this.option("showMultiTagOnly"),i=this.option("maxDisplayedTags");e.forEach(function(e,o){return!(t&&n||t&&!n&&o-i>=-1)&&void this._renderTag(e,t||this._input())}.bind(this)),this._scrollContainer("end"),this._refreshTagElements()},_cleanTags:function(){if(this._multiTagRequired())this._tagElements().remove();else{var e=this._tagElements(),t=this._getValue();w(e,function(e,n){var i=o(n),a=b(i.data(E),t);a<0&&i.remove()})}},_renderEmptyState:function(){var e=!(this._getValue().length||this._selectedItems.length||this._searchValue());this._toggleEmptiness(e),this._renderDisplayText()},_renderDisplayText:function(){this._renderInputSize()},_refreshTagElements:function(){this._tagElementsCache=this.$element().find("."+B)},_tagElements:function(){return this._tagElementsCache},_applyTagTemplate:function(e,t){this._tagTemplate.render({model:e,container:_(t)})},_renderTag:function(e,t){var n=this._valueGetter(e);if(v(n)){var i=this._getTag(n),o=this._displayGetter(e),a=this._getItemModel(e,o);i?(v(o)&&(i.empty(),this._applyTagTemplate(a,i)),i.removeClass(M)):(i=this._createTag(n,t),v(e)?this._applyTagTemplate(a,i):(i.addClass(M),this._applyTagTemplate(n,i)))}},_getItemModel:function(e,t){return m.isObject(e)&&t?e:c.ensureDefined(t,"")},_getTag:function(e){for(var t=this._tagElements(),n=t.length,i=!1,a=0;a<n;a++){var s=t[a],l=r.data(s,E);if(e===l||c.equalByValue(e,l)){i=o(s);break}}return i},_createTag:function(e,t){return o("<div>").addClass(B).d },_isItemSelectable:function(e){return e.selectable!==!1},_renderSeparator:function(e){i("<li>").appendTo(e).addClass(b)},_itemClickHandler:function(e){if(!e._skipHandling){var t=this._createAction(this._updateSubmenuVisibilityOnClick.bind(this));this._itemDXEventHandler(e,"onItemClick",{},{afterExecute:t.bind(this)}),e._skipHandling=!0}},_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.asyncNoop,_optionChanged:function(e){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&&i(n).toggleClass(m),this._dataAdapter.toggleSelection(e.internalFields.key,t)},_getElementByItem:function(e){var t,n=this;return r(this._itemElements(),function(o,a){return i(a).data(n._itemDataKey())!==e||(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.exports=O},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(2),a=i(o),r=n(20),s=n(0),l=n(3),u=n(16),c=i(u),d=n(60),h=i(d),p=n(592),f=i(p),g=n(54),_=i(g),m=n(65),v=i(m),y=n(1),x=n(4),b="dx-state-disabled",w=_.default.inherit({_getDefaultOptions:function(){return(0,s.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(){return"desktop"===c.default.real().deviceType&&!c.default.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 f.default((0,s.extend)({dataAccessors:{getters:e.getters,setters:e.setters},items:this.option("items")},this._getDataAdapterOptions()))},_getDataAdapterO minWidth:this.option("columnMinWidth"),width:this.option("columnWidth"),autoExpandGroup:n.autoExpandAll,allowCollapsing:n.allowCollapsing,allowGrouping:i.allowColumnDragging&&i.visible||n.contextMenuEnabled},t)},isColumnOptionUsed:function(e){for(var t=0;t<this._columns.length;t++)if(this._columns[t][e])return!0},isAllDataTypesDefined:function(e){var t,n=this._columns;if(!n.length)return!1;for(t=0;t<n.length;t++)if((n[t].dataField||n[t].calculateCellValue!==n[t].defaultCalculateCellValue)&&(!n[t].dataType||e&&n[t].deserializeValue&&void 0===n[t].serializationFormat))return!1;return!0},getColumns:function(){return this._columns},isBandColumnsUsed:function(){return this.getColumns().some(function(e){return e.isBand})},getGroupColumns:function(){var e=[];return f.default.each(this._columns,function(){var t=this;(0,h.isDefined)(t.groupIndex)&&(e[t.groupIndex]=t)}),e},getVisibleColumns:function(e){return this._visibleColumns=this._visibleColumns||this._getVisibleColumnsCore(),e=(0,h.isDefined)(e)?e:this._visibleColumns.length-1,this._visibleColumns[e]||[]},getFixedColumns:function(e){return this._fixedColumns=this._fixedColumns||this._getFixedColumnsCore(),e=(0,h.isDefined)(e)?e:this._fixedColumns.length-1,this._fixedColumns[e]||[]},getFilteringColumns:function(){return this.getColumns().filter(function(e){return(e.dataField||e.name)&&(e.allowFiltering||e.allowHeaderFiltering)}).map(function(e){var t=(0,_.extend)(!0,{},e);return(0,h.isDefined)(t.dataField)||(t.dataField=t.name),t.filterOperations=e.filterOperations!==e.defaultFilterOperations?t.filterOperations:null,t})},_getFixedColumnsCore:function(){var e,t,n,i,o,a,r,s,l=this,u=[],c=l.getRowCount(),d=l._isColumnFixing(),p={command:"transparent"},f=0;if(d)for(e=0;e<=c;e++){for(o=0,r=null,a=null,s=l.getVisibleColumns(e,!0),t=0;t<s.length;t++)i=s[t-1],n=s[t],n.fixed?i&&i.fixed&&me(l,i)!==me(l,n)?(0,h.isDefined)(a)||(a=t):r=n.fixedPosition:(0===e&&(n.isBand&&n.colspan?f+=n.colspan:f++),o++,(0,h.isDefined)(a)||(a=t));if(0===e&&(0===o||o>=s.length))return[];(0,h.isDefined)(a)||(a="right"===r?0:s.length),u[e]=s.slice(0),p.colspan||(p.colspan=f),u[e].splice(a,o,p)}return u},_isColumnFixing:function(){var e=this.option("columnFixing.enabled");return!e&&f.default.each(this._columns,function(t,n){if(n.fixed)return e=!0,!1}),e},_getExpandColumnsCore:function(){return this.getGroupColumns()},getExpandColumns:function(){var e,t=this._getExpandColumnsCore(),n=t.filter(function(e){return 0===e.groupIndex})[0],i=n&&n.fixed,o=this._isColumnFixing();return t.length&&(e=this.columnOption("command:expand")),t=f.default.map(t,function(t){return(0,_.extend)({},t,{visibleWidth:null,minWidth:null,cellTemplate:(0,h.isDefined)(t.groupIndex)?null:t.cellTemplate,headerCellTemplate:null,fixed:!(!(0,h.isDefined)(t.groupIndex)||!i)||o},e,{index:t.index,type:t.type||K})})},getBandColumnsCache:function(){if(!this._bandColumnsCache){var e=this._columns,t={},n={};e.forEach(function(i){var o=i.ownerBand,a=e[o];i.colspan&&(i.colspan=void 0),i.rowspan&&(i.rowspan=void 0),a?n[i.index]=a:o=-1,t[o]=t[o]||[],t[o].push(i)}),this._bandColumnsCache={columnChildrenByIndex:t,columnParentByIndex:n}}return this._bandColumnsCache},_isColumnVisible:function(e){return e.visible&&this.isParentColumnVisible(e.index)},_getVisibleColumnsCore:function(){var e,t,n,i=this,o=[],a=0,r=0,s=i.getRowCount(),l=[],u=[],c=0,d=i.option("rtlEnabled"),p=i.getBandColumnsCache(),g=be(i,i.getExpandColumns(),i._columns),_=be(i,i._columns,i._commandColumns,!0),m=ye(_.length);for(D(i,_,p),e=0;e<s;e++)o[e]=[],u[e]=[{}],l[e]=[{},{},{}];return f.default.each(_,function(){var t,o,a=this,r=a.visibleIndex,s=v(a.index,p.columnParentByIndex),f=i._isColumnVisible(a);if(f&&(!(0,h.isDefined)(a.groupIndex)||a.showWhenGrouped)){if(t=s.length,r<0?(r=-r,o=u[t]):(a.fixed=s.length?s[0].fixed:a.fixed,a.fixedPosition=s.length?s[0].fixedPosition:a.fixedPosition,a.fixed?(n="right"===a.fixedPosition,!d||a.command&&!we(i,a)||(n=!n),o=n?l[t][2]:l[t][0]):o=l[t][1]),s.length)for(r=xe(r,m),e=s.length-1;e>=0;e--)r=xe(s[e].visibleIndex,m)+r;o[r]=o[r]||[],o[r].push(a),c++}}),f },combinedFilter:function(e,t){var n,i=this,o=i._dataSource,a=i._columnsController;return o&&(void 0===e&&(e=o.filter()),n=i._calculateAdditionalFilter(),n&&(a.isDataSourceApplied()||a.isAllDataTypesDefined())&&(e=u.default.combineFilters([n,e])),e=a.updateFilter(e,t||o.remoteOperations().filtering)),e},waitReady:function(){return this._updateLockCount?(this._readyDeferred=new C.Deferred,this._readyDeferred):(0,C.when)()},_endUpdateCore:function(){var e=this._changes;if(e.length){this._changes=[];var t=e.every(function(e){return e.repaintChangesOnly});this.updateItems(1===e.length?e[0]:{repaintChangesOnly:t})}this._readyDeferred&&(this._readyDeferred.resolve(),this._readyDeferred=null)},_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(!n.remoteOperations().grouping))},_handleColumnsChanged:function(e){var t,n,i,o=this,a=e.changeTypes,r=e.optionNames,s=function e(){o._columnsController.columnsChanged.remove(e),o.updateItems()};if(a.sorting||a.grouping)o._dataSource&&!o._columnsUpdating&&(o._dataSource.group(o._columnsController.getGroupDataSourceParameters()),o._dataSource.sort(o._columnsController.getSortDataSourceParameters()),o.reload());else if(a.columns&&((r.filterValues||r.filterValue||r.selectedFilterOperation)&&(t=o._columnsController.columnOption(e.columnIndex,"filterValue"),n=o._columnsController.columnOption(e.columnIndex,"filterValues"),(Array.isArray(n)||void 0===e.columnIndex||y.default.isDefined(t)||!r.selectedFilterOperation||r.filterValue)&&(o._applyFilter(),i=!0)),o._needApplyFilter||u.default.checkChanges(r,["width","visibleWidth","filterValue","bufferedFilterValue","selectedFilterOperation","filterValues","filterType"])||o._columnsController.columnsChanged.add(s),y.default.isDefined(r.visible))){var l=o._columnsController.columnOption(e.columnIndex);l&&(y.default.isDefined(l.filterValue)||y.default.isDefined(l.filterValues))&&(o._applyFilter(),i=!0)}!i&&a.filtering&&o.reload()},_handleDataChanged:function(e){var t=this,n=t._dataSource,i=t._columnsController,o=!1;this._isFirstLoading=!1,n&&!t._isDataSourceApplying&&(t._isDataSourceApplying=!0,(0,C.when)(t._columnsController.applyDataSource(n)).done(function(){t._isLoading&&t._handleLoadingChanged(!1),o&&e&&e.isDelayed&&(e.isDelayed=!1),t._isDataSourceApplying=!1;var n=function(){var e=t._calculateAdditionalFilter();return e&&e.length},i=t._needApplyFilter;t._needApplyFilter=!1,i&&!t._isAllDataTypesDefined&&n()?(g.default.log("W1005",t.component.NAME),t._applyFilter()):t.updateItems(e,!0)}).fail(function(){t._isDataSourceApplying=!1}),t._isDataSourceApplying&&(o=!0,t._handleLoadingChanged(!0)),t._needApplyFilter=!t._columnsController.isDataSourceApplied(),t._isAllDataTypesDefined=i.isAllDataTypesDefined())},_handleLoadingChanged:function(e){this._isLoading=e,this._fireLoadingChanged()},_handleLoadError:function(e){this.dataErrorOccurred.fire(e)},fireError:function(){this.dataErrorOccurred.fire(g.default.Error.apply(g.default,arguments))},_setPagingOptions:function(e){var t=this.option("paging.pageIndex"),n=this.option("paging.pageSize"),i=this.option("paging.enabled"),o=this.option("scrolling.mode"),a="infinite"===o,r="virtual"===o,s=i||r||a,l=!1;return e.requireTotalCount(!a),void 0!==i&&e.paginate()!==s&&(e.paginate(s),l=!0),void 0!==n&&e.pageSize()!==n&&(e.pageSize(n),l=!0),void 0!==t&&e.pageIndex()!==t&&(e.pageIndex(t),l=!0),l},_getSpecificDataSourceOption:function(){var e=this.option("dataSource");return Array.isArray(e)?{store:{type:"array",data:e,key:this.option("keyExpr")}}:e},_initDataSource:function(){var e=this,t=this.option("dataSource"),n o._updateLastRowBorder(l)):(s.css("height",0),s.show(),o._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=-1,e._hasHeight=!1,t.loadingChanged.add(function(t,n){e.setLoading(t,n)}),t.dataSourceChanged.add(function(){e._scrollLeft>=0&&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","getRowElement","getScrollable"]},contentWidth:function(){return this.element().width()-this.getScrollbarWidth()},getScrollbarWidth:function(e){var n=this._scrollableContainer&&this._scrollableContainer.get(0),i=0;return n&&(e?(i=n.clientHeight?n.offsetHeight-n.clientHeight:0,i+=t(this)):i=n.clientWidth?n.offsetWidth-n.clientWidth:0),i>0?i: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&&!(0,h.isDefined)(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(H):this.element().removeClass(H)},_updateScrollable:function(){var e=w.default.getInstance(this.element());e&&(e.update(),this._updateHorizontalScrollPosition())},_updateHorizontalScrollPosition:function(){var e=this.getScrollable(),t=e&&e.scrollOffset().left;this._scrollLeft>=0&&t!==this._scrollLeft&&e.scrollTo({x:this._scrollLeft})},_resizeCore:function(){var e=this;e._fireColumnResizedCallbacks(),e._updateRowHeight(),(0,u.deferRender)(function(){e._renderScrollable(),e.renderNoDataText(),e.updateFreeSpaceRowHeight(),(0,u.deferUpdate)(function(){e._updateScrollable()})})},scrollTo:function(e){var t=this.element(),n=t&&w.default.getInstance(t);n&&n.scrollTo(e)},height:function(e,t){var n=this,i=this.element();return 0===arguments.length?i?i.outerHeight(!0):0:(n._hasHeight=void 0===t?"auto"!==e:t,void((0,h.isDefined)(e)&&i&&d.default.setHeight(i,e)))},setLoading:function(e,t){var n,i=this,o=i._loadPanel,a=i._dataController,s=i.option("loadPanel")||{},l=a.isLoaded()?s.animation:null,u=i.element();(0,r.hasWindow)()&&(!o&&void 0!==t&&a.isLocalStore()&&"auto"===s.enabled&&u&&(i._renderLoadPanel(u,u.parent()),o=i._loadPanel),o&&(n={message:t||s.text,animation:l,visible:e},clearTimeout(i._hideLoadingTimeoutID),o.option("visible")&&!e?i._hideLoadingTimeoutID=setTimeout(function(){o.option(n)},$):o.option(n)))},setRowsOpacity:function(e,t){var n=this._getRowElements().not("."+B)||[];this._setRowsOpacityCore(n,this.getColumns(),e,t)},_getCellElementsCore:function(e){var t,n=this.callBase(e);return n&&(t=n.filter("."+P).index(),t>=0&&n.length>t+1)?n.slice(0,t+1):n},getTopVisibleItemIndex:function(){var e,t,n=this,i=0,o=0,a=0,r=n._scrollTop,s=n._findContentElement(),l=s&&s.offset().top,u=n._dataController.items(),c=n._getTableElement();if(u.length&&c){for(e=n._getRowElements(c).filter(":visible"),i=0;i<u.length;i++)if(o=a,t=e.eq(i),t.length&&(a=t.offset().top-l,a>r)){2*r<Math.round(a+o)&&i&&i--;break}i&&i===u.length&&i--}return i},getTopVisibleRowData:function(){var e=this.getTopVisibleItemIndex(),t=this._dataController.items();if(t[e])return t[e].data},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._rowHe e&&this.executeAction("onSelectionChanged",e);var t=this.option("selection.deferred")?{selectionFilter:this.option("selectionFilter")}:{selectedRowKeys:this.option("selectedRowKeys")};this.selectionChanged.fire(t)},_updateCheckboxesState:function(t){var n=t.isDeferredMode,i=t.selectionFilter,o=t.selectedItemKeys,a=t.removedItemKeys;"onClick"===this.option(M)&&((n?i&&e(this,i):o.length>1)?this.startSelectionWithCheckboxes():(n?i&&!i.length:0===o.length&&a.length)&&this.stopSelectionWithCheckboxes())},_updateSelectedItems:function(e){var t,n=this,i=n.option("selection.deferred"),o=n._selection.selectionFilter(),a=n._dataController,r=a.items();if(r){var s=n.isSelectionWithCheckboxes(),l=n.getChangedItemIndexes(r);n._updateCheckboxesState({selectedItemKeys:e.selectedItemKeys,removedItemKeys:e.removedItemKeys,selectionFilter:o,isDeferredMode:i}),(l.length||s!==n.isSelectionWithCheckboxes())&&a.updateItems({changeType:"updateSelection",itemIndexes:l}),i?(n.option("selectionFilter",o),t={}):(e.addedItemKeys.length||e.removedItemKeys.length)&&(n._selectedItemsInternalChange=!0,n.option("selectedRowKeys",e.selectedItemKeys.slice(0)),n._selectedItemsInternalChange=!1,t={selectedRowsData:e.selectedItems.slice(0),selectedRowKeys:e.selectedItemKeys.slice(0),currentSelectedRowKeys:e.addedItemKeys.slice(0),currentDeselectedRowKeys:e.removedItemKeys.slice(0)}),n._fireSelectionChanged(t)}},getChangedItemIndexes:function(e){for(var t=this,n=[],i=this.option("selection.deferred"),o=0,a=e.length;o<a;o++){var r=e[o],s=t.isRowSelected(i?r.data:r.key);t._selection.isDataItem(r)&&r.isSelected!==s&&n.push(o)}return n},callbackNames:function(){return["selectionChanged"]},optionChanged:function(e){var t=this;switch(t.callBase(e),e.name){case"selection":var n=t._selectionMode;t.init();var i=t._selectionMode,o=t.option("selectedRowKeys");n!==i&&("single"===i?o.length>1&&(o=[o[0]]):"multiple"!==i&&(o=[])),t.selectRows(o).always(function(){t._fireSelectionChanged()}),t.getController("columns").updateColumns(),e.handled=!0;break;case"selectionFilter":this._selection.selectionFilter(e.value),e.handled=!0;break;case"selectedRowKeys":Array.isArray(e.value)&&!t._selectedItemsInternalChange&&t.component.getDataSource()&&t.selectRows(e.value),e.handled=!0}},publicMethods:function(){return["selectRows","deselectRows","selectRowsByIndexes","getSelectedRowKeys","getSelectedRowsData","clearSelection","selectAll","deselectAll","startSelectionWithCheckboxes","stopSelectionWithCheckboxes","isRowSelected"]},isRowSelected:function(e){return this._selection.isItemSelected(e)},isSelectColumnVisible:function(){return"multiple"===this.option(R)&&("always"===this.option(M)||"onClick"===this.option(M)||this._isSelectionWithCheckboxes)},_isOnePageSelectAll:function(){return"page"===this.option("selection.selectAllMode")},isSelectAll:function(){return this._selection.getSelectAllState(this._isOnePageSelectAll())},selectAll:function(){return"onClick"===this.option(M)&&this.startSelectionWithCheckboxes(),this._selection.selectAll(this._isOnePageSelectAll())},deselectAll:function(){return this._selection.deselectAll(this._isOnePageSelectAll())},clearSelection:function(){return this.selectedItemKeys([])},refresh:function(){var e=this.option("selectedRowKeys")||[];return!this.option("selection.deferred")&&e.length?this.selectedItemKeys(e):(new S.Deferred).resolve().promise()},selectedItemKeys:function(e,t,n,i){return this._selection.selectedItemKeys(e,t,n,i)},getSelectedRowKeys:function(){return this._selection.getSelectedItemKeys()},selectRows:function(e,t){return this.selectedItemKeys(e,t)},deselectRows:function(e){return this.selectedItemKeys(e,!0,!0)},selectRowsByIndexes:function(e){var t=this._dataController.items(),n=[];return Array.isArray(e)||(e=Array.prototype.slice.call(arguments,0)),(0,h.each)(e,function(){var e=t[this];e&&"data"===e.rowType&&n.push(e.key)}),this.selectRows(n)},getSelectedRowsData:function(){return this._selection.getSelectedItems()},changeItemSelection:function(e,t){return t=t||{},this.isSelectionWithCheckboxes()&&(t.control=!0),this._selection.chang t=n.get(0).ownerDocument.elementFromPoint(e.clientX,e.clientY),(0,v.fireEvent)({originalEvent:e,target:t}),e.stopPropagation(),i.removeClass(R),e.type===p.default.name&&"INPUT"===t.tagName&&u.default.trigger((0,a.default)(t),"focus"))},dispose:function(){clearTimeout(this._focusTimeoutID),clearTimeout(this._updateFocusTimeoutID),u.default.off(s.default.getDocument(),O,this._updateFocusHandler)}}).include(C.default);e.exports={defaultOptions:function(){return{}},controllers:{editorFactory:V},extenders:{controllers:{columnsResizer:{_startResizing:function(e){this.callBase(e),this.isResizing()&&this.getController("editorFactory").loseFocus()}}}}}},function(e,t,n){var i=n(2),o=n(4).noop,a=n(5),r=n(1),s=n(74).isWrapped,l=n(20).compileGetter,u=n(31),c=n(0).extend,d=n(16),h=n(10).getPublicElement,p=n(45).normalizeDataSourceOptions,f=n(9).normalizeKeyName;n(92),n(116),n(104),n(95),n(192);var g="checkbox-size",_="dx-cell-focus-disabled",m="dx-editor-inline-block",v=function(){var e=function(e,t){return c(e,{readOnly:t.readOnly,placeholder:t.placeholder,inputAttr:{id:t.id},tabIndex:t.tabIndex},t.editorOptions)},t=function(){return u.msie||u.mozilla||d.real().ios},n=function(n){var o={},s=t(),l=n.sharedData||o;return e({placeholder:n.placeholder,width:n.width,value:n.value,onValueChanged:function(e){var t="filterRow"===n.parentType||"searchPanel"===n.parentType,i=e.event&&"keyup"===e.event.type,a=function(e,t){n&&n.setValue(e.value,t)};clearTimeout(o.valueChangeTimeout),i&&t?l.valueChangeTimeout=o.valueChangeTimeout=setTimeout(function(){a(e,o.valueChangeTimeout!==l.valueChangeTimeout)},r.isDefined(n.updateValueTimeout)?n.updateValueTimeout:0):a(e)},onKeyDown:function(e){s&&"enter"===f(e.event)&&a.trigger(i(e.component._input()),"change")},valueChangeEvent:"change"+("filterRow"===n.parentType?" keyup":"")},n)},v=function(n){n.editorName="dxDateBox",n.editorOptions=e({value:n.value,onValueChanged:function(e){n.setValue(e.value)},onKeyDown:function(e){t()&&"enter"===f(e.event)&&(e.component.blur(),e.component.focus())},displayFormat:n.format,type:n.dataType,formatWidthCalculator:null,dateSerializationFormat:null,width:"filterBuilder"===n.parentType?void 0:"auto"},n)},y=function(e){var t=n(e),i="searchPanel"===e.parentType,o=function(e){return r.isDefined(e)?e.toString():""};t.value=o(e.value),t.valueChangeEvent+=i?" keyup search":"",t.mode=t.mode||(i?"search":"text"),e.editorName="dxTextBox",e.editorOptions=t},x=function(e){var t=n(e);t.value=r.isDefined(e.value)?e.value:null,e.editorName="dxNumberBox",e.editorOptions=t},b=function(e){"filterRow"===e.parentType||"filterBuilder"===e.parentType?w(c(e,{lookup:{displayExpr:function(t){return t===!0?e.trueText||"true":t===!1?e.falseText||"false":void 0},dataSource:[!0,!1]}})):C(e)},w=function(t){var n,i,o,a=t.lookup,u="filterRow"===t.parentType;if(a){n=l(a.displayExpr),i=a.dataSource,r.isFunction(i)&&!s(i)&&(i=i(t.row||{})),(r.isObject(i)||Array.isArray(i))&&(i=p(i),u&&(o=i.postProcess,i.postProcess=function(e){return 0===this.pageIndex()&&(e=e.slice(0),e.unshift(null)),o?o.call(this,e):e}));var c=Boolean(a.allowClearing&&!u);t.editorName="dxSelectBox",t.editorOptions=e({searchEnabled:!0,value:t.value,valueExpr:t.lookup.valueExpr,searchExpr:t.lookup.searchExpr||t.lookup.displayExpr,allowClearing:c,showClearButton:c,displayExpr:function(e){return null===e?t.showAllText:n(e)},dataSource:i,onValueChanged:function(e){var n=[e.value];!u&&n.push(e.component.option("text")),t.setValue.apply(this,n)}},t)}},C=function(t){t.editorName="dxCheckBox",t.editorOptions=e({value:r.isDefined(t.value)?t.value:void 0,hoverStateEnabled:!t.readOnly,focusStateEnabled:!t.readOnly,activeStateEnabled:!1,onValueChanged:function(e){t.setValue&&t.setValue(e.value,e)}},t)},k=function(e,t){var n=i(t.editorElement);t.editorName&&t.editorOptions&&n[t.editorName]&&("dxCheckBox"===t.editorName&&(t.isOnForm||(n.addClass(e.addWidgetPrefix(g)),n.parent().addClass(m)),(t.command||t.editorOptions.readOnly)&&n.parent().addClass(_)),e._createComponent(n,t.editorName,t.editorOptions),"dxTextBox"===t.editorName&&n.dxTextBox("insta a.default)("<div>").appendTo(m),A.default,e._getCancelButtonConfig())}e._editForm.on("contentReady",function(){e._editPopup&&e._editPopup.repaint()})}},getColumnTemplate:function(t){var n,i,o,a=this,r=t.column,s=t.row&&t.row.rowIndex,l=Ge(a),u=a.isEditRow(s),c=a.isEditCell(s,t.columnIndex);return!(r.showEditorAlways||r.setCellValue&&(u&&r.allowEditing||c))||"data"!==t.rowType&&"detailAdaptive"!==t.rowType||r.command?"detail"===r.command&&"detail"===t.rowType&&u&&(n=a.getEditFormTemplate(t)):(i=a.allowUpdating(t),((i||u)&&r.allowEditing||c)&&(l&&u||!l)&&(r.showEditorAlways&&!l&&(o={cancel:!1,key:t.row.inserted?void 0:t.row.key,data:t.row.data,column:r},a._isEditingStart(o)),o&&o.cancel||(t.setValue=function(e,n){a.updateFieldValue(t,e,n)})),n=r.editCellTemplate||e(a)),n},_createButton:function(e,t,n){var i,o=this,r=He[t.name],s=o.option("editing.useIcons"),l=(0,a.default)("<a>").attr("href","#").addClass(ne).addClass(t.cssClass);t.template?o._rowsView.renderTemplate(e,t.template,n,!0):(s&&r||t.icon?(r=t.icon||r,i=j.default.getImageSourceType(r),"image"===i?l=j.default.getImageContainer(r):l.addClass("dx-icon"+("dxIcon"===i?"-":" ")+r).attr("title",t.text),e.addClass(le)):l.text(t.text),f.default.isDefined(t.hint)&&l.attr("title",t.hint),c.default.on(l,(0,k.addNamespace)("click",ve),o.createAction(function(e){t.onClick.call(t,(0,_.extend)({},e,{row:n.row,column:n.column})),e.event.preventDefault()})),n.rtlEnabled?e.prepend(l," "):e.append(l," "))},prepareEditButtons:function(e){var t=this,n=t.option("editing")||{},i=t.option("editing.texts")||{},o={revert:i.cancelAllChanges,save:i.saveAllChanges,addRow:i.addRow},r={revert:"cancel",save:"save",addRow:"addrow"},s=[],l=function(n,i,s){var l=r[n],u=function(n){(0,a.default)(n.element).addClass(e._getToolbarButtonClass(re+" "+t.addWidgetPrefix(l)+"-button"))},c=o[n],d=("save"===l||"cancel"===l)&&!t.hasChanges();return{widget:"dxButton",options:{onInitialized:u,icon:"edit-button-"+l,disabled:d,onClick:function(){setTimeout(function(){t[i]()})},text:c,hint:c},showText:"inMenu",name:n+"Button",location:"after",locateInMenu:"auto",sortIndex:s}};return n.allowAdding&&s.push(l("addRow","addRow",20)),(n.allowUpdating||n.allowAdding||n.allowDeleting)&&We(t)===Ce&&(s.push(l("save","saveEditData",21)),s.push(l("revert","cancelEditData",22))),s},showHighlighting:function(e){var t=e.find("."+me);"TD"!==e.get(0).tagName||t.length||e.wrapInner((0,a.default)("<div>").addClass(me+" "+Oe))},resetRowAndPageIndices:function(e){var t=this;(0,g.each)(t._editData,function(n,i){(i.pageIndex!==t._pageIndex||e)&&(delete i.pageIndex,delete i.rowIndex)})},_afterInsertRow:function(){},_beforeSaveEditData:function(e){if(e&&!f.default.isDefined(e.key)&&f.default.isDefined(e.type))return!0},_afterSaveEditData:function(){},_beforeCancelEditData:function(){},_allowEditAction:function(e,t){var n=this.option("editing."+e);return f.default.isFunction(n)&&(n=n({component:this.component,row:t.row})),n},allowUpdating:function(e,t){var n=this.option("editing.startEditAction")||Be,i=!(arguments.length>1)||n===t;return i&&this._allowEditAction("allowUpdating",e)},allowDeleting:function(e){return this._allowEditAction("allowDeleting",e)}}}());e.exports={defaultOptions:function(){return{editing:{mode:"row",refreshMode:"full",allowAdding:!1,allowUpdating:!1,allowDeleting:!1,useIcons:!1,selectTextOnEditStart:!1,texts:{editRow:D.default.format("dxDataGrid-editingEditRow"),saveAllChanges:D.default.format("dxDataGrid-editingSaveAllChanges"),saveRowChanges:D.default.format("dxDataGrid-editingSaveRowChanges"),cancelAllChanges:D.default.format("dxDataGrid-editingCancelAllChanges"),cancelRowChanges:D.default.format("dxDataGrid-editingCancelRowChanges"),addRow:D.default.format("dxDataGrid-editingAddRow"),deleteRow:D.default.format("dxDataGrid-editingDeleteRow"),undeleteRow:D.default.format("dxDataGrid-editingUndeleteRow"),confirmDeleteMessage:D.default.format("dxDataGrid-editingConfirmDeleteMessage"),confirmDeleteTitle:""},form:{colCount:2},popup:{},startEditAction:"click"}}},controllers:{editing:qe},extenders:{controll },_isColumnElementsEqual:function(e,t){var n=e.length===t.length;return n&&(0,h.each)(e,function(e,i){if(i.style.width!==t[e].style.width)return n=!1}),n},_renderVirtualTableContent:function(e,t){var n,i=this,o=i._columnsController.getVisibleColumns(),a=i._createColGroup(o).prop("outerHTML"),r="",s=i.option("showColumnLines")?S:"",l=function(e){return"<tr style='height:"+e+"px;' class='"+k+" "+C+" "+s+"' >"+r+"</tr>"};for(n=0;n<o.length;n++){var u=i._getCellClasses(o[n]),c=u.length?" class='"+u.join(" ")+"'":"";r+="<td"+c+"/>"}for(;t>A;)a+=l(A),t-=A;a+=l(t),e.addClass(i.addWidgetPrefix(v)),e.html(a)},_getCellClasses:function(e){var t=[],n=e.cssClass,i="expand"===e.command;return n&&t.push(n),i&&t.push(this.addWidgetPrefix(b)),t},_findBottomLoadPanel:function(e){var t=e||this.element(),n=t&&t.find("."+this.addWidgetPrefix(y));if(n&&n.length)return n},_updateBottomLoading:function(){var e=this,t=e.option("scrolling.mode"),n=t===D,i=t===T,o=!e._dataController.hasKnownLastPage()&&e._dataController.isLoaded()&&(n||i),r=e._findContentElement(),s=e._findBottomLoadPanel(r);o?s||(0,a.default)("<div>").addClass(e.addWidgetPrefix(y)).append(e._createComponent((0,a.default)("<div>"),m.default).$element()).appendTo(r):s&&s.remove()},_handleScroll:function(e){var t=this;t._hasHeight&&t._rowHeight&&t._dataController.setViewportPosition(e.scrollOffset.top),t.callBase.apply(t,arguments)},_needUpdateRowHeight:function(e){var t=this;return t.callBase.apply(t,arguments)||e>0&&t.option("scrolling.mode")===T&&t.option("scrolling.rowRenderingMode")!==D},_updateRowHeight:function(){var e,t=this;t.callBase.apply(t,arguments),t._rowHeight&&(t._updateContentPosition(),e=t._hasHeight?t.element().outerHeight():(0,a.default)((0,r.getWindow)()).outerHeight(),t._dataController.viewportSize(Math.ceil(e/t._rowHeight)))},updateFreeSpaceRowHeight:function(){var e=this.callBase.apply(this,arguments);return e&&this._updateContentPosition(),e},setLoading:function(e,t){var n=this,i=n.callBase,o=n._dataController,a=o.pageIndex()>0&&o.isLoaded()&&!!n._findBottomLoadPanel();a&&(e=!1),i.call(n,e,t)},_resizeCore:function(){var e=this,t=e.element();e.callBase(),e.component.$element()&&!e._windowScroll&&t.closest((0,r.getWindow)().document).length&&(e._windowScroll=u.default.subscribeToExternalScrollers(t,function(t){!e._hasHeight&&e._rowHeight&&e._dataController.setViewportPosition(t)},e.component.$element()),e.on("disposing",function(){e._windowScroll.dispose()})),e.loadIfNeed()},loadIfNeed:function(){var e=this._dataController;e&&e.loadIfNeed&&e.loadIfNeed()},setColumnWidths:function(e){var t,n=this.getScrollable();this.callBase.apply(this,arguments),"virtual"===this.option("scrolling.mode")&&(t=n?n.$content():this.element(),this.callBase(e,t.children("."+this.addWidgetPrefix(w)).children(":not(."+this.addWidgetPrefix(x)+")")))},dispose:function(){clearTimeout(this._scrollTimeoutID),this.callBase()}}}();e.exports={defaultOptions:function(){return{scrolling:{timeout:300,updateTimeout:300,minTimeout:0,renderingThreshold:100,removeInvisiblePages:!0,rowPageSize:5,mode:"standard",preloadEnabled:!1,rowRenderingMode:"standard"}}},extenders:{dataSourceAdapter:R,controllers:{data:function(){var e={_refreshDataSource:function(){var e=this.callBase.apply(this,arguments)||(new p.Deferred).resolve().promise();return e.done(this.initVirtualRows.bind(this)),e},getRowPageSize:function(){var e=this.option("scrolling.rowPageSize"),t=this.pageSize();return t&&t<e?t:e},reload:function(){var e=this,t=e._rowsScrollController||e._dataSource,n=t&&t.getItemIndexByPosition(),i=this.callBase.apply(this,arguments);return i&&i.done(function(){if(O(e)||P(e)){var t=e.getRowIndexOffset(),i=Math.floor(n)-t,o=e.component,r=o.getScrollable&&o.getScrollable();if(r&&!e.option("legacyRendering")){var s=o.getRowElement(i),l=s&&s[0]&&(0,a.default)(s[0]),u=l&&l.position().top;u>0&&(u=Math.round(u+l.outerHeight()*(n%1)),r.scrollTo({y:u}))}}})},initVirtualRows:function(){var e=this,t=P(e);if("virtual"!==e.option("scrolling.mode")&&t!==!0||t===!1||e.option("legacyRendering")||!e.option("scrolling.rowPageSi endsWith:y.default.format("dxDataGrid-filterRowOperationEndsWith"),between:y.default.format("dxDataGrid-filterRowOperationBetween"),isBlank:y.default.format("dxFilterBuilder-filterOperationIsBlank"),isNotBlank:y.default.format("dxFilterBuilder-filterOperationIsNotBlank")},betweenStartText:y.default.format("dxDataGrid-filterRowOperationBetweenStartText"),betweenEndText:y.default.format("dxDataGrid-filterRowOperationBetweenEndText")}}},controllers:{applyFilter:t.ApplyFilterViewController},extenders:{controllers:{data:U,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(){var e,t,n=this;n.isResizing()&&(t=n._columnHeadersView.getFilterRangeOverlayInstance(),t&&(e=t.$element().closest("td"),n._columnHeadersView._updateFilterRangeOverlay({width:e.outerWidth(!0)+A}),t.$content().show())),n.callBase.apply(n,arguments)}}},views:{columnHeadersView:K,headerPanel:{_getToolbarItems:function(){var e=this.callBase(),t=this._prepareFilterItem(e);return t.concat(e)},_prepareFilterItem:function(){var e=this,t=[];if(e._isShowApplyFilterButton()){var n=e.option("filterRow.applyFilterText"),i=e._columnsController.getColumns(),o=!i.filter(function(e){return void 0!==e.bufferedFilterValue}).length,a=function(t){(0,r.default)(t.element).addClass(e._getToolbarButtonClass(z))},s=function(){e._applyFilterViewController.applyFilter()},l={widget:"dxButton",options:{icon:"apply-filter",disabled:o,onClick:s,hint:n,text:n,onInitialized:a},showText:"inMenu",name:"applyFilterButton",location:"after",locateInMenu:"auto",sortIndex:10};t.push(l)}return t},_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.setToolbarItemDisabled("applyFilterButton",!e)},isVisible:function(){return this.callBase()||this._isShowApplyFilterButton()},optionChanged:function(e){"filterRow"===e.name?(this._invalidate(),e.handled=!0):this.callBase(e)}}}}}},function(e,t,n){e.exports=n(353)},function(e,t,n){var i=n(2),o=n(5),a=n(8),r=n(4),s=n(10).getPublicElement,l=n(3).each,u=n(1),c=n(0).extend,d=n(244).getElementMaxHeightByWindow,h=n(9),p=n(24),f=n(134),g=n(323),_=n(58),m=n(619),v=n(34),y=n(141),x="dx-menu",b=x+"-vertical",w=x+"-horizontal",C=x+"-item",k=x+"-items-container",S=C+"-expanded",I="dx-context-menu",T=I+"-container-border",D="dx-context-menu-content-delimiter",E="dx-submenu",A="dx-state-disabled",O="dx-state-hover",B="dx-state-active",P=x+"-adaptive-mode",M=x+"-hamburger-button",R=P+"-overlay-wrapper",V="up",F="down",L="left",H="right",z="showSubmenu",N="nextItem",$="prevItem",W={show:50,hide:300},G=["onSubmenuShowing","onSubmenuShown","onSubmenuHiding","onSubmenuHidden","onItemContextMenu","onItemClick","onSelectionChanged"],q=g.inherit({_getDefaultOptions:function(){return c(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(),c(this._optionsByReference,{animation:!0,selectedItem:!0})},_itemElements:function(){var e=this.callBase(),t=this._submenuItemElements();return e.add(t)},_submenuItemElements:function(){var e=[],t="."+C,n=this._submenus.length&&this._submenus[0];return n&&n.itemsContainer()&&(e=n.itemsContainer().find(t)),e},_focusTarget:function(){return this.$element()},_isMenuHorizontal:function(){return"horizontal"===this.option("orientation")},_moveFocus:function(e){var t,n,i,o,a=this._getAvailableItems(),r=this._isMenuHorizontal(),l=this._getActiveItem(!0);switch(e){case V:n=r?z:this._getItemsNavigationO return"headerFilter"===e?k: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(!0,!0),e.handled=!0):this.callBase(e)}}},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.dataField||e.name}function a(e){e.forEach(function(e){var t=o(e);if(!(0,r.isDefined)(t)&&e.allowFiltering)throw new h.default.Error("E1049",e.caption)})}var r=n(1),s=n(38),l=i(s),u=n(199),c=i(u),d=n(18),h=i(d),p=n(36),f=i(p),g=n(165),_=i(g),m=n(624),v=i(m),y=["=","<>","<","<=",">",">=","notcontains","contains","startswith","endswith","between"],x="include",b="exclude",w=l.default.Controller.inherit(function(){var e=function(){return{filterType:x,filterValues:void 0}},t=function(e){return!(_.default.getGroupInterval(e)||e.headerFilter&&e.headerFilter.dataSource)},n=function(n,i){if(!n)return e();var o,a=n[1],r=n[2],s=Array.isArray(r);if(!s&&!t(i))return e();switch(a){case"anyof":case"=":o=x;break;case"noneof":case"<>":o=b;break;default:return e()}return{filterType:o,filterValues:s?r:[r]}},i=function(e){var t=e.filterValue;if((0,r.isDefined)(t)){var n=e.selectedFilterOperation||e.defaultFilterOperation||c.default.getDefaultOperation(e),i=[o(e),n,e.filterValue];return i}return null},s=function(e){var n,i,a=e.filterValues;return a?(t(e)&&1===e.filterValues.length&&!Array.isArray(a[0])?(n=e.filterType===b?"<>":"=",i=a[0]):(n=e.filterType===b?"noneof":"anyof",i=a),[o(e),n,i]):null},l=function(e,t,i){var a=n(i,t);e.columnOption(o(t),a)},u=function(e,t,n){var i,a=n&&n[1],s=t.filterOperations||t.defaultFilterOperations;(!s||s.indexOf(a)>=0||a===t.defaultFilterOperation)&&y.indexOf(a)>=0?(a!==t.defaultFilterOperation||(0,r.isDefined)(t.selectedFilterOperation)||(a=t.selectedFilterOperation),i={filterValue:n[2],selectedFilterOperation:a}):i={filterValue:void 0,selectedFilterOperation:void 0},e.columnOption(o(t),i)};return{syncFilterValue:function(){var e=this,t=e.getController("columns"),n=t.getFilteringColumns();this._skipSyncColumnOptions=!0,n.forEach(function(n){var i=c.default.getMatchedConditions(e.option("filterValue"),o(n));if(1===i.length){var a=i[0];l(t,n,a),u(t,n,a)}else(0,r.isDefined)(n.filterValues)&&l(t,n),(0,r.isDefined)(n.filterValue)&&u(t,n)}),this._skipSyncColumnOptions=!1},_initSync:function(){var e=this.getController("columns").getColumns(),t=this.getController("data"),n=t.pageIndex();if(a(e),!this.option("filterValue")){var i=this.getController("columns").getFilteringColumns(),o=this.getFilterValueFromColumns(i);this.option("filterValue",o)}this.syncFilterValue(),t.pageIndex(n)},init:function(){var e=this,t=this.getController("data");t.isFilterSyncActive()&&(this.getController("columns").isAllDataTypesDefined()?this._initSync():t.dataSourceChanged.add(function(){return e._initSync()}))},_getSyncFilterRow:function(e,t){var n=i(t);return(0,r.isDefined)(n)?c.default.syncFilters(e,n):c.default.removeFieldConditionsFromFilter(e,o(t))},_getSyncHeaderFilter:function(e,t){var n=s(t);return n?c.default.syncFilters(e,n):c.default.removeFieldConditionsFromFilter(e,o(t))},getFilterValueFromColumns:function(e){if(!this.getController("data").isFilterSyncActive())return null;var t=["and"];return e&&e.forEach(function(e){var n=s(e),o=i(e);n&&c.default.addItem(n,t),o&&c.default.addItem(o,t)}),c.default.getNormalizedFilter(t)},syncFilterRow:function(e,t){this.option("filterValue",this._getSyncFilterRow(this.option("filterValue"),e))},syncHeaderFilter:function(e){this.option("filterValue",this._getSyncHeaderFilter(this.option("filterValue"),e))},getCustomFilterOperations:function(){var e=this.option("filterBuilder.customOperations")||[];return[v.default.anyOf(this.component),v.default.noneOf(this.component)].concat(e)},publicMethods:function(){return["getCustomFilterOperations"]}}}()),C={isFilterSyncActive:function(){var e=this.option("filter },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 r=(0,s.default)("<div>").addClass(n.addWidgetPrefix(v)).appendTo(a);n.getController("editorFactory").createEditor(r,{width:o.width,placeholder:o.placeholder,parentType:"searchPanel",value:n.option("searchPanel.text"),updateValueTimeout:x,setValue:function(e){i.searchByText(e)},editorOptions:{inputAttr:{"aria-label":g.default.format("dxDataGrid-ariaSearchInGrid")}}}),n.resize()},name:"searchPanel",location:"after",locateInMenu:"never",sortIndex:40};t.push(a)}return t},_getSearchTextEditor:function(){var e=this.element(),t=e.find("."+this.addWidgetPrefix(v)).filter(function(){return(0,s.default)(this).closest(".dx-datagrid-header-panel").is(e)});return t.length?t.dxTextBox("instance"):null},isVisible:function(){var t=e(this);return this.callBase()||t&&t.visible},optionChanged:function(e){if("searchPanel"===e.name){if("searchPanel.text"===e.fullName){var t=this._getSearchTextEditor();t&&t.option("value",e.value)}else this._invalidate();e.handled=!0}else this.callBase(e)}}}(),rowsView:{init:function(){this.callBase.apply(this,arguments),this._searchParams=[]},_getFormattedSearchText:function(e,t){var n=a(e,t),i=(0,p.getFormatOptionsByColumn)(e,"search");return(0,p.formatValue)(n,i)},_getStringNormalizer:function(){var e=this.option("searchPanel.highlightCaseSensitive");return function(t){return e?t:t.toLowerCase()}},_findHighlightingTextNodes:function(e,t,n){var i,o,a=this,r=t.parent(),l=this._getStringNormalizer(),u=l(n);return r.length?e&&(o=a._columnsController.getVisibleIndex(e.index),i=r.children("td").eq(o).find("*")):r=(0,s.default)("<div>").append(t),i=i&&i.length?i:r.find("*"),i=i.filter(function(e,t){for(var n=(0,s.default)(t).contents(),i=0;i<n.length;i++){var o=n.get(i);return 3===o.nodeType&&l(o.textContent||o.nodeValue).indexOf(u)>-1}})},_highlightSearchTextCore:function(e,t){var n=this,i=(0,s.default)("<span>").addClass(n.addWidgetPrefix(y)),o=e.text(),a=e[0],r=this._getStringNormalizer(),l=r(o).indexOf(r(t));if(l>=0)return a.textContent?a.textContent=o.substr(0,l):a.nodeValue=o.substr(0,l),e.after(i.text(o.substr(l,t.length))),e=(0,s.default)(u.default.createTextNode(o.substr(l+t.length))).insertAfter(i),n._highlightSearchTextCore(e,t)},_highlightSearchText:function(e,t,n){var i=this,o=this._getStringNormalizer(),a=i.option("searchPanel.text");if(t&&n&&(a=a&&i._getFormattedSearchText(n,a)),a&&i.option("searchPanel.highlightSearchText")){var r=i._findHighlightingTextNodes(n,e,a);(0,h.each)(r,function(e,n){(0,h.each)((0,s.default)(n).contents(),function(e,n){t?o((0,s.default)(n).text())===o(a)&&(0,s.default)(this).replaceWith((0,s.default)("<span>").addClass(i.addWidgetPrefix(y)).text((0,s.default)(n).text())):i._highlightSearchTextCore((0,s.default)(n),a)})})}},_renderCore:function(){this.callBase.apply(this,arguments),this.option("rowTemplate")&&(this.option("templatesRenderAsynchronously")?(clearTimeout(this._highlightTimer),this._highlightTimer=setTimeout(function(){this._highlightSearchText(this._getTableElement())}.bind(this))):this._highlightSearchText(this._getTableElement()))},_updateCell:function(e,t){var n=t.column,i=n.lookup&&n.lookup.dataType||n.dataType,a="string"!==i;o(n)&&(this.option("templatesRenderAsynchronously")?(this._searchParams.length||(clearTimeout(this._highlightTimer),this._highlightTimer=setTimeout(function(){this._searchParams.forEach(function(e){this._highlightSearchText.apply(this,e)}.bind(this)),this._searchParams=[]}.bind(this))),this._searchParams.push([e,a,n])):this._highlightSearchText(e,a,n)),this.callBase(e,t)},dispose:function(){clearTimeout(this._highlight },_allowRowUpdating:function(){var e=this.getVisibleRowIndex(),t=this._dataController.items()[e];return this._editingController.allowUpdating({row:t},"click")},_clickTargetCellHandler:function(e,t){var n,i=this.getView("rowsView").getCellIndex(t),o=this._columnsController.getVisibleColumns()[i],a=this._isCellEditMode();if(this.setCellFocusType(),n=this._fireFocusChangingEvents(e,t,!0),t=n.$newCellElement,n.cancel)this.setRowFocusType(),this.setFocusedRowIndex(n.prevRowIndex),t=this._getFocusedCell(),this._editingController.isEditing()&&a&&this._editingController.closeEditCell();else{if(n.resetFocusedRow)return void this.getController("focus")._resetFocusedRow();if(n.rowIndexChanged&&(t=this._getFocusedCell()),n.isHighlighted||a||this.setRowFocusType(),this._updateFocusedCellPosition(t),this._allowRowUpdating()&&a&&o&&o.allowEditing)this._isHiddenFocus=!1;else{var r=e&&(0,d.default)(e.target),s=r&&r.not(t).is(X),l=!n.isHighlighted||s;this._focus(t,l,s)}}},_initFocusedViews:function(){var e=this,t=e.createAction(e._clickHandler);e._focusedViews=[],(0,w.each)(Z,function(t,n){var i=e.getView(n);i&&i.isVisible()&&e._focusedViews.push(i)}),(0,w.each)(e._focusedViews,function(n,i){i&&i.renderCompleted.add(function(o){var a=i.element(),r=!o||"refresh"===o.changeType,s=e._focusedView&&e._focusedView.name===i.name,l=!1,u=o&&("append"===o.changeType||"prepend"===o.changeType),c="."+M+" > td, ."+M;g.default.off(a,I.default.addNamespace(D.default.down,"dxDataGridKeyboardNavigation"),t),g.default.on(a,I.default.addNamespace(D.default.down,"dxDataGridKeyboardNavigation"),c,{viewIndex:n,view:i},t),e._initKeyDownProcessor(e,a,e._keyDownHandler),s&&(l=e._isNeedFocus?!u:e._isHiddenFocus&&r,l&&e._updateFocus(!1,!0))})})},_initKeyDownProcessor:function(e,t,n){this._keyDownProcessor&&(this._keyDownProcessor.dispose(),this._keyDownProcessor=null),this._keyDownProcessor=new k.default({element:t,context:e,handler:n})},_getCell:function(e){if(this._focusedView&&e)return this._focusedView.getCell({rowIndex:e.rowIndex-this._dataController.getRowIndexOffset(),columnIndex:e.columnIndex})},_getFocusedCell:function(){return this._getCell(this._focusedCellPosition)},_getRowIndex:function(e){var t=this,n=t._focusedView,i=-1;return n&&(i=n.getRowIndex(e)),i>=0&&(i+=t._dataController.getRowIndexOffset()),i},_updateFocusedCellPosition:function(e,t){var n=this._getCellPosition(e,t);n&&(!e.length||n.rowIndex>=0&&n.columnIndex>=0)&&this.setFocusedCellPosition(n.rowIndex,n.columnIndex)},_getCellPosition:function(e,t){var n,i,o=this,a=e.closest("tr");if(a.length>0&&o._focusedView)return n=a.length>0&&o._getRowIndex(a),i=o._focusedView.getCellIndex(e,n),t&&(i="previous"===t?i-1:i+1,i=o._applyColumnIndexBoundaries(i)),{rowIndex:n,columnIndex:i}},setFocusedCellPosition:function(e,t){this.setFocusedRowIndex(e),this.setFocusedColumnIndex(t)},setFocusedRowIndex:function(e){this._focusedCellPosition||(this._focusedCellPosition={}),this._focusedCellPosition.rowIndex=e},setFocusedColumnIndex:function(e){this._focusedCellPosition||(this._focusedCellPosition={}),this._focusedCellPosition.columnIndex=e},getVisibleRowIndex:function(){return this._focusedCellPosition?this._focusedCellPosition.rowIndex?this._focusedCellPosition.rowIndex-this._dataController.getRowIndexOffset():this._focusedCellPosition.rowIndex:null},getVisibleColumnIndex:function(){return this._focusedCellPosition&&(0,y.isDefined)(this._focusedCellPosition.columnIndex)?this._focusedCellPosition.columnIndex:-1},getFocusedColumnIndex:function(){return this._focusedCellPosition?this._focusedCellPosition.columnIndex:null},_applyColumnIndexBoundaries:function(e){var t=this._getVisibleColumnCount();return e<0?e=0:e>=t&&(e=t-1),e},_isCellValid:function(e){if((0,y.isDefined)(e)){var t=this.getView("rowsView"),n=e.parent(),i=this._columnsController.getVisibleColumns(),o=t.getCellIndex(e),s=i[o],l=this._getVisibleColumnCount(),u=this._editingController,c=a(n),d=s&&s.showWhenGrouped,h=s&&!e.hasClass(G)&&r(n),p=function(){return!c&&s&&(!(0,y.isDefined)(s.groupIndex)||d&&h)||parseInt(e.attr("colspan"))>1};if(this._isMast columns:n,row:t.row,isFixed:!0}):0,a>0&&(o=P(r._columnsController.getFixedColumns()),i=n.length-a<o))),i)){if(r.option("legacyRendering")||s.command&&"buttons"!==s.type||"group"===t.rowType)return void e.html(" ").addClass(s.cssClass);e.addClass("dx-hidden-cell")}s.command!==O&&r.callBase(e,t)},_getCellElementsCore:function(e){var t,n,i,o,a=this,r=a.callBase(e),s=r.parent().hasClass(B),l="columnHeadersView"===a.name?e:void 0;return a._fixedTableElement&&r&&(n=a.getFixedColumns(l),o=a._getRowElements(a._fixedTableElement).eq(e).children("td"),(0,_.each)(o,function(e,u){s?r[e]&&"hidden"!==u.style.visibility&&(r[e]=u):(t=n[e],t&&(t.command===O?o.eq(e).hasClass(C)&&(r[e]=u||r[e]):(i=a._columnsController.getVisibleIndex(t.index,l),r[i]=u||r[i])))})),r},getColumnWidths:function(){var e,t=this,n=t.callBase(),i=t.getFixedColumns();return t._fixedTableElement&&n.length&&(e=t.callBase(t._fixedTableElement)),M(i,n,e)},_getTableElement:function(){var e=this._isFixedTableRendering?this._fixedTableElement:this.callBase();return e},_setTableElement:function(e){this._isFixedTableRendering?this._fixedTableElement=e.addClass(A):this.callBase(e)},getColumns:function(e,t){return t=t||this._getTableElement(),this._isFixedTableRendering||t&&t.closest("table").parent("."+this.addWidgetPrefix(w)).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("."+A).first()},getFixedTableElement:function(){return this._fixedTableElement},isFixedColumns:function(){return this._isFixedColumns},_resizeCore:function(){this.callBase(),this.synchronizeRows()},setColumnWidths:function(e){var t,n=!1;this.callBase.apply(this,arguments),this._fixedTableElement&&(n=this.option("legacyRendering")?e&&e.length&&!this.isScrollbarVisible(!0):e&&e.filter(function(e){return"auto"===e}).length,n&&(t=this._columnsController.getVisibleColumns()),this.callBase(e,this._fixedTableElement,t,!0)),e&&e.length&&(0,f.isDefined)(this._columnsController.getVisibleColumns()[0].visibleWidth)&&this.synchronizeRows()},_createColGroup:function(e){if(!this.option("legacyRendering")&&this._isFixedTableRendering&&!this.option("columnAutoWidth")){var t=this._columnsController.getVisibleColumns(),n=t.filter(function(e){return!e.width}).length;n&&(e=t)}return this.callBase(e)},_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,l=this,u=[],c=[];if(l._isFixedColumns&&l._tableElement&&l._fixedTableElement&&(i=l._getClientHeight(l._tableElement.get(0)),o=l._getClientHeight(l._fixedTableElement.get(0)),a=l._getRowElements(l._tableElement),r=l._getRowElements(l._fixedTableElement),s=l._findContentElement(),i!==o)){for(s&&s.css("height",i),a.css("height",""),r.css("height",""),n=0;n<a.length;n++)u.push(l._getClientHeight(a.get(n))),c.push(l._getClientHeight(r.get(n)));for(n=0;n<a.length;n++)e=u[n],t=c[n],e>t?r.eq(n).css("height",e):e<t&&a.eq(n).css("height",t);s&&s.css("height","")}}},V=(0,g.extend)({},R,{_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.co },_processNextCellInMasterDetail:function(e){if(this.callBase(e),!this._isInsideEditForm(e)&&e){var t=function t(){c.default.off(e,"focus",t),c.default.trigger(e,"dxclick")};c.default.on(e,"focus",t)}},_handleTabKeyOnMasterDetailCell:function(e,t){var n=this.callBase(e,t),i=this._getFocusedCell();if(!n&&i){var o=i.parent(),r=a(o),s="next"===t?r.last():r.first(),l=o.get(0).rowIndex,u=this._adaptiveController,c=this._dataController.getKeyByRowIndex("next"===t?l:l-1),d=i&&s&&i.get(0)===s.get(0);return u.isAdaptiveDetailRowExpanded(c)&&d}return n},init:function(){this.callBase(),this._adaptiveController=this.getController("adaptiveColumns")}}}}}},function(e,t,n){var i=n(7),o=n(368),a=50,r={_resizeCore:function(){this.callBase.apply(this,arguments),this._columnsController.resize()},_handleScroll:function(e){var t=this,n=this.getScrollable(),i=e.scrollOffset.left;t.callBase.apply(t,arguments),t.option("rtlEnabled")&&n&&(i=n.$content().width()-n.$element().width()-i),t._columnsController.setScrollPosition(i)}},s={_renderCore:function(){var e=this,t=e._scrollLeft;e.callBase.apply(e,arguments),e._columnsController.isVirtualMode()&&t>=0&&(e._scrollLeft=0,e.scrollTo({left:t}))}},l=function(){var e=function(e){return e.map(function(e){return e.visibleWidth||parseFloat(e.width)||a})},t={init:function(){var e=this;e.callBase(),e._beginPageIndex=0,e._endPageIndex=0,e._position=0,e._virtualVisibleColumns={}},resetColumnsCache:function(){this.callBase(),this._virtualVisibleColumns={}},getBeginPageIndex:function(t){for(var n=this.getVisibleColumns(void 0,!0),i=e(n),o=0,a=0;a<i.length;a++){if(o>=t)return Math.floor(a/this.getColumnPageSize());o+=i[a]}return 0},getTotalWidth:function(){var e=this.option("width");return"number"==typeof e?e:this.getController("resizing")._lastWidth||this.component.$element().outerWidth()},getEndPageIndex:function(t){var n=this.getVisibleColumns(void 0,!0),i=e(n),o=0;t+=this.getTotalWidth();for(var a=0;a<i.length;a++){if(o>=t)return Math.ceil(a/this.getColumnPageSize());o+=i[a]}return Math.ceil(i.length/this.getColumnPageSize())},getColumnPageSize:function(){return this.option("scrolling.columnPageSize")},_fireColumnsChanged:function(){var e=new Date;this.columnsChanged.fire({optionNames:{all:!0,length:1},changeTypes:{columns:!0,length:1}}),this._renderTime=new Date-e},setScrollPosition:function(e){var t=this,n=t.option("scrolling.columnRenderingThreshold");t._renderTime>n?(clearTimeout(t._changedTimeout),t._changedTimeout=setTimeout(function(){t._setScrollPositionCore(e)},t.option("scrolling.timeout"))):t._setScrollPositionCore(e)},isVirtualMode:function(){return(0,i.hasWindow)()&&"virtual"===this.option("scrolling.columnRenderingMode")},resize:function(){this._setScrollPositionCore(this._position)},_setScrollPositionCore:function(e){var t=this;if(t.isVirtualMode()){var n=t.getBeginPageIndex(e),i=t.getEndPageIndex(e),o=e<t._position?t._beginPageIndex>n:t._endPageIndex<i;t._position=e,o&&(t._beginPageIndex=n,t._endPageIndex=i,t._fireColumnsChanged())}},getFixedColumns:function(e,t){var n=this.callBase(e);if(this.isVirtualMode()&&!t&&n.length){var i=n.map(function(e){return e.command}).indexOf("transparent");return n[i].colspan=this.getVisibleColumns().length-this.callBase().length+1,n}return n},getVisibleColumns:function(t,n){if(n||!this.isVirtualMode())return this.callBase(t);this._beginPageIndex||this._endPageIndex||(this._beginPageIndex=this.getBeginPageIndex(this._position),this._endPageIndex=this.getEndPageIndex(this._position));var i=this._beginPageIndex,a=this._endPageIndex,r=t+"-"+i+"-"+a;if(this._virtualVisibleColumns[r])return this._virtualVisibleColumns[r];var s=this.callBase(),l=this.getRowCount(),u=this.getColumnPageSize(),c=i*u,d=a*u,h=this.getFixedColumns(void 0,!0),p=h.map(function(e){return e.command}).indexOf("transparent"),f=h.length?p:0,g=s.slice(0,f),_=s.slice(f,c),m=e(_).reduce(function(e,t){return e+t},0);m||(c=0);var v=h.length?h.length-p-1:0,y=s.slice(s.length-v),x=s.slice(d,s.length-v),b=e(x).reduce(function(e,t){return e+t},0);if(b||(d=s.length),l>1&&"number"==typeof t){for(var w=[] x&&(f="("+r(w)+")")),f){if(f=s(he,f),c){var D=(w.hierarchyName||w.dataField)+("displayText"===w.sortBy?".MEMBER_CAPTION":".MEMBER_VALUE");f=s(re,f,D,"desc"===w.sortOrder?"DESC":"ASC")}S.push(f)}return y(S)}function w(e,t,n,i,o,a,r,l,u,c){var d,h=-1,p=a[r];do{h++,d=t.length+h+i;var f=b(t,n,h,i,o,a,r,u);u||c||(f=s(ue,f,l)),e.push(f)}while(p[d]&&p[d+1]&&p[d].expanded)}function C(e,t,n,i){return n=n||"[DX_Set_"+t.length+"]",i=i||"set",t.push(s(se,i,n,e)),n}function k(e,t,n,i,o){var a=e[t],r=[],l=[],u=[],c=0,d=0,h=[],p=s(he,n.join(","));if(a&&a.length){e.headerName===t?(l=e.path,c=l.length):e.headerName&&e.oppositePath?(l=e.oppositePath,c=l.length):u=("columns"===t?e.columnExpandedPaths:e.rowExpandedPaths)||u,d=f.getExpandedLevel(e,t),w(r,[],d,c,l,e,t,p,"rows"===t?e.rowTake:e.columnTake,e.totalsOnly),pe(u,function(n,i){w(r,i,d,c,i,e,t,p)});for(var g=d;g>=l.length;g--)a[g].hierarchyName&&(o.visibleLevels[a[g].hierarchyName]=o.visibleLevels[a[g].hierarchyName]||[],o.visibleLevels[a[g].hierarchyName].push(a[g].dataField))}if(r.length){var _=x(r);"rows"===t&&e.rowTake&&(_=s(ae,_,e.rowSkip>0?e.rowSkip+1:0,e.rowSkip>0?e.rowTake:e.rowTake+1)),"columns"===t&&e.columnTake&&(_=s(ae,_,e.columnSkip>0?e.columnSkip+1:0,e.columnSkip>0?e.columnTake:e.columnTake+1));var m="[DX_"+t+"]";h.push(C(_,i,m)),e.totalsOnly&&h.push(C("COUNT("+m+")",i,"[DX_"+t+"_count]","member"))}return"columns"===t&&n.length&&!e.skipValues&&h.push(p),s(ce,y(h),t)}function S(e){var t=[];return pe(e,function(e,n){var i,o=n.dataField,a=[],r=n.filterValues||[];n.hierarchyName&&d.isNumeric(n.groupIndex)||(pe(r,function(e,t){var i=o+"."+z(Array.isArray(t)?t[t.length-1]:t,o);"exclude"===n.filterType&&(a.push(i+".parent"),i="Descendants("+i+")"),a.push(i)}),r.length&&(i=s(he,a.join(",")),"exclude"===n.filterType&&(i="Except("+g(n)+","+i+")"),t.push(i)))}),t.length?y(t):""}function I(e,t,n,i){var o="["+i+"]";return pe([e,t,n],function(e,t){t&&(o=s(oe,t+"on 0",o))}),o}function T(e,t,n,i,o,a,r){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u="",c=(t.length?"with "+t.join(" "):"")+" ";if(e.length){var d=void 0;if(l.totalsOnly){var h=[];i.length&&h.push("[DX_rows_count]"),n.length&&h.push("[DX_columns_count]"),d="{"+h.join(",")+"} on columns"}else d=e.join(",");u=c+s(ie,I(S(n),S(i),S(o||[]),r),a.length?s(le,a.join(",")):"",d)}return u}function D(e,t){return h.map(t,function(t){return d.isString(t.expression)&&C(t.expression,e,t.dataField,"member"),t.dataField})}function E(e,t,n,i){pe(i,function(i,o){var a=t[n][i];a.hierarchyName&&a.hierarchyName===t[n][i+1].hierarchyName||e.push(a.dataField+"."+z(o,a.dataField))})}function A(e,t,n){var i=e.columns||[],o=e.rows||[],a=e.values&&e.values.length?e.values:[{dataField:"[Measures]"}],r=[],s=[],l=[],u=D(s,a);return n.measureCount=e.skipValues?1:a.length,n.visibleLevels={},e.headerName&&e.path&&E(r,e,e.headerName,e.path),e.headerName&&e.oppositePath&&E(r,e,"rows"===e.headerName?"columns":"rows",e.oppositePath),(i.length||u.length)&&l.push(k(e,"columns",u,s,n)),o.length&&l.push(k(e,"rows",u,s,n)),T(l,s,i,o,e.filters,r,t,e)}function O(e,t,n){pe(n,function(n,i){var o=t[n];o.hierarchyName&&(t[n+1]||{}).hierarchyName===o.hierarchyName||e.push(o.dataField+"."+z(i,o.dataField))})}function B(e,t,n){var i,o=e.columns||[],a=e.rows||[],r=e.values&&e.values.length?e.values:[{dataField:"[Measures]"}],s=[],l=[],u=[],c=D(l,r),d=n.maxRowCount,h=n.customColumns||[],p=h.length>0?" return "+h.join(","):"";return O(s,o,n.columnPath||[]),O(s,a,n.rowPath||[]),(o.length||o.length||c.length)&&u.push([(c[n.dataIndex]||c[0])+" on 0"]),i=T(u,l,o,a,e.filters,s,t),i?"drillthrough"+(d>0?" maxrows "+d:"")+i+p:i}function P(e){return parseInt(e,10)}function M(e){return d.isNumeric(e)?parseFloat(e):e}function R(e,t){return(e.getElementsByTagName(t)||[])[0]}function V(e,t){return L(R(e,t))}function F(e,t){var n=[];for(pe(e.getElementsByTagName("Axis"),function(e,i){var o=i.getAttribute("name"),a=[],r=0;0===o.indexOf("Axis")&&d.isNumeric(P(o.substr(4)))&&(n.push(a),pe(i.getElementsByTagName("Tuple"),function(e,i){var o,s,l,u=i.childNodes,c=0,d=[],h=t?u.len },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("."+ce).eq(0)},_getAllFocusedCells:function(){return this._focusedCells||this._$dateTable.find("."+ce).eq(0)},_getCellFromNextRow:function(e){var t=this._$focusedCell;if(y(t)){var n=t.index(),i=t.parent(),o=i[e]().children().eq(n);return o=this._checkForViewBounds(o)}},_checkForViewBounds:function(e){return e.length||(e=this._$focusedCell),e},_getRightCell:function(e){if(y(this._$focusedCell)){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 u=n.parent(),c=this._isRTL()?1:-1;t=u[l]().children().eq(s+c*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){if(y(this._$focusedCell)){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 u=n.parent(),c=this._isRTL()?-1:1;t=u[l]().children().eq(s+c*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(y(e)&&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 o=i(this._focusedCells);this._toggleFocusClass(!0,o),this.setAria("label","Add appointment",o),this._toggleFocusedCellClass(!0,e),this._$focusedCell=e;var a=this.getFocusedCellData();this.option("selectedCellData",a),this._selectionChangedAction({selectedCellData:a})}},_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),o=this._getCells(n),a=o.index(e),r=o.index(t);if(a>r){var s=a;a=r,r=s}if(o=o.slice(a,r+1),this._getGroupCount()>1){var l=[],u=this._getGroupIndexByCell(e);h(o,function(e,t){var n=this._getGroupIndexByCell(i(t));u===n&&l.push(t)}.bind(this)),o=i(l)}return o},_hasAllDayClass:function(e){return e.hasClass(X)},_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(he,e)},_releaseFocusedCell:function(e){e=e||i(this._focusedCells),y(e)&&e.length&&(this._toggleFocusClass(!1,e),this._toggleFocusedCellClass(!1,e),this.setAria("label",void 0,e)),this.option("selectedCellData",[])},_focusInHandler:function(e){if(i(e.target).is(this._focusTarget())&&this._isCellClick!==!1){delete this._isCellClick,delete this._contextMenuHandled,this.callBase.apply(this,arguments);var t=this._getFocusedCell();this._setFocusedCell(t)}},_focusOutHandler:function(){this.callBase.apply(this,arguments),this._contextMenuHandled||this._releaseFocusedCell()},_focusTarget:function(){return this.$element()},_activeStateUnit:"."+ce+", ."+X,_getDefaultOptions:function(){return d(this.callBase(),{currentDate:new Date,intervalCount:1,startDate:null,firstDayOfWeek:void 0,startDayHour:0,endDayHour:24,hoursInterval:.5,activeStateEnabled:!0,hoverStateEnabled:!0,groups:[],showAllDayPanel:!0,allDayExpanded:!1,onCellClick:null,crossScrol },_getCellPositionByIndex:function(e,t,n){var i=this._getCellCoordinatesByIndex(e),o=this._getCellByCoordinates(i,t,n),a=this._getCellPosition(o);return this.setCellDataCache(i,t,o),a&&(a.rowIndex=i.rowIndex,a.cellIndex=i.cellIndex),a},_getCellPosition:function(e){var t=this.option("rtlEnabled"),n=e.position();return t&&(n.left+=e.get(0).getBoundingClientRect().width),n},_getCellByCoordinates:function(e,t,n){var i=this._groupedStrategy.prepareCellIndexes(e,t,n);return this._$dateTable.find("tr").eq(i.rowIndex).find("td").eq(i.cellIndex)},_getCells:function(e){var t=e?X:ce;return this.$element().find("."+t)},_setHorizontalGroupHeaderCellsHeight:function(){var e=this._$dateTable.get(0).getBoundingClientRect().height;this._$groupTable.outerHeight(e)},_getDateTableBorder:function(){return Se},_getDateTableBorderOffset:function(){return 2*this._getDateTableBorder()},_getGroupHeaderCellsContent:function(){return this.$element().find("."+le)},_getGroupHeaderCells:function(){return this.$element().find("."+se)},_getScrollCoordinates:function(e,t,n){var i=n||new Date(this.option("currentDate")),o=this.option("startDayHour"),a=this.option("endDayHour");return e<o&&(e=o),e>=a&&(e=a-1),i.setHours(e,t,0,0),this.getCoordinatesByDate(i)},setCellDataCache:function(e,t,n){var i=this.getCellDataCache(),o=this.getCellData(n),a=JSON.stringify({rowIndex:e.rowIndex,cellIndex:e.cellIndex,groupIndex:t});i[a]=o},setCellDataCacheAlias:function(e,t){var n=JSON.stringify({rowIndex:e.rowIndex,cellIndex:e.cellIndex,groupIndex:e.groupIndex}),i=JSON.stringify({top:t.top,left:t.left}),o=this.getCellDataCache();o[n]&&(o[i]=o[n])},getCellDataCache:function(e){return this._cache||(this._cache={}),e?this._cache[e]:this._cache},_cleanCellDataCache:function(){delete this._cache},_cleanAllowedPositions:function(){delete this._maxAllowedVerticalPosition,delete this._maxAllowedPosition},supportAllDayRow:function(){return!0},keepOriginalHours:function(){return!1},getFocusedCellData:function(){var e=this._getAllFocusedCells(),t=[];if(e.length>1)t=this._getMultipleCellsData(e);else{var n=this.getCellData(e);n&&t.push(n)}return t},_getMultipleCellsData:function(e){for(var t=[],n=0;n<e.length;n++)t.push(r.data(e[n],ke));return t},getCellData:function(e){var t=e[0]?r.data(e[0],ke):void 0;return d(!0,{},t)},_getHorizontalMax:function(e){return e=this.option("groupByDate")?this._getGroupCount()-1:e,this._groupedStrategy.getHorizontalMax(e)},getCoordinatesByDate:function(e,t,n){t=t||0;var i=this.getCellIndexByDate(e,n),o=this._getCellPositionByIndex(i,t,n),a=this.getPositionShift(n?0:this.getTimeShift(e)),r=this._getHorizontalMax(t,e);if(!o)throw C.Error("E1039");var s={cellPosition:o.left+a.cellPosition,top:o.top+a.top,left:o.left+a.left,rowIndex:o.rowIndex,cellIndex:o.cellIndex,hMax:r,vMax:this.getVerticalMax(t),groupIndex:t};return s},getVerticalMax:function(e){return this._groupedStrategy.getVerticalMax(e)},_getOffsetByAllDayPanel:function(e){return this._groupedStrategy._getOffsetByAllDayPanel(e)},_getGroupTop:function(e){return this._groupedStrategy._getGroupTop(e)},isGroupedByDate:function(){return this.option("groupByDate")&&this._isHorizontalGroupedWorkSpace()&&this._getGroupCount()>0},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)),o<0&&(o=0),o},getPositionShift:function(e){return{top:e*this.getCellHeight(),left:0,cellPosition:0}},getTimeShift:function(e){var t=this.getCellDuration(),n=new Date(e);return n.setHours(this.option("startDayHour"),0,0,0),(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} var r=o.get;if(void 0!==r)return r.call(i)},u=n(2),c=i(u),d=n(0),h=n(17),p=i(h),f=n(34),g=i(f),_="dx-filemanager-file-actions-button",m="dx-filemanager-file-actions-button-activated",v="dx-state-active",y=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),s(t,[{key:"_initMarkup",value:function(){var e=this;this._createClickAction();var n=(0,c.default)("<div>");this.$element().append(n).addClass(_),this._button=this._createComponent(n,g.default,{text:"⋮",stylingMode:"text",onClick:function(t){return e._raiseClick(t)},template:function(){return(0,c.default)("<i>").html("⋮")}}),l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"_initMarkup",this).call(this)}},{key:"_createClickAction",value:function(){this._clickAction=this._createActionByOption("onClick")}},{key:"_raiseClick",value:function(e){this._clickAction(e)}},{key:"_getDefaultOptions",value:function(){return(0,d.extend)(l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"_getDefaultOptions",this).call(this),{cssClass:"",onClick:null})}},{key:"_optionChanged",value:function(e){var n=e.name;switch(n){case"cssClass":this.repaint();break;case"onClick":this._createClickAction();break;default:l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"_optionChanged",this).call(this,e)}}},{key:"setActive",value:function(e){var t=this;this.$element().toggleClass(m,e),setTimeout(function(){return t._button.$element().toggleClass(v,e)})}}]),t}(p.default);e.exports=y},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),l=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,i)}if("value"in o)return o.value;var r=o.get;if(void 0!==r)return r.call(i)},u=n(0),c=n(154),d=n(9),h=n(5),p=i(h),f=n(60),g=n(17),_=i(g),m="dx-filemanager-files-view",v="dxFileManager_open",y=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),s(t,[{key:"_initMarkup",value:function(){this._initActions(),this.$element().addClass(m);var e=(0,d.addNamespace)(c.name,v);p.default.on(this.$element(),e,this._getItemSelector(),this._onItemDblClick.bind(this)),l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"_initMarkup",this).call(this)}},{key:"_initActions",value:function(){this._actions={onError:this._createActionByOption("onError"),onSelectionChanged:this._createActionByOption("onSelectionChanged"),onSelectedItemOpened:this._createActionByOption("onSelectedItemOpened")}}},{key:"_getDefaultOptions",value:function(){return(0,u.extend)(l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"_getDefaultOptions",this).call(this),{selectionMode:"single",contextMenu:null,getItems:null,getItemThumbnail:null,onError:null,onSelectionChanged:null,onSelectedItemOpened:null})}},{key:"_optionChanged",value:function(e){var n=e.name;switch(n){case"selectionMode":case"contextMenu":case"getItems":case"getItemThumbnail":this.repaint();break;case"onError":case"onSelectedItemOpened":case"onSelectionChanged":this._actions[n]=this._createActionByOption(n);break;default:l(t.prototype.__proto__||Object.g 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()}).smartAttr(t).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),a=e.formatValue(t.openValue),r=e.formatValue(t.closeValue),s=e.formatValue(t.lowValue),l=o,u=l._getFormatObject.call(t,e);return i({},u,{valueText:"h: "+n+(""!==a?" o: "+a:"")+(""!==r?" c: "+r:"")+" l: "+s,highValueText:n,openValueText:a,closeValueText:r,lowValueText:s})},getMaxValue:function(){return this.highValue},getMinValue:function(){return this.lowValue}})},function(e,t,n){var i=n(4).noop,o=n(1),a=n(0).extend,r=n(261).BaseThemeManager,s=o.isString,l=o.isDefined,u=n(11).normalizeEnum,c=r.inherit(function(){var e=function(e){var t=this;t.callBase.apply(t,arguments);var n=e.options||{};t._userOptions=n,t._mergeAxisTitleOptions=[],t._multiPieColors={},t._callback=i},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={}},r=function(e){return s(e)?{text:e}:e},c=function(e){return e?(e=a(!0,{},e),e.title=r(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),e):{}},d=function(e,t,n){var i=this._theme,o=n^"valueAxis"===e?"verticalAxis":"horizontalAxis",r=c(t,e),s=c(this._userOptions.commonAxisSettings,e),u=a(!0,{},i.commonAxisSettings,i[o],i[e],s,r);return u.workWeek=r.workWeek||i[e].workWeek,u.forceUserTickInterval|=l(r.tickInterval)&&!l(r.axisDivisionFactor),u},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)?a(!0,{},n,t):l(t)?t:n,this._mergedSettings[e]=i,i)},p={base:h,argumentAxis:d,valueAxisRangeSelector:function(){return h.call(this,"valueAxis")},valueAxis:d,series:function(e,t,n){var i,o,r,s=this,l=s._theme,c=s._userOptions.commonSeriesSettings||{},d=l.commonSeriesSettings,h=s._themeSection.split(".").slice(-1)[0],g=u(t.type||c.type||d.type||"pie"===h&&l.type),_=s.palette,m=~g.indexOf("bar"),v=~g.indexOf("line"),y=~g.indexOf("area"),x="bubble"===g,b=s.getOptions("resolveLabelsOverlapping"),w=s.getOptions("containerBackgroundColor"),C=p.seriesTemplate.call(this);return(m||x)&&(t=a(!0,{},c,c[g],t),r=t.visible,c={type:{}},a(!0,t,t.point),t.visible=r),i=a(!0,{aggregation:{}},d,d[g],c,c[g],t),i.aggregation.enabled="chart"===h&&f(i.aggregation,s.getOptions("useAggregation")),i.type=g,i.widgetType=h,i.containerBackgroundColor=w,o="pie"!==h?i.color||_.getNextColor(n):function(e,t,n){var i=e+"-"+t;return s._multiPieColors[i]||(s._multiPieColors[i]=_.getNextColor(n)),s._multiPieColors[i]},i.mainSeriesColor=o,i.resolveLabelsOverlapping=b,i.label&&(v||y&&"rangearea"!==g||"scatter"===g)&&(i.label.position="outside"),C&&(i.nameField=C.nameField),i},animation:function(e){var t=this._userOptions[e];return t=o.isPlainObject(t)?t:l(t)?{enabled:!!t}:{},h.call(this,e,t)},seriesTemplate:function(){var e=h.call(this,"seriesTemplate");return e&&(e.nameField=e.nameField||"series"),e},zoomAndPan:function(){function e(e){e=u(e);var t="pan"===e||"both"===e,n="zoom"===e||"both"===e;return{pan:t,zoom:n,none:!t&&!n}}var t=this._userOptions.zoomAndPan;if(!l(t)){var n=u(this.getOptions("zoomingMode")),i=u(this.getOptions("scrollingMode")),o=["all","mouse","touch"].indexOf(n)!==-1,a=["all","mouse","touch"].indexOf(i)!==-1;t={argumentAxis:o&&a?"both return t=e.rangeIsEmpty?o(e):"discrete"===e.axisType?a(e):"logarithmic"===e.axisType?z(e):"datetime"===e.dataType?N(e):H(e)}},function(e,t,n){function i(e){return{stroke:e.color,"stroke-width":e.width,"stroke-opacity":e.opacity,opacity:1}}function o(e,t,n,o,s,l,u){function c(t){var n=e._textFontStyles,i=y.customizeColor;return i&&i.call&&(n=r({},e._textFontStyles,{fill:i.call(t,t)})),n}function d(t,n){var i=e.formatHint(t.value,y,n);a(i)&&""!==i&&t.label.setTitle(i)}var h=u||e._tickOffset,p=e._axisLineGroup,f=e._axisElementsGroup,g=i(n),_=i(o),m=/^\s+$/,v=e.getOptions(),y=v.label,x=e._textOptions;return function(i){var r={value:i,updateValue:function(e){this.value=i=e},initCoords:function(){this.coords=e._getTranslatedValue(i,h),this.labelCoords=e._getTranslatedValue(i)},saveCoords:function(){this._storedCoords=this.coords,this._storedLabelsCoords=this.labelCoords},drawMark:function(t){n.visible&&s!==i&&(e.areCoordsOutsideAxis(this.coords)||(this.mark?(this.mark.append(p),e.sharp(this.mark,e.getSharpDirectionByCoords(this.coords)),this.updateTickPosition(t)):(this.mark=e._createPathElement([],g,e.getSharpDirectionByCoords(this.coords)).append(p),this.updateTickPosition(t))))},setSkippedCategory:function(e){s=e},_updateLine:function(t,n,i,o,a){if(t){if(null===n.points)return void t.remove();o&&i&&null!==i.points?(n.opacity=1,t.attr(i),t.animate(n)):(n.opacity=o?0:1,t.attr(n),o&&t.animate({opacity:1},{delay:.5,partitionDuration:.5})),this.coords.angle&&e._rotateTick(t,this.coords,a)}},updateTickPosition:function(t,i){this._updateLine(this.mark,{points:e._getTickMarkPoints(r.coords,n.length,t)},this._storedCoords&&{points:e._getTickMarkPoints(r._storedCoords,n.length,t)},i,!1)},drawLabel:function(n){var o=y.visible&&!l&&!e.getTranslator().getBusinessRange().isEmpty()&&!e.areCoordsOutsideAxis(this.labelCoords);if(!o)return void(this.label&&this.label.remove());var r=e.formatLabel(i,y,n);return this.label?(this.label.attr({text:r,rotate:0}).append(f),d(this,n),void this.updateLabelPosition()):void(a(r)&&""!==r&&!m.test(r)&&(this.label=t.text(r).css(c(this)).attr(x).data("chart-data-argument",this.value).append(f),this.updateLabelPosition(),d(this,n)))},fadeOutElements:function(){var t={opacity:1},n={opacity:0},i={partitionDuration:.5};this.label&&this._fadeOutLabel(),this.grid&&this.grid.append(e._axisGridGroup).attr(t).animate(n,i),this.mark&&this.mark.append(e._axisLineGroup).attr(t).animate(n,i)},_fadeInLabel:function(){var t=e._renderer.g().attr({opacity:0}).append(e._axisElementsGroup).animate({opacity:1},{delay:.5,partitionDuration:.5});this.label.append(t)},_fadeOutLabel:function(){var t=e._renderer.g().attr({opacity:1}).animate({opacity:0},{partitionDuration:.5}).append(e._axisElementsGroup);this.label.append(t)},updateLabelPosition:function(e){this.label&&(e&&this._storedLabelsCoords?(this.label.attr({x:this._storedLabelsCoords.x,y:this._storedLabelsCoords.y}),this.label.animate({x:this.labelCoords.x,y:this.labelCoords.y})):(this.label.attr({x:this.labelCoords.x,y:this.labelCoords.y}),e&&this._fadeInLabel()))},drawGrid:function(t){o.visible&&s!==this.value&&(this.grid?(this.grid.append(e._axisGridGroup),e.sharp(this.grid,e.getSharpDirectionByCoords(this.coords)),this.updateGridPosition()):(this.grid=t(this,_),this.grid&&this.grid.append(e._axisGridGroup)))},updateGridPosition:function(t){this._updateLine(this.grid,e._getGridPoints(r.coords),this._storedCoords&&e._getGridPoints(this._storedCoords),t,!0)},removeLabel:function(){this.label.remove(),this.label=null}};return r}}var a=n(1).isDefined,r=n(0).extend;t.tick=o},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n,i;if("week"===t&&(t="day"),"quarter"===t&&(t="month"),e[t])for(i=0;i<T.default.dateUnitIntervals.length&&(n=T.default.dateUnitIntervals[i],e[n]&&(e[n]=!1,e.count--),n!==t);i++);}function a(e){return e.sort(function(e,t){return e.from-t.from})}function r(e,t,n){var i=t.minVisible,o=t.maxVisible,a=n?n.width:0;return e.reduce(function(e,t){var n,r=t.from,s=t.to,l=e[e.length-1];return(0,P.isDefined)(r)&&(0,P.isDefined d>=u.left&&d<=u.right&&h>=u.top&&h<=u.bottom?(t._crosshairGroup.attr({visibility:"visible"}),t._resetLinesCanvas(),t._circle.attr({cx:d,cy:h,r:l,"clip-path":t._getClipRectForPane(d,h).id}),r.lines&&(t._updateText(i.yValue,i.axis,r.labels,n,o(d,h,!0,u)),t._updateLines(r.lines,d,h,l,!0),t._horizontalGroup.attr({translateY:h-u.top})),s.lines&&(t._updateText(i.xValue,i.axis,s.labels,n,o(d,h,!1,u)),t._updateLines(s.lines,d,h,l,!1),t._verticalGroup.attr({translateX:d-u.left}))):t.hide()}},t.Crosshair=a},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return{type:e.type,name:e.name,x:e.x,y:e.y,value:e.value,argument:e.argument,axis:e.axis,series:e.series,options:e,draw:function(n,i){var o=this,a=n._renderer.g().append(i);this.plaque=new p.Plaque(e,n,a,t.bind(this)),this.plaque.draw(n._getAnnotationCoords(this)),e.draggable&&a.on(k,{immediate:!0},function(e){o._dragOffsetX=o.plaque.x-e.pageX,o._dragOffsetY=o.plaque.y-e.pageY}).on(S,function(e){o.plaque.move(e.pageX+o._dragOffsetX,e.pageY+o._dragOffsetY)})},hitTest:function(e,t){return this.plaque.hitTest(e,t)},showTooltip:function(e,t){var n=t.x,i=t.y;e.annotation!==this?e.show(this.options,{x:n,y:i},{target:this.options},this.options.customizeTooltip)&&(e.annotation=this):e.move(n,i)}}}function a(e){return o(e,function(t,n,i){var o=i.width,a=i.height,r=t._renderer.text(e.text).css((0,h.patchFontOptions)(e.font)).append(n);((0,u.isDefined)(o)||(0,u.isDefined)(a))&&r.setMaxSize(o,a,{wordWrap:e.wordWrap,textOverflow:e.textOverflow})})}function r(e){var t=e.image||{},n=t.width,i=t.height,a=t.url,r=t.location;return o(e,function(e,t,o){var s=o.width,l=o.height,u=s>0?Math.min(n,s):n,c=l>0?Math.min(i,l):i;e._renderer.image(0,0,u,c,a,r||"center").append(t)})}function s(e,t,n){var i=(0,d.extend)(!0,{},t,e);return n&&n.call&&(i=(0,d.extend)(!0,i,n(e))),"image"===i.type?r(i):"text"===i.type?a(i):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.plugins=t.__test_utils=t.createAnnotations=void 0;var l=n(12),u=n(1),c=n(108),d=n(0),h=n(11),p=n(783),f=n(24),g=i(f),_=n(55),m=i(_),v=n(9),y=n(5),x=i(y),b="annotations",w="."+b,C=(0,v.addNamespace)([g.default.down,g.default.move],b),k=m.default.start+w,S=m.default.move+w,I=t.createAnnotations=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return e.reduce(function(e,i){var o=s(i,t,n);return o&&e.push(o),e},[])},T={name:"annotations_chart",init:function(){},dispose:function(){},members:{_getAnnotationCoords:function(e){var t={},n=this._options.rotated?"y":"x",i=this._options.rotated?"x":"y",o=this.getArgumentAxis(),a=o.validateUnit(e.argument),r=this.getValueAxis(e.axis),s=void 0,l=(0,u.isDefined)(r)?r.pane:void 0;e.series&&(s=this.series.filter(function(t){return t.name===e.series})[0],r=s&&s.getValueAxis(),(0,u.isDefined)(r)&&(l=r.pane)),(0,u.isDefined)(a)&&(t[n]=o.getTranslator().translate(a),!(0,u.isDefined)(l)&&(l=o.pane));var c=r&&r.validateUnit(e.value);return(0,u.isDefined)(c)&&(t[i]=r&&r.getTranslator().translate(c),!(0,u.isDefined)(l)&&(0,u.isDefined)(r)&&(l=r.pane)),t.canvas=this._getCanvasForPane(l),(0,u.isDefined)(t[n])&&!(0,u.isDefined)(c)&&((0,u.isDefined)(r)||(0,u.isDefined)(s)?(0,u.isDefined)(r)&&!(0,u.isDefined)(s)?t[i]=this._argumentAxes.filter(function(e){return e.pane===r.pane})[0].getAxisPosition():(0,u.isDefined)(s)&&s.checkSeriesViewportCoord(o,t[n])&&(t[i]=s.getSeriesPairCoord(t[n],!0)):t[i]=o.getAxisPosition()),!(0,u.isDefined)(a)&&(0,u.isDefined)(t[i])&&((0,u.isDefined)(r)&&!(0,u.isDefined)(s)?t[n]=r.getAxisPosition():(0,u.isDefined)(s)&&(s.checkSeriesViewportCoord(r,t[i])&&(t[n]=s.getSeriesPairCoord(t[i],!1)),(0,u.isDefined)(t[n])||(t[n]=r.getAxisPosition()))),t},_annotationsPointerEventHandler:function(e){var t=e.originalEvent,n=t.touches&&t.touches[0]||{},i=this._renderer.getRootOffset(),o={x:n.pageX||t.pageX||e.pageX,y:n.pageY||t.pageY||e.pageY},a=this._annotations.items.filter(function(e){return e.hitTest(o.x-i.left,o.y-i.top)})[0];return a&&a.options.tooltipEnabled?(this.hideTooltip(),this.clearHover(),a.showTooltip(this._annotat this.ctx.change(["TILES"])}},function(e,t,n){function i(e,t){var n=t.getRootOffset();return[(e[0]+e[2])/2+n.left,(e[1]+e[3])/2+n.top]}var o=n(73).prototype,a=n(143).expand;n(147),a(o,"_extendProxyType",function(e){var t=this;e.showTooltip=function(e){t._showTooltip(this._id,e)}}),a(o,"_onNodesCreated",function(){this._tooltipIndex>=0&&this._tooltip.hide(),this._tooltipIndex=-1}),a(o,"_onTilingPerformed",function(){this._tooltipIndex>=0&&this._moveTooltip(this._nodes[this._tooltipIndex])}),o._showTooltip=function(e,t){var n=this,i=n._tooltip,o=n._nodes[e],a=n._tooltipIndex===e||i.show({value:o.value,valueText:i.formatValue(o.value),node:o.proxy},{x:0,y:0,offset:0},{node:o.proxy});a?n._moveTooltip(o,t):i.hide(),n._tooltipIndex=a?e:-1},o._moveTooltip=function(e,t){var n=t||e.rect&&i(e.rect,this._renderer)||[-1e3,-1e3];this._tooltip.move(n[0],n[1],0)},o.hideTooltip=function(){this._tooltipIndex>=0&&(this._tooltipIndex=-1,this._tooltip.hide())},n(73).addPlugin(n(108).plugin)},function(e,t,n){function i(e){return e.map(function(e,t){return t%2?1-e:e})}var o=n(831),a=n(832),r=n(833),s=n(4).noop,l=n(834),u="NODES_CREATE";o.addAlgorithm("dynamicslope",a,!0),o.addAlgorithm("dynamicheight",r);var c=n(98).inherit({_rootClass:"dxf-funnel",_rootClassPrefix:"dxf",_proxyData:[],_optionChangesMap:{dataSource:"DATA_SOURCE",neckWidth:u,neckHeight:u,inverted:u,algorithm:u,item:u,valueField:u,argumentField:u,colorField:u,palette:u,paletteExtensionMode:u,sortData:u},_themeDependentChanges:[u],_getDefaultSize:function(){return{width:400,height:400}},_themeSection:"funnel",_fontFields:["legend.title.font","legend.title.subtitle.font","legend.font"],_optionChangesOrder:["DATA_SOURCE"],_initialChanges:["DATA_SOURCE"],_initCore:function(){this._group=this._renderer.g().append(this._renderer.root),this._items=[]},_eventsMap:{onHoverChanged:{name:"hoverChanged"},onSelectionChanged:{name:"selectionChanged"}},_disposeCore:s,_applySize:function(e){return this._rect=e.slice(),this._change(["TILING"]),this._rect},_getAlignmentRect:function(){return this._rect},_change_TILING:function(){var e=this,t=e._items,n=e._rect,i=function(e,t){var i=t%2;return n[0+i]+(n[2+i]-n[0+i])*e};this._group.clear(),t.forEach(function(t,n){var o=t.figure.map(i),a=e._renderer.path([],"area").attr({points:o}).append(e._group);t.coords=o,t.element=a}),this._requestChange(["TILES"])},_customChangesOrder:[u,"LAYOUT","TILING","TILES","DRAWN"],_dataSourceChangedHandler:function(){this._requestChange([u])},_change_DRAWN:function(){this._drawn()},_change_DATA_SOURCE:function(){this._change(["DRAWN"]),this._updateDataSource()},_change_NODES_CREATE:function(){this._buildNodes()},_change_TILES:function(){this._applyTilesAppearance()},_suspend:function(){this._applyingChanges||this._suspendChanges()},_resume:function(){this._applyingChanges||this._resumeChanges()},_applyTilesAppearance:function(){this._items.forEach(function(e){var t=e.getState();e.element.smartAttr(e.states[t])})},_hitTestTargets:function(e,t){var n,i=this;return this._proxyData.some(function(o){if(n=o.call(i,e,t))return!0}),n},clearHover:function(){this._suspend(),this._items.forEach(function(e){e.isHovered()&&e.hover(!1)}),this._resume()},clearSelection:function(){this._suspend(),this._items.forEach(function(e){e.isSelected()&&e.select(!1)}),this._resume()},_getData:function(){var e=this,t=e._dataSourceItems()||[],n=e._getOption("valueField",!0),i=e._getOption("argumentField",!0),o=e._getOption("colorField",!0),a=t.reduce(function(e,t){var a=Number(t[n]);return a>=0&&(e[0].push({value:a,color:t[o],argument:t[i],dataItem:t}),e[1]+=a),e},[[],0]),r=a[0];return a[1]||(r=r.map(function(e){return e.value+=1,e})),t.length>0&&0===r.length&&e._incidentOccurred("E2005",n),e._getOption("sortData",!0)&&r.sort(function(e,t){return t.value-e.value}),r},_buildNodes:function(){var e=this,t=e._getData(),n=o.getAlgorithm(e._getOption("algorithm",!0)),a=n.normalizeValues(t),r=e._getOption("item"),s=n.getFigures(a,e._getOption("neckWidth",!0),e._getOption("neckHeight",!0)),u=e._themeManager.createPalette(e._getOption("palette",!0),{useHi }};t.default=p},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(75),r=i(a),s={tryCreateTag:function(e){var t=null;return(0,o.isDefined)(e)&&(t={vertical:e.vertical,wrapText:e.wrapText,horizontal:e.horizontal},s.isEmpty(t)&&(t=null)),t},copy:function(e){var t=null;return(0,o.isDefined)(e)&&(t={},void 0!==e.horizontal&&(t.horizontal=e.horizontal),void 0!==e.vertical&&(t.vertical=e.vertical),void 0!==e.wrapText&&(t.wrapText=e.wrapText)),t},areEqual:function(e,t){return s.isEmpty(e)&&s.isEmpty(t)||(0,o.isDefined)(e)&&(0,o.isDefined)(t)&&e.vertical===t.vertical&&e.wrapText===t.wrapText&&e.horizontal===t.horizontal},isEmpty:function(e){return!(0,o.isDefined)(e)||!(0,o.isDefined)(e.vertical)&&!(0,o.isDefined)(e.wrapText)&&!(0,o.isDefined)(e.horizontal)},toXml:function(e){return r.default.toXml("alignment",{vertical:e.vertical,wrapText:(0,o.isDefined)(e.wrapText)?Number(e.wrapText):void 0,horizontal:e.horizontal})}};t.default=s},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(75),r=i(a),s=n(219),l=i(s),u={tryCreateTag:function(e){var t=null;return(0,o.isDefined)(e)&&(t={patternType:e.patternType,backgroundColor:l.default.tryCreateTag(e.backgroundColor),foregroundColor:l.default.tryCreateTag(e.foregroundColor)},u.isEmpty(t)&&(t=null)),t},copy:function(e){var t=null;return(0,o.isDefined)(e)&&(t={},void 0!==e.patternType&&(t.patternType=e.patternType),void 0!==e.backgroundColor&&(t.backgroundColor=l.default.copy(e.backgroundColor)),void 0!==e.foregroundColor&&(t.foregroundColor=l.default.copy(e.foregroundColor))),t},areEqual:function(e,t){return u.isEmpty(e)&&u.isEmpty(t)||(0,o.isDefined)(e)&&(0,o.isDefined)(t)&&e.patternType===t.patternType&&l.default.areEqual(e.backgroundColor,t.backgroundColor)&&l.default.areEqual(e.foregroundColor,t.foregroundColor)},isEmpty:function(e){return!(0,o.isDefined)(e)||!(0,o.isDefined)(e.patternType)},toXml:function(e){var t=[(0,o.isDefined)(e.foregroundColor)?l.default.toXml("fgColor",e.foregroundColor):"",(0,o.isDefined)(e.backgroundColor)?l.default.toXml("bgColor",e.backgroundColor):""].join("");return r.default.toXml("patternFill",{patternType:e.patternType},t)}};t.default=u},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(75),r=i(a),s={ID_PROPERTY_NAME:"id",tryCreateTag:function(e){var t=null;return"string"==typeof e&&(t={formatCode:e},s.isEmpty(t)&&(t=null)),t},areEqual:function(e,t){return s.isEmpty(e)&&s.isEmpty(t)||(0,o.isDefined)(e)&&(0,o.isDefined)(t)&&e.formatCode===t.formatCode},isEmpty:function(e){return!(0,o.isDefined)(e)||!(0,o.isDefined)(e.formatCode)||""===e.formatCode},toXml:function(e){return r.default.toXml("numFmt",{numFmtId:e[s.ID_PROPERTY_NAME],formatCode:e.formatCode})}};t.default=s},function(e,t,n){var i=n(2),o=n(62),a=n(7).getWindow(),r=n(1).isFunction,s=n(3).each,l=n(184),u=n(6),c=u.when,d=u.Deferred;t.svgCreator={_markup:"",_imageArray:{},_imageDeferreds:[],_getBinaryFile:function(e,t){o.sendRequest({url:e,method:"GET",responseType:"arraybuffer"}).done(t).fail(function(){t(!1)})},_loadImages:function(){var e=this;s(e._imageArray,function(t){var n=new d;e._imageDeferreds.push(n),e._getBinaryFile(t,function(i){if(!i)return delete e._imageArray[t],void n.resolve();var o,r="",s=new Uint8Array(i),l=s.byteLength;for(o=0;o<l;o++)r+=String.fromCharCode(s[o]);e._imageArray[t]="data:image/png;base64,"+a.btoa(r),n.resolve()})})},_parseImages:function(e){var t,n=this;"image"===e.tagName&&(t=i(e).attr("href")||i(e).attr("xlink:href"),n._imageArray[t]||(n._imageArray[t]="")),s(e.childNodes,function(e,t){n._parseImages(t)})},_prepareImages:function(e){return this._parseImages(e),this._loadImages(),c.apply(i,this._imageDeferreds)},getData:function(e,t){var n,o=this,u='<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>',c=new d,h=l.getSvgElement(e),p=i(h);return n=u+l.getSvgMarkup(p.get(0),t.backgroundColor),o._prepareImages(h).don e.bindingOptions&&W(e.bindingOptions,function(e,n){"string"===v.default.type(n)&&(t._ngOptions.bindingOptions[e]={dataPath:n})}))},_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()};this._digestCallbacks.begin.add(t),this._digestCallbacks.end.add(n),this._componentDisposing.add(function(){e._digestCallbacks.begin.remove(t),e._digestCallbacks.end.remove(n)})},_initComponentBindings:function(){var e=this,t={};this._ngOptions.bindingOptions&&(W(this._ngOptions.bindingOptions,function(n,i){var o=n.search(/\[|\./),a=o>-1?n.substring(0,o):n,r=void 0,s=void 0,l=i.dataPath,u=!0,c=!1;void 0!==i.deep&&(c=u=!!i.deep),t[a]||(t[a]={}),t[a][n]=l;var d=function(t,i){e._ngLocker.locked(n)||(e._ngLocker.obtain(n),e._component.option(n,t),h(),e._component._optionValuesEqual(n,i,t)&&e._ngLocker.locked(n)&&e._ngLocker.release(n))},h=function(){var t=Array.isArray(e._scope.$eval(l))&&!c?"$watchCollection":"$watch";r!==t&&(s&&s(),s=e._scope[t](l,d,u),r=t)};h(),e._componentDisposing.add(s)}),this._optionChangedCallbacks.add(function(n){var i=n.name,o=n.fullName,a=n.component;if(e._ngLocker.locked(o))return void e._ngLocker.release(o);if(t&&t[i]){var r=e._scope.$root.$$phase,s=function(){e._ngLocker.obtain(o)};r?e._digestCallbacks.begin.add(s):s(),Z(function(){W(t[i],function(t,i){if(e._optionsAreLinked(o,t)){var r=a.option(t);e._parse(i).assign(e._scope,r);var s=e._parse(i)(e._scope);s!==r&&n.component.option(t,s)}})},e._scope);var l=function t(){e._ngLocker.locked(o)&&e._ngLocker.release(o),e._digestCallbacks.begin.remove(s),e._digestCallbacks.end.remove(t)};r?e._digestCallbacks.end.addPrioritized(l):l()}}))},_optionsAreNested:function(e,t){var n=e[t.length];return 0===e.indexOf(t)&&("."===n||"["===n)},_optionsAreLinked:function(e,t){return e===t||(e.length>t.length?this._optionsAreNested(e,t):this._optionsAreNested(t,e))},_compilerByTemplate:function(e){var t=this,n=this._getScopeItemsPath();return function(i){var o=(0,r.default)(e).clone(),a=i.model&&i.model.constructor===t._scope.$root.constructor,s=a?i.model:i.noModel?t._scope:t._createScopeWithData(i);n&&t._synchronizeScopes(s,n,i.index),o.appendTo(i.container),i.noModel||l.default.on(o,"$destroy",function(){var e=!s.$parent;e||s.$destroy()});var u=t._compile(o,t._transcludeFn);return t._applyAsync(function(e){u(e,null,{parentBoundTranscludeFn:t._transcludeFn})},s),o}},_applyAsync:function(e,t){var n=this;e(t),t.$root.$$phase||(this._renderingTimer||(this._renderingTimer=setTimeout(function(){t.$apply(),n._renderingTimer=null})),this._componentDisposing.add(function(){clearTimeout(n._renderingTimer)}))},_getScopeItemsPath:function(){if(this._componentClass.subclassOf(M.default)&&this._ngOptions.bindingOptions&&this._ngOptions.bindingOptions.items)return this._ngOptions.bindingOptions.items.dataPath},_createScopeWithData:function(e){var t=this._scope.$new();return this._itemAlias&&(t[this._itemAlias]=e.model),v.default.isDefined(e.index)&&(t.$index=e.index),t},_synchronizeScopes:function(e,t,n){this._itemAlias&&"object"!==o(e[this._itemAlias])&&this._synchronizeScopeField({parentScope:this._scope,childScope:e,fieldPath:this._itemAlias,parentPrefix:t,itemIndex:n})},_synchronizeScopeField:function(e){var t=e.parentScope,n=e.childScope,i=e.fieldPath,o=e.parentPrefix,a=e.itemIndex,r=i===this._itemAlias?"":"."+i,s=void 0!==a,l=[o],u=void 0;if(s){if(!v.default.isNumeric(a))return;l.push("[",a,"]")}l.push(r),u=l.join("");var c=t.$watch(u,function(e,t){e!==t&&q(i)(n,e)}),d=n.$watch(i,function(e,n){if(e!==n){if(s&&!j(o)(t)[a])return void d();q(u)(t,e)}});this._componentDisposing.add([c,d])},_evalOptions:function(e){var t=this,n=K({},this._ngOptions);return delete n.bindingOptions,this._ngOptions.bindingOptions&&W(this._ngOptions.bindingOptions,function(t,i){n[t]=e.$eval(i.dataPath)}),n._optionChangedCallbacks=this._optionChangedCallbacks,n._disposingCallbacks=this._comp _activeStateUnit:"."+O,_supportedKeys:function(){var e=function(e){var t=i(this.option("focusedElement"));t.length&&this._itemClickHandler(c({},e,{target:t,currentTarget:t}))},t=function(t){t.preventDefault(),e.call(this,t)},n=function(e,t){t.preventDefault(),t.stopPropagation(),this._moveFocus(e,t)};return c(this.callBase(),{space:t,enter:e,leftArrow:n.bind(this,q),rightArrow:n.bind(this,j),upArrow:n.bind(this,W),downArrow:n.bind(this,G),pageUp:n.bind(this,W),pageDown:n.bind(this,G),home:n.bind(this,X),end:n.bind(this,Y)})},_getDefaultOptions:function(){return c(this.callBase(),{selectOnFocus:!1,loopItemFocus:!0,items:[],itemTemplate:"item",onItemRendered:null,onItemClick:null,onItemHold:null,itemHoldTimeout:750,onItemContextMenu:null,onFocusedItemChanged:null,noDataText:k.format("dxCollectionWidget-noDataText"),dataSource:null,_itemAttributes:{},itemTemplateProperty:"template",focusOnSelectedItem:!0,focusedElement:null,displayExpr:void 0,disabledExpr:function(e){return e?e.disabled:void 0},visibleExpr:function(e){return e?e.visible:void 0}})},_getAnonymousTemplateName:function(){return"item"},_init:function(){this._compileDisplayGetter(),this.callBase(),this._cleanRenderedItems(),this._refreshDataSource()},_compileDisplayGetter:function(){var e=this.option("displayExpr");this._displayGetter=e?I(this.option("displayExpr")):void 0},_initTemplates:function(){this._initItemsFromMarkup(),this.callBase(),this._initDefaultItemTemplate()},_initDefaultItemTemplate:function(){var e=this._getFieldsMap();this._defaultTemplates.item=new E(function(t,n){l(n)?this._prepareDefaultItemTemplate(n,t):(e&&p(e.text)&&(n=e.text(n)),t.text(String(a.ensureDefined(n,""))))}.bind(this),this._getBindableFields(),this.option("integrationOptions.watchMethod"),e)},_getBindableFields:function(){return["text","html"]},_getFieldsMap:function(){if(this._displayGetter)return{text:this._displayGetter}},_prepareDefaultItemTemplate:function(e,t){e.text&&t.text(e.text),e.html&&t.html(e.html)},_initItemsFromMarkup:function(){var e=this,t=this.$element().contents().filter(F);if(t.length&&!this.option("items").length){var n=[].slice.call(t).map(function(t){var n=i(t),o=_.getElementOptions(t).dxItem,a=n.html().trim()&&!o.template;return a?o.template=e._prepareItemTemplate(n):n.remove(),o});this.option("items",n)}},_prepareItemTemplate:function(e){var t=V+new g,n=e.detach().clone().removeAttr("data-options").addClass(N);return this._saveTemplate(t,n),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),d(e.target,this._focusTarget())!==-1){var t=i(this.option("focusedElement"));if(t.length)this._setFocusedItem(t);else{var n=this._getActiveItem();n.length&&this.option("focusedElement",r(n))}}},_focusOutHandler:function(){this.callBase.apply(this,arguments);var e=i(this.option("focusedElement"));e.length&&this._toggleFocusClass(!1,e)},_getActiveItem:function(e){var t=i(this.option("focusedElement"));if(t.length)return t;var n=this.option("focusOnSelectedItem")?this.option("selectedIndex"):0,o=this._getActiveElement(),a=o.length-1;return n<0&&(n=e?a:0),o.eq(n)},_renderFocusTarget:function(){this.callBase.apply(this,arguments),this._refreshActiveDescendant()},_moveFocus:function(e){var t,n=this._getAvailableItems();switch(e){case K:case W:t=this._prevItem(n);break;case U:case G:t=this._nextItem(n);break;case j:t=this.option("rtlEnabled")?this._prevItem(n):this._nextItem(n);break;case q:t=this.option("rtlEnabled")?this._nextItem(n):this._prevItem(n);break;case X:t=n.first();break;case Y:t=n.last();break;default:return!1}0!==t.length&&this.option("focusedElement",r(t))},_getVisibleItems:function(e){return e=e||this._itemElements(),e.filter(":visible")},_getAvailableItems:function(e){return this._getVisibleItems(e).not(".dx-state-disabled")},_prevItem:function(e){var t=this._getActiveItem(),n=e.index(t),o=e.last(),a=i(e[n-1]),r=this.option("loopItemFocus");return 0===a.length&&r&&(a=o),a},_nextIt ctor:function(e,t){var n=this;n.target=e,n.validationRules=t.validationRules,n.name=t.name,n.isValid=s.observable(!0),n.validationError=s.observable(),i(this.validationRules,function(e,t){t.validator=n})},validate:function(){var e=r.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(a);s.extenders.dxValidator=function(e,t){return e.dxValidator=new l(e,t),e.subscribe(e.dxValidator.validate.bind(e.dxValidator)),e},r.registerModelForValidation=function(e){i(e,function(t,n){s.isObservable(n)&&n.dxValidator&&r.registerValidatorInGroup(e,n.dxValidator)})},r.unregisterModelForValidation=function(e){i(e,function(t,n){s.isObservable(n)&&n.dxValidator&&r.removeRegisteredValidator(e,n.dxValidator)})},r.validateModel=r.validateGroup},function(e,t,n){var i=n(59),o=n(74);o.inject({isWrapped:i.isObservable,isWritableWrapped:i.isWritableObservable,wrap:i.observable,unwrap:function(e){return i.isObservable(e)?i.utils.unwrapObservable(e):this.callBase(e)},assign:function(e,t){i.isObservable(e)?e(t):this.callBase(e,t)}})},function(e,t,n){var i=n(37),o=i.afterCleanData,a=i.strategyChanging,r=n(59),s=n(61).compare,l=r.utils.domNodeDisposal.cleanExternalData,u=function(){o(function(e){for(var t=0;t<e.length;t++)e[t].cleanedByJquery=!0;for(t=0;t<e.length;t++)e[t].cleanedByKo||r.cleanNode(e[t]),delete e[t].cleanedByKo;for(t=0;t<e.length;t++)delete e[t].cleanedByJquery}),r.utils.domNodeDisposal.cleanExternalData=function(e){e.cleanedByKo=!0,e.cleanedByJquery||i.cleanData([e])}},c=function(){o(function(){}),r.utils.domNodeDisposal.cleanExternalData=l};u(),a.add(function(e){var t=!!e.fn;t&&s(e.fn.jquery,[2,0])<0&&c()})},function(e,t,n){var i=n(59),o=n(61).compare,a=n(37).strategyChanging,r=function(e){var t=function(e,t){var n=function(){i.cleanNode(this)};t?e.each(n):e.find("*").each(n)},n=e.fn.empty;e.fn.empty=function(){return t(this,!1),n.apply(this,arguments)};var o=e.fn.remove;e.fn.remove=function(e,n){if(!n){var i=this;e&&(i=i.filter(e)),t(i,!0)}return o.call(this,e,n)};var a=e.fn.html;e.fn.html=function(e){return"string"==typeof e&&t(this,!1),a.apply(this,arguments)};var r=e.fn.replaceWith;e.fn.replaceWith=function(){var e=r.apply(this,arguments);return this.parent().length||t(this,!0),e}};a.add(function(e){var t=!!e.fn;t&&o(e.fn.jquery,[2,0])<0&&r(e)})},function(e,t,n){n(115);var i=n(69),o=n(15),a=n(85);if(n(69),i&&i.formatMessage){var r="en",s=i.loadMessages;i.loadMessages=function(e){o.load(e)};var l={ctor:function(){this.load(this._dictionary)},load:function(e){this.callBase(e),s(e)},getMessagesByLocales:function(){return i.cldr.get("globalize-messages")},getFormatter:function(e,t){var n=t||a.locale(),i=this._getFormatterBase(e,t);return i||(i=this._formatterByGlobalize(e,t)),i||n===r||(i=this.getFormatter(e,r)),i},_formatterByGlobalize:function(e,t){var n,o=t&&t!==a.locale()?new i(t):i;return this._messageLoaded(e,t)&&(n=o.messageFormatter(e)),n},_messageLoaded:function(e,t){var n=t?new i(t).cldr:i.locale(),o=n.get(["globalize-messages/{bundle}",e]);return!!o},_loadSingle:function(e,t,n){var i={};i[n]={},i[n][e]=t,this.load(i)}};o.inject(l)}},function(e,t,n){n(115),n(181),n(69);var i={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"}}}},o={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" d("change",this.option("valueChangeEvent").split(" "))!==-1&&l.on(this._input(),s.addNamespace(I,C),function(e){this._suppressCaretChanging(this._changeHandler,[e]),this._changeHandler(e)}.bind(this))},_suppressCaretChanging:function(e,t){var n=o;o=y;try{e.apply(this,t)}finally{o=n}},_changeHandler:function(e){var t=this._input(),n=t.val();if(n!==this._changedValue){this._changedValue=n;var i=s.createEvent(e,{type:"change"});l.trigger(t,i)}},_parseMask:function(){this._maskRules=u({},D,this.option("maskRules")),this._maskRulesChain=this._parseMaskRule(0)},_parseMaskRule:function(e){var t=this.option("mask");if(e>=t.length)return new m.EmptyMaskRule;var n=t[e],i=n===b,o=i?new m.StubMaskRule({maskChar:t[e+1]}):this._getMaskRule(n);return o.next(this._parseMaskRule(e+1+i)),o},_getMaskRule:function(e){var t;return r(this._maskRules,function(n,i){if(n===e)return t={pattern:n,allowedChars:i},!1}),h(t)?new m.MaskRule(u({maskChar:this.option("maskChar")},t)):new m.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()}},_replaceSelectedText:function(e,t,n){if(void 0===n)return e;var i=e.slice(0,t.start),o=e.slice(t.end),a=i+n+o;return a},_isMaskedValueMode:function(){return this.option("useMaskedValue")},_displayMask:function(e){e=e||this._caret(),this._renderValue(),this._caret(e)},_isValueEmpty:function(){return g.isEmpty(this._value)},_shouldShowMask:function(){var e=this.option("showMaskMode");return"onFocus"!==e||(c(this._input())||!this._isValueEmpty())},_showMaskPlaceholder:function(){if(this._shouldShowMask()){var e=this._maskRulesChain.text();this.option("text",e),"onFocus"===this.option("showMaskMode")&&this._renderDisplayText(e)}},_renderValue:function(){if(this._maskRulesChain){var e=this._maskRulesChain.text();if(this._showMaskPlaceholder(),this._$hiddenElement){var t=this._maskRulesChain.value(),n=this._isMaskedValueMode()?e:t;this._$hiddenElement.val(g.isEmpty(t)?"":n)}}return this.callBase()},_valueChangeEventHandler:function(e){return this._maskRulesChain?(this._saveValueChangeEvent(e),void this.option("value",this._convertToValue().replace(/\s+$/,""))):void this.callBase.apply(this,arguments)},_maskFocusHandler:function(){if(this._showMaskPlaceholder(),this._direction(k),!this._isValueEmpty()&&this.option("isValid"))this._adjustCaret();else{var e=this._maskRulesChain.first();this._caretTimeout=setTimeout(function(){this._caret({start:e,end:e})}.bind(this),0)}},_maskBlurHandler:function(){"onFocus"===this.option("showMaskMode")&&this._isValueEmpty()&&(this.option("text",""),this._renderDisplayText(""))},_maskKeyDownHandler:function(){this._keyPressHandled=!1},_maskKeyPressHandler:function(e){this._keyPressHandled||(this._keyPressHandled=!0,this._isControlKeyFired(e)||this._maskKeyHandler(e,function(){return this._handleKey(s.getChar(e)),!0}))},_maskInputHandler:function(e){if(this._backspaceInputHandled(e.originalEvent&&e.originalEvent.inputType)&&this._handleBackspaceInput(e),!this._keyPressHandled){this._keyPressHandled=!0;var t=this._input().val(),n=this._caret();if(n.end){n.start=n.end-1;var i=t.substring(0,n.start)+t.substring(n.end),o=t[n.start];this._input().val(i),this._inputHandlerTimer=setTimeout(function(){this._caret({start:n.start,end:n.start}),this._maskKeyHandler(e,function(){return this._handleKey(o),!0})}.bind(this))}}},_backspaceInputHandled:function(e){return e===T&&!this._keyPressHandled},_handleBackspaceInput:function(e){var t=this._caret();this._caret({start:t.start+1,end:t.end+1}),this._maskBackspaceHandler(e)},_isControlKeyFired:function(e){return this._isControlKey(s.normalizeKeyName(e))||e.ctrlKey||e.metaKey},_maskBackspaceHandler:function(e){var t=this;t._keyPressHandled=!0;var n=function(e,n){e&&(t._direction(k),t._adjustCaret());var i=t._caret();clearTimeout(t._backspaceHandlerTimeout),t._backspaceHandlerTimeout=setTimeout(function(){n(i)})};t._maskKeyHandl return a(n,function(t,n){if(n.items){var r=o.getKeysByItems(n.items);return a(r,function(n,a){if(o._equalKeys(a,e))return i={group:t,item:n},!1}),i===-1&&void 0}}),i},_getGroups:function(e){var t=this._collectionWidget.getDataSource(),n=t&&t.group();return n?r(s(e),{group:n}).toArray():this._collectionWidget.option("items")},getItemsByKeys:function(e,t){var n=[];return a(e,function(e,i){var o=function(e){var t=this.getIndexByKey(i,e),n=t&&e[t.group];if(n)return{groupKey:n.key,item:n.items[t.item]}}.bind(this),r=o(this._getGroups(t));if(r){var s,l=r.groupKey,u=r.item;a(n,function(e,t){if(t.key===l)return s=t,!1}),s||(s={key:l,items:[]},n.push(s)),s.items.push(u)}}.bind(this)),n},moveItemAtIndexToIndex:function(e,t){var n=this._collectionWidget.option("items"),i=f(e),o=f(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)},_isItemIndex:function(e){return e&&o(e.group)&&o(e.item)},_getNormalizedItemIndex:function(e){var t=i(e),n=t.closest("."+c);return n.length?p({group:this._groupElements().index(n),item:this._groupItemElements(n).index(t)}):-1},_normalizeItemIndex:function(e){return p(e)},_denormalizeItemIndex:function(e){return f(e)},_getItemByNormalizedIndex:function(e){var t=f(e),n=this._groupElements().eq(t.group);return this._groupItemElements(n).eq(t.item)},_itemsFromSameParent:function(e,t){return f(e).group===f(t).group}});e.exports=g},function(e,t,n){var i=n(2),o=n(4).noop,a=n(14),r=n(0).extend,s=n(3).each,l=n(18),u=n(103);n(500),n(501),n(502),n(503),n(504),n(512),n(514);var c=[],d=function(e,t,n){c.push({enabled:e,decoratorType:t,decoratorSubType:n})};d(function(){return this.option("menuItems").length},function(){return"menu"},function(){return this.option("menuMode")}),d(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}),d(function(){return"none"!==this.option("selectionMode")&&this.option("showSelectionControls")},function(){return"selection"},function(){return"default"}),d(function(){return this.option("allowItemReordering")},function(){return"reorder"},function(){return"default"});var h="dx-list-item-before-bag",p="dx-list-item-after-bag",f="beforeBag",g="afterBag",_="modifyElement",m="afterRender",v="getExcludedSelectors",y=a.inherit({ctor:function(e){this._list=e,this._fetchRequiredDecorators()},dispose:function(){this._decorators&&this._decorators.length&&s(this._decorators,function(e,t){t.dispose()})},_fetchRequiredDecorators:function(){this._decorators=[],s(c,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)}}.bind(this))},_createDecorator:function(e,t){var n=this._findDecorator(e,t);return new n(this._list)},_findDecorator:function(e,t){var n=u.registry[e][t];if(!n)throw l.Error("E1012",e,t);return n},modifyItemElement:function(e){var t=i(e.itemElement),n={$itemElement:t};this._prependBeforeBags(t,n),this._appendAfterBags(t,n),this._applyDecorators(_,n)},afterItemsRendered:function(){this._applyDecorators(m)},_prependBeforeBags:function(e,t){var n=this._collectDecoratorsMarkup(f,t,h);e.prepend(n)},_appendAfterBags:function(e,t){var n=this._collectDecoratorsMarkup(g,t,p);e.append(n)},_collectDecoratorsMarkup:function(e,t,n){var o=i("<div>");return s(this._decorators,function(){var a=i("<div>").addClass(n);this[e](r({$container:a},t)),a.children().length&&o.append(a)}),o.children()},_applyDecorators:function(e,t){s(this._decorators,function(){this[e](t)})},_handlerExists:function(e){if(!this._decorators)return!1;for(var t=this._decorators,n=t.length,i=0;i<n;i++)if(t[i][e]!==o)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;r<a&&!(i=o[r][e](t,n));r++);return i},handleClick:function(e,t scaleRatio:this._getScaleRatio()})},_moveContent:function(){this.callBase(),this._isPullDown()?this._pullDownReady():this._isReachBottom()?this._reachBottomReady():this._state!==m&&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===v?this._pullDownRefreshing():this._inBounds()&&this._state===x?this._reachBottomLoading():this.callBase()},_reachBottomReady:function(){this._state!==x&&(this._state=x,this._minOffset=this._getMinOffset())},_getMaxOffset:function(){return-this._topPocketSize},_getMinOffset:function(){return l.min(this.callBase(),-this._topPocketSize)},_reachBottomLoading:function(){this.reachBottomCallbacks.fire()},_pullDownReady:function(){this._state!==v&&(this._state=v,this._maxOffset=0,this._$pullDown.addClass(h),this._refreshPullDownText())},_stateReleased:function(){this._state!==m&&(this._releaseState(),this._updateBounds(),this._$pullDown.removeClass(d).removeClass(h),this.releaseCallbacks.fire())},_pullDownRefreshing:function(){this._state!==y&&(this._state=y,this._$pullDown.addClass(d).removeClass(h),this._refreshPullDownText(),this.pullDownCallbacks.fire())},_releaseHandler:function(){return this._state===m&&this._moveToBounds(),this._update(),this._releaseTask&&this._releaseTask.abort(),this._releaseTask=r.executeAsync(this._release.bind(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._maxOffset=0,this._move()},_pendingReleaseHandler:function(){this._state=v},dispose:function(){this._releaseTask&&this._releaseTask.abort(),this.callBase()}}),w=u.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(),this.releaseCallbacks=o(),this.reachBottomCallbacks=o()},render:function(){this._renderPullDown(),this.callBase()},_renderPullDown:function(){var e=i("<div>").addClass(p),t=i("<div>").addClass(f),n=new c(i("<div>")).$element(),o=this._$pullDownText=i("<div>").addClass(g);this._$pullingDownText=i("<div>").text(this.option("pullingDownText")).appendTo(o),this._$pulledDownText=i("<div>").text(this.option("pulledDownText")).appendTo(o),this._$refreshingText=i("<div>").text(this.option("refreshingText")).appendTo(o),this._$pullDown.empty().append(e).append(t.append(n)).append(o)},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 b(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 s(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 e(){var e=this.callBase();return e.top+=this._$topPocket.height(),e},dispose:function(){a(this._scrollers,function(){this.dispose()}),this.callBase()}});e.exports=w},function(e,t,n){var i=n(5) if(x.isAnimating(this._view.$element()))return;this._moveCurrentDate(-1*this._view.option("colCount"))}},downArrow:function(e){if(e.preventDefault(),e.ctrlKey)this._navigateDown();else{if(x.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=m.sameView(t,n,i)?i:m.getViewFirstCellDate(t,n);this._moveToClosestAvailableDate(o,1)},end:function(e){e.preventDefault();var t=this.option("zoomLevel"),n=this.option("currentDate"),i=this._dateOption("max"),o=m.sameView(t,n,i)?i:m.getViewLastCellDate(t,n);this._moveToClosestAvailableDate(o,-1)},pageUp:function(e){e.preventDefault(),this._waitRenderView(-1)},pageDown:function(e){e.preventDefault(),this._waitRenderView(1)},tab:r,enter:function(e){if(this._isMaxZoomLevel()){var t=this._updateTimeComponent(this.option("currentDate"));this._dateValue(t,e)}else this._navigateDown()}})},_getSerializationFormat:function(e){var t=this.option(e||"value");if(this.option("dateSerializationFormat"))return this.option("dateSerializationFormat");if(s.isNumeric(t))return"number";if(s.isString(t))return v.getDateSerializationFormat(t)},_convertToDate:function(e,t){return v.deserializeDate(e)},_dateValue:function(e,t){t&&this._saveValueChangeEvent(t),this._dateOption("value",e)},_dateOption:function(e,t){if(1===arguments.length)return this._convertToDate(this.option(e),e);var n=this._getSerializationFormat(e);this.option(e,v.serializeDate(t,n))},_moveCurrentDate:function(e,t){for(var n=t||new Date(this.option("currentDate")),i=this._getMaxDate(),o=this._getMinDate(),a=this.option("zoomLevel"),r=l(n,o,i),s=new Date(n),u=new Date(n),c=r,d=r;!e&&(c||d)||e&&c;){var h=e||1;switch(a){case H.MONTH:s.setDate(s.getDate()+h),u.setDate(u.getDate()-h);break;case H.YEAR:s.setMonth(s.getMonth()+h),u.setMonth(u.getMonth()-h);break;case H.DECADE:s.setFullYear(s.getFullYear()+h),u.setFullYear(u.getFullYear()-h);break;case H.CENTURY:s.setFullYear(s.getFullYear()+10*h),u.setFullYear(u.getFullYear()-10*h)}if(!this._view.isDateDisabled(s)){n=s;break}if(!e&&!this._view.isDateDisabled(u)){n=u;break}d=l(u,o,i),c=l(s,o,i)}this.option("currentDate",n)},_moveToClosestAvailableDate:function(e,t){this._view.isDateDisabled(e)?this._moveCurrentDate(t,e):this.option("currentDate",e)},_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");L[t]<L[e]||(L[n]>L[t]?this.option("zoomLevel",t):L[n]<L[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=m.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")},_initTemplates:function(){this.callBase(),this._defaultTemplates.cell=new C(function(e){var t=e.model;i(e.container).append(i("<span>").text(t&&t.text||String(t)))},this)},_updateCurrentDate:function(e){x.isAnimating(this._$viewsWrapper)&&x.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" this.callBase()},_attachChildKeyboardEvents:function(){if(this._colorViewProcessor=this._keyboardProcessor.attachChildProcessor(),this._colorView)return void this._colorView.option("_keyboardProcessor",this._colorViewProcessor)},_init:function(){this.callBase()},_initMarkup:function(){this.$element().addClass(d),this.callBase()},_renderInput:function(){this.callBase(),this._input().addClass(h),this._renderColorPreview()},_renderColorPreview:function(){this.$element().wrapInner(i("<div>").addClass(p)),this._$colorBoxInputContainer=this.$element().children().eq(0),this._$colorResultPreview=i("<div>").addClass(f).appendTo(this._$textEditorInputContainer),this.option("value")?C.makeTransparentBackground(this._$colorResultPreview,this.option("value")):this._$colorBoxInputContainer.addClass(g)},_renderValue:function(){var e=this.option("value");return this.option("text",this.option("editAlphaChannel")?C.makeRgba(e):e),this.callBase()},_resetInputValue:function(){var e=this._input(),t=this.option("value");e.val(t),this._updateColorViewValue(t)},_updateColorViewValue:function(e){this._colorView&&this._colorView.option({value:e,matchValue:e})},_valueChangeEventHandler:function(e){var t=this._input().val();t&&(t=this._applyColorFromInput(t),this._updateColorViewValue(t)),this.callBase(e,t)},_applyColorFromInput:function(e){var t=new a(e);return t.colorIsInvalid&&(this._resetInputValue(),e=this.option("value")),e},_optionChanged:function(e){var t=e.value,n=e.name;switch(n){case"value":this._$colorBoxInputContainer.toggleClass(g,!t),t?C.makeTransparentBackground(this._$colorResultPreview,t):this._$colorResultPreview.removeAttr("style"),this._updateColorViewValue(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.callBase(e);break;case"rtlEnabled":this._colorView&&this._colorView.option(n,t),this.callBase(e);break;default:this.callBase(e)}}});u("dxColorBox",k),e.exports=k},function(e,t,n){var i=n(8),o=n(522);i("dxNumberBox",o),e.exports=o},function(e,t,n){var i=n(5),o=n(0).extend,a=n(1).isNumeric,r=n(31),s=n(16),l=n(29).fitIntoRange,u=n(29).inRange,c=n(4).escapeRegExp,d=n(51),h=n(523),p=n(274).getFormat,f=n(524),g=n(9),_=n(1),m="dxNumberFormatter",v=1,y=-1,x="-",b="minus",w="Subtract",C="input",k=r.msie?300:0,S=function(e,t){return void 0===e?t:e},I=f.inherit({_getDefaultOptions:function(){return o(this.callBase(),{useMaskBehavior:!0,format:null})},_isDeleteKey:function(e){return"del"===e},_supportedKeys:function(){if(!this._useMaskBehavior())return this.callBase();var e=this;return o(this.callBase(),{minus:e._revertSign.bind(e),del:e._removeHandler.bind(e),backspace:e._removeHandler.bind(e),leftArrow:e._arrowHandler.bind(e,y),rightArrow:e._arrowHandler.bind(e,v),home:e._moveCaretToBoundaryEventHandler.bind(e,v),enter:e._updateFormattedValue.bind(e),end:e._moveCaretToBoundaryEventHandler.bind(e,y)})},_focusInHandler:function(e){this.callBase(e),this.clearCaretTimeout(),this._caretTimeout=setTimeout(function(){this._caretTimeout=null;var t=this._caret();if(t.start===t.end&&this._useMaskBehavior()){var n=this._getInputVal(),i=d.getDecimalSeparator(),o=n.indexOf(i);o>=0?this._caret({start:o,end:o}):this._moveCaretToBoundaryEventHandler(y,e)}}.bind(this),k)},_focusOutHandler:function(e){this._focusOutOccurs=!0,this._useMaskBehavior()&&this._updateFormattedValue(),this.callBase(e),this._focusOutOccurs=!1},_hasValueBeenChanged:function(e){var t=this._getFormatPattern(),n=this.option("value"),i=this._format(n,t)||"";return i!==e},_updateFormattedValue:function(){var e=this._getInputVal();this._hasValueBeenChanged(e)&&(this._parsedValue=this._tryParse(e,this._caret()),this._adjustParsedValue(),this._setTextByParsedValue(),this._parsedValue!==this.option("value")&&i.trigger(this._input(),"change"))},_arrowHandler:function(e,t){if(this._useMaskBehavior()){var n=this._getInputVal(),i=this._getForm },_getActivePartProp:function(e){if(this._dateParts&&this._dateParts[this._activePartIndex])return this._dateParts[this._activePartIndex][e]},_loadMaskValue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dateOption("value");this._maskValue=e&&new Date(e),this._initialMaskValue=e&&new Date(e)},_saveMaskValue:function(){var e=this._maskValue&&new Date(this._maskValue);this._initialMaskValue=new Date(e),this.dateOption("value",e)},_revertChanges:function(){this._loadMaskValue(),this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._renderDateParts()},_renderDisplayText:function(e){this.callBase(e),this._useMaskBehavior()&&this.option("text",e)},_partIncrease:function(e){this._setNewDateIfEmpty();var t=this._getActivePartLimits(),n=t.max,i=t.min,o=n-i;1===o&&o++;var a=e+this._getActivePartValue();a>n?a=this._applyLimits(a,{limitBase:i,limitClosest:n,limitDelta:o}):a<i&&(a=this._applyLimits(a,{limitBase:n,limitClosest:i,limitDelta:o})),this._setActivePartValue(a)},_applyLimits:function(e,t){var n=t.limitBase,i=t.limitClosest,o=t.limitDelta,a=(e-i)%o;return a?n+a-1*(0,u.sign)(a):i},_maskClickHandler:function(){this.option("text")&&(this._activePartIndex=(0,h.getDatePartIndexByPosition)(this._dateParts,this._caret().start),this._caret(this._getActivePartProp("caret")))},_maskPasteHandler:function(e){var t=this._replaceSelectedText(this.option("text"),this._caret(),(0,s.clipboardText)(e)),n=f.default.parse(t,this._getFormatPattern());n&&(this._maskValue=n,this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._renderDateParts(),this._selectNextPart()),e.preventDefault()},_isValueDirty:function(){var e=this.dateOption("value");return(this._maskValue&&this._maskValue.getTime())!==(e&&e.getTime())},_fireChangeEvent:function(){this._clearSearchValue(),this._isValueDirty()&&d.default.trigger(this._input(),"change")},_enterHandler:function(e){this._fireChangeEvent(),this._selectNextPart(x),e.preventDefault()},_focusOutHandler:function(e){this.callBase(e),this._useMaskBehavior()&&(this._fireChangeEvent(),this._selectFirstPart(e))},_valueChangeEventHandler:function(e){this._useMaskBehavior()?(this._saveValueChangeEvent(e),this.option("text")||(this._maskValue=null),this._saveMaskValue()):this.callBase(e)},_optionChanged:function(e){switch(e.name){case"useMaskBehavior":this._renderMask();break;case"displayFormat":case"mode":this.callBase(e),this._renderMask();break;case"value":this._loadMaskValue(),this.callBase(e),this._renderDateParts();break;case"advanceCaret":case"emptyDateValue":break;default:this.callBase(e)}},_clearMaskState:function(){this._clearSearchValue(),delete this._dateParts,delete this._activePartIndex,delete this._maskValue},reset:function(){this.callBase(),this._clearMaskState(),this._activePartIndex=0},_clean:function(){this.callBase(),this._detachMaskEvents(),this._clearMaskState()}});e.exports=w},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.renderDateParts=t.getDatePartIndexByPosition=void 0;var i=n(209),o=n(0),a=n(29),r=n(4),s=function(e){return e.getMonth()+1},l=function(e,t){var n=e.getDate(),i=p("M",e),o=(0,a.fitIntoRange)(parseInt(t),i.min,i.max);e.setMonth(o-1,1);var r=p("dM",e),s=r.min,l=r.max,u=(0,a.fitIntoRange)(n,s,l);e.setDate(u)},u={a:function(e){return e.getHours()<12?0:1},E:"getDay",y:"getFullYear",M:s,L:s,d:"getDate",H:"getHours",h:"getHours",m:"getMinutes",s:"getSeconds",S:"getMilliseconds"},c=(0,o.extend)({},(0,i.getPatternSetters)(),{a:function(e,t){var n=e.getHours(),i=n>=12;i!==!!parseInt(t)&&e.setHours((n+12)%24)},d:function(e,t){var n=p("dM",e).max;t>n&&e.setMonth(e.getMonth()+1),e.setDate(t)},M:l,L:l,E:function(e,t){t<0||e.setDate(e.getDate()-e.getDay()+parseInt(t))},y:function(e,t){var n=e.getFullYear(),i=String(t).length,o=String(p("y",e).max).length,a=parseInt(String(n).substr(0,o-i)+t);e.setFullYear(a)}}),d=function(e){var t=function(){return e};return u[e]||t},h=function(e,t){for(var n=t.regexp.exec(e),i=0,o=0,a=[],s=1;s<n.length;s++){i=o,o=i+n[s].length;var l=t.patterns[s-1].replace(/^'|'$/g,""),u=d(l[0]); direction:"row",crossAlign:"start",items:this._getBoxItems(),itemTemplate:function(e){var t=i("<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}.bind(this)}),this._attachTabHandler()},popupConfig:function(e){var t=this.callBase(e),n=l(t,{onShowing:function(){if("fallback"===this._box.option("_layoutStrategy")){var e=this._getPopup().$content().find(".dx-timeview-clock").css("minWidth");this._timeView.$element().css("maxWidth",e)}}.bind(this)});return n},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){i(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(),t.getMilliseconds()),e},dispose:function(){clearTimeout(this._removeMinWidthTimer),clearTimeout(this._repaintTimer),this.callBase()}});e.exports=p},function(e,t,n){var i=n(2),o=n(49),a=n(116),r=n(95),s=n(191),l=n(0).extend,u=n(8),c=n(33),d=n(117),h="dx-timeview",p="dx-timeview-clock",f="dx-timeview-field",g="dx-timeview-hourarrow",_="dx-timeview-time-separator",m="dx-timeview-format12",v=-1,y=1,x="dx-timeview-minutearrow",b=24,w=function(e,t,n){C(e,t,n)},C=function(e,t,n){e.css("transform","rotate("+t+"deg) translate(0,"+n+"px)")},k=o.inherit({_getDefaultOptions:function(){return l(this.callBase(),{value:new Date(Date.now()),use24HourFormat:!0,_showClock:!0,_arrowOffset:0,stylingMode:void 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(h)},_render:function(){this.callBase(),this._renderBox(),this._updateTime()},_renderBox:function(){var e=i("<div>").appendTo(this.$element()),t=[];this.option("_showClock")&&t.push({ratio:1,shrink:0,baseSize:"auto",template:this._renderClock.bind(this)}),t.push({ratio:0,shrink:0,baseSize:50,template:this._renderField.bind(this)}),this._createComponent(e,s,{height:"100%",width:"100%",direction:"col",items:t})},_renderClock:function(e,t,n){this._$hourArrow=i("<div>").addClass(g),this._$minuteArrow=i("<div>").addClass(x);var o=i(n);o.addClass(p).append(this._$hourArrow).append(this._$minuteArrow),this.setAria("role","presentation",o)},_updateClock:function(){var e=this._getValue(),t=e.getHours()/12*360+e.getMinutes()/60*30,n=e.getMinutes()/60*360;w(this._$hourArrow,t,this.option("_arrowOffset")),w(this._$minuteArrow,n,this.option("_arrowOffset"))},_getBoxItems:function(e){var t=[{ratio:0,shrink:0,baseSize:"auto",template:function(){return this._hourBox.$element()}.bind(this)},{ratio:0,shrink:0,baseSize:"auto",template:i("<div>").addClass(_).text(c.getTimeSeparator())},{ratio:0,shrink:0,baseSize:"auto",template:function(){return this._minuteBox.$element()}.bind(this)}];return e&&t.push({ratio:0,shrink:0,baseSize:"auto",template:function(){return this._format12.$element()}.bind(this)}),t},_renderField:function(){var e=!this.option("use24HourFormat");return this._createHourBox(),this._createMinuteBox(),e&&this._createFormat12Box(),this._createComponent(i("<div>").addClass(f),s,{direction:"row",align:"center",crossAlign:"center",items:this._getBoxItems(e)}).$element()},_createHourBox:function(){this._hourBox=this._createComponent(i("<div>"),a,l({min:-1,max:24,value:this._getValue().getHours(),onValueChanged:this._onHourBoxValueChanged.bind(this)},this._getNumberBoxConfig())),this._hourBox.setAria("label","hours")},_onHourBoxValueChanged:function(e){var t=this._getValue(),n=this._ },_initFileInput:function(){this._isCustomClickEvent=!1,this._$fileInput||(this._$fileInput=Y(),s.on(this._$fileInput,"change",this._inputChangeHandler.bind(this)),s.on(this._$fileInput,"click",function(e){return e.stopPropagation(),this.option("useNativeInputClick")||this._isCustomClickEvent}.bind(this))),this._$fileInput.prop({multiple:this.option("multiple"),accept:this.option("accept"),tabIndex:-1})},_inputChangeHandler:function(){if(!this._doPreventInputChange){var e=this._$fileInput.val().replace(/^.*\\/,""),t=this._$fileInput.prop("files");if(!t||t.length){var n=t?this._getFiles(t):[{name:e}];this._changeValue(n),"instantly"===this.option("uploadMode")&&this._uploadFiles()}}},_shouldFileListBeExtended:function(){return"useForm"!==this.option("uploadMode")&&this.option("extendSelection")&&this.option("multiple")},_removeDuplicates:function(e,t){for(var n=[],i=0;i<t.length;i++)this._isFileInArray(e,t[i])||n.push(t[i]);return n},_isFileInArray:function(e,t){for(var n=0;n<e.length;n++){var i=e[n];if(i.size===t.size&&i.name===t.name)return!0}return!1},_changeValue:function(e){var t=this._shouldFileListBeExtended()?this.option("value").slice():[];"instantly"!==this.option("uploadMode")&&(e=this._removeDuplicates(t,e)),this.option("value",t.concat(e))},_getFiles:function(e){var t=[];return d(e,function(e,n){t.push(n)}),t},_initLabel:function(){this._$inputLabel||(this._$inputLabel=i("<div>")),this._$inputLabel.text(this.option("labelText"))},_focusTarget:function(){return this.$element().find("."+$)},_getSubmitElement:function(){return this._$fileInput},_initMarkup:function(){this.callBase(),this.$element().addClass(k),this._renderWrapper(),this._renderInputWrapper(),this._renderSelectButton(),this._renderInputContainer(),this._renderUploadButton(),this._preventRecreatingFiles=!0},_render:function(){this._preventRecreatingFiles=!1,this._renderDragEvents(),this._renderFiles(),this.callBase()},_createFileProgressBar:function(e){e.progressBar=this._createProgressBar(e.value.size),e.progressBar.$element().appendTo(e.$file),this._initStatusMessage(e),this._initCancelButton(e)},_setStatusMessage:function(e,t){setTimeout(function(){this.option("showFileList")&&(e.$statusMessage.text(this.option(t)),e.$statusMessage.css("display",""),e.progressBar.$element().remove())}.bind(this),K)},_createFiles:function(){var e=this.option("value");this._files&&0!==e.length&&this._shouldFileListBeExtended()||(this._preventFilesUploading(this._files),this._files=[]),d(e.slice(this._files.length),function(e,t){var n=this._createFile(t);this._validateFile(n),this._files.push(n)}.bind(this))},_preventFilesUploading:function(e){d(e,function(e,t){t.request&&t.request.abort()}.bind(this))},_validateFile:function(e){e.isValidFileExtension=this._validateFileExtension(e),e.isValidMinSize=this._validateMinFileSize(e),e.isValidMaxSize=this._validateMaxFileSize(e)},_validateFileExtension:function(e){var t=this.option("allowedFileExtensions"),n=e.value.name.substring(e.value.name.lastIndexOf(".")).toLowerCase();if(0===t.length)return!0;for(var i=0;i<t.length;i++)if(n===t[i].toLowerCase())return!0;return!1},_validateMaxFileSize:function(e){var t=e.value.size,n=this.option("maxFileSize");return!(n>0)||t<=n},_validateMinFileSize:function(e){var t=e.value.size,n=this.option("minFileSize");return!(n>0)||t>=n},_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:u(),onAbort:u(),onLoad:u(),onError:u(),onLoadStart:u(),isValidFileExtension:!0,isValidMaxSize:!0,isValidMinSize:!0,isValid:function(){return this.isValidFileExtension&&this.isValidMaxS if(l){var c=function(e){return"required"===e.type},d=(l.option("validationRules")||[]).some(c),h=(o.validationRules||[]).some(c);if(!d&&!h||d&&h){l.option("validationRules",o.validationRules);break}}}else if(r&&"cssClass"===s.substring(s.length-8,s.length)){r.removeClass(e.previousValue).addClass(e.value);break}}if(o){var p,f=e.fullName.replace(i+".","");this._changeItemOption(o,f,e.value),p=this._generateItemsFromData(this.option("items")),this.option("items",p)}break;case"formData":var g=n.slice(1).join("."),_=this.getEditor(g);_?_.option("value",e.value):this._triggerOnFieldDataChanged({dataField:g,value:e.value})}},_getItemPath:function(e){var t,n=e[0];for(t=1;t<e.length&&e[t].search("items|tabs")!==-1;t++)n+="."+e[t];return n},_triggerOnFieldDataChanged:function(e){this._createActionByOption("onFieldDataChanged")(e)},_triggerOnFieldDataChangedByDataSet:function(e){var t=this;e&&l.isObject(e)&&c(e,function(e,n){t._triggerOnFieldDataChanged({dataField:e,value:n})})},_updateFieldValue:function(e,t){if(l.isDefined(this.option("formData"))){var n=this.getEditor(e);if(this.option("formData."+e,t),n){var i=n.option("value");i!==t&&n.option("value",t)}}},_generateItemsFromData:function(e){var t=this.option("formData"),n=[];return!e&&l.isDefined(t)&&c(t,function(e){n.push({dataField:e})}),e&&c(e,function(e,t){l.isObject(t)?n.push(t):n.push({dataField:t})}),n},_getItemByField:function(e,t){var n,i=this,o=l.isObject(e)?e:i._getFieldParts(e),a=o.fieldName,r=o.fieldPath;return t.length&&c(t,function(e,t){var o=t.itemType;if(r.length){var s=r.slice();t=i._getItemByFieldPath(s,a,t)}else if("group"===o&&!t.caption&&!t.name||"tabbed"===o){var l=i._getSubItemField(o);t.items=i._generateItemsFromData(t.items),t=i._getItemByField({fieldName:a,fieldPath:r},t[l])}if(i._isExpectedItem(t,a))return n=t,!1}),n},_getFieldParts:function(e){for(var t=".",n=e,i=n.indexOf(t),o=[];i!==-1;)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),s="group"===a||"tabbed"===a||n.title;do{if(!s)break;var u,c=n.name||n.caption||n.title,d=l.isDefined(c),h=o._getTextWithoutSpaces(c);if(n[r]=o._generateItemsFromData(n[r]),d&&(u=e.pop()),!e.length&&(i=o._getItemByField(t,n[r])))break;(!d||d&&h===u)&&e.length&&(i=o._searchItemInEverySubItem(e,t,n[r]))}while(e.length&&!l.isDefined(i));return i},_getSubItemField:function(e){return"tabbed"===e?"tabs":"items"},_searchItemInEverySubItem:function(e,t,n){var i,o=this;return c(n,function(n,a){if(i=o._getItemByFieldPath(e.slice(),t,a))return!1}),i||(i=!1),i},_getTextWithoutSpaces:function(e){return e?e.replace(/\s/g,""):void 0},_isExpectedItem:function(e,t){return e&&(e.dataField===t||e.name===t||this._getTextWithoutSpaces(e.title)===t||"group"===e.itemType&&this._getTextWithoutSpaces(e.caption)===t)},_changeItemOption:function(e,t,n){l.isObject(e)&&(e[t]=n)},_dimensionChanged:function(){var e=this._getCurrentScreenFactor();this._lastMarkupScreenFactor!==e&&(this._isColCountChanged(this._lastMarkupScreenFactor,e)&&(this._targetScreenFactor=e,this._refresh(),this._targetScreenFactor=void 0),this._lastMarkupScreenFactor=e)},_isColCountChanged:function(e,t){var n=!1;return c(this._cachedColCountOptions,function(i,o){if(o.colCountByScreen[e]!==o.colCountByScreen[t])return n=!0,!1}),n},_refresh:function(){var e="."+$+" input, ."+$+" textarea";o.trigger(this.$element().find(e),"change"),this.callBase()},_resetValues:function(){var e=this._getValidationGroup(),t=x.getGroupConfig(e);t&&t.reset(),this._itemsRunTimeInfo.each(function(e,t){l.isDefined(t.widgetInstance)&&l.isDefined(t.item)&&"button"!==t.item.itemType&&(t.widgetInstance.reset(),t.widgetInstance.option("isValid",!0))})},_updateData:function(e,t,n){var i=this,o=n?t:e;l.isObject(o)?c(o,function(t,o){i._updateData(n?e+"."+t:t,o,l.isObject(o))}):l.isString(e)&&i._updateFieldValue(e,t)},registerKeyHandler:function(e,t){this.callBase(e,t),this._itemsRunTimeInfo.each(function(n,i){l.isDefined(i.widgetInstance)&&i.widgetInstance.registerKeyHandler left:l*this._elementWidth(),top:0}),i=(new x).resolveWith(o)),i.done(function(){this._deferredAnimate&&o._deferredAnimate.resolveWith(o),t&&this._renderItemVisibility()}),i.promise()},_startSwipe:function(){this.$element().addClass(S)},_endSwipe:function(){this.$element().removeClass(S)},_animate:function(e,t){var n=this,i=this._$container,o=new x;return d.animate(this._$container,u({type:"slide",to:{left:e*this._elementWidth()},duration:n.option("animationDuration"),complete:function(){n._needMoveContainerForward()&&p.move(i,{left:0,top:0}),n._needMoveContainerBack()&&p.move(i,{left:n._maxContainerOffset()*n._elementWidth(),top:0}),o.resolveWith(n)}},t||{})),o},_needMoveContainerForward:function(){var e=this._$container.position().left*this._offsetDirection(),t=-this._maxItemWidth()*this._elementWidth()*this._itemsCount();return e<=t+F},_needMoveContainerBack:function(){var e=this._$container.position().left*this._offsetDirection(),t=this._actualItemWidth()*this._elementWidth();return e>=t-F},_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=i("<div>").addClass(O).appendTo(this._$wrapper),t=0;t<this._pagesCount();t++)i("<div>").addClass(B).appendTo(e);this._renderSelectedPageIndicator()}},_cleanIndicators:function(){this._$indicator&&this._$indicator.remove()},_renderSelectedItem:function(){var e=this.option("selectedIndex");this._itemElements().removeClass(A).eq(e).addClass(A)},_renderItemVisibility:function(){return this.option("initialItemWidth")||this.option("wrapAround")?void this._releaseInvisibleItems():(this._itemElements().each(function(e,t){this.option("selectedIndex")===e?i(t).removeClass(T):i(t).addClass(T)}.bind(this)),void this._getLoopedItems().addClass(T))},_releaseInvisibleItems:function(){this._itemElements().removeClass(T),this._getLoopedItems().removeClass(T)},_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(P).removeClass(M).eq(n).addClass(M)}},_renderUserInteraction:function(){var e=this.$element(),t=this.option("swipeEnabled")&&this._itemsCount()>1;this._createComponent(e,v,{disabled:this.option("disabled")||!t,onStart:this._swipeStartHandler.bind(this),onUpdated:this._swipeUpdateHandler.bind(this),onEnd:this._swipeEndHandler.bind(this),itemSizeFunc:this._elementWidth.bind(this)});var n=this._createAction(this._indicatorSelectHandler);o.off(e,_.addNamespace(h.name,this.NAME),P),o.on(e,_.addNamespace(h.name,this.NAME),P,function(e){n({event:e})})},_indicatorSelectHandler:function(e){var t=e.event,n=e.component;if(n.option("indicatorEnabled")){var o=i(t.target).index(),a=n._fitPaginatedIndex(o*n._itemsPerPage());n._needLongMove=!0,n.option("selectedIndex",a),n._loadNextPageIfNeeded(a)}},_renderNavButtons:function(){var e=this;return e.option("showNavButtons")?(e._prevNavButton=i("<div>").appendTo(this._$wrapper),e._createComponent(e._prevNavButton,L,{direction:"prev",onClick:function(){e._prevPage()}}),e._nextNavButton=i("<div>").appendTo(this._$wrapper),e._createComponent(e._nextNavButton,L,{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(th var s=e._editorInstance.showFormDialog({formData:t,items:e._imageFormItems});s.done(function(t){var o=i;n&&(o=r,e.quill.deleteText(o,1,j)),e.quill.insertEmbed(o,"extendedImage",t,q),e.quill.setSelection(o+1,0,q)}).always(function(){e.quill.focus()})}}},{key:"_renderToolbar",value:function(){var e=this,t=this.options.container||this._getContainer();this._$toolbar=(0,c.default)("<div>").addClass(S).appendTo(t),this._$toolbarContainer=(0,c.default)(t).addClass(k),b.default.on(this._$toolbar,(0,w.addNamespace)("mousedown",this._editorInstance.NAME),function(e){e.preventDefault()}),this.toolbarInstance=this._editorInstance._createComponent(this._$toolbar,h.default,this.toolbarConfig),this._editorInstance.on("optionChanged",function(t){var n=t.name;"readOnly"!==n&&"disabled"!==n||e.toolbarInstance.option("disabled",e.isInteractionDisabled)})}},{key:"clean",value:function(){this._toolbarWidgets.clear(),this._$toolbarContainer&&this._$toolbarContainer.empty().removeClass(k)}},{key:"_getContainer",value:function(){var e=(0,c.default)("<div>");return this._editorInstance.$element().prepend(e),e}},{key:"_prepareToolbarItems",value:function(){var e=this,t=[];return(0,g.each)(this.options.items,function(n,i){var o=void 0;if((0,_.isObject)(i))o=e._handleObjectItem(i);else if((0,_.isString)(i)){var a=e._prepareButtonItemConfig(i);o=e._getToolbarItem(a)}o&&t.push(o)}),t}},{key:"_handleObjectItem",value:function(e){if(e.formatName&&e.formatValues&&this._isAcceptableItem("dxSelectBox")){var t=this._prepareSelectItemConfig(e);return this._getToolbarItem(t)}if(e.formatName&&this._isAcceptableItem("dxButton")){var n=this._prepareButtonItemConfig(e.formatName),i=(0,m.extend)(!0,n,e);return this._getToolbarItem(i)}return this._getToolbarItem(e)}},{key:"_isAcceptableItem",value:function(e,t){return!e.widget||e.widget===t}},{key:"_prepareButtonItemConfig",value:function(e){var t="clear"===e?"clearformat":e,n=(0,y.titleize)(e);return{widget:"dxButton",formatName:e,options:{hint:n,text:n,icon:t.toLowerCase(),onClick:this._formatHandlers[e]||this._getDefaultClickHandler(e),stylingMode:"text"},showText:"inMenu"}}},{key:"_prepareSelectItemConfig",value:function(e){var t=this;return(0,m.extend)(!0,{widget:"dxSelectBox",formatName:e.formatName,options:{stylingMode:"filled",dataSource:e.formatValues,placeholder:(0,y.titleize)(e.formatName),onValueChanged:function(n){t._isReset||(t.quill.format(e.formatName,n.value,q),t._setValueSilent(n.component,n.value))}}},e)}},{key:"_prepareColorClickHandler",value:function(e){var t=this;return function(){var n=t.quill.getFormat(),i="color"===e?P:M;t._editorInstance.formDialogOption("title",(0,v.format)(i));var o=t._editorInstance.showFormDialog({formData:n,items:[{dataField:e,editorType:"dxColorView",editorOptions:{onContentReady:function(e){(0,c.default)(e.element).closest("."+A).css("flexBasis","auto")},focusStateEnabled:!1},label:{visible:!1}}]});o.done(function(n){t.quill.format(e,n[e],q)}),o.fail(function(){t.quill.focus()})}}},{key:"_getToolbarItem",value:function(e){var t=this,n={options:{onInitialized:function(n){e.formatName&&(n.component.$element().addClass(I),n.component.$element().toggleClass("dx-"+e.formatName.toLowerCase()+"-format",!!e.formatName),t._toolbarWidgets.add(e.formatName,n.component))}}};return(0,m.extend)(!0,{location:"before",locateInMenu:"auto"},this._getDefaultConfig(e.formatName),e,n)}},{key:"_getDefaultItemsConfig",value:function(){return{header:{options:{displayExpr:function(e){var t=(0,_.isDefined)(e)&&e!==!1;return t?K+" "+e:U}}},clear:{options:{disabled:!0}},undo:{options:{disabled:!0}},redo:{options:{disabled:!0}},separator:{template:function(e,t,n){(0,c.default)(n).addClass(T)},menuItemTemplate:function(e,t,n){(0,c.default)(n).addClass(D)}}}}},{key:"_getDefaultConfig",value:function(e){return this._getDefaultItemsConfig()[e]}},{key:"updateHistoryWidgets",value:function(){var e=this.quill.history;if(e){var t=e.stack.undo,n=e.stack.redo;this._updateHistoryWidget(this._toolbarWidgets.getByName("undo"),t),this._updateHistoryWidget(this._toolbarWidgets.getByName("redo"),n)}}},{key: }},{key:"_handleBreakLine",value:function(e,t){1===e.length&&e.head instanceof this.BreakBlot&&t.push("<br>")}},{key:"_convertList",value:function(e,t,n){var i=[],o=e.formats();return e.children.forEachAt(t,n,function(e,t,n){var a=e.formats();i.push({child:e,offset:t,length:n,indent:a.indent||0,type:o.list})}),this._getListMarkup(i,-1,[])}},{key:"_getListMarkup",value:function(e,t,n){if(0===e.length){var i=this._getListType(n.pop());return t<=0?"</li></"+i+">":this._processListMarkup([[],t-1,n],i)}var o=a(e),r=o[0],s=r.child,l=r.offset,u=r.length,c=r.indent,d=r.type,h=o.slice(1),p=this._getListType(d),f=[s,l,u],g=[h,c,n];if(c>t){n.push(d);var _=this._correctListMultiIndent(n,d,p,c-t-1);return _+this._processIndentListMarkup(f,g,p)}if(c===t)return this._processIndentListMarkup(f,g);var m=this._getListType(n.pop());return this._processListMarkup([e,t-1,n],m)}},{key:"_correctListMultiIndent",value:function(e,t,n,i){for(var o="";i;)o+="<"+n+">",e.push(t),i--;return o}},{key:"_processListMarkup",value:function(e,t){return"</li></"+t+">"+this._getListMarkup.apply(this,o(e))}},{key:"_processIndentListMarkup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/li";return"<"+n+"><li>"+this._convertHTML.apply(this,o(e))+this._getListMarkup.apply(this,o(t))}},{key:"_getListType",value:function(e){return"ordered"===e?"ol":"ul"}},{key:"_escapeText",value:function(e){return e.replace(/[&<>"']/g,function(e){return p[e]})}}]),e}();c.default.addConverter("delta",_),t.default=_},function(e,t,n){function i(e){var t=e[1];return t.match(/\S+\./)?"ordered":"bullet"}function o(e){var t=e.getAttribute("style").replace(/\n+/g,""),n=t.match(/level(\d+)/);return n?n[1]-1:0}function a(e){var t=e[e.length-1];t.insert=t.insert.trim()}Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){var t=e.import("delta");return function(e,n){var r=n.ops.slice(),s=r[0];s.insert=s.insert.replace(/^\s+/,"");var l=s.insert.match(/^(\S+)\s+/);if(!l)return n;s.insert=s.insert.substring(l[0].length,s.insert.length);var u=o(e);return a(r),r.push({insert:"\n",attributes:{list:i(l),indent:u}}),new t(r)}};t.default=r},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(2),s=i(r),l=n(0),u=n(46),c=i(u),d=n(140),h=i(d),p=n(12),f=n(10),g=n(6),_=n(15),m=n(31),v=i(m),y="dx-formdialog",x="dx-formdialog-form",b=function(){function e(t,n){o(this,e),this._editorInstance=t,this._popupUserConfig=n,this._renderPopup()}return a(e,[{key:"_renderPopup",value:function(){var e=this._editorInstance,t=(0,s.default)("<div>").addClass(y).appendTo(e.$element()),n=this._getPopupConfig();return e._createComponent(t,c.default,n)}},{key:"_escKeyHandler",value:function(){this._popup.hide()}},{key:"_addEscapeHandler",value:function(e){e.component.registerKeyHandler("escape",this._escKeyHandler.bind(this))}},{key:"_getPopupConfig",value:function(){var e=this;return(0,l.extend)({onInitialized:function(t){e._popup=t.component,e._popup.on("hiding",function(){e.deferred.reject()}),e._popup.on("shown",function(){e._form.focus()})},deferRendering:!1,focusStateEnabled:!1,showCloseButton:!1,contentTemplate:function(t){var n=(0,s.default)("<div>").appendTo(t);e._renderForm(n,{onEditorEnterKey:function(t){var n=t.component,i=t.dataField;e._updateEditorValue(n,i),e.hide(n.option("formData"))},customizeItem:function(t){"simple"===t.itemType&&(t.editorOptions=(0,l.extend)(!0,{},t.editorOptions,{onInitialized:e._addEscapeHandler.bind(e)}))}})},toolbarItems:[{toolbar:"bottom",location:"after",widget:"dxButton",options:{onInitialized:this._addEscapeHandler.bind(this),text:(0,_.format)("OK"),onClick:function(){e.hide(e._form.option("formData"))}}},{toolbar:"bottom",loc })},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"))),u.resolve()},updateBounds:function(){return u.all([this._resolveLocation(this._option("bounds.northEast")),this._resolveLocation(this._option("bounds.southWest"))]).then(function(e){var t=new google.maps.LatLngBounds;t.extend(e[0]),t.extend(e[1]),this._map.fitBounds(t)}.bind(this))},updateCenter:function(){return this._resolveLocation(this._option("center")).then(function(e){this._map.setCenter(e),this._option("center",this._normalizeLocation(e))}.bind(this))},updateZoom:function(){return this._map.setZoom(this._option("zoom")),u.resolve()},updateControls:function(){var e=this._option("controls");return this._map.setOptions({disableDefaultUI:!e}),u.resolve()},isEventsCanceled:function(e){var t=this._map&&this._map.get("gestureHandling"),n=a(e.target).closest("."+y).length>0;return!(n||"desktop"!==l.real().deviceType&&"cooperative"===t)&&this.callBase()},_renderMarker:function(e){return this._resolveLocation(e.location).then(function(t){var n;n=e.html?new i({map:this._map,position:t,html:e.html,offset:c({top:0,left:0},e.htmlOffset)}):new google.maps.Marker({position:t,map:this._map,icon:e.iconSrc||this._option("markerIconSrc")});var o,a=this._renderTooltip(n,e.tooltip);if(e.onClick||e.tooltip){var r=this._mapWidget._createAction(e.onClick||s),l=this._normalizeLocation(t);o=google.maps.event.addListener(n,"click",function(){r({location:l}),a&&a.open(this._map,n)}.bind(this))}return{location:t,marker:n,listener:o}}.bind(this))},_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){return u.all(d(e.locations,function(e){return this._resolveLocation(e)}.bind(this))).then(function(t){return new u(function(n){var i=t.shift(),o=t.pop(),a=d(t,function(e){return{location:e,stopover:!0}}),r={origin:i,destination:o,waypoints:a,optimizeWaypoints:!0,travelMode:this._movementMode(e.mode)};(new google.maps.DirectionsService).route(r,function(t,i){if(i===google.maps.DirectionsStatus.OK){var o=new f(e.color||this._defaultRouteColor()).toHex(),a={directions:t,map:this._map,suppressMarkers:!0,preserveViewport:!0,polylineOptions:{strokeWeight:e.weight||this._defaultRouteWeight(),strokeOpacity:e.opacity||this._defaultRouteOpacity(),strokeColor:o}},r=new google.maps.DirectionsRenderer(a),s=t.routes[0].bounds;n({instance:r,northEast:s.getNorthEast(),southWest:s.getSouthWest()})}else p.log("W1006",i),n({instance:new google.maps.DirectionsRenderer({})})}.bind(this))}.bind(this))}.bind(this))},_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();e<t?this._map.setZoom(e):this._option("zoom",t),delete this._preventZoomChangeEvent}return u.resolve()},_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()),u.resolve()}});e.exports=w},function(e,t,n){var i,o=n(4).noop,a=n(7).getWindow(),r=n(83),s=n(0).extend,l=n(18),u=n(3),c=n(315),d=n(90),h=n(62),p=n(1).isDefined,f="_bingScriptReady",g="https://www.bing.com/api/maps/mapcontrol?callback="+f,_=13,m="AhuxC0dQ1DBTNo8L-H9ToVMQStmizZzBJdraTSgCzDSWPsA1Qd8uIvFSflzxdaLH",v=1e-16,y=function(){return a.Microsoft&&a.Microsoft.Maps},x=c.inherit({_mapType:function(e){var t={roadmap:Microsoft.Maps.MapType o.off(i,e),o.on(i,e,function(e){h.isMouseEvent(e)&&n({event:e})}),o.off(i,t),o.on(i,t,function(e){var t=this._activeHandle();t&&(o.trigger(t,"focusin"),o.trigger(t,"focus")),n({event:e})}.bind(this))},_itemWidthFunc:function(){return this._itemWidthRatio},_swipeStartHandler:function(e){var t,n,i=this.option("rtlEnabled");h.isTouchEvent(e.event)&&this._createAction(this._startHandler.bind(this))({event:e.event}),this._feedbackDeferred=new x,f.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.event.maxLeftOffset=i?n:t,e.event.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.event.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.event.offset/this._swipePixelRatio();this._$range.width(100*n+"%"),g.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(!(i<0))if(a===n||a===t)this._setValueOnSwipe(a);else{var r=(i+"").split(".")[1],s=(t+"").split(".")[1],l=Math.max(r&&r.length||0,s&&s.length||0),u=Math.round((a-t)/i);a=Number((u*i+t).toFixed(l)),this._setValueOnSwipe(Math.max(Math.min(a,n),t))}},_setValueOnSwipe:function(e){this.option("value",e)},_startHandler:function(e){var t=e.event;this._currentRatio=(h.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");this._$submitElement.val(u(e)),g.getInstance(this._activeHandle()).option("value",e)},_setRangeStyles:function(e){e&&this._$range.css(e)},_callHandlerMethod:function(e,t){g.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._renderValue(),this.callBase(e),this._renderLabels(),this._renderAriaMinAndMax(),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"useInkRipple":this._invalidate();break;default:this.callBase(e)}},_refresh:function(){this._toggleRTLDirection(this.option("rtlEnabled")),this._renderDimensions(),this._renderValue(),this._renderHandle(),this._repaintHandle()},_clean:function(){delete this._inkRipple,this.callBase()}});c("dxSlider",B),e.exports=B},function(e,t,n){e.exports=n(583)},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(8),a=i(o),r=n(0),s=n(42),l=i(s),u=n(47),c=i(u),d=n(17),h=i(d),p=n(584),f=n(151),g=c.default.add,_=h.default.inherit({_getDefaultOptions:function(){return(0,r.extend)(this.callBase(),{icon:"",onClick:null,visible:!1,activeStateEnabled:!0,hoverStateEnabled:!0,animation:{show:{type:"pop",duration:200,easing r(i,function(n,i){t._isNodeVisible(i)&&t._setFieldState(i,_,e)}),t._selectedNodesKeys=t._updateNodesKeysArray(_),!e&&t.options.selectionRequired&&t.toggleSelection(n,!0)}},isAllSelected:function(){return!!this.getSelectedNodesKeys().length&&(this.getSelectedNodesKeys().length===this.getVisibleItemsCount()||void 0)},toggleExpansion:function(e,t){var n=this.getNodeByKey(e);this._setFieldState(n,g,t),t&&this._updateExpansion(e),this._expandedNodesKeys=this._updateNodesKeysArray(g)},isFiltered:function(e){return!this.options.searchValue.length||!!this._filterDataStructure(this.options.searchValue,[e]).length},_createCriteria:function(e,t,n){var i=[];return Array.isArray(e)?(a.each(e,function(e,o){i.push([o,n,t],"or")}),i.pop(),i):[e,n,t]},_filterDataStructure:function(e,t){var n=this.options.searchExpr||this.options.dataAccessors.getters.display,i=c(this.options.searchMode),o=this._createCriteria(n,e,i);return t=t||this._initialDataStructure,h(t).filter(o).toArray()},search:function(e){function t(e,i){for(var a=e.length;i<a;){var r=e[i];if(r.internalFields.parentKey!==n.options.rootValue){var s=o.getParentNode(r);s?(s.internalFields.expanded||n._setFieldState(s,g,!0),d(s,e)>-1?i++:(e.splice(i,0,s),t(e,i))):(u.log("W1007",r.internalFields.parentKey,r.internalFields.key),i++)}else i++}}var n=this,i=this._filterDataStructure(e),o=this.options.dataConverter;return t(i,0),this.options.sort&&(i=p.queryByOptions(h(i),{sort:this.options.sort}).toArray()),o._indexByKey={},r(i,function(e,t){t.internalFields.childrenKeys=[],o._indexByKey[t.internalFields.key]=e}),o._dataStructure=i,o.setChildrenKeys(),o._dataStructure}});e.exports=v},function(e,t,n){var i=n(14),o=n(0).extend,a=n(18),r=n(3).each,s=n(1),l=i.inherit({ctor:function(){this._dataStructure=[],this._itemsCount=0,this._visibleItemsCount=0},_indexByKey:{},_convertItemsToNodes:function(e,t){var n=this;r(e,function(e,i){var o=s.isDefined(t)?t:n._getParentId(i),a=n._convertItemToNode(i,o);n._dataStructure.push(a),n._checkForDuplicateId(a.internalFields.key),n._indexByKey[a.internalFields.key]=n._dataStructure.length-1,n._itemHasChildren(i)&&n._convertItemsToNodes(n._dataAccessors.getters.items(i),a.internalFields.key)})},_checkForDuplicateId:function(e){if(s.isDefined(this._indexByKey[e]))throw a.Error("E1040",e)},_getParentId:function(e){return"plain"===this._dataType?this._dataAccessors.getters.parentKey(e):void 0},_itemHasChildren:function(e){if("plain"!==this._dataType){var t=this._dataAccessors.getters.items(e);return t&&t.length}},_getUniqueKey:function(e){var t=this._dataAccessors.getters.key,n=t(e),i=t&&(n||0===n)&&s.isPrimitive(n);return i?n:this.getItemsCount()},_convertItemToNode:function(e,t){this._itemsCount++,e.visible!==!1&&this._visibleItemsCount++;var n=this,i={internalFields:{disabled:n._dataAccessors.getters.disabled(e,{defaultValue:!1}),expanded:n._dataAccessors.getters.expanded(e,{defaultValue:!1}),selected:n._dataAccessors.getters.selected(e,{defaultValue:!1}),key:n._getUniqueKey(e),parentKey:s.isDefined(t)?t:n._rootValue,item:n._makeObjectFromPrimitive(e),childrenKeys:[]}};return o(i,e),delete i.items,i},setChildrenKeys:function(){var e=this;r(this._dataStructure,function(t,n){if(n.internalFields.parentKey!==e._rootValue){var i=e.getParentNode(n);i&&i.internalFields.childrenKeys.push(n.internalFields.key)}})},_makeObjectFromPrimitive:function(e){if(s.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 r(e,function(e,o){o=s.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 return e.children(".dx-checkbox").dxCheckBox("instance")},_updateItemsUI:function(){var e=this,t={};(0,v.each)(this._dataAdapter.getData(),function(n,i){var o=e._getNodeElement(i,t),a=i.internalFields.selected;if(o.length&&(e._toggleSelectedClass(o,a),e.setAria("selected",a,o),e._showCheckboxes())){var r=e._getCheckBoxInstance(o);r.option("value",a)}}),this._selectAllEnabled()&&this._$selectAllItem.dxCheckBox("instance").option("value",this._dataAdapter.isAllSelected())},_updateParentsState:function(e,t){if(t){var n=this._dataAdapter.getNodeByKey(e.internalFields.parentKey),i=(0,a.default)(t.parents("."+V)[0]);if(this._showCheckboxes()){var o=n.internalFields.selected;this._getCheckBoxInstance(i).option("value",o),this._toggleSelectedClass(i,o)}n.internalFields.parentKey!==this.option("rootValue")&&this._updateParentsState(n,i)}},_itemEventHandlerImpl:function(e,t,n){var i=(0,a.default)(e).closest("."+V).children("."+N);return t((0,m.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._getNodeByElement(t.currentTarget);this._itemDXEventHandler(t,e,{node:this._dataAdapter.getPublicNode(n)})},_itemClass:function(){return N},_itemDataKey:function(){return G},_attachClickEvent:function(){var e="."+this._itemClass(),t="."+V+", ."+Y,n=(0,k.addNamespace)(d.default.name,this.NAME),i=(0,k.addNamespace)(S.down,this.NAME),o=this._itemContainer(),r=this;(0,s.off)(o,n,e),(0,s.off)(o,i,t),(0,s.on)(o,n,e,function(e){r._itemClickHandler(e,(0,a.default)(this))}),(0,s.on)(o,i,t,function(e){r._itemPointerDownHandler(e)})},_itemClickHandler:function(e,t){var n=this._getItemData(t),i=this._getNodeByElement(t);this._itemDXEventHandler(e,"onItemClick",{node:this._dataAdapter.getPublicNode(i)}),this.option("selectByClick")&&!e.isDefaultPrevented()&&this._updateItemSelection(!i.internalFields.selected,n,e)},_updateSelectionToFirstItem:function(e,t){for(var n=t;n>=0;){var i=(0,a.default)(e[n]);this._updateItemSelection(!0,i.find("."+N).get(0)),n--}},_updateSelectionToLastItem:function(e,t){for(var n=e.length,i=t;i<n;){var o=(0,a.default)(e[i]);this._updateItemSelection(!0,o.find("."+N).get(0)),i++}},_focusInHandler:function(e){var t=this;if(this._updateFocusState(e,!0),this.option("focusedElement"))return clearTimeout(this._setFocusedItemTimeout),void(this._setFocusedItemTimeout=setTimeout(function(){t._setFocusedItem((0,a.default)(t.option("focusedElement")))}));var n=this._getActiveItem();this.option("focusedElement",(0,y.getPublicElement)(n.closest("."+V)))},_setFocusedItem:function(e){e&&e.length&&(e.children().hasClass(Z)||this.callBase(e),this._scrollableContainer.scrollToElement(e.find("."+N).first()))},_itemPointerDownHandler:function(e){if(this.option("focusStateEnabled")){var t=(0,a.default)(e.target).closest("."+V+", ."+Y);if(t.length){var n=t.hasClass(Z)?null:t;this.option("focusedElement",(0,y.getPublicElement)(n))}}},_findNonDisabledNodes:function(e){return e.not(function(){return(0,a.default)(this).children("."+N).hasClass(Z)})},_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("."+F).each(function(){E.default.stop(this,!0)});var l=this._findNonDisabledNodes(this._nodeElements());if(l&&l.length)switch(e){case n:var u=this._prevItem(l);this.option("focusedElement",(0,y.getPublicElement)(u)),t.shiftKey&&this._showCheckboxes()&&this._updateItemSelection(!0,u.find("."+N).get(0));break;case i:var c=this._nextItem(l);this.option("focusedElement",(0,y.getPublicElement)(c)),t.shiftKey&&this._showCheckboxes()&&this._updateItemSelection(!0,c.find("."+N).get(0));break;case o:var d=l.first();t.shiftKey&&this._showCheckboxes()&&this._updateSelectionToFirstItem(l,l.index(this._prevItem(l))),this.option("focusedElement",(0,y.getPublicElement)(d));break;case a:var h=l.last();t.shiftKey&&this._showCheckboxes()&&this._updateSelectionToLastItem(l },function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(23),a=i(o),r=n(198),s=i(r),l=n(349),u=i(l);a.default.registerModule("virtualScrolling",u.default),s.default.extend(u.default.extenders.dataSourceAdapter)},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(23),a=i(o),r=n(351),s=i(r);a.default.registerModule("filterRow",s.default)},function(e,t,n){var i=n(2),o=n(4).noop,a=n(10).getPublicElement,r=n(77),s=n(0).extend,l=n(105),u="dx-context-menu-content-delimiter",c="dx-submenu",d=l.inherit({_getDefaultOptions:function(){return s(this.callBase(),{orientation:"horizontal",tabIndex:null,onHoverStart:o})},_initDataAdapter:function(){this._dataAdapter=this.option("_dataAdapter"),this._dataAdapter||this.callBase()},_renderContentImpl:function(){this._renderContextMenuOverlay(),this.callBase();var e=this._dataAdapter.getNodeByKey(this.option("_parentKey"));e&&this._renderItems(this._getChildNodes(e)),this._renderDelimiter()},_renderDelimiter:function(){this.$contentDelimiter=i("<div>").appendTo(this._itemContainer()).addClass(u)},_getOverlayOptions:function(){return s(this.callBase(),{onPositioned:this._overlayPositionedActionHandler.bind(this)})},_overlayPositionedActionHandler:function(e){this._showDelimiter(e)},_hoverEndHandler:function(e){this.callBase(e),this._toggleFocusClass(!1,e.currentTarget)},_isMenuHorizontal:function(){return"horizontal"===this.option("orientation")},_hoverStartHandler:function(e){var t=this.option("onHoverStart");t(e),this.callBase(e),this._toggleFocusClass(!0,e.currentTarget)},_drawSubmenu:function(e){this._actions.onShowing({rootItem:a(e),submenu:this}),this.callBase(e),this._actions.onShown({rootItem:a(e),submenu:this})},_hideSubmenu:function(e){this._actions.onHiding({cancel:!0,rootItem:a(e),submenu:this}),this.callBase(e),this._actions.onHidden({rootItem:a(e),submenu:this})},_showDelimiter:function(e){if(this.$contentDelimiter){var t=this._itemContainer().children("."+c).eq(0),n=this.option("position").of,i={of:t},o=e.position,a=o.v.location,s=o.h.location,l=n.offset(),u=Math.round(l.left),d=Math.round(l.top),h=n.width(),p=n.height(),f=t.width(),g=t.height();this.$contentDelimiter.css("display","block"),this.$contentDelimiter.width(this._isMenuHorizontal()?h<f?h-2:f:2),this.$contentDelimiter.height(this._isMenuHorizontal()?2:p<g?p-2:g),this._isMenuHorizontal()?a>d?Math.round(s)===u?(i.offset="1 -1",i.at=i.my="left top"):(i.offset="-1 -1",i.at=i.my="right top"):(this.$contentDelimiter.height(5),Math.round(s)===u?(i.offset="1 4",i.at=i.my="left bottom"):(i.offset="-1 2",i.at=i.my="right bottom")):s>u?Math.round(a)===d?(i.offset="-1 1",i.at=i.my="left top"):(i.offset="-1 -1",i.at=i.my="left bottom"):Math.round(a)===d?(i.offset="1 1",i.at=i.my="right top"):(i.offset="1 -1",i.at=i.my="right bottom"),r.setup(this.$contentDelimiter,i)}},_getContextMenuPosition:function(){return this.option("position")},isOverlayVisible:function(){return this._overlay.option("visible")},getOverlayContent:function(){return this._overlay.$content()}});e.exports=d},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(23),a=i(o),r=n(354),s=i(r);a.default.registerModule("headerFilter",s.default)},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(23),a=i(o),r=n(356),s=i(r);a.default.registerModule("filterSync",s.default)},function(e,t,n){function i(e,t){var n=a("<div>").addClass(l),i=a("<div>").addClass(u),o=e.value||[],h=function(e){return e&&e.length>0?e[0]:null},p=function(e){return e&&2===e.length?e[1]:null};t.append(n),t.append(a("<span>").addClass(c).text(d)),t.append(i),t.addClass(s),this._editorFactory.createEditor.call(this,n,r({},e.field,e,{value:h(o),parentType:"filterBuilder",setValue:function(t){o=[t,p(o)],e.setValue(o)}})),this._editorFactory.createEditor.call(this,i,r({},e.field,e,{value:p(o),parentType:"filterBuilder",setValue:function(t){o=[h(o),t],e.setValue(o)}}))}function o(e){return{name:"between",caption:e,icon:"range",valueSeparator:d,dataTypes:["number","date","datetime"],editorTemplate:i}}var a=n( this._footerItems=[],this.callBase()},footerItems:function(){return this._footerItems}}}(),editing:function(){return{_refreshSummary:function(){F(this)&&this._dataController.refresh({load:!0,changesOnly:!0})},_addEditData:function(e){var t=this.callBase.apply(this,arguments);return e.type&&this._refreshSummary(),t},_removeEditDataItem:function(){var e=this.callBase.apply(this,arguments);return this._refreshSummary(),e},cancelEditData:function(){var e=this.callBase.apply(this,arguments);return this._refreshSummary(),e}}}()},views:{rowsView:function(){return{_createRow:function(e){var t=this.callBase(e);return e&&t.addClass(e.rowType===P?A:""),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!(0,s.isDefined)(t.columns[e].groupIndex)&&t.row.summaryCells[e].length},_getAlignByColumnCellCount:function(e,t){for(var n,i=0,o=1;o<e;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 o=0;o<i;o++){var a=t.columns.length-i+o;this._renderCell(e.parent(),(0,u.extend)({column:t.columns[a],columnIndex:this._getSummaryCellIndex(a,t.columns)},t))}}},_getSummaryCellIndex:function(e){return e},_getCellTemplate:function(e){return!e.column.command&&!(0,s.isDefined)(e.column.groupIndex)&&e.summaryItems&&e.summaryItems.length?M:this.callBase(e)},_getCellOptions:function(e){var t=this,n=t.callBase(e);return e.row.summaryCells?(0,u.extend)(n,R(t,e)):n}}}()}}})},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n,i){var a=0;if(e<t)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===f.aggregators.count}function l(e){var t=(0,d.compileGetter)(e.selector),n=!("skipEmptyValues"in e)||e.skipEmptyValues,i=e.aggregator;if("string"==typeof i&&(i=f.aggregators[i],!i))throw p.errors.Error("E4001",e.aggregator);return{selector:t,aggregator:i,skipEmptyValues:n}}var u=n(14),c=i(u),d=n(20),h=n(1),p=n(35),f=n(40);e.exports=c.default.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,a=t.items?t.items.length:0;for(i=0;i<e.length;i++)if(s(e[i].aggregator))n[i]=(n[i]||0)+a;else for(o=0;o<a;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-1),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=this._seed.bind(this,this._groupAggregates),r=this._aggregate.bind(this,this._groupAggregates),s=this._finalize.bind(this,this._groupAggregates);--i>0;)o(0,i,e,t)},_seed:function(e,t){return a(e,function(e){var n=e.aggregator,i="seed"in n?(0,h.isFunction)(n.seed)?n.seed(t):n.seed:NaN;return i})},_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))},_finaliz },_processDataItem:function(){return this.callBase.apply(this,arguments)}}}}}))},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}n(655);var o=n(2),a=i(o),r=n(18),s=i(r),l=n(1),u=n(0),c=n(6),d=n(15),h=i(d),p=n(28),f=i(p),g=n(36),_=i(g),m=n(347),v=i(m),y="dx-treelist-icon-container",x="dx-select-checkbox",b="insert",w=v.default.controllers.editing.inherit(function(){return{_generateNewItem:function(e){var t=this.callBase(e);return t.data={key:e},t.children=[],t.level=0,t.parentKey=this.option("rootValue"),t},_needInsertItem:function(e,t,n,i){var o=e.key.parentKey;if(void 0!==o&&o!==this.option("rootValue")){var a=_.default.getIndexByKey(o,n);return a>=0&&this._dataController.isRowExpanded(o)&&n.splice(a+1,0,i),!1}return this.callBase.apply(this,arguments)},_isEditColumnVisible:function(){var e=this.callBase.apply(this,arguments),t=this.option("editing");return e||t&&t.allowAdding},_isDefaultButtonVisible:function(e,t){var n=this.callBase.apply(this,arguments),i=t.row;return"add"===e.name?this.allowAdding(t)&&i.rowIndex!==this._getVisibleEditRowIndex()&&!(i.removed||i.inserted):n},_getEditingButtons:function(e){var t=this.callBase.apply(this,arguments);return e.column.buttons||t.unshift(this._getButtonConfig("add",e)),t},_beforeSaveEditData:function(e){var t,n,i=this._dataController,o=this.callBase.apply(this,arguments);if(e&&e.type!==b&&(n=i&&i.store(),t=n&&n.key(),!(0,l.isDefined)(t)))throw s.default.Error("E1045");return o},addRowByRowIndex:function(e){var t=this.getController("data"),n=t.getVisibleRows()[e];return this.addRow(n?n.key:void 0)},addRow:function(e){var t=this,n=this.callBase,i=this.getController("data");if(void 0!==e&&!i.isRowExpanded(e)){var o=new c.Deferred;return i.expandRow(e).done(function(){setTimeout(function(){n.call(t,e),o.resolve()})}).fail(o.reject),o}n.call(t,e)},_initNewRow:function(e,t){var n=t.parentKey,i=this.getController("data"),o=i.dataSource(),a=o.createParentIdSetter();void 0===n&&(n=this.option("rootValue"),t.parentKey=n),a(e.data,n),this.callBase.apply(this,arguments)},allowAdding:function(e){return this._allowEditAction("allowAdding",e)},_needToCloseEditableCell:function(e){return this.callBase.apply(this,arguments)||e.closest("."+y).length&&this.isEditing()}}}()),C=v.default.extenders.views.rowsView._rowClick,k=v.default.extenders.views.rowsView._rowDblClick,S=function(e){var t=(0,a.default)(e.event.target),n="dxdblclick"===e.event.type?k:C;return!t.closest("."+x).length&&!I.call(this,e,n)},I=function(e,t){var n=(0,a.default)(e.event.target);return!n.closest("."+y).length&&(t.call(this,e),!0)},T=(0,u.extend)({},v.default.extenders.views.rowsView,{_renderCellCommandContent:function(e,t){var n=this._editingController,i=t.row&&n.isEditRow(t.row.rowIndex),o=t.isEditing||i;return!o&&this.callBase.apply(this,arguments)},_rowClick:function(e){S.call(this,e)&&this.callBase.apply(this,arguments)},_rowDblClick:function(e){S.call(this,e)&&this.callBase.apply(this,arguments)}});f.default.registerModule("editing",{defaultOptions:function(){return(0,u.extend)(!0,v.default.defaultOptions(),{editing:{texts:{addRowToNode:h.default.format("dxTreeList-editingAddRowToNode")}}})},controllers:{editing:w},extenders:{controllers:(0,u.extend)(!0,{},v.default.extenders.controllers,{data:{changeRowExpand:function(){return this._editingController.refresh(),this.callBase.apply(this,arguments)}}}),views:{rowsView:T,headerPanel:v.default.extenders.views.headerPanel}}})},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(28),a=i(o),r=n(345),s=i(r);a.default.registerModule("editorFactory",s.default)},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(0),a=n(28),r=i(a),s=n(348),l=i(s),u=(0,o.extend)({},l.default.extenders.controllers.editing);delete u.processItems,delete u.processDataItem,r.default.registerModule("validating",{defaultOptions:l.default.defaultOptions,controllers:l.default.controllers,extenders:{controllers:{editing:u,editorFactory:l.default.extenders.controllers.editorFactory},views:l.default.extenders.views}})},function(e,t,n) r.toggleClass(Z,!(!o.visible||!o.showDataFields&&!o.showColumnFields)),a.toggleClass(Z,!(!o.visible||!o.showFilterFields)),n.toggleClass("dx-pivotgrid-background",o.visible&&(o.showDataFields||o.showColumnFields||o.showRowFields)),this.$element().find(".dx-pivotgrid-toolbar").remove(),i.prependTo(s),this.option("fieldChooser.enabled")){var l=c(ae).appendTo(i).addClass("dx-pivotgrid-field-chooser-button"),u={icon:"columnchooser",hint:this.option("texts.showFieldChooser"),onClick:function(){e.getFieldChooserPopup().show()}};this._createComponent(l,"dxButton",u)}if(this.option("export.enabled")){var d=c(ae).appendTo(i).addClass("dx-pivotgrid-export-button"),h={icon:"exportxlsx",hint:this.option("texts.exportToExcel"),onClick:function(){e.exportToExcel()}};this._createComponent(d,"dxButton",h)}},_detectHasContainerHeight:function(){var e,t=this,n=t.$element();x(t._hasHeight)||n.is(":hidden")||(t._pivotGridContainer.addClass("dx-hidden"),e=c(ae).height(re),n.append(e),t._hasHeight=n.height()!==re,t._pivotGridContainer.removeClass("dx-hidden"),e.remove())},_renderHeaders:function(e,t,n,i){var o=this,a=o.getDataSource(),r=P.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")),o.$element().dxPivotGridFieldChooserBase("instance").renderSortable()},_createTableElement:function(){var e=this,t=c("<table>").css({width:"100%"}).toggleClass(K,!!e.option("showBorders")).toggleClass("dx-word-wrap",!!e.option("wordWrapEnabled"));return f.on(t,S.addNamespace(w.name,"dxPivotGrid"),"td",e._handleCellClick.bind(e)),t},_renderDataArea:function(e){var t=this,n=t._dataArea||new A.DataArea(t);return t._dataArea=n,n.render(e,t._dataController.getCellsInfo()),n},_renderRowsArea:function(e){var t=this,n=t._rowsArea||new O.VerticalHeadersArea(t);return t._rowsArea=n,n.render(e,t._dataController.getRowsInfo()),n},_renderColumnsArea:function(e){var t=this,n=t._columnsArea||new O.HorizontalHeadersArea(t);return t._columnsArea=n,n.render(e,t._dataController.getColumnsInfo()),n},_initMarkup:function(){var e=this;e.callBase.apply(this,arguments),e.$element().addClass(U)},_renderContentImpl:function(){var e,t,n,i,o,r,s,l,u,d,h,f=this,g=!f._pivotGridContainer;i=!g&&f._tableElement(),i||(f.$element().addClass(Y).addClass(Q),f._pivotGridContainer=c(ae).addClass("dx-pivotgrid-container"),f._renderFieldChooser(),f._renderContextMenu(),e=c(oe).addClass(q),t=c(oe).addClass(G),n=c(oe).addClass(W),i=f._createTableElement(),h=c(oe).addClass("dx-data-header"),d=c("<td>").attr("colspan","2").addClass("dx-filter-header"),u=c(oe).addClass("dx-column-header"),l=c(oe).addClass(j),c(ie).append(d).appendTo(i),c(ie).append(h).append(u).appendTo(i),c(ie).toggleClass("dx-ie",p.msie===!0).append(l).append(e).appendTo(i),c(ie).addClass(X).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.$element().addClass(ne),f._createComponent(f.$element(),R,{dataSource:f.getDataSource(),encodeHtml:f.option("encodeHtml"),allowFieldDragging:f.option("fieldPanel.allowFieldDragging"),headerFilter:f.option("headerFilter"),visible:f.option("visible")}),o=f._renderDataArea(n),r=f._renderRowsArea(t),s=f._renderColumnsArea(e),o.tableElement().prepend(s.headElement()),g&&(f._renderLoadPanel(o.groupElement().parent(),f.$element()),f._renderDescriptionArea(),r.processScroll(),s.processScroll()),[o,r,s].forEach(function(e){a(e)}),f._renderHeaders(l,u,d,h),f._update(g)},_update:function(e){var t,n=this;t=function(){n.updateDimensions().done(function(){n._subscribeToEvents(n._columnsArea,n._rowsArea,n._dataArea)})},n._needDelayResizing(n._dataArea.getData())&&e?setTimeout(t):t()},_fireContentReadyAction:function(){this._dataController.isLoa return e.filter.apply(e,arguments)},supportPaging:function(){return!1},getDrillDownItems:function(e,t){e=e||{},t=t||{},C(e);for(var n,i=[],o=this._dataSource.items(),a=t.maxRowCount,r=t.customColumns,s=A(e),l=A({rows:m(e.rows,t.rowPath),columns:m(e.columns,t.columnPath),filters:[]}),u=0;u<o.length;u++){if(l(o[u])&&s(o[u])){if(r){n={};for(var c=0;c<r.length;c++)n[r[c]]=o[u][r[c]]}else n=o[u];i.push(n)}if(a>0&&i.length===a)break}return i}}}()).include(_.storeDrillDownMixin)},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e,t){var n=[];return(0,E.each)(e,function(i,o){n.push({selector:o.dataField,groupInterval:o.groupInterval,desc:t&&"desc"===o.sortOrder,isExpanded:i<e.length-1})}),n}function r(e){var t=e.dataField,n=e.groupInterval;return"date"===e.dataType&&"string"==typeof n&&("quarter"===n.toLowerCase()&&(n="Month"),t=t+"."+M.default.capitalizeFirstLetter(n)),t}function s(e,t,n,i){var o=[e,i?"<":">=",n],a=[e,i?">=":"<",n+t];return[o,i?"or":"and",a]}function l(e,t){var n=r(e),i="exclude"===e.filterType,o=[n,i?"<>":"=",t];return(0,S.isDefined)(e.groupInterval)&&("string"==typeof e.groupInterval&&"quarter"===e.groupInterval.toLowerCase()?o=s(n,3,3*(t-1)+1,i):"number"==typeof e.groupInterval&&"date"!==e.dataType&&(o=s(n,e.groupInterval,t,i))),o}function u(e,t){var n=[];return e.searchValue?[e.dataField,"contains",e.searchValue]:(t="exclude"===e.filterType?t||"and":t||"or",(0,E.each)(e.filterValues,function(i,o){var a=[],r=e.levels?e.levels[i]:e;if(Array.isArray(o)){var s=e.levels&&e.levels.length;s&&(a=u({filterValues:o,filterType:r.filterType,levels:e.levels},"and"))}else a=l(r,o);a.length&&(n.length&&n.push(t),n.push(a))}),n)}function c(e){var t=[];return(0,E.each)(e,function(e,n){var i=u(n);return i.length?(t.length&&t.push("and"),void t.push(i)):[]}),1===t.length&&(t=t[0]),t}function d(e,t){var n,i=function(e){return e&&e.length};return n=i(e)&&i(t)?[e,"and",t]:i(e)?e:t}function h(e,t,n){var i=c(e.filters),o=a(e.rows,e.rowTake).concat(a(e.columns,e.columnTake)),r={groupSummary:[],totalSummary:[],group:o.length?o:void 0,take:o.length?void 0:1};return e.rows.length&&e.rowTake?(r.skip=e.rowSkip,r.take=e.rowTake,r.requireGroupCount=!0):e.columns.length&&e.columnTake&&!n&&(r.skip=e.columnSkip,r.take=e.columnTake,r.requireGroupCount=!0),t&&(i=d(i,t)),i.length&&(r.filter=i),(0,E.each)(e.values,function(t,n){var i={selector:n.dataField,summaryType:n.summaryType||"count"};r.groupSummary.push(i),e.includeTotalSummary&&r.totalSummary.push(i)}),r}function p(e,t,n){e=e||[],n=n||0;for(var i=0;i<e.length;i++){var o=e[i];t(o,n),o&&o.items&&o.items.length&&p(o.items,t,n+1)}}function f(e,t,n,i,o){e[n]=e[n]||[],e[n][i]=e[n][i]||[],(0,S.isDefined)(e[n][i][o])||(e[n][i][o]=t)}function g(e,t){return t&&"number"===t.dataType&&(0,S.isString)(e)?Number(e):!t||"date"!==t.dataType||t.groupInterval||e instanceof Date?e:(0,R.deserializeDate)(e)}function _(e,t,n,i){function a(e,t,n,o,a){var r,s,l,u,c=i[t+"Hash"],d=n.slice(0,o+1).join("/");return void 0!==c[d]?l=c[d]:(l={value:g(e.key,a),index:i[t+"Index"]++},u=n.slice(0,o).join("/"),o>0&&void 0!==c[u]?(r=c[u],s=r.children=r.children||[]):s=i[t+"s"],s.push(l),c[d]=l),l}var r=[],s=[],l=i.rowHash,u=i.columnHash;if(t&&t.summary&&(0,E.each)(t.summary,function(e,t){f(i.values,t,i.grandTotalRowIndex,i.grandTotalColumnIndex,e)}),t&&t.groupCount>=0){var c=n.rows.length?n.rowSkip:n.columnSkip;e=[].concat(o(Array(c))).concat(e),e.length=t.groupCount}return p(e,function(e,t){var o,c,d=t>=n.rows.length?n.rows.length:t,h=t>=n.rows.length?t-n.rows.length:0;if(!(t>=n.rows.length&&h>=n.columns.length)){t<n.rows.length&&(s=[]),t>=n.rows.length?e?(s[h]=e.key+"",o=a(e,"column",s,h,n.columns[s.length-1]),c=l[r.slice(0,d+1).join("/")]):i.columns.push({}):e?(r[d]=e.key+"",c=a(e,"row",r,d),o=u[s.slice(0,h+1).join("/")]):i.rows.push({});var p=c&&c.index||i.grandTotalRowIndex,g=o&&o.index||i.grandTotalColumnIndex;(0,E.each)(e&&e.summary||[],function(e,t){f(i.values,t,p,g,e) var t=0;return _(e,function(e){t=Math.max(t,e.length-1)}),t}function a(e,t){var n=e.chartDataItem,i=t&&t(e);return i?(n=p({},n,i.chartDataItem),i=p({},e,i,{chartDataItem:n})):e}function r(e,t,n){function r(){var e,i=(w.values[d]||[])[v]||[],o=i[u],r={rowPath:m,maxRowLevel:E,rowPathFormatted:p,rowFields:S,columnPathFormatted:b,maxColumnLevel:A,columnPath:x,columnFields:I,dataFields:k,dataIndex:u,dataValues:i,visible:y&&h},s=(t.inverted?b:p).join(" - "),l=(t.inverted?p:b).join("/");k.length>1&&("args"!==t.putDataFieldsInto&&"both"!==t.putDataFieldsInto||(l+=" | "+c.caption),"args"!==t.putDataFieldsInto&&(s+=" | "+c.caption,"singleAxis"!==t.dataFieldsDisplayMode&&(e=c.caption))),r.chartDataItem={val:void 0===o?null:o,series:s,arg:l},r=a(r,t.processCell),r.visible&&(n[r.chartDataItem.series]=n[r.chartDataItem.series]||e,C.push(r.chartDataItem))}function s(e){_(D,function(n){d=n[0].index,n=n.slice(0,n.length-1),h=E===n.length,m=f.createPath(n),p=i(n,S),0===m.length&&(p=[t.grandTotalText]),_(T,function(n){v=n[0].index,n=n.slice(0,n.length-1),y=A===n.length,x=f.createPath(n),b=i(n,I),0===x.length&&(b=[t.grandTotalText]),e()})})}function l(e){g(k,function(t,n){c=n,u=t,e()})}var u,c,d,h,p,m,v,y,x,b,w=e.getData(),C=[],k=e.getAreaFields("data"),S=e.getAreaFields("row"),I=e.getAreaFields("column"),T=[{index:w.grandTotalColumnIndex,children:w.columns}],D=[{index:w.grandTotalRowIndex,children:w.rows}],E=o(D),A=o(T);return t.alternateDataFields===!1?l(function(){s(r)}):s(function(){l(r)}),C}function s(e,t){var n=e.getAreaFields("data");if("args"!==t.putDataFieldsInto&&"singleAxis"!==t.dataFieldsDisplayMode||1===n.length){var i=[];return g(n,function(e,n){var o={name:n.caption,title:n.caption,valueType:m[n.dataType]||n.dataType,label:{format:n.format}};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 l(e,t){var n=[],i=e.getAreaFields("data");return i.length>1&&"splitPanes"===t.dataFieldsDisplayMode&&"args"!==t.putDataFieldsInto&&g(i,function(e,t){n.push({name:t.caption})}),n.length||n.push({}),n}function u(e,t){var n=t.customizeSeries,i=t.customizeChart,o={valueAxis:s(e,t),panes:l(e,t)},a={};return i&&(o=p(!0,{},o,i(o))),o.dataSource=r(e,t,a),o.seriesTemplate={nameField:"series",customizeSeries:function(e){var i={};return"splitPanes"===t.dataFieldsDisplayMode?i.pane=a[e]:"singleAxis"!==t.dataFieldsDisplayMode&&(i.axis=a[e]),n&&(i=p(i,n(e,i))),i}},o}function c(e){if(!e)return!1;if(e.NAME)return"dxChart"===e.NAME&&e;var t=h(e);return t.data("dxChart")&&t.dxChart("instance")}function d(e){var t=e.$element().data(v);t&&t()}var h=n(2),p=n(0).extend,f=n(79),g=n(3).each,_=f.foreachTree,m={number:"numeric",date:"datetime"},v="dxPivotGridUnbinding";e.exports={bindChart:function(e,t){t=p({},t);var n,i=this,o=function(){t.grandTotalText=i.option("texts.grandTotal");var n=u(i.getDataSource(),t);e.option(n)};return(e=c(e))?(d(e),i.on("changed",o),o(),n=function(){e.$element().removeData(v),i.off("changed",o)},e.on("disposing",n),this.on("disposing",n),e.$element().data(v,n),n):null}}},function(e,t,n){e.exports=n(373)},function(e,t,n){e.exports=n(372).XmlaStore},function(e,t,n){e.exports=n(687)},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(2),a=i(o),r=n(25),s=i(r),l=n(26),u=i(l),c=n(18),d=i(c),h=n(7),p=i(h),f=n(237),g=i(f),_=n(142),m=i(_),v=n(10),y=i(v),x=n(22),b=i(x),w=n(48),C=i(w),k=n(3),S=n(0),I=n(13),T=n(4),D=n(1),E=i(D),A=n(16),O=i(A),B=n(27),P=i(B),M=n(8),R=i(M),V=n(15),F=i(V),L=n(56),H=i(L),z=n(17),N=i(z),$=n(688),W=i($),G=n(86),q=i(G),j=n(690),K=n(691),U=n(692),Y=i(U),X=n(694),Z=i(X),Q=n(379),J=i(Q),ee=n(698),te=i(ee),ne=n(699),ie=i(ne),oe=n(700),ae=i(oe),re=n(380),se=i(re),le=n(702),ue=i(le),ce=n(703),de=i(ce),he=n(704),pe=i(he),fe=n(705),ge=i(fe),_e=n(706),me=i(_e),ve=n(707),ye=i(ve),xe=n(709),be=i(xe),we=n(714),Ce=n(374),ke=i(Ce),Se=n(282),Ie=i(Se),Te=n(87),De=i(Te),Ee=n(715),Ae=i(Ee),Oe=n(716),Be=i(Oe),Pe=n(46),Me=i(Pe),Re=n(6),Ve=i(Re),Fe=n(111),Le=i(Fe),He=n(65),ze=i(He),Ne=n },getWorkSpaceScrollableScrollLeft:function(){return this._workSpace.getScrollableScrollLeft()},getWorkSpaceScrollableContainer:function(){return this._workSpace.getScrollableContainer()},getWorkSpaceAllDayHeight:function(){return this._workSpace.getAllDayHeight()},getWorkSpaceAllDayOffset:function(){return this._workSpace.getAllDayOffset()},getWorkSpaceHeaderPanelHeight:function(){return this._workSpace.getHeaderPanelHeight()},getWorkSpaceDateTableOffset:function(){return!this.option("crossScrollingEnabled")||this.option("rtlEnabled")?this._workSpace.getWorkSpaceLeftOffset():0},getWorkSpace:function(){return this._workSpace},getAppointmentModel:function(){return this._appointmentModel},getHeader:function(){return this._header},getMaxAppointmentsPerCell:function(){return this._getCurrentViewOption("maxAppointmentsPerCell")},_createPopup:function(e,t){this._$popup=(0,a.default)("<div>").addClass(Xe).appendTo(this.$element()),this._initDynamicPopupTemplate(e,t),this._popup=this._createComponent(this._$popup,Me.default,this._popupConfig(e))},_popupContent:function(e,t){var n=this._popup.$content(),i=(0,a.default)("<div>").appendTo(n);return this._createOrUpdateForm(e,t,i),n},_createAppointmentForm:function(e,t){var n=this.fire("getField","allDay",e),i=this.option("resources");Be.default.prepareAppointmentFormEditors(n,{textExpr:this._dataAccessors.expr.textExpr,allDayExpr:this._dataAccessors.expr.allDayExpr,startDateExpr:this._dataAccessors.expr.startDateExpr,endDateExpr:this._dataAccessors.expr.endDateExpr,descriptionExpr:this._dataAccessors.expr.descriptionExpr,recurrenceRuleExpr:this._dataAccessors.expr.recurrenceRuleExpr,startDateTimeZoneExpr:this._dataAccessors.expr.startDateTimeZoneExpr,endDateTimeZoneExpr:this._dataAccessors.expr.endDateTimeZoneExpr},this),i&&i.length&&(this._resourcesManager.setResources(this.option("resources")),Be.default.concatResources(this._resourcesManager.getEditors())),this._appointmentForm=Be.default.create(this._createComponent.bind(this),t,!!this._editAppointmentData&&!this._editing.allowUpdating,e)},_createOrUpdateForm:function(e,t,n){var i=this.fire("getField","allDay",e),o=this.fire("getField","startDate",e),a=this.fire("getField","endDate",e);(0,k.each)(this._resourcesManager.getResourcesFromItem(e,!0)||{},function(t,n){e[t]=n});var r=(0,S.extend)(!0,{},e);if(t&&(o=this.fire("convertDateByTimezone",o),a=this.fire("convertDateByTimezone",a),this.fire("setField","startDate",r,o),this.fire("setField","endDate",r,a)),this._appointmentForm){var s=this._dataAccessors.expr.startDateExpr,l=this._dataAccessors.expr.endDateExpr;Be.default.updateFormData(this._appointmentForm,r),this._appointmentForm.option("readOnly",!!this._editAppointmentData&&!this._editing.allowUpdating),Be.default.checkEditorsType(this._appointmentForm,s,l,i)}else this._createAppointmentForm(r,n);var u=this._dataAccessors.expr.recurrenceRuleExpr,c=u?this._appointmentForm.itemOption(u):null;if(c){var d=c.editorOptions||{};d.startDate=o,this._appointmentForm.itemOption(u,"editorOptions",d)}this._actions.onAppointmentFormOpening({form:this._appointmentForm,appointmentData:e})},_initDynamicPopupTemplate:function(e,t){var n=this;this._defaultTemplates.appointmentPopup=new q.default(function(i){var o=n._popupContent(e,t);return(0,a.default)(i.container).append(o),(0,a.default)(i.container)})},_isPopupFullScreenNeeded:function(){if(p.default.hasWindow()){var e=p.default.getWindow();return(0,a.default)(e).width()<tt}return!1},_updatePopupFullScreenMode:function(){if(this._popup&&this._popup.option("visible")){var e=this._isPopupFullScreenNeeded();this._popup.option({maxWidth:e?"100%":et,fullScreen:e})}},_popupConfig:function(e){var t=this,n=this._getTemplateByOption("appointmentPopupTemplate");return{height:"auto",maxHeight:"100%",onHiding:function(){return t.focus()},contentTemplate:new q.default(function(t){return n.render({model:e,container:t.container})}),onShowing:function(){return t._updatePopupFullScreenMode()},defaultOptionsRules:[{device:function(){return O.default.current().android},options:{showTitle:!1}}]}},_getPopupT e=new Date(e);var n=this._subscribes.getComplexOffsets(this,e,t);return e=this._subscribes.translateDateToAppointmentTimeZone(e,n),e=this._subscribes.translateDateToCommonTimeZone(e,n)},convertDateByTimezoneBack:function(e,t){e=new Date(e);var n=this._subscribes.getComplexOffsets(this,e,t);return e=this._subscribes.translateDateToAppointmentTimeZone(e,n,!0),e=this._subscribes.translateDateToCommonTimeZone(e,n,!0)},translateDateToAppointmentTimeZone:function(e,t,n){var i=n?-1:1,o=e.getTime()-i*t.client*S("hour");return new Date(o+i*t.appointment*S("hour"))},translateDateToCommonTimeZone:function(e,t,n){var i=n?-1:1;if("number"==typeof t.common){var o=t.common-t.appointment,a=(o<0?-1:1)*Math.floor(Math.abs(o)),r=o%1;e.setHours(e.getHours()+i*a),e.setMinutes(e.getMinutes()+i*r*k)}return e},getComplexOffsets:function(e,t,n){var i=-this.getClientTimezoneOffset(t)/S("hour"),o=e._getTimezoneOffsetByOption(t),a=e._calculateTimezoneByValue(n,t);return"number"!=typeof a&&(a=i),{client:i,common:o,appointment:a}},getDaylightOffset:function(e,t){return e.getTimezoneOffset()-t.getTimezoneOffset()},getTimezonesDisplayName:function(){return w.default.getTimezonesDisplayName()},getTimezoneDisplayNameById:function(e){return w.default.getTimezoneDisplayNameById(e)},getSimilarTimezones:function(e){return w.default.getSimilarTimezones(e)},getTimezonesIdsByDisplayName:function(e){return w.default.getTimezonesIdsByDisplayName(e)},getTargetedAppointmentData:function(e,t){var n=(0,a.default)(t),i=n.data(this._appointments._itemIndexKey()),o=this._getSingleAppointmentData(e,{skipDateCalculation:!0,$appointment:n,skipHoursProcessing:!0}),r={};return(0,v.extend)(!0,r,e,o),this._convertDatesByTimezoneBack(!1,r),t&&this.setTargetedAppointmentResources(r,t,i),r},getAppointmentDurationInMs:function(e){var t=e.startDate,n=e.endDate,i=e.allDay,o=n.getTime()-t.getTime(),a=S("day"),r=this._workSpace.getVisibleDayDuration(),s=0;if(i){var l=Math.ceil(o/a);s=l*r}else{var u=!p.default.sameDate(t,new Date(n.getTime()-1)),c=Math.floor(o/a),d=void 0;if(u){var h=a-r;d=o-(c?c*a:h);var f=this.option("startDayHour")*S("hour"),g=n-p.default.trimTime(n);g<f&&(c&&(d-=h),d+=f-g)}else d=o%a;d>r&&(d=r),s=c*r+d}e.callback(s)},fixWrongEndDate:function(e,t,n){return this._appointmentModel.fixWrongEndDate(e,t,n)},getEndDayHour:function(){return this.option("endDayHour")},getStartDayHour:function(){return this.option("startDayHour")},isAdaptive:function(){return this.option("adaptivityEnabled")}};e.exports=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","(U },{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",ti },{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|8a8 },{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|7x },{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|9d1 },{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],o },{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| value:function(){return"appointmentTooltipTemplate"}},{key:"getItemListDefaultTemplateName",value:function(){return"appointmentTooltip"}},{key:"createFunctionTemplate",value:function(e,t,n,i){return(0,d.createDefaultTooltipTemplate)(e,t,n,i)}}]),e}(),T=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"onListItemClick",value:function(e){this.scheduler.showAppointmentPopup(e.itemData.data,!1,e.itemData.currentData)}},{key:"canRaiseClickEvent",value:function(){return!1}}]),t}(I),D=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"onListItemRendered",value:function(e){var t=this;if(this.scheduler._allowDragging()){var n=e.itemData.data;y.default.on(e.itemElement,m.default.start,function(e){return t._onAppointmentDragStart(n,n.settings,e)}),y.default.on(e.itemElement,m.default.move,function(e){return t._onAppointmentDragMove(e,n.allDay)}),y.default.on(e.itemElement,m.default.end,function(){return t._onAppointmentDragEnd(n)})}}},{key:"canRaiseClickEvent",value:function(){return!0}},{key:"createFunctionTemplate",value:function(e,n,i,o){return this._isEmptyDropDownAppointmentTemplate()?s(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"createFunctionTemplate",this).call(this,e,n,i,o):new b.default(function(t){return e.render({model:n,index:o,container:t.container})})}},{key:"getItemListTemplateName",value:function(){return this._isEmptyDropDownAppointmentTemplate()?"appointmentTooltipTemplate":"dropDownAppointmentTemplate"}},{key:"getItemListDefaultTemplateName",value:function(){return this._isEmptyDropDownAppointmentTemplate()?"appointmentTooltip":"dropDownAppointment"}},{key:"_isEmptyDropDownAppointmentTemplate",value:function(){return"dropDownAppointment"===this.scheduler.option("dropDownAppointmentTemplate")}},{key:"_onAppointmentDragStart",value:function(e,t,n){var i=this.scheduler.getAppointmentsInstance(),o=i.option("items").length;t[0].isCompact=!1,t[0].virtual=!1,i._currentAppointmentSettings=t,i._renderItem(o,{itemData:e,settings:t});var a=i._findItemElementByItem(e);a.length>0&&this._prepareDragItem(a,t,n),this.scheduler.hideAppointmentTooltip()}},{key:"_onAppointmentDragMove",value:function(e,t){var n={left:this._startPosition.left+e.offset.x,top:this._startPosition.top+e.offset.y};this.scheduler.getAppointmentsInstance().notifyObserver("correctAppointmentCoordinates",{coordinates:n,allDay:t,isFixedContainer:!1,callback:function(e){e&&(n=e)}}),g.default.move(this._$draggedItem,n)}},{key:"_onAppointmentDragEnd",value:function(e){y.default.trigger(this._$draggedItem,m.default.end),this._removeFakeAppointmentIfDragEndOnCurrentCell(e)}},{key:"_removeFakeAppointmentIfDragEndOnCurrentCell",value:function(e){var t=this.scheduler.getAppointmentsInstance(),n=this.scheduler._workSpace.getDroppableCellIndex(),i=this.scheduler._workSpace.getCellIndexByCoordinates(this._startPosition);n===i&&t._clearItem({itemData:e})}},{key:"_prepareDragItem",value:function(e,t,n){var i=this._getDragContainerOffset();this._$draggedItem=e.length>1?this._getRecurrencePart(e,t[0].startDate):e[0];var o=this._$draggedItem.hasClass(C)?this.scheduler._workSpace.getAllDayHeight():this.scheduler._workSpace.getScrollableScrollTop();this._startPosition={top:n.pageY-i.top-this._$draggedItem.height()/2+o,left:n.pageX-i.left-this._$draggedItem.width()/2},g.default.move(this._$draggedItem,this._startPosition),y.default.trigger(this._$draggedItem,m.default.start)}},{key:"_getDragContainerOffset",value:function(){return this.scheduler._$element.find(k).offset()}},{key:"_getRecurrencePart",value:function(e,t){for(var n=void 0,i=0;i<e.length;i++){var o=e[i],a=o.data("dxAppointmentStartDate");a.getTime()===t.getTime()&&(n=o)}return n}}]),t}(I);t.DesktopTooltipStrategy=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"_showCore",value:function(e,n,i){this.behavior=this._createBehavior(i,e),s(t.proto return l},_getCellCount:function(){return 5*this.option("intervalCount")},_firstDayOfWeek:function(){return this.option("firstDayOfWeek")||1},_getDateByIndex:function(e){var t=new Date(this._firstViewDate);e%this._getCellCount()===0&&(c=0),t.setDate(this._firstViewDate.getDate()+e+c);for(var n=t.getDay();u.indexOf(n)===-1;)t.setDate(t.getDate()+1),n=t.getDay(),c++;return t},_renderView:function(){c=0,this.callBase()},_getWeekendsCount:function(e){return 2*Math.floor(e/7)},_setFirstViewDate:function(){this._firstViewDate=o.getFirstWeekDate(this._getViewStartByOptions(),this._firstDayOfWeek()||s.firstDayOfWeekIndex()),this._firstViewDate=o.normalizeDateByWeek(this._firstViewDate,this._getViewStartByOptions()),this._setStartDayHour(this._firstViewDate)},_getOffsetByCount:function(e){var t=this._getCellCount(),n=Math.floor(e/t);e-=t*n;var i=Math.floor(e/5);return a("day")*i*2}});i("dxSchedulerWorkSpaceWorkWeek",d),e.exports=d},function(e,t,n){var i=n(2),o=n(4).noop,a=n(8),r=n(201),s=n(22),l=n(33),u="dx-scheduler-work-space-month",c="dx-scheduler-date-table-current-date",d="dx-scheduler-date-table-first-of-month",h="dx-scheduler-date-table-other-month",p="dx-scheduler-scrollable-fixed-content",f=7,g=864e5,_=s.dateToMilliseconds,m=r.inherit({_toggleFixedScrollableClass:function(){this._dateTableScrollable.$content().toggleClass(p,!this._isWorkSpaceWithCount()&&!this._isVerticalGroupedWorkSpace())},_getElementClass:function(){return u},_getRowCount:function(){return this._isWorkSpaceWithCount()?4*this.option("intervalCount")+2:6},_getCellCount:function(){return f},_getDateByIndex:function(e){var t=new Date(this._firstViewDate);return t.setDate(this._firstViewDate.getDate()+e),t},_getFormat:function(){return this._formatWeekday},_calculateCellIndex:function(e,t){return this._isVerticalGroupedWorkSpace()?e%=this._getRowCount():t%=this._getCellCount(),e*this._getCellCount()+t},_getInterval:function(){return g},_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},_insertAllDayRowsIntoDateTable:function(){return!1},_getCellCoordinatesByIndex:function(e){var t=Math.floor(e/this._getCellCount()),n=e-this._getCellCount()*t;return{rowIndex:t,cellIndex:n}},_createWorkSpaceElements:function(){this._isVerticalGroupedWorkSpace()?this._createWorkSpaceScrollableElements():this.callBase()},_needCreateCrossScrolling:function(){return this.option("crossScrollingEnabled")||this._isVerticalGroupedWorkSpace()},_renderTimePanel:o,_renderAllDayPanel:o,_getTableAllDay:o,_toggleAllDayVisibility:o,_changeAllDayVisibility:o,_setFirstViewDate:function(){var e=s.getFirstMonthDate(this._getViewStartByOptions());this._firstViewDate=s.getFirstWeekDate(e,this.option("firstDayOfWeek")||l.firstDayOfWeekIndex()),this._setStartDayHour(this._firstViewDate);var t=this._getViewStartByOptions();this._minVisibleDate=new Date(t.setDate(1)),this._maxVisibleDate=new Date(new Date(t.setMonth(t.getMonth()+this.option("intervalCount"))).setDate(0))},_getViewStartByOptions:function(){if(this.option("startDate")){var e=this._getStartViewDate(),t=this.option("currentDate"),n=e.getTime()<=t.getTime()?1:-1,i=new Date(new Date(this._getStartViewDate().setMonth(this._getStartViewDate().getMonth()+n*this.option("intervalCount"))));for(n>0&&i.setDate(0);!this._dateInRange(t,e,i,n);)e=new Date(i),n>0&&(e.setDate(1),e.setMonth(e.getMonth()+1)),i=new Date(new Date(i.setMonth(i.getMonth()+n*this.option("intervalCount"))));return n>0?e:i}return new Date(this.option("currentDate").getTime())},_getStartViewDate:function(){var e=s.getFirstMonthDate(this.option("startDate"));return e},_renderTableBody:function(e){e.getCellText=this._getCellText.bind(this),this.callBase(e)},_getCellText:function(e,t){this.option("groupByDate")?t=Math.floor(t/this._getGroupCount()):t%=this._getCellCount();var n=this._getDate(e,t);return this._isWorkSpaceWithCount value:function(e){var t=this,n=this._getStoreKey(e);return this._dataSource.store().remove(n).done(function(){t._dataSource.load()}.bind(this))}}]),e}();e.exports=O},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(2),a=i(o),r=n(12),s=i(r),l=n(5),u=i(l),c=n(37),d=i(c),h=n(26),p=i(h),f=n(22),g=i(f),_=n(4),m=i(_),v=n(1),y=i(v),x=n(3),b=n(48),w=i(b),C=n(13),k=i(C),S=n(0),I=n(10),T=n(142),D=i(T),E=n(8),A=i(E),O=n(118),B=i(O),P=n(708),M=i(P),R=n(9),V=i(R),F=n(154),L=i(F),H=n(33),z=i(H),N=n(15),$=i(N),W=n(54),G=i(W),q=n(301),j=i(q),K=n(6),U="dxAppointmentSettings",Y="dx-scheduler-scrollable-appointments",X="dx-scheduler-appointment",Z="dx-scheduler-appointment-title",Q="dx-scheduler-appointment-content-details",J="dx-scheduler-appointment-content-date",ee="dx-scheduler-appointment-recurrence-icon",te="dx-scheduler-appointment-content-allday",ne=V.default.addNamespace(L.default.name,"dxSchedulerAppointment"),ie=g.default.dateToMilliseconds,oe=G.default.inherit({_supportedKeys:function(){var e=this.callBase(),t=function(e){var t=this._getAccessAppointments(),n=t.filter(".dx-state-focused"),i=n.data("dxAppointmentSettings").sortedIndex,o=t.length-1;if(i>0&&e.shiftKey||i<o&&!e.shiftKey){e.preventDefault(),e.shiftKey?i--:i++;var a=this._getAppointmentByIndex(i);this._resetTabIndex(a),u.default.trigger(a,"focus")}};return(0,S.extend)(e,{escape:function(){this.moveAppointmentBack(),this._escPressed=!0}.bind(this),del: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")}}.bind(this),tab:t})},_getAppointmentByIndex:function(e){var t=this._getAccessAppointments();return t.filter(function(t,n){return d.default.data(n,"dxAppointmentSettings").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:m.default.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();clearTimeout(this._appointmentFocusedTimeout),this.callBase.apply(this,arguments),this._$currentAppointment=(0,a.default)(e.target),this.option("focusedElement",(0,I.getPublicElement)((0,a.default)(e.target)));var t=this;this._appointmentFocusedTimeout=setTimeout(function(){t.notifyObserver("appointmentFocused")})},_targetIsDisabled:function(e){return(0,a.default)(e.currentTarget).is(".dx-state-disabled, .dx-state-disabled *")},_focusOutHandler:function(){var e=this._getAppointmentByIndex(0);this.option("focusedElement",(0,I.getPublicElement)(e)),this.callBase.apply(this,arguments)},_eventBindingTarget:function(){return this._itemContainer()},_getDefaultOptions:function(){return(0,S.extend)(this.callBase(),{noDataText:null,activeStateEnabled:!0,hoverStateEnabled:!0,tabIndex:0,fixedContainer:null,allDayContainer:null,allowDrag:!0,allowResize:!0,allowAllDayResize:!0,onAppointmentDblClick:null,_collectorOffset:0})},_optionChanged:function(e){switch(e.name){case"items":this._cleanFocusState(),this._clearDropDownItems(),this._clearDropDownItemsElements(),this._repaintAppointments(e.value),this._renderDropDownAppointments(),this._attachAppointmentsEvents();break;case"fixedContainer":case"allDayContainer":case"onAppointmentDblClick":break;case"allowDrag":case"allowResize":case"allowAllDayResize":this._invalidate();break;case"focusedElement":this._resetTabIndex((0,a.default)(e.value)),this.callBase(e);break;case"allowDelete":break;case"focusStateEnabled":this._clearDropDownItemsElements(),this._renderDropDownAppointments(),this.callBase(e);break;default:this.callBase(e)}},_isAllDayAppointment:function(e){return e.settings.length&&e.settings[0].allDay||!1},_isRepaintAppointment:function(e){return!y.default.isDefined(e.needRepaint)||e.n },_getAllDayAppointmentGeometry:function(e){var t=this._calculateGeometryConfig(e);return this._customizeCoordinates(e,t.height,t.appointmentCountPerCell,t.offset,!0)},_calculateGeometryConfig:function(e){this.instance._allowResizing()&&this.instance._allowAllDayResizing()||(e.skipResizing=!0);var t=this.callBase(e);return e.count<=this._getDynamicAppointmentCountPerCell().allDay&&(t.offset=0),t},_getAppointmentCount:function(e,t){return"auto"===e||1!==t.count||a(e)?this._getMaxAppointmentCountPerCellByType(t.allDay):t.count},_getDefaultRatio:function(e,t){return e.count>this.instance.option("_appointmentCountPerCell")?.65:1},_getOffsets:function(){return{unlimited:d,auto:h}},_getMaxHeight:function(){return this.getDefaultAllDayCellHeight()||this.getAppointmentMinSize()},_needVerticalGroupBounds:function(e){return!e},_needHorizontalGroupBounds:function(){return!1}});e.exports=f},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),l=function e(t,n,i){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,i)}if("value"in o)return o.value;var r=o.get;if(void 0!==r)return r.call(i)},u=n(381),c=i(u),d=28,h=40,p=35,f=30,g=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),s(t,[{key:"getDropDownAppointmentWidth",value:function(e,t){return this.getDropDownButtonAdaptiveSize()}},{key:"getDropDownButtonAdaptiveSize",value:function(){return d}},{key:"getCompactAppointmentTopOffset",value:function(e){var t=this.getRenderingStrategy();return t.hasAllDayAppointments()&&e?(t.getDefaultAllDayCellHeight()-t.getDropDownButtonAdaptiveSize())/2:this.getRenderingStrategy().getDefaultCellHeight()-h}},{key:"getCompactAppointmentLeftOffset",value:function(){return(this.getRenderingStrategy().getDefaultCellWidth()-d)/2}},{key:"getAppointmentDefaultOffset",value:function(){return p}},{key:"getDynamicAppointmentCountPerCell",value:function(){var e=this.getRenderingStrategy();return e.hasAllDayAppointments()?{allDay:0,simple:this._calculateDynamicAppointmentCountPerCell()||this._getAppointmentMinCount()}:0}},{key:"getDropDownAppointmentHeight",value:function(){return d}},{key:"_getAppointmentMinCount",value:function(){return 0}},{key:"_getAppointmentDefaultWidth",value:function(){var e=this.getRenderingStrategy();return e.hasAllDayAppointments()?f:l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"_getAppointmentDefaultWidth",this).call(this)}},{key:"_calculateDynamicAppointmentCountPerCell",value:function(){return Math.floor(this.getRenderingStrategy()._getAppointmentMaxWidth()/this.getRenderingStrategy()._getAppointmentDefaultWidth())}}]),t}(c.default);e.exports=g},function(e,t,n){var i=n(4).noop,o=n(0).extend,a=n(383),r=.6,s=26,l=30,u=36,c=60,d=a.inherit({_getAppointmentParts:function(e,t,n){var i=e.sourceAppointmentWidth-e.reducedWidth,a=e.height,r=this._getFullWeekAppointmentWidth(t.groupIndex),s=this._getMaxAppointmentWidth(n),l=Math.ceil(i/r)-1,u=Math.floor(i%r)||r,c=[],d=e.reducedWidth+u,h=t.top+this.getDefaultCellHeight(),p=this._calculateMultiWeekAppointmentLeftOffset(t.hMax,r);"vertical"===this.instance._groupOrientation&&(p+=this.instan field:"until",value:e,type:"date",onValueChanged:this._repeatUntilValueChangeHandler.bind(this),calendarOptions:{firstDayOfWeek:this._getFirstDayOfWeek()}}),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"),i=!0;"freq"===n&&"never"===t?(i=!1,this.option("value","")):(this._recurrenceRule.makeRule(n,t),this._makeRepeatOnRule(n,t),this._changeEditorValue()),this._renderContainerVisibility(i)},_makeRepeatOnRule:function(e,t){"freq"===e&&("daily"===t&&(this._recurrenceRule.makeRule("byday",""),this._recurrenceRule.makeRule("bymonth",""),this._recurrenceRule.makeRule("bymonthday","")),"weekly"===t&&(this._recurrenceRule.makeRule("byday",this._daysOfWeekByRules()),this._recurrenceRule.makeRule("bymonth",""),this._recurrenceRule.makeRule("bymonthday","")),"monthly"===t&&(this._recurrenceRule.makeRule("bymonthday",this._dayOfMonthByRules()),this._recurrenceRule.makeRule("bymonth",""),this._recurrenceRule.makeRule("byday","")),"yearly"===t&&(this._recurrenceRule.makeRule("bymonthday",this._dayOfMonthByRules()),this._recurrenceRule.makeRule("bymonth",this._monthOfYearByRules()),this._recurrenceRule.makeRule("byday","")))},_optionChanged:function(e){switch(e.name){case"value":this._recurrenceRule.makeRules(e.value),this._repeatTypeEditor.option("value",this._recurrenceRule.repeatableRule()||"never"),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),(0,_.isDefined)(this._recurrenceRule.recurrenceString())&&this._changeEditorValue();break;case"firstDayOfWeek":this._clearRepeatOnEditor(),this._renderRepeatOnEditor(),this._$repeatDateEditor&&this._repeatUntilDate.option("calendarOptions.firstDayOfWeek",this._getFirstDayOfWeek());break;case"visible":this._changeValueByVisibility(e.value),this.callBase(e);break;default:this.callBase(e)}},_changeEditorsValues:function(e){this._changeCheckBoxesValue(!!e.byday),this._freqEditor.option("value",(e.freq||"never").toLowerCase()),this._changeRepeatTypeLabel(),this._intervalEditor.option("value",e.interval),this._changeRepeatCountValue(),this._changeRepeatUntilValue(),this._changeDayOfMonthValue(),this._changeMonthOfYearValue()},_changeRepeatTypeLabel:function(){var e=this.$element().find("."+Y+N);if(e.length){var t=this._recurrenceRule.rules().freq||"daily";(0,y.each)(e,function(e,n){(0,s.default)(n).text(P.default.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(){this._$repeatDateEditor&&this._repeatUntilDate.option("value",this._getUntilValue())},_getUntilValue:function(){return this._recurrenceRule.rules().until||this._formatUntilDate(new Date)},_changeCheckBoxesValue:function(e){if(this._$repeatOnWeek&&e){var t=this._daysOfWeekByRules();(0,y.each)(this._daysOfWeek,function(e,n){var i=de[e];n.option("value",(0,v.inArray)(i,t)>-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._freqEditor.focus()},setAria:function(){this._switchEditor&&this._switchEditor.setAria(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1])}}).include(H.default);(0,d.default)("dxRecurrenceEditor",pe),e.exports=pe},function(e,t,n){var i=n(2),o=n(8),a=n(0).extend,r=n(118),s=n(15),l=n(49),u },pageUp:function(e){this._beforeKeyProcessing(e),this._processPageChange(!0,e)},pageDown:function(e){this._beforeKeyProcessing(e),this._processPageChange(!1,e)},space:function(e){this._beforeKeyProcessing(e),this._selectionController.invertFocusedItemSelection()},enter:function(e){this._beforeKeyProcessing(e),this.tryOpen()},A:function(e){this._beforeKeyProcessing(e),e.ctrlKey&&this._selectAll()}})}},{key:"_beforeKeyProcessing",value:function(e){e.preventDefault(),this._resetLayoutModel()}},{key:"_processMoveArrow",value:function(e,t,n){var i=this._getFocusedItem();if(i){if(!t){var o=this._getLayoutModel();if(!o)return;e*=o.itemPerRowCount}var a=i._state.index+e;this._selectItemByIndex(a,!0,n)}}},{key:"_processPageChange",value:function(e,t){var n=this._getFocusedItem();if(n){var i=this._getLayoutModel();if(i){var o=this._createItemLayoutModel(n._state.index),a=e?i.rowPerPageRate:-i.rowPerPageRate,r=o.itemRowIndex-a,s=e?Math.ceil:Math.floor,l=s(r),u=l*i.itemPerRowCount+o.itemColumnIndex;u<0?u=0:u>=this._items.length&&(u=this._items.length-1),this._selectItemByIndex(u,!0,t)}}}},{key:"_onClick",value:function(e){var t=(0,c.default)(e.target).closest(this._getItemSelector());t.length>0?this._selectItemByItemElement(t,e):this.clearSelection()}},{key:"_onContextMenu",value:function(e){e.preventDefault(),this._onClick(e);var t=this.getSelectedItems();this._showContextMenu(t,e.target,e)}},{key:"_selectItemByItemElement",value:function(e,t){var n=e.data("index");this._selectItemByIndex(n,!1,t)}},{key:"_getItemThumbnailCssClass",value:function(){return S}},{key:"_getItemSelector",value:function(){return"."+C}},{key:"_onItemDblClick",value:function(e){var t=(0,c.default)(e.currentTarget),n=t.data("index"),i=this._items[n];this._raiseSelectedItemOpened(i)}},{key:"_scrollToItem",value:function(e){var t=this._getLayoutModel();if(t){var n=Math.floor(e._state.index/t.itemPerRowCount),i=n*t.itemHeight,o=i+t.itemHeight,a=t.viewPortScrollTop;i<t.viewPortScrollTop?a=i:o>t.viewPortScrollBottom&&(a=o-t.viewPortHeight),this._$viewPort.scrollTop(a)}}},{key:"_resetLayoutModel",value:function(){this._layoutModel=null}},{key:"_getLayoutModel",value:function(){return this._layoutModel||(this._layoutModel=this._createLayoutModel()),this._layoutModel}},{key:"_createLayoutModel",value:function(){if(0===this._items.length)return null;var e=this._items[0],t=e._state.$element,n=t.outerWidth(!0);if(0===n)return null;var i=t.outerHeight(!0),o=this._$itemViewContainer.innerWidth(),a=this._$viewPort.innerHeight(),r=this._$viewPort.scrollTop(),s=r+a,l=Math.floor(o/n),u=a/i;return{itemWidth:n,itemHeight:i,viewPortWidth:o,viewPortHeight:a,viewPortScrollTop:r,viewPortScrollBottom:s,itemPerRowCount:l,rowPerPageRate:u}}},{key:"_createItemLayoutModel",value:function(e){var t=this._getLayoutModel();if(!t)return null;var n=Math.floor(e/t.itemPerRowCount),i=e%t.itemPerRowCount,o=n*t.itemHeight,a=o+t.itemHeight;return{itemRowIndex:n,itemColumnIndex:i,itemTop:o,itemBottom:a}}},{key:"_selectAll",value:function(){this._selectionController.selectAll()}},{key:"_selectItem",value:function(e,t,n){this._selectionController.selectItem(e,n),t&&this._scrollToItem(e)}},{key:"_selectItemByIndex",value:function(e,t,n){if(e>=0&&e<this._items.length){var i=this._items[e];this._selectItem(i,t,n)}}},{key:"_getFocusedItem",value:function(){return this._selectionController.getFocusedItem()}},{key:"_loadItems",value:function(){var e=this,t=this._getUniqueId();this._currentLoadOperationId=t,(0,h.when)(this._getItems()).then(function(n){e._currentLoadOperationId===t&&e._applyItems(n||[])},function(n){e._currentLoadOperationId===t&&e._raiseOnError(n)})}},{key:"_applyItems",value:function(e){this._items=e,this._selectionController.setItems(e),this._renderItems(e)}},{key:"_renderItems",value:function(e){this._$itemViewContainer.empty();for(var t=0;t<e.length;t++){var n=e[t];n._state={index:t,selected:!1,$element:null},this._renderItem(n)}}},{key:"_renderItem",value:function(e){var t=(0,c.default)("<div>").addClass(C).attr("title",this._getTooltipText(e)).data("index",e._state.index),n=(0,c.d t}(_.default),O=function(){function e(t){o(this,e),this._controller=t.controller,this._onProgressHandler=t.onProgress,this._onErrorHandler=t.onError,this._canceled=!1}return s(e,[{key:"uploadFiles",value:function(e){for(var t={uploadedBytesCount:0,totalBytesCount:0},n=0;n<e.length;n++)t.totalBytesCount+=e[n].size;for(var i=[],o=0;o<e.length;o++){var a=this._uploadFile(e[o],t);i.push(a)}return i}},{key:"cancelUpload",value:function(){this._canceled=!0}},{key:"_uploadFile",value:function(e,t){var n=this,i=this._createUploadingState(e);return this._controller.initiateUpload(i).then(function(){return n._uploadChunks(i,t)}).then(function(){return n._finalizeUpload(i)},function(t){return t&&t.canceled?n._abortUpload(i):n._handleError(t,e)}).catch(function(t){return n._handleError(t,e)})}},{key:"_uploadChunks",value:function(e,t){var n=this;if(this._canceled){var i=this._createResultInfo(e.file.name,!1,!0);return(new f.Deferred).reject(i).promise()}var o=this._getChunk(e);return o?this._controller.uploadChunk(e,o).done(function(){e.uploadedBytesCount+=o.size,e.uploadedChunksCount++,t.uploadedBytesCount+=o.size,n._raiseOnProgress(t)}).then(function(){return n._uploadChunks(e,t)}):(new f.Deferred).resolve().promise()}},{key:"_getChunk",value:function(e){var t=e.file.size-e.uploadedBytesCount;if(0===t)return null;var n=Math.min(t,this._controller.chunkSize),i=e.file.slice(e.uploadedBytesCount,e.uploadedBytesCount+n);return{index:e.uploadedChunksCount,size:n,blob:i}}},{key:"_finalizeUpload",value:function(e){var t=this;return this._controller.finalizeUpload(e).then(function(){return t._createResultInfo(e.file.name,!0)})}},{key:"_abortUpload",value:function(e){var t=this;return this._controller.abortUpload(e).then(function(){return t._createResultInfo(e.file.name,!1,!0)})}},{key:"_handleError",value:function(e,t){var n=this._createResultInfo(t.name,!1,!1,e);return this._onErrorHandler(n),n}},{key:"_raiseOnProgress",value:function(e){var t=0!==e.totalBytesCount?e.uploadedBytesCount/e.totalBytesCount:1;this._onProgressHandler(t)}},{key:"_createUploadingState",value:function(e){var t=Math.ceil(e.size/this._controller.chunkSize);return{file:e,uploadedBytesCount:0,uploadedChunksCount:0,totalChunkCount:t,customData:{}}}},{key:"_createResultInfo",value:function(e,t,n,i){return{fileName:e,success:t||!1,canceled:n||!1,error:i||null}}}]),e}(),B=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),s(t,[{key:"_init",value:function(){this._progressBoxCount=0,l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"_init",this).call(this)}},{key:"_initMarkup",value:function(){this._popup=this._createComponent(this.$element(),w.default,{width:200,height:145,position:"right bottom",showTitle:!1,visible:!1,shading:!1,deferRendering:!1,closeOnOutsideClick:!1,contentTemplate:this._getPopupContentTemplate.bind(this)}),l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"_initMarkup",this).call(this)}},{key:"addProgressBox",value:function(e,t){var n=this._createComponent((0,c.default)("<div>"),P,{title:e,onCancel:t});return this._$container.append(n.$element()),0===this._progressBoxCount&&this._popup.show(),this._progressBoxCount++,n}},{key:"removeProgressBox",value:function(e){1===this._progressBoxCount&&this._popup.hide(),this._progressBoxCount--,e.dispose(),e.$element().remove()}},{key:"_getPopupContentTemplate",value:function(){return this._$container=(0,c.default)("<div>").addClass(S),this._$container}}]),t}(_.default),P=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),s(t,[{key:"_initMarkup",value:function(){this._createOnCancelAction();var e=this.option("title"),n=(0,c.default)("<span>").text(e).addClass(T);this._cancelButton=this._createComponent((0,c.default)("<div>"),v.default,{text:"Cancel",onClick:this._onCancelButtonClick.bind(this)}),this._cancelButton.$element().addClass(E),this._progressBar=this._createComponent((0,c.default)("<div>"),x.default,{min:0,max:100,width:"100%",showS dataSource:t})}},{key:"_prepareToolbarItems",value:function(e,t,n){var i=this;return e.map(function(e){return(0,b.extend)(!0,{location:t,locateInMenu:"auto"},i._createItem(e,t,n),i._createItemOptions(e),i._createItemActionOptions(e,n))})}},{key:"_createItem",value:function(e,t,n){var i=this;return"separator"===e.widget?{template:function(e,t,n){(0,c.default)(n).addClass(S)},menuItemTemplate:function(e,t,n){(0,c.default)(n).addClass(I)}}:{widget:e.widget||"dxButton",cssClass:e.cssClass,options:{stylingMode:"text",text:e.text,hint:e.hint,icon:e.icon,onInitialized:function(t){return i._onItemInitialized(t.component,e)},onContentReady:function(t){return i._onItemContentReady(t.component,e,n)}}}}},{key:"_createItemOptions",value:function(e){var t=e.widget,n=e.items,i=e.valueExpr,o=e.displayExpr,a=e.showText,r=e.hint,s=e.icon;return"dxSelectBox"===t?this._createSelectBoxItemOptions(r,n,i,o):"dxColorBox"===t?this._createColorBoxItemOptions(r,s):t&&"dxButton"!==t?void 0:{showText:a||"inMenu"}}},{key:"_createSelectBoxItemOptions",value:function(e,t,n,i){var o=this._createSelectBoxBaseItemOptions(e);o=(0,b.extend)(!0,o,{options:{items:t,valueExpr:n,displayExpr:i}});var a=t.every(function(e){return void 0!==e.icon});return a&&(o=(0,b.extend)(!0,o,{options:{fieldTemplate:function(e,t){(0,c.default)("<i>").addClass(e&&e.icon).appendTo(t),(0,c.default)("<div>").dxTextBox({readOnly:!0,stylingMode:"outlined"}).appendTo(t)},itemTemplate:function(e){return'<i class="'+e.icon+'"'+(e.hint&&' title="'+e.hint)+'"}></i>'}}})),o}},{key:"_createColorBoxItemOptions",value:function(e,t){var n=this._createSelectBoxBaseItemOptions(e);return t&&(n=(0,b.extend)(!0,n,{options:{openOnFieldClick:!0,fieldTemplate:function(e,n){(0,c.default)("<i>").addClass(t).css("borderBottomColor",e).appendTo(n),(0,c.default)("<div>").dxTextBox({readOnly:!0,stylingMode:"outlined"}).appendTo(n)}}})),n}},{key:"_createSelectBoxBaseItemOptions",value:function(e){return{options:{stylingMode:"filled",hint:e}}}},{key:"_createItemActionOptions",value:function(e,t){var n=this;switch(e.widget){case"dxSelectBox":case"dxColorBox":return{options:{onValueChanged:function(i){var o=n._getExecCommandParameter(e,i.component.option("value"));t.call(n,e.command,o)}}};default:if(!e.items)return{options:{onClick:function(i){var o=n._getExecCommandParameter(e);t.call(n,e.command,o)}}}}}},{key:"_getExecCommandParameter",value:function(e,t){return e.getParameter?e.getParameter(this,t):t}},{key:"_onItemInitialized",value:function(e,t){void 0!==t.command&&(this._itemHelpers[t.command]=new E(e))}},{key:"_onItemContentReady",value:function(e,t,n){var i=this;if("dxButton"===e.NAME&&t.items){var o=(0,c.default)("<div>").appendTo(this.$element());this._createComponent(o,_.default,{dataSource:t.items,displayExpr:"text",valueExpr:"command",target:e.$element(),showEvent:"dxclick",position:{at:"left bottom"},onItemClick:function(e){var t=e.itemData,o=i._getExecCommandParameter(t);n.call(i,t.command,o)},onInitialized:function(e){var n=e.component;return i._onContextMenuInitialized(n,t)},onDisposing:function(e){var n=e.component;return i._onContextMenuDisposing(n,t)}})}}},{key:"_onContextMenuInitialized",value:function(e,t){var n=this;this._contextMenus.push(e),t.items.forEach(function(t,i){n._itemHelpers[t.command]=new A(e,i)})}},{key:"_onContextMenuDisposing",value:function(e,t){this._contextMenus=this._contextMenus.filter(function(t){return t!==e})}},{key:"_execDiagramCommand",value:function(e,t){this._updateLocked||this.bar.raiseBarCommandExecuted(e,t)}},{key:"_execWidgetCommand",value:function(e){this._updateLocked||this._onWidgetCommandAction({name:e})}},{key:"_createOnWidgetCommand",value:function(){this._onWidgetCommandAction=this._createActionByOption("onWidgetCommand")}},{key:"_setItemEnabled",value:function(e,t){e in this._itemHelpers&&this._itemHelpers[e].setEnabled(t)}},{key:"_setEnabled",value:function(e){this._toolbarInstance.option("disabled",!e),this._contextMenus.forEach(function(t){return t.option("disabled",!e)})}},{key:"_setItemValue",value:function(e,t){try{this._updateLocked=!0,e in e.recreateCanvas&&D.updatePanesCanvases(this.panes,this._canvas,this._isRotated())},_renderScaleBreaks:function(){this._valueAxes.concat(this._argumentAxes).forEach(function(e){e.drawScaleBreaks()})},_applyPointMarkersAutoHiding:function(){var e=this;return e._themeManager.getOptions("autoHidePointMarkers")?void e.panes.forEach(function(t){var n=e.series.filter(function(e){return e.pane===t.name&&e.usePointsToDefineAutoHiding()}),i=e.getArgumentAxis(),o=i.visualRange(),a=i.getTranslator(),r=i.getOptions().type,s=F.getViewPortFilter(o||{}),l=[],u={};n.forEach(function(t){var i=t.getValueAxis(),o=i.visualRange(),r=i.getTranslator(),c=e.series.indexOf(t),d=F.getViewPortFilter(o||{});u[c]={},n.forEach(function(t){return u[c][e.series.indexOf(t)]=0});var h=[];t.getPoints().filter(function(e){return e.getOptions().visible&&s(e.argument)&&(d(e.getMinValue(!0))||d(e.getMaxValue(!0)))}).forEach(function(e){var t={seriesIndex:c,argument:e.argument,value:e.getMaxValue(!0),size:e.bubbleSize||e.getOptions().size};if(e.getMinValue(!0)!==e.getMaxValue(!0)){var n=k({},t);n.value=e.getMinValue(!0),n.x=a.to(n.argument,1),n.y=r.to(n.value,1),h.push(n)}t.x=a.to(t.argument,1),t.y=r.to(t.value,1),h.push(t)}),u[c].pointsCount=h.length,u[c].total=0,l=l.concat(h)});var c="discrete"===r?function(e,t){return o.categories.indexOf(e.argument)-o.categories.indexOf(t.argument)}:function(e,t){return e.argument-t.argument};l.sort(c);for(var d=0;d<l.length;d++){var h=l[d],p=h.size,f=d+1>l.length-d-1?d+1:l.length-d;if(G(h.x)&&G(h.y))for(var g=1;g<f;g++){var _=l[d-g],m=l[d+g],v=G(_)?_.x:null,y=G(_)?_.y:null,x=G(m)?m.x:null,b=G(m)?m.y:null;if((!G(v)||Math.abs(h.x-v)>=p)&&(!G(x)||Math.abs(h.x-x)>=p))break;G(v)&&G(y)&&Math.sqrt(Math.pow(h.x-v,2)+Math.pow(h.y-y,2))<p&&(u[h.seriesIndex][_.seriesIndex]++,u[h.seriesIndex].total++),G(x)&&G(b)&&Math.sqrt(Math.pow(h.x-x,2)+Math.pow(h.y-b,2))<p&&(u[h.seriesIndex][m.seriesIndex]++,u[h.seriesIndex].total++)}}n.forEach(function(t){var n=e.series.indexOf(t);if(t.autoHidePointMarkers=!1,t.autoHidePointMarkersEnabled()&&("discrete"===r||u[n].pointsCount>i.getTicksValues().majorTicksValues.length))for(var o in u[n]){var a=parseInt(o);if(!isNaN(a))if(a===n){if(u[a][a]>=u[a].pointsCount){t.autoHidePointMarkers=!0;break}}else if(u[n].total>=2*u[n].pointsCount){t.autoHidePointMarkers=!0;break}}})}):void e.series.forEach(function(e){return e.autoHidePointMarkers=!1})},_renderAxes:function(e,t){function n(e){return e.map(function(e){if(!e.getTitle)return 0;var t=e.getTitle();return t?t.bBox.width:0})}var i=this,o=i._isRotated(),a=i._themeManager.getOptions("synchronizeMultiAxes"),r=(i._scrollBar?[i._scrollBar]:[]).concat(i._argumentAxes),s=o?r:i._valueAxes,l=o?i._valueAxes:r,u=s.concat(l);i._updatePanesCanvases(e);var c=i.panes.reduce(function(e,t){return e[t.name]=k({},t.canvas),e},{}),d=k(!0,{},c);if(!e.adjustAxes)return v(s,!o&&a,c,t),v(l,o&&a,c,t),_(u,"prepareAnimation"),i._renderScaleBreaks(),!1;i._scrollBar&&i._scrollBar.setPane(i.panes);var h={panes:{}},x=f(l,function(e){return e.estimateMargins(c[e.pane])});c=m(o,c,h,x),v(s,!o&&a,c,t),h=g(s),c=m(o,c,h,x),v(l,o&&a,c,t),x=f(l,p),c=m(o,c,h,x);var b=n(s);return _(u,"updateSize",c,w(e,i._getVisibleSeries())),l.forEach(y("top","bottom")),s.forEach(y("left","right")),i._renderScaleBreaks(),i.panes.forEach(function(e){k(e.canvas,c[e.name])}),i._valueAxes.forEach(function(e){e.setInitRange()}),s.forEach(function(e,t){if(e.hasWrap&&e.hasWrap()){var a=e.getTitle(),r=a?a.bBox.width:0,l=r-b[t];"right"===e.getOptions().position?h.right+=l:(h.left+=l,i.panes.forEach(function(e){var t=e.name;return h.panes[t].left+=l})),c=m(o,c,h,x),_(u,"updateSize",c,!1,!1),b=n(s)}}),d},_shrinkAxes:function(e,t){if(e&&t){this._renderer.stopAllAnimations();var n=this,i=n._isRotated(),o=(n._scrollBar?[n._scrollBar]:[]).concat(n._argumentAxes),a=i?o:n._valueAxes,r=i?n._valueAxes:o,s=a.concat(r);(e.width||e.height)&&(b(e,"height",r,f),b(e,"width",a,g),_(s,"updateSize",t),t=m(i,t,g(a),f(r,p)),_(s,"updateSize",t),r.forEach(y("top","bottom")),a.forEach(y("left","right")),n.panes.forEach(function(e){k(e.canvas activeBackgroundColor:a,activeColor:r,selectedBorderColor:s,selectedColor:s,shadowColor:"none"},tooltip:{border:{color:a},font:{color:a},color:r},"chart:common":{commonSeriesSettings:{valueErrorBar:{color:a},hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}},label:{font:{color:a},border:{color:a}}}},"chart:common:axis":{constantLineStyle:{color:a}},chart:{commonSeriesSettings:{},crosshair:{color:"#cf00d7"},commonPaneSettings:{backgroundColor:r,border:{color:a}},scrollBar:{color:a},commonAxisSettings:{breakStyle:{color:"#cf00d7"}},zoomAndPan:{dragBoxStyle:{color:a,opacity:.7}},commonAnnotationSettings:{font:{color:a},border:{color:a},color:r}},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}}}}},gauge:{rangeContainer:{backgroundColor:a},valueIndicators:{_default:{color:a},rangebar:{color:a,backgroundColor:r},twocolorneedle:{secondColor:a},trianglemarker:{color:a},textcloud:{color:a,text:{font:{color:r}}}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{color:a,opacity:.4},minorTick:{color:a,opacity:.12},breakStyle:{color:"#cf00d7"}},selectedRangeColor:s,sliderMarker:{color:s},sliderHandle:{color:s,opacity:1},shutter:{opacity:.75},background:{color:r}},map:{background:{borderColor:a},layer:{label:{stroke:r,font:{color:a}}},"layer:area":{borderColor:r,color:u,hoveredBorderColor:a,selectedBorderColor:a,label:{font:{opacity:1}}},"layer:line":{color:"#267cff",hoveredColor:"#f613ff",selectedColor:a},"layer:marker:dot":{borderColor:r,color:l,backColor:r,backOpacity:.32},"layer:marker:bubble":{color:l,hoveredBorderColor:a,selectedBorderColor:a},"layer:marker:pie":{hoveredBorderColor:a,selectedBorderColor:a},controlBar:{borderColor:a,color:r,opacity:.3}},treeMap:{tile:{color:"#70c92f"},group:{color:"#797979",label:{font:{color:a}}}},sparkline:{pointColor:r},bullet:{},polar:{commonSeriesSettings:{}},funnel:{label:{connector:{opacity:1}}},sankey:{label:{font:{color:a},shadow:{opacity:0}},node:{border:{visible:!0,width:1,color:a}},link:{opacity:.5,border:{visible:!0,width:1,color:a},hoverStyle:{opacity:.9}}}},"generic.light")},function(e,t,n){var i=n(50),o=i.registerTheme,a="#f05b41",r="#fff",s="#333",l="#8899a8",u="#707070",c="#dee1e3";o({name:"generic.carmine",defaultPalette:"Carmine",backgroundColor:r,primaryTitleColor:s,secondaryTitleColor:l,gridColor:c,axisColor:u,"export":{backgroundColor:r,font:{color:s},button:{"default":{color:s,borderColor:"#b1b7bd",backgroundColor:r},hover:{color:s,borderColor:"#b1b7bd",backgroundColor:"#faf2f0"},focus:{color:s,borderColor:"#6d7781",backgroundColor:"#faf2f0"},active:{color:s,borderColor:"#6d7781",backgroundColor:"#f5e7e4"}}},legend:{font:{color:u}},tooltip:{color:r,border:{color:c},font:{color:s}},"chart:common":{commonSeriesSettings:{label:{border:{color:c}}}},chart:{commonPaneSettings:{border:{color:c}},commonAxisSettings:{breakStyle:{color:"#c1c5c7"}},commonAnnotationSettings:{font:{color:s},border:{color:c},color:r}},rangeSelector:{scale:{breakStyle:{color:"#c1c5c7"},tick:{opacity:.12}},selectedRangeColor:a,sliderMarker:{color:a},sliderHandle:{color:a,opacity:.5}},sparkline:{pointColor:r,minColor:"#f0ad4e",maxColor:"#f74d61"},treeMap:{group:{color:c,label:{font:{color:l}}}},bullet:{color:a},gauge:{valueIndicators:{rangebar:{color:a},textcloud:{color:a}}}},"generic.light")},function(e,t,n){var i=n(50),o=i.registerTheme,a="#3debd3",r="#465672",s="#fff",l="#919bac",u="#c7ccd4",c="#596980";o({name:"generic.darkmoon",defaultPalette:"Dark Moon",backgroundColor:r,primaryTitleColor:s,secondaryTitleColor:l,gridColor:c,axisColor:u,"export":{backgroundColor:r,font:{color:s},button:{"default":{color:s,borderColor:"#7a889e",backgroundColor:r},hover:{color:s,borderColor:"#9da8b8",backgroundColor:"#596e92"},focus:{color:s,borderColor:"#c4cad4",backgroundColor:"#596e92"},active:{color:s,borderColor:"#c4cad4",backgroundColor:"#6b80a4"}}}, 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}})},function(e,t,n){var i=n(0).extend,o=i,a=n(120),r=n(204),s=n(391),l=n(1).isDefined,u=n(11),c=u.normalizeAngle,d=Math,h=d.max,p=n(119).radialLabelIndent,f=90,g="canvas_position_end",_="canvas_position_default";t.polarSymbolPoint=o({},a,{_getLabelCoords:s._getLabelCoords,_moveLabelOnCanvas:r._moveLabelOnCanvas,_getLabelPosition:function(){return"outside"},_getCoords:function(e,t){var n=this.series.getValueAxis(),i=n.getAngles()[0],o=this._getArgTranslator().translate(e),a=this._getValTranslator().translate(t),r=u.convertPolarToXY(n.getCenter(),n.getAngles()[0],o,a);return r.angle=o+i-90,r.radius=a,r},_translate:function(){var e=this,t=e.series.getValueAxis().getCenter(),n=e._getCoords(e.argument,e.value);e.vx=c(n.angle),e.vy=e.radiusOuter=e.radiusLabels=n.radius,e.radiusLabels+=p,e.radius=n.radius,e.middleAngle=-n.angle,e.angle=-n.angle,e.x=n.x,e.y=n.y,e.defaultX=e.centerX=t.x,e.defaultY=e.centerY=t.y,e._translateErrorBars(),e.inVisibleArea=!0},_translateErrorBars:function(){var e=this,t=e._options.errorBars,n=e._getValTranslator();t&&(l(e.lowError)&&(e._lowErrorCoord=e.centerY-n.translate(e.lowError)),l(e.highError)&&(e._highErrorCoord=e.centerY-n.translate(e.highError)),e._errorBarPos=e.centerX,e._baseErrorBarPos="stdDeviation"===t.type?e._lowErrorCoord+(e._highErrorCoord-e._lowErrorCoord)/2:e.centerY-e.radius)},_getTranslates:function(e){return e?this.getDefaultCoords():{x:this.x,y:this.y}},getDefaultCoords:function(){var e=u.getCosAndSin(-this.angle),t=this._getValTranslator().translate(_),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=a._getErrorBarSettings.call(this,e,t);return n.rotate=f-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=o({},r,{_translateErrorBars:t.polarSymbolPoint._translateErrorBars,_getErrorBarSettings:t.polarSymbolPoint._getErrorBarSettings,_moveLabelOnCanvas:r._moveLabelOnCanvas,_getLabelCoords:s._getLabelCoords,_getLabelConnector:s._getLabelConnector,getTooltipParams:s.getTooltipParams,_getLabelPosition:s._getLabelPosition,_getCoords:t.polarSymbolPoint._getCoords,_translate:function(){var e=this,n=e._getValTranslator(),i=n.translate(g);e.radiusInner=n.translate(e.minValue),t.polarSymbolPoint._translate.call(e),null===e.radiusInner?e.radiusInner=e.radius=i:null===e.radius&&(this.radius=this.value>=0?i:0),e.radiusOuter=e.radiusLabels=h(e.radiusInner,e.radius),e.radiusLabels+=p,e.radiusInner=e.defaultRadius=d.min(e.radiusInner,e.radius),e.middleAngle=e.angle=-c(e.middleAngleCorrection-e.angle)},_getErrorBarBaseEdgeLength:function(){var e=this.getMarkerCoords();return d.PI*e.outerRadius*d.abs(e.startAngle-e.endAngle)/180},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._getCoords(i.argument,_),u=a.x,c=a.y;n&&(r=0,s=0,u=l.x,c=l.y),i.graphic=e.arc(u,c,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},_ p=a[0]-u,f=a[0]+u),n={axis:t,isLogarithmic:"logarithmic"===r.type,logarithmicBase:s.base,tickValues:a,minorValues:i.minorTicksValues,minorTickInterval:t._minorTickInterval,minValue:p,oldMinValue:p,maxValue:f,oldMaxValue:f,inverted:s.invert,tickInterval:u,synchronizedValue:c},o(n,k),e.push(n)}return e},[])}function r(e){var t=e.reduce(function(e,t){return w(e,t.tickValues.length)},0);e.forEach(function(e){var n,i,o=0,a=e.synchronizedValue,r=e.tickValues,s=e.tickInterval;if((0,_.isDefined)(a))e.baseTickValue=e.invertedBaseTickValue=a,e.tickValues=[e.baseTickValue];else{if(r.length>1&&s){for(n=b((t+1)/r.length),i=n>1?b((t+1)/n):t,o=b((i-r.length)/2);o>0&&0!==r[0];)r.unshift((0,y.adjust)(r[0]-s)),o--;for(;r.length<i;)r.push((0,y.adjust)(r[r.length-1]+s));e.tickInterval=s/n}e.baseTickValue=r[0],e.invertedBaseTickValue=r[r.length-1]}})}function s(e){return e.maxValue-e.minValue||1}function l(e){for(var t=0;t<e.length;t++)if(!e[t].stubData)return e[t];return null}function u(e){var t=l(e),n=t.tickInterval;e.forEach(function(e){var i,o,a,r;e!==t&&(n&&e.tickInterval&&(e.stubData&&(0,_.isDefined)(e.synchronizedValue)&&(e.oldMinValue=e.minValue=e.baseTickValue-(t.baseTickValue-t.minValue)/n*e.tickInterval,e.oldMaxValue=e.maxValue=e.baseTickValue-(t.baseTickValue-t.maxValue)/n*e.tickInterval),i=n/s(t)/e.tickInterval*s(e),e.maxValue=e.minValue+s(e)/i),a=t.inverted&&!e.inverted||!t.inverted&&e.inverted?t.maxValue-t.invertedBaseTickValue:t.baseTickValue-t.minValue,r=s(e),o=(a/s(t)-(e.baseTickValue-e.minValue)/r)*r,e.minValue-=o,e.maxValue-=o)})}function c(e){var t,n,i=0,o=0;return e.forEach(function(e){var a=e.inverted;t=e.minValue>e.oldMinValue?(e.minValue-e.oldMinValue)/s(e):0,n=e.maxValue<e.oldMaxValue?(e.oldMaxValue-e.maxValue)/s(e):0,i=w(i,a?n:t),o=w(o,a?t:n)}),{start:i,end:o}}function d(e,t){e.forEach(function(e){var n=s(e),i=e.inverted;e.minValue=(0,y.adjust)(e.minValue-t[i?"end":"start"]*n),e.maxValue=(0,y.adjust)(e.maxValue+t[i?"start":"end"]*n)})}function h(e){var t=!1;e.forEach(function(e){t=t||(0,_.isDefined)(e.synchronizedValue)}),e.forEach(function(e){var n,i=e.tickInterval,o=e.tickValues,a=e.maxValue,r=e.minValue;if(t&&i){for(;(n=(0,y.adjust)(o[0]-i))>=r;)o.unshift(n);for(n=o[o.length-1];(n=(0,y.adjust)(n+i))<=a;)o.push(n)}for(;o[0]+i/10<r;)o.shift();for(;o[o.length-1]-i/10>a;)o.pop()})}function p(e){e.forEach(function(e){var t=e.axis,n=t.getTranslator().getBusinessRange();n.min===n.minVisible&&(n.min=e.minValue),n.max===n.maxVisible&&(n.max=e.maxValue),n.minVisible=e.minValue,n.maxVisible=e.maxValue,n.min>n.minVisible&&(n.min=n.minVisible),n.max<n.maxVisible&&(n.max=n.maxVisible),t.getTranslator().updateBusinessRange(n),t.setTicks({majorTicks:e.tickValues,minorTicks:e.minorValues})})}function f(e){var t,n=[];e.forEach(function(e){e.oldMaxValue-e.oldMinValue===0?n.push(e):(0,_.isDefined)(t)||(0,_.isDefined)(e.synchronizedValue)||(t=C((e.maxValue-e.minValue)/(e.tickValues[b(e.tickValues.length/2)]-e.minValue||e.maxValue)))}),(0,_.isDefined)(t)&&n.forEach(function(e){var n=e.tickValues[0],i=n*t;n>0?(e.maxValue=i,e.minValue=0):n<0&&(e.minValue=i,e.maxValue=0)})}function g(e){e.forEach(function(e){if(e.minorTickInterval){for(var t=[],n=e.minorTickInterval,i=e.tickInterval/n-1,o=1;o<e.tickValues.length;o++)for(var a=e.tickValues[o-1],r=0;r<i;r++)a+=n,t.push(a);e.minorValues=t}})}var _=(n(82),n(1)),m=n(3),v=n(11),y=n(29),x=Math,b=x.floor,w=x.max,C=x.abs,k={transform:function(e,t){return(0,y.adjust)((0,v.getLog)(e,t))},addInterval:function(e,t){return(0,y.adjust)(e+t)},getInterval:function(e,t){return t}},S={transform:function(e,t){return(0,y.adjust)((0,v.raiseTo)(e,t))},addInterval:function(e,t){return(0,y.adjust)(e*t)},getInterval:function(e,t){return x.pow(e,t)}},I={synchronize:function(e){(0,m.each)(i(e),function(e,t){var n,i;if(t.length>1){if(n=a(t),n.length<2||!l(n))return;r(n),u(n),i=c(n),d(n,i),f(n),h(n),g(n),n.forEach(function(e){o(e,S)}),p(n)}})}};e.exports=I},function(e,t,n){function i(e){return e}var o=n(1).isDefined,a=n(29).adjust,r=Math.round;e.exports={translate:function(e,t){var n,i=this,a=i._canvasOptions,s=i._ }function i(e,t,n,i){function o(e,n,o,a,r,s){var l=!1;return n&&e.forEach(function(e){var n=s&&e!==s,u=a.scale||1,c=e.getTranslator().zoom(-i(a,r,o,u),u,e.getZoomBounds()),d={startValue:c.min,endValue:c.max},h=e.isZoomingLowerLimitOvercome(t,u,d);e.handleZooming(h?null:d,{start:!0,end:n},a,t),h?e.handleZoomEnd():l=!0}),l}var a=P.option("rotated"),r=e.actionData,l=e.options,u=!0;if(r.fallback)u&=o(P._argumentAxes,l.argumentAxis[t],a?"y":"x",n,r,P.getArgumentAxis()),u|=o(r.valueAxes,l.valueAxis[t],a?"x":"y",n,r);else{var c=[];l.argumentAxis[t]&&c.push(P.getArgumentAxis()),l.valueAxis[t]&&(c=c.concat(r.valueAxes)),c.filter(s).forEach(function(e){e.handleZooming(null,{start:!0},n,t)}),u=u&&c.length}u&&P._requestChange(["VISUAL_RANGE"])}function h(e,t){var n=P._argumentAxes.filter(function(t){return a(o(t.getCanvas()),e)});return{fallback:P._lastRenderingTime>I,cancel:!n.length||!(0,l.isDefined)(t),action:t,curAxisRect:n.length&&o(n[0].getCanvas()),valueAxes:n.length&&P._valueAxes.filter(function(t){return a(o(t.getCanvas()),e)}),offset:{x:0,y:0},center:e,startCenter:e}}function p(e,t){var n=M.getRootOffset();return{x:D(E(t.pageX-n.left,e.x),e.width+e.x),y:D(E(t.pageY-n.top,e.y),e.height+e.y)}}function f(e){var t=M.getRootOffset(),n=e.pointers[0].pageX,i=e.pointers[1].pageX,o=e.pointers[0].pageY,a=e.pointers[1].pageY;return{x:D(n,i)+A(i-n)/2-t.left,y:D(o,a)+A(a-o)/2-t.top}}function g(e){var t=M.getRootOffset();return{x:e.pageX-t.left,y:e.pageY-t.top}}function O(e,t,n){return e.offset[n]-t.offset[n]}function B(e){e.preventDefault(),e.stopPropagation(),P._stopCurrentHandling()}var P=this,M=this._renderer,R={dragStartHandler:function(e){var n=R.options,i="touch"===e.pointerType,o=n.argumentAxis.pan||n.valueAxis.pan,a=n.argumentAxis.zoom||n.valueAxis.zoom,r=(0,l.isDefined)(n.panKey)&&e[(0,c.normalizeEnum)(n.panKey)+"Key"],s=n.dragToZoom,u=void 0;if(i){if(n.allowTouchGestures&&o){var d=!R.panningVisualRangeEnabled()||R.skipEvent;u=d?null:"pan"}}else s&&o&&r?u="pan":!s&&o?u="pan":s&&a&&(u="zoom");var f=h(g(e),u);return f.cancel?(R.skipEvent=!1,void(e.cancel=!0)):(R.actionData=f,B(e),void("zoom"===u?(f.startCoords=p(f.curAxisRect,e),f.rect=M.rect(0,0,0,0).attr(n.dragBoxStyle).append(M.root)):t(R,"pan",e)))},dragHandler:function(t){var i=P.option("rotated"),o=R.options,a=R.actionData,r="touch"===t.pointerType;if(a&&(!r||R.panningVisualRangeEnabled()))if("zoom"===a.action){B(t);var s=a.curAxisRect,l=a.startCoords,u=p(s,t),c=o.argumentAxis.zoom,d=o.valueAxis.zoom,h={x:D(l.x,u.x),y:D(l.y,u.y),width:A(l.x-u.x),height:A(l.y-u.y)};c&&d||(!c&&!i||!d&&i?(h.x=s.x,h.width=s.width):(h.y=s.y,h.height=s.height)),a.rect.attr(h)}else if("pan"===a.action){var f=n(R,"pan",t,O,function(e){return e.offset});r?(R.defineTouchBehavior(!f,t),!f&&R.panningVisualRangeEnabled()&&(e(t),R.skipEvent=!0,R.actionData=null)):B(t)}},dragEndHandler:function(e){var t=P.option("rotated"),n=R.options,o=R.actionData,a="touch"===e.pointerType;if(o&&(!a||R.panningVisualRangeEnabled())){if((!a||!R.actionData.isNative)&&B(e),"zoom"===o.action){var s=function(t,n,i,a,s,l){t=r(t,l);var u=s[i],c=a[i],d=!1;return n&&A(u-c)>T&&t.some(function(t){var n=t.getTranslator();if(!n.getBusinessRange().isEmpty()){var i=l&&t!==l,a=[n.from(c),n.from(u)],r=t.isZoomingLowerLimitOvercome(o.action,n.getMinScale(!0),a),s=t.handleZooming(r?null:a,{start:!!i,end:!!i},e,o.action);return r?t.handleZoomEnd():d=!0,l&&s.isPrevented}}),d},l=p(o.curAxisRect,e),u=s(P._argumentAxes,n.argumentAxis.zoom,t?"y":"x",o.startCoords,l,P.getArgumentAxis()),c=s(o.valueAxes,n.valueAxis.zoom,t?"x":"y",o.startCoords,l);(c||u)&&P._requestChange(["VISUAL_RANGE"]),o.rect.dispose()}else"pan"===o.action&&i(R,"pan",e,O);R.actionData=null}},pinchStartHandler:function(n){B(n);var i=h(f(n),"zoom");return i.isNative=!R.panningVisualRangeEnabled(),i.cancel?void e(n):(R.actionData=i,void t(R,"zoom",n))},pinchHandler:function(e){if(R.actionData&&R.actionData.isNative&&e.deltaScale<=1&&(R.defineTouchBehavior(!0,e),R.actionData=null),R.actionData){var t=n(R,"zoom",e,function(e,t,n,i){return f(e)[n]-t.center[n]+(t.center[n]-t.center[ e._inverted=e.vertical?"right"===l(e._options.horizontalOrientation):"bottom"===l(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=s(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=r.inherit({_isEnabled:function(){var e=this;return e.vertical=e._options.vertical,e._inverted=e.vertical?"right"===l(e._options.horizontalOrientation):"bottom"===l(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=s(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?s(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=s(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)):t<0&&(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,u=o._actualPosition;return a<r?(l<u?(e=l,t=u):(e=u,t=l),n=e-s,i=t+s):(l>u?(e=l,t=u):(e=u,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=s(o._options.size),r=s(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),r<0&&(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),r<0&&(t+=r-o._textHeight))),{min:t,max:n,indent:i}}});t._default=g,t.rectangle=c,t.rhombus=d,t.circle=h,t.trianglemarker=p,t.textcloud=f,t.rangebar=g},function(e,t,n){var i=n(405),o=Number,a=Math.max,r=n(11).normalizeEnum,s=i.inherit({_processOptions:function(){var e=this;if(e.vertical=e._options.vertical,e._inner=e._outer=0,e.vertical)switch(r(e._options.horizontalOrientation)){case"left":e._inner=1;break;case"center":e._inner=e._outer=.5;break;default:e._outer=1}else switch(r(e._options.verticalOrientation)){case"top":e._inner=1;break;case"center":e._inner=e._outer=.5;break;default:e._outer=1}},_isVisible:function(){return!0},_createRange:function(e,t){var n,i=this,o=i _toggleParentsScrollSubscription:function(){},_eventsMap:{onValueChanged:{name:he}},_setDeprecatedOptions:function(){this.callBase.apply(this,arguments),O(this._deprecatedOptions,{"chart.barWidth":{since:"18.1",message:"Use the 'chart.commonSeriesSettings.barPadding' or 'chart.series.barPadding' option instead"},"chart.equalBarWidth":{since:"18.1",message:"Use the 'chart.commonSeriesSettings.ignoreEmptyPoints' or 'chart.series.ignoreEmptyPoints' option instead"},"chart.useAggregation":{since:"18.1",message:"Use the 'chart.commonSeriesSettings.aggregation.enabled' or 'chart.series.aggregation.enabled' option instead"}})},_rootClassPrefix:"dxrs",_rootClass:"dxrs-range-selector",_dataIsReady:function(){return this._dataIsLoaded()},_initialChanges:["DATA_SOURCE","VALUE"],_themeDependentChanges:["MOSTLY_TOTAL"],_themeSection:"rangeSelector",_fontFields:["scale.label.font","sliderMarker.font"],_initCore:function(){var e,t,n,i,o,a=this,r=a._renderer,s=r.root;s.css({"touch-action":"pan-y"}),a._clipRect=r.clipRect(),e=r.g().attr({"class":"dxrs-view"}).append(s),t=r.g().attr({"class":"dxrs-slidersContainer","clip-path":a._clipRect.id}).append(s),n=r.g().attr({"class":"dxrs-scale","clip-path":a._clipRect.id}).append(s),i=r.g().attr({"class":"dxrs-scale-breaks"}).append(s),o=r.g().attr({"class":"dxrs-trackers"}).append(s),a._axis=new D({renderer:r,root:n,scaleBreaksGroup:i,updateSelectedRange:function(e){a.setValue(Q(e))},incidentOccurred:a._incidentOccurred}),a._rangeView=new U.RangeView({renderer:r,root:e,translator:a._axis.getTranslator()}),a._slidersController=new j.SlidersController({renderer:r,root:t,trackersGroup:o,updateSelectedRange:function(e,t){a._rangeOption||a.option(le,Q(e,A.isPlainObject(a._options[le]))),a._eventTrigger(he,{value:Q(e),previousValue:Q(t)})},axis:a._axis,translator:a._axis.getTranslator()}),a._tracker=new K.Tracker({renderer:r,controller:a._slidersController})},_getDefaultSize:function(){return{width:400,height:160}},_disposeCore:function(){this._axis.dispose(),this._slidersController.dispose(),this._tracker.dispose()},_applySize:function(e){this._clientRect=e.slice(),this._change(["MOSTLY_TOTAL"])},_optionChangesMap:{scale:"SCALE",value:"VALUE",dataSource:"DATA_SOURCE"},_optionChangesOrder:["SCALE","DATA_SOURCE"],_change_SCALE:function(){this._change(["MOSTLY_TOTAL"])},_setValueByDataSource:function(){var e=this,t=e._options,n=e._axis;if(t.dataSource){var i=e.option("selectedRangeUpdateMode"),o=e.getValue(),a=J(o[0])&&J(o[1]);if(J(i)?(i=W(i),e.__skipAnimation=!0):a&&(i=ye),"auto"===i&&a){var r=n.allScaleSelected(o);i=r.startValue&&r.endValue?ye:r.endValue?ve:me}if(i===ye)t[le]=null;else if(i===ve&&a){var s=e.getValue();e.__skipAnimation=!0,t[le]={length:n.getVisualRangeLength({minVisible:s[0],maxVisible:s[1]})}}else i===me&&(e.__skipAnimation=!0)}},_change_DATA_SOURCE:function(){this._options.dataSource&&this._updateDataSource()},_customChangesOrder:["MOSTLY_TOTAL","VALUE","SLIDER_SELECTION"],_change_MOSTLY_TOTAL:function(){this._applyMostlyTotalChange()},_change_SLIDER_SELECTION:function(){var e=this,t=e._options[le];e._slidersController.setSelectedRange(t&&Z(t))},_change_VALUE:function(){var e=this,t=e._rangeOption;t&&(e._options[le]=t,e.setValue(t))},_validateRange:function(e,t){var n=this,i=n._axis.getTranslator();(J(e)&&!i.isValid(e)||J(t)&&!i.isValid(t))&&n._incidentOccurred("E2203")},_applyChanges:function(){var e=this,t=e._options[le];e._changes.has("VALUE")&&t&&(e._rangeOption=t),e.callBase.apply(e,arguments),e._rangeOption=null,e.__isResizing=e.__skipAnimation=!1},_applyMostlyTotalChange:function(){var e,t=this,n=t._renderer,i=t._clientRect,o={left:i[0],top:i[1],width:i[2]-i[0],height:i[3]-i[1]};(t.__isResizing||t.__skipAnimation)&&(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._axis.getTranslator().update(new H.Range,o,{isHorizontal:!0}),t._updateContent({left:i[0],top:i[1],width:i[2]-i[0],height:i[3]-i[1]}),(t.__isResizing||t.__skipAnimation)&&n.updateAnimationOptions({enabled:e}),t._drawn()},_dataSource e._tooltipViewer=new p.TooltipViewer({tracker:e._tracker,tooltip:e._tooltip,layerCollection:e._layerCollection})},_change_RESUME_LAYOUT:function(){this._layoutControl.resume()},_initialChanges:["PROJECTION","RESUME_LAYOUT","LAYOUT_INIT","BOUNDS","MAX_ZOOM_FACTOR","ZOOM_FACTOR","CENTER"],_layoutChangesOrder:["RESUME_LAYOUT","LAYERS"],_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:!!o(this._getOption("panningEnabled",!0),!0),zoomingEnabled:!!o(this._getOption("zoomingEnabled",!0),!0)};this._gestureHandler.setInteraction(e),this._controlBar.setInteraction(e)},_getDefaultSize:function(){return{width:f,height:g}},_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&&m.test(e)&&(t.dataSource&&n.dataSource&&t!==n?t.dataSource=null:v.test(e)&&this.option(e,null))},_applyChanges:function(){this._notifyDirty(),this.callBase.apply(this,arguments),this._notifyReady()},_optionChangesMap:{background:"BACKGROUND",layers:"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","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;e<i;++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;t<i;++t)n[t].clearSelecti 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":g(e.hoveredBorderWidth,i),fill:e.hoveredColor||t,opacity:g(e.hoveredOpacity,o)},{"class":"dxm-area dxm-area-selected",stroke:e.selectedBorderColor||n,"stroke-width":g(e.selectedBorderWidth,i),fill:e.selectedColor||t,opacity:g(e.selectedOpacity,o)}]}},setState:function(e,t,n){m(e,t,n,"root")},hasLabelsGroup:!0,updateGrouping:function(e){Ee(e)},getDefaultColor:ue},Se[fe]={projectLabel:W,transform:S,transformLabel:T,draw:function(e,t,n){t.root=e.renderer.path([],"line").data(e.dataKey,n)},refresh:ue,getLabelOffset:function(e){return p(e),[0,0]},getStyles:function(e){var t=e.color||e.borderColor||null,n=g(e.borderWidth,null),i=g(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":g(e.hoveredBorderWidth,n),opacity:g(e.hoveredOpacity,i)},{"class":"dxm-line dxm-line-selected",stroke:e.selectedColor||e.selectedBorderColor||t,"stroke-width":g(e.selectedBorderWidth,n),opacity:g(e.selectedOpacity,i)}]}},setState:function(e,t,n){m(e,t,n,"root")},hasLabelsGroup:!0,updateGrouping:function(e){Ee(e)},getDefaultColor:ue},Se[ge]={project:v,transform:C,draw:function(e,t,n){t.root=e.renderer.g(),this._draw(e,t,n)},refresh:ue,hasLabelsGroup:!1,getLabelOffset:function(e,t){return[Z((e.size[0]+J(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){m(e,t,n,"root"),this._setState(e,t,n)},updateGrouping:function(e){Ee(e),Ae(e)},getDefaultColor:function(e,t){return e.params.themeManager.getAccentColor(t)}};var Ie={};Ie[pe]=function(e){var t=e.coordinates;return{project:t[0]&&t[0][0]&&t[0][0][0]&&"number"==typeof t[0][0][0][0]?w:b}},Ie[fe]=function(e){var t=e.coordinates;return{project:t[0]&&t[0][0]&&"number"==typeof t[0][0][0]?b:x}};var Te={};Te[ge]={_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.id: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,u=g(t.borderWidth,null),c=g(t.opacity,null),d=t.backColor||null,h=g(t.backOpacity,null);e.dot=[{r:n/2,stroke:l,"stroke-width":u,fill:s,opacity:c},{r:i/2,stroke:t.hoveredBorderColor||l,"stroke-width":g(t.hoveredBorderWidth,u),fill:t.hoveredColor||s,opacity:g(t.hoveredOpacity,c)},{r:o/2,stroke:t.selectedBorderColor||l,"stroke-width":g(t.selectedBorderWidth,u),fill:t.selectedColor||s,opacity:g(t.selectedOpacity,c)}],e.back=[{r:n/2,stroke:"none","stroke-width":0,fill:d,opacity:h},{r:a/2,stroke:"none","stroke-width":0,fill:d,opacity:h},{r:r/2,stroke:"none","stroke-width":0,fill:d,opacity:h}]},_setState:function(e,t,n){m(e,t,n,"dot"),m(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=g(t.borderWidth,null),a=g(t.opacity,null);e.bubble=[{stroke:i,"stroke-width":o,fill:n,opacity:a},{stroke:t.hoveredBorderColor||i,"stroke-width":g(t.hoveredBorderWidth,o),fill:t.hoveredColor||t.color,opacity:g(t.hoveredOpacity,a)},{stroke:t.selectedBorderColor||i,"stroke-width":g(t.selectedBorderWidth,o),fill:t.selectedColor||t.color,opacity:g(t.selectedOpacity,a)}]},_setState:function(e,t,n){m(e,t,n,"bubble")},arrange:function(e,t){var n,i,o,a,r,s=[],l=s.length=t.length,u=e.settin return o&&i.isLeaf()&&i.getParent().isActive()?i.getParent():i},getData:function(e){var n=e.target;return("tspan"===n.tagName?n.parentNode:n)[t]},getProxy:n,click:function(t){e._eventTrigger("click",t)}}),e._handlers.setTrackerData=function(e,n){n.data(t,e._id)}}),a(i,"_disposeCore",function(){this._tracker.dispose()})},function(e,t,n){var i=n(73).prototype,o=n(143).expand;n(147),i._eventsMap.onDrill={name:"drill"},o(i,"_extendProxyType",function(e){var t=this;e.drillDown=function(){t._drillToNode(this._id)}}),o(i,"_onNodesCreated",function(){this._drilldownIndex=-1}),i._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})))},i.resetDrillDown=function(){return this._drillToNode(-1),this},i.drillUp=function(){return this._drillToNode(this._topNode.parent._id||-1),this},i.getCurrentNode=function(){return this._topNode.proxy}},function(e,t,n){function i(e,t){var n,o,a,r=e.struct;for(o=0;o<t.length;o++)n=t[o],a=n[e.idField],r[a]&&(n.items=r[a].items,r[a]=null,i(e,n.items))}var o=n(73).prototype;o._optionChangesMap.idField=o._optionChangesMap.parentField="NODES_CREATE",o._processDataSourceItems=function(e){var t,n,o,a,r,s={},l=this._getOption("idField",!0),u=this._getOption("parentField",!0),c=[];if(!l||!u||0===e.length)return{items:e,isPlain:!0};for(t=0;t<e.length;t++)n=e[t],o=n[u],o?(s[o]=s[o]||{items:[]},a=s[o].items):a=c,a.push(n);i({struct:s,idField:l},c);for(r in s)s[r]&&c.push(s[r]);return{items:c,isPlain:!0}}},function(e,t,n){var i=n(417);i.addPlugin(n(835).plugin),i.addPlugin(n(97).plugin),i.addPlugin(n(106).plugin),i.addPlugin(n(203).plugin),i.addPlugin(n(836).plugin),i.addPlugin(n(837).plugin),i.addPlugin(n(121).plugin),e.exports=i},function(e,t,n){var i,o=n(11).normalizeEnum,a={};t.getAlgorithm=function(e){return a[o(e)]||i},t.addAlgorithm=function(e,t,n){a[e]=t,n&&(i=a[e])}},function(e,t,n){var i=.5;e.exports={getFigures:function(e){var t=1/e.length;return e.map(function(e,n,o){var a=o[n+1]?o[n+1]:o[n];return[i-e/2,t*n,i+e/2,t*n,i+a/2,t*(n+1),i-a/2,t*(n+1)]})},normalizeValues:function(e){var t=e.reduce(function(e,t){return Math.max(t.value,e)},e[0]&&e[0].value||0);return e.map(function(e){return e.value/t})}}},function(e,t,n){var i=.5,o=0,a=1;e.exports={getFigures:function(e,t,n){var r=0,s=0,l=0,u=0,c=t/2,d=i-c,h=1-n,p=i-c,f=i+c;return e.map(function(e){return l=u,s=r,r+=e,u=d*r/h,s<=h&&r<=h?[l,s,a-l,s,a-u,r,o+u,r]:s<=h&&r>h?[l,s,a-l,s,f,h,f,r,p,r,p,h]:[p,s,f,s,f,r,p,r]})},normalizeValues:function(e){var t=e.reduce(function(e,t){return e+t.value},0);return e.map(function(e){return e.value/t})}}},function(e,t,n){function i(e,t,n){var i=t.border,o=n.border,a=r(i.visible)?i.visible:o.visible,s=r(i.width)?i.width:o.width;return{fill:e,hatching:t.hatching,stroke:i.color||o.color,"stroke-width":a?s:0}}function o(e,t){var n=this,o=t.data;n.code=0,n.widget=e,n.figure=t.figure,n.argument=o.argument,n.value=o.value,n.data=o.dataItem,n.percent=t.percent,n.id=t.id,n.color=t.color,n.states={normal:i(t.color,t.itemOptions,t.itemOptions),hover:i(t.color,t.itemOptions.hoverStyle,t.itemOptions),selection:i(t.color,t.itemOptions.selectionStyle,t.itemOptions)}}var a=["normal","hover","selection","selection"],r=n(1).isDefined;o.prototype={getState:function(){return a[this.code]},getNormalStyle:function(){return this.states.normal},setHover:function(){this.hover(!0)},hover:function(e){this.widget._getOption("hoverEnabled",!0)&&e!==this.isHovered()&&(this.widget._suspend(),e&&this.widget.clearHover(),this.setState(1,e),this.widget._eventTrigger("hoverChanged",{item:this}),this.widget._resume())},setState:function(e,t){t?this.code|=e:this.code&=~e,this.widget._applyTilesAppearance()},select:function(e){var t=this.widget._getOption("selectionMode",!0);"none"!==t&&e!==this.isSelected()&&(this.widget._suspend(),e&&"multiple"!==t&&this.widget.clearSelection(),this.setState(2,e),this.widget._eventTrigger("selectionChanged",{item:this}),this. },_initSlideOutView:function(){this._slideOutView=this._createComponent(this.$element(),c,{integrationOptions:{},menuVisible:this.option("menuVisible"),swipeEnabled:this.option("swipeEnabled"),menuPosition:this.option("menuPosition"),onOptionChanged:this._slideOutViewOptionChanged.bind(this)}),this._itemContainer().addClass(m)},_slideOutViewOptionChanged:function(e){"menuVisible"===e.name&&this.option(e.name,e.value)},_initMarkup:function(){this._renderList(),this._renderContentTemplate(),this.callBase()},_render:function(){this._slideOutView._renderShield(),this.callBase()},_renderList:function(){var e=this._list&&this._list.$element()||i("<div>").addClass(v).appendTo(i(this._slideOutView.menuContent()));this._renderItemClickAction(),this._list=this._createComponent(e,h,{itemTemplateProperty:"menuTemplate",selectionMode:this.option("selectionMode"),selectionRequired:this.option("selectionRequired"),indicateLoading:!1,onItemClick:this._listItemClickHandler.bind(this),items:this.option("items"),dataSource:this._dataSource,itemTemplate:this._getTemplateByOption("menuItemTemplate"),grouped:this.option("menuGrouped"),groupTemplate:this._getTemplateByOption("menuGroupTemplate"),onItemRendered:this.option("onMenuItemRendered"),onGroupRendered:this.option("onMenuGroupRendered"),onContentReady:this._updateSlideOutView.bind(this)}),this._list.option("selectedIndex",this.option("selectedIndex"))},_getGroupedOption:function(){return this.option("menuGrouped")},_updateSlideOutView:function(){this._slideOutView._dimensionChanged()},_renderItemClickAction:function(){this._itemClickAction=this._createActionByOption("onItemClick")},_listItemClickHandler:function(e){var t=this._list.$element().find(".dx-list-item").index(e.itemElement);this.option("selectedIndex",t),this._itemClickAction(e)},_renderContentTemplate:function(){if(!r(this._singleContent)){var e=this._itemContainer().html().length;this._getTemplateByOption("contentTemplate").render({container:o(this._itemContainer())}),this._singleContent=this._itemContainer().html().length!==e}},_itemClickHandler:a,_renderContentImpl:function(){if(!this._singleContent){var e=this.option("items"),t=this.option("selectedIndex");if(e.length&&t>-1){this._selectedItemContentRendered=!0;var n=this._list.getItemByIndex(t);this._renderItems([n])}}},_renderItem:function(e,t){this._itemContainer().find("."+y).remove(),this.callBase(e,t)},_selectedItemElement:function(){return this._itemElements().eq(0)},_renderSelection:function(){this._prepareContent(),this._renderContent()},_getListWidth:function(){return this._slideOutView._getMenuWidth()},_changeMenuOption:function(e,t){this._list.option(e,t),this._updateSlideOutView()},_cleanItemContainer:function(){this._singleContent||this.callBase()},beginUpdate:function(){this.callBase(),this._list&&this._list.beginUpdate()},endUpdate:function(){this._list&&this._list.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")),this._selectedItemContentRendered||this._renderSelection();break;case"dataSource":case"selectedIndex":case"selectedItem":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)},to
|