diff --git a/packages/dash-table/CHANGELOG.md b/packages/dash-table/CHANGELOG.md index 81baebf522..0599d241bf 100644 --- a/packages/dash-table/CHANGELOG.md +++ b/packages/dash-table/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Added +[#342](https://github.com/plotly/dash-core/issues/342) +- Added `column_type` condition to style `if`; allows applying styles based on the type of the column for props + - `style_cell_conditional` + - `style_data_conditional` + - `style_filter_conditional` + - `style_header_conditional` + +### Fixed +[#342](https://github.com/plotly/dash-core/issues/342) +- Added already supported `filter` nested prop / condition to `style_data_conditional` props definition + ## [3.4.0] - 2019-02-08 ### Added [#364](https://github.com/plotly/dash-table/pull/364) diff --git a/packages/dash-table/dash_table/bundle.js b/packages/dash-table/dash_table/bundle.js index 91dc3d6ae7..d37210cd94 100644 --- a/packages/dash-table/dash_table/bundle.js +++ b/packages/dash-table/dash_table/bundle.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.dash_table=t(require("react"),require("react-dom")):e.dash_table=t(e.React,e.ReactDOM)}(window,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=119)}([function(e,t,n){e.exports=n(131)()},function(t,n){t.exports=e},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(5),o=n(8);function i(e){return function t(n,i){switch(arguments.length){case 0:return t;case 1:return Object(o.a)(n)?t:Object(r.a)(function(t){return e(n,t)});default:return Object(o.a)(n)&&Object(o.a)(i)?t:Object(o.a)(n)?Object(r.a)(function(t){return e(t,i)}):Object(o.a)(i)?Object(r.a)(function(t){return e(n,t)}):e(n,i)}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a});n(38);var r=n(27);function o(e){var t,n=null;return function(){for(var o=arguments.length,i=new Array(o),a=0;ao;)K(e,n=r[o++],t[n]);return e},Z=function(e){var t=M.call(this,e=w(e,!0));return!(this===q&&o(L,e)&&!o(N,e))&&(!(t||!o(this,e)||!o(L,e)||o(this,D)&&this[D][e])||t)},J=function(e,t){if(e=x(e),t=w(t,!0),e!==q||!o(L,t)||o(N,t)){var n=A(e,t);return!n||!o(L,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=j(x(e)),r=[],i=0;n.length>i;)o(L,t=n[i++])||t==D||t==l||r.push(t);return r},X=function(e){for(var t,n=e===q,r=j(n?N:x(e)),i=[],a=0;r.length>a;)!o(L,t=r[a++])||n&&!o(q,t)||i.push(L[t]);return i};B||(s((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(N,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),W(this,e,_(1,n))};return i&&U&&W(q,e,{configurable:!0,set:t}),H(e)}).prototype,"toString",function(){return this._k}),O.f=J,E.f=K,n(77).f=S.f=Y,n(51).f=Z,n(76).f=X,i&&!n(48)&&s(q,"propertyIsEnumerable",Z,!0),h.f=function(e){return H(f(e))}),a(a.G+a.W+a.F*!B,{Symbol:R});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)f(Q[ee++]);for(var te=C(f.store),ne=0;te.length>ne;)v(te[ne++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return o(I,e+="")?I[e]:I[e]=R(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?k(e):$(k(e),t)},defineProperty:K,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:Y,getOwnPropertySymbols:X}),z&&a(a.S+a.F*(!B||c(function(){var e=R();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(m(t)||void 0!==e)&&!G(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,P.apply(z,r)}}),R.prototype[F]||n(32)(R.prototype,F,R.prototype.valueOf),p(R,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(55)("wks"),o=n(46),i=n(14).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(95)(!0);n(79)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(14),o=n(37),i=n(32),a=n(29),s=n(33),l=function(e,t,n){var c,u,p,d,f=e&l.F,h=e&l.G,v=e&l.S,g=e&l.P,b=e&l.B,y=h?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,m=h?o:o[t]||(o[t]={}),x=m.prototype||(m.prototype={});for(c in h&&(n=t),n)p=((u=!f&&y&&void 0!==y[c])?y:n)[c],d=b&&u?s(p,r):g&&"function"==typeof p?s(Function.call,p):p,y&&a(y,c,p,e&l.U),m[c]!=p&&i(m,c,d),g&&x[c]!=p&&(x[c]=p)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(t,e)}n.d(t,"a",function(){return r})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r=n(57),o=n(101),i=n(52),a=n(43);e.exports=n(79)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return!!e&&r.call(e,t)}var i=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var l=/&([a-z#][a-z0-9]{1,31});/gi,c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(111);function p(e,t){var n=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(n):e}var d=/[&<>"]/,f=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function v(e){return h[e]}t.assign=function(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},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.isValidEntityCode=a,t.fromCodePoint=s,t.replaceEntities=function(e){return e.indexOf("&")<0?e:e.replace(l,p)},t.escapeHtml=function(e){return d.test(e)?e.replace(f,v):e}},function(e,t,n){var r=n(18),o=n(89),i=n(54),a=Object.defineProperty;t.f=n(22)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";n(137);var r=n(18),o=n(72),i=n(22),a=/./.toString,s=function(e){n(29)(RegExp.prototype,"toString",e,!0)};n(23)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(e,t,n){"use strict";var r=n(33),o=n(15),i=n(45),a=n(102),s=n(103),l=n(41),c=n(138),u=n(104);o(o.S+o.F*!n(80)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,d=i(e),f="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,b=0,y=u(d);if(g&&(v=r(v,h>2?arguments[2]:void 0,2)),null==y||f==Array&&s(y))for(n=new f(t=l(d.length));t>b;b++)c(n,b,g?v(d[b],b):d[b]);else for(p=y.call(d),n=new f;!(o=p.next()).done;b++)c(n,b,g?a(p,v,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){"use strict";t.a=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});n(10),n(11),n(9),n(19),n(135);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})(e)}function o(e){return null!=e&&"object"===r(e)&&e.constructor===Object}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e===t||a(Object.values(e),Object.values(t),n)}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&e.length===t.length&&!!e.every(function(e,r){var s=t[r];return e===s||n&&(Array.isArray(e)&&Array.isArray(s)&&a(e,s,n)||o(e)&&o(s)&&i(e,s,n))})}},function(e,t,n){"use strict";var r;n.d(t,"a",function(){return r}),function(e){e.Text="text",e.Markdown="markdown"}(r||(r={}))},function(e,t,n){var r=n(14),o=n(32),i=n(31),a=n(46)("src"),s=n(121),l=(""+s).split("toString");n(37).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var r=n(15);r(r.S+r.F,"Object",{assign:n(130)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(21),o=n(47);e.exports=n(22)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(56);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,n){e.exports=t},function(e,t,n){var r; +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.dash_table=t(require("react"),require("react-dom")):e.dash_table=t(e.React,e.ReactDOM)}(window,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=119)}([function(e,t,n){e.exports=n(131)()},function(t,n){t.exports=e},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(5),o=n(8);function i(e){return function t(n,i){switch(arguments.length){case 0:return t;case 1:return Object(o.a)(n)?t:Object(r.a)(function(t){return e(n,t)});default:return Object(o.a)(n)&&Object(o.a)(i)?t:Object(o.a)(n)?Object(r.a)(function(t){return e(t,i)}):Object(o.a)(i)?Object(r.a)(function(t){return e(n,t)}):e(n,i)}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a});n(38);var r=n(27);function o(e){var t,n=null;return function(){for(var o=arguments.length,i=new Array(o),a=0;ao;)K(e,n=r[o++],t[n]);return e},Z=function(e){var t=M.call(this,e=w(e,!0));return!(this===q&&o(L,e)&&!o(N,e))&&(!(t||!o(this,e)||!o(L,e)||o(this,D)&&this[D][e])||t)},J=function(e,t){if(e=x(e),t=w(t,!0),e!==q||!o(L,t)||o(N,t)){var n=A(e,t);return!n||!o(L,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=j(x(e)),r=[],i=0;n.length>i;)o(L,t=n[i++])||t==D||t==l||r.push(t);return r},X=function(e){for(var t,n=e===q,r=j(n?N:x(e)),i=[],a=0;r.length>a;)!o(L,t=r[a++])||n&&!o(q,t)||i.push(L[t]);return i};B||(s((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(N,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),W(this,e,_(1,n))};return i&&U&&W(q,e,{configurable:!0,set:t}),H(e)}).prototype,"toString",function(){return this._k}),O.f=J,E.f=K,n(77).f=S.f=Y,n(51).f=Z,n(76).f=X,i&&!n(48)&&s(q,"propertyIsEnumerable",Z,!0),h.f=function(e){return H(f(e))}),a(a.G+a.W+a.F*!B,{Symbol:R});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)f(Q[ee++]);for(var te=C(f.store),ne=0;te.length>ne;)v(te[ne++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return o(I,e+="")?I[e]:I[e]=R(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?k(e):$(k(e),t)},defineProperty:K,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:Y,getOwnPropertySymbols:X}),z&&a(a.S+a.F*(!B||c(function(){var e=R();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(m(t)||void 0!==e)&&!G(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,P.apply(z,r)}}),R.prototype[F]||n(32)(R.prototype,F,R.prototype.valueOf),p(R,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(55)("wks"),o=n(46),i=n(14).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(95)(!0);n(79)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(14),o=n(37),i=n(32),a=n(29),s=n(33),l=function(e,t,n){var c,u,p,d,f=e&l.F,h=e&l.G,v=e&l.S,g=e&l.P,b=e&l.B,y=h?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,m=h?o:o[t]||(o[t]={}),x=m.prototype||(m.prototype={});for(c in h&&(n=t),n)p=((u=!f&&y&&void 0!==y[c])?y:n)[c],d=b&&u?s(p,r):g&&"function"==typeof p?s(Function.call,p):p,y&&a(y,c,p,e&l.U),m[c]!=p&&i(m,c,d),g&&x[c]!=p&&(x[c]=p)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(t,e)}n.d(t,"a",function(){return r})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r=n(57),o=n(101),i=n(52),a=n(43);e.exports=n(79)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return!!e&&r.call(e,t)}var i=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var l=/&([a-z#][a-z0-9]{1,31});/gi,c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(111);function p(e,t){var n=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(n):e}var d=/[&<>"]/,f=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function v(e){return h[e]}t.assign=function(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},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.isValidEntityCode=a,t.fromCodePoint=s,t.replaceEntities=function(e){return e.indexOf("&")<0?e:e.replace(l,p)},t.escapeHtml=function(e){return d.test(e)?e.replace(f,v):e}},function(e,t,n){var r=n(18),o=n(89),i=n(54),a=Object.defineProperty;t.f=n(22)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";n(137);var r=n(18),o=n(72),i=n(22),a=/./.toString,s=function(e){n(29)(RegExp.prototype,"toString",e,!0)};n(23)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(e,t,n){"use strict";var r=n(33),o=n(15),i=n(45),a=n(102),s=n(103),l=n(41),c=n(138),u=n(104);o(o.S+o.F*!n(80)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,d=i(e),f="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,b=0,y=u(d);if(g&&(v=r(v,h>2?arguments[2]:void 0,2)),null==y||f==Array&&s(y))for(n=new f(t=l(d.length));t>b;b++)c(n,b,g?v(d[b],b):d[b]);else for(p=y.call(d),n=new f;!(o=p.next()).done;b++)c(n,b,g?a(p,v,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){"use strict";t.a=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});n(10),n(11),n(9),n(19),n(135);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})(e)}function o(e){return null!=e&&"object"===r(e)&&e.constructor===Object}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e===t||a(Object.values(e),Object.values(t),n)}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&e.length===t.length&&!!e.every(function(e,r){var s=t[r];return e===s||n&&(Array.isArray(e)&&Array.isArray(s)&&a(e,s,n)||o(e)&&o(s)&&i(e,s,n))})}},function(e,t,n){"use strict";var r;n.d(t,"a",function(){return r}),function(e){e.Text="text",e.Markdown="markdown"}(r||(r={}))},function(e,t,n){var r=n(14),o=n(32),i=n(31),a=n(46)("src"),s=n(121),l=(""+s).split("toString");n(37).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var r=n(15);r(r.S+r.F,"Object",{assign:n(130)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(21),o=n(47);e.exports=n(22)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(56);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,n){e.exports=t},function(e,t,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see @@ -9,11 +9,11 @@ Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t1?arguments[1]:void 0)}}),n(57)("find")},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(49),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(98),o=n(75);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(67),o=n(40);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";var r=n(156),o=n(110);e.exports=n(157)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(40);e.exports=function(e){return Object(r(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!1},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(21).f,o=n(31),i=n(12)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports={}},function(e,t,n){var r=n(46)("meta"),o=n(17),i=n(31),a=n(21).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(23)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&p.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(37),o=n(14),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(48)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(12)("unscopables"),o=Array.prototype;null==o[r]&&n(32)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){var r=n(18),o=n(128),i=n(75),a=n(74)("IE_PROTO"),s=function(){},l=function(){var e,t=n(66)("iframe"),r=i.length;for(t.style.display="none",n(100).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("