MCPcopy Index your code
hub / github.com/plotly/dash / zA

Function zA

dash/dash_table/async-table.js:2–2  ·  view source on GitHub ↗
(e,t,n,r,o)

Source from the content-addressed store, hash-verified

1/*! For license information please see async-table.js.LICENSE.txt */
2(self.webpackChunkdash_table=self.webpackChunkdash_table||[]).push([[214],{726:function(e,t,n){"use strict";function r(e,t){return e===t||o(Object.values(e),Object.values(t))}function o(e,t){if(!e)return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;++r)if(e[r]!==t[r])return!1;return!0}n.d(t,{n:function(){return r},y:function(){return o}})},7667:function(e,t,n){"use strict";n.d(t,{B4:function(){return o},Hc:function(){return a},ty:function(){return i}});var r=n(726);function o(e){var t,n=null;return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(0,r.y)(n,i)?t:(n=i)&&(t=e.apply(void 0,i))}}function i(e){return function(){return o(e)}}function a(e){var t,n=null,o=!0;return function(){for(var i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];var s=(0,r.y)(n,a)?{cached:!0,first:o,result:t}:{cached:!1,first:o,result:(n=a)&&(t=e.apply(void 0,a))};return o=!1,s}}},2870:function(e,t,n){"use strict";function r(e){return 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},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}var s,c,u,p,f,d,h,b;n.d(t,{$C:function(){return s},AV:function(){return u},Ie:function(){return d},Jm:function(){return v},VP:function(){return m},Xw:function(){return A},iV:function(){return b},ru:function(){return p},se:function(){return c},vb:function(){return y},vh:function(){return h},ze:function(){return f}}),function(e){e.Any="any",e.Numeric="numeric",e.Text="text",e.Datetime="datetime"}(s||(s={})),function(e){e.All="all",e.Visible="visible"}(c||(c={})),function(e){e.Csv="csv",e.Xlsx="xlsx",e.None="none"}(u||(u={})),function(e){e.Ids="ids",e.Names="names",e.None="none",e.Display="display"}(p||(p={})),function(e){e.Insensitive="insensitive",e.Sensitive="sensitive"}(f||(f={})),function(e){e.Single="single",e.Multi="multi"}(d||(d={})),function(e){e.Custom="custom",e.Native="native",e.None="none"}(h||(h={})),function(e){e.And="and",e.Or="or"}(b||(b={}));var A,y,v,m=i(function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"clearable",void 0),a(this,"deletable",void 0),a(this,"editable",!1),a(this,"filter_options",void 0),a(this,"hideable",void 0),a(this,"renamable",void 0),a(this,"selectable",void 0),a(this,"sort_as_null",[]),a(this,"id",void 0),a(this,"name",[]),Object.keys(t).includes("name")&&(this.name=t.name),Object.keys(t).includes("id")&&(this.id=t.id)});!function(e){e.Coerce="coerce",e.None="none",e.Validate="validate"}(A||(A={})),function(e){e.Default="default",e.Accept="accept",e.Reject="reject"}(y||(y={})),function(e){e.Dropdown="dropdown",e.Input="input",e.Markdown="markdown"}(v||(v={}))},794:function(e,t,n){"use strict";var r,o;n.d(t,{D:function(){return r},F:function(){return o}}),function(e){e.Text="text",e.Markdown="markdown"}(r||(r={})),function(e){e.Both="both",e.Data="data",e.Header="header"}(o||(o={}))},3838:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return GA}});var r=n(1609),o=n.n(r),i=n(2254),a=n(1069),l=n(1647),s=(0,i.A)(function(e,t){if(0===e.length||(0,l.A)(t))return!1;for(var n=t,r=0;r<e.length;){if((0,l.A)(n)||!(0,a.A)(e[r],n))return!1;n=n[e[r]],r+=1}return!0}),c=(0,i.A)(function(e,t){return s([e],t)}),u=c,p=n(3579),f=(0,p.A)(function(e){var t,n=[];for(t in e)n[n.length]=t;return n}),d=f,h=n(7667),b=n(4239),A=(0,p.A)(function(e){return b.A.apply(null,[{}].concat(e))}),y=n(2039),v=n(2598),m=n(2173),g=(0,p.A)(function(e){return function(){return e}}),w=function(e){return{value:e,map:function(t){return w(t(e))}}},E=(0,m.A)(function(e,t,n){return e(function(e){return w(t(e))})(n).value}),C=E,S=(0,m.A)(function(e,t,n){return C(e,g(t),n)}),k=S,x=n(2270),O=(0,i.A)(function(e,t){return function(n){return function(r){return(0,v.A)(function(e){return t(e,r)},n(e(r)))}}}),B=n(4279),_=n(6359),j=(0,p.A)(function(e){return O(function(t){return function(e,t){for(var n=t,r=0;r<e.length;r+=1){if(null==n)return;var o=e[r];n=(0,B.A)(o)?(0,_.A)(o,n):n[o]}return n}(e,t)},(0,x.A)(e))}),P=j,T=n(3112),D=n(8267);function I(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var F=function(e){return(e<10?"0":"")+e},M="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+F(e.getUTCMonth()+1)+"-"+F(e.getUTCDate())+"T"+F(e.getUTCHours())+":"+F(e.getUTCMinutes())+":"+F(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"},R=n(2959),z=n(3430),N=n(845);function L(e,t){for(var n=0,r=t.length,o=[];n<r;)e(t[n])&&(o[o.length]=t[n]),n+=1;return o}var q=n(1878),W=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=q.A.init,e.prototype["@@transducer/result"]=q.A.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function V(e){return function(t){return new W(e,t)}}var U=(0,i.A)((0,N.A)(["fantasy-land/filter","filter"],V,function(e,t){return n=t,"[object Object]"===Object.prototype.toString.call(n)?(0,z.A)(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},(0,R.A)(t)):L(e,t);var n})),Y=(0,i.A)(function(e,t){return U((n=e,function(){return!n.apply(this,arguments)}),t);var n}),H=Y;function K(e,t){var n=function(n){var r=t.concat([e]);return(0,T.A)(n,r)?"<Circular>":K(n,r)},r=function(e,t){return(0,D.A)(function(t){return I(t)+": "+n(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+(0,D.A)(n,e).join(", ")+"))";case"[object Array]":return"["+(0,D.A)(n,e).concat(r(e,H(function(e){return/^\d+$/.test(e)},(0,R.A)(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):I(M(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":I(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var o=e.toString();if("[object Object]"!==o)return o}return"{"+r(e,(0,R.A)(e)).join(", ")+"}"}}var $=(0,p.A)(function(e){return K(e,[])}),G=(0,i.A)(function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var o=n(typeof e,typeof t);if(void 0!==o)return o===typeof e?e:t;var i=$(e),a=n(i,$(t));return void 0!==a&&a===i?e:t}),Z=(0,i.A)(function(e,t){if(e===t)return e;function n(e,t){if(e<t!=t<e)return t<e?t:e}var r=n(e,t);if(void 0!==r)return r;var o=n(typeof e,typeof t);if(void 0!==o)return o===typeof e?e:t;var i=$(e),a=n(i,$(t));return void 0!==a?a===i?e:t:e}),Q=n(9614),X=n(1487),J=(0,p.A)(function(e){for(var t=(0,R.A)(e),n=t.length,r=[],o=0;o<n;)r[o]=e[t[o]],o+=1;return r}),ee=J;function te(e){return e}var ne=n(5564),re=n(8228),oe=(0,p.A)(function(e){return!!(0,ne.A)(e)||!!e&&"object"==typeof e&&!(0,re.A)(e)&&(0===e.length||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))});function ie(e,t,n){for(var r=0,o=n.length;r<o;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}var ae="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function le(e,t,n){return function(r,o,i){if(oe(i))return e(r,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return t(r,o,i,"fantasy-land/reduce");if(null!=i[ae])return n(r,o,i[ae]());if("function"==typeof i.next)return n(r,o,i);if("function"==typeof i.reduce)return t(r,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}var se=n(7660),ce=(0,i.A)(function(e,t){return(0,se.A)(e.length,function(){return e.apply(t,arguments)})}),ue=ce;function pe(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function fe(e,t,n,r){return e["@@transducer/result"](n[r](ue(e["@@transducer/step"],e),t))}var de=le(ie,fe,pe),he="@@transducer/init",be="@@transducer/step",Ae="@@transducer/result",ye=function(){function e(e){this.xf=e}return e.prototype[he]=q.A.init,e.prototype[Ae]=q.A.result,e.prototype[be]=function(e,t){var n=this.xf[be](e,t);return n["@@transducer/reduced"]?{"@@transducer/value":n,"@@transducer/reduced":!0}:n},e}(),ve=function(){function e(e){this.xf=new ye(e)}return e.prototype[he]=q.A.init,e.prototype[Ae]=q.A.result,e.prototype[be]=function(e,t){return oe(t)?de(this.xf,e,t):ie(this.xf,e,[t])},e}(),me=n(9607);function ge(e){return function(t){return(0,me.A)(e)(function(e){return new ve(e)}(t))}}var we=(0,i.A)((0,N.A)(["fantasy-land/chain","chain"],ge,function(e,t){return"function"==typeof t?function(n){return e(t(n))(n)}:function(e){for(var t,n,r,o=[],i=0,a=e.length;i<a;){if(oe(e[i]))for(r=0,n=(t=e[i]).length;r<n;)o[o.length]=t[r],r+=1;else o[o.length]=e[i];i+=1}return o}((0,v.A)(e,t))}))(te);function Ee(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var Ce=function(){function e(e,t){this.xf=t,this.f=e,this.any=!1}return e.prototype["@@transducer/init"]=q.A.init,e.prototype["@@transducer/result"]=function(e){return this.any||(e=this.xf["@@transducer/step"](e,!1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.any=!0,e=Ee(this.xf["@@transducer/step"](e,!0))),e},e}();function Se(e){return function(t){return new Ce(e,t)}}var ke=(0,i.A)((0,N.A)(["any"],Se,function(e,t){for(var n=0;n<t.length;){if(e(t[n]))return!0;n+=1}return!1})),xe=n(2314);function Oe(e){return Oe="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},Oe(e)}function Be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Te(r.key),r)}}function je(e,t,n){return t&&_e(e.prototype,t),n&&_e(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Pe(e,t,n){return(t=Te(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(e){var t=function(e){if("object"!=Oe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Oe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Oe(t)?t:t+""}var De=function(){return je(function e(t){Be(this,e),Pe(this,"name",void 0),Pe(this,"__stylesheet",void 0),this.name=t},[{key:"rules",get:function(){var e=this.sheet;return Array.from(e.rules||e.cssRules)}},{key:"addRule",value:function(e,t){this.sheet.addRule?this.sheet.addRule(e,t):this.sheet.insertRule("".concat(e," { ").concat(t," }"),0)}},{key:"deleteRule",value:function(e){this.sheet.deleteRule(e)}},{key:"findRule",value:function(e){var t=this.rules,n=t.findIndex(function(t){return t.selectorText===e});return-1===n?null:{rule:t[n],index:n}}},{key:"sheet",get:function(){var e;return(this.__stylesheet=this.__stylesheet||(e=document.createElement("style"),e.type="text/css",e.id=this.name,document.getElementsByTagName("head")[0].appendChild(e),e)).sheet}}])}(),Ie=function(){return je(function e(t){Be(this,e),Pe(this,"prefix",void 0),Pe(this,"stylesheet",void 0),this.prefix=t,this.stylesheet=new De("".concat(t,"-dynamic-inline.css"))},[{key:"deleteRule",value:function(e){e="".concat(this.prefix," ").concat(e);var t=this.stylesheet.findRule(e);t&&this.stylesheet.deleteRule(t.index)}},{key:"setRule",value:function(e,t){e="".concat(this.prefix," ").concat(e);var n=this.stylesheet.findRule(e);if(n){if(n.rule.cssText===t||n.rule.cssText==="".concat(e," { ").concat(t," }"))return;this.stylesheet.deleteRule(n.index)}this.stylesheet.addRule(e,t),xe.Ay.trace("stylesheet",e,t)}}])}(),Fe={MOUSE_LEFT:1,MOUSE_RIGHT:3,MOUSE_MIDDLE:2,BACKSPACE:8,COMMA:188,INSERT:45,DELETE:46,END:35,ENTER:13,ESCAPE:27,CONTROL:17,COMMAND_LEFT:91,COMMAND_RIGHT:93,COMMAND_FIREFOX:224,ALT:18,HOME:36,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,SPACE:32,SHIFT:16,CAPS_LOCK:20,TAB:9,ARROW_RIGHT:39,ARROW_LEFT:37,ARROW_UP:38,ARROW_DOWN:40,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,A:65,X:88,C:67,V:86},Me=(Fe.ARROW_DOWN,Fe.ARROW_UP,Fe.ARROW_LEFT,Fe.ARROW_RIGHT,Fe.HOME,Fe.END,Fe.DELETE,Fe.BACKSPACE,Fe.F1,Fe.F2,Fe.F3,Fe.F4,Fe.F5,Fe.F6,Fe.F7,Fe.F8,Fe.F9,Fe.F10,Fe.F11,Fe.F12,Fe.TAB,Fe.PAGE_DOWN,Fe.PAGE_UP,Fe.ENTER,Fe.ESCAPE,Fe.SHIFT,Fe.CAPS_LOCK,Fe.ALT,[Fe.ARROW_DOWN,Fe.ARROW_UP,Fe.ARROW_LEFT,Fe.ARROW_RIGHT]),Re=[].concat(Me,[Fe.TAB,Fe.ENTER]);function ze(e){return-1!==Re.indexOf(e)}var Ne=n(371),Le=(0,m.A)((0,Ne.A)("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)})),qe=n(9849),We=(0,i.A)(function(e,t){for(var n={},r={},o=0,i=e.length;o<i;)r[e[o]]=1,o+=1;for(var a in t)r.hasOwnProperty(a)||(n[a]=t[a]);return n}),Ve=We,Ue=n(3700),Ye=n(2537),He=n(1322);function Ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var $e=function(e){return Array.isArray(e.name)?e.name.length:1},Ge=function(e){return Math.max.apply(Math,function(e){if(Array.isArray(e))return Ke(e)}(t=e.map($e))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ke(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ke(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var t};function Ze(e){return Ze="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},Ze(e)}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xe(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ze(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ze(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ze(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Je(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(!e.name||Array.isArray(e.name)&&e.name.length<n||!r)return{groupIndexFirst:o,groupIndexLast:o};if(i)for(var a=o;a>=0;--a){var l=t[a];if(!(l.name&&Array.isArray(l.name)&&l.name.length>n&&l.name[n]===e.name[n]))break;o=a}for(var s=o,c=o;c<t.length;++c){var u=t[c];if(!(u.name&&Array.isArray(u.name)&&u.name.length>n&&u.name[n]===e.name[n]))break;s=c}return{groupIndexFirst:o,groupIndexLast:s}}function et(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=Je(e,t,n,r,t.indexOf(e),o),a=i.groupIndexFirst,l=i.groupIndexLast;return Le(a,l+1,qe.A("id",t))}function tt(e,t,n,r,o,i){return{data:nt(e,t,n,r,o,i).data}}function nt(e,t,n,r,o,i){var a=et(e,n,r,o);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach(function(t){Xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({columns:U(function(e){return-1===a.indexOf(e.id)},t),data:v.A(Ve(a),i)},ot)}function rt(e,t,n,r){var o=Je(e,t,n,r,t.indexOf(e)),i=o.groupIndexFirst,a=o.groupIndexLast;return v.A(function(e){return e.id},t.slice(i,a+1))}var ot={active_cell:void 0,start_cell:void 0,end_cell:void 0,selected_cells:[]};var it=n(2870);function at(e,t){var n;t=t||[];var r=(e=e||[]).length,o=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<o;)i[i.length]=t[n],n+=1;return i}var lt=n(5845),st=(0,p.A)(function(e){return(0,lt.A)(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],o=Array.prototype.slice.call(arguments,0);return o[0]=function(){var e=n.apply(this,at(arguments,[t,r]));return t+=1,e},e.apply(this,o)})}),ct=st;function ut(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}var pt=(0,i.A)(function(e,t){if((0,ne.A)(e)){if((0,ne.A)(t))return e.concat(t);throw new TypeError($(t)+" is not an array")}if((0,re.A)(e)){if((0,re.A)(t))return e+t;throw new TypeError($(t)+" is not a string")}if(null!=e&&ut(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ut(e.concat))return e.concat(t);throw new TypeError($(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=(0,i.A)(function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}),dt=(0,p.A)(function(e){for(var t=0,n=[];t<e.length;){for(var r=e[t],o=0;o<r.length;)void 0===n[o]&&(n[o]=[]),n[o].push(r[o]),o+=1;t+=1}return n}),ht=dt,bt=n(9734);function At(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof l?r:l,c=Object.create(s.prototype);return yt(c,"_invoke",function(n,r,o){var i,l,s,c=0,u=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,l=0,s=e,f.n=n,a}};function d(n,r){for(l=n,s=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],d=f.p,h=i[2];n>3?(o=h===r)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(l=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,l=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,h){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&d(u,h),l=u,s=h;(t=l<2?e:s)||!p;){i||(l?l<3?(l>1&&(f.n=-1),d(l,s)):f.n=s:f.v=s);try{if(c=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(p=f.n<0)?s:n.call(r,f))!==a)break}catch(t){i=e,l=1,s=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(yt(t={},r,function(){return this}),t),p=c.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,yt(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=c,yt(p,"constructor",c),yt(c,"constructor",s),s.displayName="GeneratorFunction",yt(c,o,"GeneratorFunction"),yt(p),yt(p,o,"Generator"),yt(p,r,function(){return this}),yt(p,"toString",function(){return"[object Generator]"}),(At=function(){return{w:i,m:f}})()}function yt(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}yt=function(e,t,n,r){function i(t,n){yt(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},yt(e,t,n,r)}function vt(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function mt(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){vt(i,r,o,a,l,"next",e)}function l(e){vt(i,r,o,a,l,"throw",e)}a(void 0)})}}function gt(e){var t=[],n=ct(Q.A),r=ct(Q.A);return n(function(e,n){var o={};r(function(e,r){o[e]?r===o[e].e.c+1?o[e].e={r:n,c:r}:(t.push(o[e]),o[e]={s:{r:n,c:r},e:{r:n,c:r}}):o[e]={s:{r:n,c:r},e:{r:n,c:r}}},e);var i=Object.values(o);t=pt(t,i)},e),U(function(e){return e.s.c!==e.e.c||e.s.r!==e.e.r},t)}function wt(e,t,n,r,o){return Et.apply(this,arguments)}function Et(){return(Et=mt(At().m(function e(t,n,r,o,i){var a,l,s,c;return At().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,bt.A.xlsx;case 1:return a=e.v,l=a.utils.aoa_to_sheet([]),n=v.A(ft(r))(n),o===it.ru.Display||o===it.ru.Names||o===it.ru.None?(a.utils.sheet_add_json(l,t,{skipHeader:!0}),s=t.length>0?{header:r,skipHeader:!0,origin:t.length}:{skipHeader:!0},a.utils.sheet_add_json(l,n,s),o===it.ru.Display&&i&&(l["!merges"]=gt(t))):o===it.ru.Ids&&a.utils.sheet_add_json(l,n,{header:r}),c=a.utils.book_new(),a.utils.book_append_sheet(c,l,"SheetJS"),e.a(2,c)}},e)}))).apply(this,arguments)}function Ct(e,t){return St.apply(this,arguments)}function St(){return(St=mt(At().m(function e(t,n){var r;return At().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,bt.A.xlsx;case 1:r=e.v,"xlsx"===n?r.writeFile(t,"Data.xlsx",{bookType:"xlsx",type:"buffer"}):"csv"===n&&r.writeFile(t,"Data.csv",{bookType:"csv",type:"buffer"});case 2:return e.a(2)}},e)}))).apply(this,arguments)}function kt(e,t){var n=function(e,t){return e.map(function(e){return e instanceof Array&&e.length<t?e.concat(Array(t-e.length).fill("")):0===t||1===t?[e]:e instanceof String||"string"==typeof e?Array(t).fill(e):e})}(e,t);return ht(n)}function xt(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof l?r:l,c=Object.create(s.prototype);return Ot(c,"_invoke",function(n,r,o){var i,l,s,c=0,u=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,l=0,s=e,f.n=n,a}};function d(n,r){for(l=n,s=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],d=f.p,h=i[2];n>3?(o=h===r)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(l=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,l=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,h){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&d(u,h),l=u,s=h;(t=l<2?e:s)||!p;){i||(l?l<3?(l>1&&(f.n=-1),d(l,s)):f.n=s:f.v=s);try{if(c=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(p=f.n<0)?s:n.call(r,f))!==a)break}catch(t){i=e,l=1,s=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Ot(t={},r,function(){return this}),t),p=c.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ot(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=c,Ot(p,"constructor",c),Ot(c,"constructor",s),s.displayName="GeneratorFunction",Ot(c,o,"GeneratorFunction"),Ot(p),Ot(p,o,"Generator"),Ot(p,r,function(){return this}),Ot(p,"toString",function(){return"[object Generator]"}),(xt=function(){return{w:i,m:f}})()}function Ot(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Ot=function(e,t,n,r){function i(t,n){Ot(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Ot(e,t,n,r)}function Bt(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}var _t=o().memo(function(e){var t=e.columns,n=e.export_columns,r=e.export_format,i=e.virtual_data,a=e.export_headers,l=e.visibleColumns,s=e.merge_duplicate_headers,c=r===it.AV.Csv||r===it.AV.Xlsx,u=n===it.se.Visible?l:t,p=function(){var e,n=(e=xt().m(function e(){var n,o,l,c,p;return xt().w(function(e){for(;;)switch(e.n){case 0:return n=u.map(function(e){return e.id}),o=u.map(function(e){return e.name}),l=Ge(t),c=a!==it.ru.None?kt(o,l):[],e.n=1,wt(c,i.data,n,a,s);case 1:return p=e.v,e.n=2,Ct(p,r);case 2:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Bt(i,r,o,a,l,"next",e)}function l(e){Bt(i,r,o,a,l,"throw",e)}a(void 0)})});return function(){return n.apply(this,arguments)}}();return o().createElement("div",null,c?o().createElement("button",{className:"export",onClick:p},"Export"):null)}),jt=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function Pt(e){return new jt(e)}var Tt=(0,m.A)(function(e,t,n){return de("function"==typeof e?Pt(e):e,t,n)});function Dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function It(e){var t=qe.A("row",e),n=qe.A("column",e);return{minRow:Tt(Z,1/0,t),minCol:Tt(Z,1/0,n),maxRow:Tt(G,0,t),maxCol:Tt(G,0,n)}}function Ft(e,t){var n,r,o=It(t),i=o.minRow,a=o.minCol,l=o.maxRow,s=o.maxCol,c=(r=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,r)||function(e,t){if(e){if("string"==typeof e)return Dt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dt(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=c[0],p=c[1],f=[u,p];return u>l&&(f[0]=i,f[1]=p+1>s?a:p+1),u<i&&(f[0]=l,f[1]=p-1<a?s:p-1),p>s&&(f[1]=a,f[0]=u+1>l?i:u+1),p<a&&(f[1]=s,f[0]=u-1<a?l:u-1),f}var Mt=(0,i.A)(function(e,t){for(var n,r=0,o=e.length,i=t.length,a=Array(o*i);r<o;){for(n=0;n<i;)a[r*i+n]=[e[r],t[n]],n+=1;r+=1}return a}),Rt=Mt;function zt(e,t,n,r){var o={row:e,column:t,column_id:n[t].id},i=r.data[e].id;return void 0!==i&&(o.row_id=i),o}function Nt(e,t,n){var r=e.minRow,o=e.maxRow,i=e.minCol,a=e.maxCol;return(0,v.A)(function(e){return zt(e[0],e[1],t,n)},Rt((0,Ye.A)(r,o+1),(0,Ye.A)(i,a+1)))}var Lt=function(e){var t=document.createElement("div");t.style.position="absolute",t.style.visibility="hidden",t.style.width="100px",t.style.height="100px",t.style.overflow="scroll";var n=document.createElement("div");return n.style.width="100px",n.style.height="100px",t.appendChild(n),e.appendChild(t),new Promise(function(r){setTimeout(function(){var o=n.clientWidth-t.clientWidth;e.removeChild(t),r(o)},0)})};function qt(e,t,n){for(var r=e.length,o=new Array(r),i=0;i<r;++i)o[i]=n(e[i],t[i],i);return o}var Wt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=q.A.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=Ee(this.xf["@@transducer/step"](e,t))),e},e}();function Vt(e){return function(t){return new Wt(e,t)}}var Ut=(0,i.A)((0,N.A)(["find"],Vt,function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}}));function Yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ht(e,t){for(var n,r=[],o=function(){var n;t=t.replace(/^\s+/,"");var o=r.slice(-1)[0],i=o?o.lexeme:null,a=e.filter(function(e){return e.if&&(Array.isArray(e.if)?i?e.if&&-1!==e.if.indexOf(i.type):e.if&&-1!==e.if.indexOf(void 0):e.if(r,o))}),l=Ut(function(e){return e.regexp.test(t)},a);if(!l)return{v:{lexemes:r,valid:!1,error:t}};var s=null!==(n=t.match(l.regexp))&&void 0!==n?n:[],c=s[l.regexpMatch||0],u=s[l.regexpFlags||-1];r.push({lexeme:l,flags:u,value:c}),t=t.substring(c.length)};t.length;)if(n=o())return n.v;var i,a,l=(i=[void 0,void 0].concat(r).slice(-2),a=2,function(e){if(Array.isArray(e))return e}(i)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(i,a)||function(e,t){if(e){if("string"==typeof e)return Yt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yt(e,t):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=l[0],c=l[1],u=!c||("function"==typeof c.lexeme.terminal?c.lexeme.terminal(r,s):c.lexeme.terminal);return{lexemes:r,valid:u}}var Kt=(0,p.A)(te);function $t(e,t,n){var r,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):o in n._items?e in n._items[o]||(t&&(n._items[o][e]=!0),!1):(t&&(n._items[o]={},n._items[o][e]=!0),!1);case"boolean":if(o in n._items){var i=e?1:0;return!!n._items[o][i]||(t&&(n._items[o][i]=!0),!1)}return t&&(n._items[o]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):o in n._items?!!(0,T.A)(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1);case"undefined":return!!n._items[o]||(t&&(n._items[o]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in n._items?!!(0,T.A)(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1)}}var Gt=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!$t(e,!0,this)},e.prototype.has=function(e){return $t(e,!1,this)},e}(),Zt=function(){function e(e,t){this.xf=t,this.f=e,this.set=new Gt}return e.prototype["@@transducer/init"]=q.A.init,e.prototype["@@transducer/result"]=q.A.result,e.prototype["@@transducer/step"]=function(e,t){return this.set.add(this.f(t))?this.xf["@@transducer/step"](e,t):e},e}();function Qt(e){return function(t){return new Zt(e,t)}}var Xt=(0,i.A)((0,N.A)([],Qt,function(e,t){for(var n,r,o=new Gt,i=[],a=0;a<t.length;)n=e(r=t[a]),o.add(n)&&i.push(r),a+=1;return i})),Jt=Xt(Kt),en=(0,p.A)(function(e){return(0,_.A)(0,e)}),tn=(0,p.A)(function(e){return(0,_.A)(-1,e)}),nn=n(5987),rn=(0,i.A)(function(e,t){return e.map(function(e){return(0,nn.A)(e,t)})}),on=n(1831),an=n.n(on);function ln(e){return ln="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},ln(e)}function sn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cn(r.key),r)}}function cn(e){var t=function(e){if("object"!=ln(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ln(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ln(t)?t:t+""}var un=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"set",value:function(e,t){e.clipboardData.setData("text/plain",t),e.preventDefault()}},{key:"get",value:function(e){return e.clipboardData?e.clipboardData.getData("text/plain"):void 0}}],null&&sn(e.prototype,null),t&&sn(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),pn=n(1608),fn=(0,m.A)(function(e,t,n){return e=e<n.length&&e>=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))}),dn=n(3111),hn=(0,i.A)(function(e,t){return"function"!=typeof t.indexOf||(0,ne.A)(t)?(0,dn.A)(t,e,0):t.indexOf(e)}),bn=(0,i.A)(function(e,t){var n=Number(t);if(n<0||isNaN(n))throw new RangeError("n must be a non-negative number");for(var r=0,o=Array(n);r<n;)o[r]=e(r),r+=1;return o}),An=(0,i.A)(function(e,t){return bn(g(e),t)}),yn=function(e,t){return{success:!0,value:e}};function vn(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var mn,gn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wn(e){if(!(t=gn.exec(e)))throw new Error("invalid format: "+e);var t;return new En({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function En(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Cn(e,t){var n=vn(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}wn.prototype=En.prototype,En.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Sn={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Cn(100*e,t)},r:Cn,s:function(e,t){var n=vn(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(mn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+vn(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function kn(e){return e}var xn=Array.prototype.map,On=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];var Bn=n(7365),_n=n.n(Bn),jn=function(e,t){var n=Boolean(t&&t.validation&&t.validation.allow_null),r=Pn(e);return{success:r&&n,value:r?null:e}},Pn=function(e){return null==e||"number"==typeof e&&(isNaN(e)||!isFinite(e))};function Tn(e){return Tn="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},Tn(e)}var Dn=["group","symbol"];function In(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fn(e,t,n){return(t=function(e){var t=function(e){if("object"!=Tn(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Tn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mn(e,t){return _n()(e)?{success:!0,value:+e}:jn(e,t)}function Rn(e,t){return"number"!=typeof e||Pn(e)?jn(e,t):{success:!0,value:e}}function zn(e,t){return Pn(e)?jn(e,t):"string"==typeof e?{success:!0,value:e}:{success:!0,value:JSON.stringify(e)}}function Nn(e,t){return"string"==typeof e?{success:!0,value:e}:jn(e,t)}var Ln=/^\s*(-?\d{4}|\d{2})(-(\d{1,2})(-(\d{1,2})([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d{2}:?\d{2})?)?)?)?)?\s*$/m,qn=(new Date).getFullYear()-70;function Wn(e,t){if("string"!=typeof e)return null;var n=e.match(Ln);if(!n)return null;var r=n[1],o=2===r.length;if(o&&(!t||!t.allow_YY))return null;var i=o?(Number(r)+2e3-qn)%100+qn:Number(r),a=i<0,l=n[3],s=Number(l||"1")-1,c=n[5],u=Number(c||1),p=n[7],f=Number(p||0),d=n[9],h=Number(d||0),b=n[11],A=new Date(Date.UTC(2e3,s,u,f,h));if(A.setUTCFullYear(i),A.getUTCMonth()!==s||A.getUTCDate()!==u)return null;var y=b?29:d?16:p?13:c?10:l?7:4;return(a?"-":"")+(A.toISOString().substr(a?3:0,17).replace("T"," ")+(b||"")).substr(0,y)}function Vn(e,t){var n=Wn(e,t&&t.validation);return null!==n?{success:!0,value:n}:jn(e,t)}function Un(e,t){return"string"==typeof e&&null!==Wn(e,t&&t.validation)?{success:!0,value:e.trim()}:jn(e,t)}function Yn(e){return Yn="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},Yn(e)}function Hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(n),!0).forEach(function(t){$n(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $n(e,t,n){return(t=function(e){var t=function(e){if("object"!=Yn(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Yn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gn=function(e,t){var n=function(e,t){var n=t&&t.on_change&&t.on_change.action||it.Xw.Coerce;switch(n){case it.Xw.Coerce:return Kn({action:n},function(e){switch(e.type){case it.$C.Numeric:return Mn;case it.$C.Text:return zn;case it.$C.Datetime:return Vn;case it.$C.Any:default:return yn}}(t)(e,t));case it.Xw.None:return{success:!0,value:e,action:n};case it.Xw.Validate:return Kn({action:n},function(e){switch(e.type){case it.$C.Numeric:return Rn;case it.$C.Text:return Nn;case it.$C.Datetime:return Un;case it.$C.Any:default:return yn}}(t)(e,t))}}(e,t);return n.success?n:function(e,t){var n=t&&t.on_change&&t.on_change.failure||it.vb.Reject;if(e.failure=n,n===it.vb.Default){var r=t&&t.validation&&t.validation.default,o=l.A(r)?null:r;e.success=!0,e.value=o}else n===it.vb.Accept&&(e.success=!0);return e}(n,t)};function Zn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||Xn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Xn(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function Xn(e,t){if(e){if("string"==typeof e)return Jn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jn(e,t):void 0}}function Jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function er(e){return er="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},er(e)}function tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rr(r.key),r)}}function nr(e,t,n){return(t=rr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rr(e){var t=function(e){if("object"!=er(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=er(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==er(t)?t:t+""}var or=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,n=[{key:"toClipboard",value:function(t,n,r,o,i,a){var l=Jt(qe.A("row",n).sort(function(e,t){return e-t})),s=Jt(qe.A("column",n).sort(function(e,t){return e-t})),c=Le(en(l),tn(l)+1,i).map(function(e){return rn(s,rn(qe.A("id",o),e))}),u=an().prototype.stringify(c);if(e.lastLocalCopy=c,a){var p=kt(qe.A("name",o),Ge(r)),f=v.A(function(e){return v.A(function(t){return e[t]},s)},p).concat(c);u=an().prototype.stringify(f),e.lastLocalCopy=f,e.localCopyWithoutHeaders=c}xe.Ay.trace("TableClipboard -- set clipboard data: ",u),un.set(t,u)}},{key:"clearClipboard",value:function(){e.lastLocalCopy=[],e.localCopyWithoutHeaders=[]}},{key:"fromClipboard",value:function(t,n,r,o,i,a){var l=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],s=!(arguments.length>7&&void 0!==arguments[7])||arguments[7],c=arguments.length>8?arguments[8]:void 0,u=un.get(t);if(xe.Ay.trace("TableClipboard -- get clipboard data: ",u),u){var p=an().prototype.stringify(e.lastLocalCopy),f=c?e.localCopyWithoutHeaders:e.lastLocalCopy;return function(e,t,n,r,o,i){var a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],l=!(arguments.length>7&&void 0!==arguments[7])||arguments[7];l||xe.Ay.debug("Clipboard -- Sorting or filtering active, do not create new rows"),a||xe.Ay.debug("Clipboard -- Do not create new columns");var s=pn.A(i),c=r.slice(0),u=o.slice(0);if(a&&e[0].length+t.column>=o.length){for(var p=[],f=function(e){p.push({id:"Column ".concat(e+1),name:"Column ".concat(e+1),type:it.$C.Any,sort_as_null:[]}),s.forEach(function(t){return t["Column ".concat(e)]=""})},d=o.length;d<e[0].length+t.column;d++)f(d);c=fn(hn(tn(o),r)+1,p,c),u=pt(u,p)}var h=n[t.row];if(l&&e.length+h>=i.length){var b={};o.forEach(function(e){return b[e.id]=""}),s=pt(s,An(b,e.length+h-i.length))}var A,y=n.slice(-1)[0]||0,v=n.length,m=Qn(e.entries());try{for(m.s();!(A=m.n()).done;){var g,w=Zn(A.value,2),E=w[0],C=Qn(w[1].entries());try{for(C.s();!(g=C.n()).done;){var S=Zn(g.value,2),x=S[0],O=S[1],B=t.row+E,_=v>B?n[B]:l?y+(B-v+1):void 0;if(void 0!==_){var j=u[t.column+x];if(j&&j.editable){var T=Gn(O,j);T.success&&(s=k(P([_,j.id]),T.value,s))}}}}catch(e){C.e(e)}finally{C.f()}}}catch(e){m.e(e)}finally{m.f()}return{data:s,columns:c}}(p===u?f:e.parse(u),n,r,o,i,a,l,s)}}},{key:"parse",value:function(t){var n,r,o,i,a,l,s=0,c=[[]],u=t.split("\n");for(u.length>1&&""===u[u.length-1]&&u.pop(),c=[],n=0,r=u.length;n<r;n+=1){var p=u[n].split("\t");for(o=0,i=p.length;o<i;o+=1)c[s]||(c[s]=[]),a&&0===o?(l=c[s].length-1,c[s][l]=c[s][l]+"\n"+p[0].replace(/""/g,'"'),a&&1&e.countQuotes(p[0])&&(a=!1,c[s][l]=c[s][l].substring(0,c[s][l].length-1))):o===i-1&&0===p[o].indexOf('"')&&1&e.countQuotes(p[o])?(c[s].push(p[o].substring(1).replace(/""/g,'"')),a=!0):(c[s].push(p[o]),a=!1);a||(s+=1)}return c}},{key:"countQuotes",value:function(e){return e.split('"').length-1}}],null&&tr(t.prototype,null),n&&tr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();nr(or,"lastLocalCopy",[[]]),nr(or,"localCopyWithoutHeaders",[[]]);var ir=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t=t||function(){for(t=e;t&&"td"!==t.nodeName.toLowerCase();)t=t.parentElement;return t}(),e&&t){for(var n=e;"relative"!==getComputedStyle(n).position&&"sticky"!==getComputedStyle(n).position&&n.parentElement;)n=n.parentElement;for(var r=e;"relative"!==getComputedStyle(r).position&&r.parentElement;)r=r.parentElement;var o=n.getBoundingClientRect(),i=r.getBoundingClientRect(),a=t.getBoundingClientRect(),l=a.left-o.left+n.scrollLeft,s=a.top-o.top+n.scrollTop+a.height;e.style.width="".concat(a.width,"px"),e.style.top="".concat(s,"px"),e.style.left="".concat(l,"px"),e.style.position="absolute",a.top+a.height/2>i.bottom||a.top-a.height/2<i.top||a.left<i.left||a.left+.25*a.width>i.left+i.width?e.style.display="none":e.style.display="block"}},ar=function(e,t,n){return"last"===n?e===t:"first"===n?0===e:"boolean"==typeof n?n:!!n&&n[e]},lr=(0,i.A)(function(e,t){for(var n=Math.min(e.length,t.length),r=Array(n),o=0;o<n;)r[o]=[e[o],t[o]],o+=1;return r}),sr=(0,h.ty)(function(e,t,n){var r=function(e,t){return v.A(function(n){return e.map(function(e){return l.A(e.name)&&n===t-1?e.id:function(e,t){return Array.isArray(e.name)?e.name[t]:e.name}(e,n)})},Ye.A(0,t))}(t,Ge(e)),o=function(e,t,n){return v.A(function(t){if(n){var r=[0],o=0;return t.forEach(function(e,n){e!==t[o]&&(r.push(n),o=n)}),r}return Ye.A(0,e.length)},t)}(t,r,n);return lr(r,o)});function cr(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=e[r].slice(0);return n}function ur(e,t,n){for(var r=e.length,o=t.length,i=0;i<r;++i)for(var a=0;a<o;++a)n(e[i],t[a],i,a)}function pr(e,t,n){for(var r=e.length,o=t.length,i=new Array(r),a=0;a<r;++a){for(var l=new Array(o),s=0;s<o;++s)l[s]=n(e[a],t[s],a,s);i[a]=l}return i}function fr(e,t,n){for(var r=e.length,o=new Array(r),i=0;i<r;++i){for(var a=e[i].length,l=new Array(a),s=0;s<a;++s)l[s]=n(e[i][s],t?t[i][s]:void 0,i,s);o[i]=l}return o}function dr(e,t,n,r){for(var o=e.length,i=new Array(o),a=0;a<o;++a){for(var l=e[a].length,s=new Array(l),c=0;c<l;++c)s[c]=r(e[a][c],t?t[a][c]:void 0,n?n[a][c]:void 0,a,c);i[a]=s}return i}function hr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n.slice(0,-1);return Tt(function(e,t){return e.get(t)||e.set(t,new Map).get(t)},e,o)}var br=function(){return function(e){var t=new Map;return{get:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r.slice(-1)[0],a=hr.apply(void 0,[t].concat(r));return a.get(i)||a.set(i,(0,h.B4)(e)).get(i)}}}};function Ar(e){return Ar="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},Ar(e)}function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vr(e,t,n){return(t=gr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gr(r.key),r)}}function gr(e){var t=function(e){if("object"!=Ar(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ar(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ar(t)?t:t+""}function wr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wr=function(){return!!e})()}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Er(e)}function Cr(e,t){return Cr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cr(e,t)}var Sr,kr=/^children$/,xr=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=Er(t),function(e,t){if(t&&("object"==Ar(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wr()?Reflect.construct(t,n||[],Er(e).constructor):t.apply(e,n))}(this,t,[e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cr(e,t)}(t,e),n=t,r=[{key:"propsWithDefaults",get:function(){return this.props}},{key:"render",value:function(){var e=this.propsWithDefaults,t=e.attributes,n=e.className,r=e.onClick,i=e.onDoubleClick,a=e.onMouseEnter,l=e.onMouseLeave,s=e.onMouseMove,c=e.style;return o().createElement("td",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yr(Object(n),!0).forEach(function(t){vr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({children:this.props.children,tabIndex:-1,className:n,onClick:r,onDoubleClick:i,onMouseEnter:a,onMouseLeave:l,onMouseMove:s,onMouseOver:s,style:c},t))}},{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=this.getChildProps(t),r=this.getChildProps(e);return ke(function(n){return!kr.test(n)&&t[n]!==e[n]},d(t))||ke(function(e){return n[e]!==r[e]},d(n))}},{key:"getChildProps",value:function(e){return e&&e.children&&e.children[0]&&e.children[0].props}}],r&&mr(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Component),Or=function(e,t,n){return!!e&&e.row===t&&e.column===n},Br=function(e,t,n,r){var o=e(),i=o.cell_selectable,a=o.selected_cells,l=o.active_cell,s=o.setProps,c=o.viewport,u=o.virtualized,p=o.visibleColumns,f=n+u.offset.columns,d=zt(t,f,p,c);if((!l||t!==l.row||f!==l.column)&&(p[f].presentation!==it.Jm.Markdown&&r.preventDefault(),i)){var h=window.getSelection();h&&h.removeAllRanges();var b=function(e,t,n){return ke(function(e){return e.row===t&&e.column===n},e)}(a,t,f);if(!b||r.shiftKey){var A={is_focused:!1,end_cell:d};r.shiftKey&&l?A.selected_cells=Nt({minRow:Z(t,l.row),maxRow:G(t,l.row),minCol:Z(f,l.column),maxCol:G(f,l.column)},p,c):(A.active_cell=d,A.start_cell=d,A.selected_cells=[d]),s(A)}else s({is_focused:!1,active_cell:d})}},_r=function(e,t,n,r){var o=e(),i=o.is_focused,a=o.setProps,l=o.viewport,s=o.virtualized,c=o.visibleColumns;if(c[n].editable){var u=zt(t,n+s.offset.columns,c,l);i||(r.preventDefault(),a({selected_cells:[u],active_cell:u,start_cell:u,end_cell:u,is_focused:!0}))}},jr=function(e,t,n,r){var o=e(),i=o.data,a=o.setProps,l=o.virtualized,s=o.visibleColumns[n],c=l.indices[t-l.offset.rows];if(s.editable){var u=Gn(r,s);u.success&&a({data:k(P([c,s.id]),u.value,i)})}},Pr=function(e,t,n){var r=e(),o=r.setState,i=r.virtualized;o({currentTooltip:{header:!1,id:r.visibleColumns[n].id,row:i.indices[t-i.offset.rows]}})},Tr=function(e,t,n){var r=e();(0,r.setState)({currentTooltip:{header:!0,id:r.visibleColumns[n].id,row:t}})},Dr=function(e,t,n){(0,e().setState)({currentTooltip:void 0})},Ir=function(e,t,n){var r=e(),o=r.currentTooltip,i=r.setState,a=r.virtualized,l=r.visibleColumns[n],s=a.indices[t-a.offset.rows];o&&o.id===l.id&&o.row===s&&!o.header||i({currentTooltip:{header:!1,id:l.id,row:s}})},Fr=function(e,t,n){var r=e(),o=r.currentTooltip,i=r.setState,a=r.visibleColumns[n];o&&o.id===a.id&&o.row===t&&o.header||i({currentTooltip:{header:!0,id:a.id,row:t}})},Mr=function(e,t,n,r){var o=e(),i=o.active_cell,a=o.is_focused,l=Or(i,t,n);if(!a&&l){r.preventDefault();var s=r.target;s.setSelectionRange(0,s.value?s.value.length:0)}},Rr=function(e,t,n,r){r.preventDefault()};function zr(e){return zr="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},zr(e)}function Nr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Wr(r.key),r)}}function Lr(e,t,n){return t&&Nr(e.prototype,t),n&&Nr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function qr(e,t,n){return(t=Wr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e){var t=function(e){if("object"!=zr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=zr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zr(t)?t:t+""}!function(e){e.Change="change",e.Click="click",e.DoubleClick="doubleclick",e.Enter="enter",e.EnterHeader="enterheader",e.Leave="leave",e.Move="move",e.MoveHeader="moveheader",e.MouseUp="mouseup",e.Paste="paste"}(Sr||(Sr={}));var Vr=function(e){return new Ur(e).get},Ur=Lr(function e(t){var n,r,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),qr(this,"propsFn",void 0),qr(this,"cache",(n=function(e,t,n){switch(e){case Sr.Change:return jr.bind(void 0,o.propsFn,t,n);case Sr.Click:return Br.bind(void 0,o.propsFn,t,n);case Sr.DoubleClick:return _r.bind(void 0,o.propsFn,t,n);case Sr.Enter:return Pr.bind(void 0,o.propsFn,t,n);case Sr.EnterHeader:return Tr.bind(void 0,o.propsFn,t,n);case Sr.Leave:return Dr.bind(void 0,o.propsFn,t,n);case Sr.Move:return Ir.bind(void 0,o.propsFn,t,n);case Sr.MoveHeader:return Fr.bind(void 0,o.propsFn,t,n);case Sr.MouseUp:return Mr.bind(void 0,o.propsFn,t,n);case Sr.Paste:return Rr.bind(void 0,o.propsFn,t,n);default:throw new Error("unexpected handler ".concat(e))}},r=new Map,{get:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var i=t.slice(-1)[0],a=hr.apply(void 0,[r].concat(t));return a.has(i)?a.get(i):a.set(i,n.apply(void 0,t)).get(i)}})),qr(this,"get",function(e,t,n){return o.cache.get(e,t,n)}),this.propsFn=t});function Yr(e){return Yr="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},Yr(e)}function Hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$r(r.key),r)}}function Kr(e,t,n){return(t=$r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $r(e){var t=function(e){if("object"!=Yr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Yr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yr(t)?t:t+""}var Gr=function(){return e=function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vr(t);!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Kr(this,"handlers",void 0),Kr(this,"partialGet",(0,h.B4)(function(e,t,r){return t.map(function(t,o){return e.map(function(e,t){return n.getWrapper(!1,!1,o+r.rows,t,e)},e)})})),Kr(this,"get",(0,h.B4)(function(e,t,n,r){return e=cr(e),(r.length?r:n?[n]:[]).forEach(function(r){var i=r.row,a=r.column;if(i-=t.rows,a-=t.columns,!(i<0||a<0||e.length<=i||e[i].length<=a)){var l=e[i][a],s=Or(n,i+t.rows,a+t.columns);e[i][a]=o().cloneElement(l,{className:l.props.className+" cell--selected"+(s?" focused":"")})}}),e})),Kr(this,"wrapper",br()(function(e,t,n,r,i,a,l,s,c,u){return o().createElement(xr,{active:e,attributes:{"data-dash-column":r,"data-dash-row":i},className:t,key:"column-".concat(n),onClick:c,onDoubleClick:u,onMouseEnter:a,onMouseLeave:l,onMouseMove:s})})),this.handlers=r},t=[{key:"getWrapper",value:function(e,t,n,r,o){var i=o.presentation===it.Jm.Dropdown,a="dash-cell"+" column-".concat(r)+(e?" focused":"")+(t?" cell--selected":"")+(i?" dropdown":"");return this.wrapper.get(n,r)(e,a,r,o.id,n,this.handlers(Sr.Enter,n,r),this.handlers(Sr.Leave,n,r),this.handlers(Sr.Move,n,r),this.handlers(Sr.Click,n,r),this.handlers(Sr.DoubleClick,n,r))}}],t&&Hr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function Zr(e){return Zr="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},Zr(e)}function Qr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,no(r.key),r)}}function Xr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xr=function(){return!!e})()}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jr(e)}function eo(e,t){return eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},eo(e,t)}function to(e,t,n){return(t=no(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function no(e){var t=function(e){if("object"!=Zr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Zr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zr(t)?t:t+""}var ro=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),to(n=function(e,t,n){return t=Jr(t),function(e,t){if(t&&("object"==Zr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Xr()?Reflect.construct(t,n||[],Jr(e).constructor):t.apply(e,n))}(this,t,[e]),"textInputRef",void 0),to(n,"propagateChange",function(){n.state.value!==n.props.value&&(0,n.props.onChange)(n.state.value)}),to(n,"handleChange",function(e){n.setState({value:e.target.value})}),to(n,"handleKeyDown",function(e){var t=n.props.focused;t&&e.keyCode!==Fe.TAB&&e.keyCode!==Fe.ENTER||(t||ze(e.keyCode))&&n.propagateChange()}),n.state={value:e.value},n.textInputRef=(0,r.createRef)(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eo(e,t)}(t,e),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.onMouseUp,r=e.onPaste,i=e.value,a=null===this.state.value?void 0:this.state.value;return o().createElement("div",{className:"dash-input-cell-value-container dash-cell-value-container"},o().createElement("div",{className:"input-cell-value-shadow cell-value-shadow"},i),o().createElement("input",{ref:this.textInputRef,type:"text",className:t,onBlur:this.propagateChange,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onMouseUp:n,onPaste:r,value:a}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.value;this.state.value!==t&&this.setState({value:t})}},{key:"componentDidUpdate",value:function(){this.setFocus()}},{key:"componentDidMount",value:function(){this.setFocus()}},{key:"setFocus",value:function(){var e=this.props,t=e.active,n=e.applyFocus;if(t){var r=this.textInputRef.current;n&&r&&document.activeElement!==r&&(r.focus(),r.setSelectionRange(0,r.value?r.value.length:0))}}}])&&Qr(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(r.PureComponent);function oo(e){return oo="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},oo(e)}function io(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,co(r.key),r)}}function ao(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ao=function(){return!!e})()}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lo(e)}function so(e,t){return so=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},so(e,t)}function co(e){var t=function(e){if("object"!=oo(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=oo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oo(t)?t:t+""}var uo=function(e){function t(e){var n,o,i,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t,n){return t=lo(t),function(e,t){if(t&&("object"==oo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ao()?Reflect.construct(t,n||[],lo(e).constructor):t.apply(e,n))}(this,t,[e]),o=n,a=void 0,(i=co(i="elRef"))in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,n.elRef=(0,r.createRef)(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&so(e,t)}(t,e),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.value;return o().createElement("div",{ref:this.elRef,className:t,tabIndex:-1},"boolean"==typeof n?n.toString():n)}},{key:"componentDidUpdate",value:function(){this.setFocus()}},{key:"componentDidMount",value:function(){this.setFocus()}},{key:"setFocus",value:function(){var e=this.props,t=e.active,n=e.applyFocus;if(t){var r,o=this.elRef.current;n&&o&&document.activeElement!==o&&(null===(r=window.getSelection())||void 0===r||r.selectAllChildren(o),o.focus())}}}])&&io(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(r.PureComponent),po=n(9132),fo=n(6942),ho=n.n(fo),bo=n(6120),Ao=n.n(bo),yo=n(5795),vo=function(e){var t=e.onMouseDown;return o().createElement("span",{className:"Select-arrow",onMouseDown:t})};vo.propTypes={onMouseDown:Ao().func};var mo=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],go=function(e){for(var t=0;t<mo.length;t++)e=e.replace(mo[t].letters,mo[t].base);return e},wo=function(e){return null!=e&&""!==e},Eo=function(e,t,n,r){return r.ignoreAccents&&(t=go(t)),r.ignoreCase&&(t=t.toLowerCase()),r.trimFilter&&(t=t.replace(/^\s+|\s+$/g,"")),n&&(n=n.map(function(e){return e[r.valueKey]})),e.filter(function(e){if(n&&n.indexOf(e[r.valueKey])>-1)return!1;if(r.filterOption)return r.filterOption.call(void 0,e,t);if(!t)return!0;var o=e[r.valueKey],i=e[r.labelKey],a=wo(o),l=wo(i);if(!a&&!l)return!1;var s=a?String(o):null,c=l?String(i):null;return r.ignoreAccents&&(s&&"label"!==r.matchProp&&(s=go(s)),c&&"value"!==r.matchProp&&(c=go(c))),r.ignoreCase&&(s&&"label"!==r.matchProp&&(s=s.toLowerCase()),c&&"value"!==r.matchProp&&(c=c.toLowerCase())),"start"===r.matchPos?s&&"label"!==r.matchProp&&s.substr(0,t.length)===t||c&&"value"!==r.matchProp&&c.substr(0,t.length)===t:s&&"label"!==r.matchProp&&s.indexOf(t)>=0||c&&"value"!==r.matchProp&&c.indexOf(t)>=0})},Co=function(e){var t=e.focusedOption,n=e.focusOption,r=e.inputValue,i=e.instancePrefix,a=e.onFocus,l=e.onOptionRef,s=e.onSelect,c=e.optionClassName,u=e.optionComponent,p=e.optionRenderer,f=e.options,d=e.removeValue,h=e.selectValue,b=e.valueArray,A=e.valueKey,y=u;return f.map(function(e,u){var f=b&&b.some(function(t){return t[A]===e[A]}),v=e===t,m=ho()(c,{"Select-option":!0,"is-selected":f,"is-focused":v,"is-disabled":e.disabled});return o().createElement(y,{className:m,focusOption:n,inputValue:r,instancePrefix:i,isDisabled:e.disabled,isFocused:v,isSelected:f,key:"option-"+u+"-"+e[A],onFocus:a,onSelect:s,option:e,optionIndex:u,ref:function(e){l(e,v)},removeValue:d,selectValue:h},p(e,u,r))})};Co.propTypes={focusOption:Ao().func,focusedOption:Ao().object,inputValue:Ao().string,instancePrefix:Ao().string,onFocus:Ao().func,onOptionRef:Ao().func,onSelect:Ao().func,optionClassName:Ao().string,optionComponent:Ao().func,optionRenderer:Ao().func,options:Ao().array,removeValue:Ao().func,selectValue:Ao().func,valueArray:Ao().array,valueKey:Ao().string};var So=function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)},ko="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},xo=(function(){function e(e){this.value=e}function t(t){var n,r;function o(n,r){try{var a=t[n](r),l=a.value;l instanceof e?Promise.resolve(l.value).then(function(e){o("next",e)},function(e){o("throw",e)}):i(a.done?"return":"normal",a.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":n.resolve({value:t,done:!0});break;case"throw":n.reject(t);break;default:n.resolve({value:t,done:!1})}(n=n.next)?o(n.key,n.arg):r=null}this._invoke=function(e,t){return new Promise(function(i,a){var l={key:e,arg:t,resolve:i,reject:a,next:null};r?r=r.next=l:(n=r=l,o(e,t))})},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),Oo=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Bo=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},_o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jo=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)},Po=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},To=function(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},Do=function(e){function t(e){xo(this,t);var n=To(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.handleMouseEnter=n.handleMouseEnter.bind(n),n.handleMouseMove=n.handleMouseMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.onFocus=n.onFocus.bind(n),n}return jo(t,e),Oo(t,[{key:"handleMouseDown",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)}},{key:"handleMouseEnter",value:function(e){this.onFocus(e)}},{key:"handleMouseMove",value:function(e){this.onFocus(e)}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"onFocus",value:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)}},{key:"render",value:function(){var e=this.props,t=e.option,n=e.instancePrefix,r=e.optionIndex,i=ho()(this.props.className,t.className);return t.disabled?o().createElement("div",{className:i,onMouseDown:So,onClick:So},this.props.children):o().createElement("div",{className:i,style:t.style,role:"option","aria-label":t.label,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+r,title:t.title},this.props.children)}}]),t}(o().Component);Do.propTypes={children:Ao().node,className:Ao().string,instancePrefix:Ao().string.isRequired,isDisabled:Ao().bool,isFocused:Ao().bool,isSelected:Ao().bool,onFocus:Ao().func,onSelect:Ao().func,onUnfocus:Ao().func,option:Ao().object.isRequired,optionIndex:Ao().number};var Io=function(e){function t(e){xo(this,t);var n=To(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.onRemove=n.onRemove.bind(n),n.handleTouchEndRemove=n.handleTouchEndRemove.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n}return jo(t,e),Oo(t,[{key:"handleMouseDown",value:function(e){if("mousedown"!==e.type||0===e.button)return this.props.onClick?(e.stopPropagation(),void this.props.onClick(this.props.value,e)):void(this.props.value.href&&e.stopPropagation())}},{key:"onRemove",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onRemove(this.props.value)}},{key:"handleTouchEndRemove",value:function(e){this.dragging||this.onRemove(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"renderRemoveIcon",value:function(){if(!this.props.disabled&&this.props.onRemove)return o().createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"×")}},{key:"renderLabel",value:function(){var e="Select-value-label";return this.props.onClick||this.props.value.href?o().createElement("a",{className:e,href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):o().createElement("span",{className:e,role:"option","aria-selected":"true",id:this.props.id},this.props.children)}},{key:"render",value:function(){return o().createElement("div",{className:ho()("Select-value",this.props.value.disabled?"Select-value-disabled":"",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}}]),t}(o().Component);Io.propTypes={children:Ao().node,disabled:Ao().bool,id:Ao().string,onClick:Ao().func,onRemove:Ao().func,value:Ao().object.isRequired};var Fo=function(e){return"string"==typeof e?e:null!==e&&JSON.stringify(e)||""},Mo=Ao().oneOfType([Ao().string,Ao().node]),Ro=Ao().oneOfType([Ao().string,Ao().number]),zo=1,No=function(e,t){var n=void 0===e?"undefined":ko(e);if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var r=t.options,o=t.valueKey;if(r)for(var i=0;i<r.length;i++)if(String(r[i][o])===String(e))return r[i]},Lo=function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)},qo=function(e){function t(e){xo(this,t);var n=To(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return["clearValue","focusOption","getOptionLabel","handleInputBlur","handleInputChange","handleInputFocus","handleInputValueChange","handleKeyDown","handleMenuScroll","handleMouseDown","handleMouseDownOnArrow","handleMouseDownOnMenu","handleTouchEnd","handleTouchEndClearValue","handleTouchMove","handleTouchOutside","handleTouchStart","handleValueClick","onOptionRef","removeValue","selectValue"].forEach(function(e){return n[e]=n[e].bind(n)}),n.state={inputValue:"",isFocused:!1,isOpen:!1,isPseudoFocused:!1,required:!1},n}return jo(t,e),Oo(t,[{key:"componentWillMount",value:function(){this._instancePrefix="react-select-"+(this.props.instanceId||++zo)+"-";var e=this.getValueArray(this.props.value);this.props.required&&this.setState({required:Lo(e[0],this.props.multi)})}},{key:"componentDidMount",value:function(){void 0!==this.props.autofocus&&"undefined"!=typeof console&&console.warn("Warning: The autofocus prop has changed to autoFocus, support will be removed after react-select@1.0"),(this.props.autoFocus||this.props.autofocus)&&this.focus()}},{key:"componentWillReceiveProps",value:function(e){var t=this.getValueArray(e.value,e);e.required?this.setState({required:Lo(t[0],e.multi)}):this.props.required&&this.setState({required:!1}),this.state.inputValue&&this.props.value!==e.value&&e.onSelectResetsInput&&this.setState({inputValue:this.handleInputValueChange("")})}},{key:"componentDidUpdate",value:function(e,t){if(this.menu&&this.focused&&this.state.isOpen&&!this.hasScrolledToOption){var n=(0,yo.findDOMNode)(this.focused),r=(0,yo.findDOMNode)(this.menu),o=r.scrollTop,i=o+r.offsetHeight,a=n.offsetTop,l=a+n.offsetHeight;(o>a||i<l)&&(r.scrollTop=n.offsetTop),this.hasScrolledToOption=!0}else this.state.isOpen||(this.hasScrolledToOption=!1);if(this._scrollToFocusedOptionOnUpdate&&this.focused&&this.menu){this._scrollToFocusedOptionOnUpdate=!1;var s=(0,yo.findDOMNode)(this.focused),c=(0,yo.findDOMNode)(this.menu),u=s.getBoundingClientRect(),p=c.getBoundingClientRect();u.bottom>p.bottom?c.scrollTop=s.offsetTop+s.clientHeight-c.offsetHeight:u.top<p.top&&(c.scrollTop=s.offsetTop)}if(this.props.scrollMenuIntoView&&this.menuContainer){var f=this.menuContainer.getBoundingClientRect();window.innerHeight<f.bottom+this.props.menuBuffer&&window.scrollBy(0,f.bottom+this.props.menuBuffer-window.innerHeight)}if(e.disabled!==this.props.disabled&&(this.setState({isFocused:!1}),this.closeMenu()),t.isOpen!==this.state.isOpen){this.toggleTouchOutsideEvent(this.state.isOpen);var d=this.state.isOpen?this.props.onOpen:this.props.onClose;d&&d()}}},{key:"componentWillUnmount",value:function(){this.toggleTouchOutsideEvent(!1)}},{key:"toggleTouchOutsideEvent",value:function(e){var t=e?document.addEventListener?"addEventListener":"attachEvent":document.removeEventListener?"removeEventListener":"detachEvent",n=document.addEventListener?"":"on";document[t](n+"touchstart",this.handleTouchOutside),document[t](n+"mousedown",this.handleTouchOutside)}},{key:"handleTouchOutside",value:function(e){this.wrapper&&!this.wrapper.contains(e.target)&&this.closeMenu()}},{key:"focus",value:function(){this.input&&this.input.focus()}},{key:"blurInput",value:function(){this.input&&this.input.blur()}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchEndClearValue",value:function(e){this.dragging||this.clearValue(e)}},{key:"handleMouseDown",value:function(e){if(!(this.props.disabled||"mousedown"===e.type&&0!==e.button))if("INPUT"!==e.target.tagName){if(e.preventDefault(),!this.props.searchable)return this.focus(),this.setState({isOpen:!this.state.isOpen,focusedOption:null});if(this.state.isFocused){this.focus();var t=this.input,n=!0;"function"==typeof t.getInput&&(t=t.getInput()),t.value="",this._focusAfterClear&&(n=!1,this._focusAfterClear=!1),this.setState({isOpen:n,isPseudoFocused:!1,focusedOption:null})}else this._openAfterFocus=this.props.openOnClick,this.focus(),this.setState({focusedOption:null})}else this.state.isFocused?this.state.isOpen||this.setState({isOpen:!0,isPseudoFocused:!1,focusedOption:null}):(this._openAfterFocus=this.props.openOnClick,this.focus())}},{key:"handleMouseDownOnArrow",value:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||(this.state.isOpen?(e.stopPropagation(),e.preventDefault(),this.closeMenu()):this.setState({isOpen:!0}))}},{key:"handleMouseDownOnMenu",value:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this._openAfterFocus=!0,this.focus())}},{key:"closeMenu",value:function(){this.props.onCloseResetsInput?this.setState({inputValue:this.handleInputValueChange(""),isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi}):this.setState({isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi}),this.hasScrolledToOption=!1}},{key:"handleInputFocus",value:function(e){if(!this.props.disabled){var t=this.state.isOpen||this._openAfterFocus||this.props.openOnFocus;t=!this._focusAfterClear&&t,this.props.onFocus&&this.props.onFocus(e),this.setState({isFocused:!0,isOpen:!!t}),this._focusAfterClear=!1,this._openAfterFocus=!1}}},{key:"handleInputBlur",value:function(e){if(!this.menu||this.menu!==document.activeElement&&!this.menu.contains(document.activeElement)){this.props.onBlur&&this.props.onBlur(e);var t={isFocused:!1,isOpen:!1,isPseudoFocused:!1};this.props.onBlurResetsInput&&(t.inputValue=this.handleInputValueChange("")),this.setState(t)}else this.focus()}},{key:"handleInputChange",value:function(e){var t=e.target.value;this.state.inputValue!==e.target.value&&(t=this.handleInputValueChange(t)),this.setState({inputValue:t,isOpen:!0,isPseudoFocused:!1})}},{key:"setInputValue",value:function(e){if(this.props.onInputChange){var t=this.props.onInputChange(e);null!=t&&"object"!==(void 0===t?"undefined":ko(t))&&(e=""+t)}this.setState({inputValue:e})}},{key:"handleInputValueChange",value:function(e){if(this.props.onInputChange){var t=this.props.onInputChange(e);null!=t&&"object"!==(void 0===t?"undefined":ko(t))&&(e=""+t)}return e}},{key:"handleKeyDown",value:function(e){if(!(this.props.disabled||"function"==typeof this.props.onInputKeyDown&&(this.props.onInputKeyDown(e),e.defaultPrevented)))switch(e.keyCode){case 8:!this.state.inputValue&&this.props.backspaceRemoves&&(e.preventDefault(),this.popValue());break;case 9:if(e.shiftKey||!this.state.isOpen||!this.props.tabSelectsValue)break;e.preventDefault(),this.selectFocusedOption();break;case 13:e.preventDefault(),e.stopPropagation(),this.state.isOpen?this.selectFocusedOption():this.focusNextOption();break;case 27:e.preventDefault(),this.state.isOpen?(this.closeMenu(),e.stopPropagation()):this.props.clearable&&this.props.escapeClearsValue&&(this.clearValue(e),e.stopPropagation());break;case 32:if(this.props.searchable)break;if(e.preventDefault(),!this.state.isOpen){this.focusNextOption();break}e.stopPropagation(),this.selectFocusedOption();break;case 38:e.preventDefault(),this.focusPreviousOption();break;case 40:e.preventDefault(),this.focusNextOption();break;case 33:e.preventDefault(),this.focusPageUpOption();break;case 34:e.preventDefault(),this.focusPageDownOption();break;case 35:if(e.shiftKey)break;e.preventDefault(),this.focusEndOption();break;case 36:if(e.shiftKey)break;e.preventDefault(),this.focusStartOption();break;case 46:!this.state.inputValue&&this.props.deleteRemoves&&(e.preventDefault(),this.popValue())}}},{key:"handleValueClick",value:function(e,t){this.props.onValueClick&&this.props.onValueClick(e,t)}},{key:"handleMenuScroll",value:function(e){if(this.props.onMenuScrollToBottom){var t=e.target;t.scrollHeight>t.offsetHeight&&t.scrollHeight-t.offsetHeight-t.scrollTop<=0&&this.props.onMenuScrollToBottom()}}},{key:"getOptionLabel",value:function(e){return e[this.props.labelKey]}},{key:"getValueArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n="object"===(void 0===t?"undefined":ko(t))?t:this.props;if(n.multi){if("string"==typeof e&&(e=e.split(n.delimiter)),!Array.isArray(e)){if(null==e)return[];e=[e]}return e.map(function(e){return No(e,n)}).filter(function(e){return e})}var r=No(e,n);return r?[r]:[]}},{key:"setValue",value:function(e){var t=this;if(this.props.autoBlur&&this.blurInput(),this.props.required){var n=Lo(e,this.props.multi);this.setState({required:n})}this.props.simpleValue&&e&&(e=this.props.multi?e.map(function(e){return e[t.props.valueKey]}).join(this.props.delimiter):e[this.props.valueKey]),this.props.onChange&&this.props.onChange(e)}},{key:"selectValue",value:function(e){var t=this;this.props.closeOnSelect&&(this.hasScrolledToOption=!1);var n=this.props.onSelectResetsInput?"":this.state.inputValue;this.props.multi?this.setState({focusedIndex:null,inputValue:this.handleInputValueChange(n),isOpen:!this.props.closeOnSelect},function(){t.getValueArray(t.props.value).some(function(n){return n[t.props.valueKey]===e[t.props.valueKey]})?t.removeValue(e):t.addValue(e)}):this.setState({inputValue:this.handleInputValueChange(n),isOpen:!this.props.closeOnSelect,isPseudoFocused:this.state.isFocused},function(){t.setValue(e)})}},{key:"addValue",value:function(e){var t=this.getValueArray(this.props.value),n=this._visibleOptions.filter(function(e){return!e.disabled}),r=n.indexOf(e);this.setValue(t.concat(e)),this.props.closeOnSelect&&(n.length-1===r?this.focusOption(n[r-1]):n.length>r&&this.focusOption(n[r+1]))}},{key:"popValue",value:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(this.props.multi?e.slice(0,e.length-1):null)}},{key:"removeValue",value:function(e){var t=this,n=this.getValueArray(this.props.value);this.setValue(n.filter(function(n){return n[t.props.valueKey]!==e[t.props.valueKey]})),this.focus()}},{key:"clearValue",value:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.preventDefault(),this.setValue(this.getResetValue()),this.setState({inputValue:this.handleInputValueChange(""),isOpen:!1},this.focus),this._focusAfterClear=!0)}},{key:"getResetValue",value:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null}},{key:"focusOption",value:function(e){this.setState({focusedOption:e})}},{key:"focusNextOption",value:function(){this.focusAdjacentOption("next")}},{key:"focusPreviousOption",value:function(){this.focusAdjacentOption("previous")}},{key:"focusPageUpOption",value:function(){this.focusAdjacentOption("page_up")}},{key:"focusPageDownOption",value:function(){this.focusAdjacentOption("page_down")}},{key:"focusStartOption",value:function(){this.focusAdjacentOption("start")}},{key:"focusEndOption",value:function(){this.focusAdjacentOption("end")}},{key:"focusAdjacentOption",value:function(e){var t=this._visibleOptions.map(function(e,t){return{option:e,index:t}}).filter(function(e){return!e.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen){var n={focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null),isOpen:!0};return this.props.onSelectResetsInput&&(n.inputValue=""),void this.setState(n)}if(t.length){for(var r=-1,o=0;o<t.length;o++)if(this._focusedOption===t[o].option){r=o;break}if("next"===e&&-1!==r)r=(r+1)%t.length;else if("previous"===e)r>0?r-=1:r=t.length-1;else if("start"===e)r=0;else if("end"===e)r=t.length-1;else if("page_up"===e){var i=r-this.props.pageSize;r=i<0?0:i}else if("page_down"===e){var a=r+this.props.pageSize;r=a>t.length-1?t.length-1:a}-1===r&&(r=0),this.setState({focusedIndex:t[r].index,focusedOption:t[r].option})}}},{key:"getFocusedOption",value:function(){return this._focusedOption}},{key:"selectFocusedOption",value:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)}},{key:"renderLoading",value:function(){if(this.props.isLoading)return o().createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},o().createElement("span",{className:"Select-loading"}))}},{key:"renderValue",value:function(e,t){var n=this,r=this.props.valueRenderer||this.getOptionLabel,i=this.props.valueComponent;if(!e.length){var a=function(e,t,n){var r=e.inputValue,o=e.isPseudoFocused,i=e.isFocused,a=t.onSelectResetsInput;return!r||!a&&!n&&!o&&!i}(this.state,this.props,t);return a?o().createElement("div",{className:"Select-placeholder"},this.props.placeholder):null}var l=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map(function(t,a){return o().createElement(i,{disabled:n.props.disabled||!1===t.clearableValue,id:n._instancePrefix+"-value-"+a,instancePrefix:n._instancePrefix,key:"value-"+a+"-"+t[n.props.valueKey],onClick:l,onRemove:n.removeValue,placeholder:n.props.placeholder,value:t,values:e},r(t,a),o().createElement("span",{className:"Select-aria-only"}," "))}):function(e,t){var n=e.inputValue,r=e.isPseudoFocused,o=e.isFocused,i=t.onSelectResetsInput;return!n||!i&&!(!o&&r||o&&!r)}(this.state,this.props)?(t&&(l=null),o().createElement(i,{disabled:this.props.disabled,id:this._instancePrefix+"-value-item",instancePrefix:this._instancePrefix,onClick:l,placeholder:this.props.placeholder,value:e[0]},r(e[0]))):void 0}},{key:"renderInput",value:function(e,t){var n,r=this,i=ho()("Select-input",this.props.inputProps.className),a=this.state.isOpen,l=ho()((Bo(n={},this._instancePrefix+"-list",a),Bo(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),s=this.state.inputValue;!s||this.props.onSelectResetsInput||this.state.isFocused||(s="");var c=_o({},this.props.inputProps,{"aria-activedescendant":a?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-expanded":""+a,"aria-haspopup":""+a,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-owns":l,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},role:"combobox",required:this.state.required,tabIndex:this.props.tabIndex,value:s});if(this.props.inputRenderer)return this.props.inputRenderer(c);if(this.props.disabled||!this.props.searchable){var u=Po(this.props.inputProps,[]),p=ho()(Bo({},this._instancePrefix+"-list",a));return o().createElement("div",_o({},u,{"aria-expanded":a,"aria-owns":p,"aria-activedescendant":a?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-disabled":""+this.props.disabled,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],className:i,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},role:"combobox",style:{border:0,width:1,display:"inline-block"},tabIndex:this.props.tabIndex||0}))}return this.props.autosize?o().createElement(po.A,_o({id:this.props.id},c,{className:i,minWidth:"5"})):o().createElement("div",{className:i,key:"input-wrap",style:{display:"inline-block"}},o().createElement("input",_o({id:this.props.id},c)))}},{key:"renderClear",value:function(){var e=this.getValueArray(this.props.value);if(this.props.clearable&&e.length&&!this.props.disabled&&!this.props.isLoading){var t=this.props.multi?this.props.clearAllText:this.props.clearValueText,n=this.props.clearRenderer();return o().createElement("span",{"aria-label":t,className:"Select-clear-zone",onMouseDown:this.clearValue,onTouchEnd:this.handleTouchEndClearValue,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,title:t},n)}}},{key:"renderArrow",value:function(){if(this.props.arrowRenderer){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return n?o().createElement("span",{className:"Select-arrow-zone",onMouseDown:e},n):null}}},{key:"filterOptions",value:function(e){var t=this.state.inputValue,n=this.props.options||[];return this.props.filterOptions?("function"==typeof this.props.filterOptions?this.props.filterOptions:Eo)(n,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,trimFilter:this.props.trimFilter,valueKey:this.props.valueKey}):n}},{key:"onOptionRef",value:function(e,t){t&&(this.focused=e)}},{key:"renderMenu",value:function(e,t,n){return e&&e.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,inputValue:this.state.inputValue,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onOptionRef:this.onOptionRef,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,removeValue:this.removeValue,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey}):this.props.noResultsText?o().createElement("div",{className:"Select-noresults"},this.props.noResultsText):null}},{key:"renderHiddenField",value:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var n=e.map(function(e){return Fo(e[t.props.valueKey])}).join(this.props.delimiter);return o().createElement("input",{disabled:this.props.disabled,name:this.props.name,ref:function(e){return t.value=e},type:"hidden",value:n})}return e.map(function(e,n){return o().createElement("input",{disabled:t.props.disabled,key:"hidden."+n,name:t.props.name,ref:"value"+n,type:"hidden",value:Fo(e[t.props.valueKey])})})}}},{key:"getFocusableOptionIndex",value:function(e){var t=this._visibleOptions;if(!t.length)return null;var n=this.props.valueKey,r=this.state.focusedOption||e;if(r&&!r.disabled){var o=-1;if(t.some(function(e,t){var i=e[n]===r[n];return i&&(o=t),i}),-1!==o)return o}for(var i=0;i<t.length;i++)if(!t[i].disabled)return i;return null}},{key:"renderOuter",value:function(e,t,n){var r=this,i=this.renderMenu(e,t,n);return i?o().createElement("div",{ref:function(e){return r.menuContainer=e},className:"Select-menu-outer",style:this.props.menuContainerStyle},o().createElement("div",{className:"Select-menu",id:this._instancePrefix+"-list",onMouseDown:this.handleMouseDownOnMenu,onScroll:this.handleMenuScroll,ref:function(e){return r.menu=e},role:"listbox",style:this.props.menuStyle,tabIndex:-1},i)):null}},{key:"render",value:function(){var e=this,t=this.getValueArray(this.props.value),n=this._visibleOptions=this.filterOptions(this.props.multi&&this.props.removeSelected?t:null),r=this.state.isOpen;this.props.multi&&!n.length&&t.length&&!this.state.inputValue&&(r=!1);var i,a=this.getFocusableOptionIndex(t[0]);i=this._focusedOption=null!==a?n[a]:null;var l=ho()("Select",this.props.className,{"has-value":t.length,"is-clearable":this.props.clearable,"is-disabled":this.props.disabled,"is-focused":this.state.isFocused,"is-loading":this.props.isLoading,"is-open":r,"is-pseudo-focused":this.state.isPseudoFocused,"is-searchable":this.props.searchable,"Select--multi":this.props.multi,"Select--rtl":this.props.rtl,"Select--single":!this.props.multi}),s=null;return this.props.multi&&!this.props.disabled&&t.length&&!this.state.inputValue&&this.state.isFocused&&this.props.backspaceRemoves&&(s=o().createElement("span",{id:this._instancePrefix+"-backspace-remove-message",className:"Select-aria-only","aria-live":"assertive"},this.props.backspaceToRemoveMessage.replace("{label}",t[t.length-1][this.props.labelKey]))),o().createElement("div",{ref:function(t){return e.wrapper=t},className:l,style:this.props.wrapperStyle},this.renderHiddenField(t),o().createElement("div",{ref:function(t){return e.control=t},className:"Select-control",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleTouchEnd,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,style:this.props.style},o().createElement("div",{className:"Select-multi-value-wrapper",id:this._instancePrefix+"-value"},this.renderValue(t,r),this.renderInput(t,a)),s,this.renderLoading(),this.renderClear(),this.renderArrow()),r?this.renderOuter(n,t,i):null)}}]),t}(o().Component);qo.propTypes={"aria-describedby":Ao().string,"aria-label":Ao().string,"aria-labelledby":Ao().string,arrowRenderer:Ao().func,autoBlur:Ao().bool,autoFocus:Ao().bool,autofocus:Ao().bool,autosize:Ao().bool,backspaceRemoves:Ao().bool,backspaceToRemoveMessage:Ao().string,className:Ao().string,clearAllText:Mo,clearRenderer:Ao().func,clearValueText:Mo,clearable:Ao().bool,closeOnSelect:Ao().bool,deleteRemoves:Ao().bool,delimiter:Ao().string,disabled:Ao().bool,escapeClearsValue:Ao().bool,filterOption:Ao().func,filterOptions:Ao().any,id:Ao().string,ignoreAccents:Ao().bool,ignoreCase:Ao().bool,inputProps:Ao().object,inputRenderer:Ao().func,instanceId:Ao().string,isLoading:Ao().bool,joinValues:Ao().bool,labelKey:Ao().string,matchPos:Ao().string,matchProp:Ao().string,menuBuffer:Ao().number,menuContainerStyle:Ao().object,menuRenderer:Ao().func,menuStyle:Ao().object,multi:Ao().bool,name:Ao().string,noResultsText:Mo,onBlur:Ao().func,onBlurResetsInput:Ao().bool,onChange:Ao().func,onClose:Ao().func,onCloseResetsInput:Ao().bool,onFocus:Ao().func,onInputChange:Ao().func,onInputKeyDown:Ao().func,onMenuScrollToBottom:Ao().func,onOpen:Ao().func,onSelectResetsInput:Ao().bool,onValueClick:Ao().func,openOnClick:Ao().bool,openOnFocus:Ao().bool,optionClassName:Ao().string,optionComponent:Ao().func,optionRenderer:Ao().func,options:Ao().array,pageSize:Ao().number,placeholder:Mo,removeSelected:Ao().bool,required:Ao().bool,resetValue:Ao().any,rtl:Ao().bool,scrollMenuIntoView:Ao().bool,searchable:Ao().bool,simpleValue:Ao().bool,style:Ao().object,tabIndex:Ro,tabSelectsValue:Ao().bool,trimFilter:Ao().bool,value:Ao().any,valueComponent:Ao().func,valueKey:Ao().string,valueRenderer:Ao().func,wrapperStyle:Ao().object},qo.defaultProps={arrowRenderer:vo,autosize:!0,backspaceRemoves:!0,backspaceToRemoveMessage:"Press backspace to remove {label}",clearable:!0,clearAllText:"Clear all",clearRenderer:function(){return o().createElement("span",{className:"Select-clear",dangerouslySetInnerHTML:{__html:"&times;"}})},clearValueText:"Clear value",closeOnSelect:!0,deleteRemoves:!0,delimiter:",",disabled:!1,escapeClearsValue:!0,filterOptions:Eo,ignoreAccents:!0,ignoreCase:!0,inputProps:{},isLoading:!1,joinValues:!1,labelKey:"label",matchPos:"any",matchProp:"any",menuBuffer:0,menuRenderer:Co,multi:!1,noResultsText:"No results found",onBlurResetsInput:!0,onCloseResetsInput:!0,onSelectResetsInput:!0,openOnClick:!0,optionComponent:Do,pageSize:5,placeholder:"Select...",removeSelected:!0,required:!1,rtl:!1,scrollMenuIntoView:!0,searchable:!0,simpleValue:!1,tabSelectsValue:!0,trimFilter:!0,valueComponent:Io,valueKey:"value"};var Wo={autoload:Ao().bool.isRequired,cache:Ao().any,children:Ao().func.isRequired,ignoreAccents:Ao().bool,ignoreCase:Ao().bool,loadOptions:Ao().func.isRequired,loadingPlaceholder:Ao().oneOfType([Ao().string,Ao().node]),multi:Ao().bool,noResultsText:Ao().oneOfType([Ao().string,Ao().node]),onChange:Ao().func,onInputChange:Ao().func,options:Ao().array.isRequired,placeholder:Ao().oneOfType([Ao().string,Ao().node]),searchPromptText:Ao().oneOfType([Ao().string,Ao().node]),value:Ao().any},Vo={},Uo={autoload:!0,cache:Vo,children:function(e){return o().createElement(qo,e)},ignoreAccents:!0,ignoreCase:!0,loadingPlaceholder:"Loading...",options:[],searchPromptText:"Type to search"},Yo=function(e){function t(e,n){xo(this,t);var r=To(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r._cache=e.cache===Vo?{}:e.cache,r.state={inputValue:"",isLoading:!1,options:e.options},r.onInputChange=r.onInputChange.bind(r),r}return jo(t,e),Oo(t,[{key:"componentDidMount",value:function(){this.props.autoload&&this.loadOptions("")}},{key:"componentWillReceiveProps",value:function(e){e.options!==this.props.options&&this.setState({options:e.options})}},{key:"componentWillUnmount",value:function(){this._callback=null}},{key:"loadOptions",value:function(e){var t=this,n=this.props.loadOptions,r=this._cache;if(r&&Object.prototype.hasOwnProperty.call(r,e))return this._callback=null,void this.setState({isLoading:!1,options:r[e]});var o=function n(o,i){var a=i&&i.options||[];r&&(r[e]=a),n===t._callback&&(t._callback=null,t.setState({isLoading:!1,options:a}))};this._callback=o;var i=n(e,o);i&&i.then(function(e){return o(0,e)},function(e){return o()}),this._callback&&!this.state.isLoading&&this.setState({isLoading:!0})}},{key:"onInputChange",value:function(e){var t=this.props,n=t.ignoreAccents,r=t.ignoreCase,o=t.onInputChange,i=e;if(o){var a=o(i);null!=a&&"object"!==(void 0===a?"undefined":ko(a))&&(i=""+a)}var l=i;return n&&(l=go(l)),r&&(l=l.toLowerCase()),this.setState({inputValue:i}),this.loadOptions(l),i}},{key:"noResultsText",value:function(){var e=this.props,t=e.loadingPlaceholder,n=e.noResultsText,r=e.searchPromptText,o=this.state,i=o.inputValue;return o.isLoading?t:i&&n?n:r}},{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.loadingPlaceholder,o=t.placeholder,i=this.state,a=i.isLoading,l=i.options,s={noResultsText:this.noResultsText(),placeholder:a?r:o,options:a&&r?[]:l,ref:function(t){return e.select=t}};return n(_o({},this.props,s,{isLoading:a,onInputChange:this.onInputChange}))}}]),t}(r.Component);Yo.propTypes=Wo,Yo.defaultProps=Uo;var Ho=function(e){function t(e,n){xo(this,t);var r=To(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.filterOptions=r.filterOptions.bind(r),r.menuRenderer=r.menuRenderer.bind(r),r.onInputKeyDown=r.onInputKeyDown.bind(r),r.onInputChange=r.onInputChange.bind(r),r.onOptionSelect=r.onOptionSelect.bind(r),r}return jo(t,e),Oo(t,[{key:"createNewOption",value:function(){var e=this.props,t=e.isValidNewOption,n=e.newOptionCreator,r=e.onNewOptionClick,o=e.options,i=void 0===o?[]:o;if(t({label:this.inputValue})){var a=n({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey});this.isOptionUnique({option:a,options:i})&&(r?r(a):(i.unshift(a),this.select.selectValue(a)))}}},{key:"filterOptions",value:function(){var e=this.props,t=e.filterOptions,n=e.isValidNewOption,r=e.promptTextCreator,o=e.showNewOptionAtTop,i=(arguments.length<=2?void 0:arguments[2])||[],a=t.apply(void 0,arguments)||[];if(n({label:this.inputValue})){var l=this.props.newOptionCreator,s=l({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey});if(this.isOptionUnique({option:s,options:i.concat(a)})){var c=r(this.inputValue);this._createPlaceholderOption=l({label:c,labelKey:this.labelKey,valueKey:this.valueKey}),o?a.unshift(this._createPlaceholderOption):a.push(this._createPlaceholderOption)}}return a}},{key:"isOptionUnique",value:function(e){var t=e.option,n=e.options,r=this.props.isOptionUnique;return n=n||this.props.options,r({labelKey:this.labelKey,option:t,options:n,valueKey:this.valueKey})}},{key:"menuRenderer",value:function(e){return(0,this.props.menuRenderer)(_o({},e,{onSelect:this.onOptionSelect,selectValue:this.onOptionSelect}))}},{key:"onInputChange",value:function(e){var t=this.props.onInputChange;return this.inputValue=e,t&&(this.inputValue=t(e)),this.inputValue}},{key:"onInputKeyDown",value:function(e){var t=this.props,n=t.shouldKeyDownEventCreateNewOption,r=t.onInputKeyDown,o=this.select.getFocusedOption();o&&o===this._createPlaceholderOption&&n(e)?(this.createNewOption(),e.preventDefault()):r&&r(e)}},{key:"onOptionSelect",value:function(e){e===this._createPlaceholderOption?this.createNewOption():this.select.selectValue(e)}},{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.ref,r=Po(t,["ref"]),o=this.props.children;return o||(o=Ko),o(_o({},r,{allowCreate:!0,filterOptions:this.filterOptions,menuRenderer:this.menuRenderer,onInputChange:this.onInputChange,onInputKeyDown:this.onInputKeyDown,ref:function(t){e.select=t,t&&(e.labelKey=t.props.labelKey,e.valueKey=t.props.valueKey),n&&n(t)}}))}}]),t}(o().Component),Ko=function(e){return o().createElement(qo,e)},$o=function(e){var t=e.option,n=e.options,r=e.labelKey,o=e.valueKey;return!n||!n.length||0===n.filter(function(e){return e[r]===t[r]||e[o]===t[o]}).length},Go=function(e){return!!e.label},Zo=function(e){var t=e.label,n=e.labelKey,r={};return r[e.valueKey]=t,r[n]=t,r.className="Select-create-option-placeholder",r},Qo=function(e){return'Create option "'+e+'"'},Xo=function(e){switch(e.keyCode){case 9:case 13:case 188:return!0;default:return!1}};Ho.isOptionUnique=$o,Ho.isValidNewOption=Go,Ho.newOptionCreator=Zo,Ho.promptTextCreator=Qo,Ho.shouldKeyDownEventCreateNewOption=Xo,Ho.defaultProps={filterOptions:Eo,isOptionUnique:$o,isValidNewOption:Go,menuRenderer:Co,newOptionCreator:Zo,promptTextCreator:Qo,shouldKeyDownEventCreateNewOption:Xo,showNewOptionAtTop:!0},Ho.propTypes={children:Ao().func,filterOptions:Ao().any,isOptionUnique:Ao().func,isValidNewOption:Ao().func,menuRenderer:Ao().any,newOptionCreator:Ao().func,onInputChange:Ao().func,onInputKeyDown:Ao().func,onNewOptionClick:Ao().func,options:Ao().array,promptTextCreator:Ao().func,ref:Ao().func,shouldKeyDownEventCreateNewOption:Ao().func,showNewOptionAtTop:Ao().bool};var Jo=function(e){function t(){return xo(this,t),To(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return jo(t,e),Oo(t,[{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this;return o().createElement(Yo,this.props,function(t){var n=t.ref,r=Po(t,["ref"]),i=n;return o().createElement(Ho,r,function(t){var n=t.ref,r=Po(t,["ref"]),o=n;return e.props.children(_o({},r,{ref:function(t){o(t),i(t),e.select=t}}))})})}}]),t}(o().Component);Jo.propTypes={children:Ao().func.isRequired},Jo.defaultProps={children:function(e){return o().createElement(qo,e)}},qo.Async=Yo,qo.AsyncCreatable=Jo,qo.Creatable=Ho,qo.Value=Io,qo.Option=Do;var ei=qo;function ti(e){return ti="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},ti(e)}function ni(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ri(r.key),r)}}function ri(e){var t=function(e){if("object"!=ti(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ti(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ti(t)?t:t+""}var oi=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"getFirstParentOfType",value:function(e,t){t=t.toUpperCase();for(var n=e;n;){if(n.tagName.toUpperCase()===t)return n;if(null===n.parentElement)return;n=n.parentElement}}},{key:"getParentById",value:function(e,t){for(var n=e;n;){if(n.id===t)return n;if(null===n.parentElement)return;n=n.parentElement}}}],null&&ni(e.prototype,null),t&&ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function ii(e){return ii="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},ii(e)}function ai(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pi(r.key),r)}}function li(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(li=function(){return!!e})()}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},si(e)}function ci(e,t){return ci=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ci(e,t)}function ui(e,t,n){return(t=pi(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pi(e){var t=function(e){if("object"!=ii(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ii(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ii(t)?t:t+""}var fi,di=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ui(n=function(e,t,n){return t=si(t),function(e,t){if(t&&("object"==ii(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,li()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}(this,t,[e]),"dropdownRef",void 0),ui(n,"handleOpenDropdown",function(){ir(n.dropdownRef.current.wrapper.querySelector(".Select-menu-outer"))}),n.dropdownRef=(0,r.createRef)(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ci(e,t)}(t,e),n=t,i=[{key:"render",value:function(){var e=this.props,t=e.clearable,n=e.dropdown,r=e.onChange,i=e.value,a=e.disabled;return o().createElement("div",{className:"dash-dropdown-cell-value-container dash-cell-value-container",onClick:this.handleClick},o().createElement("div",{className:"dropdown-cell-value-shadow cell-value-shadow"},(n&&n.find(function(e){return e.value===i})||{label:void 0}).label),o().createElement(ei,{ref:this.dropdownRef,clearable:t,onChange:function(e){r(e?e.value:e)},scrollMenuIntoView:!1,onOpen:this.handleOpenDropdown,options:n,placeholder:"",value:i,disabled:a}))}},{key:"componentDidUpdate",value:function(){this.setFocus()}},{key:"componentDidMount",value:function(){this.setFocus()}},{key:"handleClick",value:function(e){e.stopPropagation()}},{key:"setFocus",value:function(){var e=this.props,t=e.active,n=e.applyFocus;if(t){var r=this.dropdownRef.current;if(n&&r&&document.activeElement!==r){var o=oi.getFirstParentOfType(r.wrapper,"td");o&&-1===o.className.indexOf("phantom-cell")&&o.focus()}}}}],i&&ai(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(r.Component),hi=function(e){return e},bi=function(e){var t;return e.type===it.$C.Numeric&&(t=function(e){if(!e)return function(e){return e};var t,n,r,o,i=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?kn:(t=xn.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],s=0;o>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(o-=l,o+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?kn:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(xn.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function p(e){var t=(e=wn(e)).fill,n=e.align,p=e.sign,f=e.symbol,d=e.zero,h=e.width,b=e.comma,A=e.precision,y=e.trim,v=e.type;"n"===v?(b=!0,v="g"):Sn[v]||(void 0===A&&(A=12),y=!0,v="g"),(d||"0"===t&&"="===n)&&(d=!0,t="0",n="=");var m="$"===f?o:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",g="$"===f?i:/[%p]/.test(v)?s:"",w=Sn[v],E=/[defgprs%]/.test(v);function C(e){var o,i,s,f=m,C=g;if("c"===v)C=w(e)+C,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),A),y&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),S&&0===+e&&"+"!==p&&(S=!1),f=(S?"("===p?p:c:"-"===p||"("===p?"":p)+f,C=("s"===v?On[8+mn/3]:"")+C+(S&&"("===p?")":""),E)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){C=(46===s?a+e.slice(o+1):e.slice(o))+C,e=e.slice(0,o);break}}b&&!d&&(e=r(e,1/0));var k=f.length+e.length+C.length,x=k<h?new Array(h-k+1).join(t):"";switch(b&&d&&(e=r(x+e,x.length?h-C.length:1/0),x=""),n){case"<":e=f+e+C+x;break;case"=":e=f+x+e+C;break;case"^":e=x.slice(0,k=x.length>>1)+f+e+C+x.slice(k);break;default:e=x+f+e+C}return l(e)}return A=void 0===A?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,A)):Math.max(0,Math.min(20,A)),C.toString=function(){return e+""},C}return{format:p,formatPrefix:function(e,t){var n,r=p(((e=wn(e)).type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor((n=t,((n=vn(Math.abs(n)))?n[1]:NaN)/3)))),i=Math.pow(10,-o),a=On[8+o/3];return function(e){return r(i*e)+a}}}}((t=e.locale,n=t.group,r=t.symbol,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,Dn),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach(function(t){Fn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({currency:r,thousands:n},Ve(["separate_4digits","symbol"],o)))),a=e.prefix?i.formatPrefix(e.specifier,e.prefix):i.format(e.specifier),l=e.locale.separate_4digits?e.specifier:e.specifier.replace(/,/,""),s=e.prefix?i.formatPrefix(l,e.prefix):i.format(l);return function(t){return"number"!=typeof(t=Pn(t)?e.nully:t)?t:Math.abs(t)<1e4?s(t):a(t)}}(e.format)),t||hi};function Ai(e){return(fi=fi||document.createElement("textarea")).innerHTML="&"+e+";",fi.value}var yi=Object.prototype.hasOwnProperty;function vi(e){return[].slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}var mi=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function gi(e){return e.indexOf("\\")<0?e:e.replace(mi,"$1")}function wi(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e&&65534!=(65535&e))||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Ei(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var Ci=/&([a-z#][a-z0-9]{1,31});/gi,Si=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function ki(e,t){var n=0,r=Ai(t);return t!==r?r:35===t.charCodeAt(0)&&Si.test(t)&&wi(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?Ei(n):e}function xi(e){return e.indexOf("&")<0?e:e.replace(Ci,ki)}var Oi=/[&<>"]/,Bi=/[&<>"]/g,_i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function ji(e){return _i[e]}function Pi(e){return Oi.test(e)?e.replace(Bi,ji):e}var Ti={};function Di(e,t){return++t>=e.length-2?t:"paragraph_open"===e[t].type&&e[t].tight&&"inline"===e[t+1].type&&0===e[t+1].content.length&&"paragraph_close"===e[t+2].type&&e[t+2].tight?Di(e,t+2):t}Ti.blockquote_open=function(){return"<blockquote>\n"},Ti.blockquote_close=function(e,t){return"</blockquote>"+Ii(e,t)},Ti.code=function(e,t){return e[t].block?"<pre><code>"+Pi(e[t].content)+"</code></pre>"+Ii(e,t):"<code>"+Pi(e[t].content)+"</code>"},Ti.fence=function(e,t,n,r,o){var i,a,l,s,c=e[t],u="",p=n.langPrefix;if(c.params){if(a=(i=c.params.split(/\s+/g)).join(" "),l=o.rules.fence_custom,s=i[0],l&&yi.call(l,s))return o.rules.fence_custom[i[0]](e,t,n,r,o);u=' class="'+p+Pi(xi(gi(a)))+'"'}return"<pre><code"+u+">"+(n.highlight&&n.highlight.apply(n.highlight,[c.content].concat(i))||Pi(c.content))+"</code></pre>"+Ii(e,t)},Ti.fence_custom={},Ti.heading_open=function(e,t){return"<h"+e[t].hLevel+">"},Ti.heading_close=function(e,t){return"</h"+e[t].hLevel+">\n"},Ti.hr=function(e,t,n){return(n.xhtmlOut?"<hr />":"<hr>")+Ii(e,t)},Ti.bullet_list_open=function(){return"<ul>\n"},Ti.bullet_list_close=function(e,t){return"</ul>"+Ii(e,t)},Ti.list_item_open=function(){return"<li>"},Ti.list_item_close=function(){return"</li>\n"},Ti.ordered_list_open=function(e,t){var n=e[t];return"<ol"+(n.order>1?' start="'+n.order+'"':"")+">\n"},Ti.ordered_list_close=function(e,t){return"</ol>"+Ii(e,t)},Ti.paragraph_open=function(e,t){return e[t].tight?"":"<p>"},Ti.paragraph_close=function(e,t){var n=!(e[t].tight&&t&&"inline"===e[t-1].type&&!e[t-1].content);return(e[t].tight?"":"</p>")+(n?Ii(e,t):"")},Ti.link_open=function(e,t,n){var r=e[t].title?' title="'+Pi(xi(e[t].title))+'"':"",o=n.linkTarget?' target="'+n.linkTarget+'"':"";return'<a href="'+Pi(e[t].href)+'"'+r+o+">"},Ti.link_close=function(){return"</a>"},Ti.image=function(e,t,n){var r=' src="'+Pi(e[t].src)+'"',o=e[t].title?' title="'+Pi(xi(e[t].title))+'"':"";return"<img"+r+' alt="'+(e[t].alt?Pi(xi(gi(e[t].alt))):"")+'"'+o+(n.xhtmlOut?" /":"")+">"},Ti.table_open=function(){return"<table>\n"},Ti.table_close=function(){return"</table>\n"},Ti.thead_open=function(){return"<thead>\n"},Ti.thead_close=function(){return"</thead>\n"},Ti.tbody_open=function(){return"<tbody>\n"},Ti.tbody_close=function(){return"</tbody>\n"},Ti.tr_open=function(){return"<tr>"},Ti.tr_close=function(){return"</tr>\n"},Ti.th_open=function(e,t){var n=e[t];return"<th"+(n.align?' style="text-align:'+n.align+'"':"")+">"},Ti.th_close=function(){return"</th>"},Ti.td_open=function(e,t){var n=e[t];return"<td"+(n.align?' style="text-align:'+n.align+'"':"")+">"},Ti.td_close=function(){return"</td>"},Ti.strong_open=function(){return"<strong>"},Ti.strong_close=function(){return"</strong>"},Ti.em_open=function(){return"<em>"},Ti.em_close=function(){return"</em>"},Ti.del_open=function(){return"<del>"},Ti.del_close=function(){return"</del>"},Ti.ins_open=function(){return"<ins>"},Ti.ins_close=function(){return"</ins>"},Ti.mark_open=function(){return"<mark>"},Ti.mark_close=function(){return"</mark>"},Ti.sub=function(e,t){return"<sub>"+Pi(e[t].content)+"</sub>"},Ti.sup=function(e,t){return"<sup>"+Pi(e[t].content)+"</sup>"},Ti.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Ti.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Ti.text=function(e,t){return Pi(e[t].content)},Ti.htmlblock=function(e,t){return e[t].content},Ti.htmltag=function(e,t){return e[t].content},Ti.abbr_open=function(e,t){return'<abbr title="'+Pi(xi(e[t].title))+'">'},Ti.abbr_close=function(){return"</abbr>"},Ti.footnote_ref=function(e,t){var n=Number(e[t].id+1).toString(),r="fnref"+n;return e[t].subId>0&&(r+=":"+e[t].subId),'<sup class="footnote-ref"><a href="#fn'+n+'" id="'+r+'">['+n+"]</a></sup>"},Ti.footnote_block_open=function(e,t,n){return(n.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'},Ti.footnote_block_close=function(){return"</ol>\n</section>\n"},Ti.footnote_open=function(e,t){return'<li id="fn'+Number(e[t].id+1).toString()+'" class="footnote-item">'},Ti.footnote_close=function(){return"</li>\n"},Ti.footnote_anchor=function(e,t){var n="fnref"+Number(e[t].id+1).toString();return e[t].subId>0&&(n+=":"+e[t].subId),' <a href="#'+n+'" class="footnote-backref">↩</a>'},Ti.dl_open=function(){return"<dl>\n"},Ti.dt_open=function(){return"<dt>"},Ti.dd_open=function(){return"<dd>"},Ti.dl_close=function(){return"</dl>\n"},Ti.dt_close=function(){return"</dt>\n"},Ti.dd_close=function(){return"</dd>\n"};var Ii=Ti.getBreak=function(e,t){return(t=Di(e,t))<e.length&&"list_item_close"===e[t].type?"":"\n"};function Fi(){this.rules=vi({},Ti),this.getBreak=Ti.getBreak}function Mi(){this.__rules__=[],this.__cache__=null}function Ri(e,t,n,r,o){this.src=e,this.env=r,this.options=n,this.parser=t,this.tokens=o,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function zi(e,t){var n,r,o,i=-1,a=e.posMax,l=e.pos,s=e.isInLabel;if(e.isInLabel)return-1;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=t+1,e.isInLabel=!0,n=1;e.pos<a;){if(91===(o=e.src.charCodeAt(e.pos)))n++;else if(93===o&&0===--n){r=!0;break}e.parser.skipToken(e)}return r?(i=e.pos,e.labelUnmatchedScopes=0):e.labelUnmatchedScopes=n-1,e.pos=l,e.isInLabel=s,i}function Ni(e,t,n,r){var o,i,a,l,s,c;if(42!==e.charCodeAt(0))return-1;if(91!==e.charCodeAt(1))return-1;if(-1===e.indexOf("]:"))return-1;if((i=zi(o=new Ri(e,t,n,r,[]),1))<0||58!==e.charCodeAt(i+1))return-1;for(l=o.posMax,a=i+2;a<l&&10!==o.src.charCodeAt(a);a++);return s=e.slice(2,i),0===(c=e.slice(i+2,a).trim()).length?-1:(r.abbreviations||(r.abbreviations={}),void 0===r.abbreviations[":"+s]&&(r.abbreviations[":"+s]=c),a)}function Li(e){var t=xi(e);try{t=decodeURI(t)}catch(e){}return encodeURI(t)}function qi(e,t){var n,r,o,i=t,a=e.posMax;if(60===e.src.charCodeAt(t)){for(t++;t<a;){if(10===(n=e.src.charCodeAt(t)))return!1;if(62===n)return o=Li(gi(e.src.slice(i+1,t))),!!e.parser.validateLink(o)&&(e.pos=t+1,e.linkContent=o,!0);92===n&&t+1<a?t+=2:t++}return!1}for(r=0;t<a&&32!==(n=e.src.charCodeAt(t))&&!(n<32||127===n);)if(92===n&&t+1<a)t+=2;else{if(40===n&&++r>1)break;if(41===n&&--r<0)break;t++}return i!==t&&(o=gi(e.src.slice(i,t)),!!e.parser.validateLink(o)&&(e.linkContent=o,e.pos=t,!0))}function Wi(e,t){var n,r=t,o=e.posMax,i=e.src.charCodeAt(t);if(34!==i&&39!==i&&40!==i)return!1;for(t++,40===i&&(i=41);t<o;){if((n=e.src.charCodeAt(t))===i)return e.pos=t+1,e.linkContent=gi(e.src.slice(r+1,t)),!0;92===n&&t+1<o?t+=2:t++}return!1}function Vi(e){return e.trim().replace(/\s+/g," ").toUpperCase()}function Ui(e,t,n,r){var o,i,a,l,s,c,u,p,f;if(91!==e.charCodeAt(0))return-1;if(-1===e.indexOf("]:"))return-1;if((i=zi(o=new Ri(e,t,n,r,[]),0))<0||58!==e.charCodeAt(i+1))return-1;for(l=o.posMax,a=i+2;a<l&&(32===(s=o.src.charCodeAt(a))||10===s);a++);if(!qi(o,a))return-1;for(u=o.linkContent,c=a=o.pos,a+=1;a<l&&(32===(s=o.src.charCodeAt(a))||10===s);a++);for(a<l&&c!==a&&Wi(o,a)?(p=o.linkContent,a=o.pos):(p="",a=c);a<l&&32===o.src.charCodeAt(a);)a++;return a<l&&10!==o.src.charCodeAt(a)?-1:(f=Vi(e.slice(1,i)),void 0===r.references[f]&&(r.references[f]={title:p,href:u}),a)}Fi.prototype.renderInline=function(e,t,n){for(var r=this.rules,o=e.length,i=0,a="";o--;)a+=r[e[i].type](e,i++,t,n,this);return a},Fi.prototype.render=function(e,t,n){for(var r=this.rules,o=e.length,i=-1,a="";++i<o;)"inline"===e[i].type?a+=this.renderInline(e[i].children,t,n):a+=r[e[i].type](e,i,t,n,this);return a},Mi.prototype.__find__=function(e){for(var t=this.__rules__.length,n=-1;t--;)if(this.__rules__[++n].name===e)return n;return-1},Mi.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},Mi.prototype.at=function(e,t,n){var r=this.__find__(e),o=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=o.alt||[],this.__cache__=null},Mi.prototype.before=function(e,t,n,r){var o=this.__find__(e),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},Mi.prototype.after=function(e,t,n,r){var o=this.__find__(e),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},Mi.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},Mi.prototype.enable=function(e,t){e=Array.isArray(e)?e:[e],t&&this.__rules__.forEach(function(e){e.enabled=!1}),e.forEach(function(e){var t=this.__find__(e);if(t<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[t].enabled=!0},this),this.__cache__=null},Mi.prototype.disable=function(e){(e=Array.isArray(e)?e:[e]).forEach(function(e){var t=this.__find__(e);if(t<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[t].enabled=!1},this),this.__cache__=null},Mi.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},Ri.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},Ri.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level},Ri.prototype.cacheSet=function(e,t){for(var n=this.cache.length;n<=e;n++)this.cache.push(0);this.cache[e]=t},Ri.prototype.cacheGet=function(e){return e<this.cache.length?this.cache[e]:0};var Yi=" \n()[]'\".,!?-";function Hi(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var Ki=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,$i=/\((c|tm|r|p)\)/gi,Gi={c:"©",r:"®",p:"§",tm:"™"};function Zi(e){return e.indexOf("(")<0?e:e.replace($i,function(e,t){return Gi[t.toLowerCase()]})}var Qi=/['"]/,Xi=/['"]/g,Ji=/[-\s()\[\]]/;function ea(e,t){return!(t<0||t>=e.length||Ji.test(e[t]))}function ta(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}var na=[["block",function(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}],["abbr",function(e){var t,n,r,o,i=e.tokens;if(!e.inlineMode)for(t=1,n=i.length-1;t<n;t++)if("paragraph_open"===i[t-1].type&&"inline"===i[t].type&&"paragraph_close"===i[t+1].type){for(r=i[t].content;r.length&&!((o=Ni(r,e.inline,e.options,e.env))<0);)r=r.slice(o).trim();i[t].content=r,r.length||(i[t-1].tight=!0,i[t+1].tight=!0)}}],["references",function(e){var t,n,r,o,i=e.tokens;if(e.env.references=e.env.references||{},!e.inlineMode)for(t=1,n=i.length-1;t<n;t++)if("inline"===i[t].type&&"paragraph_open"===i[t-1].type&&"paragraph_close"===i[t+1].type){for(r=i[t].content;r.length&&!((o=Ui(r,e.inline,e.options,e.env))<0);)r=r.slice(o).trim();i[t].content=r,r.length||(i[t-1].tight=!0,i[t+1].tight=!0)}}],["inline",function(e){var t,n,r,o=e.tokens;for(n=0,r=o.length;n<r;n++)"inline"===(t=o[n]).type&&e.inline.parse(t.content,e.options,e.env,t.children)}],["footnote_tail",function(e){var t,n,r,o,i,a,l,s,c,u=0,p=!1,f={};if(e.env.footnotes&&(e.tokens=e.tokens.filter(function(e){return"footnote_reference_open"===e.type?(p=!0,s=[],c=e.label,!1):"footnote_reference_close"===e.type?(p=!1,f[":"+c]=s,!1):(p&&s.push(e),!p)}),e.env.footnotes.list)){for(a=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:u++}),t=0,n=a.length;t<n;t++){for(e.tokens.push({type:"footnote_open",id:t,level:u++}),a[t].tokens?((l=[]).push({type:"paragraph_open",tight:!1,level:u++}),l.push({type:"inline",content:"",level:u,children:a[t].tokens}),l.push({type:"paragraph_close",tight:!1,level:--u})):a[t].label&&(l=f[":"+a[t].label]),e.tokens=e.tokens.concat(l),i="paragraph_close"===e.tokens[e.tokens.length-1].type?e.tokens.pop():null,o=a[t].count>0?a[t].count:1,r=0;r<o;r++)e.tokens.push({type:"footnote_anchor",id:t,subId:r,level:u});i&&e.tokens.push(i),e.tokens.push({type:"footnote_close",level:--u})}e.tokens.push({type:"footnote_block_close",level:--u})}}],["abbr2",function(e){var t,n,r,o,i,a,l,s,c,u,p,f,d=e.tokens;if(e.env.abbreviations)for(e.env.abbrRegExp||(f="(^|["+Yi.split("").map(Hi).join("")+"])("+Object.keys(e.env.abbreviations).map(function(e){return e.substr(1)}).sort(function(e,t){return t.length-e.length}).map(Hi).join("|")+")($|["+Yi.split("").map(Hi).join("")+"])",e.env.abbrRegExp=new RegExp(f,"g")),u=e.env.abbrRegExp,n=0,r=d.length;n<r;n++)if("inline"===d[n].type)for(t=(o=d[n].children).length-1;t>=0;t--)if("text"===(i=o[t]).type){for(s=0,a=i.content,u.lastIndex=0,c=i.level,l=[];p=u.exec(a);)u.lastIndex>s&&l.push({type:"text",content:a.slice(s,p.index+p[1].length),level:c}),l.push({type:"abbr_open",title:e.env.abbreviations[":"+p[2]],level:c++}),l.push({type:"text",content:p[2],level:c}),l.push({type:"abbr_close",level:--c}),s=u.lastIndex-p[3].length;l.length&&(s<a.length&&l.push({type:"text",content:a.slice(s),level:c}),d[n].children=o=[].concat(o.slice(0,t),l,o.slice(t+1)))}}],["replacements",function(e){var t,n,r,o,i;if(e.options.typographer)for(i=e.tokens.length-1;i>=0;i--)if("inline"===e.tokens[i].type)for(t=(o=e.tokens[i].children).length-1;t>=0;t--)"text"===(n=o[t]).type&&(r=Zi(r=n.content),Ki.test(r)&&(r=r.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),n.content=r)}],["smartquotes",function(e){var t,n,r,o,i,a,l,s,c,u,p,f,d,h,b,A,y;if(e.options.typographer)for(y=[],b=e.tokens.length-1;b>=0;b--)if("inline"===e.tokens[b].type)for(A=e.tokens[b].children,y.length=0,t=0;t<A.length;t++)if("text"===(n=A[t]).type&&!Qi.test(n.text)){for(l=A[t].level,d=y.length-1;d>=0&&!(y[d].level<=l);d--);y.length=d+1,i=0,a=(r=n.content).length;e:for(;i<a&&(Xi.lastIndex=i,o=Xi.exec(r));)if(s=!ea(r,o.index-1),i=o.index+1,h="'"===o[0],(c=!ea(r,i))||s){if(p=!c,f=!s)for(d=y.length-1;d>=0&&(u=y[d],!(y[d].level<l));d--)if(u.single===h&&y[d].level===l){u=y[d],h?(A[u.token].content=ta(A[u.token].content,u.pos,e.options.quotes[2]),n.content=ta(n.content,o.index,e.options.quotes[3])):(A[u.token].content=ta(A[u.token].content,u.pos,e.options.quotes[0]),n.content=ta(n.content,o.index,e.options.quotes[1])),y.length=d;continue e}p?y.push({token:t,pos:o.index,single:h,level:l}):f&&h&&(n.content=ta(n.content,o.index,"’"))}else h&&(n.content=ta(n.content,o.index,"’"))}}]];function ra(){this.options={},this.ruler=new Mi;for(var e=0;e<na.length;e++)this.ruler.push(na[e][0],na[e][1])}function oa(e,t,n,r,o){var i,a,l,s,c,u,p;for(this.src=e,this.parser=t,this.options=n,this.env=r,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",u=0,p=!1,l=s=u=0,c=(a=this.src).length;s<c;s++){if(i=a.charCodeAt(s),!p){if(32===i){u++;continue}p=!0}10!==i&&s!==c-1||(10!==i&&s++,this.bMarks.push(l),this.eMarks.push(s),this.tShift.push(u),p=!1,u=0,l=s+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function ia(e,t){var n,r,o;return(r=e.bMarks[t]+e.tShift[t])>=(o=e.eMarks[t])||42!==(n=e.src.charCodeAt(r++))&&45!==n&&43!==n||r<o&&32!==e.src.charCodeAt(r)?-1:r}function aa(e,t){var n,r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(r+1>=o)return-1;if((n=e.src.charCodeAt(r++))<48||n>57)return-1;for(;;){if(r>=o)return-1;if(!((n=e.src.charCodeAt(r++))>=48&&n<=57)){if(41===n||46===n)break;return-1}}return r<o&&32!==e.src.charCodeAt(r)?-1:r}ra.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},oa.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},oa.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},oa.prototype.skipSpaces=function(e){for(var t=this.src.length;e<t&&32===this.src.charCodeAt(e);e++);return e},oa.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},oa.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},oa.prototype.getLines=function(e,t,n,r){var o,i,a,l,s,c=e;if(e>=t)return"";if(c+1===t)return i=this.bMarks[c]+Math.min(this.tShift[c],n),a=r?this.eMarks[c]+1:this.eMarks[c],this.src.slice(i,a);for(l=new Array(t-e),o=0;c<t;c++,o++)(s=this.tShift[c])>n&&(s=n),s<0&&(s=0),i=this.bMarks[c]+s,a=c+1<t||r?this.eMarks[c]+1:this.eMarks[c],l[o]=this.src.slice(i,a);return l.join("")};var la={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(e){la[e]=!0});var sa=/^<([a-zA-Z]{1,15})[\s\/>]/,ca=/^<\/([a-zA-Z]{1,15})[\s>]/;function ua(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function pa(e,t){var n,r,o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return o>=i||126!==(r=e.src.charCodeAt(o++))&&58!==r||o===(n=e.skipSpaces(o))||n>=i?-1:n}var fa=[["code",function(e,t,n){var r,o;if(e.tShift[t]-e.blkIndent<4)return!1;for(o=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.tShift[r]-e.blkIndent>=4))break;o=++r}return e.line=r,e.tokens.push({type:"code",content:e.getLines(t,o,4+e.blkIndent,!0),block:!0,lines:[t,e.line],level:e.level}),!0}],["fences",function(e,t,n,r){var o,i,a,l,s,c=!1,u=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(u+3>p)return!1;if(126!==(o=e.src.charCodeAt(u))&&96!==o)return!1;if(s=u,(i=(u=e.skipChars(u,o))-s)<3)return!1;if((a=e.src.slice(u,p).trim()).indexOf("`")>=0)return!1;if(r)return!0;for(l=t;!(++l>=n||(u=s=e.bMarks[l]+e.tShift[l])<(p=e.eMarks[l])&&e.tShift[l]<e.blkIndent);)if(e.src.charCodeAt(u)===o&&!(e.tShift[l]-e.blkIndent>=4||(u=e.skipChars(u,o))-s<i||(u=e.skipSpaces(u))<p)){c=!0;break}return i=e.tShift[t],e.line=l+(c?1:0),e.tokens.push({type:"fence",params:a,content:e.getLines(t+1,l,i,!0),lines:[t,e.line],level:e.level}),!0},["paragraph","blockquote","list"]],["blockquote",function(e,t,n,r){var o,i,a,l,s,c,u,p,f,d,h,b=e.bMarks[t]+e.tShift[t],A=e.eMarks[t];if(b>A)return!1;if(62!==e.src.charCodeAt(b++))return!1;if(e.level>=e.options.maxNesting)return!1;if(r)return!0;for(32===e.src.charCodeAt(b)&&b++,s=e.blkIndent,e.blkIndent=0,l=[e.bMarks[t]],e.bMarks[t]=b,i=(b=b<A?e.skipSpaces(b):b)>=A,a=[e.tShift[t]],e.tShift[t]=b-e.bMarks[t],p=e.parser.ruler.getRules("blockquote"),o=t+1;o<n&&!((b=e.bMarks[o]+e.tShift[o])>=(A=e.eMarks[o]));o++)if(62!==e.src.charCodeAt(b++)){if(i)break;for(h=!1,f=0,d=p.length;f<d;f++)if(p[f](e,o,n,!0)){h=!0;break}if(h)break;l.push(e.bMarks[o]),a.push(e.tShift[o]),e.tShift[o]=-1337}else 32===e.src.charCodeAt(b)&&b++,l.push(e.bMarks[o]),e.bMarks[o]=b,i=(b=b<A?e.skipSpaces(b):b)>=A,a.push(e.tShift[o]),e.tShift[o]=b-e.bMarks[o];for(c=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:u=[t,0],level:e.level++}),e.parser.tokenize(e,t,o),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=c,u[1]=e.line,f=0;f<a.length;f++)e.bMarks[f+t]=l[f],e.tShift[f+t]=a[f];return e.blkIndent=s,!0},["paragraph","blockquote","list"]],["hr",function(e,t,n,r){var o,i,a,l=e.bMarks[t],s=e.eMarks[t];if((l+=e.tShift[t])>s)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(i=1;l<s;){if((a=e.src.charCodeAt(l++))!==o&&32!==a)return!1;a===o&&i++}return!(i<3||(r||(e.line=t+1,e.tokens.push({type:"hr",lines:[t,e.line],level:e.level})),0))},["paragraph","blockquote","list"]],["list",function(e,t,n,r){var o,i,a,l,s,c,u,p,f,d,h,b,A,y,v,m,g,w,E,C,S,k=!0;if((p=aa(e,t))>=0)b=!0;else{if(!((p=ia(e,t))>=0))return!1;b=!1}if(e.level>=e.options.maxNesting)return!1;if(h=e.src.charCodeAt(p-1),r)return!0;for(y=e.tokens.length,b?(u=e.bMarks[t]+e.tShift[t],d=Number(e.src.substr(u,p-u-1)),e.tokens.push({type:"ordered_list_open",order:d,lines:m=[t,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:m=[t,0],level:e.level++}),o=t,v=!1,w=e.parser.ruler.getRules("list");!(!(o<n)||((f=(A=e.skipSpaces(p))>=e.eMarks[o]?1:A-p)>4&&(f=1),f<1&&(f=1),i=p-e.bMarks[o]+f,e.tokens.push({type:"list_item_open",lines:g=[t,0],level:e.level++}),l=e.blkIndent,s=e.tight,a=e.tShift[t],c=e.parentType,e.tShift[t]=A-e.bMarks[t],e.blkIndent=i,e.tight=!0,e.parentType="list",e.parser.tokenize(e,t,n,!0),e.tight&&!v||(k=!1),v=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=l,e.tShift[t]=a,e.tight=s,e.parentType=c,e.tokens.push({type:"list_item_close",level:--e.level}),o=t=e.line,g[1]=o,A=e.bMarks[t],o>=n)||e.isEmpty(o)||e.tShift[o]<e.blkIndent);){for(S=!1,E=0,C=w.length;E<C;E++)if(w[E](e,o,n,!0)){S=!0;break}if(S)break;if(b){if((p=aa(e,o))<0)break}else if((p=ia(e,o))<0)break;if(h!==e.src.charCodeAt(p-1))break}return e.tokens.push({type:b?"ordered_list_close":"bullet_list_close",level:--e.level}),m[1]=o,e.line=o,k&&function(e,t){var n,r,o=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===o&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].tight=!0,e.tokens[n].tight=!0,n+=2)}(e,y),!0},["paragraph","blockquote"]],["footnote",function(e,t,n,r){var o,i,a,l,s,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(c+4>u)return!1;if(91!==e.src.charCodeAt(c))return!1;if(94!==e.src.charCodeAt(c+1))return!1;if(e.level>=e.options.maxNesting)return!1;for(l=c+2;l<u;l++){if(32===e.src.charCodeAt(l))return!1;if(93===e.src.charCodeAt(l))break}return!(l===c+2||l+1>=u||58!==e.src.charCodeAt(++l)||(r||(l++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),s=e.src.slice(c+2,l-2),e.env.footnotes.refs[":"+s]=-1,e.tokens.push({type:"footnote_reference_open",label:s,level:e.level++}),o=e.bMarks[t],i=e.tShift[t],a=e.parentType,e.tShift[t]=e.skipSpaces(l)-l,e.bMarks[t]=l,e.blkIndent+=4,e.parentType="footnote",e.tShift[t]<e.blkIndent&&(e.tShift[t]+=e.blkIndent,e.bMarks[t]-=e.blkIndent),e.parser.tokenize(e,t,n,!0),e.parentType=a,e.blkIndent-=4,e.tShift[t]=i,e.bMarks[t]=o,e.tokens.push({type:"footnote_reference_close",level:--e.level})),0))},["paragraph"]],["heading",function(e,t,n,r){var o,i,a,l=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(l>=s)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=s)return!1;for(i=1,o=e.src.charCodeAt(++l);35===o&&l<s&&i<=6;)i++,o=e.src.charCodeAt(++l);return!(i>6||l<s&&32!==o||(r||(s=e.skipCharsBack(s,32,l),(a=e.skipCharsBack(s,35,l))>l&&32===e.src.charCodeAt(a-1)&&(s=a),e.line=t+1,e.tokens.push({type:"heading_open",hLevel:i,lines:[t,e.line],level:e.level}),l<s&&e.tokens.push({type:"inline",content:e.src.slice(l,s).trim(),level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:i,level:e.level})),0))},["paragraph","blockquote"]],["lheading",function(e,t,n){var r,o,i,a=t+1;return!(a>=n||e.tShift[a]<e.blkIndent||e.tShift[a]-e.blkIndent>3||(o=e.bMarks[a]+e.tShift[a])>=(i=e.eMarks[a])||45!==(r=e.src.charCodeAt(o))&&61!==r||(o=e.skipChars(o,r),(o=e.skipSpaces(o))<i||(o=e.bMarks[t]+e.tShift[t],e.line=a+1,e.tokens.push({type:"heading_open",hLevel:61===r?1:2,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(o,e.eMarks[t]).trim(),level:e.level+1,lines:[t,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:61===r?1:2,level:e.level}),0)))}],["htmlblock",function(e,t,n,r){var o,i,a,l=e.bMarks[t],s=e.eMarks[t],c=e.tShift[t];if(l+=c,!e.options.html)return!1;if(c>3||l+2>=s)return!1;if(60!==e.src.charCodeAt(l))return!1;if(33===(o=e.src.charCodeAt(l+1))||63===o){if(r)return!0}else{if(47!==o&&!function(e){var t=32|e;return t>=97&&t<=122}(o))return!1;if(47===o){if(!(i=e.src.slice(l,s).match(ca)))return!1}else if(!(i=e.src.slice(l,s).match(sa)))return!1;if(!0!==la[i[1].toLowerCase()])return!1;if(r)return!0}for(a=t+1;a<e.lineMax&&!e.isEmpty(a);)a++;return e.line=a,e.tokens.push({type:"htmlblock",level:e.level,lines:[t,e.line],content:e.getLines(t,a,0,!0)}),!0},["paragraph","blockquote"]],["table",function(e,t,n,r){var o,i,a,l,s,c,u,p,f,d,h;if(t+2>n)return!1;if(s=t+1,e.tShift[s]<e.blkIndent)return!1;if((a=e.bMarks[s]+e.tShift[s])>=e.eMarks[s])return!1;if(124!==(o=e.src.charCodeAt(a))&&45!==o&&58!==o)return!1;if(i=ua(e,t+1),!/^[-:| ]+$/.test(i))return!1;if((c=i.split("|"))<=2)return!1;for(p=[],l=0;l<c.length;l++){if(!(f=c[l].trim())){if(0===l||l===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(f))return!1;58===f.charCodeAt(f.length-1)?p.push(58===f.charCodeAt(0)?"center":"right"):58===f.charCodeAt(0)?p.push("left"):p.push("")}if(-1===(i=ua(e,t).trim()).indexOf("|"))return!1;if(c=i.replace(/^\||\|$/g,"").split("|"),p.length!==c.length)return!1;if(r)return!0;for(e.tokens.push({type:"table_open",lines:d=[t,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[t,t+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[t,t+1],level:e.level++}),l=0;l<c.length;l++)e.tokens.push({type:"th_open",align:p[l],lines:[t,t+1],level:e.level++}),e.tokens.push({type:"inline",content:c[l].trim(),lines:[t,t+1],level:e.level,children:[]}),e.tokens.push({type:"th_close",level:--e.level});for(e.tokens.push({type:"tr_close",level:--e.level}),e.tokens.push({type:"thead_close",level:--e.level}),e.tokens.push({type:"tbody_open",lines:h=[t+2,0],level:e.level++}),s=t+2;s<n&&!(e.tShift[s]<e.blkIndent)&&-1!==(i=ua(e,s).trim()).indexOf("|");s++){for(c=i.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),l=0;l<c.length;l++)e.tokens.push({type:"td_open",align:p[l],level:e.level++}),u=c[l].substring(124===c[l].charCodeAt(0)?1:0,124===c[l].charCodeAt(c[l].length-1)?c[l].length-1:c[l].length).trim(),e.tokens.push({type:"inline",content:u,level:e.level,children:[]}),e.tokens.push({type:"td_close",level:--e.level});e.tokens.push({type:"tr_close",level:--e.level})}return e.tokens.push({type:"tbody_close",level:--e.level}),e.tokens.push({type:"table_close",level:--e.level}),d[1]=h[1]=s,e.line=s,!0},["paragraph"]],["deflist",function(e,t,n,r){var o,i,a,l,s,c,u,p,f,d,h,b,A,y;if(r)return!(e.ddIndent<0)&&pa(e,t)>=0;if(u=t+1,e.isEmpty(u)&&++u>n)return!1;if(e.tShift[u]<e.blkIndent)return!1;if((o=pa(e,u))<0)return!1;if(e.level>=e.options.maxNesting)return!1;c=e.tokens.length,e.tokens.push({type:"dl_open",lines:s=[t,0],level:e.level++}),a=t,i=u;e:for(;;){for(y=!0,A=!1,e.tokens.push({type:"dt_open",lines:[a,a],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(a,a+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[a,a],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:l=[u,0],level:e.level++}),b=e.tight,f=e.ddIndent,p=e.blkIndent,h=e.tShift[i],d=e.parentType,e.blkIndent=e.ddIndent=e.tShift[i]+2,e.tShift[i]=o-e.bMarks[i],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,i,n,!0),e.tight&&!A||(y=!1),A=e.line-i>1&&e.isEmpty(e.line-1),e.tShift[i]=h,e.tight=b,e.parentType=d,e.blkIndent=p,e.ddIndent=f,e.tokens.push({type:"dd_close",level:--e.level}),l[1]=u=e.line,u>=n)break e;if(e.tShift[u]<e.blkIndent)break e;if((o=pa(e,u))<0)break;i=u}if(u>=n)break;if(a=u,e.isEmpty(a))break;if(e.tShift[a]<e.blkIndent)break;if((i=a+1)>=n)break;if(e.isEmpty(i)&&i++,i>=n)break;if(e.tShift[i]<e.blkIndent)break;if((o=pa(e,i))<0)break}return e.tokens.push({type:"dl_close",level:--e.level}),s[1]=u,e.line=u,y&&function(e,t){var n,r,o=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===o&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].tight=!0,e.tokens[n].tight=!0,n+=2)}(e,c),!0},["paragraph"]],["paragraph",function(e,t){var n,r,o,i,a,l,s=t+1;if(s<(n=e.lineMax)&&!e.isEmpty(s))for(l=e.parser.ruler.getRules("paragraph");s<n&&!e.isEmpty(s);s++)if(!(e.tShift[s]-e.blkIndent>3)){for(o=!1,i=0,a=l.length;i<a;i++)if(l[i](e,s,n,!0)){o=!0;break}if(o)break}return r=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,r.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:r,level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}]];function da(){this.ruler=new Mi;for(var e=0;e<fa.length;e++)this.ruler.push(fa[e][0],fa[e][1],{alt:(fa[e][2]||[]).slice()})}da.prototype.tokenize=function(e,t,n){for(var r,o=this.ruler.getRules(""),i=o.length,a=t,l=!1;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.tShift[a]<e.blkIndent);){for(r=0;r<i&&!o[r](e,a,n,!1);r++);if(e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),(a=e.line)<n&&e.isEmpty(a)){if(l=!0,++a<n&&"list"===e.parentType&&e.isEmpty(a))break;e.line=a}}};var ha=/[\n\t]/g,ba=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,Aa=/\u00a0/g;function ya(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}da.prototype.parse=function(e,t,n,r){var o,i=0,a=0;if(!e)return[];(e=(e=e.replace(Aa," ")).replace(ba,"\n")).indexOf("\t")>=0&&(e=e.replace(ha,function(t,n){var r;return 10===e.charCodeAt(n)?(i=n+1,a=0,t):(r=" ".slice((n-i-a)%4),a=n-i+1,r)})),o=new oa(e,this,t,n,r),this.tokenize(o,o.line,o.lineMax)};for(var va=[],ma=0;ma<256;ma++)va.push(0);function ga(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function wa(e,t){var n,r,o,i=t,a=!0,l=!0,s=e.posMax,c=e.src.charCodeAt(t);for(n=t>0?e.src.charCodeAt(t-1):-1;i<s&&e.src.charCodeAt(i)===c;)i++;return i>=s&&(a=!1),(o=i-t)>=4?a=l=!1:(32!==(r=i<s?e.src.charCodeAt(i):-1)&&10!==r||(a=!1),32!==n&&10!==n||(l=!1),95===c&&(ga(n)&&(a=!1),ga(r)&&(l=!1))),{can_open:a,can_close:l,delims:o}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){va[e.charCodeAt(0)]=1});var Ea=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,Ca=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,Sa=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],ka=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,xa=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function Oa(e,t){return e=e.source,t=t||"",function n(r,o){return r?(o=o.source||o,e=e.replace(r,o),n):new RegExp(e,t)}}var Ba=Oa(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),_a=Oa(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",Ba)(),ja=Oa(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",_a)(),Pa=Oa(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",ja)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),Ta=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,Da=/^&([a-z][a-z0-9]{1,31});/i,Ia=[["text",function(e,t){for(var n=e.pos;n<e.posMax&&!ya(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["newline",function(e,t){var n,r,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,r=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(var i=n-2;i>=0;i--)if(32!==e.pending.charCodeAt(i)){e.pending=e.pending.substring(0,i+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(o++;o<r&&32===e.src.charCodeAt(o);)o++;return e.pos=o,!0}],["escape",function(e,t){var n,r=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(r))return!1;if(++r<o){if((n=e.src.charCodeAt(r))<256&&0!==va[n])return t||(e.pending+=e.src[r]),e.pos+=2,!0;if(10===n){for(t||e.push({type:"hardbreak",level:e.level}),r++;r<o&&32===e.src.charCodeAt(r);)r++;return e.pos=r,!0}}return t||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,t){var n,r,o,i,a,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l<r&&96===e.src.charCodeAt(l);)l++;for(o=e.src.slice(n,l),i=a=l;-1!==(i=e.src.indexOf("`",a));){for(a=i+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-i===o.length)return t||e.push({type:"code",content:e.src.slice(l,i).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=a,!0}return t||(e.pending+=o),e.pos+=o.length,!0}],["del",function(e,t){var n,r,o,i,a,l=e.posMax,s=e.pos;if(126!==e.src.charCodeAt(s))return!1;if(t)return!1;if(s+4>=l)return!1;if(126!==e.src.charCodeAt(s+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(i=s>0?e.src.charCodeAt(s-1):-1,a=e.src.charCodeAt(s+2),126===i)return!1;if(126===a)return!1;if(32===a||10===a)return!1;for(r=s+2;r<l&&126===e.src.charCodeAt(r);)r++;if(r>s+3)return e.pos+=r-s,t||(e.pending+=e.src.slice(s,r)),!0;for(e.pos=s+2,o=1;e.pos+1<l;){if(126===e.src.charCodeAt(e.pos)&&126===e.src.charCodeAt(e.pos+1)&&(i=e.src.charCodeAt(e.pos-1),126!==(a=e.pos+2<l?e.src.charCodeAt(e.pos+2):-1)&&126!==i&&(32!==i&&10!==i?o--:32!==a&&10!==a&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=s+2,t||(e.push({type:"del_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"del_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=l,!0):(e.pos=s,!1)}],["ins",function(e,t){var n,r,o,i,a,l=e.posMax,s=e.pos;if(43!==e.src.charCodeAt(s))return!1;if(t)return!1;if(s+4>=l)return!1;if(43!==e.src.charCodeAt(s+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(i=s>0?e.src.charCodeAt(s-1):-1,a=e.src.charCodeAt(s+2),43===i)return!1;if(43===a)return!1;if(32===a||10===a)return!1;for(r=s+2;r<l&&43===e.src.charCodeAt(r);)r++;if(r!==s+2)return e.pos+=r-s,t||(e.pending+=e.src.slice(s,r)),!0;for(e.pos=s+2,o=1;e.pos+1<l;){if(43===e.src.charCodeAt(e.pos)&&43===e.src.charCodeAt(e.pos+1)&&(i=e.src.charCodeAt(e.pos-1),43!==(a=e.pos+2<l?e.src.charCodeAt(e.pos+2):-1)&&43!==i&&(32!==i&&10!==i?o--:32!==a&&10!==a&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=s+2,t||(e.push({type:"ins_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"ins_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=l,!0):(e.pos=s,!1)}],["mark",function(e,t){var n,r,o,i,a,l=e.posMax,s=e.pos;if(61!==e.src.charCodeAt(s))return!1;if(t)return!1;if(s+4>=l)return!1;if(61!==e.src.charCodeAt(s+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(i=s>0?e.src.charCodeAt(s-1):-1,a=e.src.charCodeAt(s+2),61===i)return!1;if(61===a)return!1;if(32===a||10===a)return!1;for(r=s+2;r<l&&61===e.src.charCodeAt(r);)r++;if(r!==s+2)return e.pos+=r-s,t||(e.pending+=e.src.slice(s,r)),!0;for(e.pos=s+2,o=1;e.pos+1<l;){if(61===e.src.charCodeAt(e.pos)&&61===e.src.charCodeAt(e.pos+1)&&(i=e.src.charCodeAt(e.pos-1),61!==(a=e.pos+2<l?e.src.charCodeAt(e.pos+2):-1)&&61!==i&&(32!==i&&10!==i?o--:32!==a&&10!==a&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=s+2,t||(e.push({type:"mark_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"mark_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=l,!0):(e.pos=s,!1)}],["emphasis",function(e,t){var n,r,o,i,a,l,s,c=e.posMax,u=e.pos,p=e.src.charCodeAt(u);if(95!==p&&42!==p)return!1;if(t)return!1;if(n=(s=wa(e,u)).delims,!s.can_open)return e.pos+=n,t||(e.pending+=e.src.slice(u,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=u+n,l=[n];e.pos<c;)if(e.src.charCodeAt(e.pos)!==p)e.parser.skipToken(e);else{if(r=(s=wa(e,e.pos)).delims,s.can_close){for(i=l.pop(),a=r;i!==a;){if(a<i){l.push(i-a);break}if(a-=i,0===l.length)break;e.pos+=i,i=l.pop()}if(0===l.length){n=i,o=!0;break}e.pos+=r;continue}s.can_open&&l.push(r),e.pos+=r}return o?(e.posMax=e.pos,e.pos=u+n,t||(2!==n&&3!==n||e.push({type:"strong_open",level:e.level++}),1!==n&&3!==n||e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),1!==n&&3!==n||e.push({type:"em_close",level:--e.level}),2!==n&&3!==n||e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+n,e.posMax=c,!0):(e.pos=u,!1)}],["sub",function(e,t){var n,r,o=e.posMax,i=e.pos;if(126!==e.src.charCodeAt(i))return!1;if(t)return!1;if(i+2>=o)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=i+1;e.pos<o;){if(126===e.src.charCodeAt(e.pos)){n=!0;break}e.parser.skipToken(e)}return n&&i+1!==e.pos?(r=e.src.slice(i+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=i,!1):(e.posMax=e.pos,e.pos=i+1,t||e.push({type:"sub",level:e.level,content:r.replace(Ea,"$1")}),e.pos=e.posMax+1,e.posMax=o,!0):(e.pos=i,!1)}],["sup",function(e,t){var n,r,o=e.posMax,i=e.pos;if(94!==e.src.charCodeAt(i))return!1;if(t)return!1;if(i+2>=o)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=i+1;e.pos<o;){if(94===e.src.charCodeAt(e.pos)){n=!0;break}e.parser.skipToken(e)}return n&&i+1!==e.pos?(r=e.src.slice(i+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=i,!1):(e.posMax=e.pos,e.pos=i+1,t||e.push({type:"sup",level:e.level,content:r.replace(Ca,"$1")}),e.pos=e.posMax+1,e.posMax=o,!0):(e.pos=i,!1)}],["links",function(e,t){var n,r,o,i,a,l,s,c,u=!1,p=e.pos,f=e.posMax,d=e.pos,h=e.src.charCodeAt(d);if(33===h&&(u=!0,h=e.src.charCodeAt(++d)),91!==h)return!1;if(e.level>=e.options.maxNesting)return!1;if(n=d+1,(r=zi(e,d))<0)return!1;if((l=r+1)<f&&40===e.src.charCodeAt(l)){for(l++;l<f&&(32===(c=e.src.charCodeAt(l))||10===c);l++);if(l>=f)return!1;for(d=l,qi(e,l)?(i=e.linkContent,l=e.pos):i="",d=l;l<f&&(32===(c=e.src.charCodeAt(l))||10===c);l++);if(l<f&&d!==l&&Wi(e,l))for(a=e.linkContent,l=e.pos;l<f&&(32===(c=e.src.charCodeAt(l))||10===c);l++);else a="";if(l>=f||41!==e.src.charCodeAt(l))return e.pos=p,!1;l++}else{if(e.linkLevel>0)return!1;for(;l<f&&(32===(c=e.src.charCodeAt(l))||10===c);l++);if(l<f&&91===e.src.charCodeAt(l)&&(d=l+1,(l=zi(e,l))>=0?o=e.src.slice(d,l++):l=d-1),o||(void 0===o&&(l=r+1),o=e.src.slice(n,r)),!(s=e.env.references[Vi(o)]))return e.pos=p,!1;i=s.href,a=s.title}return t||(e.pos=n,e.posMax=r,u?e.push({type:"image",src:i,title:a,alt:e.src.substr(n,r-n),level:e.level}):(e.push({type:"link_open",href:i,title:a,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=l,e.posMax=f,!0}],["footnote_inline",function(e,t){var n,r,o,i,a=e.posMax,l=e.pos;return!(l+2>=a||94!==e.src.charCodeAt(l)||91!==e.src.charCodeAt(l+1)||e.level>=e.options.maxNesting||(n=l+2,(r=zi(e,l+1))<0||(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),o=e.env.footnotes.list.length,e.pos=n,e.posMax=r,e.push({type:"footnote_ref",id:o,level:e.level}),e.linkLevel++,i=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[o]={tokens:e.tokens.splice(i)},e.linkLevel--),e.pos=r+1,e.posMax=a,0)))}],["footnote_ref",function(e,t){var n,r,o,i,a=e.posMax,l=e.pos;if(l+3>a)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(l))return!1;if(94!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;for(r=l+2;r<a;r++){if(32===e.src.charCodeAt(r))return!1;if(10===e.src.charCodeAt(r))return!1;if(93===e.src.charCodeAt(r))break}return!(r===l+2||r>=a||(r++,n=e.src.slice(l+2,r-1),void 0===e.env.footnotes.refs[":"+n]||(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+n]<0?(o=e.env.footnotes.list.length,e.env.footnotes.list[o]={label:n,count:0},e.env.footnotes.refs[":"+n]=o):o=e.env.footnotes.refs[":"+n],i=e.env.footnotes.list[o].count,e.env.footnotes.list[o].count++,e.push({type:"footnote_ref",id:o,subId:i,level:e.level})),e.pos=r,e.posMax=a,0)))}],["autolink",function(e,t){var n,r,o,i,a,l=e.pos;return!(60!==e.src.charCodeAt(l)||(n=e.src.slice(l)).indexOf(">")<0||((r=n.match(xa))?Sa.indexOf(r[1].toLowerCase())<0||(a=Li(i=r[0].slice(1,-1)),!e.parser.validateLink(i)||(t||(e.push({type:"link_open",href:a,level:e.level}),e.push({type:"text",content:i,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=r[0].length,0)):!(o=n.match(ka))||(a=Li("mailto:"+(i=o[0].slice(1,-1))),!e.parser.validateLink(a)||(t||(e.push({type:"link_open",href:a,level:e.level}),e.push({type:"text",content:i,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=o[0].length,0))))}],["htmltag",function(e,t){var n,r,o,i=e.pos;return!(!e.options.html||(o=e.posMax,60!==e.src.charCodeAt(i)||i+2>=o||33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n)||!(r=e.src.slice(i).match(Pa))||(t||e.push({type:"htmltag",content:e.src.slice(i,i+r[0].length),level:e.level}),e.pos+=r[0].length,0)))}],["entity",function(e,t){var n,r,o=e.pos,i=e.posMax;if(38!==e.src.charCodeAt(o))return!1;if(o+1<i)if(35===e.src.charCodeAt(o+1)){if(r=e.src.slice(o).match(Ta))return t||(n="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),e.pending+=wi(n)?Ei(n):Ei(65533)),e.pos+=r[0].length,!0}else if(r=e.src.slice(o).match(Da)){var a=Ai(r[1]);if(r[1]!==a)return t||(e.pending+=a),e.pos+=r[0].length,!0}return t||(e.pending+="&"),e.pos++,!0}]];function Fa(){this.ruler=new Mi;for(var e=0;e<Ia.length;e++)this.ruler.push(Ia[e][0],Ia[e][1]);this.validateLink=Ma}function Ma(e){var t=e.trim().toLowerCase();return-1===(t=xi(t)).indexOf(":")||-1===["vbscript","javascript","file","data"].indexOf(t.split(":")[0])}Fa.prototype.skipToken=function(e){var t,n,r=this.ruler.getRules(""),o=r.length,i=e.pos;if((n=e.cacheGet(i))>0)e.pos=n;else{for(t=0;t<o;t++)if(r[t](e,!0))return void e.cacheSet(i,e.pos);e.pos++,e.cacheSet(i,e.pos)}},Fa.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),o=r.length,i=e.posMax;e.pos<i;){for(n=0;n<o&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Fa.prototype.parse=function(e,t,n,r){var o=new Ri(e,this,t,n,r);this.tokenize(o)};var Ra={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},full:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}};function za(e,t,n){this.src=t,this.env=n,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function Na(e,t){"string"!=typeof e&&(t=e,e="default"),t&&null!=t.linkify&&console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"),this.inline=new Fa,this.block=new da,this.core=new ra,this.renderer=new Fi,this.ruler=new Mi,this.options={},this.configure(Ra[e]),this.set(t||{})}Na.prototype.set=function(e){vi(this.options,e)},Na.prototype.configure=function(e){var t=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enable(e.components[n].rules,!0)})},Na.prototype.use=function(e,t){return e(this,t),this},Na.prototype.parse=function(e,t){var n=new za(this,e,t);return this.core.process(n),n.tokens},Na.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Na.prototype.parseInline=function(e,t){var n=new za(this,e,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Na.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var La=n(3847),qa=(0,p.A)(function(e){var t=[];for(var n in e)(0,a.A)(n,e)&&(t[t.length]=[n,e[n]]);return t}),Wa=qa,Va=function(e){return e.map(function(e,t){return t?e.charAt(0).toUpperCase()+e.substring(1):e}).join("")},Ua=function(e){return e.join("-")},Ya=function(e){return e.join("_")},Ha=[],Ka=[];[["align","content"],["align","items"],["alignment","adjust"],["alignment","baseline"],["align","self"],["animation","delay"],["animation","direction"],["animation","iteration","count"],["animation","name"],["animation","play","state"],["appearance"],["backface","visibility"],["background"],["background","attachment"],["background","blend","mode"],["background","color"],["background","composite"],["background","image"],["background","origin"],["background","position"],["background","repeat"],["baseline","shift"],["behavior"],["border"],["border","bottom"],["border","bottom","color"],["border","bottom","left","radius"],["border","bottom","right","radius"],["border","bottom","style"],["border","bottom","width"],["border","collapse"],["border","color"],["border","corner","shape"],["border","image","source"],["border","image","width"],["border","left"],["border","left","color"],["border","left","style"],["border","left","width"],["border","radius"],["border","right"],["border","right","color"],["border","right","style"],["border","right","width"],["border","spacing"],["border","style"],["border","top"],["border","top","color"],["border","top","left","radius"],["border","top","right","radius"],["border","top","style"],["border","top","width"],["border","width"],["bottom"],["box","align"],["box","decoration","break"],["box","direction"],["box","flex"],["box","flex","group"],["box","line","progression"],["box","lines"],["box","ordinal","group"],["box","shadow"],["break","after"],["break","before"],["break","inside"],["clear"],["clip"],["clip","rule"],["color"],["column","count"],["column","fill"],["column","gap"],["column","rule"],["column","rule","color"],["column","rule","width"],["columns"],["column","span"],["column","width"],["counter","increment"],["counter","reset"],["cue"],["cue","after"],["cursor"],["direction"],["display"],["fill"],["fill","opacity"],["fill","rule"],["filter"],["flex"],["flex","align"],["flex","basis"],["flex","direction"],["flex","flow"],["flex","grow"],["flex","item","align"],["flex","line","pack"],["flex","order"],["flex","shrink"],["flex","wrap"],["float"],["flow","from"],["font"],["font","family"],["font","kerning"],["font","size"],["font","size","adjust"],["font","stretch"],["font","style"],["font","synthesis"],["font","variant"],["font","variant","alternates"],["font","weight"],["grid","area"],["grid","column"],["grid","column","end"],["grid","column","start"],["grid","row"],["grid","row","end"],["grid","row","position"],["grid","row","span"],["grid","template","areas"],["grid","template","columns"],["grid","template","rows"],["height"],["hyphenate","limit","chars"],["hyphenate","limit","lines"],["hyphenate","limit","zone"],["hyphens"],["ime","mode"],["justify","content"],["layout","grid"],["layout","grid","char"],["layout","grid","line"],["layout","grid","mode"],["layout","grid","type"],["left"],["letter","spacing"],["line","break"],["line","clamp"],["line","height"],["list","style"],["list","style","image"],["list","style","position"],["list","style","type"],["margin"],["margin","bottom"],["margin","left"],["margin","right"],["margin","top"],["marquee","direction"],["marquee","style"],["mask"],["mask","border"],["mask","border","repeat"],["mask","border","slice"],["mask","border","source"],["mask","border","width"],["mask","clip"],["mask","origin"],["max","font","size"],["max","height"],["max","width"],["min","height"],["min","width"],["opacity"],["order"],["orphans"],["outline"],["outline","color"],["outline","offset"],["overflow"],["overflow","style"],["overflow","x"],["overflow","y"],["padding"],["padding","bottom"],["padding","left"],["padding","right"],["padding","top"],["page","break","after"],["page","break","before"],["page","break","inside"],["pause"],["pause","after"],["pause","before"],["perspective"],["perspective","origin"],["pointer","events"],["position"],["punctuation","trim"],["quotes"],["region","fragment"],["rest","after"],["rest","before"],["right"],["ruby","align"],["ruby","position"],["shape","image","threshold"],["shape","inside"],["shape","margin"],["shape","outside"],["speak"],["speak","as"],["stroke","opacity"],["stroke","width"],["table","layout"],["tab","size"],["text","align"],["text","align","last"],["text","decoration"],["text","decoration","color"],["text","decoration","line"],["text","decoration","line","through"],["text","decoration","none"],["text","decoration","overline"],["text","decoration","skip"],["text","decoration","style"],["text","decoration","underline"],["text","emphasis"],["text","emphasis","color"],["text","emphasis","style"],["text","height"],["text","indent"],["text","justify","trim"],["text","kashida","space"],["text","line","through"],["text","line","through","color"],["text","line","through","mode"],["text","line","through","style"],["text","line","through","width"],["text","overflow"],["text","overline"],["text","overline","color"],["text","overline","mode"],["text","overline","style"],["text","overline","width"],["text","rendering"],["text","script"],["text","shadow"],["text","transform"],["text","underline","position"],["text","underline","style"],["top"],["touch","action"],["transform"],["transform","origin"],["transform","origin","z"],["transform","style"],["transition"],["transition","delay"],["transition","duration"],["transition","property"],["transition","timing","function"],["unicode","bidi"],["unicode","range"],["user","focus"],["user","input"],["vertical","align"],["visibility"],["voice","balance"],["voice","duration"],["voice","family"],["voice","pitch"],["voice","range"],["voice","rate"],["voice","stress"],["voice","volume"],["white","space"],["white","space","treatment"],["widows"],["width"],["word","break"],["word","spacing"],["word","wrap"],["wrap","flow"],["wrap","margin"],["wrap","option"],["writing","mode"],["z","index"],["zoom"]].forEach(function(e){var t=Va(e);Ha.push(t),Ka.push([t,t]),Ka.push([Ua(e),t]),Ka.push([Ya(e),t])});var $a=new Map(Ka),Ga=Ha;function Za(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Qa(e){return Qa="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},Qa(e)}var Xa,Ja=function(e){return null!==e&&"object"===Qa(e)?Tt(function(e,t){var n,r,o=(r=2,function(e){if(Array.isArray(e))return e}(n=t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,r)||function(e,t){if(e){if("string"==typeof e)return Za(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Za(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1];return(0,La.A)(Va(i.split("_")),Ja(a),e)},{},Wa(e)):Array.isArray(e)?e.map(Ja,e):e},el=Ja;function tl(e){return tl="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},tl(e)}function nl(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof l?r:l,c=Object.create(s.prototype);return rl(c,"_invoke",function(n,r,o){var i,l,s,c=0,u=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,l=0,s=e,f.n=n,a}};function d(n,r){for(l=n,s=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],d=f.p,h=i[2];n>3?(o=h===r)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(l=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,l=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,h){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&d(u,h),l=u,s=h;(t=l<2?e:s)||!p;){i||(l?l<3?(l>1&&(f.n=-1),d(l,s)):f.n=s:f.v=s);try{if(c=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(p=f.n<0)?s:n.call(r,f))!==a)break}catch(t){i=e,l=1,s=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(rl(t={},r,function(){return this}),t),p=c.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,rl(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=c,rl(p,"constructor",c),rl(c,"constructor",s),s.displayName="GeneratorFunction",rl(c,o,"GeneratorFunction"),rl(p),rl(p,o,"Generator"),rl(p,r,function(){return this}),rl(p,"toString",function(){return"[object Generator]"}),(nl=function(){return{w:i,m:f}})()}function rl(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}rl=function(e,t,n,r){function i(t,n){rl(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},rl(e,t,n,r)}function ol(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function il(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function al(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,sl(r.key),r)}}function ll(e,t,n){return(t=sl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e){var t=function(e){if("object"!=tl(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tl(t)?t:t+""}var cl=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ll(this,"options",void 0),ll(this,"md",void 0),ll(this,"render",function(e){return n.md.render(e)}),this.options=t,this.md=new Na(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?il(Object(n),!0).forEach(function(t){ll(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):il(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({highlight:function(t,n){if(e.hljs){if(n&&e.hljs.getLanguage(n))try{return e.hljs.highlight(n,t).value}catch(e){}try{return e.hljs.highlightAuto(t).value}catch(e){}}else e.loadhljs();return""}},el(this.options)))}return t=e,n=[{key:"isReady",get:function(){return e._isReady}},{key:"loadhljs",value:(r=nl().m(function t(){return nl().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,bt.A.hljs;case 1:e.hljs=t.v,e.hljsResolve(),e._isReady=!0;case 2:return t.a(2)}},t)}),o=function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function a(e){ol(i,n,o,a,l,"next",e)}function l(e){ol(i,n,o,a,l,"throw",e)}a(void 0)})},function(){return o.apply(this,arguments)})}],n&&al(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r,o}();function ul(e){return ul="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},ul(e)}function pl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,yl(r.key),r)}}function dl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dl=function(){return!!e})()}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hl(e)}function bl(e,t){return bl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bl(e,t)}function Al(e,t,n){return(t=yl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){var t=function(e){if("object"!=ul(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ul(t)?t:t+""}Xa=cl,ll(cl,"hljs",void 0),ll(cl,"hljsResolve",void 0),ll(cl,"_isReady",new Promise(function(e){Xa.hljsResolve=e}));var vl=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Al(n=function(e,t,n){return t=hl(t),function(e,t){if(t&&("object"==ul(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,dl()?Reflect.construct(t,n||[],hl(e).constructor):t.apply(e,n))}(this,t,[e]),"getMarkdown",(0,h.B4)(function(e,t,n){return{dangerouslySetInnerHTML:{__html:t.render(String(e))}}})),Al(n,"elRef",void 0),!0!==cl.isReady&&cl.isReady.then(function(){n.setState({})}),n.elRef=(0,r.createRef)(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bl(e,t)}(t,e),n=t,i=[{key:"componentDidUpdate",value:function(){this.setFocus()}},{key:"componentDidMount",value:function(){this.setFocus()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.markdown,r=e.value;return o().createElement("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(n),!0).forEach(function(t){Al(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({ref:this.elRef,className:[t,"cell-markdown"].join(" ")},this.getMarkdown(r,n,cl.isReady)))}},{key:"setFocus",value:function(){var e=this.props,t=e.active,n=e.applyFocus;if(t){var r=this.elRef.current;if(n&&r&&document.activeElement!==r){var o=oi.getFirstParentOfType(r,"td");o&&-1!==o.className.indexOf("phantom-cell")&&o.focus()}}}}],i&&fl(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(r.PureComponent);function ml(e){return ml="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},ml(e)}function gl(e){return function(e){if(Array.isArray(e))return wl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return wl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wl(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function El(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Sl(r.key),r)}}function Cl(e,t,n){return(t=Sl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sl(e){var t=function(e){if("object"!=ml(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ml(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ml(t)?t:t+""}var kl,xl=ct(v.A),Ol=ct(v.A);!function(e){e[e.Dropdown=0]="Dropdown",e[e.DropdownLabel=1]="DropdownLabel",e[e.Input=2]="Input",e[e.Label=3]="Label",e[e.Markdown=4]="Markdown"}(kl||(kl={}));var Bl=function(){return e=function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vr(t);!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Cl(this,"handlers",void 0),Cl(this,"cell_selectable",void 0),Cl(this,"partialGet",(0,h.B4)(function(e,t,r,o,i,a,l){var s=v.A(bi,e);return xl(function(t,r){return Ol(function(e,c){return n.getContent(!1,!1,o,e,i&&i[r][c],c,r,t,s,a,l)},e)},t)})),Cl(this,"get",(0,h.B4)(function(e,t,r,o,i,a,l,s,c,u){if(!t)return e;var p=t.row,f=t.column,d=p-a.rows,h=f-a.columns;if(d<0||h<0||i.length<=d||o.length<=h)return e;var b=v.A(bi,o);return(e=cr(e))[d][h]=n.getContent(!0,r||!1,l,o[h],s&&s[d][h],f,p,i[d],b,c,u),e})),this.handlers=r,this.cell_selectable=t().cell_selectable},t=[{key:"getContent",value:function(e,t,n,r,i,a,l,s,c,u,p){var f=[].concat(gl(e?["input-active"]:[]),[n?"focused":"unfocused"],gl(this.cell_selectable?["selectable"]:[]),["dash-cell-value"]).join(" "),d=function(e,t,n,r,o){switch(r){case it.Jm.Input:return e&&t&&!o?kl.Input:kl.Label;case it.Jm.Dropdown:return n&&t?kl.Dropdown:kl.DropdownLabel;case it.Jm.Markdown:return kl.Markdown;default:return e&&t&&!o?kl.Input:kl.Label}}(e,r.editable,i&&i.options,r.presentation,u);switch(d){case kl.Dropdown:return o().createElement(di,{key:"column-".concat(a),active:e,applyFocus:t,clearable:i&&i.clearable,dropdown:i&&i.options,onChange:this.handlers(Sr.Change,l,a),value:s[r.id],disabled:u});case kl.Input:return o().createElement(ro,{key:"column-".concat(a),active:e,applyFocus:t,className:f,focused:n,onChange:this.handlers(Sr.Change,l,a),onMouseUp:this.handlers(Sr.MouseUp,l,a),onPaste:this.handlers(Sr.Paste,l,a),type:r.type,value:s[r.id]});case kl.Markdown:return o().createElement(vl,{key:"column-".concat(a),active:e,applyFocus:t,className:f,markdown:p,value:s[r.id]});case kl.DropdownLabel:case kl.Label:default:var h=d===kl.DropdownLabel?this.resolveDropdownLabel(i,s[r.id]):c[a](s[r.id]);return o().createElement(uo,{active:e,applyFocus:t,className:f,key:"column-".concat(a),value:h})}}},{key:"resolveDropdownLabel",value:function(e,t){var n=e&&e.options&&e.options.find(function(e){return e.value===t});return n?n.label:t}}],t&&El(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),_l=n(954),jl=(0,i.A)(function(e,t){return t instanceof e||null!=t&&(t.constructor===e||"Object"===e.name&&"object"==typeof t)}),Pl=(0,i.A)(function(e,t){for(var n=new Gt,r=0;r<e.length;r+=1)n.add(e[r]);return H(n.has.bind(n),t)}),Tl=Pl,Dl=(0,m.A)(function(e,t,n){return(0,lt.A)(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),Il=Dl,Fl=(0,i.A)(function(e,t){return at(t,[e])});function Ml(e){return Ml="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},Ml(e)}function Rl(e){return function(e){if(Array.isArray(e))return zl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return zl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zl(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Nl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ll(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ml(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ml(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ml(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ql(e,t,n,r,i,a){return o().createElement("td",{key:"select",className:"dash-select-cell",style:{width:"30px",maxWidth:"30px",minWidth:"30px",textAlign:"center"}},o().createElement("input",{type:"single"===n?"radio":"checkbox",style:{verticalAlign:"middle"},name:"row-select-".concat(e),checked:X.A(t,r),onChange:function(){var e="single"===n?[t]:Il(X.A(t),Tl([t]),Fl(t))(r);i({selected_rows:e,selected_row_ids:v.A(function(e){return a[e].id},e)})}}))}var Wl,Vl=(0,h.ty)(function(e,t,n,r,i,a,l,s){return ct(v.A)(function(n,c){return[].concat(Rl(a?[(u=function(){return s(function(e,t,n){var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nl(Object(n),!0).forEach(function(t){Ll(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({data:_l.A(e,1,t)},ot);return jl(Array,n)&&ke(function(t){return t>=e},n)&&(r.selected_rows=v.A(function(t){return t>e?t-1:t},Tl([e],n)),r.selected_row_ids=v.A(function(e){return r.data[e].id},r.selected_rows)),r}(r[c],t,l))},o().createElement("td",{key:"delete",className:"dash-delete-cell",onClick:function(){return u()},style:{width:"30px",maxWidth:"30px",minWidth:"30px"}},"×"))]:[]),Rl(i?[ql(e,r[c],i,l,s,t)]:[]));var u},n)});function Ul(e){return Ul="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},Ul(e)}function Yl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Hl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yl(Object(n),!0).forEach(function(t){Kl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Kl(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ul(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ul(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return Hl(Hl({},e),{},{if:function(){return!1},terminal:!1})}!function(e){e.BlockClose="close-block",e.BlockOpen="open-block",e.LogicalOperator="logical-operator",e.RelationalOperator="relational-operator",e.UnaryOperator="unary-operator",e.Expression="expression"}(Wl||(Wl={}));var Gl=function(e){var t=0,n=e.map(function(e){var n=Object.assign({},e,{nesting:t});return t+=e.lexeme.nesting||0,n}),r=n.filter(function(e){return 0===e.nesting&&"number"==typeof e.lexeme.priority}).sort(function(e,t){return(t.lexeme.priority||-1)-(e.lexeme.priority||-1)})[0];xe.Ay.trace("parser -> pivot",r,e);var o=n.indexOf(r);if(r.lexeme.syntaxer){var i=r.lexeme.syntaxer(e,r,o);return Array.isArray(i.left)&&(i.left=Gl(i.left)),Array.isArray(i.right)&&(i.right=Gl(i.right)),Array.isArray(i.block)&&(i.block=Gl(i.block)),i}throw new Error(r.lexeme.type)};function Zl(e){return Zl="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},Zl(e)}function Ql(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Jl(r.key),r)}}function Xl(e,t,n){return(t=Jl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jl(e){var t=function(e){if("object"!=Zl(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Zl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zl(t)?t:t+""}function es(e){var t=e.block,n=e.left,r=e.lexeme,o=e.right,i=e.value,a={subType:r.subType,type:r.type,value:r.present?r.present(e):i};return t&&(a.block=es(t)),n&&(a.left=es(n)),o&&(a.right=es(o)),a}var ts,ns=function(){return e=function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Xl(this,"lexicon",void 0),Xl(this,"query",void 0),Xl(this,"lexerResult",void 0),Xl(this,"syntaxerResult",void 0),Xl(this,"evaluate",function(e){if(!r.isValid){var t="DataTable filtering syntax is invalid for query: ".concat(r.query);throw xe.Ay.error(t),new Error(t)}return!(r.tree&&r.tree.lexeme&&r.tree.lexeme.evaluate)||r.tree.lexeme.evaluate(e,r.tree)}),Xl(this,"filter",function(e){return e.filter(r.evaluate)}),this.lexicon=t,this.query=n,this.lexerResult=o(Ht(this.lexicon,this.query)),this.syntaxerResult=function(e){var t=e.lexemes;if(!e.valid)return{valid:!1,error:"lexer -- ".concat(e.error)};if(0===e.lexemes.length)return{valid:!0};try{return{tree:Gl(t),valid:!0}}catch(e){return{valid:!1,error:String(e)}}}(this.lexerResult)},(t=[{key:"isValid",get:function(){return this.syntaxerResult.valid}},{key:"tree",get:function(){return this.syntaxerResult.tree}},{key:"toQueryString",value:function(){return this.lexerResult.valid?v.A(function(e){return e.lexeme.transform?e.lexeme.transform(e.value):e.value},this.lexerResult.lexemes).join(" "):""}},{key:"toStructure",value:function(){return this.isValid&&this.syntaxerResult.tree?es(this.syntaxerResult.tree):null}}])&&Ql(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),rs=/^{(([^{}\\]|\\.)+)}/,os=/^(('([^'\\]|\\.)*')|("([^"\\]|\\.)*")|(`([^`\\]|\\.)*`))/,is=function(e){return e.slice(1,e.length-1).replace(/\\(.)/g,"$1")},as={present:function(e){return is(e.value)},resolve:function(e,t){if(rs.test(t.value))return e[is(t.value)];throw new Error},regexp:rs,subType:"field",type:Wl.Expression},ls=function(e){return e.slice(1,e.length-1).replace(/\\(.)/g,"$1")},ss={present:function(e){return ls(e.value)},resolve:function(e,t){if(os.test(t.value))return ls(t.value);throw new Error},regexp:os,subType:"value",type:Wl.Expression},cs=function(e,t){var n=function(e){return function(t){return t=t.match(e)[1],_n()(t)?+t:t.replace(/\\(.)/g,"$1")}}(e);return{present:function(e){return n(e.value)},resolve:function(t,r){if(e.test(r.value))return n(r.value);throw new Error},regexp:e,regexpMatch:1,subType:"value",transform:t,type:Wl.Expression}},us=cs(/^(([^\s'"`{}()\\]|\\.)+)(?:[\s)]|$)/),ps=cs(/^(([^'"`{}()\\]|\\.)+)$/,function(e){return"string"==typeof e&&-1!==e.indexOf(" ")?'"'.concat(e,'"'):e});!function(e){e.And="&&",e.Or="||"}(ts||(ts={}));var fs,ds={evaluate:function(e,t){xe.Ay.trace("evaluate -> &&",e,t);var n=t,r=n.left.lexeme.evaluate(e,n.left),o=n.right.lexeme.evaluate(e,n.right);return r&&o},type:Wl.LogicalOperator,priority:2,regexp:/^(and\s|&&)/i,subType:ts.And,syntaxer:function(e,t,n){return Object.assign({left:e.slice(0,n),right:e.slice(n+1)},t)}},hs={evaluate:function(e,t){xe.Ay.trace("evaluate -> ||",e,t);var n=t;return n.left.lexeme.evaluate(e,n.left)||n.right.lexeme.evaluate(e,n.right)},type:Wl.LogicalOperator,subType:ts.Or,priority:3,regexp:/^(or\s|\|\|)/i,syntaxer:function(e,t,n){return Object.assign({left:e.slice(0,n),right:e.slice(n+1)},t)}};function bs(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return As(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?As(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function As(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ys(e){return function(t,n){return e(function(e,t){xe.Ay.trace("evaluate -> relational",e,t);var n=t,r=n.left.lexeme.resolve(e,n.left),o=n.right.lexeme.resolve(e,n.right);return xe.Ay.trace("opValue: ".concat(r,", expValue: ").concat(o)),[r,o,t.value]}(t,n))}}!function(e){e.Contains="contains",e.DateStartsWith="datestartswith",e.Equal="=",e.GreaterOrEqual=">=",e.GreaterThan=">",e.LessOrEqual="<=",e.LessThan="<",e.NotEqual="!="}(fs||(fs={}));var vs,ms={priority:0,syntaxer:function(e){var t=bs(e,3),n=t[0],r=t[1],o=t[2];return Object.assign({left:n,right:o},r)},type:Wl.RelationalOperator},gs=function(e,t,n,r){return"i"==r[0]?e(t.toString().toUpperCase(),n.toString().toUpperCase()):e(t,n)},ws=Ue.A({evaluate:ys(function(e){var t=bs(e,3),n=t[0],r=t[1],o=t[2];return!l.A(r)&&!l.A(n)&&("String"===He.A(r)||"String"===He.A(n))&&function(e,t,n){return"i"==n[0]?-1!==e.toString().toUpperCase().indexOf(t.toString().toUpperCase()):-1!==e.toString().indexOf(t.toString())}(n,r,o)}),subType:fs.Contains,regexp:/^((i|s)?contains)(?=\s|$)/i,regexpFlags:2,regexpMatch:1},ms),Es=Ue.A({evaluate:ys(function(e){var t,n,r,o=bs(e,3);return t=o[0],n=o[1],r=o[2],_n()(t)&&_n()(n)?+t===+n:"i"==r[0]?t.toString().toUpperCase()===n.toString().toUpperCase():t===n}),subType:fs.Equal,regexp:/^((i|s)?(=|(eq)(?=\s|$)))/i,regexpFlags:2,regexpMatch:1},ms),Cs=Ue.A({evaluate:ys(function(e){var t=bs(e,3),n=t[0],r=t[1],o=t[2];return gs(function(e,t){return e>=t},n,r,o)}),subType:fs.GreaterOrEqual,regexp:/^((i|s)?(>=|(ge)(?=\s|$)))/i,regexpFlags:2,regexpMatch:1},ms),Ss=Ue.A({evaluate:ys(function(e){var t=bs(e,3),n=t[0],r=t[1],o=t[2];return gs(function(e,t){return e>t},n,r,o)}),subType:fs.GreaterThan,regexp:/^((i|s)?(>|(gt)(?=\s|$)))/i,regexpFlags:2,regexpMatch:1},ms),ks={allow_YY:!0},xs=Ue.A({evaluate:ys(function(e){var t=bs(e,2),n=t[0],r=t[1];n="number"==typeof n?n.toString():n,r="number"==typeof r?r.toString():r;var o=Wn(n,ks),i=Wn(r,ks);return!l.A(o)&&!l.A(i)&&0===o.indexOf(i)}),subType:fs.DateStartsWith,regexp:/^((datestartswith)(?=\s|$))/i,regexpMatch:1},ms),Os=Ue.A({evaluate:ys(function(e){var t=bs(e,3),n=t[0],r=t[1],o=t[2];return gs(function(e,t){return e<=t},n,r,o)}),subType:fs.LessOrEqual,regexp:/^((i|s)?(<=|(le)(?=\s|$)))/i,regexpFlags:2,regexpMatch:1},ms),Bs=Ue.A({evaluate:ys(function(e){var t=bs(e,3),n=t[0],r=t[1],o=t[2];return gs(function(e,t){return e<t},n,r,o)}),subType:fs.LessThan,regexp:/^((i|s)?(<|(lt)(?=\s|$)))/i,regexpFlags:2,regexpMatch:1},ms),_s=Ue.A({evaluate:ys(function(e){var t=bs(e,3),n=t[0],r=t[1],o=t[2];return gs(function(e,t){return e!==t},n,r,o)}),subType:fs.NotEqual,regexp:/^((i|s)?(!=|(ne)(?=\s|$)))/i,regexpFlags:2,regexpMatch:1},ms);function js(e){return js="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},js(e)}function Ps(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ts(e){return function(t,n){return e(function(e,t){xe.Ay.trace("evaluate -> unary",e,t),xe.Ay.trace("evaluate -> unary",e,t);var n=t;return n.left.lexeme.resolve(e,n.left)}(t,n))}}!function(e){e.Not="!"}(vs||(vs={}));var Ds={present:function(e){return e.value},priority:0,syntaxer:function(e){var t,n,r=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return Ps(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ps(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1];return Object.assign({left:o},i)},type:Wl.UnaryOperator},Is={evaluate:function(e,t){xe.Ay.trace("evaluate -> unary not",e,t);var n=t;return!n.right.lexeme.evaluate(e,n.right)},type:Wl.UnaryOperator,subType:vs.Not,priority:1.5,regexp:/^!/,syntaxer:function(e){return Object.assign({right:e.slice(1,e.length)},e[0])}},Fs=Ue.A({evaluate:Ts(function(e){return"boolean"==typeof e}),regexp:/^(is bool)/i},Ds),Ms=Ue.A({evaluate:Ts(function(e){return"number"==typeof e&&e%2==0}),regexp:/^(is even)/i},Ds),Rs=Ue.A({evaluate:Ts(function(e){return null==e||""===e}),regexp:/^(is blank)/i},Ds),zs=Ue.A({evaluate:Ts(function(e){return null==e}),regexp:/^(is nil)/i},Ds),Ns=Ue.A({evaluate:Ts(function(e){return"number"==typeof e}),regexp:/^(is num)/i},Ds),Ls=Ue.A({evaluate:Ts(function(e){return null!==e&&"object"===js(e)}),regexp:/^(is object)/i},Ds),qs=Ue.A({evaluate:Ts(function(e){return"number"==typeof e&&e%2==1}),regexp:/^(is odd)/i},Ds),Ws=Ue.A({evaluate:Ts(function(e){return"number"==typeof e&&function(e){if(2===e)return!0;if(e<2||e%2==0)return!1;for(var t=3;t*t<=e;t+=2)if(e%t===0)return!1;return!0}(e)}),regexp:/^(is prime)/i},Ds),Vs=Ue.A({evaluate:Ts(function(e){return"string"==typeof e}),regexp:/^(is str)/i},Ds),Us=Tt(function(e,t){return e+(t.lexeme.nesting||0)}),Ys=function(e,t){return 0===Us(0,e)},Hs=function(e,t){return Ys(e)&&!!t&&X.A(t.lexeme.type,[Wl.RelationalOperator])},Ks=function(e,t){return!t||X.A(t.lexeme.type,[Wl.BlockOpen,Wl.LogicalOperator,Wl.RelationalOperator])},$s=function(e,t){return!t},Gs=function(e,t){return!!t&&X.A(t.lexeme.type,[Wl.BlockClose,Wl.Expression,Wl.UnaryOperator])},Zs=function(e,t){return!!t&&X.A(t.lexeme.type,[Wl.Expression])},Qs=Zs;function Xs(e){return Xs="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},Xs(e)}function Js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ec(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Js(Object(n),!0).forEach(function(t){tc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Js(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tc(e,t,n){return(t=function(e){var t=function(e){if("object"!=Xs(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Xs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xs(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nc(e){return function(e){if(Array.isArray(e))return rc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return rc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oc(e){return[ec(ec({},e===it.iV.And?ds:hs),{},{if:Gs,terminal:!1})].concat(nc([ws,xs,Es,Cs,Ss,Os,Bs,_s].map(function(e){return ec(ec({},e),{},{if:Zs,terminal:!1})})),nc([Rs,Fs,Ms,zs,Ns,Ls,qs,Ws,Vs].map(function(e){return ec(ec({},e),{},{if:Qs,terminal:!0})})),nc([as,ss,us].map(function(e){return ec(ec({},e),{},{if:Ks,terminal:Hs})})))}function ic(e){return ic="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},ic(e)}function ac(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lc(r.key),r)}}function lc(e){var t=function(e){if("object"!=ic(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ic(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ic(t)?t:t+""}function sc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sc=function(){return!!e})()}function cc(){return cc="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=uc(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},cc.apply(null,arguments)}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uc(e)}function pc(e,t){return pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pc(e,t)}var fc=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=uc(t),function(e,t){if(t&&("object"==ic(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,sc()?Reflect.construct(t,n||[],uc(e).constructor):t.apply(e,n))}(this,t,[oc(n),e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pc(e,t)}(t,e),n=t,r=[{key:"isValid",get:function(){return function(e,t,n){var r=cc(uc(e.prototype),"isValid",n);return r}(t,0,this)&&this.respectsBasicSyntax()}},{key:"statements",get:function(){if(this.syntaxerResult.tree){for(var e=[],t=[this.syntaxerResult.tree];t.length;){var n=t.pop();n&&(e.push(n),n.left&&t.push(n.left),n.block&&t.push(n.block),n.right&&t.push(n.right))}return e}}},{key:"respectsBasicSyntax",value:function(){var e=v.A(function(e){return e.value},U(function(e){return e.lexeme.type===Wl.Expression&&"field"===e.lexeme.subType},this.lexerResult.lexemes)),t=Jt(e);return e.length===t.length}}],r&&ac(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(ns),dc={nesting:-1,regexp:/^\)/,type:Wl.BlockClose},hc={evaluate:function(e,t){xe.Ay.trace("evaluate -> ()",e,t);var n=t;return n.block.lexeme.evaluate(e,n.block)},type:Wl.BlockOpen,nesting:1,subType:"()",priority:1,regexp:/^\(/,syntaxer:function(e){return Object.assign({block:e.slice(1,e.length-1)},e[0])}};function bc(e){return bc="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},bc(e)}function Ac(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ac(Object(n),!0).forEach(function(t){vc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ac(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vc(e,t,n){return(t=function(e){var t=function(e){if("object"!=bc(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mc(e){return function(e){if(Array.isArray(e))return gc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return gc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var wc=[].concat(mc([ds,hs].map(function(e){return yc(yc({},e),{},{if:Gs,terminal:!1})})),[yc(yc({},dc),{},{if:function(e,t){return!!t&&X.A(t.lexeme.type,[Wl.BlockClose,Wl.BlockOpen,Wl.Expression,Wl.UnaryOperator])&&Us(0,e)>0},terminal:Ys}),yc(yc({},hc),{},{if:function(e,t){return!t||X.A(t.lexeme.type,[Wl.BlockOpen,Wl.LogicalOperator,Wl.UnaryOperator])},terminal:!1})],mc([ws,xs,Es,Cs,Ss,Os,Bs,_s].map(function(e){return yc(yc({},e),{},{if:Zs,terminal:!1})})),mc([Rs,Fs,Ms,zs,Ns,Ls,qs,Ws,Vs].map(function(e){return yc(yc({},e),{},{if:Qs,terminal:Ys})})),[yc(yc({},Is),{},{if:function(e,t){return!t||X.A(t.lexeme.type,[Wl.LogicalOperator,Wl.UnaryOperator])},terminal:!1})],mc([as,ss,us].map(function(e){return yc(yc({},e),{},{if:Ks,terminal:Hs})})));function Ec(e){return Ec="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},Ec(e)}function Cc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cc=function(){return!!e})()}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Sc(e)}function kc(e,t){return kc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kc(e,t)}var xc=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=Sc(t),function(e,t){if(t&&("object"==Ec(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cc()?Reflect.construct(t,n||[],Sc(e).constructor):t.apply(e,n))}(this,t,[wc,e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kc(e,t)}(t,e),n=t,Object.defineProperty(n,"prototype",{writable:!1}),n;var n}(ns);function Oc(e){return Oc="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},Oc(e)}function Bc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bc(Object(n),!0).forEach(function(t){jc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jc(e,t,n){return(t=function(e){var t=function(e){if("object"!=Oc(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Oc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Oc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pc(e){return function(e){if(Array.isArray(e))return Tc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Tc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Dc=[].concat(Pc([ws,xs,Es,Cs,Ss,Os,Bs,_s].map(function(e){return _c(_c({},e),{},{if:$s,terminal:!1})})),Pc([Rs,Fs,Ms,zs,Ns,Ls,qs,Ws,Vs].map(function(e){return _c(_c({},e),{},{if:$s,terminal:!0})})),Pc([as,ps,ss].map(function(e){return _c(_c({},e),{},{if:Ks,terminal:!0})})));function Ic(e){return Ic="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},Ic(e)}function Fc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fc=function(){return!!e})()}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mc(e)}function Rc(e,t){return Rc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rc(e,t)}function zc(e){return function(e){if(Array.isArray(e))return Nc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Nc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lc(Object(n),!0).forEach(function(t){Wc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wc(e,t,n){return(t=Vc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){var t=function(e){if("object"!=Ic(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ic(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ic(t)?t:t+""}var Uc=[fs.Contains,fs.Equal,fs.GreaterOrEqual,fs.GreaterThan,fs.LessOrEqual,fs.LessThan,fs.NotEqual];function Yc(e,t){var n=l.A(e)?"":e.case===it.ze.Insensitive?"i":"s";return t.lexeme.type===Wl.RelationalOperator&&t.lexeme.subType&&-1!==Uc.indexOf(t.lexeme.subType)&&t.value&&-1===["i","s"].indexOf(t.value[0])?qc(qc({},t),{},{value:"".concat(n).concat(t.value)}):t}function Hc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:it.$C.Any,n=l.A(e)?"":e.case===it.ze.Insensitive?"i":"s";switch(t){case it.$C.Any:case it.$C.Text:return{lexeme:$l(ws),value:"".concat(n).concat(fs.Contains)};case it.$C.Datetime:return{lexeme:$l(xs),value:fs.DateStartsWith};case it.$C.Numeric:return{lexeme:$l(Es),value:"".concat(n).concat(fs.Equal)}}}function Kc(e,t){return t.valid?(2===t.lexemes.length?t.lexemes=[{lexeme:$l(as),value:"{".concat(e.id,"}")},Yc(e.filter_options,t.lexemes[0]),t.lexemes[1]]:1!==(n=t.lexemes).length||n[0].lexeme.type!==Wl.UnaryOperator?function(e){return 1===e.length&&e[0].lexeme.type===Wl.Expression}(t.lexemes)&&(t.lexemes=[{lexeme:$l(as),value:"{".concat(e.id,"}")},Hc(e.filter_options,e.type)].concat(zc(t.lexemes))):t.lexemes=[{lexeme:$l(as),value:"{".concat(e.id,"}")}].concat(zc(t.lexemes)),t):t;var n}var $c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=Mc(t),function(e,t){if(t&&("object"==Ic(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Fc()?Reflect.construct(t,n||[],Mc(e).constructor):t.apply(e,n))}(this,t,[Dc,e,Kc.bind(void 0,n)])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rc(e,t)}(t,e),n=t,Object.defineProperty(n,"prototype",{writable:!1}),n;var n}(ns);function Gc(e,t){return!e||void 0===e.column_id||(Array.isArray(e.column_id)?X.A(t,e.column_id):e.column_id===t)}function Zc(e,t){if(!e||void 0===e.row_index)return!0;var n=e.row_index;return"string"==typeof n?t%2==("odd"===n?1:0):Array.isArray(n)?X.A(t,n):t===n}var Qc=function(e,t,n,r,o){return U(function(i){return!i.checksHeaderRow()&&i.matchesActive(r)&&i.matchesSelected(o)&&i.matchesDataRow(t)&&i.matchesColumn(n)&&i.matchesFilter(e)})},Xc=function(e){return U(function(t){return!t.checksState()&&!t.checksDataRow()&&!t.checksHeaderRow()&&t.matchesColumn(e)})},Jc=function(e,t){return U(function(n){return!n.checksState()&&!n.checksDataRow()&&n.matchesHeaderRow(e)&&n.matchesColumn(t)})},eu=function(e,t){return U(function(n){return!n.checksState()&&!n.checksColumn()&&!n.checksHeaderRow()&&n.matchesDataRow(t)&&n.matchesFilter(e)})},tu=U(function(e){return!(e.checksState()||e.checksDataRow()||e.checksHeaderRow()||e.checksColumn())}),nu=function(e){return U(function(t){return!t.checksDataRow()&&!t.checksState()&&!t.checksColumn()&&t.matchesHeaderRow(e)})};function ru(e){return ru="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},ru(e)}function ou(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,su(r.key),r)}}function au(e,t,n){return t&&iu(e.prototype,t),n&&iu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function lu(e,t,n){return(t=su(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function su(e){var t=function(e){if("object"!=ru(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ru(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ru(t)?t:t+""}var cu=["borderBottom","borderLeft","borderRight","borderTop"],uu=U(function(e){return 0===e.indexOf("border")},Ga),pu=function(){return au(function e(t,n,r){var o=this;if(ou(this,e),lu(this,"weights",void 0),lu(this,"edges",void 0),lu(this,"rows",void 0),lu(this,"columns",void 0),lu(this,"defaultEdge",void 0),lu(this,"getEdge",function(e,t){return o.edges[e][t]}),lu(this,"getEdges",function(){return o.edges}),lu(this,"getWeight",function(e,t){return o.weights[e][t]}),lu(this,"isDefault",function(e,t){return o.weights[e][t]===-1/0}),lu(this,"clone",function(){return new e(o)}),"number"==typeof t&&void 0!==n){var i=t;this.rows=i,this.columns=n,this.defaultEdge=r,this.weights=v.A(function(){return new Array(n).fill(-1/0)},Ye.A(0,i)),this.edges=v.A(function(){return new Array(n).fill(r)},Ye.A(0,i))}else{var a=t;this.rows=a.rows,this.columns=a.columns,this.defaultEdge=a.defaultEdge,this.weights=cr(a.weights),this.edges=cr(a.edges)}},[{key:"setEdge",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];e<0||t<0||e>=this.rows||t>=this.columns||!o&&(l.A(n)||r<=this.weights[e][t])||(this.weights[e][t]=r,this.edges[e][t]=n)}}])}(),fu=function(){return au(function e(t,n,r,o,i){var a=this;if(ou(this,e),lu(this,"horizontal",void 0),lu(this,"vertical",void 0),lu(this,"horizontalEdges",void 0),lu(this,"verticalEdges",void 0),lu(this,"rows",void 0),lu(this,"columns",void 0),lu(this,"defaultEdge",void 0),lu(this,"getEdges",function(){return{horizontal:a.horizontal.getEdges(),vertical:a.vertical.getEdges()}}),lu(this,"getMatrices",function(){return{horizontal:a.horizontal,vertical:a.vertical}}),lu(this,"getStyle",function(e,t){return{borderBottom:a.horizontal.getEdge(e+1,t)||null,borderTop:a.horizontal.getEdge(e,t)||null,borderLeft:a.vertical.getEdge(e,t)||null,borderRight:a.vertical.getEdge(e,t+1)||null}}),lu(this,"clone",function(){return new e(a)}),"number"==typeof t&&void 0!==n){var s=t;this.rows=s,this.columns=n,this.defaultEdge=r,this.horizontalEdges=l.A(o)||o,this.verticalEdges=l.A(i)||i,this.horizontal=new pu(s+1,n,this.horizontalEdges?r:void 0),this.vertical=new pu(s,n+1,this.verticalEdges?r:void 0)}else{var c=t;this.rows=c.rows,this.columns=c.columns,this.defaultEdge=c.defaultEdge,this.horizontal=c.horizontal.clone(),this.vertical=c.vertical.clone(),this.horizontalEdges=c.horizontalEdges,this.verticalEdges=c.verticalEdges}},[{key:"setEdges",value:function(e,t,n){this.horizontalEdges&&(n.borderTop&&this.horizontal.setEdge(e,t,n.borderTop[0],n.borderTop[1]),n.borderBottom&&this.horizontal.setEdge(e+1,t,n.borderBottom[0],n.borderBottom[1])),this.verticalEdges&&(n.borderLeft&&this.vertical.setEdge(e,t,n.borderLeft[0],n.borderLeft[1]),n.borderRight&&this.vertical.setEdge(e,t+1,n.borderRight[0],n.borderRight[1]))}}])}();function du(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function hu(e){var t;return{checksColumn:function(){return!(l.A(e.if)||l.A(e.if.column_id)&&l.A(e.if.column_type)&&l.A(e.if.column_editable))},checksFilter:function(){return!l.A(e.if)&&!l.A(e.if.filter_query)},checksDataRow:function(){return!l.A(e.if)&&!l.A(e.if.row_index)},checksHeaderRow:function(){return!l.A(e.if)&&!l.A(e.if.header_index)},checksState:function(){var t;return!l.A(null===(t=e.if)||void 0===t?void 0:t.state)},checksStateActive:function(){var t;return"active"===(null===(t=e.if)||void 0===t?void 0:t.state)},checksStateSelected:function(){var t;return"selected"===(null===(t=e.if)||void 0===t?void 0:t.state)},matchesActive:function(t){return function(e,t){return"active"!==(null==e?void 0:e.state)||t}(e.if,t)},matchesColumn:function(t){return!e.if||!l.A(t)&&Gc(e.if,t&&t.id)&&(n=e.if,r=t&&t.type,!n||void 0===n.column_type||n.column_type===(r||it.$C.Any))&&function(e,t){return!e||void 0===e.column_editable||t===e.column_editable}(e.if,t&&t.editable);var n,r},matchesFilter:function(n){return!e.if||void 0===e.if.filter_query||(t=t||new xc(e.if.filter_query)).evaluate(n)},matchesDataRow:function(t){return Zc(e.if,t)},matchesHeaderRow:function(t){return function(e,t){if(!e||void 0===e.header_index)return!0;var n=e.header_index;return"string"==typeof n?t%2==("odd"===n?1:0):Array.isArray(n)?X.A(t,n):t===n}(e.if,t)},matchesSelected:function(t){return function(e,t){return"selected"!==(null==e?void 0:e.state)||t}(e.if,t)},style:bu(e)}}function bu(e){return Tt(function(e,t){var n,r,o=(r=2,function(e){if(Array.isArray(e))return e}(n=t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,r)||function(e,t){if(e){if("string"==typeof e)return du(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?du(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1];return $a.has(i)&&(e[$a.get(i)]=a),e},{},Wa(e))}var Au=(0,h.ty)(function(e,t,n,r){return we([e?[hu(e)]:[],v.A(hu,n||[]),t?[hu(t)]:[],v.A(hu,r||[])])}),yu=(0,h.ty)(function(e,t,n,r){return we([e?[hu(e)]:[],v.A(hu,n||[]),t?[hu(t)]:[],v.A(hu,r||[])])}),vu=(0,h.ty)(function(e,t,n,r){return we([e?[hu(e)]:[],v.A(hu,n||[]),t?[hu(t)]:[],v.A(hu,r||[])])}),mu=(0,h.ty)(function(e,t){return[bu(e),bu(t)]});function gu(e){for(var t={},n=0;n<e.length;++n)Object.assign(t,e[n].style);return Ve(uu,t)}var wu=function(e,t,n,r,o){return function(i){return gu(Qc(e,t,n,r,o)(i))}},Eu=n(7246);function Cu(e){return Cu="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},Cu(e)}function Su(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Su(Object(n),!0).forEach(function(t){xu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Su(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xu(e,t,n){return(t=function(e){var t=function(e){if("object"!=Cu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Cu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Cu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ou={backgroundColor:Eu.A.supportsCssVariables?"var(--selected-background)":"rgba(255, 65, 54, 0.2)"},Bu=(0,h.ty)(function(e,t,n,r){return pr(n,e,function(e,n,o){return wu(e,o+r.rows,n,!1,!1)(t)})}),_u=(0,h.ty)(function(e,t,n,r,o,i,a){e=cr(e);var l=a.length?a:i?[i]:[],s=n.filter(function(e){return!e.checksState()}),c=n.filter(function(e){return e.checksStateSelected()}),u=n.filter(function(e){return e.checksStateActive()});return l.forEach(function(n){var a=n.row,l=n.column,p=a-o.rows,f=l-o.columns;if(!(p<0||f<0||e.length<=p||e[p].length<=f)){var d=Or(i,a,l),h=ku(ku(ku(ku({},wu(r[a],a+o.rows,t[l],d,!0)(s)),Ou),wu(r[a],a+o.rows,t[l],d,!0)(c)),wu(r[a],a+o.rows,t[l],d,!0)(u));e[p][f]=h}}),e}),ju=(0,h.ty)(function(e,t,n,r){return pr(n,Ye.A(0,e),function(e,n,o){return function(e,t){return function(n){return gu(eu(e,t)(n))}}(e,o+r.rows)(t)})}),Pu=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=q.A.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.last))},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.last=t),e},e}();function Tu(e){return function(t){return new Pu(e,t)}}var Du=(0,i.A)((0,N.A)([],Tu,function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return t[n];n-=1}}));function Iu(e){return Iu="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},Iu(e)}function Fu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Mu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Nu(r.key),r)}}function Ru(e,t,n){return t&&Mu(e.prototype,t),n&&Mu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function zu(e,t,n){return(t=Nu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){var t=function(e){if("object"!=Iu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Iu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Iu(t)?t:t+""}var Lu=ct(v.A),qu=Ru(function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),zu(this,"get",(0,h.B4)(function(e,n,r,o,i,a){return Lu(function(n,l){return v.A(function(e){var s=r[l],c=a&&a.length>s&&a[s]&&a[s][e.id]||i[e.id];return t.dropdown.get(e.id,l)(c,o,e,n)},e)},n)})),zu(this,"dropdown",br()(function(e,n,r,o){var i=Du(function(e){var n,i,a=(i=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,i)||function(e,t){if(e){if("string"==typeof e)return Fu(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fu(e,t):void 0}}(n,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],c=a[1];return Gc(s.if,r.id)&&(l.A(s.if)||l.A(s.if.filter_query)||t.evaluation.get(r.id,c)(t.ast.get(r.id,c)(s.if.filter_query),o))},ct(v.A)(function(e,t){return[e,t]},n));return i&&i[0]||e||void 0})),zu(this,"ast",br()(function(e){return new xc(e)})),zu(this,"evaluation",br()(function(e,t){return e.evaluate(t)}))});function Wu(e){return Wu="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},Wu(e)}function Vu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Yu(r.key),r)}}function Uu(e,t,n){return(t=Yu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){var t=function(e){if("object"!=Wu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Wu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Wu(t)?t:t+""}var Hu=function(){return e=function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return new Bl(e)}(t),i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(new qu).get,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Vl(),l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Bu(),s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:_u(),c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:ju(),u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:function(e){return new Gr(e)}(t),p=arguments.length>8&&void 0!==arguments[8]?arguments[8]:Au();!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Uu(this,"propsFn",void 0),Uu(this,"cellContents",void 0),Uu(this,"cellDropdowns",void 0),Uu(this,"cellOperations",void 0),Uu(this,"dataPartialStyles",void 0),Uu(this,"dataStyles",void 0),Uu(this,"dataOpStyles",void 0),Uu(this,"cellWrappers",void 0),Uu(this,"relevantStyles",void 0),Uu(this,"getMarkdown",(0,h.B4)(function(e){return new cl(e)})),Uu(this,"getCells",(0,h.B4)(function(e,t){return qt(e,t,function(e,t){return e.length?e.concat(t):t})})),Uu(this,"getDataOpCell",br()(function(e,t,n,r,i,a){return o().cloneElement(e,{style:A([{borderBottom:n,borderLeft:r,borderRight:i,borderTop:a},t,e.props.style])})})),Uu(this,"getDataOpCells",(0,h.B4)(function(e,t,r){return fr(e,t,function(e,t,o,i){var a=r&&r.getStyle(o,i);return n.getDataOpCell.get(o,i)(e,t,a&&a.borderBottom,a&&a.borderLeft,a&&a.borderRight,a&&a.borderTop)})})),Uu(this,"getDataCell",br()(function(e,t,n,r,i,a,l){return o().cloneElement(e,{children:[t],style:Ue.A(n||{},{borderBottom:r,borderLeft:i,borderRight:a,borderTop:l})})})),Uu(this,"getDataCells",(0,h.B4)(function(e,t,r,o){return dr(e,r,t,function(e,t,r,i,a){var l=o&&o.getStyle(i,a);return n.getDataCell.get(i,a)(e,r,t,l&&l.borderBottom,l&&l.borderLeft,l&&l.borderRight,l&&l.borderTop)})})),this.propsFn=t,this.cellContents=r,this.cellDropdowns=i,this.cellOperations=a,this.dataPartialStyles=l,this.dataStyles=s,this.dataOpStyles=c,this.cellWrappers=u,this.relevantStyles=p},t=[{key:"props",get:function(){return this.propsFn()}},{key:"createCells",value:function(e,t){var n=this.props,r=n.active_cell,o=n.applyFocus,i=n.dropdown_conditional,a=n.dropdown,l=n.data,s=n.dropdown_data,c=n.id,u=n.is_focused,p=n.loading_state,f=n.markdown_options,d=n.row_deletable,h=n.row_selectable,b=n.selected_cells,A=n.selected_rows,y=n.setProps,v=n.style_cell,m=n.style_cell_conditional,g=n.style_data,w=n.style_data_conditional,E=n.virtualized,C=n.visibleColumns,S=this.relevantStyles(v,g,m,w),k=this.dataPartialStyles(C,S,E.data,E.offset),x=this.dataStyles(k,C,S,E.data,E.offset,r,b),O=this.dataOpStyles((h?1:0)+(d?1:0),S,E.data,E.offset),B=this.cellDropdowns(C,E.data,E.indices,i,a,s),_=this.cellOperations(c,l,E.data,E.indices,h,d,A,y),j=this.cellWrappers.partialGet(C,E.data,E.offset),P=this.cellWrappers.get(j,E.offset,r,b),T=this.getMarkdown(f),D=this.cellContents.partialGet(C,E.data,E.offset,!!u,B,p,T),I=this.cellContents.get(D,r,o||!1,C,E.data,E.offset,!!u,B,p,T),F=this.getDataOpCells(_,O,t),M=this.getDataCells(P,I,x,e);return this.getCells(F,M)}}],t&&Vu(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function Ku(e,t){var n={};return ur(e,cu,function(e,r,o){var i=e.style[r]||e.style.border;i&&(n[r]=[i,null!=t?t:o])}),n}var $u=function(e,t,n,r,o,i){return function(a){return Ku(Qc(e,t,n,r,o)(a),i)}};function Gu(e){return Gu="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},Gu(e)}function Zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zu(Object(n),!0).forEach(function(t){Xu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xu(e,t,n){return(t=function(e){var t=function(e){if("object"!=Gu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Gu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ju=Number.MAX_SAFE_INTEGER,ep=Number.MAX_SAFE_INTEGER-1,tp=(0,h.ty)(function(e,t,n,r,o){if(0!==n.length&&0!==e.length){var i=new fu(n.length,e.length,Eu.A.defaultEdge,!0,!o);return ur(n,e,function(e,n,o,a){return i.setEdges(o,a,$u(e,o+r.rows,n,!1,!1)(t))}),i}}),np=(0,h.ty)(function(e,t,n,r,o,i,a){if(!e)return e;var l=e.clone(),s=a.length?a:i?[i]:[],c=n.filter(function(e){return!e.checksState()}),u=n.filter(function(e){return e.checksStateSelected()}),p=n.filter(function(e){return e.checksStateActive()});return s.forEach(function(e){var n=e.row,a=e.column,s=n-o.rows,f=a-o.columns;if(!(s<0||f<0||r.length<=s)){var d=Or(i,n,a),h=d?Ju:ep,b=d?Eu.A.activeEdge:Eu.A.defaultEdge,A=Qu(Qu(Qu({},$u(r[s],s,t[a],d,!0,h)(c)),{},{borderBottom:[b,h],borderLeft:[b,h],borderRight:[b,h],borderTop:[b,h]},$u(r[s],s,t[a],d,!0,h)(u)),$u(r[s],s,t[a],d,!0,h)(p));l.setEdges(s,a,A)}}),l}),rp=(0,h.ty)(function(e,t,n,r,o){if(0!==n.length&&0!==e){var i=new fu(n.length,e,Eu.A.defaultEdge,!0,!o);return ur(n,Ye.A(0,e),function(e,n,o,a){return i.setEdges(o,a,function(e,t){return function(n){return Ku(eu(e,t)(n))}}(e,o+r.rows)(t))}),i}}),op=(0,h.ty)(function(e,t,n,r,o){if(t&&0!==e.length){var i=new fu(1,e.length,Eu.A.defaultEdge,!0,!o);return ur(Ye.A(0,1),e,function(e,t,o,a){i.setEdges(o,a,function(e){return function(t){return Ku(Xc(e)(t))}}(t)(r));var l=n.get(t.id.toString());l&&!l.isValid&&i.setEdges(o,a,{borderBottom:[Eu.A.activeEdge,1/0],borderLeft:[Eu.A.activeEdge,1/0],borderRight:[Eu.A.activeEdge,1/0],borderTop:[Eu.A.activeEdge,1/0]})}),i}}),ip=(0,h.ty)(function(e,t,n,r){if(t&&0!==e){var o=new fu(1,e,Eu.A.defaultEdge,!0,!r);return ur(Ye.A(0,1),Ye.A(0,e),function(e,t){return o.setEdges(e,t,function(e){return Ku(tu(e))}(n))}),o}}),ap=(0,h.ty)(function(e,t,n,r){if(0!==t&&0!==e.length){var o=new fu(t,e.length,Eu.A.defaultEdge,!0,!r);return ur(Ye.A(0,t),e,function(e,t,r,i){return o.setEdges(r,i,function(e,t){return function(n){return Ku(Jc(e,t)(n))}}(r,t)(n))}),o}}),lp=(0,h.ty)(function(e,t,n,r){if(0!==t&&0!==e){var o=new fu(t,e,Eu.A.defaultEdge,!0,!r);return ur(Ye.A(0,t),Ye.A(0,e),function(e,t){return o.setEdges(e,t,function(e){return function(t){return Ku(nu(e)(t))}}(e)(n))}),o}});function sp(e){return sp="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},sp(e)}function cp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pp(r.key),r)}}function up(e,t,n){return(t=pp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pp(e){var t=function(e){if("object"!=sp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=sp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sp(t)?t:t+""}var fp=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),up(this,"propsFn",void 0),up(this,"dataStyles",Au()),up(this,"filterStyles",yu()),up(this,"headerStyles",vu()),up(this,"getPartialDataEdges",tp()),up(this,"getDataEdges",np()),up(this,"getDataOpEdges",rp()),up(this,"getFilterEdges",op()),up(this,"getFilterOpEdges",ip()),up(this,"getHeaderEdges",ap()),up(this,"getHeaderOpEdges",lp()),up(this,"memoizedCreateEdges",(0,h.B4)(function(t,r,o,i,a,l,s,c,u,p,f,d,h,b,A,y,v,m,g,w){var E=n.dataStyles(f,h,d,b),C=n.filterStyles(f,A,d,y),S=n.headerStyles(f,v,d,m),k=Ge(r),x=n.getPartialDataEdges(o,E,g,w,p),O=n.getDataEdges(x,o,E,g,w,t,u),B=n.getDataOpEdges(i,E,g,w,p),_=n.getFilterEdges(o,a,l,C,p),j=n.getFilterOpEdges(i,a,C,p),P=n.getHeaderEdges(o,k,S,p),T=n.getHeaderOpEdges(i,k,S,p),D=(f?1:0)+d.length-1;return P=e.clone(P),T=e.clone(T),_=e.clone(_),j=e.clone(j),O=e.clone(O),B=e.clone(B),n.hReconcile(P,_||O,D),n.hReconcile(T,j||B,D),n.hReconcile(_,O,D),n.hReconcile(j,B,D),n.vReconcile(T,P,D),n.vReconcile(j,_,D),n.vReconcile(B,O,D),c===k?a?(n.hOverride(P,_,D),n.hOverride(T,j,D)):(n.hOverride(P,O,D),n.hOverride(T,B,D)):a&&c===k+1&&(n.hOverride(_,O,D),n.hOverride(j,B,D)),s===i&&(n.vOverride(T,P,D),n.vOverride(j,_,D),n.vOverride(B,O,D)),{dataEdges:O,dataOpEdges:B,filterEdges:_,filterOpEdges:j,headerEdges:P,headerOpEdges:T}})),this.propsFn=t}return t=e,n=[{key:"hOverride",value:function(t,n,r){if(t&&n)for(var o=t.getMatrices().horizontal,i=n.getMatrices().horizontal,a=o.rows-1,l=0;l<o.columns;l++)e.hasPrecedence(o.getWeight(a,l),i.getWeight(0,l),r)&&i.setEdge(0,l,o.getEdge(a,l),1/0,!0),o.setEdge(a,l,"none",-1/0,!0)}},{key:"vOverride",value:function(t,n,r){if(t&&n)for(var o=t.getMatrices().vertical,i=n.getMatrices().vertical,a=o.columns-1,l=0;l<o.rows;l++)e.hasPrecedence(o.getWeight(l,a),i.getWeight(l,0),r)&&i.setEdge(l,0,o.getEdge(l,a),1/0,!0),o.setEdge(l,a,"none",-1/0,!0)}},{key:"hReconcile",value:function(t,n,r){if(t&&n){var o=n.getMatrices().horizontal,i=t.getMatrices().horizontal,a=i.rows-1;if(isFinite(a))for(var l=0;l<i.columns;l++)e.hasPrecedence(i.getWeight(a,l),o.getWeight(0,l),r)||i.setEdge(a,l,"none",-1/0,!0)}}},{key:"vReconcile",value:function(t,n,r){if(t&&n)for(var o=n.getMatrices().vertical,i=t.getMatrices().vertical,a=i.columns-1,l=0;l<i.rows;l++)e.hasPrecedence(i.getWeight(l,a),o.getWeight(l,0),r)||i.setEdge(l,a,"none",-1/0,!0)}},{key:"props",get:function(){return this.propsFn()}},{key:"createEdges",value:function(){var e=this.props,t=e.active_cell,n=e.columns,r=e.filter_action,o=e.workFilter,i=e.fixed_columns,a=e.fixed_rows,l=e.row_deletable,s=e.row_selectable,c=e.selected_cells,u=e.style_as_list_view,p=e.style_cell,f=e.style_cell_conditional,d=e.style_data,h=e.style_data_conditional,b=e.style_filter,A=e.style_filter_conditional,y=e.style_header,v=e.style_header_conditional,m=e.virtualized,g=e.visibleColumns;return this.memoizedCreateEdges(t,n,g,(l?1:0)+(s?1:0),r.type!==it.vh.None,o.map,i,a,c,u,p,f,d,h,b,A,y,v,m.data,m.offset)}}],r=[{key:"clone",value:function(e){return e&&e.clone()}},{key:"hasPrecedence",value:function(e,t,n){return(t<=n||e===1/0)&&t<=e}}],n&&cp(t.prototype,n),r&&cp(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();function dp(e){return dp="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},dp(e)}function hp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gp(r.key),r)}}function Ap(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ap=function(){return!!e})()}function yp(e){return yp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yp(e)}function vp(e,t){return vp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vp(e,t)}function mp(e,t,n){return(t=gp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gp(e){var t=function(e){if("object"!=dp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=dp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dp(t)?t:t+""}var wp=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),mp(n=function(e,t,n){return t=yp(t),function(e,t){if(t&&("object"==dp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ap()?Reflect.construct(t,n||[],yp(e).constructor):t.apply(e,n))}(this,t,[e]),"handleKeyDown",function(e){var t=n.propsWithDefaults,r=t.stopPropagation,o=t.updateOnEnter;r&&e.stopPropagation(),o&&e.keyCode===Fe.ENTER&&n.submit()}),mp(n,"handleChange",function(e){n.setState({value:e.target.value})}),mp(n,"submit",function(){return n.state.value!==n.props.value&&n.props.submit(n.state.value)}),n.state={value:e.value},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vp(e,t)}(t,e),n=t,r=[{key:"propsWithDefaults",get:function(){return this.props}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.value,n=e.value;t!==n&&this.setState({value:n})}},{key:"render",value:function(){var e=this.propsWithDefaults,t=e.onCopy,n=e.onPaste,r=e.placeholder,i=e.updateOnBlur,a=e.updateOnSubmit,l={onBlur:i?this.submit:void 0,onKeyDown:this.handleKeyDown,onSubmit:a?this.submit:void 0};return o().createElement("input",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hp(Object(n),!0).forEach(function(t){mp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({type:"text",value:this.state.value||"",onChange:this.handleChange,onCopy:t,onPaste:n,placeholder:r},l))}}],r&&bp(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.PureComponent);mp(wp,"defaultProps",{stopPropagation:!1,updateOnEnter:!0,updateOnBlur:!0,updateOnSubmit:!0});var Ep=function(e){var t=e.filterOptions,n=e.toggleFilterOptions;return o().createElement("input",{type:"button",className:"dash-filter--case ".concat(t.case===it.ze.Sensitive?"dash-filter--case--sensitive":"dash-filter--case--insensitive"),onClick:n,title:"Toggle filter case sensitivity",value:"Aa"})};function Cp(e){return Cp="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},Cp(e)}function Sp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Bp(r.key),r)}}function kp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kp=function(){return!!e})()}function xp(e){return xp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},xp(e)}function Op(e,t){return Op=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Op(e,t)}function Bp(e){var t=function(e){if("object"!=Cp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Cp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Cp(t)?t:t+""}var _p=function(e){function t(e){var n,r,o,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t,n){return t=xp(t),function(e,t){if(t&&("object"==Cp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,kp()?Reflect.construct(t,n||[],xp(e).constructor):t.apply(e,n))}(this,t,[e]),r=n,i=function(e){(0,n.props.setFilter)({target:{value:e}})},(o=Bp(o="submit"))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,n.state={value:e.value},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Op(e,t)}(t,e),n=t,r=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.columnId,r=e.filterOptions,i=e.isValid,a=e.style,l=e.toggleFilterOptions,s=e.value;return o().createElement("th",{className:t+(i?"":" invalid"),"data-dash-column":n,style:a},o().createElement("div",null,o().createElement(wp,{onCopy:function(e){e.stopPropagation(),or.clearClipboard()},onPaste:function(e){e.stopPropagation()},value:s,placeholder:r.placeholder_text,stopPropagation:!0,submit:this.submit}),o().createElement(Ep,{filterOptions:r,toggleFilterOptions:l})))}}],r&&Sp(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.PureComponent),jp=(0,h.ty)(function(e,t){return v.A(function(e){return function(e){return function(t){return gu(Xc(e)(t))}}(e)(t)},e)}),Pp=(0,h.ty)(function(e,t,n){return pr(Ye.A(0,e),Ye.A(0,t),function(){return function(e){return gu(tu(e))}(n)})});function Tp(e){return function(e){if(Array.isArray(e))return Dp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Dp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dp(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ip=(0,h.ty)(function(e,t,n){return ct(v.A)(function(){return[].concat(Tp(n?[o().createElement("th",{key:"delete",className:"expanded-row--empty-cell dash-delete-header",style:{width:"30px",maxWidth:"30px",minWidth:"30px"}})]:[]),Tp(t?[o().createElement("th",{key:"select",className:"expanded-row--empty-cell dash-select-header",style:{width:"30px",maxWidth:"30px",minWidth:"30px"}})]:[]))},Ye.A(0,e))}),Fp=function(e,t){return e===t?new Map(t):e},Mp=(0,h.ty)(function(e,t,n,r){var o=function(e,t){if(e.isValid){var n=new Map,r=e.statements;return r?(r.forEach(function(e){if(e.lexeme.type===Wl.UnaryOperator&&e.left){var r=e.left.lexeme.present?e.left.lexeme.present(e.left):e.left.value,o=Ut(function(e){return e.id.toString()===r},t);if(!o)throw new Error("column ".concat(r," not found"));n.set(r,new $c(e.value,o))}else if(e.lexeme.type===Wl.RelationalOperator&&e.left&&e.right){var i=e.left.lexeme.present?e.left.lexeme.present(e.left):e.left.value,a=Ut(function(e){return e.id.toString()===i},t);if(!a)throw new Error("column ".concat(i," not found"));e.lexeme.present&&e.lexeme.present(e)===fs.Equal?n.set(i,new $c("".concat(e.right.value),a)):n.set(i,new $c("".concat(e.value," ").concat(e.right.value),a))}}),n):n}}(new fc(n,t),r);if(!o)return e;var i=e;return Jt(pt(Array.from(e.keys()),Array.from(o.keys()))).forEach(function(t){var n=e.get(t),r=o.get(t);l.A(r)?(i=Fp(i,e)).delete(t):(l.A(n)||r.toQueryString()!==n.toQueryString())&&(i=Fp(i,e)).set(t,r)}),i});function Rp(e,t,n){var r=t.id.toString(),o=new Map(e);return n&&n.length?o.set(r,new $c(n,t)):o.delete(r),o}function zp(e,t,n){var r=Array.from(e.values()),o=function(e,t){return v.A(function(e){return e.toQueryString()},U(function(e){return Boolean(null==e?void 0:e.query)&&e.isValid})(e)).join(" ".concat(t===it.iV.And?"&&":"||"," "))}(r,t);n(o,v.A(function(e){return e.query},U(function(e){return Boolean(null==e?void 0:e.query)})(r)).join(t===it.iV.And?" && ":" || "),e)}var Np=function(e,t,n,r,o){zp(e=Rp(e,t,r),n,o)};function Lp(e){return Lp="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},Lp(e)}function qp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Vp(r.key),r)}}function Wp(e,t,n){return(t=Vp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vp(e){var t=function(e){if("object"!=Lp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Lp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Lp(t)?t:t+""}var Up=[],Yp=function(){return e=function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Wp(this,"propsFn",void 0),Wp(this,"filterStyles",jp()),Wp(this,"filterOpStyles",Pp()),Wp(this,"relevantStyles",yu()),Wp(this,"headerOperations",Ip()),Wp(this,"onChange",function(e,t,n,r,o){xe.Ay.debug("Filter -- onChange",e.id,o.target.value&&o.target.value.trim());var i=o.target.value.trim();Np(t,e,n,i,r)}),Wp(this,"onToggleChange",function(e,t,n,r,o,i){var a=o(e);Np(t,a,n,i,r)}),Wp(this,"filter",br()(function(e,t,r,i,a,l){var s=r.get(e.id.toString());return o().createElement(_p,{key:"column-".concat(t),className:"dash-filter column-".concat(t),columnId:e.id,filterOptions:e.filter_options,isValid:!s||s.isValid,setFilter:n.onChange.bind(n,e,r,i,a),toggleFilterOptions:n.onToggleChange.bind(n,e,r,i,a).bind(n,l,s&&s.query),value:s&&s.query})})),Wp(this,"wrapperStyles",(0,h.B4)(function(e,t){return function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;++o)r[o]=t(e[o],o);return r}(e,function(e,n){return Ue.A(e,t&&t.getStyle(0,n)||{})})})),Wp(this,"getCells",(0,h.B4)(function(e,t){return[e.concat(t)]})),Wp(this,"getFilterCells",(0,h.B4)(function(e,t,n){return qt(e,t,function(e,t,r){return o().cloneElement(e,{style:A([n&&n.getStyle(0,r),t,e.props.style])})})})),Wp(this,"getOpFilterCells",(0,h.B4)(function(e,t,n){return qt(e,t,function(e,t,r){return o().cloneElement(e,{style:A([n&&n.getStyle(0,r),t,e.props.style])})})})),this.propsFn=t},t=[{key:"props",get:function(){return this.propsFn()}},{key:"createFilters",value:function(e,t){var n=this,r=this.props,o=r.filter_action,i=r.map,a=r.row_deletable,l=r.row_selectable,s=r.setFilter,c=r.style_cell,u=r.style_cell_conditional,p=r.style_filter,f=r.style_filter_conditional,d=r.toggleFilterOptions,h=r.visibleColumns;if(o.type===it.vh.None)return Up;var b=this.relevantStyles(c,p,u,f),A=this.wrapperStyles(this.filterStyles(h,b),e),y=this.filterOpStyles(1,(l?1:0)+(a?1:0),b)[0],m=ct(v.A)(function(e,t){return n.filter.get(e.id,t)(e,t,i,o.operator,s,d)},h),g=this.getFilterCells(m,A,e),w=this.headerOperations(1,l,a)[0],E=this.getOpFilterCells(w,y,t);return this.getCells(E,g)}}],t&&qp(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),Hp=(0,i.A)(function(e,t){for(var n=new Gt,r=0;r<e.length;r+=1)n.add(e[r]);return Jt(L(n.has.bind(n),t))}),Kp=Hp;function $p(e,t){return function(){return t.call(this,e.apply(this,arguments))}}var Gp=(0,p.A)((0,Ne.A)("tail",Le(1,1/0)));function Zp(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return(0,se.A)(arguments[0].length,Tt($p,arguments[0],Gp(arguments)))}var Qp=(0,p.A)(function(e){return(0,re.A)(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function Xp(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Zp.apply(this,Qp(arguments))}var Jp=(0,i.A)(Xp(Jt,at)),ef=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=q.A.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=Ee(this.xf["@@transducer/step"](e,!1))),e},e}();function tf(e){return function(t){return new ef(e,t)}}var nf,rf=(0,i.A)((0,N.A)(["all"],tf,function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})),of=(0,i.A)(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,o=0;0===r&&o<e.length;)r=e[o](t,n),o+=1;return r})}),af=of,lf=(0,p.A)(function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}});!function(e){e.Ascending="asc",e.Descending="desc",e.None="none"}(nf||(nf={}));var sf=function(e,t){return l.A(e)},cf=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.found=!1}return e.prototype["@@transducer/init"]=q.A.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.found=!0,e=Ee(this.xf["@@transducer/step"](e,this.idx))),e},e}();function uf(e){return function(t){return new cf(e,t)}}var pf=(0,i.A)((0,N.A)([],uf,function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return n;n+=1}return-1})),ff=function(e,t){if(xe.Ay.trace("multi - update sortBy",e,t),e=pn.A(e),t.direction===nf.None){var n=pf(function(e){return e.column_id===t.column_id},e);-1!==n&&e.splice(n,1)}else{var r=Ut(function(e){return e.column_id===t.column_id},e);r?r.direction=t.direction:e.push(t)}return e},df=function(e,t){return xe.Ay.trace("single - update sortBy",e,t),t.direction===nf.None?[]:[t]};function hf(e){return hf="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},hf(e)}function bf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Af(e,t,n[t])})}return e}function vf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var mf=function(){},gf={},wf={},Ef={mark:mf,measure:mf};try{"undefined"!=typeof window&&(gf=window),"undefined"!=typeof document&&(wf=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(Ef=performance)}catch(e){}var Cf=(gf.navigator||{}).userAgent,Sf=void 0===Cf?"":Cf,kf=gf,xf=wf,Of=Ef,Bf=(kf.document,!!xf.documentElement&&!!xf.head&&"function"==typeof xf.addEventListener&&"function"==typeof xf.createElement),_f=(~Sf.indexOf("MSIE")||Sf.indexOf("Trident/"),"___FONT_AWESOME___"),jf="svg-inline--fa",Pf=(function(){try{return!0}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),Tf=Pf.concat([11,12,13,14,15,16,17,18,19,20]),Df={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},If=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",Df.GROUP,Df.SWAP_OPACITY,Df.PRIMARY,Df.SECONDARY].concat(Pf.map(function(e){return"".concat(e,"x")})).concat(Tf.map(function(e){return"w-".concat(e)})),kf.FontAwesomeConfig||{});xf&&"function"==typeof xf.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=vf(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=xf.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(If[r]=o)});var Ff=yf({},{familyPrefix:"fa",replacementClass:jf,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},If);Ff.autoReplaceSvg||(Ff.observeMutations=!1);var Mf=yf({},Ff);kf.FontAwesomeConfig=Mf;var Rf=kf||{};Rf[_f]||(Rf[_f]={}),Rf[_f].styles||(Rf[_f].styles={}),Rf[_f].hooks||(Rf[_f].hooks={}),Rf[_f].shims||(Rf[_f].shims=[]);var zf=Rf[_f],Nf=[];Bf&&((xf.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(xf.readyState)||xf.addEventListener("DOMContentLoaded",function e(){xf.removeEventListener("DOMContentLoaded",e),Nf.map(function(e){return e()})}));var Lf,qf="pending",Wf="settled",Vf="fulfilled",Uf="rejected",Yf=function(){},Hf=void 0!==n.g&&void 0!==n.g.process&&"function"==typeof n.g.process.emit,Kf="undefined"==typeof setImmediate?setTimeout:setImmediate,$f=[];function Gf(){for(var e=0;e<$f.length;e++)$f[e][0]($f[e][1]);$f=[],Lf=!1}function Zf(e,t){$f.push([e,t]),Lf||(Lf=!0,Kf(Gf,0))}function Qf(e){var t=e.owner,n=t._state,r=t._data,o=e[n],i=e.then;if("function"==typeof o){n=Vf;try{r=o(r)}catch(e){td(i,e)}}Xf(i,r)||(n===Vf&&Jf(i,r),n===Uf&&td(i,r))}function Xf(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===hf(t))){var r=t.then;if("function"==typeof r)return r.call(t,function(r){n||(n=!0,t===r?ed(e,r):Jf(e,r))},function(t){n||(n=!0,td(e,t))}),!0}}catch(t){return n||td(e,t),!0}return!1}function Jf(e,t){e!==t&&Xf(e,t)||ed(e,t)}function ed(e,t){e._state===qf&&(e._state=Wf,e._data=t,Zf(rd,e))}function td(e,t){e._state===qf&&(e._state=Wf,e._data=t,Zf(od,e))}function nd(e){e._then=e._then.forEach(Qf)}function rd(e){e._state=Vf,nd(e)}function od(e){e._state=Uf,nd(e),!e._handled&&Hf&&n.g.process.emit("unhandledRejection",e._data,e)}function id(e){n.g.process.emit("rejectionHandled",e)}function ad(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof ad==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){td(t,e)}try{e(function(e){Jf(t,e)},n)}catch(e){n(e)}}(e,this)}ad.prototype={constructor:ad,_state:qf,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(Yf),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===Uf&&Hf&&Zf(id,this)),this._state===Vf||this._state===Uf?Zf(Qf,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},ad.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new ad(function(t,n){var r=[],o=0;function i(e){return o++,function(n){r[e]=n,--o||t(r)}}for(var a,l=0;l<e.length;l++)(a=e[l])&&"function"==typeof a.then?a.then(i(l),n):r[l]=a;o||t(r)})},ad.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new ad(function(t,n){for(var r,o=0;o<e.length;o++)(r=e[o])&&"function"==typeof r.then?r.then(t,n):t(r)})},ad.resolve=function(e){return e&&"object"===hf(e)&&e.constructor===ad?e:new ad(function(t){t(e)})},ad.reject=function(e){return new ad(function(t,n){n(e)})};var ld={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function sd(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function cd(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ud(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n],";")},"")}function pd(e){return e.size!==ld.size||e.x!==ld.x||e.y!==ld.y||e.rotate!==ld.rotate||e.flipX||e.flipY}function fd(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(a," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var dd={x:0,y:0,width:"100%",height:"100%"};function hd(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var bd=(Mf.measurePerformance&&Of&&Of.mark&&Of.measure,function(e,t,n,r){var o,i,a,l=Object.keys(e),s=l.length,c=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[l[0]]):(o=0,a=n);o<s;o++)a=c(a,e[i=l[o]],i,e);return a});function Ad(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Object.keys(t).reduce(function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e},{});"function"!=typeof zf.hooks.addPack||r?zf.styles[e]=yf({},zf.styles[e]||{},o):zf.hooks.addPack(e,o),"fas"===e&&Ad("fa",t)}var yd=zf.styles,vd=zf.shims,md=function(){var e=function(e){return bd(yd,function(t,n,r){return t[r]=bd(n,e,{}),t},{})};e(function(e,t,n){return t[3]&&(e[t[3]]=n),e}),e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in yd;bd(vd,function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:i},e},{})};function gd(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function wd(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?cd(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(cd(e[n]),'" ')},"").trim()}(r),">").concat(i.map(wd).join(""),"</").concat(t,">")}md(),zf.styles;function Ed(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Ed.prototype=Object.create(Error.prototype),Ed.prototype.constructor=Ed;var Cd={fill:"currentColor"},Sd={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},kd=(yf({},Cd,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),yf({},Sd,{attributeName:"opacity"}));function xd(e){var t=e[0],n=e[1],r=vf(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Mf.familyPrefix,"-").concat(Df.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Mf.familyPrefix,"-").concat(Df.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Mf.familyPrefix,"-").concat(Df.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}yf({},Cd,{cx:"256",cy:"364",r:"28"}),yf({},Sd,{attributeName:"r",values:"28;14;28;28;14;28;"}),yf({},kd,{values:"1;0;1;1;0;1;"}),yf({},Cd,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),yf({},kd,{values:"1;0;0;0;0;1;"}),yf({},Cd,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),yf({},kd,{values:"0;0;1;1;0;0;"}),zf.styles,zf.styles;var Od=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(t){e.definitions[t]=yf({},e.definitions[t]||{},o[t]),Ad(t,o[t]),md()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],o=r.prefix,i=r.iconName,a=r.icon;e[o]||(e[o]={}),e[o][i]=a}),e}}],n&&bf(t.prototype,n),e}();function Bd(){Mf.autoAddCss&&!Td&&(function(e){if(e&&Bf){var t=xf.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=xf.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}xf.head.insertBefore(t,r)}}(function(){var e="fa",t=jf,n=Mf.familyPrefix,r=Mf.replacementClass,o='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(l,".".concat(r))}return o}()),Td=!0)}function _d(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return gd(Pd.definitions,n,r)||gd(zf.styles,n,r)}var jd,Pd=new Od,Td=!1,Dd={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e},t):t}(e)}},Id=(jd=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.transform,i=void 0===o?ld:o,a=r.symbol,l=void 0!==a&&a,s=r.mask,c=void 0===s?null:s,u=r.maskId,p=void 0===u?null:u,f=r.title,d=void 0===f?null:f,h=r.titleId,b=void 0===h?null:h,A=r.classes,y=void 0===A?[]:A,v=r.attributes,m=void 0===v?{}:v,g=r.styles,w=void 0===g?{}:g;if(e){var E=e.prefix,C=e.iconName,S=e.icon;return t=yf({type:"icon"},e),n=function(){return Bd(),Mf.autoA11y&&(d?m["aria-labelledby"]="".concat(Mf.replacementClass,"-title-").concat(b||sd()):(m["aria-hidden"]="true",m.focusable="false")),function(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,l=e.symbol,s=e.title,c=e.maskId,u=e.titleId,p=e.extra,f=e.watchable,d=void 0!==f&&f,h=r.found?r:n,b=h.width,A=h.height,y="fak"===o,v=y?"":"fa-w-".concat(Math.ceil(b/A*16)),m=[Mf.replacementClass,i?"".concat(Mf.familyPrefix,"-").concat(i):"",v].filter(function(e){return-1===p.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(p.classes).join(" "),g={children:[],attributes:yf({},p.attributes,{"data-prefix":o,"data-icon":i,class:m,role:p.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(b," ").concat(A)})},w=y&&!~p.classes.indexOf("fa-fw")?{width:"".concat(b/A*16*.0625,"em")}:{};d&&(g.attributes["data-fa-i2svg"]=""),s&&g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(u||sd())},children:[s]});var E=yf({},g,{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:a,symbol:l,styles:yf({},w,p.styles)}),C=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.mask,a=e.maskId,l=e.transform,s=o.width,c=o.icon,u=i.width,p=i.icon,f=fd({transform:l,containerWidth:u,iconWidth:s}),d={tag:"rect",attributes:yf({},dd,{fill:"white"})},h=c.children?{children:c.children.map(hd)}:{},b={tag:"g",attributes:yf({},f.inner),children:[hd(yf({tag:c.tag,attributes:yf({},c.attributes,f.path)},h))]},A={tag:"g",attributes:yf({},f.outer),children:[b]},y="mask-".concat(a||sd()),v="clip-".concat(a||sd()),m={tag:"mask",attributes:yf({},dd,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,A]},g={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=p,"g"===t.tag?t.children:[t])},m]};return n.push(g,{tag:"rect",attributes:yf({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},dd)}),{children:n,attributes:r}}(E):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,i=ud(e.styles);if(i.length>0&&(n.style=i),pd(o)){var a=fd({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:yf({},a.outer),children:[{tag:"g",attributes:yf({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:yf({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(E),S=C.children,k=C.attributes;return E.children=S,E.attributes=k,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:yf({},o,{id:!0===i?"".concat(t,"-").concat(Mf.familyPrefix,"-").concat(n):i}),children:r}]}]}(E):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(pd(a)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};o.style=ud(yf({},i,{"transform-origin":"".concat(l.x+a.x/16,"em ").concat(l.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(E)}({icons:{main:xd(S),mask:c?xd(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:C,transform:yf({},ld,i),symbol:l,title:d,maskId:p,titleId:b,extra:{attributes:m,styles:w,classes:y}})},Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(e){return wd(e)})}}),Object.defineProperty(t,"node",{get:function(){if(Bf){var e=xf.createElement("div");return e.innerHTML=t.html,e.children}}}),t}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:_d(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:_d(r||{})),jd(n,yf({},t,{mask:r}))});function Fd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Md(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fd(Object(n),!0).forEach(function(t){zd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Rd(e){return Rd="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},Rd(e)}function zd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nd(e){return function(e){if(Array.isArray(e))return Ld(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ld(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ld(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ld(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qd(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1);var t}var Wd=["style"],Vd=!1;try{Vd=!0}catch(e){}function Ud(e){return e&&"object"===Rd(e)&&e.prefix&&e.iconName&&e.icon?e:Dd.icon?Dd.icon(e):null===e?null:e&&"object"===Rd(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Yd(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?zd({},e,t):{}}var Hd={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Kd=o().forwardRef(function(e,t){var n=Md(Md({},Hd),e),r=n.icon,o=n.mask,i=n.symbol,a=n.className,l=n.title,s=n.titleId,c=n.maskId,u=Ud(r),p=Yd("classes",[].concat(Nd(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,p=e.pulse,f=e.fixedWidth,d=e.inverse,h=e.border,b=e.listItem,A=e.flip,y=e.size,v=e.rotation,m=e.pull,g=(zd(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":p,"fa-fw":f,"fa-inverse":d,"fa-border":h,"fa-li":b,"fa-flip":!0===A,"fa-flip-horizontal":"horizontal"===A||"both"===A,"fa-flip-vertical":"vertical"===A||"both"===A},"fa-".concat(y),null!=y),zd(t,"fa-rotate-".concat(v),null!=v&&0!==v),zd(t,"fa-pull-".concat(m),null!=m),zd(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(g).map(function(e){return g[e]?e:null}).filter(function(e){return e})}(n)),Nd((a||"").split(" ")))),f=Yd("transform","string"==typeof n.transform?Dd.transform(n.transform):n.transform),d=Yd("mask",Ud(o)),h=Id(u,Md(Md(Md(Md({},p),f),d),{},{symbol:i,title:l,titleId:s,maskId:c}));if(!h)return function(){var e;!Vd&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var b=h.abstract,A={ref:t};return Object.keys(n).forEach(function(e){Hd.hasOwnProperty(e)||(A[e]=n[e])}),$d(b[0],A)});Kd.displayName="FontAwesomeIcon",Kd.propTypes={beat:Ao().bool,border:Ao().bool,beatFade:Ao().bool,bounce:Ao().bool,className:Ao().string,fade:Ao().bool,flash:Ao().bool,mask:Ao().oneOfType([Ao().object,Ao().array,Ao().string]),maskId:Ao().string,fixedWidth:Ao().bool,inverse:Ao().bool,flip:Ao().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Ao().oneOfType([Ao().object,Ao().array,Ao().string]),listItem:Ao().bool,pull:Ao().oneOf(["right","left"]),pulse:Ao().bool,rotation:Ao().oneOf([0,90,180,270]),shake:Ao().bool,size:Ao().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ao().bool,spinPulse:Ao().bool,spinReverse:Ao().bool,symbol:Ao().oneOfType([Ao().bool,Ao().string]),title:Ao().string,titleId:Ao().string,transform:Ao().oneOfType([Ao().string,Ao().object]),swapOpacity:Ao().bool};var $d=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map(function(n){return e(t,n)}),i=Object.keys(n.attributes||{}).reduce(function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var n,r=t.indexOf(":"),o=qd(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[n=o,n.charAt(0).toUpperCase()+n.slice(1)]=i:e[o]=i,e},{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[qd(t)]=r}return e},{attrs:{}}),a=r.style,l=void 0===a?{}:a,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(r,Wd);return i.attrs.style=Md(Md({},i.attrs.style),l),t.apply(void 0,[n.tag,Md(Md({},i.attrs),s)].concat(Nd(o)))}.bind(null,o().createElement);function Gd(e){return Gd="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},Gd(e)}function Zd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Qd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xd(e,t,n){return(t=function(e){var t=function(e){if("object"!=Gd(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Gd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jd=function(e,t,n,r,o,i,a,l,s,c,u,p){return function(){var f=e(n,r,i,a,l,p),d=et(n,r,a,l);e===nt&&Kp(t,d).length>0&&(f.selected_columns=Tl(d,t)),c(f);var h=[];Q.A(function(e){var t=r.find(function(t){return t.id===e});t&&h.push(t)},d),function(e,t,n,r){t.forEach(function(t){e=Rp(e,t,"")}),zp(e,n,r)}(u,h,o,s)}};function eh(e,t,n,r){return function(){var o;switch(rh(e,t)){case nf.Descending:o=nf.None;break;case nf.Ascending:o=nf.Descending;break;case nf.None:default:o=nf.Ascending}var i=n===it.Ie.Single?df:ff;r(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qd(Object(n),!0).forEach(function(t){Xd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({sort_by:i(t,{column_id:e,direction:o})},ot))}}function th(e,t,n,r,o){return function(){var i=function(e,t,n,r){var o=window.prompt("Enter a new column name");return null===o?null:function(e,t,n,r,o){var i=t,a=Ge(i),l=i.findIndex(function(t){return t.id===e.id});if("string"==typeof e.name&&a>1){var s=Array(a).fill(e.name),c=Ue.A(e,{name:s});(i=i.slice(0))[l]=c}var u=Je(e,i,n,r,l,!0),p=u.groupIndexFirst,f=u.groupIndexLast;return Ye.A(p,f+1).map(function(e){var t=[e,"name"];"Array"===He.A(i[e].name)&&t.push(n),i=k(P(t),o,i)}),{columns:i}}(e,t,n,r,o)}(e,t,n,o);i&&r(i)}}function nh(e,t,n,r,o,i,a,l){if(a&&!l)return function(){};var s=et(t,n,r,i,!0);return a?function(){return o({selected_columns:s})}:l?function(){return o({selected_columns:Jp(e,s)})}:function(){return o({selected_columns:Tl(s,e)})}}function rh(e,t){var n=Ut(function(t){return t.column_id===e},t);return n?n.direction:nf.None}function oh(e,t){switch(rh(e,t)){case nf.Descending:return"sort-down";case nf.Ascending:return"sort-up";case nf.None:default:return"sort"}}var ih=(0,h.ty)(function(e,t,n,r,i,a,l,s,c,u,p,f,d,h,b,A,y){return ct(v.A)(function(m,g){var w,E,C=(E=2,function(e){if(Array.isArray(e))return e}(w=m)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(w,E)||function(e,t){if(e){if("string"==typeof e)return Zd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zd(e,t):void 0}}(w,E)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),S=C[0],k=C[1],x=a.length-1,O=g===x;return ct(v.A)(function(a,v){var m,w=t[a];m=y?a===tn(k)?S.length-a:k[v+1]-a:1;var E=h!==it.vh.Custom&&ar(g,x,w.clearable),C=h!==it.vh.Custom&&ar(g,x,w.deletable),B=ar(g,x,w.hideable),_=ar(g,x,w.renamable),j=ar(g,x,w.selectable),P=t.length===m,T=et(w,n,g,y,!0),D=j&&("single"!==s||c.length===T.length)&&rf(function(e){return-1!==c.indexOf(e)},T);return o().createElement("div",{key:a},o().createElement("div",{className:"column-actions"},s&&j?o().createElement("span",{className:"column-header--select"},o().createElement("input",{checked:D,onChange:nh(c,w,n,g,A,y,"single"===s,!D),name:"column-select-".concat(e),type:"single"===s?"radio":"checkbox"})):null,u!==it.vh.None&&O?o().createElement("span",{className:"column-header--sort",onClick:eh(w.id,f,p,A)},o().createElement(Kd,{icon:oh(w.id,f)})):null,_?o().createElement("span",{className:"column-header--edit",onClick:th(w,n,g,A,y)},o().createElement(Kd,{icon:"pencil-alt"})):null,E?o().createElement("span",{className:"column-header--clear",onClick:Jd(tt,c,w,n,d,t,g,y,b,A,l,i)},o().createElement(Kd,{icon:"eraser"})):null,C?o().createElement("span",{className:"column-header--delete"+(P?" disabled":""),onClick:P?void 0:Jd(nt,c,w,n,d,t,g,y,b,A,l,i)},o().createElement(Kd,{icon:["far","trash-alt"]})):null,B?o().createElement("span",{className:"column-header--hide"+(P?" disabled":""),onClick:P?void 0:function(){var e=rt(w,t,g,y),n=r?Jp(r,e):e;A({hidden_columns:n})}},o().createElement(Kd,{icon:["far","eye-slash"]})):null),o().createElement("span",{className:"column-header-name"},S[a]))},k)},a)});function ah(e){return ah="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},ah(e)}function lh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function sh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ph(r.key),r)}}function ch(e,t,n){return t&&sh(e.prototype,t),n&&sh(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function uh(e,t,n){return(t=ph(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ph(e){var t=function(e){if("object"!=ah(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ah(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ah(t)?t:t+""}var fh=ch(function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vr(t);!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),uh(this,"handlers",void 0),uh(this,"get",function(e,t,r){return t.map(function(t,o){var i,a,l=(a=2,function(e){if(Array.isArray(e))return e}(i=t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(i,a)||function(e,t){if(e){if("string"==typeof e)return lh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lh(e,t):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=l[0],c=l[1];return c.map(function(t,i){var a,l=e[t];return a=r?t===tn(c)?s.length-t:c[i+1]-t:1,n.wrapper.get(o,t)(t,l.id,a,t===e.length-1||t===tn(c),n.handlers(Sr.EnterHeader,o,t),n.handlers(Sr.Leave,o,t),n.handlers(Sr.MoveHeader,o,t))})})}),uh(this,"wrapper",br()(function(e,t,n,r,i,a,l){return o().createElement("th",{key:"header-cell-".concat(e),"data-dash-column":t,colSpan:n,className:"dash-header "+"column-".concat(e," ")+(r?"cell--right-last ":""),onMouseEnter:i,onMouseLeave:a,onMouseMove:l})})),this.handlers=r}),dh=(0,h.ty)(function(e,t,n){return pr(Ye.A(0,t),e,function(e,t){return function(e,t){return function(n){return gu(Jc(e,t)(n))}}(e,t)(n)})}),hh=(0,h.ty)(function(e,t,n){return pr(Ye.A(0,e),Ye.A(0,t),function(e){return function(e){return function(t){return gu(nu(e)(t))}}(e)(n)})});function bh(e){return bh="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},bh(e)}function Ah(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vh(r.key),r)}}function yh(e,t,n){return(t=vh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vh(e){var t=function(e){if("object"!=bh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bh(t)?t:t+""}var mh=function(){return e=function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),yh(this,"propsFn",void 0),yh(this,"headerContent",ih()),yh(this,"headerOperations",Ip()),yh(this,"headerStyles",dh()),yh(this,"headerOpStyles",hh()),yh(this,"headerWrappers",new fh(function(){return n.props})),yh(this,"relevantStyles",vu()),yh(this,"labelsAndIndices",sr()),yh(this,"filterMergedCells",(0,h.B4)(function(e,t){for(var n=[],r=0;r<e.length;r++){for(var o=[],i=0;i<e[r].length;i++)t[r][1].includes(i)&&o.push(e[r][i]);n.push(o)}return n})),yh(this,"getCells",(0,h.B4)(function(e,t){return qt(e,t,function(e,t){return Array.prototype.concat(e,t)})})),yh(this,"getHeaderOpCells",(0,h.B4)(function(e,t,n){return fr(e,t,function(e,t,r,i){return o().cloneElement(e,{style:A([n&&n.getStyle(r,i),t,e.props.style])})})})),yh(this,"getHeaderCells",(0,h.B4)(function(e,t,n,r){return dr(e,n,t,function(e,t,n,i,a){return o().cloneElement(e,{children:[n],style:Ue.A(t||{},r&&r.getStyle(i,a)||{})})})})),this.propsFn=t},t=[{key:"props",get:function(){return this.propsFn()}},{key:"createHeaders",value:function(e,t){var n=this.props,r=n.column_selectable,o=n.columns,i=n.data,a=n.filter_action,l=n.hidden_columns,s=n.id,c=n.map,u=n.merge_duplicate_headers,p=n.page_action,f=n.row_deletable,d=n.row_selectable,h=n.selected_columns,b=n.setFilter,A=n.setProps,y=n.sort_action,v=n.sort_by,m=n.sort_mode,g=n.style_cell,w=n.style_cell_conditional,E=n.style_header,C=n.style_header_conditional,S=n.visibleColumns,k=this.labelsAndIndices(o,S,u),x=k.length,O=this.relevantStyles(g,E,w,C),B=this.headerOperations(x,d,f),_=this.headerStyles(S,x,O),j=this.headerOpStyles(x,(d?1:0)+(f?1:0),O),P=this.headerWrappers.get(S,k,u),T=this.headerContent(s,S,o,l,i,k,c,r,h,y,m,v,a.operator,p,b,A,u),D=this.getHeaderOpCells(B,j,t),I=this.filterMergedCells(_,k),F=this.getHeaderCells(P,T,I,e);return this.getCells(D,F)}}],t&&Ah(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function gh(e){return gh="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},gh(e)}function wh(e){return function(e){if(Array.isArray(e))return Eh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Eh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eh(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ch(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ch(Object(n),!0).forEach(function(t){kh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ch(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kh(e,t,n){return(t=function(e){var t=function(e){if("object"!=gh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=gh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xh=function(e,t,n,r,o){e(Sh({filter_query:n},ot)),t({workFilter:{map:o,value:n},rawFilterQuery:r})},Oh=function(e){var t=(0,h.B4)(function(e,t){return xh.bind(void 0,e,t)}),n=(0,h.B4)(function(e,t){return function(n){var r=wh(t),o=t.indexOf(n),i=Sh({},r[o]);return i.filter_options=Sh(Sh({},i.filter_options),{},{case:i.filter_options.case===it.ze.Insensitive?it.ze.Sensitive:it.ze.Insensitive}),r.splice(o,1,i),e({columns:r}),i}}),r=new Hu(e),o=function(){var r=e();return function(e,t,n){var r=e();return Ue.A(r,{map:r.workFilter.map,setFilter:t,toggleFilterOptions:n})}(e,t(r.setProps,r.setState),n(r.setProps,r.columns))},i=new Yp(o),a=new mh(o),l=new fp(e),s=(0,h.B4)(function(e,t,n){var r=[];return r.push.apply(r,wh(n)),r.push.apply(r,wh(t)),r.push.apply(r,wh(e)),r});return function(){var e=l.createEdges(),t=r.createCells(e.dataEdges,e.dataOpEdges),n=i.createFilters(e.filterEdges,e.filterOpEdges),o=a.createHeaders(e.headerEdges,e.headerOpEdges);return s(t,n,o)}},Bh=(0,n(9034).A)(4,[],function(e,t,n,r){var o=Pt(function(n,r){return e(n,r)?t(n,r):Ee(n)});return de(o,n,r)});function _h(e){return _h="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},_h(e)}function jh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ph(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jh(Object(n),!0).forEach(function(t){Th(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Th(e,t,n){return(t=function(e){var t=function(e){if("object"!=_h(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=_h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_h(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e?o().createElement("table",{className:"cell-table",tabIndex:-1},o().createElement("tbody",null,e.map(function(e,n){return o().createElement("tr",{key:"row-".concat(n+t)},e)}))):null}var Ih=function(e){return o().cloneElement(e,Ph(Ph({},e.props),{},{className:e.props.className?"".concat(e.props.className," phantom-cell"):"phantom-cell"}),"th"===e.type||"td"===e.type?null:e.props.children)},Fh=function(e){return!e||0===e.length||0===e[0].length},Mh=(0,h.ty)(function(e,t,n,r){var i=function(t){return Bh(function(t){return t.count<e},function(e,t){return e.cells++,e.count+=t.props.colSpan||1,e},{cells:0,count:0},t).cells},a=e?v.A(function(t){var n,r=i(t),a=t.slice(0,r).map(function(t,n){return r=t,i=e-n-1,o().cloneElement(r,Ph(Ph({},r.props),{},{colSpan:l.A(r.props.colSpan)?r.props.colSpan:Math.min(r.props.colSpan,i)}));var r,i}).concat(t.slice(r).map(Ih));return a[r-1]=(n=a[r-1],o().cloneElement(n,Ph(Ph({},n.props),{},{className:n.props.className?"".concat(n.props.className," last-of-type"):"last-of-type"}))),a},n):null;n=l.A(a)?n:v.A(function(e){var t=i(e);return e.slice(0,t).map(Ih).concat(e.slice(t))},n);var s=t?n.slice(0,t):null;n=n.slice(t);var c=t&&a?a.slice(0,t):null;return a=a&&a.slice(t),{grid:[[Dh(c),Dh(s)],[Dh(a),Dh(n,r)]],empty:[[Fh(c),Fh(s)],[Fh(a),Fh(n)]]}}),Rh=Tt((0,i.A)(function(e,t){return Number(e)+Number(t)}),0),zh=n(794),Nh=2147483647;function Lh(e){return"number"==typeof e?e:0}function qh(e){return"number"==typeof e?e:Nh}var Wh,Vh=(0,h.B4)(function(e,t,n,r,o,i,a,l){var s,c=function(e,t,n,r,o,i){if(e){var a=e.header,l=e.id,s=e.row;if(void 0!==l&&void 0!==s){var c,u=a?void 0:Du(function(e){return!e.if||Gc(e.if,l)&&Zc(e.if,s)&&(t=e.if,n=i.data[s-i.offset.rows],!t||void 0===t.filter_query||function(e,t){return e.isValid&&e.evaluate(t)}(new xc(t.filter_query),n));var t,n},r);if(u)return u;if(a){var p=null==n?void 0:n[l];c=Array.isArray(p)?null==p?void 0:p[s]:p}else{var f;c=null==t||null===(f=t[s])||void 0===f?void 0:f[l]}if(c)return c;var d=null==o?void 0:o[l],h=d&&"string"!=typeof d?d.use_with:zh.F.Both;return h===zh.F.Both||h===zh.F.Header===a?d:void 0}}}(e,t,n,r,o,i),u=Lh(a),p=qh(l),f=zh.D.Text;return c&&("string"==typeof c?s=c:(u=function(e,t){return"number"==typeof e||null===e?Lh(e):t}(c.delay,u),p=function(e,t){return"number"==typeof e||null===e?qh(e):t}(c.duration,p),f=c.type||zh.D.Text,s=c.value)),{delay:u,duration:p,type:f,value:s}}),Uh=n(726);function Yh(e){return Yh="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},Yh(e)}function Hh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Kh(e,t,n){return(t=Gh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gh(r.key),r)}}function Gh(e){var t=function(e){if("object"!=Yh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Yh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yh(t)?t:t+""}function Zh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zh=function(){return!!e})()}function Qh(e){return Qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qh(e)}function Xh(e,t){return Xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xh(e,t)}!function(e){e.Bottom="bottom",e.Left="left",e.Right="right",e.Top="top"}(Wh||(Wh={}));var Jh=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,n){return t=Qh(t),function(e,t){if(t&&("object"==Yh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zh()?Reflect.construct(t,n||[],Qh(e).constructor):t.apply(e,n))}(this,t,[e])).state={md:new Na},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xh(e,t)}(t,e),n=t,r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this,n=e.tooltip,r=n.delay,o=n.duration;(0,Uh.n)(Ve(["arrow"],this.props),Ve(["arrow"],e))||this.setState({display:!1,displayTooltipId:Boolean(clearTimeout(this.state.displayTooltipId))||setTimeout(function(){return t.setState({display:!0})},r),hideTooltipId:Boolean(clearTimeout(this.state.hideTooltipId))||setTimeout(function(){return t.setState({display:!1})},Math.min(r+o,Nh))})}},{key:"render",value:function(){var e=this.props,t=e.arrow,n=e.className,r=this.props.tooltip,i=r.type,a=r.value,l=this.state.md;if(!i||!a)return null;var s=i===zh.D.Text?{children:a}:{dangerouslySetInnerHTML:{__html:l.render(a)}},c=this.state.display;return o().createElement("div",{ref:this.props.divRef,className:"dash-tooltip","data-attr-anchor":t,style:{visibility:c?"visible":"hidden"}},o().createElement("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hh(Object(n),!0).forEach(function(t){Kh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:n},s)))}}],r&&$h(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Component);function eb(e){return eb="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},eb(e)}function tb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lb(r.key),r)}}function rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rb=function(){return!!e})()}function ob(e){return ob=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ob(e)}function ib(e,t){return ib=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ib(e,t)}function ab(e,t,n){return(t=lb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lb(e){var t=function(e){if("object"!=eb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=eb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eb(t)?t:t+""}var sb=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ab(n=function(e,t,n){return t=ob(t),function(e,t){if(t&&("object"==eb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,rb()?Reflect.construct(t,n||[],ob(e).constructor):t.apply(e,n))}(this,t,[e]),"tooltipRef",void 0),ab(n,"updateBounds",function(e){n.setState({cell:e})}),n.tooltipRef=(0,r.createRef)(),n.state={arrow:Wh.Bottom},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ib(e,t)}(t,e),n=t,i=[{key:"shouldComponentUpdate",value:function(e,t){return this.adjustPosition(),!(0,Uh.n)(this.props,e)||!(0,Uh.n)(this.state,t)}},{key:"componentDidUpdate",value:function(){this.adjustPosition()}},{key:"render",value:function(){var e=this.state.arrow;return o().createElement(Jh,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tb(Object(n),!0).forEach(function(t){ab(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({key:"tooltip",divRef:this.tooltipRef,arrow:e},this.props))}},{key:"adjustPosition",value:function(){var e=this.state.cell,t=this.tooltipRef.current,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(e){for(var t=e;"relative"!==getComputedStyle(t).position&&"sticky"!==getComputedStyle(t).position&&t.parentElement;)t=t.parentElement;return t}}(t);if(n&&e&&t){var r=n.getBoundingClientRect(),o=e.getBoundingClientRect(),i=t.clientWidth,a=t.clientHeight,l=Math.max(parseFloat(getComputedStyle(t,":before").borderWidth||"0"),parseFloat(getComputedStyle(t,":after").borderWidth||"0")),s=(o.width-i)/2,c=o.left-r.left+n.scrollLeft+s,u=o.top-r.top+n.scrollTop+o.height,p=c+r.left,f=p+i,d=u+r.top+a+l,h=Wh.Top;c-=Math.min(0,p),c-=Math.max(0,f-document.documentElement.clientWidth),d>document.documentElement.clientHeight&&(u-=a+l+o.height,h=Wh.Bottom),t.style.top="".concat(u,"px"),t.style.left="".concat(c,"px"),t.style.position="absolute",this.state.arrow!==h&&this.setState({arrow:h})}}}],i&&nb(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(r.Component);function cb(e){return cb="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},cb(e)}function ub(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,hb(r.key),r)}}function pb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pb=function(){return!!e})()}function fb(e){return fb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fb(e)}function db(e,t){return db=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},db(e,t)}function hb(e){var t=function(e){if("object"!=cb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=cb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cb(t)?t:t+""}var bb=function(e){function t(e){var n,r,o,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t,n){return t=fb(t),function(e,t){if(t&&("object"==cb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pb()?Reflect.construct(t,n||[],fb(e).constructor):t.apply(e,n))}(this,t,[e]),r=n,i=function(e){var t=n.props.paginator,r=parseInt(e,10);isNaN(r)||t.loadPage(r-1)},(o=hb(o="goToPage"))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&db(e,t)}(t,e),n=t,r=[{key:"render",value:function(){var e,t=this,n=this.props,r=n.paginator,i=n.page_current;if(void 0!==r.lastPage&&r.lastPage<=0)return null;var a=Math.max(3,((null!==(e=r.lastPage)&&void 0!==e?e:0)+1).toString().length),l="".concat(a+1,"ch");return o().createElement("div",{className:"previous-next-container"},o().createElement("button",{className:"first-page",onClick:r.loadFirst,disabled:!r.hasPrevious()},o().createElement(Kd,{icon:"angle-double-left"})),o().createElement("button",{className:"previous-page",onClick:r.loadPrevious,disabled:!r.hasPrevious()},o().createElement(Kd,{icon:"angle-left"})),o().createElement("div",{className:"page-number"},o().createElement("div",{className:"current-page-container"},o().createElement("div",{className:"current-page-shadow",style:{minWidth:l}},(i+1).toString()),o().createElement("input",{type:"text",className:"current-page",style:{minWidth:l},onBlur:function(e){t.goToPage(e.target.value),e.target.value=""},onKeyDown:function(e){e.keyCode===Fe.ENTER&&e.currentTarget.blur()},placeholder:(i+1).toString(),defaultValue:""})),void 0!==r.lastPage?" / ":"",void 0!==r.lastPage?o().createElement("div",{className:"last-page",style:{minWidth:l}},r.lastPage+1):""),o().createElement("button",{className:"next-page",onClick:r.loadNext,disabled:!r.hasNext()},o().createElement(Kd,{icon:"angle-right"})),o().createElement("button",{className:"last-page",onClick:r.loadLast,disabled:void 0===r.lastPage||r.isLast()},o().createElement(Kd,{icon:"angle-double-right"})))}}],r&&ub(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Component);function Ab(e){return Ab="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},Ab(e)}function yb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vb(e){return function(e){if(Array.isArray(e))return gb(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||mb(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mb(e,t){if(e){if("string"==typeof e)return gb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gb(e,t):void 0}}function gb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function wb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xb(r.key),r)}}function Eb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eb=function(){return!!e})()}function Cb(e){return Cb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cb(e)}function Sb(e,t){return Sb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sb(e,t)}function kb(e,t,n){return(t=xb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xb(e){var t=function(e){if("object"!=Ab(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ab(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ab(t)?t:t+""}var Ob=["table","tooltip","r0c0","r0c1","r1c0","r1c1","r1"],Bb={width:"100%"},_b={minHeight:"100%",minWidth:"100%"},jb=function(e){return'[data-dash-column="'.concat(CSS.escape(e),'"]:not(.phantom-cell)')},Pb=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kb(n=function(e,t,n){return t=Cb(t),function(e,t){if(t&&("object"==Ab(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Eb()?Reflect.construct(t,n||[],Cb(e).constructor):t.apply(e,n))}(this,t,[e]),"menuRef",o().createRef()),kb(n,"stylesheet",new Ie("#".concat(CSS.escape(n.props.id)))),kb(n,"tableFn",Oh(function(){return n.props})),kb(n,"tableFragments",Mh()),kb(n,"tableStyle",mu()),kb(n,"labelsAndIndices",sr()),kb(n,"calculateTableStyle",(0,h.B4)(function(e){return A(n.tableStyle(Bb,e))})),kb(n,"tableRefs",void 0),kb(n,"getLexerResult",(0,h.B4)(Ht.bind(void 0,wc))),kb(n,"handleClick",function(e){n.containsActiveElement()&&n.props.is_focused&&n.props.setProps({is_focused:!1});var t=n.menuRef;n.props.activeMenu&&t&&t.current&&!t.current.contains(e.target)&&n.props.setState({activeMenu:void 0})}),kb(n,"handleClipboardEvent",function(e,t){n.containsActiveElement()&&t(e)}),kb(n,"handleCopy",function(e){n.handleClipboardEvent(e,n.onCopy)}),kb(n,"handlePaste",function(e){n.handleClipboardEvent(e,n.onPaste)}),kb(n,"resetFragmentCells",function(e){var t=e.querySelectorAll("table.cell-table > tbody > tr:last-of-type > *");t.length&&(Array.from(t).forEach(n.clearCellWidth),Array.from(e.querySelectorAll("table.cell-table > tbody > tr > th:first-of-type")).map(function(e){return e.parentElement}).forEach(function(e){var t=Array.from(null==e?void 0:e.children);t&&t.forEach(n.clearCellWidth)}))}),kb(n,"resizeFragmentCells",function(e,t){var r=e.querySelectorAll("table.cell-table > tbody > tr:last-of-type > *");r.length&&(Array.from(r).forEach(function(e,r){return n.setCellWidth(e,t[r])}),Array.from(e.querySelectorAll("table.cell-table > tbody > tr > th:first-of-type")).map(function(e){return e.parentElement}).forEach(function(e){var r=Array.from(null==e?void 0:e.children);r&&(r.length===t.length?r.forEach(function(e,r){return n.setCellWidth(e,t[r])}):r.forEach(function(e){return n.setCellWidth(e,0)}))}))}),kb(n,"resizeFragmentTable",function(e,t){e&&(e.style.width=t)}),kb(n,"isDisplayed",function(e){return"none"!==getComputedStyle(e).display}),kb(n,"forceHandleResize",function(){return n.handleResize()}),kb(n,"getScrollbarWidthOnce",y.A(Lt)),kb(n,"handleResizeIf",(0,h.B4)(function(){var e=n.tableRefs,t=e.r0c0,r=e.r0c1,o=e.r1c0,i=e.r1c1;i.current&&i.current&&t.current&&r.current&&o.current&&n.isDisplayed(i.current)&&(r.current.style.marginLeft="",i.current.style.marginLeft="",t.current.style.width="",o.current.style.width="",[t,r,o].forEach(function(e){if(e.current){var t=e.current.querySelector("table");t&&(t.style.width=""),n.resetFragmentCells(e.current)}}),n.handleResize())})),kb(n,"handleResize",function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NaN,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=n.props,i=o.fixed_columns,a=o.fixed_rows,l=o.setState,s=n.tableRefs,c=s.r1,u=s.r1c1,p=s.r0c0,f=s.r0c1,d=s.r1c0;if(u.current&&c.current&&u.current&&p.current&&f.current&&d.current&&n.isDisplayed(u.current)){n.getScrollbarWidthOnce(c.current).then(function(e){return l({scrollbarWidth:e})});var h=p.current.querySelector("table"),b=f.current.querySelector("table"),A=d.current.querySelector("table"),y=u.current.querySelector("table"),v=getComputedStyle(y).width;if(r||(n.resizeFragmentTable(h,v),n.resizeFragmentTable(b,v),n.resizeFragmentTable(A,v)),i||a){var m=Array.from(u.current.querySelectorAll("table.cell-table > tbody > tr:last-of-type > *")).map(function(e){return e.getBoundingClientRect().width});r||(n.resizeFragmentCells(p.current,m),n.resizeFragmentCells(f.current,m),n.resizeFragmentCells(d.current,m))}if(i){var g=u.current.querySelector("tr:first-of-type > *:nth-of-type(".concat(i,")"));if(g){var w,E=g.getBoundingClientRect().right-(null===(w=u.current)||void 0===w?void 0:w.getBoundingClientRect().left);p.current.style.width="".concat(E,"px"),d.current.style.width="".concat(E,"px")}}var C=null===(e=u.current)||void 0===e?void 0:e.querySelector("tr:first-of-type > *:nth-of-type(".concat(i+1,")"));if(C){var S,k=null===(S=u.current)||void 0===S?void 0:S.getBoundingClientRect(),x=C.getBoundingClientRect().left-k.left;f.current.style.marginLeft="-".concat(x+c.current.scrollLeft,"px"),u.current.style.marginLeft="-".concat(x,"px")}if(!r){var O=parseInt(v,10),B=parseInt(getComputedStyle(y).width,10);B!==O&&n.handleResize(O,B===t)}}}),kb(n,"handleKeyDown",function(e){var t=n.props,r=t.setProps,o=t.is_focused;if(xe.Ay.trace("handleKeyDown: ".concat(e.key)),i=e.keyCode,![Fe.CONTROL,Fe.COMMAND_LEFT,Fe.COMMAND_RIGHT,Fe.COMMAND_FIREFOX].includes(i)){var i,a=function(e){return(e.ctrlKey||e.metaKey)&&!e.altKey}(e);a&&e.keyCode===Fe.V||e.keyCode===Fe.C&&a&&!o||(e.keyCode!==Fe.ESCAPE?(!o&&ze(e.keyCode)&&n.switchCell(e),o&&!ze(e.keyCode)||(e.keyCode!==Fe.TAB&&e.keyCode!==Fe.ENTER?e.keyCode!==Fe.BACKSPACE&&e.keyCode!==Fe.DELETE||n.deleteCell(e):n.switchCell(e))):r({is_focused:!1}))}}),kb(n,"switchCell",function(e){var t=e,r=n.props,o=r.active_cell,i=r.selected_cells,a=r.start_cell,l=r.end_cell,s=r.setProps,c=r.viewport,u=r.visibleColumns;if(e.preventDefault(),o){n.$el.focus();var p=i.length>1,f=t.keyCode===Fe.ENTER||t.keyCode===Fe.TAB;if(p&&f)s({is_focused:!1,active_cell:n.getNextCell(t,{currentCell:o,restrictToSelection:!0})});else if(t.shiftKey){var d=It(i),h=d.minRow,b=d.minCol,A=d.maxRow,y=d.maxCol,v=t.keyCode===Fe.ARROW_DOWN||t.keyCode===Fe.ENTER,m=t.keyCode===Fe.ARROW_UP,g=t.keyCode===Fe.ARROW_RIGHT||t.keyCode===Fe.TAB,w=t.keyCode===Fe.ARROW_LEFT,E=a&&a.row,C=a&&a.column,S=l&&l.row,k=l&&l.column;if(v)o.row>h?S=++h:A<c.data.length-1&&(S=++A);else if(m)o.row<A?S=--A:h>0&&(S=--h);else if(g)o.column>b?k=++b:y<u.length-1&&(k=++y);else{if(!w)return;o.column<y?k=--y:b>0&&(k=--b)}var x=Nt({minRow:h,maxRow:A,minCol:b,maxCol:y},u,c),O={is_focused:!1,end_cell:zt(S,k,u,c),selected_cells:x},B=S===h?A:h,_=k===b?y:b;E===B&&C===_||(O.start_cell=zt(B,_,u,c)),s(O)}else{var j=n.getNextCell(t,{currentCell:o,restrictToSelection:!1});s({is_focused:!1,selected_cells:[j],active_cell:j,start_cell:j,end_cell:j})}}else xe.Ay.warning("Trying to change cell, but no cell is active.")}),kb(n,"deleteCell",function(e){var t=n.props,r=t.data,o=t.selected_cells,i=t.setProps,a=t.viewport,l=t.visibleColumns;e.preventDefault();var s=r;v.A(function(e){return[a.indices[e.row],e.column]},o).forEach(function(e){var t=l[e[1]];if(t.editable){var n=Gn(null,t);s=k(P([e[0],t.id]),n.success?n.value:"",s)}}),i({data:s})}),kb(n,"getNextCell",function(e,t){var r,o=t.restrictToSelection,i=t.currentCell,a=n.props,l=a.selected_cells,s=a.viewport,c=a.visibleColumns,u=e,p=i.row,f=i.column;switch(u.keyCode){case Fe.ARROW_LEFT:r=o?Ft([p,f-1],l):[p,G(0,f-1)];break;case Fe.ARROW_RIGHT:case Fe.TAB:r=o?Ft([p,f+1],l):[p,Z(c.length-1,f+1)];break;case Fe.ARROW_UP:r=o?Ft([p-1,f],l):[G(0,p-1),f];break;case Fe.ARROW_DOWN:case Fe.ENTER:r=o?Ft([p+1,f],l):[Z(s.data.length-1,p+1),f];break;default:throw new Error("Table.getNextCell: unknown navigation keycode ".concat(u.keyCode))}return zt(r[0],r[1],c,s)}),kb(n,"onCopy",function(e){var t=n.props,r=t.selected_cells,o=t.viewport,i=t.columns,a=t.visibleColumns,l=t.include_headers_on_copy_paste;r.length&&or.toClipboard(e,r,i,a,o.data,l),n.$el.focus()}),kb(n,"onPaste",function(e){var t=n.props,r=t.active_cell,o=t.columns,i=t.data,a=t.editable,l=t.filter_query,s=t.loading_state,c=t.setProps,u=t.sort_by,p=t.viewport,f=t.visibleColumns,d=t.include_headers_on_copy_paste;if(a&&r&&!s){var h=or.fromClipboard(e,r,p.indices,o,f,i,!0,!u.length||!l.length,d);h&&c(h)}}),kb(n,"handleDropdown",function(){var e=n.tableRefs.r1c1;e.current&&ir(e.current.querySelector(".Select-menu-outer"))}),kb(n,"onScroll",function(e){var t=n.tableRefs,r=t.r0c0,o=t.r0c1;if(r.current&&o.current){xe.Ay.trace("ControlledTable fragment scrolled to (left,top)=(".concat(e.target.scrollLeft,",").concat(e.target.scrollTop,")"));var i=parseFloat(e.target.scrollLeft)+(parseFloat(r.current.style.width)||0);o.current.style.marginLeft="".concat(-i,"px"),n.updateUiViewport(),n.handleDropdown(),n.adjustTooltipPosition()}}),kb(n,"toggleColumn",function(e,t,r){var o=n.props,i=o.columns,a=o.hidden_columns,l=o.setProps,s=rt(e,i,t,r),c=a?a.slice(0):[];s.forEach(function(e){var t=c.indexOf(e);t>=0?c.splice(t,1):c.push(e)}),l({hidden_columns:c})}),n.updateStylesheet(),n.tableRefs=Ob.reduce(function(e,t){return e[t]=(0,r.createRef)(),e},{}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sb(e,t)}(t,e),n=t,i=[{key:"lexerResult",get:function(){var e=this.props.filter_query;return this.getLexerResult(e)}},{key:"updateStylesheet",value:function(){var e=this,t=this.props.css;Q.A(function(t){var n=t.selector,r=t.rule;e.stylesheet.setRule(n,r)},t)}},{key:"updateUiViewport",value:function(){var e,t=this.props,n=t.setState,r=t.uiViewport;if(t.virtualization){var o=null===(e=this.tableRefs.r1c1.current)||void 0===e?void 0:e.parentElement;r&&r.scrollLeft===o.scrollLeft&&r.scrollTop===o.scrollTop&&r.height===o.clientHeight&&r.width===o.clientWidth||n({uiViewport:{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,height:o.clientHeight,width:o.clientWidth}})}}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.forceHandleResize),document.addEventListener("mousedown",this.handleClick),document.addEventListener("paste",this.handlePaste),document.addEventListener("copy",this.handleCopy);var e=this.props,t=e.active_cell,n=e.selected_cells,r=e.setProps;n.length&&t&&!X.A(t,n)&&r({active_cell:n[0]}),this.updateUiViewport(),this.handleResize()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.forceHandleResize),document.removeEventListener("mousedown",this.handleClick),document.removeEventListener("paste",this.handlePaste),document.removeEventListener("copy",this.handleCopy)}},{key:"componentDidUpdate",value:function(){var e,t;this.updateStylesheet(),this.updateUiViewport();var n=this.props,r=n.fixed_columns,o=n.fixed_rows;(r||o)&&this.handleResizeIf.apply(this,vb(ee(this.props))),this.handleDropdown(),this.adjustTooltipPosition();var i=this.props.active_cell;if(this.containsActiveElement()){var a=this.getActiveCellAttributes();if(a&&i&&(a.column_id!==(null==i?void 0:i.column_id)||a.row!==(null==i?void 0:i.row))){var l=i.column_id,s=i.row,c=this.$el.querySelector('td[data-dash-row="'.concat(s,'"]').concat(jb(l)));c&&c.focus()}}var u=this.props,p=u.setState,f=u.uiCell;if(u.virtualization&&!f){var d=this.tableRefs.r1c1,h=null===(e=d.current)||void 0===e?void 0:e.querySelector("tr > td:first-of-type");if(h){var b=null===(t=d.current)||void 0===t?void 0:t.querySelectorAll("tr th:first-of-type");void 0!==b&&p({uiCell:{height:h.clientHeight},uiHeaders:v.A(function(e){return{height:e.clientHeight}},Array.from(b))})}}}},{key:"clearCellWidth",value:function(e){e.style.width="",e.style.minWidth="",e.style.maxWidth="",e.style.boxSizing=""}},{key:"$el",get:function(){return document.getElementById(this.props.id)}},{key:"containsActiveElement",value:function(){var e=this.$el;return e&&e.contains(document.activeElement)}},{key:"getActiveCellAttributes",value:function(){for(var e=document.activeElement;e&&"td"!==e.nodeName.toLowerCase();)e=e.parentElement;if(e){var t=e.getAttribute("data-dash-column"),n=e.getAttribute("data-dash-row");return{column_id:t,row:+(null!=n?n:0)}}}},{key:"getColumnRef",value:function(e,t){if(0===e){if(0===t)return this.tableRefs.r0c0;if(1===t)return this.tableRefs.r0c1}if(1==e){if(0===t)return this.tableRefs.r1c0;if(1===t)return this.tableRefs.r1c1}}},{key:"displayPagination",get:function(){var e=this.props,t=e.data,n=e.page_action,r=e.page_size;return n===it.vh.Native&&r<t.length||n===it.vh.Custom}},{key:"render",value:function(){var e=this,t=this.props,n=t.columns,r=t.id,i=t.tooltip_conditional,a=t.tooltip,l=t.currentTooltip,s=t.fill_width,c=t.filter_action,u=t.fixed_columns,p=t.fixed_rows,f=t.loading_state,d=t.scrollbarWidth,h=t.style_as_list_view,b=t.style_table,A=t.tooltip_data,y=t.tooltip_delay,m=t.tooltip_duration,g=t.tooltip_header,w=t.uiCell,E=t.uiHeaders,C=t.uiViewport,S=t.viewport,k=t.virtualized,x=t.virtualization,O=t.visibleColumns,B=[[p&&u?"dash-fixed-row dash-fixed-column":"",p?"dash-fixed-row":""],[u?"dash-fixed-column":"","dash-fixed-content"]],_=this.tableFn(),j=this.tableFragments(u,p,_,k.offset.rows),P=j.grid,T=j.empty,D=["dash-spreadsheet"].concat(vb(x?["dash-virtualized"]:[]),vb(p?["dash-freeze-top"]:[]),vb(u?["dash-freeze-left"]:[]),vb(h?["dash-list-view"]:[]),vb(T[0][1]?["dash-empty-01"]:[]),vb(T[1][1]?["dash-empty-11"]:[]),vb(O.length?[]:["dash-no-columns"]),vb(k.data.length?[]:["dash-no-data"]),vb(c.type!==it.vh.None?[]:["dash-no-filter"]),vb(s?["dash-fill-width"]:[]),vb(f?["dash-loading"]:[])),I=["dash-spreadsheet-container"].concat(vb(D)),F=["dash-spreadsheet-inner"].concat(vb(D)),M=this.calculateTableStyle(b),R=function(e,t,n,r,o,i,a){var l=[{},{fragment:{marginRight:a}}];if(!e||!t||!r)return[l,[{},{}]];var s=t.height*o.data.length,c=(Math.floor(r.scrollTop/t.height)-i.before)*t.height,u=Rh(v.A(function(e){return e.height},n||[])),p=e&&r&&t?Math.max(c-u,0):0;return[l,[{cell:{marginTop:p}},{fragment:{height:Math.max(s-p,0),marginTop:p}}]]}(x,w,E,C,S,k.padding.rows,d),z=Vh(l,A,g,i,a,k,y,m),N=this.props,L=N.export_columns,q=N.export_format,W=N.export_headers,V=N.virtual,U=N.merge_duplicate_headers,Y=N.paginator,H=N.page_current,K=N.page_count,$={export_columns:L,export_format:q,virtual_data:V,columns:n,visibleColumns:O,export_headers:W,merge_duplicate_headers:U};return o().createElement("div",{id:r,className:"dash-table-container",onKeyDown:this.handleKeyDown,onPaste:this.onPaste,style:{position:"relative"}},o().createElement(sb,{key:"tooltip",ref:this.tableRefs.tooltip,className:"dash-table-tooltip",tooltip:z}),o().createElement("div",{className:"dash-spreadsheet-menu"},this.renderMenu(),o().createElement(_t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yb(Object(n),!0).forEach(function(t){kb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},$))),o().createElement("div",{className:I.join(" "),style:M},o().createElement("div",{ref:this.tableRefs.table,className:F.join(" "),style:_b},P.map(function(t,n){return o().createElement("div",{key:"r".concat(n),ref:1===n?e.tableRefs.r1:void 0,className:"dt-table-container__row dt-table-container__row-".concat(n),onScroll:e.onScroll},function(e,t,n,r){for(var o=e.length,i=new Array(o),a=0;a<o;++a)i[a]=r(e[a],t[a],n[a],a);return i}(t,R[n],B[n],function(t,r,i,a){return o().createElement("div",{style:r.fragment,key:a,ref:e.getColumnRef(n,a),className:"cell cell-".concat(n,"-").concat(a," ").concat(i)},t?o().cloneElement(t,{style:r.cell}):t)}))}))),this.displayPagination?o().createElement(bb,{paginator:Y,page_current:H,page_count:K}):null)}},{key:"renderMenu",value:function(){var e=this;if(!this.showToggleColumns)return null;var t=this.props,n=t.activeMenu,r=t.columns,i=t.hidden_columns,a=t.merge_duplicate_headers,s=t.setState,c=this.labelsAndIndices(r,r,a),u=c.length-1;return o().createElement("div",{className:"dash-spreadsheet-menu-item",ref:this.menuRef},o().createElement("button",{className:"show-hide",onClick:function(){return s({activeMenu:"show/hide"===n?void 0:"show/hide"})}},"Toggle Columns"),"show/hide"!==n?null:o().createElement("div",{className:"show-hide-menu"},we(c.map(function(t,n){var l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||mb(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,2)[1];return l.map(function(t,s){var c=1===l.length,p=r[t],f=!i||i.indexOf(p.id)<0,d=ar(n,u,p.hideable),h=c&&f||!d&&f;return{i:t,j:s,component:d?o().createElement("div",{className:"show-hide-menu-item"},o().createElement("input",{type:"checkbox",checked:f,disabled:h,onClick:e.toggleColumn.bind(e,p,n,a)}),o().createElement("label",null,p.name?"string"==typeof p.name?p.name:p.name.slice(0,n+1).filter(function(e){return 0!==e.length}).join(" | "):p.id)):null}})})).filter(function(e){return!l.A(e)}).sort(function(e,t){return e.i-t.i||e.j-t.j}).map(function(e){return e.component})))}},{key:"adjustTooltipPosition",value:function(){var e=this.props.currentTooltip;if(e){var t=e.id,n=e.row,r=e.header,o=this.tableRefs,i=o.table,a=o.tooltip;if(a.current&&i.current){var l=i.current.querySelector(r?"tr:nth-of-type(".concat(n+1,") th").concat(jb(t)):'td[data-dash-row="'.concat(n,'"]').concat(jb(t)));a.current.updateBounds(l)}}}},{key:"setCellWidth",value:function(e,t){"number"==typeof t&&(t="".concat(t,"px")),e.style.width=t,e.style.minWidth=t,e.style.maxWidth=t,e.style.boxSizing="border-box"}},{key:"showToggleColumns",get:function(){var e=this.props,t=e.columns,n=e.hidden_columns;return n&&n.length>0||ke(function(e){return!!e.hideable},t)}}],i&&wb(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(r.PureComponent),Tb=n(5072),Db=n.n(Tb),Ib=n(7825),Fb=n.n(Ib),Mb=n(7659),Rb=n.n(Mb),zb=n(5056),Nb=n.n(zb),Lb=n(540),qb=n.n(Lb),Wb=n(1113),Vb=n.n(Wb),Ub=n(1467),Yb={};Yb.styleTagTransform=Vb(),Yb.setAttributes=Nb(),Yb.insert=Rb().bind(null,"head"),Yb.domAPI=Fb(),Yb.insertStyleElement=qb(),Db()(Ub.A,Yb),Ub.A&&Ub.A.locals&&Ub.A.locals;var Hb=n(5366),Kb={};Kb.styleTagTransform=Vb(),Kb.setAttributes=Nb(),Kb.insert=Rb().bind(null,"head"),Kb.domAPI=Fb(),Kb.insertStyleElement=qb(),Db()(Hb.A,Kb),Hb.A&&Hb.A.locals&&Hb.A.locals;Pd.add({prefix:"fas",iconName:"eraser",icon:[512,512,[],"f12d","M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z"]},{prefix:"far",iconName:"eye-slash",icon:[640,512,[],"f070","M634 471L36 3.51A16 16 0 0 0 13.51 6l-10 12.49A16 16 0 0 0 6 41l598 467.49a16 16 0 0 0 22.49-2.49l10-12.49A16 16 0 0 0 634 471zM296.79 146.47l134.79 105.38C429.36 191.91 380.48 144 320 144a112.26 112.26 0 0 0-23.21 2.47zm46.42 219.07L208.42 260.16C210.65 320.09 259.53 368 320 368a113 113 0 0 0 23.21-2.46zM320 112c98.65 0 189.09 55 237.93 144a285.53 285.53 0 0 1-44 60.2l37.74 29.5a333.7 333.7 0 0 0 52.9-75.11 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64c-36.7 0-71.71 7-104.63 18.81l46.41 36.29c18.94-4.3 38.34-7.1 58.22-7.1zm0 288c-98.65 0-189.08-55-237.93-144a285.47 285.47 0 0 1 44.05-60.19l-37.74-29.5a333.6 333.6 0 0 0-52.89 75.1 32.35 32.35 0 0 0 0 29.19C89.72 376.41 197.08 448 320 448c36.7 0 71.71-7.05 104.63-18.81l-46.41-36.28C359.28 397.2 339.89 400 320 400z"]},{prefix:"fas",iconName:"pencil-alt",icon:[512,512,[],"f303","M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"]},{prefix:"fas",iconName:"sort",icon:[320,512,[],"f0dc","M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"]},{prefix:"fas",iconName:"sort-down",icon:[320,512,[],"f0dd","M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"]},{prefix:"fas",iconName:"sort-up",icon:[320,512,[],"f0de","M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"]},{prefix:"far",iconName:"trash-alt",icon:[448,512,[],"f2ed","M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z"]},{prefix:"fas",iconName:"angle-left",icon:[256,512,[],"f104","M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"]},{prefix:"fas",iconName:"angle-right",icon:[256,512,[],"f105","M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"]},{prefix:"fas",iconName:"angle-double-left",icon:[448,512,[],"f100","M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z"]},{prefix:"fas",iconName:"angle-double-right",icon:[448,512,[],"f101","M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"]});var $b=n(3650),Gb={};function Zb(e){return Zb="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},Zb(e)}function Qb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xb(e,t,n){return(t=function(e){var t=function(e){if("object"!=Zb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Zb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jb(e,t){return Math.ceil(e.length/t)}Gb.styleTagTransform=Vb(),Gb.setAttributes=Nb(),Gb.insert=Rb().bind(null,"head"),Gb.domAPI=Fb(),Gb.insertStyleElement=qb(),Db()($b.A,Gb),$b.A&&$b.A.locals&&$b.A.locals;var eA=(0,h.ty)(function(e,t,n,r,o,i){return e===it.vh.Native&&(r=Jb(i,n)),r&&(r=Math.max(r,1)),function(e){if(null===e)return{loadNext(){},loadPrevious(){},loadFirst(){},loadLast(){},loadPage(){},hasPrevious(){return!0},hasNext(){return!0},isLast(){return!1},lastPage:void 0};var t=e.setProps,n=e.page_count,r=e.page_current;function o(){t(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qb(Object(n),!0).forEach(function(t){Xb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({page_current:r},ot))}function i(e){e=Math.max(0,e),e=n?Math.min(n-1,e):e,r=e,o()}return n&&n-1<r&&(r=0,o()),{loadNext:function(){return i(r+1)},loadPrevious:function(){return i(r-1)},loadFirst:function(){return i(0)},loadPage:i,loadLast:function(){n&&i(n-1)},hasPrevious:function(){return 0!==r},hasNext:function(){return!n||r!==n-1},isLast:function(){return!!n&&r===n-1},lastPage:n?Math.max(0,n-1):void 0}}(e===it.vh.None?null:{setProps:o,page_current:t,page_count:r})}),tA=(0,h.ty)(function(e,t){return e.map(function(e){return e.id}).filter(function(e){return-1!==t.indexOf(e)})}),nA=(0,h.ty)(function(e,t){var n=new Map;e.forEach(function(e,t){n.set(e,t)});var r=[];return t.forEach(function(e){var t=n.get(e);void 0!==t&&r.push(t)}),r}),rA=(0,h.ty)(function(e,t,n,r,o){switch(e){case it.vh.None:return function(e,t){return{data:e,indices:t}}(r,o);case it.vh.Native:return function(e,t,n,r){var o=t*Math.min(e,Jb(n,t)),i=Math.min(o+t,n.length);return{data:n.slice(o,i),indices:r.slice(o,i)}}(t,n,r,o);case it.vh.Custom:return function(e,t){return{data:e,indices:t}}(r,o);default:throw new Error("Unknown pagination mode: '".concat(e,"'"))}}),oA=(0,h.ty)(function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=new Map;if(ct(Q.A)(function(e,t){a.set(e,t)},t),n.type===it.vh.Native){var s=new xc(r);t=s.isValid?s.filter(t):t}return o===it.vh.Native&&(t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sf;return t.length?af(v.A(function(e){return e.direction===nf.Descending?lf(function(t,r){var o=e.column_id,i=t[o],a=r[o];return!n(i,e.column_id)&&(!!n(a,e.column_id)||i>a)}):lf(function(t,r){var o=e.column_id,i=t[o],a=r[o];return!n(i,e.column_id)&&(!!n(a,e.column_id)||i<a)})},t),e):e}(t,i,function(t,n){return l.A(t)||X.A(t,function(t){var n=Ut(function(e){return e.id===t},e);return n&&n.sort_as_null||[]}(n))})),{data:t,indices:v.A(function(e){return a.get(e)},t)}});function iA(e){return iA="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},iA(e)}function aA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aA(Object(n),!0).forEach(function(t){sA(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sA(e,t,n){return(t=function(e){var t=function(e){if("object"!=iA(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=iA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==iA(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cA=(0,h.ty)(function(e,t,n,r,o){if(!e)return lA(lA({},o),{},{offset:{rows:0,columns:0},padding:{rows:{before:0,after:0}}});if(!r||!t)return{data:o.data.slice(0,1),indices:o.indices.slice(0,1),offset:{rows:0,columns:0},padding:{rows:{before:0,after:0}}};var i=Rh(v.A(function(e){return e.height},n||[])),a=Math.max(r.scrollTop-i,0),l=Math.max(i-r.scrollTop,0),s=Math.floor(a/t.height),c=Math.ceil((r.height-l+a)/t.height),u=Math.min(s,1),p=Math.min(o.data.length-c,1);return s-=u,c+=p,{data:o.data.slice(s,c),indices:o.indices.slice(s,c),offset:{rows:s,columns:0},padding:{rows:{before:u,after:p}}}});function uA(e){return uA="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},uA(e)}function pA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pA(Object(n),!0).forEach(function(t){dA(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dA(e,t,n){return(t=function(e){var t=function(e){if("object"!=uA(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=uA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==uA(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hA=/^derived_/;function bA(e){return bA="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},bA(e)}function AA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,EA(r.key),r)}}function vA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vA=function(){return!!e})()}function mA(e){return mA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},mA(e)}function gA(e,t){return gA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gA(e,t)}function wA(e,t,n){return(t=EA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function EA(e){var t=function(e){if("object"!=bA(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bA(t)?t:t+""}var CA=function(e){function t(e){var n,r,o,i,a,l,s,c,p,f,d,b,y,m,g,w,E,C;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),wA(n=function(e,t,n){return t=mA(t),function(e,t){if(t&&("object"==bA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vA()?Reflect.construct(t,n||[],mA(e).constructor):t.apply(e,n))}(this,t,[e]),"__setProps",(0,h.B4)(function(e){return e?function(t){if(u("data",t)){var r=n.props.data;t.data_timestamp=Date.now(),t.data_previous=r}e(t)}:function(e){n.setState(e)}})),wA(n,"__setState",(0,h.B4)(function(){return function(e){return n.setState(e)}})),wA(n,"filterMap",Mp()),wA(n,"controlledPropsHelper",(r=eA(),o=rA(),i=tA(),a=nA(),l=oA(),s=nA(),c=cA(),function(e,t,n,u){var p=Ue.A(n,u),f=p.data,d=p.filter_query,h=p.filter_action,b=p.page_action,y=p.page_current,v=p.page_size,m=p.page_count,g=p.selected_columns,w=p.selected_rows,E=p.sort_action,C=p.sort_by,S=p.uiCell,k=p.uiHeaders,x=p.uiViewport,O=p.virtualization,B=p.visibleColumns,_=l(B,f,h,d,E,C),j=o(b,y,v,_.data,_.indices),P=c(O,S,k,x,j),T=s(_.indices,w),D=i(B,g),I=a(j.indices,w),F=r(b,y,v,m,e,_.data);return A([n,u,{paginator:F,setProps:e,setState:t,viewport:j,viewport_selected_columns:D,viewport_selected_rows:I,virtual:_,virtual_selected_rows:T,virtualized:P}])})),wA(n,"updateDerivedProps",(p=(0,h.Hc)(function(e){return e}),f=(0,h.Hc)(function(e,t){return[e,t]}),d=(0,h.Hc)(function(e){return e}),b=(0,h.Hc)(function(e){return e}),y=(0,h.Hc)(function(e){return e}),m=(0,h.Hc)(function(e){return e}),g=(0,h.Hc)(function(e){return e}),w=(0,h.Hc)(function(e){return e}),E=(0,h.Hc)(function(e){return e}),C=(0,h.Hc)(function(e){return new xc(e).toStructure()}),function(e,t){var n=e.filter_query,r=e.filter_action,o=e.page_action,i=e.page_current,a=e.page_size,l=e.selected_rows,s=e.sort_action,c=e.sort_by,u=e.viewport,h=e.viewport_selected_columns,A=e.viewport_selected_rows,S=e.virtual,k=e.virtual_selected_rows,x=C(n),O=y(u).cached,B=w(S).cached,_=m(h).cached,j=g(A).cached,P=E(k).cached,T=p(n),D=f(i,a),I=b(c),F=d(l).cached&&(!T.cached&&!T.first&&r.type===it.vh.Custom||!D.cached&&!D.first&&o===it.vh.Custom||!I.cached&&!I.first&&s===it.vh.Custom),M={};x.cached||(M.derived_filter_query_structure=x.result),B||(M.derived_virtual_data=S.data,M.derived_virtual_indices=S.indices,M.derived_virtual_row_ids=qe.A("id",S.data)),O||(M.derived_viewport_data=u.data,M.derived_viewport_indices=u.indices,M.derived_viewport_row_ids=qe.A("id",u.data)),P||(M.derived_virtual_selected_rows=k,M.derived_virtual_selected_row_ids=v.A(function(e){return S.data[e].id},k)),_||(M.derived_viewport_selected_columns=h),j||(M.derived_viewport_selected_rows=A,M.derived_viewport_selected_row_ids=v.A(function(e){return u.data[e].id},A)),F&&(M.active_cell=void 0,M.selected_cells=[],M.start_cell=void 0,M.end_cell=void 0,M.selected_rows=[],M.selected_row_ids=[]),R.A(M).length&&setTimeout(function(){return t(M)},0)})),n.state={workFilter:{value:e.filter_query,map:n.filterMap(new Map,e.filter_action.operator,e.filter_query,e.visibleColumns)},rawFilterQuery:"",scrollbarWidth:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gA(e,t)}(t,e),n=t,r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this;this.setState(function(n){var r=n.applyFocus,o=n.workFilter,i=o.map,a=o.value,l={};if(e.filter_query!==t.props.filter_query&&a!==e.filter_query){var s=t.filterMap(i,e.filter_action.operator,e.filter_query,e.visibleColumns);s!==i&&(l.workFilter={map:s,value:a})}if(e.active_cell!==t.props.active_cell)l.applyFocus=!0;else if(e.loading_state!==t.props.loading_state){var c=document.activeElement,u=oi.getFirstParentOfType(c,"td"),p=oi.getParentById(u,t.props.id);l.applyFocus=!!p}return l.applyFocus===r&&delete l.applyFocus,d(l).length?l:null})}},{key:"shouldComponentUpdate",value:function(e,t){return function(e,t,n,r){return ke(function(n){return!hA.test(n)&&e[n]!==t[n]},d(fA(fA({},e),t)))||!(0,Uh.n)(n,r)}(this.props,e,this.state,t)}},{key:"render",value:function(){var e=this.controlledPropsHelper(this.controlledSetProps,this.controlledSetState,this.props,this.state);return this.updateDerivedProps(e,this.controlledSetProps),o().createElement(Pb,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AA(Object(n),!0).forEach(function(t){wA(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e))}},{key:"controlledSetProps",get:function(){return this.__setProps(this.props.setProps)}},{key:"controlledSetState",get:function(){return this.__setState()}}],r&&yA(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Component);function SA(e){return e!==it.vh.Native}var kA=function(e){return function(e){var t=e.filter_action,n=e.sort_action;return e.page_action!==it.vh.Custom||SA(t)&&SA(n)}(e)?!!function(e){var t=e.columns;return l.A(t)||!ke(function(e){return e.format&&(e.format.symbol&&2!==e.format.symbol.length||e.format.grouping&&0===e.format.grouping.length||e.format.numerals&&10!==e.format.numerals.length)})(t)}(e)||(xe.Ay.error("Invalid column format"),!1):(xe.Ay.error("Invalid combination of filter_action / sort_action / page_action"),!1)};function xA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,PA(r.key),r)}}function OA(e){return OA="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},OA(e)}function BA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?BA(Object(n),!0).forEach(function(t){jA(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jA(e,t,n){return(t=PA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PA(e){var t=function(e){if("object"!=OA(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=OA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==OA(t)?t:t+""}var TA={symbol:["$",""],decimal:".",group:",",grouping:[3],percent:"%",separate_4digits:!0},DA=[],IA={case:it.ze.Sensitive,placeholder_text:"filter data..."},FA=function(e){return+e||0},MA=function(e,t,n){return e.headers?Ge(t)+(n!==it.vh.None?1:0)+FA(e.data):0},RA=function(e){return e.length>0?Object.keys(e[0]).map(function(e){return new it.VP({name:e,id:e})}):[]},zA=function(e,t,n,r,o){return v.A(function(n){var i,a=pn.A(n);return a.editable=function(e,t){return l.A(t)?e:t}(r,n.editable),a.filter_options=_A(_A(_A({},IA),null!=o?o:{}),null!==(i=a.filter_options)&&void 0!==i?i:{}),a.sort_as_null=a.sort_as_null||t,a.type===it.$C.Numeric&&a.format&&(a.format.locale=VA(e,a.format.locale),a.format.nully=YA(a.format.nully),a.format.specifier=UA(a.format.specifier)),a},n)},NA=function(e){return VA(e)},LA=function(e){var t,n;return"object"===OA(e)?{type:null!==(t=e.type)&&void 0!==t?t:it.vh.None,operator:null!==(n=e.operator)&&void 0!==n?n:it.iV.And}:{type:e,operator:it.iV.And}},qA=function(e,t){return U(function(e){return!t||t.indexOf(e.id)<0},e)},WA=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),jA(this,"populateColumnsFrom",(0,h.B4)(RA)),jA(this,"applyDefaultToLocale",(0,h.B4)(NA)),jA(this,"applyDefaultsToColumns",(0,h.B4)(zA)),jA(this,"getFilterAction",(0,h.B4)(LA)),jA(this,"getVisibleColumns",(0,h.B4)(qA))},t=[{key:"sanitize",value:function(e,t){var n,r=this.applyDefaultToLocale(e.locale_format),o=null!==(n=e.data)&&void 0!==n?n:[],i=e.columns?this.applyDefaultsToColumns(r,e.sort_as_null,e.columns,e.editable,e.filter_options):this.populateColumnsFrom(o),a=this.getVisibleColumns(i,e.hidden_columns),s=e.export_headers;e.export_format===it.AV.Xlsx&&l.A(s)?s=it.ru.Names:e.export_format===it.AV.Csv&&l.A(s)&&(s=it.ru.Ids);var c,u,p,f=e.cell_selectable?e.active_cell:void 0,d=e.cell_selectable?e.selected_cells:DA;return Ue.A(e,{active_cell:f,columns:i,data:o,export_headers:s,filter_action:this.getFilterAction(e.filter_action),fixed_columns:(c=e.fixed_columns,u=e.row_deletable,p=e.row_selectable,c.headers?(u?1:0)+(p?1:0)+FA(c.data):0),fixed_rows:MA(e.fixed_rows,i,e.filter_action),loading_state:t,locale_format:r,selected_cells:d,visibleColumns:a})}}],t&&xA(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),VA=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return A([TA].concat(t))},UA=function(e){return void 0===e?"":e},YA=function(e){return void 0===e?"":e},HA=n(8935);function KA(){return KA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KA.apply(null,arguments)}var $A=function(e){var t=window.dash_component_api.useDashContext().useLoading({filterFunc:function(e){return"data"===e.property||""===e.property||void 0===e.property}}),n=(0,r.useMemo)(function(){return n||function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:36;return e+Math.random().toString(t).substring(2)}("table-")},[n]),i=(0,r.useMemo)(function(){return new WA},[]);if(!kA(e))return o().createElement("div",null,"Invalid props combination");var a=i.sanitize(e,t);return e.id?o().createElement(CA,a):o().createElement(CA,KA({},a,{id:n}))};$A.propTypes=HA.tu;var GA=$A},5366:function(e,t,n){"use strict";var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".dash-spreadsheet.dash-freeze-left,\n.dash-spreadsheet.dash-freeze-top {\n width: auto;\n width: fit-content;\n width: -moz-fit-content;\n width: -webkit-fit-content;\n}\n.dash-spreadsheet.dash-freeze-left {\n max-width: 500px;\n}\n.dash-spreadsheet.dash-freeze-top,\n.dash-spreadsheet.dash-virtualized {\n max-height: 500px;\n}\n.dash-tooltip {\n border: 1px solid #e4e4e4;\n border-radius: 5px;\n position: absolute;\n z-index: 500;\n}\n.dash-tooltip .dash-table-tooltip {\n position: relative;\n background-color: #f6f6f6;\n max-width: 300px;\n min-width: 300px;\n padding: 2px 10px;\n}\n.dash-tooltip[data-attr-anchor='top'] {\n margin-top: 10px;\n}\n.dash-tooltip[data-attr-anchor='top']:after,\n.dash-tooltip[data-attr-anchor='top']:before {\n bottom: 100%;\n left: 50%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n.dash-tooltip[data-attr-anchor='top']:after {\n border-color: transparent;\n border-bottom-color: #f6f6f6;\n border-width: 8px;\n margin-left: -8px;\n}\n.dash-tooltip[data-attr-anchor='top']:before {\n border-color: transparent;\n border-bottom-color: #e4e4e4;\n border-width: 9px;\n margin-left: -9px;\n}\n.dash-tooltip[data-attr-anchor='bottom'] {\n margin-bottom: 10px;\n}\n.dash-tooltip[data-attr-anchor='bottom']:after,\n.dash-tooltip[data-attr-anchor='bottom']:before {\n top: 100%;\n left: 50%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n.dash-tooltip[data-attr-anchor='bottom']:after {\n border-color: transparent;\n border-top-color: #f6f6f6;\n border-width: 8px;\n margin-left: -8px;\n}\n.dash-tooltip[data-attr-anchor='bottom']:before {\n border-color: transparent;\n border-top-color: #e4e4e4;\n border-width: 9px;\n margin-left: -9px;\n}\n.dash-spreadsheet-menu {\n display: flex;\n flex-direction: row;\n}\n.dash-spreadsheet-menu > * {\n padding-right: 5px;\n}\n.dash-spreadsheet-menu .dash-spreadsheet-menu-item {\n position: relative;\n}\n.dash-spreadsheet-menu .dash-spreadsheet-menu-item .show-hide-menu {\n background-color: #fafafa;\n border: 1px solid #d3d3d3;\n display: flex;\n flex-direction: column;\n max-height: 300px;\n overflow: auto;\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 500;\n}\n.dash-spreadsheet-menu .dash-spreadsheet-menu-item .show-hide-menu .show-hide-menu-item {\n display: flex;\n flex-direction: row;\n padding: 5px;\n}\n.dash-spreadsheet-menu .dash-spreadsheet-menu-item .show-hide-menu .show-hide-menu-item label {\n white-space: nowrap;\n}\n.dash-table-container .previous-next-container {\n text-align: right;\n padding: 5px 0px;\n}\n.dash-table-container .previous-next-container .page-number {\n font-family: monospace;\n display: inline-block;\n}\n.dash-table-container .previous-next-container .page-number .last-page {\n display: inline-block;\n text-align: center;\n padding: 1px 2px;\n}\n.dash-table-container .previous-next-container .page-number .current-page-container {\n display: inline-block;\n position: relative;\n}\n.dash-table-container .previous-next-container .page-number .current-page-container .current-page-shadow,\n.dash-table-container .previous-next-container .page-number .current-page-container input.current-page {\n display: inline-block;\n border-bottom: solid lightgrey 1px !important;\n color: black;\n border: none;\n text-align: center;\n font-family: monospace;\n font-size: 10pt;\n padding: 1px 2px;\n}\n.dash-table-container .previous-next-container .page-number .current-page-container .current-page-shadow::placeholder,\n.dash-table-container .previous-next-container .page-number .current-page-container input.current-page::placeholder {\n color: black;\n}\n.dash-table-container .previous-next-container .page-number .current-page-container .current-page-shadow:focus,\n.dash-table-container .previous-next-container .page-number .current-page-container input.current-page:focus {\n outline: none;\n}\n.dash-table-container .previous-next-container .page-number .current-page-container .current-page-shadow:focus::placeholder,\n.dash-table-container .previous-next-container .page-number .current-page-container input.current-page:focus::placeholder {\n opacity: 0;\n}\n.dash-table-container .previous-next-container .page-number .current-page-container input.current-page {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n.dash-table-container .previous-next-container button.previous-page,\n.dash-table-container .previous-next-container button.next-page,\n.dash-table-container .previous-next-container button.first-page,\n.dash-table-container .previous-next-container button.last-page {\n transition-duration: 400ms;\n padding: 5px;\n border: none;\n display: inline-block;\n margin-left: 5px;\n margin-right: 5px;\n}\n.dash-table-container .previous-next-container button.previous-page:hover,\n.dash-table-container .previous-next-container button.next-page:hover,\n.dash-table-container .previous-next-container button.first-page:hover,\n.dash-table-container .previous-next-container button.last-page:hover {\n color: hotpink;\n}\n.dash-table-container .previous-next-container button.previous-page:hover:disabled,\n.dash-table-container .previous-next-container button.next-page:hover:disabled,\n.dash-table-container .previous-next-container button.first-page:hover:disabled,\n.dash-table-container .previous-next-container button.last-page:hover:disabled {\n color: graytext;\n}\n.dash-table-container .previous-next-container button.previous-page:focus,\n.dash-table-container .previous-next-container button.next-page:focus,\n.dash-table-container .previous-next-container button.first-page:focus,\n.dash-table-container .previous-next-container button.last-page:focus {\n outline: none;\n}\n.dash-table-container .dash-spreadsheet-container {\n /* The \"normal\" reset CSS */\n /* The \"modified\" reset CSS applied to the table to ignore markdown cells */\n display: flex;\n flex-direction: row;\n position: relative;\n line-height: initial;\n /* focus happens after copying to clipboard */\n}\n.dash-table-container .dash-spreadsheet-container th {\n font-style: normal;\n font-weight: normal;\n text-align: left;\n}\n.dash-table-container .dash-spreadsheet-container th,\n.dash-table-container .dash-spreadsheet-container td {\n margin: 0;\n padding: 0;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown),\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) {\n margin: 0;\n padding: 0;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) dl,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) dl,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) dt,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) dt,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) dd,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) dd,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) ul,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) ul,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) ol,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) ol,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) li,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) li,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h1,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h1,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h2,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h2,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h3,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h3,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h4,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h4,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h5,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h5,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h6,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h6,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) pre,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) pre,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) code,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) code,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) form,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) form,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) fieldset,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) fieldset,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) legend,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) legend,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) input,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) input,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) textarea,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) textarea,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) p,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) p,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) blockquote,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) blockquote,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) th,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) th,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) td,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) td {\n margin: 0;\n padding: 0;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) table,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) table {\n border-collapse: collapse;\n border-spacing: 0;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) fieldset,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) fieldset,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) img,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) img {\n border: 0;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) address,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) address,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) caption,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) caption,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) cite,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) cite,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) code,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) code,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) dfn,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) dfn,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) em,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) em,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) strong,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) strong,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) th,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) th,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) var,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) var {\n font-style: normal;\n font-weight: normal;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) ol,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) ol,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) ul,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) ul {\n list-style: none;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) caption,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) caption,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) th,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) th {\n text-align: left;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h1,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h1,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h2,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h2,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h3,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h3,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h4,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h4,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h5,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h5,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) h6,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) h6 {\n font-size: 100%;\n font-weight: normal;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) q:before,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) q:before,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) q:after,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) q:after {\n content: '';\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) abbr,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) abbr,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) acronym,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) acronym {\n border: 0;\n font-variant: normal;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) sup,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) sup {\n vertical-align: text-top;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) sub,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) sub {\n vertical-align: text-bottom;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) input,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) input,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) textarea,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) textarea,\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) select,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) select {\n font-family: inherit;\n font-size: inherit;\n font-weight: inherit;\n *font-size: 100%;\n}\n.dash-table-container .dash-spreadsheet-container th > div:not(.cell-markdown) legend,\n.dash-table-container .dash-spreadsheet-container td > div:not(.cell-markdown) legend {\n color: #000;\n}\n.dash-table-container .dash-spreadsheet-container input[type=\"button\"] {\n border-radius: 0;\n -webkit-appearance: none;\n}\n.dash-table-container .dash-spreadsheet-container *:focus {\n outline: none;\n}\n.dash-table-container .dash-spreadsheet-container table {\n font-size: inherit;\n pointer-events: none;\n}\n.dash-table-container .dash-spreadsheet-container table td,\n.dash-table-container .dash-spreadsheet-container table th {\n pointer-events: initial;\n}\n.dash-table-container .dash-spreadsheet-container input[type=\"radio\"] {\n margin: initial;\n line-height: initial;\n box-sizing: initial;\n padding: initial;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n /*\n * fixes Firefox td height bug on td > dropdown children\n * bug should only appear on FF but\n * @supports = scoped to Firefox only\n * to minimize side effects\n */\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner *,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner *:after,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner *:before {\n box-sizing: inherit;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .Select {\n overflow: hidden;\n position: static;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .Select,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .Select-control {\n background-color: inherit;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .Select-value {\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: -2px;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .marker-row tr {\n visibility: hidden !important;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .marker-row td,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .marker-row th {\n height: 0 !important;\n padding: 0 !important;\n margin: 0 !important;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter input::placeholder {\n color: inherit;\n font-size: 0.8em;\n padding-right: 5px;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter + .dash-filter:not(:hover):not(:focus-within) input::placeholder {\n color: transparent;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter.invalid {\n background-color: pink;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner:not(.dash-empty-11) .dt-table-container__row-0 tr:last-of-type td,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner:not(.dash-empty-11) .dt-table-container__row-0 tr:last-of-type th {\n border-bottom: none !important;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner:not(.dash-empty-01) .cell-0-0 tr td:last-of-type,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner:not(.dash-empty-01) .cell-1-0 tr td:last-of-type,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner:not(.dash-empty-01) .cell-0-0 tr th:last-of-type,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner:not(.dash-empty-01) .cell-1-0 tr th:last-of-type {\n border-right: none !important;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-0-0 {\n overflow: hidden;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-0-0 td.phantom-cell,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-1-0 td.phantom-cell,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-0-0 th.phantom-cell,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-1-0 th.phantom-cell {\n border-color: transparent !important;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-0-1 td.phantom-cell,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-1-1 td.phantom-cell,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-0-1 th.phantom-cell,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .cell-1-1 th.phantom-cell {\n border-color: transparent inherit transparent transparent !important;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-left,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-top,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-virtualized {\n overflow: hidden !important;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-left .dt-table-container__row-0,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-top .dt-table-container__row-0,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-virtualized .dt-table-container__row-0 {\n display: flex;\n flex: 0 0 auto;\n flex-direction: row;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-left .dt-table-container__row-1,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-top .dt-table-container__row-1,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-virtualized .dt-table-container__row-1 {\n display: flex;\n flex-direction: row;\n overflow: auto;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-left .cell-0-0,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-top .cell-0-0,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-virtualized .cell-0-0,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-left .cell-1-0,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-top .cell-1-0,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-virtualized .cell-1-0 {\n flex: 0 0 auto;\n left: 0;\n position: sticky;\n position: -webkit-sticky;\n z-index: 400;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-left .cell-0-1,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-top .cell-0-1,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-virtualized .cell-0-1 {\n z-index: 300;\n flex: 0 0 auto;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-left .cell-1-1,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-freeze-top .cell-1-1,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-virtualized .cell-1-1 {\n flex: 0 0 auto;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-fill-width .cell-0-1,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-fill-width .cell-1-1 {\n flex: 1 0 auto;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner.dash-fill-width .cell table {\n width: 100%;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td {\n background-color: inherit;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td.focused {\n margin: -1px;\n z-index: 200;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .dash-cell-value-container {\n width: 100%;\n height: 100%;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .dash-input-cell-value-container {\n position: relative;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .dash-cell-value {\n height: 100%;\n width: 100%;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .dash-cell-value.unfocused.selectable::selection {\n background-color: transparent;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .dash-cell-value.unfocused {\n caret-color: transparent;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td input.dash-cell-value {\n position: absolute;\n left: 0;\n top: 0;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .cell-value-shadow {\n margin: auto 0;\n opacity: 0;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .input-cell-value-shadow {\n display: inline-block;\n height: initial;\n width: initial;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .dropdown-cell-value-shadow {\n display: block;\n height: 0px;\n padding: 0 42px 0 10px;\n}\n@supports (-moz-appearance:none) {\n .dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td.dropdown .dash-cell-value-container {\n height: auto;\n }\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th.dash-filter {\n position: relative;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th.dash-filter input {\n left: 0;\n top: 0;\n height: 100%;\n width: 100%;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th.dash-filter input.dash-filter--case {\n position: relative;\n left: auto;\n top: auto;\n width: auto;\n height: 16px;\n line-height: 0px;\n padding: 1px;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th.dash-filter input.dash-filter--case--sensitive {\n border-color: hotpink;\n border-radius: 3px;\n border-style: solid;\n border-width: 2px;\n color: hotpink;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th {\n white-space: nowrap;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th .column-header--clear,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th .column-header--delete,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th .column-header--edit,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th .column-header--hide,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th .column-header--sort {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: default;\n cursor: pointer;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner tr {\n min-height: 30px;\n height: 30px;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th {\n background-clip: padding-box;\n padding: 2px;\n overflow-x: hidden;\n white-space: nowrap;\n box-sizing: border-box;\n text-align: right;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td.phantom-cell,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th.phantom-cell {\n visibility: hidden;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td div.dash-cell-value,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th div.dash-cell-value {\n display: inline;\n vertical-align: middle;\n white-space: inherit;\n overflow: inherit;\n text-overflow: inherit;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td div.dash-cell-value.cell-markdown,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th div.dash-cell-value.cell-markdown {\n text-align: left;\n font-family: sans-serif;\n display: inline-block;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td div.dash-cell-value.cell-markdown blockquote,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th div.dash-cell-value.cell-markdown blockquote {\n white-space: pre;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner textarea {\n white-space: pre;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner table {\n border-collapse: collapse;\n font-family: monospace;\n --accent: hotpink;\n --border: lightgrey;\n --text-color: #3c3c3c;\n --hover: #fdfdfd;\n --background-color-ellipses: #fdfdfd;\n --faded-text: #fafafa;\n --faded-text-header: #b4b4b4;\n --selected-background: rgba(255, 65, 54, 0.2);\n --faded-dropdown: #f0f0f0;\n --muted: #c8c8c8;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner table:focus {\n outline: none;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner thead {\n display: table-row-group;\n}\n.dash-table-container .dash-spreadsheet-container .elip {\n text-align: center;\n width: 100%;\n background-color: var(--background-color-ellipses);\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td.dropdown {\n /*\n * To view the dropdown's contents, we need\n * overflow-y: visible.\n * Unfortunately, overflow-x: hidden and overflow-y: visible\n * can't both be set at the same time.\n * So, we have to make both overflow-x: visible and overflow-y: visble\n *\n * See https://stackoverflow.com/questions/6421966/\n *\n * There might be another solution with parent divs, but I haven't\n * tried it.\n */\n overflow-x: visible;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner :not(.cell--selected) tr:hover,\n.dash-table-container .dash-spreadsheet-container tr:hover input :not(.cell--selected) {\n background-color: var(--hover);\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th {\n background-color: #fafafa;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td {\n background-color: white;\n}\n.dash-table-container .dash-spreadsheet-container .expanded-row--empty-cell {\n background-color: transparent;\n}\n.dash-table-container .dash-spreadsheet-container .expanded-row {\n text-align: center;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner input:not([type=radio]):not([type=checkbox]) {\n padding: 0px;\n margin: 0px;\n height: calc(100% - 1px);\n line-height: 30px;\n border: none;\n font-family: inherit;\n text-align: right;\n box-sizing: border-box;\n color: var(--text-color);\n background-color: transparent;\n /* so as to not overlay the box shadow */\n /* browser's default text-shadow is `$color 0px 0px 0px;`\n * for `input`, which makes it look a little bit heavier than dropdowns\n * or bare `td`\n */\n text-shadow: none;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner input.unfocused {\n color: transparent;\n text-shadow: 0 0 0 var(--text-color);\n cursor: default;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner input.unfocused:focus {\n outline: none;\n}\n.dash-table-container .dash-spreadsheet-container .toggle-row {\n border: none;\n box-shadow: none;\n width: 10px;\n padding-left: 10px;\n padding-right: 10px;\n cursor: pointer;\n color: var(--faded-text);\n}\n.dash-table-container .dash-spreadsheet-container .toggle-row--expanded {\n color: var(--accent);\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner tr:hover .toggle-row {\n color: var(--accent);\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-delete-cell,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-delete-header {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: default;\n font-size: 1.3rem;\n text-align: center;\n cursor: pointer;\n color: var(--muted);\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-delete-cell:hover,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-delete-header:hover {\n color: var(--accent);\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-header > div,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter > div {\n display: flex;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-header > div input[type=\"text\"],\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter > div input[type=\"text\"] {\n flex: 1;\n line-height: unset;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-header > div input[type=\"text\"]::placeholder,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter > div input[type=\"text\"]::placeholder {\n font-size: 0.9em;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter > div {\n flex-direction: row-reverse;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-actions {\n display: flex;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-header-name {\n flex-grow: 1;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner [class^='column-header--'],\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner [class^='dash-filter--'] {\n cursor: pointer;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-header--select {\n height: auto;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-header--select,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-header--sort {\n color: var(--faded-text-header);\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter--case,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-header--clear,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-header--delete,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-header--edit,\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .column-header--hide {\n opacity: 0.1;\n padding-left: 2px;\n padding-right: 2px;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th:hover [class^='column-header--']:not(.disabled),\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th:hover [class^='dash-filter--']:not(.disabled) {\n color: var(--accent);\n opacity: 1;\n}\n.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner .dash-filter--case {\n font-size: 10px;\n}\n","",{version:3,sources:["webpack://./src/dash-table/components/Table/Table.less","webpack://./src/dash-table/style/reset.less"],names:[],mappings:"AAoBI;;EAjBA,WAAA;EACA,kBAAA;EACA,uBAAA;EACA,0BAAA;AAAJ;AAmBI;EACI,gBAAA;AAjBR;AAoBI;;EAEI,iBAAA;AAlBR;AAsBA;EACI,yBAAA;EACA,kBAAA;EACA,kBAAA;EACA,YAAA;AApBJ;AAgBA;EAOQ,kBAAA;EACA,yBAAA;EACA,gBAAA;EACA,gBAAA;EACA,iBAAA;AApBR;AAuBI;EACI,gBAAA;AArBR;AAuBQ;;EACI,YAAA;EACA,SAAA;EACA,yBAAA;EACA,YAAA;EACA,SAAA;EACA,QAAA;EACA,kBAAA;EACA,oBAAA;AApBZ;AAuBQ;EACI,yBAAA;EACA,4BAAA;EACA,iBAAA;EACA,iBAAA;AArBZ;AAwBQ;EACI,yBAAA;EACA,4BAAA;EACA,iBAAA;EACA,iBAAA;AAtBZ;AA0BI;EACI,mBAAA;AAxBR;AA0BQ;;EACI,SAAA;EACA,SAAA;EACA,yBAAA;EACA,YAAA;EACA,SAAA;EACA,QAAA;EACA,kBAAA;EACA,oBAAA;AAvBZ;AA0BQ;EACI,yBAAA;EACA,yBAAA;EACA,iBAAA;EACA,iBAAA;AAxBZ;AA0BQ;EACI,yBAAA;EACA,yBAAA;EACA,iBAAA;EACA,iBAAA;AAxBZ;AA6BA;EACI,aAAA;EACA,mBAAA;AA3BJ;AA6BI;EACI,kBAAA;AA3BR;AAsBA;EASQ,kBAAA;AA5BR;AAmBA;EAYY,yBAAA;EACA,yBAAA;EACA,aAAA;EACA,sBAAA;EACA,iBAAA;EACA,cAAA;EACA,kBAAA;EACA,SAAA;EACA,OAAA;EACA,YAAA;AA5BZ;AAOA;EAwBgB,aAAA;EACA,mBAAA;EACA,YAAA;AA5BhB;AAEA;EA6BoB,mBAAA;AA5BpB;AAmCA;EAEQ,iBAAA;EACA,gBAAA;AAlCR;AA+BA;EAMY,sBAAA;EACA,qBAAA;AAlCZ;AA2BA;EAUgB,qBAAA;EACA,kBAAA;EACA,gBAAA;AAlChB;AAsBA;EAgBgB,qBAAA;EACA,kBAAA;AAnChB;AAkBA;;EAqBoB,qBAAA;EACA,6CAAA;EACA,YAAA;EACA,YAAA;EACA,kBAAA;EACA,sBAAA;EACA,eAAA;EACA,gBAAA;AAnCpB;AAqCoB;;EACI,YAAA;AAlCxB;AAqCoB;;EACI,aAAA;AAlCxB;AAoCwB;;EACI,UAAA;AAjC5B;AALA;EA4CoB,kBAAA;EACA,MAAA;EACA,OAAA;EACA,WAAA;EACA,YAAA;AApCpB;AAZA;;;;EAsDY,0BAAA;EACA,YAAA;EACA,YAAA;EACA,qBAAA;EACA,gBAAA;EACA,iBAAA;AApCZ;AAsCY;;;;EACI,cAAA;AAjChB;AAmCgB;;;;EACI,eAAA;AA9BpB;AAkCY;;;;EACI,aAAA;AA7BhB;AAzCA;EA2CE,2BAA2B;EAC3B,2EAA2E;EAiCrE,aAAA;EACA,mBAAA;EACA,kBAAA;EAKA,oBAAA;EAnCN,6CAA6C;AAC/C;AAlDA;ECxIQ,kBAAA;EACA,mBAAA;EACA,gBAAA;AD6LR;AAvDA;;EClIQ,SAAA;EACA,UAAA;AD6LR;AC3LQ;;EACI,SAAA;EACA,UAAA;AD8LZ;AChMQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIwG,SAAA;EAAS,UAAA;AD6OzH;ACjPQ;;EAKU,yBAAA;EAAyB,iBAAA;ADiP3C;ACtPQ;;;;EAMiB,SAAA;ADsPzB;AC5PQ;;;;;;;;;;;;;;;;;;EAOmD,kBAAA;EAAkB,mBAAA;AD0Q7E;ACjRQ;;;;EAQU,gBAAA;AD+QlB;ACvRQ;;;;EASe,gBAAA;ADoRvB;AC7RQ;;;;;;;;;;;;EAUsB,eAAA;EAAe,mBAAA;ADkS7C;AC5SQ;;;;EAWqB,WAAA;ADuS7B;AClTQ;;;;EAYiB,SAAA;EAAS,oBAAA;AD6SlC;ACzTQ;;EAaQ,wBAAA;ADgThB;AC7TQ;;EAcQ,2BAAA;ADmThB;ACjUQ;;;;;;EAe0B,oBAAA;EAAoB,kBAAA;EAAkB,oBAAA;GAAoB,eAAA;AD6T5F;AC5UQ;;EAgBW,WAAA;ADgUnB;AAjNA;ECxGQ,gBAAA;EACA,wBAAA;AD4TR;AArNA;ECnGQ,aAAA;AD2TR;AAxNA;EA0FY,kBAAA;EACA,oBAAA;AAiIZ;AA5NA;;EA8FgB,uBAAA;AAkIhB;AAhOA;EAsGY,eAAA;EACA,oBAAA;EAIA,mBAAA;EACA,gBAAA;AA0HZ;AAtOA;EAgHY,sBAAA;EACA,aAAA;EACA,sBAAA;EAyHV;;;;;cAKY;AACd;AAjPA;;;EAuHU,mBAAA;AA+HV;AAtPA;EA2HgB,gBAAA;EACA,gBAAA;AA8HhB;AA1PA;;EAiIU,yBAAA;AA6HV;AA9PA;EAqIgB,aAAA;EACA,sBAAA;EACA,uBAAA;EACA,gBAAA;AA4HhB;AApQA;EA6IoB,6BAAA;AA0HpB;AAvQA;;EAiJoB,oBAAA;EACA,qBAAA;EACA,oBAAA;AA0HpB;AA7QA;EAyJoB,cAAA;EACA,gBAAA;EACA,kBAAA;AAuHpB;AAnHoB;EAEQ,kBAAA;AAoH5B;AA/GgB;EACI,sBAAA;AAiHpB;AA7GY;;EAIgB,8BAAA;AA6G5B;AAlG4B;;;;EACI,6BAAA;AAuGhC;AAlSA;EAmMgB,gBAAA;AAkGhB;AA5FoB;;;;EACI,oCAAA;AAiGxB;AAzFoB;;;;EACI,oEAAA;AA8FxB;AAzFY;;;EAGI,2BAAA;AA2FhB;AA9FY;;;EAMQ,aAAA;EACA,cAAA;EACA,mBAAA;AA6FpB;AArGY;;;EAYQ,aAAA;EACA,mBAAA;EACA,cAAA;AA8FpB;AA5GY;;;;;;EAmBQ,cAAA;EACA,OAAA;EACA,gBAAA;EACA,wBAAA;EACA,YAAA;AAiGpB;AAxHY;;;EA2BQ,YAAA;EACA,cAAA;AAkGpB;AA9HY;;;EAgCQ,cAAA;AAmGpB;AA/FY;;EAGQ,cAAA;AAgGpB;AAnGY;EAQY,WAAA;AA8FxB;AAlWA;EA0QgB,yBAAA;AA2FhB;AAzFgB;EACI,YAAA;EACA,YAAA;AA2FpB;AAzWA;EAkRoB,WAAA;EACA,YAAA;AA0FpB;AA7WA;EAuRoB,kBAAA;AAyFpB;AAhXA;EA2RoB,YAAA;EACA,WAAA;AAwFpB;AAtFoB;EACI,6BAAA;AAwFxB;AArFoB;EACI,wBAAA;AAuFxB;AA1XA;EAwSoB,kBAAA;EACA,OAAA;EACA,MAAA;AAqFpB;AA/XA;EA8SoB,cAAA;EACA,UAAA;AAoFpB;AAnYA;EAmToB,qBAAA;EACA,eAAA;EACA,cAAA;AAmFpB;AAxYA;EAyToB,cAAA;EACA,WAAA;EACA,sBAAA;AAkFpB;AAxEY;EAAA;IAEQ,YAAA;EA0ElB;AACF;AAlZA;EA4UgB,kBAAA;AAyEhB;AAvEgB;EACI,OAAA;EACA,MAAA;EACA,YAAA;EACA,WAAA;AAyEpB;AAvEoB;EACI,kBAAA;EACA,UAAA;EACA,SAAA;EACA,WAAA;EACA,YAAA;EACA,gBAAA;EACA,YAAA;AAyExB;AAvEoB;EACI,qBAAA;EACA,kBAAA;EACA,mBAAA;EACA,iBAAA;EACA,cAAA;AAyExB;AA3aA;EAwWgB,mBAAA;AAsEhB;AA9aA;;;;;EArII,2BAAA;EACA,yBAAA;EACA,wBAAA;EACA,sBAAA;EACA,qBAAA;EACA,iBAAA;EACA,eAAA;EA+egB,eAAA;AA4EpB;AA5bA;EAqXgB,gBAAA;EACA,YAAA;AA0EhB;AAhcA;;EA2XgB,4BAAA;EACA,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,sBAAA;EAEA,iBAAA;AAwEhB;AAtEgB;;EACI,kBAAA;AAyEpB;AA7cA;;EAwYoB,eAAA;EACA,sBAAA;EACA,oBAAA;EACA,iBAAA;EACA,sBAAA;AAyEpB;AAvEoB;;EACI,gBAAA;EACA,uBAAA;EACA,qBAAA;AA0ExB;AA7EoB;;EAMQ,gBAAA;AA2E5B;AA/dA;EA4ZY,gBAAA;AAsEZ;AAleA;EAgaY,yBAAA;EAEA,sBAAA;EACA,iBAAA;EACA,mBAAA;EACA,qBAAA;EACA,gBAAA;EACA,oCAAA;EACA,qBAAA;EACA,4BAAA;EACA,6CAAA;EACA,yBAAA;EACA,gBAAA;AAoEZ;AAhfA;EAibY,aAAA;AAkEZ;AAnfA;EAqbY,wBAAA;AAiEZ;AAtfA;EAybY,kBAAA;EACA,WAAA;EACA,kDAAA;AAgEZ;AA3fA;EA6fE;;;;;;;;;;;cAWY;EA7DF,mBAAA;AA+DZ;AA1gBA;;EAgdY,8BAAA;AA8DZ;AA9gBA;EAodY,yBAAA;AA6DZ;AAjhBA;EAwdY,uBAAA;AA4DZ;AAphBA;EA4dY,6BAAA;AA2DZ;AAvhBA;EAgeY,kBAAA;AA0DZ;AA1hBA;EAoeY,YAAA;EACA,WAAA;EACA,wBAAA;EACA,iBAAA;EACA,YAAA;EACA,oBAAA;EACA,iBAAA;EACA,sBAAA;EACA,wBAAA;EACA,6BAAA;EAyDV,wCAAwC;EACxC;;;cAGY;EAvDF,iBAAA;AAyDZ;AA5iBA;EAufY,kBAAA;EACA,oCAAA;EACA,eAAA;AAwDZ;AAjjBA;EA6fY,aAAA;AAuDZ;AApjBA;EAigBY,YAAA;EACA,gBAAA;EACA,WAAA;EACA,kBAAA;EACA,mBAAA;EACA,eAAA;EACA,wBAAA;AAsDZ;AA7jBA;EA2gBY,oBAAA;AAqDZ;AAhkBA;EA+gBY,oBAAA;AAoDZ;AAnkBA;;EArII,2BAAA;EACA,yBAAA;EACA,wBAAA;EACA,sBAAA;EACA,qBAAA;EACA,iBAAA;EACA,eAAA;EAqpBQ,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,mBAAA;AAwDZ;AAjlBA;;EA6hBY,oBAAA;AAwDZ;AArlBA;;EAmiBgB,aAAA;AAsDhB;AAzlBA;;EAsiBoB,OAAA;EACA,kBAAA;AAuDpB;AAtDoB;;EACI,gBAAA;AAyDxB;AAlmBA;EA8iBgB,2BAAA;AAuDhB;AArmBA;EAijBgB,aAAA;AAuDhB;AAxmBA;EAqjBgB,YAAA;AAsDhB;AA3mBA;;EAyjBgB,eAAA;AAsDhB;AA/mBA;EA6jBU,YAAA;AAqDV;AAlnBA;;EAkkBU,+BAAA;AAoDV;AAtnBA;;;;;EA2kBgB,YAAA;EACA,iBAAA;EACA,kBAAA;AAkDhB;AA7CoB;;EACI,oBAAA;EACA,UAAA;AAgDxB;AApoBA;EA0lBgB,eAAA;AA6ChB",sourcesContent:["@import (reference) '~dash-table/style/reset.less';\n\n.fit-content-polyfill() {\n width: auto; // MS Edge, IE\n width: fit-content; // Chrome\n width: -moz-fit-content; // Firefox\n width: -webkit-fit-content; // Safari\n}\n\n.not-selectable() {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: default;\n}\n\n.dash-spreadsheet {\n &.dash-freeze-left,\n &.dash-freeze-top {\n .fit-content-polyfill();\n }\n\n &.dash-freeze-left {\n max-width: 500px;\n }\n\n &.dash-freeze-top,\n &.dash-virtualized {\n max-height: 500px;\n }\n}\n\n.dash-tooltip {\n border: 1px solid #e4e4e4;\n border-radius: 5px;\n position: absolute;\n z-index: 500;\n\n .dash-table-tooltip {\n position: relative;\n background-color: #f6f6f6;\n max-width: 300px;\n min-width: 300px;\n padding: 2px 10px;\n }\n\n &[data-attr-anchor='top'] {\n margin-top: 10px;\n\n &:after, &:before {\n bottom: 100%;\n left: 50%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n }\n\n &:after {\n border-color: transparent;\n border-bottom-color: #f6f6f6;\n border-width: 8px;\n margin-left: -8px;\n }\n\n &:before {\n border-color: transparent;\n border-bottom-color: #e4e4e4;\n border-width: 9px;\n margin-left: -9px;\n }\n }\n\n &[data-attr-anchor='bottom'] {\n margin-bottom: 10px;\n\n &:after, &:before {\n top: 100%;\n left: 50%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n }\n\n &:after {\n border-color: transparent;\n border-top-color: #f6f6f6;\n border-width: 8px;\n margin-left: -8px;\n }\n &:before {\n border-color: transparent;\n border-top-color: #e4e4e4;\n border-width: 9px;\n margin-left: -9px;\n }\n }\n}\n\n.dash-spreadsheet-menu {\n display: flex;\n flex-direction: row;\n\n & > * {\n padding-right: 5px;\n }\n\n .dash-spreadsheet-menu-item {\n position: relative;\n\n .show-hide-menu {\n background-color: #fafafa;\n border: 1px solid #d3d3d3;\n display: flex;\n flex-direction: column;\n max-height: 300px;\n overflow: auto;\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 500;\n\n .show-hide-menu-item {\n display: flex;\n flex-direction: row;\n padding: 5px;\n\n label {\n white-space: nowrap;\n }\n }\n }\n }\n}\n\n.dash-table-container {\n .previous-next-container {\n text-align: right;\n padding: 5px 0px;\n\n .page-number {\n font-family: monospace;\n display: inline-block;\n\n .last-page {\n display: inline-block;\n text-align: center;\n padding: 1px 2px;\n }\n\n .current-page-container {\n display: inline-block;\n position: relative;\n\n .current-page-shadow,\n input.current-page {\n display: inline-block;\n border-bottom: solid lightgrey 1px !important;\n color: black;\n border: none;\n text-align: center;\n font-family: monospace;\n font-size: 10pt;\n padding: 1px 2px;\n\n &::placeholder {\n color: black;\n }\n\n &:focus {\n outline: none;\n\n &::placeholder {\n opacity: 0;\n }\n }\n }\n\n input.current-page {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n }\n }\n\n button.previous-page, button.next-page, button.first-page, button.last-page {\n transition-duration: 400ms;\n padding: 5px;\n border: none;\n display: inline-block;\n margin-left: 5px;\n margin-right: 5px;\n\n &:hover {\n color: hotpink;\n\n &:disabled {\n color: graytext\n }\n }\n\n &:focus {\n outline: none;\n }\n }\n }\n\n .dash-spreadsheet-container {\n .reset-css();\n display: flex;\n flex-direction: row;\n position: relative;\n\n // This overrides Bootstrap 3.4.1 body styling\n // https://github.com/twbs/bootstrap/blob/v3-dev/dist/css/bootstrap.css#L1087\n // Also unapplies with the latest `in development` 5.0.0-alpha2 (https://github.com/twbs/bootstrap/blob/main/dist/css/bootstrap.css#L51)\n line-height: initial;\n\n // This overrides Chrome's default `font-size: medium;` which is causing performance issues\n // with AutoInputResize sub-component in react-select\n // https://github.com/JedWatson/react-input-autosize/blob/05b0f86a7f8b16de99c2b31296ff0d3307f15957/src/AutosizeInput.js#L58\n table {\n font-size: inherit;\n pointer-events: none;\n\n td, th {\n pointer-events: initial;\n }\n }\n\n input[type=\"radio\"] {\n // These override Bootstrap 3.4.1 type=\"radio\" styling\n // https://github.com/twbs/bootstrap/blob/v3-dev/dist/css/bootstrap.css#L2621\n // This is not a problem with the latest `in development` 5.0.0-alpha2\n margin: initial;\n line-height: initial;\n // These override Bootstrap 4.5.0 type=\"radio\" styling\n // https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css#L287\n // This is not a problem with the latest `in development` 5.0.0-alpha2\n box-sizing: initial;\n padding: initial;\n }\n\n\t .dash-spreadsheet-inner {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n\n *,\n *:after,\n *:before {\n\t\t box-sizing: inherit;\n }\n\n .Select {\n overflow: hidden;\n position: static;\n }\n\n .Select,\n .Select-control {\n\t\t background-color: inherit;\n }\n\n .Select-value {\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: -2px;\n }\n\n .marker-row {\n tr {\n visibility: hidden !important;\n }\n\n td, th {\n height: 0 !important;\n padding: 0 !important;\n margin: 0 !important;\n }\n }\n\n .dash-filter {\n\t\t input::placeholder {\n color: inherit;\n font-size: 0.8em;\n padding-right: 5px;\n }\n\n & + .dash-filter {\n &:not(:hover):not(:focus-within) {\n input::placeholder {\n color: transparent;\n }\n }\n }\n\n &.invalid {\n background-color: pink;\n }\n }\n\n &:not(.dash-empty-11) {\n .dt-table-container__row-0 {\n tr:last-of-type {\n td, th {\n border-bottom: none !important;\n }\n }\n }\n }\n\n &:not(.dash-empty-01) {\n \t\t.cell-0-0,\n\t\t .cell-1-0 {\n tr {\n td, th {\n &:last-of-type {\n border-right: none !important;\n }\n }\n }\n\t \t }\n }\n\n .cell-0-0 {\n overflow: hidden;\n }\n\n .cell-0-0,\n .cell-1-0 {\n td, th {\n &.phantom-cell {\n border-color: transparent !important;\n }\n }\n }\n\n .cell-0-1,\n .cell-1-1 {\n td, th {\n &.phantom-cell {\n border-color: transparent inherit transparent transparent !important;\n }\n }\n }\n\n &.dash-freeze-left,\n &.dash-freeze-top,\n &.dash-virtualized {\n overflow: hidden !important;\n\n .dt-table-container__row-0 {\n display: flex;\n flex: 0 0 auto;\n flex-direction: row;\n }\n\n .dt-table-container__row-1 {\n display: flex;\n flex-direction: row;\n overflow: auto;\n }\n\n .cell-0-0,\n .cell-1-0 {\n flex: 0 0 auto;\n left: 0;\n position: sticky;\n position:-webkit-sticky;\n z-index: 400;\n }\n\n .cell-0-1 {\n z-index: 300;\n flex: 0 0 auto;\n }\n\n .cell-1-1 {\n flex: 0 0 auto;\n }\n }\n\n &.dash-fill-width {\n .cell-0-1,\n .cell-1-1 {\n flex: 1 0 auto;\n }\n\n .cell {\n table {\n width: 100%;\n }\n }\n }\n\n td {\n background-color: inherit;\n\n &.focused {\n margin: -1px;\n z-index: 200;\n }\n\n .dash-cell-value-container {\n width: 100%;\n height: 100%;\n }\n\n .dash-input-cell-value-container {\n position: relative;\n }\n\n .dash-cell-value {\n height: 100%;\n width: 100%;\n\n &.unfocused.selectable::selection {\n background-color: transparent;\n }\n\n &.unfocused {\n caret-color: transparent;\n }\n }\n\n input.dash-cell-value {\n position: absolute;\n left: 0;\n top: 0;\n }\n\n .cell-value-shadow {\n margin: auto 0;\n opacity: 0;\n }\n\n .input-cell-value-shadow {\n display: inline-block;\n height: initial;\n width: initial;\n }\n\n .dropdown-cell-value-shadow {\n display: block;\n height: 0px;\n padding: 0 42px 0 10px;\n }\n }\n\n /*\n * fixes Firefox td height bug on td > dropdown children\n * bug should only appear on FF but\n * @supports = scoped to Firefox only\n * to minimize side effects\n */\n @supports (-moz-appearance:none) {\n td.dropdown .dash-cell-value-container {\n height: auto;\n }\n }\n\n th.dash-filter {\n position: relative;\n\n & input {\n left: 0;\n top: 0;\n height: 100%;\n width: 100%;\n\n &.dash-filter--case {\n position: relative;\n left: auto;\n top: auto;\n width: auto;\n height: 16px;\n line-height: 0px;\n padding: 1px;\n }\n &.dash-filter--case--sensitive {\n border-color: hotpink;\n border-radius: 3px;\n border-style: solid;\n border-width: 2px;\n color: hotpink;\n }\n }\n }\n\n th {\n white-space: nowrap;\n\n .column-header--clear,\n .column-header--delete,\n .column-header--edit,\n .column-header--hide,\n .column-header--sort {\n .not-selectable();\n cursor: pointer;\n }\n }\n\n tr {\n min-height: 30px;\n height: 30px;\n }\n\n // cell content styling\n td, th {\n background-clip: padding-box;\n padding: 2px;\n overflow-x: hidden;\n white-space: nowrap;\n box-sizing: border-box;\n\n text-align: right;\n\n &.phantom-cell {\n visibility: hidden;\n }\n\n div.dash-cell-value {\n display: inline;\n vertical-align: middle;\n white-space: inherit;\n overflow: inherit;\n text-overflow: inherit;\n\n &.cell-markdown {\n text-align: left;\n font-family: sans-serif;\n display: inline-block;\n\n blockquote {\n white-space: pre;\n }\n }\n }\n }\n }\n\n \t.dash-spreadsheet-inner textarea {\n white-space: pre;\n\t }\n\n\t .dash-spreadsheet-inner table {\n border-collapse: collapse;\n\n font-family: monospace;\n --accent: hotpink;\n --border: lightgrey;\n --text-color: rgb(60, 60, 60);\n --hover: rgb(253, 253, 253);\n --background-color-ellipses: rgb(253, 253, 253);\n --faded-text: rgb(250, 250, 250);\n --faded-text-header: rgb(180, 180, 180);\n --selected-background: rgba(255, 65, 54, 0.2);\n --faded-dropdown: rgb(240, 240, 240);\n --muted: rgb(200, 200, 200);\n\t }\n\n\t /* focus happens after copying to clipboard */\n\t .dash-spreadsheet-inner table:focus {\n outline: none;\n\t }\n\n\t .dash-spreadsheet-inner thead {\n display: table-row-group;\n\t }\n\n\t .elip {\n text-align: center;\n width: 100%;\n background-color: var(--background-color-ellipses);\n\t }\n\n\t .dash-spreadsheet-inner td.dropdown {\n /*\n * To view the dropdown's contents, we need\n * overflow-y: visible.\n * Unfortunately, overflow-x: hidden and overflow-y: visible\n * can't both be set at the same time.\n * So, we have to make both overflow-x: visible and overflow-y: visble\n *\n * See https://stackoverflow.com/questions/6421966/\n *\n * There might be another solution with parent divs, but I haven't\n * tried it.\n */\n overflow-x: visible;\n\t }\n\n .dash-spreadsheet-inner :not(.cell--selected) tr:hover,\n tr:hover input :not(.cell--selected) {\n background-color: var(--hover);\n \t}\n\n \t.dash-spreadsheet-inner th {\n background-color: rgb(250, 250, 250);\n\t }\n\n\t .dash-spreadsheet-inner td {\n background-color: white;\n\t }\n\n\t .expanded-row--empty-cell {\n background-color: transparent;\n\t }\n\n\t .expanded-row {\n text-align: center;\n\t }\n\n\t .dash-spreadsheet-inner input:not([type=radio]):not([type=checkbox]) {\n padding: 0px;\n margin: 0px;\n height: calc(100% - 1px);\n line-height: 30px;\n border: none;\n font-family: inherit;\n text-align: right;\n box-sizing: border-box;\n color: var(--text-color);\n background-color: transparent; /* so as to not overlay the box shadow */\n\n /* browser's default text-shadow is `$color 0px 0px 0px;`\n * for `input`, which makes it look a little bit heavier than dropdowns\n * or bare `td`\n */\n text-shadow: none;\n\t }\n\n\t .dash-spreadsheet-inner input.unfocused {\n color: transparent;\n text-shadow: 0 0 0 var(--text-color);\n cursor: default;\n\t }\n\n\t .dash-spreadsheet-inner input.unfocused:focus {\n outline: none;\n\t }\n\n\t .toggle-row {\n border: none;\n box-shadow: none;\n width: 10px;\n padding-left: 10px;\n padding-right: 10px;\n cursor: pointer;\n color: var(--faded-text);\n\t }\n\n \t.toggle-row--expanded {\n color: var(--accent);\n\t }\n\n \t.dash-spreadsheet-inner tr:hover .toggle-row {\n color: var(--accent);\n\t }\n\n .dash-spreadsheet-inner .dash-delete-cell,\n .dash-spreadsheet-inner .dash-delete-header {\n .not-selectable();\n\n font-size: 1.3rem;\n text-align: center;\n cursor: pointer;\n color: var(--muted);\n \t}\n .dash-spreadsheet-inner .dash-delete-cell:hover,\n .dash-spreadsheet-inner .dash-delete-header:hover {\n color: var(--accent);\n \t}\n\n\t .dash-spreadsheet-inner {\n .dash-header>div,\n .dash-filter>div {\n display: flex;\n\n input[type=\"text\"] {\n flex: 1;\n line-height: unset;\n &::placeholder {\n font-size: 0.9em;\n }\n }\n }\n .dash-filter>div {\n flex-direction: row-reverse;\n }\n .column-actions {\n display: flex;\n }\n\n .column-header-name {\n flex-grow: 1;\n }\n\n [class^='column-header--'], [class^='dash-filter--'] {\n cursor: pointer;\n }\n\n .column-header--select {\n\t\t height: auto;\n }\n\n .column-header--select,\n .column-header--sort {\n \t\tcolor: var(--faded-text-header);\n }\n\n\n .dash-filter--case,\n .column-header--clear,\n .column-header--delete,\n .column-header--edit,\n .column-header--hide {\n opacity: 0.1;\n padding-left: 2px;\n padding-right: 2px;\n }\n\n th:hover {\n \t\t[class^='column-header--'], [class^='dash-filter--'] {\n &:not(.disabled) {\n color: var(--accent);\n opacity: 1;\n }\n }\n }\n\n .dash-filter--case {\n font-size: 10px;\n }\n\t }\n }\n}\n",'/*RESET CSS*/\n.reset-css() {\n /* The "normal" reset CSS */\n // div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:\'\'}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}\n\n /* The "modified" reset CSS applied to the table to ignore markdown cells */\n th {\n font-style:normal;\n font-weight:normal;\n text-align:left;\n }\n\n th, td {\n margin:0;\n padding:0;\n\n & > div:not(.cell-markdown) {\n margin:0;\n padding:0;\n\n dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}\n table{border-collapse:collapse;border-spacing:0}\n fieldset,img{border:0}\n address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}\n ol,ul{list-style:none}\n caption,th{text-align:left}\n h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}\n q:before,q:after{content:\'\'}\n abbr,acronym{border:0;font-variant:normal}\n sup{vertical-align:text-top}\n sub{vertical-align:text-bottom}\n input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}\n legend{color:#000}\n }\n }\n\n // Input buttons have an overlay + are rounded by default in iOS Mobile Safari\n // http://stackoverflow.com/questions/2918707/turn-off-iphone-safari-input-element-rounding\n input[type="button"] {\n border-radius: 0;\n -webkit-appearance: none;\n }\n\n *:focus {\n outline: none;\n }\n}'],sourceRoot:""}]),t.A=a},1467:function(e,t,n){"use strict";var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,"/**\n * React Select\n * ============\n * Created by Jed Watson and Joss Mackison for KeystoneJS, http://www.keystonejs.com/\n * https://twitter.com/jedwatson https://twitter.com/jossmackison https://twitter.com/keystonejs\n * MIT License: https://github.com/JedWatson/react-select\n*/\n.Select {\n position: relative;\n}\n.Select input::-webkit-contacts-auto-fill-button,\n.Select input::-webkit-credentials-auto-fill-button {\n display: none !important;\n}\n.Select input::-ms-clear {\n display: none !important;\n}\n.Select input::-ms-reveal {\n display: none !important;\n}\n.Select,\n.Select div,\n.Select input,\n.Select span {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n.Select.is-disabled .Select-arrow-zone {\n cursor: default;\n pointer-events: none;\n opacity: 0.35;\n}\n.Select.is-disabled > .Select-control {\n background-color: #f9f9f9;\n}\n.Select.is-disabled > .Select-control:hover {\n box-shadow: none;\n}\n.Select.is-open > .Select-control {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n background: #fff;\n border-color: #b3b3b3 #ccc #d9d9d9;\n}\n.Select.is-open > .Select-control .Select-arrow {\n top: -2px;\n border-color: transparent transparent #999;\n border-width: 0 5px 5px;\n}\n.Select.is-searchable.is-open > .Select-control {\n cursor: text;\n}\n.Select.is-searchable.is-focused:not(.is-open) > .Select-control {\n cursor: text;\n}\n.Select.is-focused > .Select-control {\n background: #fff;\n}\n.Select.is-focused:not(.is-open) > .Select-control {\n border-color: #007eff;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(0, 126, 255, 0.1);\n background: #fff;\n}\n.Select.has-value.is-clearable.Select--single > .Select-control .Select-value {\n padding-right: 42px;\n}\n.Select.has-value.Select--single > .Select-control .Select-value .Select-value-label,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {\n color: #333;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label {\n cursor: pointer;\n text-decoration: none;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:hover,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:hover,\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:focus,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:focus {\n color: #007eff;\n outline: none;\n text-decoration: underline;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:focus,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:focus {\n background: #fff;\n}\n.Select.has-value.is-pseudo-focused .Select-input {\n opacity: 0;\n}\n.Select.is-open .Select-arrow,\n.Select .Select-arrow-zone:hover > .Select-arrow {\n border-top-color: #666;\n}\n.Select.Select--rtl {\n direction: rtl;\n text-align: right;\n}\n.Select-control {\n background-color: #fff;\n border-color: #d9d9d9 #ccc #b3b3b3;\n border-radius: 4px;\n border: 1px solid #ccc;\n color: #333;\n cursor: default;\n display: table;\n border-spacing: 0;\n border-collapse: separate;\n height: 36px;\n outline: none;\n overflow: hidden;\n position: relative;\n width: 100%;\n}\n.Select-control:hover {\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);\n}\n.Select-control .Select-input:focus {\n outline: none;\n background: #fff;\n}\n.Select-placeholder,\n.Select--single > .Select-control .Select-value {\n bottom: 0;\n color: #aaa;\n left: 0;\n line-height: 34px;\n padding-left: 10px;\n padding-right: 10px;\n position: absolute;\n right: 0;\n top: 0;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.Select-input {\n height: 34px;\n padding-left: 10px;\n padding-right: 10px;\n vertical-align: middle;\n}\n.Select-input > input {\n width: 100%;\n background: none transparent;\n border: 0 none;\n box-shadow: none;\n cursor: default;\n display: inline-block;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n outline: none;\n line-height: 17px;\n /* For IE 8 compatibility */\n padding: 8px 0 12px;\n /* For IE 8 compatibility */\n -webkit-appearance: none;\n}\n.is-focused .Select-input > input {\n cursor: text;\n}\n.has-value.is-pseudo-focused .Select-input {\n opacity: 0;\n}\n.Select-control:not(.is-searchable) > .Select-input {\n outline: none;\n}\n.Select-loading-zone {\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 16px;\n}\n.Select-loading {\n -webkit-animation: Select-animation-spin 400ms infinite linear;\n -o-animation: Select-animation-spin 400ms infinite linear;\n animation: Select-animation-spin 400ms infinite linear;\n width: 16px;\n height: 16px;\n box-sizing: border-box;\n border-radius: 50%;\n border: 2px solid #ccc;\n border-right-color: #333;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n}\n.Select-clear-zone {\n -webkit-animation: Select-animation-fadeIn 200ms;\n -o-animation: Select-animation-fadeIn 200ms;\n animation: Select-animation-fadeIn 200ms;\n color: #999;\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 17px;\n}\n.Select-clear-zone:hover {\n color: #D0021B;\n}\n.Select-clear {\n display: inline-block;\n font-size: 18px;\n line-height: 1;\n}\n.Select--multi .Select-clear-zone {\n width: 17px;\n}\n.Select-arrow-zone {\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 25px;\n padding-right: 5px;\n}\n.Select--rtl .Select-arrow-zone {\n padding-right: 0;\n padding-left: 5px;\n}\n.Select-arrow {\n border-color: #999 transparent transparent;\n border-style: solid;\n border-width: 5px 5px 2.5px;\n display: inline-block;\n height: 0;\n width: 0;\n position: relative;\n}\n.Select-control > *:last-child {\n padding-right: 5px;\n}\n.Select--multi .Select-multi-value-wrapper {\n display: inline-block;\n}\n.Select .Select-aria-only {\n position: absolute;\n display: inline-block;\n height: 1px;\n width: 1px;\n margin: -1px;\n clip: rect(0, 0, 0, 0);\n overflow: hidden;\n float: left;\n}\n@-webkit-keyframes Select-animation-fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes Select-animation-fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.Select-menu-outer {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n background-color: #fff;\n border: 1px solid #ccc;\n border-top-color: #e6e6e6;\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);\n box-sizing: border-box;\n margin-top: -1px;\n max-height: 200px;\n position: absolute;\n left: 0;\n top: 100%;\n width: 100%;\n z-index: 1;\n -webkit-overflow-scrolling: touch;\n}\n.Select-menu {\n max-height: 198px;\n overflow-y: auto;\n}\n.Select-option {\n box-sizing: border-box;\n background-color: #fff;\n color: #666666;\n cursor: pointer;\n display: block;\n padding: 8px 10px;\n}\n.Select-option:last-child {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.Select-option.is-selected {\n background-color: #f5faff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.04);\n color: #333;\n}\n.Select-option.is-focused {\n background-color: #ebf5ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.08);\n color: #333;\n}\n.Select-option.is-disabled {\n color: #cccccc;\n cursor: default;\n}\n.Select-noresults {\n box-sizing: border-box;\n color: #999999;\n cursor: default;\n display: block;\n padding: 8px 10px;\n}\n.Select--multi .Select-input {\n vertical-align: middle;\n margin-left: 10px;\n padding: 0;\n}\n.Select--multi.Select--rtl .Select-input {\n margin-left: 0;\n margin-right: 10px;\n}\n.Select--multi.has-value .Select-input {\n margin-left: 5px;\n}\n.Select--multi .Select-value {\n background-color: #ebf5ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.08);\n border-radius: 2px;\n border: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border: 1px solid rgba(0, 126, 255, 0.24);\n color: #007eff;\n display: inline-block;\n font-size: 0.9em;\n line-height: 1.4;\n margin-left: 5px;\n margin-top: 5px;\n vertical-align: top;\n}\n.Select--multi .Select-value-icon,\n.Select--multi .Select-value-label {\n display: inline-block;\n vertical-align: middle;\n}\n.Select--multi .Select-value-label {\n border-bottom-right-radius: 2px;\n border-top-right-radius: 2px;\n cursor: default;\n padding: 2px 5px;\n}\n.Select--multi a.Select-value-label {\n color: #007eff;\n cursor: pointer;\n text-decoration: none;\n}\n.Select--multi a.Select-value-label:hover {\n text-decoration: underline;\n}\n.Select--multi .Select-value-icon {\n cursor: pointer;\n border-bottom-left-radius: 2px;\n border-top-left-radius: 2px;\n border-right: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border-right: 1px solid rgba(0, 126, 255, 0.24);\n padding: 1px 5px 3px;\n}\n.Select--multi .Select-value-icon:hover,\n.Select--multi .Select-value-icon:focus {\n background-color: #d8eafd;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 113, 230, 0.08);\n color: #0071e6;\n}\n.Select--multi .Select-value-icon:active {\n background-color: #c2e0ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.24);\n}\n.Select--multi.Select--rtl .Select-value {\n margin-left: 0;\n margin-right: 5px;\n}\n.Select--multi.Select--rtl .Select-value-icon {\n border-right: none;\n border-left: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border-left: 1px solid rgba(0, 126, 255, 0.24);\n}\n.Select--multi.is-disabled .Select-value {\n background-color: #fcfcfc;\n border: 1px solid #e3e3e3;\n color: #333;\n}\n.Select--multi.is-disabled .Select-value-icon {\n cursor: not-allowed;\n border-right: 1px solid #e3e3e3;\n}\n.Select--multi.is-disabled .Select-value-icon:hover,\n.Select--multi.is-disabled .Select-value-icon:focus,\n.Select--multi.is-disabled .Select-value-icon:active {\n background-color: #fcfcfc;\n}\n@keyframes Select-animation-spin {\n to {\n transform: rotate(1turn);\n }\n}\n@-webkit-keyframes Select-animation-spin {\n to {\n -webkit-transform: rotate(1turn);\n }\n}\n","",{version:3,sources:["webpack://./node_modules/react-select/dist/react-select.css"],names:[],mappings:"AAAA;;;;;;CAMC;AACD;EACE,kBAAkB;AACpB;AACA;;EAEE,wBAAwB;AAC1B;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,wBAAwB;AAC1B;AACA;;;;EAIE,8BAA8B;EAC9B,2BAA2B;EAC3B,sBAAsB;AACxB;AACA;EACE,eAAe;EACf,oBAAoB;EACpB,aAAa;AACf;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,gBAAgB;AAClB;AACA;EACE,6BAA6B;EAC7B,4BAA4B;EAC5B,gBAAgB;EAChB,kCAAkC;AACpC;AACA;EACE,SAAS;EACT,0CAA0C;EAC1C,uBAAuB;AACzB;AACA;EACE,YAAY;AACd;AACA;EACE,YAAY;AACd;AACA;EACE,gBAAgB;AAClB;AACA;EACE,qBAAqB;EACrB,kFAAkF;EAClF,gBAAgB;AAClB;AACA;EACE,mBAAmB;AACrB;AACA;;EAEE,WAAW;AACb;AACA;;EAEE,eAAe;EACf,qBAAqB;AACvB;AACA;;;;EAIE,cAAc;EACd,aAAa;EACb,0BAA0B;AAC5B;AACA;;EAEE,gBAAgB;AAClB;AACA;EACE,UAAU;AACZ;AACA;;EAEE,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,sBAAsB;EACtB,kCAAkC;EAClC,kBAAkB;EAClB,sBAAsB;EACtB,WAAW;EACX,eAAe;EACf,cAAc;EACd,iBAAiB;EACjB,yBAAyB;EACzB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,kBAAkB;EAClB,WAAW;AACb;AACA;EACE,uCAAuC;AACzC;AACA;EACE,aAAa;EACb,gBAAgB;AAClB;AACA;;EAEE,SAAS;EACT,WAAW;EACX,OAAO;EACP,iBAAiB;EACjB,kBAAkB;EAClB,mBAAmB;EACnB,kBAAkB;EAClB,QAAQ;EACR,MAAM;EACN,eAAe;EACf,gBAAgB;EAChB,uBAAuB;EACvB,mBAAmB;AACrB;AACA;EACE,YAAY;EACZ,kBAAkB;EAClB,mBAAmB;EACnB,sBAAsB;AACxB;AACA;EACE,WAAW;EACX,4BAA4B;EAC5B,cAAc;EACd,gBAAgB;EAChB,eAAe;EACf,qBAAqB;EACrB,oBAAoB;EACpB,kBAAkB;EAClB,SAAS;EACT,aAAa;EACb,iBAAiB;EACjB,2BAA2B;EAC3B,mBAAmB;EACnB,2BAA2B;EAC3B,wBAAwB;AAC1B;AACA;EACE,YAAY;AACd;AACA;EACE,UAAU;AACZ;AACA;EACE,aAAa;AACf;AACA;EACE,eAAe;EACf,mBAAmB;EACnB,kBAAkB;EAClB,kBAAkB;EAClB,sBAAsB;EACtB,WAAW;AACb;AACA;EACE,8DAA8D;EAC9D,yDAAyD;EACzD,sDAAsD;EACtD,WAAW;EACX,YAAY;EACZ,sBAAsB;EACtB,kBAAkB;EAClB,sBAAsB;EACtB,wBAAwB;EACxB,qBAAqB;EACrB,kBAAkB;EAClB,sBAAsB;AACxB;AACA;EACE,gDAAgD;EAChD,2CAA2C;EAC3C,wCAAwC;EACxC,WAAW;EACX,eAAe;EACf,mBAAmB;EACnB,kBAAkB;EAClB,kBAAkB;EAClB,sBAAsB;EACtB,WAAW;AACb;AACA;EACE,cAAc;AAChB;AACA;EACE,qBAAqB;EACrB,eAAe;EACf,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,eAAe;EACf,mBAAmB;EACnB,kBAAkB;EAClB,kBAAkB;EAClB,sBAAsB;EACtB,WAAW;EACX,kBAAkB;AACpB;AACA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;AACA;EACE,0CAA0C;EAC1C,mBAAmB;EACnB,2BAA2B;EAC3B,qBAAqB;EACrB,SAAS;EACT,QAAQ;EACR,kBAAkB;AACpB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,kBAAkB;EAClB,qBAAqB;EACrB,WAAW;EACX,UAAU;EACV,YAAY;EACZ,sBAAsB;EACtB,gBAAgB;EAChB,WAAW;AACb;AACA;EACE;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;AACF;AACA;EACE;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;AACF;AACA;EACE,+BAA+B;EAC/B,8BAA8B;EAC9B,sBAAsB;EACtB,sBAAsB;EACtB,yBAAyB;EACzB,uCAAuC;EACvC,sBAAsB;EACtB,gBAAgB;EAChB,iBAAiB;EACjB,kBAAkB;EAClB,OAAO;EACP,SAAS;EACT,WAAW;EACX,UAAU;EACV,iCAAiC;AACnC;AACA;EACE,iBAAiB;EACjB,gBAAgB;AAClB;AACA;EACE,sBAAsB;EACtB,sBAAsB;EACtB,cAAc;EACd,eAAe;EACf,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,+BAA+B;EAC/B,8BAA8B;AAChC;AACA;EACE,yBAAyB;EACzB,4BAA4B;EAC5B,yCAAyC;EACzC,WAAW;AACb;AACA;EACE,yBAAyB;EACzB,4BAA4B;EAC5B,yCAAyC;EACzC,WAAW;AACb;AACA;EACE,cAAc;EACd,eAAe;AACjB;AACA;EACE,sBAAsB;EACtB,cAAc;EACd,eAAe;EACf,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,sBAAsB;EACtB,iBAAiB;EACjB,UAAU;AACZ;AACA;EACE,cAAc;EACd,kBAAkB;AACpB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,yBAAyB;EACzB,4BAA4B;EAC5B,yCAAyC;EACzC,kBAAkB;EAClB,yBAAyB;EACzB,4BAA4B;EAC5B,yCAAyC;EACzC,cAAc;EACd,qBAAqB;EACrB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,eAAe;EACf,mBAAmB;AACrB;AACA;;EAEE,qBAAqB;EACrB,sBAAsB;AACxB;AACA;EACE,+BAA+B;EAC/B,4BAA4B;EAC5B,eAAe;EACf,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,eAAe;EACf,qBAAqB;AACvB;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,eAAe;EACf,8BAA8B;EAC9B,2BAA2B;EAC3B,+BAA+B;EAC/B,4BAA4B;EAC5B,+CAA+C;EAC/C,oBAAoB;AACtB;AACA;;EAEE,yBAAyB;EACzB,4BAA4B;EAC5B,yCAAyC;EACzC,cAAc;AAChB;AACA;EACE,yBAAyB;EACzB,4BAA4B;EAC5B,yCAAyC;AAC3C;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,8BAA8B;EAC9B,4BAA4B;EAC5B,8CAA8C;AAChD;AACA;EACE,yBAAyB;EACzB,yBAAyB;EACzB,WAAW;AACb;AACA;EACE,mBAAmB;EACnB,+BAA+B;AACjC;AACA;;;EAGE,yBAAyB;AAC3B;AACA;EACE;IACE,wBAAwB;EAC1B;AACF;AACA;EACE;IACE,gCAAgC;EAClC;AACF",sourcesContent:["/**\n * React Select\n * ============\n * Created by Jed Watson and Joss Mackison for KeystoneJS, http://www.keystonejs.com/\n * https://twitter.com/jedwatson https://twitter.com/jossmackison https://twitter.com/keystonejs\n * MIT License: https://github.com/JedWatson/react-select\n*/\n.Select {\n position: relative;\n}\n.Select input::-webkit-contacts-auto-fill-button,\n.Select input::-webkit-credentials-auto-fill-button {\n display: none !important;\n}\n.Select input::-ms-clear {\n display: none !important;\n}\n.Select input::-ms-reveal {\n display: none !important;\n}\n.Select,\n.Select div,\n.Select input,\n.Select span {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n.Select.is-disabled .Select-arrow-zone {\n cursor: default;\n pointer-events: none;\n opacity: 0.35;\n}\n.Select.is-disabled > .Select-control {\n background-color: #f9f9f9;\n}\n.Select.is-disabled > .Select-control:hover {\n box-shadow: none;\n}\n.Select.is-open > .Select-control {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n background: #fff;\n border-color: #b3b3b3 #ccc #d9d9d9;\n}\n.Select.is-open > .Select-control .Select-arrow {\n top: -2px;\n border-color: transparent transparent #999;\n border-width: 0 5px 5px;\n}\n.Select.is-searchable.is-open > .Select-control {\n cursor: text;\n}\n.Select.is-searchable.is-focused:not(.is-open) > .Select-control {\n cursor: text;\n}\n.Select.is-focused > .Select-control {\n background: #fff;\n}\n.Select.is-focused:not(.is-open) > .Select-control {\n border-color: #007eff;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(0, 126, 255, 0.1);\n background: #fff;\n}\n.Select.has-value.is-clearable.Select--single > .Select-control .Select-value {\n padding-right: 42px;\n}\n.Select.has-value.Select--single > .Select-control .Select-value .Select-value-label,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {\n color: #333;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label {\n cursor: pointer;\n text-decoration: none;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:hover,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:hover,\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:focus,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:focus {\n color: #007eff;\n outline: none;\n text-decoration: underline;\n}\n.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:focus,\n.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:focus {\n background: #fff;\n}\n.Select.has-value.is-pseudo-focused .Select-input {\n opacity: 0;\n}\n.Select.is-open .Select-arrow,\n.Select .Select-arrow-zone:hover > .Select-arrow {\n border-top-color: #666;\n}\n.Select.Select--rtl {\n direction: rtl;\n text-align: right;\n}\n.Select-control {\n background-color: #fff;\n border-color: #d9d9d9 #ccc #b3b3b3;\n border-radius: 4px;\n border: 1px solid #ccc;\n color: #333;\n cursor: default;\n display: table;\n border-spacing: 0;\n border-collapse: separate;\n height: 36px;\n outline: none;\n overflow: hidden;\n position: relative;\n width: 100%;\n}\n.Select-control:hover {\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);\n}\n.Select-control .Select-input:focus {\n outline: none;\n background: #fff;\n}\n.Select-placeholder,\n.Select--single > .Select-control .Select-value {\n bottom: 0;\n color: #aaa;\n left: 0;\n line-height: 34px;\n padding-left: 10px;\n padding-right: 10px;\n position: absolute;\n right: 0;\n top: 0;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.Select-input {\n height: 34px;\n padding-left: 10px;\n padding-right: 10px;\n vertical-align: middle;\n}\n.Select-input > input {\n width: 100%;\n background: none transparent;\n border: 0 none;\n box-shadow: none;\n cursor: default;\n display: inline-block;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n outline: none;\n line-height: 17px;\n /* For IE 8 compatibility */\n padding: 8px 0 12px;\n /* For IE 8 compatibility */\n -webkit-appearance: none;\n}\n.is-focused .Select-input > input {\n cursor: text;\n}\n.has-value.is-pseudo-focused .Select-input {\n opacity: 0;\n}\n.Select-control:not(.is-searchable) > .Select-input {\n outline: none;\n}\n.Select-loading-zone {\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 16px;\n}\n.Select-loading {\n -webkit-animation: Select-animation-spin 400ms infinite linear;\n -o-animation: Select-animation-spin 400ms infinite linear;\n animation: Select-animation-spin 400ms infinite linear;\n width: 16px;\n height: 16px;\n box-sizing: border-box;\n border-radius: 50%;\n border: 2px solid #ccc;\n border-right-color: #333;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n}\n.Select-clear-zone {\n -webkit-animation: Select-animation-fadeIn 200ms;\n -o-animation: Select-animation-fadeIn 200ms;\n animation: Select-animation-fadeIn 200ms;\n color: #999;\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 17px;\n}\n.Select-clear-zone:hover {\n color: #D0021B;\n}\n.Select-clear {\n display: inline-block;\n font-size: 18px;\n line-height: 1;\n}\n.Select--multi .Select-clear-zone {\n width: 17px;\n}\n.Select-arrow-zone {\n cursor: pointer;\n display: table-cell;\n position: relative;\n text-align: center;\n vertical-align: middle;\n width: 25px;\n padding-right: 5px;\n}\n.Select--rtl .Select-arrow-zone {\n padding-right: 0;\n padding-left: 5px;\n}\n.Select-arrow {\n border-color: #999 transparent transparent;\n border-style: solid;\n border-width: 5px 5px 2.5px;\n display: inline-block;\n height: 0;\n width: 0;\n position: relative;\n}\n.Select-control > *:last-child {\n padding-right: 5px;\n}\n.Select--multi .Select-multi-value-wrapper {\n display: inline-block;\n}\n.Select .Select-aria-only {\n position: absolute;\n display: inline-block;\n height: 1px;\n width: 1px;\n margin: -1px;\n clip: rect(0, 0, 0, 0);\n overflow: hidden;\n float: left;\n}\n@-webkit-keyframes Select-animation-fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes Select-animation-fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.Select-menu-outer {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n background-color: #fff;\n border: 1px solid #ccc;\n border-top-color: #e6e6e6;\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);\n box-sizing: border-box;\n margin-top: -1px;\n max-height: 200px;\n position: absolute;\n left: 0;\n top: 100%;\n width: 100%;\n z-index: 1;\n -webkit-overflow-scrolling: touch;\n}\n.Select-menu {\n max-height: 198px;\n overflow-y: auto;\n}\n.Select-option {\n box-sizing: border-box;\n background-color: #fff;\n color: #666666;\n cursor: pointer;\n display: block;\n padding: 8px 10px;\n}\n.Select-option:last-child {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.Select-option.is-selected {\n background-color: #f5faff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.04);\n color: #333;\n}\n.Select-option.is-focused {\n background-color: #ebf5ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.08);\n color: #333;\n}\n.Select-option.is-disabled {\n color: #cccccc;\n cursor: default;\n}\n.Select-noresults {\n box-sizing: border-box;\n color: #999999;\n cursor: default;\n display: block;\n padding: 8px 10px;\n}\n.Select--multi .Select-input {\n vertical-align: middle;\n margin-left: 10px;\n padding: 0;\n}\n.Select--multi.Select--rtl .Select-input {\n margin-left: 0;\n margin-right: 10px;\n}\n.Select--multi.has-value .Select-input {\n margin-left: 5px;\n}\n.Select--multi .Select-value {\n background-color: #ebf5ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.08);\n border-radius: 2px;\n border: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border: 1px solid rgba(0, 126, 255, 0.24);\n color: #007eff;\n display: inline-block;\n font-size: 0.9em;\n line-height: 1.4;\n margin-left: 5px;\n margin-top: 5px;\n vertical-align: top;\n}\n.Select--multi .Select-value-icon,\n.Select--multi .Select-value-label {\n display: inline-block;\n vertical-align: middle;\n}\n.Select--multi .Select-value-label {\n border-bottom-right-radius: 2px;\n border-top-right-radius: 2px;\n cursor: default;\n padding: 2px 5px;\n}\n.Select--multi a.Select-value-label {\n color: #007eff;\n cursor: pointer;\n text-decoration: none;\n}\n.Select--multi a.Select-value-label:hover {\n text-decoration: underline;\n}\n.Select--multi .Select-value-icon {\n cursor: pointer;\n border-bottom-left-radius: 2px;\n border-top-left-radius: 2px;\n border-right: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border-right: 1px solid rgba(0, 126, 255, 0.24);\n padding: 1px 5px 3px;\n}\n.Select--multi .Select-value-icon:hover,\n.Select--multi .Select-value-icon:focus {\n background-color: #d8eafd;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 113, 230, 0.08);\n color: #0071e6;\n}\n.Select--multi .Select-value-icon:active {\n background-color: #c2e0ff;\n /* Fallback color for IE 8 */\n background-color: rgba(0, 126, 255, 0.24);\n}\n.Select--multi.Select--rtl .Select-value {\n margin-left: 0;\n margin-right: 5px;\n}\n.Select--multi.Select--rtl .Select-value-icon {\n border-right: none;\n border-left: 1px solid #c2e0ff;\n /* Fallback color for IE 8 */\n border-left: 1px solid rgba(0, 126, 255, 0.24);\n}\n.Select--multi.is-disabled .Select-value {\n background-color: #fcfcfc;\n border: 1px solid #e3e3e3;\n color: #333;\n}\n.Select--multi.is-disabled .Select-value-icon {\n cursor: not-allowed;\n border-right: 1px solid #e3e3e3;\n}\n.Select--multi.is-disabled .Select-value-icon:hover,\n.Select--multi.is-disabled .Select-value-icon:focus,\n.Select--multi.is-disabled .Select-value-icon:active {\n background-color: #fcfcfc;\n}\n@keyframes Select-animation-spin {\n to {\n transform: rotate(1turn);\n }\n}\n@-webkit-keyframes Select-animation-spin {\n to {\n -webkit-transform: rotate(1turn);\n }\n}\n"],sourceRoot:""}]),t.A=a},3650:function(e,t,n){"use strict";var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".dash-spreadsheet .Select,\n.dash-spreadsheet .Select-control {\n border: none;\n cursor: pointer;\n height: 30px; /* matches the td height and line-height */\n border: none;\n}\n\n.dash-spreadsheet .Select-placeholder,\n.dash-spreadsheet .Select--single > .Select-control .Select-value {\n height: 100%;\n line-height: inherit;\n}\n\n.dash-spreadsheet .Select.has-value.Select--single > .Select-control .Select-value .Select-value-label,\n.dash-spreadsheet .Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {\n color: var(--text-color);\n}\n\n.dash-spreadsheet .Select:hover,\n.dash-spreadsheet .Select-control:hover {\n border: none;\n box-shadow: none;\n cursor: pointer;\n}\n\n.dash-spreadsheet .Select-menu-outer {\n z-index: 100;\n}\n\n.dash-spreadsheet .Select-arrow {\n border-top-color: var(--faded-dropdown);\n border-left-color: transparent;\n border-right-color: transparent;\n border-bottom-color: transparent;\n}\n\n.dash-spreadsheet .Select-control:hover .Select-arrow {\n border-top-color: var(--accent);\n border-left-color: transparent;\n border-right-color: transparent;\n border-bottom-color: transparent;\n}\n\n.dash-spreadsheet .is-open > .Select-control .Select-arrow {\n border-bottom-color: var(--background-color-8-react-select);\n border-left-color: transparent;\n border-right-color: transparent;\n border-top-color: transparent;\n}\n\n.dash-spreadsheet .Select--multi .Select-value,\n.dash-spreadsheet .Select--multi a.Select-value-label {\n color: var(--color-8-react-select);\n}\n\n.dash-spreadsheet .Select {\n border-radius: 0;\n}\n\n.dash-spreadsheet .Select.is-disabled > .Select-control {\n border: none;\n}\n\n.dash-spreadsheet .Select--multi .Select-value-icon:hover,\n.dash-spreadsheet .Select--multi .Select-value-icon:focus {\n font-weight: bold;\n}\n\n.dash-spreadsheet .Select.is-disabled .Select-control {\n cursor: not-allowed;\n}\n\n.dash-spreadsheet .Select-menu-outer {\n background-color: white;\n border: none;\n border-bottom: thin var(--border) solid;\n border-radius: 0;\n border-top: none;\n}\n\n.dash-spreadsheet .Select-option {\n background-color: inherit;\n color: var(--accent);\n}\n\n.dash-spreadsheet .Select-option:hover {\n font-weight: bold;\n color: var(--accent);\n background-color: var(--hover);\n}\n\n.dash-spreadsheet .Select.is-focused:not(.is-open) > .Select-control {\n border: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n background: #fff;\n}\n\n.dash-spreadsheet .Select-option.is-focused {\n background-color: white;\n color: var(--accent);\n font-weight: bold;\n}\n\n.dash-spreadsheet .Select-clear {\n color: transparent;\n}\n.dash-spreadsheet .Select:hover .Select-clear {\n color: var(--accent);\n}\n\n.dash-spreadsheet .Select-control {\n padding-left: 2px;\n}\n","",{version:3,sources:["webpack://./src/dash-table/components/Table/Dropdown.css"],names:[],mappings:"AAAA;;IAEI,YAAY;IACZ,eAAe;IACf,YAAY,GAAG,0CAA0C;IACzD,YAAY;AAChB;;AAEA;;IAEI,YAAY;IACZ,oBAAoB;AACxB;;AAEA;;IAEI,wBAAwB;AAC5B;;AAEA;;IAEI,YAAY;IACZ,gBAAgB;IAChB,eAAe;AACnB;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,uCAAuC;IACvC,8BAA8B;IAC9B,+BAA+B;IAC/B,gCAAgC;AACpC;;AAEA;IACI,+BAA+B;IAC/B,8BAA8B;IAC9B,+BAA+B;IAC/B,gCAAgC;AACpC;;AAEA;IACI,2DAA2D;IAC3D,8BAA8B;IAC9B,+BAA+B;IAC/B,6BAA6B;AACjC;;AAEA;;IAEI,kCAAkC;AACtC;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,YAAY;AAChB;;AAEA;;IAEI,iBAAiB;AACrB;;AAEA;IACI,mBAAmB;AACvB;;AAEA;IACI,uBAAuB;IACvB,YAAY;IACZ,uCAAuC;IACvC,gBAAgB;IAChB,gBAAgB;AACpB;;AAEA;IACI,yBAAyB;IACzB,oBAAoB;AACxB;;AAEA;IACI,iBAAiB;IACjB,oBAAoB;IACpB,8BAA8B;AAClC;;AAEA;IACI,YAAY;IACZ,wBAAwB;IACxB,gBAAgB;IAChB,gBAAgB;AACpB;;AAEA;IACI,uBAAuB;IACvB,oBAAoB;IACpB,iBAAiB;AACrB;;AAEA;IACI,kBAAkB;AACtB;AACA;IACI,oBAAoB;AACxB;;AAEA;IACI,iBAAiB;AACrB",sourcesContent:[".dash-spreadsheet .Select,\n.dash-spreadsheet .Select-control {\n border: none;\n cursor: pointer;\n height: 30px; /* matches the td height and line-height */\n border: none;\n}\n\n.dash-spreadsheet .Select-placeholder,\n.dash-spreadsheet .Select--single > .Select-control .Select-value {\n height: 100%;\n line-height: inherit;\n}\n\n.dash-spreadsheet .Select.has-value.Select--single > .Select-control .Select-value .Select-value-label,\n.dash-spreadsheet .Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {\n color: var(--text-color);\n}\n\n.dash-spreadsheet .Select:hover,\n.dash-spreadsheet .Select-control:hover {\n border: none;\n box-shadow: none;\n cursor: pointer;\n}\n\n.dash-spreadsheet .Select-menu-outer {\n z-index: 100;\n}\n\n.dash-spreadsheet .Select-arrow {\n border-top-color: var(--faded-dropdown);\n border-left-color: transparent;\n border-right-color: transparent;\n border-bottom-color: transparent;\n}\n\n.dash-spreadsheet .Select-control:hover .Select-arrow {\n border-top-color: var(--accent);\n border-left-color: transparent;\n border-right-color: transparent;\n border-bottom-color: transparent;\n}\n\n.dash-spreadsheet .is-open > .Select-control .Select-arrow {\n border-bottom-color: var(--background-color-8-react-select);\n border-left-color: transparent;\n border-right-color: transparent;\n border-top-color: transparent;\n}\n\n.dash-spreadsheet .Select--multi .Select-value,\n.dash-spreadsheet .Select--multi a.Select-value-label {\n color: var(--color-8-react-select);\n}\n\n.dash-spreadsheet .Select {\n border-radius: 0;\n}\n\n.dash-spreadsheet .Select.is-disabled > .Select-control {\n border: none;\n}\n\n.dash-spreadsheet .Select--multi .Select-value-icon:hover,\n.dash-spreadsheet .Select--multi .Select-value-icon:focus {\n font-weight: bold;\n}\n\n.dash-spreadsheet .Select.is-disabled .Select-control {\n cursor: not-allowed;\n}\n\n.dash-spreadsheet .Select-menu-outer {\n background-color: white;\n border: none;\n border-bottom: thin var(--border) solid;\n border-radius: 0;\n border-top: none;\n}\n\n.dash-spreadsheet .Select-option {\n background-color: inherit;\n color: var(--accent);\n}\n\n.dash-spreadsheet .Select-option:hover {\n font-weight: bold;\n color: var(--accent);\n background-color: var(--hover);\n}\n\n.dash-spreadsheet .Select.is-focused:not(.is-open) > .Select-control {\n border: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n background: #fff;\n}\n\n.dash-spreadsheet .Select-option.is-focused {\n background-color: white;\n color: var(--accent);\n font-weight: bold;\n}\n\n.dash-spreadsheet .Select-clear {\n color: transparent;\n}\n.dash-spreadsheet .Select:hover .Select-clear {\n color: var(--accent);\n}\n\n.dash-spreadsheet .Select-control {\n padding-left: 2px;\n}\n"],sourceRoot:""}]),t.A=a},7365:function(e,t,n){"use strict";var r=n(6886);e.exports=function(e){var t=typeof e;if("string"===t){var n=e;if(0===(e=+e)&&r(n))return!1}else if("number"!==t)return!1;return e-e<1}},6886:function(e){"use strict";e.exports=function(e){for(var t,n=e.length,r=0;r<n;r++)if(((t=e.charCodeAt(r))<9||t>13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}},9132:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1609),a=s(i),l=s(n(6120));function s(e){return e&&e.__esModule?e:{default:e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},u=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],p=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},f=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),d=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||d()},n}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),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||d()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(p(e,this.sizer),this.placeHolderSizer&&p(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return f&&e?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce(function(e,t){return null!=e?e:t}),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){u.forEach(function(t){return delete e[t]})}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(i.Component);h.propTypes={className:l.default.string,defaultValue:l.default.any,extraWidth:l.default.oneOfType([l.default.number,l.default.string]),id:l.default.string,injectStyles:l.default.bool,inputClassName:l.default.string,inputRef:l.default.func,inputStyle:l.default.object,minWidth:l.default.oneOfType([l.default.number,l.default.string]),onAutosize:l.default.func,onChange:l.default.func,placeholder:l.default.string,placeholderIsMinWidth:l.default.bool,style:l.default.object,value:l.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.A=h},1831:function(e){!function(t){"use strict";function n(){}function r(e){return e.split('"').length-1}n.prototype=Object.create(Object.prototype,{parse:{value:function(e){var t,n,o,i,a,l,s,c=[],u=0;for((o=e.split("\n")).length>1&&""===o[o.length-1]&&o.pop(),t=0,n=o.length;t<n;t+=1){for(o[t]=o[t].split("\t"),i=0,a=o[t].length;i<a;i+=1)c[u]||(c[u]=[]),l&&0===i?(s=c[u].length-1,c[u][s]=c[u][s]+"\n"+o[t][0],l&&1&r(o[t][0])&&(l=!1,c[u][s]=c[u][s].substring(0,c[u][s].length-1).replace(/""/g,'"'))):i===a-1&&0===o[t][i].indexOf('"')&&1&r(o[t][i])?(c[u].push(o[t][i].substring(1).replace(/""/g,'"')),l=!0):(c[u].push(o[t][i].replace(/""/g,'"')),l=!1);l||(u+=1)}return c},enumerable:!0,configurable:!1,writable:!1},stringify:{value:function(e){var t,n,r,o,i,a="";for(t=0,n=e.length;t<n;t+=1){for(r=0,o=e[t].length;r<o;r+=1)r>0&&(a+="\t"),"string"==typeof(i=e[t][r])?i.indexOf("\n")>-1?a+='"'+i.replace(/"/g,'""')+'"':a+=i:a+=null==i?"":i;a+="\n"}return a},enumerable:!0,configurable:!1,writable:!1}}),e.exports?e.exports=n:t.SheetClip=n}(this)},6942:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},1608:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(1322);function o(e,t,n){if(n||(n=new i),function(e){var t=typeof e;return null==e||"object"!=t&&"function"!=t}(e))return e;var a,l=function(r){var i=n.get(e);if(i)return i;for(var a in n.set(e,r),e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=t?o(e[a],!0,n):e[a]);return r};switch((0,r.A)(e)){case"Object":return l(Object.create(Object.getPrototypeOf(e)));case"Array":return l(Array(e.length));case"Date":return new Date(e.valueOf());case"RegExp":return a=e,new RegExp(a.source,a.flags?a.flags:(a.global?"g":"")+(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.sticky?"y":"")+(a.unicode?"u":"")+(a.dotAll?"s":""));case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}var i=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){var n=this.hash(e),r=this.map[n];r||(this.map[n]=r=[]),r.push([e,t]),this.length+=1},e.prototype.hash=function(e){var t=[];for(var n in e)t.push(Object.prototype.toString.call(e[n]));return t.join()},e.prototype.get=function(e){if(this.length<=180){for(var t in this.map)for(var n=this.map[t],r=0;r<n.length;r+=1)if((i=n[r])[0]===e)return i[1]}else{var o=this.hash(e);if(n=this.map[o])for(r=0;r<n.length;r+=1){var i;if((i=n[r])[0]===e)return i[1]}}},e}(),a=(0,n(3579).A)(function(e){return null!=e&&"function"==typeof e.clone?e.clone():o(e,!0)})},9614:function(e,t,n){"use strict";var r=n(371),o=(0,n(2254).A)((0,r.A)("forEach",function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t}));t.A=o},1487:function(e,t,n){"use strict";var r=n(3112),o=(0,n(2254).A)(r.A);t.A=o},371:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(5564);function o(e,t){return function(){var n=arguments.length;if(0===n)return t();var o=arguments[n-1];return(0,r.A)(o)||"function"!=typeof o[e]?t.apply(this,arguments):o[e].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}},3112:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(3111);function o(e,t){return(0,r.A)(t,e,0)>=0}},3111:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(2254);function o(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function i(e,t,n){for(var r=0,o=n.length;r<o;){if(e(t,n[r]))return!0;r+=1}return!1}var a=n(1069),l="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},s=n(2959),c=n(1322);function u(e,t,n,r){var a=o(e);function l(e,t){return p(e,t,n.slice(),r.slice())}return!i(function(e,t){return!i(l,t,e)},o(t),a)}function p(e,t,n,r){if(l(e,t))return!0;var o,i,f=(0,c.A)(e);if(f!==(0,c.A)(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(f){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(o=e.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!l(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!l(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var d=n.length-1;d>=0;){if(n[d]===e)return r[d]===t;d-=1}switch(f){case"Map":return e.size===t.size&&u(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&u(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var h=(0,s.A)(e);if(h.length!==(0,s.A)(t).length)return!1;var b=n.concat([e]),A=r.concat([t]);for(d=h.length-1;d>=0;){var y=h[d];if(!(0,a.A)(y,t)||!p(t[y],e[y],b,A))return!1;d-=1}return!0}var f=(0,r.A)(function(e,t){return p(e,t,[],[])});function d(e,t,n){var r,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(o=e[n])&&1/o===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(f(e[n],t))return n;n+=1}return-1}},4239:function(e,t,n){"use strict";var r=n(1069);t.A="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,o=arguments.length;n<o;){var i=arguments[n];if(null!=i)for(var a in i)(0,r.A)(a,i)&&(t[a]=i[a]);n+=1}return t}},3700:function(e,t,n){"use strict";var r=n(4239),o=(0,n(2254).A)(function(e,t){return(0,r.A)({},e,t)});t.A=o},2537:function(e,t,n){"use strict";function r(e){return"[object Number]"===Object.prototype.toString.call(e)}n.d(t,{A:function(){return o}});var o=(0,n(2254).A)(function(e,t){if(!r(e)||!r(t))throw new TypeError("Both arguments to range must be numbers");for(var n=Array(e<t?t-e:0),o=e<0?t+Math.abs(e):t-e,i=0;i<o;)n[i]=i+e,i+=1;return n})},954:function(e,t,n){"use strict";var r=(0,n(2173).A)(function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r});t.A=r},1322:function(e,t,n){"use strict";var r=(0,n(3579).A)(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});t.A=r}}]);
3//# sourceMappingURL=async-table.js.map

Callers

nothing calls this directly

Calls 4

_AFunction · 0.85
VAFunction · 0.85
YAFunction · 0.85
UAFunction · 0.85

Tested by

no test coverage detected