UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

10 lines • 1.18 MB
/*! * DevExtreme (dx.viz.js) * Version: 18.1.3 * Build date: Tue May 15 2018 * * Copyright (c) 2012 - 2018 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 r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.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=754)}([function(e,t,n){var i=n(1).isPlainObject,r=function(e,t,n){e=e||{};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];i in e&&!n||(e[i]=r)}return e},o=function e(t){t=t||{};var n=1,r=!1;for("boolean"==typeof t&&(r=t,t=arguments[1]||{},n++);n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var a in o){var s,l=t[a],c=o[a],u=!1;t!==c&&(r&&c&&(i(c)||(u=Array.isArray(c)))?(s=u?l&&Array.isArray(l)?l:[]:l&&i(l)?l:{},t[a]=e(r,s,c)):void 0!==c&&(t[a]=c))}}return t};t.extend=o,t.extendFromObject=r},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},r={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object String]":"string","[object Null]":"null"},o=function(e){var t=Object.prototype.toString.call(e);return"object"===("undefined"==typeof e?"undefined":i(e))?r[t]||"object":"undefined"==typeof e?"undefined":i(e)},a=function(e){return"boolean"==typeof e},s=function(e){return h(e)&&e.toString().indexOf("e")!==-1},l=function(e){return"date"===o(e)},c=function(e){return null!==e&&void 0!==e},u=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"===o(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(o(e))===-1},m=function(e){return null!=e&&e===e.window},v=function(e){return!(!e.jquery&&!e.dxRenderer)},y=function(e){return e&&u(e.then)},b=function(e){return e&&u(e.done)&&u(e.fail)};t.isBoolean=a,t.isExponential=s,t.isDate=l,t.isDefined=c,t.isFunction=u,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=b,t.type=o},function(e,t,n){var i=n(215);e.exports=i.get()},function(e,t,n){var i=function(e,t,n,i){var r=n(t[e],e);null!=r&&i.push(r)},r=function(e,t){var n=[];if("length"in e)for(var r=0;r<e.length;r++)i(r,e,t,n);else for(var o in e)i(o,e,t,n);return[].concat.apply([],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}};t.map=r,t.each=o},function(e,t,n){var i,r="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=n(29),a=n(7),s=a.when,l=a.Deferred,c=n(3).each,u=n(1),d=function(e,t){return u.isDefined(e)?e:t},h=function(e,t){var n,i=new l,r=t||this,o={promise:i.promise(),abort:function(){clearTimeout(n),i.rejectWith(r)}},a=function(){var t=e.call(r);t&&t.done&&u.isFunction(t.done)?t.done(function(){i.resolveWith(r)}):i.resolveWith(r)};return n=(arguments[2]||setTimeout)(a,"number"==typeof t?t:0),o},p=[],f=[],g=[],_=function(e,t,n){if(i&&i!==e)return p.push(t),f.push(e),n=n||new l,g.push(n),n;var r=i,o=g.length;i=e;var a=t();return a||(g.length>o?a=s.apply(this,g.slice(o)):n&&n.resolve()),i=r,n&&a&&a.done&&a.done(n.resolve).fail(n.reject),!i&&p.length&&("render"===f.shift()?m:v)(p.shift(),g.shift()),a},m=function(e,t){return _("render",e,t)},v=function(e,t){return _("update",e,t)},y=function(e){return function(){var t=this;return _("render",function(){return e.call(t)})}},b=function(e){return function(){var t=this;return _("update",function(){return e.call(t)})}},x=function(e,t,n){var i=[],r=0;return c(t,function(t,o){var a=0,s=n?n(o):o;c(e,function(e,t){var n=s[e];if(void 0!==n)return S(n,t)?void a++:(a=-1,!1)}),a<r||(a>r&&(i.length=0,r=a),i.push(o))}),i},S=function(e,t){if(Array.isArray(e)&&Array.isArray(t)){var n=!1;return c(e,function(e,i){if(i!==t[e])return n=!0,!1}),!n}return e===t},w=function(e){switch("undefined"==typeof e?"undefined":r(e)){case"string":return e.split(/\s+/,2);case"object":return[e.x||e.h,e.y||e.v];case"number":return[e];default:return e}},C=function(e){switch("undefined"==typeof e?"undefined":r(e)){case"string":return e.split(/\s+/,4);case"object":return[e.x||e.h||e.left,e.y||e.v||e.top,e.x||e.h||e.right,e.y||e.v||e.bottom];case"number":return[e];default:return e}},k=function(e){var t=u.isString(e)?e:e.toString(),n=t.match(/[^a-zA-Z0-9_]/g);return n&&c(n,function(e,n){t=t.replace(n,"__"+n.charCodeAt()+"__")}),t},T=function(e){var t=e.match(/__\d+__/g);return t&&t.forEach(function(t){var n=parseInt(t.replace("__",""));e=e.replace(t,String.fromCharCode(n))}),e},E=function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!O(e[i],t[i],n+1))return!1;return!0},A=function(e,t,n){for(var i in e)if(e.hasOwnProperty(i)&&!O(e[i],t[i],n+1))return!1;for(i in t)if(!(i in e))return!1;return!0},O=function(e,t,n){if(e===t)return!0;var i=3;return n=n||0,n>=i||(u.isObject(e)&&u.isObject(t)?A(e,t,n):Array.isArray(e)&&Array.isArray(t)?E(e,t,n):!(!u.isDate(e)||!u.isDate(t))&&e.getTime()===t.getTime())},I=function(e){if(u.isObject(e)||Array.isArray(e))try{var t=JSON.stringify(e);return"{}"===t?e:t}catch(t){return e}return e},D=function(e){return e.replace(/[[\]{}\-()*+?.\\^$|\s]/g,"\\$&")},M=function(e){var t=o().serverDecimalSeparator;return u.isDefined(e)&&(e=e.toString().replace(".",t)),e},P=function(){},L=function(e,t,n){for(var i,r=[],o=!n,a=0;a<e.length;a++)i=!!t(e[a],a),i===o&&r.push(e[a]);return r};t.ensureDefined=d,t.executeAsync=h,t.deferRender=m,t.deferRenderer=y,t.deferUpdate=v,t.deferUpdater=b,t.splitPair=w,t.splitQuad=C,t.findBestMatches=x,t.normalizeKey=k,t.denormalizeKey=T,t.equalByValue=O,t.getKeyHash=I,t.escapeRegExp=D,t.applyServerDecimalSeparator=M,t.noop=P,t.grep=L},function(e,t,n){var i,r="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=n(107),a=n(0).extend,s=n(12),l=n(6),c=l.getWindow(),u=n(55),d=n(1),h=n(19),p=d.isWindow,f=d.isFunction,g=d.isString,_=n(17),m=n(171),v=n(216),y="dxEmptyEventType",b={mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},x={focusin:"focus",focusout:"blur"},S=["blur","focusout","focus","focusin","load"],w=function(e,t){return!p(e)&&"#document"!==e.nodeName&&s.elementMatches(e,t)},C=new m,k=0,T=function(){var e={};return o.add(function(t,n){e[t]=n}),{getField:function(t,n){return e[t]&&e[t][n]},callMethod:function(t,n,i,r){return e[t]&&e[t][n]&&e[t][n].apply(i,r)}}}(),E=function e(t,n){var i=t[0];if(i)if(s.isNode(i)||p(i))n.apply(z,t);else{if(g(i)||!("length"in i))throw _.Error("E0025");var r=Array.prototype.slice.call(t,0);Array.prototype.forEach.call(i,function(t){r[0]=t,e(r,n)})}},A=function(e){return function(){E(arguments,e)}},O=function(e,t){var n=C.get(e);t=t||"";var r=t.split("."),o=r.slice(1),a=!!r[0];t=r[0]||y,n||(n={},C.set(e,n)),n[t]||(n[t]={handleObjects:[],nativeHandler:null});var l=n[t];return{addHandler:function(n,r,c){var u=function(i,r){var o,a,s=[i],l=i.currentTarget,u=i.relatedTarget;t in b&&(o=u&&l&&(u===l||l.contains(u))),void 0!==r&&s.push(r),T.callMethod(t,"handle",e,[i,c]),o||(a=n.apply(l,s)),a===!1&&(i.preventDefault(),i.stopPropagation())},d=function(t,n){if(!i||t.type!==i)if(t.data=c,t.delegateTarget=e,r)for(var o=t.target;o&&o!==e;)w(o,r)&&(t.currentTarget=o,u(t,n)),o=o.parentNode;else u(t,n)},h={handler:n,wrappedHandler:d,selector:r,type:t,data:c,namespace:o.join("."),namespaces:o,guid:++k};l.handleObjects.push(h);var p=1===l.handleObjects.length,f=p&&a,g=I(t);f&&(f=!T.callMethod(t,"setup",e,[c,o,g])),f&&(l.nativeHandler=g,l.removeListener=s.listen(e,b[t]||t,l.nativeHandler)),T.callMethod(t,"add",e,[h])},removeHandler:function(i,r){var s=function(t){var a=n[t];if(!a.handleObjects.length)return void delete n[t];var s;a.handleObjects=a.handleObjects.filter(function(n){var a=o.length&&!D(n.namespaces,o)||i&&n.handler!==i||r&&n.selector!==r;return a||(s=n.handler,T.callMethod(t,"remove",e,[n])),a});var l=!a.handleObjects.length,c=l&&t!==y;c&&(T.callMethod(t,"teardown",e,[o,s]),a.nativeHandler&&a.removeListener(),delete n[t])};if(a)s(t);else for(var l in n)s(l);var c=0===Object.keys(n).length;c&&C.delete(e)},callHandlers:function(e,t){var i=!1,r=function(n){i||o.length&&!D(n.namespaces,o)||(n.wrappedHandler(e,t),i=e.isImmediatePropagationStopped())};l.handleObjects.forEach(r),o.length&&n[y]&&n[y].handleObjects.forEach(r)}}},I=function(e){return function(t,n){var i=O(this,e);t=z.Event(t),i.callHandlers(t,n)}},D=function(e,t){for(var n=0;n<t.length;n++)if(e.indexOf(t[n])<0)return!1;return!0},M=function(e){return function(t,n,i,r,o){o||(o=r,r=void 0),"string"!=typeof i&&(r=i,i=void 0),o||"string"!=typeof n||(o=r||i,i=void 0,r=void 0),e(t,n,i,r,o)}},P=function(e){return function(t,n,i,r){"function"==typeof i&&(r=i,i=void 0),e(t,n,i,r)}},L=function(e){return function(t,n,i){"string"==typeof n&&(n={type:n}),n.target||(n.target=t),n.currentTarget=t,n.delegateTarget||(n.delegateTarget=t),!n.type&&n.originalEvent&&(n.type=n.originalEvent.type),e(t,n instanceof z.Event?n:z.Event(n),i)}},B=function(e){return function(t,n){return this instanceof z.Event?(t||(t={}),"string"==typeof t&&(t={type:t}),n||(n={}),void e.call(this,t,n)):new z.Event(t,n)}},R=function(e){var t=function(t,n){if(n&&n.indexOf(" ")>-1){var i=Array.prototype.slice.call(arguments,0);n.split(" ").forEach(function(t){i[1]=t,e.apply(this,i)})}else e.apply(this,arguments)};return function(e,n){if("object"===("undefined"==typeof n?"undefined":r(n))){var i=Array.prototype.slice.call(arguments,0);for(var o in n)i[1]=o,i[i.length-1]=n[o],t.apply(this,i)}else t.apply(this,arguments)}},V=function(e,t){var n=x[e]||e,r=function(e,t){return"click"===e&&"a"===t.localName};r(e,t)||f(t[n])&&(i=e,t[n](),i=void 0)},F=function(e){var t=function(e){var t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;return!e.which&&void 0!==e.button&&t.test(e.type)},n=function(e){return null==e.which&&0===e.type.indexOf("key")};if(n(e))return null!=e.charCode?e.charCode:e.keyCode;if(t(e)){var i={1:1,2:3,3:1,4:2};return i[e.button]}return e.which},z=u({on:A(M(R(function(e,t,n,i,r){var o=O(e,t);o.addHandler(r,n,i)}))),one:A(M(function(e,t,n,i,r){var o=function i(){z.off(e,t,n,i),r.apply(this,arguments)};z.on(e,t,n,i,o)})),off:A(P(R(function(e,t,n,i){var r=O(e,t);r.removeHandler(i,n)}))),trigger:A(L(function(e,t,n){var i=t.type,r=O(e,t.type);T.callMethod(i,"trigger",e,[t,n]),r.callHandlers(t,n);var o=T.getField(i,"noBubble")||t.isPropagationStopped()||S.indexOf(i)!==-1;if(!o){var s=[],l=function e(t){var n=t.parentNode;n&&(s.push(n),e(n))};l(e),s.push(c);for(var u=0;s[u]&&!t.isPropagationStopped();){var d=O(s[u],t.type);d.callHandlers(a(t,{currentTarget:s[u]}),n),u++}}(e.nodeType||p(e))&&(T.callMethod(i,"_default",e,[t,n]),V(i,e))})),triggerHandler:A(L(function(e,t,n){var i=O(e,t.type);i.callHandlers(t,n)}))}),N=function(e){e&&(z.Event=e,z.Event.prototype=e.prototype)};N(B(function(e,t){var n=this,i=!1,r=!1,o=!1;a(n,e),(e instanceof z.Event||l.hasWindow()&&e instanceof c.Event)&&(n.originalEvent=e,n.currentTarget=void 0),e instanceof z.Event||a(n,{isPropagationStopped:function(){return!!(i||n.originalEvent&&n.originalEvent.propagationStopped)},stopPropagation:function(){i=!0,n.originalEvent&&n.originalEvent.stopPropagation()},isImmediatePropagationStopped:function(){return r},stopImmediatePropagation:function(){this.stopPropagation(),r=!0,n.originalEvent&&n.originalEvent.stopImmediatePropagation()},isDefaultPrevented:function(){return!!(o||n.originalEvent&&n.originalEvent.defaultPrevented)},preventDefault:function(){o=!0,n.originalEvent&&n.originalEvent.preventDefault()}}),H("which",F,n),0===e.type.indexOf("touch")&&(delete t.pageX,delete t.pageY),a(n,t),n.guid=++k}));var H=function(e,t,n){Object.defineProperty(n||z.Event.prototype,e,{enumerable:!0,configurable:!0,get:function(){return this.originalEvent&&t(this.originalEvent)},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})};v(H);var G=h(),W=h();z.set=function(e){G.fire(),z.inject(e),N(e.Event),W.fire()},z.subscribeGlobal=function(){E(arguments,M(function(){var e=arguments;z.on.apply(this,e),G.add(function(){var t=Array.prototype.slice.call(e,0);t.splice(3,1),z.off.apply(this,t)}),W.add(function(){z.on.apply(this,e)})}))},e.exports=z},function(e,t,n){var i=n(12),r="undefined"!=typeof window,o=r&&window;o||(o={},o.window=o),e.exports={hasWindow:function(){return r},getWindow:function(){return o},hasProperty:function(e){return this.hasWindow()&&e in o},defaultScreenFactorFunc:function(e){return e<768?"xs":e<992?"sm":e<1200?"md":"lg"},getCurrentScreenFactor:function(e){var t=e||this.defaultScreenFactorFunc,n=i.getDocumentElement().clientWidth;return t(n)},openWindow:function(){return this.hasProperty("open")?o.open():null},getNavigator:function(){return this.hasWindow()?o.navigator:{userAgent:""}}}},function(e,t,n){var i=n(1),r=i.isPromise,o=i.isDeferred,a=n(0).extend,s=n(19),l=[{method:"resolve",handler:"done",state:"resolved"},{method:"reject",handler:"fail",state:"rejected"},{method:"notify",handler:"progress"}],c=function(){var e=this;this._state="pending",this._promise={},l.forEach(function(t){var n=t.method;this[n+"Callbacks"]=new s,this[n]=function(){return this[n+"With"](this._promise,arguments)}.bind(this),this._promise[t.handler]=function(t){if(!t)return this;var i=e[n+"Callbacks"];return i.fired()?t.apply(e[n+"Context"],e[n+"Args"]):i.add(function(e,n){t.apply(e,n)}.bind(this)),this}}.bind(this)),this._promise.always=function(e){return this.done(e).fail(e)},this._promise.catch=function(e){return this.then(null,e)},this._promise.then=function(e,t){var n=new c;return["done","fail"].forEach(function(i){var a="done"===i?e:t;this[i](function(){if(!a)return void n["done"===i?"resolve":"reject"].apply(this,arguments);var e=a&&a.apply(this,arguments);o(e)?e.done(n.resolve).fail(n.reject):r(e)?e.then(n.resolve,n.reject):n.resolve.apply(this,e?[e]:arguments)})}.bind(this)),n.promise()},this._promise.state=function(){return e._state},this._promise.promise=function(t){return t?a(t,e._promise):e._promise},this._promise.promise(this)};l.forEach(function(e){var t=e.method,n=e.state;c.prototype[t+"With"]=function(e,i){var r=this[t+"Callbacks"];return"pending"===this.state()&&(this[t+"Args"]=i,this[t+"Context"]=e,n&&(this._state=n),r.fire(e,i)),this}}),t.fromPromise=function(e,t){if(o(e))return e;if(r(e)){var n=new c;return e.then(function(){n.resolveWith.apply(n,[t].concat([[].slice.call(arguments)]))},function(){n.rejectWith.apply(n,[t].concat([[].slice.call(arguments)]))}),n}return(new c).resolveWith(t,[e])};var u=function(){if(1===arguments.length)return t.fromPromise(arguments[0]);for(var e=[].slice.call(arguments),n=[],i=0,r=new c,a=function(t){return function(o){n[t]=this,e[t]=arguments.length>1?[].slice.call(arguments):o,i++,i===e.length&&r.resolveWith(n,e)}},s=0;s<e.length;s++)o(e[s])?e[s].promise().done(a(s)).fail(r.reject):i++;return i===e.length&&r.resolveWith(n,e),r.promise()};t.setStrategy=function(e){c=e.Deferred,u=e.when},t.Deferred=function(){return new c},t.when=function(){return u.apply(this,arguments)}},function(e,t,n){var i=n(2),r=n(137),o=n(17),a=n(99),s=function(e,t,n){n?t[e]=n:n=t,a.name(n,e),r.fire(e,n)},l=function(e,t){i.fn[e]=function(n){var i,r="string"==typeof n;if(r){var a=n,s=[].slice.call(arguments).slice(1);this.each(function(){var n=t.getInstance(this);if(!n)throw o.Error("E0009",e);var r=n[a],l=r.apply(n,s);void 0===i&&(i=l)})}else this.each(function(){var e=t.getInstance(this);e?e.option(n):new t(this,n)}),i=this;return i}};r.add(l),e.exports=s},function(e,t,n){var i=n(2),r=n(5),o=n(17),a=n(56).focused,s=n(0).extend,l=n(3).each,c=function(){var e={dx:/^dx/i,mouse:/(mouse|wheel)/i,touch:/^touch/i,keyboard:/^key/i,pointer:/^(ms)?pointer/i};return function(t){var n="other";return l(e,function(e){if(this.test(t.type))return n=e,!1}),n}}(),u=function(e){return"dx"===c(e)},d=function(e){return"mouse"===c(e)},h=function(e){return"touch"===c(e)},p=function(e){return"pointer"===c(e)},f=function(e){return d(e)||(p(e)||u(e))&&"mouse"===e.pointerType},g=function(e){return h(e)||(p(e)||u(e))&&"touch"===e.pointerType},_=function(e){return"keyboard"===c(e)},m=function(e){return 0===e.screenX&&!e.offsetX&&0===e.pageX},v=function(e){return{x:e.pageX,y:e.pageY,time:e.timeStamp}},y=function(e,t){return{x:t.x-e.x,y:t.y-e.y,time:t.time-e.time||1}},b=function(e){return h(e)?(e.originalEvent.touches||[]).length:u(e)?(e.pointers||[]).length:0},x=function(e){var t=i(e.target),n=t.is("input, textarea, select");return!!t.is(".dx-skip-gesture-event *, .dx-skip-gesture-event")||("dxmousewheel"===e.type?t.is("input[type='number'], textarea, select")&&t.is(":focus"):f(e)?n||e.which>1:g(e)?n&&a(t):void 0)},S=function(e){return e},w=function(e){S=e},C=function(e){return S(r.Event(e,e),e)},k=function(e,t){var n=C(e);return t&&s(n,t),n},T=function(e){var t=k(e.originalEvent,e);return r.trigger(e.delegateTarget||t.target,t),t},E=function e(t,n){if(!n)throw o.Error("E0017");return"string"==typeof t?t.indexOf(" ")===-1?t+"."+n:e(t.split(/\s+/g),n):(l(t,function(e,i){t[e]=i+"."+n}),t.join(" "))};e.exports={eventSource:c,isPointerEvent:p,isMouseEvent:f,isTouchEvent:g,isKeyboardEvent:_,isFakeClickEvent:m,hasTouches:b,eventData:v,eventDelta:y,needSkipEvent:x,createEvent:k,fireEvent:T,addNamespace:E,setEventFixMethod:w}},function(e,t,n){var i=n(17),r=n(1),o=function(e,t,n){return function(){var i=this.callBase;this.callBase=e[t];try{return n.apply(this,arguments)}finally{this.callBase=i}}},a=function(e){var t=function(){};return t.prototype=e.prototype,new t},s=function(e){var t,n,i,r=this;if(!e)return r;for(n in e)i=e[n],t="function"==typeof r.prototype[n]&&"function"==typeof i,r.prototype[n]=t?o(r.parent.prototype,n,i):i;return r},l=function(){var e,t,n,i=this;for(n=0;n<arguments.length;n++){e=arguments[n],e.ctor&&i._includedCtors.push(e.ctor),e.postCtor&&i._includedPostCtors.push(e.postCtor);for(t in e)"ctor"!==t&&"postCtor"!==t&&(i.prototype[t]=e[t])}return i},c=function(e){return this.parent===e||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(e)},u=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||r.isWindow(this)||"function"!=typeof this.constructor)throw i.Error("E0003");var e,t=this,n=t.ctor,o=t.constructor._includedCtors,a=t.constructor._includedPostCtors;for(e=0;e<o.length;e++)o[e].call(t);for(n&&n.apply(t,arguments),e=0;e<a.length;e++)a[e].call(t)};return t.prototype=a(this),d(this,t),t.inherit=this.inherit,t.abstract=u,t.redefine=s,t.include=l,t.subclassOf=c,t.parent=this,t._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],t._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],t.prototype.constructor=t,t.redefine(e),t},h.abstract=u,e.exports=h},function(e,t,n){var i=n(1).isDefined,r=n(3).each,o=n(53),a=function(e){return Array.isArray(e)&&!e.length},s=function(e){return Array.isArray(e)?e:[e]},l=function(e,t){if(!Array.isArray(e)||0===e.length||!Array.isArray(t)||0===t.length)return[];var n=[];return r(e,function(e,i){var r=d(i,t);r!==-1&&n.push(i)}),n},c=function(e,t){if(!Array.isArray(e)||0===e.length)return[];if(!Array.isArray(t)||0===t.length)return e.slice();var n=[];return r(e,function(e,i){var r=d(i,t);r===-1&&n.push(i)}),n},u=function(e,t,n,a){var s={},l=0;return r(e,function(e,r){e=r[t],i(e)&&(s[e]=s[e]||[],r===n?s[e].unshift(r):s[e].push(r),delete r[t])}),o.orderEach(s,function(e,n){r(n,function(){e>=0&&(this[t]=l++)})}),r(e,function(){i(this[t])||a&&!a(this)||(this[t]=l++)}),l},d=function(e,t){if(!t)return-1;var n=Array.isArray(t)?t:t.toArray();return n.indexOf(e)},h=function(e,t){for(var n=0;n<t.length;n++)e[e.length]=t[n];return e};t.isEmpty=a,t.wrapToArray=s,t.intersection=l,t.removeDuplicates=c,t.normalizeIndexes=u,t.inArray=d,t.merge=h},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},r=n(55),o=n(4).noop,a={querySelectorAll:function(e,t){return e.querySelectorAll(t)},elementMatches:function(e,t){var n=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(t){for(var n=this.querySelectorAll(e.document||e.ownerDocument,t),i=0;i<n.length;i++)if(n[i]===e)return!0}.bind(this);return n.call(e,t)},createElement:function(e,t){return t=t||this._document,t.createElement(e)},createElementNS:function(e,t,n){return n=n||this._document,n.createElementNS(e,t)},createTextNode:function(e,t){return t=t||this._document,t.createTextNode(e)},isNode:function(e){return"object"===("undefined"==typeof e?"undefined":i(e))&&"nodeType"in e},isElementNode:function(e){return e&&e.nodeType===Node.ELEMENT_NODE},isTextNode:function(e){return e&&e.nodeType===Node.TEXT_NODE},isDocument:function(e){return e&&e.nodeType===Node.DOCUMENT_NODE},removeElement:function(e){var t=e&&e.parentNode;t&&t.removeChild(e)},insertElement:function(e,t,n){e&&t&&e!==t&&(n?e.insertBefore(t,n):e.appendChild(t))},setAttribute:function(e,t,n){e.setAttribute(t,n)},removeAttribute:function(e,t){e.removeAttribute(t)},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e&&(e.textContent=t)},setClass:function(e,t,n){if(1===e.nodeType&&t)if(e.classList)n?e.classList.add(t):e.classList.remove(t);else{var i=e.className.split(" "),r=i.indexOf(t);n&&r<0&&(e.className=e.className?e.className+" "+t:t),!n&&r>=0&&(i.splice(r,1),e.className=i.join(" "))}},setStyle:function(e,t,n){e.style[t]=n||""},_document:"undefined"==typeof document?void 0:document,getDocument:function(){return this._document},getActiveElement:function(){return this._document.activeElement},getBody:function(){return this._document.body},createDocumentFragment:function(){return this._document.createDocumentFragment()},getDocumentElement:function(){return this._document.documentElement},getLocation:function(){return this._document.location},getSelection:function(){return this._document.selection},getReadyState:function(){return this._document.readyState},getHead:function(){return this._document.head},hasDocumentProperty:function(e){return e in this._document},listen:function(e,t,n,i){return e&&"addEventListener"in e?(e.addEventListener(t,n,i),function(){e.removeEventListener(t,n)}):o}};e.exports=r(a)},function(e,t,n){var i,r=n(2),o=n(12),a=n(6),s=a.getWindow(),l=n(5),c=n(17),u=n(11).inArray,d=n(1),h=d.isDefined,p=d.isRenderer,f=n(217),g=function(){var e=o.getActiveElement();e&&e!==o.getBody()&&e.blur&&e.blur()},_=function(){var e=s.getSelection();if(e&&"Caret"!==e.type)if(e.empty)e.empty();else if(e.removeAllRanges)try{e.removeAllRanges()}catch(e){}},m=function(e,t){var n=r(e),i=r(t);if(n[0]===i[0])return n[0];for(var o=n.parents(),a=i.parents(),s=Math.min(o.length,a.length),l=-s;l<0;l++)if(o.get(l)===a.get(l))return o.get(l)},v=function(e){var t=".dx-visibility-change-handler";return function(n){for(var i=r(n||"body"),o=i.filter(t).add(i.find(t)),a=0;a<o.length;a++)l.triggerHandler(o[a],e)}},y=function(){var e=0;return function(t){return(t||"")+e++}}(),b="data-options",x=function(e){var t,n=r(e).attr(b)||"";"{"!==n.trim().charAt(0)&&(n="{"+n+"}");try{t=new Function("return "+n)()}catch(e){throw c.Error("E3018",e,n)}return t},S=function(e,t){var n=[],i="["+b+"]",o=e.find(i).add(e.filter(i));return o.each(function(e,i){var o=r(i),a=x(i);for(var s in a)(!t||u(s,t)>-1)&&o[s]&&(o[s](a[s]),n.push(o[s]("instance")))}),n},w=function(e){if(!s.WinJS)return r(f.parseHTML(e));var t=r("<div>");return s.WinJS.Utilities.setInnerHTMLUnsafe(t.get(0),e),t.contents()},C=function e(t){var n=h(t)&&(t.nodeType||p(t))?r(t):r("<div>").html(t).contents();return 1===n.length&&(n.is("script")?n=e(n.html().trim()):n.is("table")&&(n=n.children("tbody").contents())),n},k=function(e,t,n){n?e.attr(t,n):e.removeAttr(t)},T=function(e,t){var n=e.originalEvent&&e.originalEvent.clipboardData||s.clipboardData;return 1===arguments.length?n&&n.getData("Text"):void(n&&n.setData("Text",t))},E=function(e,t){return!!t&&(t=o.isTextNode(t)?t.parentNode:t,o.isDocument(e)?e.body.contains(t):e.contains(t))},A=function(e){return i(e)},O=function(e){i=e};O(function(e){return e&&e.get(0)}),t.setPublicElementWrapper=O,t.resetActiveElement=g,t.createMarkupFromString=w,t.triggerShownEvent=v("dxshown"),t.triggerHidingEvent=v("dxhiding"),t.triggerResizeEvent=v("dxresize"),t.getElementOptions=x,t.createComponents=S,t.normalizeTemplateElement=C,t.clearSelection=_,t.uniqueId=y,t.closestCommonParent=m,t.clipboardText=T,t.toggleAttr=k,t.contains=E,t.getPublicElement=A},function(e,t,n){var i=n(2),r=n(6),o=r.getNavigator(),a=r.getWindow(),s=n(0).extend,l=n(1).isPlainObject,c=n(3).each,u=n(10),d=n(17),h=n(19),p=n(121),f=n(52),g=n(154).sessionStorage,_=n(73),m=n(29),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:!1,android:!1,ios:!1,win:!1,generic:!0,grade:"A",mac:!1},b={win:function(e){var t=/windows phone/i.test(e)||e.match(/WPDesktop/),n=!t&&/Windows(.*)arm(.*)Tablet PC/i.test(e),i=!t&&!n&&/msapphost/i.test(e);if(t||n||i){var r=e.match(/windows phone (\d+).(\d+)/i)||e.match(/windows nt (\d+).(\d+)/i),o=[];return r?o.push(parseInt(r[1],10),parseInt(r[2],10)):(r=e.match(/msapphost(\/(\d+).(\d+))?/i),r&&o.push(3===parseInt(r[2],10)?10:8)),{deviceType:t?"phone":n?"tablet":"desktop",platform:"win",version:o,grade:"A"}}},ios:function(e){if(/ip(hone|od|ad)/i.test(e)){var t=/ip(hone|od)/i.test(e),n=e.match(/os (\d+)_(\d+)_?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],r=480===a.screen.height,o=r?"B":"A";return{deviceType:t?"phone":"tablet",platform:"ios",version:i,grade:o}}},android:function(e){if(/android|htc_|silk/i.test(e)){var t=/mobile/i.test(e),n=e.match(/android (\d+)\.(\d+)\.?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],r=i.length>1&&(i[0]<4||4===i[0]&&i[1]<4),o=r?"B":"A";return{deviceType:t?"phone":"tablet",platform:"android",version:i,grade:o}}}},x=u.inherit({ctor:function(e){this._window=e&&e.window||a,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this.changed=h(),r.hasWindow()&&(this._recalculateOrientation(),p.add(this._recalculateOrientation.bind(this)))},current:function(e){if(e)return this._currentDevice=this._getDevice(e),this._forced=!0,void this.changed.fire();if(!this._currentDevice){e=void 0;try{e=this._getDeviceOrNameFromWindowScope()}catch(t){e=this._getDeviceNameFromSessionStorage()}finally{e||(e=this._getDeviceNameFromSessionStorage()),e&&(this._forced=!0)}this._currentDevice=this._getDevice(e)}return this._currentDevice},real:function(){return s({},this._realDevice)},orientation:function(){return this._currentOrientation},isForced:function(){return this._forced},isRippleEmulator:function(){return!!this._window.tinyHippos},_getCssClasses:function(e){var t=[],n=this._realDevice;return e=e||this.current(),e.deviceType&&(t.push("dx-device-"+e.deviceType),"desktop"!==e.deviceType&&t.push("dx-device-mobile")),t.push("dx-device-"+n.platform),n.version&&n.version.length&&t.push("dx-device-"+n.platform+"-"+n.version[0]),S.isSimulator()&&t.push("dx-simulator"),m().rtlEnabled&&t.push("dx-rtl"),t},attachCssClasses:function(e,t){this._deviceClasses=this._getCssClasses(t).join(" "),i(e).addClass(this._deviceClasses)},detachCssClasses:function(e){i(e).removeClass(this._deviceClasses)},isSimulator:function(){try{return this._isSimulator||r.hasWindow()&&this._window.top!==this._window.self&&this._window.top["dx-force-device"]||this.isRippleEmulator()}catch(e){return!1}},forceSimulator:function(){this._isSimulator=!0},_getDevice:function(e){if("genericPhone"===e&&(e={deviceType:"phone",platform:"generic",generic:!0}),l(e))return this._fromConfig(e);var t;if(e){if(t=v[e],!t)throw d.Error("E0005")}else t=o.userAgent;return this._fromUA(t)},_getDeviceOrNameFromWindowScope:function(){var e;return r.hasWindow()&&(this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"])&&(e=this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"]),e},_getDeviceNameFromSessionStorage:function(){var e=g();if(e){var t=e.getItem("dx-force-device");try{return JSON.parse(t)}catch(e){return t}}},_fromConfig:function(e){var t=s({},y,this._currentDevice,e),n={phone:"phone"===t.deviceType,tablet:"tablet"===t.deviceType,android:"android"===t.platform,ios:"ios"===t.platform,win:"win"===t.platform,generic:"generic"===t.platform};return s(t,n)},_fromUA:function(e){var t;if(c(b,function(n,i){return t=i(e),!t}),t)return this._fromConfig(t);var n=/(mac os)/.test(e.toLowerCase()),i=y;return i.mac=n,i},_changeOrientation:function(){var e=i(this._window),t=e.height()>e.width()?"portrait":"landscape";this._currentOrientation!==t&&(this._currentOrientation=t,this.fireEvent("orientationChanged",[{orientation:t}]))},_recalculateOrientation:function(){var e=i(this._window).width();this._currentWidth!==e&&(this._currentWidth=e,this._changeOrientation())}}).include(f),S=new x;_.changeCallback.add(function(e,t){S.detachCssClasses(t),S.attachCssClasses(e)}),S.isForced()||"win"!==S.current().platform||S.current({version:[10]}),e.exports=S},function(e,t,n){var i=n(2),r=n(55),o=n(0).extend,a=n(3).each,s=n(39).format,l=n(36).humanize,c=n(81);n(81);var u="-",d=o(!0,{},n(320)),h=n(321),p=function(e){var t=h[e];return t?"root"!==t&&t:e.substr(0,e.lastIndexOf(u))},f=function(e,t){return e[t]||{}},g=function(e,t,n){for(var i,r=f(e,t)[n];!r&&!i;)t=p(t),t?r=f(e,t)[n]:i=!0;return r},_={},m=r({_dictionary:d,load:function(e){o(!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,r,o){var a,s=t._localizablePrefix+o;return r!==i&&(a=t.format(o)),a||(_[o]=l(o)),n+(a||s)})},_messageLoaded:function(e,t){return void 0!==g(this._dictionary,t||c.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")||(a(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?_:o({},_,this.getMessagesByLocales()[c.locale()])},getFormatter:function(e){return this._getFormatterBase(e)||this._getFormatterBase(e,"en"); },_getFormatterBase:function(e,t){var n=g(this._dictionary,t||c.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){function i(e,t){for(var n,i=0,r=e.length,o=[];i<r;)n=t(e[i],i),null!==n&&o.push(n),i++;return o}function r(e,t){return i(t,function(t){return e[t]?e[t]:null})}function o(e,t,n,i){var r=i;return f(t,function(t,i){e[i]&&(e[i]-=n,r-=n)}),r}function a(e){return String(e).toLowerCase()}function s(e){e&&(e.originalTop=e.top,e.originalBottom=e.bottom,e.originalLeft=e.left,e.originalRight=e.right)}function l(e){return-w<e&&e<+w?e:0}function c(e){var t=l(I(e.x)),n=l(I(e.y)),i=l(D(e.width+e.x)),r=l(D(e.height+e.y)),o={x:t,y:n,width:i-t,height:r-n};return o.isEmpty=!(o.x||o.y||o.width||o.height),o}function u(e,t,n){var i=L(T(n*C).toFixed(3)),r=L(E(n*C).toFixed(3)),o=e.width/2,a=e.height/2,s=e.x+o,l=e.y+a,u=A(o*i)+A(a*r),d=A(o*r)+A(a*i),h=t[0]+(s-t[0])*i+(l-t[1])*r,p=t[1]-(s-t[0])*r+(l-t[1])*i;return c({x:h-u,y:p-d,width:2*u,height:2*d})}var d=n(4).noop,h=n(1),p=n(0).extend,f=n(3).each,g=n(33).adjust,_=h.isDefined,m=h.isNumeric,v=h.isExponential,y=Math,b=y.round,x=Math.sqrt,S=Math.PI,w=1e10,C=S/180,k=Math.LN10,T=Math.cos,E=Math.sin,A=Math.abs,O=Math.log,I=Math.floor,D=Math.ceil,M=Math.max,P=isNaN,L=Number,B=NaN,R=function(e,t){return e?Math.log(e)/Math.log(t):B},V=function(e){return g(R(e,10))},F=function(e,t){return Math.pow(t,e)},z=function(e){return(e%360+360)%360},N=function(e){return 90-e},H=function(e){return S*e/180},G=function(e){var t=H(e);return{cos:T(t),sin:E(t)}},W=1e-14,j=function(e,t,n,i){var r=n-e,o=i-t;return Math.sqrt(o*o+r*r)},U=function(e){var t,n=A(e);return P(n)?B:n>0?(n=O(n)/k,t=D(n),t-n<W?t:I(n)):0},Y=function(e,t,n){var i,r=M(U(e),U(t)),o=-U(A(t-e)/n);return P(r)||P(o)?null:(A(r)<=4?(i="fixedPoint",o<0&&(o=0),o>4&&(o=4)):(i="exponential",o+=r-1,o>3&&(o=3)),{type:i,precision:o})},$=function(e,t){if(t>20&&(t=20),m(e))return L(v(e)?e.toExponential(t):e.toFixed(t))},K=function(e){return e.toExponential().split("e")[1]};p(t,{decreaseGaps:function(e,t,n){var i;do i=r(e,t),i.push(y.ceil(n/i.length)),n=o(e,t,y.min.apply(null,i),n);while(n>0&&i.length>1);return n},normalizeEnum:a,parseScalar:function(e,t){return void 0!==e?e:t},enumParser:function(e){var t,n,i={};for(t=0,n=e.length;t<n;++t)i[a(e[t])]=1;return function(e,t){var n=a(e);return i[n]?n:t}},patchFontOptions:function(e){var t={};return f(e||{},function(e,n){/^(cursor|opacity)$/i.test(e)||(e="color"===e?"fill":"font-"+e),t[e]=n}),t},convertPolarToXY:function(e,t,n,i){var r,o=90;return n=_(n)?n+t-o:0,r=G(n),{x:b(e.x+i*r.cos),y:b(e.y+i*r.sin)}},convertXYToPolar:function(e,t,n){var i=j(e.x,e.y,t,n),r=y.atan2(n-e.y,t-e.x);return{phi:b(z(180*r/y.PI)),r:b(i)}},processSeriesTemplate:function(e,t){var n,r,o,a=h.isFunction(e.customizeSeries)?e.customizeSeries:d,s=e.nameField,l={},c=[],u=0;for(t=t||[],r=t.length;u<r;u++)o=t[u],s in o&&(n=l[o[s]],n||(n=l[o[s]]={name:o[s]},c.push(n.name)));return i(c,function(e){var t=l[e];return p(t,a.call(null,t.name))})},getCategoriesInfo:function(e,t,n){if(0===e.length)return{categories:[]};t=_(t)?t:e[0],n=_(n)?n:e[e.length-1];var r,o,a,s=i(e,function(e){return _(e)?e.valueOf():null}),l=s.indexOf(t.valueOf()),c=s.indexOf(n.valueOf()),u=!1;return l<0&&(l=0),c<0&&(c=e.length-1),c<l&&(o=c,c=l,l=o,u=!0),r=e.slice(l,c+1),a=r.length-1,{categories:r,start:r[u?a:0],end:r[u?0:a],inverted:u}},setCanvasValues:s,updatePanesCanvases:function(e,t,n){var i=0;f(e,function(e,t){t.weight=t.weight||1,i+=t.weight});var r=0,o=e.padding||10,a=n?t.width-t.left-t.right:t.height-t.top-t.bottom,l=(a-o*(e.length-1))/i,c=n?"left":"top",u=n?"right":"bottom";f(e,function(e,n){var i=b(n.weight*l);n.canvas=n.canvas||{},p(n.canvas,t),n.canvas[c]=t[c]+r,n.canvas[u]=t[u]+(a-i-r),r=r+i+o,s(n.canvas)})},unique:function(e){var t={};return i(e,function(e){var n=t[e]?null:e;return t[e]=!0,n})},map:i,getVerticallyShiftedAngularCoords:function(e,t,n){var i=e.x+e.width/2>=n.x,r=(i?e.x:e.x+e.width)-n.x,o=e.y-n.y,a=o+t,s=b(x(r*r+o*o-a*a)),l=(i?+s:-s)||r;return{x:n.x+(i?l:l-e.width),y:e.y+t}},mergeMarginOptions:function(e,t){return{checkInterval:e.checkInterval||t.checkInterval,size:Math.max(e.size||0,t.size||0),percentStick:e.percentStick||t.percentStick,sizePointNormalState:Math.max(e.sizePointNormalState||0,t.sizePointNormalState||0)}}}),t.getLog=R,t.getAdjustedLog10=V,t.raiseTo=F,t.normalizeAngle=z,t.convertAngleToRendererSpace=N,t.degreesToRadians=H,t.getCosAndSin=G,t.getDecimalOrder=U,t.getAppropriateFormat=Y,t.getDistance=j,t.roundValue=$,t.getPower=K,t.rotateBBox=u,t.normalizeBBox=c},function(e,t,n){var i=n(101);e.exports=i({E0001:"Method is not implemented",E0002:"Member name collision: {0}",E0003:"A class must be instantiated using the 'new' keyword",E0004:"The NAME property of the component is not specified",E0005:"Unknown device",E0006:"Unknown endpoint key is requested",E0007:"'Invalidate' method is called outside the update transaction",E0008:"Type of the option name is not appropriate to create an action",E0009:"Component '{0}' has not been initialized for an element",E0010:"Animation configuration with the '{0}' type requires '{1}' configuration as {2}",E0011:"Unknown animation type '{0}'",E0012:"jQuery version is too old. Please upgrade jQuery to 1.10.0 or later",E0013:"KnockoutJS version is too old. Please upgrade KnockoutJS to 2.3.0 or later",E0014:"The 'release' method shouldn't be called for an unlocked Lock object",E0015:"Queued task returned an unexpected result",E0017:"Event namespace is not defined",E0018:"DevExpress.ui.DevExpressPopup widget is required",E0020:"Template engine '{0}' is not supported",E0021:"Unknown theme is set: {0}",E0022:"LINK[rel=DevExpress-theme] tags must go before DevExpress included scripts",E0023:"Template name is not specified",E0024:"DevExtreme bundle already included",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.",E4016:"The compileSetter(expr) method is called with 'self' passed as a parameter",W0000:"'{0}' is deprecated in {1}. {2}",W0001:"{0} - '{1}' option is deprecated in {2}. {3}",W0002:"{0} - '{1}' method is deprecated in {2}. {3}",W0003:"{0} - '{1}' property is deprecated in {2}. {3}",W0004:"Timeout for theme loading is over: {0}",W0005:"'{0}' event is deprecated in {1}. {2}",W0006:"Invalid recurrence rule: '{0}'",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){var i=n(2),r=n(5),o=n(14),a=n(12),s=n(13),l=n(105),c=n(9),u=n(25),d=n(108),h=n(84),p=n(59).compare,f="dxclick",g=10,_=Math.abs,m=function(e){return i(e).is("input, textarea, select, button ,:focus, :focus *")},v={requestAnimationFrame:l.requestAnimationFrame,cancelAnimationFrame:l.cancelAnimationFrame},y=d.inherit({ctor:function(e){this.callBase(e),this._makeElementClickable(i(e))},_makeElementClickable:function(e){e.attr("onclick")||e.attr("onclick","void(0)")},start:function(e){this._blurPrevented=e.isDefaultPrevented(),this._startTarget=e.target,this._startEventData=c.eventData(e)},end:function(e){return this._eventOutOfElement(e,this.getElement().get(0))||e.type===u.cancel?void this._cancel(e):(m(e.target)||this._blurPrevented||s.resetActiveElement(),this._accept(e),void(this._clickAnimationFrame=v.requestAnimationFrame(function(){this._fireClickEvent(e)}.bind(this))))},_eventOutOfElement:function(e,t){var n=e.target,i=!s.contains(t,n)&&t!==n,r=c.eventDelta(c.eventData(e),this._startEventData),o=_(r.x)>g||_(r.y)>g;return i||o},_fireClickEvent:function(e){this._fireEvent(f,e,{target:s.closestCommonParent(this._startTarget,e.target)})},dispose:function(){v.cancelAnimationFrame(this._clickAnimationFrame)}});!function(){var e="dx-native-click",t=o.real(),n=t.generic||t.ios&&p(t.version,[9,3])>=0||t.android&&p(t.version,[5])>=0,a=function(t){return n||i(t).closest("."+e).length},s=null,l=null,u=function(e){var t=e.originalEvent,n=l!==t,i=!e.which||1===e.which;i&&!s&&a(e.target)&&n&&(l=t,c.fireEvent({type:f,originalEvent:e}))};y=y.inherit({_makeElementClickable:function(e){a(e)||this.callBase(e),r.on(e,"click",u)},configure:function(t){this.callBase(t),t.useNative&&this.getElement().addClass(e)},start:function(e){s=null,a(e.target)||this.callBase(e)},end:function(e){a(e.target)||this.callBase(e)},cancel:function(){s=!0},dispose:function(){this.callBase(),r.off(this.getElement(),"click",u)}})}(),function(){var e=o.real().generic;if(!e){var t=null,n=!1,l=function(e){t=e.target,n=e.isDefaultPrevented()},d=function(e){var r=i(e.target);n||!t||r.is(t)||i(t).is("label")||!m(r)||s.resetActiveElement(),t=null,n=!1},h="NATIVE_CLICK_FIXER",p=a.getDocument();r.subscribeGlobal(p,c.addNamespace(u.down,h),l),r.subscribeGlobal(p,c.addNamespace("click",h),d)}}(),h({emitter:y,bubble:!0,events:[f]}),t.name=f},function(e,t,n){var i=function(e){this._options=e||{},this._list=[],this._queue=[],this._firing=!1,this._fired=!1,this._firingIndexes=[]};i.prototype._fireCore=function(e,t){var n=this._firingIndexes,i=this._list,r=this._options.stopOnFalse,o=n.length;for(n[o]=0;n[o]<i.length;n[o]++){var a=i[n[o]].apply(e,t);if(a===!1&&r)break}n.pop()},i.prototype.add=function(e){return"function"!=typeof e||this._options.unique&&this.has(e)||this._list.push(e),this},i.prototype.remove=function(e){var t=this._list,n=this._firingIndexes,i=t.indexOf(e);if(i>-1&&(t.splice(i,1),this._firing&&n.length))for(var r=0;r<n.length;r++)i<=n[r]&&n[r]--;return this},i.prototype.has=function(e){var t=this._list;return e?t.indexOf(e)>-1:!!t.length},i.prototype.empty=function(e){return this._list=[],this},i.prototype.fireWith=function(e,t){var n=this._queue;if(t=t||[],t=t.slice?t.slice():t,this._options.syncStrategy)this._firing=!0,this._fireCore(e,t);else{if(n.push([e,t]),this._firing)return;for(this._firing=!0;n.length;){var i=n.shift();this._fireCore(i[0],i[1])}}return this._firing=!1,this._fired=!0,this},i.prototype.fire=function(){this.fireWith(this,arguments)},i.prototype.fired=function(){return this._fired};var r=function(e){return new i(e)};e.exports=r},function(e,t,n){function i(){if(!O.hasWindow())return null;var e,t=E("<div>",y).addClass("dx-theme-marker").appendTo(y.documentElement);try{return(e=t.css("fontFamily"))?(e=e.replace(/["']/g,""),e.substr(0,Y.length)!==Y?null:e.substr(Y.length)):null}finally{t.remove()}}function r(e){function t(){w=null,z.fire(),z.empty()}var n;w=e,o()?t():(n=Date.now(),k=setInterval(function(){var e=o(),i=!e&&Date.now()-n>15e3;i&&M.log("W0004",w),(e||i)&&(clearInterval(k),k=void 0,t())},10))}function o(){return!w||i()===w}function a(){var e=E(G,y);e.length&&(x={},b=E(P.createMarkupFromString("<link rel=stylesheet>"),y),e.each(function(){var e=E(this,y),t=e.attr(W),n=e.attr("href"),i="true"===e.attr(j);x[t]={url:n,isActive:i}}),e.last().after(b),e.remove())}function s(e){var t=e.split("."),n=null;if(x){if(e in x)return e;R(x,function(e,i){var r=e.split(".");if(r[0]===t[0]&&!(t[1]&&t[1]!==r[1]||t[2]&&t[2]!==r[2]))return n&&!i.isActive||(n=e),!i.isActive&&void 0})}return n}function l(e){try{e!==y&&(x=null)}catch(e){x=null}y=e}function c(e){e=e||{},l(e.context||A.getDocument()),y&&(a(),S=void 0,C=void 0,u(e))}function u(e){if(!arguments.length)return S=S||i();f(N()),e=e||{},"string"==typeof e&&(e={theme:e});var t,n=e._autoInit,o=e.loadCallback;if(S=e.theme||S,n&&!S&&(S=d(V.current())),S=s(S),S&&(t=x[S]),o&&z.add(o),t)b.attr("href",x[S].url),!z.has()&&!e._forceTimeout||k?w&&(w=S):r(S);else{if(!n)throw M.Error("E0021",S);z.fire(),z.empty()}C=/material/.test(S||i()),m(),p(F.originalViewPort(),S)}function d(e){var t=e.platform,n=e.version&&e.version[0];switch(t){case"ios":t+="7";break;case"android":t+="5";break;case"win":t+=n&&8===n?"8":"10"}return t}function h(e){e=e||u();var t=[],n=e&&e.split(".");return n&&(t.push("dx-theme-"+n[0],"dx-theme-"+n[0]+"-typography"),n.length>1&&t.push("dx-color-scheme-"+n[1]+(_()?"-"+n[2]:""))),t}function p(e,t){T=h(t).join(" "),E(e).addClass(T);var n=function(){var t=O.hasWindow()&&I.devicePixelRatio;if(t&&!(t<2)){var n=E("<div>");n.css("border",".5px solid transparent"),E("body").append(n),1===n.outerHeight()&&(E(e).addClass(U),T+=" "+U),n.remove()}};n()}function f(e){E(e).removeClass(T)}function g(e){z.add(e)}function _(){return C}function m(){var e=S||i();/win8/.test(e)&&M.log("W0010","The 'win8' theme","16.1","Use the 'generic' theme instead."),/win10/.test(e)&&M.log("W0010","The 'win10' theme","17.2","Use the 'generic' theme instead."),/android/.test(e)&&M.log("W0010","The 'android5' theme","18.1","Use the 'material' theme instead.")}function v(){if(c({_autoInit:!0,_forceTimeout:!0}),E(G,y).length)throw M.Error("E0022");$.resolve()}var y,b,x,S,w,C,k,T,E=n(2),A=n(12),O=n(6),I=O.getWindow(),D=n(7).Deferred,M=n(21),P=n(13),L=n(50),B=L.add,R=n(3).each,V=n(14),F=n(73),z=n(231),N=F.value,H=F.changeCallback,G="link[rel=dx-theme]",W="data-theme",j="data-active",U="dx-hairlines",Y="dx.",$=new D;O.hasWindow()?v():B(v),H.add(function(e,t){$.done(function(){f(t),p(e)})}),V.changed.add(function(){c({_autoInit:!0})}),t.current=u,t.ready=g,t.init=c,t.attachCssClasses=p,t.detachCssClasses=f,t.themeNameFromDevice=d,t.waitForThemeLoad=r,t.isMaterial=_,t.resetTheme=function(){b&&b.attr("href","about:blank"),S=null,w=null,C=!1}},function(e,t,n){var i=n(101),r=n(17);e.exports=i(r.ERROR_MESSAGES,{E1001:"Module '{0}'. Controller '{1}' is already registered",E1002:"Module '{0}'. Controller '{1}' does not inherit from DevExpress.ui.dxDataGrid.Controller",E1003:"Module '{0}'. View '{1}' is already registered",E1004:"Module '{0}'. View '{1}' does not inherit from DevExpress.ui.dxDataGrid.View",E1005:"Public method '{0}' is already registered",E1006:"Public method '{0}.{1}' does not exist",E1007:"State storing cannot be provided due to the restrictions of the browser",E1010:"The template does not contain the TextBox widget",E1011:'Items cannot be deleted from the List. Implement the "remove" function in the data store',E1012:"Editing type '{0}' with the name '{1}' is unsupported",E1016:"Unexpected type of data source is provided for a lookup column",E1018:"The 'collapseAll' method cannot be called if you use a remote data source",E1019:"Search mode '{0}' is unavailable",E1020:"The type cannot be changed after initialization",E1021:"{0} '{1}' you are trying to remove does not exist",E1022:'The "markers" option is given an invalid value. Assign an array instead',E1023:'The "routes" option is given an invalid value. Assign an array instead',E1025:"This layout is too complex to render",E1026:'The "calculateCustomSummary" function is missing from a field whose "summaryType" option is set to "custom"',E1030:"Unknown ScrollView refresh strategy: '{0}'",E1031:"Unknown subscription in the Scheduler widget: '{0}'",E1032:"Unknown start date in an appointment: '{0}'",E1033:"Unknown step in the date navigator: '{0}'",E1034:"The browser does not implement an API for saving files",E1035:"The editor cannot be created because of an internal error: {0}",E1036:"Validation rules are not defined for any form item",E1037:"Invalid structure of grouped data",E1038:"The browser does not support local storages for local web pages",E1039:"A cell's position cannot be calculated",E1040:"The '{0}' key value is not unique within the data array",E1041:"The JSZip script is referenced after the DevExtreme scripts or not referenced at all",E1042:'Deferred selection cannot be performed. Set the "key" field for the data store',E1043:"Changes cannot be processed due to the incorrectly set key",E1044:"The key field specified by the keyExpr option does not match the key field specified in the data store",E1045:"Editing requires the key field to be specified in the data store",E1046:"The '{0}' key field is not found in data objects",E1047:'The "{0}" field is not found in the fields array',E1048:'The "{0}" operation is not found in the filterOperations array',W1001:'The "key" option cannot be modified after initialization',W1002:"An item with the key '{0}' does not exist",W1003:"A group with the key '{0}' in which you are trying to select items does not exist",W1004:"The item '{0}' you are trying to select in the group '{1}' does not exist",W1005:"Due to column data types being unspecified, data has been loaded twice in order to apply initial filter settings. To resolve this issue, specify data types for all grid columns.",W1006:"The map service returned the '{0}' error",W1007:"No item with key {0} was found in the data source, but this key was used as the parent key for item {1}",W1008:"Cannot scroll to the '{0}' date because it does not exist on the current view",W1009:"Searching works only if data is specified using the dataSource option",W1