You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
45 KiB
2 lines
45 KiB
2 years ago
|
/*! For license information please see 4.5061b90c.chunk.js.LICENSE.txt */
|
||
|
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[4],{1098:function(t,e,r){"use strict";r.d(e,"a",(function(){return x}));var o=r(858),n=r.n(o),i=r(639),a=r.n(i),p=r(914),s=r.n(p),f=r(739),c=r.n(f),u=r(677),l=r.n(u),d=r(896),y=r.n(d),h=r(2),m=r(910),g=r(930),b=r(859),v={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},w={},O=function(t){function e(){for(var e,r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return e=t.call.apply(t,[this].concat(o))||this,l()(c()(c()(e)),"state",{data:void 0,placement:void 0}),l()(c()(c()(e)),"popperInstance",void 0),l()(c()(c()(e)),"popperNode",null),l()(c()(c()(e)),"arrowNode",null),l()(c()(c()(e)),"setPopperNode",(function(t){t&&e.popperNode!==t&&(Object(b.b)(e.props.innerRef,t),e.popperNode=t,e.updatePopperInstance())})),l()(c()(c()(e)),"setArrowNode",(function(t){e.arrowNode=t})),l()(c()(c()(e)),"updateStateModifier",{enabled:!0,order:900,fn:function(t){var r=t.placement;return e.setState({data:t,placement:r}),t}}),l()(c()(c()(e)),"getOptions",(function(){return{placement:e.props.placement,eventsEnabled:e.props.eventsEnabled,positionFixed:e.props.positionFixed,modifiers:a()({},e.props.modifiers,{arrow:a()({},e.props.modifiers&&e.props.modifiers.arrow,{enabled:!!e.arrowNode,element:e.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:e.updateStateModifier})}})),l()(c()(c()(e)),"getPopperStyle",(function(){return e.popperNode&&e.state.data?a()({position:e.state.data.offsets.popper.position},e.state.data.styles):v})),l()(c()(c()(e)),"getPopperPlacement",(function(){return e.state.data?e.state.placement:void 0})),l()(c()(c()(e)),"getArrowStyle",(function(){return e.arrowNode&&e.state.data?e.state.data.arrowStyles:w})),l()(c()(c()(e)),"getOutOfBoundariesState",(function(){return e.state.data?e.state.data.hide:void 0})),l()(c()(c()(e)),"destroyPopperInstance",(function(){e.popperInstance&&(e.popperInstance.destroy(),e.popperInstance=null)})),l()(c()(c()(e)),"updatePopperInstance",(function(){e.destroyPopperInstance();var t=c()(c()(e)).popperNode,r=e.props.referenceElement;r&&t&&(e.popperInstance=new m.a(r,t,e.getOptions()))})),l()(c()(c()(e)),"scheduleUpdate",(function(){e.popperInstance&&e.popperInstance.scheduleUpdate()})),e}s()(e,t);var r=e.prototype;return r.componentDidUpdate=function(t,e){this.props.placement===t.placement&&this.props.referenceElement===t.referenceElement&&this.props.positionFixed===t.positionFixed&&y()(this.props.modifiers,t.modifiers,{strict:!0})?this.props.eventsEnabled!==t.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()):this.updatePopperInstance(),e.placement!==this.state.placement&&this.scheduleUpdate()},r.componentWillUnmount=function(){Object(b.b)(this.props.innerRef,null),this.destroyPopperInstance()},r.render=function(){return Object(b.c)(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})},e}(h.Component);l()(O,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1});m.a.placements;function x(t){var e=t.referenceElement,r=n()(t,["referenceElement"]);return h.createElement(g.a.Consumer,null,(function(t){return h.createElement(O,a()({referenceElement:void 0!==e?e:t},r))}))}},639:function(t,e){function r(){return t.exports=r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,r.apply(this,arguments)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},725:function(t,e,r){"use strict";var o=r(838),n="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,p=Object.defineProperty,s=r(903)(),f=p&&s,c=function(t,e,r,o){va
|