@blueprintjs/core
Version:
Core styles & components
1 lines • 156 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("tslib"),require("classnames"),require("react-dom"),require("react-transition-group"),require("react-popper"),require("@blueprintjs/icons"),require("resize-observer-polyfill"),require("dom4")):"function"==typeof define&&define.amd?define(["react","tslib","classnames","react-dom","react-transition-group","react-popper","@blueprintjs/icons","resize-observer-polyfill","dom4"],t):"object"==typeof exports?exports.Core=t(require("react"),require("tslib"),require("classnames"),require("react-dom"),require("react-transition-group"),require("react-popper"),require("@blueprintjs/icons"),require("resize-observer-polyfill"),require("dom4")):(e.Blueprint=e.Blueprint||{},e.Blueprint.Core=t(e.React,e.window,e.classNames,e.ReactDOM,e.ReactTransitionGroup,e.ReactPopper,e.Blueprint.Icons,e.ResizeObserver,e.window))}(window,function(e,t,n,r,o,i,a,s,l){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=19)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"isNodeEnv",function(){return s}),n.d(t,"isFunction",function(){return l}),n.d(t,"isReactNodeEmpty",function(){return u}),n.d(t,"ensureElement",function(){return c}),n.d(t,"isReactElement",function(){return p}),n.d(t,"getDisplayName",function(){return d}),n.d(t,"isElementOfType",function(){return f}),n.d(t,"safeInvoke",function(){return h}),n.d(t,"safeInvokeOrValue",function(){return m}),n.d(t,"elementIsOrContains",function(){return E}),n.d(t,"arrayLengthCompare",function(){return v}),n.d(t,"approxEqual",function(){return T}),n.d(t,"clamp",function(){return _}),n.d(t,"countDecimalPlaces",function(){return N}),n.d(t,"throttleEvent",function(){return y}),n.d(t,"throttleReactEventCallback",function(){return O}),n.d(t,"throttle",function(){return g});var r=n(0),o=n(5),i=n(15);n.d(t,"arraysEqual",function(){return i.a}),n.d(t,"shallowCompareKeys",function(){return i.d}),n.d(t,"deepCompareKeys",function(){return i.b}),n.d(t,"getDeepUnequalKeyValues",function(){return i.c});var a=n(16);function s(t){return void 0!==e&&e.env&&"production"===t}function l(e){return"function"==typeof e}function u(e,t){return void 0===t&&(t=!1),null==e||""===e||!1===e||!t&&Array.isArray(e)&&(0===e.length||e.every(function(e){return u(e,!0)}))}function c(e,t){return void 0===t&&(t="span"),null==e||"boolean"==typeof e?void 0:"string"==typeof e?e.trim().length>0?r.createElement(t,{},e):void 0:"number"==typeof e||"symbol"==typeof e.type||Array.isArray(e)?r.createElement(t,{},e):p(e)?e:void 0}function p(e){return"object"==typeof e&&void 0!==e.type&&void 0!==e.props}function d(e){return e.displayName||e.name||"Unknown"}function f(e,t){return null!=e&&null!=e.type&&null!=e.type.displayName&&e.type.displayName===t.displayName}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(l(e))return e.apply(void 0,t)}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return l(e)?e.apply(void 0,t):e}function E(e,t){return e===t||e.contains(t)}function v(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length-t.length}function T(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)<=n}function _(e,t,n){if(null==e)return e;if(n<t)throw new Error(o.d);return Math.min(Math.max(e,t),n)}function N(e){if(!isFinite(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}function y(e,t,n){var r=I(function(t){e.dispatchEvent(new CustomEvent(n,t))});return e.addEventListener(t,r),r}function O(e,t){return void 0===t&&(t={}),I(e,function(e){t.preventDefault&&e.preventDefault()},function(e){return e.persist()})}function g(e){return I(e)}function I(e,t,n){var r=!1;return function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];l(t)&&t.apply(void 0,o),r||(r=!0,l(n)&&n.apply(void 0,o),requestAnimationFrame(function(){e.apply(void 0,o),r=!1}))}}n.d(t,"safeInvokeMember",function(){return a.a})}.call(this,n(14))},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ACTIVE",function(){return l}),n.d(t,"ALIGN_LEFT",function(){return u}),n.d(t,"ALIGN_RIGHT",function(){return c}),n.d(t,"DARK",function(){return p}),n.d(t,"DISABLED",function(){return d}),n.d(t,"FILL",function(){return f}),n.d(t,"FIXED",function(){return h}),n.d(t,"FIXED_TOP",function(){return m}),n.d(t,"INLINE",function(){return E}),n.d(t,"INTERACTIVE",function(){return v}),n.d(t,"LARGE",function(){return T}),n.d(t,"LOADING",function(){return _}),n.d(t,"MINIMAL",function(){return N}),n.d(t,"MULTILINE",function(){return y}),n.d(t,"ROUND",function(){return O}),n.d(t,"SMALL",function(){return g}),n.d(t,"VERTICAL",function(){return I}),n.d(t,"POSITION_TOP",function(){return C}),n.d(t,"POSITION_BOTTOM",function(){return R}),n.d(t,"POSITION_LEFT",function(){return A}),n.d(t,"POSITION_RIGHT",function(){return b}),n.d(t,"ELEVATION_0",function(){return S}),n.d(t,"ELEVATION_1",function(){return L}),n.d(t,"ELEVATION_2",function(){return P}),n.d(t,"ELEVATION_3",function(){return D}),n.d(t,"ELEVATION_4",function(){return k}),n.d(t,"INTENT_PRIMARY",function(){return w}),n.d(t,"INTENT_SUCCESS",function(){return B}),n.d(t,"INTENT_WARNING",function(){return x}),n.d(t,"INTENT_DANGER",function(){return M}),n.d(t,"FOCUS_DISABLED",function(){return H}),n.d(t,"UI_TEXT",function(){return F}),n.d(t,"RUNNING_TEXT",function(){return U}),n.d(t,"MONOSPACE_TEXT",function(){return G}),n.d(t,"TEXT_LARGE",function(){return V}),n.d(t,"TEXT_SMALL",function(){return K}),n.d(t,"TEXT_MUTED",function(){return W}),n.d(t,"TEXT_DISABLED",function(){return z}),n.d(t,"TEXT_OVERFLOW_ELLIPSIS",function(){return j}),n.d(t,"BLOCKQUOTE",function(){return Y}),n.d(t,"CODE",function(){return X}),n.d(t,"CODE_BLOCK",function(){return q}),n.d(t,"HEADING",function(){return Z}),n.d(t,"LIST",function(){return Q}),n.d(t,"LIST_UNSTYLED",function(){return J}),n.d(t,"RTL",function(){return $}),n.d(t,"ALERT",function(){return ee}),n.d(t,"ALERT_BODY",function(){return te}),n.d(t,"ALERT_CONTENTS",function(){return ne}),n.d(t,"ALERT_FOOTER",function(){return re}),n.d(t,"BREADCRUMB",function(){return oe}),n.d(t,"BREADCRUMB_CURRENT",function(){return ie}),n.d(t,"BREADCRUMBS",function(){return ae}),n.d(t,"BREADCRUMBS_COLLAPSED",function(){return se}),n.d(t,"BUTTON",function(){return le}),n.d(t,"BUTTON_GROUP",function(){return ue}),n.d(t,"BUTTON_SPINNER",function(){return ce}),n.d(t,"BUTTON_TEXT",function(){return pe}),n.d(t,"CALLOUT",function(){return de}),n.d(t,"CALLOUT_ICON",function(){return fe}),n.d(t,"CARD",function(){return he}),n.d(t,"COLLAPSE",function(){return me}),n.d(t,"COLLAPSE_BODY",function(){return Ee}),n.d(t,"COLLAPSIBLE_LIST",function(){return ve}),n.d(t,"CONTEXT_MENU",function(){return Te}),n.d(t,"CONTEXT_MENU_POPOVER_TARGET",function(){return _e}),n.d(t,"CONTROL_GROUP",function(){return Ne}),n.d(t,"DIALOG",function(){return ye}),n.d(t,"DIALOG_CONTAINER",function(){return Oe}),n.d(t,"DIALOG_BODY",function(){return ge}),n.d(t,"DIALOG_CLOSE_BUTTON",function(){return Ie}),n.d(t,"DIALOG_FOOTER",function(){return Ce}),n.d(t,"DIALOG_FOOTER_ACTIONS",function(){return Re}),n.d(t,"DIALOG_HEADER",function(){return Ae}),n.d(t,"DIVIDER",function(){return be}),n.d(t,"DRAWER",function(){return Se}),n.d(t,"DRAWER_BODY",function(){return Le}),n.d(t,"DRAWER_FOOTER",function(){return Pe}),n.d(t,"DRAWER_HEADER",function(){return De}),n.d(t,"EDITABLE_TEXT",function(){return ke}),n.d(t,"EDITABLE_TEXT_CONTENT",function(){return we}),n.d(t,"EDITABLE_TEXT_EDITING",function(){return Be}),n.d(t,"EDITABLE_TEXT_INPUT",function(){return xe}),n.d(t,"EDITABLE_TEXT_PLACEHOLDER",function(){return Me}),n.d(t,"FLEX_EXPANDER",function(){return He}),n.d(t,"HTML_SELECT",function(){return Fe}),n.d(t,"SELECT",function(){return Ue}),n.d(t,"HTML_TABLE",function(){return Ge}),n.d(t,"HTML_TABLE_BORDERED",function(){return Ve}),n.d(t,"HTML_TABLE_CONDENSED",function(){return Ke}),n.d(t,"HTML_TABLE_STRIPED",function(){return We}),n.d(t,"INPUT",function(){return ze}),n.d(t,"INPUT_GHOST",function(){return je}),n.d(t,"INPUT_GROUP",function(){return Ye}),n.d(t,"INPUT_ACTION",function(){return Xe}),n.d(t,"CONTROL",function(){return qe}),n.d(t,"CONTROL_INDICATOR",function(){return Ze}),n.d(t,"CONTROL_INDICATOR_CHILD",function(){return Qe}),n.d(t,"CHECKBOX",function(){return Je}),n.d(t,"RADIO",function(){return $e}),n.d(t,"SWITCH",function(){return et}),n.d(t,"SWITCH_INNER_TEXT",function(){return tt}),n.d(t,"FILE_INPUT",function(){return nt}),n.d(t,"FILE_INPUT_HAS_SELECTION",function(){return rt}),n.d(t,"FILE_UPLOAD_INPUT",function(){return ot}),n.d(t,"FILE_UPLOAD_INPUT_CUSTOM_TEXT",function(){return it}),n.d(t,"KEY",function(){return at}),n.d(t,"KEY_COMBO",function(){return st}),n.d(t,"MODIFIER_KEY",function(){return lt}),n.d(t,"HOTKEY",function(){return ut}),n.d(t,"HOTKEY_LABEL",function(){return ct}),n.d(t,"HOTKEY_COLUMN",function(){return pt}),n.d(t,"HOTKEY_DIALOG",function(){return dt}),n.d(t,"LABEL",function(){return ft}),n.d(t,"FORM_GROUP",function(){return ht}),n.d(t,"FORM_CONTENT",function(){return mt}),n.d(t,"FORM_HELPER_TEXT",function(){return Et}),n.d(t,"MENU",function(){return vt}),n.d(t,"MENU_ITEM",function(){return Tt}),n.d(t,"MENU_ITEM_LABEL",function(){return _t}),n.d(t,"MENU_SUBMENU",function(){return Nt}),n.d(t,"MENU_DIVIDER",function(){return yt}),n.d(t,"MENU_HEADER",function(){return Ot}),n.d(t,"NAVBAR",function(){return gt}),n.d(t,"NAVBAR_GROUP",function(){return It}),n.d(t,"NAVBAR_HEADING",function(){return Ct}),n.d(t,"NAVBAR_DIVIDER",function(){return Rt}),n.d(t,"NON_IDEAL_STATE",function(){return At}),n.d(t,"NON_IDEAL_STATE_VISUAL",function(){return bt}),n.d(t,"NUMERIC_INPUT",function(){return St}),n.d(t,"OVERFLOW_LIST",function(){return Lt}),n.d(t,"OVERFLOW_LIST_SPACER",function(){return Pt}),n.d(t,"OVERLAY",function(){return Dt}),n.d(t,"OVERLAY_BACKDROP",function(){return kt}),n.d(t,"OVERLAY_CONTAINER",function(){return wt}),n.d(t,"OVERLAY_CONTENT",function(){return Bt}),n.d(t,"OVERLAY_INLINE",function(){return xt}),n.d(t,"OVERLAY_OPEN",function(){return Mt}),n.d(t,"OVERLAY_SCROLL_CONTAINER",function(){return Ht}),n.d(t,"PANEL_STACK",function(){return Ft}),n.d(t,"PANEL_STACK_HEADER",function(){return Ut}),n.d(t,"PANEL_STACK_HEADER_BACK",function(){return Gt}),n.d(t,"PANEL_STACK_VIEW",function(){return Vt}),n.d(t,"POPOVER",function(){return Kt}),n.d(t,"POPOVER_ARROW",function(){return Wt}),n.d(t,"POPOVER_BACKDROP",function(){return zt}),n.d(t,"POPOVER_CONTENT",function(){return jt}),n.d(t,"POPOVER_CONTENT_SIZING",function(){return Yt}),n.d(t,"POPOVER_DISMISS",function(){return Xt}),n.d(t,"POPOVER_DISMISS_OVERRIDE",function(){return qt}),n.d(t,"POPOVER_OPEN",function(){return Zt}),n.d(t,"POPOVER_TARGET",function(){return Qt}),n.d(t,"POPOVER_WRAPPER",function(){return Jt}),n.d(t,"TRANSITION_CONTAINER",function(){return $t}),n.d(t,"PROGRESS_BAR",function(){return en}),n.d(t,"PROGRESS_METER",function(){return tn}),n.d(t,"PROGRESS_NO_STRIPES",function(){return nn}),n.d(t,"PROGRESS_NO_ANIMATION",function(){return rn}),n.d(t,"PORTAL",function(){return on}),n.d(t,"SKELETON",function(){return an}),n.d(t,"SLIDER",function(){return sn}),n.d(t,"SLIDER_AXIS",function(){return ln}),n.d(t,"SLIDER_HANDLE",function(){return un}),n.d(t,"SLIDER_LABEL",function(){return cn}),n.d(t,"SLIDER_TRACK",function(){return pn}),n.d(t,"SLIDER_PROGRESS",function(){return dn}),n.d(t,"START",function(){return fn}),n.d(t,"END",function(){return hn}),n.d(t,"SPINNER",function(){return mn}),n.d(t,"SPINNER_ANIMATION",function(){return En}),n.d(t,"SPINNER_HEAD",function(){return vn}),n.d(t,"SPINNER_NO_SPIN",function(){return Tn}),n.d(t,"SPINNER_TRACK",function(){return _n}),n.d(t,"TAB",function(){return Nn}),n.d(t,"TAB_INDICATOR",function(){return yn}),n.d(t,"TAB_INDICATOR_WRAPPER",function(){return On}),n.d(t,"TAB_LIST",function(){return gn}),n.d(t,"TAB_PANEL",function(){return In}),n.d(t,"TABS",function(){return Cn}),n.d(t,"TAG",function(){return Rn}),n.d(t,"TAG_REMOVE",function(){return An}),n.d(t,"TAG_INPUT",function(){return bn}),n.d(t,"TAG_INPUT_ICON",function(){return Sn}),n.d(t,"TAG_INPUT_VALUES",function(){return Ln}),n.d(t,"TOAST",function(){return Pn}),n.d(t,"TOAST_CONTAINER",function(){return Dn}),n.d(t,"TOAST_MESSAGE",function(){return kn}),n.d(t,"TOOLTIP",function(){return wn}),n.d(t,"TOOLTIP_INDICATOR",function(){return Bn}),n.d(t,"TREE",function(){return xn}),n.d(t,"TREE_NODE",function(){return Mn}),n.d(t,"TREE_NODE_CARET",function(){return Hn}),n.d(t,"TREE_NODE_CARET_CLOSED",function(){return Fn}),n.d(t,"TREE_NODE_CARET_NONE",function(){return Un}),n.d(t,"TREE_NODE_CARET_OPEN",function(){return Gn}),n.d(t,"TREE_NODE_CONTENT",function(){return Vn}),n.d(t,"TREE_NODE_EXPANDED",function(){return Kn}),n.d(t,"TREE_NODE_ICON",function(){return Wn}),n.d(t,"TREE_NODE_LABEL",function(){return zn}),n.d(t,"TREE_NODE_LIST",function(){return jn}),n.d(t,"TREE_NODE_SECONDARY_LABEL",function(){return Yn}),n.d(t,"TREE_NODE_SELECTED",function(){return Xn}),n.d(t,"TREE_ROOT",function(){return qn}),n.d(t,"ICON",function(){return Zn}),n.d(t,"ICON_STANDARD",function(){return Qn}),n.d(t,"ICON_LARGE",function(){return Jn}),n.d(t,"getClassNamespace",function(){return $n}),n.d(t,"alignmentClass",function(){return er}),n.d(t,"elevationClass",function(){return tr}),n.d(t,"iconClass",function(){return nr}),n.d(t,"intentClass",function(){return rr}),n.d(t,"positionClass",function(){return or});var r=n(11),o=n(8),i=n(9),a=n(6),s=e.env.BLUEPRINT_NAMESPACE||e.env.REACT_APP_BLUEPRINT_NAMESPACE||"bp3",l=s+"-active",u=s+"-align-left",c=s+"-align-right",p=s+"-dark",d=s+"-disabled",f=s+"-fill",h=s+"-fixed",m=s+"-fixed-top",E=s+"-inline",v=s+"-interactive",T=s+"-large",_=s+"-loading",N=s+"-minimal",y=s+"-multiline",O=s+"-round",g=s+"-small",I=s+"-vertical",C=or(a.a.TOP),R=or(a.a.BOTTOM),A=or(a.a.LEFT),b=or(a.a.RIGHT),S=tr(o.a.ZERO),L=tr(o.a.ONE),P=tr(o.a.TWO),D=tr(o.a.THREE),k=tr(o.a.FOUR),w=rr(i.a.PRIMARY),B=rr(i.a.SUCCESS),x=rr(i.a.WARNING),M=rr(i.a.DANGER),H=s+"-focus-disabled",F=s+"-ui-text",U=s+"-running-text",G=s+"-monospace-text",V=s+"-text-large",K=s+"-text-small",W=s+"-text-muted",z=s+"-text-disabled",j=s+"-text-overflow-ellipsis",Y=s+"-blockquote",X=s+"-code",q=s+"-code-block",Z=s+"-heading",Q=s+"-list",J=s+"-list-unstyled",$=s+"-rtl",ee=s+"-alert",te=ee+"-body",ne=ee+"-contents",re=ee+"-footer",oe=s+"-breadcrumb",ie=oe+"-current",ae=oe+"s",se=oe+"s-collapsed",le=s+"-button",ue=le+"-group",ce=le+"-spinner",pe=le+"-text",de=s+"-callout",fe=de+"-icon",he=s+"-card",me=s+"-collapse",Ee=me+"-body",ve=s+"-collapse-list",Te=s+"-context-menu",_e=Te+"-popover-target",Ne=s+"-control-group",ye=s+"-dialog",Oe=ye+"-container",ge=ye+"-body",Ie=ye+"-close-button",Ce=ye+"-footer",Re=ye+"-footer-actions",Ae=ye+"-header",be=s+"-divider",Se=s+"-drawer",Le=Se+"-body",Pe=Se+"-footer",De=Se+"-header",ke=s+"-editable-text",we=ke+"-content",Be=ke+"-editing",xe=ke+"-input",Me=ke+"-placeholder",He=s+"-flex-expander",Fe=s+"-html-select",Ue=s+"-select",Ge=s+"-html-table",Ve=Ge+"-bordered",Ke=Ge+"-condensed",We=Ge+"-striped",ze=s+"-input",je=ze+"-ghost",Ye=ze+"-group",Xe=ze+"-action",qe=s+"-control",Ze=qe+"-indicator",Qe=Ze+"-child",Je=s+"-checkbox",$e=s+"-radio",et=s+"-switch",tt=et+"-inner-text",nt=s+"-file-input",rt=s+"-file-input-has-selection",ot=s+"-file-upload-input",it=s+"-file-upload-input-custom-text",at=s+"-key",st=at+"-combo",lt=s+"-modifier-key",ut=s+"-hotkey",ct=ut+"-label",pt=ut+"-column",dt=ut+"-dialog",ft=s+"-label",ht=s+"-form-group",mt=s+"-form-content",Et=s+"-form-helper-text",vt=s+"-menu",Tt=vt+"-item",_t=Tt+"-label",Nt=s+"-submenu",yt=vt+"-divider",Ot=vt+"-header",gt=s+"-navbar",It=gt+"-group",Ct=gt+"-heading",Rt=gt+"-divider",At=s+"-non-ideal-state",bt=At+"-visual",St=s+"-numeric-input",Lt=s+"-overflow-list",Pt=Lt+"-spacer",Dt=s+"-overlay",kt=Dt+"-backdrop",wt=Dt+"-container",Bt=Dt+"-content",xt=Dt+"-inline",Mt=Dt+"-open",Ht=Dt+"-scroll-container",Ft=s+"-panel-stack",Ut=Ft+"-header",Gt=Ft+"-header-back",Vt=Ft+"-view",Kt=s+"-popover",Wt=Kt+"-arrow",zt=Kt+"-backdrop",jt=Kt+"-content",Yt=jt+"-sizing",Xt=Kt+"-dismiss",qt=Xt+"-override",Zt=Kt+"-open",Qt=Kt+"-target",Jt=Kt+"-wrapper",$t=s+"-transition-container",en=s+"-progress-bar",tn=s+"-progress-meter",nn=s+"-no-stripes",rn=s+"-no-animation",on=s+"-portal",an=s+"-skeleton",sn=s+"-slider",ln=sn+"-axis",un=sn+"-handle",cn=sn+"-label",pn=sn+"-track",dn=sn+"-progress",fn=s+"-start",hn=s+"-end",mn=s+"-spinner",En=mn+"-animation",vn=mn+"-head",Tn=s+"-no-spin",_n=mn+"-track",Nn=s+"-tab",yn=Nn+"-indicator",On=yn+"-wrapper",gn=Nn+"-list",In=Nn+"-panel",Cn=Nn+"s",Rn=s+"-tag",An=Rn+"-remove",bn=s+"-tag-input",Sn=bn+"-icon",Ln=bn+"-values",Pn=s+"-toast",Dn=Pn+"-container",kn=Pn+"-message",wn=s+"-tooltip",Bn=wn+"-indicator",xn=s+"-tree",Mn=s+"-tree-node",Hn=Mn+"-caret",Fn=Hn+"-closed",Un=Hn+"-none",Gn=Hn+"-open",Vn=Mn+"-content",Kn=Mn+"-expanded",Wn=Mn+"-icon",zn=Mn+"-label",jn=Mn+"-list",Yn=Mn+"-secondary-label",Xn=Mn+"-selected",qn=s+"-tree-root",Zn=s+"-icon",Qn=Zn+"-standard",Jn=Zn+"-large";function $n(){return s}function er(e){switch(e){case r.a.LEFT:return u;case r.a.RIGHT:return c;default:return}}function tr(e){if(null!=e)return s+"-elevation-"+e}function nr(e){if(null!=e)return 0===e.indexOf(s+"-icon-")?e:s+"-icon-"+e}function rr(e){if(null!=e&&e!==i.a.NONE)return s+"-intent-"+e.toLowerCase()}function or(e){if(null!=e)return s+"-position-"+e}}.call(this,n(14))},function(e,t,n){"use strict";n.d(t,"d",function(){return o}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s}),n.d(t,"e",function(){return l}),n.d(t,"g",function(){return u}),n.d(t,"f",function(){return c}),n.d(t,"l",function(){return p}),n.d(t,"n",function(){return d}),n.d(t,"m",function(){return f}),n.d(t,"t",function(){return h}),n.d(t,"r",function(){return m}),n.d(t,"p",function(){return E}),n.d(t,"s",function(){return v}),n.d(t,"q",function(){return T}),n.d(t,"u",function(){return _}),n.d(t,"v",function(){return N}),n.d(t,"x",function(){return y}),n.d(t,"y",function(){return O}),n.d(t,"w",function(){return g}),n.d(t,"A",function(){return I}),n.d(t,"z",function(){return C}),n.d(t,"F",function(){return R}),n.d(t,"B",function(){return A}),n.d(t,"C",function(){return b}),n.d(t,"D",function(){return S}),n.d(t,"E",function(){return L}),n.d(t,"G",function(){return P}),n.d(t,"H",function(){return D}),n.d(t,"I",function(){return k}),n.d(t,"L",function(){return w}),n.d(t,"K",function(){return B}),n.d(t,"J",function(){return x}),n.d(t,"o",function(){return M}),n.d(t,"M",function(){return H}),n.d(t,"N",function(){return F}),n.d(t,"P",function(){return U}),n.d(t,"i",function(){return G}),n.d(t,"h",function(){return V}),n.d(t,"k",function(){return K}),n.d(t,"j",function(){return W}),n.d(t,"O",function(){return z});var r="[Blueprint]",o=r+" clamp: max cannot be less than min",i=r+" <Alert> cancelButtonText and onCancel should be set together.",a=r+" <Alert> canEscapeKeyCancel enabled without onCancel or onClose handler.",s=r+" <Alert> canOutsideClickCancel enbaled without onCancel or onClose handler.",l=r+" <CollapsibleList> children must be <MenuItem>s",u=r+" @ContextMenuTarget-decorated class should implement renderContextMenu.",c=r+' "@ContextMenuTarget-decorated components must return a single JSX.Element or an empty render.',p=r+" <Hotkeys> only accepts <Hotkey> children.",d=r+" @HotkeysTarget-decorated class should implement renderHotkeys.",f=r+' "@HotkeysTarget-decorated components must return a single JSX.Element or an empty render.',h=r+" <NumericInput> requires min to be no greater than max if both are defined.",m=r+" <NumericInput> requires minorStepSize to be no greater than stepSize.",E=r+" <NumericInput> requires stepSize to be no greater than majorStepSize.",v=r+" <NumericInput> requires minorStepSize to be strictly greater than zero.",T=r+" <NumericInput> requires majorStepSize to be strictly greater than zero.",_=r+" <NumericInput> requires stepSize to be strictly greater than zero.",N=r+" <NumericInput> requires stepSize to be defined.",y=r+" <PanelStack> requires exactly one of initialPanel and stack prop",O=r+" <PanelStack> requires at least one panel in the stack",g=r+" <OverflowList> does not support changing observeParents after mounting.",I=r+" <Popover> requires target prop or at least one child element.",C=r+" <Popover hasBackdrop={true}> requires interactionKind={PopoverInteractionKind.CLICK}.",R=r+" <Popover> supports one or two children; additional children are ignored. First child is the target, second child is the content. You may instead supply these two as props.",A=r+" <Popover> with two children ignores content prop; use either prop or children.",b=r+" <Popover> with children ignores target prop; use either prop or children.",S=r+" Disabling <Popover> with empty/whitespace content...",L=r+" <Popover usePortal={false}> ignores hasBackdrop",P=r+" <Popover> onInteraction is ignored when uncontrolled.",D=r+" <Portal> context blueprintPortalClassName must be string",k=r+" <RadioGroup> children and options prop are mutually exclusive, with options taking priority.",w=r+" <Slider> stepSize must be greater than zero.",B=r+" <Slider> labelStepSize must be greater than zero.",x=r+" <RangeSlider> value prop must be an array of two non-null numbers.",M=r+" <MultiSlider> children must be <SliderHandle>s or <SliderTrackStop>s",H=r+" <Spinner> Classes.SMALL/LARGE are ignored if size prop is set.",F=r+" Toaster.create() is not supported inside React lifecycle methods in React 16. See usage example on the docs site.",U=r+" Toaster.create() ignores inline prop as it always creates a new element.",G=r+" <Dialog> iconName is ignored if title is omitted.",V=r+" <Dialog> isCloseButtonShown prop is ignored if title is omitted.",K=r+" <Drawer> vertical is ignored if position is defined",W=r+" <Drawer> all angle positions are casted into pure position (TOP, BOTTOM, LEFT or RIGHT)",z=r+" <Toaster> maxToasts is set to an invalid number, must be greater than 0"},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return i}),n.d(t,"b",function(){return a});var r={BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",LEFT:"left",LEFT_BOTTOM:"left-bottom",LEFT_TOP:"left-top",RIGHT:"right",RIGHT_BOTTOM:"right-bottom",RIGHT_TOP:"right-top",TOP:"top",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"};function o(e){return e===r.TOP||e===r.TOP_LEFT||e===r.TOP_RIGHT||e===r.BOTTOM||e===r.BOTTOM_LEFT||e===r.BOTTOM_RIGHT}function i(e){return e===r.LEFT||e===r.LEFT_TOP||e===r.LEFT_BOTTOM||e===r.RIGHT||e===r.RIGHT_TOP||e===r.RIGHT_BOTTOM}function a(e){return e===r.TOP||e===r.TOP_LEFT||e===r.TOP_RIGHT?r.TOP:e===r.BOTTOM||e===r.BOTTOM_LEFT||e===r.BOTTOM_RIGHT?r.BOTTOM:e===r.LEFT||e===r.LEFT_TOP||e===r.LEFT_BOTTOM?r.LEFT:r.RIGHT}},function(e,t){e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={ZERO:0,ONE:1,TWO:2,THREE:3,FOUR:4}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={NONE:"none",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",DANGER:"danger"}},function(e,t){e.exports=o},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={CENTER:"center",LEFT:"left",RIGHT:"right"}},function(e,t){e.exports=i},function(e,t){e.exports=a},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,p=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):p=-1,u.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(l=u,u=[];++p<t;)l&&l[p].run();p=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=function(e,t){return e===t}),null==e&&null==t||null!=e&&null!=t&&e.length===t.length&&e.every(function(e,r){return n(e,t[r])})}function o(e,t,n){if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e)||Array.isArray(t))return!1;if(null!=n)return s(e,t,n);var r=Object.keys(e),o=Object.keys(t);return s(e,t,{include:r})&&s(e,t,{include:o})}function i(e,t,n){if(e===t)return!0;if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e)||Array.isArray(t))return r(e,t,i);if(u(e)||u(t))return e===t;if(null!=n)return l(e,t,n);if(e.constructor!==t.constructor)return!1;var o=Object.keys(e),a=Object.keys(t);return null!=o&&null!=a&&(0===o.length&&0===a.length||r(o,a)&&l(e,t,o))}function a(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),function(e,t,n,r){return n.filter(function(n){return!r(e,t,n)}).map(function(n){return{key:n,valueA:e[n],valueB:t[n]}})}(e,t,null==n?function(e,t){var n=Object.keys(e),r=Object.keys(t),o=c(n.concat(r));return Object.keys(o)}(e,t):n,function(e,t,n){return i(e,t,[n])})}function s(e,t,n){return function(e,t,n){if(function(e){return null!=e&&null!=e.include}(n))return n.include;if(function(e){return null!=e&&null!=e.exclude}(n)){var r=Object.keys(e),o=Object.keys(t),i=c(r.concat(o));return n.exclude.forEach(function(e){return delete i[e]}),Object.keys(i)}return[]}(e,t,n).every(function(n){return e.hasOwnProperty(n)===t.hasOwnProperty(n)&&e[n]===t[n]})}function l(e,t,n){return n.every(function(n){return e.hasOwnProperty(n)===t.hasOwnProperty(n)&&i(e[n],t[n])})}function u(e){return"number"==typeof e||"string"==typeof e||"boolean"==typeof e}function c(e){return e.reduce(function(e,t){return e[t]=!0,e},{})}n.d(t,"a",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(3);function o(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(null!=e){var i=e[t];if(Object(r.isFunction)(i))return i.apply(void 0,n)}}},function(e,t){e.exports=s},function(e,t){e.exports=l},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"BACKSPACE",function(){return C}),n.d(r,"TAB",function(){return R}),n.d(r,"ENTER",function(){return A}),n.d(r,"SHIFT",function(){return b}),n.d(r,"ESCAPE",function(){return S}),n.d(r,"SPACE",function(){return L}),n.d(r,"ARROW_LEFT",function(){return P}),n.d(r,"ARROW_UP",function(){return D}),n.d(r,"ARROW_RIGHT",function(){return k}),n.d(r,"ARROW_DOWN",function(){return w}),n.d(r,"DELETE",function(){return B}),n.d(r,"isKeyboardClick",function(){return x});var o={};n.r(o),n.d(o,"show",function(){return _e}),n.d(o,"hide",function(){return Ne}),n.d(o,"isOpen",function(){return ye});var i=n(4),a=9,s=function(){function e(e,t){var n=this;this.container=e,this.className=t,this.isRunning=!1,this.handleKeyDown=function(e){e.which===a&&(n.reset(),n.container.addEventListener("mousedown",n.handleMouseDown))},this.handleMouseDown=function(){n.reset(),n.container.classList.add(n.className),n.container.addEventListener("keydown",n.handleKeyDown)}}return e.prototype.isActive=function(){return this.isRunning},e.prototype.start=function(){this.container.addEventListener("mousedown",this.handleMouseDown),this.isRunning=!0},e.prototype.stop=function(){this.reset(),this.isRunning=!1},e.prototype.reset=function(){this.container.classList.remove(this.className),this.container.removeEventListener("keydown",this.handleKeyDown),this.container.removeEventListener("mousedown",this.handleMouseDown)},e}(),l="undefined"!=typeof document?new s(document.documentElement,i.FOCUS_DISABLED):{isActive:function(){return!0},start:function(){return!0},stop:function(){return!0}},u={alwaysShowFocus:function(){return l.stop()},isActive:function(){return l.isActive()},onlyShowFocusOnTabs:function(){return l.start()}},c=n(1),p=n(0),d=n(3),f=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},Object(d.isNodeEnv)("production")||r.validateProps(r.props),r}return c.__extends(t,e),t.prototype.componentWillReceiveProps=function(e){Object(d.isNodeEnv)("production")||this.validateProps(e)},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(p.Component),h=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},Object(d.isNodeEnv)("production")||r.validateProps(r.props),r}return c.__extends(t,e),t.prototype.componentDidUpdate=function(e,t,n){Object(d.isNodeEnv)("production")||this.validateProps(this.props)},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(p.Component),m=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},Object(d.isNodeEnv)("production")||r.validateProps(r.props),r}return c.__extends(t,e),t.prototype.componentWillReceiveProps=function(e){Object(d.isNodeEnv)("production")||this.validateProps(e)},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(p.PureComponent),E=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},Object(d.isNodeEnv)("production")||r.validateProps(r.props),r}return c.__extends(t,e),t.prototype.componentDidUpdate=function(e,t,n){Object(d.isNodeEnv)("production")||this.validateProps(this.props)},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(p.PureComponent),v=n(11),T={START:"start",END:"end"},_={BLACK:"#10161A",BLUE1:"#0E5A8A",BLUE2:"#106BA3",BLUE3:"#137CBD",BLUE4:"#2B95D6",BLUE5:"#48AFF0",COBALT1:"#1F4B99",COBALT2:"#2458B3",COBALT3:"#2965CC",COBALT4:"#4580E6",COBALT5:"#669EFF",DARK_GRAY1:"#182026",DARK_GRAY2:"#202B33",DARK_GRAY3:"#293742",DARK_GRAY4:"#30404D",DARK_GRAY5:"#394B59",FOREST1:"#1D7324",FOREST2:"#238C2C",FOREST3:"#29A634",FOREST4:"#43BF4D",FOREST5:"#62D96B",GOLD1:"#A67908",GOLD2:"#BF8C0A",GOLD3:"#D99E0B",GOLD4:"#F2B824",GOLD5:"#FFC940",GRAY1:"#5C7080",GRAY2:"#738694",GRAY3:"#8A9BA8",GRAY4:"#A7B6C2",GRAY5:"#BFCCD6",GREEN1:"#0A6640",GREEN2:"#0D8050",GREEN3:"#0F9960",GREEN4:"#15B371",GREEN5:"#3DCC91",INDIGO1:"#5642A6",INDIGO2:"#634DBF",INDIGO3:"#7157D9",INDIGO4:"#9179F2",INDIGO5:"#AD99FF",LIGHT_GRAY1:"#CED9E0",LIGHT_GRAY2:"#D8E1E8",LIGHT_GRAY3:"#E1E8ED",LIGHT_GRAY4:"#EBF1F5",LIGHT_GRAY5:"#F5F8FA",LIME1:"#728C23",LIME2:"#87A629",LIME3:"#9BBF30",LIME4:"#B6D94C",LIME5:"#D1F26D",ORANGE1:"#A66321",ORANGE2:"#BF7326",ORANGE3:"#D9822B",ORANGE4:"#F29D49",ORANGE5:"#FFB366",RED1:"#A82A2A",RED2:"#C23030",RED3:"#DB3737",RED4:"#F55656",RED5:"#FF7373",ROSE1:"#A82255",ROSE2:"#C22762",ROSE3:"#DB2C6F",ROSE4:"#F5498B",ROSE5:"#FF66A1",SEPIA1:"#63411E",SEPIA2:"#7D5125",SEPIA3:"#96622D",SEPIA4:"#B07B46",SEPIA5:"#C99765",TURQUOISE1:"#008075",TURQUOISE2:"#00998C",TURQUOISE3:"#00B3A4",TURQUOISE4:"#14CCBD",TURQUOISE5:"#2EE6D6",VERMILION1:"#9E2B0E",VERMILION2:"#B83211",VERMILION3:"#D13913",VERMILION4:"#EB532D",VERMILION5:"#FF6E4A",VIOLET1:"#5C255C",VIOLET2:"#752F75",VIOLET3:"#8F398F",VIOLET4:"#A854A8",VIOLET5:"#C274C2",WHITE:"#FFFFFF"},N=n(8),y=n(9),O=n(6),g=["active","alignText","containerRef","elementRef","fill","icon","inputRef","intent","inline","large","loading","leftIcon","minimal","onChildrenMount","onRemove","panel","panelClassName","popoverProps","rightElement","rightIcon","round","small","text"];function I(e,t,n){return void 0===t&&(t=g),void 0===n&&(n=!1),n&&(t=t.concat(g)),t.reduce(function(e,t){return e.hasOwnProperty(t)&&delete e[t],e},c.__assign({},e))}var C=8,R=9,A=13,b=16,S=27,L=32,P=37,D=38,k=39,w=40,B=46;function x(e){return e===A||e===L}var M=n(2),H=n.n(M),F=n(7);function U(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function G(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function V(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function K(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=U,t.componentWillReceiveProps=G),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=V;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}U.__suppressDeprecationWarning=!0,G.__suppressDeprecationWarning=!0,V.__suppressDeprecationWarning=!0;var W=n(12),z=n(5),j=n(16),Y=n(10),X=!Object(d.isFunction)(F.createPortal),q={blueprintPortalClassName:function(e,t){if(null!=e[t]&&"string"!=typeof e[t])return new Error(z.H)}},Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasMounted:!1},t}return c.__extends(t,e),t.prototype.render=function(){return X||"undefined"==typeof document||!this.state.hasMounted?null:F.createPortal(this.props.children,this.portalElement)},t.prototype.componentDidMount=function(){this.props.container&&(this.portalElement=this.createContainerElement(),this.props.container.appendChild(this.portalElement),this.setState({hasMounted:!0},this.props.onChildrenMount),X&&this.unstableRenderNoPortal())},t.prototype.componentDidUpdate=function(e){null!=this.portalElement&&e.className!==this.props.className&&(this.portalElement.classList.remove(e.className),Q(this.portalElement.classList,this.props.className)),X&&this.unstableRenderNoPortal()},t.prototype.componentWillUnmount=function(){null!=this.portalElement&&(X&&F.unmountComponentAtNode(this.portalElement),this.portalElement.remove())},t.prototype.createContainerElement=function(){var e=document.createElement("div");return e.classList.add(i.PORTAL),Q(e.classList,this.props.className),null!=this.context&&Q(e.classList,this.context.blueprintPortalClassName),e},t.prototype.unstableRenderNoPortal=function(){F.unstable_renderSubtreeIntoContainer(this,p.createElement("div",null,this.props.children),this.portalElement)},t.displayName="Blueprint3.Portal",t.contextTypes=q,t.defaultProps={container:"undefined"!=typeof document?document.body:null},t}(p.Component);function Q(e,t){null!=t&&""!==t&&e.add.apply(e,t.split(" "))}var J=function(e){function t(t,o){var a=e.call(this,t,o)||this;return a.refHandlers={container:function(e){return a.containerElement=Object(F.findDOMNode)(e)}},a.maybeRenderChild=function(e){if(null==e)return null;var t="object"==typeof e?p.cloneElement(e,{className:H()(e.props.className,i.OVERLAY_CONTENT),tabIndex:0}):p.createElement("span",{className:i.OVERLAY_CONTENT},e),n=a.props,r=n.onOpening,o=n.onOpened,s=n.onClosing,l=n.onClosed,u=n.transitionDuration,c=n.transitionName;return p.createElement(Y.CSSTransition,{classNames:c,onEntering:r,onEntered:o,onExiting:s,onExited:l,timeout:u},t)},a.handleBackdropMouseDown=function(e){var t=a.props,n=t.backdropProps,r=t.canOutsideClickClose,o=t.enforceFocus,i=t.onClose;r&&Object(d.safeInvoke)(i,e),o&&a.bringFocusInsideOverlay(),Object(d.safeInvoke)(n.onMouseDown,e)},a.handleDocumentClick=function(e){var t=a.props,r=t.canOutsideClickClose,o=t.isOpen,i=t.onClose,s=e.target,l=n.openStack.indexOf(a),u=n.openStack.slice(l).some(function(e){var t=e.containerElement;return t&&t.contains(s)&&!t.isSameNode(s)});o&&r&&!u&&Object(d.safeInvoke)(i,e)},a.handleDocumentFocus=function(e){a.props.enforceFocus&&null!=a.containerElement&&!a.containerElement.contains(e.target)&&(e.preventDefault(),e.stopImmediatePropagation(),a.bringFocusInsideOverlay())},a.handleKeyDown=function(e){var t=a.props,n=t.canEscapeKeyClose,o=t.onClose;e.which===r.ESCAPE&&n&&(Object(d.safeInvoke)(o,e),e.preventDefault())},a.state={hasEverOpened:t.isOpen},a}var n;return c.__extends(t,e),n=t,t.getDerivedStateFromProps=function(e){var t=e.isOpen;return t?{hasEverOpened:t}:null},t.prototype.render=function(){var e;if(this.props.lazy&&!this.state.hasEverOpened)return null;var t=this.props,n=t.children,r=t.className,o=t.usePortal,a=t.isOpen,s=a?p.Children.map(n,this.maybeRenderChild):[];s.unshift(this.maybeRenderBackdrop());var l=H()(i.OVERLAY,((e={})[i.OVERLAY_OPEN]=a,e[i.OVERLAY_INLINE]=!o,e),r),u=p.createElement(Y.TransitionGroup,{appear:!0,className:l,component:"div",onKeyDown:this.handleKeyDown,ref:this.refHandlers.container},s);return o?p.createElement(Z,{className:this.props.portalClassName,container:this.props.portalContainer},u):u},t.prototype.componentDidMount=function(){this.props.isOpen&&this.overlayWillOpen()},t.prototype.componentDidUpdate=function(e){e.isOpen&&!this.props.isOpen?this.overlayWillClose():!e.isOpen&&this.props.isOpen&&this.overlayWillOpen()},t.prototype.componentWillUnmount=function(){this.overlayWillClose()},t.prototype.bringFocusInsideOverlay=function(){var e=this;return requestAnimationFrame(function(){if(null!=e.containerElement&&null!=document.activeElement&&e.props.isOpen&&!e.containerElement.contains(document.activeElement)){var t=e.containerElement.querySelector("[autofocus]"),n=e.containerElement.querySelector("[tabindex]");null!=t?t.focus():null!=n&&n.focus()}})},t.prototype.maybeRenderBackdrop=function(){var e=this.props,t=e.backdropClassName,n=e.backdropProps,r=e.hasBackdrop,o=e.isOpen,a=e.transitionDuration,s=e.transitionName;return r&&o?p.createElement(Y.CSSTransition,{classNames:s,key:"__backdrop",timeout:a},p.createElement("div",c.__assign({},n,{className:H()(i.OVERLAY_BACKDROP,t,n.className),onMouseDown:this.handleBackdropMouseDown,tabIndex:this.props.canOutsideClickClose?0:null}))):null},t.prototype.overlayWillClose=function(){document.removeEventListener("focus",this.handleDocumentFocus,!0),document.removeEventListener("mousedown",this.handleDocumentClick);var e=n.openStack,t=e.indexOf(this);if(-1!==t){if(e.splice(t,1),e.length>0){var r=n.getLastOpened();r.props.enforceFocus&&document.addEventListener("focus",r.handleDocumentFocus,!0)}0===e.filter(function(e){return e.props.usePortal&&e.props.hasBackdrop}).length&&document.body.classList.remove(i.OVERLAY_OPEN)}},t.prototype.overlayWillOpen=function(){var e=n.openStack;e.length>0&&document.removeEventListener("focus",n.getLastOpened().handleDocumentFocus,!0),e.push(this),this.props.autoFocus&&this.bringFocusInsideOverlay(),this.props.enforceFocus&&document.addEventListener("focus",this.handleDocumentFocus,!0),this.props.canOutsideClickClose&&!this.props.hasBackdrop&&document.addEventListener("mousedown",this.handleDocumentClick),this.props.hasBackdrop&&this.props.usePortal&&document.body.classList.add(i.OVERLAY_OPEN)},t.displayName="Blueprint3.Overlay",t.defaultProps={autoFocus:!0,backdropProps:{},canEscapeKeyClose:!0,canOutsideClickClose:!0,enforceFocus:!0,hasBackdrop:!0,isOpen:!1,lazy:!0,transitionDuration:300,transitionName:i.OVERLAY,usePortal:!0},t.openStack=[],t.getLastOpened=function(){return n.openStack[n.openStack.length-1]},t=n=c.__decorate([K],t)}(E),$=n(17),ee=n.n($),te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.observer=new ee.a(function(e){return Object(d.safeInvoke)(t.props.onResize,e)}),t}return c.__extends(t,e),t.prototype.render=function(){return p.Children.only(this.props.children)},t.prototype.componentDidMount=function(){this.observeElement()},t.prototype.componentDidUpdate=function(e){this.observeElement(this.props.observeParents!==e.observeParents)},t.prototype.componentWillUnmount=function(){this.observer.disconnect()},t.prototype.observeElement=function(e){void 0===e&&(e=!1);var t=this.getElement();if(t instanceof Element){if((t!==this.element||e)&&(this.observer.disconnect(),this.element=t,this.observer.observe(t),this.props.observeParents))for(var n=t.parentElement;null!=n;)this.observer.observe(n),n=n.parentElement}else this.observer.disconnect()},t.prototype.getElement=function(){try{return Object(F.findDOMNode)(this)}catch(e){return null}},t.displayName="Blueprint3.ResizeSensor",t=c.__decorate([K],t)}(E),ne=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popover=null,t}return c.__extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.intent,o=t.popoverClassName,a=c.__rest(t,["children","intent","popoverClassName"]),s=H()(i.TOOLTIP,i.intentClass(r),o);return p.createElement(me,c.__assign({interactionKind:he.HOVER_TARGET_ONLY},a,{autoFocus:!1,canEscapeKeyClose:!1,enforceFocus:!1,lazy:!0,popoverClassName:s,portalContainer:this.props.portalContainer,ref:function(t){return e.popover=t}}),n)},t.prototype.reposition=function(){null!=this.popover&&this.popover.reposition()},t.displayName="Blueprint3.Tooltip",t.defaultProps={hoverCloseDelay:0,hoverOpenDelay:100,transitionDuration:100},t=c.__decorate([K],t)}(E);function re(e){return e.split("-")[0]}function oe(e){return-1!==["left","right"].indexOf(e)}function ie(e){switch(e){case"top":return"bottom";case"left":return"right";case"bottom":return"top";default:return"left"}}function ae(e){switch(e.split("-")[1]){case"start":return"left";case"end":return"right";default:return"center"}}function se(e){var t=re(e.placement);if(null==e.arrowElement)return oe(t)?ie(t)+" "+ae(t):ae(t)+" "+ie(t);var n=e.arrowElement.clientHeight/2,r=e.offsets.arrow;return oe(t)?ie(t)+" "+(r.top+n)+"px":r.left+n+"px "+ie(t)}var le=function(e){if(null==e.arrowElement)return e;var t=e.arrowElement.clientWidth,n=re(e.placement),r=oe(n),o=r?"width":"height",i=r?"left":"top",a=Math.round(t/2/Math.sqrt(2));return"top"===n||"left"===n?(e.offsets.popper[i]-=a+4,e.offsets.arrow[i]=e.offsets.popper[o]-t+a):(e.offsets.popper[i]+=a+4,e.offsets.arrow[i]=-a),e};function ue(e){if(null==e)return 0;switch(re(e)){case"top":return-90;case"left":return 180;case"bottom":return 90;default:return 0}}var ce=function(e){var t=e.arrowProps,n=t.ref,r=t.style,o=e.placement;return p.createElement("div",{className:i.POPOVER_ARROW,ref:n,style:isNaN(+r.left)?{}:r},p.createElement("svg",{viewBox:"0 0 30 30",style:{transform:"rotate("+ue(o)+"deg)"}},p.createElement("path",{className:i.POPOVER_ARROW+"-border",d:"M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378-.868-3.357-1.888-4.297L.925 17.09c-1.237-1.14-1.233-3.034 0-4.17L8.11 6.302z"}),p.createElement("path",{className:i.POPOVER_ARROW+"-fill",d:"M8.787 7.036c1.22-1.125 2.21-3.376 2.21-5.03V0v30-2.005c0-1.654-.983-3.9-2.21-5.03l-7.183-6.616c-.81-.746-.802-1.96 0-2.7l7.183-6.614z"})))};function pe(e){switch(e){case O.a.TOP_LEFT:return"top-start";case O.a.TOP:return"top";case O.a.TOP_RIGHT:return"top-end";case O.a.RIGHT_TOP:return"right-start";case O.a.RIGHT:return"right";case O.a.RIGHT_BOTTOM:return"right-end";case O.a.BOTTOM_RIGHT:return"bottom-end";case O.a.BOTTOM:return"bottom";case O.a.BOTTOM_LEFT:return"bottom-start";case O.a.LEFT_BOTTOM:return"left-end";case O.a.LEFT:return"left";case O.a.LEFT_TOP:return"left-start";case"auto":case"auto-start":case"auto-end":return e;default:return function(e){throw new Error("Unexpected position: "+e)}(e)}}ce.displayName="Blueprint3.PopoverArrow";var de,fe,he={CLICK:"click",CLICK_TARGET_ONLY:"click-target",HOVER:"hover",HOVER_TARGET_ONLY:"hover-target"},me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasDarkParent:!1,isOpen:t.getIsOpen(t.props),transformOrigin:""},t.isMouseInTargetOrPopover=!1,t.lostFocusOnSamePage=!0,t.refHandlers={popover:function(e){t.popoverElement=e,d.safeInvoke(t.props.popoverRef,e)},target:function(e){return t.targetElement=e}},t.reposition=function(){return d.safeInvoke(t.popperScheduleUpdate)},t.renderPopover=function(e){var n,r=t.props,o=r.usePortal,a=r.interactionKind,s=t.state.transformOrigin;t.popperScheduleUpdate=e.scheduleUpdate;var l={onClick:t.handlePopoverClick};(a===he.HOVER||!o&&a===he.HOVER_TARGET_ONLY)&&(l.onMouseEnter=t.handleMouseEnter,l.onMouseLeave=t.handleMouseLeave);var u=H()(i.POPOVER,((n={})[i.DARK]=t.props.inheritDarkTheme&&t.state.hasDarkParent,n[i.MINIMAL]=t.props.minimal,n),t.props.popoverClassName);return p.createElement("div",{className:i.TRANSITION_CONTAINER,ref:e.ref,style:e.style},p.createElement(te,{onResize:t.reposition},p.createElement("div",c.__assign({className:u,style:{transformOrigin:s}},l),t.isArrowEnabled()&&p.createElement(ce,{arrowProps:e.arrowProps,placement:e.placement}),p.createElement("div",{className:i.POPOVER_CONTENT},t.understandChildren().content))))},t.renderTarget=function(e){var n,r,o=t.props,a=o.fill,s=o.openOnTargetFocus,l=o.targetClassName,u=o.targetProps,f=void 0===u?{}:u,h=t.state.isOpen,m=t.isControlled(),E=t.isHoverInteractionKind(),v=t.props.targetTagName;a&&(v="div");var T=E?{onBlur:t.handleTargetBlur,onFocus:t.handleTargetFocus,onMouseEnter:t.handleMouseEnter,onMouseLeave:t.handleMouseLeave}:{onClick:t.handleTargetClick};T.className=H()(i.POPOVER_TARGET,((n={})[i.POPOVER_OPEN]=h,n),f.className,l),T.ref=e.ref;var _=d.ensureElement(t.understandChildren().target),N=_.props.tabIndex,y=null==N&&s&&E?0:N,O=p.cloneElement(_,{className:H()(_.props.className,(r={},r[i.ACTIVE]=h&&!m&&!E,r)),disabled:!(!h||!d.isElementOfType(_,ne))||_.props.disabled,tabIndex:y}),g=p.createElement(v,c.__assign({},f,T),O);return p.createElement(te,{onResize:t.reposition},g)},t.isControlled=function(){return void 0!==t.props.isOpen},t.handleTargetFocus=function(e){if(t.props.openOnTargetFocus&&t.isHoverInteractionKind()){if(null==e.relatedTarget&&!t.lostFocusOnSamePage)return;t.handleMouseEnter(e)}j.a(t.props.targetProps,"onFocus",e)},t.handleTargetBlur=function(e){t.props.openOnTargetFocus&&t.isHoverInteractionKind()&&(null==e.relatedTarget||t.isElementInPopover(e.