UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

10 lines • 1.34 MB
/*! * DevExtreme (dx.mobile.js) * Version: 18.2.18 * Build date: Tue Oct 18 2022 * * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict";!function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=825)}([function(t,e,i){var n=i(1).isPlainObject,o=function(t,e,i){t=t||{};for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];n in t&&!i||(t[n]=o)}return t},a=function t(e){e=e||{};var i=1,o=!1;for("boolean"==typeof e&&(o=e,e=arguments[1]||{},i++);i<arguments.length;i++){var a=arguments[i];if(null!=a)for(var r in a){var s,l=e[r],c=a[r],u=!1;"__proto__"!==r&&e!==c&&(o&&c&&(n(c)||(u=Array.isArray(c)))?(s=u?l&&Array.isArray(l)?l:[]:l&&n(l)?l:{},e[r]=t(o,s,c)):void 0!==c&&(e[r]=c))}}return e};e.extend=a,e.extendFromObject=o},function(t,e,i){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object String]":"string","[object Null]":"null"},a=function(t){var e=Object.prototype.toString.call(t);return"object"===("undefined"==typeof t?"undefined":n(t))?o[e]||"object":"undefined"==typeof t?"undefined":n(t)},r=function(t){return"boolean"==typeof t},s=function(t){return h(t)&&t.toString().indexOf("e")!==-1},l=function(t){return"date"===a(t)},c=function(t){return null!==t&&void 0!==t},u=function(t){return"function"==typeof t},d=function(t){return"string"==typeof t},h=function(t){return"number"==typeof t&&isFinite(t)||!isNaN(t-parseFloat(t))},p=function(t){return"object"===a(t)},f=function(t){var e;for(e in t)return!1;return!0},_=function(t){if(!t||"[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t),i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return"function"==typeof i&&Object.toString.call(i)===Object.toString.call(Object)},m=function(t){return["object","array","function"].indexOf(a(t))===-1},g=function(t){return null!=t&&t===t.window},v=function(t){return!(!t.jquery&&!t.dxRenderer)},y=function(t){return t&&u(t.then)},b=function(t){return t&&u(t.done)&&u(t.fail)};e.isBoolean=r,e.isExponential=s,e.isDate=l,e.isDefined=c,e.isFunction=u,e.isString=d,e.isNumeric=h,e.isObject=p,e.isEmptyObject=f,e.isPlainObject=_,e.isPrimitive=m,e.isWindow=g,e.isRenderer=v,e.isPromise=y,e.isDeferred=b,e.type=a},function(t,e,i){var n=i(224);t.exports=n.get()},function(t,e,i){var n=function(t,e){if(Array.isArray(t))return t.map(e);var i=[];for(var n in t)i.push(e(t[n],n));return i},o=function(t,e){if(t){if("length"in t)for(var i=0;i<t.length&&e.call(t[i],i,t[i])!==!1;i++);else for(var n in t)if(e.call(t[n],n,t[n])===!1)break;return t}},a=function(t,e){if(t&&"length"in t&&0!==t.length)for(var i=t.length-1;i>=0&&e.call(t[i],i,t[i])!==!1;i--);};e.map=n,e.each=o,e.reverseEach=a},function(t,e,i){function n(t){return t&&t.__esModule?t:{"default":t}}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=i(23),r=n(a),s=i(40),l=n(s),c=i(7),u=i(3),d=i(22),h=i(1),p=function(t,e){return(0,h.isDefined)(t)?t:e},f=function(t,e){var i=new c.Deferred,n=e||this,o=void 0,a={promise:i.promise(),abort:function(){clearTimeout(o),i.rejectWith(n)}},r=function(){var e=t.call(n);e&&e.done&&(0,h.isFunction)(e.done)?e.done(function(){i.resolveWith(n)}):i.resolveWith(n)};return o=(arguments[2]||setTimeout)(r,"number"==typeof e?e:0),a},_=[],m=[],g=[],v=void 0,y=function(t,e,i){if(v&&v!==t)return _.push(e),m.push(t),i=i||new c.Deferred,g.push(i),i;var n=v,o=g.length;v=t;var a=e();return a||(g.length>o?a=c.when.apply(this,g.slice(o)):i&&i.resolve()),v=n,i&&a&&a.done&&a.done(i.resolve).fail(i.reject),!v&&_.length&&("render"===m.shift()?b:C)(_.shift(),g.shift()),a||(0,c.when)()},b=function(t,e){return y("render",t,e)},C=function(t,e){return y("update",t,e)},x=function(t){return function(){var e=this;return y("render",function(){return t.call(e)})}},w=function(t){return function(){var e=this;return y("update",function(){return t.call(e)})}},S=function(t,e,i){var n=[],o=0;return(0,u.each)(e,function(e,a){var r=0,s=i?i(a):a;(0,u.each)(t,function(t,e){var i=s[t];if(void 0!==i)return I(i,e)?void r++:(r=-1,!1)}),r<o||(r>o&&(n.length=0,o=r),n.push(a))}),n},I=function(t,e){if(Array.isArray(t)&&Array.isArray(e)){var i=!1;return(0,u.each)(t,function(t,n){if(n!==e[t])return i=!0,!1}),!i}return t===e},T=function(t){switch("undefined"==typeof t?"undefined":o(t)){case"string":return t.split(/\s+/,2);case"object":return[t.x||t.h,t.y||t.v];case"number":return[t];default:return t}},k=function(t){var e=(0,h.isString)(t)?t:t.toString(),i=e.match(/[^a-zA-Z0-9_]/g);return i&&(0,u.each)(i,function(t,i){e=e.replace(i,"__"+i.charCodeAt()+"__")}),e},D=function(t){var e=t.match(/__\d+__/g);return e&&e.forEach(function(e){var i=parseInt(e.replace("__",""));t=t.replace(e,String.fromCharCode(i))}),t},E=function(t,e,i){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!O(t[n],e[n],i+1))return!1;return!0},B=function(t,e,i){for(var n in t)if(t.hasOwnProperty(n)&&!O(t[n],e[n],i+1))return!1;for(var o in e)if(!(o in t))return!1;return!0},M=function(t,e){var i=T(t),n=e?parseFloat(i&&i[0]):parseInt(i&&i[0],10),o=e?parseFloat(i&&i[1]):parseInt(i&&i[1],10);return isFinite(n)||(n=0),isFinite(o)||(o=n),{h:n,v:o}},A=3,O=function(t,e,i){return i=i||0,t=(0,d.toComparable)(t,!0),e=(0,d.toComparable)(e,!0),t===e||i>=A||((0,h.isObject)(t)&&(0,h.isObject)(e)?B(t,e,i):!(!Array.isArray(t)||!Array.isArray(e))&&E(t,e,i))},P=function(t){if(t instanceof l.default)return t.toString();if((0,h.isObject)(t)||Array.isArray(t))try{var e=JSON.stringify(t);return"{}"===e?t:e}catch(e){return t}return t},$=function(t){return t.replace(/[[\]{}\-()*+?.\\^$|\s]/g,"\\$&")},R=function(t){var e=(0,r.default)().serverDecimalSeparator;return(0,h.isDefined)(t)&&(t=t.toString().replace(".",e)),t},H=function(){},F=function(){return(new c.Deferred).resolve().promise()},V=function(t,e,i){for(var n=[],o=void 0,a=!i,r=0;r<t.length;r++)o=!!e(t[r],r),o===a&&n.push(t[r]);return n};e.ensureDefined=p,e.executeAsync=f,e.deferRender=b,e.deferRenderer=x,e.deferUpdate=C,e.deferUpdater=w,e.pairToObject=M,e.splitPair=T,e.findBestMatches=S,e.normalizeKey=k,e.denormalizeKey=D,e.equalByValue=O,e.getKeyHash=P,e.escapeRegExp=$,e.applyServerDecimalSeparator=R,e.noop=H,e.asyncNoop=F,e.grep=V},function(t,e,i){var n,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=i(112),r=i(0).extend,s=i(13),l=i(6),c=l.getWindow(),u=i(55),d=i(1),h=i(19),p=d.isWindow,f=d.isFunction,_=d.isString,m=i(18),g=i(175),v=i(225),y=i(61),b="dxEmptyEventType",C={mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},x={focusin:"focus",focusout:"blur"},w=["blur","focusout","focus","focusin","load"],S=["touchmove","wheel","mousewheel"],I=function(t,e){return!p(t)&&"#document"!==t.nodeName&&s.elementMatches(t,e)},T=new g,k=0,D=function(){var t={};return a.add(function(e,i){t[e]=i}),{getField:function(e,i){return t[e]&&t[e][i]},callMethod:function(e,i,n,o){return t[e]&&t[e][i]&&t[e][i].apply(n,o)}}}(),E=function t(e,i){var n=e[0];if(n)if(s.isNode(n)||p(n))i.apply(z,e);else{if(_(n)||!("length"in n))throw m.Error("E0025");var o=Array.prototype.slice.call(e,0);Array.prototype.forEach.call(n,function(e){o[0]=e,t(o,i)})}},B=function(t){return function(){E(arguments,t)}},M=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!0}});c.addEventListener("test",null,e)}catch(t){}return t},A=y(M),O=function(t,e){var i=T.get(t);e=e||"";var o=e.split("."),a=o.slice(1),r=!!o[0];e=o[0]||b,i||(i={},T.set(t,i)),i[e]||(i[e]={handleObjects:[],nativeHandler:null});var l=i[e];return{addHandler:function(i,o,c){var u=function(n,o){var a,r,s=[n],l=n.currentTarget,u=n.relatedTarget;e in C&&(a=u&&l&&(u===l||l.contains(u))),void 0!==o&&s.push(o),D.callMethod(e,"handle",t,[n,c]),a||(r=i.apply(l,s)),r===!1&&(n.preventDefault(),n.stopPropagation())},d=function(e,i){if(!n||e.type!==n)if(e.data=c,e.delegateTarget=t,o)for(var a=e.target;a&&a!==t;)I(a,o)&&(e.currentTarget=a,u(e,i)),a=a.parentNode;else u(e,i)},h={handler:i,wrappedHandler:d,selector:o,type:e,data:c,namespace:a.join("."),namespaces:a,guid:++k};l.handleObjects.push(h);var p,f=1===l.handleObjects.length,_=f&&r;_&&(_=!D.callMethod(e,"setup",t,[c,a,i])),_&&(l.nativeHandler=P(e),A()&&S.indexOf(e)>-1&&(p={passive:!1}),l.removeListener=s.listen(t,C[e]||e,l.nativeHandler,p)),D.callMethod(e,"add",t,[h])},removeHandler:function(n,o){var s=function(e){var r=i[e];if(!r.handleObjects.length)return void delete i[e];var s;r.handleObjects=r.handleObjects.filter(function(i){var r=a.length&&!$(i.namespaces,a)||n&&i.handler!==n||o&&i.selector!==o;return r||(s=i.handler,D.callMethod(e,"remove",t,[i])),r});var l=!r.handleObjects.length,c=l&&e!==b;c&&(D.callMethod(e,"teardown",t,[a,s]),r.nativeHandler&&r.removeListener(),delete i[e])};if(r)s(e);else for(var l in i)s(l);var c=0===Object.keys(i).length;c&&T.delete(t)},callHandlers:function(t,e){var n=!1,o=function(i){n||a.length&&!$(i.namespaces,a)||(i.wrappedHandler(t,e),n=t.isImmediatePropagationStopped())};l.handleObjects.forEach(o),a.length&&i[b]&&i[b].handleObjects.forEach(o)}}},P=function(t){return function(e,i){var n=O(this,t);e=z.Event(e),n.callHandlers(e,i)}},$=function(t,e){for(var i=0;i<e.length;i++)if(t.indexOf(e[i])<0)return!1;return!0},R=function(t){return function(e,i,n,o,a){a||(a=o,o=void 0),"string"!=typeof n&&(o=n,n=void 0),a||"string"!=typeof i||(a=o||n,n=void 0,o=void 0),t(e,i,n,o,a)}},H=function(t){return function(e,i,n,o){"function"==typeof n&&(o=n,n=void 0),t(e,i,n,o)}},F=function(t){return function(e,i,n){"string"==typeof i&&(i={type:i}),i.target||(i.target=e),i.currentTarget=e,i.delegateTarget||(i.delegateTarget=e),!i.type&&i.originalEvent&&(i.type=i.originalEvent.type),t(e,i instanceof z.Event?i:z.Event(i),n)}},V=function(t){return function(e,i){return this instanceof z.Event?(e||(e={}),"string"==typeof e&&(e={type:e}),i||(i={}),void t.call(this,e,i)):new z.Event(e,i)}},L=function(t){var e=function(e,i){if(i&&i.indexOf(" ")>-1){var n=Array.prototype.slice.call(arguments,0);i.split(" ").forEach(function(e){n[1]=e,t.apply(this,n)})}else t.apply(this,arguments)};return function(t,i){if("object"===("undefined"==typeof i?"undefined":o(i))){var n=Array.prototype.slice.call(arguments,0);for(var a in i)n[1]=a,n[n.length-1]=i[a],e.apply(this,n)}else e.apply(this,arguments)}},N=function(t,e){var i=x[t]||t,o=function(t,e){return"click"===t&&"a"===e.localName};o(t,e)||f(e[i])&&(n=t,e[i](),n=void 0)},W=function(t){var e=function(t){var e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;return!t.which&&void 0!==t.button&&e.test(t.type)},i=function(t){return null==t.which&&0===t.type.indexOf("key")};if(i(t))return null!=t.charCode?t.charCode:t.keyCode;if(e(t)){var n={1:1,2:3,3:1,4:2};return n[t.button]}return t.which},z=u({on:B(R(L(function(t,e,i,n,o){var a=O(t,e);a.addHandler(o,i,n)}))),one:B(R(function(t,e,i,n,o){var a=function n(){z.off(t,e,i,n),o.apply(this,arguments)};z.on(t,e,i,n,a)})),off:B(H(L(function(t,e,i,n){var o=O(t,e);o.removeHandler(n,i)}))),trigger:B(F(function(t,e,i){var n=e.type,o=O(t,e.type);D.callMethod(n,"trigger",t,[e,i]),o.callHandlers(e,i);var a=D.getField(n,"noBubble")||e.isPropagationStopped()||w.indexOf(n)!==-1;if(!a){var s=[],l=function t(e){var i=e.parentNode;i&&(s.push(i),t(i))};l(t),s.push(c);for(var u=0;s[u]&&!e.isPropagationStopped();){var d=O(s[u],e.type);d.callHandlers(r(e,{currentTarget:s[u]}),i),u++}}(t.nodeType||p(t))&&(D.callMethod(n,"_default",t,[e,i]),N(n,t))})),triggerHandler:B(F(function(t,e,i){var n=O(t,e.type);n.callHandlers(e,i)}))}),j=function(t){t&&(z.Event=t,z.Event.prototype=t.prototype)};j(V(function(t,e){var i=this,n=!1,o=!1,a=!1;r(i,t),(t instanceof z.Event||l.hasWindow()&&t instanceof c.Event)&&(i.originalEvent=t,i.currentTarget=void 0),t instanceof z.Event||r(i,{isPropagationStopped:function(){return!!(n||i.originalEvent&&i.originalEvent.propagationStopped)},stopPropagation:function(){n=!0,i.originalEvent&&i.originalEvent.stopPropagation()},isImmediatePropagationStopped:function(){return o},stopImmediatePropagation:function(){this.stopPropagation(),o=!0,i.originalEvent&&i.originalEvent.stopImmediatePropagation()},isDefaultPrevented:function(){return!!(a||i.originalEvent&&i.originalEvent.defaultPrevented)},preventDefault:function(){a=!0,i.originalEvent&&i.originalEvent.preventDefault()}}),K("which",W,i),0===t.type.indexOf("touch")&&(delete e.pageX,delete e.pageY),r(i,e),i.guid=++k}));var K=function(t,e,i){Object.defineProperty(i||z.Event.prototype,t,{enumerable:!0,configurable:!0,get:function(){return this.originalEvent&&e(this.originalEvent)},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})};v(K);var G=h(),q=h();z.set=function(t){G.fire(),z.inject(t),j(t.Event),q.fire()},z.subscribeGlobal=function(){E(arguments,R(function(){var t=arguments;z.on.apply(this,t),G.add(function(){var e=Array.prototype.slice.call(t,0);e.splice(3,1),z.off.apply(this,e)}),q.add(function(){z.on.apply(this,t)})}))},z.forcePassiveFalseEventNames=S,z.passiveEventHandlersSupported=A,t.exports=z},function(t,e,i){var n=i(13),o="undefined"!=typeof window,a=o&&window;a||(a={},a.window=a),t.exports={hasWindow:function(){return o},getWindow:function(){return a},hasProperty:function(t){return this.hasWindow()&&t in a},defaultScreenFactorFunc:function(t){return t<768?"xs":t<992?"sm":t<1200?"md":"lg"},getCurrentScreenFactor:function(t){var e=t||this.defaultScreenFactorFunc,i=n.getDocumentElement().clientWidth;return e(i)},getNavigator:function(){return this.hasWindow()?a.navigator:{userAgent:""}}}},function(t,e,i){var n=i(1),o=n.isPromise,a=n.isDeferred,r=i(0).extend,s=i(19),l=[{method:"resolve",handler:"done",state:"resolved"},{method:"reject",handler:"fail",state:"rejected"},{method:"notify",handler:"progress"}],c=function(){var t=this;this._state="pending",this._promise={},l.forEach(function(e){var i=e.method;this[i+"Callbacks"]=new s,this[i]=function(){return this[i+"With"](this._promise,arguments)}.bind(this),this._promise[e.handler]=function(e){if(!e)return this;var n=t[i+"Callbacks"];return n.fired()?e.apply(t[i+"Context"],t[i+"Args"]):n.add(function(t,i){e.apply(t,i)}.bind(this)),this}}.bind(this)),this._promise.always=function(t){return this.done(t).fail(t)},this._promise.catch=function(t){return this.then(null,t)},this._promise.then=function(t,e){var i=new c;return["done","fail"].forEach(function(n){var r="done"===n?t:e;this[n](function(){if(!r)return void i["done"===n?"resolve":"reject"].apply(this,arguments);var t=r&&r.apply(this,arguments);a(t)?t.done(i.resolve).fail(i.reject):o(t)?t.then(i.resolve,i.reject):i.resolve.apply(this,t?[t]:arguments)})}.bind(this)),i.promise()},this._promise.state=function(){return t._state},this._promise.promise=function(e){return e?r(e,t._promise):t._promise},this._promise.promise(this)};l.forEach(function(t){var e=t.method,i=t.state;c.prototype[e+"With"]=function(t,n){var o=this[e+"Callbacks"];return"pending"===this.state()&&(this[e+"Args"]=n,this[e+"Context"]=t,i&&(this._state=i),o.fire(t,n)),this}}),e.fromPromise=function(t,e){if(a(t))return t;if(o(t)){var i=new c;return t.then(function(){i.resolveWith.apply(i,[e].concat([[].slice.call(arguments)]))},function(){i.rejectWith.apply(i,[e].concat([[].slice.call(arguments)]))}),i}return(new c).resolveWith(e,[t])};var u=function(){if(1===arguments.length)return e.fromPromise(arguments[0]);for(var t=[].slice.call(arguments),i=[],n=0,o=new c,r=function(e){return function(a){i[e]=this,t[e]=arguments.length>1?[].slice.call(arguments):a,n++,n===t.length&&o.resolveWith(i,t)}},s=0;s<t.length;s++)a(t[s])?t[s].promise().done(r(s)).fail(o.reject):n++;return n===t.length&&o.resolveWith(i,t),o.promise()};e.setStrategy=function(t){c=t.Deferred,u=t.when},e.Deferred=function(){return new c},e.when=function(){return u.apply(this,arguments)}},function(t,e,i){var n=i(2),o=i(141),a=i(18),r=i(103),s=function(t,e,i){i?e[t]=i:i=e,r.name(i,t),o.fire(t,i)},l=function(t,e){n.fn[t]=function(i){var n,o="string"==typeof i;if(o){var r=i,s=[].slice.call(arguments).slice(1);this.each(function(){var i=e.getInstance(this);if(!i)throw a.Error("E0009",t);var o=i[r],l=o.apply(i,s);void 0===n&&(n=l)})}else this.each(function(){var t=e.getInstance(this);t?t.option(i):new e(this,i)}),n=this;return n}};o.add(l),t.exports=s},function(t,e,i){function n(t){return t&&t.__esModule?t:{"default":t}}var o=i(2),a=n(o),r=i(5),s=n(r),l=i(18),c=n(l),u=i(63),d=i(0),h=i(3),p={backspace:"backspace",tab:"tab",enter:"enter",escape:"escape",pageup:"pageUp",pagedown:"pageDown",end:"end",home:"home",arrowleft:"leftArrow",arrowup:"upArrow",arrowright:"rightArrow",arrowdown:"downArrow","delete":"del"," ":"space",f:"F",a:"A","*":"asterisk","-":"minus",alt:"alt",control:"control",shift:"shift",left:"leftArrow",up:"upArrow",right:"rightArrow",down:"downArrow",multiply:"asterisk",spacebar:"space",del:"del",subtract:"minus",esc:"escape"},f={8:"backspace",9:"tab",13:"enter",27:"escape",33:"pageUp",34:"pageDown",35:"end",36:"home",37:"leftArrow",38:"upArrow",39:"rightArrow",40:"downArrow",46:"del",32:"space",70:"F",65:"A",106:"asterisk",109:"minus",189:"minus",173:"minus",16:"shift",17:"control",18:"alt"},_=function(){var t={dx:/^dx/i,mouse:/(mouse|wheel)/i,touch:/^touch/i,keyboard:/^key/i,pointer:/^(ms)?pointer/i};return function(e){var i="other";return(0,h.each)(t,function(t){if(this.test(e.type))return i=t,!1}),i}}(),m=function(t){return"dx"===_(t)},g=function(t){return"mouse"===_(t)},v=function(t){return"touch"===_(t)},y=function(t){return"pointer"===_(t)},b=function(t){return g(t)||(y(t)||m(t))&&"mouse"===t.pointerType},C=function(t){return t&&"dxmousewheel"===t.type},x=function(t){return v(t)||(y(t)||m(t))&&"touch"===t.pointerType},w=function(t){return"keyboard"===_(t)},S=function(t){return 0===t.screenX&&!t.offsetX&&0===t.pageX},I=function(t){return{x:t.pageX,y:t.pageY,time:t.timeStamp}},T=function(t,e){return{x:e.x-t.x,y:e.y-t.y,time:e.time-t.time||1}},k=function(t){return v(t)?(t.originalEvent.touches||[]).length:m(t)?(t.pointers||[]).length:0},D=function(t){var e=t.target,i=(0,a.default)(e),n=i.is("input, textarea, select");if(i.is(".dx-skip-gesture-event *, .dx-skip-gesture-event"))return!0;if(C(t)){if(i.is("textarea")&&i.hasClass("dx-texteditor-input"))return!1;var o=e.isContentEditable&&i.closest("div[contenteditable='true']").is(":focus"),r=i.is("input[type='number'], textarea, select")&&i.is(":focus");return r||o}return b(t)?n||t.which>1:x(t)?n&&(0,u.focused)(i):void 0},E=function(t){return t},B=function(t){E=t},M=function(t){return E(s.default.Event(t,t),t)},A=function(t,e){var i=M(t);return e&&(0,d.extend)(i,e),i},O=function(t){var e=A(t.originalEvent,t);return s.default.trigger(t.delegateTarget||e.target,e),e},P=function t(e,i){if(!i)throw c.default.Error("E0017");return"string"==typeof e?e.indexOf(" ")===-1?e+"."+i:t(e.split(/\s+/g),i):((0,h.each)(e,function(t,n){e[t]=n+"."+i}),e.join(" "))},$=function(t){var e=!!t.key,i=e?t.key:t.which;if(i)return i=e?p[i.toLowerCase()]||i:f[i]||String.fromCharCode(i)},R=function(t){return t.key||String.fromCharCode(t.which)};t.exports={eventSource:_,isPointerEvent:y,isMouseEvent:b,isDxMouseWheelEvent:C,isTouchEvent:x,isKeyboardEvent:w,isFakeClickEvent:S,hasTouches:k,eventData:I,eventDelta:T,needSkipEvent:D,createEvent:A,fireEvent:O,addNamespace:P,setEventFixMethod:B,normalizeKeyName:$,getChar:R}},function(t,e,i){var n=i(18),o=i(1),a=function(t,e,i){return function(){var n=this.callBase;this.callBase=t[e];try{return i.apply(this,arguments)}finally{this.callBase=n}}},r=function(t){var e=function(){};return e.prototype=t.prototype,new e},s=function(t){var e,i,n,o=this;if(!t)return o;for(i in t)n=t[i],e="function"==typeof o.prototype[i]&&"function"==typeof n,o.prototype[i]=e?a(o.parent.prototype,i,n):n;return o},l=function(){var t,e,i,n=this,o=!n.hasOwnProperty("_includedCtors")&&!n.hasOwnProperty("_includedPostCtors");for(o&&(n._includedCtors=n._includedCtors.slice(0),n._includedPostCtors=n._includedPostCtors.slice(0)),i=0;i<arguments.length;i++){t=arguments[i],t.ctor&&n._includedCtors.push(t.ctor),t.postCtor&&n._includedPostCtors.push(t.postCtor);for(e in t)"ctor"!==e&&"postCtor"!==e&&(n.prototype[e]=t[e])}return n},c=function(t){return this.parent===t||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(t)},u=function(){throw n.Error("E0001")},d=function(){var t=Object.prototype.hasOwnProperty;return function(e,i){for(var n in e){if(!t.call(e,n))return;i[n]=e[n]}}}(),h=function(){};h.inherit=function(t){var e=function(){if(!this||o.isWindow(this)||"function"!=typeof this.constructor)throw n.Error("E0003");var t,e=this,i=e.ctor,a=e.constructor._includedCtors,r=e.constructor._includedPostCtors;for(t=0;t<a.length;t++)a[t].call(e);for(i&&i.apply(e,arguments),t=0;t<r.length;t++)r[t].call(e)};return e.prototype=r(this),d(this,e),e.inherit=this.inherit,e.abstract=u,e.redefine=s,e.include=l,e.subclassOf=c,e.parent=this,e._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],e._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],e.prototype.constructor=e,e.redefine(t),e},h.abstract=u,t.exports=h},function(t,e,i){var n=i(1).isDefined,o=i(3).each,a=i(54),r=i(23),s=function(t){return Array.isArray(t)&&!t.length},l=function(t){return Array.isArray(t)?t:[t]},c=function(t,e){if(!Array.isArray(t)||0===t.length||!Array.isArray(e)||0===e.length)return[];var i=[];return o(t,function(t,n){var o=h(n,e);o!==-1&&i.push(n)}),i},u=function(t,e){if(!Array.isArray(t)||0===t.length)return[];if(!Array.isArray(e)||0===e.length)return t.slice();var i=[];return o(t,function(t,n){var o=h(n,e);o===-1&&i.push(n)}),i},d=function(t,e,i,s){var l={},c=0,u=r().useLegacyVisibleIndex;return o(t,function(t,n){t=n[e],t>=0?(l[t]=l[t]||[],n===i?l[t].unshift(n):l[t].push(n)):n[e]=void 0}),u||o(t,function(){if(!n(this[e])&&(!s||s(this))){for(;l[c];)c++;l[c]=[this],c++}}),c=0,a.orderEach(l,function(t,i){o(i,function(){t>=0&&(this[e]=c++)})}),u&&o(t,function(){n(this[e])||s&&!s(this)||(this[e]=c++)}),c},h=function(t,e){if(!e)return-1;var i=Array.isArray(e)?e:e.toArray();return i.indexOf(t)},p=function(t,e){for(var i=0;i<e.length;i++)t[t.length]=e[i];return t};e.isEmpty=s,e.wrapToArray=l,e.intersection=c,e.removeDuplicates=u,e.normalizeIndexes=d,e.inArray=h,e.merge=p},function(t,e,i){var n,o=i(2),a=i(23),r=i(13),s=i(6),l=s.getWindow(),c=i(5),u=i(11).inArray,d=i(1),h=d.isDefined,p=d.isRenderer,f=i(226),_=function(){var t=r.getActiveElement();t&&t!==r.getBody()&&t.blur&&t.blur()},m=function(){var t=l.getSelection();if(t&&"Caret"!==t.type)if(t.empty)t.empty();else if(t.removeAllRanges)try{t.removeAllRanges()}catch(t){}},g=function(t,e){var i=o(t),n=o(e);if(i[0]===n[0])return i[0];for(var a=i.parents(),r=n.parents(),s=Math.min(a.length,r.length),l=-s;l<0;l++)if(a.get(l)===r.get(l))return a.get(l)},v=function(t){var e=".dx-visibility-change-handler";return function(i){for(var n=o(i||"body"),a=n.filter(e).add(n.find(e)),r=0;r<a.length;r++)c.triggerHandler(a[r],t)}},y=function(){var t=0;return function(e){return(e||"")+t++}}(),b="data-options",C=function(t){var e=o(t).attr(b)||"";return a().optionsParser(e)},x=function(t,e){var i=[],n="["+b+"]",a=t.find(n).add(t.filter(n));return a.each(function(t,n){var a=o(n),r=C(n);for(var s in r)(!e||u(s,e)>-1)&&a[s]&&(a[s](r[s]),i.push(a[s]("instance")))}),i},w=function(t){if(!l.WinJS)return o(f.parseHTML(t));var e=o("<div>");return l.WinJS.Utilities.setInnerHTMLUnsafe(e.get(0),t),e.contents()},S=function(t){t=o(t);var e=t.length&&t.filter(function(){var t=o(this);return t.is("script[type]")&&t.attr("type").indexOf("script")<0});return e.length?e.eq(0).html():(t=o("<div>").append(t),t.html())},I=function t(e){var i=h(e)&&(e.nodeType||p(e))?o(e):o("<div>").html(e).contents();return 1===i.length&&(i.is("script")?i=t(i.html().trim()):i.is("table")&&(i=i.children("tbody").contents())),i},T=function(t,e,i){i?t.attr(e,i):t.removeAttr(e)},k=function(t,e){var i=t.originalEvent&&t.originalEvent.clipboardData||l.clipboardData;return 1===arguments.length?i&&i.getData("Text"):void(i&&i.setData("Text",e))},D=function(t,e){return!!e&&(e=r.isTextNode(e)?e.parentNode:e,r.isDocument(t)?t.documentElement.contains(e):t.contains(e))},E=function(t){return n(t)},B=function(t){n=t};B(function(t){return t&&t.get(0)});var M=function(t,e,i){var n=l.getComputedStyle(o(t).get(0)),a=i&&i.includePaddings;return o("<div>").text(e).css({fontStyle:n.fontStyle,fontVariant:n.fontVariant,fontWeight:n.fontWeight,fontSize:n.fontSize,fontFamily:n.fontFamily,letterSpacing:n.letterSpacing,border:n.border,paddingTop:a?n.paddingTop:"",paddingRight:a?n.paddingRight:"",paddingBottom:a?n.paddingBottom:"",paddingLeft:a?n.paddingLeft:"",visibility:"hidden",whiteSpace:"nowrap",position:"absolute","float":"left"})};e.setPublicElementWrapper=B,e.resetActiveElement=_,e.createMarkupFromString=w,e.triggerShownEvent=v("dxshown"),e.triggerHidingEvent=v("dxhiding"),e.triggerResizeEvent=v("dxresize"),e.getElementOptions=C,e.createComponents=x,e.extractTemplateMarkup=S,e.normalizeTemplateElement=I,e.clearSelection=m,e.uniqueId=y,e.closestCommonParent=g,e.clipboardText=k,e.toggleAttr=T,e.contains=D,e.getPublicElement=E,e.createTextElementHiddenCopy=M},function(t,e,i){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=i(55),a=i(4).noop,r={querySelectorAll:function(t,e){return t.querySelectorAll(e)},elementMatches:function(t,e){var i=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector||function(e){var i=t.document||t.ownerDocument;if(!i)return!1;for(var n=this.querySelectorAll(i,e),o=0;o<n.length;o++)if(n[o]===t)return!0}.bind(this);return i.call(t,e)},createElement:function(t,e){return e=e||this._document,e.createElement(t)},createElementNS:function(t,e,i){return i=i||this._document,i.createElementNS(t,e)},createTextNode:function(t,e){return e=e||this._document,e.createTextNode(t)},isNode:function(t){return"object"===("undefined"==typeof t?"undefined":n(t))&&"nodeType"in t},isElementNode:function(t){return t&&t.nodeType===Node.ELEMENT_NODE},isTextNode:function(t){return t&&t.nodeType===Node.TEXT_NODE},isDocument:function(t){return t&&t.nodeType===Node.DOCUMENT_NODE},removeElement:function(t){var e=t&&t.parentNode;e&&e.removeChild(t)},insertElement:function(t,e,i){t&&e&&t!==e&&(i?t.insertBefore(e,i):t.appendChild(e))},getAttribute:function(t,e){return t.getAttribute(e)},setAttribute:function(t,e,i){t.setAttribute(e,i)},removeAttribute:function(t,e){t.removeAttribute(e)},setProperty:function(t,e,i){t[e]=i},setText:function(t,e){t&&(t.textContent=e)},setClass:function(t,e,i){if(1===t.nodeType&&e)if(t.classList)i?t.classList.add(e):t.classList.remove(e);else{var n,o="string"==typeof t.className,a=o?t.className:this.getAttribute(t,"class")||"",r=a.split(" "),s=r.indexOf(e);i&&s<0&&(n=a?a+" "+e:e),!i&&s>=0&&(r.splice(s,1),n=r.join(" ")),void 0!==n&&(o?t.className=n:this.setAttribute(t,"class",n))}},setStyle:function(t,e,i){t.style[e]=i||""},_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(t){return t in this._document},listen:function(t,e,i,n){return t&&"addEventListener"in t?(t.addEventListener(e,i,n),function(){t.removeEventListener(e,i)}):a}};t.exports=o(r)},function(t,e,i){var n=i(2),o=i(55),a=i(0).extend,r=i(3).each,s=i(46).format,l=i(32).humanize,c=i(82);i(82);var u="-",d=a(!0,{},i(345)),h=i(346),p=function(t){var e=h[t];return e?"root"!==e&&e:t.substr(0,t.lastIndexOf(u))},f=function(t,e){return t[e]||{}},_=function(t,e,i){for(var n,o=f(t,e)[i];!o&&!n;)e=p(e),e?o=f(t,e)[i]:n=!0;return o},m={},g=o({_dictionary:d,load:function(t){a(!0,this._dictionary,t)},_localizablePrefix:"@",setup:function(t){this._localizablePrefix=t},localizeString:function(t){var e=this,i=new RegExp("(^|[^a-zA-Z_0-9"+e._localizablePrefix+"-]+)("+e._localizablePrefix+"{1,2})([a-zA-Z_0-9-]+)","g"),n=e._localizablePrefix+e._localizablePrefix;return t.replace(i,function(t,i,o,a){var r,s=e._localizablePrefix+a;return o!==n&&(r=e.format(a)),r||(m[a]=l(a)),i+(r||s)})},_messageLoaded:function(t,e){return void 0!==_(this._dictionary,e||c.locale(),t)},localizeNode:function(t){var e=this;n(t).each(function(t,i){i.nodeType&&(3===i.nodeType?i.nodeValue=e.localizeString(i.nodeValue):n(i).is("iframe")||(r(i.attributes||[],function(t,i){if("string"==typeof i.value){var n=e.localizeString(i.value);i.value!==n&&(i.value=n)}}),n(i).contents().each(function(t,i){e.localizeNode(i)})))})},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(t){return t?m:a({},m,this.getMessagesByLocales()[c.locale()])},getFormatter:function(t){return this._getFormatterBase(t)||this._getFormatterBase(t,"en")},_getFormatterBase:function(t,e){var i=_(this._dictionary,e||c.locale(),t);if(i)return function(){var t=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return t.unshift(i),s.apply(this,t)}},format:function(t){var e=this.getFormatter(t),i=Array.prototype.slice.call(arguments,1);return e&&e.apply(this,i)||""}});t.exports=g},function(t,e,i){var n=i(2),o=i(6),a=o.getNavigator(),r=o.getWindow(),s=i(0).extend,l=i(1).isPlainObject,c=i(3).each,u=i(10),d=i(18),h=i(19),p=i(130),f=i(52),_=i(158).sessionStorage,m=i(65),g=i(23),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(t){var e=/windows phone/i.test(t)||t.match(/WPDesktop/),i=!e&&/Windows(.*)arm(.*)Tablet PC/i.test(t),n=!e&&!i&&/msapphost/i.test(t);if(e||i||n){var o=t.match(/windows phone (\d+).(\d+)/i)||t.match(/windows nt (\d+).(\d+)/i),a=[];return o?a.push(parseInt(o[1],10),parseInt(o[2],10)):(o=t.match(/msapphost(\/(\d+).(\d+))?/i),o&&a.push(3===parseInt(o[2],10)?10:8)),{deviceType:e?"phone":i?"tablet":"desktop",platform:"win",version:a,grade:"A"}}},ios:function(t){if(/ip(hone|od|ad)/i.test(t)){var e=/ip(hone|od)/i.test(t),i=t.match(/os (\d+)_(\d+)_?(\d+)?/i),n=i?[parseInt(i[1],10),parseInt(i[2],10),parseInt(i[3]||0,10)]:[],o=480===r.screen.height,a=o?"B":"A";return{deviceType:e?"phone":"tablet",platform:"ios",version:n,grade:a}}},android:function(t){if(/android|htc_|silk/i.test(t)){var e=/mobile/i.test(t),i=t.match(/android (\d+)\.(\d+)\.?(\d+)?/i),n=i?[parseInt(i[1],10),parseInt(i[2],10),parseInt(i[3]||0,10)]:[],o=n.length>1&&(n[0]<4||4===n[0]&&n[1]<4),a=o?"B":"A"; return{deviceType:e?"phone":"tablet",platform:"android",version:n,grade:a}}}},C=u.inherit({ctor:function(t){this._window=t&&t.window||r,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this.changed=h(),o.hasWindow()&&(this._recalculateOrientation(),p.add(this._recalculateOrientation.bind(this)))},current:function(t){if(t)return this._currentDevice=this._getDevice(t),this._forced=!0,void this.changed.fire();if(!this._currentDevice){t=void 0;try{t=this._getDeviceOrNameFromWindowScope()}catch(e){t=this._getDeviceNameFromSessionStorage()}finally{t||(t=this._getDeviceNameFromSessionStorage()),t&&(this._forced=!0)}this._currentDevice=this._getDevice(t)}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(t){var e=[],i=this._realDevice;return t=t||this.current(),t.deviceType&&(e.push("dx-device-"+t.deviceType),"desktop"!==t.deviceType&&e.push("dx-device-mobile")),e.push("dx-device-"+i.platform),i.version&&i.version.length&&e.push("dx-device-"+i.platform+"-"+i.version[0]),x.isSimulator()&&e.push("dx-simulator"),g().rtlEnabled&&e.push("dx-rtl"),e},attachCssClasses:function(t,e){this._deviceClasses=this._getCssClasses(e).join(" "),n(t).addClass(this._deviceClasses)},detachCssClasses:function(t){n(t).removeClass(this._deviceClasses)},isSimulator:function(){try{return this._isSimulator||o.hasWindow()&&this._window.top!==this._window.self&&this._window.top["dx-force-device"]||this.isRippleEmulator()}catch(t){return!1}},forceSimulator:function(){this._isSimulator=!0},_getDevice:function(t){if("genericPhone"===t&&(t={deviceType:"phone",platform:"generic",generic:!0}),l(t))return this._fromConfig(t);var e;if(t){if(e=v[t],!e)throw d.Error("E0005")}else e=a.userAgent;return this._fromUA(e)},_getDeviceOrNameFromWindowScope:function(){var t;return o.hasWindow()&&(this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"])&&(t=this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"]),t},_getDeviceNameFromSessionStorage:function(){var t=_();if(t){var e=t.getItem("dx-force-device");try{return JSON.parse(e)}catch(t){return e}}},_fromConfig:function(t){var e=s({},y,this._currentDevice,t),i={phone:"phone"===e.deviceType,tablet:"tablet"===e.deviceType,android:"android"===e.platform,ios:"ios"===e.platform,win:"win"===e.platform,generic:"generic"===e.platform};return s(e,i)},_fromUA:function(t){var e;if(c(b,function(i,n){return e=n(t),!e}),e)return this._fromConfig(e);var i=/(mac os)/.test(t.toLowerCase()),n=y;return n.mac=i,n},_changeOrientation:function(){var t=n(this._window),e=t.height()>t.width()?"portrait":"landscape";this._currentOrientation!==e&&(this._currentOrientation=e,this.fireEvent("orientationChanged",[{orientation:e}]))},_recalculateOrientation:function(){var t=n(this._window).width();this._currentWidth!==t&&(this._currentWidth=t,this._changeOrientation())}}).include(f),x=new C;m.changeCallback.add(function(t,e){x.detachCssClasses(e),x.attachCssClasses(t)}),x.isForced()||"win"!==x.current().platform||x.current({version:[10]}),t.exports=x},,function(t,e,i){var n=i(2),o=i(5),a=i(15),r=i(13),s=i(12),l=i(109),c=i(9),u=i(26),d=i(113),h=i(85),p=i(58).compare,f="dxclick",_=10,m=Math.abs,g=function(t){return n(t).is("input, textarea, select, button ,:focus, :focus *")},v={requestAnimationFrame:l.requestAnimationFrame,cancelAnimationFrame:l.cancelAnimationFrame},y=d.inherit({ctor:function(t){this.callBase(t),this._makeElementClickable(n(t))},_makeElementClickable:function(t){t.attr("onclick")||t.attr("onclick","void(0)")},start:function(t){this._blurPrevented=t.isDefaultPrevented(),this._startTarget=t.target,this._startEventData=c.eventData(t)},end:function(t){return this._eventOutOfElement(t,this.getElement().get(0))||t.type===u.cancel?void this._cancel(t):(g(t.target)||this._blurPrevented||s.resetActiveElement(),this._accept(t),void(this._clickAnimationFrame=v.requestAnimationFrame(function(){this._fireClickEvent(t)}.bind(this))))},_eventOutOfElement:function(t,e){var i=t.target,n=!s.contains(e,i)&&e!==i,o=c.eventDelta(c.eventData(t),this._startEventData),a=m(o.x)>_||m(o.y)>_;return n||a},_fireClickEvent:function(t){this._fireEvent(f,t,{target:s.closestCommonParent(this._startTarget,t.target)})},dispose:function(){v.cancelAnimationFrame(this._clickAnimationFrame)}});!function(){var t="dx-native-click",e=a.real(),i=e.generic||e.ios&&p(e.version,[9,3])>=0||e.android&&p(e.version,[5])>=0,r=function(e){return i||n(e).closest("."+t).length},s=null,l=null,u=function(t){var e=t.originalEvent,i=l===e||e&&e.DXCLICK_FIRED,n=!t.which||1===t.which;n&&!s&&r(t.target)&&!i&&(e&&(e.DXCLICK_FIRED=!0),l=e,c.fireEvent({type:f,originalEvent:t}))};y=y.inherit({_makeElementClickable:function(t){r(t)||this.callBase(t),o.on(t,"click",u)},configure:function(e){this.callBase(e),e.useNative&&this.getElement().addClass(t)},start:function(t){s=null,r(t.target)||this.callBase(t)},end:function(t){r(t.target)||this.callBase(t)},cancel:function(){s=!0},dispose:function(){this.callBase(),o.off(this.getElement(),"click",u)}})}(),function(){var t=a.real().generic;if(!t){var e=null,i=!1,l=function(t){e=t.target,i=t.isDefaultPrevented()},d=function(t){var o=n(t.target);i||!e||o.is(e)||n(e).is("label")||!g(o)||s.resetActiveElement(),e=null,i=!1},h="NATIVE_CLICK_FIXER",p=r.getDocument();o.subscribeGlobal(p,c.addNamespace(u.down,h),l),o.subscribeGlobal(p,c.addNamespace("click",h),d)}}(),h({emitter:y,bubble:!0,events:[f]}),e.name=f},function(t,e,i){var n=i(104);t.exports=n({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.",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(t,e,i){var n=function(t){this._options=t||{},this._list=[],this._queue=[],this._firing=!1,this._fired=!1,this._firingIndexes=[]};n.prototype._fireCore=function(t,e){var i=this._firingIndexes,n=this._list,o=this._options.stopOnFalse,a=i.length;for(i[a]=0;i[a]<n.length;i[a]++){var r=n[i[a]].apply(t,e);if(r===!1&&o)break}i.pop()},n.prototype.add=function(t){return"function"!=typeof t||this._options.unique&&this.has(t)||this._list.push(t),this},n.prototype.remove=function(t){var e=this._list,i=this._firingIndexes,n=e.indexOf(t);if(n>-1&&(e.splice(n,1),this._firing&&i.length))for(var o=0;o<i.length;o++)n<=i[o]&&i[o]--;return this},n.prototype.has=function(t){var e=this._list;return t?e.indexOf(t)>-1:!!e.length},n.prototype.empty=function(t){return this._list=[],this},n.prototype.fireWith=function(t,e){var i=this._queue;if(e=e||[],e=e.slice?e.slice():e,this._options.syncStrategy)this._firing=!0,this._fireCore(t,e);else{if(i.push([t,e]),this._firing)return;for(this._firing=!0;i.length;){var n=i.shift();this._fireCore(n[0],n[1])}}return this._firing=!1,this._fired=!0,this},n.prototype.fire=function(){this.fireWith(this,arguments)},n.prototype.fired=function(){return this._fired};var o=function(t){return new n(t)};t.exports=o},function(t,e,i){var n=i(104),o=i(18);t.exports=n(o.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}",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 '{0}' script is referenced after the DevExtreme scripts or not referenced at all",E1042:"{0} requires the key field to be specified",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',E1049:"Column '{0}': filtering is allowed but the 'dataField' or 'name' option is not specified",E1050:"The validationRules option does not apply to third-party editors defined in the editCellTemplate",E1051:'HtmlEditor\'s valueType is "{0}", but the {0} converter was not imported.',E1052:'{0} should have the "dataSource" option specified',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 following error: '{0}'",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",W1010:"The capability to select all items works with source data of plain structure only",W1011:'The "keyExpr" option is not applied when dataSource is not an array',W1012:"The '{0}' key field is not found in data objects",W1013:'The "message" field in the dialog component was renamed to "messageHtml". Change your code correspondingly. In addition, if you used HTML code in the message, make sure that it is secure'})},function(t,e,i){function n(){if(!P.hasWindow())return null;var t,e=A("<div>",I).addClass("dx-theme-marker").appendTo(I.documentElement);try{return(t=e.css("fontFamily"))?(t=t.replace(/["']/g,""),t.substr(0,Q.length)!==Q?null:t.substr(Q.length)):null}finally{e.remove()}}function o(t){function e(){E=null,j.fire(),j.empty()}var i;E=t,a()?e():(i=Date.now(),B=setInterval(function(){var t=a(),n=!t&&Date.now()-i>15e3;n&&H.log("W0004",E),(t||n)&&(clearInterval(B),B=void 0,e())},10))}function a(){return!E||n()===E}function r(){var t=A(q,I);t.length&&(k={},T=A(F.createMarkupFromString("<link rel=stylesheet>"),I),t.each(function(){var t=A(this,I),e=t.attr(U),i=t.attr("href"),n="true"===t.attr(Y);k[e]={url:i,isActive:n}}),t.last().after(T),t.remove())}function s(t){var e=t.split("."),i=null;if(k){if(t in k)return t;N(k,function(t,n){var o=t.split(".");if(o[0]===e[0]&&!(e[1]&&e[1]!==o[1]||e[2]&&e[2]!==o[2]))return i&&!n.isActive||(i=t),!n.isActive&&void 0})}return i}function l(t){try{t!==I&&(k=null)}catch(t){k=null}I=t}function c(t){t=t||{},l(t.context||O.getDocument()),I&&(r(),D=void 0,u(t))}function u(t){if(!arguments.length)return D=D||n();f(K()),t=t||{},"string"==typeof t&&(t={theme:t});var e,i=t._autoInit,a=t.loadCallback;if(D=t.theme||D,i&&!D&&(D=d(W.current())),D=s(D),D&&(e=k[D]),a&&j.add(a),e)T.attr("href",k[D].url),!j.has()&&!t._forceTimeout||B?E&&(E=D):o(D);else{if(!i)throw H.Error("E0021",D);j.fire(),j.empty()}w(),p(z.originalViewPort(),D)}function d(t){var e=t.platform,i=t.version&&t.version[0];switch(e){case"ios":e+="7";break;case"android":e+="5";break;case"win":e+=i&&8===i?"8":"10"}return e}function h(t){t=t||u();var e=[],i=t&&t.split(".");return i&&(e.push("dx-theme-"+i[0],"dx-theme-"+i[0]+"-typography"),i.length>1&&e.push("dx-color-scheme-"+i[1]+(g(t)?"-"+i[2]:""))),e}function p(t,e){M=h(e).join(" "),A(t).addClass(M);var i=function(){var e=P.hasWindow()&&$.devicePixelRatio;if(e&&!(e<2)){var i=A("<div>");i.css("border",".5px solid transparent"),A("body").append(i),1===i.outerHeight()&&(A(t).addClass(X),M+=" "+X),i.remove()}};i()}function f(t){A(t).removeClass(M)}function _(t){j.add(t)}function m(t,e){return e||(e=D||n()),new RegExp(t).test(e)}function g(t){return m("material",t)}function v(t){return m("android5",t)}function y(t){return m("ios7",t)}function b(t){return m("generic",t)}function C(t){return m("win8",t)}function x(t){return m("win10",t)}function w(){C()&&H.log("W0010","The 'win8' theme","16.1","Use the 'generic' theme instead."),x()&&H.log("W0010","The 'win10' theme","17.2","Use the 'generic' theme instead."),v()&&H.log("W0010","The 'android5' theme","18.1","Use the 'material' theme instead.")}function S(){if(c({_autoInit:!0,_forceTimeout:!0}),A(q,I).length)throw H.Error("E0022");Z.resolve()}var I,T,k,D,E,B,M,A=i(2),O=i(13),P=i(6),$=P.getWindow(),R=i(7).Deferred,H=i(20),F=i(12),V=i(51),L=V.add,N=i(3).each,W=i(15),z=i(65),j=i(244),K=z.value,G=z.changeCallback,q="link[rel=dx-theme]",U="data-theme",Y="data-active",X="dx-hairlines",Q="dx.",Z=new R;P.hasWindow()?S():L(S),G.add(function(t,e){Z.done(function(){f(e),p(t)})}),W.changed.add(function(){c({_autoInit:!0})}),e.current=u,e.ready=_,e.init=c,e.attachCssClasses=p,e.detachCssClasses=f,e.themeNameFromDevice=d,e.waitForThemeLoad=o,e.isMaterial=g,e.isAndroid5=v,e.isIos7=y,e.isGeneric=b,e.isWin8=C,e.isWin10=x,e.resetTheme=function(){T&&T.attr("href","about:blank"),D=null,E=null}},function(t,e,i){var n=i(18),o=i(10),a=i(54),r=i(1),s=i(3).each,l=i(91),c=l.unwrap,u=l.isWrapped,d=l.assign,h=function(t){return t.replace(/\[/g,".").replace(/\]/g,"")},p=function(t,e,i){return i=i||{},"this"===e?m(t,i):m(t[e],i)},f=function(t,e,i,o){if("this"===e)throw new n.Error("E4016");var a=t[e];o.unwrapObservables&&u(a)?d(a,i):t[e]=i},_=function(t){return t=t||{},t.unwrapObservables=void 0===t.unwrapObservables||t.unwrapObservables,t},m=function(t,e){return e.unwrapObservables?c(t):t},g=function(t){if(arguments.length>1&&(t=[].slice.call(arguments)),!t||"this"===t)return function(t){return t};if("str