UNPKG

@blueprintjs/core

Version:
1 lines 147 kB
!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=18)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ACTIVE",function(){return s}),n.d(t,"ALIGN_LEFT",function(){return l}),n.d(t,"ALIGN_RIGHT",function(){return u}),n.d(t,"DARK",function(){return c}),n.d(t,"DISABLED",function(){return p}),n.d(t,"FILL",function(){return d}),n.d(t,"FIXED",function(){return f}),n.d(t,"FIXED_TOP",function(){return h}),n.d(t,"INLINE",function(){return m}),n.d(t,"INTERACTIVE",function(){return E}),n.d(t,"LARGE",function(){return v}),n.d(t,"LOADING",function(){return T}),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 C}),n.d(t,"VERTICAL",function(){return _}),n.d(t,"ELEVATION_0",function(){return g}),n.d(t,"ELEVATION_1",function(){return I}),n.d(t,"ELEVATION_2",function(){return R}),n.d(t,"ELEVATION_3",function(){return A}),n.d(t,"ELEVATION_4",function(){return b}),n.d(t,"INTENT_PRIMARY",function(){return S}),n.d(t,"INTENT_SUCCESS",function(){return L}),n.d(t,"INTENT_WARNING",function(){return P}),n.d(t,"INTENT_DANGER",function(){return D}),n.d(t,"FOCUS_DISABLED",function(){return k}),n.d(t,"UI_TEXT",function(){return B}),n.d(t,"RUNNING_TEXT",function(){return w}),n.d(t,"MONOSPACE_TEXT",function(){return x}),n.d(t,"TEXT_LARGE",function(){return M}),n.d(t,"TEXT_SMALL",function(){return H}),n.d(t,"TEXT_MUTED",function(){return F}),n.d(t,"TEXT_DISABLED",function(){return G}),n.d(t,"TEXT_OVERFLOW_ELLIPSIS",function(){return U}),n.d(t,"BLOCKQUOTE",function(){return V}),n.d(t,"CODE",function(){return K}),n.d(t,"CODE_BLOCK",function(){return W}),n.d(t,"HEADING",function(){return z}),n.d(t,"LIST",function(){return j}),n.d(t,"LIST_UNSTYLED",function(){return Y}),n.d(t,"RTL",function(){return X}),n.d(t,"ALERT",function(){return q}),n.d(t,"ALERT_BODY",function(){return Z}),n.d(t,"ALERT_CONTENTS",function(){return Q}),n.d(t,"ALERT_FOOTER",function(){return J}),n.d(t,"BREADCRUMB",function(){return $}),n.d(t,"BREADCRUMB_CURRENT",function(){return ee}),n.d(t,"BREADCRUMBS",function(){return te}),n.d(t,"BREADCRUMBS_COLLAPSED",function(){return ne}),n.d(t,"BUTTON",function(){return re}),n.d(t,"BUTTON_GROUP",function(){return oe}),n.d(t,"BUTTON_SPINNER",function(){return ie}),n.d(t,"BUTTON_TEXT",function(){return ae}),n.d(t,"CALLOUT",function(){return se}),n.d(t,"CALLOUT_ICON",function(){return le}),n.d(t,"CARD",function(){return ue}),n.d(t,"COLLAPSE",function(){return ce}),n.d(t,"COLLAPSE_BODY",function(){return pe}),n.d(t,"COLLAPSIBLE_LIST",function(){return de}),n.d(t,"CONTEXT_MENU",function(){return fe}),n.d(t,"CONTEXT_MENU_POPOVER_TARGET",function(){return he}),n.d(t,"CONTROL_GROUP",function(){return me}),n.d(t,"DIALOG",function(){return Ee}),n.d(t,"DIALOG_CONTAINER",function(){return ve}),n.d(t,"DIALOG_BODY",function(){return Te}),n.d(t,"DIALOG_CLOSE_BUTTON",function(){return Ne}),n.d(t,"DIALOG_FOOTER",function(){return ye}),n.d(t,"DIALOG_FOOTER_ACTIONS",function(){return Oe}),n.d(t,"DIALOG_HEADER",function(){return Ce}),n.d(t,"DIVIDER",function(){return _e}),n.d(t,"DRAWER",function(){return ge}),n.d(t,"DRAWER_BODY",function(){return Ie}),n.d(t,"DRAWER_FOOTER",function(){return Re}),n.d(t,"DRAWER_HEADER",function(){return Ae}),n.d(t,"EDITABLE_TEXT",function(){return be}),n.d(t,"EDITABLE_TEXT_CONTENT",function(){return Se}),n.d(t,"EDITABLE_TEXT_EDITING",function(){return Le}),n.d(t,"EDITABLE_TEXT_INPUT",function(){return Pe}),n.d(t,"EDITABLE_TEXT_PLACEHOLDER",function(){return De}),n.d(t,"FLEX_EXPANDER",function(){return ke}),n.d(t,"HTML_SELECT",function(){return Be}),n.d(t,"SELECT",function(){return we}),n.d(t,"HTML_TABLE",function(){return xe}),n.d(t,"HTML_TABLE_BORDERED",function(){return Me}),n.d(t,"HTML_TABLE_CONDENSED",function(){return He}),n.d(t,"HTML_TABLE_STRIPED",function(){return Fe}),n.d(t,"INPUT",function(){return Ge}),n.d(t,"INPUT_GHOST",function(){return Ue}),n.d(t,"INPUT_GROUP",function(){return Ve}),n.d(t,"INPUT_ACTION",function(){return Ke}),n.d(t,"CONTROL",function(){return We}),n.d(t,"CONTROL_INDICATOR",function(){return ze}),n.d(t,"CONTROL_INDICATOR_CHILD",function(){return je}),n.d(t,"CHECKBOX",function(){return Ye}),n.d(t,"RADIO",function(){return Xe}),n.d(t,"SWITCH",function(){return qe}),n.d(t,"SWITCH_INNER_TEXT",function(){return Ze}),n.d(t,"FILE_INPUT",function(){return Qe}),n.d(t,"FILE_UPLOAD_INPUT",function(){return Je}),n.d(t,"KEY",function(){return $e}),n.d(t,"KEY_COMBO",function(){return et}),n.d(t,"MODIFIER_KEY",function(){return tt}),n.d(t,"HOTKEY",function(){return nt}),n.d(t,"HOTKEY_LABEL",function(){return rt}),n.d(t,"HOTKEY_COLUMN",function(){return ot}),n.d(t,"HOTKEY_DIALOG",function(){return it}),n.d(t,"LABEL",function(){return at}),n.d(t,"FORM_GROUP",function(){return st}),n.d(t,"FORM_CONTENT",function(){return lt}),n.d(t,"FORM_HELPER_TEXT",function(){return ut}),n.d(t,"MENU",function(){return ct}),n.d(t,"MENU_ITEM",function(){return pt}),n.d(t,"MENU_ITEM_LABEL",function(){return dt}),n.d(t,"MENU_SUBMENU",function(){return ft}),n.d(t,"MENU_DIVIDER",function(){return ht}),n.d(t,"MENU_HEADER",function(){return mt}),n.d(t,"NAVBAR",function(){return Et}),n.d(t,"NAVBAR_GROUP",function(){return vt}),n.d(t,"NAVBAR_HEADING",function(){return Tt}),n.d(t,"NAVBAR_DIVIDER",function(){return Nt}),n.d(t,"NON_IDEAL_STATE",function(){return yt}),n.d(t,"NON_IDEAL_STATE_VISUAL",function(){return Ot}),n.d(t,"NUMERIC_INPUT",function(){return Ct}),n.d(t,"OVERFLOW_LIST",function(){return _t}),n.d(t,"OVERFLOW_LIST_SPACER",function(){return gt}),n.d(t,"OVERLAY",function(){return It}),n.d(t,"OVERLAY_BACKDROP",function(){return Rt}),n.d(t,"OVERLAY_CONTAINER",function(){return At}),n.d(t,"OVERLAY_CONTENT",function(){return bt}),n.d(t,"OVERLAY_INLINE",function(){return St}),n.d(t,"OVERLAY_OPEN",function(){return Lt}),n.d(t,"OVERLAY_SCROLL_CONTAINER",function(){return Pt}),n.d(t,"PANEL_STACK",function(){return Dt}),n.d(t,"PANEL_STACK_HEADER",function(){return kt}),n.d(t,"PANEL_STACK_HEADER_BACK",function(){return Bt}),n.d(t,"PANEL_STACK_VIEW",function(){return wt}),n.d(t,"POPOVER",function(){return xt}),n.d(t,"POPOVER_ARROW",function(){return Mt}),n.d(t,"POPOVER_BACKDROP",function(){return Ht}),n.d(t,"POPOVER_CONTENT",function(){return Ft}),n.d(t,"POPOVER_CONTENT_SIZING",function(){return Gt}),n.d(t,"POPOVER_DISMISS",function(){return Ut}),n.d(t,"POPOVER_DISMISS_OVERRIDE",function(){return Vt}),n.d(t,"POPOVER_OPEN",function(){return Kt}),n.d(t,"POPOVER_TARGET",function(){return Wt}),n.d(t,"POPOVER_WRAPPER",function(){return zt}),n.d(t,"TRANSITION_CONTAINER",function(){return jt}),n.d(t,"PROGRESS_BAR",function(){return Yt}),n.d(t,"PROGRESS_METER",function(){return Xt}),n.d(t,"PROGRESS_NO_STRIPES",function(){return qt}),n.d(t,"PROGRESS_NO_ANIMATION",function(){return Zt}),n.d(t,"PORTAL",function(){return Qt}),n.d(t,"SKELETON",function(){return Jt}),n.d(t,"SLIDER",function(){return $t}),n.d(t,"SLIDER_AXIS",function(){return en}),n.d(t,"SLIDER_HANDLE",function(){return tn}),n.d(t,"SLIDER_LABEL",function(){return nn}),n.d(t,"SLIDER_TRACK",function(){return rn}),n.d(t,"SLIDER_PROGRESS",function(){return on}),n.d(t,"START",function(){return an}),n.d(t,"END",function(){return sn}),n.d(t,"SPINNER",function(){return ln}),n.d(t,"SPINNER_ANIMATION",function(){return un}),n.d(t,"SPINNER_HEAD",function(){return cn}),n.d(t,"SPINNER_NO_SPIN",function(){return pn}),n.d(t,"SPINNER_TRACK",function(){return dn}),n.d(t,"TAB",function(){return fn}),n.d(t,"TAB_INDICATOR",function(){return hn}),n.d(t,"TAB_INDICATOR_WRAPPER",function(){return mn}),n.d(t,"TAB_LIST",function(){return En}),n.d(t,"TAB_PANEL",function(){return vn}),n.d(t,"TABS",function(){return Tn}),n.d(t,"TAG",function(){return Nn}),n.d(t,"TAG_REMOVE",function(){return yn}),n.d(t,"TAG_INPUT",function(){return On}),n.d(t,"TAG_INPUT_ICON",function(){return Cn}),n.d(t,"TAG_INPUT_VALUES",function(){return _n}),n.d(t,"TOAST",function(){return gn}),n.d(t,"TOAST_CONTAINER",function(){return In}),n.d(t,"TOAST_MESSAGE",function(){return Rn}),n.d(t,"TOOLTIP",function(){return An}),n.d(t,"TOOLTIP_INDICATOR",function(){return bn}),n.d(t,"TREE",function(){return Sn}),n.d(t,"TREE_NODE",function(){return Ln}),n.d(t,"TREE_NODE_CARET",function(){return Pn}),n.d(t,"TREE_NODE_CARET_CLOSED",function(){return Dn}),n.d(t,"TREE_NODE_CARET_NONE",function(){return kn}),n.d(t,"TREE_NODE_CARET_OPEN",function(){return Bn}),n.d(t,"TREE_NODE_CONTENT",function(){return wn}),n.d(t,"TREE_NODE_EXPANDED",function(){return xn}),n.d(t,"TREE_NODE_ICON",function(){return Mn}),n.d(t,"TREE_NODE_LABEL",function(){return Hn}),n.d(t,"TREE_NODE_LIST",function(){return Fn}),n.d(t,"TREE_NODE_SECONDARY_LABEL",function(){return Gn}),n.d(t,"TREE_NODE_SELECTED",function(){return Un}),n.d(t,"TREE_ROOT",function(){return Vn}),n.d(t,"ICON",function(){return Kn}),n.d(t,"ICON_STANDARD",function(){return Wn}),n.d(t,"ICON_LARGE",function(){return zn}),n.d(t,"getClassNamespace",function(){return jn}),n.d(t,"alignmentClass",function(){return Yn}),n.d(t,"elevationClass",function(){return Xn}),n.d(t,"iconClass",function(){return qn}),n.d(t,"intentClass",function(){return Zn});var r=n(9),o=n(8),i=n(7),a=e.env.BLUEPRINT_NAMESPACE||"bp3",s=a+"-active",l=a+"-align-left",u=a+"-align-right",c=a+"-dark",p=a+"-disabled",d=a+"-fill",f=a+"-fixed",h=a+"-fixed-top",m=a+"-inline",E=a+"-interactive",v=a+"-large",T=a+"-loading",N=a+"-minimal",y=a+"-multiline",O=a+"-round",C=a+"-small",_=a+"-vertical",g=Xn(o.a.ZERO),I=Xn(o.a.ONE),R=Xn(o.a.TWO),A=Xn(o.a.THREE),b=Xn(o.a.FOUR),S=Zn(i.a.PRIMARY),L=Zn(i.a.SUCCESS),P=Zn(i.a.WARNING),D=Zn(i.a.DANGER),k=a+"-focus-disabled",B=a+"-ui-text",w=a+"-running-text",x=a+"-monospace-text",M=a+"-text-large",H=a+"-text-small",F=a+"-text-muted",G=a+"-text-disabled",U=a+"-text-overflow-ellipsis",V=a+"-blockquote",K=a+"-code",W=a+"-code-block",z=a+"-heading",j=a+"-list",Y=a+"-list-unstyled",X=a+"-rtl",q=a+"-alert",Z=q+"-body",Q=q+"-contents",J=q+"-footer",$=a+"-breadcrumb",ee=$+"-current",te=$+"s",ne=$+"s-collapsed",re=a+"-button",oe=re+"-group",ie=re+"-spinner",ae=re+"-text",se=a+"-callout",le=se+"-icon",ue=a+"-card",ce=a+"-collapse",pe=ce+"-body",de=a+"-collapse-list",fe=a+"-context-menu",he=fe+"-popover-target",me=a+"-control-group",Ee=a+"-dialog",ve=Ee+"-container",Te=Ee+"-body",Ne=Ee+"-close-button",ye=Ee+"-footer",Oe=Ee+"-footer-actions",Ce=Ee+"-header",_e=a+"-divider",ge=a+"-drawer",Ie=ge+"-body",Re=ge+"-footer",Ae=ge+"-header",be=a+"-editable-text",Se=be+"-content",Le=be+"-editing",Pe=be+"-input",De=be+"-placeholder",ke=a+"-flex-expander",Be=a+"-html-select",we=a+"-select",xe=a+"-html-table",Me=xe+"-bordered",He=xe+"-condensed",Fe=xe+"-striped",Ge=a+"-input",Ue=Ge+"-ghost",Ve=Ge+"-group",Ke=Ge+"-action",We=a+"-control",ze=We+"-indicator",je=ze+"-child",Ye=a+"-checkbox",Xe=a+"-radio",qe=a+"-switch",Ze=qe+"-inner-text",Qe=a+"-file-input",Je=a+"-file-upload-input",$e=a+"-key",et=$e+"-combo",tt=a+"-modifier-key",nt=a+"-hotkey",rt=nt+"-label",ot=nt+"-column",it=nt+"-dialog",at=a+"-label",st=a+"-form-group",lt=a+"-form-content",ut=a+"-form-helper-text",ct=a+"-menu",pt=ct+"-item",dt=pt+"-label",ft=a+"-submenu",ht=ct+"-divider",mt=ct+"-header",Et=a+"-navbar",vt=Et+"-group",Tt=Et+"-heading",Nt=Et+"-divider",yt=a+"-non-ideal-state",Ot=yt+"-visual",Ct=a+"-numeric-input",_t=a+"-overflow-list",gt=_t+"-spacer",It=a+"-overlay",Rt=It+"-backdrop",At=It+"-container",bt=It+"-content",St=It+"-inline",Lt=It+"-open",Pt=It+"-scroll-container",Dt=a+"-panel-stack",kt=Dt+"-header",Bt=Dt+"-header-back",wt=Dt+"-view",xt=a+"-popover",Mt=xt+"-arrow",Ht=xt+"-backdrop",Ft=xt+"-content",Gt=Ft+"-sizing",Ut=xt+"-dismiss",Vt=Ut+"-override",Kt=xt+"-open",Wt=xt+"-target",zt=xt+"-wrapper",jt=a+"-transition-container",Yt=a+"-progress-bar",Xt=a+"-progress-meter",qt=a+"-no-stripes",Zt=a+"-no-animation",Qt=a+"-portal",Jt=a+"-skeleton",$t=a+"-slider",en=$t+"-axis",tn=$t+"-handle",nn=$t+"-label",rn=$t+"-track",on=$t+"-progress",an=a+"-start",sn=a+"-end",ln=a+"-spinner",un=ln+"-animation",cn=ln+"-head",pn=a+"-no-spin",dn=ln+"-track",fn=a+"-tab",hn=fn+"-indicator",mn=hn+"-wrapper",En=fn+"-list",vn=fn+"-panel",Tn=fn+"s",Nn=a+"-tag",yn=Nn+"-remove",On=a+"-tag-input",Cn=On+"-icon",_n=On+"-values",gn=a+"-toast",In=gn+"-container",Rn=gn+"-message",An=a+"-tooltip",bn=An+"-indicator",Sn=a+"-tree",Ln=a+"-tree-node",Pn=Ln+"-caret",Dn=Pn+"-closed",kn=Pn+"-none",Bn=Pn+"-open",wn=Ln+"-content",xn=Ln+"-expanded",Mn=Ln+"-icon",Hn=Ln+"-label",Fn=Ln+"-list",Gn=Ln+"-secondary-label",Un=Ln+"-selected",Vn=a+"-tree-root",Kn=a+"-icon",Wn=Kn+"-standard",zn=Kn+"-large";function jn(){return a}function Yn(e){switch(e){case r.a.LEFT:return l;case r.a.RIGHT:return u;default:return}}function Xn(e){if(null!=e)return a+"-elevation-"+e}function qn(e){if(null!=e)return 0===e.indexOf(a+"-icon-")?e:a+"-icon-"+e}function Zn(e){if(null!=e&&e!==i.a.NONE)return a+"-intent-"+e.toLowerCase()}}.call(this,n(13))},function(e,n){e.exports=t},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}),n.d(t,"countDecimalPlaces",function(){return y}),n.d(t,"throttleEvent",function(){return O}),n.d(t,"throttleReactEventCallback",function(){return C}),n.d(t,"throttle",function(){return _});var r=n(0),o=n(5),i=n(14);n.d(t,"arraysEqual",function(){return i.a}),n.d(t,"shallowCompareKeys",function(){return i.e}),n.d(t,"deepCompareKeys",function(){return i.b}),n.d(t,"getShallowUnequalKeyValues",function(){return i.d}),n.d(t,"getDeepUnequalKeyValues",function(){return i.c});var a=n(15);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 N(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 y(e){if(!isFinite(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}function O(e,t,n){var r=g(function(t){e.dispatchEvent(new CustomEvent(n,t))});return e.addEventListener(t,r),r}function C(e,t){return void 0===t&&(t={}),g(e,function(e){t.preventDefault&&e.preventDefault()},function(e){return e.persist()})}function _(e){return g(e)}function g(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(13))},function(e,t){e.exports=n},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,"j",function(){return p}),n.d(t,"l",function(){return d}),n.d(t,"k",function(){return f}),n.d(t,"r",function(){return h}),n.d(t,"p",function(){return m}),n.d(t,"n",function(){return E}),n.d(t,"q",function(){return v}),n.d(t,"o",function(){return T}),n.d(t,"s",function(){return N}),n.d(t,"t",function(){return y}),n.d(t,"u",function(){return O}),n.d(t,"w",function(){return C}),n.d(t,"v",function(){return _}),n.d(t,"B",function(){return g}),n.d(t,"x",function(){return I}),n.d(t,"y",function(){return R}),n.d(t,"z",function(){return A}),n.d(t,"A",function(){return b}),n.d(t,"C",function(){return S}),n.d(t,"D",function(){return L}),n.d(t,"E",function(){return P}),n.d(t,"H",function(){return D}),n.d(t,"G",function(){return k}),n.d(t,"F",function(){return B}),n.d(t,"m",function(){return w}),n.d(t,"I",function(){return x}),n.d(t,"J",function(){return M}),n.d(t,"K",function(){return H}),n.d(t,"i",function(){return F}),n.d(t,"h",function(){return G});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.",N=r+" <NumericInput> requires stepSize to be strictly greater than zero.",y=r+" <NumericInput> requires stepSize to be defined.",O=r+" <OverflowList> does not support changing observeParents after mounting.",C=r+" <Popover> requires target prop or at least one child element.",_=r+" <Popover hasBackdrop={true}> requires interactionKind={PopoverInteractionKind.CLICK}.",g=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.",I=r+" <Popover> with two children ignores content prop; use either prop or children.",R=r+" <Popover> with children ignores target prop; use either prop or children.",A=r+" Disabling <Popover> with empty/whitespace content...",b=r+" <Popover usePortal={false}> ignores hasBackdrop",S=r+" <Popover> onInteraction is ignored when uncontrolled.",L=r+" <Portal> context blueprintPortalClassName must be string",P=r+" <RadioGroup> children and options prop are mutually exclusive, with options taking priority.",D=r+" <Slider> stepSize must be greater than zero.",k=r+" <Slider> labelStepSize must be greater than zero.",B=r+" <RangeSlider> value prop must be an array of two non-null numbers.",w=r+" <MultiSlider> children must be <SliderHandle>s or <SliderTrackStop>s",x=r+" <Spinner> Classes.SMALL/LARGE are ignored if size prop is set.",M=r+" Toaster.create() is not supported inside React lifecycle methods in React 16. See usage example on the docs site.",H=r+" Toaster.create() ignores inline prop as it always creates a new element.",F=r+" <Dialog> iconName is ignored if title is omitted.",G=r+" <Dialog> isCloseButtonShown prop is ignored if title is omitted."},function(e,t){e.exports=r},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,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={CENTER:"center",LEFT:"left",RIGHT:"right"}},function(e,t){e.exports=o},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 l(e,t,n);var r=Object.keys(e),o=Object.keys(t);return l(e,t,{include:r})&&l(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(c(e)||c(t))return e===t;if(null!=n)return u(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)&&u(e,t,o))}function a(e,t,n){var r=null==e?{}:e,i=null==t?{}:t;return f(r,i,p(r,i,null==n?{exclude:[]}:n),function(e,t,n){return o(e,t,{include:[n]})})}function s(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),f(e,t,null==n?function(e,t){var n=Object.keys(e),r=Object.keys(t),o=d(n.concat(r));return Object.keys(o)}(e,t):n,function(e,t,n){return i(e,t,[n])})}function l(e,t,n){return p(e,t,n).every(function(n){return e.hasOwnProperty(n)===t.hasOwnProperty(n)&&e[n]===t[n]})}function u(e,t,n){return n.every(function(n){return e.hasOwnProperty(n)===t.hasOwnProperty(n)&&i(e[n],t[n])})}function c(e){return"number"==typeof e||"string"==typeof e||"boolean"==typeof e}function p(e,t,n){if(function(e){return null!=e&&null!=e.include}(n))return n.include;var r=Object.keys(e),o=Object.keys(t),i=d(r.concat(o));return n.exclude.forEach(function(e){return delete i[e]}),Object.keys(i)}function d(e){return e.reduce(function(e,t){return e[t]=!0,e},{})}function f(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]}})}n.d(t,"a",function(){return r}),n.d(t,"e",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return s})},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 I}),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 B}),n.d(r,"DELETE",function(){return w}),n.d(r,"isKeyboardClick",function(){return x});var o={};n.r(o),n.d(o,"show",function(){return me}),n.d(o,"hide",function(){return Ee}),n.d(o,"isOpen",function(){return ve});var i=n(1),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(2),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.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),m=n(9),E={START:"start",END:"end"},v={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"},T=n(8),N=n(7),y={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===y.TOP||e===y.TOP_LEFT||e===y.TOP_RIGHT||e===y.BOTTOM||e===y.BOTTOM_LEFT||e===y.BOTTOM_RIGHT}function C(e){return e===y.LEFT||e===y.LEFT_TOP||e===y.LEFT_BOTTOM||e===y.RIGHT||e===y.RIGHT_TOP||e===y.RIGHT_BOTTOM}var _=["active","alignText","containerRef","elementRef","fill","icon","inputRef","intent","inline","large","loading","leftIcon","minimal","onChildrenMount","onRemove","popoverProps","rightElement","rightIcon","round","small","text"];function g(e,t,n){return void 0===t&&(t=_),void 0===n&&(n=!1),n&&(t=t.concat(_)),t.reduce(function(e,t){return e.hasOwnProperty(t)&&delete e[t],e},c.__assign({},e))}var I=8,R=9,A=13,b=16,S=27,L=32,P=37,D=38,k=39,B=40,w=46;function x(e){return e===A||e===L}var M=n(4),H=n.n(M),F=n(6),G=n(11),U=n(5),V=n(15),K=n(10),W=!Object(d.isFunction)(F.createPortal),z={blueprintPortalClassName:function(e,t){if(null!=e[t]&&"string"!=typeof e[t])return new Error(U.D)}},j=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 W||"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),W&&this.unstableRenderNoPortal())},t.prototype.componentDidUpdate=function(e){null!=this.portalElement&&e.className!==this.props.className&&(this.portalElement.classList.remove(e.className),Y(this.portalElement.classList,this.props.className)),W&&this.unstableRenderNoPortal()},t.prototype.componentWillUnmount=function(){null!=this.portalElement&&(W&&F.unmountComponentAtNode(this.portalElement),this.portalElement.remove())},t.prototype.createContainerElement=function(){var e=document.createElement("div");return e.classList.add(i.PORTAL),Y(e.classList,this.props.className),null!=this.context&&Y(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=z,t.defaultProps={container:"undefined"!=typeof document?document.body:null},t}(p.Component);function Y(e,t){null!=t&&""!==t&&e.add.apply(e,t.split(" "))}var X=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.refHandlers={container:function(e){return o.containerElement=Object(F.findDOMNode)(e)}},o.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=o.props,r=n.onOpening,a=n.onOpened,s=n.onClosing,l=n.onClosed,u=n.transitionDuration,c=n.transitionName;return p.createElement(K.CSSTransition,{classNames:c,onEntering:r,onEntered:a,onExiting:s,onExited:l,timeout:u},t)},o.handleBackdropMouseDown=function(e){var t=o.props,n=t.backdropProps,r=t.canOutsideClickClose,i=t.enforceFocus,a=t.onClose;r&&Object(d.safeInvoke)(a,e),i&&o.bringFocusInsideOverlay(),Object(d.safeInvoke)(n.onMouseDown,e)},o.handleDocumentClick=function(e){var n=o.props,r=n.canOutsideClickClose,i=n.isOpen,a=n.onClose,s=e.target,l=t.openStack.indexOf(o),u=t.openStack.slice(l).some(function(e){var t=e.containerElement;return t&&t.contains(s)&&!t.isSameNode(s)});i&&r&&!u&&Object(d.safeInvoke)(a,e)},o.handleDocumentFocus=function(e){o.props.enforceFocus&&null!=o.containerElement&&!o.containerElement.contains(e.target)&&(e.preventDefault(),e.stopImmediatePropagation(),o.bringFocusInsideOverlay())},o.handleKeyDown=function(e){var t=o.props,n=t.canEscapeKeyClose,r=t.onClose;e.which===S&&n&&(Object(d.safeInvoke)(r,e),e.preventDefault())},o.state={hasEverOpened:n.isOpen},o}return c.__extends(t,e),t.prototype.render=function(){if(this.props.lazy&&!this.state.hasEverOpened)return null;var e=this.props,t=e.children,n=e.className,r=e.usePortal,o=e.isOpen,a=o?p.Children.map(t,this.maybeRenderChild):[];a.unshift(this.maybeRenderBackdrop());var s,l=H()(i.OVERLAY,((s={})[i.OVERLAY_OPEN]=o,s[i.OVERLAY_INLINE]=!r,s),n),u=p.createElement(K.TransitionGroup,{appear:!0,className:l,component:"div",onKeyDown:this.handleKeyDown,ref:this.refHandlers.container},a);return r?p.createElement(j,{className:this.props.portalClassName,container:this.props.portalContainer},u):u},t.prototype.componentDidMount=function(){this.props.isOpen&&this.overlayWillOpen()},t.prototype.componentWillReceiveProps=function(e){this.setState({hasEverOpened:this.state.hasEverOpened||e.isOpen})},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(K.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=t.openStack,n=e.indexOf(this);if(-1!==n){if(e.splice(n,1),e.length>0){var r=t.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=t.openStack;e.length>0&&document.removeEventListener("focus",t.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 t.openStack[t.openStack.length-1]},t}(p.PureComponent),q=n(16),Z=n.n(q),Q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.observer=new Z.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}(p.PureComponent),J=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(pe,c.__assign({interactionKind:ce.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}(p.PureComponent);function $(e){return e.split("-")[0]}function ee(e){return-1!==["left","right"].indexOf(e)}function te(e){switch(e){case"top":return"bottom";case"left":return"right";case"bottom":return"top";default:return"left"}}function ne(e){switch(e.split("-")[1]){case"start":return"left";case"end":return"right";default:return"center"}}function re(e){var t=$(e.placement);if(null==e.arrowElement)return ee(t)?te(t)+" "+ne(t):ne(t)+" "+te(t);var n=e.arrowElement.clientHeight/2,r=e.offsets.arrow;return ee(t)?te(t)+" "+(r.top+n)+"px":r.left+n+"px "+te(t)}var oe=function(e){if(null==e.arrowElement)return e;var t=e.arrowElement.clientWidth,n=$(e.placement),r=ee(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 ie(e){if(null==e)return 0;switch($(e)){case"top":return-90;case"left":return 180;case"bottom":return 90;default:return 0}}var ae=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("+ie(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 se(e){switch(e){case y.TOP_LEFT:return"top-start";case y.TOP:return"top";case y.TOP_RIGHT:return"top-end";case y.RIGHT_TOP:return"right-start";case y.RIGHT:return"right";case y.RIGHT_BOTTOM:return"right-end";case y.BOTTOM_RIGHT:return"bottom-end";case y.BOTTOM:return"bottom";case y.BOTTOM_LEFT:return"bottom-start";case y.LEFT_BOTTOM:return"left-end";case y.LEFT:return"left";case y.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)}}ae.displayName="Blueprint3.PopoverArrow";var le,ue,ce={CLICK:"click",CLICK_TARGET_ONLY:"click-target",HOVER:"hover",HOVER_TARGET_ONLY:"hover-target"},pe=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=t.props,r=n.usePortal,o=n.interactionKind,a=t.state.transformOrigin;t.popperScheduleUpdate=e.scheduleUpdate;var s={onClick:t.handlePopoverClick};(o===ce.HOVER||!r&&o===ce.HOVER_TARGET_ONLY)&&(s.onMouseEnter=t.handleMouseEnter,s.onMouseLeave=t.handleMouseLeave);var l,u=H()(i.POPOVER,((l={})[i.DARK]=t.props.inheritDarkTheme&&t.state.hasDarkParent,l[i.MINIMAL]=t.props.minimal,l),t.props.popoverClassName);return p.createElement("div",{className:i.TRANSITION_CONTAINER,ref:e.ref,style:e.style},p.createElement(Q,{onResize:t.reposition},p.createElement("div",c.__assign({className:u,style:{transformOrigin:a}},s),t.isArrowEnabled()&&p.createElement(ae,{arrowProps:e.arrowProps,placement:e.placement}),p.createElement("div",{className:i.POPOVER_CONTENT},t.understandChildren().content))))},t.renderTarget=function(e){var n=t.props,r=n.openOnTargetFocus,o=n.targetClassName,a=n.targetProps,s=void 0===a?{}:a,l=n.targetTagName,u=t.state.isOpen,f=t.isHoverInteractionKind(),h=f?{onBlur:t.handleTargetBlur,onFocus:t.handleTargetFocus,onMouseEnter:t.handleMouseEnter,onMouseLeave:t.handleMouseLeave}:{onClick:t.handleTargetClick};h.className=H()(i.POPOVER_TARGET,((m={})[i.POPOVER_OPEN]=u,m),s.className,o),h.ref=e.ref;var m,E,v=d.ensureElement(t.understandChildren().target),T=v.props.tabIndex,N=null==T&&r&&f?0:T,y=p.cloneElement(v,{className:H()(v.props.className,(E={},E[i.ACTIVE]=u&&!f,E)),disabled:!(!u||!d.isElementOfType(v,J))||v.props.disabled,tabIndex:N});return p.createElement(Q,{onResize:t.reposition},p.createElement(l,c.__assign({},s,h),y))},t.handleTargetFocus=function(e){if(t.props.openOnTargetFocus&&t.isHoverInteractionKind()){if(null==e.relatedTarget&&!t.lostFocusOnSamePage)return;t.handleMouseEnter(e)}V.a(t.props.targetProps,"onFocus",e)},t.handleTargetBlur=function(e){t.props.openOnTargetFocus&&t.isHoverInteractionKind()&&(t.isElementInPopover(e.relatedTarget)||t.handleMouseLeave(e)),t.lostFocusOnSamePage=null!=e.relatedTarget,V.a(t.props.targetProps,"onBlur",e)},t.handleMouseEnter=function(e){t.isMouseInTargetOrPopover=!0,t.props.usePortal||!t.isElementInPopover(e.target)||t.props.interactionKind!==ce.HOVER_TARGET_ONLY||t.props.openOnTargetFocus?t.props.disabled||t.setOpenState(!0,e,t.props.hoverOpenDelay):t.handleMouseLeave(e),V.a(t.props.targetProps,"onMouseEnter",e)},t.handleMouseLeave=function(e){t.isMouseInTargetOrPopover=!1,t.setTimeout(function(){t.isMouseInTargetOrPopover||t.setOpenState(!1,e,t.props.hoverCloseDelay)}),V.a(t.props.targetProps,"onMouseLeave",e)},t.handlePopoverClick=function(e){var n=e.target,r=n.closest("."+i.POPOVER_DISMISS+", ."+i.POPOVER_DISMISS_OVERRIDE),o=null!=r&&r.classList.contains(i.POPOVER_DISMISS),a=null!=n.closest(":disabled, ."+i.DISABLED);!o||a||e.isDefaultPrevented()||(t.setOpenState(!1,e),t.props.captureDismiss&&e.preventDefault())},t.handleOverlayClose=function(e){var n=e.target;(!d.elementIsOrContains(t.targetElement,n)||e.nativeEvent instanceof KeyboardEvent)&&t.setOpenState(!1,e)},t.handleTargetClick=function(e){t.props.disabled||t.isElementInPopover(e.target)||(null==t.props.isOpen?t.setState(function(e){return{isOpen:!e.isOpen}}):t.setOpenState(!t.props.isOpen,e)),V.a(t.props.targetProps,"onClick",e)},t.updatePopoverState=function(e){return t.setState({transformOrigin:re(e)}),e},t}return c.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,r=e.wrapperTagName,o=this.state.isOpen,a=null==d.ensureElement(this.understandChildren().content);return!a||n||!1===o||d.isNodeEnv("production")||console.warn(U.z),p.createElement(G.Manager,null,p.createElement(r,{className:H()(i.POPOVER_WRAPPER,t)},p.createElement(G.Reference,{innerRef:this.refHandlers.target},this.renderTarget),p.createElement(X,{autoFocus:this.props.autoFocus,backdropClassName:i.POPOVER_BACKDROP,backdropProps:this.props.backdropProps,canEscapeKeyClose:this.props.canEscapeKeyClose,canOutsideClickClose:this.props.interactionKind===ce.CLICK,className:this.props.portalClassName,enforceFocus:this.props.enforceFocus,hasBackdrop:this.props.hasBackdrop,isOpen:o&&!a,onClose:this.handleOverlayClose,onClosed:this.props.onClosed,onClosing:this.props.onClosing,onOpened:this.props.onOpened,onOpening:this.props.onOpening,transitionDuration:this.props.transitionDuration,transitionName:i.POPOVER,usePortal:this.props.usePortal,portalContainer:this.props.portalContainer},p.createElement(G.Popper,{innerRef:this.refHandlers.popover,placement:se(this.props.position),modifiers:this.getPopperModifiers()},this.renderPopover))))},t.prototype.componentDidMount=function(){this.updateDarkParent()},t.prototype.componentWillReceiveProps=function(t){e.prototype.componentWillReceiveProps.call(this,t);var n=this.getIsOpen(t);null!=t.isOpen&&n!==this.state.isOpen?(this.setOpenState(n),this.setState({isOpen:n})):this.state.isOpen&&null==t.isOpen&&t.disabled&&this.setOpenState(!1)},t.prototype.componentDidUpdate=function(){this.updateDarkParent()},t.prototype.validateProps=function(e){if(null==e.isOpen&&null!=e.onInteraction&&console.warn(U.C),e.hasBackdrop&&!e.usePortal&&console.warn(U.A),e.hasBackdrop&&e.interactionKind!==ce.CLICK)throw new Error(U.v);var t=p.Children.count(e.children),n=void 0!==e.content,r=void 0!==e.target;if(0===t&&!r)throw new Error(U.w);t>2&&console.warn(U.B),t>0&&r&&console.warn(U.y),2===t&&n&&console.warn(U.x)},t.prototype.updateDarkParent=function(){if(this.props.usePortal&&this.state.isOpen){var e=null!=this.targetElement&&null!=this.targetElement.closest("."+i.DARK);this.setState({hasDarkParent:e})}},t.prototype.understandChildren=function(){var e=this.props,t=e.children,n=e.content,r=e.target,o=p.Children.toArray(t),i=o[0],a=o[1];return{content:null==a?n:a,target:null==i?r:i}},t.prototype.getIsOpen=function(e){return!e.disabled&&(null!=e.isOpen?e.isOpen:e.defaultIsOpen)},t.prototype.getPopperModifiers=function(){var e=this.props,t=e.boundary,n=e.modifiers,r=n.flip,o=void 0===r?{}:r,i=n.preventOverflow,a=void 0===i?{}:i;return c.__assign({},n,{arrowOffset:{enabled:this.isArrowEnabled(),fn:oe,order:510},flip:c.__assign({boundariesElement:t},o),preventOverflow:c.__assign({boundariesElement:t},a),updatePopoverState:{enabled:!0,fn:this.updatePopoverState,order:900}})},t.prototype.setOpenState=function(e,t,n){var r=this;d.safeInvoke(this.cancelOpenTimeout),n>0?this.cancelOpenTimeout=this.setTimeout(function(){return r.setOpenState(e,t)},n):(null==this.props.isOpen?this.setState({isOpen:e}):d.safeInvoke(this.props.onInteraction,e,t),e||d.safeInvoke(this.props.onClose,t))},t.prototype.isArrowEnabled=function(){var e=this.props,t=e.minimal,n=e.modifiers.arrow;return!t&&(null==n||n.enabled)},t.prototype.isElementInPopover=function(e){return null!=this.popoverElement&&this.popoverElement.contains(e)},t.prototype.isHoverInteractionKind=function(){return this.props.interactionKind===ce.HOVER||this.props.interactionKind===ce.HOVER_TARGET_ONLY},t.displayName="Blueprint3.Popover",t.defaultProps={boundary:"scrollParent",captureDismiss:!1,defaultIsOpen:!1,disabled:!1,hasBackdrop:!1,hoverCloseDelay:300,hoverOpenDelay:150,inheritDark