Files
ai/charting_library/bundles/9.b007f594eb5810aedb57.js

5 lines
15 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"/Hwa":function(e,t,n){"use strict";var r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n("mrSG"),o=n("q1tI"),i=n("17x9"),t.makeSwitchGroupItem=function(e){return(t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._onChange=function(t){e.context.switchGroupContext.getOnChange()(t)},e._onUpdate=function(t){t.includes(e.props.value)&&e.forceUpdate()},e}return r.__extends(n,t),n.prototype.componentDidMount=function(){this.context.switchGroupContext.subscribe(this._onUpdate)},n.prototype.render=function(){return o.createElement(e,r.__assign({},this.props,{name:this._getName(),onChange:this._onChange,checked:this._isChecked()}))},n.prototype.componentWillUnmount=function(){this.context.switchGroupContext.unsubscribe(this._onUpdate)},n.prototype._getName=function(){return this.context.switchGroupContext.getName()},n.prototype._isChecked=function(){return this.context.switchGroupContext.getValues().includes(this.props.value)},n}(o.PureComponent)).contextTypes={switchGroupContext:i.any.isRequired},t;var t}},"/KDZ":function(e,t,n){"use strict";var r,o,i;n.d(t,"a",function(){return i}),r=n("mrSG"),o=n("q1tI"),i=function(e){function t(t){var n=e.call(this,t)||this;return n._handleChange=function(){n.forceUpdate()},n.state={query:window.matchMedia(n.props.rule)},n}return Object(r.__extends)(t,e),t.prototype.componentDidMount=function(){this._subscribe(this.state.query)},t.prototype.componentDidUpdate=function(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))},t.prototype.componentWillUnmount=function(){this._unsubscribe(this.state.query)},t.prototype.render=function(){return this.props.children(this.state.query.matches)},t.getDerivedStateFromProps=function(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null},t.prototype._subscribe=function(e){e.addListener(this._handleChange)},t.prototype._unsubscribe=function(e){e.removeListener(this._handleChange)},t}(o.PureComponent)},"0Mig":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("mrSG");r.__exportStar(n("omE6"),t),r.__exportStar(n("/Hwa"),t)},"7yjv":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("TSYQ");t.getButtonClasses=function(e,t){var n=t.intent,o=void 0===n?"primary":n,i=t.size,a=void 0===i?"m":i,s=t.appearance,u=void 0===s?"default":s,c=t.useFullWidth,l=void 0!==c&&c,p=t.tabIndex,d=void 0===p?0:p,h=t.icon,m=t.className;return r(m,e.button,e["size-"+a],e["intent-"+o],e["appearance-"+u],l&&e["full-width"],-1===d&&e.noOutline,h&&"s"!==a&&e["with-icon"])}},"8NUT":function(e,t,n){e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",footer:"footer-1mvnCDqp",submitButton:"submitButton-2lNICzl3",buttons:"buttons-3yvtQ_uI"}},ASyk:function(e,t,n){e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 419px)"}
},CZlE:function(e,t,n){"use strict";var r,o,i,a;Object.defineProperty(t,"__esModule",{value:!0}),r=n("mrSG"),o=n("q1tI"),i=n("TSYQ"),a=n("OxS6"),n("mR1d"),t.makeIcon=function(e){return function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(n,t),n.prototype.render=function(){var t=i(a.icon,this.props.className);return o.createElement("div",{className:t,dangerouslySetInnerHTML:{__html:e}})},n}(o.PureComponent)}},FgZj:function(e,t,n){},"H+g1":function(e,t,n){"use strict";var r,o,i,a,s,u,c;Object.defineProperty(t,"__esModule",{value:!0}),r=n("mrSG"),o=n("q1tI"),i=n("TSYQ"),a=n("0Mig"),s=n("Lv+c"),u=n("eHOe"),n("FgZj"),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onChange=function(){t.props.onChange&&t.props.onChange(t.props.value)},t}return r.__extends(t,e),t.prototype.render=function(){var e,t,n,r=i(this.props.className,u.checkbox,((e={})[u.reverse]=Boolean(this.props.labelPositionReverse),e[u.baseline]=Boolean(this.props.labelAlignBaseline),e)),a=i(u.box,((t={})[u.check]=!Boolean(this.props.indeterminate),t[u.dot]=Boolean(this.props.indeterminate),t[u.noOutline]=-1===this.props.tabIndex,t)),c=i(u.label,((n={})[u.disabled]=this.props.disabled,n)),l=null;return this.props.label&&(l=o.createElement("span",{className:c},this.props.label)),o.createElement("label",{className:r},o.createElement("div",{className:u.wrapper,title:this.props.title},o.createElement("input",{id:this.props.id,tabIndex:this.props.tabIndex,className:u.input,type:"checkbox",name:this.props.name,checked:this.props.checked,disabled:this.props.disabled,value:this.props.value,autoFocus:this.props.autoFocus,role:this.props.role,onChange:this._onChange,ref:this.props.reference}),o.createElement("div",{className:a},o.createElement(s.CheckIcon,{className:u.icon}))),l)},t.defaultProps={value:"on"},t}(o.PureComponent),t.Checkbox=c,t.GroupedCheckbox=a.makeSwitchGroupItem(c)},ItnF:function(e,t,n){e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",dialog:"dialog-2QwUBM-N",wrapper:"wrapper-3ePvQMAQ",header:"header-wLx8lLYF",title:"title-1G1MZPHW",ellipsis:"ellipsis-DluwX2yc",closeButton:"closeButton-2yDdjHyO"}},KLV3:function(e){e.exports={button:"button-1iktpaT1-",content:"content-2PGssb8d-",noOutline:"noOutline-d9Yp4qvi-","appearance-default":"appearance-default-dMjF_2Hu-","intent-primary":"intent-primary-1-IOYcbg-","intent-success":"intent-success-25a4XZXM-","intent-default":"intent-default-2ZbSqQDs-","intent-warning":"intent-warning-24j5HMi0-","intent-danger":"intent-danger-1EETHCla-","appearance-stroke":"appearance-stroke-12lxiUSM-","appearance-text":"appearance-text-DqKJVT3U-","size-s":"size-s-3mait84m-","size-m":"size-m-2G7L7Qat-","size-l":"size-l-2NEs9_xt-","full-width":"full-width-1wU8ljjC-","with-icon":"with-icon-yumghDr--",icon:"icon-1grlgNdV-"}},"Lv+c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("mrSG").__exportStar(n("mD/u"),t)},OxS6:function(e){e.exports={icon:"icon-3qYrZx7p-"}},"R4+T":function(e,t){
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},VKCZ:function(e,t,n){"use strict";var r,o,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),r=n("mrSG"),o=n("q1tI"),i=n("TSYQ"),a=n("7yjv"),s=n("KLV3"),n("cEAz"),t.Button=function(e){var t=e.className,n=e.intent,u=e.size,c=e.appearance,l=e.disabled,p=e.useFullWidth,d=e.reference,h=e.icon,m=e.children,f=e.tabIndex,b=r.__rest(e,["className","intent","size","appearance","disabled","useFullWidth","reference","icon","children","tabIndex"]),_=a.getButtonClasses(s,{intent:n,size:u,appearance:c,disabled:l,useFullWidth:p,tabIndex:f,icon:h});return o.createElement("button",r.__assign({className:i(_,t),disabled:l,ref:d,tabIndex:f},b),h&&"s"!==u&&o.createElement("span",{className:s.icon},h),o.createElement("span",{className:s.content},m))}},"XhS/":function(e,t,n){"use strict";var r,o,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),r=n("mrSG"),o=n("q1tI"),i=n("TSYQ"),a=n("7yjv"),s=n("KLV3"),n("cEAz"),t.AnchorButton=function(e){var t=e.className,n=e.intent,u=e.size,c=e.appearance,l=e.disabled,p=e.useFullWidth,d=e.reference,h=e.icon,m=e.children,f=e.href,b=e.tabIndex,_=r.__rest(e,["className","intent","size","appearance","disabled","useFullWidth","reference","icon","children","href","tabIndex"]),v=a.getButtonClasses(s,{intent:n,size:u,appearance:c,disabled:l,useFullWidth:p,tabIndex:b,icon:h});return o.createElement("a",r.__assign({className:i(t,v),href:l?void 0:f,"aria-disabled":l,ref:d,tabIndex:b},_),h&&"s"!==u&&o.createElement("span",{className:s.icon},h),o.createElement("span",{className:s.content},m))}},ZOCd:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},cEAz:function(e,t,n){},dWaX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("mrSG").__exportStar(n("H+g1"),t)},eHOe:function(e){e.exports={checkbox:"checkbox-3xZUD-2M-",input:"input-ly-CSnj5-",box:"box-20C92a5S-",reverse:"reverse-3xeTx96y-",label:"label-cyItEVpF-",baseline:"baseline-6TXKro4X-",wrapper:"wrapper-1AZBBaMW-",icon:"icon-3dOOKDQo-",noOutline:"noOutline-3wgQ5xZI-",check:"check-13mv3fTM-",dot:"dot-3FRmUbXl-"}},g89m:function(e,t,n){"use strict";var r,o,i,a,s,u,c,l,p,d,h,m,f,b,_,v,C,g,y,x;n.d(t,"a",function(){return x}),r=n("mrSG"),o=n("q1tI"),i=n.n(o),a=n("Eyy1"),s=n("TSYQ"),u=n.n(s),c=n("/3z9"),l=n("d700"),p=n("WXjp"),d=n("uhCe"),h=n("/KDZ"),m=n("jjrI"),f=n("pafz"),b=n("ZjKI"),_=n("FQhm"),v=n("ItnF"),C=n("zztK"),g={vertical:20},y={vertical:0},x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._controller=null,t._reference=null,t._renderChildren=function(e,n){return t._controller=e,t.props.render({requestResize:t._requestResize,isSmallWidth:n})},t._handleReference=function(e){return t._reference=e},t._handleClose=function(){t.props.onClose()},
t._handleKeyDown=function(e){var n,r,o;if(!e.defaultPrevented)switch(t.props.onKeyDown&&t.props.onKeyDown(e),Object(c.hashFromEvent)(e)){case 27:if(n=document.activeElement,r=Object(a.ensureNotNull)(t._reference),null!==n){if(e.preventDefault(),"true"===(o=n).getAttribute("data-haspopup")&&"true"!==o.getAttribute("data-expanded"))return void t._handleClose();if(Object(l.b)(n))return void r.focus();if(r.contains(n))return void t._handleClose()}}},t._requestResize=function(){null!==t._controller&&t._controller.recalculateBounds()},t}return Object(r.__extends)(t,e),t.prototype.componentDidMount=function(){_.subscribe(b.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null)},t.prototype.componentWillUnmount=function(){_.unsubscribe(b.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null)},t.prototype.focus=function(){Object(a.ensureNotNull)(this._reference).focus()},t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.isOpened,o=t.title,a=t.dataName,s=t.onClickOutside,c=t.additionalHeaderElement,l=t.backdrop;return i.a.createElement(h.a,{rule:d.a.SmallHeight},function(t){return i.a.createElement(h.a,{rule:d.a.TabletSmall},function(d){return i.a.createElement(p.a,{className:u()(v.dialog,n),isOpened:r,reference:e._handleReference,onKeyDown:e._handleKeyDown,onClickOutside:s,fullscreen:d,guard:t?y:g,boundByScreen:d,shouldForceFocus:!0,backdrop:l},i.a.createElement("div",{className:v.wrapper,"data-name":a,"data-dialog-name":o},i.a.createElement("div",{className:v.header},c,i.a.createElement("div",{"data-dragg-area":!0,className:v.title},i.a.createElement("div",{className:v.ellipsis},o)),i.a.createElement(m.a,{className:v.closeButton,icon:C,onClick:e._handleClose,"data-name":"close","data-role":"button"})),i.a.createElement(f.a.Consumer,null,function(t){return e._renderChildren(t,d)})))})})},t}(i.a.PureComponent)},"mD/u":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),r=n("CZlE"),o=n("ZOCd"),t.CheckIcon=r.makeIcon(o)},mR1d:function(e,t,n){},omE6:function(e,t,n){"use strict";var r,o,i,a;Object.defineProperty(t,"__esModule",{value:!0}),r=n("mrSG"),o=n("q1tI"),i=n("17x9"),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._subscriptions=new Set,t._getName=function(){return t.props.name},t._getValues=function(){return t.props.values},t._getOnChange=function(){return t.props.onChange},t._subscribe=function(e){t._subscriptions.add(e)},t._unsubscribe=function(e){t._subscriptions.delete(e)},t}return r.__extends(t,e),t.prototype.getChildContext=function(){return{switchGroupContext:{getName:this._getName,getValues:this._getValues,getOnChange:this._getOnChange,subscribe:this._subscribe,unsubscribe:this._unsubscribe}}},t.prototype.render=function(){return this.props.children},t.prototype.componentDidUpdate=function(e){this._notify(this._getUpdates(this.props.values,e.values))},t.prototype._notify=function(e){this._subscriptions.forEach(function(t){return t(e)})},t.prototype._getUpdates=function(e,t){return t.concat(e).filter(function(n){
return t.includes(n)?!e.includes(n):e.includes(n)})},t.childContextTypes={switchGroupContext:i.any.isRequired},t}(o.PureComponent),t.SwitchGroup=a},uhCe:function(e,t,n){"use strict";var r,o;n.d(t,"a",function(){return o}),r=n("ASyk"),o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},vWed:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("mrSG");r.__exportStar(n("VKCZ"),t),r.__exportStar(n("XhS/"),t)},ycFu:function(e,t,n){"use strict";var r,o,i,a,s,u,c,l,p,d,h;n.d(t,"b",function(){return p}),n.d(t,"a",function(){return h}),r=n("mrSG"),o=n("q1tI"),i=n.n(o),a=n("vWed"),s=n("Eyy1"),n("YFKU"),u=n("/3z9"),c=n("g89m"),l=n("8NUT"),function(e){e.Submit="submit",e.Cancel="cancel",e.None="none"}(p||(p={})),d={defaultActionOnClose:p.Submit,submitOnEnterKey:!0},h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._dialogRef=i.a.createRef(),t._handleClose=function(){var e=t.props,n=e.defaultActionOnClose,r=e.onSubmit,o=e.onCancel,i=e.onClose;switch(n){case p.Submit:r();break;case p.Cancel:o()}i()},t._handleCancel=function(){t.props.onCancel(),t.props.onClose()},t._handleKeyDown=function(e){var n=t.props,r=n.onSubmit,o=n.submitButtonDisabled,i=n.submitOnEnterKey;switch(Object(u.hashFromEvent)(e)){case 13:!o&&i&&(e.preventDefault(),r())}},t}return Object(r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=(e.render,e.onClose,e.onSubmit,e.onCancel,e.footerLeftRenderer,e.submitButtonText,e.submitButtonDisabled,e.defaultActionOnClose,e.submitOnEnterKey,Object(r.__rest)(e,["render","onClose","onSubmit","onCancel","footerLeftRenderer","submitButtonText","submitButtonDisabled","defaultActionOnClose","submitOnEnterKey"]));return i.a.createElement(c.a,Object(r.__assign)({},t,{ref:this._dialogRef,onKeyDown:this._handleKeyDown,render:this._renderChildren(),onClose:this._handleClose}))},t.prototype.focus=function(){Object(s.ensureNotNull)(this._dialogRef.current).focus()},t.prototype._renderChildren=function(){var e=this;return function(t){var n=e.props,r=n.render,o=n.footerLeftRenderer,s=n.additionalButtons,u=n.submitButtonText,c=n.submitButtonDisabled,p=n.onSubmit;return i.a.createElement(i.a.Fragment,null,r(t),i.a.createElement("div",{className:l.footer},o&&o(t.isSmallWidth),i.a.createElement("div",{className:l.buttons},s,i.a.createElement(a.Button,{name:"cancel",appearance:"stroke",onClick:e._handleCancel},window.t("Cancel")),i.a.createElement("span",{className:l.submitButton},i.a.createElement(a.Button,{disabled:c,name:"submit",onClick:p},u||window.t("Ok"))))))}},t.defaultProps=d,t}(i.a.PureComponent)},zztK:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="none"><path stroke="currentColor" stroke-width="1.2" d="M1 1l15 15m0-15L1 16"/></svg>'}}]);