app_bundle.js

112 lines | 1000.96 kB Blame History Raw Download
!function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/SPA_Build",o(o.s=144)}([function(e,t,o){"use strict";e.exports=o(81)},function(e,t,o){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}o.d(t,"a",(function(){return n}))},function(e,t,o){"use strict";function n(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}o.d(t,"a",(function(){return n}))},function(e,t,o){var n;
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===i)for(var l in n)o.call(n,l)&&n[l]&&e.push(l)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t,o){e.exports=o(93)()},function(e,t,o){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}o.d(t,"a",(function(){return n}))},function(e,t,o){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=o(82)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}},function(e,t,o){"use strict";var n=function(){};e.exports=n},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,o){"use strict";e.exports=function(e,t,o,n,r,i,a,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[o,n,r,i,a,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},,function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){var o,i="#"===t[0],a="."===t[0],l=i||a?t.slice(1):t;if(n.test(l))return i?(e=e.getElementById?e:document,(o=e.getElementById(l))?[o]:[]):e.getElementsByClassName&&a?r(e.getElementsByClassName(l)):r(e.getElementsByTagName(t));return r(e.querySelectorAll(t))};var n=/^[\w-]*$/,r=Function.prototype.bind.call(Function.prototype.call,[].slice);e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e,t,o){var n="",u="",d=t;if("string"==typeof t){if(void 0===o)return e.style[(0,r.default)(t)]||(0,a.default)(e).getPropertyValue((0,i.default)(t));(d={})[t]=o}Object.keys(d).forEach((function(t){var o=d[t];o||0===o?(0,c.default)(t)?u+=t+"("+o+") ":n+=(0,i.default)(t)+": "+o+";":(0,l.default)(e,(0,i.default)(t))})),u&&(n+=s.transform+": "+u+";");e.style.cssText+=";"+n};var r=n(o(46)),i=n(o(88)),a=n(o(90)),l=n(o(91)),s=o(45),c=n(o(92));e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0;var n=o(58);t.ReactTabulator=n.default;var r=o(133);t.React15Tabulator=r.default;var i=o(134);t.ReactTabulatorExample=i.default;var a=o(25);t.reactFormatter=a.reactFormatter},function(e,t){function o(){return e.exports=o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},o.apply(this,arguments)}e.exports=o},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e){return e&&e.ownerDocument||document},e.exports=t.default},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e){if((!r&&0!==r||e)&&i.default){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),r=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return r};var r,i=n(o(14));e.exports=t.default},,function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";var n=o(47),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,l=Object.defineProperty,s=l&&function(){var e={};try{for(var t in l(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,o,n){var r;(!(t in e)||"function"==typeof(r=n)&&"[object Function]"===i.call(r)&&n())&&(s?l(e,t,{configurable:!0,enumerable:!1,value:o,writable:!0}):e[t]=o)},u=function(e,t){var o=arguments.length>2?arguments[2]:{},i=n(t);r&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var l=0;l<i.length;l+=1)c(e,i[l],t[i[l]],o[i[l]])};u.supportsDescriptors=!!s,e.exports=u},function(e,t,o){"use strict";var n=o(101);e.exports=Function.prototype.bind||n},function(e,t,o){"use strict";t.__esModule=!0;var n=o(0),r=o(6);t.clone=function(e){return JSON.parse(JSON.stringify(e))},t.isSameArray=function(e,t){var o=e?e.length:0;if(o!==(t?t.length:0))return!1;for(;o--;)if(e[o]!==t[o])return!1;return!0},t.reactFormatter=function(e){return function(t,o,i){var a=function(){var o=t.getElement();if(o&&o.querySelector(".formatterCell")){var i=n.cloneElement(e,{cell:t});r.render(i,o.querySelector(".formatterCell"))}};return i(a),setTimeout((function(){a()}),0),'<div class="formatterCell"></div>'}}},function(e,t,o){var n,r;o(87),n=[o(86)],void 0===(r=function(e){return function(){var t,o,n,r=0,i="error",a="info",l="success",s="warning",c={clear:function(o,n){var r=m();t||u(r),d(o,r,n)||function(o){for(var n=t.children(),r=n.length-1;r>=0;r--)d(e(n[r]),o)}(r)},remove:function(o){var n=m();t||u(n),o&&0===e(":focus",o).length?h(o):t.children().length&&t.remove()},error:function(e,t,o){return f({type:i,iconClass:m().iconClasses.error,message:e,optionsOverride:o,title:t})},getContainer:u,info:function(e,t,o){return f({type:a,iconClass:m().iconClasses.info,message:e,optionsOverride:o,title:t})},options:{},subscribe:function(e){o=e},success:function(e,t,o){return f({type:l,iconClass:m().iconClasses.success,message:e,optionsOverride:o,title:t})},version:"2.1.4",warning:function(e,t,o){return f({type:s,iconClass:m().iconClasses.warning,message:e,optionsOverride:o,title:t})}};return c;function u(o,n){return o||(o=m()),(t=e("#"+o.containerId)).length||n&&(t=function(o){return(t=e("<div/>").attr("id",o.containerId).addClass(o.positionClass)).appendTo(e(o.target)),t}(o)),t}function d(t,o,n){var r=!(!n||!n.force)&&n.force;return!(!t||!r&&0!==e(":focus",t).length||(t[o.hideMethod]({duration:o.hideDuration,easing:o.hideEasing,complete:function(){h(t)}}),0))}function p(e){o&&o(e)}function f(o){var i=m(),a=o.iconClass||i.iconClass;if(void 0!==o.optionsOverride&&(i=e.extend(i,o.optionsOverride),a=o.optionsOverride.iconClass||a),!function(e,t){if(e.preventDuplicates){if(t.message===n)return!0;n=t.message}return!1}(i,o)){r++,t=u(i,!0);var l=null,s=e("<div/>"),c=e("<div/>"),d=e("<div/>"),f=e("<div/>"),g=e(i.closeHtml),b={intervalId:null,hideEta:null,maxHideTime:null},v={toastId:r,state:"visible",startTime:new Date,options:i,map:o};return o.iconClass&&s.addClass(i.toastClass).addClass(a),function(){if(o.title){var e=o.title;i.escapeHtml&&(e=y(o.title)),c.append(e).addClass(i.titleClass),s.append(c)}}(),function(){if(o.message){var e=o.message;i.escapeHtml&&(e=y(o.message)),d.append(e).addClass(i.messageClass),s.append(d)}}(),i.closeButton&&(g.addClass(i.closeClass).attr("role","button"),s.prepend(g)),i.progressBar&&(f.addClass(i.progressClass),s.prepend(f)),i.rtl&&s.addClass("rtl"),i.newestOnTop?t.prepend(s):t.append(s),function(){var e="";switch(o.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}s.attr("aria-live",e)}(),s.hide(),s[i.showMethod]({duration:i.showDuration,easing:i.showEasing,complete:i.onShown}),i.timeOut>0&&(l=setTimeout(w,i.timeOut),b.maxHideTime=parseFloat(i.timeOut),b.hideEta=(new Date).getTime()+b.maxHideTime,i.progressBar&&(b.intervalId=setInterval(C,10))),i.closeOnHover&&s.hover(E,x),!i.onclick&&i.tapToDismiss&&s.click(w),i.closeButton&&g&&g.click((function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),i.onCloseClick&&i.onCloseClick(e),w(!0)})),i.onclick&&s.click((function(e){i.onclick(e),w()})),p(v),i.debug&&console&&console.log(v),s}function y(e){return null==e&&(e=""),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function w(t){var o=t&&!1!==i.closeMethod?i.closeMethod:i.hideMethod,n=t&&!1!==i.closeDuration?i.closeDuration:i.hideDuration,r=t&&!1!==i.closeEasing?i.closeEasing:i.hideEasing;if(!e(":focus",s).length||t)return clearTimeout(b.intervalId),s[o]({duration:n,easing:r,complete:function(){h(s),clearTimeout(l),i.onHidden&&"hidden"!==v.state&&i.onHidden(),v.state="hidden",v.endTime=new Date,p(v)}})}function x(){(i.timeOut>0||i.extendedTimeOut>0)&&(l=setTimeout(w,i.extendedTimeOut),b.maxHideTime=parseFloat(i.extendedTimeOut),b.hideEta=(new Date).getTime()+b.maxHideTime)}function E(){clearTimeout(l),b.hideEta=0,s.stop(!0,!0)[i.showMethod]({duration:i.showDuration,easing:i.showEasing})}function C(){var e=(b.hideEta-(new Date).getTime())/b.maxHideTime*100;f.width(e+"%")}}function m(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},c.options)}function h(e){t||(t=u()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),n=void 0))}}()}.apply(t,n))||(e.exports=r)},function(e,t,o){"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),a=[];function l(e){for(var t=-1,o=0;o<a.length;o++)if(a[o].identifier===e){t=o;break}return t}function s(e,t){for(var o={},n=[],r=0;r<e.length;r++){var i=e[r],s=t.base?i[0]+t.base:i[0],c=o[s]||0,u="".concat(s," ").concat(c);o[s]=c+1;var d=l(u),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(p)):a.push({identifier:u,updater:g(p,t),references:1}),n.push(u)}return n}function c(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=o.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function p(e,t,o,n){var r=o?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function f(e,t,o){var n=o.css,r=o.media,i=o.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var m=null,h=0;function g(e,t){var o,n,r;if(t.singleton){var i=h++;o=m||(m=c(t)),n=p.bind(null,o,i,!1),r=p.bind(null,o,i,!0)}else o=c(t),n=f.bind(null,o,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var o=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<o.length;n++){var r=l(o[n]);a[r].references--}for(var i=s(e,t),c=0;c<o.length;c++){var u=l(o[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}o=i}}}},function(e,t,o){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=function(e,t){var o=e[1]||"",n=e[3];if(!n)return o;if(t&&"function"==typeof btoa){var r=(a=n,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(s," */")),i=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[o].concat(i).concat([r]).join("\n")}var a,l,s;return[o].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(r[a]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);n&&r[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),t.push(s))}},t}},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=void 0;var r=n(o(45)),i=n(o(15));function a(e,t,o){var n,i={target:e,currentTarget:e};function a(e){e.target===e.currentTarget&&(clearTimeout(n),e.target.removeEventListener(r.default.end,a),t.call(this))}r.default.end?null==o&&(o=s(e)||0):o=0,r.default.end?(e.addEventListener(r.default.end,a,!1),n=setTimeout((function(){return a(i)}),1.5*(o||100))):setTimeout(a.bind(null,i),0)}a._parseDuration=s;var l=a;function s(e){var t=(0,i.default)(e,r.default.duration),o=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*o}t.default=l,e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=void 0;var r=n(o(53));t.on=r.default;var i=n(o(54));t.off=i.default;var a=n(o(118));t.filter=a.default;var l=n(o(35));t.listen=l.default;var s={on:r.default,off:i.default,filter:a.default,listen:l.default};t.default=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,o,n,r,i,a){var l=r||"<<anonymous>>",s=a||n;if(null==o[n])return t?new Error("Required "+i+" `"+s+"` was not specified in `"+l+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[o,n,l,i,s].concat(u))}var o=t.bind(null,!1);return o.isRequired=t.bind(null,!0),o},e.exports=t.default},function(e,t,o){"use strict";(function(t){var n=t.Symbol,r=o(103);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}).call(this,o(22))},function(e,t,o){"use strict";var n;t.__esModule=!0,t.default=void 0;var r=((n=o(0))&&n.__esModule?n:{default:n}).default.createContext({menuRef:function(){},toggleRef:function(){},onToggle:function(){},toggleNode:void 0,alignEnd:null,show:null,drop:null});t.default=r,e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=void 0;var r=n(o(14)).default?function(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):i(e,t)}:i;function i(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}t.default=r,e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=void 0;var r=n(o(14)),i=n(o(53)),a=n(o(54)),l=function(){};r.default&&(l=function(e,t,o,n){return(0,i.default)(e,t,o,n),function(){(0,a.default)(e,t,o,n)}});var s=l;t.default=s,e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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=a(o(0)),i=a(o(31));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i.default)((function(e,t,o,i,a){var l=e[t],s=void 0===l?"undefined":n(l);return r.default.isValidElement(l)?new Error("Invalid "+i+" `"+a+"` of type ReactElement supplied to `"+o+"`, expected a ReactComponent or a DOMElement. You can usually obtain a ReactComponent or DOMElement from a ReactElement by attaching a ref to it."):"object"===s&&"function"==typeof l.render||1===l.nodeType?null:new Error("Invalid "+i+" `"+a+"` of value `"+l+"` supplied to `"+o+"`, expected a ReactComponent or a DOMElement.")})),e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(n,(function(e,t){return t.toUpperCase()}))};var n=/-(.)/g;e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){var o=void 0===t?{}:t,n=o.propTypes,i=o.defaultProps,a=o.allowFallback,l=void 0!==a&&a,s=o.displayName,c=void 0===s?e.name||e.displayName:s,u=function(t,o){return e(t,o)};return Object.assign(r.default.forwardRef||!l?r.default.forwardRef(u):function(e){return u(e,null)},{displayName:c,propTypes:n,defaultProps:i})};var n,r=(n=o(0))&&n.__esModule?n:{default:n}},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=c(o(4)),r=c(o(0)),i=o(62),a=c(o(33)),l=c(o(114)),s=c(o(115));function c(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}var d=function(e){var t,o;function n(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).state={toggleId:null},t.popperIsInitialized=!1,t.handleClose=function(e){t.props.onToggle&&t.props.onToggle(!1,e)},t}o=e,(t=n).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o;var a=n.prototype;return a.getSnapshotBeforeUpdate=function(e){var t=!e.show&&this.props.show&&this.popperIsInitialized&&e.toggleNode===this.props.toggleNode;return this.props.show&&this.props.usePopper&&!this.popperIsInitialized&&(this.popperIsInitialized=!0),!!t},a.componentDidUpdate=function(e,t,o){o&&this.scheduleUpdate&&this.scheduleUpdate()},a.render=function(){var e=this,t=this.props,o=t.show,n=t.flip,a=t.menuRef,s=t.alignEnd,c=t.drop,d=t.usePopper,p=t.toggleNode,f=t.rootCloseEvent,m=t.popperConfig,h=void 0===m?{}:m,g=s?"bottom-end":"bottom-start";"up"===c&&(g=s?"top-end":"top-start"),"right"===c&&(g=s?"right-end":"right-start"),"left"===c&&(g=s?"left-end":"left-start");var b=null,v={ref:a,"aria-labelledby":p&&p.id},y={show:o,alignEnd:s,close:this.handleClose};return d?(this.popperIsInitialized||o)&&(p&&(h.referenceElement=p),b=r.default.createElement(i.Popper,u({},h,{innerRef:a,placement:g,eventsEnabled:!!o,modifiers:u({flip:{enabled:!!n}},h.modifiers)}),(function(t){var o=t.ref,n=t.style,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(t,["ref","style"]);return e.scheduleUpdate=r.scheduleUpdate,e.props.children(u({},r,y,{props:u({},v,{ref:o,style:n})}))}))):b=this.props.children(u({},y,{props:v})),b&&r.default.createElement(l.default,{disabled:!o,event:f,onRootClose:this.handleClose},b)},n}(r.default.Component);d.displayName="ReactOverlaysDropdownMenu",d.propTypes={children:n.default.func.isRequired,show:n.default.bool,alignEnd:n.default.bool,flip:n.default.bool,usePopper:n.default.oneOf([!0,!1]),popperConfig:n.default.object,rootCloseEvent:n.default.string,onToggle:n.default.func,menuRef:n.default.func,drop:n.default.string,toggleNode:n.default.any},d.defaultProps={usePopper:!0};var p=(0,s.default)(a.default,(function(e,t){var o=e.show,n=e.alignEnd,r=e.toggle;return{drop:e.drop,menuRef:e.menuRef,toggleNode:e.toggleNode,onToggle:r,show:null==o?t.show:o,alignEnd:null==n?t.alignEnd:n}}),d);t.default=p,e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=a(o(4)),r=a(o(0)),i=a(o(33));function a(e){return e&&e.__esModule?e:{default:e}}var l={children:n.default.func.isRequired};function s(e){var t=e.children;return r.default.createElement(i.default.Consumer,null,(function(e){var o=e.show,n=e.toggle,r=e.toggleRef;return t({show:o,toggle:n,props:{ref:r,"aria-haspopup":!0,"aria-expanded":!!o}})}))}s.displayName="ReactOverlaysDropdownToggle",s.propTypes=l;var c=s;t.default=c,e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=s(o(123)),r=s(o(15)),i=s(o(20)),a=s(o(126)),l=o(128);function s(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e){var t=void 0===e?{}:e,o=t.hideSiblingNodes,n=void 0===o||o,r=t.handleContainerOverflow,a=void 0===r||r;this.hideSiblingNodes=n,this.handleContainerOverflow=a,this.modals=[],this.containers=[],this.data=[],this.scrollbarSize=(0,i.default)()}var t=e.prototype;return t.isContainerOverflowing=function(e){var t=this.data[this.containerIndexFromModal(e)];return t&&t.overflowing},t.containerIndexFromModal=function(e){return t=this.data,o=function(t){return-1!==t.modals.indexOf(e)},n=-1,t.some((function(e,t){if(o(e,t))return n=t,!0})),n;var t,o,n},t.setContainerStyle=function(e,t){var o={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(o.paddingRight=parseInt((0,r.default)(t,"paddingRight")||0,10)+this.scrollbarSize+"px"),(0,r.default)(t,o)},t.removeContainerStyle=function(e,t){var o=e.style;Object.keys(o).forEach((function(e){t.style[e]=o[e]}))},t.add=function(e,t,o){var r=this.modals.indexOf(e),i=this.containers.indexOf(t);if(-1!==r)return r;if(r=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&(0,l.hideSiblings)(t,e),-1!==i)return this.data[i].modals.push(e),r;var s={modals:[e],classes:o?o.split(/\s+/):[],overflowing:(0,a.default)(t)};return this.handleContainerOverflow&&this.setContainerStyle(s,t),s.classes.forEach(n.default.addClass.bind(null,t)),this.containers.push(t),this.data.push(s),r},t.remove=function(e){var t=this.modals.indexOf(e);if(-1!==t){var o=this.containerIndexFromModal(e),r=this.data[o],i=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.classes.forEach(n.default.removeClass.bind(null,i)),this.handleContainerOverflow&&this.removeContainerStyle(r,i),this.hideSiblingNodes&&(0,l.showSiblings)(i,e),this.containers.splice(o,1),this.data.splice(o,1);else if(this.hideSiblingNodes){var a=r.modals[r.modals.length-1],s=a.backdrop,c=a.dialog;(0,l.ariaHidden)(!1,c),(0,l.ariaHidden)(!1,s)}}},t.isTopModal=function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e},e}();t.default=c,e.exports=t.default},function(e,t,o){"use strict";(function(e){
/**!
 * @fileOverview Kickass library to create and place poppers near their reference elements.
 * @version 1.16.1
 * @license
 * Copyright (c) 2016 Federico Zivolo and contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
var o="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,n=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(o&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=o&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),n))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?o[t]:o}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),o=t.overflow,n=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(o+r+n)?e:s(l(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=o&&!(!window.MSInputMethodContext||!document.documentMode),d=o&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?u:10===e?d:u||d}function f(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,o=e.offsetParent||null;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var n=o&&o.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(o.nodeName)&&"static"===a(o,"position")?f(o):o:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function h(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,r=o?t:e,i=document.createRange();i.setStart(n,0),i.setEnd(r,0);var a,l,s=i.commonAncestorContainer;if(e!==s&&t!==s||n.contains(r))return"BODY"===(l=(a=s).nodeName)||"HTML"!==l&&f(a.firstElementChild)!==a?f(s):s;var c=m(e);return c.host?h(c.host,t):h(e,m(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",o="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||r;return i[o]}return e[o]}function b(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(t,"top"),r=g(t,"left"),i=o?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=r*i,e.right+=r*i,e}function v(e,t){var o="x"===t?"Left":"Top",n="Left"===o?"Right":"Bottom";return parseFloat(e["border"+o+"Width"])+parseFloat(e["border"+n+"Width"])}function y(e,t,o,n){return Math.max(t["offset"+e],t["scroll"+e],o["client"+e],o["offset"+e],o["scroll"+e],p(10)?parseInt(o["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,o=e.documentElement,n=p(10)&&getComputedStyle(o);return{height:y("Height",t,o,n),width:y("Width",t,o,n)}}var x=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),C=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};function S(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function R(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var o=g(e,"top"),n=g(e,"left");t.top+=o,t.left+=n,t.bottom+=o,t.right+=n}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?w(e.ownerDocument):{},l=i.width||e.clientWidth||r.width,s=i.height||e.clientHeight||r.height,c=e.offsetWidth-l,u=e.offsetHeight-s;if(c||u){var d=a(e);c-=v(d,"x"),u-=v(d,"y"),r.width-=c,r.height-=u}return S(r)}function T(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=p(10),r="HTML"===t.nodeName,i=R(e),l=R(t),c=s(e),u=a(t),d=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);o&&r&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var m=S({top:i.top-l.top-d,left:i.left-l.left-f,width:i.width,height:i.height});if(m.marginTop=0,m.marginLeft=0,!n&&r){var h=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);m.top-=d-h,m.bottom-=d-h,m.left-=f-g,m.right-=f-g,m.marginTop=h,m.marginLeft=g}return(n&&!o?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(m=b(m,t)),m}function D(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.ownerDocument.documentElement,n=T(e,o),r=Math.max(o.clientWidth,window.innerWidth||0),i=Math.max(o.clientHeight,window.innerHeight||0),a=t?0:g(o),l=t?0:g(o,"left"),s={top:a-n.top+n.marginTop,left:l-n.left+n.marginLeft,width:r,height:i};return S(s)}function M(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var o=l(e);return!!o&&M(o)}function A(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,o,n){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=r?A(e):h(e,c(t));if("viewport"===n)i=D(a,r);else{var u=void 0;"scrollParent"===n?"BODY"===(u=s(l(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===n?e.ownerDocument.documentElement:n;var d=T(u,a,r);if("HTML"!==u.nodeName||M(a))i=d;else{var p=w(e.ownerDocument),f=p.height,m=p.width;i.top+=d.top-d.marginTop,i.bottom=f+d.top,i.left+=d.left-d.marginLeft,i.right=m+d.left}}var g="number"==typeof(o=o||0);return i.left+=g?o:o.left||0,i.top+=g?o:o.top||0,i.right-=g?o:o.right||0,i.bottom-=g?o:o.bottom||0,i}function _(e){return e.width*e.height}function O(e,t,o,n,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(o,n,i,r),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(l).map((function(e){return k({key:e},l[e],{area:_(l[e])})})).sort((function(e,t){return t.area-e.area})),c=s.filter((function(e){var t=e.width,n=e.height;return t>=o.clientWidth&&n>=o.clientHeight})),u=c.length>0?c[0].key:s[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function L(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=n?A(t):h(t,c(o));return T(o,r,n)}function N(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),o=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+o}}function z(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function j(e,t,o){o=o.split("-")[0];var n=N(e),r={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(o),a=i?"top":"left",l=i?"left":"top",s=i?"height":"width",c=i?"width":"height";return r[a]=t[a]+t[s]/2-n[s]/2,r[l]=o===l?t[l]-n[c]:t[z(l)],r}function I(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function F(e,t,o){return(void 0===o?e:e.slice(0,function(e,t,o){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===o}));var n=I(e,(function(e){return e[t]===o}));return e.indexOf(n)}(e,"name",o))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var o=e.function||e.fn;e.enabled&&i(o)&&(t.offsets.popper=S(t.offsets.popper),t.offsets.reference=S(t.offsets.reference),t=o(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=j(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=F(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var o=e.name;return e.enabled&&o===t}))}function U(e){for(var t=[!1,"ms","Webkit","Moz","O"],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var r=t[n],i=r?""+r+o:e;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(e){var t=e.ownerDocument;return t?t.defaultView:window}function G(e,t,o,n){o.updateBound=n,V(e).addEventListener("resize",o.updateBound,{passive:!0});var r=s(e);return function e(t,o,n,r){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(o,n,{passive:!0}),i||e(s(a.parentNode),o,n,r),r.push(a)}(r,"scroll",o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function q(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,V(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function $(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function K(e,t){Object.keys(t).forEach((function(o){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(o)&&$(t[o])&&(n="px"),e.style[o]=t[o]+n}))}var X=o&&/Firefox/i.test(navigator.userAgent);function Q(e,t,o){var n=I(e,(function(e){return e.name===t})),r=!!n&&e.some((function(e){return e.name===o&&e.enabled&&e.order<n.order}));if(!r){var i="`"+t+"`",a="`"+o+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=Z.indexOf(e),n=Z.slice(o+1).concat(Z.slice(0,o));return t?n.reverse():n}var te="flip",oe="clockwise",ne="counterclockwise";function re(e,t,o,n){var r=[0,0],i=-1!==["right","left"].indexOf(n),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),l=a.indexOf(I(a,(function(e){return-1!==e.search(/,|\s/)})));a[l]&&-1===a[l].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==l?[a.slice(0,l).concat([a[l].split(s)[0]]),[a[l].split(s)[1]].concat(a.slice(l+1))]:[a];return(c=c.map((function(e,n){var r=(1===n?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,o,n){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var l=void 0;switch(a){case"%p":l=o;break;case"%":case"%r":default:l=n}return S(l)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,r,t,o)}))}))).forEach((function(e,t){e.forEach((function(o,n){$(o)&&(r[t]+=o*("-"===e[n-1]?-1:1))}))})),r}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split("-")[0],n=t.split("-")[1];if(n){var r=e.offsets,i=r.reference,a=r.popper,l=-1!==["bottom","top"].indexOf(o),s=l?"left":"top",c=l?"width":"height",u={start:C({},s,i[s]),end:C({},s,i[s]+i[c]-a[c])};e.offsets.popper=k({},a,u[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var o=t.offset,n=e.placement,r=e.offsets,i=r.popper,a=r.reference,l=n.split("-")[0],s=void 0;return s=$(+o)?[+o,0]:re(o,i,a,l),"left"===l?(i.top+=s[0],i.left-=s[1]):"right"===l?(i.top+=s[0],i.left+=s[1]):"top"===l?(i.left+=s[0],i.top-=s[1]):"bottom"===l&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||f(e.instance.popper);e.instance.reference===o&&(o=f(o));var n=U("transform"),r=e.instance.popper.style,i=r.top,a=r.left,l=r[n];r.top="",r.left="",r[n]="";var s=P(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);r.top=i,r.left=a,r[n]=l,t.boundaries=s;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var o=u[e];return u[e]<s[e]&&!t.escapeWithReference&&(o=Math.max(u[e],s[e])),C({},e,o)},secondary:function(e){var o="right"===e?"left":"top",n=u[o];return u[e]>s[e]&&!t.escapeWithReference&&(n=Math.min(u[o],s[e]-("right"===e?u.width:u.height))),C({},o,n)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),l=a?"right":"bottom",s=a?"left":"top",c=a?"width":"height";return o[l]<i(n[s])&&(e.offsets.popper[s]=i(n[s])-o[c]),o[s]>i(n[l])&&(e.offsets.popper[s]=i(n[l])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var o;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,l=i.popper,s=i.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",d=c?"Top":"Left",p=d.toLowerCase(),f=c?"left":"top",m=c?"bottom":"right",h=N(n)[u];s[m]-h<l[p]&&(e.offsets.popper[p]-=l[p]-(s[m]-h)),s[p]+h>l[m]&&(e.offsets.popper[p]+=s[p]+h-l[m]),e.offsets.popper=S(e.offsets.popper);var g=s[p]+s[u]/2-h/2,b=a(e.instance.popper),v=parseFloat(b["margin"+d]),y=parseFloat(b["border"+d+"Width"]),w=g-e.offsets.popper[p]-v-y;return w=Math.max(Math.min(l[u]-h,w),0),e.arrowElement=n,e.offsets.arrow=(C(o={},p,Math.round(w)),C(o,f,""),o),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],r=z(n),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[n,r];break;case oe:a=ee(n);break;case ne:a=ee(n,!0);break;default:a=t.behavior}return a.forEach((function(l,s){if(n!==l||a.length===s+1)return e;n=e.placement.split("-")[0],r=z(n);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===n&&d(c.right)>d(u.left)||"right"===n&&d(c.left)<d(u.right)||"top"===n&&d(c.bottom)>d(u.top)||"bottom"===n&&d(c.top)<d(u.bottom),f=d(c.left)<d(o.left),m=d(c.right)>d(o.right),h=d(c.top)<d(o.top),g=d(c.bottom)>d(o.bottom),b="left"===n&&f||"right"===n&&m||"top"===n&&h||"bottom"===n&&g,v=-1!==["top","bottom"].indexOf(n),y=!!t.flipVariations&&(v&&"start"===i&&f||v&&"end"===i&&m||!v&&"start"===i&&h||!v&&"end"===i&&g),w=!!t.flipVariationsByContent&&(v&&"start"===i&&m||v&&"end"===i&&f||!v&&"start"===i&&g||!v&&"end"===i&&h),x=y||w;(p||b||x)&&(e.flipped=!0,(p||b)&&(n=a[s+1]),x&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=n+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,j(e.instance.popper,e.offsets.reference,e.placement)),e=F(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split("-")[0],n=e.offsets,r=n.popper,i=n.reference,a=-1!==["left","right"].indexOf(o),l=-1===["top","left"].indexOf(o);return r[a?"left":"top"]=i[o]-(l?r[a?"width":"height"]:0),e.placement=z(t),e.offsets.popper=S(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,o=I(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,n=t.y,r=e.offsets.popper,i=I(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,l=f(e.instance.popper),s=R(l),c={position:r.position},u=function(e,t){var o=e.offsets,n=o.popper,r=o.reference,i=Math.round,a=Math.floor,l=function(e){return e},s=i(r.width),c=i(n.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||s%2==c%2?i:a:l,f=t?i:l;return{left:p(s%2==1&&c%2==1&&!d&&t?n.left-1:n.left),top:f(n.top),bottom:f(n.bottom),right:p(n.right)}}(e,window.devicePixelRatio<2||!X),d="bottom"===o?"top":"bottom",p="right"===n?"left":"right",m=U("transform"),h=void 0,g=void 0;if(g="bottom"===d?"HTML"===l.nodeName?-l.clientHeight+u.bottom:-s.height+u.bottom:u.top,h="right"===p?"HTML"===l.nodeName?-l.clientWidth+u.right:-s.width+u.right:u.left,a&&m)c[m]="translate3d("+h+"px, "+g+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var b="bottom"===d?-1:1,v="right"===p?-1:1;c[d]=g*b,c[p]=h*v,c.willChange=d+", "+p}var y={"x-placement":e.placement};return e.attributes=k({},y,e.attributes),e.styles=k({},c,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,o;return K(e.instance.popper,e.styles),t=e.instance.popper,o=e.attributes,Object.keys(o).forEach((function(e){!1!==o[e]?t.setAttribute(e,o[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&K(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,r){var i=L(r,t,e,o.positionFixed),a=O(o.placement,i,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute("x-placement",a),K(t,{position:o.positionFixed?"fixed":"absolute"}),o},gpuAcceleration:void 0}}},ae=function(){function e(t,o){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=r(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){n.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var l=this.options.eventsEnabled;l&&this.enableEventListeners(),this.state.eventsEnabled=l}return E(e,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=J,ae.Defaults=ie,t.a=ae}).call(this,o(22))},function(e,t,o){"use strict";t.__esModule=!0;var n=i(o(0)),r=i(o(112));function i(e){return e&&e.__esModule?e:{default:e}}t.default=n.default.createContext||r.default,e.exports=t.default},function(e,t,o){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,l,s=a(e),c=1;c<arguments.length;c++){for(var u in o=Object(arguments[c]))r.call(o,u)&&(s[u]=o[u]);if(n){l=n(o);for(var d=0;d<l.length;d++)i.call(o,l[d])&&(s[l[d]]=o[l[d]])}}return s}},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r,i,a,l,s,c,u,d,p,f,m,h=n(o(14)),g="transform";if(t.transform=g,t.animationEnd=a,t.transitionEnd=i,t.transitionDelay=u,t.transitionTiming=c,t.transitionDuration=s,t.transitionProperty=l,t.animationDelay=m,t.animationTiming=f,t.animationDuration=p,t.animationName=d,h.default){var b=function(){for(var e,t,o=document.createElement("div").style,n={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},r=Object.keys(n),i="",a=0;a<r.length;a++){var l=r[a];if(l+"TransitionProperty"in o){i="-"+l.toLowerCase(),e=n[l]("TransitionEnd"),t=n[l]("AnimationEnd");break}}!e&&"transitionProperty"in o&&(e="transitionend");!t&&"animationName"in o&&(t="animationend");return o=null,{animationEnd:t,transitionEnd:e,prefix:i}}();r=b.prefix,t.transitionEnd=i=b.transitionEnd,t.animationEnd=a=b.animationEnd,t.transform=g=r+"-"+g,t.transitionProperty=l=r+"-transition-property",t.transitionDuration=s=r+"-transition-duration",t.transitionDelay=u=r+"-transition-delay",t.transitionTiming=c=r+"-transition-timing-function",t.animationName=d=r+"-animation-name",t.animationDuration=p=r+"-animation-duration",t.animationTiming=f=r+"-animation-delay",t.animationDelay=m=r+"-animation-timing-function"}var v={transform:g,end:i,property:l,timing:c,delay:u,duration:s};t.default=v},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e){return(0,r.default)(e.replace(i,"ms-"))};var r=n(o(37)),i=/^-ms-/;e.exports=t.default},function(e,t,o){"use strict";var n=Array.prototype.slice,r=o(48),i=Object.keys,a=i?function(e){return i(e)}:o(97),l=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return r(e)?l(n.call(e)):l(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,o){"use strict";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),o="[object Arguments]"===t;return o||(o="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),o}},function(e,t,o){"use strict";var n=function(e){return e!=e};e.exports=function(e,t){return 0===e&&0===t?1/e==1/t:e===t||!(!n(e)||!n(t))}},function(e,t,o){"use strict";var n=o(49);e.exports=function(){return"function"==typeof Object.is?Object.is:n}},function(e,t,o){"use strict";var n=Object,r=TypeError;e.exports=function(){if(null!=this&&this!==n(this))throw new r("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},function(e,t,o){"use strict";var n=o(51),r=o(23).supportsDescriptors,i=Object.getOwnPropertyDescriptor,a=TypeError;e.exports=function(){if(!r)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return n}},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=void 0;var r=function(){};n(o(14)).default&&(r=document.addEventListener?function(e,t,o,n){return e.addEventListener(t,o,n||!1)}:document.attachEvent?function(e,t,o){return e.attachEvent("on"+t,(function(t){(t=t||window.event).target=t.target||t.srcElement,t.currentTarget=e,o.call(e,t)}))}:void 0);var i=r;t.default=i,e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=void 0;var r=function(){};n(o(14)).default&&(r=document.addEventListener?function(e,t,o,n){return e.removeEventListener(t,o,n||!1)}:document.attachEvent?function(e,t,o){return e.detachEvent("on"+t,o)}:void 0);var i=r;t.default=i,e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e){return(0,r.default)(n.default.findDOMNode(e))};var n=i(o(6)),r=i(o(18));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){return null==e?t:(e="function"==typeof e?e():e,r.default.findDOMNode(e)||null)};var n,r=(n=o(6))&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,o){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function l(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,l)}s((n=n.apply(e,t||[])).next())}))},l=this&&this.__generator||function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},s=this&&this.__spreadArrays||function(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<o;t++)for(var i=arguments[t],a=0,l=i.length;a<l;a++,r++)n[r]=i[a];return n};t.__esModule=!0;var c=o(0),u=o(6),d=o(59),p=o(60),f=o(25),m=o(61),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:[],columns:t.props.columns},t.ref=null,t.htmlProps=null,t.mainId="tabulator-"+ +new Date+"-"+Math.floor(9999999*Math.random()),t.table=null,t.pickValidHTMLProps=function(){t.htmlProps||(t.htmlProps=d.pickHTMLProps(t.props),delete t.htmlProps.data,delete t.htmlProps.columns)},t}return r(t,e),t.prototype.componentDidMount=function(){return a(this,void 0,void 0,(function(){var e,t,o,n,r,a,s;return l(this,(function(l){switch(l.label){case 0:return e=u.findDOMNode(this.ref),t=this,o=this.props,n=o.columns,r=o.data,a=o.options,[4,p.propsToOptions(this.props)];case 1:return s=l.sent(),new m.default(e,i(i(i(i({columns:n},s),{layout:"fitColumns",tableBuilding:function(){t.table=this,t.props.tableBuilding&&t.props.tableBuilding()},dataLoaded:function(){t.props.dataLoaded&&t.props.dataLoaded()},invalidOptionWarnings:!1}),a),{data:r})),r&&r.length>0&&this.setState({data:r}),[2]}}))}))},t.prototype.componentWillUnmount=function(){this.table&&this.table.destroy()},t.getDerivedStateFromProps=function(e,t){var o=!e.data||0===e.data.length;return!t&&o||t&&t.data.length&&0===t.data.length&&e&&e.data&&0===e.data.length?null:!t||!e.data&&!e.columns||f.isSameArray(t.data,e.data)&&f.isSameArray(t.columns,e.columns)?{}:i(i({},t),{data:s(e.data),columns:s(e.columns)})},t.prototype.componentDidUpdate=function(e,t){f.isSameArray(t.data,this.state.data)||this.table&&this.table.setData(this.state.data),f.isSameArray(t.columns,this.state.columns)||this.table&&this.table.setColumns(this.state.columns)},t.prototype.render=function(){var e=this;this.pickValidHTMLProps();var t=this.props.className;return c.createElement("div",i({ref:function(t){return e.ref=t},"data-instance":this.mainId},this.htmlProps,{className:t}))},t}(c.Component);t.default=h},function(e,t){e.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}return o.m=e,o.c=t,o.p="",o(0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickSVGProps=t.pickHTMLProps=void 0;var n=i(o(1)),r=i(o(5));function i(e){return e&&e.__esModule?e:{default:e}}t.pickHTMLProps=n.default,t.pickSVGProps=r.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},r=a(o(2)),i=a(o(3));function a(e){return e&&e.__esModule?e:{default:e}}var l=n({},r.default,["about","datatype","defaultChecked","defaultValue","inlist","prefix","property","resource","typeof","vocab","autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave","allowtransparency","charSet","ismap","typemustmatch","onBlur","onChange","onClick","onContextMenu","onCopy","onCut","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onFocus","onInput","onKeyDown","onKeyPress","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPaste","onScroll","onSubmit","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onWheel","onCompositionEnd","onCompositionStart","onCompositionUpdate","onInvalid","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onSelect","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onLoad","onError","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onToggle"].reduce((function(e,t){return e[t]=t,e}),{}));t.default=(0,i.default)((function(e){return Boolean(l[e])||/^(data|aria)-/.test(e)}))},function(e,t){
/*!
   * html-attributes
   * https://github.com/alexmingoia/html-attributes
   */
"use strict";e.exports={abbr:"abbr",accept:"accept",acceptCharset:"accept-charset",accessKey:"accesskey",action:"action",allowFullScreen:"allowfullscreen",allowTransparency:"allowtransparency",alt:"alt",async:"async",autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",cellPadding:"cellpadding",cellSpacing:"cellspacing",challenge:"challenge",charset:"charset",checked:"checked",cite:"cite",class:"class",className:"class",cols:"cols",colSpan:"colspan",command:"command",content:"content",contentEditable:"contenteditable",contextMenu:"contextmenu",controls:"controls",coords:"coords",crossOrigin:"crossorigin",data:"data",dateTime:"datetime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",dropzone:"dropzone",encType:"enctype",for:"for",form:"form",formAction:"formaction",formEncType:"formenctype",formMethod:"formmethod",formNoValidate:"formnovalidate",formTarget:"formtarget",frameBorder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hrefLang:"hreflang",htmlFor:"for",httpEquiv:"http-equiv",icon:"icon",id:"id",inputMode:"inputmode",isMap:"ismap",itemId:"itemid",itemProp:"itemprop",itemRef:"itemref",itemScope:"itemscope",itemType:"itemtype",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",manifest:"manifest",max:"max",maxLength:"maxlength",media:"media",mediaGroup:"mediagroup",method:"method",min:"min",minLength:"minlength",multiple:"multiple",muted:"muted",name:"name",noValidate:"novalidate",open:"open",optimum:"optimum",pattern:"pattern",ping:"ping",placeholder:"placeholder",poster:"poster",preload:"preload",radioGroup:"radiogroup",readOnly:"readonly",rel:"rel",required:"required",role:"role",rows:"rows",rowSpan:"rowspan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",sortable:"sortable",span:"span",spellCheck:"spellcheck",src:"src",srcDoc:"srcdoc",srcSet:"srcset",start:"start",step:"step",style:"style",tabIndex:"tabindex",target:"target",title:"title",translate:"translate",type:"type",typeMustMatch:"typemustmatch",useMap:"usemap",value:"value",width:"width",wmode:"wmode",wrap:"wrap"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=o(4),i=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){return function(t){if(!(0,i.default)(t))throw new Error("props should be a plain object");var o={};for(var n in t)t.hasOwnProperty(n)&&e(n)&&(o[n]=t[n]);return o}}},function(e,t){var o,n,r=Function.prototype,i=Object.prototype,a=r.toString,l=i.hasOwnProperty,s=a.call(Object),c=i.toString,u=(o=Object.getPrototypeOf,n=Object,function(e){return o(n(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=u(e);if(null===t)return!0;var o=l.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&a.call(o)==s}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(o(3)),r=i(o(6));function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,n.default)((function(e){return Boolean(r.default[e])}))},function(e,t){
/*!
   * svg-attributes
   * https://github.com/alexmingoia/svg-attributes
   */
"use strict";e.exports={accentHeight:"accent-height",accumulate:"accumulate",additive:"additive",alphabetic:"alphabetic",amplitude:"amplitude",arabicForm:"arabic-form",ascent:"ascent",attributeName:"attributeName",attributeType:"attributeType",azimuth:"azimuth",baseFrequency:"baseFrequency",baseProfile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcMode:"calcMode",capHeight:"cap-height",class:"class",clipPathUnits:"clipPathUnits",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cx:"cx",cy:"cy",d:"d",descent:"descent",diffuseConstant:"diffuseConstant",divisor:"divisor",dur:"dur",dx:"dx",dy:"dy",edgeMode:"edgeMode",elevation:"elevation",end:"end",exponent:"exponent",externalResourcesRequired:"externalResourcesRequired",fill:"fill",filterRes:"filterRes",filterUnits:"filterUnits",fontFamily:"font-family",fontSize:"font-size",fontStretch:"font-stretch",fontStyle:"font-style",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphame:"glyph-name",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:"hanging",height:"height",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",id:"id",ideographic:"ideographic",in:"in",in2:"in2",intercept:"intercept",k:"k",k1:"k1",k2:"k2",k3:"k3",k4:"k4",kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lang:"lang",lengthAdjust:"lengthAdjust",limitingConeAngle:"limitingConeAngle",local:"local",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:"mathematical",max:"max",media:"media",method:"method",min:"min",mode:"mode",name:"name",numOctaves:"numOctaves",offset:"offset",onAbort:"onabort",onActivate:"onactivate",onBegin:"onbegin",onClick:"onclick",onEnd:"onend",onError:"onerror",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onLoad:"onload",onMouseDown:"onmousedown",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onRepeat:"onrepeat",onResize:"onresize",onScroll:"onscroll",onUnload:"onunload",onZoom:"onzoom",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overlinePosition:"overline-position",overlineThickness:"overline-thickness",panose1:"panose-1",path:"path",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",points:"points",pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:"r",radius:"radius",refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:"restart",result:"result",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",seed:"seed",slope:"slope",spacing:"spacing",specularConstant:"specularConstant",specularExponent:"specularExponent",spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchTiles:"stitchTiles",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:"string",style:"style",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",target:"target",targetX:"targetX",targetY:"targetY",textLength:"textLength",title:"title",to:"to",transform:"transform",type:"type",u1:"u1",u2:"u2",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:"unicode",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:"values",version:"version",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",width:"width",widths:"widths",x:"x",xHeight:"x-height",x1:"x1",x2:"x2",xChannelSelector:"xChannelSelector",xlink:"xlink",xml:"xml",y:"y",y1:"y1",y2:"y2",yChannelSelector:"yChannelSelector",z:"z",zoomAndPan:"zoomAndPan",alignmentBaseline:"alignment-baseline",baselineShift:"baseline-shift",clipPath:"clip-path",clipRule:"clip-rule",clip:"clip",colorInterpolationFilters:"color-interpolation-filters",colorInterpolation:"color-interpolation",colorProfile:"color-profile",colorRendering:"color-rendering",color:"color",cursor:"cursor",direction:"direction",display:"display",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:"filter",floodColor:"flood-color",floodOpacity:"flood-opacity",fontSizeAdjust:"font-size-adjust",fontVariant:"font-variant",fontWeight:"font-weight",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",imageRendering:"image-rendering",kerning:"kerning",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",mask:"mask",opacity:"opacity",overflow:"overflow",pointerEvents:"pointer-events",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",stroke:"stroke",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",unicodeBidi:"unicode-bidi",visibility:"visibility",wordSpacing:"word-spacing",writingMode:"writing-mode"}}])},function(e,t,o){"use strict";var n=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function l(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,l)}s((n=n.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};t.__esModule=!0;var i=o(131),a=o(6),l=function(){};function s(e,t){return new i.Promise((function(o,n){a.render(e,t,(function(){o(t)}))}))}t.propsToOptions=function(e){return n(void 0,void 0,void 0,(function(){var t,o,n,i,a,c,u,d;return r(this,(function(r){switch(r.label){case 0:for(t={},o=0,n=["height","layout","layoutColumnsOnNewData","columnMinWidth","columnVertAlign","resizableColumns","resizableRows","autoResize","tooltips","tooltipsHeader","tooltipGenerationMode","initialSort","initialFilter","initialHeaderFilter","footerElement","index","keybindings","clipboard","clipboardCopyStyled","clipboardCopySelector","clipboardCopyFormatter","clipboardCopyHeader","clipboardPasteParser","clipboardPasteAction","rowFormatter","placeholder","selectable"];o<n.length;o++)void 0!==e[i=n[o]]&&(t[i]=e[i]);for(a=0,c=["tableBuilt","rowClick","rowDblClick","rowContext","rowTap","rowDblTap","rowTapHold","rowAdded","rowDeleted","rowMoved","rowUpdated","rowSelectionChanged","rowSelected","rowDeselected","rowResized","cellClick","cellDblClick","cellContext","cellTap","cellDblTap","cellTapHold","cellEditing","cellEdited","cellEditCancelled","columnMoved","columnResized","columnTitleChanged","columnVisibilityChanged","htmlImporting","htmlImported","dataLoading","dataLoaded","dataChanged","ajaxRequesting","ajaxResponse","ajaxError","dataFiltering","dataFiltered","dataSorting","dataSorted","renderStarted","renderComplete","pageLoaded","localized","dataGrouping","dataGrouped","groupVisibilityChanged","groupClick","groupDblClick","groupContext","groupTap","groupDblTap","groupTapHold","movableRowsSendingStart","movableRowsSent","movableRowsSentFailed","movableRowsSendingStop","movableRowsReceivingStart","movableRowsReceived","movableRowsReceivedFailed","movableRowsReceivingStop","validationFailed","clipboardCopied","clipboardPasted","clipboardPasteError","downloadReady","downloadComplete"];a<c.length;a++)t[u=c[a]]=e[u]||l;return"object"!=typeof e.footerElement?[3,2]:[4,s(e.footerElement,document.createElement("div"))];case 1:d=r.sent(),t.footerElement=d.innerHTML,r.label=2;case 2:return[2,t]}}))}))}},function(t,o,n){"use strict";n.r(o);var 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};Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),o=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=arguments[1],r=0;r<o;){var i=t[r];if(e.call(n,i,r,t))return r;r++}return-1}}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),o=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=arguments[1],r=0;r<o;){var i=t[r];if(e.call(n,i,r,t))return i;r++}}}),String.prototype.includes||(String.prototype.includes=function(e,t){if(e instanceof RegExp)throw TypeError("first argument must not be a RegExp");return void 0===t&&(t=0),-1!==this.indexOf(e,t)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var o=Object(this),n=o.length>>>0;if(0===n)return!1;var r,i,a=0|t,l=Math.max(a>=0?a:n-Math.abs(a),0);for(;l<n;){if((r=o[l])===(i=e)||"number"==typeof r&&"number"==typeof i&&isNaN(r)&&isNaN(i))return!0;l++}return!1}}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=r[i])}return o},writable:!0,configurable:!0});var a=function(e){this.table=e,this.blockHozScrollEvent=!1,this.headersElement=this.createHeadersElement(),this.element=this.createHeaderElement(),this.rowManager=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.element.insertBefore(this.headersElement,this.element.firstChild)};a.prototype.createHeadersElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e},a.prototype.createHeaderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-header"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e},a.prototype.initialize=function(){},a.prototype.setRowManager=function(e){this.rowManager=e},a.prototype.getElement=function(){return this.element},a.prototype.getHeadersElement=function(){return this.headersElement},a.prototype.scrollHorizontal=function(e){var t=0,o=this.element.scrollWidth-this.table.element.clientWidth;this.element.scrollLeft=e,e>o?(t=e-o,this.element.style.marginLeft=-t+"px"):this.element.style.marginLeft=0,this.scrollLeft=e,this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.scrollHorizontal()},a.prototype.generateColumnsFromRowData=function(e){var t,o,n=[],i=this.table.options.autoColumnsDefinitions;if(e&&e.length){for(var a in t=e[0]){var l={field:a,title:a},s=t[a];switch(void 0===s?"undefined":r(s)){case"undefined":o="string";break;case"boolean":o="boolean";break;case"object":o=Array.isArray(s)?"array":"string";break;default:o=isNaN(s)||""===s?s.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?"alphanum":"string":"number"}l.sorter=o,n.push(l)}if(i)switch(void 0===i?"undefined":r(i)){case"function":this.table.options.columns=i.call(this.table,n);break;case"object":Array.isArray(i)?n.forEach((function(e){var t=i.find((function(t){return t.field===e.field}));t&&Object.assign(e,t)})):n.forEach((function(e){i[e.field]&&Object.assign(e,i[e.field])})),this.table.options.columns=n}else this.table.options.columns=n;this.setColumns(this.table.options.columns)}},a.prototype.setColumns=function(e,t){for(var o=this;o.headersElement.firstChild;)o.headersElement.removeChild(o.headersElement.firstChild);o.columns=[],o.columnsByIndex=[],o.columnsByField={},o.table.modExists("frozenColumns")&&o.table.modules.frozenColumns.reset(),e.forEach((function(e,t){o._addColumn(e)})),o._reIndexColumns(),o.table.options.responsiveLayout&&o.table.modExists("responsiveLayout",!0)&&o.table.modules.responsiveLayout.initialize(),this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitialize(!1,!0),o.redraw(!0)},a.prototype._addColumn=function(e,t,o){var n=new s(e,this),r=n.getElement(),i=o?this.findColumnIndex(o):o;if(o&&i>-1){var a=this.columns.indexOf(o.getTopColumn()),l=o.getElement();t?(this.columns.splice(a,0,n),l.parentNode.insertBefore(r,l)):(this.columns.splice(a+1,0,n),l.parentNode.insertBefore(r,l.nextSibling))}else t?(this.columns.unshift(n),this.headersElement.insertBefore(n.getElement(),this.headersElement.firstChild)):(this.columns.push(n),this.headersElement.appendChild(n.getElement())),n.columnRendered();return n},a.prototype.registerColumnField=function(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)},a.prototype.registerColumnPosition=function(e){this.columnsByIndex.push(e)},a.prototype._reIndexColumns=function(){this.columnsByIndex=[],this.columns.forEach((function(e){e.reRegisterPosition()}))},a.prototype._verticalAlignHeaders=function(){var e=this,t=0;e.columns.forEach((function(e){var o;e.clearVerticalAlign(),(o=e.getHeight())>t&&(t=o)})),e.columns.forEach((function(o){o.verticalAlign(e.table.options.columnHeaderVertAlign,t)})),e.rowManager.adjustTableSize()},a.prototype.findColumn=function(e){return"object"!=(void 0===e?"undefined":r(e))?this.columnsByField[e]||!1:e instanceof s?e:e instanceof l?e._getSelf()||!1:"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&this.columns.find((function(t){return t.element===e}))||!1},a.prototype.getColumnByField=function(e){return this.columnsByField[e]},a.prototype.getColumnsByFieldRoot=function(e){var t=this,o=[];return Object.keys(this.columnsByField).forEach((function(n){n.split(".")[0]===e&&o.push(t.columnsByField[n])})),o},a.prototype.getColumnByIndex=function(e){return this.columnsByIndex[e]},a.prototype.getFirstVisibileColumn=function(e){return(e=this.columnsByIndex.findIndex((function(e){return e.visible})))>-1&&this.columnsByIndex[e]},a.prototype.getColumns=function(){return this.columns},a.prototype.findColumnIndex=function(e){return this.columnsByIndex.findIndex((function(t){return e===t}))},a.prototype.getRealColumns=function(){return this.columnsByIndex},a.prototype.traverse=function(e){this.columnsByIndex.forEach((function(t,o){e(t,o)}))},a.prototype.getDefinitions=function(e){var t=[];return this.columnsByIndex.forEach((function(o){(!e||e&&o.visible)&&t.push(o.getDefinition())})),t},a.prototype.getDefinitionTree=function(){var e=[];return this.columns.forEach((function(t){e.push(t.getDefinition(!0))})),e},a.prototype.getComponents=function(e){var t=[];return(e?this.columns:this.columnsByIndex).forEach((function(e){t.push(e.getComponent())})),t},a.prototype.getWidth=function(){var e=0;return this.columnsByIndex.forEach((function(t){t.visible&&(e+=t.getWidth())})),e},a.prototype.moveColumn=function(e,t,o){this.moveColumnActual(e,t,o),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),t.element.parentNode.insertBefore(e.element,t.element),o&&t.element.parentNode.insertBefore(t.element,e.element),this._verticalAlignHeaders(),this.table.rowManager.reinitialize()},a.prototype.moveColumnActual=function(e,t,o){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,t,o):this._moveColumnInArray(this.columns,e,t,o),this._moveColumnInArray(this.columnsByIndex,e,t,o,!0),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitialize(!0),this.table.options.columnMoved&&this.table.options.columnMoved.call(this.table,e.getComponent(),this.table.columnManager.getComponents()),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.columns&&this.table.modules.persistence.save("columns")},a.prototype._moveColumnInArray=function(e,t,o,n,r){var i,a=this,l=e.indexOf(t),s=[];l>-1&&(e.splice(l,1),(i=e.indexOf(o))>-1?n&&(i+=1):i=l,e.splice(i,0,t),r&&(this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.rowManager.rows.forEach((function(e){s=s.concat(a.table.modules.dataTree.getTreeChildren(e,!1,!0))})),(s=s.concat(this.table.rowManager.rows)).forEach((function(e){if(e.cells.length){var t=e.cells.splice(l,1)[0];e.cells.splice(i,0,t)}}))))},a.prototype.scrollToColumn=function(e,t,o){var n=this,r=0,i=0,a=0,l=e.getElement();return new Promise((function(s,c){if(void 0===t&&(t=n.table.options.scrollToColumnPosition),void 0===o&&(o=n.table.options.scrollToColumnIfVisible),e.visible){switch(t){case"middle":case"center":a=-n.element.clientWidth/2;break;case"right":a=l.clientWidth-n.headersElement.clientWidth}if(!o&&(i=l.offsetLeft)>0&&i+l.offsetWidth<n.element.clientWidth)return!1;r=l.offsetLeft+a,r=Math.max(Math.min(r,n.table.rowManager.element.scrollWidth-n.table.rowManager.element.clientWidth),0),n.table.rowManager.scrollHorizontal(r),n.scrollHorizontal(r),s()}else console.warn("Scroll Error - Column not visible"),c("Scroll Error - Column not visible")}))},a.prototype.generateCells=function(e){var t=[];return this.columnsByIndex.forEach((function(o){t.push(o.generateCell(e))})),t},a.prototype.getFlexBaseWidth=function(){var e=this,t=e.table.element.clientWidth,o=0;return e.rowManager.element.scrollHeight>e.rowManager.element.clientHeight&&(t-=e.rowManager.element.offsetWidth-e.rowManager.element.clientWidth),this.columnsByIndex.forEach((function(n){var r,i,a;n.visible&&(r=n.definition.width||0,i=void 0===n.minWidth?e.table.options.columnMinWidth:parseInt(n.minWidth),a="string"==typeof r?r.indexOf("%")>-1?t/100*parseInt(r):parseInt(r):r,o+=a>i?a:i)})),o},a.prototype.addColumn=function(e,t,o){var n=this;return new Promise((function(r,i){var a=n._addColumn(e,t,o);n._reIndexColumns(),n.table.options.responsiveLayout&&n.table.modExists("responsiveLayout",!0)&&n.table.modules.responsiveLayout.initialize(),n.table.modExists("columnCalcs")&&n.table.modules.columnCalcs.recalc(n.table.rowManager.activeRows),n.redraw(),"fitColumns"!=n.table.modules.layout.getMode()&&a.reinitializeWidth(),n._verticalAlignHeaders(),n.table.rowManager.reinitialize(),n.table.options.virtualDomHoz&&n.table.vdomHoz.reinitialize(),r(a)}))},a.prototype.deregisterColumn=function(e){var t,o=e.getField();o&&delete this.columnsByField[o],(t=this.columnsByIndex.indexOf(e))>-1&&this.columnsByIndex.splice(t,1),(t=this.columns.indexOf(e))>-1&&this.columns.splice(t,1),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.initialize(),this._verticalAlignHeaders(),this.redraw()},a.prototype.redraw=function(e){e&&(g.prototype.helpers.elVisible(this.element)&&this._verticalAlignHeaders(),this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),["fitColumns","fitDataStretch"].indexOf(this.table.modules.layout.getMode())>-1||e?this.table.modules.layout.layout():this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout(),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),e&&(this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.columns&&this.table.modules.persistence.save("columns"),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.redraw()),this.table.footerManager.redraw()};var l=function(e){this._column=e,this.type="ColumnComponent"};l.prototype.getElement=function(){return this._column.getElement()},l.prototype.getDefinition=function(){return this._column.getDefinition()},l.prototype.getField=function(){return this._column.getField()},l.prototype.getCells=function(){var e=[];return this._column.cells.forEach((function(t){e.push(t.getComponent())})),e},l.prototype.getVisibility=function(){return console.warn("getVisibility function is deprecated, you should now use the isVisible function"),this._column.visible},l.prototype.isVisible=function(){return this._column.visible},l.prototype.show=function(){this._column.isGroup?this._column.columns.forEach((function(e){e.show()})):this._column.show()},l.prototype.hide=function(){this._column.isGroup?this._column.columns.forEach((function(e){e.hide()})):this._column.hide()},l.prototype.toggle=function(){this._column.visible?this.hide():this.show()},l.prototype.delete=function(){return this._column.delete()},l.prototype.getSubColumns=function(){var e=[];return this._column.columns.length&&this._column.columns.forEach((function(t){e.push(t.getComponent())})),e},l.prototype.getParentColumn=function(){return this._column.parent instanceof s&&this._column.parent.getComponent()},l.prototype._getSelf=function(){return this._column},l.prototype.scrollTo=function(){return this._column.table.columnManager.scrollToColumn(this._column)},l.prototype.getTable=function(){return this._column.table},l.prototype.headerFilterFocus=function(){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.setHeaderFilterFocus(this._column)},l.prototype.reloadHeaderFilter=function(){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.reloadHeaderFilter(this._column)},l.prototype.getHeaderFilterValue=function(){if(this._column.table.modExists("filter",!0))return this._column.table.modules.filter.getHeaderFilterValue(this._column)},l.prototype.setHeaderFilterValue=function(e){this._column.table.modExists("filter",!0)&&this._column.table.modules.filter.setHeaderFilterValue(this._column,e)},l.prototype.move=function(e,t){var o=this._column.table.columnManager.findColumn(e);o?this._column.table.columnManager.moveColumn(this._column,o,t):console.warn("Move Error - No matching column found:",o)},l.prototype.getNextColumn=function(){var e=this._column.nextColumn();return!!e&&e.getComponent()},l.prototype.getPrevColumn=function(){var e=this._column.prevColumn();return!!e&&e.getComponent()},l.prototype.updateDefinition=function(e){return this._column.updateDefinition(e)},l.prototype.getWidth=function(){return this._column.getWidth()},l.prototype.setWidth=function(e){var t;return t=!0===e?this._column.reinitializeWidth(!0):this._column.setWidth(e),this._column.table.options.virtualDomHoz&&this._column.table.vdomHoz.reinitialize(!0),t},l.prototype.validate=function(){return this._column.validate()};var s=function e(t,o){var n=this;this.table=o.table,this.definition=t,this.parent=o,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.tooltip=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleFormatterRendered=!1,this.setField(this.definition.field),this.table.options.invalidOptionWarnings&&this.checkDefinition(),this.modules={},this.cellEvents={cellClick:!1,cellDblClick:!1,cellContext:!1,cellTap:!1,cellDblTap:!1,cellTapHold:!1,cellMouseEnter:!1,cellMouseLeave:!1,cellMouseOver:!1,cellMouseOut:!1,cellMouseMove:!1},this.width=null,this.widthStyled="",this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this._mapDepricatedFunctionality(),t.columns?(this.isGroup=!0,t.columns.forEach((function(t,o){var r=new e(t,n);n.attachColumn(r)})),n.checkColumnVisibility()):o.registerColumnField(this),t.rowHandle&&!1!==this.table.options.movableRows&&this.table.modExists("moveRow")&&this.table.modules.moveRow.setHandle(!0),this._buildHeader(),this.bindModuleColumns()};s.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),e},s.prototype.createGroupElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e},s.prototype.checkDefinition=function(){var e=this;Object.keys(this.definition).forEach((function(t){-1===e.defaultOptionList.indexOf(t)&&console.warn("Invalid column definition option in '"+(e.field||e.definition.title)+"' column:",t)}))},s.prototype.setField=function(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData},s.prototype.registerColumnPosition=function(e){this.parent.registerColumnPosition(e)},s.prototype.registerColumnField=function(e){this.parent.registerColumnField(e)},s.prototype.reRegisterPosition=function(){this.isGroup?this.columns.forEach((function(e){e.reRegisterPosition()})):this.registerColumnPosition(this)},s.prototype._mapDepricatedFunctionality=function(){void 0!==this.definition.hideInHtml&&(this.definition.htmlOutput=!this.definition.hideInHtml,console.warn("hideInHtml column definition property is deprecated, you should now use htmlOutput")),void 0!==this.definition.align&&(this.definition.hozAlign=this.definition.align,console.warn("align column definition property is deprecated, you should now use hozAlign")),void 0!==this.definition.downloadTitle&&(this.definition.titleDownload=this.definition.downloadTitle,console.warn("downloadTitle definition property is deprecated, you should now use titleDownload"))},s.prototype.setTooltip=function(){var e=this,t=e.definition,o=t.headerTooltip||!1===t.tooltip?t.headerTooltip:e.table.options.tooltipsHeader;o?!0===o?t.field?e.table.modules.localize.bind("columns|"+t.field,(function(o){e.element.setAttribute("title",o||t.title)})):e.element.setAttribute("title",t.title):("function"==typeof o&&!1===(o=o(e.getComponent()))&&(o=""),e.element.setAttribute("title",o)):e.element.setAttribute("title","")},s.prototype._buildHeader=function(){for(var e=this,t=e.definition;e.element.firstChild;)e.element.removeChild(e.element.firstChild);t.headerVertical&&(e.element.classList.add("tabulator-col-vertical"),"flip"===t.headerVertical&&e.element.classList.add("tabulator-col-vertical-flip")),e.contentElement=e._bindEvents(),e.contentElement=e._buildColumnHeaderContent(),e.element.appendChild(e.contentElement),e.isGroup?e._buildGroupHeader():e._buildColumnHeader(),e.setTooltip(),e.table.options.resizableColumns&&e.table.modExists("resizeColumns")&&e.table.modules.resizeColumns.initializeColumn("header",e,e.element),t.headerFilter&&e.table.modExists("filter")&&e.table.modExists("edit")&&(void 0!==t.headerFilterPlaceholder&&t.field&&e.table.modules.localize.setHeaderFilterColumnPlaceholder(t.field,t.headerFilterPlaceholder),e.table.modules.filter.initializeColumn(e)),e.table.modExists("frozenColumns")&&e.table.modules.frozenColumns.initializeColumn(e),e.table.options.movableColumns&&!e.isGroup&&e.table.modExists("moveColumn")&&e.table.modules.moveColumn.initializeColumn(e),(t.topCalc||t.bottomCalc)&&e.table.modExists("columnCalcs")&&e.table.modules.columnCalcs.initializeColumn(e),e.table.modExists("persistence")&&e.table.modules.persistence.config.columns&&e.table.modules.persistence.initializeColumn(e),e.element.addEventListener("mouseenter",(function(t){e.setTooltip()}))},s.prototype._bindEvents=function(){var e,t,o,n=this,r=n.definition;"function"==typeof r.headerClick&&n.element.addEventListener("click",(function(e){r.headerClick(e,n.getComponent())})),"function"==typeof r.headerDblClick&&n.element.addEventListener("dblclick",(function(e){r.headerDblClick(e,n.getComponent())})),"function"==typeof r.headerContext&&n.element.addEventListener("contextmenu",(function(e){r.headerContext(e,n.getComponent())})),"function"==typeof r.headerTap&&(o=!1,n.element.addEventListener("touchstart",(function(e){o=!0}),{passive:!0}),n.element.addEventListener("touchend",(function(e){o&&r.headerTap(e,n.getComponent()),o=!1}))),"function"==typeof r.headerDblTap&&(e=null,n.element.addEventListener("touchend",(function(t){e?(clearTimeout(e),e=null,r.headerDblTap(t,n.getComponent())):e=setTimeout((function(){clearTimeout(e),e=null}),300)}))),"function"==typeof r.headerTapHold&&(t=null,n.element.addEventListener("touchstart",(function(e){clearTimeout(t),t=setTimeout((function(){clearTimeout(t),t=null,o=!1,r.headerTapHold(e,n.getComponent())}),1e3)}),{passive:!0}),n.element.addEventListener("touchend",(function(e){clearTimeout(t),t=null}))),"function"==typeof r.cellClick&&(n.cellEvents.cellClick=r.cellClick),"function"==typeof r.cellDblClick&&(n.cellEvents.cellDblClick=r.cellDblClick),"function"==typeof r.cellContext&&(n.cellEvents.cellContext=r.cellContext),"function"==typeof r.cellMouseEnter&&(n.cellEvents.cellMouseEnter=r.cellMouseEnter),"function"==typeof r.cellMouseLeave&&(n.cellEvents.cellMouseLeave=r.cellMouseLeave),"function"==typeof r.cellMouseOver&&(n.cellEvents.cellMouseOver=r.cellMouseOver),"function"==typeof r.cellMouseOut&&(n.cellEvents.cellMouseOut=r.cellMouseOut),"function"==typeof r.cellMouseMove&&(n.cellEvents.cellMouseMove=r.cellMouseMove),"function"==typeof r.cellTap&&(n.cellEvents.cellTap=r.cellTap),"function"==typeof r.cellDblTap&&(n.cellEvents.cellDblTap=r.cellDblTap),"function"==typeof r.cellTapHold&&(n.cellEvents.cellTapHold=r.cellTapHold),"function"==typeof r.cellEdited&&(n.cellEvents.cellEdited=r.cellEdited),"function"==typeof r.cellEditing&&(n.cellEvents.cellEditing=r.cellEditing),"function"==typeof r.cellEditCancelled&&(n.cellEvents.cellEditCancelled=r.cellEditCancelled)},s.prototype._buildColumnHeader=function(){var e=this,t=this.definition,o=this.table;(o.modExists("sort")&&o.modules.sort.initializeColumn(this,this.titleHolderElement),(t.headerContextMenu||t.headerClickMenu||t.headerMenu)&&o.modExists("menu")&&o.modules.menu.initializeColumnHeader(this),o.modExists("format")&&o.modules.format.initializeColumn(this),void 0!==t.editor&&o.modExists("edit")&&o.modules.edit.initializeColumn(this),void 0!==t.validator&&o.modExists("validate")&&o.modules.validate.initializeColumn(this),o.modExists("mutator")&&o.modules.mutator.initializeColumn(this),o.modExists("accessor")&&o.modules.accessor.initializeColumn(this),r(o.options.responsiveLayout)&&o.modExists("responsiveLayout")&&o.modules.responsiveLayout.initializeColumn(this),void 0!==t.visible&&(t.visible?this.show(!0):this.hide(!0)),t.cssClass)&&t.cssClass.split(" ").forEach((function(t){e.element.classList.add(t)}));t.field&&this.element.setAttribute("tabulator-field",t.field),this.setMinWidth(void 0===t.minWidth?this.table.options.columnMinWidth:parseInt(t.minWidth)),this.reinitializeWidth(),this.tooltip=this.definition.tooltip||!1===this.definition.tooltip?this.definition.tooltip:this.table.options.tooltips,this.hozAlign=void 0===this.definition.hozAlign?this.table.options.cellHozAlign:this.definition.hozAlign,this.vertAlign=void 0===this.definition.vertAlign?this.table.options.cellVertAlign:this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign||this.table.options.headerHozAlign},s.prototype._buildColumnHeaderContent=function(){this.definition,this.table;var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e},s.prototype._buildColumnHeaderTitle=function(){var e=this,t=e.definition,o=e.table,n=document.createElement("div");if(n.classList.add("tabulator-col-title"),t.editableTitle){var r=document.createElement("input");r.classList.add("tabulator-title-editor"),r.addEventListener("click",(function(e){e.stopPropagation(),r.focus()})),r.addEventListener("change",(function(){t.title=r.value,o.options.columnTitleChanged.call(e.table,e.getComponent())})),n.appendChild(r),t.field?o.modules.localize.bind("columns|"+t.field,(function(e){r.value=e||t.title||"&nbsp;"})):r.value=t.title||"&nbsp;"}else t.field?o.modules.localize.bind("columns|"+t.field,(function(o){e._formatColumnHeaderTitle(n,o||t.title||"&nbsp;")})):e._formatColumnHeaderTitle(n,t.title||"&nbsp;");return n},s.prototype._formatColumnHeaderTitle=function(e,t){var o,n,i,a,l,s=this;if(this.definition.titleFormatter&&this.table.modExists("format"))switch(o=this.table.modules.format.getFormatter(this.definition.titleFormatter),l=function(e){s.titleFormatterRendered=e},a={getValue:function(){return t},getElement:function(){return e}},i="function"==typeof(i=this.definition.titleFormatterParams||{})?i():i,void 0===(n=o.call(this.table.modules.format,a,i,l))?"undefined":r(n)){case"object":n instanceof Node?e.appendChild(n):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",n));break;case"undefined":case"null":e.innerHTML="";break;default:e.innerHTML=n}else e.innerHTML=t},s.prototype._buildGroupHeader=function(){var e=this;(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass)&&this.definition.cssClass.split(" ").forEach((function(t){e.element.classList.add(t)}));(this.definition.headerContextMenu||this.definition.headerMenu)&&this.table.modExists("menu")&&this.table.modules.menu.initializeColumnHeader(this),this.element.appendChild(this.groupElement)},s.prototype._getFlatData=function(e){return e[this.field]},s.prototype._getNestedData=function(e){for(var t,o=e,n=this.fieldStructure,r=n.length,i=0;i<r&&(t=o=o[n[i]],o);i++);return t},s.prototype._setFlatData=function(e,t){this.field&&(e[this.field]=t)},s.prototype._setNestedData=function(e,t){for(var o=e,n=this.fieldStructure,r=n.length,i=0;i<r;i++)if(i==r-1)o[n[i]]=t;else{if(!o[n[i]]){if(void 0===t)break;o[n[i]]={}}o=o[n[i]]}},s.prototype.attachColumn=function(e){this.groupElement?(this.columns.push(e),this.groupElement.appendChild(e.getElement())):console.warn("Column Warning - Column being attached to another column instead of column group")},s.prototype.verticalAlign=function(e,t){var o=this.parent.isGroup?this.parent.getGroupElement().clientHeight:t||this.parent.getHeadersElement().clientHeight;this.element.style.height=o+"px",this.isGroup&&(this.groupElement.style.minHeight=o-this.contentElement.offsetHeight+"px"),this.isGroup||"top"===e||(this.element.style.paddingTop="bottom"===e?this.element.clientHeight-this.contentElement.offsetHeight+"px":(this.element.clientHeight-this.contentElement.offsetHeight)/2+"px"),this.columns.forEach((function(t){t.verticalAlign(e)}))},s.prototype.clearVerticalAlign=function(){this.element.style.paddingTop="",this.element.style.height="",this.element.style.minHeight="",this.groupElement.style.minHeight="",this.columns.forEach((function(e){e.clearVerticalAlign()}))},s.prototype.bindModuleColumns=function(){"rownum"==this.definition.formatter&&(this.table.rowManager.rowNumColumn=this)},s.prototype.getElement=function(){return this.element},s.prototype.getGroupElement=function(){return this.groupElement},s.prototype.getField=function(){return this.field},s.prototype.getFirstColumn=function(){return this.isGroup?!!this.columns.length&&this.columns[0].getFirstColumn():this},s.prototype.getLastColumn=function(){return this.isGroup?!!this.columns.length&&this.columns[this.columns.length-1].getLastColumn():this},s.prototype.getColumns=function(){return this.columns},s.prototype.getCells=function(){return this.cells},s.prototype.getTopColumn=function(){return this.parent.isGroup?this.parent.getTopColumn():this},s.prototype.getDefinition=function(e){var t=[];return this.isGroup&&e&&(this.columns.forEach((function(e){t.push(e.getDefinition(!0))})),this.definition.columns=t),this.definition},s.prototype.checkColumnVisibility=function(){var e=!1;this.columns.forEach((function(t){t.visible&&(e=!0)})),e?(this.show(),this.parent.table.options.columnVisibilityChanged.call(this.table,this.getComponent(),!1)):this.hide()},s.prototype.show=function(e,t){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach((function(e){e.show()})),this.isGroup||null!==this.width||this.reinitializeWidth(),this.table.columnManager._verticalAlignHeaders(),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.columns&&this.table.modules.persistence.save("columns"),!t&&this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.updateColumnVisibility(this,this.visible),e||this.table.options.columnVisibilityChanged.call(this.table,this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths())},s.prototype.hide=function(e,t){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager._verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach((function(e){e.hide()})),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.columns&&this.table.modules.persistence.save("columns"),!t&&this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.updateColumnVisibility(this,this.visible),e||this.table.options.columnVisibilityChanged.call(this.table,this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths())},s.prototype.matchChildWidths=function(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach((function(t){t.visible&&(e+=t.getWidth())})),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())},s.prototype.setWidth=function(e){this.widthFixed=!0,this.setWidthActual(e)},s.prototype.setWidthActual=function(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach((function(e){e.setWidth()})),this.parent.isGroup&&this.parent.matchChildWidths(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()},s.prototype.checkCellHeights=function(){var e=[];this.cells.forEach((function(t){t.row.heightInitialized&&(null!==t.row.getElement().offsetParent?(e.push(t.row),t.row.clearCellHeight()):t.row.heightInitialized=!1)})),e.forEach((function(e){e.calcHeight()})),e.forEach((function(e){e.setCellHeight()}))},s.prototype.getWidth=function(){var e=0;return this.isGroup?this.columns.forEach((function(t){t.visible&&(e+=t.getWidth())})):e=this.width,e},s.prototype.getHeight=function(){return this.element.offsetHeight},s.prototype.setMinWidth=function(e){this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach((function(e){e.setMinWidth()}))},s.prototype.delete=function(){var e=this;return new Promise((function(t,o){e.isGroup&&e.columns.forEach((function(e){e.delete()})),e.table.modExists("edit")&&e.table.modules.edit.currentCell.column===e&&e.table.modules.edit.cancelEdit();for(var n=e.cells.length,r=0;r<n;r++)e.cells[0].delete();e.element.parentNode&&e.element.parentNode.removeChild(e.element),e.element=!1,e.contentElement=!1,e.titleElement=!1,e.groupElement=!1,e.table.columnManager.deregisterColumn(e),e.table.options.virtualDomHoz&&e.table.vdomHoz.reinitialize(!0),t()}))},s.prototype.columnRendered=function(){this.titleFormatterRendered&&this.titleFormatterRendered()},s.prototype.validate=function(){var e=[];return this.cells.forEach((function(t){t.validate()||e.push(t.getComponent())})),!e.length||e},s.prototype.generateCell=function(e){var t=new m(this,e);return this.cells.push(t),t},s.prototype.nextColumn=function(){var e=this.table.columnManager.findColumnIndex(this);return e>-1&&this._nextVisibleColumn(e+1)},s.prototype._nextVisibleColumn=function(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._nextVisibleColumn(e+1)},s.prototype.prevColumn=function(){var e=this.table.columnManager.findColumnIndex(this);return e>-1&&this._prevVisibleColumn(e-1)},s.prototype._prevVisibleColumn=function(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._prevVisibleColumn(e-1)},s.prototype.reinitializeWidth=function(e){this.widthFixed=!1,void 0===this.definition.width||e||this.setWidth(this.definition.width),this.table.modExists("filter")&&this.table.modules.filter.hideHeaderFilterElements(),this.fitToData(),this.table.modExists("filter")&&this.table.modules.filter.showHeaderFilterElements()},s.prototype.fitToData=function(){this.widthFixed||(this.element.style.width="",this.cells.forEach((function(e){e.clearWidth()})));var e=this.element.offsetWidth;this.width&&this.widthFixed||(this.cells.forEach((function(t){var o=t.getWidth();o>e&&(e=o)})),e&&this.setWidthActual(e+1))},s.prototype.updateDefinition=function(e){var t=this;return new Promise((function(o,n){var r;t.isGroup?(console.warn("Column Update Error - The updateDefinition function is only available on columns, not column groups"),n("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},t.getDefinition()),r=Object.assign(r,e),t.table.columnManager.addColumn(r,!1,t).then((function(e){r.field==t.field&&(t.field=!1),t.delete().then((function(){o(e.getComponent())})).catch((function(e){n(e)}))})).catch((function(e){n(e)})))}))},s.prototype.deleteCell=function(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)},s.prototype.defaultOptionList=["title","field","columns","visible","align","hozAlign","vertAlign","width","minWidth","widthGrow","widthShrink","resizable","frozen","responsive","tooltip","cssClass","rowHandle","hideInHtml","print","htmlOutput","sorter","sorterParams","formatter","formatterParams","variableHeight","editable","editor","editorParams","validator","mutator","mutatorParams","mutatorData","mutatorDataParams","mutatorEdit","mutatorEditParams","mutatorClipboard","mutatorClipboardParams","accessor","accessorParams","accessorData","accessorDataParams","accessorDownload","accessorDownloadParams","accessorClipboard","accessorClipboardParams","accessorPrint","accessorPrintParams","accessorHtmlOutput","accessorHtmlOutputParams","clipboard","download","downloadTitle","topCalc","topCalcParams","topCalcFormatter","topCalcFormatterParams","bottomCalc","bottomCalcParams","bottomCalcFormatter","bottomCalcFormatterParams","cellClick","cellDblClick","cellContext","cellTap","cellDblTap","cellTapHold","cellMouseEnter","cellMouseLeave","cellMouseOver","cellMouseOut","cellMouseMove","cellEditing","cellEdited","cellEditCancelled","headerSort","headerSortStartingDir","headerSortTristate","headerClick","headerDblClick","headerContext","headerTap","headerDblTap","headerTapHold","headerTooltip","headerVertical","headerHozAlign","editableTitle","titleFormatter","titleFormatterParams","headerFilter","headerFilterPlaceholder","headerFilterParams","headerFilterEmptyCheck","headerFilterFunc","headerFilterFuncParams","headerFilterLiveFilter","print","headerContextMenu","headerMenu","contextMenu","clickMenu","formatterPrint","formatterPrintParams","formatterClipboard","formatterClipboardParams","formatterHtmlOutput","formatterHtmlOutputParams","titlePrint","titleClipboard","titleHtmlOutput","titleDownload"],s.prototype.getComponent=function(){return this.component||(this.component=new l(this)),this.component};var c=function(e){this.table=e,this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.columnManager=null,this.height=0,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[],this.rowNumColumn=!1,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRederInPosition=!1};c.prototype.createHolderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-tableHolder"),e.setAttribute("tabindex",0),e},c.prototype.createTableElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e},c.prototype.getElement=function(){return this.element},c.prototype.getTableElement=function(){return this.tableElement},c.prototype.getRowPosition=function(e,t){return t?this.activeRows.indexOf(e):this.rows.indexOf(e)},c.prototype.setColumnManager=function(e){this.columnManager=e},c.prototype.initialize=function(){var e=this;e.setRenderMode(),e.element.appendChild(e.tableElement),e.firstRender=!0,e.element.addEventListener("scroll",(function(){var t=e.element.scrollLeft;e.scrollLeft!=t&&(e.columnManager.scrollHorizontal(t),e.table.options.groupBy&&e.table.modules.groupRows.scrollHeaders(t),e.table.modExists("columnCalcs")&&e.table.modules.columnCalcs.scrollHorizontal(t),e.table.options.scrollHorizontal(t)),e.scrollLeft=t})),"virtual"===this.renderMode&&e.element.addEventListener("scroll",(function(){var t=e.element.scrollTop,o=e.scrollTop>t;e.scrollTop!=t?(e.scrollTop=t,e.scrollVertical(o),"scroll"==e.table.options.ajaxProgressiveLoad&&e.table.modules.ajax.nextPage(e.element.scrollHeight-e.element.clientHeight-t),e.table.options.scrollVertical(t)):e.scrollTop=t}))},c.prototype.findRow=function(e){var t=this;return"object"!=(void 0===e?"undefined":r(e))?null!=e&&(t.rows.find((function(o){return o.data[t.table.options.index]==e}))||!1):e instanceof p?e:e instanceof d?e._getSelf()||!1:"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&t.rows.find((function(t){return t.element===e}))||!1},c.prototype.getRowFromDataObject=function(e){return this.rows.find((function(t){return t.data===e}))||!1},c.prototype.getRowFromPosition=function(e,t){return t?this.activeRows[e]:this.rows[e]},c.prototype.scrollToRow=function(e,t,o){var n,r=this,i=this.getDisplayRows().indexOf(e),a=e.getElement(),l=0;return new Promise((function(e,s){if(i>-1){if(void 0===t&&(t=r.table.options.scrollToRowPosition),void 0===o&&(o=r.table.options.scrollToRowIfVisible),"nearest"===t)switch(r.renderMode){case"classic":n=g.prototype.helpers.elOffset(a).top,t=Math.abs(r.element.scrollTop-n)>Math.abs(r.element.scrollTop+r.element.clientHeight-n)?"bottom":"top";break;case"virtual":t=Math.abs(r.vDomTop-i)>Math.abs(r.vDomBottom-i)?"bottom":"top"}if(!o&&g.prototype.helpers.elVisible(a)&&(l=g.prototype.helpers.elOffset(a).top-g.prototype.helpers.elOffset(r.element).top)>0&&l<r.element.clientHeight-a.offsetHeight)return!1;switch(r.renderMode){case"classic":r.element.scrollTop=g.prototype.helpers.elOffset(a).top-g.prototype.helpers.elOffset(r.element).top+r.element.scrollTop;break;case"virtual":r._virtualRenderFill(i,!0)}switch(t){case"middle":case"center":r.element.scrollHeight-r.element.scrollTop==r.element.clientHeight?r.element.scrollTop=r.element.scrollTop+(a.offsetTop-r.element.scrollTop)-(r.element.scrollHeight-a.offsetTop)/2:r.element.scrollTop=r.element.scrollTop-r.element.clientHeight/2;break;case"bottom":r.element.scrollHeight-r.element.scrollTop==r.element.clientHeight?r.element.scrollTop=r.element.scrollTop-(r.element.scrollHeight-a.offsetTop)+a.offsetHeight:r.element.scrollTop=r.element.scrollTop-r.element.clientHeight+a.offsetHeight}e()}else console.warn("Scroll Error - Row not visible"),s("Scroll Error - Row not visible")}))},c.prototype.setData=function(e,t,o){var n=this,r=this;return new Promise((function(i,a){t&&n.getDisplayRows().length?r.table.options.pagination?r._setDataActual(e,!0):n.reRenderInPosition((function(){r._setDataActual(e)})):(n.table.options.autoColumns&&o&&n.table.columnManager.generateColumnsFromRowData(e),n.resetScroll(),n._setDataActual(e)),i()}))},c.prototype._setDataActual=function(e,t){var o=this;o.table.options.dataLoading.call(this.table,e),this._wipeElements(),this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.clear(),Array.isArray(e)?(this.table.modExists("selectRow")&&this.table.modules.selectRow.clearSelectionData(),this.table.options.reactiveData&&this.table.modExists("reactiveData",!0)&&this.table.modules.reactiveData.watchData(e),e.forEach((function(e,t){if(e&&"object"===(void 0===e?"undefined":r(e))){var n=new p(e,o);o.rows.push(n)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",e)})),o.refreshActiveData(!1,!1,t),o.table.options.dataLoaded.call(this.table,e)):console.error("Data Loading Error - Unable to process data due to invalid data type \nExpecting: array \nReceived: ",void 0===e?"undefined":r(e),"\nData:     ",e)},c.prototype._wipeElements=function(){this.rows.forEach((function(e){e.wipe()})),this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.wipe(),this.rows=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.adjustTableSize()},c.prototype.deleteRow=function(e,t){var o=this.rows.indexOf(e),n=this.activeRows.indexOf(e);n>-1&&this.activeRows.splice(n,1),o>-1&&this.rows.splice(o,1),this.setActiveRows(this.activeRows),this.displayRowIterator((function(t){var o=t.indexOf(e);o>-1&&t.splice(o,1)})),t||this.reRenderInPosition(),this.regenerateRowNumbers(),this.table.options.rowDeleted.call(this.table,e.getComponent()),this.table.options.dataChanged&&this.table.options.dataChanged.call(this.table,this.getData()),this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.groupRows.updateGroupRows(!0):this.table.options.pagination&&this.table.modExists("page")?this.refreshActiveData(!1,!1,!0):this.table.options.pagination&&this.table.modExists("page")&&this.refreshActiveData("page")},c.prototype.addRow=function(e,t,o,n){var r=this.addRowActual(e,t,o,n);return this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("rowAdd",r,{data:e,pos:t,index:o}),r},c.prototype.addRows=function(e,t,o){var n=this,r=this,i=[];return new Promise((function(a,l){t=n.findAddRowPos(t),Array.isArray(e)||(e=[e]),e.length-1,(void 0===o&&t||void 0!==o&&!t)&&e.reverse(),e.forEach((function(e,n){var a=r.addRow(e,t,o,!0);i.push(a)})),n.table.options.groupBy&&n.table.modExists("groupRows")?n.table.modules.groupRows.updateGroupRows(!0):n.table.options.pagination&&n.table.modExists("page")?n.refreshActiveData(!1,!1,!0):n.reRenderInPosition(),n.table.modExists("columnCalcs")&&n.table.modules.columnCalcs.recalc(n.table.rowManager.activeRows),n.regenerateRowNumbers(),a(i)}))},c.prototype.findAddRowPos=function(e){return void 0===e&&(e=this.table.options.addRowPos),"pos"===e&&(e=!0),"bottom"===e&&(e=!1),e},c.prototype.addRowActual=function(e,t,o,n){var r,i,a=e instanceof p?e:new p(e||{},this),l=this.findAddRowPos(t),s=-1;if(!o&&this.table.options.pagination&&"page"==this.table.options.paginationAddRow&&(i=this.getDisplayRows(),l?i.length?o=i[0]:this.activeRows.length&&(o=this.activeRows[this.activeRows.length-1],l=!1):i.length&&(o=i[i.length-1],l=!(i.length<this.table.modules.page.getPageSize()))),void 0!==o&&(o=this.findRow(o)),this.table.options.groupBy&&this.table.modExists("groupRows")){this.table.modules.groupRows.assignRowToGroup(a);var c=a.getGroup().rows;c.length>1&&(!o||o&&-1==c.indexOf(o)?l?c[0]!==a&&(o=c[0],this._moveRowInArray(a.getGroup().rows,a,o,!l)):c[c.length-1]!==a&&(o=c[c.length-1],this._moveRowInArray(a.getGroup().rows,a,o,!l)):this._moveRowInArray(a.getGroup().rows,a,o,!l))}return o&&(s=this.rows.indexOf(o)),o&&s>-1?(r=this.activeRows.indexOf(o),this.displayRowIterator((function(e){var t=e.indexOf(o);t>-1&&e.splice(l?t:t+1,0,a)})),r>-1&&this.activeRows.splice(l?r:r+1,0,a),this.rows.splice(l?s:s+1,0,a)):l?(this.displayRowIterator((function(e){e.unshift(a)})),this.activeRows.unshift(a),this.rows.unshift(a)):(this.displayRowIterator((function(e){e.push(a)})),this.activeRows.push(a),this.rows.push(a)),this.setActiveRows(this.activeRows),this.table.options.rowAdded.call(this.table,a.getComponent()),this.table.options.dataChanged&&this.table.options.dataChanged.call(this.table,this.getData()),n||this.reRenderInPosition(),a},c.prototype.moveRow=function(e,t,o){this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("rowMove",e,{posFrom:this.getRowPosition(e),posTo:this.getRowPosition(t),to:t,after:o}),this.moveRowActual(e,t,o),this.regenerateRowNumbers(),this.table.options.rowMoved.call(this.table,e.getComponent())},c.prototype.moveRowActual=function(e,t,o){var n=this;if(this._moveRowInArray(this.rows,e,t,o),this._moveRowInArray(this.activeRows,e,t,o),this.displayRowIterator((function(r){n._moveRowInArray(r,e,t,o)})),this.table.options.groupBy&&this.table.modExists("groupRows")){!o&&t instanceof z&&(t=this.table.rowManager.prevDisplayRow(e)||t);var r=t.getGroup(),i=e.getGroup();r===i?this._moveRowInArray(r.rows,e,t,o):(i&&i.removeRow(e),r.insertRow(e,t,o))}},c.prototype._moveRowInArray=function(e,t,o,n){var r,i,a;if(t!==o&&((r=e.indexOf(t))>-1&&(e.splice(r,1),(i=e.indexOf(o))>-1?n?e.splice(i+1,0,t):e.splice(i,0,t):e.splice(r,0,t)),e===this.getDisplayRows())){a=i>r?i:r+1;for(var l=r<i?r:i;l<=a;l++)e[l]&&this.styleRow(e[l],l)}},c.prototype.clearData=function(){this.setData([])},c.prototype.getRowIndex=function(e){return this.findRowIndex(e,this.rows)},c.prototype.getDisplayRowIndex=function(e){var t=this.getDisplayRows().indexOf(e);return t>-1&&t},c.prototype.nextDisplayRow=function(e,t){var o=this.getDisplayRowIndex(e),n=!1;return!1!==o&&o<this.displayRowsCount-1&&(n=this.getDisplayRows()[o+1]),!n||n instanceof p&&"row"==n.type?n:this.nextDisplayRow(n,t)},c.prototype.prevDisplayRow=function(e,t){var o=this.getDisplayRowIndex(e),n=!1;return o&&(n=this.getDisplayRows()[o-1]),!t||!n||n instanceof p&&"row"==n.type?n:this.prevDisplayRow(n,t)},c.prototype.findRowIndex=function(e,t){var o;return!!((e=this.findRow(e))&&(o=t.indexOf(e))>-1)&&o},c.prototype.getData=function(e,t){var o=[];return this.getRows(e).forEach((function(e){"row"==e.type&&o.push(e.getData(t||"data"))})),o},c.prototype.getComponents=function(e){var t=[];return this.getRows(e).forEach((function(e){t.push(e.getComponent())})),t},c.prototype.getDataCount=function(e){return this.getRows(e).length},c.prototype._genRemoteRequest=function(){var e=this,t=this.table,o=t.options,n={};if(t.modExists("page")){if(o.ajaxSorting){var r=this.table.modules.sort.getSort();r.forEach((function(e){delete e.column})),n[this.table.modules.page.paginationDataSentNames.sorters]=r}if(o.ajaxFiltering){var i=this.table.modules.filter.getFilters(!0,!0);n[this.table.modules.page.paginationDataSentNames.filters]=i}this.table.modules.ajax.setParams(n,!0)}t.modules.ajax.sendRequest().then((function(t){e._setDataActual(t,!0)})).catch((function(e){}))},c.prototype.filterRefresh=function(){var e=this.table,t=e.options,o=this.scrollLeft;t.ajaxFiltering?"remote"==t.pagination&&e.modExists("page")?(e.modules.page.reset(!0),e.modules.page.setPage(1).then((function(){})).catch((function(){}))):t.ajaxProgressiveLoad?e.modules.ajax.loadData().then((function(){})).catch((function(){})):this._genRemoteRequest():this.refreshActiveData("filter"),this.scrollHorizontal(o)},c.prototype.sorterRefresh=function(e){var t=this.table,o=this.table.options,n=this.scrollLeft;o.ajaxSorting?("remote"==o.pagination||o.progressiveLoad)&&t.modExists("page")?(t.modules.page.reset(!0),t.modules.page.setPage(1).then((function(){})).catch((function(){}))):o.ajaxProgressiveLoad?t.modules.ajax.loadData().then((function(){})).catch((function(){})):this._genRemoteRequest():this.refreshActiveData(e?"filter":"sort"),this.scrollHorizontal(n)},c.prototype.scrollHorizontal=function(e){this.scrollLeft=e,this.element.scrollLeft=e,this.table.options.groupBy&&this.table.modules.groupRows.scrollHeaders(e),this.table.modExists("columnCalcs")&&this.table.modules.columnCalcs.scrollHorizontal(e)},c.prototype.refreshActiveData=function(e,t,o){var n,r=this.table,i=["all","filter","sort","display","freeze","group","tree","page"];if(this.redrawBlock)(!this.redrawBlockRestoreConfig||i.indexOf(e)<i.indexOf(this.redrawBlockRestoreConfig.stage))&&(this.redrawBlockRestoreConfig={stage:e,skipStage:t,renderInPosition:o});else{switch(this.table.modExists("edit")&&this.table.modules.edit.cancelEdit(),e||(e="all"),r.options.selectable&&!r.options.selectablePersistence&&r.modExists("selectRow")&&r.modules.selectRow.deselectRows(),e){case"all":case"filter":t?t=!1:r.modExists("filter")?this.setActiveRows(r.modules.filter.filter(this.rows)):this.setActiveRows(this.rows.slice(0));case"sort":t?t=!1:r.modExists("sort")&&r.modules.sort.sort(this.activeRows),this.regenerateRowNumbers();case"display":this.resetDisplayRows();case"freeze":t?t=!1:this.table.modExists("frozenRows")&&r.modules.frozenRows.isFrozen()&&(r.modules.frozenRows.getDisplayIndex()||r.modules.frozenRows.setDisplayIndex(this.getNextDisplayIndex()),n=r.modules.frozenRows.getDisplayIndex(),!0!==(n=this.setDisplayRows(r.modules.frozenRows.getRows(this.getDisplayRows(n-1)),n))&&r.modules.frozenRows.setDisplayIndex(n));case"group":t?t=!1:r.options.groupBy&&r.modExists("groupRows")&&(r.modules.groupRows.getDisplayIndex()||r.modules.groupRows.setDisplayIndex(this.getNextDisplayIndex()),n=r.modules.groupRows.getDisplayIndex(),!0!==(n=this.setDisplayRows(r.modules.groupRows.getRows(this.getDisplayRows(n-1)),n))&&r.modules.groupRows.setDisplayIndex(n));case"tree":t?t=!1:r.options.dataTree&&r.modExists("dataTree")&&(r.modules.dataTree.getDisplayIndex()||r.modules.dataTree.setDisplayIndex(this.getNextDisplayIndex()),n=r.modules.dataTree.getDisplayIndex(),!0!==(n=this.setDisplayRows(r.modules.dataTree.getRows(this.getDisplayRows(n-1)),n))&&r.modules.dataTree.setDisplayIndex(n)),r.options.pagination&&r.modExists("page")&&!o&&"local"==r.modules.page.getMode()&&r.modules.page.reset();case"page":t?t=!1:r.options.pagination&&r.modExists("page")&&(r.modules.page.getDisplayIndex()||r.modules.page.setDisplayIndex(this.getNextDisplayIndex()),n=r.modules.page.getDisplayIndex(),"local"==r.modules.page.getMode()&&r.modules.page.setMaxRows(this.getDisplayRows(n-1).length),!0!==(n=this.setDisplayRows(r.modules.page.getRows(this.getDisplayRows(n-1)),n))&&r.modules.page.setDisplayIndex(n))}g.prototype.helpers.elVisible(this.element)&&(o?this.reRenderInPosition():("all"===e&&this.table.options.virtualDomHoz&&this.table.vdomHoz.dataChange(),this.renderTable(),r.options.layoutColumnsOnNewData&&this.table.columnManager.redraw(!0))),r.modExists("columnCalcs")&&r.modules.columnCalcs.recalc(this.activeRows)}},c.prototype.regenerateRowNumbers=function(){var e=this;this.rowNumColumn&&this.activeRows.forEach((function(t){var o=t.getCell(e.rowNumColumn);o&&o._generateContents()}))},c.prototype.setActiveRows=function(e){this.activeRows=e,this.activeRowsCount=this.activeRows.length},c.prototype.resetDisplayRows=function(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length,this.table.modExists("frozenRows")&&this.table.modules.frozenRows.setDisplayIndex(0),this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.setDisplayIndex(0),this.table.options.pagination&&this.table.modExists("page")&&this.table.modules.page.setDisplayIndex(0)},c.prototype.getNextDisplayIndex=function(){return this.displayRows.length},c.prototype.setDisplayRows=function(e,t){var o=!0;return t&&void 0!==this.displayRows[t]?(this.displayRows[t]=e,o=!0):(this.displayRows.push(e),o=t=this.displayRows.length-1),t==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length),o},c.prototype.getDisplayRows=function(e){return void 0===e?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]},c.prototype.getVisibleRows=function(e){var t=this.element.scrollTop,o=this.element.clientHeight+t,n=!1,r=0,i=0,a=this.getDisplayRows();if(e){this.getDisplayRows();for(var l=this.vDomTop;l<=this.vDomBottom;l++)if(a[l])if(n){if(!(o-a[l].getElement().offsetTop>=0))break;i=l}else if(t-a[l].getElement().offsetTop>=0)r=l;else{if(n=!0,!(o-a[l].getElement().offsetTop>=0))break;i=l}}else r=this.vDomTop,i=this.vDomBottom;return a.slice(r,i+1)},c.prototype.displayRowIterator=function(e){this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length},c.prototype.getRows=function(e){var t;switch(e){case"active":t=this.activeRows;break;case"display":t=this.table.rowManager.getDisplayRows();break;case"visible":t=this.getVisibleRows(!0);break;case"selected":t=this.table.modules.selectRow.selectedRows;break;default:t=this.rows}return t},c.prototype.reRenderInPosition=function(e){if("virtual"==this.getRenderMode())if(this.redrawBlock)e?e():this.redrawBlockRederInPosition=!0;else{for(var t=this.element.scrollTop,o=!1,n=!1,r=this.scrollLeft,i=this.getDisplayRows(),a=this.vDomTop;a<=this.vDomBottom;a++)if(i[a]){var l=t-i[a].getElement().offsetTop;if(!(!1===n||Math.abs(l)<n))break;n=l,o=a}e&&e(),this._virtualRenderFill(!1===o?this.displayRowsCount-1:o,!0,n||0),this.scrollHorizontal(r)}else this.renderTable(),e&&e()},c.prototype.setRenderMode=function(){this.table.options.virtualDom?(this.renderMode="virtual",this.table.element.clientHeight||this.table.options.height?this.fixedHeight=!0:this.fixedHeight=!1):this.renderMode="classic"},c.prototype.getRenderMode=function(){return this.renderMode},c.prototype.renderTable=function(){switch(this.table.options.renderStarted.call(this.table),this.element.scrollTop=0,this.renderMode){case"classic":this._simpleRender();break;case"virtual":this._virtualRenderFill()}this.firstRender&&(this.displayRowsCount?(this.firstRender=!1,this.table.modules.layout.layout()):this.renderEmptyScroll()),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout(),this.displayRowsCount||this.table.options.placeholder&&(this.table.options.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.table.options.placeholder),this.table.options.placeholder.style.width=this.table.columnManager.getWidth()+"px"),this.table.options.renderComplete.call(this.table)},c.prototype._simpleRender=function(){this._clearVirtualDom(),this.displayRowsCount?this.checkClassicModeGroupHeaderWidth():this.renderEmptyScroll()},c.prototype.checkClassicModeGroupHeaderWidth=function(){var e=this,t=this.tableElement,o=!0;e.getDisplayRows().forEach((function(n,r){e.styleRow(n,r),t.appendChild(n.getElement()),n.initialize(!0),"group"!==n.type&&(o=!1)})),t.style.minWidth=o?e.table.columnManager.getWidth()+"px":""},c.prototype.renderEmptyScroll=function(){this.table.options.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"},c.prototype._clearVirtualDom=function(){var e=this.tableElement;for(this.table.options.placeholder&&this.table.options.placeholder.parentNode&&this.table.options.placeholder.parentNode.removeChild(this.table.options.placeholder);e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0},c.prototype.styleRow=function(e,t){var o=e.getElement();t%2?(o.classList.add("tabulator-row-even"),o.classList.remove("tabulator-row-odd")):(o.classList.add("tabulator-row-odd"),o.classList.remove("tabulator-row-even"))},c.prototype._virtualRenderFill=function(e,t,o){var n=this.tableElement,r=this.element,i=0,a=0,l=0,s=0,c=!0,u=this.getDisplayRows();if(o=o||0,e=e||0){for(;n.firstChild;)n.removeChild(n.firstChild);var d=(this.displayRowsCount-e+1)*this.vDomRowHeight;d<this.height&&(e-=Math.ceil((this.height-d)/this.vDomRowHeight))<0&&(e=0),e-=i=Math.min(Math.max(Math.floor(this.vDomWindowBuffer/this.vDomRowHeight),this.vDomWindowMinMarginRows),e)}else this._clearVirtualDom();if(this.displayRowsCount&&g.prototype.helpers.elVisible(this.element)){for(this.vDomTop=e,this.vDomBottom=e-1;(a<=this.height+this.vDomWindowBuffer||s<this.vDomWindowMinTotalRows)&&this.vDomBottom<this.displayRowsCount-1;){var p,f=this.vDomBottom+1,m=u[f];this.styleRow(m,f),n.appendChild(m.getElement()),m.initialize(),m.heightInitialized||m.normalizeHeight(!0),p=m.getHeight(),s<i?l+=p:a+=p,p>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*p),"group"!==m.type&&(c=!1),this.vDomBottom++,s++}e?(this.vDomTopPad=t?this.vDomRowHeight*this.vDomTop+o:this.scrollTop-l,this.vDomBottomPad=this.vDomBottom==this.displayRowsCount-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-a-l,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((a+l)/s),this.vDomBottomPad=this.vDomRowHeight*(this.displayRowsCount-this.vDomBottom-1),this.vDomScrollHeight=l+a+this.vDomBottomPad-this.height),n.style.paddingTop=this.vDomTopPad+"px",n.style.paddingBottom=this.vDomBottomPad+"px",t&&(this.scrollTop=this.vDomTopPad+l+o-(this.element.scrollWidth>this.element.clientWidth?this.element.offsetHeight-this.element.clientHeight:0)),this.scrollTop=Math.min(this.scrollTop,this.element.scrollHeight-this.height),this.element.scrollWidth>this.element.offsetWidth&&t&&(this.scrollTop+=this.element.offsetHeight-this.element.clientHeight),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,r.scrollTop=this.scrollTop,n.style.minWidth=c?this.table.columnManager.getWidth()+"px":"",this.table.options.groupBy&&"fitDataFill"!=this.table.modules.layout.getMode()&&this.displayRowsCount==this.table.modules.groupRows.countGroups()&&(this.tableElement.style.minWidth=this.table.columnManager.getWidth())}else this.renderEmptyScroll();this.fixedHeight||this.adjustTableSize()},c.prototype.scrollVertical=function(e){var t=this.scrollTop-this.vDomScrollPosTop,o=this.scrollTop-this.vDomScrollPosBottom,n=2*this.vDomWindowBuffer;if(-t>n||o>n){var r=this.scrollLeft;this._virtualRenderFill(Math.floor(this.element.scrollTop/this.element.scrollHeight*this.displayRowsCount)),this.scrollHorizontal(r)}else e?(t<0&&this._addTopRow(-t),o<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(-o):this.vDomScrollPosBottom=this.scrollTop)):(t>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(t):this.vDomScrollPosTop=this.scrollTop),o>=0&&this._addBottomRow(o))},c.prototype._addTopRow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=this.tableElement,n=this.getDisplayRows();if(this.vDomTop){var r=this.vDomTop-1,i=n[r],a=i.getHeight()||this.vDomRowHeight;e>=a&&(this.styleRow(i,r),o.insertBefore(i.getElement(),o.firstChild),i.initialized&&i.heightInitialized||(this.vDomTopNewRows.push(i),i.heightInitialized||i.clearCellHeight()),i.initialize(),this.vDomTopPad-=a,this.vDomTopPad<0&&(this.vDomTopPad=r*this.vDomRowHeight),r||(this.vDomTopPad=0),o.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=a,this.vDomTop--),e=-(this.scrollTop-this.vDomScrollPosTop),i.getHeight()>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*i.getHeight()),t<this.vDomMaxRenderChain&&this.vDomTop&&e>=(n[this.vDomTop-1].getHeight()||this.vDomRowHeight)?this._addTopRow(e,t+1):this._quickNormalizeRowHeight(this.vDomTopNewRows)}},c.prototype._removeTopRow=function(e){var t=this.tableElement,o=this.getDisplayRows()[this.vDomTop],n=o.getHeight()||this.vDomRowHeight;if(e>=n){var r=o.getElement();r.parentNode.removeChild(r),this.vDomTopPad+=n,t.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?n:n+this.vDomWindowBuffer,this.vDomTop++,e=this.scrollTop-this.vDomScrollPosTop,this._removeTopRow(e)}},c.prototype._addBottomRow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=this.tableElement,n=this.getDisplayRows();if(this.vDomBottom<this.displayRowsCount-1){var r=this.vDomBottom+1,i=n[r],a=i.getHeight()||this.vDomRowHeight;e>=a&&(this.styleRow(i,r),o.appendChild(i.getElement()),i.initialized&&i.heightInitialized||(this.vDomBottomNewRows.push(i),i.heightInitialized||i.clearCellHeight()),i.initialize(),this.vDomBottomPad-=a,(this.vDomBottomPad<0||r==this.displayRowsCount-1)&&(this.vDomBottomPad=0),o.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=a,this.vDomBottom++),e=this.scrollTop-this.vDomScrollPosBottom,i.getHeight()>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*i.getHeight()),t<this.vDomMaxRenderChain&&this.vDomBottom<this.displayRowsCount-1&&e>=(n[this.vDomBottom+1].getHeight()||this.vDomRowHeight)?this._addBottomRow(e,t+1):this._quickNormalizeRowHeight(this.vDomBottomNewRows)}},c.prototype._removeBottomRow=function(e){var t=this.tableElement,o=this.getDisplayRows()[this.vDomBottom],n=o.getHeight()||this.vDomRowHeight;if(e>=n){var r=o.getElement();r.parentNode&&r.parentNode.removeChild(r),this.vDomBottomPad+=n,this.vDomBottomPad<0&&(this.vDomBottomPad=0),t.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=n,this.vDomBottom--,e=-(this.scrollTop-this.vDomScrollPosBottom),this._removeBottomRow(e)}},c.prototype._quickNormalizeRowHeight=function(e){e.forEach((function(e){e.calcHeight()})),e.forEach((function(e){e.setCellHeight()})),e.length=0},c.prototype.normalizeHeight=function(){this.activeRows.forEach((function(e){e.normalizeHeight()}))},c.prototype.adjustTableSize=function(){var e,t=this.element.clientHeight;if("virtual"===this.renderMode){var o=Math.floor(this.columnManager.getElement().offsetHeight+(this.table.footerManager&&!this.table.footerManager.external?this.table.footerManager.getElement().offsetHeight:0));this.fixedHeight?(this.element.style.minHeight="calc(100% - "+o+"px)",this.element.style.height="calc(100% - "+o+"px)",this.element.style.maxHeight="calc(100% - "+o+"px)"):(this.element.style.height="",this.element.style.height=Math.floor(this.table.element.clientHeight)-o+"px",this.element.scrollTop=this.scrollTop),this.height=this.element.clientHeight,this.vDomWindowBuffer=this.table.options.virtualDomBuffer||this.height,this.fixedHeight||Math.floor(t)==Math.floor(this.element.clientHeight)||((e=this.table.modExists("resizeTable"))&&!this.table.modules.resizeTable.autoResize||!e)&&this.redraw()}},c.prototype.reinitialize=function(){this.rows.forEach((function(e){e.reinitialize(!0)}))},c.prototype.blockRedraw=function(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1},c.prototype.restoreRedraw=function(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.stage,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRederInPosition&&this.reRenderInPosition(),this.redrawBlockRederInPosition=!1},c.prototype.redraw=function(e){var t=this.scrollLeft;this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():("classic"==this.renderMode?this.table.options.groupBy?this.refreshActiveData("group",!1,!1):this._simpleRender():(this.reRenderInPosition(),this.scrollHorizontal(t)),this.displayRowsCount||this.table.options.placeholder&&this.getElement().appendChild(this.table.options.placeholder))},c.prototype.resetScroll=function(){if(this.element.scrollLeft=0,this.element.scrollTop=0,"ie"===this.table.browser){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))};var u=function(e){this.table=e,this.element=this.table.rowManager.tableElement,this.holderEl=this.table.rowManager.element,this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.window=200,this.initialized=!1,this.columns=[],this.compatabilityCheck()&&this.initialize()};u.prototype.compatabilityCheck=function(){var e=this.table.options,t=!0;return"fitDataTable"==e.layout&&(console.warn("Horizontal Vitrual DOM is not compatible with fitDataTable layout mode"),t=!1),e.responsiveLayout&&(console.warn("Horizontal Vitrual DOM is not compatible with responsive columns"),t=!1),this.table.rtl&&(console.warn("Horizontal Vitrual DOM is not currently compatible with RTL text direction"),t=!1),e.columns&&e.columns.find((function(e){return e.frozen}))&&(console.warn("Horizontal Vitrual DOM is not compatible with frozen columns"),t=!1),t||(e.virtualDomHoz=!1),t},u.prototype.initialize=function(){var e=this;this.holderEl.addEventListener("scroll",(function(){var t=e.holderEl.scrollLeft;e.scrollLeft!=t&&(e.scrollLeft=t,e.scroll(t-(e.vDomScrollPosLeft+e.window)))}))},u.prototype.deinitialize=function(){this.initialized=!1},u.prototype.clear=function(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0},u.prototype.dataChange=function(){var e,t,o=!1,n=0,r=0;if("fitData"===this.table.options.layout){if(this.table.columnManager.columnsByIndex.forEach((function(e){!e.definition.width&&e.visible&&(o=!0)})),o&&o&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.holderEl.clientWidth+this.window,e=this.table.options.groupBy?this.table.modules.groupRows.getGroups(!1)[0].getRows(!1)[0]:this.table.rowManager.getDisplayRows()[0])){t=e.getElement(),e.generateCells(),this.element.appendChild(t);for(r=0;r<e.cells.length;r++){var i=e.cells[r];if(t.appendChild(i.getElement()),i.column.reinitializeWidth(),(n+=i.column.getWidth())>this.vDomScrollPosRight)break}for(t.parentNode.removeChild(t),this.fitDataColAvg=Math.floor(n/(r+1));r<this.table.columnManager.columnsByIndex.length;r++)this.table.columnManager.columnsByIndex[r].setWidth(this.fitDataColAvg);this.reinitialize(!1,!0)}}else"fitColumns"===this.table.options.layout&&(this.table.modules.layout.layout(),this.table.vdomHoz.reinitialize(!1,!0))},u.prototype.fitDataLayoutOverride=function(){for(var e=this.leftCol;e<=this.rightCol;e++)this.columns[e].reinitializeWidth()},u.prototype.reinitialize=function(e,t){var o=this,n={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol};if(!e||this.initialized){this.clear(),this.scrollLeft=this.holderEl.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.window,this.vDomScrollPosRight=this.scrollLeft+this.holderEl.clientWidth+this.window;var r=0;this.table.columnManager.columnsByIndex.forEach((function(e){var t={};if(e.visible){var n=e.getWidth();t.leftPos=r,t.rightPos=r+n,r+n>o.vDomScrollPosLeft&&r<o.vDomScrollPosRight?(-1==o.leftCol&&(o.leftCol=o.columns.length,o.vDomPadLeft=r),o.rightCol=o.columns.length):-1!==o.leftCol&&(o.vDomPadRight+=n),o.columns.push(e),e.modules.vdomHoz=t,r+=n}})),this.element.style.paddingLeft=this.vDomPadLeft+"px",this.element.style.paddingRight=this.vDomPadRight+"px",this.initialized=!0,t||e&&!this.reinitChanged(n)||this.renitializeRows(),this.holderEl.scrollLeft=this.scrollLeft}},u.prototype.reinitChanged=function(e){var t=this,o=!0;return e.cols.length!==this.columns.length||e.leftCol!==this.leftCol||e.rightCol!==this.rightCol||(e.cols.forEach((function(e,n){e!==t.columns[n]&&(o=!1)})),!o)},u.prototype.renitializeRows=function(){var e=this;this.table.rowManager.getVisibleRows().forEach((function(t){e.reinitializeRow(t,!0)}))},u.prototype.scroll=function(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,e>.8*this.holderEl.clientWidth?this.reinitialize():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())},u.prototype.colPositionAdjust=function(e,t,o){for(var n=e;n<t;n++){var r=this.columns[n];r.modules.vdomHoz.leftPos-=o,r.modules.vdomHoz.rightPos-=o}},u.prototype.addColRight=function(){var e,t,o=this.columns[this.rightCol+1];o&&o.modules.vdomHoz.leftPos<=this.vDomScrollPosRight&&(this.table.rowManager.getVisibleRows().forEach((function(e){if("group"!==e.type){var t=e.getCell(o);e.getElement().appendChild(t.getElement()),t.cellRendered()}})),this.fitDataColAvg&&(e=o.getWidth())===this.fitDataColAvg&&(o.reinitializeWidth(),(t=e-o.getWidth())&&(o.modules.vdomHoz.rightPos-=t,this.colPositionAdjust(this.rightCol+1,this.columns.length,t))),this.rightCol++,this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=o.getWidth(),this.element.style.paddingRight=this.vDomPadRight+"px",this.addColRight())},u.prototype.addColLeft=function(){var e=this.columns[this.leftCol-1];e&&e.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft&&(this.table.rowManager.getVisibleRows().forEach((function(t){if("group"!==t.type){var o=t.getCell(e);t.getElement().prepend(o.getElement()),o.cellRendered()}})),this.leftCol?this.vDomPadLeft-=e.getWidth():this.vDomPadLeft=0,this.element.style.paddingLeft=this.vDomPadLeft+"px",this.leftCol--,this.addColLeft())},u.prototype.removeColRight=function(e){var t;(e=this.columns[this.rightCol])&&e.modules.vdomHoz.leftPos>this.vDomScrollPosRight&&(t=this.table.rowManager.getVisibleRows(),e.modules.vdomHoz.visible=!1,t.forEach((function(t){if("group"!==t.type){var o=t.getCell(e);t.getElement().removeChild(o.getElement())}})),this.vDomPadRight+=e.getWidth(),this.element.style.paddingRight=this.vDomPadRight+"px",this.rightCol--,this.removeColRight())},u.prototype.removeColLeft=function(){var e=this.columns[this.leftCol];e&&e.modules.vdomHoz.rightPos<this.vDomScrollPosLeft&&(this.table.rowManager.getVisibleRows().forEach((function(t){if("group"!==t.type){var o=t.getCell(e);t.getElement().removeChild(o.getElement())}})),this.vDomPadLeft+=e.getWidth(),this.element.style.paddingLeft=this.vDomPadLeft+"px",this.leftCol++,this.removeColLeft())},u.prototype.initializeRow=function(e){if("group"!==e.type){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol};for(var t=this.leftCol;t<=this.rightCol;t++){var o=this.columns[t];if(o.visible){var n=e.getCell(o);e.element.appendChild(n.getElement()),n.cellRendered()}}}},u.prototype.reinitializeRow=function(e,t){if("group"!==e.type&&(t||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(;e.element.firstChild;)e.element.removeChild(e.element.firstChild);this.initializeRow(e)}};var d=function(e){this._row=e};d.prototype.getData=function(e){return this._row.getData(e)},d.prototype.getElement=function(){return this._row.getElement()},d.prototype.getCells=function(){var e=[];return this._row.getCells().forEach((function(t){e.push(t.getComponent())})),e},d.prototype.getCell=function(e){var t=this._row.getCell(e);return!!t&&t.getComponent()},d.prototype.getIndex=function(){return this._row.getData("data")[this._row.table.options.index]},d.prototype.getPosition=function(e){return this._row.table.rowManager.getRowPosition(this._row,e)},d.prototype.delete=function(){return this._row.delete()},d.prototype.scrollTo=function(){return this._row.table.rowManager.scrollToRow(this._row)},d.prototype.pageTo=function(){if(this._row.table.modExists("page",!0))return this._row.table.modules.page.setPageToRow(this._row)},d.prototype.move=function(e,t){this._row.moveToRow(e,t)},d.prototype.update=function(e){return this._row.updateData(e)},d.prototype.normalizeHeight=function(){this._row.normalizeHeight(!0)},d.prototype.select=function(){this._row.table.modules.selectRow.selectRows(this._row)},d.prototype.deselect=function(){this._row.table.modules.selectRow.deselectRows(this._row)},d.prototype.toggleSelect=function(){this._row.table.modules.selectRow.toggleRow(this._row)},d.prototype.isSelected=function(){return this._row.table.modules.selectRow.isRowSelected(this._row)},d.prototype._getSelf=function(){return this._row},d.prototype.validate=function(){return this._row.validate()},d.prototype.freeze=function(){this._row.table.modExists("frozenRows",!0)&&this._row.table.modules.frozenRows.freezeRow(this._row)},d.prototype.unfreeze=function(){this._row.table.modExists("frozenRows",!0)&&this._row.table.modules.frozenRows.unfreezeRow(this._row)},d.prototype.isFrozen=function(){return!!this._row.table.modExists("frozenRows",!0)&&this._row.table.modules.frozenRows.rows.indexOf(this._row)>-1},d.prototype.treeCollapse=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.collapseRow(this._row)},d.prototype.treeExpand=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.expandRow(this._row)},d.prototype.treeToggle=function(){this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.toggleRow(this._row)},d.prototype.getTreeParent=function(){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.getTreeParent(this._row)},d.prototype.getTreeChildren=function(){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.getTreeChildren(this._row,!0)},d.prototype.addTreeChild=function(e,t,o){return!!this._row.table.modExists("dataTree",!0)&&this._row.table.modules.dataTree.addTreeChildRow(this._row,e,t,o)},d.prototype.reformat=function(){return this._row.reinitialize()},d.prototype.getGroup=function(){return this._row.getGroup().getComponent()},d.prototype.getTable=function(){return this._row.table},d.prototype.getNextRow=function(){var e=this._row.nextRow();return e?e.getComponent():e},d.prototype.getPrevRow=function(){var e=this._row.prevRow();return e?e.getComponent():e};var p=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"row";this.table=t.table,this.parent=t,this.data={},this.type=o,this.element=this.createElement(),this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.component=null,this.setData(e),this.generateElement()};p.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.setAttribute("role","row"),e},p.prototype.getElement=function(){return this.element},p.prototype.detachElement=function(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)},p.prototype.generateElement=function(){var e,t,o,n=this;!1!==n.table.options.selectable&&n.table.modExists("selectRow")&&n.table.modules.selectRow.initializeRow(this),!1!==n.table.options.movableRows&&n.table.modExists("moveRow")&&n.table.modules.moveRow.initializeRow(this),!1!==n.table.options.dataTree&&n.table.modExists("dataTree")&&n.table.modules.dataTree.initializeRow(this),"collapse"===n.table.options.responsiveLayout&&n.table.modExists("responsiveLayout")&&n.table.modules.responsiveLayout.initializeRow(this),(n.table.options.rowContextMenu||n.table.options.rowClickMenu)&&this.table.modExists("menu")&&n.table.modules.menu.initializeRow(this),n.table.options.rowClick&&n.element.addEventListener("click",(function(e){n.table.options.rowClick(e,n.getComponent())})),n.table.options.rowDblClick&&n.element.addEventListener("dblclick",(function(e){n.table.options.rowDblClick(e,n.getComponent())})),n.table.options.rowContext&&n.element.addEventListener("contextmenu",(function(e){n.table.options.rowContext(e,n.getComponent())})),n.table.options.rowMouseEnter&&n.element.addEventListener("mouseenter",(function(e){n.table.options.rowMouseEnter(e,n.getComponent())})),n.table.options.rowMouseLeave&&n.element.addEventListener("mouseleave",(function(e){n.table.options.rowMouseLeave(e,n.getComponent())})),n.table.options.rowMouseOver&&n.element.addEventListener("mouseover",(function(e){n.table.options.rowMouseOver(e,n.getComponent())})),n.table.options.rowMouseOut&&n.element.addEventListener("mouseout",(function(e){n.table.options.rowMouseOut(e,n.getComponent())})),n.table.options.rowMouseMove&&n.element.addEventListener("mousemove",(function(e){n.table.options.rowMouseMove(e,n.getComponent())})),n.table.options.rowTap&&(o=!1,n.element.addEventListener("touchstart",(function(e){o=!0}),{passive:!0}),n.element.addEventListener("touchend",(function(e){o&&n.table.options.rowTap(e,n.getComponent()),o=!1}))),n.table.options.rowDblTap&&(e=null,n.element.addEventListener("touchend",(function(t){e?(clearTimeout(e),e=null,n.table.options.rowDblTap(t,n.getComponent())):e=setTimeout((function(){clearTimeout(e),e=null}),300)}))),n.table.options.rowTapHold&&(t=null,n.element.addEventListener("touchstart",(function(e){clearTimeout(t),t=setTimeout((function(){clearTimeout(t),t=null,o=!1,n.table.options.rowTapHold(e,n.getComponent())}),1e3)}),{passive:!0}),n.element.addEventListener("touchend",(function(e){clearTimeout(t),t=null})))},p.prototype.generateCells=function(){this.cells=this.table.columnManager.generateCells(this)},p.prototype.initialize=function(e){var t=this;if(!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layoutRow(this),this.generateCells(),this.table.options.virtualDomHoz&&this.table.vdomHoz.initialized?this.table.vdomHoz.initializeRow(this):this.cells.forEach((function(e){t.element.appendChild(e.getElement()),e.cellRendered()})),e&&this.normalizeHeight(),this.table.options.dataTree&&this.table.modExists("dataTree")&&this.table.modules.dataTree.layoutRow(this),"collapse"===this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout")&&this.table.modules.responsiveLayout.layoutRow(this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.table.options.resizableRows&&this.table.modExists("resizeRows")&&this.table.modules.resizeRows.initializeRow(this),this.initialized=!0}else this.table.options.virtualDomHoz&&this.table.vdomHoz.reinitializeRow(this)},p.prototype.reinitializeHeight=function(){this.heightInitialized=!1,null!==this.element.offsetParent&&this.normalizeHeight(!0)},p.prototype.reinitialize=function(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),null!==this.element.offsetParent&&this.initialize(!0),this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.modules.dataTree.getTreeChildren(this,!1,!0).forEach((function(e){e.reinitialize(!0)}))},p.prototype.calcHeight=function(e){var t=0,o=this.table.options.resizableRows?this.element.clientHeight:0;this.cells.forEach((function(e){var o=e.getHeight();o>t&&(t=o)})),this.height=e?Math.max(t,o):this.manualHeight?this.height:Math.max(t,o),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight},p.prototype.setCellHeight=function(){this.cells.forEach((function(e){e.setHeight()})),this.heightInitialized=!0},p.prototype.clearCellHeight=function(){this.cells.forEach((function(e){e.clearHeight()}))},p.prototype.normalizeHeight=function(e){e&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()},p.prototype.setHeight=function(e,t){(this.height!=e||t)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)},p.prototype.getHeight=function(){return this.outerHeight},p.prototype.getWidth=function(){return this.element.offsetWidth},p.prototype.deleteCell=function(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)},p.prototype.setData=function(e){this.table.modExists("mutator")&&(e=this.table.modules.mutator.transformRow(e,"data")),this.data=e,this.table.options.reactiveData&&this.table.modExists("reactiveData",!0)&&this.table.modules.reactiveData.watchRow(this)},p.prototype.updateData=function(e){var t,o=this,n=g.prototype.helpers.elVisible(this.element),r={};return new Promise((function(i,a){for(var l in"string"==typeof e&&(e=JSON.parse(e)),o.table.options.reactiveData&&o.table.modExists("reactiveData",!0)&&o.table.modules.reactiveData.block(),o.table.modExists("mutator")?(r=Object.assign(r,o.data),r=Object.assign(r,e),t=o.table.modules.mutator.transformRow(r,"data",e)):t=e,t)o.data[l]=t[l];for(var l in o.table.options.reactiveData&&o.table.modExists("reactiveData",!0)&&o.table.modules.reactiveData.unblock(),e){o.table.columnManager.getColumnsByFieldRoot(l).forEach((function(e){var r=o.getCell(e.getField());if(r){var i=e.getFieldValue(t);r.getValue()!=i&&(r.setValueProcessData(i),n&&r.cellRendered())}}))}o.table.options.groupUpdateOnCellEdit&&o.table.options.groupBy&&o.table.modExists("groupRows")&&o.table.modules.groupRows.reassignRowToGroup(o.row),n?(o.normalizeHeight(!0),o.table.options.rowFormatter&&o.table.options.rowFormatter(o.getComponent())):(o.initialized=!1,o.height=0,o.heightStyled=""),!1!==o.table.options.dataTree&&o.table.modExists("dataTree")&&o.table.modules.dataTree.redrawNeeded(e)&&(o.table.modules.dataTree.initializeRow(o),o.table.modules.dataTree.layoutRow(o),o.table.rowManager.refreshActiveData("tree",!1,!0)),o.table.options.rowUpdated.call(o.table,o.getComponent()),o.table.options.dataChanged&&o.table.options.dataChanged.call(o.table,o.table.rowManager.getData()),i()}))},p.prototype.getData=function(e){return e&&this.table.modExists("accessor")?this.table.modules.accessor.transformRow(this,e):this.data},p.prototype.getCell=function(e){return e=this.table.columnManager.findColumn(e),this.cells.find((function(t){return t.column===e}))},p.prototype.getCellIndex=function(e){return this.cells.findIndex((function(t){return t===e}))},p.prototype.findNextEditableCell=function(e){var t=!1;if(e<this.cells.length-1)for(var o=e+1;o<this.cells.length;o++){var n=this.cells[o];if(n.column.modules.edit&&g.prototype.helpers.elVisible(n.getElement())){var r=!0;if("function"==typeof n.column.modules.edit.check&&(r=n.column.modules.edit.check(n.getComponent())),r){t=n;break}}}return t},p.prototype.findPrevEditableCell=function(e){var t=!1;if(e>0)for(var o=e-1;o>=0;o--){var n=this.cells[o],r=!0;if(n.column.modules.edit&&g.prototype.helpers.elVisible(n.getElement())&&("function"==typeof n.column.modules.edit.check&&(r=n.column.modules.edit.check(n.getComponent())),r)){t=n;break}}return t},p.prototype.getCells=function(){return this.cells},p.prototype.nextRow=function(){return this.table.rowManager.nextDisplayRow(this,!0)||!1},p.prototype.prevRow=function(){return this.table.rowManager.prevDisplayRow(this,!0)||!1},p.prototype.moveToRow=function(e,t){var o=this.table.rowManager.findRow(e);o?(this.table.rowManager.moveRowActual(this,o,!t),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)},p.prototype.validate=function(){var e=[];return this.cells.forEach((function(t){t.validate()||e.push(t.getComponent())})),!e.length||e},p.prototype.delete=function(){var e=this;return new Promise((function(t,o){var n,r;e.table.options.history&&e.table.modExists("history")&&(e.table.options.groupBy&&e.table.modExists("groupRows")?(n=(r=e.getGroup().rows).indexOf(e))&&(n=r[n-1]):(n=e.table.rowManager.getRowIndex(e))&&(n=e.table.rowManager.rows[n-1]),e.table.modules.history.action("rowDelete",e,{data:e.getData(),pos:!n,index:n})),e.deleteActual(),t()}))},p.prototype.deleteActual=function(e){this.table.rowManager.getRowIndex(this);this.detatchModules(),this.table.options.reactiveData&&this.table.modExists("reactiveData",!0),this.modules.group&&this.modules.group.removeRow(this),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.table.options.dataTree&&this.table.modExists("dataTree",!0)&&this.table.modules.dataTree.rowDelete(this),this.table.modExists("columnCalcs")&&(this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.columnCalcs.recalcRowGroup(this):this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows))},p.prototype.detatchModules=function(){this.table.modExists("selectRow")&&this.table.modules.selectRow._deselectRow(this,!0),this.table.modExists("edit")&&this.table.modules.edit.currentCell.row===this&&this.table.modules.edit.cancelEdit(),this.table.modExists("frozenRows")&&this.table.modules.frozenRows.detachRow(this)},p.prototype.deleteCells=function(){for(var e=this.cells.length,t=0;t<e;t++)this.cells[0].delete()},p.prototype.wipe=function(){for(this.detatchModules(),this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element=!1,this.modules={},this.element.parentNode&&this.element.parentNode.removeChild(this.element)},p.prototype.getGroup=function(){return this.modules.group||!1},p.prototype.getComponent=function(){return this.component||(this.component=new d(this)),this.component};var f=function(e){this._cell=e};f.prototype.getValue=function(){return this._cell.getValue()},f.prototype.getOldValue=function(){return this._cell.getOldValue()},f.prototype.getInitialValue=function(){return this._cell.initialValue},f.prototype.getElement=function(){return this._cell.getElement()},f.prototype.getRow=function(){return this._cell.row.getComponent()},f.prototype.getData=function(){return this._cell.row.getData()},f.prototype.getField=function(){return this._cell.column.getField()},f.prototype.getColumn=function(){return this._cell.column.getComponent()},f.prototype.setValue=function(e,t){void 0===t&&(t=!0),this._cell.setValue(e,t)},f.prototype.restoreOldValue=function(){this._cell.setValueActual(this._cell.getOldValue())},f.prototype.restoreInitialValue=function(){this._cell.setValueActual(this._cell.initialValue)},f.prototype.edit=function(e){return this._cell.edit(e)},f.prototype.cancelEdit=function(){this._cell.cancelEdit()},f.prototype.isEdited=function(){return!!this._cell.modules.edit&&this._cell.modules.edit.edited},f.prototype.clearEdited=function(){self.table.modExists("edit",!0)&&this._cell.table.modules.edit.clearEdited(this._cell)},f.prototype.isValid=function(){return!this._cell.modules.validate||!this._cell.modules.validate.invalid},f.prototype.validate=function(){return this._cell.validate()},f.prototype.clearValidation=function(){this._cell.table.modExists("validate",!0)&&this._cell.table.modules.validate.clearValidation(this._cell)},f.prototype.nav=function(){return this._cell.nav()},f.prototype.checkHeight=function(){this._cell.checkHeight()},f.prototype.getTable=function(){return this._cell.table},f.prototype._getSelf=function(){return this._cell};var m=function(e,t){this.table=e.table,this.column=e,this.row=t,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()};m.prototype.build=function(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value},m.prototype.generateElement=function(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell"),this.element=this.element},m.prototype._configureCell=function(){var e=this,t=e.column.cellEvents,o=e.element,n=this.column.getField();(o.style.textAlign=e.column.hozAlign,e.column.vertAlign&&(o.style.display="inline-flex",o.style.alignItems={top:"flex-start",bottom:"flex-end",middle:"center"}[e.column.vertAlign]||"",e.column.hozAlign&&(o.style.justifyContent={left:"flex-start",right:"flex-end",center:"center"}[e.column.hozAlign]||"")),n&&o.setAttribute("tabulator-field",n),e.column.definition.cssClass)&&e.column.definition.cssClass.split(" ").forEach((function(e){o.classList.add(e)}));"hover"===this.table.options.tooltipGenerationMode&&o.addEventListener("mouseenter",(function(t){e._generateTooltip()})),e._bindClickEvents(t),e._bindTouchEvents(t),e._bindMouseEvents(t),e.column.modules.edit&&e.table.modules.edit.bindEditor(e),e.column.definition.rowHandle&&!1!==e.table.options.movableRows&&e.table.modExists("moveRow")&&e.table.modules.moveRow.initializeCell(e),e.column.visible||e.hide()},m.prototype._bindClickEvents=function(e){var t=this,o=t.element;(e.cellClick||t.table.options.cellClick)&&o.addEventListener("click",(function(o){var n=t.getComponent();e.cellClick&&e.cellClick.call(t.table,o,n),t.table.options.cellClick&&t.table.options.cellClick.call(t.table,o,n)})),e.cellDblClick||this.table.options.cellDblClick?o.addEventListener("dblclick",(function(o){var n=t.getComponent();e.cellDblClick&&e.cellDblClick.call(t.table,o,n),t.table.options.cellDblClick&&t.table.options.cellDblClick.call(t.table,o,n)})):o.addEventListener("dblclick",(function(e){if(!t.table.modExists("edit")||t.table.modules.edit.currentCell!==t){e.preventDefault();try{if(document.selection)(o=document.body.createTextRange()).moveToElementText(t.element),o.select();else if(window.getSelection){var o;(o=document.createRange()).selectNode(t.element),window.getSelection().removeAllRanges(),window.getSelection().addRange(o)}}catch(e){}}})),(e.cellContext||this.table.options.cellContext)&&o.addEventListener("contextmenu",(function(o){var n=t.getComponent();e.cellContext&&e.cellContext.call(t.table,o,n),t.table.options.cellContext&&t.table.options.cellContext.call(t.table,o,n)}))},m.prototype._bindMouseEvents=function(e){var t=this,o=t.element;(e.cellMouseEnter||t.table.options.cellMouseEnter)&&o.addEventListener("mouseenter",(function(o){var n=t.getComponent();e.cellMouseEnter&&e.cellMouseEnter.call(t.table,o,n),t.table.options.cellMouseEnter&&t.table.options.cellMouseEnter.call(t.table,o,n)})),(e.cellMouseLeave||t.table.options.cellMouseLeave)&&o.addEventListener("mouseleave",(function(o){var n=t.getComponent();e.cellMouseLeave&&e.cellMouseLeave.call(t.table,o,n),t.table.options.cellMouseLeave&&t.table.options.cellMouseLeave.call(t.table,o,n)})),(e.cellMouseOver||t.table.options.cellMouseOver)&&o.addEventListener("mouseover",(function(o){var n=t.getComponent();e.cellMouseOver&&e.cellMouseOver.call(t.table,o,n),t.table.options.cellMouseOver&&t.table.options.cellMouseOver.call(t.table,o,n)})),(e.cellMouseOut||t.table.options.cellMouseOut)&&o.addEventListener("mouseout",(function(o){var n=t.getComponent();e.cellMouseOut&&e.cellMouseOut.call(t.table,o,n),t.table.options.cellMouseOut&&t.table.options.cellMouseOut.call(t.table,o,n)})),(e.cellMouseMove||t.table.options.cellMouseMove)&&o.addEventListener("mousemove",(function(o){var n=t.getComponent();e.cellMouseMove&&e.cellMouseMove.call(t.table,o,n),t.table.options.cellMouseMove&&t.table.options.cellMouseMove.call(t.table,o,n)}))},m.prototype._bindTouchEvents=function(e){var t,o,n,r=this,i=r.element;(e.cellTap||this.table.options.cellTap)&&(n=!1,i.addEventListener("touchstart",(function(e){n=!0}),{passive:!0}),i.addEventListener("touchend",(function(t){if(n){var o=r.getComponent();e.cellTap&&e.cellTap.call(r.table,t,o),r.table.options.cellTap&&r.table.options.cellTap.call(r.table,t,o)}n=!1}))),(e.cellDblTap||this.table.options.cellDblTap)&&(t=null,i.addEventListener("touchend",(function(o){if(t){clearTimeout(t),t=null;var n=r.getComponent();e.cellDblTap&&e.cellDblTap.call(r.table,o,n),r.table.options.cellDblTap&&r.table.options.cellDblTap.call(r.table,o,n)}else t=setTimeout((function(){clearTimeout(t),t=null}),300)}))),(e.cellTapHold||this.table.options.cellTapHold)&&(o=null,i.addEventListener("touchstart",(function(t){clearTimeout(o),o=setTimeout((function(){clearTimeout(o),o=null,n=!1;var i=r.getComponent();e.cellTapHold&&e.cellTapHold.call(r.table,t,i),r.table.options.cellTapHold&&r.table.options.cellTapHold.call(r.table,t,i)}),1e3)}),{passive:!0}),i.addEventListener("touchend",(function(e){clearTimeout(o),o=null})))},m.prototype._generateContents=function(){var e;switch(void 0===(e=this.table.modExists("format")?this.table.modules.format.formatValue(this):this.element.innerHTML=this.value)?"undefined":r(e)){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",null!=e&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":case"null":this.element.innerHTML="";break;default:this.element.innerHTML=e}},m.prototype.cellRendered=function(){this.table.modExists("format")&&this.table.modules.format.cellRendered&&this.table.modules.format.cellRendered(this)},m.prototype._generateTooltip=function(){var e=this.column.tooltip;e?(!0===e?e=this.value:"function"==typeof e&&!1===(e=e(this.getComponent()))&&(e=""),void 0===e&&(e=""),this.element.setAttribute("title",e)):this.element.setAttribute("title","")},m.prototype.getElement=function(){return this.loaded||(this.loaded=!0,this.layoutElement()),this.element},m.prototype.getValue=function(){return this.value},m.prototype.getOldValue=function(){return this.oldValue},m.prototype.setValue=function(e,t){var o;this.setValueProcessData(e,t)&&(this.table.options.history&&this.table.modExists("history")&&this.table.modules.history.action("cellEdit",this,{oldValue:this.oldValue,newValue:this.value}),o=this.getComponent(),this.column.cellEvents.cellEdited&&this.column.cellEvents.cellEdited.call(this.table,o),this.table.options.groupUpdateOnCellEdit&&this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.reassignRowToGroup(this.row),this.cellRendered(),this.table.options.cellEdited.call(this.table,o),this.table.options.dataChanged&&this.table.options.dataChanged.call(this.table,this.table.rowManager.getData()))},m.prototype.setValueProcessData=function(e,t){var o=!1;return this.value!=e&&(o=!0,t&&this.column.modules.mutate&&(e=this.table.modules.mutator.transformCell(this,e))),this.setValueActual(e),o&&this.table.modExists("columnCalcs")&&(this.column.definition.topCalc||this.column.definition.bottomCalc)&&(this.table.options.groupBy&&this.table.modExists("groupRows")?("table"!=this.table.options.columnCalcs&&"both"!=this.table.options.columnCalcs||this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows),"table"!=this.table.options.columnCalcs&&this.table.modules.columnCalcs.recalcRowGroup(this.row)):this.table.modules.columnCalcs.recalc(this.table.rowManager.activeRows)),o},m.prototype.setValueActual=function(e){this.oldValue=this.value,this.value=e,this.table.options.reactiveData&&this.table.modExists("reactiveData")&&this.table.modules.reactiveData.block(),this.column.setFieldValue(this.row.data,e),this.table.options.reactiveData&&this.table.modExists("reactiveData")&&this.table.modules.reactiveData.unblock(),this.loaded&&this.layoutElement()},m.prototype.layoutElement=function(){this._generateContents(),this._generateTooltip(),this.table.options.resizableColumns&&this.table.modExists("resizeColumns")&&"row"===this.row.type&&this.table.modules.resizeColumns.initializeColumn("cell",this.column,this.element),(this.column.definition.contextMenu||this.column.definition.clickMenu)&&this.table.modExists("menu")&&this.table.modules.menu.initializeCell(this),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layoutElement(this.element,this.column)},m.prototype.setWidth=function(){this.width=this.column.width,this.element.style.width=this.column.widthStyled},m.prototype.clearWidth=function(){this.width="",this.element.style.width=""},m.prototype.getWidth=function(){return this.width||this.element.offsetWidth},m.prototype.setMinWidth=function(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled},m.prototype.checkHeight=function(){this.row.reinitializeHeight()},m.prototype.clearHeight=function(){this.element.style.height="",this.height=null},m.prototype.setHeight=function(){this.height=this.row.height,this.element.style.height=this.row.heightStyled},m.prototype.getHeight=function(){return this.height||this.element.offsetHeight},m.prototype.show=function(){this.element.style.display=this.column.vertAlign?"inline-flex":""},m.prototype.hide=function(){this.element.style.display="none"},m.prototype.edit=function(e){if(this.table.modExists("edit",!0))return this.table.modules.edit.editCell(this,e)},m.prototype.cancelEdit=function(){if(this.table.modExists("edit",!0)){var e=this.table.modules.edit.getCurrentCell();e&&e._getSelf()===this?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}},m.prototype.validate=function(){return!this.column.modules.validate||!this.table.modExists("validate",!0)||!0===this.table.modules.validate.validate(this.column.modules.validate,this,this.getValue())},m.prototype.delete=function(){!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.modules.validate&&this.modules.validate.invalid&&this.table.modules.validate.clearValidation(this),this.modules.edit&&this.modules.edit.edited&&this.table.modules.edit.clearEdited(this),this.table.options.history&&this.table.modules.history.clearComponentHistory(this),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}},m.prototype.nav=function(){var e=this,t=!1,o=this.row.getCellIndex(this);return{next:function(){var t,o=this.right();return!!o||!(!(t=e.table.rowManager.nextDisplayRow(e.row,!0))||!(o=t.findNextEditableCell(-1)))&&(o.edit(),!0)},prev:function(){var t,o=this.left();return!!o||!(!(t=e.table.rowManager.prevDisplayRow(e.row,!0))||!(o=t.findPrevEditableCell(t.cells.length)))&&(o.edit(),!0)},left:function(){return!!(t=e.row.findPrevEditableCell(o))&&(t.edit(),!0)},right:function(){return!!(t=e.row.findNextEditableCell(o))&&(t.edit(),!0)},up:function(){var t=e.table.rowManager.prevDisplayRow(e.row,!0);t&&t.cells[o].edit()},down:function(){var t=e.table.rowManager.nextDisplayRow(e.row,!0);t&&t.cells[o].edit()}}},m.prototype.getIndex=function(){this.row.getCellIndex(this)},m.prototype.getComponent=function(){return this.component||(this.component=new f(this)),this.component};var h=function(e){this.table=e,this.active=!1,this.element=this.createElement(),this.external=!1,this.links=[],this._initialize()};h.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e},h.prototype._initialize=function(e){if(this.table.options.footerElement)switch(r(this.table.options.footerElement)){case"string":"<"===this.table.options.footerElement[0]?this.element.innerHTML=this.table.options.footerElement:(this.external=!0,this.element=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement}},h.prototype.getElement=function(){return this.element},h.prototype.append=function(e,t){this.activate(t),this.element.appendChild(e),this.table.rowManager.adjustTableSize()},h.prototype.prepend=function(e,t){this.activate(t),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()},h.prototype.remove=function(e){e.parentNode.removeChild(e),this.deactivate()},h.prototype.deactivate=function(e){this.element.firstChild&&!e||(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)},h.prototype.activate=function(e){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display="")),e&&this.links.push(e)},h.prototype.redraw=function(){this.links.forEach((function(e){e.footerRedraw()}))};var g=function e(t,o){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.vdomHoz=null,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.modules={},this.initializeElement(t)&&(this.initializeOptions(o||{}),this._create()),e.prototype.comms.register(this)};g.prototype.defaultOptions={height:!1,minHeight:!1,maxHeight:!1,layout:"fitData",layoutColumnsOnNewData:!1,columnMinWidth:40,columnHeaderVertAlign:"top",columnVertAlign:!1,resizableColumns:!0,resizableRows:!1,autoResize:!0,columns:[],cellHozAlign:"",cellVertAlign:"",headerHozAlign:"",data:[],autoColumns:!1,autoColumnsDefinitions:!1,reactiveData:!1,nestedFieldSeparator:".",tooltips:!1,tooltipsHeader:!1,tooltipGenerationMode:"load",initialSort:!1,initialFilter:!1,initialHeaderFilter:!1,columnHeaderSortMulti:!0,sortOrderReverse:!1,headerSort:!0,headerSortTristate:!1,headerSortElement:"<div class='tabulator-arrow'></div>",footerElement:!1,index:"id",textDirection:"auto",keybindings:[],tabEndNewRow:!1,invalidOptionWarnings:!0,clipboard:!1,clipboardCopyStyled:!0,clipboardCopyConfig:!1,clipboardCopyFormatter:!1,clipboardCopyRowRange:"active",clipboardPasteParser:"table",clipboardPasteAction:"insert",clipboardCopied:function(){},clipboardPasted:function(){},clipboardPasteError:function(){},downloadDataFormatter:!1,downloadReady:function(e,t){return t},downloadComplete:!1,downloadConfig:{},downloadRowRange:"active",dataTree:!1,dataTreeFilter:!0,dataTreeSort:!0,dataTreeElementColumn:!1,dataTreeBranchElement:!0,dataTreeChildIndent:9,dataTreeChildField:"_children",dataTreeCollapseElement:!1,dataTreeExpandElement:!1,dataTreeStartExpanded:!1,dataTreeRowExpanded:function(){},dataTreeRowCollapsed:function(){},dataTreeChildColumnCalcs:!1,dataTreeSelectPropagate:!1,printAsHtml:!1,printFormatter:!1,printHeader:!1,printFooter:!1,printCopyStyle:!0,printStyled:!0,printVisibleRows:!0,printRowRange:"visible",printConfig:{},addRowPos:"bottom",selectable:"highlight",selectableRangeMode:"drag",selectableRollingSelection:!0,selectablePersistence:!0,selectableCheck:function(e,t){return!0},headerFilterLiveFilterDelay:300,headerFilterPlaceholder:!1,headerVisible:!0,history:!1,locale:!1,langs:{},virtualDom:!0,virtualDomBuffer:0,virtualDomHoz:!1,persistentLayout:!1,persistentSort:!1,persistentFilter:!1,persistenceID:"",persistenceMode:!0,persistenceReaderFunc:!1,persistenceWriterFunc:!1,persistence:!1,responsiveLayout:!1,responsiveLayoutCollapseStartOpen:!0,responsiveLayoutCollapseUseFormatters:!0,responsiveLayoutCollapseFormatter:!1,pagination:!1,paginationSize:!1,paginationInitialPage:1,paginationButtonCount:5,paginationSizeSelector:!1,paginationElement:!1,paginationDataSent:{},paginationDataReceived:{},paginationAddRow:"page",ajaxURL:!1,ajaxURLGenerator:!1,ajaxParams:{},ajaxConfig:"get",ajaxContentType:"form",ajaxRequestFunc:!1,ajaxLoader:!0,ajaxLoaderLoading:!1,ajaxLoaderError:!1,ajaxFiltering:!1,ajaxSorting:!1,ajaxProgressiveLoad:!1,ajaxProgressiveLoadDelay:0,ajaxProgressiveLoadScrollMargin:0,groupBy:!1,groupStartOpen:!0,groupValues:!1,groupUpdateOnCellEdit:!1,groupHeader:!1,groupHeaderPrint:null,groupHeaderClipboard:null,groupHeaderHtmlOutput:null,groupHeaderDownload:null,htmlOutputConfig:!1,movableColumns:!1,movableRows:!1,movableRowsConnectedTables:!1,movableRowsConnectedElements:!1,movableRowsSender:!1,movableRowsReceiver:"insert",movableRowsSendingStart:function(){},movableRowsSent:function(){},movableRowsSentFailed:function(){},movableRowsSendingStop:function(){},movableRowsReceivingStart:function(){},movableRowsReceived:function(){},movableRowsReceivedFailed:function(){},movableRowsReceivingStop:function(){},movableRowsElementDrop:function(){},scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,placeholder:!1,tableBuilding:function(){},tableBuilt:function(){},renderStarted:function(){},renderComplete:function(){},rowClick:!1,rowDblClick:!1,rowContext:!1,rowTap:!1,rowDblTap:!1,rowTapHold:!1,rowMouseEnter:!1,rowMouseLeave:!1,rowMouseOver:!1,rowMouseOut:!1,rowMouseMove:!1,rowContextMenu:!1,rowClickMenu:!1,rowAdded:function(){},rowDeleted:function(){},rowMoved:function(){},rowUpdated:function(){},rowSelectionChanged:function(){},rowSelected:function(){},rowDeselected:function(){},rowResized:function(){},cellClick:!1,cellDblClick:!1,cellContext:!1,cellTap:!1,cellDblTap:!1,cellTapHold:!1,cellMouseEnter:!1,cellMouseLeave:!1,cellMouseOver:!1,cellMouseOut:!1,cellMouseMove:!1,cellEditing:function(){},cellEdited:function(){},cellEditCancelled:function(){},columnMoved:!1,columnResized:function(){},columnTitleChanged:function(){},columnVisibilityChanged:function(){},htmlImporting:function(){},htmlImported:function(){},dataLoading:function(){},dataLoaded:function(){},dataEdited:!1,dataChanged:!1,ajaxRequesting:function(){},ajaxResponse:!1,ajaxError:function(){},dataFiltering:!1,dataFiltered:!1,dataSorting:function(){},dataSorted:function(){},groupToggleElement:"arrow",groupClosedShowCalcs:!1,dataGrouping:function(){},dataGrouped:!1,groupVisibilityChanged:function(){},groupClick:!1,groupDblClick:!1,groupContext:!1,groupContextMenu:!1,groupClickMenu:!1,groupTap:!1,groupDblTap:!1,groupTapHold:!1,columnCalcs:!0,pageLoaded:function(){},localized:function(){},validationMode:"blocking",validationFailed:function(){},historyUndo:function(){},historyRedo:function(){},scrollHorizontal:function(){},scrollVertical:function(){}},g.prototype.initializeOptions=function(e){if(!1!==e.invalidOptionWarnings)for(var t in e)void 0===this.defaultOptions[t]&&console.warn("Invalid table constructor option:",t);for(var t in this.defaultOptions)t in e?this.options[t]=e[t]:Array.isArray(this.defaultOptions[t])?this.options[t]=[]:"object"===r(this.defaultOptions[t])&&null!==this.defaultOptions[t]?this.options[t]={}:this.options[t]=this.defaultOptions[t]},g.prototype.initializeElement=function(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement?(this.element=e,!0):"string"==typeof e?(this.element=document.querySelector(e),!!this.element||(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)},g.prototype.rtlCheck=function(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if("rtl"!==e.direction)break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}},g.prototype._mapDepricatedFunctionality=function(){(this.options.persistentLayout||this.options.persistentSort||this.options.persistentFilter)&&(this.options.persistence||(this.options.persistence={})),this.options.dataEdited&&(console.warn("DEPRECATION WARNING - dataEdited option has been deprecated, please use the dataChanged option instead"),this.options.dataChanged=this.options.dataEdited),this.options.downloadDataFormatter&&console.warn("DEPRECATION WARNING - downloadDataFormatter option has been deprecated"),void 0!==this.options.clipboardCopyHeader&&(this.options.columnHeaders=this.options.clipboardCopyHeader,console.warn("DEPRECATION WARNING - clipboardCopyHeader option has been deprecated, please use the columnHeaders property on the clipboardCopyConfig option")),!0!==this.options.printVisibleRows&&(console.warn("printVisibleRows option is deprecated, you should now use the printRowRange option"),this.options.persistence.printRowRange="active"),!0!==this.options.printCopyStyle&&(console.warn("printCopyStyle option is deprecated, you should now use the printStyled option"),this.options.persistence.printStyled=this.options.printCopyStyle),this.options.persistentLayout&&(console.warn("persistentLayout option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&void 0===this.options.persistence.columns&&(this.options.persistence.columns=!0)),this.options.persistentSort&&(console.warn("persistentSort option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&void 0===this.options.persistence.sort&&(this.options.persistence.sort=!0)),this.options.persistentFilter&&(console.warn("persistentFilter option is deprecated, you should now use the persistence option"),!0!==this.options.persistence&&void 0===this.options.persistence.filter&&(this.options.persistence.filter=!0)),this.options.columnVertAlign&&(console.warn("columnVertAlign option is deprecated, you should now use the columnHeaderVertAlign option"),this.options.columnHeaderVertAlign=this.options.columnVertAlign)},g.prototype._clearSelection=function(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")},g.prototype._create=function(){this._clearObjectPointers(),this._mapDepricatedFunctionality(),this.bindModules(),this.rtlCheck(),"TABLE"===this.element.tagName&&this.modExists("htmlTableImport",!0)&&this.modules.htmlTableImport.parseTable(),this.columnManager=new a(this),this.rowManager=new c(this),this.footerManager=new h(this),this.columnManager.setRowManager(this.rowManager),this.rowManager.setColumnManager(this.columnManager),this.options.virtualDomHoz&&(this.vdomHoz=new u(this)),this._buildElement(),this._loadInitialData()},g.prototype._clearObjectPointers=function(){this.options.columns=this.options.columns.slice(0),this.options.reactiveData||(this.options.data=this.options.data.slice(0))},g.prototype._buildElement=function(){var e=this,t=this.element,o=this.modules,n=this.options;for(n.tableBuilding.call(this),t.classList.add("tabulator"),t.setAttribute("role","grid");t.firstChild;)t.removeChild(t.firstChild);for(var r in n.height&&(n.height=isNaN(n.height)?n.height:n.height+"px",t.style.height=n.height),!1!==n.minHeight&&(n.minHeight=isNaN(n.minHeight)?n.minHeight:n.minHeight+"px",t.style.minHeight=n.minHeight),!1!==n.maxHeight&&(n.maxHeight=isNaN(n.maxHeight)?n.maxHeight:n.maxHeight+"px",t.style.maxHeight=n.maxHeight),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modExists("layout",!0)&&o.layout.initialize(n.layout),o.localize.initialize(),!1!==n.headerFilterPlaceholder&&o.localize.setHeaderFilterPlaceholder(n.headerFilterPlaceholder),n.langs)o.localize.installLang(r,n.langs[r]);if(o.localize.setLocale(n.locale),"string"==typeof n.placeholder){var i=document.createElement("div");i.classList.add("tabulator-placeholder");var a=document.createElement("span");a.innerHTML=n.placeholder,i.appendChild(a),n.placeholder=i}if(t.appendChild(this.columnManager.getElement()),t.appendChild(this.rowManager.getElement()),n.footerElement&&this.footerManager.activate(),n.persistence&&this.modExists("persistence",!0)&&o.persistence.initialize(),n.persistence&&this.modExists("persistence",!0)&&o.persistence.config.columns&&(n.columns=o.persistence.load("columns",n.columns)),n.movableRows&&this.modExists("moveRow")&&o.moveRow.initialize(),n.autoColumns&&this.options.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modExists("columnCalcs")&&o.columnCalcs.initialize(),this.columnManager.setColumns(n.columns),n.dataTree&&this.modExists("dataTree",!0)&&o.dataTree.initialize(),this.modExists("frozenRows")&&this.modules.frozenRows.initialize(),(n.persistence&&this.modExists("persistence",!0)&&o.persistence.config.sort||n.initialSort)&&this.modExists("sort",!0)){var l=[];n.persistence&&this.modExists("persistence",!0)&&o.persistence.config.sort?!1===(l=o.persistence.load("sort"))&&n.initialSort&&(l=n.initialSort):n.initialSort&&(l=n.initialSort),o.sort.setSort(l)}if((n.persistence&&this.modExists("persistence",!0)&&o.persistence.config.filter||n.initialFilter)&&this.modExists("filter",!0)){var s=[];n.persistence&&this.modExists("persistence",!0)&&o.persistence.config.filter?!1===(s=o.persistence.load("filter"))&&n.initialFilter&&(s=n.initialFilter):n.initialFilter&&(s=n.initialFilter),o.filter.setFilter(s)}n.initialHeaderFilter&&this.modExists("filter",!0)&&n.initialHeaderFilter.forEach((function(t){var n=e.columnManager.findColumn(t.field);if(!n)return console.warn("Column Filter Error - No matching column found:",t.field),!1;o.filter.setHeaderFilterValue(n,t.value)})),this.modExists("ajax")&&o.ajax.initialize(),n.pagination&&this.modExists("page",!0)&&o.page.initialize(),n.groupBy&&this.modExists("groupRows",!0)&&o.groupRows.initialize(),this.modExists("keybindings")&&o.keybindings.initialize(),this.modExists("selectRow")&&o.selectRow.clearSelectionData(!0),n.autoResize&&this.modExists("resizeTable")&&o.resizeTable.initialize(),this.modExists("clipboard")&&o.clipboard.initialize(),n.printAsHtml&&this.modExists("print")&&o.print.initialize(),n.tableBuilt.call(this)},g.prototype._loadInitialData=function(){var e=this;if(e.options.pagination&&e.modExists("page"))if(e.modules.page.reset(!0,!0),"local"==e.options.pagination){if(e.options.data.length)e.rowManager.setData(e.options.data,!1,!0);else{if((e.options.ajaxURL||e.options.ajaxURLGenerator)&&e.modExists("ajax"))return void e.modules.ajax.loadData(!1,!0).then((function(){})).catch((function(){e.options.paginationInitialPage&&e.modules.page.setPage(e.options.paginationInitialPage)}));e.rowManager.setData(e.options.data,!1,!0)}e.options.paginationInitialPage&&e.modules.page.setPage(e.options.paginationInitialPage)}else e.options.ajaxURL?e.modules.page.setPage(e.options.paginationInitialPage).then((function(){})).catch((function(){})):e.rowManager.setData([],!1,!0);else e.options.data.length?e.rowManager.setData(e.options.data):(e.options.ajaxURL||e.options.ajaxURLGenerator)&&e.modExists("ajax")?e.modules.ajax.loadData(!1,!0).then((function(){})).catch((function(){})):e.rowManager.setData(e.options.data,!1,!0)},g.prototype.destroy=function(){var e=this.element;for(g.prototype.comms.deregister(this),this.options.reactiveData&&this.modExists("reactiveData",!0)&&this.modules.reactiveData.unwatchData(),this.rowManager.rows.forEach((function(e){e.wipe()})),this.rowManager.rows=[],this.rowManager.activeRows=[],this.rowManager.displayRows=[],this.options.autoResize&&this.modExists("resizeTable")&&this.modules.resizeTable.clearBindings(),this.modExists("keybindings")&&this.modules.keybindings.clearBindings();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator")},g.prototype._detectBrowser=function(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))},g.prototype.blockRedraw=function(){return this.rowManager.blockRedraw()},g.prototype.restoreRedraw=function(){return this.rowManager.restoreRedraw()},g.prototype.setDataFromLocalFile=function(e){var t=this;return new Promise((function(o,n){var r=document.createElement("input");r.type="file",r.accept=e||".json,application/json",r.addEventListener("change",(function(e){var i,a=r.files[0],l=new FileReader;l.readAsText(a),l.onload=function(e){try{i=JSON.parse(l.result)}catch(e){return console.warn("File Load Error - File contents is invalid JSON",e),void n(e)}t.setData(i).then((function(e){o(e)})).catch((function(e){o(e)}))},l.onerror=function(e){console.warn("File Load Error - Unable to read file"),n()}})),r.click()}))},g.prototype.setData=function(e,t,o){return this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this._setData(e,t,o,!1,!0)},g.prototype._setData=function(e,t,o,n,r){return"string"!=typeof e?e?this.rowManager.setData(e,n,r):this.modExists("ajax")&&(this.modules.ajax.getUrl||this.options.ajaxURLGenerator)?"remote"==this.options.pagination&&this.modExists("page",!0)?(this.modules.page.reset(!0,!0),this.modules.page.setPage(1)):this.modules.ajax.loadData(n,r):this.rowManager.setData([],n,r):0==e.indexOf("{")||0==e.indexOf("[")?this.rowManager.setData(JSON.parse(e),n,r):this.modExists("ajax",!0)?(t&&this.modules.ajax.setParams(t),o&&this.modules.ajax.setConfig(o),this.modules.ajax.setUrl(e),"remote"==this.options.pagination&&this.modExists("page",!0)?(this.modules.page.reset(!0,!0),this.modules.page.setPage(1)):this.modules.ajax.loadData(n,r)):void 0},g.prototype.clearData=function(){this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this.rowManager.clearData()},g.prototype.getData=function(e){return!0===e&&(console.warn("passing a boolean to the getData function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getData(e)},g.prototype.getDataCount=function(e){return!0===e&&(console.warn("passing a boolean to the getDataCount function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getDataCount(e)},g.prototype.searchRows=function(e,t,o){if(this.modExists("filter",!0))return this.modules.filter.search("rows",e,t,o)},g.prototype.searchData=function(e,t,o){if(this.modExists("filter",!0))return this.modules.filter.search("data",e,t,o)},g.prototype.getHtml=function(e,t,o){if(this.modExists("export",!0))return this.modules.export.getHtml(e,t,o)},g.prototype.print=function(e,t,o){if(this.modExists("print",!0))return this.modules.print.printFullscreen(e,t,o)},g.prototype.getAjaxUrl=function(){if(this.modExists("ajax",!0))return this.modules.ajax.getUrl()},g.prototype.replaceData=function(e,t,o){return this.modExists("ajax")&&this.modules.ajax.blockActiveRequest(),this._setData(e,t,o,!0)},g.prototype.updateData=function(e){var t=this,o=this,n=0;return new Promise((function(r,i){t.modExists("ajax")&&t.modules.ajax.blockActiveRequest(),"string"==typeof e&&(e=JSON.parse(e)),e?e.forEach((function(e){var t=o.rowManager.findRow(e[o.options.index]);t&&(n++,t.updateData(e).then((function(){--n||r()})))})):(console.warn("Update Error - No data provided"),i("Update Error - No data provided"))}))},g.prototype.addData=function(e,t,o){var n=this;return new Promise((function(r,i){n.modExists("ajax")&&n.modules.ajax.blockActiveRequest(),"string"==typeof e&&(e=JSON.parse(e)),e?n.rowManager.addRows(e,t,o).then((function(e){var t=[];e.forEach((function(e){t.push(e.getComponent())})),r(t)})):(console.warn("Update Error - No data provided"),i("Update Error - No data provided"))}))},g.prototype.updateOrAddData=function(e){var t=this,o=this,n=[],r=0;return new Promise((function(i,a){t.modExists("ajax")&&t.modules.ajax.blockActiveRequest(),"string"==typeof e&&(e=JSON.parse(e)),e?e.forEach((function(e){var t=o.rowManager.findRow(e[o.options.index]);r++,t?t.updateData(e).then((function(){r--,n.push(t.getComponent()),r||i(n)})):o.rowManager.addRows(e).then((function(e){r--,n.push(e[0].getComponent()),r||i(n)}))})):(console.warn("Update Error - No data provided"),a("Update Error - No data provided"))}))},g.prototype.getRow=function(e){var t=this.rowManager.findRow(e);return t?t.getComponent():(console.warn("Find Error - No matching row found:",e),!1)},g.prototype.getRowFromPosition=function(e,t){var o=this.rowManager.getRowFromPosition(e,t);return o?o.getComponent():(console.warn("Find Error - No matching row found:",e),!1)},g.prototype.deleteRow=function(e){var t=this;return new Promise((function(o,n){var r=t,i=0,a=0,l=[];function s(){++i==e.length&&a&&(r.rowManager.reRenderInPosition(),o())}Array.isArray(e)||(e=[e]),e.forEach((function(e){var o=t.rowManager.findRow(e,!0);o?l.push(o):(console.warn("Delete Error - No matching row found:",e),n("Delete Error - No matching row found"),s())})),l.sort((function(e,o){return t.rowManager.rows.indexOf(e)>t.rowManager.rows.indexOf(o)?1:-1})),l.forEach((function(e){e.delete().then((function(){a++,s()})).catch((function(e){s(),n(e)}))}))}))},g.prototype.addRow=function(e,t,o){var n=this;return new Promise((function(r,i){"string"==typeof e&&(e=JSON.parse(e)),n.rowManager.addRows(e,t,o).then((function(e){n.modExists("columnCalcs")&&n.modules.columnCalcs.recalc(n.rowManager.activeRows),r(e[0].getComponent())}))}))},g.prototype.updateOrAddRow=function(e,t){var o=this;return new Promise((function(n,r){var i=o.rowManager.findRow(e);"string"==typeof t&&(t=JSON.parse(t)),i?i.updateData(t).then((function(){o.modExists("columnCalcs")&&o.modules.columnCalcs.recalc(o.rowManager.activeRows),n(i.getComponent())})).catch((function(e){r(e)})):i=o.rowManager.addRows(t).then((function(e){o.modExists("columnCalcs")&&o.modules.columnCalcs.recalc(o.rowManager.activeRows),n(e[0].getComponent())})).catch((function(e){r(e)}))}))},g.prototype.updateRow=function(e,t){var o=this;return new Promise((function(n,r){var i=o.rowManager.findRow(e);"string"==typeof t&&(t=JSON.parse(t)),i?i.updateData(t).then((function(){n(i.getComponent())})).catch((function(e){r(e)})):(console.warn("Update Error - No matching row found:",e),r("Update Error - No matching row found"))}))},g.prototype.scrollToRow=function(e,t,o){var n=this;return new Promise((function(r,i){var a=n.rowManager.findRow(e);a?n.rowManager.scrollToRow(a,t,o).then((function(){r()})).catch((function(e){i(e)})):(console.warn("Scroll Error - No matching row found:",e),i("Scroll Error - No matching row found"))}))},g.prototype.moveRow=function(e,t,o){var n=this.rowManager.findRow(e);n?n.moveToRow(t,o):console.warn("Move Error - No matching row found:",e)},g.prototype.getRows=function(e){return!0===e&&(console.warn("passing a boolean to the getRows function is deprecated, you should now pass the string 'active'"),e="active"),this.rowManager.getComponents(e)},g.prototype.getRowPosition=function(e,t){var o=this.rowManager.findRow(e);return o?this.rowManager.getRowPosition(o,t):(console.warn("Position Error - No matching row found:",e),!1)},g.prototype.copyToClipboard=function(e){this.modExists("clipboard",!0)&&this.modules.clipboard.copy(e)},g.prototype.setColumns=function(e){this.columnManager.setColumns(e)},g.prototype.getColumns=function(e){return this.columnManager.getComponents(e)},g.prototype.getColumn=function(e){var t=this.columnManager.findColumn(e);return t?t.getComponent():(console.warn("Find Error - No matching column found:",e),!1)},g.prototype.getColumnDefinitions=function(){return this.columnManager.getDefinitionTree()},g.prototype.getColumnLayout=function(){if(this.modExists("persistence",!0))return this.modules.persistence.parseColumns(this.columnManager.getColumns())},g.prototype.setColumnLayout=function(e){return!!this.modExists("persistence",!0)&&(this.columnManager.setColumns(this.modules.persistence.mergeDefinition(this.options.columns,e)),!0)},g.prototype.showColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Show Error - No matching column found:",e),!1;t.show(),this.options.responsiveLayout&&this.modExists("responsiveLayout",!0)&&this.modules.responsiveLayout.update()},g.prototype.hideColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Hide Error - No matching column found:",e),!1;t.hide(),this.options.responsiveLayout&&this.modExists("responsiveLayout",!0)&&this.modules.responsiveLayout.update()},g.prototype.toggleColumn=function(e){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1;t.visible?t.hide():t.show()},g.prototype.addColumn=function(e,t,o){var n=this;return new Promise((function(r,i){var a=n.columnManager.findColumn(o);n.columnManager.addColumn(e,t,a).then((function(e){r(e.getComponent())})).catch((function(e){i(e)}))}))},g.prototype.deleteColumn=function(e){var t=this;return new Promise((function(o,n){var r=t.columnManager.findColumn(e);r?r.delete().then((function(){o()})).catch((function(e){n(e)})):(console.warn("Column Delete Error - No matching column found:",e),n())}))},g.prototype.updateColumnDefinition=function(e,t){var o=this;return new Promise((function(n,r){var i=o.columnManager.findColumn(e);i?i.updateDefinition(t).then((function(e){n(e)})).catch((function(e){r(e)})):(console.warn("Column Update Error - No matching column found:",e),r())}))},g.prototype.moveColumn=function(e,t,o){var n=this.columnManager.findColumn(e),r=this.columnManager.findColumn(t);n?r?this.columnManager.moveColumn(n,r,o):console.warn("Move Error - No matching column found:",r):console.warn("Move Error - No matching column found:",e)},g.prototype.scrollToColumn=function(e,t,o){var n=this;return new Promise((function(r,i){var a=n.columnManager.findColumn(e);a?n.columnManager.scrollToColumn(a,t,o).then((function(){r()})).catch((function(e){i(e)})):(console.warn("Scroll Error - No matching column found:",e),i("Scroll Error - No matching column found"))}))},g.prototype.setLocale=function(e){this.modules.localize.setLocale(e)},g.prototype.getLocale=function(){return this.modules.localize.getLocale()},g.prototype.getLang=function(e){return this.modules.localize.getLang(e)},g.prototype.redraw=function(e){this.columnManager.redraw(e),this.rowManager.redraw(e)},g.prototype.setHeight=function(e){"classic"!==this.rowManager.renderMode?(this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.setRenderMode(),this.rowManager.redraw()):console.warn("setHeight function is not available in classic render mode")},g.prototype.setSort=function(e,t){this.modExists("sort",!0)&&(this.modules.sort.setSort(e,t),this.rowManager.sorterRefresh())},g.prototype.getSorters=function(){if(this.modExists("sort",!0))return this.modules.sort.getSort()},g.prototype.clearSort=function(){this.modExists("sort",!0)&&(this.modules.sort.clear(),this.rowManager.sorterRefresh())},g.prototype.setFilter=function(e,t,o,n){this.modExists("filter",!0)&&(this.modules.filter.setFilter(e,t,o,n),this.rowManager.filterRefresh())},g.prototype.addFilter=function(e,t,o,n){this.modExists("filter",!0)&&(this.modules.filter.addFilter(e,t,o,n),this.rowManager.filterRefresh())},g.prototype.getFilters=function(e){if(this.modExists("filter",!0))return this.modules.filter.getFilters(e)},g.prototype.setHeaderFilterFocus=function(e){if(this.modExists("filter",!0)){var t=this.columnManager.findColumn(e);if(!t)return console.warn("Column Filter Focus Error - No matching column found:",e),!1;this.modules.filter.setHeaderFilterFocus(t)}},g.prototype.getHeaderFilterValue=function(e){if(this.modExists("filter",!0)){var t=this.columnManager.findColumn(e);if(t)return this.modules.filter.getHeaderFilterValue(t);console.warn("Column Filter Error - No matching column found:",e)}},g.prototype.setHeaderFilterValue=function(e,t){if(this.modExists("filter",!0)){var o=this.columnManager.findColumn(e);if(!o)return console.warn("Column Filter Error - No matching column found:",e),!1;this.modules.filter.setHeaderFilterValue(o,t)}},g.prototype.getHeaderFilters=function(){if(this.modExists("filter",!0))return this.modules.filter.getHeaderFilters()},g.prototype.removeFilter=function(e,t,o){this.modExists("filter",!0)&&(this.modules.filter.removeFilter(e,t,o),this.rowManager.filterRefresh())},g.prototype.clearFilter=function(e){this.modExists("filter",!0)&&(this.modules.filter.clearFilter(e),this.rowManager.filterRefresh())},g.prototype.clearHeaderFilter=function(){this.modExists("filter",!0)&&(this.modules.filter.clearHeaderFilter(),this.rowManager.filterRefresh())},g.prototype.selectRow=function(e){this.modExists("selectRow",!0)&&(!0===e&&(console.warn("passing a boolean to the selectRowselectRow function is deprecated, you should now pass the string 'active'"),e="active"),this.modules.selectRow.selectRows(e))},g.prototype.deselectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.deselectRows(e)},g.prototype.toggleSelectRow=function(e){this.modExists("selectRow",!0)&&this.modules.selectRow.toggleRow(e)},g.prototype.getSelectedRows=function(){if(this.modExists("selectRow",!0))return this.modules.selectRow.getSelectedRows()},g.prototype.getSelectedData=function(){if(this.modExists("selectRow",!0))return this.modules.selectRow.getSelectedData()},g.prototype.getInvalidCells=function(){if(this.modExists("validate",!0))return this.modules.validate.getInvalidCells()},g.prototype.clearCellValidation=function(e){var t=this;this.modExists("validate",!0)&&(e||(e=this.modules.validate.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach((function(e){t.modules.validate.clearValidation(e._getSelf())})))},g.prototype.validate=function(e){var t=[];return this.rowManager.rows.forEach((function(e){var o=e.validate();!0!==o&&(t=t.concat(o))})),!t.length||t},g.prototype.setMaxPage=function(e){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.setMaxPage(e)},g.prototype.setPage=function(e){return this.options.pagination&&this.modExists("page")?this.modules.page.setPage(e):new Promise((function(e,t){t()}))},g.prototype.setPageToRow=function(e){var t=this;return new Promise((function(o,n){t.options.pagination&&t.modExists("page")&&(e=t.rowManager.findRow(e))?t.modules.page.setPageToRow(e).then((function(){o()})).catch((function(){n()})):n()}))},g.prototype.setPageSize=function(e){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.setPageSize(e),this.modules.page.setPage(1).then((function(){})).catch((function(){}))},g.prototype.getPageSize=function(){if(this.options.pagination&&this.modExists("page",!0))return this.modules.page.getPageSize()},g.prototype.previousPage=function(){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.previousPage()},g.prototype.nextPage=function(){if(!this.options.pagination||!this.modExists("page"))return!1;this.modules.page.nextPage()},g.prototype.getPage=function(){return!(!this.options.pagination||!this.modExists("page"))&&this.modules.page.getPage()},g.prototype.getPageMax=function(){return!(!this.options.pagination||!this.modExists("page"))&&this.modules.page.getPageMax()},g.prototype.setGroupBy=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupBy=e,this.modules.groupRows.initialize(),this.rowManager.refreshActiveData("display"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")},g.prototype.setGroupValues=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupValues=e,this.modules.groupRows.initialize(),this.rowManager.refreshActiveData("display"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")},g.prototype.setGroupStartOpen=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupStartOpen=e,this.modules.groupRows.initialize(),this.options.groupBy?(this.rowManager.refreshActiveData("group"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")):console.warn("Grouping Update - cant refresh view, no groups have been set")},g.prototype.setGroupHeader=function(e){if(!this.modExists("groupRows",!0))return!1;this.options.groupHeader=e,this.modules.groupRows.initialize(),this.options.groupBy?(this.rowManager.refreshActiveData("group"),this.options.persistence&&this.modExists("persistence",!0)&&this.modules.persistence.config.group&&this.modules.persistence.save("group")):console.warn("Grouping Update - cant refresh view, no groups have been set")},g.prototype.getGroups=function(e){return!!this.modExists("groupRows",!0)&&this.modules.groupRows.getGroups(!0)},g.prototype.getGroupedData=function(){if(this.modExists("groupRows",!0))return this.options.groupBy?this.modules.groupRows.getGroupedData():this.getData()},g.prototype.getEditedCells=function(){if(this.modExists("edit",!0))return this.modules.edit.getEditedCells()},g.prototype.clearCellEdited=function(e){var t=this;this.modExists("edit",!0)&&(e||(e=this.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach((function(e){t.modules.edit.clearEdited(e._getSelf())})))},g.prototype.getCalcResults=function(){return!!this.modExists("columnCalcs",!0)&&this.modules.columnCalcs.getResults()},g.prototype.recalc=function(){this.modExists("columnCalcs",!0)&&this.modules.columnCalcs.recalcAll(this.rowManager.activeRows)},g.prototype.navigatePrev=function(){var e=!1;return!(!this.modExists("edit",!0)||!(e=this.modules.edit.currentCell))&&e.nav().prev()},g.prototype.navigateNext=function(){var e=!1;return!(!this.modExists("edit",!0)||!(e=this.modules.edit.currentCell))&&e.nav().next()},g.prototype.navigateLeft=function(){var t=!1;return!(!this.modExists("edit",!0)||!(t=this.modules.edit.currentCell))&&(e.preventDefault(),t.nav().left())},g.prototype.navigateRight=function(){var t=!1;return!(!this.modExists("edit",!0)||!(t=this.modules.edit.currentCell))&&(e.preventDefault(),t.nav().right())},g.prototype.navigateUp=function(){var t=!1;return!(!this.modExists("edit",!0)||!(t=this.modules.edit.currentCell))&&(e.preventDefault(),t.nav().up())},g.prototype.navigateDown=function(){var t=!1;return!(!this.modExists("edit",!0)||!(t=this.modules.edit.currentCell))&&(e.preventDefault(),t.nav().down())},g.prototype.undo=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.undo()},g.prototype.redo=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.redo()},g.prototype.getHistoryUndoSize=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.getHistoryUndoSize()},g.prototype.getHistoryRedoSize=function(){return!(!this.options.history||!this.modExists("history",!0))&&this.modules.history.getHistoryRedoSize()},g.prototype.download=function(e,t,o,n){this.modExists("download",!0)&&this.modules.download.download(e,t,o,n)},g.prototype.downloadToTab=function(e,t,o,n){this.modExists("download",!0)&&this.modules.download.download(e,t,o,n,!0)},g.prototype.tableComms=function(e,t,o,n){this.modules.comms.receive(e,t,o,n)},g.prototype.moduleBindings={},g.prototype.extendModule=function(e,t,o){if(g.prototype.moduleBindings[e]){var n=g.prototype.moduleBindings[e].prototype[t];if(n)if("object"==(void 0===o?"undefined":r(o)))for(var i in o)n[i]=o[i];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",t)}else console.warn("Module Error - module does not exist:",e)},g.prototype.registerModule=function(e,t){g.prototype.moduleBindings[e]=t},g.prototype.bindModules=function(){for(var e in this.modules={},g.prototype.moduleBindings)this.modules[e]=new g.prototype.moduleBindings[e](this)},g.prototype.modExists=function(e,t){return!!this.modules[e]||(t&&console.error("Tabulator Module Not Installed: "+e),!1)},g.prototype.helpers={elVisible:function(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)},elOffset:function(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}},deepClone:function(e){var t=Object.assign(Array.isArray(e)?[]:{},e);for(var o in e)null!=e[o]&&"object"===r(e[o])&&(e[o]instanceof Date?t[o]=new Date(e[o]):t[o]=this.deepClone(e[o]));return t}},g.prototype.comms={tables:[],register:function(e){g.prototype.comms.tables.push(e)},deregister:function(e){var t=g.prototype.comms.tables.indexOf(e);t>-1&&g.prototype.comms.tables.splice(t,1)},lookupTable:function(e,t){var o,n,r=[];if("string"==typeof e){if((o=document.querySelectorAll(e)).length)for(var i=0;i<o.length;i++)(n=g.prototype.comms.matchElement(o[i]))&&r.push(n)}else"undefined"!=typeof HTMLElement&&e instanceof HTMLElement||e instanceof g?(n=g.prototype.comms.matchElement(e))&&r.push(n):Array.isArray(e)?e.forEach((function(e){r=r.concat(g.prototype.comms.lookupTable(e))})):t||console.warn("Table Connection Error - Invalid Selector",e);return r},matchElement:function(e){return g.prototype.comms.tables.find((function(t){return e instanceof g?t===e:t.element===e}))}},g.prototype.findTable=function(e){var t=g.prototype.comms.lookupTable(e,!0);return!(Array.isArray(t)&&!t.length)&&t};var b=function(e){this.table=e,this.mode=null};b.prototype.initialize=function(e){this.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode)},b.prototype.getMode=function(){return this.mode},b.prototype.layout=function(){this.modes[this.mode].call(this,this.table.columnManager.columnsByIndex)},b.prototype.modes={fitData:function(e){this.table.options.virtualDomHoz?this.table.vdomHoz.fitDataLayoutOverride():e.forEach((function(e){e.reinitializeWidth()})),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()},fitDataFill:function(e){e.forEach((function(e){e.reinitializeWidth()})),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()},fitDataTable:function(e){e.forEach((function(e){e.reinitializeWidth()})),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()},fitDataStretch:function(e){var t=this,o=0,n=this.table.rowManager.element.clientWidth,r=0,i=!1;e.forEach((function(e,n){e.widthFixed||e.reinitializeWidth(),(t.table.options.responsiveLayout?e.modules.responsive.visible:e.visible)&&(i=e),e.visible&&(o+=e.getWidth())})),i?(r=n-o+i.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(i.setWidth(0),this.table.modules.responsiveLayout.update()),r>0?i.setWidth(r):i.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()},fitColumns:function(e){var t,o,n=this.table.element.clientWidth,r=0,i=0,a=0,l=[],s=[],c=0,u=0;function d(e){return"string"==typeof e?e.indexOf("%")>-1?n/100*parseInt(e):parseInt(e):e}function p(e,t,o,n){var r=[],i=0,a=0,l=0,s=0,c=0,u=[];function f(e){return o*(e.column.definition.widthGrow||1)}function m(e){return d(e.width)-o*(e.column.definition.widthShrink||0)}return e.forEach((function(e,t){var o=n?m(e):f(e);e.column.minWidth>=o?r.push(e):(u.push(e),c+=n?e.column.definition.widthShrink||1:e.column.definition.widthGrow||1)})),r.length?(r.forEach((function(e){i+=n?e.width-e.column.minWidth:e.column.minWidth,e.width=e.column.minWidth})),s=(a=t-i)-(l=c?Math.floor(a/c):a)*c,s+=p(u,a,l,n)):(s=c?t-Math.floor(t/c)*c:t,u.forEach((function(e){e.width=n?m(e):f(e)}))),s}this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update(),this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(n-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),e.forEach((function(e){var t,o,n;e.visible&&(t=e.definition.width,o=parseInt(e.minWidth),t?(n=d(t),r+=n>o?n:o,e.definition.widthShrink&&(s.push({column:e,width:n>o?n:o}),c+=e.definition.widthShrink)):(l.push({column:e,width:0}),a+=e.definition.widthGrow||1))})),i=n-r,t=Math.floor(i/a);u=p(l,i,t,!1);l.length&&u>0&&(l[l.length-1].width+=+u),l.forEach((function(e){i-=e.width})),(o=Math.abs(u)+i)>0&&c&&(u=p(s,o,Math.floor(o/c),!0)),s.length&&(s[s.length-1].width-=u),l.forEach((function(e){e.column.setWidth(e.width)})),s.forEach((function(e){e.column.setWidth(e.width)}))}},g.prototype.registerModule("layout",b);var v=function(e){this.table=e,this.locale="default",this.lang=!1,this.bindings={},this.langList={}};v.prototype.initialize=function(){this.langList=g.prototype.helpers.deepClone(this.langs)},v.prototype.setHeaderFilterPlaceholder=function(e){this.langList.default.headerFilters.default=e},v.prototype.setHeaderFilterColumnPlaceholder=function(e,t){this.langList.default.headerFilters.columns[e]=t,this.lang&&!this.lang.headerFilters.columns[e]&&(this.lang.headerFilters.columns[e]=t)},v.prototype.installLang=function(e,t){this.langList[e]?this._setLangProp(this.langList[e],t):this.langList[e]=t},v.prototype._setLangProp=function(e,t){for(var o in t)e[o]&&"object"==r(e[o])?this._setLangProp(e[o],t[o]):e[o]=t[o]},v.prototype.setLocale=function(e){if(!0===(e=e||"default")&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){var t=e.split("-")[0];this.langList[t]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,t),e=t):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=g.prototype.helpers.deepClone(this.langList.default||{}),"default"!=e&&function e(t,o){for(var n in t)"object"==r(t[n])?(o[n]||(o[n]={}),e(t[n],o[n])):o[n]=t[n]}(this.langList[e],this.lang),this.table.options.localized.call(this.table,this.locale,this.lang),this._executeBindings()},v.prototype.getLocale=function(e){return self.locale},v.prototype.getLang=function(e){return e?this.langList[e]:this.lang},v.prototype.getText=function(e,t){var o=(e=t?e+"|"+t:e).split("|");return this._getLangElement(o,this.locale)||""},v.prototype._getLangElement=function(e,t){var o=this.lang;return e.forEach((function(e){var t;o&&(t=o[e],o=void 0!==t&&t)})),o},v.prototype.bind=function(e,t){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(t),t(this.getText(e),this.lang)},v.prototype._executeBindings=function(){var e=this,t=function(t){e.bindings[t].forEach((function(o){o(e.getText(t),e.lang)}))};for(var o in e.bindings)t(o)},v.prototype.langs={default:{groups:{item:"item",items:"items"},columns:{},ajax:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All"},headerFilters:{default:"filter column...",columns:{}}}},g.prototype.registerModule("localize",v);var y=function(e){this.table=e};y.prototype.getConnections=function(e){var t=this,o=[];return g.prototype.comms.lookupTable(e).forEach((function(e){t.table!==e&&o.push(e)})),o},y.prototype.send=function(e,t,o,n){var r=this,i=this.getConnections(e);i.forEach((function(e){e.tableComms(r.table.element,t,o,n)})),!i.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)},y.prototype.receive=function(e,t,o,n){if(this.table.modExists(t))return this.table.modules[t].commsReceived(e,o,n);console.warn("Inter-table Comms Error - no such module:",t)},g.prototype.registerModule("comms",y);var w=function(e){this.table=e,this.allowedTypes=["","data","download","clipboard","print","htmlOutput"]};w.prototype.initializeColumn=function(e){var t=this,o=!1,n={};this.allowedTypes.forEach((function(r){var i,a="accessor"+(r.charAt(0).toUpperCase()+r.slice(1));e.definition[a]&&(i=t.lookupAccessor(e.definition[a]))&&(o=!0,n[a]={accessor:i,params:e.definition[a+"Params"]||{}})})),o&&(e.modules.accessor=n)},w.prototype.lookupAccessor=function(e){var t=!1;switch(void 0===e?"undefined":r(e)){case"string":this.accessors[e]?t=this.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e}return t},w.prototype.transformRow=function(e,t){var o="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),n=e.getComponent(),r=g.prototype.helpers.deepClone(e.data||{});return this.table.columnManager.traverse((function(e){var i,a,l,s;e.modules.accessor&&(a=e.modules.accessor[o]||e.modules.accessor.accessor||!1)&&"undefined"!=(i=e.getFieldValue(r))&&(s=e.getComponent(),l="function"==typeof a.params?a.params(i,r,t,s,n):a.params,e.setFieldValue(r,a.accessor(i,r,t,l,s,n)))})),r},w.prototype.accessors={},g.prototype.registerModule("accessor",w);var x=function(e){this.table=e,this.config=!1,this.url="",this.urlGenerator=!1,this.params=!1,this.loaderElement=this.createLoaderElement(),this.msgElement=this.createMsgElement(),this.loadingElement=!1,this.errorElement=!1,this.loaderPromise=!1,this.progressiveLoad=!1,this.loading=!1,this.requestOrder=0};x.prototype.initialize=function(){var e;this.loaderElement.appendChild(this.msgElement),this.table.options.ajaxLoaderLoading&&("string"==typeof this.table.options.ajaxLoaderLoading?((e=document.createElement("template")).innerHTML=this.table.options.ajaxLoaderLoading.trim(),this.loadingElement=e.content.firstChild):this.loadingElement=this.table.options.ajaxLoaderLoading),this.loaderPromise=this.table.options.ajaxRequestFunc||this.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||this.defaultURLGenerator,this.table.options.ajaxLoaderError&&("string"==typeof this.table.options.ajaxLoaderError?((e=document.createElement("template")).innerHTML=this.table.options.ajaxLoaderError.trim(),this.errorElement=e.content.firstChild):this.errorElement=this.table.options.ajaxLoaderError),this.table.options.ajaxParams&&this.setParams(this.table.options.ajaxParams),this.table.options.ajaxConfig&&this.setConfig(this.table.options.ajaxConfig),this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.table.options.ajaxProgressiveLoad&&(this.table.options.pagination?(this.progressiveLoad=!1,console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time")):this.table.modExists("page")?(this.progressiveLoad=this.table.options.ajaxProgressiveLoad,this.table.modules.page.initializeProgressive(this.progressiveLoad)):console.error("Pagination plugin is required for progressive ajax loading"))},x.prototype.createLoaderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-loader"),e},x.prototype.createMsgElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-loader-msg"),e.setAttribute("role","alert"),e},x.prototype.setParams=function(e,t){if(t)for(var o in this.params=this.params||{},e)this.params[o]=e[o];else this.params=e},x.prototype.getParams=function(){return this.params||{}},x.prototype.setConfig=function(e){if(this._loadDefaultConfig(),"string"==typeof e)this.config.method=e;else for(var t in e)this.config[t]=e[t]},x.prototype._loadDefaultConfig=function(e){if(!this.config||e)for(var t in this.config={},this.defaultConfig)this.config[t]=this.defaultConfig[t]},x.prototype.setUrl=function(e){this.url=e},x.prototype.getUrl=function(){return this.url},x.prototype.loadData=function(e,t){return this.progressiveLoad?this._loadDataProgressive():this._loadDataStandard(e,t)},x.prototype.nextPage=function(e){this.loading||e<(this.table.options.ajaxProgressiveLoadScrollMargin||2*this.table.rowManager.getElement().clientHeight)&&this.table.modules.page.nextPage().then((function(){})).catch((function(){}))},x.prototype.blockActiveRequest=function(){this.requestOrder++},x.prototype._loadDataProgressive=function(){return this.table.rowManager.setData([]),this.table.modules.page.setPage(1)},x.prototype._loadDataStandard=function(e,t){var o=this;return new Promise((function(n,r){o.sendRequest(e).then((function(i){o.table.rowManager.setData(i,e,t).then((function(){n()})).catch((function(e){r(e)}))})).catch((function(e){r(e)}))}))},x.prototype.generateParamsList=function(e,t){var o=this,n=[];if(t=t||"",Array.isArray(e))e.forEach((function(e,r){n=n.concat(o.generateParamsList(e,t?t+"["+r+"]":r))}));else if("object"===(void 0===e?"undefined":r(e)))for(var i in e)n=n.concat(o.generateParamsList(e[i],t?t+"["+i+"]":i));else n.push({key:t,value:e});return n},x.prototype.serializeParams=function(e){var t=this.generateParamsList(e),o=[];return t.forEach((function(e){o.push(encodeURIComponent(e.key)+"="+encodeURIComponent(e.value))})),o.join("&")},x.prototype.sendRequest=function(e){var t,o=this,n=this,r=n.url;return n.requestOrder++,t=n.requestOrder,n._loadDefaultConfig(),new Promise((function(i,a){!1!==n.table.options.ajaxRequesting.call(o.table,n.url,n.params)?(n.loading=!0,e||n.showLoader(),o.loaderPromise(r,n.config,n.params).then((function(e){t===n.requestOrder?(n.table.options.ajaxResponse&&(e=n.table.options.ajaxResponse.call(n.table,n.url,n.params,e)),i(e),n.hideLoader(),n.loading=!1):console.warn("Ajax Response Blocked - An active ajax request was blocked by an attempt to change table data while the request was being made")})).catch((function(e){console.error("Ajax Load Error: ",e),n.table.options.ajaxError.call(n.table,e),n.showError(),setTimeout((function(){n.hideLoader()}),3e3),n.loading=!1,a()}))):a()}))},x.prototype.showLoader=function(){if("function"==typeof this.table.options.ajaxLoader?this.table.options.ajaxLoader():this.table.options.ajaxLoader){for(this.hideLoader();this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.remove("tabulator-error"),this.msgElement.classList.add("tabulator-loading"),this.loadingElement?this.msgElement.appendChild(this.loadingElement):this.msgElement.innerHTML=this.table.modules.localize.getText("ajax|loading"),this.table.element.appendChild(this.loaderElement)}},x.prototype.showError=function(){for(this.hideLoader();this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.remove("tabulator-loading"),this.msgElement.classList.add("tabulator-error"),this.errorElement?this.msgElement.appendChild(this.errorElement):this.msgElement.innerHTML=this.table.modules.localize.getText("ajax|error"),this.table.element.appendChild(this.loaderElement)},x.prototype.hideLoader=function(){this.loaderElement.parentNode&&this.loaderElement.parentNode.removeChild(this.loaderElement)},x.prototype.defaultConfig={method:"GET"},x.prototype.defaultURLGenerator=function(e,t,o){return e&&o&&Object.keys(o).length&&(t.method&&"get"!=t.method.toLowerCase()||(t.method="get",e+=(e.includes("?")?"&":"?")+this.serializeParams(o))),e},x.prototype.defaultLoaderPromise=function(e,t,o){var n,i=this;return new Promise((function(a,l){if(e=i.urlGenerator(e,t,o),"GET"!=t.method.toUpperCase())if(n="object"===r(i.table.options.ajaxContentType)?i.table.options.ajaxContentType:i.contentTypeFormatters[i.table.options.ajaxContentType]){for(var s in n.headers)t.headers||(t.headers={}),void 0===t.headers[s]&&(t.headers[s]=n.headers[s]);t.body=n.body.call(i,e,t,o)}else console.warn("Ajax Error - Invalid ajaxContentType value:",i.table.options.ajaxContentType);e?(void 0===t.headers&&(t.headers={}),void 0===t.headers.Accept&&(t.headers.Accept="application/json"),void 0===t.headers["X-Requested-With"]&&(t.headers["X-Requested-With"]="XMLHttpRequest"),void 0===t.mode&&(t.mode="cors"),"cors"==t.mode?(void 0===t.headers["Access-Control-Allow-Origin"]&&(t.headers["Access-Control-Allow-Origin"]=window.location.origin),void 0===t.credentials&&(t.credentials="same-origin")):void 0===t.credentials&&(t.credentials="include"),fetch(e,t).then((function(e){e.ok?e.json().then((function(e){a(e)})).catch((function(e){l(e),console.warn("Ajax Load Error - Invalid JSON returned",e)})):(console.error("Ajax Load Error - Connection Error: "+e.status,e.statusText),l(e))})).catch((function(e){console.error("Ajax Load Error - Connection Error: ",e),l(e)}))):(console.warn("Ajax Load Error - No URL Set"),a([]))}))},x.prototype.contentTypeFormatters={json:{headers:{"Content-Type":"application/json"},body:function(e,t,o){return JSON.stringify(o)}},form:{headers:{},body:function(e,t,o){var n=this.generateParamsList(o),r=new FormData;return n.forEach((function(e){r.append(e.key,e.value)})),r}}},g.prototype.registerModule("ajax",x);var E=function(e){this._row=e};E.prototype.getData=function(e){return this._row.getData(e)},E.prototype.getElement=function(){return this._row.getElement()},E.prototype.getTable=function(){return this._row.table},E.prototype.getCells=function(){var e=[];return this._row.getCells().forEach((function(t){e.push(t.getComponent())})),e},E.prototype.getCell=function(e){var t=this._row.getCell(e);return!!t&&t.getComponent()},E.prototype._getSelf=function(){return this._row};var C=function(e){this.table=e,this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.initialize()};C.prototype.createElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e},C.prototype.initialize=function(){this.genColumn=new s({field:"value"},this)},C.prototype.registerColumnField=function(){},C.prototype.initializeColumn=function(e){var t=e.definition,o={topCalcParams:t.topCalcParams||{},botCalcParams:t.bottomCalcParams||{}};if(t.topCalc){switch(r(t.topCalc)){case"string":this.calculations[t.topCalc]?o.topCalc=this.calculations[t.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.topCalc);break;case"function":o.topCalc=t.topCalc}o.topCalc&&(e.modules.columnCalcs=o,this.topCalcs.push(e),"group"!=this.table.options.columnCalcs&&this.initializeTopRow())}if(t.bottomCalc){switch(r(t.bottomCalc)){case"string":this.calculations[t.bottomCalc]?o.botCalc=this.calculations[t.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.bottomCalc);break;case"function":o.botCalc=t.bottomCalc}o.botCalc&&(e.modules.columnCalcs=o,this.botCalcs.push(e),"group"!=this.table.options.columnCalcs&&this.initializeBottomRow())}},C.prototype.removeCalcs=function(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.table.footerManager.remove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()},C.prototype.initializeTopRow=function(){this.topInitialized||(this.table.columnManager.getElement().insertBefore(this.topElement,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)},C.prototype.initializeBottomRow=function(){this.botInitialized||(this.table.footerManager.prepend(this.botElement),this.botInitialized=!0)},C.prototype.scrollHorizontal=function(e){this.table.columnManager.getElement().scrollWidth,this.table.element.clientWidth;this.botInitialized&&this.botRow&&(this.botRow.getElement().style.marginLeft=-e+"px")},C.prototype.recalc=function(e){var t;if(this.topInitialized||this.botInitialized){if(this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),t=this.generateRow("top",this.rowsToData(e)),this.topRow=t;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(t.getElement()),t.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),t=this.generateRow("bottom",this.rowsToData(e)),this.botRow=t;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(t.getElement()),t.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}},C.prototype.recalcRowGroup=function(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))},C.prototype.recalcAll=function(){var e=this;(this.topCalcs.length||this.botCalcs.length)&&("group"!==this.table.options.columnCalcs&&this.recalc(this.table.rowManager.activeRows),this.table.options.groupBy&&"table"!==this.table.options.columnCalcs&&table.modules.groupRows.getChildGroups().forEach((function(t){e.recalcGroup(t)})))},C.prototype.recalcGroup=function(e){var t,o;e&&e.calcs&&(e.calcs.bottom&&(t=this.rowsToData(e.rows),o=this.generateRowData("bottom",t),e.calcs.bottom.updateData(o),e.calcs.bottom.reinitialize()),e.calcs.top&&(t=this.rowsToData(e.rows),o=this.generateRowData("top",t),e.calcs.top.updateData(o),e.calcs.top.reinitialize()))},C.prototype.generateTopRow=function(e){return this.generateRow("top",this.rowsToData(e))},C.prototype.generateBottomRow=function(e){return this.generateRow("bottom",this.rowsToData(e))},C.prototype.rowsToData=function(e){var t=this,o=[];return e.forEach((function(e){if(o.push(e.getData()),t.table.options.dataTree&&t.table.options.dataTreeChildColumnCalcs&&e.modules.dataTree.open){var n=t.rowsToData(t.table.modules.dataTree.getFilteredTreeChildren(e));o=o.concat(n)}})),o},C.prototype.generateRow=function(e,t){var o,n=this,r=this.generateRowData(e,t);return n.table.modExists("mutator")&&n.table.modules.mutator.disable(),o=new p(r,this,"calc"),n.table.modExists("mutator")&&n.table.modules.mutator.enable(),o.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),o.component=!1,o.getComponent=function(){return this.component||(this.component=new E(this)),this.component},o.generateCells=function(){var t=[];n.table.columnManager.columnsByIndex.forEach((function(r){n.genColumn.setField(r.getField()),n.genColumn.hozAlign=r.hozAlign,r.definition[e+"CalcFormatter"]&&n.table.modExists("format")?n.genColumn.modules.format={formatter:n.table.modules.format.getFormatter(r.definition[e+"CalcFormatter"]),params:r.definition[e+"CalcFormatterParams"]||{}}:n.genColumn.modules.format={formatter:n.table.modules.format.getFormatter("plaintext"),params:{}},n.genColumn.definition.cssClass=r.definition.cssClass;var i=new m(n.genColumn,o);i.getElement(),i.column=r,i.setWidth(),r.cells.push(i),t.push(i),r.visible||i.hide()})),this.cells=t},o},C.prototype.generateRowData=function(e,t){var o,n,r={},i="top"==e?this.topCalcs:this.botCalcs,a="top"==e?"topCalc":"botCalc";return i.forEach((function(e){var i=[];e.modules.columnCalcs&&e.modules.columnCalcs[a]&&(t.forEach((function(t){i.push(e.getFieldValue(t))})),n=a+"Params",o="function"==typeof e.modules.columnCalcs[n]?e.modules.columnCalcs[n](i,t):e.modules.columnCalcs[n],e.setFieldValue(r,e.modules.columnCalcs[a](i,t,o)))})),r},C.prototype.hasTopCalcs=function(){return!!this.topCalcs.length},C.prototype.hasBottomCalcs=function(){return!!this.botCalcs.length},C.prototype.redraw=function(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)},C.prototype.getResults=function(){var e=this,t={};return this.table.options.groupBy&&this.table.modExists("groupRows")?this.table.modules.groupRows.getGroups(!0).forEach((function(o){t[o.getKey()]=e.getGroupResults(o)})):t={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},t},C.prototype.getGroupResults=function(e){var t=this,o=e._getSelf(),n=e.getSubGroups(),r={};return n.forEach((function(e){r[e.getKey()]=t.getGroupResults(e)})),{top:o.calcs.top?o.calcs.top.getData():{},bottom:o.calcs.bottom?o.calcs.bottom.getData():{},groups:r}},C.prototype.calculations={avg:function(e,t,o){var n=0,r=void 0!==o.precision?o.precision:2;return e.length&&(n=e.reduce((function(e,t){return e+(t=Number(t))})),n/=e.length,n=!1!==r?n.toFixed(r):n),parseFloat(n).toString()},max:function(e,t,o){var n=null,r=void 0!==o.precision&&o.precision;return e.forEach((function(e){((e=Number(e))>n||null===n)&&(n=e)})),null!==n?!1!==r?n.toFixed(r):n:""},min:function(e,t,o){var n=null,r=void 0!==o.precision&&o.precision;return e.forEach((function(e){((e=Number(e))<n||null===n)&&(n=e)})),null!==n?!1!==r?n.toFixed(r):n:""},sum:function(e,t,o){var n=0,r=void 0!==o.precision&&o.precision;return e.length&&e.forEach((function(e){e=Number(e),n+=isNaN(e)?0:Number(e)})),!1!==r?n.toFixed(r):n},concat:function(e,t,o){var n=0;return e.length&&(n=e.reduce((function(e,t){return String(e)+String(t)}))),n},count:function(e,t,o){var n=0;return e.length&&e.forEach((function(e){e&&n++})),n}},g.prototype.registerModule("columnCalcs",C);var k=function(e){this.table=e,this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0};k.prototype.initialize=function(){var e=this;this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,!0!==this.mode&&"copy"!==this.mode||this.table.element.addEventListener("copy",(function(t){var o,n;if(!e.blocked){if(t.preventDefault(),e.customSelection)o=e.customSelection,e.table.options.clipboardCopyFormatter&&(o=e.table.options.clipboardCopyFormatter("plain",o));else{var r=e.table.modules.export.generateExportList(e.rowRange,e.table.options.clipboardCopyStyled,e.table.options.clipboardCopyConfig,"clipboard");o=(n=e.table.modules.export.genereateHTMLTable(r))?e.generatePlainContent(r):"",e.table.options.clipboardCopyFormatter&&(o=e.table.options.clipboardCopyFormatter("plain",o),n=e.table.options.clipboardCopyFormatter("html",n))}window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",o):t.clipboardData&&t.clipboardData.setData?(t.clipboardData.setData("text/plain",o),n&&t.clipboardData.setData("text/html",n)):t.originalEvent&&t.originalEvent.clipboardData.setData&&(t.originalEvent.clipboardData.setData("text/plain",o),n&&t.originalEvent.clipboardData.setData("text/html",n)),e.table.options.clipboardCopied.call(e.table,o,n),e.reset()}})),!0!==this.mode&&"paste"!==this.mode||this.table.element.addEventListener("paste",(function(t){e.paste(t)})),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction)},k.prototype.reset=function(){this.blocked=!1,this.originalSelectionText=""},k.prototype.generatePlainContent=function(e){var t=[];return e.forEach((function(e){var o=[];e.columns.forEach((function(t){var n="";if(t)if("group"===e.type&&(t.value=t.component.getKey()),null===t.value)n="";else switch(r(t.value)){case"object":n=JSON.stringify(t.value);break;case"undefined":n="";break;default:n=t.value}o.push(n)})),t.push(o.join("\t"))})),t.join("\n")},k.prototype.copy=function(e,t){var o,n;this.blocked=!1,this.customSelection=!1,!0!==this.mode&&"copy"!==this.mode||(this.rowRange=e||this.table.options.clipboardCopyRowRange,void 0!==window.getSelection&&void 0!==document.createRange?((e=document.createRange()).selectNodeContents(this.table.element),(o=window.getSelection()).toString()&&t&&(this.customSelection=o.toString()),o.removeAllRanges(),o.addRange(e)):void 0!==document.selection&&void 0!==document.body.createTextRange&&((n=document.body.createTextRange()).moveToElementText(this.table.element),n.select()),document.execCommand("copy"),o&&o.removeAllRanges())},k.prototype.setPasteAction=function(e){switch(void 0===e?"undefined":r(e)){case"string":this.pasteAction=this.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e}},k.prototype.setPasteParser=function(e){switch(void 0===e?"undefined":r(e)){case"string":this.pasteParser=this.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e}},k.prototype.paste=function(e){var t,o,n;this.checkPaseOrigin(e)&&(t=this.getPasteData(e),(o=this.pasteParser.call(this,t))?(e.preventDefault(),this.table.modExists("mutator")&&(o=this.mutateData(o)),n=this.pasteAction.call(this,o),this.table.options.clipboardPasted.call(this.table,t,o,n)):this.table.options.clipboardPasteError.call(this.table,t))},k.prototype.mutateData=function(e){var t=this,o=[];return Array.isArray(e)?e.forEach((function(e){o.push(t.table.modules.mutator.transformRow(e,"clipboard"))})):o=e,o},k.prototype.checkPaseOrigin=function(e){var t=!0;return("DIV"!=e.target.tagName||this.table.modules.edit.currentCell)&&(t=!1),t},k.prototype.getPasteData=function(e){var t;return window.clipboardData&&window.clipboardData.getData?t=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?t=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(t=e.originalEvent.clipboardData.getData("text/plain")),t},k.prototype.pasteParsers={table:function(e){var t=[],o=!0,n=this.table.columnManager.columns,r=[],i=[];return(e=e.split("\n")).forEach((function(e){t.push(e.split("\t"))})),!(!t.length||1===t.length&&t[0].length<2)&&(!0,t[0].forEach((function(e){var t=n.find((function(t){return e&&t.definition.title&&e.trim()&&t.definition.title.trim()===e.trim()}));t?r.push(t):o=!1})),o||(o=!0,r=[],t[0].forEach((function(e){var t=n.find((function(t){return e&&t.field&&e.trim()&&t.field.trim()===e.trim()}));t?r.push(t):o=!1})),o||(r=this.table.columnManager.columnsByIndex)),o&&t.shift(),t.forEach((function(e){var t={};e.forEach((function(e,o){r[o]&&(t[r[o].field]=e)})),i.push(t)})),i)}},k.prototype.pasteActions={replace:function(e){return this.table.setData(e)},update:function(e){return this.table.updateOrAddData(e)},insert:function(e){return this.table.addData(e)}},g.prototype.registerModule("clipboard",k);var S=function(e){this.table=e,this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.displayIndex=0};S.prototype.initialize=function(){var e=null,t=this.table.columnManager.getFirstVisibileColumn(),o=this.table.options;switch(this.field=o.dataTreeChildField,this.indent=o.dataTreeChildIndent,this.elementField=o.dataTreeElementColumn||!!t&&t.field,o.dataTreeBranchElement&&(!0===o.dataTreeBranchElement?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):"string"==typeof o.dataTreeBranchElement?((e=document.createElement("div")).innerHTML=o.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=o.dataTreeBranchElement),o.dataTreeCollapseElement?"string"==typeof o.dataTreeCollapseElement?((e=document.createElement("div")).innerHTML=o.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=o.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="<div class='tabulator-data-tree-control-collapse'></div>"),o.dataTreeExpandElement?"string"==typeof o.dataTreeExpandElement?((e=document.createElement("div")).innerHTML=o.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=o.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="<div class='tabulator-data-tree-control-expand'></div>"),r(o.dataTreeStartExpanded)){case"boolean":this.startOpen=function(e,t){return o.dataTreeStartExpanded};break;case"function":this.startOpen=o.dataTreeStartExpanded;break;default:this.startOpen=function(e,t){return o.dataTreeStartExpanded[t]}}},S.prototype.initializeRow=function(e){var t=e.getData()[this.field],o=Array.isArray(t),n=o||!o&&"object"===(void 0===t?"undefined":r(t))&&null!==t;!n&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!n&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:!!n&&(e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0)),controlEl:!(!e.modules.dataTree||!n)&&e.modules.dataTree.controlEl,branchEl:!(!e.modules.dataTree||!n)&&e.modules.dataTree.branchEl,parent:!!e.modules.dataTree&&e.modules.dataTree.parent,children:n}},S.prototype.layoutRow=function(e){var t=(this.elementField?e.getCell(this.elementField):e.getCells()[0]).getElement(),o=e.modules.dataTree;o.branchEl&&(o.branchEl.parentNode&&o.branchEl.parentNode.removeChild(o.branchEl),o.branchEl=!1),o.controlEl&&(o.controlEl.parentNode&&o.controlEl.parentNode.removeChild(o.controlEl),o.controlEl=!1),this.generateControlElement(e,t),e.element.classList.add("tabulator-tree-level-"+o.index),o.index&&(this.branchEl?(o.branchEl=this.branchEl.cloneNode(!0),t.insertBefore(o.branchEl,t.firstChild),this.table.rtl?o.branchEl.style.marginRight=(o.branchEl.offsetWidth+o.branchEl.style.marginLeft)*(o.index-1)+o.index*this.indent+"px":o.branchEl.style.marginLeft=(o.branchEl.offsetWidth+o.branchEl.style.marginRight)*(o.index-1)+o.index*this.indent+"px"):this.table.rtl?t.style.paddingRight=parseInt(window.getComputedStyle(t,null).getPropertyValue("padding-right"))+o.index*this.indent+"px":t.style.paddingLeft=parseInt(window.getComputedStyle(t,null).getPropertyValue("padding-left"))+o.index*this.indent+"px")},S.prototype.generateControlElement=function(e,t){var o=this,n=e.modules.dataTree,r=(t=t||e.getCells()[0].getElement(),n.controlEl);!1!==n.children&&(n.open?(n.controlEl=this.collapseEl.cloneNode(!0),n.controlEl.addEventListener("click",(function(t){t.stopPropagation(),o.collapseRow(e)}))):(n.controlEl=this.expandEl.cloneNode(!0),n.controlEl.addEventListener("click",(function(t){t.stopPropagation(),o.expandRow(e)}))),n.controlEl.addEventListener("mousedown",(function(e){e.stopPropagation()})),r&&r.parentNode===t?r.parentNode.replaceChild(n.controlEl,r):t.insertBefore(n.controlEl,t.firstChild))},S.prototype.setDisplayIndex=function(e){this.displayIndex=e},S.prototype.getDisplayIndex=function(){return this.displayIndex},S.prototype.getRows=function(e){var t=this,o=[];return e.forEach((function(e,n){var r;o.push(e),e instanceof p&&((r=e.modules.dataTree.children).index||!1===r.children||t.getChildren(e).forEach((function(e){o.push(e)})))})),o},S.prototype.getChildren=function(e){var t=this,o=e.modules.dataTree,n=[],r=[];return!1!==o.children&&o.open&&(Array.isArray(o.children)||(o.children=this.generateChildren(e)),n=this.table.modExists("filter")&&this.table.options.dataTreeFilter?this.table.modules.filter.filter(o.children):o.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(n),n.forEach((function(e){r.push(e),t.getChildren(e).forEach((function(e){r.push(e)}))}))),r},S.prototype.generateChildren=function(e){var t=this,o=[],n=e.getData()[this.field];return Array.isArray(n)||(n=[n]),n.forEach((function(n){var r=new p(n||{},t.table.rowManager);r.modules.dataTree.index=e.modules.dataTree.index+1,r.modules.dataTree.parent=e,r.modules.dataTree.children&&(r.modules.dataTree.open=t.startOpen(r.getComponent(),r.modules.dataTree.index)),o.push(r)})),o},S.prototype.expandRow=function(e,t){var o=e.modules.dataTree;!1!==o.children&&(o.open=!0,e.reinitialize(),this.table.rowManager.refreshActiveData("tree",!1,!0),this.table.options.dataTreeRowExpanded(e.getComponent(),e.modules.dataTree.index))},S.prototype.collapseRow=function(e){var t=e.modules.dataTree;!1!==t.children&&(t.open=!1,e.reinitialize(),this.table.rowManager.refreshActiveData("tree",!1,!0),this.table.options.dataTreeRowCollapsed(e.getComponent(),e.modules.dataTree.index))},S.prototype.toggleRow=function(e){var t=e.modules.dataTree;!1!==t.children&&(t.open?this.collapseRow(e):this.expandRow(e))},S.prototype.getTreeParent=function(e){return!!e.modules.dataTree.parent&&e.modules.dataTree.parent.getComponent()},S.prototype.getFilteredTreeChildren=function(e){var t=e.modules.dataTree,o=[];return t.children&&(Array.isArray(t.children)||(t.children=this.generateChildren(e)),(this.table.modExists("filter")&&this.table.options.dataTreeFilter?this.table.modules.filter.filter(t.children):t.children).forEach((function(e){e instanceof p&&o.push(e)}))),o},S.prototype.rowDelete=function(e){var t,o=e.modules.dataTree.parent;o&&(!1!==(t=this.findChildIndex(e,o))&&o.data[this.field].splice(t,1),o.data[this.field].length||delete o.data[this.field],this.initializeRow(o),this.layoutRow(o)),this.table.rowManager.refreshActiveData("tree",!1,!0)},S.prototype.addTreeChildRow=function(e,t,o,n){var r=!1;"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),void 0!==n&&!1!==(r=this.findChildIndex(n,e))&&e.data[this.field].splice(o?r:r+1,0,t),!1===r&&(o?e.data[this.field].unshift(t):e.data[this.field].push(t)),this.initializeRow(e),this.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)},S.prototype.findChildIndex=function(e,t){var o=this,n=!1;return"object"==(void 0===e?"undefined":r(e))?e instanceof p?n=e.data:e instanceof d?n=e._getSelf().data:"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&t.modules.dataTree&&(n=t.modules.dataTree.children.find((function(t){return t instanceof p&&t.element===e})))&&(n=n.data):n=null!=e&&t.data[this.field].find((function(t){return t.data[o.table.options.index]==e})),n&&(Array.isArray(t.data[this.field])&&(n=t.data[this.field].indexOf(n)),-1==n&&(n=!1)),n},S.prototype.getTreeChildren=function(e,t,o){var n=this,r=e.modules.dataTree,i=[];return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),r.children.forEach((function(e){e instanceof p&&(i.push(t?e.getComponent():e),o&&(i=i.concat(n.getTreeChildren(e,t,o))))}))),i},S.prototype.checkForRestyle=function(e){e.row.cells.indexOf(e)||e.row.reinitialize()},S.prototype.getChildField=function(){return this.field},S.prototype.redrawNeeded=function(e){return!!this.field&&void 0!==e[this.field]||!!this.elementField&&void 0!==e[this.elementField]},g.prototype.registerModule("dataTree",S);var R=function(e){this.table=e};R.prototype.download=function(e,t,o,n,r){var i=this,a=!1;if("function"==typeof e?a=e:i.downloaders[e]?a=i.downloaders[e]:console.warn("Download Error - No such download type found: ",e),a){var l=this.generateExportList(n);a.call(this.table,l,o||{},(function(o,n){r?!0===r?i.triggerDownload(o,n,e,t,!0):r(o):i.triggerDownload(o,n,e,t)}))}},R.prototype.generateExportList=function(e){var t=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),o=this.table.options.groupHeaderDownload;return o&&!Array.isArray(o)&&(o=[o]),t.forEach((function(e){var t;"group"===e.type&&(t=e.columns[0],o&&o[e.indent]&&(t.value=o[e.indent](t.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)))})),t},R.prototype.triggerDownload=function(e,t,o,n,r){var i=document.createElement("a"),a=new Blob([e],{type:t});n=n||"Tabulator."+("function"==typeof o?"txt":o);(a=this.table.options.downloadReady.call(this.table,e,a))&&(r?window.open(window.URL.createObjectURL(a)):navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(a,n):(i.setAttribute("href",window.URL.createObjectURL(a)),i.setAttribute("download",n),i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i)),this.table.options.downloadComplete&&this.table.options.downloadComplete())},R.prototype.commsReceived=function(e,t,o){switch(t){case"intercept":this.download(o.type,"",o.options,o.active,o.intercept)}},R.prototype.downloaders={csv:function(e,t,o){var n=t&&t.delimiter?t.delimiter:",",i=[],a=[];e.forEach((function(e){var t=[];switch(e.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":e.columns.forEach((function(e,t){e&&1===e.depth&&(a[t]=void 0===e.value||null===e.value?"":'"'+String(e.value).split('"').join('""')+'"')}));break;case"row":e.columns.forEach((function(e){if(e){switch(r(e.value)){case"object":e.value=JSON.stringify(e.value);break;case"undefined":case"null":e.value=""}t.push('"'+String(e.value).split('"').join('""')+'"')}})),i.push(t.join(n))}})),a.length&&i.unshift(a.join(n)),i=i.join("\n"),t.bom&&(i="\ufeff"+i),o(i,"text/csv")},json:function(e,t,o){var n=[];e.forEach((function(e){var t={};switch(e.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":e.columns.forEach((function(e){e&&(t[e.component.getField()]=e.value)})),n.push(t)}})),o(n=JSON.stringify(n,null,"\t"),"application/json")},pdf:function(e,t,o){var n=[],i=[],a={},l=t.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},s=t.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},c=t.jsPDF||{},u=t&&t.title?t.title:"";function d(e,t){var o=[];return e.columns.forEach((function(e){var n;if(e){switch(r(e.value)){case"object":e.value=JSON.stringify(e.value);break;case"undefined":case"null":e.value=""}n={content:e.value,colSpan:e.width,rowSpan:e.height},t&&(n.styles=t),o.push(n)}else o.push("")})),o}c.orientation||(c.orientation=t.orientation||"landscape"),c.unit||(c.unit="pt"),e.forEach((function(e){switch(e.type){case"header":n.push(d(e));break;case"group":i.push(d(e,l));break;case"calc":i.push(d(e,s));break;case"row":i.push(d(e))}}));var p=new jsPDF(c);t&&t.autoTable&&(a="function"==typeof t.autoTable?t.autoTable(p)||{}:t.autoTable),u&&(a.addPageContent=function(e){p.text(u,40,30)}),a.head=n,a.body=i,p.autoTable(a),t&&t.documentProcessing&&t.documentProcessing(p),o(p.output("arraybuffer"),"application/pdf")},xlsx:function(e,t,o){var n=t.sheetName||"Sheet1",i=XLSX.utils.book_new();function a(){var t=[],o=[],n={},i={s:{c:0,r:0},e:{c:e[0]?e[0].columns.reduce((function(e,t){return e+(t&&t.width?t.width:1)}),0):0,r:e.length}};return e.forEach((function(e,n){var i=[];e.columns.forEach((function(e,t){e?(i.push(e.value instanceof Date||"object"!==r(e.value)?e.value:JSON.stringify(e.value)),(e.width>1||e.height>-1)&&o.push({s:{r:n,c:t},e:{r:n+e.height-1,c:t+e.width-1}})):i.push("")})),t.push(i)})),XLSX.utils.sheet_add_aoa(n,t),n["!ref"]=XLSX.utils.encode_range(i),o.length&&(n["!merges"]=o),n}if(i.SheetNames=[],i.Sheets={},t.sheetOnly)o(a());else{if(t.sheets)for(var l in t.sheets)!0===t.sheets[l]?(i.SheetNames.push(l),i.Sheets[l]=a()):(i.SheetNames.push(l),this.modules.comms.send(t.sheets[l],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:this.active,intercept:function(e){i.Sheets[l]=e}}));else i.SheetNames.push(n),i.Sheets[n]=a();t.documentProcessing&&(i=t.documentProcessing(i)),o(function(e){for(var t=new ArrayBuffer(e.length),o=new Uint8Array(t),n=0;n!=e.length;++n)o[n]=255&e.charCodeAt(n);return t}(XLSX.write(i,{bookType:"xlsx",bookSST:!0,type:"binary"})),"application/octet-stream")}},html:function(e,t,o){this.modExists("export",!0)&&o(this.modules.export.genereateHTMLTable(e),"text/html")}},g.prototype.registerModule("download",R);var T=function(e){this.table=e,this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[]};T.prototype.initializeColumn=function(e){var t={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(r(e.definition.editor)){case"string":"tick"===e.definition.editor&&(e.definition.editor="tickCross",console.warn("DEPRECATION WARNING - the tick editor has been deprecated, please use the tickCross editor")),this.editors[e.definition.editor]?t.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":t.editor=e.definition.editor;break;case"boolean":!0===e.definition.editor&&("function"!=typeof e.definition.formatter?("tick"===e.definition.formatter&&(e.definition.formatter="tickCross",console.warn("DEPRECATION WARNING - the tick editor has been deprecated, please use the tickCross editor")),this.editors[e.definition.formatter]?t.editor=this.editors[e.definition.formatter]:t.editor=this.editors.input):console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter))}t.editor&&(e.modules.edit=t)},T.prototype.getCurrentCell=function(){return!!this.currentCell&&this.currentCell.getComponent()},T.prototype.clearEditor=function(e){var t,o=this.currentCell;if(this.invalidEdit=!1,o){for(this.currentCell=!1,t=o.getElement(),e?o.validate():t.classList.remove("tabulator-validation-fail"),t.classList.remove("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);o.row.getElement().classList.remove("tabulator-row-editing")}},T.prototype.cancelEdit=function(){if(this.currentCell){var e=this.currentCell,t=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),("textarea"==e.column.definition.editor||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.cellEvents.cellEditCancelled&&e.column.cellEvents.cellEditCancelled.call(this.table,t),this.table.options.cellEditCancelled.call(this.table,t)}},T.prototype.bindEditor=function(e){var t=this,o=e.getElement();o.setAttribute("tabindex",0),o.addEventListener("click",(function(e){o.classList.contains("tabulator-editing")||o.focus({preventScroll:!0})})),o.addEventListener("mousedown",(function(e){2===e.button?e.preventDefault():t.mouseClick=!0})),o.addEventListener("focus",(function(o){t.recursionBlock||t.edit(e,o,!1)}))},T.prototype.focusCellNoEvent=function(e,t){this.recursionBlock=!0,t&&"ie"===this.table.browser||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1},T.prototype.editCell=function(e,t){this.focusCellNoEvent(e),this.edit(e,!1,t)},T.prototype.focusScrollAdjust=function(e){if("virtual"==this.table.rowManager.getRenderMode()){var t=this.table.rowManager.element.scrollTop,o=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,n=e.row.getElement();n.offsetTop;n.offsetTop<t?this.table.rowManager.element.scrollTop-=t-n.offsetTop:n.offsetTop+n.offsetHeight>o&&(this.table.rowManager.element.scrollTop+=n.offsetTop+n.offsetHeight-o);var r=this.table.rowManager.element.scrollLeft,i=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,a=e.getElement();a.offsetLeft;this.table.modExists("frozenColumns")&&(r+=parseInt(this.table.modules.frozenColumns.leftMargin),i-=parseInt(this.table.modules.frozenColumns.rightMargin)),a.offsetLeft<r?this.table.rowManager.element.scrollLeft-=r-a.offsetLeft:a.offsetLeft+a.offsetWidth>i&&(this.table.rowManager.element.scrollLeft+=a.offsetLeft+a.offsetWidth-i)}},T.prototype.edit=function(e,t,o){var n,i,a,l=this,s=!0,c=function(){},u=e.getElement();if(!this.currentCell){if(e.column.modules.edit.blocked)return this.mouseClick=!1,u.blur(),!1;switch(t&&t.stopPropagation(),r(e.column.modules.edit.check)){case"function":s=e.column.modules.edit.check(e.getComponent());break;case"boolean":s=e.column.modules.edit.check}if(s||o){if(l.cancelEdit(),l.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.cellEvents.cellClick&&e.column.cellEvents.cellClick.call(this.table,t,i)),e.column.cellEvents.cellEditing&&e.column.cellEvents.cellEditing.call(this.table,i),l.table.options.cellEditing.call(this.table,i),a="function"==typeof e.column.modules.edit.params?e.column.modules.edit.params(i):e.column.modules.edit.params,!1===(n=e.column.modules.edit.editor.call(l,i,(function(e){c=e}),(function(t){if(l.currentCell===e){var o=!0;return e.column.modules.validate&&l.table.modExists("validate")&&"manual"!=l.table.options.validationMode&&(o=l.table.modules.validate.validate(e.column.modules.validate,e,t)),!0===o||"highlight"===l.table.options.validationMode?(l.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,-1==l.editedCells.indexOf(e)&&l.editedCells.push(e),e.setValue(t,!0),l.table.options.dataTree&&l.table.modExists("dataTree")&&l.table.modules.dataTree.checkForRestyle(e),!0===o||(u.classList.add("tabulator-validation-fail"),l.table.options.validationFailed.call(l.table,e.getComponent(),t,o),!1)):(l.invalidEdit=!0,u.classList.add("tabulator-validation-fail"),l.focusCellNoEvent(e,!0),c(),l.table.options.validationFailed.call(l.table,e.getComponent(),t,o),!1)}}),(function(){l.currentCell===e&&(l.cancelEdit(),l.table.options.dataTree&&l.table.modExists("dataTree")&&l.table.modules.dataTree.checkForRestyle(e))}),a)))return u.blur(),!1;if(!(n instanceof Node))return console.warn("Edit Error - Editor should return an instance of Node, the editor returned:",n),u.blur(),!1;for(u.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-row-editing");u.firstChild;)u.removeChild(u.firstChild);u.appendChild(n),c();for(var d=u.children,p=0;p<d.length;p++)d[p].addEventListener("click",(function(e){e.stopPropagation()}));return!0}return this.mouseClick=!1,u.blur(),!1}this.invalidEdit||this.cancelEdit()},T.prototype.maskInput=function(e,t){var o=t.mask,n=void 0!==t.maskLetterChar?t.maskLetterChar:"A",r=void 0!==t.maskNumberChar?t.maskNumberChar:"9",i=void 0!==t.maskWildcardChar?t.maskWildcardChar:"*";function a(t){var l=o[t];void 0!==l&&l!==i&&l!==n&&l!==r&&(e.value=e.value+""+l,a(t+1))}e.addEventListener("keydown",(function(t){var a=e.value.length,l=t.key;if(t.keyCode>46){if(a>=o.length)return t.preventDefault(),t.stopPropagation(),!1,!1;switch(o[a]){case n:if(l.toUpperCase()==l.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1,!1;break;case r:if(isNaN(l))return t.preventDefault(),t.stopPropagation(),!1,!1;break;case i:break;default:if(l!==o[a])return t.preventDefault(),t.stopPropagation(),!1,!1}!0}})),e.addEventListener("keyup",(function(o){o.keyCode>46&&t.maskAutoFill&&a(e.value.length)})),e.placeholder||(e.placeholder=o),t.maskAutoFill&&a(e.value.length)},T.prototype.getEditedCells=function(){var e=[];return this.editedCells.forEach((function(t){e.push(t.getComponent())})),e},T.prototype.clearEdited=function(e){var t;e.modules.validate&&e.modules.edit&&e.modules.edit.edited&&(e.modules.validate.invalid=!1,(t=this.editedCells.indexOf(e))>-1&&this.editedCells.splice(t,1))},T.prototype.editors={input:function(e,t,o,n,i){var a=e.getValue(),l=document.createElement("input");if(l.setAttribute("type",i.search?"search":"text"),l.style.padding="4px",l.style.width="100%",l.style.boxSizing="border-box",i.elementAttributes&&"object"==r(i.elementAttributes))for(var s in i.elementAttributes)"+"==s.charAt(0)?(s=s.slice(1),l.setAttribute(s,l.getAttribute(s)+i.elementAttributes["+"+s])):l.setAttribute(s,i.elementAttributes[s]);function c(e){null==a&&""!==l.value||l.value!==a?o(l.value)&&(a=l.value):n()}return l.value=void 0!==a?a:"",t((function(){l.focus({preventScroll:!0}),l.style.height="100%"})),l.addEventListener("change",c),l.addEventListener("blur",c),l.addEventListener("keydown",(function(e){switch(e.keyCode){case 13:c();break;case 27:n();break;case 35:case 36:e.stopPropagation()}})),i.mask&&this.table.modules.edit.maskInput(l,i),l},textarea:function(e,t,o,n,i){var a=e.getValue(),l=i.verticalNavigation||"hybrid",s=String(null!=a?a:""),c=((s.match(/(?:\r\n|\r|\n)/g)||[]).length,document.createElement("textarea")),u=0;if(c.style.display="block",c.style.padding="2px",c.style.height="100%",c.style.width="100%",c.style.boxSizing="border-box",c.style.whiteSpace="pre-wrap",c.style.resize="none",i.elementAttributes&&"object"==r(i.elementAttributes))for(var d in i.elementAttributes)"+"==d.charAt(0)?(d=d.slice(1),c.setAttribute(d,c.getAttribute(d)+i.elementAttributes["+"+d])):c.setAttribute(d,i.elementAttributes[d]);function p(t){null==a&&""!==c.value||c.value!==a?(o(c.value)&&(a=c.value),setTimeout((function(){e.getRow().normalizeHeight()}),300)):n()}return c.value=s,t((function(){c.focus({preventScroll:!0}),c.style.height="100%",c.scrollHeight,c.style.height=c.scrollHeight+"px",e.getRow().normalizeHeight()})),c.addEventListener("change",p),c.addEventListener("blur",p),c.addEventListener("keyup",(function(){c.style.height="";var t=c.scrollHeight;c.style.height=t+"px",t!=u&&(u=t,e.getRow().normalizeHeight())})),c.addEventListener("keydown",(function(e){switch(e.keyCode){case 27:n();break;case 38:("editor"==l||"hybrid"==l&&c.selectionStart)&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 40:("editor"==l||"hybrid"==l&&c.selectionStart!==c.value.length)&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 35:case 36:e.stopPropagation()}})),i.mask&&this.table.modules.edit.maskInput(c,i),c},number:function(e,t,o,n,i){var a=e.getValue(),l=i.verticalNavigation||"editor",s=document.createElement("input");if(s.setAttribute("type","number"),void 0!==i.max&&s.setAttribute("max",i.max),void 0!==i.min&&s.setAttribute("min",i.min),void 0!==i.step&&s.setAttribute("step",i.step),s.style.padding="4px",s.style.width="100%",s.style.boxSizing="border-box",i.elementAttributes&&"object"==r(i.elementAttributes))for(var c in i.elementAttributes)"+"==c.charAt(0)?(c=c.slice(1),s.setAttribute(c,s.getAttribute(c)+i.elementAttributes["+"+c])):s.setAttribute(c,i.elementAttributes[c]);s.value=a;var u=function(e){d()};function d(){var e=s.value;isNaN(e)||""===e||(e=Number(e)),e!==a?o(e)&&(a=e):n()}return t((function(){s.removeEventListener("blur",u),s.focus({preventScroll:!0}),s.style.height="100%",s.addEventListener("blur",u)})),s.addEventListener("keydown",(function(e){switch(e.keyCode){case 13:d();break;case 27:n();break;case 38:case 40:"editor"==l&&(e.stopImmediatePropagation(),e.stopPropagation());break;case 35:case 36:e.stopPropagation()}})),i.mask&&this.table.modules.edit.maskInput(s,i),s},range:function(e,t,o,n,i){var a=e.getValue(),l=document.createElement("input");if(l.setAttribute("type","range"),void 0!==i.max&&l.setAttribute("max",i.max),void 0!==i.min&&l.setAttribute("min",i.min),void 0!==i.step&&l.setAttribute("step",i.step),l.style.padding="4px",l.style.width="100%",l.style.boxSizing="border-box",i.elementAttributes&&"object"==r(i.elementAttributes))for(var s in i.elementAttributes)"+"==s.charAt(0)?(s=s.slice(1),l.setAttribute(s,l.getAttribute(s)+i.elementAttributes["+"+s])):l.setAttribute(s,i.elementAttributes[s]);function c(){var e=l.value;isNaN(e)||""===e||(e=Number(e)),e!=a?o(e)&&(a=e):n()}return l.value=a,t((function(){l.focus({preventScroll:!0}),l.style.height="100%"})),l.addEventListener("blur",(function(e){c()})),l.addEventListener("keydown",(function(e){switch(e.keyCode){case 13:c();break;case 27:n()}})),l},select:function(e,t,o,n,i){var a=this,l=this,s=e.getElement(),c=e.getValue(),u=i.verticalNavigation||"editor",d=void 0!==c||null===c?Array.isArray(c)?c:[c]:void 0!==i.defaultValue?i.defaultValue:[],p=document.createElement("input"),f=document.createElement("div"),m=i.multiselect,h=[],b={},v=[],y=[],w=!0,x=!1;function E(t){var o,n={},r=l.table.getData();return(o=t?l.table.columnManager.getColumnByField(t):e.getColumn()._getSelf())?(r.forEach((function(e){var t=o.getFieldValue(e);null!=t&&""!==t&&(n[t]=!0)})),n=i.sortValuesList?"asc"==i.sortValuesList?Object.keys(n).sort():Object.keys(n).sort().reverse():Object.keys(n)):console.warn("unable to find matching column to create select lookup list:",t),n}function C(t,o){var n=[],a=[];function l(e){e={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1};return o.indexOf(e.value)>-1&&S(e),n.push(e),a.push(e),e}if("function"==typeof t&&(t=t(e)),Array.isArray(t))t.forEach((function(e){var t;"object"===(void 0===e?"undefined":r(e))?e.options?(t={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1},a.push(t),e.options.forEach((function(e){l(e)}))):l(e):(t={label:e,value:e,element:!1},o.indexOf(t.value)>-1&&S(t),n.push(t),a.push(t))}));else for(var s in t){var c={label:t[s],value:s,element:!1};o.indexOf(c.value)>-1&&S(c),n.push(c),a.push(c)}h=n,v=a,function(){for(;f.firstChild;)f.removeChild(f.firstChild);v.forEach((function(t){var o=t.element;if(!o){if(o=document.createElement("div"),t.label=i.listItemFormatter?i.listItemFormatter(t.value,t.label,e,o,t.itemParams):t.label,t.group?(o.classList.add("tabulator-edit-select-list-group"),o.tabIndex=0,o.innerHTML=""===t.label?"&nbsp;":t.label):(o.classList.add("tabulator-edit-select-list-item"),o.tabIndex=0,o.innerHTML=""===t.label?"&nbsp;":t.label,o.addEventListener("click",(function(){x=!0,setTimeout((function(){x=!1}),10),m?(T(t),p.focus()):D(t)})),y.indexOf(t)>-1&&o.classList.add("active")),t.elementAttributes&&"object"==r(t.elementAttributes))for(var n in t.elementAttributes)"+"==n.charAt(0)?(n=n.slice(1),o.setAttribute(n,p.getAttribute(n)+t.elementAttributes["+"+n])):o.setAttribute(n,t.elementAttributes[n]);o.addEventListener("mousedown",(function(){w=!1,setTimeout((function(){w=!0}),10)})),t.element=o}f.appendChild(o)}))}()}function k(e,t){!m&&b&&b.element&&b.element.classList.remove("active"),b&&b.element&&b.element.classList.remove("focused"),b=e,e.element&&(e.element.classList.add("focused"),t&&e.element.classList.add("active"))}function S(e){-1==y.indexOf(e)&&(y.push(e),k(e,!0)),A()}function R(e){var t=y[e];e>-1&&(y.splice(e,1),t.element&&t.element.classList.remove("active"))}function T(e){e||(e=b);var t=y.indexOf(e);t>-1?R(t):(!0!==m&&y.length>=m&&R(0),S(e)),A()}function D(e){_(),e||(e=b),e&&(p.value=e.label,o(e.value)),d=p.value}function M(e){e||_();var t=[];y.forEach((function(e){t.push(e.value)})),d=p.value,o(t)}function A(){var e=[];y.forEach((function(t){e.push(t.label)})),p.value=e.join(", "),!1===l.currentCell&&M(!0)}function P(){_(),n()}function _(){f.parentNode&&f.parentNode.removeChild(f),l.table.rowManager.element.removeEventListener("scroll",P)}if((Array.isArray(i)||!Array.isArray(i)&&"object"===(void 0===i?"undefined":r(i))&&!i.values)&&(console.warn("DEPRECATION WARNING - values for the select editor must now be passed into the values property of the editorParams object, not as the editorParams object"),i={values:i}),p.setAttribute("type","text"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",p.style.cursor="default",p.readOnly=0!=this.currentCell,i.elementAttributes&&"object"==r(i.elementAttributes))for(var O in i.elementAttributes)"+"==O.charAt(0)?(O=O.slice(1),p.setAttribute(O,p.getAttribute(O)+i.elementAttributes["+"+O])):p.setAttribute(O,i.elementAttributes[O]);return p.value=void 0!==c||null===c?c:"",p.addEventListener("search",(function(e){p.value||(!function(){for(var e=y.length,t=0;t<e;t++)R(0)}(),M())})),p.addEventListener("keydown",(function(e){var t;switch(e.keyCode){case 38:t=h.indexOf(b),("editor"==u||"hybrid"==u&&t)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),t>0&&k(h[t-1],!m));break;case 40:t=h.indexOf(b),("editor"==u||"hybrid"==u&&t<h.length-1)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),t<h.length-1&&k(-1==t?h[0]:h[t+1],!m));break;case 37:case 39:e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault();break;case 13:m?T():D();break;case 27:P();break;case 9:break;default:!1===l.currentCell&&e.preventDefault()}})),p.addEventListener("blur",(function(e){w&&(m?M():P())})),p.addEventListener("focus",(function(e){x||function(){if(y=[],!f.parentNode){!0===i.values?C(E(),d):"string"==typeof i.values?C(E(i.values),d):C(i.values||[],d);var e=g.prototype.helpers.elOffset(s);f.style.minWidth=s.offsetWidth+"px",f.style.top=e.top+s.offsetHeight+"px",f.style.left=e.left+"px",f.addEventListener("mousedown",(function(e){w=!1,setTimeout((function(){w=!0}),10)})),document.body.appendChild(f)}}()})),(f=document.createElement("div")).classList.add("tabulator-edit-select-list"),t((function(){p.style.height="100%",p.focus({preventScroll:!0})})),setTimeout((function(){a.table.rowManager.element.addEventListener("scroll",P)}),10),p},autocomplete:function(e,t,o,n,i){var a=this,l=this,s=e.getElement(),c=e.getValue(),u=i.verticalNavigation||"editor",d=void 0!==c||null===c?c:void 0!==i.defaultValue?i.defaultValue:"",p=document.createElement("input"),f=document.createElement("div"),m=[],h=!1,b=!0,v=!1;if(p.setAttribute("type","search"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",i.elementAttributes&&"object"==r(i.elementAttributes))for(var y in i.elementAttributes)"+"==y.charAt(0)?(y=y.slice(1),p.setAttribute(y,p.getAttribute(y)+i.elementAttributes["+"+y])):p.setAttribute(y,i.elementAttributes[y]);function w(){!0===i.values?v=x():"string"==typeof i.values&&(v=x(i.values))}function x(t){var o,n={},r=l.table.getData();return(o=t?l.table.columnManager.getColumnByField(t):e.getColumn()._getSelf())?(r.forEach((function(e){var t=o.getFieldValue(e);null!=t&&""!==t&&(n[t]=!0)})),n=i.sortValuesList?"asc"==i.sortValuesList?Object.keys(n).sort():Object.keys(n).sort().reverse():Object.keys(n)):console.warn("unable to find matching column to create autocomplete lookup list:",t),n}function E(e,t){var o,n,r=[];o=v||(i.values||[]),i.searchFunc?(r=i.searchFunc(e,o))instanceof Promise?(C(void 0!==i.searchingPlaceholder?i.searchingPlaceholder:"Searching..."),r.then((function(e){R(k(e),t)})).catch((function(e){console.err("error in autocomplete search promise:",e)}))):R(k(r),t):(n=k(o),""===e?i.showListOnEmpty&&(r=n):n.forEach((function(t){null===t.value&&void 0===t.value||(String(t.value).toLowerCase().indexOf(String(e).toLowerCase())>-1||String(t.title).toLowerCase().indexOf(String(e).toLowerCase())>-1)&&r.push(t)})),R(r,t))}function C(e){var t=document.createElement("div");S(),!1!==e&&(t.classList.add("tabulator-edit-select-list-notice"),t.tabIndex=0,e instanceof Node?t.appendChild(e):t.innerHTML=e,f.appendChild(t))}function k(e){var t=[];if(Array.isArray(e))e.forEach((function(e){var o={};"object"===(void 0===e?"undefined":r(e))?(o.title=i.listItemFormatter?i.listItemFormatter(e.value,e.label):e.label,o.value=e.value):(o.title=i.listItemFormatter?i.listItemFormatter(e,e):e,o.value=e),t.push(o)}));else for(var o in e){var n={title:i.listItemFormatter?i.listItemFormatter(o,e[o]):e[o],value:o};t.push(n)}return t}function S(){for(;f.firstChild;)f.removeChild(f.firstChild)}function R(e,t){e.length?function(e,t){var o=!1;S(),(m=e).forEach((function(e){var n=e.element;n||((n=document.createElement("div")).classList.add("tabulator-edit-select-list-item"),n.tabIndex=0,n.innerHTML=e.title,n.addEventListener("click",(function(t){D(e),T()})),n.addEventListener("mousedown",(function(e){b=!1,setTimeout((function(){b=!0}),10)})),e.element=n,t&&e.value==c&&(p.value=e.title,e.element.classList.add("active"),o=!0),e===h&&(e.element.classList.add("active"),o=!0)),f.appendChild(n)})),o||D(!1)}(e,t):i.emptyPlaceholder&&C(i.emptyPlaceholder)}function T(){M(),h?c!==h.value?(c=h.value,p.value=h.title,o(h.value)):n():i.freetext||i.allowEmpty&&""===p.value?(c=p.value,o(p.value)):n()}function D(e,t){h&&h.element&&h.element.classList.remove("active"),h=e,e&&e.element&&e.element.classList.add("active")}function M(){f.parentNode&&f.parentNode.removeChild(f),l.table.rowManager.element.removeEventListener("scroll",A)}function A(){M(),n()}return f.classList.add("tabulator-edit-select-list"),f.addEventListener("mousedown",(function(e){b=!1,setTimeout((function(){b=!0}),10)})),p.addEventListener("keydown",(function(e){var t;switch(e.keyCode){case 38:t=m.indexOf(h),("editor"==u||"hybrid"==u&&t)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),D(t>0&&m[t-1]));break;case 40:t=m.indexOf(h),("editor"==u||"hybrid"==u&&t<m.length-1)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),t<m.length-1&&D(-1==t?m[0]:m[t+1]));break;case 37:case 39:e.stopImmediatePropagation(),e.stopPropagation();break;case 13:T();break;case 27:A();break;case 36:case 35:e.stopImmediatePropagation()}})),p.addEventListener("keyup",(function(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:E(p.value)}})),p.addEventListener("search",(function(e){E(p.value)})),p.addEventListener("blur",(function(e){b&&T()})),p.addEventListener("focus",(function(e){var t=d;w(),function(){if(!f.parentNode){for(;f.firstChild;)f.removeChild(f.firstChild);var e=g.prototype.helpers.elOffset(s);f.style.minWidth=s.offsetWidth+"px",f.style.top=e.top+s.offsetHeight+"px",f.style.left=e.left+"px",document.body.appendChild(f)}}(),p.value=t,E(t,!0)})),t((function(){p.style.height="100%",p.focus({preventScroll:!0})})),i.mask&&this.table.modules.edit.maskInput(p,i),setTimeout((function(){a.table.rowManager.element.addEventListener("scroll",A)}),10),w(),p.value=d,E(d,!0),p},star:function(e,t,o,n,i){var a=this,l=e.getElement(),s=e.getValue(),c=l.getElementsByTagName("svg").length||5,u=l.getElementsByTagName("svg")[0]?l.getElementsByTagName("svg")[0].getAttribute("width"):14,d=[],p=document.createElement("div"),f=document.createElementNS("http://www.w3.org/2000/svg","svg");function m(e){d.forEach((function(t,o){o<e?("ie"==a.table.browser?t.setAttribute("class","tabulator-star-active"):t.classList.replace("tabulator-star-inactive","tabulator-star-active"),t.innerHTML='<polygon fill="#488CE9" stroke="#014AAE" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>'):("ie"==a.table.browser?t.setAttribute("class","tabulator-star-inactive"):t.classList.replace("tabulator-star-active","tabulator-star-inactive"),t.innerHTML='<polygon fill="#010155" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>')}))}function h(e){var t=document.createElement("span"),n=f.cloneNode(!0);d.push(n),t.addEventListener("mouseenter",(function(t){t.stopPropagation(),t.stopImmediatePropagation(),m(e)})),t.addEventListener("mousemove",(function(e){e.stopPropagation(),e.stopImmediatePropagation()})),t.addEventListener("click",(function(t){t.stopPropagation(),t.stopImmediatePropagation(),o(e),l.blur()})),t.appendChild(n),p.appendChild(t)}function g(e){s=e,m(e)}if(l.style.whiteSpace="nowrap",l.style.overflow="hidden",l.style.textOverflow="ellipsis",p.style.verticalAlign="middle",p.style.display="inline-block",p.style.padding="4px",f.setAttribute("width",u),f.setAttribute("height",u),f.setAttribute("viewBox","0 0 512 512"),f.setAttribute("xml:space","preserve"),f.style.padding="0 1px",i.elementAttributes&&"object"==r(i.elementAttributes))for(var b in i.elementAttributes)"+"==b.charAt(0)?(b=b.slice(1),p.setAttribute(b,p.getAttribute(b)+i.elementAttributes["+"+b])):p.setAttribute(b,i.elementAttributes[b]);for(var v=1;v<=c;v++)h(v);return m(s=Math.min(parseInt(s),c)),p.addEventListener("mousemove",(function(e){m(0)})),p.addEventListener("click",(function(e){o(0)})),l.addEventListener("blur",(function(e){n()})),l.addEventListener("keydown",(function(e){switch(e.keyCode){case 39:g(s+1);break;case 37:g(s-1);break;case 13:o(s);break;case 27:n()}})),p},progress:function(e,t,o,n,i){var a,l,s=e.getElement(),c=void 0===i.max?s.getElementsByTagName("div")[0].getAttribute("max")||100:i.max,u=void 0===i.min?s.getElementsByTagName("div")[0].getAttribute("min")||0:i.min,d=(c-u)/100,p=e.getValue()||0,f=document.createElement("div"),m=document.createElement("div");function h(){var e=d*Math.round(m.offsetWidth/(s.clientWidth/100))+u;o(e),s.setAttribute("aria-valuenow",e),s.setAttribute("aria-label",p)}if(f.style.position="absolute",f.style.right="0",f.style.top="0",f.style.bottom="0",f.style.width="5px",f.classList.add("tabulator-progress-handle"),m.style.display="inline-block",m.style.position="relative",m.style.height="100%",m.style.backgroundColor="#488CE9",m.style.maxWidth="100%",m.style.minWidth="0%",i.elementAttributes&&"object"==r(i.elementAttributes))for(var g in i.elementAttributes)"+"==g.charAt(0)?(g=g.slice(1),m.setAttribute(g,m.getAttribute(g)+i.elementAttributes["+"+g])):m.setAttribute(g,i.elementAttributes[g]);return s.style.padding="4px 4px",p=Math.min(parseFloat(p),c),p=Math.max(parseFloat(p),u),p=Math.round((p-u)/d),m.style.width=p+"%",s.setAttribute("aria-valuemin",u),s.setAttribute("aria-valuemax",c),m.appendChild(f),f.addEventListener("mousedown",(function(e){a=e.screenX,l=m.offsetWidth})),f.addEventListener("mouseover",(function(){f.style.cursor="ew-resize"})),s.addEventListener("mousemove",(function(e){a&&(m.style.width=l+e.screenX-a+"px")})),s.addEventListener("mouseup",(function(e){a&&(e.stopPropagation(),e.stopImmediatePropagation(),a=!1,l=!1,h())})),s.addEventListener("keydown",(function(e){switch(e.keyCode){case 39:e.preventDefault(),m.style.width=m.clientWidth+s.clientWidth/100+"px";break;case 37:e.preventDefault(),m.style.width=m.clientWidth-s.clientWidth/100+"px";break;case 9:case 13:h();break;case 27:n()}})),s.addEventListener("blur",(function(){n()})),m},tickCross:function(e,t,o,n,i){var a=e.getValue(),l=document.createElement("input"),s=i.tristate,c=void 0===i.indeterminateValue?null:i.indeterminateValue,u=!1;if(l.setAttribute("type","checkbox"),l.style.marginTop="5px",l.style.boxSizing="border-box",i.elementAttributes&&"object"==r(i.elementAttributes))for(var d in i.elementAttributes)"+"==d.charAt(0)?(d=d.slice(1),l.setAttribute(d,l.getAttribute(d)+i.elementAttributes["+"+d])):l.setAttribute(d,i.elementAttributes[d]);function p(e){return s?e?u?c:l.checked:l.checked&&!u?(l.checked=!1,l.indeterminate=!0,u=!0,c):(u=!1,l.checked):l.checked}return l.value=a,!s||void 0!==a&&a!==c&&""!==a||(u=!0,l.indeterminate=!0),"firefox"!=this.table.browser&&t((function(){l.focus({preventScroll:!0})})),l.checked=!0===a||"true"===a||"True"===a||1===a,t((function(){l.focus()})),l.addEventListener("change",(function(e){o(p())})),l.addEventListener("blur",(function(e){o(p(!0))})),l.addEventListener("keydown",(function(e){13==e.keyCode&&o(p()),27==e.keyCode&&n()})),l}},g.prototype.registerModule("edit",T);var D=function(e,t,o,n){this.type=e,this.columns=t,this.component=o||!1,this.indent=n||0},M=function(e,t,o,n,r){this.value=e,this.component=t||!1,this.width=o,this.height=n,this.depth=r},A=function(e){this.table=e,this.config={},this.cloneTableStyle=!0,this.colVisProp=""};A.prototype.generateExportList=function(e,t,o,n){this.cloneTableStyle=t,this.config=e||{},this.colVisProp=n;var r=!1!==this.config.columnHeaders?this.headersToExportRows(this.generateColumnGroupHeaders()):[],i=this.bodyToExportRows(this.rowLookup(o));return r.concat(i)},A.prototype.genereateTable=function(e,t,o,n){var r=this.generateExportList(e,t,o,n);return this.genereateTableElement(r)},A.prototype.rowLookup=function(e){var t=this,o=[];if("function"==typeof e)e.call(this.table).forEach((function(e){(e=t.table.rowManager.findRow(e))&&o.push(e)}));else switch(e){case!0:case"visible":o=this.table.rowManager.getVisibleRows(!0);break;case"all":o=this.table.rowManager.rows;break;case"selected":o=this.table.modules.selectRow.selectedRows;break;case"active":default:o=this.table.options.pagination?this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):this.table.rowManager.getDisplayRows()}return Object.assign([],o)},A.prototype.generateColumnGroupHeaders=function(){var e=this,t=[];return(!1!==this.config.columnGroups?this.table.columnManager.columns:this.table.columnManager.columnsByIndex).forEach((function(o){var n=e.processColumnGroup(o);n&&t.push(n)})),t},A.prototype.processColumnGroup=function(e){var t=this,o=e.columns,n=0,r={title:e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,column:e,depth:1};if(o.length){if(r.subGroups=[],r.width=0,o.forEach((function(e){var o=t.processColumnGroup(e);o&&(r.width+=o.width,r.subGroups.push(o),o.depth>n&&(n=o.depth))})),r.depth+=n,!r.width)return!1}else{if(!this.columnVisCheck(e))return!1;r.width=1}return r},A.prototype.columnVisCheck=function(e){return!1!==e.definition[this.colVisProp]&&(e.visible||!e.visible&&e.definition[this.colVisProp])},A.prototype.headersToExportRows=function(e){var t=[],o=0,n=[];return e.forEach((function(e){e.depth>o&&(o=e.depth)})),e.forEach((function(e){!function e(n,r){var i=o-r;if(void 0===t[r]&&(t[r]=[]),n.height=n.subGroups?1:i-n.depth+1,t[r].push(n),n.height>1)for(var a=1;a<n.height;a++)void 0===t[r+a]&&(t[r+a]=[]),t[r+a].push(!1);if(n.width>1)for(var l=1;l<n.width;l++)t[r].push(!1);n.subGroups&&n.subGroups.forEach((function(t){e(t,r+1)}))}(e,0)})),t.forEach((function(e){var t=[];e.forEach((function(e){e?t.push(new M(e.title,e.column.getComponent(),e.width,e.height,e.depth)):t.push(null)})),n.push(new D("header",t))})),n},A.prototype.bodyToExportRows=function(e){var t=this,o=[],n=[];return this.table.columnManager.columnsByIndex.forEach((function(e){t.columnVisCheck(e)&&o.push(e.getComponent())})),!1!==this.config.columnCalcs&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),(e=e.filter((function(e){switch(e.type){case"group":return!1!==t.config.rowGroups;case"calc":return!1!==t.config.columnCalcs;case"row":return!(t.table.options.dataTree&&!1===t.config.dataTree&&e.modules.dataTree.parent)}return!0}))).forEach((function(e,r){var i=e.getData(t.colVisProp),a=[],l=0;switch(e.type){case"group":l=e.level,a.push(new M(e.key,e.getComponent(),o.length,1));break;case"calc":case"row":o.forEach((function(e){a.push(new M(e._column.getFieldValue(i),e,1,1))})),t.table.options.dataTree&&!1!==t.config.dataTree&&(l=e.modules.dataTree.index)}n.push(new D(e.type,a,e.getComponent(),l))})),n},A.prototype.genereateTableElement=function(e){var t=this,o=document.createElement("table"),n=document.createElement("thead"),r=document.createElement("tbody"),i=this.lookupTableStyles(),a=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],l={};return l.rowFormatter=null!==a?a:this.table.options.rowFormatter,this.table.options.dataTree&&!1!==this.config.dataTree&&this.table.modExists("columnCalcs")&&(l.treeElementField=this.table.modules.dataTree.elementField),l.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],l.groupHeader&&!Array.isArray(l.groupHeader)&&(l.groupHeader=[l.groupHeader]),o.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),n,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((function(e,o){switch(e.type){case"header":n.appendChild(t.genereateHeaderElement(e,l,i));break;case"group":r.appendChild(t.genereateGroupElement(e,l,i));break;case"calc":r.appendChild(t.genereateCalcElement(e,l,i));break;case"row":var a=t.genereateRowElement(e,l,i);t.mapElementStyles(o%2&&i.evenRow?i.evenRow:i.oddRow,a,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),r.appendChild(a)}})),n.innerHTML&&o.appendChild(n),o.appendChild(r),this.mapElementStyles(this.table.element,o,["border-top","border-left","border-right","border-bottom"]),o},A.prototype.lookupTableStyles=function(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e},A.prototype.genereateHeaderElement=function(e,t,o){var n=this,r=document.createElement("tr");return e.columns.forEach((function(e){if(e){var t=document.createElement("th"),o=e.component._column.definition.cssClass?e.component._column.definition.cssClass.split(" "):[];t.colSpan=e.width,t.rowSpan=e.height,t.innerHTML=e.value,n.cloneTableStyle&&(t.style.boxSizing="border-box"),o.forEach((function(e){t.classList.add(e)})),n.mapElementStyles(e.component.getElement(),t,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),n.mapElementStyles(e.component._column.contentElement,t,["padding-top","padding-left","padding-right","padding-bottom"]),e.component._column.visible?n.mapElementStyles(e.component.getElement(),t,["width"]):e.component._column.definition.width&&(t.style.width=e.component._column.definition.width+"px"),e.component._column.parent&&n.mapElementStyles(e.component._column.parent.groupElement,t,["border-top"]),r.appendChild(t)}})),r},A.prototype.genereateGroupElement=function(e,t,o){var n=document.createElement("tr"),r=document.createElement("td"),i=e.columns[0];return n.classList.add("tabulator-print-table-row"),t.groupHeader&&t.groupHeader[e.indent]?i.value=t.groupHeader[e.indent](i.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):!1===t.groupHeader?i.value=i.value:i.value=e.component._group.generator(i.value,e.component._group.getRowCount(),e.component._group.getData(),e.component),r.colSpan=i.width,r.innerHTML=i.value,n.classList.add("tabulator-print-table-group"),n.classList.add("tabulator-group-level-"+e.indent),i.component.isVisible()&&n.classList.add("tabulator-group-visible"),this.mapElementStyles(o.firstGroup,n,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(o.firstGroup,r,["padding-top","padding-left","padding-right","padding-bottom"]),n.appendChild(r),n},A.prototype.genereateCalcElement=function(e,t,o){var n=this.genereateRowElement(e,t,o);return n.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(o.calcRow,n,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),n},A.prototype.genereateRowElement=function(e,t,o){var n=this,a=document.createElement("tr");return a.classList.add("tabulator-print-table-row"),e.columns.forEach((function(l){if(l){var s=document.createElement("td"),c=l.component._column,u=l.value,d={modules:{},getValue:function(){return u},getField:function(){return c.definition.field},getElement:function(){return s},getColumn:function(){return c.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getComponent:function(){return d},column:c};if((c.definition.cssClass?c.definition.cssClass.split(" "):[]).forEach((function(e){s.classList.add(e)})),n.table.modExists("format")&&!1!==n.config.formatCells)u=n.table.modules.format.formatExportValue(d,n.colVisProp);else switch(void 0===u?"undefined":r(u)){case"object":u=JSON.stringify(u);break;case"undefined":case"null":u="";break;default:u=u}u instanceof Node?s.appendChild(u):s.innerHTML=u,o.firstCell&&(n.mapElementStyles(o.firstCell,s,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size"]),c.definition.align&&(s.style.textAlign=c.definition.align)),n.table.options.dataTree&&!1!==n.config.dataTree&&(t.treeElementField&&t.treeElementField==c.field||!t.treeElementField&&0==i)&&(e.component._row.modules.dataTree.controlEl&&s.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),s.firstChild),e.component._row.modules.dataTree.branchEl&&s.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),s.firstChild)),a.appendChild(s),d.modules.format&&d.modules.format.renderedCallback&&d.modules.format.renderedCallback(),t.rowFormatter&&!1!==n.config.formatCells&&t.rowFormatter(e.component)}})),a},A.prototype.genereateHTMLTable=function(e){var t=document.createElement("div");return t.appendChild(this.genereateTableElement(e)),t.innerHTML},A.prototype.getHtml=function(e,t,o,n){var r=this.generateExportList(o||this.table.options.htmlOutputConfig,t,e,n||"htmlOutput");return this.genereateHTMLTable(r)},A.prototype.mapElementStyles=function(e,t,o){if(this.cloneTableStyle&&e&&t){var n={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var r=window.getComputedStyle(e);o.forEach((function(e){t.style[n[e]]=r.getPropertyValue(e)}))}}},g.prototype.registerModule("export",A);var P=function(e){this.table=e,this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1};P.prototype.initializeColumn=function(e,t){var o=this,n=e.getField();e.modules.filter={success:function(t){var i,a="input"==e.modules.filter.tagType&&"text"==e.modules.filter.attrType||"textarea"==e.modules.filter.tagType?"partial":"match",l="",s="";if(void 0===e.modules.filter.prevSuccess||e.modules.filter.prevSuccess!==t){if(e.modules.filter.prevSuccess=t,e.modules.filter.emptyFunc(t))delete o.headerFilters[n];else{switch(e.modules.filter.value=t,r(e.definition.headerFilterFunc)){case"string":o.filters[e.definition.headerFilterFunc]?(l=e.definition.headerFilterFunc,i=function(n){var r=e.definition.headerFilterFuncParams||{},i=e.getFieldValue(n);return r="function"==typeof r?r(t,i,n):r,o.filters[e.definition.headerFilterFunc](t,i,n,r)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":l=i=function(o){var n=e.definition.headerFilterFuncParams||{},r=e.getFieldValue(o);return n="function"==typeof n?n(t,r,o):n,e.definition.headerFilterFunc(t,r,o,n)}}if(!i)switch(a){case"partial":i=function(o){var n=e.getFieldValue(o);return null!=n&&String(n).toLowerCase().indexOf(String(t).toLowerCase())>-1},l="like";break;default:i=function(o){return e.getFieldValue(o)==t},l="="}o.headerFilters[n]={value:t,func:i,type:l,params:{}}}s=JSON.stringify(o.headerFilters),o.prevHeaderFilterChangeCheck!==s&&(o.prevHeaderFilterChangeCheck=s,o.changed=!0,o.table.rowManager.filterRefresh())}return!0},attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)},P.prototype.generateHeaderFilterElement=function(e,t,o){var n,i,a,l,s,c,u,d=this,p=this,f=e.modules.filter.success,m=e.getField();if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),m){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(e){return!e&&"0"!==e},(n=document.createElement("div")).classList.add("tabulator-header-filter"),r(e.definition.headerFilter)){case"string":p.table.modules.edit.editors[e.definition.headerFilter]?(i=p.table.modules.edit.editors[e.definition.headerFilter],"tick"!==e.definition.headerFilter&&"tickCross"!==e.definition.headerFilter||e.definition.headerFilterEmptyCheck||(e.modules.filter.emptyFunc=function(e){return!0!==e&&!1!==e})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":i=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?i=e.modules.edit.editor:e.definition.formatter&&p.table.modules.edit.editors[e.definition.formatter]?(i=p.table.modules.edit.editors[e.definition.formatter],"tick"!==e.definition.formatter&&"tickCross"!==e.definition.formatter||e.definition.headerFilterEmptyCheck||(e.modules.filter.emptyFunc=function(e){return!0!==e&&!1!==e})):i=p.table.modules.edit.editors.input}if(i){if(l={getValue:function(){return void 0!==t?t:""},getField:function(){return e.definition.field},getElement:function(){return n},getColumn:function(){return e.getComponent()},getRow:function(){return{normalizeHeight:function(){}}}},u="function"==typeof(u=e.definition.headerFilterParams||{})?u.call(p.table):u,!(a=i.call(this.table.modules.edit,l,(function(){}),f,(function(){}),u)))return void console.warn("Filter Error - Cannot add filter to "+m+" column, editor returned a value of false");if(!(a instanceof Node))return void console.warn("Filter Error - Cannot add filter to "+m+" column, editor should return an instance of Node, the editor returned:",a);m?p.table.modules.localize.bind("headerFilters|columns|"+e.definition.field,(function(e){a.setAttribute("placeholder",void 0!==e&&e?e:p.table.modules.localize.getText("headerFilters|default"))})):p.table.modules.localize.bind("headerFilters|default",(function(e){a.setAttribute("placeholder",void 0!==p.column.definition.headerFilterPlaceholder&&p.column.definition.headerFilterPlaceholder?p.column.definition.headerFilterPlaceholder:e)})),a.addEventListener("click",(function(e){e.stopPropagation(),a.focus()})),a.addEventListener("focus",(function(e){var t=d.table.columnManager.element.scrollLeft;t!==d.table.rowManager.element.scrollLeft&&(d.table.rowManager.scrollHorizontal(t),d.table.columnManager.scrollHorizontal(t))})),s=!1,c=function(e){s&&clearTimeout(s),s=setTimeout((function(){f(a.value)}),p.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=a,e.modules.filter.attrType=a.hasAttribute("type")?a.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=a.tagName.toLowerCase(),!1!==e.definition.headerFilterLiveFilter&&("autocomplete"!==e.definition.headerFilter&&"tickCross"!==e.definition.headerFilter&&("autocomplete"!==e.definition.editor&&"tickCross"!==e.definition.editor||!0!==e.definition.headerFilter)&&(a.addEventListener("keyup",c),a.addEventListener("search",c),"number"==e.modules.filter.attrType&&a.addEventListener("change",(function(e){f(a.value)})),"text"==e.modules.filter.attrType&&"ie"!==this.table.browser&&a.setAttribute("type","search")),"input"!=e.modules.filter.tagType&&"select"!=e.modules.filter.tagType&&"textarea"!=e.modules.filter.tagType||a.addEventListener("mousedown",(function(e){e.stopPropagation()}))),n.appendChild(a),e.contentElement.appendChild(n),o||p.headerFilterColumns.push(e)}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)},P.prototype.hideHeaderFilterElements=function(){this.headerFilterColumns.forEach((function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")}))},P.prototype.showHeaderFilterElements=function(){this.headerFilterColumns.forEach((function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")}))},P.prototype.setHeaderFilterFocus=function(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())},P.prototype.getHeaderFilterValue=function(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.headerElement.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())},P.prototype.setHeaderFilterValue=function(e,t){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,t,!0),e.modules.filter.success(t)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))},P.prototype.reloadHeaderFilter=function(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))},P.prototype.hasChanged=function(){var e=this.changed;return this.changed=!1,e},P.prototype.setFilter=function(e,t,o,n){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:t,value:o,params:n}]),this.addFilter(e)},P.prototype.addFilter=function(e,t,o,n){var r=this;Array.isArray(e)||(e=[{field:e,type:t,value:o,params:n}]),e.forEach((function(e){(e=r.findFilter(e))&&(r.filterList.push(e),r.changed=!0)})),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},P.prototype.findFilter=function(e){var t,o=this;if(Array.isArray(e))return this.findSubFilters(e);var n=!1;return"function"==typeof e.field?n=function(t){return e.field(t,e.type||{})}:o.filters[e.type]?n=(t=o.table.columnManager.getColumnByField(e.field))?function(n){return o.filters[e.type](e.value,t.getFieldValue(n),n,e.params||{})}:function(t){return o.filters[e.type](e.value,t[e.field],t,e.params||{})}:console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=n,!!e.func&&e},P.prototype.findSubFilters=function(e){var t=this,o=[];return e.forEach((function(e){(e=t.findFilter(e))&&o.push(e)})),!!o.length&&o},P.prototype.getFilters=function(e,t){var o=[];return e&&(o=this.getHeaderFilters()),t&&o.forEach((function(e){"function"==typeof e.type&&(e.type="function")})),o=o.concat(this.filtersToArray(this.filterList,t))},P.prototype.filtersToArray=function(e,t){var o=this,n=[];return e.forEach((function(e){var r;Array.isArray(e)?n.push(o.filtersToArray(e,t)):(r={field:e.field,type:e.type,value:e.value},t&&"function"==typeof r.type&&(r.type="function"),n.push(r))})),n},P.prototype.getHeaderFilters=function(){var e=[];for(var t in this.headerFilters)e.push({field:t,type:this.headerFilters[t].type,value:this.headerFilters[t].value});return e},P.prototype.removeFilter=function(e,t,o){var n=this;Array.isArray(e)||(e=[{field:e,type:t,value:o}]),e.forEach((function(e){var t=-1;(t="object"==r(e.field)?n.filterList.findIndex((function(t){return e===t})):n.filterList.findIndex((function(t){return e.field===t.field&&e.type===t.type&&e.value===t.value})))>-1?(n.filterList.splice(t,1),n.changed=!0):console.warn("Filter Error - No matching filter type found, ignoring: ",e.type)})),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},P.prototype.clearFilter=function(e){this.filterList=[],e&&this.clearHeaderFilter(),this.changed=!0,this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.filter&&this.table.modules.persistence.save("filter")},P.prototype.clearHeaderFilter=function(){var e=this;this.headerFilters={},e.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach((function(t){t.modules.filter.value=null,t.modules.filter.prevSuccess=void 0,e.reloadHeaderFilter(t)})),this.changed=!0},P.prototype.search=function(e,t,o,n){var r=this,i=[],a=[];return Array.isArray(t)||(t=[{field:t,type:o,value:n}]),t.forEach((function(e){(e=r.findFilter(e))&&a.push(e)})),this.table.rowManager.rows.forEach((function(t){var o=!0;a.forEach((function(e){r.filterRecurse(e,t.getData())||(o=!1)})),o&&i.push("data"===e?t.getData("data"):t.getComponent())})),i},P.prototype.filter=function(e,t){var o=this,n=[],r=[];return o.table.options.dataFiltering&&o.table.options.dataFiltering.call(o.table,o.getFilters()),o.table.options.ajaxFiltering||!o.filterList.length&&!Object.keys(o.headerFilters).length?n=e.slice(0):e.forEach((function(e){o.filterRow(e)&&n.push(e)})),o.table.options.dataFiltered&&(n.forEach((function(e){r.push(e.getComponent())})),o.table.options.dataFiltered.call(o.table,o.getFilters(),r)),n},P.prototype.filterRow=function(e,t){var o=this,n=!0,r=e.getData();for(var i in o.filterList.forEach((function(e){o.filterRecurse(e,r)||(n=!1)})),o.headerFilters)o.headerFilters[i].func(r)||(n=!1);return n},P.prototype.filterRecurse=function(e,t){var o=this,n=!1;return Array.isArray(e)?e.forEach((function(e){o.filterRecurse(e,t)&&(n=!0)})):n=e.func(t),n},P.prototype.filters={"=":function(e,t,o,n){return t==e},"<":function(e,t,o,n){return t<e},"<=":function(e,t,o,n){return t<=e},">":function(e,t,o,n){return t>e},">=":function(e,t,o,n){return t>=e},"!=":function(e,t,o,n){return t!=e},regex:function(e,t,o,n){return"string"==typeof e&&(e=new RegExp(e)),e.test(t)},like:function(e,t,o,n){return null==e?t===e:null!=t&&String(t).toLowerCase().indexOf(e.toLowerCase())>-1},keywords:function(e,t,o,n){var r=e.toLowerCase().split(void 0===n.separator?" ":n.separator),i=String(null==t?"":t).toLowerCase(),a=[];return r.forEach((function(e){i.includes(e)&&a.push(!0)})),n.matchAll?a.length===r.length:!!a.length},starts:function(e,t,o,n){return null==e?t===e:null!=t&&String(t).toLowerCase().startsWith(e.toLowerCase())},ends:function(e,t,o,n){return null==e?t===e:null!=t&&String(t).toLowerCase().endsWith(e.toLowerCase())},in:function(e,t,o,n){return Array.isArray(e)?!e.length||e.indexOf(t)>-1:(console.warn("Filter Error - filter value is not an array:",e),!1)}},g.prototype.registerModule("filter",P);var _=function(e){this.table=e};_.prototype.initializeColumn=function(e){e.modules.format=this.lookupFormatter(e,""),void 0!==e.definition.formatterPrint&&(e.modules.format.print=this.lookupFormatter(e,"Print")),void 0!==e.definition.formatterClipboard&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),void 0!==e.definition.formatterHtmlOutput&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))},_.prototype.lookupFormatter=function(e,t){var o={params:e.definition["formatter"+t+"Params"]||{}},n=e.definition["formatter"+t];switch(void 0===n?"undefined":r(n)){case"string":"tick"===n&&(n="tickCross",void 0===o.params.crossElement&&(o.params.crossElement=!1),console.warn("DEPRECATION WARNING - the tick formatter has been deprecated, please use the tickCross formatter with the crossElement param set to false")),this.formatters[n]?o.formatter=this.formatters[n]:(console.warn("Formatter Error - No such formatter found: ",n),o.formatter=this.formatters.plaintext);break;case"function":o.formatter=n;break;default:o.formatter=this.formatters.plaintext}return o},_.prototype.cellRendered=function(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)},_.prototype.formatValue=function(e){var t=e.getComponent(),o="function"==typeof e.column.modules.format.params?e.column.modules.format.params(t):e.column.modules.format.params;return e.column.modules.format.formatter.call(this,t,o,(function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1}))},_.prototype.formatExportValue=function(e,t){var o,n=e.column.modules.format[t];if(n){return o="function"==typeof n.params?n.params(component):n.params,n.formatter.call(this,e.getComponent(),o,(function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1}))}return this.formatValue(e)},_.prototype.sanitizeHTML=function(e){if(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(e).replace(/[&<>"'`=\/]/g,(function(e){return t[e]}))}return e},_.prototype.emptyToSpace=function(e){return null==e||""===e?"&nbsp;":e},_.prototype.getFormatter=function(e){switch(void 0===e?"undefined":r(e)){case"string":this.formatters[e]?e=this.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=this.formatters.plaintext);break;case"function":e=e;break;default:e=this.formatters.plaintext}return e},_.prototype.formatters={plaintext:function(e,t,o){return this.emptyToSpace(this.sanitizeHTML(e.getValue()))},html:function(e,t,o){return e.getValue()},textarea:function(e,t,o){return e.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(e.getValue()))},money:function(e,t,o){var n,r,i,a,l=parseFloat(e.getValue()),s=t.decimal||".",c=t.thousand||",",u=t.symbol||"",d=!!t.symbolAfter,p=void 0!==t.precision?t.precision:2;if(isNaN(l))return this.emptyToSpace(this.sanitizeHTML(e.getValue()));for(n=!1!==p?l.toFixed(p):l,r=(n=String(n).split("."))[0],i=n.length>1?s+n[1]:"",a=/(\d+)(\d{3})/;a.test(r);)r=r.replace(a,"$1"+c+"$2");return d?r+i+u:u+r+i},link:function(e,t,o){var n=e.getValue(),i=t.urlPrefix||"",a=t.download,l=n,s=document.createElement("a");if(t.labelField&&(l=e.getData()[t.labelField]),t.label)switch(r(t.label)){case"string":l=t.label;break;case"function":l=t.label(e)}if(l){if(t.urlField&&(n=e.getData()[t.urlField]),t.url)switch(r(t.url)){case"string":n=t.url;break;case"function":n=t.url(e)}return s.setAttribute("href",i+n),t.target&&s.setAttribute("target",t.target),t.download&&(a="function"==typeof a?a(e):!0===a?"":a,s.setAttribute("download",a)),s.innerHTML=this.emptyToSpace(this.sanitizeHTML(l)),s}return"&nbsp;"},image:function(e,t,o){var n=document.createElement("img");switch(n.setAttribute("src",e.getValue()),r(t.height)){case"number":n.style.height=t.height+"px";break;case"string":n.style.height=t.height}switch(r(t.width)){case"number":n.style.width=t.width+"px";break;case"string":n.style.width=t.width}return n.addEventListener("load",(function(){e.getRow().normalizeHeight()})),n},tickCross:function(e,t,o){var n=e.getValue(),r=e.getElement(),i=t.allowEmpty,a=t.allowTruthy,l=void 0!==t.tickElement?t.tickElement:'<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34  c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351  l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07  l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>',s=void 0!==t.crossElement?t.crossElement:'<svg enable-background="new 0 0 24 24" height="14" width="14"  viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272  c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0  l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269  c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73  L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';return a&&n||!0===n||"true"===n||"True"===n||1===n||"1"===n?(r.setAttribute("aria-checked",!0),l||""):!i||"null"!==n&&""!==n&&null!=n?(r.setAttribute("aria-checked",!1),s||""):(r.setAttribute("aria-checked","mixed"),"")},datetime:function(e,t,o){var n=t.inputFormat||"YYYY-MM-DD hh:mm:ss",r=t.outputFormat||"DD/MM/YYYY hh:mm:ss",i=void 0!==t.invalidPlaceholder?t.invalidPlaceholder:"",a=e.getValue(),l=moment(a,n);return l.isValid()?t.timezone?l.tz(t.timezone).format(r):l.format(r):!0===i?a:"function"==typeof i?i(a):i},datetimediff:function(e,t,o){var n=t.inputFormat||"YYYY-MM-DD hh:mm:ss",r=void 0!==t.invalidPlaceholder?t.invalidPlaceholder:"",i=void 0!==t.suffix&&t.suffix,a=void 0!==t.unit?t.unit:void 0,l=void 0!==t.humanize&&t.humanize,s=void 0!==t.date?t.date:moment(),c=e.getValue(),u=moment(c,n);return u.isValid()?l?moment.duration(u.diff(s)).humanize(i):u.diff(s,a)+(i?" "+i:""):!0===r?c:"function"==typeof r?r(c):r},lookup:function(e,t,o){var n=e.getValue();return void 0===t[n]?(console.warn("Missing display value for "+n),n):t[n]},star:function(e,t,o){var n=e.getValue(),r=e.getElement(),i=t&&t.stars?t.stars:5,a=document.createElement("span"),l=document.createElementNS("http://www.w3.org/2000/svg","svg");a.style.verticalAlign="middle",l.setAttribute("width","14"),l.setAttribute("height","14"),l.setAttribute("viewBox","0 0 512 512"),l.setAttribute("xml:space","preserve"),l.style.padding="0 1px",n=n&&!isNaN(n)?parseInt(n):0,n=Math.max(0,Math.min(n,i));for(var s=1;s<=i;s++){var c=l.cloneNode(!0);c.innerHTML=s<=n?'<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>':'<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>',a.appendChild(c)}return r.style.whiteSpace="nowrap",r.style.overflow="hidden",r.style.textOverflow="ellipsis",r.setAttribute("aria-label",n),a},traffic:function(e,t,o){var n,i,a=this.sanitizeHTML(e.getValue())||0,l=document.createElement("span"),s=t&&t.max?t.max:100,c=t&&t.min?t.min:0,u=t&&void 0!==t.color?t.color:["red","orange","green"],d="#666666";if(!isNaN(a)&&void 0!==e.getValue()){switch(l.classList.add("tabulator-traffic-light"),i=parseFloat(a)<=s?parseFloat(a):s,i=parseFloat(i)>=c?parseFloat(i):c,n=(s-c)/100,i=Math.round((i-c)/n),void 0===u?"undefined":r(u)){case"string":d=u;break;case"function":d=u(a);break;case"object":if(Array.isArray(u)){var p=100/u.length,f=Math.floor(i/p);f=Math.min(f,u.length-1),d=u[f=Math.max(f,0)];break}}return l.style.backgroundColor=d,l}},progress:function(e,t,o){var n,i,a,l,s,c=this.sanitizeHTML(e.getValue())||0,u=e.getElement(),d=t&&t.max?t.max:100,p=t&&t.min?t.min:0,m=t&&t.legendAlign?t.legendAlign:"center";switch(i=parseFloat(c)<=d?parseFloat(c):d,i=parseFloat(i)>=p?parseFloat(i):p,n=(d-p)/100,i=Math.round((i-p)/n),r(t.color)){case"string":a=t.color;break;case"function":a=t.color(c);break;case"object":if(Array.isArray(t.color)){var h=100/t.color.length,g=Math.floor(i/h);g=Math.min(g,t.color.length-1),g=Math.max(g,0),a=t.color[g];break}default:a="#2DC214"}switch(r(t.legend)){case"string":l=t.legend;break;case"function":l=t.legend(c);break;case"boolean":l=c;break;default:l=!1}switch(r(t.legendColor)){case"string":s=t.legendColor;break;case"function":s=t.legendColor(c);break;case"object":if(Array.isArray(t.legendColor)){h=100/t.legendColor.length,g=Math.floor(i/h);g=Math.min(g,t.legendColor.length-1),g=Math.max(g,0),s=t.legendColor[g]}break;default:s="#000"}u.style.minWidth="30px",u.style.position="relative",u.setAttribute("aria-label",i);var b=document.createElement("div");if(b.style.display="inline-block",b.style.position="relative",b.style.width=i+"%",b.style.backgroundColor=a,b.style.height="100%",b.setAttribute("data-max",d),b.setAttribute("data-min",p),l){var v=document.createElement("div");v.style.position="absolute",v.style.top="4px",v.style.left=0,v.style.textAlign=m,v.style.width="100%",v.style.color=s,v.innerHTML=l}return o((function(){if(!(e instanceof f)){var t=document.createElement("div");t.style.position="absolute",t.style.top="4px",t.style.bottom="4px",t.style.left="4px",t.style.right="4px",u.appendChild(t),u=t}u.appendChild(b),l&&u.appendChild(v)})),""},color:function(e,t,o){return e.getElement().style.backgroundColor=this.sanitizeHTML(e.getValue()),""},buttonTick:function(e,t,o){return'<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34  c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351  l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07  l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>'},buttonCross:function(e,t,o){return'<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272  c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0  l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269  c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73  L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>'},rownum:function(e,t,o){return this.table.rowManager.activeRows.indexOf(e.getRow()._getSelf())+1},handle:function(e,t,o){return e.getElement().classList.add("tabulator-row-handle"),"<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>"},responsiveCollapse:function(e,t,o){var n=document.createElement("div"),r=e.getRow()._row.modules.responsiveLayout;function i(e){var t=r.element;r.open=e,t&&(r.open?(n.classList.add("open"),t.style.display=""):(n.classList.remove("open"),t.style.display="none"))}return n.classList.add("tabulator-responsive-collapse-toggle"),n.innerHTML="<span class='tabulator-responsive-collapse-toggle-open'>+</span><span class='tabulator-responsive-collapse-toggle-close'>-</span>",e.getElement().classList.add("tabulator-row-handle"),n.addEventListener("click",(function(e){e.stopImmediatePropagation(),i(!r.open)})),i(r.open),n},rowSelection:function(e,t,o){var n=this,r=document.createElement("input");if(r.type="checkbox",this.table.modExists("selectRow",!0))if(r.addEventListener("click",(function(e){e.stopPropagation()})),"function"==typeof e.getRow){var i=e.getRow();i instanceof d?(r.addEventListener("change",(function(e){i.toggleSelect()})),r.checked=i.isSelected&&i.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(i,r)):r=""}else r.addEventListener("change",(function(e){n.table.modules.selectRow.selectedRows.length?n.table.deselectRow():n.table.selectRow(t.rowRange)})),this.table.modules.selectRow.registerHeaderSelectCheckbox(r);return r}},g.prototype.registerModule("format",_);var O=function(e){this.table=e,this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightPadding=0,this.initializationMode="left",this.active=!1,this.scrollEndTimer=!1};O.prototype.reset=function(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightMargin=0,this.active=!1,this.table.columnManager.headersElement.style.marginLeft=0,this.table.columnManager.element.style.paddingRight=0},O.prototype.initializeColumn=function(e){var t={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(t.position=this.initializationMode,"left"==this.initializationMode?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=t):this.initializationMode="right")},O.prototype.frozenCheck=function(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen},O.prototype.scrollHorizontal=function(){var e,t=this;this.active&&(clearTimeout(this.scrollEndTimer),this.scrollEndTimer=setTimeout((function(){t.layout()}),100),e=this.table.rowManager.getVisibleRows(),this.calcMargins(),this.layoutColumnPosition(),this.layoutCalcRows(),e.forEach((function(e){"row"===e.type&&t.layoutRow(e)})),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)},O.prototype.calcMargins=function(){this.leftMargin=this._calcSpace(this.leftColumns,this.leftColumns.length)+"px",this.table.columnManager.headersElement.style.marginLeft=this.leftMargin,this.rightMargin=this._calcSpace(this.rightColumns,this.rightColumns.length)+"px",this.table.columnManager.element.style.paddingRight=this.rightMargin,this.rightPadding=this.table.rowManager.element.clientWidth+this.table.columnManager.scrollLeft},O.prototype.layoutCalcRows=function(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow))},O.prototype.layoutColumnPosition=function(e){var t=this,o=[];this.leftColumns.forEach((function(n,r){if(n.modules.frozen.margin=t._calcSpace(t.leftColumns,r)+t.table.columnManager.scrollLeft+"px",r==t.leftColumns.length-1?n.modules.frozen.edge=!0:n.modules.frozen.edge=!1,n.parent.isGroup){var i=t.getColGroupParentElement(n);o.includes(i)||(t.layoutElement(i,n),o.push(i)),n.modules.frozen.edge&&i.classList.add("tabulator-frozen-"+n.modules.frozen.position)}else t.layoutElement(n.getElement(),n);e&&n.cells.forEach((function(e){t.layoutElement(e.getElement(),n)}))})),this.rightColumns.forEach((function(o,n){o.modules.frozen.margin=t.rightPadding-t._calcSpace(t.rightColumns,n+1)+"px",n==t.rightColumns.length-1?o.modules.frozen.edge=!0:o.modules.frozen.edge=!1,o.parent.isGroup?t.layoutElement(t.getColGroupParentElement(o),o):t.layoutElement(o.getElement(),o),e&&o.cells.forEach((function(e){t.layoutElement(e.getElement(),o)}))}))},O.prototype.getColGroupParentElement=function(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()},O.prototype.layout=function(){var e=this;e.active&&(this.calcMargins(),e.table.rowManager.getDisplayRows().forEach((function(t){"row"===t.type&&e.layoutRow(t)})),this.layoutCalcRows(),this.layoutColumnPosition(!0),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)},O.prototype.layoutRow=function(e){var t=this;e.getElement().style.paddingLeft=this.leftMargin,this.leftColumns.forEach((function(o){var n=e.getCell(o);n&&t.layoutElement(n.getElement(),o)})),this.rightColumns.forEach((function(o){var n=e.getCell(o);n&&t.layoutElement(n.getElement(),o)}))},O.prototype.layoutElement=function(e,t){t.modules.frozen&&(e.style.position="absolute",e.style.left=t.modules.frozen.margin,e.classList.add("tabulator-frozen"),t.modules.frozen.edge&&e.classList.add("tabulator-frozen-"+t.modules.frozen.position))},O.prototype._calcSpace=function(e,t){for(var o=0,n=0;n<t;n++)e[n].visible&&(o+=e[n].getWidth());return o},g.prototype.registerModule("frozenColumns",O);var L=function(e){this.table=e,this.topElement=document.createElement("div"),this.rows=[],this.displayIndex=0};L.prototype.initialize=function(){this.rows=[],this.topElement.classList.add("tabulator-frozen-rows-holder"),this.table.columnManager.getElement().insertBefore(this.topElement,this.table.columnManager.headersElement.nextSibling)},L.prototype.setDisplayIndex=function(e){this.displayIndex=e},L.prototype.getDisplayIndex=function(){return this.displayIndex},L.prototype.isFrozen=function(){return!!this.rows.length},L.prototype.getRows=function(e){var t=e.slice(0);return this.rows.forEach((function(e){var o=t.indexOf(e);o>-1&&t.splice(o,1)})),t},L.prototype.freezeRow=function(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.table.rowManager.adjustTableSize(),this.rows.push(e),this.table.rowManager.refreshActiveData("display"),this.styleRows())},L.prototype.unfreezeRow=function(e){this.rows.indexOf(e);e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.table.rowManager.refreshActiveData("display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")},L.prototype.detachRow=function(e){var t=this.rows.indexOf(e);if(t>-1){var o=e.getElement();o.parentNode.removeChild(o),this.rows.splice(t,1)}},L.prototype.styleRows=function(e){var t=this;this.rows.forEach((function(e,o){t.table.rowManager.styleRow(e,o)}))},g.prototype.registerModule("frozenRows",L);var N=function(e){this._group=e,this.type="GroupComponent"};N.prototype.getKey=function(){return this._group.key},N.prototype.getField=function(){return this._group.field},N.prototype.getElement=function(){return this._group.element},N.prototype.getRows=function(){return this._group.getRows(!0)},N.prototype.getSubGroups=function(){return this._group.getSubGroups(!0)},N.prototype.getParentGroup=function(){return!!this._group.parent&&this._group.parent.getComponent()},N.prototype.getVisibility=function(){return console.warn("getVisibility function is deprecated, you should now use the isVisible function"),this._group.visible},N.prototype.isVisible=function(){return this._group.visible},N.prototype.show=function(){this._group.show()},N.prototype.hide=function(){this._group.hide()},N.prototype.toggle=function(){this._group.toggleVisibility()},N.prototype._getSelf=function(){return this._group},N.prototype.getTable=function(){return this._group.groupManager.table};var z=function(e,t,o,n,r,i,a){this.groupManager=e,this.parent=t,this.key=n,this.level=o,this.field=r,this.hasSubGroups=o<e.groupIDLookups.length-1,this.addRow=this.hasSubGroups?this._addRowToGroup:this._addRow,this.type="group",this.old=a,this.rows=[],this.groups=[],this.groupList=[],this.generator=i,this.elementContents=!1,this.height=0,this.outerHeight=0,this.initialized=!1,this.calcs={},this.initialized=!1,this.modules={},this.arrowElement=!1,this.visible=a?a.visible:void 0!==e.startOpen[o]?e.startOpen[o]:e.startOpen[0],this.component=null,this.createElements(),this.addBindings(),this.createValueGroups()};z.prototype.wipe=function(){this.groupList.length?this.groupList.forEach((function(e){e.wipe()})):(this.element=!1,this.arrowElement=!1,this.elementContents=!1)},z.prototype.createElements=function(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),!1!==this.groupManager.table.options.movableRows&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)},z.prototype.createValueGroups=function(){var e=this,t=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[t]&&this.groupManager.allowedValues[t].forEach((function(o){e._createGroup(o,t)}))},z.prototype.addBindings=function(){var e,t,o,n=this;n.groupManager.table.options.groupClick&&n.element.addEventListener("click",(function(e){n.groupManager.table.options.groupClick.call(n.groupManager.table,e,n.getComponent())})),n.groupManager.table.options.groupDblClick&&n.element.addEventListener("dblclick",(function(e){n.groupManager.table.options.groupDblClick.call(n.groupManager.table,e,n.getComponent())})),n.groupManager.table.options.groupContext&&n.element.addEventListener("contextmenu",(function(e){n.groupManager.table.options.groupContext.call(n.groupManager.table,e,n.getComponent())})),(n.groupManager.table.options.groupContextMenu||n.groupManager.table.options.groupClickMenu)&&n.groupManager.table.modExists("menu")&&n.groupManager.table.modules.menu.initializeGroup.call(n.groupManager.table.modules.menu,n),n.groupManager.table.options.groupTap&&(o=!1,n.element.addEventListener("touchstart",(function(e){o=!0}),{passive:!0}),n.element.addEventListener("touchend",(function(e){o&&n.groupManager.table.options.groupTap(e,n.getComponent()),o=!1}))),n.groupManager.table.options.groupDblTap&&(e=null,n.element.addEventListener("touchend",(function(t){e?(clearTimeout(e),e=null,n.groupManager.table.options.groupDblTap(t,n.getComponent())):e=setTimeout((function(){clearTimeout(e),e=null}),300)}))),n.groupManager.table.options.groupTapHold&&(t=null,n.element.addEventListener("touchstart",(function(e){clearTimeout(t),t=setTimeout((function(){clearTimeout(t),t=null,o=!1,n.groupManager.table.options.groupTapHold(e,n.getComponent())}),1e3)}),{passive:!0}),n.element.addEventListener("touchend",(function(e){clearTimeout(t),t=null}))),n.groupManager.table.options.groupToggleElement&&("arrow"==n.groupManager.table.options.groupToggleElement?n.arrowElement:n.element).addEventListener("click",(function(e){e.stopPropagation(),e.stopImmediatePropagation(),n.toggleVisibility()}))},z.prototype._createGroup=function(e,t){var o=t+"_"+e,n=new z(this.groupManager,this,t,e,this.groupManager.groupIDLookups[t].field,this.groupManager.headerGenerator[t]||this.groupManager.headerGenerator[0],!!this.old&&this.old.groups[o]);this.groups[o]=n,this.groupList.push(n)},z.prototype._addRowToGroup=function(e){var t=this.level+1;if(this.hasSubGroups){var o=this.groupManager.groupIDLookups[t].func(e.getData()),n=t+"_"+o;this.groupManager.allowedValues&&this.groupManager.allowedValues[t]?this.groups[n]&&this.groups[n].addRow(e):(this.groups[n]||this._createGroup(o,t),this.groups[n].addRow(e))}},z.prototype._addRow=function(e){this.rows.push(e),e.modules.group=this},z.prototype.insertRow=function(e,t,o){var n=this.conformRowData({});e.updateData(n);var r=this.rows.indexOf(t);r>-1?o?this.rows.splice(r+1,0,e):this.rows.splice(r,0,e):o?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)},z.prototype.scrollHeader=function(e){this.arrowElement.style.marginLeft=e,this.groupList.forEach((function(t){t.scrollHeader(e)}))},z.prototype.getRowIndex=function(e){},z.prototype.conformRowData=function(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e},z.prototype.removeRow=function(e){var t=this.rows.indexOf(e),o=e.getElement();t>-1&&this.rows.splice(t,1),this.groupManager.table.options.groupValues||this.rows.length?(o.parentNode&&o.parentNode.removeChild(o),this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)):(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0))},z.prototype.removeGroup=function(e){var t,o=e.level+"_"+e.key;this.groups[o]&&(delete this.groups[o],(t=this.groupList.indexOf(e))>-1&&this.groupList.splice(t,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))},z.prototype.getHeadersAndRows=function(e){var t=[];return t.push(this),this._visSet(),this.visible?this.groupList.length?this.groupList.forEach((function(o){t=t.concat(o.getHeadersAndRows(e))})):(!e&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),t.push(this.calcs.top)),t=t.concat(this.rows),!e&&"table"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),t.push(this.calcs.bottom))):this.groupList.length||"table"==this.groupManager.table.options.columnCalcs||this.groupManager.table.modExists("columnCalcs")&&(!e&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),t.push(this.calcs.top))),!e&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),t.push(this.calcs.bottom)))),t},z.prototype.getData=function(e,t){var o=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach((function(e){o.push(e.getData(t||"data"))})),o},z.prototype.getRowCount=function(){var e=0;return this.groupList.length?this.groupList.forEach((function(t){e+=t.getRowCount()})):e=this.rows.length,e},z.prototype.toggleVisibility=function(){this.visible?this.hide():this.show()},z.prototype.hide=function(){this.visible=!1,"classic"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination?this.groupManager.updateGroupRows(!0):(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach((function(e){e.getHeadersAndRows().forEach((function(e){e.detachElement()}))})):this.rows.forEach((function(e){var t=e.getElement();t.parentNode.removeChild(t)})),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()),this.groupManager.table.options.groupVisibilityChanged.call(this.table,this.getComponent(),!1)},z.prototype.show=function(){if(this.visible=!0,"classic"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination)this.groupManager.updateGroupRows(!0);else{this.element.classList.add("tabulator-group-visible");var e=this.getElement();this.groupList.length?this.groupList.forEach((function(t){t.getHeadersAndRows().forEach((function(t){var o=t.getElement();e.parentNode.insertBefore(o,e.nextSibling),t.initialize(),e=o}))})):this.rows.forEach((function(t){var o=t.getElement();e.parentNode.insertBefore(o,e.nextSibling),t.initialize(),e=o})),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()}this.groupManager.table.options.groupVisibilityChanged.call(this.table,this.getComponent(),!0)},z.prototype._visSet=function(){var e=[];"function"==typeof this.visible&&(this.rows.forEach((function(t){e.push(t.getData())})),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))},z.prototype.getRowGroup=function(e){var t=!1;return this.groupList.length?this.groupList.forEach((function(o){var n=o.getRowGroup(e);n&&(t=n)})):this.rows.find((function(t){return t===e}))&&(t=this),t},z.prototype.getSubGroups=function(e){var t=[];return this.groupList.forEach((function(o){t.push(e?o.getComponent():o)})),t},z.prototype.getRows=function(e){var t=[];return this.rows.forEach((function(o){t.push(e?o.getComponent():o)})),t},z.prototype.generateGroupHeaderContents=function(){var e=[];for(this.rows.forEach((function(t){e.push(t.getData())})),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);"string"==typeof this.elementContents?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)},z.prototype.getPath=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.unshift(this.key),this.parent&&this.parent.getPath(e),e},z.prototype.getElement=function(){this.addBindingsd=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;e<this.element.childNodes.length;++e)this.element.childNodes[e].parentNode.removeChild(this.element.childNodes[e]);return this.generateGroupHeaderContents(),this.element},z.prototype.detachElement=function(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)},z.prototype.normalizeHeight=function(){this.setHeight(this.element.clientHeight)},z.prototype.initialize=function(e){this.initialized&&!e||(this.normalizeHeight(),this.initialized=!0)},z.prototype.reinitialize=function(){this.initialized=!1,this.height=0,g.prototype.helpers.elVisible(this.element)&&this.initialize(!0)},z.prototype.setHeight=function(e){this.height!=e&&(this.height=e,this.outerHeight=this.element.offsetHeight)},z.prototype.getHeight=function(){return this.outerHeight},z.prototype.getGroup=function(){return this},z.prototype.reinitializeHeight=function(){},z.prototype.calcHeight=function(){},z.prototype.setCellHeight=function(){},z.prototype.clearCellHeight=function(){},z.prototype.getComponent=function(){return this.component||(this.component=new N(this)),this.component};var j=function(e){this.table=e,this.groupIDLookups=!1,this.startOpen=[function(){return!1}],this.headerGenerator=[function(){return""}],this.groupList=[],this.allowedValues=!1,this.groups={},this.displayIndex=0};j.prototype.initialize=function(){var e=this,t=e.table.options.groupBy,o=e.table.options.groupStartOpen,n=e.table.options.groupHeader;(this.allowedValues=e.table.options.groupValues,Array.isArray(t)&&Array.isArray(n)&&t.length>n.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),e.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],e.table.modules.localize.bind("groups|item",(function(t,o){e.headerGenerator[0]=function(e,n,r){return(void 0===e?"":e)+"<span>("+n+" "+(1===n?t:o.groups.items)+")</span>"}})),this.groupIDLookups=[],Array.isArray(t)||t)?this.table.modExists("columnCalcs")&&"table"!=this.table.options.columnCalcs&&"both"!=this.table.options.columnCalcs&&this.table.modules.columnCalcs.removeCalcs():this.table.modExists("columnCalcs")&&"group"!=this.table.options.columnCalcs&&this.table.columnManager.getRealColumns().forEach((function(t){t.definition.topCalc&&e.table.modules.columnCalcs.initializeTopRow(),t.definition.bottomCalc&&e.table.modules.columnCalcs.initializeBottomRow()}));Array.isArray(t)||(t=[t]),t.forEach((function(t,o){var n,r;n="function"==typeof t?t:(r=e.table.columnManager.getColumnByField(t))?function(e){return r.getFieldValue(e)}:function(e){return e[t]},e.groupIDLookups.push({field:"function"!=typeof t&&t,func:n,values:!!e.allowedValues&&e.allowedValues[o]})})),o&&(Array.isArray(o)||(o=[o]),o.forEach((function(e){e="function"==typeof e?e:function(){return!0}})),e.startOpen=o),n&&(e.headerGenerator=Array.isArray(n)?n:[n]),this.initialized=!0},j.prototype.setDisplayIndex=function(e){this.displayIndex=e},j.prototype.getDisplayIndex=function(){return this.displayIndex},j.prototype.getRows=function(e){return this.groupIDLookups.length?(this.table.options.dataGrouping.call(this.table),this.generateGroups(e),this.table.options.dataGrouped&&this.table.options.dataGrouped.call(this.table,this.getGroups(!0)),this.updateGroupRows()):e.slice(0)},j.prototype.getGroups=function(e){var t=[];return this.groupList.forEach((function(o){t.push(e?o.getComponent():o)})),t},j.prototype.getChildGroups=function(e){var t=this,o=[];return e||(e=this),e.groupList.forEach((function(e){e.groupList.length?o=o.concat(t.getChildGroups(e)):o.push(e)})),o},j.prototype.wipe=function(){this.groupList.forEach((function(e){e.wipe()}))},j.prototype.pullGroupListData=function(e){var t=this,o=[];return e.forEach((function(e){var n={level:0,rowCount:0,headerContent:""},r=[];e.hasSubGroups?(r=t.pullGroupListData(e.groupList),n.level=e.level,n.rowCount=r.length-e.groupList.length,n.headerContent=e.generator(e.key,n.rowCount,e.rows,e),o.push(n),o=o.concat(r)):(n.level=e.level,n.headerContent=e.generator(e.key,e.rows.length,e.rows,e),n.rowCount=e.getRows().length,o.push(n),e.getRows().forEach((function(e){o.push(e.getData("data"))})))})),o},j.prototype.getGroupedData=function(){return this.pullGroupListData(this.groupList)},j.prototype.getRowGroup=function(e){var t=!1;return this.groupList.forEach((function(o){var n=o.getRowGroup(e);n&&(t=n)})),t},j.prototype.countGroups=function(){return this.groupList.length},j.prototype.generateGroups=function(e){var t=this,o=t.groups;t.groups={},t.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach((function(e){t.createGroup(e,0,o)})),e.forEach((function(e){t.assignRowToExistingGroup(e,o)}))):e.forEach((function(e){t.assignRowToGroup(e,o)}))},j.prototype.createGroup=function(e,t,o){var n,r=t+"_"+e;o=o||[],n=new z(this,!1,t,e,this.groupIDLookups[0].field,this.headerGenerator[0],o[r]),this.groups[r]=n,this.groupList.push(n)},j.prototype.assignRowToExistingGroup=function(e,t){var o="0_"+this.groupIDLookups[0].func(e.getData());this.groups[o]&&this.groups[o].addRow(e)},j.prototype.assignRowToGroup=function(e,t){var o=this.groupIDLookups[0].func(e.getData()),n=!this.groups["0_"+o];return n&&this.createGroup(o,0,t),this.groups["0_"+o].addRow(e),!n},j.prototype.reassignRowToGroup=function(e){var t=e.getGroup(),o=t.getPath(),n=this.getExpectedPath(e);o.length==n.length&&o.every((function(e,t){return e===n[t]}))||(t.removeRow(e),this.assignRowToGroup(e,self.groups),this.table.rowManager.refreshActiveData("group",!1,!0))},j.prototype.getExpectedPath=function(e){var t=[],o=e.getData();return this.groupIDLookups.forEach((function(e){t.push(e.func(o))})),t},j.prototype.updateGroupRows=function(e){var t=[];if(this.groupList.forEach((function(e){t=t.concat(e.getHeadersAndRows())})),e){var o=this.table.rowManager.setDisplayRows(t,this.getDisplayIndex());!0!==o&&this.setDisplayIndex(o),this.table.rowManager.refreshActiveData("group",!0,!0)}return t},j.prototype.scrollHeaders=function(e){this.table.options.virtualDomHoz&&(e-=this.table.vdomHoz.vDomPadLeft),e+="px",this.groupList.forEach((function(t){t.scrollHeader(e)}))},j.prototype.removeGroup=function(e){var t,o=e.level+"_"+e.key;this.groups[o]&&(delete this.groups[o],(t=this.groupList.indexOf(e))>-1&&this.groupList.splice(t,1))},g.prototype.registerModule("groupRows",j);var I=function(e){this.table=e,this.history=[],this.index=-1};I.prototype.clear=function(){this.history=[],this.index=-1},I.prototype.action=function(e,t,o){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:t,data:o}),this.index++},I.prototype.getHistoryUndoSize=function(){return this.index+1},I.prototype.getHistoryRedoSize=function(){return this.history.length-(this.index+1)},I.prototype.clearComponentHistory=function(e){var t=this.history.findIndex((function(t){return t.component===e}));t>-1&&(this.history.splice(t,1),t<=this.index&&this.index--,this.clearComponentHistory(e))},I.prototype.undo=function(){if(this.index>-1){var e=this.history[this.index];return this.undoers[e.type].call(this,e),this.index--,this.table.options.historyUndo.call(this.table,e.type,e.component.getComponent(),e.data),!0}return console.warn("History Undo Error - No more history to undo"),!1},I.prototype.redo=function(){if(this.history.length-1>this.index){this.index++;var e=this.history[this.index];return this.redoers[e.type].call(this,e),this.table.options.historyRedo.call(this.table,e.type,e.component.getComponent(),e.data),!0}return console.warn("History Redo Error - No more history to redo"),!1},I.prototype.undoers={cellEdit:function(e){e.component.setValueProcessData(e.data.oldValue)},rowAdd:function(e){e.component.deleteActual()},rowDelete:function(e){var t=this.table.rowManager.addRowActual(e.data.data,e.data.pos,e.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(e.component,t)},rowMove:function(e){this.table.rowManager.moveRowActual(e.component,this.table.rowManager.rows[e.data.posFrom],!e.data.after),this.table.rowManager.redraw()}},I.prototype.redoers={cellEdit:function(e){e.component.setValueProcessData(e.data.newValue)},rowAdd:function(e){var t=this.table.rowManager.addRowActual(e.data.data,e.data.pos,e.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(e.component,t)},rowDelete:function(e){e.component.deleteActual()},rowMove:function(e){this.table.rowManager.moveRowActual(e.component,this.table.rowManager.rows[e.data.posTo],e.data.after),this.table.rowManager.redraw()}},I.prototype._rebindRow=function(e,t){this.history.forEach((function(o){if(o.component instanceof p)o.component===e&&(o.component=t);else if(o.component instanceof m&&o.component.row===e){var n=o.component.column.getField();n&&(o.component=t.getCell(n))}}))},g.prototype.registerModule("history",I);var F=function(e){this.table=e,this.fieldIndex=[],this.hasIndex=!1};F.prototype.parseTable=function(){var e=this.table.element,t=this.table.options,o=(t.columns,e.getElementsByTagName("th")),n=e.getElementsByTagName("tbody")[0],i=[];this.hasIndex=!1,this.table.options.htmlImporting.call(this.table),n=n?n.getElementsByTagName("tr"):[],this._extractOptions(e,t),o.length?this._extractHeaders(o,n):this._generateBlankHeaders(o,n);for(var a=0;a<n.length;a++){var l=n[a].getElementsByTagName("td"),s={};this.hasIndex||(s[t.index]=a);for(var c=0;c<l.length;c++){var u=l[c];void 0!==this.fieldIndex[c]&&(s[this.fieldIndex[c]]=u.innerHTML)}i.push(s)}var d=document.createElement("div"),p=e.attributes;for(var c in p)"object"==r(p[c])&&d.setAttribute(p[c].name,p[c].value);e.parentNode.replaceChild(d,e),t.data=i,this.table.options.htmlImported.call(this.table),this.table.element=d},F.prototype._extractOptions=function(e,t,o){var n=e.attributes,i=o?Object.assign([],o):Object.keys(t),a={};for(var l in i.forEach((function(e){a[e.toLowerCase()]=e})),n){var s,c=n[l];c&&"object"==(void 0===c?"undefined":r(c))&&c.name&&0===c.name.indexOf("tabulator-")&&(s=c.name.replace("tabulator-",""),void 0!==a[s]&&(t[a[s]]=this._attribValue(c.value)))}},F.prototype._attribValue=function(e){return"true"===e||"false"!==e&&e},F.prototype._findCol=function(e){return this.table.options.columns.find((function(t){return t.title===e}))||!1},F.prototype._extractHeaders=function(e,t){for(var o=0;o<e.length;o++){var n,r=e[o],i=!1,a=this._findCol(r.textContent);a?i=!0:a={title:r.textContent.trim()},a.field||(a.field=r.textContent.trim().toLowerCase().replace(" ","_")),(n=r.getAttribute("width"))&&!a.width&&(a.width=n),r.attributes,this._extractOptions(r,a,s.prototype.defaultOptionList),this.fieldIndex[o]=a.field,a.field==this.table.options.index&&(this.hasIndex=!0),i||this.table.options.columns.push(a)}},F.prototype._generateBlankHeaders=function(e,t){for(var o=0;o<e.length;o++){var n=e[o],r={title:"",field:"col"+o};this.fieldIndex[o]=r.field;var i=n.getAttribute("width");i&&(r.width=i),this.table.options.columns.push(r)}},g.prototype.registerModule("htmlTableImport",F);var H=function(e){this.table=e,this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1};H.prototype.initialize=function(){var e=this.table.options.keybindings,t={};if(this.watchKeys={},this.pressedKeys=[],!1!==e){for(var o in this.bindings)t[o]=this.bindings[o];if(Object.keys(e).length)for(var n in e)t[n]=e[n];this.mapBindings(t),this.bindEvents()}},H.prototype.mapBindings=function(e){var t=this,o=this,n=function(n){t.actions[n]?e[n]&&("object"!==r(e[n])&&(e[n]=[e[n]]),e[n].forEach((function(e){o.mapBinding(n,e)}))):console.warn("Key Binding Error - no such action:",n)};for(var i in e)n(i)},H.prototype.mapBinding=function(e,t){var o=this,n={action:this.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1};t.toString().toLowerCase().split(" ").join("").split("+").forEach((function(e){switch(e){case"ctrl":n.ctrl=!0;break;case"shift":n.shift=!0;break;case"meta":n.meta=!0;break;default:e=parseInt(e),n.keys.push(e),o.watchKeys[e]||(o.watchKeys[e]=[]),o.watchKeys[e].push(n)}}))},H.prototype.bindEvents=function(){var e=this;this.keyupBinding=function(t){var o=t.keyCode,n=e.watchKeys[o];n&&(e.pressedKeys.push(o),n.forEach((function(o){e.checkBinding(t,o)})))},this.keydownBinding=function(t){var o=t.keyCode;if(e.watchKeys[o]){var n=e.pressedKeys.indexOf(o);n>-1&&e.pressedKeys.splice(n,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)},H.prototype.clearBindings=function(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)},H.prototype.checkBinding=function(e,t){var o=this,n=!0;return e.ctrlKey==t.ctrl&&e.shiftKey==t.shift&&e.metaKey==t.meta&&(t.keys.forEach((function(e){-1==o.pressedKeys.indexOf(e)&&(n=!1)})),n&&t.action.call(o,e),!0)},H.prototype.bindings={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:"ctrl + 90",redo:"ctrl + 89",copyToClipboard:"ctrl + 67"},H.prototype.actions={keyBlock:function(e){e.stopPropagation(),e.preventDefault()},scrollPageUp:function(e){var t=this.table.rowManager,o=t.scrollTop-t.height;t.element.scrollHeight;e.preventDefault(),t.displayRowsCount&&(o>=0?t.element.scrollTop=o:t.scrollToRow(t.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(e){var t=this.table.rowManager,o=t.scrollTop+t.height,n=t.element.scrollHeight;e.preventDefault(),t.displayRowsCount&&(o<=n?t.element.scrollTop=o:t.scrollToRow(t.getDisplayRows()[t.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(e){var t=this.table.rowManager;e.preventDefault(),t.displayRowsCount&&t.scrollToRow(t.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(e){var t=this.table.rowManager;e.preventDefault(),t.displayRowsCount&&t.scrollToRow(t.getDisplayRows()[t.displayRowsCount-1]),this.table.element.focus()},navPrev:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().prev())},navNext:function(e){var t,o=!1,n=this.table.options.tabEndNewRow;this.table.modExists("edit")&&(o=this.table.modules.edit.currentCell)&&(e.preventDefault(),(t=o.nav()).next()||n&&(o.getElement().firstChild.blur(),(n=!0===n?this.table.addRow({}):"function"==typeof n?this.table.addRow(n(o.row.getComponent())):this.table.addRow(Object.assign({},n))).then((function(){setTimeout((function(){t.next()}))}))))},navLeft:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().left())},navRight:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().right())},navUp:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().up())},navDown:function(e){var t=!1;this.table.modExists("edit")&&(t=this.table.modules.edit.currentCell)&&(e.preventDefault(),t.nav().down())},undo:function(e){this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(this.table.modules.edit.currentCell||(e.preventDefault(),this.table.modules.history.undo()))},redo:function(e){this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(this.table.modules.edit.currentCell||(e.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(e){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}},g.prototype.registerModule("keybindings",H);var B=function(e){this.table=e,this.menuEl=!1,this.blurEvent=this.hideMenu.bind(this),this.escEvent=this.escMenu.bind(this),this.nestedMenuBlock=!1};B.prototype.initializeColumnHeader=function(e){var t,o=this;e.definition.headerContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,e.definition.headerContextMenu)),this.tapHold(e,e.definition.headerContextMenu)),e.definition.headerMenu&&((t=document.createElement("span")).classList.add("tabulator-header-menu-button"),t.innerHTML="&vellip;",t.addEventListener("click",(function(t){var n="function"==typeof e.definition.headerMenu?e.definition.headerMenu(e.getComponent(),t):e.definition.headerMenu;t.stopPropagation(),t.preventDefault(),o.loadMenu(t,e,n)})),e.titleElement.insertBefore(t,e.titleElement.firstChild))},B.prototype.LoadMenuEvent=function(e,t,o){t="function"==typeof t?t(e.getComponent(),o):t,this.loadMenu(o,e,t)},B.prototype.tapHold=function(e,t){var o=this,n=e.getElement(),r=null,i=!1;n.addEventListener("touchstart",(function(n){clearTimeout(r),i=!1,r=setTimeout((function(){clearTimeout(r),r=null,i=!0,o.LoadMenuEvent(e,t,n)}),1e3)}),{passive:!0}),n.addEventListener("touchend",(function(e){clearTimeout(r),r=null,i&&e.preventDefault()}))},B.prototype.initializeCell=function(e){e.column.definition.contextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,e.column.definition.contextMenu)),this.tapHold(e,e.column.definition.contextMenu)),e.column.definition.clickMenu&&e.getElement().addEventListener("click",this.LoadMenuEvent.bind(this,e,e.column.definition.clickMenu))},B.prototype.initializeRow=function(e){this.table.options.rowContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,this.table.options.rowContextMenu)),this.tapHold(e,this.table.options.rowContextMenu)),this.table.options.rowClickMenu&&e.getElement().addEventListener("click",this.LoadMenuEvent.bind(this,e,this.table.options.rowClickMenu))},B.prototype.initializeGroup=function(e){this.table.options.groupContextMenu&&(e.getElement().addEventListener("contextmenu",this.LoadMenuEvent.bind(this,e,this.table.options.groupContextMenu)),this.tapHold(e,this.table.options.groupContextMenu)),this.table.options.groupClickMenu&&e.getElement().addEventListener("click",this.LoadMenuEvent.bind(this,e,this.table.options.groupClickMenu))},B.prototype.loadMenu=function(e,t,o){var n=this,r=Math.max(document.body.offsetHeight,window.innerHeight),i=!(e instanceof MouseEvent);if(i||e.preventDefault(),o&&o.length){if(this.nestedMenuBlock){if(this.isOpen())return}else this.nestedMenuBlock=setTimeout((function(){n.nestedMenuBlock=!1}),100);this.hideMenu(),this.menuEl=document.createElement("div"),this.menuEl.classList.add("tabulator-menu"),o.forEach((function(e){var o=document.createElement("div"),r=e.label,i=e.disabled;e.separator?o.classList.add("tabulator-menu-separator"):(o.classList.add("tabulator-menu-item"),"function"==typeof r&&(r=r(t.getComponent())),r instanceof Node?o.appendChild(r):o.innerHTML=r,"function"==typeof i&&(i=i(t.getComponent())),i?(o.classList.add("tabulator-menu-item-disabled"),o.addEventListener("click",(function(e){e.stopPropagation()}))):o.addEventListener("click",(function(o){n.hideMenu(),e.action(o,t.getComponent())}))),n.menuEl.appendChild(o)})),this.menuEl.style.top=(i?e.touches[0].pageY:e.pageY)+"px",this.menuEl.style.left=(i?e.touches[0].pageX:e.pageX)+"px",setTimeout((function(){n.table.rowManager.element.addEventListener("scroll",n.blurEvent),document.body.addEventListener("click",n.blurEvent),document.body.addEventListener("contextmenu",n.blurEvent),document.body.addEventListener("keydown",n.escEvent)}),100),document.body.appendChild(this.menuEl),e.pageX+this.menuEl.offsetWidth>=document.body.offsetWidth&&(this.menuEl.style.left="",this.menuEl.style.right=document.body.offsetWidth-e.pageX+"px"),e.pageY+this.menuEl.offsetHeight>=r&&(this.menuEl.style.top="",this.menuEl.style.bottom=r-e.pageY+"px")}},B.prototype.isOpen=function(){return!!this.menuEl.parentNode},B.prototype.escMenu=function(e){27==e.keyCode&&this.hideMenu()},B.prototype.hideMenu=function(){this.menuEl.parentNode&&this.menuEl.parentNode.removeChild(this.menuEl),this.escEvent&&document.body.removeEventListener("keydown",this.escEvent),this.blurEvent&&(document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent))},B.prototype.menus={},g.prototype.registerModule("menu",B);var U=function(e){this.table=e,this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this)};U.prototype.createPlaceholderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e},U.prototype.initializeColumn=function(e){var t,o=this,n={};e.modules.frozen||(t=e.getElement(),n.mousemove=function(n){e.parent===o.moving.parent&&((o.touchMove?n.touches[0].pageX:n.pageX)-g.prototype.helpers.elOffset(t).left+o.table.columnManager.element.scrollLeft>e.getWidth()/2?o.toCol===e&&o.toColAfter||(t.parentNode.insertBefore(o.placeholderElement,t.nextSibling),o.moveColumn(e,!0)):(o.toCol!==e||o.toColAfter)&&(t.parentNode.insertBefore(o.placeholderElement,t),o.moveColumn(e,!1)))}.bind(o),t.addEventListener("mousedown",(function(t){o.touchMove=!1,1===t.which&&(o.checkTimeout=setTimeout((function(){o.startMove(t,e)}),o.checkPeriod))})),t.addEventListener("mouseup",(function(e){1===e.which&&o.checkTimeout&&clearTimeout(o.checkTimeout)})),o.bindTouchEvents(e)),e.modules.moveColumn=n},U.prototype.bindTouchEvents=function(e){var t,o,n,r,i,a,l=this,s=e.getElement(),c=!1;s.addEventListener("touchstart",(function(s){l.checkTimeout=setTimeout((function(){l.touchMove=!0,e,t=e.nextColumn(),n=t?t.getWidth()/2:0,o=e.prevColumn(),r=o?o.getWidth()/2:0,i=0,a=0,c=!1,l.startMove(s,e)}),l.checkPeriod)}),{passive:!0}),s.addEventListener("touchmove",(function(s){var u,d;l.moving&&(l.moveHover(s),c||(c=s.touches[0].pageX),(u=s.touches[0].pageX-c)>0?t&&u-i>n&&(d=t)!==e&&(c=s.touches[0].pageX,d.getElement().parentNode.insertBefore(l.placeholderElement,d.getElement().nextSibling),l.moveColumn(d,!0)):o&&-u-a>r&&(d=o)!==e&&(c=s.touches[0].pageX,d.getElement().parentNode.insertBefore(l.placeholderElement,d.getElement()),l.moveColumn(d,!1)),d&&(d,t=d.nextColumn(),i=n,n=t?t.getWidth()/2:0,o=d.prevColumn(),a=r,r=o?o.getWidth()/2:0))}),{passive:!0}),s.addEventListener("touchend",(function(e){l.checkTimeout&&clearTimeout(l.checkTimeout),l.moving&&l.endMove(e)}))},U.prototype.startMove=function(e,t){var o=t.getElement();this.moving=t,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-g.prototype.helpers.elOffset(o).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=t.getWidth()+"px",this.placeholderElement.style.height=t.getHeight()+"px",o.parentNode.insertBefore(this.placeholderElement,o),o.parentNode.removeChild(o),this.hoverElement=o.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.table.columnManager.getElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom="0",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)},U.prototype._bindMouseMove=function(){this.table.columnManager.columnsByIndex.forEach((function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)}))},U.prototype._unbindMouseMove=function(){this.table.columnManager.columnsByIndex.forEach((function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)}))},U.prototype.moveColumn=function(e,t){var o=this.moving.getCells();this.toCol=e,this.toColAfter=t,t?e.getCells().forEach((function(e,t){var n=e.getElement();n.parentNode.insertBefore(o[t].getElement(),n.nextSibling)})):e.getCells().forEach((function(e,t){var n=e.getElement();n.parentNode.insertBefore(o[t].getElement(),n)}))},U.prototype.endMove=function(e){(1===e.which||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))},U.prototype.moveHover=function(e){var t,o=this,n=o.table.columnManager.getElement(),r=n.scrollLeft,i=(o.touchMove?e.touches[0].pageX:e.pageX)-g.prototype.helpers.elOffset(n).left+r;o.hoverElement.style.left=i-o.startX+"px",i-r<o.autoScrollMargin&&(o.autoScrollTimeout||(o.autoScrollTimeout=setTimeout((function(){t=Math.max(0,r-5),o.table.rowManager.getElement().scrollLeft=t,o.autoScrollTimeout=!1}),1))),r+n.clientWidth-i<o.autoScrollMargin&&(o.autoScrollTimeout||(o.autoScrollTimeout=setTimeout((function(){t=Math.min(n.clientWidth,r+5),o.table.rowManager.getElement().scrollLeft=t,o.autoScrollTimeout=!1}),1)))},g.prototype.registerModule("moveColumn",U);var W=function(e){this.table=e,this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1};W.prototype.createPlaceholderElement=function(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e},W.prototype.initialize=function(e){this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements},W.prototype.setHandle=function(e){this.hasHandle=e},W.prototype.initializeGroupHeader=function(e){var t=this,o={};o.mouseup=function(e){t.tableRowDrop(e,row)}.bind(t),o.mousemove=function(o){var n;o.pageY-g.prototype.helpers.elOffset(e.element).top+t.table.rowManager.element.scrollTop>e.getHeight()/2?t.toRow===e&&t.toRowAfter||((n=e.getElement()).parentNode.insertBefore(t.placeholderElement,n.nextSibling),t.moveRow(e,!0)):(t.toRow!==e||t.toRowAfter)&&(n=e.getElement()).previousSibling&&(n.parentNode.insertBefore(t.placeholderElement,n),t.moveRow(e,!1))}.bind(t),e.modules.moveRow=o},W.prototype.initializeRow=function(e){var t,o=this,n={};n.mouseup=function(t){o.tableRowDrop(t,e)}.bind(o),n.mousemove=function(t){var n;t.pageY-g.prototype.helpers.elOffset(e.element).top+o.table.rowManager.element.scrollTop>e.getHeight()/2?o.toRow===e&&o.toRowAfter||((n=e.getElement()).parentNode.insertBefore(o.placeholderElement,n.nextSibling),o.moveRow(e,!0)):(o.toRow!==e||o.toRowAfter)&&((n=e.getElement()).parentNode.insertBefore(o.placeholderElement,n),o.moveRow(e,!1))}.bind(o),this.hasHandle||((t=e.getElement()).addEventListener("mousedown",(function(t){1===t.which&&(o.checkTimeout=setTimeout((function(){o.startMove(t,e)}),o.checkPeriod))})),t.addEventListener("mouseup",(function(e){1===e.which&&o.checkTimeout&&clearTimeout(o.checkTimeout)})),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=n},W.prototype.initializeCell=function(e){var t=this,o=e.getElement();o.addEventListener("mousedown",(function(o){1===o.which&&(t.checkTimeout=setTimeout((function(){t.startMove(o,e.row)}),t.checkPeriod))})),o.addEventListener("mouseup",(function(e){1===e.which&&t.checkTimeout&&clearTimeout(t.checkTimeout)})),this.bindTouchEvents(e.row,e.getElement())},W.prototype.bindTouchEvents=function(e,t){var o,n,r,i,a,l,s=this,c=!1;t.addEventListener("touchstart",(function(t){s.checkTimeout=setTimeout((function(){s.touchMove=!0,e,o=e.nextRow(),r=o?o.getHeight()/2:0,n=e.prevRow(),i=n?n.getHeight()/2:0,a=0,l=0,c=!1,s.startMove(t,e)}),s.checkPeriod)}),{passive:!0}),this.moving,this.toRow,this.toRowAfter,t.addEventListener("touchmove",(function(t){var u,d;s.moving&&(t.preventDefault(),s.moveHover(t),c||(c=t.touches[0].pageY),(u=t.touches[0].pageY-c)>0?o&&u-a>r&&(d=o)!==e&&(c=t.touches[0].pageY,d.getElement().parentNode.insertBefore(s.placeholderElement,d.getElement().nextSibling),s.moveRow(d,!0)):n&&-u-l>i&&(d=n)!==e&&(c=t.touches[0].pageY,d.getElement().parentNode.insertBefore(s.placeholderElement,d.getElement()),s.moveRow(d,!1)),d&&(d,o=d.nextRow(),a=r,r=o?o.getHeight()/2:0,n=d.prevRow(),l=i,i=n?n.getHeight()/2:0))})),t.addEventListener("touchend",(function(e){s.checkTimeout&&clearTimeout(s.checkTimeout),s.moving&&(s.endMove(e),s.touchMove=!1)}))},W.prototype._bindMouseMove=function(){this.table.rowManager.getDisplayRows().forEach((function(e){"row"!==e.type&&"group"!==e.type||!e.modules.moveRow.mousemove||e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)}))},W.prototype._unbindMouseMove=function(){this.table.rowManager.getDisplayRows().forEach((function(e){"row"!==e.type&&"group"!==e.type||!e.modules.moveRow.mousemove||e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)}))},W.prototype.startMove=function(e,t){var o=t.getElement();this.setStartPosition(e,t),this.moving=t,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=t.getWidth()+"px",this.placeholderElement.style.height=t.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(t)):(o.parentNode.insertBefore(this.placeholderElement,o),o.parentNode.removeChild(o)),this.hoverElement=o.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.moveHover(e)},W.prototype.setStartPosition=function(e,t){var o,n,r=this.touchMove?e.touches[0].pageX:e.pageX,i=this.touchMove?e.touches[0].pageY:e.pageY;o=t.getElement(),this.connection?(n=o.getBoundingClientRect(),this.startX=n.left-r+window.pageXOffset,this.startY=n.top-i+window.pageYOffset):this.startY=i-o.getBoundingClientRect().top},W.prototype.endMove=function(e){e&&1!==e.which&&!this.touchMove||(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow&&this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))},W.prototype.moveRow=function(e,t){this.toRow=e,this.toRowAfter=t},W.prototype.moveHover=function(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)},W.prototype.moveHoverTable=function(e){var t=this.table.rowManager.getElement(),o=t.scrollTop,n=(this.touchMove?e.touches[0].pageY:e.pageY)-t.getBoundingClientRect().top+o;this.hoverElement.style.top=n-this.startY+"px"},W.prototype.moveHoverConnections=function(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"},W.prototype.elementRowDrop=function(e,t,o){this.table.options.movableRowsElementDrop&&this.table.options.movableRowsElementDrop(e,t,!!o&&o.getComponent())},W.prototype.connectToTables=function(e){var t,o=this;this.connectionSelectorsTables&&(t=this.table.modules.comms.getConnections(this.connectionSelectorsTables),this.table.options.movableRowsSendingStart.call(this.table,t),this.table.modules.comms.send(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach((function(e){"string"==typeof e?o.connectionElements=o.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(e))):o.connectionElements.push(e)})),this.connectionElements.forEach((function(e){var t=function(t){o.elementRowDrop(t,e,o.moving)};e.addEventListener("mouseup",t),e.tabulatorElementDropEvent=t,e.classList.add("tabulator-movingrow-receiving")})))},W.prototype.disconnectFromTables=function(){var e;this.connectionSelectorsTables&&(e=this.table.modules.comms.getConnections(this.connectionSelectorsTables),this.table.options.movableRowsSendingStop.call(this.table,e),this.table.modules.comms.send(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach((function(e){e.classList.remove("tabulator-movingrow-receiving"),e.removeEventListener("mouseup",e.tabulatorElementDropEvent),delete e.tabulatorElementDropEvent}))},W.prototype.connect=function(e,t){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=t,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach((function(e){"row"===e.type&&e.modules.moveRow&&e.modules.moveRow.mouseup&&e.getElement().addEventListener("mouseup",e.modules.moveRow.mouseup)})),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.table.options.movableRowsReceivingStart.call(this.table,t,e),!0)},W.prototype.disconnect=function(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach((function(e){"row"===e.type&&e.modules.moveRow&&e.modules.moveRow.mouseup&&e.getElement().removeEventListener("mouseup",e.modules.moveRow.mouseup)})),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.table.options.movableRowsReceivingStop.call(this.table,e)):console.warn("Move Row Error - trying to disconnect from non connected table")},W.prototype.dropComplete=function(e,t,o){var n=!1;if(o){switch(r(this.table.options.movableRowsSender)){case"string":n=this.senders[this.table.options.movableRowsSender];break;case"function":n=this.table.options.movableRowsSender}n?n.call(this,this.moving.getComponent(),t?t.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.table.options.movableRowsSent.call(this.table,this.moving.getComponent(),t?t.getComponent():void 0,e)}else this.table.options.movableRowsSentFailed.call(this.table,this.moving.getComponent(),t?t.getComponent():void 0,e);this.endMove()},W.prototype.tableRowDrop=function(e,t){var o=!1,n=!1;switch(console.trace("drop"),e.stopImmediatePropagation(),r(this.table.options.movableRowsReceiver)){case"string":o=this.receivers[this.table.options.movableRowsReceiver];break;case"function":o=this.table.options.movableRowsReceiver}o?n=o.call(this,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),n?this.table.options.movableRowsReceived.call(this.table,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable):this.table.options.movableRowsReceivedFailed.call(this.table,this.connectedRow.getComponent(),t?t.getComponent():void 0,this.connectedTable),this.table.modules.comms.send(this.connectedTable,"moveRow","dropcomplete",{row:t,success:n})},W.prototype.receivers={insert:function(e,t,o){return this.table.addRow(e.getData(),void 0,t),!0},add:function(e,t,o){return this.table.addRow(e.getData()),!0},update:function(e,t,o){return!!t&&(t.update(e.getData()),!0)},replace:function(e,t,o){return!!t&&(this.table.addRow(e.getData(),void 0,t),t.delete(),!0)}},W.prototype.senders={delete:function(e,t,o){e.delete()}},W.prototype.commsReceived=function(e,t,o){switch(t){case"connect":return this.connect(e,o.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,o.row,o.success)}},g.prototype.registerModule("moveRow",W);var V=function(e){this.table=e,this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0};V.prototype.initializeColumn=function(e){var t=this,o=!1,n={};this.allowedTypes.forEach((function(r){var i,a="mutator"+(r.charAt(0).toUpperCase()+r.slice(1));e.definition[a]&&(i=t.lookupMutator(e.definition[a]))&&(o=!0,n[a]={mutator:i,params:e.definition[a+"Params"]||{}})})),o&&(e.modules.mutate=n)},V.prototype.lookupMutator=function(e){var t=!1;switch(void 0===e?"undefined":r(e)){case"string":this.mutators[e]?t=this.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":t=e}return t},V.prototype.transformRow=function(e,t,o){var n,r="mutator"+(t.charAt(0).toUpperCase()+t.slice(1));return this.enabled&&this.table.columnManager.traverse((function(i){var a,l,s;i.modules.mutate&&(a=i.modules.mutate[r]||i.modules.mutate.mutator||!1)&&(n=i.getFieldValue(void 0!==o?o:e),"data"!=t&&void 0===n||(s=i.getComponent(),l="function"==typeof a.params?a.params(n,e,t,s):a.params,i.setFieldValue(e,a.mutator(n,e,t,l,s))))})),e},V.prototype.transformCell=function(e,t){var o=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,n={};return o?(n=Object.assign(n,e.row.getData()),e.column.setFieldValue(n,t),o.mutator(t,n,"edit",o.params,e.getComponent())):t},V.prototype.enable=function(){this.enabled=!0},V.prototype.disable=function(){this.enabled=!1},V.prototype.mutators={},g.prototype.registerModule("mutator",V);var G=function(e){this.table=e,this.mode="local",this.progressiveLoad=!1,this.size=0,this.page=1,this.count=5,this.max=1,this.displayIndex=0,this.initialLoad=!0,this.pageSizes=[],this.dataReceivedNames={},this.dataSentNames={},this.createElements()};G.prototype.createElements=function(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),(e=document.createElement("button")).classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))},G.prototype.generatePageSizeSelectList=function(){var e=this,t=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))t=this.table.options.paginationSizeSelector,this.pageSizes=t,-1==this.pageSizes.indexOf(this.size)&&t.unshift(this.size);else if(-1==this.pageSizes.indexOf(this.size)){t=[];for(var o=1;o<5;o++)t.push(this.size*o);this.pageSizes=t}else t=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);t.forEach((function(t){var o=document.createElement("option");o.value=t,!0===t?e.table.modules.localize.bind("pagination|all",(function(e){o.innerHTML=e})):o.innerHTML=t,e.pageSizeSelect.appendChild(o)})),this.pageSizeSelect.value=this.size}},G.prototype.initialize=function(e){var t,o,n,r=this;this.dataSentNames=Object.assign({},this.paginationDataSentNames),this.dataSentNames=Object.assign(this.dataSentNames,this.table.options.paginationDataSent),this.dataReceivedNames=Object.assign({},this.paginationDataReceivedNames),this.dataReceivedNames=Object.assign(this.dataReceivedNames,this.table.options.paginationDataReceived),r.table.modules.localize.bind("pagination|first",(function(e){r.firstBut.innerHTML=e})),r.table.modules.localize.bind("pagination|first_title",(function(e){r.firstBut.setAttribute("aria-label",e),r.firstBut.setAttribute("title",e)})),r.table.modules.localize.bind("pagination|prev",(function(e){r.prevBut.innerHTML=e})),r.table.modules.localize.bind("pagination|prev_title",(function(e){r.prevBut.setAttribute("aria-label",e),r.prevBut.setAttribute("title",e)})),r.table.modules.localize.bind("pagination|next",(function(e){r.nextBut.innerHTML=e})),r.table.modules.localize.bind("pagination|next_title",(function(e){r.nextBut.setAttribute("aria-label",e),r.nextBut.setAttribute("title",e)})),r.table.modules.localize.bind("pagination|last",(function(e){r.lastBut.innerHTML=e})),r.table.modules.localize.bind("pagination|last_title",(function(e){r.lastBut.setAttribute("aria-label",e),r.lastBut.setAttribute("title",e)})),r.firstBut.addEventListener("click",(function(){r.setPage(1).then((function(){})).catch((function(){}))})),r.prevBut.addEventListener("click",(function(){r.previousPage().then((function(){})).catch((function(){}))})),r.nextBut.addEventListener("click",(function(){r.nextPage().then((function(){})).catch((function(){}))})),r.lastBut.addEventListener("click",(function(){r.setPage(r.max).then((function(){})).catch((function(){}))})),r.table.options.paginationElement&&(r.element=r.table.options.paginationElement),this.pageSizeSelect&&(t=document.createElement("label"),r.table.modules.localize.bind("pagination|page_size",(function(e){r.pageSizeSelect.setAttribute("aria-label",e),r.pageSizeSelect.setAttribute("title",e),t.innerHTML=e})),r.element.appendChild(t),r.element.appendChild(r.pageSizeSelect),r.pageSizeSelect.addEventListener("change",(function(e){r.setPageSize("true"==r.pageSizeSelect.value||r.pageSizeSelect.value),r.setPage(1).then((function(){})).catch((function(){}))}))),r.element.appendChild(r.firstBut),r.element.appendChild(r.prevBut),r.element.appendChild(r.pagesElement),r.element.appendChild(r.nextBut),r.element.appendChild(r.lastBut),r.table.options.paginationElement||e||r.table.footerManager.append(r.element,r),r.mode=r.table.options.pagination,r.table.options.paginationSize?r.size=r.table.options.paginationSize:((o=document.createElement("div")).classList.add("tabulator-row"),o.style.visibility=e,(n=document.createElement("div")).classList.add("tabulator-cell"),n.innerHTML="Page Row Test",o.appendChild(n),r.table.rowManager.getTableElement().appendChild(o),r.size=Math.floor(r.table.rowManager.getElement().clientHeight/o.offsetHeight),r.table.rowManager.getTableElement().removeChild(o)),r.count=r.table.options.paginationButtonCount,r.generatePageSizeSelectList()},G.prototype.initializeProgressive=function(e){this.initialize(!0),this.mode="progressive_"+e,this.progressiveLoad=!0},G.prototype.setDisplayIndex=function(e){this.displayIndex=e},G.prototype.getDisplayIndex=function(){return this.displayIndex},G.prototype.setMaxRows=function(e){this.max=e?!0===this.size?1:Math.ceil(e/this.size):1,this.page>this.max&&(this.page=this.max)},G.prototype.reset=function(e,t){return("local"==this.mode||e)&&(this.page=1),t&&(this.initialLoad=!0),!0},G.prototype.setMaxPage=function(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())},G.prototype.setPage=function(e){var t=this,o=this;switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return new Promise((function(n,r){(e=parseInt(e))>0&&e<=t.max?(t.page=e,t.trigger().then((function(){n()})).catch((function(){r()})),o.table.options.persistence&&o.table.modExists("persistence",!0)&&o.table.modules.persistence.config.page&&o.table.modules.persistence.save("page")):(console.warn("Pagination Error - Requested page is out of range of 1 - "+t.max+":",e),r())}))},G.prototype.setPageToRow=function(e){var t=this;return new Promise((function(o,n){var r=t.table.rowManager.getDisplayRows(t.displayIndex-1).indexOf(e);if(r>-1){var i=!0===t.size?1:Math.ceil((r+1)/t.size);t.setPage(i).then((function(){o()})).catch((function(){n()}))}else console.warn("Pagination Error - Requested row is not visible"),n()}))},G.prototype.setPageSize=function(e){!0!==e&&(e=parseInt(e)),e>0&&(this.size=e),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.page&&this.table.modules.persistence.save("page")},G.prototype._setPageButtons=function(){for(var e=Math.floor((this.count-1)/2),t=Math.ceil((this.count-1)/2),o=this.max-this.page+e+1<this.count?this.max-this.count+1:Math.max(this.page-e,1),n=this.page<=t?Math.min(this.count,this.max):Math.min(this.page+t,this.max);this.pagesElement.firstChild;)this.pagesElement.removeChild(this.pagesElement.firstChild);1==this.page?(this.firstBut.disabled=!0,this.prevBut.disabled=!0):(this.firstBut.disabled=!1,this.prevBut.disabled=!1),this.page==this.max?(this.lastBut.disabled=!0,this.nextBut.disabled=!0):(this.lastBut.disabled=!1,this.nextBut.disabled=!1);for(var r=o;r<=n;r++)r>0&&r<=this.max&&this.pagesElement.appendChild(this._generatePageButton(r));this.footerRedraw()},G.prototype._generatePageButton=function(e){var t=this,o=document.createElement("button");return o.classList.add("tabulator-page"),e==t.page&&o.classList.add("active"),o.setAttribute("type","button"),o.setAttribute("role","button"),t.table.modules.localize.bind("pagination|page_title",(function(t){o.setAttribute("aria-label",t+" "+e),o.setAttribute("title",t+" "+e)})),o.setAttribute("data-page",e),o.textContent=e,o.addEventListener("click",(function(o){t.setPage(e).then((function(){})).catch((function(){}))})),o},G.prototype.previousPage=function(){var e=this;return new Promise((function(t,o){e.page>1?(e.page--,e.trigger().then((function(){t()})).catch((function(){o()})),e.table.options.persistence&&e.table.modExists("persistence",!0)&&e.table.modules.persistence.config.page&&e.table.modules.persistence.save("page")):(console.warn("Pagination Error - Previous page would be less than page 1:",0),o())}))},G.prototype.nextPage=function(){var e=this;return new Promise((function(t,o){e.page<e.max?(e.page++,e.trigger().then((function(){t()})).catch((function(){o()})),e.table.options.persistence&&e.table.modExists("persistence",!0)&&e.table.modules.persistence.config.page&&e.table.modules.persistence.save("page")):(e.progressiveLoad||console.warn("Pagination Error - Next page would be greater than maximum page of "+e.max+":",e.max+1),o())}))},G.prototype.getPage=function(){return this.page},G.prototype.getPageMax=function(){return this.max},G.prototype.getPageSize=function(e){return this.size},G.prototype.getMode=function(){return this.mode},G.prototype.getRows=function(e){var t,o,n;if("local"==this.mode){t=[],!0===this.size?(o=0,n=e.length):n=(o=this.size*(this.page-1))+parseInt(this.size),this._setPageButtons();for(var r=o;r<n;r++)e[r]&&t.push(e[r]);return t}return this._setPageButtons(),e.slice(0)},G.prototype.trigger=function(){var e,t=this;return new Promise((function(o,n){switch(t.mode){case"local":e=t.table.rowManager.scrollLeft,t.table.rowManager.refreshActiveData("page"),t.table.rowManager.scrollHorizontal(e),t.table.options.pageLoaded.call(t.table,t.getPage()),o();break;case"remote":case"progressive_load":case"progressive_scroll":t.table.modules.ajax.blockActiveRequest(),t._getRemotePage().then((function(){o()})).catch((function(){n()}));break;default:console.warn("Pagination Error - no such pagination mode:",t.mode),n()}}))},G.prototype._getRemotePage=function(){var e,t,o=this,n=this;return new Promise((function(r,i){if(n.table.modExists("ajax",!0)||i(),e=g.prototype.helpers.deepClone(n.table.modules.ajax.getParams()||{}),(t=n.table.modules.ajax.getParams())[o.dataSentNames.page]=n.page,o.size&&(t[o.dataSentNames.size]=o.size),o.table.options.ajaxSorting&&o.table.modExists("sort")){var a=n.table.modules.sort.getSort();a.forEach((function(e){delete e.column})),t[o.dataSentNames.sorters]=a}if(o.table.options.ajaxFiltering&&o.table.modExists("filter")){var l=n.table.modules.filter.getFilters(!0,!0);t[o.dataSentNames.filters]=l}n.table.modules.ajax.setParams(t),n.table.modules.ajax.sendRequest(o.progressiveLoad).then((function(e){n._parseRemoteData(e),r()})).catch((function(e){i()})),n.table.modules.ajax.setParams(e)}))},G.prototype._parseRemoteData=function(e){var t,o,n=this;if(void 0===e[this.dataReceivedNames.last_page]&&console.warn("Remote Pagination Error - Server response missing '"+this.dataReceivedNames.last_page+"' property"),e[this.dataReceivedNames.data]){if(this.max=parseInt(e[this.dataReceivedNames.last_page])||1,this.progressiveLoad)switch(this.mode){case"progressive_load":1==this.page?this.table.rowManager.setData(e[this.dataReceivedNames.data],!1,this.initialLoad&&1==this.page):this.table.rowManager.addRows(e[this.dataReceivedNames.data]),this.page<this.max&&setTimeout((function(){n.nextPage().then((function(){})).catch((function(){}))}),n.table.options.ajaxProgressiveLoadDelay);break;case"progressive_scroll":e=this.table.rowManager.getData().concat(e[this.dataReceivedNames.data]),this.table.rowManager.setData(e,!0,this.initialLoad&&1==this.page),o=this.table.options.ajaxProgressiveLoadScrollMargin||2*this.table.rowManager.element.clientHeight,n.table.rowManager.element.scrollHeight<=n.table.rowManager.element.clientHeight+o&&n.nextPage().then((function(){})).catch((function(){}))}else t=this.table.rowManager.scrollLeft,this.table.rowManager.setData(e[this.dataReceivedNames.data],!1,this.initialLoad&&1==this.page),this.table.rowManager.scrollHorizontal(t),this.table.columnManager.scrollHorizontal(t),this.table.options.pageLoaded.call(this.table,this.getPage());this.initialLoad=!1}else console.warn("Remote Pagination Error - Server response missing '"+this.dataReceivedNames.data+"' property")},G.prototype.footerRedraw=function(){var e=this.table.footerManager.element;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))},G.prototype.paginationDataSentNames={page:"page",size:"size",sorters:"sorters",filters:"filters"},G.prototype.paginationDataReceivedNames={current_page:"current_page",last_page:"last_page",data:"data"},g.prototype.registerModule("page",G);var q=function(e){this.table=e,this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1};q.prototype.localStorageTest=function(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}},q.prototype.initialize=function(){var e,t=this.table.options.persistenceMode,o=this.table.options.persistenceID;this.mode=!0!==t?t:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?"function"==typeof this.table.options.persistenceReaderFunc?this.readFunc=this.table.options.persistenceReaderFunc:this.readers[this.table.options.persistenceReaderFunc]?this.readFunc=this.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):this.readers[this.mode]?this.readFunc=this.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?"function"==typeof this.table.options.persistenceWriterFunc?this.writeFunc=this.table.options.persistenceWriterFunc:this.readers[this.table.options.persistenceWriterFunc]?this.writeFunc=this.readers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):this.writers[this.mode]?this.writeFunc=this.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(o||this.table.element.getAttribute("id")||""),this.config={sort:!0===this.table.options.persistence||this.table.options.persistence.sort,filter:!0===this.table.options.persistence||this.table.options.persistence.filter,group:!0===this.table.options.persistence||this.table.options.persistence.group,page:!0===this.table.options.persistence||this.table.options.persistence.page,columns:!0===this.table.options.persistence?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(e=this.retreiveData("page"))&&(void 0===e.paginationSize||!0!==this.config.page&&!this.config.page.size||(this.table.options.paginationSize=e.paginationSize),void 0===e.paginationInitialPage||!0!==this.config.page&&!this.config.page.page||(this.table.options.paginationInitialPage=e.paginationInitialPage)),this.config.group&&(e=this.retreiveData("group"))&&(void 0===e.groupBy||!0!==this.config.group&&!this.config.group.groupBy||(this.table.options.groupBy=e.groupBy),void 0===e.groupStartOpen||!0!==this.config.group&&!this.config.group.groupStartOpen||(this.table.options.groupStartOpen=e.groupStartOpen),void 0===e.groupHeader||!0!==this.config.group&&!this.config.group.groupHeader||(this.table.options.groupHeader=e.groupHeader))},q.prototype.initializeColumn=function(e){var t,o=this;this.config.columns&&(this.defWatcherBlock=!0,t=e.getDefinition(),(!0===this.config.columns?Object.keys(t):this.config.columns).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e),r=t[e];n&&Object.defineProperty(t,e,{set:function(e){r=e,o.defWatcherBlock||o.save("columns"),n.set&&n.set(e)},get:function(){return n.get&&n.get(),r}})})),this.defWatcherBlock=!1)},q.prototype.load=function(e,t){var o=this.retreiveData(e);return t&&(o=o?this.mergeDefinition(t,o):t),o},q.prototype.retreiveData=function(e){return!!this.readFunc&&this.readFunc(this.id,e)},q.prototype.mergeDefinition=function(e,t){var o=this,n=[];return(t=t||[]).forEach((function(t,r){var i,a=o._findColumn(e,t);a&&(!0===o.config.columns||null==o.config.columns?(i=Object.keys(a)).push("width"):i=o.config.columns,i.forEach((function(e){void 0!==t[e]&&(a[e]=t[e])})),a.columns&&(a.columns=o.mergeDefinition(a.columns,t.columns)),n.push(a))})),e.forEach((function(e,r){o._findColumn(t,e)||(n.length>r?n.splice(r,0,e):n.push(e))})),n},q.prototype._findColumn=function(e,t){var o=t.columns?"group":t.field?"field":"object";return e.find((function(e){switch(o){case"group":return e.title===t.title&&e.columns.length===t.columns.length;case"field":return e.field===t.field;case"object":return e===t}}))},q.prototype.save=function(e){var t={};switch(e){case"columns":t=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":t=this.table.modules.filter.getFilters();break;case"sort":t=this.validateSorters(this.table.modules.sort.getSort());break;case"group":t=this.getGroupConfig();break;case"page":t=this.getPageConfig()}this.writeFunc&&this.writeFunc(this.id,e,t)},q.prototype.validateSorters=function(e){return e.forEach((function(e){e.column=e.field,delete e.field})),e},q.prototype.getGroupConfig=function(){var e={};return this.config.group&&((!0===this.config.group||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(!0===this.config.group||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(!0===this.config.group||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e},q.prototype.getPageConfig=function(){var e={};return this.config.page&&((!0===this.config.page||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(!0===this.config.page||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e},q.prototype.parseColumns=function(e){var t=this,o=[],n=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach((function(e){var r,i={},a=e.getDefinition();e.isGroup?(i.title=a.title,i.columns=t.parseColumns(e.getColumns())):(i.field=e.getField(),!0===t.config.columns||null==t.config.columns?(r=Object.keys(a)).push("width"):r=t.config.columns,r.forEach((function(t){switch(t){case"width":i.width=e.getWidth();break;case"visible":i.visible=e.visible;break;default:"function"!=typeof a[t]&&-1===n.indexOf(t)&&(i[t]=a[t])}}))),o.push(i)})),o},q.prototype.readers={local:function(e,t){var o=localStorage.getItem(e+"-"+t);return!!o&&JSON.parse(o)},cookie:function(e,t){var o,n,r=document.cookie,i=e+"-"+t,a=r.indexOf(i+"=");return a>-1&&(r=r.substr(a),(o=r.indexOf(";"))>-1&&(r=r.substr(0,o)),n=r.replace(i+"=","")),!!n&&JSON.parse(n)}},q.prototype.writers={local:function(e,t,o){localStorage.setItem(e+"-"+t,JSON.stringify(o))},cookie:function(e,t,o){var n=new Date;n.setDate(n.getDate()+1e4),document.cookie=e+"-"+t+"="+JSON.stringify(o)+"; expires="+n.toUTCString()}},g.prototype.registerModule("persistence",q);var Y=function(e){this.table=e,this.element=!1,this.manualBlock=!1};Y.prototype.initialize=function(){window.addEventListener("beforeprint",this.replaceTable.bind(this)),window.addEventListener("afterprint",this.cleanup.bind(this))},Y.prototype.replaceTable=function(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.genereateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))},Y.prototype.cleanup=function(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")},Y.prototype.printFullscreen=function(e,t,o){var n,r,i=window.scrollX,a=window.scrollY,l=document.createElement("div"),s=document.createElement("div"),c=this.table.modules.export.genereateTable(void 0!==o?o:this.table.options.printConfig,void 0!==t?t:this.table.options.printStyled,e,"print");this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(l.classList.add("tabulator-print-header"),"string"==typeof(n="function"==typeof this.table.options.printHeader?this.table.options.printHeader.call(this.table):this.table.options.printHeader)?l.innerHTML=n:l.appendChild(n),this.element.appendChild(l)),this.element.appendChild(c),this.table.options.printFooter&&(s.classList.add("tabulator-print-footer"),"string"==typeof(r="function"==typeof this.table.options.printFooter?this.table.options.printFooter.call(this.table):this.table.options.printFooter)?s.innerHTML=r:s.appendChild(r),this.element.appendChild(s)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,c),window.print(),this.cleanup(),window.scrollTo(i,a),this.manualBlock=!1},g.prototype.registerModule("print",Y);var $=function(e){this.table=e,this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0};$.prototype.watchData=function(e){var t,o=this;this.currentVersion++,t=this.currentVersion,o.unwatchData(),o.data=e,o.origFuncs.push=e.push,Object.defineProperty(o.data,"push",{enumerable:!1,configurable:!0,value:function(){var n=Array.from(arguments);return o.blocked||t!==o.currentVersion||n.forEach((function(e){o.table.rowManager.addRowActual(e,!1)})),o.origFuncs.push.apply(e,arguments)}}),o.origFuncs.unshift=e.unshift,Object.defineProperty(o.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var n=Array.from(arguments);return o.blocked||t!==o.currentVersion||n.forEach((function(e){o.table.rowManager.addRowActual(e,!0)})),o.origFuncs.unshift.apply(e,arguments)}}),o.origFuncs.shift=e.shift,Object.defineProperty(o.data,"shift",{enumerable:!1,configurable:!0,value:function(){var n;return o.blocked||t!==o.currentVersion||o.data.length&&(n=o.table.rowManager.getRowFromDataObject(o.data[0]))&&n.deleteActual(),o.origFuncs.shift.call(e)}}),o.origFuncs.pop=e.pop,Object.defineProperty(o.data,"pop",{enumerable:!1,configurable:!0,value:function(){var n;return o.blocked||t!==o.currentVersion||o.data.length&&(n=o.table.rowManager.getRowFromDataObject(o.data[o.data.length-1]))&&n.deleteActual(),o.origFuncs.pop.call(e)}}),o.origFuncs.splice=e.splice,Object.defineProperty(o.data,"splice",{enumerable:!1,configurable:!0,value:function(){var n,r=Array.from(arguments),i=r[0]<0?e.length+r[0]:r[0],a=r[1],l=!!r[2]&&r.slice(2);if(!o.blocked&&t===o.currentVersion){if(l&&((n=!!e[i]&&o.table.rowManager.getRowFromDataObject(e[i]))?l.forEach((function(e){o.table.rowManager.addRowActual(e,!0,n,!0)})):(l=l.slice().reverse()).forEach((function(e){o.table.rowManager.addRowActual(e,!0,!1,!0)}))),0!==a){var s=e.slice(i,void 0===r[1]?r[1]:i+a);s.forEach((function(e,t){var n=o.table.rowManager.getRowFromDataObject(e);n&&n.deleteActual(t!==s.length-1)}))}(l||0!==a)&&o.table.rowManager.reRenderInPosition()}return o.origFuncs.splice.apply(e,arguments)}})},$.prototype.unwatchData=function(){if(!1!==this.data)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})},$.prototype.watchRow=function(e){var t=e.getData();for(var o in this.blocked=!0,t)this.watchKey(e,t,o);this.table.options.dataTree&&this.watchTreeChildren(e),this.blocked=!1},$.prototype.watchTreeChildren=function(e){var t=this,o=e.getData()[this.table.options.dataTreeChildField],n={};function r(){t.table.modules.dataTree.initializeRow(e),t.table.modules.dataTree.layoutRow(e),t.table.rowManager.refreshActiveData("tree",!1,!0)}o&&(n.push=o.push,Object.defineProperty(o,"push",{enumerable:!1,configurable:!0,value:function(){var e=n.push.apply(o,arguments);return r(),e}}),n.unshift=o.unshift,Object.defineProperty(o,"unshift",{enumerable:!1,configurable:!0,value:function(){var e=n.unshift.apply(o,arguments);return r(),e}}),n.shift=o.shift,Object.defineProperty(o,"shift",{enumerable:!1,configurable:!0,value:function(){var e=n.shift.call(o);return r(),e}}),n.pop=o.pop,Object.defineProperty(o,"pop",{enumerable:!1,configurable:!0,value:function(){var e=n.pop.call(o);return r(),e}}),n.splice=o.splice,Object.defineProperty(o,"splice",{enumerable:!1,configurable:!0,value:function(){var e=n.splice.apply(o,arguments);return r(),e}}))},$.prototype.watchKey=function(e,t,o){var n=this,r=Object.getOwnPropertyDescriptor(t,o),i=t[o],a=this.currentVersion;Object.defineProperty(t,o,{set:function(t){if(i=t,!n.blocked&&a===n.currentVersion){var l={};l[o]=t,e.updateData(l)}r.set&&r.set(t)},get:function(){return r.get&&r.get(),i}})},$.prototype.unwatchRow=function(e){var t=e.getData();for(var o in t)Object.defineProperty(t,o,{value:t[o]})},$.prototype.block=function(){this.blocked=!0},$.prototype.unblock=function(){this.blocked=!1},g.prototype.registerModule("reactiveData",$);var K=function(e){this.table=e,this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.handle=null,this.prevHandle=null};K.prototype.initializeColumn=function(e,t,o){var n=this,r=!1,i=this.table.options.resizableColumns;if("header"===e&&(r="textarea"==t.definition.formatter||t.definition.variableHeight,t.modules.resize={variableHeight:r}),!0===i||i==e){var a=document.createElement("div");a.className="tabulator-col-resize-handle";var l=document.createElement("div");l.className="tabulator-col-resize-handle prev",a.addEventListener("click",(function(e){e.stopPropagation()}));var s=function(e){var o=t.getLastColumn();o&&n._checkResizability(o)&&(n.startColumn=t,n._mouseDown(e,o,a))};a.addEventListener("mousedown",s),a.addEventListener("touchstart",s,{passive:!0}),a.addEventListener("dblclick",(function(e){var o=t.getLastColumn();o&&n._checkResizability(o)&&(e.stopPropagation(),o.reinitializeWidth(!0))})),l.addEventListener("click",(function(e){e.stopPropagation()}));var c=function(e){var o,r,i;(o=t.getFirstColumn())&&(i=(r=n.table.columnManager.findColumnIndex(o))>0&&n.table.columnManager.getColumnByIndex(r-1))&&n._checkResizability(i)&&(n.startColumn=t,n._mouseDown(e,i,l))};l.addEventListener("mousedown",c),l.addEventListener("touchstart",c,{passive:!0}),l.addEventListener("dblclick",(function(e){var o,r,i;(o=t.getFirstColumn())&&(i=(r=n.table.columnManager.findColumnIndex(o))>0&&n.table.columnManager.getColumnByIndex(r-1))&&n._checkResizability(i)&&(e.stopPropagation(),i.reinitializeWidth(!0))})),o.appendChild(a),o.appendChild(l)}},K.prototype._checkResizability=function(e){return void 0!==e.definition.resizable?e.definition.resizable:this.table.options.resizableColumns},K.prototype._mouseDown=function(e,t,o){var n=this;function r(e){n.table.rtl?t.setWidth(n.startWidth-((void 0===e.screenX?e.touches[0].screenX:e.screenX)-n.startX)):t.setWidth(n.startWidth+((void 0===e.screenX?e.touches[0].screenX:e.screenX)-n.startX)),n.table.options.virtualDomHoz&&n.table.vdomHoz.reinitialize(!0),!n.table.browserSlow&&t.modules.resize&&t.modules.resize.variableHeight&&t.checkCellHeights()}function i(e){n.startColumn.modules.edit&&(n.startColumn.modules.edit.blocked=!1),n.table.browserSlow&&t.modules.resize&&t.modules.resize.variableHeight&&t.checkCellHeights(),document.body.removeEventListener("mouseup",i),document.body.removeEventListener("mousemove",r),o.removeEventListener("touchmove",r),o.removeEventListener("touchend",i),n.table.element.classList.remove("tabulator-block-select"),n.table.options.persistence&&n.table.modExists("persistence",!0)&&n.table.modules.persistence.config.columns&&n.table.modules.persistence.save("columns"),n.table.options.columnResized.call(n.table,t.getComponent())}n.table.element.classList.add("tabulator-block-select"),e.stopPropagation(),n.startColumn.modules.edit&&(n.startColumn.modules.edit.blocked=!0),n.startX=void 0===e.screenX?e.touches[0].screenX:e.screenX,n.startWidth=t.getWidth(),document.body.addEventListener("mousemove",r),document.body.addEventListener("mouseup",i),o.addEventListener("touchmove",r,{passive:!0}),o.addEventListener("touchend",i)},g.prototype.registerModule("resizeColumns",K);var X=function(e){this.table=e,this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null};X.prototype.initializeRow=function(e){var t=this,o=e.getElement(),n=document.createElement("div");n.className="tabulator-row-resize-handle";var r=document.createElement("div");r.className="tabulator-row-resize-handle prev",n.addEventListener("click",(function(e){e.stopPropagation()}));var i=function(o){t.startRow=e,t._mouseDown(o,e,n)};n.addEventListener("mousedown",i),n.addEventListener("touchstart",i,{passive:!0}),r.addEventListener("click",(function(e){e.stopPropagation()}));var a=function(o){var n=t.table.rowManager.prevDisplayRow(e);n&&(t.startRow=n,t._mouseDown(o,n,r))};r.addEventListener("mousedown",a),r.addEventListener("touchstart",a,{passive:!0}),o.appendChild(n),o.appendChild(r)},X.prototype._mouseDown=function(e,t,o){var n=this;function r(e){t.setHeight(n.startHeight+((void 0===e.screenY?e.touches[0].screenY:e.screenY)-n.startY))}function i(e){document.body.removeEventListener("mouseup",r),document.body.removeEventListener("mousemove",r),o.removeEventListener("touchmove",r),o.removeEventListener("touchend",i),n.table.element.classList.remove("tabulator-block-select"),n.table.options.rowResized.call(this.table,t.getComponent())}n.table.element.classList.add("tabulator-block-select"),e.stopPropagation(),n.startY=void 0===e.screenY?e.touches[0].screenY:e.screenY,n.startHeight=t.getHeight(),document.body.addEventListener("mousemove",r),document.body.addEventListener("mouseup",i),o.addEventListener("touchmove",r,{passive:!0}),o.addEventListener("touchend",i)},g.prototype.registerModule("resizeRows",X);var Q=function(e){this.table=e,this.binding=!1,this.observer=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1};Q.prototype.initialize=function(e){var t,o=this,n=this.table;this.tableHeight=n.element.clientHeight,this.tableWidth=n.element.clientWidth,n.element.parentNode&&(this.containerHeight=n.element.parentNode.clientHeight,this.containerWidth=n.element.parentNode.clientWidth),"undefined"!=typeof ResizeObserver&&"virtual"===n.rowManager.getRenderMode()?(this.autoResize=!0,this.observer=new ResizeObserver((function(e){if(!n.browserMobile||n.browserMobile&&!n.modules.edit.currentCell){var t=Math.floor(e[0].contentRect.height),r=Math.floor(e[0].contentRect.width);o.tableHeight==t&&o.tableWidth==r||(o.tableHeight=t,o.tableWidth=r,n.element.parentNode&&(o.containerHeight=n.element.parentNode.clientHeight,o.containerWidth=n.element.parentNode.clientWidth),n.options.virtualDomHoz&&n.vdomHoz.reinitialize(!0),n.redraw())}})),this.observer.observe(n.element),t=window.getComputedStyle(n.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(t.getPropertyValue("max-height")||t.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver((function(e){if(!n.browserMobile||n.browserMobile&&!n.modules.edit.currentCell){var t=Math.floor(e[0].contentRect.height),r=Math.floor(e[0].contentRect.width);o.containerHeight==t&&o.containerWidth==r||(o.containerHeight=t,o.containerWidth=r,o.tableHeight=n.element.clientHeight,o.tableWidth=n.element.clientWidth),n.options.virtualDomHoz&&n.vdomHoz.reinitialize(!0),n.redraw()}})),this.containerObserver.observe(this.table.element.parentNode))):(this.binding=function(){(!n.browserMobile||n.browserMobile&&!n.modules.edit.currentCell)&&(n.options.virtualDomHoz&&n.vdomHoz.reinitialize(!0),n.redraw())},window.addEventListener("resize",this.binding))},Q.prototype.clearBindings=function(e){this.binding&&window.removeEventListener("resize",this.binding),this.observer&&this.observer.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)},g.prototype.registerModule("resizeTable",Q);var J=function(e){this.table=e,this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1};J.prototype.initialize=function(){var e=this,t=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((function(o,n){o.modules.responsive&&o.modules.responsive.order&&o.modules.responsive.visible&&(o.modules.responsive.index=n,t.push(o),o.visible||"collapse"!==e.mode||e.hiddenColumns.push(o))})),t=(t=t.reverse()).sort((function(e,t){return t.modules.responsive.order-e.modules.responsive.order||t.modules.responsive.index-e.modules.responsive.index})),this.columns=t,"collapse"===this.mode&&this.generateCollapsedContent();var o=this.table.columnManager.columnsByIndex,n=Array.isArray(o),r=0;for(o=n?o:o[Symbol.iterator]();;){var i;if(n){if(r>=o.length)break;i=o[r++]}else{if((r=o.next()).done)break;i=r.value}var a=i;if("responsiveCollapse"==a.definition.formatter){this.collapseHandleColumn=a;break}}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())},J.prototype.initializeColumn=function(e){var t=e.getDefinition();e.modules.responsive={order:void 0===t.responsive?1:t.responsive,visible:!1!==t.visible}},J.prototype.initializeRow=function(e){var t;"calc"!==e.type&&((t=document.createElement("div")).classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:t,open:this.collapseStartOpen},this.collapseStartOpen||(t.style.display="none"))},J.prototype.layoutRow=function(e){var t=e.getElement();e.modules.responsiveLayout&&(t.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))},J.prototype.updateColumnVisibility=function(e,t){e.modules.responsive&&(e.modules.responsive.visible=t,this.initialize())},J.prototype.hideColumn=function(e){var t=this.hiddenColumns.length;e.hide(!1,!0),"collapse"===this.mode&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!t&&this.collapseHandleColumn.show())},J.prototype.showColumn=function(e){var t;e.show(!1,!0),e.setWidth(e.getWidth()),"collapse"===this.mode&&((t=this.hiddenColumns.indexOf(e))>-1&&this.hiddenColumns.splice(t,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())},J.prototype.update=function(){for(var e=!0;e;){var t="fitColumns"==this.table.modules.layout.getMode()?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),o=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-t;if(o<0){var n=this.columns[this.index];n?(this.hideColumn(n),this.index++):e=!1}else{var r=this.columns[this.index-1];r&&o>0&&o>=r.getWidth()?(this.showColumn(r),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}},J.prototype.generateCollapsedContent=function(){var e=this;this.table.rowManager.getDisplayRows().forEach((function(t){e.generateCollapsedRowContent(t)}))},J.prototype.generateCollapsedRowContent=function(e){var t,o;if(e.modules.responsiveLayout){for(t=e.modules.responsiveLayout.element;t.firstChild;)t.removeChild(t.firstChild);(o=this.collapseFormatter(this.generateCollapsedRowData(e)))&&t.appendChild(o)}},J.prototype.generateCollapsedRowData=function(e){var t,o=this,n=e.getData(),r=[];return this.hiddenColumns.forEach((function(i){var a=i.getFieldValue(n);i.definition.title&&i.field&&(i.modules.format&&o.table.options.responsiveLayoutCollapseUseFormatters?(t={value:!1,data:{},getValue:function(){return a},getData:function(){return n},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return i.getComponent()}},r.push({title:i.definition.title,value:i.modules.format.formatter.call(o.table.modules.format,t,i.modules.format.params)})):r.push({title:i.definition.title,value:a}))})),r},J.prototype.formatCollapsedData=function(e){var t=document.createElement("table"),o="";return e.forEach((function(e){var t=document.createElement("div");e.value instanceof Node&&(t.appendChild(e.value),e.value=t.innerHTML),o+="<tr><td><strong>"+e.title+"</strong></td><td>"+e.value+"</td></tr>"})),t.innerHTML=o,Object.keys(e).length?t:""},g.prototype.registerModule("responsiveLayout",J);var Z=function(e){this.table=e,this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null};Z.prototype.clearSelectionData=function(e){this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],e||this._rowSelectionChanged()},Z.prototype.initializeRow=function(e){var t=this,o=e.getElement(),n=function e(){setTimeout((function(){t.selecting=!1}),50),document.body.removeEventListener("mouseup",e)};e.modules.select={selected:!1},t.table.options.selectableCheck.call(this.table,e.getComponent())?(o.classList.add("tabulator-selectable"),o.classList.remove("tabulator-unselectable"),t.table.options.selectable&&"highlight"!=t.table.options.selectable&&("click"===t.table.options.selectableRangeMode?o.addEventListener("click",(function(o){if(o.shiftKey){t.table._clearSelection(),t.lastClickedRow=t.lastClickedRow||e;var n=t.table.rowManager.getDisplayRowIndex(t.lastClickedRow),r=t.table.rowManager.getDisplayRowIndex(e),i=n<=r?n:r,a=n>=r?n:r,l=t.table.rowManager.getDisplayRows().slice(0).splice(i,a-i+1);o.ctrlKey||o.metaKey?(l.forEach((function(o){o!==t.lastClickedRow&&(!0===t.table.options.selectable||t.isRowSelected(e)||t.selectedRows.length<t.table.options.selectable)&&t.toggleRow(o)})),t.lastClickedRow=e):(t.deselectRows(void 0,!0),!0!==t.table.options.selectable&&l.length>t.table.options.selectable&&(l=l.slice(0,t.table.options.selectable)),t.selectRows(l)),t.table._clearSelection()}else o.ctrlKey||o.metaKey?(t.toggleRow(e),t.lastClickedRow=e):(t.deselectRows(void 0,!0),t.selectRows(e),t.lastClickedRow=e)})):(o.addEventListener("click",(function(o){t.table.modExists("edit")&&t.table.modules.edit.getCurrentCell()||t.table._clearSelection(),t.selecting||t.toggleRow(e)})),o.addEventListener("mousedown",(function(o){if(o.shiftKey)return t.table._clearSelection(),t.selecting=!0,t.selectPrev=[],document.body.addEventListener("mouseup",n),document.body.addEventListener("keyup",n),t.toggleRow(e),!1})),o.addEventListener("mouseenter",(function(o){t.selecting&&(t.table._clearSelection(),t.toggleRow(e),t.selectPrev[1]==e&&t.toggleRow(t.selectPrev[0]))})),o.addEventListener("mouseout",(function(o){t.selecting&&(t.table._clearSelection(),t.selectPrev.unshift(e))}))))):(o.classList.add("tabulator-unselectable"),o.classList.remove("tabulator-selectable"))},Z.prototype.toggleRow=function(e){this.table.options.selectableCheck.call(this.table,e.getComponent())&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))},Z.prototype.selectRows=function(e){var t,o=this;switch(void 0===e?"undefined":r(e)){case"undefined":this.table.rowManager.rows.forEach((function(e){o._selectRow(e,!0,!0)})),this._rowSelectionChanged();break;case"string":(t=this.table.rowManager.findRow(e))?this._selectRow(t,!0,!0):this.table.rowManager.getRows(e).forEach((function(e){o._selectRow(e,!0,!0)})),this._rowSelectionChanged();break;default:Array.isArray(e)?(e.forEach((function(e){o._selectRow(e,!0,!0)})),this._rowSelectionChanged()):this._selectRow(e,!1,!0)}},Z.prototype._selectRow=function(e,t,o){if(!isNaN(this.table.options.selectable)&&!0!==this.table.options.selectable&&!o&&this.selectedRows.length>=this.table.options.selectable){if(!this.table.options.selectableRollingSelection)return!1;this._deselectRow(this.selectedRows[0])}var n=this.table.rowManager.findRow(e);n?-1==this.selectedRows.indexOf(n)&&(n.modules.select||(n.modules.select={}),n.modules.select.selected=!0,n.modules.select.checkboxEl&&(n.modules.select.checkboxEl.checked=!0),n.getElement().classList.add("tabulator-selected"),this.selectedRows.push(n),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(n,!0),t||this.table.options.rowSelected.call(this.table,n.getComponent()),this._rowSelectionChanged(t)):t||console.warn("Selection Error - No such row found, ignoring selection:"+e)},Z.prototype.isRowSelected=function(e){return-1!==this.selectedRows.indexOf(e)},Z.prototype.deselectRows=function(e,t){var o,n=this;if(void 0===e){o=n.selectedRows.length;for(var r=0;r<o;r++)n._deselectRow(n.selectedRows[0],!0);n._rowSelectionChanged(t)}else Array.isArray(e)?(e.forEach((function(e){n._deselectRow(e,!0)})),n._rowSelectionChanged(t)):n._deselectRow(e,t)},Z.prototype._deselectRow=function(e,t){var o,n=this.table.rowManager.findRow(e);n?(o=this.selectedRows.findIndex((function(e){return e==n})))>-1&&(n.modules.select||(n.modules.select={}),n.modules.select.selected=!1,n.modules.select.checkboxEl&&(n.modules.select.checkboxEl.checked=!1),n.getElement().classList.remove("tabulator-selected"),this.selectedRows.splice(o,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(n,!1),t||this.table.options.rowDeselected.call(this.table,n.getComponent()),this._rowSelectionChanged(t)):t||console.warn("Deselection Error - No such row found, ignoring selection:"+e)},Z.prototype.getSelectedData=function(){var e=[];return this.selectedRows.forEach((function(t){e.push(t.getData())})),e},Z.prototype.getSelectedRows=function(){var e=[];return this.selectedRows.forEach((function(t){e.push(t.getComponent())})),e},Z.prototype._rowSelectionChanged=function(e){this.headerCheckboxElement&&(0===this.selectedRows.length?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||this.table.options.rowSelectionChanged.call(this.table,this.getSelectedData(),this.getSelectedRows())},Z.prototype.registerRowSelectCheckbox=function(e,t){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=t},Z.prototype.registerHeaderSelectCheckbox=function(e){this.headerCheckboxElement=e},Z.prototype.childRowSelection=function(e,t){var o=this.table.modules.dataTree.getChildren(e);if(t){var n=o,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(i>=n.length)break;a=n[i++]}else{if((i=n.next()).done)break;a=i.value}var l=a;this._selectRow(l,!0)}}else{var s=o,c=Array.isArray(s),u=0;for(s=c?s:s[Symbol.iterator]();;){var d;if(c){if(u>=s.length)break;d=s[u++]}else{if((u=s.next()).done)break;d=u.value}var p=d;this._deselectRow(p,!0)}}},g.prototype.registerModule("selectRow",Z);var ee=function(e){this.table=e,this.sortList=[],this.changed=!1};ee.prototype.initializeColumn=function(e,t){var o,n,i=this,a=!1;switch(r(e.definition.sorter)){case"string":i.sorters[e.definition.sorter]?a=i.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":a=e.definition.sorter}e.modules.sort={sorter:a,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:void 0!==e.definition.headerSortTristate?e.definition.headerSortTristate:this.table.options.headerSortTristate},(void 0===e.definition.headerSort?!1!==this.table.options.headerSort:!1!==e.definition.headerSort)&&((o=e.getElement()).classList.add("tabulator-sortable"),(n=document.createElement("div")).classList.add("tabulator-col-sorter"),"object"==r(this.table.options.headerSortElement)?n.appendChild(this.table.options.headerSortElement):n.innerHTML=this.table.options.headerSortElement,t.appendChild(n),e.modules.sort.element=n,o.addEventListener("click",(function(t){var o="",n=[],r=!1;if(e.modules.sort){if(e.modules.sort.tristate)o="none"==e.modules.sort.dir?e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?"asc"==e.modules.sort.dir?"desc":"asc":"none";else switch(e.modules.sort.dir){case"asc":o="desc";break;case"desc":o="asc";break;default:o=e.modules.sort.startingDir}i.table.options.columnHeaderSortMulti&&(t.shiftKey||t.ctrlKey)?((r=(n=i.getSort()).findIndex((function(t){return t.field===e.getField()})))>-1?(n[r].dir=o,r!=n.length-1&&(r=n.splice(r,1)[0],"none"!=o&&n.push(r))):"none"!=o&&n.push({column:e,dir:o}),i.setSort(n)):"none"==o?i.clear():i.setSort(e,o),i.table.rowManager.sorterRefresh(!i.sortList.length)}})))},ee.prototype.hasChanged=function(){var e=this.changed;return this.changed=!1,e},ee.prototype.getSort=function(){var e=[];return this.sortList.forEach((function(t){t.column&&e.push({column:t.column.getComponent(),field:t.column.getField(),dir:t.dir})})),e},ee.prototype.setSort=function(e,t){var o=this,n=[];Array.isArray(e)||(e=[{column:e,dir:t}]),e.forEach((function(e){var t;(t=o.table.columnManager.findColumn(e.column))?(e.column=t,n.push(e),o.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",e.column)})),o.sortList=n,this.table.options.persistence&&this.table.modExists("persistence",!0)&&this.table.modules.persistence.config.sort&&this.table.modules.persistence.save("sort")},ee.prototype.clear=function(){this.setSort([])},ee.prototype.findSorter=function(e){var t,o=this.table.rowManager.activeRows[0],n="string";if(o&&(o=o.getData(),e.getField()))switch(void 0===(t=e.getFieldValue(o))?"undefined":r(t)){case"undefined":n="string";break;case"boolean":n="boolean";break;default:isNaN(t)||""===t?t.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(n="alphanum"):n="number"}return this.sorters[n]},ee.prototype.sort=function(e){var t=this,o=this.table.options.sortOrderReverse?t.sortList.slice().reverse():t.sortList,n=[],r=[];t.table.options.dataSorting&&t.table.options.dataSorting.call(t.table,t.getSort()),t.clearColumnHeaders(),t.table.options.ajaxSorting?o.forEach((function(e,o){t.setColumnHeader(e.column,e.dir)})):(o.forEach((function(e,o){var r=e.column.modules.sort;e.column&&r&&(r.sorter||(r.sorter=t.findSorter(e.column)),e.params="function"==typeof r.params?r.params(e.column.getComponent(),e.dir):r.params,n.push(e)),t.setColumnHeader(e.column,e.dir)})),n.length&&t._sortItems(e,n)),t.table.options.dataSorted&&(e.forEach((function(e){r.push(e.getComponent())})),t.table.options.dataSorted.call(t.table,t.getSort(),r))},ee.prototype.clearColumnHeaders=function(){this.table.columnManager.getRealColumns().forEach((function(e){e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"))}))},ee.prototype.setColumnHeader=function(e,t){e.modules.sort.dir=t,e.getElement().setAttribute("aria-sort",t)},ee.prototype._sortItems=function(e,t){var o=this,n=t.length-1;e.sort((function(e,r){for(var i,a=n;a>=0;a--){var l=t[a];if(0!==(i=o._sortRow(e,r,l.column,l.dir,l.params)))break}return i}))},ee.prototype._sortRow=function(e,t,o,n,r){var i,a,l="asc"==n?e:t,s="asc"==n?t:e;return e=void 0!==(e=o.getFieldValue(l.getData()))?e:"",t=void 0!==(t=o.getFieldValue(s.getData()))?t:"",i=l.getComponent(),a=s.getComponent(),o.modules.sort.sorter.call(this,e,t,i,a,o.getComponent(),n,r)},ee.prototype.sorters={number:function(e,t,o,n,r,i,a){var l=a.alignEmptyValues,s=a.decimalSeparator||".",c=a.thousandSeparator||",",u=0;if(e=parseFloat(String(e).split(c).join("").split(s).join(".")),t=parseFloat(String(t).split(c).join("").split(s).join(".")),isNaN(e))u=isNaN(t)?0:-1;else{if(!isNaN(t))return e-t;u=1}return("top"===l&&"desc"===i||"bottom"===l&&"asc"===i)&&(u*=-1),u},string:function(e,t,o,n,i,a,l){var s,c=l.alignEmptyValues,u=0;if(e){if(t){switch(r(l.locale)){case"boolean":l.locale&&(s=this.table.modules.localize.getLocale());break;case"string":s=l.locale}return String(e).toLowerCase().localeCompare(String(t).toLowerCase(),s)}u=1}else u=t?-1:0;return("top"===c&&"desc"===a||"bottom"===c&&"asc"===a)&&(u*=-1),u},date:function(e,t,o,n,r,i,a){return a.format||(a.format="DD/MM/YYYY"),this.sorters.datetime.call(this,e,t,o,n,r,i,a)},time:function(e,t,o,n,r,i,a){return a.format||(a.format="HH:mm"),this.sorters.datetime.call(this,e,t,o,n,r,i,a)},datetime:function(e,t,o,n,r,i,a){var l=a.format||"DD/MM/YYYY HH:mm:ss",s=a.alignEmptyValues,c=0;if("undefined"!=typeof moment){if(e=moment(e,l),t=moment(t,l),e.isValid()){if(t.isValid())return e-t;c=1}else c=t.isValid()?-1:0;return("top"===s&&"desc"===i||"bottom"===s&&"asc"===i)&&(c*=-1),c}console.error("Sort Error - 'datetime' sorter is dependant on moment.js")},boolean:function(e,t,o,n,r,i,a){return(!0===e||"true"===e||"True"===e||1===e?1:0)-(!0===t||"true"===t||"True"===t||1===t?1:0)},array:function(e,t,o,n,r,i,a){var l=a.type||"length",s=a.alignEmptyValues,c=0;function u(e){switch(l){case"length":return e.length;case"sum":return e.reduce((function(e,t){return e+t}));case"max":return Math.max.apply(null,e);case"min":return Math.min.apply(null,e);case"avg":return e.reduce((function(e,t){return e+t}))/e.length}}if(Array.isArray(e)){if(Array.isArray(t))return(e?u(e):0)-(t?u(t):0);s=1}else s=Array.isArray(t)?-1:0;return("top"===s&&"desc"===i||"bottom"===s&&"asc"===i)&&(c*=-1),c},exists:function(e,t,o,n,r,i,a){return(void 0===e?0:1)-(void 0===t?0:1)},alphanum:function(e,t,o,n,r,i,a){var l,s,c,u,d,p=0,f=/(\d+)|(\D+)/g,m=/\d/,h=a.alignEmptyValues,g=0;if(e||0===e){if(t||0===t){if(isFinite(e)&&isFinite(t))return e-t;if((l=String(e).toLowerCase())===(s=String(t).toLowerCase()))return 0;if(!m.test(l)||!m.test(s))return l>s?1:-1;for(l=l.match(f),s=s.match(f),d=l.length>s.length?s.length:l.length;p<d;)if((c=l[p])!==(u=s[p++]))return isFinite(c)&&isFinite(u)?("0"===c.charAt(0)&&(c="."+c),"0"===u.charAt(0)&&(u="."+u),c-u):c>u?1:-1;return l.length>s.length}g=1}else g=t||0===t?-1:0;return("top"===h&&"desc"===i||"bottom"===h&&"asc"===i)&&(g*=-1),g}},g.prototype.registerModule("sort",ee);var te=function(e){this.table=e,this.invalidCells=[]};te.prototype.initializeColumn=function(e){var t,o=this,n=[];e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach((function(e){(t=o._extractValidator(e))&&n.push(t)})):(t=this._extractValidator(e.definition.validator))&&n.push(t),e.modules.validate=!!n.length&&n)},te.prototype._extractValidator=function(e){var t,o,n;switch(void 0===e?"undefined":r(e)){case"string":return(n=e.indexOf(":"))>-1?(t=e.substring(0,n),o=e.substring(n+1)):t=e,this._buildValidator(t,o);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}},te.prototype._buildValidator=function(e,t){var o="function"==typeof e?e:this.validators[e];return o?{type:"function"==typeof e?"function":e,func:o,params:t}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)},te.prototype.validate=function(e,t,o){var n=this,r=[],i=this.invalidCells.indexOf(t);return e&&e.forEach((function(e){e.func.call(n,t.getComponent(),o,e.params)||r.push({type:e.type,parameters:e.params})})),r=!r.length||r,t.modules.validate||(t.modules.validate={}),!0===r?(t.modules.validate.invalid=!1,t.getElement().classList.remove("tabulator-validation-fail"),i>-1&&this.invalidCells.splice(i,1)):(t.modules.validate.invalid=!0,"manual"!==this.table.options.validationMode&&t.getElement().classList.add("tabulator-validation-fail"),-1==i&&this.invalidCells.push(t)),r},te.prototype.getInvalidCells=function(){var e=[];return this.invalidCells.forEach((function(t){e.push(t.getComponent())})),e},te.prototype.clearValidation=function(e){var t;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,(t=this.invalidCells.indexOf(e))>-1&&this.invalidCells.splice(t,1))},te.prototype.validators={integer:function(e,t,o){return""===t||null==t||"number"==typeof(t=Number(t))&&isFinite(t)&&Math.floor(t)===t},float:function(e,t,o){return""===t||null==t||"number"==typeof(t=Number(t))&&isFinite(t)&&t%1!=0},numeric:function(e,t,o){return""===t||null==t||!isNaN(t)},string:function(e,t,o){return""===t||null==t||isNaN(t)},max:function(e,t,o){return""===t||null==t||parseFloat(t)<=o},min:function(e,t,o){return""===t||null==t||parseFloat(t)>=o},starts:function(e,t,o){return""===t||null==t||String(t).toLowerCase().startsWith(String(o).toLowerCase())},ends:function(e,t,o){return""===t||null==t||String(t).toLowerCase().endsWith(String(o).toLowerCase())},minLength:function(e,t,o){return""===t||null==t||String(t).length>=o},maxLength:function(e,t,o){return""===t||null==t||String(t).length<=o},in:function(e,t,o){return""===t||null==t||("string"==typeof o&&(o=o.split("|")),""===t||o.indexOf(t)>-1)},regex:function(e,t,o){return""===t||null==t||new RegExp(o).test(t)},unique:function(e,t,o){if(""===t||null==t)return!0;var n=!0,r=e.getData(),i=e.getColumn()._getSelf();return this.table.rowManager.rows.forEach((function(e){var o=e.getData();o!==r&&t==i.getFieldValue(o)&&(n=!1)})),n},required:function(e,t,o){return""!==t&&null!=t}},g.prototype.registerModule("validate",te),o.default=g},function(e,t,o){"use strict";o.r(t),o.d(t,"Popper",(function(){return M})),o.d(t,"placements",(function(){return D})),o.d(t,"Manager",(function(){return x})),o.d(t,"Reference",(function(){return O}));var n=o(67),r=o.n(n),i=o(17),a=o.n(i),l=o(7),s=o.n(l),c=o(19),u=o.n(c),d=o(8),p=o.n(d),f=o(68),m=o.n(f),h=o(0),g=o(42),b=o(43),v=o.n(b),y=v()(),w=v()(),x=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return t=e.call.apply(e,[this].concat(n))||this,p()(s()(t),"referenceNode",void 0),p()(s()(t),"setReferenceNode",(function(e){e&&t.referenceNode!==e&&(t.referenceNode=e,t.forceUpdate())})),t}u()(t,e);var o=t.prototype;return o.componentWillUnmount=function(){this.referenceNode=null},o.render=function(){return h.createElement(y.Provider,{value:this.referenceNode},h.createElement(w.Provider,{value:this.setReferenceNode},this.props.children))},t}(h.Component),E=function(e){return Array.isArray(e)?e[0]:e},C=function(e){if("function"==typeof e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];return e.apply(void 0,o)}},k=function(e,t){if("function"==typeof e)return C(e,t);null!=e&&(e.current=t)},S={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},R={},T=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return t=e.call.apply(e,[this].concat(n))||this,p()(s()(t),"state",{data:void 0,placement:void 0}),p()(s()(t),"popperInstance",void 0),p()(s()(t),"popperNode",null),p()(s()(t),"arrowNode",null),p()(s()(t),"setPopperNode",(function(e){e&&t.popperNode!==e&&(k(t.props.innerRef,e),t.popperNode=e,t.updatePopperInstance())})),p()(s()(t),"setArrowNode",(function(e){t.arrowNode=e})),p()(s()(t),"updateStateModifier",{enabled:!0,order:900,fn:function(e){var o=e.placement;return t.setState({data:e,placement:o}),e}}),p()(s()(t),"getOptions",(function(){return{placement:t.props.placement,eventsEnabled:t.props.eventsEnabled,positionFixed:t.props.positionFixed,modifiers:a()({},t.props.modifiers,{arrow:a()({},t.props.modifiers&&t.props.modifiers.arrow,{enabled:!!t.arrowNode,element:t.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:t.updateStateModifier})}})),p()(s()(t),"getPopperStyle",(function(){return t.popperNode&&t.state.data?a()({position:t.state.data.offsets.popper.position},t.state.data.styles):S})),p()(s()(t),"getPopperPlacement",(function(){return t.state.data?t.state.placement:void 0})),p()(s()(t),"getArrowStyle",(function(){return t.arrowNode&&t.state.data?t.state.data.arrowStyles:R})),p()(s()(t),"getOutOfBoundariesState",(function(){return t.state.data?t.state.data.hide:void 0})),p()(s()(t),"destroyPopperInstance",(function(){t.popperInstance&&(t.popperInstance.destroy(),t.popperInstance=null)})),p()(s()(t),"updatePopperInstance",(function(){t.destroyPopperInstance();var e=s()(t).popperNode,o=t.props.referenceElement;o&&e&&(t.popperInstance=new g.a(o,e,t.getOptions()))})),p()(s()(t),"scheduleUpdate",(function(){t.popperInstance&&t.popperInstance.scheduleUpdate()})),t}u()(t,e);var o=t.prototype;return o.componentDidUpdate=function(e,t){this.props.placement===e.placement&&this.props.referenceElement===e.referenceElement&&this.props.positionFixed===e.positionFixed&&m()(this.props.modifiers,e.modifiers,{strict:!0})?this.props.eventsEnabled!==e.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()):this.updatePopperInstance(),t.placement!==this.state.placement&&this.scheduleUpdate()},o.componentWillUnmount=function(){k(this.props.innerRef,null),this.destroyPopperInstance()},o.render=function(){return E(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})},t}(h.Component);p()(T,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1});var D=g.a.placements;function M(e){var t=e.referenceElement,o=r()(e,["referenceElement"]);return h.createElement(y.Consumer,null,(function(e){return h.createElement(T,a()({referenceElement:void 0!==t?t:e},o))}))}var A=o(9),P=o.n(A),_=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return t=e.call.apply(e,[this].concat(n))||this,p()(s()(t),"refHandler",(function(e){k(t.props.innerRef,e),C(t.props.setReferenceNode,e)})),t}u()(t,e);var o=t.prototype;return o.componentWillUnmount=function(){k(this.props.innerRef,null)},o.render=function(){return P()(Boolean(this.props.setReferenceNode),"`Reference` should not be used outside of a `Manager` component."),E(this.props.children)({ref:this.refHandler})},t}(h.Component);function O(e){return h.createElement(w.Consumer,null,(function(t){return h.createElement(_,a()({setReferenceNode:t},e))}))}},function(e,t,o){e.exports=o(85)},function(e,t){e.exports="SPA_Build/Images/Folder.png"},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t,o){return 2===arguments.length?c(e,t):c({consumers:e,mapToProps:t},o)};var n=i(o(0)),r=i(o(38));function i(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}var l=function(e){var t="string"==typeof e?e:e.name||e.displayName;return t?"ContextTransform("+t+")":"ContextTransform"},s=function(e){return e.Consumer||e};function c(e,t){var o=e.consumers,i=e.mapToProps,c=e.displayName,u=e.forwardRefAs,d=void 0===u?"ref":u,p=o;Array.isArray(o)||(p=[o]);var f=s(p[0]);var m=1===p.length?function(e,o){var r,l=a(((r={})[d]=o,r),e);return n.default.createElement(f,null,(function(o){return n.default.createElement(t,a({},l,i(o,e)))}))}:function(e,o){var r,l=a(((r={})[d]=o,r),e);return p.reduceRight((function(e,t){return function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var a=s(t);return n.default.createElement(a,null,(function(t){return e.apply(void 0,r.concat([t]))}))}}),(function(){for(var o=arguments.length,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];return n.default.createElement(t,a({},l,i.apply(void 0,r.concat([e]))))}))()};return(0,r.default)(m,{displayName:c||l(t)})}},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=f(o(96)),r=f(o(13)),i=f(o(0)),a=f(o(6)),l=f(o(4)),s=f(o(145)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,o):{};n.get||n.set?Object.defineProperty(t,o,n):t[o]=e[o]}return t.default=e,t}(o(62)),u=f(o(33)),d=f(o(39)),p=f(o(40));function f(e){return e&&e.__esModule?e:{default:e}}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}var h={children:l.default.func.isRequired,drop:l.default.oneOf(["up","left","right","down"]),focusFirstItemOnShow:l.default.oneOf([!1,!0,"keyboard"]),itemSelector:l.default.string.isRequired,alignEnd:l.default.bool,show:l.default.bool,onToggle:l.default.func},g=function(e){var t,o;function l(t,o){var n;return(n=e.call(this,t,o)||this).handleClick=function(e){n.toggleOpen(e)},n.handleKeyDown=function(e){var t=e.key,o=e.target;if(!/input|textarea/i.test(o.tagName)||!(" "===t||"Escape"!==t&&n.menu.contains(o)))switch(n._lastSourceEvent=e.type,t){case"ArrowUp":var r=n.getNextFocusedChild(o,-1);return r&&r.focus&&r.focus(),void e.preventDefault();case"ArrowDown":if(e.preventDefault(),n.props.show){var i=n.getNextFocusedChild(o,1);i&&i.focus&&i.focus()}else n.toggleOpen(e);return;case"Escape":case"Tab":n.props.onToggle(!1,e)}},n._focusInDropdown=!1,n.menu=null,n.state={context:{close:n.handleClose,toggle:n.handleClick,menuRef:function(e){n.menu=e},toggleRef:function(e){var t=e&&a.default.findDOMNode(e);n.setState((function(e){return{context:m({},e.context,{toggleNode:t})}}))}}},n}o=e,(t=l).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o,l.getDerivedStateFromProps=function(e,t){var o=e.drop,n=e.alignEnd,r=e.show;return{lastShow:t.context.show,context:m({},t.context,{drop:o,show:r,alignEnd:n})}};var s=l.prototype;return s.componentDidUpdate=function(e){var t=this.props.show,o=e.show;t&&!o&&this.maybeFocusFirst(),this._lastSourceEvent=null,!t&&o&&this._focusInDropdown&&(this._focusInDropdown=!1,this.focus())},s.getNextFocusedChild=function(e,t){if(!this.menu)return null;var o=this.props.itemSelector,n=(0,r.default)(this.menu,o),i=n.indexOf(e)+t;return n[i=Math.max(0,Math.min(i,n.length))]},s.hasMenuRole=function(){return this.menu&&(0,n.default)(this.menu,"[role=menu]")},s.focus=function(){var e=this.state.context.toggleNode;e&&e.focus&&e.focus()},s.maybeFocusFirst=function(){var e=this._lastSourceEvent,t=this.props.focusFirstItemOnShow;if(null==t&&(t=!!this.hasMenuRole()&&"keyboard"),!1!==t&&("keyboard"!==t||/^key.+$/.test(e))){var o=this.props.itemSelector,n=(0,r.default)(this.menu,o)[0];n&&n.focus&&n.focus()}},s.toggleOpen=function(e){var t=!this.props.show;this.props.onToggle(t,e)},s.render=function(){var e=this.props,t=e.children;return delete function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,["children"]).onToggle,this.menu&&this.state.lastShow&&!this.props.show&&(this._focusInDropdown=this.menu.contains(document.activeElement)),i.default.createElement(u.default.Provider,{value:this.state.context},i.default.createElement(c.Manager,null,t({props:{onKeyDown:this.handleKeyDown}})))},l}(i.default.Component);g.displayName="ReactOverlaysDropdown",g.propTypes=h,g.defaultProps={itemSelector:"* > *"};var b=(0,s.default)(g,{show:"onToggle"});b.Menu=d.default,b.Toggle=p.default;var v=b;t.default=v,e.exports=t.default},function(e,t){e.exports=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}},function(e,t,o){var n=o(47),r=o(98),i=o(99),a=o(106),l=o(107),s=o(111),c=Date.prototype.getTime;function u(e,t,o){var f=o||{};return!!(f.strict?i(e,t):e===t)||(!e||!t||"object"!=typeof e&&"object"!=typeof t?f.strict?i(e,t):e==t:function(e,t,o){var i,f;if(typeof e!=typeof t)return!1;if(d(e)||d(t))return!1;if(e.prototype!==t.prototype)return!1;if(r(e)!==r(t))return!1;var m=a(e),h=a(t);if(m!==h)return!1;if(m||h)return e.source===t.source&&l(e)===l(t);if(s(e)&&s(t))return c.call(e)===c.call(t);var g=p(e),b=p(t);if(g!==b)return!1;if(g||b){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!=typeof t)return!1;try{var v=n(e),y=n(t)}catch(e){return!1}if(v.length!==y.length)return!1;for(v.sort(),y.sort(),i=v.length-1;i>=0;i--)if(v[i]!=y[i])return!1;for(i=v.length-1;i>=0;i--)if(f=v[i],!u(e[f],t[f],o))return!1;return!0}(e,t,f))}function d(e){return null==e}function p(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}e.exports=u},function(e,t){e.exports="SPA_Build/Images/Scan.png"},function(e,t){e.exports="SPA_Build/Images/Update.png"},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=g(o(119)),r=g(o(34)),i=g(o(14)),a=g(o(35)),l=g(o(4)),s=g(o(36)),c=g(o(120)),u=g(o(0)),d=g(o(6)),p=g(o(41)),f=g(o(129)),m=g(o(57)),h=g(o(55));function g(e){return e&&e.__esModule?e:{default:e}}function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var y=new p.default;var w=function(e){var t,o;function l(){for(var t,o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];return(t=e.call.apply(e,[this].concat(i))||this).state={exited:!t.props.show},t.onPortalRendered=function(){t.props.onShow&&t.props.onShow(),t.autoFocus()},t.onShow=function(){var e=(0,h.default)(v(v(t))),o=(0,m.default)(t.props.container,e.body);t.props.manager.add(v(v(t)),o,t.props.containerClassName),t.removeKeydownListener=(0,a.default)(e,"keydown",t.handleDocumentKeyDown),t.removeFocusListener=(0,a.default)(e,"focus",(function(){return setTimeout(t.enforceFocus)}),!0)},t.onHide=function(){t.props.manager.remove(v(v(t))),t.removeKeydownListener(),t.removeFocusListener(),t.props.restoreFocus&&t.restoreLastFocus()},t.setDialogRef=function(e){t.dialog=e},t.setBackdropRef=function(e){t.backdrop=e&&d.default.findDOMNode(e)},t.handleHidden=function(){var e;(t.setState({exited:!0}),t.onHide(),t.props.onExited)&&(e=t.props).onExited.apply(e,arguments)},t.handleBackdropClick=function(e){e.target===e.currentTarget&&(t.props.onBackdropClick&&t.props.onBackdropClick(e),!0===t.props.backdrop&&t.props.onHide())},t.handleDocumentKeyDown=function(e){t.props.keyboard&&27===e.keyCode&&t.isTopModal()&&(t.props.onEscapeKeyDown&&t.props.onEscapeKeyDown(e),t.props.onHide())},t.enforceFocus=function(){if(t.props.enforceFocus&&t._isMounted&&t.isTopModal()){var e=(0,n.default)((0,h.default)(v(v(t))));t.dialog&&!(0,r.default)(t.dialog,e)&&t.dialog.focus()}},t.renderBackdrop=function(){var e=t.props,o=e.renderBackdrop,n=e.backdropTransition,r=o({ref:t.setBackdropRef,onClick:t.handleBackdropClick});return n&&(r=u.default.createElement(n,{appear:!0,in:t.props.show},r)),r},t}o=e,(t=l).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o,l.getDerivedStateFromProps=function(e){return e.show?{exited:!1}:e.transition?null:{exited:!0}};var s=l.prototype;return s.getSnapshotBeforeUpdate=function(e){return i.default&&!e.show&&this.props.show&&(this.lastFocus=(0,n.default)()),null},s.componentDidMount=function(){this._isMounted=!0,this.props.show&&this.onShow()},s.componentDidUpdate=function(e){var t=this.props.transition;!e.show||this.props.show||t?!e.show&&this.props.show&&this.onShow():this.onHide()},s.componentWillUnmount=function(){var e=this.props,t=e.show,o=e.transition;this._isMounted=!1,(t||o&&!this.state.exited)&&this.onHide()},s.autoFocus=function(){if(this.props.autoFocus){var e=(0,n.default)((0,h.default)(this));this.dialog&&!(0,r.default)(this.dialog,e)&&(this.lastFocus=e,this.dialog.focus())}},s.restoreLastFocus=function(){this.lastFocus&&this.lastFocus.focus&&(this.lastFocus.focus(),this.lastFocus=null)},s.isTopModal=function(){return this.props.manager.isTopModal(this)},s.render=function(){var e=this.props,t=e.show,o=e.container,n=e.children,r=e.renderDialog,i=e.role,a=void 0===i?"dialog":i,s=e.transition,c=e.backdrop,d=e.className,p=e.style,m=e.onExit,h=e.onExiting,g=e.onEnter,v=e.onEntering,y=e.onEntered,w=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,["show","container","children","renderDialog","role","transition","backdrop","className","style","onExit","onExiting","onEnter","onEntering","onEntered"]);if(!(t||s&&!this.state.exited))return null;var x=b({role:a,ref:this.setDialogRef,"aria-modal":"dialog"===a||void 0},function(e,t){var o=Object.keys(e),n={};return o.map((function(o){Object.prototype.hasOwnProperty.call(t,o)||(n[o]=e[o])})),n}(w,l.propTypes),{style:p,className:d,tabIndex:"-1"}),E=r?r(x):u.default.createElement("div",x,u.default.cloneElement(n,{role:"document"}));return s&&(E=u.default.createElement(s,{appear:!0,unmountOnExit:!0,in:t,onExit:m,onExiting:h,onExited:this.handleHidden,onEnter:g,onEntering:v,onEntered:y},E)),u.default.createElement(f.default,{container:o,onRendered:this.onPortalRendered},u.default.createElement(u.default.Fragment,null,c&&this.renderBackdrop(),E))},l}(u.default.Component);w.propTypes={show:l.default.bool,container:l.default.oneOfType([s.default,l.default.func]),onShow:l.default.func,onHide:l.default.func,backdrop:l.default.oneOfType([l.default.bool,l.default.oneOf(["static"])]),renderDialog:l.default.func,renderBackdrop:l.default.func,onEscapeKeyDown:l.default.func,onBackdropClick:l.default.func,containerClassName:l.default.string,keyboard:l.default.bool,transition:c.default,backdropTransition:c.default,autoFocus:l.default.bool,enforceFocus:l.default.bool,restoreFocus:l.default.bool,onEnter:l.default.func,onEntering:l.default.func,onEntered:l.default.func,onExit:l.default.func,onExiting:l.default.func,onExited:l.default.func,manager:l.default.object.isRequired},w.defaultProps={show:!1,role:"dialog",backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,onHide:function(){},manager:y,renderBackdrop:function(e){return u.default.createElement("div",e)}},w.Manager=p.default;var x=w;t.default=x,e.exports=t.default},function(e,t,o){var n=o(143);e.exports=f,e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var o,n=[],i=0,a=0,l="",u=t&&t.delimiter||"/";null!=(o=r.exec(e));){var d=o[0],p=o[1],f=o.index;if(l+=e.slice(a,f),a=f+d.length,p)l+=p[1];else{var m=e[a],h=o[2],g=o[3],b=o[4],v=o[5],y=o[6],w=o[7];l&&(n.push(l),l="");var x=null!=h&&null!=m&&m!==h,E="+"===y||"*"===y,C="?"===y||"*"===y,k=o[2]||u,S=b||v;n.push({name:g||i++,prefix:h||"",delimiter:k,optional:C,repeat:E,partial:x,asterisk:!!w,pattern:S?c(S):w?".*":"[^"+s(k)+"]+?"})}}return a<e.length&&(l+=e.substr(a)),l&&n.push(l),n}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var o=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(o[r]=new RegExp("^(?:"+e[r].pattern+")$",d(t)));return function(t,r){for(var i="",l=t||{},s=(r||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,p=l[u.name];if(null==p){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(n(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=s(p[f]),!o[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(p),!o[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,o){n(t)||(o=t||o,t=[]);for(var r=(o=o||{}).strict,i=!1!==o.end,a="",l=0;l<e.length;l++){var c=e[l];if("string"==typeof c)a+=s(c);else{var p=s(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+p+f+")*"),a+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=s(o.delimiter||"/"),h=a.slice(-m.length)===m;return r||(a=(h?a.slice(0,-m.length):a)+"(?:"+m+"(?=$))?"),a+=i?"$":r&&h?"":"(?="+m+"|$)",u(new RegExp("^"+a,d(o)),t)}function f(e,t,o){return n(t)||(o=t||o,t=[]),o=o||{},e instanceof RegExp?function(e,t){var o=e.source.match(/\((?!\?)/g);if(o)for(var n=0;n<o.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):n(e)?function(e,t,o){for(var n=[],r=0;r<e.length;r++)n.push(f(e[r],t,o).source);return u(new RegExp("(?:"+n.join("|")+")",d(o)),t)}(e,t,o):function(e,t,o){return p(i(e,o),t,o)}(e,t,o)}},function(e,t,o){var n=o(27),r=o(74);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var i={insert:"head",singleton:!1};n(r,i);e.exports=r.locals||{}},function(e,t,o){(t=o(28)(!1)).push([e.i,"/*!\n * Bootstrap v4.3.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex=\"-1\"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer::before{content:\"\\2014\\00A0\"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-break:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered{border:1px solid #dee2e6}.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover{background-color:#9fcdff}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover{background-color:#c8cbcf}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover{background-color:#b1dfbb}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover{background-color:#abdde5}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover{background-color:#ffe8a1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover{background-color:#f1b0b7}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover{background-color:#ececf6}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover{background-color:#b9bbbe}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control::-webkit-input-placeholder{color:#6c757d;opacity:1}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding-top:.375rem;padding-bottom:.375rem;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:center right calc(.375em + .1875rem);background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-control.is-valid~.valid-feedback,.form-control.is-valid~.valid-tooltip,.was-validated .form-control:valid~.valid-feedback,.was-validated .form-control:valid~.valid-tooltip{display:block}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc((1em + .75rem) * 3 / 4 + 1.75rem);background:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e\") no-repeat right .75rem center/8px 10px,url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-select.is-valid~.valid-feedback,.custom-select.is-valid~.valid-tooltip,.was-validated .custom-select:valid~.valid-feedback,.was-validated .custom-select:valid~.valid-tooltip{display:block}.form-control-file.is-valid~.valid-feedback,.form-control-file.is-valid~.valid-tooltip,.was-validated .form-control-file:valid~.valid-feedback,.was-validated .form-control-file:valid~.valid-tooltip{display:block}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#28a745}.custom-control-input.is-valid~.valid-feedback,.custom-control-input.is-valid~.valid-tooltip,.was-validated .custom-control-input:valid~.valid-feedback,.was-validated .custom-control-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid~.valid-feedback,.custom-file-input.is-valid~.valid-tooltip,.was-validated .custom-file-input:valid~.valid-feedback,.was-validated .custom-file-input:valid~.valid-tooltip{display:block}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E\");background-repeat:no-repeat;background-position:center right calc(.375em + .1875rem);background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-control.is-invalid~.invalid-feedback,.form-control.is-invalid~.invalid-tooltip,.was-validated .form-control:invalid~.invalid-feedback,.was-validated .form-control:invalid~.invalid-tooltip{display:block}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc((1em + .75rem) * 3 / 4 + 1.75rem);background:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e\") no-repeat right .75rem center/8px 10px,url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E\") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-select.is-invalid~.invalid-feedback,.custom-select.is-invalid~.invalid-tooltip,.was-validated .custom-select:invalid~.invalid-feedback,.was-validated .custom-select:invalid~.invalid-tooltip{display:block}.form-control-file.is-invalid~.invalid-feedback,.form-control-file.is-invalid~.invalid-tooltip,.was-validated .form-control-file:invalid~.invalid-feedback,.was-validated .form-control-file:invalid~.invalid-tooltip{display:block}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#dc3545}.custom-control-input.is-invalid~.invalid-feedback,.custom-control-input.is-invalid~.invalid-tooltip,.was-validated .custom-control-input:invalid~.invalid-feedback,.was-validated .custom-control-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid~.invalid-feedback,.custom-file-input.is-invalid~.invalid-tooltip,.was-validated .custom-file-input:invalid~.invalid-feedback,.was-validated .custom-file-input:invalid~.invalid-tooltip{display:block}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3;text-decoration:underline}.btn-link.focus,.btn-link:focus{text-decoration:underline;box-shadow:none}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\"}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#f8f9fa}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#6c757d;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn:hover,.btn-group>.btn:hover{z-index:1}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus{z-index:1}.btn-toolbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-append,.input-group-prepend{display:-ms-flexbox;display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;display:block;min-height:1.5rem;padding-left:1.5rem}.custom-control-inline{display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:\"\";background-color:#fff;border:#adb5bd solid 1px}.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:\"\";background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label::before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e\")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e\")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e\") no-repeat right .75rem center/8px 10px;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size=\"1\"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-file-input:disabled~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label::after{content:\"Browse\"}.custom-file-input~.custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:\"Browse\";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:calc(1rem + .4rem);padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.5rem}.custom-range::-ms-fill-lower{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px;background-color:#dee2e6;border-radius:1rem}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item{-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:.5rem 1rem}.navbar>.container,.navbar>.container-fluid{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:\"\";background:no-repeat center center;background-size:100% 100%}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url(\"data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.5);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url(\"data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}.navbar-dark .navbar-text{color:rgba(255,255,255,.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group:first-child .list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-body{-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-header+.list-group .list-group-item:first-child{border-top:0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img{width:100%;border-radius:calc(.25rem - 1px)}.card-img-top{width:100%;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img-bottom{width:100%;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{display:-ms-flexbox;display:flex;-ms-flex:1 0 0%;flex:1 0 0%;-ms-flex-direction:column;flex-direction:column;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion>.card{overflow:hidden}.accordion>.card:not(:first-of-type) .card-header:first-child{border-radius:0}.accordion>.card:not(:first-of-type):not(:last-of-type){border-bottom:0;border-radius:0}.accordion>.card:first-of-type{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:last-of-type{border-top-left-radius:0;border-top-right-radius:0}.accordion>.card .card-header{margin-bottom:-1px}.breadcrumb{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;color:#6c757d;content:\"/\"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:2;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:1;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@-webkit-keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.media-body{-ms-flex:1;flex:1}.list-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-horizontal{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}@media (min-width:576px){.list-group-horizontal-sm{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-sm .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:768px){.list-group-horizontal-md{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-md .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:992px){.list-group-horizontal-lg{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-lg .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}@media (min-width:1200px){.list-group-horizontal-xl{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-xl .list-group-item:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl .list-group-item:last-child{margin-right:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-bottom-left-radius:0}}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-flush .list-group-item:last-child{margin-bottom:-1px}.list-group-flush:first-child .list-group-item:first-child{border-top:0}.list-group-flush:last-child .list-group-item:last-child{margin-bottom:0;border-bottom:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}a.close.disabled{pointer-events:none}.toast{max-width:350px;overflow:hidden;font-size:.875rem;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal-dialog-scrollable{display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);content:\"\"}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:.3rem;border-top-right-radius:.3rem}.modal-header .close{padding:1rem 1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem}.modal-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:1rem;border-top:1px solid #dee2e6;border-bottom-right-radius:.3rem;border-bottom-left-radius:.3rem}.modal-footer>:not(:first-child){margin-left:.25rem}.modal-footer>:not(:last-child){margin-right:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:\"\";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow::before,.bs-tooltip-top .arrow::before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow::before,.bs-tooltip-bottom .arrow::before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow::after,.popover .arrow::before{position:absolute;display:block;content:\"\";border-color:transparent;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc((.5rem + 1px) * -1)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc((.5rem + 1px) * -1);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc((.5rem + 1px) * -1)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:\"\";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc((.5rem + 1px) * -1);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:\"\"}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){-webkit-transform:translateX(100%);transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:0s .6s opacity}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50%/100% 100%}.carousel-control-prev-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e\")}.carousel-control-next-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e\")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-right{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix::after{display:block;clear:both;content:\"\"}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive::before{display:block;content:\"\"}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.857143%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-sm-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-sm-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-md-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-md-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-lg-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-lg-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-xl-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-xl-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:\"\";background-color:rgba(0,0,0,0)}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;overflow-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:\" (\" attr(title) \")\"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px!important}.container{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}}",""]),e.exports=t},function(e,t,o){var n=o(27),r=o(76);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var i={insert:"head",singleton:!1};n(r,i);e.exports=r.locals||{}},function(e,t,o){(t=o(28)(!1)).push([e.i,".toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#FFF}.toast-message a:hover{color:#CCC;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#FFF;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80);line-height:1}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}.rtl .toast-close-button{left:-.3em;float:left;right:.3em}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#FFF;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80)}#toast-container>div.rtl{direction:rtl;padding:15px 50px 15px 15px;background-position:right 15px center}#toast-container>div:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);filter:alpha(opacity=100);cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51A351}.toast-error{background-color:#BD362F}.toast-info{background-color:#2F96B4}.toast-warning{background-color:#F89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}#toast-container>div.rtl{padding:15px 50px 15px 15px}}",""]),e.exports=t},function(e,t,o){var n=o(27),r=o(78);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var i={insert:"head",singleton:!1};n(r,i);e.exports=r.locals||{}},function(e,t,o){(t=o(28)(!1)).push([e.i,'/* Tabulator v4.8.2 (c) Oliver Folkerd */\n.tabulator{position:relative;border:1px solid #999;background-color:#888;font-size:14px;text-align:left;overflow:hidden;transform:translatez(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableHolder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;-ms-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #999;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-col{display:inline-block;position:relative;box-sizing:border-box;border-right:1px solid #aaa;background:#e6e6e6;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #999;background:#cdcdcd;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:-ms-flexbox;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover{cursor:pointer;background-color:#cdcdcd}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{-ms-writing-mode:tb-rl;writing-mode:vertical-rl;text-orientation:mixed;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-arrow{right:calc(50% - 6px)}.tabulator .tabulator-header .tabulator-frozen{display:inline-block;position:absolute;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;min-width:600%;background:#f3f3f3!important;border-top:1px solid #aaa;border-bottom:1px solid #aaa;overflow:hidden}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{min-width:600%}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableHolder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableHolder:focus{outline:none}.tabulator .tabulator-tableHolder .tabulator-placeholder{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%}.tabulator .tabulator-tableHolder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableHolder .tabulator-placeholder span{display:inline-block;margin:0 auto;padding:10px;color:#ccc;font-weight:700;font-size:20px}.tabulator .tabulator-tableHolder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#e2e2e2!important}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #aaa}.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #aaa}.tabulator .tabulator-footer{padding:5px 10px;border-top:1px solid #999;background-color:#e6e6e6;text-align:right;color:#555;font-weight:700;white-space:nowrap;-ms-user-select:none;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:calc(100% + 20px);margin:-5px -10px 5px;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #aaa;border-top:1px solid #aaa;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer .tabulator-paginator{color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #aaa;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #aaa;border-radius:3px;background:hsla(0,0%,100%,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}.tabulator .tabulator-col-resize-handle{position:absolute;right:0;top:0;bottom:0;width:5px}.tabulator .tabulator-col-resize-handle.prev{left:0;right:auto}.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}.tabulator .tabulator-loader{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-loader .tabulator-loader-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading{border:4px solid #333;color:#000}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-error{border:4px solid #d00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:22px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#efefef}.tabulator-row.tabulator-selectable:hover{background-color:#bbb;cursor:pointer}.tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #aaa;border-bottom:1px solid #aaa;pointer-events:none;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}.tabulator-row .tabulator-frozen{display:inline-block;position:absolute;background-color:inherit;z-index:10}.tabulator-row .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator-row .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #aaa;border-bottom:1px solid #aaa}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #aaa;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator-row .tabulator-cell.tabulator-row-handle{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #aaa;border-bottom:2px solid #aaa}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open,.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #aaa;border-top:1px solid #999;padding:5px;padding-left:10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-menu{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #aaa;box-shadow:0 0 5px 0 rgba(0,0,0,.2);font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-menu .tabulator-menu-item{padding:5px 10px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#efefef}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #aaa}.tabulator-edit-select-list{position:absolute;display:inline-block;box-sizing:border-box;max-height:200px;background:#fff;border:1px solid #aaa;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-edit-select-list .tabulator-edit-select-list-item{padding:4px;color:#333}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid hsla(0,0%,100%,.5)}.tabulator-edit-select-list .tabulator-edit-select-list-item.focused{outline:1px solid #1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-notice{padding:4px;color:#333;text-align:center}.tabulator-edit-select-list .tabulator-edit-select-list-group{border-bottom:1px solid #aaa;padding:4px;padding-top:6px;color:#333;font-weight:700}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:0;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow{left:8px;right:auto}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:0;margin-left:5px;border-bottom-left-radius:0;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:0;margin-left:5px}.tabulator.tabulator-rtl .tabulator-col-resize-handle{position:absolute;left:0;right:auto}.tabulator.tabulator-rtl .tabulator-col-resize-handle.prev{right:0;left:auto}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #aaa;border-bottom:2px solid #aaa}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #aaa;border-top:1px solid #999;padding:5px;padding-left:10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}\n',""]),e.exports=t},function(e,t,o){var n=o(27),r=o(80);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var i={insert:"head",singleton:!1};n(r,i);e.exports=r.locals||{}},function(e,t,o){(t=o(28)(!1)).push([e.i,".RedButton {\r\n    color: orange;        \r\n    font-family: Verdana; \r\n    margin-top: 1rem;\r\n}\r\n",""]),e.exports=t},function(e,t,o){"use strict";
/** @license React v16.8.6
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=o(44),r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function v(e,t,o,n,r,i,a,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[o,n,r,i,a,l],c=0;(e=Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function y(e){for(var t=arguments.length-1,o="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)o+="&args[]="+encodeURIComponent(arguments[n+1]);v(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",o)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x={};function E(e,t,o){this.props=e,this.context=t,this.refs=x,this.updater=o||w}function C(){}function k(e,t,o){this.props=e,this.context=t,this.refs=x,this.updater=o||w}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=E.prototype;var S=k.prototype=new C;S.constructor=k,n(S,E.prototype),S.isPureReactComponent=!0;var R={current:null},T={current:null},D=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,o){var n=void 0,r={},a=null,l=null;if(null!=t)for(n in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)D.call(t,n)&&!M.hasOwnProperty(n)&&(r[n]=t[n]);var s=arguments.length-2;if(1===s)r.children=o;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];r.children=c}if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===r[n]&&(r[n]=s[n]);return{$$typeof:i,type:e,key:a,ref:l,props:r,_owner:T.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var _=/\/+/g,O=[];function L(e,t,o,n){if(O.length){var r=O.pop();return r.result=e,r.keyPrefix=t,r.func=o,r.context=n,r.count=0,r}return{result:e,keyPrefix:t,func:o,context:n,count:0}}function N(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>O.length&&O.push(e)}function z(e,t,o){return null==e?0:function e(t,o,n,r){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var s=!1;if(null===t)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case i:case a:s=!0}}if(s)return n(r,t,""===o?"."+j(t,0):o),1;if(s=0,o=""===o?".":o+":",Array.isArray(t))for(var c=0;c<t.length;c++){var u=o+j(l=t[c],c);s+=e(l,u,n,r)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=b&&t[b]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),c=0;!(l=t.next()).done;)s+=e(l=l.value,u=o+j(l,c++),n,r);else"object"===l&&y("31","[object Object]"===(n=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":n,"");return s}(e,"",t,o)}function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function I(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,o){var n=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?H(e,n,o,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(_,"$&/")+"/")+o)),n.push(e))}function H(e,t,o,n,r){var i="";null!=o&&(i=(""+o).replace(_,"$&/")+"/"),z(e,F,t=L(t,i,n,r)),N(t)}function B(){var e=R.current;return null===e&&y("321"),e}var U={Children:{map:function(e,t,o){if(null==e)return e;var n=[];return H(e,n,null,t,o),n},forEach:function(e,t,o){if(null==e)return e;z(e,I,t=L(null,null,t,o)),N(t)},count:function(e){return z(e,(function(){return null}),null)},toArray:function(e){var t=[];return H(e,t,null,(function(e){return e})),t},only:function(e){return P(e)||y("143"),e}},createRef:function(){return{current:null}},Component:E,PureComponent:k,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return B().useCallback(e,t)},useContext:function(e,t){return B().useContext(e,t)},useEffect:function(e,t){return B().useEffect(e,t)},useImperativeHandle:function(e,t,o){return B().useImperativeHandle(e,t,o)},useDebugValue:function(){},useLayoutEffect:function(e,t){return B().useLayoutEffect(e,t)},useMemo:function(e,t){return B().useMemo(e,t)},useReducer:function(e,t,o){return B().useReducer(e,t,o)},useRef:function(e){return B().useRef(e)},useState:function(e){return B().useState(e)},Fragment:l,StrictMode:s,Suspense:m,createElement:A,cloneElement:function(e,t,o){null==e&&y("267",e);var r=void 0,a=n({},e.props),l=e.key,s=e.ref,c=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,c=T.current),void 0!==t.key&&(l=""+t.key);var u=void 0;for(r in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)D.call(t,r)&&!M.hasOwnProperty(r)&&(a[r]=void 0===t[r]&&void 0!==u?u[r]:t[r])}if(1===(r=arguments.length-2))a.children=o;else if(1<r){u=Array(r);for(var d=0;d<r;d++)u[d]=arguments[d+2];a.children=u}return{$$typeof:i,type:e.type,key:l,ref:s,props:a,_owner:c}},createFactory:function(e){var t=A.bind(null,e);return t.type=e,t},isValidElement:P,version:"16.8.6",unstable_ConcurrentMode:p,unstable_Profiler:c,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:R,ReactCurrentOwner:T,assign:n}},W={default:U},V=W&&U||W;e.exports=V.default||V},function(e,t,o){"use strict";
/** @license React v16.8.6
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=o(0),r=o(44),i=o(83);function a(e,t,o,n,r,i,a,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[o,n,r,i,a,l],c=0;(e=Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function l(e){for(var t=arguments.length-1,o="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)o+="&args[]="+encodeURIComponent(arguments[n+1]);a(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",o)}function s(e,t,o,n,r,i,a,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(o,c)}catch(e){this.onError(e)}}n||l("227");var c=!1,u=null,d=!1,p=null,f={onError:function(e){c=!0,u=e}};function m(e,t,o,n,r,i,a,l,d){c=!1,u=null,s.apply(f,arguments)}var h=null,g={};function b(){if(h)for(var e in g){var t=g[e],o=h.indexOf(e);if(-1<o||l("96",e),!y[o])for(var n in t.extractEvents||l("97",e),y[o]=t,o=t.eventTypes){var r=void 0,i=o[n],a=t,s=n;w.hasOwnProperty(s)&&l("99",s),w[s]=i;var c=i.phasedRegistrationNames;if(c){for(r in c)c.hasOwnProperty(r)&&v(c[r],a,s);r=!0}else i.registrationName?(v(i.registrationName,a,s),r=!0):r=!1;r||l("98",n,e)}}}function v(e,t,o){x[e]&&l("100",e),x[e]=t,E[e]=t.eventTypes[o].dependencies}var y=[],w={},x={},E={},C=null,k=null,S=null;function R(e,t,o){var n=e.type||"unknown-event";e.currentTarget=S(o),function(e,t,o,n,r,i,a,s,f){if(m.apply(this,arguments),c){if(c){var h=u;c=!1,u=null}else l("198"),h=void 0;d||(d=!0,p=h)}}(n,t,void 0,e),e.currentTarget=null}function T(e,t){return null==t&&l("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function D(e,t,o){Array.isArray(e)?e.forEach(t,o):e&&t.call(o,e)}var M=null;function A(e){if(e){var t=e._dispatchListeners,o=e._dispatchInstances;if(Array.isArray(t))for(var n=0;n<t.length&&!e.isPropagationStopped();n++)R(e,t[n],o[n]);else t&&R(e,t,o);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var P={injectEventPluginOrder:function(e){h&&l("101"),h=Array.prototype.slice.call(e),b()},injectEventPluginsByName:function(e){var t,o=!1;for(t in e)if(e.hasOwnProperty(t)){var n=e[t];g.hasOwnProperty(t)&&g[t]===n||(g[t]&&l("102",t),g[t]=n,o=!0)}o&&b()}};function _(e,t){var o=e.stateNode;if(!o)return null;var n=C(o);if(!n)return null;o=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}return e?null:(o&&"function"!=typeof o&&l("231",t,typeof o),o)}function O(e){if(null!==e&&(M=T(M,e)),e=M,M=null,e&&(D(e,A),M&&l("95"),d))throw e=p,d=!1,p=null,e}var L=Math.random().toString(36).slice(2),N="__reactInternalInstance$"+L,z="__reactEventHandlers$"+L;function j(e){if(e[N])return e[N];for(;!e[N];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[N]).tag||6===e.tag?e:null}function I(e){return!(e=e[N])||5!==e.tag&&6!==e.tag?null:e}function F(e){if(5===e.tag||6===e.tag)return e.stateNode;l("33")}function H(e){return e[z]||null}function B(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function U(e,t,o){(t=_(e,o.dispatchConfig.phasedRegistrationNames[t]))&&(o._dispatchListeners=T(o._dispatchListeners,t),o._dispatchInstances=T(o._dispatchInstances,e))}function W(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,o=[];t;)o.push(t),t=B(t);for(t=o.length;0<t--;)U(o[t],"captured",e);for(t=0;t<o.length;t++)U(o[t],"bubbled",e)}}function V(e,t,o){e&&o&&o.dispatchConfig.registrationName&&(t=_(e,o.dispatchConfig.registrationName))&&(o._dispatchListeners=T(o._dispatchListeners,t),o._dispatchInstances=T(o._dispatchInstances,e))}function G(e){e&&e.dispatchConfig.registrationName&&V(e._targetInst,null,e)}function q(e){D(e,W)}var Y=!("undefined"==typeof window||!window.document||!window.document.createElement);function $(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var K={animationend:$("Animation","AnimationEnd"),animationiteration:$("Animation","AnimationIteration"),animationstart:$("Animation","AnimationStart"),transitionend:$("Transition","TransitionEnd")},X={},Q={};function J(e){if(X[e])return X[e];if(!K[e])return e;var t,o=K[e];for(t in o)if(o.hasOwnProperty(t)&&t in Q)return X[e]=o[t];return e}Y&&(Q=document.createElement("div").style,"AnimationEvent"in window||(delete K.animationend.animation,delete K.animationiteration.animation,delete K.animationstart.animation),"TransitionEvent"in window||delete K.transitionend.transition);var Z=J("animationend"),ee=J("animationiteration"),te=J("animationstart"),oe=J("transitionend"),ne="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=null,ie=null,ae=null;function le(){if(ae)return ae;var e,t,o=ie,n=o.length,r="value"in re?re.value:re.textContent,i=r.length;for(e=0;e<n&&o[e]===r[e];e++);var a=n-e;for(t=1;t<=a&&o[n-t]===r[i-t];t++);return ae=r.slice(e,1<t?1-t:void 0)}function se(){return!0}function ce(){return!1}function ue(e,t,o,n){for(var r in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=o,e=this.constructor.Interface)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(o):"target"===r?this.target=n:this[r]=o[r]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?se:ce,this.isPropagationStopped=ce,this}function de(e,t,o,n){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,o,n),r}return new this(e,t,o,n)}function pe(e){e instanceof this||l("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=de,e.release=pe}r(ue.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=se)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=se)},persist:function(){this.isPersistent=se},isPersistent:ce,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ce,this._dispatchInstances=this._dispatchListeners=null}}),ue.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ue.extend=function(e){function t(){}function o(){return n.apply(this,arguments)}var n=this;t.prototype=n.prototype;var i=new t;return r(i,o.prototype),o.prototype=i,o.prototype.constructor=o,o.Interface=r({},n.Interface,e),o.extend=n.extend,fe(o),o},fe(ue);var me=ue.extend({data:null}),he=ue.extend({data:null}),ge=[9,13,27,32],be=Y&&"CompositionEvent"in window,ve=null;Y&&"documentMode"in document&&(ve=document.documentMode);var ye=Y&&"TextEvent"in window&&!ve,we=Y&&(!be||ve&&8<ve&&11>=ve),xe=String.fromCharCode(32),Ee={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ce=!1;function ke(e,t){switch(e){case"keyup":return-1!==ge.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Re=!1;var Te={eventTypes:Ee,extractEvents:function(e,t,o,n){var r=void 0,i=void 0;if(be)e:{switch(e){case"compositionstart":r=Ee.compositionStart;break e;case"compositionend":r=Ee.compositionEnd;break e;case"compositionupdate":r=Ee.compositionUpdate;break e}r=void 0}else Re?ke(e,o)&&(r=Ee.compositionEnd):"keydown"===e&&229===o.keyCode&&(r=Ee.compositionStart);return r?(we&&"ko"!==o.locale&&(Re||r!==Ee.compositionStart?r===Ee.compositionEnd&&Re&&(i=le()):(ie="value"in(re=n)?re.value:re.textContent,Re=!0)),r=me.getPooled(r,t,o,n),i?r.data=i:null!==(i=Se(o))&&(r.data=i),q(r),i=r):i=null,(e=ye?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(Ce=!0,xe);case"textInput":return(e=t.data)===xe&&Ce?null:e;default:return null}}(e,o):function(e,t){if(Re)return"compositionend"===e||!be&&ke(e,t)?(e=le(),ae=ie=re=null,Re=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return we&&"ko"!==t.locale?null:t.data;default:return null}}(e,o))?((t=he.getPooled(Ee.beforeInput,t,o,n)).data=e,q(t)):t=null,null===i?t:null===t?i:[i,t]}},De=null,Me=null,Ae=null;function Pe(e){if(e=k(e)){"function"!=typeof De&&l("280");var t=C(e.stateNode);De(e.stateNode,e.type,t)}}function _e(e){Me?Ae?Ae.push(e):Ae=[e]:Me=e}function Oe(){if(Me){var e=Me,t=Ae;if(Ae=Me=null,Pe(e),t)for(e=0;e<t.length;e++)Pe(t[e])}}function Le(e,t){return e(t)}function Ne(e,t,o){return e(t,o)}function ze(){}var je=!1;function Ie(e,t){if(je)return e(t);je=!0;try{return Le(e,t)}finally{je=!1,(null!==Me||null!==Ae)&&(ze(),Oe())}}var Fe={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function He(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fe[e.type]:"textarea"===t}function Be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ue(e){if(!Y)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function We(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ve(e){e._valueTracker||(e._valueTracker=function(e){var t=We(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==o&&"function"==typeof o.get&&"function"==typeof o.set){var r=o.get,i=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ge(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),n="";return e&&(n=We(e)?e.checked?"true":"false":e.value),(e=n)!==o&&(t.setValue(e),!0)}var qe=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;qe.hasOwnProperty("ReactCurrentDispatcher")||(qe.ReactCurrentDispatcher={current:null});var Ye=/^(.*)[\\\/]/,$e="function"==typeof Symbol&&Symbol.for,Ke=$e?Symbol.for("react.element"):60103,Xe=$e?Symbol.for("react.portal"):60106,Qe=$e?Symbol.for("react.fragment"):60107,Je=$e?Symbol.for("react.strict_mode"):60108,Ze=$e?Symbol.for("react.profiler"):60114,et=$e?Symbol.for("react.provider"):60109,tt=$e?Symbol.for("react.context"):60110,ot=$e?Symbol.for("react.concurrent_mode"):60111,nt=$e?Symbol.for("react.forward_ref"):60112,rt=$e?Symbol.for("react.suspense"):60113,it=$e?Symbol.for("react.memo"):60115,at=$e?Symbol.for("react.lazy"):60116,lt="function"==typeof Symbol&&Symbol.iterator;function st(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=lt&&e[lt]||e["@@iterator"])?e:null}function ct(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ot:return"ConcurrentMode";case Qe:return"Fragment";case Xe:return"Portal";case Ze:return"Profiler";case Je:return"StrictMode";case rt:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case tt:return"Context.Consumer";case et:return"Context.Provider";case nt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case it:return ct(e.type);case at:if(e=1===e._status?e._result:null)return ct(e)}return null}function ut(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var o="";break e;default:var n=e._debugOwner,r=e._debugSource,i=ct(e.type);o=null,n&&(o=ct(n.type)),n=i,i="",r?i=" (at "+r.fileName.replace(Ye,"")+":"+r.lineNumber+")":o&&(i=" (created by "+o+")"),o="\n    in "+(n||"Unknown")+i}t+=o,e=e.return}while(e);return t}var dt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pt=Object.prototype.hasOwnProperty,ft={},mt={};function ht(e,t,o,n,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=r,this.mustUseProperty=o,this.propertyName=e,this.type=t}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){gt[e]=new ht(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];gt[t]=new ht(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){gt[e]=new ht(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){gt[e]=new ht(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){gt[e]=new ht(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){gt[e]=new ht(e,3,!0,e,null)})),["capture","download"].forEach((function(e){gt[e]=new ht(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){gt[e]=new ht(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){gt[e]=new ht(e,5,!1,e.toLowerCase(),null)}));var bt=/[\-:]([a-z])/g;function vt(e){return e[1].toUpperCase()}function yt(e,t,o,n){var r=gt.hasOwnProperty(t)?gt[t]:null;(null!==r?0===r.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,o,n){if(null==t||function(e,t,o,n){if(null!==o&&0===o.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==o?!o.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,o,n))return!0;if(n)return!1;if(null!==o)switch(o.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,o,r,n)&&(o=null),n||null===r?function(e){return!!pt.call(mt,e)||!pt.call(ft,e)&&(dt.test(e)?mt[e]=!0:(ft[e]=!0,!1))}(t)&&(null===o?e.removeAttribute(t):e.setAttribute(t,""+o)):r.mustUseProperty?e[r.propertyName]=null===o?3!==r.type&&"":o:(t=r.attributeName,n=r.attributeNamespace,null===o?e.removeAttribute(t):(o=3===(r=r.type)||4===r&&!0===o?"":""+o,n?e.setAttributeNS(n,t,o):e.setAttribute(t,o))))}function wt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function xt(e,t){var o=t.checked;return r({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=o?o:e._wrapperState.initialChecked})}function Et(e,t){var o=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;o=wt(null!=t.value?t.value:o),e._wrapperState={initialChecked:n,initialValue:o,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ct(e,t){null!=(t=t.checked)&&yt(e,"checked",t,!1)}function kt(e,t){Ct(e,t);var o=wt(t.value),n=t.type;if(null!=o)"number"===n?(0===o&&""===e.value||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?Rt(e,t.type,o):t.hasOwnProperty("defaultValue")&&Rt(e,t.type,wt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function St(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}""!==(o=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==o&&(e.name=o)}function Rt(e,t,o){"number"===t&&e.ownerDocument.activeElement===e||(null==o?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(bt,vt);gt[t]=new ht(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(bt,vt);gt[t]=new ht(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(bt,vt);gt[t]=new ht(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){gt[e]=new ht(e,1,!1,e.toLowerCase(),null)}));var Tt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Dt(e,t,o){return(e=ue.getPooled(Tt.change,e,t,o)).type="change",_e(o),q(e),e}var Mt=null,At=null;function Pt(e){O(e)}function _t(e){if(Ge(F(e)))return e}function Ot(e,t){if("change"===e)return t}var Lt=!1;function Nt(){Mt&&(Mt.detachEvent("onpropertychange",zt),At=Mt=null)}function zt(e){"value"===e.propertyName&&_t(At)&&Ie(Pt,e=Dt(At,e,Be(e)))}function jt(e,t,o){"focus"===e?(Nt(),At=o,(Mt=t).attachEvent("onpropertychange",zt)):"blur"===e&&Nt()}function It(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return _t(At)}function Ft(e,t){if("click"===e)return _t(t)}function Ht(e,t){if("input"===e||"change"===e)return _t(t)}Y&&(Lt=Ue("input")&&(!document.documentMode||9<document.documentMode));var Bt={eventTypes:Tt,_isInputEventSupported:Lt,extractEvents:function(e,t,o,n){var r=t?F(t):window,i=void 0,a=void 0,l=r.nodeName&&r.nodeName.toLowerCase();if("select"===l||"input"===l&&"file"===r.type?i=Ot:He(r)?Lt?i=Ht:(i=It,a=jt):(l=r.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(i=Ft),i&&(i=i(e,t)))return Dt(i,o,n);a&&a(e,r,t),"blur"===e&&(e=r._wrapperState)&&e.controlled&&"number"===r.type&&Rt(r,"number",r.value)}},Ut=ue.extend({view:null,detail:null}),Wt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Wt[e])&&!!t[e]}function Gt(){return Vt}var qt=0,Yt=0,$t=!1,Kt=!1,Xt=Ut.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Gt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=qt;return qt=e.screenX,$t?"mousemove"===e.type?e.screenX-t:0:($t=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Yt;return Yt=e.screenY,Kt?"mousemove"===e.type?e.screenY-t:0:(Kt=!0,0)}}),Qt=Xt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Jt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Zt={eventTypes:Jt,extractEvents:function(e,t,o,n){var r="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(r&&(o.relatedTarget||o.fromElement)||!i&&!r)return null;if(r=n.window===n?n:(r=n.ownerDocument)?r.defaultView||r.parentWindow:window,i?(i=t,t=(t=o.relatedTarget||o.toElement)?j(t):null):i=null,i===t)return null;var a=void 0,l=void 0,s=void 0,c=void 0;"mouseout"===e||"mouseover"===e?(a=Xt,l=Jt.mouseLeave,s=Jt.mouseEnter,c="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Qt,l=Jt.pointerLeave,s=Jt.pointerEnter,c="pointer");var u=null==i?r:F(i);if(r=null==t?r:F(t),(e=a.getPooled(l,i,o,n)).type=c+"leave",e.target=u,e.relatedTarget=r,(o=a.getPooled(s,t,o,n)).type=c+"enter",o.target=r,o.relatedTarget=u,n=t,i&&n)e:{for(r=n,c=0,a=t=i;a;a=B(a))c++;for(a=0,s=r;s;s=B(s))a++;for(;0<c-a;)t=B(t),c--;for(;0<a-c;)r=B(r),a--;for(;c--;){if(t===r||t===r.alternate)break e;t=B(t),r=B(r)}t=null}else t=null;for(r=t,t=[];i&&i!==r&&(null===(c=i.alternate)||c!==r);)t.push(i),i=B(i);for(i=[];n&&n!==r&&(null===(c=n.alternate)||c!==r);)i.push(n),n=B(n);for(n=0;n<t.length;n++)V(t[n],"bubbled",e);for(n=i.length;0<n--;)V(i[n],"captured",o);return[e,o]}};function eo(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var to=Object.prototype.hasOwnProperty;function oo(e,t){if(eo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var o=Object.keys(e),n=Object.keys(t);if(o.length!==n.length)return!1;for(n=0;n<o.length;n++)if(!to.call(t,o[n])||!eo(e[o[n]],t[o[n]]))return!1;return!0}function no(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function ro(e){2!==no(e)&&l("188")}function io(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=no(e))&&l("188"),1===t?null:e;for(var o=e,n=t;;){var r=o.return,i=r?r.alternate:null;if(!r||!i)break;if(r.child===i.child){for(var a=r.child;a;){if(a===o)return ro(r),e;if(a===n)return ro(r),t;a=a.sibling}l("188")}if(o.return!==n.return)o=r,n=i;else{a=!1;for(var s=r.child;s;){if(s===o){a=!0,o=r,n=i;break}if(s===n){a=!0,n=r,o=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===o){a=!0,o=i,n=r;break}if(s===n){a=!0,n=i,o=r;break}s=s.sibling}a||l("189")}}o.alternate!==n&&l("190")}return 3!==o.tag&&l("188"),o.stateNode.current===o?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var ao=ue.extend({animationName:null,elapsedTime:null,pseudoElement:null}),lo=ue.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),so=Ut.extend({relatedTarget:null});function co(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var uo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},po={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fo=Ut.extend({key:function(e){if(e.key){var t=uo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=co(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?po[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Gt,charCode:function(e){return"keypress"===e.type?co(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?co(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),mo=Xt.extend({dataTransfer:null}),ho=Ut.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Gt}),go=ue.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),bo=Xt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),vo=[["abort","abort"],[Z,"animationEnd"],[ee,"animationIteration"],[te,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[oe,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],yo={},wo={};function xo(e,t){var o=e[0],n="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[o],isInteractive:t},yo[e]=t,wo[o]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach((function(e){xo(e,!0)})),vo.forEach((function(e){xo(e,!1)}));var Eo={eventTypes:yo,isInteractiveTopLevelEventType:function(e){return void 0!==(e=wo[e])&&!0===e.isInteractive},extractEvents:function(e,t,o,n){var r=wo[e];if(!r)return null;switch(e){case"keypress":if(0===co(o))return null;case"keydown":case"keyup":e=fo;break;case"blur":case"focus":e=so;break;case"click":if(2===o.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Xt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=mo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ho;break;case Z:case ee:case te:e=ao;break;case oe:e=go;break;case"scroll":e=Ut;break;case"wheel":e=bo;break;case"copy":case"cut":case"paste":e=lo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Qt;break;default:e=ue}return q(t=e.getPooled(r,t,o,n)),t}},Co=Eo.isInteractiveTopLevelEventType,ko=[];function So(e){var t=e.targetInst,o=t;do{if(!o){e.ancestors.push(o);break}var n;for(n=o;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(o),o=j(n)}while(o);for(o=0;o<e.ancestors.length;o++){t=e.ancestors[o];var r=Be(e.nativeEvent);n=e.topLevelType;for(var i=e.nativeEvent,a=null,l=0;l<y.length;l++){var s=y[l];s&&(s=s.extractEvents(n,t,i,r))&&(a=T(a,s))}O(a)}}var Ro=!0;function To(e,t){if(!t)return null;var o=(Co(e)?Mo:Ao).bind(null,e);t.addEventListener(e,o,!1)}function Do(e,t){if(!t)return null;var o=(Co(e)?Mo:Ao).bind(null,e);t.addEventListener(e,o,!0)}function Mo(e,t){Ne(Ao,e,t)}function Ao(e,t){if(Ro){var o=Be(t);if(null===(o=j(o))||"number"!=typeof o.tag||2===no(o)||(o=null),ko.length){var n=ko.pop();n.topLevelType=e,n.nativeEvent=t,n.targetInst=o,e=n}else e={topLevelType:e,nativeEvent:t,targetInst:o,ancestors:[]};try{Ie(So,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ko.length&&ko.push(e)}}}var Po={},_o=0,Oo="_reactListenersID"+(""+Math.random()).slice(2);function Lo(e){return Object.prototype.hasOwnProperty.call(e,Oo)||(e[Oo]=_o++,Po[e[Oo]]={}),Po[e[Oo]]}function No(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function zo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jo(e,t){var o,n=zo(e);for(e=0;n;){if(3===n.nodeType){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zo(n)}}function Io(){for(var e=window,t=No();t instanceof e.HTMLIFrameElement;){try{var o="string"==typeof t.contentWindow.location.href}catch(e){o=!1}if(!o)break;t=No((e=t.contentWindow).document)}return t}function Fo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Ho(e){var t=Io(),o=e.focusedElem,n=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&function e(t,o){return!(!t||!o)&&(t===o||(!t||3!==t.nodeType)&&(o&&3===o.nodeType?e(t,o.parentNode):"contains"in t?t.contains(o):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(o))))}(o.ownerDocument.documentElement,o)){if(null!==n&&Fo(o))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if((e=(t=o.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=o.textContent.length,i=Math.min(n.start,r);n=void 0===n.end?i:Math.min(n.end,r),!e.extend&&i>n&&(r=n,n=i,i=r),r=jo(o,i);var a=jo(o,n);r&&a&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=o;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof o.focus&&o.focus(),o=0;o<t.length;o++)(e=t[o]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Bo=Y&&"documentMode"in document&&11>=document.documentMode,Uo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Wo=null,Vo=null,Go=null,qo=!1;function Yo(e,t){var o=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return qo||null==Wo||Wo!==No(o)?null:("selectionStart"in(o=Wo)&&Fo(o)?o={start:o.selectionStart,end:o.selectionEnd}:o={anchorNode:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset},Go&&oo(Go,o)?null:(Go=o,(e=ue.getPooled(Uo.select,Vo,e,t)).type="select",e.target=Wo,q(e),e))}var $o={eventTypes:Uo,extractEvents:function(e,t,o,n){var r,i=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;if(!(r=!i)){e:{i=Lo(i),r=E.onSelect;for(var a=0;a<r.length;a++){var l=r[a];if(!i.hasOwnProperty(l)||!i[l]){i=!1;break e}}i=!0}r=!i}if(r)return null;switch(i=t?F(t):window,e){case"focus":(He(i)||"true"===i.contentEditable)&&(Wo=i,Vo=t,Go=null);break;case"blur":Go=Vo=Wo=null;break;case"mousedown":qo=!0;break;case"contextmenu":case"mouseup":case"dragend":return qo=!1,Yo(o,n);case"selectionchange":if(Bo)break;case"keydown":case"keyup":return Yo(o,n)}return null}};function Ko(e,t){return e=r({children:void 0},t),(t=function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Xo(e,t,o,n){if(e=e.options,t){t={};for(var r=0;r<o.length;r++)t["$"+o[r]]=!0;for(o=0;o<e.length;o++)r=t.hasOwnProperty("$"+e[o].value),e[o].selected!==r&&(e[o].selected=r),r&&n&&(e[o].defaultSelected=!0)}else{for(o=""+wt(o),t=null,r=0;r<e.length;r++){if(e[r].value===o)return e[r].selected=!0,void(n&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Qo(e,t){return null!=t.dangerouslySetInnerHTML&&l("91"),r({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Jo(e,t){var o=t.value;null==o&&(o=t.defaultValue,null!=(t=t.children)&&(null!=o&&l("92"),Array.isArray(t)&&(1>=t.length||l("93"),t=t[0]),o=t),null==o&&(o="")),e._wrapperState={initialValue:wt(o)}}function Zo(e,t){var o=wt(t.value),n=wt(t.defaultValue);null!=o&&((o=""+o)!==e.value&&(e.value=o),null==t.defaultValue&&e.defaultValue!==o&&(e.defaultValue=o)),null!=n&&(e.defaultValue=""+n)}function en(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}P.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),C=H,k=I,S=F,P.injectEventPluginsByName({SimpleEventPlugin:Eo,EnterLeaveEventPlugin:Zt,ChangeEventPlugin:Bt,SelectEventPlugin:$o,BeforeInputEventPlugin:Te});var tn="http://www.w3.org/1999/xhtml",on="http://www.w3.org/2000/svg";function nn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function rn(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?nn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var an=void 0,ln=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,o,n,r){MSApp.execUnsafeLocalFunction((function(){return e(t,o)}))}:e}((function(e,t){if(e.namespaceURI!==on||"innerHTML"in e)e.innerHTML=t;else{for((an=an||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=an.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function sn(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&3===o.nodeType)return void(o.nodeValue=t)}e.textContent=t}var cn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},un=["Webkit","ms","Moz","O"];function dn(e,t,o){return null==t||"boolean"==typeof t||""===t?"":o||"number"!=typeof t||0===t||cn.hasOwnProperty(e)&&cn[e]?(""+t).trim():t+"px"}function pn(e,t){for(var o in e=e.style,t)if(t.hasOwnProperty(o)){var n=0===o.indexOf("--"),r=dn(o,t[o],n);"float"===o&&(o="cssFloat"),n?e.setProperty(o,r):e[o]=r}}Object.keys(cn).forEach((function(e){un.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),cn[t]=cn[e]}))}));var fn=r({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mn(e,t){t&&(fn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&l("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&l("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||l("61")),null!=t.style&&"object"!=typeof t.style&&l("62",""))}function hn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function gn(e,t){var o=Lo(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=E[t];for(var n=0;n<t.length;n++){var r=t[n];if(!o.hasOwnProperty(r)||!o[r]){switch(r){case"scroll":Do("scroll",e);break;case"focus":case"blur":Do("focus",e),Do("blur",e),o.blur=!0,o.focus=!0;break;case"cancel":case"close":Ue(r)&&Do(r,e);break;case"invalid":case"submit":case"reset":break;default:-1===ne.indexOf(r)&&To(r,e)}o[r]=!0}}}function bn(){}var vn=null,yn=null;function wn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function xn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var En="function"==typeof setTimeout?setTimeout:void 0,Cn="function"==typeof clearTimeout?clearTimeout:void 0,kn=i.unstable_scheduleCallback,Sn=i.unstable_cancelCallback;function Rn(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Tn(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var Dn=[],Mn=-1;function An(e){0>Mn||(e.current=Dn[Mn],Dn[Mn]=null,Mn--)}function Pn(e,t){Mn++,Dn[Mn]=e.current,e.current=t}var _n={},On={current:_n},Ln={current:!1},Nn=_n;function zn(e,t){var o=e.type.contextTypes;if(!o)return _n;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in o)i[r]=t[r];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function jn(e){return null!=(e=e.childContextTypes)}function In(e){An(Ln),An(On)}function Fn(e){An(Ln),An(On)}function Hn(e,t,o){On.current!==_n&&l("168"),Pn(On,t),Pn(Ln,o)}function Bn(e,t,o){var n=e.stateNode;if(e=t.childContextTypes,"function"!=typeof n.getChildContext)return o;for(var i in n=n.getChildContext())i in e||l("108",ct(t)||"Unknown",i);return r({},o,n)}function Un(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||_n,Nn=On.current,Pn(On,t),Pn(Ln,Ln.current),!0}function Wn(e,t,o){var n=e.stateNode;n||l("169"),o?(t=Bn(e,t,Nn),n.__reactInternalMemoizedMergedChildContext=t,An(Ln),An(On),Pn(On,t)):An(Ln),Pn(Ln,o)}var Vn=null,Gn=null;function qn(e){return function(t){try{return e(t)}catch(e){}}}function Yn(e,t,o,n){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function $n(e,t,o,n){return new Yn(e,t,o,n)}function Kn(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Xn(e,t){var o=e.alternate;return null===o?((o=$n(e.tag,t,e.key,e.mode)).elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.effectTag=0,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null),o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,o.contextDependencies=e.contextDependencies,o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Qn(e,t,o,n,r,i){var a=2;if(n=e,"function"==typeof e)Kn(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Qe:return Jn(o.children,r,i,t);case ot:return Zn(o,3|r,i,t);case Je:return Zn(o,2|r,i,t);case Ze:return(e=$n(12,o,t,4|r)).elementType=Ze,e.type=Ze,e.expirationTime=i,e;case rt:return(e=$n(13,o,t,r)).elementType=rt,e.type=rt,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case et:a=10;break e;case tt:a=9;break e;case nt:a=11;break e;case it:a=14;break e;case at:a=16,n=null;break e}l("130",null==e?e:typeof e,"")}return(t=$n(a,o,t,r)).elementType=e,t.type=n,t.expirationTime=i,t}function Jn(e,t,o,n){return(e=$n(7,e,n,t)).expirationTime=o,e}function Zn(e,t,o,n){return e=$n(8,e,n,t),t=0==(1&t)?Je:ot,e.elementType=t,e.type=t,e.expirationTime=o,e}function er(e,t,o){return(e=$n(6,e,null,t)).expirationTime=o,e}function tr(e,t,o){return(t=$n(4,null!==e.children?e.children:[],e.key,t)).expirationTime=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function or(e,t){e.didError=!1;var o=e.earliestPendingTime;0===o?e.earliestPendingTime=e.latestPendingTime=t:o<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),ir(t,e)}function nr(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var o=e.earliestPendingTime,n=e.latestPendingTime;o===t?e.earliestPendingTime=n===t?e.latestPendingTime=0:n:n===t&&(e.latestPendingTime=o),o=e.earliestSuspendedTime,n=e.latestSuspendedTime,0===o?e.earliestSuspendedTime=e.latestSuspendedTime=t:o<t?e.earliestSuspendedTime=t:n>t&&(e.latestSuspendedTime=t),ir(t,e)}function rr(e,t){var o=e.earliestPendingTime;return o>t&&(t=o),(e=e.earliestSuspendedTime)>t&&(t=e),t}function ir(e,t){var o=t.earliestSuspendedTime,n=t.latestSuspendedTime,r=t.earliestPendingTime,i=t.latestPingedTime;0===(r=0!==r?r:i)&&(0===e||n<e)&&(r=n),0!==(e=r)&&o>e&&(e=o),t.nextExpirationTimeToWorkOn=r,t.expirationTime=e}function ar(e,t){if(e&&e.defaultProps)for(var o in t=r({},t),e=e.defaultProps)void 0===t[o]&&(t[o]=e[o]);return t}var lr=(new n.Component).refs;function sr(e,t,o,n){o=null==(o=o(n,t=e.memoizedState))?t:r({},t,o),e.memoizedState=o,null!==(n=e.updateQueue)&&0===e.expirationTime&&(n.baseState=o)}var cr={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===no(e)},enqueueSetState:function(e,t,o){e=e._reactInternalFiber;var n=gl(),r=Ui(n=Ba(n,e));r.payload=t,null!=o&&(r.callback=o),Na(),Vi(e,r),Ga(e,n)},enqueueReplaceState:function(e,t,o){e=e._reactInternalFiber;var n=gl(),r=Ui(n=Ba(n,e));r.tag=ji,r.payload=t,null!=o&&(r.callback=o),Na(),Vi(e,r),Ga(e,n)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var o=gl(),n=Ui(o=Ba(o,e));n.tag=Ii,null!=t&&(n.callback=t),Na(),Vi(e,n),Ga(e,o)}};function ur(e,t,o,n,r,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!oo(o,n)||!oo(r,i))}function dr(e,t,o){var n=!1,r=_n,i=t.contextType;return"object"==typeof i&&null!==i?i=zi(i):(r=jn(t)?Nn:On.current,i=(n=null!=(n=t.contextTypes))?zn(e,r):_n),t=new t(o,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=cr,e.stateNode=t,t._reactInternalFiber=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t}function pr(e,t,o,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(o,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(o,n),t.state!==e&&cr.enqueueReplaceState(t,t.state,null)}function fr(e,t,o,n){var r=e.stateNode;r.props=o,r.state=e.memoizedState,r.refs=lr;var i=t.contextType;"object"==typeof i&&null!==i?r.context=zi(i):(i=jn(t)?Nn:On.current,r.context=zn(e,i)),null!==(i=e.updateQueue)&&($i(e,i,o,r,n),r.state=e.memoizedState),"function"==typeof(i=t.getDerivedStateFromProps)&&(sr(e,t,i,o),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&cr.enqueueReplaceState(r,r.state,null),null!==(i=e.updateQueue)&&($i(e,i,o,r,n),r.state=e.memoizedState)),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}var mr=Array.isArray;function hr(e,t,o){if(null!==(e=o.ref)&&"function"!=typeof e&&"object"!=typeof e){if(o._owner){o=o._owner;var n=void 0;o&&(1!==o.tag&&l("309"),n=o.stateNode),n||l("147",e);var r=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===r?t.ref:((t=function(e){var t=n.refs;t===lr&&(t=n.refs={}),null===e?delete t[r]:t[r]=e})._stringRef=r,t)}"string"!=typeof e&&l("284"),o._owner||l("290",e)}return e}function gr(e,t){"textarea"!==e.type&&l("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function br(e){function t(t,o){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=o,t.lastEffect=o):t.firstEffect=t.lastEffect=o,o.nextEffect=null,o.effectTag=8}}function o(o,n){if(!e)return null;for(;null!==n;)t(o,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function r(e,t,o){return(e=Xn(e,t)).index=0,e.sibling=null,e}function i(t,o,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<o?(t.effectTag=2,o):n:(t.effectTag=2,o):o}function a(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,o,n){return null===t||6!==t.tag?((t=er(o,e.mode,n)).return=e,t):((t=r(t,o)).return=e,t)}function c(e,t,o,n){return null!==t&&t.elementType===o.type?((n=r(t,o.props)).ref=hr(e,t,o),n.return=e,n):((n=Qn(o.type,o.key,o.props,null,e.mode,n)).ref=hr(e,t,o),n.return=e,n)}function u(e,t,o,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==o.containerInfo||t.stateNode.implementation!==o.implementation?((t=tr(o,e.mode,n)).return=e,t):((t=r(t,o.children||[])).return=e,t)}function d(e,t,o,n,i){return null===t||7!==t.tag?((t=Jn(o,e.mode,n,i)).return=e,t):((t=r(t,o)).return=e,t)}function p(e,t,o){if("string"==typeof t||"number"==typeof t)return(t=er(""+t,e.mode,o)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ke:return(o=Qn(t.type,t.key,t.props,null,e.mode,o)).ref=hr(e,null,t),o.return=e,o;case Xe:return(t=tr(t,e.mode,o)).return=e,t}if(mr(t)||st(t))return(t=Jn(t,e.mode,o,null)).return=e,t;gr(e,t)}return null}function f(e,t,o,n){var r=null!==t?t.key:null;if("string"==typeof o||"number"==typeof o)return null!==r?null:s(e,t,""+o,n);if("object"==typeof o&&null!==o){switch(o.$$typeof){case Ke:return o.key===r?o.type===Qe?d(e,t,o.props.children,n,r):c(e,t,o,n):null;case Xe:return o.key===r?u(e,t,o,n):null}if(mr(o)||st(o))return null!==r?null:d(e,t,o,n,null);gr(e,o)}return null}function m(e,t,o,n,r){if("string"==typeof n||"number"==typeof n)return s(t,e=e.get(o)||null,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ke:return e=e.get(null===n.key?o:n.key)||null,n.type===Qe?d(t,e,n.props.children,r,n.key):c(t,e,n,r);case Xe:return u(t,e=e.get(null===n.key?o:n.key)||null,n,r)}if(mr(n)||st(n))return d(t,e=e.get(o)||null,n,r,null);gr(t,n)}return null}function h(r,a,l,s){for(var c=null,u=null,d=a,h=a=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var b=f(r,d,l[h],s);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(r,d),a=i(b,a,h),null===u?c=b:u.sibling=b,u=b,d=g}if(h===l.length)return o(r,d),c;if(null===d){for(;h<l.length;h++)(d=p(r,l[h],s))&&(a=i(d,a,h),null===u?c=d:u.sibling=d,u=d);return c}for(d=n(r,d);h<l.length;h++)(g=m(d,r,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),a=i(g,a,h),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(r,e)})),c}function g(r,a,s,c){var u=st(s);"function"!=typeof u&&l("150"),null==(s=u.call(s))&&l("151");for(var d=u=null,h=a,g=a=0,b=null,v=s.next();null!==h&&!v.done;g++,v=s.next()){h.index>g?(b=h,h=null):b=h.sibling;var y=f(r,h,v.value,c);if(null===y){h||(h=b);break}e&&h&&null===y.alternate&&t(r,h),a=i(y,a,g),null===d?u=y:d.sibling=y,d=y,h=b}if(v.done)return o(r,h),u;if(null===h){for(;!v.done;g++,v=s.next())null!==(v=p(r,v.value,c))&&(a=i(v,a,g),null===d?u=v:d.sibling=v,d=v);return u}for(h=n(r,h);!v.done;g++,v=s.next())null!==(v=m(h,r,g,v.value,c))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),a=i(v,a,g),null===d?u=v:d.sibling=v,d=v);return e&&h.forEach((function(e){return t(r,e)})),u}return function(e,n,i,s){var c="object"==typeof i&&null!==i&&i.type===Qe&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case Ke:e:{for(u=i.key,c=n;null!==c;){if(c.key===u){if(7===c.tag?i.type===Qe:c.elementType===i.type){o(e,c.sibling),(n=r(c,i.type===Qe?i.props.children:i.props)).ref=hr(e,c,i),n.return=e,e=n;break e}o(e,c);break}t(e,c),c=c.sibling}i.type===Qe?((n=Jn(i.props.children,e.mode,s,i.key)).return=e,e=n):((s=Qn(i.type,i.key,i.props,null,e.mode,s)).ref=hr(e,n,i),s.return=e,e=s)}return a(e);case Xe:e:{for(c=i.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===i.containerInfo&&n.stateNode.implementation===i.implementation){o(e,n.sibling),(n=r(n,i.children||[])).return=e,e=n;break e}o(e,n);break}t(e,n),n=n.sibling}(n=tr(i,e.mode,s)).return=e,e=n}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==n&&6===n.tag?(o(e,n.sibling),(n=r(n,i)).return=e,e=n):(o(e,n),(n=er(i,e.mode,s)).return=e,e=n),a(e);if(mr(i))return h(e,n,i,s);if(st(i))return g(e,n,i,s);if(u&&gr(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:l("152",(s=e.type).displayName||s.name||"Component")}return o(e,n)}}var vr=br(!0),yr=br(!1),wr={},xr={current:wr},Er={current:wr},Cr={current:wr};function kr(e){return e===wr&&l("174"),e}function Sr(e,t){Pn(Cr,t),Pn(Er,e),Pn(xr,wr);var o=t.nodeType;switch(o){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:rn(null,"");break;default:t=rn(t=(o=8===o?t.parentNode:t).namespaceURI||null,o=o.tagName)}An(xr),Pn(xr,t)}function Rr(e){An(xr),An(Er),An(Cr)}function Tr(e){kr(Cr.current);var t=kr(xr.current),o=rn(t,e.type);t!==o&&(Pn(Er,e),Pn(xr,o))}function Dr(e){Er.current===e&&(An(xr),An(Er))}var Mr=qe.ReactCurrentDispatcher,Ar=0,Pr=null,_r=null,Or=null,Lr=null,Nr=null,zr=null,jr=0,Ir=null,Fr=0,Hr=!1,Br=null,Ur=0;function Wr(){l("321")}function Vr(e,t){if(null===t)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!eo(e[o],t[o]))return!1;return!0}function Gr(e,t,o,n,r,i){if(Ar=i,Pr=t,Or=null!==e?e.memoizedState:null,Mr.current=null===Or?ri:ii,t=o(n,r),Hr){do{Hr=!1,Ur+=1,Or=null!==e?e.memoizedState:null,zr=Lr,Ir=Nr=_r=null,Mr.current=ii,t=o(n,r)}while(Hr);Br=null,Ur=0}return Mr.current=ni,(e=Pr).memoizedState=Lr,e.expirationTime=jr,e.updateQueue=Ir,e.effectTag|=Fr,e=null!==_r&&null!==_r.next,Ar=0,zr=Nr=Lr=Or=_r=Pr=null,jr=0,Ir=null,Fr=0,e&&l("300"),t}function qr(){Mr.current=ni,Ar=0,zr=Nr=Lr=Or=_r=Pr=null,jr=0,Ir=null,Fr=0,Hr=!1,Br=null,Ur=0}function Yr(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Nr?Lr=Nr=e:Nr=Nr.next=e,Nr}function $r(){if(null!==zr)zr=(Nr=zr).next,Or=null!==(_r=Or)?_r.next:null;else{null===Or&&l("310");var e={memoizedState:(_r=Or).memoizedState,baseState:_r.baseState,queue:_r.queue,baseUpdate:_r.baseUpdate,next:null};Nr=null===Nr?Lr=e:Nr.next=e,Or=_r.next}return Nr}function Kr(e,t){return"function"==typeof t?t(e):t}function Xr(e){var t=$r(),o=t.queue;if(null===o&&l("311"),o.lastRenderedReducer=e,0<Ur){var n=o.dispatch;if(null!==Br){var r=Br.get(o);if(void 0!==r){Br.delete(o);var i=t.memoizedState;do{i=e(i,r.action),r=r.next}while(null!==r);return eo(i,t.memoizedState)||(gi=!0),t.memoizedState=i,t.baseUpdate===o.last&&(t.baseState=i),o.lastRenderedState=i,[i,n]}}return[t.memoizedState,n]}n=o.last;var a=t.baseUpdate;if(i=t.baseState,null!==a?(null!==n&&(n.next=null),n=a.next):n=null!==n?n.next:null,null!==n){var s=r=null,c=n,u=!1;do{var d=c.expirationTime;d<Ar?(u||(u=!0,s=a,r=i),d>jr&&(jr=d)):i=c.eagerReducer===e?c.eagerState:e(i,c.action),a=c,c=c.next}while(null!==c&&c!==n);u||(s=a,r=i),eo(i,t.memoizedState)||(gi=!0),t.memoizedState=i,t.baseUpdate=s,t.baseState=r,o.lastRenderedState=i}return[t.memoizedState,o.dispatch]}function Qr(e,t,o,n){return e={tag:e,create:t,destroy:o,deps:n,next:null},null===Ir?(Ir={lastEffect:null}).lastEffect=e.next=e:null===(t=Ir.lastEffect)?Ir.lastEffect=e.next=e:(o=t.next,t.next=e,e.next=o,Ir.lastEffect=e),e}function Jr(e,t,o,n){var r=Yr();Fr|=e,r.memoizedState=Qr(t,o,void 0,void 0===n?null:n)}function Zr(e,t,o,n){var r=$r();n=void 0===n?null:n;var i=void 0;if(null!==_r){var a=_r.memoizedState;if(i=a.destroy,null!==n&&Vr(n,a.deps))return void Qr(0,o,i,n)}Fr|=e,r.memoizedState=Qr(t,o,i,n)}function ei(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ti(){}function oi(e,t,o){25>Ur||l("301");var n=e.alternate;if(e===Pr||null!==n&&n===Pr)if(Hr=!0,e={expirationTime:Ar,action:o,eagerReducer:null,eagerState:null,next:null},null===Br&&(Br=new Map),void 0===(o=Br.get(t)))Br.set(t,e);else{for(t=o;null!==t.next;)t=t.next;t.next=e}else{Na();var r=gl(),i={expirationTime:r=Ba(r,e),action:o,eagerReducer:null,eagerState:null,next:null},a=t.last;if(null===a)i.next=i;else{var s=a.next;null!==s&&(i.next=s),a.next=i}if(t.last=i,0===e.expirationTime&&(null===n||0===n.expirationTime)&&null!==(n=t.lastRenderedReducer))try{var c=t.lastRenderedState,u=n(c,o);if(i.eagerReducer=n,i.eagerState=u,eo(u,c))return}catch(e){}Ga(e,r)}}var ni={readContext:zi,useCallback:Wr,useContext:Wr,useEffect:Wr,useImperativeHandle:Wr,useLayoutEffect:Wr,useMemo:Wr,useReducer:Wr,useRef:Wr,useState:Wr,useDebugValue:Wr},ri={readContext:zi,useCallback:function(e,t){return Yr().memoizedState=[e,void 0===t?null:t],e},useContext:zi,useEffect:function(e,t){return Jr(516,192,e,t)},useImperativeHandle:function(e,t,o){return o=null!=o?o.concat([e]):null,Jr(4,36,ei.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Jr(4,36,e,t)},useMemo:function(e,t){var o=Yr();return t=void 0===t?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var n=Yr();return t=void 0!==o?o(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=oi.bind(null,Pr,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},Yr().memoizedState=e},useState:function(e){var t=Yr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Kr,lastRenderedState:e}).dispatch=oi.bind(null,Pr,e),[t.memoizedState,e]},useDebugValue:ti},ii={readContext:zi,useCallback:function(e,t){var o=$r();t=void 0===t?null:t;var n=o.memoizedState;return null!==n&&null!==t&&Vr(t,n[1])?n[0]:(o.memoizedState=[e,t],e)},useContext:zi,useEffect:function(e,t){return Zr(516,192,e,t)},useImperativeHandle:function(e,t,o){return o=null!=o?o.concat([e]):null,Zr(4,36,ei.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Zr(4,36,e,t)},useMemo:function(e,t){var o=$r();t=void 0===t?null:t;var n=o.memoizedState;return null!==n&&null!==t&&Vr(t,n[1])?n[0]:(e=e(),o.memoizedState=[e,t],e)},useReducer:Xr,useRef:function(){return $r().memoizedState},useState:function(e){return Xr(Kr)},useDebugValue:ti},ai=null,li=null,si=!1;function ci(e,t){var o=$n(5,null,null,0);o.elementType="DELETED",o.type="DELETED",o.stateNode=t,o.return=e,o.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=o,e.lastEffect=o):e.firstEffect=e.lastEffect=o}function ui(e,t){switch(e.tag){case 5:var o=e.type;return null!==(t=1!==t.nodeType||o.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function di(e){if(si){var t=li;if(t){var o=t;if(!ui(e,t)){if(!(t=Rn(o))||!ui(e,t))return e.effectTag|=2,si=!1,void(ai=e);ci(ai,o)}ai=e,li=Tn(t)}else e.effectTag|=2,si=!1,ai=e}}function pi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;ai=e}function fi(e){if(e!==ai)return!1;if(!si)return pi(e),si=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!xn(t,e.memoizedProps))for(t=li;t;)ci(e,t),t=Rn(t);return pi(e),li=ai?Rn(e.stateNode):null,!0}function mi(){li=ai=null,si=!1}var hi=qe.ReactCurrentOwner,gi=!1;function bi(e,t,o,n){t.child=null===e?yr(t,null,o,n):vr(t,e.child,o,n)}function vi(e,t,o,n,r){o=o.render;var i=t.ref;return Ni(t,r),n=Gr(e,t,o,n,i,r),null===e||gi?(t.effectTag|=1,bi(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Ti(e,t,r))}function yi(e,t,o,n,r,i){if(null===e){var a=o.type;return"function"!=typeof a||Kn(a)||void 0!==a.defaultProps||null!==o.compare||void 0!==o.defaultProps?((e=Qn(o.type,null,n,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,wi(e,t,a,n,r,i))}return a=e.child,r<i&&(r=a.memoizedProps,(o=null!==(o=o.compare)?o:oo)(r,n)&&e.ref===t.ref)?Ti(e,t,i):(t.effectTag|=1,(e=Xn(a,n)).ref=t.ref,e.return=t,t.child=e)}function wi(e,t,o,n,r,i){return null!==e&&oo(e.memoizedProps,n)&&e.ref===t.ref&&(gi=!1,r<i)?Ti(e,t,i):Ei(e,t,o,n,i)}function xi(e,t){var o=t.ref;(null===e&&null!==o||null!==e&&e.ref!==o)&&(t.effectTag|=128)}function Ei(e,t,o,n,r){var i=jn(o)?Nn:On.current;return i=zn(t,i),Ni(t,r),o=Gr(e,t,o,n,i,r),null===e||gi?(t.effectTag|=1,bi(e,t,o,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Ti(e,t,r))}function Ci(e,t,o,n,r){if(jn(o)){var i=!0;Un(t)}else i=!1;if(Ni(t,r),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),dr(t,o,n),fr(t,o,n,r),n=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=o.contextType;"object"==typeof c&&null!==c?c=zi(c):c=zn(t,c=jn(o)?Nn:On.current);var u=o.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==n||s!==c)&&pr(t,a,n,c),Fi=!1;var p=t.memoizedState;s=a.state=p;var f=t.updateQueue;null!==f&&($i(t,f,n,a,r),s=t.memoizedState),l!==n||p!==s||Ln.current||Fi?("function"==typeof u&&(sr(t,o,u,n),s=t.memoizedState),(l=Fi||ur(t,o,l,n,p,s,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=n,t.memoizedState=s),a.props=n,a.state=s,a.context=c,n=l):("function"==typeof a.componentDidMount&&(t.effectTag|=4),n=!1)}else a=t.stateNode,l=t.memoizedProps,a.props=t.type===t.elementType?l:ar(t.type,l),s=a.context,"object"==typeof(c=o.contextType)&&null!==c?c=zi(c):c=zn(t,c=jn(o)?Nn:On.current),(d="function"==typeof(u=o.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==n||s!==c)&&pr(t,a,n,c),Fi=!1,s=t.memoizedState,p=a.state=s,null!==(f=t.updateQueue)&&($i(t,f,n,a,r),p=t.memoizedState),l!==n||s!==p||Ln.current||Fi?("function"==typeof u&&(sr(t,o,u,n),p=t.memoizedState),(u=Fi||ur(t,o,l,n,s,p,c))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(n,p,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,p,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),t.memoizedProps=n,t.memoizedState=p),a.props=n,a.state=p,a.context=c,n=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),n=!1);return ki(e,t,o,n,i,r)}function ki(e,t,o,n,r,i){xi(e,t);var a=0!=(64&t.effectTag);if(!n&&!a)return r&&Wn(t,o,!1),Ti(e,t,i);n=t.stateNode,hi.current=t;var l=a&&"function"!=typeof o.getDerivedStateFromError?null:n.render();return t.effectTag|=1,null!==e&&a?(t.child=vr(t,e.child,null,i),t.child=vr(t,null,l,i)):bi(e,t,l,i),t.memoizedState=n.state,r&&Wn(t,o,!0),t.child}function Si(e){var t=e.stateNode;t.pendingContext?Hn(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Hn(0,t.context,!1),Sr(e,t.containerInfo)}function Ri(e,t,o){var n=t.mode,r=t.pendingProps,i=t.memoizedState;if(0==(64&t.effectTag)){i=null;var a=!1}else i={timedOutAt:null!==i?i.timedOutAt:0},a=!0,t.effectTag&=-65;if(null===e)if(a){var l=r.fallback;e=Jn(null,n,0,null),0==(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),n=Jn(l,n,o,null),e.sibling=n,(o=e).return=n.return=t}else o=n=yr(t,null,r.children,o);else null!==e.memoizedState?(l=(n=e.child).sibling,a?(o=r.fallback,r=Xn(n,n.pendingProps),0==(1&t.mode)&&((a=null!==t.memoizedState?t.child.child:t.child)!==n.child&&(r.child=a)),n=r.sibling=Xn(l,o,l.expirationTime),o=r,r.childExpirationTime=0,o.return=n.return=t):o=n=vr(t,n.child,r.children,o)):(l=e.child,a?(a=r.fallback,(r=Jn(null,n,0,null)).child=l,0==(1&t.mode)&&(r.child=null!==t.memoizedState?t.child.child:t.child),(n=r.sibling=Jn(a,n,o,null)).effectTag|=2,o=r,r.childExpirationTime=0,o.return=n.return=t):n=o=vr(t,l,r.children,o)),t.stateNode=e.stateNode;return t.memoizedState=i,t.child=o,n}function Ti(e,t,o){if(null!==e&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<o)return null;if(null!==e&&t.child!==e.child&&l("153"),null!==t.child){for(o=Xn(e=t.child,e.pendingProps,e.expirationTime),t.child=o,o.return=t;null!==e.sibling;)e=e.sibling,(o=o.sibling=Xn(e,e.pendingProps,e.expirationTime)).return=t;o.sibling=null}return t.child}function Di(e,t,o){var n=t.expirationTime;if(null!==e){if(e.memoizedProps!==t.pendingProps||Ln.current)gi=!0;else if(n<o){switch(gi=!1,t.tag){case 3:Si(t),mi();break;case 5:Tr(t);break;case 1:jn(t.type)&&Un(t);break;case 4:Sr(t,t.stateNode.containerInfo);break;case 10:Oi(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(n=t.child.childExpirationTime)&&n>=o?Ri(e,t,o):null!==(t=Ti(e,t,o))?t.sibling:null}return Ti(e,t,o)}}else gi=!1;switch(t.expirationTime=0,t.tag){case 2:n=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var r=zn(t,On.current);if(Ni(t,o),r=Gr(null,t,n,e,r,o),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof){if(t.tag=1,qr(),jn(n)){var i=!0;Un(t)}else i=!1;t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null;var a=n.getDerivedStateFromProps;"function"==typeof a&&sr(t,n,a,e),r.updater=cr,t.stateNode=r,r._reactInternalFiber=t,fr(t,n,e,o),t=ki(null,t,n,!0,i,o)}else t.tag=0,bi(null,t,r,o),t=t.child;return t;case 16:switch(r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),i=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)})),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(r),t.type=e,r=t.tag=function(e){if("function"==typeof e)return Kn(e)?1:0;if(null!=e){if((e=e.$$typeof)===nt)return 11;if(e===it)return 14}return 2}(e),i=ar(e,i),a=void 0,r){case 0:a=Ei(null,t,e,i,o);break;case 1:a=Ci(null,t,e,i,o);break;case 11:a=vi(null,t,e,i,o);break;case 14:a=yi(null,t,e,ar(e.type,i),n,o);break;default:l("306",e,"")}return a;case 0:return n=t.type,r=t.pendingProps,Ei(e,t,n,r=t.elementType===n?r:ar(n,r),o);case 1:return n=t.type,r=t.pendingProps,Ci(e,t,n,r=t.elementType===n?r:ar(n,r),o);case 3:return Si(t),null===(n=t.updateQueue)&&l("282"),r=null!==(r=t.memoizedState)?r.element:null,$i(t,n,t.pendingProps,null,o),(n=t.memoizedState.element)===r?(mi(),t=Ti(e,t,o)):(r=t.stateNode,(r=(null===e||null===e.child)&&r.hydrate)&&(li=Tn(t.stateNode.containerInfo),ai=t,r=si=!0),r?(t.effectTag|=2,t.child=yr(t,null,n,o)):(bi(e,t,n,o),mi()),t=t.child),t;case 5:return Tr(t),null===e&&di(t),n=t.type,r=t.pendingProps,i=null!==e?e.memoizedProps:null,a=r.children,xn(n,r)?a=null:null!==i&&xn(n,i)&&(t.effectTag|=16),xi(e,t),1!==o&&1&t.mode&&r.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(bi(e,t,a,o),t=t.child),t;case 6:return null===e&&di(t),null;case 13:return Ri(e,t,o);case 4:return Sr(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=vr(t,null,n,o):bi(e,t,n,o),t.child;case 11:return n=t.type,r=t.pendingProps,vi(e,t,n,r=t.elementType===n?r:ar(n,r),o);case 7:return bi(e,t,t.pendingProps,o),t.child;case 8:case 12:return bi(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(n=t.type._context,r=t.pendingProps,a=t.memoizedProps,Oi(t,i=r.value),null!==a){var s=a.value;if(0===(i=eo(s,i)?0:0|("function"==typeof n._calculateChangedBits?n._calculateChangedBits(s,i):1073741823))){if(a.children===r.children&&!Ln.current){t=Ti(e,t,o);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.contextDependencies;if(null!==c){a=s.child;for(var u=c.first;null!==u;){if(u.context===n&&0!=(u.observedBits&i)){1===s.tag&&((u=Ui(o)).tag=Ii,Vi(s,u)),s.expirationTime<o&&(s.expirationTime=o),null!==(u=s.alternate)&&u.expirationTime<o&&(u.expirationTime=o),u=o;for(var d=s.return;null!==d;){var p=d.alternate;if(d.childExpirationTime<u)d.childExpirationTime=u,null!==p&&p.childExpirationTime<u&&(p.childExpirationTime=u);else{if(!(null!==p&&p.childExpirationTime<u))break;p.childExpirationTime=u}d=d.return}c.expirationTime<o&&(c.expirationTime=o);break}u=u.next}}else a=10===s.tag&&s.type===t.type?null:s.child;if(null!==a)a.return=s;else for(a=s;null!==a;){if(a===t){a=null;break}if(null!==(s=a.sibling)){s.return=a.return,a=s;break}a=a.return}s=a}}bi(e,t,r.children,o),t=t.child}return t;case 9:return r=t.type,n=(i=t.pendingProps).children,Ni(t,o),n=n(r=zi(r,i.unstable_observedBits)),t.effectTag|=1,bi(e,t,n,o),t.child;case 14:return i=ar(r=t.type,t.pendingProps),yi(e,t,r,i=ar(r.type,i),n,o);case 15:return wi(e,t,t.type,t.pendingProps,n,o);case 17:return n=t.type,r=t.pendingProps,r=t.elementType===n?r:ar(n,r),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,jn(n)?(e=!0,Un(t)):e=!1,Ni(t,o),dr(t,n,r),fr(t,n,r,o),ki(null,t,n,!0,e,o)}l("156")}var Mi={current:null},Ai=null,Pi=null,_i=null;function Oi(e,t){var o=e.type._context;Pn(Mi,o._currentValue),o._currentValue=t}function Li(e){var t=Mi.current;An(Mi),e.type._context._currentValue=t}function Ni(e,t){Ai=e,_i=Pi=null;var o=e.contextDependencies;null!==o&&o.expirationTime>=t&&(gi=!0),e.contextDependencies=null}function zi(e,t){return _i!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(_i=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Pi?(null===Ai&&l("308"),Pi=t,Ai.contextDependencies={first:t,expirationTime:0}):Pi=Pi.next=t),e._currentValue}var ji=1,Ii=2,Fi=!1;function Hi(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Bi(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ui(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Wi(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Vi(e,t){var o=e.alternate;if(null===o){var n=e.updateQueue,r=null;null===n&&(n=e.updateQueue=Hi(e.memoizedState))}else n=e.updateQueue,r=o.updateQueue,null===n?null===r?(n=e.updateQueue=Hi(e.memoizedState),r=o.updateQueue=Hi(o.memoizedState)):n=e.updateQueue=Bi(r):null===r&&(r=o.updateQueue=Bi(n));null===r||n===r?Wi(n,t):null===n.lastUpdate||null===r.lastUpdate?(Wi(n,t),Wi(r,t)):(Wi(n,t),r.lastUpdate=t)}function Gi(e,t){var o=e.updateQueue;null===(o=null===o?e.updateQueue=Hi(e.memoizedState):qi(e,o)).lastCapturedUpdate?o.firstCapturedUpdate=o.lastCapturedUpdate=t:(o.lastCapturedUpdate.next=t,o.lastCapturedUpdate=t)}function qi(e,t){var o=e.alternate;return null!==o&&t===o.updateQueue&&(t=e.updateQueue=Bi(t)),t}function Yi(e,t,o,n,i,a){switch(o.tag){case ji:return"function"==typeof(e=o.payload)?e.call(a,n,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(i="function"==typeof(e=o.payload)?e.call(a,n,i):e))break;return r({},n,i);case Ii:Fi=!0}return n}function $i(e,t,o,n,r){Fi=!1;for(var i=(t=qi(e,t)).baseState,a=null,l=0,s=t.firstUpdate,c=i;null!==s;){var u=s.expirationTime;u<r?(null===a&&(a=s,i=c),l<u&&(l=u)):(c=Yi(e,0,s,c,o,n),null!==s.callback&&(e.effectTag|=32,s.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=s:(t.lastEffect.nextEffect=s,t.lastEffect=s))),s=s.next}for(u=null,s=t.firstCapturedUpdate;null!==s;){var d=s.expirationTime;d<r?(null===u&&(u=s,null===a&&(i=c)),l<d&&(l=d)):(c=Yi(e,0,s,c,o,n),null!==s.callback&&(e.effectTag|=32,s.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=s:(t.lastCapturedEffect.nextEffect=s,t.lastCapturedEffect=s))),s=s.next}null===a&&(t.lastUpdate=null),null===u?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===u&&(i=c),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=u,e.expirationTime=l,e.memoizedState=c}function Ki(e,t,o){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),Xi(t.firstEffect,o),t.firstEffect=t.lastEffect=null,Xi(t.firstCapturedEffect,o),t.firstCapturedEffect=t.lastCapturedEffect=null}function Xi(e,t){for(;null!==e;){var o=e.callback;if(null!==o){e.callback=null;var n=t;"function"!=typeof o&&l("191",o),o.call(n)}e=e.nextEffect}}function Qi(e,t){return{value:e,source:t,stack:ut(t)}}function Ji(e){e.effectTag|=4}var Zi,ea,ta;Zi=function(e,t){for(var o=t.child;null!==o;){if(5===o.tag||6===o.tag)e.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},ea=function(e,t,o,n,i){var a=e.memoizedProps;if(a!==n){var l=t.stateNode;switch(kr(xr.current),e=null,o){case"input":a=xt(l,a),n=xt(l,n),e=[];break;case"option":a=Ko(l,a),n=Ko(l,n),e=[];break;case"select":a=r({},a,{value:void 0}),n=r({},n,{value:void 0}),e=[];break;case"textarea":a=Qo(l,a),n=Qo(l,n),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof n.onClick&&(l.onclick=bn)}mn(o,n),l=o=void 0;var s=null;for(o in a)if(!n.hasOwnProperty(o)&&a.hasOwnProperty(o)&&null!=a[o])if("style"===o){var c=a[o];for(l in c)c.hasOwnProperty(l)&&(s||(s={}),s[l]="")}else"dangerouslySetInnerHTML"!==o&&"children"!==o&&"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(x.hasOwnProperty(o)?e||(e=[]):(e=e||[]).push(o,null));for(o in n){var u=n[o];if(c=null!=a?a[o]:void 0,n.hasOwnProperty(o)&&u!==c&&(null!=u||null!=c))if("style"===o)if(c){for(l in c)!c.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(s||(s={}),s[l]="");for(l in u)u.hasOwnProperty(l)&&c[l]!==u[l]&&(s||(s={}),s[l]=u[l])}else s||(e||(e=[]),e.push(o,s)),s=u;else"dangerouslySetInnerHTML"===o?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(e=e||[]).push(o,""+u)):"children"===o?c===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(o,""+u):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&(x.hasOwnProperty(o)?(null!=u&&gn(i,o),e||c===u||(e=[])):(e=e||[]).push(o,u))}s&&(e=e||[]).push("style",s),i=e,(t.updateQueue=i)&&Ji(t)}},ta=function(e,t,o,n){o!==n&&Ji(t)};var oa="function"==typeof WeakSet?WeakSet:Set;function na(e,t){var o=t.source,n=t.stack;null===n&&null!==o&&(n=ut(o)),null!==o&&ct(o.type),t=t.value,null!==e&&1===e.tag&&ct(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ra(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ha(e,t)}else t.current=null}function ia(e,t,o){if(null!==(o=null!==(o=o.updateQueue)?o.lastEffect:null)){var n=o=o.next;do{if(0!=(n.tag&e)){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}0!=(n.tag&t)&&(r=n.create,n.destroy=r()),n=n.next}while(n!==o)}}function aa(e){switch("function"==typeof Gn&&Gn(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var o=t=t.next;do{var n=o.destroy;if(void 0!==n){var r=e;try{n()}catch(e){Ha(r,e)}}o=o.next}while(o!==t)}break;case 1:if(ra(e),"function"==typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ha(e,t)}break;case 5:ra(e);break;case 4:ca(e)}}function la(e){return 5===e.tag||3===e.tag||4===e.tag}function sa(e){e:{for(var t=e.return;null!==t;){if(la(t)){var o=t;break e}t=t.return}l("160"),o=void 0}var n=t=void 0;switch(o.tag){case 5:t=o.stateNode,n=!1;break;case 3:case 4:t=o.stateNode.containerInfo,n=!0;break;default:l("161")}16&o.effectTag&&(sn(t,""),o.effectTag&=-17);e:t:for(o=e;;){for(;null===o.sibling;){if(null===o.return||la(o.return)){o=null;break e}o=o.return}for(o.sibling.return=o.return,o=o.sibling;5!==o.tag&&6!==o.tag&&18!==o.tag;){if(2&o.effectTag)continue t;if(null===o.child||4===o.tag)continue t;o.child.return=o,o=o.child}if(!(2&o.effectTag)){o=o.stateNode;break e}}for(var r=e;;){if(5===r.tag||6===r.tag)if(o)if(n){var i=t,a=r.stateNode,s=o;8===i.nodeType?i.parentNode.insertBefore(a,s):i.insertBefore(a,s)}else t.insertBefore(r.stateNode,o);else n?(a=t,s=r.stateNode,8===a.nodeType?(i=a.parentNode).insertBefore(s,a):(i=a).appendChild(s),null!=(a=a._reactRootContainer)||null!==i.onclick||(i.onclick=bn)):t.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function ca(e){for(var t=e,o=!1,n=void 0,r=void 0;;){if(!o){o=t.return;e:for(;;){switch(null===o&&l("160"),o.tag){case 5:n=o.stateNode,r=!1;break e;case 3:case 4:n=o.stateNode.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===t.tag||6===t.tag){e:for(var i=t,a=i;;)if(aa(a),null!==a.child&&4!==a.tag)a.child.return=a,a=a.child;else{if(a===i)break;for(;null===a.sibling;){if(null===a.return||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}r?(i=n,a=t.stateNode,8===i.nodeType?i.parentNode.removeChild(a):i.removeChild(a)):n.removeChild(t.stateNode)}else if(4===t.tag){if(null!==t.child){n=t.stateNode.containerInfo,r=!0,t.child.return=t,t=t.child;continue}}else if(aa(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(o=!1)}t.sibling.return=t.return,t=t.sibling}}function ua(e,t){switch(t.tag){case 0:case 11:case 14:case 15:ia(4,8,t);break;case 1:break;case 5:var o=t.stateNode;if(null!=o){var n=t.memoizedProps;e=null!==e?e.memoizedProps:n;var r=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,o,n,r){e[z]=r,"input"===o&&"radio"===r.type&&null!=r.name&&Ct(e,r),hn(o,n),n=hn(o,r);for(var i=0;i<t.length;i+=2){var a=t[i],l=t[i+1];"style"===a?pn(e,l):"dangerouslySetInnerHTML"===a?ln(e,l):"children"===a?sn(e,l):yt(e,a,l,n)}switch(o){case"input":kt(e,r);break;case"textarea":Zo(e,r);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?Xo(e,!!r.multiple,o,!1):t!==!!r.multiple&&(null!=r.defaultValue?Xo(e,!!r.multiple,r.defaultValue,!0):Xo(e,!!r.multiple,r.multiple?[]:"",!1))}}(o,i,r,e,n)}break;case 6:null===t.stateNode&&l("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(o=t.memoizedState,n=void 0,e=t,null===o?n=!1:(n=!0,e=t.child,0===o.timedOutAt&&(o.timedOutAt=gl())),null!==e&&function(e,t){for(var o=e;;){if(5===o.tag){var n=o.stateNode;if(t)n.style.display="none";else{n=o.stateNode;var r=o.memoizedProps.style;r=null!=r&&r.hasOwnProperty("display")?r.display:null,n.style.display=dn("display",r)}}else if(6===o.tag)o.stateNode.nodeValue=t?"":o.memoizedProps;else{if(13===o.tag&&null!==o.memoizedState){(n=o.child.sibling).return=o,o=n;continue}if(null!==o.child){o.child.return=o,o=o.child;continue}}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}(e,n),null!==(o=t.updateQueue)){t.updateQueue=null;var a=t.stateNode;null===a&&(a=t.stateNode=new oa),o.forEach((function(e){var o=Wa.bind(null,t,e);a.has(e)||(a.add(e),e.then(o,o))}))}break;case 17:break;default:l("163")}}var da="function"==typeof WeakMap?WeakMap:Map;function pa(e,t,o){(o=Ui(o)).tag=3,o.payload={element:null};var n=t.value;return o.callback=function(){Rl(n),na(e,t)},o}function fa(e,t,o){(o=Ui(o)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var r=t.value;o.payload=function(){return n(r)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(o.callback=function(){"function"!=typeof n&&(null===Ma?Ma=new Set([this]):Ma.add(this));var o=t.value,r=t.stack;na(e,t),this.componentDidCatch(o,{componentStack:null!==r?r:""})}),o}function ma(e){switch(e.tag){case 1:jn(e.type)&&In();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return Rr(),Fn(),0!=(64&(t=e.effectTag))&&l("285"),e.effectTag=-2049&t|64,e;case 5:return Dr(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 4:return Rr(),null;case 10:return Li(e),null;default:return null}}var ha=qe.ReactCurrentDispatcher,ga=qe.ReactCurrentOwner,ba=1073741822,va=!1,ya=null,wa=null,xa=0,Ea=-1,Ca=!1,ka=null,Sa=!1,Ra=null,Ta=null,Da=null,Ma=null;function Aa(){if(null!==ya)for(var e=ya.return;null!==e;){var t=e;switch(t.tag){case 1:var o=t.type.childContextTypes;null!=o&&In();break;case 3:Rr(),Fn();break;case 5:Dr(t);break;case 4:Rr();break;case 10:Li(t)}e=e.return}wa=null,xa=0,Ea=-1,Ca=!1,ya=null}function Pa(){for(;null!==ka;){var e=ka.effectTag;if(16&e&&sn(ka.stateNode,""),128&e){var t=ka.alternate;null!==t&&(null!==(t=t.ref)&&("function"==typeof t?t(null):t.current=null))}switch(14&e){case 2:sa(ka),ka.effectTag&=-3;break;case 6:sa(ka),ka.effectTag&=-3,ua(ka.alternate,ka);break;case 4:ua(ka.alternate,ka);break;case 8:ca(e=ka),e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,null!==(e=e.alternate)&&(e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null)}ka=ka.nextEffect}}function _a(){for(;null!==ka;){if(256&ka.effectTag)e:{var e=ka.alternate,t=ka;switch(t.tag){case 0:case 11:case 15:ia(2,0,t);break e;case 1:if(256&t.effectTag&&null!==e){var o=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?o:ar(t.type,o),n),e.__reactInternalSnapshotBeforeUpdate=t}break e;case 3:case 5:case 6:case 4:case 17:break e;default:l("163")}}ka=ka.nextEffect}}function Oa(e,t){for(;null!==ka;){var o=ka.effectTag;if(36&o){var n=ka.alternate,r=ka,i=t;switch(r.tag){case 0:case 11:case 15:ia(16,32,r);break;case 1:var a=r.stateNode;if(4&r.effectTag)if(null===n)a.componentDidMount();else{var s=r.elementType===r.type?n.memoizedProps:ar(r.type,n.memoizedProps);a.componentDidUpdate(s,n.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}null!==(n=r.updateQueue)&&Ki(0,n,a);break;case 3:if(null!==(n=r.updateQueue)){if(a=null,null!==r.child)switch(r.child.tag){case 5:a=r.child.stateNode;break;case 1:a=r.child.stateNode}Ki(0,n,a)}break;case 5:i=r.stateNode,null===n&&4&r.effectTag&&wn(r.type,r.memoizedProps)&&i.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:l("163")}}128&o&&(null!==(r=ka.ref)&&(i=ka.stateNode,"function"==typeof r?r(i):r.current=i)),512&o&&(Ra=e),ka=ka.nextEffect}}function La(e,t){Da=Ta=Ra=null;var o=Qa;Qa=!0;do{if(512&t.effectTag){var n=!1,r=void 0;try{var i=t;ia(128,0,i),ia(0,64,i)}catch(e){n=!0,r=e}n&&Ha(t,r)}t=t.nextEffect}while(null!==t);Qa=o,0!==(o=e.expirationTime)&&bl(e,o),nl||Qa||El(1073741823,!1)}function Na(){null!==Ta&&Sn(Ta),null!==Da&&Da()}function za(e,t){Sa=va=!0,e.current===t&&l("177");var o=e.pendingCommitExpirationTime;0===o&&l("261"),e.pendingCommitExpirationTime=0;var n=t.expirationTime,r=t.childExpirationTime;for(function(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{t<e.latestPingedTime&&(e.latestPingedTime=0);var o=e.latestPendingTime;0!==o&&(o>t?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(o=e.earliestSuspendedTime)?or(e,t):t<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,or(e,t)):t>o&&or(e,t)}ir(0,e)}(e,r>n?r:n),ga.current=null,n=void 0,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,n=t.firstEffect):n=t:n=t.firstEffect,vn=Ro,yn=function(){var e=Io();if(Fo(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(o&&0!==o.rangeCount){t=o.anchorNode;var n=o.anchorOffset,r=o.focusNode;o=o.focusOffset;try{t.nodeType,r.nodeType}catch(e){t=null;break e}var i=0,a=-1,l=-1,s=0,c=0,u=e,d=null;t:for(;;){for(var p;u!==t||0!==n&&3!==u.nodeType||(a=i+n),u!==r||0!==o&&3!==u.nodeType||(l=i+o),3===u.nodeType&&(i+=u.nodeValue.length),null!==(p=u.firstChild);)d=u,u=p;for(;;){if(u===e)break t;if(d===t&&++s===n&&(a=i),d===r&&++c===o&&(l=i),null!==(p=u.nextSibling))break;d=(u=d).parentNode}u=p}t=-1===a||-1===l?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}(),Ro=!1,ka=n;null!==ka;){r=!1;var a=void 0;try{_a()}catch(e){r=!0,a=e}r&&(null===ka&&l("178"),Ha(ka,a),null!==ka&&(ka=ka.nextEffect))}for(ka=n;null!==ka;){r=!1,a=void 0;try{Pa()}catch(e){r=!0,a=e}r&&(null===ka&&l("178"),Ha(ka,a),null!==ka&&(ka=ka.nextEffect))}for(Ho(yn),yn=null,Ro=!!vn,vn=null,e.current=t,ka=n;null!==ka;){r=!1,a=void 0;try{Oa(e,o)}catch(e){r=!0,a=e}r&&(null===ka&&l("178"),Ha(ka,a),null!==ka&&(ka=ka.nextEffect))}if(null!==n&&null!==Ra){var s=La.bind(null,e,n);Ta=i.unstable_runWithPriority(i.unstable_NormalPriority,(function(){return kn(s)})),Da=s}va=Sa=!1,"function"==typeof Vn&&Vn(t.stateNode),o=t.expirationTime,0===(t=(t=t.childExpirationTime)>o?t:o)&&(Ma=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function ja(e){for(;;){var t=e.alternate,o=e.return,n=e.sibling;if(0==(1024&e.effectTag)){ya=e;e:{var i=t,a=xa,s=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:jn(t.type)&&In();break;case 3:Rr(),Fn(),(s=t.stateNode).pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),null!==i&&null!==i.child||(fi(t),t.effectTag&=-3);break;case 5:Dr(t);var c=kr(Cr.current);if(a=t.type,null!==i&&null!=t.stateNode)ea(i,t,a,s,c),i.ref!==t.ref&&(t.effectTag|=128);else if(s){var u=kr(xr.current);if(fi(t)){i=(s=t).stateNode;var d=s.type,p=s.memoizedProps,f=c;switch(i[N]=s,i[z]=p,a=void 0,c=d){case"iframe":case"object":To("load",i);break;case"video":case"audio":for(d=0;d<ne.length;d++)To(ne[d],i);break;case"source":To("error",i);break;case"img":case"image":case"link":To("error",i),To("load",i);break;case"form":To("reset",i),To("submit",i);break;case"details":To("toggle",i);break;case"input":Et(i,p),To("invalid",i),gn(f,"onChange");break;case"select":i._wrapperState={wasMultiple:!!p.multiple},To("invalid",i),gn(f,"onChange");break;case"textarea":Jo(i,p),To("invalid",i),gn(f,"onChange")}for(a in mn(c,p),d=null,p)p.hasOwnProperty(a)&&(u=p[a],"children"===a?"string"==typeof u?i.textContent!==u&&(d=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(d=["children",""+u]):x.hasOwnProperty(a)&&null!=u&&gn(f,a));switch(c){case"input":Ve(i),St(i,p,!0);break;case"textarea":Ve(i),en(i);break;case"select":case"option":break;default:"function"==typeof p.onClick&&(i.onclick=bn)}a=d,s.updateQueue=a,(s=null!==a)&&Ji(t)}else{p=t,f=a,i=s,d=9===c.nodeType?c:c.ownerDocument,u===tn&&(u=nn(f)),u===tn?"script"===f?((i=d.createElement("div")).innerHTML="<script><\/script>",d=i.removeChild(i.firstChild)):"string"==typeof i.is?d=d.createElement(f,{is:i.is}):(d=d.createElement(f),"select"===f&&(f=d,i.multiple?f.multiple=!0:i.size&&(f.size=i.size))):d=d.createElementNS(u,f),(i=d)[N]=p,i[z]=s,Zi(i,t),f=i;var m=c,h=hn(d=a,p=s);switch(d){case"iframe":case"object":To("load",f),c=p;break;case"video":case"audio":for(c=0;c<ne.length;c++)To(ne[c],f);c=p;break;case"source":To("error",f),c=p;break;case"img":case"image":case"link":To("error",f),To("load",f),c=p;break;case"form":To("reset",f),To("submit",f),c=p;break;case"details":To("toggle",f),c=p;break;case"input":Et(f,p),c=xt(f,p),To("invalid",f),gn(m,"onChange");break;case"option":c=Ko(f,p);break;case"select":f._wrapperState={wasMultiple:!!p.multiple},c=r({},p,{value:void 0}),To("invalid",f),gn(m,"onChange");break;case"textarea":Jo(f,p),c=Qo(f,p),To("invalid",f),gn(m,"onChange");break;default:c=p}mn(d,c),u=void 0;var g=d,b=f,v=c;for(u in v)if(v.hasOwnProperty(u)){var y=v[u];"style"===u?pn(b,y):"dangerouslySetInnerHTML"===u?null!=(y=y?y.__html:void 0)&&ln(b,y):"children"===u?"string"==typeof y?("textarea"!==g||""!==y)&&sn(b,y):"number"==typeof y&&sn(b,""+y):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(x.hasOwnProperty(u)?null!=y&&gn(m,u):null!=y&&yt(b,u,y,h))}switch(d){case"input":Ve(f),St(f,p,!1);break;case"textarea":Ve(f),en(f);break;case"option":null!=p.value&&f.setAttribute("value",""+wt(p.value));break;case"select":(c=f).multiple=!!p.multiple,null!=(f=p.value)?Xo(c,!!p.multiple,f,!1):null!=p.defaultValue&&Xo(c,!!p.multiple,p.defaultValue,!0);break;default:"function"==typeof c.onClick&&(f.onclick=bn)}(s=wn(a,s))&&Ji(t),t.stateNode=i}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&l("166");break;case 6:i&&null!=t.stateNode?ta(0,t,i.memoizedProps,s):("string"!=typeof s&&(null===t.stateNode&&l("166")),i=kr(Cr.current),kr(xr.current),fi(t)?(a=(s=t).stateNode,i=s.memoizedProps,a[N]=s,(s=a.nodeValue!==i)&&Ji(t)):(a=t,(s=(9===i.nodeType?i:i.ownerDocument).createTextNode(s))[N]=t,a.stateNode=s));break;case 11:break;case 13:if(s=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=a,ya=t;break e}s=null!==s,a=null!==i&&null!==i.memoizedState,null!==i&&!s&&a&&(null!==(i=i.child.sibling)&&(null!==(c=t.firstEffect)?(t.firstEffect=i,i.nextEffect=c):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(s||a)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Rr();break;case 10:Li(t);break;case 9:case 14:break;case 17:jn(t.type)&&In();break;case 18:break;default:l("156")}ya=null}if(t=e,1===xa||1!==t.childExpirationTime){for(s=0,a=t.child;null!==a;)(i=a.expirationTime)>s&&(s=i),(c=a.childExpirationTime)>s&&(s=c),a=a.sibling;t.childExpirationTime=s}if(null!==ya)return ya;null!==o&&0==(1024&o.effectTag)&&(null===o.firstEffect&&(o.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==o.lastEffect&&(o.lastEffect.nextEffect=e.firstEffect),o.lastEffect=e.lastEffect),1<e.effectTag&&(null!==o.lastEffect?o.lastEffect.nextEffect=e:o.firstEffect=e,o.lastEffect=e))}else{if(null!==(e=ma(e)))return e.effectTag&=1023,e;null!==o&&(o.firstEffect=o.lastEffect=null,o.effectTag|=1024)}if(null!==n)return n;if(null===o)break;e=o}return null}function Ia(e){var t=Di(e.alternate,e,xa);return e.memoizedProps=e.pendingProps,null===t&&(t=ja(e)),ga.current=null,t}function Fa(e,t){va&&l("243"),Na(),va=!0;var o=ha.current;ha.current=ni;var n=e.nextExpirationTimeToWorkOn;n===xa&&e===wa&&null!==ya||(Aa(),xa=n,ya=Xn((wa=e).current,null),e.pendingCommitExpirationTime=0);for(var r=!1;;){try{if(t)for(;null!==ya&&!wl();)ya=Ia(ya);else for(;null!==ya;)ya=Ia(ya)}catch(t){if(_i=Pi=Ai=null,qr(),null===ya)r=!0,Rl(t);else{null===ya&&l("271");var i=ya,a=i.return;if(null!==a){e:{var s=e,c=a,u=i,d=t;if(a=xa,u.effectTag|=1024,u.firstEffect=u.lastEffect=null,null!==d&&"object"==typeof d&&"function"==typeof d.then){var p=d;d=c;var f=-1,m=-1;do{if(13===d.tag){var h=d.alternate;if(null!==h&&null!==(h=h.memoizedState)){m=10*(1073741822-h.timedOutAt);break}"number"==typeof(h=d.pendingProps.maxDuration)&&(0>=h?f=0:(-1===f||h<f)&&(f=h))}d=d.return}while(null!==d);d=c;do{if((h=13===d.tag)&&(h=void 0!==d.memoizedProps.fallback&&null===d.memoizedState),h){if(null===(c=d.updateQueue)?((c=new Set).add(p),d.updateQueue=c):c.add(p),0==(1&d.mode)){d.effectTag|=64,u.effectTag&=-1957,1===u.tag&&(null===u.alternate?u.tag=17:((a=Ui(1073741823)).tag=Ii,Vi(u,a))),u.expirationTime=1073741823;break e}c=a;var g=(u=s).pingCache;null===g?(g=u.pingCache=new da,h=new Set,g.set(p,h)):void 0===(h=g.get(p))&&(h=new Set,g.set(p,h)),h.has(c)||(h.add(c),u=Ua.bind(null,u,p,c),p.then(u,u)),-1===f?s=1073741823:(-1===m&&(m=10*(1073741822-rr(s,a))-5e3),s=m+f),0<=s&&Ea<s&&(Ea=s),d.effectTag|=2048,d.expirationTime=a;break e}d=d.return}while(null!==d);d=Error((ct(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ut(u))}Ca=!0,d=Qi(d,u),s=c;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=a,Gi(s,a=pa(s,d,a));break e;case 1:if(f=d,m=s.type,u=s.stateNode,0==(64&s.effectTag)&&("function"==typeof m.getDerivedStateFromError||null!==u&&"function"==typeof u.componentDidCatch&&(null===Ma||!Ma.has(u)))){s.effectTag|=2048,s.expirationTime=a,Gi(s,a=fa(s,f,a));break e}}s=s.return}while(null!==s)}ya=ja(i);continue}r=!0,Rl(t)}}break}if(va=!1,ha.current=o,_i=Pi=Ai=null,qr(),r)wa=null,e.finishedWork=null;else if(null!==ya)e.finishedWork=null;else{if(null===(o=e.current.alternate)&&l("281"),wa=null,Ca){if(r=e.latestPendingTime,i=e.latestSuspendedTime,a=e.latestPingedTime,0!==r&&r<n||0!==i&&i<n||0!==a&&a<n)return nr(e,n),void ml(e,o,n,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,n=e.nextExpirationTimeToWorkOn=n,t=e.expirationTime=1073741823,void ml(e,o,n,t,-1)}t&&-1!==Ea?(nr(e,n),(t=10*(1073741822-rr(e,n)))<Ea&&(Ea=t),t=10*(1073741822-gl()),t=Ea-t,ml(e,o,n,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=n,e.finishedWork=o)}}function Ha(e,t){for(var o=e.return;null!==o;){switch(o.tag){case 1:var n=o.stateNode;if("function"==typeof o.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Ma||!Ma.has(n)))return Vi(o,e=fa(o,e=Qi(t,e),1073741823)),void Ga(o,1073741823);break;case 3:return Vi(o,e=pa(o,e=Qi(t,e),1073741823)),void Ga(o,1073741823)}o=o.return}3===e.tag&&(Vi(e,o=pa(e,o=Qi(t,e),1073741823)),Ga(e,1073741823))}function Ba(e,t){var o=i.unstable_getCurrentPriorityLevel(),n=void 0;if(0==(1&t.mode))n=1073741823;else if(va&&!Sa)n=xa;else{switch(o){case i.unstable_ImmediatePriority:n=1073741823;break;case i.unstable_UserBlockingPriority:n=1073741822-10*(1+((1073741822-e+15)/10|0));break;case i.unstable_NormalPriority:n=1073741822-25*(1+((1073741822-e+500)/25|0));break;case i.unstable_LowPriority:case i.unstable_IdlePriority:n=1;break;default:l("313")}null!==wa&&n===xa&&--n}return o===i.unstable_UserBlockingPriority&&(0===el||n<el)&&(el=n),n}function Ua(e,t,o){var n=e.pingCache;null!==n&&n.delete(t),null!==wa&&xa===o?wa=null:(t=e.earliestSuspendedTime,n=e.latestSuspendedTime,0!==t&&o<=t&&o>=n&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>o)&&(e.latestPingedTime=o),ir(o,e),0!==(o=e.expirationTime)&&bl(e,o)))}function Wa(e,t){var o=e.stateNode;null!==o&&o.delete(t),null!==(e=Va(e,t=Ba(t=gl(),e)))&&(or(e,t),0!==(t=e.expirationTime)&&bl(e,t))}function Va(e,t){e.expirationTime<t&&(e.expirationTime=t);var o=e.alternate;null!==o&&o.expirationTime<t&&(o.expirationTime=t);var n=e.return,r=null;if(null===n&&3===e.tag)r=e.stateNode;else for(;null!==n;){if(o=n.alternate,n.childExpirationTime<t&&(n.childExpirationTime=t),null!==o&&o.childExpirationTime<t&&(o.childExpirationTime=t),null===n.return&&3===n.tag){r=n.stateNode;break}n=n.return}return r}function Ga(e,t){null!==(e=Va(e,t))&&(!va&&0!==xa&&t>xa&&Aa(),or(e,t),va&&!Sa&&wa===e||bl(e,e.expirationTime),ul>cl&&(ul=0,l("185")))}function qa(e,t,o,n,r){return i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){return e(t,o,n,r)}))}var Ya=null,$a=null,Ka=0,Xa=void 0,Qa=!1,Ja=null,Za=0,el=0,tl=!1,ol=null,nl=!1,rl=!1,il=null,al=i.unstable_now(),ll=1073741822-(al/10|0),sl=ll,cl=50,ul=0,dl=null;function pl(){ll=1073741822-((i.unstable_now()-al)/10|0)}function fl(e,t){if(0!==Ka){if(t<Ka)return;null!==Xa&&i.unstable_cancelCallback(Xa)}Ka=t,e=i.unstable_now()-al,Xa=i.unstable_scheduleCallback(xl,{timeout:10*(1073741822-t)-e})}function ml(e,t,o,n,r){e.expirationTime=n,0!==r||wl()?0<r&&(e.timeoutHandle=En(hl.bind(null,e,t,o),r)):(e.pendingCommitExpirationTime=o,e.finishedWork=t)}function hl(e,t,o){e.pendingCommitExpirationTime=o,e.finishedWork=t,pl(),sl=ll,Cl(e,o)}function gl(){return Qa||(vl(),0!==Za&&1!==Za||(pl(),sl=ll)),sl}function bl(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===$a?(Ya=$a=e,e.nextScheduledRoot=e):($a=$a.nextScheduledRoot=e).nextScheduledRoot=Ya):t>e.expirationTime&&(e.expirationTime=t),Qa||(nl?rl&&(Ja=e,Za=1073741823,kl(e,1073741823,!1)):1073741823===t?El(1073741823,!1):fl(e,t))}function vl(){var e=0,t=null;if(null!==$a)for(var o=$a,n=Ya;null!==n;){var r=n.expirationTime;if(0===r){if((null===o||null===$a)&&l("244"),n===n.nextScheduledRoot){Ya=$a=n.nextScheduledRoot=null;break}if(n===Ya)Ya=r=n.nextScheduledRoot,$a.nextScheduledRoot=r,n.nextScheduledRoot=null;else{if(n===$a){($a=o).nextScheduledRoot=Ya,n.nextScheduledRoot=null;break}o.nextScheduledRoot=n.nextScheduledRoot,n.nextScheduledRoot=null}n=o.nextScheduledRoot}else{if(r>e&&(e=r,t=n),n===$a)break;if(1073741823===e)break;o=n,n=n.nextScheduledRoot}}Ja=t,Za=e}var yl=!1;function wl(){return!!yl||!!i.unstable_shouldYield()&&(yl=!0)}function xl(){try{if(!wl()&&null!==Ya){pl();var e=Ya;do{var t=e.expirationTime;0!==t&&ll<=t&&(e.nextExpirationTimeToWorkOn=ll),e=e.nextScheduledRoot}while(e!==Ya)}El(0,!0)}finally{yl=!1}}function El(e,t){if(vl(),t)for(pl(),sl=ll;null!==Ja&&0!==Za&&e<=Za&&!(yl&&ll>Za);)kl(Ja,Za,ll>Za),vl(),pl(),sl=ll;else for(;null!==Ja&&0!==Za&&e<=Za;)kl(Ja,Za,!1),vl();if(t&&(Ka=0,Xa=null),0!==Za&&fl(Ja,Za),ul=0,dl=null,null!==il)for(e=il,il=null,t=0;t<e.length;t++){var o=e[t];try{o._onComplete()}catch(e){tl||(tl=!0,ol=e)}}if(tl)throw e=ol,ol=null,tl=!1,e}function Cl(e,t){Qa&&l("253"),Ja=e,Za=t,kl(e,t,!1),El(1073741823,!1)}function kl(e,t,o){if(Qa&&l("245"),Qa=!0,o){var n=e.finishedWork;null!==n?Sl(e,n,t):(e.finishedWork=null,-1!==(n=e.timeoutHandle)&&(e.timeoutHandle=-1,Cn(n)),Fa(e,o),null!==(n=e.finishedWork)&&(wl()?e.finishedWork=n:Sl(e,n,t)))}else null!==(n=e.finishedWork)?Sl(e,n,t):(e.finishedWork=null,-1!==(n=e.timeoutHandle)&&(e.timeoutHandle=-1,Cn(n)),Fa(e,o),null!==(n=e.finishedWork)&&Sl(e,n,t));Qa=!1}function Sl(e,t,o){var n=e.firstBatch;if(null!==n&&n._expirationTime>=o&&(null===il?il=[n]:il.push(n),n._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===dl?ul++:(dl=e,ul=0),i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){za(e,t)}))}function Rl(e){null===Ja&&l("246"),Ja.expirationTime=0,tl||(tl=!0,ol=e)}function Tl(e,t){var o=nl;nl=!0;try{return e(t)}finally{(nl=o)||Qa||El(1073741823,!1)}}function Dl(e,t){if(nl&&!rl){rl=!0;try{return e(t)}finally{rl=!1}}return e(t)}function Ml(e,t,o){nl||Qa||0===el||(El(el,!1),el=0);var n=nl;nl=!0;try{return i.unstable_runWithPriority(i.unstable_UserBlockingPriority,(function(){return e(t,o)}))}finally{(nl=n)||Qa||El(1073741823,!1)}}function Al(e,t,o,n,r){var i=t.current;e:if(o){t:{2===no(o=o._reactInternalFiber)&&1===o.tag||l("170");var a=o;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(jn(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);l("171"),a=void 0}if(1===o.tag){var s=o.type;if(jn(s)){o=Bn(o,s,a);break e}}o=a}else o=_n;return null===t.context?t.context=o:t.pendingContext=o,t=r,(r=Ui(n)).payload={element:e},null!==(t=void 0===t?null:t)&&(r.callback=t),Na(),Vi(i,r),Ga(i,n),n}function Pl(e,t,o,n){var r=t.current;return Al(e,t,o,r=Ba(gl(),r),n)}function _l(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ol(e,t,o){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Xe,key:null==n?null:""+n,children:e,containerInfo:t,implementation:o}}function Ll(e){var t=1073741822-25*(1+((1073741822-gl()+500)/25|0));t>=ba&&(t=ba-1),this._expirationTime=ba=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Nl(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function zl(e,t,o){e={current:t=$n(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:o,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function jl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Il(e,t,o,n,r){var i=o._reactRootContainer;if(i){if("function"==typeof r){var a=r;r=function(){var e=_l(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,r):i.render(t,r)}else{if(i=o._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var o;o=e.lastChild;)e.removeChild(o);return new zl(e,!1,t)}(o,n),"function"==typeof r){var l=r;r=function(){var e=_l(i._internalRoot);l.call(e)}}Dl((function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,r):i.render(t,r)}))}return _l(i._internalRoot)}function Fl(e,t){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return jl(t)||l("200"),Ol(e,t,null,o)}De=function(e,t,o){switch(t){case"input":if(kt(e,o),t=o.name,"radio"===o.type&&null!=t){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var n=o[t];if(n!==e&&n.form===e.form){var r=H(n);r||l("90"),Ge(n),kt(n,r)}}}break;case"textarea":Zo(e,o);break;case"select":null!=(t=o.value)&&Xo(e,!!o.multiple,t,!1)}},Ll.prototype.render=function(e){this._defer||l("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,o=this._expirationTime,n=new Nl;return Al(e,t,null,o,n._onCommit),n},Ll.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Ll.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||l("251"),this._hasChildren){var o=this._expirationTime;if(t!==this){this._hasChildren&&(o=this._expirationTime=t._expirationTime,this.render(this._children));for(var n=null,r=t;r!==this;)n=r,r=r._next;null===n&&l("251"),n._next=r._next,this._next=t,e.firstBatch=this}this._defer=!1,Cl(e,o),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Ll.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Nl.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Nl.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var o=e[t];"function"!=typeof o&&l("191",o),o()}}},zl.prototype.render=function(e,t){var o=this._internalRoot,n=new Nl;return null!==(t=void 0===t?null:t)&&n.then(t),Pl(e,o,null,n._onCommit),n},zl.prototype.unmount=function(e){var t=this._internalRoot,o=new Nl;return null!==(e=void 0===e?null:e)&&o.then(e),Pl(null,t,null,o._onCommit),o},zl.prototype.legacy_renderSubtreeIntoContainer=function(e,t,o){var n=this._internalRoot,r=new Nl;return null!==(o=void 0===o?null:o)&&r.then(o),Pl(t,n,e,r._onCommit),r},zl.prototype.createBatch=function(){var e=new Ll(this),t=e._expirationTime,o=this._internalRoot,n=o.firstBatch;if(null===n)o.firstBatch=e,e._next=null;else{for(o=null;null!==n&&n._expirationTime>=t;)o=n,n=n._next;e._next=n,null!==o&&(o._next=e)}return e},Le=Tl,Ne=Ml,ze=function(){Qa||0===el||(El(el,!1),el=0)};var Hl,Bl,Ul={createPortal:Fl,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?l("188"):l("268",Object.keys(e))),e=null===(e=io(t))?null:e.stateNode},hydrate:function(e,t,o){return jl(t)||l("200"),Il(null,e,t,!0,o)},render:function(e,t,o){return jl(t)||l("200"),Il(null,e,t,!1,o)},unstable_renderSubtreeIntoContainer:function(e,t,o,n){return jl(o)||l("200"),(null==e||void 0===e._reactInternalFiber)&&l("38"),Il(e,t,o,!1,n)},unmountComponentAtNode:function(e){return jl(e)||l("40"),!!e._reactRootContainer&&(Dl((function(){Il(null,null,e,!1,(function(){e._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return Fl.apply(void 0,arguments)},unstable_batchedUpdates:Tl,unstable_interactiveUpdates:Ml,flushSync:function(e,t){Qa&&l("187");var o=nl;nl=!0;try{return qa(e,t)}finally{nl=o,El(1073741823,!1)}},unstable_createRoot:function(e,t){return jl(e)||l("299","unstable_createRoot"),new zl(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=nl;nl=!0;try{qa(e)}finally{(nl=t)||Qa||El(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[I,F,H,P.injectEventPluginsByName,w,q,function(e){D(e,G)},_e,Oe,Ao,O]}};Bl=(Hl={findFiberByHostInstance:j,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var o=t.inject(e);Vn=qn((function(e){return t.onCommitFiberRoot(o,e)})),Gn=qn((function(e){return t.onCommitFiberUnmount(o,e)}))}catch(e){}}(r({},Hl,{overrideProps:null,currentDispatcherRef:qe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=io(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Bl?Bl(e):null}}));var Wl={default:Ul},Vl=Wl&&Ul||Wl;e.exports=Vl.default||Vl},function(e,t,o){"use strict";e.exports=o(84)},function(e,t,o){"use strict";(function(e){
/** @license React v0.13.6
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
Object.defineProperty(t,"__esModule",{value:!0});var o=null,n=!1,r=3,i=-1,a=-1,l=!1,s=!1;function c(){if(!l){var e=o.expirationTime;s?C():s=!0,E(p,e)}}function u(){var e=o,t=o.next;if(o===t)o=null;else{var n=o.previous;o=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=r,l=a;r=e,a=t;try{var s=n()}finally{r=i,a=l}if("function"==typeof s)if(s={callback:s,priorityLevel:e,expirationTime:t,next:null,previous:null},null===o)o=s.next=s.previous=s;else{n=null,e=o;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==o);null===n?n=o:n===o&&(o=s,c()),(t=n.previous).next=n.previous=s,s.next=n,s.previous=t}}function d(){if(-1===i&&null!==o&&1===o.priorityLevel){l=!0;try{do{u()}while(null!==o&&1===o.priorityLevel)}finally{l=!1,null!==o?c():s=!1}}}function p(e){l=!0;var r=n;n=e;try{if(e)for(;null!==o;){var i=t.unstable_now();if(!(o.expirationTime<=i))break;do{u()}while(null!==o&&o.expirationTime<=i)}else if(null!==o)do{u()}while(null!==o&&!k())}finally{l=!1,n=r,null!==o?c():s=!1,d()}}var f,m,h=Date,g="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,v="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,y="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function w(e){f=v((function(t){b(m),e(t)})),m=g((function(){y(f),e(t.unstable_now())}),100)}if("object"==typeof performance&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return h.now()};var E,C,k,S=null;if("undefined"!=typeof window?S=window:void 0!==e&&(S=e),S&&S._schedMock){var R=S._schedMock;E=R[0],C=R[1],k=R[2],t.unstable_now=R[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var T=null,D=function(e){if(null!==T)try{T(e)}finally{T=null}};E=function(e){null!==T?setTimeout(E,0,e):(T=e,setTimeout(D,0,!1))},C=function(){T=null},k=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof v&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,A=!1,P=-1,_=!1,O=!1,L=0,N=33,z=33;k=function(){return L<=t.unstable_now()};var j=new MessageChannel,I=j.port2;j.port1.onmessage=function(){A=!1;var e=M,o=P;M=null,P=-1;var n=t.unstable_now(),r=!1;if(0>=L-n){if(!(-1!==o&&o<=n))return _||(_=!0,w(F)),M=e,void(P=o);r=!0}if(null!==e){O=!0;try{e(r)}finally{O=!1}}};var F=function(e){if(null!==M){w(F);var t=e-L+z;t<z&&N<z?(8>t&&(t=8),z=t<N?N:t):N=t,L=e+z,A||(A=!0,I.postMessage(void 0))}else _=!1};E=function(e,t){M=e,P=t,O||0>t?I.postMessage(void 0):_||(_=!0,w(F))},C=function(){M=null,A=!1,P=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,o){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=r,a=i;r=e,i=t.unstable_now();try{return o()}finally{r=n,i=a,d()}},t.unstable_next=function(e){switch(r){case 1:case 2:case 3:var o=3;break;default:o=r}var n=r,a=i;r=o,i=t.unstable_now();try{return e()}finally{r=n,i=a,d()}},t.unstable_scheduleCallback=function(e,n){var a=-1!==i?i:t.unstable_now();if("object"==typeof n&&null!==n&&"number"==typeof n.timeout)n=a+n.timeout;else switch(r){case 1:n=a+-1;break;case 2:n=a+250;break;case 5:n=a+1073741823;break;case 4:n=a+1e4;break;default:n=a+5e3}if(e={callback:e,priorityLevel:r,expirationTime:n,next:null,previous:null},null===o)o=e.next=e.previous=e,c();else{a=null;var l=o;do{if(l.expirationTime>n){a=l;break}l=l.next}while(l!==o);null===a?a=o:a===o&&(o=e,c()),(n=a.previous).next=a.previous=e,e.next=a,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)o=null;else{e===o&&(o=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var o=r;return function(){var n=r,a=i;r=o,i=t.unstable_now();try{return e.apply(this,arguments)}finally{r=n,i=a,d()}}},t.unstable_getCurrentPriorityLevel=function(){return r},t.unstable_shouldYield=function(){return!n&&(null!==o&&o.expirationTime<a||k())},t.unstable_continueExecution=function(){null!==o&&c()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return o}}).call(this,o(22))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(void 0===e)return void console.error("Autobind error: No context provided.");var t=Object.getPrototypeOf(e);r=arguments.length>1?Array.prototype.slice.call(arguments,1):Object.getOwnPropertyNames(t);r.forEach((function(e){var o=Object.getOwnPropertyDescriptor(t,e);void 0!==o?-1===n.indexOf(e)&&"function"==typeof o.value&&Object.defineProperty(t,e,i(t,e,o)):console.warn('Autobind: "'+e+'" method not found in class.')}))};var n=["constructor","render","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","componentDidUpdate","componentWillUnmount"],r=[];function i(e,t,o){var n=o.value;return{configurable:!0,get:function(){if(this===e||this.hasOwnProperty(t))return n;var o=n.bind(this);return Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0}),o}}}e.exports=t.default},function(e,t,o){var n;
/*!
 * jQuery JavaScript Library v3.5.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2020-05-04T22:49Z
 */!function(t,o){"use strict";"object"==typeof e.exports?e.exports=t.document?o(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return o(e)}:o(t)}("undefined"!=typeof window?window:this,(function(o,r){"use strict";var i=[],a=Object.getPrototypeOf,l=i.slice,s=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,d={},p=d.toString,f=d.hasOwnProperty,m=f.toString,h=m.call(Object),g={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},v=function(e){return null!=e&&e===e.window},y=o.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,o){var n,r,i=(o=o||y).createElement("script");if(i.text=e,t)for(n in w)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&i.setAttribute(n,r);o.head.appendChild(i).parentNode.removeChild(i)}function E(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var C=function(e,t){return new C.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,o=E(e);return!b(e)&&!v(e)&&("array"===o||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:"3.5.1",constructor:C,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,(function(t,o){return e.call(t,o,t)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,o=+e+(e<0?t:0);return this.pushStack(o>=0&&o<t?[this[o]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},C.extend=C.fn.extend=function(){var e,t,o,n,r,i,a=arguments[0]||{},l=1,s=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[l]||{},l++),"object"==typeof a||b(a)||(a={}),l===s&&(a=this,l--);l<s;l++)if(null!=(e=arguments[l]))for(t in e)n=e[t],"__proto__"!==t&&a!==n&&(c&&n&&(C.isPlainObject(n)||(r=Array.isArray(n)))?(o=a[t],i=r&&!Array.isArray(o)?[]:r||C.isPlainObject(o)?o:{},r=!1,a[t]=C.extend(c,i,n)):void 0!==n&&(a[t]=n));return a},C.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,o;return!(!e||"[object Object]"!==p.call(e))&&(!(t=a(e))||"function"==typeof(o=f.call(t,"constructor")&&t.constructor)&&m.call(o)===h)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,o){x(e,{nonce:t&&t.nonce},o)},each:function(e,t){var o,n=0;if(k(e))for(o=e.length;n<o&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var o=t||[];return null!=e&&(k(Object(e))?C.merge(o,"string"==typeof e?[e]:e):c.call(o,e)),o},inArray:function(e,t,o){return null==t?-1:u.call(t,e,o)},merge:function(e,t){for(var o=+t.length,n=0,r=e.length;n<o;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,o){for(var n=[],r=0,i=e.length,a=!o;r<i;r++)!t(e[r],r)!==a&&n.push(e[r]);return n},map:function(e,t,o){var n,r,i=0,a=[];if(k(e))for(n=e.length;i<n;i++)null!=(r=t(e[i],i,o))&&a.push(r);else for(i in e)null!=(r=t(e[i],i,o))&&a.push(r);return s(a)},guid:1,support:g}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=i[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var S=
/*!
   * Sizzle CSS Selector Engine v2.3.5
   * https://sizzlejs.com/
   *
   * Copyright JS Foundation and other contributors
   * Released under the MIT license
   * https://js.foundation/
   *
   * Date: 2020-03-14
   */
function(e){var t,o,n,r,i,a,l,s,c,u,d,p,f,m,h,g,b,v,y,w="sizzle"+1*new Date,x=e.document,E=0,C=0,k=se(),S=se(),R=se(),T=se(),D=function(e,t){return e===t&&(d=!0),0},M={}.hasOwnProperty,A=[],P=A.pop,_=A.push,O=A.push,L=A.slice,N=function(e,t){for(var o=0,n=e.length;o<n;o++)if(e[o]===t)return o;return-1},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+j+"*("+I+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+j+"*\\]",H=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",B=new RegExp(j+"+","g"),U=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),W=new RegExp("^"+j+"*,"+j+"*"),V=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),G=new RegExp(j+"|>"),q=new RegExp(H),Y=new RegExp("^"+I+"$"),$={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),oe=function(e,t){var o="0x"+e.slice(1)-65536;return t||(o<0?String.fromCharCode(o+65536):String.fromCharCode(o>>10|55296,1023&o|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){p()},ae=we((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(A=L.call(x.childNodes),x.childNodes),A[x.childNodes.length].nodeType}catch(e){O={apply:A.length?function(e,t){_.apply(e,L.call(t))}:function(e,t){for(var o=e.length,n=0;e[o++]=t[n++];);e.length=o-1}}}function le(e,t,n,r){var i,l,c,u,d,m,b,v=t&&t.ownerDocument,x=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return n;if(!r&&(p(t),t=t||f,h)){if(11!==x&&(d=Z.exec(e)))if(i=d[1]){if(9===x){if(!(c=t.getElementById(i)))return n;if(c.id===i)return n.push(c),n}else if(v&&(c=v.getElementById(i))&&y(t,c)&&c.id===i)return n.push(c),n}else{if(d[2])return O.apply(n,t.getElementsByTagName(e)),n;if((i=d[3])&&o.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(i)),n}if(o.qsa&&!T[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(b=e,v=t,1===x&&(G.test(e)||V.test(e))){for((v=ee.test(e)&&be(t.parentNode)||t)===t&&o.scope||((u=t.getAttribute("id"))?u=u.replace(ne,re):t.setAttribute("id",u=w)),l=(m=a(e)).length;l--;)m[l]=(u?"#"+u:":scope")+" "+ye(m[l]);b=m.join(",")}try{return O.apply(n,v.querySelectorAll(b)),n}catch(t){T(e,!0)}finally{u===w&&t.removeAttribute("id")}}}return s(e.replace(U,"$1"),t,n,r)}function se(){var e=[];return function t(o,r){return e.push(o+" ")>n.cacheLength&&delete t[e.shift()],t[o+" "]=r}}function ce(e){return e[w]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var o=e.split("|"),r=o.length;r--;)n.attrHandle[o[r]]=t}function pe(e,t){var o=t&&e,n=o&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(o)for(;o=o.nextSibling;)if(o===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var o=t.nodeName.toLowerCase();return("input"===o||"button"===o)&&t.type===e}}function he(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(o,n){for(var r,i=e([],o.length,t),a=i.length;a--;)o[r=i[a]]&&(o[r]=!(n[r]=o[r]))}))}))}function be(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in o=le.support={},i=le.isXML=function(e){var t=e.namespaceURI,o=(e.ownerDocument||e).documentElement;return!K.test(t||o&&o.nodeName||"HTML")},p=le.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:x;return a!=f&&9===a.nodeType&&a.documentElement?(m=(f=a).documentElement,h=!i(f),x!=f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ie,!1):r.attachEvent&&r.attachEvent("onunload",ie)),o.scope=ue((function(e){return m.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),o.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),o.getElementsByTagName=ue((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),o.getElementsByClassName=J.test(f.getElementsByClassName),o.getById=ue((function(e){return m.appendChild(e).id=w,!f.getElementsByName||!f.getElementsByName(w).length})),o.getById?(n.filter.ID=function(e){var t=e.replace(te,oe);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var o=t.getElementById(e);return o?[o]:[]}}):(n.filter.ID=function(e){var t=e.replace(te,oe);return function(e){var o=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return o&&o.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var o,n,r,i=t.getElementById(e);if(i){if((o=i.getAttributeNode("id"))&&o.value===e)return[i];for(r=t.getElementsByName(e),n=0;i=r[n++];)if((o=i.getAttributeNode("id"))&&o.value===e)return[i]}return[]}}),n.find.TAG=o.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):o.qsa?t.querySelectorAll(e):void 0}:function(e,t){var o,n=[],r=0,i=t.getElementsByTagName(e);if("*"===e){for(;o=i[r++];)1===o.nodeType&&n.push(o);return n}return i},n.find.CLASS=o.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&h)return t.getElementsByClassName(e)},b=[],g=[],(o.qsa=J.test(f.querySelectorAll))&&(ue((function(e){var t;m.appendChild(e).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+j+"*(?:value|"+z+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+j+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(o.matchesSelector=J.test(v=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&ue((function(e){o.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),b.push("!=",H)})),g=g.length&&new RegExp(g.join("|")),b=b.length&&new RegExp(b.join("|")),t=J.test(m.compareDocumentPosition),y=t||J.test(m.contains)?function(e,t){var o=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(o.contains?o.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return d=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!o.sortDetached&&t.compareDocumentPosition(e)===n?e==f||e.ownerDocument==x&&y(x,e)?-1:t==f||t.ownerDocument==x&&y(x,t)?1:u?N(u,e)-N(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return d=!0,0;var o,n=0,r=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!r||!i)return e==f?-1:t==f?1:r?-1:i?1:u?N(u,e)-N(u,t):0;if(r===i)return pe(e,t);for(o=e;o=o.parentNode;)a.unshift(o);for(o=t;o=o.parentNode;)l.unshift(o);for(;a[n]===l[n];)n++;return n?pe(a[n],l[n]):a[n]==x?-1:l[n]==x?1:0},f):f},le.matches=function(e,t){return le(e,null,null,t)},le.matchesSelector=function(e,t){if(p(e),o.matchesSelector&&h&&!T[t+" "]&&(!b||!b.test(t))&&(!g||!g.test(t)))try{var n=v.call(e,t);if(n||o.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){T(t,!0)}return le(t,f,null,[e]).length>0},le.contains=function(e,t){return(e.ownerDocument||e)!=f&&p(e),y(e,t)},le.attr=function(e,t){(e.ownerDocument||e)!=f&&p(e);var r=n.attrHandle[t.toLowerCase()],i=r&&M.call(n.attrHandle,t.toLowerCase())?r(e,t,!h):void 0;return void 0!==i?i:o.attributes||!h?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},le.escape=function(e){return(e+"").replace(ne,re)},le.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},le.uniqueSort=function(e){var t,n=[],r=0,i=0;if(d=!o.detectDuplicates,u=!o.sortStable&&e.slice(0),e.sort(D),d){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},r=le.getText=function(e){var t,o="",n=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)o+=r(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[n++];)o+=r(t);return o},(n=le.selectors={cacheLength:50,createPseudo:ce,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,oe),e[3]=(e[3]||e[4]||e[5]||"").replace(te,oe),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||le.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&le.error(e[0]),e},PSEUDO:function(e){var t,o=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":o&&q.test(o)&&(t=a(o,!0))&&(t=o.indexOf(")",o.length-t)-o.length)&&(e[0]=e[0].slice(0,t),e[2]=o.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,oe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&k(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,o){return function(n){var r=le.attr(n,e);return null==r?"!="===t:!t||(r+="","="===t?r===o:"!="===t?r!==o:"^="===t?o&&0===r.indexOf(o):"*="===t?o&&r.indexOf(o)>-1:"$="===t?o&&r.slice(-o.length)===o:"~="===t?(" "+r.replace(B," ")+" ").indexOf(o)>-1:"|="===t&&(r===o||r.slice(0,o.length+1)===o+"-"))}},CHILD:function(e,t,o,n,r){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),l="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,o,s){var c,u,d,p,f,m,h=i!==a?"nextSibling":"previousSibling",g=t.parentNode,b=l&&t.nodeName.toLowerCase(),v=!s&&!l,y=!1;if(g){if(i){for(;h;){for(p=t;p=p[h];)if(l?p.nodeName.toLowerCase()===b:1===p.nodeType)return!1;m=h="only"===e&&!m&&"nextSibling"}return!0}if(m=[a?g.firstChild:g.lastChild],a&&v){for(y=(f=(c=(u=(d=(p=g)[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===E&&c[1])&&c[2],p=f&&g.childNodes[f];p=++f&&p&&p[h]||(y=f=0)||m.pop();)if(1===p.nodeType&&++y&&p===t){u[e]=[E,f,y];break}}else if(v&&(y=f=(c=(u=(d=(p=t)[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===E&&c[1]),!1===y)for(;(p=++f&&p&&p[h]||(y=f=0)||m.pop())&&((l?p.nodeName.toLowerCase()!==b:1!==p.nodeType)||!++y||(v&&((u=(d=p[w]||(p[w]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[E,y]),p!==t)););return(y-=r)===n||y%n==0&&y/n>=0}}},PSEUDO:function(e,t){var o,r=n.pseudos[e]||n.setFilters[e.toLowerCase()]||le.error("unsupported pseudo: "+e);return r[w]?r(t):r.length>1?(o=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,o){for(var n,i=r(e,t),a=i.length;a--;)e[n=N(e,i[a])]=!(o[n]=i[a])})):function(e){return r(e,0,o)}):r}},pseudos:{not:ce((function(e){var t=[],o=[],n=l(e.replace(U,"$1"));return n[w]?ce((function(e,t,o,r){for(var i,a=n(e,null,r,[]),l=e.length;l--;)(i=a[l])&&(e[l]=!(t[l]=i))})):function(e,r,i){return t[0]=e,n(t,null,i,o),t[0]=null,!o.pop()}})),has:ce((function(e){return function(t){return le(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,oe),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:ce((function(e){return Y.test(e||"")||le.error("unsupported lang: "+e),e=e.replace(te,oe).toLowerCase(),function(t){var o;do{if(o=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(o=o.toLowerCase())===e||0===o.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var o=e.location&&e.location.hash;return o&&o.slice(1)===t.id},root:function(e){return e===m},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,o){return[o<0?o+t:o]})),even:ge((function(e,t){for(var o=0;o<t;o+=2)e.push(o);return e})),odd:ge((function(e,t){for(var o=1;o<t;o+=2)e.push(o);return e})),lt:ge((function(e,t,o){for(var n=o<0?o+t:o>t?t:o;--n>=0;)e.push(n);return e})),gt:ge((function(e,t,o){for(var n=o<0?o+t:o;++n<t;)e.push(n);return e}))}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=me(t);function ve(){}function ye(e){for(var t=0,o=e.length,n="";t<o;t++)n+=e[t].value;return n}function we(e,t,o){var n=t.dir,r=t.next,i=r||n,a=o&&"parentNode"===i,l=C++;return t.first?function(t,o,r){for(;t=t[n];)if(1===t.nodeType||a)return e(t,o,r);return!1}:function(t,o,s){var c,u,d,p=[E,l];if(s){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,o,s))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(u=(d=t[w]||(t[w]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[n]||t;else{if((c=u[i])&&c[0]===E&&c[1]===l)return p[2]=c[2];if(u[i]=p,p[2]=e(t,o,s))return!0}return!1}}function xe(e){return e.length>1?function(t,o,n){for(var r=e.length;r--;)if(!e[r](t,o,n))return!1;return!0}:e[0]}function Ee(e,t,o,n,r){for(var i,a=[],l=0,s=e.length,c=null!=t;l<s;l++)(i=e[l])&&(o&&!o(i,n,r)||(a.push(i),c&&t.push(l)));return a}function Ce(e,t,o,n,r,i){return n&&!n[w]&&(n=Ce(n)),r&&!r[w]&&(r=Ce(r,i)),ce((function(i,a,l,s){var c,u,d,p=[],f=[],m=a.length,h=i||function(e,t,o){for(var n=0,r=t.length;n<r;n++)le(e,t[n],o);return o}(t||"*",l.nodeType?[l]:l,[]),g=!e||!i&&t?h:Ee(h,p,e,l,s),b=o?r||(i?e:m||n)?[]:a:g;if(o&&o(g,b,l,s),n)for(c=Ee(b,f),n(c,[],l,s),u=c.length;u--;)(d=c[u])&&(b[f[u]]=!(g[f[u]]=d));if(i){if(r||e){if(r){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(g[u]=d);r(null,b=[],c,s)}for(u=b.length;u--;)(d=b[u])&&(c=r?N(i,d):p[u])>-1&&(i[c]=!(a[c]=d))}}else b=Ee(b===a?b.splice(m,b.length):b),r?r(null,a,b,s):O.apply(a,b)}))}function ke(e){for(var t,o,r,i=e.length,a=n.relative[e[0].type],l=a||n.relative[" "],s=a?1:0,u=we((function(e){return e===t}),l,!0),d=we((function(e){return N(t,e)>-1}),l,!0),p=[function(e,o,n){var r=!a&&(n||o!==c)||((t=o).nodeType?u(e,o,n):d(e,o,n));return t=null,r}];s<i;s++)if(o=n.relative[e[s].type])p=[we(xe(p),o)];else{if((o=n.filter[e[s].type].apply(null,e[s].matches))[w]){for(r=++s;r<i&&!n.relative[e[r].type];r++);return Ce(s>1&&xe(p),s>1&&ye(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(U,"$1"),o,s<r&&ke(e.slice(s,r)),r<i&&ke(e=e.slice(r)),r<i&&ye(e))}p.push(o)}return xe(p)}return ve.prototype=n.filters=n.pseudos,n.setFilters=new ve,a=le.tokenize=function(e,t){var o,r,i,a,l,s,c,u=S[e+" "];if(u)return t?0:u.slice(0);for(l=e,s=[],c=n.preFilter;l;){for(a in o&&!(r=W.exec(l))||(r&&(l=l.slice(r[0].length)||l),s.push(i=[])),o=!1,(r=V.exec(l))&&(o=r.shift(),i.push({value:o,type:r[0].replace(U," ")}),l=l.slice(o.length)),n.filter)!(r=$[a].exec(l))||c[a]&&!(r=c[a](r))||(o=r.shift(),i.push({value:o,type:a,matches:r}),l=l.slice(o.length));if(!o)break}return t?l.length:l?le.error(e):S(e,s).slice(0)},l=le.compile=function(e,t){var o,r=[],i=[],l=R[e+" "];if(!l){for(t||(t=a(e)),o=t.length;o--;)(l=ke(t[o]))[w]?r.push(l):i.push(l);(l=R(e,function(e,t){var o=t.length>0,r=e.length>0,i=function(i,a,l,s,u){var d,m,g,b=0,v="0",y=i&&[],w=[],x=c,C=i||r&&n.find.TAG("*",u),k=E+=null==x?1:Math.random()||.1,S=C.length;for(u&&(c=a==f||a||u);v!==S&&null!=(d=C[v]);v++){if(r&&d){for(m=0,a||d.ownerDocument==f||(p(d),l=!h);g=e[m++];)if(g(d,a||f,l)){s.push(d);break}u&&(E=k)}o&&((d=!g&&d)&&b--,i&&y.push(d))}if(b+=v,o&&v!==b){for(m=0;g=t[m++];)g(y,w,a,l);if(i){if(b>0)for(;v--;)y[v]||w[v]||(w[v]=P.call(s));w=Ee(w)}O.apply(s,w),u&&!i&&w.length>0&&b+t.length>1&&le.uniqueSort(s)}return u&&(E=k,c=x),y};return o?ce(i):i}(i,r))).selector=e}return l},s=le.select=function(e,t,o,r){var i,s,c,u,d,p="function"==typeof e&&e,f=!r&&a(e=p.selector||e);if(o=o||[],1===f.length){if((s=f[0]=f[0].slice(0)).length>2&&"ID"===(c=s[0]).type&&9===t.nodeType&&h&&n.relative[s[1].type]){if(!(t=(n.find.ID(c.matches[0].replace(te,oe),t)||[])[0]))return o;p&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(i=$.needsContext.test(e)?0:s.length;i--&&(c=s[i],!n.relative[u=c.type]);)if((d=n.find[u])&&(r=d(c.matches[0].replace(te,oe),ee.test(s[0].type)&&be(t.parentNode)||t))){if(s.splice(i,1),!(e=r.length&&ye(s)))return O.apply(o,r),o;break}}return(p||l(e,f))(r,t,!h,o,!t||ee.test(e)&&be(t.parentNode)||t),o},o.sortStable=w.split("").sort(D).join("")===w,o.detectDuplicates=!!d,p(),o.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,o){if(!o)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),o.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,o){if(!o&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(z,(function(e,t,o){var n;if(!o)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),le}(o);C.find=S,C.expr=S.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=S.uniqueSort,C.text=S.getText,C.isXMLDoc=S.isXML,C.contains=S.contains,C.escapeSelector=S.escape;var R=function(e,t,o){for(var n=[],r=void 0!==o;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&C(e).is(o))break;n.push(e)}return n},T=function(e,t){for(var o=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&o.push(e);return o},D=C.expr.match.needsContext;function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,o){return b(t)?C.grep(e,(function(e,n){return!!t.call(e,n,e)!==o})):t.nodeType?C.grep(e,(function(e){return e===t!==o})):"string"!=typeof t?C.grep(e,(function(e){return u.call(t,e)>-1!==o})):C.filter(t,e,o)}C.filter=function(e,t,o){var n=t[0];return o&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?C.find.matchesSelector(n,e)?[n]:[]:C.find.matches(e,C.grep(t,(function(e){return 1===e.nodeType})))},C.fn.extend({find:function(e){var t,o,n=this.length,r=this;if("string"!=typeof e)return this.pushStack(C(e).filter((function(){for(t=0;t<n;t++)if(C.contains(r[t],this))return!0})));for(o=this.pushStack([]),t=0;t<n;t++)C.find(e,r[t],o);return n>1?C.uniqueSort(o):o},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&D.test(e)?C(e):e||[],!1).length}});var _,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,o){var n,r;if(!e)return this;if(o=o||_,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:O.exec(e))||!n[1]&&t)return!t||t.jquery?(t||o).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),A.test(n[1])&&C.isPlainObject(t))for(n in t)b(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=y.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==o.ready?o.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,_=C(y);var L=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),o=t.length;return this.filter((function(){for(var e=0;e<o;e++)if(C.contains(this,t[e]))return!0}))},closest:function(e,t){var o,n=0,r=this.length,i=[],a="string"!=typeof e&&C(e);if(!D.test(e))for(;n<r;n++)for(o=this[n];o&&o!==t;o=o.parentNode)if(o.nodeType<11&&(a?a.index(o)>-1:1===o.nodeType&&C.find.matchesSelector(o,e))){i.push(o);break}return this.pushStack(i.length>1?C.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(C(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return R(e,"parentNode")},parentsUntil:function(e,t,o){return R(e,"parentNode",o)},next:function(e){return z(e,"nextSibling")},prev:function(e){return z(e,"previousSibling")},nextAll:function(e){return R(e,"nextSibling")},prevAll:function(e){return R(e,"previousSibling")},nextUntil:function(e,t,o){return R(e,"nextSibling",o)},prevUntil:function(e,t,o){return R(e,"previousSibling",o)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(M(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},(function(e,t){C.fn[e]=function(o,n){var r=C.map(this,t,o);return"Until"!==e.slice(-5)&&(n=o),n&&"string"==typeof n&&(r=C.filter(n,r)),this.length>1&&(N[e]||C.uniqueSort(r),L.test(e)&&r.reverse()),this.pushStack(r)}}));var j=/[^\x20\t\r\n\f]+/g;function I(e){return e}function F(e){throw e}function H(e,t,o,n){var r;try{e&&b(r=e.promise)?r.call(e).done(t).fail(o):e&&b(r=e.then)?r.call(e,t,o):t.apply(void 0,[e].slice(n))}catch(e){o.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(j)||[],(function(e,o){t[o]=!0})),t}(e):C.extend({},e);var t,o,n,r,i=[],a=[],l=-1,s=function(){for(r=r||e.once,n=t=!0;a.length;l=-1)for(o=a.shift();++l<i.length;)!1===i[l].apply(o[0],o[1])&&e.stopOnFalse&&(l=i.length,o=!1);e.memory||(o=!1),t=!1,r&&(i=o?[]:"")},c={add:function(){return i&&(o&&!t&&(l=i.length-1,a.push(o)),function t(o){C.each(o,(function(o,n){b(n)?e.unique&&c.has(n)||i.push(n):n&&n.length&&"string"!==E(n)&&t(n)}))}(arguments),o&&!t&&s()),this},remove:function(){return C.each(arguments,(function(e,t){for(var o;(o=C.inArray(t,i,o))>-1;)i.splice(o,1),o<=l&&l--})),this},has:function(e){return e?C.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return r=a=[],i=o="",this},disabled:function(){return!i},lock:function(){return r=a=[],o||t||(i=o=""),this},locked:function(){return!!r},fireWith:function(e,o){return r||(o=[e,(o=o||[]).slice?o.slice():o],a.push(o),t||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return C.Deferred((function(o){C.each(t,(function(t,n){var r=b(e[n[4]])&&e[n[4]];i[n[1]]((function(){var e=r&&r.apply(this,arguments);e&&b(e.promise)?e.promise().progress(o.notify).done(o.resolve).fail(o.reject):o[n[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,r){var i=0;function a(e,t,n,r){return function(){var l=this,s=arguments,c=function(){var o,c;if(!(e<i)){if((o=n.apply(l,s))===t.promise())throw new TypeError("Thenable self-resolution");c=o&&("object"==typeof o||"function"==typeof o)&&o.then,b(c)?r?c.call(o,a(i,t,I,r),a(i,t,F,r)):(i++,c.call(o,a(i,t,I,r),a(i,t,F,r),a(i,t,I,t.notifyWith))):(n!==I&&(l=void 0,s=[o]),(r||t.resolveWith)(l,s))}},u=r?c:function(){try{c()}catch(o){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(o,u.stackTrace),e+1>=i&&(n!==F&&(l=void 0,s=[o]),t.rejectWith(l,s))}};e?u():(C.Deferred.getStackHook&&(u.stackTrace=C.Deferred.getStackHook()),o.setTimeout(u))}}return C.Deferred((function(o){t[0][3].add(a(0,o,b(r)?r:I,o.notifyWith)),t[1][3].add(a(0,o,b(e)?e:I)),t[2][3].add(a(0,o,b(n)?n:F))})).promise()},promise:function(e){return null!=e?C.extend(e,r):r}},i={};return C.each(t,(function(e,o){var a=o[2],l=o[5];r[o[1]]=a.add,l&&a.add((function(){n=l}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(o[3].fire),i[o[0]]=function(){return i[o[0]+"With"](this===i?void 0:this,arguments),this},i[o[0]+"With"]=a.fireWith})),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,o=t,n=Array(o),r=l.call(arguments),i=C.Deferred(),a=function(e){return function(o){n[e]=this,r[e]=arguments.length>1?l.call(arguments):o,--t||i.resolveWith(n,r)}};if(t<=1&&(H(e,i.done(a(o)).resolve,i.reject,!t),"pending"===i.state()||b(r[o]&&r[o].then)))return i.then();for(;o--;)H(r[o],a(o),i.reject);return i.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){o.console&&o.console.warn&&e&&B.test(e.name)&&o.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){o.setTimeout((function(){throw e}))};var U=C.Deferred();function W(){y.removeEventListener("DOMContentLoaded",W),o.removeEventListener("load",W),C.ready()}C.fn.ready=function(e){return U.then(e).catch((function(e){C.readyException(e)})),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||U.resolveWith(y,[C]))}}),C.ready.then=U.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?o.setTimeout(C.ready):(y.addEventListener("DOMContentLoaded",W),o.addEventListener("load",W));var V=function(e,t,o,n,r,i,a){var l=0,s=e.length,c=null==o;if("object"===E(o))for(l in r=!0,o)V(e,t,l,o[l],!0,i,a);else if(void 0!==n&&(r=!0,b(n)||(a=!0),c&&(a?(t.call(e,n),t=null):(c=t,t=function(e,t,o){return c.call(C(e),o)})),t))for(;l<s;l++)t(e[l],o,a?n:n.call(e[l],l,t(e[l],o)));return r?e:c?t.call(e):s?t(e[0],o):i},G=/^-ms-/,q=/-([a-z])/g;function Y(e,t){return t.toUpperCase()}function $(e){return e.replace(G,"ms-").replace(q,Y)}var K=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=C.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},K(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,o){var n,r=this.cache(e);if("string"==typeof t)r[$(t)]=o;else for(n in t)r[$(n)]=t[n];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][$(t)]},access:function(e,t,o){return void 0===t||t&&"string"==typeof t&&void 0===o?this.get(e,t):(this.set(e,t,o),void 0!==o?o:t)},remove:function(e,t){var o,n=e[this.expando];if(void 0!==n){if(void 0!==t){o=(t=Array.isArray(t)?t.map($):(t=$(t))in n?[t]:t.match(j)||[]).length;for(;o--;)delete n[t[o]]}(void 0===t||C.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var Q=new X,J=new X,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,o){var n;if(void 0===o&&1===e.nodeType)if(n="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(o=e.getAttribute(n))){try{o=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}(o)}catch(e){}J.set(e,t,o)}else o=void 0;return o}C.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,o){return J.access(e,t,o)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,o){return Q.access(e,t,o)},_removeData:function(e,t){Q.remove(e,t)}}),C.fn.extend({data:function(e,t){var o,n,r,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(r=J.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(o=a.length;o--;)a[o]&&0===(n=a[o].name).indexOf("data-")&&(n=$(n.slice(5)),te(i,n,r[n]));Q.set(i,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){J.set(this,e)})):V(this,(function(t){var o;if(i&&void 0===t)return void 0!==(o=J.get(i,e))||void 0!==(o=te(i,e))?o:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),C.extend({queue:function(e,t,o){var n;if(e)return t=(t||"fx")+"queue",n=Q.get(e,t),o&&(!n||Array.isArray(o)?n=Q.access(e,t,C.makeArray(o)):n.push(o)),n||[]},dequeue:function(e,t){t=t||"fx";var o=C.queue(e,t),n=o.length,r=o.shift(),i=C._queueHooks(e,t);"inprogress"===r&&(r=o.shift(),n--),r&&("fx"===t&&o.unshift("inprogress"),delete i.stop,r.call(e,(function(){C.dequeue(e,t)}),i)),!n&&i&&i.empty.fire()},_queueHooks:function(e,t){var o=t+"queueHooks";return Q.get(e,o)||Q.access(e,o,{empty:C.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",o])}))})}}),C.fn.extend({queue:function(e,t){var o=2;return"string"!=typeof e&&(t=e,e="fx",o--),arguments.length<o?C.queue(this[0],e):void 0===t?this:this.each((function(){var o=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==o[0]&&C.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){C.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var o,n=1,r=C.Deferred(),i=this,a=this.length,l=function(){--n||r.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(o=Q.get(i[a],e+"queueHooks"))&&o.empty&&(n++,o.empty.add(l));return l(),r.promise(t)}});var oe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+oe+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ie=y.documentElement,ae=function(e){return C.contains(e.ownerDocument,e)},le={composed:!0};ie.getRootNode&&(ae=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===C.css(e,"display")};function ce(e,t,o,n){var r,i,a=20,l=n?function(){return n.cur()}:function(){return C.css(e,t,"")},s=l(),c=o&&o[3]||(C.cssNumber[t]?"":"px"),u=e.nodeType&&(C.cssNumber[t]||"px"!==c&&+s)&&ne.exec(C.css(e,t));if(u&&u[3]!==c){for(s/=2,c=c||u[3],u=+s||1;a--;)C.style(e,t,u+c),(1-i)*(1-(i=l()/s||.5))<=0&&(a=0),u/=i;u*=2,C.style(e,t,u+c),o=o||[]}return o&&(u=+u||+s||0,r=o[1]?u+(o[1]+1)*o[2]:+o[2],n&&(n.unit=c,n.start=u,n.end=r)),r}var ue={};function de(e){var t,o=e.ownerDocument,n=e.nodeName,r=ue[n];return r||(t=o.body.appendChild(o.createElement(n)),r=C.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),ue[n]=r,r)}function pe(e,t){for(var o,n,r=[],i=0,a=e.length;i<a;i++)(n=e[i]).style&&(o=n.style.display,t?("none"===o&&(r[i]=Q.get(n,"display")||null,r[i]||(n.style.display="")),""===n.style.display&&se(n)&&(r[i]=de(n))):"none"!==o&&(r[i]="none",Q.set(n,"display",o)));for(i=0;i<a;i++)null!=r[i]&&(e[i].style.display=r[i]);return e}C.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){se(this)?C(this).show():C(this).hide()}))}});var fe,me,he=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i;fe=y.createDocumentFragment().appendChild(y.createElement("div")),(me=y.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),fe.appendChild(me),g.checkClone=fe.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!fe.cloneNode(!0).lastChild.defaultValue,fe.innerHTML="<option></option>",g.option=!!fe.lastChild;var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var o;return o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?C.merge([e],o):o}function we(e,t){for(var o=0,n=e.length;o<n;o++)Q.set(e[o],"globalEval",!t||Q.get(t[o],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,g.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var xe=/<|&#?\w+;/;function Ee(e,t,o,n,r){for(var i,a,l,s,c,u,d=t.createDocumentFragment(),p=[],f=0,m=e.length;f<m;f++)if((i=e[f])||0===i)if("object"===E(i))C.merge(p,i.nodeType?[i]:i);else if(xe.test(i)){for(a=a||d.appendChild(t.createElement("div")),l=(ge.exec(i)||["",""])[1].toLowerCase(),s=ve[l]||ve._default,a.innerHTML=s[1]+C.htmlPrefilter(i)+s[2],u=s[0];u--;)a=a.lastChild;C.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(i));for(d.textContent="",f=0;i=p[f++];)if(n&&C.inArray(i,n)>-1)r&&r.push(i);else if(c=ae(i),a=ye(d.appendChild(i),"script"),c&&we(a),o)for(u=0;i=a[u++];)be.test(i.type||"")&&o.push(i);return d}var Ce=/^key/,ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Se=/^([^.]*)(?:\.(.+)|)/;function Re(){return!0}function Te(){return!1}function De(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Me(e,t,o,n,r,i){var a,l;if("object"==typeof t){for(l in"string"!=typeof o&&(n=n||o,o=void 0),t)Me(e,l,o,n,t[l],i);return e}if(null==n&&null==r?(r=o,n=o=void 0):null==r&&("string"==typeof o?(r=n,n=void 0):(r=n,n=o,o=void 0)),!1===r)r=Te;else if(!r)return e;return 1===i&&(a=r,(r=function(e){return C().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),e.each((function(){C.event.add(this,t,r,n,o)}))}function Ae(e,t,o){o?(Q.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var n,r,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=l.call(arguments),Q.set(this,t,i),n=o(this,t),this[t](),i!==(r=Q.get(this,t))||n?Q.set(this,t,!1):r={},i!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else i.length&&(Q.set(this,t,{value:C.event.trigger(C.extend(i[0],C.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&C.event.add(e,t,Re)}C.event={global:{},add:function(e,t,o,n,r){var i,a,l,s,c,u,d,p,f,m,h,g=Q.get(e);if(K(e))for(o.handler&&(o=(i=o).handler,r=i.selector),r&&C.find.matchesSelector(ie,r),o.guid||(o.guid=C.guid++),(s=g.events)||(s=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(j)||[""]).length;c--;)f=h=(l=Se.exec(t[c])||[])[1],m=(l[2]||"").split(".").sort(),f&&(d=C.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=C.event.special[f]||{},u=C.extend({type:f,origType:h,data:n,handler:o,guid:o.guid,selector:r,needsContext:r&&C.expr.match.needsContext.test(r),namespace:m.join(".")},i),(p=s[f])||((p=s[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,m,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=o.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),C.event.global[f]=!0)},remove:function(e,t,o,n,r){var i,a,l,s,c,u,d,p,f,m,h,g=Q.hasData(e)&&Q.get(e);if(g&&(s=g.events)){for(c=(t=(t||"").match(j)||[""]).length;c--;)if(f=h=(l=Se.exec(t[c])||[])[1],m=(l[2]||"").split(".").sort(),f){for(d=C.event.special[f]||{},p=s[f=(n?d.delegateType:d.bindType)||f]||[],l=l[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)u=p[i],!r&&h!==u.origType||o&&o.guid!==u.guid||l&&!l.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(p.splice(i,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,m,g.handle)||C.removeEvent(e,f,g.handle),delete s[f])}else for(f in s)C.event.remove(e,f+t[c],o,n,!0);C.isEmptyObject(s)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,o,n,r,i,a,l=new Array(arguments.length),s=C.event.fix(e),c=(Q.get(this,"events")||Object.create(null))[s.type]||[],u=C.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(a=C.event.handlers.call(this,s,c),t=0;(r=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==i.namespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(n=((C.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,l))&&!1===(s.result=n)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var o,n,r,i,a,l=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},o=0;o<s;o++)void 0===a[r=(n=t[o]).selector+" "]&&(a[r]=n.needsContext?C(r,this).index(c)>-1:C.find(r,this,null,[c]).length),a[r]&&i.push(n);i.length&&l.push({elem:c,handlers:i})}return c=this,s<t.length&&l.push({elem:c,handlers:t.slice(s)}),l},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:b(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return he.test(t.type)&&t.click&&M(t,"input")&&Ae(t,"click",Re),!1},trigger:function(e){var t=this||e;return he.test(t.type)&&t.click&&M(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return he.test(t.type)&&t.click&&M(t,"input")&&Q.get(t,"click")||M(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,o){e.removeEventListener&&e.removeEventListener(t,o)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Re:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Re,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Re,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Re,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ce.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&ke.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(e,t){C.event.special[e]={setup:function(){return Ae(this,e,De),!1},trigger:function(){return Ae(this,e),!0},delegateType:t}})),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var o,n=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===n||C.contains(n,r))||(e.type=i.origType,o=i.handler.apply(this,arguments),e.type=t),o}}})),C.fn.extend({on:function(e,t,o,n){return Me(this,e,t,o,n)},one:function(e,t,o,n){return Me(this,e,t,o,n,1)},off:function(e,t,o){var n,r;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,C(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(o=t,t=void 0),!1===o&&(o=Te),this.each((function(){C.event.remove(this,e,o,t)}))}});var Pe=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ze(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function je(e,t){var o,n,r,i,a,l;if(1===t.nodeType){if(Q.hasData(e)&&(l=Q.get(e).events))for(r in Q.remove(t,"handle events"),l)for(o=0,n=l[r].length;o<n;o++)C.event.add(t,r,l[r][o]);J.hasData(e)&&(i=J.access(e),a=C.extend({},i),J.set(t,a))}}function Ie(e,t){var o=t.nodeName.toLowerCase();"input"===o&&he.test(e.type)?t.checked=e.checked:"input"!==o&&"textarea"!==o||(t.defaultValue=e.defaultValue)}function Fe(e,t,o,n){t=s(t);var r,i,a,l,c,u,d=0,p=e.length,f=p-1,m=t[0],h=b(m);if(h||p>1&&"string"==typeof m&&!g.checkClone&&_e.test(m))return e.each((function(r){var i=e.eq(r);h&&(t[0]=m.call(this,r,i.html())),Fe(i,t,o,n)}));if(p&&(i=(r=Ee(t,e[0].ownerDocument,!1,e,n)).firstChild,1===r.childNodes.length&&(r=i),i||n)){for(l=(a=C.map(ye(r,"script"),Ne)).length;d<p;d++)c=r,d!==f&&(c=C.clone(c,!0,!0),l&&C.merge(a,ye(c,"script"))),o.call(e[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,C.map(a,ze),d=0;d<l;d++)c=a[d],be.test(c.type||"")&&!Q.access(c,"globalEval")&&C.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?C._evalUrl&&!c.noModule&&C._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Oe,""),c,u))}return e}function He(e,t,o){for(var n,r=t?C.filter(t,e):e,i=0;null!=(n=r[i]);i++)o||1!==n.nodeType||C.cleanData(ye(n)),n.parentNode&&(o&&ae(n)&&we(ye(n,"script")),n.parentNode.removeChild(n));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,o){var n,r,i,a,l=e.cloneNode(!0),s=ae(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(a=ye(l),n=0,r=(i=ye(e)).length;n<r;n++)Ie(i[n],a[n]);if(t)if(o)for(i=i||ye(e),a=a||ye(l),n=0,r=i.length;n<r;n++)je(i[n],a[n]);else je(e,l);return(a=ye(l,"script")).length>0&&we(a,!s&&ye(e,"script")),l},cleanData:function(e){for(var t,o,n,r=C.event.special,i=0;void 0!==(o=e[i]);i++)if(K(o)){if(t=o[Q.expando]){if(t.events)for(n in t.events)r[n]?C.event.remove(o,n):C.removeEvent(o,n,t.handle);o[Q.expando]=void 0}o[J.expando]&&(o[J.expando]=void 0)}}}),C.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return V(this,(function(e){return void 0===e?C.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Fe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)}))},prepend:function(){return Fe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return C.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},o=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Pe.test(e)&&!ve[(ge.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;o<n;o++)1===(t=this[o]||{}).nodeType&&(C.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Fe(this,arguments,(function(t){var o=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(ye(this)),o&&o.replaceChild(t,this))}),e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){C.fn[e]=function(e){for(var o,n=[],r=C(e),i=r.length-1,a=0;a<=i;a++)o=a===i?this:this.clone(!0),C(r[a])[t](o),c.apply(n,o.get());return this.pushStack(n)}}));var Be=new RegExp("^("+oe+")(?!px)[a-z%]+$","i"),Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=o),t.getComputedStyle(e)},We=function(e,t,o){var n,r,i={};for(r in t)i[r]=e.style[r],e.style[r]=t[r];for(r in n=o.call(e),t)e.style[r]=i[r];return n},Ve=new RegExp(re.join("|"),"i");function Ge(e,t,o){var n,r,i,a,l=e.style;return(o=o||Ue(e))&&(""!==(a=o.getPropertyValue(t)||o[t])||ae(e)||(a=C.style(e,t)),!g.pixelBoxStyles()&&Be.test(a)&&Ve.test(t)&&(n=l.width,r=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=o.width,l.width=n,l.minWidth=r,l.maxWidth=i)),void 0!==a?a+"":a}function qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(c).appendChild(u);var e=o.getComputedStyle(u);n="1%"!==e.top,s=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),r=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ie.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,a,l,s,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(g,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==l&&(e=y.createElement("table"),t=y.createElement("tr"),n=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",ie.appendChild(e).appendChild(t).appendChild(n),r=o.getComputedStyle(t),l=parseInt(r.height)>3,ie.removeChild(e)),l}}))}();var Ye=["Webkit","Moz","ms"],$e=y.createElement("div").style,Ke={};function Xe(e){var t=C.cssProps[e]||Ke[e];return t||(e in $e?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),o=Ye.length;o--;)if((e=Ye[o]+t)in $e)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Je=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,o){var n=ne.exec(t);return n?Math.max(0,n[2]-(o||0))+(n[3]||"px"):t}function ot(e,t,o,n,r,i){var a="width"===t?1:0,l=0,s=0;if(o===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===o&&(s+=C.css(e,o+re[a],!0,r)),n?("content"===o&&(s-=C.css(e,"padding"+re[a],!0,r)),"margin"!==o&&(s-=C.css(e,"border"+re[a]+"Width",!0,r))):(s+=C.css(e,"padding"+re[a],!0,r),"padding"!==o?s+=C.css(e,"border"+re[a]+"Width",!0,r):l+=C.css(e,"border"+re[a]+"Width",!0,r));return!n&&i>=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-s-l-.5))||0),s}function nt(e,t,o){var n=Ue(e),r=(!g.boxSizingReliable()||o)&&"border-box"===C.css(e,"boxSizing",!1,n),i=r,a=Ge(e,t,n),l="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!o)return a;a="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&M(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===C.css(e,"display",!1,n))&&e.getClientRects().length&&(r="border-box"===C.css(e,"boxSizing",!1,n),(i=l in e)&&(a=e[l])),(a=parseFloat(a)||0)+ot(e,t,o||(r?"border":"content"),i,n,a)+"px"}function rt(e,t,o,n,r){return new rt.prototype.init(e,t,o,n,r)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var o=Ge(e,"opacity");return""===o?"1":o}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,o,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,i,a,l=$(t),s=Je.test(t),c=e.style;if(s||(t=Xe(l)),a=C.cssHooks[t]||C.cssHooks[l],void 0===o)return a&&"get"in a&&void 0!==(r=a.get(e,!1,n))?r:c[t];"string"===(i=typeof o)&&(r=ne.exec(o))&&r[1]&&(o=ce(e,t,r),i="number"),null!=o&&o==o&&("number"!==i||s||(o+=r&&r[3]||(C.cssNumber[l]?"":"px")),g.clearCloneStyle||""!==o||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(o=a.set(e,o,n))||(s?c.setProperty(t,o):c[t]=o))}},css:function(e,t,o,n){var r,i,a,l=$(t);return Je.test(t)||(t=Xe(l)),(a=C.cssHooks[t]||C.cssHooks[l])&&"get"in a&&(r=a.get(e,!0,o)),void 0===r&&(r=Ge(e,t,n)),"normal"===r&&t in et&&(r=et[t]),""===o||o?(i=parseFloat(r),!0===o||isFinite(i)?i||0:r):r}}),C.each(["height","width"],(function(e,t){C.cssHooks[t]={get:function(e,o,n){if(o)return!Qe.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,n):We(e,Ze,(function(){return nt(e,t,n)}))},set:function(e,o,n){var r,i=Ue(e),a=!g.scrollboxSize()&&"absolute"===i.position,l=(a||n)&&"border-box"===C.css(e,"boxSizing",!1,i),s=n?ot(e,t,n,l,i):0;return l&&a&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ot(e,t,"border",!1,i)-.5)),s&&(r=ne.exec(o))&&"px"!==(r[3]||"px")&&(e.style[t]=o,o=C.css(e,t)),tt(0,o,s)}}})),C.cssHooks.marginLeft=qe(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(e,t){C.cssHooks[e+t]={expand:function(o){for(var n=0,r={},i="string"==typeof o?o.split(" "):[o];n<4;n++)r[e+re[n]+t]=i[n]||i[n-2]||i[0];return r}},"margin"!==e&&(C.cssHooks[e+t].set=tt)})),C.fn.extend({css:function(e,t){return V(this,(function(e,t,o){var n,r,i={},a=0;if(Array.isArray(t)){for(n=Ue(e),r=t.length;a<r;a++)i[t[a]]=C.css(e,t[a],!1,n);return i}return void 0!==o?C.style(e,t,o):C.css(e,t)}),e,t,arguments.length>1)}}),C.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,o,n,r,i){this.elem=e,this.prop=o,this.easing=r||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=i||(C.cssNumber[o]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,o=rt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=rt.prototype.init,C.fx.step={};var it,at,lt=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){at&&(!1===y.hidden&&o.requestAnimationFrame?o.requestAnimationFrame(ct):o.setTimeout(ct,C.fx.interval),C.fx.tick())}function ut(){return o.setTimeout((function(){it=void 0})),it=Date.now()}function dt(e,t){var o,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(o=re[n])]=r["padding"+o]=e;return t&&(r.opacity=r.width=e),r}function pt(e,t,o){for(var n,r=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),i=0,a=r.length;i<a;i++)if(n=r[i].call(o,t,e))return n}function ft(e,t,o){var n,r,i=0,a=ft.prefilters.length,l=C.Deferred().always((function(){delete s.elem})),s=function(){if(r)return!1;for(var t=it||ut(),o=Math.max(0,c.startTime+c.duration-t),n=1-(o/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(n);return l.notifyWith(e,[c,n,o]),n<1&&a?o:(a||l.notifyWith(e,[c,1,0]),l.resolveWith(e,[c]),!1)},c=l.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},o),originalProperties:t,originalOptions:o,startTime:it||ut(),duration:o.duration,tweens:[],createTween:function(t,o){var n=C.Tween(e,c.opts,t,o,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var o=0,n=t?c.tweens.length:0;if(r)return this;for(r=!0;o<n;o++)c.tweens[o].run(1);return t?(l.notifyWith(e,[c,1,0]),l.resolveWith(e,[c,t])):l.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var o,n,r,i,a;for(o in e)if(r=t[n=$(o)],i=e[o],Array.isArray(i)&&(r=i[1],i=e[o]=i[0]),o!==n&&(e[n]=i,delete e[o]),(a=C.cssHooks[n])&&"expand"in a)for(o in i=a.expand(i),delete e[n],i)o in e||(e[o]=i[o],t[o]=r);else t[n]=r}(u,c.opts.specialEasing);i<a;i++)if(n=ft.prefilters[i].call(c,e,u,c.opts))return b(n.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return C.map(u,pt,c),b(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),C.fx.timer(C.extend(s,{elem:e,anim:c,queue:c.opts.queue})),c}C.Animation=C.extend(ft,{tweeners:{"*":[function(e,t){var o=this.createTween(e,t);return ce(o.elem,e,ne.exec(t),o),o}]},tweener:function(e,t){b(e)?(t=e,e=["*"]):e=e.match(j);for(var o,n=0,r=e.length;n<r;n++)o=e[n],ft.tweeners[o]=ft.tweeners[o]||[],ft.tweeners[o].unshift(t)},prefilters:[function(e,t,o){var n,r,i,a,l,s,c,u,d="width"in t||"height"in t,p=this,f={},m=e.style,h=e.nodeType&&se(e),g=Q.get(e,"fxshow");for(n in o.queue||(null==(a=C._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,C.queue(e,"fx").length||a.empty.fire()}))}))),t)if(r=t[n],lt.test(r)){if(delete t[n],i=i||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!g||void 0===g[n])continue;h=!0}f[n]=g&&g[n]||C.style(e,n)}if((s=!C.isEmptyObject(t))||!C.isEmptyObject(f))for(n in d&&1===e.nodeType&&(o.overflow=[m.overflow,m.overflowX,m.overflowY],null==(c=g&&g.display)&&(c=Q.get(e,"display")),"none"===(u=C.css(e,"display"))&&(c?u=c:(pe([e],!0),c=e.style.display||c,u=C.css(e,"display"),pe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===C.css(e,"float")&&(s||(p.done((function(){m.display=c})),null==c&&(u=m.display,c="none"===u?"":u)),m.display="inline-block")),o.overflow&&(m.overflow="hidden",p.always((function(){m.overflow=o.overflow[0],m.overflowX=o.overflow[1],m.overflowY=o.overflow[2]}))),s=!1,f)s||(g?"hidden"in g&&(h=g.hidden):g=Q.access(e,"fxshow",{display:c}),i&&(g.hidden=!h),h&&pe([e],!0),p.done((function(){for(n in h||pe([e]),Q.remove(e,"fxshow"),f)C.style(e,n,f[n])}))),s=pt(h?g[n]:0,n,p),n in g||(g[n]=s.start,h&&(s.end=s.start,s.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),C.speed=function(e,t,o){var n=e&&"object"==typeof e?C.extend({},e):{complete:o||!o&&t||b(e)&&e,duration:e,easing:o&&t||t&&!b(t)&&t};return C.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in C.fx.speeds?n.duration=C.fx.speeds[n.duration]:n.duration=C.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){b(n.old)&&n.old.call(this),n.queue&&C.dequeue(this,n.queue)},n},C.fn.extend({fadeTo:function(e,t,o,n){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,o,n)},animate:function(e,t,o,n){var r=C.isEmptyObject(e),i=C.speed(t,o,n),a=function(){var t=ft(this,C.extend({},e),i);(r||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,o){var n=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof e&&(o=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",i=C.timers,a=Q.get(this);if(r)a[r]&&a[r].stop&&n(a[r]);else for(r in a)a[r]&&a[r].stop&&st.test(r)&&n(a[r]);for(r=i.length;r--;)i[r].elem!==this||null!=e&&i[r].queue!==e||(i[r].anim.stop(o),t=!1,i.splice(r,1));!t&&o||C.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,o=Q.get(this),n=o[e+"queue"],r=o[e+"queueHooks"],i=C.timers,a=n?n.length:0;for(o.finish=!0,C.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete o.finish}))}}),C.each(["toggle","show","hide"],(function(e,t){var o=C.fn[t];C.fn[t]=function(e,n,r){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(dt(t,!0),e,n,r)}})),C.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){C.fn[e]=function(e,o,n){return this.animate(t,e,o,n)}})),C.timers=[],C.fx.tick=function(){var e,t=0,o=C.timers;for(it=Date.now();t<o.length;t++)(e=o[t])()||o[t]!==e||o.splice(t--,1);o.length||C.fx.stop(),it=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){at||(at=!0,ct())},C.fx.stop=function(){at=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var r=o.setTimeout(t,e);n.stop=function(){o.clearTimeout(r)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var mt,ht=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return V(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){C.removeAttr(this,e)}))}}),C.extend({attr:function(e,t,o){var n,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?C.prop(e,t,o):(1===i&&C.isXMLDoc(e)||(r=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?mt:void 0)),void 0!==o?null===o?void C.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,o,t))?n:(e.setAttribute(t,o+""),o):r&&"get"in r&&null!==(n=r.get(e,t))?n:null==(n=C.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&M(e,"input")){var o=e.value;return e.setAttribute("type",t),o&&(e.value=o),t}}}},removeAttr:function(e,t){var o,n=0,r=t&&t.match(j);if(r&&1===e.nodeType)for(;o=r[n++];)e.removeAttribute(o)}}),mt={set:function(e,t,o){return!1===t?C.removeAttr(e,o):e.setAttribute(o,o),o}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(e,t){var o=ht[t]||C.find.attr;ht[t]=function(e,t,n){var r,i,a=t.toLowerCase();return n||(i=ht[a],ht[a]=r,r=null!=o(e,t,n)?a:null,ht[a]=i),r}}));var gt=/^(?:input|select|textarea|button)$/i,bt=/^(?:a|area)$/i;function vt(e){return(e.match(j)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function wt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(j)||[]}C.fn.extend({prop:function(e,t){return V(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[C.propFix[e]||e]}))}}),C.extend({prop:function(e,t,o){var n,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&C.isXMLDoc(e)||(t=C.propFix[t]||t,r=C.propHooks[t]),void 0!==o?r&&"set"in r&&void 0!==(n=r.set(e,o,t))?n:e[t]=o:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(e){var t,o,n,r,i,a,l,s=0;if(b(e))return this.each((function(t){C(this).addClass(e.call(this,t,yt(this)))}));if((t=wt(e)).length)for(;o=this[s++];)if(r=yt(o),n=1===o.nodeType&&" "+vt(r)+" "){for(a=0;i=t[a++];)n.indexOf(" "+i+" ")<0&&(n+=i+" ");r!==(l=vt(n))&&o.setAttribute("class",l)}return this},removeClass:function(e){var t,o,n,r,i,a,l,s=0;if(b(e))return this.each((function(t){C(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=wt(e)).length)for(;o=this[s++];)if(r=yt(o),n=1===o.nodeType&&" "+vt(r)+" "){for(a=0;i=t[a++];)for(;n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");r!==(l=vt(n))&&o.setAttribute("class",l)}return this},toggleClass:function(e,t){var o=typeof e,n="string"===o||Array.isArray(e);return"boolean"==typeof t&&n?t?this.addClass(e):this.removeClass(e):b(e)?this.each((function(o){C(this).toggleClass(e.call(this,o,yt(this),t),t)})):this.each((function(){var t,r,i,a;if(n)for(r=0,i=C(this),a=wt(e);t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==o||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,o,n=0;for(t=" "+e+" ";o=this[n++];)if(1===o.nodeType&&(" "+vt(yt(o))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;C.fn.extend({val:function(e){var t,o,n,r=this[0];return arguments.length?(n=b(e),this.each((function(o){var r;1===this.nodeType&&(null==(r=n?e.call(this,o,C(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=C.map(r,(function(e){return null==e?"":e+""}))),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=C.valHooks[r.type]||C.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(o=t.get(r,"value"))?o:"string"==typeof(o=r.value)?o.replace(xt,""):null==o?"":o:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:vt(C.text(e))}},select:{get:function(e){var t,o,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type,l=a?null:[],s=a?i+1:r.length;for(n=i<0?s:a?i:0;n<s;n++)if(((o=r[n]).selected||n===i)&&!o.disabled&&(!o.parentNode.disabled||!M(o.parentNode,"optgroup"))){if(t=C(o).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var o,n,r=e.options,i=C.makeArray(t),a=r.length;a--;)((n=r[a]).selected=C.inArray(C.valHooks.option.get(n),i)>-1)&&(o=!0);return o||(e.selectedIndex=-1),i}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},g.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in o;var Et=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,n,r){var i,a,l,s,c,u,d,p,m=[n||y],h=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(a=p=l=n=n||y,3!==n.nodeType&&8!==n.nodeType&&!Et.test(h+C.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),c=h.indexOf(":")<0&&"on"+h,(e=e[C.expando]?e:new C.Event(h,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[h]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!v(n)){for(s=d.delegateType||h,Et.test(s+h)||(a=a.parentNode);a;a=a.parentNode)m.push(a),l=a;l===(n.ownerDocument||y)&&m.push(l.defaultView||l.parentWindow||o)}for(i=0;(a=m[i++])&&!e.isPropagationStopped();)p=a,e.type=i>1?s:d.bindType||h,(u=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&K(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(m.pop(),t)||!K(n)||c&&b(n[h])&&!v(n)&&((l=n[c])&&(n[c]=null),C.event.triggered=h,e.isPropagationStopped()&&p.addEventListener(h,Ct),n[h](),e.isPropagationStopped()&&p.removeEventListener(h,Ct),C.event.triggered=void 0,l&&(n[c]=l)),e.result}},simulate:function(e,t,o){var n=C.extend(new C.Event,o,{type:e,isSimulated:!0});C.event.trigger(n,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each((function(){C.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var o=this[0];if(o)return C.event.trigger(e,t,o,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},(function(e,t){var o=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,r=Q.access(n,t);r||n.addEventListener(e,o,!0),Q.access(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=Q.access(n,t)-1;r?Q.access(n,t,r):(n.removeEventListener(e,o,!0),Q.remove(n,t))}}}));var kt=o.location,St={guid:Date.now()},Rt=/\?/;C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new o.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var Tt=/\[\]$/,Dt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function Pt(e,t,o,n){var r;if(Array.isArray(t))C.each(t,(function(t,r){o||Tt.test(e)?n(e,r):Pt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,o,n)}));else if(o||"object"!==E(t))n(e,t);else for(r in t)Pt(e+"["+r+"]",t[r],o,n)}C.param=function(e,t){var o,n=[],r=function(e,t){var o=b(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==o?"":o)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,(function(){r(this.name,this.value)}));else for(o in e)Pt(o,e[o],t,r);return n.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&At.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!he.test(e))})).map((function(e,t){var o=C(this).val();return null==o?null:Array.isArray(o)?C.map(o,(function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}})):{name:t.name,value:o.replace(Dt,"\r\n")}})).get()}});var _t=/%20/g,Ot=/#.*$/,Lt=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:GET|HEAD)$/,jt=/^\/\//,It={},Ft={},Ht="*/".concat("*"),Bt=y.createElement("a");function Ut(e){return function(t,o){"string"!=typeof t&&(o=t,t="*");var n,r=0,i=t.toLowerCase().match(j)||[];if(b(o))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(o)):(e[n]=e[n]||[]).push(o)}}function Wt(e,t,o,n){var r={},i=e===Ft;function a(l){var s;return r[l]=!0,C.each(e[l]||[],(function(e,l){var c=l(t,o,n);return"string"!=typeof c||i||r[c]?i?!(s=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),s}return a(t.dataTypes[0])||!r["*"]&&a("*")}function Vt(e,t){var o,n,r=C.ajaxSettings.flatOptions||{};for(o in t)void 0!==t[o]&&((r[o]?e:n||(n={}))[o]=t[o]);return n&&C.extend(!0,e,n),e}Bt.href=kt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,C.ajaxSettings),t):Vt(C.ajaxSettings,e)},ajaxPrefilter:Ut(It),ajaxTransport:Ut(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,i,a,l,s,c,u,d,p,f=C.ajaxSetup({},t),m=f.context||f,h=f.context&&(m.nodeType||m.jquery)?C(m):C.event,g=C.Deferred(),b=C.Callbacks("once memory"),v=f.statusCode||{},w={},x={},E="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Nt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||E;return n&&n.abort(t),S(0,t),this}};if(g.promise(k),f.url=((e||f.url||kt.href)+"").replace(jt,kt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(j)||[""],null==f.crossDomain){s=y.createElement("a");try{s.href=f.url,s.href=s.href,f.crossDomain=Bt.protocol+"//"+Bt.host!=s.protocol+"//"+s.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=C.param(f.data,f.traditional)),Wt(It,f,t,k),c)return k;for(d in(u=C.event&&f.global)&&0==C.active++&&C.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!zt.test(f.type),r=f.url.replace(Ot,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(_t,"+")):(p=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(Rt.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(Lt,"$1"),p=(Rt.test(r)?"&":"?")+"_="+St.guid+++p),f.url=r+p),f.ifModified&&(C.lastModified[r]&&k.setRequestHeader("If-Modified-Since",C.lastModified[r]),C.etag[r]&&k.setRequestHeader("If-None-Match",C.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ht+"; q=0.01":""):f.accepts["*"]),f.headers)k.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(m,k,f)||c))return k.abort();if(E="abort",b.add(f.complete),k.done(f.success),k.fail(f.error),n=Wt(Ft,f,t,k)){if(k.readyState=1,u&&h.trigger("ajaxSend",[k,f]),c)return k;f.async&&f.timeout>0&&(l=o.setTimeout((function(){k.abort("timeout")}),f.timeout));try{c=!1,n.send(w,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,s){var d,p,y,w,x,E=t;c||(c=!0,l&&o.clearTimeout(l),n=void 0,i=s||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(w=function(e,t,o){for(var n,r,i,a,l=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in l)if(l[r]&&l[r].test(n)){s.unshift(r);break}if(s[0]in o)i=s[0];else{for(r in o){if(!s[0]||e.converters[r+" "+s[0]]){i=r;break}a||(a=r)}i=i||a}if(i)return i!==s[0]&&s.unshift(i),o[i]}(f,k,a)),!d&&C.inArray("script",f.dataTypes)>-1&&(f.converters["text script"]=function(){}),w=function(e,t,o,n){var r,i,a,l,s,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(o[e.responseFields[i]]=t),!s&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=i,i=u.shift())if("*"===i)i=s;else if("*"!==s&&s!==i){if(!(a=c[s+" "+i]||c["* "+i]))for(r in c)if((l=r.split(" "))[1]===i&&(a=c[s+" "+l[0]]||c["* "+l[0]])){!0===a?a=c[r]:!0!==c[r]&&(i=l[0],u.unshift(l[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+s+" to "+i}}}return{state:"success",data:t}}(f,w,k,d),d?(f.ifModified&&((x=k.getResponseHeader("Last-Modified"))&&(C.lastModified[r]=x),(x=k.getResponseHeader("etag"))&&(C.etag[r]=x)),204===e||"HEAD"===f.type?E="nocontent":304===e?E="notmodified":(E=w.state,p=w.data,d=!(y=w.error))):(y=E,!e&&E||(E="error",e<0&&(e=0))),k.status=e,k.statusText=(t||E)+"",d?g.resolveWith(m,[p,E,k]):g.rejectWith(m,[k,E,y]),k.statusCode(v),v=void 0,u&&h.trigger(d?"ajaxSuccess":"ajaxError",[k,f,d?p:y]),b.fireWith(m,[k,E]),u&&(h.trigger("ajaxComplete",[k,f]),--C.active||C.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,o){return C.get(e,t,o,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],(function(e,t){C[t]=function(e,o,n,r){return b(o)&&(r=r||n,n=o,o=void 0),C.ajax(C.extend({url:e,type:t,dataType:r,data:o,success:n},C.isPlainObject(e)&&e))}})),C.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),C._evalUrl=function(e,t,o){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,o)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return b(e)?this.each((function(t){C(this).wrapInner(e.call(this,t))})):this.each((function(){var t=C(this),o=t.contents();o.length?o.wrapAll(e):t.append(e)}))},wrap:function(e){var t=b(e);return this.each((function(o){C(this).wrapAll(t?e.call(this,o):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(e){}};var Gt={0:200,1223:204},qt=C.ajaxSettings.xhr();g.cors=!!qt&&"withCredentials"in qt,g.ajax=qt=!!qt,C.ajaxTransport((function(e){var t,n;if(g.cors||qt&&!e.crossDomain)return{send:function(r,i){var a,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)l[a]=e.xhrFields[a];for(a in e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)l.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=n=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?i(0,"error"):i(l.status,l.statusText):i(Gt[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=t(),n=l.onerror=l.ontimeout=t("error"),void 0!==l.onabort?l.onabort=n:l.onreadystatechange=function(){4===l.readyState&&o.setTimeout((function(){t&&n()}))},t=t("abort");try{l.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),C.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),C.ajaxTransport("script",(function(e){var t,o;if(e.crossDomain||e.scriptAttrs)return{send:function(n,r){t=C("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",o=function(e){t.remove(),o=null,e&&r("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){o&&o()}}}));var Yt,$t=[],Kt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||C.expando+"_"+St.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(e,t,n){var r,i,a,l=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(l||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,l?e[l]=e[l].replace(Kt,"$1"+r):!1!==e.jsonp&&(e.url+=(Rt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||C.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=o[r],o[r]=function(){a=arguments},n.always((function(){void 0===i?C(o).removeProp(r):o[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,$t.push(r)),a&&b(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((Yt=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),C.parseHTML=function(e,t,o){return"string"!=typeof e?[]:("boolean"==typeof t&&(o=t,t=!1),t||(g.createHTMLDocument?((n=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(n)):t=y),i=!o&&[],(r=A.exec(e))?[t.createElement(r[1])]:(r=Ee([e],t,i),i&&i.length&&C(i).remove(),C.merge([],r.childNodes)));var n,r,i},C.fn.load=function(e,t,o){var n,r,i,a=this,l=e.indexOf(" ");return l>-1&&(n=vt(e.slice(l)),e=e.slice(0,l)),b(t)?(o=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&C.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(n?C("<div>").append(C.parseHTML(e)).find(n):e)})).always(o&&function(e,t){a.each((function(){o.apply(this,i||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,o){var n,r,i,a,l,s,c=C.css(e,"position"),u=C(e),d={};"static"===c&&(e.style.position="relative"),l=u.offset(),i=C.css(e,"top"),s=C.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+s).indexOf("auto")>-1?(a=(n=u.position()).top,r=n.left):(a=parseFloat(i)||0,r=parseFloat(s)||0),b(t)&&(t=t.call(e,o,C.extend({},l))),null!=t.top&&(d.top=t.top-l.top+a),null!=t.left&&(d.left=t.left-l.left+r),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),u.css(d))}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,o,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),o=n.ownerDocument.defaultView,{top:t.top+o.pageYOffset,left:t.left+o.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,o,n=this[0],r={top:0,left:0};if("fixed"===C.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),o=n.ownerDocument,e=n.offsetParent||o.documentElement;e&&(e===o.body||e===o.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((r=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),r.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-C.css(n,"marginTop",!0),left:t.left-r.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ie}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var o="pageYOffset"===t;C.fn[e]=function(n){return V(this,(function(e,n,r){var i;if(v(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===r)return i?i[t]:e[n];i?i.scrollTo(o?i.pageXOffset:r,o?r:i.pageYOffset):e[n]=r}),e,n,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=qe(g.pixelPosition,(function(e,o){if(o)return o=Ge(e,t),Be.test(o)?C(e).position()[t]+"px":o}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(o,n){C.fn[n]=function(r,i){var a=arguments.length&&(o||"boolean"!=typeof r),l=o||(!0===r||!0===i?"margin":"border");return V(this,(function(t,o,r){var i;return v(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?C.css(t,o,l):C.style(t,o,r,l)}),t,a?r:void 0,a)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.fn.extend({bind:function(e,t,o){return this.on(e,null,t,o)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,o,n){return this.on(t,e,o,n)},undelegate:function(e,t,o){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",o)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){C.fn[t]=function(e,o){return arguments.length>0?this.on(t,null,e,o):this.trigger(t)}}));var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var o,n,r;if("string"==typeof t&&(o=e[t],t=e,e=o),b(e))return n=l.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(l.call(arguments)))}).guid=e.guid=e.guid||C.guid++,r},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=M,C.isFunction=b,C.isWindow=v,C.camelCase=$,C.type=E,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},C.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},void 0===(n=function(){return C}.apply(t,[]))||(e.exports=n);var Qt=o.jQuery,Jt=o.$;return C.noConflict=function(e){return o.$===C&&(o.$=Jt),e&&o.jQuery===C&&(o.jQuery=Qt),C},void 0===r&&(o.jQuery=o.$=C),C}))},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e){return(0,r.default)(e).replace(i,"-ms-")};var r=n(o(89)),i=/^ms-/;e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(n,"-$1").toLowerCase()};var n=/([A-Z])/g;e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var o=e.style;"float"==(t=(0,r.default)(t))&&(t="styleFloat");var n=e.currentStyle[t]||null;if(null==n&&o&&o[t]&&(n=o[t]),a.test(n)&&!i.test(t)){var l=o.left,s=e.runtimeStyle,c=s&&s.left;c&&(s.left=e.currentStyle.left),o.left="fontSize"===t?"1em":n,n=o.pixelLeft+"px",o.left=l,c&&(s.left=c)}return n}}};var r=n(o(46)),i=/^(top|right|bottom|left)$/,a=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)},e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e){return!(!e||!n.test(e))};var n=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},function(e,t,o){"use strict";var n=o(94);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,o,r,i,a){if(a!==n){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return o.PropTypes=o,o}},function(e,t,o){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];function n(){for(var e=arguments.length,o=Array(e),n=0;n<e;n++)o[n]=arguments[n];var r=null;return t.forEach((function(e){if(null==r){var t=e.apply(void 0,o);null!=t&&(r=t)}})),r}return(0,i.default)(n)};var n,r=o(31),i=(n=r)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e,t){if(!r&&i.default){var o=document.body,n=o.matches||o.matchesSelector||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector;r=n?function(e,t){return n.call(e,t)}:l}return r?r(e,t):null};var r,i=n(o(14)),a=n(o(13));function l(e,t){for(var o=(0,a.default)(e.document||e.ownerDocument,t),n=0;o[n]&&o[n]!==e;)n++;return!!o[n]}e.exports=t.default},function(e,t,o){"use strict";var n;if(!Object.keys){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=o(48),l=Object.prototype.propertyIsEnumerable,s=!l.call({toString:null},"toString"),c=l.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(e){var t=null!==e&&"object"==typeof e,o="[object Function]"===i.call(e),n=a(e),l=t&&"[object String]"===i.call(e),p=[];if(!t&&!o&&!n)throw new TypeError("Object.keys called on a non-object");var m=c&&o;if(l&&e.length>0&&!r.call(e,0))for(var h=0;h<e.length;++h)p.push(String(h));if(n&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var b in e)m&&"prototype"===b||!r.call(e,b)||p.push(String(b));if(s)for(var v=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),y=0;y<u.length;++y)v&&"constructor"===u[y]||!r.call(e,u[y])||p.push(u[y]);return p}}e.exports=n},function(e,t,o){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Object.prototype.toString,i=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===r.call(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},l=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=l?i:a},function(e,t,o){"use strict";var n=o(23),r=o(100),i=o(49),a=o(50),l=o(105),s=r(a(),Object);n(s,{getPolyfill:a,implementation:i,shim:l}),e.exports=s},function(e,t,o){"use strict";var n=o(24),r=o(102),i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||n.call(a,i),s=r("%Object.defineProperty%",!0);if(s)try{s({},"a",{value:1})}catch(e){s=null}e.exports=function(){return l(n,a,arguments)};var c=function(){return l(n,i,arguments)};s?s(e.exports,"apply",{value:c}):e.exports.apply=c},function(e,t,o){"use strict";var n="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError(n+t);for(var o,a=r.call(arguments,1),l=function(){if(this instanceof o){var n=t.apply(this,a.concat(r.call(arguments)));return Object(n)===n?n:this}return t.apply(e,a.concat(r.call(arguments)))},s=Math.max(0,t.length-a.length),c=[],u=0;u<s;u++)c.push("$"+u);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(l),t.prototype){var d=function(){};d.prototype=t.prototype,o.prototype=new d,d.prototype=null}return o}},function(e,t,o){"use strict";var n=SyntaxError,r=Function,i=TypeError,a=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var s=function(){throw new i},c=l?function(){try{return s}catch(e){try{return l(arguments,"callee").get}catch(e){return s}}}():s,u=o(32)(),d=Object.getPrototypeOf||function(e){return e.__proto__},p=a("async function* () {}"),f=p?p.prototype:void 0,m=f?f.prototype:void 0,h="undefined"==typeof Uint8Array?void 0:d(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":a("async function () {}"),"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":m?d(m):void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":a("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?d((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?d((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=o(24),y=o(104),w=v.call(Function.call,Array.prototype.concat),x=v.call(Function.apply,Array.prototype.splice),E=v.call(Function.call,String.prototype.replace),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,S=function(e){var t=[];return E(e,C,(function(e,o,n,r){t[t.length]=n?E(r,k,"$1"):o||e})),t},R=function(e,t){var o,r=e;if(y(b,r)&&(r="%"+(o=b[r])[0]+"%"),y(g,r)){var a=g[r];if(void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:r,value:a}}throw new n("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');var o=S(e),n=o.length>0?o[0]:"",r=R("%"+n+"%",t),a=r.name,s=r.value,c=!1,u=r.alias;u&&(n=u[0],x(o,w([0,1],u)));for(var d=1,p=!0;d<o.length;d+=1){var f=o[d];if("constructor"!==f&&p||(c=!0),y(g,a="%"+(n+="."+f)+"%"))s=g[a];else if(null!=s){if(l&&d+1>=o.length){var m=l(s,f);if(p=!!m,!t&&!(f in s))throw new i("base intrinsic for "+e+" exists, but the property is not available.");s=p&&"get"in m&&!("originalValue"in m.get)?m.get:s[f]}else p=y(s,f),s=s[f];p&&!c&&(g[a]=s)}}return s}},function(e,t,o){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),o=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},function(e,t,o){"use strict";var n=o(24);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,o){"use strict";var n=o(50),r=o(23);e.exports=function(){var e=n();return r(Object,{is:e},{is:function(){return Object.is!==e}}),e}},function(e,t,o){"use strict";var n,r,i,a,l=o(32)()&&"symbol"==typeof Symbol.toStringTag;if(l){n=Function.call.bind(Object.prototype.hasOwnProperty),r=Function.call.bind(RegExp.prototype.exec),i={};var s=function(){throw i};a={toString:s,valueOf:s},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=s)}var c=Object.prototype.toString,u=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!=typeof e)return!1;var t=u(e,"lastIndex");if(!(t&&n(t,"value")))return!1;try{r(e,a)}catch(e){return e===i}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===c.call(e)}},function(e,t,o){"use strict";var n=o(23),r=o(108),i=o(51),a=o(52),l=o(110),s=r(i);n(s,{getPolyfill:a,implementation:i,shim:l}),e.exports=s},function(e,t,o){"use strict";var n=o(24),r=o(109),i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||n.call(a,i),s=r("%Object.defineProperty%",!0);if(s)try{s({},"a",{value:1})}catch(e){s=null}e.exports=function(){return l(n,a,arguments)};var c=function(){return l(n,i,arguments)};s?s(e.exports,"apply",{value:c}):e.exports.apply=c},function(e,t,o){"use strict";var n=TypeError,r=Object.getOwnPropertyDescriptor;if(r)try{r({},"")}catch(e){r=null}var i=function(){throw new n},a=r?function(){try{return i}catch(e){try{return r(arguments,"callee").get}catch(e){return i}}}():i,l=o(32)(),s=Object.getPrototypeOf||function(e){return e.__proto__},c=void 0,u="undefined"==typeof Uint8Array?void 0:s(Uint8Array),d={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":l?s([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":c&&l&&Symbol.asyncIterator?c[Symbol.asyncIterator]():void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?s(s([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?s((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l?s((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":l?s(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":l?Symbol:void 0,"%SymbolPrototype%":l?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":a,"%TypedArray%":u,"%TypedArrayPrototype%":u?u.prototype:void 0,"%TypeError%":n,"%TypeErrorPrototype%":n.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},p=o(24).call(Function.call,String.prototype.replace),f=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,m=/\\(\\)?/g,h=function(e){var t=[];return p(e,f,(function(e,o,n,r){t[t.length]=n?p(r,m,"$1"):o||e})),t},g=function(e,t){if(!(e in d))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===d[e]&&!t)throw new n("intrinsic "+e+" exists, but is not available. Please file an issue!");return d[e]};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var o=h(e),i=g("%"+(o.length>0?o[0]:"")+"%",t),a=1;a<o.length;a+=1)if(null!=i)if(r&&a+1>=o.length){var l=r(i,o[a]);if(!t&&!(o[a]in i))throw new n("base intrinsic for "+e+" exists, but the property is not available.");i=l&&"get"in l&&!("originalValue"in l.get)?l.get:i[o[a]]}else i=i[o[a]];return i}},function(e,t,o){"use strict";var n=o(23).supportsDescriptors,r=o(52),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,l=TypeError,s=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!n||!s)throw new l("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=r(),t=s(c),o=i(t,"flags");return o&&o.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},function(e,t,o){"use strict";var n=Date.prototype.getDay,r=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===r.call(e))}},function(e,t,o){"use strict";t.__esModule=!0;var n=o(0),r=(a(n),a(o(4))),i=a(o(113));a(o(9));function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(o,n){e=o,t.forEach((function(t){return t(e,n)}))}}}t.default=function(e,t){var o,a,d="__create-react-context-"+(0,i.default)()+"__",p=function(e){function o(){var t,n;l(this,o);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=s(this,e.call.apply(e,[this].concat(i))),n.emitter=u(n.props.value),s(n,t)}return c(o,e),o.prototype.getChildContext=function(){var e;return(e={})[d]=this.emitter,e},o.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var o=this.props.value,n=e.value,r=void 0;((i=o)===(a=n)?0!==i||1/i==1/a:i!=i&&a!=a)?r=0:(r="function"==typeof t?t(o,n):1073741823,0!==(r|=0)&&this.emitter.set(e.value,r))}var i,a},o.prototype.render=function(){return this.props.children},o}(n.Component);p.childContextTypes=((o={})[d]=r.default.object.isRequired,o);var f=function(t){function o(){var e,n;l(this,o);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=n=s(this,t.call.apply(t,[this].concat(i))),n.state={value:n.getValue()},n.onUpdate=function(e,t){0!=((0|n.observedBits)&t)&&n.setState({value:n.getValue()})},s(n,e)}return c(o,t),o.prototype.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},o.prototype.componentDidMount=function(){this.context[d]&&this.context[d].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},o.prototype.componentWillUnmount=function(){this.context[d]&&this.context[d].off(this.onUpdate)},o.prototype.getValue=function(){return this.context[d]?this.context[d].get():e},o.prototype.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},o}(n.Component);return f.contextTypes=((a={})[d]=r.default.object,a),{Provider:p,Consumer:f}},e.exports=t.default},function(e,t,o){"use strict";(function(t){var o="__global_unique_id__";e.exports=function(){return t[o]=(t[o]||0)+1}}).call(this,o(22))},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=c(o(34)),r=c(o(35)),i=c(o(4)),a=c(o(0)),l=c(o(6)),s=c(o(55));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=function(){};var p=function(e){var t,o;function i(t,o){var i;return(i=e.call(this,t,o)||this).addEventListeners=function(){var e=i.props.event,t=(0,s.default)(u(u(i)));i.removeMouseCaptureListener=(0,r.default)(t,e,i.handleMouseCapture,!0),i.removeMouseListener=(0,r.default)(t,e,i.handleMouse),i.removeKeyupListener=(0,r.default)(t,"keyup",i.handleKeyUp),"ontouchstart"in t.documentElement&&(i.mobileSafariHackListeners=[].slice.call(document.body.children).map((function(e){return(0,r.default)(e,"mousemove",d)})))},i.removeEventListeners=function(){i.removeMouseCaptureListener&&i.removeMouseCaptureListener(),i.removeMouseListener&&i.removeMouseListener(),i.removeKeyupListener&&i.removeKeyupListener(),i.mobileSafariHackListeners&&i.mobileSafariHackListeners.forEach((function(e){return e()}))},i.handleMouseCapture=function(e){var t;i.preventMouseRootClose=!!((t=e).metaKey||t.altKey||t.ctrlKey||t.shiftKey)||!function(e){return 0===e.button}(e)||(0,n.default)(l.default.findDOMNode(u(u(i))),e.target)},i.handleMouse=function(e){!i.preventMouseRootClose&&i.props.onRootClose&&i.props.onRootClose(e)},i.handleKeyUp=function(e){27===e.keyCode&&i.props.onRootClose&&i.props.onRootClose(e)},i.preventMouseRootClose=!1,i}o=e,(t=i).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o;var a=i.prototype;return a.componentDidMount=function(){this.props.disabled||this.addEventListeners()},a.componentDidUpdate=function(e){!this.props.disabled&&e.disabled?this.addEventListeners():this.props.disabled&&!e.disabled&&this.removeEventListeners()},a.componentWillUnmount=function(){this.props.disabled||this.removeEventListeners()},a.render=function(){return this.props.children},i}(a.default.Component);p.displayName="RootCloseWrapper",p.propTypes={onRootClose:i.default.func,children:i.default.element,disabled:i.default.bool,event:i.default.oneOf(["click","mousedown"])},p.defaultProps={event:"click"};var f=p;t.default=f,e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t,o){return 2===arguments.length?c(e,t):c({consumers:e,mapToProps:t},o)};var n=i(o(0)),r=i(o(116));function i(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}var l=function(e){var t="string"==typeof e?e:e.name||e.displayName;return t?"ContextTransform("+t+")":"ContextTransform"},s=function(e){return e.Consumer||e};function c(e,t){var o=e.consumers,i=e.mapToProps,c=e.displayName,u=e.forwardRefAs,d=void 0===u?"ref":u,p=o;Array.isArray(o)||(p=[o]);var f=s(p[0]);var m=1===p.length?function(e,o){var r,l=a(((r={})[d]=o,r),e);return n.default.createElement(f,null,(function(o){return n.default.createElement(t,a({},l,i(o,e)))}))}:function(e,o){var r,l=a(((r={})[d]=o,r),e);return p.reduceRight((function(e,t){return function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var a=s(t);return n.default.createElement(a,null,(function(t){return e.apply(void 0,r.concat([t]))}))}}),(function(){for(var o=arguments.length,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];return n.default.createElement(t,a({},l,i.apply(void 0,r.concat([e]))))}))()};return(0,r.default)(m,{displayName:c||l(t)})}},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){var o=t.displayName,n=t.propTypes,i=t.defaultProps,a=t.allowFallback,l=void 0!==a&&a,s=function(t,o){return e(t,o)};return Object.assign(s,{displayName:o}),r.default.forwardRef||!l?Object.assign(r.default.forwardRef(s),{propTypes:n,defaultProps:i}):Object.assign((function(e){return s(e,null)}),{displayName:o,propTypes:n,defaultProps:i})};var n,r=(n=o(0))&&n.__esModule?n:{default:n}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,o,n,r,i){var a=n||"<<anonymous>>",l=i||o;if(null==t[o])return new Error("The "+r+" `"+l+"` is required to make `"+a+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,c=Array(s>5?s-5:0),u=5;u<s;u++)c[u-5]=arguments[u];return e.apply(void 0,[t,o,n,r,i].concat(c))}},e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e,t){return function(o){var n=o.currentTarget,a=o.target;(0,i.default)(n,e).some((function(e){return(0,r.default)(e,a)}))&&t.call(this,o)}};var r=n(o(34)),i=n(o(13));e.exports=t.default},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e){void 0===e&&(e=(0,r.default)());try{return e.activeElement}catch(e){}};var r=n(o(18));e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(o(0)),r=o(121),i=a(o(31));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i.default)((function(e,t,o,i,a){var l=e[t];return n.default.isValidElement(l)?new Error("Invalid "+i+" `"+a+"` of type ReactElement supplied to `"+o+"`,expected an element type (a string , component class, or function component)."):(0,r.isValidElementType)(l)?null:new Error("Invalid "+i+" `"+a+"` of value `"+l+"` supplied to `"+o+"`, expected an element type (a string , component class, or function component).")})),e.exports=t.default},function(e,t,o){"use strict";e.exports=o(122)},function(e,t,o){"use strict";
/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case p:case a:case s:case l:case m:return e;default:switch(e=e&&e.$$typeof){case u:case f:case b:case g:case c:return e;default:return t}}case i:return t}}}function C(e){return E(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=b,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=l,t.Suspense=m,t.isAsyncMode=function(e){return C(e)||E(e)===d},t.isConcurrentMode=C,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===b},t.isMemo=function(e){return E(e)===g},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===l},t.isSuspense=function(e){return E(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===s||e===l||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===w||e.$$typeof===x||e.$$typeof===v)},t.typeOf=E},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=void 0;var r=n(o(124));t.addClass=r.default;var i=n(o(125));t.removeClass=i.default;var a=n(o(56));t.hasClass=a.default;var l={addClass:r.default,removeClass:i.default,hasClass:a.default};t.default=l},function(e,t,o){"use strict";var n=o(10);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,r.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var r=n(o(56));e.exports=t.default},function(e,t,o){"use strict";function n(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=n(e.className,t):e.setAttribute("class",n(e.className&&e.className.baseVal||"",t))}},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e){return(0,n.default)(e)||(t=e,t&&"body"===t.tagName.toLowerCase())?function(e){var t=(0,r.default)(e),o=(0,n.default)(t);return t.body.clientWidth<o.innerWidth}(e):e.scrollHeight>e.clientHeight;var t};var n=i(o(127)),r=i(o(18));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)},e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.ariaHidden=i,t.hideSiblings=function(e,t){var o=t.root,n=t.backdrop;r(e,[o,n],(function(e){return i(!0,e)}))},t.showSiblings=function(e,t){var o=t.root,n=t.backdrop;r(e,[o,n],(function(e){return i(!1,e)}))};var n=["template","script","style"],r=function(e,t,o){t=[].concat(t),[].forEach.call(e.children,(function(e){var r,i,a;-1===t.indexOf(e)&&(i=(r=e).nodeType,a=r.tagName,1===i&&-1===n.indexOf(a.toLowerCase()))&&o(e)}))};function i(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=s(o(4)),r=s(o(36)),i=s(o(0)),a=s(o(6)),l=s(o(130));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t,o;function n(){return e.apply(this,arguments)||this}return o=e,(t=n).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o,n.prototype.render=function(){var e=this;return this.props.children?i.default.createElement(l.default,{container:this.props.container,onContainerResolved:this.props.onRendered},(function(t){return a.default.createPortal(e.props.children,t)})):null},n}(i.default.Component);c.displayName="Portal",c.propTypes={container:n.default.oneOfType([r.default,n.default.func]),onRendered:n.default.func};var u=c;t.default=u,e.exports=t.default},function(e,t,o){"use strict";t.__esModule=!0,t.default=void 0;var n=u(o(4)),r=u(o(36)),i=u(o(14)),a=u(o(18)),l=u(o(0)),s=u(o(6)),c=u(o(57));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p={container:n.default.oneOfType([r.default,n.default.func]),onContainerResolved:n.default.func},f=function(e){var t,o;function n(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];if(t=e.call.apply(e,[this].concat(n))||this,!i.default)return d(t);var a=t.props.container;return"function"==typeof a&&(a=a()),a&&!s.default.findDOMNode(a)?d(t):(t.setContainer(a),t)}o=e,(t=n).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o;var r=n.prototype;return r.UNSAFE_componentWillReceiveProps=function(e){e.container!==this.props.container&&this.setContainer(e.container)},r.componentDidMount=function(){this._container?this.props.onContainerResolved&&this.props.onContainerResolved():(this.setContainer(this.props.container),this.forceUpdate(this.props.onContainerResolved))},r.componentWillUnmount=function(){this._container=null},r.setContainer=function(e){this._container=(0,c.default)(e,(0,a.default)().body)},r.render=function(){return this._container?this.props.children(this._container):null},n}(l.default.Component);f.propTypes=p;var m=f;t.default=m,e.exports=t.default},function(e,t,o){(function(t,o){
/*!
 * @overview es6-promise - a tiny implementation of Promises/A+.
 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
 * @license   Licensed under MIT license
 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
 * @version   v4.2.8+1e68dce6
 */
var n;n=function(){"use strict";function e(e){return"function"==typeof e}var n=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,i=void 0,a=void 0,l=function(e,t){m[r]=e,m[r+1]=t,2===(r+=2)&&(a?a(h):w())},s="undefined"!=typeof window?window:void 0,c=s||{},u=c.MutationObserver||c.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var e=setTimeout;return function(){return e(h,1)}}var m=new Array(1e3);function h(){for(var e=0;e<r;e+=2)(0,m[e])(m[e+1]),m[e]=void 0,m[e+1]=void 0;r=0}var g,b,v,y,w=void 0;function x(e,t){var o=this,n=new this.constructor(k);void 0===n[C]&&L(n);var r=o._state;if(r){var i=arguments[r-1];l((function(){return _(r,n,i,o._result)}))}else A(o,n,e,t);return n}function E(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(k);return R(t,e),t}d?w=function(){return t.nextTick(h)}:u?(b=0,v=new u(h),y=document.createTextNode(""),v.observe(y,{characterData:!0}),w=function(){y.data=b=++b%2}):p?((g=new MessageChannel).port1.onmessage=h,w=function(){return g.port2.postMessage(0)}):w=void 0===s?function(){try{var e=Function("return this")().require("vertx");return void 0!==(i=e.runOnLoop||e.runOnContext)?function(){i(h)}:f()}catch(e){return f()}}():f();var C=Math.random().toString(36).substring(2);function k(){}function S(t,o,n){o.constructor===t.constructor&&n===x&&o.constructor.resolve===E?function(e,t){1===t._state?D(e,t._result):2===t._state?M(e,t._result):A(t,void 0,(function(t){return R(e,t)}),(function(t){return M(e,t)}))}(t,o):void 0===n?D(t,o):e(n)?function(e,t,o){l((function(e){var n=!1,r=function(e,t,o,n){try{e.call(t,o,n)}catch(e){return e}}(o,t,(function(o){n||(n=!0,t!==o?R(e,o):D(e,o))}),(function(t){n||(n=!0,M(e,t))}),e._label);!n&&r&&(n=!0,M(e,r))}),e)}(t,o,n):D(t,o)}function R(e,t){if(e===t)M(e,new TypeError("You cannot resolve a promise with itself"));else if(r=typeof(n=t),null===n||"object"!==r&&"function"!==r)D(e,t);else{var o=void 0;try{o=t.then}catch(t){return void M(e,t)}S(e,t,o)}var n,r}function T(e){e._onerror&&e._onerror(e._result),P(e)}function D(e,t){void 0===e._state&&(e._result=t,e._state=1,0!==e._subscribers.length&&l(P,e))}function M(e,t){void 0===e._state&&(e._state=2,e._result=t,l(T,e))}function A(e,t,o,n){var r=e._subscribers,i=r.length;e._onerror=null,r[i]=t,r[i+1]=o,r[i+2]=n,0===i&&e._state&&l(P,e)}function P(e){var t=e._subscribers,o=e._state;if(0!==t.length){for(var n=void 0,r=void 0,i=e._result,a=0;a<t.length;a+=3)n=t[a],r=t[a+o],n?_(o,n,r,i):r(i);e._subscribers.length=0}}function _(t,o,n,r){var i=e(n),a=void 0,l=void 0,s=!0;if(i){try{a=n(r)}catch(e){s=!1,l=e}if(o===a)return void M(o,new TypeError("A promises callback cannot return that same promise."))}else a=r;void 0!==o._state||(i&&s?R(o,a):!1===s?M(o,l):1===t?D(o,a):2===t&&M(o,a))}var O=0;function L(e){e[C]=O++,e._state=void 0,e._result=void 0,e._subscribers=[]}var N=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(k),this.promise[C]||L(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?D(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&D(this.promise,this._result))):M(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;void 0===this._state&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var o=this._instanceConstructor,n=o.resolve;if(n===E){var r=void 0,i=void 0,a=!1;try{r=e.then}catch(e){a=!0,i=e}if(r===x&&void 0!==e._state)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(o===z){var l=new o(k);a?M(l,i):S(l,e,r),this._willSettleAt(l,t)}else this._willSettleAt(new o((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,o){var n=this.promise;void 0===n._state&&(this._remaining--,2===e?M(n,o):this._result[t]=o),0===this._remaining&&D(n,this._result)},e.prototype._willSettleAt=function(e,t){var o=this;A(e,void 0,(function(e){return o._settledAt(1,t,e)}),(function(e){return o._settledAt(2,t,e)}))},e}(),z=function(){function t(e){this[C]=O++,this._result=this._state=void 0,this._subscribers=[],k!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){R(e,t)}),(function(t){M(e,t)}))}catch(t){M(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var o=this.constructor;return e(t)?this.then((function(e){return o.resolve(t()).then((function(){return e}))}),(function(e){return o.resolve(t()).then((function(){throw e}))})):this.then(t,t)},t}();return z.prototype.then=x,z.all=function(e){return new N(this,e).promise},z.race=function(e){var t=this;return n(e)?new t((function(o,n){for(var r=e.length,i=0;i<r;i++)t.resolve(e[i]).then(o,n)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},z.resolve=E,z.reject=function(e){var t=new this(k);return M(t,e),t},z._setScheduler=function(e){a=e},z._setAsap=function(e){l=e},z._asap=l,z.polyfill=function(){var e=void 0;if(void 0!==o)e=o;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=z},z.Promise=z,z},e.exports=n()}).call(this,o(132),o(22))},function(e,t){var o,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(o===setTimeout)return setTimeout(e,0);if((o===i||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:i}catch(e){o=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,c=[],u=!1,d=-1;function p(){u&&s&&(u=!1,s.length?c=s.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=l(p);u=!0;for(var t=c.length;t;){for(s=c,c=[];++d<t;)s&&s[d].run();d=-1,t=c.length}s=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];c.push(new m(e,t)),1!==c.length||u||l(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,o){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function l(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,l)}s((n=n.apply(e,t||[])).next())}))},l=this&&this.__generator||function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};t.__esModule=!0;var s=o(0),c=o(6),u=o(59),d=o(60),p=o(25),f=o(61),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:[],columns:t.props.columns},t.ref=null,t.htmlProps=null,t.mainId="tabulator-"+ +new Date+"-"+Math.floor(9999999*Math.random()),t.table=null,t.pickValidHTMLProps=function(){t.htmlProps||(t.htmlProps=u.pickHTMLProps(t.props),delete t.htmlProps.data,delete t.htmlProps.columns)},t}return r(t,e),t.prototype.componentDidMount=function(){return a(this,void 0,void 0,(function(){var e,t,o,n,r,a,s;return l(this,(function(l){switch(l.label){case 0:return e=c.findDOMNode(this.ref),t=this,o=this.props,n=o.columns,r=o.data,a=o.options,[4,d.propsToOptions(this.props)];case 1:return s=l.sent(),new f.default(e,i(i(i(i({columns:n},s),{layout:"fitColumns",tableBuilding:function(){t.table=this,t.props.tableBuilding&&t.props.tableBuilding()},dataLoaded:function(){t.props.dataLoaded&&t.props.dataLoaded()},invalidOptionWarnings:!1}),a),{data:r})),r&&r.length>0&&this.setState({data:r}),[2]}}))}))},t.prototype.componentWillUnmount=function(){this.table&&this.table.destroy()},t.prototype.componentWillReceiveProps=function(e){var t=this;p.isSameArray(this.state.data,e.data)||this.setState({data:e.data},(function(){t.table&&t.table.setData(t.state.data)})),p.isSameArray(this.state.columns,e.columns)||this.setState({columns:e.columns},(function(){t.table&&t.table.setColumns(t.state.columns)}))},t.prototype.render=function(){var e=this;this.pickValidHTMLProps();var t=this.props.className;return s.createElement("div",i({ref:function(t){return e.ref=t},"data-instance":this.mainId},this.htmlProps,{className:t}))},t}(s.Component);t.default=m},function(e,t,o){"use strict";var n,r,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});t.__esModule=!0;var a=o(0),l=o(58),s=o(135),c=o(137),u=o(142);var d=[{title:"Name",field:"name",width:150},{title:"Age",field:"age",hozAlign:"left",formatter:"progress"},{title:"Favourite Color",field:"color"},{title:"Date Of Birth",field:"dob",sorter:"date"},{title:"Rating",field:"rating",hozAlign:"center",formatter:"star"},{title:"Passed?",field:"passed",hozAlign:"center",formatter:"tickCross"},{title:"Custom",field:"custom",hozAlign:"center",editor:"input",formatter:o(25).reactFormatter(a.createElement((function(e){var t=e.cell._cell.row.data,o=e.cell._cell.value||"Edit | Show";return a.createElement("button",{onClick:function(){return alert(t.name)}},o)}),null))}],p=[{id:1,name:"Oli Bob",age:"12",color:"red",dob:"01/01/1980",rating:5,passed:!0,pets:["cat","dog"]},{id:2,name:"Mary May",age:"1",color:"green",dob:"12/05/1989",rating:4,passed:!0,pets:["cat"]},{id:3,name:"Christine Lobowski",age:"42",color:"green",dob:"10/05/1985",rating:4,passed:!1},{id:4,name:"Brendon Philips",age:"125",color:"red",dob:"01/08/1980",rating:4.5,passed:!0},{id:5,name:"Margret Marmajuke",age:"16",color:"yellow",dob:"07/01/1999",rating:4,passed:!1},{id:6,name:"Van Ng",age:"37",color:"green",dob:"06/10/1982",rating:4,passed:!0,pets:["dog","fish"]},{id:7,name:"Duc Ng",age:"37",color:"yellow",dob:"10/10/1982",rating:4,passed:!0,pets:["dog"]}],f=((r={})[""]="&nbsp;",r.red="red",r.green="green",r.yellow="yellow",r),m=[{title:"Name",field:"name",width:150,editor:"input",headerFilter:"input"},{title:"Age",field:"age",hozAlign:"left",formatter:"progress",editor:"progress"},{title:"Favourite Color",field:"color",editor:"select",editorParams:{allowEmpty:!0,showListOnEmpty:!0,values:f},headerFilter:"select",headerFilterParams:{values:f}},{title:"Date Of Birth",field:"dob",editor:s.default,editorParams:{format:"MM/DD/YYYY"}},{title:"Pets",field:"pets",sorter:function(e,t){return e.toString().localeCompare(t.toString())},editor:c.default,editorParams:{values:[{id:"cat",name:"cat"},{id:"dog",name:"dog"},{id:"fish",name:"fish"}]},formatter:u.default,formatterParams:{style:"PILL"}},{title:"Passed?",field:"passed",hozAlign:"center",formatter:"tickCross",editor:!0}],h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:[],selectedName:""},t.ref=null,t.rowClick=function(e,o){console.log("ref table: ",t.ref.table),console.log("rowClick id: ${row.getData().id}",o,e),t.setState({selectedName:o.getData().name})},t.setData=function(){t.setState({data:p})},t.clearData=function(){t.setState({data:[]})},t.renderAjaxScrollExample=function(){var e={height:150,movableRows:!0,ajaxProgressiveLoad:"scroll",ajaxProgressiveLoadDelay:200,ajaxProgressiveLoadScrollMargin:100,ajaxURL:"https://reqres.in/api/users",paginationDataSent:{page:"page",size:"per_page"},paginationDataReceived:{last_page:"total_pages"},current_page:1,paginationSize:3,ajaxResponse:function(e,t,o){return console.log("ajaxResponse",e),o},ajaxError:function(e){console.log("ajaxError",e)}};return a.createElement(l.default,{ref:function(e){return t.ref=e},columns:[{title:"First Name",field:"first_name",width:150},{title:"Last Name",field:"last_name",width:150},{title:"Email",field:"email",width:150}],data:[],options:e})},t}return i(t,e),t.prototype.render=function(){var e=this;return a.createElement("div",null,a.createElement(l.default,{ref:function(t){return e.ref=t},columns:d,data:p,rowClick:this.rowClick,options:{height:150,movableRows:!0},"data-custom-attr":"test-custom-attribute",className:"custom-css-class"}),a.createElement("i",null,"Selected Name: ",a.createElement("strong",null,this.state.selectedName)),a.createElement("h3",null,"Asynchronous data: (e.g. fetch) - ",a.createElement("button",{onClick:this.setData},"Set Data")," ",a.createElement("button",{onClick:this.clearData},"Clear")),a.createElement(l.default,{columns:d,data:this.state.data}),a.createElement("h3",null,"Editable Table"),a.createElement(l.default,{columns:m,data:p,cellEdited:function(e){return console.log("cellEdited",e)},dataChanged:function(e){return console.log("dataChanged",e)},footerElement:a.createElement("span",null,"Footer"),options:{movableColumns:!0,movableRows:!0}}),a.createElement("h3",null,"Infinite Scrolling with Ajax Requests"),this.renderAjaxScrollExample(),a.createElement("p",null,a.createElement("a",{href:"https://github.com/ngduc/react-tabulator",target:"_blank"},"Back to: Github Repo: react-tabulator")),a.createElement("p",null,a.createElement("a",{href:"http://tabulator.info/examples/4.0",target:"_blank"},"More Tabulator's Examples")))},t}(a.Component);t.default=h},function(e,t,o){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});t.__esModule=!0;var i=o(0),a=o(6),l=o(136),s={width:"100%",height:"100%",fontSize:"1em",fontFamily:"inherit"},c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={value:""},t.ref=null,t.format=t.props.editorParams.format||"MM/DD/YYYY",t.setValueOnSuccess=function(e){void 0===e&&(e=t.state.value);var o=t.props.success;if(e){var n=e;try{if(n.indexOf("-")>0){var r=l.parse(e,"YYYY-MM-DD");n=l.format(r,t.format)}}catch(e){console.error("ERROR",e),n=l.format(new Date,"YYYY-MM-DD")}o(n)}else o("")},t.onChange=function(e){var o=e.target.value;t.setState({value:o})},t.onKeyPress=function(e){var o=t.props.cancel;if(13===e.keyCode){var n=l.format(new Date,"YYYY-MM-DD"),r=t.state.value||n;t.setValueOnSuccess(r)}else 27===e.keyCode&&o()},t.onBlur=function(){t.setValueOnSuccess()},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this;this.props.onRendered((function(){var t=e.props.cell.getValue();e.setState({value:t}),e.ref.focus()}))},t.prototype.render=function(){var e=this,t=this.props.cell,o=l.parse(t.getValue(),this.format),n=l.format(new Date,"YYYY-MM-DD");try{n=l.format(o,"YYYY-MM-DD")}catch(e){}return i.createElement("input",{type:"date",ref:function(t){return e.ref=t},defaultValue:n,onBlur:this.onBlur,onChange:this.onChange,onKeyUp:this.onKeyPress,style:s})},t}(i.Component);t.default=function(e,t,o,n,r){var l=document.createElement("div");return l.style.height="100%",a.render(i.createElement(c,{cell:e,onRendered:t,success:o,cancel:n,editorParams:r}),l),l}},function(e,t,o){"use strict";t.__esModule=!0;var n=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,r="[^\\s]+",i=/\[([^]*?)\]/gm;function a(e,t){for(var o=[],n=0,r=e.length;n<r;n++)o.push(e[n].substr(0,t));return o}var l=function(e){return function(t,o){var n=o[e].map((function(e){return e.toLowerCase()})).indexOf(t.toLowerCase());return n>-1?n:null}};function s(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var n=0,r=t;n<r.length;n++){var i=r[n];for(var a in i)e[a]=i[a]}return e}t.assign=s;var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],u=["January","February","March","April","May","June","July","August","September","October","November","December"],d=a(u,3),p={dayNamesShort:a(c,3),dayNames:c,monthNamesShort:d,monthNames:u,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10?1:0)*e%10]}};t.defaultI18n=p;var f=s({},p),m=function(e){return f=s(f,e)};t.setGlobalDateI18n=m;var h=function(e){return e.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},g=function(e,t){for(void 0===t&&(t=2),e=String(e);e.length<t;)e="0"+e;return e},b={D:function(e){return String(e.getDate())},DD:function(e){return g(e.getDate())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return String(e.getDay())},dd:function(e){return g(e.getDay())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return String(e.getMonth()+1)},MM:function(e){return g(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},YY:function(e){return g(String(e.getFullYear()),4).substr(2)},YYYY:function(e){return g(e.getFullYear(),4)},h:function(e){return String(e.getHours()%12||12)},hh:function(e){return g(e.getHours()%12||12)},H:function(e){return String(e.getHours())},HH:function(e){return g(e.getHours())},m:function(e){return String(e.getMinutes())},mm:function(e){return g(e.getMinutes())},s:function(e){return String(e.getSeconds())},ss:function(e){return g(e.getSeconds())},S:function(e){return String(Math.round(e.getMilliseconds()/100))},SS:function(e){return g(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return g(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+g(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+g(Math.floor(Math.abs(t)/60),2)+":"+g(Math.abs(t)%60,2)}},v=function(e){return+e-1},y=[null,"[1-9]\\d?"],w=[null,r],x=["isPm",r,function(e,t){var o=e.toLowerCase();return o===t.amPm[0]?0:o===t.amPm[1]?1:null}],E=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(e){var t=(e+"").match(/([+-]|\d\d)/gi);if(t){var o=60*+t[1]+parseInt(t[2],10);return"+"===t[0]?o:-o}return 0}],C={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+r,function(e){return parseInt(e,10)}],M:["month","[1-9]\\d?",v],MM:["month","\\d\\d",v],YY:["year","\\d\\d",function(e){var t=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+e>68?t-1:t)+e)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(e){return 100*+e}],SS:["millisecond","\\d\\d",function(e){return 10*+e}],SSS:["millisecond","\\d{3}"],d:y,dd:y,ddd:w,dddd:w,MMM:["month",r,l("monthNamesShort")],MMMM:["month",r,l("monthNames")],a:x,A:x,ZZ:E,Z:E},k={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},S=function(e){return s(k,e)};t.setGlobalDateMasks=S;var R=function(e,t,o){if(void 0===t&&(t=k.default),void 0===o&&(o={}),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date pass to format");var r=[];t=(t=k[t]||t).replace(i,(function(e,t){return r.push(t),"@@@"}));var a=s(s({},f),o);return(t=t.replace(n,(function(t){return b[t](e,a)}))).replace(/@@@/g,(function(){return r.shift()}))};function T(e,t,o){if(void 0===o&&(o={}),"string"!=typeof t)throw new Error("Invalid format in fecha parse");if(t=k[t]||t,e.length>1e3)return null;var r={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],l=[],c=t.replace(i,(function(e,t){return l.push(h(t)),"@@@"})),u={},d={};c=h(c).replace(n,(function(e){var t=C[e],o=t[0],n=t[1],r=t[3];if(u[o])throw new Error("Invalid format. "+o+" specified twice in format");return u[o]=!0,r&&(d[r]=!0),a.push(t),"("+n+")"})),Object.keys(d).forEach((function(e){if(!u[e])throw new Error("Invalid format. "+e+" is required in specified format")})),c=c.replace(/@@@/g,(function(){return l.shift()}));var p=e.match(new RegExp(c,"i"));if(!p)return null;for(var m=s(s({},f),o),g=1;g<p.length;g++){var b=a[g-1],v=b[0],y=b[2],w=y?y(p[g],m):+p[g];if(null==w)return null;r[v]=w}1===r.isPm&&null!=r.hour&&12!=+r.hour?r.hour=+r.hour+12:0===r.isPm&&12==+r.hour&&(r.hour=0);for(var x=new Date(r.year,r.month,r.day,r.hour,r.minute,r.second,r.millisecond),E=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],S=(g=0,E.length);g<S;g++)if(u[E[g][0]]&&r[E[g][0]]!==x[E[g][1]]())return null;return null==r.timezoneOffset?x:new Date(Date.UTC(r.year,r.month,r.day,r.hour,r.minute-r.timezoneOffset,r.second,r.millisecond))}t.format=R,t.parse=T,t.default={format:R,parse:T,defaultI18n:p,setGlobalDateI18n:m,setGlobalDateMasks:S}},function(e,t,o){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});t.__esModule=!0;var i=o(0),a=o(6),l=o(25),s=o(138),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={value:"",values:[],autofocus:!1},t.ref=null,t.setValueOnSuccess=function(e){void 0===e&&(e=t.state.values);var o=t.props,n=o.success;o.cancel;n(e)},t.handleDelete=function(e){var o=t.state.values.filter((function(t,o){return o!==e}));t.setState({values:o},(function(){t.setValueOnSuccess(o)}))},t.handleAddition=function(e){var o=t.state.values;e.name&&(o.push({id:e.name,name:e.name}),t.setState({values:o},(function(){t.setValueOnSuccess(o)})))},t.handleBlur=function(){var e=t.props.cancel,o=t.ref.input.input.value;if(o){var n=l.clone(t.state.values);n.push({id:o,name:o}),t.setValueOnSuccess(n)}else e();var r=a.findDOMNode(t.ref);r&&r.parentElement.parentElement.parentElement&&(r.parentElement.parentElement.parentElement.style.overflow="hidden")},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this;this.props.onRendered((function(){var t=a.findDOMNode(e.ref);t.style.zIndex=1,t.parentElement.parentElement.parentElement.style.overflow="inherit",t.querySelector("input").focus();var o=(e.props.cell.getValue()||[]).map((function(e){return"string"==typeof e?{id:e,name:e}:e}));e.setState({values:o})}))},t.prototype.render=function(){var e=this,t=this.props.editorParams,o=this.state.values,n=t.values;return i.createElement("div",null,i.createElement(s,{ref:function(t){return e.ref=t},placeholder:"Select or Type",tags:o,suggestions:n,allowNew:!0,autoresize:!0,autofocus:this.state.autofocus,handleAddition:this.handleAddition,handleDelete:this.handleDelete,handleBlur:this.handleBlur,minQueryLength:0}))},t}(i.Component);t.default=function(e,t,o,n,r){var l=document.createElement("div");return l.style.height="100%",a.render(i.createElement(c,{cell:e,onRendered:t,success:o,cancel:n,editorParams:r}),l),l}},function(e,t,o){"use strict";var n=o(0),r=o(4),i=o(139),a=o(140),l=o(141),s=13,c=9,u=8,d=38,p=40,f={root:"react-tags",rootFocused:"is-focused",selected:"react-tags__selected",selectedTag:"react-tags__selected-tag",selectedTagName:"react-tags__selected-tag-name",search:"react-tags__search",searchInput:"react-tags__search-input",suggestions:"react-tags__suggestions",suggestionActive:"is-active",suggestionDisabled:"is-disabled"},m=function(e){function t(t){e.call(this,t),this.state={query:"",focused:!1,expandable:!1,selectedIndex:-1,classNames:Object.assign({},f,this.props.classNames)},this.inputEventHandlers={onChange:function(){},onBlur:this.handleBlur.bind(this),onFocus:this.handleFocus.bind(this),onInput:this.handleInput.bind(this),onKeyDown:this.handleKeyDown.bind(this)},this.container=n.createRef()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentWillReceiveProps=function(e){this.setState({classNames:Object.assign({},f,e.classNames)})},t.prototype.handleInput=function(e){var t=e.target.value;this.props.handleInputChange&&this.props.handleInputChange(t),this.setState({query:t})},t.prototype.handleKeyDown=function(e){var t=this.state,o=t.query,n=t.selectedIndex,r=this.props,i=r.delimiters,a=r.delimiterChars;(i.indexOf(e.keyCode)>-1||a.indexOf(e.key)>-1)&&((o||n>-1)&&e.preventDefault(),this.handleDelimiter()),e.keyCode===u&&0===o.length&&this.props.allowBackspace&&this.deleteTag(this.props.tags.length-1),e.keyCode===d&&(e.preventDefault(),n<=0?this.setState({selectedIndex:this.suggestions.state.options.length-1}):this.setState({selectedIndex:n-1})),e.keyCode===p&&(e.preventDefault(),this.setState({selectedIndex:(n+1)%this.suggestions.state.options.length}))},t.prototype.handleDelimiter=function(){var e=this.state,t=e.query,o=e.selectedIndex;if(t.length>=this.props.minQueryLength){var n=this.suggestions.state.options.findIndex((function(e){return 0===e.name.search(new RegExp("^"+t+"$","i"))})),r=-1===o?n:o;r>-1&&this.suggestions.state.options[r]?this.addTag(this.suggestions.state.options[r]):this.props.allowNew&&this.addTag({name:t})}},t.prototype.handleClick=function(e){document.activeElement!==e.target&&this.input.input.focus()},t.prototype.handleBlur=function(){this.setState({focused:!1,selectedIndex:-1}),this.props.handleBlur&&this.props.handleBlur(),this.props.addOnBlur&&this.handleDelimiter()},t.prototype.handleFocus=function(){this.setState({focused:!0}),this.props.handleFocus&&this.props.handleFocus()},t.prototype.handleDeleteTag=function(e,t){if(this.container.current){var o=this.container.current.querySelectorAll("a,button,input"),n=Array.prototype.findIndex.call(o,(function(e){return e===t.currentTarget})),r=o[n-1]||o[n+1];r&&r.focus()}this.deleteTag(e)},t.prototype.addTag=function(e){e.disabled||("function"!=typeof this.props.handleValidate||this.props.handleValidate(e))&&(this.props.handleAddition(e),this.setState({query:"",selectedIndex:-1}))},t.prototype.deleteTag=function(e){this.props.handleDelete(e),this.props.clearInputOnDelete&&""!==this.state.query&&this.setState({query:""})},t.prototype.render=function(){var e=this,t=this.props.tagComponent||i,o=this.props.tags.map((function(o,r){return n.createElement(t,{key:r,tag:o,classNames:e.state.classNames,onDelete:e.handleDeleteTag.bind(e,r)})})),r=this.state.focused&&this.state.query.length>=this.props.minQueryLength,s=[this.state.classNames.root];return this.state.focused&&s.push(this.state.classNames.rootFocused),n.createElement("div",{ref:this.container,className:s.join(" "),onClick:this.handleClick.bind(this)},n.createElement("div",{className:this.state.classNames.selected,"aria-live":"polite","aria-relevant":"additions removals"},o),n.createElement("div",{className:this.state.classNames.search},n.createElement(a,Object.assign({},this.state,{inputAttributes:this.props.inputAttributes,inputEventHandlers:this.inputEventHandlers,ref:function(t){e.input=t},listboxId:"ReactTags-listbox",autofocus:this.props.autofocus,autoresize:this.props.autoresize,expandable:r,placeholder:this.props.placeholder,ariaLabel:this.props.ariaLabel})),n.createElement(l,Object.assign({},this.state,{ref:function(t){e.suggestions=t},listboxId:"ReactTags-listbox",expandable:r,noSuggestionsText:this.props.noSuggestionsText,suggestions:this.props.suggestions,suggestionsFilter:this.props.suggestionsFilter,addTag:this.addTag.bind(this),maxSuggestionsLength:this.props.maxSuggestionsLength}))))},t}(n.Component);m.defaultProps={tags:[],placeholder:"Add new tag",noSuggestionsText:null,suggestions:[],suggestionsFilter:null,autofocus:!0,autoresize:!0,delimiters:[c,s],delimiterChars:[],minQueryLength:2,maxSuggestionsLength:6,allowNew:!1,allowBackspace:!0,tagComponent:null,inputAttributes:{},addOnBlur:!1,clearInputOnDelete:!0},m.propTypes={tags:r.arrayOf(r.object),placeholder:r.string,ariaLabel:r.string,noSuggestionsText:r.string,suggestions:r.arrayOf(r.object),suggestionsFilter:r.func,autofocus:r.bool,autoresize:r.bool,delimiters:r.arrayOf(r.number),delimiterChars:r.arrayOf(r.string),handleDelete:r.func.isRequired,handleAddition:r.func.isRequired,handleInputChange:r.func,handleFocus:r.func,handleBlur:r.func,handleValidate:r.func,minQueryLength:r.number,maxSuggestionsLength:r.number,classNames:r.object,allowNew:r.bool,allowBackspace:r.bool,tagComponent:r.oneOfType([r.func,r.element]),inputAttributes:r.object,addOnBlur:r.bool,clearInputOnDelete:r.bool},e.exports=m},function(e,t,o){"use strict";var n=o(0);e.exports=function(e){return n.createElement("button",{type:"button",className:e.classNames.selectedTag,title:"Click to remove tag",onClick:e.onDelete},n.createElement("span",{className:e.classNames.selectedTagName},e.tag.name))}},function(e,t,o){"use strict";var n=o(0),r={position:"absolute",width:0,height:0,visibility:"hidden",overflow:"scroll",whiteSpace:"pre"},i=["fontSize","fontFamily","fontWeight","fontStyle","letterSpacing","textTransform"],a=function(e){function t(t){e.call(this,t),this.state={inputWidth:null}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){this.props.autoresize&&(this.copyInputStyles(),this.updateInputWidth()),this.props.autofocus&&this.input.focus()},t.prototype.componentDidUpdate=function(e){var t=e.query,o=e.placeholder;t===this.props.query&&o===this.props.placeholder||this.updateInputWidth()},t.prototype.copyInputStyles=function(){var e=this,t=window.getComputedStyle(this.input);i.forEach((function(o){e.sizer.style[o]=t[o]}))},t.prototype.updateInputWidth=function(){var e;this.props.autoresize&&(e=Math.ceil(this.sizer.scrollWidth)+2),e!==this.state.inputWidth&&this.setState({inputWidth:e})},t.prototype.render=function(){var e=this,t=this.props,o=t.inputAttributes,i=t.inputEventHandlers,a=t.query,l=t.placeholder,s=t.expandable,c=t.listboxId,u=t.selectedIndex,d=t.ariaLabel;return n.createElement("div",{className:this.props.classNames.searchInput},n.createElement("input",Object.assign({},o,i,{ref:function(t){e.input=t},value:a,placeholder:l,role:"combobox","aria-autocomplete":"list","aria-label":d||l,"aria-owns":c,"aria-activedescendant":u>-1?c+"-"+u:null,"aria-expanded":s,style:{width:this.state.inputWidth}})),n.createElement("div",{ref:function(t){e.sizer=t},style:r},a||l))},t}(n.Component);e.exports=a},function(e,t,o){"use strict";var n=o(0);function r(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function i(e,t){if(t){var o=RegExp(r(t),"gi");e=e.replace(o,"<mark>$&</mark>")}return{__html:e}}function a(e,t,o,n,i){if(!n){var a=new RegExp("(?:^|\\s)"+r(e),"i");n=function(e){return a.test(e.name)}}var l=t.filter((function(t){return n(t,e)})).slice(0,o);return 0===l.length&&i&&l.push({id:0,name:i,disabled:!0,disableMarkIt:!0}),l}var l=function(e){function t(t){e.call(this,t),this.state={options:a(this.props.query,this.props.suggestions,this.props.maxSuggestionsLength,this.props.suggestionsFilter,this.props.noSuggestionsText)}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentWillReceiveProps=function(e){this.setState({options:a(e.query,e.suggestions,e.maxSuggestionsLength,e.suggestionsFilter,e.noSuggestionsText)})},t.prototype.handleMouseDown=function(e,t){t.preventDefault(),this.props.addTag(e)},t.prototype.render=function(){var e=this;if(!this.props.expandable||!this.state.options.length)return null;var t=this.state.options.map((function(t,o){var r=e.props.listboxId+"-"+o,a=[];return e.props.selectedIndex===o&&a.push(e.props.classNames.suggestionActive),t.disabled&&a.push(e.props.classNames.suggestionDisabled),n.createElement("li",{id:r,key:r,role:"option",className:a.join(" "),"aria-disabled":!0===t.disabled,onMouseDown:e.handleMouseDown.bind(e,t)},t.disableMarkIt?t.name:n.createElement("span",{dangerouslySetInnerHTML:i(t.name,e.props.query,t.markInput)}))}));return n.createElement("div",{className:this.props.classNames.suggestions},n.createElement("ul",{role:"listbox",id:this.props.listboxId},t))},t}(n.Component);e.exports=l},function(e,t,o){"use strict";t.__esModule=!0;var n=o(0),r=o(6);t.default=function(e,t,o){var i=t.style||"",a=e.getValue()||[],l=a&&a.length>0&&"string"==typeof a[0]?n.createElement("span",null,a.join(", ")):n.createElement("span",null);"PILL"===i&&(l=n.createElement("div",null,a.map((function(e){return"string"==typeof e?n.createElement("span",{key:e},e):n.createElement("span",{key:e.name},e.name)}))));var s=function(){var e=document.createElement("div");return e.style.height="100%",e}();return s.className="multi-value-formatter-content",s.title=a&&a.length>0&&"string"==typeof a[0]?a.join(", "):"",r.render(l,s),s}},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,o){"use strict";o.r(t);o(73),o(75),o(77),o(79);var n=o(0),r=o.n(n),i=o(6),a=o.n(i),l=o(9),s=o.n(l),c=o(4),u=o.n(c),d=o(1);function p(e){return"/"===e.charAt(0)}function f(e,t){for(var o=t,n=o+1,r=e.length;n<r;o+=1,n+=1)e[o]=e[n];e.pop()}var m=function(e,t){void 0===t&&(t="");var o,n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),l=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";if(r.length){var s=r[r.length-1];o="."===s||".."===s||""===s}else o=!1;for(var c=0,u=r.length;u>=0;u--){var d=r[u];"."===d?f(r,u):".."===d?(f(r,u),c++):c&&(f(r,u),c--)}if(!l)for(;c--;c)r.unshift("..");!l||""===r[0]||r[0]&&p(r[0])||r.unshift("");var m=r.join("/");return o&&"/"!==m.substr(-1)&&(m+="/"),m};var h=function(e,t){if(!e)throw new Error("Invariant failed")};function g(e){return"/"===e.charAt(0)?e:"/"+e}function b(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function v(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function y(e){var t=e.pathname,o=e.search,n=e.hash,r=t||"/";return o&&"?"!==o&&(r+="?"===o.charAt(0)?o:"?"+o),n&&"#"!==n&&(r+="#"===n.charAt(0)?n:"#"+n),r}function w(e,t,o,n){var r;"string"==typeof e?(r=function(e){var t=e||"/",o="",n="",r=t.indexOf("#");-1!==r&&(n=t.substr(r),t=t.substr(0,r));var i=t.indexOf("?");return-1!==i&&(o=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===o?"":o,hash:"#"===n?"":n}}(e)).state=t:(void 0===(r=Object(d.a)({},e)).pathname&&(r.pathname=""),r.search?"?"!==r.search.charAt(0)&&(r.search="?"+r.search):r.search="",r.hash?"#"!==r.hash.charAt(0)&&(r.hash="#"+r.hash):r.hash="",void 0!==t&&void 0===r.state&&(r.state=t));try{r.pathname=decodeURI(r.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return o&&(r.key=o),n?r.pathname?"/"!==r.pathname.charAt(0)&&(r.pathname=m(r.pathname,n.pathname)):r.pathname=n.pathname:r.pathname||(r.pathname="/"),r}function x(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,o,n,r){if(null!=e){var i="function"==typeof e?e(t,o):e;"string"==typeof i?"function"==typeof n?n(i,r):r(!0):r(!1!==i)}else r(!0)},appendListener:function(e){var o=!0;function n(){o&&e.apply(void 0,arguments)}return t.push(n),function(){o=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,o)}))}}}var E=!("undefined"==typeof window||!window.document||!window.document.createElement);function C(e,t){t(window.confirm(e))}function k(){try{return window.history.state||{}}catch(e){return{}}}function S(e){void 0===e&&(e={}),E||h(!1);var t,o=window.history,n=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,r=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,l=void 0!==a&&a,s=i.getUserConfirmation,c=void 0===s?C:s,u=i.keyLength,p=void 0===u?6:u,f=e.basename?v(g(e.basename)):"";function m(e){var t=e||{},o=t.key,n=t.state,r=window.location,i=r.pathname+r.search+r.hash;return f&&(i=b(i,f)),w(i,n,o)}function S(){return Math.random().toString(36).substr(2,p)}var R=x();function T(e){Object(d.a)(F,e),F.length=o.length,R.notifyListeners(F.location,F.action)}function D(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(m(e.state))}function M(){P(m(k()))}var A=!1;function P(e){if(A)A=!1,T();else{R.confirmTransitionTo(e,"POP",c,(function(t){t?T({action:"POP",location:e}):function(e){var t=F.location,o=O.indexOf(t.key);-1===o&&(o=0);var n=O.indexOf(e.key);-1===n&&(n=0);var r=o-n;r&&(A=!0,N(r))}(e)}))}}var _=m(k()),O=[_.key];function L(e){return f+y(e)}function N(e){o.go(e)}var z=0;function j(e){1===(z+=e)&&1===e?(window.addEventListener("popstate",D),r&&window.addEventListener("hashchange",M)):0===z&&(window.removeEventListener("popstate",D),r&&window.removeEventListener("hashchange",M))}var I=!1;var F={length:o.length,action:"POP",location:_,createHref:L,push:function(e,t){var r=w(e,t,S(),F.location);R.confirmTransitionTo(r,"PUSH",c,(function(e){if(e){var t=L(r),i=r.key,a=r.state;if(n)if(o.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var s=O.indexOf(F.location.key),c=O.slice(0,s+1);c.push(r.key),O=c,T({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=w(e,t,S(),F.location);R.confirmTransitionTo(r,"REPLACE",c,(function(e){if(e){var t=L(r),i=r.key,a=r.state;if(n)if(o.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var s=O.indexOf(F.location.key);-1!==s&&(O[s]=r.key),T({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=R.setPrompt(e);return I||(j(1),I=!0),function(){return I&&(I=!1,j(-1)),t()}},listen:function(e){var t=R.appendListener(e);return j(1),function(){j(-1),t()}}};return F}var R=o(11),T=o.n(R),D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var P=function(e){function t(){var o,n;M(this,t);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return o=n=A(this,e.call.apply(e,[this].concat(i))),n.state={match:n.computeMatch(n.props.history.location.pathname)},A(n,o)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:D({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,o=t.children,n=t.history;T()(null==o||1===r.a.Children.count(o),"A <Router> may have only one child element"),this.unlisten=n.listen((function(){e.setState({match:e.computeMatch(n.location.pathname)})}))},t.prototype.componentWillReceiveProps=function(e){s()(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?r.a.Children.only(e):null},t}(r.a.Component);P.propTypes={history:u.a.object.isRequired,children:u.a.node},P.contextTypes={router:u.a.object},P.childContextTypes={router:u.a.object.isRequired};var _=P;function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var N=function(e){function t(){var o,n;O(this,t);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return o=n=L(this,e.call.apply(e,[this].concat(i))),n.history=S(n.props),L(n,o)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){s()(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return r.a.createElement(_,{history:this.history,children:this.props.children})},t}(r.a.Component);N.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var z=N;function j(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}class I{}j(I,"RooDirectoryID",-1),j(I,"upload_chunk_size",1048576),j(I,"EnviromentValue","NoSet");var F,H,B,U=o(63),W=o.n(U);function V(e,t){if(null==e)throw"LogTools: sender not set";console.log(e+": "+t)}class G{static Get(){return null!=this._Single&&null!=this._Single||(this._Single=new G),this._Single}constructor(){this.ID=0,this.Controls=[]}RegisterControl(e){e.ID=this.ID,this.ID++,this.Controls.push(e),V("RegisterControl",e.Name+" "+e.ID)}UnregisterControl(e){this.Controls.splice(this.Controls.findIndex(t=>t.ID===e.ID),1),V("UnregisterControl",e.Name+" "+e.ID)}}B=void 0,(H="_Single")in(F=G)?Object.defineProperty(F,H,{value:B,enumerable:!0,configurable:!0,writable:!0}):F[H]=B;class q{static Get(){return null!=this._Single&&null!=this._Single||(this._Single=new q),this._Single}constructor(){this.Events=["OnAuthChange","OnItemsChange_Main","OnItemsChange_MainExplorer_InfoLoaded","OnItemsChange_Move","OnItemsChange_MoveExplorer_InfoLoaded","OnHaveDataChange"],this.Listeners={},this.Events.map(function(e){this.Listeners[e]=[]}.bind(this))}RegisterListener(e,t){if(!this.Events.includes(e))throw"Event not found";if(null==t["Event_"+e])throw"Control not implement event function";this.Listeners[e].push(t),t.IsEventListener=!0}UnregistListener(e){Object.keys(this.Listeners).map(function(t){let o=this.Listeners[t].findIndex(t=>t.ID===e.ID);-1!=o&&this.Listeners[t].splice(o,1)}.bind(this))}EventAction(e,t){if(!this.Events.includes(e))throw"Event not found";this.Listeners[e].map((function(o){o["Event_"+e](t)}))}}function Y(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}!function(e,t,o){t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o}(q,"_Single",void 0);class $ extends r.a.Component{constructor(e,t){super(e),this.Name=t,W()(this),this.GlobalState=$.GlobalState,this.EventRegister=$.eventRegister,this._isMounted=!1,this.Log=e=>{!function(e,t){if(null==e)throw"LogTools: sender not set";console.log(e.Name+"_"+e.ID+": "+t)}(this,e)},$.controlRegister.RegisterControl(this),this.Log("start")}setState(e){this._isMounted&&super.setState(e)}componentDidMount(){this._isMounted=!0}componentWillUnmount(){this._isMounted=!1,$.controlRegister.UnregisterControl(this),!0===this.IsEventListener&&$.eventRegister.UnregistListener(this)}}Y($,"controlRegister",G.Get()),Y($,"eventRegister",q.Get()),Y($,"GlobalState",{});var K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var J=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},Z=function(e){function t(){var o,n;X(this,t);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return o=n=Q(this,e.call.apply(e,[this].concat(i))),n.handleClick=function(e){if(n.props.onClick&&n.props.onClick(e),!e.defaultPrevented&&0===e.button&&!n.props.target&&!J(e)){e.preventDefault();var t=n.context.router.history,o=n.props,r=o.replace,i=o.to;r?t.replace(i):t.push(i)}},Q(n,o)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),o=e.innerRef,n=function(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}(e,["replace","to","innerRef"]);T()(this.context.router,"You should not use <Link> outside a <Router>"),T()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?w(t,null,null,i.location):t,l=i.createHref(a);return r.a.createElement("a",K({},n,{onClick:this.handleClick,href:l,ref:o}))},t}(r.a.Component);Z.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},Z.defaultProps={replace:!1},Z.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var ee=Z,te=o(2),oe=o(5),ne=o(3),re=o.n(ne),ie=function(){};function ae(e,t){return void 0!==e[t]}function le(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function se(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function ce(e,t){return Object.keys(t).reduce((function(o,r){var i,a=o,l=a[le(r)],s=a[r],c=Object(te.a)(a,[le(r),r].map(se)),u=t[r],p=function(e,t,o){var r=Object(n.useRef)(void 0!==e),i=Object(n.useState)(t),a=i[0],l=i[1],s=void 0!==e,c=r.current;return r.current=s,!s&&c&&a!==t&&l(t),[s?e:a,Object(n.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o&&o.apply(void 0,[e].concat(n)),l(e)}),[o])]}(s,l,e[u]),f=p[0],m=p[1];return Object(d.a)({},c,((i={})[r]=f,i[u]=m,i))}),e)}function ue(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function de(e){this.setState(function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!=o?o:null}.bind(this))}function pe(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}ue.__suppressDeprecationWarning=!0,de.__suppressDeprecationWarning=!0,pe.__suppressDeprecationWarning=!0;var fe=o(37),me=o.n(fe),he=o(38),ge=o.n(he),be=r.a.createContext(new Map),ve=(be.Consumer,be.Provider);function ye(e,t){var o=Object(n.useContext)(be);return e||o.get(t)||t}function we(e,t){"string"==typeof t&&(t={prefix:t});var o=e.prototype&&e.prototype.isReactComponent,i=t,a=i.prefix,l=i.forwardRefAs,s=void 0===l?o?"ref":"innerRef":l;return ge()((function(t,o){var i=Object(d.a)({},t);i[s]=o;var l=Object(n.useContext)(be);return r.a.createElement(e,Object(d.a)({},i,{bsPrefix:i.bsPrefix||l.get(a)||a}))}),{displayName:"Bootstrap("+(e.displayName||e.name)+")"})}r.a.Component;function xe(e,t){var o,n=void 0===t?{}:t,i=n.displayName,a=void 0===i?(o=e)[0].toUpperCase()+me()(o).slice(1):i,l=n.Component,s=void 0===l?"div":l,c=n.defaultProps,u=r.a.forwardRef((function(t,o){var n=t.className,i=t.bsPrefix,a=t.as,l=void 0===a?s:a,c=Object(te.a)(t,["className","bsPrefix","as"]),u=ye(i,e);return r.a.createElement(l,Object(d.a)({ref:o,className:re()(n,u)},c))}));return u.defaultProps=c,u.displayName=a,u}var Ee=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.className,i=e.as,a=Object(te.a)(e,["bsPrefix","className","as"]);o=ye(o,"navbar-brand");var l=i||(a.href?"a":"span");return r.a.createElement(l,Object(d.a)({},a,{ref:t,className:re()(n,o)}))}));Ee.displayName="NavbarBrand";var Ce=Ee,ke=o(15),Se=o.n(ke),Re=o(29),Te=o.n(Re),De=!1,Me=r.a.createContext(null),Ae=function(e){function t(t,o){var n;n=e.call(this,t,o)||this;var r,i=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(r="exited",n.appearStatus="entering"):r="entered":r=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",n.state={status:r},n.nextCallback=null,n}Object(oe.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?"entering"!==o&&"entered"!==o&&(t="entering"):"entering"!==o&&"entered"!==o||(t="exiting")}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,o,n=this.props.timeout;return e=t=o=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,o=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:o}},o.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},o.performEnter=function(e){var t=this,o=this.props.enter,n=this.context?this.context.isMounting:e,r=this.props.nodeRef?[n]:[a.a.findDOMNode(this),n],i=r[0],l=r[1],s=this.getTimeouts(),c=n?s.appear:s.enter;!e&&!o||De?this.safeSetState({status:"entered"},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:"entering"},(function(){t.props.onEntering(i,l),t.onTransitionEnd(c,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(i,l)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),n=this.props.nodeRef?void 0:a.a.findDOMNode(this);t&&!De?(this.props.onExit(n),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(n),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(n)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(n){o&&(o=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:a.a.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(o&&!n){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],i=r[0],l=r[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,o=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(te.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.a.createElement(Me.Provider,{value:null},"function"==typeof o?o(e,n):r.a.cloneElement(r.a.Children.only(o),n))},t}(r.a.Component);function Pe(){}Ae.contextType=Me,Ae.propTypes={},Ae.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Pe,onEntering:Pe,onEntered:Pe,onExit:Pe,onExiting:Pe,onExited:Pe},Ae.UNMOUNTED="unmounted",Ae.EXITED="exited",Ae.ENTERING="entering",Ae.ENTERED="entered",Ae.EXITING="exiting";var _e=Ae;function Oe(e){e.offsetHeight}var Le,Ne=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];e.apply(this,n),t.apply(this,n)}}),null)},ze={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};var je=((Le={}).exited="collapse",Le.exiting="collapsing",Le.entering="collapsing",Le.entered="collapse show",Le),Ie={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,dimension:"height",getDimensionValue:function(e,t){var o=t["offset"+e[0].toUpperCase()+e.slice(1)],n=ze[e];return o+parseInt(Se()(t,n[0]),10)+parseInt(Se()(t,n[1]),10)}},Fe=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).handleEnter=function(e){e.style[t.getDimension()]="0"},t.handleEntering=function(e){var o=t.getDimension();e.style[o]=t._getScrollDimensionValue(e,o)},t.handleEntered=function(e){e.style[t.getDimension()]=null},t.handleExit=function(e){var o=t.getDimension();e.style[o]=t.props.getDimensionValue(o,e)+"px",Oe(e)},t.handleExiting=function(e){e.style[t.getDimension()]=null},t}Object(oe.a)(t,e);var o=t.prototype;return o.getDimension=function(){return"function"==typeof this.props.dimension?this.props.dimension():this.props.dimension},o._getScrollDimensionValue=function(e,t){return e["scroll"+t[0].toUpperCase()+t.slice(1)]+"px"},o.render=function(){var e=this,t=this.props,o=t.onEnter,n=t.onEntering,i=t.onEntered,a=t.onExit,l=t.onExiting,s=t.className,c=t.children,u=Object(te.a)(t,["onEnter","onEntering","onEntered","onExit","onExiting","className","children"]);delete u.dimension,delete u.getDimensionValue;var p=Ne(this.handleEnter,o),f=Ne(this.handleEntering,n),m=Ne(this.handleEntered,i),h=Ne(this.handleExit,a),g=Ne(this.handleExiting,l);return r.a.createElement(_e,Object(d.a)({addEndListener:Te.a},u,{"aria-expanded":u.role?u.in:null,onEnter:p,onEntering:f,onEntered:m,onExit:h,onExiting:g}),(function(t,o){return r.a.cloneElement(c,Object(d.a)({},o,{className:re()(s,c.props.className,je[t],"width"===e.getDimension()&&"width")}))}))},t}(r.a.Component);Fe.defaultProps=Ie;var He=Fe,Be=r.a.createContext(null),Ue=r.a.forwardRef((function(e,t){var o=e.children,n=e.bsPrefix,i=Object(te.a)(e,["children","bsPrefix"]);return n=ye(n,"navbar-collapse"),r.a.createElement(Be.Consumer,null,(function(e){return r.a.createElement(He,Object(d.a)({in:!(!e||!e.expanded)},i),r.a.createElement("div",{ref:t,className:n},o))}))}));Ue.displayName="NavbarCollapse";var We=Ue;var Ve=function(e){var t=Object(n.useRef)(e);return Object(n.useEffect)((function(){t.current=e}),[e]),t};function Ge(e){var t=Ve(e);return Object(n.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}var qe=r.a.forwardRef((function(e,t){var o=e.bsPrefix,i=e.className,a=e.children,l=e.label,s=e.as,c=void 0===s?"button":s,u=e.onClick,p=Object(te.a)(e,["bsPrefix","className","children","label","as","onClick"]);o=ye(o,"navbar-toggler");var f=Object(n.useContext)(Be)||{},m=f.onToggle,h=f.expanded,g=Ge((function(e){u&&u(e),m&&m()}));return"button"===c&&(p.type="button"),r.a.createElement(c,Object(d.a)({},p,{ref:t,onClick:g,"aria-label":l,className:re()(i,o,!!h&&"collapsed")}),a||r.a.createElement("span",{className:o+"-icon"}))}));qe.displayName="NavbarToggle",qe.defaultProps={label:"Toggle navigation"};var Ye=qe,$e=r.a.createContext(),Ke=function(e,t){return null!=e?String(e):t||null},Xe=$e,Qe=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).state={navbarContext:{onToggle:function(){return t.handleToggle()}}},t.handleCollapse=function(){var e=t.props,o=e.onToggle,n=e.expanded,r=e.collapseOnSelect,i=e.onSelect;i&&i.apply(void 0,arguments),r&&n&&o(!1)},t.handleToggle=function(){var e=t.props;(0,e.onToggle)(!e.expanded)},t}return Object(oe.a)(t,e),t.getDerivedStateFromProps=function(e,t){var o=e.bsPrefix,n=e.expanded;return{navbarContext:Object(d.a)({},t.navbarContext,{bsPrefix:o,expanded:n})}},t.prototype.render=function(){var e=this.props,t=e.bsPrefix,o=e.expand,n=e.variant,i=e.bg,a=e.fixed,l=e.sticky,s=e.className,c=e.children,u=e.as,p=void 0===u?"nav":u,f=(e.expanded,e.onToggle,e.onSelect,e.collapseOnSelect,Object(te.a)(e,["bsPrefix","expand","variant","bg","fixed","sticky","className","children","as","expanded","onToggle","onSelect","collapseOnSelect"]));void 0===f.role&&"nav"!==p&&(f.role="navigation");var m=t+"-expand";return"string"==typeof o&&(m=m+"-"+o),r.a.createElement(Be.Provider,{value:this.state.navbarContext},r.a.createElement(Xe.Provider,{value:this.handleCollapse},r.a.createElement(p,Object(d.a)({},f,{className:re()(s,t,o&&m,n&&t+"-"+n,i&&"bg-"+i,l&&"sticky-"+l,a&&"fixed-"+a)}),c)))},t}(r.a.Component);Qe.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1};var Je=we(function e(t,o,n){void 0===n&&(n=[]);var i=t.displayName||t.name||"Component",a=function(e){return!!e&&("function"!=typeof e||e.prototype&&e.prototype.isReactComponent)}(t),l=Object.keys(o),s=l.map(le);!a&&n.length&&T()(!1);var c=function(e){function i(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];(t=e.call.apply(e,[this].concat(i))||this).handlers=Object.create(null),l.forEach((function(e){var n=o[e];t.handlers[n]=function(o){if(t.props[n]){var r;t._notifying=!0;for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];(r=t.props)[n].apply(r,[o].concat(a)),t._notifying=!1}t.unmounted||t.setState((function(t){var n,r=t.values;return{values:Object(d.a)(Object.create(null),r,(n={},n[e]=o,n))}}))}})),n.length&&(t.attachRef=function(e){t.inner=e});var s=Object.create(null);return l.forEach((function(e){s[e]=t.props[le(e)]})),t.state={values:s,prevProps:{}},t}Object(oe.a)(i,e);var a=i.prototype;return a.shouldComponentUpdate=function(){return!this._notifying},i.getDerivedStateFromProps=function(e,t){var o=t.values,n=t.prevProps,r={values:Object(d.a)(Object.create(null),o),prevProps:{}};return l.forEach((function(t){r.prevProps[t]=e[t],!ae(e,t)&&ae(n,t)&&(r.values[t]=e[le(t)])})),r},a.componentWillUnmount=function(){this.unmounted=!0},a.render=function(){var e=this,o=this.props,n=o.innerRef,i=Object(te.a)(o,["innerRef"]);s.forEach((function(e){delete i[e]}));var a={};return l.forEach((function(t){var o=e.props[t];a[t]=void 0!==o?o:e.state.values[t]})),r.a.createElement(t,Object(d.a)({},i,a,this.handlers,{ref:n||this.attachRef}))},i}(r.a.Component);!function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var o=null,n=null,r=null;if("function"==typeof t.componentWillMount?o="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(o="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?n="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(n="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==o||null!==n||null!==r){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==o?"\n  "+o:"")+(null!==n?"\n  "+n:"")+(null!==r?"\n  "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=ue,t.componentWillReceiveProps=de),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=pe;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,o){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:o;l.call(this,e,t,n)}}}(c),c.displayName="Uncontrolled("+i+")",c.propTypes=Object(d.a)({innerRef:function(){}},function(e,t){var o={};return Object.keys(e).forEach((function(e){o[le(e)]=ie})),o}(o)),n.forEach((function(e){c.prototype[e]=function(){var t;return(t=this.inner)[e].apply(t,arguments)}}));var u=c;return r.a.forwardRef&&((u=r.a.forwardRef((function(e,t){return r.a.createElement(c,Object(d.a)({},e,{innerRef:t}))}))).propTypes=c.propTypes),u.ControlledComponent=t,u.deferControlTo=function(t,n,r){return void 0===n&&(n={}),e(t,Object(d.a)({},o,n),r)},u}(Qe,{expanded:"onToggle"}),"navbar");Je.Brand=Ce,Je.Toggle=Ye,Je.Collapse=We,Je.Text=xe("navbar-text",{Component:"span"});var Ze=Je,et=(o(95),r.a.createContext(null)),tt=o(13),ot=o.n(tt),nt=o(65),rt=o.n(nt),it=r.a.createContext(null),at=r.a.createContext(null),lt=function(){},st=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).state={navContext:null},t.handleSelect=function(e,o){var n=t.props,r=n.onSelect,i=n.parentOnSelect;null!=e&&(r&&r(e,o),i&&i(e,o))},t.handleKeyDown=function(e){var o,n=t.props.onKeyDown;switch(n&&n(e),e.key){case"ArrowLeft":case"ArrowUp":o=t.getNextActiveChild(-1);break;case"ArrowRight":case"ArrowDown":o=t.getNextActiveChild(1);break;default:return}o&&(e.preventDefault(),t.handleSelect(o.dataset.rbEventKey,e),t._needsRefocus=!0)},t.attachRef=function(e){t.listNode=e},t}Object(oe.a)(t,e),t.getDerivedStateFromProps=function(e){var t=e.activeKey,o=e.getControlledId,n=e.getControllerId;return{navContext:{role:e.role,activeKey:Ke(t),getControlledId:o||lt,getControllerId:n||lt}}};var o=t.prototype;return o.componentDidUpdate=function(){if(this._needsRefocus&&this.listNode){var e=this.listNode.querySelector("[data-rb-event-key].active");e&&e.focus()}},o.getNextActiveChild=function(e){if(!this.listNode)return null;var t=ot()(this.listNode,"[data-rb-event-key]:not(.disabled)"),o=this.listNode.querySelector(".active"),n=t.indexOf(o);if(-1===n)return null;var r=n+e;return r>=t.length&&(r=0),r<0&&(r=t.length-1),t[r]},o.render=function(){var e=this.props,t=e.as,o=void 0===t?"ul":t,n=(e.onSelect,e.parentOnSelect,e.getControlledId,e.getControllerId,e.activeKey,Object(te.a)(e,["as","onSelect","parentOnSelect","getControlledId","getControllerId","activeKey"]));return"tablist"===n.role&&(n.onKeyDown=this.handleKeyDown),r.a.createElement(Xe.Provider,{value:this.handleSelect},r.a.createElement(it.Provider,{value:this.state.navContext},r.a.createElement(o,Object(d.a)({},n,{onKeyDown:this.handleKeyDown,ref:this.attachRef}))))},t}(r.a.Component),ct=rt()([Xe,at],(function(e,t,o){var n=o.role;return t?{activeKey:t.activeKey,parentOnSelect:e,role:n||"tablist",getControllerId:t.getControllerId,getControlledId:t.getControlledId}:{parentOnSelect:e}}),st),ut=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.className,i=e.children,a=e.as,l=void 0===a?"div":a,s=Object(te.a)(e,["bsPrefix","className","children","as"]);return o=ye(o,"nav-item"),r.a.createElement(l,Object(d.a)({},s,{ref:t,className:re()(n,o)}),i)}));ut.displayName="NavItem";var dt=ut;function pt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e){return!e||"#"===e.trim()}var mt=function(e){function t(t,o){var n;return(n=e.call(this,t,o)||this).handleClick=n.handleClick.bind(pt(n)),n.handleKeyDown=n.handleKeyDown.bind(pt(n)),n}Object(oe.a)(t,e);var o=t.prototype;return o.handleClick=function(e){var t=this.props,o=t.disabled,n=t.href,r=t.onClick;(o||ft(n))&&e.preventDefault(),o?e.stopPropagation():r&&r(e)},o.handleKeyDown=function(e){" "===e.key&&(e.preventDefault(),this.handleClick(e))},o.render=function(){var e=this.props,t=e.as,o=void 0===t?"a":t,n=e.disabled,i=e.onKeyDown,a=e.innerRef,l=Object(te.a)(e,["as","disabled","onKeyDown","innerRef"]);return ft(l.href)&&(l.role=l.role||"button",l.href=l.href||"#"),n&&(l.tabIndex=-1,l["aria-disabled"]=!0),a&&(l.ref=a),r.a.createElement(o,Object(d.a)({},l,{onClick:this.handleClick,onKeyDown:Ne(this.handleKeyDown,i)}))},t}(r.a.Component),ht=r.a.forwardRef((function(e,t){var o=e.active,i=e.className,a=e.tabIndex,l=e.eventKey,s=e.onSelect,c=e.onClick,u=e.as,p=Object(te.a)(e,["active","className","tabIndex","eventKey","onSelect","onClick","as"]),f=Ke(l,p.href),m=Object(n.useContext)(Xe),h=Object(n.useContext)(it),g=o;h&&(p.role||"tablist"!==h.role||(p.role="tab"),p["data-rb-event-key"]=f,p.id=h.getControllerId(f),p["aria-controls"]=h.getControlledId(f),g=null==o&&null!=f?h.activeKey===f:o),"tab"===p.role&&(p.tabIndex=g?a:-1,p["aria-selected"]=g);var b=Ge((function(e){c&&c(e),null!=f&&(s&&s(f,e),m&&m(f,e))}));return r.a.createElement(u,Object(d.a)({},p,{ref:t,onClick:b,className:re()(i,g&&"active")}))}));ht.defaultProps={disabled:!1};var gt=ht,bt={disabled:!1,as:mt},vt=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.disabled,i=e.className,a=e.href,l=e.eventKey,s=e.onSelect,c=e.as,u=Object(te.a)(e,["bsPrefix","disabled","className","href","eventKey","onSelect","as"]);return o=ye(o,"nav-link"),r.a.createElement(gt,Object(d.a)({},u,{href:a,ref:t,eventKey:l,as:c,disabled:n,onSelect:s,className:re()(i,o,n&&"disabled")}))}));vt.displayName="NavLink",vt.defaultProps=bt;var yt=vt,wt=r.a.forwardRef((function(e,t){var o,i,a,l=ce(e,{activeKey:"onSelect"}),s=l.as,c=void 0===s?"div":s,u=l.bsPrefix,p=l.variant,f=l.fill,m=l.justify,h=l.navbar,g=l.className,b=l.children,v=l.activeKey,y=Object(te.a)(l,["as","bsPrefix","variant","fill","justify","navbar","className","children","activeKey"]);u=ye(u,"nav");var w=Object(n.useContext)(Be),x=Object(n.useContext)(et);return w?(i=w.bsPrefix,h=null==h||h):x&&(a=x.cardHeaderBsPrefix),r.a.createElement(ct,Object(d.a)({as:c,ref:t,activeKey:v,className:re()(g,(o={},o[u]=!h,o[i+"-nav"]=h,o[a+"-"+p]=!!a,o[u+"-"+p]=!!p,o[u+"-fill"]=f,o[u+"-justified"]=m,o))},y),b)}));wt.displayName="Nav",wt.defaultProps={justify:!1,fill:!1},wt.Item=dt,wt.Link=yt;var xt=wt,Et=o(66),Ct=o.n(Et),kt=o(39),St=o.n(kt),Rt=r.a.forwardRef((function(e,t){var o=e.bsPrefix,a=e.className,l=e.alignRight,s=e.rootCloseEvent,c=e.flip,u=e.popperConfig,p=e.show,f=e.as,m=void 0===f?"div":f,h=Object(te.a)(e,["bsPrefix","className","alignRight","rootCloseEvent","flip","popperConfig","show","as"]),g=Object(n.useContext)(Be),b=ye(o,"dropdown-menu");return r.a.createElement(St.a,{ref:t,flip:c,show:p,alignEnd:l,usePopper:!g,popperConfig:u,rootCloseEvent:s},(function(e){var t=e.placement,o=e.show,n=e.alignEnd,l=e.close,s=e.props;!function(e){var t=e.ref;e.ref=t.__wrapped||(t.__wrapped=function(e){return t(Object(i.findDOMNode)(e))})}(s),"string"!=typeof m&&(s.show=o,s.close=l,s.alignRight=n);var c=h.style;return t&&(c=Object(d.a)({},c,s.style),h["x-placement"]=t),r.a.createElement(m,Object(d.a)({},h,s,{style:c,className:re()(a,b,o&&"show",n&&b+"-right")}))}))}));Rt.displayName="DropdownMenu",Rt.defaultProps={alignRight:!1,flip:!0};var Tt=Rt,Dt=(o(117),o(40)),Mt=o.n(Dt),At=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.variant,i=e.size,a=e.active,l=e.className,s=e.block,c=e.type,u=e.as,p=Object(te.a)(e,["bsPrefix","variant","size","active","className","block","type","as"]),f=ye(o,"btn"),m=re()(l,f,a&&"active",f+"-"+n,s&&f+"-block",i&&f+"-"+i);if(p.href)return r.a.createElement(mt,Object(d.a)({},p,{as:u,innerRef:t,className:re()(m,p.disabled&&"disabled")}));var h=u||"button";return t&&(p.ref=t),r.a.createElement(h,Object(d.a)({},p,{type:c,className:m}))}));At.displayName="Button",At.defaultProps={variant:"primary",active:!1,disabled:!1,type:"button"};var Pt=At,_t=function(e){function t(){return e.apply(this,arguments)||this}return Object(oe.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.bsPrefix,o=e.split,n=e.className,a=e.children,l=e.childBsPrefix,s=e.as,c=Object(te.a)(e,["bsPrefix","split","className","children","childBsPrefix","as"]);return void 0!==l&&(c.bsPrefix=l),r.a.createElement(Mt.a,null,(function(e){var l=e.toggle,u=e.props;return r.a.createElement(s,Object(d.a)({onClick:l,className:re()(n,t,o&&t+"-split")},function(e){var t=e.ref;return e.ref=t.__wrapped||(t.__wrapped=function(e){return t(Object(i.findDOMNode)(e))}),e}(u),c),a)}))},t}(r.a.Component);_t.defaultProps={as:Pt};var Ot=we(_t,"dropdown-toggle"),Lt={as:mt,disabled:!1},Nt=r.a.forwardRef((function(e,t){var o=e.bsPrefix,i=e.className,a=e.children,l=e.eventKey,s=e.disabled,c=e.href,u=e.onClick,p=e.onSelect,f=e.active,m=e.as,h=Object(te.a)(e,["bsPrefix","className","children","eventKey","disabled","href","onClick","onSelect","active","as"]),g=ye(o,"dropdown-item"),b=Object(n.useContext)(Xe),v=(Object(n.useContext)(it)||{}).activeKey,y=Ke(l,c),w=null==f&&null!=y?Ke(v)===y:f,x=Ge((function(e){s||(u&&u(e),b&&b(y,e),p&&p(y,e))}));return r.a.createElement(m,Object(d.a)({},h,{ref:t,href:c,disabled:s,className:re()(i,g,w&&"active",s&&"disabled"),onClick:x}),a)}));Nt.displayName="DropdownItem",Nt.defaultProps=Lt;var zt=Nt,jt=r.a.forwardRef((function(e,t){var o=ce(e,{show:"onToggle"}),i=o.bsPrefix,a=o.drop,l=o.show,s=o.className,c=o.alignRight,u=o.onSelect,p=o.onToggle,f=o.focusFirstItemOnShow,m=o.as,h=void 0===m?"div":m,g=(o.navbar,Object(te.a)(o,["bsPrefix","drop","show","className","alignRight","onSelect","onToggle","focusFirstItemOnShow","as","navbar"])),b=Object(n.useContext)(Xe),v=ye(i,"dropdown"),y=Ge((function(e,t,o){void 0===o&&(o=t.type),t.currentTarget===document&&(o="rootClose"),p(e,t,{source:o})})),w=Ge((function(e,t){b&&b(e,t),u&&u(e,t),y(!1,t,"select")}));return r.a.createElement(Xe.Provider,{value:w},r.a.createElement(Ct.a.ControlledComponent,{drop:a,show:l,alignEnd:c,onToggle:y,focusFirstItemOnShow:f,itemSelector:"."+v+"-item:not(.disabled):not(:disabled)"},(function(e){var o=e.props;return r.a.createElement(h,Object(d.a)({},g,o,{ref:t,className:re()(s,l&&"show",(!a||"down"===a)&&v,"up"===a&&"dropup","right"===a&&"dropright","left"===a&&"dropleft")}))})))}));jt.displayName="Dropdown",jt.defaultProps={navbar:!1},jt.Toggle=Ot,jt.Menu=Tt,jt.Item=zt,jt.Header=xe("dropdown-header",{defaultProps:{role:"heading"}}),jt.Divider=xe("dropdown-divider",{defaultProps:{role:"separator"}});var It=jt,Ft=function(e){function t(){return e.apply(this,arguments)||this}return Object(oe.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.id,o=e.title,n=e.children,i=e.bsPrefix,a=e.rootCloseEvent,l=e.menuRole,s=e.disabled,c=e.active,u=Object(te.a)(e,["id","title","children","bsPrefix","rootCloseEvent","menuRole","disabled","active"]);return r.a.createElement(It,Object(d.a)({},u,{as:dt}),r.a.createElement(It.Toggle,{id:t,eventKey:null,active:c,disabled:s,childBsPrefix:i,as:yt},o),r.a.createElement(It.Menu,{role:l,rootCloseEvent:a},n))},t}(r.a.Component);Ft.Item=It.Item,Ft.Divider=It.Divider,Ft.Header=It.Header;var Ht,Bt=Ft,Ut=function(e){return r.a.forwardRef((function(t,o){return r.a.createElement("div",Object(d.a)({},t,{ref:o,className:re()(t.className,e)}))}))},Wt=((Ht={}).entering="show",Ht.entered="show",Ht),Vt=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).handleEnter=function(e){Oe(e),t.props.onEnter&&t.props.onEnter(e)},t}return Object(oe.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,o=e.children,n=Object(te.a)(e,["className","children"]);return r.a.createElement(_e,Object(d.a)({addEndListener:Te.a},n,{onEnter:this.handleEnter}),(function(e,n){return r.a.cloneElement(o,Object(d.a)({},n,{className:re()("fade",t,o.props.className,Wt[e])}))}))},t}(r.a.Component);Vt.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1};var Gt=Vt,qt={label:u.a.string.isRequired,onClick:u.a.func},Yt=r.a.forwardRef((function(e,t){var o=e.label,n=e.onClick,i=e.className,a=Object(te.a)(e,["label","onClick","className"]);return r.a.createElement("button",Object(d.a)({ref:t,type:"button",className:re()("close",i),onClick:n},a),r.a.createElement("span",{"aria-hidden":"true"},"×"),r.a.createElement("span",{className:"sr-only"},o))}));Yt.displayName="CloseButton",Yt.propTypes=qt,Yt.defaultProps={label:"Close"};var $t=Yt,Kt={show:!0,transition:Gt,closeLabel:"Close alert"},Xt={show:"onClose"},Qt=r.a.forwardRef((function(e,t){var o=ce(e,Xt),n=o.bsPrefix,i=o.show,a=o.closeLabel,l=o.className,s=o.children,c=o.variant,u=o.onClose,p=o.dismissible,f=o.transition,m=Object(te.a)(o,["bsPrefix","show","closeLabel","className","children","variant","onClose","dismissible","transition"]),h=ye(n,"alert"),g=Ge((function(e){u(!1,e)})),b=r.a.createElement("div",Object(d.a)({role:"alert"},f?m:void 0,{className:re()(l,h,c&&h+"-"+c,p&&h+"-dismissible")}),p&&r.a.createElement($t,{onClick:g,label:a}),s);return f?r.a.createElement(f,Object(d.a)({unmountOnExit:!0,ref:t},m,{in:i}),b):i?b:null})),Jt=Ut("h4");Jt.displayName="DivStyledAsH4",Qt.displayName="Alert",Qt.defaultProps=Kt,Qt.Link=xe("alert-link",{Component:mt}),Qt.Heading=xe("alert-heading",{Component:Jt});var Zt=Qt,eo=o(26),to=o.n(eo);class oo{static Sho(e,t){let o=new Date,n=o.getHours()+":"+o.getMinutes()+":"+o.getSeconds()+" | "+e;to.a.success(n,t,{timeOut:3e3,progressBar:!0,closeButton:!0})}static MesOk(e,t){let o=new Date,n=o.getHours()+":"+o.getMinutes()+":"+o.getSeconds()+" | "+e;to.a.success(n,t,{closeButton:!0,progressBar:!0})}static MesOk_NoHide(e,t){let o=new Date,n=o.getHours()+":"+o.getMinutes()+":"+o.getSeconds()+" | "+e;to.a.success(n,t,{timeOut:-1,closeButton:!0,progressBar:!0})}static MesEr(e,t){let o=new Date,n=o.getHours()+":"+o.getMinutes()+":"+o.getSeconds()+" | "+e;to.a.error(n,t,{timeOut:1e4,progressBar:!0,closeButton:!0})}}function no(e,t,o){return V("ApiQuery","query to "+e),fetch(e,{method:t,headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(o)}).then((function(e){return e.json()})).catch((function(){throw oo.MesEr("Api query error","ApiQuery"),""}))}class ro{constructor(){this.URL_Auth="api/Auth/Auth",this.URL_UserInfo="api/Auth/UserInfo",this.URL_SetUserInfo="api/Auth/SetUser",this.AuthCoockieName="AuthToken"}async AuthAsync(e,t){return await no(this.URL_Auth,"Post",{Login:e,Password:t}).then(function(e){return e.Successe?this._SetTocken(e.Token):this._SetTocken(""),e}.bind(this))}Logout(){this._SetTocken("")}async GetUserInfoAsync(){return await no(this.URL_UserInfo,"Post").then(function(e){return e.Successe?this._SetTocken(e.Token):this._SetTocken(""),e}.bind(this))}async SetUserInfo(e){return await no(this.URL_SetUserInfo,"Post",{Password:e}).then(function(e){return e}.bind(this))}IsAuth(){return""!=this._GetTocken()}_getCookie(e){let t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):""}_GetTocken(){return this._getCookie(this.AuthCoockieName)}_SetTocken(e){document.cookie=this.AuthCoockieName+"="+e}}var io=r.a.createContext({controlId:void 0}),ao=r.a.forwardRef((function(e,t){var o=e.bsPrefix,i=e.className,a=e.children,l=e.controlId,s=e.as,c=void 0===s?"div":s,u=Object(te.a)(e,["bsPrefix","className","children","controlId","as"]);o=ye(o,"form-group");var p=Object(n.useMemo)((function(){return{controlId:l}}),[l]);return r.a.createElement(io.Provider,{value:p},r.a.createElement(c,Object(d.a)({},u,{ref:t,className:re()(i,o)}),a))}));ao.displayName="FormGroup";var lo=ao,so={type:u.a.string.isRequired,as:u.a.elementType},co=r.a.forwardRef((function(e,t){var o=e.as,n=void 0===o?"div":o,i=e.className,a=e.type,l=Object(te.a)(e,["as","className","type"]);return r.a.createElement(n,Object(d.a)({},l,{ref:t,className:re()(i,a&&a+"-feedback")}))}));co.displayName="Feedback",co.propTypes=so,co.defaultProps={type:"valid"};var uo=co,po=r.a.forwardRef((function(e,t){var o,i,a=e.bsPrefix,l=e.type,s=e.size,c=e.id,u=e.className,p=e.isValid,f=e.isInvalid,m=e.plaintext,h=e.readOnly,g=e.as,b=void 0===g?"input":g,v=Object(te.a)(e,["bsPrefix","type","size","id","className","isValid","isInvalid","plaintext","readOnly","as"]),y=Object(n.useContext)(io).controlId;if(a=ye(a,"form-control"),m)(i={})[a+"-plaintext"]=!0,o=i;else if("file"===l){var w;(w={})[a+"-file"]=!0,o=w}else{var x;(x={})[a]=!0,x[a+"-"+s]=s,o=x}return r.a.createElement(b,Object(d.a)({},v,{type:l,ref:t,readOnly:h,id:c||y,className:re()(u,o,p&&"is-valid",f&&"is-invalid")}))}));po.displayName="FormControl",po.Feedback=uo;var fo=po,mo=r.a.forwardRef((function(e,t){var o=e.id,i=e.bsPrefix,a=e.className,l=e.isValid,s=e.isInvalid,c=e.isStatic,u=Object(te.a)(e,["id","bsPrefix","className","isValid","isInvalid","isStatic"]);i=ye(i,"form-check-input");var p=Object(n.useContext)(io),f=p.controlId,m=p.custom;return r.a.createElement("input",Object(d.a)({},u,{ref:t,id:o||f,className:re()(a,!m&&i,m&&"custom-control-input",l&&"is-valid",s&&"is-invalid",c&&"position-static")}))}));mo.displayName="FormCheckInput",mo.defaultProps={type:"checkbox"};var ho=mo,go=r.a.forwardRef((function(e,t){var o=e.bsPrefix,i=e.className,a=e.htmlFor,l=Object(te.a)(e,["bsPrefix","className","htmlFor"]);o=ye(o,"form-check-label");var s=Object(n.useContext)(io),c=s.controlId,u=s.custom;return r.a.createElement("label",Object(d.a)({},l,{ref:t,htmlFor:a||c,className:re()(i,!u&&o,u&&"custom-control-label")}))}));go.displayName="FormCheckLabel",go.defaultProps={type:"checkbox"};var bo=go,vo=r.a.forwardRef((function(e,t){var o=e.id,i=e.bsPrefix,a=e.inline,l=e.disabled,s=e.isValid,c=e.isInvalid,u=e.feedback,p=e.className,f=e.style,m=e.title,h=e.type,g=e.label,b=e.children,v=e.custom,y=Object(te.a)(e,["id","bsPrefix","inline","disabled","isValid","isInvalid","feedback","className","style","title","type","label","children","custom"]);i=ye(i,"form-check");var w=Object(n.useContext)(io).controlId,x=Object(n.useMemo)((function(){return{controlId:o||w,custom:v}}),[w,v,o]),E=null!=g&&!1!==g&&!b,C=r.a.createElement(ho,Object(d.a)({},y,{type:h,ref:t,isValid:s,isInvalid:c,isStatic:!E,disabled:l}));return r.a.createElement(io.Provider,{value:x},r.a.createElement("div",{style:f,className:re()(p,!v&&i,v&&"custom-control custom-"+h,a&&(v?"custom-control":i)+"-inline")},b||r.a.createElement(r.a.Fragment,null,C,E&&r.a.createElement(bo,{title:m},g),(s||c)&&r.a.createElement(uo,{type:s?"valid":"invalid"},u))))}));vo.displayName="FormCheck",vo.defaultProps={type:"checkbox",inline:!1,disabled:!1,isValid:!1,isInvalid:!1,title:""},vo.Input=ho,vo.Label=bo;var yo=vo,wo=["xl","lg","md","sm","xs"],xo=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.className,i=e.as,a=void 0===i?"div":i,l=Object(te.a)(e,["bsPrefix","className","as"]),s=ye(o,"col"),c=[],u=[];return wo.forEach((function(e){var t,o,n,r=l[e];if(delete l[e],null!=r&&"object"==typeof r){var i=r.span;t=void 0===i||i,o=r.offset,n=r.order}else t=r;var a="xs"!==e?"-"+e:"";null!=t&&c.push(!0===t?""+s+a:""+s+a+"-"+t),null!=n&&u.push("order"+a+"-"+n),null!=o&&u.push("offset"+a+"-"+o)})),c.length||c.push(s),r.a.createElement(a,Object(d.a)({},l,{ref:t,className:re.a.apply(void 0,[n].concat(c,u))}))}));xo.displayName="Col";var Eo=xo,Co=r.a.forwardRef((function(e,t){var o=e.bsPrefix,i=e.column,a=e.srOnly,l=e.className,s=e.htmlFor,c=Object(te.a)(e,["bsPrefix","column","srOnly","className","htmlFor"]),u=Object(n.useContext)(io).controlId;o=ye(o,"form-label");var p=re()(l,o,a&&"sr-only",i&&"col-form-label");return s=s||u,i?r.a.createElement(Eo,Object(d.a)({as:"label",className:p,htmlFor:s},c)):r.a.createElement("label",Object(d.a)({ref:t,className:p,htmlFor:s},c))}));Co.displayName="FormLabel",Co.defaultProps={column:!1,srOnly:!1};var ko=Co,So=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.className,i=e.as,a=void 0===i?"small":i,l=e.muted,s=Object(te.a)(e,["bsPrefix","className","as","muted"]);return o=ye(o,"form-text"),r.a.createElement(a,Object(d.a)({},s,{ref:t,className:re()(n,o,l&&"text-muted")}))}));So.displayName="FormText";var Ro=So,To=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.inline,i=e.className,a=e.validated,l=e.as,s=void 0===l?"form":l,c=Object(te.a)(e,["bsPrefix","inline","className","validated","as"]);return o=ye(o,"form"),r.a.createElement(s,Object(d.a)({},c,{ref:t,className:re()(i,a&&"was-validated",n&&o+"-inline")}))}));To.displayName="Form",To.defaultProps={inline:!1},To.Row=xe("form-row"),To.Group=lo,To.Control=fo,To.Check=yo,To.Label=ko,To.Text=Ro;var Do=To;class Mo extends ${constructor(e){super(e,"UserControl"),this.authServices=new ro,this.state={IsAuth:this.authServices.IsAuth(),CurrentUser:null!=this.GlobalState.User?this.GlobalState.User:this.UserInfo(null)},this.authServices.IsAuth()&&this.authServices.GetUserInfoAsync().then(function(e){e.Successe?this.GlobalState.User=this.UserInfo(e.User):(this.GlobalState.User=this.UserInfo(null),oo.MesEr(e.ResMessage,"Auth")),this.setState({IsAuth:this.authServices.IsAuth(),CurrentUser:this.GlobalState.User}),this.EventRegister.EventAction("OnAuthChange")}.bind(this))}UserInfo(e){return null==e?{Login:"",IsAdmin:!1}:{Login:e.Login,IsAdmin:e.IsAdmin}}AuthClick(){let e=this.refs.Login.value,t=this.refs.Password.value;this.authServices.AuthAsync(e,t).then(function(e){e.Successe?this.GlobalState.User=this.UserInfo(e.User):(this.GlobalState.User=this.UserInfo(null),oo.MesEr(e.ResMessage,"Auth")),this.setState({IsAuth:this.authServices.IsAuth(),CurrentUser:this.GlobalState.User}),this.EventRegister.EventAction("OnAuthChange")}.bind(this))}LogoutClick(){this.authServices.Logout(),this.GlobalState.User=this.UserInfo(null),this.setState({IsAuth:this.authServices.IsAuth(),CurrentUser:this.GlobalState.User}),this.EventRegister.EventAction("OnAuthChange")}render(){this.state;return r.a.createElement("div",null,this.state.IsAuth?r.a.createElement("div",null,r.a.createElement(Zt,{variant:"success",style:{margin:0,marginBottom:10,padding:0}},"Пользователь: ",this.state.CurrentUser.Login,"."),this.state.CurrentUser.IsAdmin?r.a.createElement(Zt,{variant:"success",style:{margin:0,marginBottom:10,padding:0}},"Вы администратор."):null,r.a.createElement(Pt,{as:ee,to:"/User",variant:"outline-secondary",style:{marginBottom:10}},"Изменить пароль"),r.a.createElement(Pt,{onClick:this.LogoutClick,variant:"danger"},"Выход")):r.a.createElement("div",null,r.a.createElement(Do.Control,{ref:"Login",type:"text",placeholder:"Enter login",style:{marginBottom:10}}),r.a.createElement(Do.Control,{ref:"Password",type:"password",placeholder:"Password",style:{marginBottom:10}}),r.a.createElement(Pt,{onClick:this.AuthClick,variant:"success"},"Авторизация")))}}var Ao=o(64),Po=o.n(Ao);class _o extends ${constructor(e){super(e,"MenuControl"),this.authServices=new ro,this.state={IsAuth:this.authServices.IsAuth(),IsAdmin:null!=this.GlobalState.User&&this.GlobalState.User.IsAdmin},this.EventRegister.RegisterListener("OnAuthChange",this)}Event_OnAuthChange(){this.setState({IsAuth:this.authServices.IsAuth(),IsAdmin:this.GlobalState.User.IsAdmin})}render(){return r.a.createElement("div",null,r.a.createElement(Ze,{bg:"dark",variant:"dark"},r.a.createElement(Ze.Brand,null,r.a.createElement("img",{alt:"",src:Po.a,width:"30",height:"30",className:"d-inline-block align-top"})," WebFileServer"),r.a.createElement(xt,null,r.a.createElement(xt.Link,{as:ee,to:"/"},"Файлы"),r.a.createElement(Bt,{title:this.state.IsAuth?"Личный кабинет":"Авторизация"},r.a.createElement(Mo,{ref:"UserControl"})),this.state.IsAuth&&this.state.IsAdmin?r.a.createElement(xt.Link,{as:ee,to:"/Admin"},"Администрирование"):null)),this.state.IsAuth?null:r.a.createElement(Zt,{variant:"warning"},r.a.createElement("b",null,"Вы не авторизованы.")))}}class Oo extends ${constructor(e){super(e,"Header")}OnRegistersClick(){this.GlobalState,$.controlRegister,this.EventRegister}render(){return r.a.createElement("div",{id:"AppHeader"},"Development"==I.EnviromentValue?r.a.createElement("div",null,r.a.createElement("p",null,"Header"),r.a.createElement("button",{className:"RedButton",onClick:this.OnRegistersClick},"Registers")):null,r.a.createElement(_o,{ref:"MenuControl"}))}}class Lo extends ${constructor(e){super(e,"Footer")}render(){return r.a.createElement("div",{id:"AppFooter"},"Development"==I.EnviromentValue?r.a.createElement("p",null,"Footer"):null)}}var No=o(72),zo=o.n(No),jo={},Io=0,Fo=function(e,t){var o=""+t.end+t.strict+t.sensitive,n=jo[o]||(jo[o]={});if(n[e])return n[e];var r=[],i={re:zo()(e,r,t),keys:r};return Io<1e4&&(n[e]=i,Io++),i},Ho=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2];"string"==typeof t&&(t={path:t});var n=t,r=n.path,i=n.exact,a=void 0!==i&&i,l=n.strict,s=void 0!==l&&l,c=n.sensitive,u=void 0!==c&&c;if(null==r)return o;var d=Fo(r,{end:a,strict:s,sensitive:u}),p=d.re,f=d.keys,m=p.exec(e);if(!m)return null;var h=m[0],g=m.slice(1),b=e===h;return a&&!b?null:{path:r,url:"/"===r&&""===h?"/":h,isExact:b,params:f.reduce((function(e,t,o){return e[t.name]=g[o],e}),{})}};function Bo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Wo=function(e){function t(){return Bo(this,t),Uo(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){T()(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){s()(!(e.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),s()(!(!e.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,o=this.props.location||e.location,n=void 0,i=void 0;return r.a.Children.forEach(t,(function(t){if(null==n&&r.a.isValidElement(t)){var a=t.props,l=a.path,s=a.exact,c=a.strict,u=a.sensitive,d=a.from,p=l||d;i=t,n=Ho(o.pathname,{path:p,exact:s,strict:c,sensitive:u},e.match)}})),n?r.a.cloneElement(i,{location:o,computedMatch:n}):null},t}(r.a.Component);Wo.contextTypes={router:u.a.shape({route:u.a.object.isRequired}).isRequired},Wo.propTypes={children:u.a.node,location:u.a.object};var Vo=Wo,Go=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};function qo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yo(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var $o=function(e){return 0===r.a.Children.count(e)},Ko=function(e){function t(){var o,n;qo(this,t);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return o=n=Yo(this,e.call.apply(e,[this].concat(i))),n.state={match:n.computeMatch(n.props,n.context.router)},Yo(n,o)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:Go({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var o=e.computedMatch,n=e.location,r=e.path,i=e.strict,a=e.exact,l=e.sensitive;if(o)return o;T()(t,"You should not use <Route> or withRouter() outside a <Router>");var s=t.route,c=(n||s.location).pathname;return Ho(c,{path:r,strict:i,exact:a,sensitive:l},s.match)},t.prototype.componentWillMount=function(){s()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),s()(!(this.props.component&&this.props.children&&!$o(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),s()(!(this.props.render&&this.props.children&&!$o(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){s()(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),s()(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,o=t.children,n=t.component,i=t.render,a=this.context.router,l=a.history,s=a.route,c=a.staticContext,u={match:e,location:this.props.location||s.location,history:l,staticContext:c};return n?e?r.a.createElement(n,u):null:i?e?i(u):null:"function"==typeof o?o(u):o&&!$o(o)?r.a.Children.only(o):null},t}(r.a.Component);Ko.propTypes={computedMatch:u.a.object,path:u.a.string,exact:u.a.bool,strict:u.a.bool,sensitive:u.a.bool,component:u.a.func,render:u.a.func,children:u.a.oneOfType([u.a.func,u.a.node]),location:u.a.object},Ko.contextTypes={router:u.a.shape({history:u.a.object.isRequired,route:u.a.object.isRequired,staticContext:u.a.object})},Ko.childContextTypes={router:u.a.object.isRequired};var Xo=Ko,Qo=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.noGutters,i=e.as,a=void 0===i?"div":i,l=e.className,s=Object(te.a)(e,["bsPrefix","noGutters","as","className"]),c=ye(o,"row");return r.a.createElement(a,Object(d.a)({ref:t},s,{className:re()(l,c,n&&"no-gutters")}))}));Qo.defaultProps={noGutters:!1};var Jo=Qo,Zo=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.active,i=e.className,a=e.as,l=void 0===a?"li":a,s=Object(te.a)(e,["bsPrefix","active","className","as"]),c=ye(o,"breadcrumb-item"),u=s.href,p=s.title,f=s.target,m=Object(te.a)(s,["href","title","target"]),h={href:u,title:p,target:f};return r.a.createElement(l,{ref:t,className:re()(c,i,{active:n}),"aria-current":n?"page":void 0},n?r.a.createElement("span",Object(d.a)({},m,{className:re()({active:n})})):r.a.createElement(mt,Object(d.a)({},m,h)))}));Zo.displayName="BreadcrumbItem",Zo.defaultProps={active:!1};var en=Zo,tn=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.className,i=e.listProps,a=e.children,l=e.label,s=e.as,c=void 0===s?"nav":s,u=Object(te.a)(e,["bsPrefix","className","listProps","children","label","as"]),p=ye(o,"breadcrumb");return r.a.createElement(c,Object(d.a)({"aria-label":l,className:n,ref:t},u),r.a.createElement("ol",Object(d.a)({},i,{className:re()(p,i.className)}),a))}));tn.displayName="Breadcrumb",tn.defaultProps={label:"breadcrumb",listProps:{}},tn.Item=en;var on=tn,nn=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.size,i=e.toggle,a=e.vertical,l=e.className,s=e.as,c=void 0===s?"div":s,u=Object(te.a)(e,["bsPrefix","size","toggle","vertical","className","as"]),p=ye(o,"btn-group"),f=p;return a&&(f=p+"-vertical"),r.a.createElement(c,Object(d.a)({},u,{ref:t,className:re()(l,f,n&&p+"-"+n,i&&p+"-toggle")}))}));nn.displayName="ButtonGroup",nn.defaultProps={vertical:!1,toggle:!1,role:"group"};var rn=nn,an=we(function(e){function t(){return e.apply(this,arguments)||this}return Object(oe.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.bsPrefix,o=e.className,n=e.striped,i=e.bordered,a=e.borderless,l=e.hover,s=e.size,c=e.variant,u=e.responsive,p=Object(te.a)(e,["bsPrefix","className","striped","bordered","borderless","hover","size","variant","responsive"]),f=re()(t,o,c&&t+"-"+c,s&&t+"-"+s,n&&t+"-striped",i&&t+"-bordered",a&&t+"-borderless",l&&t+"-hover"),m=r.a.createElement("table",Object(d.a)({},p,{className:f}));if(u){var h=t+"-responsive";return"string"==typeof u&&(h=h+"-"+u),r.a.createElement("div",{className:h},m)}return m},t}(r.a.Component),"table");class ln{constructor(){this.URL_DirectoryItems="api/Explorer/GetDirectoryItems?ID=",this.URL_ScanDirectory="api/Explorer/ScanDirectory?ID=",this.URL_Delete="api/Explorer/DeleteFile",this.URL_Move="api/Explorer/MoveElement",this.URL_Download="api/Explorer/GetFile?ID=",this.URL_CreateDirectory="api/Explorer/CreateDirectory?"}async DirectoryGetItemsAsync(e){let t=this.URL_DirectoryItems+e;return await no(t,"Get")}async ScanDirectoryAsync(e){let t=this.URL_ScanDirectory+e;return await no(t,"Get")}async DeleteAsync(e){return await no(this.URL_Delete,"POST",{ID:e})}async MoveAsync(e,t){return await no(this.URL_Move,"POST",{ID:e,NewParent:t})}OpenDownload(e){let t=this.URL_Download+e;window.open(t,"_blank")}async CreateDirectoryAsync(e,t){return await no(this.URL_CreateDirectory,"POST",{ParentID:t,Name:e})}}class sn{constructor(){this.URL_Start="/api/UploadFiles/StartUpload",this.URL_Upload="/api/UploadFiles/UploadBlob",this.URL_Cansel="/api/UploadFiles/Cansel",this.upload_chunk_size=I.upload_chunk_size,this.ID=-1,this._ContinueDownload=!1,this._file=null,this._ParentID=null,this.OnProggresseChange=null,this.OnIDReceived=null}async _ReadBlobAsync(e,t){return new Promise(function(o,n){let r=this._file.slice(e,t),i=new FileReader;i.onload=function(){o(i.result)},i.onerror=function(e){n("js Read file error",e)},i.readAsDataURL(r)}.bind(this))}async _StartUploadAsync(){return await no(this.URL_Start,"Post",{ParentID:this._ParentID,Name:this._file.name,Size:this._file.size}).then(function(e){return e}.bind(this))}async _UploadBlobAsync(e,t){if(V("UploadServices","_UploadBlobAsync"+t),!this._ContinueDownload)return{Successe:!0};if(""!=e){let o;return V("UploadServices",this.URL_Upload+t),await no(this.URL_Upload,"Post",{ID:this.ID,chunk:e}).then(function(e){o=e}.bind(this)),o}}async UploadFileAsync(e,t){null!=this.OnProggresseChange&&this.OnProggresseChange(0,0),this._file=e,this._ParentID=t;let o=await this._StartUploadAsync();if(!o.Successe)throw o;this._ContinueDownload=!0,this.ID=o.UploadID,null!=this.OnIDReceived&&this.OnIDReceived(this.ID);for(let t=0,o=0;t<this._file.size;t+=this.upload_chunk_size,o++){if(!this._ContinueDownload)return;let n=await this._ReadBlobAsync(t,t+this.upload_chunk_size),r=await this._UploadBlobAsync(n,o);if(!r.Successe)throw r;let i=Math.round(100*t/e.size);V("UploadServices","p = "+i),null!=this.OnProggresseChange&&this.OnProggresseChange(i,t)}this._ContinueDownload=!1}Cansel(){this._ContinueDownload=!1,setTimeout(function(){no(this.URL_Cansel,"Post",{ID:this.ID})}.bind(this),500)}}class cn extends ${constructor(e){super(e,"FileExplorerRow"),this.state={Data:this.props.data,ShoSelectColumn:this.props.ShoSelectColumn}}componentWillReceiveProps(e){this.props=e,null!=this.refs.Select&&(this.refs.Select.checked=!1),this.setState({Data:this.props.data,ShoSelectColumn:this.props.ShoSelectColumn})}GetDirectory(){return this.GlobalState[this.props.CurrentDirectoryName]}GetData(){return this.state.Data}GetDataID(){return this.state.Data.ID}IsCheked(){return null!=this.refs.Select&&this.refs.Select.checked}OnDirectoryClick(){this.GetDirectory().ID=this.GetDataID(),this.EventRegister.EventAction(this.GetDirectory().ChangeEvent)}render(){let e=this.state,t=e.Data;return r.a.createElement("tr",null,r.a.createElement("td",null,t.ID),e.ShoSelectColumn?r.a.createElement("td",null,r.a.createElement(Do.Check,{ref:"Select"})):null,"RootDirectory"===t.Type||"Directory"===t.Type?r.a.createElement("td",null,r.a.createElement(ee,{to:"/?ID="+t.ID},r.a.createElement(Pt,{id:t.ID,onClick:this.OnDirectoryClick,variant:"light"},t.Name))):r.a.createElement("td",null,t.Name),r.a.createElement("td",null,t.Type),r.a.createElement("td",null,t.FileExtension),-1!==t.Size?r.a.createElement("td",null,t.Size):r.a.createElement("td",null))}}var un=o(69),dn=o.n(un),pn=o(70),fn=o.n(pn);class mn extends ${constructor(e){super(e,"FileExplorerControl"),this.state={data:{},ShoSelectColumn:this.GetDirectory().ShoSelectColumn},this.ChildRows=[],this.NavigationElem=[],this.fileExplorerServices=new ln,this.SortColumnProperty="",this.SortDecAsc=0,this.GetDirectory().ExplorerControl=this,this.EventRegister.RegisterListener(this.GetDirectory().ChangeEvent,this),this.EventRegister.RegisterListener("OnAuthChange",this),this.LoadDirectory()}componentWillUnmount(){super.componentWillUnmount(),this.GetDirectory().ExplorerControl=null}GetDirectory(){return this.GlobalState[this.props.CurrentDirectoryName]}Event_OnItemsChange_Main(){this.LoadDirectory()}Event_OnItemsChange_Move(){this.LoadDirectory()}Event_OnAuthChange(){this.LoadDirectory()}OnBackClick(e){this.Log("OnBackClick "+this.state.data.ParentID),this.GetDirectory().ID=this.state.data.ParentID,this.EventRegister.EventAction(this.GetDirectory().ChangeEvent)}OnSortClick(e){let t=e.target.attributes[0].value;this.SortColumnProperty!=t?(this.SortDecAsc=1,this.SortColumnProperty=t):this.SortDecAsc=-this.SortDecAsc;let o=this.state.data;o.items.sort(function(e,t){var o,n,r=arguments.length;if(0===r)return(e,t)=>(e<t?-1:e>t&&1)||0;if(1===r)switch(typeof e){case"number":return e<0?(e,t)=>(e<t?1:e>t&&-1)||0:(e,t)=>(e<t?-1:e>t&&1)||0;case"string":return(t,o)=>(t[e]<o[e]?-1:t[e]>o[e]&&1)||0}if(2===r&&"number"==typeof t)return t<0?(t,o)=>(t[e]<o[e]?1:t[e]>o[e]&&-1)||0:(t,o)=>(t[e]<o[e]?-1:t[e]>o[e]&&1)||0;if("object"==typeof e)o=Object.getOwnPropertyNames(e),n=o.map(t=>e[t]),r=o.length;else{o=new Array(r),n=new Array(r);for(let e=r;e--;)o[e]=arguments[e],n[e]=1}return(e,t)=>{for(let i=0;i<r;i++){if(e[o[i]]<t[o[i]])return n[i];if(e[o[i]]>t[o[i]])return-n[i]}return 0}}(t,this.SortDecAsc)),this.setState({data:o})}OnScanDirClick(e){let t=this.GetDirectory().ID;this.Log("ScanDirectory "+t),this.fileExplorerServices.ScanDirectoryAsync(t).then(function(e){this.EventRegister.EventAction(this.GetDirectory().ChangeEvent)}.bind(this))}LoadDirectory(){let e=this.GetDirectory();this.Log("LoadDirectory "+e.ID),this.fileExplorerServices.DirectoryGetItemsAsync(e.ID).then(function(t){e.CanChangeDirectoryItems=t.CanWrite,this.setState({data:t,ShoSelectColumn:!(!this.GetDirectory().ShoSelectColumn||-1==e.ID)}),this.EventRegister.EventAction("OnItemsChange_"+this.props.CurrentDirectoryName+"_InfoLoaded",null)}.bind(this))}GetSelectedID(){return this.ChildRows.filter(e=>e.IsCheked()).map(e=>e.GetDataID())}OnDirNabigationClick(e){let t=e.target.getAttribute("data-dir-id");t!==this.GetDirectory().ID&&(this.GetDirectory().ID=t,this.EventRegister.EventAction(this.GetDirectory().ChangeEvent))}render(){let e=this.state.data;return"{}"!=JSON.stringify(e)?(this.Log("Data"),r.a.createElement("div",null,r.a.createElement(on,null,e.Path.map(function(e,t,o){return[r.a.createElement("li",{ref:e=>{null!=e?this.NavigationElem[t]=e:this.NavigationElem.splice(t,1)},key:t,className:e.ID!==o[o.length-1].ID?"breadcrumb-item":"breadcrumb-item active"},e.ID!==o[o.length-1].ID?r.a.createElement(ee,{to:"/?ID="+e.ID,"data-dir-id":e.ID,onClick:this.OnDirNabigationClick,role:"button"},e.Name):r.a.createElement("span",{className:"active"},e.Name))]}.bind(this))),r.a.createElement(rn,{style:{marginBottom:"1rem"}},r.a.createElement(Pt,{onClick:this.LoadDirectory,variant:"secondary"},r.a.createElement("img",{src:dn.a,width:"20",height:"20"})," Обновить"),r.a.createElement(Pt,{onClick:this.OnScanDirClick,variant:"secondary"},r.a.createElement("img",{src:fn.a,width:"20",height:"20"})," Сканировать")),r.a.createElement("br",null),r.a.createElement(an,{striped:!0,bordered:!0,hover:!0,variant:"dark"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null,r.a.createElement(Pt,{property:"ID",onClick:this.OnSortClick,variant:"outline-light"},"ID")),this.state.ShoSelectColumn?r.a.createElement("th",null,r.a.createElement(Pt,{disabled:!0,variant:"outline-light"},"SELECT")):null,r.a.createElement("th",null,r.a.createElement(Pt,{property:"Name",onClick:this.OnSortClick,variant:"outline-light"},"NAME")),r.a.createElement("th",null,r.a.createElement(Pt,{property:"Type",onClick:this.OnSortClick,variant:"outline-light"},"TYPE")),r.a.createElement("th",null,r.a.createElement(Pt,{property:"FileExtension",onClick:this.OnSortClick,variant:"outline-light"},"EXT")),r.a.createElement("th",null,r.a.createElement(Pt,{property:"Size",onClick:this.OnSortClick,variant:"outline-light"},"SIZE(MB)")))),r.a.createElement("tbody",null,e.items.map(function(e,t,o){return[r.a.createElement(cn,{ref:e=>{null!=e?this.ChildRows[t]=e:this.ChildRows.splice(t,1)},ParentComponent:this,CurrentDirectoryName:this.props.CurrentDirectoryName,key:t,ShoSelectColumn:this.state.ShoSelectColumn,data:e})]}.bind(this)))))):(this.Log("NoData"),r.a.createElement("div",null,r.a.createElement("p",null,"NoData")))}}var hn=function(e){function t(){return e.apply(this,arguments)||this}return Object(oe.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.bsPrefix,o=e.size,n=e.className,i=e.as,a=void 0===i?"div":i,l=Object(te.a)(e,["bsPrefix","size","className","as"]);return r.a.createElement(a,Object(d.a)({},l,{className:re()(n,t,o&&t+"-"+o)}))},t}(r.a.Component),gn=xe("input-group-append"),bn=xe("input-group-prepend"),vn=xe("input-group-text",{Component:"span"}),yn=we(hn,"input-group");yn.Text=vn,yn.Radio=function(e){return r.a.createElement(vn,null,r.a.createElement("input",Object(d.a)({type:"radio"},e)))},yn.Checkbox=function(e){return r.a.createElement(vn,null,r.a.createElement("input",Object(d.a)({type:"checkbox"},e)))},yn.Append=gn,yn.Prepend=bn;var wn=yn,xn=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.className,i=Object(te.a)(e,["bsPrefix","className"]),a=ye(o,"btn-toolbar");return r.a.createElement("div",Object(d.a)({},i,{ref:t,className:re()(n,a)}))}));xn.displayName="ButtonToolbar",xn.defaultProps={role:"toolbar"};var En=xn,Cn=o(30),kn=o.n(Cn),Sn=o(18),Rn=o.n(Sn),Tn=o(14),Dn=o.n(Tn),Mn=o(20),An=o.n(Mn),Pn=o(71),_n=o.n(Pn),On=xe("modal-body"),Ln=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.className,i=e.centered,a=e.size,l=e.children,s=e.scrollable,c=Object(te.a)(e,["bsPrefix","className","centered","size","children","scrollable"]),u=(o=ye(o,"modal"))+"-dialog";return r.a.createElement("div",Object(d.a)({},c,{ref:t,className:re()(u,n,a&&o+"-"+a,i&&u+"-centered",s&&u+"-scrollable")}),r.a.createElement("div",{className:re()(o+"-content")},l))}));Ln.displayName="ModalDialog";var Nn=Ln,zn=xe("modal-footer"),jn=r.a.createContext({onHide:function(){}}),In=r.a.forwardRef((function(e,t){var o=e.bsPrefix,i=e.closeLabel,a=e.closeButton,l=e.onHide,s=e.className,c=e.children,u=Object(te.a)(e,["bsPrefix","closeLabel","closeButton","onHide","className","children"]);o=ye(o,"modal-header");var p=Object(n.useContext)(jn),f=Ge((function(){p&&p.onHide(),l&&l()}));return r.a.createElement("div",Object(d.a)({ref:t},u,{className:re()(s,o)}),c,a&&r.a.createElement($t,{label:i,onClick:f}))}));In.displayName="ModalHeader",In.defaultProps={closeLabel:"Close",closeButton:!1};var Fn=In,Hn=xe("modal-title",{Component:Ut("h4")}),Bn=o(41),Un=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Wn=".sticky-top",Vn=".navbar-toggler",Gn={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:Nn,manager:new(function(e){function t(){for(var t,o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(t=e.call.apply(e,[this].concat(n))||this).adjustAndStore=function(e,t,o){var n=t.style[e];t.dataset[e]=n,Se()(t,e,parseFloat(Se()(t,e))+o+"px")},t.restore=function(e,t){var o=t.dataset[e];void 0!==o&&(delete t.dataset[e],Se()(t,e,o))},t}Object(oe.a)(t,e);var o=t.prototype;return o.setContainerStyle=function(t,o){var n=this;if(e.prototype.setContainerStyle.call(this,t,o),t.overflowing){var r=An()();ot()(o,Un).forEach((function(e){return n.adjustAndStore("paddingRight",e,r)})),ot()(o,Wn).forEach((function(e){return n.adjustAndStore("margingRight",e,-r)})),ot()(o,Vn).forEach((function(e){return n.adjustAndStore("margingRight",e,r)}))}},o.removeContainerStyle=function(t,o){var n=this;e.prototype.removeContainerStyle.call(this,t,o),ot()(o,Un).forEach((function(e){return n.restore("paddingRight",e)})),ot()(o,Wn).forEach((function(e){return n.restore("margingRight",e)})),ot()(o,Vn).forEach((function(e){return n.restore("margingRight",e)}))},t}(o.n(Bn).a))};function qn(e){return r.a.createElement(Gt,e)}function Yn(e){return r.a.createElement(Gt,e)}var $n=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).state={style:{}},t.modalContext={onHide:function(){return t.props.onHide()}},t.setModalRef=function(e){t._modal=e},t.handleDialogMouseDown=function(){t._waitingForMouseUp=!0},t.handleMouseUp=function(e){t._waitingForMouseUp&&e.target===t._modal.dialog&&(t._ignoreBackdropClick=!0),t._waitingForMouseUp=!1},t.handleClick=function(e){t._ignoreBackdropClick||e.target!==e.currentTarget?t._ignoreBackdropClick=!1:t.props.onHide()},t.handleEnter=function(e){var o;e&&(e.style.display="block",t.updateDialogStyle(e));for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.props.onEnter&&(o=t.props).onEnter.apply(o,[e].concat(r))},t.handleEntering=function(e){for(var o,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.props.onEntering&&(o=t.props).onEntering.apply(o,[e].concat(r)),kn.a.on(window,"resize",t.handleWindowResize)},t.handleExited=function(e){var o;e&&(e.style.display="");for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.props.onExited&&(o=t.props).onExited.apply(o,r),kn.a.off(window,"resize",t.handleWindowResize)},t.handleWindowResize=function(){t.updateDialogStyle(t._modal.dialog)},t.renderBackdrop=function(e){var o=t.props,n=o.bsPrefix,i=o.backdropClassName;return r.a.createElement("div",Object(d.a)({},e,{className:re()(n+"-backdrop",i)}))},t}Object(oe.a)(t,e);var o=t.prototype;return o.componentWillUnmount=function(){kn.a.off(window,"resize",this.handleWindowResize)},o.updateDialogStyle=function(e){if(Dn.a){var t=this.props.manager.isContainerOverflowing(this._modal),o=e.scrollHeight>Rn()(e).documentElement.clientHeight;this.setState({style:{paddingRight:t&&!o?An()():void 0,paddingLeft:!t&&o?An()():void 0}})}},o.render=function(){var e=this.props,t=e.bsPrefix,o=e.className,n=e.style,i=e.dialogClassName,a=e.children,l=e.dialogAs,s=e.show,c=e.animation,u=e.backdrop,p=e.keyboard,f=e.manager,m=e.onEscapeKeyDown,h=e.onShow,g=e.onHide,b=e.container,v=e.autoFocus,y=e.enforceFocus,w=e.restoreFocus,x=e.onEntered,E=e.onExit,C=e.onExiting,k=(e.onExited,e.onEntering,e.onEnter,e.onEntering,e.backdropClassName,Object(te.a)(e,["bsPrefix","className","style","dialogClassName","children","dialogAs","show","animation","backdrop","keyboard","manager","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","onEntered","onExit","onExiting","onExited","onEntering","onEnter","onEntering","backdropClassName"])),S=!0===u?this.handleClick:null,R=Object(d.a)({},n,this.state.style);return c||(R.display="block"),r.a.createElement(jn.Provider,{value:this.modalContext},r.a.createElement(_n.a,{show:s,backdrop:u,container:b,keyboard:p,autoFocus:v,enforceFocus:y,restoreFocus:w,onEscapeKeyDown:m,onShow:h,onHide:g,onEntered:x,onExit:E,onExiting:C,manager:f,ref:this.setModalRef,style:R,className:re()(o,t),containerClassName:t+"-open",transition:c?qn:void 0,backdropTransition:c?Yn:void 0,renderBackdrop:this.renderBackdrop,onClick:S,onMouseUp:this.handleMouseUp,onEnter:this.handleEnter,onEntering:this.handleEntering,onExited:this.handleExited},r.a.createElement(l,Object(d.a)({},k,{onMouseDown:this.handleDialogMouseDown,className:i}),a)))},t}(r.a.Component);$n.defaultProps=Gn;var Kn=we($n,"modal");Kn.Body=On,Kn.Header=Fn,Kn.Title=Hn,Kn.Footer=zn,Kn.Dialog=Nn,Kn.TRANSITION_DURATION=300,Kn.BACKDROP_TRANSITION_DURATION=150;var Xn=Kn;class Qn extends ${constructor(e){super(e,"ExplorerActionsControl"),this.state={MoveWindowsShow:!1,CanWrite:!1},this.fileExplorerServices=new ln,this.GlobalState.MoveExplorer={ID:this.GlobalState.MainExplorer.ID,ShoSelectColumn:!1,ChangeEvent:"OnItemsChange_Move"},this.EventRegister.RegisterListener("OnItemsChange_MainExplorer_InfoLoaded",this)}Event_OnItemsChange_MainExplorer_InfoLoaded(){this.setState({CanWrite:this.GlobalState.MainExplorer.CanChangeDirectoryItems})}OnDownloadClick(e){this.GlobalState.MainExplorer.ExplorerControl.GetSelectedID().map(e=>{this.Log("OnDownload "+e),this.fileExplorerServices.OpenDownload(e)})}OnDeleteClick(e){let t=this.GlobalState.MainExplorer.ExplorerControl.GetSelectedID().map(e=>(this.Log("OnDelete "+e),this.fileExplorerServices.DeleteAsync(e)));Promise.all(t).then(function(e){let t="";e.map((function(e){t+="Succese: "+e.Successe+" ResultMsg:"+e.ResMessage+" | "})),oo.MesOk(t,"Move"),this.EventRegister.EventAction(this.GlobalState.MainExplorer.ChangeEvent)}.bind(this))}OnCreateDirectoryClick(e){let t=this.refs.DirectoryName.value,o=this.GlobalState.MainExplorer.ID;this.fileExplorerServices.CreateDirectoryAsync(t,o).then(function(e){this.EventRegister.EventAction(this.GlobalState.MainExplorer.ChangeEvent),oo.MesOk("Complete","CreateDir")}.bind(this)),this.refs.DirectoryName.value=""}OnMoveClick(e){let t=this.GlobalState.MainExplorer.ExplorerControl.GetSelectedID();0!=t.length&&(this.selected=t,this.GlobalState.MoveExplorer.ID=this.GlobalState.MainExplorer.ID,this.EventRegister.EventAction("OnItemsChange_Move"),this.setState({MoveWindowsShow:!0}))}OnMoveWindowCloseClick(){this.setState({MoveWindowsShow:!1})}OnMoveWindowClick(){if(this.GlobalState.MainExplorer.ID==this.GlobalState.MoveExplorer.ID)return this.setState({MoveWindowsShow:!1}),void oo.MesEr("Src dir == Dst dir","Move");let e=this.selected.map(function(e){return this.Log("OnMove "+e),this.fileExplorerServices.MoveAsync(e,this.GlobalState.MoveExplorer.ID)}.bind(this));Promise.all(e).then(function(e){let t="";e.map((function(e){t+="Succese: "+e.Successe+" ResultMsg:"+e.ResMessage+" | "})),oo.MesOk(t,"Move"),this.EventRegister.EventAction(this.GlobalState.MainExplorer.ChangeEvent)}.bind(this)),this.setState({MoveWindowsShow:!1})}render(){return r.a.createElement("div",{className:"jumbotron"},r.a.createElement(Jo,null,this.state.CanWrite?r.a.createElement(wn,{className:"mb-3"},r.a.createElement(fo,{ref:"DirectoryName",placeholder:"Введите название"}),r.a.createElement(wn.Append,null,r.a.createElement(Pt,{onClick:this.OnCreateDirectoryClick,variant:"secondary"},"Создать директорию"))):null),r.a.createElement(Jo,{variant:"no-gutters"},r.a.createElement(En,{className:"mb-3"},this.state.CanWrite?r.a.createElement(rn,{className:"mr-2"},r.a.createElement(Pt,{onClick:this.OnDownloadClick,variant:"success"},"Скачать"),r.a.createElement(Pt,{onClick:this.OnMoveClick,variant:"warning",disabled:!this.state.CanWrite},"Переместить"),r.a.createElement(Pt,{onClick:this.OnDeleteClick,variant:"danger",disabled:!this.state.CanWrite},"Удалить")):r.a.createElement("div",null,r.a.createElement("h3",null,"Вы не можете менять содержимое данной папки"),r.a.createElement(rn,{className:"mr-2"},r.a.createElement(Pt,{onClick:this.OnDownloadClick,variant:"success"},"Скачать"))))),r.a.createElement(Xn,{ref:"Modal",show:this.state.MoveWindowsShow,onHide:this.OnMoveWindowCloseClick,size:"lg",centered:!0},r.a.createElement(Xn.Header,{closeButton:!0},r.a.createElement(Xn.Title,null,"Select destination directory")),r.a.createElement(Xn.Body,null,r.a.createElement(mn,{ref:"FileExplorerControl",ParentComponent:this,CurrentDirectoryName:"MoveExplorer"})),r.a.createElement(Xn.Footer,null,r.a.createElement(Pt,{variant:"secondary",onClick:this.OnMoveWindowCloseClick},"Cansel"),r.a.createElement(Pt,{variant:"primary",onClick:this.OnMoveWindowClick},"Move to directory"))))}}var Jn=r.a.forwardRef((function(e,t){var o=e.bsPrefix,n=e.className,i=e.variant,a=e.as,l=void 0===a?"img":a,s=Object(te.a)(e,["bsPrefix","className","variant","as"]),c=ye(o,"card-img");return r.a.createElement(l,Object(d.a)({ref:t,className:re()(i?c+"-"+i:c,n)},s))}));Jn.displayName="CardImg",Jn.defaultProps={variant:null};var Zn=Jn,er=Ut("h5"),tr=Ut("h6"),or=xe("card-body"),nr=r.a.forwardRef((function(e,t){var o=e.bsPrefix,i=e.className,a=e.bg,l=e.text,s=e.border,c=e.body,u=e.children,p=e.as,f=void 0===p?"div":p,m=Object(te.a)(e,["bsPrefix","className","bg","text","border","body","children","as"]),h=ye(o,"card"),g=Object(n.useMemo)((function(){return{cardHeaderBsPrefix:h+"-header"}}),[h]);return r.a.createElement(et.Provider,{value:g},r.a.createElement(f,Object(d.a)({ref:t},m,{className:re()(i,h,a&&"bg-"+a,l&&"text-"+l,s&&"border-"+s)}),c?r.a.createElement(or,null,u):u))}));nr.displayName="Card",nr.defaultProps={body:!1},nr.Img=Zn,nr.Title=xe("card-title",{Component:er}),nr.Subtitle=xe("card-subtitle",{Component:tr}),nr.Body=or,nr.Link=xe("card-link",{Component:"a"}),nr.Text=xe("card-text",{Component:"p"}),nr.Header=xe("card-header"),nr.Footer=xe("card-footer"),nr.ImgOverlay=xe("card-img-overlay");var rr=nr;function ir(e,t,o){var n=(e-t)/(o-t)*100;return Math.round(1e3*n)/1e3}var ar=function(e){function t(){return e.apply(this,arguments)||this}Object(oe.a)(t,e);var o=t.prototype;return o.renderProgressBar=function(e){var t,o=e.min,n=e.now,i=e.max,a=e.label,l=e.srOnly,s=e.striped,c=e.animated,u=e.className,p=e.style,f=e.variant,m=e.bsPrefix,h=Object(te.a)(e,["min","now","max","label","srOnly","striped","animated","className","style","variant","bsPrefix"]);return r.a.createElement("div",Object(d.a)({},h,{role:"progressbar",className:re()(u,m+"-bar",(t={},t["bg-"+f]=f,t[m+"-bar-animated"]=c,t[m+"-bar-striped"]=c||s,t)),style:Object(d.a)({width:ir(n,o,i)+"%"},p),"aria-valuenow":n,"aria-valuemin":o,"aria-valuemax":i}),l?r.a.createElement("span",{className:"sr-only"},a):a)},o.render=function(){var e=this.props,t=e.isChild,o=Object(te.a)(e,["isChild"]);if(t)return this.renderProgressBar(o);var i=o.min,a=o.now,l=o.max,s=o.label,c=o.srOnly,u=o.striped,p=o.animated,f=o.bsPrefix,m=o.variant,h=o.className,g=o.children,b=Object(te.a)(o,["min","now","max","label","srOnly","striped","animated","bsPrefix","variant","className","children"]);return r.a.createElement("div",Object(d.a)({},b,{className:re()(h,f)}),g?function(e,t){var o=0;return r.a.Children.map(e,(function(e){return r.a.isValidElement(e)?t(e,o++):e}))}(g,(function(e){return Object(n.cloneElement)(e,{isChild:!0})})):this.renderProgressBar({min:i,now:a,max:l,label:s,srOnly:c,striped:u,animated:p,bsPrefix:f,variant:m}))},t}(r.a.Component);ar.defaultProps={min:0,max:100,animated:!1,isChild:!1,srOnly:!1,striped:!1};var lr=we(ar,"progress"),sr=lr;class cr extends ${constructor(e){super(e,"UploaderControl"),this.state={progress:0,UploadedSize:0,_state:0,FileInfo:{},ResultMsg:"",CanWrite:!1},this.uploadServices=new sn,this.uploadServices.OnProggresseChange=this.OnProgresseChange,this.EventRegister.RegisterListener("OnItemsChange_MainExplorer_InfoLoaded",this)}Event_OnItemsChange_MainExplorer_InfoLoaded(){this.setState({CanWrite:this.GlobalState.MainExplorer.CanChangeDirectoryItems})}UploadClick(){let e=this.refs.file,t=e.files;if(0==t.length)return;let o=t[0];this.setState({_state:1,FileInfo:{name:o.name,size:o.size}}),this.uploadServices.UploadFileAsync(o,this.GlobalState.MainExplorer.ID).then(function(){oo.MesOk("Complete","Upload"),e.value="",this.setState({_state:0,FileInfo:{}}),this.EventRegister.EventAction(this.GlobalState.MainExplorer.ChangeEvent)}.bind(this),function(e){oo.MesEr(e.ResMessage,"Upload"),this.setState({progress:0,_state:0,FileInfo:{}})}.bind(this))}CancelClick(){this.uploadServices.Cansel(),this.setState({_state:0,FileInfo:{}})}OnProgresseChange(e,t){this.setState({progress:e,UploadedSize:t})}render(){return 0!=this.state._state||this.state.CanWrite?r.a.createElement("div",{className:"jumbotron"},r.a.createElement("h3",null,"Загрузка файлов"),r.a.createElement(wn,null,r.a.createElement(fo,{ref:"file",type:"file",disabled:0!==this.state._state}),r.a.createElement(wn.Append,null,r.a.createElement(Pt,{disabled:0!==this.state._state,onClick:this.UploadClick,variant:"outline-success"},"Загрузить"),r.a.createElement(Pt,{disabled:1!==this.state._state,onClick:this.CancelClick,variant:"outline-danger"},"Отмена"))),1==this.state._state?r.a.createElement("div",null,r.a.createElement(rr,null,r.a.createElement(rr.Body,null,r.a.createElement(rr.Title,null,"Выполняется загрука файлов"),r.a.createElement(an,{bordered:!0,size:"sm"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null,"Имя"),r.a.createElement("th",null,"Размер"),r.a.createElement("th",null,"Прогресс"))),r.a.createElement("tbody",null,r.a.createElement("tr",null,r.a.createElement("td",null,this.state.FileInfo.name),r.a.createElement("td",null,this.state.FileInfo.size),r.a.createElement("td",null,r.a.createElement(sr,{now:this.state.progress,label:this.state.progress+"%"}),this.state.UploadedSize))))))):""):r.a.createElement("div",{className:"jumbotron"},r.a.createElement("h2",null,"Вы не можете загрузить данные в эту папку"))}}class ur extends ${constructor(e){super(e,"BootstrapControl")}ToastifyTest(){this.Leght=(null==this.Leght?0:this.Leght)+500,oo.Sho("Test")}render(){return r.a.createElement("div",null,r.a.createElement("p",null,"Bootstrap test"),r.a.createElement(En,null,r.a.createElement(Pt,{onClick:this.ToastifyTest,variant:"outline-primary"},"Primary"),r.a.createElement(Pt,{variant:"outline-secondary"},"Secondary"),r.a.createElement(Pt,{variant:"outline-success"},"Success"),r.a.createElement(Pt,{variant:"outline-warning"},"Warning"),r.a.createElement(Pt,{variant:"outline-danger"},"Danger"),r.a.createElement(Pt,{variant:"outline-info"},"Info"),r.a.createElement(Pt,{variant:"outline-light"},"Light"),r.a.createElement(Pt,{variant:"outline-dark"},"Dark")))}}class dr extends ${constructor(e){super(e,"FileExplorerPage");I.EnviromentValue;let t=-1,o=new URL(window.location.href).searchParams.get("ID");null!=o&&(t=o),this.GlobalState.MainExplorer={ID:t,CanChangeDirectoryItems:!1,ShoSelectColumn:!0,ChangeEvent:"OnItemsChange_Main"}}render(){return r.a.createElement("div",null,r.a.createElement(mn,{ref:"FileExplorerControl",ParentComponent:this,CurrentDirectoryName:"MainExplorer"}),r.a.createElement("hr",null),r.a.createElement("div",null,r.a.createElement(Jo,{style:{marginLeft:"1rem"}},r.a.createElement(Eo,null,r.a.createElement(Qn,{ref:"ExplorerActionsControl",ParentComponent:this,CanWrite:!0})),r.a.createElement(Eo,null,r.a.createElement(cr,{ref:"UploaderControl",ParentComponent:this})))),"Development"==I.EnviromentValue?r.a.createElement("div",null,r.a.createElement("hr",null),r.a.createElement(ur,null),r.a.createElement("hr",null)):null)}}function pr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var mr=function(e){function t(){return pr(this,t),fr(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){T()(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(r.a.Component);mr.propTypes={when:u.a.bool,message:u.a.oneOfType([u.a.func,u.a.string]).isRequired},mr.defaultProps={when:!0},mr.contextTypes={router:u.a.shape({history:u.a.shape({block:u.a.func.isRequired}).isRequired}).isRequired};var hr=mr,gr=o(16);class br{constructor(){this.URL_GetUsers="api/Users/GetUserList",this.URL_SetUsers="api/Users/SetUserList",this.URL_GetGroups="api/Users/GetGroupList",this.URL_SetGroups="api/Users/SetGroupList",this.URL_GetRootDirs="api/Users/GetRootDirList",this.URL_SetRootDirs="api/Users/SetRootDirList",this.ID=0}async GetUsersAsync(){return await no(this.URL_GetUsers,"Post").then(function(e){return e.Successe&&(this.Groups=e.Groups),e}.bind(this))}async SetUsersAsync(e){return await no(this.URL_SetUsers,"Post",e)}CreateUser(){return this.ID--,{ID:this.ID,Name:"NewUser"+this.ID,Password:"QWERTY",Active:!0,Changes:2,Groups:this.Groups.map(e=>({ID:e.ID,Name:e.Name,EnterInGroup:"Пользователи"==e.Name}))}}CreateStubUser(){return{ID:-1,Name:"",Password:"",Active:!1,Changes:-1,Groups:[{ID:-11,Name:"",EnterInGroup:!1}]}}async GetGroupsAsync(){return await no(this.URL_GetGroups,"Post").then(function(e){return e.Successe&&(this.RootDirs=e.RootDirs),e}.bind(this))}async SetGroupsAsync(e){return await no(this.URL_SetGroups,"Post",e).then(function(e){return e}.bind(this))}CreateGroup(){return this.ID--,{ID:this.ID,Name:"NewGroup"+this.ID,Changes:2,RootDirs:this.RootDirs.map(e=>({ID:e.ID,Name:e.Name,CanDownload:!1,CanUpload:!1,CanOpen:!1}))}}CreateStubGroup(){return{ID:this.ID,Name:"NewGroup"+this.ID,Changes:2,RootDirs:[{ID:-11,Name:"",CanDownload:!1,CanUpload:!1,CanOpen:!1}]}}async GetRootDirsAsync(){return await no(this.URL_GetRootDirs,"Post").then(function(e){return e.Successe&&(this.RootDirs=e.RootDirs),e}.bind(this))}async SetRootDirsAsync(e){return await no(this.URL_SetRootDirs,"Post",e).then(function(e){return e}.bind(this))}CreateRootDir(){return this.ID--,{ID:this.ID,Name:"NewRootDir"+this.ID,Changes:2}}}class vr extends ${constructor(e){super(e,"UserListControl"),this.userServices=new br,this.state={Users:[],ShoGroups:!1,UserGroups:this.userServices.CreateStubUser()},this.columns=[{title:"ID",field:"ID"},{title:"Name",field:"Name",editor:"input"},{title:"Password",field:"Password",editor:"input"},{title:"Active",field:"Active",editor:"tick"},{title:"Groups",formatter:this.ButtonFormatter,align:"center",cellClick:this.OnGroupsClick},{title:"Delete",formatter:this.ButtonFormatter,align:"center",cellClick:this.DeleteUserClick}],this.columns_groups=[{title:"ID",field:"ID"},{title:"Name",field:"Name"},{title:"EnterInGroup",field:"EnterInGroup",editor:"tick"}],this.DownloadUsers()}DownloadUsers(){this.userServices.GetUsersAsync().then(function(e){let t=e.Users;this.Groups=e.Groups,this.setState({Users:t}),this.EventRegister.EventAction("OnHaveDataChange",!1)}.bind(this))}UploadUsers(){this.userServices.SetUsersAsync(this.state.Users).then(function(e){e.Successe?oo.MesOk(e.ResMessage,"Save"):oo.MesEr(e.ResMessage,"Save"),this.DownloadUsers()}.bind(this))}ButtonFormatter(e,t,o){return"<i class='fa fa-print'><button>Action</button></i>"}OnCellChange(e){let t=this.state.Users,o=e.getRow()._row.data.ID;var n=t.filter(e=>e.ID===o)[0];0===n.Changes&&(n.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}OnCellChange_Groups(e){0===this.state.UserGroups.Changes&&(this.state.UserGroups.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}UpdateClick(){this.DownloadUsers()}CreateUserCick(){let e=this.userServices.CreateUser(),t=this.state.Users;t.push(e),this.setState({Users:t}),this.EventRegister.EventAction("OnHaveDataChange",!0)}DeleteUserClick(e,t){let o=t.getRow()._row.data.ID,n=this.state.Users,r=n.filter(e=>e.ID===o)[0];2===r.Changes?n.splice(n.findIndex(e=>e.ID===o),1):r.Changes=3,this.setState({Users:n}),this.EventRegister.EventAction("OnHaveDataChange",!0)}OnGroupsClick(e,t){let o=t.getRow()._row.data.ID,n=this.state.Users.filter(e=>e.ID===o)[0];this.setState({ShoGroups:!0,UserGroups:n})}OnGroupsClose(){this.setState({ShoGroups:!1})}render(){return r.a.createElement("div",null,r.a.createElement("button",{onClick:this.CreateUserCick},"CreateUser"),r.a.createElement("button",{onClick:this.DownloadUsers},"Update(Изменения будут утеряны)"),r.a.createElement("button",{onClick:this.UploadUsers},"SaveChanges"),r.a.createElement(gr.ReactTabulator,{ref:"table",data:this.state.Users.filter(e=>3!=e.Changes),columns:this.columns,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange}),r.a.createElement(Xn,{ref:"Modal",show:this.state.ShoGroups,onHide:this.OnGroupsClose,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0},r.a.createElement(Xn.Header,{closeButton:!0},r.a.createElement(Xn.Title,null,"User Groups: ",this.state.UserGroups.ID+" "+this.state.UserGroups.Name)),r.a.createElement(Xn.Body,null,r.a.createElement(gr.ReactTabulator,{ref:"table_UserGroups",data:this.state.UserGroups.Groups,columns:this.columns_groups,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange_Groups})),r.a.createElement(Xn.Footer,null,r.a.createElement(Pt,{variant:"secondary",onClick:this.OnGroupsClose},"Close"))))}}class yr extends ${constructor(e){super(e,"UserListControl"),this.userServices=new br,this.state={Groups:[],ShoPermissions:!1,GroupPermissions:this.userServices.CreateStubGroup()},this.columns=[{title:"ID",field:"ID"},{title:"Name",field:"Name",editor:"input"},{title:"Permissions",formatter:this.ButtonFormatter,align:"center",cellClick:this.OnPermissionsClick},{title:"Delete",formatter:this.ButtonFormatter,align:"center",cellClick:this.DeleteGroupClick}],this.columns_permission=[{title:"ID",field:"ID"},{title:"Name",field:"Name"},{title:"CanDownload",field:"CanDownload",editor:"tick"},{title:"CanUpload",field:"CanUpload",editor:"tick"},{title:"CanOpen",field:"CanOpen",editor:"tick"}],this.DownloadGroups()}DownloadGroups(){this.userServices.GetGroupsAsync().then(function(e){let t=e.Groups;this.RootDirs=e.RootDirs,this.setState({Groups:t}),this.EventRegister.EventAction("OnHaveDataChange",!1)}.bind(this))}UploadGroups(){this.userServices.SetGroupsAsync(this.state.Groups).then(function(e){e.Successe?oo.MesOk(e.ResMessage,"Save"):oo.MesEr(e.ResMessage,"Save"),this.DownloadGroups()}.bind(this))}ButtonFormatter(e,t,o){return"<i class='fa fa-print'><button>Action</button></i>"}OnCellChange(e){let t=this.state.Groups,o=e.getRow()._row.data.ID;var n=t.filter(e=>e.ID===o)[0];0===n.Changes&&(n.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}OnCellChange_Permission(e){0===this.state.GroupPermissions.Changes&&(this.state.GroupPermissions.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}UpdateClick(){this.DownloadGroups()}CreateGroupClick(){let e=this.userServices.CreateGroup(),t=this.state.Groups;t.push(e),this.setState({Groups:t}),this.EventRegister.EventAction("OnHaveDataChange",!0)}DeleteGroupClick(e,t){let o=t.getRow()._row.data.ID,n=this.state.Groups,r=n.filter(e=>e.ID===o)[0];2===r.Changes?n.splice(n.findIndex(e=>e.ID===o),1):r.Changes=3,this.setState({Groups:n}),this.EventRegister.EventAction("OnHaveDataChange",!0)}OnPermissionsClick(e,t){let o=t.getRow()._row.data.ID,n=this.state.Groups.filter(e=>e.ID===o)[0];this.setState({ShoPermissions:!0,GroupPermissions:n})}OnPermissionsClose(){this.setState({ShoPermissions:!1})}render(){return r.a.createElement("div",null,r.a.createElement("button",{onClick:this.CreateGroupClick},"CreateGroup"),r.a.createElement("button",{onClick:this.DownloadGroups},"Update(Изменения будут утеряны)"),r.a.createElement("button",{onClick:this.UploadGroups},"SaveChanges"),r.a.createElement(gr.ReactTabulator,{ref:"table",data:this.state.Groups.filter(e=>3!=e.Changes),columns:this.columns,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange}),r.a.createElement(Xn,{ref:"Modal",show:this.state.ShoPermissions,onHide:this.OnPermissionsClose,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0},r.a.createElement(Xn.Header,{closeButton:!0},r.a.createElement(Xn.Title,null,"User Groups: ",this.state.GroupPermissions.ID+" "+this.state.GroupPermissions.Name)),r.a.createElement(Xn.Body,null,r.a.createElement(gr.ReactTabulator,{ref:"table_GroupPermission",data:this.state.GroupPermissions.RootDirs,columns:this.columns_permission,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange_Permission})),r.a.createElement(Xn.Footer,null,r.a.createElement(Pt,{variant:"secondary",onClick:this.OnPermissionsClose},"Close"))))}}class wr extends ${constructor(e){super(e,"UserListControl"),this.userServices=new br,this.state={RootDirs:[],ShoModalCreate:!1},this.columns=[{title:"ID",field:"ID"},{title:"Name",field:"Name"},{title:"Delete",formatter:this.ButtonFormatter,align:"center",cellClick:this.DeleteRootDirClick}],this.DownloadRootDirs()}DownloadRootDirs(){this.userServices.GetRootDirsAsync().then(function(e){let t=e.Dirs;this.setState({RootDirs:t}),this.EventRegister.EventAction("OnHaveDataChange",!1)}.bind(this))}UploadRootDirs(){this.userServices.SetRootDirsAsync(this.state.RootDirs).then(function(e){e.Successe?oo.MesOk(e.ResMessage,"Save"):oo.MesEr(e.ResMessage,"Save"),this.DownloadRootDirs()}.bind(this))}ButtonFormatter(e,t,o){return"<i class='fa fa-print'><button>Action</button></i>"}OnCellChange(e){let t=this.state.RootDirs,o=e.getRow()._row.data.ID;var n=t.filter(e=>e.ID===o)[0];0===n.Changes&&(n.Changes=1),this.EventRegister.EventAction("OnHaveDataChange",!0)}UpdateClick(){this.DownloadRootDirs()}CreateRootDirClick(){this.setState({ShoModalCreate:!0})}CreateCompleteClick(){let e=this.refs.NewDir_Name.value,t=this.userServices.CreateRootDir();t.Name=e;let o=this.state.RootDirs;o.push(t),this.setState({RootDirs:o,ShoModalCreate:!1}),this.EventRegister.EventAction("OnHaveDataChange",!0)}CreateCanselClick(){this.setState({ShoModalCreate:!1})}DeleteRootDirClick(e,t){let o=t.getRow()._row.data.ID,n=this.state.RootDirs,r=n.filter(e=>e.ID===o)[0];2===r.Changes?n.splice(n.findIndex(e=>e.ID===o),1):r.Changes=3,this.setState({RootDirs:n}),this.EventRegister.EventAction("OnHaveDataChange",!0)}render(){return r.a.createElement("div",null,r.a.createElement("button",{onClick:this.CreateRootDirClick},"CreateRootDir"),r.a.createElement("button",{onClick:this.DownloadRootDirs},"Update(Изменения будут утеряны)"),r.a.createElement("button",{onClick:this.UploadRootDirs},"SaveChanges"),r.a.createElement(gr.ReactTabulator,{ref:"table",data:this.state.RootDirs.filter(e=>3!=e.Changes),columns:this.columns,tooltips:!0,layout:"fitData",cellEdited:this.OnCellChange}),r.a.createElement(Xn,{ref:"Modal",show:this.state.ShoModalCreate,onHide:this.CreateCanselClick,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0},r.a.createElement(Xn.Header,{closeButton:!0},r.a.createElement(Xn.Title,null,"Create new RootDir")),r.a.createElement(Xn.Body,null,r.a.createElement(Do.Control,{ref:"NewDir_Name",type:"text",placeholder:"Root dir name",style:{marginBottom:10}})),r.a.createElement(Xn.Footer,null,r.a.createElement(Pt,{variant:"primary",onClick:this.CreateCompleteClick},"Create"),r.a.createElement(Pt,{variant:"secondary",onClick:this.CreateCanselClick},"Close"))))}}class xr extends ${constructor(e){super(e,"AdministratorPage"),this.authServices=new ro,this.state={IsAuth:this.authServices.IsAuth(),IsAdmin:null!=this.GlobalState.User&&this.GlobalState.User.IsAdmin,HaveChanges:!1,ActiveTab:0},this.EventRegister.RegisterListener("OnAuthChange",this),this.EventRegister.RegisterListener("OnHaveDataChange",this)}Event_OnAuthChange(){this.setState({IsAuth:this.authServices.IsAuth(),IsAdmin:this.GlobalState.User.IsAdmin})}Event_OnHaveDataChange(e){this.setState({HaveChanges:e})}OnUsersClick(){0!=this.state.ActiveTab&&(this.state.HaveChanges&&!confirm("You have unsaved changes. Are you sure you want to leave this table?")||this.setState({ActiveTab:0}))}OnGroupsClick(){1!=this.state.ActiveTab&&(this.state.HaveChanges&&!confirm("You have unsaved changes. Are you sure you want to leave this table?")||this.setState({ActiveTab:1}))}OnRootDirsClick(){2!=this.state.ActiveTab&&(this.state.HaveChanges&&!confirm("You have unsaved changes. Are you sure you want to leave this table?")||this.setState({ActiveTab:2}))}render(){return r.a.createElement("div",null,this.state.HaveChanges?r.a.createElement("p",null,"!Есть несохраненные изменения"):null,r.a.createElement(hr,{when:this.state.HaveChanges,message:"You have unsaved changes. Are you sure you want to leave this page?"}),this.state.IsAdmin?r.a.createElement("div",null,r.a.createElement(xt,{variant:"tabs"},r.a.createElement(xt.Item,null,r.a.createElement(xt.Link,{onClick:this.OnUsersClick},"Users")),r.a.createElement(xt.Item,null,r.a.createElement(xt.Link,{onClick:this.OnGroupsClick},"Groups")),r.a.createElement(xt.Item,null,r.a.createElement(xt.Link,{onClick:this.OnRootDirsClick},"Root dirs"))),(()=>{switch(this.state.ActiveTab){case 0:return r.a.createElement(vr,{ref:"UserListControl"});case 1:return r.a.createElement(yr,{ref:"GroupListControl"});case 2:return r.a.createElement(wr,{ref:"RootDirListControl"})}})()):r.a.createElement("p",null,"Вы не являетесь администратором"))}}class Er extends ${constructor(e){super(e,"UserDetailControl"),this.authServices=new ro}SaveChange(){let e=this.refs.Password.value;this.refs.Password.value="";let t=this.refs.RepeatPassword.value;this.refs.RepeatPassword.value="",e===t?this.authServices.SetUserInfo(e).then((function(e){e.Successe?oo.MesOk(e.ResMessage,"SaveChange"):oo.MesEr(e.ResMessage,"SaveChange")})):oo.MesEr("password != repeat_password","SaveChange")}render(){return r.a.createElement("div",null,r.a.createElement(Do.Control,{ref:"Password",type:"password",placeholder:"New password"}),r.a.createElement(Do.Control,{ref:"RepeatPassword",type:"password",placeholder:"Repeat Password"}),r.a.createElement("button",{onClick:this.SaveChange},"SaveChange"))}}class Cr extends ${constructor(e){super(e,"UserPage"),this.authServices=new ro,this.state={isAuth:this.authServices.IsAuth()},this.EventRegister.RegisterListener("OnAuthChange",this)}Event_OnAuthChange(){this.setState({isAuth:this.authServices.IsAuth()})}render(){return r.a.createElement("div",null,this.state.isAuth?r.a.createElement("div",null,r.a.createElement(Er,null)):r.a.createElement("p",null,"Вы не авторизованы"))}}class kr extends ${constructor(e){super(e,"RouteSystem")}render(){return r.a.createElement(Vo,null,r.a.createElement(Xo,{ref:"CurrentPage",exact:!0,path:"/",component:dr}),r.a.createElement(Xo,{ref:"CurrentPage",exact:!0,path:"/App",component:dr}),r.a.createElement(Xo,{ref:"CurrentPage",exact:!0,path:"/index.html",component:dr}),r.a.createElement(Xo,{ref:"CurrentPage",path:"/?ID=:ID",component:dr}),r.a.createElement(Xo,{ref:"CurrentPage",path:"/Admin",component:xr}),r.a.createElement(Xo,{ref:"CurrentPage",path:"/User",component:Cr}))}}class Sr extends ${constructor(e){super(e,"LayoutPage")}render(){return r.a.createElement(z,null,r.a.createElement("div",null,"Development"==I.EnviromentValue?r.a.createElement("div",null,r.a.createElement("div",null,"SPA webpack dev server"),r.a.createElement("a",{href:"http://localhost:47780/"},"To asp.mvc api")):null,r.a.createElement(Oo,null),r.a.createElement(kr,null),r.a.createElement(Lo,null)))}}(new class{constructor(){this.URL_Env="api/Enviroment/Get"}async GetEnv(){return await no(this.URL_Env,"GET")}}).GetEnv().then((function(e){I.EnviromentValue=e.Enviromet,console.log("Enviroment: "+I.EnviromentValue),a.a.render(r.a.createElement(Sr,null),document.getElementById("App"))}),(function(e){console.error("Не удалось получить информацию об окружении с API"),console.log("Enviroment: "+I.EnviromentValue)})),console.log("index.js")},function(e,t,o){"use strict";o.r(t),o.d(t,"useUncontrolled",(function(){return m})),o.d(t,"uncontrollable",(function(){return h}));var n=o(1),r=o(2),i=o(5),a=o(0),l=o.n(a),s=o(11),c=o.n(s),u=function(){};function d(e,t){return void 0!==e[t]}function p(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function f(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function m(e,t){return Object.keys(t).reduce((function(o,i){var l,s=o[p(i)],c=o[i],u=Object(r.a)(o,[p(i),i].map(f)),m=t[i],h=Object(a.useRef)({}),g=Object(a.useState)(s),b=g[0],v=g[1],y=d(e,i),w=d(h.current,i);h.current=e,!y&&w&&v(s);var x=e[m],E=Object(a.useCallback)((function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];x&&x.apply(void 0,[e].concat(o)),v(e)}),[v,x]);return Object(n.a)({},u,((l={})[i]=y?c:b,l[m]=E,l))}),e)}function h(e,t,o){void 0===o&&(o=[]);var a=e.displayName||e.name||"Component",s=function(e){return!!e&&("function"!=typeof e||e.prototype&&e.prototype.isReactComponent)}(e),f=Object.keys(t),m=f.map(p);!s&&o.length&&c()(!1);var g=function(a){function s(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=a.call.apply(a,[this].concat(r))||this).handlers=Object.create(null),f.forEach((function(o){var n=t[o];e.handlers[n]=function(t){if(e.props[n]){var r;e._notifying=!0;for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];(r=e.props)[n].apply(r,[t].concat(a)),e._notifying=!1}e._values[o]=t,e.unmounted||e.forceUpdate()}})),o.length&&(e.attachRef=function(t){e.inner=t}),e}Object(i.a)(s,a);var c=s.prototype;return c.shouldComponentUpdate=function(){return!this._notifying},c.componentWillMount=function(){var e=this,t=this.props;this._values=Object.create(null),f.forEach((function(o){e._values[o]=t[p(o)]}))},c.componentWillReceiveProps=function(e){var t=this,o=this.props;f.forEach((function(n){!d(e,n)&&d(o,n)&&(t._values[n]=e[p(n)])}))},c.componentWillUnmount=function(){this.unmounted=!0},c.render=function(){var t=this,o=this.props,i=o.innerRef,a=Object(r.a)(o,["innerRef"]);m.forEach((function(e){delete a[e]}));var s={};return f.forEach((function(e){var o=t.props[e];s[e]=void 0!==o?o:t._values[e]})),l.a.createElement(e,Object(n.a)({},a,s,this.handlers,{ref:i||this.attachRef}))},s}(l.a.Component);g.displayName="Uncontrolled("+a+")",g.propTypes=Object(n.a)({innerRef:function(){}},function(e,t){var o={};return Object.keys(e).forEach((function(e){o[p(e)]=u})),o}(t)),o.forEach((function(e){g.prototype[e]=function(){var t;return(t=this.inner)[e].apply(t,arguments)}}));var b=g;return l.a.forwardRef&&((b=l.a.forwardRef((function(e,t){return l.a.createElement(g,Object(n.a)({},e,{innerRef:t}))}))).propTypes=g.propTypes),b.ControlledComponent=e,b.deferControlTo=function(e,o,r){return void 0===o&&(o={}),h(e,Object(n.a)({},t,o),r)},b}t.default=h}]);
//# sourceMappingURL=app_bundle.js.map